const a4_0x3b55b1=a4_0x438a;(function(_0x10c514,_0x4b1154){const _0x17aca1=a4_0x438a,_0x57c1fc=_0x10c514();while(!![]){try{const _0x30975e=-parseInt(_0x17aca1(0x11d))/0x1*(parseInt(_0x17aca1(0x16f))/0x2)+parseInt(_0x17aca1(0x165))/0x3*(parseInt(_0x17aca1(0xff))/0x4)+-parseInt(_0x17aca1(0xf7))/0x5*(-parseInt(_0x17aca1(0x158))/0x6)+-parseInt(_0x17aca1(0xf5))/0x7*(-parseInt(_0x17aca1(0x162))/0x8)+-parseInt(_0x17aca1(0x141))/0x9+-parseInt(_0x17aca1(0x140))/0xa*(-parseInt(_0x17aca1(0xdc))/0xb)+-parseInt(_0x17aca1(0xe0))/0xc;if(_0x30975e===_0x4b1154)break;else _0x57c1fc['push'](_0x57c1fc['shift']());}catch(_0x4481a0){_0x57c1fc['push'](_0x57c1fc['shift']());}}}(a4_0x14f8,0x4e412));function a4_0x438a(_0xf143a9,_0x30ad96){const _0x37054c=a4_0x14f8();return a4_0x438a=function(_0x6a63a,_0x28a2f5){_0x6a63a=_0x6a63a-0xd8;let _0x14f8bc=_0x37054c[_0x6a63a];return _0x14f8bc;},a4_0x438a(_0xf143a9,_0x30ad96);}const a4_0x33bfdd=(function(){let _0x280988=!![];return function(_0x17a5d7,_0xcd42d2){const _0x2dd350=_0x280988?function(){const _0x54ce06=a4_0x438a;if(_0xcd42d2){const _0x1650fa=_0xcd42d2[_0x54ce06(0x182)](_0x17a5d7,arguments);return _0xcd42d2=null,_0x1650fa;}}:function(){};return _0x280988=![],_0x2dd350;};}()),a4_0x493f54=a4_0x33bfdd(this,function(){const _0x2c74e2=a4_0x438a;return a4_0x493f54[_0x2c74e2(0x10b)]()[_0x2c74e2(0x106)](_0x2c74e2(0xf8))[_0x2c74e2(0x10b)]()['constructor'](a4_0x493f54)[_0x2c74e2(0x106)](_0x2c74e2(0xf8));});function a4_0x14f8(){const _0xa95be5=['indexOf','2274GKPBUZ','get','getTextureUrl','RequestInstance','observers','strict','lastReturnValue','getAll','OnEnginesDisposedObservable','MatrixUse64Bits','1544TUbniW','hasSpecificMask','SaveMeshSdf','6tEIHKk','onsuccess','result','preview','getModelListUrl','initialize','数据库:打开失败','getUint16','SetMatrixPrecision','GetShellInstance','52PoMRVo','expressType','_numObserversMarkedAsDeleted','modelId','fineTextureDb','isShell','material','treeId','getMeshUrl','请求参数是','albedo','index','_remove','storey','createObjectStore','texture.json','log','catch','modelIdToUniqueId','apply','getUint32','transaction','请等待初始化完成','readonly','SaveShell','getMaterialUrl','instances','ClearModelCache','clear','./Assets/Textures/PBRRepo/','uniqueIdToModelId','_onObserverAdded','albedoPath','2145671mwkbPN','onerror','toFixed','mask','2660796mZgZXI','slice','onupgradeneeded','_eventState','MatrixTrackedMatrices','clone','fineTextureDbInit','_lastNotifiedValue','decode','null','InitStaticTexture','add','json','onabort','_hasNotified','getStaticTextureUrl','remove','byteLength','notifyObserver','ndPath','数据库:mesh写入失败','19831iMSeza','timeout','2230lRVYYm','(((.+)+)+)+$','concat','getMesh','mesh','open','put','component','883644oAOLyk','addOnce','getComponentExpandProperty','uniqueId_oneInit','post','callback','hasObservers','search','assign','uniqueId','contains','ormPath','toString','GetInstance','静态贴图获取失败','hasOwnProperty','orm','makeObserverBottomPriority','relaxed','isLoad','scope','cleanLastNotifiedState','removeCallback','by_storey','readwrite','_deferUnregister','objectStore','数据库:写入mesh事务失败','userInfo','数据库:写入mesh事务终止','9836bkDlEx','getComponentExpandPropertyUrl','isStatic','objectStoreNames','FromPromise','getUint8','_observers','keys','getModelList','UseFallbackTexture','GetMesh','BYTES_PER_ELEMENT','fineTexture','name','GetComponentExpandProperty','error','splice','webpackChunkBim','服务接口返回错误内容','by_isStatic','公共贴图获取失败','notifyIfTriggered','all','by_isShell','then','currentTarget','getMeshInstanceUrl','createIndex','makeObserverTopPriority','_willBeUnregistered','oncomplete','getMaterial','by_treeId','arraybuffer','unshift','10cvSntj','4992183hsiBNX','getMeshInstance','target','getInt32','_LastCreatedScene','by_expressType','ClearShell','unregisterOnNextCall','InitIndexedDb','length','replace','serverModelId_indexDb','getFloat32','GetTexture','previewPath','skipNextObservers','push','data','LastCreatedEngine','MatrixCurrentType','texture','notifyObservers'];a4_0x14f8=function(){return _0xa95be5;};return a4_0x14f8();}a4_0x493f54();'use strict';(Object(self||this)[a4_0x3b55b1(0x12e)]=Object(self||this)[a4_0x3b55b1(0x12e)]||[])['push']([[0x1ff],{0xb12:(_0x643620,_0xae71a1,_0x8f214f)=>{const _0x38ede7=a4_0x3b55b1;_0x8f214f['d'](_0xae71a1,{'r':()=>_0x12a71b});var _0xae71a1=_0x8f214f(0x25c5),_0x4ddad9=_0x8f214f['n'](_0xae71a1),_0x233bde=_0x8f214f(0x25c9),_0x33164e=_0x8f214f(0x13f4);let _0x4c82ee=new TextDecoder();_0x4ddad9()['defaults'][_0x38ede7(0xf6)]=0x0;class _0x12a71b{constructor(_0x5af59f){const _0x2b620e=_0x38ede7;this[_0x2b620e(0xd9)]={},this[_0x2b620e(0x102)]={},this[_0x2b620e(0x181)]={},this['serverModelId_indexDb']={},this['fineTextureDbInit']=!0x1,this[_0x2b620e(0x177)]=_0x5af59f+_0x2b620e(0xfa),this[_0x2b620e(0x188)]=_0x5af59f+_0x2b620e(0x13c),this[_0x2b620e(0x15a)]=_0x5af59f+'getTexture',this[_0x2b620e(0x169)]=_0x5af59f+_0x2b620e(0x125),this[_0x2b620e(0x137)]=_0x5af59f+_0x2b620e(0x142),this[_0x2b620e(0x11e)]=_0x5af59f+_0x2b620e(0x101);}['GetModelList'](){return new Promise((_0x4caa64,_0x22a9a8)=>{const _0x54851d=a4_0x438a;_0x4ddad9()[_0x54851d(0x159)](this[_0x54851d(0x169)],{'responseType':_0x54851d(0x13e)})[_0x54851d(0x135)](_0x44f2b8=>{const _0x2e4d3e=_0x54851d;try{let _0x8023db={},_0x454538=0x0,_0x39eff6=new DataView(_0x44f2b8[_0x2e4d3e(0x152)]);for(;_0x454538<_0x44f2b8['data']['byteLength'];){var _0x15b1e6=_0x39eff6[_0x2e4d3e(0x183)](_0x454538,!0x0),_0x528507=(_0x454538+=Uint32Array[_0x2e4d3e(0x128)],_0x4c82ee[_0x2e4d3e(0xe8)](new Uint8Array(_0x44f2b8[_0x2e4d3e(0x152)],_0x454538,0x20)));_0x454538+=0x20*Uint8Array['BYTES_PER_ELEMENT'];let _0x121317=new Float32Array(0x6);for(let _0x50f6bf=0x0;_0x50f6bf<_0x121317[_0x2e4d3e(0x14a)];_0x50f6bf++)_0x121317[_0x50f6bf]=_0x39eff6[_0x2e4d3e(0x14d)](_0x454538,!0x0),_0x454538+=Float32Array[_0x2e4d3e(0x128)];let _0x5a4da4=new Float32Array(0x10);for(let _0x1896bb=0x0;_0x1896bb<_0x5a4da4[_0x2e4d3e(0x14a)];_0x1896bb++)_0x5a4da4[_0x1896bb]=_0x39eff6[_0x2e4d3e(0x14d)](_0x454538,!0x0),_0x454538+=Float32Array['BYTES_PER_ELEMENT'];var _0x2b077a=_0x39eff6['getUint32'](_0x454538,!0x0);_0x454538+=Uint32Array[_0x2e4d3e(0x128)];let _0x285b02=new Int32Array(_0x2b077a);for(let _0x469b56=0x0;_0x469b56<_0x2b077a;_0x469b56++)_0x285b02[_0x469b56]=_0x39eff6[_0x2e4d3e(0x144)](_0x454538,!0x0),_0x454538+=Int32Array['BYTES_PER_ELEMENT'];var _0x15c70e=_0x39eff6[_0x2e4d3e(0x183)](_0x454538,!0x0),_0x272569=(_0x454538+=Uint32Array[_0x2e4d3e(0x128)],_0x39eff6[_0x2e4d3e(0x183)](_0x454538,!0x0)),_0x333f93=(_0x454538+=Uint32Array[_0x2e4d3e(0x128)],_0x39eff6[_0x2e4d3e(0x183)](_0x454538,!0x0)),_0x2076b1=(_0x454538+=Uint32Array[_0x2e4d3e(0x128)],_0x39eff6[_0x2e4d3e(0x183)](_0x454538,!0x0)),_0x2f34f6=(_0x454538+=Uint32Array['BYTES_PER_ELEMENT'],_0x39eff6[_0x2e4d3e(0x183)](_0x454538,!0x0)),_0x4fb615=(_0x454538+=Uint32Array[_0x2e4d3e(0x128)],_0x39eff6['getUint32'](_0x454538,!0x0));_0x454538+=Uint32Array[_0x2e4d3e(0x128)],_0x8023db[_0x15b1e6]={'id':_0x15b1e6,'uniqueId':_0x528507,'status':0x0,'box':_0x121317,'transform':_0x5a4da4,'indexTree':_0x285b02,'componentCount':_0x15c70e,'instancesCount':_0x272569,'meshCount':_0x333f93,'meshLodCount':_0x2076b1,'triangleCount':_0x2f34f6,'materialCount':_0x4fb615};}_0x4caa64(_0x8023db);}catch(_0x4bfc09){_0x33164e['error'](_0x2e4d3e(0x12f),_0x44f2b8['data']),_0x22a9a8();}},_0x22a9a8)['catch'](function(_0xc802bd){_0x22a9a8(_0xc802bd);});});}[_0x38ede7(0x149)](_0x16d966,_0x3daf8c){return new Promise((_0x4fbaae,_0x2d2ba7)=>{const _0x30a01c=a4_0x438a;this[_0x30a01c(0xd9)][_0x16d966]=_0x3daf8c,this[_0x30a01c(0x181)][_0x3daf8c]=_0x16d966;let _0x5281e0=indexedDB['open'](_0x16d966);_0x5281e0[_0x30a01c(0xdd)]=_0x4b6e92=>_0x33164e['log'](_0x30a01c(0x16b),_0x16d966,_0x4b6e92),_0x5281e0['onupgradeneeded']=_0x493ded=>{const _0xc82c6e=_0x30a01c;if(_0x5281e0['result'][_0xc82c6e(0x120)][_0xc82c6e(0x109)]('mesh')||_0x5281e0['result']['createObjectStore'](_0xc82c6e(0xfb),{'autoIncrement':!0x1,'keyPath':'id'}),!_0x5281e0[_0xc82c6e(0x167)][_0xc82c6e(0x120)]['contains']('instances')){let _0x1f4c38=_0x5281e0['result'][_0xc82c6e(0x17d)](_0xc82c6e(0x189),{'autoIncrement':!0x1,'keyPath':'id'});_0x1f4c38[_0xc82c6e(0x138)](_0xc82c6e(0x134),_0xc82c6e(0x174),{'unique':!0x1,'multiEntry':!0x1}),_0x1f4c38['createIndex'](_0xc82c6e(0x13d),_0xc82c6e(0x176),{'unique':!0x1,'multiEntry':!0x1});}if(!_0x5281e0[_0xc82c6e(0x167)][_0xc82c6e(0x120)][_0xc82c6e(0x109)](_0xc82c6e(0xfe))){let _0x129fe=_0x5281e0['result'][_0xc82c6e(0x17d)](_0xc82c6e(0xfe),{'autoIncrement':!0x1,'keyPath':'id'});_0x129fe[_0xc82c6e(0x138)](_0xc82c6e(0x116),_0xc82c6e(0x17c),{'unique':!0x1,'multiEntry':!0x1}),_0x129fe['createIndex'](_0xc82c6e(0x146),_0xc82c6e(0x170),{'unique':!0x1,'multiEntry':!0x1});}_0x5281e0['result'][_0xc82c6e(0x120)][_0xc82c6e(0x109)]('material')||_0x5281e0[_0xc82c6e(0x167)]['createObjectStore'](_0xc82c6e(0x175),{'autoIncrement':!0x1,'keyPath':'id'}),this[_0xc82c6e(0x102)][_0x16d966]=void 0x0;},_0x5281e0[_0x30a01c(0x166)]=_0x73e99f=>{const _0x57da5f=_0x30a01c;this[_0x57da5f(0x14c)][_0x3daf8c]=_0x5281e0[_0x57da5f(0x167)],_0x4fbaae(_0x5281e0[_0x57da5f(0x167)]);};});}[_0x38ede7(0x16e)](_0x4ae9cb){return new Promise((_0x3e7985,_0x2ca202)=>{const _0x3b8300=a4_0x438a;if(this[_0x3b8300(0x14c)][_0x3b8300(0x10e)](_0x4ae9cb)){let _0x35d5a1=this[_0x3b8300(0x14c)][_0x4ae9cb][_0x3b8300(0x184)](_0x3b8300(0x189),_0x3b8300(0x186),{'durability':_0x3b8300(0x15d)}),_0x182667=_0x35d5a1[_0x3b8300(0x119)](_0x3b8300(0x189));const _0x224c8a=_0x182667[_0x3b8300(0x17a)]('by_isShell');_0x224c8a[_0x3b8300(0x15f)](0x1)[_0x3b8300(0x166)]=_0x14120a=>{const _0x3ad913=_0x3b8300;if(0x0<_0x14120a[_0x3ad913(0x143)][_0x3ad913(0x167)][_0x3ad913(0x14a)]){var _0x14e005,_0xdb3dca=_0x14120a['currentTarget']['transaction']['db'][_0x3ad913(0x12a)],_0x3f9b02=this[_0x3ad913(0xd9)][_0xdb3dca];for(_0x14e005 of _0x14120a[_0x3ad913(0x143)][_0x3ad913(0x167)])_0x14e005['uniqueId']=_0xdb3dca,_0x14e005[_0x3ad913(0x172)]=_0x3f9b02;_0x3e7985(_0x14120a['target'][_0x3ad913(0x167)]);}else{let _0x7eda79={};_0x7eda79[_0x4ae9cb]=[],this[_0x3ad913(0x15b)](_0x7eda79,_0x3e7985,_0x2ca202);}};}else _0x2ca202(_0x3b8300(0x185));});}[_0x38ede7(0x10c)](_0xffd325){return new Promise((_0x6f39d2,_0x9ad41)=>{const _0x96d2a6=a4_0x438a;let _0x4cd680=Object['keys'](_0xffd325)[_0x96d2a6(0x14a)],_0x51f581=[];var _0x20e24a,_0x1aea34=_0xe857e1=>{const _0x396a3c=_0x96d2a6;if(0x0<_0xe857e1[_0x396a3c(0x143)][_0x396a3c(0x167)][_0x396a3c(0x14a)]){var _0x511690=_0xe857e1['currentTarget'][_0x396a3c(0x184)]['db'][_0x396a3c(0x12a)],_0xd86feb=this['uniqueIdToModelId'][_0x511690];if(_0xffd325[_0x396a3c(0x10e)](_0xd86feb)){for(var _0xc68fb6 of _0xe857e1[_0x396a3c(0x143)][_0x396a3c(0x167)])_0xc68fb6['uniqueId']=_0x511690,_0xc68fb6['modelId']=_0xd86feb;var _0x18c776=_0xe857e1[_0x396a3c(0x143)][_0x396a3c(0x167)][0x0][_0x396a3c(0x176)];_0xffd325[_0xd86feb][_0x18c776]===_0xe857e1[_0x396a3c(0x143)][_0x396a3c(0x167)]['length']&&(delete _0xffd325[_0xd86feb][_0x18c776],0x0===Object[_0x396a3c(0x124)](_0xffd325[_0xd86feb])[_0x396a3c(0x14a)]&&delete _0xffd325[_0xd86feb]),_0x51f581=_0x51f581[_0x396a3c(0xf9)](_0xe857e1[_0x396a3c(0x143)][_0x396a3c(0x167)]);}}};for(_0x20e24a in _0xffd325){if(!this[_0x96d2a6(0x14c)][_0x96d2a6(0x10e)](_0x20e24a))return void _0x9ad41('请等待初始化完成');let _0x157f16=this[_0x96d2a6(0x14c)][_0x20e24a][_0x96d2a6(0x184)](_0x96d2a6(0x189),_0x96d2a6(0x186),{'durability':'strict'}),_0x9225dd=(_0x157f16['oncomplete']=_0x2c92d5=>{const _0x458750=_0x96d2a6;if(0x0==--_0x4cd680){if(0x0!==Object[_0x458750(0x124)](_0xffd325)[_0x458750(0x14a)]){for(var _0x352693 in _0xffd325){let _0x35945e=[];for(var _0x16e672 in _0xffd325[_0x352693])_0x35945e['push'](~~_0x16e672);_0xffd325[_0x352693]=_0x35945e;}this[_0x458750(0x15b)](_0xffd325,_0x6f39d2,_0x9ad41);}else _0x6f39d2(_0x51f581);}},_0x157f16[_0x96d2a6(0x119)](_0x96d2a6(0x189))),_0x4853df=_0x9225dd[_0x96d2a6(0x17a)](_0x96d2a6(0x13d));for(var _0x1f99c3 in _0xffd325[_0x20e24a])_0x4853df[_0x96d2a6(0x15f)](~~_0x1f99c3)[_0x96d2a6(0x166)]=_0x1aea34;}});}[_0x38ede7(0x15b)](_0x420fee,_0x4863d5,_0x58572c){const _0x5c3f57=_0x38ede7;_0x4ddad9()[_0x5c3f57(0x103)](this[_0x5c3f57(0x137)],{'ids':_0x420fee},{'responseType':_0x5c3f57(0x13e),'timeout':0x2710})[_0x5c3f57(0x135)](_0x4c2223=>{const _0x108abd=_0x5c3f57;let _0x50e7b1={},_0x7777fc={},_0x39627e=[],_0x31f45f=0x0,_0x1a1c4=new DataView(_0x4c2223[_0x108abd(0x152)]);for(;_0x31f45f<_0x4c2223[_0x108abd(0x152)][_0x108abd(0xf1)];){var _0x9c537a=_0x1a1c4[_0x108abd(0x183)](_0x31f45f,!0x0),_0x5ecb69=(_0x31f45f+=Uint32Array[_0x108abd(0x128)],_0x1a1c4['getUint32'](_0x31f45f,!0x0)),_0x4e5caf=(_0x31f45f+=Uint32Array[_0x108abd(0x128)],_0x1a1c4[_0x108abd(0x183)](_0x31f45f,!0x0)),_0x5ae470=(_0x31f45f+=Uint32Array[_0x108abd(0x128)],_0x1a1c4[_0x108abd(0x183)](_0x31f45f,!0x0)),_0x5ecd9d=(_0x31f45f+=Uint32Array['BYTES_PER_ELEMENT'],_0x1a1c4[_0x108abd(0x183)](_0x31f45f,!0x0)),_0x23ac0d=(_0x31f45f+=Uint32Array[_0x108abd(0x128)],_0x1a1c4[_0x108abd(0x122)](_0x31f45f));_0x31f45f+=Uint8Array[_0x108abd(0x128)];let _0x510756=new Float32Array(0x6);for(let _0x4bdea9=0x0;_0x4bdea9<0x6;_0x4bdea9++)_0x510756[_0x4bdea9]=_0x1a1c4[_0x108abd(0x14d)](_0x31f45f,!0x0),_0x31f45f+=Float32Array[_0x108abd(0x128)];let _0x2b7c51=new Float32Array(0x10);for(let _0x1e31e6=0x0;_0x1e31e6<0x10;_0x1e31e6++)_0x2b7c51[_0x1e31e6]=_0x1a1c4[_0x108abd(0x14d)](_0x31f45f,!0x0),_0x31f45f+=Float32Array[_0x108abd(0x128)];var _0x43ac59=_0x1a1c4[_0x108abd(0x122)](_0x31f45f);_0x31f45f+=Uint8Array[_0x108abd(0x128)];let _0x4ad60b=new Array(_0x43ac59);for(let _0x75122f=0x0;_0x75122f<_0x43ac59;_0x75122f++){var _0x3d5f84=_0x1a1c4[_0x108abd(0x183)](_0x31f45f,!0x0),_0x21d26a=(_0x31f45f+=Uint32Array['BYTES_PER_ELEMENT'],_0x1a1c4[_0x108abd(0x183)](_0x31f45f,!0x0)),_0x1fab72=(_0x31f45f+=Uint32Array[_0x108abd(0x128)],_0x1a1c4[_0x108abd(0x183)](_0x31f45f,!0x0)),_0x16941b=(_0x31f45f+=Uint32Array[_0x108abd(0x128)],_0x1a1c4[_0x108abd(0x183)](_0x31f45f,!0x0)),_0x347643=(_0x31f45f+=Uint32Array[_0x108abd(0x128)],_0x1a1c4[_0x108abd(0x14d)](_0x31f45f,!0x0));_0x31f45f+=Float32Array[_0x108abd(0x128)],_0x4ad60b[_0x75122f]={'id':_0x3d5f84,'isTransparent':_0x21d26a,'triangleCount':_0x1fab72,'density':_0x347643,'materialId':_0x16941b};}let _0x4282c3={'modelId':_0x5ecd9d,'id':_0x9c537a,'componentId':_0x5ecb69,'meshId':_0x4e5caf,'treeId':_0x5ae470,'box':_0x510756,'transform':_0x2b7c51,'isShell':_0x23ac0d,'meshList':_0x4ad60b};if(this[_0x108abd(0x14c)][_0x108abd(0x10e)](_0x4282c3[_0x108abd(0x172)])){_0x50e7b1[_0x108abd(0x10e)](_0x4282c3['modelId'])||(_0x50e7b1[_0x4282c3[_0x108abd(0x172)]]=this['serverModelId_indexDb'][_0x4282c3['modelId']]['transaction'](_0x108abd(0x189),_0x108abd(0x117),{'durability':_0x108abd(0x15d)}),_0x7777fc[_0x4282c3['modelId']]=_0x50e7b1[_0x4282c3[_0x108abd(0x172)]][_0x108abd(0x119)]('instances'));let _0x3a30e0=Object[_0x108abd(0x107)]({},_0x4282c3);delete _0x3a30e0['modelId'],_0x7777fc[_0x4282c3[_0x108abd(0x172)]]['put'](_0x3a30e0),_0x4282c3[_0x108abd(0x108)]=this[_0x108abd(0x14c)][_0x4282c3[_0x108abd(0x172)]][_0x108abd(0x12a)],_0x39627e[_0x108abd(0x151)](_0x4282c3);}else _0x33164e['log']('服务返回了错误的ModelId',_0x108abd(0x178),_0x420fee,'返回内容是',_0x4282c3);}let _0x49d136=Object[_0x108abd(0x124)](_0x50e7b1)[_0x108abd(0x14a)];var _0x17e4cf,_0x52eb4a=_0x2716e7=>{0x0==--_0x49d136&&_0x4863d5(_0x39627e);};for(_0x17e4cf in _0x50e7b1){let _0x5abfa1=_0x50e7b1[_0x17e4cf];_0x5abfa1[_0x108abd(0x13b)]=_0x52eb4a;}0x0===_0x49d136&&_0x4863d5(_0x39627e);},_0x58572c)[_0x5c3f57(0x180)](function(_0x27c599){_0x58572c(_0x27c599);});}[_0x38ede7(0x187)](_0x28eb86,_0x2f9e10,_0x339f5d){const _0x24b884=_0x38ede7;let _0x191ea7={},_0x1c4248={};var _0x38daf8,_0x17a2e2=_0x4f03c2=>{const _0x2de894=a4_0x438a;if(0x0<_0x4f03c2['target'][_0x2de894(0x167)]['length']){let _0x57285f=_0x4f03c2['target'][_0x2de894(0x167)][0x0];_0x4f03c2=_0x4f03c2['currentTarget'][_0x2de894(0x184)]['db'][_0x2de894(0x12a)],_0x4f03c2=this[_0x2de894(0xd9)][_0x4f03c2],(_0x57285f['isShell']=0x1,_0x1c4248[_0x4f03c2][_0x2de894(0xfd)](_0x57285f));}};for(_0x38daf8 in _0x28eb86){_0x191ea7[_0x24b884(0x10e)](_0x38daf8)||(_0x191ea7[_0x38daf8]=this[_0x24b884(0x14c)][_0x38daf8][_0x24b884(0x184)](_0x24b884(0x189),_0x24b884(0x117),{'durability':_0x24b884(0x15d)}),_0x1c4248[_0x38daf8]=_0x191ea7[_0x38daf8][_0x24b884(0x119)]('instances'));for(var _0x564440 of _0x28eb86[_0x38daf8])_0x1c4248[_0x38daf8]['getAll'](_0x564440)[_0x24b884(0x166)]=_0x17a2e2;}let _0x349f34=Object[_0x24b884(0x124)](_0x191ea7)[_0x24b884(0x14a)];var _0x4791b9,_0x40e181=_0x25035e=>{0x0==--_0x349f34&&_0x2f9e10&&_0x2f9e10(0x1);};for(_0x4791b9 in _0x191ea7){let _0x4cb12=_0x191ea7[_0x4791b9];_0x4cb12[_0x24b884(0x13b)]=_0x40e181;}0x0===_0x349f34&&_0x2f9e10(0x1);}[_0x38ede7(0x147)](_0x3ccacb,_0x4f2802){const _0xcfb722=_0x38ede7;let _0x4e05b2=this[_0xcfb722(0x14c)][_0x3ccacb]['transaction'](_0xcfb722(0x189),_0xcfb722(0x117),{'durability':_0xcfb722(0x15d)}),_0xc24e67=_0x4e05b2[_0xcfb722(0x119)](_0xcfb722(0x189));const _0x2c33fe=_0xc24e67[_0xcfb722(0x17a)](_0xcfb722(0x134));_0x2c33fe[_0xcfb722(0x15f)](0x1)[_0xcfb722(0x166)]=_0x2bb8cd=>{const _0x440ba9=_0xcfb722;for(var _0x9147f1 of _0x2bb8cd[_0x440ba9(0x143)][_0x440ba9(0x167)])_0x9147f1[_0x440ba9(0x174)]=0x0,_0xc24e67[_0x440ba9(0xfd)](_0x9147f1);},_0x4e05b2[_0xcfb722(0x13b)]=_0x4f2802;}[_0x38ede7(0x12b)](_0x23ab03){return new Promise((_0x5c4c99,_0x29eb99)=>{const _0x4f89b7=a4_0x438a;if(this[_0x4f89b7(0x14c)]['hasOwnProperty'](_0x23ab03)){let _0x23ebcd=this[_0x4f89b7(0x14c)][_0x23ab03]['transaction'](_0x4f89b7(0xfe),_0x4f89b7(0x186),{'durability':_0x4f89b7(0x15d)}),_0x53db8f=(_0x23ebcd['oncomplete']=_0x141332=>{},_0x23ebcd[_0x4f89b7(0x119)](_0x4f89b7(0xfe)));_0x53db8f['getAll']()[_0x4f89b7(0x166)]=_0x30b987=>{const _0x3d66fc=_0x4f89b7;0x0<_0x30b987['target'][_0x3d66fc(0x167)][_0x3d66fc(0x14a)]?_0x5c4c99(_0x30b987[_0x3d66fc(0x143)][_0x3d66fc(0x167)]):_0x4ddad9()[_0x3d66fc(0x103)](this[_0x3d66fc(0x11e)],{'modelId':_0x23ab03},{'responseType':_0x3d66fc(0x13e),'timeout':0xbb8})[_0x3d66fc(0x135)](_0x4f452e=>{const _0x5b66f4=_0x3d66fc;let _0x33aa8a=this[_0x5b66f4(0x14c)][_0x23ab03][_0x5b66f4(0x184)]('component','readwrite',{'durability':_0x5b66f4(0x15d)}),_0x547e6f=_0x33aa8a[_0x5b66f4(0x119)](_0x5b66f4(0xfe)),_0x3059c0=[],_0xe2f3dc=0x0,_0x10f5ed=new DataView(_0x4f452e[_0x5b66f4(0x152)]);for(;_0xe2f3dc<_0x4f452e[_0x5b66f4(0x152)][_0x5b66f4(0xf1)];){var _0x514946=_0x10f5ed[_0x5b66f4(0x183)](_0xe2f3dc,!0x0),_0x1ccf26=(_0xe2f3dc+=Uint32Array[_0x5b66f4(0x128)],_0x10f5ed[_0x5b66f4(0x122)](_0xe2f3dc)),_0x175933=(_0xe2f3dc+=Uint8Array[_0x5b66f4(0x128)],_0x10f5ed[_0x5b66f4(0x122)](_0xe2f3dc)),_0x514946=(_0xe2f3dc+=Uint8Array['BYTES_PER_ELEMENT'],{'id':_0x514946,'storey':_0x1ccf26,'expressType':_0x175933});_0x3059c0[_0x5b66f4(0x151)](_0x514946),_0x547e6f[_0x5b66f4(0xeb)](_0x514946);}_0x5c4c99(_0x3059c0);},_0x29eb99)[_0x3d66fc(0x180)](function(_0x4b373b){_0x29eb99(_0x4b373b);});};}else _0x29eb99(_0x4f89b7(0x185));});}[_0x38ede7(0x127)](_0xea47f5){return new Promise((_0x2870f4,_0x20839a)=>{const _0x20725e=a4_0x438a;let _0x11a2ae=Object[_0x20725e(0x124)](_0xea47f5)[_0x20725e(0x14a)],_0x10c24b=[];var _0x43f0cd,_0x16007a=_0x130c0b=>{const _0x1ae1c9=_0x20725e;if(0x0<_0x130c0b[_0x1ae1c9(0x143)][_0x1ae1c9(0x167)][_0x1ae1c9(0x14a)]){var _0x81faf5,_0x513bad=_0x130c0b['target'][_0x1ae1c9(0x167)][0x0],_0x400211=_0x130c0b['currentTarget'][_0x1ae1c9(0x184)]['db']['name'],_0x2118c9=this[_0x1ae1c9(0xd9)][_0x400211];for(_0x81faf5 of _0x130c0b[_0x1ae1c9(0x143)][_0x1ae1c9(0x167)])_0x81faf5[_0x1ae1c9(0x108)]=_0x400211,_0x81faf5[_0x1ae1c9(0x172)]=_0x2118c9;_0xea47f5[_0x1ae1c9(0x10e)](_0x2118c9)&&(_0xea47f5[_0x513bad[_0x1ae1c9(0x172)]][_0x1ae1c9(0x12d)](_0xea47f5[_0x513bad[_0x1ae1c9(0x172)]][_0x1ae1c9(0x157)](_0x513bad['id']),0x1),0x0===_0xea47f5[_0x513bad[_0x1ae1c9(0x172)]][_0x1ae1c9(0x14a)]&&delete _0xea47f5[_0x513bad[_0x1ae1c9(0x172)]],_0x10c24b=_0x10c24b[_0x1ae1c9(0xf9)](_0x130c0b[_0x1ae1c9(0x143)][_0x1ae1c9(0x167)]));}};for(_0x43f0cd in _0xea47f5){if(!this[_0x20725e(0x14c)][_0x20725e(0x10e)](_0x43f0cd))return void _0x20839a(_0x20725e(0x185));let _0x51bba6=this[_0x20725e(0x14c)][_0x43f0cd]['transaction']('mesh','readonly',{'durability':_0x20725e(0x15d)});_0x51bba6[_0x20725e(0x13b)]=_0x3d5daf=>{const _0x3e8fa8=_0x20725e;0x0==--_0x11a2ae&&(0x0{const _0x1b11b8=_0x3e8fa8;let _0x346209={},_0x32b6b4={},_0xc59b0e=[],_0x38d879=0x0,_0x194f96=new DataView(_0x4000fb[_0x1b11b8(0x152)]);for(;_0x38d879<_0x4000fb[_0x1b11b8(0x152)][_0x1b11b8(0xf1)];){var _0x5331f4=_0x194f96[_0x1b11b8(0x183)](_0x38d879,!0x0),_0x29560e=(_0x38d879+=Uint32Array[_0x1b11b8(0x128)],_0x194f96[_0x1b11b8(0x183)](_0x38d879,!0x0)),_0x5aa93f=(_0x38d879+=Uint32Array[_0x1b11b8(0x128)],_0x194f96['getUint32'](_0x38d879,!0x0)),_0x2304a0=(_0x38d879+=Uint32Array['BYTES_PER_ELEMENT'],_0x194f96[_0x1b11b8(0x183)](_0x38d879,!0x0));_0x38d879+=Uint32Array['BYTES_PER_ELEMENT'],_0x2304a0/=Float32Array[_0x1b11b8(0x128)];let _0x15612a=new Float32Array(_0x2304a0);for(let _0x437a2c=0x0;_0x437a2c<_0x2304a0;_0x437a2c++)_0x15612a[_0x437a2c]=_0x194f96['getFloat32'](_0x38d879,!0x0),_0x38d879+=Float32Array[_0x1b11b8(0x128)];let _0x1bb387=_0x194f96[_0x1b11b8(0x183)](_0x38d879,!0x0);_0x38d879+=Uint32Array[_0x1b11b8(0x128)];var _0xcf0df6=_0x15612a[_0x1b11b8(0x14a)]/0x3;let _0x52ee4d;if(0xffff<_0xcf0df6){_0x1bb387/=Uint32Array[_0x1b11b8(0x128)],_0x52ee4d=new Uint32Array(_0x1bb387);for(let _0x1aff4d=0x0;_0x1aff4d<_0x1bb387;_0x1aff4d++)_0x52ee4d[_0x1aff4d]=_0x194f96[_0x1b11b8(0x183)](_0x38d879,!0x0),_0x38d879+=Uint32Array[_0x1b11b8(0x128)];}else{if(0xff<_0xcf0df6){_0x1bb387/=Uint16Array[_0x1b11b8(0x128)],_0x52ee4d=new Uint16Array(_0x1bb387);for(let _0x4f5ed1=0x0;_0x4f5ed1<_0x1bb387;_0x4f5ed1++)_0x52ee4d[_0x4f5ed1]=_0x194f96[_0x1b11b8(0x16c)](_0x38d879,!0x0),_0x38d879+=Uint16Array[_0x1b11b8(0x128)];}else{_0x1bb387/=Uint8Array['BYTES_PER_ELEMENT'],_0x52ee4d=new Uint8Array(_0x1bb387);for(let _0x41348d=0x0;_0x41348d<_0x1bb387;_0x41348d++)_0x52ee4d[_0x41348d]=_0x194f96[_0x1b11b8(0x122)](_0x38d879),_0x38d879+=Uint8Array[_0x1b11b8(0x128)];}}var _0x108fe6=_0x194f96[_0x1b11b8(0x183)](_0x38d879,!0x0);_0x38d879+=Uint32Array[_0x1b11b8(0x128)],_0x108fe6/=Float32Array[_0x1b11b8(0x128)];let _0x275276=new Float32Array(_0x108fe6);for(let _0x3e65a8=0x0;_0x3e65a8<_0x108fe6;_0x3e65a8++)_0x275276[_0x3e65a8]=_0x194f96[_0x1b11b8(0x14d)](_0x38d879,!0x0),_0x38d879+=Float32Array[_0x1b11b8(0x128)];let _0x4c575f=_0x194f96[_0x1b11b8(0x183)](_0x38d879,!0x0);_0x38d879+=Uint32Array[_0x1b11b8(0x128)],_0xcf0df6=_0x275276['length']/0x3;let _0x4fdf39;if(0xffff<_0xcf0df6){_0x4c575f/=Uint32Array['BYTES_PER_ELEMENT'],_0x4fdf39=new Uint32Array(_0x4c575f);for(let _0x1f6df9=0x0;_0x1f6df9<_0x4c575f;_0x1f6df9++)_0x4fdf39[_0x1f6df9]=_0x194f96['getUint32'](_0x38d879,!0x0),_0x38d879+=Uint32Array[_0x1b11b8(0x128)];}else{if(0xff<_0xcf0df6){_0x4c575f/=Uint16Array[_0x1b11b8(0x128)],_0x4fdf39=new Uint16Array(_0x4c575f);for(let _0x1c9695=0x0;_0x1c9695<_0x4c575f;_0x1c9695++)_0x4fdf39[_0x1c9695]=_0x194f96[_0x1b11b8(0x16c)](_0x38d879,!0x0),_0x38d879+=Uint16Array[_0x1b11b8(0x128)];}else{_0x4c575f/=Uint8Array[_0x1b11b8(0x128)],_0x4fdf39=new Uint8Array(_0x4c575f);for(let _0x29b6eb=0x0;_0x29b6eb<_0x4c575f;_0x29b6eb++)_0x4fdf39[_0x29b6eb]=_0x194f96[_0x1b11b8(0x122)](_0x38d879),_0x38d879+=Uint8Array[_0x1b11b8(0x128)];}}var _0x131889=_0x194f96[_0x1b11b8(0x183)](_0x38d879,!0x0);_0x38d879+=Uint32Array[_0x1b11b8(0x128)],_0x131889/=Float32Array[_0x1b11b8(0x128)];let _0x2fcf1a=new Float32Array(_0x131889);for(let _0x4838a2=0x0;_0x4838a2<_0x131889;_0x4838a2++)_0x2fcf1a[_0x4838a2]=_0x194f96[_0x1b11b8(0x14d)](_0x38d879,!0x0),_0x38d879+=Float32Array[_0x1b11b8(0x128)];let _0x444d53=_0x194f96[_0x1b11b8(0x183)](_0x38d879,!0x0);_0x38d879+=Uint32Array['BYTES_PER_ELEMENT'],_0xcf0df6=_0x2fcf1a[_0x1b11b8(0x14a)]/0x2;let _0xa7de1d;if(0xffff<_0xcf0df6){_0x444d53/=Uint32Array[_0x1b11b8(0x128)],_0xa7de1d=new Uint32Array(_0x444d53);for(let _0x597cc5=0x0;_0x597cc5<_0x444d53;_0x597cc5++)_0xa7de1d[_0x597cc5]=_0x194f96[_0x1b11b8(0x183)](_0x38d879,!0x0),_0x38d879+=Uint32Array['BYTES_PER_ELEMENT'];}else{if(0xff<_0xcf0df6){_0x444d53/=Uint16Array[_0x1b11b8(0x128)],_0xa7de1d=new Uint16Array(_0x444d53);for(let _0x150245=0x0;_0x150245<_0x444d53;_0x150245++)_0xa7de1d[_0x150245]=_0x194f96[_0x1b11b8(0x16c)](_0x38d879,!0x0),_0x38d879+=Uint16Array[_0x1b11b8(0x128)];}else{_0x444d53/=Uint8Array[_0x1b11b8(0x128)],_0xa7de1d=new Uint8Array(_0x444d53);for(let _0x1447f2=0x0;_0x1447f2<_0x444d53;_0x1447f2++)_0xa7de1d[_0x1447f2]=_0x194f96[_0x1b11b8(0x122)](_0x38d879),_0x38d879+=Uint8Array['BYTES_PER_ELEMENT'];}}var _0x55635f=_0x194f96[_0x1b11b8(0x183)](_0x38d879,!0x0);_0x38d879+=Uint32Array[_0x1b11b8(0x128)],_0x55635f/=Float32Array[_0x1b11b8(0x128)];let _0x2586f8=new Float32Array(_0x55635f);for(let _0x15e277=0x0;_0x15e277<_0x55635f;_0x15e277++)_0x2586f8[_0x15e277]=_0x194f96[_0x1b11b8(0x14d)](_0x38d879,!0x0),_0x38d879+=Float32Array[_0x1b11b8(0x128)];let _0x26a981=_0x194f96[_0x1b11b8(0x183)](_0x38d879,!0x0);_0x38d879+=Uint32Array[_0x1b11b8(0x128)],_0xcf0df6=_0x2586f8[_0x1b11b8(0x14a)]/0x2;let _0xb4501b;if(0xffff<_0xcf0df6){_0x26a981/=Uint32Array['BYTES_PER_ELEMENT'],_0xb4501b=new Uint32Array(_0x26a981);for(let _0x5e7f20=0x0;_0x5e7f20<_0x26a981;_0x5e7f20++)_0xb4501b[_0x5e7f20]=_0x194f96[_0x1b11b8(0x183)](_0x38d879,!0x0),_0x38d879+=Uint32Array['BYTES_PER_ELEMENT'];}else{if(0xff<_0xcf0df6){_0x26a981/=Uint16Array[_0x1b11b8(0x128)],_0xb4501b=new Uint16Array(_0x26a981);for(let _0xbc6058=0x0;_0xbc6058<_0x26a981;_0xbc6058++)_0xb4501b[_0xbc6058]=_0x194f96[_0x1b11b8(0x16c)](_0x38d879,!0x0),_0x38d879+=Uint16Array[_0x1b11b8(0x128)];}else{_0x26a981/=Uint8Array[_0x1b11b8(0x128)],_0xb4501b=new Uint8Array(_0x26a981);for(let _0x2f97b7=0x0;_0x2f97b7<_0x26a981;_0x2f97b7++)_0xb4501b[_0x2f97b7]=_0x194f96[_0x1b11b8(0x122)](_0x38d879),_0x38d879+=Uint8Array[_0x1b11b8(0x128)];}}if(0x0===_0x275276[_0x1b11b8(0x14a)]){let _0x14fb0d={},_0x25febe=[];_0x4fdf39=[];for(let _0x129770=0x0;_0x129770<_0x52ee4d[_0x1b11b8(0x14a)];_0x129770+=0x3){var _0x19a5ae={'x':_0x15612a[0x3*_0x52ee4d[_0x129770]],'y':_0x15612a[0x3*_0x52ee4d[_0x129770]+0x1],'z':_0x15612a[0x3*_0x52ee4d[_0x129770]+0x2]},_0x10c7e6={'x':_0x15612a[0x3*_0x52ee4d[_0x129770+0x1]],'y':_0x15612a[0x3*_0x52ee4d[_0x129770+0x1]+0x1],'z':_0x15612a[0x3*_0x52ee4d[_0x129770+0x1]+0x2]},_0x533707={'x':_0x15612a[0x3*_0x52ee4d[_0x129770+0x2]],'y':_0x15612a[0x3*_0x52ee4d[_0x129770+0x2]+0x1],'z':_0x15612a[0x3*_0x52ee4d[_0x129770+0x2]+0x2]};let _0xc3df24=(0x0,_0x233bde['st'])(_0x19a5ae,_0x10c7e6,_0x533707);_0x19a5ae=''+_0xc3df24['x']['toFixed'](0x4)+_0xc3df24['y']['toFixed'](0x4)+_0xc3df24['z'][_0x1b11b8(0xde)](0x4),(_0x14fb0d[_0x1b11b8(0x10e)](_0x19a5ae)||(_0x14fb0d[_0x19a5ae]=_0x25febe['length']/0x3,_0x25febe[_0x1b11b8(0x151)](_0xc3df24['x'],_0xc3df24['y'],_0xc3df24['z'])),_0x4fdf39[_0x1b11b8(0x151)](_0x14fb0d[_0x19a5ae]),_0x4fdf39['push'](_0x14fb0d[_0x19a5ae]),_0x4fdf39[_0x1b11b8(0x151)](_0x14fb0d[_0x19a5ae]));}_0xcf0df6=(_0x275276=new Float32Array(_0x25febe))['length']/0x3,_0x4fdf39=new(0xffff<_0xcf0df6?Uint32Array:0xff<_0xcf0df6?Uint16Array:Uint8Array)(_0x4fdf39);}if(0x0===_0x2fcf1a[_0x1b11b8(0x14a)]){let _0x3bec74={},_0x40db48=[],_0x38b325=(_0xa7de1d=[],{}),_0x4d1f8b=[];_0xb4501b=[];for(let _0x1fc68c=0x0;_0x1fc68c<_0x52ee4d[_0x1b11b8(0x14a)];_0x1fc68c+=0x3){var _0x3a2c69={'x':_0x15612a[0x3*_0x52ee4d[_0x1fc68c]],'y':_0x15612a[0x3*_0x52ee4d[_0x1fc68c]+0x1],'z':_0x15612a[0x3*_0x52ee4d[_0x1fc68c]+0x2]},_0x542fef={'x':_0x15612a[0x3*_0x52ee4d[_0x1fc68c+0x1]],'y':_0x15612a[0x3*_0x52ee4d[_0x1fc68c+0x1]+0x1],'z':_0x15612a[0x3*_0x52ee4d[_0x1fc68c+0x1]+0x2]},_0x4b84b0={'x':_0x15612a[0x3*_0x52ee4d[_0x1fc68c+0x2]],'y':_0x15612a[0x3*_0x52ee4d[_0x1fc68c+0x2]+0x1],'z':_0x15612a[0x3*_0x52ee4d[_0x1fc68c+0x2]+0x2]},_0x2db031=(0x0,_0x233bde['st'])(_0x3a2c69,_0x542fef,_0x4b84b0);let _0x4dea72,_0x5bac91,_0x3824b0,_0xde7b35=(_0x3824b0=0x1!==Math['abs'](_0x2db031['z'])?(_0x2db031=(0x0,_0x233bde['ie'])(_0x2db031),_0x4dea72=(0x0,_0x233bde['Qb'])(_0x3a2c69,_0x2db031),_0x5bac91=(0x0,_0x233bde['Qb'])(_0x542fef,_0x2db031),(0x0,_0x233bde['Qb'])(_0x4b84b0,_0x2db031)):(_0x4dea72=_0x3a2c69,_0x5bac91=_0x542fef,_0x4b84b0),{'u':_0x4dea72['x'],'v':_0x4dea72['y']}),_0x3cf45a={'u':_0x5bac91['x'],'v':_0x5bac91['y']},_0xe52f99={'u':_0x3824b0['x'],'v':_0x3824b0['y']},_0x306a8e=''+_0xde7b35['u']['toFixed'](0x4)+_0xde7b35['v'][_0x1b11b8(0xde)](0x4),_0x3331ed=(_0x3bec74[_0x1b11b8(0x10e)](_0x306a8e)||(_0x3bec74[_0x306a8e]=_0x40db48['length']/0x2,_0x40db48[_0x1b11b8(0x151)](_0xde7b35['u'],_0xde7b35['v'])),_0xa7de1d[_0x1b11b8(0x151)](_0x3bec74[_0x306a8e]),_0x306a8e=''+_0x3cf45a['u']['toFixed'](0x4)+_0x3cf45a['v'][_0x1b11b8(0xde)](0x4),_0x3bec74[_0x1b11b8(0x10e)](_0x306a8e)||(_0x3bec74[_0x306a8e]=_0x40db48[_0x1b11b8(0x14a)]/0x2,_0x40db48[_0x1b11b8(0x151)](_0x3cf45a['u'],_0x3cf45a['v'])),_0xa7de1d[_0x1b11b8(0x151)](_0x3bec74[_0x306a8e]),_0x306a8e=''+_0xe52f99['u'][_0x1b11b8(0xde)](0x4)+_0xe52f99['v']['toFixed'](0x4),_0x3bec74[_0x1b11b8(0x10e)](_0x306a8e)||(_0x3bec74[_0x306a8e]=_0x40db48[_0x1b11b8(0x14a)]/0x2,_0x40db48[_0x1b11b8(0x151)](_0xe52f99['u'],_0xe52f99['v'])),_0xa7de1d['push'](_0x3bec74[_0x306a8e]),(0x0,_0x233bde['Z1'])(_0x4dea72,_0x5bac91,_0x3824b0,_0xde7b35,_0x3cf45a,_0xe52f99));_0x2db031=''+_0x3331ed['x'][_0x1b11b8(0xde)](0x4)+_0x3331ed['y'][_0x1b11b8(0xde)](0x4)+_0x3331ed['z'][_0x1b11b8(0xde)](0x4),(_0x38b325[_0x1b11b8(0x10e)](_0x2db031)||(_0x38b325[_0x2db031]=_0x4d1f8b['length']/0x3,_0x4d1f8b[_0x1b11b8(0x151)](_0x3331ed['x'],_0x3331ed['y'],_0x3331ed['z'])),_0xb4501b[_0x1b11b8(0x151)](_0x38b325[_0x2db031],_0x38b325[_0x2db031],_0x38b325[_0x2db031]));}_0xcf0df6=(_0x2fcf1a=new Float32Array(_0x40db48))[_0x1b11b8(0x14a)]/0x2,_0xcf0df6=(_0xa7de1d=new(0xffff<_0xcf0df6?Uint32Array:0xff<_0xcf0df6?Uint16Array:Uint8Array)(_0xa7de1d),(_0x2586f8=new Float32Array(_0x4d1f8b))[_0x1b11b8(0x14a)]/0x2),_0xb4501b=new(0xffff<_0xcf0df6?Uint32Array:0xff<_0xcf0df6?Uint16Array:Uint8Array)(_0xb4501b);}let _0x1d0c67={'modelId':_0x5331f4,'id':_0x29560e,'materialId':_0x5aa93f,'vertices':_0x15612a,'verticesIndices':_0x52ee4d,'normal':_0x275276,'normalIndices':_0x4fdf39,'uv':_0x2fcf1a,'uvIndices':_0xa7de1d,'tangent':_0x2586f8,'tangentIndices':_0xb4501b},_0x399154=(_0x346209['hasOwnProperty'](_0x1d0c67[_0x1b11b8(0x172)])||(_0x346209[_0x1d0c67[_0x1b11b8(0x172)]]=this[_0x1b11b8(0x14c)][_0x1d0c67[_0x1b11b8(0x172)]][_0x1b11b8(0x184)](_0x1b11b8(0xfb),_0x1b11b8(0x117),{'durability':_0x1b11b8(0x15d)}),_0x32b6b4[_0x1d0c67[_0x1b11b8(0x172)]]=_0x346209[_0x1d0c67[_0x1b11b8(0x172)]]['objectStore'](_0x1b11b8(0xfb))),Object[_0x1b11b8(0x107)]({},_0x1d0c67));delete _0x399154['modelId'],_0x32b6b4[_0x1d0c67[_0x1b11b8(0x172)]][_0x1b11b8(0xeb)](_0x399154),_0x1d0c67['uniqueId']=this['serverModelId_indexDb'][_0x1d0c67['modelId']][_0x1b11b8(0x12a)],_0xc59b0e[_0x1b11b8(0x151)](_0x1d0c67);}let _0x8f2300=Object[_0x1b11b8(0x124)](_0x346209)[_0x1b11b8(0x14a)];var _0x228740,_0x8f0018=_0x36571a=>{0x0==--_0x8f2300&&_0x2870f4(_0xc59b0e);};for(_0x228740 in _0x346209){let _0x36691d=_0x346209[_0x228740];_0x36691d[_0x1b11b8(0x13b)]=_0x8f0018;}0x0===_0x8f2300&&_0x2870f4(_0xc59b0e);},_0x20839a)[_0x3e8fa8(0x180)](function(_0x5bfffd){_0x20839a(_0x5bfffd);}):_0x2870f4(_0x10c24b));};var _0x5dc2b3,_0x33e798=_0x50b897=>{const _0x212a40=_0x20725e;_0x33164e[_0x212a40(0x17f)]('indexDb获取mesh',_0x50b897),_0x20839a(_0x50b897);};_0x51bba6[_0x20725e(0xdd)]=_0x33e798;let _0x58db04=_0x51bba6[_0x20725e(0x119)]('mesh');for(_0x5dc2b3 of _0xea47f5[_0x43f0cd]){let _0x15fa7f=_0x58db04[_0x20725e(0x15f)](_0x5dc2b3);_0x15fa7f[_0x20725e(0x166)]=_0x16007a,_0x15fa7f[_0x20725e(0xdd)]=_0x33e798;}}});}[_0x38ede7(0x164)](_0xd52656){const _0x1a4a44=_0x38ede7;let _0x1b912b=this[_0x1a4a44(0x14c)][_0xd52656[_0x1a4a44(0x172)]][_0x1a4a44(0x184)](_0x1a4a44(0xfb),_0x1a4a44(0x117),{'durability':_0x1a4a44(0x111)}),_0x9b7fba=(_0x1b912b[_0x1a4a44(0xed)]=_0x5b552c=>_0x33164e[_0x1a4a44(0x17f)](_0x1a4a44(0x11c),_0x5b552c),_0x1b912b[_0x1a4a44(0xdd)]=_0x4b2e24=>_0x33164e[_0x1a4a44(0x17f)](_0x1a4a44(0x11a),_0x4b2e24),_0x1b912b[_0x1a4a44(0x119)](_0x1a4a44(0xfb))),_0x1e2f24=(_0x9b7fba[_0x1a4a44(0xdd)]=_0x392af4=>_0x33164e[_0x1a4a44(0x17f)](_0x1a4a44(0xf4),_0x392af4),Object[_0x1a4a44(0x107)]({},_0xd52656));delete _0x1e2f24['modelId'],_0x9b7fba['put'](_0x1e2f24);}['GetMaterial'](_0xd6b723){return new Promise((_0x3e2401,_0x41fc37)=>{const _0x3d1722=a4_0x438a;let _0x51913a=Object[_0x3d1722(0x124)](_0xd6b723)[_0x3d1722(0x14a)],_0x3488b1=[];var _0x3c8c2a,_0x171eb7=_0x4d4521=>{const _0x273c7f=_0x3d1722;if(0x0<_0x4d4521[_0x273c7f(0x143)]['result'][_0x273c7f(0x14a)]){var _0x47714e,_0x213bfa=_0x4d4521[_0x273c7f(0x143)][_0x273c7f(0x167)][0x0],_0x3c4392=_0x4d4521['currentTarget'][_0x273c7f(0x184)]['db'][_0x273c7f(0x12a)],_0x5b6188=this[_0x273c7f(0xd9)][_0x3c4392];for(_0x47714e of _0x4d4521[_0x273c7f(0x143)][_0x273c7f(0x167)])_0x47714e[_0x273c7f(0x172)]=_0x5b6188,_0x47714e[_0x273c7f(0x108)]=_0x3c4392;_0xd6b723[_0x273c7f(0x10e)](_0x5b6188)&&(_0xd6b723[_0x213bfa[_0x273c7f(0x172)]][_0x273c7f(0x12d)](_0xd6b723[_0x213bfa[_0x273c7f(0x172)]][_0x273c7f(0x157)](_0x213bfa['id']),0x1),0x0===_0xd6b723[_0x213bfa[_0x273c7f(0x172)]][_0x273c7f(0x14a)]&&delete _0xd6b723[_0x213bfa[_0x273c7f(0x172)]],_0x3488b1=_0x3488b1['concat'](_0x4d4521[_0x273c7f(0x143)][_0x273c7f(0x167)]));}};for(_0x3c8c2a in _0xd6b723){if(!this['serverModelId_indexDb'][_0x3d1722(0x10e)](_0x3c8c2a))return void _0x41fc37('请等待初始化完成');let _0x3c78d6=this[_0x3d1722(0x14c)][_0x3c8c2a][_0x3d1722(0x184)](_0x3d1722(0x175),_0x3d1722(0x186),{'durability':_0x3d1722(0x15d)}),_0x1db269=(_0x3c78d6[_0x3d1722(0x13b)]=_0x1c4370=>{const _0x49e25d=_0x3d1722;0x0==--_0x51913a&&(0x0{const _0x9f55af=_0x49e25d;let _0x4e2e59={},_0x49d601={},_0x356bf5=[],_0x19e4ee=0x0,_0x576121=new DataView(_0x515bf8[_0x9f55af(0x152)]);for(;_0x19e4ee<_0x515bf8[_0x9f55af(0x152)]['byteLength'];){var _0x4c79f6=_0x576121[_0x9f55af(0x183)](_0x19e4ee,!0x0),_0x58b773=(_0x19e4ee+=Uint32Array[_0x9f55af(0x128)],_0x576121[_0x9f55af(0x183)](_0x19e4ee,!0x0));_0x19e4ee+=Uint32Array[_0x9f55af(0x128)];let _0x972ffd=new Float32Array(0x4);for(let _0x56b989=0x0;_0x56b989<_0x972ffd[_0x9f55af(0x14a)];_0x56b989++)_0x972ffd[_0x56b989]=_0x576121[_0x9f55af(0x14d)](_0x19e4ee,!0x0),_0x19e4ee+=Float32Array['BYTES_PER_ELEMENT'];0x0===_0x972ffd[0x3]&&(_0x972ffd[0x0]=0.3,_0x972ffd[0x1]=0.3,_0x972ffd[0x2]=0.3,_0x972ffd[0x3]=0x1),_0x972ffd[0x3]<0.6&&(_0x972ffd[0x3]=0.6);var _0x549ab5=_0x4c82ee[_0x9f55af(0xe8)](new Uint8Array(_0x515bf8['data'],_0x19e4ee,0x20))[_0x9f55af(0x14b)](/\x00/g,''),_0x5aa7c1=(_0x19e4ee+=0x20*Uint8Array[_0x9f55af(0x128)],_0x576121['getUint32'](_0x19e4ee,!0x0)),_0x2fd75c=(_0x19e4ee+=Uint32Array[_0x9f55af(0x128)],_0x4c82ee[_0x9f55af(0xe8)](new Uint8Array(_0x515bf8[_0x9f55af(0x152)],_0x19e4ee,_0x5aa7c1))['replace'](/\x00/g,''));_0x19e4ee+=_0x5aa7c1;let _0x34dd5c={'modelId':_0x4c79f6,'id':_0x58b773,'color':_0x972ffd,'textureId':_0x549ab5,'name':_0x2fd75c},_0x5837b6=(_0x4e2e59[_0x9f55af(0x10e)](_0x34dd5c['modelId'])||(_0x4e2e59[_0x34dd5c['modelId']]=this['serverModelId_indexDb'][_0x34dd5c[_0x9f55af(0x172)]][_0x9f55af(0x184)]('material',_0x9f55af(0x117),{'durability':_0x9f55af(0x15d)}),_0x49d601[_0x34dd5c['modelId']]=_0x4e2e59[_0x34dd5c['modelId']]['objectStore']('material')),Object[_0x9f55af(0x107)]({},_0x34dd5c));delete _0x5837b6['modelId'],_0x49d601[_0x34dd5c[_0x9f55af(0x172)]][_0x9f55af(0xeb)](_0x5837b6),_0x34dd5c['uniqueId']=this['serverModelId_indexDb'][_0x34dd5c[_0x9f55af(0x172)]]['name'],_0x356bf5[_0x9f55af(0x151)](_0x34dd5c);}let _0x2d1398=Object[_0x9f55af(0x124)](_0x4e2e59)['length'];var _0x1b78ad,_0x5d345b=_0x52d49a=>{0x0==--_0x2d1398&&_0x3e2401(_0x356bf5);};for(_0x1b78ad in _0x4e2e59){let _0x1cc098=_0x4e2e59[_0x1b78ad];_0x1cc098[_0x9f55af(0x13b)]=_0x5d345b;}0x0===_0x2d1398&&_0x3e2401(_0x356bf5);},_0x41fc37)[_0x49e25d(0x180)](function(_0x21ac83){_0x41fc37(_0x21ac83);}):_0x3e2401(_0x3488b1));},_0x3c78d6['objectStore'](_0x3d1722(0x175)));for(var _0x265383 of _0xd6b723[_0x3c8c2a])_0x1db269[_0x3d1722(0x15f)](_0x265383)[_0x3d1722(0x166)]=_0x171eb7;}});}[_0x38ede7(0x14e)](_0x566557){return new Promise((_0x1c627e,_0x26e56d)=>{const _0x445ece=a4_0x438a;let _0x26cab1=[];var _0x5d49d3,_0x2eacba,_0x4b4d11=_0x40b5bd=>{const _0xd9047c=a4_0x438a;if(void 0x0!==_0x40b5bd['target'][_0xd9047c(0x167)]){for(var _0xb66c39 in _0x566557){var _0x26d692=_0x566557[_0xb66c39]['indexOf'](_0x40b5bd['target'][_0xd9047c(0x167)]['id']);-0x1!==_0x26d692&&_0x566557[_0xd9047c(0x10e)](_0xb66c39)&&(_0x566557[_0xb66c39][_0xd9047c(0x12d)](_0x26d692,0x1),0x0===_0x566557[_0xb66c39][_0xd9047c(0x14a)]&&delete _0x566557[_0xb66c39]);}_0x26cab1[_0xd9047c(0x151)](_0x40b5bd['target'][_0xd9047c(0x167)]);}};let _0x1a7038=this[_0x445ece(0x173)]['transaction']('texture',_0x445ece(0x186),{'durability':'strict'}),_0x4a80fb=(_0x1a7038[_0x445ece(0x13b)]=_0x30422e=>{const _0x422d17=_0x445ece;let _0x28eaef=[];var _0x58e679,_0xd8ae70;0x0{const _0x5f48fa=_0x422d17;let _0x2c0f9a=this['fineTextureDb'][_0x5f48fa(0x184)](_0x5f48fa(0x155),'readwrite',{'durability':_0x5f48fa(0x15d)}),_0x133d84=_0x2c0f9a['objectStore'](_0x5f48fa(0x155)),_0x3ea712=0x0,_0x5210fc=new DataView(_0x5acf15[_0x5f48fa(0x152)]);for(;_0x3ea712<_0x5acf15[_0x5f48fa(0x152)][_0x5f48fa(0xf1)];){let _0x4ff6ce=_0x4c82ee[_0x5f48fa(0xe8)](new Uint8Array(_0x5acf15[_0x5f48fa(0x152)],_0x3ea712,0x20))[_0x5f48fa(0x14b)](/\x00/g,'');_0x5f48fa(0xe9)==_0x4ff6ce&&(_0x4ff6ce=''),_0x3ea712+=0x20*Uint8Array['BYTES_PER_ELEMENT'];var _0x565232=_0x5210fc[_0x5f48fa(0x183)](_0x3ea712,!0x0),_0x5eeba8=(_0x3ea712+=Uint32Array[_0x5f48fa(0x128)],_0x4c82ee[_0x5f48fa(0xe8)](new Uint8Array(_0x5acf15[_0x5f48fa(0x152)],_0x3ea712,_0x565232))[_0x5f48fa(0x14b)](/\x00/g,'')),_0x565232=(_0x3ea712+=_0x565232,_0x5210fc[_0x5f48fa(0x183)](_0x3ea712,!0x0)),_0x1a2caa=(_0x3ea712+=Uint32Array[_0x5f48fa(0x128)],_0x5210fc[_0x5f48fa(0x183)](_0x3ea712,!0x0)),_0x8270b0=(_0x3ea712+=Uint32Array['BYTES_PER_ELEMENT'],_0x5210fc[_0x5f48fa(0x14d)](_0x3ea712,!0x0)),_0x2921a5=(_0x3ea712+=Uint32Array[_0x5f48fa(0x128)],_0x5210fc[_0x5f48fa(0x183)](_0x3ea712,!0x0)),_0x569f19=(_0x3ea712+=Uint32Array[_0x5f48fa(0x128)],new Uint8Array(_0x5acf15[_0x5f48fa(0x152)],_0x3ea712,_0x2921a5)),_0x2921a5=(_0x3ea712+=Uint8Array[_0x5f48fa(0x128)]*_0x2921a5,_0x5210fc['getUint32'](_0x3ea712,!0x0)),_0x184263=(_0x3ea712+=Uint32Array[_0x5f48fa(0x128)],new Uint8Array(_0x5acf15[_0x5f48fa(0x152)],_0x3ea712,_0x2921a5)),_0x2921a5=(_0x3ea712+=Uint8Array['BYTES_PER_ELEMENT']*_0x2921a5,_0x5210fc['getUint32'](_0x3ea712,!0x0)),_0x2d3639=(_0x3ea712+=Uint32Array[_0x5f48fa(0x128)],new Uint8Array(_0x5acf15[_0x5f48fa(0x152)],_0x3ea712,_0x2921a5)),_0x2921a5=(_0x3ea712+=Uint8Array[_0x5f48fa(0x128)]*_0x2921a5,_0x5210fc['getUint32'](_0x3ea712,!0x0)),_0x5236a9=(_0x3ea712+=Uint32Array[_0x5f48fa(0x128)],new Uint8Array(_0x5acf15['data'],_0x3ea712,_0x2921a5)),_0x2921a5=(_0x3ea712+=Uint8Array[_0x5f48fa(0x128)]*_0x2921a5,{'id':_0x4ff6ce,'name':_0x5eeba8,'width':_0x565232,'height':_0x1a2caa,'realityWidth':_0x8270b0,'preview':_0x569f19,'albedo':_0x184263,'orm':_0x2d3639,'normal':_0x5236a9,'isStatic':0x0,'isLoad':0x1});_0x26cab1[_0x5f48fa(0x151)](_0x2921a5),_0x133d84[_0x5f48fa(0xeb)](_0x2921a5);}},_0x26e56d)['catch'](function(_0x4c9160){_0x26e56d(_0x4c9160);}),_0x28eaef['push'](_0x58e679));for(let _0x12c076 of _0x26cab1)0x1===_0x12c076['isStatic']&&0x0===_0x12c076[_0x422d17(0x112)]&&(_0xd8ae70=Promise[_0x422d17(0x133)]([_0x4ddad9()[_0x422d17(0x159)](this[_0x422d17(0xef)]+_0x12c076[_0x422d17(0xdb)],{'responseType':'arraybuffer'}),_0x4ddad9()['get'](this[_0x422d17(0xef)]+_0x12c076[_0x422d17(0x10a)],{'responseType':_0x422d17(0x13e)}),_0x4ddad9()[_0x422d17(0x159)](this[_0x422d17(0xef)]+_0x12c076[_0x422d17(0xf3)],{'responseType':_0x422d17(0x13e)})])['then'](_0x296407=>{const _0x1cf609=_0x422d17;_0x12c076[_0x1cf609(0x179)]=new Uint8Array(_0x296407[0x0][_0x1cf609(0x152)]),_0x12c076[_0x1cf609(0x10f)]=new Uint8Array(_0x296407[0x1][_0x1cf609(0x152)]),_0x12c076['nd']=new Uint8Array(_0x296407[0x2][_0x1cf609(0x152)]),_0x12c076[_0x1cf609(0x112)]=0x1;let _0x414d9f=this[_0x1cf609(0x173)]['transaction'](_0x1cf609(0x155),'readwrite',{'durability':_0x1cf609(0x15d)}),_0x7d681c=_0x414d9f['objectStore']('texture');_0x7d681c['put'](_0x12c076);})[_0x422d17(0x180)](_0x535f9d=>{const _0x3db690=_0x422d17;_0x33164e[_0x3db690(0x17f)](_0x3db690(0x10d),_0x535f9d);}),_0x28eaef[_0x422d17(0x151)](_0xd8ae70));Promise[_0x422d17(0x133)](_0x28eaef)[_0x422d17(0x135)](_0x5d21a8=>{_0x1c627e(_0x26cab1);});},_0x1a7038[_0x445ece(0x119)]('texture')),_0x5c0aab=new Set();for(_0x5d49d3 in _0x566557)for(var _0x49b683 of _0x566557[_0x5d49d3])_0x5c0aab[_0x445ece(0xeb)](_0x49b683);for(_0x2eacba of _0x5c0aab)_0x4a80fb['get'](_0x2eacba)[_0x445ece(0x166)]=_0x4b4d11;});}[_0x38ede7(0xea)](_0x20b44a){const _0x52b782=_0x38ede7;this['getStaticTextureUrl']=_0x20b44a||_0x52b782(0xd8);let _0x34376a=indexedDB[_0x52b782(0xfc)](_0x52b782(0x129));_0x34376a[_0x52b782(0xdd)]=_0x167163=>_0x33164e[_0x52b782(0x17f)]('数据库:打开失败',_0x167163),_0x34376a[_0x52b782(0xe2)]=_0x172f2a=>{const _0x365f3b=_0x52b782;this['fineTextureDb']=_0x172f2a[_0x365f3b(0x143)]['result'];let _0x23d408=_0x172f2a['target']['result'][_0x365f3b(0x17d)](_0x365f3b(0x155),{'autoIncrement':!0x1,'keyPath':'id'});_0x23d408[_0x365f3b(0x138)](_0x365f3b(0x130),'isStatic',{'unique':!0x1,'multiEntry':!0x1}),this[_0x365f3b(0xe6)]=!0x0;},_0x34376a['onsuccess']=_0x5ec226=>{const _0x315562=_0x52b782;this[_0x315562(0x173)]=_0x5ec226[_0x315562(0x143)]['result'],this[_0x315562(0xe6)]&&_0x4ddad9()[_0x315562(0x159)](this[_0x315562(0xef)]+_0x315562(0x17e),{'responseType':_0x315562(0xec)})[_0x315562(0x135)](_0x1dafd7=>{const _0x40d539=_0x315562;let _0x6740c8=this[_0x40d539(0x173)]['transaction'](_0x40d539(0x155),_0x40d539(0x117),{'durability':'strict'}),_0x30545d=_0x6740c8['objectStore'](_0x40d539(0x155));for(var _0x4c2523 of _0x1dafd7['data'])_0x4c2523[_0x40d539(0x14f)]=_0x4c2523[_0x40d539(0x168)],_0x4c2523[_0x40d539(0xdb)]=_0x4c2523[_0x40d539(0x179)],_0x4c2523['ormPath']=_0x4c2523['orm'],_0x4c2523[_0x40d539(0xf3)]=_0x4c2523['nd'],_0x4c2523[_0x40d539(0x11f)]=0x1,_0x4c2523[_0x40d539(0x112)]=0x0,_0x30545d[_0x40d539(0xfd)](_0x4c2523);},_0x3f4acc=>{const _0x2cfb0c=_0x315562;_0x33164e[_0x2cfb0c(0x12c)](_0x2cfb0c(0x131),_0x3f4acc);});};}[_0x38ede7(0x18a)](_0x4335ca,_0x30f5f0){const _0x2c7152=_0x38ede7;let _0x45598c=this['serverModelId_indexDb'][_0x4335ca][_0x2c7152(0x184)]([_0x2c7152(0xfb),_0x2c7152(0x189),'component',_0x2c7152(0x175)],_0x2c7152(0x117),{'durability':_0x2c7152(0x15d)});_0x45598c[_0x2c7152(0x119)](_0x2c7152(0xfb))['clear'](),_0x45598c[_0x2c7152(0x119)](_0x2c7152(0x189))[_0x2c7152(0x18b)](),_0x45598c[_0x2c7152(0x119)](_0x2c7152(0xfe))[_0x2c7152(0x18b)](),_0x45598c['objectStore'](_0x2c7152(0x175))[_0x2c7152(0x18b)](),_0x45598c[_0x2c7152(0x13b)]=_0x30f5f0;}}},0x1721:(_0x4ac6c9,_0x3f212e,_0xc42bc5)=>{function _0x1a2b02(_0x1ae606,_0x5044a3){const _0x5284a8=a4_0x438a,_0x23af88=[];for(let _0x244e7b=0x0;_0x244e7b<_0x1ae606;++_0x244e7b)_0x23af88[_0x5284a8(0x151)](_0x5044a3());return _0x23af88;}_0xc42bc5['d'](_0x3f212e,{'$G':()=>_0x1a2b02,'rP':()=>_0x1a2b02});},0x149d:(_0x498e2d,_0x1b3eca,_0x28ae38)=>{const _0x10a2fc=a4_0x3b55b1;_0x28ae38['d'](_0x1b3eca,{'l':()=>_0x17f5a4});class _0x26f404{constructor(_0x2449bb,_0x347b5a=!0x1,_0x3107c3,_0x11f8d4){const _0x1cb1e5=a4_0x438a;this[_0x1cb1e5(0x16a)](_0x2449bb,_0x347b5a,_0x3107c3,_0x11f8d4);}[_0x10a2fc(0x16a)](_0x313fbc,_0x45d67b=!0x1,_0x9651d,_0x1bb734){const _0x570572=_0x10a2fc;return this['mask']=_0x313fbc,this['skipNextObservers']=_0x45d67b,this[_0x570572(0x143)]=_0x9651d,this['currentTarget']=_0x1bb734,this;}}class _0x213c64{constructor(_0xa51549,_0x508d16,_0x270581=null){const _0x4ad71d=_0x10a2fc;this[_0x4ad71d(0x104)]=_0xa51549,this['mask']=_0x508d16,this['scope']=_0x270581,this[_0x4ad71d(0x13a)]=!0x1,this[_0x4ad71d(0x148)]=!0x1,this[_0x4ad71d(0x17b)]=null;}['remove'](){const _0x3462bb=_0x10a2fc;this[_0x3462bb(0x17b)]&&this[_0x3462bb(0x17b)]();}}class _0x17f5a4{static get[_0x10a2fc(0x153)](){return{'isNDCHalfZRange':!0x0};}static get['LastCreatedScene'](){const _0x3f7534=_0x10a2fc;return this[_0x3f7534(0x145)];}}_0x17f5a4['Instances']=[],_0x17f5a4[_0x10a2fc(0x160)]=new class _0x4970f1{constructor(_0x3e0b20,_0xc418f9=!0x1){const _0x6720f0=_0x10a2fc;this[_0x6720f0(0x132)]=_0xc418f9,this['_observers']=new Array(),this['_numObserversMarkedAsDeleted']=0x0,this[_0x6720f0(0xee)]=!0x1,this['_eventState']=new _0x26f404(0x0),_0x3e0b20&&(this[_0x6720f0(0xda)]=_0x3e0b20);}static[_0x10a2fc(0x121)](_0x231e6d,_0x2cbf4b){const _0x888ebf=_0x10a2fc,_0xd42ab3=new _0x4970f1();return _0x231e6d['then'](_0x23ba00=>{const _0x1d2b2e=a4_0x438a;_0xd42ab3[_0x1d2b2e(0x156)](_0x23ba00);})[_0x888ebf(0x180)](_0x2b8de6=>{const _0x43a2b6=_0x888ebf;if(!_0x2cbf4b)throw _0x2b8de6;_0x2cbf4b[_0x43a2b6(0x156)](_0x2b8de6);}),_0xd42ab3;}get[_0x10a2fc(0x15c)](){const _0x2e9145=_0x10a2fc;return this[_0x2e9145(0x123)];}[_0x10a2fc(0xeb)](_0x3d799a,_0x1bdfb7=-0x1,_0x3d612c=!0x1,_0x2e3215=null,_0x395f91=!0x1){const _0x4b80bf=_0x10a2fc;if(!_0x3d799a)return null;const _0x2fbd06=new _0x213c64(_0x3d799a,_0x1bdfb7,_0x2e3215);return _0x2fbd06[_0x4b80bf(0x148)]=_0x395f91,_0x3d612c?this[_0x4b80bf(0x123)][_0x4b80bf(0x13f)](_0x2fbd06):this[_0x4b80bf(0x123)]['push'](_0x2fbd06),this['_onObserverAdded']&&this[_0x4b80bf(0xda)](_0x2fbd06),this[_0x4b80bf(0xee)]&&this['notifyIfTriggered']&&void 0x0!==this[_0x4b80bf(0xe7)]&&this[_0x4b80bf(0xf2)](_0x2fbd06,this[_0x4b80bf(0xe7)]),_0x2fbd06[_0x4b80bf(0x17b)]=()=>{const _0x32cfde=_0x4b80bf;this[_0x32cfde(0xf0)](_0x2fbd06);},_0x2fbd06;}[_0x10a2fc(0x100)](_0x1dbec1){const _0x5b98f7=_0x10a2fc;return this[_0x5b98f7(0xeb)](_0x1dbec1,void 0x0,void 0x0,void 0x0,!0x0);}[_0x10a2fc(0xf0)](_0x222b0c){const _0x8dc21c=_0x10a2fc;return!!_0x222b0c&&(_0x222b0c[_0x8dc21c(0x17b)]=null,-0x1!==this[_0x8dc21c(0x123)][_0x8dc21c(0x157)](_0x222b0c)&&(this[_0x8dc21c(0x118)](_0x222b0c),!0x0));}[_0x10a2fc(0x115)](_0x59808b,_0x1a8cb9){const _0x207abc=_0x10a2fc;for(let _0x3f4b97=0x0;_0x3f4b97{this['_remove'](_0x5b929a);},0x0));}[_0x10a2fc(0x17b)](_0x69e736,_0x4acdac=!0x0){const _0x284f76=_0x10a2fc;if(!_0x69e736)return!0x1;return _0x69e736=this[_0x284f76(0x123)][_0x284f76(0x157)](_0x69e736),-0x1!==_0x69e736&&(_0x4acdac&&this[_0x284f76(0x171)]--,this[_0x284f76(0x123)][_0x284f76(0x12d)](_0x69e736,0x1),!0x0);}[_0x10a2fc(0x139)](_0x368a22){const _0x1af1ce=_0x10a2fc;this[_0x1af1ce(0x17b)](_0x368a22,!0x1),this[_0x1af1ce(0x123)][_0x1af1ce(0x13f)](_0x368a22);}[_0x10a2fc(0x110)](_0x507695){const _0x30a153=_0x10a2fc;this[_0x30a153(0x17b)](_0x507695,!0x1),this[_0x30a153(0x123)]['push'](_0x507695);}[_0x10a2fc(0x156)](_0xecf56f,_0x20e389=-0x1,_0x17791e,_0x334373,_0x261aa4){const _0x302522=_0x10a2fc;if(this[_0x302522(0x132)]&&(this['_hasNotified']=!0x0,this[_0x302522(0xe7)]=_0xecf56f),!this[_0x302522(0x123)][_0x302522(0x14a)])return!0x0;const _0x139fdf=this[_0x302522(0xe3)];_0x139fdf[_0x302522(0xdf)]=_0x20e389,_0x139fdf[_0x302522(0x143)]=_0x17791e,_0x139fdf[_0x302522(0x136)]=_0x334373,_0x139fdf[_0x302522(0x150)]=!0x1,_0x139fdf['lastReturnValue']=_0xecf56f,_0x139fdf[_0x302522(0x11b)]=_0x261aa4;for(const _0x469922 of this[_0x302522(0x123)])if(!_0x469922[_0x302522(0x13a)]&&(_0x469922[_0x302522(0xdf)]&_0x20e389&&(_0x469922['unregisterOnNextCall']&&this[_0x302522(0x118)](_0x469922),_0x469922[_0x302522(0x113)]?_0x139fdf[_0x302522(0x15e)]=_0x469922['callback'][_0x302522(0x182)](_0x469922[_0x302522(0x113)],[_0xecf56f,_0x139fdf]):_0x139fdf[_0x302522(0x15e)]=_0x469922[_0x302522(0x104)](_0xecf56f,_0x139fdf)),_0x139fdf['skipNextObservers']))return!0x1;return!0x0;}['notifyObserver'](_0x3faad7,_0x27e660,_0x544d90=-0x1){const _0xa49069=_0x10a2fc;if(this[_0xa49069(0x132)]&&(this['_hasNotified']=!0x0,this[_0xa49069(0xe7)]=_0x27e660),!_0x3faad7[_0xa49069(0x13a)]){const _0x47b17e=this['_eventState'];_0x47b17e[_0xa49069(0xdf)]=_0x544d90,_0x47b17e[_0xa49069(0x150)]=!0x1,_0x3faad7[_0xa49069(0x148)]&&this[_0xa49069(0x118)](_0x3faad7),_0x3faad7['callback'](_0x27e660,_0x47b17e);}}[_0x10a2fc(0x105)](){const _0x3bb0fb=_0x10a2fc;return 0x0{const _0x2cfe45=a4_0x3b55b1;_0x238c72['d'](_0x5e3eaf,{'Z':()=>_0xf73001});class _0xf73001{static[_0x2cfe45(0x16d)](_0x6acc66){const _0x52dce8=_0x2cfe45;if(_0xf73001['MatrixTrackPrecisionChange']=!0x1,_0x6acc66&&!_0xf73001['MatrixUse64Bits']&&_0xf73001[_0x52dce8(0xe4)])for(let _0x33cff0=0x0;_0x33cff0<_0xf73001['MatrixTrackedMatrices'][_0x52dce8(0x14a)];++_0x33cff0){const _0x4f58e7=_0xf73001[_0x52dce8(0xe4)][_0x33cff0];var _0x110cad=_0x4f58e7['_m'];_0x4f58e7['_m']=new Array(0x10);for(let _0x10db65=0x0;_0x10db65<0x10;++_0x10db65)_0x4f58e7['_m'][_0x10db65]=_0x110cad[_0x10db65];}_0xf73001['MatrixUse64Bits']=_0x6acc66,_0xf73001[_0x52dce8(0x154)]=_0xf73001[_0x52dce8(0x161)]?Array:Float32Array,_0xf73001['MatrixTrackedMatrices']=null;}}_0xf73001['MatrixUse64Bits']=!0x0,_0xf73001['MatrixTrackPrecisionChange']=!0x0,_0xf73001[_0x2cfe45(0x154)]=Float32Array,_0xf73001['MatrixTrackedMatrices']=[];},0x16c7:(_0x35dc72,_0xa860d7,_0x3087fe)=>{_0x3087fe['d'](_0xa860d7,{'H7':()=>function(_0x13228b,_0x2eea5c){_0x6e4e8e[_0x13228b]=_0x2eea5c;}});const _0x6e4e8e={};}}]);