lythreeframe 1.3.5 → 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
|
-
const
|
|
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
|
-
const
|
|
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
|
-
const _0x2164b4=_0x3dc7;function _0x53c9(){const _0x190fdb=['_onHoverBeginDelegate','getWorldDirection','add','isEuler','setPosition','setQuaternion\x20failed,param\x20is\x20invalid','_onDoubleClickDelegate','onClicked','isVector3','length','getBoundsBottomCenterPositionWS','decompose','copy','threeObject','onAddedToWorld','parentComponent','children','LYObject','rotation','set','destroyChildren','userData','isVisible','multiplyMatrices','min','getWorldRotation','forEach','isClickEnabled','setFromQuaternion','matrixAutoUpdate','updateMatrix','926388yuPHyo','applyQuaternion','getBoundsTopCenterPositionWS','setWorldMatrix','world','getBoundsCenterPositionWS','getWorldUpDirection','number','_onHoverEndDelegate','invert','getComponentById','scale','getPosition','21954bYQQxC','getMatrix','455EBpESN','839768fjBcMq','getWorldQuaternion','name','KeepRelative','getBounds','worldToLocal','detachFromParentComponent','target\x20threeObject\x20is\x20invalid','_onClickDelegate','642552zWlNjN','setRotation','getWorldPosition','onHoverBeginDelegate','updateMatrixWorld','detachComponent','tick','detachFromParentActor','onDoubleClicked','getQuaternion','matrixWorld','layers','clone','quaternion','error','newComponent\x20threeObject\x20is\x20invalid','getRotation','getScale','destroyObject','onHorveringEnd','onDoubleClickDelegate','63132dKvasV','markRenderStateDirty','compose','4962915sUtvNO','getWorldScale','getWorldForwardDirection','bCanHover','633536qiYLkU','childrenComponents','SceneComponent','destroy','threeObject\x20is\x20invalid','_parentActor','matrix','276uzZpIF','removeChildComponent','getWorldMatrix','addChildComponent','isHoverEnabled','remove','30uqLXpI','push','max','isQuaternion','visible','setMatrix','setLayers','broadcast','viewport','app','setQuaternion','getWorldRightDirection','onHorveringBegin','isEmpty','parentActor','order','setFromObject','KeepWorld','parent','obj','bCanClick'];_0x53c9=function(){return _0x190fdb;};return _0x53c9();}(function(_0x36290a,_0x716a95){const _0x6742b8=_0x3dc7,_0x4a799e=_0x36290a();while(!![]){try{const _0x5206ff=parseInt(_0x6742b8(0x100))/0x1+-parseInt(_0x6742b8(0xfd))/0x2*(-parseInt(_0x6742b8(0x12c))/0x3)+parseInt(_0x6742b8(0x125))/0x4+-parseInt(_0x6742b8(0x121))/0x5+-parseInt(_0x6742b8(0x11e))/0x6*(parseInt(_0x6742b8(0xff))/0x7)+-parseInt(_0x6742b8(0x109))/0x8+parseInt(_0x6742b8(0xf0))/0x9*(parseInt(_0x6742b8(0x132))/0xa);if(_0x5206ff===_0x716a95)break;else _0x4a799e['push'](_0x4a799e['shift']());}catch(_0x12189c){_0x4a799e['push'](_0x4a799e['shift']());}}}(_0x53c9,0x88b80));function _0x3dc7(_0x485fe1,_0x47aa2a){_0x485fe1=_0x485fe1-0xc6;const _0x53c9f4=_0x53c9();let _0x3dc759=_0x53c9f4[_0x485fe1];return _0x3dc759;}class SceneComponent extends Component{set[_0x2164b4(0xca)](_0x5db9b1){const _0x3bc573=_0x2164b4;this[_0x3bc573(0x126)][_0x3bc573(0xeb)](_0x22e6cc=>{const _0x481848=_0x3bc573;_0x22e6cc[_0x481848(0xca)]=_0x5db9b1;}),this[_0x3bc573(0x12a)]=_0x5db9b1;}get[_0x2164b4(0xca)](){const _0x2606fd=_0x2164b4;return this[_0x2606fd(0x12a)];}get[_0x2164b4(0x10c)](){const _0x3bbe55=_0x2164b4;return this[_0x3bbe55(0xd1)];}get['onHoverEndDelegate'](){return this['_onHoverEndDelegate'];}get['onClickDelegate'](){const _0x1cdb95=_0x2164b4;return this[_0x1cdb95(0x108)];}get[_0x2164b4(0x11d)](){const _0x58aa25=_0x2164b4;return this[_0x58aa25(0xd7)];}get['world'](){const _0x54674e=_0x2164b4;return this[_0x54674e(0x13b)][_0x54674e(0xf4)];}constructor(_0x5b08f2,_0x10691d){const _0x40749c=_0x2164b4;super(_0x10691d),this[_0x40749c(0x124)]=![],this[_0x40749c(0xd0)]=![],this['_onHoverBeginDelegate']=new Delegate(),this[_0x40749c(0xf8)]=new Delegate(),this['_onClickDelegate']=new Delegate(),this[_0x40749c(0xd7)]=new Delegate(),this['app']=_0x5b08f2,this[_0x40749c(0x102)]=_0x40749c(0x127);}['createDefaultObject'](){return new webgpu.Object3D();}[_0x2164b4(0x10f)](_0x18f636){const _0x2000c3=_0x2164b4;super['tick'](_0x18f636),this[_0x2000c3(0x126)]['forEach'](_0x522eb5=>{const _0x4f81cf=_0x2000c3;_0x522eb5[_0x4f81cf(0x10f)](_0x18f636);});}get[_0x2164b4(0xe7)](){const _0xac7f34=_0x2164b4;if(!this['obj'])return ![];return this['obj'][_0xac7f34(0x136)];}['setVisible'](_0x42f02f){const _0x38798d=_0x2164b4;if(!this[_0x38798d(0xcf)])throw Error(_0x38798d(0x129));this[_0x38798d(0xcf)][_0x38798d(0x136)]=_0x42f02f,this[_0x38798d(0xf4)]&&this[_0x38798d(0xf4)][_0x38798d(0x13a)]['markRenderStateDirty']();}['setLayers'](_0x4f82ac){const _0x543662=_0x2164b4;if(!this[_0x543662(0xcf)])throw Error(_0x543662(0x129));this[_0x543662(0xcf)][_0x543662(0x114)][_0x543662(0xe4)](_0x4f82ac);let _0x284ece=this[_0x543662(0x126)];_0x284ece[_0x543662(0xeb)](_0x1a8cec=>{const _0x50dedc=_0x543662;_0x1a8cec[_0x50dedc(0x138)](_0x4f82ac);});}['getComponentById'](_0x3183b8,_0x3d3ce4=!![]){const _0x587d99=_0x2164b4;if(this['uuid']===_0x3183b8)return this;if(_0x3d3ce4){let _0x32c7c1=this[_0x587d99(0x126)];for(let _0x3eb279=0x0;_0x3eb279<_0x32c7c1[_0x587d99(0xda)];++_0x3eb279){let _0x316932=_0x32c7c1[_0x3eb279][_0x587d99(0xfa)](_0x3183b8,_0x3d3ce4);if(_0x316932)return _0x316932;}}else {let _0x4e0f98=this['childrenComponents'];for(let _0x47e089=0x0;_0x47e089<_0x4e0f98['length'];++_0x47e089){let _0x1b2d0b=_0x4e0f98[_0x47e089];if(_0x1b2d0b['uuid']===_0x3183b8)return _0x1b2d0b;}}return null;}[_0x2164b4(0xf5)](){const _0x52a732=_0x2164b4;let _0x574201=new webgpu.Vector3();return this[_0x52a732(0x104)]()['getCenter'](_0x574201),this[_0x52a732(0x10b)]();}[_0x2164b4(0xf2)](){const _0x253181=_0x2164b4;let _0x4896d1=new webgpu.Vector3(),_0x35bfea=this[_0x253181(0x104)]();return _0x35bfea['getCenter'](_0x4896d1),_0x4896d1['y']=_0x35bfea[_0x253181(0x134)]['y'],_0x4896d1;}[_0x2164b4(0xdb)](){const _0x414708=_0x2164b4;let _0x1da871=new webgpu.Vector3(),_0x29c85=this['getBounds']();return _0x29c85['getCenter'](_0x1da871),_0x1da871['y']=_0x29c85[_0x414708(0xe9)]['y'],_0x1da871;}[_0x2164b4(0x104)](){const _0x3ffaec=_0x2164b4;if(!this[_0x3ffaec(0xcf)])throw Error(_0x3ffaec(0x129));let _0x34c2e5=new webgpu.Box3();return _0x34c2e5[_0x3ffaec(0xcc)](this[_0x3ffaec(0xcf)],![]),_0x34c2e5[_0x3ffaec(0xc9)]()&&(_0x34c2e5[_0x3ffaec(0xe9)]=_0x34c2e5['max']=this[_0x3ffaec(0x10b)]()),_0x34c2e5;}get[_0x2164b4(0xe0)](){const _0x176cf8=_0x2164b4;var _0x66555e,_0x2ac6ce;if(!this['obj'])throw Error(_0x176cf8(0x129));let _0x220c3a=(_0x2ac6ce=(_0x66555e=this[_0x176cf8(0xcf)])===null||_0x66555e===void 0?void 0:_0x66555e[_0x176cf8(0xce)])===null||_0x2ac6ce===void 0?void 0:_0x2ac6ce['userData']['LYObject'];if(!_0x220c3a)return null;if(!(_0x220c3a instanceof SceneComponent))return null;if(_0x220c3a[_0x176cf8(0xca)]!==this[_0x176cf8(0xca)])return null;return _0x220c3a;}get[_0x2164b4(0x126)](){const _0x23d3c1=_0x2164b4;if(!this[_0x23d3c1(0xcf)])throw Error(_0x23d3c1(0x129));let _0x1fac43=[];for(let _0x473846=0x0;_0x473846<this[_0x23d3c1(0xcf)][_0x23d3c1(0xe1)][_0x23d3c1(0xda)];++_0x473846){if(!this['obj'][_0x23d3c1(0xe1)][_0x473846][_0x23d3c1(0xe6)]['LYObject'])continue;this[_0x23d3c1(0xcf)][_0x23d3c1(0xe1)][_0x473846][_0x23d3c1(0xe6)][_0x23d3c1(0xe2)][_0x23d3c1(0xca)]===this['parentActor']&&_0x1fac43[_0x23d3c1(0x133)](this[_0x23d3c1(0xcf)][_0x23d3c1(0xe1)][_0x473846][_0x23d3c1(0xe6)]['LYObject']);}return _0x1fac43;}[_0x2164b4(0xdf)](_0x273b46){const _0x46efb1=_0x2164b4;let _0x33153c=this[_0x46efb1(0x126)];for(let _0x4a501a=0x0;_0x4a501a<_0x33153c['length'];++_0x4a501a){_0x33153c[_0x4a501a][_0x46efb1(0xdf)](_0x273b46);}}[_0x2164b4(0x128)](){const _0x3c97b2=_0x2164b4;this[_0x3c97b2(0x130)]=![],this[_0x3c97b2(0xec)]=![],this[_0x3c97b2(0x110)](),this[_0x3c97b2(0x106)](),this['destroyChildren'](),this['destroyObject'](),this[_0x3c97b2(0xf4)]&&this['world']['viewport'][_0x3c97b2(0x11f)]();}['destroyObject'](){const _0x4cd686=_0x2164b4;if(!this[_0x4cd686(0xcf)])return;this[_0x4cd686(0xcf)][_0x4cd686(0xce)]&&this['obj'][_0x4cd686(0xce)][_0x4cd686(0x131)](this['obj']),super[_0x4cd686(0x11b)]();}[_0x2164b4(0xfc)](){const _0x4a4fc2=_0x2164b4;if(!this[_0x4a4fc2(0xcf)])throw Error(_0x4a4fc2(0x129));if(this[_0x4a4fc2(0xcf)][_0x4a4fc2(0xee)])return this[_0x4a4fc2(0xcf)]['position'][_0x4a4fc2(0x115)]();else {const _0x3369f1=new webgpu.Vector3(),_0x19e5ae=new webgpu.Quaternion(),_0x18031a=new webgpu.Vector3();return this[_0x4a4fc2(0xcf)]['matrix'][_0x4a4fc2(0xdc)](_0x3369f1,_0x19e5ae,_0x18031a),_0x3369f1;}}[_0x2164b4(0xd5)](..._0x3ec14e){const _0x163f1a=_0x2164b4;var _0x1760c1;if(!this['obj'])throw Error(_0x163f1a(0x129));let _0x465de6=null;if(_0x3ec14e[_0x163f1a(0xda)]===0x1&&((_0x1760c1=_0x3ec14e[0x0])===null||_0x1760c1===void 0?void 0:_0x1760c1[_0x163f1a(0xd9)])){const _0x26e8d1=_0x3ec14e[0x0];_0x465de6=new webgpu.Vector3(_0x26e8d1['x'],_0x26e8d1['y'],_0x26e8d1['z']);}else _0x3ec14e[_0x163f1a(0xda)]===0x3&&typeof _0x3ec14e[0x0]==='number'&&typeof _0x3ec14e[0x1]===_0x163f1a(0xf7)&&typeof _0x3ec14e[0x2]===_0x163f1a(0xf7)&&(_0x465de6=new webgpu.Vector3(_0x3ec14e[0x0],_0x3ec14e[0x1],_0x3ec14e[0x2]));if(!_0x465de6)return;this[_0x163f1a(0xcf)]['position'][_0x163f1a(0xdd)](_0x465de6),!this[_0x163f1a(0xcf)][_0x163f1a(0xee)]&&this[_0x163f1a(0xcf)]['matrix'][_0x163f1a(0xd5)](_0x465de6['x'],_0x465de6['y'],_0x465de6['z']),this['obj'][_0x163f1a(0xef)](),this[_0x163f1a(0xcf)][_0x163f1a(0x10d)](!![]),this['world']&&this[_0x163f1a(0xf4)][_0x163f1a(0x13a)][_0x163f1a(0x11f)]();}[_0x2164b4(0x119)](){const _0x333d20=_0x2164b4;if(!this[_0x333d20(0xcf)])throw Error(_0x333d20(0x129));if(this['obj'][_0x333d20(0xee)])return this[_0x333d20(0xcf)][_0x333d20(0xe3)][_0x333d20(0x115)]();else {const _0x4fee56=new webgpu.Vector3(),_0x1d777b=new webgpu.Quaternion(),_0x861a16=new webgpu.Vector3();return this['obj']['matrix'][_0x333d20(0xdc)](_0x4fee56,_0x1d777b,_0x861a16),new webgpu.Euler()[_0x333d20(0xed)](_0x1d777b);}}[_0x2164b4(0x10a)](..._0x2c41bb){const _0x42bc9c=_0x2164b4;var _0x50eb8a;if(!this[_0x42bc9c(0xcf)])throw Error(_0x42bc9c(0x129));let _0x8359ef=null;if((_0x50eb8a=_0x2c41bb[0x0])===null||_0x50eb8a===void 0?void 0:_0x50eb8a[_0x42bc9c(0xd4)]){const _0x37f8d8=_0x2c41bb[0x0];_0x8359ef=new webgpu.Euler(_0x37f8d8['x'],_0x37f8d8['y'],_0x37f8d8['z'],_0x37f8d8[_0x42bc9c(0xcb)]);}else typeof _0x2c41bb[0x0]==='number'&&typeof _0x2c41bb[0x1]===_0x42bc9c(0xf7)&&typeof _0x2c41bb[0x2]===_0x42bc9c(0xf7)&&(_0x8359ef=new webgpu.Euler(_0x2c41bb[0x0],_0x2c41bb[0x1],_0x2c41bb[0x2]));if(!_0x8359ef)return;this[_0x42bc9c(0xcf)][_0x42bc9c(0xe3)][_0x42bc9c(0xdd)](_0x8359ef),this['obj'][_0x42bc9c(0xef)](),this[_0x42bc9c(0xcf)][_0x42bc9c(0x10d)](!![]),this[_0x42bc9c(0xf4)]&&this[_0x42bc9c(0xf4)][_0x42bc9c(0x13a)]['markRenderStateDirty']();}[_0x2164b4(0x112)](){const _0x1082e7=_0x2164b4;if(!this[_0x1082e7(0xcf)])throw Error(_0x1082e7(0x129));if(this['obj'][_0x1082e7(0xee)])return this[_0x1082e7(0xcf)]['quaternion'][_0x1082e7(0x115)]();else {const _0x5dae9c=new webgpu.Vector3(),_0x4e2c71=new webgpu.Quaternion(),_0x1aaaa1=new webgpu.Vector3();return this[_0x1082e7(0xcf)][_0x1082e7(0x12b)][_0x1082e7(0xdc)](_0x5dae9c,_0x4e2c71,_0x1aaaa1),_0x4e2c71;}}[_0x2164b4(0xc6)](..._0x1a6c76){const _0x109be2=_0x2164b4;var _0x103a7d;if(!this['obj'])throw Error(_0x109be2(0x129));let _0x3b2678=null;if((_0x103a7d=_0x1a6c76[0x0])===null||_0x103a7d===void 0?void 0:_0x103a7d[_0x109be2(0x135)]){const _0x12f13c=_0x1a6c76[0x0];_0x3b2678=new webgpu.Quaternion(_0x12f13c['x'],_0x12f13c['y'],_0x12f13c['z'],_0x12f13c['w']);}else typeof _0x1a6c76[0x0]==='number'&&typeof _0x1a6c76[0x1]===_0x109be2(0xf7)&&typeof _0x1a6c76[0x2]===_0x109be2(0xf7)&&typeof _0x1a6c76[0x3]===_0x109be2(0xf7)&&(_0x3b2678=new webgpu.Quaternion(_0x1a6c76[0x0],_0x1a6c76[0x1],_0x1a6c76[0x2],_0x1a6c76[0x3]));if(!_0x3b2678){console[_0x109be2(0x117)](_0x109be2(0xd6),_0x1a6c76);return;}this['obj'][_0x109be2(0x116)][_0x109be2(0xdd)](_0x3b2678);if(!this[_0x109be2(0xcf)][_0x109be2(0xee)]){const _0x414a6b=new webgpu.Vector3(),_0x2d99e9=new webgpu.Quaternion(),_0x7264eb=new webgpu.Vector3();this['obj']['matrix'][_0x109be2(0xdc)](_0x414a6b,_0x2d99e9,_0x7264eb),this[_0x109be2(0xcf)][_0x109be2(0x12b)][_0x109be2(0x120)](_0x414a6b,_0x3b2678,_0x7264eb);}this[_0x109be2(0xf4)]&&this[_0x109be2(0xf4)][_0x109be2(0x13a)][_0x109be2(0x11f)](),this[_0x109be2(0xcf)]['updateMatrix'](),this['obj']['updateMatrixWorld'](!![]);}[_0x2164b4(0x11a)](){const _0x49f124=_0x2164b4;if(!this[_0x49f124(0xcf)])throw Error(_0x49f124(0x129));if(this[_0x49f124(0xcf)][_0x49f124(0xee)])return this['obj'][_0x49f124(0xfb)][_0x49f124(0x115)]();else {const _0x164304=new webgpu.Vector3(),_0x1e0add=new webgpu.Quaternion(),_0x1d470f=new webgpu.Vector3();return this[_0x49f124(0xcf)]['matrix'][_0x49f124(0xdc)](_0x164304,_0x1e0add,_0x1d470f),_0x1d470f;}}['setScale'](..._0x48139a){const _0x5ae96f=_0x2164b4;var _0x571ca0;if(!this['obj'])throw Error(_0x5ae96f(0x129));let _0x5c897b=null;if((_0x571ca0=_0x48139a[0x0])===null||_0x571ca0===void 0?void 0:_0x571ca0[_0x5ae96f(0xd9)]){const _0x3bb6be=_0x48139a[0x0];_0x5c897b=new webgpu.Vector3(_0x3bb6be['x'],_0x3bb6be['y'],_0x3bb6be['z']);}else typeof _0x48139a[0x0]===_0x5ae96f(0xf7)&&typeof _0x48139a[0x1]===_0x5ae96f(0xf7)&&typeof _0x48139a[0x2]===_0x5ae96f(0xf7)&&(_0x5c897b=new webgpu.Vector3(_0x48139a[0x0],_0x48139a[0x1],_0x48139a[0x2]));if(!_0x5c897b)return;this[_0x5ae96f(0xcf)]['scale']['copy'](_0x5c897b),this[_0x5ae96f(0xcf)][_0x5ae96f(0xef)](),this[_0x5ae96f(0xcf)][_0x5ae96f(0x10d)](!![]),this[_0x5ae96f(0xf4)]&&this['world'][_0x5ae96f(0x13a)][_0x5ae96f(0x11f)]();}[_0x2164b4(0xfe)](){const _0x31087c=_0x2164b4;if(!this[_0x31087c(0xcf)])throw Error('threeObject\x20is\x20invalid');return this[_0x31087c(0xcf)][_0x31087c(0x12b)];}[_0x2164b4(0x137)](_0x911eda){const _0x2ed2b6=_0x2164b4;var _0x5bb817;if(!this[_0x2ed2b6(0xcf)])throw Error(_0x2ed2b6(0x129));_0x911eda[_0x2ed2b6(0xdc)](this[_0x2ed2b6(0xcf)]['position'],this[_0x2ed2b6(0xcf)][_0x2ed2b6(0x116)],this[_0x2ed2b6(0xcf)][_0x2ed2b6(0xfb)]),this[_0x2ed2b6(0xcf)][_0x2ed2b6(0xef)](),this[_0x2ed2b6(0xcf)][_0x2ed2b6(0x10d)](!![]),(_0x5bb817=this[_0x2ed2b6(0xf4)])===null||_0x5bb817===void 0?void 0:_0x5bb817[_0x2ed2b6(0x13a)]['markRenderStateDirty']();}[_0x2164b4(0x10b)](){const _0x55cb3e=_0x2164b4;if(!this[_0x55cb3e(0xcf)])throw Error('threeObject\x20is\x20invalid');let _0x1b7458=new webgpu.Vector3();return this[_0x55cb3e(0xcf)][_0x55cb3e(0x10b)](_0x1b7458),_0x1b7458;}[_0x2164b4(0xea)](){const _0x4a2805=_0x2164b4;if(!this[_0x4a2805(0xcf)])throw Error(_0x4a2805(0x129));let _0x28e5cd=new webgpu.Quaternion();return this[_0x4a2805(0xcf)][_0x4a2805(0x101)](_0x28e5cd),new webgpu.Euler()['setFromQuaternion'](_0x28e5cd);}[_0x2164b4(0x101)](){const _0x11c931=_0x2164b4;if(!this[_0x11c931(0xcf)])throw Error('threeObject\x20is\x20invalid');let _0x291779=new webgpu.Quaternion();return this[_0x11c931(0xcf)][_0x11c931(0x101)](_0x291779),_0x291779;}['getWorldScale'](){const _0x4cb418=_0x2164b4;if(!this[_0x4cb418(0xcf)])throw Error(_0x4cb418(0x129));let _0x4ea0d2=new webgpu.Vector3();return this['obj'][_0x4cb418(0x122)](_0x4ea0d2),_0x4ea0d2;}[_0x2164b4(0x12e)](){const _0x3c72f1=_0x2164b4;if(!this[_0x3c72f1(0xcf)])throw Error(_0x3c72f1(0x129));return this['obj'][_0x3c72f1(0x10d)](!![]),this[_0x3c72f1(0xcf)][_0x3c72f1(0x113)][_0x3c72f1(0x115)]();}[_0x2164b4(0xf3)](_0x362cd9){const _0x367ee7=_0x2164b4;if(!this[_0x367ee7(0xcf)])throw Error(_0x367ee7(0x129));if(this['obj'][_0x367ee7(0xce)]){this[_0x367ee7(0xcf)][_0x367ee7(0xce)][_0x367ee7(0x10d)](!![]);const _0x7e8f11=this['obj'][_0x367ee7(0xce)]['matrixWorld'][_0x367ee7(0x115)]()[_0x367ee7(0xf9)](),_0x139eed=new webgpu.Matrix4()[_0x367ee7(0xe8)](_0x7e8f11,_0x362cd9);this[_0x367ee7(0x137)](_0x139eed);}else this[_0x367ee7(0x137)](_0x362cd9);this[_0x367ee7(0xcf)][_0x367ee7(0x10d)](!![]),this[_0x367ee7(0xf4)]&&this[_0x367ee7(0xf4)]['viewport'][_0x367ee7(0x11f)]();}[_0x2164b4(0x123)](){const _0x256383=_0x2164b4;if(!this[_0x256383(0xcf)])throw Error('threeObject\x20is\x20invalid');let _0x46c06c=new webgpu.Vector3();return this[_0x256383(0xcf)][_0x256383(0xd2)](_0x46c06c),_0x46c06c;}[_0x2164b4(0xf6)](){const _0x2a8e29=_0x2164b4;if(!this[_0x2a8e29(0xcf)])throw Error('threeObject\x20is\x20invalid');let _0x15c8ab=new webgpu.Vector3(0x0,0x1,0x0);return _0x15c8ab[_0x2a8e29(0xf1)](this[_0x2a8e29(0x101)]()),_0x15c8ab;}[_0x2164b4(0xc7)](){const _0x342a51=_0x2164b4;if(!this[_0x342a51(0xcf)])throw Error('threeObject\x20is\x20invalid');let _0x4bc533=new webgpu.Vector3(0x1,0x0,0x0);return _0x4bc533[_0x342a51(0xf1)](this[_0x342a51(0x101)]()),_0x4bc533;}[_0x2164b4(0x105)](_0x183e69){const _0x2b6822=_0x2164b4;if(!this[_0x2b6822(0xcf)])throw Error(_0x2b6822(0x129));return this['obj']['worldToLocal'](_0x183e69);}['localToWorld'](_0x2b4281){const _0x49f004=_0x2164b4;if(!this[_0x49f004(0xcf)])throw Error(_0x49f004(0x129));return this['obj']['localToWorld'](_0x2b4281);}['attachComponent'](_0x4d831e){const _0x10d8b3=_0x2164b4;if(!this[_0x10d8b3(0xcf)])throw Error(_0x10d8b3(0x129));if(!_0x4d831e[_0x10d8b3(0xde)])throw Error(_0x10d8b3(0x118));this[_0x10d8b3(0xcf)][_0x10d8b3(0xd3)](_0x4d831e['threeObject']),this['world']&&_0x4d831e['onAddedToWorld'](this[_0x10d8b3(0xf4)]);}[_0x2164b4(0x10e)](_0x511f8d){const _0x142ae8=_0x2164b4;if(!this[_0x142ae8(0xcf)])throw Error('threeObject\x20is\x20invalid');if(!_0x511f8d[_0x142ae8(0xde)])throw Error(_0x142ae8(0x107));this['obj'][_0x142ae8(0x131)](_0x511f8d[_0x142ae8(0xde)]);}[_0x2164b4(0x12f)](_0x4a6d37,_0x571756=exports.AttachmentRules[_0x2164b4(0x103)]){const _0x2b7431=_0x2164b4;if(!this[_0x2b7431(0xcf)])throw Error(_0x2b7431(0x129));if(!_0x4a6d37[_0x2b7431(0xde)])throw Error(_0x2b7431(0x118));_0x4a6d37['parentActor']=this[_0x2b7431(0xca)];if(_0x571756===exports.AttachmentRules[_0x2b7431(0xcd)]){let _0x2ce870=_0x4a6d37['getWorldMatrix']();this[_0x2b7431(0xcf)]['add'](_0x4a6d37['threeObject']),_0x4a6d37[_0x2b7431(0xf3)](_0x2ce870);}else this[_0x2b7431(0xcf)][_0x2b7431(0xd3)](_0x4a6d37[_0x2b7431(0xde)]);this[_0x2b7431(0xf4)]&&_0x4a6d37[_0x2b7431(0xdf)](this[_0x2b7431(0xf4)]),this[_0x2b7431(0xcf)]['updateMatrix'](),this[_0x2b7431(0xcf)]['updateMatrixWorld'](!![]);}[_0x2164b4(0x12d)](_0x9e8352){const _0x56f87a=_0x2164b4;if(!this[_0x56f87a(0xcf)])throw Error(_0x56f87a(0x129));if(!_0x9e8352[_0x56f87a(0xde)])throw Error('targetComponent\x20threeObject\x20is\x20invalid');this[_0x56f87a(0xcf)][_0x56f87a(0x131)](_0x9e8352[_0x56f87a(0xde)]);}[_0x2164b4(0x106)](){const _0x47e621=_0x2164b4;this[_0x47e621(0xe0)]&&this[_0x47e621(0xe0)][_0x47e621(0x12d)](this);}[_0x2164b4(0x110)](){const _0x2f881=_0x2164b4;this[_0x2f881(0xca)]&&(this[_0x2f881(0xca)]=null);}[_0x2164b4(0xe5)](){const _0x154cd7=_0x2164b4;var _0x5383af;if(!this[_0x154cd7(0xcf)])return;let _0x2c7eb6=[];for(let _0x357e7e=0x0;_0x357e7e<this['obj'][_0x154cd7(0xe1)][_0x154cd7(0xda)];++_0x357e7e){let _0x5cc6b6=(_0x5383af=this[_0x154cd7(0xcf)]['children'][_0x357e7e][_0x154cd7(0xe6)])===null||_0x5383af===void 0?void 0:_0x5383af[_0x154cd7(0xe2)];_0x5cc6b6&&_0x2c7eb6[_0x154cd7(0x133)](_0x5cc6b6);}_0x2c7eb6[_0x154cd7(0xeb)](_0x1e3c68=>{_0x1e3c68['destroy']();}),_0x2c7eb6=[];}set[_0x2164b4(0x130)](_0x413455){const _0x41740d=_0x2164b4;this[_0x41740d(0x124)]=_0x413455;let _0x31af1e=this['childrenComponents'];for(let _0x482100=0x0;_0x482100<_0x31af1e[_0x41740d(0xda)];++_0x482100){_0x31af1e[_0x482100][_0x41740d(0x130)]=this[_0x41740d(0x124)];}}get[_0x2164b4(0x130)](){const _0x3a75e7=_0x2164b4;return this[_0x3a75e7(0x124)];}set[_0x2164b4(0xec)](_0x17aee8){const _0x37897a=_0x2164b4;this[_0x37897a(0xd0)]=_0x17aee8;let _0x5e3970=this[_0x37897a(0x126)];for(let _0x2ab979=0x0;_0x2ab979<_0x5e3970[_0x37897a(0xda)];++_0x2ab979){_0x5e3970[_0x2ab979]['isClickEnabled']=this['bCanClick'];}}get[_0x2164b4(0xec)](){const _0x25b4e6=_0x2164b4;return this[_0x25b4e6(0xd0)];}[_0x2164b4(0xc8)](){const _0x4f29ef=_0x2164b4;this[_0x4f29ef(0xd1)][_0x4f29ef(0x139)]();}[_0x2164b4(0x11c)](){this['_onHoverEndDelegate']['broadcast']();}[_0x2164b4(0xd8)](){this['_onClickDelegate']['broadcast']();}[_0x2164b4(0x111)](){const _0x1579a2=_0x2164b4;this[_0x1579a2(0xd7)][_0x1579a2(0x139)]();}}
|
|
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
|
-
function
|
|
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
|
-
|
|
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
|
-
const
|
|
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
|
-
function
|
|
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 _0xe739a1=_0x4f2a;(function(_0x32e5e0,_0xcf8567){const _0x44eead=_0x4f2a,_0x1517b0=_0x32e5e0();while(!![]){try{const _0x3887a=parseInt(_0x44eead(0xec))/0x1*(parseInt(_0x44eead(0xe7))/0x2)+-parseInt(_0x44eead(0x114))/0x3*(-parseInt(_0x44eead(0x12b))/0x4)+parseInt(_0x44eead(0x12f))/0x5+parseInt(_0x44eead(0xd8))/0x6*(parseInt(_0x44eead(0xd6))/0x7)+-parseInt(_0x44eead(0x121))/0x8+-parseInt(_0x44eead(0xfe))/0x9+-parseInt(_0x44eead(0xe3))/0xa;if(_0x3887a===_0xcf8567)break;else _0x1517b0['push'](_0x1517b0['shift']());}catch(_0x3e5422){_0x1517b0['push'](_0x1517b0['shift']());}}}(_0x141b,0xc45ac));function _0x4f2a(_0x25ed06,_0x5b082b){_0x25ed06=_0x25ed06-0xd0;const _0x141b0f=_0x141b();let _0x4f2a8f=_0x141b0f[_0x25ed06];return _0x4f2a8f;}function _0x141b(){const _0x2c7619=['Bloom','distanceFallOff','pulsePeriod','renderer','bloomStrength','onDirtyCallback','outputNode','updateAllUniforms','markDirty','outlineObjects','dofAperture','needsUpdate','thickness','3coaCRa','bokehScaleNode','indexOf','DepthOfField','traa','updateSteps','outlineEdgeGlow','steps','resolutionScale','outlineEdgeThickness','map','gtaoRadius','threshold','1323232hKxGlf','setOutlineObjects','dispose','scale','gtaoSamples','splice','aperture','normal','postProcessParam','effectUniforms','490436GqRXsn','createEffectUniforms','edgeGlow','destroy','3398440oXaWSj','getStepParam','outlineVisibleEdgeColor','gtaoThickness','render','gtaoDistanceExponent','setup','radius','maxblur','greaterThan','fxaaEnabled','includes','setLUT3DTexture','focus','selectedObjects','processing','strength','updateCamera','buildPipeline','Antialiasing','method','select','removeOutlineObject','focusDistanceNode','hiddenEdgeColor','smaa','getLUT3DTexture','dofEnabled','onBuildFinalNode','postProcessing','addOutlineObject','add','find','ghostTint','set','has','13867UiOiOD','smaaEnabled','1374CnfXAa','LensFlare','bloomThreshold','outlinePulsePeriod','setMRT','gtaoPass','value','push','lensflarePass','dofMaxBlur','outlineEdgeStrength','5784810FWzgeN','div','dofPass','outlineHiddenEdgeColor','20GsStSF','assign','edgeGlowNode','downSampleRatio','getTextureNode','143777jcSAuj','ghostSamples','lensflareEnabled','useTemporalFiltering','length','lut3dTexture','visibleEdgeColor','gtaoEnabled','scene','mul','dofFocus','ghostSpacing','type','camera','traaPass','focalLengthNode','outlinePass','velocity','10310067CIVtcj','bloomPass','samples','distanceExponent','Outline','outlineEnabled','edgeStrength','depth','edgeThickness'];_0x141b=function(){return _0x2c7619;};return _0x141b();}class PostProcessManager{constructor(_0x49f369,_0x2a8fbb,_0x48a4c5,_0x1b6c22,_0x4bb1c1){const _0x3db5e0=_0x4f2a;this['postProcessing']=null,this[_0x3db5e0(0x110)]=[],this[_0x3db5e0(0x12a)]=null,this[_0x3db5e0(0xfc)]=null,this['bloomPass']=null,this[_0x3db5e0(0xe5)]=null,this[_0x3db5e0(0xdd)]=null,this[_0x3db5e0(0xfa)]=null,this[_0x3db5e0(0xe0)]=null,this[_0x3db5e0(0xf1)]=null,this[_0x3db5e0(0x10c)]=null,this[_0x3db5e0(0x10a)]=_0x49f369,this[_0x3db5e0(0xf4)]=_0x2a8fbb,this['camera']=_0x48a4c5,this[_0x3db5e0(0x129)]=Object[_0x3db5e0(0xe8)]({},_0x1b6c22),this[_0x3db5e0(0x10c)]=_0x4bb1c1!==null&&_0x4bb1c1!==void 0?_0x4bb1c1:null;}get[_0xe739a1(0x13e)](){const _0x1e0d05=_0xe739a1;return this[_0x1e0d05(0x14c)];}[_0xe739a1(0x140)](_0x3fb457){const _0x5c026c=_0xe739a1;this[_0x5c026c(0xf9)]=_0x3fb457,(!this['postProcessing']||!this['effectUniforms'])&&(this[_0x5c026c(0x141)](),this[_0x5c026c(0x10e)](),this['markDirty']());}[_0xe739a1(0x135)](){const _0x1a73e5=_0xe739a1;(!this[_0x1a73e5(0x14c)]||!this[_0x1a73e5(0x12a)])&&this['buildPipeline'](),this['updateAllUniforms'](),this['markDirty']();}[_0xe739a1(0x141)](){const _0x3ec172=_0xe739a1;var _0x537a42,_0x25c7f0,_0x57a6a2,_0xfc1fba,_0x4e70c3;this['postProcessing']&&this[_0x3ec172(0x14c)]['dispose']();this['postProcessing']=new webgpu.PostProcessing(this[_0x3ec172(0x10a)]),this['effectUniforms']=this[_0x3ec172(0x12c)]();const _0x5474ae=tsl.pass(this[_0x3ec172(0xf4)],this[_0x3ec172(0xf9)]);_0x5474ae[_0x3ec172(0xdc)](tsl.mrt({'output':tsl.output,'normal':tsl.normalView,'velocity':tsl.velocity}));const _0x17497c=_0x5474ae[_0x3ec172(0xeb)]('output'),_0x52e757=_0x5474ae[_0x3ec172(0xeb)](_0x3ec172(0x128)),_0x23e334=_0x5474ae[_0x3ec172(0xeb)](_0x3ec172(0x105)),_0x2bc321=_0x5474ae[_0x3ec172(0xeb)](_0x3ec172(0xfd)),_0x17c222=_0x5474ae['getViewZNode'](),_0x57e7e5=this[_0x3ec172(0x12a)],_0x31d7f5=(_0x537a42=this[_0x3ec172(0x130)](exports.PostProcessStepType['Bloom']))!==null&&_0x537a42!==void 0?_0x537a42:DefaultBloomParam;this['bloomPass']=BloomNode_js.bloom(_0x17497c),this[_0x3ec172(0xff)][_0x3ec172(0x120)]['value']=_0x31d7f5[_0x3ec172(0x120)],this[_0x3ec172(0xff)][_0x3ec172(0x13f)][_0x3ec172(0xde)]=_0x31d7f5[_0x3ec172(0x13f)],this['bloomPass']['radius'][_0x3ec172(0xde)]=_0x31d7f5[_0x3ec172(0x136)];const _0x1e541b=_0x17497c[_0x3ec172(0xd1)](this['bloomPass'][_0x3ec172(0xf5)](_0x57e7e5[_0x3ec172(0x10b)])),_0x35d2cd=_0x57e7e5['bloomEnabled'][_0x3ec172(0x138)](0.5)[_0x3ec172(0x144)](_0x1e541b,_0x17497c),_0x28a445=(_0x25c7f0=this['getStepParam'](exports.PostProcessStepType[_0x3ec172(0xd9)]))!==null&&_0x25c7f0!==void 0?_0x25c7f0:DefaultLensFlareParam;this['lensflarePass']=LensflareNode_js.lensflare(this[_0x3ec172(0xff)][_0x3ec172(0xeb)](),{'ghostTint':tsl.vec3(_0x28a445[_0x3ec172(0xd3)][0x0],_0x28a445[_0x3ec172(0xd3)][0x1],_0x28a445[_0x3ec172(0xd3)][0x2]),'threshold':tsl.float(_0x28a445['threshold']),'ghostSamples':tsl.float(_0x28a445[_0x3ec172(0xed)]),'ghostSpacing':tsl.float(_0x28a445[_0x3ec172(0xf7)]),'ghostAttenuationFactor':tsl.float(_0x28a445['ghostAttenuationFactor']),'downSampleRatio':_0x28a445[_0x3ec172(0xea)]});const _0x856b7e=_0x35d2cd[_0x3ec172(0xd1)](this['lensflarePass'][_0x3ec172(0xeb)]()),_0x2e64c9=_0x57e7e5['lensflareEnabled'][_0x3ec172(0x138)](0.5)[_0x3ec172(0x144)](_0x856b7e,_0x35d2cd),_0x1c6bf5=(_0x57a6a2=this[_0x3ec172(0x130)](exports.PostProcessStepType[_0x3ec172(0x117)]))!==null&&_0x57a6a2!==void 0?_0x57a6a2:DefaultDOFParam;this['dofPass']=DepthOfFieldNode_js.dof(_0x2e64c9,_0x17c222,tsl.uniform(_0x1c6bf5[_0x3ec172(0x13c)]),tsl.uniform(_0x1c6bf5[_0x3ec172(0x127)]),tsl.uniform(_0x1c6bf5[_0x3ec172(0x137)]));const _0x47178b=_0x57e7e5[_0x3ec172(0x14a)][_0x3ec172(0x138)](0.5)['select'](this[_0x3ec172(0xe5)],_0x2e64c9),_0xd46321=(_0xfc1fba=this[_0x3ec172(0x130)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0xfc1fba!==void 0?_0xfc1fba:DefaultGTAOParam;this[_0x3ec172(0xdd)]=GTAONode_js.ao(_0x23e334,_0x52e757,this['camera']),this[_0x3ec172(0xdd)][_0x3ec172(0x11c)]=0.5,this[_0x3ec172(0xdd)][_0x3ec172(0x101)][_0x3ec172(0xde)]=_0xd46321['distanceExponent'],this[_0x3ec172(0xdd)][_0x3ec172(0x108)][_0x3ec172(0xde)]=_0xd46321[_0x3ec172(0x108)],this[_0x3ec172(0xdd)][_0x3ec172(0x136)][_0x3ec172(0xde)]=_0xd46321[_0x3ec172(0x136)],this[_0x3ec172(0xdd)][_0x3ec172(0x124)]['value']=_0xd46321['scale'],this[_0x3ec172(0xdd)][_0x3ec172(0x113)][_0x3ec172(0xde)]=_0xd46321[_0x3ec172(0x113)],this[_0x3ec172(0xdd)][_0x3ec172(0x100)][_0x3ec172(0xde)]=_0xd46321[_0x3ec172(0x100)],this['gtaoPass'][_0x3ec172(0xef)]=_0xd46321[_0x3ec172(0xef)];const _0x17a240=this[_0x3ec172(0xdd)][_0x3ec172(0xeb)](),_0x134467=_0x17a240['r'],_0x36d203=_0x47178b[_0x3ec172(0xf5)](_0x134467),_0x3b3542=_0x57e7e5[_0x3ec172(0xf3)][_0x3ec172(0x138)](0.5)['select'](_0x36d203,_0x47178b),_0x531f6e=(_0x4e70c3=this[_0x3ec172(0x130)](exports.PostProcessStepType[_0x3ec172(0x102)]))!==null&&_0x4e70c3!==void 0?_0x4e70c3:DefaultOutlineParams;this[_0x3ec172(0xfc)]=OutlineNode_js.outline(this['scene'],this[_0x3ec172(0xf9)],{'selectedObjects':this[_0x3ec172(0x110)],'edgeGlow':tsl.uniform(_0x531f6e[_0x3ec172(0x12d)]),'edgeThickness':tsl.uniform(_0x531f6e[_0x3ec172(0x106)])});const {visibleEdge:_0x3ffe24,hiddenEdge:_0x21ea93}=this['outlinePass'],_0x385c63=_0x57e7e5[_0x3ec172(0xdb)]['greaterThan'](0x0)[_0x3ec172(0x144)](_0x57e7e5['outlinePulsePeriod'],tsl.uniform(0x1)),_0xe68625=tsl.time[_0x3ec172(0xe4)](_0x385c63)[_0x3ec172(0xf5)](0x2),_0x455b7d=tsl.oscSine(_0xe68625)[_0x3ec172(0xf5)](0.5)[_0x3ec172(0xd1)](0.5),_0x3071ba=_0x3ffe24[_0x3ec172(0xf5)](_0x57e7e5[_0x3ec172(0x131)])[_0x3ec172(0xd1)](_0x21ea93[_0x3ec172(0xf5)](_0x57e7e5[_0x3ec172(0xe6)]))['mul'](_0x57e7e5[_0x3ec172(0xe2)]),_0x2dc315=_0x57e7e5['outlinePulsePeriod'][_0x3ec172(0x138)](0x0)[_0x3ec172(0x144)](_0x3071ba[_0x3ec172(0xf5)](_0x455b7d),_0x3071ba),_0x3351a9=_0x2dc315[_0x3ec172(0xd1)](_0x3b3542),_0x3aaad2=_0x57e7e5[_0x3ec172(0x103)]['greaterThan'](0.5)[_0x3ec172(0x144)](_0x3351a9,_0x3b3542),_0x58971a=FXAANode_js.fxaa(_0x3aaad2),_0x384b81=_0x57e7e5[_0x3ec172(0x139)][_0x3ec172(0x138)](0.5)[_0x3ec172(0x144)](_0x58971a,_0x3aaad2),_0x293f1e=SMAANode_js.smaa(_0x384b81),_0x3e8f8c=_0x57e7e5[_0x3ec172(0xd7)][_0x3ec172(0x138)](0.5)[_0x3ec172(0x144)](_0x293f1e,_0x384b81),_0x4a656b=this[_0x3ec172(0x130)](exports.PostProcessStepType[_0x3ec172(0x142)]);let _0x5b9593=_0x3e8f8c;_0x4a656b&&_0x4a656b[_0x3ec172(0x143)]===_0x3ec172(0x118)&&(this['traaPass']=TRAANode_js.traa(_0x3e8f8c,_0x23e334,_0x2bc321,this[_0x3ec172(0xf9)]),_0x5b9593=this[_0x3ec172(0xfa)][_0x3ec172(0xeb)]()),_0x5b9593=this[_0x3ec172(0x14b)](_0x5b9593),this[_0x3ec172(0x14c)][_0x3ec172(0x10d)]=_0x5b9593,this[_0x3ec172(0x14c)][_0x3ec172(0x112)]=!![];}[_0xe739a1(0x14b)](_0x411808){return _0x411808;}[_0xe739a1(0x12c)](){const _0x5b675c=_0xe739a1;var _0x1f182a,_0x4f4a89,_0x2dc491,_0x2f7f27;const _0x50f6f1=(_0x1f182a=this[_0x5b675c(0x130)](exports.PostProcessStepType['Bloom']))!==null&&_0x1f182a!==void 0?_0x1f182a:DefaultBloomParam,_0x346ccf=(_0x4f4a89=this['getStepParam'](exports.PostProcessStepType[_0x5b675c(0x117)]))!==null&&_0x4f4a89!==void 0?_0x4f4a89:DefaultDOFParam,_0x338384=(_0x2dc491=this[_0x5b675c(0x130)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x2dc491!==void 0?_0x2dc491:DefaultGTAOParam,_0x429572=(_0x2f7f27=this[_0x5b675c(0x130)](exports.PostProcessStepType[_0x5b675c(0x102)]))!==null&&_0x2f7f27!==void 0?_0x2f7f27:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0x50f6f1[_0x5b675c(0x13f)]),'bloomThreshold':tsl.uniform(_0x50f6f1['threshold']),'bloomRadius':tsl.uniform(_0x50f6f1[_0x5b675c(0x136)]),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x346ccf[_0x5b675c(0x13c)]),'dofAperture':tsl.uniform(_0x346ccf[_0x5b675c(0x127)]),'dofMaxBlur':tsl.uniform(_0x346ccf[_0x5b675c(0x137)]),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0x338384['scale']),'gtaoDistanceExponent':tsl.uniform(_0x338384['distanceExponent']),'gtaoDistanceFallOff':tsl.uniform(_0x338384[_0x5b675c(0x108)]),'gtaoRadius':tsl.uniform(_0x338384[_0x5b675c(0x136)]),'gtaoThickness':tsl.uniform(_0x338384[_0x5b675c(0x113)]),'gtaoSamples':tsl.uniform(_0x338384['samples']),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x429572[_0x5b675c(0x104)]),'outlineEdgeGlow':tsl.uniform(_0x429572['edgeGlow']),'outlineEdgeThickness':tsl.uniform(_0x429572['edgeThickness']),'outlinePulsePeriod':tsl.uniform(_0x429572[_0x5b675c(0x109)]),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x429572[_0x5b675c(0xf2)])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x429572[_0x5b675c(0x147)])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}['getStepParam'](_0x296edf){const _0x26661a=_0xe739a1;var _0x1972e7;return (_0x1972e7=this[_0x26661a(0x129)][_0x26661a(0x11b)][_0x26661a(0xd2)](_0x217c07=>_0x217c07[_0x26661a(0xf8)]===_0x296edf))!==null&&_0x1972e7!==void 0?_0x1972e7:null;}[_0xe739a1(0x10e)](){const _0x3b76f5=_0xe739a1;if(!this[_0x3b76f5(0x12a)])return;const _0x5b1a1d=this['effectUniforms'],_0x49e47d=new Set(this['postProcessParam'][_0x3b76f5(0x11b)][_0x3b76f5(0x11e)](_0x43c95b=>_0x43c95b['type']));_0x5b1a1d['bloomEnabled'][_0x3b76f5(0xde)]=_0x49e47d[_0x3b76f5(0xd5)](exports.PostProcessStepType[_0x3b76f5(0x107)])?0x1:0x0,_0x5b1a1d[_0x3b76f5(0x14a)][_0x3b76f5(0xde)]=_0x49e47d[_0x3b76f5(0xd5)](exports.PostProcessStepType[_0x3b76f5(0x117)])?0x1:0x0,_0x5b1a1d['gtaoEnabled'][_0x3b76f5(0xde)]=_0x49e47d['has'](exports.PostProcessStepType['GroundTruthAmbientOcclusion'])?0x1:0x0,_0x5b1a1d[_0x3b76f5(0x103)]['value']=_0x49e47d[_0x3b76f5(0xd5)](exports.PostProcessStepType['Outline'])?0x1:0x0,_0x5b1a1d[_0x3b76f5(0xee)][_0x3b76f5(0xde)]=_0x49e47d['has'](exports.PostProcessStepType[_0x3b76f5(0xd9)])?0x1:0x0;const _0x281a55=this[_0x3b76f5(0x130)](exports.PostProcessStepType[_0x3b76f5(0x142)]);_0x281a55?(_0x5b1a1d[_0x3b76f5(0x139)]['value']=_0x281a55[_0x3b76f5(0x143)]==='fxaa'?0x1:0x0,_0x5b1a1d[_0x3b76f5(0xd7)][_0x3b76f5(0xde)]=_0x281a55['method']===_0x3b76f5(0x148)?0x1:0x0):(_0x5b1a1d[_0x3b76f5(0x139)][_0x3b76f5(0xde)]=0x0,_0x5b1a1d[_0x3b76f5(0xd7)][_0x3b76f5(0xde)]=0x0);const _0x4054e7=this[_0x3b76f5(0x130)](exports.PostProcessStepType[_0x3b76f5(0x107)]);_0x4054e7&&(_0x5b1a1d['bloomStrength'][_0x3b76f5(0xde)]=_0x4054e7[_0x3b76f5(0x13f)],_0x5b1a1d[_0x3b76f5(0xda)]['value']=_0x4054e7['threshold'],_0x5b1a1d['bloomRadius'][_0x3b76f5(0xde)]=_0x4054e7[_0x3b76f5(0x136)],this[_0x3b76f5(0xff)]&&(this['bloomPass']['threshold']['value']=_0x4054e7[_0x3b76f5(0x120)],this[_0x3b76f5(0xff)]['strength'][_0x3b76f5(0xde)]=_0x4054e7['strength'],this['bloomPass'][_0x3b76f5(0x136)][_0x3b76f5(0xde)]=_0x4054e7[_0x3b76f5(0x136)]));const _0x5877b9=this[_0x3b76f5(0x130)](exports.PostProcessStepType[_0x3b76f5(0xd9)]);if(_0x5877b9&&this[_0x3b76f5(0xe0)]);const _0x139cd8=this[_0x3b76f5(0x130)](exports.PostProcessStepType['DepthOfField']);_0x139cd8&&(_0x5b1a1d[_0x3b76f5(0xf6)][_0x3b76f5(0xde)]=_0x139cd8[_0x3b76f5(0x13c)],_0x5b1a1d[_0x3b76f5(0x111)]['value']=_0x139cd8[_0x3b76f5(0x127)],_0x5b1a1d[_0x3b76f5(0xe1)][_0x3b76f5(0xde)]=_0x139cd8[_0x3b76f5(0x137)],this[_0x3b76f5(0xe5)]&&(this['dofPass'][_0x3b76f5(0x146)][_0x3b76f5(0xde)]=_0x139cd8[_0x3b76f5(0x13c)],this[_0x3b76f5(0xe5)][_0x3b76f5(0xfb)][_0x3b76f5(0xde)]=_0x139cd8[_0x3b76f5(0x127)],this[_0x3b76f5(0xe5)][_0x3b76f5(0x115)][_0x3b76f5(0xde)]=_0x139cd8[_0x3b76f5(0x137)]));const _0x2748f5=this['getStepParam'](exports.PostProcessStepType['GroundTruthAmbientOcclusion']);_0x2748f5&&(_0x5b1a1d['gtaoScale']['value']=_0x2748f5[_0x3b76f5(0x124)],_0x5b1a1d[_0x3b76f5(0x134)][_0x3b76f5(0xde)]=_0x2748f5['distanceExponent'],_0x5b1a1d['gtaoDistanceFallOff']['value']=_0x2748f5[_0x3b76f5(0x108)],_0x5b1a1d[_0x3b76f5(0x11f)][_0x3b76f5(0xde)]=_0x2748f5['radius'],_0x5b1a1d[_0x3b76f5(0x132)][_0x3b76f5(0xde)]=_0x2748f5['thickness'],_0x5b1a1d[_0x3b76f5(0x125)][_0x3b76f5(0xde)]=_0x2748f5[_0x3b76f5(0x100)],this['gtaoPass']&&(this[_0x3b76f5(0xdd)][_0x3b76f5(0x101)]['value']=_0x2748f5[_0x3b76f5(0x101)],this['gtaoPass'][_0x3b76f5(0x108)][_0x3b76f5(0xde)]=_0x2748f5['distanceFallOff'],this['gtaoPass'][_0x3b76f5(0x136)][_0x3b76f5(0xde)]=_0x2748f5[_0x3b76f5(0x136)],this['gtaoPass'][_0x3b76f5(0x124)][_0x3b76f5(0xde)]=_0x2748f5[_0x3b76f5(0x124)],this['gtaoPass'][_0x3b76f5(0x113)][_0x3b76f5(0xde)]=_0x2748f5[_0x3b76f5(0x113)],this[_0x3b76f5(0xdd)][_0x3b76f5(0x100)][_0x3b76f5(0xde)]=_0x2748f5['samples'],this['gtaoPass'][_0x3b76f5(0xef)]=_0x2748f5[_0x3b76f5(0xef)]));const _0x546f68=this['getStepParam'](exports.PostProcessStepType['Outline']);_0x546f68&&(_0x5b1a1d['outlineEdgeStrength']['value']=_0x546f68['edgeStrength'],_0x5b1a1d[_0x3b76f5(0x11a)][_0x3b76f5(0xde)]=_0x546f68[_0x3b76f5(0x12d)],_0x5b1a1d[_0x3b76f5(0x11d)][_0x3b76f5(0xde)]=_0x546f68['edgeThickness'],_0x5b1a1d[_0x3b76f5(0xdb)][_0x3b76f5(0xde)]=_0x546f68[_0x3b76f5(0x109)],_0x5b1a1d[_0x3b76f5(0x131)][_0x3b76f5(0xde)][_0x3b76f5(0xd4)](_0x546f68[_0x3b76f5(0xf2)]),_0x5b1a1d[_0x3b76f5(0xe6)]['value'][_0x3b76f5(0xd4)](_0x546f68[_0x3b76f5(0x147)]),this[_0x3b76f5(0xfc)]&&(this['outlinePass'][_0x3b76f5(0xe9)]['value']=_0x546f68[_0x3b76f5(0x12d)],this['outlinePass']['edgeThicknessNode'][_0x3b76f5(0xde)]=_0x546f68[_0x3b76f5(0x106)],this[_0x3b76f5(0xfc)][_0x3b76f5(0x13d)]=this[_0x3b76f5(0x110)]));}[_0xe739a1(0x119)](_0x313bf0){const _0x3f05d0=_0xe739a1;this[_0x3f05d0(0x129)][_0x3f05d0(0x11b)]=_0x313bf0,(!this[_0x3f05d0(0x12a)]||!this[_0x3f05d0(0x14c)])&&this[_0x3f05d0(0x141)](),this[_0x3f05d0(0x10e)](),this[_0x3f05d0(0x10f)]();}[_0xe739a1(0xd0)](_0x5c97c2){const _0x1e8db8=_0xe739a1;!this['outlineObjects'][_0x1e8db8(0x13a)](_0x5c97c2)&&(this[_0x1e8db8(0x110)][_0x1e8db8(0xdf)](_0x5c97c2),this[_0x1e8db8(0xfc)]&&(this[_0x1e8db8(0xfc)][_0x1e8db8(0x13d)]=this[_0x1e8db8(0x110)])),this[_0x1e8db8(0x10f)]();}[_0xe739a1(0x122)](_0x4e4901){const _0x493c7b=_0xe739a1;this[_0x493c7b(0x110)][_0x493c7b(0xf0)]=0x0,this['outlineObjects']['push'](..._0x4e4901),this[_0x493c7b(0xfc)]&&(this[_0x493c7b(0xfc)]['selectedObjects']=this[_0x493c7b(0x110)]),this[_0x493c7b(0x10f)]();}[_0xe739a1(0x145)](_0x352a3f){const _0x16ad87=_0xe739a1,_0x5f0110=this['outlineObjects'][_0x16ad87(0x116)](_0x352a3f);_0x5f0110>-1&&(this[_0x16ad87(0x110)][_0x16ad87(0x126)](_0x5f0110,0x1),this[_0x16ad87(0xfc)]&&(this[_0x16ad87(0xfc)][_0x16ad87(0x13d)]=this[_0x16ad87(0x110)])),this[_0x16ad87(0x10f)]();}[_0xe739a1(0x13b)](_0x42a8b6){const _0x28b600=_0xe739a1;this['lut3dTexture']=_0x42a8b6,this[_0x28b600(0x141)](),this[_0x28b600(0x10e)](),this['markDirty']();}[_0xe739a1(0x149)](){return this['lut3dTexture'];}[_0xe739a1(0x133)](){const _0xff0112=_0xe739a1;if(this[_0xff0112(0x14c)])return this['postProcessing'][_0xff0112(0x133)](),!![];return ![];}[_0xe739a1(0x12e)](){const _0x35d837=_0xe739a1;this[_0x35d837(0x110)]=[],this['effectUniforms']=null,this[_0x35d837(0xfc)]=null,this[_0x35d837(0xff)]=null,this[_0x35d837(0xe5)]=null,this[_0x35d837(0xdd)]=null,this['traaPass']=null,this['lensflarePass']=null,this[_0x35d837(0xf1)]=null,this[_0x35d837(0x14c)]&&(this['postProcessing'][_0x35d837(0x123)](),this[_0x35d837(0x14c)]=null);}['markDirty'](){const _0x2a10fa=_0xe739a1;this[_0x2a10fa(0x10c)]&&this['onDirtyCallback']();}}
|
|
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
|
-
const _0x9beb78=_0x6187;(function(_0x58492f,_0x93214f){const _0x529ba6=_0x6187,_0x5ac403=_0x58492f();while(!![]){try{const _0x332335=parseInt(_0x529ba6(0x15c))/0x1*(parseInt(_0x529ba6(0x159))/0x2)+-parseInt(_0x529ba6(0x11e))/0x3*(parseInt(_0x529ba6(0x166))/0x4)+parseInt(_0x529ba6(0x179))/0x5+parseInt(_0x529ba6(0x12e))/0x6*(-parseInt(_0x529ba6(0x158))/0x7)+-parseInt(_0x529ba6(0x139))/0x8+parseInt(_0x529ba6(0x16e))/0x9*(-parseInt(_0x529ba6(0x14f))/0xa)+parseInt(_0x529ba6(0x177))/0xb;if(_0x332335===_0x93214f)break;else _0x5ac403['push'](_0x5ac403['shift']());}catch(_0x41f166){_0x5ac403['push'](_0x5ac403['shift']());}}}(_0x3807,0xc2b2c));class Viewport{get[_0x9beb78(0x11a)](){return this['_uiDom'];}get[_0x9beb78(0x119)](){return this['_canvasContainer'];}get[_0x9beb78(0x165)](){const _0x1b0a0=_0x9beb78;return this[_0x1b0a0(0x169)];}get['renderer'](){const _0x5ac0e2=_0x9beb78;if(!this[_0x5ac0e2(0x124)])throw Error(_0x5ac0e2(0x164));return this[_0x5ac0e2(0x124)];}get['app'](){const _0x25d690=_0x9beb78;if(!this['_app'])throw Error(_0x25d690(0x174));return this[_0x25d690(0x17b)];}constructor(_0x11793a,_0x3a58a6,_0x515ffb,_0xee692d){const _0x418a4f=_0x9beb78;this[_0x418a4f(0x15d)]=null,this[_0x418a4f(0x124)]=null,this['labelRenderer']=null,this[_0x418a4f(0x17b)]=null,this['resizeObserver']=null,this[_0x418a4f(0x169)]=null,this[_0x418a4f(0x11b)]=null,this[_0x418a4f(0x155)]=!![],this[_0x418a4f(0x14c)]=null,this['postProcessParam']=Object['assign']({},_0xee692d),this[_0x418a4f(0x17b)]=_0x11793a,_0x3a58a6['elementId']&&(this[_0x418a4f(0x169)]=document['getElementById'](_0x3a58a6[_0x418a4f(0x15e)])),this[_0x418a4f(0x178)](_0x515ffb),_0x3a58a6[_0x418a4f(0x157)]&&this[_0x418a4f(0x138)](),_0x3a58a6[_0x418a4f(0x149)]&&this[_0x418a4f(0x117)](),this[_0x418a4f(0x169)]&&(this[_0x418a4f(0x12a)]=new ResizeObserver(_0xd187f=>{const _0x1edad5=_0x418a4f;for(let _0x405720 of _0xd187f){_0x405720[_0x1edad5(0x145)]&&this['onWindowResize']();}}),this[_0x418a4f(0x12a)]['observe'](this[_0x418a4f(0x169)])),this[_0x418a4f(0x13e)][_0x418a4f(0x142)][_0x418a4f(0x14e)](()=>{const _0x33a378=_0x418a4f;this[_0x33a378(0x14c)]&&(this['postProcessManager'][_0x33a378(0x137)](this[_0x33a378(0x13e)][_0x33a378(0x125)]),this[_0x33a378(0x14c)][_0x33a378(0x13c)]());});}[_0x9beb78(0x178)](_0x55d997){const _0x80c6e8=_0x9beb78;this['_outerContainer']&&!this['_canvasContainer']&&(this['_canvasContainer']=document[_0x80c6e8(0x16b)](_0x80c6e8(0x135)),this['_canvasContainer']['style']['left']='0px',this[_0x80c6e8(0x11b)][_0x80c6e8(0x147)][_0x80c6e8(0x144)]=_0x80c6e8(0x136),this['_canvasContainer'][_0x80c6e8(0x147)][_0x80c6e8(0x172)]='100%',this[_0x80c6e8(0x11b)][_0x80c6e8(0x147)][_0x80c6e8(0x17a)]=_0x80c6e8(0x151),this['_outerContainer']['appendChild'](this['_canvasContainer']));const _0xa64250=this[_0x80c6e8(0x11b)];this[_0x80c6e8(0x124)]&&(_0xa64250&&_0xa64250[_0x80c6e8(0x13f)](this['_renderer']['domElement']),this[_0x80c6e8(0x124)]['dispose']());let _0x1c938f=_0xa64250?_0xa64250[_0x80c6e8(0x126)]:0x200,_0x3c7b4c=_0xa64250?_0xa64250[_0x80c6e8(0x128)]:0x200,_0x31e28c={};_0x31e28c[_0x80c6e8(0x168)]=_0x55d997[_0x80c6e8(0x168)],_0x31e28c[_0x80c6e8(0x152)]=_0x55d997[_0x80c6e8(0x152)],_0x31e28c[_0x80c6e8(0x161)]=_0x55d997['depth'],_0x31e28c['stencil']=_0x55d997[_0x80c6e8(0x16a)],_0x31e28c[_0x80c6e8(0x15a)]=_0x55d997['alpha'],_0x31e28c[_0x80c6e8(0x148)]=_0x55d997['logarithmicDepthBuffer'],_0x31e28c[_0x80c6e8(0x130)]=_0x55d997[_0x80c6e8(0x130)],_0x31e28c[_0x80c6e8(0x127)]=_0x55d997[_0x80c6e8(0x127)],this[_0x80c6e8(0x124)]=new webgpu.WebGPURenderer(_0x31e28c),this['_renderer'][_0x80c6e8(0x115)](window['devicePixelRatio']),this['_renderer'][_0x80c6e8(0x162)](_0x1c938f,_0x3c7b4c),this[_0x80c6e8(0x124)][_0x80c6e8(0x170)][_0x80c6e8(0x131)]=_0x55d997[_0x80c6e8(0x13a)],this[_0x80c6e8(0x124)][_0x80c6e8(0x170)][_0x80c6e8(0x114)]=_0x55d997[_0x80c6e8(0x14b)],this[_0x80c6e8(0x124)]['toneMapping']=_0x55d997[_0x80c6e8(0x12b)],this[_0x80c6e8(0x124)][_0x80c6e8(0x171)]=_0x55d997[_0x80c6e8(0x171)],this[_0x80c6e8(0x124)][_0x80c6e8(0x16f)](0x0),_0xa64250&&_0xa64250[_0x80c6e8(0x143)](this[_0x80c6e8(0x124)][_0x80c6e8(0x123)]);}[_0x9beb78(0x138)](){const _0x55c3e=_0x9beb78,_0x4b802b=this[_0x55c3e(0x169)];this[_0x55c3e(0x113)]&&(_0x4b802b&&_0x4b802b[_0x55c3e(0x13f)](this[_0x55c3e(0x113)][_0x55c3e(0x123)]));let _0x4c989a=_0x4b802b?_0x4b802b[_0x55c3e(0x126)]:0x200,_0x3bc6bc=_0x4b802b?_0x4b802b[_0x55c3e(0x128)]:0x200;this['labelRenderer']=new Addons_js.CSS2DRenderer(),this[_0x55c3e(0x113)][_0x55c3e(0x162)](_0x4c989a,_0x3bc6bc),this[_0x55c3e(0x113)][_0x55c3e(0x123)][_0x55c3e(0x147)][_0x55c3e(0x14d)]='none',this[_0x55c3e(0x113)][_0x55c3e(0x123)][_0x55c3e(0x147)][_0x55c3e(0x118)]=_0x55c3e(0x12d),this[_0x55c3e(0x113)][_0x55c3e(0x123)]['style'][_0x55c3e(0x144)]=_0x55c3e(0x136),this['labelRenderer'][_0x55c3e(0x123)][_0x55c3e(0x150)]=_0x55c3e(0x15f),_0x4b802b&&_0x4b802b[_0x55c3e(0x143)](this[_0x55c3e(0x113)][_0x55c3e(0x123)]);}[_0x9beb78(0x117)](){const _0x5760c1=_0x9beb78;if(!this[_0x5760c1(0x169)])return;let _0x4a9286=this[_0x5760c1(0x169)][_0x5760c1(0x13d)](_0x5760c1(0x112));!_0x4a9286&&(_0x4a9286=document[_0x5760c1(0x16b)](_0x5760c1(0x135)),_0x4a9286[_0x5760c1(0x150)]=_0x5760c1(0x163),_0x4a9286['id']='scene-uiLayer',_0x4a9286[_0x5760c1(0x147)][_0x5760c1(0x118)]=_0x5760c1(0x12d),_0x4a9286['style']['left']='0',_0x4a9286[_0x5760c1(0x147)][_0x5760c1(0x144)]='0',_0x4a9286['style'][_0x5760c1(0x172)]='100%',_0x4a9286[_0x5760c1(0x147)]['height']='100%',_0x4a9286[_0x5760c1(0x147)][_0x5760c1(0x14d)]=_0x5760c1(0x11d),_0x4a9286[_0x5760c1(0x147)][_0x5760c1(0x153)]='10',this['_outerContainer'][_0x5760c1(0x143)](_0x4a9286),this['_uiDom']=_0x4a9286);}['init'](){this['setupPostProcess']();}['setupPostProcess'](){const _0x9befa=_0x9beb78;!this[_0x9befa(0x14c)]&&(this[_0x9befa(0x14c)]=this['createPostProcessManager']()),this[_0x9befa(0x14c)][_0x9befa(0x13c)]();}[_0x9beb78(0x122)](){const _0x31e3c1=_0x9beb78;return new PostProcessManager(this['renderer'],this['app'][_0x31e3c1(0x141)][_0x31e3c1(0x176)],this[_0x31e3c1(0x13e)][_0x31e3c1(0x125)],this[_0x31e3c1(0x12c)],()=>this[_0x31e3c1(0x17c)]());}[_0x9beb78(0x12f)](_0x43b7a1){const _0x4b504d=_0x9beb78;this['postProcessManager']&&this[_0x4b504d(0x14c)][_0x4b504d(0x154)](_0x43b7a1);}[_0x9beb78(0x175)](_0xdba389){const _0x24305b=_0x9beb78;this[_0x24305b(0x178)](_0xdba389),this[_0x24305b(0x17c)]();}[_0x9beb78(0x167)](_0xcf9a6e){const _0x4f4aa7=_0x9beb78;this[_0x4f4aa7(0x14c)]&&this[_0x4f4aa7(0x14c)]['addOutlineObject'](_0xcf9a6e);}[_0x9beb78(0x173)](_0x49773d){const _0x2c5b46=_0x9beb78;this[_0x2c5b46(0x14c)]&&this[_0x2c5b46(0x14c)]['setOutlineObjects'](_0x49773d);}[_0x9beb78(0x116)](_0x527286){const _0x3109f4=_0x9beb78;this[_0x3109f4(0x14c)]&&this[_0x3109f4(0x14c)][_0x3109f4(0x116)](_0x527286);}[_0x9beb78(0x134)](){const _0x4ff4bd=_0x9beb78;this['postProcessManager']&&(this['postProcessManager'][_0x4ff4bd(0x129)](),this[_0x4ff4bd(0x14c)]=null);}[_0x9beb78(0x120)](){const _0x58a2fc=_0x9beb78;let _0x3282bc=this[_0x58a2fc(0x169)];if(!_0x3282bc)return;this[_0x58a2fc(0x13e)][_0x58a2fc(0x120)](_0x3282bc[_0x58a2fc(0x126)],_0x3282bc[_0x58a2fc(0x128)]),this[_0x58a2fc(0x156)][_0x58a2fc(0x162)](_0x3282bc[_0x58a2fc(0x126)],_0x3282bc[_0x58a2fc(0x128)]);if(this[_0x58a2fc(0x113)])this[_0x58a2fc(0x113)][_0x58a2fc(0x162)](_0x3282bc[_0x58a2fc(0x126)],_0x3282bc[_0x58a2fc(0x128)]);this[_0x58a2fc(0x17c)]();}[_0x9beb78(0x17c)](){const _0x488679=_0x9beb78;this[_0x488679(0x155)]=!![];}['render'](){const _0x5997ac=_0x9beb78;if(!this[_0x5997ac(0x155)])return;if(this[_0x5997ac(0x14c)]&&this[_0x5997ac(0x14c)][_0x5997ac(0x133)]());else this['renderer']['render'](this[_0x5997ac(0x13e)]['world'][_0x5997ac(0x176)],this[_0x5997ac(0x13e)][_0x5997ac(0x125)]);this[_0x5997ac(0x16c)](),this['labelRenderer']&&this['labelRenderer'][_0x5997ac(0x133)](this['app'][_0x5997ac(0x141)][_0x5997ac(0x176)],this['app'][_0x5997ac(0x125)]),this[_0x5997ac(0x155)]=![];}['onAfterPostProcessRender'](){}async[_0x9beb78(0x121)](_0x3556f9=0x400,_0x21f509=0x400){const _0x565463=_0x9beb78;try{if(this['postProcessManager']&&this[_0x565463(0x14c)][_0x565463(0x133)]()){}else await this[_0x565463(0x156)][_0x565463(0x133)](this[_0x565463(0x13e)]['world']['scene'],this[_0x565463(0x13e)]['camera']);const _0x1907de=this[_0x565463(0x156)][_0x565463(0x123)]['width'],_0x54ee9d=this['renderer'][_0x565463(0x123)][_0x565463(0x17a)];let _0x4527eb=_0x1907de||_0x3556f9,_0x268ae5=_0x54ee9d||_0x21f509;(_0x4527eb<=0x0||_0x268ae5<=0x0)&&(_0x4527eb=_0x3556f9,_0x268ae5=_0x21f509);const _0x407a32=document['createElement']('canvas');_0x407a32['width']=_0x3556f9,_0x407a32[_0x565463(0x17a)]=_0x21f509;const _0x1f1ce2=_0x407a32[_0x565463(0x132)]('2d');if(!_0x1f1ce2)throw Error(_0x565463(0x16d));_0x1f1ce2['drawImage'](this[_0x565463(0x156)][_0x565463(0x123)],0x0,0x0,_0x4527eb,_0x268ae5,0x0,0x0,_0x3556f9,_0x21f509);const _0x48ffff=_0x407a32[_0x565463(0x13b)]('image/jpeg');return _0x407a32[_0x565463(0x160)](),_0x48ffff;}catch(_0x5c5b88){return '';}}['setAlpha'](_0x2708d5){const _0xdcfa2f=_0x9beb78;if(!this[_0xdcfa2f(0x124)])return;this[_0xdcfa2f(0x124)][_0xdcfa2f(0x15a)]=_0x2708d5;}[_0x9beb78(0x146)](_0x224355){const _0x26417a=_0x9beb78;if(!this[_0x26417a(0x124)])return;this['_renderer'][_0x26417a(0x170)][_0x26417a(0x131)]=_0x224355;}['setShadowMapType'](_0x49c86b){const _0x1c8a46=_0x9beb78;if(!this[_0x1c8a46(0x124)])return;this[_0x1c8a46(0x124)][_0x1c8a46(0x170)][_0x1c8a46(0x114)]=_0x49c86b;}[_0x9beb78(0x15b)](_0x4efbca){const _0xa9518d=_0x9beb78;if(!this[_0xa9518d(0x124)])return;this[_0xa9518d(0x124)]['toneMapping']=_0x4efbca;}[_0x9beb78(0x11f)](_0x24a360){const _0x28fa81=_0x9beb78;if(!this[_0x28fa81(0x124)])return;this[_0x28fa81(0x124)][_0x28fa81(0x171)]=_0x24a360;}['setLogarithmicDepthBufferEnabled'](_0x449230){const _0x255dac=_0x9beb78;if(!this[_0x255dac(0x124)])return;this['_renderer'][_0x255dac(0x148)]=_0x449230;}[_0x9beb78(0x14a)](_0xf5fb84){const _0x464128=_0x9beb78;if(!this[_0x464128(0x124)])return;this[_0x464128(0x124)]['depth']=_0xf5fb84;}['setStencil'](_0x4354ec){const _0x160442=_0x9beb78;if(!this['_renderer'])return;this[_0x160442(0x124)][_0x160442(0x16a)]=_0x4354ec;}[_0x9beb78(0x129)](){const _0xe91356=_0x9beb78;this['destroyPostProcess'](),this[_0xe91356(0x156)][_0xe91356(0x17d)](null),this[_0xe91356(0x12a)]&&(this[_0xe91356(0x12a)][_0xe91356(0x11c)](),this[_0xe91356(0x12a)]=null),this[_0xe91356(0x113)]&&(this[_0xe91356(0x113)][_0xe91356(0x123)][_0xe91356(0x160)](),this['labelRenderer']=null),this[_0xe91356(0x124)]&&(this[_0xe91356(0x156)][_0xe91356(0x123)][_0xe91356(0x160)](),this[_0xe91356(0x124)][_0xe91356(0x140)](),this[_0xe91356(0x124)]=null),this[_0xe91356(0x11b)]&&(this[_0xe91356(0x11b)]['remove'](),this['_canvasContainer']=null),this[_0xe91356(0x169)]=null,this['_app']=null;}}function _0x6187(_0x3db035,_0x3e2951){_0x3db035=_0x3db035-0x112;const _0x3807de=_0x3807();let _0x618779=_0x3807de[_0x3db035];return _0x618779;}function _0x3807(){const _0x2b1687=['setSize','scene-uiLayer','Renderer\x20is\x20not\x20initialized','outer','4njXGru','addOutlineObject','forceWebGL','_outerContainer','stencil','createElement','onAfterPostProcessRender','Can\x20not\x20create\x20context','99NbLJcf','setClearAlpha','shadowMap','toneMappingExposure','width','setOutlineObjects','App\x20is\x20not\x20initialized','updateRendererSettings','scene','29233105WfihKr','createRenderer','924975gLIOyq','height','_app','markRenderStateDirty','setAnimationLoop','.scene-uiLayer','labelRenderer','type','setPixelRatio','removeOutlineObject','createUILayer','position','canvas','uiDom','_canvasContainer','disconnect','none','4766304xEjRrw','setToneMappingExposure','onWindowResize','renderAsImage','createPostProcessManager','domElement','_renderer','camera','clientWidth','outputBufferType','clientHeight','destroy','resizeObserver','toneMapping','postProcessParam','absolute','7746AGOyZf','updatePostProcess','samples','enabled','getContext','render','destroyPostProcess','div','0px','updateCamera','createLabelRenderer','5798152ypyFCl','shadowMapEnabled','toDataURL','setup','querySelector','app','removeChild','dispose','world','onCameraChangedDelegate','appendChild','top','contentBoxSize','setShadowMapEnabled','style','logarithmicDepthBuffer','isUILayerNeeded','setDepth','shadowMapType','postProcessManager','pointerEvents','add','295790TKCTiE','className','100%','antialias','zIndex','updateSteps','isRenderStateDirty','renderer','isLabelRendererNeeded','861BboQnl','158vLlovC','alpha','setToneMapping','9527ZjPzgs','_uiDom','elementId','scene-labelRenderer','remove','depth'];_0x3807=function(){return _0x2b1687;};return _0x3807();}
|
|
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
|
-
var
|
|
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
|
-
const
|
|
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
|
-
const _0x4fe182=_0x1148;function _0x1148(_0x620d68,_0x32d323){_0x620d68=_0x620d68-0xa0;const _0x5adc8b=_0x5adc();let _0x114814=_0x5adc8b[_0x620d68];return _0x114814;}function _0x5adc(){const _0x56e54c=['_onComponentPointerDownDelegate','onPointerEnterEvent','onPointerLeave','enabled','onPointerMove','isClickEnabled','onActorHoverEndDelegate','fireComponentClick','world','_onActorClickDelegate','top','removeCorePointerListeners','focusTo','updateCamera','_pawn','set','fireActorHoverEnd','onActorDoubleClick','fireActorClick','getAllHitResultFromScreenPoint','hoveringActor','onPointerEnter','length','pawn','clearHovering','getHitResultFromScreenPoint','_onActorHoverEndDelegate','onComponentPointerDownDelegate','369027RyPaoR','pointerLeftDownPosition','onActorClick','clearTimeout','_onComponentClickDelegate','shiftKey','_onActorHoverBeginDelegate','_onActorDoubleClickDelegate','5INbfez','onActorHoverEnd','canvas\x20is\x20null','possess','prepareClickModifiers','onClickNothingDelegate','clientWidth','hoveringComponent','onComponentClickDelegate','_onComponentDoubleClickDelegate','children','viewPort','pawn\x20is\x20null','onClicked','onPointerDownEvent','setFromCamera','destroy','fireComponentHoverBegin','_onComponentHoverBeginDelegate','onHorveringEnd','userData','ctrlKey','clientHeight','broadcast','_app','prepareClickComponent','onPointerUpEvent','camera','scene','653639yAURMW','tick','3298160YRxSCB','clientX','pointerPosition','init','viewport','pointerdown','handleFirstClick','pointerup','raycaster','copy','handleDoubleClick','object','parentActor','app','button','handled','prepareClickHit','fireComponentHoverEnd','addCorePointerListeners','3ZMegVt','add','getHitResultUnderCursor','onPointerLeaveEvent','onPointerMoveEvent','_pointButtonIsDown','canvas','903520ymzseN','subVectors','_raycastVec2','onPointerDown','leftClickTimer','addEventListener','firePointerDownEvent','pointerenter','onPointerUp','_onComponentHoverEndDelegate','doubleClickDelay','onComponentDoubleClickDelegate','760076yRERdp','_onClickNothingDelegate','6129882WHiPxi','isHoverEnabled','pointermove','pointerleave','fireClickEvents','left','clientY','component','clearClickTimer','fireActorHoverBegin','3663684CPsYBv','push','removeEventListener','rayIgnored','assign','hit','altKey'];_0x5adc=function(){return _0x56e54c;};return _0x5adc();}(function(_0x2571ab,_0x14fbf9){const _0x3e300f=_0x1148,_0x3747d0=_0x2571ab();while(!![]){try{const _0x2d41b0=-parseInt(_0x3e300f(0x101))/0x1+parseInt(_0x3e300f(0xc6))/0x2+parseInt(_0x3e300f(0xbf))/0x3*(-parseInt(_0x3e300f(0xd2))/0x4)+-parseInt(_0x3e300f(0x109))/0x5*(-parseInt(_0x3e300f(0xde))/0x6)+parseInt(_0x3e300f(0xaa))/0x7+parseInt(_0x3e300f(0xac))/0x8+-parseInt(_0x3e300f(0xd4))/0x9;if(_0x2d41b0===_0x14fbf9)break;else _0x3747d0['push'](_0x3747d0['shift']());}catch(_0x315012){_0x3747d0['push'](_0x3747d0['shift']());}}}(_0x5adc,0x500c5));class Controller{get[_0x4fe182(0xa8)](){const _0x4bf70a=_0x4fe182;return this[_0x4bf70a(0xa5)]['camera'];}get[_0x4fe182(0xed)](){const _0x120617=_0x4fe182;return this[_0x120617(0xa5)][_0x120617(0xed)];}get[_0x4fe182(0x114)](){const _0x5d17d7=_0x4fe182;return this[_0x5d17d7(0xa5)][_0x5d17d7(0xb0)];}get[_0x4fe182(0xb9)](){const _0xb56da2=_0x4fe182;return this[_0xb56da2(0xa5)];}get[_0x4fe182(0xfc)](){const _0x3b6515=_0x4fe182;if(!this[_0x3b6515(0xf3)])throw Error(_0x3b6515(0x115));return this[_0x3b6515(0xf3)];}get[_0x4fe182(0x111)](){return this['_onComponentClickDelegate'];}get[_0x4fe182(0xd1)](){const _0x3cbd9b=_0x4fe182;return this[_0x3cbd9b(0x112)];}get['onComponentHoverBeginDelegate'](){const _0x5443e9=_0x4fe182;return this[_0x5443e9(0x11b)];}get['onComponentHoverEndDelegate'](){const _0x1a6b05=_0x4fe182;return this[_0x1a6b05(0xcf)];}get[_0x4fe182(0x100)](){const _0x4c1874=_0x4fe182;return this[_0x4c1874(0xe5)];}get['onActorClickDelegate'](){const _0x580af3=_0x4fe182;return this[_0x580af3(0xee)];}get['onActorDoubleClickDelegate'](){const _0x3cbc53=_0x4fe182;return this[_0x3cbc53(0x108)];}get['onActorHoverBeginDelegate'](){const _0x1711e9=_0x4fe182;return this[_0x1711e9(0x107)];}get[_0x4fe182(0xeb)](){const _0x90471=_0x4fe182;return this[_0x90471(0xff)];}get[_0x4fe182(0x10e)](){const _0x410b15=_0x4fe182;return this[_0x410b15(0xd3)];}constructor(_0x39ed32){const _0x178f47=_0x4fe182;this[_0x178f47(0xf3)]=null,this[_0x178f47(0x110)]=null,this[_0x178f47(0xf9)]=null,this[_0x178f47(0xa6)]=null,this[_0x178f47(0xbc)]=null,this[_0x178f47(0x10d)]={'ctrlKey':![],'shiftKey':![],'altKey':![]},this[_0x178f47(0xc4)]=new Set(),this['_onComponentClickDelegate']=new Delegate(),this[_0x178f47(0x112)]=new Delegate(),this[_0x178f47(0x11b)]=new Delegate(),this[_0x178f47(0xcf)]=new Delegate(),this[_0x178f47(0xe5)]=new Delegate(),this[_0x178f47(0xee)]=new Delegate(),this[_0x178f47(0x108)]=new Delegate(),this[_0x178f47(0x107)]=new Delegate(),this['_onActorHoverEndDelegate']=new Delegate(),this['_onClickNothingDelegate']=new Delegate(),this[_0x178f47(0xae)]=new webgpu.Vector2(),this[_0x178f47(0x102)]=new webgpu.Vector2(),this['_tempVec2']=new webgpu.Vector2(),this[_0x178f47(0xc8)]=new webgpu.Vector2(),this['doubleClickDelay']=0xfa,this[_0x178f47(0xca)]=null,this['onPointerMove']=_0x4192c3=>this[_0x178f47(0xc3)](_0x4192c3),this[_0x178f47(0xfa)]=_0x5dea70=>this[_0x178f47(0xe6)](_0x5dea70),this[_0x178f47(0xe7)]=_0x45b544=>this[_0x178f47(0xc2)](_0x45b544),this[_0x178f47(0xce)]=_0x4366df=>this[_0x178f47(0xa7)](_0x4366df),this[_0x178f47(0xc9)]=_0x2d1b64=>this[_0x178f47(0x117)](_0x2d1b64),this[_0x178f47(0xa5)]=_0x39ed32,this[_0x178f47(0xf3)]=new Orbital(this),this[_0x178f47(0xfc)][_0x178f47(0x10c)](),this[_0x178f47(0xb4)]=new webgpu.Raycaster();}[_0x4fe182(0xaf)](){const _0x321cc5=_0x4fe182,_0x3edbbb=this[_0x321cc5(0x114)][_0x321cc5(0xc5)];_0x3edbbb&&(_0x3edbbb[_0x321cc5(0xcb)](_0x321cc5(0xcd),this[_0x321cc5(0xfa)]),_0x3edbbb[_0x321cc5(0xcb)]('pointerleave',this[_0x321cc5(0xe7)]),this['addCorePointerListeners']());}[_0x4fe182(0xf2)](){const _0x4c0be8=_0x4fe182;var _0x3ca9a8,_0x488344;const _0x392ac8=this['pawn'][_0x4c0be8(0xe8)];(_0x3ca9a8=this[_0x4c0be8(0xf3)])===null||_0x3ca9a8===void 0?void 0:_0x3ca9a8['unpossess'](),(_0x488344=this[_0x4c0be8(0xf3)])===null||_0x488344===void 0?void 0:_0x488344[_0x4c0be8(0x119)](),this['_pawn']=new Orbital(this),this[_0x4c0be8(0xfc)]['possess'](),this['pawn'][_0x4c0be8(0xe8)]=_0x392ac8;}[_0x4fe182(0xab)](_0x400127){const _0x53c43d=_0x4fe182;this['pawn'][_0x53c43d(0xab)](_0x400127);}['destroy'](){const _0x2b0f3a=_0x4fe182;this['clearClickTimer'](),this[_0x2b0f3a(0xfd)]();const _0x2516a6=this[_0x2b0f3a(0x114)][_0x2b0f3a(0xc5)];_0x2516a6&&(_0x2516a6['removeEventListener']('pointerenter',this[_0x2b0f3a(0xfa)]),_0x2516a6[_0x2b0f3a(0xe0)](_0x2b0f3a(0xd7),this[_0x2b0f3a(0xe7)]),this['removeCorePointerListeners']()),this[_0x2b0f3a(0xfc)]['unpossess'](),this[_0x2b0f3a(0xfc)][_0x2b0f3a(0x119)](),this[_0x2b0f3a(0xf3)]=null;}['onPointerMoveEvent'](_0x46a257){const _0x321d84=_0x4fe182;var _0x1b8c10,_0x19ab4f;const _0x4836da=this['viewPort']['canvas'];if(!_0x4836da)throw Error(_0x321d84(0x10b));const _0x23a786=_0x4836da['getBoundingClientRect']();this[_0x321d84(0xae)]['set']((_0x46a257[_0x321d84(0xad)]-_0x23a786[_0x321d84(0xd9)])/_0x4836da[_0x321d84(0x10f)]*0x2-0x1,0x1-(_0x46a257[_0x321d84(0xda)]-_0x23a786[_0x321d84(0xef)])/_0x4836da[_0x321d84(0xa3)]*0x2);if(this[_0x321d84(0xc4)]['size']>0x0)return;const _0x8e21c2=this[_0x321d84(0xc1)](),_0x1be647=(_0x1b8c10=_0x8e21c2===null||_0x8e21c2===void 0?void 0:_0x8e21c2['component'])!==null&&_0x1b8c10!==void 0?_0x1b8c10:null,_0x4e537d=(_0x19ab4f=_0x1be647===null||_0x1be647===void 0?void 0:_0x1be647[_0x321d84(0xb8)])!==null&&_0x19ab4f!==void 0?_0x19ab4f:null;_0x1be647!==this['hoveringComponent']&&(this[_0x321d84(0x110)]&&this['fireComponentHoverEnd'](this[_0x321d84(0x110)]),_0x1be647&&_0x1be647['isHoverEnabled']&&_0x8e21c2&&this[_0x321d84(0x11a)](_0x1be647,_0x8e21c2[_0x321d84(0xe3)])),_0x4e537d!==this['hoveringActor']&&(this[_0x321d84(0xf9)]&&this[_0x321d84(0x110)]&&this[_0x321d84(0xf5)](this['hoveringActor'],this[_0x321d84(0x110)]),_0x4e537d&&_0x1be647&&_0x4e537d['isHoverEnabled']&&_0x8e21c2&&this[_0x321d84(0xdd)](_0x4e537d,_0x1be647,_0x8e21c2[_0x321d84(0xe3)])),this['hoveringComponent']=_0x1be647,this[_0x321d84(0xf9)]=_0x4e537d;}['clearHovering'](){const _0x69ba35=_0x4fe182;this['hoveringComponent']&&this[_0x69ba35(0xbd)](this[_0x69ba35(0x110)]),this[_0x69ba35(0xf9)]&&this[_0x69ba35(0x110)]&&this[_0x69ba35(0xf5)](this[_0x69ba35(0xf9)],this['hoveringComponent']),this['hoveringComponent']=null,this[_0x69ba35(0xf9)]=null;}[_0x4fe182(0xa7)](_0x149bce){const _0x2ec986=_0x4fe182;this[_0x2ec986(0xc4)]['delete'](_0x149bce[_0x2ec986(0xba)]);if(_0x149bce[_0x2ec986(0xba)]!==0x0)return;const _0x5f38a5=this['_tempVec2'][_0x2ec986(0xc7)](this['pointerLeftDownPosition'],this['pointerPosition'])[_0x2ec986(0xfb)]();if(_0x5f38a5>0.005){this[_0x2ec986(0xdc)]();return;}this['prepareClickModifiers']={'ctrlKey':_0x149bce[_0x2ec986(0xa2)],'shiftKey':_0x149bce[_0x2ec986(0x106)],'altKey':_0x149bce[_0x2ec986(0xe4)]},!this['leftClickTimer']?this[_0x2ec986(0xb2)]():this[_0x2ec986(0xb6)]();}[_0x4fe182(0xb2)](){const _0x14cc90=_0x4fe182,_0x254e32=this['getHitResultUnderCursor'](),_0x57a4d5=_0x254e32===null||_0x254e32===void 0?void 0:_0x254e32[_0x14cc90(0xdb)];_0x57a4d5 instanceof SceneComponent&&_0x57a4d5[_0x14cc90(0xea)]&&_0x254e32?(this[_0x14cc90(0xa6)]=_0x57a4d5,this['prepareClickHit']=_0x254e32['hit'],this[_0x14cc90(0xca)]=window['setTimeout'](()=>{const _0xb0b5f4=_0x14cc90;this['leftClickTimer']=null,this['prepareClickComponent']&&this[_0xb0b5f4(0xbc)]&&(this[_0xb0b5f4(0xd8)](this[_0xb0b5f4(0xa6)],this[_0xb0b5f4(0xbc)],![]),this[_0xb0b5f4(0xa6)]=null,this['prepareClickHit']=null);},this[_0x14cc90(0xd0)])):this['_onClickNothingDelegate'][_0x14cc90(0xa4)]();}[_0x4fe182(0xb6)](){const _0x194c8f=_0x4fe182;this[_0x194c8f(0xdc)](),this[_0x194c8f(0xa6)]&&this['prepareClickHit']?this[_0x194c8f(0xd8)](this['prepareClickComponent'],this[_0x194c8f(0xbc)],!![]):this[_0x194c8f(0xd3)][_0x194c8f(0xa4)](),this[_0x194c8f(0xa6)]=null,this[_0x194c8f(0xbc)]=null;}[_0x4fe182(0x117)](_0x5010a5){const _0x13be6c=_0x4fe182;this['_pointButtonIsDown'][_0x13be6c(0xc0)](_0x5010a5['button']);_0x5010a5[_0x13be6c(0xba)]===0x0&&this['pointerLeftDownPosition'][_0x13be6c(0xb5)](this[_0x13be6c(0xae)]);const _0x25cbde=this[_0x13be6c(0xc1)](),_0x121020=_0x25cbde===null||_0x25cbde===void 0?void 0:_0x25cbde[_0x13be6c(0xdb)];_0x121020 instanceof SceneComponent&&_0x25cbde&&this[_0x13be6c(0xcc)](_0x121020,_0x25cbde[_0x13be6c(0xe3)],_0x5010a5[_0x13be6c(0xba)]);}[_0x4fe182(0xe6)](_0x1aa89b){const _0x4833ef=_0x4fe182;this[_0x4833ef(0xbe)]();}[_0x4fe182(0xc2)](_0x20cb78){this['removeCorePointerListeners']();}['fireComponentHoverBegin'](_0x3453e4,_0x25825b){const _0x1e9925=_0x4fe182,_0x3cdbdc={'component':_0x3453e4,'hit':_0x25825b,'handled':![]};this[_0x1e9925(0x11b)][_0x1e9925(0xa4)](_0x3cdbdc),!_0x3cdbdc[_0x1e9925(0xbb)]&&_0x3453e4['onHorveringBegin']();}[_0x4fe182(0xbd)](_0x4c9921){const _0x528508=_0x4fe182,_0x21e768={'component':_0x4c9921,'hit':null,'handled':![]};this['_onComponentHoverEndDelegate'][_0x528508(0xa4)](_0x21e768),!_0x21e768[_0x528508(0xbb)]&&_0x4c9921[_0x528508(0xa0)]();}[_0x4fe182(0xec)](_0x1c1e76,_0x2d0c41,_0x4f322b){const _0x5337b9=_0x4fe182,_0xc8b3c=Object[_0x5337b9(0xe2)]({'component':_0x1c1e76,'hit':_0x2d0c41,'handled':![]},this[_0x5337b9(0x10d)]);_0x4f322b?(this['_onComponentDoubleClickDelegate'][_0x5337b9(0xa4)](_0xc8b3c),!_0xc8b3c[_0x5337b9(0xbb)]&&_0x1c1e76['onDoubleClicked']()):(this[_0x5337b9(0x105)]['broadcast'](_0xc8b3c),!_0xc8b3c[_0x5337b9(0xbb)]&&_0x1c1e76[_0x5337b9(0x116)]());}[_0x4fe182(0xcc)](_0x31cf51,_0x1d8176,_0x1706f9){const _0x19f8c5=_0x4fe182,_0x310023={'component':_0x31cf51,'hit':_0x1d8176,'button':_0x1706f9,'handled':![]};this[_0x19f8c5(0xe5)]['broadcast'](_0x310023);}[_0x4fe182(0xdd)](_0x2a1f2a,_0x2a8fd9,_0x1a34ee){const _0x46bb3c=_0x4fe182,_0xb9ac6e={'actor':_0x2a1f2a,'component':_0x2a8fd9,'hit':_0x1a34ee,'handled':![]};this[_0x46bb3c(0x107)]['broadcast'](_0xb9ac6e),!_0xb9ac6e['handled']&&_0x2a1f2a['onActorHoverBegin'](_0x2a8fd9);}['fireActorHoverEnd'](_0x148f48,_0x4609ed){const _0x50b809=_0x4fe182,_0x18e93c={'actor':_0x148f48,'component':_0x4609ed,'hit':null,'handled':![]};this['_onActorHoverEndDelegate']['broadcast'](_0x18e93c),!_0x18e93c['handled']&&_0x148f48[_0x50b809(0x10a)](_0x4609ed);}['fireActorClick'](_0x4f7a31,_0x461616,_0x4b2b70,_0x5aac33){const _0x2ac862=_0x4fe182,_0x27fcfd=Object[_0x2ac862(0xe2)]({'actor':_0x4f7a31,'component':_0x461616,'hit':_0x4b2b70,'handled':![]},this[_0x2ac862(0x10d)]);_0x5aac33?(this['_onActorDoubleClickDelegate'][_0x2ac862(0xa4)](_0x27fcfd),!_0x27fcfd[_0x2ac862(0xbb)]&&_0x4f7a31[_0x2ac862(0xf6)](_0x461616)):(this['_onActorClickDelegate'][_0x2ac862(0xa4)](_0x27fcfd),!_0x27fcfd[_0x2ac862(0xbb)]&&_0x4f7a31[_0x2ac862(0x103)](_0x461616));}[_0x4fe182(0xd8)](_0x5249bc,_0xca7635,_0x52aac7){const _0x35e817=_0x4fe182;this[_0x35e817(0xec)](_0x5249bc,_0xca7635,_0x52aac7);const _0x533fb3=_0x5249bc[_0x35e817(0xb8)];_0x533fb3&&_0x533fb3['isClickEnabled']&&this[_0x35e817(0xf7)](_0x533fb3,_0x5249bc,_0xca7635,_0x52aac7);}['clearClickTimer'](){const _0x18b274=_0x4fe182;this[_0x18b274(0xca)]&&(window[_0x18b274(0x104)](this[_0x18b274(0xca)]),this[_0x18b274(0xca)]=null);}[_0x4fe182(0xbe)](){const _0x4c6edd=_0x4fe182,_0x491d6a=this[_0x4c6edd(0x114)][_0x4c6edd(0xc5)];if(!_0x491d6a)return;_0x491d6a[_0x4c6edd(0xcb)](_0x4c6edd(0xd6),this[_0x4c6edd(0xe9)]),_0x491d6a[_0x4c6edd(0xcb)](_0x4c6edd(0xb3),this['onPointerUp']),_0x491d6a[_0x4c6edd(0xcb)](_0x4c6edd(0xb1),this[_0x4c6edd(0xc9)]);}[_0x4fe182(0xf0)](){const _0x543329=_0x4fe182,_0x33b4f5=this[_0x543329(0x114)][_0x543329(0xc5)];if(!_0x33b4f5)return;_0x33b4f5['removeEventListener'](_0x543329(0xd6),this[_0x543329(0xe9)]),_0x33b4f5['removeEventListener'](_0x543329(0xb3),this[_0x543329(0xce)]),_0x33b4f5[_0x543329(0xe0)](_0x543329(0xb1),this[_0x543329(0xc9)]);}[_0x4fe182(0xc1)](){const _0xe9b5ab=_0x4fe182;return this['getHitResultFromScreenPoint'](this[_0xe9b5ab(0xae)]['x'],this[_0xe9b5ab(0xae)]['y']);}[_0x4fe182(0xfe)](_0x171128,_0x255fb6){const _0x1f610b=_0x4fe182;this[_0x1f610b(0xc8)]['set'](_0x171128,_0x255fb6),this[_0x1f610b(0xb4)][_0x1f610b(0x118)](this[_0x1f610b(0xc8)],this[_0x1f610b(0xa8)]);const _0x373f25=this[_0x1f610b(0xf8)](_0x171128,_0x255fb6);for(const _0x414ac5 of _0x373f25){const _0x2897ba=_0x414ac5['component'][_0x1f610b(0xd5)]||_0x414ac5[_0x1f610b(0xdb)][_0x1f610b(0xea)],_0x16391f=_0x414ac5['component'][_0x1f610b(0xb8)],_0x16d2ed=_0x16391f&&(_0x16391f[_0x1f610b(0xd5)]||_0x16391f[_0x1f610b(0xea)]);if(!_0x2897ba&&!_0x16d2ed)continue;return _0x414ac5;}return null;}[_0x4fe182(0xf8)](_0xd50f64,_0x318170){const _0x273c15=_0x4fe182;this['_raycastVec2'][_0x273c15(0xf4)](_0xd50f64,_0x318170),this['raycaster'][_0x273c15(0x118)](this[_0x273c15(0xc8)],this[_0x273c15(0xa8)]);const _0x50a3fe=this[_0x273c15(0xb4)]['intersectObjects'](this[_0x273c15(0xed)][_0x273c15(0xa9)][_0x273c15(0x113)],!![]),_0x36a847=[];for(const _0x3155fc of _0x50a3fe){if(_0x3155fc[_0x273c15(0xb7)][_0x273c15(0xa1)][_0x273c15(0xe1)])continue;const _0x2a4075=_0x3155fc[_0x273c15(0xb7)]['userData']['LYObject'];if(!_0x2a4075)continue;_0x36a847[_0x273c15(0xdf)]({'component':_0x2a4075,'hit':_0x3155fc});}return _0x36a847;}[_0x4fe182(0xf1)](_0x1299be,_0x2d72f4,_0x3dcc56,_0xeaac2a,_0x21bdc6=null,_0x32d132=null){const _0x200462=_0x4fe182;this[_0x200462(0xfc)]['focusTo'](_0x1299be,_0x2d72f4,_0x3dcc56,_0xeaac2a,_0x21bdc6,_0x32d132);}}
|
|
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
|
-
const
|
|
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
|
-
|
|
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
|
-
(function(
|
|
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 _0x1849cf=_0x3293;(function(_0x2a6ca4,_0x11813e){const _0x293d32=_0x3293,_0x163693=_0x2a6ca4();while(!![]){try{const _0x310dd6=parseInt(_0x293d32(0x232))/0x1+-parseInt(_0x293d32(0x1f3))/0x2*(-parseInt(_0x293d32(0x20d))/0x3)+parseInt(_0x293d32(0x1fd))/0x4*(-parseInt(_0x293d32(0x23f))/0x5)+-parseInt(_0x293d32(0x21e))/0x6+parseInt(_0x293d32(0x21f))/0x7*(parseInt(_0x293d32(0x247))/0x8)+parseInt(_0x293d32(0x234))/0x9+parseInt(_0x293d32(0x21d))/0xa*(-parseInt(_0x293d32(0x20a))/0xb);if(_0x310dd6===_0x11813e)break;else _0x163693['push'](_0x163693['shift']());}catch(_0x2417d9){_0x163693['push'](_0x163693['shift']());}}}(_0x12ed,0x56289));function _0x3293(_0x58b573,_0x4f0568){_0x58b573=_0x58b573-0x1e8;const _0x12ed4f=_0x12ed();let _0x3293b9=_0x12ed4f[_0x58b573];return _0x3293b9;}function _0x12ed(){const _0x27a8f9=['_onHoverEndDelegate','forEach','getWorldScale','onActorClick','_world','_rootComponent','_onClickDelegate','getWorldForwardDirection','removeComponent','sub','setWorldMatrix','addComponent','getPosition','2iaInbP','getWorldPosition','getBoundsCenterPosition','Actor','max','getComponents','length','destroyChildren','delete','worldToLocal','25196SMTtgA','getWorldRotation','getBoundsTopCenterPosition','_onDoubleClickDelegate','isTickEnabled','onHoverBeginDelegate','onActorDoubleClick','app','Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent','addChildComponent','onAddedToWorld','attachComponent','destroy','337711OhJZlO','detachComponent','getScale','1312257KLTkjX','getChildActorById','LYObject','threeObject','setPosition','world','setLayers','viewport','isVisible','name','isHoverEnabled','setRotation','setScale','tick','has','setQuaternion','210nvfNWB','2693334piAYIy','105IjBFZc','rootComponent','removeTickableActor','KeepWorld','onDoubleClickDelegate','childrenComponents','_onHoverBeginDelegate','userData','parentActor','addLocalOffset','getChildActorsByIds','_name','onClickDelegate','addChildActor','removeChildActor','isClickEnabled','getCenter','size','getWorldRightDirection','671258GIFdQL','childActors','3854745GCzCIf','getRotation','uuid','getComponentById','getWorldMatrix','push','rootComponent\x20is\x20invalid','error','KeepRelative','getBounds','detachFromParentComponent','515ABxIDX','min','getWorldQuaternion','getBoundsBottomCenterPosition','setVisible','broadcast','getQuaternion','localToWorld','297776QXyxEr','addTickableActor'];_0x12ed=function(){return _0x27a8f9;};return _0x12ed();}class Actor extends BaseObject{get['world'](){return this['_world'];}get[_0x1849cf(0x216)](){return this['_name'];}set[_0x1849cf(0x216)](_0x1db262){const _0x38c64f=_0x1849cf;this[_0x38c64f(0x22a)]=_0x1db262;}get[_0x1849cf(0x220)](){const _0x3dd4ea=_0x1849cf;if(!this[_0x3dd4ea(0x1eb)])throw Error(_0x3dd4ea(0x23a));return this[_0x3dd4ea(0x1eb)];}set['rootComponent'](_0x215c07){const _0x18a043=_0x1849cf;_0x215c07[_0x18a043(0x23e)](),_0x215c07[_0x18a043(0x227)]=this;if(this['_rootComponent']){let _0x1e1c7a=this[_0x18a043(0x220)][_0x18a043(0x224)];for(let _0x37e532=0x0;_0x37e532<_0x1e1c7a[_0x18a043(0x1f9)];++_0x37e532){_0x215c07[_0x18a043(0x206)](_0x1e1c7a[_0x37e532]);}this[_0x18a043(0x220)][_0x18a043(0x209)]();}this[_0x18a043(0x1eb)]=_0x215c07;}get[_0x1849cf(0x224)](){const _0x13c885=_0x1849cf;return this[_0x13c885(0x220)][_0x13c885(0x224)];}get['childActors'](){const _0x477de3=_0x1849cf;var _0x1c70d9;let _0x3cdcbe=[];return (_0x1c70d9=this[_0x477de3(0x220)][_0x477de3(0x210)])===null||_0x1c70d9===void 0?void 0:_0x1c70d9['children']['forEach'](_0x494783=>{const _0x3627f2=_0x477de3;var _0x38af5a;let _0xa294d5=(_0x38af5a=_0x494783[_0x3627f2(0x226)][_0x3627f2(0x20f)])===null||_0x38af5a===void 0?void 0:_0x38af5a['parentActor'];_0xa294d5!==this&&_0xa294d5 instanceof Actor&&_0x3cdcbe[_0x3627f2(0x239)](_0xa294d5);}),_0x3cdcbe;}get[_0x1849cf(0x227)](){const _0x312363=_0x1849cf;var _0x4cb71b,_0x20fb66;let _0x50e7fa=(_0x20fb66=(_0x4cb71b=this[_0x312363(0x220)][_0x312363(0x210)])===null||_0x4cb71b===void 0?void 0:_0x4cb71b['parent'])===null||_0x20fb66===void 0?void 0:_0x20fb66[_0x312363(0x226)][_0x312363(0x20f)][_0x312363(0x227)];return _0x50e7fa===this?null:_0x50e7fa;}get[_0x1849cf(0x215)](){const _0x444d7f=_0x1849cf;return this[_0x444d7f(0x220)]?this[_0x444d7f(0x220)]['isVisible']:![];}get[_0x1849cf(0x201)](){return super['isTickEnabled'];}set[_0x1849cf(0x201)](_0x19402d){const _0x399ee9=_0x1849cf;super[_0x399ee9(0x201)]=_0x19402d,this[_0x399ee9(0x201)]?this['app']['world'][_0x399ee9(0x248)](this):this[_0x399ee9(0x204)][_0x399ee9(0x212)][_0x399ee9(0x221)](this);}get[_0x1849cf(0x202)](){const _0x4c8210=_0x1849cf;return this[_0x4c8210(0x225)];}get['onHoverEndDelegate'](){return this['_onHoverEndDelegate'];}get[_0x1849cf(0x22b)](){const _0x940bb1=_0x1849cf;return this[_0x940bb1(0x1ec)];}get[_0x1849cf(0x223)](){const _0x278691=_0x1849cf;return this[_0x278691(0x200)];}constructor(_0x129111,_0x2d271){const _0x57047d=_0x1849cf;super(_0x2d271),this[_0x57047d(0x22a)]=_0x57047d(0x1f6),this['_rootComponent']=null,this[_0x57047d(0x1ea)]=null,this[_0x57047d(0x225)]=new Delegate(),this[_0x57047d(0x249)]=new Delegate(),this['_onClickDelegate']=new Delegate(),this[_0x57047d(0x200)]=new Delegate(),this[_0x57047d(0x204)]=_0x129111,this[_0x57047d(0x220)]=this['constructRootComponent'](),this['rootComponent'][_0x57047d(0x227)]=this;}['constructRootComponent'](){const _0x499baf=_0x1849cf;return new SceneComponent(this[_0x499baf(0x204)]);}[_0x1849cf(0x1f5)](_0x92d2d8=!![]){const _0x20a167=_0x1849cf;let _0x4f86f8=new webgpu.Vector3();return this[_0x20a167(0x23d)]()['getCenter'](_0x4f86f8),!_0x92d2d8?_0x4f86f8['sub'](this['getPosition']()):_0x4f86f8;}[_0x1849cf(0x20e)](_0x3d2496,_0x3dcaac=!![]){const _0x1864f9=_0x1849cf,_0x7d29e0=this['childActors'];for(const _0x133359 of _0x7d29e0){if(_0x133359['uuid']===_0x3d2496)return _0x133359;}if(_0x3dcaac)for(const _0x313f87 of _0x7d29e0){const _0x20d178=_0x313f87[_0x1864f9(0x20e)](_0x3d2496,!![]);if(_0x20d178)return _0x20d178;}return null;}[_0x1849cf(0x229)](_0x365d0,_0x1a3c00=!![]){const _0x48d823=_0x1849cf,_0x5e0e20=[],_0x197914=new Set(_0x365d0),_0x516c22=this[_0x48d823(0x233)];for(const _0x3866e1 of _0x516c22){_0x197914[_0x48d823(0x21b)](_0x3866e1[_0x48d823(0x236)])&&(_0x5e0e20[_0x48d823(0x239)](_0x3866e1),_0x197914[_0x48d823(0x1fb)](_0x3866e1['uuid']));}if(_0x1a3c00&&_0x197914[_0x48d823(0x230)]>0x0)for(const _0x2e3a6c of _0x516c22){const _0x4c0789=_0x2e3a6c[_0x48d823(0x229)]([..._0x197914],!![]);for(const _0x434bd5 of _0x4c0789){_0x5e0e20[_0x48d823(0x239)](_0x434bd5),_0x197914['delete'](_0x434bd5[_0x48d823(0x236)]);}if(_0x197914[_0x48d823(0x230)]===0x0)break;}return _0x5e0e20;}[_0x1849cf(0x237)](_0x3a11d3){const _0x252371=_0x1849cf;return this[_0x252371(0x220)]['getComponentById'](_0x3a11d3);}[_0x1849cf(0x1ff)](_0x24e3da=!![]){const _0xd4b04=_0x1849cf;let _0x251c82=new webgpu.Vector3(),_0x5b5d31=this[_0xd4b04(0x220)]['getBounds']();return _0x5b5d31[_0xd4b04(0x22f)](_0x251c82),_0x251c82['y']=_0x5b5d31[_0xd4b04(0x1f7)]['y'],!_0x24e3da?_0x251c82[_0xd4b04(0x1ef)](this['getPosition']()):_0x251c82;}[_0x1849cf(0x242)](_0x1b5191=!![]){const _0x139e98=_0x1849cf;let _0x40a6f3=new webgpu.Vector3(),_0x4ddf3b=this['getBounds']();return _0x4ddf3b[_0x139e98(0x22f)](_0x40a6f3),_0x40a6f3['y']=_0x4ddf3b[_0x139e98(0x240)]['y'],!_0x1b5191?_0x40a6f3['sub'](this[_0x139e98(0x1f2)]()):_0x40a6f3;}[_0x1849cf(0x23d)](){const _0x4fefae=_0x1849cf;return this[_0x4fefae(0x220)][_0x4fefae(0x23d)]();}['destroy'](){const _0x8a4272=_0x1849cf;let _0x13611f=this[_0x8a4272(0x233)];_0x13611f['forEach'](_0x323bad=>{const _0x57304e=_0x8a4272;_0x323bad[_0x57304e(0x209)]();}),this[_0x8a4272(0x220)][_0x8a4272(0x209)]();}[_0x1849cf(0x243)](_0x238b7b){const _0x58af9d=_0x1849cf;this['rootComponent'][_0x58af9d(0x243)](_0x238b7b);}[_0x1849cf(0x213)](_0x284df8,_0x9ea4c5=!![]){const _0x2e6f80=_0x1849cf;this['rootComponent'][_0x2e6f80(0x213)](_0x284df8),_0x9ea4c5&&this[_0x2e6f80(0x233)]['forEach'](_0x3051c8=>{const _0x48e163=_0x2e6f80;_0x3051c8[_0x48e163(0x213)](_0x284df8,_0x9ea4c5);});}[_0x1849cf(0x21a)](_0x16129a){const _0x32c38f=_0x1849cf;if(!this[_0x32c38f(0x201)])return;super[_0x32c38f(0x21a)](_0x16129a),this[_0x32c38f(0x220)][_0x32c38f(0x21a)](_0x16129a);}[_0x1849cf(0x1f2)](){const _0x24dc75=_0x1849cf;return this['rootComponent'][_0x24dc75(0x1f2)]();}['setPosition'](..._0x25c829){const _0x5541b1=_0x1849cf;_0x25c829[_0x5541b1(0x1f9)]===0x1?this[_0x5541b1(0x220)]['setPosition'](_0x25c829[0x0]):this[_0x5541b1(0x220)][_0x5541b1(0x211)](_0x25c829[0x0],_0x25c829[0x1],_0x25c829[0x2]);}['getRotation'](){const _0x44066f=_0x1849cf;return this[_0x44066f(0x220)][_0x44066f(0x235)]();}[_0x1849cf(0x218)](..._0x51bb4e){const _0x484fc9=_0x1849cf;_0x51bb4e[_0x484fc9(0x1f9)]===0x1?this[_0x484fc9(0x220)][_0x484fc9(0x218)](_0x51bb4e[0x0]):this['rootComponent'][_0x484fc9(0x218)](_0x51bb4e[0x0],_0x51bb4e[0x1],_0x51bb4e[0x2]);}[_0x1849cf(0x245)](){const _0x3a883a=_0x1849cf;return this[_0x3a883a(0x220)][_0x3a883a(0x245)]();}[_0x1849cf(0x21c)](..._0x45abff){const _0x3f0c4b=_0x1849cf;_0x45abff['length']===0x1?this[_0x3f0c4b(0x220)][_0x3f0c4b(0x21c)](_0x45abff[0x0]):this[_0x3f0c4b(0x220)][_0x3f0c4b(0x21c)](_0x45abff[0x0],_0x45abff[0x1],_0x45abff[0x2],_0x45abff[0x3]);}[_0x1849cf(0x20c)](){const _0x20381b=_0x1849cf;return this[_0x20381b(0x220)][_0x20381b(0x20c)]();}[_0x1849cf(0x219)](..._0x3c8064){const _0x52be0c=_0x1849cf;_0x3c8064[_0x52be0c(0x1f9)]===0x1?this[_0x52be0c(0x220)][_0x52be0c(0x219)](_0x3c8064[0x0]):this[_0x52be0c(0x220)][_0x52be0c(0x219)](_0x3c8064[0x0],_0x3c8064[0x1],_0x3c8064[0x2]);}[_0x1849cf(0x238)](){const _0x409fa0=_0x1849cf;return this[_0x409fa0(0x220)]['getWorldMatrix']();}[_0x1849cf(0x1f0)](_0x42b124){const _0x160a51=_0x1849cf;this[_0x160a51(0x220)][_0x160a51(0x1f0)](_0x42b124);}['getWorldPosition'](){const _0xef4d9c=_0x1849cf;return this[_0xef4d9c(0x220)][_0xef4d9c(0x1f4)]();}[_0x1849cf(0x1fe)](){const _0x4e08f0=_0x1849cf;return this[_0x4e08f0(0x220)][_0x4e08f0(0x1fe)]();}[_0x1849cf(0x241)](){const _0xb473e5=_0x1849cf;return this['rootComponent'][_0xb473e5(0x241)]();}[_0x1849cf(0x1e8)](){const _0x5b8ea6=_0x1849cf;return this[_0x5b8ea6(0x220)][_0x5b8ea6(0x1e8)]();}[_0x1849cf(0x1ed)](){const _0x5f9c7b=_0x1849cf;return this['rootComponent'][_0x5f9c7b(0x1ed)]();}['getWorldUpDirection'](){const _0x349e26=_0x1849cf;return this[_0x349e26(0x220)]['getWorldUpDirection']();}[_0x1849cf(0x231)](){const _0x592d6e=_0x1849cf;return this[_0x592d6e(0x220)]['getWorldRightDirection']();}[_0x1849cf(0x228)](_0x4b5844,_0x1a7e1d){const _0x48a82a=_0x1849cf;let _0x476640=this[_0x48a82a(0x1f2)]();this[_0x48a82a(0x211)](_0x476640['x']+_0x4b5844['x']*_0x1a7e1d,_0x476640['y']+_0x4b5844['y']*_0x1a7e1d,_0x476640['z']+_0x4b5844['z']*_0x1a7e1d);}[_0x1849cf(0x1fc)](_0x76af25){const _0x9053f8=_0x1849cf;return this[_0x9053f8(0x220)]['worldToLocal'](_0x76af25);}[_0x1849cf(0x246)](_0x21774c){const _0x20d55d=_0x1849cf;return this[_0x20d55d(0x220)][_0x20d55d(0x246)](_0x21774c);}[_0x1849cf(0x1f8)](){const _0x48ff30=_0x1849cf;return this[_0x48ff30(0x220)][_0x48ff30(0x224)];}[_0x1849cf(0x1f1)](_0x4c4c29,_0x2b85b3=exports.AttachmentRules[_0x1849cf(0x23c)]){const _0x58e8cf=_0x1849cf;this['rootComponent'][_0x58e8cf(0x206)](_0x4c4c29,_0x2b85b3),this[_0x58e8cf(0x1ea)]&&_0x4c4c29[_0x58e8cf(0x207)](this['_world']);}[_0x1849cf(0x1ee)](_0x4f7c16){const _0x14e0df=_0x1849cf;if(_0x4f7c16===this[_0x14e0df(0x1eb)])return;this[_0x14e0df(0x220)]['removeChildComponent'](_0x4f7c16);}['clearComponent'](){const _0x385097=_0x1849cf;this['rootComponent'][_0x385097(0x1fa)]();}[_0x1849cf(0x22c)](_0x4adcb7,_0x344ed8=exports.AttachmentRules[_0x1849cf(0x222)]){const _0x21d3ec=_0x1849cf;if(!_0x4adcb7[_0x21d3ec(0x220)]){console[_0x21d3ec(0x23b)](_0x21d3ec(0x205));return;}if(_0x4adcb7[_0x21d3ec(0x227)]===this)return;_0x344ed8===exports.AttachmentRules[_0x21d3ec(0x23c)]&&this[_0x21d3ec(0x220)][_0x21d3ec(0x208)](_0x4adcb7[_0x21d3ec(0x220)]);if(_0x344ed8===exports.AttachmentRules['KeepWorld']){let _0x5abf2e=_0x4adcb7['getWorldMatrix']();this[_0x21d3ec(0x220)]['attachComponent'](_0x4adcb7[_0x21d3ec(0x220)]),_0x4adcb7[_0x21d3ec(0x1f0)](_0x5abf2e);}this[_0x21d3ec(0x1ea)]&&this[_0x21d3ec(0x1ea)][_0x21d3ec(0x214)]['markRenderStateDirty']();}['removeChildActor'](_0x3fbcf1){const _0x274cd5=_0x1849cf;let _0x6c994d=_0x3fbcf1['getWorldMatrix']();this[_0x274cd5(0x220)][_0x274cd5(0x20b)](_0x3fbcf1[_0x274cd5(0x220)]),_0x3fbcf1[_0x274cd5(0x1f0)](_0x6c994d);}['removeFromParent'](){const _0x5270e4=_0x1849cf;this['parentActor']&&this[_0x5270e4(0x227)][_0x5270e4(0x22d)](this);}[_0x1849cf(0x207)](_0x33926c){const _0xf455c2=_0x1849cf;this[_0xf455c2(0x1ea)]=_0x33926c,this[_0xf455c2(0x220)][_0xf455c2(0x207)](this[_0xf455c2(0x1ea)]),this[_0xf455c2(0x233)][_0xf455c2(0x24a)](_0x3ca906=>{const _0x54d23f=_0xf455c2;_0x3ca906[_0x54d23f(0x207)](_0x33926c);});}['onRemovedFromWorld'](){const _0x393460=_0x1849cf;this[_0x393460(0x1ea)]=null;}get[_0x1849cf(0x217)](){const _0x42099d=_0x1849cf;return this['rootComponent'][_0x42099d(0x217)];}set[_0x1849cf(0x217)](_0x527471){const _0x53ebe3=_0x1849cf;this[_0x53ebe3(0x220)][_0x53ebe3(0x217)]=_0x527471;}get[_0x1849cf(0x22e)](){const _0x306c22=_0x1849cf;return this[_0x306c22(0x220)][_0x306c22(0x22e)];}set[_0x1849cf(0x22e)](_0x5cd869){const _0x2f65b7=_0x1849cf;this[_0x2f65b7(0x220)][_0x2f65b7(0x22e)]=_0x5cd869;}['onActorHoverBegin'](_0x3e7a94){const _0x409fae=_0x1849cf;this[_0x409fae(0x225)][_0x409fae(0x244)](_0x3e7a94);}['onActorHoverEnd'](_0xac9c1f){const _0x5a4193=_0x1849cf;this[_0x5a4193(0x249)][_0x5a4193(0x244)](_0xac9c1f);}[_0x1849cf(0x1e9)](_0x149ba7){const _0x283a9a=_0x1849cf;this[_0x283a9a(0x1ec)]['broadcast'](_0x149ba7);}[_0x1849cf(0x203)](_0x3ef40f){const _0xb8b2d5=_0x1849cf;this['_onDoubleClickDelegate'][_0xb8b2d5(0x244)](_0x3ef40f);}}
|
|
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
|
-
const
|
|
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
|
-
function
|
|
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
|
-
var
|
|
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
|
-
var
|
|
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
|
-
(function(
|
|
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
|
-
function _0x8f15(){const _0x24fd3d=['clone','geometryPtr','materialPtr\x20is\x20null','CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...','217KHcjKp','36554375KtnVvo','material','obj','_meshData','meshData','setIndex','release','geometry','push','error','2390605PpFGCz','max','position','normal','121432urqAUN','CustomMeshComponent:\x20threeObject\x20is\x20null','app','min','4RdkjhB','7002840KwXBni','warn','654484kuQhXS','addRef','threeObject','userData','name','colors','setAttribute','map','geometryPtr\x20is\x20null','_materialPtr','length','getCenter','assetManager','_geometryPtr','CustomMeshComponent:\x20Invalid\x20vertices\x20data','216rMwowY','removeFromParent','from','addGeometryAsset','6aHctCR','addMaterialAsset','createDefaultObject','normals','getBoundsBottomCenterPosition','markRenderStateDirty','world','computeVertexNormals','reverse','getValue','castShadow','getBoundsTopCenterPosition','CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:','destroyObject','vertices','calculatePolygonArea','getBounds','materialPtr','constructGeometry','abs','714768eyeREb','uvs','196930hVMRWn','receiveShadow','log','[CustomMeshComponent]\x20Earcut\x20triangulation\x20success:','viewport','LYObject','CustomMeshComponent','indices'];_0x8f15=function(){return _0x24fd3d;};return _0x8f15();}const _0x2b554b=_0x5a8f;(function(_0x5cc680,_0x30d35c){const _0x45ecee=_0x5a8f,_0x479487=_0x5cc680();while(!![]){try{const _0x45076d=parseInt(_0x45ecee(0x144))/0x1+-parseInt(_0x45ecee(0x157))/0x2*(-parseInt(_0x45ecee(0x16b))/0x3)+-parseInt(_0x45ecee(0x141))/0x4*(-parseInt(_0x45ecee(0x139))/0x5)+parseInt(_0x45ecee(0x142))/0x6+-parseInt(_0x45ecee(0x12e))/0x7*(-parseInt(_0x45ecee(0x13d))/0x8)+-parseInt(_0x45ecee(0x153))/0x9*(-parseInt(_0x45ecee(0x16d))/0xa)+-parseInt(_0x45ecee(0x12f))/0xb;if(_0x45076d===_0x30d35c)break;else _0x479487['push'](_0x479487['shift']());}catch(_0x555b28){_0x479487['push'](_0x479487['shift']());}}}(_0x8f15,0x9aec9));function _0x5a8f(_0x33070c,_0x40ed94){_0x33070c=_0x33070c-0x12c;const _0x8f1519=_0x8f15();let _0x5a8fc7=_0x8f1519[_0x33070c];return _0x5a8fc7;}class CustomMeshComponent extends SceneComponent{get['threeObject'](){const _0x34738e=_0x5a8f;if(!this[_0x34738e(0x131)])throw new Error(_0x34738e(0x13e));return this[_0x34738e(0x131)];}set['threeObject'](_0x142ef3){const _0x3c2140=_0x5a8f;this[_0x3c2140(0x131)]=_0x142ef3,this[_0x3c2140(0x131)]&&(this[_0x3c2140(0x131)][_0x3c2140(0x147)][_0x3c2140(0x172)]=this);}get['geometry'](){const _0x1ec06a=_0x5a8f;if(!this['_geometryPtr'])throw new Error('geometryPtr\x20is\x20null');return this[_0x1ec06a(0x151)][_0x1ec06a(0x160)]();}set[_0x2b554b(0x136)](_0x491a66){const _0x4da2c8=_0x2b554b;let _0x168f30=this[_0x4da2c8(0x13f)][_0x4da2c8(0x150)][_0x4da2c8(0x156)](_0x491a66);this['geometryPtr']=_0x168f30;}get[_0x2b554b(0x176)](){const _0xa0d865=_0x2b554b;if(!this[_0xa0d865(0x151)])throw new Error(_0xa0d865(0x14c));return this[_0xa0d865(0x151)];}set[_0x2b554b(0x176)](_0x25de58){const _0x58b5e2=_0x2b554b;this[_0x58b5e2(0x151)]&&(this['_geometryPtr'][_0x58b5e2(0x135)](),this[_0x58b5e2(0x151)]=null);this[_0x58b5e2(0x151)]=_0x25de58;let _0x5a9bf5=_0x25de58[_0x58b5e2(0x160)]();this[_0x58b5e2(0x146)]&&_0x5a9bf5&&(this['threeObject'][_0x58b5e2(0x136)]=_0x5a9bf5);}get['material'](){const _0x2b8403=_0x2b554b;if(!this[_0x2b8403(0x14d)])throw new Error(_0x2b8403(0x12c));let _0x547c21=this[_0x2b8403(0x14d)][_0x2b8403(0x160)]();if(!_0x547c21)throw new Error('material\x20is\x20null');return _0x547c21;}get['materialPtr'](){const _0x5020ac=_0x2b554b;if(!this[_0x5020ac(0x14d)])throw new Error('materialPtr\x20is\x20null');return this[_0x5020ac(0x14d)];}set[_0x2b554b(0x130)](_0x3ac6ed){const _0x582d28=_0x2b554b;let _0x503c1c=this['app'][_0x582d28(0x150)][_0x582d28(0x158)](_0x3ac6ed);this['materialPtr']=_0x503c1c;}set[_0x2b554b(0x168)](_0x111524){const _0x3dac01=_0x2b554b;this[_0x3dac01(0x14d)]&&(this[_0x3dac01(0x14d)][_0x3dac01(0x135)](),this['_materialPtr']=null);this['_materialPtr']=_0x111524;let _0x4c5a62=_0x111524['getValue']();_0x111524[_0x3dac01(0x145)](),this['threeObject']&&_0x4c5a62&&(this[_0x3dac01(0x146)][_0x3dac01(0x130)]=_0x4c5a62);}constructor(_0x530424,_0x37d92e,_0x566a71,_0x3d546a){const _0x22c1fb=_0x2b554b;super(_0x530424,_0x3d546a),this[_0x22c1fb(0x132)]=_0x37d92e;let _0x31bb76=_0x530424[_0x22c1fb(0x150)][_0x22c1fb(0x158)](_0x566a71);this['_materialPtr']=_0x31bb76,_0x31bb76[_0x22c1fb(0x145)]();const _0x1df483=this[_0x22c1fb(0x169)](_0x37d92e);this['_geometryPtr']=_0x530424[_0x22c1fb(0x150)][_0x22c1fb(0x156)](_0x1df483),this[_0x22c1fb(0x146)][_0x22c1fb(0x130)]=_0x566a71,this[_0x22c1fb(0x146)][_0x22c1fb(0x136)]=_0x1df483,this[_0x22c1fb(0x148)]=_0x22c1fb(0x173);}[_0x2b554b(0x166)](_0x275eb3){const _0x1be012=_0x2b554b;let _0x415beb=0x0;const _0x5befed=_0x275eb3[_0x1be012(0x14e)]/0x2;for(let _0x295bac=0x0;_0x295bac<_0x5befed;_0x295bac++){const _0x1d045e=(_0x295bac+0x1)%_0x5befed,_0x51d8d3=_0x275eb3[_0x295bac*0x2],_0x1d56cd=_0x275eb3[_0x295bac*0x2+0x1],_0x105d8b=_0x275eb3[_0x1d045e*0x2],_0x349f38=_0x275eb3[_0x1d045e*0x2+0x1];_0x415beb+=_0x51d8d3*_0x349f38-_0x105d8b*_0x1d56cd;}return _0x415beb/0x2;}['constructGeometry'](_0x281577){const _0x3015a2=_0x2b554b,_0x34df18=new webgpu.BufferGeometry();if(!_0x281577[_0x3015a2(0x165)]||_0x281577[_0x3015a2(0x165)][_0x3015a2(0x14e)]===0x0)return console[_0x3015a2(0x138)](_0x3015a2(0x152)),_0x34df18;const _0x547c41=new Float32Array(_0x281577[_0x3015a2(0x165)][_0x3015a2(0x14e)]*0x3);for(let _0x4a0f08=0x0;_0x4a0f08<_0x281577[_0x3015a2(0x165)][_0x3015a2(0x14e)];_0x4a0f08++){_0x547c41[_0x4a0f08*0x3]=_0x281577[_0x3015a2(0x165)][_0x4a0f08]['x'],_0x547c41[_0x4a0f08*0x3+0x1]=_0x281577['vertices'][_0x4a0f08]['y'],_0x547c41[_0x4a0f08*0x3+0x2]=_0x281577[_0x3015a2(0x165)][_0x4a0f08]['z'];}_0x34df18[_0x3015a2(0x14a)](_0x3015a2(0x13b),new webgpu.Float32BufferAttribute(_0x547c41,0x3));if(_0x281577[_0x3015a2(0x174)]&&_0x281577['indices'][_0x3015a2(0x14e)]>0x0)_0x34df18['setIndex'](_0x281577[_0x3015a2(0x174)]);else {const _0x2904fc=[];let _0x448532=Infinity,_0x4168fc=-Infinity,_0x2fce6a=Infinity,_0xc1aabb=-Infinity,_0x2075e4=Infinity,_0x432f8b=-Infinity;for(let _0x321acb=0x0;_0x321acb<_0x281577[_0x3015a2(0x165)][_0x3015a2(0x14e)];_0x321acb++){const _0x54dde8=_0x281577[_0x3015a2(0x165)][_0x321acb];_0x2fce6a=Math['min'](_0x2fce6a,_0x54dde8['x']),_0xc1aabb=Math['max'](_0xc1aabb,_0x54dde8['x']),_0x448532=Math[_0x3015a2(0x140)](_0x448532,_0x54dde8['y']),_0x4168fc=Math[_0x3015a2(0x13a)](_0x4168fc,_0x54dde8['y']),_0x2075e4=Math[_0x3015a2(0x140)](_0x2075e4,_0x54dde8['z']),_0x432f8b=Math[_0x3015a2(0x13a)](_0x432f8b,_0x54dde8['z']);}const _0x268255=_0xc1aabb-_0x2fce6a,_0x46c602=_0x4168fc-_0x448532,_0x235b5d=_0x432f8b-_0x2075e4;let _0x5c961b='XY';if(_0x46c602<=_0x268255&&_0x46c602<=_0x235b5d){_0x5c961b='XZ';for(let _0x414da6=0x0;_0x414da6<_0x281577['vertices']['length'];_0x414da6++){_0x2904fc[_0x3015a2(0x137)](_0x281577[_0x3015a2(0x165)][_0x414da6]['x']),_0x2904fc[_0x3015a2(0x137)](_0x281577[_0x3015a2(0x165)][_0x414da6]['z']);}}else {if(_0x268255<=_0x46c602&&_0x268255<=_0x235b5d){_0x5c961b='YZ';for(let _0x128cf8=0x0;_0x128cf8<_0x281577[_0x3015a2(0x165)][_0x3015a2(0x14e)];_0x128cf8++){_0x2904fc[_0x3015a2(0x137)](_0x281577[_0x3015a2(0x165)][_0x128cf8]['y']),_0x2904fc[_0x3015a2(0x137)](_0x281577[_0x3015a2(0x165)][_0x128cf8]['z']);}}else {_0x5c961b='XY';for(let _0x2da89b=0x0;_0x2da89b<_0x281577['vertices']['length'];_0x2da89b++){_0x2904fc[_0x3015a2(0x137)](_0x281577[_0x3015a2(0x165)][_0x2da89b]['x']),_0x2904fc[_0x3015a2(0x137)](_0x281577[_0x3015a2(0x165)][_0x2da89b]['y']);}}}const _0xa6af56=this['calculatePolygonArea'](_0x2904fc),_0x546e64=_0xa6af56<0x0;if(_0x546e64){console[_0x3015a2(0x143)](_0x3015a2(0x12d)),_0x2904fc[_0x3015a2(0x15f)]();const _0x19be7a=[];for(let _0x168deb=_0x2904fc[_0x3015a2(0x14e)]-0x2;_0x168deb>=0x0;_0x168deb-=0x2){_0x19be7a[_0x3015a2(0x137)](_0x2904fc[_0x168deb],_0x2904fc[_0x168deb+0x1]);}_0x2904fc['length']=0x0,_0x2904fc['push'](..._0x19be7a);}try{const _0x24bdd3=_0x2d3ee0(_0x2904fc,undefined,0x2);if(_0x24bdd3&&_0x24bdd3['length']>0x0){if(_0x546e64)for(let _0x3964dc=0x0;_0x3964dc<_0x24bdd3[_0x3015a2(0x14e)];_0x3964dc+=0x3){const _0x5bab11=_0x24bdd3[_0x3964dc];_0x24bdd3[_0x3964dc]=_0x24bdd3[_0x3964dc+0x2],_0x24bdd3[_0x3964dc+0x2]=_0x5bab11;}_0x34df18[_0x3015a2(0x134)](_0x24bdd3),console[_0x3015a2(0x16f)](_0x3015a2(0x170),{'planeType':_0x5c961b,'vertexCount':_0x281577[_0x3015a2(0x165)][_0x3015a2(0x14e)],'triangleCount':_0x24bdd3[_0x3015a2(0x14e)]/0x3,'area':Math[_0x3015a2(0x16a)](_0xa6af56),'wasClockwise':_0x546e64,'indices':Array[_0x3015a2(0x155)](_0x24bdd3)});}else console[_0x3015a2(0x143)]('CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result');}catch(_0x2f0ab0){console[_0x3015a2(0x138)](_0x3015a2(0x163),_0x2f0ab0);}}if(_0x281577['normals']&&_0x281577[_0x3015a2(0x15a)][_0x3015a2(0x14e)]===_0x281577[_0x3015a2(0x165)]['length']){const _0x22ec55=new Float32Array(_0x281577['normals'][_0x3015a2(0x14e)]*0x3);for(let _0x273ad0=0x0;_0x273ad0<_0x281577['normals']['length'];_0x273ad0++){_0x22ec55[_0x273ad0*0x3]=_0x281577['normals'][_0x273ad0]['x'],_0x22ec55[_0x273ad0*0x3+0x1]=_0x281577[_0x3015a2(0x15a)][_0x273ad0]['y'],_0x22ec55[_0x273ad0*0x3+0x2]=_0x281577[_0x3015a2(0x15a)][_0x273ad0]['z'];}_0x34df18[_0x3015a2(0x14a)](_0x3015a2(0x13c),new webgpu.Float32BufferAttribute(_0x22ec55,0x3));}else _0x34df18[_0x3015a2(0x15e)]();if(_0x281577[_0x3015a2(0x16c)]&&_0x281577[_0x3015a2(0x16c)][_0x3015a2(0x14e)]>0x0){const _0x29eb76=new Float32Array(_0x281577['uvs'][_0x3015a2(0x14e)]*0x2);for(let _0x512c9e=0x0;_0x512c9e<_0x281577[_0x3015a2(0x16c)][_0x3015a2(0x14e)];_0x512c9e++){_0x29eb76[_0x512c9e*0x2]=_0x281577[_0x3015a2(0x16c)][_0x512c9e]['x'],_0x29eb76[_0x512c9e*0x2+0x1]=_0x281577[_0x3015a2(0x16c)][_0x512c9e]['y'];}_0x34df18['setAttribute']('uv',new webgpu.Float32BufferAttribute(_0x29eb76,0x2));}if(_0x281577['colors']&&_0x281577[_0x3015a2(0x149)]['length']===_0x281577[_0x3015a2(0x165)]['length']){const _0x2aad13=new Float32Array(_0x281577[_0x3015a2(0x149)]['length']*0x3);for(let _0x219a1c=0x0;_0x219a1c<_0x281577['colors']['length'];_0x219a1c++){_0x2aad13[_0x219a1c*0x3]=_0x281577[_0x3015a2(0x149)][_0x219a1c]['r'],_0x2aad13[_0x219a1c*0x3+0x1]=_0x281577[_0x3015a2(0x149)][_0x219a1c]['g'],_0x2aad13[_0x219a1c*0x3+0x2]=_0x281577[_0x3015a2(0x149)][_0x219a1c]['b'];}_0x34df18[_0x3015a2(0x14a)]('color',new webgpu.Float32BufferAttribute(_0x2aad13,0x3));}return _0x34df18;}set[_0x2b554b(0x133)](_0x58ab8a){const _0x2b620b=_0x2b554b;var _0xf096e6,_0x48ce69,_0x30b4d2;this['_geometryPtr']&&this[_0x2b620b(0x151)][_0x2b620b(0x135)]();const _0x1b73d8=this['constructGeometry'](_0x58ab8a);this[_0x2b620b(0x151)]=this[_0x2b620b(0x13f)]['assetManager'][_0x2b620b(0x156)](_0x1b73d8),this[_0x2b620b(0x146)]['geometry']=_0x1b73d8,this['_meshData']={'vertices':_0x58ab8a['vertices'][_0x2b620b(0x14b)](_0x45cd0b=>_0x45cd0b[_0x2b620b(0x175)]()),'indices':_0x58ab8a['indices']?[..._0x58ab8a['indices']]:undefined,'normals':(_0xf096e6=_0x58ab8a[_0x2b620b(0x15a)])===null||_0xf096e6===void 0?void 0:_0xf096e6[_0x2b620b(0x14b)](_0x6d3fab=>_0x6d3fab[_0x2b620b(0x175)]()),'uvs':(_0x48ce69=_0x58ab8a[_0x2b620b(0x16c)])===null||_0x48ce69===void 0?void 0:_0x48ce69[_0x2b620b(0x14b)](_0x4f8808=>_0x4f8808['clone']()),'colors':(_0x30b4d2=_0x58ab8a['colors'])===null||_0x30b4d2===void 0?void 0:_0x30b4d2['map'](_0x251f65=>_0x251f65[_0x2b620b(0x175)]())},this['world']&&this[_0x2b620b(0x15d)][_0x2b620b(0x171)][_0x2b620b(0x15c)]();}get[_0x2b554b(0x133)](){const _0x1dfa21=_0x2b554b;return this[_0x1dfa21(0x132)];}[_0x2b554b(0x159)](){return new webgpu.Mesh();}set[_0x2b554b(0x161)](_0x41435f){const _0x3dafc7=_0x2b554b;if(this[_0x3dafc7(0x146)])this[_0x3dafc7(0x146)][_0x3dafc7(0x161)]=_0x41435f;}get[_0x2b554b(0x161)](){const _0x1c154a=_0x2b554b;return this[_0x1c154a(0x146)]?this[_0x1c154a(0x146)][_0x1c154a(0x161)]:![];}set[_0x2b554b(0x16e)](_0x14aa00){const _0x5b4edf=_0x2b554b;if(!this[_0x5b4edf(0x146)])return;this[_0x5b4edf(0x146)][_0x5b4edf(0x16e)]=_0x14aa00;}get['receiveShadow'](){const _0x57a156=_0x2b554b;return this[_0x57a156(0x146)]?this[_0x57a156(0x146)][_0x57a156(0x16e)]:![];}['getBoundsCenterPosition'](){const _0x270504=_0x2b554b;let _0x254480=new webgpu.Vector3();return this[_0x270504(0x167)]()[_0x270504(0x14f)](_0x254480),_0x254480;}[_0x2b554b(0x162)](){const _0xb959a7=_0x2b554b;let _0xc72a61=new webgpu.Vector3(),_0x3bed7f=this[_0xb959a7(0x167)]();return _0x3bed7f[_0xb959a7(0x14f)](_0xc72a61),_0xc72a61['y']=_0x3bed7f[_0xb959a7(0x13a)]['y'],_0xc72a61;}[_0x2b554b(0x15b)](){const _0x27689d=_0x2b554b;let _0x44deb6=new webgpu.Vector3(),_0x1ff7d1=this[_0x27689d(0x167)]();return _0x1ff7d1[_0x27689d(0x14f)](_0x44deb6),_0x44deb6['y']=_0x1ff7d1[_0x27689d(0x140)]['y'],_0x44deb6;}[_0x2b554b(0x164)](){const _0x5b4ffa=_0x2b554b;var _0x124fa7,_0x52d40a;this['threeObject']&&this[_0x5b4ffa(0x146)][_0x5b4ffa(0x154)](),(_0x124fa7=this[_0x5b4ffa(0x151)])===null||_0x124fa7===void 0?void 0:_0x124fa7[_0x5b4ffa(0x135)](),(_0x52d40a=this[_0x5b4ffa(0x14d)])===null||_0x52d40a===void 0?void 0:_0x52d40a[_0x5b4ffa(0x135)](),super['destroyObject']();}}
|
|
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
|
-
const
|
|
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
|
-
function
|
|
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
|
-
function
|
|
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
|
-
(function(
|
|
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;
|