lythreeframe 2.0.4 → 2.0.6
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 _0xc27732 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
|
+
function _0x2895(_0x119329,_0x2360c3){_0x119329=_0x119329-0x72;const _0x289545=_0xbe61();let _0x21594a=_0x289545[_0x119329];return _0x21594a;}const _0x28df28=_0x2895;(function(_0x3ccc6b,_0x3e14da){const _0x3dc8f5=_0x2895,_0x317336=_0x3ccc6b();while(!![]){try{const _0x3e4469=-parseInt(_0x3dc8f5(0x84))/0x1*(parseInt(_0x3dc8f5(0x7b))/0x2)+-parseInt(_0x3dc8f5(0x7e))/0x3+-parseInt(_0x3dc8f5(0x76))/0x4*(parseInt(_0x3dc8f5(0x81))/0x5)+-parseInt(_0x3dc8f5(0x83))/0x6+parseInt(_0x3dc8f5(0x7f))/0x7*(-parseInt(_0x3dc8f5(0x85))/0x8)+parseInt(_0x3dc8f5(0x79))/0x9+parseInt(_0x3dc8f5(0x82))/0xa*(parseInt(_0x3dc8f5(0x77))/0xb);if(_0x3e4469===_0x3e14da)break;else _0x317336['push'](_0x317336['shift']());}catch(_0x13acaf){_0x317336['push'](_0x317336['shift']());}}}(_0xbe61,0x50472));class BaseObject{get[_0x28df28(0x7c)](){return this['bCanTick'];}set[_0x28df28(0x7c)](_0x56d8cc){const _0x28abda=_0x28df28;this[_0x28abda(0x74)]=_0x56d8cc;}get[_0x28df28(0x73)](){const _0x338d48=_0x28df28;return this[_0x338d48(0x80)];}constructor(_0x2d778a=MathUtils[_0x28df28(0x8a)]()){const _0x1586c2=_0x28df28;this['bCanTick']=![],this[_0x1586c2(0x7a)]=[],this[_0x1586c2(0x74)]=![],this[_0x1586c2(0x80)]=_0x2d778a;}[_0x28df28(0x86)](_0x5c4738){const _0x549b6f=_0x28df28;if(!this[_0x549b6f(0x74)])return;this[_0x549b6f(0x7a)]['forEach'](_0x523e4a=>{_0x523e4a(_0x5c4738);});}[_0x28df28(0x89)](_0xf474a5){const _0x39a22c=_0x28df28;this[_0x39a22c(0x7a)][_0x39a22c(0x88)](_0xf474a5);}[_0x28df28(0x72)](_0x1d11dd){const _0x380573=_0x28df28;let _0x2fda3c=this['tickEvents'][_0x380573(0x78)](_0x1d11dd);_0x2fda3c!=-1&&this[_0x380573(0x7a)][_0x380573(0x7d)](_0x2fda3c,0x1);}[_0x28df28(0x87)](){const _0x3425d0=_0x28df28;this[_0x3425d0(0x7a)]=[];}[_0x28df28(0x75)](){}}function _0xbe61(){const _0x3652f2=['indexOf','5378382YFmpJD','tickEvents','372gpdpac','isTickEnabled','splice','218742uRJZWe','182pKvLGu','_uuid','220LjldGZ','671690zeCSHU','1283346ObRzHI','2273zXWFYp','134224FXmgoS','tick','clearTickEvents','push','addTickEvent','generateUUID','removeTickEvent','uuid','bCanTick','destroy','11864YcjKLM','165jOsjuz'];_0xbe61=function(){return _0x3652f2;};return _0xbe61();}
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
const _0x19dae8=_0x122f;(function(_0x21d53f,_0x55064f){const _0x8f1f3e=_0x122f,_0x1d191a=_0x21d53f();while(!![]){try{const _0x3d24dc=parseInt(_0x8f1f3e(0x9c))/0x1+-parseInt(_0x8f1f3e(0x98))/0x2*(-parseInt(_0x8f1f3e(0x86))/0x3)+-parseInt(_0x8f1f3e(0x93))/0x4*(-parseInt(_0x8f1f3e(0x92))/0x5)+-parseInt(_0x8f1f3e(0x88))/0x6+-parseInt(_0x8f1f3e(0x94))/0x7+-parseInt(_0x8f1f3e(0x96))/0x8+-parseInt(_0x8f1f3e(0x9b))/0x9*(-parseInt(_0x8f1f3e(0x95))/0xa);if(_0x3d24dc===_0x55064f)break;else _0x1d191a['push'](_0x1d191a['shift']());}catch(_0x7d74e4){_0x1d191a['push'](_0x1d191a['shift']());}}}(_0x480a,0x808f2));function _0x480a(){const _0x325d62=['120yaTeDN','3172248edNriI','_name','16496EdZgmf','obj','LYObject','41355fMJloz','1033989ChvyyV','createDefaultObject','3dLihlM','destroyObject','3947526WefOsC','destroy','parentActor','_parentActor','threeObject','userData','Component\x20createDefaultObject\x20return\x20null','name','Component','type','6430TNCWpB','2216kRDrBT','1601537FPzaFf'];_0x480a=function(){return _0x325d62;};return _0x480a();}function _0x122f(_0x5e3cde,_0x366f1f){_0x5e3cde=_0x5e3cde-0x86;const _0x480a11=_0x480a();let _0x122f9c=_0x480a11[_0x5e3cde];return _0x122f9c;}class Component extends BaseObject{set[_0x19dae8(0x8a)](_0x7a3e68){this['_parentActor']=_0x7a3e68;}get[_0x19dae8(0x8a)](){return this['_parentActor'];}get[_0x19dae8(0x8c)](){return this['obj'];}set[_0x19dae8(0x8c)](_0x3f8450){const _0x40ec74=_0x19dae8;this[_0x40ec74(0x99)]=_0x3f8450,this[_0x40ec74(0x99)]&&(this[_0x40ec74(0x99)][_0x40ec74(0x8d)][_0x40ec74(0x9a)]=this);}get[_0x19dae8(0x8f)](){return this['_name'];}set[_0x19dae8(0x8f)](_0x2c9c4d){const _0x5aa255=_0x19dae8;this[_0x5aa255(0x97)]=_0x2c9c4d,this['obj']&&(this[_0x5aa255(0x99)][_0x5aa255(0x8f)]=_0x2c9c4d);}constructor(_0x1c078a){const _0x4b5806=_0x19dae8;super(_0x1c078a?_0x1c078a:MathUtils['generateUUID']()),this[_0x4b5806(0x99)]=null,this[_0x4b5806(0x8b)]=null,this[_0x4b5806(0x97)]=_0x4b5806(0x90),this[_0x4b5806(0x8b)]=null;let _0x132f42=this[_0x4b5806(0x9d)]();_0x132f42?(this[_0x4b5806(0x99)]=_0x132f42,this[_0x4b5806(0x97)]=this[_0x4b5806(0x99)][_0x4b5806(0x91)]+_0x4b5806(0x90)):console['warn'](_0x4b5806(0x8e));}[_0x19dae8(0x9d)](_0x19534d){return null;}[_0x19dae8(0x87)](){const _0x75efa4=_0x19dae8;if(!this[_0x75efa4(0x99)])return;}[_0x19dae8(0x89)](){const _0x5a3ed7=_0x19dae8;this[_0x5a3ed7(0x87)]();}}
|
|
33
33
|
|
|
34
|
-
(function(
|
|
34
|
+
function _0x4bcd(){var _0x513055=['10uUsJmU','KeepWorld','321384KlGorz','176RzQZMv','6IZjFKP','3474RAftds','363SGQhcC','KeepRelative','648205GOCLjN','514577gLSbpL','101709anNvix','1361404zxwifL','7618325xQJaMI'];_0x4bcd=function(){return _0x513055;};return _0x4bcd();}(function(_0x2f6722,_0x2ae0ad){var _0x1c4a6a=_0xa944,_0x279859=_0x2f6722();while(!![]){try{var _0x383326=parseInt(_0x1c4a6a(0xad))/0x1+-parseInt(_0x1c4a6a(0xb0))/0x2*(-parseInt(_0x1c4a6a(0xb1))/0x3)+parseInt(_0x1c4a6a(0xb6))/0x4+parseInt(_0x1c4a6a(0xb3))/0x5*(-parseInt(_0x1c4a6a(0xaf))/0x6)+-parseInt(_0x1c4a6a(0xb4))/0x7+parseInt(_0x1c4a6a(0xae))/0x8*(parseInt(_0x1c4a6a(0xb5))/0x9)+-parseInt(_0x1c4a6a(0xab))/0xa*(parseInt(_0x1c4a6a(0xb7))/0xb);if(_0x383326===_0x2ae0ad)break;else _0x279859['push'](_0x279859['shift']());}catch(_0x5e98de){_0x279859['push'](_0x279859['shift']());}}}(_0x4bcd,0x36e27));function _0xa944(_0x2973c7,_0x32edc7){_0x2973c7=_0x2973c7-0xab;var _0x4bcdf1=_0x4bcd();var _0xa9447b=_0x4bcdf1[_0x2973c7];return _0xa9447b;}var AttachmentRules;(function(_0x5c1159){var _0x21042e=_0xa944;_0x5c1159[_0x5c1159[_0x21042e(0xac)]=0x1]='KeepWorld',_0x5c1159[_0x5c1159[_0x21042e(0xb2)]=0x2]=_0x21042e(0xb2);}(AttachmentRules||(AttachmentRules={})));
|
|
35
35
|
|
|
36
|
-
function
|
|
36
|
+
function _0x1a50(_0x201371,_0x3b3c92){_0x201371=_0x201371-0x16c;const _0x3340d9=_0x3340();let _0x1a5069=_0x3340d9[_0x201371];return _0x1a5069;}const _0x2b867c=_0x1a50;(function(_0x24b276,_0x8f23a){const _0x2d312a=_0x1a50,_0x350eec=_0x24b276();while(!![]){try{const _0xe1d765=parseInt(_0x2d312a(0x174))/0x1*(parseInt(_0x2d312a(0x16e))/0x2)+-parseInt(_0x2d312a(0x177))/0x3+-parseInt(_0x2d312a(0x178))/0x4+-parseInt(_0x2d312a(0x176))/0x5*(-parseInt(_0x2d312a(0x16c))/0x6)+parseInt(_0x2d312a(0x171))/0x7*(-parseInt(_0x2d312a(0x16f))/0x8)+-parseInt(_0x2d312a(0x17b))/0x9*(-parseInt(_0x2d312a(0x16d))/0xa)+parseInt(_0x2d312a(0x172))/0xb*(parseInt(_0x2d312a(0x175))/0xc);if(_0xe1d765===_0x8f23a)break;else _0x350eec['push'](_0x350eec['shift']());}catch(_0x3c9064){_0x350eec['push'](_0x350eec['shift']());}}}(_0x3340,0xcfc61));class Delegate{constructor(){const _0x47edc3=_0x1a50;this[_0x47edc3(0x17c)]=[];}[_0x2b867c(0x179)](..._0x239e49){const _0x45a299=_0x2b867c;this[_0x45a299(0x17c)]['forEach'](_0x4ca9f1=>_0x4ca9f1(..._0x239e49));}['add'](_0x4dbf05){const _0x364fc5=_0x2b867c;this[_0x364fc5(0x17c)][_0x364fc5(0x173)](_0x4dbf05);}['remove'](_0x4c3547){const _0x477d20=_0x2b867c,_0x2c56e1=this[_0x477d20(0x17c)][_0x477d20(0x170)](_0x4c3547);_0x2c56e1>=0x0&&this['functions'][_0x477d20(0x17a)](_0x2c56e1,0x1);}['clear'](){const _0x107bf7=_0x2b867c;this[_0x107bf7(0x17c)]=[];}}function _0x3340(){const _0x47a3c6=['18zQoFbm','functions','18QVfSZb','6797410VtdULB','1271482RiiKpM','102192omKlbI','indexOf','532VYIzrJ','24629vxHSiA','push','1XHWDxT','9024dXafNS','89385JteZvk','2553705eQtRPA','4237928LTKIES','broadcast','splice'];_0x3340=function(){return _0x47a3c6;};return _0x3340();}
|
|
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
|
+
function _0x5a6a(_0x4c6c3a,_0x43fbfa){_0x4c6c3a=_0x4c6c3a-0x10b;const _0x3f153d=_0x3f15();let _0x5a6a65=_0x3f153d[_0x4c6c3a];return _0x5a6a65;}const _0x3896a0=_0x5a6a;(function(_0x4be23d,_0x545150){const _0x4db581=_0x5a6a,_0x57ebda=_0x4be23d();while(!![]){try{const _0x1fb603=parseInt(_0x4db581(0x11a))/0x1+parseInt(_0x4db581(0x15f))/0x2+-parseInt(_0x4db581(0x128))/0x3*(-parseInt(_0x4db581(0x11e))/0x4)+parseInt(_0x4db581(0x171))/0x5+-parseInt(_0x4db581(0x130))/0x6+parseInt(_0x4db581(0x120))/0x7*(parseInt(_0x4db581(0x145))/0x8)+-parseInt(_0x4db581(0x124))/0x9*(parseInt(_0x4db581(0x161))/0xa);if(_0x1fb603===_0x545150)break;else _0x57ebda['push'](_0x57ebda['shift']());}catch(_0x1caebd){_0x57ebda['push'](_0x57ebda['shift']());}}}(_0x3f15,0x98e9e));class SceneComponent extends Component{set['parentActor'](_0x500358){const _0x21df5f=_0x5a6a;this[_0x21df5f(0x117)][_0x21df5f(0x15d)](_0x33f46b=>{const _0x3307ed=_0x21df5f;_0x33f46b[_0x3307ed(0x122)]=_0x500358;}),this[_0x21df5f(0x163)]=_0x500358;}get['parentActor'](){return this['_parentActor'];}get[_0x3896a0(0x152)](){const _0x55c564=_0x3896a0;return this[_0x55c564(0x12a)];}get[_0x3896a0(0x12b)](){const _0x1d2992=_0x3896a0;return this[_0x1d2992(0x14a)];}get['onClickDelegate'](){const _0x516fbb=_0x3896a0;return this[_0x516fbb(0x164)];}get['onDoubleClickDelegate'](){const _0x475535=_0x3896a0;return this[_0x475535(0x174)];}get['world'](){const _0x32b913=_0x3896a0;return this['app'][_0x32b913(0x172)];}constructor(_0x29a296,_0x4233e1){const _0x5a7ff6=_0x3896a0;super(_0x4233e1),this[_0x5a7ff6(0x16c)]=![],this['bCanClick']=![],this[_0x5a7ff6(0x12a)]=new Delegate(),this[_0x5a7ff6(0x14a)]=new Delegate(),this[_0x5a7ff6(0x164)]=new Delegate(),this[_0x5a7ff6(0x174)]=new Delegate(),this[_0x5a7ff6(0x14c)]=_0x29a296,this[_0x5a7ff6(0x178)]='SceneComponent';}[_0x3896a0(0x115)](){return new Object3D();}[_0x3896a0(0x13b)](_0xb0731e){const _0x5045e0=_0x3896a0;super[_0x5045e0(0x13b)](_0xb0731e),this[_0x5045e0(0x117)][_0x5045e0(0x15d)](_0xcc723c=>{const _0x1cd5a2=_0x5045e0;_0xcc723c[_0x1cd5a2(0x13b)](_0xb0731e);});}get[_0x3896a0(0x150)](){const _0x569f51=_0x3896a0;if(!this[_0x569f51(0x138)])return ![];return this['obj'][_0x569f51(0x173)];}[_0x3896a0(0x15e)](_0x57c862){const _0x10054d=_0x3896a0;if(!this['obj'])throw Error(_0x10054d(0x15c));this[_0x10054d(0x138)]['visible']=_0x57c862,this['world']&&this[_0x10054d(0x172)][_0x10054d(0x16a)][_0x10054d(0x10d)]();}[_0x3896a0(0x125)](_0x5e78a4){const _0x343c44=_0x3896a0;if(!this[_0x343c44(0x138)])throw Error('threeObject\x20is\x20invalid');this[_0x343c44(0x138)][_0x343c44(0x126)][_0x343c44(0x11c)](_0x5e78a4);let _0x268e0e=this['childrenComponents'];_0x268e0e[_0x343c44(0x15d)](_0x4efac8=>{_0x4efac8['setLayers'](_0x5e78a4);});}[_0x3896a0(0x159)](_0x26be6e,_0x374681=!![]){const _0x2d760e=_0x3896a0;if(this[_0x2d760e(0x12c)]===_0x26be6e)return this;if(_0x374681){let _0x36699f=this[_0x2d760e(0x117)];for(let _0xd172e3=0x0;_0xd172e3<_0x36699f['length'];++_0xd172e3){let _0x1efb20=_0x36699f[_0xd172e3][_0x2d760e(0x159)](_0x26be6e,_0x374681);if(_0x1efb20)return _0x1efb20;}}else {let _0x2172b1=this['childrenComponents'];for(let _0xd762d8=0x0;_0xd762d8<_0x2172b1[_0x2d760e(0x12e)];++_0xd762d8){let _0x29095d=_0x2172b1[_0xd762d8];if(_0x29095d[_0x2d760e(0x12c)]===_0x26be6e)return _0x29095d;}}return null;}[_0x3896a0(0x13d)](){const _0x101243=_0x3896a0;let _0x154466=new Vector3();return this[_0x101243(0x135)]()[_0x101243(0x10b)](_0x154466),this['getWorldPosition']();}['getBoundsTopCenterPositionWS'](){const _0x4d436d=_0x3896a0;let _0x572815=new Vector3(),_0x54f914=this[_0x4d436d(0x135)]();return _0x54f914['getCenter'](_0x572815),_0x572815['y']=_0x54f914['max']['y'],_0x572815;}['getBoundsBottomCenterPositionWS'](){const _0x10a276=_0x3896a0;let _0xce79c8=new Vector3(),_0x1aacb7=this[_0x10a276(0x135)]();return _0x1aacb7['getCenter'](_0xce79c8),_0xce79c8['y']=_0x1aacb7[_0x10a276(0x137)]['y'],_0xce79c8;}[_0x3896a0(0x135)](){const _0x49ba73=_0x3896a0;if(!this[_0x49ba73(0x138)])throw Error(_0x49ba73(0x15c));let _0x11d638=new Box3();return _0x11d638[_0x49ba73(0x168)](this['obj'],![]),_0x11d638[_0x49ba73(0x134)]()&&(_0x11d638['min']=_0x11d638[_0x49ba73(0x139)]=this[_0x49ba73(0x147)]()),_0x11d638;}get[_0x3896a0(0x14f)](){const _0x9f0859=_0x3896a0;var _0x217471,_0x42f50c;if(!this[_0x9f0859(0x138)])throw Error('threeObject\x20is\x20invalid');let _0x381e31=(_0x42f50c=(_0x217471=this[_0x9f0859(0x138)])===null||_0x217471===void 0?void 0:_0x217471[_0x9f0859(0x148)])===null||_0x42f50c===void 0?void 0:_0x42f50c[_0x9f0859(0x170)]['LYObject'];if(!_0x381e31)return null;if(!(_0x381e31 instanceof SceneComponent))return null;if(_0x381e31[_0x9f0859(0x122)]!==this[_0x9f0859(0x122)])return null;return _0x381e31;}get[_0x3896a0(0x117)](){const _0x32e0ec=_0x3896a0;if(!this[_0x32e0ec(0x138)])throw Error(_0x32e0ec(0x15c));let _0x5e8a8f=[];for(let _0x20da0c=0x0;_0x20da0c<this[_0x32e0ec(0x138)][_0x32e0ec(0x10c)]['length'];++_0x20da0c){if(!this['obj'][_0x32e0ec(0x10c)][_0x20da0c][_0x32e0ec(0x170)][_0x32e0ec(0x13a)])continue;this['obj'][_0x32e0ec(0x10c)][_0x20da0c][_0x32e0ec(0x170)][_0x32e0ec(0x13a)][_0x32e0ec(0x122)]===this[_0x32e0ec(0x122)]&&_0x5e8a8f[_0x32e0ec(0x14b)](this[_0x32e0ec(0x138)]['children'][_0x20da0c][_0x32e0ec(0x170)][_0x32e0ec(0x13a)]);}return _0x5e8a8f;}[_0x3896a0(0x12d)](_0x5d9a46){const _0x3e3b22=_0x3896a0;let _0x6c9abc=this[_0x3e3b22(0x117)];for(let _0x23169b=0x0;_0x23169b<_0x6c9abc['length'];++_0x23169b){_0x6c9abc[_0x23169b][_0x3e3b22(0x12d)](_0x5d9a46);}}[_0x3896a0(0x12f)](){const _0x1f204b=_0x3896a0;this[_0x1f204b(0x158)]=![],this[_0x1f204b(0x155)]=![],this['detachFromParentActor'](),this[_0x1f204b(0x144)](),this[_0x1f204b(0x15b)](),this[_0x1f204b(0x15a)](),this[_0x1f204b(0x172)]&&this[_0x1f204b(0x172)][_0x1f204b(0x16a)]['markRenderStateDirty']();}[_0x3896a0(0x15a)](){const _0x3357ba=_0x3896a0;if(!this[_0x3357ba(0x138)])return;this[_0x3357ba(0x138)][_0x3357ba(0x148)]&&this[_0x3357ba(0x138)][_0x3357ba(0x148)][_0x3357ba(0x14d)](this[_0x3357ba(0x138)]),super[_0x3357ba(0x15a)]();}['getPosition'](){const _0x3fbb1f=_0x3896a0;if(!this[_0x3fbb1f(0x138)])throw Error('threeObject\x20is\x20invalid');if(this[_0x3fbb1f(0x138)][_0x3fbb1f(0x157)])return this['obj'][_0x3fbb1f(0x116)][_0x3fbb1f(0x179)]();else {const _0x3525fc=new Vector3(),_0x3f599f=new Quaternion(),_0x317384=new Vector3();return this['obj'][_0x3fbb1f(0x175)][_0x3fbb1f(0x112)](_0x3525fc,_0x3f599f,_0x317384),_0x3525fc;}}['setPosition'](..._0x4333d6){const _0x2151a3=_0x3896a0;var _0x40d44e;if(!this[_0x2151a3(0x138)])throw Error(_0x2151a3(0x15c));let _0x4ea973=null;if(_0x4333d6['length']===0x1&&((_0x40d44e=_0x4333d6[0x0])===null||_0x40d44e===void 0?void 0:_0x40d44e[_0x2151a3(0x176)])){const _0x1db6b4=_0x4333d6[0x0];_0x4ea973=new Vector3(_0x1db6b4['x'],_0x1db6b4['y'],_0x1db6b4['z']);}else _0x4333d6[_0x2151a3(0x12e)]===0x3&&typeof _0x4333d6[0x0]==='number'&&typeof _0x4333d6[0x1]===_0x2151a3(0x153)&&typeof _0x4333d6[0x2]==='number'&&(_0x4ea973=new Vector3(_0x4333d6[0x0],_0x4333d6[0x1],_0x4333d6[0x2]));if(!_0x4ea973)return;this['obj'][_0x2151a3(0x116)][_0x2151a3(0x13c)](_0x4ea973),!this[_0x2151a3(0x138)][_0x2151a3(0x157)]&&this['obj'][_0x2151a3(0x175)]['setPosition'](_0x4ea973['x'],_0x4ea973['y'],_0x4ea973['z']),this[_0x2151a3(0x138)][_0x2151a3(0x142)](),this[_0x2151a3(0x138)]['updateMatrixWorld'](!![]),this['world']&&this[_0x2151a3(0x172)]['viewport']['markRenderStateDirty']();}['getRotation'](){const _0x1256ec=_0x3896a0;if(!this[_0x1256ec(0x138)])throw Error(_0x1256ec(0x15c));if(this[_0x1256ec(0x138)]['matrixAutoUpdate'])return this[_0x1256ec(0x138)]['rotation'][_0x1256ec(0x179)]();else {const _0x252c64=new Vector3(),_0x3d1d01=new Quaternion(),_0x44387c=new Vector3();return this[_0x1256ec(0x138)][_0x1256ec(0x175)][_0x1256ec(0x112)](_0x252c64,_0x3d1d01,_0x44387c),new Euler()[_0x1256ec(0x16b)](_0x3d1d01);}}['setRotation'](..._0x3af035){const _0x24bbed=_0x3896a0;var _0x712505;if(!this[_0x24bbed(0x138)])throw Error(_0x24bbed(0x15c));let _0x45f031=null;if((_0x712505=_0x3af035[0x0])===null||_0x712505===void 0?void 0:_0x712505[_0x24bbed(0x129)]){const _0x3886ef=_0x3af035[0x0];_0x45f031=new Euler(_0x3886ef['x'],_0x3886ef['y'],_0x3886ef['z'],_0x3886ef[_0x24bbed(0x165)]);}else typeof _0x3af035[0x0]===_0x24bbed(0x153)&&typeof _0x3af035[0x1]===_0x24bbed(0x153)&&typeof _0x3af035[0x2]==='number'&&(_0x45f031=new Euler(_0x3af035[0x0],_0x3af035[0x1],_0x3af035[0x2]));if(!_0x45f031)return;this[_0x24bbed(0x138)]['rotation']['copy'](_0x45f031),this['obj'][_0x24bbed(0x142)](),this[_0x24bbed(0x138)][_0x24bbed(0x110)](!![]),this[_0x24bbed(0x172)]&&this[_0x24bbed(0x172)][_0x24bbed(0x16a)][_0x24bbed(0x10d)]();}['getQuaternion'](){const _0x194432=_0x3896a0;if(!this[_0x194432(0x138)])throw Error(_0x194432(0x15c));if(this[_0x194432(0x138)][_0x194432(0x157)])return this[_0x194432(0x138)][_0x194432(0x166)][_0x194432(0x179)]();else {const _0x5b0623=new Vector3(),_0x1f8347=new Quaternion(),_0x1ffb3e=new Vector3();return this[_0x194432(0x138)]['matrix'][_0x194432(0x112)](_0x5b0623,_0x1f8347,_0x1ffb3e),_0x1f8347;}}['setQuaternion'](..._0x9a54b8){const _0x2aa641=_0x3896a0;var _0x386970;if(!this[_0x2aa641(0x138)])throw Error(_0x2aa641(0x15c));let _0x43a5af=null;if((_0x386970=_0x9a54b8[0x0])===null||_0x386970===void 0?void 0:_0x386970['isQuaternion']){const _0x486251=_0x9a54b8[0x0];_0x43a5af=new Quaternion(_0x486251['x'],_0x486251['y'],_0x486251['z'],_0x486251['w']);}else typeof _0x9a54b8[0x0]===_0x2aa641(0x153)&&typeof _0x9a54b8[0x1]===_0x2aa641(0x153)&&typeof _0x9a54b8[0x2]===_0x2aa641(0x153)&&typeof _0x9a54b8[0x3]===_0x2aa641(0x153)&&(_0x43a5af=new Quaternion(_0x9a54b8[0x0],_0x9a54b8[0x1],_0x9a54b8[0x2],_0x9a54b8[0x3]));if(!_0x43a5af){console[_0x2aa641(0x14e)](_0x2aa641(0x121),_0x9a54b8);return;}this['obj'][_0x2aa641(0x166)][_0x2aa641(0x13c)](_0x43a5af);if(!this[_0x2aa641(0x138)][_0x2aa641(0x157)]){const _0x52051a=new Vector3(),_0x299809=new Quaternion(),_0x3aacbe=new Vector3();this[_0x2aa641(0x138)][_0x2aa641(0x175)]['decompose'](_0x52051a,_0x299809,_0x3aacbe),this[_0x2aa641(0x138)]['matrix']['compose'](_0x52051a,_0x43a5af,_0x3aacbe);}this[_0x2aa641(0x172)]&&this[_0x2aa641(0x172)][_0x2aa641(0x16a)]['markRenderStateDirty'](),this[_0x2aa641(0x138)][_0x2aa641(0x142)](),this['obj'][_0x2aa641(0x110)](!![]);}[_0x3896a0(0x10f)](){const _0x2c55a8=_0x3896a0;if(!this[_0x2c55a8(0x138)])throw Error('threeObject\x20is\x20invalid');if(this['obj'][_0x2c55a8(0x157)])return this[_0x2c55a8(0x138)][_0x2c55a8(0x114)]['clone']();else {const _0x12a30d=new Vector3(),_0x146ec8=new Quaternion(),_0x59ea56=new Vector3();return this[_0x2c55a8(0x138)]['matrix']['decompose'](_0x12a30d,_0x146ec8,_0x59ea56),_0x59ea56;}}[_0x3896a0(0x119)](..._0xc5489){const _0x1ee0a5=_0x3896a0;var _0x1e78dc;if(!this[_0x1ee0a5(0x138)])throw Error('threeObject\x20is\x20invalid');let _0x1986cb=null;if((_0x1e78dc=_0xc5489[0x0])===null||_0x1e78dc===void 0?void 0:_0x1e78dc[_0x1ee0a5(0x176)]){const _0x34339f=_0xc5489[0x0];_0x1986cb=new Vector3(_0x34339f['x'],_0x34339f['y'],_0x34339f['z']);}else typeof _0xc5489[0x0]===_0x1ee0a5(0x153)&&typeof _0xc5489[0x1]===_0x1ee0a5(0x153)&&typeof _0xc5489[0x2]===_0x1ee0a5(0x153)&&(_0x1986cb=new Vector3(_0xc5489[0x0],_0xc5489[0x1],_0xc5489[0x2]));if(!_0x1986cb)return;this['obj'][_0x1ee0a5(0x114)]['copy'](_0x1986cb),this[_0x1ee0a5(0x138)][_0x1ee0a5(0x142)](),this[_0x1ee0a5(0x138)]['updateMatrixWorld'](!![]),this['world']&&this[_0x1ee0a5(0x172)]['viewport']['markRenderStateDirty']();}['getMatrix'](){const _0x513543=_0x3896a0;if(!this['obj'])throw Error(_0x513543(0x15c));return this['obj'][_0x513543(0x175)];}[_0x3896a0(0x11b)](_0x5190bd){const _0x45dc61=_0x3896a0;var _0x31cf6e;if(!this[_0x45dc61(0x138)])throw Error(_0x45dc61(0x15c));_0x5190bd['decompose'](this[_0x45dc61(0x138)][_0x45dc61(0x116)],this[_0x45dc61(0x138)][_0x45dc61(0x166)],this[_0x45dc61(0x138)]['scale']),this[_0x45dc61(0x138)][_0x45dc61(0x142)](),this[_0x45dc61(0x138)]['updateMatrixWorld'](!![]),(_0x31cf6e=this[_0x45dc61(0x172)])===null||_0x31cf6e===void 0?void 0:_0x31cf6e[_0x45dc61(0x16a)][_0x45dc61(0x10d)]();}['getWorldPosition'](){const _0x4f67ee=_0x3896a0;if(!this[_0x4f67ee(0x138)])throw Error('threeObject\x20is\x20invalid');let _0x273b9b=new Vector3();return this[_0x4f67ee(0x138)]['getWorldPosition'](_0x273b9b),_0x273b9b;}[_0x3896a0(0x16f)](){const _0x36131e=_0x3896a0;if(!this[_0x36131e(0x138)])throw Error('threeObject\x20is\x20invalid');let _0x175791=new Quaternion();return this[_0x36131e(0x138)][_0x36131e(0x156)](_0x175791),new Euler()[_0x36131e(0x16b)](_0x175791);}[_0x3896a0(0x156)](){const _0x39bc52=_0x3896a0;if(!this[_0x39bc52(0x138)])throw Error(_0x39bc52(0x15c));let _0x139672=new Quaternion();return this[_0x39bc52(0x138)][_0x39bc52(0x156)](_0x139672),_0x139672;}[_0x3896a0(0x169)](){const _0x2583f3=_0x3896a0;if(!this['obj'])throw Error(_0x2583f3(0x15c));let _0x109faa=new Vector3();return this[_0x2583f3(0x138)][_0x2583f3(0x169)](_0x109faa),_0x109faa;}[_0x3896a0(0x123)](){const _0x1e4b8e=_0x3896a0;if(!this[_0x1e4b8e(0x138)])throw Error('threeObject\x20is\x20invalid');return this[_0x1e4b8e(0x138)][_0x1e4b8e(0x110)](!![]),this[_0x1e4b8e(0x138)][_0x1e4b8e(0x127)][_0x1e4b8e(0x179)]();}[_0x3896a0(0x143)](_0x6a36bc){const _0x594370=_0x3896a0;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');if(this[_0x594370(0x138)][_0x594370(0x148)]){this['obj']['parent']['updateMatrixWorld'](!![]);const _0x34eee5=this['obj'][_0x594370(0x148)]['matrixWorld'][_0x594370(0x179)]()[_0x594370(0x136)](),_0x435fe3=new Matrix4()['multiplyMatrices'](_0x34eee5,_0x6a36bc);this[_0x594370(0x11b)](_0x435fe3);}else this[_0x594370(0x11b)](_0x6a36bc);this['obj'][_0x594370(0x110)](!![]),this[_0x594370(0x172)]&&this[_0x594370(0x172)][_0x594370(0x16a)][_0x594370(0x10d)]();}[_0x3896a0(0x111)](){const _0x8f9e13=_0x3896a0;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');let _0xf90bb1=new Vector3();return this[_0x8f9e13(0x138)][_0x8f9e13(0x118)](_0xf90bb1),_0xf90bb1;}[_0x3896a0(0x160)](){const _0x28d127=_0x3896a0;if(!this[_0x28d127(0x138)])throw Error('threeObject\x20is\x20invalid');let _0x10557e=new Vector3(0x0,0x1,0x0);return _0x10557e[_0x28d127(0x132)](this[_0x28d127(0x156)]()),_0x10557e;}[_0x3896a0(0x167)](){const _0x41cce8=_0x3896a0;if(!this[_0x41cce8(0x138)])throw Error('threeObject\x20is\x20invalid');let _0x507722=new Vector3(0x1,0x0,0x0);return _0x507722['applyQuaternion'](this[_0x41cce8(0x156)]()),_0x507722;}[_0x3896a0(0x13e)](_0x337cc6){const _0x3b2f8e=_0x3896a0;if(!this[_0x3b2f8e(0x138)])throw Error(_0x3b2f8e(0x15c));return this[_0x3b2f8e(0x138)][_0x3b2f8e(0x13e)](_0x337cc6);}[_0x3896a0(0x154)](_0x48eeaa){const _0x34a945=_0x3896a0;if(!this['obj'])throw Error(_0x34a945(0x15c));return this[_0x34a945(0x138)]['localToWorld'](_0x48eeaa);}[_0x3896a0(0x16d)](_0x455569){const _0x3c6c3c=_0x3896a0;if(!this['obj'])throw Error(_0x3c6c3c(0x15c));if(!_0x455569[_0x3c6c3c(0x10e)])throw Error(_0x3c6c3c(0x11f));this[_0x3c6c3c(0x138)][_0x3c6c3c(0x177)](_0x455569[_0x3c6c3c(0x10e)]),this[_0x3c6c3c(0x172)]&&_0x455569[_0x3c6c3c(0x12d)](this[_0x3c6c3c(0x172)]);}[_0x3896a0(0x151)](_0x443674){const _0x1768d8=_0x3896a0;if(!this['obj'])throw Error(_0x1768d8(0x15c));if(!_0x443674['threeObject'])throw Error('target\x20threeObject\x20is\x20invalid');this[_0x1768d8(0x138)][_0x1768d8(0x14d)](_0x443674[_0x1768d8(0x10e)]);}[_0x3896a0(0x16e)](_0x1dde08,_0x42096c=AttachmentRules[_0x3896a0(0x149)]){const _0x4bedb4=_0x3896a0;if(!this[_0x4bedb4(0x138)])throw Error('threeObject\x20is\x20invalid');if(!_0x1dde08[_0x4bedb4(0x10e)])throw Error(_0x4bedb4(0x11f));_0x1dde08['parentActor']=this[_0x4bedb4(0x122)];if(_0x42096c===AttachmentRules[_0x4bedb4(0x140)]){let _0x5d0364=_0x1dde08[_0x4bedb4(0x123)]();this[_0x4bedb4(0x138)][_0x4bedb4(0x177)](_0x1dde08[_0x4bedb4(0x10e)]),_0x1dde08[_0x4bedb4(0x143)](_0x5d0364);}else this[_0x4bedb4(0x138)]['add'](_0x1dde08['threeObject']);this[_0x4bedb4(0x172)]&&_0x1dde08['onAddedToWorld'](this[_0x4bedb4(0x172)]),this[_0x4bedb4(0x138)][_0x4bedb4(0x142)](),this[_0x4bedb4(0x138)][_0x4bedb4(0x110)](!![]);}[_0x3896a0(0x11d)](_0x296693){const _0x4e7279=_0x3896a0;if(!this[_0x4e7279(0x138)])throw Error('threeObject\x20is\x20invalid');if(!_0x296693[_0x4e7279(0x10e)])throw Error('targetComponent\x20threeObject\x20is\x20invalid');this[_0x4e7279(0x138)]['remove'](_0x296693[_0x4e7279(0x10e)]);}['detachFromParentComponent'](){const _0x185c4b=_0x3896a0;this[_0x185c4b(0x14f)]&&this[_0x185c4b(0x14f)][_0x185c4b(0x11d)](this);}[_0x3896a0(0x131)](){const _0xffe11c=_0x3896a0;this[_0xffe11c(0x122)]&&(this[_0xffe11c(0x122)]=null);}['destroyChildren'](){const _0x3876da=_0x3896a0;var _0x162705;if(!this['obj'])return;let _0x1da009=[];for(let _0x43f38c=0x0;_0x43f38c<this[_0x3876da(0x138)][_0x3876da(0x10c)][_0x3876da(0x12e)];++_0x43f38c){let _0x42ea81=(_0x162705=this['obj'][_0x3876da(0x10c)][_0x43f38c][_0x3876da(0x170)])===null||_0x162705===void 0?void 0:_0x162705[_0x3876da(0x13a)];_0x42ea81&&_0x1da009[_0x3876da(0x14b)](_0x42ea81);}_0x1da009[_0x3876da(0x15d)](_0x4f60a9=>{_0x4f60a9['destroy']();}),_0x1da009=[];}set[_0x3896a0(0x158)](_0x351a57){const _0x27f86b=_0x3896a0;this[_0x27f86b(0x16c)]=_0x351a57;let _0x2ae9c4=this[_0x27f86b(0x117)];for(let _0x5ae6a8=0x0;_0x5ae6a8<_0x2ae9c4[_0x27f86b(0x12e)];++_0x5ae6a8){_0x2ae9c4[_0x5ae6a8][_0x27f86b(0x158)]=this[_0x27f86b(0x16c)];}}get[_0x3896a0(0x158)](){const _0x189259=_0x3896a0;return this[_0x189259(0x16c)];}set['isClickEnabled'](_0x1295af){const _0x3eeae9=_0x3896a0;this['bCanClick']=_0x1295af;let _0x571210=this[_0x3eeae9(0x117)];for(let _0x22a2cf=0x0;_0x22a2cf<_0x571210[_0x3eeae9(0x12e)];++_0x22a2cf){_0x571210[_0x22a2cf][_0x3eeae9(0x155)]=this[_0x3eeae9(0x146)];}}get[_0x3896a0(0x155)](){return this['bCanClick'];}[_0x3896a0(0x141)](){const _0x52e1a1=_0x3896a0;this['_onHoverBeginDelegate'][_0x52e1a1(0x133)]();}[_0x3896a0(0x113)](){const _0x298ce1=_0x3896a0;this[_0x298ce1(0x14a)][_0x298ce1(0x133)]();}[_0x3896a0(0x13f)](){const _0x6a605d=_0x3896a0;this['_onClickDelegate'][_0x6a605d(0x133)]();}[_0x3896a0(0x162)](){const _0x1dfe5a=_0x3896a0;this[_0x1dfe5a(0x174)][_0x1dfe5a(0x133)]();}}function _0x3f15(){const _0x1dacd9=['children','markRenderStateDirty','threeObject','getScale','updateMatrixWorld','getWorldForwardDirection','decompose','onHorveringEnd','scale','createDefaultObject','position','childrenComponents','getWorldDirection','setScale','78346bzJGEj','setMatrix','set','removeChildComponent','1788rPsuLs','newComponent\x20threeObject\x20is\x20invalid','119pBzKkG','setQuaternion\x20failed,param\x20is\x20invalid','parentActor','getWorldMatrix','18nUkxFK','setLayers','layers','matrixWorld','6393zzreUs','isEuler','_onHoverBeginDelegate','onHoverEndDelegate','uuid','onAddedToWorld','length','destroy','4052250vyPROx','detachFromParentActor','applyQuaternion','broadcast','isEmpty','getBounds','invert','min','obj','max','LYObject','tick','copy','getBoundsCenterPositionWS','worldToLocal','onClicked','KeepWorld','onHorveringBegin','updateMatrix','setWorldMatrix','detachFromParentComponent','132136PTfpNr','bCanClick','getWorldPosition','parent','KeepRelative','_onHoverEndDelegate','push','app','remove','error','parentComponent','isVisible','detachComponent','onHoverBeginDelegate','number','localToWorld','isClickEnabled','getWorldQuaternion','matrixAutoUpdate','isHoverEnabled','getComponentById','destroyObject','destroyChildren','threeObject\x20is\x20invalid','forEach','setVisible','730578DfwTDs','getWorldUpDirection','4669510CRlsUB','onDoubleClicked','_parentActor','_onClickDelegate','order','quaternion','getWorldRightDirection','setFromObject','getWorldScale','viewport','setFromQuaternion','bCanHover','attachComponent','addChildComponent','getWorldRotation','userData','2793150KfLqbd','world','visible','_onDoubleClickDelegate','matrix','isVector3','add','name','clone','getCenter'];_0x3f15=function(){return _0x1dacd9;};return _0x3f15();}
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
const _0x2042fe=_0x289c;(function(_0x472452,_0x26abab){const _0x42c7da=_0x289c,_0x231247=_0x472452();while(!![]){try{const _0x140e65=parseInt(_0x42c7da(0x1b4))/0x1+-parseInt(_0x42c7da(0x1ad))/0x2*(-parseInt(_0x42c7da(0x1b1))/0x3)+-parseInt(_0x42c7da(0x1b8))/0x4+-parseInt(_0x42c7da(0x1a8))/0x5+-parseInt(_0x42c7da(0x19a))/0x6+parseInt(_0x42c7da(0x1ae))/0x7+parseInt(_0x42c7da(0x1ba))/0x8;if(_0x140e65===_0x26abab)break;else _0x231247['push'](_0x231247['shift']());}catch(_0x4040c9){_0x231247['push'](_0x231247['shift']());}}}(_0x3ada,0xa5b89));class MeshComponent extends SceneComponent{get[_0x2042fe(0x1a9)](){const _0x146b40=_0x2042fe;if(!this['obj'])throw new Error(_0x146b40(0x1bf));return this[_0x146b40(0x1bd)];}set[_0x2042fe(0x1a9)](_0x5dcb76){const _0x15d673=_0x2042fe;this['obj']=_0x5dcb76,this[_0x15d673(0x1bd)]&&(this[_0x15d673(0x1bd)][_0x15d673(0x1a0)][_0x15d673(0x1bc)]=this);}get['geometry'](){const _0x458381=_0x2042fe;if(!this[_0x458381(0x1ac)])throw new Error(_0x458381(0x1b0));return this[_0x458381(0x1ac)][_0x458381(0x19e)]();}set['geometry'](_0x2cc53e){const _0x544b28=_0x2042fe;let _0x4c4e6f=this['app'][_0x544b28(0x1b5)]['addGeometryAsset'](_0x2cc53e);this['geometryPtr']=_0x4c4e6f;}get[_0x2042fe(0x1a5)](){const _0x2f4fe9=_0x2042fe;if(!this[_0x2f4fe9(0x1ac)])throw new Error(_0x2f4fe9(0x1b0));return this['_geometryPtr'];}set['geometryPtr'](_0x4e8ee1){const _0xe436db=_0x2042fe;this[_0xe436db(0x1ac)]&&(this[_0xe436db(0x1ac)]['release'](),this[_0xe436db(0x1ac)]=null);this[_0xe436db(0x1ac)]=_0x4e8ee1;let _0x30e037=_0x4e8ee1[_0xe436db(0x19e)]();this['threeObject']&&_0x30e037&&(this[_0xe436db(0x1a9)][_0xe436db(0x1a2)]=_0x30e037);}get[_0x2042fe(0x19c)](){const _0x1c8e0d=_0x2042fe;let _0x3f9edc=[];return this[_0x1c8e0d(0x1aa)][_0x1c8e0d(0x1a1)](_0x658933=>{const _0x33f456=_0x1c8e0d;let _0x4d541c=_0x658933[_0x33f456(0x19e)]();if(_0x4d541c)_0x3f9edc[_0x33f456(0x1ab)](_0x4d541c);}),_0x3f9edc[_0x1c8e0d(0x19d)]>0x1?_0x3f9edc:_0x3f9edc[0x0];}get[_0x2042fe(0x1be)](){const _0x17cbd6=_0x2042fe;return this[_0x17cbd6(0x1be)];}set[_0x2042fe(0x19c)](_0x2a60d2){const _0x213e9e=_0x2042fe;let _0x2232c8=Array[_0x213e9e(0x1b9)](_0x2a60d2)?_0x2a60d2:[_0x2a60d2],_0x58ac7d=[];_0x2232c8[_0x213e9e(0x1a1)](_0xab62a6=>{const _0x33a790=_0x213e9e;let _0x135fe6=this['app'][_0x33a790(0x1b5)][_0x33a790(0x1b7)](_0xab62a6);if(_0x135fe6)_0x58ac7d['push'](_0x135fe6);}),this[_0x213e9e(0x1be)]=_0x58ac7d;}set[_0x2042fe(0x1be)](_0xbbfbf5){const _0xb3aa7b=_0x2042fe;this[_0xb3aa7b(0x1aa)]&&(this[_0xb3aa7b(0x1aa)][_0xb3aa7b(0x1a1)](_0x463604=>{const _0x149bd3=_0xb3aa7b;_0x463604[_0x149bd3(0x19b)]();}),this[_0xb3aa7b(0x1aa)]=[]);let _0x14c2bc=Array[_0xb3aa7b(0x1b9)](_0xbbfbf5)?_0xbbfbf5:[_0xbbfbf5],_0x4958ae=[];_0x14c2bc[_0xb3aa7b(0x1a1)](_0x48f3eb=>{let _0x44bcee=_0x48f3eb['getValue']();if(_0x44bcee)_0x4958ae['push'](_0x44bcee);_0x48f3eb['addRef']();});if(this[_0xb3aa7b(0x1a9)]){if(_0x4958ae[_0xb3aa7b(0x19d)]>0x0)this[_0xb3aa7b(0x1a9)][_0xb3aa7b(0x19c)]=Array['isArray'](_0xbbfbf5)?_0x4958ae[0x0]:_0x4958ae;}this[_0xb3aa7b(0x1aa)]=_0x14c2bc;}constructor(_0x5d29c8,_0x8d67ff,_0x2c3342,_0x497e96){const _0x25e81c=_0x2042fe;let _0x5058e7=[],_0x56f686=Array['isArray'](_0x2c3342)?_0x2c3342:[_0x2c3342];_0x56f686[_0x25e81c(0x1a1)](_0x214d08=>{const _0x50f4e3=_0x25e81c;let _0x1e9769=_0x5d29c8[_0x50f4e3(0x1b5)]['addMaterialAsset'](_0x214d08);if(_0x1e9769)_0x5058e7[_0x50f4e3(0x1ab)](_0x1e9769);}),super(_0x5d29c8,_0x497e96),this['_geometryPtr']=_0x5d29c8[_0x25e81c(0x1b5)][_0x25e81c(0x19f)](_0x8d67ff),this[_0x25e81c(0x1aa)]=_0x5058e7,_0x5058e7[_0x25e81c(0x1a1)](_0x4e2e14=>{const _0x39bb99=_0x25e81c;_0x4e2e14[_0x39bb99(0x199)]();}),this['threeObject'][_0x25e81c(0x19c)]=_0x2c3342,this['threeObject'][_0x25e81c(0x1a2)]=_0x8d67ff,this[_0x25e81c(0x1a6)]=!![],this[_0x25e81c(0x1b6)]=!![];}['createDefaultObject'](){return new Mesh();}set[_0x2042fe(0x1a6)](_0x545ff9){const _0x3c4ce4=_0x2042fe;if(this[_0x3c4ce4(0x1a9)])this[_0x3c4ce4(0x1a9)][_0x3c4ce4(0x1a6)]=_0x545ff9;}get[_0x2042fe(0x1a6)](){const _0x280cf4=_0x2042fe;return this[_0x280cf4(0x1a9)]?this[_0x280cf4(0x1a9)][_0x280cf4(0x1a6)]:![];}set['receiveShadow'](_0xe7eeff){const _0x405be3=_0x2042fe;if(!this[_0x405be3(0x1a9)])return;this[_0x405be3(0x1a9)][_0x405be3(0x1b6)]=_0xe7eeff;}get[_0x2042fe(0x1b6)](){const _0x4a969c=_0x2042fe;return this[_0x4a969c(0x1a9)]?this[_0x4a969c(0x1a9)]['receiveShadow']:![];}['getBoundsCenterPosition'](){const _0x2b5ae6=_0x2042fe;let _0x1109be=new Vector3();return this[_0x2b5ae6(0x1b2)]()['getCenter'](_0x1109be),_0x1109be;}[_0x2042fe(0x1bb)](){const _0x471d3c=_0x2042fe;let _0x3abeac=new Vector3(),_0x42ee01=this[_0x471d3c(0x1b2)]();return _0x42ee01[_0x471d3c(0x1b3)](_0x3abeac),_0x3abeac['y']=_0x42ee01['max']['y'],_0x3abeac;}[_0x2042fe(0x1a7)](){const _0x1e37e3=_0x2042fe;let _0x138b14=new Vector3(),_0x3c8c37=this[_0x1e37e3(0x1b2)]();return _0x3c8c37[_0x1e37e3(0x1b3)](_0x138b14),_0x138b14['y']=_0x3c8c37[_0x1e37e3(0x1af)]['y'],_0x138b14;}[_0x2042fe(0x1a3)](){const _0x1082fb=_0x2042fe;var _0x1f4f8a;this[_0x1082fb(0x1a9)]&&this[_0x1082fb(0x1a9)][_0x1082fb(0x1a4)]();(_0x1f4f8a=this['_geometryPtr'])===null||_0x1f4f8a===void 0?void 0:_0x1f4f8a[_0x1082fb(0x19b)]();let _0x5cad3d=Array[_0x1082fb(0x1b9)](this[_0x1082fb(0x1aa)])?this[_0x1082fb(0x1aa)]:[this['_materialPtr']];_0x5cad3d[_0x1082fb(0x1a1)](_0xf1e8ee=>{const _0x24c6b3=_0x1082fb;_0xf1e8ee[_0x24c6b3(0x19b)]();}),super[_0x1082fb(0x1a3)]();}}function _0x289c(_0x4b15ce,_0x4c8679){_0x4b15ce=_0x4b15ce-0x199;const _0x3ada2a=_0x3ada();let _0x289cca=_0x3ada2a[_0x4b15ce];return _0x289cca;}function _0x3ada(){const _0x47830d=['castShadow','getBoundsBottomCenterPosition','4187125xvNHFz','threeObject','_materialPtr','push','_geometryPtr','108REoExE','6099177CASPZj','min','geometryPtr\x20is\x20null','9591vXqXJx','getBounds','getCenter','519257vlgyZZ','assetManager','receiveShadow','addMaterialAsset','224208vFgVHv','isArray','5803632jjtChL','getBoundsTopCenterPosition','LYObject','obj','materialPtr','threeObject\x20is\x20null','addRef','4298340DUHfkp','release','material','length','getValue','addGeometryAsset','userData','forEach','geometry','destroyObject','removeFromParent','geometryPtr'];_0x3ada=function(){return _0x47830d;};return _0x3ada();}
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
function _0x5b63(_0x4c13da,_0xb9ffea){_0x4c13da=_0x4c13da-0x90;const _0x307a11=_0x307a();let _0x5b6309=_0x307a11[_0x4c13da];return _0x5b6309;}function _0x307a(){const _0x42891e=['72xMUNux','createDefaultObject','_materialPtr','721818uvDZSS','dispose','forEach','receiveShadow','setMatrixAt','threeObject','6517687MeZkMn','length','addRef','203814TckEOO','1492528ASuZPL','355403OrtZGB','geometry','10eIqqvy','87183vXdHFR','_geometryPtr','1680880gZbYGf','updateMatrices','destroyObject','obj','needsUpdate','assetManager','getValue','2RQcDCD','material','count','push','castShadow','21KjjPOx','addGeometryAsset','userData','addMaterialAsset','removeFromParent'];_0x307a=function(){return _0x42891e;};return _0x307a();}const _0x57cb72=_0x5b63;(function(_0x369220,_0x111ec8){const _0x595441=_0x5b63,_0xde2f99=_0x369220();while(!![]){try{const _0x8d00a6=parseInt(_0x595441(0x95))/0x1*(-parseInt(_0x595441(0xa1))/0x2)+parseInt(_0x595441(0x98))/0x3*(-parseInt(_0x595441(0xab))/0x4)+parseInt(_0x595441(0x9a))/0x5+-parseInt(_0x595441(0xae))/0x6+-parseInt(_0x595441(0xa6))/0x7*(-parseInt(_0x595441(0x94))/0x8)+parseInt(_0x595441(0x93))/0x9+-parseInt(_0x595441(0x97))/0xa*(-parseInt(_0x595441(0x90))/0xb);if(_0x8d00a6===_0x111ec8)break;else _0xde2f99['push'](_0xde2f99['shift']());}catch(_0xe02f13){_0xde2f99['push'](_0xde2f99['shift']());}}}(_0x307a,0x7d0e9));class InstanceMeshComponent extends SceneComponent{get['threeObject'](){const _0x5e1982=_0x5b63;if(!this[_0x5e1982(0x9d)])throw new Error('InstanceMeshComponent:\x20threeObject\x20is\x20null');return this[_0x5e1982(0x9d)];}set[_0x57cb72(0xb3)](_0x1b7804){const _0x1fd764=_0x57cb72;this[_0x1fd764(0x9d)]=_0x1b7804,this[_0x1fd764(0x9d)]&&(this[_0x1fd764(0x9d)][_0x1fd764(0xa8)]['LYObject']=this);}get[_0x57cb72(0x96)](){const _0x3ed7b9=_0x57cb72;var _0x2c9da1,_0x5ef2e5;return (_0x5ef2e5=(_0x2c9da1=this[_0x3ed7b9(0x99)])===null||_0x2c9da1===void 0?void 0:_0x2c9da1['getValue']())!==null&&_0x5ef2e5!==void 0?_0x5ef2e5:null;}get[_0x57cb72(0xa2)](){const _0xe37390=_0x57cb72,_0x1ff0e9=[];return this[_0xe37390(0xad)][_0xe37390(0xb0)](_0x3c1b92=>{const _0x2a6db1=_0xe37390,_0x1797b6=_0x3c1b92[_0x2a6db1(0xa0)]();if(_0x1797b6)_0x1ff0e9[_0x2a6db1(0xa4)](_0x1797b6);}),_0x1ff0e9[_0xe37390(0x91)]>0x1?_0x1ff0e9:_0x1ff0e9[0x0];}get['count'](){const _0x3c54e4=_0x57cb72;return this[_0x3c54e4(0xb3)]['count'];}set['count'](_0x4b4eb4){const _0x4babdc=_0x57cb72;this[_0x4babdc(0xb3)]['count']=_0x4b4eb4;}set[_0x57cb72(0xa5)](_0x2e11ad){const _0x10740a=_0x57cb72;if(this[_0x10740a(0xb3)])this[_0x10740a(0xb3)][_0x10740a(0xa5)]=_0x2e11ad;}get['castShadow'](){const _0x43a19b=_0x57cb72;return this['threeObject']?this['threeObject'][_0x43a19b(0xa5)]:![];}set[_0x57cb72(0xb1)](_0x3e7863){const _0x127e1c=_0x57cb72;if(!this['threeObject'])return;this[_0x127e1c(0xb3)][_0x127e1c(0xb1)]=_0x3e7863;}get['receiveShadow'](){const _0x2bdd62=_0x57cb72;return this[_0x2bdd62(0xb3)]?this[_0x2bdd62(0xb3)]['receiveShadow']:![];}constructor(_0x127df3,_0x5d1e53,_0x64b98d){const _0x5b0c1b=_0x57cb72;super(_0x127df3,_0x64b98d),this['_geometryPtr']=null,this[_0x5b0c1b(0xad)]=[];_0x5d1e53[_0x5b0c1b(0x96)]&&(this[_0x5b0c1b(0x99)]=_0x127df3['assetManager'][_0x5b0c1b(0xa7)](_0x5d1e53[_0x5b0c1b(0x96)]));const _0x55b46e=Array['isArray'](_0x5d1e53[_0x5b0c1b(0xa2)])?_0x5d1e53[_0x5b0c1b(0xa2)]:[_0x5d1e53[_0x5b0c1b(0xa2)]];_0x55b46e[_0x5b0c1b(0xb0)](_0x4c1c41=>{const _0x5093ef=_0x5b0c1b,_0x3d3634=_0x127df3[_0x5093ef(0x9f)][_0x5093ef(0xa9)](_0x4c1c41);_0x3d3634&&(_0x3d3634[_0x5093ef(0x92)](),this[_0x5093ef(0xad)][_0x5093ef(0xa4)](_0x3d3634));}),this['threeObject']=_0x5d1e53,this['castShadow']=!![],this[_0x5b0c1b(0xb1)]=!![];}[_0x57cb72(0xac)](){return new InstancedMesh(undefined,undefined,0x0);}['getMatrixAt'](_0x49791f,_0x4953fc){const _0x353d68=_0x57cb72;this[_0x353d68(0xb3)]['getMatrixAt'](_0x49791f,_0x4953fc);}[_0x57cb72(0xb2)](_0x1b6027,_0x150de8){const _0x57ff8f=_0x57cb72;this['threeObject']['setMatrixAt'](_0x1b6027,_0x150de8),this[_0x57ff8f(0xb3)]['instanceMatrix']['needsUpdate']=!![];}[_0x57cb72(0x9b)](_0x4ebc57){const _0x392dbb=_0x57cb72,_0x1e22b2=Math['min'](_0x4ebc57[_0x392dbb(0x91)],this['threeObject'][_0x392dbb(0xa3)]);for(let _0x1bbfb4=0x0;_0x1bbfb4<_0x1e22b2;_0x1bbfb4++){this[_0x392dbb(0xb3)][_0x392dbb(0xb2)](_0x1bbfb4,_0x4ebc57[_0x1bbfb4]);}this[_0x392dbb(0xb3)]['instanceMatrix'][_0x392dbb(0x9e)]=!![];}['destroyObject'](){const _0x239f66=_0x57cb72;var _0x46c186;this['threeObject']&&(this[_0x239f66(0xb3)][_0x239f66(0xaa)](),this['threeObject'][_0x239f66(0xaf)]()),(_0x46c186=this['_geometryPtr'])===null||_0x46c186===void 0?void 0:_0x46c186['release'](),this['_geometryPtr']=null,this[_0x239f66(0xad)][_0x239f66(0xb0)](_0x39f5f2=>{_0x39f5f2['release']();}),this[_0x239f66(0xad)]=[],super[_0x239f66(0x9c)]();}}
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
var _0x179e27=_0x20a3;(function(_0x40e602,_0x215664){var _0xb5acfe=_0x20a3,_0x50db79=_0x40e602();while(!![]){try{var _0x545642=parseInt(_0xb5acfe(0x1ee))/0x1*(-parseInt(_0xb5acfe(0x1de))/0x2)+parseInt(_0xb5acfe(0x1e6))/0x3*(parseInt(_0xb5acfe(0x1e9))/0x4)+-parseInt(_0xb5acfe(0x1e1))/0x5+-parseInt(_0xb5acfe(0x1ec))/0x6*(parseInt(_0xb5acfe(0x1ef))/0x7)+parseInt(_0xb5acfe(0x1eb))/0x8*(parseInt(_0xb5acfe(0x1e8))/0x9)+-parseInt(_0xb5acfe(0x1e7))/0xa*(-parseInt(_0xb5acfe(0x1df))/0xb)+parseInt(_0xb5acfe(0x1ed))/0xc;if(_0x545642===_0x215664)break;else _0x50db79['push'](_0x50db79['shift']());}catch(_0x37d13e){_0x50db79['push'](_0x50db79['shift']());}}}(_0x2f54,0x41854));class TSmartPointer{constructor(_0xb76acc,_0x361dd2=0x1){var _0x44bf01=_0x20a3;this[_0x44bf01(0x1e4)]=0x1,this[_0x44bf01(0x1e0)]=null,this['value']=_0xb76acc,this[_0x44bf01(0x1e4)]=_0x361dd2;}[_0x179e27(0x1e2)](){var _0x13eb05=_0x179e27;return this[_0x13eb05(0x1e4)];}[_0x179e27(0x1e3)](){return this['value']!==null;}[_0x179e27(0x1f0)](_0x245f4=0x1){var _0x44f061=_0x179e27;this[_0x44f061(0x1e0)]!==null&&(this['referenceCount']+=_0x245f4);}['release'](){var _0x36b00a=_0x179e27;this[_0x36b00a(0x1e0)]!==null&&this[_0x36b00a(0x1e4)]>0x0&&(this[_0x36b00a(0x1e4)]--,this[_0x36b00a(0x1e4)]===0x0&&this[_0x36b00a(0x1e5)]());}[_0x179e27(0x1ea)](){var _0x17a774=_0x179e27;this['value']!==null&&(this[_0x17a774(0x1e5)](),this['referenceCount']=0x0);}[_0x179e27(0x1e5)](){var _0xa09713=_0x179e27;this[_0xa09713(0x1e0)]=null;}[_0x179e27(0x1dd)](){var _0x25c857=_0x179e27;return this[_0x25c857(0x1e0)];}}function _0x20a3(_0x320bdd,_0x39c6a9){_0x320bdd=_0x320bdd-0x1dd;var _0x2f5434=_0x2f54();var _0x20a31e=_0x2f5434[_0x320bdd];return _0x20a31e;}function _0x2f54(){var _0x132407=['forceRelease','16ZHdEbg','24xOwoOx','3754896rkxGnn','13OnjQPO','565369dapuYZ','addRef','getValue','50146ItYOfc','187GntzBu','value','116690JIdaLk','getRefCount','isValid','referenceCount','dispose','819DUlrAA','221110sHNTeF','143523WwIYcB','3224aYLocW'];_0x2f54=function(){return _0x132407;};return _0x2f54();}
|
|
45
45
|
|
|
46
|
-
const
|
|
46
|
+
const _0x5da1f8=_0x444d;(function(_0x2b96cc,_0x2fb029){const _0x1458af=_0x444d,_0x4408ab=_0x2b96cc();while(!![]){try{const _0x3a79e4=-parseInt(_0x1458af(0x18c))/0x1*(parseInt(_0x1458af(0x18b))/0x2)+parseInt(_0x1458af(0x183))/0x3+parseInt(_0x1458af(0x188))/0x4+parseInt(_0x1458af(0x18a))/0x5+-parseInt(_0x1458af(0x189))/0x6*(-parseInt(_0x1458af(0x186))/0x7)+parseInt(_0x1458af(0x190))/0x8+parseInt(_0x1458af(0x18e))/0x9*(-parseInt(_0x1458af(0x192))/0xa);if(_0x3a79e4===_0x2fb029)break;else _0x4408ab['push'](_0x4408ab['shift']());}catch(_0x22584a){_0x4408ab['push'](_0x4408ab['shift']());}}}(_0x4dd5,0xb9a8d));const ASSET_POINTER_KEY='assetPointer';function _0x4dd5(){const _0x53eaeb=['5625360wBMrYk','108yymJJP','4676460UOxRkA','778IQzwOy','1206ZTbZdx','function','9wTxAiY','dispose','9132328ucaffA','_uuid','31016690ElOhWf','1818297PhYccD','userData','value','94108VGYQZD','uuid'];_0x4dd5=function(){return _0x53eaeb;};return _0x4dd5();}function _0x444d(_0x5b72a8,_0x568502){_0x5b72a8=_0x5b72a8-0x183;const _0x4dd535=_0x4dd5();let _0x444de5=_0x4dd535[_0x5b72a8];return _0x444de5;}const EDITOR_ASSET_ID_KEY='editorAssetId';class TAssetPointer extends TSmartPointer{get['uuid'](){const _0x248e2d=_0x444d;return this[_0x248e2d(0x191)];}constructor(_0x2cd7ba,_0x5a5e7d=0x0){const _0xb23b38=_0x444d;super(_0x2cd7ba,_0x5a5e7d),this[_0xb23b38(0x191)]=_0x2cd7ba[_0xb23b38(0x187)],_0x2cd7ba[_0xb23b38(0x184)][ASSET_POINTER_KEY]=this;}[_0x5da1f8(0x18f)](){const _0x1f03c1=_0x5da1f8;this[_0x1f03c1(0x185)]&&(this['value']['userData']&&(delete this[_0x1f03c1(0x185)]['userData'][ASSET_POINTER_KEY],delete this[_0x1f03c1(0x185)]['userData'][EDITOR_ASSET_ID_KEY]),typeof this['value'][_0x1f03c1(0x18f)]===_0x1f03c1(0x18d)&&this[_0x1f03c1(0x185)][_0x1f03c1(0x18f)]()),super['dispose']();}}
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
function _0x3121(_0x28a14a,_0xbd0e5f){_0x28a14a=_0x28a14a-0xd1;const _0x565e93=_0x565e();let _0x312159=_0x565e93[_0x28a14a];return _0x312159;}const _0x5209ee=_0x3121;(function(_0x271378,_0x5acb7c){const _0x3872d0=_0x3121,_0x45d62d=_0x271378();while(!![]){try{const _0x5275b1=parseInt(_0x3872d0(0xd1))/0x1*(-parseInt(_0x3872d0(0xe1))/0x2)+parseInt(_0x3872d0(0xe4))/0x3*(parseInt(_0x3872d0(0xd7))/0x4)+-parseInt(_0x3872d0(0xe6))/0x5*(parseInt(_0x3872d0(0xd4))/0x6)+-parseInt(_0x3872d0(0xe5))/0x7*(-parseInt(_0x3872d0(0xdf))/0x8)+-parseInt(_0x3872d0(0xdc))/0x9*(parseInt(_0x3872d0(0xe7))/0xa)+-parseInt(_0x3872d0(0xd6))/0xb*(parseInt(_0x3872d0(0xe2))/0xc)+parseInt(_0x3872d0(0xd8))/0xd;if(_0x5275b1===_0x5acb7c)break;else _0x45d62d['push'](_0x45d62d['shift']());}catch(_0x22401b){_0x45d62d['push'](_0x45d62d['shift']());}}}(_0x565e,0xeffc3));function _0x565e(){const _0x504e88=['Material\x20is\x20null','4231698yZyENA','dispose','11ygFoat','8CPPTOe','30168177DqgXEE','set','values','clear','1593sShsGL','release','texturePointers','24YUmrod','removeTexture','131362UOaRgt','3903852ngLNrF','Texture\x20is\x20null','2138421SZsKtv','3375967quRJeM','5fVNnQf','72020cTxCdB','textures','get','getValue','needsUpdate','29ugdJtM','setTexture'];_0x565e=function(){return _0x504e88;};return _0x565e();}class MaterialAssetPointer extends TAssetPointer{constructor(_0x4df4e8,_0x3acb65,_0x240908=0x0){const _0x22e033=_0x3121;super(_0x4df4e8,_0x240908),this[_0x22e033(0xe8)]=_0x3acb65;}get[_0x5209ee(0xde)](){const _0x2f7fa2=_0x5209ee;return this[_0x2f7fa2(0xe8)];}[_0x5209ee(0xd2)](_0x472e92,_0x54dd3c){const _0x216b51=_0x5209ee,_0x2b97fb=this['getValue'](),_0x214fa0=_0x54dd3c[_0x216b51(0xea)]();if(!_0x214fa0)throw new Error(_0x216b51(0xe3));if(!_0x2b97fb)throw new Error(_0x216b51(0xd3));const _0x3854b8=this['textures']['get'](_0x472e92);_0x3854b8!==_0x54dd3c&&(_0x3854b8&&_0x3854b8[_0x216b51(0xdd)](),this[_0x216b51(0xe8)][_0x216b51(0xd9)](_0x472e92,_0x54dd3c),_0x2b97fb[_0x472e92]=_0x214fa0,_0x54dd3c['addRef'](),_0x2b97fb[_0x216b51(0xeb)]=!![]);}[_0x5209ee(0xe0)](_0x31c4fa){const _0x17eee8=_0x5209ee,_0x164330=this[_0x17eee8(0xea)](),_0x550134=this[_0x17eee8(0xe8)][_0x17eee8(0xe9)](_0x31c4fa);_0x550134&&(_0x550134['release'](),this[_0x17eee8(0xe8)]['delete'](_0x31c4fa),_0x164330&&(_0x164330[_0x31c4fa]=null,_0x164330['needsUpdate']=!![]));}[_0x5209ee(0xd5)](){const _0x2aea61=_0x5209ee;for(const _0x46c4f9 of this[_0x2aea61(0xe8)][_0x2aea61(0xda)]()){_0x46c4f9['release']();}this['textures'][_0x2aea61(0xdb)](),super['dispose']();}}
|
|
49
49
|
|
|
50
|
-
(function(
|
|
50
|
+
(function(_0x53e2cb,_0x14ec50){var _0x3dafd7=_0x2b80,_0x32103b=_0x53e2cb();while(!![]){try{var _0xd65a5d=parseInt(_0x3dafd7(0x1c7))/0x1*(-parseInt(_0x3dafd7(0x1c6))/0x2)+-parseInt(_0x3dafd7(0x1c5))/0x3+-parseInt(_0x3dafd7(0x1c3))/0x4+-parseInt(_0x3dafd7(0x1c4))/0x5+parseInt(_0x3dafd7(0x1c2))/0x6+parseInt(_0x3dafd7(0x1c0))/0x7*(-parseInt(_0x3dafd7(0x1c9))/0x8)+parseInt(_0x3dafd7(0x1c1))/0x9*(parseInt(_0x3dafd7(0x1c8))/0xa);if(_0xd65a5d===_0x14ec50)break;else _0x32103b['push'](_0x32103b['shift']());}catch(_0x54fb66){_0x32103b['push'](_0x32103b['shift']());}}}(_0x18da,0x8772a));function _0x2b80(_0xf73e37,_0x31def2){_0xf73e37=_0xf73e37-0x1c0;var _0x18dacf=_0x18da();var _0x2b8062=_0x18dacf[_0xf73e37];return _0x2b8062;}function _0x18da(){var _0x3c6ca1=['3515105bUwBNG','1812987GVwHUi','2kSKjgu','1040017SbAfYY','20vZFMqj','112tDhMJH','38752jSUCYL','11118879iqtbbD','3187608wWYwYO','89860mkAtxf'];_0x18da=function(){return _0x3c6ca1;};return _0x18da();}class TextureAssetPointer extends TAssetPointer{constructor(_0x5e2f5a,_0x4a6816=0x1){super(_0x5e2f5a,_0x4a6816);}}
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
(function(_0x5e8a14,_0x58a90a){var _0x119b22=_0x44e2,_0x3e8784=_0x5e8a14();while(!![]){try{var _0x142236=-parseInt(_0x119b22(0xd4))/0x1*(parseInt(_0x119b22(0xd7))/0x2)+parseInt(_0x119b22(0xd3))/0x3+parseInt(_0x119b22(0xd5))/0x4*(parseInt(_0x119b22(0xd8))/0x5)+-parseInt(_0x119b22(0xd2))/0x6+parseInt(_0x119b22(0xd1))/0x7+parseInt(_0x119b22(0xd6))/0x8+-parseInt(_0x119b22(0xd0))/0x9;if(_0x142236===_0x58a90a)break;else _0x3e8784['push'](_0x3e8784['shift']());}catch(_0x17f27d){_0x3e8784['push'](_0x3e8784['shift']());}}}(_0xae88,0xb5e16));function _0xae88(){var _0x40808d=['899070jqEARI','17016795BpEfId','7638323VDbFzW','4595940ffkBBg','4211748OySlmf','589nEQonV','16jLhnqx','5899936tzvJAY','1868jYBRJm'];_0xae88=function(){return _0x40808d;};return _0xae88();}function _0x44e2(_0x443bce,_0x3d664b){_0x443bce=_0x443bce-0xd0;var _0xae8872=_0xae88();var _0x44e26b=_0xae8872[_0x443bce];return _0x44e26b;}class GeometryAssetPointer extends TAssetPointer{constructor(_0x25bd23,_0x4d99a3=0x1){super(_0x25bd23,_0x4d99a3);}}
|
|
53
53
|
|
|
54
|
-
const
|
|
54
|
+
const _0x289310=_0x45a8;function _0x45a8(_0x18f17c,_0x3cc65b){_0x18f17c=_0x18f17c-0xc9;const _0xf61eb=_0xf61e();let _0x45a841=_0xf61eb[_0x18f17c];return _0x45a841;}(function(_0x4334e3,_0x406d64){const _0x488487=_0x45a8,_0x5aa0ed=_0x4334e3();while(!![]){try{const _0xb701a7=-parseInt(_0x488487(0xe3))/0x1*(parseInt(_0x488487(0xfc))/0x2)+-parseInt(_0x488487(0xde))/0x3+-parseInt(_0x488487(0x103))/0x4*(-parseInt(_0x488487(0xd4))/0x5)+-parseInt(_0x488487(0x102))/0x6+parseInt(_0x488487(0xf5))/0x7+-parseInt(_0x488487(0xe0))/0x8+-parseInt(_0x488487(0xdc))/0x9*(-parseInt(_0x488487(0xe1))/0xa);if(_0xb701a7===_0x406d64)break;else _0x5aa0ed['push'](_0x5aa0ed['shift']());}catch(_0x565080){_0x5aa0ed['push'](_0x5aa0ed['shift']());}}}(_0xf61e,0xb7c24));class AssetManager{constructor(_0x1fc720,_0x502379){const _0x34c90b=_0x45a8;this[_0x34c90b(0xd7)]=new Map(),this[_0x34c90b(0xf1)]=new Map(),this['materialAssets']=new Map(),this[_0x34c90b(0xd2)]=new LoadingManager(),this[_0x34c90b(0x100)]=new GLTFLoader(this[_0x34c90b(0xd2)]),this[_0x34c90b(0xd8)]=_0x1fc720,this['dracoPath']=_0x502379;}get[_0x289310(0xfe)](){const _0x248213=_0x289310;return this[_0x248213(0xd2)];}get['KTX2Loader'](){const _0x53e390=_0x289310;return AssetManager[_0x53e390(0xce)];}async[_0x289310(0xf0)](){return;}[_0x289310(0x10d)](){const _0x223851=_0x289310;if(!AssetManager[_0x223851(0xff)]){AssetManager[_0x223851(0xff)]=new DRACOLoader();if(AssetManager[_0x223851(0xff)][_0x223851(0xd1)]){const _0x54be70=AssetManager[_0x223851(0xff)][_0x223851(0xd1)];_0x54be70['onStart']=undefined,_0x54be70['onLoad']=undefined,_0x54be70['onProgress']=undefined,_0x54be70[_0x223851(0xfa)]=undefined;}AssetManager[_0x223851(0xff)]['setDecoderPath'](this[_0x223851(0x10c)]),AssetManager['_dracoLoader'][_0x223851(0xe2)]();}}[_0x289310(0x10f)](_0x2ce463,_0x3070da){const _0x2a953d=_0x289310,_0x144e68=_0x3070da['position']['clone'](),_0x3cb7b4=_0x3070da[_0x2a953d(0xdb)][_0x2a953d(0x107)](),_0x1cb498=_0x3070da[_0x2a953d(0xf9)][_0x2a953d(0x107)]();let _0x4086fb=null;const _0x168790=_0x3070da[_0x2a953d(0xf8)];_0x3070da['children']=[];if(_0x3070da[_0x2a953d(0xe8)]===_0x2a953d(0xdf)||_0x3070da['type']===_0x2a953d(0xf4))_0x4086fb=new SceneComponent(this[_0x2a953d(0xd8)],_0x3070da[_0x2a953d(0xeb)]);else {if(_0x3070da[_0x2a953d(0xe6)]){const _0x418ee5=_0x3070da;_0x4086fb=new InstanceMeshComponent(this[_0x2a953d(0xd8)],_0x418ee5,_0x418ee5['uuid']),_0x4086fb['name']=_0x418ee5[_0x2a953d(0xdd)],_0x3070da[_0x2a953d(0xea)][_0x2a953d(0xd0)](0x0);}else {if(_0x3070da['isMesh']){const _0x529eda=_0x3070da;_0x4086fb=new MeshComponent(this[_0x2a953d(0xd8)],_0x529eda['geometry'],_0x529eda['material'],_0x529eda[_0x2a953d(0xeb)]),_0x4086fb[_0x2a953d(0xdd)]=_0x529eda[_0x2a953d(0xdd)],_0x3070da[_0x2a953d(0xea)]['set'](0x0);}else _0x4086fb=new SceneComponent(this[_0x2a953d(0xd8)],_0x3070da[_0x2a953d(0xeb)]);}}if(_0x4086fb===null)return _0x3070da[_0x2a953d(0xf8)]=_0x168790,null;_0x2ce463[_0x2a953d(0x108)](_0x4086fb),_0x4086fb[_0x2a953d(0xe4)](_0x144e68),_0x4086fb['setRotation'](_0x3cb7b4),_0x4086fb[_0x2a953d(0xd6)](_0x1cb498);for(const _0x1e1fdc of _0x168790){this[_0x2a953d(0x10f)](_0x4086fb,_0x1e1fdc);}return _0x4086fb;}['collectResourcesAndReferences'](_0x3817c3){const _0x4ae543=_0x289310,_0x5d9ee5=(_0x49c2ce,_0x4012f2)=>{var _0x1727b6;const _0x5a9d6b=(_0x1727b6=_0x49c2ce['get'](_0x4012f2))!==null&&_0x1727b6!==void 0?_0x1727b6:0x0;_0x49c2ce['set'](_0x4012f2,_0x5a9d6b+0x1);},_0x5e658e={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0x3817c3['traverse'](_0x31fdf7=>{const _0x4cdb6d=_0x45a8,_0xcc1cbe=_0x31fdf7;_0xcc1cbe[_0x4cdb6d(0xec)]instanceof BufferGeometry&&_0x5d9ee5(_0x5e658e[_0x4cdb6d(0xf6)],_0xcc1cbe['geometry']);if(_0xcc1cbe[_0x4cdb6d(0xd5)]){const _0x1fecea=Array[_0x4cdb6d(0x109)](_0xcc1cbe[_0x4cdb6d(0xd5)])?_0xcc1cbe[_0x4cdb6d(0xd5)]:[_0xcc1cbe[_0x4cdb6d(0xd5)]];_0x1fecea[_0x4cdb6d(0x105)](_0x2fe16b=>{const _0x63a212=_0x4cdb6d;_0x2fe16b&&(_0x5d9ee5(_0x5e658e['materials'],_0x2fe16b),Object[_0x63a212(0xed)](_0x2fe16b)[_0x63a212(0x105)](_0x406208=>{const _0x505d6e=_0x63a212;_0x406208 instanceof Texture&&_0x5d9ee5(_0x5e658e[_0x505d6e(0xe5)],_0x406208);}));});}}),_0x5e658e[_0x4ae543(0xf6)][_0x4ae543(0x105)]((_0x335fdb,_0x2ea15a)=>this[_0x4ae543(0x10e)](_0x2ea15a,_0x335fdb)),_0x5e658e[_0x4ae543(0x101)][_0x4ae543(0x105)]((_0x4b4c06,_0x2ea969)=>this[_0x4ae543(0x10e)](_0x2ea969,_0x4b4c06)),_0x5e658e[_0x4ae543(0xe5)][_0x4ae543(0x105)]((_0x4ccaf4,_0x247bc5)=>this['addAsset'](_0x247bc5,_0x4ccaf4));}['checkMeshResource'](_0x444a19){const _0x31a26d=_0x289310;_0x444a19['geometry']&&!_0x444a19[_0x31a26d(0xec)][_0x31a26d(0x10b)]['assetPointer']&&this['addAsset'](_0x444a19[_0x31a26d(0xec)]);if(_0x444a19['material']){const _0x2743d2=Array[_0x31a26d(0x109)](_0x444a19[_0x31a26d(0xd5)])?_0x444a19[_0x31a26d(0xd5)]:[_0x444a19[_0x31a26d(0xd5)]];_0x2743d2[_0x31a26d(0x105)](_0x2049d4=>{const _0x7842ee=_0x31a26d;if(!_0x2049d4)return;!_0x2049d4[_0x7842ee(0x10b)][_0x7842ee(0x10a)]&&this['addAsset'](_0x2049d4),Object['values'](_0x2049d4)['forEach'](_0x3f108f=>{const _0x383c17=_0x7842ee;_0x3f108f instanceof Texture&&!_0x3f108f['userData'][_0x383c17(0x10a)]&&this[_0x383c17(0x10e)](_0x3f108f);});});}}async[_0x289310(0xee)](_0x3dcdb9){const _0x3c8181=_0x289310;this[_0x3c8181(0x10d)]();const _0xe70bda=new GLTFLoader(new LoadingManager());AssetManager[_0x3c8181(0xff)]&&_0xe70bda[_0x3c8181(0xcc)](AssetManager[_0x3c8181(0xff)]);AssetManager[_0x3c8181(0xce)]&&_0xe70bda[_0x3c8181(0xe7)](AssetManager[_0x3c8181(0xce)]);try{const _0x55a0e9=await _0xe70bda['loadAsync'](_0x3dcdb9);return _0x55a0e9;}catch(_0x399f92){console[_0x3c8181(0xda)](_0x3c8181(0xfb),_0x3dcdb9,_0x399f92);throw _0x399f92;}}[_0x289310(0xc9)](_0x5db99d,_0x23a4f1){const _0x2622e9=_0x289310;this[_0x2622e9(0x10d)]();const _0x4bc594=new GLTFLoader(new LoadingManager());AssetManager['_dracoLoader']&&_0x4bc594[_0x2622e9(0xcc)](AssetManager[_0x2622e9(0xff)]),_0x4bc594[_0x2622e9(0xfd)](_0x5db99d,_0x23a4f1);}[_0x289310(0xf2)](_0x4bdad7,_0x2d4d5c,_0x1a79c3){const _0x21e4cc=_0x289310;this[_0x21e4cc(0x10d)]();const _0x1f7de5=new GLTFLoader(new LoadingManager());AssetManager['_dracoLoader']&&_0x1f7de5[_0x21e4cc(0xcc)](AssetManager[_0x21e4cc(0xff)]),_0x1f7de5['parse'](_0x4bdad7,_0x2d4d5c,_0x1a79c3);}[_0x289310(0xd9)](_0x26f3e6='',_0x3c1975){const _0x1b8658=_0x289310,_0xf204b0=new FileLoader();_0xf204b0[_0x1b8658(0xfd)](_0x26f3e6,_0x3c1975);}['addAsset'](_0x26b093,_0x53c25b=0x0){const _0x5d803d=_0x289310;if(_0x26b093 instanceof BufferGeometry)return this[_0x5d803d(0xf3)](_0x26b093,_0x53c25b);if(_0x26b093 instanceof Material)return this[_0x5d803d(0xf7)](_0x26b093,_0x53c25b);if(_0x26b093 instanceof Texture)return this[_0x5d803d(0xca)](_0x26b093,_0x53c25b);return undefined;}[_0x289310(0xf7)](_0x5ee9e7,_0x4b647c=0x0){const _0x2a7aee=_0x289310;let _0x290fd2=_0x5ee9e7[_0x2a7aee(0x10b)][_0x2a7aee(0x10a)];if(!_0x290fd2){const _0x1e4656=new Map();Object[_0x2a7aee(0x106)](_0x5ee9e7)[_0x2a7aee(0x105)](([_0xf9073d,_0x24c643])=>{const _0x9240eb=_0x2a7aee;if(_0x24c643 instanceof Texture){const _0x2a2c46=this[_0x9240eb(0xca)](_0x24c643,0x1);_0x1e4656['set'](_0xf9073d,_0x2a2c46);}}),_0x290fd2=new MaterialAssetPointer(_0x5ee9e7,_0x1e4656,_0x4b647c),this[_0x2a7aee(0xe9)][_0x2a7aee(0xd0)](_0x5ee9e7[_0x2a7aee(0xeb)],_0x290fd2);}else _0x290fd2[_0x2a7aee(0xef)](_0x4b647c);return _0x290fd2;}[_0x289310(0xca)](_0x3b67ac,_0x3254fe=0x0){const _0x41eaf3=_0x289310;let _0x2697b4=_0x3b67ac['userData']['assetPointer'];return !_0x2697b4?(_0x2697b4=new TextureAssetPointer(_0x3b67ac,_0x3254fe),this[_0x41eaf3(0xf1)][_0x41eaf3(0xd0)](_0x3b67ac[_0x41eaf3(0xeb)],_0x2697b4)):_0x2697b4[_0x41eaf3(0xef)](_0x3254fe),_0x2697b4;}[_0x289310(0xf3)](_0x11b1cf,_0x4c8f39=0x0){const _0x27c68d=_0x289310;let _0x4f7297=_0x11b1cf[_0x27c68d(0x10b)][_0x27c68d(0x10a)];return !_0x4f7297?(_0x4f7297=new GeometryAssetPointer(_0x11b1cf,_0x4c8f39),this[_0x27c68d(0xd7)]['set'](_0x11b1cf['uuid'],_0x4f7297)):_0x4f7297[_0x27c68d(0xef)](_0x4c8f39),_0x4f7297;}[_0x289310(0xcd)](_0x292cc0){const _0x2ff187=_0x289310,_0xbf2077=_0x292cc0[_0x2ff187(0x10b)]['assetPointer'];_0xbf2077?_0xbf2077['release']():_0x292cc0['dispose']();}[_0x289310(0xd3)](){const _0x105b52=_0x289310;this[_0x105b52(0x104)](),AssetManager[_0x105b52(0xff)]&&(AssetManager['_dracoLoader'][_0x105b52(0xd3)](),AssetManager[_0x105b52(0xff)]=null),AssetManager['_ktx2Loader']&&(AssetManager[_0x105b52(0xce)][_0x105b52(0xd3)](),AssetManager[_0x105b52(0xce)]=null);}[_0x289310(0x104)](){const _0x2e5495=_0x289310;this[_0x2e5495(0xd7)]['forEach'](_0x469c1a=>_0x469c1a[_0x2e5495(0xcb)]()),this['geometryAssets']['clear'](),this[_0x2e5495(0xe9)][_0x2e5495(0x105)](_0x2ed8eb=>_0x2ed8eb['forceRelease']()),this['materialAssets']['clear'](),this[_0x2e5495(0xf1)][_0x2e5495(0x105)](_0x59c001=>_0x59c001[_0x2e5495(0xcb)]()),this[_0x2e5495(0xf1)][_0x2e5495(0xcf)]();}}AssetManager[_0x289310(0xff)]=null,AssetManager[_0x289310(0xce)]=null;function _0xf61e(){const _0x5e8fd9=['geometryAssets','app','loadFile','error','rotation','441xgSkrh','name','2399586ebEGQb','Group','11365040NZwQJq','610910TCeqcO','preload','71597uVEUDR','setPosition','textures','isInstancedMesh','setKTX2Loader','type','materialAssets','layers','uuid','geometry','values','loadGltfFromPathAsync','addRef','init','textureAssets','loadGltfFromBuffer','addGeometryAsset','Object3D','1344112gvnefF','geometries','addMaterialAsset','children','scale','onError','Failed\x20to\x20load\x20gltf','10mtrWZw','load','LoadingManager','_dracoLoader','gltfLoader','materials','8001978yreSfs','5917364BkVDzl','clearAssets','forEach','entries','clone','addChildComponent','isArray','assetPointer','userData','dracoPath','setupDracoLoader','addAsset','convertThreeObjectToLYObject','loadGltfFromPath','addTextureAsset','forceRelease','setDRACOLoader','releaseAsset','_ktx2Loader','clear','set','manager','loadingManager','dispose','5rpqmiz','material','setScale'];_0xf61e=function(){return _0x5e8fd9;};return _0xf61e();}
|
|
55
55
|
|
|
56
|
-
(function(
|
|
56
|
+
(function(_0x591178,_0x17a3f6){var _0x97e0e4=_0x1c84,_0xca3e8f=_0x591178();while(!![]){try{var _0x4c4748=-parseInt(_0x97e0e4(0x1b1))/0x1*(parseInt(_0x97e0e4(0x1be))/0x2)+-parseInt(_0x97e0e4(0x1bc))/0x3*(-parseInt(_0x97e0e4(0x1c7))/0x4)+-parseInt(_0x97e0e4(0x1c6))/0x5+parseInt(_0x97e0e4(0x1a9))/0x6*(parseInt(_0x97e0e4(0x1aa))/0x7)+-parseInt(_0x97e0e4(0x1c4))/0x8*(-parseInt(_0x97e0e4(0x1a8))/0x9)+parseInt(_0x97e0e4(0x1a6))/0xa+parseInt(_0x97e0e4(0x1af))/0xb;if(_0x4c4748===_0x17a3f6)break;else _0xca3e8f['push'](_0xca3e8f['shift']());}catch(_0x191eeb){_0xca3e8f['push'](_0xca3e8f['shift']());}}}(_0x5b40,0xe6bc1));var AssetCategory;(function(_0x8a6084){var _0x105c32=_0x1c84;_0x8a6084[_0x105c32(0x1b7)]='geometry',_0x8a6084[_0x105c32(0x1b5)]='material',_0x8a6084['Texture']=_0x105c32(0x1ac),_0x8a6084[_0x105c32(0x1ba)]=_0x105c32(0x1a5),_0x8a6084['ActorManager']=_0x105c32(0x1b3),_0x8a6084[_0x105c32(0x1bd)]='level',_0x8a6084[_0x105c32(0x1a4)]=_0x105c32(0x1c1),_0x8a6084[_0x105c32(0x1c8)]=_0x105c32(0x1b2),_0x8a6084['Undefined']=_0x105c32(0x1b6);}(AssetCategory||(AssetCategory={})));function _0x1c84(_0x1924ff,_0x5b1d2b){_0x1924ff=_0x1924ff-0x1a4;var _0x5b40a1=_0x5b40();var _0x1c8437=_0x5b40a1[_0x1924ff];return _0x1c8437;}var AssetLoadState;function _0x5b40(){var _0x372daa=['component','unloaded','10618949yHCzUS','material','4778omFXUn','code','actorManager','External','Material','undefined','Geometry','Component','loaded','Actor','AssetPointer','48627awQUHd','Level','750RaoQgE','error','Loading','html','geometry','Loaded','248hYhnNR','Unloaded','5119075REHmqk','76uevwoy','Code','HTML','actor','4987450kBWtbT','assetPointer','472437vusxyu','541944ibsjyV','28frkYpO','external','texture'];_0x5b40=function(){return _0x372daa;};return _0x5b40();}(function(_0x2d0a2e){var _0x587f2a=_0x1c84;_0x2d0a2e[_0x587f2a(0x1c5)]=_0x587f2a(0x1ae),_0x2d0a2e[_0x587f2a(0x1c0)]='loading',_0x2d0a2e[_0x587f2a(0x1c3)]=_0x587f2a(0x1b9),_0x2d0a2e['Error']=_0x587f2a(0x1bf);}(AssetLoadState||(AssetLoadState={})));var ReferenceType;(function(_0x5076d9){var _0x1269ca=_0x1c84;_0x5076d9[_0x1269ca(0x1ba)]='actor',_0x5076d9[_0x1269ca(0x1b8)]=_0x1269ca(0x1ad),_0x5076d9['Material']=_0x1269ca(0x1b0),_0x5076d9[_0x1269ca(0x1bd)]='level',_0x5076d9[_0x1269ca(0x1bb)]=_0x1269ca(0x1a7),_0x5076d9[_0x1269ca(0x1b4)]=_0x1269ca(0x1ab);}(ReferenceType||(ReferenceType={})));var AssetType;(function(_0x2aa019){var _0x423eca=_0x1c84;_0x2aa019[_0x2aa019[_0x423eca(0x1c2)]=0x1]=_0x423eca(0x1c2),_0x2aa019[_0x2aa019['material']=0x2]=_0x423eca(0x1b0),_0x2aa019[_0x2aa019[_0x423eca(0x1ac)]=0x3]=_0x423eca(0x1ac),_0x2aa019[_0x2aa019[_0x423eca(0x1b6)]=-1]=_0x423eca(0x1b6);}(AssetType||(AssetType={})));
|
|
57
57
|
|
|
58
|
-
(function(
|
|
58
|
+
(function(_0x26e620,_0x5e89bd){var _0x209606=_0x1488,_0x30bc9d=_0x26e620();while(!![]){try{var _0x4a4b43=parseInt(_0x209606(0xcc))/0x1+-parseInt(_0x209606(0xbf))/0x2*(-parseInt(_0x209606(0xcb))/0x3)+parseInt(_0x209606(0xcf))/0x4+-parseInt(_0x209606(0xd0))/0x5+-parseInt(_0x209606(0xc4))/0x6+-parseInt(_0x209606(0xc8))/0x7*(-parseInt(_0x209606(0xc7))/0x8)+parseInt(_0x209606(0xcd))/0x9*(-parseInt(_0x209606(0xc5))/0xa);if(_0x4a4b43===_0x5e89bd)break;else _0x30bc9d['push'](_0x30bc9d['shift']());}catch(_0x25d061){_0x30bc9d['push'](_0x30bc9d['shift']());}}}(_0x9c93,0xf1a4f));var CollisionResponse;(function(_0x191189){var _0x52f52a=_0x1488;_0x191189['Ignore']=_0x52f52a(0xbe),_0x191189['Overlap']='Overlap',_0x191189[_0x52f52a(0xc0)]='Block';}(CollisionResponse||(CollisionResponse={})));var CollisionChannel;(function(_0x524c78){var _0x370010=_0x1488;_0x524c78[_0x370010(0xc9)]=_0x370010(0xc9),_0x524c78[_0x370010(0xc3)]=_0x370010(0xc3),_0x524c78[_0x370010(0xca)]=_0x370010(0xca),_0x524c78[_0x370010(0xbd)]='Visibility',_0x524c78[_0x370010(0xc6)]=_0x370010(0xc6),_0x524c78['Trigger']=_0x370010(0xce);}(CollisionChannel||(CollisionChannel={})));function _0x1488(_0x147929,_0x1cd6f6){_0x147929=_0x147929-0xbd;var _0x9c9392=_0x9c93();var _0x148883=_0x9c9392[_0x147929];return _0x148883;}function _0x9c93(){var _0x24ee21=['3684176omqZZd','4407785TXakfB','Visibility','Ignore','12484ZCORoO','Block','Box','Sphere','WorldDynamic','8699538zgfsKT','1000UVmbnR','Camera','8kqajLg','9472057dthkNc','WorldStatic','Pawn','198AbApZK','1035188FmljAe','36009SpDUXz','Trigger'];_0x9c93=function(){return _0x24ee21;};return _0x9c93();}var CollisionShapeType;(function(_0x333bcd){var _0x5ad55e=_0x1488;_0x333bcd[_0x5ad55e(0xc2)]=_0x5ad55e(0xc2),_0x333bcd[_0x5ad55e(0xc1)]=_0x5ad55e(0xc1);}(CollisionShapeType||(CollisionShapeType={})));
|
|
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 _0xd4ede4=_0xa177;function _0xa177(_0x3ce6fe,_0xba0343){_0x3ce6fe=_0x3ce6fe-0x19e;const _0x648bf8=_0x648b();let _0xa1777a=_0x648bf8[_0x3ce6fe];return _0xa1777a;}function _0x648b(){const _0x2152bc=['470FAUYGX','clone','delete','length','728811cofcSX','add','sub','onHitDelegate','point','colliders','tick','548581pDsyJM','sort','Visibility','from','Overlap','sign','filter','onBeginOverlapDelegate','previousOverlapPairs','24944QdroUu','onEndOverlapDelegate','registerCollider','has','135tdOKee','2157302mlUxkW','unregisterCollider','function','debugDrawEnabled','generateOverlapEvents','getCollisionResponse','Block','debugEnabled','lineTraceSingle','intersectRayAabb','120039iHIRYr','computeAabbHit','collisionEnabled','raycastAll','generateHitEvents','uuid','broadcast','raycast','penetrationDepth','1656kEQlWn','min','getCenter','get','16OYyYsP','multiplyScalar','intersectsBox','previousBlockPairs','max','153984RYWCvQ','normal','getMutualResponse','distance','getWorldAABB','push','set','lineTraceMulti','158758tBkSkH','_debugDrawEnabled','clear'];_0x648b=function(){return _0x2152bc;};return _0x648b();}(function(_0x5ed717,_0x540c67){const _0xa49003=_0xa177,_0xf5d42b=_0x5ed717();while(!![]){try{const _0x2e85b9=-parseInt(_0xa49003(0x1ca))/0x1+-parseInt(_0xa49003(0x1c3))/0x2+-parseInt(_0xa49003(0x1a9))/0x3*(-parseInt(_0xa49003(0x1b6))/0x4)+parseInt(_0xa49003(0x19e))/0x5*(-parseInt(_0xa49003(0x1bb))/0x6)+parseInt(_0xa49003(0x19f))/0x7+parseInt(_0xa49003(0x1da))/0x8*(-parseInt(_0xa49003(0x1b2))/0x9)+-parseInt(_0xa49003(0x1c6))/0xa*(-parseInt(_0xa49003(0x1d1))/0xb);if(_0x2e85b9===_0x540c67)break;else _0xf5d42b['push'](_0xf5d42b['shift']());}catch(_0x332d1d){_0xf5d42b['push'](_0xf5d42b['shift']());}}}(_0x648b,0xb4041));class PhysicsWorld{constructor(){const _0x171c52=_0xa177;this[_0x171c52(0x1cf)]=new Set(),this[_0x171c52(0x1d9)]=new Map(),this[_0x171c52(0x1b9)]=new Map(),this[_0x171c52(0x1c4)]=![];}get['debugDrawEnabled'](){const _0x55f30f=_0xa177;return this[_0x55f30f(0x1c4)];}set[_0xd4ede4(0x1a2)](_0x1c5371){const _0x4d822c=_0xd4ede4;if(this[_0x4d822c(0x1c4)]===_0x1c5371)return;this[_0x4d822c(0x1c4)]=_0x1c5371;for(const _0x5e8c86 of this[_0x4d822c(0x1cf)]){_0x5e8c86[_0x4d822c(0x1a6)]=_0x1c5371;}}[_0xd4ede4(0x1dc)](_0x1519fa){const _0x11792d=_0xd4ede4;this[_0x11792d(0x1cf)][_0x11792d(0x1cb)](_0x1519fa),this['_debugDrawEnabled']&&(_0x1519fa[_0x11792d(0x1a6)]=!![]);}[_0xd4ede4(0x1a0)](_0x3c49cf){const _0x3dd054=_0xd4ede4;this[_0x3dd054(0x1cf)][_0x3dd054(0x1c8)](_0x3c49cf);for(const [_0xd1b1d3,_0x38452c]of this[_0x3dd054(0x1d9)]){(_0x38452c[0x0]===_0x3c49cf||_0x38452c[0x1]===_0x3c49cf)&&this['previousOverlapPairs'][_0x3dd054(0x1c8)](_0xd1b1d3);}for(const [_0x5ab112,_0x1cc425]of this[_0x3dd054(0x1b9)]){(_0x1cc425[0x0]===_0x3c49cf||_0x1cc425[0x1]===_0x3c49cf)&&this[_0x3dd054(0x1b9)][_0x3dd054(0x1c8)](_0x5ab112);}}[_0xd4ede4(0x1c5)](){const _0x41957c=_0xd4ede4;this[_0x41957c(0x1cf)]['clear'](),this['previousOverlapPairs']['clear'](),this[_0x41957c(0x1b9)][_0x41957c(0x1c5)]();}[_0xd4ede4(0x1a7)](_0x16ff9f,_0x5b6753,_0x1f65e1=CollisionChannel[_0xd4ede4(0x1d3)],_0x5a3895){const _0x3c56eb=_0xd4ede4,_0x1e108f=_0x5b6753[_0x3c56eb(0x1c7)]()[_0x3c56eb(0x1cc)](_0x16ff9f),_0x56c78b=_0x1e108f[_0x3c56eb(0x1c9)]();if(_0x56c78b<=0.000001)return null;const _0x49ca6f=_0x1e108f['multiplyScalar'](0x1/_0x56c78b);let _0x24031a=null;for(const _0x17aad6 of this[_0x3c56eb(0x1cf)]){if(_0x17aad6===_0x5a3895)continue;if(!_0x17aad6[_0x3c56eb(0x1ab)])continue;const _0x508bf3=_0x17aad6[_0x3c56eb(0x1a4)](_0x1f65e1);if(_0x508bf3!==CollisionResponse['Block'])continue;const _0x18407d=_0x17aad6[_0x3c56eb(0x1bf)](new Box3()),_0x33bccd=this[_0x3c56eb(0x1a8)](_0x16ff9f,_0x49ca6f,_0x56c78b,_0x18407d);if(!_0x33bccd)continue;const _0x28f923=_0x17aad6,_0x53469e=typeof _0x28f923[_0x3c56eb(0x1b0)]===_0x3c56eb(0x1a1)?_0x28f923[_0x3c56eb(0x1b0)](_0x16ff9f,_0x49ca6f,_0x56c78b):_0x33bccd;if(!_0x53469e)continue;(!_0x24031a||_0x53469e[_0x3c56eb(0x1be)]<_0x24031a[_0x3c56eb(0x1be)])&&(_0x24031a={'collider':_0x17aad6,'point':_0x53469e['point'],'normal':_0x53469e['normal'],'distance':_0x53469e[_0x3c56eb(0x1be)],'blocking':!![]});}return _0x24031a;}[_0xd4ede4(0x1c2)](_0x3d0831,_0x580e9a,_0x4203cb=CollisionChannel[_0xd4ede4(0x1d3)],_0xec325){const _0x3efb1c=_0xd4ede4,_0x10789c=_0x580e9a[_0x3efb1c(0x1c7)]()[_0x3efb1c(0x1cc)](_0x3d0831),_0x12a645=_0x10789c[_0x3efb1c(0x1c9)]();if(_0x12a645<=0.000001)return [];const _0x7bb0dd=_0x10789c[_0x3efb1c(0x1b7)](0x1/_0x12a645),_0x11ff1d=[];for(const _0x4f672c of this['colliders']){if(_0x4f672c===_0xec325)continue;if(!_0x4f672c[_0x3efb1c(0x1ab)])continue;const _0x46a94c=_0x4f672c[_0x3efb1c(0x1a4)](_0x4203cb);if(_0x46a94c===CollisionResponse['Ignore'])continue;const _0x56ff4e=_0x4f672c[_0x3efb1c(0x1bf)](new Box3()),_0x4588b4=this[_0x3efb1c(0x1a8)](_0x3d0831,_0x7bb0dd,_0x12a645,_0x56ff4e);if(!_0x4588b4)continue;const _0x16f6af=_0x4f672c;if(typeof _0x16f6af[_0x3efb1c(0x1ac)]===_0x3efb1c(0x1a1)){const _0x8d742a=_0x16f6af[_0x3efb1c(0x1ac)](_0x3d0831,_0x7bb0dd,_0x12a645);for(const _0x377897 of _0x8d742a){_0x11ff1d[_0x3efb1c(0x1c0)]({'collider':_0x4f672c,'point':_0x377897['point'],'normal':_0x377897['normal'],'distance':_0x377897['distance'],'blocking':_0x46a94c===CollisionResponse[_0x3efb1c(0x1a5)]});}}else {const _0x2138f6=typeof _0x16f6af[_0x3efb1c(0x1b0)]===_0x3efb1c(0x1a1)?_0x16f6af['raycast'](_0x3d0831,_0x7bb0dd,_0x12a645):_0x4588b4;if(!_0x2138f6)continue;_0x11ff1d['push']({'collider':_0x4f672c,'point':_0x2138f6[_0x3efb1c(0x1ce)],'normal':_0x2138f6[_0x3efb1c(0x1bc)],'distance':_0x2138f6[_0x3efb1c(0x1be)],'blocking':_0x46a94c===CollisionResponse[_0x3efb1c(0x1a5)]});}}return _0x11ff1d[_0x3efb1c(0x1d2)]((_0x1f641c,_0x1719cb)=>_0x1f641c[_0x3efb1c(0x1be)]-_0x1719cb[_0x3efb1c(0x1be)]);}[_0xd4ede4(0x1d0)](_0x933a31){const _0x1d2764=_0xd4ede4,_0x120d93=Array[_0x1d2764(0x1d4)](this['colliders'])[_0x1d2764(0x1d7)](_0x24f860=>_0x24f860[_0x1d2764(0x1ab)]),_0x3f6f5e=new Map();for(const _0x2299c5 of _0x120d93){_0x3f6f5e[_0x1d2764(0x1c1)](_0x2299c5,_0x2299c5[_0x1d2764(0x1bf)](new Box3()));}const _0x597e7c=new Map(),_0x49590f=new Map();for(let _0x5a37d=0x0;_0x5a37d<_0x120d93[_0x1d2764(0x1c9)];_0x5a37d++){const _0x1731c8=_0x120d93[_0x5a37d],_0x37cb9a=_0x3f6f5e[_0x1d2764(0x1b5)](_0x1731c8);if(!_0x37cb9a)continue;for(let _0x41ee67=_0x5a37d+0x1;_0x41ee67<_0x120d93[_0x1d2764(0x1c9)];_0x41ee67++){const _0xc596f1=_0x120d93[_0x41ee67],_0x5084a8=_0x3f6f5e[_0x1d2764(0x1b5)](_0xc596f1);if(!_0x5084a8)continue;if(!_0x37cb9a[_0x1d2764(0x1b8)](_0x5084a8))continue;const _0x28c3e6=_0x1731c8[_0x1d2764(0x1bd)](_0xc596f1);if(_0x28c3e6===CollisionResponse['Ignore'])continue;const _0x361987=this['getPairKey'](_0x1731c8,_0xc596f1);_0x28c3e6===CollisionResponse[_0x1d2764(0x1d5)]?_0x597e7c[_0x1d2764(0x1c1)](_0x361987,[_0x1731c8,_0xc596f1]):_0x49590f['set'](_0x361987,[_0x1731c8,_0xc596f1]);}}for(const [_0x24b6a5,_0x58a2a4]of _0x597e7c){if(this[_0x1d2764(0x1d9)][_0x1d2764(0x1dd)](_0x24b6a5))continue;const [_0xb3647d,_0x2e4f66]=_0x58a2a4;_0xb3647d[_0x1d2764(0x1a3)]&&_0xb3647d[_0x1d2764(0x1d8)][_0x1d2764(0x1af)](_0x2e4f66),_0x2e4f66[_0x1d2764(0x1a3)]&&_0x2e4f66[_0x1d2764(0x1d8)][_0x1d2764(0x1af)](_0xb3647d);}for(const [_0x70d4ae,_0x5762e0]of this[_0x1d2764(0x1d9)]){if(_0x597e7c[_0x1d2764(0x1dd)](_0x70d4ae))continue;const [_0x37097a,_0xe43c68]=_0x5762e0;_0x37097a[_0x1d2764(0x1a3)]&&_0x37097a[_0x1d2764(0x1db)][_0x1d2764(0x1af)](_0xe43c68),_0xe43c68[_0x1d2764(0x1a3)]&&_0xe43c68[_0x1d2764(0x1db)][_0x1d2764(0x1af)](_0x37097a);}for(const [_0x34eb31,_0x429ac5]of _0x49590f){if(this[_0x1d2764(0x1b9)]['has'](_0x34eb31))continue;const [_0x2d777f,_0x2e9daa]=_0x429ac5,_0x32d41e=_0x3f6f5e[_0x1d2764(0x1b5)](_0x2d777f),_0x241c03=_0x3f6f5e[_0x1d2764(0x1b5)](_0x2e9daa);if(!_0x32d41e||!_0x241c03)continue;const _0x24c51c=this[_0x1d2764(0x1aa)](_0x2d777f,_0x2e9daa,_0x32d41e,_0x241c03);_0x2d777f['generateHitEvents']&&_0x2d777f[_0x1d2764(0x1cd)][_0x1d2764(0x1af)](_0x24c51c);if(_0x2e9daa[_0x1d2764(0x1ad)]){const _0x1ca056={'self':_0x2e9daa,'other':_0x2d777f,'point':_0x24c51c[_0x1d2764(0x1ce)][_0x1d2764(0x1c7)](),'normal':_0x24c51c[_0x1d2764(0x1bc)][_0x1d2764(0x1c7)]()['multiplyScalar'](-1),'penetrationDepth':_0x24c51c[_0x1d2764(0x1b1)]};_0x2e9daa[_0x1d2764(0x1cd)][_0x1d2764(0x1af)](_0x1ca056);}}this[_0x1d2764(0x1d9)]=_0x597e7c,this['previousBlockPairs']=_0x49590f;}['computeAabbHit'](_0x4a35e9,_0x234e69,_0x53668e,_0x425f46){const _0x174261=_0xd4ede4,_0xca7e1c=Math[_0x174261(0x1b3)](_0x53668e[_0x174261(0x1ba)]['x'],_0x425f46[_0x174261(0x1ba)]['x'])-Math[_0x174261(0x1ba)](_0x53668e[_0x174261(0x1b3)]['x'],_0x425f46[_0x174261(0x1b3)]['x']),_0x22d67c=Math[_0x174261(0x1b3)](_0x53668e['max']['y'],_0x425f46[_0x174261(0x1ba)]['y'])-Math[_0x174261(0x1ba)](_0x53668e[_0x174261(0x1b3)]['y'],_0x425f46['min']['y']),_0x14fe3c=Math[_0x174261(0x1b3)](_0x53668e[_0x174261(0x1ba)]['z'],_0x425f46[_0x174261(0x1ba)]['z'])-Math[_0x174261(0x1ba)](_0x53668e['min']['z'],_0x425f46['min']['z']);let _0x37f955=_0xca7e1c,_0xb27ff0='x';_0x22d67c<_0x37f955&&(_0x37f955=_0x22d67c,_0xb27ff0='y');_0x14fe3c<_0x37f955&&(_0x37f955=_0x14fe3c,_0xb27ff0='z');const _0x58c2f1=_0x53668e[_0x174261(0x1b4)](new Vector3()),_0x4869c8=_0x425f46[_0x174261(0x1b4)](new Vector3()),_0x197af1=_0x4869c8[_0x174261(0x1c7)]()[_0x174261(0x1cc)](_0x58c2f1),_0x28caae=new Vector3(0x0,0x0,0x0);if(_0xb27ff0==='x')_0x28caae['set'](Math[_0x174261(0x1d6)](_0x197af1['x'])||0x1,0x0,0x0);else _0xb27ff0==='y'?_0x28caae[_0x174261(0x1c1)](0x0,Math[_0x174261(0x1d6)](_0x197af1['y'])||0x1,0x0):_0x28caae[_0x174261(0x1c1)](0x0,0x0,Math['sign'](_0x197af1['z'])||0x1);const _0x3b48c4=new Vector3((Math[_0x174261(0x1ba)](_0x53668e[_0x174261(0x1b3)]['x'],_0x425f46['min']['x'])+Math[_0x174261(0x1b3)](_0x53668e['max']['x'],_0x425f46[_0x174261(0x1ba)]['x']))*0.5,(Math[_0x174261(0x1ba)](_0x53668e[_0x174261(0x1b3)]['y'],_0x425f46[_0x174261(0x1b3)]['y'])+Math['min'](_0x53668e['max']['y'],_0x425f46[_0x174261(0x1ba)]['y']))*0.5,(Math[_0x174261(0x1ba)](_0x53668e[_0x174261(0x1b3)]['z'],_0x425f46['min']['z'])+Math[_0x174261(0x1b3)](_0x53668e[_0x174261(0x1ba)]['z'],_0x425f46[_0x174261(0x1ba)]['z']))*0.5);return {'self':_0x4a35e9,'other':_0x234e69,'point':_0x3b48c4,'normal':_0x28caae,'penetrationDepth':Math[_0x174261(0x1ba)](0x0,_0x37f955)};}['getPairKey'](_0x38eee4,_0x32439c){const _0x41b8b1=_0xd4ede4;return _0x38eee4[_0x41b8b1(0x1ae)]<_0x32439c[_0x41b8b1(0x1ae)]?_0x38eee4[_0x41b8b1(0x1ae)]+'|'+_0x32439c[_0x41b8b1(0x1ae)]:_0x32439c[_0x41b8b1(0x1ae)]+'|'+_0x38eee4[_0x41b8b1(0x1ae)];}[_0xd4ede4(0x1a8)](_0x28f655,_0x39ab80,_0x50e074,_0x3b7ce2){const _0x3d8a2e=_0xd4ede4;let _0x3d5da8=0x0,_0x1ddcbb=_0x50e074;const _0x3823ae=new Vector3(0x0,0x0,0x0),_0x9a1dd2=1e-8,_0x7402d3=_0x1843a3=>{const _0x1b1327=_0xa177,_0x28fa46=_0x28f655[_0x1843a3],_0xa20c9b=_0x39ab80[_0x1843a3],_0x44515a=_0x3b7ce2[_0x1b1327(0x1b3)][_0x1843a3],_0x140432=_0x3b7ce2[_0x1b1327(0x1ba)][_0x1843a3];if(Math['abs'](_0xa20c9b)<_0x9a1dd2){if(_0x28fa46<_0x44515a||_0x28fa46>_0x140432)return ![];return !![];}const _0x2f68c4=0x1/_0xa20c9b;let _0x590f6f,_0xed64d9;const _0x5c941f=new Vector3(0x0,0x0,0x0);_0xa20c9b>=0x0?(_0x590f6f=(_0x44515a-_0x28fa46)*_0x2f68c4,_0xed64d9=(_0x140432-_0x28fa46)*_0x2f68c4,_0x5c941f[_0x1843a3]=-1):(_0x590f6f=(_0x140432-_0x28fa46)*_0x2f68c4,_0xed64d9=(_0x44515a-_0x28fa46)*_0x2f68c4,_0x5c941f[_0x1843a3]=0x1);_0x590f6f>_0x3d5da8&&(_0x3d5da8=_0x590f6f,_0x3823ae['copy'](_0x5c941f));_0xed64d9<_0x1ddcbb&&(_0x1ddcbb=_0xed64d9);if(_0x3d5da8>_0x1ddcbb)return ![];return !![];};if(!_0x7402d3('x')||!_0x7402d3('y')||!_0x7402d3('z'))return null;if(_0x1ddcbb<0x0)return null;const _0x4401f6=Math[_0x3d8a2e(0x1ba)](0x0,_0x3d5da8);if(_0x4401f6>_0x50e074)return null;return {'distance':_0x4401f6,'normal':_0x3823ae,'point':_0x28f655[_0x3d8a2e(0x1c7)]()[_0x3d8a2e(0x1cb)](_0x39ab80['clone']()[_0x3d8a2e(0x1b7)](_0x4401f6))};}}
|
|
61
61
|
|
|
62
|
-
var
|
|
62
|
+
var _0x1df18f=_0x593e;(function(_0x4c3fff,_0x8244ad){var _0x358c7e=_0x593e,_0x51640c=_0x4c3fff();while(!![]){try{var _0x21e757=parseInt(_0x358c7e(0x139))/0x1+parseInt(_0x358c7e(0x15e))/0x2+parseInt(_0x358c7e(0x149))/0x3*(-parseInt(_0x358c7e(0x146))/0x4)+parseInt(_0x358c7e(0x153))/0x5+parseInt(_0x358c7e(0x169))/0x6*(-parseInt(_0x358c7e(0x165))/0x7)+-parseInt(_0x358c7e(0x138))/0x8*(-parseInt(_0x358c7e(0x161))/0x9)+-parseInt(_0x358c7e(0x15c))/0xa;if(_0x21e757===_0x8244ad)break;else _0x51640c['push'](_0x51640c['shift']());}catch(_0x1cc2a3){_0x51640c['push'](_0x51640c['shift']());}}}(_0x1203,0xb8c2a));function _0x1203(){var _0x5f4c67=['forEach','addActorClipping','remove','rootActor\x20is\x20null','removeActorClipping','getActorsByIds','4GluEUr','getChildActorById','position','2601807YnerMQ','clippingPlanes','rootActor','destroy','scene','delete','removeTickableActor','physics','viewport','getActorById','1252995VDQtyn','rootComponent','addActor','tick','markRenderStateDirty','_physics','addChildActor','children','KeepRelative','9211210RWzSLl','_rootActor','2688918lcLeCU','actors','threeObject','18mzZmlv','addTickableActor','removeActor','set','8953umTgxo','onAddedToWorld','getChildActorsByIds','_clippingGroup','5604tMZgRP','target.threeObject\x20is\x20null','app','5772432JRYQpM','701588TVjJJi','levelActorClass','clear','controller','length','add','tickableActors'];_0x1203=function(){return _0x5f4c67;};return _0x1203();}function _0x593e(_0x2deca4,_0x40df50){_0x2deca4=_0x2deca4-0x138;var _0x120349=_0x1203();var _0x593e8b=_0x120349[_0x2deca4];return _0x593e8b;}class World{get[_0x1df18f(0x14d)](){var _0x6a342a=_0x1df18f,_0xa991;let _0x3f69db=(_0xa991=this[_0x6a342a(0x15d)])===null||_0xa991===void 0?void 0:_0xa991[_0x6a342a(0x14d)];if(!_0x3f69db)throw new Error('scene\x20is\x20null');return _0x3f69db;}get[_0x1df18f(0x151)](){var _0x1f90a6=_0x1df18f;return this['app'][_0x1f90a6(0x151)];}get['controller'](){var _0x528abe=_0x1df18f;return this[_0x528abe(0x16b)][_0x528abe(0x13c)];}get[_0x1df18f(0x14b)](){var _0xf8223a=_0x1df18f;if(!this[_0xf8223a(0x15d)])throw new Error(_0xf8223a(0x143));return this[_0xf8223a(0x15d)];}get[_0x1df18f(0x150)](){var _0x542306=_0x1df18f;return this[_0x542306(0x158)];}constructor(_0x445fef,_0x2a4cca){var _0x5c6b89=_0x1df18f;this[_0x5c6b89(0x15d)]=null,this[_0x5c6b89(0x15f)]=new Set(),this[_0x5c6b89(0x13f)]=new Set(),this[_0x5c6b89(0x168)]=null,this[_0x5c6b89(0x16b)]=_0x445fef,this['worldParam']=_0x2a4cca,this['_physics']=new PhysicsWorld();}['init'](){var _0x324d74=_0x1df18f;this['_rootActor']=new this['worldParam'][(_0x324d74(0x13a))](this[_0x324d74(0x16b)]);}[_0x1df18f(0x162)](_0x2b9f0c){var _0x1601ef=_0x1df18f;this[_0x1601ef(0x13f)][_0x1601ef(0x13e)](_0x2b9f0c);}[_0x1df18f(0x14f)](_0x5c840c){var _0x464983=_0x1df18f;this[_0x464983(0x13f)][_0x464983(0x14e)](_0x5c840c);}[_0x1df18f(0x156)](_0x10f68a){var _0x103198=_0x1df18f;this[_0x103198(0x13f)][_0x103198(0x140)](_0x323215=>{var _0x1f866b=_0x103198;_0x323215[_0x1f866b(0x156)](_0x10f68a);}),this[_0x103198(0x158)][_0x103198(0x156)](_0x10f68a);}[_0x1df18f(0x14c)](){var _0x3810cf=_0x1df18f,_0x5eaad1;this[_0x3810cf(0x13f)]['clear'](),this['_physics'][_0x3810cf(0x13b)](),this['actors'][_0x3810cf(0x140)](_0x2f80f1=>{var _0x73197d=_0x3810cf;_0x2f80f1[_0x73197d(0x14c)]();}),this[_0x3810cf(0x15f)][_0x3810cf(0x13b)](),(_0x5eaad1=this[_0x3810cf(0x15d)])===null||_0x5eaad1===void 0?void 0:_0x5eaad1['destroy'](),this[_0x3810cf(0x15d)]=null;}[_0x1df18f(0x155)](_0x920601){var _0x54bb0d=_0x1df18f,_0x16958b;if(!_0x920601[_0x54bb0d(0x154)][_0x54bb0d(0x160)])throw new Error('actor.threeObject\x20is\x20null');_0x920601['removeFromParent'](),(_0x16958b=this['_rootActor'])===null||_0x16958b===void 0?void 0:_0x16958b[_0x54bb0d(0x159)](_0x920601,AttachmentRules[_0x54bb0d(0x15b)]),this[_0x54bb0d(0x15f)]['add'](_0x920601),_0x920601[_0x54bb0d(0x166)](this),this[_0x54bb0d(0x151)][_0x54bb0d(0x157)]();}[_0x1df18f(0x163)](_0x21227d){var _0x297d03=_0x1df18f;_0x21227d['destroy'](),this[_0x297d03(0x15f)]['delete'](_0x21227d),this[_0x297d03(0x151)][_0x297d03(0x157)]();}['removeActors'](_0x1b7983){var _0x3a72b2=_0x1df18f;for(const _0x10e4b1 of _0x1b7983){_0x10e4b1[_0x3a72b2(0x14c)](),this[_0x3a72b2(0x15f)][_0x3a72b2(0x14e)](_0x10e4b1);}this['viewport'][_0x3a72b2(0x157)]();}[_0x1df18f(0x152)](_0xd879d){var _0x4aa7e1=_0x1df18f;return this['rootActor'][_0x4aa7e1(0x147)](_0xd879d,!![]);}[_0x1df18f(0x145)](_0x4d6ae0){var _0x263178=_0x1df18f;return this[_0x263178(0x14b)][_0x263178(0x167)](_0x4d6ae0,!![]);}[_0x1df18f(0x141)](_0x2259c6,_0xaef06f){var _0x2f3d7d=_0x1df18f;if(!_0x2259c6[_0x2f3d7d(0x154)]['threeObject'])throw new Error(_0x2f3d7d(0x16a));!this[_0x2f3d7d(0x168)]&&(this[_0x2f3d7d(0x168)]=new ClippingGroup(),this['_clippingGroup'][_0x2f3d7d(0x148)][_0x2f3d7d(0x164)](0x0,0x0,0x0)),this[_0x2f3d7d(0x168)][_0x2f3d7d(0x14a)]=_0xaef06f,this['scene'][_0x2f3d7d(0x13e)](this[_0x2f3d7d(0x168)]),this[_0x2f3d7d(0x168)][_0x2f3d7d(0x13e)](_0x2259c6[_0x2f3d7d(0x154)][_0x2f3d7d(0x160)]);}[_0x1df18f(0x144)](_0x5a8643,_0x2bf8a5=null){var _0x322c6c=_0x1df18f,_0x139cb3;if(!this[_0x322c6c(0x168)])return;if(!_0x5a8643[_0x322c6c(0x154)][_0x322c6c(0x160)])throw new Error(_0x322c6c(0x16a));_0x2bf8a5?_0x2bf8a5['addChildActor'](_0x5a8643,AttachmentRules[_0x322c6c(0x15b)]):this[_0x322c6c(0x155)](_0x5a8643),this['_clippingGroup'][_0x322c6c(0x15a)][_0x322c6c(0x13d)]===0x0&&((_0x139cb3=this[_0x322c6c(0x168)]['parent'])===null||_0x139cb3===void 0?void 0:_0x139cb3[_0x322c6c(0x142)](this[_0x322c6c(0x168)]),this[_0x322c6c(0x168)]=null);}}
|
|
63
63
|
|
|
64
|
-
(function(
|
|
64
|
+
(function(_0x4cadec,_0x92cbb7){var _0x37a3d1=_0x4410,_0x1979e3=_0x4cadec();while(!![]){try{var _0x1d103e=-parseInt(_0x37a3d1(0xe6))/0x1+parseInt(_0x37a3d1(0xe8))/0x2+-parseInt(_0x37a3d1(0xe1))/0x3*(parseInt(_0x37a3d1(0xe2))/0x4)+parseInt(_0x37a3d1(0xe5))/0x5*(-parseInt(_0x37a3d1(0xe3))/0x6)+parseInt(_0x37a3d1(0xe9))/0x7+parseInt(_0x37a3d1(0xe0))/0x8*(parseInt(_0x37a3d1(0xe7))/0x9)+parseInt(_0x37a3d1(0xdd))/0xa*(-parseInt(_0x37a3d1(0xdf))/0xb);if(_0x1d103e===_0x92cbb7)break;else _0x1979e3['push'](_0x1979e3['shift']());}catch(_0x2269de){_0x1979e3['push'](_0x1979e3['shift']());}}}(_0x262f,0x9c231));var RendererType;(function(_0x5c6ae5){var _0x5a4665=_0x4410;_0x5c6ae5[_0x5c6ae5['WebGPU']=0x0]=_0x5a4665(0xe4),_0x5c6ae5[_0x5c6ae5[_0x5a4665(0xde)]=0x1]=_0x5a4665(0xde);}(RendererType||(RendererType={})));function _0x4410(_0x2d6cad,_0x5f4b29){_0x2d6cad=_0x2d6cad-0xdd;var _0x262fbf=_0x262f();var _0x441043=_0x262fbf[_0x2d6cad];return _0x441043;}const DefaultViewportParam={'elementId':null,'renderer':{'type':RendererType['WebGPU']},'isLabelRendererNeeded':![],'isCSS3DRendererNeeded':![],'isUILayerNeeded':![]};function _0x262f(){var _0x1f0756=['80226mMOmaU','WebGPU','35UHptsY','127405BNRQax','6902649oPQucc','1695160bFpAJw','5763604yDoUvc','4526330xHRzQz','WebGL','33TWDSfZ','8Lqsvih','75FLPwaL','35116DGQRWC'];_0x262f=function(){return _0x1f0756;};return _0x262f();}
|
|
65
65
|
|
|
66
|
-
(function(
|
|
66
|
+
function _0x37c6(_0x5f04b0,_0x307729){_0x5f04b0=_0x5f04b0-0xd9;const _0x382080=_0x3820();let _0x37c646=_0x382080[_0x5f04b0];return _0x37c646;}(function(_0x337286,_0x38116e){const _0x444b49=_0x37c6,_0x8602d6=_0x337286();while(!![]){try{const _0x4dde49=-parseInt(_0x444b49(0xe0))/0x1+-parseInt(_0x444b49(0xde))/0x2+parseInt(_0x444b49(0xe5))/0x3+parseInt(_0x444b49(0xd9))/0x4+-parseInt(_0x444b49(0xdd))/0x5*(parseInt(_0x444b49(0xe3))/0x6)+parseInt(_0x444b49(0xdf))/0x7+parseInt(_0x444b49(0xdb))/0x8;if(_0x4dde49===_0x38116e)break;else _0x8602d6['push'](_0x8602d6['shift']());}catch(_0x43e3b4){_0x8602d6['push'](_0x8602d6['shift']());}}}(_0x3820,0xefe89));const DefaultPostProcessParam={'steps':[]};var PostProcessStepType;function _0x3820(){const _0x239481=['950816WiqDKe','GroundTruthAmbientOcclusion','1152415YhPCFT','2713322XCdtDX','13728701jPFTrl','681042TsQPGr','Antialiasing','LensFlare','24mYHsyx','Outline','1024614kmFlmV','Bloom','6082668bURfNR','DepthOfField'];_0x3820=function(){return _0x239481;};return _0x3820();}(function(_0x27a523){const _0x2336b7=_0x37c6;_0x27a523[_0x27a523[_0x2336b7(0xe6)]=0x0]=_0x2336b7(0xe6),_0x27a523[_0x27a523[_0x2336b7(0xda)]=0x1]=_0x2336b7(0xda),_0x27a523[_0x27a523['ScreenSpaceReflection']=0x2]='ScreenSpaceReflection',_0x27a523[_0x27a523[_0x2336b7(0xdc)]=0x3]=_0x2336b7(0xdc),_0x27a523[_0x27a523[_0x2336b7(0xe4)]=0x4]=_0x2336b7(0xe4),_0x27a523[_0x27a523['Antialiasing']=0x5]=_0x2336b7(0xe1),_0x27a523[_0x27a523['LensFlare']=0x6]=_0x2336b7(0xe2);}(PostProcessStepType||(PostProcessStepType={})));
|
|
67
67
|
|
|
68
|
-
const
|
|
68
|
+
const _0x4d48d1=_0x2037;function _0x29f3(){const _0x2b285d=['59676705AzUyhC','5cNaElr','14952SGeBYn','72NhjWLO','1694258DdilkS','5069668cghfsj','6QxSSrh','1983008hWZpFW','161KBZxTe','794417SKYlUV','Bloom','588460DydDWh'];_0x29f3=function(){return _0x2b285d;};return _0x29f3();}function _0x2037(_0x5d1ee2,_0x5d7ced){_0x5d1ee2=_0x5d1ee2-0x76;const _0x29f357=_0x29f3();let _0x2037a8=_0x29f357[_0x5d1ee2];return _0x2037a8;}(function(_0x47b499,_0x272591){const _0x54cff6=_0x2037,_0x38ead9=_0x47b499();while(!![]){try{const _0x291abb=-parseInt(_0x54cff6(0x7a))/0x1+parseInt(_0x54cff6(0x81))/0x2*(-parseInt(_0x54cff6(0x77))/0x3)+-parseInt(_0x54cff6(0x76))/0x4*(parseInt(_0x54cff6(0x7e))/0x5)+-parseInt(_0x54cff6(0x7f))/0x6*(parseInt(_0x54cff6(0x79))/0x7)+-parseInt(_0x54cff6(0x78))/0x8+-parseInt(_0x54cff6(0x80))/0x9*(parseInt(_0x54cff6(0x7c))/0xa)+parseInt(_0x54cff6(0x7d))/0xb;if(_0x291abb===_0x272591)break;else _0x38ead9['push'](_0x38ead9['shift']());}catch(_0x51ee31){_0x38ead9['push'](_0x38ead9['shift']());}}}(_0x29f3,0xda0af));const DefaultBloomParam={'type':PostProcessStepType[_0x4d48d1(0x7b)],'threshold':0x0,'strength':0x1,'radius':0x0};
|
|
69
69
|
|
|
70
|
-
const
|
|
70
|
+
const _0x214361=_0x1e07;function _0x1e07(_0x4827ee,_0x1c099a){_0x4827ee=_0x4827ee-0x1b4;const _0xf9b34e=_0xf9b3();let _0x1e07f9=_0xf9b34e[_0x4827ee];return _0x1e07f9;}(function(_0x2887c3,_0x345e22){const _0x115dce=_0x1e07,_0xd2420=_0x2887c3();while(!![]){try{const _0x5ba1dc=-parseInt(_0x115dce(0x1b7))/0x1*(parseInt(_0x115dce(0x1bb))/0x2)+parseInt(_0x115dce(0x1bd))/0x3*(parseInt(_0x115dce(0x1b9))/0x4)+-parseInt(_0x115dce(0x1b6))/0x5+parseInt(_0x115dce(0x1be))/0x6+parseInt(_0x115dce(0x1b5))/0x7*(-parseInt(_0x115dce(0x1ba))/0x8)+-parseInt(_0x115dce(0x1b4))/0x9+parseInt(_0x115dce(0x1b8))/0xa;if(_0x5ba1dc===_0x345e22)break;else _0xd2420['push'](_0xd2420['shift']());}catch(_0x40bd8d){_0xd2420['push'](_0xd2420['shift']());}}}(_0xf9b3,0xa2658));function _0xf9b3(){const _0x215aa8=['DepthOfField','1497yyYxGq','3258588RjrDSE','913680NWQZWc','11389zbxGAP','2062165dqsfLf','303501wdnnum','11113500iTEVuO','9252xofqSz','6520UsCJnz','2FidgiK'];_0xf9b3=function(){return _0x215aa8;};return _0xf9b3();}const DefaultDOFParam={'type':PostProcessStepType[_0x214361(0x1bc)],'focus':0x1f4,'aperture':0x5,'maxblur':0.01};
|
|
71
71
|
|
|
72
|
-
function
|
|
72
|
+
const _0x344cf0=_0x2908;function _0x2908(_0x36e88c,_0x718784){_0x36e88c=_0x36e88c-0xfd;const _0x236906=_0x2369();let _0x290821=_0x236906[_0x36e88c];return _0x290821;}(function(_0x4f7824,_0x331e81){const _0x18b8bc=_0x2908,_0x4e49ad=_0x4f7824();while(!![]){try{const _0x34685e=-parseInt(_0x18b8bc(0xff))/0x1*(parseInt(_0x18b8bc(0xfd))/0x2)+parseInt(_0x18b8bc(0x106))/0x3*(parseInt(_0x18b8bc(0x105))/0x4)+parseInt(_0x18b8bc(0x107))/0x5*(parseInt(_0x18b8bc(0x108))/0x6)+-parseInt(_0x18b8bc(0x100))/0x7*(-parseInt(_0x18b8bc(0x104))/0x8)+-parseInt(_0x18b8bc(0x109))/0x9+parseInt(_0x18b8bc(0x10a))/0xa*(parseInt(_0x18b8bc(0x102))/0xb)+parseInt(_0x18b8bc(0x101))/0xc*(parseInt(_0x18b8bc(0xfe))/0xd);if(_0x34685e===_0x331e81)break;else _0x4e49ad['push'](_0x4e49ad['shift']());}catch(_0x562bf8){_0x4e49ad['push'](_0x4e49ad['shift']());}}}(_0x2369,0xb2c03));function _0x2369(){const _0x1c2b24=['481ayoJJs','53920fIHGnO','9743699doIHLK','124224ENjdoB','33209pkJOdq','GroundTruthAmbientOcclusion','8cPLogW','243268iYLYrK','3EqFvRO','13665oUwjhw','1482MWAqCg','9753876nvHOmg','20CKmMDL','26teiMsE'];_0x2369=function(){return _0x1c2b24;};return _0x2369();}const DefaultGTAOParam={'type':PostProcessStepType[_0x344cf0(0x103)],'distanceExponent':0x1,'distanceFallOff':0x1,'radius':0.25,'scale':0x1,'thickness':0x1,'samples':0x10,'useTemporalFiltering':![]};
|
|
73
73
|
|
|
74
|
-
const
|
|
74
|
+
const _0x46c0bd=_0x2928;function _0x2928(_0x5a192d,_0x1c545e){_0x5a192d=_0x5a192d-0xbc;const _0x31c65f=_0x31c6();let _0x292815=_0x31c65f[_0x5a192d];return _0x292815;}function _0x31c6(){const _0x1c7b21=['2910688wUHmkj','60195CzHXjV','44gOqTAo','3XpLnMB','1085038vvxTXM','48xkjcmG','452216HGsKPY','Outline','166131vmfDvx','990HTcPtR','132ysdiLZ','39753HGPBzy','571208WaebIL'];_0x31c6=function(){return _0x1c7b21;};return _0x31c6();}(function(_0x5e9053,_0x428c3b){const _0x2c12c6=_0x2928,_0x12f86e=_0x5e9053();while(!![]){try{const _0x13d189=-parseInt(_0x2c12c6(0xc1))/0x1+parseInt(_0x2c12c6(0xbf))/0x2*(parseInt(_0x2c12c6(0xbe))/0x3)+-parseInt(_0x2c12c6(0xbd))/0x4*(-parseInt(_0x2c12c6(0xbc))/0x5)+parseInt(_0x2c12c6(0xc5))/0x6*(-parseInt(_0x2c12c6(0xc3))/0x7)+parseInt(_0x2c12c6(0xc8))/0x8+-parseInt(_0x2c12c6(0xc6))/0x9*(-parseInt(_0x2c12c6(0xc4))/0xa)+-parseInt(_0x2c12c6(0xc7))/0xb*(parseInt(_0x2c12c6(0xc0))/0xc);if(_0x13d189===_0x428c3b)break;else _0x12f86e['push'](_0x12f86e['shift']());}catch(_0x387ebc){_0x12f86e['push'](_0x12f86e['shift']());}}}(_0x31c6,0x47c7d));const DefaultOutlineParams={'type':PostProcessStepType[_0x46c0bd(0xc2)],'edgeStrength':0x3,'edgeGlow':0x1,'edgeThickness':0x1,'pulsePeriod':0x0,'visibleEdgeColor':0xffffff,'hiddenEdgeColor':0xffffff};
|
|
75
75
|
|
|
76
|
-
const
|
|
76
|
+
const _0x19192f=_0x2365;(function(_0x4b67c5,_0x2c0477){const _0xd20cb0=_0x2365,_0x170996=_0x4b67c5();while(!![]){try{const _0x305696=-parseInt(_0xd20cb0(0x11f))/0x1*(parseInt(_0xd20cb0(0x120))/0x2)+-parseInt(_0xd20cb0(0x11d))/0x3+-parseInt(_0xd20cb0(0x122))/0x4+-parseInt(_0xd20cb0(0x124))/0x5+-parseInt(_0xd20cb0(0x125))/0x6+-parseInt(_0xd20cb0(0x121))/0x7*(parseInt(_0xd20cb0(0x123))/0x8)+parseInt(_0xd20cb0(0x126))/0x9;if(_0x305696===_0x2c0477)break;else _0x170996['push'](_0x170996['shift']());}catch(_0x33fef0){_0x170996['push'](_0x170996['shift']());}}}(_0x51f6,0x233fd));function _0x2365(_0x3fcc7f,_0x23cc52){_0x3fcc7f=_0x3fcc7f-0x11d;const _0x51f61c=_0x51f6();let _0x236512=_0x51f61c[_0x3fcc7f];return _0x236512;}function _0x51f6(){const _0x4986be=['661584VnPfLE','8455617cKWXCg','54759fyStLd','LensFlare','1NYYBop','341562WbNSKj','1337PiemPR','841432GLlQZx','11928mKyASM','3475LGamSK'];_0x51f6=function(){return _0x4986be;};return _0x51f6();}const DefaultLensFlareParam={'type':PostProcessStepType[_0x19192f(0x11e)],'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 _0x12530e=_0x16fa;(function(_0x383beb,_0x5831cc){const _0x14526b=_0x16fa,_0x5e8715=_0x383beb();while(!![]){try{const _0x44b595=parseInt(_0x14526b(0x170))/0x1+parseInt(_0x14526b(0x17f))/0x2*(parseInt(_0x14526b(0x110))/0x3)+-parseInt(_0x14526b(0x14e))/0x4*(parseInt(_0x14526b(0x151))/0x5)+-parseInt(_0x14526b(0x17c))/0x6+parseInt(_0x14526b(0x12e))/0x7*(parseInt(_0x14526b(0x15f))/0x8)+parseInt(_0x14526b(0x158))/0x9*(-parseInt(_0x14526b(0x125))/0xa)+parseInt(_0x14526b(0x156))/0xb*(parseInt(_0x14526b(0x12d))/0xc);if(_0x44b595===_0x5831cc)break;else _0x5e8715['push'](_0x5e8715['shift']());}catch(_0x584b22){_0x5e8715['push'](_0x5e8715['shift']());}}}(_0x4603,0x50aa9));function _0x16fa(_0x18f16b,_0x1e865a){_0x18f16b=_0x18f16b-0x10a;const _0x460352=_0x4603();let _0x16fab5=_0x460352[_0x18f16b];return _0x16fab5;}function _0x4603(){const _0x1700a6=['useTemporalFiltering','samples','Antialiasing','selectedObjects','setup','normal','output','gtaoThickness','push','outlineEnabled','focusDistanceNode','set','steps','scale','Bloom','lensflarePass','add','2212396lcATgx','addOutlineObject','has','5CZkbdD','outlineVisibleEdgeColor','dispose','aperture','renderer','73018covwDn','outputNode','9WWAlms','outlineEdgeThickness','maxblur','bokehScaleNode','updateSteps','outlineHiddenEdgeColor','value','2973304kWOfqE','edgeGlow','bloomThreshold','outlinePass','dofFocus','getViewZNode','camera','ghostSpacing','buildPipeline','removeOutlineObject','distanceFallOff','gtaoPass','DepthOfField','setOutlineObjects','ghostSamples','updateAllUniforms','outlineEdgeGlow','407202BXRbDt','distanceExponent','pulsePeriod','bloomRadius','lensflareEnabled','ghostTint','hiddenEdgeColor','resolutionScale','setMRT','type','dofAperture','markDirty','2831874ORKFhI','method','onDirtyCallback','146HLUwuk','getStepParam','lut3dTexture','processing','getLUT3DTexture','fxaa','onBuildFinalNode','11082XyKOWq','visibleEdgeColor','postProcessParam','assign','smaaEnabled','velocity','setLUT3DTexture','edgeStrength','gtaoDistanceExponent','scene','outlinePulsePeriod','gtaoScale','edgeThicknessNode','strength','render','bloomPass','traaPass','edgeThickness','dofPass','mul','select','3966680dSiUQZ','thickness','focus','bloomStrength','div','threshold','getTextureNode','LensFlare','1272OgGZbO','7vSWWAa','smaa','gtaoEnabled','createEffectUniforms','postProcessing','radius','Outline','depth','map','effectUniforms','updateCamera','GroundTruthAmbientOcclusion','outlineObjects','bloomEnabled','greaterThan'];_0x4603=function(){return _0x1700a6;};return _0x4603();}class PostProcessManager{constructor(_0x1f4195,_0x41d384,_0x5f7369,_0x10ba5d,_0x3b58d9){const _0x33e2c0=_0x16fa;this[_0x33e2c0(0x132)]=null,this['outlineObjects']=[],this[_0x33e2c0(0x137)]=null,this[_0x33e2c0(0x162)]=null,this['bloomPass']=null,this[_0x33e2c0(0x122)]=null,this['gtaoPass']=null,this['traaPass']=null,this[_0x33e2c0(0x14c)]=null,this[_0x33e2c0(0x10b)]=null,this['onDirtyCallback']=null,this[_0x33e2c0(0x155)]=_0x1f4195,this[_0x33e2c0(0x119)]=_0x41d384,this[_0x33e2c0(0x165)]=_0x5f7369,this[_0x33e2c0(0x112)]=Object[_0x33e2c0(0x113)]({},_0x10ba5d),this[_0x33e2c0(0x17e)]=_0x3b58d9!==null&&_0x3b58d9!==void 0?_0x3b58d9:null;}get[_0x12530e(0x10c)](){return this['postProcessing'];}[_0x12530e(0x138)](_0x1e21a4){const _0x5b6935=_0x12530e;this[_0x5b6935(0x165)]=_0x1e21a4,(!this[_0x5b6935(0x132)]||!this[_0x5b6935(0x137)])&&(this[_0x5b6935(0x167)](),this['updateAllUniforms'](),this[_0x5b6935(0x17b)]());}[_0x12530e(0x141)](){const _0xaca417=_0x12530e;(!this['postProcessing']||!this['effectUniforms'])&&this['buildPipeline'](),this[_0xaca417(0x16e)](),this[_0xaca417(0x17b)]();}[_0x12530e(0x167)](){const _0x4c7e68=_0x12530e;var _0x349467,_0x28fdb7,_0x3a92b7,_0x2a5d06,_0x58d8f6;this['postProcessing']&&this[_0x4c7e68(0x132)][_0x4c7e68(0x153)]();this[_0x4c7e68(0x132)]=new PostProcessing(this[_0x4c7e68(0x155)]),this[_0x4c7e68(0x162)]=null,this[_0x4c7e68(0x11f)]=null,this[_0x4c7e68(0x122)]=null,this[_0x4c7e68(0x16a)]=null,this[_0x4c7e68(0x120)]=null,this['lensflarePass']=null,this[_0x4c7e68(0x137)]=this[_0x4c7e68(0x131)]();const _0x56a2b7=new Set(this[_0x4c7e68(0x112)][_0x4c7e68(0x149)][_0x4c7e68(0x136)](_0x23aa15=>_0x23aa15[_0x4c7e68(0x179)])),_0x614a94=this[_0x4c7e68(0x10a)](PostProcessStepType[_0x4c7e68(0x13f)]),_0x449c37=_0x56a2b7['has'](PostProcessStepType['GroundTruthAmbientOcclusion']),_0x4a4313=(_0x614a94===null||_0x614a94===void 0?void 0:_0x614a94[_0x4c7e68(0x17d)])==='traa',_0x5d4dca=pass(this[_0x4c7e68(0x119)],this[_0x4c7e68(0x165)]);if(_0x449c37||_0x4a4313){const _0x27b0fa={'output':output};if(_0x449c37)_0x27b0fa[_0x4c7e68(0x142)]=normalView;if(_0x4a4313)_0x27b0fa[_0x4c7e68(0x115)]=velocity;_0x5d4dca[_0x4c7e68(0x178)](mrt(_0x27b0fa));}const _0xed37dd=_0x5d4dca[_0x4c7e68(0x12b)](_0x4c7e68(0x143)),_0x47469d=_0x5d4dca[_0x4c7e68(0x12b)](_0x4c7e68(0x135)),_0x586ef0=_0x5d4dca[_0x4c7e68(0x164)](),_0x2285b3=_0x449c37?_0x5d4dca['getTextureNode']('normal'):null,_0xbd280f=_0x4a4313?_0x5d4dca[_0x4c7e68(0x12b)](_0x4c7e68(0x115)):null,_0x1d5b49=this[_0x4c7e68(0x137)];let _0x1121ce=_0xed37dd;const _0xd907c2=_0x56a2b7['has'](PostProcessStepType['Bloom']),_0x54f1e6=_0x56a2b7[_0x4c7e68(0x150)](PostProcessStepType[_0x4c7e68(0x12c)]);if(_0xd907c2||_0x54f1e6){const _0x2e5976=(_0x349467=this[_0x4c7e68(0x10a)](PostProcessStepType[_0x4c7e68(0x14b)]))!==null&&_0x349467!==void 0?_0x349467:DefaultBloomParam;this[_0x4c7e68(0x11f)]=bloom(_0xed37dd),this['bloomPass'][_0x4c7e68(0x12a)][_0x4c7e68(0x15e)]=_0x2e5976[_0x4c7e68(0x12a)],this[_0x4c7e68(0x11f)][_0x4c7e68(0x11d)][_0x4c7e68(0x15e)]=_0x2e5976['strength'],this[_0x4c7e68(0x11f)][_0x4c7e68(0x133)][_0x4c7e68(0x15e)]=_0x2e5976[_0x4c7e68(0x133)];if(_0xd907c2){const _0x1d198f=this[_0x4c7e68(0x11f)][_0x4c7e68(0x123)](_0x1d5b49[_0x4c7e68(0x128)]);_0x1121ce=vec4(_0xed37dd['r'][_0x4c7e68(0x14d)](_0x1d198f['r']),_0xed37dd['g'][_0x4c7e68(0x14d)](_0x1d198f['g']),_0xed37dd['b'][_0x4c7e68(0x14d)](_0x1d198f['b']),_0xed37dd['a']);}if(_0x54f1e6){const _0xaedfb6=(_0x28fdb7=this[_0x4c7e68(0x10a)](PostProcessStepType['LensFlare']))!==null&&_0x28fdb7!==void 0?_0x28fdb7:DefaultLensFlareParam;this[_0x4c7e68(0x14c)]=lensflare(this[_0x4c7e68(0x11f)][_0x4c7e68(0x12b)](),{'ghostTint':vec3(_0xaedfb6[_0x4c7e68(0x175)][0x0],_0xaedfb6[_0x4c7e68(0x175)][0x1],_0xaedfb6['ghostTint'][0x2]),'threshold':float(_0xaedfb6[_0x4c7e68(0x12a)]),'ghostSamples':float(_0xaedfb6[_0x4c7e68(0x16d)]),'ghostSpacing':float(_0xaedfb6[_0x4c7e68(0x166)]),'ghostAttenuationFactor':float(_0xaedfb6['ghostAttenuationFactor']),'downSampleRatio':_0xaedfb6['downSampleRatio']});const _0x25530b=this[_0x4c7e68(0x14c)][_0x4c7e68(0x12b)]();_0x1121ce=vec4(_0x1121ce['r'][_0x4c7e68(0x14d)](_0x25530b['r']),_0x1121ce['g']['add'](_0x25530b['g']),_0x1121ce['b'][_0x4c7e68(0x14d)](_0x25530b['b']),_0x1121ce['a']);}}if(_0x56a2b7['has'](PostProcessStepType[_0x4c7e68(0x16b)])){const _0x4dba5a=(_0x3a92b7=this[_0x4c7e68(0x10a)](PostProcessStepType[_0x4c7e68(0x16b)]))!==null&&_0x3a92b7!==void 0?_0x3a92b7:DefaultDOFParam;this['dofPass']=dof(_0x1121ce,_0x586ef0,uniform(_0x4dba5a[_0x4c7e68(0x127)]),uniform(_0x4dba5a[_0x4c7e68(0x154)]),uniform(_0x4dba5a[_0x4c7e68(0x15a)])),_0x1121ce=vec4(this['dofPass']['r'],this[_0x4c7e68(0x122)]['g'],this[_0x4c7e68(0x122)]['b'],_0xed37dd['a']);}if(_0x449c37&&_0x2285b3){const _0xb9dc60=(_0x2a5d06=this[_0x4c7e68(0x10a)](PostProcessStepType[_0x4c7e68(0x139)]))!==null&&_0x2a5d06!==void 0?_0x2a5d06:DefaultGTAOParam;this[_0x4c7e68(0x16a)]=ao(_0x47469d,_0x2285b3,this['camera']),this['gtaoPass'][_0x4c7e68(0x177)]=0.5,this[_0x4c7e68(0x16a)]['distanceExponent']['value']=_0xb9dc60['distanceExponent'],this[_0x4c7e68(0x16a)]['distanceFallOff'][_0x4c7e68(0x15e)]=_0xb9dc60[_0x4c7e68(0x169)],this[_0x4c7e68(0x16a)][_0x4c7e68(0x133)][_0x4c7e68(0x15e)]=_0xb9dc60[_0x4c7e68(0x133)],this[_0x4c7e68(0x16a)][_0x4c7e68(0x14a)][_0x4c7e68(0x15e)]=_0xb9dc60['scale'],this[_0x4c7e68(0x16a)][_0x4c7e68(0x126)][_0x4c7e68(0x15e)]=_0xb9dc60['thickness'],this[_0x4c7e68(0x16a)][_0x4c7e68(0x13e)][_0x4c7e68(0x15e)]=_0xb9dc60[_0x4c7e68(0x13e)],this[_0x4c7e68(0x16a)]['useTemporalFiltering']=_0xb9dc60[_0x4c7e68(0x13d)];const _0x2441ef=this[_0x4c7e68(0x16a)][_0x4c7e68(0x12b)]()['r'];_0x1121ce=vec4(_0x1121ce['r']['mul'](_0x2441ef),_0x1121ce['g'][_0x4c7e68(0x123)](_0x2441ef),_0x1121ce['b'][_0x4c7e68(0x123)](_0x2441ef),_0x1121ce['a']);}if(_0x56a2b7['has'](PostProcessStepType[_0x4c7e68(0x134)])){const _0xa3df34=(_0x58d8f6=this[_0x4c7e68(0x10a)](PostProcessStepType[_0x4c7e68(0x134)]))!==null&&_0x58d8f6!==void 0?_0x58d8f6:DefaultOutlineParams;this['outlinePass']=outline(this[_0x4c7e68(0x119)],this[_0x4c7e68(0x165)],{'selectedObjects':this[_0x4c7e68(0x13a)],'edgeGlow':uniform(_0xa3df34[_0x4c7e68(0x160)]),'edgeThickness':uniform(_0xa3df34[_0x4c7e68(0x121)])});const {visibleEdge:_0x42c592,hiddenEdge:_0x25a80e}=this[_0x4c7e68(0x162)],_0xe30db=_0x1d5b49[_0x4c7e68(0x11a)][_0x4c7e68(0x13c)](0x0)[_0x4c7e68(0x124)](_0x1d5b49[_0x4c7e68(0x11a)],uniform(0x1)),_0x2fe893=time[_0x4c7e68(0x129)](_0xe30db)[_0x4c7e68(0x123)](0x2),_0x35c374=oscSine(_0x2fe893)[_0x4c7e68(0x123)](0.5)[_0x4c7e68(0x14d)](0.5),_0x37646e=_0x42c592['mul'](_0x1d5b49[_0x4c7e68(0x152)])[_0x4c7e68(0x14d)](_0x25a80e['mul'](_0x1d5b49[_0x4c7e68(0x15d)]))[_0x4c7e68(0x123)](_0x1d5b49['outlineEdgeStrength']),_0x1feb31=_0x1d5b49['outlinePulsePeriod'][_0x4c7e68(0x13c)](0x0),_0x2a315a=_0x1feb31[_0x4c7e68(0x124)](_0x35c374,float(0x1));_0x1121ce=vec4(_0x1121ce['r']['add'](_0x37646e['r'][_0x4c7e68(0x123)](_0x2a315a)),_0x1121ce['g']['add'](_0x37646e['g'][_0x4c7e68(0x123)](_0x2a315a)),_0x1121ce['b']['add'](_0x37646e['b'][_0x4c7e68(0x123)](_0x2a315a)),_0x1121ce['a']);}if(_0x614a94){if(_0x614a94[_0x4c7e68(0x17d)]===_0x4c7e68(0x10e))_0x1121ce=fxaa(_0x1121ce);else {if(_0x614a94[_0x4c7e68(0x17d)]===_0x4c7e68(0x12f))_0x1121ce=smaa(_0x1121ce);else _0x614a94[_0x4c7e68(0x17d)]==='traa'&&_0xbd280f&&(this[_0x4c7e68(0x120)]=traa(_0x1121ce,_0x47469d,_0xbd280f,this['camera']),_0x1121ce=this['traaPass'][_0x4c7e68(0x12b)]());}}_0x1121ce=this[_0x4c7e68(0x10f)](_0x1121ce),_0x1121ce=vec4(_0x1121ce['r'],_0x1121ce['g'],_0x1121ce['b'],_0xed37dd['a']),this[_0x4c7e68(0x132)][_0x4c7e68(0x157)]=_0x1121ce,this[_0x4c7e68(0x132)]['needsUpdate']=!![];}[_0x12530e(0x10f)](_0x378259){return _0x378259;}['createEffectUniforms'](){const _0x509ad1=_0x12530e;var _0x393516,_0x24daaa,_0x20a2e2,_0x1d1b02;const _0x13b0b6=(_0x393516=this[_0x509ad1(0x10a)](PostProcessStepType[_0x509ad1(0x14b)]))!==null&&_0x393516!==void 0?_0x393516:DefaultBloomParam,_0x1602df=(_0x24daaa=this[_0x509ad1(0x10a)](PostProcessStepType[_0x509ad1(0x16b)]))!==null&&_0x24daaa!==void 0?_0x24daaa:DefaultDOFParam,_0x21ecf6=(_0x20a2e2=this['getStepParam'](PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x20a2e2!==void 0?_0x20a2e2:DefaultGTAOParam,_0x2d5a80=(_0x1d1b02=this[_0x509ad1(0x10a)](PostProcessStepType[_0x509ad1(0x134)]))!==null&&_0x1d1b02!==void 0?_0x1d1b02:DefaultOutlineParams;return {'bloomEnabled':uniform(0x0),'bloomStrength':uniform(_0x13b0b6[_0x509ad1(0x11d)]),'bloomThreshold':uniform(_0x13b0b6[_0x509ad1(0x12a)]),'bloomRadius':uniform(_0x13b0b6[_0x509ad1(0x133)]),'dofEnabled':uniform(0x0),'dofFocus':uniform(_0x1602df[_0x509ad1(0x127)]),'dofAperture':uniform(_0x1602df[_0x509ad1(0x154)]),'dofMaxBlur':uniform(_0x1602df[_0x509ad1(0x15a)]),'gtaoEnabled':uniform(0x0),'gtaoScale':uniform(_0x21ecf6['scale']),'gtaoDistanceExponent':uniform(_0x21ecf6['distanceExponent']),'gtaoDistanceFallOff':uniform(_0x21ecf6['distanceFallOff']),'gtaoRadius':uniform(_0x21ecf6[_0x509ad1(0x133)]),'gtaoThickness':uniform(_0x21ecf6[_0x509ad1(0x126)]),'gtaoSamples':uniform(_0x21ecf6[_0x509ad1(0x13e)]),'outlineEnabled':uniform(0x0),'outlineEdgeStrength':uniform(_0x2d5a80[_0x509ad1(0x117)]),'outlineEdgeGlow':uniform(_0x2d5a80[_0x509ad1(0x160)]),'outlineEdgeThickness':uniform(_0x2d5a80['edgeThickness']),'outlinePulsePeriod':uniform(_0x2d5a80[_0x509ad1(0x172)]),'outlineVisibleEdgeColor':uniform(new Color(_0x2d5a80[_0x509ad1(0x111)])),'outlineHiddenEdgeColor':uniform(new Color(_0x2d5a80['hiddenEdgeColor'])),'fxaaEnabled':uniform(0x0),'smaaEnabled':uniform(0x0),'lensflareEnabled':uniform(0x0)};}[_0x12530e(0x10a)](_0x55377c){const _0x1283f6=_0x12530e;var _0x2162b3;return (_0x2162b3=this[_0x1283f6(0x112)][_0x1283f6(0x149)]['find'](_0x16032b=>_0x16032b[_0x1283f6(0x179)]===_0x55377c))!==null&&_0x2162b3!==void 0?_0x2162b3:null;}[_0x12530e(0x16e)](){const _0x456871=_0x12530e;if(!this[_0x456871(0x137)])return;const _0x1be7c5=this[_0x456871(0x137)],_0x2eb15a=new Set(this[_0x456871(0x112)][_0x456871(0x149)]['map'](_0x1befdf=>_0x1befdf[_0x456871(0x179)]));_0x1be7c5[_0x456871(0x13b)][_0x456871(0x15e)]=_0x2eb15a[_0x456871(0x150)](PostProcessStepType['Bloom'])?0x1:0x0,_0x1be7c5['dofEnabled'][_0x456871(0x15e)]=_0x2eb15a[_0x456871(0x150)](PostProcessStepType['DepthOfField'])?0x1:0x0,_0x1be7c5[_0x456871(0x130)][_0x456871(0x15e)]=_0x2eb15a[_0x456871(0x150)](PostProcessStepType[_0x456871(0x139)])?0x1:0x0,_0x1be7c5[_0x456871(0x146)][_0x456871(0x15e)]=_0x2eb15a['has'](PostProcessStepType['Outline'])?0x1:0x0,_0x1be7c5[_0x456871(0x174)][_0x456871(0x15e)]=_0x2eb15a[_0x456871(0x150)](PostProcessStepType[_0x456871(0x12c)])?0x1:0x0;const _0x20ccde=this[_0x456871(0x10a)](PostProcessStepType[_0x456871(0x13f)]);_0x20ccde?(_0x1be7c5['fxaaEnabled'][_0x456871(0x15e)]=_0x20ccde[_0x456871(0x17d)]===_0x456871(0x10e)?0x1:0x0,_0x1be7c5[_0x456871(0x114)][_0x456871(0x15e)]=_0x20ccde[_0x456871(0x17d)]===_0x456871(0x12f)?0x1:0x0):(_0x1be7c5['fxaaEnabled'][_0x456871(0x15e)]=0x0,_0x1be7c5['smaaEnabled'][_0x456871(0x15e)]=0x0);const _0x2e9434=this[_0x456871(0x10a)](PostProcessStepType[_0x456871(0x14b)]);_0x2e9434&&(_0x1be7c5[_0x456871(0x128)]['value']=_0x2e9434[_0x456871(0x11d)],_0x1be7c5[_0x456871(0x161)][_0x456871(0x15e)]=_0x2e9434['threshold'],_0x1be7c5[_0x456871(0x173)][_0x456871(0x15e)]=_0x2e9434[_0x456871(0x133)],this[_0x456871(0x11f)]&&(this[_0x456871(0x11f)][_0x456871(0x12a)][_0x456871(0x15e)]=_0x2e9434['threshold'],this['bloomPass']['strength'][_0x456871(0x15e)]=_0x2e9434[_0x456871(0x11d)],this[_0x456871(0x11f)][_0x456871(0x133)][_0x456871(0x15e)]=_0x2e9434[_0x456871(0x133)]));const _0x4b1324=this[_0x456871(0x10a)](PostProcessStepType['LensFlare']);if(_0x4b1324&&this[_0x456871(0x14c)]);const _0x18afab=this['getStepParam'](PostProcessStepType[_0x456871(0x16b)]);_0x18afab&&(_0x1be7c5[_0x456871(0x163)][_0x456871(0x15e)]=_0x18afab['focus'],_0x1be7c5[_0x456871(0x17a)]['value']=_0x18afab[_0x456871(0x154)],_0x1be7c5['dofMaxBlur'][_0x456871(0x15e)]=_0x18afab[_0x456871(0x15a)],this[_0x456871(0x122)]&&(this[_0x456871(0x122)][_0x456871(0x147)][_0x456871(0x15e)]=_0x18afab[_0x456871(0x127)],this['dofPass']['focalLengthNode'][_0x456871(0x15e)]=_0x18afab['aperture'],this[_0x456871(0x122)][_0x456871(0x15b)][_0x456871(0x15e)]=_0x18afab['maxblur']));const _0x4f0bb8=this[_0x456871(0x10a)](PostProcessStepType[_0x456871(0x139)]);_0x4f0bb8&&(_0x1be7c5[_0x456871(0x11b)][_0x456871(0x15e)]=_0x4f0bb8[_0x456871(0x14a)],_0x1be7c5[_0x456871(0x118)][_0x456871(0x15e)]=_0x4f0bb8[_0x456871(0x171)],_0x1be7c5['gtaoDistanceFallOff'][_0x456871(0x15e)]=_0x4f0bb8[_0x456871(0x169)],_0x1be7c5['gtaoRadius']['value']=_0x4f0bb8[_0x456871(0x133)],_0x1be7c5[_0x456871(0x144)][_0x456871(0x15e)]=_0x4f0bb8['thickness'],_0x1be7c5['gtaoSamples']['value']=_0x4f0bb8['samples'],this[_0x456871(0x16a)]&&(this[_0x456871(0x16a)][_0x456871(0x171)][_0x456871(0x15e)]=_0x4f0bb8['distanceExponent'],this['gtaoPass']['distanceFallOff']['value']=_0x4f0bb8[_0x456871(0x169)],this[_0x456871(0x16a)][_0x456871(0x133)][_0x456871(0x15e)]=_0x4f0bb8[_0x456871(0x133)],this[_0x456871(0x16a)][_0x456871(0x14a)]['value']=_0x4f0bb8[_0x456871(0x14a)],this[_0x456871(0x16a)][_0x456871(0x126)][_0x456871(0x15e)]=_0x4f0bb8[_0x456871(0x126)],this[_0x456871(0x16a)][_0x456871(0x13e)][_0x456871(0x15e)]=_0x4f0bb8[_0x456871(0x13e)],this[_0x456871(0x16a)]['useTemporalFiltering']=_0x4f0bb8[_0x456871(0x13d)]));const _0x45f972=this['getStepParam'](PostProcessStepType[_0x456871(0x134)]);_0x45f972&&(_0x1be7c5['outlineEdgeStrength']['value']=_0x45f972[_0x456871(0x117)],_0x1be7c5[_0x456871(0x16f)]['value']=_0x45f972[_0x456871(0x160)],_0x1be7c5[_0x456871(0x159)][_0x456871(0x15e)]=_0x45f972[_0x456871(0x121)],_0x1be7c5['outlinePulsePeriod'][_0x456871(0x15e)]=_0x45f972[_0x456871(0x172)],_0x1be7c5[_0x456871(0x152)]['value']['set'](_0x45f972['visibleEdgeColor']),_0x1be7c5['outlineHiddenEdgeColor'][_0x456871(0x15e)][_0x456871(0x148)](_0x45f972[_0x456871(0x176)]),this[_0x456871(0x162)]&&(this[_0x456871(0x162)]['edgeGlowNode']['value']=_0x45f972[_0x456871(0x160)],this[_0x456871(0x162)][_0x456871(0x11c)][_0x456871(0x15e)]=_0x45f972['edgeThickness'],this[_0x456871(0x162)][_0x456871(0x140)]=this[_0x456871(0x13a)]));}[_0x12530e(0x15c)](_0x4739d4){const _0x4e3ced=_0x12530e;this[_0x4e3ced(0x112)][_0x4e3ced(0x149)]=_0x4739d4,this['buildPipeline'](),this[_0x4e3ced(0x16e)](),this['markDirty']();}[_0x12530e(0x14f)](_0x2f384f){const _0x417771=_0x12530e;!this[_0x417771(0x13a)]['includes'](_0x2f384f)&&(this[_0x417771(0x13a)]['push'](_0x2f384f),this[_0x417771(0x162)]&&(this[_0x417771(0x162)][_0x417771(0x140)]=this[_0x417771(0x13a)])),this['markDirty']();}[_0x12530e(0x16c)](_0x20e60d){const _0x2fbf62=_0x12530e;this['outlineObjects']['length']=0x0,this[_0x2fbf62(0x13a)][_0x2fbf62(0x145)](..._0x20e60d),this[_0x2fbf62(0x162)]&&(this['outlinePass'][_0x2fbf62(0x140)]=this[_0x2fbf62(0x13a)]),this['markDirty']();}[_0x12530e(0x168)](_0x13fb18){const _0x6a8f2e=_0x12530e,_0x49cf2b=this[_0x6a8f2e(0x13a)]['indexOf'](_0x13fb18);_0x49cf2b>-1&&(this[_0x6a8f2e(0x13a)]['splice'](_0x49cf2b,0x1),this['outlinePass']&&(this[_0x6a8f2e(0x162)][_0x6a8f2e(0x140)]=this[_0x6a8f2e(0x13a)])),this[_0x6a8f2e(0x17b)]();}[_0x12530e(0x116)](_0x4fb2e9){const _0x4a9ec7=_0x12530e;this[_0x4a9ec7(0x10b)]=_0x4fb2e9,this[_0x4a9ec7(0x167)](),this['updateAllUniforms'](),this[_0x4a9ec7(0x17b)]();}[_0x12530e(0x10d)](){return this['lut3dTexture'];}['render'](){const _0x58c4d2=_0x12530e;if(this[_0x58c4d2(0x132)])return this[_0x58c4d2(0x132)][_0x58c4d2(0x11e)](),!![];return ![];}['destroy'](){const _0x54d6dd=_0x12530e;this[_0x54d6dd(0x13a)]=[],this[_0x54d6dd(0x137)]=null,this[_0x54d6dd(0x162)]=null,this['bloomPass']=null,this[_0x54d6dd(0x122)]=null,this[_0x54d6dd(0x16a)]=null,this[_0x54d6dd(0x120)]=null,this[_0x54d6dd(0x14c)]=null,this[_0x54d6dd(0x10b)]=null,this['postProcessing']&&(this[_0x54d6dd(0x132)][_0x54d6dd(0x153)](),this[_0x54d6dd(0x132)]=null);}[_0x12530e(0x17b)](){const _0x4b22bf=_0x12530e;this[_0x4b22bf(0x17e)]&&this[_0x4b22bf(0x17e)]();}}
|
|
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 _0x3b2bff=_0x228b;(function(_0x4147ef,_0x19aa97){const _0x4c2502=_0x228b,_0x4ba3cb=_0x4147ef();while(!![]){try{const _0x1aca80=parseInt(_0x4c2502(0xb9))/0x1+-parseInt(_0x4c2502(0x73))/0x2*(-parseInt(_0x4c2502(0x91))/0x3)+parseInt(_0x4c2502(0x77))/0x4*(parseInt(_0x4c2502(0xa8))/0x5)+parseInt(_0x4c2502(0x6a))/0x6*(parseInt(_0x4c2502(0xb4))/0x7)+parseInt(_0x4c2502(0x74))/0x8*(-parseInt(_0x4c2502(0x9a))/0x9)+-parseInt(_0x4c2502(0x89))/0xa*(-parseInt(_0x4c2502(0xa4))/0xb)+-parseInt(_0x4c2502(0x67))/0xc*(parseInt(_0x4c2502(0x7d))/0xd);if(_0x1aca80===_0x19aa97)break;else _0x4ba3cb['push'](_0x4ba3cb['shift']());}catch(_0x170f88){_0x4ba3cb['push'](_0x4ba3cb['shift']());}}}(_0x349a,0x4de69));function _0x228b(_0x422567,_0x316e50){_0x422567=_0x422567-0x66;const _0x349acc=_0x349a();let _0x228b37=_0x349acc[_0x422567];return _0x228b37;}function _0x349a(){const _0x11c67e=['getSize','updateSteps','156220DSCjpp','addPass','render','scene','hiddenEdgeColor','1138908bbMSfI','outlineObjects','pulsePeriod','234TrnXbd','Outline','dofPass','buildCustomPostProcess','lut3dTexture','scale','setLUT3DTexture','outputPass','blendIntensity','1243552wplJHj','261368ZmqqUJ','destroy','fxaa','12dleHvS','smaaPass','getStepParam','maxblur','gtaoPass','processing','117pcdSWn','DepthOfField','updateAllParameters','value','dispose','edgeThickness','resize','onDirtyCallback','renderCamera','steps','camera','set','110ojKfwz','bloomPass','updateCamera','renderer','aperture','buildPipeline','postProcessParam','visibleEdgeColor','3ScjPrf','smaa','addOutlineObject','GroundTruthAmbientOcclusion','indexOf','splice','setup','threshold','Bloom','81kpvWtQ','markDirty','find','updateOutlineParameters','resolution','map','outlinePass','push','composer','radius','375001NFQnaS','removeOutlineObject','edgeGlow','fxaaPass','306415bePhkm','setSize','method','focus','has','setOutlineObjects','strength','selectedObjects','lutPass','renderPass','type','uniforms','23415cVoQXq','length','includes'];_0x349a=function(){return _0x11c67e;};return _0x349a();}class WebGLPostProcessManager{constructor(_0x26f11d,_0x29521d,_0x4a9f50,_0x5d968d,_0x338cf9){const _0x17945f=_0x228b;this[_0x17945f(0xa2)]=null,this[_0x17945f(0x68)]=[],this[_0x17945f(0xb1)]=null,this['outlinePass']=null,this[_0x17945f(0x8a)]=null,this[_0x17945f(0x6c)]=null,this[_0x17945f(0x7b)]=null,this[_0x17945f(0x78)]=null,this[_0x17945f(0xa7)]=null,this[_0x17945f(0xb0)]=null,this[_0x17945f(0x71)]=null,this[_0x17945f(0x6e)]=null,this['onDirtyCallback']=null,this['renderer']=_0x26f11d,this[_0x17945f(0xbc)]=_0x29521d,this[_0x17945f(0x87)]=_0x4a9f50,this[_0x17945f(0x8f)]=Object['assign']({},_0x5d968d),this['onDirtyCallback']=_0x338cf9!==null&&_0x338cf9!==void 0?_0x338cf9:null;}get[_0x3b2bff(0x7c)](){return this['composer'];}[_0x3b2bff(0x8b)](_0x120f0c){const _0xcf8de1=_0x3b2bff;this[_0xcf8de1(0x87)]=_0x120f0c;if(!this[_0xcf8de1(0xa2)])this[_0xcf8de1(0x8e)](),this[_0xcf8de1(0x9b)]();else {if(this[_0xcf8de1(0xb1)])this[_0xcf8de1(0xb1)][_0xcf8de1(0x87)]=this[_0xcf8de1(0x87)];if(this[_0xcf8de1(0xa0)])this[_0xcf8de1(0xa0)][_0xcf8de1(0x85)]=this['camera'];this[_0xcf8de1(0x6c)]&&(this[_0xcf8de1(0x6c)][_0xcf8de1(0x87)]=this[_0xcf8de1(0x87)]),this[_0xcf8de1(0x7b)]&&(this['gtaoPass'][_0xcf8de1(0x87)]=this[_0xcf8de1(0x87)]);}}[_0x3b2bff(0x97)](){const _0x29f2a7=_0x3b2bff;!this[_0x29f2a7(0xa2)]?this[_0x29f2a7(0x8e)]():this[_0x29f2a7(0x7f)](),this[_0x29f2a7(0x9b)]();}[_0x3b2bff(0x8e)](){const _0x4161cf=_0x3b2bff;var _0x2b5bb9,_0x58ad83,_0x1ae22c,_0x1120d0;this[_0x4161cf(0xa2)]&&this[_0x4161cf(0xa2)][_0x4161cf(0x81)]();this[_0x4161cf(0xa2)]=new EffectComposer(this['renderer']),this['renderPass']=new RenderPass(this[_0x4161cf(0xbc)],this[_0x4161cf(0x87)]),this['composer'][_0x4161cf(0xba)](this['renderPass']),this[_0x4161cf(0xa0)]=null,this[_0x4161cf(0x8a)]=null,this[_0x4161cf(0x6c)]=null,this[_0x4161cf(0x7b)]=null,this[_0x4161cf(0x78)]=null,this[_0x4161cf(0xa7)]=null,this['lutPass']=null,this['outputPass']=null;const _0x39dff5=new Set(this[_0x4161cf(0x8f)]['steps'][_0x4161cf(0x9f)](_0x50675c=>_0x50675c[_0x4161cf(0xb2)]));if(_0x39dff5['has'](PostProcessStepType[_0x4161cf(0x94)])){const _0x59f8a7=(_0x2b5bb9=this['getStepParam'](PostProcessStepType[_0x4161cf(0x94)]))!==null&&_0x2b5bb9!==void 0?_0x2b5bb9:DefaultGTAOParam,_0x101e98=this['renderer'][_0x4161cf(0xb7)](new Vector2());this[_0x4161cf(0x7b)]=new GTAOPass(this[_0x4161cf(0xbc)],this[_0x4161cf(0x87)],_0x101e98['x'],_0x101e98['y']),this['updateGTAOParameters'](_0x59f8a7),this[_0x4161cf(0xa2)][_0x4161cf(0xba)](this[_0x4161cf(0x7b)]);}if(_0x39dff5[_0x4161cf(0xac)](PostProcessStepType['DepthOfField'])){const _0x5b611c=(_0x58ad83=this[_0x4161cf(0x79)](PostProcessStepType[_0x4161cf(0x7e)]))!==null&&_0x58ad83!==void 0?_0x58ad83:DefaultDOFParam;this[_0x4161cf(0x6c)]=new BokehPass(this[_0x4161cf(0xbc)],this[_0x4161cf(0x87)],{'focus':_0x5b611c[_0x4161cf(0xab)],'aperture':_0x5b611c[_0x4161cf(0x8d)],'maxblur':_0x5b611c['maxblur']}),this['composer']['addPass'](this['dofPass']);}if(_0x39dff5[_0x4161cf(0xac)](PostProcessStepType[_0x4161cf(0x99)])){const _0x5a6598=(_0x1ae22c=this[_0x4161cf(0x79)](PostProcessStepType[_0x4161cf(0x99)]))!==null&&_0x1ae22c!==void 0?_0x1ae22c:DefaultBloomParam,_0x156d56=this[_0x4161cf(0x8c)][_0x4161cf(0xb7)](new Vector2());this[_0x4161cf(0x8a)]=new UnrealBloomPass(_0x156d56,_0x5a6598['strength'],_0x5a6598[_0x4161cf(0xa3)],_0x5a6598[_0x4161cf(0x98)]),this[_0x4161cf(0xa2)][_0x4161cf(0xba)](this['bloomPass']);}if(_0x39dff5[_0x4161cf(0xac)](PostProcessStepType[_0x4161cf(0x6b)])){const _0x2cfb84=(_0x1120d0=this[_0x4161cf(0x79)](PostProcessStepType['Outline']))!==null&&_0x1120d0!==void 0?_0x1120d0:DefaultOutlineParams,_0x928b5d=this[_0x4161cf(0x8c)][_0x4161cf(0xb7)](new Vector2());this[_0x4161cf(0xa0)]=new OutlinePass(_0x928b5d,this[_0x4161cf(0xbc)],this['camera']),this[_0x4161cf(0xa0)]['selectedObjects']=this[_0x4161cf(0x68)],this['updateOutlineParameters'](_0x2cfb84),this[_0x4161cf(0xa2)][_0x4161cf(0xba)](this['outlinePass']);}this[_0x4161cf(0x6e)]&&(this['lutPass']=new LUTPass({'lut':this[_0x4161cf(0x6e)]}),this[_0x4161cf(0xa2)]['addPass'](this[_0x4161cf(0xb0)]));const _0x47e69b=this[_0x4161cf(0x79)](PostProcessStepType['Antialiasing']);if(_0x47e69b){const _0x45993e=this[_0x4161cf(0x8c)][_0x4161cf(0xb7)](new Vector2());if(_0x47e69b[_0x4161cf(0xaa)]===_0x4161cf(0x76))this['fxaaPass']=new ShaderPass(FXAAShader),this['fxaaPass']['uniforms'][_0x4161cf(0x9e)][_0x4161cf(0x80)][_0x4161cf(0x88)](0x1/_0x45993e['x'],0x1/_0x45993e['y']),this[_0x4161cf(0xa2)][_0x4161cf(0xba)](this[_0x4161cf(0xa7)]);else _0x47e69b[_0x4161cf(0xaa)]===_0x4161cf(0x92)&&(this[_0x4161cf(0x78)]=new SMAAPass(_0x45993e['x'],_0x45993e['y']),this['composer'][_0x4161cf(0xba)](this[_0x4161cf(0x78)]));}this[_0x4161cf(0x71)]=new OutputPass(),this[_0x4161cf(0xa2)]['addPass'](this[_0x4161cf(0x71)]);}[_0x3b2bff(0x6d)](_0x2d55a2,_0x46a266){const _0x22058e=_0x3b2bff;this['composer']&&this['composer'][_0x22058e(0x81)]();this[_0x22058e(0xa2)]=new EffectComposer(this[_0x22058e(0x8c)],_0x2d55a2),this[_0x22058e(0xb1)]=null,this[_0x22058e(0xa0)]=null,this[_0x22058e(0x8a)]=null,this[_0x22058e(0x6c)]=null,this[_0x22058e(0x7b)]=null,this['smaaPass']=null,this['fxaaPass']=null,this[_0x22058e(0xb0)]=null,this['outputPass']=null,this[_0x22058e(0xb1)]=new RenderPass(this[_0x22058e(0xbc)],this[_0x22058e(0x87)]),this[_0x22058e(0xa2)][_0x22058e(0xba)](this['renderPass']);for(const _0x1c3cd3 of _0x46a266){this[_0x22058e(0xa2)][_0x22058e(0xba)](_0x1c3cd3);}this['outputPass']=new OutputPass(),this['composer']['addPass'](this['outputPass']),this['markDirty']();}[_0x3b2bff(0x79)](_0x2a6c23){const _0x5623d4=_0x3b2bff;var _0x343f3a;return (_0x343f3a=this[_0x5623d4(0x8f)][_0x5623d4(0x86)][_0x5623d4(0x9c)](_0x5de278=>_0x5de278[_0x5623d4(0xb2)]===_0x2a6c23))!==null&&_0x343f3a!==void 0?_0x343f3a:null;}[_0x3b2bff(0x7f)](){const _0x5b0b8c=_0x3b2bff,_0x53ec3d=this['getStepParam'](PostProcessStepType[_0x5b0b8c(0x99)]);_0x53ec3d&&this[_0x5b0b8c(0x8a)]&&(this[_0x5b0b8c(0x8a)][_0x5b0b8c(0xae)]=_0x53ec3d['strength'],this[_0x5b0b8c(0x8a)][_0x5b0b8c(0xa3)]=_0x53ec3d[_0x5b0b8c(0xa3)],this[_0x5b0b8c(0x8a)][_0x5b0b8c(0x98)]=_0x53ec3d[_0x5b0b8c(0x98)]);const _0x2e7514=this['getStepParam'](PostProcessStepType[_0x5b0b8c(0x7e)]);if(_0x2e7514&&this['dofPass']){const _0x366999=this['dofPass'];_0x366999[_0x5b0b8c(0xb3)]&&(_0x366999[_0x5b0b8c(0xb3)]['focus'][_0x5b0b8c(0x80)]=_0x2e7514[_0x5b0b8c(0xab)],_0x366999[_0x5b0b8c(0xb3)][_0x5b0b8c(0x8d)][_0x5b0b8c(0x80)]=_0x2e7514['aperture'],_0x366999[_0x5b0b8c(0xb3)][_0x5b0b8c(0x7a)][_0x5b0b8c(0x80)]=_0x2e7514[_0x5b0b8c(0x7a)]);}const _0x1a90ae=this['getStepParam'](PostProcessStepType[_0x5b0b8c(0x94)]);_0x1a90ae&&this['gtaoPass']&&this['updateGTAOParameters'](_0x1a90ae);const _0x5c4093=this[_0x5b0b8c(0x79)](PostProcessStepType[_0x5b0b8c(0x6b)]);_0x5c4093&&this[_0x5b0b8c(0xa0)]&&this[_0x5b0b8c(0x9d)](_0x5c4093);}['updateGTAOParameters'](_0x37045e){const _0x11d451=_0x3b2bff;if(!this[_0x11d451(0x7b)])return;this['gtaoPass'][_0x11d451(0x72)]=_0x37045e[_0x11d451(0x6f)];}[_0x3b2bff(0x9d)](_0x3fd1a8){const _0x358472=_0x3b2bff;if(!this[_0x358472(0xa0)])return;this[_0x358472(0xa0)]['edgeStrength']=_0x3fd1a8['edgeStrength'],this[_0x358472(0xa0)][_0x358472(0xa6)]=_0x3fd1a8[_0x358472(0xa6)],this[_0x358472(0xa0)][_0x358472(0x82)]=_0x3fd1a8[_0x358472(0x82)],this[_0x358472(0xa0)][_0x358472(0x69)]=_0x3fd1a8[_0x358472(0x69)],this[_0x358472(0xa0)]['visibleEdgeColor']=new Color$1(_0x3fd1a8[_0x358472(0x90)]),this[_0x358472(0xa0)][_0x358472(0x66)]=new Color$1(_0x3fd1a8[_0x358472(0x66)]);}[_0x3b2bff(0xb8)](_0x14ef1a){const _0x1a7c9e=_0x3b2bff;this[_0x1a7c9e(0x8f)][_0x1a7c9e(0x86)]=_0x14ef1a,this[_0x1a7c9e(0x8e)](),this[_0x1a7c9e(0x9b)]();}[_0x3b2bff(0x93)](_0x5068f7){const _0x35376c=_0x3b2bff;!this[_0x35376c(0x68)][_0x35376c(0xb6)](_0x5068f7)&&(this[_0x35376c(0x68)][_0x35376c(0xa1)](_0x5068f7),this[_0x35376c(0xa0)]&&(this['outlinePass'][_0x35376c(0xaf)]=this[_0x35376c(0x68)])),this[_0x35376c(0x9b)]();}[_0x3b2bff(0xad)](_0x32a7c0){const _0x168b70=_0x3b2bff;this[_0x168b70(0x68)][_0x168b70(0xb5)]=0x0,this[_0x168b70(0x68)][_0x168b70(0xa1)](..._0x32a7c0),this['outlinePass']&&(this[_0x168b70(0xa0)][_0x168b70(0xaf)]=this['outlineObjects']),this[_0x168b70(0x9b)]();}[_0x3b2bff(0xa5)](_0x21c07a){const _0x14a203=_0x3b2bff,_0x4fa2b7=this[_0x14a203(0x68)][_0x14a203(0x95)](_0x21c07a);_0x4fa2b7>-1&&(this[_0x14a203(0x68)][_0x14a203(0x96)](_0x4fa2b7,0x1),this['outlinePass']&&(this[_0x14a203(0xa0)][_0x14a203(0xaf)]=this[_0x14a203(0x68)])),this['markDirty']();}[_0x3b2bff(0x70)](_0x22d041){const _0x538880=_0x3b2bff;this[_0x538880(0x6e)]=_0x22d041,this['buildPipeline'](),this[_0x538880(0x9b)]();}['getLUT3DTexture'](){return this['lut3dTexture'];}[_0x3b2bff(0xbb)](){const _0x4675b1=_0x3b2bff;if(this[_0x4675b1(0xa2)])return this['composer'][_0x4675b1(0xbb)](),!![];return ![];}[_0x3b2bff(0x83)](_0x2bb1e7,_0x4c9703){const _0x583df=_0x3b2bff;this[_0x583df(0xa2)]&&this[_0x583df(0xa2)][_0x583df(0xa9)](_0x2bb1e7,_0x4c9703),this['fxaaPass']&&this[_0x583df(0xa7)][_0x583df(0xb3)][_0x583df(0x9e)][_0x583df(0x80)]['set'](0x1/_0x2bb1e7,0x1/_0x4c9703);}[_0x3b2bff(0x75)](){const _0x33a4ca=_0x3b2bff;this[_0x33a4ca(0x68)]=[],this[_0x33a4ca(0xa0)]=null,this['bloomPass']=null,this[_0x33a4ca(0x6c)]=null,this[_0x33a4ca(0x7b)]=null,this[_0x33a4ca(0x78)]=null,this[_0x33a4ca(0xa7)]=null,this[_0x33a4ca(0xb0)]=null,this[_0x33a4ca(0x71)]=null,this[_0x33a4ca(0x6e)]=null,this[_0x33a4ca(0xa2)]&&(this['composer'][_0x33a4ca(0x81)](),this['composer']=null);}[_0x3b2bff(0x9b)](){const _0x598200=_0x3b2bff;this['onDirtyCallback']&&this[_0x598200(0x84)]();}}
|
|
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 _0x2e46b6=_0x258f;function _0x2d6f(){const _0x1ab8db=['clientHeight','getContext','createCSS3DRenderer','absolute','_renderer','className','top','6939736UdlsdQ','clientWidth','Renderer\x20is\x20not\x20initialized','world','resizeObserver','9LBijJJ','labelRenderer','background','51110uVXTMb','createUILayer','_app','render','setupPostProcess','type','isLabelRendererNeeded','969858DSDprR','pointerEvents','10OkRPbB','scene','devicePixelRatio','elementId','WebGL','setup','WebGPU','markRenderStateDirty','setToneMappingExposure','position','isUILayerNeeded','width','updateSteps','removeChild','onAfterPostProcessRender','style','100%','outer','enabled','433736mGedii','app','appendChild','createPostProcessManager','scene-css3dRenderer','isRenderStateDirty','resize','height','getElementById','remove','addOutlineObject','removeOutlineObject','setAnimationLoop','1836316gQFtuQ','1275974elRVaF','disconnect','destroyPostProcess','none','postProcessManager','_uiDom','buildCustomPostProcess','createRenderer','onWindowResize','renderer','image/jpeg','setToneMapping','zIndex','scene-labelRenderer','contentBoxSize','2343XVCXVP','updatePostProcess','803468JXFAWC','transparent','isCSS3DRendererNeeded','updateCamera','shadowMap','createElement','css3dRenderer','setShadowMapType','destroy','toneMapping','left','toneMappingExposure','setOutlineObjects','0px','_canvasContainer','9peXAiC','setClearAlpha','domElement','scene-uiLayer','div','toDataURL','_outerContainer','createLabelRenderer','canvas','setSize','querySelector','camera','.scene-uiLayer','firstChild'];_0x2d6f=function(){return _0x1ab8db;};return _0x2d6f();}function _0x258f(_0x30d2f9,_0x5340be){_0x30d2f9=_0x30d2f9-0x1f0;const _0x2d6f63=_0x2d6f();let _0x258f88=_0x2d6f63[_0x30d2f9];return _0x258f88;}(function(_0x1b2d8b,_0x15ccf3){const _0x126949=_0x258f,_0x53a654=_0x1b2d8b();while(!![]){try{const _0xaee437=parseInt(_0x126949(0x1fa))/0x1+parseInt(_0x126949(0x207))/0x2+-parseInt(_0x126949(0x242))/0x3*(parseInt(_0x126949(0x219))/0x4)+parseInt(_0x126949(0x24e))/0x5*(-parseInt(_0x126949(0x24c))/0x6)+-parseInt(_0x126949(0x208))/0x7+parseInt(_0x126949(0x23d))/0x8*(-parseInt(_0x126949(0x228))/0x9)+parseInt(_0x126949(0x245))/0xa*(parseInt(_0x126949(0x217))/0xb);if(_0xaee437===_0x15ccf3)break;else _0x53a654['push'](_0x53a654['shift']());}catch(_0x477739){_0x53a654['push'](_0x53a654['shift']());}}}(_0x2d6f,0x71805));class Viewport{get['uiDom'](){const _0x2c32e4=_0x258f;return this[_0x2c32e4(0x20d)];}get['canvas'](){const _0xf4bc7d=_0x258f;return this[_0xf4bc7d(0x22e)]||this['renderer'][_0xf4bc7d(0x22a)];}get[_0x2e46b6(0x1f8)](){const _0x2b4102=_0x2e46b6;return this[_0x2b4102(0x22e)];}get['renderer'](){const _0x404c51=_0x2e46b6;if(!this[_0x404c51(0x23a)])throw Error(_0x404c51(0x23f));return this[_0x404c51(0x23a)];}get[_0x2e46b6(0x1fb)](){const _0x4cdd12=_0x2e46b6;if(!this[_0x4cdd12(0x247)])throw Error('App\x20is\x20not\x20initialized');return this['_app'];}constructor(_0x3b3f57,_0x365e49){const _0xadaa81=_0x2e46b6;this['_uiDom']=null,this[_0xadaa81(0x23a)]=null,this[_0xadaa81(0x243)]=null,this['css3dRenderer']=null,this[_0xadaa81(0x247)]=null,this['resizeObserver']=null,this[_0xadaa81(0x22e)]=null,this[_0xadaa81(0x227)]=null,this['isRenderStateDirty']=!![],this[_0xadaa81(0x20c)]=null,this[_0xadaa81(0x247)]=_0x3b3f57,_0x365e49[_0xadaa81(0x251)]&&(this['_outerContainer']=document[_0xadaa81(0x202)](_0x365e49['elementId'])),this[_0xadaa81(0x20f)](_0x365e49['renderer'][_0xadaa81(0x24a)],_0x365e49[_0xadaa81(0x211)]['param']),_0x365e49[_0xadaa81(0x24b)]&&this['createLabelRenderer'](),_0x365e49[_0xadaa81(0x21b)]&&this[_0xadaa81(0x238)](),_0x365e49[_0xadaa81(0x1f1)]&&this['createUILayer'](),setTimeout(()=>{const _0x36c9d0=_0xadaa81;var _0x4e39c0;this[_0x36c9d0(0x249)]((_0x4e39c0=_0x365e49['postProcess'])!==null&&_0x4e39c0!==void 0?_0x4e39c0:{'steps':[]});},0x32),this['_outerContainer']&&(this[_0xadaa81(0x241)]=new ResizeObserver(_0x13135a=>{const _0xb42b64=_0xadaa81;for(let _0x37ab04 of _0x13135a){_0x37ab04[_0xb42b64(0x216)]&&this[_0xb42b64(0x210)]();}}),this[_0xadaa81(0x241)]['observe'](this[_0xadaa81(0x22e)])),this[_0xadaa81(0x1fb)]['onCameraChangedDelegate']['add'](()=>{const _0x36eefe=_0xadaa81;this[_0x36eefe(0x20c)]&&(this[_0x36eefe(0x20c)][_0x36eefe(0x21c)](this[_0x36eefe(0x1fb)][_0x36eefe(0x233)]),this['postProcessManager'][_0x36eefe(0x253)]());});}['createRenderer'](_0xce95ca,_0x4d0ff6){const _0x525de4=_0x2e46b6,_0x29e272=this[_0x525de4(0x22e)];this[_0x525de4(0x23a)]&&(_0x29e272&&_0x29e272['removeChild'](this['_renderer'][_0x525de4(0x22a)]),this[_0x525de4(0x23a)]['dispose']());let _0x430018=_0x29e272?_0x29e272[_0x525de4(0x23e)]:0x200,_0xdead9=_0x29e272?_0x29e272['clientHeight']:0x200;switch(_0xce95ca){case RendererType[_0x525de4(0x254)]:this[_0x525de4(0x23a)]=new WebGPURenderer(_0x4d0ff6);break;case RendererType[_0x525de4(0x252)]:this[_0x525de4(0x23a)]=new WebGLRenderer(_0x4d0ff6);break;}this[_0x525de4(0x23a)]['setPixelRatio'](window[_0x525de4(0x250)]),this[_0x525de4(0x23a)][_0x525de4(0x231)](_0x430018,_0xdead9),this['_renderer']['shadowMap'][_0x525de4(0x1f9)]=!![],this[_0x525de4(0x23a)][_0x525de4(0x21d)][_0x525de4(0x24a)]=0x1,this['_renderer'][_0x525de4(0x222)]=0x0,this[_0x525de4(0x23a)][_0x525de4(0x224)]=0x1,this['_renderer'][_0x525de4(0x229)](0x0),this['_renderer']['domElement'][_0x525de4(0x1f6)]['position']=_0x525de4(0x239),this['_renderer'][_0x525de4(0x22a)][_0x525de4(0x1f6)]['left']='0',this['_renderer']['domElement'][_0x525de4(0x1f6)]['top']='0',this['_renderer'][_0x525de4(0x22a)]['style'][_0x525de4(0x214)]='20',this[_0x525de4(0x23a)]['domElement'][_0x525de4(0x1f6)][_0x525de4(0x244)]=_0x525de4(0x21a),this[_0x525de4(0x23a)][_0x525de4(0x22a)]['style']['pointerEvents']='none',_0x29e272&&_0x29e272[_0x525de4(0x1fc)](this[_0x525de4(0x23a)]['domElement']);}[_0x2e46b6(0x22f)](){const _0x1163bb=_0x2e46b6,_0x596c5c=this[_0x1163bb(0x22e)];this[_0x1163bb(0x243)]&&(_0x596c5c&&_0x596c5c[_0x1163bb(0x1f4)](this[_0x1163bb(0x243)][_0x1163bb(0x22a)]));let _0x4f1321=_0x596c5c?_0x596c5c[_0x1163bb(0x23e)]:0x200,_0x4a5748=_0x596c5c?_0x596c5c[_0x1163bb(0x236)]:0x200;this[_0x1163bb(0x243)]=new CSS2DRenderer(),this[_0x1163bb(0x243)]['setSize'](_0x4f1321,_0x4a5748),this['labelRenderer']['domElement'][_0x1163bb(0x1f6)][_0x1163bb(0x24d)]='none',this[_0x1163bb(0x243)]['domElement']['style'][_0x1163bb(0x1f0)]=_0x1163bb(0x239),this['labelRenderer']['domElement'][_0x1163bb(0x1f6)][_0x1163bb(0x23c)]=_0x1163bb(0x226),this[_0x1163bb(0x243)][_0x1163bb(0x22a)]['className']=_0x1163bb(0x215),this[_0x1163bb(0x243)][_0x1163bb(0x22a)][_0x1163bb(0x1f6)]['zIndex']='30',_0x596c5c&&_0x596c5c[_0x1163bb(0x1fc)](this[_0x1163bb(0x243)][_0x1163bb(0x22a)]);}[_0x2e46b6(0x238)](){const _0x2deb1a=_0x2e46b6,_0x4d429e=this[_0x2deb1a(0x22e)];this[_0x2deb1a(0x21f)]&&(_0x4d429e&&_0x4d429e[_0x2deb1a(0x1f4)](this[_0x2deb1a(0x21f)]['domElement']));let _0x3753f4=_0x4d429e?_0x4d429e[_0x2deb1a(0x23e)]:0x200,_0x25eb12=_0x4d429e?_0x4d429e[_0x2deb1a(0x236)]:0x200;this['css3dRenderer']=new CSS3DRenderer(),this[_0x2deb1a(0x21f)][_0x2deb1a(0x231)](_0x3753f4,_0x25eb12),this[_0x2deb1a(0x21f)][_0x2deb1a(0x22a)]['style'][_0x2deb1a(0x24d)]=_0x2deb1a(0x20b),this['css3dRenderer']['domElement'][_0x2deb1a(0x1f6)][_0x2deb1a(0x1f0)]=_0x2deb1a(0x239),this['css3dRenderer'][_0x2deb1a(0x22a)]['style'][_0x2deb1a(0x223)]=_0x2deb1a(0x226),this['css3dRenderer'][_0x2deb1a(0x22a)][_0x2deb1a(0x1f6)][_0x2deb1a(0x23c)]=_0x2deb1a(0x226),this[_0x2deb1a(0x21f)][_0x2deb1a(0x22a)][_0x2deb1a(0x1f6)][_0x2deb1a(0x214)]='0',this[_0x2deb1a(0x21f)][_0x2deb1a(0x22a)][_0x2deb1a(0x23b)]=_0x2deb1a(0x1fe),_0x4d429e&&_0x4d429e['insertBefore'](this[_0x2deb1a(0x21f)][_0x2deb1a(0x22a)],_0x4d429e[_0x2deb1a(0x235)]);}[_0x2e46b6(0x246)](){const _0x583716=_0x2e46b6;if(!this['_outerContainer'])return;let _0x14b369=this[_0x583716(0x22e)][_0x583716(0x232)](_0x583716(0x234));!_0x14b369&&(_0x14b369=document[_0x583716(0x21e)](_0x583716(0x22c)),_0x14b369[_0x583716(0x23b)]=_0x583716(0x22b),_0x14b369['id']=_0x583716(0x22b),_0x14b369[_0x583716(0x1f6)][_0x583716(0x1f0)]=_0x583716(0x239),_0x14b369[_0x583716(0x1f6)]['left']='0',_0x14b369[_0x583716(0x1f6)][_0x583716(0x23c)]='0',_0x14b369[_0x583716(0x1f6)]['width']=_0x583716(0x1f7),_0x14b369[_0x583716(0x1f6)][_0x583716(0x201)]=_0x583716(0x1f7),_0x14b369[_0x583716(0x1f6)][_0x583716(0x24d)]='none',_0x14b369[_0x583716(0x1f6)][_0x583716(0x214)]='10',this['_outerContainer'][_0x583716(0x1fc)](_0x14b369),this[_0x583716(0x20d)]=_0x14b369);}['init'](){}[_0x2e46b6(0x20e)](_0x3ab089,_0x27e4a9){const _0x8dbda0=_0x2e46b6;this[_0x8dbda0(0x20c)]instanceof WebGLPostProcessManager&&this[_0x8dbda0(0x20c)][_0x8dbda0(0x20e)](_0x3ab089,_0x27e4a9);}[_0x2e46b6(0x249)](_0x344936){const _0x4c8af2=_0x2e46b6;!this[_0x4c8af2(0x20c)]&&(this[_0x4c8af2(0x20c)]=this[_0x4c8af2(0x1fd)](_0x344936)),this[_0x4c8af2(0x20c)][_0x4c8af2(0x253)]();}[_0x2e46b6(0x1fd)](_0x2bf228){const _0xda926d=_0x2e46b6;return this['renderer']instanceof WebGLRenderer?new WebGLPostProcessManager(this['renderer'],this[_0xda926d(0x1fb)][_0xda926d(0x240)][_0xda926d(0x24f)],this[_0xda926d(0x1fb)][_0xda926d(0x233)],_0x2bf228,()=>this[_0xda926d(0x255)]()):new PostProcessManager(this[_0xda926d(0x211)],this['app'][_0xda926d(0x240)][_0xda926d(0x24f)],this['app'][_0xda926d(0x233)],_0x2bf228,()=>this[_0xda926d(0x255)]());}[_0x2e46b6(0x218)](_0x5933a5){const _0x28e12e=_0x2e46b6;this[_0x28e12e(0x20c)]&&this['postProcessManager'][_0x28e12e(0x1f3)](_0x5933a5);}[_0x2e46b6(0x204)](_0x4b9cf6){const _0x268558=_0x2e46b6;this[_0x268558(0x20c)]&&this[_0x268558(0x20c)][_0x268558(0x204)](_0x4b9cf6);}[_0x2e46b6(0x225)](_0x18d7ff){const _0x237572=_0x2e46b6;this['postProcessManager']&&this[_0x237572(0x20c)]['setOutlineObjects'](_0x18d7ff);}[_0x2e46b6(0x205)](_0x22c1d3){const _0x544277=_0x2e46b6;this[_0x544277(0x20c)]&&this[_0x544277(0x20c)][_0x544277(0x205)](_0x22c1d3);}[_0x2e46b6(0x20a)](){const _0x553a15=_0x2e46b6;this[_0x553a15(0x20c)]&&(this[_0x553a15(0x20c)][_0x553a15(0x221)](),this[_0x553a15(0x20c)]=null);}[_0x2e46b6(0x210)](){const _0x1e7c58=_0x2e46b6;let _0x52ef1c=this[_0x1e7c58(0x22e)];if(!_0x52ef1c)return;this[_0x1e7c58(0x1fb)]['onWindowResize'](_0x52ef1c['clientWidth'],_0x52ef1c[_0x1e7c58(0x236)]),this['renderer']['setSize'](_0x52ef1c[_0x1e7c58(0x23e)],_0x52ef1c['clientHeight']);if(this[_0x1e7c58(0x243)])this[_0x1e7c58(0x243)][_0x1e7c58(0x231)](_0x52ef1c[_0x1e7c58(0x23e)],_0x52ef1c[_0x1e7c58(0x236)]);if(this['css3dRenderer'])this[_0x1e7c58(0x21f)][_0x1e7c58(0x231)](_0x52ef1c[_0x1e7c58(0x23e)],_0x52ef1c[_0x1e7c58(0x236)]);this['postProcessManager']&&_0x1e7c58(0x200)in this[_0x1e7c58(0x20c)]&&this['postProcessManager']['resize'](_0x52ef1c[_0x1e7c58(0x23e)],_0x52ef1c[_0x1e7c58(0x236)]),this[_0x1e7c58(0x255)]();}[_0x2e46b6(0x255)](){const _0x185fd8=_0x2e46b6;this[_0x185fd8(0x1ff)]=!![];}[_0x2e46b6(0x248)](){const _0x30b937=_0x2e46b6;if(!this[_0x30b937(0x1ff)])return;if(this['postProcessManager']&&this[_0x30b937(0x20c)][_0x30b937(0x248)]());else this[_0x30b937(0x211)][_0x30b937(0x248)](this[_0x30b937(0x1fb)]['world'][_0x30b937(0x24f)],this[_0x30b937(0x1fb)]['camera']);this[_0x30b937(0x1f5)](),this['labelRenderer']&&this['labelRenderer'][_0x30b937(0x248)](this[_0x30b937(0x1fb)]['world'][_0x30b937(0x24f)],this['app'][_0x30b937(0x233)]),this[_0x30b937(0x21f)]&&this[_0x30b937(0x21f)][_0x30b937(0x248)](this[_0x30b937(0x1fb)][_0x30b937(0x240)][_0x30b937(0x24f)],this[_0x30b937(0x1fb)][_0x30b937(0x233)]),this[_0x30b937(0x1ff)]=![];}['onAfterPostProcessRender'](){}async['renderAsImage'](_0x50923b=0x400,_0x1f54a3=0x400){const _0x2a5960=_0x2e46b6;try{if(this[_0x2a5960(0x20c)]&&this[_0x2a5960(0x20c)][_0x2a5960(0x248)]()){}else await this['renderer'][_0x2a5960(0x248)](this[_0x2a5960(0x1fb)]['world'][_0x2a5960(0x24f)],this[_0x2a5960(0x1fb)][_0x2a5960(0x233)]);const _0x3ca7be=this['renderer'][_0x2a5960(0x22a)][_0x2a5960(0x1f2)],_0x251b65=this['renderer'][_0x2a5960(0x22a)]['height'];let _0x31e41f=_0x3ca7be||_0x50923b,_0x2f006f=_0x251b65||_0x1f54a3;(_0x31e41f<=0x0||_0x2f006f<=0x0)&&(_0x31e41f=_0x50923b,_0x2f006f=_0x1f54a3);const _0x40c450=document[_0x2a5960(0x21e)](_0x2a5960(0x230));_0x40c450[_0x2a5960(0x1f2)]=_0x50923b,_0x40c450[_0x2a5960(0x201)]=_0x1f54a3;const _0x56bb18=_0x40c450[_0x2a5960(0x237)]('2d');if(!_0x56bb18)throw Error('Can\x20not\x20create\x20context');_0x56bb18['drawImage'](this[_0x2a5960(0x211)][_0x2a5960(0x22a)],0x0,0x0,_0x31e41f,_0x2f006f,0x0,0x0,_0x50923b,_0x1f54a3);const _0x224ae5=_0x40c450[_0x2a5960(0x22d)](_0x2a5960(0x212));return _0x40c450['remove'](),_0x224ae5;}catch(_0x4a14c3){return '';}}['setShadowMapEnabled'](_0x36243e){const _0x239d13=_0x2e46b6;if(!this[_0x239d13(0x23a)])return;this[_0x239d13(0x23a)]['shadowMap'][_0x239d13(0x1f9)]=_0x36243e;}[_0x2e46b6(0x220)](_0x546d95){const _0x12c195=_0x2e46b6;if(!this[_0x12c195(0x23a)])return;this[_0x12c195(0x23a)][_0x12c195(0x21d)][_0x12c195(0x24a)]=_0x546d95;}[_0x2e46b6(0x213)](_0x3cdbfc){const _0xe533b9=_0x2e46b6;if(!this['_renderer'])return;this[_0xe533b9(0x23a)]['toneMapping']=_0x3cdbfc;}[_0x2e46b6(0x256)](_0x3682b7){const _0x475908=_0x2e46b6;if(!this[_0x475908(0x23a)])return;this[_0x475908(0x23a)][_0x475908(0x224)]=_0x3682b7;}['destroy'](){const _0xb31388=_0x2e46b6;this[_0xb31388(0x20a)](),this[_0xb31388(0x211)][_0xb31388(0x206)](null),this[_0xb31388(0x241)]&&(this[_0xb31388(0x241)][_0xb31388(0x209)](),this[_0xb31388(0x241)]=null),this[_0xb31388(0x243)]&&(this[_0xb31388(0x243)][_0xb31388(0x22a)][_0xb31388(0x203)](),this['labelRenderer']=null),this[_0xb31388(0x23a)]&&(this[_0xb31388(0x211)][_0xb31388(0x22a)][_0xb31388(0x203)](),this[_0xb31388(0x23a)]['dispose'](),this[_0xb31388(0x23a)]=null),this[_0xb31388(0x227)]&&(this[_0xb31388(0x227)]['remove'](),this[_0xb31388(0x227)]=null),this[_0xb31388(0x22e)]=null,this['_app']=null;}}
|
|
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 _0x367bac=_0x3bc6;function _0x4e0a(){const _0x1f408e=['3228705ryBPaG','childActors','setQuaternion','detachComponent','KeepWorld','userData','9279pIgbfO','onAddedToWorld','delete','onClickDelegate','rootComponent','getChildActorsByIds','forEach','6111370sGxxEp','Actor','max','markRenderStateDirty','_rootComponent','addChildComponent','attachComponent','getBoundsCenterPosition','setRotation','parentActor','getPosition','48DlDPkA','setWorldMatrix','push','getWorldQuaternion','onActorClick','85194OsLToc','setScale','getWorldRightDirection','uuid','getComponentById','isHoverEnabled','getBounds','getBoundsTopCenterPosition','getCenter','getBoundsBottomCenterPosition','onRemovedFromWorld','destroyChildren','world','_name','getWorldMatrix','_onClickDelegate','size','setPosition','getScale','getWorldUpDirection','detachFromParentComponent','setLayers','setVisible','broadcast','length','onActorDoubleClick','app','tick','4eastHJ','sub','threeObject','onHoverEndDelegate','16624BEdzsX','_world','onActorHoverBegin','constructRootComponent','name','landToGround','parent','getWorldForwardDirection','error','addChildActor','9448iGovvh','21047587vKJBGg','min','localToWorld','childrenComponents','clearComponent','isClickEnabled','119nQCaWR','addTickableActor','destroy','KeepRelative','isVisible','worldToLocal','_onHoverBeginDelegate','getWorldRotation','getRotation','removeChildComponent','getWorldPosition','removeTickableActor','viewport','_onDoubleClickDelegate','isTickEnabled','removeComponent','onActorHoverEnd','removeChildActor','getChildActorById','3606710zjBKCy','getQuaternion','children','LYObject'];_0x4e0a=function(){return _0x1f408e;};return _0x4e0a();}(function(_0x314484,_0x35e3ba){const _0x265fa7=_0x3bc6,_0x3963ea=_0x314484();while(!![]){try{const _0x2f8ef2=parseInt(_0x265fa7(0x208))/0x1*(-parseInt(_0x265fa7(0x1e3))/0x2)+parseInt(_0x265fa7(0x1cb))/0x3+-parseInt(_0x265fa7(0x204))/0x4*(parseInt(_0x265fa7(0x1d8))/0x5)+parseInt(_0x265fa7(0x1e8))/0x6*(parseInt(_0x265fa7(0x1b4))/0x7)+parseInt(_0x265fa7(0x1ad))/0x8*(-parseInt(_0x265fa7(0x1d1))/0x9)+parseInt(_0x265fa7(0x1c7))/0xa+parseInt(_0x265fa7(0x1ae))/0xb;if(_0x2f8ef2===_0x35e3ba)break;else _0x3963ea['push'](_0x3963ea['shift']());}catch(_0x520fae){_0x3963ea['push'](_0x3963ea['shift']());}}}(_0x4e0a,0xb7ccd));function _0x3bc6(_0x589e78,_0x13d059){_0x589e78=_0x589e78-0x1a6;const _0x4e0ab9=_0x4e0a();let _0x3bc61e=_0x4e0ab9[_0x589e78];return _0x3bc61e;}class Actor extends BaseObject{get[_0x367bac(0x1f4)](){const _0x101d74=_0x367bac;return this[_0x101d74(0x209)];}get['name'](){return this['_name'];}set[_0x367bac(0x1a7)](_0x973e7d){const _0x5644af=_0x367bac;this[_0x5644af(0x1f5)]=_0x973e7d;}get[_0x367bac(0x1d5)](){const _0x4cdfc5=_0x367bac;if(!this[_0x4cdfc5(0x1dc)])throw Error('rootComponent\x20is\x20invalid');return this[_0x4cdfc5(0x1dc)];}set[_0x367bac(0x1d5)](_0x1aa32d){const _0xb8d95=_0x367bac;_0x1aa32d[_0xb8d95(0x1fc)](),_0x1aa32d[_0xb8d95(0x1e1)]=this;if(this['_rootComponent']){let _0x466e70=this[_0xb8d95(0x1d5)][_0xb8d95(0x1b1)];for(let _0x24d9dd=0x0;_0x24d9dd<_0x466e70[_0xb8d95(0x200)];++_0x24d9dd){_0x1aa32d['addChildComponent'](_0x466e70[_0x24d9dd]);}this[_0xb8d95(0x1d5)][_0xb8d95(0x1b6)]();}this[_0xb8d95(0x1dc)]=_0x1aa32d;}get[_0x367bac(0x1b1)](){const _0x3db0bf=_0x367bac;return this[_0x3db0bf(0x1d5)][_0x3db0bf(0x1b1)];}get[_0x367bac(0x1cc)](){const _0x489875=_0x367bac;var _0x3d9ec9;let _0x4d65f7=[];return (_0x3d9ec9=this[_0x489875(0x1d5)][_0x489875(0x206)])===null||_0x3d9ec9===void 0?void 0:_0x3d9ec9[_0x489875(0x1c9)][_0x489875(0x1d7)](_0xc9b174=>{const _0x358350=_0x489875;var _0x51bf8e;let _0x1078fc=(_0x51bf8e=_0xc9b174[_0x358350(0x1d0)][_0x358350(0x1ca)])===null||_0x51bf8e===void 0?void 0:_0x51bf8e['parentActor'];_0x1078fc!==this&&_0x1078fc instanceof Actor&&_0x4d65f7[_0x358350(0x1e5)](_0x1078fc);}),_0x4d65f7;}get[_0x367bac(0x1e1)](){const _0x480531=_0x367bac;var _0x1d6216,_0x5034c5,_0x4dfb86;let _0x1b7acf=(_0x4dfb86=(_0x5034c5=(_0x1d6216=this[_0x480531(0x1d5)]['threeObject'])===null||_0x1d6216===void 0?void 0:_0x1d6216[_0x480531(0x1a9)])===null||_0x5034c5===void 0?void 0:_0x5034c5[_0x480531(0x1d0)][_0x480531(0x1ca)])===null||_0x4dfb86===void 0?void 0:_0x4dfb86[_0x480531(0x1e1)];return _0x1b7acf===this?null:_0x1b7acf;}get[_0x367bac(0x1b8)](){const _0xe64132=_0x367bac;return this[_0xe64132(0x1d5)]?this['rootComponent']['isVisible']:![];}get[_0x367bac(0x1c2)](){return super['isTickEnabled'];}set['isTickEnabled'](_0x5217b7){const _0x575261=_0x367bac;super[_0x575261(0x1c2)]=_0x5217b7,this['isTickEnabled']?this[_0x575261(0x202)][_0x575261(0x1f4)][_0x575261(0x1b5)](this):this[_0x575261(0x202)][_0x575261(0x1f4)][_0x575261(0x1bf)](this);}get['onHoverBeginDelegate'](){return this['_onHoverBeginDelegate'];}get[_0x367bac(0x207)](){return this['_onHoverEndDelegate'];}get[_0x367bac(0x1d4)](){const _0x143b88=_0x367bac;return this[_0x143b88(0x1f7)];}get['onDoubleClickDelegate'](){const _0x42fdd6=_0x367bac;return this[_0x42fdd6(0x1c1)];}constructor(_0x1db6b6,_0x37b1fc){const _0x236c96=_0x367bac;super(_0x37b1fc),this[_0x236c96(0x1f5)]=_0x236c96(0x1d9),this[_0x236c96(0x1dc)]=null,this[_0x236c96(0x209)]=null,this['_onHoverBeginDelegate']=new Delegate(),this['_onHoverEndDelegate']=new Delegate(),this[_0x236c96(0x1f7)]=new Delegate(),this[_0x236c96(0x1c1)]=new Delegate(),this[_0x236c96(0x202)]=_0x1db6b6,this[_0x236c96(0x1d5)]=this['constructRootComponent'](),this[_0x236c96(0x1d5)]['parentActor']=this;}[_0x367bac(0x1a6)](){const _0x6c20cd=_0x367bac;return new SceneComponent(this[_0x6c20cd(0x202)]);}[_0x367bac(0x1df)](_0x3d16e8=!![]){const _0x5174af=_0x367bac;let _0x187e97=new Vector3();return this['getBounds']()['getCenter'](_0x187e97),!_0x3d16e8?_0x187e97[_0x5174af(0x205)](this[_0x5174af(0x1e2)]()):_0x187e97;}[_0x367bac(0x1c6)](_0x59e826,_0x292f82=!![]){const _0x2f1fe1=_0x367bac,_0x4584e1=this['childActors'];for(const _0x4b96c2 of _0x4584e1){if(_0x4b96c2[_0x2f1fe1(0x1eb)]===_0x59e826)return _0x4b96c2;}if(_0x292f82)for(const _0x5deac0 of _0x4584e1){const _0x917c56=_0x5deac0[_0x2f1fe1(0x1c6)](_0x59e826,!![]);if(_0x917c56)return _0x917c56;}return null;}['getChildActorsByIds'](_0x381063,_0x32f036=!![]){const _0x4154df=_0x367bac,_0x1f8113=[],_0x24d019=new Set(_0x381063),_0x996647=this[_0x4154df(0x1cc)];for(const _0x49d0a0 of _0x996647){_0x24d019['has'](_0x49d0a0[_0x4154df(0x1eb)])&&(_0x1f8113[_0x4154df(0x1e5)](_0x49d0a0),_0x24d019['delete'](_0x49d0a0['uuid']));}if(_0x32f036&&_0x24d019[_0x4154df(0x1f8)]>0x0)for(const _0x29bb9b of _0x996647){const _0x442ddc=_0x29bb9b[_0x4154df(0x1d6)]([..._0x24d019],!![]);for(const _0xab0373 of _0x442ddc){_0x1f8113[_0x4154df(0x1e5)](_0xab0373),_0x24d019[_0x4154df(0x1d3)](_0xab0373[_0x4154df(0x1eb)]);}if(_0x24d019[_0x4154df(0x1f8)]===0x0)break;}return _0x1f8113;}[_0x367bac(0x1ec)](_0x4b3477){const _0x1e6585=_0x367bac;return this['rootComponent'][_0x1e6585(0x1ec)](_0x4b3477);}[_0x367bac(0x1ef)](_0x574931=!![]){const _0x100c8d=_0x367bac;let _0x81c248=new Vector3(),_0x3c6aad=this[_0x100c8d(0x1d5)][_0x100c8d(0x1ee)]();return _0x3c6aad[_0x100c8d(0x1f0)](_0x81c248),_0x81c248['y']=_0x3c6aad[_0x100c8d(0x1da)]['y'],!_0x574931?_0x81c248[_0x100c8d(0x205)](this['getPosition']()):_0x81c248;}[_0x367bac(0x1f1)](_0x47f899=!![]){const _0x48ff89=_0x367bac;let _0x4f1985=new Vector3(),_0x5a87cb=this[_0x48ff89(0x1ee)]();return _0x5a87cb[_0x48ff89(0x1f0)](_0x4f1985),_0x4f1985['y']=_0x5a87cb[_0x48ff89(0x1af)]['y'],!_0x47f899?_0x4f1985[_0x48ff89(0x205)](this[_0x48ff89(0x1e2)]()):_0x4f1985;}[_0x367bac(0x1ee)](){return this['rootComponent']['getBounds']();}['destroy'](){const _0x20a7c1=_0x367bac;let _0x3a9321=this[_0x20a7c1(0x1cc)];_0x3a9321[_0x20a7c1(0x1d7)](_0xa1f0f6=>{const _0x452fce=_0x20a7c1;_0xa1f0f6[_0x452fce(0x1b6)]();}),this[_0x20a7c1(0x1d5)][_0x20a7c1(0x1b6)]();}[_0x367bac(0x1fe)](_0x3ff690){const _0x304b0c=_0x367bac;this[_0x304b0c(0x1d5)]['setVisible'](_0x3ff690);}[_0x367bac(0x1fd)](_0x3ff2fa,_0x40f621=!![]){const _0x4f69ec=_0x367bac;this[_0x4f69ec(0x1d5)][_0x4f69ec(0x1fd)](_0x3ff2fa),_0x40f621&&this[_0x4f69ec(0x1cc)]['forEach'](_0xf88447=>{const _0x5d6bcd=_0x4f69ec;_0xf88447[_0x5d6bcd(0x1fd)](_0x3ff2fa,_0x40f621);});}[_0x367bac(0x203)](_0x12236e){const _0x4409df=_0x367bac;if(!this[_0x4409df(0x1c2)])return;super[_0x4409df(0x203)](_0x12236e),this[_0x4409df(0x1d5)][_0x4409df(0x203)](_0x12236e);}[_0x367bac(0x1e2)](){const _0x59b266=_0x367bac;return this[_0x59b266(0x1d5)][_0x59b266(0x1e2)]();}[_0x367bac(0x1f9)](..._0x598420){const _0xecdeb1=_0x367bac;_0x598420[_0xecdeb1(0x200)]===0x1?this['rootComponent'][_0xecdeb1(0x1f9)](_0x598420[0x0]):this[_0xecdeb1(0x1d5)][_0xecdeb1(0x1f9)](_0x598420[0x0],_0x598420[0x1],_0x598420[0x2]);}[_0x367bac(0x1bc)](){const _0x29a211=_0x367bac;return this[_0x29a211(0x1d5)][_0x29a211(0x1bc)]();}[_0x367bac(0x1e0)](..._0x4d5ba1){const _0x5c38f1=_0x367bac;_0x4d5ba1[_0x5c38f1(0x200)]===0x1?this[_0x5c38f1(0x1d5)][_0x5c38f1(0x1e0)](_0x4d5ba1[0x0]):this[_0x5c38f1(0x1d5)][_0x5c38f1(0x1e0)](_0x4d5ba1[0x0],_0x4d5ba1[0x1],_0x4d5ba1[0x2]);}[_0x367bac(0x1c8)](){const _0x5ce53e=_0x367bac;return this[_0x5ce53e(0x1d5)][_0x5ce53e(0x1c8)]();}[_0x367bac(0x1cd)](..._0x4e832e){const _0x52c58a=_0x367bac;_0x4e832e[_0x52c58a(0x200)]===0x1?this[_0x52c58a(0x1d5)]['setQuaternion'](_0x4e832e[0x0]):this[_0x52c58a(0x1d5)][_0x52c58a(0x1cd)](_0x4e832e[0x0],_0x4e832e[0x1],_0x4e832e[0x2],_0x4e832e[0x3]);}[_0x367bac(0x1fa)](){const _0x470bb2=_0x367bac;return this[_0x470bb2(0x1d5)][_0x470bb2(0x1fa)]();}[_0x367bac(0x1e9)](..._0x197e96){const _0x5a8f26=_0x367bac;_0x197e96[_0x5a8f26(0x200)]===0x1?this['rootComponent'][_0x5a8f26(0x1e9)](_0x197e96[0x0]):this['rootComponent'][_0x5a8f26(0x1e9)](_0x197e96[0x0],_0x197e96[0x1],_0x197e96[0x2]);}['getWorldMatrix'](){const _0x4fead4=_0x367bac;return this[_0x4fead4(0x1d5)][_0x4fead4(0x1f6)]();}[_0x367bac(0x1e4)](_0x44e1b7){const _0x2a6869=_0x367bac;this[_0x2a6869(0x1d5)][_0x2a6869(0x1e4)](_0x44e1b7);}[_0x367bac(0x1be)](){const _0x1dc22a=_0x367bac;return this[_0x1dc22a(0x1d5)]['getWorldPosition']();}[_0x367bac(0x1bb)](){const _0x12516f=_0x367bac;return this[_0x12516f(0x1d5)][_0x12516f(0x1bb)]();}[_0x367bac(0x1e6)](){const _0x2c8010=_0x367bac;return this[_0x2c8010(0x1d5)][_0x2c8010(0x1e6)]();}['getWorldScale'](){const _0x4032f5=_0x367bac;return this[_0x4032f5(0x1d5)]['getWorldScale']();}[_0x367bac(0x1aa)](){const _0xcacb72=_0x367bac;return this[_0xcacb72(0x1d5)]['getWorldForwardDirection']();}[_0x367bac(0x1fb)](){const _0x3e4c3d=_0x367bac;return this['rootComponent'][_0x3e4c3d(0x1fb)]();}[_0x367bac(0x1ea)](){const _0x3a625c=_0x367bac;return this[_0x3a625c(0x1d5)]['getWorldRightDirection']();}['addLocalOffset'](_0x478675,_0x2cd16a){const _0x1212fb=_0x367bac;let _0x75639b=this[_0x1212fb(0x1e2)]();this[_0x1212fb(0x1f9)](_0x75639b['x']+_0x478675['x']*_0x2cd16a,_0x75639b['y']+_0x478675['y']*_0x2cd16a,_0x75639b['z']+_0x478675['z']*_0x2cd16a);}[_0x367bac(0x1b9)](_0x54d743){const _0x25ec52=_0x367bac;return this[_0x25ec52(0x1d5)]['worldToLocal'](_0x54d743);}['localToWorld'](_0x33100d){const _0x1334c8=_0x367bac;return this[_0x1334c8(0x1d5)][_0x1334c8(0x1b0)](_0x33100d);}['getComponents'](){const _0x27d5df=_0x367bac;return this[_0x27d5df(0x1d5)][_0x27d5df(0x1b1)];}['addComponent'](_0x1a310c,_0x40894c=AttachmentRules[_0x367bac(0x1b7)]){const _0x440a58=_0x367bac;this[_0x440a58(0x1d5)][_0x440a58(0x1dd)](_0x1a310c,_0x40894c),this[_0x440a58(0x209)]&&_0x1a310c['onAddedToWorld'](this[_0x440a58(0x209)]);}[_0x367bac(0x1c3)](_0x101885){const _0x240708=_0x367bac;if(_0x101885===this[_0x240708(0x1dc)])return;this[_0x240708(0x1d5)][_0x240708(0x1bd)](_0x101885);}[_0x367bac(0x1b2)](){const _0x3baa94=_0x367bac;this[_0x3baa94(0x1d5)][_0x3baa94(0x1f3)]();}[_0x367bac(0x1ac)](_0x15e55a,_0x543eca=AttachmentRules[_0x367bac(0x1cf)]){const _0x5d2a95=_0x367bac;if(!_0x15e55a['rootComponent']){console[_0x5d2a95(0x1ab)]('Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent');return;}if(_0x15e55a['parentActor']===this)return;_0x543eca===AttachmentRules['KeepRelative']&&this[_0x5d2a95(0x1d5)]['attachComponent'](_0x15e55a[_0x5d2a95(0x1d5)]);if(_0x543eca===AttachmentRules[_0x5d2a95(0x1cf)]){let _0x850b2f=_0x15e55a[_0x5d2a95(0x1f6)]();this['rootComponent'][_0x5d2a95(0x1de)](_0x15e55a['rootComponent']),_0x15e55a[_0x5d2a95(0x1e4)](_0x850b2f);}this[_0x5d2a95(0x209)]&&this[_0x5d2a95(0x209)][_0x5d2a95(0x1c0)][_0x5d2a95(0x1db)]();}[_0x367bac(0x1c5)](_0x1b7350){const _0x352f05=_0x367bac;let _0x3a53e6=_0x1b7350[_0x352f05(0x1f6)]();this['rootComponent'][_0x352f05(0x1ce)](_0x1b7350[_0x352f05(0x1d5)]),_0x1b7350[_0x352f05(0x1e4)](_0x3a53e6);}['removeFromParent'](){const _0xd0e705=_0x367bac;this[_0xd0e705(0x1e1)]&&this[_0xd0e705(0x1e1)][_0xd0e705(0x1c5)](this);}[_0x367bac(0x1d2)](_0x13b83e){const _0x3d3a0e=_0x367bac;this[_0x3d3a0e(0x209)]=_0x13b83e,this[_0x3d3a0e(0x1d5)][_0x3d3a0e(0x1d2)](this[_0x3d3a0e(0x209)]),this[_0x3d3a0e(0x1cc)][_0x3d3a0e(0x1d7)](_0xcaab1=>{const _0x2020f7=_0x3d3a0e;_0xcaab1[_0x2020f7(0x1d2)](_0x13b83e);});}[_0x367bac(0x1f2)](){const _0x50e813=_0x367bac;this[_0x50e813(0x209)]=null;}get[_0x367bac(0x1ed)](){const _0x5d050c=_0x367bac;return this[_0x5d050c(0x1d5)][_0x5d050c(0x1ed)];}set[_0x367bac(0x1ed)](_0x15caad){const _0x1f023a=_0x367bac;this[_0x1f023a(0x1d5)][_0x1f023a(0x1ed)]=_0x15caad;}get[_0x367bac(0x1b3)](){const _0x2f6bca=_0x367bac;return this[_0x2f6bca(0x1d5)][_0x2f6bca(0x1b3)];}set[_0x367bac(0x1b3)](_0x294952){const _0xaee372=_0x367bac;this[_0xaee372(0x1d5)][_0xaee372(0x1b3)]=_0x294952;}[_0x367bac(0x20a)](_0x2b17df){const _0x545a8e=_0x367bac;this[_0x545a8e(0x1ba)][_0x545a8e(0x1ff)](_0x2b17df);}[_0x367bac(0x1c4)](_0x18e88d){this['_onHoverEndDelegate']['broadcast'](_0x18e88d);}[_0x367bac(0x1e7)](_0x2d6035){this['_onClickDelegate']['broadcast'](_0x2d6035);}[_0x367bac(0x201)](_0x17b3af){const _0xa9962b=_0x367bac;this['_onDoubleClickDelegate'][_0xa9962b(0x1ff)](_0x17b3af);}[_0x367bac(0x1a8)](){}}
|
|
85
85
|
|
|
86
|
-
var
|
|
86
|
+
var _0xcd5e52=_0x1e53;(function(_0x5bcd66,_0x40ad9e){var _0x22087e=_0x1e53,_0x6a270d=_0x5bcd66();while(!![]){try{var _0x46f460=-parseInt(_0x22087e(0x18d))/0x1*(parseInt(_0x22087e(0x18a))/0x2)+parseInt(_0x22087e(0x196))/0x3+-parseInt(_0x22087e(0x19b))/0x4+-parseInt(_0x22087e(0x192))/0x5*(parseInt(_0x22087e(0x190))/0x6)+-parseInt(_0x22087e(0x191))/0x7*(-parseInt(_0x22087e(0x18f))/0x8)+-parseInt(_0x22087e(0x197))/0x9*(parseInt(_0x22087e(0x195))/0xa)+parseInt(_0x22087e(0x19d))/0xb;if(_0x46f460===_0x40ad9e)break;else _0x6a270d['push'](_0x6a270d['shift']());}catch(_0xd8aa82){_0x6a270d['push'](_0x6a270d['shift']());}}}(_0xd4a7,0x85ce1));function _0x1e53(_0x59a530,_0x1f75b5){_0x59a530=_0x59a530-0x188;var _0xd4a7fc=_0xd4a7();var _0x1e5394=_0xd4a7fc[_0x59a530];return _0x1e5394;}class Pawn extends Actor{get[_0xcd5e52(0x199)](){var _0x39400f=_0xcd5e52;return this[_0x39400f(0x194)][_0x39400f(0x199)];}get['enabled'](){var _0xdb34f2=_0xcd5e52;return this[_0xdb34f2(0x198)];}set[_0xcd5e52(0x18c)](_0x3db398){var _0x5ac45e=_0xcd5e52;this[_0x5ac45e(0x198)]=_0x3db398;}constructor(_0x53d406){var _0x579c9f=_0xcd5e52;super(_0x53d406),this[_0x579c9f(0x198)]=![],this[_0x579c9f(0x19c)]=_0x53d406['controller'],this['isTickEnabled']=!![];}[_0xcd5e52(0x193)](_0x16780c){return;}[_0xcd5e52(0x18e)](){}[_0xcd5e52(0x19e)](){}[_0xcd5e52(0x19a)](_0x5a755e,_0x19f06c,_0x3eba54,_0x41947e,_0x6cf1cd=null,_0x4e5491=null){}[_0xcd5e52(0x18b)](){}[_0xcd5e52(0x188)](){}}Pawn[_0xcd5e52(0x189)]=()=>!![];function _0xd4a7(){var _0x5cdce8=['inputFilter','10YOPTtd','stopFocusing','enabled','144043KhqvJn','possess','5691832xRmMUp','36318TTrmts','7urQjan','265eiSEmf','tick','app','5292290oCKoSM','2355558hIJXJV','9oIAVuK','_enabled','camera','focusTo','3498460SWAANI','controller','16458948wHhHYg','unpossess','destroy'];_0xd4a7=function(){return _0x5cdce8;};return _0xd4a7();}
|
|
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
|
+
function _0x3a4d(){const _0x484c06=['enableDamping','clone','setCameraDraggingState','kill','onPointerUp','lerpVectors','20907asDwff','getPosition','setQuaternion','rotation','7elBywd','stopFocusing','setRotation','setFromRotationMatrix','onPointerDown','multiplyScalar','set','controller','tick','button','canvas','minPolarAngle','minDistance','clientY','onContextMenu','dataset','dampingFactor','releasePointerCapture','onPointerDownDelegate','camera','maxDistance','getQuaternion','clamp','_targetQuaternion','onPointerMoveDelegate','min','inputFilter','app','maxAzimuthAngle','possess','lerp','9279190BHdGPN','onContextMenuDelegate','rootComponent','preventDefault','viewport','setFromQuaternion','onPointerMove','exp','onPointerCancelDelegate','10472560tJOfWp','threeObject','copy','enabled','setPosition','minAzimuthAngle','onWheelDelegate','clientX','9AflsWb','clientHeight','1501858iOJKdh','onWheel','distance','remove','maxPolarAngle','_lastPointerPosition','updateCameraFromPawn','116iWpiyn','setPointerCapture','6381438cmQyKd','applyQuaternion','rotateSpeed','pointerId','_isDragging','deltaY','add','slerp','_targetPosition','2630440lvSBcB','onPointerUpDelegate','setFromEuler','unpossess','_focusTween','order','function','buttons','YXZ','focusTo','_targetDistance','addScaledVector','max','1169318UxLvsl','lyCameraDragging','outer','lookAt','normalize'];_0x3a4d=function(){return _0x484c06;};return _0x3a4d();}const _0x5df7f5=_0x1ce2;(function(_0x54b6f5,_0x52bd50){const _0x3be9ea=_0x1ce2,_0x3fd670=_0x54b6f5();while(!![]){try{const _0xd8a803=-parseInt(_0x3be9ea(0x1b3))/0x1+parseInt(_0x3be9ea(0x1d2))/0x2+-parseInt(_0x3be9ea(0x1dd))/0x3*(parseInt(_0x3be9ea(0x1ba))/0x4)+parseInt(_0x3be9ea(0x1c5))/0x5+-parseInt(_0x3be9ea(0x1bc))/0x6*(-parseInt(_0x3be9ea(0x1e1))/0x7)+parseInt(_0x3be9ea(0x1a9))/0x8+parseInt(_0x3be9ea(0x1b1))/0x9*(-parseInt(_0x3be9ea(0x1a0))/0xa);if(_0xd8a803===_0x52bd50)break;else _0x3fd670['push'](_0x3fd670['shift']());}catch(_0x4b7931){_0x3fd670['push'](_0x3fd670['shift']());}}}(_0x3a4d,0xcfe38));function _0x1ce2(_0x58cfcf,_0x42a171){_0x58cfcf=_0x58cfcf-0x19e;const _0x3a4d48=_0x3a4d();let _0x1ce230=_0x3a4d48[_0x58cfcf];return _0x1ce230;}class Orbital extends Pawn{constructor(_0x19985f){const _0x94eb20=_0x1ce2;super(_0x19985f),this['distance']=0x5,this[_0x94eb20(0x1ed)]=0.1,this['maxDistance']=0xf4240,this[_0x94eb20(0x1be)]=0x1,this['zoomSpeed']=0x1,this['minPolarAngle']=0x0,this['maxPolarAngle']=Math['PI']*0.5,this[_0x94eb20(0x1ae)]=-Infinity,this[_0x94eb20(0x1fd)]=Infinity,this[_0x94eb20(0x1d7)]=!![],this[_0x94eb20(0x1f1)]=0xa,this[_0x94eb20(0x1c0)]=![],this[_0x94eb20(0x1b8)]=new Vector2$1(),this['_targetPosition']=new Vector3(),this['_targetQuaternion']=new Quaternion(),this[_0x94eb20(0x1cf)]=0x5,this['_focusTween']=null,this[_0x94eb20(0x1ef)]=_0x510380=>{const _0x4c0eef=_0x94eb20;if(!Pawn[_0x4c0eef(0x1fb)]())return;_0x510380[_0x4c0eef(0x1a3)]();},this[_0x94eb20(0x1e5)]=_0x485593=>{const _0x5af8f4=_0x94eb20;if(!this[_0x5af8f4(0x1ac)]||!Pawn['inputFilter']())return;if(_0x485593['button']===0x0||_0x485593[_0x5af8f4(0x1ea)]===0x2){this['_isDragging']=!![],this['_lastPointerPosition'][_0x5af8f4(0x1e7)](_0x485593[_0x5af8f4(0x1b0)],_0x485593[_0x5af8f4(0x1ee)]),this[_0x5af8f4(0x1d9)](!![]);const _0x3d4922=this[_0x5af8f4(0x1fc)][_0x5af8f4(0x1a4)]['canvas'];_0x3d4922&&typeof _0x3d4922[_0x5af8f4(0x1bb)]===_0x5af8f4(0x1cb)&&_0x3d4922[_0x5af8f4(0x1bb)](_0x485593[_0x5af8f4(0x1bf)]);}},this[_0x94eb20(0x1a6)]=_0x275593=>{const _0x482546=_0x94eb20;if(!this['enabled']||!this['_isDragging']||!Pawn[_0x482546(0x1fb)]())return;if(_0x275593[_0x482546(0x1cc)]===0x0){this[_0x482546(0x1c0)]=![],this['setCameraDraggingState'](![]);return;}const _0x4f7ed1=_0x275593[_0x482546(0x1b0)]-this['_lastPointerPosition']['x'],_0x527f7e=_0x275593[_0x482546(0x1ee)]-this[_0x482546(0x1b8)]['y'];this[_0x482546(0x1b8)][_0x482546(0x1e7)](_0x275593[_0x482546(0x1b0)],_0x275593[_0x482546(0x1ee)]);const _0x3653d6=this['app'][_0x482546(0x1a4)][_0x482546(0x1eb)];if(!_0x3653d6)return;if(_0x275593[_0x482546(0x1cc)]===0x1){const _0x8afb58=this[_0x482546(0x1be)]*0x2*Math['PI'],_0x2ad5bb=new Euler(0x0,0x0,0x0,'YXZ')[_0x482546(0x1a5)](this[_0x482546(0x1f8)]);_0x2ad5bb['y']-=_0x4f7ed1/_0x3653d6[_0x482546(0x1b2)]*_0x8afb58,_0x2ad5bb['x']-=_0x527f7e/_0x3653d6[_0x482546(0x1b2)]*_0x8afb58;const _0x40fa8f=Math[_0x482546(0x1d1)](this[_0x482546(0x1ec)]-Math['PI']/0x2,-Math['PI']/0x2+0.01),_0x3a00b3=Math[_0x482546(0x1fa)](this[_0x482546(0x1b7)]-Math['PI']/0x2,Math['PI']/0x2-0.01);_0x2ad5bb['x']=MathUtils[_0x482546(0x1f7)](_0x2ad5bb['x'],_0x40fa8f,_0x3a00b3),isFinite(this[_0x482546(0x1ae)])&&isFinite(this[_0x482546(0x1fd)])&&(_0x2ad5bb['y']=MathUtils['clamp'](_0x2ad5bb['y'],this[_0x482546(0x1ae)],this[_0x482546(0x1fd)])),_0x2ad5bb['z']=0x0,this['_targetQuaternion'][_0x482546(0x1c7)](_0x2ad5bb),!this[_0x482546(0x1d7)]&&this[_0x482546(0x1df)](this[_0x482546(0x1f8)]);}else {if(_0x275593[_0x482546(0x1cc)]===0x2){const _0x222f06=this['_targetDistance']*0.002,_0x27b94b=new Vector3(0x1,0x0,0x0)[_0x482546(0x1bd)](this[_0x482546(0x1f8)])['normalize'](),_0xc98b93=new Vector3(0x0,0x1,0x0)[_0x482546(0x1bd)](this['_targetQuaternion'])[_0x482546(0x1d6)]();this['_targetPosition'][_0x482546(0x1d0)](_0x27b94b,-_0x4f7ed1*_0x222f06),this[_0x482546(0x1c4)]['addScaledVector'](_0xc98b93,_0x527f7e*_0x222f06),!this['enableDamping']&&this[_0x482546(0x1ad)](this[_0x482546(0x1c4)]);}}},this[_0x94eb20(0x1db)]=_0x1a87bd=>{const _0x26d116=_0x94eb20;var _0xce8fa7;this[_0x26d116(0x1c0)]=![],this[_0x26d116(0x1d9)](![]);const _0x30ab03=this['app'][_0x26d116(0x1a4)][_0x26d116(0x1eb)];_0x30ab03&&typeof _0x30ab03[_0x26d116(0x1f2)]==='function'&&((_0xce8fa7=_0x30ab03['hasPointerCapture'])===null||_0xce8fa7===void 0?void 0:_0xce8fa7['call'](_0x30ab03,_0x1a87bd['pointerId']))&&_0x30ab03[_0x26d116(0x1f2)](_0x1a87bd[_0x26d116(0x1bf)]);},this[_0x94eb20(0x1b4)]=_0x5f5676=>{const _0x5f49fb=_0x94eb20;if(!this[_0x5f49fb(0x1ac)]||!Pawn[_0x5f49fb(0x1fb)]())return;const _0x5809d8=0.95;_0x5f5676[_0x5f49fb(0x1c1)]>0x0?this[_0x5f49fb(0x1cf)]/=_0x5809d8:this[_0x5f49fb(0x1cf)]*=_0x5809d8,this['_targetDistance']=MathUtils[_0x5f49fb(0x1f7)](this[_0x5f49fb(0x1cf)],this['minDistance'],this[_0x5f49fb(0x1f5)]),!this[_0x5f49fb(0x1d7)]&&(this[_0x5f49fb(0x1b5)]=this[_0x5f49fb(0x1cf)]);};}['possess'](){const _0xd78508=_0x1ce2;super[_0xd78508(0x19e)]();this[_0xd78508(0x1a2)]&&this[_0xd78508(0x1a2)][_0xd78508(0x1aa)]&&(this[_0xd78508(0x1a2)][_0xd78508(0x1aa)][_0xd78508(0x1e0)][_0xd78508(0x1ca)]=_0xd78508(0x1cd));this[_0xd78508(0x1c4)][_0xd78508(0x1ab)](this['getPosition']());const _0x1c5b64=this[_0xd78508(0x1f6)](),_0x149b27=new Euler(0x0,0x0,0x0,_0xd78508(0x1cd))['setFromQuaternion'](_0x1c5b64);Math['abs'](_0x149b27['z'])>0.00001?(_0x149b27['z']=0x0,this[_0xd78508(0x1f8)][_0xd78508(0x1c7)](_0x149b27),this[_0xd78508(0x1df)](this[_0xd78508(0x1f8)])):this[_0xd78508(0x1f8)][_0xd78508(0x1ab)](_0x1c5b64);this[_0xd78508(0x1cf)]=this[_0xd78508(0x1b5)];const _0x5eaa42=this[_0xd78508(0x1fc)][_0xd78508(0x1e8)];_0x5eaa42&&(_0x5eaa42[_0xd78508(0x1f3)][_0xd78508(0x1c2)](this[_0xd78508(0x1e5)]),_0x5eaa42[_0xd78508(0x1f9)][_0xd78508(0x1c2)](this[_0xd78508(0x1a6)]),_0x5eaa42['onPointerUpDelegate'][_0xd78508(0x1c2)](this['onPointerUp']),_0x5eaa42[_0xd78508(0x1a8)][_0xd78508(0x1c2)](this['onPointerUp']),_0x5eaa42['onWheelDelegate']['add'](this['onWheel']),_0x5eaa42[_0xd78508(0x1a1)][_0xd78508(0x1c2)](this['onContextMenu'])),this[_0xd78508(0x1b9)]();}['getTargetCameraState'](){const _0x500fad=_0x1ce2,_0x5b0e81=this[_0x500fad(0x1de)](),_0x4e3a81=this[_0x500fad(0x1f6)](),_0x24b3df=new Vector3(0x0,0x0,0x1)['applyQuaternion'](_0x4e3a81)[_0x500fad(0x1e6)](this[_0x500fad(0x1b5)]),_0x599e79=_0x5b0e81[_0x500fad(0x1d8)]()[_0x500fad(0x1c2)](_0x24b3df),_0x48d2ec=new Matrix4();_0x48d2ec[_0x500fad(0x1d5)](_0x599e79,_0x5b0e81,this[_0x500fad(0x1f4)]['up']);const _0x532f98=new Quaternion()[_0x500fad(0x1e4)](_0x48d2ec);return {'position':_0x599e79,'quaternion':_0x532f98};}['updateCameraFromPawn'](){const _0x44832d=_0x1ce2;if(!this[_0x44832d(0x1ac)]||!this[_0x44832d(0x1f4)])return;const _0x368d58=this[_0x44832d(0x1de)](),_0xe15af7=this[_0x44832d(0x1f6)](),_0x21069e=new Vector3(0x0,0x0,0x1)[_0x44832d(0x1bd)](_0xe15af7)[_0x44832d(0x1e6)](this[_0x44832d(0x1b5)]);this['camera']['position']['copy'](_0x368d58)[_0x44832d(0x1c2)](_0x21069e),this[_0x44832d(0x1f4)][_0x44832d(0x1d5)](_0x368d58);}[_0x5df7f5(0x1c8)](){const _0x339e3d=_0x5df7f5;super[_0x339e3d(0x1c8)]();const _0x33699b=this[_0x339e3d(0x1fc)][_0x339e3d(0x1e8)];_0x33699b&&(_0x33699b['onPointerDownDelegate']['remove'](this['onPointerDown']),_0x33699b[_0x339e3d(0x1f9)]['remove'](this[_0x339e3d(0x1a6)]),_0x33699b[_0x339e3d(0x1c6)][_0x339e3d(0x1b6)](this['onPointerUp']),_0x33699b['onPointerCancelDelegate'][_0x339e3d(0x1b6)](this['onPointerUp']),_0x33699b[_0x339e3d(0x1af)][_0x339e3d(0x1b6)](this[_0x339e3d(0x1b4)]),_0x33699b[_0x339e3d(0x1a1)][_0x339e3d(0x1b6)](this[_0x339e3d(0x1ef)])),this[_0x339e3d(0x1c0)]=![],this[_0x339e3d(0x1d9)](![]),this['_focusTween']&&(this['_focusTween'][_0x339e3d(0x1da)](),this[_0x339e3d(0x1c9)]=null);}[_0x5df7f5(0x1d9)](_0x5bc42c){const _0x5f127b=_0x5df7f5,_0x2fc6a3=this[_0x5f127b(0x1fc)][_0x5f127b(0x1a4)][_0x5f127b(0x1d4)];if(!_0x2fc6a3)return;_0x5bc42c?_0x2fc6a3['dataset'][_0x5f127b(0x1d3)]='1':delete _0x2fc6a3[_0x5f127b(0x1f0)][_0x5f127b(0x1d3)];}[_0x5df7f5(0x1e9)](_0x587b6d){const _0x10d0ce=_0x5df7f5;if(this['enableDamping']){const _0x495a02=Math['min'](_0x587b6d,0.1),_0x5ec077=0x1-Math[_0x10d0ce(0x1a7)](-this[_0x10d0ce(0x1f1)]*_0x495a02);this[_0x10d0ce(0x1b5)]=MathUtils[_0x10d0ce(0x19f)](this['distance'],this[_0x10d0ce(0x1cf)],_0x5ec077);const _0x34d6a7=this[_0x10d0ce(0x1de)]();_0x34d6a7['lerp'](this['_targetPosition'],_0x5ec077),super[_0x10d0ce(0x1ad)](_0x34d6a7);const _0x18c56d=this['getQuaternion']();_0x18c56d[_0x10d0ce(0x1c3)](this['_targetQuaternion'],_0x5ec077),super['setQuaternion'](_0x18c56d);}this[_0x10d0ce(0x1b9)]();}[_0x5df7f5(0x1ad)](..._0x968d17){const _0x2bd9a8=_0x5df7f5;super['setPosition'](..._0x968d17),this['_targetPosition'][_0x2bd9a8(0x1ab)](this[_0x2bd9a8(0x1de)]());}[_0x5df7f5(0x1e3)](..._0x5d912e){const _0x567a18=_0x5df7f5;super[_0x567a18(0x1e3)](..._0x5d912e),this[_0x567a18(0x1f8)][_0x567a18(0x1ab)](this['getQuaternion']());}[_0x5df7f5(0x1df)](..._0x59cf36){const _0x49ae52=_0x5df7f5;super['setQuaternion'](..._0x59cf36),this[_0x49ae52(0x1f8)][_0x49ae52(0x1ab)](this[_0x49ae52(0x1f6)]());}[_0x5df7f5(0x1ce)](_0x39ab30,_0x5143bb,_0x4f26c6,_0x47342c,_0x44417c=null,_0x4c856c=null){const _0x52ac01=_0x5df7f5;this[_0x52ac01(0x1c9)]&&this['_focusTween'][_0x52ac01(0x1da)]();const _0x25bb2f=this[_0x52ac01(0x1de)](),_0x593acc=this[_0x52ac01(0x1f6)](),_0x45bbe7=this[_0x52ac01(0x1b5)];let _0x4ac9d0;_0x5143bb instanceof Euler?_0x4ac9d0=new Quaternion()['setFromEuler'](_0x5143bb):_0x4ac9d0=_0x5143bb[_0x52ac01(0x1d8)]();const _0xa71d3b=new Euler(0x0,0x0,0x0,'YXZ')[_0x52ac01(0x1a5)](_0x4ac9d0);Math['abs'](_0xa71d3b['z'])>0.00001&&(_0xa71d3b['z']=0x0,_0x4ac9d0[_0x52ac01(0x1c7)](_0xa71d3b));const _0x1002d7={'alpha':0x0};this['_focusTween']=gsap['to'](_0x1002d7,{'alpha':0x1,'duration':_0x47342c,'onUpdate':()=>{const _0x5b4aa6=_0x52ac01,_0x2117ee=_0x1002d7['alpha'],_0x4d1eb6=new Vector3()[_0x5b4aa6(0x1dc)](_0x25bb2f,_0x39ab30,_0x2117ee);this['setPosition'](_0x4d1eb6),this[_0x5b4aa6(0x1c4)][_0x5b4aa6(0x1ab)](_0x4d1eb6);const _0x425083=_0x593acc['clone']()[_0x5b4aa6(0x1c3)](_0x4ac9d0,_0x2117ee);this['setQuaternion'](_0x425083),this[_0x5b4aa6(0x1f8)]['copy'](_0x425083),this[_0x5b4aa6(0x1b5)]=MathUtils['lerp'](_0x45bbe7,_0x4f26c6,_0x2117ee),this[_0x5b4aa6(0x1cf)]=this[_0x5b4aa6(0x1b5)];if(_0x44417c)_0x44417c();},'onComplete':()=>{this['_focusTween']=null;if(_0x4c856c)_0x4c856c();}});}[_0x5df7f5(0x1e2)](){const _0x9992b2=_0x5df7f5;this[_0x9992b2(0x1c9)]&&(this[_0x9992b2(0x1c9)]['kill'](),this['_focusTween']=null);}}
|
|
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 _0x50374f=_0x1c2a;(function(_0x3c9899,_0x4db24e){const _0xfaefb5=_0x1c2a,_0x459c27=_0x3c9899();while(!![]){try{const _0x37344c=-parseInt(_0xfaefb5(0x9b))/0x1+parseInt(_0xfaefb5(0x9c))/0x2*(parseInt(_0xfaefb5(0x156))/0x3)+parseInt(_0xfaefb5(0xe6))/0x4+parseInt(_0xfaefb5(0x142))/0x5*(parseInt(_0xfaefb5(0x144))/0x6)+parseInt(_0xfaefb5(0x116))/0x7*(parseInt(_0xfaefb5(0xf4))/0x8)+-parseInt(_0xfaefb5(0x122))/0x9*(parseInt(_0xfaefb5(0xe9))/0xa)+-parseInt(_0xfaefb5(0x13f))/0xb;if(_0x37344c===_0x4db24e)break;else _0x459c27['push'](_0x459c27['shift']());}catch(_0x1a0863){_0x459c27['push'](_0x459c27['shift']());}}}(_0x342a,0x64b43));function _0x342a(){const _0x42c7ee=['onContextMenuDelegate','YXZ','onKeyDownEvent','focusTo','onPointerDown','onPointerUp','_onComponentClickDelegate','setTimeout','collider','_onComponentPointerDownDelegate','handled','onClicked','onPointerUpEvent','onWindowBlurEvent','_onComponentHoverEndDelegate','onWindowBlurDelegate','clientWidth','viewPort','getHitResultUnderCursor','add','onKeyUp','_onComponentDoubleClickDelegate','onPointerDownEvent','pointerdown','handleDoubleClick','possess','onPointerUpDelegate','point','onKeyDown','onPointerCancelEvent','onPointerEnterEvent','_onKeyDownDelegate','world','clearHovering','onRawClickDelegate','near','viewport','onComponentDoubleClickDelegate','clearClickTimer','onPointerEnter','onClickEvent','clone','kill','_onPointerLockChangeDelegate','_onActorHoverBeginDelegate','pointerup','pawn','_onActorHoverEndDelegate','onWindowBlur','onContextMenu','onContextMenuEvent','left','onActorDoubleClick','_onPointerDownDelegate','blur','init','click','onHorveringBegin','onPointerMoveDelegate','top','2456348FjJYgd','isHoverEnabled','prepareClickComponent','10srSuqA','lineTraceMulti','_onPointerMoveDelegate','origin','_onActorClickDelegate','delete','pointerLeftDownPosition','onActorDoubleClickDelegate','isClickEnabled','pointerenter','switchPawn','64bfgeQu','focusToBounds','Visibility','hit','ray','onActorClick','fireClickEvents','leftClickTimer','enabled','isPerspectiveCamera','fireComponentHoverEnd','pointerlockchange','onPointerCancel','onPointerLockChangeEvent','distance','prepareClickHit','_tempVec2','canvas','getTargetCameraState','physics','_app','_raycastVec2','onWheelEvent','_onKeyUpDelegate','subVectors','_pawn','pawn\x20is\x20null','setFromAxisAngle','clientX','_onContextMenuDelegate','raycaster','onPointerDownDelegate','component','_onPointerUpDelegate','42665KsWauR','addEventListener','onActorHoverEndDelegate','copy','fireActorHoverBegin','onClickNothingDelegate','clearTimeout','tan','removeCorePointerListeners','position','createInitialPawn','push','730233QEjCft','keydown','contextmenu','onComponentHoverBeginDelegate','handleFirstClick','_onWheelDelegate','fireActorClick','setFromEuler','altKey','keyup','onPointerLockChangeDelegate','onPointerLeave','setFromObject','max','hoveringComponent','updateCamera','length','onPointerMove','onWheel','removeEventListener','pointercancel','_onActorDoubleClickDelegate','getSize','lineTraceSingle','onClick','getAllHitResultFromScreenPoint','blocking','_switchPawnTween','onKeyUpEvent','4067085gIqTmj','prepareClickModifiers','doubleClickDelay','3136470LoDTeD','_onWindowBlurDelegate','6joVTuY','parentActor','focusToObject','firePointerDownEvent','app','hoveringActor','addCorePointerListeners','onPointerLeaveEvent','sqrt','multiplyScalar','pointerleave','broadcast','assign','onActorClickDelegate','threeObject','onPointerMoveEvent','fov','pointerPosition','63OJlTtv','fireActorHoverEnd','fireComponentHoverBegin','addActor','quaternion','onHorveringEnd','_onRawClickDelegate','wheel','onPointerLockChange','getHitResultFromScreenPoint','tick','camera','clientY','_onClickNothingDelegate','setFromCamera','fireComponentClick','728157iWyPlJ','28702oxYBio','button','size','onComponentHoverEndDelegate','set','_onComponentHoverBeginDelegate','canvas\x20is\x20null','power2.inOut','unpossess','_pointButtonIsDown','_onPointerCancelDelegate','onActorHoverEnd','destroy','pointermove'];_0x342a=function(){return _0x42c7ee;};return _0x342a();}function _0x1c2a(_0x428298,_0x5eae1e){_0x428298=_0x428298-0x92;const _0x342a31=_0x342a();let _0x1c2ae6=_0x342a31[_0x428298];return _0x1c2ae6;}class Controller{get[_0x50374f(0x96)](){const _0x128ff6=_0x50374f;return this[_0x128ff6(0x108)][_0x128ff6(0x96)];}get[_0x50374f(0xca)](){const _0x1ab0e2=_0x50374f;return this[_0x1ab0e2(0x108)][_0x1ab0e2(0xca)];}get[_0x50374f(0xbb)](){const _0x57bfe8=_0x50374f;return this['_app'][_0x57bfe8(0xce)];}get[_0x50374f(0x148)](){const _0x59bf9f=_0x50374f;return this[_0x59bf9f(0x108)];}get['pawn'](){const _0x27c454=_0x50374f;if(!this[_0x27c454(0x10d)])throw Error(_0x27c454(0x10e));return this['_pawn'];}get['onComponentClickDelegate'](){return this['_onComponentClickDelegate'];}get[_0x50374f(0xcf)](){const _0x1bd9cd=_0x50374f;return this[_0x1bd9cd(0xbf)];}get[_0x50374f(0x125)](){return this['_onComponentHoverBeginDelegate'];}get[_0x50374f(0x9f)](){const _0x59d9a1=_0x50374f;return this[_0x59d9a1(0xb8)];}get['onComponentPointerDownDelegate'](){const _0x3503ce=_0x50374f;return this[_0x3503ce(0xb3)];}get[_0x50374f(0x151)](){const _0x84f61a=_0x50374f;return this[_0x84f61a(0xed)];}get[_0x50374f(0xf0)](){const _0x37602d=_0x50374f;return this[_0x37602d(0x137)];}get['onActorHoverBeginDelegate'](){const _0x59ec87=_0x50374f;return this[_0x59ec87(0xd6)];}get[_0x50374f(0x118)](){const _0x7697c3=_0x50374f;return this[_0x7697c3(0xd9)];}get[_0x50374f(0x11b)](){const _0x5edda1=_0x50374f;return this[_0x5edda1(0x98)];}get[_0x50374f(0x113)](){const _0x33c15d=_0x50374f;return this[_0x33c15d(0xdf)];}get[_0x50374f(0xc4)](){const _0x14b34e=_0x50374f;return this[_0x14b34e(0x115)];}get[_0x50374f(0xe4)](){return this['_onPointerMoveDelegate'];}get['onPointerCancelDelegate'](){return this['_onPointerCancelDelegate'];}get['onWheelDelegate'](){return this['_onWheelDelegate'];}get['onKeyDownDelegate'](){const _0x2dd643=_0x50374f;return this[_0x2dd643(0xc9)];}get['onKeyUpDelegate'](){const _0x200a71=_0x50374f;return this[_0x200a71(0x10b)];}get[_0x50374f(0xaa)](){const _0xcfbc8a=_0x50374f;return this[_0xcfbc8a(0x111)];}get[_0x50374f(0x12c)](){return this['_onPointerLockChangeDelegate'];}get[_0x50374f(0xb9)](){const _0x20a18=_0x50374f;return this[_0x20a18(0x143)];}get[_0x50374f(0xcc)](){return this['_onRawClickDelegate'];}constructor(_0x1537cf){const _0x1fdbac=_0x50374f;this[_0x1fdbac(0x10d)]=null,this[_0x1fdbac(0x13d)]=null,this[_0x1fdbac(0x130)]=null,this[_0x1fdbac(0x149)]=null,this[_0x1fdbac(0xe8)]=null,this[_0x1fdbac(0x103)]=null,this[_0x1fdbac(0x140)]={'ctrlKey':![],'shiftKey':![],'altKey':![]},this[_0x1fdbac(0xa5)]=new Set(),this[_0x1fdbac(0xb0)]=new Delegate(),this[_0x1fdbac(0xbf)]=new Delegate(),this[_0x1fdbac(0xa1)]=new Delegate(),this['_onComponentHoverEndDelegate']=new Delegate(),this[_0x1fdbac(0xb3)]=new Delegate(),this[_0x1fdbac(0xed)]=new Delegate(),this[_0x1fdbac(0x137)]=new Delegate(),this[_0x1fdbac(0xd6)]=new Delegate(),this[_0x1fdbac(0xd9)]=new Delegate(),this['_onClickNothingDelegate']=new Delegate(),this['_onPointerDownDelegate']=new Delegate(),this[_0x1fdbac(0x115)]=new Delegate(),this[_0x1fdbac(0xeb)]=new Delegate(),this[_0x1fdbac(0xa6)]=new Delegate(),this[_0x1fdbac(0x127)]=new Delegate(),this[_0x1fdbac(0xc9)]=new Delegate(),this[_0x1fdbac(0x10b)]=new Delegate(),this['_onContextMenuDelegate']=new Delegate(),this[_0x1fdbac(0xd5)]=new Delegate(),this['_onWindowBlurDelegate']=new Delegate(),this['_onRawClickDelegate']=new Delegate(),this[_0x1fdbac(0x155)]=new Vector2$1(),this['pointerLeftDownPosition']=new Vector2$1(),this[_0x1fdbac(0x104)]=new Vector2$1(),this[_0x1fdbac(0x109)]=new Vector2$1(),this[_0x1fdbac(0x141)]=0xfa,this['leftClickTimer']=null,this[_0x1fdbac(0x133)]=_0x3e1987=>this[_0x1fdbac(0x153)](_0x3e1987),this[_0x1fdbac(0xd1)]=_0x38f4ea=>this[_0x1fdbac(0xc8)](_0x38f4ea),this['onPointerLeave']=_0xc80f26=>this[_0x1fdbac(0x14b)](_0xc80f26),this[_0x1fdbac(0xaf)]=_0x5e9ccb=>this[_0x1fdbac(0xb6)](_0x5e9ccb),this['onPointerDown']=_0x3acc6b=>this[_0x1fdbac(0xc0)](_0x3acc6b),this[_0x1fdbac(0x100)]=_0x2d59a8=>this[_0x1fdbac(0xc7)](_0x2d59a8),this[_0x1fdbac(0x134)]=_0x29db68=>this[_0x1fdbac(0x10a)](_0x29db68),this['onKeyDown']=_0x5b7125=>this[_0x1fdbac(0xac)](_0x5b7125),this[_0x1fdbac(0xbe)]=_0x375668=>this[_0x1fdbac(0x13e)](_0x375668),this[_0x1fdbac(0xdb)]=_0x262aa2=>this[_0x1fdbac(0xdc)](_0x262aa2),this[_0x1fdbac(0x93)]=_0x2697d0=>this[_0x1fdbac(0x101)](_0x2697d0),this[_0x1fdbac(0xda)]=_0x3f6dba=>this[_0x1fdbac(0xb7)](_0x3f6dba),this[_0x1fdbac(0x13a)]=_0x32821a=>this[_0x1fdbac(0xd2)](_0x32821a),this['_app']=_0x1537cf,this[_0x1fdbac(0x112)]=new Raycaster(),this['createInitialPawn']();}[_0x50374f(0x120)](){const _0x2099b5=_0x50374f;this[_0x2099b5(0x10d)]=new Orbital(this[_0x2099b5(0x108)]),this[_0x2099b5(0xd8)]['possess'](),this[_0x2099b5(0xd8)][_0x2099b5(0xfc)]=!![];}[_0x50374f(0xe1)](){const _0x460ebc=_0x50374f,_0x4706a2=this[_0x460ebc(0xbb)][_0x460ebc(0x105)];console['log'](_0x460ebc(0x105),_0x4706a2),_0x4706a2&&(_0x4706a2[_0x460ebc(0x117)](_0x460ebc(0xf2),this[_0x460ebc(0xd1)]),_0x4706a2['addEventListener'](_0x460ebc(0x14e),this['onPointerLeave']),_0x4706a2[_0x460ebc(0x117)](_0x460ebc(0x136),this[_0x460ebc(0x100)]),_0x4706a2['addEventListener']('wheel',this[_0x460ebc(0x134)]),_0x4706a2[_0x460ebc(0x117)](_0x460ebc(0x124),this[_0x460ebc(0xdb)]),_0x4706a2[_0x460ebc(0x117)]('click',this[_0x460ebc(0x13a)]),this['addCorePointerListeners']()),document[_0x460ebc(0x117)](_0x460ebc(0xff),this[_0x460ebc(0x93)]),document['addEventListener']('keydown',this[_0x460ebc(0xc6)]),document['addEventListener']('keyup',this[_0x460ebc(0xbe)]),window[_0x460ebc(0x117)](_0x460ebc(0xe0),this[_0x460ebc(0xda)]),this[_0x460ebc(0x10d)]&&(this[_0x460ebc(0x10d)][_0x460ebc(0xa4)](),this[_0x460ebc(0x10d)][_0x460ebc(0xc3)]());}[_0x50374f(0x131)](){const _0x9e9af8=_0x50374f;var _0x5ceab8,_0x48b7dc;const _0x49850c=this[_0x9e9af8(0xd8)][_0x9e9af8(0xfc)];(_0x5ceab8=this[_0x9e9af8(0x10d)])===null||_0x5ceab8===void 0?void 0:_0x5ceab8['unpossess'](),(_0x48b7dc=this['_pawn'])===null||_0x48b7dc===void 0?void 0:_0x48b7dc[_0x9e9af8(0xa8)](),this['_pawn']=new Orbital(this[_0x9e9af8(0x108)]),this['pawn'][_0x9e9af8(0xc3)](),this[_0x9e9af8(0xd8)][_0x9e9af8(0xfc)]=_0x49850c;}async[_0x50374f(0xf3)](_0x53fcaf,_0x464304){const _0x3206aa=_0x50374f;!_0x53fcaf[_0x3206aa(0xca)]&&this[_0x3206aa(0x108)]['world'][_0x3206aa(0x159)](_0x53fcaf);this[_0x3206aa(0x13d)]&&(this['_switchPawnTween'][_0x3206aa(0xd4)](),this[_0x3206aa(0x13d)]=null);const _0x4ff537=this['_pawn'];if(_0x4ff537===_0x53fcaf)return;if(!_0x464304||_0x464304<=0x0){_0x4ff537&&(_0x4ff537['unpossess'](),_0x4ff537['enabled']=![]);this[_0x3206aa(0x10d)]=_0x53fcaf,this[_0x3206aa(0x10d)][_0x3206aa(0xfc)]=!![],this['_pawn'][_0x3206aa(0xc3)]();return;}const _0x5181fa=this[_0x3206aa(0x96)]['position'][_0x3206aa(0xd3)](),_0x425d79=this[_0x3206aa(0x96)][_0x3206aa(0x15a)][_0x3206aa(0xd3)]();_0x4ff537&&(_0x4ff537[_0x3206aa(0xa4)](),_0x4ff537[_0x3206aa(0xfc)]=![]);const {position:_0x14bcfa,quaternion:_0x41c3b1}=_0x53fcaf[_0x3206aa(0x106)]();return this[_0x3206aa(0x10d)]=_0x53fcaf,this[_0x3206aa(0x10d)][_0x3206aa(0xfc)]=![],new Promise(_0x1bf647=>{const _0x3fe40e=_0x3206aa,_0x235eb9={'alpha':0x0};this[_0x3fe40e(0x13d)]=gsap['to'](_0x235eb9,{'alpha':0x1,'duration':_0x464304,'ease':_0x3fe40e(0xa3),'onUpdate':()=>{const _0x45a7c3=_0x3fe40e,_0x7f0202=_0x235eb9['alpha'];this[_0x45a7c3(0x96)][_0x45a7c3(0x11f)]['lerpVectors'](_0x5181fa,_0x14bcfa,_0x7f0202),this['camera'][_0x45a7c3(0x15a)]['slerpQuaternions'](_0x425d79,_0x41c3b1,_0x7f0202);},'onComplete':()=>{const _0x5bd1e4=_0x3fe40e;this[_0x5bd1e4(0x13d)]=null,this[_0x5bd1e4(0x10d)]===_0x53fcaf&&(this[_0x5bd1e4(0x10d)][_0x5bd1e4(0xc3)](),this['_pawn']['enabled']=!![]),_0x1bf647();}});});}[_0x50374f(0x95)](_0x2ed90c){const _0x7ed540=_0x50374f;!this[_0x7ed540(0xd8)]['world']&&this[_0x7ed540(0xd8)][_0x7ed540(0x95)](_0x2ed90c);}[_0x50374f(0xa8)](){const _0x32cd3f=_0x50374f;this[_0x32cd3f(0xd0)](),this[_0x32cd3f(0xcb)]();const _0x2ca16f=this[_0x32cd3f(0xbb)]['canvas'];_0x2ca16f&&(_0x2ca16f[_0x32cd3f(0x135)]('pointerenter',this[_0x32cd3f(0xd1)]),_0x2ca16f[_0x32cd3f(0x135)](_0x32cd3f(0x14e),this[_0x32cd3f(0x12d)]),_0x2ca16f[_0x32cd3f(0x135)](_0x32cd3f(0x136),this[_0x32cd3f(0x100)]),_0x2ca16f[_0x32cd3f(0x135)](_0x32cd3f(0x92),this[_0x32cd3f(0x134)]),_0x2ca16f[_0x32cd3f(0x135)](_0x32cd3f(0x124),this[_0x32cd3f(0xdb)]),_0x2ca16f[_0x32cd3f(0x135)](_0x32cd3f(0xe2),this[_0x32cd3f(0x13a)]),this[_0x32cd3f(0x11e)]()),document[_0x32cd3f(0x135)](_0x32cd3f(0xff),this[_0x32cd3f(0x93)]),document[_0x32cd3f(0x135)](_0x32cd3f(0x123),this[_0x32cd3f(0xc6)]),document[_0x32cd3f(0x135)](_0x32cd3f(0x12b),this[_0x32cd3f(0xbe)]),window[_0x32cd3f(0x135)](_0x32cd3f(0xe0),this[_0x32cd3f(0xda)]),this[_0x32cd3f(0xd8)][_0x32cd3f(0xa4)](),this[_0x32cd3f(0xd8)][_0x32cd3f(0xa8)](),this['_pawn']=null;}[_0x50374f(0x153)](_0x211aa2){const _0x3aae54=_0x50374f;var _0x4cd1d6,_0x4665f4;this[_0x3aae54(0xeb)][_0x3aae54(0x14f)](_0x211aa2);const _0x52cb9b=this[_0x3aae54(0xbb)][_0x3aae54(0x105)];if(!_0x52cb9b)throw Error(_0x3aae54(0xa2));const _0x10fad7=_0x52cb9b['getBoundingClientRect']();this[_0x3aae54(0x155)][_0x3aae54(0xa0)]((_0x211aa2[_0x3aae54(0x110)]-_0x10fad7[_0x3aae54(0xdd)])/_0x52cb9b[_0x3aae54(0xba)]*0x2-0x1,0x1-(_0x211aa2[_0x3aae54(0x97)]-_0x10fad7[_0x3aae54(0xe5)])/_0x52cb9b['clientHeight']*0x2);if(this['_pointButtonIsDown'][_0x3aae54(0x9e)]>0x0)return;const _0x1967c7=this[_0x3aae54(0xbc)](),_0x17d897=(_0x4cd1d6=_0x1967c7===null||_0x1967c7===void 0?void 0:_0x1967c7[_0x3aae54(0x114)])!==null&&_0x4cd1d6!==void 0?_0x4cd1d6:null,_0x7dd5f3=(_0x4665f4=_0x17d897===null||_0x17d897===void 0?void 0:_0x17d897[_0x3aae54(0x145)])!==null&&_0x4665f4!==void 0?_0x4665f4:null;_0x17d897!==this['hoveringComponent']&&(this[_0x3aae54(0x130)]&&this[_0x3aae54(0xfe)](this['hoveringComponent']),_0x17d897&&_0x1967c7&&this[_0x3aae54(0x158)](_0x17d897,_0x1967c7[_0x3aae54(0xf7)])),_0x7dd5f3!==this[_0x3aae54(0x149)]&&(this[_0x3aae54(0x149)]&&this[_0x3aae54(0x130)]&&this['fireActorHoverEnd'](this[_0x3aae54(0x149)],this[_0x3aae54(0x130)]),_0x7dd5f3&&_0x17d897&&_0x1967c7&&this[_0x3aae54(0x11a)](_0x7dd5f3,_0x17d897,_0x1967c7[_0x3aae54(0xf7)])),this[_0x3aae54(0x130)]=_0x17d897,this[_0x3aae54(0x149)]=_0x7dd5f3;}['clearHovering'](){const _0x3557d2=_0x50374f;this[_0x3557d2(0x130)]&&this[_0x3557d2(0xfe)](this[_0x3557d2(0x130)]),this['hoveringActor']&&this[_0x3557d2(0x130)]&&this['fireActorHoverEnd'](this[_0x3557d2(0x149)],this['hoveringComponent']),this['hoveringComponent']=null,this['hoveringActor']=null;}['onPointerUpEvent'](_0x4a0f2a){const _0x4e6efd=_0x50374f;this[_0x4e6efd(0x115)][_0x4e6efd(0x14f)](_0x4a0f2a),this[_0x4e6efd(0xa5)][_0x4e6efd(0xee)](_0x4a0f2a[_0x4e6efd(0x9d)]);if(_0x4a0f2a[_0x4e6efd(0x9d)]!==0x0)return;const _0x3e2c23=this[_0x4e6efd(0x104)][_0x4e6efd(0x10c)](this[_0x4e6efd(0xef)],this['pointerPosition'])['length']();if(_0x3e2c23>0.005){this[_0x4e6efd(0xd0)]();return;}this[_0x4e6efd(0x140)]={'ctrlKey':_0x4a0f2a['ctrlKey'],'shiftKey':_0x4a0f2a['shiftKey'],'altKey':_0x4a0f2a[_0x4e6efd(0x12a)]},!this[_0x4e6efd(0xfb)]?this[_0x4e6efd(0x126)]():this[_0x4e6efd(0xc2)]();}[_0x50374f(0x126)](){const _0x54c9cd=_0x50374f,_0x195343=this[_0x54c9cd(0xbc)](),_0x2b14b2=_0x195343===null||_0x195343===void 0?void 0:_0x195343[_0x54c9cd(0x114)];_0x2b14b2 instanceof SceneComponent&&_0x195343?(this['prepareClickComponent']=_0x2b14b2,this['prepareClickHit']=_0x195343[_0x54c9cd(0xf7)],this['leftClickTimer']=window[_0x54c9cd(0xb1)](()=>{const _0xccd82=_0x54c9cd;this[_0xccd82(0xfb)]=null,this[_0xccd82(0xe8)]&&this['prepareClickHit']&&(this[_0xccd82(0xfa)](this['prepareClickComponent'],this['prepareClickHit'],![]),this[_0xccd82(0xe8)]=null,this[_0xccd82(0x103)]=null);},this[_0x54c9cd(0x141)])):this[_0x54c9cd(0x98)][_0x54c9cd(0x14f)]();}[_0x50374f(0xc2)](){const _0x4dbbcc=_0x50374f;this['clearClickTimer'](),this[_0x4dbbcc(0xe8)]&&this[_0x4dbbcc(0x103)]?this[_0x4dbbcc(0xfa)](this['prepareClickComponent'],this[_0x4dbbcc(0x103)],!![]):this[_0x4dbbcc(0x98)]['broadcast'](),this[_0x4dbbcc(0xe8)]=null,this['prepareClickHit']=null;}['onPointerDownEvent'](_0x117632){const _0x1d1a55=_0x50374f;this[_0x1d1a55(0xdf)][_0x1d1a55(0x14f)](_0x117632),this[_0x1d1a55(0xa5)][_0x1d1a55(0xbd)](_0x117632['button']);_0x117632[_0x1d1a55(0x9d)]===0x0&&this['pointerLeftDownPosition'][_0x1d1a55(0x119)](this[_0x1d1a55(0x155)]);const _0x7c0fcc=this[_0x1d1a55(0xbc)](),_0x5c943f=_0x7c0fcc===null||_0x7c0fcc===void 0?void 0:_0x7c0fcc[_0x1d1a55(0x114)];_0x5c943f instanceof SceneComponent&&_0x7c0fcc&&this[_0x1d1a55(0x147)](_0x5c943f,_0x7c0fcc['hit'],_0x117632[_0x1d1a55(0x9d)]);}['onPointerEnterEvent'](_0xcc03c2){const _0x56d0dd=_0x50374f;this[_0x56d0dd(0x14a)]();}[_0x50374f(0x14b)](_0x4e446f){this['removeCorePointerListeners']();}[_0x50374f(0xc7)](_0x1ee8cc){const _0x42e094=_0x50374f;this[_0x42e094(0xa6)][_0x42e094(0x14f)](_0x1ee8cc);}[_0x50374f(0x10a)](_0xbccee9){const _0x2f3952=_0x50374f;this['_onWheelDelegate'][_0x2f3952(0x14f)](_0xbccee9);}[_0x50374f(0xac)](_0x2414dc){const _0x5aa345=_0x50374f;this[_0x5aa345(0xc9)][_0x5aa345(0x14f)](_0x2414dc);}['onKeyUpEvent'](_0x54c92b){const _0x2418ba=_0x50374f;this['_onKeyUpDelegate'][_0x2418ba(0x14f)](_0x54c92b);}[_0x50374f(0xdc)](_0x1e6ec6){const _0x255539=_0x50374f;this[_0x255539(0x111)]['broadcast'](_0x1e6ec6);}[_0x50374f(0x101)](_0xcdd3d5){const _0x11d063=_0x50374f;this[_0x11d063(0xd5)]['broadcast'](_0xcdd3d5);}[_0x50374f(0xb7)](_0x7a6662){const _0x5260d0=_0x50374f;this[_0x5260d0(0x143)][_0x5260d0(0x14f)](_0x7a6662);}[_0x50374f(0xd2)](_0x36200b){const _0x561a5d=_0x50374f;this[_0x561a5d(0x15c)][_0x561a5d(0x14f)](_0x36200b);}[_0x50374f(0x158)](_0xea677d,_0x21af6f){const _0xc211c6=_0x50374f,_0x33e1c0={'component':_0xea677d,'hit':_0x21af6f,'handled':![]};this[_0xc211c6(0xa1)][_0xc211c6(0x14f)](_0x33e1c0),!_0x33e1c0[_0xc211c6(0xb4)]&&_0xea677d[_0xc211c6(0xe3)]();}[_0x50374f(0xfe)](_0x495dba){const _0x29c28f=_0x50374f,_0x58f496={'component':_0x495dba,'hit':null,'handled':![]};this[_0x29c28f(0xb8)][_0x29c28f(0x14f)](_0x58f496),!_0x58f496[_0x29c28f(0xb4)]&&_0x495dba[_0x29c28f(0x15b)]();}[_0x50374f(0x9a)](_0x5d7108,_0x4f2803,_0x4d1e1a){const _0x39dbfb=_0x50374f,_0xea861b=Object['assign']({'component':_0x5d7108,'hit':_0x4f2803,'handled':![]},this[_0x39dbfb(0x140)]);_0x4d1e1a?(this[_0x39dbfb(0xbf)][_0x39dbfb(0x14f)](_0xea861b),!_0xea861b[_0x39dbfb(0xb4)]&&_0x5d7108['onDoubleClicked']()):(this['_onComponentClickDelegate'][_0x39dbfb(0x14f)](_0xea861b),!_0xea861b[_0x39dbfb(0xb4)]&&_0x5d7108[_0x39dbfb(0xb5)]());}['firePointerDownEvent'](_0xcf9796,_0xe54dcc,_0x28cfc8){const _0x2a1bbd=_0x50374f,_0x53e1da={'component':_0xcf9796,'hit':_0xe54dcc,'button':_0x28cfc8,'handled':![]};this[_0x2a1bbd(0xb3)][_0x2a1bbd(0x14f)](_0x53e1da);}[_0x50374f(0x11a)](_0xa0c191,_0x11299f,_0x159467){const _0x53ea9c=_0x50374f,_0x3f513e={'actor':_0xa0c191,'component':_0x11299f,'hit':_0x159467,'handled':![]};this[_0x53ea9c(0xd6)][_0x53ea9c(0x14f)](_0x3f513e),!_0x3f513e['handled']&&_0xa0c191['onActorHoverBegin'](_0x11299f);}[_0x50374f(0x157)](_0x6b1b2,_0x3038af){const _0x303e5a=_0x50374f,_0x1d2c59={'actor':_0x6b1b2,'component':_0x3038af,'hit':null,'handled':![]};this['_onActorHoverEndDelegate']['broadcast'](_0x1d2c59),!_0x1d2c59[_0x303e5a(0xb4)]&&_0x6b1b2[_0x303e5a(0xa7)](_0x3038af);}[_0x50374f(0x128)](_0x263516,_0x17da8a,_0x3e4477,_0x2eeb03){const _0x4078e3=_0x50374f,_0x48c492=Object[_0x4078e3(0x150)]({'actor':_0x263516,'component':_0x17da8a,'hit':_0x3e4477,'handled':![]},this['prepareClickModifiers']);_0x2eeb03?(this[_0x4078e3(0x137)][_0x4078e3(0x14f)](_0x48c492),!_0x48c492[_0x4078e3(0xb4)]&&_0x263516[_0x4078e3(0xde)](_0x17da8a)):(this[_0x4078e3(0xed)][_0x4078e3(0x14f)](_0x48c492),!_0x48c492[_0x4078e3(0xb4)]&&_0x263516[_0x4078e3(0xf9)](_0x17da8a));}[_0x50374f(0xfa)](_0x23b6aa,_0x47fadc,_0x190661){const _0x5c06d6=_0x50374f;this[_0x5c06d6(0x9a)](_0x23b6aa,_0x47fadc,_0x190661);const _0xe8f092=_0x23b6aa[_0x5c06d6(0x145)];if(_0xe8f092){if(_0xe8f092[_0x5c06d6(0xf1)])this['fireActorClick'](_0xe8f092,_0x23b6aa,_0x47fadc,_0x190661);}}[_0x50374f(0xd0)](){const _0x26c2fc=_0x50374f;this[_0x26c2fc(0xfb)]&&(window[_0x26c2fc(0x11c)](this[_0x26c2fc(0xfb)]),this[_0x26c2fc(0xfb)]=null);}['addCorePointerListeners'](){const _0x2bac7c=_0x50374f,_0x5dabdd=this[_0x2bac7c(0xbb)]['canvas'];if(!_0x5dabdd)return;_0x5dabdd[_0x2bac7c(0x117)](_0x2bac7c(0xa9),this[_0x2bac7c(0x133)]),_0x5dabdd[_0x2bac7c(0x117)](_0x2bac7c(0xd7),this[_0x2bac7c(0xaf)]),_0x5dabdd[_0x2bac7c(0x117)](_0x2bac7c(0xc1),this[_0x2bac7c(0xae)]);}[_0x50374f(0x11e)](){const _0x3774fb=_0x50374f,_0x15078f=this[_0x3774fb(0xbb)]['canvas'];if(!_0x15078f)return;_0x15078f[_0x3774fb(0x135)](_0x3774fb(0xa9),this['onPointerMove']),_0x15078f[_0x3774fb(0x135)](_0x3774fb(0xd7),this[_0x3774fb(0xaf)]),_0x15078f[_0x3774fb(0x135)](_0x3774fb(0xc1),this[_0x3774fb(0xae)]);}[_0x50374f(0xbc)](_0x22965=!![]){const _0xff8bd5=_0x50374f;return this[_0xff8bd5(0x94)](this[_0xff8bd5(0x155)]['x'],this[_0xff8bd5(0x155)]['y'],_0x22965);}[_0x50374f(0x94)](_0x5ea373,_0x5b0dd3,_0x3d3aeb=!![]){const _0x3f1243=_0x50374f;this[_0x3f1243(0x109)]['set'](_0x5ea373,_0x5b0dd3),this[_0x3f1243(0x112)][_0x3f1243(0x99)](this['_raycastVec2'],this['camera']);const _0x2ad3ef=this[_0x3f1243(0x13b)](_0x5ea373,_0x5b0dd3);if(!_0x3d3aeb)return _0x2ad3ef[0x0]||null;for(const _0x441e86 of _0x2ad3ef){const _0x23e238=_0x441e86['component'][_0x3f1243(0xe7)]||_0x441e86[_0x3f1243(0x114)]['isClickEnabled'],_0x170b90=_0x441e86[_0x3f1243(0x114)][_0x3f1243(0x145)],_0x16aa05=_0x170b90&&(_0x170b90[_0x3f1243(0xe7)]||_0x170b90[_0x3f1243(0xf1)]);if(_0x23e238||_0x16aa05)return _0x441e86;}return null;}['getAllHitResultUnderCursor'](_0x115b4a=!![]){const _0x79a4cf=_0x50374f;return this[_0x79a4cf(0x13b)](this[_0x79a4cf(0x155)]['x'],this[_0x79a4cf(0x155)]['y']);}[_0x50374f(0x13b)](_0x4e7bf9,_0x41567c){const _0x551f48=_0x50374f;this[_0x551f48(0x109)][_0x551f48(0xa0)](_0x4e7bf9,_0x41567c),this[_0x551f48(0x112)][_0x551f48(0x99)](this[_0x551f48(0x109)],this['camera']);const _0x52f71c=this[_0x551f48(0x112)][_0x551f48(0xf8)][_0x551f48(0xec)],_0x42839d=this[_0x551f48(0x112)][_0x551f48(0xf8)]['at'](0x2710,new Vector3()),_0x9c6c51=this[_0x551f48(0xca)][_0x551f48(0x107)][_0x551f48(0xea)](_0x52f71c,_0x42839d,CollisionChannel['Visibility']),_0x4e3f45=[];for(const _0x3cb4f3 of _0x9c6c51){if(!_0x3cb4f3[_0x551f48(0xb2)]||!_0x3cb4f3[_0x551f48(0xb2)][_0x551f48(0x152)])continue;if(this[_0x551f48(0x96)]instanceof PerspectiveCamera&&_0x3cb4f3[_0x551f48(0x102)]<this[_0x551f48(0x96)][_0x551f48(0xcd)])continue;const _0x52a347={'distance':_0x3cb4f3[_0x551f48(0x102)],'point':_0x3cb4f3[_0x551f48(0xc5)],'object':_0x3cb4f3[_0x551f48(0xb2)][_0x551f48(0x152)],'uv':new Vector2$1(0x0,0x0)};_0x4e3f45[_0x551f48(0x121)]({'component':_0x3cb4f3[_0x551f48(0xb2)],'hit':_0x52a347});if(_0x3cb4f3[_0x551f48(0x13c)])break;}return _0x4e3f45;}[_0x50374f(0xad)](_0x5e2ba4,_0x3f9a3a,_0x377c2c,_0x2c8ed0,_0x164066=null,_0x1ea48e=null){const _0x5c27bf=_0x50374f;this[_0x5c27bf(0xd8)][_0x5c27bf(0xad)](_0x5e2ba4,_0x3f9a3a,_0x377c2c,_0x2c8ed0,_0x164066,_0x1ea48e);}[_0x50374f(0xf5)](_0x36aa26,_0x13956a,_0x34eb70={}){const _0x1e35ca=_0x50374f,{computeOptimalQuat:computeOptimalQuat=![],onGoing:onGoing=null,onFinished:onFinished=null,targetScreenRatio:targetScreenRatio=Math[_0x1e35ca(0x14c)](0.5)}=_0x34eb70,_0x223ce4=new Vector3(),_0x455619=new Vector3();_0x36aa26['getCenter'](_0x223ce4),_0x36aa26[_0x1e35ca(0x138)](_0x455619);const _0x412a4d=this[_0x1e35ca(0x148)][_0x1e35ca(0x96)];if(_0x412a4d&&_0x412a4d[_0x1e35ca(0xfd)]){const _0x48044f=_0x412a4d[_0x1e35ca(0x154)]*(Math['PI']/0xb4),_0x81d230=_0x455619[_0x1e35ca(0x132)]()*0.5,_0x36f1ec=Math[_0x1e35ca(0x12f)](_0x81d230/targetScreenRatio/Math[_0x1e35ca(0x11d)](_0x48044f/0x2),_0x412a4d[_0x1e35ca(0xcd)]*0x2);let _0x5e9aa8=_0x412a4d['quaternion'][_0x1e35ca(0xd3)]();if(computeOptimalQuat){const _0x59b7be=[new Euler(-Math['PI']/0x6,Math['PI']/0x4,0x0,'YXZ'),new Euler(-Math['PI']/0x6,Math['PI']/0x2,0x0,'YXZ'),new Euler(-Math['PI']/0x6,-Math['PI']/0x2,0x0,'YXZ'),new Euler(-Math['PI']/0x6,0x0,0x0,_0x1e35ca(0xab)),new Euler(-Math['PI']/0x6,Math['PI'],0x0,_0x1e35ca(0xab)),new Euler(-Math['PI']/0x4,Math['PI']/0x4,0x0,_0x1e35ca(0xab)),new Euler(-Math['PI']/0x4,Math['PI']/0x2,0x0,_0x1e35ca(0xab)),new Euler(-Math['PI']/0x4,-Math['PI']/0x2,0x0,'YXZ'),new Euler(-Math['PI']/0x4,0x0,0x0,_0x1e35ca(0xab)),new Euler(-Math['PI']/0x4,Math['PI'],0x0,_0x1e35ca(0xab)),new Euler(-Math['PI']/0x2,0x0,0x0,_0x1e35ca(0xab)),new Euler(-Math['PI']/0x3,0x0,0x0,_0x1e35ca(0xab)),new Euler(-Math['PI']/0x3,Math['PI']/0x2,0x0,'YXZ'),new Euler(-Math['PI']/0x3,Math['PI'],0x0,_0x1e35ca(0xab)),new Euler(-Math['PI']/0x3,-Math['PI']/0x2,0x0,_0x1e35ca(0xab))];let _0x5ced2c=-1;for(const _0x832447 of _0x59b7be){const _0x5ad164=new Quaternion()[_0x1e35ca(0x129)](_0x832447),_0x2dd1df=new Vector3(0x0,0x0,0x1)['applyQuaternion'](_0x5ad164),_0x34e9e5=_0x223ce4[_0x1e35ca(0xd3)]()[_0x1e35ca(0xbd)](_0x2dd1df[_0x1e35ca(0x14d)](_0x36f1ec)),_0x2ad18e=this[_0x1e35ca(0xca)]['physics'][_0x1e35ca(0x139)](_0x34e9e5,_0x223ce4,CollisionChannel[_0x1e35ca(0xf6)]);let _0x4c47aa=![],_0x4b89cd=_0x36f1ec;_0x2ad18e&&_0x2ad18e[_0x1e35ca(0x13c)]&&(_0x2ad18e[_0x1e35ca(0x102)]<_0x36f1ec-_0x81d230*1.2&&(_0x4c47aa=!![],_0x4b89cd=_0x2ad18e[_0x1e35ca(0x102)]));if(!_0x4c47aa){_0x5e9aa8=_0x5ad164;break;}else _0x4b89cd>_0x5ced2c&&(_0x5ced2c=_0x4b89cd,_0x5e9aa8=_0x5ad164);}}const _0x5f3cc3=_0x5e9aa8;this[_0x1e35ca(0xad)](_0x223ce4,_0x5f3cc3,_0x36f1ec,_0x13956a,onGoing,onFinished);}else {const _0x5c7d07=_0x455619['length']()*1.5,_0x1bb9f5=new Quaternion()[_0x1e35ca(0x10f)](new Vector3(0x1,0x0,0x0),-Math['PI']/0x4);this['focusTo'](_0x223ce4,_0x1bb9f5,_0x5c7d07,_0x13956a,onGoing,onFinished);}}[_0x50374f(0x146)](_0x266b08,_0x3b9b6b,_0x216332={}){const _0x124b6e=_0x50374f,_0x32b27b=new Box3()[_0x124b6e(0x12e)](_0x266b08);this[_0x124b6e(0xf5)](_0x32b27b,_0x3b9b6b,_0x216332);}}
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
const _0x4f801f=_0x169a;(function(_0x448ffb,_0x4ab2a8){const _0x30054c=_0x169a,_0x300cfb=_0x448ffb();while(!![]){try{const _0x69e0e2=parseInt(_0x30054c(0x1bb))/0x1*(-parseInt(_0x30054c(0x1ba))/0x2)+-parseInt(_0x30054c(0x1c4))/0x3*(parseInt(_0x30054c(0x1ad))/0x4)+-parseInt(_0x30054c(0x1c2))/0x5+parseInt(_0x30054c(0x1b5))/0x6*(parseInt(_0x30054c(0x1b7))/0x7)+-parseInt(_0x30054c(0x1c0))/0x8+parseInt(_0x30054c(0x1af))/0x9*(parseInt(_0x30054c(0x1be))/0xa)+parseInt(_0x30054c(0x1b6))/0xb;if(_0x69e0e2===_0x4ab2a8)break;else _0x300cfb['push'](_0x300cfb['shift']());}catch(_0x13df66){_0x300cfb['push'](_0x300cfb['shift']());}}}(_0x7942,0x1a1c6));function _0x169a(_0x41985a,_0x2d7ca5){_0x41985a=_0x41985a-0x1ab;const _0x79425d=_0x7942();let _0x169a33=_0x79425d[_0x41985a];return _0x169a33;}class CameraFactory{static[_0x4f801f(0x1b9)](_0x20bed0){const _0x2e9d99=_0x4f801f;try{switch(_0x20bed0[_0x2e9d99(0x1bc)]){case _0x2e9d99(0x1b3):{let _0x43cbb1=_0x20bed0;return new PerspectiveCamera(_0x43cbb1[_0x2e9d99(0x1b4)],_0x43cbb1[_0x2e9d99(0x1b2)],_0x43cbb1['near'],_0x43cbb1[_0x2e9d99(0x1ae)]);}case _0x2e9d99(0x1bd):{let _0x2b6fd4=_0x20bed0;return new OrthographicCamera(_0x2b6fd4[_0x2e9d99(0x1ab)],_0x2b6fd4[_0x2e9d99(0x1c5)],_0x2b6fd4['top'],_0x2b6fd4[_0x2e9d99(0x1c3)],_0x2b6fd4[_0x2e9d99(0x1b0)],_0x2b6fd4['far']);}default:{throw new Error('Invalid\x20camera\x20type');}}}catch(_0x13b420){return console['warn'](_0x2e9d99(0x1ac),_0x13b420),console[_0x2e9d99(0x1bf)]('[CameraFactory]Create\x20default\x20perspective\x20camera\x20instead'),new PerspectiveCamera(0x32,0x1,0.1,0x3e8);}}static['updataCamera'](_0x47e815,_0x3d9710){const _0x73bc0=_0x4f801f;try{switch(_0x47e815[_0x73bc0(0x1bc)]){case _0x73bc0(0x1b3):{let _0x3eec9d=_0x47e815;if(_0x3d9710 instanceof PerspectiveCamera)return _0x3d9710[_0x73bc0(0x1b0)]=_0x3eec9d[_0x73bc0(0x1b0)],_0x3d9710[_0x73bc0(0x1ae)]=_0x3eec9d[_0x73bc0(0x1ae)],_0x3d9710['fov']=_0x3eec9d['fov'],_0x3d9710[_0x73bc0(0x1b2)]=_0x3eec9d[_0x73bc0(0x1b2)],_0x3d9710;return new PerspectiveCamera(_0x3eec9d[_0x73bc0(0x1b4)],_0x3eec9d[_0x73bc0(0x1b2)],_0x3eec9d[_0x73bc0(0x1b0)],_0x3eec9d[_0x73bc0(0x1ae)]);}case 'Orthographic':{let _0x15d287=_0x47e815;if(_0x3d9710 instanceof OrthographicCamera)return _0x3d9710['near']=_0x15d287[_0x73bc0(0x1b0)],_0x3d9710[_0x73bc0(0x1ae)]=_0x15d287[_0x73bc0(0x1ae)],_0x3d9710[_0x73bc0(0x1ab)]=_0x15d287[_0x73bc0(0x1ab)],_0x3d9710[_0x73bc0(0x1c5)]=_0x15d287[_0x73bc0(0x1c5)],_0x3d9710[_0x73bc0(0x1b1)]=_0x15d287[_0x73bc0(0x1b1)],_0x3d9710['bottom']=_0x15d287[_0x73bc0(0x1c3)],_0x3d9710;return new OrthographicCamera(_0x15d287[_0x73bc0(0x1ab)],_0x15d287[_0x73bc0(0x1c5)],_0x15d287[_0x73bc0(0x1b1)],_0x15d287[_0x73bc0(0x1c3)],_0x15d287['near'],_0x15d287[_0x73bc0(0x1ae)]);}default:{throw new Error(_0x73bc0(0x1c1));}}}catch(_0x487ad6){return console[_0x73bc0(0x1bf)](_0x73bc0(0x1c6),_0x487ad6),console[_0x73bc0(0x1bf)](_0x73bc0(0x1b8)),_0x3d9710;}}}function _0x7942(){const _0x242a8e=['[CameraFactory]Error\x20occurred\x20while\x20creating\x20camera:\x20','3280MlzfTd','far','234cSCehU','near','top','aspect','Perspective','fov','18UWqaka','3452790iWitLH','351666TtZAYE','[CameraFactory]Update\x20Failed.\x20Return\x20old\x20camera\x20instead','createCamera','434cKZRoK','617xkxZsd','type','Orthographic','8350RZYjgs','warn','63544ztxEnl','Invalid\x20camera\x20type','359460aTLjtQ','bottom','606jfZBBZ','right','[CameraFactory]Error\x20occurred\x20while\x20updating\x20camera:\x20','left'];_0x7942=function(){return _0x242a8e;};return _0x7942();}
|
|
93
93
|
|
|
94
|
-
const
|
|
94
|
+
const _0x292f2f=_0x3282;function _0x3282(_0x2a88a4,_0x57c37f){_0x2a88a4=_0x2a88a4-0x19d;const _0x15c8e5=_0x15c8();let _0x3282d5=_0x15c8e5[_0x2a88a4];return _0x3282d5;}(function(_0x3b3171,_0xe7cef0){const _0x4846a4=_0x3282,_0x387e53=_0x3b3171();while(!![]){try{const _0x17911d=-parseInt(_0x4846a4(0x1a0))/0x1*(parseInt(_0x4846a4(0x1a8))/0x2)+-parseInt(_0x4846a4(0x1a2))/0x3+parseInt(_0x4846a4(0x19e))/0x4+-parseInt(_0x4846a4(0x19d))/0x5*(-parseInt(_0x4846a4(0x1a7))/0x6)+parseInt(_0x4846a4(0x1a5))/0x7*(-parseInt(_0x4846a4(0x1a6))/0x8)+parseInt(_0x4846a4(0x19f))/0x9*(-parseInt(_0x4846a4(0x1a1))/0xa)+parseInt(_0x4846a4(0x1a9))/0xb;if(_0x17911d===_0xe7cef0)break;else _0x387e53['push'](_0x387e53['shift']());}catch(_0xd6cc69){_0x387e53['push'](_0x387e53['shift']());}}}(_0x15c8,0xddc1b));const DefaultPerspectiveCameraParam={'near':0.1,'far':0x3e8,'type':_0x292f2f(0x1a4),'fov':0x32,'aspect':0x1};function _0x15c8(){const _0x5675bd=['Perspective','42FsmclD','1859216AYlLiU','8489874ADOoHu','1937474suBWJB','20849708gsEEjm','stringify','5WwlhZN','680272nVqAqy','45jzwpGg','1glzYNU','127460ApEKWD','435843XuvGkW','Orthographic'];_0x15c8=function(){return _0x5675bd;};return _0x15c8();}const DefaultOrthographicCameraParam={'type':_0x292f2f(0x1a3),'near':0.1,'far':0x3e8,'left':-1,'right':0x1,'top':0x1,'bottom':-1};const DefaultCameraParam=JSON['parse'](JSON[_0x292f2f(0x1aa)](DefaultPerspectiveCameraParam));
|
|
95
95
|
|
|
96
|
-
(function(
|
|
96
|
+
(function(_0x19dd09,_0x22b208){const _0x4a18f3=_0x18fd,_0xbd36a3=_0x19dd09();while(!![]){try{const _0x1bc35f=-parseInt(_0x4a18f3(0x189))/0x1+parseInt(_0x4a18f3(0x18f))/0x2+parseInt(_0x4a18f3(0x18a))/0x3+-parseInt(_0x4a18f3(0x18e))/0x4*(-parseInt(_0x4a18f3(0x18c))/0x5)+-parseInt(_0x4a18f3(0x18d))/0x6+parseInt(_0x4a18f3(0x18b))/0x7+-parseInt(_0x4a18f3(0x188))/0x8;if(_0x1bc35f===_0x22b208)break;else _0xbd36a3['push'](_0xbd36a3['shift']());}catch(_0x408aae){_0xbd36a3['push'](_0xbd36a3['shift']());}}}(_0xb701,0xd7176));function _0x18fd(_0x490b83,_0x3a4f50){_0x490b83=_0x490b83-0x188;const _0xb70178=_0xb701();let _0x18fd24=_0xb70178[_0x490b83];return _0x18fd24;}const DefaultAppParam={'dracoPath':'','cameraParam':DefaultCameraParam,'postProcessParam':DefaultPostProcessParam,'viewportParam':DefaultViewportParam,'classes':{'assetManagerClass':AssetManager,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport}};function _0xb701(){const _0x27a62d=['1751601tIzbdy','7967246ocmPxq','8805ianYfO','7984758atelnA','260iiSbbu','2787980LRwFyW','6467608RApFyl','210242VZkbOU'];_0xb701=function(){return _0x27a62d;};return _0xb701();}
|
|
97
97
|
|
|
98
|
-
const
|
|
98
|
+
const _0x42d41c=_0xd42b;(function(_0x2ff4ed,_0x5765e3){const _0x395045=_0xd42b,_0x478a85=_0x2ff4ed();while(!![]){try{const _0x58fbb0=parseInt(_0x395045(0x1a5))/0x1+-parseInt(_0x395045(0x19d))/0x2+parseInt(_0x395045(0x1a6))/0x3*(-parseInt(_0x395045(0x1aa))/0x4)+parseInt(_0x395045(0x1a2))/0x5*(-parseInt(_0x395045(0x1a7))/0x6)+parseInt(_0x395045(0x1b4))/0x7*(-parseInt(_0x395045(0x1b3))/0x8)+parseInt(_0x395045(0x1b5))/0x9+parseInt(_0x395045(0x1b7))/0xa*(parseInt(_0x395045(0x1a8))/0xb);if(_0x58fbb0===_0x5765e3)break;else _0x478a85['push'](_0x478a85['shift']());}catch(_0x42b4e6){_0x478a85['push'](_0x478a85['shift']());}}}(_0x82cf,0x931ea));function _0xd42b(_0x55e6ec,_0x361c10){_0x55e6ec=_0x55e6ec-0x19c;const _0x82cfba=_0x82cf();let _0xd42b53=_0x82cfba[_0x55e6ec];return _0xd42b53;}class ThreeObjectLibrary{static[_0x42d41c(0x19e)](_0x185343){const _0x1bb57e=_0x42d41c,_0x37358d=new Set(),_0x3c3edd=new Set([_0x1bb57e(0x1af),_0x1bb57e(0x1b6),_0x1bb57e(0x1ab),'source']),_0x18bdba=_0x2af36a=>{const _0x251604=_0x1bb57e;if(!_0x2af36a||typeof _0x2af36a!==_0x251604(0x1ad)||_0x37358d[_0x251604(0x1b2)](_0x2af36a))return;if(_0x2af36a[_0x251604(0x1a0)]||_0x2af36a['isScene']||_0x2af36a[_0x251604(0x19f)]||_0x2af36a['isBufferGeometry'])return;_0x37358d[_0x251604(0x1ac)](_0x2af36a);if(_0x251604(0x1b1)in _0x2af36a){_0x2af36a['dispose']();return;}Object['keys'](_0x2af36a)[_0x251604(0x1b0)](_0x5ba8f8=>{const _0x53c754=_0x251604;if(_0x3c3edd[_0x53c754(0x1b2)](_0x5ba8f8))return;_0x18bdba(_0x2af36a[_0x5ba8f8]);});};Object[_0x1bb57e(0x1a4)](_0x185343)[_0x1bb57e(0x1b0)](_0x5d8e70=>{_0x18bdba(_0x185343[_0x5d8e70]);});}static[_0x42d41c(0x1ae)](_0x4206cc){const _0x5d7272=_0x42d41c;let _0x1b5408=Array['isArray'](_0x4206cc[_0x5d7272(0x1a3)])?_0x4206cc[_0x5d7272(0x1a3)]:[_0x4206cc['material']];_0x1b5408[_0x5d7272(0x1b0)](_0x26ffe4=>{const _0x390dab=_0x5d7272;ThreeObjectLibrary['disposeMaterialTextures'](_0x26ffe4),_0x26ffe4[_0x390dab(0x1a1)]();});}static['disposeMeshResource'](_0x3260f4,_0x426cd9=![]){const _0x55945f=_0x42d41c;ThreeObjectLibrary[_0x55945f(0x1ae)](_0x3260f4),_0x3260f4['geometry'][_0x55945f(0x1a1)](),_0x426cd9&&_0x3260f4[_0x55945f(0x1b6)]['forEach'](_0x5c1db7=>{_0x5c1db7 instanceof Mesh&&ThreeObjectLibrary['disposeMeshResource'](_0x5c1db7,!![]);});}static[_0x42d41c(0x19c)](_0x212df6){const _0x21e9d4=_0x42d41c;_0x212df6[_0x21e9d4(0x1a9)](_0x143eb1=>{const _0x58ad6f=_0x21e9d4;_0x143eb1 instanceof Mesh&&ThreeObjectLibrary[_0x58ad6f(0x1b8)](_0x143eb1);});}}function _0x82cf(){const _0x50cd3d=['forEach','isTexture','has','16euVqMK','3151988CyUIic','9754434cTmaSV','children','18320290irnDkS','disposeMeshResource','disposeObject3DResource','2106076QzPgfF','disposeMaterialTextures','isMesh','isObject3D','dispose','245FWucpj','material','keys','895592jPIhMX','169656FzgMoi','146778tBNHZL','11lspGUo','traverse','4uxvKoi','geometry','add','object','disposeMeshMaterial','parent'];_0x82cf=function(){return _0x50cd3d;};return _0x82cf();}
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
var _0x2e888b=_0x35d2;function _0x5b00(){var _0x19e2c5=['485088KdtttH','27475nwQqkG','three\x20object\x20is\x20invalid','1484368JwKqmz','10YgvVye','obj','4009482NpIJlx','userData','1868DvtTVA','258rStcTy','1060mrrnHu','createDefaultObject','LYObject','58383DHECSH','threeObject','132988dZVeeB'];_0x5b00=function(){return _0x19e2c5;};return _0x5b00();}(function(_0x2d1fe4,_0x1da5fd){var _0x44f932=_0x35d2,_0x22e1b6=_0x2d1fe4();while(!![]){try{var _0x5ea133=-parseInt(_0x44f932(0x1bb))/0x1+parseInt(_0x44f932(0x1bd))/0x2+parseInt(_0x44f932(0x1be))/0x3+-parseInt(_0x44f932(0x1c6))/0x4*(parseInt(_0x44f932(0x1c8))/0x5)+-parseInt(_0x44f932(0x1c7))/0x6*(parseInt(_0x44f932(0x1bf))/0x7)+-parseInt(_0x44f932(0x1c1))/0x8+-parseInt(_0x44f932(0x1c4))/0x9*(-parseInt(_0x44f932(0x1c2))/0xa);if(_0x5ea133===_0x1da5fd)break;else _0x22e1b6['push'](_0x22e1b6['shift']());}catch(_0x52a420){_0x22e1b6['push'](_0x22e1b6['shift']());}}}(_0x5b00,0x278bc));function _0x35d2(_0x40eb99,_0x8236ab){_0x40eb99=_0x40eb99-0x1b9;var _0x5b00be=_0x5b00();var _0x35d2dc=_0x5b00be[_0x40eb99];return _0x35d2dc;}class LevelComponent extends SceneComponent{get[_0x2e888b(0x1bc)](){var _0x4056e2=_0x2e888b;if(!this[_0x4056e2(0x1c3)])throw Error(_0x4056e2(0x1c0));return this[_0x4056e2(0x1c3)];}set[_0x2e888b(0x1bc)](_0xff433d){var _0x547bfd=_0x2e888b;this[_0x547bfd(0x1c3)]=_0xff433d,this['obj']&&(this[_0x547bfd(0x1c3)][_0x547bfd(0x1c5)][_0x547bfd(0x1ba)]=this);}constructor(_0x30b4ea,_0x478b01){super(_0x30b4ea,_0x478b01);}[_0x2e888b(0x1b9)](){return new Scene();}}
|
|
101
101
|
|
|
102
|
-
var
|
|
102
|
+
var _0x230633=_0x2e18;(function(_0x599803,_0x21b0cd){var _0x2f4dc9=_0x2e18,_0x345a66=_0x599803();while(!![]){try{var _0x1da48c=parseInt(_0x2f4dc9(0x1b3))/0x1*(parseInt(_0x2f4dc9(0x1af))/0x2)+parseInt(_0x2f4dc9(0x1a8))/0x3*(parseInt(_0x2f4dc9(0x1b5))/0x4)+parseInt(_0x2f4dc9(0x1b4))/0x5+parseInt(_0x2f4dc9(0x1a0))/0x6*(parseInt(_0x2f4dc9(0x1a1))/0x7)+-parseInt(_0x2f4dc9(0x1ab))/0x8+parseInt(_0x2f4dc9(0x1ad))/0x9*(-parseInt(_0x2f4dc9(0x1b9))/0xa)+-parseInt(_0x2f4dc9(0x1a5))/0xb*(parseInt(_0x2f4dc9(0x1ac))/0xc);if(_0x1da48c===_0x21b0cd)break;else _0x345a66['push'](_0x345a66['shift']());}catch(_0x4383d5){_0x345a66['push'](_0x345a66['shift']());}}}(_0x4f04,0xab93f));function _0x4f04(){var _0x16c14a=['clearLevel','21321553YpjnpP','tick','scene\x20is\x20null','15297RUHtsU','isTickEnabled','app','1647728yMHZZN','12Wkqmxh','1494yViGTg','scene','2VByOmK','rootComponent','threeObject','uuid','1050391uuFEGy','3817235cPSYxW','964xZKRFI','destroy','_scene','constructRootComponent','18730qbnnYx','childActors','6AFuxVk','807051OfZSat','traverse','disposeMeshResource'];_0x4f04=function(){return _0x16c14a;};return _0x4f04();}function _0x2e18(_0x5ec920,_0xcd482){_0x5ec920=_0x5ec920-0x19f;var _0x4f0418=_0x4f04();var _0x2e189f=_0x4f0418[_0x5ec920];return _0x2e189f;}class LevelActor extends Actor{get[_0x230633(0x1ae)](){var _0x567b02=_0x230633;if(!this[_0x567b02(0x1b7)])throw new Error(_0x567b02(0x1a7));return this[_0x567b02(0x1b7)];}constructor(_0xb51dc0,_0x502ef2){var _0x4a2784=_0x230633;super(_0xb51dc0,_0x502ef2),this[_0x4a2784(0x1b7)]=null,this[_0x4a2784(0x1b7)]=this[_0x4a2784(0x1b0)][_0x4a2784(0x1b1)],this[_0x4a2784(0x1a9)]=![];}[_0x230633(0x1b8)](){var _0x5e0036=_0x230633;return new LevelComponent(this[_0x5e0036(0x1aa)],this[_0x5e0036(0x1b2)]);}[_0x230633(0x1a6)](_0x10ae6e){var _0x27522e=_0x230633;if(!this[_0x27522e(0x1a9)])return;super[_0x27522e(0x1a6)](_0x10ae6e);}[_0x230633(0x1b6)](){var _0x3b2a67=_0x230633;this[_0x3b2a67(0x1a4)](),super[_0x3b2a67(0x1b6)]();}[_0x230633(0x1a4)](){var _0x102844=_0x230633;this[_0x102844(0x19f)]['forEach'](_0x5620b8=>{var _0x42ae2e=_0x102844;_0x5620b8[_0x42ae2e(0x1b6)]();}),this[_0x102844(0x1ae)][_0x102844(0x1a2)](_0x37003c=>{var _0x11b221=_0x102844;_0x37003c instanceof Mesh&&ThreeObjectLibrary[_0x11b221(0x1a3)](_0x37003c);});}}
|
|
103
103
|
|
|
104
|
-
|
|
104
|
+
(function(_0x3bbac3,_0x1e210c){const _0x30fd8e=_0x4c23,_0x4d1509=_0x3bbac3();while(!![]){try{const _0x264bcf=-parseInt(_0x30fd8e(0x118))/0x1*(-parseInt(_0x30fd8e(0x11b))/0x2)+-parseInt(_0x30fd8e(0x121))/0x3+parseInt(_0x30fd8e(0x11f))/0x4+parseInt(_0x30fd8e(0x11a))/0x5+parseInt(_0x30fd8e(0x11c))/0x6+parseInt(_0x30fd8e(0x119))/0x7*(parseInt(_0x30fd8e(0x120))/0x8)+parseInt(_0x30fd8e(0x11d))/0x9*(-parseInt(_0x30fd8e(0x11e))/0xa);if(_0x264bcf===_0x1e210c)break;else _0x4d1509['push'](_0x4d1509['shift']());}catch(_0x1ffeba){_0x4d1509['push'](_0x4d1509['shift']());}}}(_0x5dba,0x35011));function _0x4c23(_0x3cce9c,_0x106056){_0x3cce9c=_0x3cce9c-0x118;const _0x5dbab2=_0x5dba();let _0x4c2300=_0x5dbab2[_0x3cce9c];return _0x4c2300;}const DefaultWorldParam={'levelActorClass':LevelActor};function _0x5dba(){const _0x19d72a=['1547148TDrFgU','25656DQtJwb','192711aeIrmV','3khNhjB','833KzwajR','1834370WGhABH','183710QUFyPp','1640004TcaSVa','9iaHFMG','14028510qnzLdz'];_0x5dba=function(){return _0x19d72a;};return _0x5dba();}
|
|
105
105
|
|
|
106
|
-
const
|
|
106
|
+
const _0x3c4d9c=_0x4bf1;(function(_0x189f47,_0x3f6f14){const _0x30509d=_0x4bf1,_0x57e354=_0x189f47();while(!![]){try{const _0x5442c0=parseInt(_0x30509d(0x98))/0x1*(parseInt(_0x30509d(0xad))/0x2)+parseInt(_0x30509d(0x99))/0x3*(parseInt(_0x30509d(0xb4))/0x4)+parseInt(_0x30509d(0x90))/0x5+-parseInt(_0x30509d(0xa3))/0x6*(-parseInt(_0x30509d(0xb7))/0x7)+-parseInt(_0x30509d(0xa7))/0x8+-parseInt(_0x30509d(0xc3))/0x9*(-parseInt(_0x30509d(0xab))/0xa)+parseInt(_0x30509d(0xc5))/0xb;if(_0x5442c0===_0x3f6f14)break;else _0x57e354['push'](_0x57e354['shift']());}catch(_0x3bf072){_0x57e354['push'](_0x57e354['shift']());}}}(_0x4e6b,0x1fead));function _0x4bf1(_0x522427,_0x4f9b23){_0x522427=_0x522427-0x90;const _0x4e6bb1=_0x4e6b();let _0x4bf11e=_0x4e6bb1[_0x522427];return _0x4bf11e;}function _0x4e6b(){const _0x49a6bb=['postConstruct','30CyVndv','controller','6iAurPq','removeTickingFunction','_isTickPaused','renderAsImage','updateCamera','clear','createCamera','448804hnoSKu','_tickingFunctions','_onCameraChangedDelegate','209111XWypFE','push','destroy','indexOf','addTickingFunction','updateProjectionMatrix','forEach','clock','broadcast','viewportParam','init','_camera','73962hIZEZB','updataCamera','15081CBvDgP','viewportClass','139925CKPpAm','_world','dracoPath','viewport','controllerClass','aspect','camera','assetManagerClass','16307nKSxvp','3FiUoTC','onCameraChangedDelegate','setTickPaused','_viewport','worldClass','markRenderStateDirty','cameraParam','_clock','getDelta','worldParam','24uiZnlV','world','tick','_controller','1631128Vaiogw','_assetManager','render'];_0x4e6b=function(){return _0x49a6bb;};return _0x4e6b();}class ThreeJsApp{get[_0x3c4d9c(0x96)](){const _0x5cf621=_0x3c4d9c;return this[_0x5cf621(0xc2)];}get[_0x3c4d9c(0xbe)](){const _0x1b62e0=_0x3c4d9c;return this[_0x1b62e0(0xa0)];}get[_0x3c4d9c(0xa4)](){return this['_world'];}get[_0x3c4d9c(0x93)](){const _0x3b3019=_0x3c4d9c;return this[_0x3b3019(0x9c)];}get['controller'](){const _0x590275=_0x3c4d9c;return this[_0x590275(0xa6)];}get['assetManager'](){const _0x4b2e10=_0x3c4d9c;return this[_0x4b2e10(0xa8)];}get[_0x3c4d9c(0x9a)](){const _0x40cc65=_0x3c4d9c;return this[_0x40cc65(0xb6)];}constructor(_0x42a0b7=DefaultAppParam){const _0x206d59=_0x3c4d9c;var _0x3e25ef,_0x35aea8,_0x31dcbd,_0x359fc7;this['_tickingFunctions']=[],this['_isTickPaused']=![],this[_0x206d59(0xb6)]=new Delegate();const _0x3c3cb2=(_0x3e25ef=_0x42a0b7[_0x206d59(0x9f)])!==null&&_0x3e25ef!==void 0?_0x3e25ef:DefaultCameraParam,_0x531fba=(_0x35aea8=_0x42a0b7[_0x206d59(0xa2)])!==null&&_0x35aea8!==void 0?_0x35aea8:DefaultWorldParam,_0x112ca1=(_0x31dcbd=_0x42a0b7[_0x206d59(0xc0)])!==null&&_0x31dcbd!==void 0?_0x31dcbd:DefaultViewportParam,_0x4e8584=(_0x359fc7=_0x42a0b7['classes'])!==null&&_0x359fc7!==void 0?_0x359fc7:{'assetManagerClass':AssetManager,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport};this[_0x206d59(0xa0)]=new Timer(),this[_0x206d59(0xc2)]=CameraFactory[_0x206d59(0xb3)](_0x3c3cb2),this[_0x206d59(0x91)]=new _0x4e8584[(_0x206d59(0x9d))](this,_0x531fba),this['_viewport']=new _0x4e8584[(_0x206d59(0xc6))](this,_0x112ca1),this['_controller']=new _0x4e8584[(_0x206d59(0x94))](this),this[_0x206d59(0xa8)]=new _0x4e8584[(_0x206d59(0x97))](this,_0x42a0b7[_0x206d59(0x92)]),this[_0x206d59(0x93)]['renderer']['setAnimationLoop'](()=>{const _0x1b15d6=_0x206d59;this[_0x1b15d6(0xa0)]['update']();const _0x540860=this['_clock'][_0x1b15d6(0xa1)]();this[_0x1b15d6(0xa5)](_0x540860);}),this['postConstruct']();}[_0x3c4d9c(0xaa)](){const _0x207a3a=_0x3c4d9c;this[_0x207a3a(0xac)][_0x207a3a(0xc1)](),this[_0x207a3a(0xa4)][_0x207a3a(0xc1)](),this[_0x207a3a(0x93)]['init']();}[_0x3c4d9c(0xc1)](){}['tick'](_0x354b21){const _0x527292=_0x3c4d9c;if(this[_0x527292(0xaf)])return;this[_0x527292(0xa6)][_0x527292(0xa5)](_0x354b21),this[_0x527292(0xa4)]['tick'](_0x354b21),this['_tickingFunctions'][_0x527292(0xbd)](_0x997341=>{_0x997341(_0x354b21);}),this[_0x527292(0x93)]['markRenderStateDirty'](),this[_0x527292(0x93)][_0x527292(0xa9)]();}[_0x3c4d9c(0x9b)](_0x425c32){const _0x2d4d2c=_0x3c4d9c;console['log'](_0x2d4d2c(0x9b),_0x425c32),this[_0x2d4d2c(0xaf)]=_0x425c32;}[_0x3c4d9c(0xbb)](_0x55f317){const _0x100497=_0x3c4d9c;this['_tickingFunctions'][_0x100497(0xb8)](_0x55f317);}[_0x3c4d9c(0xae)](_0x162408){const _0x335c66=_0x3c4d9c,_0x3ba14f=this[_0x335c66(0xb5)][_0x335c66(0xba)](_0x162408);_0x3ba14f>=0x0&&this['_tickingFunctions']['splice'](_0x3ba14f,0x1);}[_0x3c4d9c(0xb9)](){const _0x205ef9=_0x3c4d9c;this[_0x205ef9(0x9a)][_0x205ef9(0xb2)](),this[_0x205ef9(0xac)]['destroy'](),this['world'][_0x205ef9(0xb9)](),this[_0x205ef9(0xa8)]['dispose'](),this['viewport'][_0x205ef9(0xb9)]();}[_0x3c4d9c(0xb1)](_0x2933a6){const _0x23506b=_0x3c4d9c,_0x100494=this[_0x23506b(0x96)];this[_0x23506b(0xc2)]=CameraFactory[_0x23506b(0xc4)](_0x2933a6,this[_0x23506b(0x96)]),_0x100494!==this['camera']&&(this['_onCameraChangedDelegate'][_0x23506b(0xbf)](),this['controller']['updateCamera']()),this[_0x23506b(0xc2)][_0x23506b(0xbc)](),this['viewport'][_0x23506b(0x9e)]();}['onWindowResize'](_0x15f40a,_0x440fc1){const _0x251dca=_0x3c4d9c;this[_0x251dca(0x96)]instanceof PerspectiveCamera&&(this[_0x251dca(0x96)][_0x251dca(0x95)]=_0x15f40a/_0x440fc1),this[_0x251dca(0x96)]['updateProjectionMatrix']();}async[_0x3c4d9c(0xb0)](_0x451d67=0x400,_0x11cdfe=0x400){const _0x2e60b7=_0x3c4d9c;return await this['viewport'][_0x2e60b7(0xb0)](_0x451d67,_0x11cdfe);}}
|
|
107
107
|
|
|
108
|
-
var
|
|
108
|
+
var _0x349f9d=_0x8de2;function _0xb262(){var _0x4dc025=['4BJZkBL','851094DBvdAb','1567790hexRpQ','45331LEgEJv','userData','three\x20object\x20is\x20invalid','getHex','threeObject','460FFIWRA','obj','9JdxucH','intensity','10698TdKPXQ','12hEUAgh','316285Joqzon','625752aGRVcc','color','LYObject','33566shgjBa'];_0xb262=function(){return _0x4dc025;};return _0xb262();}(function(_0x228fe2,_0x16f3bf){var _0x55c293=_0x8de2,_0x2974a6=_0x228fe2();while(!![]){try{var _0xb45e43=parseInt(_0x55c293(0x1f8))/0x1+parseInt(_0x55c293(0x1f2))/0x2*(-parseInt(_0x55c293(0x1f3))/0x3)+-parseInt(_0x55c293(0x1f9))/0x4*(parseInt(_0x55c293(0x1f4))/0x5)+parseInt(_0x55c293(0x1e7))/0x6+-parseInt(_0x55c293(0x1e8))/0x7+-parseInt(_0x55c293(0x1f5))/0x8*(-parseInt(_0x55c293(0x1f0))/0x9)+parseInt(_0x55c293(0x1ee))/0xa*(parseInt(_0x55c293(0x1e9))/0xb);if(_0xb45e43===_0x16f3bf)break;else _0x2974a6['push'](_0x2974a6['shift']());}catch(_0xb6405b){_0x2974a6['push'](_0x2974a6['shift']());}}}(_0xb262,0x20db1));function _0x8de2(_0x48301b,_0x1ccd89){_0x48301b=_0x48301b-0x1e7;var _0xb2624a=_0xb262();var _0x8de2ae=_0xb2624a[_0x48301b];return _0x8de2ae;}class LightComponent extends SceneComponent{get[_0x349f9d(0x1ed)](){var _0x1cfe27=_0x349f9d;if(!this[_0x1cfe27(0x1ef)])throw Error(_0x1cfe27(0x1eb));return this[_0x1cfe27(0x1ef)];}set['threeObject'](_0x6a8125){var _0x459eeb=_0x349f9d;this[_0x459eeb(0x1ef)]=_0x6a8125,this[_0x459eeb(0x1ef)]&&(this['obj'][_0x459eeb(0x1ea)][_0x459eeb(0x1f7)]=this);}get[_0x349f9d(0x1f6)](){var _0x17438c=_0x349f9d;return this[_0x17438c(0x1ed)][_0x17438c(0x1f6)][_0x17438c(0x1ec)]();}set[_0x349f9d(0x1f6)](_0x16429b){var _0x19cc4c=_0x349f9d;this[_0x19cc4c(0x1ed)][_0x19cc4c(0x1f6)]['set'](_0x16429b);}get[_0x349f9d(0x1f1)](){var _0x39b1df=_0x349f9d;return this[_0x39b1df(0x1ed)][_0x39b1df(0x1f1)];}set[_0x349f9d(0x1f1)](_0x438923){var _0x4632cb=_0x349f9d;this[_0x4632cb(0x1ed)][_0x4632cb(0x1f1)]=_0x438923;}constructor(_0x414563,_0x22949a){super(_0x414563,_0x22949a);}}
|
|
109
109
|
|
|
110
|
-
var
|
|
110
|
+
var _0x43f387=_0x4cc6;(function(_0x1367d5,_0x1d522d){var _0x189d54=_0x4cc6,_0x22f472=_0x1367d5();while(!![]){try{var _0x2a0601=parseInt(_0x189d54(0xcc))/0x1+-parseInt(_0x189d54(0xe2))/0x2*(parseInt(_0x189d54(0xe3))/0x3)+parseInt(_0x189d54(0xde))/0x4*(parseInt(_0x189d54(0xe0))/0x5)+-parseInt(_0x189d54(0xd2))/0x6*(-parseInt(_0x189d54(0xdd))/0x7)+parseInt(_0x189d54(0xe4))/0x8+parseInt(_0x189d54(0xd5))/0x9*(parseInt(_0x189d54(0xcd))/0xa)+-parseInt(_0x189d54(0xd8))/0xb;if(_0x2a0601===_0x1d522d)break;else _0x22f472['push'](_0x22f472['shift']());}catch(_0x14fefe){_0x22f472['push'](_0x22f472['shift']());}}}(_0x4f8f,0x701fd));function _0x4cc6(_0x1a6f5b,_0x6bb6bd){_0x1a6f5b=_0x1a6f5b-0xca;var _0x4f8f0f=_0x4f8f();var _0x4cc63b=_0x4f8f0f[_0x1a6f5b];return _0x4cc63b;}function _0x4f8f(){var _0x10933e=['2189900KumKmx','set','color','setPosition','castShadow','1742316jVxYIn','threeObject','intensity','18XAeQrT','obj','userData','20037270xFYKUY','destroy','onAddedToWorld','createDefaultObject','viewport','14MLlQVS','32828xAEceD','world','345rKpIyM','update','1120sTXHTE','921rRLdoa','4664768AbibGR','length','three\x20object\x20is\x20invalid','284620QPmjaM'];_0x4f8f=function(){return _0x10933e;};return _0x4f8f();}class DirectionalLightComponent extends LightComponent{get[_0x43f387(0xd3)](){var _0x1e691b=_0x43f387;if(!this[_0x1e691b(0xd6)])throw Error(_0x1e691b(0xcb));return this['obj'];}set[_0x43f387(0xd3)](_0x13471b){var _0x302daa=_0x43f387;this[_0x302daa(0xd6)]=_0x13471b,this['obj']&&(this[_0x302daa(0xd6)][_0x302daa(0xd7)]['LYObject']=this);}get[_0x43f387(0xd1)](){var _0x498d1a=_0x43f387;return this['threeObject'][_0x498d1a(0xd1)];}set[_0x43f387(0xd1)](_0x59df86){var _0x10fe5c=_0x43f387;this[_0x10fe5c(0xd3)][_0x10fe5c(0xd1)]=_0x59df86;}constructor(_0x579864,_0x2efeea=0xffffff,_0x1cf133=0xa,_0x1a3c0f){var _0x3901b2=_0x43f387;super(_0x579864,_0x1a3c0f),this[_0x3901b2(0xd3)][_0x3901b2(0xcf)][_0x3901b2(0xce)](_0x2efeea),this[_0x3901b2(0xd3)][_0x3901b2(0xd4)]=_0x1cf133;}[_0x43f387(0xdb)](){return new DirectionalLight(0xffffff,0xa);}['setPosition'](..._0x18d5ff){var _0x359055=_0x43f387;_0x18d5ff[_0x359055(0xca)]===0x1?super['setPosition'](_0x18d5ff[0x0]):super[_0x359055(0xd0)](_0x18d5ff[0x0],_0x18d5ff[0x1],_0x18d5ff[0x2]),this[_0x359055(0xe1)]();}[_0x43f387(0xe1)](){var _0x5ee6f6=_0x43f387;if(this[_0x5ee6f6(0xdf)])this[_0x5ee6f6(0xdf)][_0x5ee6f6(0xdc)]['markRenderStateDirty']();}[_0x43f387(0xda)](_0x964a26){var _0xe8b731=_0x43f387;if(!this[_0xe8b731(0xd3)])throw Error(_0xe8b731(0xcb));super[_0xe8b731(0xda)](_0x964a26);}['destroy'](){var _0x38d113=_0x43f387;super[_0x38d113(0xd9)]();}}
|
|
111
111
|
|
|
112
|
-
|
|
112
|
+
var _0x3d1e08=_0x1781;(function(_0x57f40f,_0x1ac888){var _0x584c6a=_0x1781,_0x5c5197=_0x57f40f();while(!![]){try{var _0x3968ed=parseInt(_0x584c6a(0x1b8))/0x1*(parseInt(_0x584c6a(0x1b6))/0x2)+-parseInt(_0x584c6a(0x1c4))/0x3*(-parseInt(_0x584c6a(0x1c2))/0x4)+parseInt(_0x584c6a(0x1c3))/0x5+parseInt(_0x584c6a(0x1c1))/0x6+-parseInt(_0x584c6a(0x1bc))/0x7+-parseInt(_0x584c6a(0x1bf))/0x8*(-parseInt(_0x584c6a(0x1bd))/0x9)+parseInt(_0x584c6a(0x1c5))/0xa*(-parseInt(_0x584c6a(0x1bb))/0xb);if(_0x3968ed===_0x1ac888)break;else _0x5c5197['push'](_0x5c5197['shift']());}catch(_0x5f5bc1){_0x5c5197['push'](_0x5c5197['shift']());}}}(_0x2145,0xa2b3e));function _0x1781(_0x5671d4,_0x1ef41b){_0x5671d4=_0x5671d4-0x1b5;var _0x21456a=_0x2145();var _0x178188=_0x21456a[_0x5671d4];return _0x178188;}class DirectionalLightActor extends Actor{constructor(_0x221ff5,_0x479623=0xffffff,_0x3b1a2d=0x1,_0x337b74){var _0x2edad3=_0x1781;super(_0x221ff5,_0x337b74),this[_0x2edad3(0x1c0)]=null,this[_0x2edad3(0x1c0)]=this['rootComponent'],this['lightComponent']&&(this[_0x2edad3(0x1c0)][_0x2edad3(0x1b7)]=_0x479623,this[_0x2edad3(0x1c0)][_0x2edad3(0x1ba)]=_0x3b1a2d,this[_0x2edad3(0x1c0)][_0x2edad3(0x1be)]=!![]),this[_0x2edad3(0x1c0)][_0x2edad3(0x1be)]=!![];}[_0x3d1e08(0x1b5)](){var _0x1389b6=_0x3d1e08;return new DirectionalLightComponent(this[_0x1389b6(0x1b9)]);}}function _0x2145(){var _0x33f65e=['1axulPh','app','intensity','11jUWtIU','7861616aEAIJB','18vZbhpL','castShadow','3038568tyRIUR','lightComponent','1961064kKvrZx','8RJtynj','3729950XDHezL','1075803AGCGDd','17309090FFzDCY','constructRootComponent','1941498gdaGda','color'];_0x2145=function(){return _0x33f65e;};return _0x2145();}
|
|
113
113
|
|
|
114
|
-
var
|
|
114
|
+
var _0x27bc88=_0x2df5;(function(_0x380d37,_0x3a0b42){var _0x15ab13=_0x2df5,_0x16fc14=_0x380d37();while(!![]){try{var _0x4993ca=parseInt(_0x15ab13(0x1ad))/0x1+-parseInt(_0x15ab13(0x19b))/0x2+parseInt(_0x15ab13(0x198))/0x3+-parseInt(_0x15ab13(0x19f))/0x4*(-parseInt(_0x15ab13(0x1a3))/0x5)+parseInt(_0x15ab13(0x1a6))/0x6+parseInt(_0x15ab13(0x19c))/0x7*(-parseInt(_0x15ab13(0x1a0))/0x8)+-parseInt(_0x15ab13(0x19a))/0x9;if(_0x4993ca===_0x3a0b42)break;else _0x16fc14['push'](_0x16fc14['shift']());}catch(_0x3391f3){_0x16fc14['push'](_0x16fc14['shift']());}}}(_0x111d,0xee05c));function _0x2df5(_0x39f6a1,_0x2dfd38){_0x39f6a1=_0x39f6a1-0x197;var _0x111dfc=_0x111d();var _0x2df5ce=_0x111dfc[_0x39f6a1];return _0x2df5ce;}function _0x111d(){var _0x21db56=['viewport','intensity','createDefaultObject','world','setPosition','833195qgTaGj','length','obj','4423554tdDLro','castShadow','31007439YoBHjX','399932BUzYOd','8986985HGIRhA','destroy','update','2334440gACdpm','8CWZuUl','LYObject','markRenderStateDirty','15CttuHw','userData','three\x20object\x20is\x20invalid','11072934VwSpXA','threeObject'];_0x111d=function(){return _0x21db56;};return _0x111d();}class AmbientLightComponent extends LightComponent{get[_0x27bc88(0x1a7)](){var _0x5a82ee=_0x27bc88;if(!this[_0x5a82ee(0x197)])throw Error(_0x5a82ee(0x1a5));return this[_0x5a82ee(0x197)];}set['threeObject'](_0x2001f4){var _0x479b37=_0x27bc88;this[_0x479b37(0x197)]=_0x2001f4,this[_0x479b37(0x197)]&&(this['obj'][_0x479b37(0x1a4)][_0x479b37(0x1a1)]=this);}get[_0x27bc88(0x199)](){var _0x8ac277=_0x27bc88;return this[_0x8ac277(0x1a7)][_0x8ac277(0x199)];}set[_0x27bc88(0x199)](_0x11eede){var _0x1be0ab=_0x27bc88;this['threeObject'][_0x1be0ab(0x199)]=_0x11eede;}constructor(_0x18b066,_0x34931c=0xffffff,_0x128f3e=0xa,_0x3f731f){var _0x49a2f2=_0x27bc88;super(_0x18b066,_0x3f731f),this[_0x49a2f2(0x1a7)]['color']['set'](_0x34931c),this[_0x49a2f2(0x1a7)][_0x49a2f2(0x1a9)]=_0x128f3e;}[_0x27bc88(0x1aa)](){return new AmbientLight(0xffffff,0xa);}[_0x27bc88(0x1ac)](..._0x430b1c){var _0x4a34f9=_0x27bc88;_0x430b1c[_0x4a34f9(0x1ae)]===0x1?super[_0x4a34f9(0x1ac)](_0x430b1c[0x0]):super[_0x4a34f9(0x1ac)](_0x430b1c[0x0],_0x430b1c[0x1],_0x430b1c[0x2]),this[_0x4a34f9(0x19e)]();}[_0x27bc88(0x19e)](){var _0xf1b093=_0x27bc88;if(this[_0xf1b093(0x1ab)])this[_0xf1b093(0x1ab)][_0xf1b093(0x1a8)][_0xf1b093(0x1a2)]();}['onAddedToWorld'](_0xea2b68){var _0x18d9a5=_0x27bc88;if(!this[_0x18d9a5(0x1a7)])throw Error(_0x18d9a5(0x1a5));super['onAddedToWorld'](_0xea2b68);}[_0x27bc88(0x19d)](){var _0x266c87=_0x27bc88;super[_0x266c87(0x19d)]();}}
|
|
115
115
|
|
|
116
|
-
function
|
|
116
|
+
function _0xb8a7(_0x4da4cf,_0x5a654d){_0x4da4cf=_0x4da4cf-0x1d3;var _0x11be8e=_0x11be();var _0xb8a7a0=_0x11be8e[_0x4da4cf];return _0xb8a7a0;}var _0x25d29b=_0xb8a7;(function(_0x2180ac,_0x5199ad){var _0x42d00c=_0xb8a7,_0x4fbae2=_0x2180ac();while(!![]){try{var _0x3b7bcd=parseInt(_0x42d00c(0x1da))/0x1+-parseInt(_0x42d00c(0x1d4))/0x2+parseInt(_0x42d00c(0x1db))/0x3*(-parseInt(_0x42d00c(0x1dd))/0x4)+-parseInt(_0x42d00c(0x1df))/0x5*(-parseInt(_0x42d00c(0x1d6))/0x6)+parseInt(_0x42d00c(0x1d3))/0x7+-parseInt(_0x42d00c(0x1de))/0x8+parseInt(_0x42d00c(0x1d9))/0x9;if(_0x3b7bcd===_0x5199ad)break;else _0x4fbae2['push'](_0x4fbae2['shift']());}catch(_0x594bbf){_0x4fbae2['push'](_0x4fbae2['shift']());}}}(_0x11be,0x75505));function _0x11be(){var _0x354995=['castShadow','lightComponent','1142604SMYibc','194520kUioFg','339HVySKo','color','9536YLVhFA','4297656HTpMaQ','388835izughW','constructRootComponent','4336850SDHlYr','396558QIXIrr','intensity','42NyOqGX'];_0x11be=function(){return _0x354995;};return _0x11be();}class AmbientLightActor extends Actor{constructor(_0x299c8c,_0x21b66c=0xffffff,_0x4f0258=0x1,_0x146e36){var _0x5ca0a2=_0xb8a7;super(_0x299c8c,_0x146e36),this['lightComponent']=null,this[_0x5ca0a2(0x1d8)]=this['rootComponent'],this['lightComponent']&&(this['lightComponent'][_0x5ca0a2(0x1dc)]=_0x21b66c,this[_0x5ca0a2(0x1d8)][_0x5ca0a2(0x1d5)]=_0x4f0258,this[_0x5ca0a2(0x1d8)][_0x5ca0a2(0x1d7)]=!![]),this[_0x5ca0a2(0x1d8)][_0x5ca0a2(0x1d7)]=!![];}[_0x25d29b(0x1e0)](){return new AmbientLightComponent(this['app']);}}
|
|
117
117
|
|
|
118
|
-
function
|
|
118
|
+
function _0x2ea4(_0x4c625c,_0x382c5e){_0x4c625c=_0x4c625c-0x137;var _0x599c8a=_0x599c();var _0x2ea4f7=_0x599c8a[_0x4c625c];return _0x2ea4f7;}(function(_0x454bb1,_0x54a808){var _0x17251e=_0x2ea4,_0x5400cc=_0x454bb1();while(!![]){try{var _0x676fde=parseInt(_0x17251e(0x137))/0x1+-parseInt(_0x17251e(0x13a))/0x2+-parseInt(_0x17251e(0x138))/0x3*(-parseInt(_0x17251e(0x13d))/0x4)+-parseInt(_0x17251e(0x139))/0x5*(parseInt(_0x17251e(0x13c))/0x6)+-parseInt(_0x17251e(0x13e))/0x7+parseInt(_0x17251e(0x13f))/0x8+-parseInt(_0x17251e(0x13b))/0x9;if(_0x676fde===_0x54a808)break;else _0x5400cc['push'](_0x5400cc['shift']());}catch(_0xcf0a4f){_0x5400cc['push'](_0x5400cc['shift']());}}}(_0x599c,0x6586b));function _0x599c(){var _0x4f2e4c=['139768XctXLI','736228SiXdHT','642rSzZfu','2300meFpJD','256610GmtQmA','2133036oVaZSe','954bByGsV','7232CNIDsg','2004177gGCQfI'];_0x599c=function(){return _0x4f2e4c;};return _0x599c();}class BoxComponent extends MeshComponent{constructor(_0x1379ff,_0x4432c1=0x1,_0x2c801c=0x1,_0x3bd93a=0x1,_0x1c44c1=0x1,_0x466b15=0x1,_0x4cf7f8=0x1,_0x4c4760=new MeshStandardMaterial(),_0x433d60){super(_0x1379ff,new BoxGeometry(_0x4432c1,_0x2c801c,_0x3bd93a,_0x1c44c1,_0x466b15,_0x4cf7f8),_0x4c4760,_0x433d60);}}
|
|
119
119
|
|
|
120
|
-
function
|
|
120
|
+
function _0x158c(_0x471216,_0x489ae3){_0x471216=_0x471216-0xe0;var _0x3f04f8=_0x3f04();var _0x158c5e=_0x3f04f8[_0x471216];return _0x158c5e;}var _0x49427a=_0x158c;(function(_0x1e672a,_0x3f7803){var _0x3aa058=_0x158c,_0xfd9275=_0x1e672a();while(!![]){try{var _0x2f5f02=-parseInt(_0x3aa058(0xe7))/0x1+-parseInt(_0x3aa058(0xe3))/0x2*(parseInt(_0x3aa058(0xe8))/0x3)+-parseInt(_0x3aa058(0xeb))/0x4+parseInt(_0x3aa058(0xea))/0x5+parseInt(_0x3aa058(0xe4))/0x6*(parseInt(_0x3aa058(0xe9))/0x7)+-parseInt(_0x3aa058(0xe5))/0x8*(-parseInt(_0x3aa058(0xe0))/0x9)+-parseInt(_0x3aa058(0xe1))/0xa*(-parseInt(_0x3aa058(0xe2))/0xb);if(_0x2f5f02===_0x3f7803)break;else _0xfd9275['push'](_0xfd9275['shift']());}catch(_0x38bb30){_0xfd9275['push'](_0xfd9275['shift']());}}}(_0x3f04,0xd366d));function _0x3f04(){var _0x1f5f48=['constructRootComponent','1414256sTgubq','333FVmMXY','4921819nQchoi','419570sCiPuV','3013984GHzzJo','app','14085693epGUwn','40DZrmHH','4752451WzJKAy','18858JhPJBq','6SasGbM','8crjAwI'];_0x3f04=function(){return _0x1f5f48;};return _0x3f04();}class BoxActor extends Actor{constructor(_0x77240a,_0x176d52){super(_0x77240a,_0x176d52);}[_0x49427a(0xe6)](){var _0x688dcb=_0x49427a;return new BoxComponent(this[_0x688dcb(0xec)],0x1,0x1,0x1,0x1,0x1,0x1,new MeshBasicMaterial(),this['uuid']);}}
|
|
121
121
|
|
|
122
|
-
|
|
122
|
+
function _0x337d(_0x1de699,_0x3b1537){_0x1de699=_0x1de699-0xef;const _0x3e3d2d=_0x3e3d();let _0x337d4f=_0x3e3d2d[_0x1de699];return _0x337d4f;}const _0x4b8124=_0x337d;(function(_0x2821c7,_0x1101f4){const _0x24a8c7=_0x337d,_0xce7ab9=_0x2821c7();while(!![]){try{const _0x5e59cf=-parseInt(_0x24a8c7(0xf6))/0x1+parseInt(_0x24a8c7(0x10b))/0x2+parseInt(_0x24a8c7(0x10c))/0x3+-parseInt(_0x24a8c7(0xf8))/0x4*(-parseInt(_0x24a8c7(0xfd))/0x5)+-parseInt(_0x24a8c7(0x105))/0x6+parseInt(_0x24a8c7(0xf0))/0x7*(parseInt(_0x24a8c7(0xfb))/0x8)+-parseInt(_0x24a8c7(0x104))/0x9;if(_0x5e59cf===_0x1101f4)break;else _0xce7ab9['push'](_0xce7ab9['shift']());}catch(_0x144e91){_0xce7ab9['push'](_0xce7ab9['shift']());}}}(_0x3e3d,0xd7196));const DefaultSkyParam={'turbidity':0xa,'rayleigh':0x3,'mieCoefficient':0.005,'mieDirectionalG':0.7,'elevation':0x2,'azimuth':0x87};class SkyComponent extends SceneComponent{get[_0x4b8124(0xff)](){const _0x17caad=_0x4b8124;if(!this[_0x17caad(0xfc)])throw Error('three\x20object\x20is\x20invalid');return this[_0x17caad(0xfc)];}set[_0x4b8124(0xff)](_0x252ab6){const _0x1c0b5a=_0x4b8124;this['obj']=_0x252ab6,this[_0x1c0b5a(0xfc)]&&(this[_0x1c0b5a(0xfc)]['userData'][_0x1c0b5a(0x103)]=this);}constructor(_0x3eed09,_0x227b6e,_0x309d2e){const _0x4e34d=_0x4b8124;super(_0x3eed09,_0x309d2e),this['skyParam']=DefaultSkyParam,this[_0x4e34d(0x10a)]=new Vector3(),_0x227b6e&&(this[_0x4e34d(0xf2)]=_0x227b6e),this[_0x4e34d(0xf4)]();}[_0x4b8124(0x102)](){return new SkyMesh();}[_0x4b8124(0xf4)](){const _0xc09ee6=_0x4b8124;var _0x1c9100,_0x27a243;this[_0xc09ee6(0xff)][_0xc09ee6(0xf1)][_0xc09ee6(0x108)]=this[_0xc09ee6(0xf2)][_0xc09ee6(0xf1)],this[_0xc09ee6(0xff)][_0xc09ee6(0xf5)]['value']=this[_0xc09ee6(0xf2)][_0xc09ee6(0xf5)],this[_0xc09ee6(0xff)][_0xc09ee6(0xfa)]['value']=this[_0xc09ee6(0xf2)][_0xc09ee6(0xfa)],this[_0xc09ee6(0xff)][_0xc09ee6(0x100)][_0xc09ee6(0x108)]=this[_0xc09ee6(0xf2)]['mieDirectionalG'];const _0xba0feb=MathUtils[_0xc09ee6(0x109)](0x5a-this[_0xc09ee6(0xf2)][_0xc09ee6(0x107)]),_0x1fcbb2=MathUtils[_0xc09ee6(0x109)](this[_0xc09ee6(0xf2)][_0xc09ee6(0x101)]);this[_0xc09ee6(0x10a)][_0xc09ee6(0xf3)](0x1,_0xba0feb,_0x1fcbb2),this['threeObject'][_0xc09ee6(0x10a)][_0xc09ee6(0x108)][_0xc09ee6(0xef)](this[_0xc09ee6(0x10a)]),(_0x27a243=(_0x1c9100=this[_0xc09ee6(0xf9)])===null||_0x1c9100===void 0?void 0:_0x1c9100[_0xc09ee6(0x106)])===null||_0x27a243===void 0?void 0:_0x27a243[_0xc09ee6(0xf7)]();}[_0x4b8124(0xfe)](){const _0x2396ef=_0x4b8124;this[_0x2396ef(0xfc)]&&ThreeObjectLibrary['disposeMeshResource'](this[_0x2396ef(0xff)]);}}function _0x3e3d(){const _0x3dce98=['threeObject','mieDirectionalG','azimuth','createDefaultObject','LYObject','11513655IMpgay','820590wHcIcE','viewport','elevation','value','degToRad','sunPosition','1547890Rnxjgh','183948Wozbmn','copy','1015kiSysr','turbidity','skyParam','setFromSphericalCoords','updateSky','rayleigh','1540852juUvAL','markRenderStateDirty','3352184PCTkxO','world','mieCoefficient','73192RaPyfR','obj','10AOseUg','destroyObject'];_0x3e3d=function(){return _0x3dce98;};return _0x3e3d();}
|
|
123
123
|
|
|
124
|
-
var
|
|
124
|
+
var _0x4efa64=_0x175a;(function(_0x175e2f,_0x4ce1f2){var _0x4e0f07=_0x175a,_0x549164=_0x175e2f();while(!![]){try{var _0x2c3a00=parseInt(_0x4e0f07(0x108))/0x1*(parseInt(_0x4e0f07(0x10b))/0x2)+-parseInt(_0x4e0f07(0x105))/0x3+-parseInt(_0x4e0f07(0x107))/0x4+-parseInt(_0x4e0f07(0x10d))/0x5*(-parseInt(_0x4e0f07(0x10a))/0x6)+-parseInt(_0x4e0f07(0x10f))/0x7+parseInt(_0x4e0f07(0x109))/0x8+parseInt(_0x4e0f07(0x112))/0x9*(parseInt(_0x4e0f07(0x111))/0xa);if(_0x2c3a00===_0x4ce1f2)break;else _0x549164['push'](_0x549164['shift']());}catch(_0x330b7c){_0x549164['push'](_0x549164['shift']());}}}(_0xe9d1,0x56def));class SkyActor extends Actor{constructor(_0x2683b4,_0x52db6d){var _0x265b9c=_0x175a;super(_0x2683b4,_0x52db6d),this[_0x265b9c(0x102)]=_0x265b9c(0x10c),this[_0x265b9c(0x106)]=null,this['name']='SkyActor',this['skyComponent']=this['rootComponent'],this[_0x265b9c(0x103)]['name']=this['rootComponent'][_0x265b9c(0x110)]+'(Root)',this['setScale'](0xafc8,0xafc8,0xafc8);}[_0x4efa64(0x104)](){var _0x2c5b71=_0x4efa64;return new SkyComponent(this[_0x2c5b71(0x10e)]);}}function _0x175a(_0x99b4d8,_0x30aa59){_0x99b4d8=_0x99b4d8-0x102;var _0xe9d13e=_0xe9d1();var _0x175a78=_0xe9d13e[_0x99b4d8];return _0x175a78;}function _0xe9d1(){var _0x38c9fc=['724776CfoAtr','3756XqaenR','41962QIrqEs','SkyActor','2385gXuymz','app','2984149EdIqvB','name','10FWyPwi','2380041hXTJrj','_name','rootComponent','constructRootComponent','1449645jYHHlW','skyComponent','154856oPvSPV','31xalqDp'];_0xe9d1=function(){return _0x38c9fc;};return _0xe9d1();}
|
|
125
125
|
|
|
126
|
-
(function(
|
|
126
|
+
(function(_0x563a3e,_0xc2ee1b){var _0x671596=_0xbee0,_0x2349e1=_0x563a3e();while(!![]){try{var _0x36acf2=parseInt(_0x671596(0x1a2))/0x1+parseInt(_0x671596(0x1a8))/0x2+parseInt(_0x671596(0x1a6))/0x3+-parseInt(_0x671596(0x1a4))/0x4+parseInt(_0x671596(0x1a3))/0x5+parseInt(_0x671596(0x1a7))/0x6+parseInt(_0x671596(0x1a5))/0x7*(-parseInt(_0x671596(0x1a9))/0x8);if(_0x36acf2===_0xc2ee1b)break;else _0x2349e1['push'](_0x2349e1['shift']());}catch(_0x6c269d){_0x2349e1['push'](_0x2349e1['shift']());}}}(_0xa92c,0x8518d));function _0xbee0(_0x277351,_0x32a279){_0x277351=_0x277351-0x1a2;var _0xa92c9=_0xa92c();var _0xbee023=_0xa92c9[_0x277351];return _0xbee023;}function _0xa92c(){var _0x243f39=['218220iftTfe','11493480JKBNEm','609036JoAcMe','3855345pYgjEV','2688684yCbAIM','7KKFkwL','296916SLnqiA','6395004OkAGVN'];_0xa92c=function(){return _0x243f39;};return _0xa92c();}class PlaneComponent extends MeshComponent{constructor(_0x691f9,_0x3586ef,_0x3ec020,_0x17337d,_0x105805=0x1,_0x12b26d=0x1,_0x10ccc5){super(_0x691f9,new PlaneGeometry(_0x3586ef,_0x3ec020,_0x105805,_0x12b26d),_0x17337d,_0x10ccc5);}}
|
|
127
127
|
|
|
128
|
-
var
|
|
128
|
+
var _0x3f8448=_0x19fc;(function(_0x2f3520,_0x5cc4c8){var _0x3be8f1=_0x19fc,_0x45f269=_0x2f3520();while(!![]){try{var _0x4a8375=-parseInt(_0x3be8f1(0x112))/0x1+-parseInt(_0x3be8f1(0x114))/0x2*(parseInt(_0x3be8f1(0x10c))/0x3)+-parseInt(_0x3be8f1(0x110))/0x4+parseInt(_0x3be8f1(0x10f))/0x5*(-parseInt(_0x3be8f1(0x111))/0x6)+parseInt(_0x3be8f1(0x10a))/0x7*(-parseInt(_0x3be8f1(0x10b))/0x8)+-parseInt(_0x3be8f1(0x10e))/0x9+parseInt(_0x3be8f1(0x113))/0xa;if(_0x4a8375===_0x5cc4c8)break;else _0x45f269['push'](_0x45f269['shift']());}catch(_0x2d3788){_0x45f269['push'](_0x45f269['shift']());}}}(_0x29ec,0x6db34));function _0x19fc(_0x145248,_0x3e7481){_0x145248=_0x145248-0x109;var _0x29ecd8=_0x29ec();var _0x19fc86=_0x29ecd8[_0x145248];return _0x19fc86;}function _0x29ec(){var _0x1d2d7e=['112xECWiR','12NjfMDh','constructRootComponent','1057257XvLKdw','5ciOtOX','2076688joPoZB','2288658CpSQtt','454826uQCFDC','30462180hUKhpL','370228grMhji','uuid','191758NGNqRO'];_0x29ec=function(){return _0x1d2d7e;};return _0x29ec();}class PlaneActor extends Actor{constructor(_0x31e25f,_0x5cddf3){super(_0x31e25f,_0x5cddf3);}[_0x3f8448(0x10d)](){var _0x192c27=_0x3f8448;return new PlaneComponent(this['app'],0x1,0x1,new MeshBasicMaterial(),0x1,0x1,this[_0x192c27(0x109)]);}['destroy'](){super['destroy']();}}
|
|
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 _0x4612ce=_0x24c5;(function(_0x5781c2,_0x32a7b3){const _0x2b0396=_0x24c5,_0x8c9e44=_0x5781c2();while(!![]){try{const _0x569d3a=-parseInt(_0x2b0396(0xf9))/0x1*(parseInt(_0x2b0396(0x11d))/0x2)+parseInt(_0x2b0396(0x118))/0x3*(-parseInt(_0x2b0396(0xed))/0x4)+-parseInt(_0x2b0396(0x123))/0x5*(parseInt(_0x2b0396(0x106))/0x6)+-parseInt(_0x2b0396(0xe8))/0x7+parseInt(_0x2b0396(0x101))/0x8+parseInt(_0x2b0396(0xf4))/0x9*(-parseInt(_0x2b0396(0x120))/0xa)+parseInt(_0x2b0396(0x103))/0xb*(parseInt(_0x2b0396(0x127))/0xc);if(_0x569d3a===_0x32a7b3)break;else _0x8c9e44['push'](_0x8c9e44['shift']());}catch(_0xad24c7){_0x8c9e44['push'](_0x8c9e44['shift']());}}}(_0x578b,0xf35bc));function _0x578b(){const _0x4834d6=['constructGeometry','_geometryPtr','clone','setAttribute','material','error','CustomMeshComponent','addGeometryAsset','geometry','max','getValue','CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result','reverse','computeVertexNormals','obj','2044308qEgSdz','app','geometryPtr','computeUVs','destroyObject','47584nmpLHD','colors','normals','20gfUhLN','release','receiveShadow','5NLXJhj','castShadow','length','vertices','283032VtrPfx','getBounds','meshData','uvs','1404466HTwxto','CustomMeshComponent:\x20threeObject\x20is\x20null','warn','getBoundsTopCenterPosition','materialPtr','4Cdlubh','viewport','CustomMeshComponent:\x20Invalid\x20vertices\x20data','min','map','assetManager','geometryPtr\x20is\x20null','2426337ROdjZp','calculatePolygonArea','indices','getCenter','world','25YYkUpO','materialPtr\x20is\x20null','push','_meshData','addMaterialAsset','getBoundsCenterPosition','color','threeObject','10965360lIazOv','name','880HzdZTH','CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:','addRef','1468164bZTUJc','_materialPtr','setIndex'];_0x578b=function(){return _0x4834d6;};return _0x578b();}function _0x24c5(_0x187d29,_0x5c027f){_0x187d29=_0x187d29-0xe7;const _0x578b87=_0x578b();let _0x24c597=_0x578b87[_0x187d29];return _0x24c597;}class CustomMeshComponent extends SceneComponent{get[_0x4612ce(0x100)](){const _0x18deb3=_0x4612ce;if(!this[_0x18deb3(0x117)])throw new Error(_0x18deb3(0xe9));return this[_0x18deb3(0x117)];}set[_0x4612ce(0x100)](_0x394943){const _0xe8c38e=_0x4612ce;this[_0xe8c38e(0x117)]=_0x394943,this[_0xe8c38e(0x117)]&&(this[_0xe8c38e(0x117)]['userData']['LYObject']=this);}get[_0x4612ce(0x111)](){const _0x5cac32=_0x4612ce;if(!this[_0x5cac32(0x10a)])throw new Error(_0x5cac32(0xf3));return this[_0x5cac32(0x10a)][_0x5cac32(0x113)]();}set[_0x4612ce(0x111)](_0x1cc18b){const _0x3e5a68=_0x4612ce;let _0x4feda8=this[_0x3e5a68(0x119)][_0x3e5a68(0xf2)][_0x3e5a68(0x110)](_0x1cc18b);this[_0x3e5a68(0x11a)]=_0x4feda8;}get[_0x4612ce(0x11a)](){const _0x20420b=_0x4612ce;if(!this[_0x20420b(0x10a)])throw new Error(_0x20420b(0xf3));return this[_0x20420b(0x10a)];}set[_0x4612ce(0x11a)](_0x341867){const _0xcb41fb=_0x4612ce;this[_0xcb41fb(0x10a)]&&(this[_0xcb41fb(0x10a)]['release'](),this[_0xcb41fb(0x10a)]=null);this['_geometryPtr']=_0x341867;let _0x29fae6=_0x341867[_0xcb41fb(0x113)]();this['threeObject']&&_0x29fae6&&(this[_0xcb41fb(0x100)][_0xcb41fb(0x111)]=_0x29fae6);}get['material'](){const _0x4d0766=_0x4612ce;if(!this[_0x4d0766(0x107)])throw new Error(_0x4d0766(0xfa));let _0x2fc189=this[_0x4d0766(0x107)][_0x4d0766(0x113)]();if(!_0x2fc189)throw new Error('material\x20is\x20null');return _0x2fc189;}get['materialPtr'](){const _0x2742aa=_0x4612ce;if(!this[_0x2742aa(0x107)])throw new Error(_0x2742aa(0xfa));return this[_0x2742aa(0x107)];}set[_0x4612ce(0x10d)](_0xa95b17){const _0x42d296=_0x4612ce;let _0x1469c4=this['app']['assetManager']['addMaterialAsset'](_0xa95b17);this[_0x42d296(0xec)]=_0x1469c4;}set[_0x4612ce(0xec)](_0x20f4be){const _0x3f2839=_0x4612ce;this[_0x3f2839(0x107)]&&(this[_0x3f2839(0x107)]['release'](),this[_0x3f2839(0x107)]=null);this[_0x3f2839(0x107)]=_0x20f4be;let _0xd5e0c7=_0x20f4be[_0x3f2839(0x113)]();_0x20f4be[_0x3f2839(0x105)](),this[_0x3f2839(0x100)]&&_0xd5e0c7&&(this[_0x3f2839(0x100)][_0x3f2839(0x10d)]=_0xd5e0c7);}constructor(_0x2edaea,_0xe202e3,_0x21e42f,_0x13e5d8){const _0x44e3b7=_0x4612ce;super(_0x2edaea,_0x13e5d8),this[_0x44e3b7(0xfc)]=_0xe202e3;let _0x24493d=_0x2edaea[_0x44e3b7(0xf2)][_0x44e3b7(0xfd)](_0x21e42f);this['_materialPtr']=_0x24493d,_0x24493d['addRef']();const _0x4740e7=this[_0x44e3b7(0x109)](_0xe202e3);this[_0x44e3b7(0x10a)]=_0x2edaea[_0x44e3b7(0xf2)][_0x44e3b7(0x110)](_0x4740e7),this[_0x44e3b7(0x100)]['material']=_0x21e42f,this[_0x44e3b7(0x100)]['geometry']=_0x4740e7,this[_0x44e3b7(0x102)]=_0x44e3b7(0x10f),this[_0x44e3b7(0x124)]=!![],this[_0x44e3b7(0x122)]=!![];}[_0x4612ce(0x11b)](_0x52addb){const _0x2e21fb=_0x4612ce,_0x66ebcb=new Float32Array(_0x52addb['length']*0x2);if(_0x52addb[_0x2e21fb(0x125)]===0x0)return _0x66ebcb;let _0x5104b4=Infinity,_0x26087a=-Infinity,_0x286060=Infinity,_0x1c714c=-Infinity,_0x459236=Infinity,_0x2cd6e0=-Infinity;for(const _0x19de4e of _0x52addb){_0x5104b4=Math[_0x2e21fb(0xf0)](_0x5104b4,_0x19de4e['x']),_0x26087a=Math['max'](_0x26087a,_0x19de4e['x']),_0x286060=Math[_0x2e21fb(0xf0)](_0x286060,_0x19de4e['y']),_0x1c714c=Math[_0x2e21fb(0x112)](_0x1c714c,_0x19de4e['y']),_0x459236=Math[_0x2e21fb(0xf0)](_0x459236,_0x19de4e['z']),_0x2cd6e0=Math['max'](_0x2cd6e0,_0x19de4e['z']);}const _0x448998=_0x26087a-_0x5104b4,_0x1765fc=_0x1c714c-_0x286060,_0x39d58b=_0x2cd6e0-_0x459236;let _0x3c3faf,_0x129e64,_0x59f134,_0x312333,_0x24716d,_0x25400a;if(_0x448998<=_0x1765fc&&_0x448998<=_0x39d58b)_0x3c3faf='y',_0x129e64='z',_0x59f134=_0x286060,_0x312333=_0x1765fc,_0x24716d=_0x459236,_0x25400a=_0x39d58b;else _0x1765fc<=_0x448998&&_0x1765fc<=_0x39d58b?(_0x3c3faf='x',_0x129e64='z',_0x59f134=_0x5104b4,_0x312333=_0x448998,_0x24716d=_0x459236,_0x25400a=_0x39d58b):(_0x3c3faf='x',_0x129e64='y',_0x59f134=_0x5104b4,_0x312333=_0x448998,_0x24716d=_0x286060,_0x25400a=_0x1765fc);if(_0x312333===0x0)_0x312333=0x1;if(_0x25400a===0x0)_0x25400a=0x1;for(let _0x15fee7=0x0;_0x15fee7<_0x52addb[_0x2e21fb(0x125)];_0x15fee7++){const _0x2cce60=_0x52addb[_0x15fee7],_0x3bff3e=(_0x2cce60[_0x3c3faf]-_0x59f134)/_0x312333,_0x2d28ce=(_0x2cce60[_0x129e64]-_0x24716d)/_0x25400a;_0x66ebcb[_0x15fee7*0x2]=_0x3bff3e,_0x66ebcb[_0x15fee7*0x2+0x1]=_0x2d28ce;}return _0x66ebcb;}[_0x4612ce(0xf5)](_0x379ec7){const _0x4c9a23=_0x4612ce;let _0x479de6=0x0;const _0xcc8eb2=_0x379ec7[_0x4c9a23(0x125)]/0x2;for(let _0x36534f=0x0;_0x36534f<_0xcc8eb2;_0x36534f++){const _0x42807a=(_0x36534f+0x1)%_0xcc8eb2,_0x4e1659=_0x379ec7[_0x36534f*0x2],_0x3614d3=_0x379ec7[_0x36534f*0x2+0x1],_0x53393d=_0x379ec7[_0x42807a*0x2],_0x4de158=_0x379ec7[_0x42807a*0x2+0x1];_0x479de6+=_0x4e1659*_0x4de158-_0x53393d*_0x3614d3;}return _0x479de6/0x2;}[_0x4612ce(0x109)](_0x2935ee){const _0x396e50=_0x4612ce,_0x27813c=new BufferGeometry();if(!_0x2935ee[_0x396e50(0x126)]||_0x2935ee[_0x396e50(0x126)]['length']===0x0)return console[_0x396e50(0x10e)](_0x396e50(0xef)),_0x27813c;const _0x8dd569=new Float32Array(_0x2935ee[_0x396e50(0x126)][_0x396e50(0x125)]*0x3);for(let _0x1c0b96=0x0;_0x1c0b96<_0x2935ee[_0x396e50(0x126)][_0x396e50(0x125)];_0x1c0b96++){_0x8dd569[_0x1c0b96*0x3]=_0x2935ee['vertices'][_0x1c0b96]['x'],_0x8dd569[_0x1c0b96*0x3+0x1]=_0x2935ee['vertices'][_0x1c0b96]['y'],_0x8dd569[_0x1c0b96*0x3+0x2]=_0x2935ee[_0x396e50(0x126)][_0x1c0b96]['z'];}_0x27813c[_0x396e50(0x10c)]('position',new Float32BufferAttribute(_0x8dd569,0x3));if(_0x2935ee['indices']&&_0x2935ee[_0x396e50(0xf6)][_0x396e50(0x125)]>0x0)_0x27813c[_0x396e50(0x108)](_0x2935ee[_0x396e50(0xf6)]);else {const _0x51f279=[];let _0x139b44=Infinity,_0x2aaef7=-Infinity,_0x2798c1=Infinity,_0x29a9f4=-Infinity,_0x6d45f4=Infinity,_0x433e8d=-Infinity;for(let _0x5f426e=0x0;_0x5f426e<_0x2935ee['vertices'][_0x396e50(0x125)];_0x5f426e++){const _0x12141a=_0x2935ee[_0x396e50(0x126)][_0x5f426e];_0x2798c1=Math[_0x396e50(0xf0)](_0x2798c1,_0x12141a['x']),_0x29a9f4=Math['max'](_0x29a9f4,_0x12141a['x']),_0x139b44=Math[_0x396e50(0xf0)](_0x139b44,_0x12141a['y']),_0x2aaef7=Math[_0x396e50(0x112)](_0x2aaef7,_0x12141a['y']),_0x6d45f4=Math[_0x396e50(0xf0)](_0x6d45f4,_0x12141a['z']),_0x433e8d=Math[_0x396e50(0x112)](_0x433e8d,_0x12141a['z']);}const _0x3f0c79=_0x29a9f4-_0x2798c1,_0x3171e9=_0x2aaef7-_0x139b44,_0x3aba82=_0x433e8d-_0x6d45f4;if(_0x3171e9<=_0x3f0c79&&_0x3171e9<=_0x3aba82){for(let _0x4fd388=0x0;_0x4fd388<_0x2935ee[_0x396e50(0x126)][_0x396e50(0x125)];_0x4fd388++){_0x51f279['push'](_0x2935ee[_0x396e50(0x126)][_0x4fd388]['x']),_0x51f279[_0x396e50(0xfb)](_0x2935ee[_0x396e50(0x126)][_0x4fd388]['z']);}}else {if(_0x3f0c79<=_0x3171e9&&_0x3f0c79<=_0x3aba82){for(let _0xf45de6=0x0;_0xf45de6<_0x2935ee[_0x396e50(0x126)][_0x396e50(0x125)];_0xf45de6++){_0x51f279['push'](_0x2935ee['vertices'][_0xf45de6]['y']),_0x51f279[_0x396e50(0xfb)](_0x2935ee[_0x396e50(0x126)][_0xf45de6]['z']);}}else {for(let _0x3134c6=0x0;_0x3134c6<_0x2935ee[_0x396e50(0x126)][_0x396e50(0x125)];_0x3134c6++){_0x51f279[_0x396e50(0xfb)](_0x2935ee[_0x396e50(0x126)][_0x3134c6]['x']),_0x51f279[_0x396e50(0xfb)](_0x2935ee['vertices'][_0x3134c6]['y']);}}}const _0x48fa2d=this[_0x396e50(0xf5)](_0x51f279),_0x45c210=_0x48fa2d<0x0;if(_0x45c210){console[_0x396e50(0xea)]('CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...'),_0x51f279[_0x396e50(0x115)]();const _0x28b366=[];for(let _0x56647f=_0x51f279['length']-0x2;_0x56647f>=0x0;_0x56647f-=0x2){_0x28b366[_0x396e50(0xfb)](_0x51f279[_0x56647f],_0x51f279[_0x56647f+0x1]);}_0x51f279['length']=0x0,_0x51f279[_0x396e50(0xfb)](..._0x28b366);}try{const _0x12c453=_0xc27732(_0x51f279,undefined,0x2);if(_0x12c453&&_0x12c453[_0x396e50(0x125)]>0x0){if(_0x45c210)for(let _0x2fdd58=0x0;_0x2fdd58<_0x12c453[_0x396e50(0x125)];_0x2fdd58+=0x3){const _0x5ac192=_0x12c453[_0x2fdd58];_0x12c453[_0x2fdd58]=_0x12c453[_0x2fdd58+0x2],_0x12c453[_0x2fdd58+0x2]=_0x5ac192;}_0x27813c[_0x396e50(0x108)](_0x12c453);}else console['warn'](_0x396e50(0x114));}catch(_0x506457){console[_0x396e50(0x10e)](_0x396e50(0x104),_0x506457);}}if(_0x2935ee['normals']&&_0x2935ee[_0x396e50(0x11f)][_0x396e50(0x125)]===_0x2935ee[_0x396e50(0x126)][_0x396e50(0x125)]){const _0x1e9563=new Float32Array(_0x2935ee['normals'][_0x396e50(0x125)]*0x3);for(let _0x17d88e=0x0;_0x17d88e<_0x2935ee[_0x396e50(0x11f)][_0x396e50(0x125)];_0x17d88e++){_0x1e9563[_0x17d88e*0x3]=_0x2935ee[_0x396e50(0x11f)][_0x17d88e]['x'],_0x1e9563[_0x17d88e*0x3+0x1]=_0x2935ee[_0x396e50(0x11f)][_0x17d88e]['y'],_0x1e9563[_0x17d88e*0x3+0x2]=_0x2935ee[_0x396e50(0x11f)][_0x17d88e]['z'];}_0x27813c['setAttribute']('normal',new Float32BufferAttribute(_0x1e9563,0x3));}else _0x27813c[_0x396e50(0x116)]();if(_0x2935ee['uvs']&&_0x2935ee[_0x396e50(0xe7)][_0x396e50(0x125)]>0x0){const _0x4466b4=new Float32Array(_0x2935ee[_0x396e50(0xe7)]['length']*0x2);for(let _0x25565f=0x0;_0x25565f<_0x2935ee[_0x396e50(0xe7)][_0x396e50(0x125)];_0x25565f++){_0x4466b4[_0x25565f*0x2]=_0x2935ee['uvs'][_0x25565f]['x'],_0x4466b4[_0x25565f*0x2+0x1]=_0x2935ee[_0x396e50(0xe7)][_0x25565f]['y'];}_0x27813c[_0x396e50(0x10c)]('uv',new Float32BufferAttribute(_0x4466b4,0x2));}else {const _0x2fdf55=this['computeUVs'](_0x2935ee['vertices']);_0x27813c['setAttribute']('uv',new Float32BufferAttribute(_0x2fdf55,0x2));}if(_0x2935ee[_0x396e50(0x11e)]&&_0x2935ee[_0x396e50(0x11e)][_0x396e50(0x125)]===_0x2935ee[_0x396e50(0x126)]['length']){const _0xc36b3=new Float32Array(_0x2935ee[_0x396e50(0x11e)][_0x396e50(0x125)]*0x3);for(let _0x549a0d=0x0;_0x549a0d<_0x2935ee[_0x396e50(0x11e)][_0x396e50(0x125)];_0x549a0d++){_0xc36b3[_0x549a0d*0x3]=_0x2935ee['colors'][_0x549a0d]['r'],_0xc36b3[_0x549a0d*0x3+0x1]=_0x2935ee['colors'][_0x549a0d]['g'],_0xc36b3[_0x549a0d*0x3+0x2]=_0x2935ee[_0x396e50(0x11e)][_0x549a0d]['b'];}_0x27813c[_0x396e50(0x10c)](_0x396e50(0xff),new Float32BufferAttribute(_0xc36b3,0x3));}return _0x27813c;}set[_0x4612ce(0x129)](_0x10125c){const _0x4275bf=_0x4612ce;var _0xd7b9a3,_0x2f7dd9,_0x599216;this[_0x4275bf(0x10a)]&&this[_0x4275bf(0x10a)][_0x4275bf(0x121)]();const _0x8a7ea3=this['constructGeometry'](_0x10125c);this[_0x4275bf(0x10a)]=this[_0x4275bf(0x119)][_0x4275bf(0xf2)][_0x4275bf(0x110)](_0x8a7ea3),this[_0x4275bf(0x100)]['geometry']=_0x8a7ea3,this[_0x4275bf(0xfc)]={'vertices':_0x10125c[_0x4275bf(0x126)][_0x4275bf(0xf1)](_0x119b0f=>_0x119b0f[_0x4275bf(0x10b)]()),'indices':_0x10125c['indices']?[..._0x10125c['indices']]:undefined,'normals':(_0xd7b9a3=_0x10125c[_0x4275bf(0x11f)])===null||_0xd7b9a3===void 0?void 0:_0xd7b9a3['map'](_0x36e0ef=>_0x36e0ef[_0x4275bf(0x10b)]()),'uvs':(_0x2f7dd9=_0x10125c[_0x4275bf(0xe7)])===null||_0x2f7dd9===void 0?void 0:_0x2f7dd9[_0x4275bf(0xf1)](_0x2880d6=>_0x2880d6[_0x4275bf(0x10b)]()),'colors':(_0x599216=_0x10125c[_0x4275bf(0x11e)])===null||_0x599216===void 0?void 0:_0x599216[_0x4275bf(0xf1)](_0x3dfd47=>_0x3dfd47[_0x4275bf(0x10b)]())},this[_0x4275bf(0xf8)]&&this['world'][_0x4275bf(0xee)]['markRenderStateDirty']();}get['meshData'](){const _0x264831=_0x4612ce;return this[_0x264831(0xfc)];}['createDefaultObject'](){return new Mesh();}set[_0x4612ce(0x124)](_0x37b900){const _0x53b00d=_0x4612ce;if(this['threeObject'])this[_0x53b00d(0x100)][_0x53b00d(0x124)]=_0x37b900;}get[_0x4612ce(0x124)](){const _0x4e93d6=_0x4612ce;return this[_0x4e93d6(0x100)]?this[_0x4e93d6(0x100)][_0x4e93d6(0x124)]:![];}set[_0x4612ce(0x122)](_0x539556){const _0x2e25b4=_0x4612ce;if(!this[_0x2e25b4(0x100)])return;this[_0x2e25b4(0x100)][_0x2e25b4(0x122)]=_0x539556;}get[_0x4612ce(0x122)](){const _0x239541=_0x4612ce;return this[_0x239541(0x100)]?this[_0x239541(0x100)][_0x239541(0x122)]:![];}[_0x4612ce(0xfe)](){const _0xf1f4a2=_0x4612ce;let _0x4a6e7f=new Vector3();return this['getBounds']()[_0xf1f4a2(0xf7)](_0x4a6e7f),_0x4a6e7f;}[_0x4612ce(0xeb)](){const _0x4db57d=_0x4612ce;let _0x3c77d9=new Vector3(),_0x404613=this[_0x4db57d(0x128)]();return _0x404613[_0x4db57d(0xf7)](_0x3c77d9),_0x3c77d9['y']=_0x404613[_0x4db57d(0x112)]['y'],_0x3c77d9;}['getBoundsBottomCenterPosition'](){const _0x2e53fc=_0x4612ce;let _0x1637f7=new Vector3(),_0x5496c0=this[_0x2e53fc(0x128)]();return _0x5496c0[_0x2e53fc(0xf7)](_0x1637f7),_0x1637f7['y']=_0x5496c0[_0x2e53fc(0xf0)]['y'],_0x1637f7;}['destroyObject'](){const _0x1e1e77=_0x4612ce;var _0x17b729,_0x2b54b6;this[_0x1e1e77(0x100)]&&this['threeObject']['removeFromParent'](),(_0x17b729=this[_0x1e1e77(0x10a)])===null||_0x17b729===void 0?void 0:_0x17b729[_0x1e1e77(0x121)](),(_0x2b54b6=this['_materialPtr'])===null||_0x2b54b6===void 0?void 0:_0x2b54b6[_0x1e1e77(0x121)](),super[_0x1e1e77(0x11c)]();}}
|
|
131
131
|
|
|
132
|
-
(function(
|
|
132
|
+
function _0xc77e(){var _0x1bae5e=['975PEtSEw','2052UMIjmJ','271NqvxZX','8wUBYQN','3434kpifZy','6nnAgKw','312487Wqwnik','1370XOnRgo','101348RFQRtt','8416914qzDsFF','65538qZmbgR','4927015mFVwOs','4192QHMXOi'];_0xc77e=function(){return _0x1bae5e;};return _0xc77e();}(function(_0x22d80b,_0x36fd35){var _0x1f9fcb=_0x4213,_0x387c3d=_0x22d80b();while(!![]){try{var _0x107900=-parseInt(_0x1f9fcb(0xf8))/0x1*(parseInt(_0x1f9fcb(0xed))/0x2)+-parseInt(_0x1f9fcb(0xf6))/0x3*(-parseInt(_0x1f9fcb(0xf5))/0x4)+parseInt(_0x1f9fcb(0xf4))/0x5*(-parseInt(_0x1f9fcb(0xee))/0x6)+-parseInt(_0x1f9fcb(0xef))/0x7*(-parseInt(_0x1f9fcb(0xec))/0x8)+parseInt(_0x1f9fcb(0xf3))/0x9*(parseInt(_0x1f9fcb(0xf0))/0xa)+-parseInt(_0x1f9fcb(0xf2))/0xb+-parseInt(_0x1f9fcb(0xf7))/0xc*(-parseInt(_0x1f9fcb(0xf1))/0xd);if(_0x107900===_0x36fd35)break;else _0x387c3d['push'](_0x387c3d['shift']());}catch(_0x1d9efe){_0x387c3d['push'](_0x387c3d['shift']());}}}(_0xc77e,0x7a18b));function _0x4213(_0x1c6a42,_0x446b93){_0x1c6a42=_0x1c6a42-0xec;var _0xc77ea1=_0xc77e();var _0x42138f=_0xc77ea1[_0x1c6a42];return _0x42138f;}class SphereComponent extends MeshComponent{constructor(_0x3d77e0,_0xe5789d,_0x5867ed=new MeshBasicMaterial(),_0x41d414=0x20,_0x2ad9de=0x10,_0x575f01){super(_0x3d77e0,new SphereGeometry(_0xe5789d,_0x41d414,_0x2ad9de),_0x5867ed,_0x575f01);}}
|
|
133
133
|
|
|
134
|
-
|
|
134
|
+
function _0x1fda(){const _0x310233=['16626860thTHTG','6RLXVpH','destroy','parentNode','userData','obj','stopPropagation','45tyVuPm','pointerEvents','2631onXeWM','pointerdown','style','552DkpjLo','remove','656720wetJOi','setVisible','innerHTML','auto','addEventListener','threeObject','49824GMKOwe','copy','enablePointerEvents','6806499QLmukZ','4321212pjxXtB','center','1028208uLaQdc','element','LYObject'];_0x1fda=function(){return _0x310233;};return _0x1fda();}const _0x260ef5=_0x3142;(function(_0x46a60b,_0x1d8336){const _0x25f4d5=_0x3142,_0x4eb899=_0x46a60b();while(!![]){try{const _0x53ebaa=parseInt(_0x25f4d5(0x108))/0x1+parseInt(_0x25f4d5(0x100))/0x2*(-parseInt(_0x25f4d5(0xfc))/0x3)+-parseInt(_0x25f4d5(0x10d))/0x4*(-parseInt(_0x25f4d5(0x106))/0x5)+parseInt(_0x25f4d5(0xfa))/0x6+parseInt(_0x25f4d5(0xf9))/0x7+-parseInt(_0x25f4d5(0x10b))/0x8*(-parseInt(_0x25f4d5(0xf6))/0x9)+-parseInt(_0x25f4d5(0xff))/0xa;if(_0x53ebaa===_0x1d8336)break;else _0x4eb899['push'](_0x4eb899['shift']());}catch(_0x1887a4){_0x4eb899['push'](_0x4eb899['shift']());}}}(_0x1fda,0xd2e9c));function _0x3142(_0x7f0cbf,_0x4247c9){_0x7f0cbf=_0x7f0cbf-0xf5;const _0x1fda32=_0x1fda();let _0x31427f=_0x1fda32[_0x7f0cbf];return _0x31427f;}class LabelComponent extends SceneComponent{get[_0x260ef5(0xf5)](){const _0x58a682=_0x260ef5;return this[_0x58a682(0x104)];}set['threeObject'](_0x5ab600){const _0x2a0596=_0x260ef5;this[_0x2a0596(0x104)]=_0x5ab600,this[_0x2a0596(0x104)]&&(this['obj'][_0x2a0596(0x103)][_0x2a0596(0xfe)]=this);}constructor(_0xdb973,_0x1d7e3e,_0x2fc2cf={},_0x9336c6){const _0x38b581=_0x260ef5;super(_0xdb973,_0x9336c6),this[_0x38b581(0x104)]=new CSS2DObject(_0x1d7e3e);const _0x3304a3=_0x2fc2cf[_0x38b581(0xfb)]||new Vector2$1(0.5,0x1);_0x2fc2cf[_0x38b581(0xf8)]&&(_0x1d7e3e[_0x38b581(0x10a)][_0x38b581(0x107)]=_0x38b581(0x110),_0x1d7e3e[_0x38b581(0x111)](_0x38b581(0x109),_0x4e3fde=>{const _0x400bfc=_0x38b581;_0x4e3fde[_0x400bfc(0x105)]();})),this[_0x38b581(0x104)]['center'][_0x38b581(0xf7)](_0x3304a3);}set['isHoverEnabled'](_0x2b00a4){return;}set['isClickEnabled'](_0x35c6f8){return;}['setVisible'](_0x181d1f){const _0x28d1c6=_0x260ef5;super[_0x28d1c6(0x10e)](_0x181d1f);}[_0x260ef5(0x101)](){const _0x1f8822=_0x260ef5;this['threeObject'][_0x1f8822(0xfd)]&&this[_0x1f8822(0xf5)][_0x1f8822(0xfd)][_0x1f8822(0x102)]&&(this['threeObject'][_0x1f8822(0xfd)][_0x1f8822(0x10f)]='',this[_0x1f8822(0xf5)][_0x1f8822(0xfd)][_0x1f8822(0x10c)]()),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 _0x7ce3(_0x313e71,_0x1700b3){_0x313e71=_0x313e71-0xcc;const _0x314361=_0x3143();let _0x7ce3f4=_0x314361[_0x313e71];return _0x7ce3f4;}const _0x2276d1=_0x7ce3;(function(_0x19621e,_0x25229a){const _0x3ba4b7=_0x7ce3,_0x4f5fb8=_0x19621e();while(!![]){try{const _0x140f41=parseInt(_0x3ba4b7(0xe4))/0x1*(-parseInt(_0x3ba4b7(0xe9))/0x2)+-parseInt(_0x3ba4b7(0xf5))/0x3*(-parseInt(_0x3ba4b7(0x13b))/0x4)+-parseInt(_0x3ba4b7(0x128))/0x5+parseInt(_0x3ba4b7(0xdc))/0x6+-parseInt(_0x3ba4b7(0xf8))/0x7*(-parseInt(_0x3ba4b7(0xf6))/0x8)+-parseInt(_0x3ba4b7(0x102))/0x9+parseInt(_0x3ba4b7(0xd0))/0xa;if(_0x140f41===_0x25229a)break;else _0x4f5fb8['push'](_0x4f5fb8['shift']());}catch(_0x1689ed){_0x4f5fb8['push'](_0x4f5fb8['shift']());}}}(_0x3143,0x2f975));function _0x3143(){const _0x2e5d3d=['fog','count','name','fromBufferAttribute','obj','getIndex','startsWith','100%','destroy','1877694KLPtTw','threeObject','test','pointerEvents','hidden','height','none','cameraWorldPos','321031rrJiGI','setupOcclusionTick','background','remove','CSS3DWebPanelComponent','2xQRAkX','polygonOffset','auto','depthWrite','panelWorldPos','backfaceVisibility','depthMaskMeshes','lyCameraDragging','blendDstAlpha','setFromUnitVectors','toneMapped','abs','237BRnTGu','568IIyyju','receiveShadow','17465fYFtas','geometry','src','fullscreen;\x20autoplay;\x20clipboard-read;\x20clipboard-write','position','world','LYObject','tickFunc','crossVectors','opacity','366795uCIDGP','floor','push','wrapper','round','threeObject\x20is\x20null','setAttribute','isArray','blendSrcAlpha','normal','loading','style','canvas','set','app','occlusionCandidates','boundingBox','material','wallboard','__alpha_punch','div','parent','__css3d_web','traverse','isMesh','rayIgnored','__depth_mask','viewport','subVectors','meshes','length','camera','polygonOffsetFactor','targetMesh','divideScalar','depthTest','removeFromParent','allowfullscreen','1883775LFmWhh','lengthSq','transparent','scene','width','min','raycaster','blendDst','intersectObjects','colorWrite','iframe','overflow','lazy','quaternion','filter','needsUpdate','setupMasks','true','rayDir','18488HIVdqy','blendSrc','scale','outer','getSize','distance','getWorldPosition','computeBoundingBox','blending','createDefaultObject','dispose','add','createElement','polygonOffsetUnits','addTickingFunction','renderOrder','userData','alphaPunchMeshes','max','dataset','normalize','trim','782420EMofNW','castShadow','getAttribute'];_0x3143=function(){return _0x2e5d3d;};return _0x3143();}function normalizeAssetUrl(_0x4d9c2a){const _0x2c07c3=_0x7ce3,_0x55f765=String(_0x4d9c2a!==null&&_0x4d9c2a!==void 0?_0x4d9c2a:'')[_0x2c07c3(0xcf)]();if(!_0x55f765)return '';if(/^https?:\/\//i[_0x2c07c3(0xde)](_0x55f765))return _0x55f765;if(_0x55f765[_0x2c07c3(0xd9)]('/'))return _0x55f765;return '/'+_0x55f765;}function getMeshPlaneLocalSize(_0x5e5e9c){const _0x314eeb=_0x7ce3,_0x1a91df=_0x5e5e9c['geometry'];if(!_0x1a91df)return {'width':0x1,'height':0x1};if(!_0x1a91df['boundingBox'])_0x1a91df[_0x314eeb(0x142)]();const _0xcbb44d=_0x1a91df[_0x314eeb(0x112)];if(!_0xcbb44d)return {'width':0x1,'height':0x1};const _0x247ffe=_0xcbb44d[_0x314eeb(0x13f)](new Vector3$1()),_0x7b40f7=[Math['abs'](_0x247ffe['x']),Math[_0x314eeb(0xf4)](_0x247ffe['y']),Math[_0x314eeb(0xf4)](_0x247ffe['z'])]['sort']((_0x1625d7,_0x44b377)=>_0x44b377-_0x1625d7),_0x78f2cb=Math['max'](0.0001,_0x7b40f7[0x0]||0x1),_0x3e6df2=Math[_0x314eeb(0xcc)](0.0001,_0x7b40f7[0x1]||_0x78f2cb);return {'width':_0x78f2cb,'height':_0x3e6df2};}function getMeshLocalNormal(_0x4ac840){const _0x1e9cf1=_0x7ce3,_0x2d3263=_0x4ac840['geometry'];if(!_0x2d3263)return new Vector3$1(0x0,0x0,0x1);const _0x59ace2=_0x2d3263[_0x1e9cf1(0xd2)](_0x1e9cf1(0x10b));if(_0x59ace2&&_0x59ace2[_0x1e9cf1(0xd4)]>0x0){const _0x902589=new Vector3$1(),_0x14ab46=new Vector3$1();for(let _0x480164=0x0;_0x480164<_0x59ace2[_0x1e9cf1(0xd4)];_0x480164++){_0x14ab46['fromBufferAttribute'](_0x59ace2,_0x480164),_0x902589[_0x1e9cf1(0x146)](_0x14ab46);}if(_0x902589[_0x1e9cf1(0x129)]()>1e-12)return _0x902589['normalize']();}const _0x32ba2a=_0x2d3263[_0x1e9cf1(0xd2)]('position');if(!_0x32ba2a||_0x32ba2a[_0x1e9cf1(0xd4)]<0x3)return new Vector3$1(0x0,0x0,0x1);const _0x2327bd=_0x2d3263[_0x1e9cf1(0xd8)](),_0x3b1c56=new Vector3$1(),_0x3c1306=new Vector3$1(),_0x248c0c=new Vector3$1(),_0xf105fc=new Vector3$1(),_0x24c588=new Vector3$1(),_0x3d0b6d=new Vector3$1(),_0x103423=new Vector3$1(),_0x254b9c=_0x2327bd?Math[_0x1e9cf1(0x103)](_0x2327bd[_0x1e9cf1(0xd4)]/0x3):Math[_0x1e9cf1(0x103)](_0x32ba2a[_0x1e9cf1(0xd4)]/0x3);for(let _0x1d41eb=0x0;_0x1d41eb<_0x254b9c;_0x1d41eb++){const _0x170af4=_0x2327bd?_0x2327bd['getX'](_0x1d41eb*0x3+0x0):_0x1d41eb*0x3+0x0,_0x389efd=_0x2327bd?_0x2327bd['getX'](_0x1d41eb*0x3+0x1):_0x1d41eb*0x3+0x1,_0x36022a=_0x2327bd?_0x2327bd['getX'](_0x1d41eb*0x3+0x2):_0x1d41eb*0x3+0x2;_0x3b1c56[_0x1e9cf1(0xd6)](_0x32ba2a,_0x170af4),_0x3c1306['fromBufferAttribute'](_0x32ba2a,_0x389efd),_0x248c0c[_0x1e9cf1(0xd6)](_0x32ba2a,_0x36022a),_0xf105fc[_0x1e9cf1(0x11e)](_0x3c1306,_0x3b1c56),_0x24c588[_0x1e9cf1(0x11e)](_0x248c0c,_0x3b1c56),_0x103423[_0x1e9cf1(0x100)](_0xf105fc,_0x24c588);if(_0x103423[_0x1e9cf1(0x129)]()<1e-14)continue;_0x3d0b6d['add'](_0x103423);}if(_0x3d0b6d[_0x1e9cf1(0x129)]()<1e-12)return new Vector3$1(0x0,0x0,0x1);return _0x3d0b6d[_0x1e9cf1(0xce)]();}function collectOcclusionMeshes(_0xe85836){const _0x1f324b=_0x7ce3,_0x335124=[];return _0xe85836[_0x1f324b(0x119)](_0x360648=>{const _0x12afcb=_0x1f324b;var _0x18ea18;const _0x29b5ff=_0x360648;if(!(_0x29b5ff===null||_0x29b5ff===void 0?void 0:_0x29b5ff[_0x12afcb(0x11a)]))return;if(!_0x360648['visible'])return;if((_0x18ea18=_0x360648['userData'])===null||_0x18ea18===void 0?void 0:_0x18ea18['rayIgnored'])return;_0x335124[_0x12afcb(0x104)](_0x360648);}),_0x335124;}class CSS3DWebPanelComponent extends SceneComponent{get[_0x2276d1(0xdd)](){const _0x48d413=_0x2276d1;if(!this[_0x48d413(0xd7)])throw new Error(_0x48d413(0x107));return this[_0x48d413(0xd7)];}set[_0x2276d1(0xdd)](_0x5ece2a){const _0x4adaed=_0x2276d1;this[_0x4adaed(0xd7)]=_0x5ece2a,this[_0x4adaed(0xd7)]&&(this[_0x4adaed(0xd7)][_0x4adaed(0x14b)][_0x4adaed(0xfe)]=this);}constructor(_0x1b60e0,_0x13e720,_0x1091bd,_0x163af0){const _0x4e10ab=_0x2276d1;super(_0x1b60e0,_0x163af0),this['wrapper']=null,this['iframe']=null,this[_0x4e10ab(0x123)]=null,this[_0x4e10ab(0xef)]=[],this['alphaPunchMeshes']=[],this['tickFunc']=null,this['cameraWorldPos']=new Vector3$1(),this[_0x4e10ab(0xed)]=new Vector3$1(),this[_0x4e10ab(0x13a)]=new Vector3$1(),this[_0x4e10ab(0x12e)]=new Raycaster$1(),this['occlusionCandidates']=[],this[_0x4e10ab(0xd5)]=_0x4e10ab(0xe8),this[_0x4e10ab(0x11f)]=_0x13e720[_0x4e10ab(0x136)](_0x18cebc=>!!_0x18cebc);const _0x51186e=normalizeAssetUrl(_0x1091bd);if(!_0x51186e||!this[_0x4e10ab(0x11f)][_0x4e10ab(0x120)])return;this[_0x4e10ab(0x123)]=this[_0x4e10ab(0x11f)][0x0];const _0x506598=getMeshPlaneLocalSize(this['targetMesh']),_0xcacadc=0x4b0,_0x2412b9=Math[_0x4e10ab(0xcc)](0x200,Math[_0x4e10ab(0x12d)](0x1000,Math[_0x4e10ab(0x106)](_0x506598[_0x4e10ab(0x12c)]*_0xcacadc))),_0x1104f8=Math[_0x4e10ab(0xcc)](0x200,Math[_0x4e10ab(0x12d)](0x1000,Math[_0x4e10ab(0x106)](_0x506598[_0x4e10ab(0xe1)]*_0xcacadc))),_0x4d7c5a=document[_0x4e10ab(0x147)]('div');_0x4d7c5a[_0x4e10ab(0x10d)][_0x4e10ab(0x12c)]=_0x2412b9+'px',_0x4d7c5a[_0x4e10ab(0x10d)][_0x4e10ab(0xe1)]=_0x1104f8+'px',_0x4d7c5a[_0x4e10ab(0x10d)][_0x4e10ab(0xdf)]=_0x4e10ab(0xeb),_0x4d7c5a[_0x4e10ab(0x10d)][_0x4e10ab(0x133)]=_0x4e10ab(0xe0),_0x4d7c5a['style']['background']='transparent',_0x4d7c5a[_0x4e10ab(0x10d)]['backfaceVisibility']=_0x4e10ab(0xe0),this['wrapper']=_0x4d7c5a;const _0xab1122=document['createElement'](_0x4e10ab(0x132));_0xab1122['src']=_0x51186e,_0xab1122[_0x4e10ab(0x10d)][_0x4e10ab(0x12c)]=_0x4e10ab(0xda),_0xab1122[_0x4e10ab(0x10d)]['height']='100%',_0xab1122[_0x4e10ab(0x10d)]['border']='0',_0xab1122[_0x4e10ab(0x10d)][_0x4e10ab(0xe6)]=_0x4e10ab(0x12a),_0xab1122[_0x4e10ab(0x10d)][_0x4e10ab(0xdf)]=_0x4e10ab(0xeb),_0xab1122[_0x4e10ab(0x10d)][_0x4e10ab(0xee)]='hidden',_0xab1122[_0x4e10ab(0x108)]('allow',_0x4e10ab(0xfb)),_0xab1122[_0x4e10ab(0x108)](_0x4e10ab(0x127),_0x4e10ab(0x139)),_0xab1122['setAttribute'](_0x4e10ab(0x10c),_0x4e10ab(0x134)),_0x4d7c5a['appendChild'](_0xab1122),this[_0x4e10ab(0x132)]=_0xab1122;const _0x28e750=new CSS3DObject(_0x4d7c5a);_0x28e750[_0x4e10ab(0xd5)]=(this[_0x4e10ab(0x123)]['name']||_0x4e10ab(0x114))+_0x4e10ab(0x118),_0x28e750[_0x4e10ab(0xfc)][_0x4e10ab(0x10f)](0x0,0x0,0.001),_0x28e750[_0x4e10ab(0x135)][_0x4e10ab(0xf2)](new Vector3$1(0x0,0x0,0x1),getMeshLocalNormal(this[_0x4e10ab(0x123)])),_0x28e750[_0x4e10ab(0x13d)][_0x4e10ab(0x10f)](_0x506598[_0x4e10ab(0x12c)]/_0x2412b9,_0x506598[_0x4e10ab(0xe1)]/_0x1104f8,0x1),this[_0x4e10ab(0xdd)]=_0x28e750,this[_0x4e10ab(0x123)][_0x4e10ab(0x146)](_0x28e750),this[_0x4e10ab(0x138)](),this['occlusionCandidates']=collectOcclusionMeshes(this[_0x4e10ab(0x110)][_0x4e10ab(0xfd)][_0x4e10ab(0x12b)]),this['setupOcclusionTick']();}[_0x2276d1(0x144)](){const _0x26ccd2=_0x2276d1;return new CSS3DObject(document[_0x26ccd2(0x147)](_0x26ccd2(0x116)));}[_0x2276d1(0x138)](){const _0x3b3ecc=_0x2276d1;var _0x6ee9b4;for(const _0x1af290 of this['meshes']){_0x1af290[_0x3b3ecc(0x14a)]=Math['min']((_0x6ee9b4=_0x1af290[_0x3b3ecc(0x14a)])!==null&&_0x6ee9b4!==void 0?_0x6ee9b4:0x0,-1e3),_0x1af290[_0x3b3ecc(0xd1)]=![],_0x1af290[_0x3b3ecc(0xf7)]=![];const _0xad8f54=Array[_0x3b3ecc(0x109)](_0x1af290[_0x3b3ecc(0x113)])?_0x1af290['material']:[_0x1af290['material']];for(const _0x493f85 of _0xad8f54){const _0x3be746=_0x493f85;if(!_0x3be746)continue;_0x3be746[_0x3b3ecc(0x12a)]=!![],_0x3be746[_0x3b3ecc(0x101)]=0x0,_0x3be746[_0x3b3ecc(0x131)]=![],_0x3be746[_0x3b3ecc(0x125)]=![],_0x3be746[_0x3b3ecc(0xec)]=![],_0x3be746[_0x3b3ecc(0x137)]=!![];}const _0x349c9b=_0x1af290[_0x3b3ecc(0xf9)];if(!_0x349c9b)continue;const _0x44ecb8=new MeshBasicMaterial$1({'color':0x0,'side':DoubleSide,'depthTest':!![],'depthWrite':!![],'transparent':![]});_0x44ecb8['colorWrite']=![],_0x44ecb8[_0x3b3ecc(0xf3)]=![],_0x44ecb8[_0x3b3ecc(0xd3)]=![],_0x44ecb8[_0x3b3ecc(0x143)]=NoBlending,_0x44ecb8[_0x3b3ecc(0xea)]=!![],_0x44ecb8[_0x3b3ecc(0x122)]=-4,_0x44ecb8[_0x3b3ecc(0x148)]=-4;const _0xe1d513=new Mesh$1(_0x349c9b,_0x44ecb8);_0xe1d513[_0x3b3ecc(0xd5)]=(_0x1af290[_0x3b3ecc(0xd5)]||_0x3b3ecc(0x10e))+_0x3b3ecc(0x11c),_0xe1d513[_0x3b3ecc(0x14b)][_0x3b3ecc(0x11b)]=!![],_0xe1d513[_0x3b3ecc(0x14a)]=Math['min'](_0x1af290['renderOrder']-0x1,-2e3),_0xe1d513[_0x3b3ecc(0xfc)][_0x3b3ecc(0x10f)](0x0,0x0,0x0),_0xe1d513[_0x3b3ecc(0x135)][_0x3b3ecc(0x10f)](0x0,0x0,0x0,0x1),_0xe1d513[_0x3b3ecc(0x13d)]['set'](0x1,0x1,0x1),_0x1af290[_0x3b3ecc(0x146)](_0xe1d513),this[_0x3b3ecc(0xef)][_0x3b3ecc(0x104)](_0xe1d513);const _0x1e1740=new MeshBasicMaterial$1({'color':0x0,'side':DoubleSide,'depthTest':!![],'depthWrite':![],'transparent':!![],'opacity':0x1,'blending':CustomBlending});_0x1e1740['toneMapped']=![],_0x1e1740[_0x3b3ecc(0xd3)]=![],_0x1e1740['blendEquation']=AddEquation,_0x1e1740[_0x3b3ecc(0x13c)]=ZeroFactor,_0x1e1740[_0x3b3ecc(0x12f)]=OneFactor,_0x1e1740[_0x3b3ecc(0x10a)]=ZeroFactor,_0x1e1740[_0x3b3ecc(0xf1)]=ZeroFactor;const _0x11502f=new Mesh$1(_0x349c9b,_0x1e1740);_0x11502f[_0x3b3ecc(0xd5)]=(_0x1af290[_0x3b3ecc(0xd5)]||_0x3b3ecc(0x10e))+_0x3b3ecc(0x115),_0x11502f['userData'][_0x3b3ecc(0x11b)]=!![],_0x11502f['renderOrder']=Math[_0x3b3ecc(0xcc)](_0x1af290[_0x3b3ecc(0x14a)]+0x3e8,0x3e8),_0x11502f['position'][_0x3b3ecc(0x10f)](0x0,0x0,0x0),_0x11502f['quaternion'][_0x3b3ecc(0x10f)](0x0,0x0,0x0,0x1),_0x11502f[_0x3b3ecc(0x13d)][_0x3b3ecc(0x10f)](0x1,0x1,0x1),_0x1af290['add'](_0x11502f),this['alphaPunchMeshes']['push'](_0x11502f);}}[_0x2276d1(0xe5)](){const _0x5d4f20=_0x2276d1;let _0x1d6923=0x0;this[_0x5d4f20(0xff)]=_0x496598=>{const _0x2ed046=_0x5d4f20;var _0x1b99d;if(!this[_0x2ed046(0x123)]||!this[_0x2ed046(0x105)]||!this[_0x2ed046(0x132)])return;_0x1d6923+=_0x496598;if(_0x1d6923<0.05)return;_0x1d6923=0x0;const _0x44dcb9=this['app'][_0x2ed046(0x121)];_0x44dcb9['getWorldPosition'](this[_0x2ed046(0xe3)]),this[_0x2ed046(0x123)][_0x2ed046(0x141)](this[_0x2ed046(0xed)]),this[_0x2ed046(0x13a)][_0x2ed046(0x11e)](this[_0x2ed046(0xed)],this[_0x2ed046(0xe3)]);const _0x42aea9=this[_0x2ed046(0x13a)]['length']();if(_0x42aea9<=0.00001)return;this['rayDir'][_0x2ed046(0x124)](_0x42aea9),this[_0x2ed046(0x12e)][_0x2ed046(0x10f)](this[_0x2ed046(0xe3)],this[_0x2ed046(0x13a)]);const _0x65e613=this['raycaster'][_0x2ed046(0x130)](this[_0x2ed046(0x111)],!![]);let _0x36b598=![];const _0x3f0d03=_0x42aea9-0.02;for(const _0x5b4cf7 of _0x65e613){if(_0x5b4cf7[_0x2ed046(0x140)]>=_0x3f0d03)break;let _0x66c960=_0x5b4cf7['object'],_0x4a375b=!![];while(_0x66c960){if(!_0x66c960['visible']){_0x4a375b=![];break;}_0x66c960=_0x66c960[_0x2ed046(0x117)];}if(!_0x4a375b)continue;_0x66c960=_0x5b4cf7['object'];let _0x232bce=![];while(_0x66c960){if(this[_0x2ed046(0x11f)]['includes'](_0x66c960)){_0x232bce=!![];break;}_0x66c960=_0x66c960['parent'];}if(_0x232bce)continue;_0x36b598=!![];break;}const _0x2e135b=((_0x1b99d=this['app'][_0x2ed046(0x11d)][_0x2ed046(0x13e)])===null||_0x1b99d===void 0?void 0:_0x1b99d[_0x2ed046(0xcd)][_0x2ed046(0xf0)])==='1',_0x5707ea=_0x2e135b||_0x36b598?_0x2ed046(0xe2):_0x2ed046(0xeb);this[_0x2ed046(0x105)][_0x2ed046(0x10d)]['pointerEvents']!==_0x5707ea&&(this['wrapper'][_0x2ed046(0x10d)][_0x2ed046(0xdf)]=_0x5707ea),this[_0x2ed046(0x132)][_0x2ed046(0x10d)]['pointerEvents']!==_0x5707ea&&(this[_0x2ed046(0x132)][_0x2ed046(0x10d)][_0x2ed046(0xdf)]=_0x5707ea);},this[_0x5d4f20(0x110)][_0x5d4f20(0x149)](this[_0x5d4f20(0xff)]);}['destroy'](){const _0x5c5a55=_0x2276d1;this[_0x5c5a55(0xff)]&&(this[_0x5c5a55(0x110)]['removeTickingFunction'](this[_0x5c5a55(0xff)]),this['tickFunc']=null);for(const _0x2fceba of this[_0x5c5a55(0xef)]){_0x2fceba['removeFromParent']();const _0x1d33a3=_0x2fceba['material'];if(Array[_0x5c5a55(0x109)](_0x1d33a3)){for(const _0x5c32f4 of _0x1d33a3)_0x5c32f4===null||_0x5c32f4===void 0?void 0:_0x5c32f4[_0x5c5a55(0x145)]();}else _0x1d33a3===null||_0x1d33a3===void 0?void 0:_0x1d33a3['dispose']();}this[_0x5c5a55(0xef)]['length']=0x0;for(const _0x58dd46 of this[_0x5c5a55(0x14c)]){_0x58dd46[_0x5c5a55(0x126)]();const _0x268dbc=_0x58dd46[_0x5c5a55(0x113)];if(Array[_0x5c5a55(0x109)](_0x268dbc)){for(const _0x45e219 of _0x268dbc)_0x45e219===null||_0x45e219===void 0?void 0:_0x45e219[_0x5c5a55(0x145)]();}else _0x268dbc===null||_0x268dbc===void 0?void 0:_0x268dbc['dispose']();}this[_0x5c5a55(0x14c)][_0x5c5a55(0x120)]=0x0,this[_0x5c5a55(0x132)]&&(this['iframe'][_0x5c5a55(0xfa)]='about:blank',this['iframe']=null),this[_0x5c5a55(0x105)]&&(this[_0x5c5a55(0x105)][_0x5c5a55(0xe7)](),this['wrapper']=null),this[_0x5c5a55(0x123)]=null,this[_0x5c5a55(0x111)]=[],super[_0x5c5a55(0xdb)]();}}
|
|
137
137
|
|
|
138
|
-
const
|
|
138
|
+
const _0x463543=_0x5710;(function(_0x1d6f53,_0x2a705b){const _0x30fd47=_0x5710,_0x142294=_0x1d6f53();while(!![]){try{const _0x333d4a=parseInt(_0x30fd47(0x1cb))/0x1*(parseInt(_0x30fd47(0x1ec))/0x2)+-parseInt(_0x30fd47(0x1e1))/0x3+-parseInt(_0x30fd47(0x207))/0x4*(parseInt(_0x30fd47(0x1f9))/0x5)+parseInt(_0x30fd47(0x20a))/0x6+-parseInt(_0x30fd47(0x1fe))/0x7*(-parseInt(_0x30fd47(0x1d7))/0x8)+parseInt(_0x30fd47(0x1cc))/0x9+-parseInt(_0x30fd47(0x1e0))/0xa;if(_0x333d4a===_0x2a705b)break;else _0x142294['push'](_0x142294['shift']());}catch(_0x5d0c8c){_0x142294['push'](_0x142294['shift']());}}}(_0x4ba6,0xef9b9));function _0x5710(_0x2dfcdd,_0x4f0ba8){_0x2dfcdd=_0x2dfcdd-0x1c9;const _0x4ba684=_0x4ba6();let _0x571072=_0x4ba684[_0x2dfcdd];return _0x571072;}function _0x4ba6(){const _0x726cd=['6207912IytDGb','_bevelSize','forEach','_font','https://threejs.org/examples/fonts/helvetiker_regular.typeface.json','bevelThickness','sideColor','geometry','_size','color','_height','984rDsdTU','dispose','viewport','_bevelEnabled','updateMaterial','get','obj','add','bevelEnabled','13925930IprckQ','2476059qoZkWB','curveSegments','_color','bevelOffset','_bevelOffset','#ffffff','max','length','_fontUrl','set','size','3519130AfLFJy','error','bevelSegments','material','height','destroy','_bevelSegments','has','_fontCache','_sideColor','_text','fontUrl','loadAsync','7169585wxdFdl','isArray','_bevelThickness','world','text','97433HEeArO','isUnlit','min','_isUnlit','Failed\x20to\x20load\x20font\x20from\x20','loadFontAndRefresh','refreshGeometry','remove','userData','4NdvgtT','_mesh','markRenderStateDirty','2831556IQDzkX','_group','createDefaultObject','_curveSegments','_fontLoader','boundingBox','Text','1GxEDnm'];_0x4ba6=function(){return _0x726cd;};return _0x4ba6();}class Text3DComponent extends SceneComponent{constructor(_0x269221,_0x18e3a7,_0x3c7611){const _0x2fde11=_0x5710;super(_0x269221,_0x3c7611),this[_0x2fde11(0x1f6)]=_0x2fde11(0x1ca),this[_0x2fde11(0x1e9)]=_0x2fde11(0x1d0),this[_0x2fde11(0x1d4)]=0x1,this[_0x2fde11(0x1d6)]=0.2,this[_0x2fde11(0x20d)]=0xc,this[_0x2fde11(0x1da)]=![],this['_bevelThickness']=0.03,this['_bevelSize']=0.02,this[_0x2fde11(0x1e5)]=0x0,this[_0x2fde11(0x1f2)]=0x5,this[_0x2fde11(0x1e3)]=_0x2fde11(0x1e6),this[_0x2fde11(0x1f5)]=_0x2fde11(0x1e6),this[_0x2fde11(0x201)]=!![],this[_0x2fde11(0x1cf)]=null,this[_0x2fde11(0x208)]=null,this[_0x2fde11(0x20b)]=this[_0x2fde11(0x1dd)];if(_0x18e3a7){if(_0x18e3a7[_0x2fde11(0x1fd)]!==undefined)this[_0x2fde11(0x1f6)]=_0x18e3a7[_0x2fde11(0x1fd)];if(_0x18e3a7[_0x2fde11(0x1f7)]!==undefined)this[_0x2fde11(0x1e9)]=_0x18e3a7['fontUrl'];if(_0x18e3a7[_0x2fde11(0x1eb)]!==undefined)this['_size']=_0x18e3a7[_0x2fde11(0x1eb)];if(_0x18e3a7['height']!==undefined)this[_0x2fde11(0x1d6)]=_0x18e3a7[_0x2fde11(0x1f0)];if(_0x18e3a7[_0x2fde11(0x1e2)]!==undefined)this[_0x2fde11(0x20d)]=_0x18e3a7['curveSegments'];if(_0x18e3a7[_0x2fde11(0x1df)]!==undefined)this['_bevelEnabled']=_0x18e3a7[_0x2fde11(0x1df)];if(_0x18e3a7[_0x2fde11(0x1d1)]!==undefined)this['_bevelThickness']=_0x18e3a7['bevelThickness'];if(_0x18e3a7['bevelSize']!==undefined)this[_0x2fde11(0x1cd)]=_0x18e3a7['bevelSize'];if(_0x18e3a7['bevelOffset']!==undefined)this[_0x2fde11(0x1e5)]=_0x18e3a7[_0x2fde11(0x1e4)];if(_0x18e3a7[_0x2fde11(0x1ee)]!==undefined)this[_0x2fde11(0x1f2)]=_0x18e3a7[_0x2fde11(0x1ee)];_0x18e3a7[_0x2fde11(0x1d5)]!==undefined&&(this[_0x2fde11(0x1e3)]=_0x18e3a7[_0x2fde11(0x1d5)],this['_sideColor']=_0x18e3a7['color']);if(_0x18e3a7[_0x2fde11(0x1d2)]!==undefined)this[_0x2fde11(0x1f5)]=_0x18e3a7[_0x2fde11(0x1d2)];if(_0x18e3a7['isUnlit']!==undefined)this[_0x2fde11(0x201)]=_0x18e3a7[_0x2fde11(0x1ff)];}this[_0x2fde11(0x203)]();}[_0x463543(0x20c)](){return new Group();}get['text'](){return this['_text'];}set[_0x463543(0x1fd)](_0x39e5ea){const _0x3c3dc2=_0x463543;this[_0x3c3dc2(0x1f6)]!==_0x39e5ea&&(this[_0x3c3dc2(0x1f6)]=_0x39e5ea,this[_0x3c3dc2(0x204)]());}get['color'](){return this['_color'];}set[_0x463543(0x1d5)](_0x25fd1c){const _0x4d659f=_0x463543;this[_0x4d659f(0x1e3)]!==_0x25fd1c&&(this[_0x4d659f(0x1e3)]=_0x25fd1c,this[_0x4d659f(0x1db)]());}get[_0x463543(0x1d2)](){const _0x31e63a=_0x463543;return this[_0x31e63a(0x1f5)];}set['sideColor'](_0x187654){const _0x2d2c59=_0x463543;this[_0x2d2c59(0x1f5)]!==_0x187654&&(this[_0x2d2c59(0x1f5)]=_0x187654,this[_0x2d2c59(0x1db)]());}get[_0x463543(0x1eb)](){const _0xa5f0ac=_0x463543;return this[_0xa5f0ac(0x1d4)];}set[_0x463543(0x1eb)](_0x27447f){const _0x1c1496=_0x463543;this[_0x1c1496(0x1d4)]!==_0x27447f&&(this[_0x1c1496(0x1d4)]=_0x27447f,this[_0x1c1496(0x204)]());}get['height'](){const _0x5c92d2=_0x463543;return this[_0x5c92d2(0x1d6)];}set[_0x463543(0x1f0)](_0xa9e835){const _0x59d0f9=_0x463543;this['_height']!==_0xa9e835&&(this[_0x59d0f9(0x1d6)]=_0xa9e835,this['refreshGeometry']());}get[_0x463543(0x1f7)](){return this['_fontUrl'];}set[_0x463543(0x1f7)](_0x47a2fa){const _0x3e629c=_0x463543;this[_0x3e629c(0x1e9)]!==_0x47a2fa&&(this[_0x3e629c(0x1e9)]=_0x47a2fa,this[_0x3e629c(0x203)]());}async[_0x463543(0x203)](){const _0x357014=_0x463543;if(Text3DComponent[_0x357014(0x1f4)][_0x357014(0x1f3)](this[_0x357014(0x1e9)])){this['_font']=Text3DComponent[_0x357014(0x1f4)][_0x357014(0x1dc)](this[_0x357014(0x1e9)]),this[_0x357014(0x204)]();return;}try{const _0x5e7127=await Text3DComponent[_0x357014(0x20e)][_0x357014(0x1f8)](this['_fontUrl']);Text3DComponent[_0x357014(0x1f4)][_0x357014(0x1ea)](this[_0x357014(0x1e9)],_0x5e7127),this['_font']=_0x5e7127,this[_0x357014(0x204)]();}catch(_0x2bde30){console[_0x357014(0x1ed)](_0x357014(0x202)+this[_0x357014(0x1e9)]+':',_0x2bde30);}}[_0x463543(0x204)](){const _0x193a00=_0x463543;if(!this[_0x193a00(0x1cf)])return;if(this[_0x193a00(0x208)]){if(this['_mesh'][_0x193a00(0x1d3)])this[_0x193a00(0x208)]['geometry'][_0x193a00(0x1d8)]();this[_0x193a00(0x20b)][_0x193a00(0x205)](this[_0x193a00(0x208)]);}const _0x468a53=new TextGeometry(this['_text'],{'font':this[_0x193a00(0x1cf)],'size':this[_0x193a00(0x1d4)],'depth':this[_0x193a00(0x1d6)],'curveSegments':this[_0x193a00(0x20d)],'bevelEnabled':this[_0x193a00(0x1da)],'bevelThickness':this[_0x193a00(0x1fb)],'bevelSize':this[_0x193a00(0x1cd)],'bevelOffset':this[_0x193a00(0x1e5)],'bevelSegments':this[_0x193a00(0x1f2)]});_0x468a53['computeBoundingBox']();if(_0x468a53[_0x193a00(0x1c9)]){const _0x1928b0=-0.5*(_0x468a53[_0x193a00(0x1c9)]['max']['x']-_0x468a53[_0x193a00(0x1c9)]['min']['x']),_0x5b09a2=-0.5*(_0x468a53[_0x193a00(0x1c9)][_0x193a00(0x1e7)]['y']-_0x468a53[_0x193a00(0x1c9)][_0x193a00(0x200)]['y']);_0x468a53['translate'](_0x1928b0,_0x5b09a2,0x0);}let _0x3f53fe;this['_isUnlit']?_0x3f53fe=[new MeshBasicMaterial({'color':new Color(this['_color']),'side':DoubleSide$1}),new MeshBasicMaterial({'color':new Color(this[_0x193a00(0x1f5)]),'side':DoubleSide$1})]:_0x3f53fe=[new MeshStandardMaterial({'color':new Color(this[_0x193a00(0x1e3)]),'side':DoubleSide$1}),new MeshStandardMaterial({'color':new Color(this['_sideColor']),'side':DoubleSide$1})],this['_mesh']=new Mesh(_0x468a53,_0x3f53fe),this[_0x193a00(0x208)][_0x193a00(0x206)]['LYObject']=this,this[_0x193a00(0x20b)][_0x193a00(0x1de)](this['_mesh']),this['world']&&this['world'][_0x193a00(0x1d9)][_0x193a00(0x209)]();}['updateMaterial'](){const _0x242e6f=_0x463543;if(!this[_0x242e6f(0x208)])return;if(Array[_0x242e6f(0x1fa)](this[_0x242e6f(0x208)]['material'])){const _0x52b9ab=this[_0x242e6f(0x208)][_0x242e6f(0x1ef)];_0x52b9ab[_0x242e6f(0x1e8)]>=0x2&&(_0x52b9ab[0x0][_0x242e6f(0x1d5)]['set'](this[_0x242e6f(0x1e3)]),_0x52b9ab[0x1][_0x242e6f(0x1d5)][_0x242e6f(0x1ea)](this['_sideColor']));}else {const _0x24710e=this[_0x242e6f(0x208)][_0x242e6f(0x1ef)];_0x24710e[_0x242e6f(0x1d5)]['set'](this[_0x242e6f(0x1e3)]);}this['world']&&this[_0x242e6f(0x1fc)][_0x242e6f(0x1d9)][_0x242e6f(0x209)]();}[_0x463543(0x1f1)](){const _0x338489=_0x463543;if(this['_mesh']){if(this[_0x338489(0x208)][_0x338489(0x1d3)])this[_0x338489(0x208)][_0x338489(0x1d3)][_0x338489(0x1d8)]();Array[_0x338489(0x1fa)](this[_0x338489(0x208)][_0x338489(0x1ef)])?this[_0x338489(0x208)]['material'][_0x338489(0x1ce)](_0x4724b4=>_0x4724b4['dispose']()):this[_0x338489(0x208)][_0x338489(0x1ef)][_0x338489(0x1d8)]();}super[_0x338489(0x1f1)]();}}Text3DComponent[_0x463543(0x20e)]=new FontLoader(),Text3DComponent[_0x463543(0x1f4)]=new Map();
|
|
139
139
|
|
|
140
|
-
|
|
140
|
+
(function(_0x49178a,_0xa31d75){const _0x4cd000=_0x3dfa,_0x33798c=_0x49178a();while(!![]){try{const _0x1b5f41=-parseInt(_0x4cd000(0xef))/0x1+-parseInt(_0x4cd000(0xf1))/0x2+parseInt(_0x4cd000(0xf6))/0x3+-parseInt(_0x4cd000(0xf2))/0x4+parseInt(_0x4cd000(0xf5))/0x5*(parseInt(_0x4cd000(0xf3))/0x6)+-parseInt(_0x4cd000(0xf4))/0x7+parseInt(_0x4cd000(0xf0))/0x8;if(_0x1b5f41===_0xa31d75)break;else _0x33798c['push'](_0x33798c['shift']());}catch(_0xb5be17){_0x33798c['push'](_0x33798c['shift']());}}}(_0x4b27,0xbca4e));function _0x3dfa(_0x2bb0c5,_0x4d4ad6){_0x2bb0c5=_0x2bb0c5-0xef;const _0x4b2771=_0x4b27();let _0x3dfa70=_0x4b2771[_0x2bb0c5];return _0x3dfa70;}function _0x4b27(){const _0x176416=['1182462TkIRDk','2019227uxAoQH','25JOieam','3255837UlDnBn','218274UCedHr','2227128jbeWVY','2115718XBMiRN','47100bQLmuA'];_0x4b27=function(){return _0x176416;};return _0x4b27();}const DefaultSSRParam={'type':PostProcessStepType['ScreenSpaceReflection'],'maxDistance':0.5,'opacity':0x1,'thickness':0.015};
|
|
141
141
|
|
|
142
|
-
function
|
|
142
|
+
function _0x5ab4(_0x5e1754,_0x408d96){_0x5e1754=_0x5e1754-0x1b9;const _0xd5a233=_0xd5a2();let _0x5ab450=_0xd5a233[_0x5e1754];return _0x5ab450;}const _0x4c48e9=_0x5ab4;(function(_0x437997,_0x8ecf16){const _0x35c875=_0x5ab4,_0x4d595c=_0x437997();while(!![]){try{const _0x19ecc8=parseInt(_0x35c875(0x1c0))/0x1+parseInt(_0x35c875(0x1b9))/0x2+-parseInt(_0x35c875(0x1c1))/0x3+-parseInt(_0x35c875(0x1bd))/0x4*(-parseInt(_0x35c875(0x1ba))/0x5)+-parseInt(_0x35c875(0x1bc))/0x6+parseInt(_0x35c875(0x1bf))/0x7+-parseInt(_0x35c875(0x1be))/0x8;if(_0x19ecc8===_0x8ecf16)break;else _0x4d595c['push'](_0x4d595c['shift']());}catch(_0x5ce2a9){_0x4d595c['push'](_0x4d595c['shift']());}}}(_0xd5a2,0xc42bc));function _0xd5a2(){const _0x37aae2=['2158292VfAKIT','65zadnEW','fxaa','3399948ZTUxQy','66260lQYbbg','6760936mnIemU','6858943VITCCy','389324NuEfxf','1345119NbQQJV'];_0xd5a2=function(){return _0x37aae2;};return _0xd5a2();}const DefaultAAParams={'type':PostProcessStepType['Antialiasing'],'method':_0x4c48e9(0x1bb)};
|
|
143
143
|
|
|
144
|
-
function
|
|
144
|
+
const _0xbd6f40=_0x42b8;(function(_0x4a7dd8,_0x10fe79){const _0x3df5a1=_0x42b8,_0x364185=_0x4a7dd8();while(!![]){try{const _0x3f7007=-parseInt(_0x3df5a1(0x193))/0x1+-parseInt(_0x3df5a1(0x1b8))/0x2*(parseInt(_0x3df5a1(0x1bb))/0x3)+parseInt(_0x3df5a1(0x19c))/0x4*(-parseInt(_0x3df5a1(0x1ae))/0x5)+-parseInt(_0x3df5a1(0x1c7))/0x6+parseInt(_0x3df5a1(0x1c1))/0x7+-parseInt(_0x3df5a1(0x18f))/0x8*(-parseInt(_0x3df5a1(0x1c5))/0x9)+parseInt(_0x3df5a1(0x197))/0xa;if(_0x3f7007===_0x10fe79)break;else _0x364185['push'](_0x364185['shift']());}catch(_0x2ae34d){_0x364185['push'](_0x364185['shift']());}}}(_0x1219,0x88244));function _0x42b8(_0x2f76f1,_0x3726c3){_0x2f76f1=_0x2f76f1-0x18d;const _0x121903=_0x1219();let _0x42b8ff=_0x121903[_0x2f76f1];return _0x42b8ff;}function _0x1219(){const _0x150853=['527149mtEJYQ','parent','createDebugObject','getCollisionResponse','396gSLZjn','debugOpacity','4365720qjhicX','_onBeginOverlapDelegate','getDebugAttachParent','107320VNrzNg','destroy','onDebugTick','disableDebug','16498zxPYTS','debugEnabled','physics','Block','23415500FKylAC','call','_registeredInWorld','ColliderComponent','_debugEnabled','4336aDSUHu','generateOverlapEvents','_debugObject','markRenderStateDirty','onHitDelegate','_generateHitEvents','world','name','generateHitEvents','_objectType','objectType','_debugOpacity','getMutualResponse','unregisterCollider','_debugColor','Overlap','_responseMap','collisionEnabled','2790srERVo','add','traverse','debugColor','onAddedToWorld','Ignore','tick','threeObject','remove','registerCollider','1214dcDvXU','onBeginOverlapDelegate','onDebugStyleChanged','5439asGuTM','WorldDynamic','_onEndOverlapDelegate','destroyDebugObject','_collisionEnabled','_generateOverlapEvents'];_0x1219=function(){return _0x150853;};return _0x1219();}class ColliderComponent extends SceneComponent{get[_0xbd6f40(0x194)](){const _0x1201e0=_0xbd6f40;return this[_0x1201e0(0x19b)];}set[_0xbd6f40(0x194)](_0x16c216){const _0x59dd68=_0xbd6f40;var _0x343fad,_0x435476,_0x293f39;if(this[_0x59dd68(0x19b)]===_0x16c216)return;this[_0x59dd68(0x19b)]=_0x16c216,this[_0x59dd68(0x19b)]?this['enableDebug']():this[_0x59dd68(0x192)](),(_0x293f39=(_0x435476=(_0x343fad=this[_0x59dd68(0x1a2)])===null||_0x343fad===void 0?void 0:_0x343fad['viewport'])===null||_0x435476===void 0?void 0:_0x435476[_0x59dd68(0x19f)])===null||_0x293f39===void 0?void 0:_0x293f39[_0x59dd68(0x198)](_0x435476);}get[_0xbd6f40(0x1b1)](){return this['_debugColor'];}set[_0xbd6f40(0x1b1)](_0x2d4ce5){const _0x50e4d1=_0xbd6f40;this[_0x50e4d1(0x1aa)]=_0x2d4ce5,this[_0x50e4d1(0x19b)]&&this[_0x50e4d1(0x1ba)]();}get['debugOpacity'](){const _0x3b6593=_0xbd6f40;return this[_0x3b6593(0x1a7)];}set[_0xbd6f40(0x1c6)](_0x420676){const _0x3999a9=_0xbd6f40;this['_debugOpacity']=_0x420676,this[_0x3999a9(0x19b)]&&this[_0x3999a9(0x1ba)]();}get[_0xbd6f40(0x1ad)](){const _0x3c81c2=_0xbd6f40;return this[_0x3c81c2(0x1bf)];}set['collisionEnabled'](_0x20b112){const _0x467012=_0xbd6f40;this[_0x467012(0x1bf)]=_0x20b112;}get[_0xbd6f40(0x19d)](){const _0x342fed=_0xbd6f40;return this[_0x342fed(0x1c0)];}set[_0xbd6f40(0x19d)](_0x1eccd1){const _0x58e5d2=_0xbd6f40;this[_0x58e5d2(0x1c0)]=_0x1eccd1;}get['generateHitEvents'](){const _0x9843c2=_0xbd6f40;return this[_0x9843c2(0x1a1)];}set[_0xbd6f40(0x1a4)](_0x5ccf70){this['_generateHitEvents']=_0x5ccf70;}get[_0xbd6f40(0x1a6)](){const _0x312882=_0xbd6f40;return this[_0x312882(0x1a5)];}set[_0xbd6f40(0x1a6)](_0x30aeb3){const _0x2ecd5f=_0xbd6f40;this[_0x2ecd5f(0x1a5)]=_0x30aeb3;}get[_0xbd6f40(0x1b9)](){const _0x465c56=_0xbd6f40;return this[_0x465c56(0x18d)];}get['onEndOverlapDelegate'](){const _0x232f19=_0xbd6f40;return this[_0x232f19(0x1bd)];}get[_0xbd6f40(0x1a0)](){return this['_onHitDelegate'];}constructor(_0xd58fbd,_0x3c665f){const _0x2d9d07=_0xbd6f40;super(_0xd58fbd,_0x3c665f),this[_0x2d9d07(0x1bf)]=!![],this['_generateOverlapEvents']=!![],this[_0x2d9d07(0x1a1)]=!![],this[_0x2d9d07(0x1a5)]=CollisionChannel[_0x2d9d07(0x1bc)],this[_0x2d9d07(0x1ac)]={},this[_0x2d9d07(0x18d)]=new Delegate(),this[_0x2d9d07(0x1bd)]=new Delegate(),this['_onHitDelegate']=new Delegate(),this[_0x2d9d07(0x199)]=![],this[_0x2d9d07(0x19b)]=![],this[_0x2d9d07(0x1aa)]=0xff00,this[_0x2d9d07(0x1a7)]=0.25,this['_debugObject']=null,this[_0x2d9d07(0x1a3)]=_0x2d9d07(0x19a);}['setCollisionResponse'](_0x326f10,_0x1563a4){const _0x5930a8=_0xbd6f40;this[_0x5930a8(0x1ac)][_0x326f10]=_0x1563a4;}['setCollisionResponses'](_0x2772b5){const _0x298713=_0xbd6f40;this[_0x298713(0x1ac)]=Object['assign']({},_0x2772b5);}['getCollisionResponse'](_0x17b598){var _0x212f7d;return (_0x212f7d=this['_responseMap'][_0x17b598])!==null&&_0x212f7d!==void 0?_0x212f7d:CollisionResponse['Block'];}[_0xbd6f40(0x1a8)](_0x1c36d6){const _0x404e72=_0xbd6f40,_0x5d2380=this[_0x404e72(0x1c4)](_0x1c36d6[_0x404e72(0x1a6)]),_0x226770=_0x1c36d6[_0x404e72(0x1c4)](this[_0x404e72(0x1a6)]);if(_0x5d2380===CollisionResponse[_0x404e72(0x1b3)]||_0x226770===CollisionResponse[_0x404e72(0x1b3)])return CollisionResponse[_0x404e72(0x1b3)];if(_0x5d2380===CollisionResponse['Block']||_0x226770===CollisionResponse[_0x404e72(0x196)])return CollisionResponse[_0x404e72(0x196)];return CollisionResponse[_0x404e72(0x1ab)];}[_0xbd6f40(0x1b4)](_0x579998){const _0x5b28de=_0xbd6f40;super[_0x5b28de(0x1b4)](_0x579998),this[_0x5b28de(0x19b)]&&this[_0x5b28de(0x191)](_0x579998);}[_0xbd6f40(0x1b2)](_0x1af052){const _0x2fffee=_0xbd6f40;super['onAddedToWorld'](_0x1af052),!this[_0x2fffee(0x199)]&&(this[_0x2fffee(0x1a2)][_0x2fffee(0x195)][_0x2fffee(0x1b7)](this),this[_0x2fffee(0x199)]=!![]);}['destroy'](){const _0x3e3756=_0xbd6f40;this[_0x3e3756(0x19b)]&&(this[_0x3e3756(0x192)](),this['_debugEnabled']=![]),this[_0x3e3756(0x199)]&&(this[_0x3e3756(0x1a2)][_0x3e3756(0x195)][_0x3e3756(0x1a9)](this),this[_0x3e3756(0x199)]=![]),super[_0x3e3756(0x190)]();}['getDebugAttachParent'](){const _0x51edd4=_0xbd6f40;return this[_0x51edd4(0x1b5)];}[_0xbd6f40(0x1c3)](){return null;}[_0xbd6f40(0x1be)](_0x5db1aa){return;}['onDebugTick'](_0x1ae059){return;}['onDebugStyleChanged'](){return;}['enableDebug'](){const _0x581452=_0xbd6f40;if(this['_debugObject'])return;const _0x9c9b50=this[_0x581452(0x18e)](),_0x5abfd2=this[_0x581452(0x1c3)]();if(!_0x5abfd2)return;this[_0x581452(0x19e)]=_0x5abfd2,_0x5abfd2[_0x581452(0x1b0)](_0x59a0b0=>{_0x59a0b0['userData']['rayIgnored']=!![];}),_0x9c9b50&&_0x9c9b50[_0x581452(0x1af)](_0x5abfd2),this[_0x581452(0x1ba)]();}['disableDebug'](){const _0x107ba5=_0xbd6f40,_0x22d9c7=this[_0x107ba5(0x19e)];if(!_0x22d9c7)return;this['destroyDebugObject'](_0x22d9c7),_0x22d9c7[_0x107ba5(0x1c2)]&&_0x22d9c7[_0x107ba5(0x1c2)][_0x107ba5(0x1b6)](_0x22d9c7),this[_0x107ba5(0x19e)]=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
|
+
function _0x72b6(_0x2c6aae,_0xfdaa9a){_0x2c6aae=_0x2c6aae-0x170;const _0x2a6d7c=_0x2a6d();let _0x72b6f1=_0x2a6d7c[_0x2c6aae];return _0x72b6f1;}const _0x297f72=_0x72b6;(function(_0x17f0b6,_0xc2ea18){const _0x2adf36=_0x72b6,_0x3c1625=_0x17f0b6();while(!![]){try{const _0x29e98f=-parseInt(_0x2adf36(0x1a1))/0x1+parseInt(_0x2adf36(0x1ac))/0x2*(parseInt(_0x2adf36(0x184))/0x3)+parseInt(_0x2adf36(0x18a))/0x4*(-parseInt(_0x2adf36(0x17e))/0x5)+parseInt(_0x2adf36(0x185))/0x6*(parseInt(_0x2adf36(0x180))/0x7)+-parseInt(_0x2adf36(0x18f))/0x8*(parseInt(_0x2adf36(0x1a9))/0x9)+-parseInt(_0x2adf36(0x19c))/0xa+parseInt(_0x2adf36(0x1a6))/0xb;if(_0x29e98f===_0xc2ea18)break;else _0x3c1625['push'](_0x3c1625['shift']());}catch(_0x247297){_0x3c1625['push'](_0x3c1625['shift']());}}}(_0x2a6d,0x5e06b));function _0x2a6d(){const _0xfe411b=['onDebugTick','add','837141xcuMmJ','138SyVyuS','Pawn','distance','debugColor','_debugRoot','4bfBMpO','objectType','getWorldPosition','CapsuleColliderComponent','getWorldAABB','8NDrHzu','multiplyScalar','raycast','_debugTop','needsUpdate','clone','_tmpPoint','_tmpB','normal','_tmpBA','_tmpNormal','lengthSq','isFinite','304150Vilmcg','sub','name','makeSphereHit','scale','254504hudeUZ','_debugBottom','max','copy','Ignore','4736985hQIijT','transparent','_tmpA','3326238dBmHis','halfHeight','getWorldScale','2gdsgui','setCollisionResponse','_radius','Overlap','destroyDebugObject','opacity','debugOpacity','_halfHeight','_debugCylinder','abs','traverse','onDebugStyleChanged','radius','sqrt','raycastSphere','dot','createDebugObject','point','1777595nXfUoN','position','208621KFIIKT','set'];_0x2a6d=function(){return _0xfe411b;};return _0x2a6d();}class CapsuleColliderComponent extends ColliderComponent{get[_0x297f72(0x178)](){const _0x36c2cc=_0x297f72;return this[_0x36c2cc(0x1ae)];}get[_0x297f72(0x1aa)](){return this['_halfHeight'];}constructor(_0x250ee1,_0x5b3aa0=0.35,_0x325f72=0.5,_0x49fbf8){const _0x24aeab=_0x297f72;super(_0x250ee1,_0x49fbf8),this[_0x24aeab(0x189)]=null,this[_0x24aeab(0x174)]=null,this['_debugTop']=null,this['_debugBottom']=null,this['_tmpA']=new Vector3(),this['_tmpB']=new Vector3(),this[_0x24aeab(0x198)]=new Vector3(),this['_tmpOA']=new Vector3(),this[_0x24aeab(0x195)]=new Vector3(),this[_0x24aeab(0x199)]=new Vector3(),this[_0x24aeab(0x1ae)]=Math[_0x24aeab(0x1a3)](0x0,_0x5b3aa0),this[_0x24aeab(0x173)]=Math[_0x24aeab(0x1a3)](0x0,_0x325f72),this[_0x24aeab(0x18b)]=CollisionChannel[_0x24aeab(0x186)],this[_0x24aeab(0x1ad)](CollisionChannel[_0x24aeab(0x186)],CollisionResponse[_0x24aeab(0x1a5)]),this['setCollisionResponse'](CollisionChannel['Trigger'],CollisionResponse[_0x24aeab(0x1af)]),this[_0x24aeab(0x19e)]=_0x24aeab(0x18d);}[_0x297f72(0x18e)](_0x538a97=new Box3()){const _0x3c1f74=_0x297f72,_0x503e53=this[_0x3c1f74(0x18c)](),_0x1c9e29=this[_0x3c1f74(0x1ab)](),_0x4e0402=Math[_0x3c1f74(0x175)](_0x1c9e29['x'])>1e-8?Math[_0x3c1f74(0x175)](_0x1c9e29['x']):0x1,_0x575522=Math['abs'](_0x1c9e29['y'])>1e-8?Math[_0x3c1f74(0x175)](_0x1c9e29['y']):0x1,_0x45bda0=Math[_0x3c1f74(0x175)](_0x1c9e29['z'])>1e-8?Math[_0x3c1f74(0x175)](_0x1c9e29['z']):0x1,_0x51ed9a=this[_0x3c1f74(0x1ae)]*Math[_0x3c1f74(0x1a3)](_0x4e0402,_0x45bda0),_0x3b3ed6=this[_0x3c1f74(0x173)]*_0x575522,_0xc9130b=new Vector3(_0x503e53['x']-_0x51ed9a,_0x503e53['y']-_0x3b3ed6-_0x51ed9a,_0x503e53['z']-_0x51ed9a),_0xd8526b=new Vector3(_0x503e53['x']+_0x51ed9a,_0x503e53['y']+_0x3b3ed6+_0x51ed9a,_0x503e53['z']+_0x51ed9a);return _0x538a97[_0x3c1f74(0x181)](_0xc9130b,_0xd8526b),_0x538a97;}[_0x297f72(0x191)](_0xca879c,_0x48fa26,_0x2628a3){const _0x487692=_0x297f72;if(_0x2628a3<=0.000001)return null;const _0x1afccd=this[_0x487692(0x18c)](),_0x4386d7=this[_0x487692(0x1ab)](),_0x47a406=Math[_0x487692(0x175)](_0x4386d7['x'])>1e-8?Math[_0x487692(0x175)](_0x4386d7['x']):0x1,_0x3ad9e8=Math['abs'](_0x4386d7['y'])>1e-8?Math[_0x487692(0x175)](_0x4386d7['y']):0x1,_0x90872a=Math[_0x487692(0x175)](_0x4386d7['z'])>1e-8?Math['abs'](_0x4386d7['z']):0x1,_0x405bc5=this[_0x487692(0x1ae)]*Math[_0x487692(0x1a3)](_0x47a406,_0x90872a),_0x33513b=this[_0x487692(0x173)]*_0x3ad9e8,_0x149ea3=this[_0x487692(0x1a8)][_0x487692(0x1a4)](_0x1afccd)[_0x487692(0x183)](new Vector3(0x0,-_0x33513b,0x0)),_0x19ae9e=this[_0x487692(0x196)]['copy'](_0x1afccd)[_0x487692(0x183)](new Vector3(0x0,_0x33513b,0x0)),_0x13f4eb=this[_0x487692(0x198)][_0x487692(0x1a4)](_0x19ae9e)['sub'](_0x149ea3),_0x50c270=this['_tmpOA']['copy'](_0xca879c)['sub'](_0x149ea3),_0x14d678=_0x13f4eb[_0x487692(0x17b)](_0x13f4eb),_0x5deaf2=_0x13f4eb['dot'](_0x48fa26),_0x136f7e=_0x13f4eb[_0x487692(0x17b)](_0x50c270),_0x57beb3=_0x48fa26[_0x487692(0x17b)](_0x50c270),_0x5e16cd=_0x50c270[_0x487692(0x17b)](_0x50c270),_0x3194c6=_0x405bc5*_0x405bc5,_0x527759=_0x14d678-_0x5deaf2*_0x5deaf2,_0x255fc9=_0x14d678*_0x57beb3-_0x136f7e*_0x5deaf2,_0x1a6a47=_0x14d678*(_0x5e16cd-_0x3194c6)-_0x136f7e*_0x136f7e;let _0x47aa17=Infinity,_0x20326b=null,_0x30c8c4=null;const _0x6e8a62=1e-10;if(Math[_0x487692(0x175)](_0x527759)>_0x6e8a62){const _0x301619=_0x255fc9*_0x255fc9-_0x527759*_0x1a6a47;if(_0x301619>=0x0){const _0x223f78=(-_0x255fc9-Math[_0x487692(0x179)](_0x301619))/_0x527759,_0x20c329=_0x136f7e+_0x223f78*_0x5deaf2;if(_0x223f78>=0x0&&_0x223f78<=_0x2628a3&&_0x20c329>0x0&&_0x20c329<_0x14d678){_0x47aa17=_0x223f78,_0x20326b=this[_0x487692(0x195)][_0x487692(0x1a4)](_0x48fa26)[_0x487692(0x190)](_0x223f78)[_0x487692(0x183)](_0xca879c);const _0x39cf78=this[_0x487692(0x199)][_0x487692(0x1a4)](_0x13f4eb)[_0x487692(0x190)](_0x20c329/_0x14d678)['add'](_0x149ea3);_0x30c8c4=this[_0x487692(0x199)][_0x487692(0x1a4)](_0x20326b)['sub'](_0x39cf78);const _0x2d72d1=_0x30c8c4['lengthSq']();_0x2d72d1>1e-12?_0x30c8c4['multiplyScalar'](0x1/Math[_0x487692(0x179)](_0x2d72d1)):_0x30c8c4[_0x487692(0x181)](0x0,0x1,0x0);}}}const _0x5efa9c=this[_0x487692(0x17a)](_0xca879c,_0x48fa26,_0x2628a3,_0x149ea3,_0x405bc5);_0x5efa9c&&_0x5efa9c['distance']<_0x47aa17&&(_0x47aa17=_0x5efa9c[_0x487692(0x187)],_0x20326b=_0x5efa9c[_0x487692(0x17d)],_0x30c8c4=_0x5efa9c[_0x487692(0x197)]);const _0x1fbd0d=this[_0x487692(0x17a)](_0xca879c,_0x48fa26,_0x2628a3,_0x19ae9e,_0x405bc5);_0x1fbd0d&&_0x1fbd0d['distance']<_0x47aa17&&(_0x47aa17=_0x1fbd0d[_0x487692(0x187)],_0x20326b=_0x1fbd0d['point'],_0x30c8c4=_0x1fbd0d[_0x487692(0x197)]);if(!_0x20326b||!_0x30c8c4||!Number[_0x487692(0x19b)](_0x47aa17))return null;return {'point':_0x20326b[_0x487692(0x194)](),'normal':_0x30c8c4[_0x487692(0x194)](),'distance':_0x47aa17};}[_0x297f72(0x17a)](_0x4a6191,_0xbb14f9,_0x558c28,_0x1bf00f,_0x41277f){const _0x3ea487=_0x297f72,_0x7b27ef=_0x4a6191[_0x3ea487(0x194)]()[_0x3ea487(0x19d)](_0x1bf00f),_0x11b82c=_0x7b27ef['dot'](_0xbb14f9),_0x355a24=_0x7b27ef[_0x3ea487(0x17b)](_0x7b27ef)-_0x41277f*_0x41277f,_0x360a37=_0x11b82c*_0x11b82c-_0x355a24;if(_0x360a37<0x0)return null;const _0x4db62e=Math[_0x3ea487(0x179)](_0x360a37),_0x4a6058=-_0x11b82c-_0x4db62e;if(_0x4a6058<0x0||_0x4a6058>_0x558c28){const _0x97feeb=-_0x11b82c+_0x4db62e;if(_0x97feeb<0x0||_0x97feeb>_0x558c28)return null;return this['makeSphereHit'](_0x4a6191,_0xbb14f9,_0x97feeb,_0x1bf00f);}return this[_0x3ea487(0x19f)](_0x4a6191,_0xbb14f9,_0x4a6058,_0x1bf00f);}[_0x297f72(0x19f)](_0x3777d9,_0x4d76b7,_0xe011e8,_0x53f3ba){const _0x3dc0de=_0x297f72,_0x4da4c5=_0x3777d9['clone']()[_0x3dc0de(0x183)](_0x4d76b7[_0x3dc0de(0x194)]()[_0x3dc0de(0x190)](_0xe011e8)),_0x313d05=_0x4da4c5[_0x3dc0de(0x194)]()[_0x3dc0de(0x19d)](_0x53f3ba),_0x2627a3=_0x313d05[_0x3dc0de(0x19a)]();return _0x2627a3>1e-12?_0x313d05[_0x3dc0de(0x190)](0x1/Math[_0x3dc0de(0x179)](_0x2627a3)):_0x313d05[_0x3dc0de(0x181)](0x0,0x1,0x0),{'point':_0x4da4c5,'normal':_0x313d05,'distance':_0xe011e8};}[_0x297f72(0x17c)](){const _0x32165a=_0x297f72,_0x430c97=new Object3D();_0x430c97[_0x32165a(0x19e)]='CapsuleColliderDebug';const _0x6e2dd0=new MeshBasicMaterial({'color':this[_0x32165a(0x188)],'wireframe':!![],'transparent':!![],'opacity':this[_0x32165a(0x172)]}),_0x116355=Math[_0x32165a(0x1a3)](0.000001,this['_radius']),_0x2470b3=Math[_0x32165a(0x1a3)](0.000001,this['_halfHeight']*0x2),_0x8bb255=new Mesh(new CylinderGeometry(_0x116355,_0x116355,_0x2470b3,0xc,0x1,!![]),_0x6e2dd0),_0x1aca0e=new Mesh(new SphereGeometry(_0x116355,0xc,0x8),_0x6e2dd0),_0x4b237d=new Mesh(new SphereGeometry(_0x116355,0xc,0x8),_0x6e2dd0);return _0x1aca0e[_0x32165a(0x17f)][_0x32165a(0x181)](0x0,this['_halfHeight'],0x0),_0x4b237d['position'][_0x32165a(0x181)](0x0,-this[_0x32165a(0x173)],0x0),_0x430c97[_0x32165a(0x183)](_0x8bb255),_0x430c97[_0x32165a(0x183)](_0x1aca0e),_0x430c97['add'](_0x4b237d),this[_0x32165a(0x189)]=_0x430c97,this[_0x32165a(0x174)]=_0x8bb255,this[_0x32165a(0x192)]=_0x1aca0e,this[_0x32165a(0x1a2)]=_0x4b237d,this[_0x32165a(0x182)](0x0),_0x430c97;}[_0x297f72(0x170)](_0x54df0d){const _0x281a3b=_0x297f72;this[_0x281a3b(0x189)]=null,this[_0x281a3b(0x174)]=null,this[_0x281a3b(0x192)]=null,this[_0x281a3b(0x1a2)]=null;}[_0x297f72(0x182)](_0x5d1d61){const _0x1f4573=_0x297f72,_0x50b251=this[_0x1f4573(0x174)],_0x559371=this[_0x1f4573(0x192)],_0xf4cace=this[_0x1f4573(0x1a2)];if(!_0x50b251||!_0x559371||!_0xf4cace)return;const _0x28ce9a=this['getWorldScale'](),_0x334c15=Math[_0x1f4573(0x175)](_0x28ce9a['x'])>1e-8?_0x28ce9a['x']:0x1,_0x14ab7f=Math[_0x1f4573(0x175)](_0x28ce9a['y'])>1e-8?_0x28ce9a['y']:0x1,_0x49f438=Math[_0x1f4573(0x175)](_0x28ce9a['z'])>1e-8?_0x28ce9a['z']:0x1,_0x25142d=Math[_0x1f4573(0x1a3)](0.000001,this['_radius'])*Math[_0x1f4573(0x1a3)](Math[_0x1f4573(0x175)](_0x334c15),Math[_0x1f4573(0x175)](_0x49f438)),_0x4da431=Math[_0x1f4573(0x1a3)](0x0,this[_0x1f4573(0x173)])*Math[_0x1f4573(0x175)](_0x14ab7f);_0x50b251['scale']['set'](_0x25142d/_0x334c15,_0x4da431*0x2/_0x14ab7f,_0x25142d/_0x49f438),_0x559371[_0x1f4573(0x1a0)]['set'](_0x25142d/_0x334c15,_0x25142d/_0x14ab7f,_0x25142d/_0x49f438),_0xf4cace['scale'][_0x1f4573(0x181)](_0x25142d/_0x334c15,_0x25142d/_0x14ab7f,_0x25142d/_0x49f438),_0x559371['position'][_0x1f4573(0x181)](0x0,_0x4da431/_0x14ab7f,0x0),_0xf4cace['position']['set'](0x0,-_0x4da431/_0x14ab7f,0x0);}[_0x297f72(0x177)](){const _0x34ec46=_0x297f72,_0x1291c5=this[_0x34ec46(0x189)];if(!_0x1291c5)return;_0x1291c5[_0x34ec46(0x176)](_0x55c4f3=>{const _0x14700d=_0x34ec46,_0x21bc4d=_0x55c4f3,_0x52c966=_0x21bc4d['material'];if(!_0x52c966)return;_0x52c966['color']['setHex'](this['debugColor']),_0x52c966[_0x14700d(0x171)]=this[_0x14700d(0x172)],_0x52c966[_0x14700d(0x1a7)]=this[_0x14700d(0x172)]<0x1,_0x52c966[_0x14700d(0x193)]=!![];});}}
|
|
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 _0x49f63a=_0x41aa;(function(_0x4a15e3,_0x2e9b05){const _0xe4cafe=_0x41aa,_0x75bdba=_0x4a15e3();while(!![]){try{const _0x463a46=-parseInt(_0xe4cafe(0x233))/0x1*(-parseInt(_0xe4cafe(0x20e))/0x2)+-parseInt(_0xe4cafe(0x20d))/0x3*(parseInt(_0xe4cafe(0x224))/0x4)+-parseInt(_0xe4cafe(0x211))/0x5*(-parseInt(_0xe4cafe(0x1e3))/0x6)+parseInt(_0xe4cafe(0x1c8))/0x7+-parseInt(_0xe4cafe(0x1f2))/0x8+-parseInt(_0xe4cafe(0x1d4))/0x9*(parseInt(_0xe4cafe(0x22e))/0xa)+parseInt(_0xe4cafe(0x1ec))/0xb;if(_0x463a46===_0x2e9b05)break;else _0x75bdba['push'](_0x75bdba['shift']());}catch(_0x1a69ca){_0x75bdba['push'](_0x75bdba['shift']());}}}(_0x5469,0x9e42e));function _0x41aa(_0x32eef8,_0x172ed3){_0x32eef8=_0x32eef8-0x1c1;const _0x5469bc=_0x5469();let _0x41aa8b=_0x5469bc[_0x32eef8];return _0x41aa8b;}function _0x5469(){const _0x585e56=['593055TrkLfC','ArrowUp','setRotation','KeyA','physics','clamp','button','isClickEnabled','rotation','includes','_moveUp','blocking','outer','lineTraceMulti','Visibility','6sIwbEB','constructRootComponent','lengthSq','distance','onClick','_yaw','_targetPos','Ignore','canvas','14569500qyTbyO','onKeyDown','lyCameraDragging','lineTraceSingle','remove','_moveRight','10369256BqXFaT','onKeyUpDelegate','updateProjectionMatrix','unpossess','pointerLockElement','KeyW','ArrowDown','parentActor','radius','requestPointerLock','width','normalize','max','KeyS','enabled','getQuaternion','buttons','ArrowLeft','rootComponent','syncRotation','_moveLeft','find','_pitch','setFromEuler','ArrowRight','onBlur','ray','3gMkYEl','6cAWolc','onContextMenu','clientY','5858890rtfsGb','app','copy','length','near','sub','onWindowBlurDelegate','point','updateCameraFromPawn','possess','eyeHeight','halfHeight','onContextMenuDelegate','order','onRawClickDelegate','position','setPosition','onKeyUp','exitPointerLock','1228224MjWgxi','asin','getPosition','landToGround','code','onPointerLockChange','onPointerMoveDelegate','dataset','_moveForward','inputFilter','180vPtetM','setCollisionResponse','enableGravity','normal','setCameraDraggingState','108127PzEXuf','material','Pawn','direction','setFromCamera','getBoundingClientRect','multiplyScalar','dispose','onPointerLockChangeDelegate','camera','collider','onMouseDown','Space','_verticalVelocity','world','_isRightDragging','_clickMarker','viewport','applyQuaternion','_moveBackward','controller','visible','setFromAxisAngle','onMouseUp','movementY','onPointerUpDelegate','moveSpeed','movementX','dot','setQuaternion','KeyD','YXZ','4318314LFvWZC','_moveDown','onPointerDownDelegate','threeObject','quaternion','onMouseMove','height','add','ShiftLeft','clone','onKeyDownDelegate','parent'];_0x5469=function(){return _0x585e56;};return _0x5469();}class FirstPerson extends Pawn{constructor(_0x5e5c1f){const _0xe83995=_0x41aa;super(_0x5e5c1f),this[_0xe83995(0x1c2)]=0xa,this['lookSpeed']=0.002,this['enableGravity']=!![],this['gravity']=0x1e,this[_0xe83995(0x21b)]=0.7,this['_verticalVelocity']=0x0,this['_yaw']=0x0,this[_0xe83995(0x208)]=0x0,this[_0xe83995(0x1e9)]=null,this[_0xe83995(0x243)]=null,this[_0xe83995(0x22c)]=![],this[_0xe83995(0x246)]=![],this['_moveLeft']=![],this[_0xe83995(0x1f1)]=![],this[_0xe83995(0x1de)]=![],this['_moveDown']=![],this[_0xe83995(0x242)]=![],this[_0xe83995(0x20f)]=_0x13860c=>{const _0x182b89=_0xe83995;if(!Pawn[_0x182b89(0x22d)]())return;_0x13860c['preventDefault']();},this[_0xe83995(0x20b)]=()=>{const _0xb66153=_0xe83995;this[_0xb66153(0x22c)]=![],this['_moveBackward']=![],this[_0xb66153(0x206)]=![],this[_0xb66153(0x1f1)]=![],this['_moveUp']=![],this[_0xb66153(0x1c9)]=![],this[_0xb66153(0x242)]=![],this[_0xb66153(0x232)](![]);},this['onMouseDown']=_0x1cd4bc=>{const _0x135441=_0xe83995;if(!this['enabled']||!Pawn[_0x135441(0x22d)]())return;if(_0x1cd4bc['button']!==0x2)return;this[_0x135441(0x242)]=!![],this[_0x135441(0x232)](!![]);const _0x1cf656=this[_0x135441(0x212)]['viewport'][_0x135441(0x1eb)];_0x1cf656&&document[_0x135441(0x1f6)]!==_0x1cf656&&_0x1cf656[_0x135441(0x1fb)]();},this[_0xe83995(0x24a)]=_0x1083ad=>{const _0x401b06=_0xe83995;if(_0x1083ad[_0x401b06(0x1da)]!==0x2)return;this['_isRightDragging']=![],this[_0x401b06(0x232)](![]),document[_0x401b06(0x1f6)]===this[_0x401b06(0x212)][_0x401b06(0x244)]['canvas']&&document['exitPointerLock']();},this[_0xe83995(0x1e7)]=_0x5a40e5=>{const _0x3eac73=_0xe83995;if(!this['enabled']||!Pawn[_0x3eac73(0x22d)]())return;if(_0x5a40e5['button']!==0x0)return;const _0x521a87=this[_0x3eac73(0x212)][_0x3eac73(0x244)][_0x3eac73(0x1eb)];if(!_0x521a87||!this['camera'])return;const _0x31b7b9=_0x521a87[_0x3eac73(0x238)](),_0x3bcfef=new Vector2$1((_0x5a40e5['clientX']-_0x31b7b9['left'])/_0x31b7b9[_0x3eac73(0x1fc)]*0x2-0x1,-((_0x5a40e5[_0x3eac73(0x210)]-_0x31b7b9['top'])/_0x31b7b9[_0x3eac73(0x1ce)])*0x2+0x1),_0x3fb08c=new Raycaster();_0x3fb08c[_0x3eac73(0x237)](_0x3bcfef,this[_0x3eac73(0x23c)]);const _0x331df2=_0x3fb08c[_0x3eac73(0x20c)]['origin'][_0x3eac73(0x1d1)](),_0x1511f2=_0x331df2[_0x3eac73(0x1d1)]()[_0x3eac73(0x1cf)](_0x3fb08c[_0x3eac73(0x20c)][_0x3eac73(0x236)][_0x3eac73(0x1d1)]()['multiplyScalar'](0x3e8)),_0x41309d=this[_0x3eac73(0x204)]instanceof CapsuleColliderComponent?this[_0x3eac73(0x204)]:undefined,_0x1eae32=this[_0x3eac73(0x212)][_0x3eac73(0x241)]['physics'][_0x3eac73(0x1e1)](_0x331df2,_0x1511f2,CollisionChannel['Pawn'],_0x41309d);let _0x2a7118=null;for(const _0x90031c of _0x1eae32){if(!_0x90031c['blocking'])continue;if(this['camera']instanceof PerspectiveCamera){if(_0x90031c[_0x3eac73(0x1e6)]<this[_0x3eac73(0x23c)][_0x3eac73(0x215)]*1.5)continue;}const _0x1887b2=_0x90031c[_0x3eac73(0x23d)],_0x9d4fa8=_0x1887b2&&(_0x1887b2[_0x3eac73(0x1db)]||_0x1887b2[_0x3eac73(0x1f9)]&&_0x1887b2[_0x3eac73(0x1f9)][_0x3eac73(0x1db)]),_0x428464=_0x90031c[_0x3eac73(0x231)]['y']>0.5;if(!_0x428464&&!_0x9d4fa8){let _0x43a118=0.5;this[_0x3eac73(0x23c)]instanceof PerspectiveCamera&&(_0x43a118=this[_0x3eac73(0x23c)][_0x3eac73(0x215)]*0x2);if(_0x90031c[_0x3eac73(0x1e6)]>_0x43a118)break;continue;}_0x2a7118=_0x90031c;break;}if(_0x2a7118){const _0x595bd3=_0x2a7118[_0x3eac73(0x23d)];if(_0x595bd3){if(_0x595bd3[_0x3eac73(0x1db)])return;if(_0x595bd3[_0x3eac73(0x1f9)]&&_0x595bd3['parentActor'][_0x3eac73(0x1db)])return;}_0x2a7118['normal']['y']>0.5&&(this[_0x3eac73(0x1e9)]=_0x2a7118[_0x3eac73(0x218)]['clone'](),this[_0x3eac73(0x243)]&&(this[_0x3eac73(0x243)][_0x3eac73(0x220)][_0x3eac73(0x213)](this[_0x3eac73(0x1e9)]),this[_0x3eac73(0x243)][_0x3eac73(0x248)]=!![]));}},this['onPointerLockChange']=()=>{},this[_0xe83995(0x1cd)]=_0x38378e=>{const _0x14f129=_0xe83995,_0x3273d9=(_0x38378e[_0x14f129(0x202)]&0x2)===0x2;if(_0x3273d9&&!this[_0x14f129(0x242)])this['_isRightDragging']=!![],this['setCameraDraggingState'](!![]);else !_0x3273d9&&this['_isRightDragging']&&(this[_0x14f129(0x242)]=![],this[_0x14f129(0x232)](![]));if(document[_0x14f129(0x1f6)]!==this[_0x14f129(0x212)][_0x14f129(0x244)][_0x14f129(0x1eb)]&&!_0x3273d9)return;if(!this[_0x14f129(0x200)]||!Pawn['inputFilter']())return;const _0x20e632=_0x38378e[_0x14f129(0x1c3)]||0x0,_0x46d104=_0x38378e[_0x14f129(0x24b)]||0x0;this[_0x14f129(0x205)](),this['_yaw']-=_0x20e632*this['lookSpeed'],this[_0x14f129(0x208)]-=_0x46d104*this['lookSpeed'];const _0x461258=Math['PI']/0x2;this[_0x14f129(0x208)]=MathUtils[_0x14f129(0x1d9)](this[_0x14f129(0x208)],-_0x461258+0.001,_0x461258-0.001);const _0x5a222f=new Quaternion()[_0x14f129(0x249)](new Vector3(0x0,0x1,0x0),this['_yaw']);super[_0x14f129(0x1c5)](_0x5a222f),this[_0x14f129(0x219)]();},this[_0xe83995(0x1ed)]=_0x5356cc=>{const _0x39dda6=_0xe83995;if(!Pawn[_0x39dda6(0x22d)]())return;if([_0x39dda6(0x1d5),'KeyW','ArrowLeft',_0x39dda6(0x1d7),_0x39dda6(0x1f8),_0x39dda6(0x1ff),_0x39dda6(0x20a),_0x39dda6(0x1c6)][_0x39dda6(0x1dd)](_0x5356cc['code'])){this[_0x39dda6(0x1e9)]=null;if(this['_clickMarker'])this['_clickMarker']['visible']=![];}switch(_0x5356cc['code']){case _0x39dda6(0x1d5):case _0x39dda6(0x1f7):this[_0x39dda6(0x22c)]=!![];break;case _0x39dda6(0x203):case 'KeyA':this['_moveLeft']=!![];break;case 'ArrowDown':case _0x39dda6(0x1ff):this['_moveBackward']=!![];break;case _0x39dda6(0x20a):case _0x39dda6(0x1c6):this[_0x39dda6(0x1f1)]=!![];break;case _0x39dda6(0x23f):!this[_0x39dda6(0x230)]&&(this['_moveUp']=!![]);break;case _0x39dda6(0x1d0):case 'ShiftRight':this['_moveDown']=!![];break;}},this[_0xe83995(0x222)]=_0x17e382=>{const _0x3117ae=_0xe83995;switch(_0x17e382[_0x3117ae(0x228)]){case _0x3117ae(0x1d5):case 'KeyW':this['_moveForward']=![];break;case _0x3117ae(0x203):case _0x3117ae(0x1d7):this[_0x3117ae(0x206)]=![];break;case _0x3117ae(0x1f8):case _0x3117ae(0x1ff):this[_0x3117ae(0x246)]=![];break;case _0x3117ae(0x20a):case _0x3117ae(0x1c6):this[_0x3117ae(0x1f1)]=![];break;case 'Space':this['_moveUp']=![];break;case _0x3117ae(0x1d0):case 'ShiftRight':this[_0x3117ae(0x1c9)]=![];break;}};}[_0x49f63a(0x1e4)](){const _0x3f69f5=_0x49f63a,_0x209e7d=new CapsuleColliderComponent(this['app'],0.35,0.55);return _0x209e7d['objectType']=CollisionChannel[_0x3f69f5(0x235)],_0x209e7d[_0x3f69f5(0x22f)](CollisionChannel[_0x3f69f5(0x1e2)],CollisionResponse[_0x3f69f5(0x1ea)]),_0x209e7d;}[_0x49f63a(0x227)](){const _0x2fa298=_0x49f63a,_0x52d284=this[_0x2fa298(0x226)](),_0x441cb9=_0x52d284[_0x2fa298(0x1d1)]()[_0x2fa298(0x1cf)](new Vector3(0x0,-1e3,0x0)),_0x3a1516=this[_0x2fa298(0x204)],_0x3998a4=this[_0x2fa298(0x212)]['world'][_0x2fa298(0x1d8)][_0x2fa298(0x1ef)](_0x52d284,_0x441cb9,CollisionChannel[_0x2fa298(0x235)],_0x3a1516);if(_0x3998a4&&_0x3998a4['blocking']){const _0x4fd3a4=_0x3a1516['halfHeight']+_0x3a1516[_0x2fa298(0x1fa)],_0x10e376=_0x3998a4['point']['y']+_0x4fd3a4;this[_0x2fa298(0x221)](_0x52d284['x'],_0x10e376,_0x52d284['z']),this[_0x2fa298(0x240)]=0x0;}}[_0x49f63a(0x205)](){const _0x133b87=_0x49f63a,_0x4cc412=this[_0x133b87(0x201)](),_0x3da3ca=new Vector3(0x0,0x0,-1)['applyQuaternion'](_0x4cc412);this['_yaw']=Math['atan2'](-_0x3da3ca['x'],-_0x3da3ca['z']);}[_0x49f63a(0x1d6)](..._0x1a8628){const _0x92deca=_0x49f63a,_0x528ffd=new Quaternion();_0x1a8628['length']===0x1?_0x528ffd[_0x92deca(0x209)](_0x1a8628[0x0]):_0x528ffd[_0x92deca(0x209)](new Euler(_0x1a8628[0x0],_0x1a8628[0x1],_0x1a8628[0x2],_0x92deca(0x1c7))),this[_0x92deca(0x1c5)](_0x528ffd);}[_0x49f63a(0x1c5)](..._0x2f37f4){const _0x4b48ee=_0x49f63a;let _0x5904d2;_0x2f37f4[_0x4b48ee(0x214)]===0x1?_0x5904d2=_0x2f37f4[0x0]:_0x5904d2=new Quaternion(_0x2f37f4[0x0],_0x2f37f4[0x1],_0x2f37f4[0x2],_0x2f37f4[0x3]);const _0x4cd5c9=new Vector3(0x0,0x0,-1)['applyQuaternion'](_0x5904d2);let _0x5ab5f8=Math[_0x4b48ee(0x225)](MathUtils[_0x4b48ee(0x1d9)](_0x4cd5c9['y'],-1,0x1));const _0x2e716b=Math['PI']/0x2;_0x5ab5f8=MathUtils[_0x4b48ee(0x1d9)](_0x5ab5f8,-_0x2e716b+0.001,_0x2e716b-0.001);const _0x5bf73a=Math['atan2'](-_0x4cd5c9['x'],-_0x4cd5c9['z']);this[_0x4b48ee(0x208)]=_0x5ab5f8,this[_0x4b48ee(0x1e8)]=_0x5bf73a;const _0xef3c29=new Quaternion()[_0x4b48ee(0x249)](new Vector3(0x0,0x1,0x0),this[_0x4b48ee(0x1e8)]);super[_0x4b48ee(0x1c5)](_0xef3c29),this[_0x4b48ee(0x200)]&&this[_0x4b48ee(0x219)]();}[_0x49f63a(0x21a)](){const _0x478c35=_0x49f63a;super[_0x478c35(0x21a)]();const _0x3bd1e0=this[_0x478c35(0x212)][_0x478c35(0x247)];_0x3bd1e0&&(_0x3bd1e0[_0x478c35(0x21f)][_0x478c35(0x1cf)](this[_0x478c35(0x1e7)]),_0x3bd1e0[_0x478c35(0x21d)]['add'](this[_0x478c35(0x20f)]),_0x3bd1e0[_0x478c35(0x23b)][_0x478c35(0x1cf)](this[_0x478c35(0x229)]),_0x3bd1e0['onKeyDownDelegate'][_0x478c35(0x1cf)](this[_0x478c35(0x1ed)]),_0x3bd1e0[_0x478c35(0x1f3)][_0x478c35(0x1cf)](this[_0x478c35(0x222)]),_0x3bd1e0[_0x478c35(0x22a)][_0x478c35(0x1cf)](this[_0x478c35(0x1cd)]),_0x3bd1e0[_0x478c35(0x1ca)][_0x478c35(0x1cf)](this[_0x478c35(0x23e)]),_0x3bd1e0[_0x478c35(0x1c1)][_0x478c35(0x1cf)](this[_0x478c35(0x24a)]),_0x3bd1e0[_0x478c35(0x217)][_0x478c35(0x1cf)](this[_0x478c35(0x20b)])),this[_0x478c35(0x204)]&&this[_0x478c35(0x204)][_0x478c35(0x1cb)]&&(this[_0x478c35(0x204)]['threeObject'][_0x478c35(0x1dc)][_0x478c35(0x21e)]=_0x478c35(0x1c7)),this[_0x478c35(0x205)](),this[_0x478c35(0x219)]();}[_0x49f63a(0x1f5)](){const _0xe4519a=_0x49f63a;var _0x337842;super['unpossess']();const _0x3d7e4a=this[_0xe4519a(0x212)][_0xe4519a(0x247)];_0x3d7e4a&&(_0x3d7e4a[_0xe4519a(0x21f)][_0xe4519a(0x1f0)](this[_0xe4519a(0x1e7)]),_0x3d7e4a[_0xe4519a(0x21d)]['remove'](this[_0xe4519a(0x20f)]),_0x3d7e4a[_0xe4519a(0x23b)][_0xe4519a(0x1f0)](this[_0xe4519a(0x229)]),_0x3d7e4a[_0xe4519a(0x1d2)]['remove'](this['onKeyDown']),_0x3d7e4a[_0xe4519a(0x1f3)][_0xe4519a(0x1f0)](this[_0xe4519a(0x222)]),_0x3d7e4a[_0xe4519a(0x22a)]['remove'](this[_0xe4519a(0x1cd)]),_0x3d7e4a[_0xe4519a(0x1ca)][_0xe4519a(0x1f0)](this[_0xe4519a(0x23e)]),_0x3d7e4a[_0xe4519a(0x1c1)][_0xe4519a(0x1f0)](this[_0xe4519a(0x24a)]),_0x3d7e4a[_0xe4519a(0x217)]['remove'](this[_0xe4519a(0x20b)])),this[_0xe4519a(0x242)]=![],this[_0xe4519a(0x232)](![]),this[_0xe4519a(0x243)]&&((_0x337842=this[_0xe4519a(0x243)][_0xe4519a(0x1d3)])===null||_0x337842===void 0?void 0:_0x337842['remove'](this[_0xe4519a(0x243)]),this[_0xe4519a(0x243)]['geometry'][_0xe4519a(0x23a)](),this['_clickMarker'][_0xe4519a(0x234)][_0xe4519a(0x23a)](),this[_0xe4519a(0x243)]=null),document[_0xe4519a(0x1f6)]===this[_0xe4519a(0x212)][_0xe4519a(0x244)][_0xe4519a(0x1eb)]&&document[_0xe4519a(0x223)]();}['getTargetCameraState'](){const _0x5af2e8=_0x49f63a,_0x5c364b=this[_0x5af2e8(0x226)]();_0x5c364b['y']+=this[_0x5af2e8(0x21b)];const _0x2002d6=this[_0x5af2e8(0x23c)]||this[_0x5af2e8(0x212)]['camera'],_0x1c3770=this['getQuaternion'](),_0x1e5141=new Quaternion()[_0x5af2e8(0x249)](new Vector3(0x1,0x0,0x0),this[_0x5af2e8(0x208)]),_0x3454a4=_0x1c3770[_0x5af2e8(0x1d1)]()['multiply'](_0x1e5141);if(_0x2002d6){const _0x16a09d=new Vector3(0x0,0x0,_0x2002d6[_0x5af2e8(0x215)])[_0x5af2e8(0x245)](_0x3454a4);_0x5c364b[_0x5af2e8(0x1cf)](_0x16a09d);}return {'position':_0x5c364b,'quaternion':_0x3454a4};}[_0x49f63a(0x232)](_0x1b0884){const _0x2dcf4d=_0x49f63a,_0xff1d59=this[_0x2dcf4d(0x212)][_0x2dcf4d(0x244)][_0x2dcf4d(0x1e0)];if(!_0xff1d59)return;_0x1b0884?_0xff1d59[_0x2dcf4d(0x22b)][_0x2dcf4d(0x1ee)]='1':delete _0xff1d59['dataset']['lyCameraDragging'];}['tick'](_0x37ce10){const _0x3a6593=_0x49f63a;if(!this['enabled'])return;const _0x38a161=this[_0x3a6593(0x1c2)]*_0x37ce10,_0x507ea9=new Vector3();if(this[_0x3a6593(0x22c)])_0x507ea9['z']-=0x1;if(this['_moveBackward'])_0x507ea9['z']+=0x1;if(this[_0x3a6593(0x206)])_0x507ea9['x']-=0x1;if(this['_moveRight'])_0x507ea9['x']+=0x1;if(this['_targetPos']&&_0x507ea9['lengthSq']()===0x0){const _0x3066e5=this['getPosition'](),_0x364b1b=this[_0x3a6593(0x1e9)]['clone']();this['enableGravity']&&(_0x364b1b['y']=_0x3066e5['y']);const _0x10c51c=_0x364b1b[_0x3a6593(0x216)](_0x3066e5),_0x22dee9=_0x10c51c[_0x3a6593(0x214)]();if(_0x22dee9>0.1){_0x10c51c[_0x3a6593(0x1fd)]();if(this[_0x3a6593(0x230)]){const _0x55aab4=this[_0x3a6593(0x201)]()['invert'](),_0x20c4a3=_0x10c51c[_0x3a6593(0x1d1)]()['applyQuaternion'](_0x55aab4);_0x507ea9[_0x3a6593(0x213)](_0x20c4a3);}else _0x507ea9['copy'](_0x10c51c);}else {this[_0x3a6593(0x1e9)]=null;if(this[_0x3a6593(0x243)])this[_0x3a6593(0x243)][_0x3a6593(0x248)]=![];}}if(!this['enableGravity']){if(this['_moveUp'])_0x507ea9['y']+=0x1;if(this[_0x3a6593(0x1c9)])_0x507ea9['y']-=0x1;}let _0xa97122=new Vector3();if(_0x507ea9['lengthSq']()>0x0){_0x507ea9[_0x3a6593(0x1fd)]()[_0x3a6593(0x239)](_0x38a161);const _0xd3c58e=this['getQuaternion']();_0xa97122=_0x507ea9[_0x3a6593(0x245)](_0xd3c58e),this[_0x3a6593(0x230)]&&(_0xa97122['y']=0x0,_0xa97122[_0x3a6593(0x1e5)]()>0x0&&_0xa97122[_0x3a6593(0x1fd)]()[_0x3a6593(0x239)](_0x38a161));}const _0x5dc72b=this[_0x3a6593(0x212)][_0x3a6593(0x241)],_0x3d6e06=this[_0x3a6593(0x226)](),_0x374502=this[_0x3a6593(0x204)]instanceof CapsuleColliderComponent?this[_0x3a6593(0x204)]:null,_0x1f3680=_0x374502?_0x374502[_0x3a6593(0x1fa)]:0.35,_0x402801=_0x374502?_0x374502[_0x3a6593(0x21c)]:0.9;if(this[_0x3a6593(0x230)]){this['_verticalVelocity']-=this['gravity']*_0x37ce10;const _0xf3540b=_0x3d6e06['clone'](),_0x28f90d=_0x402801+_0x1f3680+0.1,_0x23d4f4=_0x5dc72b['physics']['lineTraceMulti'](_0xf3540b,_0xf3540b['clone']()[_0x3a6593(0x1cf)](new Vector3(0x0,-_0x28f90d,0x0)),CollisionChannel[_0x3a6593(0x235)],_0x374502||undefined),_0x2e90c8=_0x23d4f4[_0x3a6593(0x207)](_0x2d1760=>_0x2d1760[_0x3a6593(0x1df)]);_0x2e90c8&&(this[_0x3a6593(0x240)]<=0x0&&(this[_0x3a6593(0x240)]=Math[_0x3a6593(0x1fe)](0x0,this[_0x3a6593(0x240)]))),_0xa97122['y']+=this[_0x3a6593(0x240)]*_0x37ce10;}let _0x44e456=_0xa97122;if(_0x5dc72b&&_0x5dc72b['physics']&&_0xa97122[_0x3a6593(0x1e5)]()>0.000001){const _0x525168=_0x3d6e06['clone'](),_0x15894a=_0xa97122[_0x3a6593(0x214)]()+_0x1f3680+0.1,_0xf53010=_0x525168[_0x3a6593(0x1d1)]()[_0x3a6593(0x1cf)](_0xa97122[_0x3a6593(0x1d1)]()[_0x3a6593(0x1fd)]()['multiplyScalar'](_0x15894a)),_0x37b22c=_0x5dc72b[_0x3a6593(0x1d8)][_0x3a6593(0x1e1)](_0x525168,_0xf53010,CollisionChannel[_0x3a6593(0x235)],_0x374502||undefined),_0xe734f=_0x37b22c[_0x3a6593(0x207)](_0x3341fa=>_0x3341fa['blocking']);if(_0xe734f&&_0xe734f[_0x3a6593(0x1df)]){const _0x2eac88=_0xe734f[_0x3a6593(0x1e6)],_0x6a8f22=Math[_0x3a6593(0x1fe)](0x0,_0x2eac88-_0x1f3680-0.001);if(_0x6a8f22<_0xa97122[_0x3a6593(0x214)]()){const _0x29e26f=_0xa97122[_0x3a6593(0x1d1)]()[_0x3a6593(0x1fd)](),_0x28b3ee=_0x29e26f[_0x3a6593(0x1d1)]()[_0x3a6593(0x239)](_0x6a8f22),_0xbd66e5=_0xa97122[_0x3a6593(0x1d1)]()['sub'](_0x28b3ee),_0x13042e=_0xe734f[_0x3a6593(0x231)],_0x26751c=_0xbd66e5[_0x3a6593(0x1c4)](_0x13042e);let _0x262ee2=new Vector3();_0x26751c<0x0?_0x262ee2=_0xbd66e5[_0x3a6593(0x1d1)]()['sub'](_0x13042e['clone']()['multiplyScalar'](_0x26751c)):_0x262ee2=_0xbd66e5;const _0x182e36=_0x262ee2[_0x3a6593(0x214)]();if(_0x182e36>0.001){const _0x494be4=_0x525168['clone']()[_0x3a6593(0x1cf)](_0x28b3ee),_0x3fe01a=_0x182e36+_0x1f3680+0.1,_0x5b6eef=_0x494be4[_0x3a6593(0x1d1)]()[_0x3a6593(0x1cf)](_0x262ee2[_0x3a6593(0x1d1)]()[_0x3a6593(0x1fd)]()['multiplyScalar'](_0x3fe01a)),_0xfb7e62=_0x5dc72b['physics'][_0x3a6593(0x1e1)](_0x494be4,_0x5b6eef,CollisionChannel[_0x3a6593(0x235)],_0x374502||undefined),_0x4e28af=_0xfb7e62[_0x3a6593(0x207)](_0x647eeb=>_0x647eeb[_0x3a6593(0x1df)]);if(_0x4e28af&&_0x4e28af['blocking']){const _0x5b87e2=_0x4e28af[_0x3a6593(0x1e6)],_0x10912f=Math['max'](0x0,_0x5b87e2-_0x1f3680-0.001);_0x10912f<_0x182e36&&_0x262ee2[_0x3a6593(0x1fd)]()[_0x3a6593(0x239)](_0x10912f);}}_0x44e456=_0x28b3ee[_0x3a6593(0x1cf)](_0x262ee2);}}}_0x44e456['lengthSq']()>0x0&&(_0x3d6e06['add'](_0x44e456),this['setPosition'](_0x3d6e06)),this[_0x3a6593(0x219)]();}[_0x49f63a(0x219)](){const _0x5c62b6=_0x49f63a;if(!this['enabled']||!this['camera'])return;const _0x22ef87=this[_0x5c62b6(0x226)]();_0x22ef87['y']+=this[_0x5c62b6(0x21b)];const _0x5030fc=this['getQuaternion'](),_0x1e6530=new Quaternion()[_0x5c62b6(0x249)](new Vector3(0x1,0x0,0x0),this[_0x5c62b6(0x208)]),_0x283e7d=_0x5030fc[_0x5c62b6(0x1d1)]()['multiply'](_0x1e6530),_0x37845a=new Vector3(0x0,0x0,this[_0x5c62b6(0x23c)][_0x5c62b6(0x215)])[_0x5c62b6(0x245)](_0x283e7d);_0x22ef87[_0x5c62b6(0x1cf)](_0x37845a),this[_0x5c62b6(0x23c)]['position'][_0x5c62b6(0x213)](_0x22ef87),this['camera'][_0x5c62b6(0x1cc)][_0x5c62b6(0x213)](_0x283e7d),this[_0x5c62b6(0x23c)][_0x5c62b6(0x1f4)]();}}
|
|
149
149
|
|
|
150
|
-
|
|
150
|
+
const _0x2b62ca=_0x52e2;(function(_0x3c58b0,_0x24dc38){const _0x48102c=_0x52e2,_0x176d49=_0x3c58b0();while(!![]){try{const _0x43fb3f=-parseInt(_0x48102c(0x7a))/0x1+parseInt(_0x48102c(0x7f))/0x2*(parseInt(_0x48102c(0x7e))/0x3)+parseInt(_0x48102c(0x96))/0x4+-parseInt(_0x48102c(0x80))/0x5*(parseInt(_0x48102c(0x92))/0x6)+parseInt(_0x48102c(0x86))/0x7+-parseInt(_0x48102c(0x7d))/0x8*(parseInt(_0x48102c(0x8c))/0x9)+parseInt(_0x48102c(0x81))/0xa;if(_0x43fb3f===_0x24dc38)break;else _0x176d49['push'](_0x176d49['shift']());}catch(_0x29f67f){_0x176d49['push'](_0x176d49['shift']());}}}(_0x15be,0xa826f));function _0x52e2(_0x52788a,_0x3f13ac){_0x52788a=_0x52788a-0x7a;const _0x15bed6=_0x15be();let _0x52e213=_0x15bed6[_0x52788a];return _0x52e213;}function _0x15be(){const _0x3ebbf5=['getQuaternion','clone','exitPointerLock','2107542QTTULt','updateCameraFromPawn','rootComponent','threeObject','4153444zclRfD','unpossess','1189187clDUsa','tick','copy','28488cXGHpF','156525ydzJwF','12ottcRJ','15eaGeHJ','11138790HRhbSX','app','constructRootComponent','viewport','eyeHeight','6156465KLXCqx','camera','enabled','canvas','YXZ','possess','1044YkQjYr','getPosition','position'];_0x15be=function(){return _0x3ebbf5;};return _0x15be();}class Spectator extends Pawn{constructor(_0x4bd060){const _0x384dec=_0x52e2;super(_0x4bd060),this['moveSpeed']=0xa,this['lookSpeed']=0.002,this[_0x384dec(0x85)]=0.7;}[_0x2b62ca(0x83)](){const _0x19ac3b=_0x2b62ca;return new SceneComponent(this[_0x19ac3b(0x82)]);}[_0x2b62ca(0x8b)](){const _0x4896ce=_0x2b62ca;super[_0x4896ce(0x8b)](),this['rootComponent']&&this[_0x4896ce(0x94)][_0x4896ce(0x95)]&&(this[_0x4896ce(0x94)][_0x4896ce(0x95)]['rotation']['order']=_0x4896ce(0x8a)),this[_0x4896ce(0x93)]();}[_0x2b62ca(0x97)](){const _0x25f529=_0x2b62ca;super[_0x25f529(0x97)](),document['pointerLockElement']===this[_0x25f529(0x82)][_0x25f529(0x84)][_0x25f529(0x89)]&&document[_0x25f529(0x91)]();}['getTargetCameraState'](){const _0x35de54=_0x2b62ca,_0x592a8a=this['getPosition']();return _0x592a8a['y']+=this[_0x35de54(0x85)],{'position':_0x592a8a,'quaternion':this[_0x35de54(0x8f)]()[_0x35de54(0x90)]()};}[_0x2b62ca(0x7b)](_0x328c24){const _0x1f5d7d=_0x2b62ca;if(!this[_0x1f5d7d(0x88)])return;this[_0x1f5d7d(0x93)]();}[_0x2b62ca(0x93)](){const _0x28c23f=_0x2b62ca;if(!this['enabled']||!this[_0x28c23f(0x87)])return;const _0x1dcd5f=this[_0x28c23f(0x8d)]();_0x1dcd5f['y']+=this[_0x28c23f(0x85)],this[_0x28c23f(0x87)][_0x28c23f(0x8e)][_0x28c23f(0x7c)](_0x1dcd5f),this[_0x28c23f(0x87)]['rotation'][_0x28c23f(0x7c)](this['getRotation']());}}
|
|
151
151
|
|
|
152
|
-
const
|
|
152
|
+
function _0x6f26(_0x5caee3,_0x20e213){_0x5caee3=_0x5caee3-0x194;const _0x274774=_0x2747();let _0x6f26aa=_0x274774[_0x5caee3];return _0x6f26aa;}const _0x1a0508=_0x6f26;(function(_0x2586d6,_0x1de838){const _0x2e0eab=_0x6f26,_0x37d419=_0x2586d6();while(!![]){try{const _0x48b012=parseInt(_0x2e0eab(0x1a6))/0x1*(parseInt(_0x2e0eab(0x1ac))/0x2)+parseInt(_0x2e0eab(0x19a))/0x3+parseInt(_0x2e0eab(0x1ba))/0x4*(parseInt(_0x2e0eab(0x1b1))/0x5)+-parseInt(_0x2e0eab(0x1d8))/0x6*(-parseInt(_0x2e0eab(0x1c8))/0x7)+parseInt(_0x2e0eab(0x19f))/0x8*(-parseInt(_0x2e0eab(0x1e6))/0x9)+-parseInt(_0x2e0eab(0x1d4))/0xa+-parseInt(_0x2e0eab(0x1b6))/0xb;if(_0x48b012===_0x1de838)break;else _0x37d419['push'](_0x37d419['shift']());}catch(_0xd4192f){_0x37d419['push'](_0x37d419['shift']());}}}(_0x2747,0x22655));function _0x2747(){const _0x6d104c=['getTargetScene','add','setTarget','viewport','userData','7zPNpTZ','dispose','traverse','dragging-changed','attach','getTargetCameraState','updateMatrixWorld','quaternion','targets','setSize','showZ','change','2506480dYCPFV','remove','targetMatrixMap','onChangeEvent','1243608BrgWnp','value','destroy','viewPort','_control','decompose','isTickEnabled','Control\x20not\x20initialized','setRotationSnap','name','onObjectChangeEvent','controller','rotationSnap','gizmoScene','2465919PNuuzh','detach','camera','onChange','matrixWorld','addEventListener','getHelper','showX','set','getTranslationSnap','onDraggingChangedEvent','getMatrixInWorld','160206rqWHOL','getScaleSnap','clone','clear','helperScene','8LKujpR','invert','setScaleSnap','onDraggingFunction','setAxis','removeEventListener','scale','1494xijGih','setTranslationSnap','multiply','control','objectChange','unpossess','348SpHDfs','enable','showY','helperObject','position','5HkomDE','onObjectChanged','onTransforming','translationSnap','primaryTarget','717057fqTxMM','setMode','onDraggingChanged','get','840340qRIOgn','forEach','refresh','canvas','multiplyMatrices','onUpdateFunction','getRotationnSnap','setSpace','includes'];_0x2747=function(){return _0x6d104c;};return _0x2747();}class TransformGizmo extends Pawn{get[_0x1a0508(0x1a9)](){const _0x34d833=_0x1a0508;if(!this[_0x34d833(0x1dc)])throw new Error(_0x34d833(0x1df));return this[_0x34d833(0x1dc)];}constructor(_0x27b367,_0x509f8d){const _0x3aa1d5=_0x1a0508;var _0x2c9673;super(_0x27b367),this['_control']=null,this[_0x3aa1d5(0x1af)]=new Object3D(),this[_0x3aa1d5(0x1d0)]=[],this[_0x3aa1d5(0x1b5)]=null,this[_0x3aa1d5(0x1d6)]=new Map(),this[_0x3aa1d5(0x1e5)]=null,this[_0x3aa1d5(0x198)]=_0x26ab5c=>{const _0xd86104=_0x3aa1d5;this[_0xd86104(0x1b8)](_0x26ab5c);},this[_0x3aa1d5(0x1e2)]=()=>{this['onObjectChanged']();},this['onChangeEvent']=()=>{this['onChange']();},this['onUpdateFunction']=null,this[_0x3aa1d5(0x1a2)]=null;let _0x437043=_0x27b367[_0x3aa1d5(0x1c6)][_0x3aa1d5(0x1bd)];if(!_0x437043)throw new Error('TransformGizmo:Canvas\x20not\x20found');this[_0x3aa1d5(0x1dc)]=new TransformControls(_0x27b367['camera'],_0x437043),this['control'][_0x3aa1d5(0x194)]()[_0x3aa1d5(0x1ca)](_0x5b2ebc=>{const _0x39b68c=_0x3aa1d5;_0x5b2ebc[_0x39b68c(0x1c7)]['rayIgnored']=!![];}),this[_0x3aa1d5(0x1af)][_0x3aa1d5(0x1e1)]='TransformHelperObject',this['gizmoScene']=(_0x2c9673=_0x509f8d===null||_0x509f8d===void 0?void 0:_0x509f8d[_0x3aa1d5(0x19e)])!==null&&_0x2c9673!==void 0?_0x2c9673:null;}[_0x1a0508(0x1c3)](){const _0x55dc99=_0x1a0508;var _0x576962;return (_0x576962=this[_0x55dc99(0x1e5)])!==null&&_0x576962!==void 0?_0x576962:this[_0x55dc99(0x1e3)]['world']['scene'];}['possess'](){const _0x56bc82=_0x1a0508,_0x2f8dd3=this[_0x56bc82(0x1c3)]();_0x2f8dd3[_0x56bc82(0x1c4)](this[_0x56bc82(0x1af)]),_0x2f8dd3[_0x56bc82(0x1c4)](this['control'][_0x56bc82(0x194)]()),this[_0x56bc82(0x1a9)][_0x56bc82(0x1cc)](this[_0x56bc82(0x1af)]),this[_0x56bc82(0x1a9)][_0x56bc82(0x1eb)](_0x56bc82(0x1d3),this[_0x56bc82(0x1d7)]),this['control'][_0x56bc82(0x1eb)]('dragging-changed',this[_0x56bc82(0x198)]),this[_0x56bc82(0x1a9)][_0x56bc82(0x1eb)](_0x56bc82(0x1aa),this['onObjectChangeEvent']);}[_0x1a0508(0x1ab)](){const _0x369f50=_0x1a0508;this[_0x369f50(0x1a9)][_0x369f50(0x1a4)](_0x369f50(0x1d3),this[_0x369f50(0x1d7)]),this[_0x369f50(0x1a9)][_0x369f50(0x1a4)](_0x369f50(0x1cb),this[_0x369f50(0x198)]),this['control']['removeEventListener']('objectChange',this[_0x369f50(0x1e2)]),this[_0x369f50(0x1a9)][_0x369f50(0x1e7)]();const _0x57a74e=this[_0x369f50(0x1c3)]();_0x57a74e['remove'](this[_0x369f50(0x1af)]),_0x57a74e[_0x369f50(0x1d5)](this[_0x369f50(0x1a9)][_0x369f50(0x194)]());}[_0x1a0508(0x1cd)](){const _0x15c8c8=_0x1a0508;return {'position':this[_0x15c8c8(0x1e8)]['position'][_0x15c8c8(0x19c)](),'quaternion':this[_0x15c8c8(0x1e8)]['quaternion'][_0x15c8c8(0x19c)]()};}[_0x1a0508(0x1bc)](){const _0x606579=_0x1a0508;if(!this[_0x606579(0x1b5)])return;this[_0x606579(0x1a9)][_0x606579(0x1e7)]();const _0x1ff554=this[_0x606579(0x1c3)]();_0x1ff554[_0x606579(0x1d5)](this[_0x606579(0x1af)]),this['targetMatrixMap'][_0x606579(0x19d)]();let _0x10bfb1=this[_0x606579(0x1b5)][_0x606579(0x199)]();_0x10bfb1[_0x606579(0x1dd)](this['helperObject'][_0x606579(0x1b0)],this[_0x606579(0x1af)][_0x606579(0x1cf)],this['helperObject'][_0x606579(0x1a5)]),_0x1ff554[_0x606579(0x1c4)](this[_0x606579(0x1a9)]['getHelper']()),_0x1ff554[_0x606579(0x1c4)](this[_0x606579(0x1af)]),this['control'][_0x606579(0x1cc)](this[_0x606579(0x1af)]),this[_0x606579(0x1d0)][_0x606579(0x1bb)](_0x76dc5e=>{const _0x5de190=_0x606579,_0x2c19b6=_0x76dc5e[_0x5de190(0x199)](),_0x728fe=_0x10bfb1[_0x5de190(0x19c)]()[_0x5de190(0x1a0)]()[_0x5de190(0x1a8)](_0x2c19b6);this[_0x5de190(0x1d6)]['set'](_0x76dc5e,_0x728fe);});}[_0x1a0508(0x1e9)](){const _0x5a648e=_0x1a0508;this[_0x5a648e(0x1e3)][_0x5a648e(0x1db)]['markRenderStateDirty']();}[_0x1a0508(0x1b8)](_0x1c5d23){const _0x1e416d=_0x1a0508;if(this[_0x1e416d(0x1b5)]){let _0x2ec78f=this[_0x1e416d(0x1b5)]['getMatrixInWorld']();_0x2ec78f[_0x1e416d(0x1dd)](this['helperObject'][_0x1e416d(0x1b0)],this['helperObject']['quaternion'],this[_0x1e416d(0x1af)]['scale']);}this[_0x1e416d(0x1a2)]&&this[_0x1e416d(0x1a2)](_0x1c5d23[_0x1e416d(0x1d9)]);}[_0x1a0508(0x1b2)](){const _0x2ff650=_0x1a0508;if(this[_0x2ff650(0x1b5)]){this[_0x2ff650(0x1af)][_0x2ff650(0x1ce)](!![]);const _0x117a82=this[_0x2ff650(0x1af)][_0x2ff650(0x1ea)][_0x2ff650(0x19c)]();this[_0x2ff650(0x1b5)][_0x2ff650(0x1b3)](_0x117a82),this[_0x2ff650(0x1d0)][_0x2ff650(0x1bb)](_0x3cedb6=>{const _0x1c6d83=_0x2ff650,_0xc3d0cb=this[_0x1c6d83(0x1d6)][_0x1c6d83(0x1b9)](_0x3cedb6);if(_0xc3d0cb){const _0x46a799=new Matrix4()[_0x1c6d83(0x1be)](_0x117a82,_0xc3d0cb);_0x3cedb6[_0x1c6d83(0x1b3)](_0x46a799);}});}this[_0x2ff650(0x1bf)]&&this[_0x2ff650(0x1bf)]();}set[_0x1a0508(0x1ad)](_0x40a130){const _0x2c245f=_0x1a0508;this[_0x2c245f(0x1a9)]['enabled']=_0x40a130;}[_0x1a0508(0x1c5)](_0x21a352,_0x1579c5,_0x3f916c=null,_0x5ca41c=null){const _0x37a5a9=_0x1a0508;this[_0x37a5a9(0x1d6)][_0x37a5a9(0x19d)]();let _0x4e603d=_0x21a352[_0x37a5a9(0x199)]();_0x4e603d['decompose'](this[_0x37a5a9(0x1af)][_0x37a5a9(0x1b0)],this[_0x37a5a9(0x1af)]['quaternion'],this['helperObject'][_0x37a5a9(0x1a5)]);const _0x1abc2b=this[_0x37a5a9(0x1c3)]();_0x1abc2b['add'](this['control'][_0x37a5a9(0x194)]()),this[_0x37a5a9(0x1b5)]=_0x21a352,this[_0x37a5a9(0x1d0)]=_0x1579c5,this[_0x37a5a9(0x1d0)]['forEach'](_0x579141=>{const _0x1a6dad=_0x37a5a9,_0x1a878f=_0x579141[_0x1a6dad(0x199)](),_0x421b01=_0x4e603d[_0x1a6dad(0x19c)]()[_0x1a6dad(0x1a0)]()[_0x1a6dad(0x1a8)](_0x1a878f);this[_0x1a6dad(0x1d6)][_0x1a6dad(0x196)](_0x579141,_0x421b01);}),_0x3f916c&&(this[_0x37a5a9(0x1bf)]=_0x3f916c),_0x5ca41c&&(this[_0x37a5a9(0x1a2)]=_0x5ca41c),this[_0x37a5a9(0x1de)]=!![];}['getMode'](){const _0x45d8c8=_0x1a0508;return this[_0x45d8c8(0x1a9)]['getMode']();}['setMode'](_0x597203){const _0x1a74a2=_0x1a0508;this[_0x1a74a2(0x1a9)][_0x1a74a2(0x1b7)](_0x597203);}[_0x1a0508(0x1c1)](_0xdac98d){const _0x4e1b57=_0x1a0508;this['control'][_0x4e1b57(0x1c1)](_0xdac98d);}[_0x1a0508(0x1a3)](_0x258eb6){const _0x832ef8=_0x1a0508;this['control'][_0x832ef8(0x195)]=_0x258eb6?_0x258eb6===null||_0x258eb6===void 0?void 0:_0x258eb6[_0x832ef8(0x1c2)]('X'):![],this[_0x832ef8(0x1a9)][_0x832ef8(0x1ae)]=_0x258eb6?_0x258eb6===null||_0x258eb6===void 0?void 0:_0x258eb6[_0x832ef8(0x1c2)]('Y'):![],this[_0x832ef8(0x1a9)][_0x832ef8(0x1d2)]=_0x258eb6?_0x258eb6===null||_0x258eb6===void 0?void 0:_0x258eb6[_0x832ef8(0x1c2)]('Z'):![];}[_0x1a0508(0x1d1)](_0x57319f){const _0x15f834=_0x1a0508;this[_0x15f834(0x1a9)]['setSize'](_0x57319f);}[_0x1a0508(0x197)](){const _0x43ed43=_0x1a0508;return this[_0x43ed43(0x1a9)][_0x43ed43(0x1b4)];}['setTranslationSnap'](_0x4e2817){const _0x25f149=_0x1a0508;this['control'][_0x25f149(0x1a7)](_0x4e2817);}[_0x1a0508(0x1c0)](){const _0x558390=_0x1a0508;return this[_0x558390(0x1a9)][_0x558390(0x1e4)];}[_0x1a0508(0x1e0)](_0xc04ad0){const _0x27ec78=_0x1a0508;this[_0x27ec78(0x1a9)][_0x27ec78(0x1e0)](_0xc04ad0);}[_0x1a0508(0x19b)](){const _0x17b263=_0x1a0508;return this[_0x17b263(0x1a9)]['scaleSnap'];}[_0x1a0508(0x1a1)](_0x32f562){const _0x276e64=_0x1a0508;this[_0x276e64(0x1a9)]['setScaleSnap'](_0x32f562);}[_0x1a0508(0x1da)](){const _0x2295db=_0x1a0508;var _0x3213e8;this[_0x2295db(0x1de)]=![],this['unpossess'](),this[_0x2295db(0x1d6)][_0x2295db(0x19d)](),this[_0x2295db(0x1d0)]=[],this[_0x2295db(0x1b5)]=null,this[_0x2295db(0x1bf)]=null,this[_0x2295db(0x1a2)]=null,(_0x3213e8=this[_0x2295db(0x1dc)])===null||_0x3213e8===void 0?void 0:_0x3213e8[_0x2295db(0x1c9)](),this[_0x2295db(0x1dc)]=null,super[_0x2295db(0x1da)]();}}
|
|
153
153
|
|
|
154
|
-
const
|
|
154
|
+
const _0x1bb163=_0x1d9f;(function(_0x357379,_0x21f044){const _0x38dd1a=_0x1d9f,_0x48f81b=_0x357379();while(!![]){try{const _0x806491=-parseInt(_0x38dd1a(0x13b))/0x1+parseInt(_0x38dd1a(0x139))/0x2*(parseInt(_0x38dd1a(0x122))/0x3)+parseInt(_0x38dd1a(0x116))/0x4+-parseInt(_0x38dd1a(0x136))/0x5+-parseInt(_0x38dd1a(0x12c))/0x6+parseInt(_0x38dd1a(0x120))/0x7*(-parseInt(_0x38dd1a(0x128))/0x8)+-parseInt(_0x38dd1a(0x126))/0x9*(-parseInt(_0x38dd1a(0x12e))/0xa);if(_0x806491===_0x21f044)break;else _0x48f81b['push'](_0x48f81b['shift']());}catch(_0x395e92){_0x48f81b['push'](_0x48f81b['shift']());}}}(_0x16d3,0xe67f9));function _0x1d9f(_0x4924e0,_0x1c2294){_0x4924e0=_0x4924e0-0x112;const _0x16d334=_0x16d3();let _0x1d9f14=_0x16d334[_0x4924e0];return _0x1d9f14;}function _0x16d3(){const _0x5dc401=['scale','threeObject','add','7614810yZigyt','name','30ElFfbn','_debugMesh','destroyDebugObject','debugOpacity','intersectRayAabbRaw','halfExtents','subVectors','matrixWorld','565530TnKsYl','invert','makeEmpty','291630wcePly','BoxColliderDebug','174910KmuwvS','getWorldMatrix','onDebugTick','expandByPoint','negate','6915468LCMXsk','raycast','getWorldAABB','transpose','set','debugColor','normal','multiplyScalar','applyMatrix4','normalize','70nyKscS','copy','3OUuiFr','abs','clone','_halfExtents','6881130fAhHOY','createDebugObject','1333696zmMtRu'];_0x16d3=function(){return _0x5dc401;};return _0x16d3();}class BoxColliderComponent extends ColliderComponent{get[_0x1bb163(0x133)](){const _0xc8b3cd=_0x1bb163;return this[_0xc8b3cd(0x125)];}constructor(_0x4edf77,_0x15eaf9=new Vector3(0.5,0.5,0.5),_0x56bb8d){const _0x4635ff=_0x1bb163;super(_0x4edf77,_0x56bb8d),this[_0x4635ff(0x12f)]=null,this[_0x4635ff(0x125)]=new Vector3(_0x15eaf9['x'],_0x15eaf9['y'],_0x15eaf9['z']),this[_0x4635ff(0x12d)]='BoxColliderComponent';}[_0x1bb163(0x118)](_0x5dcf9f=new Box3()){const _0x2db7ce=_0x1bb163,_0x770f55=this[_0x2db7ce(0x112)](),_0x1d260a=this[_0x2db7ce(0x125)]['x'],_0x37222d=this[_0x2db7ce(0x125)]['y'],_0x4285f5=this[_0x2db7ce(0x125)]['z'];_0x5dcf9f[_0x2db7ce(0x138)]();const _0x1e4afc=[new Vector3(-_0x1d260a,-_0x37222d,-_0x4285f5),new Vector3(-_0x1d260a,-_0x37222d,_0x4285f5),new Vector3(-_0x1d260a,_0x37222d,-_0x4285f5),new Vector3(-_0x1d260a,_0x37222d,_0x4285f5),new Vector3(_0x1d260a,-_0x37222d,-_0x4285f5),new Vector3(_0x1d260a,-_0x37222d,_0x4285f5),new Vector3(_0x1d260a,_0x37222d,-_0x4285f5),new Vector3(_0x1d260a,_0x37222d,_0x4285f5)];for(const _0x5dbc81 of _0x1e4afc){_0x5dbc81[_0x2db7ce(0x11e)](_0x770f55),_0x5dcf9f[_0x2db7ce(0x114)](_0x5dbc81);}return _0x5dcf9f;}[_0x1bb163(0x127)](){const _0x1931dd=_0x1bb163,_0x4f2788=new Object3D();_0x4f2788[_0x1931dd(0x12d)]=_0x1931dd(0x13a);const _0x46618d=new BoxGeometry(0x1,0x1,0x1),_0x44bff5=new MeshBasicMaterial({'color':this[_0x1931dd(0x11b)],'wireframe':!![],'transparent':!![],'opacity':this[_0x1931dd(0x131)]}),_0x1cd861=new Mesh(_0x46618d,_0x44bff5);return _0x1cd861[_0x1931dd(0x12d)]='BoxColliderDebugMesh',_0x4f2788[_0x1931dd(0x12b)](_0x1cd861),this[_0x1931dd(0x12f)]=_0x1cd861,this['onDebugTick'](0x0),_0x4f2788;}[_0x1bb163(0x130)](_0x3d4b5c){const _0x11dd0b=_0x1bb163;this[_0x11dd0b(0x12f)]=null;}[_0x1bb163(0x113)](_0x48753b){const _0x4cb073=_0x1bb163;if(!this[_0x4cb073(0x12f)])return;this[_0x4cb073(0x12f)][_0x4cb073(0x129)]['set'](this[_0x4cb073(0x125)]['x']*0x2,this[_0x4cb073(0x125)]['y']*0x2,this[_0x4cb073(0x125)]['z']*0x2);}[_0x1bb163(0x117)](_0x474d09,_0x3a17ca,_0x260501){const _0x31ace8=_0x1bb163;if(!this[_0x31ace8(0x12a)])return null;const _0xce4087=this['threeObject'][_0x31ace8(0x135)]['clone']()['invert'](),_0x58d09c=_0x474d09['clone']()['applyMatrix4'](_0xce4087),_0x9c8cb4=_0x3a17ca[_0x31ace8(0x124)]()['transformDirection'](_0xce4087),_0x106bea=_0x474d09[_0x31ace8(0x124)]()[_0x31ace8(0x12b)](_0x3a17ca),_0x12d15c=_0x106bea[_0x31ace8(0x11e)](_0xce4087);_0x9c8cb4[_0x31ace8(0x134)](_0x12d15c,_0x58d09c);const _0x4bcbc5=this[_0x31ace8(0x125)]['clone']()[_0x31ace8(0x115)](),_0x56de31=this['_halfExtents'][_0x31ace8(0x124)](),_0xcaaa8f=this['intersectRayAabbRaw'](_0x58d09c,_0x9c8cb4,_0x4bcbc5,_0x56de31);if(!_0xcaaa8f)return null;if(_0xcaaa8f['t']>_0x260501)return null;const _0x8e1923=_0x474d09[_0x31ace8(0x124)]()[_0x31ace8(0x12b)](_0x3a17ca[_0x31ace8(0x124)]()[_0x31ace8(0x11d)](_0xcaaa8f['t'])),_0x1ac478=_0xcaaa8f[_0x31ace8(0x11c)],_0x1e9ad4=new Matrix4()[_0x31ace8(0x121)](this[_0x31ace8(0x12a)][_0x31ace8(0x135)])[_0x31ace8(0x137)]()[_0x31ace8(0x119)](),_0x3423c9=_0x1ac478[_0x31ace8(0x11e)](_0x1e9ad4)[_0x31ace8(0x11f)]();return {'point':_0x8e1923,'normal':_0x3423c9,'distance':_0xcaaa8f['t']};}[_0x1bb163(0x132)](_0x569c73,_0x190849,_0x2e4eac,_0xe54916){const _0x59fcaa=_0x1bb163;let _0x3996d9=-Infinity,_0x104ec0=Infinity;const _0x5aec29=new Vector3(),_0x5928d9=1e-8,_0x53c1ba=_0x362c38=>{const _0x167e01=_0x1d9f,_0x57b969=_0x569c73[_0x362c38],_0x2d0fda=_0x190849[_0x362c38],_0x4c765d=_0x2e4eac[_0x362c38],_0x143b5b=_0xe54916[_0x362c38];if(Math[_0x167e01(0x123)](_0x2d0fda)<_0x5928d9){if(_0x57b969<_0x4c765d||_0x57b969>_0x143b5b)return ![];return !![];}const _0x29f137=0x1/_0x2d0fda;let _0x4bee63=(_0x4c765d-_0x57b969)*_0x29f137,_0x5b22ba=(_0x143b5b-_0x57b969)*_0x29f137;if(_0x4bee63>_0x5b22ba){const _0x1b6172=_0x4bee63;_0x4bee63=_0x5b22ba,_0x5b22ba=_0x1b6172;}if(_0x4bee63>_0x3996d9){_0x3996d9=_0x4bee63,_0x5aec29[_0x167e01(0x11a)](0x0,0x0,0x0),_0x5aec29[_0x362c38]=_0x2d0fda<0x0?0x1:-1;if(_0x2d0fda>0x0)_0x5aec29[_0x362c38]=-1;else _0x5aec29[_0x362c38]=0x1;}_0x5b22ba<_0x104ec0&&(_0x104ec0=_0x5b22ba);if(_0x3996d9>_0x104ec0)return ![];return !![];};if(!_0x53c1ba('x')||!_0x53c1ba('y')||!_0x53c1ba('z'))return null;if(_0x104ec0<0x0)return null;if(_0x3996d9<0x0)return {'t':0x0,'normal':_0x190849[_0x59fcaa(0x124)]()[_0x59fcaa(0x115)]()[_0x59fcaa(0x11f)]()};return {'t':_0x3996d9,'normal':_0x5aec29};}}
|
|
155
155
|
|
|
156
|
-
function
|
|
156
|
+
function _0x17fe(_0x566193,_0x4a3134){_0x566193=_0x566193-0x112;const _0x422908=_0x4229();let _0x17fecc=_0x422908[_0x566193];return _0x17fecc;}const _0xf9cea1=_0x17fe;(function(_0x292c51,_0x4e9c28){const _0x3f307f=_0x17fe,_0x5360e5=_0x292c51();while(!![]){try{const _0x35274b=parseInt(_0x3f307f(0x128))/0x1+parseInt(_0x3f307f(0x112))/0x2+-parseInt(_0x3f307f(0x113))/0x3+parseInt(_0x3f307f(0x12c))/0x4+parseInt(_0x3f307f(0x114))/0x5*(parseInt(_0x3f307f(0x11d))/0x6)+parseInt(_0x3f307f(0x125))/0x7*(parseInt(_0x3f307f(0x121))/0x8)+parseInt(_0x3f307f(0x126))/0x9*(-parseInt(_0x3f307f(0x12d))/0xa);if(_0x35274b===_0x4e9c28)break;else _0x5360e5['push'](_0x5360e5['shift']());}catch(_0x565ee1){_0x5360e5['push'](_0x5360e5['shift']());}}}(_0x4229,0xae504));class SphereColliderComponent extends ColliderComponent{get[_0xf9cea1(0x119)](){const _0x2d7c60=_0xf9cea1;return this[_0x2d7c60(0x123)];}constructor(_0x3409b0,_0x3adc60=0.5,_0x405649){const _0x785a95=_0xf9cea1;super(_0x3409b0,_0x405649),this['_debugMesh']=null,this[_0x785a95(0x123)]=_0x3adc60,this[_0x785a95(0x11a)]=_0x785a95(0x118);}[_0xf9cea1(0x12e)](_0x58177f=new Box3()){const _0xd9e5b3=_0xf9cea1,_0xd8df48=this[_0xd9e5b3(0x12b)](),_0x4874e3=this[_0xd9e5b3(0x122)](),_0x200d0a=Math[_0xd9e5b3(0x12a)](Math[_0xd9e5b3(0x127)](_0x4874e3['x']),Math[_0xd9e5b3(0x127)](_0x4874e3['y']),Math['abs'](_0x4874e3['z'])),_0x54f684=Math[_0xd9e5b3(0x12a)](0x0,this[_0xd9e5b3(0x123)])*_0x200d0a,_0x531b53=new Vector3(_0x54f684*0x2,_0x54f684*0x2,_0x54f684*0x2);return _0x58177f['setFromCenterAndSize'](_0xd8df48,_0x531b53),_0x58177f;}['createDebugObject'](){const _0x39e335=_0xf9cea1,_0x16d4d4=new Object3D();_0x16d4d4[_0x39e335(0x11a)]=_0x39e335(0x115);const _0x42a06d=new SphereGeometry(0x1,0x18,0x10),_0x533076=new MeshBasicMaterial({'color':this[_0x39e335(0x116)],'wireframe':!![],'transparent':!![],'opacity':this[_0x39e335(0x11b)]}),_0x1fa61c=new Mesh(_0x42a06d,_0x533076);return _0x1fa61c[_0x39e335(0x11a)]=_0x39e335(0x120),_0x16d4d4[_0x39e335(0x117)](_0x1fa61c),this['_debugMesh']=_0x1fa61c,this[_0x39e335(0x12f)](0x0),_0x16d4d4;}['destroyDebugObject'](_0x35acbe){const _0x19dd56=_0xf9cea1;this[_0x19dd56(0x11c)]=null;}[_0xf9cea1(0x12f)](_0x1f3742){const _0x4de86d=_0xf9cea1,_0x1b18ce=this[_0x4de86d(0x11c)];if(!_0x1b18ce)return;const _0x43959d=this[_0x4de86d(0x122)](),_0x4a46b2=Math[_0x4de86d(0x127)](_0x43959d['x'])>1e-8?_0x43959d['x']:0x1,_0x1d371a=Math[_0x4de86d(0x127)](_0x43959d['y'])>1e-8?_0x43959d['y']:0x1,_0x391ee6=Math[_0x4de86d(0x127)](_0x43959d['z'])>1e-8?_0x43959d['z']:0x1,_0x5d0e8f=Math[_0x4de86d(0x12a)](Math['abs'](_0x4a46b2),Math['abs'](_0x1d371a),Math['abs'](_0x391ee6)),_0x5acb8a=Math['max'](0x0,this[_0x4de86d(0x123)])*_0x5d0e8f;_0x1b18ce['scale'][_0x4de86d(0x129)](_0x5acb8a/_0x4a46b2,_0x5acb8a/_0x1d371a,_0x5acb8a/_0x391ee6);}['onDebugStyleChanged'](){const _0x3fdd3e=_0xf9cea1,_0x9f60ce=this[_0x3fdd3e(0x11c)];if(!_0x9f60ce)return;const _0x1703d6=_0x9f60ce['material'];_0x1703d6[_0x3fdd3e(0x11f)][_0x3fdd3e(0x11e)](this['debugColor']),_0x1703d6['opacity']=this[_0x3fdd3e(0x11b)],_0x1703d6[_0x3fdd3e(0x124)]=this[_0x3fdd3e(0x11b)]<0x1,_0x1703d6['needsUpdate']=!![];}}function _0x4229(){const _0x406b57=['max','getWorldPosition','947496AsQlbT','46090AMkccO','getWorldAABB','onDebugTick','1120984gwAigH','2432301lZZOny','4470JWTSWC','SphereColliderDebug','debugColor','add','SphereColliderComponent','radius','name','debugOpacity','_debugMesh','1866rKqKDS','setHex','color','SphereColliderDebugMesh','60304TNjEZr','getWorldScale','_radius','transparent','343gDurxF','2196LVwYbP','abs','1204589SHvFPf','set'];_0x4229=function(){return _0x406b57;};return _0x4229();}
|
|
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
|
+
const _0x3f8d97=_0x3942;(function(_0x3293f4,_0x269b46){const _0x369bed=_0x3942,_0x2fb167=_0x3293f4();while(!![]){try{const _0x31cc8d=parseInt(_0x369bed(0x1fd))/0x1+parseInt(_0x369bed(0x1d2))/0x2+-parseInt(_0x369bed(0x1d4))/0x3+parseInt(_0x369bed(0x20e))/0x4*(-parseInt(_0x369bed(0x215))/0x5)+parseInt(_0x369bed(0x213))/0x6*(-parseInt(_0x369bed(0x1d6))/0x7)+parseInt(_0x369bed(0x1f7))/0x8+parseInt(_0x369bed(0x1c8))/0x9*(parseInt(_0x369bed(0x1e7))/0xa);if(_0x31cc8d===_0x269b46)break;else _0x2fb167['push'](_0x2fb167['shift']());}catch(_0x43872c){_0x2fb167['push'](_0x2fb167['shift']());}}}(_0x49e7,0xa2bd4));class MeshColliderComponent extends ColliderComponent{get[_0x3f8d97(0x1d8)](){const _0x4c379a=_0x3f8d97;return this[_0x4c379a(0x1eb)];}constructor(_0x4a5480,_0x200d20=null,_0x23571b){const _0x2b49af=_0x3f8d97;super(_0x4a5480,_0x23571b),this[_0x2b49af(0x1eb)]=null,this[_0x2b49af(0x1c5)]=null,this[_0x2b49af(0x1ff)]=[],this['_debugMaterial']=null,this['_tmpAabb']=new Box3(),this['_tmpMat']=new Matrix4(),this[_0x2b49af(0x1e3)]=new Vector3(),this[_0x2b49af(0x21f)]=Array[_0x2b49af(0x1ce)]({'length':0x8},()=>new Vector3()),this[_0x2b49af(0x202)]=new Vector3(),this[_0x2b49af(0x1f1)]=new Vector3(),this[_0x2b49af(0x1ed)]=new Vector3(),this[_0x2b49af(0x1c9)]=new Vector3(),this[_0x2b49af(0x1f5)]=new Vector3(),this[_0x2b49af(0x1cc)]=new Vector3(),this[_0x2b49af(0x1f3)]=new Vector3(),this[_0x2b49af(0x1e2)]=new Vector3(),this[_0x2b49af(0x1da)]=new Vector3(),this[_0x2b49af(0x1f9)]='MeshColliderComponent',this[_0x2b49af(0x1d3)](_0x200d20);}[_0x3f8d97(0x1d3)](_0x46e3f7){const _0x48d5ee=_0x3f8d97,_0x529030=this['debugEnabled'];_0x529030&&(this[_0x48d5ee(0x205)]=![]);this[_0x48d5ee(0x1eb)]=_0x46e3f7;this[_0x48d5ee(0x1c5)]&&(this[_0x48d5ee(0x1c5)]['geometry']['dispose'](),this[_0x48d5ee(0x1c5)]=null);if(!_0x46e3f7){_0x529030&&(this[_0x48d5ee(0x205)]=!![]);return;}const _0x49b0b5=[];_0x46e3f7[_0x48d5ee(0x1e1)](!![],!![]);const _0x5353ff=_0x46e3f7[_0x48d5ee(0x21e)]['clone']()[_0x48d5ee(0x201)]();_0x46e3f7[_0x48d5ee(0x1db)](_0x11f154=>{const _0x179c32=_0x48d5ee;if(_0x11f154[_0x179c32(0x1d1)]){const _0x4e704b=_0x11f154;if(_0x4e704b['geometry']){const _0x2fd5e5=_0x4e704b[_0x179c32(0x204)][_0x179c32(0x212)](),_0xc43f0c=_0x5353ff[_0x179c32(0x212)]()[_0x179c32(0x1cb)](_0x4e704b[_0x179c32(0x21e)]);_0x2fd5e5[_0x179c32(0x1e4)](_0xc43f0c),_0x49b0b5['push'](_0x2fd5e5);}}});if(_0x49b0b5[_0x48d5ee(0x1e5)]>0x0){const _0x45ee50=this['mergeGeometries'](_0x49b0b5);if(_0x45ee50){const _0x560148=new Mesh(_0x45ee50);this[_0x48d5ee(0x1c5)]=_0x560148;}}_0x529030&&(this[_0x48d5ee(0x205)]=!![]);}[_0x3f8d97(0x1d9)](_0x56301c){const _0x530435=_0x3f8d97;if(_0x56301c['length']===0x0)return null;if(_0x56301c[_0x530435(0x1e5)]===0x1)return _0x56301c[0x0];let _0x2b0991=0x0,_0x2a7247=0x0;for(const _0x28d193 of _0x56301c){_0x2b0991+=_0x28d193[_0x530435(0x1fb)]['position'][_0x530435(0x1f2)],_0x28d193[_0x530435(0x206)]?_0x2a7247+=_0x28d193['index'][_0x530435(0x1f2)]:_0x2a7247+=_0x28d193['attributes']['position'][_0x530435(0x1f2)];}const _0x14390b=new Float32Array(_0x2b0991*0x3),_0x91df97=new Uint32Array(_0x2a7247);let _0x5ce29f=0x0,_0xc0a00c=0x0;for(const _0x379cc4 of _0x56301c){const _0x2b4ea5=_0x379cc4[_0x530435(0x1fb)][_0x530435(0x1d7)][_0x530435(0x1f4)],_0x2d5f0e=_0x379cc4[_0x530435(0x1fb)]['position'][_0x530435(0x1f2)];for(let _0x5e32b5=0x0;_0x5e32b5<_0x2d5f0e*0x3;_0x5e32b5++){_0x14390b[_0x5ce29f*0x3+_0x5e32b5]=_0x2b4ea5[_0x5e32b5];}if(_0x379cc4[_0x530435(0x206)]){const _0x471b51=_0x379cc4[_0x530435(0x206)][_0x530435(0x1f4)];for(let _0x90a9aa=0x0;_0x90a9aa<_0x379cc4[_0x530435(0x206)][_0x530435(0x1f2)];_0x90a9aa++){_0x91df97[_0xc0a00c+_0x90a9aa]=_0x471b51[_0x90a9aa]+_0x5ce29f;}_0xc0a00c+=_0x379cc4[_0x530435(0x206)][_0x530435(0x1f2)];}else {for(let _0x131d64=0x0;_0x131d64<_0x2d5f0e;_0x131d64++){_0x91df97[_0xc0a00c+_0x131d64]=_0x131d64+_0x5ce29f;}_0xc0a00c+=_0x2d5f0e;}_0x5ce29f+=_0x2d5f0e;}const _0x1eeb56=new BufferGeometry();return _0x1eeb56['setAttribute']('position',new BufferAttribute(_0x14390b,0x3)),_0x1eeb56['setIndex'](new BufferAttribute(_0x91df97,0x1)),_0x1eeb56;}[_0x3f8d97(0x208)](){const _0xb646fa=_0x3f8d97;this[_0xb646fa(0x205)]=![],this[_0xb646fa(0x1c5)]&&(this['_mesh']['geometry'][_0xb646fa(0x217)](),this[_0xb646fa(0x1c5)]=null),this['_sourceObject']=null,super[_0xb646fa(0x208)]();}[_0x3f8d97(0x210)](_0xb531d5=new Box3()){const _0x40a04c=_0x3f8d97;_0xb531d5[_0x40a04c(0x1fc)]();if(!this[_0x40a04c(0x1eb)])return _0xb531d5;this[_0x40a04c(0x1eb)][_0x40a04c(0x1e1)](!![],!![]);const _0x5d80f7=this[_0x40a04c(0x21f)];if(this[_0x40a04c(0x1c5)]){const _0x485218=this['_mesh'];_0x485218[_0x40a04c(0x21e)]['copy'](this[_0x40a04c(0x1eb)][_0x40a04c(0x21e)]);const _0x498be2=_0x485218['geometry'];if(_0x498be2){!_0x498be2['boundingBox']&&_0x498be2[_0x40a04c(0x1c6)]();const _0x2b20db=_0x498be2['boundingBox'];if(_0x2b20db){this[_0x40a04c(0x1e8)][_0x40a04c(0x1ec)](_0x485218[_0x40a04c(0x21e)]);const _0x5c2e7e=_0x2b20db['min'],_0x464202=_0x2b20db['max'];_0x5d80f7[0x0][_0x40a04c(0x1ea)](_0x5c2e7e['x'],_0x5c2e7e['y'],_0x5c2e7e['z']),_0x5d80f7[0x1][_0x40a04c(0x1ea)](_0x5c2e7e['x'],_0x5c2e7e['y'],_0x464202['z']),_0x5d80f7[0x2][_0x40a04c(0x1ea)](_0x5c2e7e['x'],_0x464202['y'],_0x5c2e7e['z']),_0x5d80f7[0x3][_0x40a04c(0x1ea)](_0x5c2e7e['x'],_0x464202['y'],_0x464202['z']),_0x5d80f7[0x4][_0x40a04c(0x1ea)](_0x464202['x'],_0x5c2e7e['y'],_0x5c2e7e['z']),_0x5d80f7[0x5][_0x40a04c(0x1ea)](_0x464202['x'],_0x5c2e7e['y'],_0x464202['z']),_0x5d80f7[0x6][_0x40a04c(0x1ea)](_0x464202['x'],_0x464202['y'],_0x5c2e7e['z']),_0x5d80f7[0x7][_0x40a04c(0x1ea)](_0x464202['x'],_0x464202['y'],_0x464202['z']);for(const _0x138c7c of _0x5d80f7){_0x138c7c[_0x40a04c(0x1e4)](this['_tmpMat']),_0xb531d5['expandByPoint'](_0x138c7c);}}}}return _0xb531d5;}[_0x3f8d97(0x21d)](_0x394e58,_0x3bdbcf,_0x258673){const _0x13728b=_0x3f8d97;if(!this[_0x13728b(0x1eb)])return [];this['_sourceObject'][_0x13728b(0x1e1)](!![],!![]);const _0x3fe3bd=[];if(this[_0x13728b(0x1c5)]){const _0x9b0e04=this['_mesh'];_0x9b0e04['matrixWorld'][_0x13728b(0x1ec)](this[_0x13728b(0x1eb)]['matrixWorld']);const _0x5a0722=_0x9b0e04['geometry'];if(_0x5a0722){!_0x5a0722[_0x13728b(0x20a)]&&_0x5a0722['computeBoundingBox']();const _0x8c03ef=_0x5a0722['boundingBox'];if(_0x8c03ef){const _0x2c485e=this['_tmpAabb'][_0x13728b(0x1ec)](_0x8c03ef)['applyMatrix4'](_0x9b0e04['matrixWorld']);if(this['intersectRayAabb'](_0x394e58,_0x3bdbcf,_0x258673,_0x2c485e)){const _0x4f9f5f=_0x5a0722[_0x13728b(0x200)](_0x13728b(0x1d7));if(_0x4f9f5f){const _0x5db1d5=_0x5a0722[_0x13728b(0x20c)](),_0x2e497e=_0x5db1d5?Math[_0x13728b(0x203)](_0x5db1d5[_0x13728b(0x1f2)]/0x3):Math['floor'](_0x4f9f5f[_0x13728b(0x1f2)]/0x3);for(let _0x50bd6b=0x0;_0x50bd6b<_0x2e497e;_0x50bd6b++){const _0x319cf5=_0x5db1d5?_0x5db1d5['getX'](_0x50bd6b*0x3+0x0):_0x50bd6b*0x3+0x0,_0x2ef062=_0x5db1d5?_0x5db1d5['getX'](_0x50bd6b*0x3+0x1):_0x50bd6b*0x3+0x1,_0x31dc83=_0x5db1d5?_0x5db1d5[_0x13728b(0x1ee)](_0x50bd6b*0x3+0x2):_0x50bd6b*0x3+0x2;this[_0x13728b(0x202)][_0x13728b(0x1ea)](_0x4f9f5f[_0x13728b(0x1ee)](_0x319cf5),_0x4f9f5f[_0x13728b(0x1ca)](_0x319cf5),_0x4f9f5f[_0x13728b(0x209)](_0x319cf5))['applyMatrix4'](_0x9b0e04['matrixWorld']),this['_tmpB'][_0x13728b(0x1ea)](_0x4f9f5f[_0x13728b(0x1ee)](_0x2ef062),_0x4f9f5f['getY'](_0x2ef062),_0x4f9f5f[_0x13728b(0x209)](_0x2ef062))[_0x13728b(0x1e4)](_0x9b0e04[_0x13728b(0x21e)]),this['_tmpC']['set'](_0x4f9f5f[_0x13728b(0x1ee)](_0x31dc83),_0x4f9f5f[_0x13728b(0x1ca)](_0x31dc83),_0x4f9f5f['getZ'](_0x31dc83))['applyMatrix4'](_0x9b0e04[_0x13728b(0x21e)]);const _0x1933f8=this[_0x13728b(0x211)](_0x394e58,_0x3bdbcf,this[_0x13728b(0x202)],this[_0x13728b(0x1f1)],this[_0x13728b(0x1ed)],_0x258673);_0x1933f8&&_0x3fe3bd[_0x13728b(0x1dc)]({'distance':_0x1933f8['distance'],'point':_0x1933f8[_0x13728b(0x1dd)]['clone'](),'normal':_0x1933f8[_0x13728b(0x21b)][_0x13728b(0x212)]()});}}}}}}return _0x3fe3bd[_0x13728b(0x216)]((_0x1ff16e,_0x92f31e)=>_0x1ff16e[_0x13728b(0x207)]-_0x92f31e['distance']);}[_0x3f8d97(0x220)](_0x4a20cf,_0x45d8f0,_0x123cbf){const _0x3a3953=_0x3f8d97,_0x33fc3f=this['raycastAll'](_0x4a20cf,_0x45d8f0,_0x123cbf);if(_0x33fc3f[_0x3a3953(0x1e5)]>0x0)return _0x33fc3f[0x0];return null;}[_0x3f8d97(0x1c7)](_0x43610e,_0x3cd090,_0x978ac8,_0x5c02a1){const _0x5a9111=_0x3f8d97;let _0x2f9e57=0x0,_0x5886d2=_0x978ac8;const _0x32bf5f=1e-8,_0x482245=_0x2ef47f=>{const _0x4964b6=_0x3942,_0x3a4c0a=_0x43610e[_0x2ef47f],_0x5b0376=_0x3cd090[_0x2ef47f],_0x52a4af=_0x5c02a1['min'][_0x2ef47f],_0x81dfbf=_0x5c02a1['max'][_0x2ef47f];if(Math[_0x4964b6(0x21c)](_0x5b0376)<_0x32bf5f)return _0x3a4c0a>=_0x52a4af&&_0x3a4c0a<=_0x81dfbf;const _0x3ed79d=0x1/_0x5b0376;let _0x448a0d,_0x15341f;return _0x5b0376>=0x0?(_0x448a0d=(_0x52a4af-_0x3a4c0a)*_0x3ed79d,_0x15341f=(_0x81dfbf-_0x3a4c0a)*_0x3ed79d):(_0x448a0d=(_0x81dfbf-_0x3a4c0a)*_0x3ed79d,_0x15341f=(_0x52a4af-_0x3a4c0a)*_0x3ed79d),_0x448a0d>_0x2f9e57&&(_0x2f9e57=_0x448a0d),_0x15341f<_0x5886d2&&(_0x5886d2=_0x15341f),_0x2f9e57<=_0x5886d2;};if(!_0x482245('x')||!_0x482245('y')||!_0x482245('z'))return ![];const _0x4bc2b2=Math[_0x5a9111(0x20b)](0x0,_0x2f9e57);return _0x4bc2b2<=_0x978ac8;}['intersectRayTriangle'](_0x6a5eb6,_0x4db4d5,_0x35db45,_0x28d60c,_0x46ace6,_0x3837aa){const _0x49a5d9=_0x3f8d97,_0x537cd9=1e-8,_0x53b149=this['_tmpEdge1']['copy'](_0x28d60c)['sub'](_0x35db45),_0x26749c=this[_0x49a5d9(0x1f5)][_0x49a5d9(0x1ec)](_0x46ace6)['sub'](_0x35db45),_0x4a13de=this[_0x49a5d9(0x1cc)][_0x49a5d9(0x1cd)](_0x4db4d5,_0x26749c),_0x1c7a7=_0x53b149[_0x49a5d9(0x1f6)](_0x4a13de);if(Math['abs'](_0x1c7a7)<_0x537cd9)return null;const _0x49c7a3=0x1/_0x1c7a7,_0x12261b=this[_0x49a5d9(0x1f3)][_0x49a5d9(0x1ec)](_0x6a5eb6)[_0x49a5d9(0x21a)](_0x35db45),_0x332d4e=_0x12261b['dot'](_0x4a13de)*_0x49c7a3;if(_0x332d4e<0x0||_0x332d4e>0x1)return null;const _0x109003=this[_0x49a5d9(0x1e2)][_0x49a5d9(0x1cd)](_0x12261b,_0x53b149),_0x62fccc=_0x4db4d5[_0x49a5d9(0x1f6)](_0x109003)*_0x49c7a3;if(_0x62fccc<0x0||_0x332d4e+_0x62fccc>0x1)return null;const _0x5398af=_0x26749c[_0x49a5d9(0x1f6)](_0x109003)*_0x49c7a3;if(_0x5398af<0x0||_0x5398af>_0x3837aa)return null;const _0x3123f6=this[_0x49a5d9(0x1da)][_0x49a5d9(0x1cd)](_0x53b149,_0x26749c),_0x588134=_0x3123f6[_0x49a5d9(0x1fa)]();_0x588134>_0x537cd9&&_0x3123f6[_0x49a5d9(0x1f8)](0x1/Math[_0x49a5d9(0x214)](_0x588134));_0x3123f6[_0x49a5d9(0x1f6)](_0x4db4d5)>0x0&&_0x3123f6[_0x49a5d9(0x1f8)](-1);const _0x699ffd=this[_0x49a5d9(0x1e3)][_0x49a5d9(0x1ec)](_0x6a5eb6)[_0x49a5d9(0x218)](_0x4db4d5,_0x5398af);return {'point':_0x699ffd,'normal':_0x3123f6,'distance':_0x5398af};}[_0x3f8d97(0x1e6)](){const _0x28a317=_0x3f8d97;return this[_0x28a317(0x1df)];}[_0x3f8d97(0x1e0)](){const _0x79a70c=_0x3f8d97;if(!this[_0x79a70c(0x1eb)])return null;const _0x4b88ec=new Object3D();_0x4b88ec[_0x79a70c(0x1f9)]=_0x79a70c(0x20f),this[_0x79a70c(0x1ff)]=[],this[_0x79a70c(0x219)]=new MeshBasicMaterial({'color':this[_0x79a70c(0x1d0)],'wireframe':!![],'transparent':!![],'opacity':this[_0x79a70c(0x1ef)]});if(this[_0x79a70c(0x1c5)]){const _0x55afca=this[_0x79a70c(0x1c5)],_0x391b4e=_0x55afca[_0x79a70c(0x204)];if(_0x391b4e){const _0x2c9c29=new Mesh(_0x391b4e,this[_0x79a70c(0x219)]);_0x4b88ec[_0x79a70c(0x1fe)](_0x2c9c29),this[_0x79a70c(0x1ff)][_0x79a70c(0x1dc)]({'parent':_0x4b88ec,'obj':_0x2c9c29});}}return _0x4b88ec;}[_0x3f8d97(0x1d5)](_0x15b64b){const _0x836c9d=_0x3f8d97;for(const _0x1b5bb6 of this['_debugEntries']){_0x1b5bb6[_0x836c9d(0x1de)]['remove'](_0x1b5bb6['obj']);}this['_debugEntries']=[],this[_0x836c9d(0x219)]=null;}[_0x3f8d97(0x1e9)](){const _0x2e1988=_0x3f8d97;if(!this[_0x2e1988(0x219)])return;this[_0x2e1988(0x219)]['color'][_0x2e1988(0x1cf)](this[_0x2e1988(0x1d0)]),this[_0x2e1988(0x219)][_0x2e1988(0x20d)]=this['debugOpacity'],this[_0x2e1988(0x219)][_0x2e1988(0x1f0)]=this[_0x2e1988(0x1ef)]<0x1,this[_0x2e1988(0x219)]['needsUpdate']=!![];}}function _0x3942(_0x298890,_0x1678ab){_0x298890=_0x298890-0x1c5;const _0x49e7ae=_0x49e7();let _0x39421c=_0x49e7ae[_0x298890];return _0x39421c;}function _0x49e7(){const _0x3036d9=['_tmpBoxCorner','raycast','_mesh','computeBoundingBox','intersectRayAabb','2601fGxtas','_tmpEdge1','getY','multiply','_tmpP','crossVectors','from','setHex','debugColor','isMesh','2602968jSneiE','setSourceObject','794124CMXVvV','destroyDebugObject','1696303qawulo','position','sourceObject','mergeGeometries','_tmpN','traverse','push','point','parent','threeObject','createDebugObject','updateWorldMatrix','_tmpQ','_tmpCorner','applyMatrix4','length','getDebugAttachParent','7990XWEcTe','_tmpMat','onDebugStyleChanged','set','_sourceObject','copy','_tmpC','getX','debugOpacity','transparent','_tmpB','count','_tmpT','array','_tmpEdge2','dot','1863360eTYDJk','multiplyScalar','name','lengthSq','attributes','makeEmpty','731498LhBaLh','add','_debugEntries','getAttribute','invert','_tmpA','floor','geometry','debugEnabled','index','distance','destroy','getZ','boundingBox','max','getIndex','opacity','12nfRjKs','MeshColliderDebug','getWorldAABB','intersectRayTriangle','clone','12RhodlS','sqrt','1801445pRFHcH','sort','dispose','addScaledVector','_debugMaterial','sub','normal','abs','raycastAll','matrixWorld'];_0x49e7=function(){return _0x3036d9;};return _0x49e7();}
|
|
159
159
|
|
|
160
|
-
(function(
|
|
160
|
+
(function(_0x2ab91a,_0x10fd8f){var _0x198028=_0x41a6,_0x33c6e8=_0x2ab91a();while(!![]){try{var _0x503c49=-parseInt(_0x198028(0xb3))/0x1+-parseInt(_0x198028(0xb0))/0x2*(parseInt(_0x198028(0xb5))/0x3)+parseInt(_0x198028(0xb2))/0x4+-parseInt(_0x198028(0xaf))/0x5*(-parseInt(_0x198028(0xb1))/0x6)+parseInt(_0x198028(0xb4))/0x7+-parseInt(_0x198028(0xb7))/0x8+parseInt(_0x198028(0xb6))/0x9;if(_0x503c49===_0x10fd8f)break;else _0x33c6e8['push'](_0x33c6e8['shift']());}catch(_0x1357fb){_0x33c6e8['push'](_0x33c6e8['shift']());}}}(_0xb6e5,0xb783c));function _0x41a6(_0x2fa2e7,_0x4f06ac){_0x2fa2e7=_0x2fa2e7-0xaf;var _0xb6e55c=_0xb6e5();var _0x41a6bd=_0xb6e55c[_0x2fa2e7];return _0x41a6bd;}function _0xb6e5(){var _0x3a3fd1=['168YciObc','114QjrJGO','3366940wiflcH','926234LavELP','10156881NQcGSU','38061muVZfu','2481795oWZmTz','541552zCBhNL','63905QIFmYO'];_0xb6e5=function(){return _0x3a3fd1;};return _0xb6e5();}
|
|
161
161
|
|
|
162
|
-
(function(
|
|
162
|
+
(function(_0x287355,_0x14da2e){var _0x445e98=_0x23f3,_0x20f05e=_0x287355();while(!![]){try{var _0x133bf9=parseInt(_0x445e98(0xe4))/0x1*(-parseInt(_0x445e98(0xe1))/0x2)+parseInt(_0x445e98(0xe5))/0x3*(-parseInt(_0x445e98(0xe2))/0x4)+-parseInt(_0x445e98(0xe0))/0x5+-parseInt(_0x445e98(0xe3))/0x6+parseInt(_0x445e98(0xe7))/0x7+parseInt(_0x445e98(0xe6))/0x8+parseInt(_0x445e98(0xdf))/0x9;if(_0x133bf9===_0x14da2e)break;else _0x20f05e['push'](_0x20f05e['shift']());}catch(_0x10aa66){_0x20f05e['push'](_0x20f05e['shift']());}}}(_0xf1c6,0x505ec));function _0x23f3(_0x17cc9b,_0xfab6dc){_0x17cc9b=_0x17cc9b-0xdf;var _0xf1c6f8=_0xf1c6();var _0x23f304=_0xf1c6f8[_0x17cc9b];return _0x23f304;}function _0xf1c6(){var _0x3b7111=['240504xJzBhG','115109kfwJwe','153CYHOgs','4132392rstVhz','2221982jwKEKC','10471401ZQWUbM','2907250aWIqEi','10VxOqrX','36956BitreJ'];_0xf1c6=function(){return _0x3b7111;};return _0xf1c6();}
|
|
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
|