lythreeframe 1.3.7 → 1.3.9
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 +57 -57
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +57 -57
- package/dist/bundle.esm.js.map +1 -1
- package/dist/src/Object/Components/Mesh/CustomMeshComponent.d.ts +5 -0
- package/dist/src/Object/Components/Mesh/InstanceMesh/InstanceMeshComponent.d.ts +4 -0
- package/package.json +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -14,122 +14,122 @@ 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 _0x546287 = 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 _0x12f368=_0xf59e;(function(_0x909862,_0x255ac6){const _0x4a2fe9=_0xf59e,_0x68db5b=_0x909862();while(!![]){try{const _0x19cac7=-parseInt(_0x4a2fe9(0x1f5))/0x1*(parseInt(_0x4a2fe9(0x200))/0x2)+parseInt(_0x4a2fe9(0x1ed))/0x3*(parseInt(_0x4a2fe9(0x1f4))/0x4)+-parseInt(_0x4a2fe9(0x1f0))/0x5+parseInt(_0x4a2fe9(0x202))/0x6+parseInt(_0x4a2fe9(0x1ef))/0x7*(parseInt(_0x4a2fe9(0x1f6))/0x8)+parseInt(_0x4a2fe9(0x1fc))/0x9+-parseInt(_0x4a2fe9(0x1f9))/0xa;if(_0x19cac7===_0x255ac6)break;else _0x68db5b['push'](_0x68db5b['shift']());}catch(_0x3be289){_0x68db5b['push'](_0x68db5b['shift']());}}}(_0x2e65,0xd1a1e));function _0x2e65(){const _0x2ab38c=['21mGYGDH','1617440WhZaDJ','indexOf','generateUUID','removeTickEvent','22300Kbfmni','4646LcOQQV','1292344TWNmwy','bCanTick','isTickEnabled','17182100JSPEZv','_uuid','destroy','12361293TNRLeG','splice','push','uuid','62ItfhHW','addTickEvent','6582432DsfKoI','clearTickEvents','tickEvents','48MFLjjE','tick'];_0x2e65=function(){return _0x2ab38c;};return _0x2e65();}function _0xf59e(_0x53c641,_0x373271){_0x53c641=_0x53c641-0x1ec;const _0x2e6571=_0x2e65();let _0xf59ea=_0x2e6571[_0x53c641];return _0xf59ea;}class BaseObject{get[_0x12f368(0x1f8)](){const _0x3124cc=_0x12f368;return this[_0x3124cc(0x1f7)];}set['isTickEnabled'](_0x3fc223){const _0x58314c=_0x12f368;this[_0x58314c(0x1f7)]=_0x3fc223;}get[_0x12f368(0x1ff)](){const _0x2a0516=_0x12f368;return this[_0x2a0516(0x1fa)];}constructor(_0x378dff=webgpu.MathUtils[_0x12f368(0x1f2)]()){const _0x59e3fb=_0x12f368;this[_0x59e3fb(0x1f7)]=![],this['tickEvents']=[],this[_0x59e3fb(0x1f7)]=![],this[_0x59e3fb(0x1fa)]=_0x378dff;}[_0x12f368(0x1ee)](_0x249978){const _0x3852d6=_0x12f368;if(!this['bCanTick'])return;this[_0x3852d6(0x1ec)]['forEach'](_0x4ade27=>{_0x4ade27(_0x249978);});}[_0x12f368(0x201)](_0x3fe968){const _0x12245c=_0x12f368;this[_0x12245c(0x1ec)][_0x12245c(0x1fe)](_0x3fe968);}[_0x12f368(0x1f3)](_0x218205){const _0xf4c871=_0x12f368;let _0x206e62=this['tickEvents'][_0xf4c871(0x1f1)](_0x218205);_0x206e62!=-1&&this[_0xf4c871(0x1ec)][_0xf4c871(0x1fd)](_0x206e62,0x1);}[_0x12f368(0x203)](){this['tickEvents']=[];}[_0x12f368(0x1fb)](){}}
|
|
23
23
|
|
|
24
|
-
const
|
|
24
|
+
const _0x4cb1bd=_0x3482;(function(_0x411356,_0x4ef7e0){const _0x5b2f0b=_0x3482,_0x4fab46=_0x411356();while(!![]){try{const _0x70cc09=-parseInt(_0x5b2f0b(0x1a8))/0x1*(-parseInt(_0x5b2f0b(0x1a3))/0x2)+-parseInt(_0x5b2f0b(0x1ac))/0x3*(parseInt(_0x5b2f0b(0x1ab))/0x4)+parseInt(_0x5b2f0b(0x1aa))/0x5*(parseInt(_0x5b2f0b(0x1a2))/0x6)+parseInt(_0x5b2f0b(0x1a9))/0x7*(-parseInt(_0x5b2f0b(0x1a0))/0x8)+parseInt(_0x5b2f0b(0x1a1))/0x9+parseInt(_0x5b2f0b(0x1a6))/0xa+-parseInt(_0x5b2f0b(0x1a4))/0xb;if(_0x70cc09===_0x4ef7e0)break;else _0x4fab46['push'](_0x4fab46['shift']());}catch(_0x557fda){_0x4fab46['push'](_0x4fab46['shift']());}}}(_0x5a80,0x8550d));function _0x3482(_0x284c9f,_0x5e39aa){_0x284c9f=_0x284c9f-0x19f;const _0x5a80fc=_0x5a80();let _0x34824d=_0x5a80fc[_0x284c9f];return _0x34824d;}function _0x5a80(){const _0x43b974=['obj','LYObject','_parentActor','destroyObject','Component\x20createDefaultObject\x20return\x20null','threeObject','_name','152Gibdzd','7301034diLZeZ','6XMkasq','2762TlAldy','10086428CsIWxn','Component','4636540DRwWaP','warn','568NDWfNR','170702giwFlx','462895JozowM','17348zXiVdz','156gaetLA','parentActor','createDefaultObject','name'];_0x5a80=function(){return _0x43b974;};return _0x5a80();}class Component extends BaseObject{set[_0x4cb1bd(0x1ad)](_0x5b4f20){const _0x407b41=_0x4cb1bd;this[_0x407b41(0x1b2)]=_0x5b4f20;}get[_0x4cb1bd(0x1ad)](){const _0x485b0b=_0x4cb1bd;return this[_0x485b0b(0x1b2)];}get[_0x4cb1bd(0x1b5)](){const _0xab8184=_0x4cb1bd;return this[_0xab8184(0x1b0)];}set[_0x4cb1bd(0x1b5)](_0x3ed5f6){const _0x5c2055=_0x4cb1bd;this[_0x5c2055(0x1b0)]=_0x3ed5f6,this['obj']&&(this['obj']['userData'][_0x5c2055(0x1b1)]=this);}get[_0x4cb1bd(0x1af)](){const _0xc25d6d=_0x4cb1bd;return this[_0xc25d6d(0x19f)];}set[_0x4cb1bd(0x1af)](_0x5c65c2){const _0x42df25=_0x4cb1bd;this[_0x42df25(0x19f)]=_0x5c65c2,this[_0x42df25(0x1b0)]&&(this['obj'][_0x42df25(0x1af)]=_0x5c65c2);}constructor(_0x5513e4){const _0x2fe44c=_0x4cb1bd;super(_0x5513e4?_0x5513e4:webgpu.MathUtils['generateUUID']()),this['obj']=null,this[_0x2fe44c(0x1b2)]=null,this[_0x2fe44c(0x19f)]=_0x2fe44c(0x1a5),this[_0x2fe44c(0x1b2)]=null;let _0x49c2db=this[_0x2fe44c(0x1ae)]();_0x49c2db?(this[_0x2fe44c(0x1b5)]=_0x49c2db,this[_0x2fe44c(0x19f)]=this[_0x2fe44c(0x1b5)]['type']+'Component'):console[_0x2fe44c(0x1a7)](_0x2fe44c(0x1b4));}[_0x4cb1bd(0x1ae)](_0x9c6844){return null;}[_0x4cb1bd(0x1b3)](){if(!this['obj'])return;}['destroy'](){const _0x18eb68=_0x4cb1bd;this[_0x18eb68(0x1b3)]();}}
|
|
25
25
|
|
|
26
|
-
(function(
|
|
26
|
+
(function(_0x27d9e2,_0x4b6ab){var _0xc927ec=_0x49f0,_0x4f1128=_0x27d9e2();while(!![]){try{var _0x284601=parseInt(_0xc927ec(0x195))/0x1*(-parseInt(_0xc927ec(0x191))/0x2)+parseInt(_0xc927ec(0x19c))/0x3+-parseInt(_0xc927ec(0x196))/0x4+parseInt(_0xc927ec(0x197))/0x5+parseInt(_0xc927ec(0x19a))/0x6*(-parseInt(_0xc927ec(0x193))/0x7)+parseInt(_0xc927ec(0x199))/0x8*(-parseInt(_0xc927ec(0x198))/0x9)+-parseInt(_0xc927ec(0x194))/0xa*(-parseInt(_0xc927ec(0x192))/0xb);if(_0x284601===_0x4b6ab)break;else _0x4f1128['push'](_0x4f1128['shift']());}catch(_0xefffa3){_0x4f1128['push'](_0x4f1128['shift']());}}}(_0x3219,0x2995c));exports.AttachmentRules = void 0;function _0x49f0(_0x1af1cc,_0x124f72){_0x1af1cc=_0x1af1cc-0x190;var _0x321904=_0x3219();var _0x49f0ae=_0x321904[_0x1af1cc];return _0x49f0ae;}(function(_0x323516){var _0x3bf97e=_0x49f0;_0x323516[_0x323516[_0x3bf97e(0x190)]=0x1]=_0x3bf97e(0x190),_0x323516[_0x323516[_0x3bf97e(0x19b)]=0x2]='KeepRelative';}(exports.AttachmentRules||(exports.AttachmentRules={})));function _0x3219(){var _0x2866b1=['155192JtvauR','800230OMsJFn','9HwxhYz','528424EUcqth','469518WTSgvE','KeepRelative','111294EZiVHj','KeepWorld','4496CsuaOr','4949186xWnKYq','21BOqwsf','10ahTtee','61WPnhsL'];_0x3219=function(){return _0x2866b1;};return _0x3219();}
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
function _0x1b6b(){const _0x34d9ed=['forEach','add','8231220oImaGs','2138255EHrIzs','930376zhcFmq','functions','467354TQLdMb','indexOf','warn','1434888RbBOHM','30735DAMCOU','439097WEIbWy','3GRmVxy','clear','102AKmJKG','function\x20not\x20found','remove'];_0x1b6b=function(){return _0x34d9ed;};return _0x1b6b();}const _0x87933c=_0x43f4;(function(_0x21264f,_0x4ec5c7){const _0x26a14f=_0x43f4,_0x183475=_0x21264f();while(!![]){try{const _0xe3ec0c=-parseInt(_0x26a14f(0xe5))/0x1+-parseInt(_0x26a14f(0xe0))/0x2*(-parseInt(_0x26a14f(0xe6))/0x3)+-parseInt(_0x26a14f(0xde))/0x4+-parseInt(_0x26a14f(0xe4))/0x5*(parseInt(_0x26a14f(0xe8))/0x6)+-parseInt(_0x26a14f(0xdd))/0x7+parseInt(_0x26a14f(0xe3))/0x8+parseInt(_0x26a14f(0xdc))/0x9;if(_0xe3ec0c===_0x4ec5c7)break;else _0x183475['push'](_0x183475['shift']());}catch(_0x46e316){_0x183475['push'](_0x183475['shift']());}}}(_0x1b6b,0x3c0cb));function _0x43f4(_0x2b92b9,_0x7de9cd){_0x2b92b9=_0x2b92b9-0xd8;const _0x1b6b3f=_0x1b6b();let _0x43f4e6=_0x1b6b3f[_0x2b92b9];return _0x43f4e6;}class Delegate{constructor(){const _0x619e43=_0x43f4;this[_0x619e43(0xdf)]=[];}['broadcast'](..._0x221576){const _0xd420b3=_0x43f4;this['functions'][_0xd420b3(0xda)](_0x41c0ab=>_0x41c0ab(..._0x221576));}[_0x87933c(0xdb)](_0x3c644c){const _0x5b32b1=_0x87933c;this[_0x5b32b1(0xdf)]['push'](_0x3c644c);}[_0x87933c(0xd9)](_0x299bf7){const _0x3c2e3d=_0x87933c,_0x528517=this['functions'][_0x3c2e3d(0xe1)](_0x299bf7);_0x528517>=0x0?this[_0x3c2e3d(0xdf)]['splice'](_0x528517,0x1):console[_0x3c2e3d(0xe2)](_0x3c2e3d(0xd8));}[_0x87933c(0xe7)](){this['functions']=[];}}
|
|
29
29
|
|
|
30
|
-
const _0x6266a0=_0x4e82;(function(_0x4e246b,_0x5a7af9){const _0x1bd822=_0x4e82,_0x2ba49b=_0x4e246b();while(!![]){try{const _0x136a5a=parseInt(_0x1bd822(0x1cc))/0x1*(-parseInt(_0x1bd822(0x1ee))/0x2)+parseInt(_0x1bd822(0x202))/0x3*(-parseInt(_0x1bd822(0x1c2))/0x4)+parseInt(_0x1bd822(0x1bc))/0x5*(parseInt(_0x1bd822(0x20e))/0x6)+parseInt(_0x1bd822(0x1d7))/0x7*(parseInt(_0x1bd822(0x20b))/0x8)+parseInt(_0x1bd822(0x1d3))/0x9*(parseInt(_0x1bd822(0x209))/0xa)+-parseInt(_0x1bd822(0x1c5))/0xb+-parseInt(_0x1bd822(0x215))/0xc*(-parseInt(_0x1bd822(0x1d2))/0xd);if(_0x136a5a===_0x5a7af9)break;else _0x2ba49b['push'](_0x2ba49b['shift']());}catch(_0x2275d1){_0x2ba49b['push'](_0x2ba49b['shift']());}}}(_0x638e,0x33291));function _0x4e82(_0x1004ac,_0x316ebb){_0x1004ac=_0x1004ac-0x1a5;const _0x638e08=_0x638e();let _0x4e8240=_0x638e08[_0x1004ac];return _0x4e8240;}function _0x638e(){const _0x50b55e=['isVector3','_onHoverBeginDelegate','getWorldDirection','202920kALcAt','scale','getComponentById','childrenComponents','destroy','isHoverEnabled','44IiMOVC','userData','onClickDelegate','3018543xHuatZ','onDoubleClicked','getBoundsCenterPositionWS','add','setRotation','_onHoverEndDelegate','length','245JaWPQC','setVisible','onHoverBeginDelegate','parent','markRenderStateDirty','onClicked','325SgTvwm','266283yBKTPE','parentComponent','matrixAutoUpdate','removeChildComponent','8806oefwPC','getWorldScale','updateMatrix','worldToLocal','getBoundsBottomCenterPositionWS','forEach','obj','world','_parentActor','visible','broadcast','min','decompose','viewport','order','destroyChildren','name','getWorldMatrix','max','getCenter','detachFromParentComponent','onDoubleClickDelegate','rotation','1684eqcsWX','detachFromParentActor','setQuaternion\x20failed,param\x20is\x20invalid','setQuaternion','createDefaultObject','isQuaternion','children','clone','position','getBounds','matrixWorld','push','applyQuaternion','isEuler','app','getWorldRotation','updateMatrixWorld','onHoverEndDelegate','setMatrix','quaternion','75891xrWbfK','target\x20threeObject\x20is\x20invalid','parentActor','setFromQuaternion','error','getScale','tick','30SzYkYF','uuid','328odwybn','setWorldMatrix','setScale','6gMKlrK','matrix','getWorldPosition','threeObject\x20is\x20invalid','multiplyMatrices','getBoundsTopCenterPositionWS','layers','378048LmDRGG','_onClickDelegate','onHorveringEnd','KeepWorld','getWorldQuaternion','remove','LYObject','destroyObject','threeObject','detachComponent','getWorldForwardDirection','getMatrix','set','newComponent\x20threeObject\x20is\x20invalid','onAddedToWorld','getQuaternion','number','bCanHover','localToWorld','getRotation','setPosition','isClickEnabled','setFromObject','bCanClick','_onDoubleClickDelegate','onHorveringBegin','copy'];_0x638e=function(){return _0x50b55e;};return _0x638e();}class SceneComponent extends Component{set['parentActor'](_0x27300a){const _0xf5cf10=_0x4e82;this['childrenComponents'][_0xf5cf10(0x1dc)](_0x1b7e1a=>{_0x1b7e1a['parentActor']=_0x27300a;}),this[_0xf5cf10(0x1df)]=_0x27300a;}get[_0x6266a0(0x204)](){const _0x88900=_0x6266a0;return this[_0x88900(0x1df)];}get[_0x6266a0(0x1ce)](){return this['_onHoverBeginDelegate'];}get[_0x6266a0(0x1ff)](){return this['_onHoverEndDelegate'];}get[_0x6266a0(0x1c4)](){const _0x50609b=_0x6266a0;return this[_0x50609b(0x216)];}get[_0x6266a0(0x1ec)](){const _0x140576=_0x6266a0;return this[_0x140576(0x1b6)];}get[_0x6266a0(0x1de)](){const _0x31d69b=_0x6266a0;return this[_0x31d69b(0x1fc)][_0x31d69b(0x1de)];}constructor(_0x10bb17,_0x445a04){const _0x58e79a=_0x6266a0;super(_0x445a04),this[_0x58e79a(0x1af)]=![],this[_0x58e79a(0x1b5)]=![],this[_0x58e79a(0x1ba)]=new Delegate(),this['_onHoverEndDelegate']=new Delegate(),this[_0x58e79a(0x216)]=new Delegate(),this['_onDoubleClickDelegate']=new Delegate(),this['app']=_0x10bb17,this[_0x58e79a(0x1e7)]='SceneComponent';}[_0x6266a0(0x1f2)](){return new webgpu.Object3D();}['tick'](_0x2baa7a){const _0x16cea3=_0x6266a0;super[_0x16cea3(0x208)](_0x2baa7a),this[_0x16cea3(0x1bf)][_0x16cea3(0x1dc)](_0x553a14=>{const _0x1d0c7a=_0x16cea3;_0x553a14[_0x1d0c7a(0x208)](_0x2baa7a);});}get['isVisible'](){const _0x1de89b=_0x6266a0;if(!this[_0x1de89b(0x1dd)])return ![];return this['obj'][_0x1de89b(0x1e0)];}[_0x6266a0(0x1cd)](_0x35e455){const _0x233ef0=_0x6266a0;if(!this[_0x233ef0(0x1dd)])throw Error(_0x233ef0(0x211));this[_0x233ef0(0x1dd)][_0x233ef0(0x1e0)]=_0x35e455,this[_0x233ef0(0x1de)]&&this[_0x233ef0(0x1de)][_0x233ef0(0x1e4)]['markRenderStateDirty']();}['setLayers'](_0x264846){const _0x472ce7=_0x6266a0;if(!this[_0x472ce7(0x1dd)])throw Error(_0x472ce7(0x211));this['obj'][_0x472ce7(0x214)][_0x472ce7(0x1aa)](_0x264846);let _0x3f5391=this[_0x472ce7(0x1bf)];_0x3f5391[_0x472ce7(0x1dc)](_0x1603d1=>{_0x1603d1['setLayers'](_0x264846);});}[_0x6266a0(0x1be)](_0x17509b,_0x220a79=!![]){const _0x25b1f0=_0x6266a0;if(this[_0x25b1f0(0x20a)]===_0x17509b)return this;if(_0x220a79){let _0x36bc94=this[_0x25b1f0(0x1bf)];for(let _0x3f17bc=0x0;_0x3f17bc<_0x36bc94[_0x25b1f0(0x1cb)];++_0x3f17bc){let _0x23fd9f=_0x36bc94[_0x3f17bc][_0x25b1f0(0x1be)](_0x17509b,_0x220a79);if(_0x23fd9f)return _0x23fd9f;}}else {let _0x12ea11=this[_0x25b1f0(0x1bf)];for(let _0x867c8c=0x0;_0x867c8c<_0x12ea11[_0x25b1f0(0x1cb)];++_0x867c8c){let _0x267e7a=_0x12ea11[_0x867c8c];if(_0x267e7a['uuid']===_0x17509b)return _0x267e7a;}}return null;}[_0x6266a0(0x1c7)](){const _0x4da12e=_0x6266a0;let _0x7f0cf1=new webgpu.Vector3();return this['getBounds']()['getCenter'](_0x7f0cf1),this[_0x4da12e(0x210)]();}[_0x6266a0(0x213)](){const _0x29578d=_0x6266a0;let _0x2bcfd4=new webgpu.Vector3(),_0x3a2c97=this[_0x29578d(0x1f7)]();return _0x3a2c97[_0x29578d(0x1ea)](_0x2bcfd4),_0x2bcfd4['y']=_0x3a2c97[_0x29578d(0x1e9)]['y'],_0x2bcfd4;}[_0x6266a0(0x1db)](){const _0x31f143=_0x6266a0;let _0x39614b=new webgpu.Vector3(),_0x5cfe3c=this['getBounds']();return _0x5cfe3c['getCenter'](_0x39614b),_0x39614b['y']=_0x5cfe3c[_0x31f143(0x1e2)]['y'],_0x39614b;}['getBounds'](){const _0x53d5a0=_0x6266a0;if(!this['obj'])throw Error(_0x53d5a0(0x211));let _0x35d80f=new webgpu.Box3();return _0x35d80f[_0x53d5a0(0x1b4)](this[_0x53d5a0(0x1dd)],![]),_0x35d80f['isEmpty']()&&(_0x35d80f[_0x53d5a0(0x1e2)]=_0x35d80f[_0x53d5a0(0x1e9)]=this[_0x53d5a0(0x210)]()),_0x35d80f;}get[_0x6266a0(0x1d4)](){const _0x577df2=_0x6266a0;var _0x2b0472,_0x37e3c1;if(!this['obj'])throw Error(_0x577df2(0x211));let _0x4675b9=(_0x37e3c1=(_0x2b0472=this[_0x577df2(0x1dd)])===null||_0x2b0472===void 0?void 0:_0x2b0472[_0x577df2(0x1cf)])===null||_0x37e3c1===void 0?void 0:_0x37e3c1[_0x577df2(0x1c3)]['LYObject'];if(!_0x4675b9)return null;if(!(_0x4675b9 instanceof SceneComponent))return null;if(_0x4675b9[_0x577df2(0x204)]!==this['parentActor'])return null;return _0x4675b9;}get['childrenComponents'](){const _0x2f9408=_0x6266a0;if(!this[_0x2f9408(0x1dd)])throw Error('threeObject\x20is\x20invalid');let _0x223352=[];for(let _0xf65b54=0x0;_0xf65b54<this[_0x2f9408(0x1dd)][_0x2f9408(0x1f4)][_0x2f9408(0x1cb)];++_0xf65b54){if(!this['obj']['children'][_0xf65b54][_0x2f9408(0x1c3)]['LYObject'])continue;this[_0x2f9408(0x1dd)][_0x2f9408(0x1f4)][_0xf65b54][_0x2f9408(0x1c3)]['LYObject'][_0x2f9408(0x204)]===this['parentActor']&&_0x223352['push'](this['obj'][_0x2f9408(0x1f4)][_0xf65b54]['userData'][_0x2f9408(0x21b)]);}return _0x223352;}[_0x6266a0(0x1ac)](_0x5f226f){const _0x3ee53a=_0x6266a0;let _0x1f0c82=this[_0x3ee53a(0x1bf)];for(let _0x322ecd=0x0;_0x322ecd<_0x1f0c82[_0x3ee53a(0x1cb)];++_0x322ecd){_0x1f0c82[_0x322ecd]['onAddedToWorld'](_0x5f226f);}}[_0x6266a0(0x1c0)](){const _0x4d7f99=_0x6266a0;this['isHoverEnabled']=![],this[_0x4d7f99(0x1b3)]=![],this[_0x4d7f99(0x1ef)](),this[_0x4d7f99(0x1eb)](),this[_0x4d7f99(0x1e6)](),this[_0x4d7f99(0x1a5)](),this[_0x4d7f99(0x1de)]&&this[_0x4d7f99(0x1de)][_0x4d7f99(0x1e4)]['markRenderStateDirty']();}[_0x6266a0(0x1a5)](){const _0x426897=_0x6266a0;if(!this[_0x426897(0x1dd)])return;this[_0x426897(0x1dd)]['parent']&&this['obj']['parent'][_0x426897(0x21a)](this[_0x426897(0x1dd)]),super[_0x426897(0x1a5)]();}['getPosition'](){const _0x5024d2=_0x6266a0;if(!this[_0x5024d2(0x1dd)])throw Error('threeObject\x20is\x20invalid');if(this[_0x5024d2(0x1dd)][_0x5024d2(0x1d5)])return this[_0x5024d2(0x1dd)][_0x5024d2(0x1f6)]['clone']();else {const _0x6fcedb=new webgpu.Vector3(),_0xe5f4ef=new webgpu.Quaternion(),_0x37944e=new webgpu.Vector3();return this[_0x5024d2(0x1dd)][_0x5024d2(0x20f)][_0x5024d2(0x1e3)](_0x6fcedb,_0xe5f4ef,_0x37944e),_0x6fcedb;}}[_0x6266a0(0x1b2)](..._0x239853){const _0x54c963=_0x6266a0;var _0x25bd5f;if(!this['obj'])throw Error(_0x54c963(0x211));let _0x5d092f=null;if(_0x239853[_0x54c963(0x1cb)]===0x1&&((_0x25bd5f=_0x239853[0x0])===null||_0x25bd5f===void 0?void 0:_0x25bd5f[_0x54c963(0x1b9)])){const _0x128a65=_0x239853[0x0];_0x5d092f=new webgpu.Vector3(_0x128a65['x'],_0x128a65['y'],_0x128a65['z']);}else _0x239853[_0x54c963(0x1cb)]===0x3&&typeof _0x239853[0x0]===_0x54c963(0x1ae)&&typeof _0x239853[0x1]===_0x54c963(0x1ae)&&typeof _0x239853[0x2]===_0x54c963(0x1ae)&&(_0x5d092f=new webgpu.Vector3(_0x239853[0x0],_0x239853[0x1],_0x239853[0x2]));if(!_0x5d092f)return;this['obj']['position'][_0x54c963(0x1b8)](_0x5d092f),!this[_0x54c963(0x1dd)]['matrixAutoUpdate']&&this[_0x54c963(0x1dd)][_0x54c963(0x20f)][_0x54c963(0x1b2)](_0x5d092f['x'],_0x5d092f['y'],_0x5d092f['z']),this['obj']['updateMatrix'](),this[_0x54c963(0x1dd)]['updateMatrixWorld'](!![]),this[_0x54c963(0x1de)]&&this['world'][_0x54c963(0x1e4)]['markRenderStateDirty']();}[_0x6266a0(0x1b1)](){const _0x2764fa=_0x6266a0;if(!this[_0x2764fa(0x1dd)])throw Error(_0x2764fa(0x211));if(this[_0x2764fa(0x1dd)][_0x2764fa(0x1d5)])return this['obj'][_0x2764fa(0x1ed)][_0x2764fa(0x1f5)]();else {const _0x2b586f=new webgpu.Vector3(),_0x499ffb=new webgpu.Quaternion(),_0x1301af=new webgpu.Vector3();return this[_0x2764fa(0x1dd)][_0x2764fa(0x20f)][_0x2764fa(0x1e3)](_0x2b586f,_0x499ffb,_0x1301af),new webgpu.Euler()[_0x2764fa(0x205)](_0x499ffb);}}[_0x6266a0(0x1c9)](..._0x376b4b){const _0xfb6bf2=_0x6266a0;var _0x38e15d;if(!this[_0xfb6bf2(0x1dd)])throw Error('threeObject\x20is\x20invalid');let _0x28181c=null;if((_0x38e15d=_0x376b4b[0x0])===null||_0x38e15d===void 0?void 0:_0x38e15d[_0xfb6bf2(0x1fb)]){const _0x52770e=_0x376b4b[0x0];_0x28181c=new webgpu.Euler(_0x52770e['x'],_0x52770e['y'],_0x52770e['z'],_0x52770e[_0xfb6bf2(0x1e5)]);}else typeof _0x376b4b[0x0]===_0xfb6bf2(0x1ae)&&typeof _0x376b4b[0x1]===_0xfb6bf2(0x1ae)&&typeof _0x376b4b[0x2]===_0xfb6bf2(0x1ae)&&(_0x28181c=new webgpu.Euler(_0x376b4b[0x0],_0x376b4b[0x1],_0x376b4b[0x2]));if(!_0x28181c)return;this[_0xfb6bf2(0x1dd)][_0xfb6bf2(0x1ed)][_0xfb6bf2(0x1b8)](_0x28181c),this[_0xfb6bf2(0x1dd)]['updateMatrix'](),this[_0xfb6bf2(0x1dd)][_0xfb6bf2(0x1fe)](!![]),this[_0xfb6bf2(0x1de)]&&this[_0xfb6bf2(0x1de)]['viewport'][_0xfb6bf2(0x1d0)]();}[_0x6266a0(0x1ad)](){const _0x38e64b=_0x6266a0;if(!this[_0x38e64b(0x1dd)])throw Error(_0x38e64b(0x211));if(this[_0x38e64b(0x1dd)][_0x38e64b(0x1d5)])return this[_0x38e64b(0x1dd)][_0x38e64b(0x201)]['clone']();else {const _0x589d13=new webgpu.Vector3(),_0x1373bc=new webgpu.Quaternion(),_0x3df2db=new webgpu.Vector3();return this[_0x38e64b(0x1dd)][_0x38e64b(0x20f)][_0x38e64b(0x1e3)](_0x589d13,_0x1373bc,_0x3df2db),_0x1373bc;}}[_0x6266a0(0x1f1)](..._0x2d13f5){const _0x167fd9=_0x6266a0;var _0x1a8101;if(!this[_0x167fd9(0x1dd)])throw Error(_0x167fd9(0x211));let _0x376a95=null;if((_0x1a8101=_0x2d13f5[0x0])===null||_0x1a8101===void 0?void 0:_0x1a8101[_0x167fd9(0x1f3)]){const _0x739a0=_0x2d13f5[0x0];_0x376a95=new webgpu.Quaternion(_0x739a0['x'],_0x739a0['y'],_0x739a0['z'],_0x739a0['w']);}else typeof _0x2d13f5[0x0]==='number'&&typeof _0x2d13f5[0x1]==='number'&&typeof _0x2d13f5[0x2]===_0x167fd9(0x1ae)&&typeof _0x2d13f5[0x3]==='number'&&(_0x376a95=new webgpu.Quaternion(_0x2d13f5[0x0],_0x2d13f5[0x1],_0x2d13f5[0x2],_0x2d13f5[0x3]));if(!_0x376a95){console[_0x167fd9(0x206)](_0x167fd9(0x1f0),_0x2d13f5);return;}this[_0x167fd9(0x1dd)][_0x167fd9(0x201)][_0x167fd9(0x1b8)](_0x376a95);if(!this[_0x167fd9(0x1dd)][_0x167fd9(0x1d5)]){const _0x28bf2c=new webgpu.Vector3(),_0x546bac=new webgpu.Quaternion(),_0x4b09a8=new webgpu.Vector3();this[_0x167fd9(0x1dd)][_0x167fd9(0x20f)][_0x167fd9(0x1e3)](_0x28bf2c,_0x546bac,_0x4b09a8),this[_0x167fd9(0x1dd)][_0x167fd9(0x20f)]['compose'](_0x28bf2c,_0x376a95,_0x4b09a8);}this['world']&&this['world'][_0x167fd9(0x1e4)][_0x167fd9(0x1d0)](),this[_0x167fd9(0x1dd)][_0x167fd9(0x1d9)](),this[_0x167fd9(0x1dd)][_0x167fd9(0x1fe)](!![]);}[_0x6266a0(0x207)](){const _0x2154bd=_0x6266a0;if(!this[_0x2154bd(0x1dd)])throw Error(_0x2154bd(0x211));if(this['obj'][_0x2154bd(0x1d5)])return this[_0x2154bd(0x1dd)][_0x2154bd(0x1bd)][_0x2154bd(0x1f5)]();else {const _0x222c43=new webgpu.Vector3(),_0x52cb52=new webgpu.Quaternion(),_0x3efc48=new webgpu.Vector3();return this['obj'][_0x2154bd(0x20f)][_0x2154bd(0x1e3)](_0x222c43,_0x52cb52,_0x3efc48),_0x3efc48;}}[_0x6266a0(0x20d)](..._0x2a27b6){const _0x4e92c8=_0x6266a0;var _0x445a05;if(!this[_0x4e92c8(0x1dd)])throw Error(_0x4e92c8(0x211));let _0x444bef=null;if((_0x445a05=_0x2a27b6[0x0])===null||_0x445a05===void 0?void 0:_0x445a05[_0x4e92c8(0x1b9)]){const _0x3d242f=_0x2a27b6[0x0];_0x444bef=new webgpu.Vector3(_0x3d242f['x'],_0x3d242f['y'],_0x3d242f['z']);}else typeof _0x2a27b6[0x0]===_0x4e92c8(0x1ae)&&typeof _0x2a27b6[0x1]===_0x4e92c8(0x1ae)&&typeof _0x2a27b6[0x2]===_0x4e92c8(0x1ae)&&(_0x444bef=new webgpu.Vector3(_0x2a27b6[0x0],_0x2a27b6[0x1],_0x2a27b6[0x2]));if(!_0x444bef)return;this[_0x4e92c8(0x1dd)]['scale'][_0x4e92c8(0x1b8)](_0x444bef),this[_0x4e92c8(0x1dd)][_0x4e92c8(0x1d9)](),this[_0x4e92c8(0x1dd)][_0x4e92c8(0x1fe)](!![]),this[_0x4e92c8(0x1de)]&&this[_0x4e92c8(0x1de)]['viewport']['markRenderStateDirty']();}[_0x6266a0(0x1a9)](){const _0x42c11f=_0x6266a0;if(!this[_0x42c11f(0x1dd)])throw Error(_0x42c11f(0x211));return this[_0x42c11f(0x1dd)][_0x42c11f(0x20f)];}['setMatrix'](_0x3e79e1){const _0x1eab8c=_0x6266a0;var _0x396ef9;if(!this[_0x1eab8c(0x1dd)])throw Error('threeObject\x20is\x20invalid');_0x3e79e1[_0x1eab8c(0x1e3)](this['obj']['position'],this['obj'][_0x1eab8c(0x201)],this['obj']['scale']),this[_0x1eab8c(0x1dd)]['updateMatrix'](),this[_0x1eab8c(0x1dd)]['updateMatrixWorld'](!![]),(_0x396ef9=this[_0x1eab8c(0x1de)])===null||_0x396ef9===void 0?void 0:_0x396ef9[_0x1eab8c(0x1e4)][_0x1eab8c(0x1d0)]();}['getWorldPosition'](){const _0x3c12f9=_0x6266a0;if(!this[_0x3c12f9(0x1dd)])throw Error(_0x3c12f9(0x211));let _0xf3246f=new webgpu.Vector3();return this['obj'][_0x3c12f9(0x210)](_0xf3246f),_0xf3246f;}[_0x6266a0(0x1fd)](){const _0x2b278d=_0x6266a0;if(!this['obj'])throw Error(_0x2b278d(0x211));let _0x2fc0c1=new webgpu.Quaternion();return this[_0x2b278d(0x1dd)][_0x2b278d(0x219)](_0x2fc0c1),new webgpu.Euler()[_0x2b278d(0x205)](_0x2fc0c1);}[_0x6266a0(0x219)](){const _0x5198af=_0x6266a0;if(!this[_0x5198af(0x1dd)])throw Error(_0x5198af(0x211));let _0x218bec=new webgpu.Quaternion();return this[_0x5198af(0x1dd)][_0x5198af(0x219)](_0x218bec),_0x218bec;}['getWorldScale'](){const _0x2333a2=_0x6266a0;if(!this[_0x2333a2(0x1dd)])throw Error('threeObject\x20is\x20invalid');let _0x419b26=new webgpu.Vector3();return this[_0x2333a2(0x1dd)][_0x2333a2(0x1d8)](_0x419b26),_0x419b26;}[_0x6266a0(0x1e8)](){const _0x44d57f=_0x6266a0;if(!this[_0x44d57f(0x1dd)])throw Error(_0x44d57f(0x211));return this['obj']['updateMatrixWorld'](!![]),this[_0x44d57f(0x1dd)][_0x44d57f(0x1f8)][_0x44d57f(0x1f5)]();}[_0x6266a0(0x20c)](_0x4cc2e5){const _0x3d148e=_0x6266a0;if(!this['obj'])throw Error(_0x3d148e(0x211));if(this[_0x3d148e(0x1dd)][_0x3d148e(0x1cf)]){this[_0x3d148e(0x1dd)][_0x3d148e(0x1cf)][_0x3d148e(0x1fe)](!![]);const _0x1baf53=this['obj']['parent'][_0x3d148e(0x1f8)]['clone']()['invert'](),_0x219c1e=new webgpu.Matrix4()[_0x3d148e(0x212)](_0x1baf53,_0x4cc2e5);this[_0x3d148e(0x200)](_0x219c1e);}else this[_0x3d148e(0x200)](_0x4cc2e5);this[_0x3d148e(0x1dd)][_0x3d148e(0x1fe)](!![]),this[_0x3d148e(0x1de)]&&this[_0x3d148e(0x1de)][_0x3d148e(0x1e4)][_0x3d148e(0x1d0)]();}[_0x6266a0(0x1a8)](){const _0x3cbe0a=_0x6266a0;if(!this[_0x3cbe0a(0x1dd)])throw Error('threeObject\x20is\x20invalid');let _0x57b8ec=new webgpu.Vector3();return this[_0x3cbe0a(0x1dd)][_0x3cbe0a(0x1bb)](_0x57b8ec),_0x57b8ec;}['getWorldUpDirection'](){const _0x46f872=_0x6266a0;if(!this[_0x46f872(0x1dd)])throw Error(_0x46f872(0x211));let _0x1b7399=new webgpu.Vector3(0x0,0x1,0x0);return _0x1b7399['applyQuaternion'](this[_0x46f872(0x219)]()),_0x1b7399;}['getWorldRightDirection'](){const _0x2f545b=_0x6266a0;if(!this[_0x2f545b(0x1dd)])throw Error(_0x2f545b(0x211));let _0x24cdff=new webgpu.Vector3(0x1,0x0,0x0);return _0x24cdff[_0x2f545b(0x1fa)](this[_0x2f545b(0x219)]()),_0x24cdff;}[_0x6266a0(0x1da)](_0x1bb21d){const _0x32c79d=_0x6266a0;if(!this[_0x32c79d(0x1dd)])throw Error(_0x32c79d(0x211));return this['obj'][_0x32c79d(0x1da)](_0x1bb21d);}[_0x6266a0(0x1b0)](_0x1d643a){const _0xc35d8f=_0x6266a0;if(!this['obj'])throw Error(_0xc35d8f(0x211));return this[_0xc35d8f(0x1dd)][_0xc35d8f(0x1b0)](_0x1d643a);}['attachComponent'](_0x3a0ff4){const _0x23a94d=_0x6266a0;if(!this['obj'])throw Error('threeObject\x20is\x20invalid');if(!_0x3a0ff4[_0x23a94d(0x1a6)])throw Error(_0x23a94d(0x1ab));this[_0x23a94d(0x1dd)][_0x23a94d(0x1c8)](_0x3a0ff4[_0x23a94d(0x1a6)]),this[_0x23a94d(0x1de)]&&_0x3a0ff4[_0x23a94d(0x1ac)](this[_0x23a94d(0x1de)]);}[_0x6266a0(0x1a7)](_0x310fac){const _0x29565e=_0x6266a0;if(!this[_0x29565e(0x1dd)])throw Error(_0x29565e(0x211));if(!_0x310fac['threeObject'])throw Error(_0x29565e(0x203));this[_0x29565e(0x1dd)][_0x29565e(0x21a)](_0x310fac[_0x29565e(0x1a6)]);}['addChildComponent'](_0x2f24db,_0xdc127f=exports.AttachmentRules['KeepRelative']){const _0x54556f=_0x6266a0;if(!this[_0x54556f(0x1dd)])throw Error('threeObject\x20is\x20invalid');if(!_0x2f24db['threeObject'])throw Error(_0x54556f(0x1ab));_0x2f24db['parentActor']=this[_0x54556f(0x204)];if(_0xdc127f===exports.AttachmentRules[_0x54556f(0x218)]){let _0x54822f=_0x2f24db[_0x54556f(0x1e8)]();this['obj'][_0x54556f(0x1c8)](_0x2f24db['threeObject']),_0x2f24db[_0x54556f(0x20c)](_0x54822f);}else this[_0x54556f(0x1dd)][_0x54556f(0x1c8)](_0x2f24db['threeObject']);this['world']&&_0x2f24db['onAddedToWorld'](this['world']),this[_0x54556f(0x1dd)][_0x54556f(0x1d9)](),this[_0x54556f(0x1dd)][_0x54556f(0x1fe)](!![]);}[_0x6266a0(0x1d6)](_0x5fe128){const _0x99215=_0x6266a0;if(!this['obj'])throw Error(_0x99215(0x211));if(!_0x5fe128[_0x99215(0x1a6)])throw Error('targetComponent\x20threeObject\x20is\x20invalid');this['obj'][_0x99215(0x21a)](_0x5fe128[_0x99215(0x1a6)]);}[_0x6266a0(0x1eb)](){const _0x3c7144=_0x6266a0;this[_0x3c7144(0x1d4)]&&this[_0x3c7144(0x1d4)]['removeChildComponent'](this);}[_0x6266a0(0x1ef)](){const _0x173a8f=_0x6266a0;this[_0x173a8f(0x204)]&&(this[_0x173a8f(0x204)]=null);}[_0x6266a0(0x1e6)](){const _0x487dd6=_0x6266a0;var _0x3501fe;if(!this[_0x487dd6(0x1dd)])return;let _0x3bf7ff=[];for(let _0x3997d2=0x0;_0x3997d2<this[_0x487dd6(0x1dd)][_0x487dd6(0x1f4)]['length'];++_0x3997d2){let _0x4b3963=(_0x3501fe=this[_0x487dd6(0x1dd)][_0x487dd6(0x1f4)][_0x3997d2][_0x487dd6(0x1c3)])===null||_0x3501fe===void 0?void 0:_0x3501fe[_0x487dd6(0x21b)];_0x4b3963&&_0x3bf7ff[_0x487dd6(0x1f9)](_0x4b3963);}_0x3bf7ff[_0x487dd6(0x1dc)](_0x1bbe3e=>{const _0x50bdb8=_0x487dd6;_0x1bbe3e[_0x50bdb8(0x1c0)]();}),_0x3bf7ff=[];}set[_0x6266a0(0x1c1)](_0x4ef848){const _0x3a2923=_0x6266a0;this[_0x3a2923(0x1af)]=_0x4ef848;let _0x5b8166=this['childrenComponents'];for(let _0x36a5a3=0x0;_0x36a5a3<_0x5b8166[_0x3a2923(0x1cb)];++_0x36a5a3){_0x5b8166[_0x36a5a3]['isHoverEnabled']=this['bCanHover'];}}get[_0x6266a0(0x1c1)](){const _0x4435d8=_0x6266a0;return this[_0x4435d8(0x1af)];}set['isClickEnabled'](_0x4bad48){const _0x2d81b4=_0x6266a0;this[_0x2d81b4(0x1b5)]=_0x4bad48;let _0x205537=this[_0x2d81b4(0x1bf)];for(let _0x2dd8a1=0x0;_0x2dd8a1<_0x205537[_0x2d81b4(0x1cb)];++_0x2dd8a1){_0x205537[_0x2dd8a1][_0x2d81b4(0x1b3)]=this[_0x2d81b4(0x1b5)];}}get[_0x6266a0(0x1b3)](){const _0x4efb41=_0x6266a0;return this[_0x4efb41(0x1b5)];}[_0x6266a0(0x1b7)](){const _0x213c94=_0x6266a0;this[_0x213c94(0x1ba)][_0x213c94(0x1e1)]();}[_0x6266a0(0x217)](){const _0x3ddda0=_0x6266a0;this[_0x3ddda0(0x1ca)][_0x3ddda0(0x1e1)]();}[_0x6266a0(0x1d1)](){const _0x3fa31d=_0x6266a0;this[_0x3fa31d(0x216)]['broadcast']();}[_0x6266a0(0x1c6)](){const _0x196343=_0x6266a0;this[_0x196343(0x1b6)][_0x196343(0x1e1)]();}}
|
|
30
|
+
const _0x61c031=_0x122c;(function(_0x3bc21b,_0x478d16){const _0x1acd20=_0x122c,_0x40598f=_0x3bc21b();while(!![]){try{const _0x4a2657=parseInt(_0x1acd20(0x1fd))/0x1*(parseInt(_0x1acd20(0x205))/0x2)+parseInt(_0x1acd20(0x22d))/0x3*(-parseInt(_0x1acd20(0x23b))/0x4)+parseInt(_0x1acd20(0x228))/0x5+-parseInt(_0x1acd20(0x1e3))/0x6*(-parseInt(_0x1acd20(0x221))/0x7)+parseInt(_0x1acd20(0x236))/0x8*(parseInt(_0x1acd20(0x1ef))/0x9)+-parseInt(_0x1acd20(0x202))/0xa+-parseInt(_0x1acd20(0x218))/0xb;if(_0x4a2657===_0x478d16)break;else _0x40598f['push'](_0x40598f['shift']());}catch(_0x38be09){_0x40598f['push'](_0x40598f['shift']());}}}(_0x5f55,0xe4c67));function _0x122c(_0x475df6,_0x5b3c7e){_0x475df6=_0x475df6-0x1d7;const _0x5f55f2=_0x5f55();let _0x122cbc=_0x5f55f2[_0x475df6];return _0x122cbc;}function _0x5f55(){const _0xcb1da7=['parent','childrenComponents','setWorldMatrix','setQuaternion\x20failed,param\x20is\x20invalid','getRotation','onHorveringEnd','3825811GXBDiM','_onHoverEndDelegate','onAddedToWorld','userData','detachComponent','setLayers','getWorldPosition','createDefaultObject','getWorldRotation','2956786GrVffT','broadcast','destroy','bCanHover','onDoubleClicked','world','children','1219555sYsofI','isClickEnabled','worldToLocal','getWorldForwardDirection','KeepWorld','3784383XjfRKn','viewport','KeepRelative','updateMatrixWorld','removeChildComponent','length','detachFromParentComponent','getWorldRightDirection','addChildComponent','2443736gyDySd','isHoverEnabled','SceneComponent','parentComponent','_onHoverBeginDelegate','4KjDSZp','_onClickDelegate','onHoverEndDelegate','push','matrix','localToWorld','getWorldQuaternion','clone','rotation','destroyChildren','applyQuaternion','min','app','updateMatrix','compose','getPosition','matrixWorld','parentActor','onHoverBeginDelegate','isEmpty','24SyCIbh','isQuaternion','LYObject','matrixAutoUpdate','decompose','threeObject','getBounds','destroyObject','remove','getComponentById','obj','setQuaternion','18ngAhgR','bCanClick','threeObject\x20is\x20invalid','setVisible','position','_parentActor','visible','multiplyMatrices','getCenter','tick','forEach','onDoubleClickDelegate','getScale','number','21102evwgYG','target\x20threeObject\x20is\x20invalid','getWorldMatrix','_onDoubleClickDelegate','copy','9899060JruwMm','isVector3','markRenderStateDirty','94vhLWCA','setRotation','getBoundsTopCenterPositionWS','setPosition','uuid','scale','getQuaternion','quaternion','isVisible','add','detachFromParentActor','invert','max'];_0x5f55=function(){return _0xcb1da7;};return _0x5f55();}class SceneComponent extends Component{set[_0x61c031(0x1e0)](_0x2fc546){const _0x481232=_0x61c031;this['childrenComponents'][_0x481232(0x1f9)](_0x941183=>{const _0x1a0615=_0x481232;_0x941183[_0x1a0615(0x1e0)]=_0x2fc546;}),this[_0x481232(0x1f4)]=_0x2fc546;}get[_0x61c031(0x1e0)](){const _0x473cab=_0x61c031;return this[_0x473cab(0x1f4)];}get[_0x61c031(0x1e1)](){const _0x276fb6=_0x61c031;return this[_0x276fb6(0x23a)];}get[_0x61c031(0x23d)](){return this['_onHoverEndDelegate'];}get['onClickDelegate'](){return this['_onClickDelegate'];}get[_0x61c031(0x1fa)](){const _0x27fe13=_0x61c031;return this[_0x27fe13(0x200)];}get[_0x61c031(0x226)](){return this['app']['world'];}constructor(_0x5b20a0,_0x331aac){const _0x35a0d8=_0x61c031;super(_0x331aac),this[_0x35a0d8(0x224)]=![],this[_0x35a0d8(0x1f0)]=![],this[_0x35a0d8(0x23a)]=new Delegate(),this[_0x35a0d8(0x219)]=new Delegate(),this['_onClickDelegate']=new Delegate(),this['_onDoubleClickDelegate']=new Delegate(),this[_0x35a0d8(0x1db)]=_0x5b20a0,this['name']=_0x35a0d8(0x238);}[_0x61c031(0x21f)](){return new webgpu.Object3D();}['tick'](_0x411ea6){const _0xdb5e47=_0x61c031;super[_0xdb5e47(0x1f8)](_0x411ea6),this[_0xdb5e47(0x213)][_0xdb5e47(0x1f9)](_0x2aa28a=>{const _0x410d96=_0xdb5e47;_0x2aa28a[_0x410d96(0x1f8)](_0x411ea6);});}get[_0x61c031(0x20d)](){const _0x1cbe31=_0x61c031;if(!this[_0x1cbe31(0x1ed)])return ![];return this[_0x1cbe31(0x1ed)][_0x1cbe31(0x1f5)];}[_0x61c031(0x1f2)](_0x56560f){const _0x5ad613=_0x61c031;if(!this['obj'])throw Error(_0x5ad613(0x1f1));this['obj'][_0x5ad613(0x1f5)]=_0x56560f,this[_0x5ad613(0x226)]&&this[_0x5ad613(0x226)]['viewport'][_0x5ad613(0x204)]();}[_0x61c031(0x21d)](_0x573507){const _0x5dd5c8=_0x61c031;if(!this[_0x5dd5c8(0x1ed)])throw Error(_0x5dd5c8(0x1f1));this['obj']['layers']['set'](_0x573507);let _0x370682=this[_0x5dd5c8(0x213)];_0x370682[_0x5dd5c8(0x1f9)](_0x450b03=>{const _0x392ece=_0x5dd5c8;_0x450b03[_0x392ece(0x21d)](_0x573507);});}['getComponentById'](_0x69452a,_0x4dde47=!![]){const _0x5637b5=_0x61c031;if(this[_0x5637b5(0x209)]===_0x69452a)return this;if(_0x4dde47){let _0x400fd8=this[_0x5637b5(0x213)];for(let _0x2bf490=0x0;_0x2bf490<_0x400fd8[_0x5637b5(0x232)];++_0x2bf490){let _0x3f2cc7=_0x400fd8[_0x2bf490][_0x5637b5(0x1ec)](_0x69452a,_0x4dde47);if(_0x3f2cc7)return _0x3f2cc7;}}else {let _0x422b93=this[_0x5637b5(0x213)];for(let _0x37667c=0x0;_0x37667c<_0x422b93[_0x5637b5(0x232)];++_0x37667c){let _0xa96b83=_0x422b93[_0x37667c];if(_0xa96b83[_0x5637b5(0x209)]===_0x69452a)return _0xa96b83;}}return null;}['getBoundsCenterPositionWS'](){const _0x462298=_0x61c031;let _0x412f1b=new webgpu.Vector3();return this[_0x462298(0x1e9)]()['getCenter'](_0x412f1b),this[_0x462298(0x21e)]();}[_0x61c031(0x207)](){const _0x32a40f=_0x61c031;let _0x16ccc4=new webgpu.Vector3(),_0x4b033b=this[_0x32a40f(0x1e9)]();return _0x4b033b['getCenter'](_0x16ccc4),_0x16ccc4['y']=_0x4b033b['max']['y'],_0x16ccc4;}['getBoundsBottomCenterPositionWS'](){const _0x113304=_0x61c031;let _0x4f7d97=new webgpu.Vector3(),_0x18117c=this[_0x113304(0x1e9)]();return _0x18117c[_0x113304(0x1f7)](_0x4f7d97),_0x4f7d97['y']=_0x18117c[_0x113304(0x1da)]['y'],_0x4f7d97;}['getBounds'](){const _0x3c167e=_0x61c031;if(!this[_0x3c167e(0x1ed)])throw Error(_0x3c167e(0x1f1));let _0x651bea=new webgpu.Box3();return _0x651bea['setFromObject'](this[_0x3c167e(0x1ed)],![]),_0x651bea[_0x3c167e(0x1e2)]()&&(_0x651bea['min']=_0x651bea[_0x3c167e(0x211)]=this[_0x3c167e(0x21e)]()),_0x651bea;}get[_0x61c031(0x239)](){const _0x1a7150=_0x61c031;var _0x5f929e,_0x9bd9b8;if(!this['obj'])throw Error(_0x1a7150(0x1f1));let _0xe7bbb4=(_0x9bd9b8=(_0x5f929e=this[_0x1a7150(0x1ed)])===null||_0x5f929e===void 0?void 0:_0x5f929e[_0x1a7150(0x212)])===null||_0x9bd9b8===void 0?void 0:_0x9bd9b8[_0x1a7150(0x21b)]['LYObject'];if(!_0xe7bbb4)return null;if(!(_0xe7bbb4 instanceof SceneComponent))return null;if(_0xe7bbb4[_0x1a7150(0x1e0)]!==this['parentActor'])return null;return _0xe7bbb4;}get[_0x61c031(0x213)](){const _0x5cded9=_0x61c031;if(!this[_0x5cded9(0x1ed)])throw Error(_0x5cded9(0x1f1));let _0x587276=[];for(let _0x24e0fe=0x0;_0x24e0fe<this['obj'][_0x5cded9(0x227)][_0x5cded9(0x232)];++_0x24e0fe){if(!this['obj'][_0x5cded9(0x227)][_0x24e0fe][_0x5cded9(0x21b)][_0x5cded9(0x1e5)])continue;this[_0x5cded9(0x1ed)]['children'][_0x24e0fe][_0x5cded9(0x21b)][_0x5cded9(0x1e5)]['parentActor']===this['parentActor']&&_0x587276['push'](this['obj'][_0x5cded9(0x227)][_0x24e0fe][_0x5cded9(0x21b)]['LYObject']);}return _0x587276;}[_0x61c031(0x21a)](_0x9e114e){const _0x37c3cd=_0x61c031;let _0x188c10=this['childrenComponents'];for(let _0x35a231=0x0;_0x35a231<_0x188c10[_0x37c3cd(0x232)];++_0x35a231){_0x188c10[_0x35a231][_0x37c3cd(0x21a)](_0x9e114e);}}[_0x61c031(0x223)](){const _0x1ab1bd=_0x61c031;this['isHoverEnabled']=![],this[_0x1ab1bd(0x229)]=![],this[_0x1ab1bd(0x20f)](),this[_0x1ab1bd(0x233)](),this[_0x1ab1bd(0x1d8)](),this['destroyObject'](),this['world']&&this[_0x1ab1bd(0x226)]['viewport'][_0x1ab1bd(0x204)]();}[_0x61c031(0x1ea)](){const _0x560f2a=_0x61c031;if(!this[_0x560f2a(0x1ed)])return;this[_0x560f2a(0x1ed)][_0x560f2a(0x212)]&&this['obj'][_0x560f2a(0x212)][_0x560f2a(0x1eb)](this[_0x560f2a(0x1ed)]),super['destroyObject']();}[_0x61c031(0x1de)](){const _0x1f97c2=_0x61c031;if(!this[_0x1f97c2(0x1ed)])throw Error(_0x1f97c2(0x1f1));if(this[_0x1f97c2(0x1ed)]['matrixAutoUpdate'])return this[_0x1f97c2(0x1ed)][_0x1f97c2(0x1f3)][_0x1f97c2(0x242)]();else {const _0x51d328=new webgpu.Vector3(),_0x1b3019=new webgpu.Quaternion(),_0x2dbab4=new webgpu.Vector3();return this[_0x1f97c2(0x1ed)]['matrix'][_0x1f97c2(0x1e7)](_0x51d328,_0x1b3019,_0x2dbab4),_0x51d328;}}[_0x61c031(0x208)](..._0x3c4000){const _0xc81f86=_0x61c031;var _0x376c50;if(!this[_0xc81f86(0x1ed)])throw Error(_0xc81f86(0x1f1));let _0x452e62=null;if(_0x3c4000[_0xc81f86(0x232)]===0x1&&((_0x376c50=_0x3c4000[0x0])===null||_0x376c50===void 0?void 0:_0x376c50[_0xc81f86(0x203)])){const _0x399179=_0x3c4000[0x0];_0x452e62=new webgpu.Vector3(_0x399179['x'],_0x399179['y'],_0x399179['z']);}else _0x3c4000[_0xc81f86(0x232)]===0x3&&typeof _0x3c4000[0x0]===_0xc81f86(0x1fc)&&typeof _0x3c4000[0x1]==='number'&&typeof _0x3c4000[0x2]===_0xc81f86(0x1fc)&&(_0x452e62=new webgpu.Vector3(_0x3c4000[0x0],_0x3c4000[0x1],_0x3c4000[0x2]));if(!_0x452e62)return;this['obj'][_0xc81f86(0x1f3)]['copy'](_0x452e62),!this['obj'][_0xc81f86(0x1e6)]&&this['obj']['matrix']['setPosition'](_0x452e62['x'],_0x452e62['y'],_0x452e62['z']),this[_0xc81f86(0x1ed)][_0xc81f86(0x1dc)](),this[_0xc81f86(0x1ed)][_0xc81f86(0x230)](!![]),this[_0xc81f86(0x226)]&&this[_0xc81f86(0x226)][_0xc81f86(0x22e)][_0xc81f86(0x204)]();}[_0x61c031(0x216)](){const _0x37274a=_0x61c031;if(!this[_0x37274a(0x1ed)])throw Error(_0x37274a(0x1f1));if(this[_0x37274a(0x1ed)][_0x37274a(0x1e6)])return this[_0x37274a(0x1ed)][_0x37274a(0x1d7)][_0x37274a(0x242)]();else {const _0x4f722e=new webgpu.Vector3(),_0x3d46d7=new webgpu.Quaternion(),_0x109b4a=new webgpu.Vector3();return this[_0x37274a(0x1ed)][_0x37274a(0x23f)][_0x37274a(0x1e7)](_0x4f722e,_0x3d46d7,_0x109b4a),new webgpu.Euler()['setFromQuaternion'](_0x3d46d7);}}[_0x61c031(0x206)](..._0x2f60df){const _0x276586=_0x61c031;var _0xa45f17;if(!this[_0x276586(0x1ed)])throw Error(_0x276586(0x1f1));let _0x29824b=null;if((_0xa45f17=_0x2f60df[0x0])===null||_0xa45f17===void 0?void 0:_0xa45f17['isEuler']){const _0xa81903=_0x2f60df[0x0];_0x29824b=new webgpu.Euler(_0xa81903['x'],_0xa81903['y'],_0xa81903['z'],_0xa81903['order']);}else typeof _0x2f60df[0x0]===_0x276586(0x1fc)&&typeof _0x2f60df[0x1]===_0x276586(0x1fc)&&typeof _0x2f60df[0x2]===_0x276586(0x1fc)&&(_0x29824b=new webgpu.Euler(_0x2f60df[0x0],_0x2f60df[0x1],_0x2f60df[0x2]));if(!_0x29824b)return;this['obj']['rotation'][_0x276586(0x201)](_0x29824b),this[_0x276586(0x1ed)][_0x276586(0x1dc)](),this[_0x276586(0x1ed)][_0x276586(0x230)](!![]),this[_0x276586(0x226)]&&this[_0x276586(0x226)][_0x276586(0x22e)][_0x276586(0x204)]();}[_0x61c031(0x20b)](){const _0xc27008=_0x61c031;if(!this[_0xc27008(0x1ed)])throw Error(_0xc27008(0x1f1));if(this[_0xc27008(0x1ed)][_0xc27008(0x1e6)])return this['obj'][_0xc27008(0x20c)][_0xc27008(0x242)]();else {const _0x2132a5=new webgpu.Vector3(),_0xe155d0=new webgpu.Quaternion(),_0x263202=new webgpu.Vector3();return this[_0xc27008(0x1ed)][_0xc27008(0x23f)][_0xc27008(0x1e7)](_0x2132a5,_0xe155d0,_0x263202),_0xe155d0;}}[_0x61c031(0x1ee)](..._0x4e8035){const _0x209500=_0x61c031;var _0x13266a;if(!this[_0x209500(0x1ed)])throw Error(_0x209500(0x1f1));let _0x5aab07=null;if((_0x13266a=_0x4e8035[0x0])===null||_0x13266a===void 0?void 0:_0x13266a[_0x209500(0x1e4)]){const _0x5d664f=_0x4e8035[0x0];_0x5aab07=new webgpu.Quaternion(_0x5d664f['x'],_0x5d664f['y'],_0x5d664f['z'],_0x5d664f['w']);}else typeof _0x4e8035[0x0]===_0x209500(0x1fc)&&typeof _0x4e8035[0x1]===_0x209500(0x1fc)&&typeof _0x4e8035[0x2]===_0x209500(0x1fc)&&typeof _0x4e8035[0x3]==='number'&&(_0x5aab07=new webgpu.Quaternion(_0x4e8035[0x0],_0x4e8035[0x1],_0x4e8035[0x2],_0x4e8035[0x3]));if(!_0x5aab07){console['error'](_0x209500(0x215),_0x4e8035);return;}this[_0x209500(0x1ed)][_0x209500(0x20c)][_0x209500(0x201)](_0x5aab07);if(!this[_0x209500(0x1ed)][_0x209500(0x1e6)]){const _0x1ad046=new webgpu.Vector3(),_0x4f61ce=new webgpu.Quaternion(),_0x598739=new webgpu.Vector3();this[_0x209500(0x1ed)][_0x209500(0x23f)][_0x209500(0x1e7)](_0x1ad046,_0x4f61ce,_0x598739),this[_0x209500(0x1ed)][_0x209500(0x23f)][_0x209500(0x1dd)](_0x1ad046,_0x5aab07,_0x598739);}this[_0x209500(0x226)]&&this[_0x209500(0x226)][_0x209500(0x22e)][_0x209500(0x204)](),this[_0x209500(0x1ed)][_0x209500(0x1dc)](),this[_0x209500(0x1ed)][_0x209500(0x230)](!![]);}[_0x61c031(0x1fb)](){const _0x486aa4=_0x61c031;if(!this[_0x486aa4(0x1ed)])throw Error(_0x486aa4(0x1f1));if(this[_0x486aa4(0x1ed)][_0x486aa4(0x1e6)])return this[_0x486aa4(0x1ed)][_0x486aa4(0x20a)][_0x486aa4(0x242)]();else {const _0x57848b=new webgpu.Vector3(),_0x19e128=new webgpu.Quaternion(),_0x2ef453=new webgpu.Vector3();return this[_0x486aa4(0x1ed)][_0x486aa4(0x23f)]['decompose'](_0x57848b,_0x19e128,_0x2ef453),_0x2ef453;}}['setScale'](..._0x42d1df){const _0xda59a6=_0x61c031;var _0x15398f;if(!this['obj'])throw Error(_0xda59a6(0x1f1));let _0x16e440=null;if((_0x15398f=_0x42d1df[0x0])===null||_0x15398f===void 0?void 0:_0x15398f['isVector3']){const _0x47faaa=_0x42d1df[0x0];_0x16e440=new webgpu.Vector3(_0x47faaa['x'],_0x47faaa['y'],_0x47faaa['z']);}else typeof _0x42d1df[0x0]===_0xda59a6(0x1fc)&&typeof _0x42d1df[0x1]==='number'&&typeof _0x42d1df[0x2]===_0xda59a6(0x1fc)&&(_0x16e440=new webgpu.Vector3(_0x42d1df[0x0],_0x42d1df[0x1],_0x42d1df[0x2]));if(!_0x16e440)return;this[_0xda59a6(0x1ed)]['scale']['copy'](_0x16e440),this[_0xda59a6(0x1ed)][_0xda59a6(0x1dc)](),this[_0xda59a6(0x1ed)][_0xda59a6(0x230)](!![]),this['world']&&this[_0xda59a6(0x226)]['viewport']['markRenderStateDirty']();}['getMatrix'](){const _0x4d92b5=_0x61c031;if(!this['obj'])throw Error(_0x4d92b5(0x1f1));return this[_0x4d92b5(0x1ed)][_0x4d92b5(0x23f)];}['setMatrix'](_0xd9f0aa){const _0x2030f3=_0x61c031;var _0x3a46cc;if(!this[_0x2030f3(0x1ed)])throw Error(_0x2030f3(0x1f1));_0xd9f0aa[_0x2030f3(0x1e7)](this[_0x2030f3(0x1ed)]['position'],this[_0x2030f3(0x1ed)][_0x2030f3(0x20c)],this[_0x2030f3(0x1ed)]['scale']),this[_0x2030f3(0x1ed)]['updateMatrix'](),this[_0x2030f3(0x1ed)][_0x2030f3(0x230)](!![]),(_0x3a46cc=this[_0x2030f3(0x226)])===null||_0x3a46cc===void 0?void 0:_0x3a46cc[_0x2030f3(0x22e)][_0x2030f3(0x204)]();}[_0x61c031(0x21e)](){const _0x24b439=_0x61c031;if(!this[_0x24b439(0x1ed)])throw Error(_0x24b439(0x1f1));let _0x58e551=new webgpu.Vector3();return this['obj'][_0x24b439(0x21e)](_0x58e551),_0x58e551;}[_0x61c031(0x220)](){const _0x2b73a9=_0x61c031;if(!this[_0x2b73a9(0x1ed)])throw Error(_0x2b73a9(0x1f1));let _0x4f1acc=new webgpu.Quaternion();return this[_0x2b73a9(0x1ed)][_0x2b73a9(0x241)](_0x4f1acc),new webgpu.Euler()['setFromQuaternion'](_0x4f1acc);}['getWorldQuaternion'](){const _0x27dd62=_0x61c031;if(!this[_0x27dd62(0x1ed)])throw Error('threeObject\x20is\x20invalid');let _0x59735a=new webgpu.Quaternion();return this[_0x27dd62(0x1ed)][_0x27dd62(0x241)](_0x59735a),_0x59735a;}['getWorldScale'](){const _0x534225=_0x61c031;if(!this[_0x534225(0x1ed)])throw Error(_0x534225(0x1f1));let _0x281cef=new webgpu.Vector3();return this[_0x534225(0x1ed)]['getWorldScale'](_0x281cef),_0x281cef;}['getWorldMatrix'](){const _0x38105e=_0x61c031;if(!this['obj'])throw Error(_0x38105e(0x1f1));return this[_0x38105e(0x1ed)]['updateMatrixWorld'](!![]),this['obj'][_0x38105e(0x1df)][_0x38105e(0x242)]();}[_0x61c031(0x214)](_0x1888dd){const _0x403ae0=_0x61c031;if(!this[_0x403ae0(0x1ed)])throw Error(_0x403ae0(0x1f1));if(this[_0x403ae0(0x1ed)]['parent']){this[_0x403ae0(0x1ed)]['parent'][_0x403ae0(0x230)](!![]);const _0x22c789=this[_0x403ae0(0x1ed)][_0x403ae0(0x212)]['matrixWorld'][_0x403ae0(0x242)]()[_0x403ae0(0x210)](),_0x2bedad=new webgpu.Matrix4()[_0x403ae0(0x1f6)](_0x22c789,_0x1888dd);this['setMatrix'](_0x2bedad);}else this['setMatrix'](_0x1888dd);this['obj'][_0x403ae0(0x230)](!![]),this[_0x403ae0(0x226)]&&this['world']['viewport'][_0x403ae0(0x204)]();}[_0x61c031(0x22b)](){const _0x196d56=_0x61c031;if(!this[_0x196d56(0x1ed)])throw Error(_0x196d56(0x1f1));let _0x2abb2c=new webgpu.Vector3();return this[_0x196d56(0x1ed)]['getWorldDirection'](_0x2abb2c),_0x2abb2c;}['getWorldUpDirection'](){const _0x422127=_0x61c031;if(!this[_0x422127(0x1ed)])throw Error('threeObject\x20is\x20invalid');let _0x5e3499=new webgpu.Vector3(0x0,0x1,0x0);return _0x5e3499[_0x422127(0x1d9)](this[_0x422127(0x241)]()),_0x5e3499;}[_0x61c031(0x234)](){const _0x568629=_0x61c031;if(!this[_0x568629(0x1ed)])throw Error('threeObject\x20is\x20invalid');let _0x12afa7=new webgpu.Vector3(0x1,0x0,0x0);return _0x12afa7['applyQuaternion'](this[_0x568629(0x241)]()),_0x12afa7;}[_0x61c031(0x22a)](_0x1bf542){const _0x5be633=_0x61c031;if(!this[_0x5be633(0x1ed)])throw Error(_0x5be633(0x1f1));return this[_0x5be633(0x1ed)]['worldToLocal'](_0x1bf542);}[_0x61c031(0x240)](_0x2738da){const _0x3f5b35=_0x61c031;if(!this[_0x3f5b35(0x1ed)])throw Error(_0x3f5b35(0x1f1));return this[_0x3f5b35(0x1ed)][_0x3f5b35(0x240)](_0x2738da);}['attachComponent'](_0x2d17e3){const _0x417d02=_0x61c031;if(!this[_0x417d02(0x1ed)])throw Error('threeObject\x20is\x20invalid');if(!_0x2d17e3[_0x417d02(0x1e8)])throw Error('newComponent\x20threeObject\x20is\x20invalid');this['obj']['add'](_0x2d17e3[_0x417d02(0x1e8)]),this[_0x417d02(0x226)]&&_0x2d17e3[_0x417d02(0x21a)](this[_0x417d02(0x226)]);}[_0x61c031(0x21c)](_0x4523ba){const _0x3cc8a4=_0x61c031;if(!this[_0x3cc8a4(0x1ed)])throw Error(_0x3cc8a4(0x1f1));if(!_0x4523ba['threeObject'])throw Error(_0x3cc8a4(0x1fe));this[_0x3cc8a4(0x1ed)][_0x3cc8a4(0x1eb)](_0x4523ba[_0x3cc8a4(0x1e8)]);}[_0x61c031(0x235)](_0x5002d1,_0x3fdd92=exports.AttachmentRules[_0x61c031(0x22f)]){const _0x2d4b76=_0x61c031;if(!this[_0x2d4b76(0x1ed)])throw Error(_0x2d4b76(0x1f1));if(!_0x5002d1[_0x2d4b76(0x1e8)])throw Error('newComponent\x20threeObject\x20is\x20invalid');_0x5002d1[_0x2d4b76(0x1e0)]=this[_0x2d4b76(0x1e0)];if(_0x3fdd92===exports.AttachmentRules[_0x2d4b76(0x22c)]){let _0x2ffbbb=_0x5002d1[_0x2d4b76(0x1ff)]();this[_0x2d4b76(0x1ed)][_0x2d4b76(0x20e)](_0x5002d1[_0x2d4b76(0x1e8)]),_0x5002d1[_0x2d4b76(0x214)](_0x2ffbbb);}else this[_0x2d4b76(0x1ed)]['add'](_0x5002d1[_0x2d4b76(0x1e8)]);this[_0x2d4b76(0x226)]&&_0x5002d1[_0x2d4b76(0x21a)](this[_0x2d4b76(0x226)]),this[_0x2d4b76(0x1ed)]['updateMatrix'](),this[_0x2d4b76(0x1ed)][_0x2d4b76(0x230)](!![]);}[_0x61c031(0x231)](_0x23762e){const _0x7628e3=_0x61c031;if(!this[_0x7628e3(0x1ed)])throw Error(_0x7628e3(0x1f1));if(!_0x23762e[_0x7628e3(0x1e8)])throw Error('targetComponent\x20threeObject\x20is\x20invalid');this[_0x7628e3(0x1ed)]['remove'](_0x23762e[_0x7628e3(0x1e8)]);}[_0x61c031(0x233)](){const _0x8e4699=_0x61c031;this[_0x8e4699(0x239)]&&this[_0x8e4699(0x239)][_0x8e4699(0x231)](this);}[_0x61c031(0x20f)](){const _0x4c5d57=_0x61c031;this[_0x4c5d57(0x1e0)]&&(this[_0x4c5d57(0x1e0)]=null);}['destroyChildren'](){const _0xe586ad=_0x61c031;var _0x4ae258;if(!this[_0xe586ad(0x1ed)])return;let _0x7bf0b8=[];for(let _0x4ba623=0x0;_0x4ba623<this['obj']['children'][_0xe586ad(0x232)];++_0x4ba623){let _0x4a50dd=(_0x4ae258=this[_0xe586ad(0x1ed)][_0xe586ad(0x227)][_0x4ba623][_0xe586ad(0x21b)])===null||_0x4ae258===void 0?void 0:_0x4ae258[_0xe586ad(0x1e5)];_0x4a50dd&&_0x7bf0b8[_0xe586ad(0x23e)](_0x4a50dd);}_0x7bf0b8['forEach'](_0x9940bb=>{const _0x2a3e5b=_0xe586ad;_0x9940bb[_0x2a3e5b(0x223)]();}),_0x7bf0b8=[];}set['isHoverEnabled'](_0x2b6577){const _0xeefcca=_0x61c031;this[_0xeefcca(0x224)]=_0x2b6577;let _0x141cbc=this[_0xeefcca(0x213)];for(let _0x34ddeb=0x0;_0x34ddeb<_0x141cbc[_0xeefcca(0x232)];++_0x34ddeb){_0x141cbc[_0x34ddeb][_0xeefcca(0x237)]=this['bCanHover'];}}get['isHoverEnabled'](){const _0x27e368=_0x61c031;return this[_0x27e368(0x224)];}set['isClickEnabled'](_0x3c95ab){const _0x8c6605=_0x61c031;this[_0x8c6605(0x1f0)]=_0x3c95ab;let _0x305831=this[_0x8c6605(0x213)];for(let _0x3a4797=0x0;_0x3a4797<_0x305831[_0x8c6605(0x232)];++_0x3a4797){_0x305831[_0x3a4797][_0x8c6605(0x229)]=this['bCanClick'];}}get[_0x61c031(0x229)](){const _0x24fa94=_0x61c031;return this[_0x24fa94(0x1f0)];}['onHorveringBegin'](){const _0x4b23d9=_0x61c031;this[_0x4b23d9(0x23a)][_0x4b23d9(0x222)]();}[_0x61c031(0x217)](){const _0x553f21=_0x61c031;this[_0x553f21(0x219)][_0x553f21(0x222)]();}['onClicked'](){const _0x219c59=_0x61c031;this[_0x219c59(0x23c)][_0x219c59(0x222)]();}[_0x61c031(0x225)](){const _0x967ec2=_0x61c031;this[_0x967ec2(0x200)][_0x967ec2(0x222)]();}}
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
const _0x3da8e6=_0x3dfe;(function(_0x5ba92d,_0x33e49f){const _0x30e670=_0x3dfe,_0x364548=_0x5ba92d();while(!![]){try{const _0x23ff6c=parseInt(_0x30e670(0x127))/0x1*(parseInt(_0x30e670(0x12e))/0x2)+-parseInt(_0x30e670(0x118))/0x3+parseInt(_0x30e670(0x128))/0x4*(-parseInt(_0x30e670(0x137))/0x5)+parseInt(_0x30e670(0x10d))/0x6*(parseInt(_0x30e670(0x11f))/0x7)+parseInt(_0x30e670(0x120))/0x8*(parseInt(_0x30e670(0x11b))/0x9)+parseInt(_0x30e670(0x10b))/0xa*(-parseInt(_0x30e670(0x119))/0xb)+parseInt(_0x30e670(0x132))/0xc;if(_0x23ff6c===_0x33e49f)break;else _0x364548['push'](_0x364548['shift']());}catch(_0x3c21aa){_0x364548['push'](_0x364548['shift']());}}}(_0x1f12,0xd8f1a));function _0x1f12(){const _0x11823c=['LYObject','addGeometryAsset','_materialPtr','receiveShadow','42jtxQqw','4ZFuLhm','forEach','push','threeObject\x20is\x20null','material','getValue','56036WGeZtO','getBoundsCenterPosition','createDefaultObject','length','864636FkQYie','geometryPtr','materialPtr','assetManager','geometry','194425NdqImi','3550990aFSsTF','castShadow','406668YNOdqJ','destroyObject','app','min','isArray','getCenter','getBounds','obj','release','threeObject','userData','2062944JCkaCc','44oXgRip','getBoundsTopCenterPosition','126HPzkMB','max','addMaterialAsset','geometryPtr\x20is\x20null','147ENccQr','207648BqRAYx','_geometryPtr','addRef'];_0x1f12=function(){return _0x11823c;};return _0x1f12();}function _0x3dfe(_0x58c90a,_0x5448a3){_0x58c90a=_0x58c90a-0x10b;const _0x1f12ba=_0x1f12();let _0x3dfee2=_0x1f12ba[_0x58c90a];return _0x3dfee2;}class MeshComponent extends SceneComponent{get[_0x3da8e6(0x116)](){const _0x2ac7a2=_0x3da8e6;if(!this[_0x2ac7a2(0x114)])throw new Error(_0x2ac7a2(0x12b));return this['obj'];}set[_0x3da8e6(0x116)](_0x4dacf9){const _0x21ec38=_0x3da8e6;this[_0x21ec38(0x114)]=_0x4dacf9,this[_0x21ec38(0x114)]&&(this['obj'][_0x21ec38(0x117)][_0x21ec38(0x123)]=this);}get[_0x3da8e6(0x136)](){const _0x65ca10=_0x3da8e6;if(!this[_0x65ca10(0x121)])throw new Error(_0x65ca10(0x11e));return this[_0x65ca10(0x121)][_0x65ca10(0x12d)]();}set['geometry'](_0x2ebe5d){const _0x4a5790=_0x3da8e6;let _0x277d58=this[_0x4a5790(0x10f)][_0x4a5790(0x135)][_0x4a5790(0x124)](_0x2ebe5d);this[_0x4a5790(0x133)]=_0x277d58;}get['geometryPtr'](){const _0x52baf0=_0x3da8e6;if(!this[_0x52baf0(0x121)])throw new Error(_0x52baf0(0x11e));return this[_0x52baf0(0x121)];}set['geometryPtr'](_0x4916a2){const _0x3e1781=_0x3da8e6;this['_geometryPtr']&&(this[_0x3e1781(0x121)]['release'](),this[_0x3e1781(0x121)]=null);this['_geometryPtr']=_0x4916a2;let _0x51949d=_0x4916a2[_0x3e1781(0x12d)]();this[_0x3e1781(0x116)]&&_0x51949d&&(this[_0x3e1781(0x116)][_0x3e1781(0x136)]=_0x51949d);}get[_0x3da8e6(0x12c)](){const _0x1c5d2b=_0x3da8e6;let _0x34440e=[];return this[_0x1c5d2b(0x125)]['forEach'](_0x535c53=>{let _0x2185f2=_0x535c53['getValue']();if(_0x2185f2)_0x34440e['push'](_0x2185f2);}),_0x34440e[_0x1c5d2b(0x131)]>0x1?_0x34440e:_0x34440e[0x0];}get[_0x3da8e6(0x134)](){const _0x3afa88=_0x3da8e6;return this[_0x3afa88(0x134)];}set[_0x3da8e6(0x12c)](_0x2abf5c){const _0x2ee37e=_0x3da8e6;let _0xb65d89=Array[_0x2ee37e(0x111)](_0x2abf5c)?_0x2abf5c:[_0x2abf5c],_0x52bde9=[];_0xb65d89[_0x2ee37e(0x129)](_0x8e0d10=>{const _0xfd985e=_0x2ee37e;let _0x45ce15=this[_0xfd985e(0x10f)][_0xfd985e(0x135)][_0xfd985e(0x11d)](_0x8e0d10);if(_0x45ce15)_0x52bde9[_0xfd985e(0x12a)](_0x45ce15);}),this[_0x2ee37e(0x134)]=_0x52bde9;}set[_0x3da8e6(0x134)](_0x24a5ce){const _0x5cbb05=_0x3da8e6;this[_0x5cbb05(0x125)]&&(this[_0x5cbb05(0x125)]['forEach'](_0x182cc8=>{const _0x24a479=_0x5cbb05;_0x182cc8[_0x24a479(0x115)]();}),this['_materialPtr']=[]);let _0x5584fe=Array[_0x5cbb05(0x111)](_0x24a5ce)?_0x24a5ce:[_0x24a5ce],_0x191c9b=[];_0x5584fe[_0x5cbb05(0x129)](_0x21a5af=>{const _0x52ac14=_0x5cbb05;let _0x7dc7e1=_0x21a5af[_0x52ac14(0x12d)]();if(_0x7dc7e1)_0x191c9b['push'](_0x7dc7e1);_0x21a5af[_0x52ac14(0x122)]();});if(this['threeObject']){if(_0x191c9b[_0x5cbb05(0x131)]>0x0)this[_0x5cbb05(0x116)][_0x5cbb05(0x12c)]=Array[_0x5cbb05(0x111)](_0x24a5ce)?_0x191c9b[0x0]:_0x191c9b;}this['_materialPtr']=_0x5584fe;}constructor(_0x2be07b,_0x53669f,_0x1590df,_0x55d495){const _0x321f5e=_0x3da8e6;let _0x83fd6b=[],_0x3129b3=Array[_0x321f5e(0x111)](_0x1590df)?_0x1590df:[_0x1590df];_0x3129b3[_0x321f5e(0x129)](_0x2c7f77=>{const _0x1a2cf9=_0x321f5e;let _0x225376=_0x2be07b[_0x1a2cf9(0x135)]['addMaterialAsset'](_0x2c7f77);if(_0x225376)_0x83fd6b[_0x1a2cf9(0x12a)](_0x225376);}),super(_0x2be07b,_0x55d495),this[_0x321f5e(0x121)]=_0x2be07b[_0x321f5e(0x135)]['addGeometryAsset'](_0x53669f),this['_materialPtr']=_0x83fd6b,_0x83fd6b[_0x321f5e(0x129)](_0x4585dc=>{const _0x5a831c=_0x321f5e;_0x4585dc[_0x5a831c(0x122)]();}),this['threeObject'][_0x321f5e(0x12c)]=_0x1590df,this[_0x321f5e(0x116)][_0x321f5e(0x136)]=_0x53669f,this[_0x321f5e(0x10c)]=!![],this[_0x321f5e(0x126)]=!![];}[_0x3da8e6(0x130)](){return new webgpu.Mesh();}set[_0x3da8e6(0x10c)](_0x58d5e8){const _0x3b040c=_0x3da8e6;if(this[_0x3b040c(0x116)])this[_0x3b040c(0x116)][_0x3b040c(0x10c)]=_0x58d5e8;}get['castShadow'](){const _0x29c27b=_0x3da8e6;return this[_0x29c27b(0x116)]?this[_0x29c27b(0x116)][_0x29c27b(0x10c)]:![];}set[_0x3da8e6(0x126)](_0x1ab1ad){const _0x31cbe0=_0x3da8e6;if(!this[_0x31cbe0(0x116)])return;this[_0x31cbe0(0x116)][_0x31cbe0(0x126)]=_0x1ab1ad;}get[_0x3da8e6(0x126)](){const _0x1733ca=_0x3da8e6;return this[_0x1733ca(0x116)]?this['threeObject']['receiveShadow']:![];}[_0x3da8e6(0x12f)](){const _0x513b66=_0x3da8e6;let _0x39eab6=new webgpu.Vector3();return this[_0x513b66(0x113)]()[_0x513b66(0x112)](_0x39eab6),_0x39eab6;}[_0x3da8e6(0x11a)](){const _0x331b95=_0x3da8e6;let _0x6fbd0d=new webgpu.Vector3(),_0x5b507d=this[_0x331b95(0x113)]();return _0x5b507d[_0x331b95(0x112)](_0x6fbd0d),_0x6fbd0d['y']=_0x5b507d[_0x331b95(0x11c)]['y'],_0x6fbd0d;}['getBoundsBottomCenterPosition'](){const _0x397773=_0x3da8e6;let _0x2636a4=new webgpu.Vector3(),_0x47356d=this[_0x397773(0x113)]();return _0x47356d['getCenter'](_0x2636a4),_0x2636a4['y']=_0x47356d[_0x397773(0x110)]['y'],_0x2636a4;}[_0x3da8e6(0x10e)](){const _0x2de7fe=_0x3da8e6;var _0x1040cd;this['threeObject']&&this['threeObject']['removeFromParent']();(_0x1040cd=this[_0x2de7fe(0x121)])===null||_0x1040cd===void 0?void 0:_0x1040cd[_0x2de7fe(0x115)]();let _0x4e8f3e=Array[_0x2de7fe(0x111)](this[_0x2de7fe(0x125)])?this[_0x2de7fe(0x125)]:[this[_0x2de7fe(0x125)]];_0x4e8f3e['forEach'](_0x510c4c=>{const _0xf36686=_0x2de7fe;_0x510c4c[_0xf36686(0x115)]();}),super[_0x2de7fe(0x10e)]();}}
|
|
33
33
|
|
|
34
|
-
const
|
|
34
|
+
const _0x14c5e9=_0x388f;function _0x388f(_0xefa7f,_0x18d5af){_0xefa7f=_0xefa7f-0xc9;const _0x572742=_0x5727();let _0x388f4e=_0x572742[_0xefa7f];return _0x388f4e;}function _0x5727(){const _0x253346=['12SQbgNf','923676CsXzDI','destroyObject','updateMatrices','9LwMLvM','removeFromParent','addRef','receiveShadow','needsUpdate','instanceMatrix','1091949ujWOyA','assetManager','release','10VGdPRj','dispose','obj','getMatrixAt','17192wlHKqX','forEach','5122819GCRGAo','length','geometry','_geometryPtr','424358qZSRXN','364974reGeXg','_materialPtr','isArray','material','push','addMaterialAsset','createDefaultObject','260XzZmnn','5wXrisz','min','castShadow','374343ixvMNa','setMatrixAt','count','21TBdKRE','threeObject','getValue','InstanceMeshComponent:\x20threeObject\x20is\x20null'];_0x5727=function(){return _0x253346;};return _0x5727();}(function(_0x3c3f29,_0x56d88d){const _0x3ebea4=_0x388f,_0x24ff1d=_0x3c3f29();while(!![]){try{const _0x2d8c68=parseInt(_0x3ebea4(0xe1))/0x1+-parseInt(_0x3ebea4(0xe4))/0x2*(-parseInt(_0x3ebea4(0xd0))/0x3)+-parseInt(_0x3ebea4(0xd8))/0x4*(parseInt(_0x3ebea4(0xcd))/0x5)+parseInt(_0x3ebea4(0xef))/0x6*(-parseInt(_0x3ebea4(0xd3))/0x7)+-parseInt(_0x3ebea4(0xe8))/0x8*(parseInt(_0x3ebea4(0xdb))/0x9)+parseInt(_0x3ebea4(0xcc))/0xa*(-parseInt(_0x3ebea4(0xee))/0xb)+-parseInt(_0x3ebea4(0xd7))/0xc*(-parseInt(_0x3ebea4(0xea))/0xd);if(_0x2d8c68===_0x56d88d)break;else _0x24ff1d['push'](_0x24ff1d['shift']());}catch(_0x55f3be){_0x24ff1d['push'](_0x24ff1d['shift']());}}}(_0x5727,0xa8c86));class InstanceMeshComponent extends SceneComponent{get[_0x14c5e9(0xd4)](){const _0x58ca68=_0x14c5e9;if(!this[_0x58ca68(0xe6)])throw new Error(_0x58ca68(0xd6));return this[_0x58ca68(0xe6)];}set['threeObject'](_0x56b93b){const _0x2c6459=_0x14c5e9;this['obj']=_0x56b93b,this[_0x2c6459(0xe6)]&&(this[_0x2c6459(0xe6)]['userData']['LYObject']=this);}get['geometry'](){const _0x4c889d=_0x14c5e9;var _0x5331f7,_0x33c96f;return (_0x33c96f=(_0x5331f7=this[_0x4c889d(0xed)])===null||_0x5331f7===void 0?void 0:_0x5331f7[_0x4c889d(0xd5)]())!==null&&_0x33c96f!==void 0?_0x33c96f:null;}get[_0x14c5e9(0xf2)](){const _0x4baf42=_0x14c5e9,_0x196bf8=[];return this['_materialPtr'][_0x4baf42(0xe9)](_0x5ee0f9=>{const _0x29a986=_0x4baf42,_0x1bd0a0=_0x5ee0f9[_0x29a986(0xd5)]();if(_0x1bd0a0)_0x196bf8[_0x29a986(0xc9)](_0x1bd0a0);}),_0x196bf8[_0x4baf42(0xeb)]>0x1?_0x196bf8:_0x196bf8[0x0];}get['count'](){const _0xaa7610=_0x14c5e9;return this[_0xaa7610(0xd4)]['count'];}set[_0x14c5e9(0xd2)](_0x354b03){this['threeObject']['count']=_0x354b03;}set[_0x14c5e9(0xcf)](_0x5c8507){const _0x3749eb=_0x14c5e9;if(this[_0x3749eb(0xd4)])this[_0x3749eb(0xd4)][_0x3749eb(0xcf)]=_0x5c8507;}get['castShadow'](){const _0x1e2b6=_0x14c5e9;return this[_0x1e2b6(0xd4)]?this['threeObject'][_0x1e2b6(0xcf)]:![];}set[_0x14c5e9(0xde)](_0x48ba1e){const _0x2ef882=_0x14c5e9;if(!this[_0x2ef882(0xd4)])return;this['threeObject']['receiveShadow']=_0x48ba1e;}get[_0x14c5e9(0xde)](){const _0x3e568c=_0x14c5e9;return this[_0x3e568c(0xd4)]?this[_0x3e568c(0xd4)]['receiveShadow']:![];}constructor(_0x1a7905,_0x137adf,_0x405be9){const _0x34eccc=_0x14c5e9;super(_0x1a7905,_0x405be9),this[_0x34eccc(0xed)]=null,this[_0x34eccc(0xf0)]=[];_0x137adf['geometry']&&(this[_0x34eccc(0xed)]=_0x1a7905[_0x34eccc(0xe2)]['addGeometryAsset'](_0x137adf[_0x34eccc(0xec)]));const _0x2ee03a=Array[_0x34eccc(0xf1)](_0x137adf[_0x34eccc(0xf2)])?_0x137adf[_0x34eccc(0xf2)]:[_0x137adf['material']];_0x2ee03a['forEach'](_0x37e255=>{const _0xba2229=_0x34eccc,_0x4984be=_0x1a7905[_0xba2229(0xe2)][_0xba2229(0xca)](_0x37e255);_0x4984be&&(_0x4984be[_0xba2229(0xdd)](),this[_0xba2229(0xf0)][_0xba2229(0xc9)](_0x4984be));}),this[_0x34eccc(0xd4)]=_0x137adf,this['castShadow']=!![],this[_0x34eccc(0xde)]=!![];}[_0x14c5e9(0xcb)](){return new webgpu.InstancedMesh(undefined,undefined,0x0);}['getMatrixAt'](_0x431772,_0x4ac100){const _0x72cfb2=_0x14c5e9;this[_0x72cfb2(0xd4)][_0x72cfb2(0xe7)](_0x431772,_0x4ac100);}[_0x14c5e9(0xd1)](_0x37ac0a,_0x5c250e){const _0x2a9d69=_0x14c5e9;this[_0x2a9d69(0xd4)][_0x2a9d69(0xd1)](_0x37ac0a,_0x5c250e),this['threeObject'][_0x2a9d69(0xe0)]['needsUpdate']=!![];}[_0x14c5e9(0xda)](_0x3763a6){const _0x3c28ae=_0x14c5e9,_0x3b72fd=Math[_0x3c28ae(0xce)](_0x3763a6[_0x3c28ae(0xeb)],this[_0x3c28ae(0xd4)][_0x3c28ae(0xd2)]);for(let _0x79ee02=0x0;_0x79ee02<_0x3b72fd;_0x79ee02++){this[_0x3c28ae(0xd4)][_0x3c28ae(0xd1)](_0x79ee02,_0x3763a6[_0x79ee02]);}this[_0x3c28ae(0xd4)]['instanceMatrix'][_0x3c28ae(0xdf)]=!![];}[_0x14c5e9(0xd9)](){const _0x18a398=_0x14c5e9;var _0x5dea02;this[_0x18a398(0xd4)]&&(this[_0x18a398(0xd4)][_0x18a398(0xdc)](),this[_0x18a398(0xd4)][_0x18a398(0xe5)]()),(_0x5dea02=this['_geometryPtr'])===null||_0x5dea02===void 0?void 0:_0x5dea02[_0x18a398(0xe3)](),this[_0x18a398(0xed)]=null,this[_0x18a398(0xf0)]['forEach'](_0x39307d=>{const _0x1f5b94=_0x18a398;_0x39307d[_0x1f5b94(0xe3)]();}),this[_0x18a398(0xf0)]=[],super[_0x18a398(0xd9)]();}}
|
|
35
35
|
|
|
36
|
-
function
|
|
36
|
+
var _0x100525=_0xbdcd;function _0xbdcd(_0x51fa0a,_0x519441){_0x51fa0a=_0x51fa0a-0x12d;var _0x3fe48a=_0x3fe4();var _0xbdcd7c=_0x3fe48a[_0x51fa0a];return _0xbdcd7c;}function _0x3fe4(){var _0x3111cc=['addRef','forceRelease','141816YTlKHM','getValue','1422732oQoodB','10tiChXy','9404591sRHkee','1922425jLzWKq','value','getRefCount','dispose','8sDxBbS','isValid','release','19065897SuuPBb','referenceCount','2105848aAfkxE','280757IaTiyI'];_0x3fe4=function(){return _0x3111cc;};return _0x3fe4();}(function(_0x23f3dd,_0x19f0a1){var _0x43a7b0=_0xbdcd,_0x3e433a=_0x23f3dd();while(!![]){try{var _0x407a35=-parseInt(_0x43a7b0(0x136))/0x1*(-parseInt(_0x43a7b0(0x13c))/0x2)+-parseInt(_0x43a7b0(0x13b))/0x3+-parseInt(_0x43a7b0(0x135))/0x4+-parseInt(_0x43a7b0(0x13e))/0x5+parseInt(_0x43a7b0(0x139))/0x6+-parseInt(_0x43a7b0(0x13d))/0x7+-parseInt(_0x43a7b0(0x130))/0x8*(-parseInt(_0x43a7b0(0x133))/0x9);if(_0x407a35===_0x19f0a1)break;else _0x3e433a['push'](_0x3e433a['shift']());}catch(_0x305c51){_0x3e433a['push'](_0x3e433a['shift']());}}}(_0x3fe4,0xc77fe));class TSmartPointer{constructor(_0x2b5418,_0xda9393=0x1){var _0xc9e331=_0xbdcd;this[_0xc9e331(0x134)]=0x1,this['value']=null,this[_0xc9e331(0x12d)]=_0x2b5418,this[_0xc9e331(0x134)]=_0xda9393;}[_0x100525(0x12e)](){var _0x271728=_0x100525;return this[_0x271728(0x134)];}[_0x100525(0x131)](){var _0x16fe97=_0x100525;return this[_0x16fe97(0x12d)]!==null;}[_0x100525(0x137)](_0x2f5323=0x1){var _0x280f28=_0x100525;this['value']!==null&&(this[_0x280f28(0x134)]+=_0x2f5323);}[_0x100525(0x132)](){var _0x47ae19=_0x100525;this[_0x47ae19(0x12d)]!==null&&this[_0x47ae19(0x134)]>0x0&&(this[_0x47ae19(0x134)]--,this[_0x47ae19(0x134)]===0x0&&this[_0x47ae19(0x12f)]());}[_0x100525(0x138)](){var _0x48efc2=_0x100525;this[_0x48efc2(0x12d)]!==null&&(this[_0x48efc2(0x12f)](),this['referenceCount']=0x0);}[_0x100525(0x12f)](){var _0x1f61a6=_0x100525;this[_0x1f61a6(0x12d)]=null;}[_0x100525(0x13a)](){var _0x1d10ee=_0x100525;return this[_0x1d10ee(0x12d)];}}
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
const _0x3a3296=_0x3c23;(function(_0x28f8cd,_0x9e316f){const _0xb7d789=_0x3c23,_0x194a34=_0x28f8cd();while(!![]){try{const _0x371297=parseInt(_0xb7d789(0x110))/0x1+parseInt(_0xb7d789(0x114))/0x2+parseInt(_0xb7d789(0x108))/0x3*(-parseInt(_0xb7d789(0x107))/0x4)+-parseInt(_0xb7d789(0x10a))/0x5*(parseInt(_0xb7d789(0x10c))/0x6)+parseInt(_0xb7d789(0x10f))/0x7+-parseInt(_0xb7d789(0x109))/0x8*(parseInt(_0xb7d789(0x116))/0x9)+parseInt(_0xb7d789(0x115))/0xa;if(_0x371297===_0x9e316f)break;else _0x194a34['push'](_0x194a34['shift']());}catch(_0x120c63){_0x194a34['push'](_0x194a34['shift']());}}}(_0x3d34,0x383bc));function _0x3d34(){const _0x480fb2=['108JjCnpc','assetPointer','253356fBOjng','9LXKZKu','249544hSLUNX','1050025hOUkQN','value','6BVPPKg','function','_uuid','1892380ibgDoW','2697FGEmDR','dispose','uuid','userData','917664VydSXE','2728010NpUhCE'];_0x3d34=function(){return _0x480fb2;};return _0x3d34();}const ASSET_POINTER_KEY=_0x3a3296(0x117);const EDITOR_ASSET_ID_KEY='editorAssetId';function _0x3c23(_0xd0d1b7,_0x5e4b74){_0xd0d1b7=_0xd0d1b7-0x107;const _0x3d349a=_0x3d34();let _0x3c23fc=_0x3d349a[_0xd0d1b7];return _0x3c23fc;}class TAssetPointer extends TSmartPointer{get[_0x3a3296(0x112)](){const _0x4949e1=_0x3a3296;return this[_0x4949e1(0x10e)];}constructor(_0x32dc77,_0x465486=0x0){const _0x74bd67=_0x3a3296;super(_0x32dc77,_0x465486),this[_0x74bd67(0x10e)]=_0x32dc77[_0x74bd67(0x112)],_0x32dc77[_0x74bd67(0x113)][ASSET_POINTER_KEY]=this;}[_0x3a3296(0x111)](){const _0x240242=_0x3a3296;this['value']&&(this[_0x240242(0x10b)]['userData']&&(delete this[_0x240242(0x10b)][_0x240242(0x113)][ASSET_POINTER_KEY],delete this[_0x240242(0x10b)][_0x240242(0x113)][EDITOR_ASSET_ID_KEY]),typeof this['value'][_0x240242(0x111)]===_0x240242(0x10d)&&this[_0x240242(0x10b)]['dispose']()),super['dispose']();}}
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
function _0x3464(_0x34fb17,_0x5e96cc){_0x34fb17=_0x34fb17-0x131;const _0xfa3807=_0xfa38();let _0x3464ae=_0xfa3807[_0x34fb17];return _0x3464ae;}const _0x3733d3=_0x3464;(function(_0x43c3db,_0x330cb8){const _0x4b4f8c=_0x3464,_0x567549=_0x43c3db();while(!![]){try{const _0x4e319d=-parseInt(_0x4b4f8c(0x142))/0x1+-parseInt(_0x4b4f8c(0x147))/0x2*(parseInt(_0x4b4f8c(0x13f))/0x3)+-parseInt(_0x4b4f8c(0x146))/0x4*(parseInt(_0x4b4f8c(0x140))/0x5)+parseInt(_0x4b4f8c(0x138))/0x6*(parseInt(_0x4b4f8c(0x136))/0x7)+-parseInt(_0x4b4f8c(0x13d))/0x8*(-parseInt(_0x4b4f8c(0x139))/0x9)+parseInt(_0x4b4f8c(0x145))/0xa*(-parseInt(_0x4b4f8c(0x13e))/0xb)+parseInt(_0x4b4f8c(0x144))/0xc*(parseInt(_0x4b4f8c(0x131))/0xd);if(_0x4e319d===_0x330cb8)break;else _0x567549['push'](_0x567549['shift']());}catch(_0x4cd933){_0x567549['push'](_0x567549['shift']());}}}(_0xfa38,0x95343));function _0xfa38(){const _0x3ba5ef=['84FOHMOB','3546awjEpw','release','getValue','delete','22856HUwizA','11GTDMei','3204987ecyJLI','121280xEhKoB','Texture\x20is\x20null','403663LbCpum','needsUpdate','2424924GkQzfQ','3530560YNTUTx','92MXSrnU','2bOKQRB','setTexture','texturePointers','65xjOrdG','Material\x20is\x20null','dispose','textures','values','429016eXKNVL','clear'];_0xfa38=function(){return _0x3ba5ef;};return _0xfa38();}class MaterialAssetPointer extends TAssetPointer{constructor(_0x3573c0,_0x148100,_0x19159f=0x0){super(_0x3573c0,_0x19159f),this['textures']=_0x148100;}get[_0x3733d3(0x149)](){return this['textures'];}[_0x3733d3(0x148)](_0x26cc79,_0x2c7f1c){const _0x32784d=_0x3733d3,_0x27a344=this['getValue'](),_0x1e2637=_0x2c7f1c[_0x32784d(0x13b)]();if(!_0x1e2637)throw new Error(_0x32784d(0x141));if(!_0x27a344)throw new Error(_0x32784d(0x132));const _0x3713b3=this[_0x32784d(0x134)]['get'](_0x26cc79);_0x3713b3!==_0x2c7f1c&&(_0x3713b3&&_0x3713b3[_0x32784d(0x13a)](),this[_0x32784d(0x134)]['set'](_0x26cc79,_0x2c7f1c),_0x27a344[_0x26cc79]=_0x1e2637,_0x2c7f1c['addRef'](),_0x27a344[_0x32784d(0x143)]=!![]);}['removeTexture'](_0x59aee2){const _0x16aaf8=_0x3733d3,_0x2aaedb=this[_0x16aaf8(0x13b)](),_0x50865d=this[_0x16aaf8(0x134)]['get'](_0x59aee2);_0x50865d&&(_0x50865d['release'](),this['textures'][_0x16aaf8(0x13c)](_0x59aee2),_0x2aaedb&&(_0x2aaedb[_0x59aee2]=null,_0x2aaedb[_0x16aaf8(0x143)]=!![]));}['dispose'](){const _0x44d260=_0x3733d3;for(const _0x1cb834 of this[_0x44d260(0x134)][_0x44d260(0x135)]()){_0x1cb834[_0x44d260(0x13a)]();}this[_0x44d260(0x134)][_0x44d260(0x137)](),super[_0x44d260(0x133)]();}}
|
|
41
41
|
|
|
42
|
-
(function(
|
|
42
|
+
function _0x58ab(_0x5e4c02,_0x30009e){_0x5e4c02=_0x5e4c02-0x6f;var _0x3f8614=_0x3f86();var _0x58ab60=_0x3f8614[_0x5e4c02];return _0x58ab60;}(function(_0x252242,_0x2687ff){var _0x53cdef=_0x58ab,_0x53a2f2=_0x252242();while(!![]){try{var _0x4b0eec=parseInt(_0x53cdef(0x73))/0x1+parseInt(_0x53cdef(0x6f))/0x2+parseInt(_0x53cdef(0x70))/0x3+parseInt(_0x53cdef(0x74))/0x4*(-parseInt(_0x53cdef(0x72))/0x5)+parseInt(_0x53cdef(0x71))/0x6+-parseInt(_0x53cdef(0x77))/0x7+-parseInt(_0x53cdef(0x76))/0x8*(parseInt(_0x53cdef(0x75))/0x9);if(_0x4b0eec===_0x2687ff)break;else _0x53a2f2['push'](_0x53a2f2['shift']());}catch(_0x40d201){_0x53a2f2['push'](_0x53a2f2['shift']());}}}(_0x3f86,0x9333c));function _0x3f86(){var _0x238ba4=['1916676TmlpYO','1512okoEXN','23520oYqepN','1231391bDEREa','458952hIykXD','1882782ZGZStm','3449022PCWOaG','10zUROTG','799204IqtHGs'];_0x3f86=function(){return _0x238ba4;};return _0x3f86();}class TextureAssetPointer extends TAssetPointer{constructor(_0x11133e,_0x5156ea=0x1){super(_0x11133e,_0x5156ea);}}
|
|
43
43
|
|
|
44
|
-
(function(
|
|
44
|
+
function _0x53df(_0x1da749,_0x2a27ad){_0x1da749=_0x1da749-0xad;var _0x5da7d6=_0x5da7();var _0x53df46=_0x5da7d6[_0x1da749];return _0x53df46;}(function(_0x3880cc,_0x3a4c06){var _0x25ccfc=_0x53df,_0x2e2885=_0x3880cc();while(!![]){try{var _0x3f9589=-parseInt(_0x25ccfc(0xae))/0x1+parseInt(_0x25ccfc(0xb4))/0x2+-parseInt(_0x25ccfc(0xb3))/0x3+-parseInt(_0x25ccfc(0xb0))/0x4*(-parseInt(_0x25ccfc(0xb2))/0x5)+parseInt(_0x25ccfc(0xb6))/0x6+-parseInt(_0x25ccfc(0xad))/0x7*(parseInt(_0x25ccfc(0xb1))/0x8)+-parseInt(_0x25ccfc(0xb5))/0x9*(parseInt(_0x25ccfc(0xaf))/0xa);if(_0x3f9589===_0x3a4c06)break;else _0x2e2885['push'](_0x2e2885['shift']());}catch(_0x1c1fac){_0x2e2885['push'](_0x2e2885['shift']());}}}(_0x5da7,0xcde78));class GeometryAssetPointer extends TAssetPointer{constructor(_0x1ec978,_0x8d2cac=0x1){super(_0x1ec978,_0x8d2cac);}}function _0x5da7(){var _0xc5ee0c=['826RkVYbC','677370xkLrvV','80KKFWjl','6936CGHcEC','10216FSRYiB','3145VzmmJC','1515159BEmKZd','2065298XYsyzA','870921IffLJH','4963860mjRZPO'];_0x5da7=function(){return _0xc5ee0c;};return _0x5da7();}
|
|
45
45
|
|
|
46
|
-
const _0x2522b1=_0x1d50;function _0x1d50(_0x3fed14,_0x1fedb2){_0x3fed14=_0x3fed14-0xd8;const _0x465f63=_0x465f();let _0x1d507f=_0x465f63[_0x3fed14];return _0x1d507f;}(function(_0x56acd2,_0x8105f5){const _0x53676b=_0x1d50,_0x556b86=_0x56acd2();while(!![]){try{const _0x3acacb=-parseInt(_0x53676b(0x114))/0x1*(-parseInt(_0x53676b(0xdd))/0x2)+-parseInt(_0x53676b(0x106))/0x3*(-parseInt(_0x53676b(0xfd))/0x4)+-parseInt(_0x53676b(0xfe))/0x5+parseInt(_0x53676b(0x109))/0x6+parseInt(_0x53676b(0x101))/0x7+parseInt(_0x53676b(0x118))/0x8*(parseInt(_0x53676b(0x121))/0x9)+-parseInt(_0x53676b(0x102))/0xa*(parseInt(_0x53676b(0x127))/0xb);if(_0x3acacb===_0x8105f5)break;else _0x556b86['push'](_0x556b86['shift']());}catch(_0x21dabb){_0x556b86['push'](_0x556b86['shift']());}}}(_0x465f,0xab294));function _0x465f(){const _0x17dc3a=['addMaterialAsset','addTextureAsset','textures','convertThreeObjectToLYObject','LoadingManager','setupDracoLoader','onError','position','prototype','135037stwEdy','setPosition','loadFile','geometries','376yfceFA','scale','entries','assetPointer','manager','materials','loadingManager','rotation','setScale','11322CwBSOS','material','onLoad','gltfLoader','dracoLoader','forEach','209DoIWih','load','setDecoderPath','releaseAsset','preload','/SceneResource/draco/','loadAsync','20jIhNEK','setRotation','geometry','postMessage','layers','type','addAsset','call','materialAssets','children','forceRelease','traverse','assign','init','values','setDRACOLoader','Object3D','userData','addGeometryAsset','onStart','addRef','Worker','uuid','bind','clearAssets','app','_dracoPatched','dispose','clear','textureAssets','collectResourcesAndReferences','geometryAssets','745924fMxhXp','1679980ZwDcPJ','isArray','clone','7906535rGEOvD','1711340ROaINK','set','decoderConfig','hasOwnProperty','6nWILoS','isMesh','name','8259930MWwLne','Group'];_0x465f=function(){return _0x17dc3a;};return _0x465f();}class AssetManager{constructor(_0x4b81d4){const _0x30b2f1=_0x1d50;this[_0x30b2f1(0xfc)]=new Map(),this[_0x30b2f1(0xfa)]=new Map(),this[_0x30b2f1(0xe5)]=new Map(),this[_0x30b2f1(0x125)]=null,this['loadingManager']=new webgpu.LoadingManager(),this['gltfLoader']=new Addons_js.GLTFLoader(this[_0x30b2f1(0x11e)]),this[_0x30b2f1(0xf6)]=_0x4b81d4;}get[_0x2522b1(0x10f)](){return this['loadingManager'];}async[_0x2522b1(0xea)](){return;}[_0x2522b1(0x110)](_0x3a9ec4){const _0x4033b7=_0x2522b1;if(!this[_0x4033b7(0x125)]){this[_0x4033b7(0x125)]=new Addons_js.DRACOLoader();if(this[_0x4033b7(0x125)][_0x4033b7(0x11c)]){const _0xe2624b=this[_0x4033b7(0x125)][_0x4033b7(0x11c)];_0xe2624b[_0x4033b7(0xf0)]=undefined,_0xe2624b[_0x4033b7(0x123)]=undefined,_0xe2624b['onProgress']=undefined,_0xe2624b[_0x4033b7(0x111)]=undefined;}this[_0x4033b7(0x125)][_0x4033b7(0xd8)](_0x3a9ec4);const _0x3da73f=window[_0x4033b7(0xf2)];if(_0x3da73f&&!_0x3da73f[_0x4033b7(0xf7)]){_0x3da73f['_dracoPatched']=!![],window[_0x4033b7(0xf2)]=function(_0x42d71f,_0x21f5d0){const _0x2c5e50=_0x4033b7,_0x46cfed=new _0x3da73f(_0x42d71f,_0x21f5d0),_0x16a8ac=_0x46cfed[_0x2c5e50(0xe0)][_0x2c5e50(0xf4)](_0x46cfed);return _0x46cfed['postMessage']=function(_0x10d50e,_0x29af64){const _0x3aca2a=_0x2c5e50;if(_0x10d50e&&_0x10d50e['decoderConfig']&&typeof _0x10d50e[_0x3aca2a(0x104)]==='object'){const _0x105976=_0x10d50e['decoderConfig'],_0x15a7a9={};for(const _0x992800 in _0x105976){Object[_0x3aca2a(0x113)][_0x3aca2a(0x105)][_0x3aca2a(0xe4)](_0x105976,_0x992800)&&(_0x15a7a9[_0x992800]=_0x105976[_0x992800]);}_0x10d50e=Object[_0x3aca2a(0xe9)](Object[_0x3aca2a(0xe9)]({},_0x10d50e),{'decoderConfig':_0x15a7a9});}return _0x16a8ac(_0x10d50e,_0x29af64);},_0x46cfed;};for(const _0xf70d1a in _0x3da73f){Object[_0x4033b7(0x113)][_0x4033b7(0x105)][_0x4033b7(0xe4)](_0x3da73f,_0xf70d1a)&&(window['Worker'][_0xf70d1a]=_0x3da73f[_0xf70d1a]);}}this['dracoLoader'][_0x4033b7(0xda)](),this['gltfLoader'][_0x4033b7(0xec)](this[_0x4033b7(0x125)]);}}[_0x2522b1(0x10e)](_0x3e0229,_0x57e1bf){const _0x1d87b8=_0x2522b1,_0x3a1012=_0x57e1bf[_0x1d87b8(0x112)]['clone'](),_0x3bf396=_0x57e1bf[_0x1d87b8(0x11f)][_0x1d87b8(0x100)](),_0x3d5351=_0x57e1bf[_0x1d87b8(0x119)][_0x1d87b8(0x100)]();let _0x27f6fb=null;const _0x29eb07=_0x57e1bf[_0x1d87b8(0xe6)];_0x57e1bf['children']=[];if(_0x57e1bf[_0x1d87b8(0xe2)]===_0x1d87b8(0x10a)||_0x57e1bf[_0x1d87b8(0xe2)]===_0x1d87b8(0xed))_0x27f6fb=new SceneComponent(this[_0x1d87b8(0xf6)],_0x57e1bf[_0x1d87b8(0xf3)]);else {if(_0x57e1bf['isInstancedMesh']){const _0x2665b6=_0x57e1bf;_0x27f6fb=new InstanceMeshComponent(this[_0x1d87b8(0xf6)],_0x2665b6,_0x2665b6['uuid']),_0x27f6fb[_0x1d87b8(0x108)]=_0x2665b6['name'],_0x57e1bf[_0x1d87b8(0xe1)]['set'](0x0);}else {if(_0x57e1bf[_0x1d87b8(0x107)]){const _0x3d0a9f=_0x57e1bf;_0x27f6fb=new MeshComponent(this[_0x1d87b8(0xf6)],_0x3d0a9f[_0x1d87b8(0xdf)],_0x3d0a9f[_0x1d87b8(0x122)],_0x3d0a9f[_0x1d87b8(0xf3)]),_0x27f6fb[_0x1d87b8(0x108)]=_0x3d0a9f[_0x1d87b8(0x108)],_0x57e1bf[_0x1d87b8(0xe1)][_0x1d87b8(0x103)](0x0);}else _0x27f6fb=new SceneComponent(this['app'],_0x57e1bf[_0x1d87b8(0xf3)]);}}if(_0x27f6fb===null)return _0x57e1bf[_0x1d87b8(0xe6)]=_0x29eb07,null;_0x3e0229['addChildComponent'](_0x27f6fb),_0x27f6fb[_0x1d87b8(0x115)](_0x3a1012),_0x27f6fb[_0x1d87b8(0xde)](_0x3bf396),_0x27f6fb[_0x1d87b8(0x120)](_0x3d5351);for(const _0x11a023 of _0x29eb07){this['convertThreeObjectToLYObject'](_0x27f6fb,_0x11a023);}return _0x27f6fb;}[_0x2522b1(0xfb)](_0x56d22b){const _0x2b6d8d=_0x2522b1,_0x3bedbb=(_0x1b8610,_0x388420)=>{const _0x33c0d4=_0x1d50;var _0x4abbf6;const _0xd2d76a=(_0x4abbf6=_0x1b8610['get'](_0x388420))!==null&&_0x4abbf6!==void 0?_0x4abbf6:0x0;_0x1b8610[_0x33c0d4(0x103)](_0x388420,_0xd2d76a+0x1);},_0x4e2e1f={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0x56d22b[_0x2b6d8d(0xe8)](_0xd7068d=>{const _0x34415f=_0x2b6d8d,_0x2b1beb=_0xd7068d;_0x2b1beb[_0x34415f(0xdf)]instanceof webgpu.BufferGeometry&&_0x3bedbb(_0x4e2e1f['geometries'],_0x2b1beb[_0x34415f(0xdf)]);if(_0x2b1beb[_0x34415f(0x122)]){const _0x27a69c=Array['isArray'](_0x2b1beb[_0x34415f(0x122)])?_0x2b1beb[_0x34415f(0x122)]:[_0x2b1beb[_0x34415f(0x122)]];_0x27a69c[_0x34415f(0x126)](_0x100e6f=>{const _0x7f222b=_0x34415f;_0x100e6f&&(_0x3bedbb(_0x4e2e1f[_0x7f222b(0x11d)],_0x100e6f),Object[_0x7f222b(0xeb)](_0x100e6f)[_0x7f222b(0x126)](_0x3cdfd4=>{const _0x433f4c=_0x7f222b;_0x3cdfd4 instanceof webgpu.Texture&&_0x3bedbb(_0x4e2e1f[_0x433f4c(0x10d)],_0x3cdfd4);}));});}}),_0x4e2e1f[_0x2b6d8d(0x117)][_0x2b6d8d(0x126)]((_0x31208c,_0xe69c4f)=>this['addAsset'](_0xe69c4f,_0x31208c)),_0x4e2e1f[_0x2b6d8d(0x11d)][_0x2b6d8d(0x126)]((_0x4e9d71,_0x5990fb)=>this[_0x2b6d8d(0xe3)](_0x5990fb,_0x4e9d71)),_0x4e2e1f['textures'][_0x2b6d8d(0x126)]((_0x302eb4,_0xc86393)=>this['addAsset'](_0xc86393,_0x302eb4));}['checkMeshResource'](_0x49486d){const _0x5761cf=_0x2522b1;_0x49486d[_0x5761cf(0xdf)]&&!_0x49486d[_0x5761cf(0xdf)][_0x5761cf(0xee)][_0x5761cf(0x11b)]&&this[_0x5761cf(0xe3)](_0x49486d[_0x5761cf(0xdf)]);if(_0x49486d['material']){const _0x21c818=Array[_0x5761cf(0xff)](_0x49486d[_0x5761cf(0x122)])?_0x49486d['material']:[_0x49486d[_0x5761cf(0x122)]];_0x21c818[_0x5761cf(0x126)](_0x1f8070=>{const _0x1f1822=_0x5761cf;if(!_0x1f8070)return;!_0x1f8070[_0x1f1822(0xee)][_0x1f1822(0x11b)]&&this[_0x1f1822(0xe3)](_0x1f8070),Object[_0x1f1822(0xeb)](_0x1f8070)['forEach'](_0x596128=>{const _0x27b22a=_0x1f1822;_0x596128 instanceof webgpu.Texture&&!_0x596128[_0x27b22a(0xee)][_0x27b22a(0x11b)]&&this[_0x27b22a(0xe3)](_0x596128);});});}}async['loadGltfFromPathAsync'](_0x4935c0){const _0x56c65b=_0x2522b1;return this[_0x56c65b(0x110)](_0x56c65b(0xdb)),await this[_0x56c65b(0x124)][_0x56c65b(0xdc)](_0x4935c0);}['loadGltfFromPath'](_0x563d3c,_0x28caa6){const _0x1ae41b=_0x2522b1;this[_0x1ae41b(0x110)](_0x1ae41b(0xdb)),this[_0x1ae41b(0x124)][_0x1ae41b(0x128)](_0x563d3c,_0x28caa6);}['loadGltfFromBuffer'](_0x49347b,_0x4e5c8e,_0x5e8a85){const _0x19551f=_0x2522b1;this[_0x19551f(0x110)](_0x19551f(0xdb)),this[_0x19551f(0x124)]['parse'](_0x49347b,_0x4e5c8e,_0x5e8a85);}[_0x2522b1(0x116)](_0x6fd21c='',_0x273159){const _0x4bfdc7=_0x2522b1,_0x350c1a=new webgpu.FileLoader();_0x350c1a[_0x4bfdc7(0x128)](_0x6fd21c,_0x273159);}['addAsset'](_0x18b12d,_0x4f5dd4=0x0){const _0xbe9a95=_0x2522b1;if(_0x18b12d instanceof webgpu.BufferGeometry)return this[_0xbe9a95(0xef)](_0x18b12d,_0x4f5dd4);if(_0x18b12d instanceof webgpu.Material)return this[_0xbe9a95(0x10b)](_0x18b12d,_0x4f5dd4);if(_0x18b12d instanceof webgpu.Texture)return this[_0xbe9a95(0x10c)](_0x18b12d,_0x4f5dd4);return undefined;}[_0x2522b1(0x10b)](_0x5e1d02,_0xdee7e3=0x0){const _0xaee158=_0x2522b1;let _0x3d7f82=_0x5e1d02[_0xaee158(0xee)][_0xaee158(0x11b)];if(!_0x3d7f82){const _0x1f1d06=new Map();Object[_0xaee158(0x11a)](_0x5e1d02)[_0xaee158(0x126)](([_0x569802,_0x57cc11])=>{const _0x255384=_0xaee158;if(_0x57cc11 instanceof webgpu.Texture){const _0xbdbf7e=this[_0x255384(0x10c)](_0x57cc11,0x1);_0x1f1d06[_0x255384(0x103)](_0x569802,_0xbdbf7e);}}),_0x3d7f82=new MaterialAssetPointer(_0x5e1d02,_0x1f1d06,_0xdee7e3),this['materialAssets']['set'](_0x5e1d02['uuid'],_0x3d7f82);}else _0x3d7f82[_0xaee158(0xf1)](_0xdee7e3);return _0x3d7f82;}[_0x2522b1(0x10c)](_0x6cbb64,_0x3cb7ac=0x0){const _0x2483bf=_0x2522b1;let _0x531212=_0x6cbb64[_0x2483bf(0xee)][_0x2483bf(0x11b)];return !_0x531212?(_0x531212=new TextureAssetPointer(_0x6cbb64,_0x3cb7ac),this[_0x2483bf(0xfa)][_0x2483bf(0x103)](_0x6cbb64[_0x2483bf(0xf3)],_0x531212)):_0x531212[_0x2483bf(0xf1)](_0x3cb7ac),_0x531212;}[_0x2522b1(0xef)](_0x29f361,_0x4104c4=0x0){const _0x1d9b80=_0x2522b1;let _0xb882f7=_0x29f361[_0x1d9b80(0xee)][_0x1d9b80(0x11b)];return !_0xb882f7?(_0xb882f7=new GeometryAssetPointer(_0x29f361,_0x4104c4),this['geometryAssets'][_0x1d9b80(0x103)](_0x29f361['uuid'],_0xb882f7)):_0xb882f7[_0x1d9b80(0xf1)](_0x4104c4),_0xb882f7;}[_0x2522b1(0xd9)](_0x390bfb){const _0x21555a=_0x2522b1,_0x10ba80=_0x390bfb[_0x21555a(0xee)]['assetPointer'];_0x10ba80?_0x10ba80['release']():_0x390bfb[_0x21555a(0xf8)]();}[_0x2522b1(0xf5)](){const _0x4ec6a2=_0x2522b1;this[_0x4ec6a2(0xfc)]['forEach'](_0xc61d75=>_0xc61d75[_0x4ec6a2(0xe7)]()),this[_0x4ec6a2(0xfc)][_0x4ec6a2(0xf9)](),this[_0x4ec6a2(0xe5)][_0x4ec6a2(0x126)](_0x27fc31=>_0x27fc31[_0x4ec6a2(0xe7)]()),this[_0x4ec6a2(0xe5)][_0x4ec6a2(0xf9)](),this['textureAssets'][_0x4ec6a2(0x126)](_0x250b09=>_0x250b09[_0x4ec6a2(0xe7)]()),this['textureAssets'][_0x4ec6a2(0xf9)]();}}
|
|
46
|
+
function _0x5010(_0x140786,_0x36e2b6){_0x140786=_0x140786-0x1d2;const _0x38750d=_0x3875();let _0x50101b=_0x38750d[_0x140786];return _0x50101b;}const _0x4c65e5=_0x5010;(function(_0x1e2f9c,_0x5e96d3){const _0x482302=_0x5010,_0x4a8729=_0x1e2f9c();while(!![]){try{const _0x364560=-parseInt(_0x482302(0x202))/0x1+parseInt(_0x482302(0x208))/0x2+parseInt(_0x482302(0x1e8))/0x3+parseInt(_0x482302(0x1fb))/0x4*(parseInt(_0x482302(0x21d))/0x5)+-parseInt(_0x482302(0x219))/0x6*(parseInt(_0x482302(0x1d3))/0x7)+-parseInt(_0x482302(0x210))/0x8+parseInt(_0x482302(0x20a))/0x9;if(_0x364560===_0x5e96d3)break;else _0x4a8729['push'](_0x4a8729['shift']());}catch(_0x3e09ea){_0x4a8729['push'](_0x4a8729['shift']());}}}(_0x3875,0xc811c));function _0x3875(){const _0x1784c6=['Object3D','parse','Group','app','children','get','set','468DWmJeF','materialAssets','isMesh','loadFile','convertThreeObjectToLYObject','_dracoPatched','/SceneResource/draco/','637849luqsCY','assign','release','addRef','traverse','setDecoderPath','1063372cgCRrk','preload','18686889KaIMLs','decoderConfig','addGeometryAsset','hasOwnProperty','dracoLoader','assetPointer','12494752hqyqCG','clear','load','rotation','bind','geometryAssets','manager','addTextureAsset','loadGltfFromPathAsync','1608612ofFUUJ','values','LoadingManager','onLoad','28745fhyfXs','geometry','loadAsync','userData','checkMeshResource','uuid','forEach','prototype','35yRJmLa','addAsset','setupDracoLoader','object','textures','addChildComponent','loadGltfFromPath','setRotation','Worker','materials','init','entries','material','setPosition','dispose','isArray','onStart','textureAssets','call','gltfLoader','forceRelease','3237141VdjppP','setScale','position','layers','type','name','releaseAsset','setDRACOLoader','addMaterialAsset','loadingManager','clone','postMessage'];_0x3875=function(){return _0x1784c6;};return _0x3875();}class AssetManager{constructor(_0x9e3840){const _0x5c519d=_0x5010;this['geometryAssets']=new Map(),this[_0x5c519d(0x1e4)]=new Map(),this[_0x5c519d(0x1fc)]=new Map(),this[_0x5c519d(0x20e)]=null,this[_0x5c519d(0x1f1)]=new webgpu.LoadingManager(),this[_0x5c519d(0x1e6)]=new Addons_js.GLTFLoader(this[_0x5c519d(0x1f1)]),this[_0x5c519d(0x1f7)]=_0x9e3840;}get[_0x4c65e5(0x21b)](){const _0x46b256=_0x4c65e5;return this[_0x46b256(0x1f1)];}async[_0x4c65e5(0x1dd)](){return;}[_0x4c65e5(0x1d5)](_0x2ecdcb){const _0x141685=_0x4c65e5;if(!this[_0x141685(0x20e)]){this[_0x141685(0x20e)]=new Addons_js.DRACOLoader();if(this[_0x141685(0x20e)][_0x141685(0x216)]){const _0x38a3d0=this[_0x141685(0x20e)][_0x141685(0x216)];_0x38a3d0[_0x141685(0x1e3)]=undefined,_0x38a3d0[_0x141685(0x21c)]=undefined,_0x38a3d0['onProgress']=undefined,_0x38a3d0['onError']=undefined;}this[_0x141685(0x20e)][_0x141685(0x207)](_0x2ecdcb);const _0x3c1601=window['Worker'];if(_0x3c1601&&!_0x3c1601[_0x141685(0x200)]){_0x3c1601[_0x141685(0x200)]=!![],window[_0x141685(0x1db)]=function(_0x5a37f2,_0x591698){const _0xa68b63=_0x141685,_0x2cad61=new _0x3c1601(_0x5a37f2,_0x591698),_0x80628e=_0x2cad61[_0xa68b63(0x1f3)][_0xa68b63(0x214)](_0x2cad61);return _0x2cad61[_0xa68b63(0x1f3)]=function(_0xfee66f,_0x39b08a){const _0x4ff73f=_0xa68b63;if(_0xfee66f&&_0xfee66f[_0x4ff73f(0x20b)]&&typeof _0xfee66f[_0x4ff73f(0x20b)]===_0x4ff73f(0x1d6)){const _0x324d21=_0xfee66f[_0x4ff73f(0x20b)],_0x4390aa={};for(const _0x1aba62 in _0x324d21){Object['prototype'][_0x4ff73f(0x20d)][_0x4ff73f(0x1e5)](_0x324d21,_0x1aba62)&&(_0x4390aa[_0x1aba62]=_0x324d21[_0x1aba62]);}_0xfee66f=Object[_0x4ff73f(0x203)](Object[_0x4ff73f(0x203)]({},_0xfee66f),{'decoderConfig':_0x4390aa});}return _0x80628e(_0xfee66f,_0x39b08a);},_0x2cad61;};for(const _0x750ff9 in _0x3c1601){Object[_0x141685(0x1d2)]['hasOwnProperty'][_0x141685(0x1e5)](_0x3c1601,_0x750ff9)&&(window[_0x141685(0x1db)][_0x750ff9]=_0x3c1601[_0x750ff9]);}}this[_0x141685(0x20e)][_0x141685(0x209)](),this['gltfLoader'][_0x141685(0x1ef)](this[_0x141685(0x20e)]);}}['convertThreeObjectToLYObject'](_0x527bd3,_0x327284){const _0x460666=_0x4c65e5,_0x162c38=_0x327284[_0x460666(0x1ea)]['clone'](),_0x28605a=_0x327284[_0x460666(0x213)][_0x460666(0x1f2)](),_0x4ec61a=_0x327284['scale'][_0x460666(0x1f2)]();let _0x59f547=null;const _0x14d6a9=_0x327284[_0x460666(0x1f8)];_0x327284[_0x460666(0x1f8)]=[];if(_0x327284[_0x460666(0x1ec)]===_0x460666(0x1f6)||_0x327284[_0x460666(0x1ec)]===_0x460666(0x1f4))_0x59f547=new SceneComponent(this[_0x460666(0x1f7)],_0x327284[_0x460666(0x222)]);else {if(_0x327284['isInstancedMesh']){const _0x54d056=_0x327284;_0x59f547=new InstanceMeshComponent(this[_0x460666(0x1f7)],_0x54d056,_0x54d056[_0x460666(0x222)]),_0x59f547['name']=_0x54d056['name'],_0x327284[_0x460666(0x1eb)][_0x460666(0x1fa)](0x0);}else {if(_0x327284[_0x460666(0x1fd)]){const _0x2d03ea=_0x327284;_0x59f547=new MeshComponent(this['app'],_0x2d03ea[_0x460666(0x21e)],_0x2d03ea['material'],_0x2d03ea[_0x460666(0x222)]),_0x59f547[_0x460666(0x1ed)]=_0x2d03ea[_0x460666(0x1ed)],_0x327284['layers'][_0x460666(0x1fa)](0x0);}else _0x59f547=new SceneComponent(this['app'],_0x327284[_0x460666(0x222)]);}}if(_0x59f547===null)return _0x327284[_0x460666(0x1f8)]=_0x14d6a9,null;_0x527bd3[_0x460666(0x1d8)](_0x59f547),_0x59f547[_0x460666(0x1e0)](_0x162c38),_0x59f547[_0x460666(0x1da)](_0x28605a),_0x59f547[_0x460666(0x1e9)](_0x4ec61a);for(const _0x4edd21 of _0x14d6a9){this[_0x460666(0x1ff)](_0x59f547,_0x4edd21);}return _0x59f547;}['collectResourcesAndReferences'](_0x2b12b9){const _0x31032e=_0x4c65e5,_0x402b23=(_0x57c6ff,_0x3eedfd)=>{const _0x516fc6=_0x5010;var _0x4efad3;const _0x109137=(_0x4efad3=_0x57c6ff[_0x516fc6(0x1f9)](_0x3eedfd))!==null&&_0x4efad3!==void 0?_0x4efad3:0x0;_0x57c6ff['set'](_0x3eedfd,_0x109137+0x1);},_0x6ad7e0={'geometries':new Map(),'materials':new Map(),'textures':new Map()};_0x2b12b9[_0x31032e(0x206)](_0x26c4db=>{const _0x23e63c=_0x31032e,_0x1c8c95=_0x26c4db;_0x1c8c95[_0x23e63c(0x21e)]instanceof webgpu.BufferGeometry&&_0x402b23(_0x6ad7e0['geometries'],_0x1c8c95[_0x23e63c(0x21e)]);if(_0x1c8c95['material']){const _0xfb7104=Array[_0x23e63c(0x1e2)](_0x1c8c95['material'])?_0x1c8c95[_0x23e63c(0x1df)]:[_0x1c8c95['material']];_0xfb7104[_0x23e63c(0x223)](_0x1189a9=>{const _0x4ab1ac=_0x23e63c;_0x1189a9&&(_0x402b23(_0x6ad7e0[_0x4ab1ac(0x1dc)],_0x1189a9),Object[_0x4ab1ac(0x21a)](_0x1189a9)[_0x4ab1ac(0x223)](_0x569508=>{_0x569508 instanceof webgpu.Texture&&_0x402b23(_0x6ad7e0['textures'],_0x569508);}));});}}),_0x6ad7e0['geometries'][_0x31032e(0x223)]((_0x29837e,_0x4c0552)=>this['addAsset'](_0x4c0552,_0x29837e)),_0x6ad7e0[_0x31032e(0x1dc)][_0x31032e(0x223)]((_0x5ad154,_0x1eb351)=>this[_0x31032e(0x1d4)](_0x1eb351,_0x5ad154)),_0x6ad7e0[_0x31032e(0x1d7)][_0x31032e(0x223)]((_0xb3a196,_0x24b2cd)=>this[_0x31032e(0x1d4)](_0x24b2cd,_0xb3a196));}[_0x4c65e5(0x221)](_0x94e837){const _0x5213dc=_0x4c65e5;_0x94e837[_0x5213dc(0x21e)]&&!_0x94e837[_0x5213dc(0x21e)]['userData'][_0x5213dc(0x20f)]&&this['addAsset'](_0x94e837[_0x5213dc(0x21e)]);if(_0x94e837[_0x5213dc(0x1df)]){const _0x332846=Array[_0x5213dc(0x1e2)](_0x94e837['material'])?_0x94e837[_0x5213dc(0x1df)]:[_0x94e837[_0x5213dc(0x1df)]];_0x332846[_0x5213dc(0x223)](_0x28bb57=>{const _0x4cda83=_0x5213dc;if(!_0x28bb57)return;!_0x28bb57['userData']['assetPointer']&&this[_0x4cda83(0x1d4)](_0x28bb57),Object[_0x4cda83(0x21a)](_0x28bb57)[_0x4cda83(0x223)](_0x32a975=>{const _0x5daa05=_0x4cda83;_0x32a975 instanceof webgpu.Texture&&!_0x32a975[_0x5daa05(0x220)][_0x5daa05(0x20f)]&&this[_0x5daa05(0x1d4)](_0x32a975);});});}}async[_0x4c65e5(0x218)](_0x4aef37){const _0x21962b=_0x4c65e5;return this['setupDracoLoader'](_0x21962b(0x201)),await this['gltfLoader'][_0x21962b(0x21f)](_0x4aef37);}[_0x4c65e5(0x1d9)](_0x43fe77,_0x1d1629){const _0x23eb61=_0x4c65e5;this[_0x23eb61(0x1d5)](_0x23eb61(0x201)),this[_0x23eb61(0x1e6)][_0x23eb61(0x212)](_0x43fe77,_0x1d1629);}['loadGltfFromBuffer'](_0x2e1eab,_0x326f10,_0x1edef8){const _0x182f41=_0x4c65e5;this[_0x182f41(0x1d5)](_0x182f41(0x201)),this[_0x182f41(0x1e6)][_0x182f41(0x1f5)](_0x2e1eab,_0x326f10,_0x1edef8);}[_0x4c65e5(0x1fe)](_0x4c18bf='',_0x48fc7d){const _0x197700=_0x4c65e5,_0x172f0a=new webgpu.FileLoader();_0x172f0a[_0x197700(0x212)](_0x4c18bf,_0x48fc7d);}[_0x4c65e5(0x1d4)](_0x34da21,_0x19afa4=0x0){const _0x26fbc7=_0x4c65e5;if(_0x34da21 instanceof webgpu.BufferGeometry)return this[_0x26fbc7(0x20c)](_0x34da21,_0x19afa4);if(_0x34da21 instanceof webgpu.Material)return this[_0x26fbc7(0x1f0)](_0x34da21,_0x19afa4);if(_0x34da21 instanceof webgpu.Texture)return this[_0x26fbc7(0x217)](_0x34da21,_0x19afa4);return undefined;}[_0x4c65e5(0x1f0)](_0x16771,_0x6a0edd=0x0){const _0x3fba24=_0x4c65e5;let _0x482c4d=_0x16771['userData']['assetPointer'];if(!_0x482c4d){const _0x17f225=new Map();Object[_0x3fba24(0x1de)](_0x16771)['forEach'](([_0x3cc136,_0x4ab58e])=>{const _0x4f2db5=_0x3fba24;if(_0x4ab58e instanceof webgpu.Texture){const _0x557eca=this[_0x4f2db5(0x217)](_0x4ab58e,0x1);_0x17f225[_0x4f2db5(0x1fa)](_0x3cc136,_0x557eca);}}),_0x482c4d=new MaterialAssetPointer(_0x16771,_0x17f225,_0x6a0edd),this[_0x3fba24(0x1fc)][_0x3fba24(0x1fa)](_0x16771[_0x3fba24(0x222)],_0x482c4d);}else _0x482c4d[_0x3fba24(0x205)](_0x6a0edd);return _0x482c4d;}[_0x4c65e5(0x217)](_0x26231c,_0x5053f4=0x0){const _0x54869e=_0x4c65e5;let _0x1b573d=_0x26231c['userData'][_0x54869e(0x20f)];return !_0x1b573d?(_0x1b573d=new TextureAssetPointer(_0x26231c,_0x5053f4),this[_0x54869e(0x1e4)][_0x54869e(0x1fa)](_0x26231c[_0x54869e(0x222)],_0x1b573d)):_0x1b573d[_0x54869e(0x205)](_0x5053f4),_0x1b573d;}[_0x4c65e5(0x20c)](_0x19a63a,_0x4fb1c6=0x0){const _0xee57c8=_0x4c65e5;let _0x415eba=_0x19a63a[_0xee57c8(0x220)][_0xee57c8(0x20f)];return !_0x415eba?(_0x415eba=new GeometryAssetPointer(_0x19a63a,_0x4fb1c6),this[_0xee57c8(0x215)][_0xee57c8(0x1fa)](_0x19a63a['uuid'],_0x415eba)):_0x415eba[_0xee57c8(0x205)](_0x4fb1c6),_0x415eba;}[_0x4c65e5(0x1ee)](_0x3f5b51){const _0x3c669c=_0x4c65e5,_0x593288=_0x3f5b51[_0x3c669c(0x220)][_0x3c669c(0x20f)];_0x593288?_0x593288[_0x3c669c(0x204)]():_0x3f5b51[_0x3c669c(0x1e1)]();}['clearAssets'](){const _0x11c84d=_0x4c65e5;this[_0x11c84d(0x215)][_0x11c84d(0x223)](_0x23dc9a=>_0x23dc9a[_0x11c84d(0x1e7)]()),this[_0x11c84d(0x215)]['clear'](),this[_0x11c84d(0x1fc)][_0x11c84d(0x223)](_0x130f59=>_0x130f59[_0x11c84d(0x1e7)]()),this[_0x11c84d(0x1fc)][_0x11c84d(0x211)](),this[_0x11c84d(0x1e4)][_0x11c84d(0x223)](_0x4e9938=>_0x4e9938[_0x11c84d(0x1e7)]()),this[_0x11c84d(0x1e4)][_0x11c84d(0x211)]();}}
|
|
47
47
|
|
|
48
|
-
(function(
|
|
48
|
+
(function(_0x5ca92e,_0x569981){var _0x586712=_0x1ac6,_0x4e58fb=_0x5ca92e();while(!![]){try{var _0x157924=parseInt(_0x586712(0x18f))/0x1*(-parseInt(_0x586712(0x193))/0x2)+-parseInt(_0x586712(0x184))/0x3+parseInt(_0x586712(0x191))/0x4*(parseInt(_0x586712(0x185))/0x5)+parseInt(_0x586712(0x17c))/0x6+parseInt(_0x586712(0x180))/0x7*(-parseInt(_0x586712(0x176))/0x8)+parseInt(_0x586712(0x175))/0x9+parseInt(_0x586712(0x17d))/0xa;if(_0x157924===_0x569981)break;else _0x4e58fb['push'](_0x4e58fb['shift']());}catch(_0x2ef13e){_0x4e58fb['push'](_0x4e58fb['shift']());}}}(_0x997b,0xda888));exports.AssetCategory = void 0;(function(_0x32fc02){var _0x872215=_0x1ac6;_0x32fc02[_0x872215(0x17e)]='geometry',_0x32fc02[_0x872215(0x18e)]=_0x872215(0x174),_0x32fc02[_0x872215(0x190)]=_0x872215(0x177),_0x32fc02[_0x872215(0x192)]='actor',_0x32fc02[_0x872215(0x18c)]='actorManager',_0x32fc02[_0x872215(0x181)]='level',_0x32fc02[_0x872215(0x189)]='html',_0x32fc02[_0x872215(0x187)]='code',_0x32fc02[_0x872215(0x178)]=_0x872215(0x17b);}(exports.AssetCategory||(exports.AssetCategory={})));function _0x997b(){var _0x289a29=['3379428giOUPy','13577920mCzYmQ','Geometry','level','6021862IjkJgz','Level','external','AssetPointer','2009019LzdAff','46415vgwgQa','loaded','Code','loading','HTML','Loaded','External','ActorManager','Component','Material','1461bfpDys','Texture','508LCNdiL','Actor','1434Idfahe','material','11095947DndzDg','16HMJYWR','texture','Undefined','geometry','error','undefined'];_0x997b=function(){return _0x289a29;};return _0x997b();}function _0x1ac6(_0x36e58a,_0x27c0a8){_0x36e58a=_0x36e58a-0x174;var _0x997bca=_0x997b();var _0x1ac6da=_0x997bca[_0x36e58a];return _0x1ac6da;}exports.AssetLoadState = void 0;(function(_0x51090f){var _0x1b2ebc=_0x1ac6;_0x51090f['Unloaded']='unloaded',_0x51090f['Loading']=_0x1b2ebc(0x188),_0x51090f[_0x1b2ebc(0x18a)]=_0x1b2ebc(0x186),_0x51090f['Error']=_0x1b2ebc(0x17a);}(exports.AssetLoadState||(exports.AssetLoadState={})));exports.ReferenceType = void 0;(function(_0x4d861c){var _0x3a0899=_0x1ac6;_0x4d861c[_0x3a0899(0x192)]='actor',_0x4d861c[_0x3a0899(0x18d)]='component',_0x4d861c[_0x3a0899(0x18e)]=_0x3a0899(0x174),_0x4d861c[_0x3a0899(0x181)]=_0x3a0899(0x17f),_0x4d861c[_0x3a0899(0x183)]='assetPointer',_0x4d861c[_0x3a0899(0x18b)]=_0x3a0899(0x182);}(exports.ReferenceType||(exports.ReferenceType={})));exports.AssetType = void 0;(function(_0x39f8c1){var _0x3c72a2=_0x1ac6;_0x39f8c1[_0x39f8c1[_0x3c72a2(0x179)]=0x1]='geometry',_0x39f8c1[_0x39f8c1[_0x3c72a2(0x174)]=0x2]=_0x3c72a2(0x174),_0x39f8c1[_0x39f8c1[_0x3c72a2(0x177)]=0x3]='texture',_0x39f8c1[_0x39f8c1[_0x3c72a2(0x17b)]=-1]=_0x3c72a2(0x17b);}(exports.AssetType||(exports.AssetType={})));
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
(function(_0x577b97,_0x55c97a){const _0x5823e8=_0x5797,_0x216431=_0x577b97();while(!![]){try{const _0xae865=parseInt(_0x5823e8(0x11c))/0x1*(parseInt(_0x5823e8(0x10e))/0x2)+-parseInt(_0x5823e8(0x118))/0x3*(-parseInt(_0x5823e8(0x110))/0x4)+-parseInt(_0x5823e8(0x11d))/0x5*(-parseInt(_0x5823e8(0x119))/0x6)+parseInt(_0x5823e8(0x10d))/0x7*(-parseInt(_0x5823e8(0x111))/0x8)+-parseInt(_0x5823e8(0x112))/0x9*(-parseInt(_0x5823e8(0x113))/0xa)+-parseInt(_0x5823e8(0x116))/0xb+-parseInt(_0x5823e8(0x10f))/0xc;if(_0xae865===_0x55c97a)break;else _0x216431['push'](_0x216431['shift']());}catch(_0x1a54fe){_0x216431['push'](_0x216431['shift']());}}}(_0x23b0,0x465a3));const DefaultPostProcessParam={'steps':[]};exports.PostProcessStepType = void 0;(function(_0x1c3c7a){const _0x5cf511=_0x5797;_0x1c3c7a[_0x1c3c7a[_0x5cf511(0x114)]=0x0]=_0x5cf511(0x114),_0x1c3c7a[_0x1c3c7a[_0x5cf511(0x115)]=0x1]='DepthOfField',_0x1c3c7a[_0x1c3c7a['ScreenSpaceReflection']=0x2]='ScreenSpaceReflection',_0x1c3c7a[_0x1c3c7a[_0x5cf511(0x117)]=0x3]=_0x5cf511(0x117),_0x1c3c7a[_0x1c3c7a[_0x5cf511(0x11a)]=0x4]=_0x5cf511(0x11a),_0x1c3c7a[_0x1c3c7a[_0x5cf511(0x11e)]=0x5]=_0x5cf511(0x11e),_0x1c3c7a[_0x1c3c7a[_0x5cf511(0x11b)]=0x6]='LensFlare';}(exports.PostProcessStepType||(exports.PostProcessStepType={})));function _0x5797(_0x2180f7,_0x236eae){_0x2180f7=_0x2180f7-0x10d;const _0x23b0df=_0x23b0();let _0x57976b=_0x23b0df[_0x2180f7];return _0x57976b;}function _0x23b0(){const _0x2398db=['8muNUJx','247041CMZQpB','10lptxDG','Bloom','DepthOfField','1108932pHVSBq','GroundTruthAmbientOcclusion','685011jusMus','34572PuhAAM','Outline','LensFlare','32816xFhLMw','430fjvrHd','Antialiasing','2777271viUOgT','14GzWwDA','5083668WzHknK','8oRtgWC'];_0x23b0=function(){return _0x2398db;};return _0x23b0();}
|
|
51
51
|
|
|
52
|
-
function
|
|
52
|
+
var _0x546616=_0x1238;function _0x1238(_0x22c085,_0x4e10fd){_0x22c085=_0x22c085-0x11f;var _0x15e6eb=_0x15e6();var _0x1238c9=_0x15e6eb[_0x22c085];return _0x1238c9;}(function(_0x28ab88,_0x124e03){var _0x3e8931=_0x1238,_0x4ee56b=_0x28ab88();while(!![]){try{var _0x44adab=parseInt(_0x3e8931(0x134))/0x1*(-parseInt(_0x3e8931(0x144))/0x2)+-parseInt(_0x3e8931(0x141))/0x3+-parseInt(_0x3e8931(0x11f))/0x4+-parseInt(_0x3e8931(0x147))/0x5+parseInt(_0x3e8931(0x133))/0x6*(parseInt(_0x3e8931(0x149))/0x7)+parseInt(_0x3e8931(0x135))/0x8*(parseInt(_0x3e8931(0x125))/0x9)+-parseInt(_0x3e8931(0x138))/0xa*(-parseInt(_0x3e8931(0x120))/0xb);if(_0x44adab===_0x124e03)break;else _0x4ee56b['push'](_0x4ee56b['shift']());}catch(_0x2333ad){_0x4ee56b['push'](_0x4ee56b['shift']());}}}(_0x15e6,0x49be2));function _0x15e6(){var _0x4dc2a1=['addTickableActor','18gFkpUH','init','tick','2385685vQZEAD','addChildActor','543970CbJuZx','KeepRelative','removeFromParent','tickableActors','1792668aVhLKt','16745509DPnnAt','scene','removeActor','scene\x20is\x20null','viewport','417897jXKGnl','app','removeTickableActor','controller','addActor','rootActor','worldParam','getChildActorsByIds','clear','rootActor\x20is\x20null','getActorsByIds','threeObject','rootComponent','actors','18zAbVZT','23624jQOCZw','16uqGQZX','_rootActor','levelActorClass','10WvzskR','forEach','destroy','markRenderStateDirty','add','actor.threeObject\x20is\x20null','removeActors','delete','getActorById','1225035jJQMjQ','getChildActorById'];_0x15e6=function(){return _0x4dc2a1;};return _0x15e6();}class World{get[_0x546616(0x121)](){var _0x240096=_0x546616,_0x5dccf1;let _0x1a7a04=(_0x5dccf1=this[_0x240096(0x136)])===null||_0x5dccf1===void 0?void 0:_0x5dccf1[_0x240096(0x121)];if(!_0x1a7a04)throw new Error(_0x240096(0x123));return _0x1a7a04;}get[_0x546616(0x124)](){var _0x3490aa=_0x546616;return this[_0x3490aa(0x126)]['viewport'];}get[_0x546616(0x128)](){var _0x52b4c0=_0x546616;return this[_0x52b4c0(0x126)][_0x52b4c0(0x128)];}get[_0x546616(0x12a)](){var _0x42ee57=_0x546616;if(!this[_0x42ee57(0x136)])throw new Error(_0x42ee57(0x12e));return this[_0x42ee57(0x136)];}constructor(_0x10788b,_0x521b8d){var _0x13c7b2=_0x546616;this[_0x13c7b2(0x136)]=null,this[_0x13c7b2(0x132)]=new Set(),this[_0x13c7b2(0x14c)]=new Set(),this[_0x13c7b2(0x126)]=_0x10788b,this['worldParam']=_0x521b8d;}[_0x546616(0x145)](){var _0x54c1be=_0x546616;this['_rootActor']=new this[(_0x54c1be(0x12b))][(_0x54c1be(0x137))](this[_0x54c1be(0x126)]);}[_0x546616(0x143)](_0x2404b9){var _0x18a8a9=_0x546616;this['tickableActors'][_0x18a8a9(0x13c)](_0x2404b9);}[_0x546616(0x127)](_0x2f6aae){var _0x304910=_0x546616;this[_0x304910(0x14c)][_0x304910(0x13f)](_0x2f6aae);}['tick'](_0x40272c){var _0x2d1670=_0x546616;this[_0x2d1670(0x14c)]['forEach'](_0x50a6ed=>{var _0x1e9665=_0x2d1670;_0x50a6ed[_0x1e9665(0x146)](_0x40272c);});}[_0x546616(0x13a)](){var _0x3efabc=_0x546616,_0x39eda7;this[_0x3efabc(0x14c)][_0x3efabc(0x12d)](),this[_0x3efabc(0x132)][_0x3efabc(0x139)](_0x56d9f1=>{var _0x44de79=_0x3efabc;_0x56d9f1[_0x44de79(0x13a)]();}),this['actors'][_0x3efabc(0x12d)](),(_0x39eda7=this['_rootActor'])===null||_0x39eda7===void 0?void 0:_0x39eda7[_0x3efabc(0x13a)](),this['_rootActor']=null;}[_0x546616(0x129)](_0x567867){var _0x159eb1=_0x546616,_0x12b6eb;if(!_0x567867[_0x159eb1(0x131)][_0x159eb1(0x130)])throw new Error(_0x159eb1(0x13d));_0x567867[_0x159eb1(0x14b)](),(_0x12b6eb=this[_0x159eb1(0x136)])===null||_0x12b6eb===void 0?void 0:_0x12b6eb[_0x159eb1(0x148)](_0x567867,exports.AttachmentRules[_0x159eb1(0x14a)]),this['actors'][_0x159eb1(0x13c)](_0x567867),_0x567867['onAddedToWorld'](this),this[_0x159eb1(0x124)][_0x159eb1(0x13b)]();}[_0x546616(0x122)](_0x56a136){var _0x108b52=_0x546616;_0x56a136['destroy'](),this[_0x108b52(0x132)][_0x108b52(0x13f)](_0x56a136),this[_0x108b52(0x124)][_0x108b52(0x13b)]();}[_0x546616(0x13e)](_0x305ac1){var _0x2ae03b=_0x546616;for(const _0xb5b6ab of _0x305ac1){_0xb5b6ab[_0x2ae03b(0x13a)](),this[_0x2ae03b(0x132)]['delete'](_0xb5b6ab);}this[_0x2ae03b(0x124)]['markRenderStateDirty']();}[_0x546616(0x140)](_0x47691a){var _0x589dad=_0x546616;return this[_0x589dad(0x12a)][_0x589dad(0x142)](_0x47691a,!![]);}[_0x546616(0x12f)](_0x4f2921){var _0x35638c=_0x546616;return this[_0x35638c(0x12a)][_0x35638c(0x12c)](_0x4f2921,!![]);}}
|
|
53
53
|
|
|
54
|
-
function
|
|
54
|
+
function _0x5c15(){const _0x1d73cb=['744KFVQob','7ZGfkct','680XTIIHh','406213MnqkLz','353415dGfWvq','8572330SnhFVR','688964YmLyAa','45189ipGiCI','3661938oEZPwW','Bloom','11boTLvu','2265JsEIye'];_0x5c15=function(){return _0x1d73cb;};return _0x5c15();}function _0x19eb(_0x1452a0,_0x55f35a){_0x1452a0=_0x1452a0-0x187;const _0x5c1540=_0x5c15();let _0x19ebba=_0x5c1540[_0x1452a0];return _0x19ebba;}const _0xa7d9d8=_0x19eb;(function(_0x400da2,_0xfe33e1){const _0x41bebd=_0x19eb,_0x152c03=_0x400da2();while(!![]){try{const _0x5efef1=parseInt(_0x41bebd(0x18c))/0x1+-parseInt(_0x41bebd(0x18f))/0x2+parseInt(_0x41bebd(0x18d))/0x3+parseInt(_0x41bebd(0x18b))/0x4*(-parseInt(_0x41bebd(0x188))/0x5)+parseInt(_0x41bebd(0x191))/0x6*(parseInt(_0x41bebd(0x18a))/0x7)+parseInt(_0x41bebd(0x189))/0x8*(parseInt(_0x41bebd(0x190))/0x9)+parseInt(_0x41bebd(0x18e))/0xa*(-parseInt(_0x41bebd(0x187))/0xb);if(_0x5efef1===_0xfe33e1)break;else _0x152c03['push'](_0x152c03['shift']());}catch(_0x5714c8){_0x152c03['push'](_0x152c03['shift']());}}}(_0x5c15,0x4ec09));const DefaultBloomParam={'type':exports.PostProcessStepType[_0xa7d9d8(0x192)],'threshold':0x0,'strength':0x1,'radius':0x0};
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
const _0x1322cf=_0x2fe1;(function(_0x28b0c4,_0x33f44f){const _0xe5da94=_0x2fe1,_0x10a553=_0x28b0c4();while(!![]){try{const _0x19f0de=-parseInt(_0xe5da94(0x1b0))/0x1+parseInt(_0xe5da94(0x1b7))/0x2*(-parseInt(_0xe5da94(0x1ba))/0x3)+-parseInt(_0xe5da94(0x1b4))/0x4*(parseInt(_0xe5da94(0x1b9))/0x5)+-parseInt(_0xe5da94(0x1b1))/0x6+parseInt(_0xe5da94(0x1b8))/0x7*(-parseInt(_0xe5da94(0x1b3))/0x8)+-parseInt(_0xe5da94(0x1b2))/0x9+parseInt(_0xe5da94(0x1b6))/0xa;if(_0x19f0de===_0x33f44f)break;else _0x10a553['push'](_0x10a553['shift']());}catch(_0x236d45){_0x10a553['push'](_0x10a553['shift']());}}}(_0x1a00,0x207c4));function _0x2fe1(_0x1b2f00,_0x21c607){_0x1b2f00=_0x1b2f00-0x1b0;const _0x1a0072=_0x1a00();let _0x2fe1fa=_0x1a0072[_0x1b2f00];return _0x2fe1fa;}function _0x1a00(){const _0xab0bb4=['181642OZrBKE','408960wMpqjf','2174211ubhinK','541784jWZdZj','4ulqkLu','DepthOfField','11330720LcWCOI','255858AGrqAo','21vvmqRt','887665UAtuJW','3gXVbwg'];_0x1a00=function(){return _0xab0bb4;};return _0x1a00();}const DefaultDOFParam={'type':exports.PostProcessStepType[_0x1322cf(0x1b5)],'focus':0x1f4,'aperture':0x5,'maxblur':0.01};
|
|
57
57
|
|
|
58
|
-
function
|
|
58
|
+
function _0xe034(){const _0x100e43=['2mglaYO','3313845pIuoxo','10092fYvSSt','2556786UBKoXg','37114KCHpuU','114487ksoIFO','210UNUxSc','815FLCqWJ','GroundTruthAmbientOcclusion','17496VfFWrn','24356XrAmTH','8544312gYlycs','14RjqyND'];_0xe034=function(){return _0x100e43;};return _0xe034();}const _0x2d8538=_0x7997;(function(_0x1a76bc,_0x33b329){const _0xdcd9ce=_0x7997,_0x3b52ad=_0x1a76bc();while(!![]){try{const _0xb0713f=-parseInt(_0xdcd9ce(0x142))/0x1*(parseInt(_0xdcd9ce(0x13d))/0x2)+-parseInt(_0xdcd9ce(0x13e))/0x3+-parseInt(_0xdcd9ce(0x13a))/0x4*(-parseInt(_0xdcd9ce(0x137))/0x5)+-parseInt(_0xdcd9ce(0x140))/0x6*(parseInt(_0xdcd9ce(0x13c))/0x7)+-parseInt(_0xdcd9ce(0x13b))/0x8+parseInt(_0xdcd9ce(0x139))/0x9*(-parseInt(_0xdcd9ce(0x136))/0xa)+parseInt(_0xdcd9ce(0x141))/0xb*(parseInt(_0xdcd9ce(0x13f))/0xc);if(_0xb0713f===_0x33b329)break;else _0x3b52ad['push'](_0x3b52ad['shift']());}catch(_0x192245){_0x3b52ad['push'](_0x3b52ad['shift']());}}}(_0xe034,0x9ea56));function _0x7997(_0x35a2dd,_0x2ca25d){_0x35a2dd=_0x35a2dd-0x136;const _0xe034c2=_0xe034();let _0x7997dd=_0xe034c2[_0x35a2dd];return _0x7997dd;}const DefaultGTAOParam={'type':exports.PostProcessStepType[_0x2d8538(0x138)],'distanceExponent':0x1,'distanceFallOff':0x1,'radius':0.25,'scale':0x1,'thickness':0x1,'samples':0x10,'useTemporalFiltering':![]};
|
|
59
59
|
|
|
60
|
-
function
|
|
60
|
+
const _0x4a10a7=_0x2d40;function _0x2d40(_0x30c73b,_0x4e0f59){_0x30c73b=_0x30c73b-0x162;const _0x5d9341=_0x5d93();let _0x2d4081=_0x5d9341[_0x30c73b];return _0x2d4081;}(function(_0x503955,_0x1daffd){const _0x58b7bd=_0x2d40,_0x27ac80=_0x503955();while(!![]){try{const _0x34eeab=parseInt(_0x58b7bd(0x169))/0x1*(parseInt(_0x58b7bd(0x163))/0x2)+-parseInt(_0x58b7bd(0x166))/0x3*(parseInt(_0x58b7bd(0x16a))/0x4)+-parseInt(_0x58b7bd(0x167))/0x5+-parseInt(_0x58b7bd(0x16b))/0x6+-parseInt(_0x58b7bd(0x165))/0x7+parseInt(_0x58b7bd(0x164))/0x8+parseInt(_0x58b7bd(0x16c))/0x9*(parseInt(_0x58b7bd(0x162))/0xa);if(_0x34eeab===_0x1daffd)break;else _0x27ac80['push'](_0x27ac80['shift']());}catch(_0x300c05){_0x27ac80['push'](_0x27ac80['shift']());}}}(_0x5d93,0xcbf48));function _0x5d93(){const _0x4e6d3b=['30dyrALv','444722TPwFfh','7917680pVlQEs','8962030SVrkpS','21Dqpgqi','1283630ftXxrq','Outline','7JUSUgi','527572xsvtET','358290LkBFJZ','2427435GxmPOx'];_0x5d93=function(){return _0x4e6d3b;};return _0x5d93();}const DefaultOutlineParams={'type':exports.PostProcessStepType[_0x4a10a7(0x168)],'edgeStrength':0x3,'edgeGlow':0x1,'edgeThickness':0x1,'pulsePeriod':0x0,'visibleEdgeColor':0xffffff,'hiddenEdgeColor':0xffffff};
|
|
61
61
|
|
|
62
|
-
(function(
|
|
62
|
+
(function(_0x16c7e2,_0x10308e){const _0x399bdd=_0x2502,_0xf315b7=_0x16c7e2();while(!![]){try{const _0x515aa3=-parseInt(_0x399bdd(0x82))/0x1*(parseInt(_0x399bdd(0x7c))/0x2)+-parseInt(_0x399bdd(0x7b))/0x3+parseInt(_0x399bdd(0x7f))/0x4*(-parseInt(_0x399bdd(0x83))/0x5)+parseInt(_0x399bdd(0x81))/0x6+parseInt(_0x399bdd(0x80))/0x7+-parseInt(_0x399bdd(0x7e))/0x8*(-parseInt(_0x399bdd(0x7d))/0x9)+-parseInt(_0x399bdd(0x7a))/0xa*(-parseInt(_0x399bdd(0x79))/0xb);if(_0x515aa3===_0x10308e)break;else _0xf315b7['push'](_0xf315b7['shift']());}catch(_0x5e3652){_0xf315b7['push'](_0xf315b7['shift']());}}}(_0x1e58,0x5df0c));function _0x2502(_0x5903dc,_0x35255e){_0x5903dc=_0x5903dc-0x79;const _0x1e58ec=_0x1e58();let _0x250285=_0x1e58ec[_0x5903dc];return _0x250285;}const DefaultLensFlareParam={'type':exports.PostProcessStepType['LensFlare'],'threshold':0.5,'ghostSamples':0x4,'ghostSpacing':0.25,'ghostAttenuationFactor':0x19,'ghostTint':[0x1,0x1,0x1],'downSampleRatio':0x4};function _0x1e58(){const _0x461c2d=['1549713XilvOl','276754zTDUPT','9twTDlG','5327632QvQiYT','20HipJdz','814660nDWMAR','1318680AlXPwu','4XnmkGF','573505IpEsgX','1128875FEAyyh','100qsmHEA'];_0x1e58=function(){return _0x461c2d;};return _0x1e58();}
|
|
63
63
|
|
|
64
|
-
const _0x164c23=_0x3a03;(function(_0x4b2153,_0x5f3bc9){const _0x472625=_0x3a03,_0x2b2edb=_0x4b2153();while(!![]){try{const _0x5ab0b6=-parseInt(_0x472625(0x259))/0x1*(parseInt(_0x472625(0x240))/0x2)+parseInt(_0x472625(0x209))/0x3+-parseInt(_0x472625(0x22a))/0x4+parseInt(_0x472625(0x26b))/0x5*(-parseInt(_0x472625(0x20e))/0x6)+-parseInt(_0x472625(0x20a))/0x7+-parseInt(_0x472625(0x22e))/0x8*(parseInt(_0x472625(0x25b))/0x9)+parseInt(_0x472625(0x207))/0xa*(parseInt(_0x472625(0x252))/0xb);if(_0x5ab0b6===_0x5f3bc9)break;else _0x2b2edb['push'](_0x2b2edb['shift']());}catch(_0x3dd2f6){_0x2b2edb['push'](_0x2b2edb['shift']());}}}(_0x4be3,0x934eb));function _0x4be3(){const _0x370011=['scale','outlineEdgeGlow','gtaoEnabled','includes','dofAperture','ghostAttenuationFactor','camera','edgeGlowNode','outlineEdgeStrength','updateCamera','traa','updateAllUniforms','destroy','samples','outlinePulsePeriod','useTemporalFiltering','threshold','push','hiddenEdgeColor','focus','downSampleRatio','bokehScaleNode','gtaoScale','557776kWzvbb','gtaoDistanceExponent','needsUpdate','select','1208VYYSGc','distanceFallOff','gtaoThickness','outlineHiddenEdgeColor','dofFocus','effectUniforms','processing','render','mul','dofPass','gtaoPass','lensflarePass','outlineObjects','assign','GroundTruthAmbientOcclusion','add','aperture','ghostSpacing','2326142VFWKgL','edgeThicknessNode','Bloom','dofMaxBlur','type','onBuildFinalNode','getStepParam','value','method','traaPass','find','getViewZNode','thickness','markDirty','edgeThickness','renderer','postProcessing','outlineVisibleEdgeColor','11RiyAuP','pulsePeriod','outlineEnabled','radius','velocity','bloomEnabled','edgeGlow','1aATVOi','Antialiasing','70137GDTiOb','edgeStrength','buildPipeline','removeOutlineObject','setOutlineObjects','gtaoDistanceFallOff','lensflareEnabled','setup','dispose','strength','bloomRadius','ghostTint','steps','DepthOfField','fxaaEnabled','Outline','719405vzPOeW','has','smaaEnabled','postProcessParam','maxblur','indexOf','setMRT','outlinePass','bloomThreshold','lut3dTexture','createEffectUniforms','gtaoSamples','visibleEdgeColor','onDirtyCallback','normal','getTextureNode','selectedObjects','distanceExponent','setLUT3DTexture','focusDistanceNode','scene','44060240gUjmqb','splice','257442IQWjGu','4828628kQdRGq','greaterThan','bloomPass','div','30vaJUlR','LensFlare','outputNode','addOutlineObject','depth'];_0x4be3=function(){return _0x370011;};return _0x4be3();}function _0x3a03(_0x3207e5,_0x5c1e1a){_0x3207e5=_0x3207e5-0x1f3;const _0x4be310=_0x4be3();let _0x3a03bc=_0x4be310[_0x3207e5];return _0x3a03bc;}class PostProcessManager{constructor(_0x2ac4cb,_0x208eea,_0x372a3d,_0x574296,_0x1c239f){const _0x2bd6e6=_0x3a03;this[_0x2bd6e6(0x250)]=null,this[_0x2bd6e6(0x23a)]=[],this[_0x2bd6e6(0x233)]=null,this[_0x2bd6e6(0x1f9)]=null,this[_0x2bd6e6(0x20c)]=null,this[_0x2bd6e6(0x237)]=null,this[_0x2bd6e6(0x238)]=null,this['traaPass']=null,this[_0x2bd6e6(0x239)]=null,this[_0x2bd6e6(0x1fb)]=null,this[_0x2bd6e6(0x1ff)]=null,this[_0x2bd6e6(0x24f)]=_0x2ac4cb,this[_0x2bd6e6(0x206)]=_0x208eea,this[_0x2bd6e6(0x219)]=_0x372a3d,this[_0x2bd6e6(0x1f5)]=Object[_0x2bd6e6(0x23b)]({},_0x574296),this[_0x2bd6e6(0x1ff)]=_0x1c239f!==null&&_0x1c239f!==void 0?_0x1c239f:null;}get[_0x164c23(0x234)](){return this['postProcessing'];}[_0x164c23(0x21c)](_0x5a51ab){const _0x1556c4=_0x164c23;this[_0x1556c4(0x219)]=_0x5a51ab,(!this[_0x1556c4(0x250)]||!this[_0x1556c4(0x233)])&&(this['buildPipeline'](),this[_0x1556c4(0x21e)](),this[_0x1556c4(0x24d)]());}[_0x164c23(0x262)](){const _0x15d640=_0x164c23;(!this[_0x15d640(0x250)]||!this['effectUniforms'])&&this[_0x15d640(0x25d)](),this[_0x15d640(0x21e)](),this[_0x15d640(0x24d)]();}[_0x164c23(0x25d)](){const _0x2a3e6a=_0x164c23;var _0x5b20b3,_0x1267a6,_0x55ad78,_0x33428f,_0x2e42e5;this['postProcessing']&&this[_0x2a3e6a(0x250)][_0x2a3e6a(0x263)]();this[_0x2a3e6a(0x250)]=new webgpu.PostProcessing(this[_0x2a3e6a(0x24f)]),this[_0x2a3e6a(0x233)]=this['createEffectUniforms']();const _0x57b939=tsl.pass(this['scene'],this[_0x2a3e6a(0x219)]);_0x57b939[_0x2a3e6a(0x1f8)](tsl.mrt({'output':tsl.output,'normal':tsl.normalView,'velocity':tsl.velocity}));const _0x783767=_0x57b939[_0x2a3e6a(0x201)]('output'),_0x1040a1=_0x57b939[_0x2a3e6a(0x201)](_0x2a3e6a(0x200)),_0xb5849f=_0x57b939[_0x2a3e6a(0x201)](_0x2a3e6a(0x212)),_0x4f90ae=_0x57b939[_0x2a3e6a(0x201)](_0x2a3e6a(0x256)),_0x51bf8d=_0x57b939[_0x2a3e6a(0x24b)](),_0x5517c1=this[_0x2a3e6a(0x233)],_0x5e691b=(_0x5b20b3=this[_0x2a3e6a(0x246)](exports.PostProcessStepType[_0x2a3e6a(0x242)]))!==null&&_0x5b20b3!==void 0?_0x5b20b3:DefaultBloomParam;this[_0x2a3e6a(0x20c)]=BloomNode_js.bloom(_0x783767),this[_0x2a3e6a(0x20c)][_0x2a3e6a(0x223)][_0x2a3e6a(0x247)]=_0x5e691b[_0x2a3e6a(0x223)],this[_0x2a3e6a(0x20c)][_0x2a3e6a(0x264)][_0x2a3e6a(0x247)]=_0x5e691b[_0x2a3e6a(0x264)],this[_0x2a3e6a(0x20c)][_0x2a3e6a(0x255)][_0x2a3e6a(0x247)]=_0x5e691b[_0x2a3e6a(0x255)];const _0x5e45ca=_0x783767['add'](this[_0x2a3e6a(0x20c)][_0x2a3e6a(0x236)](_0x5517c1['bloomStrength'])),_0x5d02fb=_0x5517c1[_0x2a3e6a(0x257)][_0x2a3e6a(0x20b)](0.5)[_0x2a3e6a(0x22d)](_0x5e45ca,_0x783767),_0x1aae57=(_0x1267a6=this[_0x2a3e6a(0x246)](exports.PostProcessStepType[_0x2a3e6a(0x20f)]))!==null&&_0x1267a6!==void 0?_0x1267a6:DefaultLensFlareParam;this['lensflarePass']=LensflareNode_js.lensflare(this[_0x2a3e6a(0x20c)][_0x2a3e6a(0x201)](),{'ghostTint':tsl.vec3(_0x1aae57['ghostTint'][0x0],_0x1aae57[_0x2a3e6a(0x266)][0x1],_0x1aae57[_0x2a3e6a(0x266)][0x2]),'threshold':tsl.float(_0x1aae57[_0x2a3e6a(0x223)]),'ghostSamples':tsl.float(_0x1aae57['ghostSamples']),'ghostSpacing':tsl.float(_0x1aae57[_0x2a3e6a(0x23f)]),'ghostAttenuationFactor':tsl.float(_0x1aae57[_0x2a3e6a(0x218)]),'downSampleRatio':_0x1aae57[_0x2a3e6a(0x227)]});const _0x75ec96=_0x5d02fb[_0x2a3e6a(0x23d)](this[_0x2a3e6a(0x239)][_0x2a3e6a(0x201)]()),_0x229297=_0x5517c1[_0x2a3e6a(0x261)][_0x2a3e6a(0x20b)](0.5)['select'](_0x75ec96,_0x5d02fb),_0x2b55f8=(_0x55ad78=this[_0x2a3e6a(0x246)](exports.PostProcessStepType[_0x2a3e6a(0x268)]))!==null&&_0x55ad78!==void 0?_0x55ad78:DefaultDOFParam;this['dofPass']=DepthOfFieldNode_js.dof(_0x229297,_0x51bf8d,tsl.uniform(_0x2b55f8[_0x2a3e6a(0x226)]),tsl.uniform(_0x2b55f8[_0x2a3e6a(0x23e)]),tsl.uniform(_0x2b55f8['maxblur']));const _0x264d16=_0x5517c1['dofEnabled']['greaterThan'](0.5)[_0x2a3e6a(0x22d)](this[_0x2a3e6a(0x237)],_0x229297),_0x2d85e6=(_0x33428f=this['getStepParam'](exports.PostProcessStepType[_0x2a3e6a(0x23c)]))!==null&&_0x33428f!==void 0?_0x33428f:DefaultGTAOParam;this[_0x2a3e6a(0x238)]=GTAONode_js.ao(_0xb5849f,_0x1040a1,this['camera']),this[_0x2a3e6a(0x238)]['resolutionScale']=0.5,this[_0x2a3e6a(0x238)]['distanceExponent'][_0x2a3e6a(0x247)]=_0x2d85e6['distanceExponent'],this['gtaoPass']['distanceFallOff'][_0x2a3e6a(0x247)]=_0x2d85e6[_0x2a3e6a(0x22f)],this[_0x2a3e6a(0x238)][_0x2a3e6a(0x255)][_0x2a3e6a(0x247)]=_0x2d85e6[_0x2a3e6a(0x255)],this['gtaoPass']['scale'][_0x2a3e6a(0x247)]=_0x2d85e6[_0x2a3e6a(0x213)],this[_0x2a3e6a(0x238)][_0x2a3e6a(0x24c)][_0x2a3e6a(0x247)]=_0x2d85e6[_0x2a3e6a(0x24c)],this[_0x2a3e6a(0x238)][_0x2a3e6a(0x220)]['value']=_0x2d85e6['samples'],this[_0x2a3e6a(0x238)][_0x2a3e6a(0x222)]=_0x2d85e6['useTemporalFiltering'];const _0x3ed77b=this[_0x2a3e6a(0x238)][_0x2a3e6a(0x201)](),_0x1e77ea=_0x3ed77b['r'],_0x230e47=_0x264d16['mul'](_0x1e77ea),_0xb89303=_0x5517c1['gtaoEnabled']['greaterThan'](0.5)['select'](_0x230e47,_0x264d16),_0x427a5a=(_0x2e42e5=this[_0x2a3e6a(0x246)](exports.PostProcessStepType['Outline']))!==null&&_0x2e42e5!==void 0?_0x2e42e5:DefaultOutlineParams;this[_0x2a3e6a(0x1f9)]=OutlineNode_js.outline(this[_0x2a3e6a(0x206)],this[_0x2a3e6a(0x219)],{'selectedObjects':this[_0x2a3e6a(0x23a)],'edgeGlow':tsl.uniform(_0x427a5a[_0x2a3e6a(0x258)]),'edgeThickness':tsl.uniform(_0x427a5a[_0x2a3e6a(0x24e)])});const {visibleEdge:_0xb2c330,hiddenEdge:_0x1526c9}=this[_0x2a3e6a(0x1f9)],_0x211352=_0x5517c1[_0x2a3e6a(0x221)][_0x2a3e6a(0x20b)](0x0)[_0x2a3e6a(0x22d)](_0x5517c1[_0x2a3e6a(0x221)],tsl.uniform(0x1)),_0x519a88=tsl.time[_0x2a3e6a(0x20d)](_0x211352)['mul'](0x2),_0x54fbac=tsl.oscSine(_0x519a88)['mul'](0.5)['add'](0.5),_0x10912e=_0xb2c330['mul'](_0x5517c1[_0x2a3e6a(0x251)])['add'](_0x1526c9[_0x2a3e6a(0x236)](_0x5517c1[_0x2a3e6a(0x231)]))['mul'](_0x5517c1[_0x2a3e6a(0x21b)]),_0x899165=_0x5517c1[_0x2a3e6a(0x221)][_0x2a3e6a(0x20b)](0x0)['select'](_0x10912e['mul'](_0x54fbac),_0x10912e),_0x300ab8=_0x899165[_0x2a3e6a(0x23d)](_0xb89303),_0x357e99=_0x5517c1[_0x2a3e6a(0x254)][_0x2a3e6a(0x20b)](0.5)[_0x2a3e6a(0x22d)](_0x300ab8,_0xb89303),_0x477677=FXAANode_js.fxaa(_0x357e99),_0x2b2e08=_0x5517c1[_0x2a3e6a(0x269)][_0x2a3e6a(0x20b)](0.5)[_0x2a3e6a(0x22d)](_0x477677,_0x357e99),_0x1afa40=SMAANode_js.smaa(_0x2b2e08),_0x36be05=_0x5517c1['smaaEnabled'][_0x2a3e6a(0x20b)](0.5)[_0x2a3e6a(0x22d)](_0x1afa40,_0x2b2e08),_0x5757e8=this[_0x2a3e6a(0x246)](exports.PostProcessStepType['Antialiasing']);let _0x2bdad5=_0x36be05;_0x5757e8&&_0x5757e8[_0x2a3e6a(0x248)]===_0x2a3e6a(0x21d)&&(this[_0x2a3e6a(0x249)]=TRAANode_js.traa(_0x36be05,_0xb5849f,_0x4f90ae,this[_0x2a3e6a(0x219)]),_0x2bdad5=this[_0x2a3e6a(0x249)][_0x2a3e6a(0x201)]()),_0x2bdad5=this['onBuildFinalNode'](_0x2bdad5),this[_0x2a3e6a(0x250)][_0x2a3e6a(0x210)]=_0x2bdad5,this[_0x2a3e6a(0x250)][_0x2a3e6a(0x22c)]=!![];}[_0x164c23(0x245)](_0x3b6118){return _0x3b6118;}[_0x164c23(0x1fc)](){const _0x4ba4f9=_0x164c23;var _0x4d27d9,_0x6e9fab,_0x5ee2a3,_0x2418ce;const _0x21207e=(_0x4d27d9=this[_0x4ba4f9(0x246)](exports.PostProcessStepType[_0x4ba4f9(0x242)]))!==null&&_0x4d27d9!==void 0?_0x4d27d9:DefaultBloomParam,_0x52557c=(_0x6e9fab=this[_0x4ba4f9(0x246)](exports.PostProcessStepType['DepthOfField']))!==null&&_0x6e9fab!==void 0?_0x6e9fab:DefaultDOFParam,_0x21afad=(_0x5ee2a3=this[_0x4ba4f9(0x246)](exports.PostProcessStepType[_0x4ba4f9(0x23c)]))!==null&&_0x5ee2a3!==void 0?_0x5ee2a3:DefaultGTAOParam,_0x1b5093=(_0x2418ce=this['getStepParam'](exports.PostProcessStepType[_0x4ba4f9(0x26a)]))!==null&&_0x2418ce!==void 0?_0x2418ce:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0x21207e[_0x4ba4f9(0x264)]),'bloomThreshold':tsl.uniform(_0x21207e[_0x4ba4f9(0x223)]),'bloomRadius':tsl.uniform(_0x21207e['radius']),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x52557c[_0x4ba4f9(0x226)]),'dofAperture':tsl.uniform(_0x52557c[_0x4ba4f9(0x23e)]),'dofMaxBlur':tsl.uniform(_0x52557c[_0x4ba4f9(0x1f6)]),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0x21afad['scale']),'gtaoDistanceExponent':tsl.uniform(_0x21afad[_0x4ba4f9(0x203)]),'gtaoDistanceFallOff':tsl.uniform(_0x21afad['distanceFallOff']),'gtaoRadius':tsl.uniform(_0x21afad[_0x4ba4f9(0x255)]),'gtaoThickness':tsl.uniform(_0x21afad[_0x4ba4f9(0x24c)]),'gtaoSamples':tsl.uniform(_0x21afad['samples']),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x1b5093[_0x4ba4f9(0x25c)]),'outlineEdgeGlow':tsl.uniform(_0x1b5093[_0x4ba4f9(0x258)]),'outlineEdgeThickness':tsl.uniform(_0x1b5093['edgeThickness']),'outlinePulsePeriod':tsl.uniform(_0x1b5093[_0x4ba4f9(0x253)]),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x1b5093[_0x4ba4f9(0x1fe)])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x1b5093[_0x4ba4f9(0x225)])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}[_0x164c23(0x246)](_0x2d75af){const _0x29ab79=_0x164c23;var _0x54f5c2;return (_0x54f5c2=this[_0x29ab79(0x1f5)][_0x29ab79(0x267)][_0x29ab79(0x24a)](_0x18ee96=>_0x18ee96[_0x29ab79(0x244)]===_0x2d75af))!==null&&_0x54f5c2!==void 0?_0x54f5c2:null;}[_0x164c23(0x21e)](){const _0xb484f0=_0x164c23;if(!this[_0xb484f0(0x233)])return;const _0x9affc3=this[_0xb484f0(0x233)],_0x30de67=new Set(this[_0xb484f0(0x1f5)][_0xb484f0(0x267)]['map'](_0xf1da27=>_0xf1da27[_0xb484f0(0x244)]));_0x9affc3['bloomEnabled'][_0xb484f0(0x247)]=_0x30de67[_0xb484f0(0x1f3)](exports.PostProcessStepType[_0xb484f0(0x242)])?0x1:0x0,_0x9affc3['dofEnabled'][_0xb484f0(0x247)]=_0x30de67['has'](exports.PostProcessStepType[_0xb484f0(0x268)])?0x1:0x0,_0x9affc3[_0xb484f0(0x215)][_0xb484f0(0x247)]=_0x30de67[_0xb484f0(0x1f3)](exports.PostProcessStepType[_0xb484f0(0x23c)])?0x1:0x0,_0x9affc3[_0xb484f0(0x254)][_0xb484f0(0x247)]=_0x30de67[_0xb484f0(0x1f3)](exports.PostProcessStepType[_0xb484f0(0x26a)])?0x1:0x0,_0x9affc3['lensflareEnabled'][_0xb484f0(0x247)]=_0x30de67[_0xb484f0(0x1f3)](exports.PostProcessStepType[_0xb484f0(0x20f)])?0x1:0x0;const _0x1d432c=this['getStepParam'](exports.PostProcessStepType[_0xb484f0(0x25a)]);_0x1d432c?(_0x9affc3[_0xb484f0(0x269)]['value']=_0x1d432c[_0xb484f0(0x248)]==='fxaa'?0x1:0x0,_0x9affc3[_0xb484f0(0x1f4)]['value']=_0x1d432c[_0xb484f0(0x248)]==='smaa'?0x1:0x0):(_0x9affc3[_0xb484f0(0x269)][_0xb484f0(0x247)]=0x0,_0x9affc3[_0xb484f0(0x1f4)][_0xb484f0(0x247)]=0x0);const _0x58a2fb=this[_0xb484f0(0x246)](exports.PostProcessStepType[_0xb484f0(0x242)]);_0x58a2fb&&(_0x9affc3['bloomStrength'][_0xb484f0(0x247)]=_0x58a2fb[_0xb484f0(0x264)],_0x9affc3[_0xb484f0(0x1fa)][_0xb484f0(0x247)]=_0x58a2fb['threshold'],_0x9affc3[_0xb484f0(0x265)][_0xb484f0(0x247)]=_0x58a2fb['radius'],this[_0xb484f0(0x20c)]&&(this[_0xb484f0(0x20c)][_0xb484f0(0x223)][_0xb484f0(0x247)]=_0x58a2fb['threshold'],this[_0xb484f0(0x20c)][_0xb484f0(0x264)][_0xb484f0(0x247)]=_0x58a2fb[_0xb484f0(0x264)],this[_0xb484f0(0x20c)][_0xb484f0(0x255)][_0xb484f0(0x247)]=_0x58a2fb[_0xb484f0(0x255)]));const _0x14a98a=this['getStepParam'](exports.PostProcessStepType['LensFlare']);if(_0x14a98a&&this['lensflarePass']);const _0x474604=this[_0xb484f0(0x246)](exports.PostProcessStepType[_0xb484f0(0x268)]);_0x474604&&(_0x9affc3[_0xb484f0(0x232)]['value']=_0x474604['focus'],_0x9affc3[_0xb484f0(0x217)][_0xb484f0(0x247)]=_0x474604[_0xb484f0(0x23e)],_0x9affc3[_0xb484f0(0x243)][_0xb484f0(0x247)]=_0x474604[_0xb484f0(0x1f6)],this[_0xb484f0(0x237)]&&(this['dofPass'][_0xb484f0(0x205)][_0xb484f0(0x247)]=_0x474604['focus'],this[_0xb484f0(0x237)]['focalLengthNode'][_0xb484f0(0x247)]=_0x474604[_0xb484f0(0x23e)],this[_0xb484f0(0x237)][_0xb484f0(0x228)][_0xb484f0(0x247)]=_0x474604['maxblur']));const _0x406407=this['getStepParam'](exports.PostProcessStepType[_0xb484f0(0x23c)]);_0x406407&&(_0x9affc3[_0xb484f0(0x229)][_0xb484f0(0x247)]=_0x406407[_0xb484f0(0x213)],_0x9affc3[_0xb484f0(0x22b)][_0xb484f0(0x247)]=_0x406407[_0xb484f0(0x203)],_0x9affc3[_0xb484f0(0x260)][_0xb484f0(0x247)]=_0x406407[_0xb484f0(0x22f)],_0x9affc3['gtaoRadius'][_0xb484f0(0x247)]=_0x406407[_0xb484f0(0x255)],_0x9affc3[_0xb484f0(0x230)]['value']=_0x406407[_0xb484f0(0x24c)],_0x9affc3[_0xb484f0(0x1fd)][_0xb484f0(0x247)]=_0x406407[_0xb484f0(0x220)],this[_0xb484f0(0x238)]&&(this[_0xb484f0(0x238)][_0xb484f0(0x203)][_0xb484f0(0x247)]=_0x406407[_0xb484f0(0x203)],this[_0xb484f0(0x238)][_0xb484f0(0x22f)][_0xb484f0(0x247)]=_0x406407[_0xb484f0(0x22f)],this[_0xb484f0(0x238)][_0xb484f0(0x255)][_0xb484f0(0x247)]=_0x406407['radius'],this['gtaoPass'][_0xb484f0(0x213)][_0xb484f0(0x247)]=_0x406407[_0xb484f0(0x213)],this[_0xb484f0(0x238)]['thickness'][_0xb484f0(0x247)]=_0x406407[_0xb484f0(0x24c)],this[_0xb484f0(0x238)][_0xb484f0(0x220)]['value']=_0x406407['samples'],this[_0xb484f0(0x238)]['useTemporalFiltering']=_0x406407[_0xb484f0(0x222)]));const _0x582765=this['getStepParam'](exports.PostProcessStepType[_0xb484f0(0x26a)]);_0x582765&&(_0x9affc3[_0xb484f0(0x21b)][_0xb484f0(0x247)]=_0x582765[_0xb484f0(0x25c)],_0x9affc3[_0xb484f0(0x214)]['value']=_0x582765[_0xb484f0(0x258)],_0x9affc3['outlineEdgeThickness'][_0xb484f0(0x247)]=_0x582765[_0xb484f0(0x24e)],_0x9affc3['outlinePulsePeriod']['value']=_0x582765['pulsePeriod'],_0x9affc3[_0xb484f0(0x251)][_0xb484f0(0x247)]['set'](_0x582765[_0xb484f0(0x1fe)]),_0x9affc3[_0xb484f0(0x231)][_0xb484f0(0x247)]['set'](_0x582765['hiddenEdgeColor']),this['outlinePass']&&(this[_0xb484f0(0x1f9)][_0xb484f0(0x21a)][_0xb484f0(0x247)]=_0x582765['edgeGlow'],this[_0xb484f0(0x1f9)][_0xb484f0(0x241)][_0xb484f0(0x247)]=_0x582765['edgeThickness'],this[_0xb484f0(0x1f9)]['selectedObjects']=this['outlineObjects']));}['updateSteps'](_0x2f6313){const _0x4bffef=_0x164c23;this['postProcessParam'][_0x4bffef(0x267)]=_0x2f6313,(!this[_0x4bffef(0x233)]||!this[_0x4bffef(0x250)])&&this[_0x4bffef(0x25d)](),this[_0x4bffef(0x21e)](),this[_0x4bffef(0x24d)]();}[_0x164c23(0x211)](_0x517c1c){const _0x29b18f=_0x164c23;!this[_0x29b18f(0x23a)][_0x29b18f(0x216)](_0x517c1c)&&(this[_0x29b18f(0x23a)][_0x29b18f(0x224)](_0x517c1c),this[_0x29b18f(0x1f9)]&&(this[_0x29b18f(0x1f9)]['selectedObjects']=this[_0x29b18f(0x23a)])),this[_0x29b18f(0x24d)]();}[_0x164c23(0x25f)](_0xdab0ba){const _0x4a0c2b=_0x164c23;this['outlineObjects']['length']=0x0,this[_0x4a0c2b(0x23a)][_0x4a0c2b(0x224)](..._0xdab0ba),this['outlinePass']&&(this[_0x4a0c2b(0x1f9)]['selectedObjects']=this['outlineObjects']),this[_0x4a0c2b(0x24d)]();}[_0x164c23(0x25e)](_0x1f26ab){const _0x2fd3cf=_0x164c23,_0x4d65c6=this[_0x2fd3cf(0x23a)][_0x2fd3cf(0x1f7)](_0x1f26ab);_0x4d65c6>-1&&(this['outlineObjects'][_0x2fd3cf(0x208)](_0x4d65c6,0x1),this[_0x2fd3cf(0x1f9)]&&(this[_0x2fd3cf(0x1f9)][_0x2fd3cf(0x202)]=this[_0x2fd3cf(0x23a)])),this['markDirty']();}[_0x164c23(0x204)](_0x5e952c){const _0x17daf4=_0x164c23;this[_0x17daf4(0x1fb)]=_0x5e952c,this[_0x17daf4(0x25d)](),this[_0x17daf4(0x21e)](),this[_0x17daf4(0x24d)]();}['getLUT3DTexture'](){const _0x52bd20=_0x164c23;return this[_0x52bd20(0x1fb)];}[_0x164c23(0x235)](){const _0x2d1021=_0x164c23;if(this[_0x2d1021(0x250)])return this[_0x2d1021(0x250)][_0x2d1021(0x235)](),!![];return ![];}[_0x164c23(0x21f)](){const _0x3df6bc=_0x164c23;this[_0x3df6bc(0x23a)]=[],this[_0x3df6bc(0x233)]=null,this['outlinePass']=null,this[_0x3df6bc(0x20c)]=null,this[_0x3df6bc(0x237)]=null,this[_0x3df6bc(0x238)]=null,this[_0x3df6bc(0x249)]=null,this[_0x3df6bc(0x239)]=null,this[_0x3df6bc(0x1fb)]=null,this[_0x3df6bc(0x250)]&&(this['postProcessing'][_0x3df6bc(0x263)](),this[_0x3df6bc(0x250)]=null);}['markDirty'](){const _0x2844e9=_0x164c23;this[_0x2844e9(0x1ff)]&&this[_0x2844e9(0x1ff)]();}}
|
|
64
|
+
const _0x64427d=_0x206e;(function(_0x4625b0,_0x5e3abe){const _0x57074b=_0x206e,_0x3adc0e=_0x4625b0();while(!![]){try{const _0x253042=parseInt(_0x57074b(0x137))/0x1*(parseInt(_0x57074b(0x146))/0x2)+parseInt(_0x57074b(0x140))/0x3+parseInt(_0x57074b(0xe4))/0x4+parseInt(_0x57074b(0x112))/0x5*(-parseInt(_0x57074b(0x144))/0x6)+-parseInt(_0x57074b(0xf3))/0x7+-parseInt(_0x57074b(0xec))/0x8*(parseInt(_0x57074b(0xe2))/0x9)+-parseInt(_0x57074b(0xe9))/0xa*(parseInt(_0x57074b(0x12f))/0xb);if(_0x253042===_0x5e3abe)break;else _0x3adc0e['push'](_0x3adc0e['shift']());}catch(_0xaf8cae){_0x3adc0e['push'](_0x3adc0e['shift']());}}}(_0x381e,0x29ba3));function _0x206e(_0x43d86c,_0x5c90ff){_0x43d86c=_0x43d86c-0xe2;const _0x381ec7=_0x381e();let _0x206e76=_0x381ec7[_0x43d86c];return _0x206e76;}function _0x381e(){const _0x5e2a12=['outlineObjects','focus','Bloom','camera','outlineHiddenEdgeColor','ghostAttenuationFactor','ghostTint','traa','dofAperture','dispose','ghostSpacing','thickness','bloomThreshold','effectUniforms','find','addOutlineObject','postProcessing','hiddenEdgeColor','edgeStrength','outlineEdgeGlow','6605mETNcS','visibleEdgeColor','scale','fxaaEnabled','smaaEnabled','dofEnabled','ghostSamples','traaPass','outlinePulsePeriod','bloomEnabled','add','getTextureNode','threshold','assign','setLUT3DTexture','aperture','indexOf','setup','method','bloomStrength','destroy','updateSteps','lensflarePass','edgeGlow','outlineEdgeStrength','type','gtaoSamples','postProcessParam','outlineEnabled','2354cfowAY','div','GroundTruthAmbientOcclusion','normal','Antialiasing','splice','fxaa','output','1ZXixiO','setMRT','LensFlare','bloomPass','samples','set','useTemporalFiltering','buildPipeline','edgeThickness','833412niyMLK','outlinePass','getLUT3DTexture','distanceExponent','138yJvdJU','distanceFallOff','453086ShtAcV','markDirty','onBuildFinalNode','pulsePeriod','getStepParam','onDirtyCallback','gtaoPass','strength','downSampleRatio','mul','greaterThan','createEffectUniforms','dofPass','selectedObjects','gtaoThickness','focusDistanceNode','18ahdNxM','steps','1348524Zbdhqc','lut3dTexture','outlineEdgeThickness','has','renderer','16450avBYBd','radius','outlineVisibleEdgeColor','498696yyQigt','DepthOfField','maxblur','select','updateAllUniforms','Outline','outputNode','1144332XrHrjj','gtaoEnabled','updateCamera','includes','push','setOutlineObjects','value','focalLengthNode','scene','needsUpdate','render'];_0x381e=function(){return _0x5e2a12;};return _0x381e();}class PostProcessManager{constructor(_0x365fec,_0x5a44cd,_0x2d0adc,_0x1fbf9c,_0x43a681){const _0x16ded2=_0x206e;this['postProcessing']=null,this[_0x16ded2(0xfe)]=[],this['effectUniforms']=null,this['outlinePass']=null,this[_0x16ded2(0x13a)]=null,this[_0x16ded2(0x152)]=null,this['gtaoPass']=null,this[_0x16ded2(0x119)]=null,this[_0x16ded2(0x128)]=null,this[_0x16ded2(0xe5)]=null,this[_0x16ded2(0x14b)]=null,this[_0x16ded2(0xe8)]=_0x365fec,this[_0x16ded2(0xfb)]=_0x5a44cd,this[_0x16ded2(0x101)]=_0x2d0adc,this['postProcessParam']=Object[_0x16ded2(0x11f)]({},_0x1fbf9c),this[_0x16ded2(0x14b)]=_0x43a681!==null&&_0x43a681!==void 0?_0x43a681:null;}get['processing'](){const _0x241d68=_0x206e;return this[_0x241d68(0x10e)];}[_0x64427d(0xf5)](_0x2091b1){const _0x3ee55a=_0x64427d;this[_0x3ee55a(0x101)]=_0x2091b1,(!this[_0x3ee55a(0x10e)]||!this[_0x3ee55a(0x10b)])&&(this['buildPipeline'](),this['updateAllUniforms'](),this[_0x3ee55a(0x147)]());}[_0x64427d(0x123)](){const _0x21c4a6=_0x64427d;(!this[_0x21c4a6(0x10e)]||!this[_0x21c4a6(0x10b)])&&this[_0x21c4a6(0x13e)](),this[_0x21c4a6(0xf0)](),this[_0x21c4a6(0x147)]();}[_0x64427d(0x13e)](){const _0x3c9b2a=_0x64427d;var _0x10d281,_0x1238a6,_0x5eafd3,_0x4b90fa,_0x3a7683;this[_0x3c9b2a(0x10e)]&&this['postProcessing'][_0x3c9b2a(0x107)]();this['postProcessing']=new webgpu.PostProcessing(this['renderer']),this['effectUniforms']=this[_0x3c9b2a(0x151)]();const _0x17b0c3=tsl.pass(this[_0x3c9b2a(0xfb)],this[_0x3c9b2a(0x101)]);_0x17b0c3[_0x3c9b2a(0x138)](tsl.mrt({'output':tsl.output,'normal':tsl.normalView,'velocity':tsl.velocity}));const _0x4389c8=_0x17b0c3[_0x3c9b2a(0x11d)](_0x3c9b2a(0x136)),_0x14ebb0=_0x17b0c3['getTextureNode'](_0x3c9b2a(0x132)),_0x388e6b=_0x17b0c3[_0x3c9b2a(0x11d)]('depth'),_0x2ff1d9=_0x17b0c3['getTextureNode']('velocity'),_0x53de10=_0x17b0c3['getViewZNode'](),_0x4e17ef=this['effectUniforms'],_0x17e67c=(_0x10d281=this['getStepParam'](exports.PostProcessStepType[_0x3c9b2a(0x100)]))!==null&&_0x10d281!==void 0?_0x10d281:DefaultBloomParam;this[_0x3c9b2a(0x13a)]=BloomNode_js.bloom(_0x4389c8),this[_0x3c9b2a(0x13a)]['threshold'][_0x3c9b2a(0xf9)]=_0x17e67c['threshold'],this[_0x3c9b2a(0x13a)][_0x3c9b2a(0x14d)][_0x3c9b2a(0xf9)]=_0x17e67c[_0x3c9b2a(0x14d)],this[_0x3c9b2a(0x13a)][_0x3c9b2a(0xea)][_0x3c9b2a(0xf9)]=_0x17e67c[_0x3c9b2a(0xea)];const _0x1101cf=_0x4389c8[_0x3c9b2a(0x11c)](this[_0x3c9b2a(0x13a)]['mul'](_0x4e17ef[_0x3c9b2a(0x125)])),_0x3a02a7=_0x4e17ef[_0x3c9b2a(0x11b)][_0x3c9b2a(0x150)](0.5)[_0x3c9b2a(0xef)](_0x1101cf,_0x4389c8),_0x59c6ab=(_0x1238a6=this[_0x3c9b2a(0x14a)](exports.PostProcessStepType[_0x3c9b2a(0x139)]))!==null&&_0x1238a6!==void 0?_0x1238a6:DefaultLensFlareParam;this[_0x3c9b2a(0x128)]=LensflareNode_js.lensflare(this['bloomPass'][_0x3c9b2a(0x11d)](),{'ghostTint':tsl.vec3(_0x59c6ab[_0x3c9b2a(0x104)][0x0],_0x59c6ab['ghostTint'][0x1],_0x59c6ab[_0x3c9b2a(0x104)][0x2]),'threshold':tsl.float(_0x59c6ab[_0x3c9b2a(0x11e)]),'ghostSamples':tsl.float(_0x59c6ab[_0x3c9b2a(0x118)]),'ghostSpacing':tsl.float(_0x59c6ab[_0x3c9b2a(0x108)]),'ghostAttenuationFactor':tsl.float(_0x59c6ab[_0x3c9b2a(0x103)]),'downSampleRatio':_0x59c6ab[_0x3c9b2a(0x14e)]});const _0x345d12=_0x3a02a7[_0x3c9b2a(0x11c)](this[_0x3c9b2a(0x128)][_0x3c9b2a(0x11d)]()),_0x1c357d=_0x4e17ef['lensflareEnabled']['greaterThan'](0.5)[_0x3c9b2a(0xef)](_0x345d12,_0x3a02a7),_0x1aa371=(_0x5eafd3=this['getStepParam'](exports.PostProcessStepType[_0x3c9b2a(0xed)]))!==null&&_0x5eafd3!==void 0?_0x5eafd3:DefaultDOFParam;this[_0x3c9b2a(0x152)]=DepthOfFieldNode_js.dof(_0x1c357d,_0x53de10,tsl.uniform(_0x1aa371[_0x3c9b2a(0xff)]),tsl.uniform(_0x1aa371[_0x3c9b2a(0x121)]),tsl.uniform(_0x1aa371[_0x3c9b2a(0xee)]));const _0x2bb069=_0x4e17ef[_0x3c9b2a(0x117)][_0x3c9b2a(0x150)](0.5)[_0x3c9b2a(0xef)](this['dofPass'],_0x1c357d),_0x5cd02c=(_0x4b90fa=this[_0x3c9b2a(0x14a)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x4b90fa!==void 0?_0x4b90fa:DefaultGTAOParam;this[_0x3c9b2a(0x14c)]=GTAONode_js.ao(_0x388e6b,_0x14ebb0,this[_0x3c9b2a(0x101)]),this[_0x3c9b2a(0x14c)]['resolutionScale']=0.5,this[_0x3c9b2a(0x14c)][_0x3c9b2a(0x143)][_0x3c9b2a(0xf9)]=_0x5cd02c['distanceExponent'],this[_0x3c9b2a(0x14c)][_0x3c9b2a(0x145)][_0x3c9b2a(0xf9)]=_0x5cd02c[_0x3c9b2a(0x145)],this[_0x3c9b2a(0x14c)][_0x3c9b2a(0xea)][_0x3c9b2a(0xf9)]=_0x5cd02c[_0x3c9b2a(0xea)],this[_0x3c9b2a(0x14c)]['scale'][_0x3c9b2a(0xf9)]=_0x5cd02c[_0x3c9b2a(0x114)],this['gtaoPass']['thickness'][_0x3c9b2a(0xf9)]=_0x5cd02c[_0x3c9b2a(0x109)],this[_0x3c9b2a(0x14c)]['samples'][_0x3c9b2a(0xf9)]=_0x5cd02c[_0x3c9b2a(0x13b)],this['gtaoPass'][_0x3c9b2a(0x13d)]=_0x5cd02c[_0x3c9b2a(0x13d)];const _0x36ed15=this[_0x3c9b2a(0x14c)][_0x3c9b2a(0x11d)](),_0xefd0b6=_0x36ed15['r'],_0x63394f=_0x2bb069[_0x3c9b2a(0x14f)](_0xefd0b6),_0x2dc584=_0x4e17ef[_0x3c9b2a(0xf4)][_0x3c9b2a(0x150)](0.5)[_0x3c9b2a(0xef)](_0x63394f,_0x2bb069),_0x39a100=(_0x3a7683=this['getStepParam'](exports.PostProcessStepType[_0x3c9b2a(0xf1)]))!==null&&_0x3a7683!==void 0?_0x3a7683:DefaultOutlineParams;this[_0x3c9b2a(0x141)]=OutlineNode_js.outline(this[_0x3c9b2a(0xfb)],this[_0x3c9b2a(0x101)],{'selectedObjects':this[_0x3c9b2a(0xfe)],'edgeGlow':tsl.uniform(_0x39a100['edgeGlow']),'edgeThickness':tsl.uniform(_0x39a100[_0x3c9b2a(0x13f)])});const {visibleEdge:_0x498bfe,hiddenEdge:_0x45e7e3}=this[_0x3c9b2a(0x141)],_0x594ba1=_0x4e17ef['outlinePulsePeriod'][_0x3c9b2a(0x150)](0x0)[_0x3c9b2a(0xef)](_0x4e17ef[_0x3c9b2a(0x11a)],tsl.uniform(0x1)),_0x40c524=tsl.time[_0x3c9b2a(0x130)](_0x594ba1)['mul'](0x2),_0x132044=tsl.oscSine(_0x40c524)[_0x3c9b2a(0x14f)](0.5)['add'](0.5),_0xff2328=_0x498bfe[_0x3c9b2a(0x14f)](_0x4e17ef[_0x3c9b2a(0xeb)])[_0x3c9b2a(0x11c)](_0x45e7e3[_0x3c9b2a(0x14f)](_0x4e17ef['outlineHiddenEdgeColor']))['mul'](_0x4e17ef[_0x3c9b2a(0x12a)]),_0x55a62c=_0x4e17ef['outlinePulsePeriod'][_0x3c9b2a(0x150)](0x0)[_0x3c9b2a(0xef)](_0xff2328[_0x3c9b2a(0x14f)](_0x132044),_0xff2328),_0x252136=_0x55a62c[_0x3c9b2a(0x11c)](_0x2dc584),_0x27d8e2=_0x4e17ef[_0x3c9b2a(0x12e)][_0x3c9b2a(0x150)](0.5)[_0x3c9b2a(0xef)](_0x252136,_0x2dc584),_0x5d3ccf=FXAANode_js.fxaa(_0x27d8e2),_0x195c83=_0x4e17ef[_0x3c9b2a(0x115)][_0x3c9b2a(0x150)](0.5)[_0x3c9b2a(0xef)](_0x5d3ccf,_0x27d8e2),_0x3e3f47=SMAANode_js.smaa(_0x195c83),_0x48f7ff=_0x4e17ef[_0x3c9b2a(0x116)][_0x3c9b2a(0x150)](0.5)[_0x3c9b2a(0xef)](_0x3e3f47,_0x195c83),_0x3dec7b=this[_0x3c9b2a(0x14a)](exports.PostProcessStepType[_0x3c9b2a(0x133)]);let _0x295040=_0x48f7ff;_0x3dec7b&&_0x3dec7b[_0x3c9b2a(0x124)]===_0x3c9b2a(0x105)&&(this['traaPass']=TRAANode_js.traa(_0x48f7ff,_0x388e6b,_0x2ff1d9,this[_0x3c9b2a(0x101)]),_0x295040=this[_0x3c9b2a(0x119)][_0x3c9b2a(0x11d)]()),_0x295040=this[_0x3c9b2a(0x148)](_0x295040),this[_0x3c9b2a(0x10e)][_0x3c9b2a(0xf2)]=_0x295040,this['postProcessing'][_0x3c9b2a(0xfc)]=!![];}[_0x64427d(0x148)](_0x5422e2){return _0x5422e2;}[_0x64427d(0x151)](){const _0x30212a=_0x64427d;var _0x3c62ed,_0x27866a,_0x141d4e,_0x18a352;const _0xc2135a=(_0x3c62ed=this[_0x30212a(0x14a)](exports.PostProcessStepType[_0x30212a(0x100)]))!==null&&_0x3c62ed!==void 0?_0x3c62ed:DefaultBloomParam,_0x4277d0=(_0x27866a=this[_0x30212a(0x14a)](exports.PostProcessStepType[_0x30212a(0xed)]))!==null&&_0x27866a!==void 0?_0x27866a:DefaultDOFParam,_0xd0dc15=(_0x141d4e=this[_0x30212a(0x14a)](exports.PostProcessStepType['GroundTruthAmbientOcclusion']))!==null&&_0x141d4e!==void 0?_0x141d4e:DefaultGTAOParam,_0x471d9d=(_0x18a352=this[_0x30212a(0x14a)](exports.PostProcessStepType[_0x30212a(0xf1)]))!==null&&_0x18a352!==void 0?_0x18a352:DefaultOutlineParams;return {'bloomEnabled':tsl.uniform(0x0),'bloomStrength':tsl.uniform(_0xc2135a[_0x30212a(0x14d)]),'bloomThreshold':tsl.uniform(_0xc2135a['threshold']),'bloomRadius':tsl.uniform(_0xc2135a[_0x30212a(0xea)]),'dofEnabled':tsl.uniform(0x0),'dofFocus':tsl.uniform(_0x4277d0[_0x30212a(0xff)]),'dofAperture':tsl.uniform(_0x4277d0[_0x30212a(0x121)]),'dofMaxBlur':tsl.uniform(_0x4277d0[_0x30212a(0xee)]),'gtaoEnabled':tsl.uniform(0x0),'gtaoScale':tsl.uniform(_0xd0dc15[_0x30212a(0x114)]),'gtaoDistanceExponent':tsl.uniform(_0xd0dc15['distanceExponent']),'gtaoDistanceFallOff':tsl.uniform(_0xd0dc15[_0x30212a(0x145)]),'gtaoRadius':tsl.uniform(_0xd0dc15['radius']),'gtaoThickness':tsl.uniform(_0xd0dc15[_0x30212a(0x109)]),'gtaoSamples':tsl.uniform(_0xd0dc15[_0x30212a(0x13b)]),'outlineEnabled':tsl.uniform(0x0),'outlineEdgeStrength':tsl.uniform(_0x471d9d[_0x30212a(0x110)]),'outlineEdgeGlow':tsl.uniform(_0x471d9d['edgeGlow']),'outlineEdgeThickness':tsl.uniform(_0x471d9d[_0x30212a(0x13f)]),'outlinePulsePeriod':tsl.uniform(_0x471d9d[_0x30212a(0x149)]),'outlineVisibleEdgeColor':tsl.uniform(new webgpu.Color(_0x471d9d[_0x30212a(0x113)])),'outlineHiddenEdgeColor':tsl.uniform(new webgpu.Color(_0x471d9d[_0x30212a(0x10f)])),'fxaaEnabled':tsl.uniform(0x0),'smaaEnabled':tsl.uniform(0x0),'lensflareEnabled':tsl.uniform(0x0)};}[_0x64427d(0x14a)](_0x3f97ae){const _0x49354b=_0x64427d;var _0x23d3c4;return (_0x23d3c4=this[_0x49354b(0x12d)]['steps'][_0x49354b(0x10c)](_0x4a828b=>_0x4a828b[_0x49354b(0x12b)]===_0x3f97ae))!==null&&_0x23d3c4!==void 0?_0x23d3c4:null;}['updateAllUniforms'](){const _0x402919=_0x64427d;if(!this[_0x402919(0x10b)])return;const _0x398a1f=this[_0x402919(0x10b)],_0xbcb9d4=new Set(this[_0x402919(0x12d)]['steps']['map'](_0x1e2bbc=>_0x1e2bbc[_0x402919(0x12b)]));_0x398a1f[_0x402919(0x11b)]['value']=_0xbcb9d4[_0x402919(0xe7)](exports.PostProcessStepType[_0x402919(0x100)])?0x1:0x0,_0x398a1f[_0x402919(0x117)][_0x402919(0xf9)]=_0xbcb9d4[_0x402919(0xe7)](exports.PostProcessStepType['DepthOfField'])?0x1:0x0,_0x398a1f[_0x402919(0xf4)][_0x402919(0xf9)]=_0xbcb9d4['has'](exports.PostProcessStepType[_0x402919(0x131)])?0x1:0x0,_0x398a1f[_0x402919(0x12e)][_0x402919(0xf9)]=_0xbcb9d4['has'](exports.PostProcessStepType[_0x402919(0xf1)])?0x1:0x0,_0x398a1f['lensflareEnabled'][_0x402919(0xf9)]=_0xbcb9d4[_0x402919(0xe7)](exports.PostProcessStepType[_0x402919(0x139)])?0x1:0x0;const _0x5ef865=this[_0x402919(0x14a)](exports.PostProcessStepType[_0x402919(0x133)]);_0x5ef865?(_0x398a1f[_0x402919(0x115)][_0x402919(0xf9)]=_0x5ef865[_0x402919(0x124)]===_0x402919(0x135)?0x1:0x0,_0x398a1f[_0x402919(0x116)][_0x402919(0xf9)]=_0x5ef865[_0x402919(0x124)]==='smaa'?0x1:0x0):(_0x398a1f[_0x402919(0x115)][_0x402919(0xf9)]=0x0,_0x398a1f['smaaEnabled'][_0x402919(0xf9)]=0x0);const _0x4a17a9=this[_0x402919(0x14a)](exports.PostProcessStepType[_0x402919(0x100)]);_0x4a17a9&&(_0x398a1f[_0x402919(0x125)]['value']=_0x4a17a9[_0x402919(0x14d)],_0x398a1f[_0x402919(0x10a)][_0x402919(0xf9)]=_0x4a17a9[_0x402919(0x11e)],_0x398a1f['bloomRadius']['value']=_0x4a17a9['radius'],this[_0x402919(0x13a)]&&(this[_0x402919(0x13a)]['threshold']['value']=_0x4a17a9[_0x402919(0x11e)],this[_0x402919(0x13a)]['strength'][_0x402919(0xf9)]=_0x4a17a9[_0x402919(0x14d)],this[_0x402919(0x13a)][_0x402919(0xea)][_0x402919(0xf9)]=_0x4a17a9[_0x402919(0xea)]));const _0x419566=this['getStepParam'](exports.PostProcessStepType[_0x402919(0x139)]);if(_0x419566&&this[_0x402919(0x128)]);const _0x449df2=this['getStepParam'](exports.PostProcessStepType['DepthOfField']);_0x449df2&&(_0x398a1f['dofFocus'][_0x402919(0xf9)]=_0x449df2[_0x402919(0xff)],_0x398a1f[_0x402919(0x106)][_0x402919(0xf9)]=_0x449df2[_0x402919(0x121)],_0x398a1f['dofMaxBlur'][_0x402919(0xf9)]=_0x449df2[_0x402919(0xee)],this[_0x402919(0x152)]&&(this[_0x402919(0x152)][_0x402919(0x155)][_0x402919(0xf9)]=_0x449df2['focus'],this[_0x402919(0x152)][_0x402919(0xfa)][_0x402919(0xf9)]=_0x449df2['aperture'],this['dofPass']['bokehScaleNode'][_0x402919(0xf9)]=_0x449df2[_0x402919(0xee)]));const _0x562ee9=this['getStepParam'](exports.PostProcessStepType[_0x402919(0x131)]);_0x562ee9&&(_0x398a1f['gtaoScale'][_0x402919(0xf9)]=_0x562ee9[_0x402919(0x114)],_0x398a1f['gtaoDistanceExponent']['value']=_0x562ee9[_0x402919(0x143)],_0x398a1f['gtaoDistanceFallOff'][_0x402919(0xf9)]=_0x562ee9[_0x402919(0x145)],_0x398a1f['gtaoRadius'][_0x402919(0xf9)]=_0x562ee9['radius'],_0x398a1f[_0x402919(0x154)][_0x402919(0xf9)]=_0x562ee9[_0x402919(0x109)],_0x398a1f[_0x402919(0x12c)][_0x402919(0xf9)]=_0x562ee9['samples'],this[_0x402919(0x14c)]&&(this['gtaoPass']['distanceExponent'][_0x402919(0xf9)]=_0x562ee9[_0x402919(0x143)],this['gtaoPass'][_0x402919(0x145)]['value']=_0x562ee9['distanceFallOff'],this[_0x402919(0x14c)]['radius']['value']=_0x562ee9[_0x402919(0xea)],this[_0x402919(0x14c)][_0x402919(0x114)][_0x402919(0xf9)]=_0x562ee9['scale'],this[_0x402919(0x14c)]['thickness']['value']=_0x562ee9[_0x402919(0x109)],this[_0x402919(0x14c)][_0x402919(0x13b)][_0x402919(0xf9)]=_0x562ee9[_0x402919(0x13b)],this['gtaoPass'][_0x402919(0x13d)]=_0x562ee9['useTemporalFiltering']));const _0x194e01=this[_0x402919(0x14a)](exports.PostProcessStepType[_0x402919(0xf1)]);_0x194e01&&(_0x398a1f['outlineEdgeStrength'][_0x402919(0xf9)]=_0x194e01[_0x402919(0x110)],_0x398a1f[_0x402919(0x111)][_0x402919(0xf9)]=_0x194e01[_0x402919(0x129)],_0x398a1f[_0x402919(0xe6)][_0x402919(0xf9)]=_0x194e01[_0x402919(0x13f)],_0x398a1f['outlinePulsePeriod']['value']=_0x194e01[_0x402919(0x149)],_0x398a1f['outlineVisibleEdgeColor'][_0x402919(0xf9)][_0x402919(0x13c)](_0x194e01[_0x402919(0x113)]),_0x398a1f[_0x402919(0x102)][_0x402919(0xf9)]['set'](_0x194e01[_0x402919(0x10f)]),this['outlinePass']&&(this[_0x402919(0x141)]['edgeGlowNode']['value']=_0x194e01[_0x402919(0x129)],this[_0x402919(0x141)]['edgeThicknessNode'][_0x402919(0xf9)]=_0x194e01[_0x402919(0x13f)],this[_0x402919(0x141)][_0x402919(0x153)]=this[_0x402919(0xfe)]));}[_0x64427d(0x127)](_0x51f1ba){const _0x207d16=_0x64427d;this[_0x207d16(0x12d)][_0x207d16(0xe3)]=_0x51f1ba,(!this[_0x207d16(0x10b)]||!this[_0x207d16(0x10e)])&&this[_0x207d16(0x13e)](),this[_0x207d16(0xf0)](),this[_0x207d16(0x147)]();}[_0x64427d(0x10d)](_0x4822db){const _0x1ee064=_0x64427d;!this[_0x1ee064(0xfe)][_0x1ee064(0xf6)](_0x4822db)&&(this[_0x1ee064(0xfe)][_0x1ee064(0xf7)](_0x4822db),this[_0x1ee064(0x141)]&&(this['outlinePass']['selectedObjects']=this[_0x1ee064(0xfe)])),this[_0x1ee064(0x147)]();}[_0x64427d(0xf8)](_0x5431d0){const _0x5e83b4=_0x64427d;this[_0x5e83b4(0xfe)]['length']=0x0,this['outlineObjects'][_0x5e83b4(0xf7)](..._0x5431d0),this[_0x5e83b4(0x141)]&&(this['outlinePass'][_0x5e83b4(0x153)]=this['outlineObjects']),this[_0x5e83b4(0x147)]();}['removeOutlineObject'](_0x1e7ef0){const _0x1da53e=_0x64427d,_0x17758e=this['outlineObjects'][_0x1da53e(0x122)](_0x1e7ef0);_0x17758e>-1&&(this['outlineObjects'][_0x1da53e(0x134)](_0x17758e,0x1),this[_0x1da53e(0x141)]&&(this['outlinePass'][_0x1da53e(0x153)]=this['outlineObjects'])),this[_0x1da53e(0x147)]();}[_0x64427d(0x120)](_0x4437b0){const _0x3f7117=_0x64427d;this[_0x3f7117(0xe5)]=_0x4437b0,this[_0x3f7117(0x13e)](),this[_0x3f7117(0xf0)](),this[_0x3f7117(0x147)]();}[_0x64427d(0x142)](){const _0x39ffc2=_0x64427d;return this[_0x39ffc2(0xe5)];}[_0x64427d(0xfd)](){const _0x48d02a=_0x64427d;if(this['postProcessing'])return this['postProcessing'][_0x48d02a(0xfd)](),!![];return ![];}[_0x64427d(0x126)](){const _0x40a674=_0x64427d;this[_0x40a674(0xfe)]=[],this[_0x40a674(0x10b)]=null,this[_0x40a674(0x141)]=null,this['bloomPass']=null,this[_0x40a674(0x152)]=null,this[_0x40a674(0x14c)]=null,this[_0x40a674(0x119)]=null,this['lensflarePass']=null,this[_0x40a674(0xe5)]=null,this['postProcessing']&&(this['postProcessing'][_0x40a674(0x107)](),this[_0x40a674(0x10e)]=null);}['markDirty'](){const _0x220bef=_0x64427d;this[_0x220bef(0x14b)]&&this[_0x220bef(0x14b)]();}}
|
|
65
65
|
|
|
66
|
-
const _0x2d3e04=_0x186b;function _0x186b(_0x31c903,_0x49dc40){_0x31c903=_0x31c903-0xe6;const _0x3180be=_0x3180();let _0x186b83=_0x3180be[_0x31c903];return _0x186b83;}(function(_0x5d77a8,_0x97f697){const _0x23230f=_0x186b,_0x21e644=_0x5d77a8();while(!![]){try{const _0x3c2bf2=-parseInt(_0x23230f(0x133))/0x1*(parseInt(_0x23230f(0x10d))/0x2)+-parseInt(_0x23230f(0x110))/0x3+parseInt(_0x23230f(0x137))/0x4+-parseInt(_0x23230f(0x113))/0x5+-parseInt(_0x23230f(0x13e))/0x6+-parseInt(_0x23230f(0x12e))/0x7+-parseInt(_0x23230f(0x107))/0x8*(-parseInt(_0x23230f(0x13d))/0x9);if(_0x3c2bf2===_0x97f697)break;else _0x21e644['push'](_0x21e644['shift']());}catch(_0x4a7235){_0x21e644['push'](_0x21e644['shift']());}}}(_0x3180,0xb2ab3));function _0x3180(){const _0x531c18=['setupPostProcess','scene','197600sGDFhe','resizeObserver','assign','toneMappingExposure','top','render','destroyPostProcess','scene-labelRenderer','samples','_uiDom','pointerEvents','updateSteps','height','createPostProcessManager','world','alpha','enabled','setClearAlpha','addOutlineObject','toneMapping','setShadowMapEnabled','_canvasContainer','remove','querySelector','domElement','scene-uiLayer','setShadowMapType','2461872KwDSBq','postProcessParam','image/jpeg','devicePixelRatio','getElementById','11887iOSTjU','disconnect','clientWidth','shadowMapEnabled','4450332EKiBoV','stencil','div','none','100%','type','11241ZPOpmW','6631572MqWnCq','shadowMapType','toDataURL','Can\x20not\x20create\x20context','markRenderStateDirty','outer','canvas','camera','_app','updateRendererSettings','clientHeight','position','elementId','createRenderer','isLabelRendererNeeded','shadowMap','left','createLabelRenderer','add','zIndex','className','app','drawImage','_outerContainer','style','depth','logarithmicDepthBuffer','0px','appendChild','_renderer','isRenderStateDirty','antialias','removeChild','dispose','updatePostProcess','onAfterPostProcessRender','setOutlineObjects','setToneMapping','setSize','setAlpha','renderer','uiDom','labelRenderer','outputBufferType','createElement','postProcessManager','16360oqvJvr','removeOutlineObject','onCameraChangedDelegate','width','init','onWindowResize','70ROKQQT','setDepth','createUILayer','3067314RvOOWq'];_0x3180=function(){return _0x531c18;};return _0x3180();}class Viewport{get[_0x2d3e04(0x102)](){return this['_uiDom'];}get[_0x2d3e04(0x144)](){return this['_canvasContainer'];}get[_0x2d3e04(0x143)](){return this['_outerContainer'];}get[_0x2d3e04(0x101)](){const _0x39ad50=_0x2d3e04;if(!this[_0x39ad50(0xf6)])throw Error('Renderer\x20is\x20not\x20initialized');return this[_0x39ad50(0xf6)];}get[_0x2d3e04(0xee)](){const _0x5c5edf=_0x2d3e04;if(!this[_0x5c5edf(0x146)])throw Error('App\x20is\x20not\x20initialized');return this[_0x5c5edf(0x146)];}constructor(_0x493889,_0x418c5d,_0x32767d,_0x42a565){const _0x116cf9=_0x2d3e04;this[_0x116cf9(0x11c)]=null,this['_renderer']=null,this[_0x116cf9(0x103)]=null,this[_0x116cf9(0x146)]=null,this[_0x116cf9(0x114)]=null,this['_outerContainer']=null,this[_0x116cf9(0x128)]=null,this[_0x116cf9(0xf7)]=!![],this[_0x116cf9(0x106)]=null,this['postProcessParam']=Object[_0x116cf9(0x115)]({},_0x42a565),this['_app']=_0x493889,_0x418c5d[_0x116cf9(0x14a)]&&(this[_0x116cf9(0xf0)]=document[_0x116cf9(0x132)](_0x418c5d['elementId'])),this[_0x116cf9(0xe6)](_0x32767d),_0x418c5d[_0x116cf9(0xe7)]&&this['createLabelRenderer'](),_0x418c5d['isUILayerNeeded']&&this['createUILayer'](),this[_0x116cf9(0xf0)]&&(this['resizeObserver']=new ResizeObserver(_0x31fd3c=>{const _0x3e413e=_0x116cf9;for(let _0x194c02 of _0x31fd3c){_0x194c02['contentBoxSize']&&this[_0x3e413e(0x10c)]();}}),this[_0x116cf9(0x114)]['observe'](this['_outerContainer'])),this[_0x116cf9(0xee)][_0x116cf9(0x109)][_0x116cf9(0xeb)](()=>{const _0x22bbf3=_0x116cf9;this['postProcessManager']&&(this['postProcessManager']['updateCamera'](this[_0x22bbf3(0xee)][_0x22bbf3(0x145)]),this[_0x22bbf3(0x106)]['setup']());});}[_0x2d3e04(0xe6)](_0x5ea327){const _0x4cec76=_0x2d3e04;this[_0x4cec76(0xf0)]&&!this[_0x4cec76(0x128)]&&(this[_0x4cec76(0x128)]=document[_0x4cec76(0x105)](_0x4cec76(0x139)),this[_0x4cec76(0x128)]['style'][_0x4cec76(0xe9)]=_0x4cec76(0xf4),this[_0x4cec76(0x128)][_0x4cec76(0xf1)][_0x4cec76(0x117)]=_0x4cec76(0xf4),this[_0x4cec76(0x128)][_0x4cec76(0xf1)][_0x4cec76(0x10a)]=_0x4cec76(0x13b),this[_0x4cec76(0x128)][_0x4cec76(0xf1)]['height']=_0x4cec76(0x13b),this['_outerContainer']['appendChild'](this[_0x4cec76(0x128)]));const _0x385711=this[_0x4cec76(0x128)];this[_0x4cec76(0xf6)]&&(_0x385711&&_0x385711['removeChild'](this[_0x4cec76(0xf6)][_0x4cec76(0x12b)]),this[_0x4cec76(0xf6)][_0x4cec76(0xfa)]());let _0xf0257c=_0x385711?_0x385711[_0x4cec76(0x135)]:0x200,_0x3fc19f=_0x385711?_0x385711['clientHeight']:0x200,_0x4d6d7c={};_0x4d6d7c['forceWebGL']=_0x5ea327['forceWebGL'],_0x4d6d7c[_0x4cec76(0xf8)]=_0x5ea327[_0x4cec76(0xf8)],_0x4d6d7c[_0x4cec76(0xf2)]=_0x5ea327['depth'],_0x4d6d7c[_0x4cec76(0x138)]=_0x5ea327[_0x4cec76(0x138)],_0x4d6d7c['alpha']=_0x5ea327[_0x4cec76(0x122)],_0x4d6d7c[_0x4cec76(0xf3)]=_0x5ea327['logarithmicDepthBuffer'],_0x4d6d7c[_0x4cec76(0x11b)]=_0x5ea327[_0x4cec76(0x11b)],_0x4d6d7c[_0x4cec76(0x104)]=_0x5ea327[_0x4cec76(0x104)],this['_renderer']=new webgpu.WebGPURenderer(_0x4d6d7c),this[_0x4cec76(0xf6)]['setPixelRatio'](window[_0x4cec76(0x131)]),this[_0x4cec76(0xf6)][_0x4cec76(0xff)](_0xf0257c,_0x3fc19f),this[_0x4cec76(0xf6)]['shadowMap'][_0x4cec76(0x123)]=_0x5ea327[_0x4cec76(0x136)],this['_renderer']['shadowMap']['type']=_0x5ea327[_0x4cec76(0x13f)],this[_0x4cec76(0xf6)][_0x4cec76(0x126)]=_0x5ea327[_0x4cec76(0x126)],this[_0x4cec76(0xf6)][_0x4cec76(0x116)]=_0x5ea327[_0x4cec76(0x116)],this[_0x4cec76(0xf6)][_0x4cec76(0x124)](0x0),_0x385711&&_0x385711[_0x4cec76(0xf5)](this[_0x4cec76(0xf6)][_0x4cec76(0x12b)]);}[_0x2d3e04(0xea)](){const _0x260256=_0x2d3e04,_0x36b44a=this['_outerContainer'];this[_0x260256(0x103)]&&(_0x36b44a&&_0x36b44a[_0x260256(0xf9)](this['labelRenderer'][_0x260256(0x12b)]));let _0x3f0021=_0x36b44a?_0x36b44a[_0x260256(0x135)]:0x200,_0x23e173=_0x36b44a?_0x36b44a['clientHeight']:0x200;this[_0x260256(0x103)]=new Addons_js.CSS2DRenderer(),this[_0x260256(0x103)][_0x260256(0xff)](_0x3f0021,_0x23e173),this[_0x260256(0x103)]['domElement'][_0x260256(0xf1)]['pointerEvents']='none',this[_0x260256(0x103)][_0x260256(0x12b)][_0x260256(0xf1)][_0x260256(0x149)]='absolute',this[_0x260256(0x103)]['domElement']['style']['top']=_0x260256(0xf4),this[_0x260256(0x103)]['domElement'][_0x260256(0xed)]=_0x260256(0x11a),_0x36b44a&&_0x36b44a[_0x260256(0xf5)](this[_0x260256(0x103)][_0x260256(0x12b)]);}[_0x2d3e04(0x10f)](){const _0x5a7782=_0x2d3e04;if(!this['_outerContainer'])return;let _0xdac008=this[_0x5a7782(0xf0)][_0x5a7782(0x12a)]('.scene-uiLayer');!_0xdac008&&(_0xdac008=document[_0x5a7782(0x105)]('div'),_0xdac008[_0x5a7782(0xed)]=_0x5a7782(0x12c),_0xdac008['id']='scene-uiLayer',_0xdac008['style'][_0x5a7782(0x149)]='absolute',_0xdac008[_0x5a7782(0xf1)][_0x5a7782(0xe9)]='0',_0xdac008[_0x5a7782(0xf1)]['top']='0',_0xdac008[_0x5a7782(0xf1)][_0x5a7782(0x10a)]=_0x5a7782(0x13b),_0xdac008[_0x5a7782(0xf1)][_0x5a7782(0x11f)]=_0x5a7782(0x13b),_0xdac008[_0x5a7782(0xf1)][_0x5a7782(0x11d)]=_0x5a7782(0x13a),_0xdac008[_0x5a7782(0xf1)][_0x5a7782(0xec)]='10',this[_0x5a7782(0xf0)][_0x5a7782(0xf5)](_0xdac008),this[_0x5a7782(0x11c)]=_0xdac008);}[_0x2d3e04(0x10b)](){const _0x3fe079=_0x2d3e04;this[_0x3fe079(0x111)]();}['setupPostProcess'](){const _0x302947=_0x2d3e04;!this[_0x302947(0x106)]&&(this[_0x302947(0x106)]=this[_0x302947(0x120)]()),this['postProcessManager']['setup']();}['createPostProcessManager'](){const _0x4ace12=_0x2d3e04;return new PostProcessManager(this[_0x4ace12(0x101)],this[_0x4ace12(0xee)]['world']['scene'],this['app'][_0x4ace12(0x145)],this[_0x4ace12(0x12f)],()=>this[_0x4ace12(0x142)]());}[_0x2d3e04(0xfb)](_0x2f43aa){const _0x3ce08d=_0x2d3e04;this['postProcessManager']&&this[_0x3ce08d(0x106)][_0x3ce08d(0x11e)](_0x2f43aa);}[_0x2d3e04(0x147)](_0x5468a3){const _0x4faf96=_0x2d3e04;this[_0x4faf96(0xe6)](_0x5468a3),this[_0x4faf96(0x142)]();}[_0x2d3e04(0x125)](_0x389281){const _0x3ee553=_0x2d3e04;this[_0x3ee553(0x106)]&&this['postProcessManager'][_0x3ee553(0x125)](_0x389281);}[_0x2d3e04(0xfd)](_0x1f0d1e){const _0x5a3451=_0x2d3e04;this[_0x5a3451(0x106)]&&this[_0x5a3451(0x106)][_0x5a3451(0xfd)](_0x1f0d1e);}[_0x2d3e04(0x108)](_0x118850){const _0x247785=_0x2d3e04;this[_0x247785(0x106)]&&this['postProcessManager'][_0x247785(0x108)](_0x118850);}[_0x2d3e04(0x119)](){const _0x22584d=_0x2d3e04;this['postProcessManager']&&(this[_0x22584d(0x106)]['destroy'](),this[_0x22584d(0x106)]=null);}[_0x2d3e04(0x10c)](){const _0x22a7e9=_0x2d3e04;let _0x47633a=this[_0x22a7e9(0xf0)];if(!_0x47633a)return;this[_0x22a7e9(0xee)]['onWindowResize'](_0x47633a[_0x22a7e9(0x135)],_0x47633a[_0x22a7e9(0x148)]),this['renderer'][_0x22a7e9(0xff)](_0x47633a[_0x22a7e9(0x135)],_0x47633a[_0x22a7e9(0x148)]);if(this['labelRenderer'])this[_0x22a7e9(0x103)][_0x22a7e9(0xff)](_0x47633a[_0x22a7e9(0x135)],_0x47633a['clientHeight']);this[_0x22a7e9(0x142)]();}[_0x2d3e04(0x142)](){const _0x5601c6=_0x2d3e04;this[_0x5601c6(0xf7)]=!![];}[_0x2d3e04(0x118)](){const _0xd88be1=_0x2d3e04;if(!this['isRenderStateDirty'])return;if(this[_0xd88be1(0x106)]&&this[_0xd88be1(0x106)][_0xd88be1(0x118)]());else this[_0xd88be1(0x101)][_0xd88be1(0x118)](this[_0xd88be1(0xee)]['world'][_0xd88be1(0x112)],this[_0xd88be1(0xee)][_0xd88be1(0x145)]);this[_0xd88be1(0xfc)](),this[_0xd88be1(0x103)]&&this[_0xd88be1(0x103)]['render'](this[_0xd88be1(0xee)]['world'][_0xd88be1(0x112)],this[_0xd88be1(0xee)][_0xd88be1(0x145)]),this[_0xd88be1(0xf7)]=![];}['onAfterPostProcessRender'](){}async['renderAsImage'](_0x3bec69=0x400,_0x35f58b=0x400){const _0xb752dd=_0x2d3e04;try{if(this['postProcessManager']&&this[_0xb752dd(0x106)][_0xb752dd(0x118)]()){}else await this[_0xb752dd(0x101)][_0xb752dd(0x118)](this[_0xb752dd(0xee)][_0xb752dd(0x121)]['scene'],this[_0xb752dd(0xee)][_0xb752dd(0x145)]);const _0x3ba751=this['renderer']['domElement'][_0xb752dd(0x10a)],_0x29b1e4=this[_0xb752dd(0x101)][_0xb752dd(0x12b)][_0xb752dd(0x11f)];let _0x4585bb=_0x3ba751||_0x3bec69,_0x335c31=_0x29b1e4||_0x35f58b;(_0x4585bb<=0x0||_0x335c31<=0x0)&&(_0x4585bb=_0x3bec69,_0x335c31=_0x35f58b);const _0x1fae10=document['createElement'](_0xb752dd(0x144));_0x1fae10[_0xb752dd(0x10a)]=_0x3bec69,_0x1fae10['height']=_0x35f58b;const _0x187353=_0x1fae10['getContext']('2d');if(!_0x187353)throw Error(_0xb752dd(0x141));_0x187353[_0xb752dd(0xef)](this[_0xb752dd(0x101)]['domElement'],0x0,0x0,_0x4585bb,_0x335c31,0x0,0x0,_0x3bec69,_0x35f58b);const _0x3bc89e=_0x1fae10[_0xb752dd(0x140)](_0xb752dd(0x130));return _0x1fae10[_0xb752dd(0x129)](),_0x3bc89e;}catch(_0x1056fa){return '';}}[_0x2d3e04(0x100)](_0x3a0c45){const _0x144add=_0x2d3e04;if(!this[_0x144add(0xf6)])return;this['_renderer']['alpha']=_0x3a0c45;}[_0x2d3e04(0x127)](_0x1dbb9d){const _0x3bba39=_0x2d3e04;if(!this[_0x3bba39(0xf6)])return;this[_0x3bba39(0xf6)][_0x3bba39(0xe8)][_0x3bba39(0x123)]=_0x1dbb9d;}[_0x2d3e04(0x12d)](_0x43ed04){const _0x33329d=_0x2d3e04;if(!this[_0x33329d(0xf6)])return;this[_0x33329d(0xf6)]['shadowMap'][_0x33329d(0x13c)]=_0x43ed04;}[_0x2d3e04(0xfe)](_0x20a361){const _0x1825af=_0x2d3e04;if(!this[_0x1825af(0xf6)])return;this[_0x1825af(0xf6)][_0x1825af(0x126)]=_0x20a361;}['setToneMappingExposure'](_0x3fe15e){const _0x49a985=_0x2d3e04;if(!this[_0x49a985(0xf6)])return;this[_0x49a985(0xf6)][_0x49a985(0x116)]=_0x3fe15e;}['setLogarithmicDepthBufferEnabled'](_0x1ef1f7){const _0x4b8350=_0x2d3e04;if(!this[_0x4b8350(0xf6)])return;this[_0x4b8350(0xf6)][_0x4b8350(0xf3)]=_0x1ef1f7;}[_0x2d3e04(0x10e)](_0x3c31a4){const _0x5deabd=_0x2d3e04;if(!this[_0x5deabd(0xf6)])return;this[_0x5deabd(0xf6)][_0x5deabd(0xf2)]=_0x3c31a4;}['setStencil'](_0xc4286c){const _0x414449=_0x2d3e04;if(!this[_0x414449(0xf6)])return;this['_renderer'][_0x414449(0x138)]=_0xc4286c;}['destroy'](){const _0xfc2858=_0x2d3e04;this[_0xfc2858(0x119)](),this['renderer']['setAnimationLoop'](null),this['resizeObserver']&&(this['resizeObserver'][_0xfc2858(0x134)](),this[_0xfc2858(0x114)]=null),this[_0xfc2858(0x103)]&&(this['labelRenderer'][_0xfc2858(0x12b)][_0xfc2858(0x129)](),this[_0xfc2858(0x103)]=null),this[_0xfc2858(0xf6)]&&(this[_0xfc2858(0x101)][_0xfc2858(0x12b)][_0xfc2858(0x129)](),this[_0xfc2858(0xf6)][_0xfc2858(0xfa)](),this[_0xfc2858(0xf6)]=null),this[_0xfc2858(0x128)]&&(this[_0xfc2858(0x128)][_0xfc2858(0x129)](),this[_0xfc2858(0x128)]=null),this[_0xfc2858(0xf0)]=null,this[_0xfc2858(0x146)]=null;}}
|
|
66
|
+
function _0x7c52(){const _0x2ddec5=['scene-uiLayer','init','40295RAdqNW','Can\x20not\x20create\x20context','createUILayer','scene','div','createElement','isLabelRendererNeeded','setShadowMapEnabled','shadowMap','onAfterPostProcessRender','toneMapping','102480VZasRM','setShadowMapType','zIndex','domElement','1002uxDgxt','updateSteps','camera','postProcessManager','createRenderer','setAlpha','elementId','uiDom','setStencil','setToneMappingExposure','devicePixelRatio','.scene-uiLayer','logarithmicDepthBuffer','postProcessParam','setup','1698074oYKyCq','updateCamera','addOutlineObject','add','setDepth','style','setAnimationLoop','setupPostProcess','type','setToneMapping','appendChild','375414DvTDEL','Renderer\x20is\x20not\x20initialized','6LqtrJo','_renderer','antialias','querySelector','isRenderStateDirty','enabled','outer','left','height','20NyNAVo','clientHeight','updateRendererSettings','forceWebGL','_app','drawImage','shadowMapType','scene-labelRenderer','47892OxQgII','setPixelRatio','removeChild','labelRenderer','toneMappingExposure','destroy','removeOutlineObject','remove','updatePostProcess','position','onCameraChangedDelegate','_uiDom','toDataURL','resizeObserver','className','getElementById','alpha','715EvtwEl','135756anBIyR','width','none','markRenderStateDirty','setSize','samples','depth','world','canvas','28moTpWH','1gwFkfu','dispose','render','setOutlineObjects','pointerEvents','stencil','0px','observe','100%','createLabelRenderer','destroyPostProcess','assign','renderer','renderAsImage','outputBufferType','app','top','setClearAlpha','absolute','_outerContainer','setLogarithmicDepthBufferEnabled','contentBoxSize','_canvasContainer','createPostProcessManager','onWindowResize','clientWidth'];_0x7c52=function(){return _0x2ddec5;};return _0x7c52();}function _0x35cc(_0xd1d8ba,_0x2cd586){_0xd1d8ba=_0xd1d8ba-0x14b;const _0x7c52f6=_0x7c52();let _0x35cce1=_0x7c52f6[_0xd1d8ba];return _0x35cce1;}const _0x5e4480=_0x35cc;(function(_0x5020af,_0xc86fac){const _0xa8f406=_0x35cc,_0x4c780d=_0x5020af();while(!![]){try{const _0x289c22=-parseInt(_0xa8f406(0x152))/0x1*(-parseInt(_0xa8f406(0x197))/0x2)+parseInt(_0xa8f406(0x17d))/0x3*(-parseInt(_0xa8f406(0x151))/0x4)+parseInt(_0xa8f406(0x16e))/0x5*(-parseInt(_0xa8f406(0x199))/0x6)+parseInt(_0xa8f406(0x18c))/0x7+parseInt(_0xa8f406(0x179))/0x8+-parseInt(_0xa8f406(0x1bc))/0x9*(parseInt(_0xa8f406(0x1a2))/0xa)+-parseInt(_0xa8f406(0x1bb))/0xb*(parseInt(_0xa8f406(0x1aa))/0xc);if(_0x289c22===_0xc86fac)break;else _0x4c780d['push'](_0x4c780d['shift']());}catch(_0xdfae69){_0x4c780d['push'](_0x4c780d['shift']());}}}(_0x7c52,0x22f0f));class Viewport{get[_0x5e4480(0x184)](){const _0x37c07a=_0x5e4480;return this[_0x37c07a(0x1b5)];}get[_0x5e4480(0x150)](){const _0x51d30f=_0x5e4480;return this[_0x51d30f(0x168)];}get[_0x5e4480(0x19f)](){const _0x38bb33=_0x5e4480;return this[_0x38bb33(0x165)];}get['renderer'](){const _0x41aec2=_0x5e4480;if(!this['_renderer'])throw Error(_0x41aec2(0x198));return this[_0x41aec2(0x19a)];}get[_0x5e4480(0x161)](){const _0x43934b=_0x5e4480;if(!this[_0x43934b(0x1a6)])throw Error('App\x20is\x20not\x20initialized');return this[_0x43934b(0x1a6)];}constructor(_0x2e0131,_0x2bca00,_0x2a0153,_0x289d83){const _0xd1d909=_0x5e4480;this[_0xd1d909(0x1b5)]=null,this[_0xd1d909(0x19a)]=null,this[_0xd1d909(0x1ad)]=null,this['_app']=null,this[_0xd1d909(0x1b7)]=null,this[_0xd1d909(0x165)]=null,this[_0xd1d909(0x168)]=null,this[_0xd1d909(0x19d)]=!![],this[_0xd1d909(0x180)]=null,this[_0xd1d909(0x18a)]=Object[_0xd1d909(0x15d)]({},_0x289d83),this[_0xd1d909(0x1a6)]=_0x2e0131,_0x2bca00[_0xd1d909(0x183)]&&(this[_0xd1d909(0x165)]=document[_0xd1d909(0x1b9)](_0x2bca00['elementId'])),this[_0xd1d909(0x181)](_0x2a0153),_0x2bca00[_0xd1d909(0x174)]&&this[_0xd1d909(0x15b)](),_0x2bca00['isUILayerNeeded']&&this[_0xd1d909(0x170)](),this['_outerContainer']&&(this['resizeObserver']=new ResizeObserver(_0x56a8bc=>{const _0x4b97b1=_0xd1d909;for(let _0x33934f of _0x56a8bc){_0x33934f[_0x4b97b1(0x167)]&&this[_0x4b97b1(0x16a)]();}}),this[_0xd1d909(0x1b7)][_0xd1d909(0x159)](this['_outerContainer'])),this[_0xd1d909(0x161)][_0xd1d909(0x1b4)][_0xd1d909(0x18f)](()=>{const _0xbe1b37=_0xd1d909;this[_0xbe1b37(0x180)]&&(this[_0xbe1b37(0x180)][_0xbe1b37(0x18d)](this[_0xbe1b37(0x161)]['camera']),this[_0xbe1b37(0x180)][_0xbe1b37(0x18b)]());});}['createRenderer'](_0x1c9e24){const _0x343db1=_0x5e4480;this['_outerContainer']&&!this[_0x343db1(0x168)]&&(this[_0x343db1(0x168)]=document[_0x343db1(0x173)](_0x343db1(0x172)),this[_0x343db1(0x168)][_0x343db1(0x191)][_0x343db1(0x1a0)]=_0x343db1(0x158),this['_canvasContainer']['style']['top']=_0x343db1(0x158),this['_canvasContainer']['style'][_0x343db1(0x1bd)]=_0x343db1(0x15a),this[_0x343db1(0x168)][_0x343db1(0x191)][_0x343db1(0x1a1)]=_0x343db1(0x15a),this['_outerContainer'][_0x343db1(0x196)](this[_0x343db1(0x168)]));const _0x29bcb3=this['_canvasContainer'];this[_0x343db1(0x19a)]&&(_0x29bcb3&&_0x29bcb3['removeChild'](this[_0x343db1(0x19a)][_0x343db1(0x17c)]),this[_0x343db1(0x19a)][_0x343db1(0x153)]());let _0x205e9f=_0x29bcb3?_0x29bcb3['clientWidth']:0x200,_0x408ec1=_0x29bcb3?_0x29bcb3[_0x343db1(0x1a3)]:0x200,_0x3b8b72={};_0x3b8b72[_0x343db1(0x1a5)]=_0x1c9e24[_0x343db1(0x1a5)],_0x3b8b72['antialias']=_0x1c9e24[_0x343db1(0x19b)],_0x3b8b72['depth']=_0x1c9e24[_0x343db1(0x14e)],_0x3b8b72[_0x343db1(0x157)]=_0x1c9e24[_0x343db1(0x157)],_0x3b8b72[_0x343db1(0x1ba)]=_0x1c9e24[_0x343db1(0x1ba)],_0x3b8b72['logarithmicDepthBuffer']=_0x1c9e24[_0x343db1(0x189)],_0x3b8b72[_0x343db1(0x14d)]=_0x1c9e24[_0x343db1(0x14d)],_0x3b8b72[_0x343db1(0x160)]=_0x1c9e24[_0x343db1(0x160)],this[_0x343db1(0x19a)]=new webgpu.WebGPURenderer(_0x3b8b72),this[_0x343db1(0x19a)][_0x343db1(0x1ab)](window[_0x343db1(0x187)]),this[_0x343db1(0x19a)][_0x343db1(0x14c)](_0x205e9f,_0x408ec1),this[_0x343db1(0x19a)][_0x343db1(0x176)][_0x343db1(0x19e)]=_0x1c9e24['shadowMapEnabled'],this[_0x343db1(0x19a)][_0x343db1(0x176)][_0x343db1(0x194)]=_0x1c9e24[_0x343db1(0x1a8)],this[_0x343db1(0x19a)][_0x343db1(0x178)]=_0x1c9e24['toneMapping'],this[_0x343db1(0x19a)][_0x343db1(0x1ae)]=_0x1c9e24[_0x343db1(0x1ae)],this[_0x343db1(0x19a)][_0x343db1(0x163)](0x0),_0x29bcb3&&_0x29bcb3[_0x343db1(0x196)](this[_0x343db1(0x19a)][_0x343db1(0x17c)]);}[_0x5e4480(0x15b)](){const _0x55e3aa=_0x5e4480,_0x265bb6=this[_0x55e3aa(0x165)];this[_0x55e3aa(0x1ad)]&&(_0x265bb6&&_0x265bb6[_0x55e3aa(0x1ac)](this['labelRenderer']['domElement']));let _0x46bce6=_0x265bb6?_0x265bb6[_0x55e3aa(0x16b)]:0x200,_0x5b24dc=_0x265bb6?_0x265bb6[_0x55e3aa(0x1a3)]:0x200;this[_0x55e3aa(0x1ad)]=new Addons_js.CSS2DRenderer(),this[_0x55e3aa(0x1ad)][_0x55e3aa(0x14c)](_0x46bce6,_0x5b24dc),this[_0x55e3aa(0x1ad)][_0x55e3aa(0x17c)]['style'][_0x55e3aa(0x156)]=_0x55e3aa(0x1be),this[_0x55e3aa(0x1ad)]['domElement'][_0x55e3aa(0x191)][_0x55e3aa(0x1b3)]=_0x55e3aa(0x164),this[_0x55e3aa(0x1ad)][_0x55e3aa(0x17c)]['style'][_0x55e3aa(0x162)]=_0x55e3aa(0x158),this['labelRenderer'][_0x55e3aa(0x17c)][_0x55e3aa(0x1b8)]=_0x55e3aa(0x1a9),_0x265bb6&&_0x265bb6[_0x55e3aa(0x196)](this[_0x55e3aa(0x1ad)][_0x55e3aa(0x17c)]);}[_0x5e4480(0x170)](){const _0x40d18b=_0x5e4480;if(!this[_0x40d18b(0x165)])return;let _0x2a7eed=this['_outerContainer'][_0x40d18b(0x19c)](_0x40d18b(0x188));!_0x2a7eed&&(_0x2a7eed=document[_0x40d18b(0x173)](_0x40d18b(0x172)),_0x2a7eed['className']=_0x40d18b(0x16c),_0x2a7eed['id']=_0x40d18b(0x16c),_0x2a7eed[_0x40d18b(0x191)][_0x40d18b(0x1b3)]=_0x40d18b(0x164),_0x2a7eed[_0x40d18b(0x191)][_0x40d18b(0x1a0)]='0',_0x2a7eed[_0x40d18b(0x191)][_0x40d18b(0x162)]='0',_0x2a7eed[_0x40d18b(0x191)]['width']=_0x40d18b(0x15a),_0x2a7eed['style']['height']='100%',_0x2a7eed[_0x40d18b(0x191)]['pointerEvents']=_0x40d18b(0x1be),_0x2a7eed[_0x40d18b(0x191)][_0x40d18b(0x17b)]='10',this[_0x40d18b(0x165)][_0x40d18b(0x196)](_0x2a7eed),this[_0x40d18b(0x1b5)]=_0x2a7eed);}[_0x5e4480(0x16d)](){const _0xa69458=_0x5e4480;this[_0xa69458(0x193)]();}[_0x5e4480(0x193)](){const _0x1fbac0=_0x5e4480;!this[_0x1fbac0(0x180)]&&(this[_0x1fbac0(0x180)]=this[_0x1fbac0(0x169)]()),this[_0x1fbac0(0x180)][_0x1fbac0(0x18b)]();}['createPostProcessManager'](){const _0x55ad4d=_0x5e4480;return new PostProcessManager(this['renderer'],this[_0x55ad4d(0x161)][_0x55ad4d(0x14f)]['scene'],this[_0x55ad4d(0x161)][_0x55ad4d(0x17f)],this[_0x55ad4d(0x18a)],()=>this[_0x55ad4d(0x14b)]());}[_0x5e4480(0x1b2)](_0x115b9d){const _0x50ddd0=_0x5e4480;this[_0x50ddd0(0x180)]&&this[_0x50ddd0(0x180)][_0x50ddd0(0x17e)](_0x115b9d);}[_0x5e4480(0x1a4)](_0x18490f){const _0x4d83ac=_0x5e4480;this[_0x4d83ac(0x181)](_0x18490f),this[_0x4d83ac(0x14b)]();}['addOutlineObject'](_0x326729){const _0x594f3a=_0x5e4480;this[_0x594f3a(0x180)]&&this[_0x594f3a(0x180)][_0x594f3a(0x18e)](_0x326729);}[_0x5e4480(0x155)](_0x269312){const _0x395487=_0x5e4480;this[_0x395487(0x180)]&&this[_0x395487(0x180)][_0x395487(0x155)](_0x269312);}[_0x5e4480(0x1b0)](_0x5b817){const _0x28fd1a=_0x5e4480;this[_0x28fd1a(0x180)]&&this[_0x28fd1a(0x180)]['removeOutlineObject'](_0x5b817);}[_0x5e4480(0x15c)](){const _0x413092=_0x5e4480;this[_0x413092(0x180)]&&(this[_0x413092(0x180)][_0x413092(0x1af)](),this[_0x413092(0x180)]=null);}[_0x5e4480(0x16a)](){const _0x3ba8b1=_0x5e4480;let _0x490f3c=this[_0x3ba8b1(0x165)];if(!_0x490f3c)return;this[_0x3ba8b1(0x161)][_0x3ba8b1(0x16a)](_0x490f3c[_0x3ba8b1(0x16b)],_0x490f3c[_0x3ba8b1(0x1a3)]),this[_0x3ba8b1(0x15e)][_0x3ba8b1(0x14c)](_0x490f3c[_0x3ba8b1(0x16b)],_0x490f3c[_0x3ba8b1(0x1a3)]);if(this[_0x3ba8b1(0x1ad)])this[_0x3ba8b1(0x1ad)]['setSize'](_0x490f3c['clientWidth'],_0x490f3c['clientHeight']);this[_0x3ba8b1(0x14b)]();}[_0x5e4480(0x14b)](){const _0x55e103=_0x5e4480;this[_0x55e103(0x19d)]=!![];}[_0x5e4480(0x154)](){const _0x1a062c=_0x5e4480;if(!this['isRenderStateDirty'])return;if(this['postProcessManager']&&this[_0x1a062c(0x180)][_0x1a062c(0x154)]());else this[_0x1a062c(0x15e)][_0x1a062c(0x154)](this[_0x1a062c(0x161)][_0x1a062c(0x14f)][_0x1a062c(0x171)],this[_0x1a062c(0x161)]['camera']);this[_0x1a062c(0x177)](),this[_0x1a062c(0x1ad)]&&this[_0x1a062c(0x1ad)][_0x1a062c(0x154)](this[_0x1a062c(0x161)][_0x1a062c(0x14f)][_0x1a062c(0x171)],this[_0x1a062c(0x161)]['camera']),this[_0x1a062c(0x19d)]=![];}[_0x5e4480(0x177)](){}async[_0x5e4480(0x15f)](_0x2ba596=0x400,_0x7112c=0x400){const _0x19d490=_0x5e4480;try{if(this[_0x19d490(0x180)]&&this[_0x19d490(0x180)][_0x19d490(0x154)]()){}else await this[_0x19d490(0x15e)][_0x19d490(0x154)](this[_0x19d490(0x161)][_0x19d490(0x14f)]['scene'],this[_0x19d490(0x161)][_0x19d490(0x17f)]);const _0x3550eb=this['renderer'][_0x19d490(0x17c)][_0x19d490(0x1bd)],_0x1069c4=this['renderer'][_0x19d490(0x17c)][_0x19d490(0x1a1)];let _0x4d0fb4=_0x3550eb||_0x2ba596,_0x414f33=_0x1069c4||_0x7112c;(_0x4d0fb4<=0x0||_0x414f33<=0x0)&&(_0x4d0fb4=_0x2ba596,_0x414f33=_0x7112c);const _0x4cf360=document[_0x19d490(0x173)](_0x19d490(0x150));_0x4cf360['width']=_0x2ba596,_0x4cf360[_0x19d490(0x1a1)]=_0x7112c;const _0x20fb06=_0x4cf360['getContext']('2d');if(!_0x20fb06)throw Error(_0x19d490(0x16f));_0x20fb06[_0x19d490(0x1a7)](this[_0x19d490(0x15e)][_0x19d490(0x17c)],0x0,0x0,_0x4d0fb4,_0x414f33,0x0,0x0,_0x2ba596,_0x7112c);const _0x16de83=_0x4cf360[_0x19d490(0x1b6)]('image/jpeg');return _0x4cf360[_0x19d490(0x1b1)](),_0x16de83;}catch(_0x32cb63){return '';}}[_0x5e4480(0x182)](_0xb00220){const _0x11e68d=_0x5e4480;if(!this['_renderer'])return;this[_0x11e68d(0x19a)][_0x11e68d(0x1ba)]=_0xb00220;}[_0x5e4480(0x175)](_0x145e7d){const _0x1a23ef=_0x5e4480;if(!this[_0x1a23ef(0x19a)])return;this[_0x1a23ef(0x19a)][_0x1a23ef(0x176)][_0x1a23ef(0x19e)]=_0x145e7d;}[_0x5e4480(0x17a)](_0x255c57){const _0x56ef8a=_0x5e4480;if(!this[_0x56ef8a(0x19a)])return;this[_0x56ef8a(0x19a)][_0x56ef8a(0x176)][_0x56ef8a(0x194)]=_0x255c57;}[_0x5e4480(0x195)](_0x576141){const _0x43181a=_0x5e4480;if(!this[_0x43181a(0x19a)])return;this['_renderer']['toneMapping']=_0x576141;}[_0x5e4480(0x186)](_0x4cfcf6){const _0x29be4c=_0x5e4480;if(!this[_0x29be4c(0x19a)])return;this[_0x29be4c(0x19a)]['toneMappingExposure']=_0x4cfcf6;}[_0x5e4480(0x166)](_0x4945a5){const _0x9774bb=_0x5e4480;if(!this['_renderer'])return;this[_0x9774bb(0x19a)][_0x9774bb(0x189)]=_0x4945a5;}[_0x5e4480(0x190)](_0x250e26){const _0x27732f=_0x5e4480;if(!this[_0x27732f(0x19a)])return;this[_0x27732f(0x19a)]['depth']=_0x250e26;}[_0x5e4480(0x185)](_0x5ce8e8){const _0x383ba0=_0x5e4480;if(!this['_renderer'])return;this[_0x383ba0(0x19a)][_0x383ba0(0x157)]=_0x5ce8e8;}[_0x5e4480(0x1af)](){const _0x4ac4da=_0x5e4480;this[_0x4ac4da(0x15c)](),this[_0x4ac4da(0x15e)][_0x4ac4da(0x192)](null),this[_0x4ac4da(0x1b7)]&&(this[_0x4ac4da(0x1b7)]['disconnect'](),this['resizeObserver']=null),this[_0x4ac4da(0x1ad)]&&(this[_0x4ac4da(0x1ad)][_0x4ac4da(0x17c)][_0x4ac4da(0x1b1)](),this[_0x4ac4da(0x1ad)]=null),this[_0x4ac4da(0x19a)]&&(this['renderer'][_0x4ac4da(0x17c)]['remove'](),this[_0x4ac4da(0x19a)]['dispose'](),this[_0x4ac4da(0x19a)]=null),this[_0x4ac4da(0x168)]&&(this[_0x4ac4da(0x168)][_0x4ac4da(0x1b1)](),this['_canvasContainer']=null),this['_outerContainer']=null,this[_0x4ac4da(0x1a6)]=null;}}
|
|
67
67
|
|
|
68
|
-
function
|
|
68
|
+
var _0x457038=_0x2182;function _0x2182(_0x4a29cb,_0x459d49){_0x4a29cb=_0x4a29cb-0x19e;var _0x53c404=_0x53c4();var _0x2182b0=_0x53c404[_0x4a29cb];return _0x2182b0;}function _0x53c4(){var _0x10af04=['1381622ldUYzU','control','262191sIzJMy','6UcbmrT','16FekAlP','Control\x20not\x20initialized','878780ZXpLhp','isTickEnabled','enabled','stopFocusing','focusTo','6666710zSqyOe','36toPuPy','_control','possess','3348534qgwFJQ','camera','controller','destroy','getFocuingData','5182140YWDLlN','3090990nuBfUj'];_0x53c4=function(){return _0x10af04;};return _0x53c4();}(function(_0x3cae83,_0x1a9ecc){var _0x55a252=_0x2182,_0x589039=_0x3cae83();while(!![]){try{var _0x1cfde0=parseInt(_0x55a252(0x1b0))/0x1+parseInt(_0x55a252(0x1ae))/0x2*(parseInt(_0x55a252(0x1b1))/0x3)+parseInt(_0x55a252(0x19e))/0x4+parseInt(_0x55a252(0x1a3))/0x5+parseInt(_0x55a252(0x1a7))/0x6+-parseInt(_0x55a252(0x1ad))/0x7*(parseInt(_0x55a252(0x1b2))/0x8)+-parseInt(_0x55a252(0x1a4))/0x9*(parseInt(_0x55a252(0x1ac))/0xa);if(_0x1cfde0===_0x1a9ecc)break;else _0x589039['push'](_0x589039['shift']());}catch(_0x1e3c55){_0x589039['push'](_0x589039['shift']());}}}(_0x53c4,0xc30df));class Pawn{get['camera'](){var _0x3430ef=_0x2182;return this[_0x3430ef(0x1a9)][_0x3430ef(0x1a8)];}set['enabled'](_0x577109){var _0x316d29=_0x2182;this[_0x316d29(0x1af)][_0x316d29(0x1a0)]=_0x577109;}get['control'](){var _0x1cd58c=_0x2182;if(!this['_control'])throw new Error(_0x1cd58c(0x1b3));return this['_control'];}constructor(_0x1f6296){var _0x4745f9=_0x2182;this[_0x4745f9(0x1a5)]=null,this[_0x4745f9(0x19f)]=![],this[_0x4745f9(0x1a9)]=_0x1f6296;}['tick'](_0x52c1ac){return;}[_0x457038(0x1a6)](){}['unpossess'](){}[_0x457038(0x1a2)](_0x41c971,_0x51d8da,_0x3a8840,_0x328af8,_0x4346f1=null,_0x55340b=null){}[_0x457038(0x1a1)](){}[_0x457038(0x1ab)](){return null;}[_0x457038(0x1aa)](){}}
|
|
69
69
|
|
|
70
|
-
function
|
|
70
|
+
const _0x49492a=_0x5dec;(function(_0x4d4288,_0x510e4d){const _0x1afe96=_0x5dec,_0x1f22bf=_0x4d4288();while(!![]){try{const _0x5e4530=-parseInt(_0x1afe96(0xfb))/0x1+-parseInt(_0x1afe96(0xf4))/0x2+-parseInt(_0x1afe96(0xf5))/0x3*(-parseInt(_0x1afe96(0x107))/0x4)+-parseInt(_0x1afe96(0x108))/0x5*(-parseInt(_0x1afe96(0xfc))/0x6)+parseInt(_0x1afe96(0xe8))/0x7+parseInt(_0x1afe96(0xeb))/0x8*(parseInt(_0x1afe96(0xe6))/0x9)+parseInt(_0x1afe96(0x109))/0xa;if(_0x5e4530===_0x510e4d)break;else _0x1f22bf['push'](_0x1f22bf['shift']());}catch(_0x3d67a0){_0x1f22bf['push'](_0x1f22bf['shift']());}}}(_0x4a9c,0x94bcc));function _0x5dec(_0x4600c7,_0x484a6a){_0x4600c7=_0x4600c7-0xe5;const _0x4a9c47=_0x4a9c();let _0x5dec9a=_0x4a9c47[_0x4600c7];return _0x5dec9a;}function _0x4a9c(){const _0x11fef=['6KknjJx','object','_control','focusTo','addEventListener','set','clone','alpha','copy','distanceTo','markRenderStateDirty','36sMgMfq','493545ZINGXm','9870720TNemNK','onChange','getFocuingData','stopFocusing','camera','position','quaternion','target','viewPort','multiplyScalar','9mqeFPJ','applyQuaternion','2672873pAwwkR','control','controller','2138536CwqeSG','normalize','unpossess','subVectors','length','update','changeEvent','change','canvas','2089378EuFfqc','57JQFOZY','setFromEuler','removeEventListener','Control\x20not\x20initialized','kill','anim','81191jOUeRi'];_0x4a9c=function(){return _0x11fef;};return _0x4a9c();}class Orbital extends Pawn{get[_0x49492a(0xe9)](){const _0x52e97e=_0x49492a;if(!this['_control'])throw new Error(_0x52e97e(0xf8));return this[_0x52e97e(0xfe)];}get[_0x49492a(0x10d)](){const _0x445848=_0x49492a;return this[_0x445848(0xea)][_0x445848(0x10d)];}constructor(_0x5b344b){const _0x4f52e8=_0x49492a;super(_0x5b344b),this['anim']=null,this[_0x4f52e8(0xf1)]=()=>{const _0x42d61c=_0x4f52e8;this[_0x42d61c(0x10a)]();},this[_0x4f52e8(0xfe)]=new Addons_js.OrbitControls(_0x5b344b[_0x4f52e8(0x10d)],_0x5b344b[_0x4f52e8(0x111)][_0x4f52e8(0xf3)]),this[_0x4f52e8(0xe9)][_0x4f52e8(0x110)]['set'](0x0,0x0,0x0),_0x5b344b[_0x4f52e8(0x10d)][_0x4f52e8(0x10e)][_0x4f52e8(0x101)](0x0,0x4,0x4),this[_0x4f52e8(0xe9)]['update']();}['possess'](){const _0x571841=_0x49492a;super['possess'](),this[_0x571841(0xe9)][_0x571841(0x100)](_0x571841(0xf2),this[_0x571841(0xf1)]);}[_0x49492a(0xed)](){const _0x21c133=_0x49492a;super[_0x21c133(0xed)](),this[_0x21c133(0xe9)][_0x21c133(0xf7)](_0x21c133(0xf2),this['changeEvent']);}[_0x49492a(0x10a)](){const _0x433e39=_0x49492a;this[_0x433e39(0xea)][_0x433e39(0x111)]['markRenderStateDirty']();}[_0x49492a(0xff)](_0x5f09b6,_0x269293,_0x29b8ee,_0x2a06cb,_0x5a2b7e=null,_0x248dbb=null){const _0x24aea0=_0x49492a;this[_0x24aea0(0x10c)]();let _0x51ca1f=null;(_0x269293===null||_0x269293===void 0?void 0:_0x269293['isEuler'])?_0x51ca1f=new webgpu.Quaternion()[_0x24aea0(0xf6)](_0x269293):_0x51ca1f=_0x269293;!_0x269293&&(_0x51ca1f=this[_0x24aea0(0xea)][_0x24aea0(0x10d)][_0x24aea0(0x10f)]);_0x51ca1f[_0x24aea0(0xec)]();let _0x24c967=new webgpu.Vector3(0x0,0x0,0x1);_0x24c967[_0x24aea0(0xe7)](_0x51ca1f)[_0x24aea0(0xe5)](-1),_0x24c967['normalize']();let _0x4445d7=this[_0x24aea0(0x10d)][_0x24aea0(0x10e)][_0x24aea0(0x102)](),_0x1ebc3c=new webgpu.Vector3(_0x5f09b6['x']+_0x24c967['x']*_0x29b8ee*-1,_0x5f09b6['y']+_0x24c967['y']*_0x29b8ee*-1,_0x5f09b6['z']+_0x24c967['z']*_0x29b8ee*-1),_0x436bdd=new webgpu.Vector3()[_0x24aea0(0xee)](_0x1ebc3c,_0x4445d7),_0x415fe5=_0x436bdd[_0x24aea0(0xef)]();_0x436bdd['normalize']();let _0x35a60f=this[_0x24aea0(0xe9)][_0x24aea0(0x110)][_0x24aea0(0x102)](),_0x5a88d4=new webgpu.Vector3()[_0x24aea0(0xee)](_0x5f09b6,_0x35a60f),_0xc28c78=_0x5a88d4[_0x24aea0(0xef)]();_0x5a88d4[_0x24aea0(0xec)]();if(_0x415fe5+_0xc28c78<0.1)return;const _0x477b8f=this;let _0x54097e={'alpha':0x0};this[_0x24aea0(0xfa)]=gsap.gsap['to'](_0x54097e,{'duration':_0x2a06cb,'alpha':0x1,'onUpdate':()=>{const _0x206d83=_0x24aea0;let _0x5a19ef=_0x54097e[_0x206d83(0x103)],_0x5a15cd=new webgpu.Vector3(_0x4445d7['x']+_0x436bdd['x']*_0x5a19ef*_0x415fe5,_0x4445d7['y']+_0x436bdd['y']*_0x5a19ef*_0x415fe5,_0x4445d7['z']+_0x436bdd['z']*_0x5a19ef*_0x415fe5),_0x4861cc=new webgpu.Vector3(_0x35a60f['x']+_0x5a88d4['x']*_0x5a19ef*_0xc28c78,_0x35a60f['y']+_0x5a88d4['y']*_0x5a19ef*_0xc28c78,_0x35a60f['z']+_0x5a88d4['z']*_0x5a19ef*_0xc28c78);_0x477b8f[_0x206d83(0xe9)][_0x206d83(0xfd)][_0x206d83(0x10e)][_0x206d83(0x104)](_0x5a15cd),_0x477b8f[_0x206d83(0xe9)][_0x206d83(0x110)][_0x206d83(0x104)](_0x4861cc),_0x477b8f[_0x206d83(0xe9)][_0x206d83(0xf0)]();_0x5a2b7e&&_0x5a2b7e();if(_0x477b8f['controller']['viewPort'])_0x477b8f['controller'][_0x206d83(0x111)][_0x206d83(0x106)]();},'onComplete':function(){const _0x550322=_0x24aea0;_0x248dbb&&_0x248dbb();if(_0x477b8f[_0x550322(0xea)][_0x550322(0x111)])_0x477b8f[_0x550322(0xea)]['viewPort'][_0x550322(0x106)]();}});}[_0x49492a(0x10b)](){const _0x469388=_0x49492a;if(!this[_0x469388(0xe9)]||!this[_0x469388(0x10d)])return null;const _0x2dff20=this[_0x469388(0x10d)][_0x469388(0x10e)]['clone'](),_0x29487c=this[_0x469388(0x10d)][_0x469388(0x10f)][_0x469388(0x102)](),_0x3d59a7=this[_0x469388(0xe9)][_0x469388(0x110)]['clone'](),_0x308a28=_0x2dff20[_0x469388(0x105)](_0x3d59a7);return {'position':_0x3d59a7,'quaternion':_0x29487c,'distance':_0x308a28};}[_0x49492a(0x10c)](){const _0x243770=_0x49492a;this[_0x243770(0xfa)]&&this[_0x243770(0xfa)][_0x243770(0xf9)](),this['anim']=null;}}
|
|
71
71
|
|
|
72
|
-
function _0x1d46(){const _0x2f1fe2=['3MQwKar','addEventListener','altKey','pointerup','_onComponentPointerDownDelegate','pointerPosition','canvas','onClicked','onHorveringEnd','handleFirstClick','ctrlKey','_raycastVec2','clearHovering','_pawn','pawn\x20is\x20null','onPointerEnterEvent','enabled','clientWidth','component','_onComponentHoverEndDelegate','tick','pointerleave','1276aBPqQh','1807967AhXuZU','2312560VLYlDE','prepareClickHit','onPointerUpEvent','fireClickEvents','964698EIdmFG','getHitResultUnderCursor','hit','rayIgnored','pawn','camera','onActorHoverBeginDelegate','onActorHoverEndDelegate','pointerdown','onComponentPointerDownDelegate','isClickEnabled','addCorePointerListeners','_onActorHoverBeginDelegate','14832UydvEa','onComponentHoverEndDelegate','children','world','init','pointerLeftDownPosition','getBoundingClientRect','_app','shiftKey','_onComponentHoverBeginDelegate','_onComponentClickDelegate','pointermove','leftClickTimer','onPointerEnter','parentActor','raycaster','_tempVec2','fireComponentClick','top','isHoverEnabled','LYObject','85388AcLmdj','getHitResultFromScreenPoint','onActorDoubleClick','broadcast','firePointerDownEvent','382215JBPoIh','scene','hoveringComponent','onPointerDown','onPointerDownEvent','clientY','clearTimeout','1819760wFxgYJ','set','fireComponentHoverEnd','onPointerLeave','clearClickTimer','size','_onActorHoverEndDelegate','_onActorClickDelegate','4hFwJIy','onPointerMove','onComponentDoubleClickDelegate','onHorveringBegin','onPointerMoveEvent','onClickNothingDelegate','canvas\x20is\x20null','viewPort','pointerenter','hoveringActor','app','subVectors','onActorHoverBegin','fireActorHoverEnd','userData','_onComponentDoubleClickDelegate','onPointerLeaveEvent','prepareClickModifiers','clientX','18qciasx','onPointerUp','onComponentClickDelegate','destroy','object','assign','setFromCamera','removeEventListener','fireActorHoverBegin','_onClickNothingDelegate','unpossess','updateCamera','handled','10qzWPHX','_pointButtonIsDown','fireActorClick','push','getAllHitResultFromScreenPoint','onActorDoubleClickDelegate','handleDoubleClick','copy','focusTo','left','prepareClickComponent','onActorClickDelegate','onActorClick','button','_onActorDoubleClickDelegate','clientHeight'];_0x1d46=function(){return _0x2f1fe2;};return _0x1d46();}const _0x58782e=_0x5081;(function(_0x35cdb1,_0x615091){const _0x5ba8a7=_0x5081,_0x1c78ad=_0x35cdb1();while(!![]){try{const _0x4e5c8e=parseInt(_0x5ba8a7(0x1a8))/0x1*(parseInt(_0x5ba8a7(0x1e6))/0x2)+-parseInt(_0x5ba8a7(0x1eb))/0x3*(-parseInt(_0x5ba8a7(0x1fa))/0x4)+parseInt(_0x5ba8a7(0x198))/0x5*(parseInt(_0x5ba8a7(0x1c4))/0x6)+-parseInt(_0x5ba8a7(0x1bf))/0x7+-parseInt(_0x5ba8a7(0x1f2))/0x8*(parseInt(_0x5ba8a7(0x20d))/0x9)+parseInt(_0x5ba8a7(0x1c0))/0xa+parseInt(_0x5ba8a7(0x1be))/0xb*(parseInt(_0x5ba8a7(0x1d1))/0xc);if(_0x4e5c8e===_0x615091)break;else _0x1c78ad['push'](_0x1c78ad['shift']());}catch(_0x57212e){_0x1c78ad['push'](_0x1c78ad['shift']());}}}(_0x1d46,0x3a380));function _0x5081(_0x1ff6a8,_0xc78c7c){_0x1ff6a8=_0x1ff6a8-0x194;const _0x1d469e=_0x1d46();let _0x5081e8=_0x1d469e[_0x1ff6a8];return _0x5081e8;}class Controller{get[_0x58782e(0x1c9)](){const _0xb8578e=_0x58782e;return this['_app'][_0xb8578e(0x1c9)];}get[_0x58782e(0x1d4)](){const _0x5c57fd=_0x58782e;return this[_0x5c57fd(0x1d8)][_0x5c57fd(0x1d4)];}get[_0x58782e(0x201)](){const _0x20af0a=_0x58782e;return this[_0x20af0a(0x1d8)]['viewport'];}get[_0x58782e(0x204)](){const _0x2d9d0d=_0x58782e;return this[_0x2d9d0d(0x1d8)];}get[_0x58782e(0x1c8)](){const _0x4ece6f=_0x58782e;if(!this['_pawn'])throw Error(_0x4ece6f(0x1b6));return this[_0x4ece6f(0x1b5)];}get[_0x58782e(0x20f)](){const _0x54ef45=_0x58782e;return this[_0x54ef45(0x1db)];}get[_0x58782e(0x1fc)](){const _0xb8b53a=_0x58782e;return this[_0xb8b53a(0x209)];}get['onComponentHoverBeginDelegate'](){return this['_onComponentHoverBeginDelegate'];}get[_0x58782e(0x1d2)](){return this['_onComponentHoverEndDelegate'];}get[_0x58782e(0x1cd)](){const _0x3de5d6=_0x58782e;return this[_0x3de5d6(0x1ac)];}get[_0x58782e(0x1a3)](){return this['_onActorClickDelegate'];}get[_0x58782e(0x19d)](){const _0x243599=_0x58782e;return this[_0x243599(0x1a6)];}get[_0x58782e(0x1ca)](){const _0x109441=_0x58782e;return this[_0x109441(0x1d0)];}get[_0x58782e(0x1cb)](){const _0x35c3c6=_0x58782e;return this[_0x35c3c6(0x1f8)];}get[_0x58782e(0x1ff)](){return this['_onClickNothingDelegate'];}constructor(_0x3e7e63){const _0x2abce8=_0x58782e;this[_0x2abce8(0x1b5)]=null,this[_0x2abce8(0x1ed)]=null,this[_0x2abce8(0x203)]=null,this['prepareClickComponent']=null,this[_0x2abce8(0x1c1)]=null,this[_0x2abce8(0x20b)]={'ctrlKey':![],'shiftKey':![],'altKey':![]},this[_0x2abce8(0x199)]=new Set(),this[_0x2abce8(0x1db)]=new Delegate(),this['_onComponentDoubleClickDelegate']=new Delegate(),this[_0x2abce8(0x1da)]=new Delegate(),this[_0x2abce8(0x1bb)]=new Delegate(),this['_onComponentPointerDownDelegate']=new Delegate(),this['_onActorClickDelegate']=new Delegate(),this['_onActorDoubleClickDelegate']=new Delegate(),this['_onActorHoverBeginDelegate']=new Delegate(),this[_0x2abce8(0x1f8)]=new Delegate(),this[_0x2abce8(0x194)]=new Delegate(),this[_0x2abce8(0x1ad)]=new webgpu.Vector2(),this[_0x2abce8(0x1d6)]=new webgpu.Vector2(),this['_tempVec2']=new webgpu.Vector2(),this['_raycastVec2']=new webgpu.Vector2(),this['doubleClickDelay']=0xfa,this[_0x2abce8(0x1dd)]=null,this[_0x2abce8(0x1fb)]=_0x253ab5=>this[_0x2abce8(0x1fe)](_0x253ab5),this[_0x2abce8(0x1de)]=_0x210716=>this['onPointerEnterEvent'](_0x210716),this[_0x2abce8(0x1f5)]=_0x3107df=>this[_0x2abce8(0x20a)](_0x3107df),this[_0x2abce8(0x20e)]=_0x2ab16e=>this[_0x2abce8(0x1c2)](_0x2ab16e),this[_0x2abce8(0x1ee)]=_0x40faed=>this[_0x2abce8(0x1ef)](_0x40faed),this['_app']=_0x3e7e63,this['_pawn']=new Orbital(this),this['pawn']['possess'](),this[_0x2abce8(0x1e0)]=new webgpu.Raycaster();}[_0x58782e(0x1d5)](){const _0x2eaa94=_0x58782e,_0x564440=this[_0x2eaa94(0x201)]['canvas'];_0x564440&&(_0x564440[_0x2eaa94(0x1a9)](_0x2eaa94(0x202),this[_0x2eaa94(0x1de)]),_0x564440['addEventListener'](_0x2eaa94(0x1bd),this[_0x2eaa94(0x1f5)]),this[_0x2eaa94(0x1cf)]());}[_0x58782e(0x196)](){const _0x28f83c=_0x58782e;var _0x42128e,_0x5d7e58;const _0x41224e=this[_0x28f83c(0x1c8)][_0x28f83c(0x1b8)];(_0x42128e=this[_0x28f83c(0x1b5)])===null||_0x42128e===void 0?void 0:_0x42128e[_0x28f83c(0x195)](),(_0x5d7e58=this['_pawn'])===null||_0x5d7e58===void 0?void 0:_0x5d7e58[_0x28f83c(0x210)](),this['_pawn']=new Orbital(this),this[_0x28f83c(0x1c8)]['possess'](),this[_0x28f83c(0x1c8)]['enabled']=_0x41224e;}[_0x58782e(0x1bc)](_0x50cdee){const _0x5ef751=_0x58782e;this[_0x5ef751(0x1c8)][_0x5ef751(0x1bc)](_0x50cdee);}[_0x58782e(0x210)](){const _0x5bb8ae=_0x58782e;this['clearClickTimer'](),this['clearHovering']();const _0x5b6bfe=this['viewPort'][_0x5bb8ae(0x1ae)];_0x5b6bfe&&(_0x5b6bfe[_0x5bb8ae(0x214)](_0x5bb8ae(0x202),this['onPointerEnter']),_0x5b6bfe[_0x5bb8ae(0x214)](_0x5bb8ae(0x1bd),this[_0x5bb8ae(0x1f5)]),this['removeCorePointerListeners']()),this[_0x5bb8ae(0x1c8)][_0x5bb8ae(0x195)](),this[_0x5bb8ae(0x1c8)]['destroy'](),this['_pawn']=null;}[_0x58782e(0x1fe)](_0x106eed){const _0x7c8b55=_0x58782e;var _0x3ba611,_0x57ed73;const _0x39123e=this[_0x7c8b55(0x201)][_0x7c8b55(0x1ae)];if(!_0x39123e)throw Error(_0x7c8b55(0x200));const _0x40c480=_0x39123e[_0x7c8b55(0x1d7)]();this[_0x7c8b55(0x1ad)][_0x7c8b55(0x1f3)]((_0x106eed[_0x7c8b55(0x20c)]-_0x40c480[_0x7c8b55(0x1a1)])/_0x39123e[_0x7c8b55(0x1b9)]*0x2-0x1,0x1-(_0x106eed[_0x7c8b55(0x1f0)]-_0x40c480[_0x7c8b55(0x1e3)])/_0x39123e[_0x7c8b55(0x1a7)]*0x2);if(this[_0x7c8b55(0x199)][_0x7c8b55(0x1f7)]>0x0)return;const _0x20f2cf=this[_0x7c8b55(0x1c5)](),_0x169532=(_0x3ba611=_0x20f2cf===null||_0x20f2cf===void 0?void 0:_0x20f2cf[_0x7c8b55(0x1ba)])!==null&&_0x3ba611!==void 0?_0x3ba611:null,_0x581804=(_0x57ed73=_0x169532===null||_0x169532===void 0?void 0:_0x169532[_0x7c8b55(0x1df)])!==null&&_0x57ed73!==void 0?_0x57ed73:null;_0x169532!==this[_0x7c8b55(0x1ed)]&&(this['hoveringComponent']&&this[_0x7c8b55(0x1f4)](this[_0x7c8b55(0x1ed)]),_0x169532&&_0x20f2cf&&this['fireComponentHoverBegin'](_0x169532,_0x20f2cf['hit'])),_0x581804!==this[_0x7c8b55(0x203)]&&(this[_0x7c8b55(0x203)]&&this[_0x7c8b55(0x1ed)]&&this[_0x7c8b55(0x207)](this[_0x7c8b55(0x203)],this[_0x7c8b55(0x1ed)]),_0x581804&&_0x169532&&_0x20f2cf&&this[_0x7c8b55(0x215)](_0x581804,_0x169532,_0x20f2cf['hit'])),this[_0x7c8b55(0x1ed)]=_0x169532,this[_0x7c8b55(0x203)]=_0x581804;}[_0x58782e(0x1b4)](){const _0x150725=_0x58782e;this['hoveringComponent']&&this['fireComponentHoverEnd'](this[_0x150725(0x1ed)]),this[_0x150725(0x203)]&&this[_0x150725(0x1ed)]&&this[_0x150725(0x207)](this[_0x150725(0x203)],this[_0x150725(0x1ed)]),this['hoveringComponent']=null,this['hoveringActor']=null;}[_0x58782e(0x1c2)](_0x5b20a3){const _0x312f73=_0x58782e;this[_0x312f73(0x199)]['delete'](_0x5b20a3['button']);if(_0x5b20a3[_0x312f73(0x1a5)]!==0x0)return;const _0x10975e=this[_0x312f73(0x1e1)][_0x312f73(0x205)](this['pointerLeftDownPosition'],this[_0x312f73(0x1ad)])['length']();if(_0x10975e>0.005){this['clearClickTimer']();return;}this[_0x312f73(0x20b)]={'ctrlKey':_0x5b20a3[_0x312f73(0x1b2)],'shiftKey':_0x5b20a3[_0x312f73(0x1d9)],'altKey':_0x5b20a3[_0x312f73(0x1aa)]},!this[_0x312f73(0x1dd)]?this[_0x312f73(0x1b1)]():this[_0x312f73(0x19e)]();}['handleFirstClick'](){const _0x3d61f1=_0x58782e,_0xcdfc87=this[_0x3d61f1(0x1c5)](),_0x42f102=_0xcdfc87===null||_0xcdfc87===void 0?void 0:_0xcdfc87['component'];_0x42f102 instanceof SceneComponent&&_0xcdfc87?(this[_0x3d61f1(0x1a2)]=_0x42f102,this[_0x3d61f1(0x1c1)]=_0xcdfc87[_0x3d61f1(0x1c6)],this[_0x3d61f1(0x1dd)]=window['setTimeout'](()=>{const _0x19e81c=_0x3d61f1;this['leftClickTimer']=null,this[_0x19e81c(0x1a2)]&&this['prepareClickHit']&&(this[_0x19e81c(0x1c3)](this['prepareClickComponent'],this[_0x19e81c(0x1c1)],![]),this[_0x19e81c(0x1a2)]=null,this[_0x19e81c(0x1c1)]=null);},this['doubleClickDelay'])):this[_0x3d61f1(0x194)][_0x3d61f1(0x1e9)]();}['handleDoubleClick'](){const _0x53a88d=_0x58782e;this[_0x53a88d(0x1f6)](),this['prepareClickComponent']&&this['prepareClickHit']?this['fireClickEvents'](this[_0x53a88d(0x1a2)],this['prepareClickHit'],!![]):this[_0x53a88d(0x194)][_0x53a88d(0x1e9)](),this['prepareClickComponent']=null,this[_0x53a88d(0x1c1)]=null;}[_0x58782e(0x1ef)](_0x529eeb){const _0x229ecb=_0x58782e;this[_0x229ecb(0x199)]['add'](_0x529eeb['button']);_0x529eeb[_0x229ecb(0x1a5)]===0x0&&this[_0x229ecb(0x1d6)][_0x229ecb(0x19f)](this[_0x229ecb(0x1ad)]);const _0x1629d7=this[_0x229ecb(0x1c5)](),_0x1683ad=_0x1629d7===null||_0x1629d7===void 0?void 0:_0x1629d7['component'];_0x1683ad instanceof SceneComponent&&_0x1629d7&&this['firePointerDownEvent'](_0x1683ad,_0x1629d7[_0x229ecb(0x1c6)],_0x529eeb['button']);}[_0x58782e(0x1b7)](_0x3e892a){this['addCorePointerListeners']();}[_0x58782e(0x20a)](_0x2b76f4){this['removeCorePointerListeners']();}['fireComponentHoverBegin'](_0x476a79,_0x30523c){const _0x78edc1=_0x58782e,_0x50f045={'component':_0x476a79,'hit':_0x30523c,'handled':![]};this[_0x78edc1(0x1da)][_0x78edc1(0x1e9)](_0x50f045),!_0x50f045[_0x78edc1(0x197)]&&_0x476a79[_0x78edc1(0x1fd)]();}[_0x58782e(0x1f4)](_0x13131d){const _0x1e2ea4=_0x58782e,_0x3a8161={'component':_0x13131d,'hit':null,'handled':![]};this[_0x1e2ea4(0x1bb)][_0x1e2ea4(0x1e9)](_0x3a8161),!_0x3a8161[_0x1e2ea4(0x197)]&&_0x13131d[_0x1e2ea4(0x1b0)]();}[_0x58782e(0x1e2)](_0x19f928,_0x4d5fb7,_0x25119f){const _0x1a63a9=_0x58782e,_0xdb403d=Object['assign']({'component':_0x19f928,'hit':_0x4d5fb7,'handled':![]},this['prepareClickModifiers']);_0x25119f?(this['_onComponentDoubleClickDelegate'][_0x1a63a9(0x1e9)](_0xdb403d),!_0xdb403d[_0x1a63a9(0x197)]&&_0x19f928['onDoubleClicked']()):(this['_onComponentClickDelegate'][_0x1a63a9(0x1e9)](_0xdb403d),!_0xdb403d[_0x1a63a9(0x197)]&&_0x19f928[_0x1a63a9(0x1af)]());}[_0x58782e(0x1ea)](_0x5456d7,_0x63ba83,_0x5a3476){const _0x12ee6c=_0x58782e,_0x5d9849={'component':_0x5456d7,'hit':_0x63ba83,'button':_0x5a3476,'handled':![]};this[_0x12ee6c(0x1ac)]['broadcast'](_0x5d9849);}[_0x58782e(0x215)](_0x33055e,_0x21b52d,_0x39420c){const _0x294c5e=_0x58782e,_0x42d50a={'actor':_0x33055e,'component':_0x21b52d,'hit':_0x39420c,'handled':![]};this[_0x294c5e(0x1d0)]['broadcast'](_0x42d50a),!_0x42d50a[_0x294c5e(0x197)]&&_0x33055e[_0x294c5e(0x206)](_0x21b52d);}['fireActorHoverEnd'](_0x5c324e,_0x33b408){const _0x56a677=_0x58782e,_0x4a8dfc={'actor':_0x5c324e,'component':_0x33b408,'hit':null,'handled':![]};this[_0x56a677(0x1f8)][_0x56a677(0x1e9)](_0x4a8dfc),!_0x4a8dfc[_0x56a677(0x197)]&&_0x5c324e['onActorHoverEnd'](_0x33b408);}[_0x58782e(0x19a)](_0x962809,_0x32c774,_0x2b98cd,_0x196df5){const _0x5f53df=_0x58782e,_0x2ee498=Object[_0x5f53df(0x212)]({'actor':_0x962809,'component':_0x32c774,'hit':_0x2b98cd,'handled':![]},this[_0x5f53df(0x20b)]);_0x196df5?(this[_0x5f53df(0x1a6)][_0x5f53df(0x1e9)](_0x2ee498),!_0x2ee498[_0x5f53df(0x197)]&&_0x962809[_0x5f53df(0x1e8)](_0x32c774)):(this[_0x5f53df(0x1f9)]['broadcast'](_0x2ee498),!_0x2ee498['handled']&&_0x962809[_0x5f53df(0x1a4)](_0x32c774));}[_0x58782e(0x1c3)](_0x41c3c3,_0x7ba8c4,_0x41ce19){const _0xfae25=_0x58782e;this[_0xfae25(0x1e2)](_0x41c3c3,_0x7ba8c4,_0x41ce19);const _0x57ef57=_0x41c3c3[_0xfae25(0x1df)];_0x57ef57&&_0x57ef57[_0xfae25(0x1ce)]&&this[_0xfae25(0x19a)](_0x57ef57,_0x41c3c3,_0x7ba8c4,_0x41ce19);}[_0x58782e(0x1f6)](){const _0x4cec33=_0x58782e;this[_0x4cec33(0x1dd)]&&(window[_0x4cec33(0x1f1)](this[_0x4cec33(0x1dd)]),this[_0x4cec33(0x1dd)]=null);}['addCorePointerListeners'](){const _0x43b209=_0x58782e,_0x52727f=this[_0x43b209(0x201)][_0x43b209(0x1ae)];if(!_0x52727f)return;_0x52727f[_0x43b209(0x1a9)](_0x43b209(0x1dc),this[_0x43b209(0x1fb)]),_0x52727f[_0x43b209(0x1a9)](_0x43b209(0x1ab),this[_0x43b209(0x20e)]),_0x52727f[_0x43b209(0x1a9)](_0x43b209(0x1cc),this[_0x43b209(0x1ee)]);}['removeCorePointerListeners'](){const _0x9eeb53=_0x58782e,_0x123d29=this['viewPort'][_0x9eeb53(0x1ae)];if(!_0x123d29)return;_0x123d29[_0x9eeb53(0x214)](_0x9eeb53(0x1dc),this[_0x9eeb53(0x1fb)]),_0x123d29[_0x9eeb53(0x214)](_0x9eeb53(0x1ab),this['onPointerUp']),_0x123d29[_0x9eeb53(0x214)](_0x9eeb53(0x1cc),this[_0x9eeb53(0x1ee)]);}['getHitResultUnderCursor'](_0x123c6d=!![]){const _0x41eabd=_0x58782e;return this[_0x41eabd(0x1e7)](this['pointerPosition']['x'],this['pointerPosition']['y'],_0x123c6d);}['getHitResultFromScreenPoint'](_0x1382b9,_0xf25aa2,_0x5ad85f=!![]){const _0x36e8bc=_0x58782e;this['_raycastVec2'][_0x36e8bc(0x1f3)](_0x1382b9,_0xf25aa2),this[_0x36e8bc(0x1e0)]['setFromCamera'](this['_raycastVec2'],this[_0x36e8bc(0x1c9)]);const _0x219fe7=this[_0x36e8bc(0x19c)](_0x1382b9,_0xf25aa2);if(!_0x5ad85f)return _0x219fe7[0x0]||null;for(const _0x329c5e of _0x219fe7){const _0x4102e6=_0x329c5e[_0x36e8bc(0x1ba)][_0x36e8bc(0x1e4)]||_0x329c5e[_0x36e8bc(0x1ba)][_0x36e8bc(0x1ce)],_0x26ee98=_0x329c5e['component'][_0x36e8bc(0x1df)],_0x3cd9cf=_0x26ee98&&(_0x26ee98[_0x36e8bc(0x1e4)]||_0x26ee98['isClickEnabled']);if(_0x4102e6||_0x3cd9cf)return _0x329c5e;}return null;}[_0x58782e(0x19c)](_0x42b589,_0x4c92fe){const _0x136c5b=_0x58782e;this[_0x136c5b(0x1b3)][_0x136c5b(0x1f3)](_0x42b589,_0x4c92fe),this[_0x136c5b(0x1e0)][_0x136c5b(0x213)](this[_0x136c5b(0x1b3)],this[_0x136c5b(0x1c9)]);const _0x18b184=this[_0x136c5b(0x1e0)]['intersectObjects'](this[_0x136c5b(0x1d4)][_0x136c5b(0x1ec)][_0x136c5b(0x1d3)],!![]),_0x57930f=[];for(const _0x5b991c of _0x18b184){if(_0x5b991c['object'][_0x136c5b(0x208)][_0x136c5b(0x1c7)])continue;const _0x4c18fa=_0x5b991c[_0x136c5b(0x211)][_0x136c5b(0x208)][_0x136c5b(0x1e5)];if(!_0x4c18fa)continue;_0x57930f[_0x136c5b(0x19b)]({'component':_0x4c18fa,'hit':_0x5b991c});}return _0x57930f;}[_0x58782e(0x1a0)](_0x17a689,_0x576553,_0x117d66,_0x16a5d4,_0x564470=null,_0xcf6e14=null){const _0x57900f=_0x58782e;this[_0x57900f(0x1c8)]['focusTo'](_0x17a689,_0x576553,_0x117d66,_0x16a5d4,_0x564470,_0xcf6e14);}}
|
|
72
|
+
function _0x24c8(){const _0x258a1f=['fireComponentClick','leftClickTimer','canvas','getHitResultUnderCursor','prepareClickComponent','pointerup','LYObject','left','object','component','parentActor','world','onClicked','onDoubleClicked','add','onActorDoubleClick','422RrlxgA','onActorDoubleClickDelegate','onClickNothingDelegate','fireComponentHoverEnd','top','children','updateCamera','1705561NBvHlI','canvas\x20is\x20null','addCorePointerListeners','raycaster','pawn','_onClickNothingDelegate','viewport','_onActorHoverEndDelegate','scene','onActorHoverBegin','clearClickTimer','pointermove','firePointerDownEvent','copy','onHorveringBegin','handleFirstClick','2247uhisXI','doubleClickDelay','onPointerUp','removeEventListener','_app','pointerPosition','pointerLeftDownPosition','_pointButtonIsDown','app','onPointerDown','onActorHoverEndDelegate','clientHeight','onPointerEnter','clientWidth','onComponentHoverBeginDelegate','onPointerMove','40CUsSIa','onActorClickDelegate','broadcast','fireActorHoverBegin','prepareClickModifiers','clearHovering','onPointerDownEvent','onComponentHoverEndDelegate','_onComponentHoverBeginDelegate','2698185AbrYOi','18TIKLKH','clientY','pointerleave','_onActorClickDelegate','hit','onPointerLeave','fireClickEvents','onComponentDoubleClickDelegate','prepareClickHit','destroy','_pawn','getAllHitResultFromScreenPoint','120QICgWn','18JdDkdG','_raycastVec2','getHitResultFromScreenPoint','viewPort','set','_onComponentHoverEndDelegate','_onActorHoverBeginDelegate','hoveringComponent','_onComponentPointerDownDelegate','button','onPointerEnterEvent','629984OKGnuP','onPointerUpEvent','pointerenter','isHoverEnabled','camera','removeCorePointerListeners','size','onComponentPointerDownDelegate','onActorHoverBeginDelegate','focusTo','onActorClick','onActorHoverEnd','_onComponentClickDelegate','fireComponentHoverBegin','35669928RhPnqa','98452UDuDqf','possess','fireActorHoverEnd','clearTimeout','hoveringActor','setTimeout','_onComponentDoubleClickDelegate','fireActorClick','userData','clientX','tick','addEventListener','_tempVec2','onComponentClickDelegate','handled','1657668FGgAMl','onPointerLeaveEvent','setFromCamera','unpossess','isClickEnabled','onPointerMoveEvent','_onActorDoubleClickDelegate','init','length'];_0x24c8=function(){return _0x258a1f;};return _0x24c8();}const _0x1a3fa9=_0x1450;(function(_0x735101,_0x2f3e79){const _0x4e4fc4=_0x1450,_0x3943fe=_0x735101();while(!![]){try{const _0x54dadc=parseInt(_0x4e4fc4(0xb5))/0x1*(parseInt(_0x4e4fc4(0x9e))/0x2)+-parseInt(_0x4e4fc4(0x85))/0x3+-parseInt(_0x4e4fc4(0x76))/0x4*(parseInt(_0x4e4fc4(0xdb))/0x5)+parseInt(_0x4e4fc4(0xcf))/0x6*(-parseInt(_0x4e4fc4(0xce))/0x7)+-parseInt(_0x4e4fc4(0xe7))/0x8*(-parseInt(_0x4e4fc4(0xdc))/0x9)+-parseInt(_0x4e4fc4(0xc5))/0xa*(parseInt(_0x4e4fc4(0xa5))/0xb)+parseInt(_0x4e4fc4(0x75))/0xc;if(_0x54dadc===_0x2f3e79)break;else _0x3943fe['push'](_0x3943fe['shift']());}catch(_0x3480bb){_0x3943fe['push'](_0x3943fe['shift']());}}}(_0x24c8,0xa70ee));function _0x1450(_0x51f90c,_0x4626ea){_0x51f90c=_0x51f90c-0x74;const _0x24c8bc=_0x24c8();let _0x145060=_0x24c8bc[_0x51f90c];return _0x145060;}class Controller{get[_0x1a3fa9(0xeb)](){const _0x7c3838=_0x1a3fa9;return this['_app'][_0x7c3838(0xeb)];}get['world'](){const _0xf93705=_0x1a3fa9;return this[_0xf93705(0xb9)][_0xf93705(0x99)];}get[_0x1a3fa9(0xdf)](){const _0x2a4372=_0x1a3fa9;return this[_0x2a4372(0xb9)][_0x2a4372(0xab)];}get[_0x1a3fa9(0xbd)](){return this['_app'];}get[_0x1a3fa9(0xa9)](){const _0x4541b4=_0x1a3fa9;if(!this[_0x4541b4(0xd9)])throw Error('pawn\x20is\x20null');return this[_0x4541b4(0xd9)];}get[_0x1a3fa9(0x83)](){const _0x544fba=_0x1a3fa9;return this[_0x544fba(0xf3)];}get[_0x1a3fa9(0xd6)](){const _0x1d8a19=_0x1a3fa9;return this[_0x1d8a19(0x7c)];}get[_0x1a3fa9(0xc3)](){const _0x282330=_0x1a3fa9;return this[_0x282330(0xcd)];}get[_0x1a3fa9(0xcc)](){const _0x1be4f9=_0x1a3fa9;return this[_0x1be4f9(0xe1)];}get[_0x1a3fa9(0xee)](){return this['_onComponentPointerDownDelegate'];}get[_0x1a3fa9(0xc6)](){const _0xa31978=_0x1a3fa9;return this[_0xa31978(0xd2)];}get[_0x1a3fa9(0x9f)](){return this['_onActorDoubleClickDelegate'];}get[_0x1a3fa9(0xef)](){const _0x59181a=_0x1a3fa9;return this[_0x59181a(0xe2)];}get[_0x1a3fa9(0xbf)](){return this['_onActorHoverEndDelegate'];}get[_0x1a3fa9(0xa0)](){const _0x2b9288=_0x1a3fa9;return this[_0x2b9288(0xaa)];}constructor(_0x1e8f6b){const _0x26c311=_0x1a3fa9;this['_pawn']=null,this[_0x26c311(0xe3)]=null,this[_0x26c311(0x7a)]=null,this['prepareClickComponent']=null,this[_0x26c311(0xd7)]=null,this['prepareClickModifiers']={'ctrlKey':![],'shiftKey':![],'altKey':![]},this[_0x26c311(0xbc)]=new Set(),this['_onComponentClickDelegate']=new Delegate(),this[_0x26c311(0x7c)]=new Delegate(),this[_0x26c311(0xcd)]=new Delegate(),this[_0x26c311(0xe1)]=new Delegate(),this[_0x26c311(0xe4)]=new Delegate(),this['_onActorClickDelegate']=new Delegate(),this['_onActorDoubleClickDelegate']=new Delegate(),this[_0x26c311(0xe2)]=new Delegate(),this['_onActorHoverEndDelegate']=new Delegate(),this[_0x26c311(0xaa)]=new Delegate(),this[_0x26c311(0xba)]=new webgpu.Vector2(),this[_0x26c311(0xbb)]=new webgpu.Vector2(),this[_0x26c311(0x82)]=new webgpu.Vector2(),this[_0x26c311(0xdd)]=new webgpu.Vector2(),this[_0x26c311(0xb6)]=0xfa,this[_0x26c311(0x8f)]=null,this['onPointerMove']=_0x53cf16=>this[_0x26c311(0x8a)](_0x53cf16),this[_0x26c311(0xc1)]=_0x2d4231=>this[_0x26c311(0xe6)](_0x2d4231),this['onPointerLeave']=_0x4cf88e=>this[_0x26c311(0x86)](_0x4cf88e),this[_0x26c311(0xb7)]=_0x572de0=>this[_0x26c311(0xe8)](_0x572de0),this['onPointerDown']=_0x2ef10f=>this[_0x26c311(0xcb)](_0x2ef10f),this[_0x26c311(0xb9)]=_0x1e8f6b,this[_0x26c311(0xd9)]=new Orbital(this),this[_0x26c311(0xa9)][_0x26c311(0x77)](),this[_0x26c311(0xa8)]=new webgpu.Raycaster();}[_0x1a3fa9(0x8c)](){const _0x3b6413=_0x1a3fa9,_0x4c35e7=this[_0x3b6413(0xdf)]['canvas'];_0x4c35e7&&(_0x4c35e7[_0x3b6413(0x81)](_0x3b6413(0xe9),this[_0x3b6413(0xc1)]),_0x4c35e7['addEventListener']('pointerleave',this[_0x3b6413(0xd4)]),this[_0x3b6413(0xa7)]());}[_0x1a3fa9(0xa4)](){const _0x5013f3=_0x1a3fa9;var _0x1022aa,_0x45889b;const _0x4c7df7=this['pawn']['enabled'];(_0x1022aa=this[_0x5013f3(0xd9)])===null||_0x1022aa===void 0?void 0:_0x1022aa['unpossess'](),(_0x45889b=this['_pawn'])===null||_0x45889b===void 0?void 0:_0x45889b['destroy'](),this[_0x5013f3(0xd9)]=new Orbital(this),this[_0x5013f3(0xa9)]['possess'](),this[_0x5013f3(0xa9)]['enabled']=_0x4c7df7;}['tick'](_0x8826ef){const _0xfeabe0=_0x1a3fa9;this[_0xfeabe0(0xa9)][_0xfeabe0(0x80)](_0x8826ef);}[_0x1a3fa9(0xd8)](){const _0x2ee8af=_0x1a3fa9;this[_0x2ee8af(0xaf)](),this[_0x2ee8af(0xca)]();const _0x13ace6=this[_0x2ee8af(0xdf)][_0x2ee8af(0x90)];_0x13ace6&&(_0x13ace6['removeEventListener'](_0x2ee8af(0xe9),this['onPointerEnter']),_0x13ace6[_0x2ee8af(0xb8)](_0x2ee8af(0xd1),this[_0x2ee8af(0xd4)]),this['removeCorePointerListeners']()),this[_0x2ee8af(0xa9)][_0x2ee8af(0x88)](),this[_0x2ee8af(0xa9)][_0x2ee8af(0xd8)](),this[_0x2ee8af(0xd9)]=null;}[_0x1a3fa9(0x8a)](_0x1d681e){const _0x462ad6=_0x1a3fa9;var _0x11f0c7,_0x327e51;const _0x2ed02b=this['viewPort']['canvas'];if(!_0x2ed02b)throw Error(_0x462ad6(0xa6));const _0x491e54=_0x2ed02b['getBoundingClientRect']();this[_0x462ad6(0xba)][_0x462ad6(0xe0)]((_0x1d681e[_0x462ad6(0x7f)]-_0x491e54[_0x462ad6(0x95)])/_0x2ed02b[_0x462ad6(0xc2)]*0x2-0x1,0x1-(_0x1d681e[_0x462ad6(0xd0)]-_0x491e54[_0x462ad6(0xa2)])/_0x2ed02b[_0x462ad6(0xc0)]*0x2);if(this[_0x462ad6(0xbc)][_0x462ad6(0xed)]>0x0)return;const _0x2046a9=this[_0x462ad6(0x91)](),_0x829427=(_0x11f0c7=_0x2046a9===null||_0x2046a9===void 0?void 0:_0x2046a9[_0x462ad6(0x97)])!==null&&_0x11f0c7!==void 0?_0x11f0c7:null,_0x55c9b1=(_0x327e51=_0x829427===null||_0x829427===void 0?void 0:_0x829427[_0x462ad6(0x98)])!==null&&_0x327e51!==void 0?_0x327e51:null;_0x829427!==this[_0x462ad6(0xe3)]&&(this[_0x462ad6(0xe3)]&&this['fireComponentHoverEnd'](this[_0x462ad6(0xe3)]),_0x829427&&_0x2046a9&&this[_0x462ad6(0x74)](_0x829427,_0x2046a9[_0x462ad6(0xd3)])),_0x55c9b1!==this[_0x462ad6(0x7a)]&&(this['hoveringActor']&&this[_0x462ad6(0xe3)]&&this[_0x462ad6(0x78)](this[_0x462ad6(0x7a)],this[_0x462ad6(0xe3)]),_0x55c9b1&&_0x829427&&_0x2046a9&&this[_0x462ad6(0xc8)](_0x55c9b1,_0x829427,_0x2046a9[_0x462ad6(0xd3)])),this[_0x462ad6(0xe3)]=_0x829427,this[_0x462ad6(0x7a)]=_0x55c9b1;}[_0x1a3fa9(0xca)](){const _0x117037=_0x1a3fa9;this[_0x117037(0xe3)]&&this[_0x117037(0xa1)](this[_0x117037(0xe3)]),this['hoveringActor']&&this[_0x117037(0xe3)]&&this[_0x117037(0x78)](this[_0x117037(0x7a)],this[_0x117037(0xe3)]),this[_0x117037(0xe3)]=null,this[_0x117037(0x7a)]=null;}['onPointerUpEvent'](_0x39223d){const _0x3c8859=_0x1a3fa9;this['_pointButtonIsDown']['delete'](_0x39223d[_0x3c8859(0xe5)]);if(_0x39223d[_0x3c8859(0xe5)]!==0x0)return;const _0x5ea3b3=this[_0x3c8859(0x82)]['subVectors'](this['pointerLeftDownPosition'],this[_0x3c8859(0xba)])[_0x3c8859(0x8d)]();if(_0x5ea3b3>0.005){this[_0x3c8859(0xaf)]();return;}this['prepareClickModifiers']={'ctrlKey':_0x39223d['ctrlKey'],'shiftKey':_0x39223d['shiftKey'],'altKey':_0x39223d['altKey']},!this[_0x3c8859(0x8f)]?this[_0x3c8859(0xb4)]():this['handleDoubleClick']();}[_0x1a3fa9(0xb4)](){const _0x3db24c=_0x1a3fa9,_0x200fe2=this[_0x3db24c(0x91)](),_0x549fb2=_0x200fe2===null||_0x200fe2===void 0?void 0:_0x200fe2[_0x3db24c(0x97)];_0x549fb2 instanceof SceneComponent&&_0x200fe2?(this[_0x3db24c(0x92)]=_0x549fb2,this[_0x3db24c(0xd7)]=_0x200fe2[_0x3db24c(0xd3)],this['leftClickTimer']=window[_0x3db24c(0x7b)](()=>{const _0x475637=_0x3db24c;this[_0x475637(0x8f)]=null,this['prepareClickComponent']&&this[_0x475637(0xd7)]&&(this[_0x475637(0xd5)](this['prepareClickComponent'],this[_0x475637(0xd7)],![]),this['prepareClickComponent']=null,this[_0x475637(0xd7)]=null);},this[_0x3db24c(0xb6)])):this[_0x3db24c(0xaa)][_0x3db24c(0xc7)]();}['handleDoubleClick'](){const _0x23c23e=_0x1a3fa9;this[_0x23c23e(0xaf)](),this['prepareClickComponent']&&this[_0x23c23e(0xd7)]?this[_0x23c23e(0xd5)](this[_0x23c23e(0x92)],this[_0x23c23e(0xd7)],!![]):this['_onClickNothingDelegate']['broadcast'](),this[_0x23c23e(0x92)]=null,this[_0x23c23e(0xd7)]=null;}[_0x1a3fa9(0xcb)](_0x17211c){const _0x433aba=_0x1a3fa9;this[_0x433aba(0xbc)][_0x433aba(0x9c)](_0x17211c[_0x433aba(0xe5)]);_0x17211c['button']===0x0&&this['pointerLeftDownPosition'][_0x433aba(0xb2)](this['pointerPosition']);const _0x2b1a76=this[_0x433aba(0x91)](),_0x1910f3=_0x2b1a76===null||_0x2b1a76===void 0?void 0:_0x2b1a76[_0x433aba(0x97)];_0x1910f3 instanceof SceneComponent&&_0x2b1a76&&this[_0x433aba(0xb1)](_0x1910f3,_0x2b1a76[_0x433aba(0xd3)],_0x17211c[_0x433aba(0xe5)]);}['onPointerEnterEvent'](_0x2598f7){const _0x5108d4=_0x1a3fa9;this[_0x5108d4(0xa7)]();}[_0x1a3fa9(0x86)](_0x3ad54f){const _0x557996=_0x1a3fa9;this[_0x557996(0xec)]();}[_0x1a3fa9(0x74)](_0xac8da3,_0x4edd7d){const _0x5421e1=_0x1a3fa9,_0x217c5c={'component':_0xac8da3,'hit':_0x4edd7d,'handled':![]};this[_0x5421e1(0xcd)]['broadcast'](_0x217c5c),!_0x217c5c[_0x5421e1(0x84)]&&_0xac8da3[_0x5421e1(0xb3)]();}[_0x1a3fa9(0xa1)](_0x6c2406){const _0x4bf461=_0x1a3fa9,_0x3b4855={'component':_0x6c2406,'hit':null,'handled':![]};this[_0x4bf461(0xe1)][_0x4bf461(0xc7)](_0x3b4855),!_0x3b4855[_0x4bf461(0x84)]&&_0x6c2406['onHorveringEnd']();}[_0x1a3fa9(0x8e)](_0x5deb95,_0x5507ad,_0x37adfa){const _0x9facd=_0x1a3fa9,_0x394811=Object['assign']({'component':_0x5deb95,'hit':_0x5507ad,'handled':![]},this[_0x9facd(0xc9)]);_0x37adfa?(this['_onComponentDoubleClickDelegate'][_0x9facd(0xc7)](_0x394811),!_0x394811['handled']&&_0x5deb95[_0x9facd(0x9b)]()):(this[_0x9facd(0xf3)]['broadcast'](_0x394811),!_0x394811[_0x9facd(0x84)]&&_0x5deb95[_0x9facd(0x9a)]());}[_0x1a3fa9(0xb1)](_0x1b3c71,_0x5a0f9f,_0x324d5e){const _0x4c6a39=_0x1a3fa9,_0x3f0e77={'component':_0x1b3c71,'hit':_0x5a0f9f,'button':_0x324d5e,'handled':![]};this[_0x4c6a39(0xe4)][_0x4c6a39(0xc7)](_0x3f0e77);}['fireActorHoverBegin'](_0x44ca22,_0x52dd99,_0x476d26){const _0x4c5cbe=_0x1a3fa9,_0x3aa666={'actor':_0x44ca22,'component':_0x52dd99,'hit':_0x476d26,'handled':![]};this[_0x4c5cbe(0xe2)][_0x4c5cbe(0xc7)](_0x3aa666),!_0x3aa666[_0x4c5cbe(0x84)]&&_0x44ca22[_0x4c5cbe(0xae)](_0x52dd99);}[_0x1a3fa9(0x78)](_0xbaf1bb,_0xf5625c){const _0x3b2da4=_0x1a3fa9,_0x1ea457={'actor':_0xbaf1bb,'component':_0xf5625c,'hit':null,'handled':![]};this[_0x3b2da4(0xac)][_0x3b2da4(0xc7)](_0x1ea457),!_0x1ea457[_0x3b2da4(0x84)]&&_0xbaf1bb[_0x3b2da4(0xf2)](_0xf5625c);}[_0x1a3fa9(0x7d)](_0x14ebd1,_0x36ccbe,_0x33e40,_0x4eb50b){const _0x209354=_0x1a3fa9,_0x40026e=Object['assign']({'actor':_0x14ebd1,'component':_0x36ccbe,'hit':_0x33e40,'handled':![]},this[_0x209354(0xc9)]);_0x4eb50b?(this[_0x209354(0x8b)][_0x209354(0xc7)](_0x40026e),!_0x40026e[_0x209354(0x84)]&&_0x14ebd1[_0x209354(0x9d)](_0x36ccbe)):(this['_onActorClickDelegate'][_0x209354(0xc7)](_0x40026e),!_0x40026e[_0x209354(0x84)]&&_0x14ebd1[_0x209354(0xf1)](_0x36ccbe));}[_0x1a3fa9(0xd5)](_0x24894f,_0x55c286,_0x52555d){const _0x2c863d=_0x1a3fa9;this[_0x2c863d(0x8e)](_0x24894f,_0x55c286,_0x52555d);const _0x5eaa5e=_0x24894f[_0x2c863d(0x98)];_0x5eaa5e&&_0x5eaa5e[_0x2c863d(0x89)]&&this[_0x2c863d(0x7d)](_0x5eaa5e,_0x24894f,_0x55c286,_0x52555d);}[_0x1a3fa9(0xaf)](){const _0x1fb02e=_0x1a3fa9;this[_0x1fb02e(0x8f)]&&(window[_0x1fb02e(0x79)](this['leftClickTimer']),this['leftClickTimer']=null);}[_0x1a3fa9(0xa7)](){const _0x54e687=_0x1a3fa9,_0xa528bd=this['viewPort']['canvas'];if(!_0xa528bd)return;_0xa528bd[_0x54e687(0x81)]('pointermove',this['onPointerMove']),_0xa528bd['addEventListener'](_0x54e687(0x93),this[_0x54e687(0xb7)]),_0xa528bd[_0x54e687(0x81)]('pointerdown',this['onPointerDown']);}['removeCorePointerListeners'](){const _0x87a9eb=_0x1a3fa9,_0x345963=this[_0x87a9eb(0xdf)][_0x87a9eb(0x90)];if(!_0x345963)return;_0x345963[_0x87a9eb(0xb8)](_0x87a9eb(0xb0),this[_0x87a9eb(0xc4)]),_0x345963['removeEventListener']('pointerup',this[_0x87a9eb(0xb7)]),_0x345963['removeEventListener']('pointerdown',this[_0x87a9eb(0xbe)]);}[_0x1a3fa9(0x91)](_0x13e806=!![]){const _0x540f65=_0x1a3fa9;return this[_0x540f65(0xde)](this[_0x540f65(0xba)]['x'],this['pointerPosition']['y'],_0x13e806);}['getHitResultFromScreenPoint'](_0x201da7,_0x61a81b,_0x3af7b5=!![]){const _0x301100=_0x1a3fa9;this[_0x301100(0xdd)][_0x301100(0xe0)](_0x201da7,_0x61a81b),this[_0x301100(0xa8)][_0x301100(0x87)](this[_0x301100(0xdd)],this[_0x301100(0xeb)]);const _0xb1350e=this[_0x301100(0xda)](_0x201da7,_0x61a81b);if(!_0x3af7b5)return _0xb1350e[0x0]||null;for(const _0x439c44 of _0xb1350e){const _0x39dea9=_0x439c44[_0x301100(0x97)][_0x301100(0xea)]||_0x439c44['component'][_0x301100(0x89)],_0x4b9ed5=_0x439c44[_0x301100(0x97)][_0x301100(0x98)],_0x2608e7=_0x4b9ed5&&(_0x4b9ed5['isHoverEnabled']||_0x4b9ed5[_0x301100(0x89)]);if(_0x39dea9||_0x2608e7)return _0x439c44;}return null;}['getAllHitResultFromScreenPoint'](_0xb0ea72,_0x4d7a24){const _0x1d2fc3=_0x1a3fa9;this[_0x1d2fc3(0xdd)][_0x1d2fc3(0xe0)](_0xb0ea72,_0x4d7a24),this[_0x1d2fc3(0xa8)][_0x1d2fc3(0x87)](this[_0x1d2fc3(0xdd)],this[_0x1d2fc3(0xeb)]);const _0x141e3c=this[_0x1d2fc3(0xa8)]['intersectObjects'](this[_0x1d2fc3(0x99)][_0x1d2fc3(0xad)][_0x1d2fc3(0xa3)],!![]),_0x650579=[];for(const _0xefe58e of _0x141e3c){if(_0xefe58e[_0x1d2fc3(0x96)][_0x1d2fc3(0x7e)]['rayIgnored'])continue;const _0x32ca11=_0xefe58e[_0x1d2fc3(0x96)][_0x1d2fc3(0x7e)][_0x1d2fc3(0x94)];if(!_0x32ca11)continue;_0x650579['push']({'component':_0x32ca11,'hit':_0xefe58e});}return _0x650579;}[_0x1a3fa9(0xf0)](_0x43d95f,_0x48eec8,_0x2a14dc,_0x37d90c,_0x2ea77f=null,_0x59d7b5=null){this['pawn']['focusTo'](_0x43d95f,_0x48eec8,_0x2a14dc,_0x37d90c,_0x2ea77f,_0x59d7b5);}}
|
|
73
73
|
|
|
74
|
-
function
|
|
74
|
+
(function(_0x8ebcc2,_0x4d6857){const _0x242b0=_0x99ed,_0x5aea5d=_0x8ebcc2();while(!![]){try{const _0x25e769=parseInt(_0x242b0(0x70))/0x1*(parseInt(_0x242b0(0x6b))/0x2)+-parseInt(_0x242b0(0x73))/0x3+-parseInt(_0x242b0(0x71))/0x4+-parseInt(_0x242b0(0x6a))/0x5+-parseInt(_0x242b0(0x7a))/0x6*(-parseInt(_0x242b0(0x64))/0x7)+-parseInt(_0x242b0(0x76))/0x8+parseInt(_0x242b0(0x7b))/0x9;if(_0x25e769===_0x4d6857)break;else _0x5aea5d['push'](_0x5aea5d['shift']());}catch(_0x4c11a4){_0x5aea5d['push'](_0x5aea5d['shift']());}}}(_0xba10,0xe7b45));function _0xba10(){const _0x4ab02c=['type','[CameraFactory]Create\x20default\x20perspective\x20camera\x20instead','6413050gDHdIY','2DzrTkN','[CameraFactory]Error\x20occurred\x20while\x20creating\x20camera:\x20','Orthographic','bottom','aspect','1668733sdRRZX','5627136JKnDyQ','warn','906567NKfxwO','top','[CameraFactory]Update\x20Failed.\x20Return\x20old\x20camera\x20instead','14588152ARTgbx','left','fov','Perspective','124638idLFHy','29941461ImCFwo','right','259npQbUe','far','near','Invalid\x20camera\x20type'];_0xba10=function(){return _0x4ab02c;};return _0xba10();}function _0x99ed(_0x47e855,_0x1ae3cf){_0x47e855=_0x47e855-0x64;const _0xba109b=_0xba10();let _0x99edd6=_0xba109b[_0x47e855];return _0x99edd6;}class CameraFactory{static['createCamera'](_0x17155e){const _0x1ecc33=_0x99ed;try{switch(_0x17155e['type']){case _0x1ecc33(0x79):{let _0x4910a9=_0x17155e;return new webgpu.PerspectiveCamera(_0x4910a9['fov'],_0x4910a9[_0x1ecc33(0x6f)],_0x4910a9['near'],_0x4910a9[_0x1ecc33(0x65)]);}case _0x1ecc33(0x6d):{let _0x4e664a=_0x17155e;return new webgpu.OrthographicCamera(_0x4e664a[_0x1ecc33(0x77)],_0x4e664a[_0x1ecc33(0x7c)],_0x4e664a[_0x1ecc33(0x74)],_0x4e664a[_0x1ecc33(0x6e)],_0x4e664a[_0x1ecc33(0x66)],_0x4e664a[_0x1ecc33(0x65)]);}default:{throw new Error(_0x1ecc33(0x67));}}}catch(_0x50f0cd){return console[_0x1ecc33(0x72)](_0x1ecc33(0x6c),_0x50f0cd),console[_0x1ecc33(0x72)](_0x1ecc33(0x69)),new webgpu.PerspectiveCamera(0x32,0x1,0.1,0x3e8);}}static['updataCamera'](_0x36471b,_0x29480f){const _0x2aa118=_0x99ed;try{switch(_0x36471b[_0x2aa118(0x68)]){case _0x2aa118(0x79):{let _0x14ce19=_0x36471b;if(_0x29480f instanceof webgpu.PerspectiveCamera)return _0x29480f[_0x2aa118(0x66)]=_0x14ce19['near'],_0x29480f[_0x2aa118(0x65)]=_0x14ce19[_0x2aa118(0x65)],_0x29480f[_0x2aa118(0x78)]=_0x14ce19['fov'],_0x29480f['aspect']=_0x14ce19['aspect'],_0x29480f;return new webgpu.PerspectiveCamera(_0x14ce19[_0x2aa118(0x78)],_0x14ce19[_0x2aa118(0x6f)],_0x14ce19[_0x2aa118(0x66)],_0x14ce19[_0x2aa118(0x65)]);}case _0x2aa118(0x6d):{let _0x2d0661=_0x36471b;if(_0x29480f instanceof webgpu.OrthographicCamera)return _0x29480f['near']=_0x2d0661['near'],_0x29480f[_0x2aa118(0x65)]=_0x2d0661[_0x2aa118(0x65)],_0x29480f['left']=_0x2d0661[_0x2aa118(0x77)],_0x29480f[_0x2aa118(0x7c)]=_0x2d0661['right'],_0x29480f[_0x2aa118(0x74)]=_0x2d0661[_0x2aa118(0x74)],_0x29480f[_0x2aa118(0x6e)]=_0x2d0661[_0x2aa118(0x6e)],_0x29480f;return new webgpu.OrthographicCamera(_0x2d0661[_0x2aa118(0x77)],_0x2d0661[_0x2aa118(0x7c)],_0x2d0661[_0x2aa118(0x74)],_0x2d0661['bottom'],_0x2d0661[_0x2aa118(0x66)],_0x2d0661[_0x2aa118(0x65)]);}default:{throw new Error(_0x2aa118(0x67));}}}catch(_0x460620){return console[_0x2aa118(0x72)]('[CameraFactory]Error\x20occurred\x20while\x20updating\x20camera:\x20',_0x460620),console[_0x2aa118(0x72)](_0x2aa118(0x75)),_0x29480f;}}}
|
|
75
75
|
|
|
76
|
-
const
|
|
76
|
+
const _0x3e6009=_0x493d;function _0x493d(_0x315bc7,_0x58870b){_0x315bc7=_0x315bc7-0x149;const _0x5538f3=_0x5538();let _0x493d48=_0x5538f3[_0x315bc7];return _0x493d48;}(function(_0x25bde3,_0x2ad9d9){const _0x88b005=_0x493d,_0x121986=_0x25bde3();while(!![]){try{const _0xf0ce4a=parseInt(_0x88b005(0x152))/0x1*(parseInt(_0x88b005(0x14f))/0x2)+-parseInt(_0x88b005(0x14b))/0x3*(-parseInt(_0x88b005(0x151))/0x4)+-parseInt(_0x88b005(0x156))/0x5+-parseInt(_0x88b005(0x153))/0x6+-parseInt(_0x88b005(0x149))/0x7+-parseInt(_0x88b005(0x14d))/0x8+-parseInt(_0x88b005(0x155))/0x9*(-parseInt(_0x88b005(0x14a))/0xa);if(_0xf0ce4a===_0x2ad9d9)break;else _0x121986['push'](_0x121986['shift']());}catch(_0xc64ab3){_0x121986['push'](_0x121986['shift']());}}}(_0x5538,0xa2ea9));function _0x5538(){const _0x2ecbef=['6057670nJBVVq','865088JtGOAc','170nNUyaz','3893241xjSnKL','Orthographic','4305000ujLJbj','stringify','2AmrBGX','parse','4gtvhRK','29522DnJrdd','1781292BxKIPD','Perspective','799497mDVhGx'];_0x5538=function(){return _0x2ecbef;};return _0x5538();}const DefaultPerspectiveCameraParam={'near':0.1,'far':0x3e8,'type':_0x3e6009(0x154),'fov':0x32,'aspect':0x1};const DefaultOrthographicCameraParam={'type':_0x3e6009(0x14c),'near':0.1,'far':0x3e8,'left':-1,'right':0x1,'top':0x1,'bottom':-1};const DefaultCameraParam=JSON[_0x3e6009(0x150)](JSON[_0x3e6009(0x14e)](DefaultPerspectiveCameraParam));
|
|
77
77
|
|
|
78
|
-
function
|
|
78
|
+
function _0x3125(){const _0x3c90ea=['184uifNuk','7OBXeVH','7093544pdPMOs','5wKjeto','5610894NVDrlX','1510632hGRyqL','2933014rzXQCw','126630GsaYxL','17844zqwHCF','34650050wFgPdj'];_0x3125=function(){return _0x3c90ea;};return _0x3125();}(function(_0x599265,_0x1508ae){const _0xc94585=_0x2019,_0x338eee=_0x599265();while(!![]){try{const _0x3d330a=parseInt(_0xc94585(0x195))/0x1+-parseInt(_0xc94585(0x194))/0x2+-parseInt(_0xc94585(0x196))/0x3*(-parseInt(_0xc94585(0x198))/0x4)+parseInt(_0xc94585(0x19b))/0x5*(-parseInt(_0xc94585(0x19c))/0x6)+-parseInt(_0xc94585(0x199))/0x7*(parseInt(_0xc94585(0x19a))/0x8)+parseInt(_0xc94585(0x193))/0x9+parseInt(_0xc94585(0x197))/0xa;if(_0x3d330a===_0x1508ae)break;else _0x338eee['push'](_0x338eee['shift']());}catch(_0xa9c5e8){_0x338eee['push'](_0x338eee['shift']());}}}(_0x3125,0xb5d26));function _0x2019(_0x4dfb41,_0x47240d){_0x4dfb41=_0x4dfb41-0x193;const _0x31252e=_0x3125();let _0x20193b=_0x31252e[_0x4dfb41];return _0x20193b;}const DefaultViewportParam={'elementId':null,'isLabelRendererNeeded':![],'isUILayerNeeded':![]};
|
|
79
79
|
|
|
80
|
-
(function(
|
|
80
|
+
(function(_0x5ae933,_0x5a0aed){const _0x3c087f=_0x33b8,_0x202cfa=_0x5ae933();while(!![]){try{const _0x2dd84c=parseInt(_0x3c087f(0xbb))/0x1+-parseInt(_0x3c087f(0xba))/0x2*(-parseInt(_0x3c087f(0xbf))/0x3)+-parseInt(_0x3c087f(0xbd))/0x4*(parseInt(_0x3c087f(0xb9))/0x5)+-parseInt(_0x3c087f(0xbc))/0x6+parseInt(_0x3c087f(0xc3))/0x7*(-parseInt(_0x3c087f(0xc0))/0x8)+parseInt(_0x3c087f(0xc1))/0x9+-parseInt(_0x3c087f(0xbe))/0xa*(parseInt(_0x3c087f(0xc2))/0xb);if(_0x2dd84c===_0x5a0aed)break;else _0x202cfa['push'](_0x202cfa['shift']());}catch(_0x439101){_0x202cfa['push'](_0x202cfa['shift']());}}}(_0x1bfe,0xcc299));function _0x33b8(_0x20a213,_0x3dbf48){_0x20a213=_0x20a213-0xb9;const _0x1bfe97=_0x1bfe();let _0x33b8f3=_0x1bfe97[_0x20a213];return _0x33b8f3;}const DefaultRendererParameters={'logarithmicDepthBuffer':![],'alpha':![],'depth':!![],'stencil':![],'antialias':![],'samples':0x1,'forceWebGL':![],'outputBufferType':0x3f8,'toneMapping':0x0,'toneMappingExposure':0x1,'shadowMapEnabled':!![],'shadowMapType':0x1};function _0x1bfe(){const _0x44a8d4=['295VxZfQn','124252Ifyhuj','692420CLTJDK','6031896xpPdvO','50628PFKplt','2890ITERdU','69EEoYLS','1096ayyJTa','7127973nimEHP','1122DcwRJU','15099RtEsiF'];_0x1bfe=function(){return _0x44a8d4;};return _0x1bfe();}
|
|
81
81
|
|
|
82
|
-
|
|
82
|
+
(function(_0x1d4821,_0x722c6e){const _0x23f1c7=_0x1f13,_0x2b89fa=_0x1d4821();while(!![]){try{const _0x4ec1cd=-parseInt(_0x23f1c7(0x1dc))/0x1*(-parseInt(_0x23f1c7(0x1e2))/0x2)+parseInt(_0x23f1c7(0x1da))/0x3*(-parseInt(_0x23f1c7(0x1de))/0x4)+parseInt(_0x23f1c7(0x1dd))/0x5+parseInt(_0x23f1c7(0x1df))/0x6*(parseInt(_0x23f1c7(0x1d8))/0x7)+-parseInt(_0x23f1c7(0x1db))/0x8+-parseInt(_0x23f1c7(0x1e0))/0x9+-parseInt(_0x23f1c7(0x1e1))/0xa*(parseInt(_0x23f1c7(0x1d9))/0xb);if(_0x4ec1cd===_0x722c6e)break;else _0x2b89fa['push'](_0x2b89fa['shift']());}catch(_0x1a371d){_0x2b89fa['push'](_0x2b89fa['shift']());}}}(_0x21c5,0x1c7ce));function _0x1f13(_0x58caeb,_0x4ba86e){_0x58caeb=_0x58caeb-0x1d8;const _0x21c586=_0x21c5();let _0x1f1363=_0x21c586[_0x58caeb];return _0x1f1363;}function _0x21c5(){const _0x660cce=['7NaCjJF','475442JxEQql','3NvgNIb','1233976Xcatdk','2gMxXbm','858880sKoybI','188904TQORvC','1268736xnWiEj','965871jYmoVf','10yWTvVI','85468ztlICD'];_0x21c5=function(){return _0x660cce;};return _0x21c5();}const DefaultAppParam={'renderParam':DefaultRendererParameters,'cameraParam':DefaultCameraParam,'postProcessParam':DefaultPostProcessParam,'viewportParam':DefaultViewportParam,'classes':{'assetManagerClass':AssetManager,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport}};
|
|
83
83
|
|
|
84
|
-
const _0x1ba844=_0x4765;(function(_0x20e464,_0x2575ba){const _0x602807=_0x4765,_0x19edf6=_0x20e464();while(!![]){try{const _0x28c81e=parseInt(_0x602807(0x1f3))/0x1+-parseInt(_0x602807(0x1e3))/0x2*(-parseInt(_0x602807(0x209))/0x3)+-parseInt(_0x602807(0x20e))/0x4*(-parseInt(_0x602807(0x1e4))/0x5)+parseInt(_0x602807(0x1f4))/0x6+parseInt(_0x602807(0x1c9))/0x7*(-parseInt(_0x602807(0x1e9))/0x8)+-parseInt(_0x602807(0x1cf))/0x9*(-parseInt(_0x602807(0x202))/0xa)+-parseInt(_0x602807(0x1d2))/0xb;if(_0x28c81e===_0x2575ba)break;else _0x19edf6['push'](_0x19edf6['shift']());}catch(_0x3682d3){_0x19edf6['push'](_0x19edf6['shift']());}}}(_0x2f2d,0xe129d));function _0x2f2d(){const _0xf6aed4=['getBounds','getWorldRotation','getQuaternion','rootComponent','getBoundsBottomCenterPosition','onHoverBeginDelegate','length','724825YtupRu','15528aQZjsB','isHoverEnabled','getWorldUpDirection','setLayers','getWorldPosition','addComponent','getBoundsTopCenterPosition','addChildActor','KeepWorld','setQuaternion','size','removeFromParent','getWorldForwardDirection','getRotation','150NeMrKU','_rootComponent','onActorHoverEnd','onActorHoverBegin','_name','_onDoubleClickDelegate','setPosition','438xxoYrt','onClickDelegate','getWorldMatrix','destroy','push','4dHXVnH','has','app','getWorldScale','forEach','LYObject','childrenComponents','isVisible','attachComponent','getWorldQuaternion','constructRootComponent','removeTickableActor','isClickEnabled','max','getChildActorsByIds','getScale','tick','getPosition','getCenter','parentActor','removeChildActor','setVisible','setRotation','localToWorld','addTickableActor','name','uuid','children','getChildActorById','203YewVrR','isTickEnabled','destroyChildren','getComponentById','markRenderStateDirty','childActors','417654JjTlgl','Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent','onAddedToWorld','12894585ecgHbo','_onHoverBeginDelegate','rootComponent\x20is\x20invalid','getWorldRightDirection','sub','world','worldToLocal','error','KeepRelative','getBoundsCenterPosition','threeObject','onDoubleClickDelegate','_onClickDelegate','getComponents','broadcast','setScale','min','18222kUCjTH','4065190ARbmoC','delete','addChildComponent','setWorldMatrix','onHoverEndDelegate','406136gWhPFT','_world','_onHoverEndDelegate'];_0x2f2d=function(){return _0xf6aed4;};return _0x2f2d();}function _0x4765(_0x28cedf,_0x104346){_0x28cedf=_0x28cedf-0x1b2;const _0x2f2dd7=_0x2f2d();let _0x4765cf=_0x2f2dd7[_0x28cedf];return _0x4765cf;}class Actor extends BaseObject{get[_0x1ba844(0x1d7)](){const _0x12e4ef=_0x1ba844;return this[_0x12e4ef(0x1ea)];}get['name'](){const _0x3e7e2d=_0x1ba844;return this[_0x3e7e2d(0x206)];}set[_0x1ba844(0x1c5)](_0x4898ce){const _0x5d33c3=_0x1ba844;this[_0x5d33c3(0x206)]=_0x4898ce;}get[_0x1ba844(0x1ef)](){const _0x1d76ff=_0x1ba844;if(!this['_rootComponent'])throw Error(_0x1d76ff(0x1d4));return this['_rootComponent'];}set[_0x1ba844(0x1ef)](_0x543ed2){const _0x46c440=_0x1ba844;_0x543ed2['detachFromParentComponent'](),_0x543ed2[_0x46c440(0x1bf)]=this;if(this['_rootComponent']){let _0x3ba94a=this[_0x46c440(0x1ef)][_0x46c440(0x1b2)];for(let _0xd52fb6=0x0;_0xd52fb6<_0x3ba94a['length'];++_0xd52fb6){_0x543ed2[_0x46c440(0x1e6)](_0x3ba94a[_0xd52fb6]);}this[_0x46c440(0x1ef)][_0x46c440(0x20c)]();}this['_rootComponent']=_0x543ed2;}get[_0x1ba844(0x1b2)](){const _0x57dc8d=_0x1ba844;return this[_0x57dc8d(0x1ef)]['childrenComponents'];}get[_0x1ba844(0x1ce)](){const _0x181782=_0x1ba844;var _0x26e384;let _0x3ebce1=[];return (_0x26e384=this['rootComponent'][_0x181782(0x1dc)])===null||_0x26e384===void 0?void 0:_0x26e384[_0x181782(0x1c7)][_0x181782(0x212)](_0x18df6e=>{const _0x18d7c4=_0x181782;var _0x18ba2b;let _0x36503d=(_0x18ba2b=_0x18df6e['userData'][_0x18d7c4(0x213)])===null||_0x18ba2b===void 0?void 0:_0x18ba2b[_0x18d7c4(0x1bf)];_0x36503d!==this&&_0x36503d instanceof Actor&&_0x3ebce1[_0x18d7c4(0x20d)](_0x36503d);}),_0x3ebce1;}get[_0x1ba844(0x1bf)](){const _0x20fdc1=_0x1ba844;var _0x4e3e11,_0x1135c6;let _0x4d3c19=(_0x1135c6=(_0x4e3e11=this[_0x20fdc1(0x1ef)][_0x20fdc1(0x1dc)])===null||_0x4e3e11===void 0?void 0:_0x4e3e11['parent'])===null||_0x1135c6===void 0?void 0:_0x1135c6['userData'][_0x20fdc1(0x213)]['parentActor'];return _0x4d3c19===this?null:_0x4d3c19;}get[_0x1ba844(0x1b3)](){const _0x5b7a7=_0x1ba844;return this[_0x5b7a7(0x1ef)]?this[_0x5b7a7(0x1ef)][_0x5b7a7(0x1b3)]:![];}get['isTickEnabled'](){const _0x57aa27=_0x1ba844;return super[_0x57aa27(0x1ca)];}set['isTickEnabled'](_0x2c42ed){const _0xba2fe9=_0x1ba844;super[_0xba2fe9(0x1ca)]=_0x2c42ed,this['isTickEnabled']?this[_0xba2fe9(0x210)][_0xba2fe9(0x1d7)][_0xba2fe9(0x1c4)](this):this['app'][_0xba2fe9(0x1d7)][_0xba2fe9(0x1b7)](this);}get[_0x1ba844(0x1f1)](){return this['_onHoverBeginDelegate'];}get[_0x1ba844(0x1e8)](){const _0x553980=_0x1ba844;return this[_0x553980(0x1eb)];}get[_0x1ba844(0x20a)](){const _0xfe9076=_0x1ba844;return this[_0xfe9076(0x1de)];}get[_0x1ba844(0x1dd)](){const _0x46f897=_0x1ba844;return this[_0x46f897(0x207)];}constructor(_0xfe94fd,_0x1c3354){const _0x585d75=_0x1ba844;super(_0x1c3354),this[_0x585d75(0x206)]='Actor',this[_0x585d75(0x203)]=null,this[_0x585d75(0x1ea)]=null,this[_0x585d75(0x1d3)]=new Delegate(),this[_0x585d75(0x1eb)]=new Delegate(),this[_0x585d75(0x1de)]=new Delegate(),this[_0x585d75(0x207)]=new Delegate(),this['app']=_0xfe94fd,this[_0x585d75(0x1ef)]=this[_0x585d75(0x1b6)](),this['rootComponent']['parentActor']=this;}[_0x1ba844(0x1b6)](){return new SceneComponent(this['app']);}[_0x1ba844(0x1db)](_0x572693=!![]){const _0xb8e622=_0x1ba844;let _0x1b04e5=new webgpu.Vector3();return this[_0xb8e622(0x1ec)]()[_0xb8e622(0x1be)](_0x1b04e5),!_0x572693?_0x1b04e5[_0xb8e622(0x1d6)](this['getPosition']()):_0x1b04e5;}[_0x1ba844(0x1c8)](_0xddcbf6,_0x14dfb2=!![]){const _0x337b9a=_0x1ba844,_0x49adc6=this[_0x337b9a(0x1ce)];for(const _0x43c7d3 of _0x49adc6){if(_0x43c7d3[_0x337b9a(0x1c6)]===_0xddcbf6)return _0x43c7d3;}if(_0x14dfb2)for(const _0x2d8394 of _0x49adc6){const _0x504741=_0x2d8394[_0x337b9a(0x1c8)](_0xddcbf6,!![]);if(_0x504741)return _0x504741;}return null;}[_0x1ba844(0x1ba)](_0x2b40c3,_0x4ef7b4=!![]){const _0x4bec2d=_0x1ba844,_0x506da7=[],_0x318647=new Set(_0x2b40c3),_0x1f15da=this['childActors'];for(const _0x524278 of _0x1f15da){_0x318647[_0x4bec2d(0x20f)](_0x524278[_0x4bec2d(0x1c6)])&&(_0x506da7[_0x4bec2d(0x20d)](_0x524278),_0x318647[_0x4bec2d(0x1e5)](_0x524278[_0x4bec2d(0x1c6)]));}if(_0x4ef7b4&&_0x318647[_0x4bec2d(0x1fe)]>0x0)for(const _0x5cb86c of _0x1f15da){const _0x17b0a6=_0x5cb86c['getChildActorsByIds']([..._0x318647],!![]);for(const _0x30288f of _0x17b0a6){_0x506da7[_0x4bec2d(0x20d)](_0x30288f),_0x318647[_0x4bec2d(0x1e5)](_0x30288f[_0x4bec2d(0x1c6)]);}if(_0x318647[_0x4bec2d(0x1fe)]===0x0)break;}return _0x506da7;}[_0x1ba844(0x1cc)](_0x5a12e2){const _0x530dfb=_0x1ba844;return this[_0x530dfb(0x1ef)][_0x530dfb(0x1cc)](_0x5a12e2);}[_0x1ba844(0x1fa)](_0x17503f=!![]){const _0x5abf32=_0x1ba844;let _0x5a0046=new webgpu.Vector3(),_0x56f4ed=this['rootComponent'][_0x5abf32(0x1ec)]();return _0x56f4ed[_0x5abf32(0x1be)](_0x5a0046),_0x5a0046['y']=_0x56f4ed[_0x5abf32(0x1b9)]['y'],!_0x17503f?_0x5a0046[_0x5abf32(0x1d6)](this[_0x5abf32(0x1bd)]()):_0x5a0046;}[_0x1ba844(0x1f0)](_0x293505=!![]){const _0x3fe887=_0x1ba844;let _0x46c771=new webgpu.Vector3(),_0x37eb87=this[_0x3fe887(0x1ec)]();return _0x37eb87['getCenter'](_0x46c771),_0x46c771['y']=_0x37eb87[_0x3fe887(0x1e2)]['y'],!_0x293505?_0x46c771[_0x3fe887(0x1d6)](this[_0x3fe887(0x1bd)]()):_0x46c771;}['getBounds'](){const _0x5de647=_0x1ba844;return this[_0x5de647(0x1ef)][_0x5de647(0x1ec)]();}['destroy'](){const _0x1a1dde=_0x1ba844;let _0x462d5b=this[_0x1a1dde(0x1ce)];_0x462d5b['forEach'](_0x8b49b3=>{const _0x3b5171=_0x1a1dde;_0x8b49b3[_0x3b5171(0x20c)]();}),this[_0x1a1dde(0x1ef)]['destroy']();}[_0x1ba844(0x1c1)](_0x32380a){const _0x2a5abb=_0x1ba844;this[_0x2a5abb(0x1ef)]['setVisible'](_0x32380a);}['setLayers'](_0x570622,_0x4ab436=!![]){const _0x23c749=_0x1ba844;this[_0x23c749(0x1ef)][_0x23c749(0x1f7)](_0x570622),_0x4ab436&&this[_0x23c749(0x1ce)][_0x23c749(0x212)](_0x351376=>{const _0xf5cbcc=_0x23c749;_0x351376[_0xf5cbcc(0x1f7)](_0x570622,_0x4ab436);});}['tick'](_0x29515d){const _0x12efe3=_0x1ba844;if(!this[_0x12efe3(0x1ca)])return;super[_0x12efe3(0x1bc)](_0x29515d),this[_0x12efe3(0x1ef)][_0x12efe3(0x1bc)](_0x29515d);}[_0x1ba844(0x1bd)](){const _0x4107ea=_0x1ba844;return this[_0x4107ea(0x1ef)][_0x4107ea(0x1bd)]();}[_0x1ba844(0x208)](..._0x1a2d49){const _0x3ee817=_0x1ba844;_0x1a2d49[_0x3ee817(0x1f2)]===0x1?this['rootComponent'][_0x3ee817(0x208)](_0x1a2d49[0x0]):this[_0x3ee817(0x1ef)][_0x3ee817(0x208)](_0x1a2d49[0x0],_0x1a2d49[0x1],_0x1a2d49[0x2]);}['getRotation'](){const _0xa89afb=_0x1ba844;return this['rootComponent'][_0xa89afb(0x201)]();}[_0x1ba844(0x1c2)](..._0x3d6037){const _0x2ec932=_0x1ba844;_0x3d6037[_0x2ec932(0x1f2)]===0x1?this['rootComponent']['setRotation'](_0x3d6037[0x0]):this['rootComponent'][_0x2ec932(0x1c2)](_0x3d6037[0x0],_0x3d6037[0x1],_0x3d6037[0x2]);}[_0x1ba844(0x1ee)](){const _0x5c754b=_0x1ba844;return this[_0x5c754b(0x1ef)]['getQuaternion']();}['setQuaternion'](..._0x4e8829){const _0x21da24=_0x1ba844;_0x4e8829[_0x21da24(0x1f2)]===0x1?this[_0x21da24(0x1ef)][_0x21da24(0x1fd)](_0x4e8829[0x0]):this[_0x21da24(0x1ef)][_0x21da24(0x1fd)](_0x4e8829[0x0],_0x4e8829[0x1],_0x4e8829[0x2],_0x4e8829[0x3]);}['getScale'](){const _0xe8aeef=_0x1ba844;return this[_0xe8aeef(0x1ef)][_0xe8aeef(0x1bb)]();}['setScale'](..._0x558e80){const _0x5a93c2=_0x1ba844;_0x558e80[_0x5a93c2(0x1f2)]===0x1?this[_0x5a93c2(0x1ef)][_0x5a93c2(0x1e1)](_0x558e80[0x0]):this[_0x5a93c2(0x1ef)][_0x5a93c2(0x1e1)](_0x558e80[0x0],_0x558e80[0x1],_0x558e80[0x2]);}[_0x1ba844(0x20b)](){return this['rootComponent']['getWorldMatrix']();}[_0x1ba844(0x1e7)](_0x12c721){this['rootComponent']['setWorldMatrix'](_0x12c721);}[_0x1ba844(0x1f8)](){const _0x9618b5=_0x1ba844;return this[_0x9618b5(0x1ef)][_0x9618b5(0x1f8)]();}['getWorldRotation'](){const _0x42d133=_0x1ba844;return this[_0x42d133(0x1ef)][_0x42d133(0x1ed)]();}[_0x1ba844(0x1b5)](){const _0xd39e04=_0x1ba844;return this[_0xd39e04(0x1ef)][_0xd39e04(0x1b5)]();}[_0x1ba844(0x211)](){const _0x2ce965=_0x1ba844;return this[_0x2ce965(0x1ef)][_0x2ce965(0x211)]();}[_0x1ba844(0x200)](){const _0x2e2027=_0x1ba844;return this[_0x2e2027(0x1ef)][_0x2e2027(0x200)]();}[_0x1ba844(0x1f6)](){const _0x527c3f=_0x1ba844;return this['rootComponent'][_0x527c3f(0x1f6)]();}['getWorldRightDirection'](){const _0x323051=_0x1ba844;return this[_0x323051(0x1ef)][_0x323051(0x1d5)]();}['addLocalOffset'](_0x3a6d57,_0xbf6005){const _0x5d15b9=_0x1ba844;let _0x9f5340=this[_0x5d15b9(0x1bd)]();this[_0x5d15b9(0x208)](_0x9f5340['x']+_0x3a6d57['x']*_0xbf6005,_0x9f5340['y']+_0x3a6d57['y']*_0xbf6005,_0x9f5340['z']+_0x3a6d57['z']*_0xbf6005);}[_0x1ba844(0x1d8)](_0x57f60f){return this['rootComponent']['worldToLocal'](_0x57f60f);}[_0x1ba844(0x1c3)](_0x130a5c){const _0x2b9f56=_0x1ba844;return this['rootComponent'][_0x2b9f56(0x1c3)](_0x130a5c);}[_0x1ba844(0x1df)](){const _0x19ea26=_0x1ba844;return this[_0x19ea26(0x1ef)][_0x19ea26(0x1b2)];}[_0x1ba844(0x1f9)](_0x51bbf6,_0x25aacd=exports.AttachmentRules[_0x1ba844(0x1da)]){const _0x155ce9=_0x1ba844;this[_0x155ce9(0x1ef)][_0x155ce9(0x1e6)](_0x51bbf6,_0x25aacd),this[_0x155ce9(0x1ea)]&&_0x51bbf6['onAddedToWorld'](this[_0x155ce9(0x1ea)]);}['removeComponent'](_0xc30418){const _0x32bbd3=_0x1ba844;if(_0xc30418===this[_0x32bbd3(0x203)])return;this[_0x32bbd3(0x1ef)]['removeChildComponent'](_0xc30418);}['clearComponent'](){const _0x2df598=_0x1ba844;this[_0x2df598(0x1ef)][_0x2df598(0x1cb)]();}[_0x1ba844(0x1fb)](_0x277117,_0x5cdd4e=exports.AttachmentRules['KeepWorld']){const _0x5cc2b6=_0x1ba844;if(!_0x277117[_0x5cc2b6(0x1ef)]){console[_0x5cc2b6(0x1d9)](_0x5cc2b6(0x1d0));return;}if(_0x277117[_0x5cc2b6(0x1bf)]===this)return;_0x5cdd4e===exports.AttachmentRules[_0x5cc2b6(0x1da)]&&this[_0x5cc2b6(0x1ef)][_0x5cc2b6(0x1b4)](_0x277117[_0x5cc2b6(0x1ef)]);if(_0x5cdd4e===exports.AttachmentRules[_0x5cc2b6(0x1fc)]){let _0x3c209a=_0x277117[_0x5cc2b6(0x20b)]();this[_0x5cc2b6(0x1ef)]['attachComponent'](_0x277117[_0x5cc2b6(0x1ef)]),_0x277117[_0x5cc2b6(0x1e7)](_0x3c209a);}this[_0x5cc2b6(0x1ea)]&&this[_0x5cc2b6(0x1ea)]['viewport'][_0x5cc2b6(0x1cd)]();}[_0x1ba844(0x1c0)](_0x51a73e){const _0x17e65b=_0x1ba844;let _0x2892f7=_0x51a73e[_0x17e65b(0x20b)]();this[_0x17e65b(0x1ef)]['detachComponent'](_0x51a73e[_0x17e65b(0x1ef)]),_0x51a73e['setWorldMatrix'](_0x2892f7);}[_0x1ba844(0x1ff)](){const _0x4e4793=_0x1ba844;this['parentActor']&&this[_0x4e4793(0x1bf)]['removeChildActor'](this);}[_0x1ba844(0x1d1)](_0x25be46){const _0x3b5c4b=_0x1ba844;this[_0x3b5c4b(0x1ea)]=_0x25be46,this[_0x3b5c4b(0x1ef)][_0x3b5c4b(0x1d1)](this[_0x3b5c4b(0x1ea)]),this[_0x3b5c4b(0x1ce)]['forEach'](_0x890df7=>{_0x890df7['onAddedToWorld'](_0x25be46);});}['onRemovedFromWorld'](){this['_world']=null;}get[_0x1ba844(0x1f5)](){const _0x249ab0=_0x1ba844;return this['rootComponent'][_0x249ab0(0x1f5)];}set[_0x1ba844(0x1f5)](_0x719662){const _0xd2b307=_0x1ba844;this['rootComponent'][_0xd2b307(0x1f5)]=_0x719662;}get[_0x1ba844(0x1b8)](){return this['rootComponent']['isClickEnabled'];}set['isClickEnabled'](_0x4aba6f){const _0x1c2de5=_0x1ba844;this[_0x1c2de5(0x1ef)][_0x1c2de5(0x1b8)]=_0x4aba6f;}[_0x1ba844(0x205)](_0xe73dd2){const _0x57d98a=_0x1ba844;this['_onHoverBeginDelegate'][_0x57d98a(0x1e0)](_0xe73dd2);}[_0x1ba844(0x204)](_0x5adc78){const _0x602799=_0x1ba844;this[_0x602799(0x1eb)][_0x602799(0x1e0)](_0x5adc78);}['onActorClick'](_0x9a2cbd){const _0x3871b2=_0x1ba844;this['_onClickDelegate'][_0x3871b2(0x1e0)](_0x9a2cbd);}['onActorDoubleClick'](_0x3b4fd5){const _0x52f0de=_0x1ba844;this[_0x52f0de(0x207)][_0x52f0de(0x1e0)](_0x3b4fd5);}}
|
|
84
|
+
const _0x2ff37e=_0x2885;function _0x2885(_0x23361f,_0x47f01f){_0x23361f=_0x23361f-0x149;const _0x12c7c5=_0x12c7();let _0x28855a=_0x12c7c5[_0x23361f];return _0x28855a;}(function(_0x4f97ca,_0xdddbbb){const _0x1880ca=_0x2885,_0x141c7f=_0x4f97ca();while(!![]){try{const _0x454319=parseInt(_0x1880ca(0x170))/0x1+parseInt(_0x1880ca(0x198))/0x2*(-parseInt(_0x1880ca(0x159))/0x3)+-parseInt(_0x1880ca(0x17b))/0x4+-parseInt(_0x1880ca(0x17d))/0x5+-parseInt(_0x1880ca(0x15c))/0x6+-parseInt(_0x1880ca(0x152))/0x7+parseInt(_0x1880ca(0x1a2))/0x8*(parseInt(_0x1880ca(0x1aa))/0x9);if(_0x454319===_0xdddbbb)break;else _0x141c7f['push'](_0x141c7f['shift']());}catch(_0xcf84d){_0x141c7f['push'](_0x141c7f['shift']());}}}(_0x12c7,0xb0a2b));class Actor extends BaseObject{get['world'](){const _0x2b01ff=_0x2885;return this[_0x2b01ff(0x151)];}get[_0x2ff37e(0x167)](){const _0x415e11=_0x2ff37e;return this[_0x415e11(0x1a1)];}set[_0x2ff37e(0x167)](_0x577435){const _0x47e606=_0x2ff37e;this[_0x47e606(0x1a1)]=_0x577435;}get[_0x2ff37e(0x189)](){const _0xbb2fc=_0x2ff37e;if(!this[_0xbb2fc(0x153)])throw Error(_0xbb2fc(0x17a));return this[_0xbb2fc(0x153)];}set[_0x2ff37e(0x189)](_0x32f8e5){const _0x4f6804=_0x2ff37e;_0x32f8e5[_0x4f6804(0x14b)](),_0x32f8e5['parentActor']=this;if(this[_0x4f6804(0x153)]){let _0x1e39a1=this[_0x4f6804(0x189)]['childrenComponents'];for(let _0x31a788=0x0;_0x31a788<_0x1e39a1[_0x4f6804(0x16c)];++_0x31a788){_0x32f8e5[_0x4f6804(0x173)](_0x1e39a1[_0x31a788]);}this['rootComponent'][_0x4f6804(0x181)]();}this['_rootComponent']=_0x32f8e5;}get['childrenComponents'](){const _0x15dda0=_0x2ff37e;return this[_0x15dda0(0x189)][_0x15dda0(0x156)];}get[_0x2ff37e(0x1a0)](){const _0x58b956=_0x2ff37e;var _0x1a43a1;let _0x6bf900=[];return (_0x1a43a1=this[_0x58b956(0x189)][_0x58b956(0x19b)])===null||_0x1a43a1===void 0?void 0:_0x1a43a1[_0x58b956(0x168)][_0x58b956(0x19f)](_0x574d2d=>{const _0x5a601d=_0x58b956;var _0x5d0503;let _0x187a74=(_0x5d0503=_0x574d2d[_0x5a601d(0x162)][_0x5a601d(0x1ac)])===null||_0x5d0503===void 0?void 0:_0x5d0503['parentActor'];_0x187a74!==this&&_0x187a74 instanceof Actor&&_0x6bf900['push'](_0x187a74);}),_0x6bf900;}get[_0x2ff37e(0x180)](){const _0x2375ec=_0x2ff37e;var _0x2cadce,_0x2a2213;let _0x3f7418=(_0x2a2213=(_0x2cadce=this[_0x2375ec(0x189)]['threeObject'])===null||_0x2cadce===void 0?void 0:_0x2cadce['parent'])===null||_0x2a2213===void 0?void 0:_0x2a2213['userData'][_0x2375ec(0x1ac)]['parentActor'];return _0x3f7418===this?null:_0x3f7418;}get[_0x2ff37e(0x150)](){const _0x116bb8=_0x2ff37e;return this[_0x116bb8(0x189)]?this[_0x116bb8(0x189)][_0x116bb8(0x150)]:![];}get[_0x2ff37e(0x19d)](){const _0x3c0345=_0x2ff37e;return super[_0x3c0345(0x19d)];}set['isTickEnabled'](_0x5897ba){const _0x4a44dd=_0x2ff37e;super[_0x4a44dd(0x19d)]=_0x5897ba,this['isTickEnabled']?this[_0x4a44dd(0x157)][_0x4a44dd(0x19a)][_0x4a44dd(0x190)](this):this[_0x4a44dd(0x157)]['world'][_0x4a44dd(0x166)](this);}get[_0x2ff37e(0x16b)](){const _0x7d9e20=_0x2ff37e;return this[_0x7d9e20(0x15d)];}get[_0x2ff37e(0x1af)](){const _0x1c478e=_0x2ff37e;return this[_0x1c478e(0x179)];}get[_0x2ff37e(0x165)](){const _0x92f561=_0x2ff37e;return this[_0x92f561(0x175)];}get[_0x2ff37e(0x18a)](){return this['_onDoubleClickDelegate'];}constructor(_0x20478e,_0x6eb4a9){const _0x74f055=_0x2ff37e;super(_0x6eb4a9),this[_0x74f055(0x1a1)]=_0x74f055(0x191),this[_0x74f055(0x153)]=null,this['_world']=null,this[_0x74f055(0x15d)]=new Delegate(),this[_0x74f055(0x179)]=new Delegate(),this[_0x74f055(0x175)]=new Delegate(),this[_0x74f055(0x160)]=new Delegate(),this[_0x74f055(0x157)]=_0x20478e,this[_0x74f055(0x189)]=this[_0x74f055(0x195)](),this['rootComponent'][_0x74f055(0x180)]=this;}[_0x2ff37e(0x195)](){const _0x5c85ee=_0x2ff37e;return new SceneComponent(this[_0x5c85ee(0x157)]);}[_0x2ff37e(0x18f)](_0x126074=!![]){const _0x21e061=_0x2ff37e;let _0x436bf8=new webgpu.Vector3();return this[_0x21e061(0x19e)]()[_0x21e061(0x18c)](_0x436bf8),!_0x126074?_0x436bf8[_0x21e061(0x17c)](this[_0x21e061(0x1a6)]()):_0x436bf8;}[_0x2ff37e(0x171)](_0xdab097,_0x318f99=!![]){const _0xe0685d=_0x2ff37e,_0x2c6d24=this[_0xe0685d(0x1a0)];for(const _0x5f25ee of _0x2c6d24){if(_0x5f25ee['uuid']===_0xdab097)return _0x5f25ee;}if(_0x318f99)for(const _0x41464c of _0x2c6d24){const _0x317012=_0x41464c['getChildActorById'](_0xdab097,!![]);if(_0x317012)return _0x317012;}return null;}[_0x2ff37e(0x1ab)](_0xc6b0ff,_0x44a8ae=!![]){const _0x7eba3c=_0x2ff37e,_0x1ddad9=[],_0x16fad2=new Set(_0xc6b0ff),_0x16ab56=this[_0x7eba3c(0x1a0)];for(const _0x1efc3e of _0x16ab56){_0x16fad2[_0x7eba3c(0x17e)](_0x1efc3e[_0x7eba3c(0x196)])&&(_0x1ddad9[_0x7eba3c(0x16a)](_0x1efc3e),_0x16fad2[_0x7eba3c(0x197)](_0x1efc3e[_0x7eba3c(0x196)]));}if(_0x44a8ae&&_0x16fad2[_0x7eba3c(0x169)]>0x0)for(const _0x2c12c8 of _0x16ab56){const _0x5851ff=_0x2c12c8['getChildActorsByIds']([..._0x16fad2],!![]);for(const _0x1e7519 of _0x5851ff){_0x1ddad9[_0x7eba3c(0x16a)](_0x1e7519),_0x16fad2[_0x7eba3c(0x197)](_0x1e7519[_0x7eba3c(0x196)]);}if(_0x16fad2[_0x7eba3c(0x169)]===0x0)break;}return _0x1ddad9;}[_0x2ff37e(0x15e)](_0x58c690){const _0x117f2c=_0x2ff37e;return this['rootComponent'][_0x117f2c(0x15e)](_0x58c690);}[_0x2ff37e(0x17f)](_0x1f9314=!![]){const _0x22401a=_0x2ff37e;let _0x29dd68=new webgpu.Vector3(),_0x459ced=this[_0x22401a(0x189)][_0x22401a(0x19e)]();return _0x459ced[_0x22401a(0x18c)](_0x29dd68),_0x29dd68['y']=_0x459ced[_0x22401a(0x1a9)]['y'],!_0x1f9314?_0x29dd68[_0x22401a(0x17c)](this[_0x22401a(0x1a6)]()):_0x29dd68;}[_0x2ff37e(0x16e)](_0x268130=!![]){const _0x5b74ef=_0x2ff37e;let _0x3b6b0b=new webgpu.Vector3(),_0x2ca5fc=this['getBounds']();return _0x2ca5fc[_0x5b74ef(0x18c)](_0x3b6b0b),_0x3b6b0b['y']=_0x2ca5fc[_0x5b74ef(0x188)]['y'],!_0x268130?_0x3b6b0b[_0x5b74ef(0x17c)](this[_0x5b74ef(0x1a6)]()):_0x3b6b0b;}[_0x2ff37e(0x19e)](){const _0x2180cb=_0x2ff37e;return this[_0x2180cb(0x189)]['getBounds']();}[_0x2ff37e(0x181)](){const _0x2146e2=_0x2ff37e;let _0x416de7=this[_0x2146e2(0x1a0)];_0x416de7[_0x2146e2(0x19f)](_0x57b539=>{const _0x174e59=_0x2146e2;_0x57b539[_0x174e59(0x181)]();}),this[_0x2146e2(0x189)][_0x2146e2(0x181)]();}[_0x2ff37e(0x15a)](_0x469f84){const _0x4df1a9=_0x2ff37e;this[_0x4df1a9(0x189)][_0x4df1a9(0x15a)](_0x469f84);}[_0x2ff37e(0x1a8)](_0x92fd98,_0x20ef2f=!![]){const _0x309f4c=_0x2ff37e;this['rootComponent'][_0x309f4c(0x1a8)](_0x92fd98),_0x20ef2f&&this[_0x309f4c(0x1a0)][_0x309f4c(0x19f)](_0x5646f0=>{const _0x2b73c4=_0x309f4c;_0x5646f0[_0x2b73c4(0x1a8)](_0x92fd98,_0x20ef2f);});}[_0x2ff37e(0x1a7)](_0x2858fd){const _0x3507a8=_0x2ff37e;if(!this['isTickEnabled'])return;super[_0x3507a8(0x1a7)](_0x2858fd),this['rootComponent'][_0x3507a8(0x1a7)](_0x2858fd);}['getPosition'](){const _0x119b28=_0x2ff37e;return this[_0x119b28(0x189)][_0x119b28(0x1a6)]();}['setPosition'](..._0x55a4de){const _0x32c3ea=_0x2ff37e;_0x55a4de[_0x32c3ea(0x16c)]===0x1?this[_0x32c3ea(0x189)][_0x32c3ea(0x185)](_0x55a4de[0x0]):this[_0x32c3ea(0x189)]['setPosition'](_0x55a4de[0x0],_0x55a4de[0x1],_0x55a4de[0x2]);}[_0x2ff37e(0x193)](){const _0x4aa943=_0x2ff37e;return this['rootComponent'][_0x4aa943(0x193)]();}[_0x2ff37e(0x1a3)](..._0x535024){const _0x440bb8=_0x2ff37e;_0x535024[_0x440bb8(0x16c)]===0x1?this[_0x440bb8(0x189)][_0x440bb8(0x1a3)](_0x535024[0x0]):this[_0x440bb8(0x189)]['setRotation'](_0x535024[0x0],_0x535024[0x1],_0x535024[0x2]);}[_0x2ff37e(0x19c)](){const _0x3da89e=_0x2ff37e;return this['rootComponent'][_0x3da89e(0x19c)]();}[_0x2ff37e(0x18d)](..._0x48513f){const _0x212d8a=_0x2ff37e;_0x48513f[_0x212d8a(0x16c)]===0x1?this[_0x212d8a(0x189)][_0x212d8a(0x18d)](_0x48513f[0x0]):this['rootComponent'][_0x212d8a(0x18d)](_0x48513f[0x0],_0x48513f[0x1],_0x48513f[0x2],_0x48513f[0x3]);}[_0x2ff37e(0x1ae)](){const _0x4fa7b4=_0x2ff37e;return this[_0x4fa7b4(0x189)][_0x4fa7b4(0x1ae)]();}[_0x2ff37e(0x164)](..._0x2c162d){const _0x1d552d=_0x2ff37e;_0x2c162d[_0x1d552d(0x16c)]===0x1?this[_0x1d552d(0x189)][_0x1d552d(0x164)](_0x2c162d[0x0]):this['rootComponent']['setScale'](_0x2c162d[0x0],_0x2c162d[0x1],_0x2c162d[0x2]);}[_0x2ff37e(0x1a5)](){const _0x3c2da2=_0x2ff37e;return this[_0x3c2da2(0x189)]['getWorldMatrix']();}['setWorldMatrix'](_0x229c8a){const _0x55bfa8=_0x2ff37e;this[_0x55bfa8(0x189)][_0x55bfa8(0x149)](_0x229c8a);}[_0x2ff37e(0x163)](){const _0x1e362a=_0x2ff37e;return this[_0x1e362a(0x189)][_0x1e362a(0x163)]();}[_0x2ff37e(0x178)](){const _0x2c944c=_0x2ff37e;return this[_0x2c944c(0x189)][_0x2c944c(0x178)]();}['getWorldQuaternion'](){const _0x32a8d7=_0x2ff37e;return this[_0x32a8d7(0x189)][_0x32a8d7(0x18e)]();}[_0x2ff37e(0x194)](){const _0x511578=_0x2ff37e;return this[_0x511578(0x189)][_0x511578(0x194)]();}[_0x2ff37e(0x14e)](){const _0x4922ed=_0x2ff37e;return this[_0x4922ed(0x189)][_0x4922ed(0x14e)]();}[_0x2ff37e(0x18b)](){const _0x4dbcd5=_0x2ff37e;return this[_0x4dbcd5(0x189)]['getWorldUpDirection']();}['getWorldRightDirection'](){const _0x110f3c=_0x2ff37e;return this[_0x110f3c(0x189)][_0x110f3c(0x14f)]();}[_0x2ff37e(0x14d)](_0x129fa8,_0x15cea3){const _0x4c59bb=_0x2ff37e;let _0x339f24=this[_0x4c59bb(0x1a6)]();this[_0x4c59bb(0x185)](_0x339f24['x']+_0x129fa8['x']*_0x15cea3,_0x339f24['y']+_0x129fa8['y']*_0x15cea3,_0x339f24['z']+_0x129fa8['z']*_0x15cea3);}[_0x2ff37e(0x1a4)](_0x1c8b2e){const _0x317b92=_0x2ff37e;return this[_0x317b92(0x189)][_0x317b92(0x1a4)](_0x1c8b2e);}[_0x2ff37e(0x182)](_0x11a0ec){const _0x4a9b43=_0x2ff37e;return this[_0x4a9b43(0x189)][_0x4a9b43(0x182)](_0x11a0ec);}[_0x2ff37e(0x14c)](){const _0x51acdf=_0x2ff37e;return this[_0x51acdf(0x189)]['childrenComponents'];}['addComponent'](_0x10accb,_0x407bf7=exports.AttachmentRules[_0x2ff37e(0x155)]){const _0x40e875=_0x2ff37e;this[_0x40e875(0x189)][_0x40e875(0x173)](_0x10accb,_0x407bf7),this[_0x40e875(0x151)]&&_0x10accb[_0x40e875(0x16d)](this[_0x40e875(0x151)]);}[_0x2ff37e(0x184)](_0x3dcf6e){const _0x124de9=_0x2ff37e;if(_0x3dcf6e===this[_0x124de9(0x153)])return;this['rootComponent'][_0x124de9(0x1ad)](_0x3dcf6e);}[_0x2ff37e(0x174)](){const _0x2865c5=_0x2ff37e;this[_0x2865c5(0x189)][_0x2865c5(0x183)]();}['addChildActor'](_0x2f9591,_0x202b95=exports.AttachmentRules[_0x2ff37e(0x172)]){const _0x241c67=_0x2ff37e;if(!_0x2f9591[_0x241c67(0x189)]){console[_0x241c67(0x199)]('Actor\x20::\x20addChildActor\x20:\x20the\x20\x27newActor\x27\x20you\x20want\x20to\x20add\x20has\x20no\x20rootcomponent');return;}if(_0x2f9591[_0x241c67(0x180)]===this)return;_0x202b95===exports.AttachmentRules[_0x241c67(0x155)]&&this['rootComponent'][_0x241c67(0x15b)](_0x2f9591['rootComponent']);if(_0x202b95===exports.AttachmentRules[_0x241c67(0x172)]){let _0x3ab171=_0x2f9591[_0x241c67(0x1a5)]();this[_0x241c67(0x189)][_0x241c67(0x15b)](_0x2f9591[_0x241c67(0x189)]),_0x2f9591[_0x241c67(0x149)](_0x3ab171);}this[_0x241c67(0x151)]&&this[_0x241c67(0x151)][_0x241c67(0x186)][_0x241c67(0x154)]();}[_0x2ff37e(0x161)](_0x2f2d22){const _0x59c49=_0x2ff37e;let _0x5dfdcc=_0x2f2d22[_0x59c49(0x1a5)]();this[_0x59c49(0x189)][_0x59c49(0x192)](_0x2f2d22[_0x59c49(0x189)]),_0x2f2d22['setWorldMatrix'](_0x5dfdcc);}[_0x2ff37e(0x14a)](){const _0x22322b=_0x2ff37e;this['parentActor']&&this[_0x22322b(0x180)][_0x22322b(0x161)](this);}['onAddedToWorld'](_0x2cf7e3){const _0x4d6164=_0x2ff37e;this['_world']=_0x2cf7e3,this[_0x4d6164(0x189)][_0x4d6164(0x16d)](this[_0x4d6164(0x151)]),this[_0x4d6164(0x1a0)][_0x4d6164(0x19f)](_0x20bafe=>{const _0x496f06=_0x4d6164;_0x20bafe[_0x496f06(0x16d)](_0x2cf7e3);});}[_0x2ff37e(0x16f)](){const _0x1d9763=_0x2ff37e;this[_0x1d9763(0x151)]=null;}get[_0x2ff37e(0x15f)](){const _0x3f7c29=_0x2ff37e;return this[_0x3f7c29(0x189)][_0x3f7c29(0x15f)];}set[_0x2ff37e(0x15f)](_0x4e0d72){const _0x3d20d8=_0x2ff37e;this[_0x3d20d8(0x189)][_0x3d20d8(0x15f)]=_0x4e0d72;}get['isClickEnabled'](){const _0x3785e3=_0x2ff37e;return this[_0x3785e3(0x189)][_0x3785e3(0x177)];}set['isClickEnabled'](_0x175e8c){const _0x3a6252=_0x2ff37e;this[_0x3a6252(0x189)]['isClickEnabled']=_0x175e8c;}[_0x2ff37e(0x1b0)](_0x40189f){const _0x4fcb1f=_0x2ff37e;this[_0x4fcb1f(0x15d)]['broadcast'](_0x40189f);}['onActorHoverEnd'](_0x165401){const _0x4ec29d=_0x2ff37e;this[_0x4ec29d(0x179)][_0x4ec29d(0x187)](_0x165401);}[_0x2ff37e(0x176)](_0x3f6ea5){const _0x2f5195=_0x2ff37e;this[_0x2f5195(0x175)][_0x2f5195(0x187)](_0x3f6ea5);}[_0x2ff37e(0x158)](_0x5359e1){const _0x3d2a6b=_0x2ff37e;this[_0x3d2a6b(0x160)]['broadcast'](_0x5359e1);}}function _0x12c7(){const _0x4b977a=['getCenter','setQuaternion','getWorldQuaternion','getBoundsCenterPosition','addTickableActor','Actor','detachComponent','getRotation','getWorldScale','constructRootComponent','uuid','delete','234778KuZseh','error','world','threeObject','getQuaternion','isTickEnabled','getBounds','forEach','childActors','_name','870312kXGNIR','setRotation','worldToLocal','getWorldMatrix','getPosition','tick','setLayers','max','387qNrNXX','getChildActorsByIds','LYObject','removeChildComponent','getScale','onHoverEndDelegate','onActorHoverBegin','setWorldMatrix','removeFromParent','detachFromParentComponent','getComponents','addLocalOffset','getWorldForwardDirection','getWorldRightDirection','isVisible','_world','7345464bzsxeT','_rootComponent','markRenderStateDirty','KeepRelative','childrenComponents','app','onActorDoubleClick','27FVFaHI','setVisible','attachComponent','3452094xjvTyH','_onHoverBeginDelegate','getComponentById','isHoverEnabled','_onDoubleClickDelegate','removeChildActor','userData','getWorldPosition','setScale','onClickDelegate','removeTickableActor','name','children','size','push','onHoverBeginDelegate','length','onAddedToWorld','getBoundsBottomCenterPosition','onRemovedFromWorld','63448nafVBG','getChildActorById','KeepWorld','addChildComponent','clearComponent','_onClickDelegate','onActorClick','isClickEnabled','getWorldRotation','_onHoverEndDelegate','rootComponent\x20is\x20invalid','1356448ztasjN','sub','4987810Naagjh','has','getBoundsTopCenterPosition','parentActor','destroy','localToWorld','destroyChildren','removeComponent','setPosition','viewport','broadcast','min','rootComponent','onDoubleClickDelegate','getWorldUpDirection'];_0x12c7=function(){return _0x4b977a;};return _0x12c7();}
|
|
85
85
|
|
|
86
|
-
|
|
86
|
+
function _0x4a35(_0x2aae78,_0x165bd6){_0x2aae78=_0x2aae78-0x86;const _0x4b6d1a=_0x4b6d();let _0x4a35f8=_0x4b6d1a[_0x2aae78];return _0x4a35f8;}const _0xbc251e=_0x4a35;(function(_0x2942a0,_0x555d10){const _0x561e60=_0x4a35,_0x4c63a1=_0x2942a0();while(!![]){try{const _0x4df483=-parseInt(_0x561e60(0x91))/0x1*(-parseInt(_0x561e60(0x86))/0x2)+parseInt(_0x561e60(0x8f))/0x3*(parseInt(_0x561e60(0x8e))/0x4)+-parseInt(_0x561e60(0x89))/0x5+-parseInt(_0x561e60(0x90))/0x6+parseInt(_0x561e60(0x95))/0x7+parseInt(_0x561e60(0x88))/0x8+-parseInt(_0x561e60(0x8d))/0x9*(-parseInt(_0x561e60(0x8c))/0xa);if(_0x4df483===_0x555d10)break;else _0x4c63a1['push'](_0x4c63a1['shift']());}catch(_0x286ea9){_0x4c63a1['push'](_0x4c63a1['shift']());}}}(_0x4b6d,0x8b8ee));function _0x4b6d(){const _0x1680c1=['2yoQJjS','forEach','699360WiTsfr','771610dIOKZi','disposeMaterialTextures','disposeMeshResource','107110tgnCIb','18SuAsrr','2528468LVUnYA','3hyHwdY','5757456ipZIKR','547670AQjIkE','dispose','material','object','2778293xxMSrb','isArray','disposeMeshMaterial','children'];_0x4b6d=function(){return _0x1680c1;};return _0x4b6d();}class ThreeObjectLibrary{static[_0xbc251e(0x8a)](_0x5a6831){Object['keys'](_0x5a6831)['forEach'](_0x14718c=>{const _0x4e54e2=_0x4a35,_0x59f56f=_0x5a6831[_0x14718c];_0x59f56f&&typeof _0x59f56f===_0x4e54e2(0x94)&&'isTexture'in _0x59f56f&&_0x59f56f['dispose']();});}static[_0xbc251e(0x97)](_0x45dcde){const _0x19a607=_0xbc251e;let _0x4676d2=Array[_0x19a607(0x96)](_0x45dcde[_0x19a607(0x93)])?_0x45dcde['material']:[_0x45dcde[_0x19a607(0x93)]];_0x4676d2[_0x19a607(0x87)](_0x2f085f=>{const _0x434d2d=_0x19a607;ThreeObjectLibrary['disposeMaterialTextures'](_0x2f085f),_0x2f085f[_0x434d2d(0x92)]();});}static[_0xbc251e(0x8b)](_0x1e9b17,_0x44a1c8=![]){const _0x1e6aeb=_0xbc251e;ThreeObjectLibrary[_0x1e6aeb(0x97)](_0x1e9b17),_0x1e9b17['geometry']['dispose'](),_0x44a1c8&&_0x1e9b17[_0x1e6aeb(0x98)][_0x1e6aeb(0x87)](_0x4e4762=>{const _0x1607b5=_0x1e6aeb;_0x4e4762 instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x1607b5(0x8b)](_0x4e4762,!![]);});}static['disposeObject3DResource'](_0x1740e9){_0x1740e9['traverse'](_0x5a8885=>{const _0x4de616=_0x4a35;_0x5a8885 instanceof webgpu.Mesh&&ThreeObjectLibrary[_0x4de616(0x8b)](_0x5a8885);});}}
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
function _0x26d3(){var _0xd3b1fc=['8048DcCTqJ','1794690MGtxbe','createDefaultObject','8489530HAFSIs','6881QbZFpj','52641875EohsEh','176832WzpFZx','threeObject','userData','2gyZohb','obj','44YAwEnF','40kuVMXp','2734713CDdRQI','1054132qLtWqm'];_0x26d3=function(){return _0xd3b1fc;};return _0x26d3();}var _0x426ebb=_0x1a4a;(function(_0x3f8626,_0x5060d9){var _0x3bf0dc=_0x1a4a,_0xfd1169=_0x3f8626();while(!![]){try{var _0x504c3e=-parseInt(_0x3bf0dc(0x1df))/0x1*(parseInt(_0x3bf0dc(0x1d5))/0x2)+parseInt(_0x3bf0dc(0x1dc))/0x3*(-parseInt(_0x3bf0dc(0x1e1))/0x4)+-parseInt(_0x3bf0dc(0x1d9))/0x5+-parseInt(_0x3bf0dc(0x1d7))/0x6+-parseInt(_0x3bf0dc(0x1da))/0x7*(-parseInt(_0x3bf0dc(0x1d6))/0x8)+-parseInt(_0x3bf0dc(0x1e3))/0x9*(parseInt(_0x3bf0dc(0x1e2))/0xa)+parseInt(_0x3bf0dc(0x1db))/0xb;if(_0x504c3e===_0x5060d9)break;else _0xfd1169['push'](_0xfd1169['shift']());}catch(_0x42f20c){_0xfd1169['push'](_0xfd1169['shift']());}}}(_0x26d3,0xd1da6));function _0x1a4a(_0x13ed45,_0x17262a){_0x13ed45=_0x13ed45-0x1d5;var _0x26d386=_0x26d3();var _0x1a4a74=_0x26d386[_0x13ed45];return _0x1a4a74;}class LevelComponent extends SceneComponent{get[_0x426ebb(0x1dd)](){var _0x208237=_0x426ebb;if(!this[_0x208237(0x1e0)])throw Error('three\x20object\x20is\x20invalid');return this['obj'];}set['threeObject'](_0x329c38){var _0x5f06cd=_0x426ebb;this[_0x5f06cd(0x1e0)]=_0x329c38,this[_0x5f06cd(0x1e0)]&&(this[_0x5f06cd(0x1e0)][_0x5f06cd(0x1de)]['LYObject']=this);}constructor(_0x11adb6,_0x4deff4){super(_0x11adb6,_0x4deff4);}[_0x426ebb(0x1d8)](){return new three.Scene();}}
|
|
89
89
|
|
|
90
|
-
|
|
90
|
+
var _0x3a958f=_0x3294;(function(_0x414848,_0x1be5e2){var _0x154a8a=_0x3294,_0x461bb9=_0x414848();while(!![]){try{var _0x589c6b=-parseInt(_0x154a8a(0x16e))/0x1+parseInt(_0x154a8a(0x17a))/0x2*(-parseInt(_0x154a8a(0x174))/0x3)+-parseInt(_0x154a8a(0x16c))/0x4+-parseInt(_0x154a8a(0x183))/0x5*(-parseInt(_0x154a8a(0x180))/0x6)+parseInt(_0x154a8a(0x17b))/0x7*(-parseInt(_0x154a8a(0x178))/0x8)+-parseInt(_0x154a8a(0x17f))/0x9+parseInt(_0x154a8a(0x172))/0xa;if(_0x589c6b===_0x1be5e2)break;else _0x461bb9['push'](_0x461bb9['shift']());}catch(_0x15a3a6){_0x461bb9['push'](_0x461bb9['shift']());}}}(_0x1579,0xe17fe));function _0x1579(){var _0x480e2b=['threeObject','forEach','60918820verDZW','uuid','1618647kDIGsQ','disposeMeshResource','scene','rootComponent','8WthfHC','childActors','2beyRCE','11739847rgCHUh','tick','traverse','app','6302448QRhasI','491412rPScOZ','destroy','isTickEnabled','30gEncNo','constructRootComponent','_scene','6818412CCpquE','scene\x20is\x20null','1038103TuUjwa','clearLevel'];_0x1579=function(){return _0x480e2b;};return _0x1579();}function _0x3294(_0x27eeef,_0x22bd47){_0x27eeef=_0x27eeef-0x16c;var _0x15794d=_0x1579();var _0x32942c=_0x15794d[_0x27eeef];return _0x32942c;}class LevelActor extends Actor{get[_0x3a958f(0x176)](){var _0x2475ac=_0x3a958f;if(!this[_0x2475ac(0x185)])throw new Error(_0x2475ac(0x16d));return this['_scene'];}constructor(_0x29cdc7,_0x421fcf){var _0x38905f=_0x3a958f;super(_0x29cdc7,_0x421fcf),this[_0x38905f(0x185)]=null,this['_scene']=this[_0x38905f(0x177)][_0x38905f(0x170)],this[_0x38905f(0x182)]=![];}[_0x3a958f(0x184)](){var _0x45c0d2=_0x3a958f;return new LevelComponent(this[_0x45c0d2(0x17e)],this[_0x45c0d2(0x173)]);}[_0x3a958f(0x17c)](_0x5eebae){var _0x2fb97e=_0x3a958f;if(!this[_0x2fb97e(0x182)])return;super[_0x2fb97e(0x17c)](_0x5eebae);}[_0x3a958f(0x181)](){var _0x103f48=_0x3a958f;this[_0x103f48(0x16f)](),super[_0x103f48(0x181)]();}[_0x3a958f(0x16f)](){var _0x23f50d=_0x3a958f;this[_0x23f50d(0x179)][_0x23f50d(0x171)](_0x3cb315=>{var _0x2d50b8=_0x23f50d;_0x3cb315[_0x2d50b8(0x181)]();}),this[_0x23f50d(0x176)][_0x23f50d(0x17d)](_0x22e807=>{var _0xe27d9=_0x23f50d;_0x22e807 instanceof webgpu.Mesh&&ThreeObjectLibrary[_0xe27d9(0x175)](_0x22e807);});}}
|
|
91
91
|
|
|
92
|
-
(function(
|
|
92
|
+
function _0x3f01(_0x294c57,_0x525943){_0x294c57=_0x294c57-0x17d;const _0x1d388e=_0x1d38();let _0x3f015b=_0x1d388e[_0x294c57];return _0x3f015b;}(function(_0x3340a6,_0x21434b){const _0x4c553b=_0x3f01,_0x374014=_0x3340a6();while(!![]){try{const _0x2aaf00=-parseInt(_0x4c553b(0x17d))/0x1+parseInt(_0x4c553b(0x180))/0x2+parseInt(_0x4c553b(0x183))/0x3+-parseInt(_0x4c553b(0x184))/0x4+-parseInt(_0x4c553b(0x17f))/0x5*(parseInt(_0x4c553b(0x185))/0x6)+-parseInt(_0x4c553b(0x181))/0x7*(parseInt(_0x4c553b(0x182))/0x8)+parseInt(_0x4c553b(0x17e))/0x9;if(_0x2aaf00===_0x21434b)break;else _0x374014['push'](_0x374014['shift']());}catch(_0x231079){_0x374014['push'](_0x374014['shift']());}}}(_0x1d38,0xe4a16));function _0x1d38(){const _0x4f69ee=['900570OEMXAk','6567816IzLAfC','24dJkVtq','802864dposSJ','32352417AOYKpg','591535awixVN','51440bIdaUF','7NJmVHH','528856cgugpD'];_0x1d38=function(){return _0x4f69ee;};return _0x1d38();}const DefaultWorldParam={'levelActorClass':LevelActor};
|
|
93
93
|
|
|
94
|
-
const
|
|
94
|
+
const _0xd16ca9=_0x3b05;(function(_0x202933,_0x59b67f){const _0x319800=_0x3b05,_0x5a05f8=_0x202933();while(!![]){try{const _0x573b29=parseInt(_0x319800(0xec))/0x1*(-parseInt(_0x319800(0xd4))/0x2)+-parseInt(_0x319800(0xdc))/0x3*(-parseInt(_0x319800(0xda))/0x4)+parseInt(_0x319800(0xf9))/0x5+-parseInt(_0x319800(0xee))/0x6+parseInt(_0x319800(0xf8))/0x7*(-parseInt(_0x319800(0xf1))/0x8)+-parseInt(_0x319800(0xe6))/0x9+parseInt(_0x319800(0xf4))/0xa*(parseInt(_0x319800(0xd9))/0xb);if(_0x573b29===_0x59b67f)break;else _0x5a05f8['push'](_0x5a05f8['shift']());}catch(_0x239c90){_0x5a05f8['push'](_0x5a05f8['shift']());}}}(_0x5352,0x94c7d));function _0x5352(){const _0x332f76=['worldParam','622061ebhehr','52568fCnQCD','_onCameraChangedDelegate','216qxUhQl','createCamera','world','viewportClass','postProcessParam','destroy','clock','_world','classes','tick','1720827WqhbdK','assetManagerClass','updateCamera','_appParam','renderAsImage','assetManager','365GWzrcQ','onCameraChangedDelegate','6097488RINxQe','renderParam','viewport','195816suzRxg','_clock','controllerClass','70xPQMdy','cameraParam','addTickingFunction','clear','56gIJEMa','4384080CDKwaF','_assetManager','postConstruct','markRenderStateDirty','broadcast','splice','removeTickingFunction','render','updateProjectionMatrix','_camera','_viewport','aspect','getDelta','setAnimationLoop','init','camera','isRenderEveryFrame','_tickingFunctions','1130dbLOTj','controller','_controller','viewportParam'];_0x5352=function(){return _0x332f76;};return _0x5352();}function _0x3b05(_0xbd1e1c,_0x3d299f){_0xbd1e1c=_0xbd1e1c-0xc6;const _0x535297=_0x5352();let _0x3b0534=_0x535297[_0xbd1e1c];return _0x3b0534;}class ThreeJsApp{get[_0xd16ca9(0xd1)](){return this['_camera'];}get[_0xd16ca9(0xe2)](){const _0xbdf3a2=_0xd16ca9;return this[_0xbdf3a2(0xf2)];}get[_0xd16ca9(0xde)](){return this['_world'];}get[_0xd16ca9(0xf0)](){return this['_viewport'];}get[_0xd16ca9(0xd5)](){const _0x1154a8=_0xd16ca9;return this[_0x1154a8(0xd6)];}get[_0xd16ca9(0xeb)](){const _0x172b0c=_0xd16ca9;return this[_0x172b0c(0xfa)];}get['appParam'](){return this['_appParam'];}get[_0xd16ca9(0xed)](){const _0x34d786=_0xd16ca9;return this[_0x34d786(0xdb)];}constructor(_0x41e89a=DefaultAppParam){const _0x570ad8=_0xd16ca9;this[_0x570ad8(0xd3)]=[],this[_0x570ad8(0xe9)]={'viewportParam':DefaultViewportParam},this[_0x570ad8(0xdb)]=new Delegate(),this[_0x570ad8(0xe9)]['cameraParam']=_0x41e89a['cameraParam']?_0x41e89a[_0x570ad8(0xf5)]:DefaultCameraParam,this[_0x570ad8(0xe9)][_0x570ad8(0xef)]=_0x41e89a[_0x570ad8(0xef)]?_0x41e89a[_0x570ad8(0xef)]:DefaultRendererParameters,this[_0x570ad8(0xe9)][_0x570ad8(0xe0)]=_0x41e89a[_0x570ad8(0xe0)]?_0x41e89a[_0x570ad8(0xe0)]:DefaultPostProcessParam,this[_0x570ad8(0xe9)]['viewportParam']=_0x41e89a[_0x570ad8(0xd7)]?_0x41e89a[_0x570ad8(0xd7)]:DefaultViewportParam,this[_0x570ad8(0xe9)]['classes']=_0x41e89a['classes']?_0x41e89a['classes']:{'assetManagerClass':AssetManager,'controllerClass':Controller,'worldClass':World,'viewportClass':Viewport},this[_0x570ad8(0xe9)][_0x570ad8(0xd2)]=_0x41e89a['isRenderEveryFrame'],this[_0x570ad8(0xf2)]=new webgpu.Clock(),this[_0x570ad8(0xcb)]=CameraFactory[_0x570ad8(0xdd)](this[_0x570ad8(0xe9)][_0x570ad8(0xf5)]),this[_0x570ad8(0xe3)]=new this[(_0x570ad8(0xe9))][(_0x570ad8(0xe4))]['worldClass'](this,this[_0x570ad8(0xe9)][_0x570ad8(0xd8)]?this[_0x570ad8(0xe9)][_0x570ad8(0xd8)]:DefaultWorldParam),this[_0x570ad8(0xcc)]=new this[(_0x570ad8(0xe9))][(_0x570ad8(0xe4))][(_0x570ad8(0xdf))](this,this[_0x570ad8(0xe9)]['viewportParam'],this['_appParam']['renderParam'],this[_0x570ad8(0xe9)][_0x570ad8(0xe0)]),this[_0x570ad8(0xd6)]=new this[(_0x570ad8(0xe9))]['classes'][(_0x570ad8(0xf3))](this),this[_0x570ad8(0xfa)]=new this[(_0x570ad8(0xe9))]['classes'][(_0x570ad8(0xe7))](this),this[_0x570ad8(0xf0)]['renderer'][_0x570ad8(0xcf)](()=>{const _0x4ddd7e=_0x570ad8,_0x5e1239=this[_0x4ddd7e(0xf2)][_0x4ddd7e(0xce)]();this[_0x4ddd7e(0xe5)](_0x5e1239);}),this[_0x570ad8(0xfb)]();}['postConstruct'](){const _0x3b4487=_0xd16ca9;this[_0x3b4487(0xd5)][_0x3b4487(0xd0)](),this[_0x3b4487(0xde)][_0x3b4487(0xd0)](),this[_0x3b4487(0xf0)][_0x3b4487(0xd0)]();}[_0xd16ca9(0xd0)](){}['tick'](_0x4ef991){const _0x24291d=_0xd16ca9;this[_0x24291d(0xd6)][_0x24291d(0xe5)](_0x4ef991),this[_0x24291d(0xde)][_0x24291d(0xe5)](_0x4ef991),this[_0x24291d(0xd3)]['forEach'](_0x75145f=>{_0x75145f(_0x4ef991);}),this[_0x24291d(0xe9)][_0x24291d(0xd2)]&&this['viewport']['markRenderStateDirty'](),this[_0x24291d(0xf0)][_0x24291d(0xc9)]();}[_0xd16ca9(0xf6)](_0x11ecec){const _0x11cbb1=_0xd16ca9;this[_0x11cbb1(0xd3)]['push'](_0x11ecec);}[_0xd16ca9(0xc8)](_0x4cb197){const _0x46d210=_0xd16ca9,_0x400225=this[_0x46d210(0xd3)]['indexOf'](_0x4cb197);_0x400225>=0x0&&this[_0x46d210(0xd3)][_0x46d210(0xc7)](_0x400225,0x1);}[_0xd16ca9(0xe1)](){const _0x3e7053=_0xd16ca9;this[_0x3e7053(0xed)][_0x3e7053(0xf7)](),this[_0x3e7053(0xd5)][_0x3e7053(0xe1)](),this[_0x3e7053(0xde)][_0x3e7053(0xe1)](),this[_0x3e7053(0xf0)][_0x3e7053(0xe1)](),this['_assetManager']['clearAssets']();}['updateCamera'](_0x5aa556){const _0x114103=_0xd16ca9,_0x24ac13=this['camera'];this['_camera']=CameraFactory['updataCamera'](_0x5aa556,this[_0x114103(0xd1)]),_0x24ac13!==this[_0x114103(0xd1)]&&(this[_0x114103(0xdb)][_0x114103(0xc6)](),this[_0x114103(0xd5)][_0x114103(0xe8)]()),this[_0x114103(0xcb)][_0x114103(0xca)](),this[_0x114103(0xf0)][_0x114103(0xfc)]();}['onWindowResize'](_0x58e39d,_0x29a8db){const _0x57288e=_0xd16ca9;this[_0x57288e(0xd1)]instanceof webgpu.PerspectiveCamera&&(this[_0x57288e(0xd1)][_0x57288e(0xcd)]=_0x58e39d/_0x29a8db),this[_0x57288e(0xd1)]['updateProjectionMatrix']();}async[_0xd16ca9(0xea)](_0x41e0fc=0x400,_0x4e4e23=0x400){const _0x3ef97a=_0xd16ca9;return await this[_0x3ef97a(0xf0)][_0x3ef97a(0xea)](_0x41e0fc,_0x4e4e23);}}
|
|
95
95
|
|
|
96
|
-
function
|
|
96
|
+
function _0xfe67(_0x38101e,_0x37aa70){_0x38101e=_0x38101e-0x173;var _0x1ab3f4=_0x1ab3();var _0xfe6750=_0x1ab3f4[_0x38101e];return _0xfe6750;}function _0x1ab3(){var _0x227586=['obj','LYObject','8345810duDKJk','2gHMDKw','intensity','threeObject','1008204ugmjmW','color','getHex','7633422vFthdO','426994jWJEQn','14kLgmyl','144jWXkYp','95161mBCViS','8ptdCzA','8fJcjdB','224765jSgHcg','1226769lulQGe'];_0x1ab3=function(){return _0x227586;};return _0x1ab3();}var _0x1d5a09=_0xfe67;(function(_0x232742,_0x2f9d76){var _0x16b529=_0xfe67,_0x32187d=_0x232742();while(!![]){try{var _0x598e02=parseInt(_0x16b529(0x176))/0x1+-parseInt(_0x16b529(0x181))/0x2*(-parseInt(_0x16b529(0x17d))/0x3)+-parseInt(_0x16b529(0x17a))/0x4*(-parseInt(_0x16b529(0x17c))/0x5)+-parseInt(_0x16b529(0x184))/0x6*(parseInt(_0x16b529(0x177))/0x7)+parseInt(_0x16b529(0x17b))/0x8*(-parseInt(_0x16b529(0x175))/0x9)+parseInt(_0x16b529(0x180))/0xa+parseInt(_0x16b529(0x179))/0xb*(-parseInt(_0x16b529(0x178))/0xc);if(_0x598e02===_0x2f9d76)break;else _0x32187d['push'](_0x32187d['shift']());}catch(_0x1cc438){_0x32187d['push'](_0x32187d['shift']());}}}(_0x1ab3,0x7352e));class LightComponent extends SceneComponent{get[_0x1d5a09(0x183)](){var _0x26d9c1=_0x1d5a09;if(!this[_0x26d9c1(0x17e)])throw Error('three\x20object\x20is\x20invalid');return this[_0x26d9c1(0x17e)];}set['threeObject'](_0x2dc488){var _0x273bc6=_0x1d5a09;this[_0x273bc6(0x17e)]=_0x2dc488,this[_0x273bc6(0x17e)]&&(this[_0x273bc6(0x17e)]['userData'][_0x273bc6(0x17f)]=this);}get[_0x1d5a09(0x173)](){var _0x432f48=_0x1d5a09;return this[_0x432f48(0x183)][_0x432f48(0x173)][_0x432f48(0x174)]();}set[_0x1d5a09(0x173)](_0x453081){var _0x3a8d77=_0x1d5a09;this[_0x3a8d77(0x183)][_0x3a8d77(0x173)]['set'](_0x453081);}get['intensity'](){var _0x40f371=_0x1d5a09;return this[_0x40f371(0x183)]['intensity'];}set['intensity'](_0xd8515a){var _0x428cee=_0x1d5a09;this['threeObject'][_0x428cee(0x182)]=_0xd8515a;}constructor(_0x59efab,_0x202a22){super(_0x59efab,_0x202a22);}}
|
|
97
97
|
|
|
98
|
-
var
|
|
98
|
+
var _0xc331c1=_0x3a25;(function(_0x3752da,_0x5ae573){var _0x1ecca9=_0x3a25,_0x2c7df1=_0x3752da();while(!![]){try{var _0x3b9355=-parseInt(_0x1ecca9(0x1aa))/0x1*(-parseInt(_0x1ecca9(0x1a4))/0x2)+-parseInt(_0x1ecca9(0x1b8))/0x3*(-parseInt(_0x1ecca9(0x1b4))/0x4)+-parseInt(_0x1ecca9(0x1a8))/0x5+parseInt(_0x1ecca9(0x1b3))/0x6+-parseInt(_0x1ecca9(0x1ad))/0x7*(parseInt(_0x1ecca9(0x1a7))/0x8)+-parseInt(_0x1ecca9(0x1a2))/0x9+parseInt(_0x1ecca9(0x1a9))/0xa*(parseInt(_0x1ecca9(0x1a1))/0xb);if(_0x3b9355===_0x5ae573)break;else _0x2c7df1['push'](_0x2c7df1['shift']());}catch(_0x49e23e){_0x2c7df1['push'](_0x2c7df1['shift']());}}}(_0x5160,0x6d60d));function _0x5160(){var _0x196892=['viewport','set','28173KBbGQw','color','world','1036442FuPpBy','4046319XnCokd','castShadow','60708Hqnlke','userData','update','549928JDMFTA','700060rzeENT','60gFkhvg','29rmehJr','obj','three\x20object\x20is\x20invalid','91IJBjZU','LYObject','intensity','markRenderStateDirty','setPosition','onAddedToWorld','1505256VNCRha','100jDmTOB','threeObject'];_0x5160=function(){return _0x196892;};return _0x5160();}function _0x3a25(_0x12b378,_0x4c59c6){_0x12b378=_0x12b378-0x19f;var _0x516027=_0x5160();var _0x3a2563=_0x516027[_0x12b378];return _0x3a2563;}class DirectionalLightComponent extends LightComponent{get[_0xc331c1(0x1b5)](){var _0x5c1909=_0xc331c1;if(!this[_0x5c1909(0x1ab)])throw Error(_0x5c1909(0x1ac));return this['obj'];}set['threeObject'](_0x1ddd9b){var _0x47a311=_0xc331c1;this[_0x47a311(0x1ab)]=_0x1ddd9b,this[_0x47a311(0x1ab)]&&(this[_0x47a311(0x1ab)][_0x47a311(0x1a5)][_0x47a311(0x1ae)]=this);}get[_0xc331c1(0x1a3)](){var _0x449d57=_0xc331c1;return this[_0x449d57(0x1b5)][_0x449d57(0x1a3)];}set[_0xc331c1(0x1a3)](_0x4d5b0f){var _0x1a6bf8=_0xc331c1;this[_0x1a6bf8(0x1b5)][_0x1a6bf8(0x1a3)]=_0x4d5b0f;}constructor(_0x475286,_0x3e1f59=0xffffff,_0x371ecf=0xa,_0x4e9f8a){var _0x461668=_0xc331c1;super(_0x475286,_0x4e9f8a),this[_0x461668(0x1b5)][_0x461668(0x19f)][_0x461668(0x1b7)](_0x3e1f59),this['threeObject'][_0x461668(0x1af)]=_0x371ecf;}['createDefaultObject'](){return new webgpu.DirectionalLight(0xffffff,0xa);}[_0xc331c1(0x1b1)](..._0x4597a1){var _0x1a7666=_0xc331c1;_0x4597a1['length']===0x1?super[_0x1a7666(0x1b1)](_0x4597a1[0x0]):super[_0x1a7666(0x1b1)](_0x4597a1[0x0],_0x4597a1[0x1],_0x4597a1[0x2]),this['update']();}[_0xc331c1(0x1a6)](){var _0xc894d9=_0xc331c1;if(this[_0xc894d9(0x1a0)])this[_0xc894d9(0x1a0)][_0xc894d9(0x1b6)][_0xc894d9(0x1b0)]();}[_0xc331c1(0x1b2)](_0x235d10){var _0x17e923=_0xc331c1;if(!this['threeObject'])throw Error('three\x20object\x20is\x20invalid');super[_0x17e923(0x1b2)](_0x235d10);}['destroy'](){super['destroy']();}}
|
|
99
99
|
|
|
100
|
-
function
|
|
100
|
+
var _0x32e0db=_0x4789;function _0x4789(_0x1362d8,_0x20a7c3){_0x1362d8=_0x1362d8-0x1ed;var _0xb8f134=_0xb8f1();var _0x478958=_0xb8f134[_0x1362d8];return _0x478958;}function _0xb8f1(){var _0x203d74=['3apfbwT','6rAfZbF','color','239820YYyVLq','45waZevK','castShadow','5388Ohmovp','63877NyhLaR','6539115STgQZs','app','461860JVMnvI','2488670HrCYuV','intensity','lightComponent','14FYCRcp','1402010TlnGhK','3128168THLHAg','constructRootComponent'];_0xb8f1=function(){return _0x203d74;};return _0xb8f1();}(function(_0x2af793,_0x2c632c){var _0xd4e39d=_0x4789,_0x34dc03=_0x2af793();while(!![]){try{var _0x2986e7=parseInt(_0xd4e39d(0x1f7))/0x1+parseInt(_0xd4e39d(0x1f2))/0x2*(parseInt(_0xd4e39d(0x1fa))/0x3)+-parseInt(_0xd4e39d(0x1fd))/0x4+parseInt(_0xd4e39d(0x1f0))/0x5*(parseInt(_0xd4e39d(0x1fb))/0x6)+parseInt(_0xd4e39d(0x1f6))/0x7*(-parseInt(_0xd4e39d(0x1f8))/0x8)+-parseInt(_0xd4e39d(0x1fe))/0x9*(-parseInt(_0xd4e39d(0x1f3))/0xa)+parseInt(_0xd4e39d(0x1ef))/0xb*(-parseInt(_0xd4e39d(0x1ee))/0xc);if(_0x2986e7===_0x2c632c)break;else _0x34dc03['push'](_0x34dc03['shift']());}catch(_0x4e7e07){_0x34dc03['push'](_0x34dc03['shift']());}}}(_0xb8f1,0xb3a0e));class DirectionalLightActor extends Actor{constructor(_0x3b26a9,_0x2c32e0=0xffffff,_0x104745=0x1,_0x32add2){var _0x46e8a2=_0x4789;super(_0x3b26a9,_0x32add2),this[_0x46e8a2(0x1f5)]=null,this['lightComponent']=this['rootComponent'],this[_0x46e8a2(0x1f5)]&&(this[_0x46e8a2(0x1f5)][_0x46e8a2(0x1fc)]=_0x2c32e0,this[_0x46e8a2(0x1f5)][_0x46e8a2(0x1f4)]=_0x104745,this['lightComponent']['castShadow']=!![]),this[_0x46e8a2(0x1f5)][_0x46e8a2(0x1ed)]=!![];}[_0x32e0db(0x1f9)](){var _0x5b3968=_0x32e0db;return new DirectionalLightComponent(this[_0x5b3968(0x1f1)]);}}
|
|
101
101
|
|
|
102
|
-
function
|
|
102
|
+
function _0x18bf(_0x5ee3cb,_0x356f02){_0x5ee3cb=_0x5ee3cb-0xd3;var _0x372144=_0x3721();var _0x18bfa5=_0x372144[_0x5ee3cb];return _0x18bfa5;}var _0x2bacd2=_0x18bf;function _0x3721(){var _0x4cf9da=['173895IDLRRz','length','60AAtoIq','world','1182015ZlNnPa','80YIxREA','7qXFJsK','259127noRTJz','340392AqcXRC','threeObject','viewport','set','obj','23008973CShtok','color','userData','markRenderStateDirty','283KEBBCH','onAddedToWorld','7095608KzYoep','createDefaultObject','50XwTDNk','12JtsPtV','intensity','destroy','5334xKBqvJ','three\x20object\x20is\x20invalid','update','castShadow','setPosition'];_0x3721=function(){return _0x4cf9da;};return _0x3721();}(function(_0x6f7812,_0x35facf){var _0x456930=_0x18bf,_0x4871e8=_0x6f7812();while(!![]){try{var _0x4a4969=parseInt(_0x456930(0xd4))/0x1*(-parseInt(_0x456930(0xdc))/0x2)+-parseInt(_0x456930(0xe1))/0x3*(parseInt(_0x456930(0xe3))/0x4)+-parseInt(_0x456930(0xd8))/0x5*(parseInt(_0x456930(0xe9))/0x6)+-parseInt(_0x456930(0xe7))/0x7*(-parseInt(_0x456930(0xd6))/0x8)+-parseInt(_0x456930(0xe5))/0x9+-parseInt(_0x456930(0xe6))/0xa*(-parseInt(_0x456930(0xe8))/0xb)+-parseInt(_0x456930(0xd9))/0xc*(-parseInt(_0x456930(0xee))/0xd);if(_0x4a4969===_0x35facf)break;else _0x4871e8['push'](_0x4871e8['shift']());}catch(_0x54b4b1){_0x4871e8['push'](_0x4871e8['shift']());}}}(_0x3721,0x7f8c5));class AmbientLightComponent extends LightComponent{get[_0x2bacd2(0xea)](){var _0x5eea24=_0x2bacd2;if(!this[_0x5eea24(0xed)])throw Error(_0x5eea24(0xdd));return this[_0x5eea24(0xed)];}set[_0x2bacd2(0xea)](_0x141075){var _0x411a57=_0x2bacd2;this[_0x411a57(0xed)]=_0x141075,this['obj']&&(this[_0x411a57(0xed)][_0x411a57(0xf0)]['LYObject']=this);}get['castShadow'](){return this['threeObject']['castShadow'];}set['castShadow'](_0xd00ae5){var _0x2f1473=_0x2bacd2;this[_0x2f1473(0xea)][_0x2f1473(0xdf)]=_0xd00ae5;}constructor(_0x7568aa,_0x3f0c09=0xffffff,_0xa7d6a0=0xa,_0x1d8e87){var _0x5e20d9=_0x2bacd2;super(_0x7568aa,_0x1d8e87),this[_0x5e20d9(0xea)][_0x5e20d9(0xef)][_0x5e20d9(0xec)](_0x3f0c09),this[_0x5e20d9(0xea)][_0x5e20d9(0xda)]=_0xa7d6a0;}[_0x2bacd2(0xd7)](){return new webgpu.AmbientLight(0xffffff,0xa);}[_0x2bacd2(0xe0)](..._0x543d96){var _0x219a8f=_0x2bacd2;_0x543d96[_0x219a8f(0xe2)]===0x1?super[_0x219a8f(0xe0)](_0x543d96[0x0]):super['setPosition'](_0x543d96[0x0],_0x543d96[0x1],_0x543d96[0x2]),this[_0x219a8f(0xde)]();}[_0x2bacd2(0xde)](){var _0x25bffa=_0x2bacd2;if(this[_0x25bffa(0xe4)])this[_0x25bffa(0xe4)][_0x25bffa(0xeb)][_0x25bffa(0xd3)]();}[_0x2bacd2(0xd5)](_0x590aff){var _0x29a397=_0x2bacd2;if(!this[_0x29a397(0xea)])throw Error(_0x29a397(0xdd));super[_0x29a397(0xd5)](_0x590aff);}[_0x2bacd2(0xdb)](){var _0x361f1e=_0x2bacd2;super[_0x361f1e(0xdb)]();}}
|
|
103
103
|
|
|
104
|
-
var
|
|
104
|
+
var _0x32da22=_0x48ea;function _0x48ea(_0x5cd256,_0x1c377a){_0x5cd256=_0x5cd256-0x87;var _0x57347d=_0x5734();var _0x48eac5=_0x57347d[_0x5cd256];return _0x48eac5;}function _0x5734(){var _0x393086=['107106AbNuvB','2119239zSIceZ','constructRootComponent','81110GcCofP','8yhpKjY','297948CjZdvw','app','1486630iamWEN','castShadow','33kiuxUU','11IqPPiY','536400YjIgjb','800075NqOwxc','rootComponent','color','161NJVOKe','lightComponent'];_0x5734=function(){return _0x393086;};return _0x5734();}(function(_0x5774e6,_0x56b161){var _0x2642f8=_0x48ea,_0x1d8527=_0x5774e6();while(!![]){try{var _0x38d9b1=parseInt(_0x2642f8(0x93))/0x1*(parseInt(_0x2642f8(0x8c))/0x2)+-parseInt(_0x2642f8(0x8e))/0x3*(-parseInt(_0x2642f8(0x8d))/0x4)+-parseInt(_0x2642f8(0x95))/0x5+-parseInt(_0x2642f8(0x89))/0x6*(-parseInt(_0x2642f8(0x87))/0x7)+parseInt(_0x2642f8(0x94))/0x8+-parseInt(_0x2642f8(0x8a))/0x9+parseInt(_0x2642f8(0x90))/0xa*(-parseInt(_0x2642f8(0x92))/0xb);if(_0x38d9b1===_0x56b161)break;else _0x1d8527['push'](_0x1d8527['shift']());}catch(_0x300eda){_0x1d8527['push'](_0x1d8527['shift']());}}}(_0x5734,0x44935));class AmbientLightActor extends Actor{constructor(_0x10b223,_0x39b8ae=0xffffff,_0x3f808c=0x1,_0xfa2700){var _0x3590c8=_0x48ea;super(_0x10b223,_0xfa2700),this['lightComponent']=null,this['lightComponent']=this[_0x3590c8(0x96)],this[_0x3590c8(0x88)]&&(this[_0x3590c8(0x88)][_0x3590c8(0x97)]=_0x39b8ae,this[_0x3590c8(0x88)]['intensity']=_0x3f808c,this[_0x3590c8(0x88)][_0x3590c8(0x91)]=!![]),this[_0x3590c8(0x88)][_0x3590c8(0x91)]=!![];}[_0x32da22(0x8b)](){var _0x3e8fd6=_0x32da22;return new AmbientLightComponent(this[_0x3e8fd6(0x8f)]);}}
|
|
105
105
|
|
|
106
|
-
function
|
|
106
|
+
function _0x5335(_0x4dafe1,_0x93ae6f){_0x4dafe1=_0x4dafe1-0xb9;var _0x42b090=_0x42b0();var _0x53359e=_0x42b090[_0x4dafe1];return _0x53359e;}(function(_0x5acf67,_0x181bd3){var _0x2aaa87=_0x5335,_0x4cc9b6=_0x5acf67();while(!![]){try{var _0x1ae70e=parseInt(_0x2aaa87(0xb9))/0x1+-parseInt(_0x2aaa87(0xbb))/0x2+parseInt(_0x2aaa87(0xc1))/0x3*(-parseInt(_0x2aaa87(0xbf))/0x4)+-parseInt(_0x2aaa87(0xc2))/0x5*(parseInt(_0x2aaa87(0xc0))/0x6)+parseInt(_0x2aaa87(0xbc))/0x7+parseInt(_0x2aaa87(0xbd))/0x8+-parseInt(_0x2aaa87(0xbe))/0x9*(-parseInt(_0x2aaa87(0xba))/0xa);if(_0x1ae70e===_0x181bd3)break;else _0x4cc9b6['push'](_0x4cc9b6['shift']());}catch(_0x7a8a63){_0x4cc9b6['push'](_0x4cc9b6['shift']());}}}(_0x42b0,0x739a5));class BoxComponent extends MeshComponent{constructor(_0x2375c4,_0x5e07c6=0x1,_0x3819c3=0x1,_0x47c267=0x1,_0x32e8ee=0x1,_0x48a077=0x1,_0xf58701=0x1,_0x10835c=new webgpu.MeshStandardMaterial(),_0x494ab2){super(_0x2375c4,new webgpu.BoxGeometry(_0x5e07c6,_0x3819c3,_0x47c267,_0x32e8ee,_0x48a077,_0xf58701),_0x10835c,_0x494ab2);}}function _0x42b0(){var _0x47a29f=['41590XJpFSY','2577659DdIXiC','1758440CCmDWY','9uhUBEb','64ygjQjD','6qOXLRQ','169131tXIEeK','3943725TvVKJB','586470SSyURe','10105690IMxubg'];_0x42b0=function(){return _0x47a29f;};return _0x42b0();}
|
|
107
107
|
|
|
108
|
-
(function(
|
|
108
|
+
var _0x5d9629=_0x3685;(function(_0x1cbedf,_0x168fea){var _0x4cdd6c=_0x3685,_0x4fe7af=_0x1cbedf();while(!![]){try{var _0x3f7f8a=parseInt(_0x4cdd6c(0xb4))/0x1*(-parseInt(_0x4cdd6c(0xab))/0x2)+-parseInt(_0x4cdd6c(0xb2))/0x3+parseInt(_0x4cdd6c(0xaf))/0x4+-parseInt(_0x4cdd6c(0xae))/0x5+-parseInt(_0x4cdd6c(0xb1))/0x6*(-parseInt(_0x4cdd6c(0xb3))/0x7)+parseInt(_0x4cdd6c(0xac))/0x8+-parseInt(_0x4cdd6c(0xad))/0x9*(-parseInt(_0x4cdd6c(0xb0))/0xa);if(_0x3f7f8a===_0x168fea)break;else _0x4fe7af['push'](_0x4fe7af['shift']());}catch(_0x2672ba){_0x4fe7af['push'](_0x4fe7af['shift']());}}}(_0x49c1,0x19503));function _0x3685(_0x41b477,_0x2436cc){_0x41b477=_0x41b477-0xaa;var _0x49c19e=_0x49c1();var _0x36855b=_0x49c19e[_0x41b477];return _0x36855b;}class BoxActor extends Actor{constructor(_0x42c1d6,_0x2a3669){super(_0x42c1d6,_0x2a3669);}[_0x5d9629(0xb5)](){var _0x25ab8d=_0x5d9629;return new BoxComponent(this['app'],0x1,0x1,0x1,0x1,0x1,0x1,new webgpu.MeshBasicMaterial(),this[_0x25ab8d(0xaa)]);}}function _0x49c1(){var _0xe4258b=['uuid','360242ydXDlA','691120SAoKtB','134118FKxFKt','216580uJlbuq','247972BKmHnZ','150LisWQa','437964LBxXSj','353361BiygfX','7GTyQZO','1GVtlWG','constructRootComponent'];_0x49c1=function(){return _0xe4258b;};return _0x49c1();}
|
|
109
109
|
|
|
110
|
-
const
|
|
110
|
+
const _0x5347ac=_0x5c2e;function _0x5c2e(_0xa0a100,_0x3896b6){_0xa0a100=_0xa0a100-0x1d7;const _0x4c6b0a=_0x4c6b();let _0x5c2eab=_0x4c6b0a[_0xa0a100];return _0x5c2eab;}(function(_0x35999f,_0xa245d4){const _0x52fc7c=_0x5c2e,_0x4a5e40=_0x35999f();while(!![]){try{const _0x1b5b8a=-parseInt(_0x52fc7c(0x1e4))/0x1+parseInt(_0x52fc7c(0x1f4))/0x2+-parseInt(_0x52fc7c(0x1e7))/0x3*(-parseInt(_0x52fc7c(0x1f2))/0x4)+parseInt(_0x52fc7c(0x1f3))/0x5+-parseInt(_0x52fc7c(0x1ea))/0x6+-parseInt(_0x52fc7c(0x1ef))/0x7+parseInt(_0x52fc7c(0x1dd))/0x8;if(_0x1b5b8a===_0xa245d4)break;else _0x4a5e40['push'](_0x4a5e40['shift']());}catch(_0x8ae173){_0x4a5e40['push'](_0x4a5e40['shift']());}}}(_0x4c6b,0x85715));function _0x4c6b(){const _0xe3bd42=['destroyObject','8401336zBQQJa','obj','markRenderStateDirty','disposeMeshResource','createDefaultObject','skyParam','setFromSphericalCoords','261219cXhyPF','userData','elevation','2919DgfcsM','viewport','azimuth','4209504cUnrbz','mieDirectionalG','world','LYObject','value','7446964XebiRq','copy','degToRad','4432HDBoBz','2039320YHINOM','74242JCNhxX','rayleigh','threeObject','sunPosition','updateSky','mieCoefficient'];_0x4c6b=function(){return _0xe3bd42;};return _0x4c6b();}const DefaultSkyParam={'turbidity':0xa,'rayleigh':0x3,'mieCoefficient':0.005,'mieDirectionalG':0.7,'elevation':0x2,'azimuth':0x87};class SkyComponent extends SceneComponent{get[_0x5347ac(0x1d8)](){const _0x19ff5f=_0x5347ac;if(!this[_0x19ff5f(0x1de)])throw Error('three\x20object\x20is\x20invalid');return this[_0x19ff5f(0x1de)];}set[_0x5347ac(0x1d8)](_0x1bea62){const _0x58448a=_0x5347ac;this[_0x58448a(0x1de)]=_0x1bea62,this[_0x58448a(0x1de)]&&(this[_0x58448a(0x1de)][_0x58448a(0x1e5)][_0x58448a(0x1ed)]=this);}constructor(_0x15a6f5,_0x31a122,_0x1a4bcd){const _0x3075a7=_0x5347ac;super(_0x15a6f5,_0x1a4bcd),this[_0x3075a7(0x1e2)]=DefaultSkyParam,this[_0x3075a7(0x1d9)]=new webgpu.Vector3(),_0x31a122&&(this[_0x3075a7(0x1e2)]=_0x31a122),this[_0x3075a7(0x1da)]();}[_0x5347ac(0x1e1)](){return new SkyMesh_js.SkyMesh();}[_0x5347ac(0x1da)](){const _0x30d88b=_0x5347ac;var _0x49f8d1,_0x38c748;this[_0x30d88b(0x1d8)]['turbidity'][_0x30d88b(0x1ee)]=this[_0x30d88b(0x1e2)]['turbidity'],this[_0x30d88b(0x1d8)][_0x30d88b(0x1d7)][_0x30d88b(0x1ee)]=this[_0x30d88b(0x1e2)][_0x30d88b(0x1d7)],this['threeObject'][_0x30d88b(0x1db)][_0x30d88b(0x1ee)]=this[_0x30d88b(0x1e2)][_0x30d88b(0x1db)],this[_0x30d88b(0x1d8)]['mieDirectionalG'][_0x30d88b(0x1ee)]=this['skyParam'][_0x30d88b(0x1eb)];const _0x449195=webgpu.MathUtils[_0x30d88b(0x1f1)](0x5a-this[_0x30d88b(0x1e2)][_0x30d88b(0x1e6)]),_0x443c70=webgpu.MathUtils[_0x30d88b(0x1f1)](this['skyParam'][_0x30d88b(0x1e9)]);this[_0x30d88b(0x1d9)][_0x30d88b(0x1e3)](0x1,_0x449195,_0x443c70),this[_0x30d88b(0x1d8)]['sunPosition'][_0x30d88b(0x1ee)][_0x30d88b(0x1f0)](this[_0x30d88b(0x1d9)]),(_0x38c748=(_0x49f8d1=this[_0x30d88b(0x1ec)])===null||_0x49f8d1===void 0?void 0:_0x49f8d1[_0x30d88b(0x1e8)])===null||_0x38c748===void 0?void 0:_0x38c748[_0x30d88b(0x1df)]();}[_0x5347ac(0x1dc)](){const _0x1de46d=_0x5347ac;this[_0x1de46d(0x1de)]&&ThreeObjectLibrary[_0x1de46d(0x1e0)](this[_0x1de46d(0x1d8)]);}}
|
|
111
111
|
|
|
112
|
-
var
|
|
112
|
+
var _0x3e1615=_0x2050;(function(_0x5cb2de,_0x585864){var _0x5e77b6=_0x2050,_0xc7e89e=_0x5cb2de();while(!![]){try{var _0x153644=-parseInt(_0x5e77b6(0x9b))/0x1+-parseInt(_0x5e77b6(0x96))/0x2*(-parseInt(_0x5e77b6(0xa3))/0x3)+parseInt(_0x5e77b6(0x97))/0x4+parseInt(_0x5e77b6(0xa1))/0x5+parseInt(_0x5e77b6(0x92))/0x6*(-parseInt(_0x5e77b6(0x95))/0x7)+parseInt(_0x5e77b6(0x9e))/0x8+-parseInt(_0x5e77b6(0x9c))/0x9;if(_0x153644===_0x585864)break;else _0xc7e89e['push'](_0xc7e89e['shift']());}catch(_0x134c10){_0xc7e89e['push'](_0xc7e89e['shift']());}}}(_0x2ea5,0x59bc1));function _0x2ea5(){var _0x3f9b08=['2511816xNQtOu','skyComponent','rootComponent','constructRootComponent','311194IXLksN','12490524qrqVUg','(Root)','4660184MDxWqq','name','_name','2249140FdZbiR','setScale','1760307pVLuZF','6IDjWtv','app','SkyActor','1263437BhXTqh','2DBKGzn'];_0x2ea5=function(){return _0x3f9b08;};return _0x2ea5();}function _0x2050(_0x4b9ac0,_0x49ca7c){_0x4b9ac0=_0x4b9ac0-0x92;var _0x2ea507=_0x2ea5();var _0x205055=_0x2ea507[_0x4b9ac0];return _0x205055;}class SkyActor extends Actor{constructor(_0x5344d8,_0x12521a){var _0x3895ca=_0x2050;super(_0x5344d8,_0x12521a),this[_0x3895ca(0xa0)]=_0x3895ca(0x94),this[_0x3895ca(0x98)]=null,this[_0x3895ca(0x9f)]='SkyActor',this[_0x3895ca(0x98)]=this[_0x3895ca(0x99)],this[_0x3895ca(0x99)][_0x3895ca(0x9f)]=this[_0x3895ca(0x99)][_0x3895ca(0x9f)]+_0x3895ca(0x9d),this[_0x3895ca(0xa2)](0xafc8,0xafc8,0xafc8);}[_0x3e1615(0x9a)](){var _0x12c7d5=_0x3e1615;return new SkyComponent(this[_0x12c7d5(0x93)]);}}
|
|
113
113
|
|
|
114
|
-
|
|
114
|
+
(function(_0x3886c8,_0xa95a0b){var _0x55a2aa=_0x1e14,_0x2412e0=_0x3886c8();while(!![]){try{var _0x5e5454=-parseInt(_0x55a2aa(0xd6))/0x1+parseInt(_0x55a2aa(0xd3))/0x2*(-parseInt(_0x55a2aa(0xd5))/0x3)+-parseInt(_0x55a2aa(0xdb))/0x4+parseInt(_0x55a2aa(0xdd))/0x5*(parseInt(_0x55a2aa(0xd7))/0x6)+parseInt(_0x55a2aa(0xd4))/0x7+-parseInt(_0x55a2aa(0xd9))/0x8*(parseInt(_0x55a2aa(0xdc))/0x9)+-parseInt(_0x55a2aa(0xda))/0xa*(-parseInt(_0x55a2aa(0xd8))/0xb);if(_0x5e5454===_0xa95a0b)break;else _0x2412e0['push'](_0x2412e0['shift']());}catch(_0x472219){_0x2412e0['push'](_0x2412e0['shift']());}}}(_0x32bf,0x54ca9));function _0x32bf(){var _0x5c7ff0=['3800NJDlWF','10QOrqDs','1409012FRMCDV','8937gxLBlJ','10Kecnty','2bOlZzt','752164jekZGA','1341528dIhrwn','457560linXby','11748TpjEUq','21610611SaEzCJ'];_0x32bf=function(){return _0x5c7ff0;};return _0x32bf();}function _0x1e14(_0x5bf44f,_0x5a7512){_0x5bf44f=_0x5bf44f-0xd3;var _0x32bf65=_0x32bf();var _0x1e14d7=_0x32bf65[_0x5bf44f];return _0x1e14d7;}class PlaneComponent extends MeshComponent{constructor(_0x477053,_0x1d94f3,_0x59b6aa,_0x4eb4b0,_0x34623a=0x1,_0x715605=0x1,_0x5730a1){super(_0x477053,new webgpu.PlaneGeometry(_0x1d94f3,_0x59b6aa,_0x34623a,_0x715605),_0x4eb4b0,_0x5730a1);}}
|
|
115
115
|
|
|
116
|
-
var
|
|
116
|
+
var _0x27c026=_0x2f02;(function(_0x31e2c9,_0x1ce216){var _0x397b36=_0x2f02,_0x2c5229=_0x31e2c9();while(!![]){try{var _0x257c1c=parseInt(_0x397b36(0x1ec))/0x1*(parseInt(_0x397b36(0x1f0))/0x2)+-parseInt(_0x397b36(0x1e6))/0x3*(parseInt(_0x397b36(0x1f1))/0x4)+-parseInt(_0x397b36(0x1e5))/0x5+parseInt(_0x397b36(0x1eb))/0x6+-parseInt(_0x397b36(0x1ea))/0x7*(-parseInt(_0x397b36(0x1ee))/0x8)+-parseInt(_0x397b36(0x1ed))/0x9+parseInt(_0x397b36(0x1e8))/0xa;if(_0x257c1c===_0x1ce216)break;else _0x2c5229['push'](_0x2c5229['shift']());}catch(_0x3bcb47){_0x2c5229['push'](_0x2c5229['shift']());}}}(_0x5e97,0x3781e));function _0x2f02(_0x4de243,_0x27a86a){_0x4de243=_0x4de243-0x1e5;var _0x5e97e5=_0x5e97();var _0x2f0267=_0x5e97e5[_0x4de243];return _0x2f0267;}class PlaneActor extends Actor{constructor(_0x2c7902,_0x2342ba){super(_0x2c7902,_0x2342ba);}[_0x27c026(0x1e9)](){var _0x4cb1a1=_0x27c026;return new PlaneComponent(this[_0x4cb1a1(0x1ef)],0x1,0x1,new webgpu.MeshBasicMaterial(),0x1,0x1,this['uuid']);}[_0x27c026(0x1e7)](){var _0x2d8fbe=_0x27c026;super[_0x2d8fbe(0x1e7)]();}}function _0x5e97(){var _0x27737b=['588492wzaXrg','536VirUBX','app','6VVOPfm','45060VUwyhT','2213620iFSVHQ','39XZhCvc','destroy','671640zDEKHt','constructRootComponent','28721OapNQb','2185290BUZQKT','58545uCXOZN'];_0x5e97=function(){return _0x27737b;};return _0x5e97();}
|
|
117
117
|
|
|
118
|
-
const _0x383a90=_0x4dd9;function _0x1643(){const _0x43a174=['1311722VAiEUs','min','material\x20is\x20null','856501DaQAON','addMaterialAsset','reverse','_meshData','color','getCenter','CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...','computeVertexNormals','position','getBoundsTopCenterPosition','app','materialPtr\x20is\x20null','162116HGugBu','CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:','1526886YySyNi','world','destroyObject','getBoundsCenterPosition','CustomMeshComponent:\x20threeObject\x20is\x20null','getValue','userData','addRef','5HzBvOB','geometry','_materialPtr','map','normals','LYObject','calculatePolygonArea','indices','constructGeometry','4380880XaSIKJ','meshData','error','setAttribute','assetManager','materialPtr','2608248qSnXKa','name','castShadow','setIndex','obj','viewport','uvs','max','CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result','receiveShadow','push','geometryPtr\x20is\x20null','from','normal','geometryPtr','abs','clone','colors','vertices','length','_geometryPtr','37635309xCcLmg','66VRVIUl','getBoundsBottomCenterPosition','threeObject','release','getBounds','addGeometryAsset'];_0x1643=function(){return _0x43a174;};return _0x1643();}(function(_0x5bf7ac,_0x32f8a2){const _0x2f970e=_0x4dd9,_0x1b8d9d=_0x5bf7ac();while(!![]){try{const _0x35fa05=-parseInt(_0x2f970e(0xc0))/0x1+-parseInt(_0x2f970e(0xbd))/0x2+-parseInt(_0x2f970e(0xb7))/0x3*(parseInt(_0x2f970e(0xcc))/0x4)+-parseInt(_0x2f970e(0x92))/0x5*(parseInt(_0x2f970e(0xce))/0x6)+-parseInt(_0x2f970e(0x9b))/0x7+-parseInt(_0x2f970e(0xa1))/0x8+parseInt(_0x2f970e(0xb6))/0x9;if(_0x35fa05===_0x32f8a2)break;else _0x1b8d9d['push'](_0x1b8d9d['shift']());}catch(_0x404add){_0x1b8d9d['push'](_0x1b8d9d['shift']());}}}(_0x1643,0x8b7d5));function _0x4dd9(_0xe087d3,_0x3eac5e){_0xe087d3=_0xe087d3-0x8d;const _0x16432d=_0x1643();let _0x4dd947=_0x16432d[_0xe087d3];return _0x4dd947;}class CustomMeshComponent extends SceneComponent{get[_0x383a90(0xb9)](){const _0x793eb8=_0x383a90;if(!this[_0x793eb8(0xa5)])throw new Error(_0x793eb8(0x8e));return this[_0x793eb8(0xa5)];}set['threeObject'](_0x162a09){const _0x256557=_0x383a90;this[_0x256557(0xa5)]=_0x162a09,this['obj']&&(this[_0x256557(0xa5)][_0x256557(0x90)][_0x256557(0x97)]=this);}get[_0x383a90(0x93)](){const _0x3236c7=_0x383a90;if(!this[_0x3236c7(0xb5)])throw new Error('geometryPtr\x20is\x20null');return this[_0x3236c7(0xb5)][_0x3236c7(0x8f)]();}set['geometry'](_0x3d3030){const _0x4713a5=_0x383a90;let _0x3e7a16=this[_0x4713a5(0xca)][_0x4713a5(0x9f)][_0x4713a5(0xbc)](_0x3d3030);this[_0x4713a5(0xaf)]=_0x3e7a16;}get[_0x383a90(0xaf)](){const _0x4c1f25=_0x383a90;if(!this['_geometryPtr'])throw new Error(_0x4c1f25(0xac));return this[_0x4c1f25(0xb5)];}set[_0x383a90(0xaf)](_0x536c28){const _0x46a99d=_0x383a90;this['_geometryPtr']&&(this['_geometryPtr'][_0x46a99d(0xba)](),this['_geometryPtr']=null);this['_geometryPtr']=_0x536c28;let _0x4e109d=_0x536c28['getValue']();this[_0x46a99d(0xb9)]&&_0x4e109d&&(this[_0x46a99d(0xb9)][_0x46a99d(0x93)]=_0x4e109d);}get['material'](){const _0x3c5a2d=_0x383a90;if(!this[_0x3c5a2d(0x94)])throw new Error(_0x3c5a2d(0xcb));let _0x48fb45=this[_0x3c5a2d(0x94)]['getValue']();if(!_0x48fb45)throw new Error(_0x3c5a2d(0xbf));return _0x48fb45;}get[_0x383a90(0xa0)](){const _0x415be3=_0x383a90;if(!this[_0x415be3(0x94)])throw new Error(_0x415be3(0xcb));return this[_0x415be3(0x94)];}set['material'](_0x37adb8){const _0x4be32e=_0x383a90;let _0x5549e9=this[_0x4be32e(0xca)]['assetManager']['addMaterialAsset'](_0x37adb8);this[_0x4be32e(0xa0)]=_0x5549e9;}set[_0x383a90(0xa0)](_0x3300b4){const _0x17cdbe=_0x383a90;this['_materialPtr']&&(this[_0x17cdbe(0x94)][_0x17cdbe(0xba)](),this[_0x17cdbe(0x94)]=null);this[_0x17cdbe(0x94)]=_0x3300b4;let _0x27e208=_0x3300b4[_0x17cdbe(0x8f)]();_0x3300b4['addRef'](),this[_0x17cdbe(0xb9)]&&_0x27e208&&(this[_0x17cdbe(0xb9)]['material']=_0x27e208);}constructor(_0x26548d,_0x682f01,_0x6712db,_0x3470ac){const _0x516a54=_0x383a90;super(_0x26548d,_0x3470ac),this[_0x516a54(0xc3)]=_0x682f01;let _0x57f48d=_0x26548d[_0x516a54(0x9f)][_0x516a54(0xc1)](_0x6712db);this[_0x516a54(0x94)]=_0x57f48d,_0x57f48d[_0x516a54(0x91)]();const _0x4f9233=this[_0x516a54(0x9a)](_0x682f01);this['_geometryPtr']=_0x26548d[_0x516a54(0x9f)][_0x516a54(0xbc)](_0x4f9233),this[_0x516a54(0xb9)]['material']=_0x6712db,this[_0x516a54(0xb9)][_0x516a54(0x93)]=_0x4f9233,this[_0x516a54(0xa2)]='CustomMeshComponent';}[_0x383a90(0x98)](_0x38b637){const _0x462963=_0x383a90;let _0x3af268=0x0;const _0x1be1c8=_0x38b637[_0x462963(0xb4)]/0x2;for(let _0xef0893=0x0;_0xef0893<_0x1be1c8;_0xef0893++){const _0x1946a6=(_0xef0893+0x1)%_0x1be1c8,_0x1bf66a=_0x38b637[_0xef0893*0x2],_0x5eca90=_0x38b637[_0xef0893*0x2+0x1],_0x51f72a=_0x38b637[_0x1946a6*0x2],_0x347bc7=_0x38b637[_0x1946a6*0x2+0x1];_0x3af268+=_0x1bf66a*_0x347bc7-_0x51f72a*_0x5eca90;}return _0x3af268/0x2;}[_0x383a90(0x9a)](_0xc7e6e3){const _0xec4232=_0x383a90,_0x5e868c=new webgpu.BufferGeometry();if(!_0xc7e6e3['vertices']||_0xc7e6e3['vertices'][_0xec4232(0xb4)]===0x0)return console[_0xec4232(0x9d)]('CustomMeshComponent:\x20Invalid\x20vertices\x20data'),_0x5e868c;const _0x5e85b6=new Float32Array(_0xc7e6e3[_0xec4232(0xb3)][_0xec4232(0xb4)]*0x3);for(let _0x4c0f44=0x0;_0x4c0f44<_0xc7e6e3[_0xec4232(0xb3)][_0xec4232(0xb4)];_0x4c0f44++){_0x5e85b6[_0x4c0f44*0x3]=_0xc7e6e3['vertices'][_0x4c0f44]['x'],_0x5e85b6[_0x4c0f44*0x3+0x1]=_0xc7e6e3['vertices'][_0x4c0f44]['y'],_0x5e85b6[_0x4c0f44*0x3+0x2]=_0xc7e6e3[_0xec4232(0xb3)][_0x4c0f44]['z'];}_0x5e868c['setAttribute'](_0xec4232(0xc8),new webgpu.Float32BufferAttribute(_0x5e85b6,0x3));if(_0xc7e6e3[_0xec4232(0x99)]&&_0xc7e6e3[_0xec4232(0x99)]['length']>0x0)_0x5e868c[_0xec4232(0xa4)](_0xc7e6e3[_0xec4232(0x99)]);else {const _0x1d07ff=[];let _0x140910=Infinity,_0x15d4fd=-Infinity,_0x5dcb27=Infinity,_0x5e8c7b=-Infinity,_0x324e3b=Infinity,_0x5a8e9f=-Infinity;for(let _0x2bea88=0x0;_0x2bea88<_0xc7e6e3[_0xec4232(0xb3)]['length'];_0x2bea88++){const _0x26e656=_0xc7e6e3[_0xec4232(0xb3)][_0x2bea88];_0x5dcb27=Math[_0xec4232(0xbe)](_0x5dcb27,_0x26e656['x']),_0x5e8c7b=Math[_0xec4232(0xa8)](_0x5e8c7b,_0x26e656['x']),_0x140910=Math[_0xec4232(0xbe)](_0x140910,_0x26e656['y']),_0x15d4fd=Math[_0xec4232(0xa8)](_0x15d4fd,_0x26e656['y']),_0x324e3b=Math['min'](_0x324e3b,_0x26e656['z']),_0x5a8e9f=Math[_0xec4232(0xa8)](_0x5a8e9f,_0x26e656['z']);}const _0x56c71d=_0x5e8c7b-_0x5dcb27,_0xe2bde1=_0x15d4fd-_0x140910,_0x392af4=_0x5a8e9f-_0x324e3b;let _0x541d37='XY';if(_0xe2bde1<=_0x56c71d&&_0xe2bde1<=_0x392af4){_0x541d37='XZ';for(let _0x3ff0ab=0x0;_0x3ff0ab<_0xc7e6e3[_0xec4232(0xb3)][_0xec4232(0xb4)];_0x3ff0ab++){_0x1d07ff[_0xec4232(0xab)](_0xc7e6e3['vertices'][_0x3ff0ab]['x']),_0x1d07ff['push'](_0xc7e6e3[_0xec4232(0xb3)][_0x3ff0ab]['z']);}}else {if(_0x56c71d<=_0xe2bde1&&_0x56c71d<=_0x392af4){_0x541d37='YZ';for(let _0x3c2c74=0x0;_0x3c2c74<_0xc7e6e3[_0xec4232(0xb3)]['length'];_0x3c2c74++){_0x1d07ff['push'](_0xc7e6e3['vertices'][_0x3c2c74]['y']),_0x1d07ff['push'](_0xc7e6e3[_0xec4232(0xb3)][_0x3c2c74]['z']);}}else {_0x541d37='XY';for(let _0x50b2a2=0x0;_0x50b2a2<_0xc7e6e3[_0xec4232(0xb3)][_0xec4232(0xb4)];_0x50b2a2++){_0x1d07ff[_0xec4232(0xab)](_0xc7e6e3[_0xec4232(0xb3)][_0x50b2a2]['x']),_0x1d07ff[_0xec4232(0xab)](_0xc7e6e3[_0xec4232(0xb3)][_0x50b2a2]['y']);}}}const _0x45a219=this[_0xec4232(0x98)](_0x1d07ff),_0x22db65=_0x45a219<0x0;if(_0x22db65){console['warn'](_0xec4232(0xc6)),_0x1d07ff[_0xec4232(0xc2)]();const _0x563b6d=[];for(let _0x395b9e=_0x1d07ff['length']-0x2;_0x395b9e>=0x0;_0x395b9e-=0x2){_0x563b6d['push'](_0x1d07ff[_0x395b9e],_0x1d07ff[_0x395b9e+0x1]);}_0x1d07ff['length']=0x0,_0x1d07ff[_0xec4232(0xab)](..._0x563b6d);}try{const _0x149d1e=_0x54c022(_0x1d07ff,undefined,0x2);if(_0x149d1e&&_0x149d1e[_0xec4232(0xb4)]>0x0){if(_0x22db65)for(let _0x23cc62=0x0;_0x23cc62<_0x149d1e[_0xec4232(0xb4)];_0x23cc62+=0x3){const _0x21d8a7=_0x149d1e[_0x23cc62];_0x149d1e[_0x23cc62]=_0x149d1e[_0x23cc62+0x2],_0x149d1e[_0x23cc62+0x2]=_0x21d8a7;}_0x5e868c[_0xec4232(0xa4)](_0x149d1e),console['log']('[CustomMeshComponent]\x20Earcut\x20triangulation\x20success:',{'planeType':_0x541d37,'vertexCount':_0xc7e6e3[_0xec4232(0xb3)]['length'],'triangleCount':_0x149d1e['length']/0x3,'area':Math[_0xec4232(0xb0)](_0x45a219),'wasClockwise':_0x22db65,'indices':Array[_0xec4232(0xad)](_0x149d1e)});}else console['warn'](_0xec4232(0xa9));}catch(_0x590a9d){console[_0xec4232(0x9d)](_0xec4232(0xcd),_0x590a9d);}}if(_0xc7e6e3[_0xec4232(0x96)]&&_0xc7e6e3['normals']['length']===_0xc7e6e3[_0xec4232(0xb3)][_0xec4232(0xb4)]){const _0x301148=new Float32Array(_0xc7e6e3['normals'][_0xec4232(0xb4)]*0x3);for(let _0x1631a7=0x0;_0x1631a7<_0xc7e6e3['normals'][_0xec4232(0xb4)];_0x1631a7++){_0x301148[_0x1631a7*0x3]=_0xc7e6e3[_0xec4232(0x96)][_0x1631a7]['x'],_0x301148[_0x1631a7*0x3+0x1]=_0xc7e6e3[_0xec4232(0x96)][_0x1631a7]['y'],_0x301148[_0x1631a7*0x3+0x2]=_0xc7e6e3['normals'][_0x1631a7]['z'];}_0x5e868c[_0xec4232(0x9e)](_0xec4232(0xae),new webgpu.Float32BufferAttribute(_0x301148,0x3));}else _0x5e868c[_0xec4232(0xc7)]();if(_0xc7e6e3[_0xec4232(0xa7)]&&_0xc7e6e3[_0xec4232(0xa7)]['length']>0x0){const _0x346fa2=new Float32Array(_0xc7e6e3[_0xec4232(0xa7)][_0xec4232(0xb4)]*0x2);for(let _0x21e8ed=0x0;_0x21e8ed<_0xc7e6e3[_0xec4232(0xa7)][_0xec4232(0xb4)];_0x21e8ed++){_0x346fa2[_0x21e8ed*0x2]=_0xc7e6e3[_0xec4232(0xa7)][_0x21e8ed]['x'],_0x346fa2[_0x21e8ed*0x2+0x1]=_0xc7e6e3[_0xec4232(0xa7)][_0x21e8ed]['y'];}_0x5e868c['setAttribute']('uv',new webgpu.Float32BufferAttribute(_0x346fa2,0x2));}if(_0xc7e6e3[_0xec4232(0xb2)]&&_0xc7e6e3[_0xec4232(0xb2)][_0xec4232(0xb4)]===_0xc7e6e3['vertices']['length']){const _0x24b95a=new Float32Array(_0xc7e6e3['colors'][_0xec4232(0xb4)]*0x3);for(let _0xa4fcce=0x0;_0xa4fcce<_0xc7e6e3['colors'][_0xec4232(0xb4)];_0xa4fcce++){_0x24b95a[_0xa4fcce*0x3]=_0xc7e6e3[_0xec4232(0xb2)][_0xa4fcce]['r'],_0x24b95a[_0xa4fcce*0x3+0x1]=_0xc7e6e3[_0xec4232(0xb2)][_0xa4fcce]['g'],_0x24b95a[_0xa4fcce*0x3+0x2]=_0xc7e6e3[_0xec4232(0xb2)][_0xa4fcce]['b'];}_0x5e868c[_0xec4232(0x9e)](_0xec4232(0xc4),new webgpu.Float32BufferAttribute(_0x24b95a,0x3));}return _0x5e868c;}set[_0x383a90(0x9c)](_0x3f3dda){const _0x2ec440=_0x383a90;var _0x10b194,_0x113483,_0x47aa89;this[_0x2ec440(0xb5)]&&this['_geometryPtr']['release']();const _0x21a6cb=this['constructGeometry'](_0x3f3dda);this[_0x2ec440(0xb5)]=this[_0x2ec440(0xca)][_0x2ec440(0x9f)][_0x2ec440(0xbc)](_0x21a6cb),this[_0x2ec440(0xb9)][_0x2ec440(0x93)]=_0x21a6cb,this[_0x2ec440(0xc3)]={'vertices':_0x3f3dda['vertices'][_0x2ec440(0x95)](_0x590958=>_0x590958['clone']()),'indices':_0x3f3dda['indices']?[..._0x3f3dda[_0x2ec440(0x99)]]:undefined,'normals':(_0x10b194=_0x3f3dda[_0x2ec440(0x96)])===null||_0x10b194===void 0?void 0:_0x10b194[_0x2ec440(0x95)](_0x5a6faf=>_0x5a6faf['clone']()),'uvs':(_0x113483=_0x3f3dda['uvs'])===null||_0x113483===void 0?void 0:_0x113483[_0x2ec440(0x95)](_0xe05a5c=>_0xe05a5c[_0x2ec440(0xb1)]()),'colors':(_0x47aa89=_0x3f3dda[_0x2ec440(0xb2)])===null||_0x47aa89===void 0?void 0:_0x47aa89['map'](_0x237920=>_0x237920[_0x2ec440(0xb1)]())},this[_0x2ec440(0xcf)]&&this[_0x2ec440(0xcf)][_0x2ec440(0xa6)]['markRenderStateDirty']();}get[_0x383a90(0x9c)](){const _0x45768b=_0x383a90;return this[_0x45768b(0xc3)];}['createDefaultObject'](){return new webgpu.Mesh();}set[_0x383a90(0xa3)](_0x407654){const _0x3790dd=_0x383a90;if(this[_0x3790dd(0xb9)])this[_0x3790dd(0xb9)][_0x3790dd(0xa3)]=_0x407654;}get[_0x383a90(0xa3)](){const _0x6bb9ac=_0x383a90;return this[_0x6bb9ac(0xb9)]?this[_0x6bb9ac(0xb9)]['castShadow']:![];}set['receiveShadow'](_0xa74800){const _0x31dc2d=_0x383a90;if(!this[_0x31dc2d(0xb9)])return;this[_0x31dc2d(0xb9)][_0x31dc2d(0xaa)]=_0xa74800;}get['receiveShadow'](){const _0x157fad=_0x383a90;return this[_0x157fad(0xb9)]?this['threeObject'][_0x157fad(0xaa)]:![];}[_0x383a90(0x8d)](){const _0x2b1d96=_0x383a90;let _0x255c2d=new webgpu.Vector3();return this[_0x2b1d96(0xbb)]()[_0x2b1d96(0xc5)](_0x255c2d),_0x255c2d;}[_0x383a90(0xc9)](){const _0x5b11ff=_0x383a90;let _0xe54ac9=new webgpu.Vector3(),_0x57c423=this[_0x5b11ff(0xbb)]();return _0x57c423['getCenter'](_0xe54ac9),_0xe54ac9['y']=_0x57c423['max']['y'],_0xe54ac9;}[_0x383a90(0xb8)](){const _0x3fa978=_0x383a90;let _0x128f97=new webgpu.Vector3(),_0x461670=this[_0x3fa978(0xbb)]();return _0x461670[_0x3fa978(0xc5)](_0x128f97),_0x128f97['y']=_0x461670['min']['y'],_0x128f97;}[_0x383a90(0xd0)](){const _0x3b5de3=_0x383a90;var _0xac2f79,_0xfedd87;this[_0x3b5de3(0xb9)]&&this['threeObject']['removeFromParent'](),(_0xac2f79=this['_geometryPtr'])===null||_0xac2f79===void 0?void 0:_0xac2f79[_0x3b5de3(0xba)](),(_0xfedd87=this[_0x3b5de3(0x94)])===null||_0xfedd87===void 0?void 0:_0xfedd87[_0x3b5de3(0xba)](),super['destroyObject']();}}
|
|
118
|
+
const _0xe24966=_0x85ec;function _0x85ec(_0x31893b,_0x57992e){_0x31893b=_0x31893b-0x128;const _0x4a6ce2=_0x4a6c();let _0x85ec54=_0x4a6ce2[_0x31893b];return _0x85ec54;}(function(_0x4a9c27,_0x4ce6d8){const _0x27d2c1=_0x85ec,_0x2e3ca8=_0x4a9c27();while(!![]){try{const _0x1bc2a3=-parseInt(_0x27d2c1(0x12f))/0x1+-parseInt(_0x27d2c1(0x145))/0x2+-parseInt(_0x27d2c1(0x14b))/0x3+parseInt(_0x27d2c1(0x16a))/0x4*(parseInt(_0x27d2c1(0x172))/0x5)+parseInt(_0x27d2c1(0x164))/0x6*(-parseInt(_0x27d2c1(0x131))/0x7)+-parseInt(_0x27d2c1(0x14f))/0x8+parseInt(_0x27d2c1(0x13d))/0x9;if(_0x1bc2a3===_0x4ce6d8)break;else _0x2e3ca8['push'](_0x2e3ca8['shift']());}catch(_0x117be2){_0x2e3ca8['push'](_0x2e3ca8['shift']());}}}(_0x4a6c,0xb3770));class CustomMeshComponent extends SceneComponent{get[_0xe24966(0x16c)](){const _0x3bea22=_0xe24966;if(!this[_0x3bea22(0x167)])throw new Error(_0x3bea22(0x15f));return this[_0x3bea22(0x167)];}set[_0xe24966(0x16c)](_0x5a505c){const _0x301441=_0xe24966;this[_0x301441(0x167)]=_0x5a505c,this[_0x301441(0x167)]&&(this[_0x301441(0x167)]['userData'][_0x301441(0x13f)]=this);}get[_0xe24966(0x16d)](){const _0x21e32b=_0xe24966;if(!this['_geometryPtr'])throw new Error(_0x21e32b(0x156));return this[_0x21e32b(0x157)][_0x21e32b(0x14d)]();}set[_0xe24966(0x16d)](_0x1e28fe){const _0x6fba6d=_0xe24966;let _0x2bfd8f=this[_0x6fba6d(0x16b)][_0x6fba6d(0x146)][_0x6fba6d(0x12e)](_0x1e28fe);this['geometryPtr']=_0x2bfd8f;}get['geometryPtr'](){const _0x5debbf=_0xe24966;if(!this[_0x5debbf(0x157)])throw new Error(_0x5debbf(0x156));return this[_0x5debbf(0x157)];}set[_0xe24966(0x140)](_0x2d0234){const _0xf849ed=_0xe24966;this['_geometryPtr']&&(this[_0xf849ed(0x157)]['release'](),this['_geometryPtr']=null);this['_geometryPtr']=_0x2d0234;let _0x402cb4=_0x2d0234['getValue']();this[_0xf849ed(0x16c)]&&_0x402cb4&&(this['threeObject'][_0xf849ed(0x16d)]=_0x402cb4);}get['material'](){const _0x3f9dc9=_0xe24966;if(!this[_0x3f9dc9(0x163)])throw new Error(_0x3f9dc9(0x130));let _0x48170c=this[_0x3f9dc9(0x163)][_0x3f9dc9(0x14d)]();if(!_0x48170c)throw new Error(_0x3f9dc9(0x143));return _0x48170c;}get['materialPtr'](){const _0x5c59bf=_0xe24966;if(!this[_0x5c59bf(0x163)])throw new Error(_0x5c59bf(0x130));return this[_0x5c59bf(0x163)];}set[_0xe24966(0x138)](_0x507baf){const _0x2265fb=_0xe24966;let _0x3f2754=this[_0x2265fb(0x16b)][_0x2265fb(0x146)][_0x2265fb(0x15c)](_0x507baf);this[_0x2265fb(0x148)]=_0x3f2754;}set['materialPtr'](_0xf0da2d){const _0x48790d=_0xe24966;this[_0x48790d(0x163)]&&(this['_materialPtr'][_0x48790d(0x16f)](),this[_0x48790d(0x163)]=null);this[_0x48790d(0x163)]=_0xf0da2d;let _0x790143=_0xf0da2d['getValue']();_0xf0da2d[_0x48790d(0x13b)](),this['threeObject']&&_0x790143&&(this[_0x48790d(0x16c)]['material']=_0x790143);}constructor(_0x13f512,_0x4a0183,_0x50c728,_0x55c3a1){const _0x1808ea=_0xe24966;super(_0x13f512,_0x55c3a1),this[_0x1808ea(0x168)]=_0x4a0183;let _0x5049d5=_0x13f512[_0x1808ea(0x146)][_0x1808ea(0x15c)](_0x50c728);this[_0x1808ea(0x163)]=_0x5049d5,_0x5049d5['addRef']();const _0x225719=this[_0x1808ea(0x151)](_0x4a0183);this[_0x1808ea(0x157)]=_0x13f512[_0x1808ea(0x146)][_0x1808ea(0x12e)](_0x225719),this['threeObject'][_0x1808ea(0x138)]=_0x50c728,this[_0x1808ea(0x16c)][_0x1808ea(0x16d)]=_0x225719,this[_0x1808ea(0x147)]=_0x1808ea(0x160),this[_0x1808ea(0x141)]=!![],this[_0x1808ea(0x154)]=!![];}[_0xe24966(0x165)](_0x20a6ff){const _0x39d796=_0xe24966,_0x17d50=new Float32Array(_0x20a6ff[_0x39d796(0x12d)]*0x2);if(_0x20a6ff['length']===0x0)return _0x17d50;let _0x5ec24d=Infinity,_0x3661bf=-Infinity,_0x36ea8d=Infinity,_0x58ddff=-Infinity,_0x3e31b1=Infinity,_0x753b6=-Infinity;for(const _0x362431 of _0x20a6ff){_0x5ec24d=Math['min'](_0x5ec24d,_0x362431['x']),_0x3661bf=Math[_0x39d796(0x12b)](_0x3661bf,_0x362431['x']),_0x36ea8d=Math['min'](_0x36ea8d,_0x362431['y']),_0x58ddff=Math[_0x39d796(0x12b)](_0x58ddff,_0x362431['y']),_0x3e31b1=Math[_0x39d796(0x137)](_0x3e31b1,_0x362431['z']),_0x753b6=Math[_0x39d796(0x12b)](_0x753b6,_0x362431['z']);}const _0x537092=_0x3661bf-_0x5ec24d,_0x57f6ba=_0x58ddff-_0x36ea8d,_0x1fc306=_0x753b6-_0x3e31b1;let _0x488a33,_0x45d7ac,_0x590659,_0x1373ca,_0x2fad3a,_0x4f51e9;if(_0x537092<=_0x57f6ba&&_0x537092<=_0x1fc306)_0x488a33='y',_0x45d7ac='z',_0x590659=_0x36ea8d,_0x1373ca=_0x57f6ba,_0x2fad3a=_0x3e31b1,_0x4f51e9=_0x1fc306;else _0x57f6ba<=_0x537092&&_0x57f6ba<=_0x1fc306?(_0x488a33='x',_0x45d7ac='z',_0x590659=_0x5ec24d,_0x1373ca=_0x537092,_0x2fad3a=_0x3e31b1,_0x4f51e9=_0x1fc306):(_0x488a33='x',_0x45d7ac='y',_0x590659=_0x5ec24d,_0x1373ca=_0x537092,_0x2fad3a=_0x36ea8d,_0x4f51e9=_0x57f6ba);if(_0x1373ca===0x0)_0x1373ca=0x1;if(_0x4f51e9===0x0)_0x4f51e9=0x1;for(let _0x30ee5b=0x0;_0x30ee5b<_0x20a6ff['length'];_0x30ee5b++){const _0xb85095=_0x20a6ff[_0x30ee5b],_0x390fc9=(_0xb85095[_0x488a33]-_0x590659)/_0x1373ca,_0x4a9e9a=(_0xb85095[_0x45d7ac]-_0x2fad3a)/_0x4f51e9;_0x17d50[_0x30ee5b*0x2]=_0x390fc9,_0x17d50[_0x30ee5b*0x2+0x1]=_0x4a9e9a;}return _0x17d50;}[_0xe24966(0x166)](_0x2fc4be){const _0x2ccd73=_0xe24966;let _0x550794=0x0;const _0x193714=_0x2fc4be[_0x2ccd73(0x12d)]/0x2;for(let _0x5068fe=0x0;_0x5068fe<_0x193714;_0x5068fe++){const _0x22e081=(_0x5068fe+0x1)%_0x193714,_0x1d215a=_0x2fc4be[_0x5068fe*0x2],_0x301fba=_0x2fc4be[_0x5068fe*0x2+0x1],_0x116035=_0x2fc4be[_0x22e081*0x2],_0x4483cd=_0x2fc4be[_0x22e081*0x2+0x1];_0x550794+=_0x1d215a*_0x4483cd-_0x116035*_0x301fba;}return _0x550794/0x2;}['constructGeometry'](_0x54f62c){const _0x10ed11=_0xe24966,_0x58a14e=new webgpu.BufferGeometry();if(!_0x54f62c['vertices']||_0x54f62c['vertices'][_0x10ed11(0x12d)]===0x0)return console[_0x10ed11(0x153)](_0x10ed11(0x133)),_0x58a14e;const _0x4cac06=new Float32Array(_0x54f62c[_0x10ed11(0x14a)]['length']*0x3);for(let _0xb4203=0x0;_0xb4203<_0x54f62c[_0x10ed11(0x14a)][_0x10ed11(0x12d)];_0xb4203++){_0x4cac06[_0xb4203*0x3]=_0x54f62c[_0x10ed11(0x14a)][_0xb4203]['x'],_0x4cac06[_0xb4203*0x3+0x1]=_0x54f62c[_0x10ed11(0x14a)][_0xb4203]['y'],_0x4cac06[_0xb4203*0x3+0x2]=_0x54f62c[_0x10ed11(0x14a)][_0xb4203]['z'];}_0x58a14e[_0x10ed11(0x170)](_0x10ed11(0x15a),new webgpu.Float32BufferAttribute(_0x4cac06,0x3));if(_0x54f62c['indices']&&_0x54f62c[_0x10ed11(0x132)][_0x10ed11(0x12d)]>0x0)_0x58a14e[_0x10ed11(0x139)](_0x54f62c[_0x10ed11(0x132)]);else {const _0x1fb2a1=[];let _0x8f57d=Infinity,_0xfa1915=-Infinity,_0x35487c=Infinity,_0x512043=-Infinity,_0x3dd013=Infinity,_0x40364c=-Infinity;for(let _0x1978fb=0x0;_0x1978fb<_0x54f62c['vertices'][_0x10ed11(0x12d)];_0x1978fb++){const _0x24bfdc=_0x54f62c[_0x10ed11(0x14a)][_0x1978fb];_0x35487c=Math[_0x10ed11(0x137)](_0x35487c,_0x24bfdc['x']),_0x512043=Math[_0x10ed11(0x12b)](_0x512043,_0x24bfdc['x']),_0x8f57d=Math[_0x10ed11(0x137)](_0x8f57d,_0x24bfdc['y']),_0xfa1915=Math[_0x10ed11(0x12b)](_0xfa1915,_0x24bfdc['y']),_0x3dd013=Math[_0x10ed11(0x137)](_0x3dd013,_0x24bfdc['z']),_0x40364c=Math[_0x10ed11(0x12b)](_0x40364c,_0x24bfdc['z']);}const _0x4593fa=_0x512043-_0x35487c,_0x271804=_0xfa1915-_0x8f57d,_0x4c3754=_0x40364c-_0x3dd013;let _0x302fa0='XY';if(_0x271804<=_0x4593fa&&_0x271804<=_0x4c3754){_0x302fa0='XZ';for(let _0x2bdd58=0x0;_0x2bdd58<_0x54f62c[_0x10ed11(0x14a)][_0x10ed11(0x12d)];_0x2bdd58++){_0x1fb2a1[_0x10ed11(0x158)](_0x54f62c[_0x10ed11(0x14a)][_0x2bdd58]['x']),_0x1fb2a1[_0x10ed11(0x158)](_0x54f62c['vertices'][_0x2bdd58]['z']);}}else {if(_0x4593fa<=_0x271804&&_0x4593fa<=_0x4c3754){_0x302fa0='YZ';for(let _0x141ad9=0x0;_0x141ad9<_0x54f62c['vertices']['length'];_0x141ad9++){_0x1fb2a1[_0x10ed11(0x158)](_0x54f62c[_0x10ed11(0x14a)][_0x141ad9]['y']),_0x1fb2a1[_0x10ed11(0x158)](_0x54f62c['vertices'][_0x141ad9]['z']);}}else {_0x302fa0='XY';for(let _0x57cceb=0x0;_0x57cceb<_0x54f62c[_0x10ed11(0x14a)][_0x10ed11(0x12d)];_0x57cceb++){_0x1fb2a1['push'](_0x54f62c[_0x10ed11(0x14a)][_0x57cceb]['x']),_0x1fb2a1[_0x10ed11(0x158)](_0x54f62c['vertices'][_0x57cceb]['y']);}}}const _0x19dec0=this['calculatePolygonArea'](_0x1fb2a1),_0x4f3636=_0x19dec0<0x0;if(_0x4f3636){console[_0x10ed11(0x135)](_0x10ed11(0x144)),_0x1fb2a1[_0x10ed11(0x14c)]();const _0x3017e6=[];for(let _0x58f57e=_0x1fb2a1['length']-0x2;_0x58f57e>=0x0;_0x58f57e-=0x2){_0x3017e6[_0x10ed11(0x158)](_0x1fb2a1[_0x58f57e],_0x1fb2a1[_0x58f57e+0x1]);}_0x1fb2a1[_0x10ed11(0x12d)]=0x0,_0x1fb2a1['push'](..._0x3017e6);}try{const _0x3190be=_0x546287(_0x1fb2a1,undefined,0x2);if(_0x3190be&&_0x3190be[_0x10ed11(0x12d)]>0x0){if(_0x4f3636)for(let _0x14e2f3=0x0;_0x14e2f3<_0x3190be['length'];_0x14e2f3+=0x3){const _0x333d77=_0x3190be[_0x14e2f3];_0x3190be[_0x14e2f3]=_0x3190be[_0x14e2f3+0x2],_0x3190be[_0x14e2f3+0x2]=_0x333d77;}_0x58a14e[_0x10ed11(0x139)](_0x3190be),console['log'](_0x10ed11(0x150),{'planeType':_0x302fa0,'vertexCount':_0x54f62c[_0x10ed11(0x14a)][_0x10ed11(0x12d)],'triangleCount':_0x3190be['length']/0x3,'area':Math[_0x10ed11(0x134)](_0x19dec0),'wasClockwise':_0x4f3636,'indices':Array[_0x10ed11(0x171)](_0x3190be)});}else console[_0x10ed11(0x135)](_0x10ed11(0x12a));}catch(_0x5dbb5c){console[_0x10ed11(0x153)](_0x10ed11(0x15e),_0x5dbb5c);}}if(_0x54f62c['normals']&&_0x54f62c[_0x10ed11(0x15b)][_0x10ed11(0x12d)]===_0x54f62c[_0x10ed11(0x14a)][_0x10ed11(0x12d)]){const _0xbe28df=new Float32Array(_0x54f62c[_0x10ed11(0x15b)][_0x10ed11(0x12d)]*0x3);for(let _0x2a1487=0x0;_0x2a1487<_0x54f62c['normals'][_0x10ed11(0x12d)];_0x2a1487++){_0xbe28df[_0x2a1487*0x3]=_0x54f62c[_0x10ed11(0x15b)][_0x2a1487]['x'],_0xbe28df[_0x2a1487*0x3+0x1]=_0x54f62c[_0x10ed11(0x15b)][_0x2a1487]['y'],_0xbe28df[_0x2a1487*0x3+0x2]=_0x54f62c[_0x10ed11(0x15b)][_0x2a1487]['z'];}_0x58a14e['setAttribute'](_0x10ed11(0x136),new webgpu.Float32BufferAttribute(_0xbe28df,0x3));}else _0x58a14e[_0x10ed11(0x13a)]();if(_0x54f62c['uvs']&&_0x54f62c['uvs'][_0x10ed11(0x12d)]>0x0){const _0x44e415=new Float32Array(_0x54f62c[_0x10ed11(0x161)][_0x10ed11(0x12d)]*0x2);for(let _0xf8a7ac=0x0;_0xf8a7ac<_0x54f62c[_0x10ed11(0x161)][_0x10ed11(0x12d)];_0xf8a7ac++){_0x44e415[_0xf8a7ac*0x2]=_0x54f62c[_0x10ed11(0x161)][_0xf8a7ac]['x'],_0x44e415[_0xf8a7ac*0x2+0x1]=_0x54f62c['uvs'][_0xf8a7ac]['y'];}_0x58a14e['setAttribute']('uv',new webgpu.Float32BufferAttribute(_0x44e415,0x2));}else {const _0x19693a=this[_0x10ed11(0x165)](_0x54f62c[_0x10ed11(0x14a)]);_0x58a14e[_0x10ed11(0x170)]('uv',new webgpu.Float32BufferAttribute(_0x19693a,0x2));}if(_0x54f62c['colors']&&_0x54f62c['colors']['length']===_0x54f62c[_0x10ed11(0x14a)][_0x10ed11(0x12d)]){const _0x173307=new Float32Array(_0x54f62c[_0x10ed11(0x129)][_0x10ed11(0x12d)]*0x3);for(let _0xee2ec8=0x0;_0xee2ec8<_0x54f62c[_0x10ed11(0x129)][_0x10ed11(0x12d)];_0xee2ec8++){_0x173307[_0xee2ec8*0x3]=_0x54f62c[_0x10ed11(0x129)][_0xee2ec8]['r'],_0x173307[_0xee2ec8*0x3+0x1]=_0x54f62c['colors'][_0xee2ec8]['g'],_0x173307[_0xee2ec8*0x3+0x2]=_0x54f62c[_0x10ed11(0x129)][_0xee2ec8]['b'];}_0x58a14e['setAttribute'](_0x10ed11(0x142),new webgpu.Float32BufferAttribute(_0x173307,0x3));}return _0x58a14e;}set[_0xe24966(0x128)](_0x5060bf){const _0x411be4=_0xe24966;var _0x3ce777,_0x1c3401,_0x228327;this[_0x411be4(0x157)]&&this[_0x411be4(0x157)][_0x411be4(0x16f)]();const _0x391e73=this[_0x411be4(0x151)](_0x5060bf);this['_geometryPtr']=this[_0x411be4(0x16b)][_0x411be4(0x146)][_0x411be4(0x12e)](_0x391e73),this['threeObject'][_0x411be4(0x16d)]=_0x391e73,this['_meshData']={'vertices':_0x5060bf[_0x411be4(0x14a)][_0x411be4(0x13e)](_0x13dcf9=>_0x13dcf9[_0x411be4(0x15d)]()),'indices':_0x5060bf[_0x411be4(0x132)]?[..._0x5060bf[_0x411be4(0x132)]]:undefined,'normals':(_0x3ce777=_0x5060bf[_0x411be4(0x15b)])===null||_0x3ce777===void 0?void 0:_0x3ce777[_0x411be4(0x13e)](_0x33689f=>_0x33689f[_0x411be4(0x15d)]()),'uvs':(_0x1c3401=_0x5060bf[_0x411be4(0x161)])===null||_0x1c3401===void 0?void 0:_0x1c3401[_0x411be4(0x13e)](_0x1ce9cc=>_0x1ce9cc[_0x411be4(0x15d)]()),'colors':(_0x228327=_0x5060bf['colors'])===null||_0x228327===void 0?void 0:_0x228327[_0x411be4(0x13e)](_0x2177d2=>_0x2177d2['clone']())},this[_0x411be4(0x155)]&&this['world'][_0x411be4(0x152)][_0x411be4(0x13c)]();}get['meshData'](){const _0x3cf630=_0xe24966;return this[_0x3cf630(0x168)];}[_0xe24966(0x12c)](){return new webgpu.Mesh();}set['castShadow'](_0x432d32){const _0x320dfb=_0xe24966;if(this['threeObject'])this[_0x320dfb(0x16c)][_0x320dfb(0x141)]=_0x432d32;}get[_0xe24966(0x141)](){const _0x22d32c=_0xe24966;return this[_0x22d32c(0x16c)]?this[_0x22d32c(0x16c)][_0x22d32c(0x141)]:![];}set['receiveShadow'](_0x2ec016){const _0x5aa0cd=_0xe24966;if(!this[_0x5aa0cd(0x16c)])return;this[_0x5aa0cd(0x16c)][_0x5aa0cd(0x154)]=_0x2ec016;}get['receiveShadow'](){const _0x68bb73=_0xe24966;return this['threeObject']?this[_0x68bb73(0x16c)][_0x68bb73(0x154)]:![];}[_0xe24966(0x149)](){const _0x5973df=_0xe24966;let _0x4d1128=new webgpu.Vector3();return this[_0x5973df(0x162)]()['getCenter'](_0x4d1128),_0x4d1128;}[_0xe24966(0x16e)](){const _0x2446d5=_0xe24966;let _0x12b316=new webgpu.Vector3(),_0x67724a=this['getBounds']();return _0x67724a[_0x2446d5(0x159)](_0x12b316),_0x12b316['y']=_0x67724a[_0x2446d5(0x12b)]['y'],_0x12b316;}['getBoundsBottomCenterPosition'](){const _0x2eab66=_0xe24966;let _0x21a6ae=new webgpu.Vector3(),_0x3690de=this[_0x2eab66(0x162)]();return _0x3690de[_0x2eab66(0x159)](_0x21a6ae),_0x21a6ae['y']=_0x3690de[_0x2eab66(0x137)]['y'],_0x21a6ae;}[_0xe24966(0x14e)](){const _0x30c583=_0xe24966;var _0x571d37,_0x3c0d44;this['threeObject']&&this[_0x30c583(0x16c)][_0x30c583(0x169)](),(_0x571d37=this[_0x30c583(0x157)])===null||_0x571d37===void 0?void 0:_0x571d37['release'](),(_0x3c0d44=this[_0x30c583(0x163)])===null||_0x3c0d44===void 0?void 0:_0x3c0d44[_0x30c583(0x16f)](),super[_0x30c583(0x14e)]();}}function _0x4a6c(){const _0x4b1592=['addMaterialAsset','clone','CustomMeshComponent:\x20Earcut\x20triangulation\x20failed:','CustomMeshComponent:\x20threeObject\x20is\x20null','CustomMeshComponent','uvs','getBounds','_materialPtr','600enSzly','computeUVs','calculatePolygonArea','obj','_meshData','removeFromParent','24ODvXwH','app','threeObject','geometry','getBoundsTopCenterPosition','release','setAttribute','from','586865yhYLfk','meshData','colors','CustomMeshComponent:\x20Earcut\x20triangulation\x20returned\x20empty\x20result','max','createDefaultObject','length','addGeometryAsset','307207lwLYNt','materialPtr\x20is\x20null','13300KCkdHB','indices','CustomMeshComponent:\x20Invalid\x20vertices\x20data','abs','warn','normal','min','material','setIndex','computeVertexNormals','addRef','markRenderStateDirty','31843746HCfklq','map','LYObject','geometryPtr','castShadow','color','material\x20is\x20null','CustomMeshComponent:\x20Vertices\x20are\x20in\x20clockwise\x20order,\x20reversing...','1347744ISfjYw','assetManager','name','materialPtr','getBoundsCenterPosition','vertices','2977050RurQXk','reverse','getValue','destroyObject','10751320mxaNgQ','[CustomMeshComponent]\x20Earcut\x20triangulation\x20success:','constructGeometry','viewport','error','receiveShadow','world','geometryPtr\x20is\x20null','_geometryPtr','push','getCenter','position','normals'];_0x4a6c=function(){return _0x4b1592;};return _0x4a6c();}
|
|
119
119
|
|
|
120
|
-
|
|
120
|
+
(function(_0x141f4c,_0x44d86f){var _0x326e17=_0x3d41,_0x297225=_0x141f4c();while(!![]){try{var _0x2ebb3d=parseInt(_0x326e17(0x7e))/0x1*(parseInt(_0x326e17(0x7c))/0x2)+parseInt(_0x326e17(0x74))/0x3*(-parseInt(_0x326e17(0x75))/0x4)+parseInt(_0x326e17(0x78))/0x5*(parseInt(_0x326e17(0x79))/0x6)+parseInt(_0x326e17(0x7a))/0x7+-parseInt(_0x326e17(0x7d))/0x8*(-parseInt(_0x326e17(0x76))/0x9)+-parseInt(_0x326e17(0x7b))/0xa+parseInt(_0x326e17(0x77))/0xb;if(_0x2ebb3d===_0x44d86f)break;else _0x297225['push'](_0x297225['shift']());}catch(_0x27bb98){_0x297225['push'](_0x297225['shift']());}}}(_0x57ca,0xa2154));function _0x57ca(){var _0x543612=['1285467vOYWWM','12saPIjn','18198oTcuil','5775033GOSNPr','6335830DzsBQQ','6YjchJv','4674733zTfuaM','12434530xvgRdZ','2jeZuOk','40qrMJDi','722714dxEjme'];_0x57ca=function(){return _0x543612;};return _0x57ca();}function _0x3d41(_0x3ebf55,_0x453dda){_0x3ebf55=_0x3ebf55-0x74;var _0x57caf3=_0x57ca();var _0x3d41ae=_0x57caf3[_0x3ebf55];return _0x3d41ae;}class SphereComponent extends MeshComponent{constructor(_0x4a6af5,_0x4b9f76,_0x32b99e=new webgpu.MeshBasicMaterial(),_0x9e2bdb=0x20,_0x1abe98=0x10,_0x51ad95){super(_0x4a6af5,new webgpu.SphereGeometry(_0x4b9f76,_0x9e2bdb,_0x1abe98),_0x32b99e,_0x51ad95);}}
|
|
121
121
|
|
|
122
|
-
|
|
122
|
+
var _0x28f50b=_0x24f9;(function(_0x31503f,_0x4b53f0){var _0x4d4776=_0x24f9,_0x1a6268=_0x31503f();while(!![]){try{var _0x36b145=-parseInt(_0x4d4776(0x8a))/0x1*(-parseInt(_0x4d4776(0x8d))/0x2)+-parseInt(_0x4d4776(0x91))/0x3*(-parseInt(_0x4d4776(0x8f))/0x4)+parseInt(_0x4d4776(0x98))/0x5*(-parseInt(_0x4d4776(0x90))/0x6)+-parseInt(_0x4d4776(0x8b))/0x7*(parseInt(_0x4d4776(0x97))/0x8)+parseInt(_0x4d4776(0x88))/0x9+parseInt(_0x4d4776(0x82))/0xa+-parseInt(_0x4d4776(0x84))/0xb*(parseInt(_0x4d4776(0x99))/0xc);if(_0x36b145===_0x4b53f0)break;else _0x1a6268['push'](_0x1a6268['shift']());}catch(_0x1e8428){_0x1a6268['push'](_0x1a6268['shift']());}}}(_0x21d9,0xd5f74));function _0x24f9(_0x5e3e23,_0x3d2498){_0x5e3e23=_0x5e3e23-0x82;var _0x21d926=_0x21d9();var _0x24f921=_0x21d926[_0x5e3e23];return _0x24f921;}function _0x21d9(){var _0x488346=['4259695uZrhIK','16980000DISyvO','9247090IPDGsV','LYObject','11NFIUAC','element','threeObject','userData','12847860UdNWTV','obj','1817TioGpp','8071399ODcgHP','isClickEnabled','1678mBctoM','parentNode','559584OnOUkG','6GKDAXQ','9DrJbpe','isHoverEnabled','copy','destroy','center','innerHTML','8xtHvxf'];_0x21d9=function(){return _0x488346;};return _0x21d9();}class LabelComponent extends SceneComponent{get['threeObject'](){var _0x5d5741=_0x24f9;return this[_0x5d5741(0x89)];}set[_0x28f50b(0x86)](_0x4d7ce9){var _0x554a81=_0x28f50b;this[_0x554a81(0x89)]=_0x4d7ce9,this[_0x554a81(0x89)]&&(this['obj'][_0x554a81(0x87)][_0x554a81(0x83)]=this);}constructor(_0x3c38da,_0x3a12ac,_0x3e6f69=new webgpu.Vector2(0.5,0x1),_0x17feb3){var _0x325b4c=_0x28f50b;super(_0x3c38da,_0x17feb3),this[_0x325b4c(0x89)]=new CSS2DRenderer_js.CSS2DObject(_0x3a12ac),this['obj'][_0x325b4c(0x95)][_0x325b4c(0x93)](_0x3e6f69);}set[_0x28f50b(0x92)](_0x5ac5dc){return;}set[_0x28f50b(0x8c)](_0x1af035){return;}['setVisible'](_0x24463f){super['setVisible'](_0x24463f);}['destroy'](){var _0x5bd49b=_0x28f50b;this[_0x5bd49b(0x86)][_0x5bd49b(0x85)]&&this['threeObject'][_0x5bd49b(0x85)][_0x5bd49b(0x8e)]&&(this[_0x5bd49b(0x86)][_0x5bd49b(0x85)][_0x5bd49b(0x96)]='',this[_0x5bd49b(0x86)][_0x5bd49b(0x85)]['remove']()),super[_0x5bd49b(0x94)]();}}
|
|
123
123
|
|
|
124
|
-
|
|
124
|
+
(function(_0x2f10bd,_0x4bdd70){const _0x5d49cf=_0x18c4,_0x142c9c=_0x2f10bd();while(!![]){try{const _0xf7afa9=-parseInt(_0x5d49cf(0x132))/0x1*(parseInt(_0x5d49cf(0x136))/0x2)+-parseInt(_0x5d49cf(0x12f))/0x3*(-parseInt(_0x5d49cf(0x12e))/0x4)+-parseInt(_0x5d49cf(0x130))/0x5+-parseInt(_0x5d49cf(0x131))/0x6*(parseInt(_0x5d49cf(0x12d))/0x7)+parseInt(_0x5d49cf(0x135))/0x8*(parseInt(_0x5d49cf(0x134))/0x9)+parseInt(_0x5d49cf(0x138))/0xa*(-parseInt(_0x5d49cf(0x137))/0xb)+parseInt(_0x5d49cf(0x139))/0xc*(parseInt(_0x5d49cf(0x133))/0xd);if(_0xf7afa9===_0x4bdd70)break;else _0x142c9c['push'](_0x142c9c['shift']());}catch(_0x2ea7c4){_0x142c9c['push'](_0x142c9c['shift']());}}}(_0x5675,0x532c4));function _0x18c4(_0x2251e3,_0x593ff){_0x2251e3=_0x2251e3-0x12d;const _0x567572=_0x5675();let _0x18c45c=_0x567572[_0x2251e3];return _0x18c45c;}const DefaultSSRParam={'type':exports.PostProcessStepType['ScreenSpaceReflection'],'maxDistance':0.5,'opacity':0x1,'thickness':0.015};function _0x5675(){const _0x15b04b=['12GmXWaN','1212115cmMPuX','8250pRcHNE','547abjHij','507nILJwX','36hoegoB','347368OClJxW','1178hyteox','11QAWAjf','1888180OJnnFU','138528HoJjCh','28Gksbqe','475700gtghaD'];_0x5675=function(){return _0x15b04b;};return _0x5675();}
|
|
125
125
|
|
|
126
|
-
const
|
|
126
|
+
function _0x2f82(){const _0x5fa278=['72TKkPyh','89OBGfKk','10wmwRAs','578473jCtHzy','3388285HNjLbN','10496646khcUro','3326400FHzmon','31412osWpKz','5018844wKgkuN','fxaa','5488400lBqERs'];_0x2f82=function(){return _0x5fa278;};return _0x2f82();}function _0x310e(_0x2b99a4,_0xaf39bf){_0x2b99a4=_0x2b99a4-0x1ad;const _0x2f82c3=_0x2f82();let _0x310ed7=_0x2f82c3[_0x2b99a4];return _0x310ed7;}const _0x25c19f=_0x310e;(function(_0x2c23ba,_0x2b3071){const _0x3c9443=_0x310e,_0x108aad=_0x2c23ba();while(!![]){try{const _0xf83e58=-parseInt(_0x3c9443(0x1b1))/0x1*(parseInt(_0x3c9443(0x1b7))/0x2)+parseInt(_0x3c9443(0x1ad))/0x3+parseInt(_0x3c9443(0x1af))/0x4+-parseInt(_0x3c9443(0x1b4))/0x5+-parseInt(_0x3c9443(0x1b6))/0x6+-parseInt(_0x3c9443(0x1b3))/0x7*(parseInt(_0x3c9443(0x1b0))/0x8)+-parseInt(_0x3c9443(0x1b5))/0x9*(-parseInt(_0x3c9443(0x1b2))/0xa);if(_0xf83e58===_0x2b3071)break;else _0x108aad['push'](_0x108aad['shift']());}catch(_0x1140a4){_0x108aad['push'](_0x108aad['shift']());}}}(_0x2f82,0xcc844));const DefaultAAParams={'type':exports.PostProcessStepType['Antialiasing'],'method':_0x25c19f(0x1ae)};
|
|
127
127
|
|
|
128
|
-
|
|
128
|
+
(function(_0x2671a4,_0x5f44d5){const _0x4b207b=_0x3844,_0x1a3c51=_0x2671a4();while(!![]){try{const _0x328dd2=parseInt(_0x4b207b(0x10c))/0x1+parseInt(_0x4b207b(0x113))/0x2+-parseInt(_0x4b207b(0x111))/0x3*(parseInt(_0x4b207b(0x112))/0x4)+-parseInt(_0x4b207b(0x117))/0x5+parseInt(_0x4b207b(0x116))/0x6+-parseInt(_0x4b207b(0x114))/0x7+parseInt(_0x4b207b(0x10e))/0x8;if(_0x328dd2===_0x5f44d5)break;else _0x1a3c51['push'](_0x1a3c51['shift']());}catch(_0x47fb09){_0x1a3c51['push'](_0x1a3c51['shift']());}}}(_0x3511,0xf2bce));function _0x3844(_0x4a373e,_0x286281){_0x4a373e=_0x4a373e-0x10a;const _0x35114f=_0x3511();let _0x384462=_0x35114f[_0x4a373e];return _0x384462;}function _0x3511(){const _0x206d55=['8414120UXYzmg','controller','quaternion','1119654fLrFMm','camera','12897528EWRQaE','clone','_control','24PJWwKd','556596cyzWSu','2121918tuxlfn','8688232zGNXxI','position','7431852PvaDAh'];_0x3511=function(){return _0x206d55;};return _0x3511();}class FirstPerson extends Pawn{constructor(_0x270ebb){const _0xeaa468=_0x3844;super(_0x270ebb),this[_0xeaa468(0x110)]=new PointerLockControls_js.PointerLockControls(_0x270ebb[_0xeaa468(0x10d)],_0x270ebb['viewPort']['canvas']);}['getFocuingData'](){const _0x1f05c0=_0x3844;var _0x57ae66;if(!this[_0x1f05c0(0x110)]||!((_0x57ae66=this[_0x1f05c0(0x10a)])===null||_0x57ae66===void 0?void 0:_0x57ae66[_0x1f05c0(0x10d)]))return null;const _0x5d9845=this[_0x1f05c0(0x10a)][_0x1f05c0(0x10d)][_0x1f05c0(0x115)]['clone'](),_0x3d5bb0=this[_0x1f05c0(0x10a)]['camera'][_0x1f05c0(0x10b)][_0x1f05c0(0x10f)](),_0x585c1a=0x0;return {'position':_0x5d9845,'quaternion':_0x3d5bb0,'distance':_0x585c1a};}}
|
|
129
129
|
|
|
130
|
-
const
|
|
130
|
+
const _0x5e2270=_0x1f2c;function _0x1bb7(){const _0x52217d=['showY','dispose','removeEventListener','translationSnap','onChangeEvent','controller','dragging-changed','remove','setTranslationSnap','targets','objectChange','rotationSnap','showZ','value','clone','Control\x20not\x20initialized','traverse','includes','multiply','onTransforming','destroy','getTranslationSnap','control','primaryTarget','getRotationnSnap','unpossess','detach','getScaleSnap','change','addEventListener','getHelper','21UMPeiC','updateMatrixWorld','matrixWorld','TransformGizmo:Canvas\x20not\x20found','getMatrixInWorld','userData','onObjectChangeEvent','set','506214VAtqKg','_control','viewPort','7308hagvVB','refresh','setMode','1401521PlKCHs','setScaleSnap','decompose','438WqzJsc','onObjectChanged','helperObject','10VWKUkv','getTargetScene','clear','gizmoScene','61064QnODWr','isTickEnabled','setAxis','rayIgnored','getMode','setTarget','forEach','156WLDXxA','attach','targetMatrixMap','15orWgmm','setSize','onDraggingChangedEvent','helperScene','position','name','add','showX','onDraggingChanged','scale','485158swOXuw','1794888lvkfPZ','onDraggingFunction','quaternion','onUpdateFunction','setRotationSnap','world','get','509977EKmgKW','invert','setSpace','camera','markRenderStateDirty','possess','1xZseBA'];_0x1bb7=function(){return _0x52217d;};return _0x1bb7();}(function(_0x338ff6,_0x489d50){const _0x48f9c2=_0x1f2c,_0x538063=_0x338ff6();while(!![]){try{const _0x36bc94=parseInt(_0x48f9c2(0x17c))/0x1*(-parseInt(_0x48f9c2(0x16e))/0x2)+parseInt(_0x48f9c2(0x153))/0x3*(parseInt(_0x48f9c2(0x14d))/0x4)+parseInt(_0x48f9c2(0x164))/0x5*(-parseInt(_0x48f9c2(0x14a))/0x6)+-parseInt(_0x48f9c2(0x142))/0x7*(-parseInt(_0x48f9c2(0x15a))/0x8)+-parseInt(_0x48f9c2(0x16f))/0x9+parseInt(_0x48f9c2(0x156))/0xa*(parseInt(_0x48f9c2(0x150))/0xb)+-parseInt(_0x48f9c2(0x161))/0xc*(-parseInt(_0x48f9c2(0x176))/0xd);if(_0x36bc94===_0x489d50)break;else _0x538063['push'](_0x538063['shift']());}catch(_0x5cb547){_0x538063['push'](_0x538063['shift']());}}}(_0x1bb7,0x389e7));function _0x1f2c(_0xd46caf,_0x38415a){_0xd46caf=_0xd46caf-0x126;const _0x1bb7f1=_0x1bb7();let _0x1f2cd2=_0x1bb7f1[_0xd46caf];return _0x1f2cd2;}class TransformGizmo extends Pawn{get[_0x5e2270(0x139)](){const _0x36b8ce=_0x5e2270;if(!this[_0x36b8ce(0x14b)])throw new Error(_0x36b8ce(0x132));return this['_control'];}constructor(_0x1f330d,_0xfe09f2){const _0x168f95=_0x5e2270;var _0x3b1cec;super(_0x1f330d),this['_control']=null,this[_0x168f95(0x155)]=new webgpu.Object3D(),this[_0x168f95(0x12c)]=[],this['primaryTarget']=null,this[_0x168f95(0x163)]=new Map(),this[_0x168f95(0x159)]=null,this[_0x168f95(0x166)]=_0x1695ea=>{this['onDraggingChanged'](_0x1695ea);},this['onObjectChangeEvent']=()=>{const _0x5e49fa=_0x168f95;this[_0x5e49fa(0x154)]();},this[_0x168f95(0x127)]=()=>{this['onChange']();},this[_0x168f95(0x172)]=null,this['onDraggingFunction']=null;let _0x1d6588=_0x1f330d[_0x168f95(0x14c)]['canvas'];if(!_0x1d6588)throw new Error(_0x168f95(0x145));this[_0x168f95(0x14b)]=new TransformControls_js.TransformControls(_0x1f330d[_0x168f95(0x179)],_0x1d6588),this[_0x168f95(0x139)][_0x168f95(0x141)]()[_0x168f95(0x133)](_0x1ea8d1=>{const _0x324335=_0x168f95;_0x1ea8d1[_0x324335(0x147)][_0x324335(0x15d)]=!![];}),this[_0x168f95(0x155)][_0x168f95(0x169)]='TransformHelperObject',this[_0x168f95(0x159)]=(_0x3b1cec=_0xfe09f2===null||_0xfe09f2===void 0?void 0:_0xfe09f2[_0x168f95(0x167)])!==null&&_0x3b1cec!==void 0?_0x3b1cec:null;}['getTargetScene'](){const _0x5b7a7c=_0x5e2270;var _0x3656b0;return (_0x3656b0=this[_0x5b7a7c(0x159)])!==null&&_0x3656b0!==void 0?_0x3656b0:this[_0x5b7a7c(0x128)][_0x5b7a7c(0x174)]['scene'];}[_0x5e2270(0x17b)](){const _0x422e27=_0x5e2270,_0x3c8a5c=this[_0x422e27(0x157)]();_0x3c8a5c[_0x422e27(0x16a)](this[_0x422e27(0x155)]),_0x3c8a5c[_0x422e27(0x16a)](this[_0x422e27(0x139)][_0x422e27(0x141)]()),this[_0x422e27(0x139)][_0x422e27(0x162)](this[_0x422e27(0x155)]),this[_0x422e27(0x139)][_0x422e27(0x140)](_0x422e27(0x13f),this[_0x422e27(0x127)]),this[_0x422e27(0x139)][_0x422e27(0x140)](_0x422e27(0x129),this['onDraggingChangedEvent']),this[_0x422e27(0x139)]['addEventListener'](_0x422e27(0x12d),this[_0x422e27(0x148)]);}[_0x5e2270(0x13c)](){const _0x21b975=_0x5e2270;this['control'][_0x21b975(0x17f)](_0x21b975(0x13f),this[_0x21b975(0x127)]),this[_0x21b975(0x139)][_0x21b975(0x17f)](_0x21b975(0x129),this[_0x21b975(0x166)]),this['control']['removeEventListener']('objectChange',this[_0x21b975(0x148)]),this['control'][_0x21b975(0x13d)]();const _0x32ef30=this[_0x21b975(0x157)]();_0x32ef30[_0x21b975(0x12a)](this[_0x21b975(0x155)]),_0x32ef30[_0x21b975(0x12a)](this[_0x21b975(0x139)][_0x21b975(0x141)]());}[_0x5e2270(0x14e)](){const _0x3b5616=_0x5e2270;if(!this[_0x3b5616(0x13a)])return;this[_0x3b5616(0x139)]['detach']();const _0xe0bf80=this['getTargetScene']();_0xe0bf80[_0x3b5616(0x12a)](this[_0x3b5616(0x155)]),this[_0x3b5616(0x163)]['clear']();let _0x252295=this[_0x3b5616(0x13a)][_0x3b5616(0x146)]();_0x252295[_0x3b5616(0x152)](this[_0x3b5616(0x155)][_0x3b5616(0x168)],this[_0x3b5616(0x155)][_0x3b5616(0x171)],this[_0x3b5616(0x155)]['scale']),_0xe0bf80[_0x3b5616(0x16a)](this[_0x3b5616(0x139)][_0x3b5616(0x141)]()),_0xe0bf80[_0x3b5616(0x16a)](this[_0x3b5616(0x155)]),this[_0x3b5616(0x139)][_0x3b5616(0x162)](this['helperObject']),this[_0x3b5616(0x12c)][_0x3b5616(0x160)](_0x3953df=>{const _0x388734=_0x3b5616,_0x14f93d=_0x3953df[_0x388734(0x146)](),_0x118f5b=_0x252295[_0x388734(0x131)]()['invert']()[_0x388734(0x135)](_0x14f93d);this[_0x388734(0x163)][_0x388734(0x149)](_0x3953df,_0x118f5b);});}['onChange'](){const _0x300c78=_0x5e2270;this[_0x300c78(0x128)][_0x300c78(0x14c)][_0x300c78(0x17a)]();}[_0x5e2270(0x16c)](_0x455cc6){const _0x9a96f6=_0x5e2270;if(this[_0x9a96f6(0x13a)]){let _0x1c6ee6=this['primaryTarget'][_0x9a96f6(0x146)]();_0x1c6ee6[_0x9a96f6(0x152)](this[_0x9a96f6(0x155)]['position'],this[_0x9a96f6(0x155)][_0x9a96f6(0x171)],this[_0x9a96f6(0x155)][_0x9a96f6(0x16d)]);}this[_0x9a96f6(0x170)]&&this['onDraggingFunction'](_0x455cc6[_0x9a96f6(0x130)]);}[_0x5e2270(0x154)](){const _0x1f678f=_0x5e2270;if(this[_0x1f678f(0x13a)]){this['helperObject'][_0x1f678f(0x143)](!![]);const _0xea42a4=this[_0x1f678f(0x155)][_0x1f678f(0x144)][_0x1f678f(0x131)]();this[_0x1f678f(0x13a)][_0x1f678f(0x136)](_0xea42a4),this[_0x1f678f(0x12c)][_0x1f678f(0x160)](_0x416ec7=>{const _0xd51f9=_0x1f678f,_0x4d3ccf=this[_0xd51f9(0x163)][_0xd51f9(0x175)](_0x416ec7);if(_0x4d3ccf){const _0x43809b=new webgpu.Matrix4()['multiplyMatrices'](_0xea42a4,_0x4d3ccf);_0x416ec7[_0xd51f9(0x136)](_0x43809b);}});}this[_0x1f678f(0x172)]&&this[_0x1f678f(0x172)]();}set['enable'](_0x2adf7b){const _0x4ef415=_0x5e2270;this[_0x4ef415(0x139)]['enabled']=_0x2adf7b;}[_0x5e2270(0x15f)](_0x1b9c45,_0x342ca6,_0x230be9=null,_0x5bfcd2=null){const _0x58fba1=_0x5e2270;this[_0x58fba1(0x163)]['clear']();let _0x1db71d=_0x1b9c45['getMatrixInWorld']();_0x1db71d[_0x58fba1(0x152)](this[_0x58fba1(0x155)][_0x58fba1(0x168)],this[_0x58fba1(0x155)][_0x58fba1(0x171)],this['helperObject']['scale']);const _0x3b6b63=this['getTargetScene']();_0x3b6b63[_0x58fba1(0x16a)](this[_0x58fba1(0x139)][_0x58fba1(0x141)]()),this[_0x58fba1(0x13a)]=_0x1b9c45,this['targets']=_0x342ca6,this[_0x58fba1(0x12c)][_0x58fba1(0x160)](_0x2a259d=>{const _0x2e2a4f=_0x58fba1,_0x2bf973=_0x2a259d[_0x2e2a4f(0x146)](),_0x4100c6=_0x1db71d[_0x2e2a4f(0x131)]()[_0x2e2a4f(0x177)]()[_0x2e2a4f(0x135)](_0x2bf973);this[_0x2e2a4f(0x163)][_0x2e2a4f(0x149)](_0x2a259d,_0x4100c6);}),_0x230be9&&(this[_0x58fba1(0x172)]=_0x230be9),_0x5bfcd2&&(this[_0x58fba1(0x170)]=_0x5bfcd2),this['isTickEnabled']=!![];}[_0x5e2270(0x15e)](){const _0x121bb0=_0x5e2270;return this[_0x121bb0(0x139)][_0x121bb0(0x15e)]();}[_0x5e2270(0x14f)](_0x22c610){const _0x194e39=_0x5e2270;this['control'][_0x194e39(0x14f)](_0x22c610);}['setSpace'](_0x2585a6){const _0xf0e05c=_0x5e2270;this['control'][_0xf0e05c(0x178)](_0x2585a6);}[_0x5e2270(0x15c)](_0x16e7d8){const _0x16204b=_0x5e2270;this[_0x16204b(0x139)][_0x16204b(0x16b)]=_0x16e7d8?_0x16e7d8===null||_0x16e7d8===void 0?void 0:_0x16e7d8[_0x16204b(0x134)]('X'):![],this['control'][_0x16204b(0x17d)]=_0x16e7d8?_0x16e7d8===null||_0x16e7d8===void 0?void 0:_0x16e7d8[_0x16204b(0x134)]('Y'):![],this['control'][_0x16204b(0x12f)]=_0x16e7d8?_0x16e7d8===null||_0x16e7d8===void 0?void 0:_0x16e7d8[_0x16204b(0x134)]('Z'):![];}['setSize'](_0x3288f2){const _0x372f11=_0x5e2270;this[_0x372f11(0x139)][_0x372f11(0x165)](_0x3288f2);}[_0x5e2270(0x138)](){const _0x395741=_0x5e2270;return this[_0x395741(0x139)][_0x395741(0x126)];}[_0x5e2270(0x12b)](_0x3b3ea0){const _0x490d11=_0x5e2270;this[_0x490d11(0x139)][_0x490d11(0x12b)](_0x3b3ea0);}[_0x5e2270(0x13b)](){const _0x328a96=_0x5e2270;return this[_0x328a96(0x139)][_0x328a96(0x12e)];}[_0x5e2270(0x173)](_0x452978){const _0x3992bc=_0x5e2270;this['control'][_0x3992bc(0x173)](_0x452978);}[_0x5e2270(0x13e)](){return this['control']['scaleSnap'];}[_0x5e2270(0x151)](_0x3f89d0){const _0x5838f0=_0x5e2270;this[_0x5838f0(0x139)][_0x5838f0(0x151)](_0x3f89d0);}[_0x5e2270(0x137)](){const _0x1bf4c7=_0x5e2270;var _0x189389;this[_0x1bf4c7(0x15b)]=![],this[_0x1bf4c7(0x13c)](),this[_0x1bf4c7(0x163)][_0x1bf4c7(0x158)](),this['targets']=[],this[_0x1bf4c7(0x13a)]=null,this[_0x1bf4c7(0x172)]=null,this[_0x1bf4c7(0x170)]=null,(_0x189389=this[_0x1bf4c7(0x14b)])===null||_0x189389===void 0?void 0:_0x189389[_0x1bf4c7(0x17e)](),this[_0x1bf4c7(0x14b)]=null,super[_0x1bf4c7(0x137)]();}}
|
|
131
131
|
|
|
132
|
-
(function(
|
|
132
|
+
(function(_0x167faf,_0x207b15){var _0x592015=_0x33a1,_0xa575b0=_0x167faf();while(!![]){try{var _0x406e0d=-parseInt(_0x592015(0x1cc))/0x1*(parseInt(_0x592015(0x1cb))/0x2)+parseInt(_0x592015(0x1c8))/0x3+parseInt(_0x592015(0x1c7))/0x4*(parseInt(_0x592015(0x1c2))/0x5)+-parseInt(_0x592015(0x1c3))/0x6*(parseInt(_0x592015(0x1ca))/0x7)+parseInt(_0x592015(0x1c5))/0x8+parseInt(_0x592015(0x1c6))/0x9*(parseInt(_0x592015(0x1c9))/0xa)+-parseInt(_0x592015(0x1c4))/0xb;if(_0x406e0d===_0x207b15)break;else _0xa575b0['push'](_0xa575b0['shift']());}catch(_0x50ecb8){_0xa575b0['push'](_0xa575b0['shift']());}}}(_0x3fe3,0xae6fa));function _0x33a1(_0x48b6a2,_0x3330e9){_0x48b6a2=_0x48b6a2-0x1c2;var _0x3fe356=_0x3fe3();var _0x33a136=_0x3fe356[_0x48b6a2];return _0x33a136;}function _0x3fe3(){var _0x5497fb=['16GuFlfe','5801PzwmlS','3200255zndGfQ','78bpyjGQ','21876569hIyXWr','3928536vkFjor','2416158QQKGsL','8RGyTBz','3116109zMEtAP','50PMIOYo','755195iiJuDv'];_0x3fe3=function(){return _0x5497fb;};return _0x3fe3();}
|
|
133
133
|
|
|
134
134
|
exports.ASSET_POINTER_KEY = ASSET_POINTER_KEY;
|
|
135
135
|
exports.Actor = Actor;
|