lythreeframe 2.0.5 → 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
|
-
|
|
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
|
-
const
|
|
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 _0x1bf6b5=_0x3a84;(function(_0x5aa9c7,_0x4532ff){const _0x363150=_0x3a84,_0x3acad5=_0x5aa9c7();while(!![]){try{const _0x58a653=parseInt(_0x363150(0x175))/0x1+-parseInt(_0x363150(0x155))/0x2+parseInt(_0x363150(0x130))/0x3*(-parseInt(_0x363150(0x11d))/0x4)+parseInt(_0x363150(0x15d))/0x5+parseInt(_0x363150(0x188))/0x6+-parseInt(_0x363150(0x15e))/0x7+-parseInt(_0x363150(0x187))/0x8*(-parseInt(_0x363150(0x11e))/0x9);if(_0x58a653===_0x4532ff)break;else _0x3acad5['push'](_0x3acad5['shift']());}catch(_0x219f15){_0x3acad5['push'](_0x3acad5['shift']());}}}(_0x56a9,0x661aa));function _0x56a9(){const _0x56f6a8=['tick','detachFromParentActor','applyQuaternion','24CXNmZF','1299930jMWYzo','app','setFromObject','children','onDoubleClicked','onDoubleClickDelegate','targetComponent\x20threeObject\x20is\x20invalid','copy','detachFromParentComponent','childrenComponents','44uxLZQc','2169621huimcx','_onClickDelegate','matrixWorld','setScale','layers','position','getComponentById','markRenderStateDirty','_onDoubleClickDelegate','getScale','getWorldDirection','target\x20threeObject\x20is\x20invalid','getPosition','LYObject','removeChildComponent','_onHoverBeginDelegate','world','order','192513DvvNtV','attachComponent','updateMatrixWorld','setMatrix','matrix','KeepRelative','onHoverEndDelegate','destroy','getWorldUpDirection','onClickDelegate','onHoverBeginDelegate','newComponent\x20threeObject\x20is\x20invalid','onClicked','setLayers','getWorldForwardDirection','quaternion','decompose','remove','isEuler','setWorldMatrix','set','clone','bCanClick','getCenter','threeObject','forEach','_parentActor','isEmpty','threeObject\x20is\x20invalid','getBoundsCenterPositionWS','parent','getRotation','push','SceneComponent','detachComponent','number','length','80194PQcRAR','getWorldRotation','invert','viewport','parentComponent','userData','visible','getWorldMatrix','1647125ruWVKW','4855095ZBNqFT','scale','worldToLocal','setPosition','destroyObject','setVisible','isClickEnabled','uuid','matrixAutoUpdate','destroyChildren','isVisible','parentActor','compose','getWorldPosition','obj','max','setFromQuaternion','getQuaternion','add','getWorldQuaternion','bCanHover','setQuaternion\x20failed,param\x20is\x20invalid','min','588494DETFuI','onHorveringEnd','getBoundsTopCenterPositionWS','broadcast','_onHoverEndDelegate','getBounds','getWorldScale','onAddedToWorld','KeepWorld','createDefaultObject','updateMatrix','isQuaternion','isHoverEnabled','error','isVector3'];_0x56a9=function(){return _0x56f6a8;};return _0x56a9();}function _0x3a84(_0x3e7653,_0x2ed1c8){_0x3e7653=_0x3e7653-0x11d;const _0x56a9cb=_0x56a9();let _0x3a8431=_0x56a9cb[_0x3e7653];return _0x3a8431;}class SceneComponent extends Component{set[_0x1bf6b5(0x169)](_0x2c187f){const _0x4904b1=_0x1bf6b5;this[_0x4904b1(0x191)][_0x4904b1(0x149)](_0xe43e86=>{const _0xd7eec6=_0x4904b1;_0xe43e86[_0xd7eec6(0x169)]=_0x2c187f;}),this[_0x4904b1(0x14a)]=_0x2c187f;}get['parentActor'](){return this['_parentActor'];}get[_0x1bf6b5(0x13a)](){const _0x16a988=_0x1bf6b5;return this[_0x16a988(0x12d)];}get[_0x1bf6b5(0x136)](){return this['_onHoverEndDelegate'];}get[_0x1bf6b5(0x139)](){const _0x36bd36=_0x1bf6b5;return this[_0x36bd36(0x11f)];}get[_0x1bf6b5(0x18d)](){const _0x3d31f7=_0x1bf6b5;return this[_0x3d31f7(0x126)];}get[_0x1bf6b5(0x12e)](){const _0x5ac9cc=_0x1bf6b5;return this['app'][_0x5ac9cc(0x12e)];}constructor(_0x225fb2,_0x1333d8){const _0x639a6e=_0x1bf6b5;super(_0x1333d8),this[_0x639a6e(0x172)]=![],this[_0x639a6e(0x146)]=![],this[_0x639a6e(0x12d)]=new Delegate(),this[_0x639a6e(0x179)]=new Delegate(),this[_0x639a6e(0x11f)]=new Delegate(),this[_0x639a6e(0x126)]=new Delegate(),this[_0x639a6e(0x189)]=_0x225fb2,this['name']=_0x639a6e(0x151);}[_0x1bf6b5(0x17e)](){return new Object3D();}['tick'](_0x5d891c){const _0x2c070d=_0x1bf6b5;super[_0x2c070d(0x184)](_0x5d891c),this[_0x2c070d(0x191)]['forEach'](_0x127af4=>{const _0x41c48e=_0x2c070d;_0x127af4[_0x41c48e(0x184)](_0x5d891c);});}get[_0x1bf6b5(0x168)](){const _0x4a9bef=_0x1bf6b5;if(!this[_0x4a9bef(0x16c)])return ![];return this[_0x4a9bef(0x16c)][_0x4a9bef(0x15b)];}[_0x1bf6b5(0x163)](_0x495c26){const _0x14dd2f=_0x1bf6b5;if(!this[_0x14dd2f(0x16c)])throw Error('threeObject\x20is\x20invalid');this[_0x14dd2f(0x16c)][_0x14dd2f(0x15b)]=_0x495c26,this[_0x14dd2f(0x12e)]&&this['world'][_0x14dd2f(0x158)][_0x14dd2f(0x125)]();}[_0x1bf6b5(0x13d)](_0x2c9a6d){const _0x33b983=_0x1bf6b5;if(!this[_0x33b983(0x16c)])throw Error('threeObject\x20is\x20invalid');this[_0x33b983(0x16c)][_0x33b983(0x122)][_0x33b983(0x144)](_0x2c9a6d);let _0x4b48b3=this[_0x33b983(0x191)];_0x4b48b3[_0x33b983(0x149)](_0x2709cc=>{const _0x245c04=_0x33b983;_0x2709cc[_0x245c04(0x13d)](_0x2c9a6d);});}['getComponentById'](_0x230c78,_0x5c8a87=!![]){const _0x8e0412=_0x1bf6b5;if(this[_0x8e0412(0x165)]===_0x230c78)return this;if(_0x5c8a87){let _0xd19129=this[_0x8e0412(0x191)];for(let _0x29e4f2=0x0;_0x29e4f2<_0xd19129['length'];++_0x29e4f2){let _0x1bd0a4=_0xd19129[_0x29e4f2][_0x8e0412(0x124)](_0x230c78,_0x5c8a87);if(_0x1bd0a4)return _0x1bd0a4;}}else {let _0x122602=this['childrenComponents'];for(let _0x35802e=0x0;_0x35802e<_0x122602[_0x8e0412(0x154)];++_0x35802e){let _0x2c7849=_0x122602[_0x35802e];if(_0x2c7849[_0x8e0412(0x165)]===_0x230c78)return _0x2c7849;}}return null;}[_0x1bf6b5(0x14d)](){const _0x553134=_0x1bf6b5;let _0x67c4c2=new Vector3();return this[_0x553134(0x17a)]()[_0x553134(0x147)](_0x67c4c2),this[_0x553134(0x16b)]();}[_0x1bf6b5(0x177)](){const _0x171bd6=_0x1bf6b5;let _0x4428e7=new Vector3(),_0x120b79=this[_0x171bd6(0x17a)]();return _0x120b79[_0x171bd6(0x147)](_0x4428e7),_0x4428e7['y']=_0x120b79[_0x171bd6(0x16d)]['y'],_0x4428e7;}['getBoundsBottomCenterPositionWS'](){const _0x1f9fd3=_0x1bf6b5;let _0x38c5f6=new Vector3(),_0x457a80=this[_0x1f9fd3(0x17a)]();return _0x457a80['getCenter'](_0x38c5f6),_0x38c5f6['y']=_0x457a80[_0x1f9fd3(0x174)]['y'],_0x38c5f6;}['getBounds'](){const _0x561360=_0x1bf6b5;if(!this[_0x561360(0x16c)])throw Error(_0x561360(0x14c));let _0x18a7d6=new Box3();return _0x18a7d6[_0x561360(0x18a)](this[_0x561360(0x16c)],![]),_0x18a7d6[_0x561360(0x14b)]()&&(_0x18a7d6[_0x561360(0x174)]=_0x18a7d6[_0x561360(0x16d)]=this[_0x561360(0x16b)]()),_0x18a7d6;}get['parentComponent'](){const _0x224e6e=_0x1bf6b5;var _0x33672c,_0x19f638;if(!this[_0x224e6e(0x16c)])throw Error(_0x224e6e(0x14c));let _0x1cf21e=(_0x19f638=(_0x33672c=this[_0x224e6e(0x16c)])===null||_0x33672c===void 0?void 0:_0x33672c['parent'])===null||_0x19f638===void 0?void 0:_0x19f638[_0x224e6e(0x15a)][_0x224e6e(0x12b)];if(!_0x1cf21e)return null;if(!(_0x1cf21e instanceof SceneComponent))return null;if(_0x1cf21e[_0x224e6e(0x169)]!==this['parentActor'])return null;return _0x1cf21e;}get[_0x1bf6b5(0x191)](){const _0x772b41=_0x1bf6b5;if(!this[_0x772b41(0x16c)])throw Error(_0x772b41(0x14c));let _0xbd7b97=[];for(let _0x8b3a6e=0x0;_0x8b3a6e<this[_0x772b41(0x16c)]['children'][_0x772b41(0x154)];++_0x8b3a6e){if(!this[_0x772b41(0x16c)][_0x772b41(0x18b)][_0x8b3a6e][_0x772b41(0x15a)][_0x772b41(0x12b)])continue;this['obj'][_0x772b41(0x18b)][_0x8b3a6e][_0x772b41(0x15a)]['LYObject'][_0x772b41(0x169)]===this['parentActor']&&_0xbd7b97[_0x772b41(0x150)](this['obj']['children'][_0x8b3a6e][_0x772b41(0x15a)][_0x772b41(0x12b)]);}return _0xbd7b97;}[_0x1bf6b5(0x17c)](_0x812af2){const _0x2dc7ab=_0x1bf6b5;let _0x310add=this[_0x2dc7ab(0x191)];for(let _0x43293e=0x0;_0x43293e<_0x310add[_0x2dc7ab(0x154)];++_0x43293e){_0x310add[_0x43293e][_0x2dc7ab(0x17c)](_0x812af2);}}[_0x1bf6b5(0x137)](){const _0x566e29=_0x1bf6b5;this[_0x566e29(0x181)]=![],this[_0x566e29(0x164)]=![],this['detachFromParentActor'](),this[_0x566e29(0x190)](),this[_0x566e29(0x167)](),this[_0x566e29(0x162)](),this['world']&&this[_0x566e29(0x12e)][_0x566e29(0x158)]['markRenderStateDirty']();}[_0x1bf6b5(0x162)](){const _0x1fd170=_0x1bf6b5;if(!this[_0x1fd170(0x16c)])return;this[_0x1fd170(0x16c)][_0x1fd170(0x14e)]&&this['obj'][_0x1fd170(0x14e)][_0x1fd170(0x141)](this['obj']),super[_0x1fd170(0x162)]();}[_0x1bf6b5(0x12a)](){const _0x3e8240=_0x1bf6b5;if(!this[_0x3e8240(0x16c)])throw Error(_0x3e8240(0x14c));if(this[_0x3e8240(0x16c)][_0x3e8240(0x166)])return this[_0x3e8240(0x16c)][_0x3e8240(0x123)]['clone']();else {const _0x428942=new Vector3(),_0x3ba416=new Quaternion(),_0x3e66a2=new Vector3();return this[_0x3e8240(0x16c)][_0x3e8240(0x134)][_0x3e8240(0x140)](_0x428942,_0x3ba416,_0x3e66a2),_0x428942;}}[_0x1bf6b5(0x161)](..._0x3281fd){const _0x50c57a=_0x1bf6b5;var _0x155491;if(!this[_0x50c57a(0x16c)])throw Error(_0x50c57a(0x14c));let _0x81f67f=null;if(_0x3281fd[_0x50c57a(0x154)]===0x1&&((_0x155491=_0x3281fd[0x0])===null||_0x155491===void 0?void 0:_0x155491[_0x50c57a(0x183)])){const _0xe754dc=_0x3281fd[0x0];_0x81f67f=new Vector3(_0xe754dc['x'],_0xe754dc['y'],_0xe754dc['z']);}else _0x3281fd['length']===0x3&&typeof _0x3281fd[0x0]==='number'&&typeof _0x3281fd[0x1]==='number'&&typeof _0x3281fd[0x2]===_0x50c57a(0x153)&&(_0x81f67f=new Vector3(_0x3281fd[0x0],_0x3281fd[0x1],_0x3281fd[0x2]));if(!_0x81f67f)return;this[_0x50c57a(0x16c)][_0x50c57a(0x123)][_0x50c57a(0x18f)](_0x81f67f),!this[_0x50c57a(0x16c)][_0x50c57a(0x166)]&&this[_0x50c57a(0x16c)][_0x50c57a(0x134)][_0x50c57a(0x161)](_0x81f67f['x'],_0x81f67f['y'],_0x81f67f['z']),this[_0x50c57a(0x16c)][_0x50c57a(0x17f)](),this[_0x50c57a(0x16c)]['updateMatrixWorld'](!![]),this[_0x50c57a(0x12e)]&&this[_0x50c57a(0x12e)][_0x50c57a(0x158)][_0x50c57a(0x125)]();}[_0x1bf6b5(0x14f)](){const _0x27ea00=_0x1bf6b5;if(!this[_0x27ea00(0x16c)])throw Error(_0x27ea00(0x14c));if(this[_0x27ea00(0x16c)][_0x27ea00(0x166)])return this[_0x27ea00(0x16c)]['rotation'][_0x27ea00(0x145)]();else {const _0x18cd74=new Vector3(),_0x331036=new Quaternion(),_0x351864=new Vector3();return this['obj'][_0x27ea00(0x134)][_0x27ea00(0x140)](_0x18cd74,_0x331036,_0x351864),new Euler()[_0x27ea00(0x16e)](_0x331036);}}['setRotation'](..._0x335dc3){const _0x346407=_0x1bf6b5;var _0x3283e4;if(!this[_0x346407(0x16c)])throw Error(_0x346407(0x14c));let _0x4744e2=null;if((_0x3283e4=_0x335dc3[0x0])===null||_0x3283e4===void 0?void 0:_0x3283e4[_0x346407(0x142)]){const _0x1708ea=_0x335dc3[0x0];_0x4744e2=new Euler(_0x1708ea['x'],_0x1708ea['y'],_0x1708ea['z'],_0x1708ea[_0x346407(0x12f)]);}else typeof _0x335dc3[0x0]===_0x346407(0x153)&&typeof _0x335dc3[0x1]==='number'&&typeof _0x335dc3[0x2]===_0x346407(0x153)&&(_0x4744e2=new Euler(_0x335dc3[0x0],_0x335dc3[0x1],_0x335dc3[0x2]));if(!_0x4744e2)return;this[_0x346407(0x16c)]['rotation']['copy'](_0x4744e2),this['obj']['updateMatrix'](),this[_0x346407(0x16c)][_0x346407(0x132)](!![]),this[_0x346407(0x12e)]&&this[_0x346407(0x12e)]['viewport'][_0x346407(0x125)]();}[_0x1bf6b5(0x16f)](){const _0x51ab59=_0x1bf6b5;if(!this[_0x51ab59(0x16c)])throw Error(_0x51ab59(0x14c));if(this[_0x51ab59(0x16c)][_0x51ab59(0x166)])return this[_0x51ab59(0x16c)][_0x51ab59(0x13f)][_0x51ab59(0x145)]();else {const _0x23a456=new Vector3(),_0x1b4f11=new Quaternion(),_0x3a612b=new Vector3();return this[_0x51ab59(0x16c)][_0x51ab59(0x134)]['decompose'](_0x23a456,_0x1b4f11,_0x3a612b),_0x1b4f11;}}['setQuaternion'](..._0xd4a9a8){const _0x17a765=_0x1bf6b5;var _0x1a2270;if(!this[_0x17a765(0x16c)])throw Error('threeObject\x20is\x20invalid');let _0x4945cf=null;if((_0x1a2270=_0xd4a9a8[0x0])===null||_0x1a2270===void 0?void 0:_0x1a2270[_0x17a765(0x180)]){const _0x3b7629=_0xd4a9a8[0x0];_0x4945cf=new Quaternion(_0x3b7629['x'],_0x3b7629['y'],_0x3b7629['z'],_0x3b7629['w']);}else typeof _0xd4a9a8[0x0]===_0x17a765(0x153)&&typeof _0xd4a9a8[0x1]===_0x17a765(0x153)&&typeof _0xd4a9a8[0x2]===_0x17a765(0x153)&&typeof _0xd4a9a8[0x3]===_0x17a765(0x153)&&(_0x4945cf=new Quaternion(_0xd4a9a8[0x0],_0xd4a9a8[0x1],_0xd4a9a8[0x2],_0xd4a9a8[0x3]));if(!_0x4945cf){console[_0x17a765(0x182)](_0x17a765(0x173),_0xd4a9a8);return;}this[_0x17a765(0x16c)][_0x17a765(0x13f)][_0x17a765(0x18f)](_0x4945cf);if(!this[_0x17a765(0x16c)][_0x17a765(0x166)]){const _0x18a29c=new Vector3(),_0x44afe3=new Quaternion(),_0x1397f7=new Vector3();this['obj']['matrix']['decompose'](_0x18a29c,_0x44afe3,_0x1397f7),this[_0x17a765(0x16c)][_0x17a765(0x134)][_0x17a765(0x16a)](_0x18a29c,_0x4945cf,_0x1397f7);}this[_0x17a765(0x12e)]&&this[_0x17a765(0x12e)][_0x17a765(0x158)][_0x17a765(0x125)](),this[_0x17a765(0x16c)][_0x17a765(0x17f)](),this[_0x17a765(0x16c)][_0x17a765(0x132)](!![]);}[_0x1bf6b5(0x127)](){const _0x2090c9=_0x1bf6b5;if(!this[_0x2090c9(0x16c)])throw Error(_0x2090c9(0x14c));if(this['obj'][_0x2090c9(0x166)])return this['obj'][_0x2090c9(0x15f)][_0x2090c9(0x145)]();else {const _0x3251b9=new Vector3(),_0x550ecc=new Quaternion(),_0x10ce3f=new Vector3();return this['obj'][_0x2090c9(0x134)]['decompose'](_0x3251b9,_0x550ecc,_0x10ce3f),_0x10ce3f;}}[_0x1bf6b5(0x121)](..._0x4ae693){const _0x491213=_0x1bf6b5;var _0x3ea8e6;if(!this[_0x491213(0x16c)])throw Error(_0x491213(0x14c));let _0x211f97=null;if((_0x3ea8e6=_0x4ae693[0x0])===null||_0x3ea8e6===void 0?void 0:_0x3ea8e6[_0x491213(0x183)]){const _0x6d2fd=_0x4ae693[0x0];_0x211f97=new Vector3(_0x6d2fd['x'],_0x6d2fd['y'],_0x6d2fd['z']);}else typeof _0x4ae693[0x0]===_0x491213(0x153)&&typeof _0x4ae693[0x1]==='number'&&typeof _0x4ae693[0x2]==='number'&&(_0x211f97=new Vector3(_0x4ae693[0x0],_0x4ae693[0x1],_0x4ae693[0x2]));if(!_0x211f97)return;this[_0x491213(0x16c)][_0x491213(0x15f)][_0x491213(0x18f)](_0x211f97),this[_0x491213(0x16c)][_0x491213(0x17f)](),this[_0x491213(0x16c)]['updateMatrixWorld'](!![]),this['world']&&this['world'][_0x491213(0x158)][_0x491213(0x125)]();}['getMatrix'](){const _0xf09e4c=_0x1bf6b5;if(!this[_0xf09e4c(0x16c)])throw Error(_0xf09e4c(0x14c));return this['obj'][_0xf09e4c(0x134)];}[_0x1bf6b5(0x133)](_0x35399a){const _0xa56290=_0x1bf6b5;var _0x4f4d58;if(!this[_0xa56290(0x16c)])throw Error(_0xa56290(0x14c));_0x35399a[_0xa56290(0x140)](this[_0xa56290(0x16c)][_0xa56290(0x123)],this[_0xa56290(0x16c)][_0xa56290(0x13f)],this['obj'][_0xa56290(0x15f)]),this[_0xa56290(0x16c)][_0xa56290(0x17f)](),this[_0xa56290(0x16c)][_0xa56290(0x132)](!![]),(_0x4f4d58=this[_0xa56290(0x12e)])===null||_0x4f4d58===void 0?void 0:_0x4f4d58[_0xa56290(0x158)][_0xa56290(0x125)]();}[_0x1bf6b5(0x16b)](){const _0xf8e1fc=_0x1bf6b5;if(!this[_0xf8e1fc(0x16c)])throw Error('threeObject\x20is\x20invalid');let _0x5adfe8=new Vector3();return this[_0xf8e1fc(0x16c)][_0xf8e1fc(0x16b)](_0x5adfe8),_0x5adfe8;}[_0x1bf6b5(0x156)](){const _0x81999a=_0x1bf6b5;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');let _0x7981c3=new Quaternion();return this[_0x81999a(0x16c)][_0x81999a(0x171)](_0x7981c3),new Euler()['setFromQuaternion'](_0x7981c3);}[_0x1bf6b5(0x171)](){const _0x46fe03=_0x1bf6b5;if(!this[_0x46fe03(0x16c)])throw Error(_0x46fe03(0x14c));let _0xbe0d09=new Quaternion();return this[_0x46fe03(0x16c)]['getWorldQuaternion'](_0xbe0d09),_0xbe0d09;}[_0x1bf6b5(0x17b)](){const _0x1f5aa8=_0x1bf6b5;if(!this[_0x1f5aa8(0x16c)])throw Error(_0x1f5aa8(0x14c));let _0x479458=new Vector3();return this[_0x1f5aa8(0x16c)][_0x1f5aa8(0x17b)](_0x479458),_0x479458;}[_0x1bf6b5(0x15c)](){const _0x52f1e5=_0x1bf6b5;if(!this['obj'])throw Error(_0x52f1e5(0x14c));return this[_0x52f1e5(0x16c)][_0x52f1e5(0x132)](!![]),this[_0x52f1e5(0x16c)]['matrixWorld'][_0x52f1e5(0x145)]();}[_0x1bf6b5(0x143)](_0x26d53e){const _0x372d4f=_0x1bf6b5;if(!this['obj'])throw Error(_0x372d4f(0x14c));if(this['obj']['parent']){this[_0x372d4f(0x16c)][_0x372d4f(0x14e)][_0x372d4f(0x132)](!![]);const _0x30f832=this[_0x372d4f(0x16c)][_0x372d4f(0x14e)][_0x372d4f(0x120)]['clone']()[_0x372d4f(0x157)](),_0x59318f=new Matrix4()['multiplyMatrices'](_0x30f832,_0x26d53e);this['setMatrix'](_0x59318f);}else this[_0x372d4f(0x133)](_0x26d53e);this[_0x372d4f(0x16c)][_0x372d4f(0x132)](!![]),this[_0x372d4f(0x12e)]&&this[_0x372d4f(0x12e)][_0x372d4f(0x158)][_0x372d4f(0x125)]();}[_0x1bf6b5(0x13e)](){const _0x759775=_0x1bf6b5;if(!this[_0x759775(0x16c)])throw Error(_0x759775(0x14c));let _0xc29989=new Vector3();return this[_0x759775(0x16c)][_0x759775(0x128)](_0xc29989),_0xc29989;}[_0x1bf6b5(0x138)](){const _0x144c57=_0x1bf6b5;if(!this[_0x144c57(0x16c)])throw Error(_0x144c57(0x14c));let _0x5dc080=new Vector3(0x0,0x1,0x0);return _0x5dc080[_0x144c57(0x186)](this['getWorldQuaternion']()),_0x5dc080;}['getWorldRightDirection'](){const _0x1972fa=_0x1bf6b5;if(!this['obj'])throw Error(_0x1972fa(0x14c));let _0x3b5e5d=new Vector3(0x1,0x0,0x0);return _0x3b5e5d[_0x1972fa(0x186)](this[_0x1972fa(0x171)]()),_0x3b5e5d;}[_0x1bf6b5(0x160)](_0x206403){const _0x4317be=_0x1bf6b5;if(!this[_0x4317be(0x16c)])throw Error(_0x4317be(0x14c));return this[_0x4317be(0x16c)][_0x4317be(0x160)](_0x206403);}['localToWorld'](_0x49cbac){const _0x36380f=_0x1bf6b5;if(!this[_0x36380f(0x16c)])throw Error(_0x36380f(0x14c));return this['obj']['localToWorld'](_0x49cbac);}[_0x1bf6b5(0x131)](_0x9605e3){const _0x507558=_0x1bf6b5;if(!this[_0x507558(0x16c)])throw Error('threeObject\x20is\x20invalid');if(!_0x9605e3[_0x507558(0x148)])throw Error('newComponent\x20threeObject\x20is\x20invalid');this['obj']['add'](_0x9605e3[_0x507558(0x148)]),this[_0x507558(0x12e)]&&_0x9605e3['onAddedToWorld'](this[_0x507558(0x12e)]);}[_0x1bf6b5(0x152)](_0x5a7ca2){const _0x154a0f=_0x1bf6b5;if(!this[_0x154a0f(0x16c)])throw Error(_0x154a0f(0x14c));if(!_0x5a7ca2[_0x154a0f(0x148)])throw Error(_0x154a0f(0x129));this['obj'][_0x154a0f(0x141)](_0x5a7ca2['threeObject']);}['addChildComponent'](_0x1b975d,_0x4d4367=AttachmentRules[_0x1bf6b5(0x135)]){const _0x52151e=_0x1bf6b5;if(!this[_0x52151e(0x16c)])throw Error('threeObject\x20is\x20invalid');if(!_0x1b975d[_0x52151e(0x148)])throw Error(_0x52151e(0x13b));_0x1b975d[_0x52151e(0x169)]=this[_0x52151e(0x169)];if(_0x4d4367===AttachmentRules[_0x52151e(0x17d)]){let _0x5e8eba=_0x1b975d[_0x52151e(0x15c)]();this[_0x52151e(0x16c)]['add'](_0x1b975d[_0x52151e(0x148)]),_0x1b975d[_0x52151e(0x143)](_0x5e8eba);}else this[_0x52151e(0x16c)][_0x52151e(0x170)](_0x1b975d[_0x52151e(0x148)]);this[_0x52151e(0x12e)]&&_0x1b975d[_0x52151e(0x17c)](this[_0x52151e(0x12e)]),this[_0x52151e(0x16c)][_0x52151e(0x17f)](),this[_0x52151e(0x16c)]['updateMatrixWorld'](!![]);}['removeChildComponent'](_0x52b386){const _0x4ba078=_0x1bf6b5;if(!this[_0x4ba078(0x16c)])throw Error(_0x4ba078(0x14c));if(!_0x52b386[_0x4ba078(0x148)])throw Error(_0x4ba078(0x18e));this[_0x4ba078(0x16c)][_0x4ba078(0x141)](_0x52b386[_0x4ba078(0x148)]);}[_0x1bf6b5(0x190)](){const _0x450454=_0x1bf6b5;this[_0x450454(0x159)]&&this[_0x450454(0x159)][_0x450454(0x12c)](this);}[_0x1bf6b5(0x185)](){const _0x70db15=_0x1bf6b5;this['parentActor']&&(this[_0x70db15(0x169)]=null);}['destroyChildren'](){const _0x15a9c8=_0x1bf6b5;var _0x33115a;if(!this['obj'])return;let _0x461cda=[];for(let _0x4321db=0x0;_0x4321db<this[_0x15a9c8(0x16c)][_0x15a9c8(0x18b)][_0x15a9c8(0x154)];++_0x4321db){let _0xea5157=(_0x33115a=this['obj'][_0x15a9c8(0x18b)][_0x4321db][_0x15a9c8(0x15a)])===null||_0x33115a===void 0?void 0:_0x33115a[_0x15a9c8(0x12b)];_0xea5157&&_0x461cda[_0x15a9c8(0x150)](_0xea5157);}_0x461cda[_0x15a9c8(0x149)](_0x3ce970=>{const _0x54ba38=_0x15a9c8;_0x3ce970[_0x54ba38(0x137)]();}),_0x461cda=[];}set[_0x1bf6b5(0x181)](_0x49bd32){const _0x31099b=_0x1bf6b5;this[_0x31099b(0x172)]=_0x49bd32;let _0x4b555d=this['childrenComponents'];for(let _0x588a0e=0x0;_0x588a0e<_0x4b555d[_0x31099b(0x154)];++_0x588a0e){_0x4b555d[_0x588a0e][_0x31099b(0x181)]=this[_0x31099b(0x172)];}}get['isHoverEnabled'](){return this['bCanHover'];}set[_0x1bf6b5(0x164)](_0x1af69f){const _0xc5520b=_0x1bf6b5;this[_0xc5520b(0x146)]=_0x1af69f;let _0x294f98=this[_0xc5520b(0x191)];for(let _0x2040bf=0x0;_0x2040bf<_0x294f98[_0xc5520b(0x154)];++_0x2040bf){_0x294f98[_0x2040bf][_0xc5520b(0x164)]=this[_0xc5520b(0x146)];}}get['isClickEnabled'](){const _0x802a35=_0x1bf6b5;return this[_0x802a35(0x146)];}['onHorveringBegin'](){const _0x120c45=_0x1bf6b5;this[_0x120c45(0x12d)][_0x120c45(0x178)]();}[_0x1bf6b5(0x176)](){const _0x37febf=_0x1bf6b5;this[_0x37febf(0x179)][_0x37febf(0x178)]();}[_0x1bf6b5(0x13c)](){const _0x23801b=_0x1bf6b5;this['_onClickDelegate'][_0x23801b(0x178)]();}[_0x1bf6b5(0x18c)](){const _0x49acb7=_0x1bf6b5;this[_0x49acb7(0x126)][_0x49acb7(0x178)]();}}
|
|
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
|
-
const
|
|
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
|
-
var
|
|
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
|
-
(function(
|
|
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
|
-
function _0x3572(_0x269e85,_0x39d44b){_0x269e85=_0x269e85-0x6c;const _0x12d302=_0x12d3();let _0x357229=_0x12d302[_0x269e85];return _0x357229;}const _0x58960f=_0x3572;(function(_0x529577,_0xf13b56){const _0x2a431d=_0x3572,_0x259ee5=_0x529577();while(!![]){try{const _0x4b372c=parseInt(_0x2a431d(0xb0))/0x1+-parseInt(_0x2a431d(0x9e))/0x2+parseInt(_0x2a431d(0xa7))/0x3*(parseInt(_0x2a431d(0x6d))/0x4)+parseInt(_0x2a431d(0x72))/0x5+-parseInt(_0x2a431d(0xaa))/0x6*(-parseInt(_0x2a431d(0x96))/0x7)+-parseInt(_0x2a431d(0x7f))/0x8+parseInt(_0x2a431d(0xb5))/0x9*(-parseInt(_0x2a431d(0xa1))/0xa);if(_0x4b372c===_0xf13b56)break;else _0x259ee5['push'](_0x259ee5['shift']());}catch(_0x5059ac){_0x259ee5['push'](_0x259ee5['shift']());}}}(_0x12d3,0xcd459));function _0x12d3(){const _0x5b539f=['isInstancedMesh','init','13669790PBMemU','loadingManager','material','rotation','loadFile','convertThreeObjectToLYObject','3iKvKLo','releaseAsset','forceRelease','28902lSHUss','Failed\x20to\x20load\x20gltf','uuid','error','name','LoadingManager','921714ctGmHU','manager','textureAssets','setKTX2Loader','addAsset','9zzRSxD','isArray','addChildComponent','dracoPath','clear','2557884hrgYZm','geometry','values','forEach','scale','380325FGkdPA','setupDracoLoader','preload','loadGltfFromPathAsync','materialAssets','addRef','setPosition','onProgress','addTextureAsset','loadGltfFromBuffer','release','dispose','textures','8326888PUbAXt','app','Object3D','userData','addGeometryAsset','assetPointer','position','type','addMaterialAsset','layers','load','onStart','clone','onLoad','children','set','materials','_dracoLoader','_ktx2Loader','isMesh','geometryAssets','geometries','parse','2408nkEgKa','setDRACOLoader','entries','checkMeshResource','traverse','onError','loadAsync','get','91330fqntEH'];_0x12d3=function(){return _0x5b539f;};return _0x12d3();}class AssetManager{constructor(_0x39b0b7,_0x1d262a){const _0x34355e=_0x3572;this[_0x34355e(0x93)]=new Map(),this['textureAssets']=new Map(),this['materialAssets']=new Map(),this[_0x34355e(0xa2)]=new LoadingManager(),this['gltfLoader']=new GLTFLoader(this[_0x34355e(0xa2)]),this[_0x34355e(0x80)]=_0x39b0b7,this[_0x34355e(0xb8)]=_0x1d262a;}get[_0x58960f(0xaf)](){const _0x244a17=_0x58960f;return this[_0x244a17(0xa2)];}get['KTX2Loader'](){const _0x2c7401=_0x58960f;return AssetManager[_0x2c7401(0x91)];}async[_0x58960f(0xa0)](){return;}[_0x58960f(0x73)](){const _0x3f9204=_0x58960f;if(!AssetManager['_dracoLoader']){AssetManager[_0x3f9204(0x90)]=new DRACOLoader();if(AssetManager[_0x3f9204(0x90)][_0x3f9204(0xb1)]){const _0x72c102=AssetManager[_0x3f9204(0x90)][_0x3f9204(0xb1)];_0x72c102[_0x3f9204(0x8a)]=undefined,_0x72c102[_0x3f9204(0x8c)]=undefined,_0x72c102[_0x3f9204(0x79)]=undefined,_0x72c102[_0x3f9204(0x9b)]=undefined;}AssetManager[_0x3f9204(0x90)]['setDecoderPath'](this[_0x3f9204(0xb8)]),AssetManager[_0x3f9204(0x90)][_0x3f9204(0x74)]();}}['convertThreeObjectToLYObject'](_0x3738ef,_0x516449){const _0x3c3328=_0x58960f,_0xa1a06=_0x516449[_0x3c3328(0x85)][_0x3c3328(0x8b)](),_0x55224f=_0x516449[_0x3c3328(0xa4)]['clone'](),_0x6d3296=_0x516449[_0x3c3328(0x71)][_0x3c3328(0x8b)]();let _0xca9220=null;const _0x2483db=_0x516449[_0x3c3328(0x8d)];_0x516449[_0x3c3328(0x8d)]=[];if(_0x516449[_0x3c3328(0x86)]==='Group'||_0x516449[_0x3c3328(0x86)]===_0x3c3328(0x81))_0xca9220=new SceneComponent(this[_0x3c3328(0x80)],_0x516449[_0x3c3328(0xac)]);else {if(_0x516449[_0x3c3328(0x9f)]){const _0x5a2ce0=_0x516449;_0xca9220=new InstanceMeshComponent(this[_0x3c3328(0x80)],_0x5a2ce0,_0x5a2ce0[_0x3c3328(0xac)]),_0xca9220['name']=_0x5a2ce0[_0x3c3328(0xae)],_0x516449[_0x3c3328(0x88)]['set'](0x0);}else {if(_0x516449[_0x3c3328(0x92)]){const _0x5646a5=_0x516449;_0xca9220=new MeshComponent(this[_0x3c3328(0x80)],_0x5646a5[_0x3c3328(0x6e)],_0x5646a5[_0x3c3328(0xa3)],_0x5646a5[_0x3c3328(0xac)]),_0xca9220[_0x3c3328(0xae)]=_0x5646a5['name'],_0x516449[_0x3c3328(0x88)][_0x3c3328(0x8e)](0x0);}else _0xca9220=new SceneComponent(this['app'],_0x516449['uuid']);}}if(_0xca9220===null)return _0x516449[_0x3c3328(0x8d)]=_0x2483db,null;_0x3738ef[_0x3c3328(0xb7)](_0xca9220),_0xca9220[_0x3c3328(0x78)](_0xa1a06),_0xca9220['setRotation'](_0x55224f),_0xca9220['setScale'](_0x6d3296);for(const _0x5c73a0 of _0x2483db){this[_0x3c3328(0xa6)](_0xca9220,_0x5c73a0);}return _0xca9220;}['collectResourcesAndReferences'](_0xa208d4){const _0x352c33=_0x58960f,_0x7f01fd=(_0x3154da,_0x803b36)=>{const _0x35b5f4=_0x3572;var _0x53c7d6;const _0x51b0bb=(_0x53c7d6=_0x3154da[_0x35b5f4(0x9d)](_0x803b36))!==null&&_0x53c7d6!==void 0?_0x53c7d6:0x0;_0x3154da['set'](_0x803b36,_0x51b0bb+0x1);},_0x252c7c={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0xa208d4[_0x352c33(0x9a)](_0x366a4e=>{const _0x152d49=_0x352c33,_0x4d8e9f=_0x366a4e;_0x4d8e9f[_0x152d49(0x6e)]instanceof BufferGeometry&&_0x7f01fd(_0x252c7c[_0x152d49(0x94)],_0x4d8e9f[_0x152d49(0x6e)]);if(_0x4d8e9f['material']){const _0x2bab4b=Array['isArray'](_0x4d8e9f[_0x152d49(0xa3)])?_0x4d8e9f[_0x152d49(0xa3)]:[_0x4d8e9f['material']];_0x2bab4b[_0x152d49(0x70)](_0x20bb64=>{const _0x1a6bff=_0x152d49;_0x20bb64&&(_0x7f01fd(_0x252c7c[_0x1a6bff(0x8f)],_0x20bb64),Object[_0x1a6bff(0x6f)](_0x20bb64)[_0x1a6bff(0x70)](_0x5a4ac9=>{const _0x3af75e=_0x1a6bff;_0x5a4ac9 instanceof Texture&&_0x7f01fd(_0x252c7c[_0x3af75e(0x7e)],_0x5a4ac9);}));});}}),_0x252c7c[_0x352c33(0x94)]['forEach']((_0x506bf7,_0x266505)=>this[_0x352c33(0xb4)](_0x266505,_0x506bf7)),_0x252c7c['materials']['forEach']((_0x23c94b,_0x4cfdae)=>this[_0x352c33(0xb4)](_0x4cfdae,_0x23c94b)),_0x252c7c[_0x352c33(0x7e)]['forEach']((_0x147a0d,_0x487551)=>this[_0x352c33(0xb4)](_0x487551,_0x147a0d));}[_0x58960f(0x99)](_0x330c0f){const _0x1094d3=_0x58960f;_0x330c0f['geometry']&&!_0x330c0f['geometry']['userData'][_0x1094d3(0x84)]&&this['addAsset'](_0x330c0f[_0x1094d3(0x6e)]);if(_0x330c0f[_0x1094d3(0xa3)]){const _0xd2b4f5=Array[_0x1094d3(0xb6)](_0x330c0f[_0x1094d3(0xa3)])?_0x330c0f[_0x1094d3(0xa3)]:[_0x330c0f[_0x1094d3(0xa3)]];_0xd2b4f5[_0x1094d3(0x70)](_0x33dcde=>{const _0x282b60=_0x1094d3;if(!_0x33dcde)return;!_0x33dcde[_0x282b60(0x82)]['assetPointer']&&this[_0x282b60(0xb4)](_0x33dcde),Object[_0x282b60(0x6f)](_0x33dcde)[_0x282b60(0x70)](_0x9d9980=>{const _0x273c08=_0x282b60;_0x9d9980 instanceof Texture&&!_0x9d9980[_0x273c08(0x82)]['assetPointer']&&this[_0x273c08(0xb4)](_0x9d9980);});});}}async[_0x58960f(0x75)](_0x5cd71d){const _0x1cfd2a=_0x58960f;this[_0x1cfd2a(0x73)]();const _0xc17bd0=new GLTFLoader(new LoadingManager());AssetManager[_0x1cfd2a(0x90)]&&_0xc17bd0['setDRACOLoader'](AssetManager[_0x1cfd2a(0x90)]);AssetManager[_0x1cfd2a(0x91)]&&_0xc17bd0[_0x1cfd2a(0xb3)](AssetManager[_0x1cfd2a(0x91)]);try{const _0x2124aa=await _0xc17bd0[_0x1cfd2a(0x9c)](_0x5cd71d);return _0x2124aa;}catch(_0x4f4ad1){console[_0x1cfd2a(0xad)](_0x1cfd2a(0xab),_0x5cd71d,_0x4f4ad1);throw _0x4f4ad1;}}['loadGltfFromPath'](_0x5829f0,_0x22a410){const _0x549bad=_0x58960f;this[_0x549bad(0x73)]();const _0x13e785=new GLTFLoader(new LoadingManager());AssetManager[_0x549bad(0x90)]&&_0x13e785[_0x549bad(0x97)](AssetManager[_0x549bad(0x90)]),_0x13e785[_0x549bad(0x89)](_0x5829f0,_0x22a410);}[_0x58960f(0x7b)](_0x1baeb4,_0x328924,_0x272248){const _0x12a6a7=_0x58960f;this[_0x12a6a7(0x73)]();const _0x288267=new GLTFLoader(new LoadingManager());AssetManager[_0x12a6a7(0x90)]&&_0x288267[_0x12a6a7(0x97)](AssetManager['_dracoLoader']),_0x288267[_0x12a6a7(0x95)](_0x1baeb4,_0x328924,_0x272248);}[_0x58960f(0xa5)](_0x4949bf='',_0xf63410){const _0x5d1b1a=_0x58960f,_0x44a6c5=new FileLoader();_0x44a6c5[_0x5d1b1a(0x89)](_0x4949bf,_0xf63410);}[_0x58960f(0xb4)](_0x208fc7,_0x5813ae=0x0){const _0x1fe1ae=_0x58960f;if(_0x208fc7 instanceof BufferGeometry)return this['addGeometryAsset'](_0x208fc7,_0x5813ae);if(_0x208fc7 instanceof Material)return this[_0x1fe1ae(0x87)](_0x208fc7,_0x5813ae);if(_0x208fc7 instanceof Texture)return this[_0x1fe1ae(0x7a)](_0x208fc7,_0x5813ae);return undefined;}[_0x58960f(0x87)](_0x266660,_0x25c475=0x0){const _0x50f464=_0x58960f;let _0x79cc=_0x266660[_0x50f464(0x82)]['assetPointer'];if(!_0x79cc){const _0x3e3d40=new Map();Object[_0x50f464(0x98)](_0x266660)[_0x50f464(0x70)](([_0x46187a,_0x3dc798])=>{const _0x4b12d3=_0x50f464;if(_0x3dc798 instanceof Texture){const _0x1aab7f=this[_0x4b12d3(0x7a)](_0x3dc798,0x1);_0x3e3d40[_0x4b12d3(0x8e)](_0x46187a,_0x1aab7f);}}),_0x79cc=new MaterialAssetPointer(_0x266660,_0x3e3d40,_0x25c475),this[_0x50f464(0x76)][_0x50f464(0x8e)](_0x266660[_0x50f464(0xac)],_0x79cc);}else _0x79cc['addRef'](_0x25c475);return _0x79cc;}[_0x58960f(0x7a)](_0x3e2133,_0x8bd931=0x0){const _0x5e03f2=_0x58960f;let _0x1229ea=_0x3e2133[_0x5e03f2(0x82)]['assetPointer'];return !_0x1229ea?(_0x1229ea=new TextureAssetPointer(_0x3e2133,_0x8bd931),this[_0x5e03f2(0xb2)][_0x5e03f2(0x8e)](_0x3e2133[_0x5e03f2(0xac)],_0x1229ea)):_0x1229ea['addRef'](_0x8bd931),_0x1229ea;}[_0x58960f(0x83)](_0x3f6aa5,_0x13619b=0x0){const _0x5c87cd=_0x58960f;let _0x57a7b6=_0x3f6aa5[_0x5c87cd(0x82)][_0x5c87cd(0x84)];return !_0x57a7b6?(_0x57a7b6=new GeometryAssetPointer(_0x3f6aa5,_0x13619b),this[_0x5c87cd(0x93)]['set'](_0x3f6aa5['uuid'],_0x57a7b6)):_0x57a7b6[_0x5c87cd(0x77)](_0x13619b),_0x57a7b6;}[_0x58960f(0xa8)](_0x4cae74){const _0x3742cb=_0x58960f,_0x65a859=_0x4cae74[_0x3742cb(0x82)][_0x3742cb(0x84)];_0x65a859?_0x65a859[_0x3742cb(0x7c)]():_0x4cae74[_0x3742cb(0x7d)]();}['dispose'](){const _0x222f55=_0x58960f;this['clearAssets'](),AssetManager[_0x222f55(0x90)]&&(AssetManager['_dracoLoader'][_0x222f55(0x7d)](),AssetManager['_dracoLoader']=null),AssetManager['_ktx2Loader']&&(AssetManager[_0x222f55(0x91)]['dispose'](),AssetManager[_0x222f55(0x91)]=null);}['clearAssets'](){const _0x2365f6=_0x58960f;this[_0x2365f6(0x93)][_0x2365f6(0x70)](_0x263e3e=>_0x263e3e[_0x2365f6(0xa9)]()),this[_0x2365f6(0x93)][_0x2365f6(0x6c)](),this[_0x2365f6(0x76)]['forEach'](_0x36c9a1=>_0x36c9a1[_0x2365f6(0xa9)]()),this[_0x2365f6(0x76)][_0x2365f6(0x6c)](),this[_0x2365f6(0xb2)][_0x2365f6(0x70)](_0x42bc46=>_0x42bc46[_0x2365f6(0xa9)]()),this['textureAssets']['clear']();}}AssetManager['_dracoLoader']=null,AssetManager[_0x58960f(0x91)]=null;
|
|
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
|
-
const _0x3f9493=_0x165e;function _0x165e(_0x5c6811,_0x17bdf8){_0x5c6811=_0x5c6811-0xa4;const _0x25eae4=_0x25ea();let _0x165e5d=_0x25eae4[_0x5c6811];return _0x165e5d;}function _0x25ea(){const _0x27b1af=['_debugDrawEnabled','7943685BzuFGW','distance','function','1736uBcLYB','sort','2tQRxsB','computeAabbHit','onHitDelegate','intersectRayAabb','sign','push','4SdbbPI','unregisterCollider','previousOverlapPairs','min','raycastAll','add','onBeginOverlapDelegate','broadcast','length','debugDrawEnabled','Block','collisionEnabled','colliders','16443330yGgRtX','delete','has','clone','lineTraceSingle','raycast','49239kdiMjy','from','getPairKey','getWorldAABB','773373geHwmd','11417224VDcwye','normal','previousBlockPairs','1400717YvVqgb','generateHitEvents','tick','Ignore','Visibility','debugEnabled','clear','2274558bgoLYe','get','max','lineTraceMulti','multiplyScalar','generateOverlapEvents','getCollisionResponse','uuid','point','set','onEndOverlapDelegate','getCenter'];_0x25ea=function(){return _0x27b1af;};return _0x25ea();}(function(_0x5589d1,_0x7b5245){const _0x4f23d7=_0x165e,_0x42afaf=_0x5589d1();while(!![]){try{const _0x2ea71e=parseInt(_0x4f23d7(0xaf))/0x1+-parseInt(_0x4f23d7(0xc8))/0x2*(-parseInt(_0x4f23d7(0xab))/0x3)+parseInt(_0x4f23d7(0xce))/0x4*(-parseInt(_0x4f23d7(0xc3))/0x5)+-parseInt(_0x4f23d7(0xb6))/0x6+parseInt(_0x4f23d7(0xac))/0x7+parseInt(_0x4f23d7(0xc6))/0x8*(parseInt(_0x4f23d7(0xa7))/0x9)+-parseInt(_0x4f23d7(0xdb))/0xa;if(_0x2ea71e===_0x7b5245)break;else _0x42afaf['push'](_0x42afaf['shift']());}catch(_0x12d7c6){_0x42afaf['push'](_0x42afaf['shift']());}}}(_0x25ea,0xd3148));class PhysicsWorld{constructor(){const _0x243e44=_0x165e;this[_0x243e44(0xda)]=new Set(),this['previousOverlapPairs']=new Map(),this[_0x243e44(0xae)]=new Map(),this[_0x243e44(0xc2)]=![];}get['debugDrawEnabled'](){const _0x10c140=_0x165e;return this[_0x10c140(0xc2)];}set[_0x3f9493(0xd7)](_0x4e9987){const _0x103479=_0x3f9493;if(this[_0x103479(0xc2)]===_0x4e9987)return;this[_0x103479(0xc2)]=_0x4e9987;for(const _0x6af485 of this[_0x103479(0xda)]){_0x6af485[_0x103479(0xb4)]=_0x4e9987;}}['registerCollider'](_0x240c85){const _0x47f9f9=_0x3f9493;this[_0x47f9f9(0xda)][_0x47f9f9(0xd3)](_0x240c85),this[_0x47f9f9(0xc2)]&&(_0x240c85[_0x47f9f9(0xb4)]=!![]);}[_0x3f9493(0xcf)](_0xe43956){const _0x18b93c=_0x3f9493;this['colliders'][_0x18b93c(0xdc)](_0xe43956);for(const [_0x568b93,_0x5b16f0]of this['previousOverlapPairs']){(_0x5b16f0[0x0]===_0xe43956||_0x5b16f0[0x1]===_0xe43956)&&this[_0x18b93c(0xd0)]['delete'](_0x568b93);}for(const [_0x58ec89,_0x4a0b0d]of this[_0x18b93c(0xae)]){(_0x4a0b0d[0x0]===_0xe43956||_0x4a0b0d[0x1]===_0xe43956)&&this['previousBlockPairs']['delete'](_0x58ec89);}}[_0x3f9493(0xb5)](){const _0x614fb2=_0x3f9493;this['colliders']['clear'](),this[_0x614fb2(0xd0)][_0x614fb2(0xb5)](),this['previousBlockPairs']['clear']();}[_0x3f9493(0xa5)](_0x2ae5ba,_0x3c25f3,_0x3951b9=CollisionChannel[_0x3f9493(0xb3)],_0x5dde7e){const _0x561377=_0x3f9493,_0x14d8b8=_0x3c25f3['clone']()['sub'](_0x2ae5ba),_0x47137b=_0x14d8b8[_0x561377(0xd6)]();if(_0x47137b<=0.000001)return null;const _0x3745bd=_0x14d8b8[_0x561377(0xba)](0x1/_0x47137b);let _0x411e57=null;for(const _0x17af57 of this[_0x561377(0xda)]){if(_0x17af57===_0x5dde7e)continue;if(!_0x17af57[_0x561377(0xd9)])continue;const _0x247d9c=_0x17af57['getCollisionResponse'](_0x3951b9);if(_0x247d9c!==CollisionResponse[_0x561377(0xd8)])continue;const _0x52fda1=_0x17af57[_0x561377(0xaa)](new Box3()),_0x1ad28f=this[_0x561377(0xcb)](_0x2ae5ba,_0x3745bd,_0x47137b,_0x52fda1);if(!_0x1ad28f)continue;const _0x2155c2=_0x17af57,_0x3e6c1c=typeof _0x2155c2['raycast']===_0x561377(0xc5)?_0x2155c2['raycast'](_0x2ae5ba,_0x3745bd,_0x47137b):_0x1ad28f;if(!_0x3e6c1c)continue;(!_0x411e57||_0x3e6c1c['distance']<_0x411e57[_0x561377(0xc4)])&&(_0x411e57={'collider':_0x17af57,'point':_0x3e6c1c[_0x561377(0xbe)],'normal':_0x3e6c1c[_0x561377(0xad)],'distance':_0x3e6c1c['distance'],'blocking':!![]});}return _0x411e57;}[_0x3f9493(0xb9)](_0x8a8620,_0x596fc8,_0x3896e1=CollisionChannel['Visibility'],_0x20efaa){const _0x38eb4a=_0x3f9493,_0x3c1d9c=_0x596fc8[_0x38eb4a(0xa4)]()['sub'](_0x8a8620),_0x71da73=_0x3c1d9c[_0x38eb4a(0xd6)]();if(_0x71da73<=0.000001)return [];const _0x2b8b99=_0x3c1d9c[_0x38eb4a(0xba)](0x1/_0x71da73),_0x1b62df=[];for(const _0x327e4a of this[_0x38eb4a(0xda)]){if(_0x327e4a===_0x20efaa)continue;if(!_0x327e4a[_0x38eb4a(0xd9)])continue;const _0x4ace51=_0x327e4a[_0x38eb4a(0xbc)](_0x3896e1);if(_0x4ace51===CollisionResponse[_0x38eb4a(0xb2)])continue;const _0x3e9eac=_0x327e4a[_0x38eb4a(0xaa)](new Box3()),_0x1c4bc7=this['intersectRayAabb'](_0x8a8620,_0x2b8b99,_0x71da73,_0x3e9eac);if(!_0x1c4bc7)continue;const _0x5039b5=_0x327e4a;if(typeof _0x5039b5['raycastAll']===_0x38eb4a(0xc5)){const _0x546f11=_0x5039b5[_0x38eb4a(0xd2)](_0x8a8620,_0x2b8b99,_0x71da73);for(const _0x4d89e3 of _0x546f11){_0x1b62df[_0x38eb4a(0xcd)]({'collider':_0x327e4a,'point':_0x4d89e3[_0x38eb4a(0xbe)],'normal':_0x4d89e3[_0x38eb4a(0xad)],'distance':_0x4d89e3['distance'],'blocking':_0x4ace51===CollisionResponse['Block']});}}else {const _0x3543c1=typeof _0x5039b5[_0x38eb4a(0xa6)]===_0x38eb4a(0xc5)?_0x5039b5['raycast'](_0x8a8620,_0x2b8b99,_0x71da73):_0x1c4bc7;if(!_0x3543c1)continue;_0x1b62df[_0x38eb4a(0xcd)]({'collider':_0x327e4a,'point':_0x3543c1[_0x38eb4a(0xbe)],'normal':_0x3543c1[_0x38eb4a(0xad)],'distance':_0x3543c1['distance'],'blocking':_0x4ace51===CollisionResponse[_0x38eb4a(0xd8)]});}}return _0x1b62df[_0x38eb4a(0xc7)]((_0x53d110,_0x258ce0)=>_0x53d110[_0x38eb4a(0xc4)]-_0x258ce0['distance']);}[_0x3f9493(0xb1)](_0x3235f6){const _0x3163ea=_0x3f9493,_0x39a273=Array[_0x3163ea(0xa8)](this['colliders'])['filter'](_0x59a8a5=>_0x59a8a5[_0x3163ea(0xd9)]),_0xa0d789=new Map();for(const _0x30be94 of _0x39a273){_0xa0d789[_0x3163ea(0xbf)](_0x30be94,_0x30be94[_0x3163ea(0xaa)](new Box3()));}const _0x501988=new Map(),_0x4e7fb2=new Map();for(let _0x21e377=0x0;_0x21e377<_0x39a273['length'];_0x21e377++){const _0xb3116f=_0x39a273[_0x21e377],_0x186c81=_0xa0d789[_0x3163ea(0xb7)](_0xb3116f);if(!_0x186c81)continue;for(let _0x104a50=_0x21e377+0x1;_0x104a50<_0x39a273[_0x3163ea(0xd6)];_0x104a50++){const _0x507f4a=_0x39a273[_0x104a50],_0x27c353=_0xa0d789[_0x3163ea(0xb7)](_0x507f4a);if(!_0x27c353)continue;if(!_0x186c81['intersectsBox'](_0x27c353))continue;const _0x3d5d08=_0xb3116f['getMutualResponse'](_0x507f4a);if(_0x3d5d08===CollisionResponse[_0x3163ea(0xb2)])continue;const _0x1af711=this[_0x3163ea(0xa9)](_0xb3116f,_0x507f4a);_0x3d5d08===CollisionResponse['Overlap']?_0x501988[_0x3163ea(0xbf)](_0x1af711,[_0xb3116f,_0x507f4a]):_0x4e7fb2[_0x3163ea(0xbf)](_0x1af711,[_0xb3116f,_0x507f4a]);}}for(const [_0x206833,_0x4e9960]of _0x501988){if(this['previousOverlapPairs']['has'](_0x206833))continue;const [_0x1d9aa8,_0x3659f6]=_0x4e9960;_0x1d9aa8[_0x3163ea(0xbb)]&&_0x1d9aa8[_0x3163ea(0xd4)][_0x3163ea(0xd5)](_0x3659f6),_0x3659f6[_0x3163ea(0xbb)]&&_0x3659f6['onBeginOverlapDelegate'][_0x3163ea(0xd5)](_0x1d9aa8);}for(const [_0x20cabb,_0x195b37]of this['previousOverlapPairs']){if(_0x501988[_0x3163ea(0xdd)](_0x20cabb))continue;const [_0x3c3caa,_0x3543a9]=_0x195b37;_0x3c3caa[_0x3163ea(0xbb)]&&_0x3c3caa[_0x3163ea(0xc0)][_0x3163ea(0xd5)](_0x3543a9),_0x3543a9[_0x3163ea(0xbb)]&&_0x3543a9[_0x3163ea(0xc0)]['broadcast'](_0x3c3caa);}for(const [_0x3a3517,_0xf58e84]of _0x4e7fb2){if(this['previousBlockPairs'][_0x3163ea(0xdd)](_0x3a3517))continue;const [_0x210c12,_0x56cc4f]=_0xf58e84,_0x4cf994=_0xa0d789[_0x3163ea(0xb7)](_0x210c12),_0x39e603=_0xa0d789[_0x3163ea(0xb7)](_0x56cc4f);if(!_0x4cf994||!_0x39e603)continue;const _0x363dfe=this[_0x3163ea(0xc9)](_0x210c12,_0x56cc4f,_0x4cf994,_0x39e603);_0x210c12[_0x3163ea(0xb0)]&&_0x210c12['onHitDelegate'][_0x3163ea(0xd5)](_0x363dfe);if(_0x56cc4f[_0x3163ea(0xb0)]){const _0x4aa412={'self':_0x56cc4f,'other':_0x210c12,'point':_0x363dfe[_0x3163ea(0xbe)]['clone'](),'normal':_0x363dfe['normal']['clone']()['multiplyScalar'](-1),'penetrationDepth':_0x363dfe['penetrationDepth']};_0x56cc4f[_0x3163ea(0xca)][_0x3163ea(0xd5)](_0x4aa412);}}this[_0x3163ea(0xd0)]=_0x501988,this[_0x3163ea(0xae)]=_0x4e7fb2;}[_0x3f9493(0xc9)](_0x2638f4,_0x4f3f20,_0x3f5e64,_0x2a5774){const _0x3db62c=_0x3f9493,_0x106262=Math[_0x3db62c(0xd1)](_0x3f5e64[_0x3db62c(0xb8)]['x'],_0x2a5774['max']['x'])-Math[_0x3db62c(0xb8)](_0x3f5e64['min']['x'],_0x2a5774[_0x3db62c(0xd1)]['x']),_0x96f7b1=Math[_0x3db62c(0xd1)](_0x3f5e64['max']['y'],_0x2a5774[_0x3db62c(0xb8)]['y'])-Math[_0x3db62c(0xb8)](_0x3f5e64[_0x3db62c(0xd1)]['y'],_0x2a5774[_0x3db62c(0xd1)]['y']),_0x17f5ef=Math[_0x3db62c(0xd1)](_0x3f5e64[_0x3db62c(0xb8)]['z'],_0x2a5774['max']['z'])-Math[_0x3db62c(0xb8)](_0x3f5e64[_0x3db62c(0xd1)]['z'],_0x2a5774[_0x3db62c(0xd1)]['z']);let _0xc99d04=_0x106262,_0x3f1725='x';_0x96f7b1<_0xc99d04&&(_0xc99d04=_0x96f7b1,_0x3f1725='y');_0x17f5ef<_0xc99d04&&(_0xc99d04=_0x17f5ef,_0x3f1725='z');const _0x43d6f1=_0x3f5e64['getCenter'](new Vector3()),_0x4d0a4a=_0x2a5774[_0x3db62c(0xc1)](new Vector3()),_0x549945=_0x4d0a4a[_0x3db62c(0xa4)]()['sub'](_0x43d6f1),_0xba6898=new Vector3(0x0,0x0,0x0);if(_0x3f1725==='x')_0xba6898[_0x3db62c(0xbf)](Math['sign'](_0x549945['x'])||0x1,0x0,0x0);else _0x3f1725==='y'?_0xba6898['set'](0x0,Math['sign'](_0x549945['y'])||0x1,0x0):_0xba6898['set'](0x0,0x0,Math[_0x3db62c(0xcc)](_0x549945['z'])||0x1);const _0x6e2e26=new Vector3((Math[_0x3db62c(0xb8)](_0x3f5e64[_0x3db62c(0xd1)]['x'],_0x2a5774[_0x3db62c(0xd1)]['x'])+Math[_0x3db62c(0xd1)](_0x3f5e64[_0x3db62c(0xb8)]['x'],_0x2a5774['max']['x']))*0.5,(Math[_0x3db62c(0xb8)](_0x3f5e64[_0x3db62c(0xd1)]['y'],_0x2a5774[_0x3db62c(0xd1)]['y'])+Math[_0x3db62c(0xd1)](_0x3f5e64[_0x3db62c(0xb8)]['y'],_0x2a5774[_0x3db62c(0xb8)]['y']))*0.5,(Math[_0x3db62c(0xb8)](_0x3f5e64[_0x3db62c(0xd1)]['z'],_0x2a5774[_0x3db62c(0xd1)]['z'])+Math[_0x3db62c(0xd1)](_0x3f5e64[_0x3db62c(0xb8)]['z'],_0x2a5774[_0x3db62c(0xb8)]['z']))*0.5);return {'self':_0x2638f4,'other':_0x4f3f20,'point':_0x6e2e26,'normal':_0xba6898,'penetrationDepth':Math[_0x3db62c(0xb8)](0x0,_0xc99d04)};}[_0x3f9493(0xa9)](_0x280fbe,_0x32d3e6){const _0x426f8d=_0x3f9493;return _0x280fbe[_0x426f8d(0xbd)]<_0x32d3e6[_0x426f8d(0xbd)]?_0x280fbe[_0x426f8d(0xbd)]+'|'+_0x32d3e6['uuid']:_0x32d3e6[_0x426f8d(0xbd)]+'|'+_0x280fbe[_0x426f8d(0xbd)];}[_0x3f9493(0xcb)](_0x4403d5,_0x5cadb3,_0x4b766b,_0x454ad1){const _0x2ddee3=_0x3f9493;let _0x41951c=0x0,_0x38871d=_0x4b766b;const _0x1a1a82=new Vector3(0x0,0x0,0x0),_0x2bcbb5=1e-8,_0xe183f1=_0x4daddc=>{const _0x1fe005=_0x165e,_0x289f0d=_0x4403d5[_0x4daddc],_0x1f1ae7=_0x5cadb3[_0x4daddc],_0x707783=_0x454ad1[_0x1fe005(0xd1)][_0x4daddc],_0x30b47f=_0x454ad1[_0x1fe005(0xb8)][_0x4daddc];if(Math['abs'](_0x1f1ae7)<_0x2bcbb5){if(_0x289f0d<_0x707783||_0x289f0d>_0x30b47f)return ![];return !![];}const _0x1898e7=0x1/_0x1f1ae7;let _0x121103,_0x360fac;const _0x2d9253=new Vector3(0x0,0x0,0x0);_0x1f1ae7>=0x0?(_0x121103=(_0x707783-_0x289f0d)*_0x1898e7,_0x360fac=(_0x30b47f-_0x289f0d)*_0x1898e7,_0x2d9253[_0x4daddc]=-1):(_0x121103=(_0x30b47f-_0x289f0d)*_0x1898e7,_0x360fac=(_0x707783-_0x289f0d)*_0x1898e7,_0x2d9253[_0x4daddc]=0x1);_0x121103>_0x41951c&&(_0x41951c=_0x121103,_0x1a1a82['copy'](_0x2d9253));_0x360fac<_0x38871d&&(_0x38871d=_0x360fac);if(_0x41951c>_0x38871d)return ![];return !![];};if(!_0xe183f1('x')||!_0xe183f1('y')||!_0xe183f1('z'))return null;if(_0x38871d<0x0)return null;const _0x5498ba=Math['max'](0x0,_0x41951c);if(_0x5498ba>_0x4b766b)return null;return {'distance':_0x5498ba,'normal':_0x1a1a82,'point':_0x4403d5[_0x2ddee3(0xa4)]()[_0x2ddee3(0xd3)](_0x5cadb3[_0x2ddee3(0xa4)]()['multiplyScalar'](_0x5498ba))};}}
|
|
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
|
-
|
|
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
|
-
(function(
|
|
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 _0x579060=_0xe3ea;(function(_0x72611f,_0x55da06){const _0x22db0f=_0xe3ea,_0xccf83a=_0x72611f();while(!![]){try{const _0x39cfd9=parseInt(_0x22db0f(0x1c0))/0x1+-parseInt(_0x22db0f(0x1ad))/0x2*(-parseInt(_0x22db0f(0x1b8))/0x3)+parseInt(_0x22db0f(0x1ed))/0x4*(parseInt(_0x22db0f(0x1e5))/0x5)+parseInt(_0x22db0f(0x21d))/0x6*(-parseInt(_0x22db0f(0x1bf))/0x7)+parseInt(_0x22db0f(0x20e))/0x8+-parseInt(_0x22db0f(0x21b))/0x9+-parseInt(_0x22db0f(0x1ff))/0xa*(parseInt(_0x22db0f(0x1c3))/0xb);if(_0x39cfd9===_0x55da06)break;else _0xccf83a['push'](_0xccf83a['shift']());}catch(_0x1b1d0){_0xccf83a['push'](_0xccf83a['shift']());}}}(_0x4636,0xe40e5));function _0x4636(){const _0x325ae2=['lensflareEnabled','bloomPass','maxblur','1287048FGBVgx','edgeThickness','gtaoRadius','scene','lensflarePass','distanceFallOff','getViewZNode','lut3dTexture','GroundTruthAmbientOcclusion','radius','gtaoThickness','outlinePass','map','16793388RQRMPE','push','1002nxmCeW','add','createEffectUniforms','updateAllUniforms','dofMaxBlur','pulsePeriod','select','assign','smaaEnabled','1042858BinkMz','splice','traa','effectUniforms','getTextureNode','outlineObjects','downSampleRatio','camera','getStepParam','render','removeOutlineObject','6neOlli','dispose','setMRT','DepthOfField','dofPass','scale','bloomThreshold','36687UmWzIY','1629323qGpBcV','normal','edgeGlowNode','187RGbsPH','hiddenEdgeColor','find','useTemporalFiltering','updateSteps','updateCamera','needsUpdate','visibleEdgeColor','type','fxaaEnabled','getLUT3DTexture','gtaoDistanceExponent','Bloom','bloomStrength','onDirtyCallback','renderer','edgeStrength','set','aperture','edgeThicknessNode','strength','postProcessParam','div','thickness','value','threshold','ghostTint','selectedObjects','greaterThan','dofFocus','onBuildFinalNode','method','mul','traaPass','655fawHbB','postProcessing','Outline','focus','steps','gtaoDistanceFallOff','resolutionScale','edgeGlow','55608CBKNrV','buildPipeline','dofAperture','gtaoPass','setOutlineObjects','markDirty','smaa','outputNode','output','fxaa','outlineEdgeThickness','setup','outlineVisibleEdgeColor','has','bokehScaleNode','ghostAttenuationFactor','velocity','focusDistanceNode','575840dqTCtJ','processing','addOutlineObject','samples','bloomRadius','LensFlare','outlineHiddenEdgeColor','outlinePulsePeriod','depth','distanceExponent','outlineEdgeStrength','ghostSamples'];_0x4636=function(){return _0x325ae2;};return _0x4636();}function _0xe3ea(_0x1417d4,_0x1a29e8){_0x1417d4=_0x1417d4-0x1ac;const _0x463608=_0x4636();let _0xe3ea76=_0x463608[_0x1417d4];return _0xe3ea76;}class PostProcessManager{constructor(_0x441dbf,_0x2230ad,_0x4a245e,_0xefabe7,_0x1fdd66){const _0x4623b9=_0xe3ea;this[_0x4623b9(0x1e6)]=null,this[_0x4623b9(0x1b2)]=[],this[_0x4623b9(0x1b0)]=null,this[_0x4623b9(0x219)]=null,this[_0x4623b9(0x20c)]=null,this[_0x4623b9(0x1bc)]=null,this[_0x4623b9(0x1f0)]=null,this[_0x4623b9(0x1e4)]=null,this[_0x4623b9(0x212)]=null,this[_0x4623b9(0x215)]=null,this[_0x4623b9(0x1d1)]=null,this[_0x4623b9(0x1d2)]=_0x441dbf,this[_0x4623b9(0x211)]=_0x2230ad,this['camera']=_0x4a245e,this[_0x4623b9(0x1d8)]=Object[_0x4623b9(0x224)]({},_0xefabe7),this[_0x4623b9(0x1d1)]=_0x1fdd66!==null&&_0x1fdd66!==void 0?_0x1fdd66:null;}get[_0x579060(0x200)](){return this['postProcessing'];}[_0x579060(0x1c8)](_0x2d921d){const _0x2d61ed=_0x579060;this['camera']=_0x2d921d,(!this[_0x2d61ed(0x1e6)]||!this[_0x2d61ed(0x1b0)])&&(this[_0x2d61ed(0x1ee)](),this['updateAllUniforms'](),this[_0x2d61ed(0x1f2)]());}[_0x579060(0x1f8)](){const _0xfb43fc=_0x579060;(!this[_0xfb43fc(0x1e6)]||!this[_0xfb43fc(0x1b0)])&&this[_0xfb43fc(0x1ee)](),this[_0xfb43fc(0x220)](),this[_0xfb43fc(0x1f2)]();}[_0x579060(0x1ee)](){const _0x1bb5ff=_0x579060;var _0x5235f7,_0x5aeae1,_0x5a80c2,_0x114ad2,_0xe9a8fc;this['postProcessing']&&this[_0x1bb5ff(0x1e6)][_0x1bb5ff(0x1b9)]();this['postProcessing']=new PostProcessing(this['renderer']),this[_0x1bb5ff(0x219)]=null,this[_0x1bb5ff(0x20c)]=null,this['dofPass']=null,this[_0x1bb5ff(0x1f0)]=null,this['traaPass']=null,this[_0x1bb5ff(0x212)]=null,this['effectUniforms']=this[_0x1bb5ff(0x21f)]();const _0x2a3109=new Set(this[_0x1bb5ff(0x1d8)][_0x1bb5ff(0x1e9)][_0x1bb5ff(0x21a)](_0xdb8369=>_0xdb8369['type'])),_0x2f25b0=this['getStepParam'](PostProcessStepType['Antialiasing']),_0x1dd181=_0x2a3109['has'](PostProcessStepType['GroundTruthAmbientOcclusion']),_0x2c853c=(_0x2f25b0===null||_0x2f25b0===void 0?void 0:_0x2f25b0[_0x1bb5ff(0x1e2)])===_0x1bb5ff(0x1af),_0xdf516=pass(this[_0x1bb5ff(0x211)],this[_0x1bb5ff(0x1b4)]);if(_0x1dd181||_0x2c853c){const _0x8ed42e={'output':output};if(_0x1dd181)_0x8ed42e[_0x1bb5ff(0x1c1)]=normalView;if(_0x2c853c)_0x8ed42e[_0x1bb5ff(0x1fd)]=velocity;_0xdf516[_0x1bb5ff(0x1ba)](mrt(_0x8ed42e));}const _0x2ce581=_0xdf516[_0x1bb5ff(0x1b1)](_0x1bb5ff(0x1f5)),_0x1b3ced=_0xdf516['getTextureNode'](_0x1bb5ff(0x207)),_0x44e48f=_0xdf516[_0x1bb5ff(0x214)](),_0x15cf6a=_0x1dd181?_0xdf516[_0x1bb5ff(0x1b1)](_0x1bb5ff(0x1c1)):null,_0x1e845e=_0x2c853c?_0xdf516['getTextureNode'](_0x1bb5ff(0x1fd)):null,_0x4648d5=this[_0x1bb5ff(0x1b0)];let _0x4481c5=_0x2ce581;const _0x1f20ee=_0x2a3109[_0x1bb5ff(0x1fa)](PostProcessStepType[_0x1bb5ff(0x1cf)]),_0xef16d3=_0x2a3109[_0x1bb5ff(0x1fa)](PostProcessStepType['LensFlare']);if(_0x1f20ee||_0xef16d3){const _0x1c7c1b=(_0x5235f7=this[_0x1bb5ff(0x1b5)](PostProcessStepType['Bloom']))!==null&&_0x5235f7!==void 0?_0x5235f7:DefaultBloomParam;this['bloomPass']=bloom(_0x2ce581),this[_0x1bb5ff(0x20c)]['threshold']['value']=_0x1c7c1b[_0x1bb5ff(0x1dc)],this[_0x1bb5ff(0x20c)][_0x1bb5ff(0x1d7)]['value']=_0x1c7c1b[_0x1bb5ff(0x1d7)],this[_0x1bb5ff(0x20c)][_0x1bb5ff(0x217)][_0x1bb5ff(0x1db)]=_0x1c7c1b[_0x1bb5ff(0x217)];if(_0x1f20ee){const _0x2ad26d=this['bloomPass'][_0x1bb5ff(0x1e3)](_0x4648d5[_0x1bb5ff(0x1d0)]);_0x4481c5=vec4(_0x2ce581['r'][_0x1bb5ff(0x21e)](_0x2ad26d['r']),_0x2ce581['g'][_0x1bb5ff(0x21e)](_0x2ad26d['g']),_0x2ce581['b'][_0x1bb5ff(0x21e)](_0x2ad26d['b']),_0x2ce581['a']);}if(_0xef16d3){const _0x18e10e=(_0x5aeae1=this['getStepParam'](PostProcessStepType['LensFlare']))!==null&&_0x5aeae1!==void 0?_0x5aeae1:DefaultLensFlareParam;this[_0x1bb5ff(0x212)]=lensflare(this[_0x1bb5ff(0x20c)][_0x1bb5ff(0x1b1)](),{'ghostTint':vec3(_0x18e10e[_0x1bb5ff(0x1dd)][0x0],_0x18e10e[_0x1bb5ff(0x1dd)][0x1],_0x18e10e[_0x1bb5ff(0x1dd)][0x2]),'threshold':float(_0x18e10e['threshold']),'ghostSamples':float(_0x18e10e[_0x1bb5ff(0x20a)]),'ghostSpacing':float(_0x18e10e['ghostSpacing']),'ghostAttenuationFactor':float(_0x18e10e[_0x1bb5ff(0x1fc)]),'downSampleRatio':_0x18e10e[_0x1bb5ff(0x1b3)]});const _0x312753=this['lensflarePass'][_0x1bb5ff(0x1b1)]();_0x4481c5=vec4(_0x4481c5['r'][_0x1bb5ff(0x21e)](_0x312753['r']),_0x4481c5['g'][_0x1bb5ff(0x21e)](_0x312753['g']),_0x4481c5['b']['add'](_0x312753['b']),_0x4481c5['a']);}}if(_0x2a3109[_0x1bb5ff(0x1fa)](PostProcessStepType['DepthOfField'])){const _0xc1c95e=(_0x5a80c2=this['getStepParam'](PostProcessStepType['DepthOfField']))!==null&&_0x5a80c2!==void 0?_0x5a80c2:DefaultDOFParam;this[_0x1bb5ff(0x1bc)]=dof(_0x4481c5,_0x44e48f,uniform(_0xc1c95e[_0x1bb5ff(0x1e8)]),uniform(_0xc1c95e[_0x1bb5ff(0x1d5)]),uniform(_0xc1c95e['maxblur'])),_0x4481c5=vec4(this[_0x1bb5ff(0x1bc)]['r'],this[_0x1bb5ff(0x1bc)]['g'],this['dofPass']['b'],_0x2ce581['a']);}if(_0x1dd181&&_0x15cf6a){const _0x1d8a6e=(_0x114ad2=this['getStepParam'](PostProcessStepType[_0x1bb5ff(0x216)]))!==null&&_0x114ad2!==void 0?_0x114ad2:DefaultGTAOParam;this[_0x1bb5ff(0x1f0)]=ao(_0x1b3ced,_0x15cf6a,this[_0x1bb5ff(0x1b4)]),this[_0x1bb5ff(0x1f0)][_0x1bb5ff(0x1eb)]=0.5,this['gtaoPass'][_0x1bb5ff(0x208)][_0x1bb5ff(0x1db)]=_0x1d8a6e['distanceExponent'],this[_0x1bb5ff(0x1f0)]['distanceFallOff'][_0x1bb5ff(0x1db)]=_0x1d8a6e['distanceFallOff'],this[_0x1bb5ff(0x1f0)][_0x1bb5ff(0x217)][_0x1bb5ff(0x1db)]=_0x1d8a6e[_0x1bb5ff(0x217)],this[_0x1bb5ff(0x1f0)][_0x1bb5ff(0x1bd)]['value']=_0x1d8a6e[_0x1bb5ff(0x1bd)],this[_0x1bb5ff(0x1f0)][_0x1bb5ff(0x1da)]['value']=_0x1d8a6e[_0x1bb5ff(0x1da)],this[_0x1bb5ff(0x1f0)]['samples'][_0x1bb5ff(0x1db)]=_0x1d8a6e[_0x1bb5ff(0x202)],this[_0x1bb5ff(0x1f0)]['useTemporalFiltering']=_0x1d8a6e[_0x1bb5ff(0x1c6)];const _0x1312ef=this[_0x1bb5ff(0x1f0)][_0x1bb5ff(0x1b1)]()['r'];_0x4481c5=vec4(_0x4481c5['r']['mul'](_0x1312ef),_0x4481c5['g'][_0x1bb5ff(0x1e3)](_0x1312ef),_0x4481c5['b'][_0x1bb5ff(0x1e3)](_0x1312ef),_0x4481c5['a']);}if(_0x2a3109[_0x1bb5ff(0x1fa)](PostProcessStepType[_0x1bb5ff(0x1e7)])){const _0x50f0ea=(_0xe9a8fc=this[_0x1bb5ff(0x1b5)](PostProcessStepType[_0x1bb5ff(0x1e7)]))!==null&&_0xe9a8fc!==void 0?_0xe9a8fc:DefaultOutlineParams;this[_0x1bb5ff(0x219)]=outline(this[_0x1bb5ff(0x211)],this['camera'],{'selectedObjects':this[_0x1bb5ff(0x1b2)],'edgeGlow':uniform(_0x50f0ea[_0x1bb5ff(0x1ec)]),'edgeThickness':uniform(_0x50f0ea[_0x1bb5ff(0x20f)])});const {visibleEdge:_0x2ef4c6,hiddenEdge:_0x3a24a1}=this['outlinePass'],_0x3d2f89=_0x4648d5[_0x1bb5ff(0x206)][_0x1bb5ff(0x1df)](0x0)[_0x1bb5ff(0x223)](_0x4648d5['outlinePulsePeriod'],uniform(0x1)),_0x5dbe12=time[_0x1bb5ff(0x1d9)](_0x3d2f89)[_0x1bb5ff(0x1e3)](0x2),_0x2e49e5=oscSine(_0x5dbe12)[_0x1bb5ff(0x1e3)](0.5)['add'](0.5),_0x54c26f=_0x2ef4c6[_0x1bb5ff(0x1e3)](_0x4648d5[_0x1bb5ff(0x1f9)])[_0x1bb5ff(0x21e)](_0x3a24a1[_0x1bb5ff(0x1e3)](_0x4648d5[_0x1bb5ff(0x205)]))[_0x1bb5ff(0x1e3)](_0x4648d5[_0x1bb5ff(0x209)]),_0x34166c=_0x4648d5[_0x1bb5ff(0x206)][_0x1bb5ff(0x1df)](0x0),_0x1bde31=_0x34166c[_0x1bb5ff(0x223)](_0x2e49e5,float(0x1));_0x4481c5=vec4(_0x4481c5['r'][_0x1bb5ff(0x21e)](_0x54c26f['r'][_0x1bb5ff(0x1e3)](_0x1bde31)),_0x4481c5['g'][_0x1bb5ff(0x21e)](_0x54c26f['g'][_0x1bb5ff(0x1e3)](_0x1bde31)),_0x4481c5['b']['add'](_0x54c26f['b'][_0x1bb5ff(0x1e3)](_0x1bde31)),_0x4481c5['a']);}if(_0x2f25b0){if(_0x2f25b0[_0x1bb5ff(0x1e2)]==='fxaa')_0x4481c5=fxaa(_0x4481c5);else {if(_0x2f25b0[_0x1bb5ff(0x1e2)]===_0x1bb5ff(0x1f3))_0x4481c5=smaa(_0x4481c5);else _0x2f25b0[_0x1bb5ff(0x1e2)]===_0x1bb5ff(0x1af)&&_0x1e845e&&(this[_0x1bb5ff(0x1e4)]=traa(_0x4481c5,_0x1b3ced,_0x1e845e,this['camera']),_0x4481c5=this['traaPass'][_0x1bb5ff(0x1b1)]());}}_0x4481c5=this[_0x1bb5ff(0x1e1)](_0x4481c5),_0x4481c5=vec4(_0x4481c5['r'],_0x4481c5['g'],_0x4481c5['b'],_0x2ce581['a']),this[_0x1bb5ff(0x1e6)][_0x1bb5ff(0x1f4)]=_0x4481c5,this[_0x1bb5ff(0x1e6)][_0x1bb5ff(0x1c9)]=!![];}[_0x579060(0x1e1)](_0x1bc9fa){return _0x1bc9fa;}[_0x579060(0x21f)](){const _0x19ec4b=_0x579060;var _0x4ec68e,_0x261cc5,_0x454205,_0x10427e;const _0x17bc74=(_0x4ec68e=this[_0x19ec4b(0x1b5)](PostProcessStepType[_0x19ec4b(0x1cf)]))!==null&&_0x4ec68e!==void 0?_0x4ec68e:DefaultBloomParam,_0x1bae58=(_0x261cc5=this[_0x19ec4b(0x1b5)](PostProcessStepType[_0x19ec4b(0x1bb)]))!==null&&_0x261cc5!==void 0?_0x261cc5:DefaultDOFParam,_0x3385b1=(_0x454205=this['getStepParam'](PostProcessStepType[_0x19ec4b(0x216)]))!==null&&_0x454205!==void 0?_0x454205:DefaultGTAOParam,_0x679fac=(_0x10427e=this[_0x19ec4b(0x1b5)](PostProcessStepType[_0x19ec4b(0x1e7)]))!==null&&_0x10427e!==void 0?_0x10427e:DefaultOutlineParams;return {'bloomEnabled':uniform(0x0),'bloomStrength':uniform(_0x17bc74[_0x19ec4b(0x1d7)]),'bloomThreshold':uniform(_0x17bc74[_0x19ec4b(0x1dc)]),'bloomRadius':uniform(_0x17bc74[_0x19ec4b(0x217)]),'dofEnabled':uniform(0x0),'dofFocus':uniform(_0x1bae58['focus']),'dofAperture':uniform(_0x1bae58[_0x19ec4b(0x1d5)]),'dofMaxBlur':uniform(_0x1bae58[_0x19ec4b(0x20d)]),'gtaoEnabled':uniform(0x0),'gtaoScale':uniform(_0x3385b1[_0x19ec4b(0x1bd)]),'gtaoDistanceExponent':uniform(_0x3385b1[_0x19ec4b(0x208)]),'gtaoDistanceFallOff':uniform(_0x3385b1[_0x19ec4b(0x213)]),'gtaoRadius':uniform(_0x3385b1[_0x19ec4b(0x217)]),'gtaoThickness':uniform(_0x3385b1[_0x19ec4b(0x1da)]),'gtaoSamples':uniform(_0x3385b1[_0x19ec4b(0x202)]),'outlineEnabled':uniform(0x0),'outlineEdgeStrength':uniform(_0x679fac[_0x19ec4b(0x1d3)]),'outlineEdgeGlow':uniform(_0x679fac[_0x19ec4b(0x1ec)]),'outlineEdgeThickness':uniform(_0x679fac[_0x19ec4b(0x20f)]),'outlinePulsePeriod':uniform(_0x679fac[_0x19ec4b(0x222)]),'outlineVisibleEdgeColor':uniform(new Color(_0x679fac[_0x19ec4b(0x1ca)])),'outlineHiddenEdgeColor':uniform(new Color(_0x679fac[_0x19ec4b(0x1c4)])),'fxaaEnabled':uniform(0x0),'smaaEnabled':uniform(0x0),'lensflareEnabled':uniform(0x0)};}[_0x579060(0x1b5)](_0x2eb855){const _0x56624c=_0x579060;var _0x1ea09c;return (_0x1ea09c=this['postProcessParam'][_0x56624c(0x1e9)][_0x56624c(0x1c5)](_0x2c7f14=>_0x2c7f14[_0x56624c(0x1cb)]===_0x2eb855))!==null&&_0x1ea09c!==void 0?_0x1ea09c:null;}['updateAllUniforms'](){const _0x32280c=_0x579060;if(!this['effectUniforms'])return;const _0x475f2e=this['effectUniforms'],_0x477894=new Set(this['postProcessParam'][_0x32280c(0x1e9)][_0x32280c(0x21a)](_0x5795a3=>_0x5795a3[_0x32280c(0x1cb)]));_0x475f2e['bloomEnabled']['value']=_0x477894['has'](PostProcessStepType['Bloom'])?0x1:0x0,_0x475f2e['dofEnabled']['value']=_0x477894[_0x32280c(0x1fa)](PostProcessStepType[_0x32280c(0x1bb)])?0x1:0x0,_0x475f2e['gtaoEnabled'][_0x32280c(0x1db)]=_0x477894[_0x32280c(0x1fa)](PostProcessStepType['GroundTruthAmbientOcclusion'])?0x1:0x0,_0x475f2e['outlineEnabled'][_0x32280c(0x1db)]=_0x477894[_0x32280c(0x1fa)](PostProcessStepType[_0x32280c(0x1e7)])?0x1:0x0,_0x475f2e[_0x32280c(0x20b)][_0x32280c(0x1db)]=_0x477894[_0x32280c(0x1fa)](PostProcessStepType[_0x32280c(0x204)])?0x1:0x0;const _0x11d17e=this[_0x32280c(0x1b5)](PostProcessStepType['Antialiasing']);_0x11d17e?(_0x475f2e[_0x32280c(0x1cc)]['value']=_0x11d17e[_0x32280c(0x1e2)]===_0x32280c(0x1f6)?0x1:0x0,_0x475f2e[_0x32280c(0x1ac)][_0x32280c(0x1db)]=_0x11d17e[_0x32280c(0x1e2)]==='smaa'?0x1:0x0):(_0x475f2e[_0x32280c(0x1cc)][_0x32280c(0x1db)]=0x0,_0x475f2e[_0x32280c(0x1ac)][_0x32280c(0x1db)]=0x0);const _0x1a69cd=this[_0x32280c(0x1b5)](PostProcessStepType['Bloom']);_0x1a69cd&&(_0x475f2e['bloomStrength']['value']=_0x1a69cd['strength'],_0x475f2e[_0x32280c(0x1be)][_0x32280c(0x1db)]=_0x1a69cd['threshold'],_0x475f2e[_0x32280c(0x203)][_0x32280c(0x1db)]=_0x1a69cd[_0x32280c(0x217)],this[_0x32280c(0x20c)]&&(this[_0x32280c(0x20c)][_0x32280c(0x1dc)][_0x32280c(0x1db)]=_0x1a69cd[_0x32280c(0x1dc)],this[_0x32280c(0x20c)][_0x32280c(0x1d7)][_0x32280c(0x1db)]=_0x1a69cd['strength'],this['bloomPass'][_0x32280c(0x217)]['value']=_0x1a69cd[_0x32280c(0x217)]));const _0x4126f7=this[_0x32280c(0x1b5)](PostProcessStepType[_0x32280c(0x204)]);if(_0x4126f7&&this[_0x32280c(0x212)]);const _0x470a0e=this[_0x32280c(0x1b5)](PostProcessStepType[_0x32280c(0x1bb)]);_0x470a0e&&(_0x475f2e[_0x32280c(0x1e0)]['value']=_0x470a0e['focus'],_0x475f2e[_0x32280c(0x1ef)][_0x32280c(0x1db)]=_0x470a0e['aperture'],_0x475f2e[_0x32280c(0x221)][_0x32280c(0x1db)]=_0x470a0e['maxblur'],this[_0x32280c(0x1bc)]&&(this[_0x32280c(0x1bc)][_0x32280c(0x1fe)][_0x32280c(0x1db)]=_0x470a0e[_0x32280c(0x1e8)],this[_0x32280c(0x1bc)]['focalLengthNode']['value']=_0x470a0e[_0x32280c(0x1d5)],this[_0x32280c(0x1bc)][_0x32280c(0x1fb)][_0x32280c(0x1db)]=_0x470a0e['maxblur']));const _0x1dc76=this[_0x32280c(0x1b5)](PostProcessStepType[_0x32280c(0x216)]);_0x1dc76&&(_0x475f2e['gtaoScale'][_0x32280c(0x1db)]=_0x1dc76['scale'],_0x475f2e[_0x32280c(0x1ce)][_0x32280c(0x1db)]=_0x1dc76[_0x32280c(0x208)],_0x475f2e[_0x32280c(0x1ea)][_0x32280c(0x1db)]=_0x1dc76['distanceFallOff'],_0x475f2e[_0x32280c(0x210)][_0x32280c(0x1db)]=_0x1dc76[_0x32280c(0x217)],_0x475f2e[_0x32280c(0x218)][_0x32280c(0x1db)]=_0x1dc76[_0x32280c(0x1da)],_0x475f2e['gtaoSamples']['value']=_0x1dc76[_0x32280c(0x202)],this[_0x32280c(0x1f0)]&&(this[_0x32280c(0x1f0)]['distanceExponent'][_0x32280c(0x1db)]=_0x1dc76[_0x32280c(0x208)],this[_0x32280c(0x1f0)][_0x32280c(0x213)][_0x32280c(0x1db)]=_0x1dc76[_0x32280c(0x213)],this['gtaoPass'][_0x32280c(0x217)]['value']=_0x1dc76[_0x32280c(0x217)],this[_0x32280c(0x1f0)][_0x32280c(0x1bd)][_0x32280c(0x1db)]=_0x1dc76[_0x32280c(0x1bd)],this[_0x32280c(0x1f0)]['thickness'][_0x32280c(0x1db)]=_0x1dc76[_0x32280c(0x1da)],this[_0x32280c(0x1f0)][_0x32280c(0x202)]['value']=_0x1dc76['samples'],this['gtaoPass'][_0x32280c(0x1c6)]=_0x1dc76['useTemporalFiltering']));const _0x1b34e9=this[_0x32280c(0x1b5)](PostProcessStepType['Outline']);_0x1b34e9&&(_0x475f2e[_0x32280c(0x209)][_0x32280c(0x1db)]=_0x1b34e9[_0x32280c(0x1d3)],_0x475f2e['outlineEdgeGlow'][_0x32280c(0x1db)]=_0x1b34e9[_0x32280c(0x1ec)],_0x475f2e[_0x32280c(0x1f7)][_0x32280c(0x1db)]=_0x1b34e9[_0x32280c(0x20f)],_0x475f2e[_0x32280c(0x206)][_0x32280c(0x1db)]=_0x1b34e9[_0x32280c(0x222)],_0x475f2e[_0x32280c(0x1f9)][_0x32280c(0x1db)][_0x32280c(0x1d4)](_0x1b34e9[_0x32280c(0x1ca)]),_0x475f2e[_0x32280c(0x205)]['value'][_0x32280c(0x1d4)](_0x1b34e9[_0x32280c(0x1c4)]),this[_0x32280c(0x219)]&&(this[_0x32280c(0x219)][_0x32280c(0x1c2)][_0x32280c(0x1db)]=_0x1b34e9[_0x32280c(0x1ec)],this['outlinePass'][_0x32280c(0x1d6)]['value']=_0x1b34e9[_0x32280c(0x20f)],this[_0x32280c(0x219)][_0x32280c(0x1de)]=this['outlineObjects']));}[_0x579060(0x1c7)](_0xd1b3ac){const _0x55ea0a=_0x579060;this[_0x55ea0a(0x1d8)][_0x55ea0a(0x1e9)]=_0xd1b3ac,this[_0x55ea0a(0x1ee)](),this[_0x55ea0a(0x220)](),this[_0x55ea0a(0x1f2)]();}[_0x579060(0x201)](_0x50ba6d){const _0x3b08ec=_0x579060;!this[_0x3b08ec(0x1b2)]['includes'](_0x50ba6d)&&(this[_0x3b08ec(0x1b2)][_0x3b08ec(0x21c)](_0x50ba6d),this[_0x3b08ec(0x219)]&&(this[_0x3b08ec(0x219)][_0x3b08ec(0x1de)]=this[_0x3b08ec(0x1b2)])),this[_0x3b08ec(0x1f2)]();}[_0x579060(0x1f1)](_0x22e984){const _0xa0e017=_0x579060;this[_0xa0e017(0x1b2)]['length']=0x0,this[_0xa0e017(0x1b2)][_0xa0e017(0x21c)](..._0x22e984),this[_0xa0e017(0x219)]&&(this['outlinePass'][_0xa0e017(0x1de)]=this[_0xa0e017(0x1b2)]),this[_0xa0e017(0x1f2)]();}[_0x579060(0x1b7)](_0x5c8dd9){const _0x1d7f6f=_0x579060,_0x5abd66=this[_0x1d7f6f(0x1b2)]['indexOf'](_0x5c8dd9);_0x5abd66>-1&&(this[_0x1d7f6f(0x1b2)][_0x1d7f6f(0x1ae)](_0x5abd66,0x1),this[_0x1d7f6f(0x219)]&&(this['outlinePass']['selectedObjects']=this[_0x1d7f6f(0x1b2)])),this[_0x1d7f6f(0x1f2)]();}['setLUT3DTexture'](_0x12b6e0){const _0x417e8f=_0x579060;this[_0x417e8f(0x215)]=_0x12b6e0,this[_0x417e8f(0x1ee)](),this['updateAllUniforms'](),this['markDirty']();}[_0x579060(0x1cd)](){const _0x196e1e=_0x579060;return this[_0x196e1e(0x215)];}[_0x579060(0x1b6)](){const _0x110c9f=_0x579060;if(this[_0x110c9f(0x1e6)])return this[_0x110c9f(0x1e6)]['render'](),!![];return ![];}['destroy'](){const _0x492140=_0x579060;this[_0x492140(0x1b2)]=[],this[_0x492140(0x1b0)]=null,this[_0x492140(0x219)]=null,this[_0x492140(0x20c)]=null,this['dofPass']=null,this[_0x492140(0x1f0)]=null,this['traaPass']=null,this[_0x492140(0x212)]=null,this[_0x492140(0x215)]=null,this[_0x492140(0x1e6)]&&(this[_0x492140(0x1e6)]['dispose'](),this['postProcessing']=null);}[_0x579060(0x1f2)](){const _0x1823b8=_0x579060;this['onDirtyCallback']&&this[_0x1823b8(0x1d1)]();}}
|
|
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 _0x13f953=_0x4f96;(function(_0x366337,_0x29ca3c){const _0x12bfed=_0x4f96,_0x35e255=_0x366337();while(!![]){try{const _0x162c83=parseInt(_0x12bfed(0x79))/0x1+-parseInt(_0x12bfed(0xb5))/0x2*(-parseInt(_0x12bfed(0x74))/0x3)+parseInt(_0x12bfed(0x75))/0x4*(parseInt(_0x12bfed(0x8a))/0x5)+-parseInt(_0x12bfed(0xb4))/0x6+parseInt(_0x12bfed(0xb9))/0x7*(-parseInt(_0x12bfed(0xaf))/0x8)+-parseInt(_0x12bfed(0x95))/0x9*(-parseInt(_0x12bfed(0xc3))/0xa)+parseInt(_0x12bfed(0x73))/0xb;if(_0x162c83===_0x29ca3c)break;else _0x35e255['push'](_0x35e255['shift']());}catch(_0x4eca6c){_0x35e255['push'](_0x35e255['shift']());}}}(_0x2b7a,0xdbc91));function _0x4f96(_0x1598ab,_0x19df1a){_0x1598ab=_0x1598ab-0x71;const _0x2b7aeb=_0x2b7a();let _0x4f96ed=_0x2b7aeb[_0x1598ab];return _0x4f96ed;}function _0x2b7a(){const _0x4b2d9d=['pulsePeriod','steps','renderer','camera','set','addPass','render','threshold','smaa','uniforms','outputPass','scene','getSize','outlineObjects','setOutlineObjects','selectedObjects','postProcessParam','blendIntensity','length','renderPass','onDirtyCallback','setup','Outline','Antialiasing','markDirty','13155920CVNdQa','setSize','fxaa','updateSteps','processing','6413226BFODTK','2372YAIYNK','dofPass','updateOutlineParameters','Bloom','7NpiDlC','updateCamera','includes','hiddenEdgeColor','has','focus','gtaoPass','dispose','maxblur','removePass','28990ubMYyh','edgeGlow','edgeStrength','6687241BaKaCQ','2070ylRixC','3292852vJsTiW','lut3dTexture','aperture','indexOf','39275ptCsdq','push','addOutlineObject','fxaaPass','buildCustomPostProcess','value','type','map','visibleEdgeColor','composer','buildPipeline','removeOutlineObject','smaaPass','passes','edgeThickness','getStepParam','outlinePass','5jgWjsF','radius','updateGTAOParameters','renderCamera','lutPass','updateAllParameters','splice','GroundTruthAmbientOcclusion','DepthOfField','bloomPass','strength','4113iFIqOc'];_0x2b7a=function(){return _0x4b2d9d;};return _0x2b7a();}class WebGLPostProcessManager{constructor(_0xae2618,_0x333688,_0x391c74,_0x4a23c0,_0x3ae94c){const _0x5e07f9=_0x4f96;this[_0x5e07f9(0x82)]=null,this[_0x5e07f9(0xa3)]=[],this['renderPass']=null,this['outlinePass']=null,this['bloomPass']=null,this[_0x5e07f9(0xb6)]=null,this[_0x5e07f9(0xbf)]=null,this[_0x5e07f9(0x85)]=null,this[_0x5e07f9(0x7c)]=null,this[_0x5e07f9(0x8e)]=null,this[_0x5e07f9(0xa0)]=null,this[_0x5e07f9(0x76)]=null,this['onDirtyCallback']=null,this['renderer']=_0xae2618,this[_0x5e07f9(0xa1)]=_0x333688,this[_0x5e07f9(0x99)]=_0x391c74,this['postProcessParam']=Object['assign']({},_0x4a23c0),this['onDirtyCallback']=_0x3ae94c!==null&&_0x3ae94c!==void 0?_0x3ae94c:null;}get[_0x13f953(0xb3)](){const _0x3955ee=_0x13f953;return this[_0x3955ee(0x82)];}[_0x13f953(0xba)](_0x36f989){const _0x519984=_0x13f953;this[_0x519984(0x99)]=_0x36f989;if(!this[_0x519984(0x82)])this['buildPipeline'](),this[_0x519984(0xae)]();else {if(this[_0x519984(0xa9)])this[_0x519984(0xa9)]['camera']=this['camera'];if(this['outlinePass'])this[_0x519984(0x89)][_0x519984(0x8d)]=this[_0x519984(0x99)];this[_0x519984(0xb6)]&&(this[_0x519984(0xb6)][_0x519984(0x99)]=this['camera']),this[_0x519984(0xbf)]&&(this[_0x519984(0xbf)]['camera']=this['camera']);}}[_0x13f953(0xab)](){const _0x28951b=_0x13f953;!this[_0x28951b(0x82)]?this['buildPipeline']():this[_0x28951b(0x8f)](),this['markDirty']();}[_0x13f953(0x83)](){const _0x30de75=_0x13f953;var _0x210721,_0x29fca9,_0x4738dc,_0x4d191d;this['composer']&&this[_0x30de75(0x82)][_0x30de75(0xc0)]();this[_0x30de75(0x82)]=new EffectComposer(this[_0x30de75(0x98)]),this['renderPass']=new RenderPass(this[_0x30de75(0xa1)],this[_0x30de75(0x99)]),this['composer'][_0x30de75(0x9b)](this[_0x30de75(0xa9)]),this[_0x30de75(0x89)]=null,this[_0x30de75(0x93)]=null,this[_0x30de75(0xb6)]=null,this[_0x30de75(0xbf)]=null,this[_0x30de75(0x85)]=null,this['fxaaPass']=null,this[_0x30de75(0x8e)]=null,this[_0x30de75(0xa0)]=null;const _0x1965c8=new Set(this[_0x30de75(0xa6)][_0x30de75(0x97)][_0x30de75(0x80)](_0x3758c8=>_0x3758c8['type']));if(_0x1965c8[_0x30de75(0xbd)](PostProcessStepType[_0x30de75(0x91)])){const _0x12c6d6=(_0x210721=this['getStepParam'](PostProcessStepType[_0x30de75(0x91)]))!==null&&_0x210721!==void 0?_0x210721:DefaultGTAOParam,_0x207a2c=this['renderer'][_0x30de75(0xa2)](new Vector2());this['gtaoPass']=new GTAOPass(this['scene'],this[_0x30de75(0x99)],_0x207a2c['x'],_0x207a2c['y']),this['updateGTAOParameters'](_0x12c6d6),this['composer'][_0x30de75(0x9b)](this[_0x30de75(0xbf)]);}if(_0x1965c8[_0x30de75(0xbd)](PostProcessStepType['DepthOfField'])){const _0x2b9a1a=(_0x29fca9=this['getStepParam'](PostProcessStepType[_0x30de75(0x92)]))!==null&&_0x29fca9!==void 0?_0x29fca9:DefaultDOFParam;this['dofPass']=new BokehPass(this[_0x30de75(0xa1)],this[_0x30de75(0x99)],{'focus':_0x2b9a1a[_0x30de75(0xbe)],'aperture':_0x2b9a1a[_0x30de75(0x77)],'maxblur':_0x2b9a1a[_0x30de75(0xc1)]}),this['composer'][_0x30de75(0x9b)](this[_0x30de75(0xb6)]);}if(_0x1965c8[_0x30de75(0xbd)](PostProcessStepType[_0x30de75(0xb8)])){const _0x19b758=(_0x4738dc=this[_0x30de75(0x88)](PostProcessStepType['Bloom']))!==null&&_0x4738dc!==void 0?_0x4738dc:DefaultBloomParam,_0x144313=this[_0x30de75(0x98)][_0x30de75(0xa2)](new Vector2());this[_0x30de75(0x93)]=new UnrealBloomPass(_0x144313,_0x19b758[_0x30de75(0x94)],_0x19b758[_0x30de75(0x8b)],_0x19b758[_0x30de75(0x9d)]),this['composer'][_0x30de75(0x9b)](this['bloomPass']);}if(_0x1965c8[_0x30de75(0xbd)](PostProcessStepType['Outline'])){const _0x5db6ef=(_0x4d191d=this[_0x30de75(0x88)](PostProcessStepType[_0x30de75(0xac)]))!==null&&_0x4d191d!==void 0?_0x4d191d:DefaultOutlineParams,_0x580c44=this[_0x30de75(0x98)][_0x30de75(0xa2)](new Vector2());this[_0x30de75(0x89)]=new OutlinePass(_0x580c44,this[_0x30de75(0xa1)],this[_0x30de75(0x99)]),this['outlinePass'][_0x30de75(0xa5)]=this[_0x30de75(0xa3)],this[_0x30de75(0xb7)](_0x5db6ef),this[_0x30de75(0x82)][_0x30de75(0x9b)](this['outlinePass']);}this['lut3dTexture']&&(this[_0x30de75(0x8e)]=new LUTPass({'lut':this[_0x30de75(0x76)]}),this[_0x30de75(0x82)][_0x30de75(0x9b)](this[_0x30de75(0x8e)]));const _0x1ab538=this[_0x30de75(0x88)](PostProcessStepType[_0x30de75(0xad)]);if(_0x1ab538){const _0x493bbf=this['renderer'][_0x30de75(0xa2)](new Vector2());if(_0x1ab538['method']===_0x30de75(0xb1))this[_0x30de75(0x7c)]=new ShaderPass(FXAAShader),this['fxaaPass'][_0x30de75(0x9f)]['resolution'][_0x30de75(0x7e)]['set'](0x1/_0x493bbf['x'],0x1/_0x493bbf['y']),this['composer']['addPass'](this[_0x30de75(0x7c)]);else _0x1ab538['method']===_0x30de75(0x9e)&&(this[_0x30de75(0x85)]=new SMAAPass(_0x493bbf['x'],_0x493bbf['y']),this[_0x30de75(0x82)][_0x30de75(0x9b)](this['smaaPass']));}this[_0x30de75(0xa0)]=new OutputPass(),this[_0x30de75(0x82)][_0x30de75(0x9b)](this[_0x30de75(0xa0)]);}[_0x13f953(0x7d)](_0x70901b){const _0x39abb7=_0x13f953;if(!this['composer'])this['composer']=new EffectComposer(this[_0x39abb7(0x98)]);else while(this['composer'][_0x39abb7(0x86)][_0x39abb7(0xa8)]>0x0){this[_0x39abb7(0x82)][_0x39abb7(0xc2)](this['composer'][_0x39abb7(0x86)][0x0]);}this[_0x39abb7(0xa9)]=null,this[_0x39abb7(0x89)]=null,this[_0x39abb7(0x93)]=null,this[_0x39abb7(0xb6)]=null,this['gtaoPass']=null,this['smaaPass']=null,this[_0x39abb7(0x7c)]=null,this['lutPass']=null,this[_0x39abb7(0xa0)]=null,this['renderPass']=new RenderPass(this[_0x39abb7(0xa1)],this['camera']),this[_0x39abb7(0x82)][_0x39abb7(0x9b)](this[_0x39abb7(0xa9)]);for(const _0x2f50ed of _0x70901b){this[_0x39abb7(0x82)][_0x39abb7(0x9b)](_0x2f50ed);}this[_0x39abb7(0xa0)]=new OutputPass(),this[_0x39abb7(0x82)][_0x39abb7(0x9b)](this[_0x39abb7(0xa0)]),this['markDirty']();}[_0x13f953(0x88)](_0xa5a38a){const _0x42bf56=_0x13f953;var _0x1205a8;return (_0x1205a8=this[_0x42bf56(0xa6)][_0x42bf56(0x97)]['find'](_0x9c9354=>_0x9c9354[_0x42bf56(0x7f)]===_0xa5a38a))!==null&&_0x1205a8!==void 0?_0x1205a8:null;}[_0x13f953(0x8f)](){const _0x41ed8e=_0x13f953,_0x1461e7=this['getStepParam'](PostProcessStepType[_0x41ed8e(0xb8)]);_0x1461e7&&this['bloomPass']&&(this[_0x41ed8e(0x93)][_0x41ed8e(0x94)]=_0x1461e7[_0x41ed8e(0x94)],this['bloomPass'][_0x41ed8e(0x8b)]=_0x1461e7[_0x41ed8e(0x8b)],this[_0x41ed8e(0x93)][_0x41ed8e(0x9d)]=_0x1461e7[_0x41ed8e(0x9d)]);const _0x3e77a7=this[_0x41ed8e(0x88)](PostProcessStepType[_0x41ed8e(0x92)]);if(_0x3e77a7&&this[_0x41ed8e(0xb6)]){const _0x4933d6=this['dofPass'];_0x4933d6[_0x41ed8e(0x9f)]&&(_0x4933d6[_0x41ed8e(0x9f)][_0x41ed8e(0xbe)][_0x41ed8e(0x7e)]=_0x3e77a7['focus'],_0x4933d6[_0x41ed8e(0x9f)][_0x41ed8e(0x77)][_0x41ed8e(0x7e)]=_0x3e77a7[_0x41ed8e(0x77)],_0x4933d6[_0x41ed8e(0x9f)]['maxblur'][_0x41ed8e(0x7e)]=_0x3e77a7[_0x41ed8e(0xc1)]);}const _0x256fff=this['getStepParam'](PostProcessStepType[_0x41ed8e(0x91)]);_0x256fff&&this[_0x41ed8e(0xbf)]&&this[_0x41ed8e(0x8c)](_0x256fff);const _0x594975=this['getStepParam'](PostProcessStepType[_0x41ed8e(0xac)]);_0x594975&&this[_0x41ed8e(0x89)]&&this['updateOutlineParameters'](_0x594975);}['updateGTAOParameters'](_0x7ea9d7){const _0x248199=_0x13f953;if(!this[_0x248199(0xbf)])return;this[_0x248199(0xbf)][_0x248199(0xa7)]=_0x7ea9d7['scale'];}[_0x13f953(0xb7)](_0x284fcf){const _0x25dc65=_0x13f953;if(!this[_0x25dc65(0x89)])return;this[_0x25dc65(0x89)][_0x25dc65(0x72)]=_0x284fcf[_0x25dc65(0x72)],this['outlinePass'][_0x25dc65(0x71)]=_0x284fcf[_0x25dc65(0x71)],this['outlinePass'][_0x25dc65(0x87)]=_0x284fcf[_0x25dc65(0x87)],this[_0x25dc65(0x89)][_0x25dc65(0x96)]=_0x284fcf[_0x25dc65(0x96)],this[_0x25dc65(0x89)][_0x25dc65(0x81)]=new Color$1(_0x284fcf[_0x25dc65(0x81)]),this['outlinePass'][_0x25dc65(0xbc)]=new Color$1(_0x284fcf['hiddenEdgeColor']);}[_0x13f953(0xb2)](_0x5acf66){const _0x3e9e74=_0x13f953;this['postProcessParam'][_0x3e9e74(0x97)]=_0x5acf66,this['buildPipeline'](),this[_0x3e9e74(0xae)]();}[_0x13f953(0x7b)](_0x5e964f){const _0x1a4547=_0x13f953;!this['outlineObjects'][_0x1a4547(0xbb)](_0x5e964f)&&(this[_0x1a4547(0xa3)]['push'](_0x5e964f),this[_0x1a4547(0x89)]&&(this[_0x1a4547(0x89)][_0x1a4547(0xa5)]=this[_0x1a4547(0xa3)])),this[_0x1a4547(0xae)]();}[_0x13f953(0xa4)](_0x429b41){const _0x2046aa=_0x13f953;this[_0x2046aa(0xa3)][_0x2046aa(0xa8)]=0x0,this[_0x2046aa(0xa3)][_0x2046aa(0x7a)](..._0x429b41),this['outlinePass']&&(this[_0x2046aa(0x89)]['selectedObjects']=this['outlineObjects']),this[_0x2046aa(0xae)]();}[_0x13f953(0x84)](_0x4ca88a){const _0x4fbefb=_0x13f953,_0xc0c970=this[_0x4fbefb(0xa3)][_0x4fbefb(0x78)](_0x4ca88a);_0xc0c970>-1&&(this['outlineObjects'][_0x4fbefb(0x90)](_0xc0c970,0x1),this[_0x4fbefb(0x89)]&&(this['outlinePass'][_0x4fbefb(0xa5)]=this[_0x4fbefb(0xa3)])),this['markDirty']();}['setLUT3DTexture'](_0x2e08d6){const _0x51bc99=_0x13f953;this[_0x51bc99(0x76)]=_0x2e08d6,this[_0x51bc99(0x83)](),this[_0x51bc99(0xae)]();}['getLUT3DTexture'](){const _0x2dd884=_0x13f953;return this[_0x2dd884(0x76)];}[_0x13f953(0x9c)](){const _0x1bc502=_0x13f953;if(this['composer'])return this[_0x1bc502(0x82)]['render'](),!![];return ![];}['resize'](_0x41cdb2,_0x599ec2){const _0x338ecb=_0x13f953;this[_0x338ecb(0x82)]&&this[_0x338ecb(0x82)][_0x338ecb(0xb0)](_0x41cdb2,_0x599ec2),this['fxaaPass']&&this[_0x338ecb(0x7c)][_0x338ecb(0x9f)]['resolution'][_0x338ecb(0x7e)][_0x338ecb(0x9a)](0x1/_0x41cdb2,0x1/_0x599ec2);}['destroy'](){const _0x4ed883=_0x13f953;this[_0x4ed883(0xa3)]=[],this[_0x4ed883(0x89)]=null,this[_0x4ed883(0x93)]=null,this[_0x4ed883(0xb6)]=null,this[_0x4ed883(0xbf)]=null,this['smaaPass']=null,this[_0x4ed883(0x7c)]=null,this[_0x4ed883(0x8e)]=null,this[_0x4ed883(0xa0)]=null,this[_0x4ed883(0x76)]=null,this[_0x4ed883(0x82)]&&(this[_0x4ed883(0x82)][_0x4ed883(0xc0)](),this[_0x4ed883(0x82)]=null);}['markDirty'](){const _0x59eb4f=_0x13f953;this['onDirtyCallback']&&this[_0x59eb4f(0xaa)]();}}
|
|
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 _0x387060=_0x46a3;function _0x6a42(){const _0x50c411=['init','scene-uiLayer','isUILayerNeeded','setClearAlpha','css3dRenderer','insertBefore','setupPostProcess','style','pointerEvents','contentBoxSize','toneMapping','top','image/jpeg','isCSS3DRendererNeeded','canvas','_uiDom','removeChild','1233NBkfkf','left','scene-labelRenderer','camera','render','transparent','postProcessManager','6rwODTt','createCSS3DRenderer','1122219uIuDyN','renderer','width','.scene-uiLayer','setSize','setToneMapping','onCameraChangedDelegate','clientWidth','scene','Can\x20not\x20create\x20context','737220ENNCdy','resizeObserver','560955PNAImS','position','param','96EBaoTV','disconnect','absolute','drawImage','setShadowMapEnabled','domElement','resize','WebGPU','className','_renderer','setup','firstChild','destroyPostProcess','isLabelRendererNeeded','createRenderer','clientHeight','markRenderStateDirty','renderAsImage','remove','Renderer\x20is\x20not\x20initialized','createElement','world','8652oudwuo','setPixelRatio','dispose','2462884KNTLIb','div','labelRenderer','isRenderStateDirty','height','background','updatePostProcess','onAfterPostProcessRender','_canvasContainer','none','_app','55820akbCqO','setAnimationLoop','setShadowMapType','type','_outerContainer','0px','4590160YllHdL','addOutlineObject','enabled','destroy','onWindowResize','app','zIndex','shadowMap','createUILayer','observe','removeOutlineObject','updateSteps','createPostProcessManager','appendChild','getElementById','toneMappingExposure','buildCustomPostProcess','outer','add','createLabelRenderer','devicePixelRatio'];_0x6a42=function(){return _0x50c411;};return _0x6a42();}(function(_0x3c1e26,_0xe039bc){const _0x4802c1=_0x46a3,_0x137163=_0x3c1e26();while(!![]){try{const _0xb160d1=-parseInt(_0x4802c1(0x172))/0x1*(-parseInt(_0x4802c1(0x120))/0x2)+-parseInt(_0x4802c1(0x16d))/0x3+parseInt(_0x4802c1(0x123))/0x4+-parseInt(_0x4802c1(0x16f))/0x5*(parseInt(_0x4802c1(0x161))/0x6)+-parseInt(_0x4802c1(0x163))/0x7+parseInt(_0x4802c1(0x134))/0x8+-parseInt(_0x4802c1(0x15a))/0x9*(parseInt(_0x4802c1(0x12e))/0xa);if(_0xb160d1===_0xe039bc)break;else _0x137163['push'](_0x137163['shift']());}catch(_0xb2fc66){_0x137163['push'](_0x137163['shift']());}}}(_0x6a42,0x4e90d));function _0x46a3(_0x1d622f,_0x267284){_0x1d622f=_0x1d622f-0x11c;const _0x6a4278=_0x6a42();let _0x46a3c6=_0x6a4278[_0x1d622f];return _0x46a3c6;}class Viewport{get['uiDom'](){const _0x3e1ec7=_0x46a3;return this[_0x3e1ec7(0x158)];}get[_0x387060(0x157)](){const _0xcdd74f=_0x387060;return this[_0xcdd74f(0x132)]||this[_0xcdd74f(0x164)][_0xcdd74f(0x177)];}get[_0x387060(0x145)](){return this['_outerContainer'];}get[_0x387060(0x164)](){const _0x56011e=_0x387060;if(!this[_0x56011e(0x17b)])throw Error(_0x56011e(0x11d));return this[_0x56011e(0x17b)];}get[_0x387060(0x139)](){const _0x44e76a=_0x387060;if(!this[_0x44e76a(0x12d)])throw Error('App\x20is\x20not\x20initialized');return this['_app'];}constructor(_0x2ca044,_0x135ea4){const _0x3f4562=_0x387060;this['_uiDom']=null,this[_0x3f4562(0x17b)]=null,this[_0x3f4562(0x125)]=null,this[_0x3f4562(0x14d)]=null,this[_0x3f4562(0x12d)]=null,this['resizeObserver']=null,this[_0x3f4562(0x132)]=null,this[_0x3f4562(0x12b)]=null,this[_0x3f4562(0x126)]=!![],this[_0x3f4562(0x160)]=null,this[_0x3f4562(0x12d)]=_0x2ca044,_0x135ea4['elementId']&&(this[_0x3f4562(0x132)]=document[_0x3f4562(0x142)](_0x135ea4['elementId'])),this[_0x3f4562(0x180)](_0x135ea4['renderer']['type'],_0x135ea4[_0x3f4562(0x164)][_0x3f4562(0x171)]),_0x135ea4[_0x3f4562(0x17f)]&&this[_0x3f4562(0x147)](),_0x135ea4[_0x3f4562(0x156)]&&this['createCSS3DRenderer'](),_0x135ea4[_0x3f4562(0x14b)]&&this[_0x3f4562(0x13c)](),setTimeout(()=>{const _0x12b419=_0x3f4562;var _0x18acbf;this[_0x12b419(0x14f)]((_0x18acbf=_0x135ea4['postProcess'])!==null&&_0x18acbf!==void 0?_0x18acbf:{'steps':[]});},0x32),this[_0x3f4562(0x132)]&&(this[_0x3f4562(0x16e)]=new ResizeObserver(_0x16a967=>{const _0x27d7f7=_0x3f4562;for(let _0x5dc76f of _0x16a967){_0x5dc76f[_0x27d7f7(0x152)]&&this[_0x27d7f7(0x138)]();}}),this[_0x3f4562(0x16e)][_0x3f4562(0x13d)](this[_0x3f4562(0x132)])),this[_0x3f4562(0x139)][_0x3f4562(0x169)][_0x3f4562(0x146)](()=>{const _0x451a25=_0x3f4562;this['postProcessManager']&&(this['postProcessManager']['updateCamera'](this[_0x451a25(0x139)]['camera']),this[_0x451a25(0x160)][_0x451a25(0x17c)]());});}['createRenderer'](_0xfc14c4,_0x1614e0){const _0x11a630=_0x387060,_0x419482=this[_0x11a630(0x132)];this['_renderer']&&(_0x419482&&_0x419482[_0x11a630(0x159)](this['_renderer'][_0x11a630(0x177)]),this[_0x11a630(0x17b)]['dispose']());let _0x4bd449=_0x419482?_0x419482[_0x11a630(0x16a)]:0x200,_0x1cc4fd=_0x419482?_0x419482['clientHeight']:0x200;switch(_0xfc14c4){case RendererType[_0x11a630(0x179)]:this[_0x11a630(0x17b)]=new WebGPURenderer(_0x1614e0);break;case RendererType['WebGL']:this[_0x11a630(0x17b)]=new WebGLRenderer(_0x1614e0);break;}this['_renderer'][_0x11a630(0x121)](window[_0x11a630(0x148)]),this[_0x11a630(0x17b)][_0x11a630(0x167)](_0x4bd449,_0x1cc4fd),this[_0x11a630(0x17b)][_0x11a630(0x13b)]['enabled']=!![],this[_0x11a630(0x17b)][_0x11a630(0x13b)][_0x11a630(0x131)]=0x1,this[_0x11a630(0x17b)][_0x11a630(0x153)]=0x0,this[_0x11a630(0x17b)][_0x11a630(0x143)]=0x1,this[_0x11a630(0x17b)][_0x11a630(0x14c)](0x0),this[_0x11a630(0x17b)]['domElement']['style'][_0x11a630(0x170)]='absolute',this['_renderer'][_0x11a630(0x177)][_0x11a630(0x150)][_0x11a630(0x15b)]='0',this[_0x11a630(0x17b)]['domElement'][_0x11a630(0x150)]['top']='0',this['_renderer'][_0x11a630(0x177)][_0x11a630(0x150)]['zIndex']='20',this['_renderer']['domElement'][_0x11a630(0x150)][_0x11a630(0x128)]=_0x11a630(0x15f),this[_0x11a630(0x17b)]['domElement']['style'][_0x11a630(0x151)]=_0x11a630(0x12c),_0x419482&&_0x419482['appendChild'](this[_0x11a630(0x17b)]['domElement']);}[_0x387060(0x147)](){const _0x1621ff=_0x387060,_0x584242=this['_outerContainer'];this[_0x1621ff(0x125)]&&(_0x584242&&_0x584242['removeChild'](this[_0x1621ff(0x125)][_0x1621ff(0x177)]));let _0x23dbda=_0x584242?_0x584242[_0x1621ff(0x16a)]:0x200,_0x163768=_0x584242?_0x584242[_0x1621ff(0x181)]:0x200;this[_0x1621ff(0x125)]=new CSS2DRenderer(),this[_0x1621ff(0x125)][_0x1621ff(0x167)](_0x23dbda,_0x163768),this[_0x1621ff(0x125)][_0x1621ff(0x177)]['style'][_0x1621ff(0x151)]=_0x1621ff(0x12c),this['labelRenderer'][_0x1621ff(0x177)][_0x1621ff(0x150)][_0x1621ff(0x170)]=_0x1621ff(0x174),this[_0x1621ff(0x125)][_0x1621ff(0x177)][_0x1621ff(0x150)][_0x1621ff(0x154)]=_0x1621ff(0x133),this[_0x1621ff(0x125)][_0x1621ff(0x177)][_0x1621ff(0x17a)]=_0x1621ff(0x15c),this[_0x1621ff(0x125)][_0x1621ff(0x177)][_0x1621ff(0x150)][_0x1621ff(0x13a)]='30',_0x584242&&_0x584242[_0x1621ff(0x141)](this['labelRenderer'][_0x1621ff(0x177)]);}[_0x387060(0x162)](){const _0x578679=_0x387060,_0xb2a55c=this[_0x578679(0x132)];this[_0x578679(0x14d)]&&(_0xb2a55c&&_0xb2a55c[_0x578679(0x159)](this[_0x578679(0x14d)][_0x578679(0x177)]));let _0x4a8276=_0xb2a55c?_0xb2a55c[_0x578679(0x16a)]:0x200,_0x39feaa=_0xb2a55c?_0xb2a55c['clientHeight']:0x200;this[_0x578679(0x14d)]=new CSS3DRenderer(),this[_0x578679(0x14d)][_0x578679(0x167)](_0x4a8276,_0x39feaa),this[_0x578679(0x14d)]['domElement'][_0x578679(0x150)][_0x578679(0x151)]=_0x578679(0x12c),this[_0x578679(0x14d)]['domElement'][_0x578679(0x150)][_0x578679(0x170)]='absolute',this[_0x578679(0x14d)][_0x578679(0x177)][_0x578679(0x150)]['left']=_0x578679(0x133),this[_0x578679(0x14d)]['domElement'][_0x578679(0x150)][_0x578679(0x154)]='0px',this[_0x578679(0x14d)][_0x578679(0x177)]['style'][_0x578679(0x13a)]='0',this[_0x578679(0x14d)][_0x578679(0x177)][_0x578679(0x17a)]='scene-css3dRenderer',_0xb2a55c&&_0xb2a55c[_0x578679(0x14e)](this[_0x578679(0x14d)][_0x578679(0x177)],_0xb2a55c[_0x578679(0x17d)]);}[_0x387060(0x13c)](){const _0x275993=_0x387060;if(!this[_0x275993(0x132)])return;let _0x843a6c=this[_0x275993(0x132)]['querySelector'](_0x275993(0x166));!_0x843a6c&&(_0x843a6c=document['createElement'](_0x275993(0x124)),_0x843a6c[_0x275993(0x17a)]=_0x275993(0x14a),_0x843a6c['id']='scene-uiLayer',_0x843a6c[_0x275993(0x150)][_0x275993(0x170)]=_0x275993(0x174),_0x843a6c[_0x275993(0x150)][_0x275993(0x15b)]='0',_0x843a6c[_0x275993(0x150)][_0x275993(0x154)]='0',_0x843a6c[_0x275993(0x150)]['width']='100%',_0x843a6c['style'][_0x275993(0x127)]='100%',_0x843a6c[_0x275993(0x150)]['pointerEvents']=_0x275993(0x12c),_0x843a6c[_0x275993(0x150)][_0x275993(0x13a)]='10',this[_0x275993(0x132)][_0x275993(0x141)](_0x843a6c),this[_0x275993(0x158)]=_0x843a6c);}[_0x387060(0x149)](){}[_0x387060(0x144)](_0x1d9154){const _0x24974f=_0x387060;this[_0x24974f(0x160)]instanceof WebGLPostProcessManager&&this['postProcessManager'][_0x24974f(0x144)](_0x1d9154);}[_0x387060(0x14f)](_0x112270){const _0x948f03=_0x387060;!this[_0x948f03(0x160)]&&(this[_0x948f03(0x160)]=this[_0x948f03(0x140)](_0x112270)),this[_0x948f03(0x160)]['setup']();}['createPostProcessManager'](_0x2eb9e3){const _0x4556a4=_0x387060;return this['renderer']instanceof WebGLRenderer?new WebGLPostProcessManager(this['renderer'],this[_0x4556a4(0x139)][_0x4556a4(0x11f)][_0x4556a4(0x16b)],this[_0x4556a4(0x139)][_0x4556a4(0x15d)],_0x2eb9e3,()=>this[_0x4556a4(0x182)]()):new PostProcessManager(this['renderer'],this['app'][_0x4556a4(0x11f)][_0x4556a4(0x16b)],this[_0x4556a4(0x139)][_0x4556a4(0x15d)],_0x2eb9e3,()=>this[_0x4556a4(0x182)]());}[_0x387060(0x129)](_0x6aa68a){const _0x2b57ea=_0x387060;this['postProcessManager']&&this[_0x2b57ea(0x160)][_0x2b57ea(0x13f)](_0x6aa68a);}[_0x387060(0x135)](_0x1ffea6){const _0x53fb15=_0x387060;this['postProcessManager']&&this[_0x53fb15(0x160)][_0x53fb15(0x135)](_0x1ffea6);}['setOutlineObjects'](_0x28a1e6){const _0x4c20fd=_0x387060;this[_0x4c20fd(0x160)]&&this[_0x4c20fd(0x160)]['setOutlineObjects'](_0x28a1e6);}[_0x387060(0x13e)](_0x2c8e1d){const _0x5a4266=_0x387060;this[_0x5a4266(0x160)]&&this[_0x5a4266(0x160)][_0x5a4266(0x13e)](_0x2c8e1d);}[_0x387060(0x17e)](){const _0x7c12c0=_0x387060;this['postProcessManager']&&(this['postProcessManager'][_0x7c12c0(0x137)](),this[_0x7c12c0(0x160)]=null);}[_0x387060(0x138)](){const _0x3dd14e=_0x387060;let _0x427b85=this[_0x3dd14e(0x132)];if(!_0x427b85)return;this[_0x3dd14e(0x139)][_0x3dd14e(0x138)](_0x427b85[_0x3dd14e(0x16a)],_0x427b85[_0x3dd14e(0x181)]),this[_0x3dd14e(0x164)][_0x3dd14e(0x167)](_0x427b85[_0x3dd14e(0x16a)],_0x427b85[_0x3dd14e(0x181)]);if(this[_0x3dd14e(0x125)])this[_0x3dd14e(0x125)][_0x3dd14e(0x167)](_0x427b85[_0x3dd14e(0x16a)],_0x427b85[_0x3dd14e(0x181)]);if(this[_0x3dd14e(0x14d)])this[_0x3dd14e(0x14d)][_0x3dd14e(0x167)](_0x427b85[_0x3dd14e(0x16a)],_0x427b85[_0x3dd14e(0x181)]);this[_0x3dd14e(0x160)]&&_0x3dd14e(0x178)in this['postProcessManager']&&this[_0x3dd14e(0x160)]['resize'](_0x427b85['clientWidth'],_0x427b85[_0x3dd14e(0x181)]),this[_0x3dd14e(0x182)]();}[_0x387060(0x182)](){const _0x593220=_0x387060;this[_0x593220(0x126)]=!![];}[_0x387060(0x15e)](){const _0x1e9fe0=_0x387060;if(!this[_0x1e9fe0(0x126)])return;if(this['postProcessManager']&&this[_0x1e9fe0(0x160)]['render']());else this[_0x1e9fe0(0x164)]['render'](this[_0x1e9fe0(0x139)][_0x1e9fe0(0x11f)][_0x1e9fe0(0x16b)],this[_0x1e9fe0(0x139)][_0x1e9fe0(0x15d)]);this[_0x1e9fe0(0x12a)](),this[_0x1e9fe0(0x125)]&&this['labelRenderer'][_0x1e9fe0(0x15e)](this[_0x1e9fe0(0x139)][_0x1e9fe0(0x11f)][_0x1e9fe0(0x16b)],this['app']['camera']),this[_0x1e9fe0(0x14d)]&&this[_0x1e9fe0(0x14d)]['render'](this[_0x1e9fe0(0x139)][_0x1e9fe0(0x11f)][_0x1e9fe0(0x16b)],this[_0x1e9fe0(0x139)][_0x1e9fe0(0x15d)]),this[_0x1e9fe0(0x126)]=![];}['onAfterPostProcessRender'](){}async[_0x387060(0x183)](_0x24c7e2=0x400,_0x29726e=0x400){const _0x314d0b=_0x387060;try{if(this[_0x314d0b(0x160)]&&this['postProcessManager'][_0x314d0b(0x15e)]()){}else await this[_0x314d0b(0x164)]['render'](this[_0x314d0b(0x139)][_0x314d0b(0x11f)]['scene'],this['app'][_0x314d0b(0x15d)]);const _0x58c56f=this['renderer']['domElement'][_0x314d0b(0x165)],_0x1bdd0f=this[_0x314d0b(0x164)]['domElement'][_0x314d0b(0x127)];let _0x27a8ce=_0x58c56f||_0x24c7e2,_0x2b5360=_0x1bdd0f||_0x29726e;(_0x27a8ce<=0x0||_0x2b5360<=0x0)&&(_0x27a8ce=_0x24c7e2,_0x2b5360=_0x29726e);const _0x4fadb5=document[_0x314d0b(0x11e)]('canvas');_0x4fadb5['width']=_0x24c7e2,_0x4fadb5[_0x314d0b(0x127)]=_0x29726e;const _0x578d4e=_0x4fadb5['getContext']('2d');if(!_0x578d4e)throw Error(_0x314d0b(0x16c));_0x578d4e[_0x314d0b(0x175)](this[_0x314d0b(0x164)]['domElement'],0x0,0x0,_0x27a8ce,_0x2b5360,0x0,0x0,_0x24c7e2,_0x29726e);const _0x139af5=_0x4fadb5['toDataURL'](_0x314d0b(0x155));return _0x4fadb5[_0x314d0b(0x11c)](),_0x139af5;}catch(_0x2c9ffa){return '';}}[_0x387060(0x176)](_0x5b1c59){const _0x37917f=_0x387060;if(!this[_0x37917f(0x17b)])return;this['_renderer'][_0x37917f(0x13b)][_0x37917f(0x136)]=_0x5b1c59;}[_0x387060(0x130)](_0x213fdc){const _0x2b3224=_0x387060;if(!this[_0x2b3224(0x17b)])return;this['_renderer']['shadowMap'][_0x2b3224(0x131)]=_0x213fdc;}[_0x387060(0x168)](_0x3e0d92){const _0x15c633=_0x387060;if(!this['_renderer'])return;this[_0x15c633(0x17b)][_0x15c633(0x153)]=_0x3e0d92;}['setToneMappingExposure'](_0x363a06){const _0x1166d4=_0x387060;if(!this[_0x1166d4(0x17b)])return;this['_renderer'][_0x1166d4(0x143)]=_0x363a06;}['destroy'](){const _0x3c0829=_0x387060;this['destroyPostProcess'](),this[_0x3c0829(0x164)][_0x3c0829(0x12f)](null),this[_0x3c0829(0x16e)]&&(this[_0x3c0829(0x16e)][_0x3c0829(0x173)](),this[_0x3c0829(0x16e)]=null),this[_0x3c0829(0x125)]&&(this[_0x3c0829(0x125)][_0x3c0829(0x177)]['remove'](),this[_0x3c0829(0x125)]=null),this[_0x3c0829(0x17b)]&&(this['renderer'][_0x3c0829(0x177)][_0x3c0829(0x11c)](),this['_renderer'][_0x3c0829(0x122)](),this[_0x3c0829(0x17b)]=null),this[_0x3c0829(0x12b)]&&(this[_0x3c0829(0x12b)][_0x3c0829(0x11c)](),this[_0x3c0829(0x12b)]=null),this['_outerContainer']=null,this[_0x3c0829(0x12d)]=null;}}
|
|
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
|
-
const _0x461187=_0x50bf;(function(_0x38c0f1,_0x6dc44d){const _0x4d05ea=_0x50bf,_0xc04e1b=_0x38c0f1();while(!![]){try{const _0x103e29=parseInt(_0x4d05ea(0x190))/0x1*(parseInt(_0x4d05ea(0x189))/0x2)+-parseInt(_0x4d05ea(0x1c8))/0x3+-parseInt(_0x4d05ea(0x180))/0x4+-parseInt(_0x4d05ea(0x1c0))/0x5*(-parseInt(_0x4d05ea(0x1b2))/0x6)+parseInt(_0x4d05ea(0x183))/0x7*(-parseInt(_0x4d05ea(0x18b))/0x8)+parseInt(_0x4d05ea(0x188))/0x9*(parseInt(_0x4d05ea(0x1af))/0xa)+-parseInt(_0x4d05ea(0x18a))/0xb*(-parseInt(_0x4d05ea(0x173))/0xc);if(_0x103e29===_0x6dc44d)break;else _0xc04e1b['push'](_0xc04e1b['shift']());}catch(_0x1df12b){_0xc04e1b['push'](_0xc04e1b['shift']());}}}(_0x2f69,0x4785b));function _0x50bf(_0x3cc9a3,_0x4a2ef2){_0x3cc9a3=_0x3cc9a3-0x162;const _0x2f6971=_0x2f69();let _0x50bf9f=_0x2f6971[_0x3cc9a3];return _0x50bf9f;}function _0x2f69(){const _0x24d4ce=['getBoundsCenterPosition','addComponent','markRenderStateDirty','size','getBoundsBottomCenterPosition','onActorHoverBegin','getWorldScale','delete','onActorClick','getWorldPosition','_onHoverBeginDelegate','addTickableActor','71530wIwFHT','rootComponent\x20is\x20invalid','KeepRelative','756LtDYTL','tick','clearComponent','addLocalOffset','removeTickableActor','getRotation','getWorldRotation','getBounds','isTickEnabled','max','removeFromParent','forEach','min','getComponentById','1660ePVHKq','getChildActorsByIds','LYObject','length','uuid','setLayers','children','getWorldRightDirection','479700ELWLfE','getWorldForwardDirection','childrenComponents','getChildActorById','Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent','parent','worldToLocal','_onHoverEndDelegate','getScale','isHoverEnabled','onDoubleClickDelegate','getWorldQuaternion','userData','detachFromParentComponent','onClickDelegate','_world','threeObject','addChildComponent','onAddedToWorld','getCenter','broadcast','constructRootComponent','getPosition','isClickEnabled','5196jYkGJp','_rootComponent','setQuaternion','localToWorld','sub','removeChildComponent','destroy','getComponents','setRotation','getQuaternion','_onDoubleClickDelegate','rootComponent','setWorldMatrix','1597044LlRpjH','_name','onActorDoubleClick','18956oQgvic','attachComponent','world','error','setVisible','189KQPHsF','40672GtKLZl','6501EETNbf','368TatMdW','_onClickDelegate','getWorldMatrix','push','onHoverBeginDelegate','26HMyull','Actor','destroyChildren','addChildActor','setPosition','removeChildActor','setScale','childActors','removeComponent','onActorHoverEnd','parentActor','getBoundsTopCenterPosition','has','name','landToGround','getWorldUpDirection','isVisible','KeepWorld','app'];_0x2f69=function(){return _0x24d4ce;};return _0x2f69();}class Actor extends BaseObject{get[_0x461187(0x185)](){const _0x19f2b6=_0x461187;return this[_0x19f2b6(0x16a)];}get[_0x461187(0x19d)](){return this['_name'];}set[_0x461187(0x19d)](_0x5b7d9c){const _0x30a365=_0x461187;this[_0x30a365(0x181)]=_0x5b7d9c;}get[_0x461187(0x17e)](){const _0x4608eb=_0x461187;if(!this[_0x4608eb(0x174)])throw Error(_0x4608eb(0x1b0));return this[_0x4608eb(0x174)];}set[_0x461187(0x17e)](_0x54d072){const _0x52831d=_0x461187;_0x54d072[_0x52831d(0x168)](),_0x54d072[_0x52831d(0x19a)]=this;if(this[_0x52831d(0x174)]){let _0x273105=this[_0x52831d(0x17e)][_0x52831d(0x1ca)];for(let _0x5e6c3e=0x0;_0x5e6c3e<_0x273105[_0x52831d(0x1c3)];++_0x5e6c3e){_0x54d072['addChildComponent'](_0x273105[_0x5e6c3e]);}this[_0x52831d(0x17e)]['destroy']();}this[_0x52831d(0x174)]=_0x54d072;}get['childrenComponents'](){const _0x5335f5=_0x461187;return this[_0x5335f5(0x17e)]['childrenComponents'];}get[_0x461187(0x197)](){const _0x4b07f5=_0x461187;var _0x1e3c56;let _0x470253=[];return (_0x1e3c56=this[_0x4b07f5(0x17e)][_0x4b07f5(0x16b)])===null||_0x1e3c56===void 0?void 0:_0x1e3c56[_0x4b07f5(0x1c6)][_0x4b07f5(0x1bd)](_0x3de30b=>{const _0x1e91b9=_0x4b07f5;var _0xc83beb;let _0x1c86ff=(_0xc83beb=_0x3de30b[_0x1e91b9(0x167)][_0x1e91b9(0x1c2)])===null||_0xc83beb===void 0?void 0:_0xc83beb[_0x1e91b9(0x19a)];_0x1c86ff!==this&&_0x1c86ff instanceof Actor&&_0x470253[_0x1e91b9(0x18e)](_0x1c86ff);}),_0x470253;}get[_0x461187(0x19a)](){const _0x5d3fb8=_0x461187;var _0x545582,_0x47a1f2,_0x2ed300;let _0x548d8d=(_0x2ed300=(_0x47a1f2=(_0x545582=this[_0x5d3fb8(0x17e)][_0x5d3fb8(0x16b)])===null||_0x545582===void 0?void 0:_0x545582[_0x5d3fb8(0x1cd)])===null||_0x47a1f2===void 0?void 0:_0x47a1f2[_0x5d3fb8(0x167)][_0x5d3fb8(0x1c2)])===null||_0x2ed300===void 0?void 0:_0x2ed300[_0x5d3fb8(0x19a)];return _0x548d8d===this?null:_0x548d8d;}get[_0x461187(0x1a0)](){const _0x28bed0=_0x461187;return this[_0x28bed0(0x17e)]?this[_0x28bed0(0x17e)][_0x28bed0(0x1a0)]:![];}get[_0x461187(0x1ba)](){const _0x357fe6=_0x461187;return super[_0x357fe6(0x1ba)];}set[_0x461187(0x1ba)](_0xf816a3){const _0x58ea85=_0x461187;super[_0x58ea85(0x1ba)]=_0xf816a3,this[_0x58ea85(0x1ba)]?this[_0x58ea85(0x1a2)]['world'][_0x58ea85(0x1ae)](this):this[_0x58ea85(0x1a2)][_0x58ea85(0x185)][_0x58ea85(0x1b6)](this);}get[_0x461187(0x18f)](){const _0x30536b=_0x461187;return this[_0x30536b(0x1ad)];}get['onHoverEndDelegate'](){const _0x266a88=_0x461187;return this[_0x266a88(0x162)];}get[_0x461187(0x169)](){const _0x4c5ed0=_0x461187;return this[_0x4c5ed0(0x18c)];}get[_0x461187(0x165)](){const _0x3c6e32=_0x461187;return this[_0x3c6e32(0x17d)];}constructor(_0x5b5ca7,_0x4fa18e){const _0x5c3750=_0x461187;super(_0x4fa18e),this[_0x5c3750(0x181)]=_0x5c3750(0x191),this[_0x5c3750(0x174)]=null,this[_0x5c3750(0x16a)]=null,this['_onHoverBeginDelegate']=new Delegate(),this['_onHoverEndDelegate']=new Delegate(),this[_0x5c3750(0x18c)]=new Delegate(),this[_0x5c3750(0x17d)]=new Delegate(),this['app']=_0x5b5ca7,this['rootComponent']=this['constructRootComponent'](),this[_0x5c3750(0x17e)][_0x5c3750(0x19a)]=this;}[_0x461187(0x170)](){const _0x4845f5=_0x461187;return new SceneComponent(this[_0x4845f5(0x1a2)]);}[_0x461187(0x1a3)](_0x699e97=!![]){const _0x525be8=_0x461187;let _0x21b9bb=new Vector3();return this[_0x525be8(0x1b9)]()[_0x525be8(0x16e)](_0x21b9bb),!_0x699e97?_0x21b9bb[_0x525be8(0x177)](this[_0x525be8(0x171)]()):_0x21b9bb;}[_0x461187(0x1cb)](_0x2eca42,_0x4899f3=!![]){const _0x3a956a=_0x461187,_0x4005f1=this[_0x3a956a(0x197)];for(const _0x5d56a6 of _0x4005f1){if(_0x5d56a6[_0x3a956a(0x1c4)]===_0x2eca42)return _0x5d56a6;}if(_0x4899f3)for(const _0xd605f2 of _0x4005f1){const _0x1b9da4=_0xd605f2['getChildActorById'](_0x2eca42,!![]);if(_0x1b9da4)return _0x1b9da4;}return null;}[_0x461187(0x1c1)](_0x43dea0,_0x4ba179=!![]){const _0xcc8d59=_0x461187,_0x401101=[],_0x1286e0=new Set(_0x43dea0),_0x295352=this[_0xcc8d59(0x197)];for(const _0x1d70a1 of _0x295352){_0x1286e0[_0xcc8d59(0x19c)](_0x1d70a1['uuid'])&&(_0x401101[_0xcc8d59(0x18e)](_0x1d70a1),_0x1286e0[_0xcc8d59(0x1aa)](_0x1d70a1[_0xcc8d59(0x1c4)]));}if(_0x4ba179&&_0x1286e0[_0xcc8d59(0x1a6)]>0x0)for(const _0x5f39d8 of _0x295352){const _0x2914d0=_0x5f39d8['getChildActorsByIds']([..._0x1286e0],!![]);for(const _0xb53be9 of _0x2914d0){_0x401101[_0xcc8d59(0x18e)](_0xb53be9),_0x1286e0[_0xcc8d59(0x1aa)](_0xb53be9[_0xcc8d59(0x1c4)]);}if(_0x1286e0[_0xcc8d59(0x1a6)]===0x0)break;}return _0x401101;}['getComponentById'](_0x8f636){const _0x4a7068=_0x461187;return this[_0x4a7068(0x17e)][_0x4a7068(0x1bf)](_0x8f636);}[_0x461187(0x19b)](_0x7a5c54=!![]){const _0x50cac7=_0x461187;let _0x224999=new Vector3(),_0x395cfa=this[_0x50cac7(0x17e)][_0x50cac7(0x1b9)]();return _0x395cfa[_0x50cac7(0x16e)](_0x224999),_0x224999['y']=_0x395cfa[_0x50cac7(0x1bb)]['y'],!_0x7a5c54?_0x224999[_0x50cac7(0x177)](this['getPosition']()):_0x224999;}[_0x461187(0x1a7)](_0xea3e8c=!![]){const _0x44d6a1=_0x461187;let _0x1e6793=new Vector3(),_0x3c2795=this['getBounds']();return _0x3c2795['getCenter'](_0x1e6793),_0x1e6793['y']=_0x3c2795[_0x44d6a1(0x1be)]['y'],!_0xea3e8c?_0x1e6793[_0x44d6a1(0x177)](this[_0x44d6a1(0x171)]()):_0x1e6793;}[_0x461187(0x1b9)](){const _0x3e3b22=_0x461187;return this['rootComponent'][_0x3e3b22(0x1b9)]();}[_0x461187(0x179)](){const _0x442381=_0x461187;let _0x5e4e90=this['childActors'];_0x5e4e90[_0x442381(0x1bd)](_0x58ae65=>{const _0x3c84d3=_0x442381;_0x58ae65[_0x3c84d3(0x179)]();}),this['rootComponent'][_0x442381(0x179)]();}[_0x461187(0x187)](_0x17ca24){const _0x31be5a=_0x461187;this[_0x31be5a(0x17e)][_0x31be5a(0x187)](_0x17ca24);}[_0x461187(0x1c5)](_0x229a87,_0x1da4fb=!![]){const _0x5ee32f=_0x461187;this[_0x5ee32f(0x17e)][_0x5ee32f(0x1c5)](_0x229a87),_0x1da4fb&&this[_0x5ee32f(0x197)][_0x5ee32f(0x1bd)](_0xf3ea2c=>{const _0x115363=_0x5ee32f;_0xf3ea2c[_0x115363(0x1c5)](_0x229a87,_0x1da4fb);});}['tick'](_0x143c14){const _0x1f65f3=_0x461187;if(!this[_0x1f65f3(0x1ba)])return;super[_0x1f65f3(0x1b3)](_0x143c14),this[_0x1f65f3(0x17e)][_0x1f65f3(0x1b3)](_0x143c14);}[_0x461187(0x171)](){return this['rootComponent']['getPosition']();}[_0x461187(0x194)](..._0x2ca43c){const _0x5701ed=_0x461187;_0x2ca43c[_0x5701ed(0x1c3)]===0x1?this[_0x5701ed(0x17e)][_0x5701ed(0x194)](_0x2ca43c[0x0]):this[_0x5701ed(0x17e)][_0x5701ed(0x194)](_0x2ca43c[0x0],_0x2ca43c[0x1],_0x2ca43c[0x2]);}[_0x461187(0x1b7)](){const _0x1cab14=_0x461187;return this[_0x1cab14(0x17e)][_0x1cab14(0x1b7)]();}[_0x461187(0x17b)](..._0x980ea5){const _0x4f08dc=_0x461187;_0x980ea5[_0x4f08dc(0x1c3)]===0x1?this[_0x4f08dc(0x17e)]['setRotation'](_0x980ea5[0x0]):this[_0x4f08dc(0x17e)][_0x4f08dc(0x17b)](_0x980ea5[0x0],_0x980ea5[0x1],_0x980ea5[0x2]);}[_0x461187(0x17c)](){const _0x323b8a=_0x461187;return this[_0x323b8a(0x17e)][_0x323b8a(0x17c)]();}[_0x461187(0x175)](..._0x2da0ab){const _0x35e9ce=_0x461187;_0x2da0ab[_0x35e9ce(0x1c3)]===0x1?this['rootComponent'][_0x35e9ce(0x175)](_0x2da0ab[0x0]):this[_0x35e9ce(0x17e)][_0x35e9ce(0x175)](_0x2da0ab[0x0],_0x2da0ab[0x1],_0x2da0ab[0x2],_0x2da0ab[0x3]);}[_0x461187(0x163)](){const _0x56c728=_0x461187;return this['rootComponent'][_0x56c728(0x163)]();}[_0x461187(0x196)](..._0xa9e6d8){const _0x578c50=_0x461187;_0xa9e6d8[_0x578c50(0x1c3)]===0x1?this[_0x578c50(0x17e)][_0x578c50(0x196)](_0xa9e6d8[0x0]):this[_0x578c50(0x17e)][_0x578c50(0x196)](_0xa9e6d8[0x0],_0xa9e6d8[0x1],_0xa9e6d8[0x2]);}['getWorldMatrix'](){const _0x4b96de=_0x461187;return this['rootComponent'][_0x4b96de(0x18d)]();}[_0x461187(0x17f)](_0x555f5f){const _0x4ddec8=_0x461187;this[_0x4ddec8(0x17e)][_0x4ddec8(0x17f)](_0x555f5f);}[_0x461187(0x1ac)](){return this['rootComponent']['getWorldPosition']();}[_0x461187(0x1b8)](){const _0x2869a1=_0x461187;return this[_0x2869a1(0x17e)][_0x2869a1(0x1b8)]();}[_0x461187(0x166)](){const _0x562f45=_0x461187;return this[_0x562f45(0x17e)][_0x562f45(0x166)]();}[_0x461187(0x1a9)](){const _0x8349c0=_0x461187;return this[_0x8349c0(0x17e)][_0x8349c0(0x1a9)]();}[_0x461187(0x1c9)](){const _0x51b9cc=_0x461187;return this[_0x51b9cc(0x17e)][_0x51b9cc(0x1c9)]();}[_0x461187(0x19f)](){const _0xe25e0d=_0x461187;return this[_0xe25e0d(0x17e)][_0xe25e0d(0x19f)]();}[_0x461187(0x1c7)](){const _0x5c1f54=_0x461187;return this[_0x5c1f54(0x17e)][_0x5c1f54(0x1c7)]();}[_0x461187(0x1b5)](_0x5544d4,_0x6c647c){const _0x52c515=_0x461187;let _0x449672=this[_0x52c515(0x171)]();this[_0x52c515(0x194)](_0x449672['x']+_0x5544d4['x']*_0x6c647c,_0x449672['y']+_0x5544d4['y']*_0x6c647c,_0x449672['z']+_0x5544d4['z']*_0x6c647c);}[_0x461187(0x1ce)](_0x1bf1e8){const _0x2ae99c=_0x461187;return this[_0x2ae99c(0x17e)][_0x2ae99c(0x1ce)](_0x1bf1e8);}[_0x461187(0x176)](_0x315e42){const _0x322c0d=_0x461187;return this[_0x322c0d(0x17e)][_0x322c0d(0x176)](_0x315e42);}[_0x461187(0x17a)](){const _0x6a9c12=_0x461187;return this[_0x6a9c12(0x17e)]['childrenComponents'];}[_0x461187(0x1a4)](_0x38a38c,_0x32be0d=AttachmentRules[_0x461187(0x1b1)]){const _0x4e8b16=_0x461187;this['rootComponent'][_0x4e8b16(0x16c)](_0x38a38c,_0x32be0d),this['_world']&&_0x38a38c[_0x4e8b16(0x16d)](this[_0x4e8b16(0x16a)]);}[_0x461187(0x198)](_0x16b295){const _0x3363b7=_0x461187;if(_0x16b295===this[_0x3363b7(0x174)])return;this['rootComponent'][_0x3363b7(0x178)](_0x16b295);}[_0x461187(0x1b4)](){const _0x1bc4e0=_0x461187;this[_0x1bc4e0(0x17e)][_0x1bc4e0(0x192)]();}[_0x461187(0x193)](_0x2083c8,_0x185d13=AttachmentRules[_0x461187(0x1a1)]){const _0xc508e7=_0x461187;if(!_0x2083c8['rootComponent']){console[_0xc508e7(0x186)](_0xc508e7(0x1cc));return;}if(_0x2083c8[_0xc508e7(0x19a)]===this)return;_0x185d13===AttachmentRules['KeepRelative']&&this[_0xc508e7(0x17e)][_0xc508e7(0x184)](_0x2083c8[_0xc508e7(0x17e)]);if(_0x185d13===AttachmentRules[_0xc508e7(0x1a1)]){let _0x57f3c6=_0x2083c8[_0xc508e7(0x18d)]();this['rootComponent'][_0xc508e7(0x184)](_0x2083c8[_0xc508e7(0x17e)]),_0x2083c8[_0xc508e7(0x17f)](_0x57f3c6);}this[_0xc508e7(0x16a)]&&this[_0xc508e7(0x16a)]['viewport'][_0xc508e7(0x1a5)]();}[_0x461187(0x195)](_0x131681){const _0x3f7128=_0x461187;let _0x2b9aa8=_0x131681[_0x3f7128(0x18d)]();this[_0x3f7128(0x17e)]['detachComponent'](_0x131681[_0x3f7128(0x17e)]),_0x131681['setWorldMatrix'](_0x2b9aa8);}[_0x461187(0x1bc)](){const _0x2464e4=_0x461187;this[_0x2464e4(0x19a)]&&this['parentActor'][_0x2464e4(0x195)](this);}['onAddedToWorld'](_0x5ef5cf){const _0x5c25ef=_0x461187;this[_0x5c25ef(0x16a)]=_0x5ef5cf,this['rootComponent']['onAddedToWorld'](this[_0x5c25ef(0x16a)]),this['childActors']['forEach'](_0x53c3ec=>{const _0x31859c=_0x5c25ef;_0x53c3ec[_0x31859c(0x16d)](_0x5ef5cf);});}['onRemovedFromWorld'](){const _0x5b7e37=_0x461187;this[_0x5b7e37(0x16a)]=null;}get[_0x461187(0x164)](){const _0x4a953e=_0x461187;return this[_0x4a953e(0x17e)][_0x4a953e(0x164)];}set[_0x461187(0x164)](_0x47ad07){const _0x2a1a1b=_0x461187;this[_0x2a1a1b(0x17e)][_0x2a1a1b(0x164)]=_0x47ad07;}get['isClickEnabled'](){const _0x50a313=_0x461187;return this[_0x50a313(0x17e)][_0x50a313(0x172)];}set[_0x461187(0x172)](_0x9386f3){const _0x572cfc=_0x461187;this[_0x572cfc(0x17e)][_0x572cfc(0x172)]=_0x9386f3;}[_0x461187(0x1a8)](_0x56eb43){const _0x41fa47=_0x461187;this[_0x41fa47(0x1ad)][_0x41fa47(0x16f)](_0x56eb43);}[_0x461187(0x199)](_0x1f4998){const _0x5893e0=_0x461187;this[_0x5893e0(0x162)][_0x5893e0(0x16f)](_0x1f4998);}[_0x461187(0x1ab)](_0x2acbb0){const _0x43ac28=_0x461187;this[_0x43ac28(0x18c)][_0x43ac28(0x16f)](_0x2acbb0);}[_0x461187(0x182)](_0x1e3963){this['_onDoubleClickDelegate']['broadcast'](_0x1e3963);}[_0x461187(0x19e)](){}}
|
|
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 _0x433d62=_0x3cae;function _0x29d9(){const _0x4ecad3=['unpossess','dampingFactor','minDistance','enabled','onPointerUpDelegate','onPointerDown','_lastPointerPosition','onContextMenuDelegate','99160ndDdKF','viewport','deltaY','onPointerMoveDelegate','getQuaternion','setRotation','add','clamp','dataset','remove','setQuaternion','setPointerCapture','getTargetCameraState','possess','_targetPosition','lerp','abs','copy','lyCameraDragging','applyQuaternion','buttons','5961500kwPpAY','maxDistance','outer','getPosition','camera','maxAzimuthAngle','clientY','rotateSpeed','set','releasePointerCapture','normalize','_targetQuaternion','onWheelDelegate','onPointerMove','onPointerCancelDelegate','_focusTween','rotation','onPointerUp','alpha','onContextMenu','436515YRPpJO','clientX','onWheel','lerpVectors','addScaledVector','controller','rootComponent','slerp','app','setFromRotationMatrix','order','kill','lookAt','distance','setFromQuaternion','_targetDistance','29618qWmyNg','zoomSpeed','6AvvFbv','minPolarAngle','minAzimuthAngle','64WafdIR','3726090olOLcK','inputFilter','setCameraDraggingState','clone','setFromEuler','764078SXGKBU','pointerId','updateCameraFromPawn','focusTo','onPointerDownDelegate','YXZ','enableDamping','setPosition','maxPolarAngle','exp','button','canvas','threeObject','2905335dCPDrm','_isDragging','175Zknguh'];_0x29d9=function(){return _0x4ecad3;};return _0x29d9();}(function(_0x37588d,_0x749095){const _0x5891be=_0x3cae,_0x2ba448=_0x37588d();while(!![]){try{const _0x20cf04=parseInt(_0x5891be(0x82))/0x1+parseInt(_0x5891be(0x84))/0x2*(-parseInt(_0x5891be(0x72))/0x3)+parseInt(_0x5891be(0xa5))/0x4*(parseInt(_0x5891be(0x9c))/0x5)+parseInt(_0x5891be(0x88))/0x6+parseInt(_0x5891be(0x8d))/0x7*(-parseInt(_0x5891be(0x87))/0x8)+-parseInt(_0x5891be(0x9a))/0x9+parseInt(_0x5891be(0xba))/0xa;if(_0x20cf04===_0x749095)break;else _0x2ba448['push'](_0x2ba448['shift']());}catch(_0x5713dc){_0x2ba448['push'](_0x2ba448['shift']());}}}(_0x29d9,0x75a4f));function _0x3cae(_0x385557,_0x52e780){_0x385557=_0x385557-0x69;const _0x29d95c=_0x29d9();let _0x3caef5=_0x29d95c[_0x385557];return _0x3caef5;}class Orbital extends Pawn{constructor(_0x40ca3a){const _0x4de923=_0x3cae;super(_0x40ca3a),this[_0x4de923(0x7f)]=0x5,this['minDistance']=0.1,this[_0x4de923(0xbb)]=0xf4240,this[_0x4de923(0xc1)]=0x1,this[_0x4de923(0x83)]=0x1,this[_0x4de923(0x85)]=0x0,this['maxPolarAngle']=Math['PI']*0.5,this[_0x4de923(0x86)]=-Infinity,this[_0x4de923(0xbf)]=Infinity,this[_0x4de923(0x93)]=!![],this[_0x4de923(0x9e)]=0xa,this[_0x4de923(0x9b)]=![],this[_0x4de923(0xa3)]=new Vector2$1(),this['_targetPosition']=new Vector3(),this[_0x4de923(0x69)]=new Quaternion(),this[_0x4de923(0x81)]=0x5,this[_0x4de923(0x6d)]=null,this[_0x4de923(0x71)]=_0x1568c5=>{const _0x9ca670=_0x4de923;if(!Pawn[_0x9ca670(0x89)]())return;_0x1568c5['preventDefault']();},this[_0x4de923(0xa2)]=_0x3889ee=>{const _0x7b44c2=_0x4de923;if(!this[_0x7b44c2(0xa0)]||!Pawn['inputFilter']())return;if(_0x3889ee['button']===0x0||_0x3889ee[_0x7b44c2(0x97)]===0x2){this[_0x7b44c2(0x9b)]=!![],this[_0x7b44c2(0xa3)][_0x7b44c2(0xc2)](_0x3889ee[_0x7b44c2(0x73)],_0x3889ee[_0x7b44c2(0xc0)]),this[_0x7b44c2(0x8a)](!![]);const _0x5e058d=this['app']['viewport'][_0x7b44c2(0x98)];_0x5e058d&&typeof _0x5e058d[_0x7b44c2(0xb0)]==='function'&&_0x5e058d['setPointerCapture'](_0x3889ee[_0x7b44c2(0x8e)]);}},this[_0x4de923(0x6b)]=_0x1533ea=>{const _0x35665f=_0x4de923;if(!this[_0x35665f(0xa0)]||!this[_0x35665f(0x9b)]||!Pawn[_0x35665f(0x89)]())return;if(_0x1533ea['buttons']===0x0){this[_0x35665f(0x9b)]=![],this[_0x35665f(0x8a)](![]);return;}const _0x11b2bc=_0x1533ea['clientX']-this[_0x35665f(0xa3)]['x'],_0x41761d=_0x1533ea['clientY']-this[_0x35665f(0xa3)]['y'];this[_0x35665f(0xa3)][_0x35665f(0xc2)](_0x1533ea['clientX'],_0x1533ea[_0x35665f(0xc0)]);const _0x1b6bc9=this['app']['viewport'][_0x35665f(0x98)];if(!_0x1b6bc9)return;if(_0x1533ea[_0x35665f(0xb9)]===0x1){const _0x537176=this[_0x35665f(0xc1)]*0x2*Math['PI'],_0x1c6b1f=new Euler(0x0,0x0,0x0,_0x35665f(0x92))[_0x35665f(0x80)](this['_targetQuaternion']);_0x1c6b1f['y']-=_0x11b2bc/_0x1b6bc9['clientHeight']*_0x537176,_0x1c6b1f['x']-=_0x41761d/_0x1b6bc9['clientHeight']*_0x537176;const _0x532289=Math['max'](this[_0x35665f(0x85)]-Math['PI']/0x2,-Math['PI']/0x2+0.01),_0x4c13d7=Math['min'](this[_0x35665f(0x95)]-Math['PI']/0x2,Math['PI']/0x2-0.01);_0x1c6b1f['x']=MathUtils[_0x35665f(0xac)](_0x1c6b1f['x'],_0x532289,_0x4c13d7),isFinite(this['minAzimuthAngle'])&&isFinite(this['maxAzimuthAngle'])&&(_0x1c6b1f['y']=MathUtils['clamp'](_0x1c6b1f['y'],this['minAzimuthAngle'],this[_0x35665f(0xbf)])),_0x1c6b1f['z']=0x0,this[_0x35665f(0x69)][_0x35665f(0x8c)](_0x1c6b1f),!this[_0x35665f(0x93)]&&this['setQuaternion'](this[_0x35665f(0x69)]);}else {if(_0x1533ea[_0x35665f(0xb9)]===0x2){const _0x1c6ce2=this['_targetDistance']*0.002,_0x545106=new Vector3(0x1,0x0,0x0)[_0x35665f(0xb8)](this[_0x35665f(0x69)])['normalize'](),_0x2d7303=new Vector3(0x0,0x1,0x0)[_0x35665f(0xb8)](this[_0x35665f(0x69)])[_0x35665f(0xc4)]();this[_0x35665f(0xb3)]['addScaledVector'](_0x545106,-_0x11b2bc*_0x1c6ce2),this['_targetPosition'][_0x35665f(0x76)](_0x2d7303,_0x41761d*_0x1c6ce2),!this[_0x35665f(0x93)]&&this[_0x35665f(0x94)](this[_0x35665f(0xb3)]);}}},this[_0x4de923(0x6f)]=_0x5f3691=>{const _0x527d84=_0x4de923;var _0xfb178e;this[_0x527d84(0x9b)]=![],this['setCameraDraggingState'](![]);const _0x2ffaef=this[_0x527d84(0x7a)][_0x527d84(0xa6)]['canvas'];_0x2ffaef&&typeof _0x2ffaef[_0x527d84(0xc3)]==='function'&&((_0xfb178e=_0x2ffaef['hasPointerCapture'])===null||_0xfb178e===void 0?void 0:_0xfb178e['call'](_0x2ffaef,_0x5f3691['pointerId']))&&_0x2ffaef[_0x527d84(0xc3)](_0x5f3691['pointerId']);},this[_0x4de923(0x74)]=_0x57cca2=>{const _0x4f8b00=_0x4de923;if(!this[_0x4f8b00(0xa0)]||!Pawn[_0x4f8b00(0x89)]())return;const _0x16a41c=0.95;_0x57cca2[_0x4f8b00(0xa7)]>0x0?this[_0x4f8b00(0x81)]/=_0x16a41c:this[_0x4f8b00(0x81)]*=_0x16a41c,this[_0x4f8b00(0x81)]=MathUtils[_0x4f8b00(0xac)](this['_targetDistance'],this[_0x4f8b00(0x9f)],this[_0x4f8b00(0xbb)]),!this[_0x4f8b00(0x93)]&&(this['distance']=this[_0x4f8b00(0x81)]);};}['possess'](){const _0x3a6dc8=_0x3cae;super[_0x3a6dc8(0xb2)]();this[_0x3a6dc8(0x78)]&&this[_0x3a6dc8(0x78)][_0x3a6dc8(0x99)]&&(this[_0x3a6dc8(0x78)][_0x3a6dc8(0x99)][_0x3a6dc8(0x6e)][_0x3a6dc8(0x7c)]=_0x3a6dc8(0x92));this[_0x3a6dc8(0xb3)][_0x3a6dc8(0xb6)](this[_0x3a6dc8(0xbd)]());const _0x1f3b0d=this[_0x3a6dc8(0xa9)](),_0x7fc54f=new Euler(0x0,0x0,0x0,_0x3a6dc8(0x92))['setFromQuaternion'](_0x1f3b0d);Math[_0x3a6dc8(0xb5)](_0x7fc54f['z'])>0.00001?(_0x7fc54f['z']=0x0,this['_targetQuaternion'][_0x3a6dc8(0x8c)](_0x7fc54f),this[_0x3a6dc8(0xaf)](this[_0x3a6dc8(0x69)])):this[_0x3a6dc8(0x69)][_0x3a6dc8(0xb6)](_0x1f3b0d);this[_0x3a6dc8(0x81)]=this[_0x3a6dc8(0x7f)];const _0x1036a2=this[_0x3a6dc8(0x7a)][_0x3a6dc8(0x77)];_0x1036a2&&(_0x1036a2[_0x3a6dc8(0x91)][_0x3a6dc8(0xab)](this[_0x3a6dc8(0xa2)]),_0x1036a2['onPointerMoveDelegate'][_0x3a6dc8(0xab)](this[_0x3a6dc8(0x6b)]),_0x1036a2[_0x3a6dc8(0xa1)][_0x3a6dc8(0xab)](this[_0x3a6dc8(0x6f)]),_0x1036a2[_0x3a6dc8(0x6c)][_0x3a6dc8(0xab)](this[_0x3a6dc8(0x6f)]),_0x1036a2[_0x3a6dc8(0x6a)][_0x3a6dc8(0xab)](this[_0x3a6dc8(0x74)]),_0x1036a2[_0x3a6dc8(0xa4)][_0x3a6dc8(0xab)](this['onContextMenu'])),this['updateCameraFromPawn']();}[_0x433d62(0xb1)](){const _0x183365=_0x433d62,_0x59079f=this[_0x183365(0xbd)](),_0xb1cb7c=this[_0x183365(0xa9)](),_0x2dfc74=new Vector3(0x0,0x0,0x1)['applyQuaternion'](_0xb1cb7c)['multiplyScalar'](this[_0x183365(0x7f)]),_0x37bbdf=_0x59079f['clone']()[_0x183365(0xab)](_0x2dfc74),_0xfb0a64=new Matrix4();_0xfb0a64[_0x183365(0x7e)](_0x37bbdf,_0x59079f,this[_0x183365(0xbe)]['up']);const _0x3469a9=new Quaternion()[_0x183365(0x7b)](_0xfb0a64);return {'position':_0x37bbdf,'quaternion':_0x3469a9};}[_0x433d62(0x8f)](){const _0x4a2ee0=_0x433d62;if(!this['enabled']||!this[_0x4a2ee0(0xbe)])return;const _0x290351=this['getPosition'](),_0x5b06e0=this[_0x4a2ee0(0xa9)](),_0x3e3039=new Vector3(0x0,0x0,0x1)[_0x4a2ee0(0xb8)](_0x5b06e0)['multiplyScalar'](this[_0x4a2ee0(0x7f)]);this[_0x4a2ee0(0xbe)]['position'][_0x4a2ee0(0xb6)](_0x290351)[_0x4a2ee0(0xab)](_0x3e3039),this['camera'][_0x4a2ee0(0x7e)](_0x290351);}[_0x433d62(0x9d)](){const _0x515716=_0x433d62;super['unpossess']();const _0x2a46cd=this[_0x515716(0x7a)][_0x515716(0x77)];_0x2a46cd&&(_0x2a46cd[_0x515716(0x91)][_0x515716(0xae)](this[_0x515716(0xa2)]),_0x2a46cd[_0x515716(0xa8)][_0x515716(0xae)](this[_0x515716(0x6b)]),_0x2a46cd['onPointerUpDelegate']['remove'](this[_0x515716(0x6f)]),_0x2a46cd[_0x515716(0x6c)][_0x515716(0xae)](this[_0x515716(0x6f)]),_0x2a46cd[_0x515716(0x6a)][_0x515716(0xae)](this[_0x515716(0x74)]),_0x2a46cd[_0x515716(0xa4)][_0x515716(0xae)](this[_0x515716(0x71)])),this[_0x515716(0x9b)]=![],this[_0x515716(0x8a)](![]),this['_focusTween']&&(this[_0x515716(0x6d)][_0x515716(0x7d)](),this[_0x515716(0x6d)]=null);}['setCameraDraggingState'](_0x145fb4){const _0x372313=_0x433d62,_0x4af75e=this['app'][_0x372313(0xa6)][_0x372313(0xbc)];if(!_0x4af75e)return;_0x145fb4?_0x4af75e['dataset'][_0x372313(0xb7)]='1':delete _0x4af75e[_0x372313(0xad)][_0x372313(0xb7)];}['tick'](_0x1381d1){const _0x2439d9=_0x433d62;if(this[_0x2439d9(0x93)]){const _0x2d9d95=Math['min'](_0x1381d1,0.1),_0x1cfd20=0x1-Math[_0x2439d9(0x96)](-this[_0x2439d9(0x9e)]*_0x2d9d95);this[_0x2439d9(0x7f)]=MathUtils[_0x2439d9(0xb4)](this[_0x2439d9(0x7f)],this['_targetDistance'],_0x1cfd20);const _0x4822d6=this['getPosition']();_0x4822d6[_0x2439d9(0xb4)](this[_0x2439d9(0xb3)],_0x1cfd20),super[_0x2439d9(0x94)](_0x4822d6);const _0x3ea5f1=this[_0x2439d9(0xa9)]();_0x3ea5f1[_0x2439d9(0x79)](this['_targetQuaternion'],_0x1cfd20),super['setQuaternion'](_0x3ea5f1);}this['updateCameraFromPawn']();}[_0x433d62(0x94)](..._0x3c6bb1){const _0x546d03=_0x433d62;super[_0x546d03(0x94)](..._0x3c6bb1),this[_0x546d03(0xb3)][_0x546d03(0xb6)](this[_0x546d03(0xbd)]());}[_0x433d62(0xaa)](..._0x2c86b7){const _0xeef6ba=_0x433d62;super[_0xeef6ba(0xaa)](..._0x2c86b7),this[_0xeef6ba(0x69)][_0xeef6ba(0xb6)](this[_0xeef6ba(0xa9)]());}[_0x433d62(0xaf)](..._0x4a5254){const _0x3971a8=_0x433d62;super[_0x3971a8(0xaf)](..._0x4a5254),this[_0x3971a8(0x69)][_0x3971a8(0xb6)](this['getQuaternion']());}[_0x433d62(0x90)](_0x4ac064,_0x95e593,_0x56ce32,_0x731eec,_0x41391c=null,_0x19883e=null){const _0x15f49e=_0x433d62;this[_0x15f49e(0x6d)]&&this[_0x15f49e(0x6d)][_0x15f49e(0x7d)]();const _0x1a0644=this[_0x15f49e(0xbd)](),_0x3feec3=this[_0x15f49e(0xa9)](),_0x17e0ad=this[_0x15f49e(0x7f)];let _0x345d72;_0x95e593 instanceof Euler?_0x345d72=new Quaternion()[_0x15f49e(0x8c)](_0x95e593):_0x345d72=_0x95e593[_0x15f49e(0x8b)]();const _0x37c12a=new Euler(0x0,0x0,0x0,_0x15f49e(0x92))['setFromQuaternion'](_0x345d72);Math['abs'](_0x37c12a['z'])>0.00001&&(_0x37c12a['z']=0x0,_0x345d72[_0x15f49e(0x8c)](_0x37c12a));const _0x265bbd={'alpha':0x0};this[_0x15f49e(0x6d)]=gsap['to'](_0x265bbd,{'alpha':0x1,'duration':_0x731eec,'onUpdate':()=>{const _0x3c2bc3=_0x15f49e,_0x1f938e=_0x265bbd[_0x3c2bc3(0x70)],_0xdac98=new Vector3()[_0x3c2bc3(0x75)](_0x1a0644,_0x4ac064,_0x1f938e);this[_0x3c2bc3(0x94)](_0xdac98),this[_0x3c2bc3(0xb3)][_0x3c2bc3(0xb6)](_0xdac98);const _0x128fe3=_0x3feec3[_0x3c2bc3(0x8b)]()['slerp'](_0x345d72,_0x1f938e);this[_0x3c2bc3(0xaf)](_0x128fe3),this[_0x3c2bc3(0x69)]['copy'](_0x128fe3),this[_0x3c2bc3(0x7f)]=MathUtils['lerp'](_0x17e0ad,_0x56ce32,_0x1f938e),this[_0x3c2bc3(0x81)]=this[_0x3c2bc3(0x7f)];if(_0x41391c)_0x41391c();},'onComplete':()=>{const _0x5dadc8=_0x15f49e;this[_0x5dadc8(0x6d)]=null;if(_0x19883e)_0x19883e();}});}['stopFocusing'](){const _0x54be37=_0x433d62;this[_0x54be37(0x6d)]&&(this[_0x54be37(0x6d)]['kill'](),this['_focusTween']=null);}}
|
|
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 _0x51df63=_0x827a;function _0x827a(_0x34d9d5,_0x5a65e7){_0x34d9d5=_0x34d9d5-0x110;const _0x1c8225=_0x1c82();let _0x827a33=_0x1c8225[_0x34d9d5];return _0x827a33;}(function(_0x25bb15,_0x126dfe){const _0x381107=_0x827a,_0x4f051a=_0x25bb15();while(!![]){try{const _0x3c53b3=-parseInt(_0x381107(0x1ad))/0x1*(-parseInt(_0x381107(0x127))/0x2)+parseInt(_0x381107(0x1c8))/0x3+-parseInt(_0x381107(0x1b8))/0x4+-parseInt(_0x381107(0x1c2))/0x5*(-parseInt(_0x381107(0x14c))/0x6)+-parseInt(_0x381107(0x133))/0x7*(-parseInt(_0x381107(0x1ab))/0x8)+-parseInt(_0x381107(0x11f))/0x9+parseInt(_0x381107(0x188))/0xa;if(_0x3c53b3===_0x126dfe)break;else _0x4f051a['push'](_0x4f051a['shift']());}catch(_0x53554b){_0x4f051a['push'](_0x4f051a['shift']());}}}(_0x1c82,0x58b3d));function _0x1c82(){const _0x376a51=['collider','pointerleave','handleDoubleClick','removeEventListener','init','isClickEnabled','onComponentPointerDownDelegate','setFromAxisAngle','onWindowBlurEvent','onPointerDownEvent','fireComponentClick','canvas\x20is\x20null','clearTimeout','getHitResultUnderCursor','clientX','firePointerDownEvent','onWindowBlur','prepareClickHit','onActorHoverBegin','onKeyDownDelegate','onContextMenuDelegate','onActorDoubleClick','pointerlockchange','onPointerEnter','onPointerUpEvent','_switchPawnTween','viewPort','pointerPosition','onPointerLeave','YXZ','_onComponentClickDelegate','fov','clearClickTimer','onKeyDownEvent','onPointerMoveDelegate','onKeyDown','keydown','onRawClickDelegate','_onKeyUpDelegate','onClick','near','_onContextMenuDelegate','add','possess','destroy','assign','focusToBounds','prepareClickComponent','getAllHitResultFromScreenPoint','onKeyUpDelegate','handleFirstClick','getBoundingClientRect','lineTraceSingle','_onComponentHoverBeginDelegate','size','onPointerCancelEvent','_pointButtonIsDown','_app','1685540CeTiXI','onClickEvent','isPerspectiveCamera','onComponentHoverBeginDelegate','length','lerpVectors','clientWidth','doubleClickDelay','delete','lineTraceMulti','focusTo','_onActorDoubleClickDelegate','_onComponentPointerDownDelegate','onPointerUpDelegate','onPointerCancelDelegate','clone','fireClickEvents','keyup','_onPointerCancelDelegate','addEventListener','onPointerLeaveEvent','onPointerMove','onKeyUpEvent','alpha','_onPointerMoveDelegate','_onActorClickDelegate','_onComponentDoubleClickDelegate','log','onPointerLockChangeEvent','setFromObject','_pawn','altKey','onActorClickDelegate','pointerenter','applyQuaternion','824xkrcwR','_onPointerLockChangeDelegate','2969tQQrXR','_onActorHoverEndDelegate','pointerLeftDownPosition','onKeyUp','_onWheelDelegate','fireActorHoverBegin','onWheelEvent','_raycastVec2','hoveringComponent','Visibility','fireComponentHoverBegin','1706464CRNjku','clientHeight','blur','_onPointerDownDelegate','getTargetCameraState','onComponentClickDelegate','onHorveringBegin','_onClickNothingDelegate','onClickNothingDelegate','contextmenu','5acfDnF','hoveringActor','max','pointerdown','handled','onPointerCancel','248709oJieHX','left','onDoubleClicked','leftClickTimer','ray','isHoverEnabled','broadcast','onPointerEnterEvent','setFromEuler','fireActorHoverEnd','threeObject','getAllHitResultUnderCursor','quaternion','unpossess','getHitResultFromScreenPoint','distance','button','getSize','_onComponentHoverEndDelegate','set','onComponentDoubleClickDelegate','parentActor','onPointerDownDelegate','prepareClickModifiers','canvas','onPointerDown','4078521qitLkO','onContextMenu','fireComponentHoverEnd','clientY','_onKeyDownDelegate','point','setFromCamera','_tempVec2','134vgiJPY','multiplyScalar','app','onPointerMoveEvent','pointermove','getCenter','onPointerLockChange','tick','addCorePointerListeners','onWheelDelegate','power2.inOut','enabled','25256SDOKuT','hit','component','raycaster','physics','onComponentHoverEndDelegate','pointerup','tan','createInitialPawn','onPointerUp','fireActorClick','pawn\x20is\x20null','removeCorePointerListeners','onWheel','_onActorHoverBeginDelegate','top','wheel','_onPointerUpDelegate','world','origin','pawn','_onWindowBlurDelegate','position','clearHovering','camera','2526636yKNvhi','copy'];_0x1c82=function(){return _0x376a51;};return _0x1c82();}class Controller{get[_0x51df63(0x14b)](){const _0x28d2c6=_0x51df63;return this[_0x28d2c6(0x187)][_0x28d2c6(0x14b)];}get[_0x51df63(0x145)](){const _0x4e6a93=_0x51df63;return this[_0x4e6a93(0x187)][_0x4e6a93(0x145)];}get[_0x51df63(0x168)](){const _0x48bdb5=_0x51df63;return this[_0x48bdb5(0x187)]['viewport'];}get[_0x51df63(0x129)](){const _0x9d75da=_0x51df63;return this[_0x9d75da(0x187)];}get[_0x51df63(0x147)](){const _0x3b5498=_0x51df63;if(!this[_0x3b5498(0x1a6)])throw Error(_0x3b5498(0x13e));return this[_0x3b5498(0x1a6)];}get[_0x51df63(0x1bd)](){const _0x567315=_0x51df63;return this[_0x567315(0x16c)];}get[_0x51df63(0x119)](){const _0x3e423f=_0x51df63;return this[_0x3e423f(0x1a2)];}get[_0x51df63(0x18b)](){const _0x1307b0=_0x51df63;return this[_0x1307b0(0x183)];}get[_0x51df63(0x138)](){const _0x590a9a=_0x51df63;return this[_0x590a9a(0x117)];}get[_0x51df63(0x154)](){const _0x1e2e08=_0x51df63;return this[_0x1e2e08(0x194)];}get[_0x51df63(0x1a8)](){return this['_onActorClickDelegate'];}get['onActorDoubleClickDelegate'](){return this['_onActorDoubleClickDelegate'];}get['onActorHoverBeginDelegate'](){return this['_onActorHoverBeginDelegate'];}get['onActorHoverEndDelegate'](){const _0x34808e=_0x51df63;return this[_0x34808e(0x1ae)];}get[_0x51df63(0x1c0)](){const _0x50074c=_0x51df63;return this[_0x50074c(0x1bf)];}get[_0x51df63(0x11b)](){return this['_onPointerDownDelegate'];}get[_0x51df63(0x195)](){return this['_onPointerUpDelegate'];}get[_0x51df63(0x170)](){return this['_onPointerMoveDelegate'];}get[_0x51df63(0x196)](){const _0x4743ee=_0x51df63;return this[_0x4743ee(0x19a)];}get[_0x51df63(0x130)](){const _0x1946dd=_0x51df63;return this[_0x1946dd(0x1b1)];}get[_0x51df63(0x161)](){const _0x52705c=_0x51df63;return this[_0x52705c(0x123)];}get[_0x51df63(0x17f)](){const _0x3ca1d0=_0x51df63;return this[_0x3ca1d0(0x174)];}get[_0x51df63(0x162)](){const _0x3beee9=_0x51df63;return this[_0x3beee9(0x177)];}get['onPointerLockChangeDelegate'](){return this['_onPointerLockChangeDelegate'];}get['onWindowBlurDelegate'](){const _0x416a5a=_0x51df63;return this[_0x416a5a(0x148)];}get[_0x51df63(0x173)](){return this['_onRawClickDelegate'];}constructor(_0x16f1e8){const _0xde6686=_0x51df63;this[_0xde6686(0x1a6)]=null,this['_switchPawnTween']=null,this['hoveringComponent']=null,this[_0xde6686(0x1c3)]=null,this[_0xde6686(0x17d)]=null,this[_0xde6686(0x15f)]=null,this[_0xde6686(0x11c)]={'ctrlKey':![],'shiftKey':![],'altKey':![]},this[_0xde6686(0x186)]=new Set(),this['_onComponentClickDelegate']=new Delegate(),this['_onComponentDoubleClickDelegate']=new Delegate(),this[_0xde6686(0x183)]=new Delegate(),this[_0xde6686(0x117)]=new Delegate(),this[_0xde6686(0x194)]=new Delegate(),this['_onActorClickDelegate']=new Delegate(),this[_0xde6686(0x193)]=new Delegate(),this[_0xde6686(0x141)]=new Delegate(),this['_onActorHoverEndDelegate']=new Delegate(),this[_0xde6686(0x1bf)]=new Delegate(),this['_onPointerDownDelegate']=new Delegate(),this['_onPointerUpDelegate']=new Delegate(),this[_0xde6686(0x1a0)]=new Delegate(),this['_onPointerCancelDelegate']=new Delegate(),this[_0xde6686(0x1b1)]=new Delegate(),this[_0xde6686(0x123)]=new Delegate(),this[_0xde6686(0x174)]=new Delegate(),this['_onContextMenuDelegate']=new Delegate(),this[_0xde6686(0x1ac)]=new Delegate(),this[_0xde6686(0x148)]=new Delegate(),this['_onRawClickDelegate']=new Delegate(),this['pointerPosition']=new Vector2$1(),this[_0xde6686(0x1af)]=new Vector2$1(),this[_0xde6686(0x126)]=new Vector2$1(),this['_raycastVec2']=new Vector2$1(),this[_0xde6686(0x18f)]=0xfa,this[_0xde6686(0x1cb)]=null,this['onPointerMove']=_0x148ca3=>this[_0xde6686(0x12a)](_0x148ca3),this[_0xde6686(0x165)]=_0x3c9282=>this[_0xde6686(0x1cf)](_0x3c9282),this[_0xde6686(0x16a)]=_0x4e1ebb=>this['onPointerLeaveEvent'](_0x4e1ebb),this[_0xde6686(0x13c)]=_0x3f49ac=>this[_0xde6686(0x166)](_0x3f49ac),this['onPointerDown']=_0x1c8ab1=>this[_0xde6686(0x157)](_0x1c8ab1),this[_0xde6686(0x1c7)]=_0x1dc0cd=>this[_0xde6686(0x185)](_0x1dc0cd),this[_0xde6686(0x140)]=_0x277438=>this[_0xde6686(0x1b3)](_0x277438),this[_0xde6686(0x171)]=_0x3dab72=>this['onKeyDownEvent'](_0x3dab72),this[_0xde6686(0x1b0)]=_0x27cc0e=>this[_0xde6686(0x19e)](_0x27cc0e),this[_0xde6686(0x120)]=_0x28f248=>this['onContextMenuEvent'](_0x28f248),this[_0xde6686(0x12d)]=_0x227189=>this[_0xde6686(0x1a4)](_0x227189),this[_0xde6686(0x15e)]=_0x30ef63=>this[_0xde6686(0x156)](_0x30ef63),this['onClick']=_0x416516=>this['onClickEvent'](_0x416516),this[_0xde6686(0x187)]=_0x16f1e8,this[_0xde6686(0x136)]=new Raycaster(),this[_0xde6686(0x13b)]();}[_0x51df63(0x13b)](){const _0x497582=_0x51df63;this[_0x497582(0x1a6)]=new Orbital(this[_0x497582(0x187)]),this['pawn'][_0x497582(0x179)](),this[_0x497582(0x147)]['enabled']=!![];}[_0x51df63(0x152)](){const _0x23ac69=_0x51df63,_0x37eafe=this[_0x23ac69(0x168)][_0x23ac69(0x11d)];console[_0x23ac69(0x1a3)](_0x23ac69(0x11d),_0x37eafe),_0x37eafe&&(_0x37eafe[_0x23ac69(0x19b)](_0x23ac69(0x1a9),this[_0x23ac69(0x165)]),_0x37eafe[_0x23ac69(0x19b)](_0x23ac69(0x14f),this['onPointerLeave']),_0x37eafe['addEventListener']('pointercancel',this[_0x23ac69(0x1c7)]),_0x37eafe[_0x23ac69(0x19b)]('wheel',this[_0x23ac69(0x140)]),_0x37eafe['addEventListener'](_0x23ac69(0x1c1),this[_0x23ac69(0x120)]),_0x37eafe[_0x23ac69(0x19b)]('click',this[_0x23ac69(0x175)]),this[_0x23ac69(0x12f)]()),document['addEventListener'](_0x23ac69(0x164),this['onPointerLockChange']),document[_0x23ac69(0x19b)]('keydown',this[_0x23ac69(0x171)]),document[_0x23ac69(0x19b)](_0x23ac69(0x199),this[_0x23ac69(0x1b0)]),window[_0x23ac69(0x19b)](_0x23ac69(0x1ba),this['onWindowBlur']),this[_0x23ac69(0x1a6)]&&(this[_0x23ac69(0x1a6)][_0x23ac69(0x112)](),this[_0x23ac69(0x1a6)][_0x23ac69(0x179)]());}['updateCamera'](){const _0x56ff7c=_0x51df63;var _0x5f1c84,_0x1562f8;const _0x477bc3=this[_0x56ff7c(0x147)][_0x56ff7c(0x132)];(_0x5f1c84=this[_0x56ff7c(0x1a6)])===null||_0x5f1c84===void 0?void 0:_0x5f1c84[_0x56ff7c(0x112)](),(_0x1562f8=this[_0x56ff7c(0x1a6)])===null||_0x1562f8===void 0?void 0:_0x1562f8[_0x56ff7c(0x17a)](),this['_pawn']=new Orbital(this['_app']),this[_0x56ff7c(0x147)][_0x56ff7c(0x179)](),this[_0x56ff7c(0x147)]['enabled']=_0x477bc3;}async['switchPawn'](_0x355376,_0x43920f){const _0x307e5e=_0x51df63;!_0x355376[_0x307e5e(0x145)]&&this[_0x307e5e(0x187)][_0x307e5e(0x145)]['addActor'](_0x355376);this[_0x307e5e(0x167)]&&(this[_0x307e5e(0x167)]['kill'](),this[_0x307e5e(0x167)]=null);const _0x3285b4=this[_0x307e5e(0x1a6)];if(_0x3285b4===_0x355376)return;if(!_0x43920f||_0x43920f<=0x0){_0x3285b4&&(_0x3285b4[_0x307e5e(0x112)](),_0x3285b4[_0x307e5e(0x132)]=![]);this[_0x307e5e(0x1a6)]=_0x355376,this['_pawn'][_0x307e5e(0x132)]=!![],this[_0x307e5e(0x1a6)][_0x307e5e(0x179)]();return;}const _0x4d0bd8=this[_0x307e5e(0x14b)][_0x307e5e(0x149)][_0x307e5e(0x197)](),_0x12fe32=this[_0x307e5e(0x14b)][_0x307e5e(0x111)][_0x307e5e(0x197)]();_0x3285b4&&(_0x3285b4[_0x307e5e(0x112)](),_0x3285b4['enabled']=![]);const {position:_0x314e1f,quaternion:_0x2cd95b}=_0x355376[_0x307e5e(0x1bc)]();return this[_0x307e5e(0x1a6)]=_0x355376,this[_0x307e5e(0x1a6)][_0x307e5e(0x132)]=![],new Promise(_0xd88c72=>{const _0x5689b2=_0x307e5e,_0x5e1613={'alpha':0x0};this[_0x5689b2(0x167)]=gsap['to'](_0x5e1613,{'alpha':0x1,'duration':_0x43920f,'ease':_0x5689b2(0x131),'onUpdate':()=>{const _0x1a9fb5=_0x5689b2,_0xf15919=_0x5e1613[_0x1a9fb5(0x19f)];this[_0x1a9fb5(0x14b)][_0x1a9fb5(0x149)][_0x1a9fb5(0x18d)](_0x4d0bd8,_0x314e1f,_0xf15919),this[_0x1a9fb5(0x14b)]['quaternion']['slerpQuaternions'](_0x12fe32,_0x2cd95b,_0xf15919);},'onComplete':()=>{const _0x554eea=_0x5689b2;this[_0x554eea(0x167)]=null,this[_0x554eea(0x1a6)]===_0x355376&&(this[_0x554eea(0x1a6)][_0x554eea(0x179)](),this['_pawn'][_0x554eea(0x132)]=!![]),_0xd88c72();}});});}[_0x51df63(0x12e)](_0x570e2a){const _0xc4239=_0x51df63;!this[_0xc4239(0x147)][_0xc4239(0x145)]&&this[_0xc4239(0x147)]['tick'](_0x570e2a);}['destroy'](){const _0x494814=_0x51df63;this['clearClickTimer'](),this['clearHovering']();const _0x52a2f7=this[_0x494814(0x168)][_0x494814(0x11d)];_0x52a2f7&&(_0x52a2f7[_0x494814(0x151)]('pointerenter',this[_0x494814(0x165)]),_0x52a2f7[_0x494814(0x151)](_0x494814(0x14f),this[_0x494814(0x16a)]),_0x52a2f7[_0x494814(0x151)]('pointercancel',this['onPointerCancel']),_0x52a2f7[_0x494814(0x151)](_0x494814(0x143),this[_0x494814(0x140)]),_0x52a2f7[_0x494814(0x151)](_0x494814(0x1c1),this[_0x494814(0x120)]),_0x52a2f7[_0x494814(0x151)]('click',this['onClick']),this[_0x494814(0x13f)]()),document['removeEventListener'](_0x494814(0x164),this[_0x494814(0x12d)]),document[_0x494814(0x151)](_0x494814(0x172),this[_0x494814(0x171)]),document[_0x494814(0x151)](_0x494814(0x199),this[_0x494814(0x1b0)]),window[_0x494814(0x151)](_0x494814(0x1ba),this[_0x494814(0x15e)]),this[_0x494814(0x147)][_0x494814(0x112)](),this['pawn'][_0x494814(0x17a)](),this[_0x494814(0x1a6)]=null;}[_0x51df63(0x12a)](_0x2b965c){const _0x4dcaac=_0x51df63;var _0x46f8cf,_0x1e49b3;this['_onPointerMoveDelegate']['broadcast'](_0x2b965c);const _0x59b647=this['viewPort'][_0x4dcaac(0x11d)];if(!_0x59b647)throw Error(_0x4dcaac(0x159));const _0x3090f2=_0x59b647[_0x4dcaac(0x181)]();this['pointerPosition']['set']((_0x2b965c[_0x4dcaac(0x15c)]-_0x3090f2[_0x4dcaac(0x1c9)])/_0x59b647[_0x4dcaac(0x18e)]*0x2-0x1,0x1-(_0x2b965c[_0x4dcaac(0x122)]-_0x3090f2[_0x4dcaac(0x142)])/_0x59b647[_0x4dcaac(0x1b9)]*0x2);if(this[_0x4dcaac(0x186)][_0x4dcaac(0x184)]>0x0)return;const _0x3f93ad=this['getHitResultUnderCursor'](),_0x57edf8=(_0x46f8cf=_0x3f93ad===null||_0x3f93ad===void 0?void 0:_0x3f93ad['component'])!==null&&_0x46f8cf!==void 0?_0x46f8cf:null,_0x3698e4=(_0x1e49b3=_0x57edf8===null||_0x57edf8===void 0?void 0:_0x57edf8['parentActor'])!==null&&_0x1e49b3!==void 0?_0x1e49b3:null;_0x57edf8!==this[_0x4dcaac(0x1b5)]&&(this[_0x4dcaac(0x1b5)]&&this['fireComponentHoverEnd'](this[_0x4dcaac(0x1b5)]),_0x57edf8&&_0x3f93ad&&this['fireComponentHoverBegin'](_0x57edf8,_0x3f93ad[_0x4dcaac(0x134)])),_0x3698e4!==this[_0x4dcaac(0x1c3)]&&(this['hoveringActor']&&this[_0x4dcaac(0x1b5)]&&this[_0x4dcaac(0x1d1)](this[_0x4dcaac(0x1c3)],this[_0x4dcaac(0x1b5)]),_0x3698e4&&_0x57edf8&&_0x3f93ad&&this[_0x4dcaac(0x1b2)](_0x3698e4,_0x57edf8,_0x3f93ad[_0x4dcaac(0x134)])),this[_0x4dcaac(0x1b5)]=_0x57edf8,this[_0x4dcaac(0x1c3)]=_0x3698e4;}[_0x51df63(0x14a)](){const _0x5a1ef0=_0x51df63;this[_0x5a1ef0(0x1b5)]&&this[_0x5a1ef0(0x121)](this[_0x5a1ef0(0x1b5)]),this[_0x5a1ef0(0x1c3)]&&this[_0x5a1ef0(0x1b5)]&&this['fireActorHoverEnd'](this[_0x5a1ef0(0x1c3)],this[_0x5a1ef0(0x1b5)]),this['hoveringComponent']=null,this[_0x5a1ef0(0x1c3)]=null;}['onPointerUpEvent'](_0x29ad4e){const _0x53641e=_0x51df63;this[_0x53641e(0x144)][_0x53641e(0x1ce)](_0x29ad4e),this[_0x53641e(0x186)][_0x53641e(0x190)](_0x29ad4e[_0x53641e(0x115)]);if(_0x29ad4e[_0x53641e(0x115)]!==0x0)return;const _0x3e25a2=this['_tempVec2']['subVectors'](this[_0x53641e(0x1af)],this[_0x53641e(0x169)])[_0x53641e(0x18c)]();if(_0x3e25a2>0.005){this[_0x53641e(0x16e)]();return;}this[_0x53641e(0x11c)]={'ctrlKey':_0x29ad4e['ctrlKey'],'shiftKey':_0x29ad4e['shiftKey'],'altKey':_0x29ad4e[_0x53641e(0x1a7)]},!this['leftClickTimer']?this[_0x53641e(0x180)]():this[_0x53641e(0x150)]();}[_0x51df63(0x180)](){const _0x18434f=_0x51df63,_0x5b0186=this[_0x18434f(0x15b)](),_0x5e2973=_0x5b0186===null||_0x5b0186===void 0?void 0:_0x5b0186[_0x18434f(0x135)];_0x5e2973 instanceof SceneComponent&&_0x5b0186?(this['prepareClickComponent']=_0x5e2973,this[_0x18434f(0x15f)]=_0x5b0186['hit'],this['leftClickTimer']=window['setTimeout'](()=>{const _0x16d24d=_0x18434f;this[_0x16d24d(0x1cb)]=null,this['prepareClickComponent']&&this['prepareClickHit']&&(this[_0x16d24d(0x198)](this['prepareClickComponent'],this[_0x16d24d(0x15f)],![]),this[_0x16d24d(0x17d)]=null,this[_0x16d24d(0x15f)]=null);},this[_0x18434f(0x18f)])):this['_onClickNothingDelegate'][_0x18434f(0x1ce)]();}['handleDoubleClick'](){const _0x375293=_0x51df63;this[_0x375293(0x16e)](),this[_0x375293(0x17d)]&&this[_0x375293(0x15f)]?this['fireClickEvents'](this[_0x375293(0x17d)],this[_0x375293(0x15f)],!![]):this['_onClickNothingDelegate'][_0x375293(0x1ce)](),this[_0x375293(0x17d)]=null,this['prepareClickHit']=null;}['onPointerDownEvent'](_0x214308){const _0x3e32c5=_0x51df63;this[_0x3e32c5(0x1bb)][_0x3e32c5(0x1ce)](_0x214308),this[_0x3e32c5(0x186)][_0x3e32c5(0x178)](_0x214308[_0x3e32c5(0x115)]);_0x214308[_0x3e32c5(0x115)]===0x0&&this[_0x3e32c5(0x1af)][_0x3e32c5(0x14d)](this[_0x3e32c5(0x169)]);const _0x11c6b0=this[_0x3e32c5(0x15b)](),_0x9285e8=_0x11c6b0===null||_0x11c6b0===void 0?void 0:_0x11c6b0[_0x3e32c5(0x135)];_0x9285e8 instanceof SceneComponent&&_0x11c6b0&&this[_0x3e32c5(0x15d)](_0x9285e8,_0x11c6b0[_0x3e32c5(0x134)],_0x214308[_0x3e32c5(0x115)]);}[_0x51df63(0x1cf)](_0x241a97){const _0x3be4b5=_0x51df63;this[_0x3be4b5(0x12f)]();}[_0x51df63(0x19c)](_0x1726f2){this['removeCorePointerListeners']();}[_0x51df63(0x185)](_0x503f7a){const _0x49e872=_0x51df63;this[_0x49e872(0x19a)][_0x49e872(0x1ce)](_0x503f7a);}[_0x51df63(0x1b3)](_0x488c7c){const _0x1440c2=_0x51df63;this['_onWheelDelegate'][_0x1440c2(0x1ce)](_0x488c7c);}[_0x51df63(0x16f)](_0x1f19c2){const _0x2e3709=_0x51df63;this[_0x2e3709(0x123)][_0x2e3709(0x1ce)](_0x1f19c2);}[_0x51df63(0x19e)](_0x4f36c8){const _0x53581b=_0x51df63;this[_0x53581b(0x174)][_0x53581b(0x1ce)](_0x4f36c8);}['onContextMenuEvent'](_0x2eb65e){const _0x262453=_0x51df63;this[_0x262453(0x177)]['broadcast'](_0x2eb65e);}[_0x51df63(0x1a4)](_0x462e0e){const _0x39729a=_0x51df63;this[_0x39729a(0x1ac)][_0x39729a(0x1ce)](_0x462e0e);}[_0x51df63(0x156)](_0x5b2cd1){const _0x1ea20b=_0x51df63;this[_0x1ea20b(0x148)][_0x1ea20b(0x1ce)](_0x5b2cd1);}[_0x51df63(0x189)](_0x3f62f8){const _0x542502=_0x51df63;this['_onRawClickDelegate'][_0x542502(0x1ce)](_0x3f62f8);}[_0x51df63(0x1b7)](_0x27f93e,_0x4ef33f){const _0x50015a=_0x51df63,_0x1ef5a9={'component':_0x27f93e,'hit':_0x4ef33f,'handled':![]};this['_onComponentHoverBeginDelegate'][_0x50015a(0x1ce)](_0x1ef5a9),!_0x1ef5a9['handled']&&_0x27f93e[_0x50015a(0x1be)]();}[_0x51df63(0x121)](_0x4142b4){const _0x5433dd=_0x51df63,_0x249fef={'component':_0x4142b4,'hit':null,'handled':![]};this[_0x5433dd(0x117)]['broadcast'](_0x249fef),!_0x249fef[_0x5433dd(0x1c6)]&&_0x4142b4['onHorveringEnd']();}['fireComponentClick'](_0x296e35,_0xca562,_0x4d88bb){const _0x2bf7e3=_0x51df63,_0xbd65a6=Object['assign']({'component':_0x296e35,'hit':_0xca562,'handled':![]},this['prepareClickModifiers']);_0x4d88bb?(this[_0x2bf7e3(0x1a2)][_0x2bf7e3(0x1ce)](_0xbd65a6),!_0xbd65a6[_0x2bf7e3(0x1c6)]&&_0x296e35[_0x2bf7e3(0x1ca)]()):(this[_0x2bf7e3(0x16c)][_0x2bf7e3(0x1ce)](_0xbd65a6),!_0xbd65a6[_0x2bf7e3(0x1c6)]&&_0x296e35['onClicked']());}[_0x51df63(0x15d)](_0x4e1fa4,_0x36dbae,_0x60de3a){const _0x1edc8f=_0x51df63,_0x2ee995={'component':_0x4e1fa4,'hit':_0x36dbae,'button':_0x60de3a,'handled':![]};this['_onComponentPointerDownDelegate'][_0x1edc8f(0x1ce)](_0x2ee995);}[_0x51df63(0x1b2)](_0xed6506,_0x3f3a01,_0x70c988){const _0x59d1dd=_0x51df63,_0x3786f7={'actor':_0xed6506,'component':_0x3f3a01,'hit':_0x70c988,'handled':![]};this[_0x59d1dd(0x141)][_0x59d1dd(0x1ce)](_0x3786f7),!_0x3786f7['handled']&&_0xed6506[_0x59d1dd(0x160)](_0x3f3a01);}[_0x51df63(0x1d1)](_0x2ddf5d,_0x59b111){const _0x1aca65=_0x51df63,_0x8b0539={'actor':_0x2ddf5d,'component':_0x59b111,'hit':null,'handled':![]};this[_0x1aca65(0x1ae)]['broadcast'](_0x8b0539),!_0x8b0539[_0x1aca65(0x1c6)]&&_0x2ddf5d['onActorHoverEnd'](_0x59b111);}['fireActorClick'](_0x42d213,_0x61d3ff,_0x4b189a,_0x138551){const _0x28d735=_0x51df63,_0x68968b=Object[_0x28d735(0x17b)]({'actor':_0x42d213,'component':_0x61d3ff,'hit':_0x4b189a,'handled':![]},this[_0x28d735(0x11c)]);_0x138551?(this[_0x28d735(0x193)]['broadcast'](_0x68968b),!_0x68968b[_0x28d735(0x1c6)]&&_0x42d213[_0x28d735(0x163)](_0x61d3ff)):(this[_0x28d735(0x1a1)][_0x28d735(0x1ce)](_0x68968b),!_0x68968b[_0x28d735(0x1c6)]&&_0x42d213['onActorClick'](_0x61d3ff));}[_0x51df63(0x198)](_0xd62745,_0x363aad,_0x1a7bc2){const _0xb9a9e0=_0x51df63;this[_0xb9a9e0(0x158)](_0xd62745,_0x363aad,_0x1a7bc2);const _0x390c69=_0xd62745[_0xb9a9e0(0x11a)];if(_0x390c69){if(_0x390c69[_0xb9a9e0(0x153)])this[_0xb9a9e0(0x13d)](_0x390c69,_0xd62745,_0x363aad,_0x1a7bc2);}}[_0x51df63(0x16e)](){const _0x406377=_0x51df63;this['leftClickTimer']&&(window[_0x406377(0x15a)](this['leftClickTimer']),this['leftClickTimer']=null);}['addCorePointerListeners'](){const _0x2d63f4=_0x51df63,_0xbf191b=this[_0x2d63f4(0x168)][_0x2d63f4(0x11d)];if(!_0xbf191b)return;_0xbf191b[_0x2d63f4(0x19b)](_0x2d63f4(0x12b),this[_0x2d63f4(0x19d)]),_0xbf191b[_0x2d63f4(0x19b)](_0x2d63f4(0x139),this['onPointerUp']),_0xbf191b[_0x2d63f4(0x19b)](_0x2d63f4(0x1c5),this[_0x2d63f4(0x11e)]);}['removeCorePointerListeners'](){const _0x25a012=_0x51df63,_0x378a7e=this[_0x25a012(0x168)][_0x25a012(0x11d)];if(!_0x378a7e)return;_0x378a7e[_0x25a012(0x151)](_0x25a012(0x12b),this['onPointerMove']),_0x378a7e['removeEventListener']('pointerup',this[_0x25a012(0x13c)]),_0x378a7e[_0x25a012(0x151)](_0x25a012(0x1c5),this[_0x25a012(0x11e)]);}[_0x51df63(0x15b)](_0x2eb077=!![]){const _0x414562=_0x51df63;return this[_0x414562(0x113)](this[_0x414562(0x169)]['x'],this[_0x414562(0x169)]['y'],_0x2eb077);}[_0x51df63(0x113)](_0x23d6c7,_0x1a2715,_0x32fa44=!![]){const _0x3235a3=_0x51df63;this['_raycastVec2'][_0x3235a3(0x118)](_0x23d6c7,_0x1a2715),this[_0x3235a3(0x136)][_0x3235a3(0x125)](this[_0x3235a3(0x1b4)],this[_0x3235a3(0x14b)]);const _0x34d0b4=this[_0x3235a3(0x17e)](_0x23d6c7,_0x1a2715);if(!_0x32fa44)return _0x34d0b4[0x0]||null;for(const _0x17f20e of _0x34d0b4){const _0x7ccb38=_0x17f20e[_0x3235a3(0x135)][_0x3235a3(0x1cd)]||_0x17f20e[_0x3235a3(0x135)][_0x3235a3(0x153)],_0x3369a0=_0x17f20e[_0x3235a3(0x135)][_0x3235a3(0x11a)],_0x44ac51=_0x3369a0&&(_0x3369a0['isHoverEnabled']||_0x3369a0['isClickEnabled']);if(_0x7ccb38||_0x44ac51)return _0x17f20e;}return null;}[_0x51df63(0x110)](_0x50701c=!![]){const _0x581f75=_0x51df63;return this[_0x581f75(0x17e)](this[_0x581f75(0x169)]['x'],this[_0x581f75(0x169)]['y']);}['getAllHitResultFromScreenPoint'](_0x433345,_0x37d9a0){const _0x3b1638=_0x51df63;this[_0x3b1638(0x1b4)][_0x3b1638(0x118)](_0x433345,_0x37d9a0),this[_0x3b1638(0x136)][_0x3b1638(0x125)](this[_0x3b1638(0x1b4)],this[_0x3b1638(0x14b)]);const _0x4284a8=this['raycaster'][_0x3b1638(0x1cc)][_0x3b1638(0x146)],_0x13426f=this[_0x3b1638(0x136)][_0x3b1638(0x1cc)]['at'](0x2710,new Vector3()),_0x219ded=this['world'][_0x3b1638(0x137)][_0x3b1638(0x191)](_0x4284a8,_0x13426f,CollisionChannel[_0x3b1638(0x1b6)]),_0x1db5cd=[];for(const _0x243114 of _0x219ded){if(!_0x243114[_0x3b1638(0x14e)]||!_0x243114[_0x3b1638(0x14e)][_0x3b1638(0x1d2)])continue;if(this[_0x3b1638(0x14b)]instanceof PerspectiveCamera&&_0x243114[_0x3b1638(0x114)]<this[_0x3b1638(0x14b)][_0x3b1638(0x176)])continue;const _0x244d04={'distance':_0x243114['distance'],'point':_0x243114[_0x3b1638(0x124)],'object':_0x243114['collider']['threeObject'],'uv':new Vector2$1(0x0,0x0)};_0x1db5cd['push']({'component':_0x243114['collider'],'hit':_0x244d04});if(_0x243114['blocking'])break;}return _0x1db5cd;}[_0x51df63(0x192)](_0x2b9684,_0x4e2522,_0x170a29,_0x23ded5,_0x2a970b=null,_0x311f59=null){const _0x5dcb00=_0x51df63;this[_0x5dcb00(0x147)][_0x5dcb00(0x192)](_0x2b9684,_0x4e2522,_0x170a29,_0x23ded5,_0x2a970b,_0x311f59);}[_0x51df63(0x17c)](_0x527980,_0x15d87a,_0x1940e5={}){const _0x3eca12=_0x51df63,{computeOptimalQuat:computeOptimalQuat=![],onGoing:onGoing=null,onFinished:onFinished=null,targetScreenRatio:targetScreenRatio=Math['sqrt'](0.5)}=_0x1940e5,_0x208a4b=new Vector3(),_0x15a2be=new Vector3();_0x527980[_0x3eca12(0x12c)](_0x208a4b),_0x527980[_0x3eca12(0x116)](_0x15a2be);const _0x33ecb5=this[_0x3eca12(0x129)][_0x3eca12(0x14b)];if(_0x33ecb5&&_0x33ecb5[_0x3eca12(0x18a)]){const _0x569227=_0x33ecb5[_0x3eca12(0x16d)]*(Math['PI']/0xb4),_0xe891cc=_0x15a2be['length']()*0.5,_0x11ad10=Math[_0x3eca12(0x1c4)](_0xe891cc/targetScreenRatio/Math[_0x3eca12(0x13a)](_0x569227/0x2),_0x33ecb5[_0x3eca12(0x176)]*0x2);let _0x4f57af=_0x33ecb5[_0x3eca12(0x111)][_0x3eca12(0x197)]();if(computeOptimalQuat){const _0x3ffffa=[new Euler(-Math['PI']/0x6,Math['PI']/0x4,0x0,_0x3eca12(0x16b)),new Euler(-Math['PI']/0x6,Math['PI']/0x2,0x0,_0x3eca12(0x16b)),new Euler(-Math['PI']/0x6,-Math['PI']/0x2,0x0,_0x3eca12(0x16b)),new Euler(-Math['PI']/0x6,0x0,0x0,_0x3eca12(0x16b)),new Euler(-Math['PI']/0x6,Math['PI'],0x0,_0x3eca12(0x16b)),new Euler(-Math['PI']/0x4,Math['PI']/0x4,0x0,'YXZ'),new Euler(-Math['PI']/0x4,Math['PI']/0x2,0x0,_0x3eca12(0x16b)),new Euler(-Math['PI']/0x4,-Math['PI']/0x2,0x0,_0x3eca12(0x16b)),new Euler(-Math['PI']/0x4,0x0,0x0,_0x3eca12(0x16b)),new Euler(-Math['PI']/0x4,Math['PI'],0x0,_0x3eca12(0x16b)),new Euler(-Math['PI']/0x2,0x0,0x0,_0x3eca12(0x16b)),new Euler(-Math['PI']/0x3,0x0,0x0,'YXZ'),new Euler(-Math['PI']/0x3,Math['PI']/0x2,0x0,_0x3eca12(0x16b)),new Euler(-Math['PI']/0x3,Math['PI'],0x0,_0x3eca12(0x16b)),new Euler(-Math['PI']/0x3,-Math['PI']/0x2,0x0,_0x3eca12(0x16b))];let _0x17abe2=-1;for(const _0x3696f2 of _0x3ffffa){const _0x2309df=new Quaternion()[_0x3eca12(0x1d0)](_0x3696f2),_0x1d73e2=new Vector3(0x0,0x0,0x1)[_0x3eca12(0x1aa)](_0x2309df),_0x298ee0=_0x208a4b[_0x3eca12(0x197)]()[_0x3eca12(0x178)](_0x1d73e2[_0x3eca12(0x128)](_0x11ad10)),_0x563632=this['world'][_0x3eca12(0x137)][_0x3eca12(0x182)](_0x298ee0,_0x208a4b,CollisionChannel['Visibility']);let _0x43ef4a=![],_0x54a41d=_0x11ad10;_0x563632&&_0x563632['blocking']&&(_0x563632[_0x3eca12(0x114)]<_0x11ad10-_0xe891cc*1.2&&(_0x43ef4a=!![],_0x54a41d=_0x563632[_0x3eca12(0x114)]));if(!_0x43ef4a){_0x4f57af=_0x2309df;break;}else _0x54a41d>_0x17abe2&&(_0x17abe2=_0x54a41d,_0x4f57af=_0x2309df);}}const _0xdc18c6=_0x4f57af;this['focusTo'](_0x208a4b,_0xdc18c6,_0x11ad10,_0x15d87a,onGoing,onFinished);}else {const _0x166890=_0x15a2be[_0x3eca12(0x18c)]()*1.5,_0x47e1f2=new Quaternion()[_0x3eca12(0x155)](new Vector3(0x1,0x0,0x0),-Math['PI']/0x4);this[_0x3eca12(0x192)](_0x208a4b,_0x47e1f2,_0x166890,_0x15d87a,onGoing,onFinished);}}['focusToObject'](_0x4c39fd,_0x3b0d24,_0x1e5547={}){const _0x4ecd85=_0x51df63,_0x11e9b5=new Box3()[_0x4ecd85(0x1a5)](_0x4c39fd);this[_0x4ecd85(0x17c)](_0x11e9b5,_0x3b0d24,_0x1e5547);}}
|
|
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
|
-
|
|
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
|
-
var
|
|
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
|
-
(function(
|
|
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
|
-
|
|
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
|
-
(function(
|
|
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
|
-
var
|
|
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
|
-
var
|
|
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
|
-
const
|
|
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
|
-
|
|
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
|
-
|
|
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 _0x3a1a43=_0x37da;(function(_0xa2675f,_0x4898ee){const _0x1f6045=_0x37da,_0x21f98c=_0xa2675f();while(!![]){try{const _0x509595=parseInt(_0x1f6045(0x188))/0x1*(-parseInt(_0x1f6045(0x18b))/0x2)+parseInt(_0x1f6045(0x19a))/0x3*(-parseInt(_0x1f6045(0x183))/0x4)+parseInt(_0x1f6045(0x1b8))/0x5+parseInt(_0x1f6045(0x192))/0x6+-parseInt(_0x1f6045(0x1a0))/0x7+-parseInt(_0x1f6045(0x194))/0x8*(parseInt(_0x1f6045(0x1a4))/0x9)+-parseInt(_0x1f6045(0x1aa))/0xa*(-parseInt(_0x1f6045(0x184))/0xb);if(_0x509595===_0x4898ee)break;else _0x21f98c['push'](_0x21f98c['shift']());}catch(_0x2913ee){_0x21f98c['push'](_0x21f98c['shift']());}}}(_0x4b41,0x60a8b));function _0x4b41(){const _0x2fe686=['getBoundsBottomCenterPosition','2976696uAQyHR','materialPtr','24JkbAxS','obj','constructGeometry','getCenter','material','setAttribute','2016YSESwL','world','geometryPtr','reverse','geometry','min','305725BMnvyt','push','receiveShadow','getValue','131247xlXQwM','_meshData','materialPtr\x20is\x20null','CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result','calculatePolygonArea','warn','1540610gCCOQa','error','setIndex','threeObject','colors','name','assetManager','length','geometryPtr\x20is\x20null','CustomMeshComponent','release','normals','material\x20is\x20null','meshData','1059280ECuRaf','position','removeFromParent','viewport','map','castShadow','vertices','_geometryPtr','clone','addGeometryAsset','app','indices','getBounds','userData','24roIYmD','11GLMIEk','LYObject','uvs','color','2257AKLBPi','_materialPtr','normal','332AFyCcr','addMaterialAsset','addRef','CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...','max','computeUVs'];_0x4b41=function(){return _0x2fe686;};return _0x4b41();}function _0x37da(_0xcc1bea,_0x12a9da){_0xcc1bea=_0xcc1bea-0x178;const _0x4b41a0=_0x4b41();let _0x37daab=_0x4b41a0[_0xcc1bea];return _0x37daab;}class CustomMeshComponent extends SceneComponent{get['threeObject'](){const _0x130aa5=_0x37da;if(!this[_0x130aa5(0x195)])throw new Error('CustomMeshComponent:\x20threeObject\x20is\x20null');return this['obj'];}set[_0x3a1a43(0x1ad)](_0x561d3e){const _0x327652=_0x3a1a43;this[_0x327652(0x195)]=_0x561d3e,this[_0x327652(0x195)]&&(this['obj'][_0x327652(0x182)][_0x327652(0x185)]=this);}get[_0x3a1a43(0x19e)](){const _0xb28f50=_0x3a1a43;if(!this[_0xb28f50(0x17c)])throw new Error(_0xb28f50(0x1b2));return this[_0xb28f50(0x17c)][_0xb28f50(0x1a3)]();}set[_0x3a1a43(0x19e)](_0x5af59e){const _0x61c54=_0x3a1a43;let _0x2d2052=this['app'][_0x61c54(0x1b0)][_0x61c54(0x17e)](_0x5af59e);this[_0x61c54(0x19c)]=_0x2d2052;}get[_0x3a1a43(0x19c)](){const _0x3134aa=_0x3a1a43;if(!this['_geometryPtr'])throw new Error(_0x3134aa(0x1b2));return this[_0x3134aa(0x17c)];}set['geometryPtr'](_0x1c0bf6){const _0xb46319=_0x3a1a43;this[_0xb46319(0x17c)]&&(this[_0xb46319(0x17c)][_0xb46319(0x1b4)](),this[_0xb46319(0x17c)]=null);this[_0xb46319(0x17c)]=_0x1c0bf6;let _0x52db97=_0x1c0bf6[_0xb46319(0x1a3)]();this[_0xb46319(0x1ad)]&&_0x52db97&&(this['threeObject'][_0xb46319(0x19e)]=_0x52db97);}get[_0x3a1a43(0x198)](){const _0x422844=_0x3a1a43;if(!this[_0x422844(0x189)])throw new Error(_0x422844(0x1a6));let _0x150328=this[_0x422844(0x189)]['getValue']();if(!_0x150328)throw new Error(_0x422844(0x1b6));return _0x150328;}get['materialPtr'](){const _0x4d118d=_0x3a1a43;if(!this[_0x4d118d(0x189)])throw new Error(_0x4d118d(0x1a6));return this[_0x4d118d(0x189)];}set['material'](_0x4384e3){const _0x43597c=_0x3a1a43;let _0x2c1300=this['app'][_0x43597c(0x1b0)]['addMaterialAsset'](_0x4384e3);this[_0x43597c(0x193)]=_0x2c1300;}set[_0x3a1a43(0x193)](_0xdfdd8d){const _0x2b8182=_0x3a1a43;this[_0x2b8182(0x189)]&&(this[_0x2b8182(0x189)][_0x2b8182(0x1b4)](),this[_0x2b8182(0x189)]=null);this['_materialPtr']=_0xdfdd8d;let _0x1d343a=_0xdfdd8d[_0x2b8182(0x1a3)]();_0xdfdd8d['addRef'](),this[_0x2b8182(0x1ad)]&&_0x1d343a&&(this[_0x2b8182(0x1ad)][_0x2b8182(0x198)]=_0x1d343a);}constructor(_0x450a02,_0x567430,_0xcab7c9,_0x27295c){const _0x556579=_0x3a1a43;super(_0x450a02,_0x27295c),this[_0x556579(0x1a5)]=_0x567430;let _0x695da6=_0x450a02[_0x556579(0x1b0)][_0x556579(0x18c)](_0xcab7c9);this['_materialPtr']=_0x695da6,_0x695da6[_0x556579(0x18d)]();const _0x247960=this[_0x556579(0x196)](_0x567430);this['_geometryPtr']=_0x450a02[_0x556579(0x1b0)][_0x556579(0x17e)](_0x247960),this[_0x556579(0x1ad)][_0x556579(0x198)]=_0xcab7c9,this['threeObject']['geometry']=_0x247960,this[_0x556579(0x1af)]=_0x556579(0x1b3),this[_0x556579(0x17a)]=!![],this[_0x556579(0x1a2)]=!![];}[_0x3a1a43(0x190)](_0x46757c){const _0x3d0ba7=_0x3a1a43,_0x50556a=new Float32Array(_0x46757c[_0x3d0ba7(0x1b1)]*0x2);if(_0x46757c['length']===0x0)return _0x50556a;let _0x3c7bf3=Infinity,_0x231196=-Infinity,_0xcd8044=Infinity,_0x144d3a=-Infinity,_0x1ba253=Infinity,_0x4abba9=-Infinity;for(const _0x30e8ad of _0x46757c){_0x3c7bf3=Math[_0x3d0ba7(0x19f)](_0x3c7bf3,_0x30e8ad['x']),_0x231196=Math[_0x3d0ba7(0x18f)](_0x231196,_0x30e8ad['x']),_0xcd8044=Math[_0x3d0ba7(0x19f)](_0xcd8044,_0x30e8ad['y']),_0x144d3a=Math['max'](_0x144d3a,_0x30e8ad['y']),_0x1ba253=Math[_0x3d0ba7(0x19f)](_0x1ba253,_0x30e8ad['z']),_0x4abba9=Math[_0x3d0ba7(0x18f)](_0x4abba9,_0x30e8ad['z']);}const _0x5f0b27=_0x231196-_0x3c7bf3,_0x591818=_0x144d3a-_0xcd8044,_0x1b4f90=_0x4abba9-_0x1ba253;let _0x4375ee,_0x1d33e4,_0x4c96df,_0x564dac,_0x187506,_0x59120b;if(_0x5f0b27<=_0x591818&&_0x5f0b27<=_0x1b4f90)_0x4375ee='y',_0x1d33e4='z',_0x4c96df=_0xcd8044,_0x564dac=_0x591818,_0x187506=_0x1ba253,_0x59120b=_0x1b4f90;else _0x591818<=_0x5f0b27&&_0x591818<=_0x1b4f90?(_0x4375ee='x',_0x1d33e4='z',_0x4c96df=_0x3c7bf3,_0x564dac=_0x5f0b27,_0x187506=_0x1ba253,_0x59120b=_0x1b4f90):(_0x4375ee='x',_0x1d33e4='y',_0x4c96df=_0x3c7bf3,_0x564dac=_0x5f0b27,_0x187506=_0xcd8044,_0x59120b=_0x591818);if(_0x564dac===0x0)_0x564dac=0x1;if(_0x59120b===0x0)_0x59120b=0x1;for(let _0x7ff1fc=0x0;_0x7ff1fc<_0x46757c[_0x3d0ba7(0x1b1)];_0x7ff1fc++){const _0x524180=_0x46757c[_0x7ff1fc],_0x257111=(_0x524180[_0x4375ee]-_0x4c96df)/_0x564dac,_0x3f5376=(_0x524180[_0x1d33e4]-_0x187506)/_0x59120b;_0x50556a[_0x7ff1fc*0x2]=_0x257111,_0x50556a[_0x7ff1fc*0x2+0x1]=_0x3f5376;}return _0x50556a;}['calculatePolygonArea'](_0x3ace2e){const _0x210a90=_0x3a1a43;let _0x2b7b98=0x0;const _0x324188=_0x3ace2e[_0x210a90(0x1b1)]/0x2;for(let _0x435a61=0x0;_0x435a61<_0x324188;_0x435a61++){const _0x394669=(_0x435a61+0x1)%_0x324188,_0x16d512=_0x3ace2e[_0x435a61*0x2],_0x3d77e8=_0x3ace2e[_0x435a61*0x2+0x1],_0x2a2d63=_0x3ace2e[_0x394669*0x2],_0x1a3c04=_0x3ace2e[_0x394669*0x2+0x1];_0x2b7b98+=_0x16d512*_0x1a3c04-_0x2a2d63*_0x3d77e8;}return _0x2b7b98/0x2;}[_0x3a1a43(0x196)](_0xcf4718){const _0x2809f8=_0x3a1a43,_0x2a39b1=new BufferGeometry();if(!_0xcf4718[_0x2809f8(0x17b)]||_0xcf4718['vertices'][_0x2809f8(0x1b1)]===0x0)return console[_0x2809f8(0x1ab)]('CustomMeshComponent:\x20Invalid\x20vertices\x20data'),_0x2a39b1;const _0x410475=new Float32Array(_0xcf4718[_0x2809f8(0x17b)][_0x2809f8(0x1b1)]*0x3);for(let _0x3572ac=0x0;_0x3572ac<_0xcf4718['vertices'][_0x2809f8(0x1b1)];_0x3572ac++){_0x410475[_0x3572ac*0x3]=_0xcf4718[_0x2809f8(0x17b)][_0x3572ac]['x'],_0x410475[_0x3572ac*0x3+0x1]=_0xcf4718[_0x2809f8(0x17b)][_0x3572ac]['y'],_0x410475[_0x3572ac*0x3+0x2]=_0xcf4718[_0x2809f8(0x17b)][_0x3572ac]['z'];}_0x2a39b1['setAttribute'](_0x2809f8(0x1b9),new Float32BufferAttribute(_0x410475,0x3));if(_0xcf4718['indices']&&_0xcf4718[_0x2809f8(0x180)]['length']>0x0)_0x2a39b1[_0x2809f8(0x1ac)](_0xcf4718[_0x2809f8(0x180)]);else {const _0x3565f5=[];let _0x4bfa8c=Infinity,_0x3828ef=-Infinity,_0x51713f=Infinity,_0x3e5dc4=-Infinity,_0x40e162=Infinity,_0x4c5b40=-Infinity;for(let _0x3e91ce=0x0;_0x3e91ce<_0xcf4718[_0x2809f8(0x17b)]['length'];_0x3e91ce++){const _0x276b10=_0xcf4718[_0x2809f8(0x17b)][_0x3e91ce];_0x51713f=Math[_0x2809f8(0x19f)](_0x51713f,_0x276b10['x']),_0x3e5dc4=Math['max'](_0x3e5dc4,_0x276b10['x']),_0x4bfa8c=Math[_0x2809f8(0x19f)](_0x4bfa8c,_0x276b10['y']),_0x3828ef=Math[_0x2809f8(0x18f)](_0x3828ef,_0x276b10['y']),_0x40e162=Math[_0x2809f8(0x19f)](_0x40e162,_0x276b10['z']),_0x4c5b40=Math[_0x2809f8(0x18f)](_0x4c5b40,_0x276b10['z']);}const _0x1ea4e3=_0x3e5dc4-_0x51713f,_0x12d5e5=_0x3828ef-_0x4bfa8c,_0x36691b=_0x4c5b40-_0x40e162;if(_0x12d5e5<=_0x1ea4e3&&_0x12d5e5<=_0x36691b){for(let _0x2b75fd=0x0;_0x2b75fd<_0xcf4718[_0x2809f8(0x17b)][_0x2809f8(0x1b1)];_0x2b75fd++){_0x3565f5['push'](_0xcf4718[_0x2809f8(0x17b)][_0x2b75fd]['x']),_0x3565f5[_0x2809f8(0x1a1)](_0xcf4718['vertices'][_0x2b75fd]['z']);}}else {if(_0x1ea4e3<=_0x12d5e5&&_0x1ea4e3<=_0x36691b){for(let _0x19ee16=0x0;_0x19ee16<_0xcf4718['vertices']['length'];_0x19ee16++){_0x3565f5[_0x2809f8(0x1a1)](_0xcf4718[_0x2809f8(0x17b)][_0x19ee16]['y']),_0x3565f5[_0x2809f8(0x1a1)](_0xcf4718[_0x2809f8(0x17b)][_0x19ee16]['z']);}}else {for(let _0x122368=0x0;_0x122368<_0xcf4718['vertices']['length'];_0x122368++){_0x3565f5[_0x2809f8(0x1a1)](_0xcf4718[_0x2809f8(0x17b)][_0x122368]['x']),_0x3565f5[_0x2809f8(0x1a1)](_0xcf4718[_0x2809f8(0x17b)][_0x122368]['y']);}}}const _0x1cf22d=this[_0x2809f8(0x1a8)](_0x3565f5),_0xa4cae=_0x1cf22d<0x0;if(_0xa4cae){console[_0x2809f8(0x1a9)](_0x2809f8(0x18e)),_0x3565f5[_0x2809f8(0x19d)]();const _0x2fa129=[];for(let _0x2f1433=_0x3565f5[_0x2809f8(0x1b1)]-0x2;_0x2f1433>=0x0;_0x2f1433-=0x2){_0x2fa129[_0x2809f8(0x1a1)](_0x3565f5[_0x2f1433],_0x3565f5[_0x2f1433+0x1]);}_0x3565f5[_0x2809f8(0x1b1)]=0x0,_0x3565f5[_0x2809f8(0x1a1)](..._0x2fa129);}try{const _0x5950fc=_0x594b1e(_0x3565f5,undefined,0x2);if(_0x5950fc&&_0x5950fc[_0x2809f8(0x1b1)]>0x0){if(_0xa4cae)for(let _0x3efa7a=0x0;_0x3efa7a<_0x5950fc['length'];_0x3efa7a+=0x3){const _0x56915a=_0x5950fc[_0x3efa7a];_0x5950fc[_0x3efa7a]=_0x5950fc[_0x3efa7a+0x2],_0x5950fc[_0x3efa7a+0x2]=_0x56915a;}_0x2a39b1[_0x2809f8(0x1ac)](_0x5950fc);}else console[_0x2809f8(0x1a9)](_0x2809f8(0x1a7));}catch(_0xb8d1ef){console[_0x2809f8(0x1ab)]('CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:',_0xb8d1ef);}}if(_0xcf4718[_0x2809f8(0x1b5)]&&_0xcf4718['normals'][_0x2809f8(0x1b1)]===_0xcf4718[_0x2809f8(0x17b)][_0x2809f8(0x1b1)]){const _0x55f370=new Float32Array(_0xcf4718[_0x2809f8(0x1b5)][_0x2809f8(0x1b1)]*0x3);for(let _0x3dd2b0=0x0;_0x3dd2b0<_0xcf4718[_0x2809f8(0x1b5)][_0x2809f8(0x1b1)];_0x3dd2b0++){_0x55f370[_0x3dd2b0*0x3]=_0xcf4718[_0x2809f8(0x1b5)][_0x3dd2b0]['x'],_0x55f370[_0x3dd2b0*0x3+0x1]=_0xcf4718[_0x2809f8(0x1b5)][_0x3dd2b0]['y'],_0x55f370[_0x3dd2b0*0x3+0x2]=_0xcf4718[_0x2809f8(0x1b5)][_0x3dd2b0]['z'];}_0x2a39b1['setAttribute'](_0x2809f8(0x18a),new Float32BufferAttribute(_0x55f370,0x3));}else _0x2a39b1['computeVertexNormals']();if(_0xcf4718[_0x2809f8(0x186)]&&_0xcf4718[_0x2809f8(0x186)][_0x2809f8(0x1b1)]>0x0){const _0x5e2627=new Float32Array(_0xcf4718[_0x2809f8(0x186)][_0x2809f8(0x1b1)]*0x2);for(let _0x32c6d8=0x0;_0x32c6d8<_0xcf4718['uvs'][_0x2809f8(0x1b1)];_0x32c6d8++){_0x5e2627[_0x32c6d8*0x2]=_0xcf4718['uvs'][_0x32c6d8]['x'],_0x5e2627[_0x32c6d8*0x2+0x1]=_0xcf4718[_0x2809f8(0x186)][_0x32c6d8]['y'];}_0x2a39b1[_0x2809f8(0x199)]('uv',new Float32BufferAttribute(_0x5e2627,0x2));}else {const _0x3d291a=this['computeUVs'](_0xcf4718[_0x2809f8(0x17b)]);_0x2a39b1[_0x2809f8(0x199)]('uv',new Float32BufferAttribute(_0x3d291a,0x2));}if(_0xcf4718[_0x2809f8(0x1ae)]&&_0xcf4718[_0x2809f8(0x1ae)][_0x2809f8(0x1b1)]===_0xcf4718[_0x2809f8(0x17b)][_0x2809f8(0x1b1)]){const _0x840ed1=new Float32Array(_0xcf4718[_0x2809f8(0x1ae)][_0x2809f8(0x1b1)]*0x3);for(let _0x4d4e4a=0x0;_0x4d4e4a<_0xcf4718[_0x2809f8(0x1ae)][_0x2809f8(0x1b1)];_0x4d4e4a++){_0x840ed1[_0x4d4e4a*0x3]=_0xcf4718['colors'][_0x4d4e4a]['r'],_0x840ed1[_0x4d4e4a*0x3+0x1]=_0xcf4718['colors'][_0x4d4e4a]['g'],_0x840ed1[_0x4d4e4a*0x3+0x2]=_0xcf4718[_0x2809f8(0x1ae)][_0x4d4e4a]['b'];}_0x2a39b1['setAttribute'](_0x2809f8(0x187),new Float32BufferAttribute(_0x840ed1,0x3));}return _0x2a39b1;}set[_0x3a1a43(0x1b7)](_0x118a61){const _0x22828c=_0x3a1a43;var _0x5ac038,_0x1a3be6,_0x32e823;this['_geometryPtr']&&this['_geometryPtr'][_0x22828c(0x1b4)]();const _0x4e7e9b=this[_0x22828c(0x196)](_0x118a61);this[_0x22828c(0x17c)]=this[_0x22828c(0x17f)][_0x22828c(0x1b0)][_0x22828c(0x17e)](_0x4e7e9b),this[_0x22828c(0x1ad)][_0x22828c(0x19e)]=_0x4e7e9b,this[_0x22828c(0x1a5)]={'vertices':_0x118a61[_0x22828c(0x17b)]['map'](_0x31ea0d=>_0x31ea0d['clone']()),'indices':_0x118a61[_0x22828c(0x180)]?[..._0x118a61[_0x22828c(0x180)]]:undefined,'normals':(_0x5ac038=_0x118a61[_0x22828c(0x1b5)])===null||_0x5ac038===void 0?void 0:_0x5ac038[_0x22828c(0x179)](_0x158e60=>_0x158e60['clone']()),'uvs':(_0x1a3be6=_0x118a61['uvs'])===null||_0x1a3be6===void 0?void 0:_0x1a3be6[_0x22828c(0x179)](_0x3ba100=>_0x3ba100[_0x22828c(0x17d)]()),'colors':(_0x32e823=_0x118a61[_0x22828c(0x1ae)])===null||_0x32e823===void 0?void 0:_0x32e823[_0x22828c(0x179)](_0x49baf7=>_0x49baf7[_0x22828c(0x17d)]())},this[_0x22828c(0x19b)]&&this['world'][_0x22828c(0x178)]['markRenderStateDirty']();}get[_0x3a1a43(0x1b7)](){const _0x111f83=_0x3a1a43;return this[_0x111f83(0x1a5)];}['createDefaultObject'](){return new Mesh();}set[_0x3a1a43(0x17a)](_0x74f733){const _0x10bfd1=_0x3a1a43;if(this[_0x10bfd1(0x1ad)])this[_0x10bfd1(0x1ad)]['castShadow']=_0x74f733;}get['castShadow'](){const _0x567d97=_0x3a1a43;return this['threeObject']?this['threeObject'][_0x567d97(0x17a)]:![];}set[_0x3a1a43(0x1a2)](_0x4847f8){const _0x335dbc=_0x3a1a43;if(!this[_0x335dbc(0x1ad)])return;this[_0x335dbc(0x1ad)][_0x335dbc(0x1a2)]=_0x4847f8;}get[_0x3a1a43(0x1a2)](){const _0x578a41=_0x3a1a43;return this[_0x578a41(0x1ad)]?this[_0x578a41(0x1ad)][_0x578a41(0x1a2)]:![];}['getBoundsCenterPosition'](){const _0x25d92b=_0x3a1a43;let _0x3a2570=new Vector3();return this[_0x25d92b(0x181)]()[_0x25d92b(0x197)](_0x3a2570),_0x3a2570;}['getBoundsTopCenterPosition'](){const _0x1d7b8b=_0x3a1a43;let _0x19c795=new Vector3(),_0x2e3798=this[_0x1d7b8b(0x181)]();return _0x2e3798['getCenter'](_0x19c795),_0x19c795['y']=_0x2e3798[_0x1d7b8b(0x18f)]['y'],_0x19c795;}[_0x3a1a43(0x191)](){const _0x31a3c5=_0x3a1a43;let _0x5ca9f3=new Vector3(),_0x33ebde=this['getBounds']();return _0x33ebde['getCenter'](_0x5ca9f3),_0x5ca9f3['y']=_0x33ebde[_0x31a3c5(0x19f)]['y'],_0x5ca9f3;}['destroyObject'](){const _0x5c548e=_0x3a1a43;var _0xf9ac7c,_0x125483;this[_0x5c548e(0x1ad)]&&this['threeObject'][_0x5c548e(0x1ba)](),(_0xf9ac7c=this[_0x5c548e(0x17c)])===null||_0xf9ac7c===void 0?void 0:_0xf9ac7c['release'](),(_0x125483=this[_0x5c548e(0x189)])===null||_0x125483===void 0?void 0:_0x125483['release'](),super['destroyObject']();}}
|
|
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
|
-
const
|
|
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
|
-
function _0x459c(_0x1148fa,_0xebb830){_0x1148fa=_0x1148fa-0x14b;const _0xd43737=_0xd437();let _0x459c8b=_0xd43737[_0x1148fa];return _0x459c8b;}const _0x3a37d1=_0x459c;(function(_0x3b13ad,_0x208998){const _0x3ed8c9=_0x459c,_0x511f84=_0x3b13ad();while(!![]){try{const _0x274f3e=-parseInt(_0x3ed8c9(0x1a8))/0x1+parseInt(_0x3ed8c9(0x181))/0x2*(parseInt(_0x3ed8c9(0x1b5))/0x3)+-parseInt(_0x3ed8c9(0x169))/0x4+parseInt(_0x3ed8c9(0x16b))/0x5+-parseInt(_0x3ed8c9(0x1b4))/0x6*(-parseInt(_0x3ed8c9(0x161))/0x7)+-parseInt(_0x3ed8c9(0x18d))/0x8*(-parseInt(_0x3ed8c9(0x173))/0x9)+-parseInt(_0x3ed8c9(0x171))/0xa;if(_0x274f3e===_0x208998)break;else _0x511f84['push'](_0x511f84['shift']());}catch(_0x291882){_0x511f84['push'](_0x511f84['shift']());}}}(_0xd437,0xeef26));function normalizeAssetUrl(_0x336d0e){const _0x305544=_0x459c,_0x21586d=String(_0x336d0e!==null&&_0x336d0e!==void 0?_0x336d0e:'')[_0x305544(0x19e)]();if(!_0x21586d)return '';if(/^https?:\/\//i['test'](_0x21586d))return _0x21586d;if(_0x21586d[_0x305544(0x1ba)]('/'))return _0x21586d;return '/'+_0x21586d;}function getMeshPlaneLocalSize(_0x2a29c7){const _0x4e8335=_0x459c,_0x6509d1=_0x2a29c7[_0x4e8335(0x1a5)];if(!_0x6509d1)return {'width':0x1,'height':0x1};if(!_0x6509d1[_0x4e8335(0x194)])_0x6509d1[_0x4e8335(0x192)]();const _0x3577ea=_0x6509d1[_0x4e8335(0x194)];if(!_0x3577ea)return {'width':0x1,'height':0x1};const _0x2fc717=_0x3577ea[_0x4e8335(0x191)](new Vector3$1()),_0x23531c=[Math['abs'](_0x2fc717['x']),Math[_0x4e8335(0x1c1)](_0x2fc717['y']),Math[_0x4e8335(0x1c1)](_0x2fc717['z'])][_0x4e8335(0x19a)]((_0xfae1c1,_0x3453aa)=>_0x3453aa-_0xfae1c1),_0x581453=Math['max'](0.0001,_0x23531c[0x0]||0x1),_0x1912f8=Math[_0x4e8335(0x1b6)](0.0001,_0x23531c[0x1]||_0x581453);return {'width':_0x581453,'height':_0x1912f8};}function getMeshLocalNormal(_0xb7391b){const _0x4281b5=_0x459c,_0x3f2aab=_0xb7391b['geometry'];if(!_0x3f2aab)return new Vector3$1(0x0,0x0,0x1);const _0xdf0158=_0x3f2aab[_0x4281b5(0x18c)](_0x4281b5(0x199));if(_0xdf0158&&_0xdf0158[_0x4281b5(0x17a)]>0x0){const _0x3e3bed=new Vector3$1(),_0x4b46c3=new Vector3$1();for(let _0x20a8df=0x0;_0x20a8df<_0xdf0158['count'];_0x20a8df++){_0x4b46c3[_0x4281b5(0x16c)](_0xdf0158,_0x20a8df),_0x3e3bed['add'](_0x4b46c3);}if(_0x3e3bed[_0x4281b5(0x15f)]()>1e-12)return _0x3e3bed['normalize']();}const _0x295385=_0x3f2aab[_0x4281b5(0x18c)]('position');if(!_0x295385||_0x295385[_0x4281b5(0x17a)]<0x3)return new Vector3$1(0x0,0x0,0x1);const _0x521637=_0x3f2aab[_0x4281b5(0x14c)](),_0x1d6232=new Vector3$1(),_0x3df0e3=new Vector3$1(),_0x41a8e=new Vector3$1(),_0x4bd244=new Vector3$1(),_0x1cd34e=new Vector3$1(),_0x36d19a=new Vector3$1(),_0x3de6e6=new Vector3$1(),_0x13266e=_0x521637?Math[_0x4281b5(0x1a6)](_0x521637['count']/0x3):Math['floor'](_0x295385[_0x4281b5(0x17a)]/0x3);for(let _0x510049=0x0;_0x510049<_0x13266e;_0x510049++){const _0x36279a=_0x521637?_0x521637[_0x4281b5(0x1b3)](_0x510049*0x3+0x0):_0x510049*0x3+0x0,_0x7cda99=_0x521637?_0x521637[_0x4281b5(0x1b3)](_0x510049*0x3+0x1):_0x510049*0x3+0x1,_0x543be6=_0x521637?_0x521637[_0x4281b5(0x1b3)](_0x510049*0x3+0x2):_0x510049*0x3+0x2;_0x1d6232[_0x4281b5(0x16c)](_0x295385,_0x36279a),_0x3df0e3['fromBufferAttribute'](_0x295385,_0x7cda99),_0x41a8e[_0x4281b5(0x16c)](_0x295385,_0x543be6),_0x4bd244[_0x4281b5(0x175)](_0x3df0e3,_0x1d6232),_0x1cd34e[_0x4281b5(0x175)](_0x41a8e,_0x1d6232),_0x3de6e6['crossVectors'](_0x4bd244,_0x1cd34e);if(_0x3de6e6['lengthSq']()<1e-14)continue;_0x36d19a[_0x4281b5(0x1be)](_0x3de6e6);}if(_0x36d19a[_0x4281b5(0x15f)]()<1e-12)return new Vector3$1(0x0,0x0,0x1);return _0x36d19a[_0x4281b5(0x18b)]();}function collectOcclusionMeshes(_0x2b446a){const _0xeb988f=_0x459c,_0xba2be=[];return _0x2b446a[_0xeb988f(0x17c)](_0x37971d=>{const _0x3533bc=_0xeb988f;var _0x3c8e6d;const _0x5b5b03=_0x37971d;if(!(_0x5b5b03===null||_0x5b5b03===void 0?void 0:_0x5b5b03[_0x3533bc(0x190)]))return;if(!_0x37971d['visible'])return;if((_0x3c8e6d=_0x37971d[_0x3533bc(0x1a3)])===null||_0x3c8e6d===void 0?void 0:_0x3c8e6d[_0x3533bc(0x152)])return;_0xba2be[_0x3533bc(0x154)](_0x37971d);}),_0xba2be;}class CSS3DWebPanelComponent extends SceneComponent{get[_0x3a37d1(0x153)](){const _0x5f2b13=_0x3a37d1;if(!this[_0x5f2b13(0x179)])throw new Error(_0x5f2b13(0x1aa));return this[_0x5f2b13(0x179)];}set[_0x3a37d1(0x153)](_0x12c069){const _0x4714c1=_0x3a37d1;this[_0x4714c1(0x179)]=_0x12c069,this['obj']&&(this[_0x4714c1(0x179)]['userData'][_0x4714c1(0x150)]=this);}constructor(_0xd4425e,_0x2fddce,_0x3d9e46,_0x686bc){const _0x8c0f17=_0x3a37d1;super(_0xd4425e,_0x686bc),this[_0x8c0f17(0x1af)]=null,this[_0x8c0f17(0x165)]=null,this[_0x8c0f17(0x16e)]=null,this[_0x8c0f17(0x15a)]=[],this[_0x8c0f17(0x168)]=[],this[_0x8c0f17(0x1b9)]=null,this[_0x8c0f17(0x1a1)]=new Vector3$1(),this[_0x8c0f17(0x14b)]=new Vector3$1(),this[_0x8c0f17(0x177)]=new Vector3$1(),this[_0x8c0f17(0x14f)]=new Raycaster$1(),this['occlusionCandidates']=[],this['name']=_0x8c0f17(0x180),this[_0x8c0f17(0x18f)]=_0x2fddce[_0x8c0f17(0x151)](_0x5c7028=>!!_0x5c7028);const _0xe4b924=normalizeAssetUrl(_0x3d9e46);if(!_0xe4b924||!this[_0x8c0f17(0x18f)][_0x8c0f17(0x1bd)])return;this[_0x8c0f17(0x16e)]=this[_0x8c0f17(0x18f)][0x0];const _0x106667=getMeshPlaneLocalSize(this[_0x8c0f17(0x16e)]),_0x1e7555=0x4b0,_0x469cae=Math[_0x8c0f17(0x1b6)](0x200,Math[_0x8c0f17(0x189)](0x1000,Math[_0x8c0f17(0x157)](_0x106667[_0x8c0f17(0x193)]*_0x1e7555))),_0x217c46=Math[_0x8c0f17(0x1b6)](0x200,Math[_0x8c0f17(0x189)](0x1000,Math['round'](_0x106667[_0x8c0f17(0x1bf)]*_0x1e7555))),_0x5c5bba=document[_0x8c0f17(0x178)](_0x8c0f17(0x15c));_0x5c5bba[_0x8c0f17(0x1b7)]['width']=_0x469cae+'px',_0x5c5bba[_0x8c0f17(0x1b7)][_0x8c0f17(0x1bf)]=_0x217c46+'px',_0x5c5bba[_0x8c0f17(0x1b7)][_0x8c0f17(0x1a4)]='auto',_0x5c5bba[_0x8c0f17(0x1b7)]['overflow']='hidden',_0x5c5bba['style']['background']='transparent',_0x5c5bba[_0x8c0f17(0x1b7)][_0x8c0f17(0x19f)]=_0x8c0f17(0x1ae),this[_0x8c0f17(0x1af)]=_0x5c5bba;const _0x544fcb=document[_0x8c0f17(0x178)](_0x8c0f17(0x165));_0x544fcb[_0x8c0f17(0x158)]=_0xe4b924,_0x544fcb[_0x8c0f17(0x1b7)][_0x8c0f17(0x193)]='100%',_0x544fcb[_0x8c0f17(0x1b7)][_0x8c0f17(0x1bf)]='100%',_0x544fcb[_0x8c0f17(0x1b7)]['border']='0',_0x544fcb[_0x8c0f17(0x1b7)][_0x8c0f17(0x19b)]=_0x8c0f17(0x1c3),_0x544fcb[_0x8c0f17(0x1b7)]['pointerEvents']='auto',_0x544fcb['style'][_0x8c0f17(0x19f)]=_0x8c0f17(0x1ae),_0x544fcb['setAttribute'](_0x8c0f17(0x155),_0x8c0f17(0x186)),_0x544fcb[_0x8c0f17(0x185)](_0x8c0f17(0x1b1),_0x8c0f17(0x174)),_0x544fcb[_0x8c0f17(0x185)](_0x8c0f17(0x1a2),'lazy'),_0x5c5bba['appendChild'](_0x544fcb),this['iframe']=_0x544fcb;const _0x20c576=new CSS3DObject(_0x5c5bba);_0x20c576[_0x8c0f17(0x197)]=(this['targetMesh'][_0x8c0f17(0x197)]||'wallboard')+'__css3d_web',_0x20c576['position'][_0x8c0f17(0x1ab)](0x0,0x0,0.001),_0x20c576[_0x8c0f17(0x166)][_0x8c0f17(0x17b)](new Vector3$1(0x0,0x0,0x1),getMeshLocalNormal(this['targetMesh'])),_0x20c576[_0x8c0f17(0x1a0)][_0x8c0f17(0x1ab)](_0x106667[_0x8c0f17(0x193)]/_0x469cae,_0x106667[_0x8c0f17(0x1bf)]/_0x217c46,0x1),this['threeObject']=_0x20c576,this['targetMesh']['add'](_0x20c576),this[_0x8c0f17(0x15d)](),this[_0x8c0f17(0x195)]=collectOcclusionMeshes(this[_0x8c0f17(0x160)][_0x8c0f17(0x19d)][_0x8c0f17(0x16f)]),this[_0x8c0f17(0x1a9)]();}['createDefaultObject'](){const _0x2d4017=_0x3a37d1;return new CSS3DObject(document[_0x2d4017(0x178)]('div'));}[_0x3a37d1(0x15d)](){const _0x3f2cd3=_0x3a37d1;var _0xce266a;for(const _0x2cbae9 of this[_0x3f2cd3(0x18f)]){_0x2cbae9[_0x3f2cd3(0x198)]=Math[_0x3f2cd3(0x189)]((_0xce266a=_0x2cbae9[_0x3f2cd3(0x198)])!==null&&_0xce266a!==void 0?_0xce266a:0x0,-1e3),_0x2cbae9[_0x3f2cd3(0x1a7)]=![],_0x2cbae9[_0x3f2cd3(0x164)]=![];const _0x5781e9=Array[_0x3f2cd3(0x1c0)](_0x2cbae9[_0x3f2cd3(0x1b2)])?_0x2cbae9['material']:[_0x2cbae9[_0x3f2cd3(0x1b2)]];for(const _0x3580df of _0x5781e9){const _0x17eed2=_0x3580df;if(!_0x17eed2)continue;_0x17eed2['transparent']=!![],_0x17eed2[_0x3f2cd3(0x159)]=0x0,_0x17eed2[_0x3f2cd3(0x184)]=![],_0x17eed2[_0x3f2cd3(0x14d)]=![],_0x17eed2[_0x3f2cd3(0x176)]=![],_0x17eed2['needsUpdate']=!![];}const _0x178c9e=_0x2cbae9[_0x3f2cd3(0x1a5)];if(!_0x178c9e)continue;const _0x1280f5=new MeshBasicMaterial$1({'color':0x0,'side':DoubleSide,'depthTest':!![],'depthWrite':!![],'transparent':![]});_0x1280f5['colorWrite']=![],_0x1280f5[_0x3f2cd3(0x187)]=![],_0x1280f5[_0x3f2cd3(0x170)]=![],_0x1280f5['blending']=NoBlending,_0x1280f5[_0x3f2cd3(0x1bc)]=!![],_0x1280f5['polygonOffsetFactor']=-4,_0x1280f5[_0x3f2cd3(0x19c)]=-4;const _0x1e2294=new Mesh$1(_0x178c9e,_0x1280f5);_0x1e2294[_0x3f2cd3(0x197)]=(_0x2cbae9[_0x3f2cd3(0x197)]||'canvas')+_0x3f2cd3(0x1c2),_0x1e2294[_0x3f2cd3(0x1a3)][_0x3f2cd3(0x152)]=!![],_0x1e2294[_0x3f2cd3(0x198)]=Math[_0x3f2cd3(0x189)](_0x2cbae9['renderOrder']-0x1,-2e3),_0x1e2294[_0x3f2cd3(0x167)][_0x3f2cd3(0x1ab)](0x0,0x0,0x0),_0x1e2294[_0x3f2cd3(0x166)][_0x3f2cd3(0x1ab)](0x0,0x0,0x0,0x1),_0x1e2294[_0x3f2cd3(0x1a0)]['set'](0x1,0x1,0x1),_0x2cbae9[_0x3f2cd3(0x1be)](_0x1e2294),this[_0x3f2cd3(0x15a)][_0x3f2cd3(0x154)](_0x1e2294);const _0x5297a6=new MeshBasicMaterial$1({'color':0x0,'side':DoubleSide,'depthTest':!![],'depthWrite':![],'transparent':!![],'opacity':0x1,'blending':CustomBlending});_0x5297a6[_0x3f2cd3(0x187)]=![],_0x5297a6['fog']=![],_0x5297a6[_0x3f2cd3(0x17f)]=AddEquation,_0x5297a6['blendSrc']=ZeroFactor,_0x5297a6['blendDst']=OneFactor,_0x5297a6[_0x3f2cd3(0x14e)]=ZeroFactor,_0x5297a6[_0x3f2cd3(0x163)]=ZeroFactor;const _0x18d1ba=new Mesh$1(_0x178c9e,_0x5297a6);_0x18d1ba[_0x3f2cd3(0x197)]=(_0x2cbae9['name']||_0x3f2cd3(0x1b8))+_0x3f2cd3(0x196),_0x18d1ba[_0x3f2cd3(0x1a3)]['rayIgnored']=!![],_0x18d1ba[_0x3f2cd3(0x198)]=Math[_0x3f2cd3(0x1b6)](_0x2cbae9['renderOrder']+0x3e8,0x3e8),_0x18d1ba[_0x3f2cd3(0x167)][_0x3f2cd3(0x1ab)](0x0,0x0,0x0),_0x18d1ba[_0x3f2cd3(0x166)][_0x3f2cd3(0x1ab)](0x0,0x0,0x0,0x1),_0x18d1ba['scale'][_0x3f2cd3(0x1ab)](0x1,0x1,0x1),_0x2cbae9[_0x3f2cd3(0x1be)](_0x18d1ba),this['alphaPunchMeshes']['push'](_0x18d1ba);}}[_0x3a37d1(0x1a9)](){const _0x3c8b8e=_0x3a37d1;let _0x3e5f87=0x0;this[_0x3c8b8e(0x1b9)]=_0x191ff9=>{const _0x1a8f1a=_0x3c8b8e;var _0x49cfd6;if(!this[_0x1a8f1a(0x16e)]||!this['wrapper']||!this['iframe'])return;_0x3e5f87+=_0x191ff9;if(_0x3e5f87<0.05)return;_0x3e5f87=0x0;const _0x4ae324=this['app']['camera'];_0x4ae324[_0x1a8f1a(0x16d)](this[_0x1a8f1a(0x1a1)]),this['targetMesh']['getWorldPosition'](this[_0x1a8f1a(0x14b)]),this[_0x1a8f1a(0x177)]['subVectors'](this['panelWorldPos'],this[_0x1a8f1a(0x1a1)]);const _0x56e1f6=this[_0x1a8f1a(0x177)][_0x1a8f1a(0x1bd)]();if(_0x56e1f6<=0.00001)return;this['rayDir'][_0x1a8f1a(0x17e)](_0x56e1f6),this[_0x1a8f1a(0x14f)][_0x1a8f1a(0x1ab)](this[_0x1a8f1a(0x1a1)],this[_0x1a8f1a(0x177)]);const _0x2726d6=this['raycaster']['intersectObjects'](this[_0x1a8f1a(0x195)],!![]);let _0x3ebb9d=![];const _0x2233a0=_0x56e1f6-0.02;for(const _0x2069c5 of _0x2726d6){if(_0x2069c5['distance']>=_0x2233a0)break;let _0x48fe2d=_0x2069c5[_0x1a8f1a(0x15e)],_0x207648=!![];while(_0x48fe2d){if(!_0x48fe2d[_0x1a8f1a(0x183)]){_0x207648=![];break;}_0x48fe2d=_0x48fe2d[_0x1a8f1a(0x1b0)];}if(!_0x207648)continue;_0x48fe2d=_0x2069c5[_0x1a8f1a(0x15e)];let _0x15678c=![];while(_0x48fe2d){if(this[_0x1a8f1a(0x18f)][_0x1a8f1a(0x172)](_0x48fe2d)){_0x15678c=!![];break;}_0x48fe2d=_0x48fe2d[_0x1a8f1a(0x1b0)];}if(_0x15678c)continue;_0x3ebb9d=!![];break;}const _0x44d83d=((_0x49cfd6=this[_0x1a8f1a(0x160)][_0x1a8f1a(0x15b)]['outer'])===null||_0x49cfd6===void 0?void 0:_0x49cfd6[_0x1a8f1a(0x1ad)][_0x1a8f1a(0x156)])==='1',_0x28866b=_0x44d83d||_0x3ebb9d?_0x1a8f1a(0x182):_0x1a8f1a(0x162);this[_0x1a8f1a(0x1af)][_0x1a8f1a(0x1b7)][_0x1a8f1a(0x1a4)]!==_0x28866b&&(this['wrapper']['style'][_0x1a8f1a(0x1a4)]=_0x28866b),this[_0x1a8f1a(0x165)][_0x1a8f1a(0x1b7)]['pointerEvents']!==_0x28866b&&(this[_0x1a8f1a(0x165)][_0x1a8f1a(0x1b7)][_0x1a8f1a(0x1a4)]=_0x28866b);},this[_0x3c8b8e(0x160)][_0x3c8b8e(0x1bb)](this[_0x3c8b8e(0x1b9)]);}[_0x3a37d1(0x18e)](){const _0x3819fd=_0x3a37d1;this[_0x3819fd(0x1b9)]&&(this[_0x3819fd(0x160)][_0x3819fd(0x188)](this['tickFunc']),this[_0x3819fd(0x1b9)]=null);for(const _0x4c5085 of this['depthMaskMeshes']){_0x4c5085[_0x3819fd(0x16a)]();const _0x15605f=_0x4c5085[_0x3819fd(0x1b2)];if(Array[_0x3819fd(0x1c0)](_0x15605f)){for(const _0x433907 of _0x15605f)_0x433907===null||_0x433907===void 0?void 0:_0x433907[_0x3819fd(0x1ac)]();}else _0x15605f===null||_0x15605f===void 0?void 0:_0x15605f[_0x3819fd(0x1ac)]();}this[_0x3819fd(0x15a)][_0x3819fd(0x1bd)]=0x0;for(const _0xc0ae27 of this[_0x3819fd(0x168)]){_0xc0ae27[_0x3819fd(0x16a)]();const _0x36e56e=_0xc0ae27['material'];if(Array[_0x3819fd(0x1c0)](_0x36e56e)){for(const _0x4c39d1 of _0x36e56e)_0x4c39d1===null||_0x4c39d1===void 0?void 0:_0x4c39d1[_0x3819fd(0x1ac)]();}else _0x36e56e===null||_0x36e56e===void 0?void 0:_0x36e56e[_0x3819fd(0x1ac)]();}this[_0x3819fd(0x168)][_0x3819fd(0x1bd)]=0x0,this[_0x3819fd(0x165)]&&(this[_0x3819fd(0x165)]['src']=_0x3819fd(0x17d),this[_0x3819fd(0x165)]=null),this[_0x3819fd(0x1af)]&&(this[_0x3819fd(0x1af)][_0x3819fd(0x18a)](),this[_0x3819fd(0x1af)]=null),this[_0x3819fd(0x16e)]=null,this[_0x3819fd(0x195)]=[],super[_0x3819fd(0x18e)]();}}function _0xd437(){const _0x27edc3=['count','setFromUnitVectors','traverse','about:blank','divideScalar','blendEquation','CSS3DWebPanelComponent','2759122tkFEmg','none','visible','colorWrite','setAttribute','fullscreen;\x20autoplay;\x20clipboard-read;\x20clipboard-write','toneMapped','removeTickingFunction','min','remove','normalize','getAttribute','1844408JmyNuW','destroy','meshes','isMesh','getSize','computeBoundingBox','width','boundingBox','occlusionCandidates','__alpha_punch','name','renderOrder','normal','sort','background','polygonOffsetUnits','world','trim','backfaceVisibility','scale','cameraWorldPos','loading','userData','pointerEvents','geometry','floor','castShadow','1945250HqtVeR','setupOcclusionTick','threeObject\x20is\x20null','set','dispose','dataset','hidden','wrapper','parent','allowfullscreen','material','getX','2648154AGhEIn','3qHiQjK','max','style','canvas','tickFunc','startsWith','addTickingFunction','polygonOffset','length','add','height','isArray','abs','__depth_mask','transparent','panelWorldPos','getIndex','depthTest','blendSrcAlpha','raycaster','LYObject','filter','rayIgnored','threeObject','push','allow','lyCameraDragging','round','src','opacity','depthMaskMeshes','viewport','div','setupMasks','object','lengthSq','app','21LwJCxU','auto','blendDstAlpha','receiveShadow','iframe','quaternion','position','alphaPunchMeshes','3901712cGnDhv','removeFromParent','9224505Pabjed','fromBufferAttribute','getWorldPosition','targetMesh','scene','fog','8796860wXAnhC','includes','9blJVnK','true','subVectors','depthWrite','rayDir','createElement','obj'];_0xd437=function(){return _0x27edc3;};return _0xd437();}
|
|
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
|
-
const
|
|
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
|
-
const
|
|
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
|
-
const _0x10d366=_0x18da;(function(_0x509ad3,_0x5cbc17){const _0x364062=_0x18da,_0x4adec1=_0x509ad3();while(!![]){try{const _0x2c9b30=-parseInt(_0x364062(0x89))/0x1+parseInt(_0x364062(0x77))/0x2*(-parseInt(_0x364062(0x86))/0x3)+-parseInt(_0x364062(0x79))/0x4+-parseInt(_0x364062(0x96))/0x5+-parseInt(_0x364062(0x9a))/0x6+parseInt(_0x364062(0x7f))/0x7+parseInt(_0x364062(0x7e))/0x8;if(_0x2c9b30===_0x5cbc17)break;else _0x4adec1['push'](_0x4adec1['shift']());}catch(_0xee37b8){_0x4adec1['push'](_0x4adec1['shift']());}}}(_0x2dd5,0x6e586));function _0x18da(_0x259da3,_0x5f2a6c){_0x259da3=_0x259da3-0x70;const _0x2dd57f=_0x2dd5();let _0x18da88=_0x2dd57f[_0x259da3];return _0x18da88;}function _0x2dd5(){const _0x3e748a=['max','scale','point','multiplyScalar','862503ggUydu','dot','sqrt','615003tSgJah','_radius','needsUpdate','_halfHeight','setCollisionResponse','setHex','radius','_debugCylinder','CapsuleColliderDebug','_debugRoot','_tmpB','getWorldPosition','_tmpPoint','143010acDKUP','makeSphereHit','Pawn','opacity','2401758rJMXKc','color','distance','destroyDebugObject','sub','_tmpA','set','debugOpacity','add','copy','clone','_debugTop','halfHeight','transparent','_debugBottom','Overlap','createDebugObject','onDebugStyleChanged','getWorldAABB','_tmpBA','objectType','isFinite','lengthSq','abs','material','raycast','Ignore','6uMkQyG','raycastSphere','1478640yMpxJw','name','getWorldScale','_tmpNormal','position','15303488bskzwV','5705693BIhKnD','normal','_tmpOA'];_0x2dd5=function(){return _0x3e748a;};return _0x2dd5();}class CapsuleColliderComponent extends ColliderComponent{get[_0x10d366(0x8f)](){const _0xdea77d=_0x10d366;return this[_0xdea77d(0x8a)];}get[_0x10d366(0xa6)](){const _0x23aa72=_0x10d366;return this[_0x23aa72(0x8c)];}constructor(_0x413ad0,_0x44f526=0.35,_0x478aee=0.5,_0x54431f){const _0x5b8f5f=_0x10d366;super(_0x413ad0,_0x54431f),this[_0x5b8f5f(0x92)]=null,this[_0x5b8f5f(0x90)]=null,this[_0x5b8f5f(0xa5)]=null,this['_debugBottom']=null,this[_0x5b8f5f(0x9f)]=new Vector3(),this[_0x5b8f5f(0x93)]=new Vector3(),this[_0x5b8f5f(0xad)]=new Vector3(),this[_0x5b8f5f(0x81)]=new Vector3(),this[_0x5b8f5f(0x95)]=new Vector3(),this['_tmpNormal']=new Vector3(),this[_0x5b8f5f(0x8a)]=Math['max'](0x0,_0x44f526),this['_halfHeight']=Math[_0x5b8f5f(0x82)](0x0,_0x478aee),this[_0x5b8f5f(0x70)]=CollisionChannel['Pawn'],this[_0x5b8f5f(0x8d)](CollisionChannel[_0x5b8f5f(0x98)],CollisionResponse[_0x5b8f5f(0x76)]),this[_0x5b8f5f(0x8d)](CollisionChannel['Trigger'],CollisionResponse[_0x5b8f5f(0xa9)]),this[_0x5b8f5f(0x7a)]='CapsuleColliderComponent';}[_0x10d366(0xac)](_0x5413f3=new Box3()){const _0x4f0a36=_0x10d366,_0x2a95f9=this[_0x4f0a36(0x94)](),_0x4b179d=this['getWorldScale'](),_0x514404=Math[_0x4f0a36(0x73)](_0x4b179d['x'])>1e-8?Math[_0x4f0a36(0x73)](_0x4b179d['x']):0x1,_0x4210ae=Math[_0x4f0a36(0x73)](_0x4b179d['y'])>1e-8?Math[_0x4f0a36(0x73)](_0x4b179d['y']):0x1,_0x19999c=Math[_0x4f0a36(0x73)](_0x4b179d['z'])>1e-8?Math['abs'](_0x4b179d['z']):0x1,_0x364919=this[_0x4f0a36(0x8a)]*Math['max'](_0x514404,_0x19999c),_0xf294a1=this[_0x4f0a36(0x8c)]*_0x4210ae,_0x309d50=new Vector3(_0x2a95f9['x']-_0x364919,_0x2a95f9['y']-_0xf294a1-_0x364919,_0x2a95f9['z']-_0x364919),_0x34a4bc=new Vector3(_0x2a95f9['x']+_0x364919,_0x2a95f9['y']+_0xf294a1+_0x364919,_0x2a95f9['z']+_0x364919);return _0x5413f3[_0x4f0a36(0xa0)](_0x309d50,_0x34a4bc),_0x5413f3;}[_0x10d366(0x75)](_0x540374,_0x1a4d28,_0xfa2624){const _0x457458=_0x10d366;if(_0xfa2624<=0.000001)return null;const _0x13d6d1=this[_0x457458(0x94)](),_0x5db842=this[_0x457458(0x7b)](),_0x1d8370=Math[_0x457458(0x73)](_0x5db842['x'])>1e-8?Math[_0x457458(0x73)](_0x5db842['x']):0x1,_0x4c3f34=Math[_0x457458(0x73)](_0x5db842['y'])>1e-8?Math[_0x457458(0x73)](_0x5db842['y']):0x1,_0x5343f6=Math[_0x457458(0x73)](_0x5db842['z'])>1e-8?Math[_0x457458(0x73)](_0x5db842['z']):0x1,_0x2a1fec=this[_0x457458(0x8a)]*Math[_0x457458(0x82)](_0x1d8370,_0x5343f6),_0x3e64a2=this[_0x457458(0x8c)]*_0x4c3f34,_0x5cdf18=this[_0x457458(0x9f)][_0x457458(0xa3)](_0x13d6d1)[_0x457458(0xa2)](new Vector3(0x0,-_0x3e64a2,0x0)),_0x20ac75=this['_tmpB'][_0x457458(0xa3)](_0x13d6d1)[_0x457458(0xa2)](new Vector3(0x0,_0x3e64a2,0x0)),_0x2a3e63=this[_0x457458(0xad)][_0x457458(0xa3)](_0x20ac75)[_0x457458(0x9e)](_0x5cdf18),_0x5a5a7e=this[_0x457458(0x81)][_0x457458(0xa3)](_0x540374)[_0x457458(0x9e)](_0x5cdf18),_0xaca8fe=_0x2a3e63[_0x457458(0x87)](_0x2a3e63),_0x1fe1de=_0x2a3e63['dot'](_0x1a4d28),_0x4cdca1=_0x2a3e63['dot'](_0x5a5a7e),_0x50d7fa=_0x1a4d28[_0x457458(0x87)](_0x5a5a7e),_0x4e3e7c=_0x5a5a7e[_0x457458(0x87)](_0x5a5a7e),_0x138b5b=_0x2a1fec*_0x2a1fec,_0x58d359=_0xaca8fe-_0x1fe1de*_0x1fe1de,_0x42688f=_0xaca8fe*_0x50d7fa-_0x4cdca1*_0x1fe1de,_0x3ac4eb=_0xaca8fe*(_0x4e3e7c-_0x138b5b)-_0x4cdca1*_0x4cdca1;let _0x3749a=Infinity,_0x2e3236=null,_0x59756c=null;const _0x402ad5=1e-10;if(Math[_0x457458(0x73)](_0x58d359)>_0x402ad5){const _0x53414d=_0x42688f*_0x42688f-_0x58d359*_0x3ac4eb;if(_0x53414d>=0x0){const _0x56343a=(-_0x42688f-Math[_0x457458(0x88)](_0x53414d))/_0x58d359,_0x3f2335=_0x4cdca1+_0x56343a*_0x1fe1de;if(_0x56343a>=0x0&&_0x56343a<=_0xfa2624&&_0x3f2335>0x0&&_0x3f2335<_0xaca8fe){_0x3749a=_0x56343a,_0x2e3236=this[_0x457458(0x95)]['copy'](_0x1a4d28)[_0x457458(0x85)](_0x56343a)[_0x457458(0xa2)](_0x540374);const _0x1e95bf=this[_0x457458(0x7c)][_0x457458(0xa3)](_0x2a3e63)[_0x457458(0x85)](_0x3f2335/_0xaca8fe)[_0x457458(0xa2)](_0x5cdf18);_0x59756c=this[_0x457458(0x7c)]['copy'](_0x2e3236)['sub'](_0x1e95bf);const _0x4b9831=_0x59756c['lengthSq']();_0x4b9831>1e-12?_0x59756c[_0x457458(0x85)](0x1/Math[_0x457458(0x88)](_0x4b9831)):_0x59756c[_0x457458(0xa0)](0x0,0x1,0x0);}}}const _0x2e9ace=this['raycastSphere'](_0x540374,_0x1a4d28,_0xfa2624,_0x5cdf18,_0x2a1fec);_0x2e9ace&&_0x2e9ace[_0x457458(0x9c)]<_0x3749a&&(_0x3749a=_0x2e9ace[_0x457458(0x9c)],_0x2e3236=_0x2e9ace[_0x457458(0x84)],_0x59756c=_0x2e9ace[_0x457458(0x80)]);const _0x2ade1b=this[_0x457458(0x78)](_0x540374,_0x1a4d28,_0xfa2624,_0x20ac75,_0x2a1fec);_0x2ade1b&&_0x2ade1b[_0x457458(0x9c)]<_0x3749a&&(_0x3749a=_0x2ade1b[_0x457458(0x9c)],_0x2e3236=_0x2ade1b[_0x457458(0x84)],_0x59756c=_0x2ade1b[_0x457458(0x80)]);if(!_0x2e3236||!_0x59756c||!Number[_0x457458(0x71)](_0x3749a))return null;return {'point':_0x2e3236['clone'](),'normal':_0x59756c[_0x457458(0xa4)](),'distance':_0x3749a};}[_0x10d366(0x78)](_0x33c7fc,_0x4e2ff8,_0x3849d8,_0x1b90b8,_0x39ae54){const _0x426e55=_0x10d366,_0x466348=_0x33c7fc[_0x426e55(0xa4)]()['sub'](_0x1b90b8),_0x4646f4=_0x466348[_0x426e55(0x87)](_0x4e2ff8),_0x3a8ae9=_0x466348[_0x426e55(0x87)](_0x466348)-_0x39ae54*_0x39ae54,_0x489c63=_0x4646f4*_0x4646f4-_0x3a8ae9;if(_0x489c63<0x0)return null;const _0x330f63=Math['sqrt'](_0x489c63),_0x42a5a6=-_0x4646f4-_0x330f63;if(_0x42a5a6<0x0||_0x42a5a6>_0x3849d8){const _0x2aae8c=-_0x4646f4+_0x330f63;if(_0x2aae8c<0x0||_0x2aae8c>_0x3849d8)return null;return this[_0x426e55(0x97)](_0x33c7fc,_0x4e2ff8,_0x2aae8c,_0x1b90b8);}return this[_0x426e55(0x97)](_0x33c7fc,_0x4e2ff8,_0x42a5a6,_0x1b90b8);}[_0x10d366(0x97)](_0x42b0d1,_0x57a262,_0x198c6e,_0x1f4be7){const _0x24daa0=_0x10d366,_0x2654a3=_0x42b0d1[_0x24daa0(0xa4)]()['add'](_0x57a262[_0x24daa0(0xa4)]()['multiplyScalar'](_0x198c6e)),_0x137fff=_0x2654a3[_0x24daa0(0xa4)]()[_0x24daa0(0x9e)](_0x1f4be7),_0xf500e3=_0x137fff[_0x24daa0(0x72)]();return _0xf500e3>1e-12?_0x137fff[_0x24daa0(0x85)](0x1/Math['sqrt'](_0xf500e3)):_0x137fff[_0x24daa0(0xa0)](0x0,0x1,0x0),{'point':_0x2654a3,'normal':_0x137fff,'distance':_0x198c6e};}[_0x10d366(0xaa)](){const _0x17dc41=_0x10d366,_0x5e2c47=new Object3D();_0x5e2c47['name']=_0x17dc41(0x91);const _0xc452cc=new MeshBasicMaterial({'color':this['debugColor'],'wireframe':!![],'transparent':!![],'opacity':this[_0x17dc41(0xa1)]}),_0x4de378=Math[_0x17dc41(0x82)](0.000001,this[_0x17dc41(0x8a)]),_0x412061=Math[_0x17dc41(0x82)](0.000001,this[_0x17dc41(0x8c)]*0x2),_0x51e168=new Mesh(new CylinderGeometry(_0x4de378,_0x4de378,_0x412061,0xc,0x1,!![]),_0xc452cc),_0x562a96=new Mesh(new SphereGeometry(_0x4de378,0xc,0x8),_0xc452cc),_0x29ea9b=new Mesh(new SphereGeometry(_0x4de378,0xc,0x8),_0xc452cc);return _0x562a96['position'][_0x17dc41(0xa0)](0x0,this[_0x17dc41(0x8c)],0x0),_0x29ea9b[_0x17dc41(0x7d)]['set'](0x0,-this[_0x17dc41(0x8c)],0x0),_0x5e2c47[_0x17dc41(0xa2)](_0x51e168),_0x5e2c47['add'](_0x562a96),_0x5e2c47[_0x17dc41(0xa2)](_0x29ea9b),this['_debugRoot']=_0x5e2c47,this['_debugCylinder']=_0x51e168,this[_0x17dc41(0xa5)]=_0x562a96,this[_0x17dc41(0xa8)]=_0x29ea9b,this['onDebugTick'](0x0),_0x5e2c47;}[_0x10d366(0x9d)](_0xbfa750){const _0x40d9c5=_0x10d366;this[_0x40d9c5(0x92)]=null,this[_0x40d9c5(0x90)]=null,this['_debugTop']=null,this[_0x40d9c5(0xa8)]=null;}['onDebugTick'](_0x5a5c6c){const _0x1cb47d=_0x10d366,_0xe7c56e=this[_0x1cb47d(0x90)],_0x269110=this[_0x1cb47d(0xa5)],_0x1408d2=this['_debugBottom'];if(!_0xe7c56e||!_0x269110||!_0x1408d2)return;const _0x1f1307=this['getWorldScale'](),_0x50bf50=Math[_0x1cb47d(0x73)](_0x1f1307['x'])>1e-8?_0x1f1307['x']:0x1,_0x40fd63=Math[_0x1cb47d(0x73)](_0x1f1307['y'])>1e-8?_0x1f1307['y']:0x1,_0x7b9c59=Math['abs'](_0x1f1307['z'])>1e-8?_0x1f1307['z']:0x1,_0x1e9ad0=Math[_0x1cb47d(0x82)](0.000001,this[_0x1cb47d(0x8a)])*Math[_0x1cb47d(0x82)](Math[_0x1cb47d(0x73)](_0x50bf50),Math['abs'](_0x7b9c59)),_0x3895ab=Math['max'](0x0,this[_0x1cb47d(0x8c)])*Math['abs'](_0x40fd63);_0xe7c56e[_0x1cb47d(0x83)][_0x1cb47d(0xa0)](_0x1e9ad0/_0x50bf50,_0x3895ab*0x2/_0x40fd63,_0x1e9ad0/_0x7b9c59),_0x269110[_0x1cb47d(0x83)][_0x1cb47d(0xa0)](_0x1e9ad0/_0x50bf50,_0x1e9ad0/_0x40fd63,_0x1e9ad0/_0x7b9c59),_0x1408d2[_0x1cb47d(0x83)][_0x1cb47d(0xa0)](_0x1e9ad0/_0x50bf50,_0x1e9ad0/_0x40fd63,_0x1e9ad0/_0x7b9c59),_0x269110[_0x1cb47d(0x7d)][_0x1cb47d(0xa0)](0x0,_0x3895ab/_0x40fd63,0x0),_0x1408d2['position'][_0x1cb47d(0xa0)](0x0,-_0x3895ab/_0x40fd63,0x0);}[_0x10d366(0xab)](){const _0x3696cd=this['_debugRoot'];if(!_0x3696cd)return;_0x3696cd['traverse'](_0x153e43=>{const _0x159acb=_0x18da,_0x5e134e=_0x153e43,_0x253c85=_0x5e134e[_0x159acb(0x74)];if(!_0x253c85)return;_0x253c85[_0x159acb(0x9b)][_0x159acb(0x8e)](this['debugColor']),_0x253c85[_0x159acb(0x99)]=this[_0x159acb(0xa1)],_0x253c85[_0x159acb(0xa7)]=this[_0x159acb(0xa1)]<0x1,_0x253c85[_0x159acb(0x8b)]=!![];});}}
|
|
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 _0x31339a=_0x3c17;function _0xd0bd(){const _0x9ae8df=['buttons','parentActor','ShiftRight','app','onClick','setCollisionResponse','setFromEuler','multiply','ArrowLeft','isClickEnabled','left','onPointerLockChangeDelegate','ShiftLeft','collider','unpossess','ArrowRight','onKeyDown','applyQuaternion','constructRootComponent','updateProjectionMatrix','setRotation','onWindowBlurDelegate','YXZ','onContextMenu','visible','top','moveSpeed','ArrowUp','_yaw','getTargetCameraState','sub','canvas','enableGravity','_moveForward','lookSpeed','possess','_moveDown','includes','normalize','pointerLockElement','copy','setQuaternion','_verticalVelocity','rotation','getQuaternion','origin','KeyD','_isRightDragging','width','enabled','dataset','position','clientX','getBoundingClientRect','_clickMarker','physics','movementX','getPosition','_targetPos','onKeyUpDelegate','_moveRight','setFromAxisAngle','add','button','841821LjWgPt','Space','dispose','world','exitPointerLock','91818BVDtMq','radius','_pitch','onContextMenuDelegate','2078616WaPMAm','onKeyDownDelegate','onPointerLockChange','viewport','clamp','_moveUp','ArrowDown','dot','1192816BlhRnB','updateCameraFromPawn','onPointerUpDelegate','lineTraceMulti','lyCameraDragging','movementY','near','onMouseMove','setPosition','multiplyScalar','2250790gfScUb','distance','2CRLbhS','find','max','requestPointerLock','onBlur','lengthSq','length','invert','4043790EfiwZC','halfHeight','asin','onPointerDownDelegate','code','camera','KeyW','setFromCamera','syncRotation','blocking','eyeHeight','rootComponent','controller','Pawn','gravity','_moveBackward','normal','KeyA','inputFilter','onKeyUp','landToGround','clone','quaternion','KeyS','threeObject','direction','Visibility','ray','Ignore','7DUWySr','remove','order','_moveLeft','atan2','1027024VkvIGt','onRawClickDelegate','point','objectType','onMouseUp','onPointerMoveDelegate','material','setCameraDraggingState','onMouseDown'];_0xd0bd=function(){return _0x9ae8df;};return _0xd0bd();}(function(_0x44a909,_0x4fe231){const _0x264aaa=_0x3c17,_0x4f2686=_0x44a909();while(!![]){try{const _0x39bfc0=-parseInt(_0x264aaa(0x10f))/0x1*(-parseInt(_0x264aaa(0xf7))/0x2)+-parseInt(_0x264aaa(0xf2))/0x3+parseInt(_0x264aaa(0x139))/0x4+parseInt(_0x264aaa(0x10d))/0x5+parseInt(_0x264aaa(0xfb))/0x6+-parseInt(_0x264aaa(0x134))/0x7*(parseInt(_0x264aaa(0x103))/0x8)+-parseInt(_0x264aaa(0x117))/0x9;if(_0x39bfc0===_0x4fe231)break;else _0x4f2686['push'](_0x4f2686['shift']());}catch(_0x39d96c){_0x4f2686['push'](_0x4f2686['shift']());}}}(_0xd0bd,0x40fa5));function _0x3c17(_0x36ee26,_0x3a4a5e){_0x36ee26=_0x36ee26-0xe9;const _0xd0bd23=_0xd0bd();let _0x3c173b=_0xd0bd23[_0x36ee26];return _0x3c173b;}class FirstPerson extends Pawn{constructor(_0x460a90){const _0x4c7916=_0x3c17;super(_0x460a90),this[_0x4c7916(0x15c)]=0xa,this[_0x4c7916(0x164)]=0.002,this[_0x4c7916(0x162)]=!![],this['gravity']=0x1e,this['eyeHeight']=0.7,this[_0x4c7916(0x16c)]=0x0,this[_0x4c7916(0x15e)]=0x0,this[_0x4c7916(0xf9)]=0x0,this[_0x4c7916(0xec)]=null,this[_0x4c7916(0x178)]=null,this[_0x4c7916(0x163)]=![],this[_0x4c7916(0x126)]=![],this['_moveLeft']=![],this['_moveRight']=![],this[_0x4c7916(0x100)]=![],this[_0x4c7916(0x166)]=![],this[_0x4c7916(0x171)]=![],this[_0x4c7916(0x159)]=_0x1d4bcb=>{const _0x18913c=_0x4c7916;if(!Pawn[_0x18913c(0x129)]())return;_0x1d4bcb['preventDefault']();},this[_0x4c7916(0x113)]=()=>{const _0x28c7f8=_0x4c7916;this[_0x28c7f8(0x163)]=![],this[_0x28c7f8(0x126)]=![],this['_moveLeft']=![],this[_0x28c7f8(0xee)]=![],this[_0x28c7f8(0x100)]=![],this[_0x28c7f8(0x166)]=![],this[_0x28c7f8(0x171)]=![],this['setCameraDraggingState'](![]);},this[_0x4c7916(0x141)]=_0x395595=>{const _0x47dbbe=_0x4c7916;if(!this[_0x47dbbe(0x173)]||!Pawn[_0x47dbbe(0x129)]())return;if(_0x395595['button']!==0x2)return;this['_isRightDragging']=!![],this[_0x47dbbe(0x140)](!![]);const _0x448ac3=this[_0x47dbbe(0x145)][_0x47dbbe(0xfe)][_0x47dbbe(0x161)];_0x448ac3&&document['pointerLockElement']!==_0x448ac3&&_0x448ac3[_0x47dbbe(0x112)]();},this['onMouseUp']=_0x53b480=>{const _0x511233=_0x4c7916;if(_0x53b480['button']!==0x2)return;this[_0x511233(0x171)]=![],this['setCameraDraggingState'](![]),document[_0x511233(0x169)]===this['app']['viewport']['canvas']&&document[_0x511233(0xf6)]();},this[_0x4c7916(0x146)]=_0x4ac0b4=>{const _0x17f92f=_0x4c7916;if(!this[_0x17f92f(0x173)]||!Pawn['inputFilter']())return;if(_0x4ac0b4[_0x17f92f(0xf1)]!==0x0)return;const _0x86785e=this[_0x17f92f(0x145)][_0x17f92f(0xfe)][_0x17f92f(0x161)];if(!_0x86785e||!this[_0x17f92f(0x11c)])return;const _0x2349ae=_0x86785e[_0x17f92f(0x177)](),_0x33bf20=new Vector2$1((_0x4ac0b4[_0x17f92f(0x176)]-_0x2349ae[_0x17f92f(0x14c)])/_0x2349ae[_0x17f92f(0x172)]*0x2-0x1,-((_0x4ac0b4['clientY']-_0x2349ae[_0x17f92f(0x15b)])/_0x2349ae['height'])*0x2+0x1),_0xb35c88=new Raycaster();_0xb35c88[_0x17f92f(0x11e)](_0x33bf20,this[_0x17f92f(0x11c)]);const _0x1df52e=_0xb35c88[_0x17f92f(0x132)][_0x17f92f(0x16f)][_0x17f92f(0x12c)](),_0x2c6d51=_0x1df52e['clone']()[_0x17f92f(0xf0)](_0xb35c88[_0x17f92f(0x132)][_0x17f92f(0x130)][_0x17f92f(0x12c)]()['multiplyScalar'](0x3e8)),_0x1c8449=this[_0x17f92f(0x122)]instanceof CapsuleColliderComponent?this['rootComponent']:undefined,_0x28429b=this['app']['world']['physics']['lineTraceMulti'](_0x1df52e,_0x2c6d51,CollisionChannel[_0x17f92f(0x124)],_0x1c8449);let _0x842f9d=null;for(const _0x37ec19 of _0x28429b){if(!_0x37ec19[_0x17f92f(0x120)])continue;if(this['camera']instanceof PerspectiveCamera){if(_0x37ec19[_0x17f92f(0x10e)]<this[_0x17f92f(0x11c)][_0x17f92f(0x109)]*1.5)continue;}const _0x54e12d=_0x37ec19[_0x17f92f(0x14f)],_0x3d7fb4=_0x54e12d&&(_0x54e12d[_0x17f92f(0x14b)]||_0x54e12d[_0x17f92f(0x143)]&&_0x54e12d[_0x17f92f(0x143)]['isClickEnabled']),_0x3bd055=_0x37ec19['normal']['y']>0.5;if(!_0x3bd055&&!_0x3d7fb4){let _0x28f48e=0.5;this[_0x17f92f(0x11c)]instanceof PerspectiveCamera&&(_0x28f48e=this[_0x17f92f(0x11c)]['near']*0x2);if(_0x37ec19[_0x17f92f(0x10e)]>_0x28f48e)break;continue;}_0x842f9d=_0x37ec19;break;}if(_0x842f9d){const _0x27e1f5=_0x842f9d['collider'];if(_0x27e1f5){if(_0x27e1f5[_0x17f92f(0x14b)])return;if(_0x27e1f5[_0x17f92f(0x143)]&&_0x27e1f5[_0x17f92f(0x143)][_0x17f92f(0x14b)])return;}_0x842f9d[_0x17f92f(0x127)]['y']>0.5&&(this['_targetPos']=_0x842f9d['point'][_0x17f92f(0x12c)](),this[_0x17f92f(0x178)]&&(this['_clickMarker'][_0x17f92f(0x175)]['copy'](this['_targetPos']),this[_0x17f92f(0x178)][_0x17f92f(0x15a)]=!![]));}},this[_0x4c7916(0xfd)]=()=>{},this[_0x4c7916(0x10a)]=_0x3386bc=>{const _0x276320=_0x4c7916,_0x39aea3=(_0x3386bc[_0x276320(0x142)]&0x2)===0x2;if(_0x39aea3&&!this[_0x276320(0x171)])this[_0x276320(0x171)]=!![],this[_0x276320(0x140)](!![]);else !_0x39aea3&&this[_0x276320(0x171)]&&(this[_0x276320(0x171)]=![],this[_0x276320(0x140)](![]));if(document['pointerLockElement']!==this[_0x276320(0x145)]['viewport'][_0x276320(0x161)]&&!_0x39aea3)return;if(!this[_0x276320(0x173)]||!Pawn[_0x276320(0x129)]())return;const _0x430e50=_0x3386bc[_0x276320(0xea)]||0x0,_0x1758e3=_0x3386bc[_0x276320(0x108)]||0x0;this[_0x276320(0x11f)](),this[_0x276320(0x15e)]-=_0x430e50*this[_0x276320(0x164)],this[_0x276320(0xf9)]-=_0x1758e3*this[_0x276320(0x164)];const _0x45fc1c=Math['PI']/0x2;this[_0x276320(0xf9)]=MathUtils[_0x276320(0xff)](this['_pitch'],-_0x45fc1c+0.001,_0x45fc1c-0.001);const _0x520e5c=new Quaternion()['setFromAxisAngle'](new Vector3(0x0,0x1,0x0),this['_yaw']);super[_0x276320(0x16b)](_0x520e5c),this[_0x276320(0x104)]();},this[_0x4c7916(0x152)]=_0x110d9a=>{const _0x1d1bc6=_0x4c7916;if(!Pawn[_0x1d1bc6(0x129)]())return;if([_0x1d1bc6(0x15d),_0x1d1bc6(0x11d),_0x1d1bc6(0x14a),'KeyA',_0x1d1bc6(0x101),_0x1d1bc6(0x12e),'ArrowRight','KeyD'][_0x1d1bc6(0x167)](_0x110d9a[_0x1d1bc6(0x11b)])){this[_0x1d1bc6(0xec)]=null;if(this[_0x1d1bc6(0x178)])this['_clickMarker'][_0x1d1bc6(0x15a)]=![];}switch(_0x110d9a[_0x1d1bc6(0x11b)]){case 'ArrowUp':case _0x1d1bc6(0x11d):this[_0x1d1bc6(0x163)]=!![];break;case _0x1d1bc6(0x14a):case _0x1d1bc6(0x128):this['_moveLeft']=!![];break;case _0x1d1bc6(0x101):case 'KeyS':this[_0x1d1bc6(0x126)]=!![];break;case _0x1d1bc6(0x151):case _0x1d1bc6(0x170):this[_0x1d1bc6(0xee)]=!![];break;case _0x1d1bc6(0xf3):!this[_0x1d1bc6(0x162)]&&(this[_0x1d1bc6(0x100)]=!![]);break;case _0x1d1bc6(0x14e):case _0x1d1bc6(0x144):this[_0x1d1bc6(0x166)]=!![];break;}},this[_0x4c7916(0x12a)]=_0x35fece=>{const _0x33fa2d=_0x4c7916;switch(_0x35fece[_0x33fa2d(0x11b)]){case _0x33fa2d(0x15d):case _0x33fa2d(0x11d):this[_0x33fa2d(0x163)]=![];break;case _0x33fa2d(0x14a):case _0x33fa2d(0x128):this[_0x33fa2d(0x137)]=![];break;case _0x33fa2d(0x101):case _0x33fa2d(0x12e):this[_0x33fa2d(0x126)]=![];break;case 'ArrowRight':case _0x33fa2d(0x170):this['_moveRight']=![];break;case 'Space':this[_0x33fa2d(0x100)]=![];break;case _0x33fa2d(0x14e):case _0x33fa2d(0x144):this[_0x33fa2d(0x166)]=![];break;}};}[_0x31339a(0x154)](){const _0x4e2da8=_0x31339a,_0x415b8a=new CapsuleColliderComponent(this[_0x4e2da8(0x145)],0.35,0.55);return _0x415b8a[_0x4e2da8(0x13c)]=CollisionChannel[_0x4e2da8(0x124)],_0x415b8a[_0x4e2da8(0x147)](CollisionChannel[_0x4e2da8(0x131)],CollisionResponse[_0x4e2da8(0x133)]),_0x415b8a;}[_0x31339a(0x12b)](){const _0x3ebefa=_0x31339a,_0x3c89ac=this['getPosition'](),_0xba2a57=_0x3c89ac[_0x3ebefa(0x12c)]()['add'](new Vector3(0x0,-1e3,0x0)),_0x424e33=this[_0x3ebefa(0x122)],_0x4a3cbd=this[_0x3ebefa(0x145)][_0x3ebefa(0xf5)][_0x3ebefa(0xe9)]['lineTraceSingle'](_0x3c89ac,_0xba2a57,CollisionChannel['Pawn'],_0x424e33);if(_0x4a3cbd&&_0x4a3cbd[_0x3ebefa(0x120)]){const _0x511b38=_0x424e33[_0x3ebefa(0x118)]+_0x424e33[_0x3ebefa(0xf8)],_0x3dfe74=_0x4a3cbd[_0x3ebefa(0x13b)]['y']+_0x511b38;this['setPosition'](_0x3c89ac['x'],_0x3dfe74,_0x3c89ac['z']),this[_0x3ebefa(0x16c)]=0x0;}}['syncRotation'](){const _0x564ae0=_0x31339a,_0x1aa4d5=this[_0x564ae0(0x16e)](),_0x59363d=new Vector3(0x0,0x0,-1)['applyQuaternion'](_0x1aa4d5);this[_0x564ae0(0x15e)]=Math[_0x564ae0(0x138)](-_0x59363d['x'],-_0x59363d['z']);}[_0x31339a(0x156)](..._0xe61318){const _0x2e95c7=_0x31339a,_0x419e03=new Quaternion();_0xe61318[_0x2e95c7(0x115)]===0x1?_0x419e03['setFromEuler'](_0xe61318[0x0]):_0x419e03[_0x2e95c7(0x148)](new Euler(_0xe61318[0x0],_0xe61318[0x1],_0xe61318[0x2],_0x2e95c7(0x158))),this['setQuaternion'](_0x419e03);}[_0x31339a(0x16b)](..._0x5b2e97){const _0x3532f3=_0x31339a;let _0x68de0;_0x5b2e97[_0x3532f3(0x115)]===0x1?_0x68de0=_0x5b2e97[0x0]:_0x68de0=new Quaternion(_0x5b2e97[0x0],_0x5b2e97[0x1],_0x5b2e97[0x2],_0x5b2e97[0x3]);const _0x19b455=new Vector3(0x0,0x0,-1)[_0x3532f3(0x153)](_0x68de0);let _0x10ae3e=Math[_0x3532f3(0x119)](MathUtils[_0x3532f3(0xff)](_0x19b455['y'],-1,0x1));const _0x313b90=Math['PI']/0x2;_0x10ae3e=MathUtils[_0x3532f3(0xff)](_0x10ae3e,-_0x313b90+0.001,_0x313b90-0.001);const _0x35c1b6=Math[_0x3532f3(0x138)](-_0x19b455['x'],-_0x19b455['z']);this[_0x3532f3(0xf9)]=_0x10ae3e,this[_0x3532f3(0x15e)]=_0x35c1b6;const _0x4b9633=new Quaternion()[_0x3532f3(0xef)](new Vector3(0x0,0x1,0x0),this[_0x3532f3(0x15e)]);super[_0x3532f3(0x16b)](_0x4b9633),this[_0x3532f3(0x173)]&&this[_0x3532f3(0x104)]();}[_0x31339a(0x165)](){const _0x24cfc8=_0x31339a;super['possess']();const _0x38d672=this[_0x24cfc8(0x145)]['controller'];_0x38d672&&(_0x38d672['onRawClickDelegate'][_0x24cfc8(0xf0)](this['onClick']),_0x38d672[_0x24cfc8(0xfa)][_0x24cfc8(0xf0)](this[_0x24cfc8(0x159)]),_0x38d672[_0x24cfc8(0x14d)]['add'](this['onPointerLockChange']),_0x38d672[_0x24cfc8(0xfc)][_0x24cfc8(0xf0)](this['onKeyDown']),_0x38d672['onKeyUpDelegate'][_0x24cfc8(0xf0)](this[_0x24cfc8(0x12a)]),_0x38d672['onPointerMoveDelegate'][_0x24cfc8(0xf0)](this[_0x24cfc8(0x10a)]),_0x38d672[_0x24cfc8(0x11a)][_0x24cfc8(0xf0)](this[_0x24cfc8(0x141)]),_0x38d672[_0x24cfc8(0x105)][_0x24cfc8(0xf0)](this[_0x24cfc8(0x13d)]),_0x38d672['onWindowBlurDelegate'][_0x24cfc8(0xf0)](this[_0x24cfc8(0x113)])),this[_0x24cfc8(0x122)]&&this[_0x24cfc8(0x122)]['threeObject']&&(this[_0x24cfc8(0x122)][_0x24cfc8(0x12f)][_0x24cfc8(0x16d)][_0x24cfc8(0x136)]=_0x24cfc8(0x158)),this[_0x24cfc8(0x11f)](),this[_0x24cfc8(0x104)]();}[_0x31339a(0x150)](){const _0x1334b4=_0x31339a;var _0xe20aca;super['unpossess']();const _0x281d3d=this[_0x1334b4(0x145)][_0x1334b4(0x123)];_0x281d3d&&(_0x281d3d[_0x1334b4(0x13a)][_0x1334b4(0x135)](this['onClick']),_0x281d3d[_0x1334b4(0xfa)][_0x1334b4(0x135)](this['onContextMenu']),_0x281d3d[_0x1334b4(0x14d)][_0x1334b4(0x135)](this[_0x1334b4(0xfd)]),_0x281d3d[_0x1334b4(0xfc)]['remove'](this[_0x1334b4(0x152)]),_0x281d3d[_0x1334b4(0xed)][_0x1334b4(0x135)](this['onKeyUp']),_0x281d3d[_0x1334b4(0x13e)]['remove'](this['onMouseMove']),_0x281d3d[_0x1334b4(0x11a)][_0x1334b4(0x135)](this['onMouseDown']),_0x281d3d[_0x1334b4(0x105)][_0x1334b4(0x135)](this[_0x1334b4(0x13d)]),_0x281d3d[_0x1334b4(0x157)][_0x1334b4(0x135)](this[_0x1334b4(0x113)])),this[_0x1334b4(0x171)]=![],this['setCameraDraggingState'](![]),this['_clickMarker']&&((_0xe20aca=this[_0x1334b4(0x178)]['parent'])===null||_0xe20aca===void 0?void 0:_0xe20aca[_0x1334b4(0x135)](this[_0x1334b4(0x178)]),this[_0x1334b4(0x178)]['geometry'][_0x1334b4(0xf4)](),this[_0x1334b4(0x178)][_0x1334b4(0x13f)][_0x1334b4(0xf4)](),this[_0x1334b4(0x178)]=null),document[_0x1334b4(0x169)]===this[_0x1334b4(0x145)]['viewport']['canvas']&&document[_0x1334b4(0xf6)]();}[_0x31339a(0x15f)](){const _0x1924a7=_0x31339a,_0x90089b=this['getPosition']();_0x90089b['y']+=this['eyeHeight'];const _0xe72082=this['camera']||this['app']['camera'],_0x39ac0f=this[_0x1924a7(0x16e)](),_0xfbe8e8=new Quaternion()['setFromAxisAngle'](new Vector3(0x1,0x0,0x0),this[_0x1924a7(0xf9)]),_0x3fce3b=_0x39ac0f[_0x1924a7(0x12c)]()[_0x1924a7(0x149)](_0xfbe8e8);if(_0xe72082){const _0x5e1c7a=new Vector3(0x0,0x0,_0xe72082[_0x1924a7(0x109)])[_0x1924a7(0x153)](_0x3fce3b);_0x90089b[_0x1924a7(0xf0)](_0x5e1c7a);}return {'position':_0x90089b,'quaternion':_0x3fce3b};}[_0x31339a(0x140)](_0x557e7a){const _0x125748=_0x31339a,_0x2761ef=this[_0x125748(0x145)][_0x125748(0xfe)]['outer'];if(!_0x2761ef)return;_0x557e7a?_0x2761ef[_0x125748(0x174)][_0x125748(0x107)]='1':delete _0x2761ef[_0x125748(0x174)]['lyCameraDragging'];}['tick'](_0x3cc624){const _0x5f51f6=_0x31339a;if(!this['enabled'])return;const _0x1f78e8=this[_0x5f51f6(0x15c)]*_0x3cc624,_0x13437f=new Vector3();if(this['_moveForward'])_0x13437f['z']-=0x1;if(this[_0x5f51f6(0x126)])_0x13437f['z']+=0x1;if(this[_0x5f51f6(0x137)])_0x13437f['x']-=0x1;if(this['_moveRight'])_0x13437f['x']+=0x1;if(this[_0x5f51f6(0xec)]&&_0x13437f[_0x5f51f6(0x114)]()===0x0){const _0x22a605=this[_0x5f51f6(0xeb)](),_0x5afa64=this[_0x5f51f6(0xec)]['clone']();this[_0x5f51f6(0x162)]&&(_0x5afa64['y']=_0x22a605['y']);const _0x1e38fa=_0x5afa64[_0x5f51f6(0x160)](_0x22a605),_0x281e3e=_0x1e38fa[_0x5f51f6(0x115)]();if(_0x281e3e>0.1){_0x1e38fa['normalize']();if(this[_0x5f51f6(0x162)]){const _0x480e14=this['getQuaternion']()[_0x5f51f6(0x116)](),_0x27e585=_0x1e38fa[_0x5f51f6(0x12c)]()[_0x5f51f6(0x153)](_0x480e14);_0x13437f[_0x5f51f6(0x16a)](_0x27e585);}else _0x13437f[_0x5f51f6(0x16a)](_0x1e38fa);}else {this[_0x5f51f6(0xec)]=null;if(this[_0x5f51f6(0x178)])this[_0x5f51f6(0x178)]['visible']=![];}}if(!this['enableGravity']){if(this[_0x5f51f6(0x100)])_0x13437f['y']+=0x1;if(this[_0x5f51f6(0x166)])_0x13437f['y']-=0x1;}let _0x1b34bd=new Vector3();if(_0x13437f['lengthSq']()>0x0){_0x13437f['normalize']()[_0x5f51f6(0x10c)](_0x1f78e8);const _0x3c5cde=this[_0x5f51f6(0x16e)]();_0x1b34bd=_0x13437f[_0x5f51f6(0x153)](_0x3c5cde),this['enableGravity']&&(_0x1b34bd['y']=0x0,_0x1b34bd['lengthSq']()>0x0&&_0x1b34bd['normalize']()[_0x5f51f6(0x10c)](_0x1f78e8));}const _0x53461d=this[_0x5f51f6(0x145)]['world'],_0x501712=this[_0x5f51f6(0xeb)](),_0x10fb0d=this['rootComponent']instanceof CapsuleColliderComponent?this[_0x5f51f6(0x122)]:null,_0x22fcdc=_0x10fb0d?_0x10fb0d[_0x5f51f6(0xf8)]:0.35,_0x4cdc00=_0x10fb0d?_0x10fb0d[_0x5f51f6(0x118)]:0.9;if(this[_0x5f51f6(0x162)]){this[_0x5f51f6(0x16c)]-=this[_0x5f51f6(0x125)]*_0x3cc624;const _0x3c2043=_0x501712[_0x5f51f6(0x12c)](),_0x3deb07=_0x4cdc00+_0x22fcdc+0.1,_0x420bf0=_0x53461d['physics'][_0x5f51f6(0x106)](_0x3c2043,_0x3c2043[_0x5f51f6(0x12c)]()[_0x5f51f6(0xf0)](new Vector3(0x0,-_0x3deb07,0x0)),CollisionChannel[_0x5f51f6(0x124)],_0x10fb0d||undefined),_0x11f038=_0x420bf0[_0x5f51f6(0x110)](_0x298258=>_0x298258[_0x5f51f6(0x120)]);_0x11f038&&(this[_0x5f51f6(0x16c)]<=0x0&&(this[_0x5f51f6(0x16c)]=Math[_0x5f51f6(0x111)](0x0,this[_0x5f51f6(0x16c)]))),_0x1b34bd['y']+=this['_verticalVelocity']*_0x3cc624;}let _0x178d25=_0x1b34bd;if(_0x53461d&&_0x53461d[_0x5f51f6(0xe9)]&&_0x1b34bd['lengthSq']()>0.000001){const _0x4a070e=_0x501712[_0x5f51f6(0x12c)](),_0x335ed6=_0x1b34bd['length']()+_0x22fcdc+0.1,_0xd8a403=_0x4a070e[_0x5f51f6(0x12c)]()[_0x5f51f6(0xf0)](_0x1b34bd[_0x5f51f6(0x12c)]()['normalize']()[_0x5f51f6(0x10c)](_0x335ed6)),_0x847f9d=_0x53461d['physics'][_0x5f51f6(0x106)](_0x4a070e,_0xd8a403,CollisionChannel[_0x5f51f6(0x124)],_0x10fb0d||undefined),_0x2bf9e6=_0x847f9d['find'](_0xaa29ce=>_0xaa29ce[_0x5f51f6(0x120)]);if(_0x2bf9e6&&_0x2bf9e6[_0x5f51f6(0x120)]){const _0x2e648c=_0x2bf9e6[_0x5f51f6(0x10e)],_0x1003d7=Math[_0x5f51f6(0x111)](0x0,_0x2e648c-_0x22fcdc-0.001);if(_0x1003d7<_0x1b34bd[_0x5f51f6(0x115)]()){const _0x436920=_0x1b34bd[_0x5f51f6(0x12c)]()[_0x5f51f6(0x168)](),_0x539e71=_0x436920['clone']()[_0x5f51f6(0x10c)](_0x1003d7),_0xbcf23c=_0x1b34bd[_0x5f51f6(0x12c)]()['sub'](_0x539e71),_0x1be88b=_0x2bf9e6[_0x5f51f6(0x127)],_0xa6ee2=_0xbcf23c[_0x5f51f6(0x102)](_0x1be88b);let _0x156834=new Vector3();_0xa6ee2<0x0?_0x156834=_0xbcf23c[_0x5f51f6(0x12c)]()[_0x5f51f6(0x160)](_0x1be88b[_0x5f51f6(0x12c)]()['multiplyScalar'](_0xa6ee2)):_0x156834=_0xbcf23c;const _0x1852c5=_0x156834[_0x5f51f6(0x115)]();if(_0x1852c5>0.001){const _0x3f08ee=_0x4a070e['clone']()[_0x5f51f6(0xf0)](_0x539e71),_0x11570c=_0x1852c5+_0x22fcdc+0.1,_0x16746e=_0x3f08ee[_0x5f51f6(0x12c)]()[_0x5f51f6(0xf0)](_0x156834[_0x5f51f6(0x12c)]()[_0x5f51f6(0x168)]()[_0x5f51f6(0x10c)](_0x11570c)),_0x43e50b=_0x53461d['physics'][_0x5f51f6(0x106)](_0x3f08ee,_0x16746e,CollisionChannel[_0x5f51f6(0x124)],_0x10fb0d||undefined),_0x2c4cd9=_0x43e50b[_0x5f51f6(0x110)](_0x2a006d=>_0x2a006d[_0x5f51f6(0x120)]);if(_0x2c4cd9&&_0x2c4cd9[_0x5f51f6(0x120)]){const _0x7a456c=_0x2c4cd9[_0x5f51f6(0x10e)],_0x520a5f=Math[_0x5f51f6(0x111)](0x0,_0x7a456c-_0x22fcdc-0.001);_0x520a5f<_0x1852c5&&_0x156834['normalize']()[_0x5f51f6(0x10c)](_0x520a5f);}}_0x178d25=_0x539e71[_0x5f51f6(0xf0)](_0x156834);}}}_0x178d25['lengthSq']()>0x0&&(_0x501712[_0x5f51f6(0xf0)](_0x178d25),this[_0x5f51f6(0x10b)](_0x501712)),this[_0x5f51f6(0x104)]();}[_0x31339a(0x104)](){const _0x39c66f=_0x31339a;if(!this[_0x39c66f(0x173)]||!this['camera'])return;const _0x25f43b=this[_0x39c66f(0xeb)]();_0x25f43b['y']+=this[_0x39c66f(0x121)];const _0x20f17e=this['getQuaternion'](),_0x51afc0=new Quaternion()['setFromAxisAngle'](new Vector3(0x1,0x0,0x0),this[_0x39c66f(0xf9)]),_0x2f380a=_0x20f17e[_0x39c66f(0x12c)]()[_0x39c66f(0x149)](_0x51afc0),_0x583fc9=new Vector3(0x0,0x0,this['camera'][_0x39c66f(0x109)])['applyQuaternion'](_0x2f380a);_0x25f43b[_0x39c66f(0xf0)](_0x583fc9),this['camera'][_0x39c66f(0x175)][_0x39c66f(0x16a)](_0x25f43b),this[_0x39c66f(0x11c)][_0x39c66f(0x12d)][_0x39c66f(0x16a)](_0x2f380a),this['camera'][_0x39c66f(0x155)]();}}
|
|
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
|
-
const
|
|
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
|
-
function _0x326d(_0xe1c427,_0x261230){_0xe1c427=_0xe1c427-0x168;const _0x4a2384=_0x4a23();let _0x326d25=_0x4a2384[_0xe1c427];return _0x326d25;}const _0x4906fd=_0x326d;(function(_0x4c1613,_0x2b1394){const _0x1de986=_0x326d,_0x45b936=_0x4c1613();while(!![]){try{const _0x1fc466=parseInt(_0x1de986(0x18c))/0x1+-parseInt(_0x1de986(0x1b8))/0x2*(parseInt(_0x1de986(0x16d))/0x3)+-parseInt(_0x1de986(0x186))/0x4*(parseInt(_0x1de986(0x191))/0x5)+parseInt(_0x1de986(0x169))/0x6*(parseInt(_0x1de986(0x1c0))/0x7)+-parseInt(_0x1de986(0x17f))/0x8+-parseInt(_0x1de986(0x187))/0x9+parseInt(_0x1de986(0x18e))/0xa;if(_0x1fc466===_0x2b1394)break;else _0x45b936['push'](_0x45b936['shift']());}catch(_0x3fbfc2){_0x45b936['push'](_0x45b936['shift']());}}}(_0x4a23,0x8af4c));class MeshColliderComponent extends ColliderComponent{get[_0x4906fd(0x184)](){const _0x23ef02=_0x4906fd;return this[_0x23ef02(0x193)];}constructor(_0xac3115,_0x435971=null,_0x468edd){const _0x25d3b6=_0x4906fd;super(_0xac3115,_0x468edd),this[_0x25d3b6(0x193)]=null,this['_mesh']=null,this[_0x25d3b6(0x185)]=[],this[_0x25d3b6(0x19c)]=null,this['_tmpAabb']=new Box3(),this['_tmpMat']=new Matrix4(),this[_0x25d3b6(0x1a2)]=new Vector3(),this[_0x25d3b6(0x1ad)]=Array[_0x25d3b6(0x173)]({'length':0x8},()=>new Vector3()),this[_0x25d3b6(0x17b)]=new Vector3(),this[_0x25d3b6(0x1a1)]=new Vector3(),this[_0x25d3b6(0x183)]=new Vector3(),this[_0x25d3b6(0x1ae)]=new Vector3(),this['_tmpEdge2']=new Vector3(),this[_0x25d3b6(0x1aa)]=new Vector3(),this[_0x25d3b6(0x1bc)]=new Vector3(),this[_0x25d3b6(0x18d)]=new Vector3(),this[_0x25d3b6(0x175)]=new Vector3(),this[_0x25d3b6(0x1a0)]='MeshColliderComponent',this[_0x25d3b6(0x16f)](_0x435971);}[_0x4906fd(0x16f)](_0x1b39ef){const _0x327dc9=_0x4906fd,_0x3ee54e=this[_0x327dc9(0x174)];_0x3ee54e&&(this['debugEnabled']=![]);this[_0x327dc9(0x193)]=_0x1b39ef;this[_0x327dc9(0x180)]&&(this[_0x327dc9(0x180)][_0x327dc9(0x1af)][_0x327dc9(0x16a)](),this[_0x327dc9(0x180)]=null);if(!_0x1b39ef){_0x3ee54e&&(this['debugEnabled']=!![]);return;}const _0x1e7b8c=[];_0x1b39ef[_0x327dc9(0x1c2)](!![],!![]);const _0x55424e=_0x1b39ef[_0x327dc9(0x18f)][_0x327dc9(0x1b7)]()[_0x327dc9(0x1a4)]();_0x1b39ef[_0x327dc9(0x177)](_0x4e61b1=>{const _0x52436b=_0x327dc9;if(_0x4e61b1[_0x52436b(0x197)]){const _0x18bab9=_0x4e61b1;if(_0x18bab9[_0x52436b(0x1af)]){const _0x495043=_0x18bab9[_0x52436b(0x1af)][_0x52436b(0x1b7)](),_0x24b716=_0x55424e[_0x52436b(0x1b7)]()[_0x52436b(0x178)](_0x18bab9['matrixWorld']);_0x495043[_0x52436b(0x19f)](_0x24b716),_0x1e7b8c['push'](_0x495043);}}});if(_0x1e7b8c[_0x327dc9(0x170)]>0x0){const _0x57060f=this[_0x327dc9(0x16e)](_0x1e7b8c);if(_0x57060f){const _0x504c63=new Mesh(_0x57060f);this[_0x327dc9(0x180)]=_0x504c63;}}_0x3ee54e&&(this['debugEnabled']=!![]);}[_0x4906fd(0x16e)](_0xb9ceae){const _0x32e7aa=_0x4906fd;if(_0xb9ceae[_0x32e7aa(0x170)]===0x0)return null;if(_0xb9ceae['length']===0x1)return _0xb9ceae[0x0];let _0x258682=0x0,_0x368412=0x0;for(const _0x58fc4b of _0xb9ceae){_0x258682+=_0x58fc4b[_0x32e7aa(0x1c3)][_0x32e7aa(0x17a)][_0x32e7aa(0x19b)],_0x58fc4b[_0x32e7aa(0x190)]?_0x368412+=_0x58fc4b[_0x32e7aa(0x190)]['count']:_0x368412+=_0x58fc4b[_0x32e7aa(0x1c3)][_0x32e7aa(0x17a)][_0x32e7aa(0x19b)];}const _0x4dd1e5=new Float32Array(_0x258682*0x3),_0x133440=new Uint32Array(_0x368412);let _0x57953c=0x0,_0x4c482d=0x0;for(const _0x49ec4a of _0xb9ceae){const _0x27c3eb=_0x49ec4a[_0x32e7aa(0x1c3)]['position'][_0x32e7aa(0x1a7)],_0x50fff9=_0x49ec4a[_0x32e7aa(0x1c3)][_0x32e7aa(0x17a)]['count'];for(let _0x47a6b7=0x0;_0x47a6b7<_0x50fff9*0x3;_0x47a6b7++){_0x4dd1e5[_0x57953c*0x3+_0x47a6b7]=_0x27c3eb[_0x47a6b7];}if(_0x49ec4a['index']){const _0x1a6c32=_0x49ec4a['index'][_0x32e7aa(0x1a7)];for(let _0x20a44d=0x0;_0x20a44d<_0x49ec4a[_0x32e7aa(0x190)]['count'];_0x20a44d++){_0x133440[_0x4c482d+_0x20a44d]=_0x1a6c32[_0x20a44d]+_0x57953c;}_0x4c482d+=_0x49ec4a[_0x32e7aa(0x190)]['count'];}else {for(let _0x5a62a2=0x0;_0x5a62a2<_0x50fff9;_0x5a62a2++){_0x133440[_0x4c482d+_0x5a62a2]=_0x5a62a2+_0x57953c;}_0x4c482d+=_0x50fff9;}_0x57953c+=_0x50fff9;}const _0x2e5213=new BufferGeometry();return _0x2e5213[_0x32e7aa(0x1be)]('position',new BufferAttribute(_0x4dd1e5,0x3)),_0x2e5213[_0x32e7aa(0x1a6)](new BufferAttribute(_0x133440,0x1)),_0x2e5213;}[_0x4906fd(0x1a9)](){const _0x4b0138=_0x4906fd;this['debugEnabled']=![],this['_mesh']&&(this[_0x4b0138(0x180)]['geometry'][_0x4b0138(0x16a)](),this['_mesh']=null),this['_sourceObject']=null,super[_0x4b0138(0x1a9)]();}[_0x4906fd(0x1a3)](_0x135f7e=new Box3()){const _0xdf5c7e=_0x4906fd;_0x135f7e['makeEmpty']();if(!this[_0xdf5c7e(0x193)])return _0x135f7e;this[_0xdf5c7e(0x193)][_0xdf5c7e(0x1c2)](!![],!![]);const _0x4bc76a=this[_0xdf5c7e(0x1ad)];if(this[_0xdf5c7e(0x180)]){const _0xc115d7=this[_0xdf5c7e(0x180)];_0xc115d7[_0xdf5c7e(0x18f)]['copy'](this['_sourceObject'][_0xdf5c7e(0x18f)]);const _0x36c010=_0xc115d7['geometry'];if(_0x36c010){!_0x36c010[_0xdf5c7e(0x19e)]&&_0x36c010[_0xdf5c7e(0x1b4)]();const _0x4dae73=_0x36c010[_0xdf5c7e(0x19e)];if(_0x4dae73){this[_0xdf5c7e(0x1b1)][_0xdf5c7e(0x1b0)](_0xc115d7[_0xdf5c7e(0x18f)]);const _0x5a8ecc=_0x4dae73['min'],_0x3ed1b2=_0x4dae73[_0xdf5c7e(0x1ba)];_0x4bc76a[0x0][_0xdf5c7e(0x182)](_0x5a8ecc['x'],_0x5a8ecc['y'],_0x5a8ecc['z']),_0x4bc76a[0x1][_0xdf5c7e(0x182)](_0x5a8ecc['x'],_0x5a8ecc['y'],_0x3ed1b2['z']),_0x4bc76a[0x2][_0xdf5c7e(0x182)](_0x5a8ecc['x'],_0x3ed1b2['y'],_0x5a8ecc['z']),_0x4bc76a[0x3]['set'](_0x5a8ecc['x'],_0x3ed1b2['y'],_0x3ed1b2['z']),_0x4bc76a[0x4]['set'](_0x3ed1b2['x'],_0x5a8ecc['y'],_0x5a8ecc['z']),_0x4bc76a[0x5][_0xdf5c7e(0x182)](_0x3ed1b2['x'],_0x5a8ecc['y'],_0x3ed1b2['z']),_0x4bc76a[0x6][_0xdf5c7e(0x182)](_0x3ed1b2['x'],_0x3ed1b2['y'],_0x5a8ecc['z']),_0x4bc76a[0x7][_0xdf5c7e(0x182)](_0x3ed1b2['x'],_0x3ed1b2['y'],_0x3ed1b2['z']);for(const _0x3d4312 of _0x4bc76a){_0x3d4312[_0xdf5c7e(0x19f)](this[_0xdf5c7e(0x1b1)]),_0x135f7e[_0xdf5c7e(0x176)](_0x3d4312);}}}}return _0x135f7e;}[_0x4906fd(0x1bf)](_0x397c12,_0x424d0e,_0x531584){const _0x492eb7=_0x4906fd;if(!this['_sourceObject'])return [];this['_sourceObject'][_0x492eb7(0x1c2)](!![],!![]);const _0x489e2c=[];if(this['_mesh']){const _0x3173b5=this[_0x492eb7(0x180)];_0x3173b5[_0x492eb7(0x18f)][_0x492eb7(0x1b0)](this['_sourceObject']['matrixWorld']);const _0x59ad7e=_0x3173b5[_0x492eb7(0x1af)];if(_0x59ad7e){!_0x59ad7e[_0x492eb7(0x19e)]&&_0x59ad7e[_0x492eb7(0x1b4)]();const _0x26de1f=_0x59ad7e[_0x492eb7(0x19e)];if(_0x26de1f){const _0x46c891=this[_0x492eb7(0x16b)]['copy'](_0x26de1f)[_0x492eb7(0x19f)](_0x3173b5['matrixWorld']);if(this[_0x492eb7(0x1ab)](_0x397c12,_0x424d0e,_0x531584,_0x46c891)){const _0x5d062a=_0x59ad7e[_0x492eb7(0x1b5)](_0x492eb7(0x17a));if(_0x5d062a){const _0x33bb19=_0x59ad7e[_0x492eb7(0x172)](),_0x465938=_0x33bb19?Math[_0x492eb7(0x1ac)](_0x33bb19[_0x492eb7(0x19b)]/0x3):Math[_0x492eb7(0x1ac)](_0x5d062a['count']/0x3);for(let _0x5a83eb=0x0;_0x5a83eb<_0x465938;_0x5a83eb++){const _0x4f8892=_0x33bb19?_0x33bb19[_0x492eb7(0x192)](_0x5a83eb*0x3+0x0):_0x5a83eb*0x3+0x0,_0x4d00e3=_0x33bb19?_0x33bb19[_0x492eb7(0x192)](_0x5a83eb*0x3+0x1):_0x5a83eb*0x3+0x1,_0x222801=_0x33bb19?_0x33bb19['getX'](_0x5a83eb*0x3+0x2):_0x5a83eb*0x3+0x2;this[_0x492eb7(0x17b)][_0x492eb7(0x182)](_0x5d062a[_0x492eb7(0x192)](_0x4f8892),_0x5d062a['getY'](_0x4f8892),_0x5d062a[_0x492eb7(0x1a8)](_0x4f8892))['applyMatrix4'](_0x3173b5[_0x492eb7(0x18f)]),this[_0x492eb7(0x1a1)][_0x492eb7(0x182)](_0x5d062a['getX'](_0x4d00e3),_0x5d062a[_0x492eb7(0x196)](_0x4d00e3),_0x5d062a[_0x492eb7(0x1a8)](_0x4d00e3))[_0x492eb7(0x19f)](_0x3173b5[_0x492eb7(0x18f)]),this[_0x492eb7(0x183)][_0x492eb7(0x182)](_0x5d062a[_0x492eb7(0x192)](_0x222801),_0x5d062a['getY'](_0x222801),_0x5d062a[_0x492eb7(0x1a8)](_0x222801))[_0x492eb7(0x19f)](_0x3173b5[_0x492eb7(0x18f)]);const _0x579754=this['intersectRayTriangle'](_0x397c12,_0x424d0e,this['_tmpA'],this[_0x492eb7(0x1a1)],this[_0x492eb7(0x183)],_0x531584);_0x579754&&_0x489e2c[_0x492eb7(0x1c1)]({'distance':_0x579754['distance'],'point':_0x579754[_0x492eb7(0x17d)][_0x492eb7(0x1b7)](),'normal':_0x579754[_0x492eb7(0x17c)]['clone']()});}}}}}}return _0x489e2c[_0x492eb7(0x171)]((_0x2f07f0,_0x2b36e3)=>_0x2f07f0[_0x492eb7(0x179)]-_0x2b36e3[_0x492eb7(0x179)]);}[_0x4906fd(0x17e)](_0x340a60,_0x1f9321,_0x2507fe){const _0x4866b3=_0x4906fd,_0x160baa=this[_0x4866b3(0x1bf)](_0x340a60,_0x1f9321,_0x2507fe);if(_0x160baa[_0x4866b3(0x170)]>0x0)return _0x160baa[0x0];return null;}[_0x4906fd(0x1ab)](_0x479be4,_0x477a8a,_0x435df1,_0x54cee1){const _0xa2fc68=_0x4906fd;let _0x3232ff=0x0,_0x352701=_0x435df1;const _0x4d4dfb=1e-8,_0x54272a=_0x399fb4=>{const _0x5e1e84=_0x326d,_0x41b389=_0x479be4[_0x399fb4],_0x34261d=_0x477a8a[_0x399fb4],_0xea0706=_0x54cee1[_0x5e1e84(0x1b2)][_0x399fb4],_0x46c8a=_0x54cee1[_0x5e1e84(0x1ba)][_0x399fb4];if(Math[_0x5e1e84(0x188)](_0x34261d)<_0x4d4dfb)return _0x41b389>=_0xea0706&&_0x41b389<=_0x46c8a;const _0x571f72=0x1/_0x34261d;let _0x21a3f3,_0x5e0cdb;return _0x34261d>=0x0?(_0x21a3f3=(_0xea0706-_0x41b389)*_0x571f72,_0x5e0cdb=(_0x46c8a-_0x41b389)*_0x571f72):(_0x21a3f3=(_0x46c8a-_0x41b389)*_0x571f72,_0x5e0cdb=(_0xea0706-_0x41b389)*_0x571f72),_0x21a3f3>_0x3232ff&&(_0x3232ff=_0x21a3f3),_0x5e0cdb<_0x352701&&(_0x352701=_0x5e0cdb),_0x3232ff<=_0x352701;};if(!_0x54272a('x')||!_0x54272a('y')||!_0x54272a('z'))return ![];const _0x13c0c7=Math[_0xa2fc68(0x1ba)](0x0,_0x3232ff);return _0x13c0c7<=_0x435df1;}['intersectRayTriangle'](_0x315791,_0x1b4a7d,_0x3457fa,_0xa5b493,_0x172c02,_0xf3eb43){const _0x585b54=_0x4906fd,_0x112e9f=1e-8,_0x504284=this[_0x585b54(0x1ae)][_0x585b54(0x1b0)](_0xa5b493)[_0x585b54(0x19d)](_0x3457fa),_0x4b41de=this['_tmpEdge2'][_0x585b54(0x1b0)](_0x172c02)[_0x585b54(0x19d)](_0x3457fa),_0x594f7d=this['_tmpP'][_0x585b54(0x1a5)](_0x1b4a7d,_0x4b41de),_0x58984b=_0x504284[_0x585b54(0x19a)](_0x594f7d);if(Math[_0x585b54(0x188)](_0x58984b)<_0x112e9f)return null;const _0x1c38d4=0x1/_0x58984b,_0x556cea=this[_0x585b54(0x1bc)][_0x585b54(0x1b0)](_0x315791)[_0x585b54(0x19d)](_0x3457fa),_0x89b4a9=_0x556cea[_0x585b54(0x19a)](_0x594f7d)*_0x1c38d4;if(_0x89b4a9<0x0||_0x89b4a9>0x1)return null;const _0x1606bc=this['_tmpQ'][_0x585b54(0x1a5)](_0x556cea,_0x504284),_0x52cdd4=_0x1b4a7d[_0x585b54(0x19a)](_0x1606bc)*_0x1c38d4;if(_0x52cdd4<0x0||_0x89b4a9+_0x52cdd4>0x1)return null;const _0x60864c=_0x4b41de[_0x585b54(0x19a)](_0x1606bc)*_0x1c38d4;if(_0x60864c<0x0||_0x60864c>_0xf3eb43)return null;const _0x3df436=this[_0x585b54(0x175)][_0x585b54(0x1a5)](_0x504284,_0x4b41de),_0x417fb1=_0x3df436[_0x585b54(0x195)]();_0x417fb1>_0x112e9f&&_0x3df436[_0x585b54(0x1b6)](0x1/Math['sqrt'](_0x417fb1));_0x3df436[_0x585b54(0x19a)](_0x1b4a7d)>0x0&&_0x3df436[_0x585b54(0x1b6)](-1);const _0x5ea2eb=this['_tmpCorner'][_0x585b54(0x1b0)](_0x315791)[_0x585b54(0x194)](_0x1b4a7d,_0x60864c);return {'point':_0x5ea2eb,'normal':_0x3df436,'distance':_0x60864c};}[_0x4906fd(0x1bd)](){return this['threeObject'];}[_0x4906fd(0x1b3)](){const _0x22a829=_0x4906fd;if(!this[_0x22a829(0x193)])return null;const _0x32716e=new Object3D();_0x32716e[_0x22a829(0x1a0)]=_0x22a829(0x18a),this[_0x22a829(0x185)]=[],this['_debugMaterial']=new MeshBasicMaterial({'color':this['debugColor'],'wireframe':!![],'transparent':!![],'opacity':this[_0x22a829(0x198)]});if(this[_0x22a829(0x180)]){const _0x9cdf06=this['_mesh'],_0x5ba4e4=_0x9cdf06['geometry'];if(_0x5ba4e4){const _0x8ed94e=new Mesh(_0x5ba4e4,this[_0x22a829(0x19c)]);_0x32716e[_0x22a829(0x1bb)](_0x8ed94e),this[_0x22a829(0x185)][_0x22a829(0x1c1)]({'parent':_0x32716e,'obj':_0x8ed94e});}}return _0x32716e;}[_0x4906fd(0x168)](_0x21d1f7){const _0x21a864=_0x4906fd;for(const _0x1631da of this['_debugEntries']){_0x1631da[_0x21a864(0x181)][_0x21a864(0x199)](_0x1631da['obj']);}this[_0x21a864(0x185)]=[],this[_0x21a864(0x19c)]=null;}[_0x4906fd(0x1c4)](){const _0x35ea50=_0x4906fd;if(!this[_0x35ea50(0x19c)])return;this['_debugMaterial']['color'][_0x35ea50(0x18b)](this[_0x35ea50(0x189)]),this[_0x35ea50(0x19c)][_0x35ea50(0x1b9)]=this['debugOpacity'],this[_0x35ea50(0x19c)][_0x35ea50(0x16c)]=this[_0x35ea50(0x198)]<0x1,this[_0x35ea50(0x19c)]['needsUpdate']=!![];}}function _0x4a23(){const _0x4293f0=['914413lRBowo','_tmpQ','8155510omcVGm','matrixWorld','index','396735IleEfV','getX','_sourceObject','addScaledVector','lengthSq','getY','isMesh','debugOpacity','remove','dot','count','_debugMaterial','sub','boundingBox','applyMatrix4','name','_tmpB','_tmpCorner','getWorldAABB','invert','crossVectors','setIndex','array','getZ','destroy','_tmpP','intersectRayAabb','floor','_tmpBoxCorner','_tmpEdge1','geometry','copy','_tmpMat','min','createDebugObject','computeBoundingBox','getAttribute','multiplyScalar','clone','232JBLAnw','opacity','max','add','_tmpT','getDebugAttachParent','setAttribute','raycastAll','231DRLgiB','push','updateWorldMatrix','attributes','onDebugStyleChanged','destroyDebugObject','132402HixdHg','dispose','_tmpAabb','transparent','23460HNBFle','mergeGeometries','setSourceObject','length','sort','getIndex','from','debugEnabled','_tmpN','expandByPoint','traverse','multiply','distance','position','_tmpA','normal','point','raycast','633968UvqBan','_mesh','parent','set','_tmpC','sourceObject','_debugEntries','44axpOvD','268452QWlCQT','abs','debugColor','MeshColliderDebug','setHex'];_0x4a23=function(){return _0x4293f0;};return _0x4a23();}
|
|
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
|