lythreeframe 1.3.4 → 1.3.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.cjs.js +56 -56
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +56 -56
- package/dist/bundle.esm.js.map +1 -1
- package/dist/src/Frame/Controller.d.ts +3 -3
- package/package.json +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -14,120 +14,120 @@ var LensflareNode_js = require('three/examples/jsm/tsl/display/LensflareNode.js'
|
|
|
14
14
|
var gsap = require('gsap');
|
|
15
15
|
var three = require('three');
|
|
16
16
|
var SkyMesh_js = require('three/examples/jsm/objects/SkyMesh.js');
|
|
17
|
-
var
|
|
17
|
+
var _0x37784b = require('earcut');
|
|
18
18
|
var CSS2DRenderer_js = require('three/examples/jsm/renderers/CSS2DRenderer.js');
|
|
19
19
|
var PointerLockControls_js = require('three/examples/jsm/controls/PointerLockControls.js');
|
|
20
20
|
var TransformControls_js = require('three/examples/jsm/controls/TransformControls.js');
|
|
21
21
|
|
|
22
|
-
function
|
|
22
|
+
const _0x3082ab=_0x1d93;function _0x1d93(_0x33cc13,_0x1342ac){_0x33cc13=_0x33cc13-0x194;const _0x4c82f6=_0x4c82();let _0x1d932d=_0x4c82f6[_0x33cc13];return _0x1d932d;}function _0x4c82(){const _0x3030c2=['isTickEnabled','removeTickEvent','1688bpUdjU','10969TXVGTj','1290KtBXvB','97789yarBTN','bCanTick','addTickEvent','destroy','uuid','generateUUID','tickEvents','99783zooMNo','splice','indexOf','_uuid','2165432GInowH','2266140rehynd','886400bsArsD','3tripmM','1560955WJXSMn','forEach'];_0x4c82=function(){return _0x3030c2;};return _0x4c82();}(function(_0x10c792,_0x3d907b){const _0x267fae=_0x1d93,_0x4e4ebf=_0x10c792();while(!![]){try{const _0xcb6900=parseInt(_0x267fae(0x19c))/0x1+-parseInt(_0x267fae(0x1a9))/0x2+-parseInt(_0x267fae(0x194))/0x3*(parseInt(_0x267fae(0x1a7))/0x4)+-parseInt(_0x267fae(0x195))/0x5+parseInt(_0x267fae(0x1a8))/0x6+-parseInt(_0x267fae(0x19a))/0x7*(parseInt(_0x267fae(0x199))/0x8)+parseInt(_0x267fae(0x1a3))/0x9*(parseInt(_0x267fae(0x19b))/0xa);if(_0xcb6900===_0x3d907b)break;else _0x4e4ebf['push'](_0x4e4ebf['shift']());}catch(_0x464b21){_0x4e4ebf['push'](_0x4e4ebf['shift']());}}}(_0x4c82,0x43f2c));class BaseObject{get['isTickEnabled'](){const _0x2ccb9d=_0x1d93;return this[_0x2ccb9d(0x19d)];}set[_0x3082ab(0x197)](_0x3a78db){const _0x26ab52=_0x3082ab;this[_0x26ab52(0x19d)]=_0x3a78db;}get[_0x3082ab(0x1a0)](){return this['_uuid'];}constructor(_0x2476c5=webgpu.MathUtils[_0x3082ab(0x1a1)]()){const _0x395524=_0x3082ab;this['bCanTick']=![],this[_0x395524(0x1a2)]=[],this[_0x395524(0x19d)]=![],this[_0x395524(0x1a6)]=_0x2476c5;}['tick'](_0x2548ef){const _0x2bd13c=_0x3082ab;if(!this[_0x2bd13c(0x19d)])return;this[_0x2bd13c(0x1a2)][_0x2bd13c(0x196)](_0x267faf=>{_0x267faf(_0x2548ef);});}[_0x3082ab(0x19e)](_0x331c37){this['tickEvents']['push'](_0x331c37);}[_0x3082ab(0x198)](_0x18da65){const _0x50916d=_0x3082ab;let _0x37072b=this[_0x50916d(0x1a2)][_0x50916d(0x1a5)](_0x18da65);_0x37072b!=-1&&this[_0x50916d(0x1a2)][_0x50916d(0x1a4)](_0x37072b,0x1);}['clearTickEvents'](){const _0x2cd611=_0x3082ab;this[_0x2cd611(0x1a2)]=[];}[_0x3082ab(0x19f)](){}}
|
|
23
23
|
|
|
24
|
-
const
|
|
24
|
+
const _0x15222b=_0x27bf;(function(_0x7e59ee,_0x11a683){const _0x399ca9=_0x27bf,_0x232e04=_0x7e59ee();while(!![]){try{const _0x560091=-parseInt(_0x399ca9(0x1c0))/0x1+parseInt(_0x399ca9(0x1c6))/0x2*(parseInt(_0x399ca9(0x1b9))/0x3)+-parseInt(_0x399ca9(0x1bf))/0x4+-parseInt(_0x399ca9(0x1c9))/0x5+parseInt(_0x399ca9(0x1ca))/0x6+-parseInt(_0x399ca9(0x1bb))/0x7*(parseInt(_0x399ca9(0x1c7))/0x8)+-parseInt(_0x399ca9(0x1c2))/0x9*(-parseInt(_0x399ca9(0x1b8))/0xa);if(_0x560091===_0x11a683)break;else _0x232e04['push'](_0x232e04['shift']());}catch(_0x37f198){_0x232e04['push'](_0x232e04['shift']());}}}(_0x10a2,0x770ea));function _0x10a2(){const _0x27786e=['LYObject','parentActor','threeObject','destroy','22540nVFUxG','1041UKQKxX','warn','392658hymUQt','_name','Component','userData','2236348aMomGb','914115oKiyIn','generateUUID','3096OIQdaa','name','destroyObject','obj','3898SzyrPz','8OAbZTk','Component\x20createDefaultObject\x20return\x20null','119220daCMPN','3534714rORkde','type','_parentActor'];_0x10a2=function(){return _0x27786e;};return _0x10a2();}function _0x27bf(_0x260c22,_0x5194c9){_0x260c22=_0x260c22-0x1b8;const _0x10a245=_0x10a2();let _0x27bf56=_0x10a245[_0x260c22];return _0x27bf56;}class Component extends BaseObject{set[_0x15222b(0x1ce)](_0x5baac5){this['_parentActor']=_0x5baac5;}get[_0x15222b(0x1ce)](){const _0xc21f9f=_0x15222b;return this[_0xc21f9f(0x1cc)];}get[_0x15222b(0x1cf)](){const _0x538f85=_0x15222b;return this[_0x538f85(0x1c5)];}set['threeObject'](_0x333568){const _0x3892fd=_0x15222b;this[_0x3892fd(0x1c5)]=_0x333568,this['obj']&&(this[_0x3892fd(0x1c5)][_0x3892fd(0x1be)][_0x3892fd(0x1cd)]=this);}get[_0x15222b(0x1c3)](){const _0x445017=_0x15222b;return this[_0x445017(0x1bc)];}set[_0x15222b(0x1c3)](_0xb86793){const _0x390004=_0x15222b;this['_name']=_0xb86793,this[_0x390004(0x1c5)]&&(this[_0x390004(0x1c5)][_0x390004(0x1c3)]=_0xb86793);}constructor(_0x2f0737){const _0x1fa669=_0x15222b;super(_0x2f0737?_0x2f0737:webgpu.MathUtils[_0x1fa669(0x1c1)]()),this[_0x1fa669(0x1c5)]=null,this[_0x1fa669(0x1cc)]=null,this[_0x1fa669(0x1bc)]=_0x1fa669(0x1bd),this[_0x1fa669(0x1cc)]=null;let _0x24674a=this['createDefaultObject']();_0x24674a?(this[_0x1fa669(0x1cf)]=_0x24674a,this[_0x1fa669(0x1bc)]=this['threeObject'][_0x1fa669(0x1cb)]+'Component'):console[_0x1fa669(0x1ba)](_0x1fa669(0x1c8));}['createDefaultObject'](_0x25283a){return null;}[_0x15222b(0x1c4)](){const _0x5500a0=_0x15222b;if(!this[_0x5500a0(0x1c5)])return;}[_0x15222b(0x1d0)](){const _0x2f9b12=_0x15222b;this[_0x2f9b12(0x1c4)]();}}
|
|
25
25
|
|
|
26
|
-
(function(
|
|
26
|
+
function _0x2285(){var _0x13ba1d=['KeepWorld','189468zsUaVi','KeepRelative','90hEvXAt','5273388MXCMLH','310lxSKmC','33148430orwlMV','40pQXWEl','8009QiRCEX','5356708cYoqyw','840108QKEAeP','1307752MJbGOL'];_0x2285=function(){return _0x13ba1d;};return _0x2285();}function _0x5c24(_0x1f7dfc,_0x34e4cc){_0x1f7dfc=_0x1f7dfc-0x131;var _0x2285ef=_0x2285();var _0x5c24a4=_0x2285ef[_0x1f7dfc];return _0x5c24a4;}(function(_0x3de258,_0x80c873){var _0x24572e=_0x5c24,_0x322c78=_0x3de258();while(!![]){try{var _0x492b12=-parseInt(_0x24572e(0x139))/0x1*(parseInt(_0x24572e(0x136))/0x2)+-parseInt(_0x24572e(0x132))/0x3+-parseInt(_0x24572e(0x135))/0x4+parseInt(_0x24572e(0x138))/0x5*(parseInt(_0x24572e(0x13b))/0x6)+parseInt(_0x24572e(0x13a))/0x7+parseInt(_0x24572e(0x13c))/0x8*(-parseInt(_0x24572e(0x134))/0x9)+parseInt(_0x24572e(0x137))/0xa;if(_0x492b12===_0x80c873)break;else _0x322c78['push'](_0x322c78['shift']());}catch(_0x3850d5){_0x322c78['push'](_0x322c78['shift']());}}}(_0x2285,0xe6233));exports.AttachmentRules = void 0;(function(_0x3e7cb4){var _0x25fe8c=_0x5c24;_0x3e7cb4[_0x3e7cb4[_0x25fe8c(0x131)]=0x1]=_0x25fe8c(0x131),_0x3e7cb4[_0x3e7cb4[_0x25fe8c(0x133)]=0x2]=_0x25fe8c(0x133);}(exports.AttachmentRules||(exports.AttachmentRules={})));
|
|
27
27
|
|
|
28
|
-
function
|
|
28
|
+
function _0x34c7(_0x188e06,_0x27eea4){_0x188e06=_0x188e06-0x1a8;const _0x129e00=_0x129e();let _0x34c74b=_0x129e00[_0x188e06];return _0x34c74b;}function _0x129e(){const _0xf05659=['32BhLPLE','883490yQgpUh','functions','230754TlZMYU','warn','remove','2157759RGOQpY','function\x20not\x20found','indexOf','2429481eGGmMo','add','57008mhQPri','forEach','clear','9200OOAfIP','push','2449136etRFYD','960uJpvaa'];_0x129e=function(){return _0xf05659;};return _0x129e();}const _0x479f53=_0x34c7;(function(_0x12c537,_0x531728){const _0x8cf7dc=_0x34c7,_0xc2e126=_0x12c537();while(!![]){try{const _0x494add=parseInt(_0x8cf7dc(0x1a8))/0x1+-parseInt(_0x8cf7dc(0x1aa))/0x2+-parseInt(_0x8cf7dc(0x1b0))/0x3+parseInt(_0x8cf7dc(0x1b7))/0x4+-parseInt(_0x8cf7dc(0x1b5))/0x5*(parseInt(_0x8cf7dc(0x1b8))/0x6)+parseInt(_0x8cf7dc(0x1b2))/0x7*(parseInt(_0x8cf7dc(0x1b9))/0x8)+parseInt(_0x8cf7dc(0x1ad))/0x9;if(_0x494add===_0x531728)break;else _0xc2e126['push'](_0xc2e126['shift']());}catch(_0x470bdf){_0xc2e126['push'](_0xc2e126['shift']());}}}(_0x129e,0x85e91));class Delegate{constructor(){const _0x4c7f9e=_0x34c7;this[_0x4c7f9e(0x1a9)]=[];}['broadcast'](..._0x7173fc){const _0x331999=_0x34c7;this['functions'][_0x331999(0x1b3)](_0x4f645a=>_0x4f645a(..._0x7173fc));}[_0x479f53(0x1b1)](_0x2d0ecb){const _0x289cd7=_0x479f53;this[_0x289cd7(0x1a9)][_0x289cd7(0x1b6)](_0x2d0ecb);}[_0x479f53(0x1ac)](_0x25e655){const _0x4e8643=_0x479f53,_0x117577=this[_0x4e8643(0x1a9)][_0x4e8643(0x1af)](_0x25e655);_0x117577>=0x0?this[_0x4e8643(0x1a9)]['splice'](_0x117577,0x1):console[_0x4e8643(0x1ab)](_0x4e8643(0x1ae));}[_0x479f53(0x1b4)](){const _0x1ad05f=_0x479f53;this[_0x1ad05f(0x1a9)]=[];}}
|
|
29
29
|
|
|
30
|
-
function _0x3773(){const _0x19916d=['setFromObject','max','target\x20threeObject\x20is\x20invalid','bCanClick','setPosition','_onHoverEndDelegate','parent','getWorldMatrix','setRotation','getWorldScale','obj','getMatrix','localToWorld','children','threeObject\x20is\x20invalid','tick','getRotation','onClicked','onDoubleClickDelegate','position','detachFromParentActor','48HOWLVz','copy','remove','setMatrix','11AAbdvL','applyQuaternion','markRenderStateDirty','decompose','viewport','onHoverBeginDelegate','bCanHover','updateMatrix','layers','createDefaultObject','uuid','length','735iSUbNc','parentActor','_onHoverBeginDelegate','getPosition','isVector3','isVisible','multiplyMatrices','compose','min','push','getComponentById','rotation','9985810nJaVLr','820939NhndHH','getScale','userData','getCenter','addChildComponent','clone','SceneComponent','childrenComponents','946283tzMhly','invert','onAddedToWorld','getWorldRotation','add','matrixAutoUpdate','removeChildComponent','1083NyaROR','_onClickDelegate','scale','threeObject','getBoundsBottomCenterPositionWS','setFromQuaternion','onClickDelegate','702ACFSZI','onDoubleClicked','quaternion','getBounds','39966pHVkTr','error','worldToLocal','1177479ibfIZe','newComponent\x20threeObject\x20is\x20invalid','targetComponent\x20threeObject\x20is\x20invalid','getBoundsTopCenterPositionWS','isQuaternion','visible','app','forEach','KeepWorld','onHoverEndDelegate','destroy','isHoverEnabled','world','isClickEnabled','_onDoubleClickDelegate','getWorldDirection','setVisible','LYObject','updateMatrixWorld','getWorldForwardDirection','number','matrix','onHorveringEnd','getWorldPosition','destroyObject','2503948IoqUxh','getWorldQuaternion','onHorveringBegin','matrixWorld','_parentActor','parentComponent','getBoundsCenterPositionWS','setQuaternion\x20failed,param\x20is\x20invalid','setWorldMatrix','set','broadcast','detachFromParentComponent'];_0x3773=function(){return _0x19916d;};return _0x3773();}const _0x1cddba=_0x16fa;(function(_0x236fab,_0x17de1c){const _0x12921a=_0x16fa,_0x351bfb=_0x236fab();while(!![]){try{const _0x3855e9=parseInt(_0x12921a(0x130))/0x1+parseInt(_0x12921a(0x13e))/0x2*(parseInt(_0x12921a(0x137))/0x3)+parseInt(_0x12921a(0x15e))/0x4+parseInt(_0x12921a(0x11b))/0x5*(-parseInt(_0x12921a(0x142))/0x6)+parseInt(_0x12921a(0x128))/0x7*(parseInt(_0x12921a(0x17f))/0x8)+parseInt(_0x12921a(0x145))/0x9+parseInt(_0x12921a(0x127))/0xa*(-parseInt(_0x12921a(0x183))/0xb);if(_0x3855e9===_0x17de1c)break;else _0x351bfb['push'](_0x351bfb['shift']());}catch(_0x56feec){_0x351bfb['push'](_0x351bfb['shift']());}}}(_0x3773,0x87ace));function _0x16fa(_0x9ba0a2,_0x305e8f){_0x9ba0a2=_0x9ba0a2-0x116;const _0x3773d4=_0x3773();let _0x16fa87=_0x3773d4[_0x9ba0a2];return _0x16fa87;}class SceneComponent extends Component{set[_0x1cddba(0x11c)](_0x1982f1){const _0x7ae172=_0x1cddba;this[_0x7ae172(0x12f)]['forEach'](_0x5024b9=>{const _0x135e05=_0x7ae172;_0x5024b9[_0x135e05(0x11c)]=_0x1982f1;}),this[_0x7ae172(0x162)]=_0x1982f1;}get[_0x1cddba(0x11c)](){const _0x2922ca=_0x1cddba;return this[_0x2922ca(0x162)];}get[_0x1cddba(0x188)](){const _0x3c2ec3=_0x1cddba;return this[_0x3c2ec3(0x11d)];}get[_0x1cddba(0x14e)](){const _0x5e01de=_0x1cddba;return this[_0x5e01de(0x16f)];}get[_0x1cddba(0x13d)](){return this['_onClickDelegate'];}get[_0x1cddba(0x17c)](){return this['_onDoubleClickDelegate'];}get[_0x1cddba(0x151)](){const _0x4d1c32=_0x1cddba;return this['app'][_0x4d1c32(0x151)];}constructor(_0x452632,_0xad038c){const _0x51b698=_0x1cddba;super(_0xad038c),this['bCanHover']=![],this[_0x51b698(0x16d)]=![],this['_onHoverBeginDelegate']=new Delegate(),this['_onHoverEndDelegate']=new Delegate(),this[_0x51b698(0x138)]=new Delegate(),this[_0x51b698(0x153)]=new Delegate(),this[_0x51b698(0x14b)]=_0x452632,this['name']=_0x51b698(0x12e);}[_0x1cddba(0x118)](){return new webgpu.Object3D();}[_0x1cddba(0x179)](_0x27c316){const _0x41c8f1=_0x1cddba;super['tick'](_0x27c316),this[_0x41c8f1(0x12f)][_0x41c8f1(0x14c)](_0x5171ea=>{const _0x4d4dfd=_0x41c8f1;_0x5171ea[_0x4d4dfd(0x179)](_0x27c316);});}get[_0x1cddba(0x120)](){const _0xeeca93=_0x1cddba;if(!this[_0xeeca93(0x174)])return ![];return this[_0xeeca93(0x174)][_0xeeca93(0x14a)];}[_0x1cddba(0x155)](_0x4f1251){const _0x3067b1=_0x1cddba;if(!this['obj'])throw Error(_0x3067b1(0x178));this[_0x3067b1(0x174)][_0x3067b1(0x14a)]=_0x4f1251,this[_0x3067b1(0x151)]&&this[_0x3067b1(0x151)][_0x3067b1(0x187)][_0x3067b1(0x185)]();}['setLayers'](_0x217f42){const _0x4747e3=_0x1cddba;if(!this[_0x4747e3(0x174)])throw Error(_0x4747e3(0x178));this[_0x4747e3(0x174)][_0x4747e3(0x117)][_0x4747e3(0x167)](_0x217f42);let _0x9585aa=this[_0x4747e3(0x12f)];_0x9585aa[_0x4747e3(0x14c)](_0x57abd9=>{_0x57abd9['setLayers'](_0x217f42);});}[_0x1cddba(0x125)](_0x112c99,_0xfd2f76=!![]){const _0x23e74c=_0x1cddba;if(this[_0x23e74c(0x119)]===_0x112c99)return this;if(_0xfd2f76){let _0x3a4949=this['childrenComponents'];for(let _0x4aca91=0x0;_0x4aca91<_0x3a4949[_0x23e74c(0x11a)];++_0x4aca91){let _0x357d8b=_0x3a4949[_0x4aca91][_0x23e74c(0x125)](_0x112c99,_0xfd2f76);if(_0x357d8b)return _0x357d8b;}}else {let _0x132f64=this[_0x23e74c(0x12f)];for(let _0x45fdcb=0x0;_0x45fdcb<_0x132f64[_0x23e74c(0x11a)];++_0x45fdcb){let _0x5983ac=_0x132f64[_0x45fdcb];if(_0x5983ac[_0x23e74c(0x119)]===_0x112c99)return _0x5983ac;}}return null;}[_0x1cddba(0x164)](){const _0x5d7a88=_0x1cddba;let _0x1f9632=new webgpu.Vector3();return this[_0x5d7a88(0x141)]()['getCenter'](_0x1f9632),this[_0x5d7a88(0x15c)]();}[_0x1cddba(0x148)](){const _0x34e079=_0x1cddba;let _0x4cfb26=new webgpu.Vector3(),_0x1effb7=this[_0x34e079(0x141)]();return _0x1effb7[_0x34e079(0x12b)](_0x4cfb26),_0x4cfb26['y']=_0x1effb7[_0x34e079(0x16b)]['y'],_0x4cfb26;}[_0x1cddba(0x13b)](){const _0x361aed=_0x1cddba;let _0x409363=new webgpu.Vector3(),_0x3c2d04=this[_0x361aed(0x141)]();return _0x3c2d04[_0x361aed(0x12b)](_0x409363),_0x409363['y']=_0x3c2d04[_0x361aed(0x123)]['y'],_0x409363;}['getBounds'](){const _0x47f791=_0x1cddba;if(!this[_0x47f791(0x174)])throw Error(_0x47f791(0x178));let _0x5ddb73=new webgpu.Box3();return _0x5ddb73[_0x47f791(0x16a)](this[_0x47f791(0x174)],![]),_0x5ddb73['isEmpty']()&&(_0x5ddb73[_0x47f791(0x123)]=_0x5ddb73[_0x47f791(0x16b)]=this[_0x47f791(0x15c)]()),_0x5ddb73;}get[_0x1cddba(0x163)](){const _0x8a9e92=_0x1cddba;var _0x8c7684,_0x39699b;if(!this['obj'])throw Error(_0x8a9e92(0x178));let _0x1595bc=(_0x39699b=(_0x8c7684=this[_0x8a9e92(0x174)])===null||_0x8c7684===void 0?void 0:_0x8c7684[_0x8a9e92(0x170)])===null||_0x39699b===void 0?void 0:_0x39699b['userData'][_0x8a9e92(0x156)];if(!_0x1595bc)return null;if(!(_0x1595bc instanceof SceneComponent))return null;if(_0x1595bc[_0x8a9e92(0x11c)]!==this[_0x8a9e92(0x11c)])return null;return _0x1595bc;}get[_0x1cddba(0x12f)](){const _0x403209=_0x1cddba;if(!this[_0x403209(0x174)])throw Error(_0x403209(0x178));let _0x291d93=[];for(let _0x302db4=0x0;_0x302db4<this[_0x403209(0x174)]['children'][_0x403209(0x11a)];++_0x302db4){if(!this[_0x403209(0x174)]['children'][_0x302db4][_0x403209(0x12a)]['LYObject'])continue;this['obj'][_0x403209(0x177)][_0x302db4][_0x403209(0x12a)][_0x403209(0x156)][_0x403209(0x11c)]===this[_0x403209(0x11c)]&&_0x291d93['push'](this['obj'][_0x403209(0x177)][_0x302db4]['userData'][_0x403209(0x156)]);}return _0x291d93;}[_0x1cddba(0x132)](_0x492ffa){const _0x290ec8=_0x1cddba;let _0x5503d1=this[_0x290ec8(0x12f)];for(let _0x576f52=0x0;_0x576f52<_0x5503d1[_0x290ec8(0x11a)];++_0x576f52){_0x5503d1[_0x576f52]['onAddedToWorld'](_0x492ffa);}}[_0x1cddba(0x14f)](){const _0x20ad15=_0x1cddba;this['isHoverEnabled']=![],this[_0x20ad15(0x152)]=![],this['detachFromParentActor'](),this[_0x20ad15(0x169)](),this['destroyChildren'](),this[_0x20ad15(0x15d)](),this[_0x20ad15(0x151)]&&this['world'][_0x20ad15(0x187)][_0x20ad15(0x185)]();}[_0x1cddba(0x15d)](){const _0x450196=_0x1cddba;if(!this[_0x450196(0x174)])return;this[_0x450196(0x174)][_0x450196(0x170)]&&this[_0x450196(0x174)]['parent'][_0x450196(0x181)](this[_0x450196(0x174)]),super['destroyObject']();}[_0x1cddba(0x11e)](){const _0x3fea45=_0x1cddba;if(!this['obj'])throw Error(_0x3fea45(0x178));if(this['obj']['matrixAutoUpdate'])return this[_0x3fea45(0x174)][_0x3fea45(0x17d)][_0x3fea45(0x12d)]();else {const _0x207aa3=new webgpu.Vector3(),_0x1791d1=new webgpu.Quaternion(),_0x2f60a3=new webgpu.Vector3();return this[_0x3fea45(0x174)][_0x3fea45(0x15a)]['decompose'](_0x207aa3,_0x1791d1,_0x2f60a3),_0x207aa3;}}[_0x1cddba(0x16e)](..._0x5a85da){const _0x23d7b7=_0x1cddba;var _0x2015d0;if(!this[_0x23d7b7(0x174)])throw Error(_0x23d7b7(0x178));let _0x4a4986=null;if(_0x5a85da[_0x23d7b7(0x11a)]===0x1&&((_0x2015d0=_0x5a85da[0x0])===null||_0x2015d0===void 0?void 0:_0x2015d0[_0x23d7b7(0x11f)])){const _0x48b7d5=_0x5a85da[0x0];_0x4a4986=new webgpu.Vector3(_0x48b7d5['x'],_0x48b7d5['y'],_0x48b7d5['z']);}else _0x5a85da[_0x23d7b7(0x11a)]===0x3&&typeof _0x5a85da[0x0]===_0x23d7b7(0x159)&&typeof _0x5a85da[0x1]===_0x23d7b7(0x159)&&typeof _0x5a85da[0x2]===_0x23d7b7(0x159)&&(_0x4a4986=new webgpu.Vector3(_0x5a85da[0x0],_0x5a85da[0x1],_0x5a85da[0x2]));if(!_0x4a4986)return;this[_0x23d7b7(0x174)][_0x23d7b7(0x17d)]['copy'](_0x4a4986),!this[_0x23d7b7(0x174)][_0x23d7b7(0x135)]&&this[_0x23d7b7(0x174)][_0x23d7b7(0x15a)][_0x23d7b7(0x16e)](_0x4a4986['x'],_0x4a4986['y'],_0x4a4986['z']),this['obj'][_0x23d7b7(0x116)](),this[_0x23d7b7(0x174)]['updateMatrixWorld'](!![]),this[_0x23d7b7(0x151)]&&this[_0x23d7b7(0x151)][_0x23d7b7(0x187)][_0x23d7b7(0x185)]();}[_0x1cddba(0x17a)](){const _0x5d86dd=_0x1cddba;if(!this['obj'])throw Error(_0x5d86dd(0x178));if(this[_0x5d86dd(0x174)]['matrixAutoUpdate'])return this[_0x5d86dd(0x174)]['rotation'][_0x5d86dd(0x12d)]();else {const _0x3d0d30=new webgpu.Vector3(),_0xa4c659=new webgpu.Quaternion(),_0x4101f8=new webgpu.Vector3();return this[_0x5d86dd(0x174)][_0x5d86dd(0x15a)][_0x5d86dd(0x186)](_0x3d0d30,_0xa4c659,_0x4101f8),new webgpu.Euler()[_0x5d86dd(0x13c)](_0xa4c659);}}[_0x1cddba(0x172)](..._0x25c8d3){const _0x2f3805=_0x1cddba;var _0x29c63f;if(!this['obj'])throw Error(_0x2f3805(0x178));let _0x16bae9=null;if((_0x29c63f=_0x25c8d3[0x0])===null||_0x29c63f===void 0?void 0:_0x29c63f['isEuler']){const _0x2bde12=_0x25c8d3[0x0];_0x16bae9=new webgpu.Euler(_0x2bde12['x'],_0x2bde12['y'],_0x2bde12['z'],_0x2bde12['order']);}else typeof _0x25c8d3[0x0]===_0x2f3805(0x159)&&typeof _0x25c8d3[0x1]===_0x2f3805(0x159)&&typeof _0x25c8d3[0x2]===_0x2f3805(0x159)&&(_0x16bae9=new webgpu.Euler(_0x25c8d3[0x0],_0x25c8d3[0x1],_0x25c8d3[0x2]));if(!_0x16bae9)return;this[_0x2f3805(0x174)][_0x2f3805(0x126)][_0x2f3805(0x180)](_0x16bae9),this[_0x2f3805(0x174)][_0x2f3805(0x116)](),this[_0x2f3805(0x174)][_0x2f3805(0x157)](!![]),this[_0x2f3805(0x151)]&&this[_0x2f3805(0x151)]['viewport']['markRenderStateDirty']();}['getQuaternion'](){const _0x37d840=_0x1cddba;if(!this[_0x37d840(0x174)])throw Error(_0x37d840(0x178));if(this['obj'][_0x37d840(0x135)])return this[_0x37d840(0x174)][_0x37d840(0x140)]['clone']();else {const _0x59378f=new webgpu.Vector3(),_0x14c11d=new webgpu.Quaternion(),_0x1f622b=new webgpu.Vector3();return this[_0x37d840(0x174)][_0x37d840(0x15a)][_0x37d840(0x186)](_0x59378f,_0x14c11d,_0x1f622b),_0x14c11d;}}['setQuaternion'](..._0x57cbdc){const _0x1dc98f=_0x1cddba;var _0x489c3f;if(!this['obj'])throw Error(_0x1dc98f(0x178));let _0x17af68=null;if((_0x489c3f=_0x57cbdc[0x0])===null||_0x489c3f===void 0?void 0:_0x489c3f[_0x1dc98f(0x149)]){const _0x4b3546=_0x57cbdc[0x0];_0x17af68=new webgpu.Quaternion(_0x4b3546['x'],_0x4b3546['y'],_0x4b3546['z'],_0x4b3546['w']);}else typeof _0x57cbdc[0x0]===_0x1dc98f(0x159)&&typeof _0x57cbdc[0x1]===_0x1dc98f(0x159)&&typeof _0x57cbdc[0x2]==='number'&&typeof _0x57cbdc[0x3]===_0x1dc98f(0x159)&&(_0x17af68=new webgpu.Quaternion(_0x57cbdc[0x0],_0x57cbdc[0x1],_0x57cbdc[0x2],_0x57cbdc[0x3]));if(!_0x17af68){console[_0x1dc98f(0x143)](_0x1dc98f(0x165),_0x57cbdc);return;}this[_0x1dc98f(0x174)]['quaternion'][_0x1dc98f(0x180)](_0x17af68);if(!this[_0x1dc98f(0x174)]['matrixAutoUpdate']){const _0xc049cc=new webgpu.Vector3(),_0x3d8254=new webgpu.Quaternion(),_0x454bbb=new webgpu.Vector3();this[_0x1dc98f(0x174)]['matrix'][_0x1dc98f(0x186)](_0xc049cc,_0x3d8254,_0x454bbb),this[_0x1dc98f(0x174)][_0x1dc98f(0x15a)][_0x1dc98f(0x122)](_0xc049cc,_0x17af68,_0x454bbb);}this[_0x1dc98f(0x151)]&&this['world'][_0x1dc98f(0x187)]['markRenderStateDirty'](),this['obj']['updateMatrix'](),this[_0x1dc98f(0x174)][_0x1dc98f(0x157)](!![]);}[_0x1cddba(0x129)](){const _0x5c2ee6=_0x1cddba;if(!this['obj'])throw Error(_0x5c2ee6(0x178));if(this[_0x5c2ee6(0x174)][_0x5c2ee6(0x135)])return this[_0x5c2ee6(0x174)][_0x5c2ee6(0x139)][_0x5c2ee6(0x12d)]();else {const _0xa07c47=new webgpu.Vector3(),_0x75b33a=new webgpu.Quaternion(),_0x583981=new webgpu.Vector3();return this[_0x5c2ee6(0x174)][_0x5c2ee6(0x15a)][_0x5c2ee6(0x186)](_0xa07c47,_0x75b33a,_0x583981),_0x583981;}}['setScale'](..._0x9c1808){const _0x4cdfd0=_0x1cddba;var _0x1ca530;if(!this['obj'])throw Error(_0x4cdfd0(0x178));let _0x9f8c6f=null;if((_0x1ca530=_0x9c1808[0x0])===null||_0x1ca530===void 0?void 0:_0x1ca530[_0x4cdfd0(0x11f)]){const _0x3973c0=_0x9c1808[0x0];_0x9f8c6f=new webgpu.Vector3(_0x3973c0['x'],_0x3973c0['y'],_0x3973c0['z']);}else typeof _0x9c1808[0x0]===_0x4cdfd0(0x159)&&typeof _0x9c1808[0x1]===_0x4cdfd0(0x159)&&typeof _0x9c1808[0x2]===_0x4cdfd0(0x159)&&(_0x9f8c6f=new webgpu.Vector3(_0x9c1808[0x0],_0x9c1808[0x1],_0x9c1808[0x2]));if(!_0x9f8c6f)return;this[_0x4cdfd0(0x174)][_0x4cdfd0(0x139)][_0x4cdfd0(0x180)](_0x9f8c6f),this[_0x4cdfd0(0x174)]['updateMatrix'](),this[_0x4cdfd0(0x174)][_0x4cdfd0(0x157)](!![]),this['world']&&this[_0x4cdfd0(0x151)][_0x4cdfd0(0x187)][_0x4cdfd0(0x185)]();}[_0x1cddba(0x175)](){const _0x5d7782=_0x1cddba;if(!this['obj'])throw Error(_0x5d7782(0x178));return this[_0x5d7782(0x174)][_0x5d7782(0x15a)];}[_0x1cddba(0x182)](_0x328963){const _0x41f272=_0x1cddba;var _0x1f9c85;if(!this[_0x41f272(0x174)])throw Error(_0x41f272(0x178));_0x328963[_0x41f272(0x186)](this[_0x41f272(0x174)][_0x41f272(0x17d)],this[_0x41f272(0x174)][_0x41f272(0x140)],this[_0x41f272(0x174)][_0x41f272(0x139)]),this[_0x41f272(0x174)]['updateMatrix'](),this['obj'][_0x41f272(0x157)](!![]),(_0x1f9c85=this['world'])===null||_0x1f9c85===void 0?void 0:_0x1f9c85[_0x41f272(0x187)]['markRenderStateDirty']();}[_0x1cddba(0x15c)](){const _0x104713=_0x1cddba;if(!this[_0x104713(0x174)])throw Error(_0x104713(0x178));let _0x286caa=new webgpu.Vector3();return this['obj']['getWorldPosition'](_0x286caa),_0x286caa;}[_0x1cddba(0x133)](){const _0x371f92=_0x1cddba;if(!this[_0x371f92(0x174)])throw Error(_0x371f92(0x178));let _0x480e12=new webgpu.Quaternion();return this[_0x371f92(0x174)][_0x371f92(0x15f)](_0x480e12),new webgpu.Euler()[_0x371f92(0x13c)](_0x480e12);}[_0x1cddba(0x15f)](){const _0x45bfcd=_0x1cddba;if(!this[_0x45bfcd(0x174)])throw Error(_0x45bfcd(0x178));let _0x213eb9=new webgpu.Quaternion();return this[_0x45bfcd(0x174)][_0x45bfcd(0x15f)](_0x213eb9),_0x213eb9;}[_0x1cddba(0x173)](){const _0x3449fe=_0x1cddba;if(!this[_0x3449fe(0x174)])throw Error(_0x3449fe(0x178));let _0x3cf529=new webgpu.Vector3();return this[_0x3449fe(0x174)][_0x3449fe(0x173)](_0x3cf529),_0x3cf529;}['getWorldMatrix'](){const _0x3ef6d8=_0x1cddba;if(!this[_0x3ef6d8(0x174)])throw Error('threeObject\x20is\x20invalid');return this[_0x3ef6d8(0x174)]['updateMatrixWorld'](!![]),this[_0x3ef6d8(0x174)][_0x3ef6d8(0x161)][_0x3ef6d8(0x12d)]();}[_0x1cddba(0x166)](_0x2ccd42){const _0x56dc4b=_0x1cddba;if(!this[_0x56dc4b(0x174)])throw Error(_0x56dc4b(0x178));if(this['obj'][_0x56dc4b(0x170)]){this[_0x56dc4b(0x174)][_0x56dc4b(0x170)][_0x56dc4b(0x157)](!![]);const _0x542d56=this[_0x56dc4b(0x174)][_0x56dc4b(0x170)][_0x56dc4b(0x161)]['clone']()[_0x56dc4b(0x131)](),_0x487038=new webgpu.Matrix4()[_0x56dc4b(0x121)](_0x542d56,_0x2ccd42);this[_0x56dc4b(0x182)](_0x487038);}else this['setMatrix'](_0x2ccd42);this[_0x56dc4b(0x174)][_0x56dc4b(0x157)](!![]),this[_0x56dc4b(0x151)]&&this[_0x56dc4b(0x151)][_0x56dc4b(0x187)][_0x56dc4b(0x185)]();}[_0x1cddba(0x158)](){const _0x4038a7=_0x1cddba;if(!this[_0x4038a7(0x174)])throw Error(_0x4038a7(0x178));let _0x3a810a=new webgpu.Vector3();return this[_0x4038a7(0x174)][_0x4038a7(0x154)](_0x3a810a),_0x3a810a;}['getWorldUpDirection'](){const _0x50358a=_0x1cddba;if(!this[_0x50358a(0x174)])throw Error('threeObject\x20is\x20invalid');let _0x57d7b0=new webgpu.Vector3(0x0,0x1,0x0);return _0x57d7b0[_0x50358a(0x184)](this['getWorldQuaternion']()),_0x57d7b0;}['getWorldRightDirection'](){const _0x7b6107=_0x1cddba;if(!this[_0x7b6107(0x174)])throw Error(_0x7b6107(0x178));let _0xec5acd=new webgpu.Vector3(0x1,0x0,0x0);return _0xec5acd[_0x7b6107(0x184)](this['getWorldQuaternion']()),_0xec5acd;}[_0x1cddba(0x144)](_0x50004e){const _0x1c141d=_0x1cddba;if(!this[_0x1c141d(0x174)])throw Error(_0x1c141d(0x178));return this[_0x1c141d(0x174)][_0x1c141d(0x144)](_0x50004e);}[_0x1cddba(0x176)](_0x5b5b74){const _0x40a588=_0x1cddba;if(!this[_0x40a588(0x174)])throw Error(_0x40a588(0x178));return this[_0x40a588(0x174)][_0x40a588(0x176)](_0x5b5b74);}['attachComponent'](_0x110f64){const _0x6f4609=_0x1cddba;if(!this['obj'])throw Error(_0x6f4609(0x178));if(!_0x110f64[_0x6f4609(0x13a)])throw Error(_0x6f4609(0x146));this['obj'][_0x6f4609(0x134)](_0x110f64[_0x6f4609(0x13a)]),this[_0x6f4609(0x151)]&&_0x110f64[_0x6f4609(0x132)](this['world']);}['detachComponent'](_0x296153){const _0x5bb72d=_0x1cddba;if(!this[_0x5bb72d(0x174)])throw Error(_0x5bb72d(0x178));if(!_0x296153[_0x5bb72d(0x13a)])throw Error(_0x5bb72d(0x16c));this['obj'][_0x5bb72d(0x181)](_0x296153[_0x5bb72d(0x13a)]);}[_0x1cddba(0x12c)](_0x58b634,_0x5a376f=exports.AttachmentRules['KeepRelative']){const _0x1327b7=_0x1cddba;if(!this[_0x1327b7(0x174)])throw Error(_0x1327b7(0x178));if(!_0x58b634[_0x1327b7(0x13a)])throw Error(_0x1327b7(0x146));_0x58b634['parentActor']=this[_0x1327b7(0x11c)];if(_0x5a376f===exports.AttachmentRules[_0x1327b7(0x14d)]){let _0x5d5c08=_0x58b634[_0x1327b7(0x171)]();this[_0x1327b7(0x174)][_0x1327b7(0x134)](_0x58b634[_0x1327b7(0x13a)]),_0x58b634[_0x1327b7(0x166)](_0x5d5c08);}else this[_0x1327b7(0x174)]['add'](_0x58b634['threeObject']);this[_0x1327b7(0x151)]&&_0x58b634[_0x1327b7(0x132)](this[_0x1327b7(0x151)]),this['obj'][_0x1327b7(0x116)](),this['obj'][_0x1327b7(0x157)](!![]);}[_0x1cddba(0x136)](_0x86f6c7){const _0x38fe23=_0x1cddba;if(!this[_0x38fe23(0x174)])throw Error(_0x38fe23(0x178));if(!_0x86f6c7[_0x38fe23(0x13a)])throw Error(_0x38fe23(0x147));this[_0x38fe23(0x174)][_0x38fe23(0x181)](_0x86f6c7[_0x38fe23(0x13a)]);}[_0x1cddba(0x169)](){const _0xcbe4af=_0x1cddba;this['parentComponent']&&this[_0xcbe4af(0x163)][_0xcbe4af(0x136)](this);}[_0x1cddba(0x17e)](){const _0xd5ab65=_0x1cddba;this[_0xd5ab65(0x11c)]&&(this['parentActor']=null);}['destroyChildren'](){const _0x579475=_0x1cddba;var _0x597d1c;if(!this[_0x579475(0x174)])return;let _0x7d2c3b=[];for(let _0x5ba1ee=0x0;_0x5ba1ee<this[_0x579475(0x174)][_0x579475(0x177)][_0x579475(0x11a)];++_0x5ba1ee){let _0x8162a7=(_0x597d1c=this[_0x579475(0x174)][_0x579475(0x177)][_0x5ba1ee][_0x579475(0x12a)])===null||_0x597d1c===void 0?void 0:_0x597d1c[_0x579475(0x156)];_0x8162a7&&_0x7d2c3b[_0x579475(0x124)](_0x8162a7);}_0x7d2c3b[_0x579475(0x14c)](_0x184a3e=>{const _0x37d3b8=_0x579475;_0x184a3e[_0x37d3b8(0x14f)]();}),_0x7d2c3b=[];}set[_0x1cddba(0x150)](_0x43191c){const _0x141576=_0x1cddba;this[_0x141576(0x189)]=_0x43191c;let _0x218eda=this[_0x141576(0x12f)];for(let _0x9f1a7d=0x0;_0x9f1a7d<_0x218eda['length'];++_0x9f1a7d){_0x218eda[_0x9f1a7d][_0x141576(0x150)]=this[_0x141576(0x189)];}}get[_0x1cddba(0x150)](){return this['bCanHover'];}set[_0x1cddba(0x152)](_0x1e1ddc){const _0x4a3eae=_0x1cddba;this['bCanClick']=_0x1e1ddc;let _0x2ef8ee=this['childrenComponents'];for(let _0x433dd3=0x0;_0x433dd3<_0x2ef8ee['length'];++_0x433dd3){_0x2ef8ee[_0x433dd3][_0x4a3eae(0x152)]=this[_0x4a3eae(0x16d)];}}get[_0x1cddba(0x152)](){return this['bCanClick'];}[_0x1cddba(0x160)](){const _0x523986=_0x1cddba;this['_onHoverBeginDelegate'][_0x523986(0x168)]();}[_0x1cddba(0x15b)](){const _0x5bb9d3=_0x1cddba;this[_0x5bb9d3(0x16f)][_0x5bb9d3(0x168)]();}[_0x1cddba(0x17b)](){const _0x444d03=_0x1cddba;this[_0x444d03(0x138)][_0x444d03(0x168)]();}[_0x1cddba(0x13f)](){const _0x24491d=_0x1cddba;this[_0x24491d(0x153)][_0x24491d(0x168)]();}}
|
|
30
|
+
function _0x46a6(_0x1eb5e3,_0xd594b8){_0x1eb5e3=_0x1eb5e3-0xbd;const _0x1663a5=_0x1663();let _0x46a67d=_0x1663a5[_0x1eb5e3];return _0x46a67d;}const _0x2e0b1c=_0x46a6;function _0x1663(){const _0x2347b8=['destroy','getCenter','20kxraOy','2449255BgpqEi','createDefaultObject','localToWorld','_onHoverEndDelegate','visible','decompose','min','destroyObject','13410290OIECto','forEach','world','error','getBounds','onDoubleClickDelegate','isHoverEnabled','detachFromParentComponent','onHorveringBegin','parent','setFromQuaternion','threeObject','11dhHbeZ','setMatrix','_onHoverBeginDelegate','addChildComponent','add','getWorldMatrix','getComponentById','set','bCanHover','onAddedToWorld','parentActor','isVector3','layers','getBoundsBottomCenterPositionWS','newComponent\x20threeObject\x20is\x20invalid','updateMatrixWorld','app','parentComponent','copy','childrenComponents','remove','target\x20threeObject\x20is\x20invalid','getWorldPosition','getWorldDirection','markRenderStateDirty','getWorldRotation','onHoverEndDelegate','KeepWorld','KeepRelative','30334iNLvcZ','userData','children','setLayers','getBoundsTopCenterPositionWS','scale','name','onHoverBeginDelegate','isEmpty','detachComponent','getWorldScale','onHorveringEnd','order','number','3865230mqbNxc','quaternion','_onDoubleClickDelegate','onClickDelegate','matrix','matrixAutoUpdate','viewport','LYObject','onClicked','8974574HZfXjq','SceneComponent','setRotation','getWorldQuaternion','updateMatrix','broadcast','24WFbXyR','rotation','8GmzaRp','561084DQvdNP','obj','destroyChildren','_onClickDelegate','isQuaternion','42720168YEIwjA','tick','6seIXLJ','position','multiplyMatrices','invert','getPosition','clone','setWorldMatrix','applyQuaternion','compose','max','worldToLocal','bCanClick','removeChildComponent','setVisible','getBoundsCenterPositionWS','setQuaternion','length','getWorldForwardDirection','push','uuid','matrixWorld','isClickEnabled','threeObject\x20is\x20invalid','_parentActor','setQuaternion\x20failed,param\x20is\x20invalid'];_0x1663=function(){return _0x2347b8;};return _0x1663();}(function(_0x3d5eb4,_0x4479df){const _0x13395e=_0x46a6,_0x25d4cf=_0x3d5eb4();while(!![]){try{const _0x5afdb2=parseInt(_0x13395e(0xfd))/0x1*(-parseInt(_0x13395e(0x11c))/0x2)+-parseInt(_0x13395e(0x11d))/0x3*(-parseInt(_0x13395e(0xcb))/0x4)+-parseInt(_0x13395e(0xcc))/0x5*(parseInt(_0x13395e(0x124))/0x6)+parseInt(_0x13395e(0x114))/0x7+parseInt(_0x13395e(0x11a))/0x8*(parseInt(_0x13395e(0x10b))/0x9)+parseInt(_0x13395e(0xd4))/0xa+parseInt(_0x13395e(0xe0))/0xb*(-parseInt(_0x13395e(0x122))/0xc);if(_0x5afdb2===_0x4479df)break;else _0x25d4cf['push'](_0x25d4cf['shift']());}catch(_0x11f256){_0x25d4cf['push'](_0x25d4cf['shift']());}}}(_0x1663,0xa4e84));class SceneComponent extends Component{set[_0x2e0b1c(0xea)](_0x301e14){const _0x14ba0d=_0x2e0b1c;this[_0x14ba0d(0xf3)][_0x14ba0d(0xd5)](_0x2e202a=>{_0x2e202a['parentActor']=_0x301e14;}),this[_0x14ba0d(0xc7)]=_0x301e14;}get['parentActor'](){const _0x63c446=_0x2e0b1c;return this[_0x63c446(0xc7)];}get[_0x2e0b1c(0x104)](){const _0x8c624e=_0x2e0b1c;return this[_0x8c624e(0xe2)];}get[_0x2e0b1c(0xfa)](){const _0x502ffc=_0x2e0b1c;return this[_0x502ffc(0xcf)];}get[_0x2e0b1c(0x10e)](){return this['_onClickDelegate'];}get[_0x2e0b1c(0xd9)](){const _0x3d98e4=_0x2e0b1c;return this[_0x3d98e4(0x10d)];}get[_0x2e0b1c(0xd6)](){const _0x28849e=_0x2e0b1c;return this[_0x28849e(0xf0)]['world'];}constructor(_0x470b57,_0x31be7c){const _0x52ef1f=_0x2e0b1c;super(_0x31be7c),this[_0x52ef1f(0xe8)]=![],this[_0x52ef1f(0x12f)]=![],this[_0x52ef1f(0xe2)]=new Delegate(),this[_0x52ef1f(0xcf)]=new Delegate(),this[_0x52ef1f(0x120)]=new Delegate(),this['_onDoubleClickDelegate']=new Delegate(),this[_0x52ef1f(0xf0)]=_0x470b57,this[_0x52ef1f(0x103)]=_0x52ef1f(0x115);}[_0x2e0b1c(0xcd)](){return new webgpu.Object3D();}[_0x2e0b1c(0x123)](_0x4fbd1a){const _0x2a3239=_0x2e0b1c;super['tick'](_0x4fbd1a),this[_0x2a3239(0xf3)][_0x2a3239(0xd5)](_0xcc7eb9=>{const _0x46a163=_0x2a3239;_0xcc7eb9[_0x46a163(0x123)](_0x4fbd1a);});}get['isVisible'](){const _0x29473f=_0x2e0b1c;if(!this[_0x29473f(0x11e)])return ![];return this[_0x29473f(0x11e)][_0x29473f(0xd0)];}[_0x2e0b1c(0xbd)](_0x1a0d43){const _0x287728=_0x2e0b1c;if(!this[_0x287728(0x11e)])throw Error('threeObject\x20is\x20invalid');this[_0x287728(0x11e)][_0x287728(0xd0)]=_0x1a0d43,this[_0x287728(0xd6)]&&this[_0x287728(0xd6)][_0x287728(0x111)][_0x287728(0xf8)]();}[_0x2e0b1c(0x100)](_0x5c2fb6){const _0x5d97ad=_0x2e0b1c;if(!this[_0x5d97ad(0x11e)])throw Error(_0x5d97ad(0xc6));this[_0x5d97ad(0x11e)][_0x5d97ad(0xec)][_0x5d97ad(0xe7)](_0x5c2fb6);let _0x4babdc=this[_0x5d97ad(0xf3)];_0x4babdc[_0x5d97ad(0xd5)](_0x2faa42=>{const _0x411d44=_0x5d97ad;_0x2faa42[_0x411d44(0x100)](_0x5c2fb6);});}[_0x2e0b1c(0xe6)](_0x2f109c,_0x195195=!![]){const _0x2b4443=_0x2e0b1c;if(this[_0x2b4443(0xc3)]===_0x2f109c)return this;if(_0x195195){let _0x5496be=this[_0x2b4443(0xf3)];for(let _0x4355d1=0x0;_0x4355d1<_0x5496be[_0x2b4443(0xc0)];++_0x4355d1){let _0x474e49=_0x5496be[_0x4355d1][_0x2b4443(0xe6)](_0x2f109c,_0x195195);if(_0x474e49)return _0x474e49;}}else {let _0x48457e=this[_0x2b4443(0xf3)];for(let _0x4a226b=0x0;_0x4a226b<_0x48457e[_0x2b4443(0xc0)];++_0x4a226b){let _0x200a66=_0x48457e[_0x4a226b];if(_0x200a66[_0x2b4443(0xc3)]===_0x2f109c)return _0x200a66;}}return null;}[_0x2e0b1c(0xbe)](){const _0x514a47=_0x2e0b1c;let _0x3e6085=new webgpu.Vector3();return this[_0x514a47(0xd8)]()[_0x514a47(0xca)](_0x3e6085),this['getWorldPosition']();}[_0x2e0b1c(0x101)](){const _0x5985f9=_0x2e0b1c;let _0x46979c=new webgpu.Vector3(),_0x1d7836=this[_0x5985f9(0xd8)]();return _0x1d7836['getCenter'](_0x46979c),_0x46979c['y']=_0x1d7836[_0x5985f9(0x12d)]['y'],_0x46979c;}[_0x2e0b1c(0xed)](){const _0x4d0bd4=_0x2e0b1c;let _0x35e11b=new webgpu.Vector3(),_0x219855=this[_0x4d0bd4(0xd8)]();return _0x219855['getCenter'](_0x35e11b),_0x35e11b['y']=_0x219855[_0x4d0bd4(0xd2)]['y'],_0x35e11b;}[_0x2e0b1c(0xd8)](){const _0x3dfc38=_0x2e0b1c;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');let _0x4ba157=new webgpu.Box3();return _0x4ba157['setFromObject'](this['obj'],![]),_0x4ba157[_0x3dfc38(0x105)]()&&(_0x4ba157[_0x3dfc38(0xd2)]=_0x4ba157['max']=this[_0x3dfc38(0xf6)]()),_0x4ba157;}get['parentComponent'](){const _0x350487=_0x2e0b1c;var _0x23a54a,_0x15ee75;if(!this[_0x350487(0x11e)])throw Error(_0x350487(0xc6));let _0x40bcb4=(_0x15ee75=(_0x23a54a=this[_0x350487(0x11e)])===null||_0x23a54a===void 0?void 0:_0x23a54a[_0x350487(0xdd)])===null||_0x15ee75===void 0?void 0:_0x15ee75[_0x350487(0xfe)][_0x350487(0x112)];if(!_0x40bcb4)return null;if(!(_0x40bcb4 instanceof SceneComponent))return null;if(_0x40bcb4[_0x350487(0xea)]!==this['parentActor'])return null;return _0x40bcb4;}get['childrenComponents'](){const _0x5e2fd9=_0x2e0b1c;if(!this['obj'])throw Error(_0x5e2fd9(0xc6));let _0x4249d0=[];for(let _0x501fe7=0x0;_0x501fe7<this[_0x5e2fd9(0x11e)]['children'][_0x5e2fd9(0xc0)];++_0x501fe7){if(!this[_0x5e2fd9(0x11e)][_0x5e2fd9(0xff)][_0x501fe7][_0x5e2fd9(0xfe)][_0x5e2fd9(0x112)])continue;this[_0x5e2fd9(0x11e)][_0x5e2fd9(0xff)][_0x501fe7]['userData'][_0x5e2fd9(0x112)][_0x5e2fd9(0xea)]===this['parentActor']&&_0x4249d0[_0x5e2fd9(0xc2)](this['obj'][_0x5e2fd9(0xff)][_0x501fe7][_0x5e2fd9(0xfe)]['LYObject']);}return _0x4249d0;}[_0x2e0b1c(0xe9)](_0x27d1ea){const _0x4c036f=_0x2e0b1c;let _0x322da5=this[_0x4c036f(0xf3)];for(let _0x1e059c=0x0;_0x1e059c<_0x322da5[_0x4c036f(0xc0)];++_0x1e059c){_0x322da5[_0x1e059c]['onAddedToWorld'](_0x27d1ea);}}[_0x2e0b1c(0xc9)](){const _0x4396d5=_0x2e0b1c;this[_0x4396d5(0xda)]=![],this['isClickEnabled']=![],this['detachFromParentActor'](),this[_0x4396d5(0xdb)](),this[_0x4396d5(0x11f)](),this['destroyObject'](),this[_0x4396d5(0xd6)]&&this[_0x4396d5(0xd6)][_0x4396d5(0x111)][_0x4396d5(0xf8)]();}[_0x2e0b1c(0xd3)](){const _0x4e2a6c=_0x2e0b1c;if(!this['obj'])return;this[_0x4e2a6c(0x11e)][_0x4e2a6c(0xdd)]&&this['obj']['parent'][_0x4e2a6c(0xf4)](this['obj']),super['destroyObject']();}[_0x2e0b1c(0x128)](){const _0x35e6a5=_0x2e0b1c;if(!this[_0x35e6a5(0x11e)])throw Error(_0x35e6a5(0xc6));if(this[_0x35e6a5(0x11e)][_0x35e6a5(0x110)])return this['obj']['position'][_0x35e6a5(0x129)]();else {const _0x57bb59=new webgpu.Vector3(),_0x5eb35c=new webgpu.Quaternion(),_0x2bae85=new webgpu.Vector3();return this[_0x35e6a5(0x11e)][_0x35e6a5(0x10f)][_0x35e6a5(0xd1)](_0x57bb59,_0x5eb35c,_0x2bae85),_0x57bb59;}}['setPosition'](..._0x15593d){const _0x5c8c91=_0x2e0b1c;var _0x31e037;if(!this['obj'])throw Error(_0x5c8c91(0xc6));let _0x527238=null;if(_0x15593d[_0x5c8c91(0xc0)]===0x1&&((_0x31e037=_0x15593d[0x0])===null||_0x31e037===void 0?void 0:_0x31e037['isVector3'])){const _0x393e95=_0x15593d[0x0];_0x527238=new webgpu.Vector3(_0x393e95['x'],_0x393e95['y'],_0x393e95['z']);}else _0x15593d[_0x5c8c91(0xc0)]===0x3&&typeof _0x15593d[0x0]===_0x5c8c91(0x10a)&&typeof _0x15593d[0x1]===_0x5c8c91(0x10a)&&typeof _0x15593d[0x2]==='number'&&(_0x527238=new webgpu.Vector3(_0x15593d[0x0],_0x15593d[0x1],_0x15593d[0x2]));if(!_0x527238)return;this[_0x5c8c91(0x11e)][_0x5c8c91(0x125)][_0x5c8c91(0xf2)](_0x527238),!this[_0x5c8c91(0x11e)][_0x5c8c91(0x110)]&&this[_0x5c8c91(0x11e)]['matrix']['setPosition'](_0x527238['x'],_0x527238['y'],_0x527238['z']),this[_0x5c8c91(0x11e)]['updateMatrix'](),this[_0x5c8c91(0x11e)][_0x5c8c91(0xef)](!![]),this['world']&&this[_0x5c8c91(0xd6)]['viewport']['markRenderStateDirty']();}['getRotation'](){const _0x3557c1=_0x2e0b1c;if(!this[_0x3557c1(0x11e)])throw Error(_0x3557c1(0xc6));if(this[_0x3557c1(0x11e)][_0x3557c1(0x110)])return this['obj']['rotation'][_0x3557c1(0x129)]();else {const _0x19a80a=new webgpu.Vector3(),_0x2e67d6=new webgpu.Quaternion(),_0xf196fb=new webgpu.Vector3();return this[_0x3557c1(0x11e)][_0x3557c1(0x10f)][_0x3557c1(0xd1)](_0x19a80a,_0x2e67d6,_0xf196fb),new webgpu.Euler()[_0x3557c1(0xde)](_0x2e67d6);}}[_0x2e0b1c(0x116)](..._0x1e4e12){const _0x36edae=_0x2e0b1c;var _0x2af943;if(!this[_0x36edae(0x11e)])throw Error(_0x36edae(0xc6));let _0x43adce=null;if((_0x2af943=_0x1e4e12[0x0])===null||_0x2af943===void 0?void 0:_0x2af943['isEuler']){const _0x537580=_0x1e4e12[0x0];_0x43adce=new webgpu.Euler(_0x537580['x'],_0x537580['y'],_0x537580['z'],_0x537580[_0x36edae(0x109)]);}else typeof _0x1e4e12[0x0]==='number'&&typeof _0x1e4e12[0x1]===_0x36edae(0x10a)&&typeof _0x1e4e12[0x2]===_0x36edae(0x10a)&&(_0x43adce=new webgpu.Euler(_0x1e4e12[0x0],_0x1e4e12[0x1],_0x1e4e12[0x2]));if(!_0x43adce)return;this['obj'][_0x36edae(0x11b)][_0x36edae(0xf2)](_0x43adce),this[_0x36edae(0x11e)][_0x36edae(0x118)](),this[_0x36edae(0x11e)]['updateMatrixWorld'](!![]),this[_0x36edae(0xd6)]&&this[_0x36edae(0xd6)]['viewport'][_0x36edae(0xf8)]();}['getQuaternion'](){const _0x3331ae=_0x2e0b1c;if(!this[_0x3331ae(0x11e)])throw Error(_0x3331ae(0xc6));if(this[_0x3331ae(0x11e)][_0x3331ae(0x110)])return this['obj'][_0x3331ae(0x10c)]['clone']();else {const _0x5f394e=new webgpu.Vector3(),_0xb3c572=new webgpu.Quaternion(),_0x4b0e2c=new webgpu.Vector3();return this['obj'][_0x3331ae(0x10f)][_0x3331ae(0xd1)](_0x5f394e,_0xb3c572,_0x4b0e2c),_0xb3c572;}}[_0x2e0b1c(0xbf)](..._0x43a966){const _0x51192c=_0x2e0b1c;var _0x5b6945;if(!this[_0x51192c(0x11e)])throw Error(_0x51192c(0xc6));let _0x6a0e89=null;if((_0x5b6945=_0x43a966[0x0])===null||_0x5b6945===void 0?void 0:_0x5b6945[_0x51192c(0x121)]){const _0x5fb2e9=_0x43a966[0x0];_0x6a0e89=new webgpu.Quaternion(_0x5fb2e9['x'],_0x5fb2e9['y'],_0x5fb2e9['z'],_0x5fb2e9['w']);}else typeof _0x43a966[0x0]===_0x51192c(0x10a)&&typeof _0x43a966[0x1]===_0x51192c(0x10a)&&typeof _0x43a966[0x2]===_0x51192c(0x10a)&&typeof _0x43a966[0x3]===_0x51192c(0x10a)&&(_0x6a0e89=new webgpu.Quaternion(_0x43a966[0x0],_0x43a966[0x1],_0x43a966[0x2],_0x43a966[0x3]));if(!_0x6a0e89){console[_0x51192c(0xd7)](_0x51192c(0xc8),_0x43a966);return;}this['obj'][_0x51192c(0x10c)][_0x51192c(0xf2)](_0x6a0e89);if(!this[_0x51192c(0x11e)][_0x51192c(0x110)]){const _0x1589e4=new webgpu.Vector3(),_0x83fea4=new webgpu.Quaternion(),_0x5347d7=new webgpu.Vector3();this[_0x51192c(0x11e)]['matrix'][_0x51192c(0xd1)](_0x1589e4,_0x83fea4,_0x5347d7),this[_0x51192c(0x11e)][_0x51192c(0x10f)][_0x51192c(0x12c)](_0x1589e4,_0x6a0e89,_0x5347d7);}this[_0x51192c(0xd6)]&&this[_0x51192c(0xd6)][_0x51192c(0x111)][_0x51192c(0xf8)](),this['obj'][_0x51192c(0x118)](),this[_0x51192c(0x11e)][_0x51192c(0xef)](!![]);}['getScale'](){const _0x35c2f1=_0x2e0b1c;if(!this[_0x35c2f1(0x11e)])throw Error(_0x35c2f1(0xc6));if(this[_0x35c2f1(0x11e)][_0x35c2f1(0x110)])return this[_0x35c2f1(0x11e)][_0x35c2f1(0x102)]['clone']();else {const _0x3fc118=new webgpu.Vector3(),_0x16d3b3=new webgpu.Quaternion(),_0x432ad7=new webgpu.Vector3();return this['obj'][_0x35c2f1(0x10f)][_0x35c2f1(0xd1)](_0x3fc118,_0x16d3b3,_0x432ad7),_0x432ad7;}}['setScale'](..._0x574ab1){const _0x325af5=_0x2e0b1c;var _0x30b84f;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');let _0x31e74b=null;if((_0x30b84f=_0x574ab1[0x0])===null||_0x30b84f===void 0?void 0:_0x30b84f[_0x325af5(0xeb)]){const _0x2beef0=_0x574ab1[0x0];_0x31e74b=new webgpu.Vector3(_0x2beef0['x'],_0x2beef0['y'],_0x2beef0['z']);}else typeof _0x574ab1[0x0]===_0x325af5(0x10a)&&typeof _0x574ab1[0x1]===_0x325af5(0x10a)&&typeof _0x574ab1[0x2]===_0x325af5(0x10a)&&(_0x31e74b=new webgpu.Vector3(_0x574ab1[0x0],_0x574ab1[0x1],_0x574ab1[0x2]));if(!_0x31e74b)return;this[_0x325af5(0x11e)][_0x325af5(0x102)][_0x325af5(0xf2)](_0x31e74b),this[_0x325af5(0x11e)][_0x325af5(0x118)](),this['obj'][_0x325af5(0xef)](!![]),this['world']&&this[_0x325af5(0xd6)][_0x325af5(0x111)][_0x325af5(0xf8)]();}['getMatrix'](){const _0x3ecce8=_0x2e0b1c;if(!this[_0x3ecce8(0x11e)])throw Error(_0x3ecce8(0xc6));return this[_0x3ecce8(0x11e)][_0x3ecce8(0x10f)];}[_0x2e0b1c(0xe1)](_0x52c6e2){const _0x2da49e=_0x2e0b1c;var _0x88f463;if(!this[_0x2da49e(0x11e)])throw Error(_0x2da49e(0xc6));_0x52c6e2[_0x2da49e(0xd1)](this[_0x2da49e(0x11e)][_0x2da49e(0x125)],this['obj'][_0x2da49e(0x10c)],this[_0x2da49e(0x11e)]['scale']),this[_0x2da49e(0x11e)][_0x2da49e(0x118)](),this['obj'][_0x2da49e(0xef)](!![]),(_0x88f463=this[_0x2da49e(0xd6)])===null||_0x88f463===void 0?void 0:_0x88f463[_0x2da49e(0x111)][_0x2da49e(0xf8)]();}['getWorldPosition'](){const _0x4954bf=_0x2e0b1c;if(!this[_0x4954bf(0x11e)])throw Error('threeObject\x20is\x20invalid');let _0x1a1422=new webgpu.Vector3();return this[_0x4954bf(0x11e)][_0x4954bf(0xf6)](_0x1a1422),_0x1a1422;}[_0x2e0b1c(0xf9)](){const _0x49872e=_0x2e0b1c;if(!this[_0x49872e(0x11e)])throw Error(_0x49872e(0xc6));let _0x3202cc=new webgpu.Quaternion();return this['obj']['getWorldQuaternion'](_0x3202cc),new webgpu.Euler()[_0x49872e(0xde)](_0x3202cc);}[_0x2e0b1c(0x117)](){const _0x5786b1=_0x2e0b1c;if(!this[_0x5786b1(0x11e)])throw Error(_0x5786b1(0xc6));let _0x2b2da2=new webgpu.Quaternion();return this[_0x5786b1(0x11e)][_0x5786b1(0x117)](_0x2b2da2),_0x2b2da2;}[_0x2e0b1c(0x107)](){const _0x50e427=_0x2e0b1c;if(!this[_0x50e427(0x11e)])throw Error(_0x50e427(0xc6));let _0x2bc794=new webgpu.Vector3();return this['obj'][_0x50e427(0x107)](_0x2bc794),_0x2bc794;}[_0x2e0b1c(0xe5)](){const _0x4b8662=_0x2e0b1c;if(!this['obj'])throw Error(_0x4b8662(0xc6));return this[_0x4b8662(0x11e)]['updateMatrixWorld'](!![]),this['obj'][_0x4b8662(0xc4)][_0x4b8662(0x129)]();}[_0x2e0b1c(0x12a)](_0x148330){const _0x363646=_0x2e0b1c;if(!this[_0x363646(0x11e)])throw Error(_0x363646(0xc6));if(this[_0x363646(0x11e)][_0x363646(0xdd)]){this[_0x363646(0x11e)][_0x363646(0xdd)][_0x363646(0xef)](!![]);const _0x1a15cb=this[_0x363646(0x11e)][_0x363646(0xdd)][_0x363646(0xc4)][_0x363646(0x129)]()[_0x363646(0x127)](),_0x5acae0=new webgpu.Matrix4()[_0x363646(0x126)](_0x1a15cb,_0x148330);this[_0x363646(0xe1)](_0x5acae0);}else this['setMatrix'](_0x148330);this['obj'][_0x363646(0xef)](!![]),this['world']&&this['world'][_0x363646(0x111)][_0x363646(0xf8)]();}[_0x2e0b1c(0xc1)](){const _0x2fd3cb=_0x2e0b1c;if(!this[_0x2fd3cb(0x11e)])throw Error(_0x2fd3cb(0xc6));let _0x44b55f=new webgpu.Vector3();return this[_0x2fd3cb(0x11e)][_0x2fd3cb(0xf7)](_0x44b55f),_0x44b55f;}['getWorldUpDirection'](){const _0x42bc22=_0x2e0b1c;if(!this[_0x42bc22(0x11e)])throw Error('threeObject\x20is\x20invalid');let _0x1d5279=new webgpu.Vector3(0x0,0x1,0x0);return _0x1d5279[_0x42bc22(0x12b)](this[_0x42bc22(0x117)]()),_0x1d5279;}['getWorldRightDirection'](){const _0x3d76b2=_0x2e0b1c;if(!this[_0x3d76b2(0x11e)])throw Error('threeObject\x20is\x20invalid');let _0x304991=new webgpu.Vector3(0x1,0x0,0x0);return _0x304991['applyQuaternion'](this[_0x3d76b2(0x117)]()),_0x304991;}[_0x2e0b1c(0x12e)](_0x7dfd7){if(!this['obj'])throw Error('threeObject\x20is\x20invalid');return this['obj']['worldToLocal'](_0x7dfd7);}['localToWorld'](_0xeaefa7){const _0x45f467=_0x2e0b1c;if(!this[_0x45f467(0x11e)])throw Error(_0x45f467(0xc6));return this[_0x45f467(0x11e)][_0x45f467(0xce)](_0xeaefa7);}['attachComponent'](_0x8754b){const _0x5c34e2=_0x2e0b1c;if(!this[_0x5c34e2(0x11e)])throw Error(_0x5c34e2(0xc6));if(!_0x8754b[_0x5c34e2(0xdf)])throw Error(_0x5c34e2(0xee));this['obj']['add'](_0x8754b[_0x5c34e2(0xdf)]),this[_0x5c34e2(0xd6)]&&_0x8754b[_0x5c34e2(0xe9)](this[_0x5c34e2(0xd6)]);}[_0x2e0b1c(0x106)](_0x38dcc8){const _0xff8d74=_0x2e0b1c;if(!this['obj'])throw Error(_0xff8d74(0xc6));if(!_0x38dcc8[_0xff8d74(0xdf)])throw Error(_0xff8d74(0xf5));this[_0xff8d74(0x11e)]['remove'](_0x38dcc8[_0xff8d74(0xdf)]);}[_0x2e0b1c(0xe3)](_0x2e9100,_0xcdb71f=exports.AttachmentRules[_0x2e0b1c(0xfc)]){const _0xc1a320=_0x2e0b1c;if(!this[_0xc1a320(0x11e)])throw Error(_0xc1a320(0xc6));if(!_0x2e9100[_0xc1a320(0xdf)])throw Error(_0xc1a320(0xee));_0x2e9100['parentActor']=this[_0xc1a320(0xea)];if(_0xcdb71f===exports.AttachmentRules[_0xc1a320(0xfb)]){let _0x22de4d=_0x2e9100[_0xc1a320(0xe5)]();this['obj'][_0xc1a320(0xe4)](_0x2e9100[_0xc1a320(0xdf)]),_0x2e9100[_0xc1a320(0x12a)](_0x22de4d);}else this[_0xc1a320(0x11e)][_0xc1a320(0xe4)](_0x2e9100[_0xc1a320(0xdf)]);this['world']&&_0x2e9100[_0xc1a320(0xe9)](this[_0xc1a320(0xd6)]),this['obj'][_0xc1a320(0x118)](),this[_0xc1a320(0x11e)][_0xc1a320(0xef)](!![]);}['removeChildComponent'](_0x565458){const _0x34a9da=_0x2e0b1c;if(!this[_0x34a9da(0x11e)])throw Error(_0x34a9da(0xc6));if(!_0x565458['threeObject'])throw Error('targetComponent\x20threeObject\x20is\x20invalid');this[_0x34a9da(0x11e)][_0x34a9da(0xf4)](_0x565458[_0x34a9da(0xdf)]);}[_0x2e0b1c(0xdb)](){const _0x513a22=_0x2e0b1c;this[_0x513a22(0xf1)]&&this[_0x513a22(0xf1)][_0x513a22(0x130)](this);}['detachFromParentActor'](){const _0x32bda2=_0x2e0b1c;this['parentActor']&&(this[_0x32bda2(0xea)]=null);}[_0x2e0b1c(0x11f)](){const _0x3f668e=_0x2e0b1c;var _0x4f9efe;if(!this[_0x3f668e(0x11e)])return;let _0x57c5a1=[];for(let _0x5f1f76=0x0;_0x5f1f76<this['obj']['children'][_0x3f668e(0xc0)];++_0x5f1f76){let _0x436094=(_0x4f9efe=this[_0x3f668e(0x11e)][_0x3f668e(0xff)][_0x5f1f76][_0x3f668e(0xfe)])===null||_0x4f9efe===void 0?void 0:_0x4f9efe['LYObject'];_0x436094&&_0x57c5a1[_0x3f668e(0xc2)](_0x436094);}_0x57c5a1[_0x3f668e(0xd5)](_0x560216=>{_0x560216['destroy']();}),_0x57c5a1=[];}set[_0x2e0b1c(0xda)](_0x2c94c2){const _0xf07415=_0x2e0b1c;this[_0xf07415(0xe8)]=_0x2c94c2;let _0x15c044=this[_0xf07415(0xf3)];for(let _0x25b42f=0x0;_0x25b42f<_0x15c044[_0xf07415(0xc0)];++_0x25b42f){_0x15c044[_0x25b42f][_0xf07415(0xda)]=this[_0xf07415(0xe8)];}}get['isHoverEnabled'](){const _0x3fcb16=_0x2e0b1c;return this[_0x3fcb16(0xe8)];}set[_0x2e0b1c(0xc5)](_0x9faf45){const _0x40c888=_0x2e0b1c;this['bCanClick']=_0x9faf45;let _0x26595a=this[_0x40c888(0xf3)];for(let _0x14c135=0x0;_0x14c135<_0x26595a['length'];++_0x14c135){_0x26595a[_0x14c135]['isClickEnabled']=this[_0x40c888(0x12f)];}}get[_0x2e0b1c(0xc5)](){return this['bCanClick'];}[_0x2e0b1c(0xdc)](){const _0x45a334=_0x2e0b1c;this[_0x45a334(0xe2)][_0x45a334(0x119)]();}[_0x2e0b1c(0x108)](){const _0x247ef6=_0x2e0b1c;this['_onHoverEndDelegate'][_0x247ef6(0x119)]();}[_0x2e0b1c(0x113)](){const _0x5e44dc=_0x2e0b1c;this[_0x5e44dc(0x120)][_0x5e44dc(0x119)]();}['onDoubleClicked'](){this['_onDoubleClickDelegate']['broadcast']();}}
|
|
31
31
|
|
|
32
|
-
const
|
|
32
|
+
const _0x4de354=_0x34d3;(function(_0x218a80,_0x4bc142){const _0x55fd16=_0x34d3,_0x3f93cc=_0x218a80();while(!![]){try{const _0x292a0c=-parseInt(_0x55fd16(0xdb))/0x1*(parseInt(_0x55fd16(0xed))/0x2)+-parseInt(_0x55fd16(0xc6))/0x3*(parseInt(_0x55fd16(0xcc))/0x4)+parseInt(_0x55fd16(0xe9))/0x5*(parseInt(_0x55fd16(0xe1))/0x6)+parseInt(_0x55fd16(0xd9))/0x7+-parseInt(_0x55fd16(0xc9))/0x8*(parseInt(_0x55fd16(0xf0))/0x9)+parseInt(_0x55fd16(0xe0))/0xa*(parseInt(_0x55fd16(0xe5))/0xb)+parseInt(_0x55fd16(0xdc))/0xc;if(_0x292a0c===_0x4bc142)break;else _0x3f93cc['push'](_0x3f93cc['shift']());}catch(_0x323557){_0x3f93cc['push'](_0x3f93cc['shift']());}}}(_0x415b,0x33ba4));function _0x34d3(_0x4feba0,_0x65e8b5){_0x4feba0=_0x4feba0-0xc5;const _0x415bbb=_0x415b();let _0x34d35c=_0x415bbb[_0x4feba0];return _0x34d35c;}class MeshComponent extends SceneComponent{get[_0x4de354(0xd8)](){const _0xfbd995=_0x4de354;if(!this[_0xfbd995(0xde)])throw new Error('threeObject\x20is\x20null');return this['obj'];}set[_0x4de354(0xd8)](_0x133e62){const _0x8c654d=_0x4de354;this[_0x8c654d(0xde)]=_0x133e62,this['obj']&&(this[_0x8c654d(0xde)][_0x8c654d(0xd4)][_0x8c654d(0xc7)]=this);}get[_0x4de354(0xd6)](){const _0x2b6e64=_0x4de354;if(!this[_0x2b6e64(0xc5)])throw new Error(_0x2b6e64(0xcb));return this[_0x2b6e64(0xc5)]['getValue']();}set['geometry'](_0x24e3c5){const _0x1683fa=_0x4de354;let _0x2739d5=this[_0x1683fa(0xd2)]['assetManager'][_0x1683fa(0xea)](_0x24e3c5);this['geometryPtr']=_0x2739d5;}get['geometryPtr'](){const _0x1eec20=_0x4de354;if(!this[_0x1eec20(0xc5)])throw new Error(_0x1eec20(0xcb));return this[_0x1eec20(0xc5)];}set[_0x4de354(0xec)](_0x135c59){const _0x556f95=_0x4de354;this[_0x556f95(0xc5)]&&(this[_0x556f95(0xc5)][_0x556f95(0xeb)](),this['_geometryPtr']=null);this[_0x556f95(0xc5)]=_0x135c59;let _0x4f389e=_0x135c59[_0x556f95(0xca)]();this[_0x556f95(0xd8)]&&_0x4f389e&&(this['threeObject'][_0x556f95(0xd6)]=_0x4f389e);}get[_0x4de354(0xe4)](){const _0x5a58e4=_0x4de354;let _0x5561d6=[];return this[_0x5a58e4(0xd1)][_0x5a58e4(0xd5)](_0x3adbe2=>{const _0x9bfbdf=_0x5a58e4;let _0x234c5b=_0x3adbe2[_0x9bfbdf(0xca)]();if(_0x234c5b)_0x5561d6['push'](_0x234c5b);}),_0x5561d6[_0x5a58e4(0xce)]>0x1?_0x5561d6:_0x5561d6[0x0];}get[_0x4de354(0xe6)](){const _0x10ba3e=_0x4de354;return this[_0x10ba3e(0xe6)];}set[_0x4de354(0xe4)](_0x197a34){const _0x64bed1=_0x4de354;let _0xc4efd6=Array[_0x64bed1(0xc8)](_0x197a34)?_0x197a34:[_0x197a34],_0x2d5b1d=[];_0xc4efd6[_0x64bed1(0xd5)](_0x3e5aaf=>{const _0x21f886=_0x64bed1;let _0x2d5c5a=this[_0x21f886(0xd2)]['assetManager'][_0x21f886(0xdf)](_0x3e5aaf);if(_0x2d5c5a)_0x2d5b1d[_0x21f886(0xdd)](_0x2d5c5a);}),this[_0x64bed1(0xe6)]=_0x2d5b1d;}set[_0x4de354(0xe6)](_0xdad312){const _0x24a192=_0x4de354;this[_0x24a192(0xd1)]&&(this[_0x24a192(0xd1)][_0x24a192(0xd5)](_0xf8bab3=>{const _0x445062=_0x24a192;_0xf8bab3[_0x445062(0xeb)]();}),this['_materialPtr']=[]);let _0x484d08=Array[_0x24a192(0xc8)](_0xdad312)?_0xdad312:[_0xdad312],_0x23c05a=[];_0x484d08[_0x24a192(0xd5)](_0xa52e8a=>{const _0x554c9e=_0x24a192;let _0x5b9899=_0xa52e8a[_0x554c9e(0xca)]();if(_0x5b9899)_0x23c05a[_0x554c9e(0xdd)](_0x5b9899);_0xa52e8a[_0x554c9e(0xcf)]();});if(this[_0x24a192(0xd8)]){if(_0x23c05a[_0x24a192(0xce)]>0x0)this[_0x24a192(0xd8)][_0x24a192(0xe4)]=Array[_0x24a192(0xc8)](_0xdad312)?_0x23c05a[0x0]:_0x23c05a;}this[_0x24a192(0xd1)]=_0x484d08;}constructor(_0x55256b,_0x6aff7a,_0x3c089e,_0x152479){const _0x4533df=_0x4de354;let _0x3be82f=[],_0x146844=Array[_0x4533df(0xc8)](_0x3c089e)?_0x3c089e:[_0x3c089e];_0x146844[_0x4533df(0xd5)](_0x1ab107=>{const _0x477e4f=_0x4533df;let _0x394716=_0x55256b['assetManager'][_0x477e4f(0xdf)](_0x1ab107);if(_0x394716)_0x3be82f['push'](_0x394716);}),super(_0x55256b,_0x152479),this[_0x4533df(0xc5)]=_0x55256b[_0x4533df(0xcd)]['addGeometryAsset'](_0x6aff7a),this['_materialPtr']=_0x3be82f,_0x3be82f['forEach'](_0x66697e=>{const _0x49e009=_0x4533df;_0x66697e[_0x49e009(0xcf)]();}),this[_0x4533df(0xd8)]['material']=_0x3c089e,this['threeObject'][_0x4533df(0xd6)]=_0x6aff7a;}[_0x4de354(0xd0)](){return new webgpu.Mesh();}set[_0x4de354(0xe3)](_0x555d19){const _0xc869dc=_0x4de354;if(this[_0xc869dc(0xd8)])this['threeObject'][_0xc869dc(0xe3)]=_0x555d19;}get[_0x4de354(0xe3)](){const _0x4a8d0a=_0x4de354;return this[_0x4a8d0a(0xd8)]?this['threeObject'][_0x4a8d0a(0xe3)]:![];}set[_0x4de354(0xe7)](_0x3101c7){const _0x17f7b8=_0x4de354;if(!this['threeObject'])return;this[_0x17f7b8(0xd8)][_0x17f7b8(0xe7)]=_0x3101c7;}get['receiveShadow'](){const _0x5a6fb0=_0x4de354;return this[_0x5a6fb0(0xd8)]?this['threeObject'][_0x5a6fb0(0xe7)]:![];}['getBoundsCenterPosition'](){const _0x3ca0e5=_0x4de354;let _0x380ae5=new webgpu.Vector3();return this[_0x3ca0e5(0xd7)]()[_0x3ca0e5(0xef)](_0x380ae5),_0x380ae5;}[_0x4de354(0xda)](){const _0x166083=_0x4de354;let _0x67c6ee=new webgpu.Vector3(),_0x48b625=this[_0x166083(0xd7)]();return _0x48b625[_0x166083(0xef)](_0x67c6ee),_0x67c6ee['y']=_0x48b625[_0x166083(0xd3)]['y'],_0x67c6ee;}[_0x4de354(0xee)](){const _0x5260ca=_0x4de354;let _0x2c1abd=new webgpu.Vector3(),_0x1c8b97=this[_0x5260ca(0xd7)]();return _0x1c8b97[_0x5260ca(0xef)](_0x2c1abd),_0x2c1abd['y']=_0x1c8b97[_0x5260ca(0xe8)]['y'],_0x2c1abd;}[_0x4de354(0xe2)](){const _0x3ad109=_0x4de354;var _0x566955;this['threeObject']&&this[_0x3ad109(0xd8)]['removeFromParent']();(_0x566955=this[_0x3ad109(0xc5)])===null||_0x566955===void 0?void 0:_0x566955['release']();let _0x52257f=Array[_0x3ad109(0xc8)](this[_0x3ad109(0xd1)])?this['_materialPtr']:[this[_0x3ad109(0xd1)]];_0x52257f['forEach'](_0x4f09f8=>{const _0x3a824d=_0x3ad109;_0x4f09f8[_0x3a824d(0xeb)]();}),super[_0x3ad109(0xe2)]();}}function _0x415b(){const _0x546f9c=['max','userData','forEach','geometry','getBounds','threeObject','1319920AZDKee','getBoundsTopCenterPosition','1AwmzZN','910932TrfXaD','push','obj','addMaterialAsset','70RAKkuj','396UzOSFo','destroyObject','castShadow','material','424215FaOWdp','materialPtr','receiveShadow','min','30910GEhTkb','addGeometryAsset','release','geometryPtr','671442QfGPsl','getBoundsBottomCenterPosition','getCenter','333aFXFJF','_geometryPtr','51GOGJpg','LYObject','isArray','12736yxZDyH','getValue','geometryPtr\x20is\x20null','79044UClDim','assetManager','length','addRef','createDefaultObject','_materialPtr','app'];_0x415b=function(){return _0x546f9c;};return _0x415b();}
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _0x6c3943=_0x1d0f;(function(_0x4b5eed,_0x110df4){var _0x27b9ce=_0x1d0f,_0x500916=_0x4b5eed();while(!![]){try{var _0x2ea608=parseInt(_0x27b9ce(0x114))/0x1+parseInt(_0x27b9ce(0x117))/0x2+-parseInt(_0x27b9ce(0x124))/0x3+parseInt(_0x27b9ce(0x11d))/0x4+-parseInt(_0x27b9ce(0x11c))/0x5*(parseInt(_0x27b9ce(0x116))/0x6)+parseInt(_0x27b9ce(0x123))/0x7*(-parseInt(_0x27b9ce(0x118))/0x8)+parseInt(_0x27b9ce(0x119))/0x9;if(_0x2ea608===_0x110df4)break;else _0x500916['push'](_0x500916['shift']());}catch(_0x23526d){_0x500916['push'](_0x500916['shift']());}}}(_0x4384,0x51813));function _0x1d0f(_0x422523,_0x3b02f8){_0x422523=_0x422523-0x114;var _0x43840a=_0x4384();var _0x1d0fde=_0x43840a[_0x422523];return _0x1d0fde;}class TSmartPointer{constructor(_0x374ae3,_0x1ee14c=0x1){var _0x547a61=_0x1d0f;this[_0x547a61(0x11e)]=0x1,this[_0x547a61(0x120)]=null,this[_0x547a61(0x120)]=_0x374ae3,this[_0x547a61(0x11e)]=_0x1ee14c;}[_0x6c3943(0x115)](){var _0x4cd2cb=_0x6c3943;return this[_0x4cd2cb(0x11e)];}['isValid'](){return this['value']!==null;}[_0x6c3943(0x11f)](_0x2fb382=0x1){var _0xa9c450=_0x6c3943;this[_0xa9c450(0x120)]!==null&&(this[_0xa9c450(0x11e)]+=_0x2fb382);}[_0x6c3943(0x11a)](){var _0x4ade5e=_0x6c3943;this[_0x4ade5e(0x120)]!==null&&this[_0x4ade5e(0x11e)]>0x0&&(this[_0x4ade5e(0x11e)]--,this['referenceCount']===0x0&&this['dispose']());}[_0x6c3943(0x121)](){var _0x3cc697=_0x6c3943;this[_0x3cc697(0x120)]!==null&&(this['dispose'](),this['referenceCount']=0x0);}[_0x6c3943(0x122)](){var _0x2cf5aa=_0x6c3943;this[_0x2cf5aa(0x120)]=null;}[_0x6c3943(0x11b)](){var _0x11c2af=_0x6c3943;return this[_0x11c2af(0x120)];}}function _0x4384(){var _0x8d00a1=['release','getValue','5JaHJcc','1416868TbwGNd','referenceCount','addRef','value','forceRelease','dispose','177352LCrBul','1630611onlAHi','217252BvsAdT','getRefCount','3499896FqSOXr','656300EyInzI','200UyhhFi','10750293Qpqeoc'];_0x4384=function(){return _0x8d00a1;};return _0x4384();}
|
|
35
35
|
|
|
36
|
-
function
|
|
36
|
+
function _0x31ea(_0x4b3e59,_0xd6156e){_0x4b3e59=_0x4b3e59-0xf8;const _0x59c24c=_0x59c2();let _0x31ea5e=_0x59c24c[_0x4b3e59];return _0x31ea5e;}const _0x3c1ba5=_0x31ea;(function(_0x1410f8,_0x153533){const _0x24e390=_0x31ea,_0x1d0c0c=_0x1410f8();while(!![]){try{const _0x5ede15=parseInt(_0x24e390(0x102))/0x1+-parseInt(_0x24e390(0x106))/0x2*(parseInt(_0x24e390(0xfb))/0x3)+parseInt(_0x24e390(0xfc))/0x4*(-parseInt(_0x24e390(0xfe))/0x5)+parseInt(_0x24e390(0xfd))/0x6+parseInt(_0x24e390(0x101))/0x7*(parseInt(_0x24e390(0x108))/0x8)+parseInt(_0x24e390(0xf9))/0x9+-parseInt(_0x24e390(0x107))/0xa;if(_0x5ede15===_0x153533)break;else _0x1d0c0c['push'](_0x1d0c0c['shift']());}catch(_0x15f1d9){_0x1d0c0c['push'](_0x1d0c0c['shift']());}}}(_0x59c2,0x39dad));function _0x59c2(){const _0x4756d2=['editorAssetId','_uuid','7448cYmwHk','7561760wrANDb','864FRMLli','assetPointer','dispose','948366OykIKz','uuid','12xBQXjX','50836WhFdJK','2635296XcTWeV','110Ghddeq','value','function','29176IGVZIE','292909giVuBY','userData'];_0x59c2=function(){return _0x4756d2;};return _0x59c2();}const ASSET_POINTER_KEY=_0x3c1ba5(0x109);const EDITOR_ASSET_ID_KEY=_0x3c1ba5(0x104);class TAssetPointer extends TSmartPointer{get[_0x3c1ba5(0xfa)](){return this['_uuid'];}constructor(_0x1809af,_0xe23dd7=0x0){const _0x28b085=_0x3c1ba5;super(_0x1809af,_0xe23dd7),this[_0x28b085(0x105)]=_0x1809af[_0x28b085(0xfa)],_0x1809af[_0x28b085(0x103)][ASSET_POINTER_KEY]=this;}[_0x3c1ba5(0xf8)](){const _0xe498f6=_0x3c1ba5;this['value']&&(this[_0xe498f6(0xff)]['userData']&&(delete this['value']['userData'][ASSET_POINTER_KEY],delete this[_0xe498f6(0xff)][_0xe498f6(0x103)][EDITOR_ASSET_ID_KEY]),typeof this['value'][_0xe498f6(0xf8)]===_0xe498f6(0x100)&&this['value']['dispose']()),super['dispose']();}}
|
|
37
37
|
|
|
38
|
-
const
|
|
38
|
+
const _0x5f5013=_0x33c2;function _0x53ca(){const _0x3fb115=['28857nuFJLj','needsUpdate','12484656qgIAwu','release','8UDiTHu','Texture\x20is\x20null','getValue','3088785ohKfRI','21nUEoqO','addRef','textures','216ayGOGE','Material\x20is\x20null','removeTexture','245909KJRAqD','20270ZLBAzT','1490308FjIHMc','603996RRamBl','delete','dispose','values','setTexture','4873sVmyig','texturePointers','clear'];_0x53ca=function(){return _0x3fb115;};return _0x53ca();}(function(_0x4b79a4,_0x56f341){const _0x1ca196=_0x33c2,_0x47a64b=_0x4b79a4();while(!![]){try{const _0x1b5da4=-parseInt(_0x1ca196(0x1cc))/0x1+parseInt(_0x1ca196(0x1ce))/0x2+-parseInt(_0x1ca196(0x1d7))/0x3*(parseInt(_0x1ca196(0x1c9))/0x4)+parseInt(_0x1ca196(0x1de))/0x5+-parseInt(_0x1ca196(0x1cf))/0x6*(parseInt(_0x1ca196(0x1df))/0x7)+-parseInt(_0x1ca196(0x1db))/0x8*(-parseInt(_0x1ca196(0x1d9))/0x9)+-parseInt(_0x1ca196(0x1cd))/0xa*(parseInt(_0x1ca196(0x1d4))/0xb);if(_0x1b5da4===_0x56f341)break;else _0x47a64b['push'](_0x47a64b['shift']());}catch(_0x10b4ec){_0x47a64b['push'](_0x47a64b['shift']());}}}(_0x53ca,0xbf9a1));function _0x33c2(_0x24e814,_0xfe2ac){_0x24e814=_0x24e814-0x1c9;const _0x53ca24=_0x53ca();let _0x33c2ae=_0x53ca24[_0x24e814];return _0x33c2ae;}class MaterialAssetPointer extends TAssetPointer{constructor(_0x184cf1,_0x1b470e,_0x367016=0x0){super(_0x184cf1,_0x367016),this['textures']=_0x1b470e;}get[_0x5f5013(0x1d5)](){const _0x3611ca=_0x5f5013;return this[_0x3611ca(0x1e1)];}[_0x5f5013(0x1d3)](_0x22f8dc,_0x5b3338){const _0x11ffe2=_0x5f5013,_0x3ec234=this[_0x11ffe2(0x1dd)](),_0x203ee7=_0x5b3338[_0x11ffe2(0x1dd)]();if(!_0x203ee7)throw new Error(_0x11ffe2(0x1dc));if(!_0x3ec234)throw new Error(_0x11ffe2(0x1ca));const _0x171496=this[_0x11ffe2(0x1e1)]['get'](_0x22f8dc);_0x171496!==_0x5b3338&&(_0x171496&&_0x171496[_0x11ffe2(0x1da)](),this['textures']['set'](_0x22f8dc,_0x5b3338),_0x3ec234[_0x22f8dc]=_0x203ee7,_0x5b3338[_0x11ffe2(0x1e0)](),_0x3ec234[_0x11ffe2(0x1d8)]=!![]);}[_0x5f5013(0x1cb)](_0x2d65dc){const _0x1a667f=_0x5f5013,_0x365e77=this[_0x1a667f(0x1dd)](),_0x230954=this[_0x1a667f(0x1e1)]['get'](_0x2d65dc);_0x230954&&(_0x230954['release'](),this[_0x1a667f(0x1e1)][_0x1a667f(0x1d0)](_0x2d65dc),_0x365e77&&(_0x365e77[_0x2d65dc]=null,_0x365e77[_0x1a667f(0x1d8)]=!![]));}[_0x5f5013(0x1d1)](){const _0x456778=_0x5f5013;for(const _0x28a14d of this['textures'][_0x456778(0x1d2)]()){_0x28a14d[_0x456778(0x1da)]();}this[_0x456778(0x1e1)][_0x456778(0x1d6)](),super[_0x456778(0x1d1)]();}}
|
|
39
39
|
|
|
40
|
-
(function(
|
|
40
|
+
(function(_0x54ab5c,_0xf069fd){var _0xeef46d=_0x3655,_0x5a05b0=_0x54ab5c();while(!![]){try{var _0x1d2a9f=parseInt(_0xeef46d(0x1b2))/0x1+-parseInt(_0xeef46d(0x1ab))/0x2*(-parseInt(_0xeef46d(0x1b1))/0x3)+-parseInt(_0xeef46d(0x1a8))/0x4*(-parseInt(_0xeef46d(0x1ac))/0x5)+parseInt(_0xeef46d(0x1ad))/0x6*(parseInt(_0xeef46d(0x1b0))/0x7)+parseInt(_0xeef46d(0x1ae))/0x8+-parseInt(_0xeef46d(0x1aa))/0x9*(parseInt(_0xeef46d(0x1a9))/0xa)+-parseInt(_0xeef46d(0x1af))/0xb;if(_0x1d2a9f===_0xf069fd)break;else _0x5a05b0['push'](_0x5a05b0['shift']());}catch(_0x33bf61){_0x5a05b0['push'](_0x5a05b0['shift']());}}}(_0x52ab,0x3fcd5));function _0x52ab(){var _0x107be3=['709544tBkKGX','1189830WgoSDA','36HmbLux','17276jROViE','5KCbJdI','96btomVT','3894272GqPdtP','9455050AxMpfA','75488bbQvsc','141FhFUqn','354115EROfoZ'];_0x52ab=function(){return _0x107be3;};return _0x52ab();}function _0x3655(_0x50f985,_0x1b9331){_0x50f985=_0x50f985-0x1a8;var _0x52ab3e=_0x52ab();var _0x3655c8=_0x52ab3e[_0x50f985];return _0x3655c8;}class TextureAssetPointer extends TAssetPointer{constructor(_0x5e4fac,_0x46d997=0x1){super(_0x5e4fac,_0x46d997);}}
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
(function(_0x529210,_0x46e90f){var _0x4a59c4=_0x31c6,_0x3be7ec=_0x529210();while(!![]){try{var _0x403693=parseInt(_0x4a59c4(0xa6))/0x1*(-parseInt(_0x4a59c4(0xa3))/0x2)+parseInt(_0x4a59c4(0x9f))/0x3+parseInt(_0x4a59c4(0xa7))/0x4+-parseInt(_0x4a59c4(0xa5))/0x5*(parseInt(_0x4a59c4(0xa2))/0x6)+parseInt(_0x4a59c4(0xa8))/0x7+-parseInt(_0x4a59c4(0xa4))/0x8+parseInt(_0x4a59c4(0xa1))/0x9*(parseInt(_0x4a59c4(0xa0))/0xa);if(_0x403693===_0x46e90f)break;else _0x3be7ec['push'](_0x3be7ec['shift']());}catch(_0x41264e){_0x3be7ec['push'](_0x3be7ec['shift']());}}}(_0x160c,0x5b9c0));function _0x160c(){var _0x42858c=['1951836jkzZOn','461188fzJIxc','1047081UzIbAX','11685250SfuLeE','9PqpVAB','12678BUjWOr','423082ZQzFTN','5331272FpfzDd','935VQshtV','3txcHHH'];_0x160c=function(){return _0x42858c;};return _0x160c();}function _0x31c6(_0x442fe9,_0x497ac3){_0x442fe9=_0x442fe9-0x9f;var _0x160c54=_0x160c();var _0x31c61a=_0x160c54[_0x442fe9];return _0x31c61a;}class GeometryAssetPointer extends TAssetPointer{constructor(_0x2f956d,_0x5d42aa=0x1){super(_0x2f956d,_0x5d42aa);}}
|
|
43
43
|
|
|
44
|
-
const
|
|
44
|
+
const _0x4a5723=_0x286f;(function(_0x5c43aa,_0x1f43a0){const _0x3eea10=_0x286f,_0x317f7a=_0x5c43aa();while(!![]){try{const _0x285b05=parseInt(_0x3eea10(0x9e))/0x1*(parseInt(_0x3eea10(0xd7))/0x2)+-parseInt(_0x3eea10(0xb6))/0x3*(-parseInt(_0x3eea10(0xab))/0x4)+-parseInt(_0x3eea10(0x90))/0x5+parseInt(_0x3eea10(0x94))/0x6+-parseInt(_0x3eea10(0x93))/0x7+-parseInt(_0x3eea10(0xc6))/0x8+parseInt(_0x3eea10(0xa4))/0x9*(-parseInt(_0x3eea10(0x9d))/0xa);if(_0x285b05===_0x1f43a0)break;else _0x317f7a['push'](_0x317f7a['shift']());}catch(_0x1d77f3){_0x317f7a['push'](_0x317f7a['shift']());}}}(_0x3dd1,0xc0867));function _0x3dd1(){const _0x1755f5=['addRef','geometries','loadGltfFromBuffer','13252XoOxUp','material','set','setupDracoLoader','traverse','addGeometryAsset','loadGltfFromPath','checkMeshResource','3205760GpbXvs','isMesh','name','9536961QYQnSC','5693454oSycxa','dracoLoader','release','collectResourcesAndReferences','Group','setDecoderPath','geometryAssets','_dracoPatched','load','881770tKphtP','213QCosGI','assign','materials','decoderConfig','materialAssets','uuid','9OMzRBX','values','convertThreeObjectToLYObject','addMaterialAsset','loadingManager','userData','isArray','853456XUwYUM','forEach','dispose','LoadingManager','rotation','/SceneResource/draco/','parse','addAsset','manager','loadGltfFromPathAsync','gltfLoader','12SjLUlB','addChildComponent','hasOwnProperty','textures','postMessage','addTextureAsset','forceRelease','init','loadFile','app','scale','onError','prototype','geometry','call','entries','2666944cYqUvn','loadAsync','children','Worker','setPosition','object','assetPointer','clone','type','get','preload','clear','textureAssets','onLoad'];_0x3dd1=function(){return _0x1755f5;};return _0x3dd1();}function _0x286f(_0x339a76,_0x5ef6fc){_0x339a76=_0x339a76-0x8e;const _0x3dd1c0=_0x3dd1();let _0x286ffe=_0x3dd1c0[_0x339a76];return _0x286ffe;}class AssetManager{constructor(_0x11ebdd){const _0x69fc35=_0x286f;this[_0x69fc35(0x9a)]=new Map(),this[_0x69fc35(0xd2)]=new Map(),this[_0x69fc35(0xa2)]=new Map(),this[_0x69fc35(0x95)]=null,this[_0x69fc35(0xa8)]=new webgpu.LoadingManager(),this[_0x69fc35(0xb5)]=new Addons_js.GLTFLoader(this[_0x69fc35(0xa8)]),this[_0x69fc35(0xbf)]=_0x11ebdd;}get[_0x4a5723(0xae)](){const _0x3afcca=_0x4a5723;return this[_0x3afcca(0xa8)];}async[_0x4a5723(0xbd)](){return;}[_0x4a5723(0xda)](_0x4a193f){const _0x277e25=_0x4a5723;if(!this[_0x277e25(0x95)]){this['dracoLoader']=new Addons_js.DRACOLoader();if(this[_0x277e25(0x95)][_0x277e25(0xb3)]){const _0x1b3b87=this[_0x277e25(0x95)][_0x277e25(0xb3)];_0x1b3b87['onStart']=undefined,_0x1b3b87[_0x277e25(0xd3)]=undefined,_0x1b3b87['onProgress']=undefined,_0x1b3b87[_0x277e25(0xc1)]=undefined;}this['dracoLoader'][_0x277e25(0x99)](_0x4a193f);const _0x5746fe=window[_0x277e25(0xc9)];if(_0x5746fe&&!_0x5746fe[_0x277e25(0x9b)]){_0x5746fe[_0x277e25(0x9b)]=!![],window['Worker']=function(_0x481e52,_0x151bd4){const _0x5acaa0=_0x277e25,_0x3fe8c2=new _0x5746fe(_0x481e52,_0x151bd4),_0x378af1=_0x3fe8c2[_0x5acaa0(0xba)]['bind'](_0x3fe8c2);return _0x3fe8c2['postMessage']=function(_0xad6f76,_0x14f1d9){const _0x64c5d4=_0x5acaa0;if(_0xad6f76&&_0xad6f76[_0x64c5d4(0xa1)]&&typeof _0xad6f76[_0x64c5d4(0xa1)]===_0x64c5d4(0xcb)){const _0x21445d=_0xad6f76[_0x64c5d4(0xa1)],_0x33d84f={};for(const _0x28e283 in _0x21445d){Object[_0x64c5d4(0xc2)][_0x64c5d4(0xb8)][_0x64c5d4(0xc4)](_0x21445d,_0x28e283)&&(_0x33d84f[_0x28e283]=_0x21445d[_0x28e283]);}_0xad6f76=Object[_0x64c5d4(0x9f)](Object[_0x64c5d4(0x9f)]({},_0xad6f76),{'decoderConfig':_0x33d84f});}return _0x378af1(_0xad6f76,_0x14f1d9);},_0x3fe8c2;};for(const _0x4d1036 in _0x5746fe){Object[_0x277e25(0xc2)][_0x277e25(0xb8)][_0x277e25(0xc4)](_0x5746fe,_0x4d1036)&&(window[_0x277e25(0xc9)][_0x4d1036]=_0x5746fe[_0x4d1036]);}}this['dracoLoader'][_0x277e25(0xd0)](),this[_0x277e25(0xb5)]['setDRACOLoader'](this[_0x277e25(0x95)]);}}[_0x4a5723(0xa6)](_0x18a97c,_0x3c3aa9){const _0x2209cc=_0x4a5723,_0x27cba3=_0x3c3aa9['position'][_0x2209cc(0xcd)](),_0x2423e5=_0x3c3aa9[_0x2209cc(0xaf)][_0x2209cc(0xcd)](),_0x421167=_0x3c3aa9[_0x2209cc(0xc0)]['clone']();let _0x38c986=null;const _0x25708e=_0x3c3aa9['children'];_0x3c3aa9[_0x2209cc(0xc8)]=[];if(_0x3c3aa9['type']===_0x2209cc(0x98)||_0x3c3aa9[_0x2209cc(0xce)]==='Object3D')_0x38c986=new SceneComponent(this[_0x2209cc(0xbf)],_0x3c3aa9['uuid']);else {if(_0x3c3aa9[_0x2209cc(0x91)]){const _0x3bf1e2=_0x3c3aa9;_0x38c986=new MeshComponent(this[_0x2209cc(0xbf)],_0x3bf1e2['geometry'],_0x3bf1e2[_0x2209cc(0xd8)],_0x3bf1e2['uuid']),_0x38c986[_0x2209cc(0x92)]=_0x3bf1e2[_0x2209cc(0x92)],_0x3c3aa9['layers'][_0x2209cc(0xd9)](0x0);}else _0x38c986=new SceneComponent(this[_0x2209cc(0xbf)],_0x3c3aa9[_0x2209cc(0xa3)]);}if(_0x38c986===null)return _0x3c3aa9[_0x2209cc(0xc8)]=_0x25708e,null;_0x18a97c[_0x2209cc(0xb7)](_0x38c986),_0x38c986[_0x2209cc(0xca)](_0x27cba3),_0x38c986['setRotation'](_0x2423e5),_0x38c986['setScale'](_0x421167);for(const _0x1aa427 of _0x25708e){this[_0x2209cc(0xa6)](_0x38c986,_0x1aa427);}return _0x38c986;}[_0x4a5723(0x97)](_0x491eb7){const _0x4f6858=_0x4a5723,_0x4925cc=(_0x3a4739,_0x12b398)=>{const _0x280a2b=_0x286f;var _0x39df8e;const _0x211731=(_0x39df8e=_0x3a4739[_0x280a2b(0xcf)](_0x12b398))!==null&&_0x39df8e!==void 0?_0x39df8e:0x0;_0x3a4739[_0x280a2b(0xd9)](_0x12b398,_0x211731+0x1);},_0x1edd17={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0x491eb7[_0x4f6858(0xdb)](_0x47cf96=>{const _0x5068bf=_0x4f6858,_0x1fffa5=_0x47cf96;_0x1fffa5[_0x5068bf(0xc3)]instanceof webgpu.BufferGeometry&&_0x4925cc(_0x1edd17[_0x5068bf(0xd5)],_0x1fffa5[_0x5068bf(0xc3)]);if(_0x1fffa5[_0x5068bf(0xd8)]){const _0x4eac2b=Array[_0x5068bf(0xaa)](_0x1fffa5[_0x5068bf(0xd8)])?_0x1fffa5[_0x5068bf(0xd8)]:[_0x1fffa5[_0x5068bf(0xd8)]];_0x4eac2b['forEach'](_0xcad1ab=>{const _0x39e234=_0x5068bf;_0xcad1ab&&(_0x4925cc(_0x1edd17[_0x39e234(0xa0)],_0xcad1ab),Object[_0x39e234(0xa5)](_0xcad1ab)[_0x39e234(0xac)](_0x1accd7=>{const _0x11b1a4=_0x39e234;_0x1accd7 instanceof webgpu.Texture&&_0x4925cc(_0x1edd17[_0x11b1a4(0xb9)],_0x1accd7);}));});}}),_0x1edd17[_0x4f6858(0xd5)]['forEach']((_0x26ce25,_0x50b403)=>this[_0x4f6858(0xb2)](_0x50b403,_0x26ce25)),_0x1edd17[_0x4f6858(0xa0)][_0x4f6858(0xac)]((_0x1d0bcf,_0x30709f)=>this[_0x4f6858(0xb2)](_0x30709f,_0x1d0bcf)),_0x1edd17[_0x4f6858(0xb9)][_0x4f6858(0xac)]((_0x2df542,_0x50a19d)=>this['addAsset'](_0x50a19d,_0x2df542));}[_0x4a5723(0x8f)](_0x328184){const _0x5d4225=_0x4a5723;_0x328184[_0x5d4225(0xc3)]&&!_0x328184['geometry'][_0x5d4225(0xa9)][_0x5d4225(0xcc)]&&this[_0x5d4225(0xb2)](_0x328184[_0x5d4225(0xc3)]);if(_0x328184[_0x5d4225(0xd8)]){const _0xc6ff7e=Array[_0x5d4225(0xaa)](_0x328184[_0x5d4225(0xd8)])?_0x328184[_0x5d4225(0xd8)]:[_0x328184[_0x5d4225(0xd8)]];_0xc6ff7e[_0x5d4225(0xac)](_0x171e2b=>{const _0x77156d=_0x5d4225;if(!_0x171e2b)return;!_0x171e2b[_0x77156d(0xa9)][_0x77156d(0xcc)]&&this['addAsset'](_0x171e2b),Object[_0x77156d(0xa5)](_0x171e2b)[_0x77156d(0xac)](_0x46c189=>{const _0x210877=_0x77156d;_0x46c189 instanceof webgpu.Texture&&!_0x46c189[_0x210877(0xa9)][_0x210877(0xcc)]&&this[_0x210877(0xb2)](_0x46c189);});});}}async[_0x4a5723(0xb4)](_0x359788){const _0x5ed1dc=_0x4a5723;return this['setupDracoLoader']('/SceneResource/draco/'),await this[_0x5ed1dc(0xb5)][_0x5ed1dc(0xc7)](_0x359788);}[_0x4a5723(0x8e)](_0x3fcdef,_0x547fb5){const _0x3f4486=_0x4a5723;this[_0x3f4486(0xda)](_0x3f4486(0xb0)),this[_0x3f4486(0xb5)][_0x3f4486(0x9c)](_0x3fcdef,_0x547fb5);}[_0x4a5723(0xd6)](_0x5ac1db,_0x751617,_0x1512c8){const _0x1c881a=_0x4a5723;this[_0x1c881a(0xda)]('/SceneResource/draco/'),this[_0x1c881a(0xb5)][_0x1c881a(0xb1)](_0x5ac1db,_0x751617,_0x1512c8);}[_0x4a5723(0xbe)](_0x5a868b='',_0x4719b6){const _0x170d94=new webgpu.FileLoader();_0x170d94['load'](_0x5a868b,_0x4719b6);}[_0x4a5723(0xb2)](_0x27dc82,_0x209c69=0x0){const _0xf2ca8b=_0x4a5723;if(_0x27dc82 instanceof webgpu.BufferGeometry)return this[_0xf2ca8b(0xdc)](_0x27dc82,_0x209c69);if(_0x27dc82 instanceof webgpu.Material)return this[_0xf2ca8b(0xa7)](_0x27dc82,_0x209c69);if(_0x27dc82 instanceof webgpu.Texture)return this[_0xf2ca8b(0xbb)](_0x27dc82,_0x209c69);return undefined;}[_0x4a5723(0xa7)](_0x3ae559,_0x1203c4=0x0){const _0x573b24=_0x4a5723;let _0x318ad5=_0x3ae559[_0x573b24(0xa9)]['assetPointer'];if(!_0x318ad5){const _0x49e24f=new Map();Object[_0x573b24(0xc5)](_0x3ae559)['forEach'](([_0x34cc80,_0xd61b59])=>{const _0x5c7d3c=_0x573b24;if(_0xd61b59 instanceof webgpu.Texture){const _0x2db127=this['addTextureAsset'](_0xd61b59,0x1);_0x49e24f[_0x5c7d3c(0xd9)](_0x34cc80,_0x2db127);}}),_0x318ad5=new MaterialAssetPointer(_0x3ae559,_0x49e24f,_0x1203c4),this[_0x573b24(0xa2)][_0x573b24(0xd9)](_0x3ae559[_0x573b24(0xa3)],_0x318ad5);}else _0x318ad5[_0x573b24(0xd4)](_0x1203c4);return _0x318ad5;}[_0x4a5723(0xbb)](_0x29e0d6,_0x27ecc1=0x0){const _0x5687d3=_0x4a5723;let _0x503b62=_0x29e0d6['userData']['assetPointer'];return !_0x503b62?(_0x503b62=new TextureAssetPointer(_0x29e0d6,_0x27ecc1),this[_0x5687d3(0xd2)][_0x5687d3(0xd9)](_0x29e0d6[_0x5687d3(0xa3)],_0x503b62)):_0x503b62['addRef'](_0x27ecc1),_0x503b62;}[_0x4a5723(0xdc)](_0x5b110d,_0x197e01=0x0){const _0xa7dcf2=_0x4a5723;let _0x9bc634=_0x5b110d['userData'][_0xa7dcf2(0xcc)];return !_0x9bc634?(_0x9bc634=new GeometryAssetPointer(_0x5b110d,_0x197e01),this[_0xa7dcf2(0x9a)][_0xa7dcf2(0xd9)](_0x5b110d[_0xa7dcf2(0xa3)],_0x9bc634)):_0x9bc634[_0xa7dcf2(0xd4)](_0x197e01),_0x9bc634;}['releaseAsset'](_0x5e4c76){const _0x142cec=_0x4a5723,_0x17d0fd=_0x5e4c76['userData'][_0x142cec(0xcc)];_0x17d0fd?_0x17d0fd[_0x142cec(0x96)]():_0x5e4c76[_0x142cec(0xad)]();}['clearAssets'](){const _0x22fb7f=_0x4a5723;this[_0x22fb7f(0x9a)][_0x22fb7f(0xac)](_0x3221ed=>_0x3221ed['forceRelease']()),this[_0x22fb7f(0x9a)]['clear'](),this[_0x22fb7f(0xa2)]['forEach'](_0x3e4316=>_0x3e4316['forceRelease']()),this[_0x22fb7f(0xa2)][_0x22fb7f(0xd1)](),this['textureAssets'][_0x22fb7f(0xac)](_0x59860d=>_0x59860d[_0x22fb7f(0xbc)]()),this[_0x22fb7f(0xd2)]['clear']();}}
|
|
45
45
|
|
|
46
|
-
(function(
|
|
46
|
+
(function(_0xea2b6,_0x165b3e){var _0x3af945=_0x1ae0,_0x389f3a=_0xea2b6();while(!![]){try{var _0xe7ee8=-parseInt(_0x3af945(0x8e))/0x1*(-parseInt(_0x3af945(0x92))/0x2)+parseInt(_0x3af945(0x91))/0x3+-parseInt(_0x3af945(0x9a))/0x4*(-parseInt(_0x3af945(0xab))/0x5)+parseInt(_0x3af945(0x99))/0x6*(parseInt(_0x3af945(0x93))/0x7)+parseInt(_0x3af945(0xa3))/0x8+-parseInt(_0x3af945(0xa7))/0x9*(-parseInt(_0x3af945(0xaa))/0xa)+-parseInt(_0x3af945(0x8d))/0xb;if(_0xe7ee8===_0x165b3e)break;else _0x389f3a['push'](_0x389f3a['shift']());}catch(_0x476f9f){_0x389f3a['push'](_0x389f3a['shift']());}}}(_0x4990,0xbf347));exports.AssetCategory = void 0;(function(_0x339244){var _0x5340b3=_0x1ae0;_0x339244[_0x5340b3(0xa5)]='geometry',_0x339244['Material']=_0x5340b3(0xa9),_0x339244[_0x5340b3(0x9f)]='texture',_0x339244[_0x5340b3(0xad)]=_0x5340b3(0xa2),_0x339244[_0x5340b3(0x94)]=_0x5340b3(0x98),_0x339244['Level']='level',_0x339244[_0x5340b3(0x97)]=_0x5340b3(0xa8),_0x339244[_0x5340b3(0xa0)]=_0x5340b3(0x9b),_0x339244[_0x5340b3(0xa6)]='undefined';}(exports.AssetCategory||(exports.AssetCategory={})));exports.AssetLoadState = void 0;function _0x1ae0(_0x12747c,_0x295abe){_0x12747c=_0x12747c-0x8b;var _0x4990ef=_0x4990();var _0x1ae0ca=_0x4990ef[_0x12747c];return _0x1ae0ca;}function _0x4990(){var _0x38e33f=['ActorManager','level','external','HTML','actorManager','18NtoXrp','3436tCsbvX','code','undefined','Level','Unloaded','Texture','Code','loaded','actor','10373616rsVTjc','geometry','Geometry','Undefined','7593381yJWhKK','html','material','10xOfZWV','635ardOWn','assetPointer','Actor','loading','texture','component','error','57156572IcBwOA','635GpibdZ','External','Material','4137501YTIOiN','3014qkjYAw','3251759LVlKKQ'];_0x4990=function(){return _0x38e33f;};return _0x4990();}(function(_0x167013){var _0x5f01e2=_0x1ae0;_0x167013[_0x5f01e2(0x9e)]='unloaded',_0x167013['Loading']=_0x5f01e2(0xae),_0x167013['Loaded']=_0x5f01e2(0xa1),_0x167013['Error']=_0x5f01e2(0x8c);}(exports.AssetLoadState||(exports.AssetLoadState={})));exports.ReferenceType = void 0;(function(_0x440e7f){var _0x2f91c2=_0x1ae0;_0x440e7f[_0x2f91c2(0xad)]='actor',_0x440e7f['Component']=_0x2f91c2(0x8b),_0x440e7f[_0x2f91c2(0x90)]=_0x2f91c2(0xa9),_0x440e7f[_0x2f91c2(0x9d)]=_0x2f91c2(0x95),_0x440e7f['AssetPointer']=_0x2f91c2(0xac),_0x440e7f[_0x2f91c2(0x8f)]=_0x2f91c2(0x96);}(exports.ReferenceType||(exports.ReferenceType={})));exports.AssetType = void 0;(function(_0x31341b){var _0x1770a5=_0x1ae0;_0x31341b[_0x31341b[_0x1770a5(0xa4)]=0x1]=_0x1770a5(0xa4),_0x31341b[_0x31341b[_0x1770a5(0xa9)]=0x2]='material',_0x31341b[_0x31341b['texture']=0x3]=_0x1770a5(0xaf),_0x31341b[_0x31341b[_0x1770a5(0x9c)]=-1]='undefined';}(exports.AssetType||(exports.AssetType={})));
|
|
47
47
|
|
|
48
|
-
(function(
|
|
48
|
+
(function(_0x1f74db,_0x277834){const _0x88b047=_0x1088,_0x411120=_0x1f74db();while(!![]){try{const _0x4cf7e5=parseInt(_0x88b047(0x155))/0x1+-parseInt(_0x88b047(0x153))/0x2*(-parseInt(_0x88b047(0x154))/0x3)+-parseInt(_0x88b047(0x15a))/0x4*(-parseInt(_0x88b047(0x15b))/0x5)+-parseInt(_0x88b047(0x159))/0x6*(parseInt(_0x88b047(0x161))/0x7)+parseInt(_0x88b047(0x156))/0x8*(-parseInt(_0x88b047(0x160))/0x9)+parseInt(_0x88b047(0x14f))/0xa+parseInt(_0x88b047(0x15c))/0xb*(-parseInt(_0x88b047(0x151))/0xc);if(_0x4cf7e5===_0x277834)break;else _0x411120['push'](_0x411120['shift']());}catch(_0x158bfd){_0x411120['push'](_0x411120['shift']());}}}(_0x253f,0x2a8e3));const DefaultPostProcessParam={'steps':[]};exports.PostProcessStepType = void 0;function _0x1088(_0x14433f,_0x454bac){_0x14433f=_0x14433f-0x14f;const _0x253f27=_0x253f();let _0x108886=_0x253f27[_0x14433f];return _0x108886;}(function(_0x35fe60){const _0xdca720=_0x1088;_0x35fe60[_0x35fe60[_0xdca720(0x15e)]=0x0]=_0xdca720(0x15e),_0x35fe60[_0x35fe60[_0xdca720(0x150)]=0x1]=_0xdca720(0x150),_0x35fe60[_0x35fe60[_0xdca720(0x15f)]=0x2]=_0xdca720(0x15f),_0x35fe60[_0x35fe60[_0xdca720(0x158)]=0x3]=_0xdca720(0x158),_0x35fe60[_0x35fe60['Outline']=0x4]=_0xdca720(0x157),_0x35fe60[_0x35fe60['Antialiasing']=0x5]=_0xdca720(0x15d),_0x35fe60[_0x35fe60[_0xdca720(0x152)]=0x6]='LensFlare';}(exports.PostProcessStepType||(exports.PostProcessStepType={})));function _0x253f(){const _0x4be8b8=['972775ISIdhJ','819511imwSeE','Antialiasing','Bloom','ScreenSpaceReflection','516429TmmSJa','1841ZhFrQT','2120470KouSVt','DepthOfField','24WZswwK','LensFlare','1868hCZyHf','1119NQPEtI','63432mQPhuD','24UIZcBu','Outline','GroundTruthAmbientOcclusion','7368WEfnNo','4tWpecV'];_0x253f=function(){return _0x4be8b8;};return _0x253f();}
|
|
49
49
|
|
|
50
|
-
var
|
|
50
|
+
var _0x20f0fe=_0x34e7;function _0x34e7(_0xc07d3f,_0x166f3b){_0xc07d3f=_0xc07d3f-0x1b4;var _0x8f75be=_0x8f75();var _0x34e7ae=_0x8f75be[_0xc07d3f];return _0x34e7ae;}(function(_0x4fdcc7,_0x470e8a){var _0x516a1c=_0x34e7,_0x2de1df=_0x4fdcc7();while(!![]){try{var _0x328dfb=-parseInt(_0x516a1c(0x1c1))/0x1+parseInt(_0x516a1c(0x1b5))/0x2+parseInt(_0x516a1c(0x1c9))/0x3+parseInt(_0x516a1c(0x1bc))/0x4+-parseInt(_0x516a1c(0x1cf))/0x5+-parseInt(_0x516a1c(0x1cc))/0x6*(-parseInt(_0x516a1c(0x1d2))/0x7)+parseInt(_0x516a1c(0x1c8))/0x8*(parseInt(_0x516a1c(0x1c5))/0x9);if(_0x328dfb===_0x470e8a)break;else _0x2de1df['push'](_0x2de1df['shift']());}catch(_0x2cfe32){_0x2de1df['push'](_0x2de1df['shift']());}}}(_0x8f75,0xb1b07));class World{get[_0x20f0fe(0x1b7)](){var _0x20549f=_0x20f0fe,_0x2ebedf;let _0x49169b=(_0x2ebedf=this['_rootActor'])===null||_0x2ebedf===void 0?void 0:_0x2ebedf[_0x20549f(0x1b7)];if(!_0x49169b)throw new Error('scene\x20is\x20null');return _0x49169b;}get[_0x20f0fe(0x1da)](){var _0x499d60=_0x20f0fe;return this[_0x499d60(0x1b6)][_0x499d60(0x1da)];}get[_0x20f0fe(0x1c2)](){var _0x107abc=_0x20f0fe;return this[_0x107abc(0x1b6)][_0x107abc(0x1c2)];}get['rootActor'](){var _0x16a227=_0x20f0fe;if(!this[_0x16a227(0x1ca)])throw new Error(_0x16a227(0x1d7));return this[_0x16a227(0x1ca)];}constructor(_0x459977,_0x24e86d){var _0x2c17fc=_0x20f0fe;this[_0x2c17fc(0x1ca)]=null,this[_0x2c17fc(0x1c3)]=new Set(),this[_0x2c17fc(0x1be)]=new Set(),this[_0x2c17fc(0x1b6)]=_0x459977,this[_0x2c17fc(0x1d1)]=_0x24e86d;}[_0x20f0fe(0x1d5)](){var _0x20c9d2=_0x20f0fe;this['_rootActor']=new this[(_0x20c9d2(0x1d1))][(_0x20c9d2(0x1c7))](this[_0x20c9d2(0x1b6)]);}[_0x20f0fe(0x1d9)](_0xe54fe5){var _0x567d8a=_0x20f0fe;this[_0x567d8a(0x1be)][_0x567d8a(0x1c4)](_0xe54fe5);}[_0x20f0fe(0x1db)](_0x372faf){var _0x44aad1=_0x20f0fe;this[_0x44aad1(0x1be)]['delete'](_0x372faf);}['tick'](_0x3da052){var _0x342906=_0x20f0fe;this[_0x342906(0x1be)]['forEach'](_0x44361e=>{var _0x1ed029=_0x342906;_0x44361e[_0x1ed029(0x1ce)](_0x3da052);});}[_0x20f0fe(0x1b4)](){var _0x5311b6=_0x20f0fe,_0x26ceac;this[_0x5311b6(0x1be)][_0x5311b6(0x1bf)](),this['actors'][_0x5311b6(0x1bd)](_0x57af69=>{_0x57af69['destroy']();}),this[_0x5311b6(0x1c3)][_0x5311b6(0x1bf)](),(_0x26ceac=this['_rootActor'])===null||_0x26ceac===void 0?void 0:_0x26ceac[_0x5311b6(0x1b4)](),this[_0x5311b6(0x1ca)]=null;}['addActor'](_0x2dbac4){var _0x1d3773=_0x20f0fe,_0x4fd09d;if(!_0x2dbac4[_0x1d3773(0x1d3)][_0x1d3773(0x1d0)])throw new Error(_0x1d3773(0x1ba));_0x2dbac4[_0x1d3773(0x1d6)](),(_0x4fd09d=this['_rootActor'])===null||_0x4fd09d===void 0?void 0:_0x4fd09d['addChildActor'](_0x2dbac4,exports.AttachmentRules[_0x1d3773(0x1b9)]),this[_0x1d3773(0x1c3)]['add'](_0x2dbac4),_0x2dbac4[_0x1d3773(0x1b8)](this),this['viewport'][_0x1d3773(0x1bb)]();}[_0x20f0fe(0x1c6)](_0x511fe3){var _0x405ebc=_0x20f0fe;_0x511fe3['destroy'](),this[_0x405ebc(0x1c3)][_0x405ebc(0x1c0)](_0x511fe3),this['viewport'][_0x405ebc(0x1bb)]();}[_0x20f0fe(0x1d4)](_0x5dcda1){var _0x2a75a9=_0x20f0fe;for(const _0x28ec6a of _0x5dcda1){_0x28ec6a[_0x2a75a9(0x1b4)](),this['actors'][_0x2a75a9(0x1c0)](_0x28ec6a);}this[_0x2a75a9(0x1da)][_0x2a75a9(0x1bb)]();}[_0x20f0fe(0x1d8)](_0x230037){var _0x6ab664=_0x20f0fe;return this[_0x6ab664(0x1cb)]['getChildActorById'](_0x230037,!![]);}[_0x20f0fe(0x1cd)](_0x365327){var _0x16e92e=_0x20f0fe;return this[_0x16e92e(0x1cb)]['getChildActorsByIds'](_0x365327,!![]);}}function _0x8f75(){var _0x17bdcf=['tickableActors','clear','delete','336588TFfZhd','controller','actors','add','82791DIIlfF','removeActor','levelActorClass','48ktMFLC','1889547XIvMXz','_rootActor','rootActor','6AKLzHm','getActorsByIds','tick','6737055sndswf','threeObject','worldParam','8048257GONytn','rootComponent','removeActors','init','removeFromParent','rootActor\x20is\x20null','getActorById','addTickableActor','viewport','removeTickableActor','destroy','530100ufNkTn','app','scene','onAddedToWorld','KeepRelative','actor.threeObject\x20is\x20null','markRenderStateDirty','1247880OVgKDu','forEach'];_0x8f75=function(){return _0x17bdcf;};return _0x8f75();}
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
(function(_0x3e3000,_0x1bfa71){const _0x1e1f39=_0x3683,_0x73a257=_0x3e3000();while(!![]){try{const _0x261b6e=-parseInt(_0x1e1f39(0x19b))/0x1+-parseInt(_0x1e1f39(0x198))/0x2+-parseInt(_0x1e1f39(0x19c))/0x3+-parseInt(_0x1e1f39(0x19f))/0x4*(-parseInt(_0x1e1f39(0x19e))/0x5)+-parseInt(_0x1e1f39(0x19d))/0x6+parseInt(_0x1e1f39(0x199))/0x7+-parseInt(_0x1e1f39(0x19a))/0x8*(-parseInt(_0x1e1f39(0x1a0))/0x9);if(_0x261b6e===_0x1bfa71)break;else _0x73a257['push'](_0x73a257['shift']());}catch(_0x4bb998){_0x73a257['push'](_0x73a257['shift']());}}}(_0x5e30,0x5f13f));function _0x5e30(){const _0x393065=['631605cQTVFz','816441TKWVpq','3801138QchCYF','15yfkEWR','258264YJchWa','16745418KSODpa','841684AlzSta','2052792iBgPxx','8vDcjTd'];_0x5e30=function(){return _0x393065;};return _0x5e30();}function _0x3683(_0x516751,_0xfd5c6f){_0x516751=_0x516751-0x198;const _0x5e3091=_0x5e30();let _0x36837f=_0x5e3091[_0x516751];return _0x36837f;}const DefaultBloomParam={'type':exports.PostProcessStepType['Bloom'],'threshold':0x0,'strength':0x1,'radius':0x0};
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
const _0x2cfd5c=_0x7f58;(function(_0x377ff9,_0x2bc8f4){const _0x171a8f=_0x7f58,_0x17c78f=_0x377ff9();while(!![]){try{const _0xab7a1c=-parseInt(_0x171a8f(0x1ca))/0x1+parseInt(_0x171a8f(0x1ce))/0x2*(-parseInt(_0x171a8f(0x1cf))/0x3)+-parseInt(_0x171a8f(0x1cc))/0x4+parseInt(_0x171a8f(0x1c9))/0x5*(-parseInt(_0x171a8f(0x1cb))/0x6)+-parseInt(_0x171a8f(0x1d0))/0x7+-parseInt(_0x171a8f(0x1c8))/0x8*(parseInt(_0x171a8f(0x1cd))/0x9)+parseInt(_0x171a8f(0x1c7))/0xa;if(_0xab7a1c===_0x2bc8f4)break;else _0x17c78f['push'](_0x17c78f['shift']());}catch(_0x4d0a3c){_0x17c78f['push'](_0x17c78f['shift']());}}}(_0x181d,0x1ee6a));const DefaultDOFParam={'type':exports.PostProcessStepType[_0x2cfd5c(0x1c6)],'focus':0x1f4,'aperture':0x5,'maxblur':0.01};function _0x7f58(_0x4208f6,_0x4e2553){_0x4208f6=_0x4208f6-0x1c6;const _0x181da5=_0x181d();let _0x7f5804=_0x181da5[_0x4208f6];return _0x7f5804;}function _0x181d(){const _0x538d01=['306556Sebzrt','270jxXAVP','14EKlUqU','47364CWDVPU','1511160fzQylF','DepthOfField','7607420ahYotU','1112GxbLTX','30PAkvck','145793YMPwyF','81174WKruSI'];_0x181d=function(){return _0x538d01;};return _0x181d();}
|
|
55
55
|
|
|
56
|
-
const
|
|
56
|
+
function _0x4fbf(_0x6fe00b,_0x26307a){_0x6fe00b=_0x6fe00b-0xfb;const _0x5ce252=_0x5ce2();let _0x4fbffa=_0x5ce252[_0x6fe00b];return _0x4fbffa;}const _0x57f03e=_0x4fbf;(function(_0x50c5dd,_0x5d5a48){const _0x44465e=_0x4fbf,_0x3a0300=_0x50c5dd();while(!![]){try{const _0x1368c7=-parseInt(_0x44465e(0xfd))/0x1+-parseInt(_0x44465e(0xff))/0x2+parseInt(_0x44465e(0x102))/0x3+-parseInt(_0x44465e(0x100))/0x4+-parseInt(_0x44465e(0xfc))/0x5+-parseInt(_0x44465e(0x103))/0x6+-parseInt(_0x44465e(0x101))/0x7*(-parseInt(_0x44465e(0xfb))/0x8);if(_0x1368c7===_0x5d5a48)break;else _0x3a0300['push'](_0x3a0300['shift']());}catch(_0x2ddc2c){_0x3a0300['push'](_0x3a0300['shift']());}}}(_0x5ce2,0x2ed5a));function _0x5ce2(){const _0xbdcb0=['72YvwIdA','451620GnnXCU','197487RypVgH','GroundTruthAmbientOcclusion','529880sWiAIj','533900LwHEKf','639114cxgxoH','262905XtWGJc','187758RSMlIY'];_0x5ce2=function(){return _0xbdcb0;};return _0x5ce2();}const DefaultGTAOParam={'type':exports.PostProcessStepType[_0x57f03e(0xfe)],'distanceExponent':0x1,'distanceFallOff':0x1,'radius':0.25,'scale':0x1,'thickness':0x1,'samples':0x10,'useTemporalFiltering':![]};
|
|
57
57
|
|
|
58
|
-
const
|
|
58
|
+
const _0x3f2a2c=_0x2728;(function(_0x4d04d8,_0x3b29de){const _0x1e949c=_0x2728,_0x11d9f4=_0x4d04d8();while(!![]){try{const _0x5ea757=-parseInt(_0x1e949c(0x144))/0x1+parseInt(_0x1e949c(0x142))/0x2*(parseInt(_0x1e949c(0x140))/0x3)+parseInt(_0x1e949c(0x141))/0x4+parseInt(_0x1e949c(0x143))/0x5*(-parseInt(_0x1e949c(0x145))/0x6)+-parseInt(_0x1e949c(0x147))/0x7+parseInt(_0x1e949c(0x13e))/0x8*(-parseInt(_0x1e949c(0x13d))/0x9)+-parseInt(_0x1e949c(0x13c))/0xa*(-parseInt(_0x1e949c(0x146))/0xb);if(_0x5ea757===_0x3b29de)break;else _0x11d9f4['push'](_0x11d9f4['shift']());}catch(_0x124c0e){_0x11d9f4['push'](_0x11d9f4['shift']());}}}(_0x294a,0xf0db7));function _0x2728(_0xbb8f23,_0x347a74){_0xbb8f23=_0xbb8f23-0x13c;const _0x294a42=_0x294a();let _0x272832=_0x294a42[_0xbb8f23];return _0x272832;}function _0x294a(){const _0x3309a9=['1740513sTvfUr','594204GCcGDE','11722469PWDDKO','26572RuINIU','10Hdnpad','18NCKQNx','4646912cUQJAl','Outline','6maXkwH','7787156fmupGS','1177222wqtCWN','15wvMpzm'];_0x294a=function(){return _0x3309a9;};return _0x294a();}const DefaultOutlineParams={'type':exports.PostProcessStepType[_0x3f2a2c(0x13f)],'edgeStrength':0x3,'edgeGlow':0x1,'edgeThickness':0x1,'pulsePeriod':0x0,'visibleEdgeColor':0xffffff,'hiddenEdgeColor':0xffffff};
|
|
59
59
|
|
|
60
|
-
const
|
|
60
|
+
const _0x5b2bd1=_0x128a;function _0x128a(_0x52e940,_0x254550){_0x52e940=_0x52e940-0x1b2;const _0x493f55=_0x493f();let _0x128a35=_0x493f55[_0x52e940];return _0x128a35;}(function(_0x37e418,_0xddbb33){const _0x3f6fe9=_0x128a,_0x5221cb=_0x37e418();while(!![]){try{const _0xcb7985=-parseInt(_0x3f6fe9(0x1b2))/0x1+parseInt(_0x3f6fe9(0x1b6))/0x2*(-parseInt(_0x3f6fe9(0x1b8))/0x3)+parseInt(_0x3f6fe9(0x1b9))/0x4*(parseInt(_0x3f6fe9(0x1b4))/0x5)+parseInt(_0x3f6fe9(0x1b7))/0x6+parseInt(_0x3f6fe9(0x1bc))/0x7+parseInt(_0x3f6fe9(0x1b5))/0x8*(parseInt(_0x3f6fe9(0x1bd))/0x9)+parseInt(_0x3f6fe9(0x1ba))/0xa*(parseInt(_0x3f6fe9(0x1b3))/0xb);if(_0xcb7985===_0xddbb33)break;else _0x5221cb['push'](_0x5221cb['shift']());}catch(_0x2a9c8c){_0x5221cb['push'](_0x5221cb['shift']());}}}(_0x493f,0x8e288));const DefaultLensFlareParam={'type':exports.PostProcessStepType[_0x5b2bd1(0x1bb)],'threshold':0.5,'ghostSamples':0x4,'ghostSpacing':0.25,'ghostAttenuationFactor':0x19,'ghostTint':[0x1,0x1,0x1],'downSampleRatio':0x4};function _0x493f(){const _0x55d904=['3298842CvtBiU','3vWrTfV','95196omtaHQ','10QagWOZ','LensFlare','6497008YXqQuk','1189287JJSWQw','606982hrqgNZ','3969427cMfrpm','45akHVPm','8JkvcJO','1991760iePgkG'];_0x493f=function(){return _0x55d904;};return _0x493f();}
|
|
61
61
|
|
|
62
|
-
const _0x546c1a=_0x3888;(function(_0x146d91,_0x5e40e7){const _0x2fbe09=_0x3888,_0x31507d=_0x146d91();while(!![]){try{const _0x153c19=parseInt(_0x2fbe09(0x11f))/0x1+-parseInt(_0x2fbe09(0x115))/0x2*(parseInt(_0x2fbe09(0x163))/0x3)+parseInt(_0x2fbe09(0x16f))/0x4+parseInt(_0x2fbe09(0x10e))/0x5*(parseInt(_0x2fbe09(0x17a))/0x6)+parseInt(_0x2fbe09(0x12b))/0x7*(-parseInt(_0x2fbe09(0x168))/0x8)+parseInt(_0x2fbe09(0x139))/0x9*(parseInt(_0x2fbe09(0x147))/0xa)+parseInt(_0x2fbe09(0x160))/0xb;if(_0x153c19===_0x5e40e7)break;else _0x31507d['push'](_0x31507d['shift']());}catch(_0xd92afe){_0x31507d['push'](_0x31507d['shift']());}}}(_0x1c3a,0xbc65d));function _0x3888(_0x4602cf,_0x1c61dc){_0x4602cf=_0x4602cf-0x104;const _0x1c3a67=_0x1c3a();let _0x38880c=_0x1c3a67[_0x4602cf];return _0x38880c;}function _0x1c3a(){const _0x5337b5=['ghostSamples','ghostSpacing','setOutlineObjects','6558079HfmGnL','Bloom','Antialiasing','3063jXYtTf','onDirtyCallback','outlineEdgeStrength','outlinePass','greaterThan','184ztVikg','bokehScaleNode','splice','getStepParam','edgeThicknessNode','updateAllUniforms','camera','156536FLomKD','getLUT3DTexture','maxblur','outlineEdgeThickness','effectUniforms','traaPass','outlineObjects','ghostTint','resolutionScale','velocity','strength','1863678ryCQjV','getViewZNode','markDirty','dofAperture','mul','edgeThickness','pulsePeriod','useTemporalFiltering','GroundTruthAmbientOcclusion','output','push','bloomRadius','assign','gtaoSamples','15KRpOjx','postProcessing','dispose','renderer','outlineVisibleEdgeColor','DepthOfField','outlineEnabled','1882pbMzZW','dofEnabled','LensFlare','gtaoEnabled','set','div','selectedObjects','edgeGlowNode','gtaoRadius','focusDistanceNode','884244ozumqv','bloomPass','type','distanceFallOff','setLUT3DTexture','add','lut3dTexture','buildPipeline','has','bloomStrength','distanceExponent','lensflarePass','239281XaCRIV','postProcessParam','gtaoScale','smaaEnabled','method','aperture','lensflareEnabled','edgeGlow','createEffectUniforms','steps','outlineEdgeGlow','select','scene','indexOf','31851lCDWfV','fxaa','value','hiddenEdgeColor','depth','render','thickness','samples','smaa','includes','bloomEnabled','getTextureNode','gtaoPass','updateCamera','190FsxctB','threshold','fxaaEnabled','onBuildFinalNode','focalLengthNode','outlinePulsePeriod','updateSteps','focus','visibleEdgeColor','Outline','traa','radius','needsUpdate','setMRT','ghostAttenuationFactor','edgeStrength','dofPass','bloomThreshold','outlineHiddenEdgeColor','scale','find','gtaoDistanceExponent'];_0x1c3a=function(){return _0x5337b5;};return _0x1c3a();}class PostProcessManager{constructor(_0x18e81e,_0x55f809,_0x5c9469,_0x497588,_0x27225b){const _0x1bf0dd=_0x3888;this[_0x1bf0dd(0x10f)]=null,this[_0x1bf0dd(0x175)]=[],this[_0x1bf0dd(0x173)]=null,this[_0x1bf0dd(0x166)]=null,this[_0x1bf0dd(0x120)]=null,this['dofPass']=null,this[_0x1bf0dd(0x145)]=null,this['traaPass']=null,this[_0x1bf0dd(0x12a)]=null,this[_0x1bf0dd(0x125)]=null,this[_0x1bf0dd(0x164)]=null,this[_0x1bf0dd(0x111)]=_0x18e81e,this['scene']=_0x55f809,this['camera']=_0x5c9469,this[_0x1bf0dd(0x12c)]=Object[_0x1bf0dd(0x10c)]({},_0x497588),this[_0x1bf0dd(0x164)]=_0x27225b!==null&&_0x27225b!==void 0?_0x27225b:null;}get['processing'](){const _0x3b5abb=_0x3888;return this[_0x3b5abb(0x10f)];}[_0x546c1a(0x146)](_0x1b1a88){const _0x3612a3=_0x546c1a;this[_0x3612a3(0x16e)]=_0x1b1a88,(!this['postProcessing']||!this[_0x3612a3(0x173)])&&(this[_0x3612a3(0x126)](),this[_0x3612a3(0x16d)](),this['markDirty']());}['setup'](){const _0x1254f4=_0x546c1a;(!this[_0x1254f4(0x10f)]||!this[_0x1254f4(0x173)])&&this[_0x1254f4(0x126)](),this['updateAllUniforms'](),this['markDirty']();}[_0x546c1a(0x126)](){const _0x4a2653=_0x546c1a;var _0x4b11f3,_0x1b7a59,_0xf991d5,_0x1183c2,_0x39c081;this['postProcessing']&&this['postProcessing'][_0x4a2653(0x110)]();this[_0x4a2653(0x10f)]=new webgpu.PostProcessing(this['renderer']),this[_0x4a2653(0x173)]=this[_0x4a2653(0x133)]();const _0x44a44e=tsl.pass(this['scene'],this[_0x4a2653(0x16e)]);_0x44a44e[_0x4a2653(0x154)](tsl.mrt({'output':tsl.output,'normal':tsl.normalView,'velocity':tsl.velocity}));const _0x53fe4b=_0x44a44e['getTextureNode'](_0x4a2653(0x109)),_0x40b390=_0x44a44e['getTextureNode']('normal'),_0x362e80=_0x44a44e['getTextureNode'](_0x4a2653(0x13d)),_0x4b36d8=_0x44a44e['getTextureNode'](_0x4a2653(0x178)),_0x739ad9=_0x44a44e[_0x4a2653(0x17b)](),_0x2204c4=this[_0x4a2653(0x173)],_0x2bb98b=(_0x4b11f3=this[_0x4a2653(0x16b)](exports.PostProcessStepType[_0x4a2653(0x161)]))!==null&&_0x4b11f3!==void 0?_0x4b11f3:DefaultBloomParam;this['bloomPass']=BloomNode_js.bloom(_0x53fe4b),this[_0x4a2653(0x120)][_0x4a2653(0x148)][_0x4a2653(0x13b)]=_0x2bb98b[_0x4a2653(0x148)],this[_0x4a2653(0x120)][_0x4a2653(0x179)][_0x4a2653(0x13b)]=_0x2bb98b[_0x4a2653(0x179)],this[_0x4a2653(0x120)]['radius'][_0x4a2653(0x13b)]=_0x2bb98b[_0x4a2653(0x152)];const _0x283204=_0x53fe4b[_0x4a2653(0x124)](this[_0x4a2653(0x120)][_0x4a2653(0x104)](_0x2204c4[_0x4a2653(0x128)])),_0x19cbd7=_0x2204c4[_0x4a2653(0x143)][_0x4a2653(0x167)](0.5)['select'](_0x283204,_0x53fe4b),_0x125535=(_0x1b7a59=this[_0x4a2653(0x16b)](exports.PostProcessStepType[_0x4a2653(0x117)]))!==null&&_0x1b7a59!==void 0?_0x1b7a59:DefaultLensFlareParam;this['lensflarePass']=LensflareNode_js.lensflare(this[_0x4a2653(0x120)][_0x4a2653(0x144)](),{'ghostTint':tsl.vec3(_0x125535[_0x4a2653(0x176)][0x0],_0x125535[_0x4a2653(0x176)][0x1],_0x125535['ghostTint'][0x2]),'threshold':tsl.float(_0x125535[_0x4a2653(0x148)]),'ghostSamples':tsl.float(_0x125535[_0x4a2653(0x15d)]),'ghostSpacing':tsl.float(_0x125535[_0x4a2653(0x15e)]),'ghostAttenuationFactor':tsl.float(_0x125535[_0x4a2653(0x155)]),'downSampleRatio':_0x125535['downSampleRatio']});const _0x2c386c=_0x19cbd7[_0x4a2653(0x124)](this['lensflarePass'][_0x4a2653(0x144)]()),_0x364f0f=_0x2204c4[_0x4a2653(0x131)][_0x4a2653(0x167)](0.5)['select'](_0x2c386c,_0x19cbd7),_0x53b120=(_0xf991d5=this[_0x4a2653(0x16b)](exports.PostProcessStepType[_0x4a2653(0x113)]))!==null&&_0xf991d5!==void 0?_0xf991d5:DefaultDOFParam;this['dofPass']=DepthOfFieldNode_js.dof(_0x364f0f,_0x739ad9,tsl.uniform(_0x53b120['focus']),tsl.uniform(_0x53b120[_0x4a2653(0x130)]),tsl.uniform(_0x53b120[_0x4a2653(0x171)]));const _0x4c9b61=_0x2204c4[_0x4a2653(0x116)]['greaterThan'](0.5)[_0x4a2653(0x136)](this[_0x4a2653(0x157)],_0x364f0f),_0x52b5d3=(_0x1183c2=this['getStepParam'](exports.PostProcessStepType[_0x4a2653(0x108)]))!==null&&_0x1183c2!==void 0?_0x1183c2:DefaultGTAOParam;this[_0x4a2653(0x145)]=GTAONode_js.ao(_0x362e80,_0x40b390,this[_0x4a2653(0x16e)]),this[_0x4a2653(0x145)][_0x4a2653(0x177)]=0.5,this[_0x4a2653(0x145)][_0x4a2653(0x129)][_0x4a2653(0x13b)]=_0x52b5d3[_0x4a2653(0x129)],this[_0x4a2653(0x145)][_0x4a2653(0x122)]['value']=_0x52b5d3[_0x4a2653(0x122)],this[_0x4a2653(0x145)]['radius'][_0x4a2653(0x13b)]=_0x52b5d3[_0x4a2653(0x152)],this[_0x4a2653(0x145)][_0x4a2653(0x15a)]['value']=_0x52b5d3['scale'],this[_0x4a2653(0x145)][_0x4a2653(0x13f)][_0x4a2653(0x13b)]=_0x52b5d3[_0x4a2653(0x13f)],this['gtaoPass'][_0x4a2653(0x140)][_0x4a2653(0x13b)]=_0x52b5d3[_0x4a2653(0x140)],this[_0x4a2653(0x145)][_0x4a2653(0x107)]=_0x52b5d3['useTemporalFiltering'];const _0x13fa95=this[_0x4a2653(0x145)][_0x4a2653(0x144)](),_0x3b96c1=_0x13fa95['r'],_0x186d1b=_0x4c9b61[_0x4a2653(0x104)](_0x3b96c1),_0x23463a=_0x2204c4[_0x4a2653(0x118)][_0x4a2653(0x167)](0.5)[_0x4a2653(0x136)](_0x186d1b,_0x4c9b61),_0x107561=(_0x39c081=this[_0x4a2653(0x16b)](exports.PostProcessStepType[_0x4a2653(0x150)]))!==null&&_0x39c081!==void 0?_0x39c081:DefaultOutlineParams;this[_0x4a2653(0x166)]=OutlineNode_js.outline(this[_0x4a2653(0x137)],this[_0x4a2653(0x16e)],{'selectedObjects':this['outlineObjects'],'edgeGlow':tsl.uniform(_0x107561['edgeGlow']),'edgeThickness':tsl.uniform(_0x107561[_0x4a2653(0x105)])});const {visibleEdge:_0x26217e,hiddenEdge:_0x452271}=this[_0x4a2653(0x166)],_0x1707fc=_0x2204c4[_0x4a2653(0x14c)][_0x4a2653(0x167)](0x0)[_0x4a2653(0x136)](_0x2204c4[_0x4a2653(0x14c)],tsl.uniform(0x1)),_0x2a7c9b=tsl.time[_0x4a2653(0x11a)](_0x1707fc)['mul'](0x2),_0x967f1=tsl.oscSine(_0x2a7c9b)[_0x4a2653(0x104)](0.5)[_0x4a2653(0x124)](0.5),_0x2a9522=_0x26217e['mul'](_0x2204c4[_0x4a2653(0x112)])[_0x4a2653(0x124)](_0x452271[_0x4a2653(0x104)](_0x2204c4['outlineHiddenEdgeColor']))['mul'](_0x2204c4['outlineEdgeStrength']),_0x4cf317=_0x2204c4['outlinePulsePeriod'][_0x4a2653(0x167)](0x0)[_0x4a2653(0x136)](_0x2a9522[_0x4a2653(0x104)](_0x967f1),_0x2a9522),_0x146363=_0x4cf317[_0x4a2653(0x124)](_0x23463a),_0xb941a4=_0x2204c4[_0x4a2653(0x114)][_0x4a2653(0x167)](0.5)[_0x4a2653(0x136)](_0x146363,_0x23463a),_0x299dd1=FXAANode_js.fxaa(_0xb941a4),_0x1b2b58=_0x2204c4[_0x4a2653(0x149)][_0x4a2653(0x167)](0.5)[_0x4a2653(0x136)](_0x299dd1,_0xb941a4),_0x3b89f9=SMAANode_js.smaa(_0x1b2b58),_0x286de9=_0x2204c4[_0x4a2653(0x12e)][_0x4a2653(0x167)](0.5)[_0x4a2653(0x136)](_0x3b89f9,_0x1b2b58),_0x37b398=this[_0x4a2653(0x16b)](exports.PostProcessStepType[_0x4a2653(0x162)]);let _0x31621f=_0x286de9;_0x37b398&&_0x37b398[_0x4a2653(0x12f)]===_0x4a2653(0x151)&&(this[_0x4a2653(0x174)]=TRAANode_js.traa(_0x286de9,_0x362e80,_0x4b36d8,this[_0x4a2653(0x16e)]),_0x31621f=this['traaPass']['getTextureNode']()),_0x31621f=this[_0x4a2653(0x14a)](_0x31621f),this[_0x4a2653(0x10f)]['outputNode']=_0x31621f,this['postProcessing'][_0x4a2653(0x153)]=!![];}['onBuildFinalNode'](_0x4a3904){return _0x4a3904;}['createEffectUniforms'](){const _0x5bf3ce=_0x546c1a;var _0x132dee,_0x590639,_0x21f3ed,_0x3e378e;const _0x4233bb=(_0x132dee=this[_0x5bf3ce(0x16b)](exports.PostProcessStepType['Bloom']))!==null&&_0x132dee!==void 0?_0x132dee:DefaultBloomParam,_0x8b914b=(_0x590639=this[_0x5bf3ce(0x16b)](exports.PostProcessStepType[_0x5bf3ce(0x113)]))!==null&&_0x590639!==void 0?_0x590639:DefaultDOFParam,_0x57462d=(_0x21f3ed=this[_0x5bf3ce(0x16b)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x21f3ed!==void 0?_0x21f3ed:DefaultGTAOParam,_0x14b6b0=(_0x3e378e=this[_0x5bf3ce(0x16b)](exports.PostProcessStepType['Outline']))!==null&&_0x3e378e!==void 0?_0x3e378e:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0x4233bb[_0x5bf3ce(0x179)]),'bloomThreshold':tsl.uniform(_0x4233bb[_0x5bf3ce(0x148)]),'bloomRadius':tsl.uniform(_0x4233bb[_0x5bf3ce(0x152)]),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x8b914b[_0x5bf3ce(0x14e)]),'dofAperture':tsl.uniform(_0x8b914b[_0x5bf3ce(0x130)]),'dofMaxBlur':tsl.uniform(_0x8b914b['maxblur']),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0x57462d[_0x5bf3ce(0x15a)]),'gtaoDistanceExponent':tsl.uniform(_0x57462d['distanceExponent']),'gtaoDistanceFallOff':tsl.uniform(_0x57462d['distanceFallOff']),'gtaoRadius':tsl.uniform(_0x57462d[_0x5bf3ce(0x152)]),'gtaoThickness':tsl.uniform(_0x57462d['thickness']),'gtaoSamples':tsl.uniform(_0x57462d[_0x5bf3ce(0x140)]),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x14b6b0[_0x5bf3ce(0x156)]),'outlineEdgeGlow':tsl.uniform(_0x14b6b0[_0x5bf3ce(0x132)]),'outlineEdgeThickness':tsl.uniform(_0x14b6b0[_0x5bf3ce(0x105)]),'outlinePulsePeriod':tsl.uniform(_0x14b6b0['pulsePeriod']),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x14b6b0[_0x5bf3ce(0x14f)])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x14b6b0[_0x5bf3ce(0x13c)])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}[_0x546c1a(0x16b)](_0x5d44b9){const _0x385b9f=_0x546c1a;var _0x484f3c;return (_0x484f3c=this[_0x385b9f(0x12c)][_0x385b9f(0x134)][_0x385b9f(0x15b)](_0x1b76ec=>_0x1b76ec[_0x385b9f(0x121)]===_0x5d44b9))!==null&&_0x484f3c!==void 0?_0x484f3c:null;}['updateAllUniforms'](){const _0x2b3ac1=_0x546c1a;if(!this[_0x2b3ac1(0x173)])return;const _0x5cd45f=this[_0x2b3ac1(0x173)],_0x2b2d20=new Set(this['postProcessParam'][_0x2b3ac1(0x134)]['map'](_0x4a5627=>_0x4a5627['type']));_0x5cd45f[_0x2b3ac1(0x143)][_0x2b3ac1(0x13b)]=_0x2b2d20[_0x2b3ac1(0x127)](exports.PostProcessStepType[_0x2b3ac1(0x161)])?0x1:0x0,_0x5cd45f[_0x2b3ac1(0x116)][_0x2b3ac1(0x13b)]=_0x2b2d20['has'](exports.PostProcessStepType[_0x2b3ac1(0x113)])?0x1:0x0,_0x5cd45f['gtaoEnabled']['value']=_0x2b2d20[_0x2b3ac1(0x127)](exports.PostProcessStepType[_0x2b3ac1(0x108)])?0x1:0x0,_0x5cd45f[_0x2b3ac1(0x114)][_0x2b3ac1(0x13b)]=_0x2b2d20[_0x2b3ac1(0x127)](exports.PostProcessStepType[_0x2b3ac1(0x150)])?0x1:0x0,_0x5cd45f['lensflareEnabled'][_0x2b3ac1(0x13b)]=_0x2b2d20[_0x2b3ac1(0x127)](exports.PostProcessStepType[_0x2b3ac1(0x117)])?0x1:0x0;const _0x2d22fb=this[_0x2b3ac1(0x16b)](exports.PostProcessStepType[_0x2b3ac1(0x162)]);_0x2d22fb?(_0x5cd45f['fxaaEnabled'][_0x2b3ac1(0x13b)]=_0x2d22fb[_0x2b3ac1(0x12f)]===_0x2b3ac1(0x13a)?0x1:0x0,_0x5cd45f[_0x2b3ac1(0x12e)][_0x2b3ac1(0x13b)]=_0x2d22fb[_0x2b3ac1(0x12f)]===_0x2b3ac1(0x141)?0x1:0x0):(_0x5cd45f[_0x2b3ac1(0x149)][_0x2b3ac1(0x13b)]=0x0,_0x5cd45f[_0x2b3ac1(0x12e)]['value']=0x0);const _0x24cee7=this[_0x2b3ac1(0x16b)](exports.PostProcessStepType['Bloom']);_0x24cee7&&(_0x5cd45f[_0x2b3ac1(0x128)][_0x2b3ac1(0x13b)]=_0x24cee7['strength'],_0x5cd45f[_0x2b3ac1(0x158)][_0x2b3ac1(0x13b)]=_0x24cee7[_0x2b3ac1(0x148)],_0x5cd45f[_0x2b3ac1(0x10b)]['value']=_0x24cee7['radius'],this[_0x2b3ac1(0x120)]&&(this[_0x2b3ac1(0x120)][_0x2b3ac1(0x148)][_0x2b3ac1(0x13b)]=_0x24cee7[_0x2b3ac1(0x148)],this[_0x2b3ac1(0x120)]['strength'][_0x2b3ac1(0x13b)]=_0x24cee7['strength'],this['bloomPass'][_0x2b3ac1(0x152)]['value']=_0x24cee7[_0x2b3ac1(0x152)]));const _0x3a93b5=this[_0x2b3ac1(0x16b)](exports.PostProcessStepType[_0x2b3ac1(0x117)]);if(_0x3a93b5&&this[_0x2b3ac1(0x12a)]);const _0x5f518d=this[_0x2b3ac1(0x16b)](exports.PostProcessStepType[_0x2b3ac1(0x113)]);_0x5f518d&&(_0x5cd45f['dofFocus']['value']=_0x5f518d['focus'],_0x5cd45f[_0x2b3ac1(0x17d)][_0x2b3ac1(0x13b)]=_0x5f518d['aperture'],_0x5cd45f['dofMaxBlur'][_0x2b3ac1(0x13b)]=_0x5f518d[_0x2b3ac1(0x171)],this[_0x2b3ac1(0x157)]&&(this[_0x2b3ac1(0x157)][_0x2b3ac1(0x11e)][_0x2b3ac1(0x13b)]=_0x5f518d[_0x2b3ac1(0x14e)],this[_0x2b3ac1(0x157)][_0x2b3ac1(0x14b)][_0x2b3ac1(0x13b)]=_0x5f518d[_0x2b3ac1(0x130)],this[_0x2b3ac1(0x157)][_0x2b3ac1(0x169)]['value']=_0x5f518d['maxblur']));const _0x32f368=this['getStepParam'](exports.PostProcessStepType[_0x2b3ac1(0x108)]);_0x32f368&&(_0x5cd45f[_0x2b3ac1(0x12d)][_0x2b3ac1(0x13b)]=_0x32f368[_0x2b3ac1(0x15a)],_0x5cd45f[_0x2b3ac1(0x15c)]['value']=_0x32f368['distanceExponent'],_0x5cd45f['gtaoDistanceFallOff']['value']=_0x32f368[_0x2b3ac1(0x122)],_0x5cd45f[_0x2b3ac1(0x11d)][_0x2b3ac1(0x13b)]=_0x32f368[_0x2b3ac1(0x152)],_0x5cd45f['gtaoThickness'][_0x2b3ac1(0x13b)]=_0x32f368['thickness'],_0x5cd45f[_0x2b3ac1(0x10d)][_0x2b3ac1(0x13b)]=_0x32f368[_0x2b3ac1(0x140)],this[_0x2b3ac1(0x145)]&&(this['gtaoPass'][_0x2b3ac1(0x129)][_0x2b3ac1(0x13b)]=_0x32f368['distanceExponent'],this[_0x2b3ac1(0x145)][_0x2b3ac1(0x122)][_0x2b3ac1(0x13b)]=_0x32f368[_0x2b3ac1(0x122)],this[_0x2b3ac1(0x145)][_0x2b3ac1(0x152)]['value']=_0x32f368[_0x2b3ac1(0x152)],this[_0x2b3ac1(0x145)]['scale']['value']=_0x32f368['scale'],this['gtaoPass'][_0x2b3ac1(0x13f)][_0x2b3ac1(0x13b)]=_0x32f368[_0x2b3ac1(0x13f)],this[_0x2b3ac1(0x145)][_0x2b3ac1(0x140)][_0x2b3ac1(0x13b)]=_0x32f368[_0x2b3ac1(0x140)],this['gtaoPass']['useTemporalFiltering']=_0x32f368['useTemporalFiltering']));const _0x1adb17=this['getStepParam'](exports.PostProcessStepType[_0x2b3ac1(0x150)]);_0x1adb17&&(_0x5cd45f[_0x2b3ac1(0x165)][_0x2b3ac1(0x13b)]=_0x1adb17['edgeStrength'],_0x5cd45f[_0x2b3ac1(0x135)][_0x2b3ac1(0x13b)]=_0x1adb17[_0x2b3ac1(0x132)],_0x5cd45f[_0x2b3ac1(0x172)][_0x2b3ac1(0x13b)]=_0x1adb17[_0x2b3ac1(0x105)],_0x5cd45f['outlinePulsePeriod']['value']=_0x1adb17[_0x2b3ac1(0x106)],_0x5cd45f[_0x2b3ac1(0x112)][_0x2b3ac1(0x13b)][_0x2b3ac1(0x119)](_0x1adb17['visibleEdgeColor']),_0x5cd45f[_0x2b3ac1(0x159)]['value'][_0x2b3ac1(0x119)](_0x1adb17[_0x2b3ac1(0x13c)]),this[_0x2b3ac1(0x166)]&&(this[_0x2b3ac1(0x166)][_0x2b3ac1(0x11c)][_0x2b3ac1(0x13b)]=_0x1adb17[_0x2b3ac1(0x132)],this[_0x2b3ac1(0x166)][_0x2b3ac1(0x16c)][_0x2b3ac1(0x13b)]=_0x1adb17[_0x2b3ac1(0x105)],this['outlinePass'][_0x2b3ac1(0x11b)]=this['outlineObjects']));}[_0x546c1a(0x14d)](_0x40ff78){const _0x407b4f=_0x546c1a;this[_0x407b4f(0x12c)][_0x407b4f(0x134)]=_0x40ff78,(!this[_0x407b4f(0x173)]||!this[_0x407b4f(0x10f)])&&this[_0x407b4f(0x126)](),this[_0x407b4f(0x16d)](),this[_0x407b4f(0x17c)]();}['addOutlineObject'](_0x1b052f){const _0x45c38d=_0x546c1a;!this['outlineObjects'][_0x45c38d(0x142)](_0x1b052f)&&(this[_0x45c38d(0x175)][_0x45c38d(0x10a)](_0x1b052f),this[_0x45c38d(0x166)]&&(this[_0x45c38d(0x166)][_0x45c38d(0x11b)]=this[_0x45c38d(0x175)])),this['markDirty']();}[_0x546c1a(0x15f)](_0x4f7cc3){const _0x4574de=_0x546c1a;this[_0x4574de(0x175)]['length']=0x0,this[_0x4574de(0x175)][_0x4574de(0x10a)](..._0x4f7cc3),this['outlinePass']&&(this['outlinePass']['selectedObjects']=this[_0x4574de(0x175)]),this['markDirty']();}['removeOutlineObject'](_0x69ec20){const _0x1fef10=_0x546c1a,_0x562919=this[_0x1fef10(0x175)][_0x1fef10(0x138)](_0x69ec20);_0x562919>-1&&(this['outlineObjects'][_0x1fef10(0x16a)](_0x562919,0x1),this[_0x1fef10(0x166)]&&(this['outlinePass'][_0x1fef10(0x11b)]=this[_0x1fef10(0x175)])),this['markDirty']();}[_0x546c1a(0x123)](_0x10dbc7){const _0x58def0=_0x546c1a;this[_0x58def0(0x125)]=_0x10dbc7,this[_0x58def0(0x126)](),this[_0x58def0(0x16d)](),this[_0x58def0(0x17c)]();}[_0x546c1a(0x170)](){const _0x5b9846=_0x546c1a;return this[_0x5b9846(0x125)];}[_0x546c1a(0x13e)](){const _0x1ff7f1=_0x546c1a;if(this['postProcessing'])return this[_0x1ff7f1(0x10f)][_0x1ff7f1(0x13e)](),!![];return ![];}['destroy'](){const _0x1ee76a=_0x546c1a;this['outlineObjects']=[],this['effectUniforms']=null,this['outlinePass']=null,this[_0x1ee76a(0x120)]=null,this['dofPass']=null,this[_0x1ee76a(0x145)]=null,this['traaPass']=null,this[_0x1ee76a(0x12a)]=null,this[_0x1ee76a(0x125)]=null,this[_0x1ee76a(0x10f)]&&(this[_0x1ee76a(0x10f)][_0x1ee76a(0x110)](),this[_0x1ee76a(0x10f)]=null);}['markDirty'](){const _0x2a8068=_0x546c1a;this[_0x2a8068(0x164)]&&this[_0x2a8068(0x164)]();}}
|
|
62
|
+
const _0x1a50c9=_0x51a9;(function(_0x35fbe7,_0x2025c2){const _0xdfc0aa=_0x51a9,_0x2f6382=_0x35fbe7();while(!![]){try{const _0x378b07=-parseInt(_0xdfc0aa(0x147))/0x1*(-parseInt(_0xdfc0aa(0x149))/0x2)+parseInt(_0xdfc0aa(0xf2))/0x3*(parseInt(_0xdfc0aa(0xd3))/0x4)+-parseInt(_0xdfc0aa(0xda))/0x5+parseInt(_0xdfc0aa(0x12b))/0x6*(parseInt(_0xdfc0aa(0xd9))/0x7)+-parseInt(_0xdfc0aa(0x11b))/0x8+-parseInt(_0xdfc0aa(0x11c))/0x9+parseInt(_0xdfc0aa(0x109))/0xa;if(_0x378b07===_0x2025c2)break;else _0x2f6382['push'](_0x2f6382['shift']());}catch(_0x21353e){_0x2f6382['push'](_0x2f6382['shift']());}}}(_0x5f2b,0x81988));function _0x5f2b(){const _0x4e111b=['outlineEnabled','7bUHVoo','3369670GOwVnT','addOutlineObject','ghostTint','radius','ghostSpacing','setLUT3DTexture','getViewZNode','mul','pulsePeriod','getStepParam','renderer','fxaa','scale','dofFocus','outlineEdgeGlow','edgeGlowNode','depth','has','outlineObjects','assign','lensflareEnabled','push','setMRT','smaaEnabled','1231491nZgwwB','maxblur','lut3dTexture','focalLengthNode','selectedObjects','getLUT3DTexture','removeOutlineObject','value','Bloom','outlineEdgeThickness','gtaoScale','outlinePass','outlinePulsePeriod','render','updateAllUniforms','traaPass','createEffectUniforms','outlineEdgeStrength','visibleEdgeColor','markDirty','outputNode','gtaoDistanceFallOff','dofEnabled','9726690kBflOY','downSampleRatio','select','edgeGlow','camera','threshold','smaa','gtaoSamples','setOutlineObjects','gtaoRadius','getTextureNode','gtaoEnabled','length','setup','aperture','outlineVisibleEdgeColor','thickness','bokehScaleNode','5272992mHPtyj','3708288HMmiCJ','needsUpdate','steps','method','distanceExponent','output','destroy','outlineHiddenEdgeColor','add','div','ghostAttenuationFactor','bloomRadius','set','strength','focusDistanceNode','2419194gwqDCD','updateCamera','dofAperture','DepthOfField','scene','bloomThreshold','edgeThicknessNode','Antialiasing','distanceFallOff','focus','lensflarePass','samples','postProcessParam','edgeThickness','Outline','normal','effectUniforms','dispose','bloomPass','GroundTruthAmbientOcclusion','gtaoThickness','bloomStrength','LensFlare','greaterThan','type','ghostSamples','postProcessing','bloomEnabled','39526yPvJrh','useTemporalFiltering','4bdqMch','dofPass','fxaaEnabled','updateSteps','gtaoPass','splice','onDirtyCallback','map','gtaoDistanceExponent','8eaGFmA','hiddenEdgeColor','buildPipeline','traa','edgeStrength'];_0x5f2b=function(){return _0x4e111b;};return _0x5f2b();}function _0x51a9(_0x2d4be4,_0x896436){_0x2d4be4=_0x2d4be4-0xcc;const _0x5f2b62=_0x5f2b();let _0x51a991=_0x5f2b62[_0x2d4be4];return _0x51a991;}class PostProcessManager{constructor(_0x444090,_0x4873ef,_0x57a398,_0x1e690b,_0x5ad37a){const _0x3a7c99=_0x51a9;this[_0x3a7c99(0x145)]=null,this[_0x3a7c99(0xec)]=[],this[_0x3a7c99(0x13b)]=null,this[_0x3a7c99(0xfd)]=null,this[_0x3a7c99(0x13d)]=null,this[_0x3a7c99(0x14a)]=null,this[_0x3a7c99(0xce)]=null,this['traaPass']=null,this[_0x3a7c99(0x135)]=null,this[_0x3a7c99(0xf4)]=null,this[_0x3a7c99(0xd0)]=null,this[_0x3a7c99(0xe4)]=_0x444090,this[_0x3a7c99(0x12f)]=_0x4873ef,this[_0x3a7c99(0x10d)]=_0x57a398,this['postProcessParam']=Object[_0x3a7c99(0xed)]({},_0x1e690b),this[_0x3a7c99(0xd0)]=_0x5ad37a!==null&&_0x5ad37a!==void 0?_0x5ad37a:null;}get['processing'](){const _0x4ab7b6=_0x51a9;return this[_0x4ab7b6(0x145)];}[_0x1a50c9(0x12c)](_0x20ecf2){const _0x19d43e=_0x1a50c9;this['camera']=_0x20ecf2,(!this[_0x19d43e(0x145)]||!this[_0x19d43e(0x13b)])&&(this['buildPipeline'](),this[_0x19d43e(0x100)](),this[_0x19d43e(0x105)]());}[_0x1a50c9(0x116)](){const _0x2c00ed=_0x1a50c9;(!this[_0x2c00ed(0x145)]||!this['effectUniforms'])&&this[_0x2c00ed(0xd5)](),this[_0x2c00ed(0x100)](),this[_0x2c00ed(0x105)]();}[_0x1a50c9(0xd5)](){const _0x545509=_0x1a50c9;var _0x445f52,_0x281603,_0x5c9756,_0x477b0c,_0x46b9ec;this[_0x545509(0x145)]&&this[_0x545509(0x145)][_0x545509(0x13c)]();this[_0x545509(0x145)]=new webgpu.PostProcessing(this[_0x545509(0xe4)]),this['effectUniforms']=this[_0x545509(0x102)]();const _0x2dc04e=tsl.pass(this['scene'],this[_0x545509(0x10d)]);_0x2dc04e[_0x545509(0xf0)](tsl.mrt({'output':tsl.output,'normal':tsl.normalView,'velocity':tsl.velocity}));const _0x5355c0=_0x2dc04e[_0x545509(0x113)](_0x545509(0x121)),_0x5286c8=_0x2dc04e[_0x545509(0x113)](_0x545509(0x13a)),_0x1f28bd=_0x2dc04e[_0x545509(0x113)](_0x545509(0xea)),_0x446418=_0x2dc04e[_0x545509(0x113)]('velocity'),_0x36d28e=_0x2dc04e[_0x545509(0xe0)](),_0xd6957a=this[_0x545509(0x13b)],_0x34f4cf=(_0x445f52=this[_0x545509(0xe3)](exports.PostProcessStepType[_0x545509(0xfa)]))!==null&&_0x445f52!==void 0?_0x445f52:DefaultBloomParam;this[_0x545509(0x13d)]=BloomNode_js.bloom(_0x5355c0),this[_0x545509(0x13d)]['threshold'][_0x545509(0xf9)]=_0x34f4cf[_0x545509(0x10e)],this[_0x545509(0x13d)]['strength'][_0x545509(0xf9)]=_0x34f4cf[_0x545509(0x129)],this[_0x545509(0x13d)][_0x545509(0xdd)][_0x545509(0xf9)]=_0x34f4cf[_0x545509(0xdd)];const _0x39b128=_0x5355c0[_0x545509(0x124)](this['bloomPass'][_0x545509(0xe1)](_0xd6957a[_0x545509(0x140)])),_0x2c82f5=_0xd6957a[_0x545509(0x146)][_0x545509(0x142)](0.5)[_0x545509(0x10b)](_0x39b128,_0x5355c0),_0x1a4f98=(_0x281603=this[_0x545509(0xe3)](exports.PostProcessStepType['LensFlare']))!==null&&_0x281603!==void 0?_0x281603:DefaultLensFlareParam;this['lensflarePass']=LensflareNode_js.lensflare(this[_0x545509(0x13d)][_0x545509(0x113)](),{'ghostTint':tsl.vec3(_0x1a4f98[_0x545509(0xdc)][0x0],_0x1a4f98[_0x545509(0xdc)][0x1],_0x1a4f98['ghostTint'][0x2]),'threshold':tsl.float(_0x1a4f98[_0x545509(0x10e)]),'ghostSamples':tsl.float(_0x1a4f98[_0x545509(0x144)]),'ghostSpacing':tsl.float(_0x1a4f98[_0x545509(0xde)]),'ghostAttenuationFactor':tsl.float(_0x1a4f98[_0x545509(0x126)]),'downSampleRatio':_0x1a4f98[_0x545509(0x10a)]});const _0x42af0f=_0x2c82f5['add'](this['lensflarePass'][_0x545509(0x113)]()),_0xfd09e0=_0xd6957a[_0x545509(0xee)]['greaterThan'](0.5)['select'](_0x42af0f,_0x2c82f5),_0x23b829=(_0x5c9756=this[_0x545509(0xe3)](exports.PostProcessStepType[_0x545509(0x12e)]))!==null&&_0x5c9756!==void 0?_0x5c9756:DefaultDOFParam;this[_0x545509(0x14a)]=DepthOfFieldNode_js.dof(_0xfd09e0,_0x36d28e,tsl.uniform(_0x23b829[_0x545509(0x134)]),tsl.uniform(_0x23b829[_0x545509(0x117)]),tsl.uniform(_0x23b829[_0x545509(0xf3)]));const _0x50944c=_0xd6957a[_0x545509(0x108)][_0x545509(0x142)](0.5)[_0x545509(0x10b)](this[_0x545509(0x14a)],_0xfd09e0),_0x3558cb=(_0x477b0c=this['getStepParam'](exports.PostProcessStepType[_0x545509(0x13e)]))!==null&&_0x477b0c!==void 0?_0x477b0c:DefaultGTAOParam;this[_0x545509(0xce)]=GTAONode_js.ao(_0x1f28bd,_0x5286c8,this[_0x545509(0x10d)]),this['gtaoPass']['resolutionScale']=0.5,this[_0x545509(0xce)][_0x545509(0x120)][_0x545509(0xf9)]=_0x3558cb['distanceExponent'],this[_0x545509(0xce)]['distanceFallOff'][_0x545509(0xf9)]=_0x3558cb[_0x545509(0x133)],this['gtaoPass'][_0x545509(0xdd)][_0x545509(0xf9)]=_0x3558cb[_0x545509(0xdd)],this[_0x545509(0xce)][_0x545509(0xe6)]['value']=_0x3558cb[_0x545509(0xe6)],this[_0x545509(0xce)][_0x545509(0x119)]['value']=_0x3558cb[_0x545509(0x119)],this['gtaoPass'][_0x545509(0x136)]['value']=_0x3558cb[_0x545509(0x136)],this[_0x545509(0xce)]['useTemporalFiltering']=_0x3558cb['useTemporalFiltering'];const _0x52dc34=this[_0x545509(0xce)][_0x545509(0x113)](),_0x1ce40e=_0x52dc34['r'],_0x2d018d=_0x50944c[_0x545509(0xe1)](_0x1ce40e),_0x695ab3=_0xd6957a['gtaoEnabled']['greaterThan'](0.5)[_0x545509(0x10b)](_0x2d018d,_0x50944c),_0x26d44f=(_0x46b9ec=this['getStepParam'](exports.PostProcessStepType[_0x545509(0x139)]))!==null&&_0x46b9ec!==void 0?_0x46b9ec:DefaultOutlineParams;this[_0x545509(0xfd)]=OutlineNode_js.outline(this[_0x545509(0x12f)],this['camera'],{'selectedObjects':this[_0x545509(0xec)],'edgeGlow':tsl.uniform(_0x26d44f['edgeGlow']),'edgeThickness':tsl.uniform(_0x26d44f[_0x545509(0x138)])});const {visibleEdge:_0x1d0d70,hiddenEdge:_0x58a4e1}=this[_0x545509(0xfd)],_0x3fdd75=_0xd6957a[_0x545509(0xfe)][_0x545509(0x142)](0x0)[_0x545509(0x10b)](_0xd6957a['outlinePulsePeriod'],tsl.uniform(0x1)),_0x3b391a=tsl.time[_0x545509(0x125)](_0x3fdd75)[_0x545509(0xe1)](0x2),_0x281927=tsl.oscSine(_0x3b391a)[_0x545509(0xe1)](0.5)['add'](0.5),_0x2edc45=_0x1d0d70[_0x545509(0xe1)](_0xd6957a[_0x545509(0x118)])['add'](_0x58a4e1[_0x545509(0xe1)](_0xd6957a[_0x545509(0x123)]))[_0x545509(0xe1)](_0xd6957a[_0x545509(0x103)]),_0x3a3c0f=_0xd6957a[_0x545509(0xfe)][_0x545509(0x142)](0x0)[_0x545509(0x10b)](_0x2edc45[_0x545509(0xe1)](_0x281927),_0x2edc45),_0x2cbf57=_0x3a3c0f['add'](_0x695ab3),_0x246879=_0xd6957a[_0x545509(0xd8)][_0x545509(0x142)](0.5)['select'](_0x2cbf57,_0x695ab3),_0x1f83b0=FXAANode_js.fxaa(_0x246879),_0x3df7b0=_0xd6957a[_0x545509(0xcc)][_0x545509(0x142)](0.5)[_0x545509(0x10b)](_0x1f83b0,_0x246879),_0x9cf35f=SMAANode_js.smaa(_0x3df7b0),_0x5cc480=_0xd6957a['smaaEnabled'][_0x545509(0x142)](0.5)['select'](_0x9cf35f,_0x3df7b0),_0x4655dc=this[_0x545509(0xe3)](exports.PostProcessStepType[_0x545509(0x132)]);let _0x182043=_0x5cc480;_0x4655dc&&_0x4655dc[_0x545509(0x11f)]===_0x545509(0xd6)&&(this[_0x545509(0x101)]=TRAANode_js.traa(_0x5cc480,_0x1f28bd,_0x446418,this[_0x545509(0x10d)]),_0x182043=this[_0x545509(0x101)][_0x545509(0x113)]()),_0x182043=this['onBuildFinalNode'](_0x182043),this[_0x545509(0x145)][_0x545509(0x106)]=_0x182043,this[_0x545509(0x145)][_0x545509(0x11d)]=!![];}['onBuildFinalNode'](_0x5023ab){return _0x5023ab;}[_0x1a50c9(0x102)](){const _0x3f361c=_0x1a50c9;var _0x394bdd,_0x573f3a,_0x10af77,_0x36c29e;const _0x1510ed=(_0x394bdd=this[_0x3f361c(0xe3)](exports.PostProcessStepType[_0x3f361c(0xfa)]))!==null&&_0x394bdd!==void 0?_0x394bdd:DefaultBloomParam,_0x43b816=(_0x573f3a=this['getStepParam'](exports.PostProcessStepType[_0x3f361c(0x12e)]))!==null&&_0x573f3a!==void 0?_0x573f3a:DefaultDOFParam,_0x2f2b96=(_0x10af77=this[_0x3f361c(0xe3)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x10af77!==void 0?_0x10af77:DefaultGTAOParam,_0x4aae4d=(_0x36c29e=this[_0x3f361c(0xe3)](exports.PostProcessStepType[_0x3f361c(0x139)]))!==null&&_0x36c29e!==void 0?_0x36c29e:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0x1510ed[_0x3f361c(0x129)]),'bloomThreshold':tsl.uniform(_0x1510ed[_0x3f361c(0x10e)]),'bloomRadius':tsl.uniform(_0x1510ed[_0x3f361c(0xdd)]),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x43b816[_0x3f361c(0x134)]),'dofAperture':tsl.uniform(_0x43b816[_0x3f361c(0x117)]),'dofMaxBlur':tsl.uniform(_0x43b816[_0x3f361c(0xf3)]),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0x2f2b96[_0x3f361c(0xe6)]),'gtaoDistanceExponent':tsl.uniform(_0x2f2b96[_0x3f361c(0x120)]),'gtaoDistanceFallOff':tsl.uniform(_0x2f2b96['distanceFallOff']),'gtaoRadius':tsl.uniform(_0x2f2b96['radius']),'gtaoThickness':tsl.uniform(_0x2f2b96[_0x3f361c(0x119)]),'gtaoSamples':tsl.uniform(_0x2f2b96[_0x3f361c(0x136)]),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x4aae4d[_0x3f361c(0xd7)]),'outlineEdgeGlow':tsl.uniform(_0x4aae4d['edgeGlow']),'outlineEdgeThickness':tsl.uniform(_0x4aae4d[_0x3f361c(0x138)]),'outlinePulsePeriod':tsl.uniform(_0x4aae4d[_0x3f361c(0xe2)]),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x4aae4d[_0x3f361c(0x104)])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x4aae4d[_0x3f361c(0xd4)])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}[_0x1a50c9(0xe3)](_0x3c4f34){const _0x3f1f77=_0x1a50c9;var _0x2fc6dc;return (_0x2fc6dc=this[_0x3f1f77(0x137)][_0x3f1f77(0x11e)]['find'](_0xbd273e=>_0xbd273e[_0x3f1f77(0x143)]===_0x3c4f34))!==null&&_0x2fc6dc!==void 0?_0x2fc6dc:null;}[_0x1a50c9(0x100)](){const _0x1381d3=_0x1a50c9;if(!this[_0x1381d3(0x13b)])return;const _0xc1aed=this[_0x1381d3(0x13b)],_0x260ce9=new Set(this['postProcessParam'][_0x1381d3(0x11e)][_0x1381d3(0xd1)](_0x3e4ec4=>_0x3e4ec4[_0x1381d3(0x143)]));_0xc1aed[_0x1381d3(0x146)]['value']=_0x260ce9[_0x1381d3(0xeb)](exports.PostProcessStepType['Bloom'])?0x1:0x0,_0xc1aed[_0x1381d3(0x108)][_0x1381d3(0xf9)]=_0x260ce9[_0x1381d3(0xeb)](exports.PostProcessStepType['DepthOfField'])?0x1:0x0,_0xc1aed[_0x1381d3(0x114)][_0x1381d3(0xf9)]=_0x260ce9[_0x1381d3(0xeb)](exports.PostProcessStepType[_0x1381d3(0x13e)])?0x1:0x0,_0xc1aed[_0x1381d3(0xd8)][_0x1381d3(0xf9)]=_0x260ce9[_0x1381d3(0xeb)](exports.PostProcessStepType[_0x1381d3(0x139)])?0x1:0x0,_0xc1aed[_0x1381d3(0xee)][_0x1381d3(0xf9)]=_0x260ce9['has'](exports.PostProcessStepType[_0x1381d3(0x141)])?0x1:0x0;const _0x434655=this[_0x1381d3(0xe3)](exports.PostProcessStepType['Antialiasing']);_0x434655?(_0xc1aed[_0x1381d3(0xcc)][_0x1381d3(0xf9)]=_0x434655[_0x1381d3(0x11f)]===_0x1381d3(0xe5)?0x1:0x0,_0xc1aed[_0x1381d3(0xf1)][_0x1381d3(0xf9)]=_0x434655['method']===_0x1381d3(0x10f)?0x1:0x0):(_0xc1aed[_0x1381d3(0xcc)]['value']=0x0,_0xc1aed['smaaEnabled']['value']=0x0);const _0x429e9e=this['getStepParam'](exports.PostProcessStepType['Bloom']);_0x429e9e&&(_0xc1aed[_0x1381d3(0x140)]['value']=_0x429e9e[_0x1381d3(0x129)],_0xc1aed[_0x1381d3(0x130)][_0x1381d3(0xf9)]=_0x429e9e[_0x1381d3(0x10e)],_0xc1aed[_0x1381d3(0x127)][_0x1381d3(0xf9)]=_0x429e9e['radius'],this['bloomPass']&&(this['bloomPass'][_0x1381d3(0x10e)][_0x1381d3(0xf9)]=_0x429e9e['threshold'],this[_0x1381d3(0x13d)]['strength']['value']=_0x429e9e['strength'],this['bloomPass'][_0x1381d3(0xdd)][_0x1381d3(0xf9)]=_0x429e9e[_0x1381d3(0xdd)]));const _0x1b84b8=this[_0x1381d3(0xe3)](exports.PostProcessStepType[_0x1381d3(0x141)]);if(_0x1b84b8&&this[_0x1381d3(0x135)]);const _0x2e9907=this[_0x1381d3(0xe3)](exports.PostProcessStepType[_0x1381d3(0x12e)]);_0x2e9907&&(_0xc1aed[_0x1381d3(0xe7)]['value']=_0x2e9907['focus'],_0xc1aed[_0x1381d3(0x12d)][_0x1381d3(0xf9)]=_0x2e9907['aperture'],_0xc1aed['dofMaxBlur'][_0x1381d3(0xf9)]=_0x2e9907['maxblur'],this[_0x1381d3(0x14a)]&&(this['dofPass'][_0x1381d3(0x12a)]['value']=_0x2e9907[_0x1381d3(0x134)],this[_0x1381d3(0x14a)][_0x1381d3(0xf5)]['value']=_0x2e9907[_0x1381d3(0x117)],this[_0x1381d3(0x14a)][_0x1381d3(0x11a)]['value']=_0x2e9907[_0x1381d3(0xf3)]));const _0x5cca6e=this['getStepParam'](exports.PostProcessStepType[_0x1381d3(0x13e)]);_0x5cca6e&&(_0xc1aed[_0x1381d3(0xfc)][_0x1381d3(0xf9)]=_0x5cca6e[_0x1381d3(0xe6)],_0xc1aed[_0x1381d3(0xd2)][_0x1381d3(0xf9)]=_0x5cca6e[_0x1381d3(0x120)],_0xc1aed[_0x1381d3(0x107)][_0x1381d3(0xf9)]=_0x5cca6e[_0x1381d3(0x133)],_0xc1aed[_0x1381d3(0x112)][_0x1381d3(0xf9)]=_0x5cca6e['radius'],_0xc1aed[_0x1381d3(0x13f)][_0x1381d3(0xf9)]=_0x5cca6e[_0x1381d3(0x119)],_0xc1aed[_0x1381d3(0x110)]['value']=_0x5cca6e[_0x1381d3(0x136)],this['gtaoPass']&&(this[_0x1381d3(0xce)][_0x1381d3(0x120)][_0x1381d3(0xf9)]=_0x5cca6e['distanceExponent'],this[_0x1381d3(0xce)][_0x1381d3(0x133)][_0x1381d3(0xf9)]=_0x5cca6e[_0x1381d3(0x133)],this[_0x1381d3(0xce)][_0x1381d3(0xdd)]['value']=_0x5cca6e[_0x1381d3(0xdd)],this[_0x1381d3(0xce)][_0x1381d3(0xe6)][_0x1381d3(0xf9)]=_0x5cca6e[_0x1381d3(0xe6)],this[_0x1381d3(0xce)][_0x1381d3(0x119)][_0x1381d3(0xf9)]=_0x5cca6e[_0x1381d3(0x119)],this['gtaoPass'][_0x1381d3(0x136)]['value']=_0x5cca6e['samples'],this[_0x1381d3(0xce)][_0x1381d3(0x148)]=_0x5cca6e[_0x1381d3(0x148)]));const _0x2efc17=this[_0x1381d3(0xe3)](exports.PostProcessStepType[_0x1381d3(0x139)]);_0x2efc17&&(_0xc1aed[_0x1381d3(0x103)][_0x1381d3(0xf9)]=_0x2efc17[_0x1381d3(0xd7)],_0xc1aed[_0x1381d3(0xe8)]['value']=_0x2efc17[_0x1381d3(0x10c)],_0xc1aed[_0x1381d3(0xfb)]['value']=_0x2efc17[_0x1381d3(0x138)],_0xc1aed[_0x1381d3(0xfe)][_0x1381d3(0xf9)]=_0x2efc17[_0x1381d3(0xe2)],_0xc1aed[_0x1381d3(0x118)][_0x1381d3(0xf9)][_0x1381d3(0x128)](_0x2efc17[_0x1381d3(0x104)]),_0xc1aed[_0x1381d3(0x123)][_0x1381d3(0xf9)][_0x1381d3(0x128)](_0x2efc17['hiddenEdgeColor']),this['outlinePass']&&(this['outlinePass'][_0x1381d3(0xe9)][_0x1381d3(0xf9)]=_0x2efc17['edgeGlow'],this[_0x1381d3(0xfd)][_0x1381d3(0x131)][_0x1381d3(0xf9)]=_0x2efc17[_0x1381d3(0x138)],this['outlinePass'][_0x1381d3(0xf6)]=this[_0x1381d3(0xec)]));}[_0x1a50c9(0xcd)](_0x54bf2f){const _0x50acbd=_0x1a50c9;this[_0x50acbd(0x137)][_0x50acbd(0x11e)]=_0x54bf2f,(!this[_0x50acbd(0x13b)]||!this[_0x50acbd(0x145)])&&this[_0x50acbd(0xd5)](),this['updateAllUniforms'](),this[_0x50acbd(0x105)]();}[_0x1a50c9(0xdb)](_0x58922b){const _0x41d48d=_0x1a50c9;!this['outlineObjects']['includes'](_0x58922b)&&(this['outlineObjects'][_0x41d48d(0xef)](_0x58922b),this[_0x41d48d(0xfd)]&&(this[_0x41d48d(0xfd)][_0x41d48d(0xf6)]=this['outlineObjects'])),this[_0x41d48d(0x105)]();}[_0x1a50c9(0x111)](_0x37b189){const _0x48c8fb=_0x1a50c9;this[_0x48c8fb(0xec)][_0x48c8fb(0x115)]=0x0,this['outlineObjects'][_0x48c8fb(0xef)](..._0x37b189),this[_0x48c8fb(0xfd)]&&(this[_0x48c8fb(0xfd)]['selectedObjects']=this['outlineObjects']),this['markDirty']();}[_0x1a50c9(0xf8)](_0x2296be){const _0x2638a7=_0x1a50c9,_0x143c94=this[_0x2638a7(0xec)]['indexOf'](_0x2296be);_0x143c94>-1&&(this[_0x2638a7(0xec)][_0x2638a7(0xcf)](_0x143c94,0x1),this[_0x2638a7(0xfd)]&&(this[_0x2638a7(0xfd)][_0x2638a7(0xf6)]=this[_0x2638a7(0xec)])),this[_0x2638a7(0x105)]();}[_0x1a50c9(0xdf)](_0x1987a5){const _0x3b3f70=_0x1a50c9;this[_0x3b3f70(0xf4)]=_0x1987a5,this[_0x3b3f70(0xd5)](),this[_0x3b3f70(0x100)](),this['markDirty']();}[_0x1a50c9(0xf7)](){const _0x47e7b6=_0x1a50c9;return this[_0x47e7b6(0xf4)];}[_0x1a50c9(0xff)](){const _0x3d7c1e=_0x1a50c9;if(this['postProcessing'])return this[_0x3d7c1e(0x145)][_0x3d7c1e(0xff)](),!![];return ![];}[_0x1a50c9(0x122)](){const _0x423205=_0x1a50c9;this[_0x423205(0xec)]=[],this[_0x423205(0x13b)]=null,this['outlinePass']=null,this[_0x423205(0x13d)]=null,this[_0x423205(0x14a)]=null,this[_0x423205(0xce)]=null,this[_0x423205(0x101)]=null,this['lensflarePass']=null,this[_0x423205(0xf4)]=null,this[_0x423205(0x145)]&&(this[_0x423205(0x145)][_0x423205(0x13c)](),this['postProcessing']=null);}['markDirty'](){const _0x194519=_0x1a50c9;this[_0x194519(0xd0)]&&this[_0x194519(0xd0)]();}}
|
|
63
63
|
|
|
64
|
-
function _0x25ef(_0x25dd92,_0x1f118e){_0x25dd92=_0x25dd92-0x78;const _0x24da44=_0x24da();let _0x25ef47=_0x24da44[_0x25dd92];return _0x25ef47;}const _0xa61c4a=_0x25ef;(function(_0x274d5b,_0x2f2de5){const _0x59c856=_0x25ef,_0x47f5b4=_0x274d5b();while(!![]){try{const _0x12db82=parseInt(_0x59c856(0xb7))/0x1+-parseInt(_0x59c856(0xba))/0x2*(-parseInt(_0x59c856(0x7b))/0x3)+-parseInt(_0x59c856(0xbe))/0x4*(parseInt(_0x59c856(0x9e))/0x5)+-parseInt(_0x59c856(0xb8))/0x6+-parseInt(_0x59c856(0x81))/0x7*(parseInt(_0x59c856(0x8a))/0x8)+parseInt(_0x59c856(0x78))/0x9*(parseInt(_0x59c856(0xe2))/0xa)+parseInt(_0x59c856(0x7f))/0xb;if(_0x12db82===_0x2f2de5)break;else _0x47f5b4['push'](_0x47f5b4['shift']());}catch(_0x3edfdb){_0x47f5b4['push'](_0x47f5b4['shift']());}}}(_0x24da,0xdd991));function _0x24da(){const _0x35436c=['destroyPostProcess','world','25093673dIblZi','position','3688601PaOtBi','resizeObserver','uiDom','setSize','alpha','clientWidth','domElement','observe','createUILayer','16gFGtns','100%','scene','App\x20is\x20not\x20initialized','render','setAlpha','setup','setStencil','markRenderStateDirty','outputBufferType','createRenderer','camera','setToneMappingExposure','renderAsImage','getContext','devicePixelRatio','none','div','scene-uiLayer','image/jpeg','5mNSWai','shadowMapType','_app','setPixelRatio','addOutlineObject','updateSteps','labelRenderer','shadowMapEnabled','createLabelRenderer','toneMapping','setToneMapping','_canvasContainer','logarithmicDepthBuffer','updateCamera','samples','contentBoxSize','querySelector','getElementById','toDataURL','.scene-uiLayer','top','stencil','renderer','remove','setShadowMapEnabled','1627440nVgidv','10072740MXvcnx','app','2euZyPW','clientHeight','removeOutlineObject','setOutlineObjects','5207104rtZbRZ','className','disconnect','Can\x20not\x20create\x20context','dispose','setAnimationLoop','onAfterPostProcessRender','zIndex','appendChild','removeChild','init','forceWebGL','setDepth','postProcessManager','height','style','absolute','onWindowResize','antialias','isLabelRendererNeeded','drawImage','type','setLogarithmicDepthBufferEnabled','updateRendererSettings','enabled','updatePostProcess','setupPostProcess','_uiDom','left','postProcessParam','width','pointerEvents','onCameraChangedDelegate','isRenderStateDirty','shadowMap','scene-labelRenderer','193460HEWBos','_renderer','0px','destroy','canvas','423FtFZWq','_outerContainer','toneMappingExposure','372516gqdddx','depth'];_0x24da=function(){return _0x35436c;};return _0x24da();}class Viewport{get[_0xa61c4a(0x83)](){const _0x2edc1a=_0xa61c4a;return this[_0x2edc1a(0xd9)];}get[_0xa61c4a(0xe6)](){const _0x4a9b49=_0xa61c4a;return this[_0x4a9b49(0xa9)];}get['outer'](){const _0x348eee=_0xa61c4a;return this[_0x348eee(0x79)];}get[_0xa61c4a(0xb4)](){if(!this['_renderer'])throw Error('Renderer\x20is\x20not\x20initialized');return this['_renderer'];}get[_0xa61c4a(0xb9)](){const _0x365938=_0xa61c4a;if(!this[_0x365938(0xa0)])throw Error(_0x365938(0x8d));return this[_0x365938(0xa0)];}constructor(_0x114a0f,_0x3bb55a,_0x1e76fd,_0x23603c){const _0x3d4aa3=_0xa61c4a;this[_0x3d4aa3(0xd9)]=null,this['_renderer']=null,this['labelRenderer']=null,this[_0x3d4aa3(0xa0)]=null,this['resizeObserver']=null,this[_0x3d4aa3(0x79)]=null,this[_0x3d4aa3(0xa9)]=null,this[_0x3d4aa3(0xdf)]=!![],this[_0x3d4aa3(0xcb)]=null,this['postProcessParam']=Object['assign']({},_0x23603c),this[_0x3d4aa3(0xa0)]=_0x114a0f,_0x3bb55a['elementId']&&(this[_0x3d4aa3(0x79)]=document[_0x3d4aa3(0xaf)](_0x3bb55a['elementId'])),this[_0x3d4aa3(0x94)](_0x1e76fd),_0x3bb55a[_0x3d4aa3(0xd1)]&&this[_0x3d4aa3(0xa6)](),_0x3bb55a['isUILayerNeeded']&&this[_0x3d4aa3(0x89)](),this[_0x3d4aa3(0x79)]&&(this[_0x3d4aa3(0x82)]=new ResizeObserver(_0x50c816=>{const _0x475838=_0x3d4aa3;for(let _0xfb3e56 of _0x50c816){_0xfb3e56[_0x475838(0xad)]&&this['onWindowResize']();}}),this[_0x3d4aa3(0x82)][_0x3d4aa3(0x88)](this['_outerContainer'])),this['app'][_0x3d4aa3(0xde)]['add'](()=>{const _0x516a50=_0x3d4aa3;this[_0x516a50(0xcb)]&&(this[_0x516a50(0xcb)][_0x516a50(0xab)](this[_0x516a50(0xb9)][_0x516a50(0x95)]),this[_0x516a50(0xcb)][_0x516a50(0x90)]());});}[_0xa61c4a(0x94)](_0x247fbb){const _0x244d54=_0xa61c4a;this['_outerContainer']&&!this[_0x244d54(0xa9)]&&(this[_0x244d54(0xa9)]=document['createElement'](_0x244d54(0x9b)),this['_canvasContainer'][_0x244d54(0xcd)]['left']=_0x244d54(0xe4),this[_0x244d54(0xa9)][_0x244d54(0xcd)]['top']='0px',this[_0x244d54(0xa9)][_0x244d54(0xcd)][_0x244d54(0xdc)]=_0x244d54(0x8b),this['_canvasContainer'][_0x244d54(0xcd)][_0x244d54(0xcc)]=_0x244d54(0x8b),this[_0x244d54(0x79)][_0x244d54(0xc6)](this[_0x244d54(0xa9)]));const _0x4a8f69=this[_0x244d54(0xa9)];this[_0x244d54(0xe3)]&&(_0x4a8f69&&_0x4a8f69[_0x244d54(0xc7)](this[_0x244d54(0xe3)][_0x244d54(0x87)]),this[_0x244d54(0xe3)][_0x244d54(0xc2)]());let _0x597bbb=_0x4a8f69?_0x4a8f69['clientWidth']:0x200,_0x1a00c7=_0x4a8f69?_0x4a8f69[_0x244d54(0xbb)]:0x200,_0x342ae7={};_0x342ae7[_0x244d54(0xc9)]=_0x247fbb[_0x244d54(0xc9)],_0x342ae7[_0x244d54(0xd0)]=_0x247fbb['antialias'],_0x342ae7[_0x244d54(0x7c)]=_0x247fbb[_0x244d54(0x7c)],_0x342ae7['stencil']=_0x247fbb[_0x244d54(0xb3)],_0x342ae7['alpha']=_0x247fbb[_0x244d54(0x85)],_0x342ae7['logarithmicDepthBuffer']=_0x247fbb['logarithmicDepthBuffer'],_0x342ae7[_0x244d54(0xac)]=_0x247fbb[_0x244d54(0xac)],_0x342ae7[_0x244d54(0x93)]=_0x247fbb[_0x244d54(0x93)],this['_renderer']=new webgpu.WebGPURenderer(_0x342ae7),this[_0x244d54(0xe3)][_0x244d54(0xa1)](window[_0x244d54(0x99)]),this[_0x244d54(0xe3)][_0x244d54(0x84)](_0x597bbb,_0x1a00c7),this[_0x244d54(0xe3)][_0x244d54(0xe0)][_0x244d54(0xd6)]=_0x247fbb[_0x244d54(0xa5)],this[_0x244d54(0xe3)][_0x244d54(0xe0)][_0x244d54(0xd3)]=_0x247fbb[_0x244d54(0x9f)],this[_0x244d54(0xe3)][_0x244d54(0xa7)]=_0x247fbb[_0x244d54(0xa7)],this['_renderer'][_0x244d54(0x7a)]=_0x247fbb[_0x244d54(0x7a)],this[_0x244d54(0xe3)]['setClearAlpha'](0x0),_0x4a8f69&&_0x4a8f69[_0x244d54(0xc6)](this[_0x244d54(0xe3)][_0x244d54(0x87)]);}['createLabelRenderer'](){const _0x3d9c85=_0xa61c4a,_0x228aaa=this[_0x3d9c85(0x79)];this[_0x3d9c85(0xa4)]&&(_0x228aaa&&_0x228aaa[_0x3d9c85(0xc7)](this['labelRenderer'][_0x3d9c85(0x87)]));let _0x46ad20=_0x228aaa?_0x228aaa[_0x3d9c85(0x86)]:0x200,_0x14f40a=_0x228aaa?_0x228aaa[_0x3d9c85(0xbb)]:0x200;this['labelRenderer']=new Addons_js.CSS2DRenderer(),this[_0x3d9c85(0xa4)][_0x3d9c85(0x84)](_0x46ad20,_0x14f40a),this[_0x3d9c85(0xa4)]['domElement']['style'][_0x3d9c85(0xdd)]=_0x3d9c85(0x9a),this[_0x3d9c85(0xa4)][_0x3d9c85(0x87)]['style'][_0x3d9c85(0x80)]=_0x3d9c85(0xce),this[_0x3d9c85(0xa4)][_0x3d9c85(0x87)][_0x3d9c85(0xcd)][_0x3d9c85(0xb2)]=_0x3d9c85(0xe4),this[_0x3d9c85(0xa4)]['domElement'][_0x3d9c85(0xbf)]=_0x3d9c85(0xe1),_0x228aaa&&_0x228aaa['appendChild'](this[_0x3d9c85(0xa4)][_0x3d9c85(0x87)]);}[_0xa61c4a(0x89)](){const _0x12092f=_0xa61c4a;if(!this[_0x12092f(0x79)])return;let _0x5230cc=this[_0x12092f(0x79)][_0x12092f(0xae)](_0x12092f(0xb1));!_0x5230cc&&(_0x5230cc=document['createElement'](_0x12092f(0x9b)),_0x5230cc[_0x12092f(0xbf)]=_0x12092f(0x9c),_0x5230cc['id']=_0x12092f(0x9c),_0x5230cc['style'][_0x12092f(0x80)]=_0x12092f(0xce),_0x5230cc[_0x12092f(0xcd)][_0x12092f(0xda)]='0',_0x5230cc[_0x12092f(0xcd)][_0x12092f(0xb2)]='0',_0x5230cc[_0x12092f(0xcd)]['width']='100%',_0x5230cc[_0x12092f(0xcd)][_0x12092f(0xcc)]='100%',_0x5230cc[_0x12092f(0xcd)][_0x12092f(0xdd)]=_0x12092f(0x9a),_0x5230cc['style'][_0x12092f(0xc5)]='10',this['_outerContainer'][_0x12092f(0xc6)](_0x5230cc),this[_0x12092f(0xd9)]=_0x5230cc);}[_0xa61c4a(0xc8)](){this['setupPostProcess']();}[_0xa61c4a(0xd8)](){const _0x2b34de=_0xa61c4a;!this['postProcessManager']&&(this[_0x2b34de(0xcb)]=this['createPostProcessManager']()),this[_0x2b34de(0xcb)]['setup']();}['createPostProcessManager'](){const _0x4c6f05=_0xa61c4a;return new PostProcessManager(this[_0x4c6f05(0xb4)],this['app'][_0x4c6f05(0x7e)][_0x4c6f05(0x8c)],this['app']['camera'],this[_0x4c6f05(0xdb)],()=>this[_0x4c6f05(0x92)]());}[_0xa61c4a(0xd7)](_0x1cfa58){const _0x23c463=_0xa61c4a;this[_0x23c463(0xcb)]&&this[_0x23c463(0xcb)][_0x23c463(0xa3)](_0x1cfa58);}[_0xa61c4a(0xd5)](_0x23b619){const _0x461bec=_0xa61c4a;this[_0x461bec(0x94)](_0x23b619),this[_0x461bec(0x92)]();}[_0xa61c4a(0xa2)](_0x2fccad){const _0x5f3dc5=_0xa61c4a;this['postProcessManager']&&this[_0x5f3dc5(0xcb)][_0x5f3dc5(0xa2)](_0x2fccad);}[_0xa61c4a(0xbd)](_0x583b09){const _0x434aed=_0xa61c4a;this[_0x434aed(0xcb)]&&this[_0x434aed(0xcb)][_0x434aed(0xbd)](_0x583b09);}['removeOutlineObject'](_0x320802){const _0x532d8c=_0xa61c4a;this[_0x532d8c(0xcb)]&&this[_0x532d8c(0xcb)][_0x532d8c(0xbc)](_0x320802);}[_0xa61c4a(0x7d)](){const _0x536463=_0xa61c4a;this[_0x536463(0xcb)]&&(this[_0x536463(0xcb)][_0x536463(0xe5)](),this['postProcessManager']=null);}[_0xa61c4a(0xcf)](){const _0x4d73cb=_0xa61c4a;let _0x3b58d2=this[_0x4d73cb(0x79)];if(!_0x3b58d2)return;this['app']['onWindowResize'](_0x3b58d2[_0x4d73cb(0x86)],_0x3b58d2[_0x4d73cb(0xbb)]),this[_0x4d73cb(0xb4)][_0x4d73cb(0x84)](_0x3b58d2['clientWidth'],_0x3b58d2[_0x4d73cb(0xbb)]);if(this[_0x4d73cb(0xa4)])this['labelRenderer'][_0x4d73cb(0x84)](_0x3b58d2[_0x4d73cb(0x86)],_0x3b58d2[_0x4d73cb(0xbb)]);this[_0x4d73cb(0x92)]();}[_0xa61c4a(0x92)](){this['isRenderStateDirty']=!![];}[_0xa61c4a(0x8e)](){const _0x39cb4c=_0xa61c4a;if(!this[_0x39cb4c(0xdf)])return;if(this[_0x39cb4c(0xcb)]&&this[_0x39cb4c(0xcb)]['render']());else this[_0x39cb4c(0xb4)]['render'](this[_0x39cb4c(0xb9)][_0x39cb4c(0x7e)]['scene'],this[_0x39cb4c(0xb9)]['camera']);this[_0x39cb4c(0xc4)](),this[_0x39cb4c(0xa4)]&&this[_0x39cb4c(0xa4)][_0x39cb4c(0x8e)](this[_0x39cb4c(0xb9)][_0x39cb4c(0x7e)][_0x39cb4c(0x8c)],this[_0x39cb4c(0xb9)][_0x39cb4c(0x95)]),this['isRenderStateDirty']=![];}[_0xa61c4a(0xc4)](){}async[_0xa61c4a(0x97)](_0x86edf=0x400,_0x2d6944=0x400){const _0x5a6fc3=_0xa61c4a;try{if(this[_0x5a6fc3(0xcb)]&&this[_0x5a6fc3(0xcb)]['render']()){}else await this[_0x5a6fc3(0xb4)][_0x5a6fc3(0x8e)](this['app'][_0x5a6fc3(0x7e)][_0x5a6fc3(0x8c)],this[_0x5a6fc3(0xb9)][_0x5a6fc3(0x95)]);const _0x5629a3=this[_0x5a6fc3(0xb4)]['domElement']['width'],_0x4d7a99=this[_0x5a6fc3(0xb4)][_0x5a6fc3(0x87)][_0x5a6fc3(0xcc)];let _0x8c30f5=_0x5629a3||_0x86edf,_0x583f42=_0x4d7a99||_0x2d6944;(_0x8c30f5<=0x0||_0x583f42<=0x0)&&(_0x8c30f5=_0x86edf,_0x583f42=_0x2d6944);const _0x2f9a13=document['createElement']('canvas');_0x2f9a13[_0x5a6fc3(0xdc)]=_0x86edf,_0x2f9a13[_0x5a6fc3(0xcc)]=_0x2d6944;const _0x595bd9=_0x2f9a13[_0x5a6fc3(0x98)]('2d');if(!_0x595bd9)throw Error(_0x5a6fc3(0xc1));_0x595bd9[_0x5a6fc3(0xd2)](this[_0x5a6fc3(0xb4)][_0x5a6fc3(0x87)],0x0,0x0,_0x8c30f5,_0x583f42,0x0,0x0,_0x86edf,_0x2d6944);const _0x59220e=_0x2f9a13[_0x5a6fc3(0xb0)](_0x5a6fc3(0x9d));return _0x2f9a13[_0x5a6fc3(0xb5)](),_0x59220e;}catch(_0x46c43c){return '';}}[_0xa61c4a(0x8f)](_0x35e6d3){const _0x39f3c8=_0xa61c4a;if(!this['_renderer'])return;this[_0x39f3c8(0xe3)][_0x39f3c8(0x85)]=_0x35e6d3;}[_0xa61c4a(0xb6)](_0x521da3){const _0x358898=_0xa61c4a;if(!this[_0x358898(0xe3)])return;this[_0x358898(0xe3)][_0x358898(0xe0)][_0x358898(0xd6)]=_0x521da3;}['setShadowMapType'](_0xbdbf32){const _0x9b4951=_0xa61c4a;if(!this['_renderer'])return;this[_0x9b4951(0xe3)][_0x9b4951(0xe0)][_0x9b4951(0xd3)]=_0xbdbf32;}[_0xa61c4a(0xa8)](_0x4230bf){const _0xf8a363=_0xa61c4a;if(!this['_renderer'])return;this['_renderer'][_0xf8a363(0xa7)]=_0x4230bf;}[_0xa61c4a(0x96)](_0x4902ac){const _0x52f0eb=_0xa61c4a;if(!this[_0x52f0eb(0xe3)])return;this[_0x52f0eb(0xe3)][_0x52f0eb(0x7a)]=_0x4902ac;}[_0xa61c4a(0xd4)](_0x4a56c2){const _0x25a0cd=_0xa61c4a;if(!this[_0x25a0cd(0xe3)])return;this['_renderer'][_0x25a0cd(0xaa)]=_0x4a56c2;}[_0xa61c4a(0xca)](_0x4cd1a1){const _0x380fce=_0xa61c4a;if(!this['_renderer'])return;this[_0x380fce(0xe3)]['depth']=_0x4cd1a1;}[_0xa61c4a(0x91)](_0x14ab77){const _0x1eb407=_0xa61c4a;if(!this[_0x1eb407(0xe3)])return;this[_0x1eb407(0xe3)]['stencil']=_0x14ab77;}['destroy'](){const _0x29f231=_0xa61c4a;this[_0x29f231(0x7d)](),this[_0x29f231(0xb4)][_0x29f231(0xc3)](null),this[_0x29f231(0x82)]&&(this[_0x29f231(0x82)][_0x29f231(0xc0)](),this[_0x29f231(0x82)]=null),this[_0x29f231(0xa4)]&&(this[_0x29f231(0xa4)]['domElement'][_0x29f231(0xb5)](),this[_0x29f231(0xa4)]=null),this[_0x29f231(0xe3)]&&(this[_0x29f231(0xb4)][_0x29f231(0x87)][_0x29f231(0xb5)](),this['_renderer'][_0x29f231(0xc2)](),this[_0x29f231(0xe3)]=null),this['_canvasContainer']&&(this[_0x29f231(0xa9)][_0x29f231(0xb5)](),this[_0x29f231(0xa9)]=null),this[_0x29f231(0x79)]=null,this[_0x29f231(0xa0)]=null;}}
|
|
64
|
+
const _0x25be98=_0x2ebd;(function(_0x3633a2,_0x2f6eac){const _0x31681d=_0x2ebd,_0x400bcd=_0x3633a2();while(!![]){try{const _0x24bc38=-parseInt(_0x31681d(0x1b6))/0x1+-parseInt(_0x31681d(0x1e4))/0x2+parseInt(_0x31681d(0x1dc))/0x3+-parseInt(_0x31681d(0x1c5))/0x4+-parseInt(_0x31681d(0x19e))/0x5*(-parseInt(_0x31681d(0x1be))/0x6)+-parseInt(_0x31681d(0x1b0))/0x7*(parseInt(_0x31681d(0x199))/0x8)+parseInt(_0x31681d(0x19f))/0x9*(parseInt(_0x31681d(0x1cb))/0xa);if(_0x24bc38===_0x2f6eac)break;else _0x400bcd['push'](_0x400bcd['shift']());}catch(_0x13533b){_0x400bcd['push'](_0x400bcd['shift']());}}}(_0x49b2,0xa589d));function _0x49b2(){const _0x118b20=['markRenderStateDirty','1182848Zoorlt','appendChild','toneMapping','postProcessParam','div','removeOutlineObject','100%','forceWebGL','1124406AeJfUK','scene-uiLayer','clientHeight','updateCamera','_outerContainer','stencil','Renderer\x20is\x20not\x20initialized','3736068sxrIOB','getContext','_app','observe','samples','createUILayer','10gauILO','_renderer','toneMappingExposure','setShadowMapEnabled','top','createElement','height','setup','assign','renderer','.scene-uiLayer','world','add','left','camera','type','enabled','1249236GusgOE','destroyPostProcess','zIndex','setAnimationLoop','dispose','labelRenderer','setPixelRatio','antialias','2108960AYwQqq','setLogarithmicDepthBufferEnabled','App\x20is\x20not\x20initialized','_uiDom','querySelector','scene','setShadowMapType','createPostProcessManager','none','createRenderer','createLabelRenderer','domElement','remove','setToneMapping','removeChild','width','onWindowResize','clientWidth','pointerEvents','position','resizeObserver','addOutlineObject','disconnect','outputBufferType','canvas','app','devicePixelRatio','render','updateRendererSettings','setOutlineObjects','setClearAlpha','99992fcnUGz','scene-labelRenderer','toDataURL','contentBoxSize','style','5MksJPR','40234311YDEcuN','onCameraChangedDelegate','postProcessManager','destroy','shadowMapEnabled','init','logarithmicDepthBuffer','_canvasContainer','isRenderStateDirty','shadowMap','0px','setToneMappingExposure','shadowMapType','depth','outer','setDepth','absolute','686DdWQQJ','renderAsImage','alpha','onAfterPostProcessRender','elementId'];_0x49b2=function(){return _0x118b20;};return _0x49b2();}function _0x2ebd(_0x1e9222,_0x382e9a){_0x1e9222=_0x1e9222-0x197;const _0x49b21f=_0x49b2();let _0x2ebd46=_0x49b21f[_0x1e9222];return _0x2ebd46;}class Viewport{get['uiDom'](){return this['_uiDom'];}get[_0x25be98(0x1fc)](){const _0x116dd9=_0x25be98;return this[_0x116dd9(0x1a6)];}get[_0x25be98(0x1ad)](){const _0x58430a=_0x25be98;return this[_0x58430a(0x1c2)];}get['renderer'](){const _0xd256ad=_0x25be98;if(!this[_0xd256ad(0x1cc)])throw Error(_0xd256ad(0x1c4));return this[_0xd256ad(0x1cc)];}get[_0x25be98(0x1fd)](){const _0x4cdb93=_0x25be98;if(!this[_0x4cdb93(0x1c7)])throw Error(_0x4cdb93(0x1e6));return this[_0x4cdb93(0x1c7)];}constructor(_0x1e0610,_0x19f66b,_0x347836,_0x239dcd){const _0x5c05b4=_0x25be98;this['_uiDom']=null,this[_0x5c05b4(0x1cc)]=null,this[_0x5c05b4(0x1e1)]=null,this['_app']=null,this['resizeObserver']=null,this[_0x5c05b4(0x1c2)]=null,this['_canvasContainer']=null,this[_0x5c05b4(0x1a7)]=!![],this[_0x5c05b4(0x1a1)]=null,this[_0x5c05b4(0x1b9)]=Object[_0x5c05b4(0x1d3)]({},_0x239dcd),this['_app']=_0x1e0610,_0x19f66b[_0x5c05b4(0x1b4)]&&(this[_0x5c05b4(0x1c2)]=document['getElementById'](_0x19f66b[_0x5c05b4(0x1b4)])),this['createRenderer'](_0x347836),_0x19f66b['isLabelRendererNeeded']&&this[_0x5c05b4(0x1ee)](),_0x19f66b['isUILayerNeeded']&&this[_0x5c05b4(0x1ca)](),this[_0x5c05b4(0x1c2)]&&(this[_0x5c05b4(0x1f8)]=new ResizeObserver(_0x4a64ae=>{const _0x260678=_0x5c05b4;for(let _0x14c577 of _0x4a64ae){_0x14c577[_0x260678(0x19c)]&&this['onWindowResize']();}}),this[_0x5c05b4(0x1f8)][_0x5c05b4(0x1c8)](this[_0x5c05b4(0x1c2)])),this[_0x5c05b4(0x1fd)][_0x5c05b4(0x1a0)][_0x5c05b4(0x1d7)](()=>{const _0x2aba7a=_0x5c05b4;this[_0x2aba7a(0x1a1)]&&(this[_0x2aba7a(0x1a1)][_0x2aba7a(0x1c1)](this[_0x2aba7a(0x1fd)][_0x2aba7a(0x1d9)]),this[_0x2aba7a(0x1a1)]['setup']());});}[_0x25be98(0x1ed)](_0x3d6217){const _0x67e42d=_0x25be98;this['_outerContainer']&&!this[_0x67e42d(0x1a6)]&&(this[_0x67e42d(0x1a6)]=document[_0x67e42d(0x1d0)](_0x67e42d(0x1ba)),this['_canvasContainer'][_0x67e42d(0x19d)][_0x67e42d(0x1d8)]=_0x67e42d(0x1a9),this[_0x67e42d(0x1a6)]['style'][_0x67e42d(0x1cf)]=_0x67e42d(0x1a9),this['_canvasContainer'][_0x67e42d(0x19d)]['width']='100%',this[_0x67e42d(0x1a6)][_0x67e42d(0x19d)][_0x67e42d(0x1d1)]=_0x67e42d(0x1bc),this[_0x67e42d(0x1c2)][_0x67e42d(0x1b7)](this['_canvasContainer']));const _0x3b6e24=this[_0x67e42d(0x1a6)];this['_renderer']&&(_0x3b6e24&&_0x3b6e24['removeChild'](this[_0x67e42d(0x1cc)][_0x67e42d(0x1ef)]),this[_0x67e42d(0x1cc)]['dispose']());let _0x5a7750=_0x3b6e24?_0x3b6e24[_0x67e42d(0x1f5)]:0x200,_0x14b740=_0x3b6e24?_0x3b6e24[_0x67e42d(0x1c0)]:0x200,_0x180a88={};_0x180a88[_0x67e42d(0x1bd)]=_0x3d6217['forceWebGL'],_0x180a88[_0x67e42d(0x1e3)]=_0x3d6217[_0x67e42d(0x1e3)],_0x180a88[_0x67e42d(0x1ac)]=_0x3d6217[_0x67e42d(0x1ac)],_0x180a88[_0x67e42d(0x1c3)]=_0x3d6217[_0x67e42d(0x1c3)],_0x180a88[_0x67e42d(0x1b2)]=_0x3d6217['alpha'],_0x180a88[_0x67e42d(0x1a5)]=_0x3d6217[_0x67e42d(0x1a5)],_0x180a88[_0x67e42d(0x1c9)]=_0x3d6217[_0x67e42d(0x1c9)],_0x180a88[_0x67e42d(0x1fb)]=_0x3d6217[_0x67e42d(0x1fb)],this[_0x67e42d(0x1cc)]=new webgpu.WebGPURenderer(_0x180a88),this[_0x67e42d(0x1cc)][_0x67e42d(0x1e2)](window[_0x67e42d(0x1fe)]),this['_renderer']['setSize'](_0x5a7750,_0x14b740),this[_0x67e42d(0x1cc)]['shadowMap'][_0x67e42d(0x1db)]=_0x3d6217[_0x67e42d(0x1a3)],this[_0x67e42d(0x1cc)][_0x67e42d(0x1a8)][_0x67e42d(0x1da)]=_0x3d6217[_0x67e42d(0x1ab)],this['_renderer']['toneMapping']=_0x3d6217[_0x67e42d(0x1b8)],this[_0x67e42d(0x1cc)][_0x67e42d(0x1cd)]=_0x3d6217[_0x67e42d(0x1cd)],this['_renderer'][_0x67e42d(0x198)](0x0),_0x3b6e24&&_0x3b6e24[_0x67e42d(0x1b7)](this['_renderer']['domElement']);}['createLabelRenderer'](){const _0x20947b=_0x25be98,_0x434116=this[_0x20947b(0x1c2)];this[_0x20947b(0x1e1)]&&(_0x434116&&_0x434116[_0x20947b(0x1f2)](this[_0x20947b(0x1e1)][_0x20947b(0x1ef)]));let _0x1ed580=_0x434116?_0x434116[_0x20947b(0x1f5)]:0x200,_0x285011=_0x434116?_0x434116['clientHeight']:0x200;this[_0x20947b(0x1e1)]=new Addons_js.CSS2DRenderer(),this[_0x20947b(0x1e1)]['setSize'](_0x1ed580,_0x285011),this[_0x20947b(0x1e1)][_0x20947b(0x1ef)][_0x20947b(0x19d)][_0x20947b(0x1f6)]=_0x20947b(0x1ec),this[_0x20947b(0x1e1)][_0x20947b(0x1ef)][_0x20947b(0x19d)][_0x20947b(0x1f7)]=_0x20947b(0x1af),this[_0x20947b(0x1e1)][_0x20947b(0x1ef)][_0x20947b(0x19d)][_0x20947b(0x1cf)]=_0x20947b(0x1a9),this[_0x20947b(0x1e1)]['domElement']['className']=_0x20947b(0x19a),_0x434116&&_0x434116[_0x20947b(0x1b7)](this[_0x20947b(0x1e1)][_0x20947b(0x1ef)]);}['createUILayer'](){const _0x487497=_0x25be98;if(!this[_0x487497(0x1c2)])return;let _0x5b7fc3=this[_0x487497(0x1c2)][_0x487497(0x1e8)](_0x487497(0x1d5));!_0x5b7fc3&&(_0x5b7fc3=document['createElement'](_0x487497(0x1ba)),_0x5b7fc3['className']=_0x487497(0x1bf),_0x5b7fc3['id']=_0x487497(0x1bf),_0x5b7fc3[_0x487497(0x19d)][_0x487497(0x1f7)]=_0x487497(0x1af),_0x5b7fc3[_0x487497(0x19d)][_0x487497(0x1d8)]='0',_0x5b7fc3[_0x487497(0x19d)][_0x487497(0x1cf)]='0',_0x5b7fc3[_0x487497(0x19d)][_0x487497(0x1f3)]='100%',_0x5b7fc3[_0x487497(0x19d)][_0x487497(0x1d1)]=_0x487497(0x1bc),_0x5b7fc3[_0x487497(0x19d)][_0x487497(0x1f6)]=_0x487497(0x1ec),_0x5b7fc3[_0x487497(0x19d)][_0x487497(0x1de)]='10',this[_0x487497(0x1c2)][_0x487497(0x1b7)](_0x5b7fc3),this[_0x487497(0x1e7)]=_0x5b7fc3);}[_0x25be98(0x1a4)](){this['setupPostProcess']();}['setupPostProcess'](){const _0x2cf7ca=_0x25be98;!this[_0x2cf7ca(0x1a1)]&&(this['postProcessManager']=this[_0x2cf7ca(0x1eb)]()),this[_0x2cf7ca(0x1a1)][_0x2cf7ca(0x1d2)]();}[_0x25be98(0x1eb)](){const _0x6ec85c=_0x25be98;return new PostProcessManager(this[_0x6ec85c(0x1d4)],this[_0x6ec85c(0x1fd)]['world'][_0x6ec85c(0x1e9)],this['app'][_0x6ec85c(0x1d9)],this[_0x6ec85c(0x1b9)],()=>this[_0x6ec85c(0x1b5)]());}['updatePostProcess'](_0x9a1c82){const _0x4bf397=_0x25be98;this['postProcessManager']&&this[_0x4bf397(0x1a1)]['updateSteps'](_0x9a1c82);}[_0x25be98(0x200)](_0x127a18){const _0x1ff392=_0x25be98;this[_0x1ff392(0x1ed)](_0x127a18),this['markRenderStateDirty']();}[_0x25be98(0x1f9)](_0x15d9e8){const _0x128363=_0x25be98;this[_0x128363(0x1a1)]&&this[_0x128363(0x1a1)][_0x128363(0x1f9)](_0x15d9e8);}['setOutlineObjects'](_0x9907e2){const _0x53ef42=_0x25be98;this[_0x53ef42(0x1a1)]&&this[_0x53ef42(0x1a1)][_0x53ef42(0x197)](_0x9907e2);}[_0x25be98(0x1bb)](_0x55c8d9){const _0x2edbd2=_0x25be98;this[_0x2edbd2(0x1a1)]&&this[_0x2edbd2(0x1a1)][_0x2edbd2(0x1bb)](_0x55c8d9);}[_0x25be98(0x1dd)](){const _0x1efa94=_0x25be98;this[_0x1efa94(0x1a1)]&&(this['postProcessManager'][_0x1efa94(0x1a2)](),this[_0x1efa94(0x1a1)]=null);}[_0x25be98(0x1f4)](){const _0x383429=_0x25be98;let _0x2cbe1c=this['_outerContainer'];if(!_0x2cbe1c)return;this['app'][_0x383429(0x1f4)](_0x2cbe1c[_0x383429(0x1f5)],_0x2cbe1c[_0x383429(0x1c0)]),this[_0x383429(0x1d4)]['setSize'](_0x2cbe1c[_0x383429(0x1f5)],_0x2cbe1c[_0x383429(0x1c0)]);if(this[_0x383429(0x1e1)])this['labelRenderer']['setSize'](_0x2cbe1c[_0x383429(0x1f5)],_0x2cbe1c[_0x383429(0x1c0)]);this['markRenderStateDirty']();}['markRenderStateDirty'](){this['isRenderStateDirty']=!![];}[_0x25be98(0x1ff)](){const _0x10518d=_0x25be98;if(!this[_0x10518d(0x1a7)])return;if(this[_0x10518d(0x1a1)]&&this[_0x10518d(0x1a1)][_0x10518d(0x1ff)]());else this[_0x10518d(0x1d4)][_0x10518d(0x1ff)](this[_0x10518d(0x1fd)]['world'][_0x10518d(0x1e9)],this[_0x10518d(0x1fd)][_0x10518d(0x1d9)]);this[_0x10518d(0x1b3)](),this[_0x10518d(0x1e1)]&&this[_0x10518d(0x1e1)][_0x10518d(0x1ff)](this[_0x10518d(0x1fd)][_0x10518d(0x1d6)][_0x10518d(0x1e9)],this['app'][_0x10518d(0x1d9)]),this[_0x10518d(0x1a7)]=![];}[_0x25be98(0x1b3)](){}async[_0x25be98(0x1b1)](_0x256afb=0x400,_0x10ba81=0x400){const _0x541bcb=_0x25be98;try{if(this[_0x541bcb(0x1a1)]&&this[_0x541bcb(0x1a1)][_0x541bcb(0x1ff)]()){}else await this[_0x541bcb(0x1d4)][_0x541bcb(0x1ff)](this[_0x541bcb(0x1fd)][_0x541bcb(0x1d6)][_0x541bcb(0x1e9)],this[_0x541bcb(0x1fd)][_0x541bcb(0x1d9)]);const _0x4b3b1c=this[_0x541bcb(0x1d4)][_0x541bcb(0x1ef)][_0x541bcb(0x1f3)],_0x206fa9=this[_0x541bcb(0x1d4)]['domElement'][_0x541bcb(0x1d1)];let _0x9b04da=_0x4b3b1c||_0x256afb,_0x24fe28=_0x206fa9||_0x10ba81;(_0x9b04da<=0x0||_0x24fe28<=0x0)&&(_0x9b04da=_0x256afb,_0x24fe28=_0x10ba81);const _0x4779cb=document[_0x541bcb(0x1d0)](_0x541bcb(0x1fc));_0x4779cb[_0x541bcb(0x1f3)]=_0x256afb,_0x4779cb['height']=_0x10ba81;const _0x10a9cd=_0x4779cb[_0x541bcb(0x1c6)]('2d');if(!_0x10a9cd)throw Error('Can\x20not\x20create\x20context');_0x10a9cd['drawImage'](this[_0x541bcb(0x1d4)][_0x541bcb(0x1ef)],0x0,0x0,_0x9b04da,_0x24fe28,0x0,0x0,_0x256afb,_0x10ba81);const _0x5db007=_0x4779cb[_0x541bcb(0x19b)]('image/jpeg');return _0x4779cb['remove'](),_0x5db007;}catch(_0x288c41){return '';}}['setAlpha'](_0x206f98){const _0x2e8332=_0x25be98;if(!this[_0x2e8332(0x1cc)])return;this[_0x2e8332(0x1cc)][_0x2e8332(0x1b2)]=_0x206f98;}[_0x25be98(0x1ce)](_0x6545b3){const _0x5628c3=_0x25be98;if(!this[_0x5628c3(0x1cc)])return;this[_0x5628c3(0x1cc)]['shadowMap']['enabled']=_0x6545b3;}[_0x25be98(0x1ea)](_0x2a381a){const _0x14cb86=_0x25be98;if(!this[_0x14cb86(0x1cc)])return;this[_0x14cb86(0x1cc)][_0x14cb86(0x1a8)]['type']=_0x2a381a;}[_0x25be98(0x1f1)](_0x43a563){const _0x1dddfd=_0x25be98;if(!this[_0x1dddfd(0x1cc)])return;this[_0x1dddfd(0x1cc)][_0x1dddfd(0x1b8)]=_0x43a563;}[_0x25be98(0x1aa)](_0x5f100f){const _0x57d5d9=_0x25be98;if(!this[_0x57d5d9(0x1cc)])return;this[_0x57d5d9(0x1cc)][_0x57d5d9(0x1cd)]=_0x5f100f;}[_0x25be98(0x1e5)](_0x2a7996){const _0x485f97=_0x25be98;if(!this[_0x485f97(0x1cc)])return;this['_renderer']['logarithmicDepthBuffer']=_0x2a7996;}[_0x25be98(0x1ae)](_0x2aba6f){const _0x187f77=_0x25be98;if(!this['_renderer'])return;this[_0x187f77(0x1cc)]['depth']=_0x2aba6f;}['setStencil'](_0x503b85){const _0x5eed1a=_0x25be98;if(!this[_0x5eed1a(0x1cc)])return;this[_0x5eed1a(0x1cc)][_0x5eed1a(0x1c3)]=_0x503b85;}['destroy'](){const _0x1521c4=_0x25be98;this[_0x1521c4(0x1dd)](),this[_0x1521c4(0x1d4)][_0x1521c4(0x1df)](null),this[_0x1521c4(0x1f8)]&&(this[_0x1521c4(0x1f8)][_0x1521c4(0x1fa)](),this[_0x1521c4(0x1f8)]=null),this['labelRenderer']&&(this['labelRenderer'][_0x1521c4(0x1ef)][_0x1521c4(0x1f0)](),this[_0x1521c4(0x1e1)]=null),this[_0x1521c4(0x1cc)]&&(this[_0x1521c4(0x1d4)][_0x1521c4(0x1ef)][_0x1521c4(0x1f0)](),this['_renderer'][_0x1521c4(0x1e0)](),this[_0x1521c4(0x1cc)]=null),this[_0x1521c4(0x1a6)]&&(this[_0x1521c4(0x1a6)][_0x1521c4(0x1f0)](),this[_0x1521c4(0x1a6)]=null),this[_0x1521c4(0x1c2)]=null,this[_0x1521c4(0x1c7)]=null;}}
|
|
65
65
|
|
|
66
|
-
function
|
|
66
|
+
function _0x2982(){var _0x149064=['38sZtXDN','2888343EpSEuj','7215656gCGiLK','8hveMsn','isTickEnabled','85VQxvvN','Control\x20not\x20initialized','destroy','focusTo','221500LzLLSC','getFocuingData','297ZpEqSj','controller','6eCEiJl','unpossess','416860eCyvDI','tick','enabled','stopFocusing','camera','30895272HNueua','possess','_control','1050035wbLVcP','4341pydxMy'];_0x2982=function(){return _0x149064;};return _0x2982();}function _0x44f8(_0x25950e,_0x12f11c){_0x25950e=_0x25950e-0x103;var _0x2982af=_0x2982();var _0x44f83c=_0x2982af[_0x25950e];return _0x44f83c;}var _0x504710=_0x44f8;(function(_0x5335ff,_0x1f5ea3){var _0x59b392=_0x44f8,_0x158db0=_0x5335ff();while(!![]){try{var _0x44d8de=-parseInt(_0x59b392(0x103))/0x1+-parseInt(_0x59b392(0x105))/0x2*(parseInt(_0x59b392(0x104))/0x3)+-parseInt(_0x59b392(0x10e))/0x4*(-parseInt(_0x59b392(0x10a))/0x5)+-parseInt(_0x59b392(0x112))/0x6*(parseInt(_0x59b392(0x107))/0x7)+-parseInt(_0x59b392(0x108))/0x8*(-parseInt(_0x59b392(0x106))/0x9)+parseInt(_0x59b392(0x114))/0xa*(-parseInt(_0x59b392(0x110))/0xb)+parseInt(_0x59b392(0x119))/0xc;if(_0x44d8de===_0x1f5ea3)break;else _0x158db0['push'](_0x158db0['shift']());}catch(_0x1338e5){_0x158db0['push'](_0x158db0['shift']());}}}(_0x2982,0x933aa));class Pawn{get[_0x504710(0x118)](){var _0x454b5f=_0x504710;return this[_0x454b5f(0x111)][_0x454b5f(0x118)];}set[_0x504710(0x116)](_0x3c8116){var _0x1193af=_0x504710;this['control'][_0x1193af(0x116)]=_0x3c8116;}get['control'](){var _0x3a2e05=_0x504710;if(!this['_control'])throw new Error(_0x3a2e05(0x10b));return this[_0x3a2e05(0x11b)];}constructor(_0x1ed920){var _0x2a9d02=_0x504710;this['_control']=null,this[_0x2a9d02(0x109)]=![],this[_0x2a9d02(0x111)]=_0x1ed920;}[_0x504710(0x115)](_0x94e887){return;}[_0x504710(0x11a)](){}[_0x504710(0x113)](){}[_0x504710(0x10d)](_0x5a5853,_0xafed22,_0x1e113e,_0xfba080,_0x213ea3=null,_0x29ba69=null){}[_0x504710(0x117)](){}[_0x504710(0x10f)](){return null;}[_0x504710(0x10c)](){}}
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
const _0xd8fb14=_0x2858;(function(_0x378f45,_0x252c42){const _0x519f29=_0x2858,_0x1a2f0a=_0x378f45();while(!![]){try{const _0x25dcfe=-parseInt(_0x519f29(0x16b))/0x1+parseInt(_0x519f29(0x184))/0x2*(-parseInt(_0x519f29(0x178))/0x3)+parseInt(_0x519f29(0x174))/0x4*(-parseInt(_0x519f29(0x17f))/0x5)+-parseInt(_0x519f29(0x166))/0x6*(parseInt(_0x519f29(0x175))/0x7)+-parseInt(_0x519f29(0x173))/0x8*(-parseInt(_0x519f29(0x185))/0x9)+-parseInt(_0x519f29(0x161))/0xa+parseInt(_0x519f29(0x180))/0xb;if(_0x25dcfe===_0x252c42)break;else _0x1a2f0a['push'](_0x1a2f0a['shift']());}catch(_0x22df1e){_0x1a2f0a['push'](_0x1a2f0a['shift']());}}}(_0x57fb,0xda87c));function _0x2858(_0x69a609,_0x437e21){_0x69a609=_0x69a609-0x160;const _0x57fb54=_0x57fb();let _0x285871=_0x57fb54[_0x69a609];return _0x285871;}function _0x57fb(){const _0x6b87e8=['2250731cYSmpk','object','stopFocusing','249GJJftn','clone','viewPort','canvas','kill','position','target','595SRQXnh','49153885gBkdIi','copy','anim','update','24316ieNxLP','553887CKtkeB','onChange','multiplyScalar','quaternion','set','length','7121060QAOysP','normalize','control','removeEventListener','markRenderStateDirty','30ijYNPz','possess','controller','setFromEuler','_control','676028RmeQRG','camera','addEventListener','applyQuaternion','unpossess','distanceTo','subVectors','changeEvent','184PBlvbX','33076QMSKCW'];_0x57fb=function(){return _0x6b87e8;};return _0x57fb();}class Orbital extends Pawn{get[_0xd8fb14(0x163)](){const _0x149435=_0xd8fb14;if(!this[_0x149435(0x16a)])throw new Error('Control\x20not\x20initialized');return this['_control'];}get[_0xd8fb14(0x16c)](){const _0x82bba7=_0xd8fb14;return this[_0x82bba7(0x168)][_0x82bba7(0x16c)];}constructor(_0x2062ac){const _0x5d1434=_0xd8fb14;super(_0x2062ac),this[_0x5d1434(0x182)]=null,this[_0x5d1434(0x172)]=()=>{const _0x3a2475=_0x5d1434;this[_0x3a2475(0x186)]();},this['_control']=new Addons_js.OrbitControls(_0x2062ac[_0x5d1434(0x16c)],_0x2062ac[_0x5d1434(0x17a)][_0x5d1434(0x17b)]),this['control']['target'][_0x5d1434(0x189)](0x0,0x0,0x0),_0x2062ac[_0x5d1434(0x16c)][_0x5d1434(0x17d)]['set'](0x0,0x4,0x4),this['control'][_0x5d1434(0x183)]();}['possess'](){const _0x12f6c7=_0xd8fb14;super[_0x12f6c7(0x167)](),this[_0x12f6c7(0x163)][_0x12f6c7(0x16d)]('change',this[_0x12f6c7(0x172)]);}[_0xd8fb14(0x16f)](){const _0x1c3cc9=_0xd8fb14;super['unpossess'](),this[_0x1c3cc9(0x163)][_0x1c3cc9(0x164)]('change',this[_0x1c3cc9(0x172)]);}['onChange'](){const _0x482740=_0xd8fb14;this[_0x482740(0x168)][_0x482740(0x17a)][_0x482740(0x165)]();}['focusTo'](_0x3a0942,_0xb05f80,_0x589be8,_0x3dcd3a,_0x17585a=null,_0x228c91=null){const _0x2c9b2b=_0xd8fb14;this['stopFocusing']();let _0x166c1c=null;(_0xb05f80===null||_0xb05f80===void 0?void 0:_0xb05f80['isEuler'])?_0x166c1c=new webgpu.Quaternion()[_0x2c9b2b(0x169)](_0xb05f80):_0x166c1c=_0xb05f80;!_0xb05f80&&(_0x166c1c=this['controller'][_0x2c9b2b(0x16c)][_0x2c9b2b(0x188)]);_0x166c1c[_0x2c9b2b(0x162)]();let _0x55c116=new webgpu.Vector3(0x0,0x0,0x1);_0x55c116[_0x2c9b2b(0x16e)](_0x166c1c)[_0x2c9b2b(0x187)](-1),_0x55c116[_0x2c9b2b(0x162)]();let _0x4b2169=this[_0x2c9b2b(0x16c)][_0x2c9b2b(0x17d)][_0x2c9b2b(0x179)](),_0x240401=new webgpu.Vector3(_0x3a0942['x']+_0x55c116['x']*_0x589be8*-1,_0x3a0942['y']+_0x55c116['y']*_0x589be8*-1,_0x3a0942['z']+_0x55c116['z']*_0x589be8*-1),_0x34eee6=new webgpu.Vector3()[_0x2c9b2b(0x171)](_0x240401,_0x4b2169),_0x4fff29=_0x34eee6['length']();_0x34eee6[_0x2c9b2b(0x162)]();let _0x59f15c=this[_0x2c9b2b(0x163)]['target'][_0x2c9b2b(0x179)](),_0x2d575c=new webgpu.Vector3()[_0x2c9b2b(0x171)](_0x3a0942,_0x59f15c),_0xeaa3a4=_0x2d575c[_0x2c9b2b(0x160)]();_0x2d575c['normalize']();if(_0x4fff29+_0xeaa3a4<0.1)return;const _0x212472=this;let _0x19a39c={'alpha':0x0};this[_0x2c9b2b(0x182)]=gsap.gsap['to'](_0x19a39c,{'duration':_0x3dcd3a,'alpha':0x1,'onUpdate':()=>{const _0x4c4931=_0x2c9b2b;let _0x10b8fc=_0x19a39c['alpha'],_0x2d1cbc=new webgpu.Vector3(_0x4b2169['x']+_0x34eee6['x']*_0x10b8fc*_0x4fff29,_0x4b2169['y']+_0x34eee6['y']*_0x10b8fc*_0x4fff29,_0x4b2169['z']+_0x34eee6['z']*_0x10b8fc*_0x4fff29),_0xc99f0a=new webgpu.Vector3(_0x59f15c['x']+_0x2d575c['x']*_0x10b8fc*_0xeaa3a4,_0x59f15c['y']+_0x2d575c['y']*_0x10b8fc*_0xeaa3a4,_0x59f15c['z']+_0x2d575c['z']*_0x10b8fc*_0xeaa3a4);_0x212472[_0x4c4931(0x163)][_0x4c4931(0x176)][_0x4c4931(0x17d)][_0x4c4931(0x181)](_0x2d1cbc),_0x212472[_0x4c4931(0x163)][_0x4c4931(0x17e)]['copy'](_0xc99f0a),_0x212472[_0x4c4931(0x163)]['update']();_0x17585a&&_0x17585a();if(_0x212472[_0x4c4931(0x168)][_0x4c4931(0x17a)])_0x212472[_0x4c4931(0x168)]['viewPort'][_0x4c4931(0x165)]();},'onComplete':function(){const _0x2014fc=_0x2c9b2b;_0x228c91&&_0x228c91();if(_0x212472[_0x2014fc(0x168)][_0x2014fc(0x17a)])_0x212472['controller']['viewPort'][_0x2014fc(0x165)]();}});}['getFocuingData'](){const _0x8c776b=_0xd8fb14;if(!this[_0x8c776b(0x163)]||!this[_0x8c776b(0x16c)])return null;const _0x4f1ec3=this['camera'][_0x8c776b(0x17d)]['clone'](),_0x8c1fd6=this[_0x8c776b(0x16c)][_0x8c776b(0x188)][_0x8c776b(0x179)](),_0x161866=this[_0x8c776b(0x163)][_0x8c776b(0x17e)][_0x8c776b(0x179)](),_0x3954ad=_0x4f1ec3[_0x8c776b(0x170)](_0x161866);return {'position':_0x161866,'quaternion':_0x8c1fd6,'distance':_0x3954ad};}[_0xd8fb14(0x177)](){const _0x88b89f=_0xd8fb14;this[_0x88b89f(0x182)]&&this['anim'][_0x88b89f(0x17c)](),this[_0x88b89f(0x182)]=null;}}
|
|
69
69
|
|
|
70
|
-
function _0x4a0a(_0x1da67,_0x19a2f9){_0x1da67=_0x1da67-0x166;const _0x438002=_0x4380();let _0x4a0acc=_0x438002[_0x1da67];return _0x4a0acc;}const _0x34655d=_0x4a0a;(function(_0x139a92,_0x102c4b){const _0x5a6efa=_0x4a0a,_0x54de4c=_0x139a92();while(!![]){try{const _0x35607b=-parseInt(_0x5a6efa(0x193))/0x1*(parseInt(_0x5a6efa(0x168))/0x2)+parseInt(_0x5a6efa(0x18d))/0x3+-parseInt(_0x5a6efa(0x19a))/0x4*(parseInt(_0x5a6efa(0x19c))/0x5)+-parseInt(_0x5a6efa(0x17c))/0x6+parseInt(_0x5a6efa(0x1d6))/0x7*(parseInt(_0x5a6efa(0x1bf))/0x8)+parseInt(_0x5a6efa(0x1b5))/0x9*(parseInt(_0x5a6efa(0x180))/0xa)+parseInt(_0x5a6efa(0x1b2))/0xb;if(_0x35607b===_0x102c4b)break;else _0x54de4c['push'](_0x54de4c['shift']());}catch(_0x548c14){_0x54de4c['push'](_0x54de4c['shift']());}}}(_0x4380,0x7c4ed));function _0x4380(){const _0x275a56=['onActorHoverEnd','enabled','destroy','onPointerEnter','length','top','shiftKey','isHoverEnabled','intersectObjects','_onActorHoverEndDelegate','subVectors','pointerPosition','2353944ApDyde','fireComponentClick','pointerenter','fireComponentHoverBegin','onActorClickDelegate','_onComponentClickDelegate','122522MFhswK','prepareClickHit','_onActorDoubleClickDelegate','isClickEnabled','removeCorePointerListeners','onPointerMove','getHitResultFromScreenPoint','24052FWevop','component','335XNEGHc','assign','onActorHoverEndDelegate','_app','_onClickNothingDelegate','copy','set','pointerleave','onComponentHoverBeginDelegate','add','viewPort','onPointerUp','getAllHitResultFromScreenPoint','onPointerEnterEvent','clientWidth','onActorDoubleClick','hit','_raycastVec2','button','leftClickTimer','pointerup','fireComponentHoverEnd','12842434PyJvSo','size','getBoundingClientRect','9Uxzsuv','fireActorClick','_onComponentHoverEndDelegate','onActorHoverBeginDelegate','canvas','onActorHoverBegin','removeEventListener','tick','_onActorClickDelegate','prepareClickModifiers','16DaKrLU','addEventListener','doubleClickDelay','setFromCamera','scene','fireActorHoverEnd','raycaster','parentActor','onPointerMoveEvent','left','hoveringComponent','children','onPointerDownEvent','fireClickEvents','onClickNothingDelegate','fireActorHoverBegin','_pawn','unpossess','_onComponentHoverBeginDelegate','LYObject','viewport','canvas\x20is\x20null','onPointerLeave','1993803FYlkPH','_pointButtonIsDown','onComponentHoverEndDelegate','_onComponentPointerDownDelegate','object','firePointerDownEvent','addCorePointerListeners','onActorDoubleClickDelegate','hoveringActor','updateCamera','userData','pointerLeftDownPosition','onHorveringBegin','broadcast','onComponentDoubleClickDelegate','_tempVec2','14veMGyy','handleDoubleClick','clientHeight','onPointerDown','getHitResultUnderCursor','pointerdown','_onActorHoverBeginDelegate','_onComponentDoubleClickDelegate','focusTo','prepareClickComponent','handleFirstClick','handled','onClicked','app','pawn','pointermove','clientX','clearClickTimer','clearHovering','delete','5079858suDIUf','camera','onPointerUpEvent','world','945330NHSHrh'];_0x4380=function(){return _0x275a56;};return _0x4380();}class Controller{get[_0x34655d(0x17d)](){const _0x28077c=_0x34655d;return this[_0x28077c(0x19f)][_0x28077c(0x17d)];}get[_0x34655d(0x17f)](){const _0x538ee8=_0x34655d;return this[_0x538ee8(0x19f)][_0x538ee8(0x17f)];}get['viewPort'](){const _0x191eeb=_0x34655d;return this['_app'][_0x191eeb(0x1d3)];}get[_0x34655d(0x175)](){return this['_app'];}get[_0x34655d(0x176)](){const _0x114c41=_0x34655d;if(!this[_0x114c41(0x1cf)])throw Error('pawn\x20is\x20null');return this[_0x114c41(0x1cf)];}get['onComponentClickDelegate'](){const _0x24cc41=_0x34655d;return this[_0x24cc41(0x192)];}get[_0x34655d(0x166)](){const _0x288809=_0x34655d;return this[_0x288809(0x16f)];}get[_0x34655d(0x1a4)](){const _0x590ec6=_0x34655d;return this[_0x590ec6(0x1d1)];}get[_0x34655d(0x1d8)](){return this['_onComponentHoverEndDelegate'];}get['onComponentPointerDownDelegate'](){const _0x588c9b=_0x34655d;return this[_0x588c9b(0x1d9)];}get[_0x34655d(0x191)](){const _0x9f2a21=_0x34655d;return this[_0x9f2a21(0x1bd)];}get[_0x34655d(0x1dd)](){const _0x555de6=_0x34655d;return this[_0x555de6(0x195)];}get[_0x34655d(0x1b8)](){const _0x190553=_0x34655d;return this[_0x190553(0x16e)];}get[_0x34655d(0x19e)](){return this['_onActorHoverEndDelegate'];}get[_0x34655d(0x1cd)](){const _0x1b5b80=_0x34655d;return this[_0x1b5b80(0x1a0)];}constructor(_0x5b51ed){const _0x1a39d3=_0x34655d;this[_0x1a39d3(0x1cf)]=null,this[_0x1a39d3(0x1c9)]=null,this[_0x1a39d3(0x1de)]=null,this[_0x1a39d3(0x171)]=null,this[_0x1a39d3(0x194)]=null,this[_0x1a39d3(0x1be)]={'ctrlKey':![],'shiftKey':![],'altKey':![]},this[_0x1a39d3(0x1d7)]=new Set(),this[_0x1a39d3(0x192)]=new Delegate(),this[_0x1a39d3(0x16f)]=new Delegate(),this[_0x1a39d3(0x1d1)]=new Delegate(),this[_0x1a39d3(0x1b7)]=new Delegate(),this[_0x1a39d3(0x1d9)]=new Delegate(),this[_0x1a39d3(0x1bd)]=new Delegate(),this[_0x1a39d3(0x195)]=new Delegate(),this[_0x1a39d3(0x16e)]=new Delegate(),this[_0x1a39d3(0x18a)]=new Delegate(),this[_0x1a39d3(0x1a0)]=new Delegate(),this[_0x1a39d3(0x18c)]=new webgpu.Vector2(),this[_0x1a39d3(0x1e1)]=new webgpu.Vector2(),this[_0x1a39d3(0x167)]=new webgpu.Vector2(),this[_0x1a39d3(0x1ad)]=new webgpu.Vector2(),this[_0x1a39d3(0x1c1)]=0xfa,this['leftClickTimer']=null,this[_0x1a39d3(0x198)]=_0x2ca059=>this[_0x1a39d3(0x1c7)](_0x2ca059),this[_0x1a39d3(0x184)]=_0x3c4dd3=>this[_0x1a39d3(0x1a9)](_0x3c4dd3),this['onPointerLeave']=_0x59883c=>this['onPointerLeaveEvent'](_0x59883c),this[_0x1a39d3(0x1a7)]=_0x7edd7a=>this[_0x1a39d3(0x17e)](_0x7edd7a),this[_0x1a39d3(0x16b)]=_0x2dd68e=>this[_0x1a39d3(0x1cb)](_0x2dd68e),this[_0x1a39d3(0x19f)]=_0x5b51ed,this[_0x1a39d3(0x1cf)]=new Orbital(this),this[_0x1a39d3(0x176)]['possess'](),this['raycaster']=new webgpu.Raycaster();}['init'](){const _0x559885=_0x34655d,_0x106f9=this[_0x559885(0x1a6)][_0x559885(0x1b9)];_0x106f9&&(_0x106f9['addEventListener']('pointerenter',this[_0x559885(0x184)]),_0x106f9['addEventListener'](_0x559885(0x1a3),this[_0x559885(0x1d5)]),this[_0x559885(0x1dc)]());}[_0x34655d(0x1df)](){const _0x32e178=_0x34655d;var _0x83a384,_0x1ef458;const _0x36a677=this[_0x32e178(0x176)][_0x32e178(0x182)];(_0x83a384=this[_0x32e178(0x1cf)])===null||_0x83a384===void 0?void 0:_0x83a384[_0x32e178(0x1d0)](),(_0x1ef458=this[_0x32e178(0x1cf)])===null||_0x1ef458===void 0?void 0:_0x1ef458['destroy'](),this[_0x32e178(0x1cf)]=new Orbital(this),this[_0x32e178(0x176)]['possess'](),this[_0x32e178(0x176)][_0x32e178(0x182)]=_0x36a677;}[_0x34655d(0x1bc)](_0x40add5){const _0x29e83f=_0x34655d;this[_0x29e83f(0x176)][_0x29e83f(0x1bc)](_0x40add5);}[_0x34655d(0x183)](){const _0x5da745=_0x34655d;this[_0x5da745(0x179)](),this['clearHovering']();const _0x28f2cc=this['viewPort'][_0x5da745(0x1b9)];_0x28f2cc&&(_0x28f2cc[_0x5da745(0x1bb)](_0x5da745(0x18f),this[_0x5da745(0x184)]),_0x28f2cc[_0x5da745(0x1bb)]('pointerleave',this[_0x5da745(0x1d5)]),this['removeCorePointerListeners']()),this['pawn']['unpossess'](),this[_0x5da745(0x176)]['destroy'](),this[_0x5da745(0x1cf)]=null;}['onPointerMoveEvent'](_0x35fb46){const _0x46ac66=_0x34655d;var _0x50602d,_0x3503c3;const _0x25c184=this[_0x46ac66(0x1a6)][_0x46ac66(0x1b9)];if(!_0x25c184)throw Error(_0x46ac66(0x1d4));const _0x234e57=_0x25c184[_0x46ac66(0x1b4)]();this['pointerPosition'][_0x46ac66(0x1a2)]((_0x35fb46[_0x46ac66(0x178)]-_0x234e57[_0x46ac66(0x1c8)])/_0x25c184[_0x46ac66(0x1aa)]*0x2-0x1,0x1-(_0x35fb46['clientY']-_0x234e57[_0x46ac66(0x186)])/_0x25c184[_0x46ac66(0x16a)]*0x2);if(this[_0x46ac66(0x1d7)][_0x46ac66(0x1b3)]>0x0)return;const _0x472bb2=this['getHitResultUnderCursor'](),_0x46a870=(_0x50602d=_0x472bb2===null||_0x472bb2===void 0?void 0:_0x472bb2['component'])!==null&&_0x50602d!==void 0?_0x50602d:null,_0x59f085=(_0x3503c3=_0x46a870===null||_0x46a870===void 0?void 0:_0x46a870['parentActor'])!==null&&_0x3503c3!==void 0?_0x3503c3:null;_0x46a870!==this['hoveringComponent']&&(this[_0x46ac66(0x1c9)]&&this[_0x46ac66(0x1b1)](this[_0x46ac66(0x1c9)]),_0x46a870&&_0x46a870['isHoverEnabled']&&_0x472bb2&&this['fireComponentHoverBegin'](_0x46a870,_0x472bb2[_0x46ac66(0x1ac)])),_0x59f085!==this['hoveringActor']&&(this[_0x46ac66(0x1de)]&&this[_0x46ac66(0x1c9)]&&this[_0x46ac66(0x1c4)](this['hoveringActor'],this[_0x46ac66(0x1c9)]),_0x59f085&&_0x46a870&&_0x59f085[_0x46ac66(0x188)]&&_0x472bb2&&this[_0x46ac66(0x1ce)](_0x59f085,_0x46a870,_0x472bb2[_0x46ac66(0x1ac)])),this['hoveringComponent']=_0x46a870,this[_0x46ac66(0x1de)]=_0x59f085;}[_0x34655d(0x17a)](){const _0x58a7f8=_0x34655d;this[_0x58a7f8(0x1c9)]&&this['fireComponentHoverEnd'](this[_0x58a7f8(0x1c9)]),this[_0x58a7f8(0x1de)]&&this[_0x58a7f8(0x1c9)]&&this['fireActorHoverEnd'](this[_0x58a7f8(0x1de)],this['hoveringComponent']),this['hoveringComponent']=null,this['hoveringActor']=null;}[_0x34655d(0x17e)](_0x2cc98c){const _0x20201d=_0x34655d;this[_0x20201d(0x1d7)][_0x20201d(0x17b)](_0x2cc98c[_0x20201d(0x1ae)]);if(_0x2cc98c[_0x20201d(0x1ae)]!==0x0)return;const _0x845df5=this[_0x20201d(0x167)][_0x20201d(0x18b)](this[_0x20201d(0x1e1)],this[_0x20201d(0x18c)])[_0x20201d(0x185)]();if(_0x845df5>0.005){this[_0x20201d(0x179)]();return;}this['prepareClickModifiers']={'ctrlKey':_0x2cc98c['ctrlKey'],'shiftKey':_0x2cc98c[_0x20201d(0x187)],'altKey':_0x2cc98c['altKey']},!this[_0x20201d(0x1af)]?this['handleFirstClick']():this[_0x20201d(0x169)]();}[_0x34655d(0x172)](){const _0xc1a577=_0x34655d,_0xed0151=this[_0xc1a577(0x16c)](),_0x2c94de=_0xed0151===null||_0xed0151===void 0?void 0:_0xed0151[_0xc1a577(0x19b)];_0x2c94de instanceof SceneComponent&&_0x2c94de['isClickEnabled']&&_0xed0151?(this[_0xc1a577(0x171)]=_0x2c94de,this[_0xc1a577(0x194)]=_0xed0151[_0xc1a577(0x1ac)],this[_0xc1a577(0x1af)]=window['setTimeout'](()=>{const _0x543c33=_0xc1a577;this[_0x543c33(0x1af)]=null,this[_0x543c33(0x171)]&&this[_0x543c33(0x194)]&&(this[_0x543c33(0x1cc)](this[_0x543c33(0x171)],this[_0x543c33(0x194)],![]),this[_0x543c33(0x171)]=null,this[_0x543c33(0x194)]=null);},this[_0xc1a577(0x1c1)])):this['_onClickNothingDelegate'][_0xc1a577(0x1e3)]();}[_0x34655d(0x169)](){const _0x40cc3c=_0x34655d;this[_0x40cc3c(0x179)](),this[_0x40cc3c(0x171)]&&this[_0x40cc3c(0x194)]?this['fireClickEvents'](this[_0x40cc3c(0x171)],this[_0x40cc3c(0x194)],!![]):this[_0x40cc3c(0x1a0)][_0x40cc3c(0x1e3)](),this[_0x40cc3c(0x171)]=null,this[_0x40cc3c(0x194)]=null;}['onPointerDownEvent'](_0x56ce71){const _0x15ccbe=_0x34655d;this['_pointButtonIsDown'][_0x15ccbe(0x1a5)](_0x56ce71['button']);_0x56ce71[_0x15ccbe(0x1ae)]===0x0&&this[_0x15ccbe(0x1e1)][_0x15ccbe(0x1a1)](this[_0x15ccbe(0x18c)]);const _0x28153c=this[_0x15ccbe(0x16c)](),_0x50b7ce=_0x28153c===null||_0x28153c===void 0?void 0:_0x28153c[_0x15ccbe(0x19b)];_0x50b7ce instanceof SceneComponent&&_0x28153c&&this[_0x15ccbe(0x1db)](_0x50b7ce,_0x28153c['hit'],_0x56ce71[_0x15ccbe(0x1ae)]);}[_0x34655d(0x1a9)](_0x34d5c8){const _0x371ce6=_0x34655d;this[_0x371ce6(0x1dc)]();}['onPointerLeaveEvent'](_0x281367){this['removeCorePointerListeners']();}[_0x34655d(0x190)](_0x328480,_0x533848){const _0x5cd3bf=_0x34655d,_0x7fdc11={'component':_0x328480,'hit':_0x533848,'handled':![]};this[_0x5cd3bf(0x1d1)]['broadcast'](_0x7fdc11),!_0x7fdc11['handled']&&_0x328480[_0x5cd3bf(0x1e2)]();}['fireComponentHoverEnd'](_0x45c52b){const _0x253d65=_0x34655d,_0x97a05c={'component':_0x45c52b,'hit':null,'handled':![]};this[_0x253d65(0x1b7)][_0x253d65(0x1e3)](_0x97a05c),!_0x97a05c[_0x253d65(0x173)]&&_0x45c52b['onHorveringEnd']();}['fireComponentClick'](_0x25d864,_0x3688fc,_0x30a28a){const _0x2d1e27=_0x34655d,_0x4c28de=Object[_0x2d1e27(0x19d)]({'component':_0x25d864,'hit':_0x3688fc,'handled':![]},this[_0x2d1e27(0x1be)]);_0x30a28a?(this[_0x2d1e27(0x16f)]['broadcast'](_0x4c28de),!_0x4c28de[_0x2d1e27(0x173)]&&_0x25d864['onDoubleClicked']()):(this[_0x2d1e27(0x192)][_0x2d1e27(0x1e3)](_0x4c28de),!_0x4c28de['handled']&&_0x25d864[_0x2d1e27(0x174)]());}[_0x34655d(0x1db)](_0xe0f64b,_0x1472bf,_0x13da8f){const _0x4fb03d=_0x34655d,_0x5f50ab={'component':_0xe0f64b,'hit':_0x1472bf,'button':_0x13da8f,'handled':![]};this[_0x4fb03d(0x1d9)]['broadcast'](_0x5f50ab);}[_0x34655d(0x1ce)](_0x43ddc3,_0x2e85c9,_0x55f4ee){const _0x490561=_0x34655d,_0x36bb6f={'actor':_0x43ddc3,'component':_0x2e85c9,'hit':_0x55f4ee,'handled':![]};this[_0x490561(0x16e)][_0x490561(0x1e3)](_0x36bb6f),!_0x36bb6f[_0x490561(0x173)]&&_0x43ddc3[_0x490561(0x1ba)](_0x2e85c9);}['fireActorHoverEnd'](_0x17d636,_0x2b43e4){const _0x1f6a6d=_0x34655d,_0xbaab9d={'actor':_0x17d636,'component':_0x2b43e4,'hit':null,'handled':![]};this[_0x1f6a6d(0x18a)][_0x1f6a6d(0x1e3)](_0xbaab9d),!_0xbaab9d[_0x1f6a6d(0x173)]&&_0x17d636[_0x1f6a6d(0x181)](_0x2b43e4);}[_0x34655d(0x1b6)](_0x185eab,_0x10939a,_0x56994f,_0x2ece24){const _0x194032=_0x34655d,_0x59e508=Object[_0x194032(0x19d)]({'actor':_0x185eab,'component':_0x10939a,'hit':_0x56994f,'handled':![]},this[_0x194032(0x1be)]);_0x2ece24?(this[_0x194032(0x195)][_0x194032(0x1e3)](_0x59e508),!_0x59e508[_0x194032(0x173)]&&_0x185eab[_0x194032(0x1ab)](_0x10939a)):(this['_onActorClickDelegate']['broadcast'](_0x59e508),!_0x59e508[_0x194032(0x173)]&&_0x185eab['onActorClick'](_0x10939a));}[_0x34655d(0x1cc)](_0x31e7bf,_0x297f0c,_0x4cc08d){const _0x1ecf74=_0x34655d;this[_0x1ecf74(0x18e)](_0x31e7bf,_0x297f0c,_0x4cc08d);const _0x455016=_0x31e7bf[_0x1ecf74(0x1c6)];_0x455016&&_0x455016[_0x1ecf74(0x196)]&&this[_0x1ecf74(0x1b6)](_0x455016,_0x31e7bf,_0x297f0c,_0x4cc08d);}[_0x34655d(0x179)](){const _0x479dc8=_0x34655d;this[_0x479dc8(0x1af)]&&(window['clearTimeout'](this[_0x479dc8(0x1af)]),this[_0x479dc8(0x1af)]=null);}[_0x34655d(0x1dc)](){const _0x51e785=_0x34655d,_0x3a2155=this[_0x51e785(0x1a6)]['canvas'];if(!_0x3a2155)return;_0x3a2155[_0x51e785(0x1c0)](_0x51e785(0x177),this[_0x51e785(0x198)]),_0x3a2155[_0x51e785(0x1c0)](_0x51e785(0x1b0),this['onPointerUp']),_0x3a2155[_0x51e785(0x1c0)](_0x51e785(0x16d),this[_0x51e785(0x16b)]);}[_0x34655d(0x197)](){const _0x1dac75=_0x34655d,_0x1dc501=this[_0x1dac75(0x1a6)]['canvas'];if(!_0x1dc501)return;_0x1dc501[_0x1dac75(0x1bb)](_0x1dac75(0x177),this[_0x1dac75(0x198)]),_0x1dc501[_0x1dac75(0x1bb)](_0x1dac75(0x1b0),this[_0x1dac75(0x1a7)]),_0x1dc501[_0x1dac75(0x1bb)](_0x1dac75(0x16d),this['onPointerDown']);}[_0x34655d(0x16c)](){const _0x4cd787=_0x34655d;return this[_0x4cd787(0x199)](this[_0x4cd787(0x18c)]['x'],this[_0x4cd787(0x18c)]['y']);}[_0x34655d(0x199)](_0x33e370,_0x2ac110){const _0x3c0629=_0x34655d;this['_raycastVec2'][_0x3c0629(0x1a2)](_0x33e370,_0x2ac110),this[_0x3c0629(0x1c5)]['setFromCamera'](this['_raycastVec2'],this[_0x3c0629(0x17d)]);const _0x297ba8=this[_0x3c0629(0x1a8)](_0x33e370,_0x2ac110);for(const _0x203b71 of _0x297ba8){const _0x2413ac=_0x203b71[_0x3c0629(0x19b)][_0x3c0629(0x188)]||_0x203b71[_0x3c0629(0x19b)][_0x3c0629(0x196)],_0x164559=_0x203b71[_0x3c0629(0x19b)][_0x3c0629(0x1c6)],_0x1fde7a=_0x164559&&(_0x164559[_0x3c0629(0x188)]||_0x164559[_0x3c0629(0x196)]);if(!_0x2413ac&&!_0x1fde7a)continue;return _0x203b71;}return null;}[_0x34655d(0x1a8)](_0x2dc49e,_0x1b72a1){const _0x124ef7=_0x34655d;this[_0x124ef7(0x1ad)][_0x124ef7(0x1a2)](_0x2dc49e,_0x1b72a1),this[_0x124ef7(0x1c5)][_0x124ef7(0x1c2)](this['_raycastVec2'],this[_0x124ef7(0x17d)]);const _0x110928=this[_0x124ef7(0x1c5)][_0x124ef7(0x189)](this[_0x124ef7(0x17f)][_0x124ef7(0x1c3)][_0x124ef7(0x1ca)],!![]),_0x3f23b7=[];for(const _0x57be94 of _0x110928){if(_0x57be94[_0x124ef7(0x1da)][_0x124ef7(0x1e0)]['rayIgnored'])continue;const _0x503386=_0x57be94[_0x124ef7(0x1da)][_0x124ef7(0x1e0)][_0x124ef7(0x1d2)];if(!_0x503386)continue;_0x3f23b7['push']({'component':_0x503386,'hit':_0x57be94});}return _0x3f23b7;}[_0x34655d(0x170)](_0x1dd93a,_0x3fd797,_0x822773,_0xbcb561,_0x44e808=null,_0x335f2c=null){const _0x213b95=_0x34655d;this['pawn'][_0x213b95(0x170)](_0x1dd93a,_0x3fd797,_0x822773,_0xbcb561,_0x44e808,_0x335f2c);}}
|
|
70
|
+
const _0x12f3ac=_0x47e4$1;(function(_0x2b6fff,_0x5da572){const _0x328004=_0x47e4$1,_0x41a8f3=_0x2b6fff();while(!![]){try{const _0xf837ea=-parseInt(_0x328004(0x111))/0x1*(parseInt(_0x328004(0xbb))/0x2)+-parseInt(_0x328004(0xba))/0x3+-parseInt(_0x328004(0xe5))/0x4+-parseInt(_0x328004(0xbf))/0x5*(-parseInt(_0x328004(0x9e))/0x6)+-parseInt(_0x328004(0xbe))/0x7*(-parseInt(_0x328004(0xec))/0x8)+-parseInt(_0x328004(0xa2))/0x9*(-parseInt(_0x328004(0xdc))/0xa)+-parseInt(_0x328004(0xa7))/0xb;if(_0xf837ea===_0x5da572)break;else _0x41a8f3['push'](_0x41a8f3['shift']());}catch(_0x2f2fd0){_0x41a8f3['push'](_0x41a8f3['shift']());}}}(_0x27b7,0xe05ed));function _0x47e4$1(_0x49a851,_0x7e797b){_0x49a851=_0x49a851-0x97;const _0x27b722=_0x27b7();let _0x47e413=_0x27b722[_0x49a851];return _0x47e413;}function _0x27b7(){const _0x43bcef=['1861216kWVMQl','onPointerLeaveEvent','clearClickTimer','hoveringActor','onClickNothingDelegate','children','object','8EyozvO','LYObject','fireActorHoverBegin','onActorDoubleClickDelegate','parentActor','pointerPosition','pawn\x20is\x20null','handleFirstClick','fireComponentHoverEnd','_onComponentHoverEndDelegate','size','userData','isClickEnabled','clearTimeout','viewport','pointerdown','assign','onComponentPointerDownDelegate','init','onComponentDoubleClickDelegate','onActorHoverEnd','fireActorClick','_onActorClickDelegate','canvas','onPointerUpEvent','broadcast','clientY','ctrlKey','setTimeout','_app','onPointerUp','left','hoveringComponent','pointermove','top','pointerup','getHitResultUnderCursor','1123053liyLVH','focusTo','_onActorHoverEndDelegate','destroy','delete','getHitResultFromScreenPoint','onPointerEnterEvent','updateCamera','removeCorePointerListeners','_onComponentClickDelegate','tick','intersectObjects','fireComponentClick','prepareClickHit','534402buhthk','component','firePointerDownEvent','onActorClick','9THVkvH','set','_raycastVec2','camera','_onComponentDoubleClickDelegate','6088665cdvWPx','_onActorDoubleClickDelegate','push','rayIgnored','pawn','leftClickTimer','_onComponentPointerDownDelegate','clientX','_tempVec2','removeEventListener','fireActorHoverEnd','_onActorHoverBeginDelegate','scene','fireComponentHoverBegin','clientWidth','getAllHitResultFromScreenPoint','_onComponentHoverBeginDelegate','_onClickNothingDelegate','pointerLeftDownPosition','1557090VBjQAX','2RlXaJn','onDoubleClicked','addCorePointerListeners','7873691SfnXSt','65yUfUpN','pointerleave','_pointButtonIsDown','onPointerMoveEvent','handled','unpossess','fireClickEvents','add','setFromCamera','onPointerEnter','copy','pointerenter','viewPort','button','onPointerDownEvent','onActorClickDelegate','prepareClickModifiers','canvas\x20is\x20null','altKey','onActorHoverBegin','raycaster','enabled','onPointerMove','onActorHoverBeginDelegate','_pawn','addEventListener','clearHovering','onPointerDown','onHorveringBegin','12972390rofalk','prepareClickComponent','world','isHoverEnabled','onComponentHoverBeginDelegate','onPointerLeave','length','handleDoubleClick','hit'];_0x27b7=function(){return _0x43bcef;};return _0x27b7();}class Controller{get['camera'](){const _0x35615d=_0x47e4$1;return this['_app'][_0x35615d(0xa5)];}get[_0x12f3ac(0xde)](){const _0x566c98=_0x12f3ac;return this['_app'][_0x566c98(0xde)];}get[_0x12f3ac(0xcb)](){const _0x4cd663=_0x12f3ac;return this['_app'][_0x4cd663(0xfa)];}get['app'](){const _0x234acf=_0x12f3ac;return this[_0x234acf(0x109)];}get['pawn'](){const _0x55c727=_0x12f3ac;if(!this['_pawn'])throw Error(_0x55c727(0xf2));return this[_0x55c727(0xd7)];}get['onComponentClickDelegate'](){return this['_onComponentClickDelegate'];}get[_0x12f3ac(0xff)](){const _0x32263a=_0x12f3ac;return this[_0x32263a(0xa6)];}get[_0x12f3ac(0xe0)](){const _0x3f9e60=_0x12f3ac;return this[_0x3f9e60(0xb7)];}get['onComponentHoverEndDelegate'](){const _0xb8c744=_0x12f3ac;return this[_0xb8c744(0xf5)];}get[_0x12f3ac(0xfd)](){const _0x151945=_0x12f3ac;return this[_0x151945(0xad)];}get[_0x12f3ac(0xce)](){const _0x2b84b1=_0x12f3ac;return this[_0x2b84b1(0x102)];}get[_0x12f3ac(0xef)](){const _0x1e801b=_0x12f3ac;return this[_0x1e801b(0xa8)];}get[_0x12f3ac(0xd6)](){const _0x57e74f=_0x12f3ac;return this[_0x57e74f(0xb2)];}get['onActorHoverEndDelegate'](){const _0x5020b0=_0x12f3ac;return this[_0x5020b0(0x113)];}get[_0x12f3ac(0xe9)](){return this['_onClickNothingDelegate'];}constructor(_0x24c94f){const _0x17571b=_0x12f3ac;this[_0x17571b(0xd7)]=null,this[_0x17571b(0x10c)]=null,this[_0x17571b(0xe8)]=null,this['prepareClickComponent']=null,this[_0x17571b(0x9d)]=null,this[_0x17571b(0xcf)]={'ctrlKey':![],'shiftKey':![],'altKey':![]},this[_0x17571b(0xc1)]=new Set(),this[_0x17571b(0x99)]=new Delegate(),this[_0x17571b(0xa6)]=new Delegate(),this[_0x17571b(0xb7)]=new Delegate(),this[_0x17571b(0xf5)]=new Delegate(),this[_0x17571b(0xad)]=new Delegate(),this['_onActorClickDelegate']=new Delegate(),this[_0x17571b(0xa8)]=new Delegate(),this[_0x17571b(0xb2)]=new Delegate(),this['_onActorHoverEndDelegate']=new Delegate(),this[_0x17571b(0xb8)]=new Delegate(),this['pointerPosition']=new webgpu.Vector2(),this[_0x17571b(0xb9)]=new webgpu.Vector2(),this[_0x17571b(0xaf)]=new webgpu.Vector2(),this[_0x17571b(0xa4)]=new webgpu.Vector2(),this['doubleClickDelay']=0xfa,this[_0x17571b(0xac)]=null,this[_0x17571b(0xd5)]=_0xf58df8=>this[_0x17571b(0xc2)](_0xf58df8),this[_0x17571b(0xc8)]=_0x799ce2=>this[_0x17571b(0x117)](_0x799ce2),this[_0x17571b(0xe1)]=_0x10cd1f=>this[_0x17571b(0xe6)](_0x10cd1f),this[_0x17571b(0x10a)]=_0x2d7a25=>this[_0x17571b(0x104)](_0x2d7a25),this[_0x17571b(0xda)]=_0x42485a=>this[_0x17571b(0xcd)](_0x42485a),this[_0x17571b(0x109)]=_0x24c94f,this[_0x17571b(0xd7)]=new Orbital(this),this[_0x17571b(0xab)]['possess'](),this[_0x17571b(0xd3)]=new webgpu.Raycaster();}[_0x12f3ac(0xfe)](){const _0x1647d5=_0x12f3ac,_0x43dc57=this[_0x1647d5(0xcb)][_0x1647d5(0x103)];_0x43dc57&&(_0x43dc57['addEventListener'](_0x1647d5(0xca),this[_0x1647d5(0xc8)]),_0x43dc57[_0x1647d5(0xd8)](_0x1647d5(0xc0),this[_0x1647d5(0xe1)]),this[_0x1647d5(0xbd)]());}[_0x12f3ac(0x97)](){const _0x5ccf89=_0x12f3ac;var _0x5e9759,_0x57a4e5;const _0x18383f=this[_0x5ccf89(0xab)]['enabled'];(_0x5e9759=this[_0x5ccf89(0xd7)])===null||_0x5e9759===void 0?void 0:_0x5e9759[_0x5ccf89(0xc4)](),(_0x57a4e5=this[_0x5ccf89(0xd7)])===null||_0x57a4e5===void 0?void 0:_0x57a4e5['destroy'](),this[_0x5ccf89(0xd7)]=new Orbital(this),this[_0x5ccf89(0xab)]['possess'](),this['pawn'][_0x5ccf89(0xd4)]=_0x18383f;}[_0x12f3ac(0x9a)](_0x32c9bb){const _0x54aa93=_0x12f3ac;this[_0x54aa93(0xab)][_0x54aa93(0x9a)](_0x32c9bb);}[_0x12f3ac(0x114)](){const _0x2a595c=_0x12f3ac;this[_0x2a595c(0xe7)](),this[_0x2a595c(0xd9)]();const _0x2cb3c1=this[_0x2a595c(0xcb)][_0x2a595c(0x103)];_0x2cb3c1&&(_0x2cb3c1[_0x2a595c(0xb0)](_0x2a595c(0xca),this[_0x2a595c(0xc8)]),_0x2cb3c1[_0x2a595c(0xb0)]('pointerleave',this[_0x2a595c(0xe1)]),this['removeCorePointerListeners']()),this[_0x2a595c(0xab)][_0x2a595c(0xc4)](),this[_0x2a595c(0xab)][_0x2a595c(0x114)](),this[_0x2a595c(0xd7)]=null;}['onPointerMoveEvent'](_0x5f2028){const _0x2c1aa3=_0x12f3ac;var _0x4f45e7,_0x39e291;const _0x2ce906=this['viewPort'][_0x2c1aa3(0x103)];if(!_0x2ce906)throw Error(_0x2c1aa3(0xd0));const _0x1211ee=_0x2ce906['getBoundingClientRect']();this[_0x2c1aa3(0xf1)][_0x2c1aa3(0xa3)]((_0x5f2028[_0x2c1aa3(0xae)]-_0x1211ee[_0x2c1aa3(0x10b)])/_0x2ce906[_0x2c1aa3(0xb5)]*0x2-0x1,0x1-(_0x5f2028[_0x2c1aa3(0x106)]-_0x1211ee[_0x2c1aa3(0x10e)])/_0x2ce906['clientHeight']*0x2);if(this['_pointButtonIsDown'][_0x2c1aa3(0xf6)]>0x0)return;const _0x33eb4b=this[_0x2c1aa3(0x110)](),_0x42b6e6=(_0x4f45e7=_0x33eb4b===null||_0x33eb4b===void 0?void 0:_0x33eb4b[_0x2c1aa3(0x9f)])!==null&&_0x4f45e7!==void 0?_0x4f45e7:null,_0x390eb5=(_0x39e291=_0x42b6e6===null||_0x42b6e6===void 0?void 0:_0x42b6e6[_0x2c1aa3(0xf0)])!==null&&_0x39e291!==void 0?_0x39e291:null;_0x42b6e6!==this['hoveringComponent']&&(this[_0x2c1aa3(0x10c)]&&this[_0x2c1aa3(0xf4)](this[_0x2c1aa3(0x10c)]),_0x42b6e6&&_0x33eb4b&&this[_0x2c1aa3(0xb4)](_0x42b6e6,_0x33eb4b[_0x2c1aa3(0xe4)])),_0x390eb5!==this[_0x2c1aa3(0xe8)]&&(this[_0x2c1aa3(0xe8)]&&this['hoveringComponent']&&this[_0x2c1aa3(0xb1)](this[_0x2c1aa3(0xe8)],this[_0x2c1aa3(0x10c)]),_0x390eb5&&_0x42b6e6&&_0x33eb4b&&this['fireActorHoverBegin'](_0x390eb5,_0x42b6e6,_0x33eb4b[_0x2c1aa3(0xe4)])),this[_0x2c1aa3(0x10c)]=_0x42b6e6,this['hoveringActor']=_0x390eb5;}['clearHovering'](){const _0x121d33=_0x12f3ac;this[_0x121d33(0x10c)]&&this['fireComponentHoverEnd'](this[_0x121d33(0x10c)]),this['hoveringActor']&&this['hoveringComponent']&&this[_0x121d33(0xb1)](this['hoveringActor'],this[_0x121d33(0x10c)]),this[_0x121d33(0x10c)]=null,this[_0x121d33(0xe8)]=null;}[_0x12f3ac(0x104)](_0x1ce56c){const _0x2f2044=_0x12f3ac;this[_0x2f2044(0xc1)][_0x2f2044(0x115)](_0x1ce56c[_0x2f2044(0xcc)]);if(_0x1ce56c[_0x2f2044(0xcc)]!==0x0)return;const _0x5e2809=this[_0x2f2044(0xaf)]['subVectors'](this[_0x2f2044(0xb9)],this[_0x2f2044(0xf1)])[_0x2f2044(0xe2)]();if(_0x5e2809>0.005){this[_0x2f2044(0xe7)]();return;}this[_0x2f2044(0xcf)]={'ctrlKey':_0x1ce56c[_0x2f2044(0x107)],'shiftKey':_0x1ce56c['shiftKey'],'altKey':_0x1ce56c[_0x2f2044(0xd1)]},!this[_0x2f2044(0xac)]?this[_0x2f2044(0xf3)]():this[_0x2f2044(0xe3)]();}[_0x12f3ac(0xf3)](){const _0x581736=_0x12f3ac,_0x48aab5=this[_0x581736(0x110)](),_0x46ad09=_0x48aab5===null||_0x48aab5===void 0?void 0:_0x48aab5[_0x581736(0x9f)];_0x46ad09 instanceof SceneComponent&&_0x48aab5?(this[_0x581736(0xdd)]=_0x46ad09,this[_0x581736(0x9d)]=_0x48aab5[_0x581736(0xe4)],this[_0x581736(0xac)]=window[_0x581736(0x108)](()=>{const _0x20a4a0=_0x581736;this[_0x20a4a0(0xac)]=null,this[_0x20a4a0(0xdd)]&&this[_0x20a4a0(0x9d)]&&(this['fireClickEvents'](this[_0x20a4a0(0xdd)],this['prepareClickHit'],![]),this['prepareClickComponent']=null,this[_0x20a4a0(0x9d)]=null);},this['doubleClickDelay'])):this[_0x581736(0xb8)][_0x581736(0x105)]();}[_0x12f3ac(0xe3)](){const _0x3abd5e=_0x12f3ac;this['clearClickTimer'](),this[_0x3abd5e(0xdd)]&&this[_0x3abd5e(0x9d)]?this[_0x3abd5e(0xc5)](this[_0x3abd5e(0xdd)],this['prepareClickHit'],!![]):this[_0x3abd5e(0xb8)][_0x3abd5e(0x105)](),this['prepareClickComponent']=null,this['prepareClickHit']=null;}[_0x12f3ac(0xcd)](_0x553ac5){const _0xbd0ddc=_0x12f3ac;this['_pointButtonIsDown'][_0xbd0ddc(0xc6)](_0x553ac5[_0xbd0ddc(0xcc)]);_0x553ac5[_0xbd0ddc(0xcc)]===0x0&&this[_0xbd0ddc(0xb9)][_0xbd0ddc(0xc9)](this[_0xbd0ddc(0xf1)]);const _0x27d5af=this[_0xbd0ddc(0x110)](),_0x39af47=_0x27d5af===null||_0x27d5af===void 0?void 0:_0x27d5af[_0xbd0ddc(0x9f)];_0x39af47 instanceof SceneComponent&&_0x27d5af&&this[_0xbd0ddc(0xa0)](_0x39af47,_0x27d5af[_0xbd0ddc(0xe4)],_0x553ac5[_0xbd0ddc(0xcc)]);}[_0x12f3ac(0x117)](_0x534137){const _0x144690=_0x12f3ac;this[_0x144690(0xbd)]();}[_0x12f3ac(0xe6)](_0x57cb5f){const _0x2d566b=_0x12f3ac;this[_0x2d566b(0x98)]();}[_0x12f3ac(0xb4)](_0x3f4607,_0x47be17){const _0x4b46f8=_0x12f3ac,_0x3b73c9={'component':_0x3f4607,'hit':_0x47be17,'handled':![]};this[_0x4b46f8(0xb7)][_0x4b46f8(0x105)](_0x3b73c9),!_0x3b73c9[_0x4b46f8(0xc3)]&&_0x3f4607[_0x4b46f8(0xdb)]();}[_0x12f3ac(0xf4)](_0x3cee13){const _0x3d9d92=_0x12f3ac,_0x31b6de={'component':_0x3cee13,'hit':null,'handled':![]};this[_0x3d9d92(0xf5)][_0x3d9d92(0x105)](_0x31b6de),!_0x31b6de['handled']&&_0x3cee13['onHorveringEnd']();}[_0x12f3ac(0x9c)](_0x42d120,_0x2531ba,_0x41f1a9){const _0x1de144=_0x12f3ac,_0x1cd5f7=Object[_0x1de144(0xfc)]({'component':_0x42d120,'hit':_0x2531ba,'handled':![]},this[_0x1de144(0xcf)]);_0x41f1a9?(this[_0x1de144(0xa6)][_0x1de144(0x105)](_0x1cd5f7),!_0x1cd5f7['handled']&&_0x42d120[_0x1de144(0xbc)]()):(this[_0x1de144(0x99)][_0x1de144(0x105)](_0x1cd5f7),!_0x1cd5f7[_0x1de144(0xc3)]&&_0x42d120['onClicked']());}['firePointerDownEvent'](_0x5dc365,_0x568634,_0x466f73){const _0x44d9bd=_0x12f3ac,_0x387ea6={'component':_0x5dc365,'hit':_0x568634,'button':_0x466f73,'handled':![]};this[_0x44d9bd(0xad)][_0x44d9bd(0x105)](_0x387ea6);}[_0x12f3ac(0xee)](_0xbd4f07,_0x3d4187,_0x3777a9){const _0x100388=_0x12f3ac,_0x437175={'actor':_0xbd4f07,'component':_0x3d4187,'hit':_0x3777a9,'handled':![]};this['_onActorHoverBeginDelegate']['broadcast'](_0x437175),!_0x437175[_0x100388(0xc3)]&&_0xbd4f07[_0x100388(0xd2)](_0x3d4187);}[_0x12f3ac(0xb1)](_0x251588,_0x5c005f){const _0x31ebdc=_0x12f3ac,_0x174f29={'actor':_0x251588,'component':_0x5c005f,'hit':null,'handled':![]};this[_0x31ebdc(0x113)][_0x31ebdc(0x105)](_0x174f29),!_0x174f29[_0x31ebdc(0xc3)]&&_0x251588[_0x31ebdc(0x100)](_0x5c005f);}[_0x12f3ac(0x101)](_0x5c73c7,_0x1cc31b,_0xd4e0a8,_0x153b4f){const _0x19ed16=_0x12f3ac,_0x14ffce=Object[_0x19ed16(0xfc)]({'actor':_0x5c73c7,'component':_0x1cc31b,'hit':_0xd4e0a8,'handled':![]},this[_0x19ed16(0xcf)]);_0x153b4f?(this['_onActorDoubleClickDelegate'][_0x19ed16(0x105)](_0x14ffce),!_0x14ffce['handled']&&_0x5c73c7['onActorDoubleClick'](_0x1cc31b)):(this[_0x19ed16(0x102)][_0x19ed16(0x105)](_0x14ffce),!_0x14ffce[_0x19ed16(0xc3)]&&_0x5c73c7[_0x19ed16(0xa1)](_0x1cc31b));}['fireClickEvents'](_0x6f2e8a,_0x4c0767,_0x417d89){const _0x29b2ec=_0x12f3ac;this[_0x29b2ec(0x9c)](_0x6f2e8a,_0x4c0767,_0x417d89);const _0x409b30=_0x6f2e8a['parentActor'];_0x409b30&&_0x409b30[_0x29b2ec(0xf8)]&&this['fireActorClick'](_0x409b30,_0x6f2e8a,_0x4c0767,_0x417d89);}[_0x12f3ac(0xe7)](){const _0x1c95c6=_0x12f3ac;this[_0x1c95c6(0xac)]&&(window[_0x1c95c6(0xf9)](this[_0x1c95c6(0xac)]),this[_0x1c95c6(0xac)]=null);}[_0x12f3ac(0xbd)](){const _0x2f3cda=_0x12f3ac,_0x1910e5=this[_0x2f3cda(0xcb)][_0x2f3cda(0x103)];if(!_0x1910e5)return;_0x1910e5[_0x2f3cda(0xd8)](_0x2f3cda(0x10d),this[_0x2f3cda(0xd5)]),_0x1910e5[_0x2f3cda(0xd8)](_0x2f3cda(0x10f),this['onPointerUp']),_0x1910e5[_0x2f3cda(0xd8)](_0x2f3cda(0xfb),this[_0x2f3cda(0xda)]);}[_0x12f3ac(0x98)](){const _0x2c0cd7=_0x12f3ac,_0x4f0e7c=this[_0x2c0cd7(0xcb)][_0x2c0cd7(0x103)];if(!_0x4f0e7c)return;_0x4f0e7c[_0x2c0cd7(0xb0)]('pointermove',this[_0x2c0cd7(0xd5)]),_0x4f0e7c[_0x2c0cd7(0xb0)](_0x2c0cd7(0x10f),this[_0x2c0cd7(0x10a)]),_0x4f0e7c['removeEventListener']('pointerdown',this['onPointerDown']);}['getHitResultUnderCursor'](_0x116d7c=!![]){const _0x1485df=_0x12f3ac;return this['getHitResultFromScreenPoint'](this[_0x1485df(0xf1)]['x'],this[_0x1485df(0xf1)]['y'],_0x116d7c);}[_0x12f3ac(0x116)](_0x3752ea,_0x3f4ddf,_0x45a159=!![]){const _0xa77357=_0x12f3ac;this[_0xa77357(0xa4)]['set'](_0x3752ea,_0x3f4ddf),this[_0xa77357(0xd3)][_0xa77357(0xc7)](this[_0xa77357(0xa4)],this[_0xa77357(0xa5)]);const _0x3dbeba=this[_0xa77357(0xb6)](_0x3752ea,_0x3f4ddf);if(!_0x45a159)return _0x3dbeba[0x0]||null;for(const _0x2652de of _0x3dbeba){const _0x45ffed=_0x2652de[_0xa77357(0x9f)][_0xa77357(0xdf)]||_0x2652de[_0xa77357(0x9f)][_0xa77357(0xf8)],_0x59eb12=_0x2652de[_0xa77357(0x9f)][_0xa77357(0xf0)],_0x2f3bf1=_0x59eb12&&(_0x59eb12[_0xa77357(0xdf)]||_0x59eb12[_0xa77357(0xf8)]);if(_0x45ffed||_0x2f3bf1)return _0x2652de;}return null;}[_0x12f3ac(0xb6)](_0x373926,_0x2d3f66){const _0x7a6e47=_0x12f3ac;this[_0x7a6e47(0xa4)]['set'](_0x373926,_0x2d3f66),this[_0x7a6e47(0xd3)][_0x7a6e47(0xc7)](this['_raycastVec2'],this[_0x7a6e47(0xa5)]);const _0x3deeb7=this['raycaster'][_0x7a6e47(0x9b)](this[_0x7a6e47(0xde)][_0x7a6e47(0xb3)][_0x7a6e47(0xea)],!![]),_0x18f067=[];for(const _0x3dfb50 of _0x3deeb7){if(_0x3dfb50[_0x7a6e47(0xeb)][_0x7a6e47(0xf7)][_0x7a6e47(0xaa)])continue;const _0x3218a1=_0x3dfb50['object']['userData'][_0x7a6e47(0xed)];if(!_0x3218a1)continue;_0x18f067[_0x7a6e47(0xa9)]({'component':_0x3218a1,'hit':_0x3dfb50});}return _0x18f067;}[_0x12f3ac(0x112)](_0x1785f6,_0x1ae2d2,_0x47174f,_0x3b59ea,_0x2c4b9a=null,_0x411471=null){const _0x27344c=_0x12f3ac;this['pawn'][_0x27344c(0x112)](_0x1785f6,_0x1ae2d2,_0x47174f,_0x3b59ea,_0x2c4b9a,_0x411471);}}
|
|
71
71
|
|
|
72
|
-
|
|
72
|
+
const _0x1655a4=_0x3a74;function _0x3a74(_0x162834,_0x4fc4e0){_0x162834=_0x162834-0xb3;const _0x359f8f=_0x359f();let _0x3a7401=_0x359f8f[_0x162834];return _0x3a7401;}(function(_0x2f62dc,_0x436a48){const _0x285954=_0x3a74,_0xa61f8f=_0x2f62dc();while(!![]){try{const _0x26b5fc=-parseInt(_0x285954(0xc4))/0x1*(-parseInt(_0x285954(0xd0))/0x2)+-parseInt(_0x285954(0xd1))/0x3+-parseInt(_0x285954(0xcc))/0x4*(parseInt(_0x285954(0xc0))/0x5)+parseInt(_0x285954(0xc1))/0x6*(-parseInt(_0x285954(0xbc))/0x7)+parseInt(_0x285954(0xc7))/0x8*(-parseInt(_0x285954(0xbd))/0x9)+-parseInt(_0x285954(0xbf))/0xa*(parseInt(_0x285954(0xb9))/0xb)+parseInt(_0x285954(0xc6))/0xc*(parseInt(_0x285954(0xb7))/0xd);if(_0x26b5fc===_0x436a48)break;else _0xa61f8f['push'](_0xa61f8f['shift']());}catch(_0x3e9f77){_0xa61f8f['push'](_0xa61f8f['shift']());}}}(_0x359f,0x23c9c));class CameraFactory{static[_0x1655a4(0xbe)](_0xae941b){const _0x262de1=_0x1655a4;try{switch(_0xae941b[_0x262de1(0xc8)]){case _0x262de1(0xca):{let _0x6e9513=_0xae941b;return new webgpu.PerspectiveCamera(_0x6e9513[_0x262de1(0xcf)],_0x6e9513[_0x262de1(0xb3)],_0x6e9513[_0x262de1(0xb6)],_0x6e9513['far']);}case _0x262de1(0xd2):{let _0x3571ed=_0xae941b;return new webgpu.OrthographicCamera(_0x3571ed[_0x262de1(0xbb)],_0x3571ed[_0x262de1(0xb4)],_0x3571ed['top'],_0x3571ed[_0x262de1(0xcb)],_0x3571ed[_0x262de1(0xb6)],_0x3571ed[_0x262de1(0xcd)]);}default:{throw new Error(_0x262de1(0xba));}}}catch(_0x55dbf2){return console[_0x262de1(0xc2)](_0x262de1(0xc5),_0x55dbf2),console[_0x262de1(0xc2)](_0x262de1(0xb8)),new webgpu.PerspectiveCamera(0x32,0x1,0.1,0x3e8);}}static[_0x1655a4(0xce)](_0x12162e,_0x9b5aa7){const _0x123fb2=_0x1655a4;try{switch(_0x12162e[_0x123fb2(0xc8)]){case _0x123fb2(0xca):{let _0x59a5ed=_0x12162e;if(_0x9b5aa7 instanceof webgpu.PerspectiveCamera)return _0x9b5aa7[_0x123fb2(0xb6)]=_0x59a5ed[_0x123fb2(0xb6)],_0x9b5aa7[_0x123fb2(0xcd)]=_0x59a5ed[_0x123fb2(0xcd)],_0x9b5aa7['fov']=_0x59a5ed[_0x123fb2(0xcf)],_0x9b5aa7[_0x123fb2(0xb3)]=_0x59a5ed[_0x123fb2(0xb3)],_0x9b5aa7;return new webgpu.PerspectiveCamera(_0x59a5ed[_0x123fb2(0xcf)],_0x59a5ed[_0x123fb2(0xb3)],_0x59a5ed[_0x123fb2(0xb6)],_0x59a5ed[_0x123fb2(0xcd)]);}case _0x123fb2(0xd2):{let _0x5db811=_0x12162e;if(_0x9b5aa7 instanceof webgpu.OrthographicCamera)return _0x9b5aa7[_0x123fb2(0xb6)]=_0x5db811[_0x123fb2(0xb6)],_0x9b5aa7[_0x123fb2(0xcd)]=_0x5db811[_0x123fb2(0xcd)],_0x9b5aa7['left']=_0x5db811['left'],_0x9b5aa7['right']=_0x5db811[_0x123fb2(0xb4)],_0x9b5aa7[_0x123fb2(0xb5)]=_0x5db811['top'],_0x9b5aa7[_0x123fb2(0xcb)]=_0x5db811[_0x123fb2(0xcb)],_0x9b5aa7;return new webgpu.OrthographicCamera(_0x5db811[_0x123fb2(0xbb)],_0x5db811[_0x123fb2(0xb4)],_0x5db811['top'],_0x5db811[_0x123fb2(0xcb)],_0x5db811['near'],_0x5db811[_0x123fb2(0xcd)]);}default:{throw new Error('Invalid\x20camera\x20type');}}}catch(_0x354438){return console[_0x123fb2(0xc2)](_0x123fb2(0xc9),_0x354438),console['warn'](_0x123fb2(0xc3)),_0x9b5aa7;}}}function _0x359f(){const _0x2f36af=['7547UwOZQI','[CameraFactory]Error\x20occurred\x20while\x20creating\x20camera:\x20','9972204NPeBPD','833288yAldlX','type','[CameraFactory]Error\x20occurred\x20while\x20updating\x20camera:\x20','Perspective','bottom','8RIuVVT','far','updataCamera','fov','46XcAMHn','251445BUCPpw','Orthographic','aspect','right','top','near','13fmnrPv','[CameraFactory]Create\x20default\x20perspective\x20camera\x20instead','22EKlcJV','Invalid\x20camera\x20type','left','35urgZgU','9KOGmGs','createCamera','738580SHaHTq','729845OacSfH','276456CWwEnw','warn','[CameraFactory]Update\x20Failed.\x20Return\x20old\x20camera\x20instead'];_0x359f=function(){return _0x2f36af;};return _0x359f();}
|
|
73
73
|
|
|
74
|
-
const
|
|
74
|
+
const _0x1c9553=_0x3b42;(function(_0x29cf33,_0x3031d7){const _0x19981e=_0x3b42,_0x1b66e5=_0x29cf33();while(!![]){try{const _0x48e983=-parseInt(_0x19981e(0x118))/0x1*(parseInt(_0x19981e(0x112))/0x2)+-parseInt(_0x19981e(0x117))/0x3+parseInt(_0x19981e(0x11b))/0x4+parseInt(_0x19981e(0x11a))/0x5+parseInt(_0x19981e(0x114))/0x6+parseInt(_0x19981e(0x113))/0x7+-parseInt(_0x19981e(0x116))/0x8;if(_0x48e983===_0x3031d7)break;else _0x1b66e5['push'](_0x1b66e5['shift']());}catch(_0x399568){_0x1b66e5['push'](_0x1b66e5['shift']());}}}(_0x5be7,0xb14d4));function _0x3b42(_0x55aa5d,_0x1ba861){_0x55aa5d=_0x55aa5d-0x111;const _0x5be7fd=_0x5be7();let _0x3b420e=_0x5be7fd[_0x55aa5d];return _0x3b420e;}const DefaultPerspectiveCameraParam={'near':0.1,'far':0x3e8,'type':_0x1c9553(0x119),'fov':0x32,'aspect':0x1};function _0x5be7(){const _0x50e9a2=['127830DSaBZw','899BrSlTT','Perspective','5517005lDnUub','3964000JrleDh','parse','1622FofkOO','4437874flkgOe','2302734AXJjxf','stringify','12913960glxFdH'];_0x5be7=function(){return _0x50e9a2;};return _0x5be7();}const DefaultOrthographicCameraParam={'type':'Orthographic','near':0.1,'far':0x3e8,'left':-1,'right':0x1,'top':0x1,'bottom':-1};const DefaultCameraParam=JSON[_0x1c9553(0x111)](JSON[_0x1c9553(0x115)](DefaultPerspectiveCameraParam));
|
|
75
75
|
|
|
76
|
-
(function(
|
|
76
|
+
function _0x47e4(_0x4fa662,_0x16739a){_0x4fa662=_0x4fa662-0x1ba;const _0x34db05=_0x34db();let _0x47e4d3=_0x34db05[_0x4fa662];return _0x47e4d3;}function _0x34db(){const _0x4b9f54=['78lzneVZ','18230rshKcj','90999KicjfX','2272784JffbPI','1385644WaFiCD','7983inGuki','36mYEszU','254428bfhoze','553609SMiLUI','25858613uHVpbt','5iQUJIJ'];_0x34db=function(){return _0x4b9f54;};return _0x34db();}(function(_0x7094da,_0x800b12){const _0x391138=_0x47e4,_0x11be0f=_0x7094da();while(!![]){try{const _0x339430=parseInt(_0x391138(0x1c4))/0x1+parseInt(_0x391138(0x1be))/0x2*(-parseInt(_0x391138(0x1bd))/0x3)+parseInt(_0x391138(0x1bb))/0x4*(-parseInt(_0x391138(0x1c1))/0x5)+-parseInt(_0x391138(0x1c2))/0x6*(parseInt(_0x391138(0x1bf))/0x7)+-parseInt(_0x391138(0x1ba))/0x8+-parseInt(_0x391138(0x1bc))/0x9*(-parseInt(_0x391138(0x1c3))/0xa)+parseInt(_0x391138(0x1c0))/0xb;if(_0x339430===_0x800b12)break;else _0x11be0f['push'](_0x11be0f['shift']());}catch(_0x2448e3){_0x11be0f['push'](_0x11be0f['shift']());}}}(_0x34db,0xd5467));const DefaultViewportParam={'elementId':null,'isLabelRendererNeeded':![],'isUILayerNeeded':![]};
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
(function(_0x19715a,_0x45f7e6){const _0x54da85=_0xaa07,_0xfbc98c=_0x19715a();while(!![]){try{const _0x367f21=-parseInt(_0x54da85(0x154))/0x1*(-parseInt(_0x54da85(0x155))/0x2)+-parseInt(_0x54da85(0x158))/0x3*(parseInt(_0x54da85(0x153))/0x4)+parseInt(_0x54da85(0x159))/0x5*(-parseInt(_0x54da85(0x14f))/0x6)+parseInt(_0x54da85(0x156))/0x7+parseInt(_0x54da85(0x152))/0x8+parseInt(_0x54da85(0x151))/0x9*(parseInt(_0x54da85(0x150))/0xa)+-parseInt(_0x54da85(0x15a))/0xb*(-parseInt(_0x54da85(0x157))/0xc);if(_0x367f21===_0x45f7e6)break;else _0xfbc98c['push'](_0xfbc98c['shift']());}catch(_0x12142f){_0xfbc98c['push'](_0xfbc98c['shift']());}}}(_0x4767,0x9fae2));const DefaultRendererParameters={'logarithmicDepthBuffer':![],'alpha':![],'depth':!![],'stencil':![],'antialias':![],'samples':0x1,'forceWebGL':![],'outputBufferType':0x3f8,'toneMapping':0x0,'toneMappingExposure':0x1,'shadowMapEnabled':!![],'shadowMapType':0x1};function _0x4767(){const _0x3da4a0=['36VqMqvV','579rNliQL','6170ivGczp','532411FyEhdp','3246RUtyok','10VisdMa','225783NkrPIY','3692448vneJGm','11212bflCRm','449igCqXF','3514nEyazD','3093188msuVGi'];_0x4767=function(){return _0x3da4a0;};return _0x4767();}function _0xaa07(_0x2b04e0,_0x1dea86){_0x2b04e0=_0x2b04e0-0x14f;const _0x47675f=_0x4767();let _0xaa076=_0x47675f[_0x2b04e0];return _0xaa076;}
|
|
79
79
|
|
|
80
|
-
(function(
|
|
80
|
+
function _0x1c9e(){const _0x5d5ea6=['187980uhbcfW','18891qYJfjX','2588110jbRoBo','60268GyrZGt','386242clViVI','976800JCJLdX','1666970NUGxKX'];_0x1c9e=function(){return _0x5d5ea6;};return _0x1c9e();}(function(_0x4598cf,_0x1a3f44){const _0x3c0b68=_0x3eee,_0x491e5a=_0x4598cf();while(!![]){try{const _0x40094a=parseInt(_0x3c0b68(0x171))/0x1+parseInt(_0x3c0b68(0x172))/0x2+-parseInt(_0x3c0b68(0x16f))/0x3+parseInt(_0x3c0b68(0x16e))/0x4+-parseInt(_0x3c0b68(0x174))/0x5+-parseInt(_0x3c0b68(0x173))/0x6+parseInt(_0x3c0b68(0x170))/0x7;if(_0x40094a===_0x1a3f44)break;else _0x491e5a['push'](_0x491e5a['shift']());}catch(_0x27ea80){_0x491e5a['push'](_0x491e5a['shift']());}}}(_0x1c9e,0x28ec7));function _0x3eee(_0x27925e,_0x42c367){_0x27925e=_0x27925e-0x16e;const _0x1c9edf=_0x1c9e();let _0x3eee52=_0x1c9edf[_0x27925e];return _0x3eee52;}const DefaultAppParam={'renderParam':DefaultRendererParameters,'cameraParam':DefaultCameraParam,'postProcessParam':DefaultPostProcessParam,'viewportParam':DefaultViewportParam,'classes':{'assetManagerClass':AssetManager,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport}};
|
|
81
81
|
|
|
82
|
-
const _0x4135c2=_0x3a93;function _0x3a93(_0x16f8d4,_0x6a052a){_0x16f8d4=_0x16f8d4-0x1c4;const _0x4c95e7=_0x4c95();let _0x3a93c3=_0x4c95e7[_0x16f8d4];return _0x3a93c3;}(function(_0xf66784,_0x4988a6){const _0x1acbb4=_0x3a93,_0x4d28f4=_0xf66784();while(!![]){try{const _0x45b5c1=parseInt(_0x1acbb4(0x216))/0x1*(parseInt(_0x1acbb4(0x1c8))/0x2)+-parseInt(_0x1acbb4(0x1cc))/0x3*(parseInt(_0x1acbb4(0x1cb))/0x4)+-parseInt(_0x1acbb4(0x21f))/0x5+-parseInt(_0x1acbb4(0x220))/0x6*(parseInt(_0x1acbb4(0x1c6))/0x7)+parseInt(_0x1acbb4(0x1fa))/0x8+-parseInt(_0x1acbb4(0x215))/0x9+-parseInt(_0x1acbb4(0x210))/0xa*(-parseInt(_0x1acbb4(0x1d5))/0xb);if(_0x45b5c1===_0x4988a6)break;else _0x4d28f4['push'](_0x4d28f4['shift']());}catch(_0x307949){_0x4d28f4['push'](_0x4d28f4['shift']());}}}(_0x4c95,0x3211b));function _0x4c95(){const _0x389bcd=['markRenderStateDirty','getChildActorsByIds','getCenter','getBoundsCenterPosition','getWorldForwardDirection','forEach','children','onClickDelegate','worldToLocal','onRemovedFromWorld','app','broadcast','_onDoubleClickDelegate','addLocalOffset','_world','threeObject','destroy','onHoverEndDelegate','isVisible','getWorldRightDirection','userData','50mWlEdr','name','getBounds','onAddedToWorld','getWorldPosition','407601CRoLdN','13ZdnBjI','onActorDoubleClick','getWorldUpDirection','isTickEnabled','setVisible','setWorldMatrix','_onHoverBeginDelegate','onDoubleClickDelegate','getChildActorById','1801065SMGNnr','23484aQTOIE','getBoundsBottomCenterPosition','Actor','delete','constructRootComponent','addTickableActor','LYObject','max','KeepRelative','98WmFpmH','push','33740OkkUOn','addChildActor','childActors','794000hZgqwB','3xwvWeN','removeChildActor','has','uuid','tick','sub','size','_name','childrenComponents','1123331vQxROL','_rootComponent','setQuaternion','setRotation','addComponent','isClickEnabled','getWorldMatrix','getQuaternion','_onClickDelegate','setScale','getWorldQuaternion','KeepWorld','rootComponent','localToWorld','removeTickableActor','min','setLayers','rootComponent\x20is\x20invalid','_onHoverEndDelegate','length','getWorldScale','attachComponent','addChildComponent','getPosition','viewport','setPosition','clearComponent','getWorldRotation','onActorClick','error','getRotation','onActorHoverBegin','world','destroyChildren','parentActor','getComponents','isHoverEnabled','1071728JVrsgI'];_0x4c95=function(){return _0x389bcd;};return _0x4c95();}class Actor extends BaseObject{get['world'](){const _0x3e9e47=_0x3a93;return this[_0x3e9e47(0x209)];}get[_0x4135c2(0x211)](){const _0x47cd3f=_0x4135c2;return this[_0x47cd3f(0x1d3)];}set[_0x4135c2(0x211)](_0x59f35b){const _0x51e597=_0x4135c2;this[_0x51e597(0x1d3)]=_0x59f35b;}get['rootComponent'](){const _0x4f1d04=_0x4135c2;if(!this['_rootComponent'])throw Error(_0x4f1d04(0x1e6));return this[_0x4f1d04(0x1d6)];}set['rootComponent'](_0x1d74b3){const _0xdc3a06=_0x4135c2;_0x1d74b3['detachFromParentComponent'](),_0x1d74b3[_0xdc3a06(0x1f7)]=this;if(this[_0xdc3a06(0x1d6)]){let _0x32441f=this[_0xdc3a06(0x1e1)]['childrenComponents'];for(let _0x3225aa=0x0;_0x3225aa<_0x32441f[_0xdc3a06(0x1e8)];++_0x3225aa){_0x1d74b3[_0xdc3a06(0x1eb)](_0x32441f[_0x3225aa]);}this['rootComponent']['destroy']();}this['_rootComponent']=_0x1d74b3;}get[_0x4135c2(0x1d4)](){const _0x3cf914=_0x4135c2;return this[_0x3cf914(0x1e1)][_0x3cf914(0x1d4)];}get[_0x4135c2(0x1ca)](){const _0xb49fab=_0x4135c2;var _0x3eec77;let _0x4e2d93=[];return (_0x3eec77=this[_0xb49fab(0x1e1)][_0xb49fab(0x20a)])===null||_0x3eec77===void 0?void 0:_0x3eec77[_0xb49fab(0x201)][_0xb49fab(0x200)](_0xb9d7d1=>{const _0x54fff7=_0xb49fab;var _0x5aaa05;let _0x36ae3c=(_0x5aaa05=_0xb9d7d1[_0x54fff7(0x20f)]['LYObject'])===null||_0x5aaa05===void 0?void 0:_0x5aaa05['parentActor'];_0x36ae3c!==this&&_0x36ae3c instanceof Actor&&_0x4e2d93[_0x54fff7(0x1c7)](_0x36ae3c);}),_0x4e2d93;}get[_0x4135c2(0x1f7)](){const _0xcbaae8=_0x4135c2;var _0x349c8c,_0x572bd8;let _0x50f863=(_0x572bd8=(_0x349c8c=this[_0xcbaae8(0x1e1)][_0xcbaae8(0x20a)])===null||_0x349c8c===void 0?void 0:_0x349c8c['parent'])===null||_0x572bd8===void 0?void 0:_0x572bd8[_0xcbaae8(0x20f)][_0xcbaae8(0x226)][_0xcbaae8(0x1f7)];return _0x50f863===this?null:_0x50f863;}get[_0x4135c2(0x20d)](){const _0x274f00=_0x4135c2;return this[_0x274f00(0x1e1)]?this[_0x274f00(0x1e1)]['isVisible']:![];}get['isTickEnabled'](){const _0x76b3a1=_0x4135c2;return super[_0x76b3a1(0x219)];}set[_0x4135c2(0x219)](_0x51e6ab){const _0x4467f2=_0x4135c2;super['isTickEnabled']=_0x51e6ab,this[_0x4467f2(0x219)]?this['app'][_0x4467f2(0x1f5)][_0x4467f2(0x225)](this):this[_0x4467f2(0x205)][_0x4467f2(0x1f5)][_0x4467f2(0x1e3)](this);}get['onHoverBeginDelegate'](){return this['_onHoverBeginDelegate'];}get[_0x4135c2(0x20c)](){const _0x5ee257=_0x4135c2;return this[_0x5ee257(0x1e7)];}get[_0x4135c2(0x202)](){const _0x3d26fb=_0x4135c2;return this[_0x3d26fb(0x1dd)];}get[_0x4135c2(0x21d)](){return this['_onDoubleClickDelegate'];}constructor(_0x37f88d,_0x3f15ca){const _0x298d58=_0x4135c2;super(_0x3f15ca),this['_name']=_0x298d58(0x222),this[_0x298d58(0x1d6)]=null,this[_0x298d58(0x209)]=null,this[_0x298d58(0x21c)]=new Delegate(),this['_onHoverEndDelegate']=new Delegate(),this[_0x298d58(0x1dd)]=new Delegate(),this[_0x298d58(0x207)]=new Delegate(),this['app']=_0x37f88d,this['rootComponent']=this[_0x298d58(0x224)](),this[_0x298d58(0x1e1)]['parentActor']=this;}[_0x4135c2(0x224)](){const _0x552a6e=_0x4135c2;return new SceneComponent(this[_0x552a6e(0x205)]);}[_0x4135c2(0x1fe)](_0x5634c7=!![]){const _0x531d6b=_0x4135c2;let _0x56d263=new webgpu.Vector3();return this[_0x531d6b(0x212)]()['getCenter'](_0x56d263),!_0x5634c7?_0x56d263[_0x531d6b(0x1d1)](this[_0x531d6b(0x1ec)]()):_0x56d263;}[_0x4135c2(0x21e)](_0x377bfa,_0x2ef977=!![]){const _0x33cc48=_0x4135c2,_0x53888f=this[_0x33cc48(0x1ca)];for(const _0x435072 of _0x53888f){if(_0x435072[_0x33cc48(0x1cf)]===_0x377bfa)return _0x435072;}if(_0x2ef977)for(const _0x4c8a7b of _0x53888f){const _0x2d8900=_0x4c8a7b[_0x33cc48(0x21e)](_0x377bfa,!![]);if(_0x2d8900)return _0x2d8900;}return null;}[_0x4135c2(0x1fc)](_0x1951d2,_0x2cdde6=!![]){const _0x1087b0=_0x4135c2,_0x36f2bd=[],_0x5a90ae=new Set(_0x1951d2),_0xdc2439=this['childActors'];for(const _0x484024 of _0xdc2439){_0x5a90ae[_0x1087b0(0x1ce)](_0x484024[_0x1087b0(0x1cf)])&&(_0x36f2bd[_0x1087b0(0x1c7)](_0x484024),_0x5a90ae[_0x1087b0(0x223)](_0x484024['uuid']));}if(_0x2cdde6&&_0x5a90ae[_0x1087b0(0x1d2)]>0x0)for(const _0x16a993 of _0xdc2439){const _0x4ad981=_0x16a993['getChildActorsByIds']([..._0x5a90ae],!![]);for(const _0x2e3b64 of _0x4ad981){_0x36f2bd['push'](_0x2e3b64),_0x5a90ae[_0x1087b0(0x223)](_0x2e3b64[_0x1087b0(0x1cf)]);}if(_0x5a90ae[_0x1087b0(0x1d2)]===0x0)break;}return _0x36f2bd;}['getComponentById'](_0x5ea8ef){const _0x322f8b=_0x4135c2;return this[_0x322f8b(0x1e1)]['getComponentById'](_0x5ea8ef);}['getBoundsTopCenterPosition'](_0xf41770=!![]){const _0x1cba68=_0x4135c2;let _0x58f886=new webgpu.Vector3(),_0x1133cd=this['rootComponent'][_0x1cba68(0x212)]();return _0x1133cd[_0x1cba68(0x1fd)](_0x58f886),_0x58f886['y']=_0x1133cd[_0x1cba68(0x1c4)]['y'],!_0xf41770?_0x58f886[_0x1cba68(0x1d1)](this[_0x1cba68(0x1ec)]()):_0x58f886;}[_0x4135c2(0x221)](_0x4e2f2d=!![]){const _0x2d9eac=_0x4135c2;let _0x428d0b=new webgpu.Vector3(),_0x498ab0=this[_0x2d9eac(0x212)]();return _0x498ab0[_0x2d9eac(0x1fd)](_0x428d0b),_0x428d0b['y']=_0x498ab0[_0x2d9eac(0x1e4)]['y'],!_0x4e2f2d?_0x428d0b[_0x2d9eac(0x1d1)](this[_0x2d9eac(0x1ec)]()):_0x428d0b;}['getBounds'](){const _0x37c7c8=_0x4135c2;return this[_0x37c7c8(0x1e1)][_0x37c7c8(0x212)]();}[_0x4135c2(0x20b)](){const _0x439314=_0x4135c2;let _0x1f46f0=this[_0x439314(0x1ca)];_0x1f46f0[_0x439314(0x200)](_0x829f75=>{const _0x136bf5=_0x439314;_0x829f75[_0x136bf5(0x20b)]();}),this['rootComponent']['destroy']();}[_0x4135c2(0x21a)](_0x1c59a4){const _0x7db9fc=_0x4135c2;this[_0x7db9fc(0x1e1)]['setVisible'](_0x1c59a4);}[_0x4135c2(0x1e5)](_0x213932,_0xa2c9a7=!![]){const _0x447544=_0x4135c2;this[_0x447544(0x1e1)][_0x447544(0x1e5)](_0x213932),_0xa2c9a7&&this['childActors'][_0x447544(0x200)](_0x2d1b9f=>{_0x2d1b9f['setLayers'](_0x213932,_0xa2c9a7);});}[_0x4135c2(0x1d0)](_0x3773f8){const _0x25f05d=_0x4135c2;if(!this[_0x25f05d(0x219)])return;super[_0x25f05d(0x1d0)](_0x3773f8),this['rootComponent'][_0x25f05d(0x1d0)](_0x3773f8);}['getPosition'](){const _0x26d492=_0x4135c2;return this[_0x26d492(0x1e1)]['getPosition']();}[_0x4135c2(0x1ee)](..._0x32db6f){const _0x54c934=_0x4135c2;_0x32db6f['length']===0x1?this['rootComponent'][_0x54c934(0x1ee)](_0x32db6f[0x0]):this[_0x54c934(0x1e1)]['setPosition'](_0x32db6f[0x0],_0x32db6f[0x1],_0x32db6f[0x2]);}[_0x4135c2(0x1f3)](){const _0x2b9974=_0x4135c2;return this[_0x2b9974(0x1e1)][_0x2b9974(0x1f3)]();}['setRotation'](..._0x446346){const _0x523a3c=_0x4135c2;_0x446346[_0x523a3c(0x1e8)]===0x1?this['rootComponent'][_0x523a3c(0x1d8)](_0x446346[0x0]):this[_0x523a3c(0x1e1)][_0x523a3c(0x1d8)](_0x446346[0x0],_0x446346[0x1],_0x446346[0x2]);}[_0x4135c2(0x1dc)](){return this['rootComponent']['getQuaternion']();}[_0x4135c2(0x1d7)](..._0x42939b){const _0x2641cd=_0x4135c2;_0x42939b[_0x2641cd(0x1e8)]===0x1?this[_0x2641cd(0x1e1)][_0x2641cd(0x1d7)](_0x42939b[0x0]):this[_0x2641cd(0x1e1)][_0x2641cd(0x1d7)](_0x42939b[0x0],_0x42939b[0x1],_0x42939b[0x2],_0x42939b[0x3]);}['getScale'](){const _0x345afd=_0x4135c2;return this[_0x345afd(0x1e1)]['getScale']();}['setScale'](..._0x2b98bf){const _0x157e63=_0x4135c2;_0x2b98bf['length']===0x1?this[_0x157e63(0x1e1)][_0x157e63(0x1de)](_0x2b98bf[0x0]):this[_0x157e63(0x1e1)][_0x157e63(0x1de)](_0x2b98bf[0x0],_0x2b98bf[0x1],_0x2b98bf[0x2]);}[_0x4135c2(0x1db)](){const _0x8ef81=_0x4135c2;return this[_0x8ef81(0x1e1)][_0x8ef81(0x1db)]();}[_0x4135c2(0x21b)](_0x3e4c23){const _0x6669fe=_0x4135c2;this[_0x6669fe(0x1e1)]['setWorldMatrix'](_0x3e4c23);}[_0x4135c2(0x214)](){const _0x30d205=_0x4135c2;return this[_0x30d205(0x1e1)]['getWorldPosition']();}[_0x4135c2(0x1f0)](){const _0x2e811c=_0x4135c2;return this[_0x2e811c(0x1e1)]['getWorldRotation']();}[_0x4135c2(0x1df)](){const _0x2dca23=_0x4135c2;return this[_0x2dca23(0x1e1)][_0x2dca23(0x1df)]();}[_0x4135c2(0x1e9)](){const _0x43f2ef=_0x4135c2;return this[_0x43f2ef(0x1e1)][_0x43f2ef(0x1e9)]();}['getWorldForwardDirection'](){const _0x165a15=_0x4135c2;return this[_0x165a15(0x1e1)][_0x165a15(0x1ff)]();}[_0x4135c2(0x218)](){const _0x108cac=_0x4135c2;return this[_0x108cac(0x1e1)][_0x108cac(0x218)]();}[_0x4135c2(0x20e)](){const _0x29c599=_0x4135c2;return this[_0x29c599(0x1e1)]['getWorldRightDirection']();}[_0x4135c2(0x208)](_0x4d83b3,_0x37ade0){const _0xa6ed8f=_0x4135c2;let _0x1a9983=this[_0xa6ed8f(0x1ec)]();this[_0xa6ed8f(0x1ee)](_0x1a9983['x']+_0x4d83b3['x']*_0x37ade0,_0x1a9983['y']+_0x4d83b3['y']*_0x37ade0,_0x1a9983['z']+_0x4d83b3['z']*_0x37ade0);}[_0x4135c2(0x203)](_0x549c05){const _0x42ce6b=_0x4135c2;return this[_0x42ce6b(0x1e1)][_0x42ce6b(0x203)](_0x549c05);}[_0x4135c2(0x1e2)](_0x527f80){const _0x40f0d4=_0x4135c2;return this[_0x40f0d4(0x1e1)][_0x40f0d4(0x1e2)](_0x527f80);}[_0x4135c2(0x1f8)](){const _0x14e3f6=_0x4135c2;return this[_0x14e3f6(0x1e1)][_0x14e3f6(0x1d4)];}[_0x4135c2(0x1d9)](_0x33afa1,_0x25d4c9=exports.AttachmentRules[_0x4135c2(0x1c5)]){const _0x15e86d=_0x4135c2;this[_0x15e86d(0x1e1)][_0x15e86d(0x1eb)](_0x33afa1,_0x25d4c9),this['_world']&&_0x33afa1[_0x15e86d(0x213)](this[_0x15e86d(0x209)]);}['removeComponent'](_0x1c46a3){const _0xbe2fb0=_0x4135c2;if(_0x1c46a3===this['_rootComponent'])return;this[_0xbe2fb0(0x1e1)]['removeChildComponent'](_0x1c46a3);}[_0x4135c2(0x1ef)](){const _0x335be5=_0x4135c2;this[_0x335be5(0x1e1)][_0x335be5(0x1f6)]();}[_0x4135c2(0x1c9)](_0x102864,_0x203f77=exports.AttachmentRules[_0x4135c2(0x1e0)]){const _0x170be0=_0x4135c2;if(!_0x102864['rootComponent']){console[_0x170be0(0x1f2)]('Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent');return;}if(_0x102864[_0x170be0(0x1f7)]===this)return;_0x203f77===exports.AttachmentRules[_0x170be0(0x1c5)]&&this['rootComponent'][_0x170be0(0x1ea)](_0x102864[_0x170be0(0x1e1)]);if(_0x203f77===exports.AttachmentRules['KeepWorld']){let _0x1a26d3=_0x102864[_0x170be0(0x1db)]();this[_0x170be0(0x1e1)][_0x170be0(0x1ea)](_0x102864[_0x170be0(0x1e1)]),_0x102864['setWorldMatrix'](_0x1a26d3);}this[_0x170be0(0x209)]&&this['_world'][_0x170be0(0x1ed)][_0x170be0(0x1fb)]();}['removeChildActor'](_0x4b64ee){const _0x3bed34=_0x4135c2;let _0x5714f6=_0x4b64ee[_0x3bed34(0x1db)]();this[_0x3bed34(0x1e1)]['detachComponent'](_0x4b64ee[_0x3bed34(0x1e1)]),_0x4b64ee[_0x3bed34(0x21b)](_0x5714f6);}['removeFromParent'](){const _0x4197b9=_0x4135c2;this[_0x4197b9(0x1f7)]&&this[_0x4197b9(0x1f7)][_0x4197b9(0x1cd)](this);}[_0x4135c2(0x213)](_0x41ccc6){const _0x57cd08=_0x4135c2;this[_0x57cd08(0x209)]=_0x41ccc6,this[_0x57cd08(0x1e1)][_0x57cd08(0x213)](this[_0x57cd08(0x209)]),this[_0x57cd08(0x1ca)]['forEach'](_0x3b248c=>{const _0x78ef56=_0x57cd08;_0x3b248c[_0x78ef56(0x213)](_0x41ccc6);});}[_0x4135c2(0x204)](){const _0xd9034=_0x4135c2;this[_0xd9034(0x209)]=null;}get[_0x4135c2(0x1f9)](){const _0x29cd92=_0x4135c2;return this['rootComponent'][_0x29cd92(0x1f9)];}set['isHoverEnabled'](_0x3849f1){const _0x4ef0e5=_0x4135c2;this[_0x4ef0e5(0x1e1)][_0x4ef0e5(0x1f9)]=_0x3849f1;}get[_0x4135c2(0x1da)](){const _0x525d6c=_0x4135c2;return this[_0x525d6c(0x1e1)][_0x525d6c(0x1da)];}set[_0x4135c2(0x1da)](_0x937525){const _0x5c66ba=_0x4135c2;this[_0x5c66ba(0x1e1)][_0x5c66ba(0x1da)]=_0x937525;}[_0x4135c2(0x1f4)](_0x3026d7){const _0x4fda59=_0x4135c2;this[_0x4fda59(0x21c)][_0x4fda59(0x206)](_0x3026d7);}['onActorHoverEnd'](_0x4fad82){const _0x4cc9e8=_0x4135c2;this[_0x4cc9e8(0x1e7)][_0x4cc9e8(0x206)](_0x4fad82);}[_0x4135c2(0x1f1)](_0x3d5317){const _0x51193b=_0x4135c2;this[_0x51193b(0x1dd)][_0x51193b(0x206)](_0x3d5317);}[_0x4135c2(0x217)](_0x3c25a1){const _0x300f7e=_0x4135c2;this[_0x300f7e(0x207)][_0x300f7e(0x206)](_0x3c25a1);}}
|
|
82
|
+
const _0x275941=_0x5ce1;function _0xace7(){const _0x3fa6c6=['name','forEach','getWorldForwardDirection','24mttTrv','LYObject','isHoverEnabled','rootComponent\x20is\x20invalid','removeTickableActor','getWorldRotation','addLocalOffset','setQuaternion','getBoundsCenterPosition','broadcast','_rootComponent','KeepRelative','_name','viewport','tick','removeChildActor','941758vANYwW','_onHoverBeginDelegate','getBoundsBottomCenterPosition','getWorldPosition','error','getWorldRightDirection','getBounds','getChildActorById','length','getWorldScale','setPosition','setVisible','KeepWorld','onClickDelegate','onActorClick','children','getWorldMatrix','getPosition','addChildComponent','userData','onActorHoverBegin','childrenComponents','getComponents','10318716hpdBlH','app','parent','20244vfZkZy','getScale','threeObject','childActors','isClickEnabled','onAddedToWorld','setLayers','worldToLocal','1832tthTvb','isTickEnabled','_onClickDelegate','42wJMArG','removeChildComponent','min','2093862YrYoyh','destroy','world','setRotation','addTickableActor','getCenter','Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent','getChildActorsByIds','_onDoubleClickDelegate','onActorDoubleClick','getWorldUpDirection','size','attachComponent','_onHoverEndDelegate','uuid','287308oVOQrE','delete','getRotation','855445krCkjc','11wgjbVR','parentActor','onActorHoverEnd','destroyChildren','setWorldMatrix','isVisible','sub','Actor','_world','getWorldQuaternion','detachFromParentComponent','localToWorld','onHoverBeginDelegate','rootComponent','38615310bblaEj','push','setScale'];_0xace7=function(){return _0x3fa6c6;};return _0xace7();}(function(_0x3c9508,_0x2a3834){const _0x52fdcc=_0x5ce1,_0x31efda=_0x3c9508();while(!![]){try{const _0x5f2acb=-parseInt(_0x52fdcc(0x195))/0x1+-parseInt(_0x52fdcc(0x15e))/0x2+parseInt(_0x52fdcc(0x15b))/0x3*(-parseInt(_0x52fdcc(0x16d))/0x4)+-parseInt(_0x52fdcc(0x170))/0x5*(parseInt(_0x52fdcc(0x185))/0x6)+-parseInt(_0x52fdcc(0x1af))/0x7*(parseInt(_0x52fdcc(0x158))/0x8)+parseInt(_0x52fdcc(0x1ac))/0x9+-parseInt(_0x52fdcc(0x17f))/0xa*(-parseInt(_0x52fdcc(0x171))/0xb);if(_0x5f2acb===_0x2a3834)break;else _0x31efda['push'](_0x31efda['shift']());}catch(_0x303a9b){_0x31efda['push'](_0x31efda['shift']());}}}(_0xace7,0xa2e1c));function _0x5ce1(_0x331162,_0x3a7633){_0x331162=_0x331162-0x151;const _0xace737=_0xace7();let _0x5ce14d=_0xace737[_0x331162];return _0x5ce14d;}class Actor extends BaseObject{get[_0x275941(0x160)](){const _0x2e3bb2=_0x275941;return this[_0x2e3bb2(0x179)];}get['name'](){const _0x493c29=_0x275941;return this[_0x493c29(0x191)];}set[_0x275941(0x182)](_0x191d93){const _0x318418=_0x275941;this[_0x318418(0x191)]=_0x191d93;}get[_0x275941(0x17e)](){const _0x5e6064=_0x275941;if(!this[_0x5e6064(0x18f)])throw Error(_0x5e6064(0x188));return this[_0x5e6064(0x18f)];}set[_0x275941(0x17e)](_0x53c136){const _0x244c6a=_0x275941;_0x53c136[_0x244c6a(0x17b)](),_0x53c136[_0x244c6a(0x172)]=this;if(this[_0x244c6a(0x18f)]){let _0x287896=this[_0x244c6a(0x17e)][_0x244c6a(0x1aa)];for(let _0x2a86fa=0x0;_0x2a86fa<_0x287896[_0x244c6a(0x19d)];++_0x2a86fa){_0x53c136[_0x244c6a(0x1a7)](_0x287896[_0x2a86fa]);}this[_0x244c6a(0x17e)]['destroy']();}this[_0x244c6a(0x18f)]=_0x53c136;}get[_0x275941(0x1aa)](){const _0x583e11=_0x275941;return this[_0x583e11(0x17e)]['childrenComponents'];}get['childActors'](){const _0x1418eb=_0x275941;var _0x3c3c63;let _0x4d9a05=[];return (_0x3c3c63=this[_0x1418eb(0x17e)][_0x1418eb(0x152)])===null||_0x3c3c63===void 0?void 0:_0x3c3c63[_0x1418eb(0x1a4)][_0x1418eb(0x183)](_0x2ba06b=>{const _0xa6bedb=_0x1418eb;var _0x1e2eb0;let _0x3e0d13=(_0x1e2eb0=_0x2ba06b['userData']['LYObject'])===null||_0x1e2eb0===void 0?void 0:_0x1e2eb0[_0xa6bedb(0x172)];_0x3e0d13!==this&&_0x3e0d13 instanceof Actor&&_0x4d9a05[_0xa6bedb(0x180)](_0x3e0d13);}),_0x4d9a05;}get[_0x275941(0x172)](){const _0x17471c=_0x275941;var _0x37f9cd,_0x2f5ea1;let _0x1d22a3=(_0x2f5ea1=(_0x37f9cd=this[_0x17471c(0x17e)][_0x17471c(0x152)])===null||_0x37f9cd===void 0?void 0:_0x37f9cd[_0x17471c(0x1ae)])===null||_0x2f5ea1===void 0?void 0:_0x2f5ea1[_0x17471c(0x1a8)][_0x17471c(0x186)][_0x17471c(0x172)];return _0x1d22a3===this?null:_0x1d22a3;}get[_0x275941(0x176)](){const _0x444a14=_0x275941;return this[_0x444a14(0x17e)]?this['rootComponent'][_0x444a14(0x176)]:![];}get[_0x275941(0x159)](){const _0x4ffae9=_0x275941;return super[_0x4ffae9(0x159)];}set[_0x275941(0x159)](_0x209bc2){const _0x37133d=_0x275941;super[_0x37133d(0x159)]=_0x209bc2,this[_0x37133d(0x159)]?this[_0x37133d(0x1ad)][_0x37133d(0x160)][_0x37133d(0x162)](this):this['app'][_0x37133d(0x160)][_0x37133d(0x189)](this);}get[_0x275941(0x17d)](){const _0x4e9808=_0x275941;return this[_0x4e9808(0x196)];}get['onHoverEndDelegate'](){const _0x5aff2c=_0x275941;return this[_0x5aff2c(0x16b)];}get[_0x275941(0x1a2)](){const _0x47af69=_0x275941;return this[_0x47af69(0x15a)];}get['onDoubleClickDelegate'](){const _0x4f8393=_0x275941;return this[_0x4f8393(0x166)];}constructor(_0x30d855,_0x494c38){const _0x4745cf=_0x275941;super(_0x494c38),this[_0x4745cf(0x191)]=_0x4745cf(0x178),this[_0x4745cf(0x18f)]=null,this[_0x4745cf(0x179)]=null,this[_0x4745cf(0x196)]=new Delegate(),this[_0x4745cf(0x16b)]=new Delegate(),this[_0x4745cf(0x15a)]=new Delegate(),this[_0x4745cf(0x166)]=new Delegate(),this['app']=_0x30d855,this['rootComponent']=this['constructRootComponent'](),this[_0x4745cf(0x17e)][_0x4745cf(0x172)]=this;}['constructRootComponent'](){const _0x4e0e74=_0x275941;return new SceneComponent(this[_0x4e0e74(0x1ad)]);}[_0x275941(0x18d)](_0x3eaaa1=!![]){const _0x46cf1e=_0x275941;let _0x4d2615=new webgpu.Vector3();return this[_0x46cf1e(0x19b)]()[_0x46cf1e(0x163)](_0x4d2615),!_0x3eaaa1?_0x4d2615['sub'](this[_0x46cf1e(0x1a6)]()):_0x4d2615;}[_0x275941(0x19c)](_0x238e71,_0xb520ee=!![]){const _0x4704b8=_0x275941,_0x5dfe19=this['childActors'];for(const _0x4b69da of _0x5dfe19){if(_0x4b69da[_0x4704b8(0x16c)]===_0x238e71)return _0x4b69da;}if(_0xb520ee)for(const _0x489c8b of _0x5dfe19){const _0x2e0494=_0x489c8b['getChildActorById'](_0x238e71,!![]);if(_0x2e0494)return _0x2e0494;}return null;}[_0x275941(0x165)](_0x1cab9e,_0x560d54=!![]){const _0x50a0fb=_0x275941,_0x5a4202=[],_0x37d58b=new Set(_0x1cab9e),_0x4fc888=this['childActors'];for(const _0x1c871e of _0x4fc888){_0x37d58b['has'](_0x1c871e[_0x50a0fb(0x16c)])&&(_0x5a4202['push'](_0x1c871e),_0x37d58b[_0x50a0fb(0x16e)](_0x1c871e['uuid']));}if(_0x560d54&&_0x37d58b[_0x50a0fb(0x169)]>0x0)for(const _0x5e282e of _0x4fc888){const _0x399a56=_0x5e282e[_0x50a0fb(0x165)]([..._0x37d58b],!![]);for(const _0x2c0086 of _0x399a56){_0x5a4202[_0x50a0fb(0x180)](_0x2c0086),_0x37d58b[_0x50a0fb(0x16e)](_0x2c0086['uuid']);}if(_0x37d58b[_0x50a0fb(0x169)]===0x0)break;}return _0x5a4202;}['getComponentById'](_0x3069c8){const _0x564bda=_0x275941;return this[_0x564bda(0x17e)]['getComponentById'](_0x3069c8);}['getBoundsTopCenterPosition'](_0x2cb51e=!![]){const _0x2103d1=_0x275941;let _0x5cbd60=new webgpu.Vector3(),_0x3beccb=this[_0x2103d1(0x17e)][_0x2103d1(0x19b)]();return _0x3beccb[_0x2103d1(0x163)](_0x5cbd60),_0x5cbd60['y']=_0x3beccb['max']['y'],!_0x2cb51e?_0x5cbd60[_0x2103d1(0x177)](this[_0x2103d1(0x1a6)]()):_0x5cbd60;}[_0x275941(0x197)](_0x263aa8=!![]){const _0x569bdf=_0x275941;let _0x419761=new webgpu.Vector3(),_0x52ca26=this[_0x569bdf(0x19b)]();return _0x52ca26[_0x569bdf(0x163)](_0x419761),_0x419761['y']=_0x52ca26[_0x569bdf(0x15d)]['y'],!_0x263aa8?_0x419761[_0x569bdf(0x177)](this[_0x569bdf(0x1a6)]()):_0x419761;}[_0x275941(0x19b)](){const _0x304559=_0x275941;return this['rootComponent'][_0x304559(0x19b)]();}[_0x275941(0x15f)](){const _0x2d559c=_0x275941;let _0x56e5f6=this[_0x2d559c(0x153)];_0x56e5f6[_0x2d559c(0x183)](_0x327124=>{const _0x8eacf1=_0x2d559c;_0x327124[_0x8eacf1(0x15f)]();}),this['rootComponent']['destroy']();}['setVisible'](_0x2453bc){const _0x5b2133=_0x275941;this[_0x5b2133(0x17e)][_0x5b2133(0x1a0)](_0x2453bc);}[_0x275941(0x156)](_0x5bd476,_0x1c9fe7=!![]){const _0x73a5ee=_0x275941;this[_0x73a5ee(0x17e)][_0x73a5ee(0x156)](_0x5bd476),_0x1c9fe7&&this[_0x73a5ee(0x153)][_0x73a5ee(0x183)](_0x43160e=>{const _0x2c1cfc=_0x73a5ee;_0x43160e[_0x2c1cfc(0x156)](_0x5bd476,_0x1c9fe7);});}[_0x275941(0x193)](_0x6fae33){const _0x2ce398=_0x275941;if(!this[_0x2ce398(0x159)])return;super['tick'](_0x6fae33),this[_0x2ce398(0x17e)][_0x2ce398(0x193)](_0x6fae33);}[_0x275941(0x1a6)](){const _0x1666bc=_0x275941;return this[_0x1666bc(0x17e)][_0x1666bc(0x1a6)]();}['setPosition'](..._0x483fe5){const _0xbc4bf5=_0x275941;_0x483fe5[_0xbc4bf5(0x19d)]===0x1?this['rootComponent'][_0xbc4bf5(0x19f)](_0x483fe5[0x0]):this[_0xbc4bf5(0x17e)][_0xbc4bf5(0x19f)](_0x483fe5[0x0],_0x483fe5[0x1],_0x483fe5[0x2]);}[_0x275941(0x16f)](){const _0x5cffcb=_0x275941;return this[_0x5cffcb(0x17e)]['getRotation']();}['setRotation'](..._0x464f93){const _0x52c217=_0x275941;_0x464f93['length']===0x1?this['rootComponent'][_0x52c217(0x161)](_0x464f93[0x0]):this[_0x52c217(0x17e)][_0x52c217(0x161)](_0x464f93[0x0],_0x464f93[0x1],_0x464f93[0x2]);}['getQuaternion'](){const _0x43206d=_0x275941;return this[_0x43206d(0x17e)]['getQuaternion']();}['setQuaternion'](..._0x387652){const _0xf02240=_0x275941;_0x387652[_0xf02240(0x19d)]===0x1?this[_0xf02240(0x17e)][_0xf02240(0x18c)](_0x387652[0x0]):this[_0xf02240(0x17e)][_0xf02240(0x18c)](_0x387652[0x0],_0x387652[0x1],_0x387652[0x2],_0x387652[0x3]);}[_0x275941(0x151)](){const _0x437bef=_0x275941;return this[_0x437bef(0x17e)][_0x437bef(0x151)]();}[_0x275941(0x181)](..._0x28ffae){const _0x1b727b=_0x275941;_0x28ffae[_0x1b727b(0x19d)]===0x1?this[_0x1b727b(0x17e)][_0x1b727b(0x181)](_0x28ffae[0x0]):this['rootComponent'][_0x1b727b(0x181)](_0x28ffae[0x0],_0x28ffae[0x1],_0x28ffae[0x2]);}[_0x275941(0x1a5)](){const _0x37bd0a=_0x275941;return this[_0x37bd0a(0x17e)][_0x37bd0a(0x1a5)]();}[_0x275941(0x175)](_0x4847be){this['rootComponent']['setWorldMatrix'](_0x4847be);}[_0x275941(0x198)](){const _0x517394=_0x275941;return this[_0x517394(0x17e)][_0x517394(0x198)]();}[_0x275941(0x18a)](){const _0xf23f0=_0x275941;return this[_0xf23f0(0x17e)][_0xf23f0(0x18a)]();}[_0x275941(0x17a)](){const _0x47c8fe=_0x275941;return this[_0x47c8fe(0x17e)][_0x47c8fe(0x17a)]();}[_0x275941(0x19e)](){const _0x1908d5=_0x275941;return this['rootComponent'][_0x1908d5(0x19e)]();}[_0x275941(0x184)](){const _0x33dc15=_0x275941;return this[_0x33dc15(0x17e)][_0x33dc15(0x184)]();}[_0x275941(0x168)](){const _0x363f97=_0x275941;return this[_0x363f97(0x17e)]['getWorldUpDirection']();}[_0x275941(0x19a)](){const _0x20e695=_0x275941;return this[_0x20e695(0x17e)][_0x20e695(0x19a)]();}[_0x275941(0x18b)](_0x5d8ef2,_0x1bec5a){const _0x3dcf9b=_0x275941;let _0x418db2=this[_0x3dcf9b(0x1a6)]();this['setPosition'](_0x418db2['x']+_0x5d8ef2['x']*_0x1bec5a,_0x418db2['y']+_0x5d8ef2['y']*_0x1bec5a,_0x418db2['z']+_0x5d8ef2['z']*_0x1bec5a);}[_0x275941(0x157)](_0x377b38){const _0x3457c6=_0x275941;return this['rootComponent'][_0x3457c6(0x157)](_0x377b38);}[_0x275941(0x17c)](_0x176193){const _0x5f5993=_0x275941;return this[_0x5f5993(0x17e)][_0x5f5993(0x17c)](_0x176193);}[_0x275941(0x1ab)](){const _0x387324=_0x275941;return this[_0x387324(0x17e)][_0x387324(0x1aa)];}['addComponent'](_0x57430c,_0x25ba96=exports.AttachmentRules[_0x275941(0x190)]){const _0x1bb79c=_0x275941;this[_0x1bb79c(0x17e)][_0x1bb79c(0x1a7)](_0x57430c,_0x25ba96),this[_0x1bb79c(0x179)]&&_0x57430c['onAddedToWorld'](this[_0x1bb79c(0x179)]);}['removeComponent'](_0x558d2d){const _0x5c02d0=_0x275941;if(_0x558d2d===this[_0x5c02d0(0x18f)])return;this['rootComponent'][_0x5c02d0(0x15c)](_0x558d2d);}['clearComponent'](){const _0x18538c=_0x275941;this[_0x18538c(0x17e)][_0x18538c(0x174)]();}['addChildActor'](_0x17436a,_0x428a36=exports.AttachmentRules[_0x275941(0x1a1)]){const _0x107f3b=_0x275941;if(!_0x17436a[_0x107f3b(0x17e)]){console[_0x107f3b(0x199)](_0x107f3b(0x164));return;}if(_0x17436a[_0x107f3b(0x172)]===this)return;_0x428a36===exports.AttachmentRules[_0x107f3b(0x190)]&&this[_0x107f3b(0x17e)][_0x107f3b(0x16a)](_0x17436a[_0x107f3b(0x17e)]);if(_0x428a36===exports.AttachmentRules[_0x107f3b(0x1a1)]){let _0x407e49=_0x17436a[_0x107f3b(0x1a5)]();this['rootComponent']['attachComponent'](_0x17436a[_0x107f3b(0x17e)]),_0x17436a[_0x107f3b(0x175)](_0x407e49);}this['_world']&&this['_world'][_0x107f3b(0x192)]['markRenderStateDirty']();}[_0x275941(0x194)](_0x24b555){const _0x173e4b=_0x275941;let _0x59ddf5=_0x24b555[_0x173e4b(0x1a5)]();this[_0x173e4b(0x17e)]['detachComponent'](_0x24b555[_0x173e4b(0x17e)]),_0x24b555['setWorldMatrix'](_0x59ddf5);}['removeFromParent'](){const _0x441dc4=_0x275941;this['parentActor']&&this[_0x441dc4(0x172)]['removeChildActor'](this);}[_0x275941(0x155)](_0x362579){const _0x1bf25d=_0x275941;this[_0x1bf25d(0x179)]=_0x362579,this[_0x1bf25d(0x17e)]['onAddedToWorld'](this[_0x1bf25d(0x179)]),this[_0x1bf25d(0x153)]['forEach'](_0x13642f=>{const _0x5c9177=_0x1bf25d;_0x13642f[_0x5c9177(0x155)](_0x362579);});}['onRemovedFromWorld'](){const _0x59edb3=_0x275941;this[_0x59edb3(0x179)]=null;}get[_0x275941(0x187)](){const _0x283d02=_0x275941;return this[_0x283d02(0x17e)][_0x283d02(0x187)];}set[_0x275941(0x187)](_0x398979){const _0x352c2b=_0x275941;this[_0x352c2b(0x17e)][_0x352c2b(0x187)]=_0x398979;}get['isClickEnabled'](){const _0x4169f9=_0x275941;return this[_0x4169f9(0x17e)]['isClickEnabled'];}set[_0x275941(0x154)](_0x185724){const _0x809a22=_0x275941;this['rootComponent'][_0x809a22(0x154)]=_0x185724;}[_0x275941(0x1a9)](_0x367664){const _0x2b4e69=_0x275941;this[_0x2b4e69(0x196)][_0x2b4e69(0x18e)](_0x367664);}[_0x275941(0x173)](_0x17206e){const _0x5c47cc=_0x275941;this[_0x5c47cc(0x16b)]['broadcast'](_0x17206e);}[_0x275941(0x1a3)](_0x11e9db){const _0x323b8a=_0x275941;this[_0x323b8a(0x15a)][_0x323b8a(0x18e)](_0x11e9db);}[_0x275941(0x167)](_0x2f0792){const _0x221af0=_0x275941;this[_0x221af0(0x166)]['broadcast'](_0x2f0792);}}
|
|
83
83
|
|
|
84
|
-
|
|
84
|
+
function _0x59ea(){const _0x5add39=['disposeMeshResource','traverse','42mabVSh','88jYPnTE','1345CjhXgw','material','459444RCZaDo','dispose','disposeMeshMaterial','331794tXjQdm','isArray','geometry','isTexture','children','182526apayyr','forEach','5611048eTPXFy','56QgEQwa','object','keys','468UsZsgO','1730040iCsOPI','96845iHmRYq','20KlEyxr','disposeObject3DResource'];_0x59ea=function(){return _0x5add39;};return _0x59ea();}function _0x2c35(_0x3ab7b3,_0x1f1d33){_0x3ab7b3=_0x3ab7b3-0x7e;const _0x59eaf9=_0x59ea();let _0x2c3598=_0x59eaf9[_0x3ab7b3];return _0x2c3598;}const _0x165219=_0x2c35;(function(_0x3dcece,_0x4461c2){const _0x349cf0=_0x2c35,_0x4c3e45=_0x3dcece();while(!![]){try{const _0x18cdf1=parseInt(_0x349cf0(0x88))/0x1*(-parseInt(_0x349cf0(0x7f))/0x2)+parseInt(_0x349cf0(0x80))/0x3+-parseInt(_0x349cf0(0x95))/0x4*(-parseInt(_0x349cf0(0x81))/0x5)+-parseInt(_0x349cf0(0x92))/0x6*(-parseInt(_0x349cf0(0x86))/0x7)+-parseInt(_0x349cf0(0x94))/0x8+-parseInt(_0x349cf0(0x8d))/0x9*(-parseInt(_0x349cf0(0x82))/0xa)+-parseInt(_0x349cf0(0x87))/0xb*(-parseInt(_0x349cf0(0x8a))/0xc);if(_0x18cdf1===_0x4461c2)break;else _0x4c3e45['push'](_0x4c3e45['shift']());}catch(_0x67fa4c){_0x4c3e45['push'](_0x4c3e45['shift']());}}}(_0x59ea,0x60431));class ThreeObjectLibrary{static['disposeMaterialTextures'](_0x4f9a34){const _0x188cf8=_0x2c35;Object[_0x188cf8(0x7e)](_0x4f9a34)[_0x188cf8(0x93)](_0x397f7d=>{const _0x108522=_0x188cf8,_0x20b151=_0x4f9a34[_0x397f7d];_0x20b151&&typeof _0x20b151===_0x108522(0x96)&&_0x108522(0x90)in _0x20b151&&_0x20b151[_0x108522(0x8b)]();});}static[_0x165219(0x8c)](_0x16e30a){const _0xa8b4f0=_0x165219;let _0x381584=Array[_0xa8b4f0(0x8e)](_0x16e30a['material'])?_0x16e30a[_0xa8b4f0(0x89)]:[_0x16e30a['material']];_0x381584[_0xa8b4f0(0x93)](_0x5e7d9e=>{const _0x27a663=_0xa8b4f0;ThreeObjectLibrary['disposeMaterialTextures'](_0x5e7d9e),_0x5e7d9e[_0x27a663(0x8b)]();});}static['disposeMeshResource'](_0x528b32,_0x2f491b=![]){const _0x3f622b=_0x165219;ThreeObjectLibrary[_0x3f622b(0x8c)](_0x528b32),_0x528b32[_0x3f622b(0x8f)]['dispose'](),_0x2f491b&&_0x528b32[_0x3f622b(0x91)]['forEach'](_0x4e2cf5=>{const _0x2e5c4a=_0x3f622b;_0x4e2cf5 instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x2e5c4a(0x84)](_0x4e2cf5,!![]);});}static[_0x165219(0x83)](_0x5e93ae){const _0x3dae65=_0x165219;_0x5e93ae[_0x3dae65(0x85)](_0x123c38=>{const _0x537d8d=_0x3dae65;_0x123c38 instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x537d8d(0x84)](_0x123c38);});}}
|
|
85
85
|
|
|
86
|
-
var
|
|
86
|
+
var _0x4f1b72=_0x10ca;function _0x10ca(_0x2c611a,_0xa77de6){_0x2c611a=_0x2c611a-0xa2;var _0x5ca5da=_0x5ca5();var _0x10ca3f=_0x5ca5da[_0x2c611a];return _0x10ca3f;}function _0x5ca5(){var _0x1bb6cd=['6729976QajjZo','obj','threeObject','4CfMyDB','14825830gXkOxV','29577kJblHs','396ncKeYz','9xgMVdy','11059675jEgjbz','307938QmDYKg','6374260SfruQK','144249BRLZVc','createDefaultObject','232pCSwgr'];_0x5ca5=function(){return _0x1bb6cd;};return _0x5ca5();}(function(_0x3f66c3,_0x264169){var _0x54fd00=_0x10ca,_0x2ccfa3=_0x3f66c3();while(!![]){try{var _0x25a116=parseInt(_0x54fd00(0xa5))/0x1+parseInt(_0x54fd00(0xa9))/0x2*(parseInt(_0x54fd00(0xaf))/0x3)+parseInt(_0x54fd00(0xad))/0x4*(parseInt(_0x54fd00(0xa6))/0x5)+-parseInt(_0x54fd00(0xa2))/0x6*(-parseInt(_0x54fd00(0xa7))/0x7)+-parseInt(_0x54fd00(0xaa))/0x8+parseInt(_0x54fd00(0xa3))/0x9*(-parseInt(_0x54fd00(0xae))/0xa)+-parseInt(_0x54fd00(0xa4))/0xb;if(_0x25a116===_0x264169)break;else _0x2ccfa3['push'](_0x2ccfa3['shift']());}catch(_0x12fc9c){_0x2ccfa3['push'](_0x2ccfa3['shift']());}}}(_0x5ca5,0xb8df9));class LevelComponent extends SceneComponent{get[_0x4f1b72(0xac)](){var _0xb0635f=_0x4f1b72;if(!this[_0xb0635f(0xab)])throw Error('three\x20object\x20is\x20invalid');return this[_0xb0635f(0xab)];}set[_0x4f1b72(0xac)](_0x9e77f7){var _0x1f0225=_0x4f1b72;this['obj']=_0x9e77f7,this[_0x1f0225(0xab)]&&(this[_0x1f0225(0xab)]['userData']['LYObject']=this);}constructor(_0x16d498,_0xf736f4){super(_0x16d498,_0xf736f4);}[_0x4f1b72(0xa8)](){return new three.Scene();}}
|
|
87
87
|
|
|
88
|
-
var
|
|
88
|
+
var _0x247d81=_0x3429;(function(_0x374cfb,_0x161b74){var _0x262d2e=_0x3429,_0x2c1a04=_0x374cfb();while(!![]){try{var _0x10f202=-parseInt(_0x262d2e(0x8c))/0x1*(-parseInt(_0x262d2e(0x7a))/0x2)+-parseInt(_0x262d2e(0x8f))/0x3*(parseInt(_0x262d2e(0x83))/0x4)+-parseInt(_0x262d2e(0x8d))/0x5+parseInt(_0x262d2e(0x7f))/0x6*(parseInt(_0x262d2e(0x8e))/0x7)+-parseInt(_0x262d2e(0x80))/0x8*(-parseInt(_0x262d2e(0x90))/0x9)+parseInt(_0x262d2e(0x86))/0xa+-parseInt(_0x262d2e(0x77))/0xb*(parseInt(_0x262d2e(0x82))/0xc);if(_0x10f202===_0x161b74)break;else _0x2c1a04['push'](_0x2c1a04['shift']());}catch(_0x1871c5){_0x2c1a04['push'](_0x2c1a04['shift']());}}}(_0x2fd1,0xc0049));function _0x3429(_0x573f29,_0x1fba39){_0x573f29=_0x573f29-0x76;var _0x2fd117=_0x2fd1();var _0x3429d4=_0x2fd117[_0x573f29];return _0x3429d4;}function _0x2fd1(){var _0x12f974=['98HTxGlq','childActors','scene','rootComponent','forEach','8843412aWcCBq','4093512dGBTRJ','_scene','36yFHQIP','46336XuPopl','uuid','threeObject','10560360icHtLr','scene\x20is\x20null','app','isTickEnabled','traverse','clearLevel','2723CkzpyD','4967805TKacKz','7hLXJBl','333XcDCbl','18xogfma','disposeMeshResource','2276461DjJdeT','destroy','tick'];_0x2fd1=function(){return _0x12f974;};return _0x2fd1();}class LevelActor extends Actor{get[_0x247d81(0x7c)](){var _0x7ffc79=_0x247d81;if(!this[_0x7ffc79(0x81)])throw new Error(_0x7ffc79(0x87));return this[_0x7ffc79(0x81)];}constructor(_0x545ebe,_0xd84ee1){var _0x5e6290=_0x247d81;super(_0x545ebe,_0xd84ee1),this[_0x5e6290(0x81)]=null,this[_0x5e6290(0x81)]=this[_0x5e6290(0x7d)][_0x5e6290(0x85)],this[_0x5e6290(0x89)]=![];}['constructRootComponent'](){var _0x20c8a0=_0x247d81;return new LevelComponent(this[_0x20c8a0(0x88)],this[_0x20c8a0(0x84)]);}[_0x247d81(0x79)](_0x3f7319){var _0x3c2c86=_0x247d81;if(!this[_0x3c2c86(0x89)])return;super['tick'](_0x3f7319);}[_0x247d81(0x78)](){var _0x257d61=_0x247d81;this[_0x257d61(0x8b)](),super['destroy']();}[_0x247d81(0x8b)](){var _0x9b15f0=_0x247d81;this[_0x9b15f0(0x7b)][_0x9b15f0(0x7e)](_0x24f6e4=>{var _0x5350b9=_0x9b15f0;_0x24f6e4[_0x5350b9(0x78)]();}),this[_0x9b15f0(0x7c)][_0x9b15f0(0x8a)](_0x5d5f5c=>{var _0xbad48d=_0x9b15f0;_0x5d5f5c instanceof webgpu.Mesh&&ThreeObjectLibrary[_0xbad48d(0x76)](_0x5d5f5c);});}}
|
|
89
89
|
|
|
90
|
-
function
|
|
90
|
+
function _0x545d(){const _0x2e02ba=['1337994nmUgMd','52893sgAzgf','1015021JiExlr','28uJWXkz','9198JKfYSO','2CDTiCb','3726680JnOwaC','194323qQmtTH','605pzUmec','1027592AonPSr'];_0x545d=function(){return _0x2e02ba;};return _0x545d();}function _0x198b(_0x2b9350,_0x53db01){_0x2b9350=_0x2b9350-0x130;const _0x545d99=_0x545d();let _0x198b45=_0x545d99[_0x2b9350];return _0x198b45;}(function(_0x57e27b,_0x449e8c){const _0x4bc3b4=_0x198b,_0x2b9200=_0x57e27b();while(!![]){try{const _0x552d84=-parseInt(_0x4bc3b4(0x134))/0x1*(-parseInt(_0x4bc3b4(0x132))/0x2)+-parseInt(_0x4bc3b4(0x138))/0x3*(parseInt(_0x4bc3b4(0x130))/0x4)+-parseInt(_0x4bc3b4(0x135))/0x5*(parseInt(_0x4bc3b4(0x131))/0x6)+parseInt(_0x4bc3b4(0x139))/0x7+-parseInt(_0x4bc3b4(0x136))/0x8+-parseInt(_0x4bc3b4(0x137))/0x9+parseInt(_0x4bc3b4(0x133))/0xa;if(_0x552d84===_0x449e8c)break;else _0x2b9200['push'](_0x2b9200['shift']());}catch(_0x33112b){_0x2b9200['push'](_0x2b9200['shift']());}}}(_0x545d,0x1ec11));const DefaultWorldParam={'levelActorClass':LevelActor};
|
|
91
91
|
|
|
92
|
-
const
|
|
92
|
+
const _0x5d1f0b=_0x1a6c;(function(_0x4f7e1f,_0x3b5c27){const _0x42d5fb=_0x1a6c,_0x537738=_0x4f7e1f();while(!![]){try{const _0x31beaa=parseInt(_0x42d5fb(0x13e))/0x1+parseInt(_0x42d5fb(0x142))/0x2+parseInt(_0x42d5fb(0x12f))/0x3+parseInt(_0x42d5fb(0x15c))/0x4+-parseInt(_0x42d5fb(0x134))/0x5*(-parseInt(_0x42d5fb(0x13a))/0x6)+parseInt(_0x42d5fb(0x14b))/0x7+-parseInt(_0x42d5fb(0x143))/0x8*(parseInt(_0x42d5fb(0x15a))/0x9);if(_0x31beaa===_0x3b5c27)break;else _0x537738['push'](_0x537738['shift']());}catch(_0x3a94e0){_0x537738['push'](_0x537738['shift']());}}}(_0x5176,0x87707));function _0x1a6c(_0x22d5b7,_0x3890b1){_0x22d5b7=_0x22d5b7-0x128;const _0x51763f=_0x5176();let _0x1a6c69=_0x51763f[_0x22d5b7];return _0x1a6c69;}function _0x5176(){const _0x4b5549=['markRenderStateDirty','2448614zIMZCj','updataCamera','updateProjectionMatrix','updateCamera','createCamera','_tickingFunctions','controllerClass','renderAsImage','cameraParam','push','indexOf','worldParam','onCameraChangedDelegate','viewport','postConstruct','1035UAUeRG','renderer','3373016PUJmal','addTickingFunction','postProcessParam','isRenderEveryFrame','camera','_world','assetManagerClass','getDelta','_assetManager','destroy','worldClass','controller','classes','1401075ZNhsyR','clearAssets','init','clear','renderParam','344975cgKcJN','removeTickingFunction','forEach','_appParam','_controller','viewportClass','30MsebUA','onWindowResize','_clock','aspect','881532gCAeZS','world','_viewport','_camera','2178152doOmHe','237976qkmkJS','viewportParam','tick','broadcast','splice','assetManager','_onCameraChangedDelegate'];_0x5176=function(){return _0x4b5549;};return _0x5176();}class ThreeJsApp{get[_0x5d1f0b(0x160)](){return this['_camera'];}get['clock'](){return this['_clock'];}get[_0x5d1f0b(0x13f)](){const _0x4d12b7=_0x5d1f0b;return this[_0x4d12b7(0x161)];}get['viewport'](){const _0x225d8b=_0x5d1f0b;return this[_0x225d8b(0x140)];}get[_0x5d1f0b(0x12d)](){const _0x14880c=_0x5d1f0b;return this[_0x14880c(0x138)];}get[_0x5d1f0b(0x148)](){return this['_assetManager'];}get['appParam'](){const _0x343ca2=_0x5d1f0b;return this[_0x343ca2(0x137)];}get['onCameraChangedDelegate'](){const _0x358229=_0x5d1f0b;return this[_0x358229(0x149)];}constructor(_0x57cb7b=DefaultAppParam){const _0x7f23df=_0x5d1f0b;this['_tickingFunctions']=[],this[_0x7f23df(0x137)]={'viewportParam':DefaultViewportParam},this[_0x7f23df(0x149)]=new Delegate(),this[_0x7f23df(0x137)]['cameraParam']=_0x57cb7b[_0x7f23df(0x153)]?_0x57cb7b[_0x7f23df(0x153)]:DefaultCameraParam,this['_appParam'][_0x7f23df(0x133)]=_0x57cb7b[_0x7f23df(0x133)]?_0x57cb7b[_0x7f23df(0x133)]:DefaultRendererParameters,this['_appParam'][_0x7f23df(0x15e)]=_0x57cb7b['postProcessParam']?_0x57cb7b[_0x7f23df(0x15e)]:DefaultPostProcessParam,this[_0x7f23df(0x137)][_0x7f23df(0x144)]=_0x57cb7b[_0x7f23df(0x144)]?_0x57cb7b['viewportParam']:DefaultViewportParam,this[_0x7f23df(0x137)]['classes']=_0x57cb7b[_0x7f23df(0x12e)]?_0x57cb7b[_0x7f23df(0x12e)]:{'assetManagerClass':AssetManager,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport},this[_0x7f23df(0x137)]['isRenderEveryFrame']=_0x57cb7b[_0x7f23df(0x15f)],this[_0x7f23df(0x13c)]=new webgpu.Clock(),this[_0x7f23df(0x141)]=CameraFactory[_0x7f23df(0x14f)](this[_0x7f23df(0x137)][_0x7f23df(0x153)]),this['_world']=new this[(_0x7f23df(0x137))][(_0x7f23df(0x12e))][(_0x7f23df(0x12c))](this,this['_appParam'][_0x7f23df(0x156)]?this[_0x7f23df(0x137)][_0x7f23df(0x156)]:DefaultWorldParam),this[_0x7f23df(0x140)]=new this['_appParam']['classes'][(_0x7f23df(0x139))](this,this[_0x7f23df(0x137)][_0x7f23df(0x144)],this[_0x7f23df(0x137)]['renderParam'],this[_0x7f23df(0x137)]['postProcessParam']),this[_0x7f23df(0x138)]=new this['_appParam']['classes'][(_0x7f23df(0x151))](this),this['_assetManager']=new this[(_0x7f23df(0x137))]['classes'][(_0x7f23df(0x128))](this),this[_0x7f23df(0x158)][_0x7f23df(0x15b)]['setAnimationLoop'](()=>{const _0x3b06b8=_0x7f23df,_0x56169d=this[_0x3b06b8(0x13c)][_0x3b06b8(0x129)]();this['tick'](_0x56169d);}),this[_0x7f23df(0x159)]();}[_0x5d1f0b(0x159)](){const _0x4e7a91=_0x5d1f0b;this[_0x4e7a91(0x12d)][_0x4e7a91(0x131)](),this['world'][_0x4e7a91(0x131)](),this[_0x4e7a91(0x158)][_0x4e7a91(0x131)]();}[_0x5d1f0b(0x131)](){}['tick'](_0x27ee94){const _0x1f2eed=_0x5d1f0b;this[_0x1f2eed(0x138)][_0x1f2eed(0x145)](_0x27ee94),this[_0x1f2eed(0x13f)]['tick'](_0x27ee94),this[_0x1f2eed(0x150)][_0x1f2eed(0x136)](_0x2c6083=>{_0x2c6083(_0x27ee94);}),this[_0x1f2eed(0x137)][_0x1f2eed(0x15f)]&&this[_0x1f2eed(0x158)][_0x1f2eed(0x14a)](),this['viewport']['render']();}[_0x5d1f0b(0x15d)](_0x22fb16){const _0x4fbdfc=_0x5d1f0b;this['_tickingFunctions'][_0x4fbdfc(0x154)](_0x22fb16);}[_0x5d1f0b(0x135)](_0x374bc5){const _0x5740b5=_0x5d1f0b,_0x570bd3=this[_0x5740b5(0x150)][_0x5740b5(0x155)](_0x374bc5);_0x570bd3>=0x0&&this[_0x5740b5(0x150)][_0x5740b5(0x147)](_0x570bd3,0x1);}[_0x5d1f0b(0x12b)](){const _0x39019f=_0x5d1f0b;this[_0x39019f(0x157)][_0x39019f(0x132)](),this[_0x39019f(0x12d)][_0x39019f(0x12b)](),this[_0x39019f(0x13f)][_0x39019f(0x12b)](),this[_0x39019f(0x158)][_0x39019f(0x12b)](),this[_0x39019f(0x12a)][_0x39019f(0x130)]();}['updateCamera'](_0x38a0f6){const _0x7d7589=_0x5d1f0b,_0x3a04a2=this[_0x7d7589(0x160)];this[_0x7d7589(0x141)]=CameraFactory[_0x7d7589(0x14c)](_0x38a0f6,this[_0x7d7589(0x160)]),_0x3a04a2!==this['camera']&&(this[_0x7d7589(0x149)][_0x7d7589(0x146)](),this['controller'][_0x7d7589(0x14e)]()),this[_0x7d7589(0x141)]['updateProjectionMatrix'](),this[_0x7d7589(0x158)][_0x7d7589(0x14a)]();}[_0x5d1f0b(0x13b)](_0xcb40f5,_0x50a227){const _0x75e14f=_0x5d1f0b;this['camera']instanceof webgpu.PerspectiveCamera&&(this[_0x75e14f(0x160)][_0x75e14f(0x13d)]=_0xcb40f5/_0x50a227),this[_0x75e14f(0x160)][_0x75e14f(0x14d)]();}async[_0x5d1f0b(0x152)](_0xe3c501=0x400,_0x1b1d62=0x400){const _0x20bf57=_0x5d1f0b;return await this[_0x20bf57(0x158)][_0x20bf57(0x152)](_0xe3c501,_0x1b1d62);}}
|
|
93
93
|
|
|
94
|
-
var
|
|
94
|
+
var _0x50758e=_0x7b49;function _0x2f37(){var _0x3fb725=['getHex','LYObject','367212sOolrz','1267588uZMAKl','threeObject','color','1066910fYqiTH','obj','userData','213NXuaDH','three\x20object\x20is\x20invalid','set','intensity','28620qELmQT','1533136mYtkAK','1304NdOicV','7821VHhzsY','5769470vcGjoa','119OZpBSu'];_0x2f37=function(){return _0x3fb725;};return _0x2f37();}(function(_0x441300,_0x555555){var _0x11f100=_0x7b49,_0x168d4f=_0x441300();while(!![]){try{var _0x41f126=parseInt(_0x11f100(0xe9))/0x1+-parseInt(_0x11f100(0xf1))/0x2+-parseInt(_0x11f100(0xf7))/0x3*(parseInt(_0x11f100(0xe8))/0x4)+-parseInt(_0x11f100(0xf4))/0x5+parseInt(_0x11f100(0xf0))/0x6*(parseInt(_0x11f100(0xed))/0x7)+-parseInt(_0x11f100(0xea))/0x8*(-parseInt(_0x11f100(0xeb))/0x9)+-parseInt(_0x11f100(0xec))/0xa;if(_0x41f126===_0x555555)break;else _0x168d4f['push'](_0x168d4f['shift']());}catch(_0xaa1e7e){_0x168d4f['push'](_0x168d4f['shift']());}}}(_0x2f37,0xbf2f1));function _0x7b49(_0x256d4d,_0x379fb5){_0x256d4d=_0x256d4d-0xe7;var _0x2f377d=_0x2f37();var _0x7b4910=_0x2f377d[_0x256d4d];return _0x7b4910;}class LightComponent extends SceneComponent{get[_0x50758e(0xf2)](){var _0x2cd9f7=_0x50758e;if(!this[_0x2cd9f7(0xf5)])throw Error(_0x2cd9f7(0xf8));return this[_0x2cd9f7(0xf5)];}set[_0x50758e(0xf2)](_0x4ded03){var _0x178108=_0x50758e;this[_0x178108(0xf5)]=_0x4ded03,this[_0x178108(0xf5)]&&(this[_0x178108(0xf5)][_0x178108(0xf6)][_0x178108(0xef)]=this);}get[_0x50758e(0xf3)](){var _0x69fe55=_0x50758e;return this[_0x69fe55(0xf2)][_0x69fe55(0xf3)][_0x69fe55(0xee)]();}set[_0x50758e(0xf3)](_0x20e9de){var _0x2e2079=_0x50758e;this[_0x2e2079(0xf2)]['color'][_0x2e2079(0xf9)](_0x20e9de);}get[_0x50758e(0xe7)](){return this['threeObject']['intensity'];}set[_0x50758e(0xe7)](_0x1baf20){var _0x286c1d=_0x50758e;this[_0x286c1d(0xf2)][_0x286c1d(0xe7)]=_0x1baf20;}constructor(_0x49b375,_0x13fef9){super(_0x49b375,_0x13fef9);}}
|
|
95
95
|
|
|
96
|
-
var
|
|
96
|
+
function _0x13d6(){var _0x183367=['viewport','destroy','1524MZUKBw','LYObject','threeObject','setPosition','three\x20object\x20is\x20invalid','1435010EvxxeF','188686ZNnMxW','165bddOJM','userData','length','world','262065sgAtxf','2619HjmYyZ','12MZMewA','color','obj','update','284967ZoJgeJ','onAddedToWorld','createDefaultObject','544296zjHvuB','castShadow','4374965xLYdOC','5lcQUcC','32WwfAUb'];_0x13d6=function(){return _0x183367;};return _0x13d6();}var _0x17298d=_0x272c;(function(_0x2d7144,_0x319e18){var _0x581fd2=_0x272c,_0x189b29=_0x2d7144();while(!![]){try{var _0x5a7027=-parseInt(_0x581fd2(0x163))/0x1*(-parseInt(_0x581fd2(0x16d))/0x2)+parseInt(_0x581fd2(0x173))/0x3*(-parseInt(_0x581fd2(0x167))/0x4)+parseInt(_0x581fd2(0x172))/0x5*(-parseInt(_0x581fd2(0x174))/0x6)+-parseInt(_0x581fd2(0x162))/0x7+parseInt(_0x581fd2(0x164))/0x8*(parseInt(_0x581fd2(0x178))/0x9)+parseInt(_0x581fd2(0x16c))/0xa+parseInt(_0x581fd2(0x16e))/0xb*(parseInt(_0x581fd2(0x160))/0xc);if(_0x5a7027===_0x319e18)break;else _0x189b29['push'](_0x189b29['shift']());}catch(_0x247814){_0x189b29['push'](_0x189b29['shift']());}}}(_0x13d6,0x57d7c));function _0x272c(_0x5d9560,_0x3487ce){_0x5d9560=_0x5d9560-0x15e;var _0x13d6ec=_0x13d6();var _0x272cc9=_0x13d6ec[_0x5d9560];return _0x272cc9;}class DirectionalLightComponent extends LightComponent{get['threeObject'](){var _0x5297b5=_0x272c;if(!this[_0x5297b5(0x176)])throw Error(_0x5297b5(0x16b));return this['obj'];}set[_0x17298d(0x169)](_0x2c6b0b){var _0x5d6d0e=_0x17298d;this[_0x5d6d0e(0x176)]=_0x2c6b0b,this[_0x5d6d0e(0x176)]&&(this['obj'][_0x5d6d0e(0x16f)][_0x5d6d0e(0x168)]=this);}get['castShadow'](){var _0x1b5a8a=_0x17298d;return this[_0x1b5a8a(0x169)][_0x1b5a8a(0x161)];}set[_0x17298d(0x161)](_0x1ccd47){var _0x111da0=_0x17298d;this[_0x111da0(0x169)]['castShadow']=_0x1ccd47;}constructor(_0x496c42,_0x2ed29c=0xffffff,_0x47a1b8=0xa,_0x485fa6){var _0x187842=_0x17298d;super(_0x496c42,_0x485fa6),this[_0x187842(0x169)][_0x187842(0x175)]['set'](_0x2ed29c),this[_0x187842(0x169)]['intensity']=_0x47a1b8;}[_0x17298d(0x15f)](){return new webgpu.DirectionalLight(0xffffff,0xa);}[_0x17298d(0x16a)](..._0x3e2fdf){var _0x3f2595=_0x17298d;_0x3e2fdf[_0x3f2595(0x170)]===0x1?super[_0x3f2595(0x16a)](_0x3e2fdf[0x0]):super[_0x3f2595(0x16a)](_0x3e2fdf[0x0],_0x3e2fdf[0x1],_0x3e2fdf[0x2]),this[_0x3f2595(0x177)]();}['update'](){var _0xd9d298=_0x17298d;if(this['world'])this[_0xd9d298(0x171)][_0xd9d298(0x165)]['markRenderStateDirty']();}[_0x17298d(0x15e)](_0x229040){var _0x1ce084=_0x17298d;if(!this['threeObject'])throw Error(_0x1ce084(0x16b));super['onAddedToWorld'](_0x229040);}['destroy'](){var _0x28670=_0x17298d;super[_0x28670(0x166)]();}}
|
|
97
97
|
|
|
98
|
-
|
|
98
|
+
function _0x1859(_0x358adf,_0x2abcb2){_0x358adf=_0x358adf-0x1de;var _0x1e95db=_0x1e95();var _0x18596c=_0x1e95db[_0x358adf];return _0x18596c;}var _0x576727=_0x1859;(function(_0x4be498,_0x12baa){var _0x10999b=_0x1859,_0x1ac2b8=_0x4be498();while(!![]){try{var _0x560816=parseInt(_0x10999b(0x1eb))/0x1+parseInt(_0x10999b(0x1ea))/0x2*(parseInt(_0x10999b(0x1e9))/0x3)+-parseInt(_0x10999b(0x1e6))/0x4*(parseInt(_0x10999b(0x1e7))/0x5)+parseInt(_0x10999b(0x1e3))/0x6*(parseInt(_0x10999b(0x1ec))/0x7)+parseInt(_0x10999b(0x1e2))/0x8*(-parseInt(_0x10999b(0x1ed))/0x9)+-parseInt(_0x10999b(0x1de))/0xa+-parseInt(_0x10999b(0x1e4))/0xb*(-parseInt(_0x10999b(0x1e0))/0xc);if(_0x560816===_0x12baa)break;else _0x1ac2b8['push'](_0x1ac2b8['shift']());}catch(_0x2738ba){_0x1ac2b8['push'](_0x1ac2b8['shift']());}}}(_0x1e95,0x29ff7));function _0x1e95(){var _0x12f295=['castShadow','37112MTEShw','185FlPPam','rootComponent','3AgNHzL','231662FeMCNy','253574kbosPQ','14cnnClI','153ASxPzh','896990IOgOvb','constructRootComponent','24lMFsAG','lightComponent','116952xKsQZW','449556UhbNWs','1838507aEYWLv'];_0x1e95=function(){return _0x12f295;};return _0x1e95();}class DirectionalLightActor extends Actor{constructor(_0x54e7d3,_0x1900e8=0xffffff,_0x44e64c=0x1,_0x4c345b){var _0x3fe2d6=_0x1859;super(_0x54e7d3,_0x4c345b),this[_0x3fe2d6(0x1e1)]=null,this[_0x3fe2d6(0x1e1)]=this[_0x3fe2d6(0x1e8)],this[_0x3fe2d6(0x1e1)]&&(this['lightComponent']['color']=_0x1900e8,this[_0x3fe2d6(0x1e1)]['intensity']=_0x44e64c,this[_0x3fe2d6(0x1e1)][_0x3fe2d6(0x1e5)]=!![]),this[_0x3fe2d6(0x1e1)][_0x3fe2d6(0x1e5)]=!![];}[_0x576727(0x1df)](){return new DirectionalLightComponent(this['app']);}}
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
var _0xf6f92b=_0x402d;(function(_0x37a295,_0x2b87b9){var _0x3ca7d5=_0x402d,_0x505e36=_0x37a295();while(!![]){try{var _0x195e48=-parseInt(_0x3ca7d5(0x15b))/0x1*(parseInt(_0x3ca7d5(0x14e))/0x2)+parseInt(_0x3ca7d5(0x148))/0x3*(-parseInt(_0x3ca7d5(0x151))/0x4)+-parseInt(_0x3ca7d5(0x15a))/0x5+-parseInt(_0x3ca7d5(0x157))/0x6*(parseInt(_0x3ca7d5(0x14d))/0x7)+-parseInt(_0x3ca7d5(0x158))/0x8*(parseInt(_0x3ca7d5(0x150))/0x9)+parseInt(_0x3ca7d5(0x15d))/0xa*(-parseInt(_0x3ca7d5(0x159))/0xb)+parseInt(_0x3ca7d5(0x147))/0xc;if(_0x195e48===_0x2b87b9)break;else _0x505e36['push'](_0x505e36['shift']());}catch(_0x768897){_0x505e36['push'](_0x505e36['shift']());}}}(_0x22dd,0x8e836));function _0x22dd(){var _0x26b1eb=['viewport','setPosition','18azUbRH','7573864wklXKN','11PAfxkH','1956560VtaiIB','1XbCcTW','set','2284770klmaco','markRenderStateDirty','three\x20object\x20is\x20invalid','obj','49516632kqMUNH','12UCrrrO','userData','destroy','world','castShadow','2171344DWziON','1731292BeoHKT','intensity','9UOojRR','179908FioMbb','threeObject','onAddedToWorld','update'];_0x22dd=function(){return _0x26b1eb;};return _0x22dd();}function _0x402d(_0x48841a,_0x50b2fa){_0x48841a=_0x48841a-0x146;var _0x22dd46=_0x22dd();var _0x402df1=_0x22dd46[_0x48841a];return _0x402df1;}class AmbientLightComponent extends LightComponent{get[_0xf6f92b(0x152)](){var _0x5e9a4a=_0xf6f92b;if(!this[_0x5e9a4a(0x146)])throw Error(_0x5e9a4a(0x15f));return this[_0x5e9a4a(0x146)];}set[_0xf6f92b(0x152)](_0x13183b){var _0x98fc8e=_0xf6f92b;this[_0x98fc8e(0x146)]=_0x13183b,this[_0x98fc8e(0x146)]&&(this[_0x98fc8e(0x146)][_0x98fc8e(0x149)]['LYObject']=this);}get[_0xf6f92b(0x14c)](){var _0x4489cb=_0xf6f92b;return this[_0x4489cb(0x152)][_0x4489cb(0x14c)];}set[_0xf6f92b(0x14c)](_0x37816d){var _0x46be39=_0xf6f92b;this[_0x46be39(0x152)][_0x46be39(0x14c)]=_0x37816d;}constructor(_0x59aac1,_0x2f9348=0xffffff,_0x5c2aa2=0xa,_0x2c4113){var _0x1d4596=_0xf6f92b;super(_0x59aac1,_0x2c4113),this[_0x1d4596(0x152)]['color'][_0x1d4596(0x15c)](_0x2f9348),this[_0x1d4596(0x152)][_0x1d4596(0x14f)]=_0x5c2aa2;}['createDefaultObject'](){return new webgpu.AmbientLight(0xffffff,0xa);}[_0xf6f92b(0x156)](..._0x13b522){var _0x176f71=_0xf6f92b;_0x13b522['length']===0x1?super[_0x176f71(0x156)](_0x13b522[0x0]):super[_0x176f71(0x156)](_0x13b522[0x0],_0x13b522[0x1],_0x13b522[0x2]),this[_0x176f71(0x154)]();}[_0xf6f92b(0x154)](){var _0x5e3770=_0xf6f92b;if(this[_0x5e3770(0x14b)])this['world'][_0x5e3770(0x155)][_0x5e3770(0x15e)]();}[_0xf6f92b(0x153)](_0x517fd3){var _0x185185=_0xf6f92b;if(!this['threeObject'])throw Error(_0x185185(0x15f));super[_0x185185(0x153)](_0x517fd3);}[_0xf6f92b(0x14a)](){var _0x577d7b=_0xf6f92b;super[_0x577d7b(0x14a)]();}}
|
|
101
101
|
|
|
102
|
-
var
|
|
102
|
+
function _0x5744(_0x3cdf29,_0x426266){_0x3cdf29=_0x3cdf29-0x82;var _0x47f92f=_0x47f9();var _0x5744c0=_0x47f92f[_0x3cdf29];return _0x5744c0;}(function(_0x5d023b,_0x3dc08a){var _0x35ef30=_0x5744,_0x552382=_0x5d023b();while(!![]){try{var _0x21fb6a=-parseInt(_0x35ef30(0x85))/0x1+-parseInt(_0x35ef30(0x88))/0x2*(parseInt(_0x35ef30(0x8a))/0x3)+parseInt(_0x35ef30(0x84))/0x4+parseInt(_0x35ef30(0x86))/0x5*(-parseInt(_0x35ef30(0x87))/0x6)+parseInt(_0x35ef30(0x8c))/0x7+-parseInt(_0x35ef30(0x8b))/0x8*(-parseInt(_0x35ef30(0x83))/0x9)+parseInt(_0x35ef30(0x8f))/0xa;if(_0x21fb6a===_0x3dc08a)break;else _0x552382['push'](_0x552382['shift']());}catch(_0x31cbc3){_0x552382['push'](_0x552382['shift']());}}}(_0x47f9,0x30056));function _0x47f9(){var _0xde085c=['166848RaKAQc','85745jAoUNJ','925NIFGLV','11028jHUZLn','59666gzzods','app','6nCEOjx','1899960xoankO','883904qSoqOz','intensity','lightComponent','2766560sLHqPk','castShadow','rootComponent','9wcjtNT'];_0x47f9=function(){return _0xde085c;};return _0x47f9();}class AmbientLightActor extends Actor{constructor(_0x206c6f,_0x1c6df9=0xffffff,_0x5cfea8=0x1,_0x274a40){var _0x486d32=_0x5744;super(_0x206c6f,_0x274a40),this[_0x486d32(0x8e)]=null,this[_0x486d32(0x8e)]=this[_0x486d32(0x82)],this['lightComponent']&&(this['lightComponent']['color']=_0x1c6df9,this[_0x486d32(0x8e)][_0x486d32(0x8d)]=_0x5cfea8,this[_0x486d32(0x8e)]['castShadow']=!![]),this[_0x486d32(0x8e)][_0x486d32(0x90)]=!![];}['constructRootComponent'](){var _0x185329=_0x5744;return new AmbientLightComponent(this[_0x185329(0x89)]);}}
|
|
103
103
|
|
|
104
|
-
|
|
104
|
+
(function(_0x42cba1,_0x36b00e){var _0x41455d=_0x2d60,_0xe2da22=_0x42cba1();while(!![]){try{var _0x119de6=-parseInt(_0x41455d(0x10b))/0x1*(parseInt(_0x41455d(0x105))/0x2)+parseInt(_0x41455d(0x10a))/0x3*(-parseInt(_0x41455d(0x109))/0x4)+parseInt(_0x41455d(0x10d))/0x5+-parseInt(_0x41455d(0x107))/0x6+parseInt(_0x41455d(0x108))/0x7+-parseInt(_0x41455d(0x106))/0x8+parseInt(_0x41455d(0x10c))/0x9*(parseInt(_0x41455d(0x104))/0xa);if(_0x119de6===_0x36b00e)break;else _0xe2da22['push'](_0xe2da22['shift']());}catch(_0x27ab8d){_0xe2da22['push'](_0xe2da22['shift']());}}}(_0x451a,0x32064));function _0x451a(){var _0x160163=['210436OJMOdZ','1571144epfuUi','984462EbAwKm','419531LfSOLy','20868TpRnRp','135PBhBub','3ZjkEdL','8695629ESsULV','448375qRkqSi','10uCvBbx'];_0x451a=function(){return _0x160163;};return _0x451a();}function _0x2d60(_0x1512a2,_0x588f29){_0x1512a2=_0x1512a2-0x104;var _0x451ab0=_0x451a();var _0x2d60c7=_0x451ab0[_0x1512a2];return _0x2d60c7;}class BoxComponent extends MeshComponent{constructor(_0x4a25da,_0x34eb96=0x1,_0x1e6e79=0x1,_0x437e43=0x1,_0x205ee0=0x1,_0x479158=0x1,_0x1e23b0=0x1,_0x228f57=new webgpu.MeshStandardMaterial(),_0x8ce0c5){super(_0x4a25da,new webgpu.BoxGeometry(_0x34eb96,_0x1e6e79,_0x437e43,_0x205ee0,_0x479158,_0x1e23b0),_0x228f57,_0x8ce0c5);}}
|
|
105
105
|
|
|
106
|
-
|
|
106
|
+
var _0x42f621=_0x30d3;(function(_0xcd58ef,_0x5480f9){var _0x39f94e=_0x30d3,_0x403b77=_0xcd58ef();while(!![]){try{var _0x36ba58=-parseInt(_0x39f94e(0xd5))/0x1+-parseInt(_0x39f94e(0xd3))/0x2*(-parseInt(_0x39f94e(0xdb))/0x3)+-parseInt(_0x39f94e(0xd8))/0x4+parseInt(_0x39f94e(0xda))/0x5+parseInt(_0x39f94e(0xde))/0x6*(parseInt(_0x39f94e(0xdd))/0x7)+parseInt(_0x39f94e(0xd9))/0x8*(-parseInt(_0x39f94e(0xd6))/0x9)+-parseInt(_0x39f94e(0xd4))/0xa;if(_0x36ba58===_0x5480f9)break;else _0x403b77['push'](_0x403b77['shift']());}catch(_0x3aa3fb){_0x403b77['push'](_0x403b77['shift']());}}}(_0x17bb,0xd460a));function _0x30d3(_0xd7ff4d,_0x1ea405){_0xd7ff4d=_0xd7ff4d-0xd3;var _0x17bbb9=_0x17bb();var _0x30d33a=_0x17bbb9[_0xd7ff4d];return _0x30d33a;}class BoxActor extends Actor{constructor(_0x5038ca,_0x523722){super(_0x5038ca,_0x523722);}[_0x42f621(0xdc)](){var _0x34bc74=_0x42f621;return new BoxComponent(this['app'],0x1,0x1,0x1,0x1,0x1,0x1,new webgpu.MeshBasicMaterial(),this[_0x34bc74(0xd7)]);}}function _0x17bb(){var _0x381d70=['206944SEgLHe','49671LCMkVX','uuid','757492fAlRGC','1080qmuxRt','8304655qeFfGR','636855lzwmwS','constructRootComponent','10113537CptbBW','6TbPhXs','8rakRBa','19435820qZJZFJ'];_0x17bb=function(){return _0x381d70;};return _0x17bb();}
|
|
107
107
|
|
|
108
|
-
const
|
|
108
|
+
const _0x57b4fb=_0x4d39;(function(_0x27a877,_0x2241c8){const _0x3496fa=_0x4d39,_0x39a9f7=_0x27a877();while(!![]){try{const _0x559708=parseInt(_0x3496fa(0xce))/0x1*(-parseInt(_0x3496fa(0xdc))/0x2)+-parseInt(_0x3496fa(0xda))/0x3*(-parseInt(_0x3496fa(0xe7))/0x4)+-parseInt(_0x3496fa(0xd5))/0x5*(-parseInt(_0x3496fa(0xd1))/0x6)+-parseInt(_0x3496fa(0xcf))/0x7+parseInt(_0x3496fa(0xea))/0x8*(parseInt(_0x3496fa(0xd7))/0x9)+-parseInt(_0x3496fa(0xd0))/0xa+-parseInt(_0x3496fa(0xe8))/0xb*(-parseInt(_0x3496fa(0xd4))/0xc);if(_0x559708===_0x2241c8)break;else _0x39a9f7['push'](_0x39a9f7['shift']());}catch(_0x5ae718){_0x39a9f7['push'](_0x39a9f7['shift']());}}}(_0x52d8,0x2f85c));function _0x4d39(_0x10dee7,_0x1dab01){_0x10dee7=_0x10dee7-0xcd;const _0x52d8d5=_0x52d8();let _0x4d3954=_0x52d8d5[_0x10dee7];return _0x4d3954;}const DefaultSkyParam={'turbidity':0xa,'rayleigh':0x3,'mieCoefficient':0.005,'mieDirectionalG':0.7,'elevation':0x2,'azimuth':0x87};function _0x52d8(){const _0x580579=['azimuth','32LKOhrY','3996080UwcTiE','value','128sKsAbf','rayleigh','34057EtpOfc','1768256NjRkVM','3120420zpjdFc','6nJNmLx','degToRad','copy','24tScPjX','973105cOOLYB','updateSky','15894NCBUHI','skyParam','threeObject','18099yTUxsg','LYObject','14OKorjX','userData','mieDirectionalG','world','turbidity','three\x20object\x20is\x20invalid','elevation','viewport','sunPosition','obj'];_0x52d8=function(){return _0x580579;};return _0x52d8();}class SkyComponent extends SceneComponent{get[_0x57b4fb(0xd9)](){const _0x569bbf=_0x57b4fb;if(!this[_0x569bbf(0xe5)])throw Error(_0x569bbf(0xe1));return this['obj'];}set[_0x57b4fb(0xd9)](_0x1c22c2){const _0x22827a=_0x57b4fb;this[_0x22827a(0xe5)]=_0x1c22c2,this['obj']&&(this['obj'][_0x22827a(0xdd)][_0x22827a(0xdb)]=this);}constructor(_0x2185a9,_0x1a22ff,_0x24974b){const _0x2ea440=_0x57b4fb;super(_0x2185a9,_0x24974b),this[_0x2ea440(0xd8)]=DefaultSkyParam,this[_0x2ea440(0xe4)]=new webgpu.Vector3(),_0x1a22ff&&(this[_0x2ea440(0xd8)]=_0x1a22ff),this[_0x2ea440(0xd6)]();}['createDefaultObject'](){return new SkyMesh_js.SkyMesh();}[_0x57b4fb(0xd6)](){const _0x668326=_0x57b4fb;var _0x4d2147,_0x20fbf0;this[_0x668326(0xd9)][_0x668326(0xe0)][_0x668326(0xe9)]=this[_0x668326(0xd8)][_0x668326(0xe0)],this[_0x668326(0xd9)]['rayleigh'][_0x668326(0xe9)]=this[_0x668326(0xd8)][_0x668326(0xcd)],this[_0x668326(0xd9)]['mieCoefficient'][_0x668326(0xe9)]=this[_0x668326(0xd8)]['mieCoefficient'],this[_0x668326(0xd9)][_0x668326(0xde)][_0x668326(0xe9)]=this[_0x668326(0xd8)][_0x668326(0xde)];const _0x176fab=webgpu.MathUtils[_0x668326(0xd2)](0x5a-this[_0x668326(0xd8)][_0x668326(0xe2)]),_0x7ba267=webgpu.MathUtils[_0x668326(0xd2)](this['skyParam'][_0x668326(0xe6)]);this[_0x668326(0xe4)]['setFromSphericalCoords'](0x1,_0x176fab,_0x7ba267),this['threeObject'][_0x668326(0xe4)][_0x668326(0xe9)][_0x668326(0xd3)](this[_0x668326(0xe4)]),(_0x20fbf0=(_0x4d2147=this[_0x668326(0xdf)])===null||_0x4d2147===void 0?void 0:_0x4d2147[_0x668326(0xe3)])===null||_0x20fbf0===void 0?void 0:_0x20fbf0['markRenderStateDirty']();}['destroyObject'](){const _0x1b1992=_0x57b4fb;this['obj']&&ThreeObjectLibrary['disposeMeshResource'](this[_0x1b1992(0xd9)]);}}
|
|
109
109
|
|
|
110
|
-
var
|
|
110
|
+
function _0x1ac3(_0x2bb1ca,_0x5ef624){_0x2bb1ca=_0x2bb1ca-0x191;var _0x22dfc8=_0x22df();var _0x1ac3c2=_0x22dfc8[_0x2bb1ca];return _0x1ac3c2;}var _0x49c16e=_0x1ac3;(function(_0x2e6b1c,_0x4264af){var _0x25f596=_0x1ac3,_0x121fd3=_0x2e6b1c();while(!![]){try{var _0x5699a2=parseInt(_0x25f596(0x198))/0x1+-parseInt(_0x25f596(0x193))/0x2+-parseInt(_0x25f596(0x19f))/0x3+-parseInt(_0x25f596(0x19d))/0x4*(parseInt(_0x25f596(0x196))/0x5)+parseInt(_0x25f596(0x19e))/0x6*(parseInt(_0x25f596(0x1a0))/0x7)+-parseInt(_0x25f596(0x1a1))/0x8+-parseInt(_0x25f596(0x194))/0x9*(-parseInt(_0x25f596(0x192))/0xa);if(_0x5699a2===_0x4264af)break;else _0x121fd3['push'](_0x121fd3['shift']());}catch(_0x215873){_0x121fd3['push'](_0x121fd3['shift']());}}}(_0x22df,0x3b385));function _0x22df(){var _0x2032de=['SkyActor','76opHbWF','6KqEMfk','1441875FaeiOP','2383171BfkFxB','1953848yDZYyi','(Root)','_name','7330340sEvcaP','323144ccuJJD','9RdzRrn','setScale','22115xEtaQT','rootComponent','139543zrcWat','name','constructRootComponent','skyComponent'];_0x22df=function(){return _0x2032de;};return _0x22df();}class SkyActor extends Actor{constructor(_0x325775,_0x5463ff){var _0x39f3c0=_0x1ac3;super(_0x325775,_0x5463ff),this[_0x39f3c0(0x191)]=_0x39f3c0(0x19c),this[_0x39f3c0(0x19b)]=null,this['name']='SkyActor',this['skyComponent']=this[_0x39f3c0(0x197)],this[_0x39f3c0(0x197)]['name']=this['rootComponent'][_0x39f3c0(0x199)]+_0x39f3c0(0x1a2),this[_0x39f3c0(0x195)](0xafc8,0xafc8,0xafc8);}[_0x49c16e(0x19a)](){return new SkyComponent(this['app']);}}
|
|
111
111
|
|
|
112
|
-
function
|
|
112
|
+
function _0x59ba(_0x1223e9,_0x4fc97c){_0x1223e9=_0x1223e9-0x97;var _0x20da2b=_0x20da();var _0x59ba29=_0x20da2b[_0x1223e9];return _0x59ba29;}(function(_0xdb063a,_0x1481ad){var _0x359ca6=_0x59ba,_0x517439=_0xdb063a();while(!![]){try{var _0x2decd4=-parseInt(_0x359ca6(0x98))/0x1*(-parseInt(_0x359ca6(0x9f))/0x2)+-parseInt(_0x359ca6(0x9c))/0x3*(parseInt(_0x359ca6(0x9a))/0x4)+parseInt(_0x359ca6(0xa2))/0x5*(parseInt(_0x359ca6(0x9d))/0x6)+parseInt(_0x359ca6(0xa1))/0x7+parseInt(_0x359ca6(0x99))/0x8*(-parseInt(_0x359ca6(0xa0))/0x9)+-parseInt(_0x359ca6(0x9b))/0xa+parseInt(_0x359ca6(0x9e))/0xb*(parseInt(_0x359ca6(0x97))/0xc);if(_0x2decd4===_0x1481ad)break;else _0x517439['push'](_0x517439['shift']());}catch(_0x3c9d01){_0x517439['push'](_0x517439['shift']());}}}(_0x20da,0xdae23));function _0x20da(){var _0x227f62=['1881XNwJfo','7819iOMsvQ','5WPkUSl','708AtnAQX','1443EfQlIv','29576gITSUD','5007892OOukDr','13277060WEqsiO','3mcPaSO','222636EpoMXz','695453OJBRrK','666avmYlQ'];_0x20da=function(){return _0x227f62;};return _0x20da();}class PlaneComponent extends MeshComponent{constructor(_0x458afb,_0x1c9a70,_0x3ae81b,_0x5b00d5,_0xb1c90f=0x1,_0x52854d=0x1,_0x4d3934){super(_0x458afb,new webgpu.PlaneGeometry(_0x1c9a70,_0x3ae81b,_0xb1c90f,_0x52854d),_0x5b00d5,_0x4d3934);}}
|
|
113
113
|
|
|
114
|
-
|
|
114
|
+
var _0x56631d=_0x2223;(function(_0x5e47d9,_0x1255b5){var _0x7ec558=_0x2223,_0x4a0485=_0x5e47d9();while(!![]){try{var _0x2a755c=-parseInt(_0x7ec558(0x1b2))/0x1+-parseInt(_0x7ec558(0x1ba))/0x2*(parseInt(_0x7ec558(0x1b4))/0x3)+-parseInt(_0x7ec558(0x1b1))/0x4*(parseInt(_0x7ec558(0x1b9))/0x5)+parseInt(_0x7ec558(0x1af))/0x6+parseInt(_0x7ec558(0x1ae))/0x7*(parseInt(_0x7ec558(0x1b0))/0x8)+-parseInt(_0x7ec558(0x1ad))/0x9*(parseInt(_0x7ec558(0x1b3))/0xa)+-parseInt(_0x7ec558(0x1b8))/0xb*(-parseInt(_0x7ec558(0x1b7))/0xc);if(_0x2a755c===_0x1255b5)break;else _0x4a0485['push'](_0x4a0485['shift']());}catch(_0x3e925e){_0x4a0485['push'](_0x4a0485['shift']());}}}(_0x2107,0x5e200));function _0x2107(){var _0x2c13ec=['521027KPSnPl','50bunSBp','6cKDRvP','destroy','constructRootComponent','36YUcOPx','4867753ofMuiY','804905JWkKWX','312128rPMSqF','uuid','app','95274GQImcC','3017sAwgBC','2056422ajodzg','4552JavhyX','16QOssTF'];_0x2107=function(){return _0x2c13ec;};return _0x2107();}function _0x2223(_0x5b1ca4,_0x7f8ac7){_0x5b1ca4=_0x5b1ca4-0x1ac;var _0x210782=_0x2107();var _0x2223c0=_0x210782[_0x5b1ca4];return _0x2223c0;}class PlaneActor extends Actor{constructor(_0x42a2b5,_0x3626d4){super(_0x42a2b5,_0x3626d4);}[_0x56631d(0x1b6)](){var _0x34e167=_0x56631d;return new PlaneComponent(this[_0x34e167(0x1ac)],0x1,0x1,new webgpu.MeshBasicMaterial(),0x1,0x1,this[_0x34e167(0x1bb)]);}[_0x56631d(0x1b5)](){var _0x500123=_0x56631d;super[_0x500123(0x1b5)]();}}
|
|
115
115
|
|
|
116
|
-
const _0x310dbb=_0x8e60;(function(_0x45fc2d,_0x47239b){const _0x5cf168=_0x8e60,_0x355afd=_0x45fc2d();while(!![]){try{const _0x45be15=-parseInt(_0x5cf168(0x82))/0x1*(-parseInt(_0x5cf168(0xb5))/0x2)+-parseInt(_0x5cf168(0xa8))/0x3*(-parseInt(_0x5cf168(0x8e))/0x4)+-parseInt(_0x5cf168(0x9e))/0x5*(-parseInt(_0x5cf168(0xba))/0x6)+parseInt(_0x5cf168(0xa3))/0x7*(parseInt(_0x5cf168(0x9f))/0x8)+-parseInt(_0x5cf168(0x9b))/0x9+parseInt(_0x5cf168(0xb0))/0xa*(-parseInt(_0x5cf168(0xb1))/0xb)+-parseInt(_0x5cf168(0x91))/0xc;if(_0x45be15===_0x47239b)break;else _0x355afd['push'](_0x355afd['shift']());}catch(_0x375812){_0x355afd['push'](_0x355afd['shift']());}}}(_0xf110,0x54871));function _0x8e60(_0x5d1a48,_0x39ba3){_0x5d1a48=_0x5d1a48-0x78;const _0x8e60ea=_0xf110();let _0x25fed3=_0x8e60ea[_0x5d1a48];return _0x25fed3;}class CustomMeshComponent extends SceneComponent{get['threeObject'](){const _0x4f173e=_0x8e60;if(!this[_0x4f173e(0xa5)])throw new Error('CustomMeshComponent:\x20threeObject\x20is\x20null');return this[_0x4f173e(0xa5)];}set[_0x310dbb(0x9c)](_0x3818fa){const _0x1865b6=_0x310dbb;this['obj']=_0x3818fa,this['obj']&&(this[_0x1865b6(0xa5)][_0x1865b6(0x89)][_0x1865b6(0x92)]=this);}get[_0x310dbb(0x90)](){const _0xb292b8=_0x310dbb;if(!this[_0xb292b8(0xaa)])throw new Error('geometryPtr\x20is\x20null');return this[_0xb292b8(0xaa)][_0xb292b8(0x96)]();}set[_0x310dbb(0x90)](_0x1e45df){const _0x5ab538=_0x310dbb;let _0x380f99=this['app'][_0x5ab538(0x9a)]['addGeometryAsset'](_0x1e45df);this['geometryPtr']=_0x380f99;}get[_0x310dbb(0x79)](){const _0x560f6f=_0x310dbb;if(!this[_0x560f6f(0xaa)])throw new Error(_0x560f6f(0x98));return this[_0x560f6f(0xaa)];}set[_0x310dbb(0x79)](_0x2f47aa){const _0x3aa9e9=_0x310dbb;this['_geometryPtr']&&(this[_0x3aa9e9(0xaa)][_0x3aa9e9(0xc0)](),this['_geometryPtr']=null);this[_0x3aa9e9(0xaa)]=_0x2f47aa;let _0x2a0296=_0x2f47aa[_0x3aa9e9(0x96)]();this[_0x3aa9e9(0x9c)]&&_0x2a0296&&(this[_0x3aa9e9(0x9c)][_0x3aa9e9(0x90)]=_0x2a0296);}get[_0x310dbb(0xb2)](){const _0x9ea031=_0x310dbb;if(!this[_0x9ea031(0x7d)])throw new Error(_0x9ea031(0x83));let _0x56c779=this[_0x9ea031(0x7d)][_0x9ea031(0x96)]();if(!_0x56c779)throw new Error(_0x9ea031(0x78));return _0x56c779;}get['materialPtr'](){const _0x3bde87=_0x310dbb;if(!this['_materialPtr'])throw new Error(_0x3bde87(0x83));return this['_materialPtr'];}set[_0x310dbb(0xb2)](_0xc9a7c){const _0x1d959a=_0x310dbb;let _0x28b07b=this['app'][_0x1d959a(0x9a)][_0x1d959a(0xbc)](_0xc9a7c);this[_0x1d959a(0x85)]=_0x28b07b;}set[_0x310dbb(0x85)](_0x1ea398){const _0x1c33be=_0x310dbb;this[_0x1c33be(0x7d)]&&(this[_0x1c33be(0x7d)]['release'](),this['_materialPtr']=null);this['_materialPtr']=_0x1ea398;let _0xb5fab2=_0x1ea398[_0x1c33be(0x96)]();_0x1ea398['addRef'](),this[_0x1c33be(0x9c)]&&_0xb5fab2&&(this['threeObject'][_0x1c33be(0xb2)]=_0xb5fab2);}constructor(_0x3307b5,_0x404df1,_0x93c346,_0xbf6d5e){const _0xb22662=_0x310dbb;super(_0x3307b5,_0xbf6d5e),this['_meshData']=_0x404df1;let _0x4131e7=_0x3307b5['assetManager'][_0xb22662(0xbc)](_0x93c346);this[_0xb22662(0x7d)]=_0x4131e7,_0x4131e7[_0xb22662(0x86)]();const _0x3ba715=this[_0xb22662(0x9d)](_0x404df1);this[_0xb22662(0xaa)]=_0x3307b5[_0xb22662(0x9a)][_0xb22662(0x93)](_0x3ba715),this['threeObject'][_0xb22662(0xb2)]=_0x93c346,this[_0xb22662(0x9c)][_0xb22662(0x90)]=_0x3ba715,this[_0xb22662(0xb4)]=_0xb22662(0xa6);}['calculatePolygonArea'](_0x2d96e2){const _0x16c630=_0x310dbb;let _0x34a33a=0x0;const _0x2c4d80=_0x2d96e2[_0x16c630(0xb9)]/0x2;for(let _0x32a7e2=0x0;_0x32a7e2<_0x2c4d80;_0x32a7e2++){const _0x35090f=(_0x32a7e2+0x1)%_0x2c4d80,_0x918c78=_0x2d96e2[_0x32a7e2*0x2],_0x5a534c=_0x2d96e2[_0x32a7e2*0x2+0x1],_0x38769f=_0x2d96e2[_0x35090f*0x2],_0x14c96e=_0x2d96e2[_0x35090f*0x2+0x1];_0x34a33a+=_0x918c78*_0x14c96e-_0x38769f*_0x5a534c;}return _0x34a33a/0x2;}[_0x310dbb(0x9d)](_0x2ab202){const _0x1d9e53=_0x310dbb,_0x4eeae3=new webgpu.BufferGeometry();if(!_0x2ab202[_0x1d9e53(0x94)]||_0x2ab202[_0x1d9e53(0x94)][_0x1d9e53(0xb9)]===0x0)return console[_0x1d9e53(0xbe)](_0x1d9e53(0x7f)),_0x4eeae3;const _0x4ecc18=new Float32Array(_0x2ab202[_0x1d9e53(0x94)][_0x1d9e53(0xb9)]*0x3);for(let _0x63eea7=0x0;_0x63eea7<_0x2ab202[_0x1d9e53(0x94)][_0x1d9e53(0xb9)];_0x63eea7++){_0x4ecc18[_0x63eea7*0x3]=_0x2ab202['vertices'][_0x63eea7]['x'],_0x4ecc18[_0x63eea7*0x3+0x1]=_0x2ab202['vertices'][_0x63eea7]['y'],_0x4ecc18[_0x63eea7*0x3+0x2]=_0x2ab202['vertices'][_0x63eea7]['z'];}_0x4eeae3[_0x1d9e53(0x99)](_0x1d9e53(0x97),new webgpu.Float32BufferAttribute(_0x4ecc18,0x3));if(_0x2ab202[_0x1d9e53(0xbb)]&&_0x2ab202[_0x1d9e53(0xbb)][_0x1d9e53(0xb9)]>0x0)_0x4eeae3['setIndex'](_0x2ab202[_0x1d9e53(0xbb)]);else {const _0x190298=[];let _0x3c6773=Infinity,_0x2eacb5=-Infinity,_0x5c0f60=Infinity,_0xd091c3=-Infinity,_0x3d1eaa=Infinity,_0x3bfc9b=-Infinity;for(let _0x4923d6=0x0;_0x4923d6<_0x2ab202[_0x1d9e53(0x94)][_0x1d9e53(0xb9)];_0x4923d6++){const _0x2d37db=_0x2ab202['vertices'][_0x4923d6];_0x5c0f60=Math['min'](_0x5c0f60,_0x2d37db['x']),_0xd091c3=Math[_0x1d9e53(0x7e)](_0xd091c3,_0x2d37db['x']),_0x3c6773=Math[_0x1d9e53(0x8a)](_0x3c6773,_0x2d37db['y']),_0x2eacb5=Math[_0x1d9e53(0x7e)](_0x2eacb5,_0x2d37db['y']),_0x3d1eaa=Math[_0x1d9e53(0x8a)](_0x3d1eaa,_0x2d37db['z']),_0x3bfc9b=Math[_0x1d9e53(0x7e)](_0x3bfc9b,_0x2d37db['z']);}const _0x27581e=_0xd091c3-_0x5c0f60,_0x3657a8=_0x2eacb5-_0x3c6773,_0x2bad27=_0x3bfc9b-_0x3d1eaa;let _0x372c34='XY';if(_0x3657a8<=_0x27581e&&_0x3657a8<=_0x2bad27){_0x372c34='XZ';for(let _0x23ea94=0x0;_0x23ea94<_0x2ab202[_0x1d9e53(0x94)][_0x1d9e53(0xb9)];_0x23ea94++){_0x190298[_0x1d9e53(0xae)](_0x2ab202[_0x1d9e53(0x94)][_0x23ea94]['x']),_0x190298[_0x1d9e53(0xae)](_0x2ab202[_0x1d9e53(0x94)][_0x23ea94]['z']);}}else {if(_0x27581e<=_0x3657a8&&_0x27581e<=_0x2bad27){_0x372c34='YZ';for(let _0x31695f=0x0;_0x31695f<_0x2ab202['vertices']['length'];_0x31695f++){_0x190298[_0x1d9e53(0xae)](_0x2ab202['vertices'][_0x31695f]['y']),_0x190298[_0x1d9e53(0xae)](_0x2ab202[_0x1d9e53(0x94)][_0x31695f]['z']);}}else {_0x372c34='XY';for(let _0x3e1a28=0x0;_0x3e1a28<_0x2ab202[_0x1d9e53(0x94)][_0x1d9e53(0xb9)];_0x3e1a28++){_0x190298[_0x1d9e53(0xae)](_0x2ab202['vertices'][_0x3e1a28]['x']),_0x190298[_0x1d9e53(0xae)](_0x2ab202[_0x1d9e53(0x94)][_0x3e1a28]['y']);}}}const _0x421e3d=this['calculatePolygonArea'](_0x190298),_0x338942=_0x421e3d<0x0;if(_0x338942){console['warn'](_0x1d9e53(0xa4)),_0x190298['reverse']();const _0x2690eb=[];for(let _0x52b79e=_0x190298[_0x1d9e53(0xb9)]-0x2;_0x52b79e>=0x0;_0x52b79e-=0x2){_0x2690eb[_0x1d9e53(0xae)](_0x190298[_0x52b79e],_0x190298[_0x52b79e+0x1]);}_0x190298[_0x1d9e53(0xb9)]=0x0,_0x190298[_0x1d9e53(0xae)](..._0x2690eb);}try{const _0x43873c=_0x430ee4(_0x190298,undefined,0x2);if(_0x43873c&&_0x43873c[_0x1d9e53(0xb9)]>0x0){if(_0x338942)for(let _0x128e0f=0x0;_0x128e0f<_0x43873c['length'];_0x128e0f+=0x3){const _0x3a072d=_0x43873c[_0x128e0f];_0x43873c[_0x128e0f]=_0x43873c[_0x128e0f+0x2],_0x43873c[_0x128e0f+0x2]=_0x3a072d;}_0x4eeae3[_0x1d9e53(0x88)](_0x43873c),console['log'](_0x1d9e53(0xa1),{'planeType':_0x372c34,'vertexCount':_0x2ab202[_0x1d9e53(0x94)]['length'],'triangleCount':_0x43873c[_0x1d9e53(0xb9)]/0x3,'area':Math[_0x1d9e53(0x87)](_0x421e3d),'wasClockwise':_0x338942,'indices':Array[_0x1d9e53(0x7a)](_0x43873c)});}else console[_0x1d9e53(0xa7)](_0x1d9e53(0xb8));}catch(_0x220277){console[_0x1d9e53(0xbe)](_0x1d9e53(0xab),_0x220277);}}if(_0x2ab202[_0x1d9e53(0x7b)]&&_0x2ab202['normals'][_0x1d9e53(0xb9)]===_0x2ab202['vertices']['length']){const _0x26bee0=new Float32Array(_0x2ab202[_0x1d9e53(0x7b)]['length']*0x3);for(let _0x36317d=0x0;_0x36317d<_0x2ab202[_0x1d9e53(0x7b)][_0x1d9e53(0xb9)];_0x36317d++){_0x26bee0[_0x36317d*0x3]=_0x2ab202['normals'][_0x36317d]['x'],_0x26bee0[_0x36317d*0x3+0x1]=_0x2ab202[_0x1d9e53(0x7b)][_0x36317d]['y'],_0x26bee0[_0x36317d*0x3+0x2]=_0x2ab202[_0x1d9e53(0x7b)][_0x36317d]['z'];}_0x4eeae3[_0x1d9e53(0x99)]('normal',new webgpu.Float32BufferAttribute(_0x26bee0,0x3));}else _0x4eeae3[_0x1d9e53(0x95)]();if(_0x2ab202[_0x1d9e53(0x84)]&&_0x2ab202[_0x1d9e53(0x84)][_0x1d9e53(0xb9)]>0x0){const _0x49c4f0=new Float32Array(_0x2ab202[_0x1d9e53(0x84)][_0x1d9e53(0xb9)]*0x2);for(let _0x76eea5=0x0;_0x76eea5<_0x2ab202[_0x1d9e53(0x84)][_0x1d9e53(0xb9)];_0x76eea5++){_0x49c4f0[_0x76eea5*0x2]=_0x2ab202[_0x1d9e53(0x84)][_0x76eea5]['x'],_0x49c4f0[_0x76eea5*0x2+0x1]=_0x2ab202[_0x1d9e53(0x84)][_0x76eea5]['y'];}_0x4eeae3[_0x1d9e53(0x99)]('uv',new webgpu.Float32BufferAttribute(_0x49c4f0,0x2));}if(_0x2ab202[_0x1d9e53(0x81)]&&_0x2ab202[_0x1d9e53(0x81)][_0x1d9e53(0xb9)]===_0x2ab202[_0x1d9e53(0x94)]['length']){const _0x50897b=new Float32Array(_0x2ab202[_0x1d9e53(0x81)]['length']*0x3);for(let _0x2c9040=0x0;_0x2c9040<_0x2ab202[_0x1d9e53(0x81)]['length'];_0x2c9040++){_0x50897b[_0x2c9040*0x3]=_0x2ab202['colors'][_0x2c9040]['r'],_0x50897b[_0x2c9040*0x3+0x1]=_0x2ab202['colors'][_0x2c9040]['g'],_0x50897b[_0x2c9040*0x3+0x2]=_0x2ab202[_0x1d9e53(0x81)][_0x2c9040]['b'];}_0x4eeae3[_0x1d9e53(0x99)]('color',new webgpu.Float32BufferAttribute(_0x50897b,0x3));}return _0x4eeae3;}set[_0x310dbb(0xac)](_0x3edd02){const _0x52a1d1=_0x310dbb;var _0xd8de41,_0x362230,_0x1a082c;this[_0x52a1d1(0xaa)]&&this[_0x52a1d1(0xaa)][_0x52a1d1(0xc0)]();const _0x1868e5=this[_0x52a1d1(0x9d)](_0x3edd02);this[_0x52a1d1(0xaa)]=this[_0x52a1d1(0xa2)]['assetManager'][_0x52a1d1(0x93)](_0x1868e5),this['threeObject']['geometry']=_0x1868e5,this[_0x52a1d1(0xa0)]={'vertices':_0x3edd02[_0x52a1d1(0x94)][_0x52a1d1(0xad)](_0x1b5410=>_0x1b5410[_0x52a1d1(0xb7)]()),'indices':_0x3edd02[_0x52a1d1(0xbb)]?[..._0x3edd02[_0x52a1d1(0xbb)]]:undefined,'normals':(_0xd8de41=_0x3edd02[_0x52a1d1(0x7b)])===null||_0xd8de41===void 0?void 0:_0xd8de41[_0x52a1d1(0xad)](_0x466067=>_0x466067[_0x52a1d1(0xb7)]()),'uvs':(_0x362230=_0x3edd02[_0x52a1d1(0x84)])===null||_0x362230===void 0?void 0:_0x362230[_0x52a1d1(0xad)](_0x233cc7=>_0x233cc7[_0x52a1d1(0xb7)]()),'colors':(_0x1a082c=_0x3edd02[_0x52a1d1(0x81)])===null||_0x1a082c===void 0?void 0:_0x1a082c['map'](_0x2f9d31=>_0x2f9d31[_0x52a1d1(0xb7)]())},this[_0x52a1d1(0x7c)]&&this[_0x52a1d1(0x7c)][_0x52a1d1(0xbf)][_0x52a1d1(0x8c)]();}get[_0x310dbb(0xac)](){const _0x3742e1=_0x310dbb;return this[_0x3742e1(0xa0)];}[_0x310dbb(0x8f)](){return new webgpu.Mesh();}set['castShadow'](_0x3aeb79){const _0x5c6030=_0x310dbb;if(this[_0x5c6030(0x9c)])this[_0x5c6030(0x9c)][_0x5c6030(0xb3)]=_0x3aeb79;}get['castShadow'](){const _0x590ee7=_0x310dbb;return this[_0x590ee7(0x9c)]?this[_0x590ee7(0x9c)][_0x590ee7(0xb3)]:![];}set[_0x310dbb(0xb6)](_0x5e3ed7){const _0x100a02=_0x310dbb;if(!this[_0x100a02(0x9c)])return;this[_0x100a02(0x9c)][_0x100a02(0xb6)]=_0x5e3ed7;}get[_0x310dbb(0xb6)](){const _0x51af68=_0x310dbb;return this[_0x51af68(0x9c)]?this['threeObject']['receiveShadow']:![];}['getBoundsCenterPosition'](){const _0x1c4520=_0x310dbb;let _0xd9cd3=new webgpu.Vector3();return this[_0x1c4520(0xa9)]()[_0x1c4520(0xbd)](_0xd9cd3),_0xd9cd3;}[_0x310dbb(0x8b)](){const _0x5abd02=_0x310dbb;let _0x31c94f=new webgpu.Vector3(),_0x22666f=this[_0x5abd02(0xa9)]();return _0x22666f[_0x5abd02(0xbd)](_0x31c94f),_0x31c94f['y']=_0x22666f[_0x5abd02(0x7e)]['y'],_0x31c94f;}[_0x310dbb(0xaf)](){const _0x5185de=_0x310dbb;let _0x21395f=new webgpu.Vector3(),_0x584955=this[_0x5185de(0xa9)]();return _0x584955[_0x5185de(0xbd)](_0x21395f),_0x21395f['y']=_0x584955[_0x5185de(0x8a)]['y'],_0x21395f;}[_0x310dbb(0x80)](){const _0x3ca505=_0x310dbb;var _0xf50807,_0x1eb9a9;this[_0x3ca505(0x9c)]&&this[_0x3ca505(0x9c)][_0x3ca505(0x8d)](),(_0xf50807=this[_0x3ca505(0xaa)])===null||_0xf50807===void 0?void 0:_0xf50807[_0x3ca505(0xc0)](),(_0x1eb9a9=this[_0x3ca505(0x7d)])===null||_0x1eb9a9===void 0?void 0:_0x1eb9a9[_0x3ca505(0xc0)](),super[_0x3ca505(0x80)]();}}function _0xf110(){const _0x3d3345=['max','CustomMeshComponent:\x20Invalid\x20vertices\x20data','destroyObject','colors','460261CWJIYr','materialPtr\x20is\x20null','uvs','materialPtr','addRef','abs','setIndex','userData','min','getBoundsTopCenterPosition','markRenderStateDirty','removeFromParent','52aipLTY','createDefaultObject','geometry','5468988ZWkQEp','LYObject','addGeometryAsset','vertices','computeVertexNormals','getValue','position','geometryPtr\x20is\x20null','setAttribute','assetManager','516789hLMRCm','threeObject','constructGeometry','5NwLRwi','928216BqJHsk','_meshData','[CustomMeshComponent]\x20Earcut\x20triangulation\x20success:','app','14OoGXOs','CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...','obj','CustomMeshComponent','warn','93969QSDmNj','getBounds','_geometryPtr','CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:','meshData','map','push','getBoundsBottomCenterPosition','10SjIfqo','7066004lvxPqX','material','castShadow','name','2gYZyoe','receiveShadow','clone','CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result','length','2413470NgswUZ','indices','addMaterialAsset','getCenter','error','viewport','release','material\x20is\x20null','geometryPtr','from','normals','world','_materialPtr'];_0xf110=function(){return _0x3d3345;};return _0xf110();}
|
|
116
|
+
const _0x285746=_0x315b;(function(_0x1fa6c6,_0x100579){const _0x1ff1d2=_0x315b,_0xaa787c=_0x1fa6c6();while(!![]){try{const _0x37b5c7=-parseInt(_0x1ff1d2(0x10d))/0x1+-parseInt(_0x1ff1d2(0x120))/0x2+parseInt(_0x1ff1d2(0x115))/0x3*(-parseInt(_0x1ff1d2(0x127))/0x4)+parseInt(_0x1ff1d2(0x13c))/0x5*(-parseInt(_0x1ff1d2(0x146))/0x6)+parseInt(_0x1ff1d2(0x113))/0x7+-parseInt(_0x1ff1d2(0x116))/0x8*(parseInt(_0x1ff1d2(0x140))/0x9)+parseInt(_0x1ff1d2(0x13a))/0xa;if(_0x37b5c7===_0x100579)break;else _0xaa787c['push'](_0xaa787c['shift']());}catch(_0x46118b){_0xaa787c['push'](_0xaa787c['shift']());}}}(_0xe22f,0x6fe80));function _0x315b(_0x594d56,_0x51420c){_0x594d56=_0x594d56-0x108;const _0xe22f9b=_0xe22f();let _0x315b70=_0xe22f9b[_0x594d56];return _0x315b70;}function _0xe22f(){const _0x11fc7d=['app','obj','max','uvs','computeVertexNormals','colors','geometry','geometryPtr\x20is\x20null','vertices','createDefaultObject','addRef','receiveShadow','_meshData','normal','setIndex','markRenderStateDirty','castShadow','31007350jTJpkU','material','3121345QhPOrd','geometryPtr','getValue','viewport','856719wtNQtL','assetManager','log','length','color','CustomMeshComponent:\x20Invalid\x20vertices\x20data','6mDZkIw','[CustomMeshComponent]\x20Earcut\x20triangulation\x20success:','_materialPtr','getBoundsTopCenterPosition','name','CustomMeshComponent:\x20threeObject\x20is\x20null','materialPtr\x20is\x20null','error','_geometryPtr','warn','release','clone','CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result','addGeometryAsset','min','normals','indices','LYObject','338787jzgALc','getCenter','addMaterialAsset','calculatePolygonArea','from','meshData','3552493ZVBTAA','CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:','1319901WgSSUV','72ojpeqo','world','removeFromParent','getBoundsBottomCenterPosition','userData','push','materialPtr','threeObject','map','reverse','1780248JQULML','setAttribute','CustomMeshComponent','position','getBounds','destroyObject','constructGeometry','4pdchEP','material\x20is\x20null'];_0xe22f=function(){return _0x11fc7d;};return _0xe22f();}class CustomMeshComponent extends SceneComponent{get[_0x285746(0x11d)](){const _0x37dc42=_0x285746;if(!this[_0x37dc42(0x12a)])throw new Error(_0x37dc42(0x14b));return this['obj'];}set[_0x285746(0x11d)](_0xbf0e4d){const _0x55eba4=_0x285746;this[_0x55eba4(0x12a)]=_0xbf0e4d,this[_0x55eba4(0x12a)]&&(this[_0x55eba4(0x12a)][_0x55eba4(0x11a)][_0x55eba4(0x10c)]=this);}get[_0x285746(0x12f)](){const _0x45814e=_0x285746;if(!this[_0x45814e(0x14e)])throw new Error('geometryPtr\x20is\x20null');return this[_0x45814e(0x14e)]['getValue']();}set[_0x285746(0x12f)](_0x5a1b2c){const _0x24a746=_0x285746;let _0x167449=this[_0x24a746(0x129)][_0x24a746(0x141)][_0x24a746(0x108)](_0x5a1b2c);this['geometryPtr']=_0x167449;}get[_0x285746(0x13d)](){const _0x337198=_0x285746;if(!this[_0x337198(0x14e)])throw new Error(_0x337198(0x130));return this[_0x337198(0x14e)];}set['geometryPtr'](_0x5546cb){const _0x8947bc=_0x285746;this[_0x8947bc(0x14e)]&&(this[_0x8947bc(0x14e)][_0x8947bc(0x150)](),this[_0x8947bc(0x14e)]=null);this[_0x8947bc(0x14e)]=_0x5546cb;let _0x554735=_0x5546cb[_0x8947bc(0x13e)]();this['threeObject']&&_0x554735&&(this[_0x8947bc(0x11d)]['geometry']=_0x554735);}get['material'](){const _0x1a927d=_0x285746;if(!this[_0x1a927d(0x148)])throw new Error('materialPtr\x20is\x20null');let _0x39e848=this[_0x1a927d(0x148)][_0x1a927d(0x13e)]();if(!_0x39e848)throw new Error(_0x1a927d(0x128));return _0x39e848;}get[_0x285746(0x11c)](){const _0xcabc4c=_0x285746;if(!this[_0xcabc4c(0x148)])throw new Error(_0xcabc4c(0x14c));return this['_materialPtr'];}set[_0x285746(0x13b)](_0x19c239){const _0x5b41e2=_0x285746;let _0xdc306c=this[_0x5b41e2(0x129)][_0x5b41e2(0x141)][_0x5b41e2(0x10f)](_0x19c239);this[_0x5b41e2(0x11c)]=_0xdc306c;}set['materialPtr'](_0xb28fb5){const _0x52fb32=_0x285746;this[_0x52fb32(0x148)]&&(this['_materialPtr'][_0x52fb32(0x150)](),this[_0x52fb32(0x148)]=null);this[_0x52fb32(0x148)]=_0xb28fb5;let _0x12a61c=_0xb28fb5[_0x52fb32(0x13e)]();_0xb28fb5[_0x52fb32(0x133)](),this[_0x52fb32(0x11d)]&&_0x12a61c&&(this['threeObject']['material']=_0x12a61c);}constructor(_0x1cbef6,_0x579ac3,_0x16f76c,_0x27913f){const _0x519f5b=_0x285746;super(_0x1cbef6,_0x27913f),this[_0x519f5b(0x135)]=_0x579ac3;let _0x418cc6=_0x1cbef6[_0x519f5b(0x141)][_0x519f5b(0x10f)](_0x16f76c);this[_0x519f5b(0x148)]=_0x418cc6,_0x418cc6['addRef']();const _0x490eb6=this[_0x519f5b(0x126)](_0x579ac3);this['_geometryPtr']=_0x1cbef6['assetManager'][_0x519f5b(0x108)](_0x490eb6),this[_0x519f5b(0x11d)][_0x519f5b(0x13b)]=_0x16f76c,this[_0x519f5b(0x11d)][_0x519f5b(0x12f)]=_0x490eb6,this[_0x519f5b(0x14a)]=_0x519f5b(0x122);}['calculatePolygonArea'](_0x12ed21){const _0x2a1171=_0x285746;let _0x172714=0x0;const _0x220ff3=_0x12ed21[_0x2a1171(0x143)]/0x2;for(let _0x195827=0x0;_0x195827<_0x220ff3;_0x195827++){const _0x200495=(_0x195827+0x1)%_0x220ff3,_0x3c43c2=_0x12ed21[_0x195827*0x2],_0x15ba8b=_0x12ed21[_0x195827*0x2+0x1],_0x1af30c=_0x12ed21[_0x200495*0x2],_0xaa387=_0x12ed21[_0x200495*0x2+0x1];_0x172714+=_0x3c43c2*_0xaa387-_0x1af30c*_0x15ba8b;}return _0x172714/0x2;}['constructGeometry'](_0xa28c5a){const _0x33e5ef=_0x285746,_0x24db0d=new webgpu.BufferGeometry();if(!_0xa28c5a[_0x33e5ef(0x131)]||_0xa28c5a[_0x33e5ef(0x131)][_0x33e5ef(0x143)]===0x0)return console[_0x33e5ef(0x14d)](_0x33e5ef(0x145)),_0x24db0d;const _0x3bd3b4=new Float32Array(_0xa28c5a[_0x33e5ef(0x131)][_0x33e5ef(0x143)]*0x3);for(let _0x4a8e10=0x0;_0x4a8e10<_0xa28c5a[_0x33e5ef(0x131)]['length'];_0x4a8e10++){_0x3bd3b4[_0x4a8e10*0x3]=_0xa28c5a[_0x33e5ef(0x131)][_0x4a8e10]['x'],_0x3bd3b4[_0x4a8e10*0x3+0x1]=_0xa28c5a['vertices'][_0x4a8e10]['y'],_0x3bd3b4[_0x4a8e10*0x3+0x2]=_0xa28c5a['vertices'][_0x4a8e10]['z'];}_0x24db0d[_0x33e5ef(0x121)](_0x33e5ef(0x123),new webgpu.Float32BufferAttribute(_0x3bd3b4,0x3));if(_0xa28c5a[_0x33e5ef(0x10b)]&&_0xa28c5a['indices'][_0x33e5ef(0x143)]>0x0)_0x24db0d[_0x33e5ef(0x137)](_0xa28c5a['indices']);else {const _0x588a45=[];let _0x41bbf6=Infinity,_0x1de175=-Infinity,_0x1f93c3=Infinity,_0x2f8759=-Infinity,_0x477acb=Infinity,_0xa7e444=-Infinity;for(let _0x2e0616=0x0;_0x2e0616<_0xa28c5a[_0x33e5ef(0x131)][_0x33e5ef(0x143)];_0x2e0616++){const _0x3849b6=_0xa28c5a[_0x33e5ef(0x131)][_0x2e0616];_0x1f93c3=Math[_0x33e5ef(0x109)](_0x1f93c3,_0x3849b6['x']),_0x2f8759=Math[_0x33e5ef(0x12b)](_0x2f8759,_0x3849b6['x']),_0x41bbf6=Math[_0x33e5ef(0x109)](_0x41bbf6,_0x3849b6['y']),_0x1de175=Math[_0x33e5ef(0x12b)](_0x1de175,_0x3849b6['y']),_0x477acb=Math['min'](_0x477acb,_0x3849b6['z']),_0xa7e444=Math[_0x33e5ef(0x12b)](_0xa7e444,_0x3849b6['z']);}const _0x341db0=_0x2f8759-_0x1f93c3,_0x30bc4a=_0x1de175-_0x41bbf6,_0x194cf4=_0xa7e444-_0x477acb;let _0x36d84c='XY';if(_0x30bc4a<=_0x341db0&&_0x30bc4a<=_0x194cf4){_0x36d84c='XZ';for(let _0x3d7472=0x0;_0x3d7472<_0xa28c5a[_0x33e5ef(0x131)][_0x33e5ef(0x143)];_0x3d7472++){_0x588a45[_0x33e5ef(0x11b)](_0xa28c5a['vertices'][_0x3d7472]['x']),_0x588a45[_0x33e5ef(0x11b)](_0xa28c5a['vertices'][_0x3d7472]['z']);}}else {if(_0x341db0<=_0x30bc4a&&_0x341db0<=_0x194cf4){_0x36d84c='YZ';for(let _0x4ec857=0x0;_0x4ec857<_0xa28c5a[_0x33e5ef(0x131)][_0x33e5ef(0x143)];_0x4ec857++){_0x588a45[_0x33e5ef(0x11b)](_0xa28c5a['vertices'][_0x4ec857]['y']),_0x588a45[_0x33e5ef(0x11b)](_0xa28c5a[_0x33e5ef(0x131)][_0x4ec857]['z']);}}else {_0x36d84c='XY';for(let _0x2a3907=0x0;_0x2a3907<_0xa28c5a[_0x33e5ef(0x131)][_0x33e5ef(0x143)];_0x2a3907++){_0x588a45[_0x33e5ef(0x11b)](_0xa28c5a[_0x33e5ef(0x131)][_0x2a3907]['x']),_0x588a45[_0x33e5ef(0x11b)](_0xa28c5a[_0x33e5ef(0x131)][_0x2a3907]['y']);}}}const _0x5b312f=this[_0x33e5ef(0x110)](_0x588a45),_0x3bf863=_0x5b312f<0x0;if(_0x3bf863){console[_0x33e5ef(0x14f)]('CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...'),_0x588a45[_0x33e5ef(0x11f)]();const _0x3263f7=[];for(let _0x4bd82e=_0x588a45[_0x33e5ef(0x143)]-0x2;_0x4bd82e>=0x0;_0x4bd82e-=0x2){_0x3263f7[_0x33e5ef(0x11b)](_0x588a45[_0x4bd82e],_0x588a45[_0x4bd82e+0x1]);}_0x588a45[_0x33e5ef(0x143)]=0x0,_0x588a45[_0x33e5ef(0x11b)](..._0x3263f7);}try{const _0xb8e4ed=_0x37784b(_0x588a45,undefined,0x2);if(_0xb8e4ed&&_0xb8e4ed[_0x33e5ef(0x143)]>0x0){if(_0x3bf863)for(let _0x7a516c=0x0;_0x7a516c<_0xb8e4ed[_0x33e5ef(0x143)];_0x7a516c+=0x3){const _0x2d1c9f=_0xb8e4ed[_0x7a516c];_0xb8e4ed[_0x7a516c]=_0xb8e4ed[_0x7a516c+0x2],_0xb8e4ed[_0x7a516c+0x2]=_0x2d1c9f;}_0x24db0d[_0x33e5ef(0x137)](_0xb8e4ed),console[_0x33e5ef(0x142)](_0x33e5ef(0x147),{'planeType':_0x36d84c,'vertexCount':_0xa28c5a['vertices']['length'],'triangleCount':_0xb8e4ed['length']/0x3,'area':Math['abs'](_0x5b312f),'wasClockwise':_0x3bf863,'indices':Array[_0x33e5ef(0x111)](_0xb8e4ed)});}else console['warn'](_0x33e5ef(0x152));}catch(_0x5bc321){console[_0x33e5ef(0x14d)](_0x33e5ef(0x114),_0x5bc321);}}if(_0xa28c5a[_0x33e5ef(0x10a)]&&_0xa28c5a[_0x33e5ef(0x10a)]['length']===_0xa28c5a[_0x33e5ef(0x131)][_0x33e5ef(0x143)]){const _0x2f2a87=new Float32Array(_0xa28c5a[_0x33e5ef(0x10a)][_0x33e5ef(0x143)]*0x3);for(let _0xf676fc=0x0;_0xf676fc<_0xa28c5a['normals'][_0x33e5ef(0x143)];_0xf676fc++){_0x2f2a87[_0xf676fc*0x3]=_0xa28c5a[_0x33e5ef(0x10a)][_0xf676fc]['x'],_0x2f2a87[_0xf676fc*0x3+0x1]=_0xa28c5a[_0x33e5ef(0x10a)][_0xf676fc]['y'],_0x2f2a87[_0xf676fc*0x3+0x2]=_0xa28c5a['normals'][_0xf676fc]['z'];}_0x24db0d['setAttribute'](_0x33e5ef(0x136),new webgpu.Float32BufferAttribute(_0x2f2a87,0x3));}else _0x24db0d[_0x33e5ef(0x12d)]();if(_0xa28c5a[_0x33e5ef(0x12c)]&&_0xa28c5a[_0x33e5ef(0x12c)]['length']>0x0){const _0xccd120=new Float32Array(_0xa28c5a[_0x33e5ef(0x12c)][_0x33e5ef(0x143)]*0x2);for(let _0x1bd955=0x0;_0x1bd955<_0xa28c5a[_0x33e5ef(0x12c)][_0x33e5ef(0x143)];_0x1bd955++){_0xccd120[_0x1bd955*0x2]=_0xa28c5a[_0x33e5ef(0x12c)][_0x1bd955]['x'],_0xccd120[_0x1bd955*0x2+0x1]=_0xa28c5a[_0x33e5ef(0x12c)][_0x1bd955]['y'];}_0x24db0d[_0x33e5ef(0x121)]('uv',new webgpu.Float32BufferAttribute(_0xccd120,0x2));}if(_0xa28c5a[_0x33e5ef(0x12e)]&&_0xa28c5a['colors'][_0x33e5ef(0x143)]===_0xa28c5a[_0x33e5ef(0x131)][_0x33e5ef(0x143)]){const _0x243817=new Float32Array(_0xa28c5a[_0x33e5ef(0x12e)][_0x33e5ef(0x143)]*0x3);for(let _0x373749=0x0;_0x373749<_0xa28c5a[_0x33e5ef(0x12e)][_0x33e5ef(0x143)];_0x373749++){_0x243817[_0x373749*0x3]=_0xa28c5a[_0x33e5ef(0x12e)][_0x373749]['r'],_0x243817[_0x373749*0x3+0x1]=_0xa28c5a[_0x33e5ef(0x12e)][_0x373749]['g'],_0x243817[_0x373749*0x3+0x2]=_0xa28c5a[_0x33e5ef(0x12e)][_0x373749]['b'];}_0x24db0d[_0x33e5ef(0x121)](_0x33e5ef(0x144),new webgpu.Float32BufferAttribute(_0x243817,0x3));}return _0x24db0d;}set['meshData'](_0x353401){const _0x2e8be7=_0x285746;var _0x522070,_0x401b78,_0x29be28;this[_0x2e8be7(0x14e)]&&this[_0x2e8be7(0x14e)][_0x2e8be7(0x150)]();const _0x38aec4=this[_0x2e8be7(0x126)](_0x353401);this['_geometryPtr']=this[_0x2e8be7(0x129)][_0x2e8be7(0x141)][_0x2e8be7(0x108)](_0x38aec4),this['threeObject'][_0x2e8be7(0x12f)]=_0x38aec4,this[_0x2e8be7(0x135)]={'vertices':_0x353401[_0x2e8be7(0x131)][_0x2e8be7(0x11e)](_0xa0fe6c=>_0xa0fe6c[_0x2e8be7(0x151)]()),'indices':_0x353401[_0x2e8be7(0x10b)]?[..._0x353401[_0x2e8be7(0x10b)]]:undefined,'normals':(_0x522070=_0x353401[_0x2e8be7(0x10a)])===null||_0x522070===void 0?void 0:_0x522070[_0x2e8be7(0x11e)](_0x4b0114=>_0x4b0114[_0x2e8be7(0x151)]()),'uvs':(_0x401b78=_0x353401[_0x2e8be7(0x12c)])===null||_0x401b78===void 0?void 0:_0x401b78[_0x2e8be7(0x11e)](_0x4b2a69=>_0x4b2a69[_0x2e8be7(0x151)]()),'colors':(_0x29be28=_0x353401[_0x2e8be7(0x12e)])===null||_0x29be28===void 0?void 0:_0x29be28[_0x2e8be7(0x11e)](_0x1551e7=>_0x1551e7['clone']())},this[_0x2e8be7(0x117)]&&this[_0x2e8be7(0x117)][_0x2e8be7(0x13f)][_0x2e8be7(0x138)]();}get[_0x285746(0x112)](){return this['_meshData'];}[_0x285746(0x132)](){return new webgpu.Mesh();}set[_0x285746(0x139)](_0x5dc402){const _0x1eeabc=_0x285746;if(this[_0x1eeabc(0x11d)])this[_0x1eeabc(0x11d)][_0x1eeabc(0x139)]=_0x5dc402;}get[_0x285746(0x139)](){const _0x32b9a2=_0x285746;return this[_0x32b9a2(0x11d)]?this[_0x32b9a2(0x11d)][_0x32b9a2(0x139)]:![];}set[_0x285746(0x134)](_0x4af4b8){const _0x3a5d42=_0x285746;if(!this[_0x3a5d42(0x11d)])return;this[_0x3a5d42(0x11d)]['receiveShadow']=_0x4af4b8;}get[_0x285746(0x134)](){const _0x54487b=_0x285746;return this[_0x54487b(0x11d)]?this[_0x54487b(0x11d)][_0x54487b(0x134)]:![];}['getBoundsCenterPosition'](){const _0x55bf8f=_0x285746;let _0x3019cd=new webgpu.Vector3();return this['getBounds']()[_0x55bf8f(0x10e)](_0x3019cd),_0x3019cd;}[_0x285746(0x149)](){const _0x9cca9f=_0x285746;let _0x295712=new webgpu.Vector3(),_0x1e1c9b=this[_0x9cca9f(0x124)]();return _0x1e1c9b[_0x9cca9f(0x10e)](_0x295712),_0x295712['y']=_0x1e1c9b[_0x9cca9f(0x12b)]['y'],_0x295712;}[_0x285746(0x119)](){const _0x497962=_0x285746;let _0x1fef8d=new webgpu.Vector3(),_0x2ba34a=this[_0x497962(0x124)]();return _0x2ba34a['getCenter'](_0x1fef8d),_0x1fef8d['y']=_0x2ba34a[_0x497962(0x109)]['y'],_0x1fef8d;}[_0x285746(0x125)](){const _0x545054=_0x285746;var _0x284499,_0x295d35;this[_0x545054(0x11d)]&&this[_0x545054(0x11d)][_0x545054(0x118)](),(_0x284499=this[_0x545054(0x14e)])===null||_0x284499===void 0?void 0:_0x284499[_0x545054(0x150)](),(_0x295d35=this[_0x545054(0x148)])===null||_0x295d35===void 0?void 0:_0x295d35[_0x545054(0x150)](),super['destroyObject']();}}
|
|
117
117
|
|
|
118
|
-
(function(
|
|
118
|
+
function _0x1259(_0x2c26c5,_0x38c6b7){_0x2c26c5=_0x2c26c5-0x17e;var _0x2d8e2f=_0x2d8e();var _0x1259eb=_0x2d8e2f[_0x2c26c5];return _0x1259eb;}(function(_0x3f776b,_0x27a893){var _0xbd54e=_0x1259,_0xba8d37=_0x3f776b();while(!![]){try{var _0x524d16=parseInt(_0xbd54e(0x180))/0x1+parseInt(_0xbd54e(0x184))/0x2*(-parseInt(_0xbd54e(0x17e))/0x3)+parseInt(_0xbd54e(0x183))/0x4+-parseInt(_0xbd54e(0x182))/0x5*(-parseInt(_0xbd54e(0x186))/0x6)+parseInt(_0xbd54e(0x187))/0x7+-parseInt(_0xbd54e(0x17f))/0x8*(-parseInt(_0xbd54e(0x185))/0x9)+-parseInt(_0xbd54e(0x188))/0xa*(parseInt(_0xbd54e(0x181))/0xb);if(_0x524d16===_0x27a893)break;else _0xba8d37['push'](_0xba8d37['shift']());}catch(_0x2f8fc9){_0xba8d37['push'](_0xba8d37['shift']());}}}(_0x2d8e,0xde52d));class SphereComponent extends MeshComponent{constructor(_0xffbded,_0x4117f1,_0x17a082=new webgpu.MeshBasicMaterial(),_0x5b2c04=0x20,_0x50d061=0x10,_0x4caa44){super(_0xffbded,new webgpu.SphereGeometry(_0x4117f1,_0x5b2c04,_0x50d061),_0x17a082,_0x4caa44);}}function _0x2d8e(){var _0x19ada7=['22185372NBEHSR','5592305FxfQym','722860rlPLwn','3028778utrWkh','9oeAoHU','6YfRIGv','11789134xMLHDN','10RcMXLl','3rZZpum','3738696CERhcf','991203Vqenbn'];_0x2d8e=function(){return _0x19ada7;};return _0x2d8e();}
|
|
119
119
|
|
|
120
|
-
var
|
|
120
|
+
var _0x17f32a=_0x4315;(function(_0x3fc20b,_0x1c5b13){var _0x51e03f=_0x4315,_0x45990e=_0x3fc20b();while(!![]){try{var _0x5f0d9a=parseInt(_0x51e03f(0x14b))/0x1*(-parseInt(_0x51e03f(0x14f))/0x2)+parseInt(_0x51e03f(0x13d))/0x3+-parseInt(_0x51e03f(0x13c))/0x4+-parseInt(_0x51e03f(0x140))/0x5*(parseInt(_0x51e03f(0x14e))/0x6)+parseInt(_0x51e03f(0x14d))/0x7*(-parseInt(_0x51e03f(0x148))/0x8)+parseInt(_0x51e03f(0x147))/0x9+parseInt(_0x51e03f(0x141))/0xa*(parseInt(_0x51e03f(0x13f))/0xb);if(_0x5f0d9a===_0x1c5b13)break;else _0x45990e['push'](_0x45990e['shift']());}catch(_0xaf7286){_0x45990e['push'](_0x45990e['shift']());}}}(_0x5ae5,0x48e2f));function _0x5ae5(){var _0x35f51d=['8666Omkuab','695628JjLZWU','376374UhMRHq','center','destroy','694092cRAwhT','1368009UwZRXA','copy','42823zlOszj','5avTOcc','2120SEleDd','element','userData','isClickEnabled','obj','remove','77778dEHfwQ','3320JPtkhU','parentNode','threeObject','1KoUwSD','setVisible'];_0x5ae5=function(){return _0x35f51d;};return _0x5ae5();}function _0x4315(_0x1eeb66,_0x2c1104){_0x1eeb66=_0x1eeb66-0x13b;var _0x5ae57d=_0x5ae5();var _0x4315f9=_0x5ae57d[_0x1eeb66];return _0x4315f9;}class LabelComponent extends SceneComponent{get['threeObject'](){var _0x335565=_0x4315;return this[_0x335565(0x145)];}set['threeObject'](_0xed926a){var _0x4b2d0d=_0x4315;this[_0x4b2d0d(0x145)]=_0xed926a,this[_0x4b2d0d(0x145)]&&(this[_0x4b2d0d(0x145)][_0x4b2d0d(0x143)]['LYObject']=this);}constructor(_0x2f93b6,_0x31c879,_0x5df3b9=new webgpu.Vector2(0.5,0x1),_0x3097c0){var _0x1fb177=_0x4315;super(_0x2f93b6,_0x3097c0),this[_0x1fb177(0x145)]=new CSS2DRenderer_js.CSS2DObject(_0x31c879),this[_0x1fb177(0x145)][_0x1fb177(0x150)][_0x1fb177(0x13e)](_0x5df3b9);}set['isHoverEnabled'](_0x46a38d){return;}set[_0x17f32a(0x144)](_0x431fa8){return;}['setVisible'](_0x5eb067){var _0x326b02=_0x17f32a;super[_0x326b02(0x14c)](_0x5eb067);}['destroy'](){var _0x2d8a45=_0x17f32a;this[_0x2d8a45(0x14a)]['element']&&this[_0x2d8a45(0x14a)][_0x2d8a45(0x142)][_0x2d8a45(0x149)]&&(this[_0x2d8a45(0x14a)][_0x2d8a45(0x142)]['innerHTML']='',this[_0x2d8a45(0x14a)][_0x2d8a45(0x142)][_0x2d8a45(0x146)]()),super[_0x2d8a45(0x13b)]();}}
|
|
121
121
|
|
|
122
|
-
function
|
|
122
|
+
function _0x2f92(){const _0x3c6902=['1133664cLlwkV','1871030cLRvIZ','193914DhZvIW','30uyxHYT','63qqNzmr','3368024GJqlSw','32295uVJeJa','491916gQEFUK','997514cZKyOr','ScreenSpaceReflection','9WOPRTL'];_0x2f92=function(){return _0x3c6902;};return _0x2f92();}function _0x5caf(_0x27e5c9,_0xae3f2b){_0x27e5c9=_0x27e5c9-0x8a;const _0x2f92d4=_0x2f92();let _0x5caf36=_0x2f92d4[_0x27e5c9];return _0x5caf36;}const _0x629b61=_0x5caf;(function(_0x109cf3,_0x32d64d){const _0x2422b9=_0x5caf,_0x2f1246=_0x109cf3();while(!![]){try{const _0x1ff416=-parseInt(_0x2422b9(0x8c))/0x1+-parseInt(_0x2422b9(0x8a))/0x2+parseInt(_0x2422b9(0x94))/0x3*(-parseInt(_0x2422b9(0x91))/0x4)+parseInt(_0x2422b9(0x90))/0x5*(-parseInt(_0x2422b9(0x8d))/0x6)+-parseInt(_0x2422b9(0x92))/0x7+parseInt(_0x2422b9(0x8f))/0x8+parseInt(_0x2422b9(0x8e))/0x9*(parseInt(_0x2422b9(0x8b))/0xa);if(_0x1ff416===_0x32d64d)break;else _0x2f1246['push'](_0x2f1246['shift']());}catch(_0x147a54){_0x2f1246['push'](_0x2f1246['shift']());}}}(_0x2f92,0x68104));const DefaultSSRParam={'type':exports.PostProcessStepType[_0x629b61(0x93)],'maxDistance':0.5,'opacity':0x1,'thickness':0.015};
|
|
123
123
|
|
|
124
|
-
const
|
|
124
|
+
const _0x401ce6=_0x42f2;(function(_0x543f75,_0xbcc400){const _0x32cfe3=_0x42f2,_0xcc58bf=_0x543f75();while(!![]){try{const _0x1b51f3=parseInt(_0x32cfe3(0x143))/0x1*(parseInt(_0x32cfe3(0x149))/0x2)+-parseInt(_0x32cfe3(0x144))/0x3+parseInt(_0x32cfe3(0x145))/0x4+-parseInt(_0x32cfe3(0x14a))/0x5+parseInt(_0x32cfe3(0x14b))/0x6+-parseInt(_0x32cfe3(0x148))/0x7*(-parseInt(_0x32cfe3(0x146))/0x8)+-parseInt(_0x32cfe3(0x147))/0x9;if(_0x1b51f3===_0xbcc400)break;else _0xcc58bf['push'](_0xcc58bf['shift']());}catch(_0x4ce6bf){_0xcc58bf['push'](_0xcc58bf['shift']());}}}(_0x306e,0x3f4f1));function _0x306e(){const _0x68fac1=['2025690ziymfr','740016ZdEtqL','Antialiasing','fxaa','138MOjoSP','281187MPBZkb','2072164snEtno','8hhWnUi','4540842mWsQWm','817691yPGUlP','7312kvaznt'];_0x306e=function(){return _0x68fac1;};return _0x306e();}function _0x42f2(_0x4aef56,_0x56d80f){_0x4aef56=_0x4aef56-0x143;const _0x306ec2=_0x306e();let _0x42f2a4=_0x306ec2[_0x4aef56];return _0x42f2a4;}const DefaultAAParams={'type':exports.PostProcessStepType[_0x401ce6(0x14c)],'method':_0x401ce6(0x14d)};
|
|
125
125
|
|
|
126
|
-
const
|
|
126
|
+
function _0x401d(_0x551e32,_0x1873d0){_0x551e32=_0x551e32-0x192;const _0x29675a=_0x2967();let _0x401d20=_0x29675a[_0x551e32];return _0x401d20;}const _0x9e12f8=_0x401d;(function(_0x1e5344,_0x3acd13){const _0x20c309=_0x401d,_0x2ea580=_0x1e5344();while(!![]){try{const _0x3be0e5=parseInt(_0x20c309(0x193))/0x1+-parseInt(_0x20c309(0x19e))/0x2*(parseInt(_0x20c309(0x1a0))/0x3)+parseInt(_0x20c309(0x196))/0x4*(-parseInt(_0x20c309(0x197))/0x5)+parseInt(_0x20c309(0x19c))/0x6+parseInt(_0x20c309(0x19a))/0x7+-parseInt(_0x20c309(0x198))/0x8+parseInt(_0x20c309(0x1a4))/0x9*(parseInt(_0x20c309(0x19f))/0xa);if(_0x3be0e5===_0x3acd13)break;else _0x2ea580['push'](_0x2ea580['shift']());}catch(_0x29498b){_0x2ea580['push'](_0x2ea580['shift']());}}}(_0x2967,0xdc99a));class FirstPerson extends Pawn{constructor(_0x3581e1){const _0x5dd8da=_0x401d;super(_0x3581e1),this[_0x5dd8da(0x19b)]=new PointerLockControls_js.PointerLockControls(_0x3581e1[_0x5dd8da(0x1a1)],_0x3581e1[_0x5dd8da(0x1a3)][_0x5dd8da(0x1a2)]);}[_0x9e12f8(0x199)](){const _0x530ee1=_0x9e12f8;var _0x4f139d;if(!this[_0x530ee1(0x19b)]||!((_0x4f139d=this[_0x530ee1(0x19d)])===null||_0x4f139d===void 0?void 0:_0x4f139d[_0x530ee1(0x1a1)]))return null;const _0x46b40c=this[_0x530ee1(0x19d)][_0x530ee1(0x1a1)][_0x530ee1(0x195)][_0x530ee1(0x192)](),_0x5cc41a=this[_0x530ee1(0x19d)][_0x530ee1(0x1a1)][_0x530ee1(0x194)]['clone'](),_0x14b3ce=0x0;return {'position':_0x46b40c,'quaternion':_0x5cc41a,'distance':_0x14b3ce};}}function _0x2967(){const _0x1b431e=['quaternion','position','8yekMpf','2302315qICvxB','3876000VZulWW','getFocuingData','9085244sNLQOn','_control','4967400AcinuP','controller','932eOFGvS','50YfSKII','18tRVJZl','camera','canvas','viewPort','308331mCYuHI','clone','14713gdawUF'];_0x2967=function(){return _0x1b431e;};return _0x2967();}
|
|
127
127
|
|
|
128
|
-
const
|
|
128
|
+
function _0x32ec(_0x4e28c7,_0x34f291){_0x4e28c7=_0x4e28c7-0x19b;const _0x580b0e=_0x580b();let _0x32ec7d=_0x580b0e[_0x4e28c7];return _0x32ec7d;}const _0x483f8d=_0x32ec;(function(_0x1a4529,_0x28175f){const _0x322c31=_0x32ec,_0x4682e1=_0x1a4529();while(!![]){try{const _0x21a28b=-parseInt(_0x322c31(0x1c3))/0x1+parseInt(_0x322c31(0x1d6))/0x2*(-parseInt(_0x322c31(0x1cc))/0x3)+parseInt(_0x322c31(0x1bb))/0x4*(parseInt(_0x322c31(0x1a0))/0x5)+-parseInt(_0x322c31(0x19d))/0x6+-parseInt(_0x322c31(0x1c7))/0x7*(parseInt(_0x322c31(0x1dc))/0x8)+parseInt(_0x322c31(0x1b7))/0x9*(parseInt(_0x322c31(0x1b5))/0xa)+parseInt(_0x322c31(0x1b4))/0xb*(parseInt(_0x322c31(0x1eb))/0xc);if(_0x21a28b===_0x28175f)break;else _0x4682e1['push'](_0x4682e1['shift']());}catch(_0x25150d){_0x4682e1['push'](_0x4682e1['shift']());}}}(_0x580b,0x359c6));function _0x580b(){const _0x286562=['enabled','showY','forEach','possess','value','addEventListener','onDraggingFunction','getScaleSnap','isTickEnabled','includes','destroy','onTransforming','showZ','1572VgGQUg','onChange','rotationSnap','change','getRotationnSnap','attach','primaryTarget','604194laKjTz','scaleSnap','add','878785yelcYe','getTargetScene','onObjectChangeEvent','quaternion','scene','refresh','removeEventListener','getMatrixInWorld','helperObject','dragging-changed','scale','userData','setSpace','getHelper','targets','canvas','unpossess','rayIgnored','enable','matrixWorld','62425AiOmKw','70sKvthl','updateMatrixWorld','74583blXgJi','setSize','TransformHelperObject','get','8HLFmFy','targetMatrixMap','setRotationSnap','control','viewPort','onUpdateFunction','_control','name','398231ZOnRIl','set','dispose','onChangeEvent','7OXcgOY','translationSnap','setMode','clone','controller','1263pUYiBZ','invert','onObjectChanged','gizmoScene','getMode','camera','detach','objectChange','decompose','world','1882aMrfQm','position','multiply','setTranslationSnap','multiplyMatrices','showX','306136ARUhMB','remove'];_0x580b=function(){return _0x286562;};return _0x580b();}class TransformGizmo extends Pawn{get[_0x483f8d(0x1be)](){const _0x38ff90=_0x483f8d;if(!this[_0x38ff90(0x1c1)])throw new Error('Control\x20not\x20initialized');return this[_0x38ff90(0x1c1)];}constructor(_0x4b0458,_0x144039){const _0xb42836=_0x483f8d;var _0x5df6a6;super(_0x4b0458),this[_0xb42836(0x1c1)]=null,this['helperObject']=new webgpu.Object3D(),this['targets']=[],this[_0xb42836(0x19c)]=null,this[_0xb42836(0x1bc)]=new Map(),this[_0xb42836(0x1cf)]=null,this['onDraggingChangedEvent']=_0x32a412=>{this['onDraggingChanged'](_0x32a412);},this[_0xb42836(0x1a2)]=()=>{const _0x3edd81=_0xb42836;this[_0x3edd81(0x1ce)]();},this['onChangeEvent']=()=>{this['onChange']();},this[_0xb42836(0x1c0)]=null,this[_0xb42836(0x1e4)]=null;let _0x2d795c=_0x4b0458[_0xb42836(0x1bf)][_0xb42836(0x1af)];if(!_0x2d795c)throw new Error('TransformGizmo:Canvas\x20not\x20found');this['_control']=new TransformControls_js.TransformControls(_0x4b0458[_0xb42836(0x1d1)],_0x2d795c),this['control']['getHelper']()['traverse'](_0x106b18=>{const _0x246250=_0xb42836;_0x106b18[_0x246250(0x1ab)][_0x246250(0x1b1)]=!![];}),this[_0xb42836(0x1a8)][_0xb42836(0x1c2)]=_0xb42836(0x1b9),this[_0xb42836(0x1cf)]=(_0x5df6a6=_0x144039===null||_0x144039===void 0?void 0:_0x144039['helperScene'])!==null&&_0x5df6a6!==void 0?_0x5df6a6:null;}[_0x483f8d(0x1a1)](){const _0xafbae6=_0x483f8d;var _0x1b7ddb;return (_0x1b7ddb=this[_0xafbae6(0x1cf)])!==null&&_0x1b7ddb!==void 0?_0x1b7ddb:this[_0xafbae6(0x1cb)][_0xafbae6(0x1d5)][_0xafbae6(0x1a4)];}[_0x483f8d(0x1e1)](){const _0x33d1f0=_0x483f8d,_0x4ba572=this[_0x33d1f0(0x1a1)]();_0x4ba572['add'](this[_0x33d1f0(0x1a8)]),_0x4ba572['add'](this[_0x33d1f0(0x1be)][_0x33d1f0(0x1ad)]()),this['control'][_0x33d1f0(0x19b)](this[_0x33d1f0(0x1a8)]),this['control'][_0x33d1f0(0x1e3)](_0x33d1f0(0x1ee),this[_0x33d1f0(0x1c6)]),this[_0x33d1f0(0x1be)][_0x33d1f0(0x1e3)](_0x33d1f0(0x1a9),this['onDraggingChangedEvent']),this[_0x33d1f0(0x1be)][_0x33d1f0(0x1e3)]('objectChange',this[_0x33d1f0(0x1a2)]);}[_0x483f8d(0x1b0)](){const _0x255633=_0x483f8d;this['control'][_0x255633(0x1a6)](_0x255633(0x1ee),this[_0x255633(0x1c6)]),this['control'][_0x255633(0x1a6)](_0x255633(0x1a9),this['onDraggingChangedEvent']),this[_0x255633(0x1be)][_0x255633(0x1a6)](_0x255633(0x1d3),this['onObjectChangeEvent']),this[_0x255633(0x1be)][_0x255633(0x1d2)]();const _0x3f3621=this[_0x255633(0x1a1)]();_0x3f3621['remove'](this[_0x255633(0x1a8)]),_0x3f3621[_0x255633(0x1dd)](this[_0x255633(0x1be)][_0x255633(0x1ad)]());}[_0x483f8d(0x1a5)](){const _0x532dfe=_0x483f8d;if(!this['primaryTarget'])return;this[_0x532dfe(0x1be)]['detach']();const _0x307e9a=this[_0x532dfe(0x1a1)]();_0x307e9a[_0x532dfe(0x1dd)](this[_0x532dfe(0x1a8)]),this['targetMatrixMap']['clear']();let _0x19e1ae=this[_0x532dfe(0x19c)][_0x532dfe(0x1a7)]();_0x19e1ae[_0x532dfe(0x1d4)](this[_0x532dfe(0x1a8)][_0x532dfe(0x1d7)],this[_0x532dfe(0x1a8)]['quaternion'],this[_0x532dfe(0x1a8)]['scale']),_0x307e9a[_0x532dfe(0x19f)](this['control'][_0x532dfe(0x1ad)]()),_0x307e9a['add'](this[_0x532dfe(0x1a8)]),this[_0x532dfe(0x1be)][_0x532dfe(0x19b)](this['helperObject']),this[_0x532dfe(0x1ae)][_0x532dfe(0x1e0)](_0x25c437=>{const _0x1b1bd8=_0x532dfe,_0x4219c7=_0x25c437['getMatrixInWorld'](),_0x4e3b7c=_0x19e1ae[_0x1b1bd8(0x1ca)]()['invert']()[_0x1b1bd8(0x1d8)](_0x4219c7);this[_0x1b1bd8(0x1bc)][_0x1b1bd8(0x1c4)](_0x25c437,_0x4e3b7c);});}[_0x483f8d(0x1ec)](){this['controller']['viewPort']['markRenderStateDirty']();}['onDraggingChanged'](_0x21477a){const _0x4341d1=_0x483f8d;if(this['primaryTarget']){let _0xd0aaf6=this[_0x4341d1(0x19c)][_0x4341d1(0x1a7)]();_0xd0aaf6[_0x4341d1(0x1d4)](this[_0x4341d1(0x1a8)][_0x4341d1(0x1d7)],this[_0x4341d1(0x1a8)][_0x4341d1(0x1a3)],this[_0x4341d1(0x1a8)][_0x4341d1(0x1aa)]);}this['onDraggingFunction']&&this[_0x4341d1(0x1e4)](_0x21477a[_0x4341d1(0x1e2)]);}[_0x483f8d(0x1ce)](){const _0x146378=_0x483f8d;if(this[_0x146378(0x19c)]){this[_0x146378(0x1a8)][_0x146378(0x1b6)](!![]);const _0x24ff44=this[_0x146378(0x1a8)][_0x146378(0x1b3)]['clone']();this['primaryTarget'][_0x146378(0x1e9)](_0x24ff44),this[_0x146378(0x1ae)][_0x146378(0x1e0)](_0x134c9c=>{const _0x877500=_0x146378,_0x1618ca=this['targetMatrixMap'][_0x877500(0x1ba)](_0x134c9c);if(_0x1618ca){const _0x5142ba=new webgpu.Matrix4()[_0x877500(0x1da)](_0x24ff44,_0x1618ca);_0x134c9c[_0x877500(0x1e9)](_0x5142ba);}});}this[_0x146378(0x1c0)]&&this[_0x146378(0x1c0)]();}set[_0x483f8d(0x1b2)](_0x241e16){const _0x1ff517=_0x483f8d;this[_0x1ff517(0x1be)][_0x1ff517(0x1de)]=_0x241e16;}['setTarget'](_0x2df9ff,_0xb66c59,_0xe9a80d=null,_0x3a81ca=null){const _0x54e8d0=_0x483f8d;this['targetMatrixMap']['clear']();let _0xdad007=_0x2df9ff[_0x54e8d0(0x1a7)]();_0xdad007[_0x54e8d0(0x1d4)](this[_0x54e8d0(0x1a8)][_0x54e8d0(0x1d7)],this[_0x54e8d0(0x1a8)][_0x54e8d0(0x1a3)],this['helperObject'][_0x54e8d0(0x1aa)]);const _0x394e68=this[_0x54e8d0(0x1a1)]();_0x394e68[_0x54e8d0(0x19f)](this[_0x54e8d0(0x1be)][_0x54e8d0(0x1ad)]()),this[_0x54e8d0(0x19c)]=_0x2df9ff,this['targets']=_0xb66c59,this[_0x54e8d0(0x1ae)][_0x54e8d0(0x1e0)](_0x25877d=>{const _0x19e9fa=_0x54e8d0,_0x5905b4=_0x25877d[_0x19e9fa(0x1a7)](),_0x180ad9=_0xdad007[_0x19e9fa(0x1ca)]()[_0x19e9fa(0x1cd)]()[_0x19e9fa(0x1d8)](_0x5905b4);this[_0x19e9fa(0x1bc)]['set'](_0x25877d,_0x180ad9);}),_0xe9a80d&&(this[_0x54e8d0(0x1c0)]=_0xe9a80d),_0x3a81ca&&(this[_0x54e8d0(0x1e4)]=_0x3a81ca),this[_0x54e8d0(0x1e6)]=!![];}[_0x483f8d(0x1d0)](){return this['control']['getMode']();}[_0x483f8d(0x1c9)](_0x416a06){const _0x422cb3=_0x483f8d;this[_0x422cb3(0x1be)]['setMode'](_0x416a06);}[_0x483f8d(0x1ac)](_0x228bc8){const _0x3ee704=_0x483f8d;this['control'][_0x3ee704(0x1ac)](_0x228bc8);}['setAxis'](_0x233339){const _0x4ca970=_0x483f8d;this[_0x4ca970(0x1be)][_0x4ca970(0x1db)]=_0x233339?_0x233339===null||_0x233339===void 0?void 0:_0x233339[_0x4ca970(0x1e7)]('X'):![],this[_0x4ca970(0x1be)][_0x4ca970(0x1df)]=_0x233339?_0x233339===null||_0x233339===void 0?void 0:_0x233339[_0x4ca970(0x1e7)]('Y'):![],this[_0x4ca970(0x1be)][_0x4ca970(0x1ea)]=_0x233339?_0x233339===null||_0x233339===void 0?void 0:_0x233339[_0x4ca970(0x1e7)]('Z'):![];}[_0x483f8d(0x1b8)](_0x536036){const _0x56884e=_0x483f8d;this[_0x56884e(0x1be)][_0x56884e(0x1b8)](_0x536036);}['getTranslationSnap'](){const _0x21303f=_0x483f8d;return this[_0x21303f(0x1be)][_0x21303f(0x1c8)];}[_0x483f8d(0x1d9)](_0xf68d02){const _0x5f28d=_0x483f8d;this[_0x5f28d(0x1be)][_0x5f28d(0x1d9)](_0xf68d02);}[_0x483f8d(0x1ef)](){const _0xc2e4db=_0x483f8d;return this[_0xc2e4db(0x1be)][_0xc2e4db(0x1ed)];}['setRotationSnap'](_0x1ae73d){const _0xa8e18c=_0x483f8d;this[_0xa8e18c(0x1be)][_0xa8e18c(0x1bd)](_0x1ae73d);}[_0x483f8d(0x1e5)](){const _0x154428=_0x483f8d;return this['control'][_0x154428(0x19e)];}['setScaleSnap'](_0x52fba0){const _0x51f77b=_0x483f8d;this[_0x51f77b(0x1be)]['setScaleSnap'](_0x52fba0);}[_0x483f8d(0x1e8)](){const _0x37514c=_0x483f8d;var _0x22ad1e;this['isTickEnabled']=![],this[_0x37514c(0x1b0)](),this[_0x37514c(0x1bc)]['clear'](),this[_0x37514c(0x1ae)]=[],this[_0x37514c(0x19c)]=null,this[_0x37514c(0x1c0)]=null,this['onDraggingFunction']=null,(_0x22ad1e=this[_0x37514c(0x1c1)])===null||_0x22ad1e===void 0?void 0:_0x22ad1e[_0x37514c(0x1c5)](),this[_0x37514c(0x1c1)]=null,super[_0x37514c(0x1e8)]();}}
|
|
129
129
|
|
|
130
|
-
|
|
130
|
+
(function(_0x1027a4,_0x202b97){var _0x3ec077=_0x486e,_0x40687f=_0x1027a4();while(!![]){try{var _0x4c49df=-parseInt(_0x3ec077(0x1bc))/0x1+-parseInt(_0x3ec077(0x1b9))/0x2*(parseInt(_0x3ec077(0x1b7))/0x3)+-parseInt(_0x3ec077(0x1ba))/0x4*(parseInt(_0x3ec077(0x1b4))/0x5)+-parseInt(_0x3ec077(0x1bb))/0x6+-parseInt(_0x3ec077(0x1b5))/0x7+parseInt(_0x3ec077(0x1b3))/0x8+parseInt(_0x3ec077(0x1b6))/0x9*(parseInt(_0x3ec077(0x1b8))/0xa);if(_0x4c49df===_0x202b97)break;else _0x40687f['push'](_0x40687f['shift']());}catch(_0x3ec53f){_0x40687f['push'](_0x40687f['shift']());}}}(_0x47ac,0xe3752));function _0x47ac(){var _0x1d8b9c=['285544STthwx','11652312PQcxCb','35bQcRgt','9234344daZeLY','30630321FZMUyh','3qtHubr','10ttKeFR','1391716dVlJTP','780128eIAwpB','1574544tgackr'];_0x47ac=function(){return _0x1d8b9c;};return _0x47ac();}function _0x486e(_0x44f33e,_0x45bfac){_0x44f33e=_0x44f33e-0x1b3;var _0x47acd0=_0x47ac();var _0x486e60=_0x47acd0[_0x44f33e];return _0x486e60;}
|
|
131
131
|
|
|
132
132
|
exports.ASSET_POINTER_KEY = ASSET_POINTER_KEY;
|
|
133
133
|
exports.Actor = Actor;
|