function a2_0x23e9(){var _0xf7253d=['fa05e7d11528d7429e0c','hasOwnProperty','server_modelId_meshIds_List','post','2YTRGhS','getModelList','log','return\x20this','GetLeftPlaneToRef','modifyMemoryRenderIndexDataView','textureId','数据库:mesh写入失败','GetTopPlaneToRef','onerror','CreateMaterial','name','11301570OzaGNm','无法识别\x20componentType','splice','minimizeInPlace','multiply','lastIndexOf','AddTexture','renderMemoryIdBuffer','RequestTexture','PrepareRenderData','FreeVideoMemory','812102VaDTsB','modifyMemoryInstancesDataView','Loop','modifyMemoryInstancesBuffer','static_texture_List','readonly','centerWorld','extendSizeWorld','error','CancelMaterialEdit','SetComponentMaterialId','intersectsSphere','42ae55ffd854346f463b','opaqueMaxRenderIndex','each','from','modelMeshInfo','textureInfoAutoId','server_modelId_materialIds_List','Intersects','get','数据库:打开失败','_TmpVector3','object','frameMaxRenderMemoryLength','reduce','modifyMemoryPositionBuffer','idBuffer','nmd','base','gridTextureSize','modelMeshInstancesIndexDataView','idleMemoryTextureBuffer','maximizeInPlace','getTexture','side','operating','loaded','idleMemoryMixDataView','sharedData','albedo','Database','alpha','AddInstanceIndex','clearModelMeshInfo','GetComponentType','idleMemoryPositionBuffer','vectorsWorld','HideModel','isInFrustum','98b3e1bb11ec3a779512','directions','indexOffsetEnd','./Assets/Textures/PBRRepo/texture.json','objectStore','DistanceSquared','loadingMesh','onsuccess','modelIndexOffsetStart','Zero','modelMaterialInfo','indexDbInsertMaxNum','indexDb_modelId_materialIds_List','imgStartHeight','length','amd','material','IntersectsSphere','select\x20*\x20from\x20mesh','allowRenderInstancesDataView','push','normal','pop','modifyMemoryRenderIndexBuffer','getWorldMatrix','initTextureServerEd','direct','intersectsMinMax','ormPath','children','AddAVertexIndex','textureConfigJson','loadingMaterial','modelId','219294uoXaTi','getMeshUrl','BuildArray','textureInfoCurrentAutoId','color','operatingTypeModelComponent','addToRef','idleMemoryTextureDataView','SetInstancesTransform','162naQzUF','allowRenderInstancesArrayBuffer','result','buffer','reverseElection','uniqueIdToModelId','loadStatus','height','_worldMatrix','vertexPositionBuffer','e422720b1fb0de487396','serverAddress','copyFrom','GetMaterial','minimum','isExist','modelIdToUniqueId','RemoveModel','modifyMemoryMixDataView','objectStoreNames','indexBufferType','BindTexture','subarray','ndPath','then','TransformCoordinatesToRef','select\x20*\x20from\x20texture','open','oneMeter','9tXydVe','substring','GetPlanes','SetModelTransform','.bptc','red','MAX_VALUE','paths','copyFromFloats','getAllKeys','set','105240DcxjCZ','idleMemoryInstancesDataView','FromArrayToRef','reConstruct','maximumWorld','all','scaleInPlace','modelMeshInstancesDataView','texture','videoMemoryPositionCount','transform','indexDb_texture_List','FromArray','modifyMemoryPositionDataView','216xAVjPW','normalizeFromLength','prototype','width','RequestMesh','modifyMemoryTextureBuffer','indexDbName_Common','subtractToRef','SetModelMatrix','default','transaction','IsInFrustum','every','target','uniqueId','AddRenderingIndex','none','green','textureInfo','floor','status','vertexOffsetStart','101745aouOcG','dispose','operatingType','renderUpdateTempDataView','GetTextureList','modelMeshInstancesIndexArrayBuff','indexDbInsertCurrentNum','reverseElectionOperating','modifyMemoryTextureDataView','IsPointInFrustum','add','CancelOperatingTransform','不够用了','1096092QCmxdV','indexBuffer','origin','SQLEngine','renderMemoryIdDataView','Init','220CDerGj','InitModel','renderIndexModelIdAndInstancesIdDataView','modelMeshInstancesArrayBuff','modelMatrixArr','postMessage','map','currentFrameNo','idleMemoryInstancesBuffer','frustumVisibleWorker','useCache','__esModule','allRenderEd','dotCoordinate','center','SetMatrixPrecision','modelData','exports','dataStoreArrayBuffer','maximum','keys','indexDbCache','modifyMemoryMixBuffer','SetComponentStatus','renderMaterialCount','ClampToRef','materialCount','Bim','maxRenderTriangleCount','bind','dataOffsetStart','dataStoreObject','webpackChunkBim','SetMaterialColor','minimumWorld','idleMemoryPositionDataView','scale','modelMaterialBindTexture','renderIndexModelIdAndInstancesIdBuffer','modelArrayBuff','读取mesh失败','autoId','albedoPath','currentTarget','customizeMaterialCount','IsCompletelyInFrustum','indexDb_modelId_meshIds_List','arraybuffer','getMaterial','GetBottomPlaneToRef','call','RequestMaterial','CancelOperatingStatus','extendSize','SetInstancesStatus','mesh','cbId','opaqueMaxRenderTriangleCount','server_modelId_texture_List','initTextureDbEd','isIdentity','GetRightPlaneToRef','initModelListEd','radiusWorld','maxTextureSize','location','dataCallBack','_drawWrapperFront','idleTextureMinUnit','isArray','common','vectors','SetMaterialTexture','onupgradeneeded','SetComponentTransform','ceil','modelId_indexDb','contains','./Assets/Textures/PBRRepo/','GetFarPlaneToRef','LastInit','AddModel','blue','data','materialId','transparentMaxRenderTriangleCount','GetPlanesToRef','GetNearPlaneToRef','InitModelList','editModelMaterial','renderModelComponentInstance','orm','preview','normalize','renderUpdateTempDataBuffer','msgType','renderIndexBuffer','imgStartWidth','AddMaterial','readwrite','FrameSelection','indexOffsetStart','setAll','6714472CbWron','renderIndexDataView','SetModelStatus','renderInstancesCount','visibleModelBox'];a2_0x23e9=function(){return _0xf7253d;};return a2_0x23e9();}function a2_0x3f13(_0x45e755,_0x33b82d){var _0x23e9fd=a2_0x23e9();return a2_0x3f13=function(_0x3f1322,_0x585a36){_0x3f1322=_0x3f1322-0x1a0;var _0x2b1ff6=_0x23e9fd[_0x3f1322];return _0x2b1ff6;},a2_0x3f13(_0x45e755,_0x33b82d);}var a2_0x30eb20=a2_0x3f13;(function(_0x2d92c2,_0x1ca4ea){var _0x22b378=a2_0x3f13,_0x965b17=_0x2d92c2();while(!![]){try{var _0x46233b=-parseInt(_0x22b378(0x1c8))/0x1+-parseInt(_0x22b378(0x1b1))/0x2*(-parseInt(_0x22b378(0x21c))/0x3)+-parseInt(_0x22b378(0x25b))/0x4*(parseInt(_0x22b378(0x24d))/0x5)+parseInt(_0x22b378(0x225))/0x6*(parseInt(_0x22b378(0x271))/0x7)+parseInt(_0x22b378(0x1a8))/0x8*(-parseInt(_0x22b378(0x242))/0x9)+parseInt(_0x22b378(0x1bd))/0xa+parseInt(_0x22b378(0x284))/0xb*(parseInt(_0x22b378(0x27e))/0xc);if(_0x46233b===_0x1ca4ea)break;else _0x965b17['push'](_0x965b17['shift']());}catch(_0x4c64f4){_0x965b17['push'](_0x965b17['shift']());}}}(a2_0x23e9,0x9ae95));var e=self||this,t=()=>{var _0x453e93=a2_0x3f13;return _0x4f7862={0x65c1:(_0x1ee7af,_0x161c4d,_0x395085)=>{var _0xe07159=a2_0x3f13;_0x395085['d'](_0x161c4d,{'k':()=>_0x18d6ac});var _0x455418=_0x395085(0x5898),_0x58a7f7=_0x395085(0x9fd1),_0x431d79=_0x395085(0x147b8);class _0x18d6ac{constructor(_0x654099,_0xa1da62,_0x554bdf){var _0x2a704a=a2_0x3f13;this[_0x2a704a(0x2cb)]=_0x455418['B']['BuildArray'](0x8,_0x58a7f7['P'][_0x2a704a(0x203)]),this[_0x2a704a(0x292)]=_0x58a7f7['P']['Zero'](),this[_0x2a704a(0x1ce)]=_0x58a7f7['P'][_0x2a704a(0x203)](),this[_0x2a704a(0x2b9)]=_0x58a7f7['P'][_0x2a704a(0x203)](),this[_0x2a704a(0x1cf)]=_0x58a7f7['P'][_0x2a704a(0x203)](),this['directions']=_0x455418['B'][_0x2a704a(0x21e)](0x3,_0x58a7f7['P']['Zero']),this[_0x2a704a(0x1f7)]=_0x455418['B']['BuildArray'](0x8,_0x58a7f7['P'][_0x2a704a(0x203)]),this['minimumWorld']=_0x58a7f7['P'][_0x2a704a(0x203)](),this[_0x2a704a(0x251)]=_0x58a7f7['P'][_0x2a704a(0x203)](),this[_0x2a704a(0x233)]=_0x58a7f7['P']['Zero'](),this[_0x2a704a(0x297)]=_0x58a7f7['P']['Zero'](),this[_0x2a704a(0x2c7)]=null,this['_drawWrapperBack']=null,this[_0x2a704a(0x250)](_0x654099,_0xa1da62,_0x554bdf);}[_0xe07159(0x250)](_0x5bb2fb,_0x2586cd,_0x4a33d7){var _0x4064c5=_0xe07159,_0x444a41=_0x5bb2fb['x'],_0x290fe8=_0x5bb2fb['y'],_0x7ccf8f=_0x5bb2fb['z'],_0x351df6=_0x2586cd['x'],_0x4a0707=_0x2586cd['y'],_0xa69cfb=_0x2586cd['z'];const _0x5ab19c=this[_0x4064c5(0x2cb)];this[_0x4064c5(0x233)]['copyFromFloats'](_0x444a41,_0x290fe8,_0x7ccf8f),this[_0x4064c5(0x297)]['copyFromFloats'](_0x351df6,_0x4a0707,_0xa69cfb),_0x5ab19c[0x0][_0x4064c5(0x24a)](_0x444a41,_0x290fe8,_0x7ccf8f),_0x5ab19c[0x1][_0x4064c5(0x24a)](_0x351df6,_0x4a0707,_0xa69cfb),_0x5ab19c[0x2]['copyFromFloats'](_0x351df6,_0x290fe8,_0x7ccf8f),_0x5ab19c[0x3][_0x4064c5(0x24a)](_0x444a41,_0x4a0707,_0x7ccf8f),_0x5ab19c[0x4][_0x4064c5(0x24a)](_0x444a41,_0x290fe8,_0xa69cfb),_0x5ab19c[0x5][_0x4064c5(0x24a)](_0x351df6,_0x4a0707,_0x7ccf8f),_0x5ab19c[0x6]['copyFromFloats'](_0x444a41,_0x4a0707,_0xa69cfb),_0x5ab19c[0x7][_0x4064c5(0x24a)](_0x351df6,_0x290fe8,_0xa69cfb),_0x2586cd[_0x4064c5(0x222)](_0x5bb2fb,this['center'])[_0x4064c5(0x253)](0.5),_0x2586cd[_0x4064c5(0x262)](_0x5bb2fb,this[_0x4064c5(0x2b9)])['scaleInPlace'](0.5),this[_0x4064c5(0x22d)]=_0x4a33d7||_0x58a7f7['y3']['IdentityReadOnly'],this['_update'](this[_0x4064c5(0x22d)]);}[_0xe07159(0x2a8)](_0x38e411){var _0x380c25=_0xe07159,_0x1e6667=_0x18d6ac[_0x380c25(0x1de)];const _0xd05cd4=this[_0x380c25(0x297)]['subtractToRef'](this[_0x380c25(0x233)],_0x1e6667[0x0]);var _0x5e857c=_0xd05cd4[_0x380c25(0x208)](),_0x5e857c=(_0xd05cd4[_0x380c25(0x25c)](_0x5e857c),_0x5e857c*_0x38e411),_0x38e411=_0xd05cd4['scaleInPlace'](0.5*_0x5e857c),_0x5e857c=this[_0x380c25(0x292)][_0x380c25(0x262)](_0x38e411,_0x1e6667[0x1]),_0x38e411=this[_0x380c25(0x292)][_0x380c25(0x222)](_0x38e411,_0x1e6667[0x2]);return this['reConstruct'](_0x5e857c,_0x38e411,this['_worldMatrix']),this;}[_0xe07159(0x212)](){var _0x1fba6c=_0xe07159;return this[_0x1fba6c(0x22d)];}['_update'](_0x54b91b){var _0x1eff66=_0xe07159;const _0x29fb8a=this[_0x1eff66(0x2a6)],_0x445e8a=this[_0x1eff66(0x251)];var _0x4fabe5=this[_0x1eff66(0x1fb)];const _0x4065ed=this['vectorsWorld'];var _0x222fe3=this[_0x1eff66(0x2cb)];if(_0x54b91b[_0x1eff66(0x2c0)]()){_0x29fb8a[_0x1eff66(0x231)](this['minimum']),_0x445e8a[_0x1eff66(0x231)](this[_0x1eff66(0x297)]);for(let _0x3a10cd=0x0;_0x3a10cd<0x8;++_0x3a10cd)_0x4065ed[_0x3a10cd]['copyFrom'](_0x222fe3[_0x3a10cd]);this['extendSizeWorld'][_0x1eff66(0x231)](this[_0x1eff66(0x2b9)]),this['centerWorld'][_0x1eff66(0x231)](this[_0x1eff66(0x292)]);}else{_0x29fb8a[_0x1eff66(0x1a7)](Number[_0x1eff66(0x248)]),_0x445e8a[_0x1eff66(0x1a7)](-Number[_0x1eff66(0x248)]);for(let _0x12ea1c=0x0;_0x12ea1c<0x8;++_0x12ea1c){var _0x1359f3=_0x4065ed[_0x12ea1c];_0x58a7f7['P'][_0x1eff66(0x23e)](_0x222fe3[_0x12ea1c],_0x54b91b,_0x1359f3),_0x29fb8a[_0x1eff66(0x1c0)](_0x1359f3),_0x445e8a[_0x1eff66(0x1e9)](_0x1359f3);}_0x445e8a['subtractToRef'](_0x29fb8a,this[_0x1eff66(0x1cf)])[_0x1eff66(0x253)](0.5),_0x445e8a[_0x1eff66(0x222)](_0x29fb8a,this[_0x1eff66(0x1ce)])[_0x1eff66(0x253)](0.5);}_0x58a7f7['P'][_0x1eff66(0x24f)](_0x54b91b['m'],0x0,_0x4fabe5[0x0]),_0x58a7f7['P'][_0x1eff66(0x24f)](_0x54b91b['m'],0x4,_0x4fabe5[0x1]),_0x58a7f7['P'][_0x1eff66(0x24f)](_0x54b91b['m'],0x8,_0x4fabe5[0x2]),this[_0x1eff66(0x22d)]=_0x54b91b;}[_0xe07159(0x1f9)](_0x4ea692){var _0x254cc9=_0xe07159;return _0x18d6ac['IsInFrustum'](this[_0x254cc9(0x1f7)],_0x4ea692);}['isCompletelyInFrustum'](_0x436aa1){var _0x52981c=_0xe07159;return _0x18d6ac[_0x52981c(0x2b1)](this[_0x52981c(0x1f7)],_0x436aa1);}['intersectsPoint'](_0x59ccd1){var _0x7acbea=_0xe07159,_0x7f0312=this[_0x7acbea(0x2a6)],_0x55748c=this[_0x7acbea(0x251)],_0x2ef7da=_0x7f0312['x'],_0x4371a3=_0x7f0312['y'],_0x7f0312=_0x7f0312['z'],_0x39e651=_0x55748c['x'],_0x3d8b3a=_0x55748c['y'],_0x55748c=_0x55748c['z'],_0x2329f7=_0x59ccd1['x'],_0x43b2a9=_0x59ccd1['y'],_0x59ccd1=_0x59ccd1['z'],_0x1be9e1=-_0x431d79['kn'];return!(_0x39e651-_0x2329f7<_0x1be9e1||_0x2329f7-_0x2ef7da<_0x1be9e1||_0x3d8b3a-_0x43b2a9<_0x1be9e1||_0x43b2a9-_0x4371a3<_0x1be9e1||_0x55748c-_0x59ccd1<_0x1be9e1||_0x59ccd1-_0x7f0312<_0x1be9e1);}[_0xe07159(0x1d3)](_0x161d16){var _0x519be9=_0xe07159;return _0x18d6ac[_0x519be9(0x20b)](this['minimumWorld'],this['maximumWorld'],_0x161d16[_0x519be9(0x1ce)],_0x161d16[_0x519be9(0x2c3)]);}[_0xe07159(0x215)](_0x46f5d3,_0x5f0b6d){var _0x2dfc8c=_0xe07159,_0x417e81=this[_0x2dfc8c(0x2a6)],_0x2e07aa=this[_0x2dfc8c(0x251)],_0x22a949=_0x417e81['x'],_0x5c84e1=_0x417e81['y'],_0x417e81=_0x417e81['z'],_0x5f00bc=_0x2e07aa['x'],_0xee2886=_0x2e07aa['y'],_0x2e07aa=_0x2e07aa['z'],_0x2afd5b=_0x46f5d3['x'],_0x3e96e2=_0x46f5d3['y'],_0x46f5d3=_0x46f5d3['z'],_0x5e5476=_0x5f0b6d['x'],_0x1e6150=_0x5f0b6d['y'],_0x5f0b6d=_0x5f0b6d['z'];return!(_0x5f00bc<_0x2afd5b||_0x5e5476<_0x22a949||_0xee2886<_0x3e96e2||_0x1e6150<_0x5c84e1||_0x2e07aa<_0x46f5d3||_0x5f0b6d<_0x417e81);}[_0xe07159(0x272)](){var _0x440b4d=_0xe07159,_0x2ed779;null!=(_0x2ed779=this[_0x440b4d(0x2c7)])&&_0x2ed779[_0x440b4d(0x272)](),null!=(_0x2ed779=this['_drawWrapperBack'])&&_0x2ed779[_0x440b4d(0x272)]();}static[_0xe07159(0x1db)](_0x4568de,_0x29afc5){var _0x4b13a1=_0xe07159;return _0x4568de[_0x4b13a1(0x215)](_0x29afc5['minimumWorld'],_0x29afc5[_0x4b13a1(0x251)]);}static['IntersectsSphere'](_0x3990ed,_0x410941,_0x5de47d,_0x3dbc9a){var _0x41bd6a=_0xe07159,_0xbb2b91=_0x18d6ac[_0x41bd6a(0x1de)][0x0];return _0x58a7f7['P'][_0x41bd6a(0x29d)](_0x5de47d,_0x3990ed,_0x410941,_0xbb2b91),_0x58a7f7['P'][_0x41bd6a(0x1ff)](_0x5de47d,_0xbb2b91)<=_0x3dbc9a*_0x3dbc9a;}static[_0xe07159(0x2b1)](_0x289810,_0x4dd575){var _0x5319b6=_0xe07159;for(let _0x4264e3=0x0;_0x4264e3<0x6;++_0x4264e3){const _0x23840b=_0x4dd575[_0x4264e3];for(let _0x4353af=0x0;_0x4353af<0x8;++_0x4353af)if(_0x23840b[_0x5319b6(0x291)](_0x289810[_0x4353af])<0x0)return!0x1;}return!0x0;}static[_0xe07159(0x266)](_0x43fc68,_0x49e11c){for(let _0x27b644=0x0;_0x27b644<0x6;++_0x27b644){let _0x495ed1=!0x0;const _0x271a9f=_0x49e11c[_0x27b644];for(let _0x563b50=0x0;_0x563b50<0x8;++_0x563b50)if(0x0<=_0x271a9f['dotCoordinate'](_0x43fc68[_0x563b50])){_0x495ed1=!0x1;break;}if(_0x495ed1)return!0x1;}return!0x0;}}_0x18d6ac['_TmpVector3']=_0x455418['B'][_0xe07159(0x21e)](0x3,_0x58a7f7['P'][_0xe07159(0x203)]);},0x126cd:(_0x45e3de,_0x108b96,_0x5073e1)=>{var _0x4907b5=a2_0x3f13;_0x5073e1['d'](_0x108b96,{'i':()=>_0x5379c4});var _0x5b5637=_0x5073e1(0x2037);class _0x5379c4{static[_0x4907b5(0x244)](_0x1bcca5){var _0x52a477=_0x4907b5;const _0x582d78=[];for(let _0x47f237=0x0;_0x47f237<0x6;_0x47f237++)_0x582d78['push'](new _0x5b5637['J'](0x0,0x0,0x0,0x0));return _0x5379c4[_0x52a477(0x2da)](_0x1bcca5,_0x582d78),_0x582d78;}static['GetNearPlaneToRef'](_0x43f02f,_0x4ae7d3){var _0x58e0ad=_0x4907b5;_0x43f02f=_0x43f02f['m'],(_0x4ae7d3['normal']['x']=_0x43f02f[0x3]+_0x43f02f[0x2],_0x4ae7d3[_0x58e0ad(0x20f)]['y']=_0x43f02f[0x7]+_0x43f02f[0x6],_0x4ae7d3[_0x58e0ad(0x20f)]['z']=_0x43f02f[0xb]+_0x43f02f[0xa],_0x4ae7d3['d']=_0x43f02f[0xf]+_0x43f02f[0xe],_0x4ae7d3['normalize']());}static[_0x4907b5(0x2d3)](_0x589213,_0x5ddcfe){var _0xce71e2=_0x4907b5;_0x589213=_0x589213['m'],(_0x5ddcfe[_0xce71e2(0x20f)]['x']=_0x589213[0x3]-_0x589213[0x2],_0x5ddcfe[_0xce71e2(0x20f)]['y']=_0x589213[0x7]-_0x589213[0x6],_0x5ddcfe[_0xce71e2(0x20f)]['z']=_0x589213[0xb]-_0x589213[0xa],_0x5ddcfe['d']=_0x589213[0xf]-_0x589213[0xe],_0x5ddcfe[_0xce71e2(0x2e1)]());}static[_0x4907b5(0x1b5)](_0xc1d88d,_0x297da3){var _0x447ae3=_0x4907b5;_0xc1d88d=_0xc1d88d['m'],(_0x297da3[_0x447ae3(0x20f)]['x']=_0xc1d88d[0x3]+_0xc1d88d[0x0],_0x297da3[_0x447ae3(0x20f)]['y']=_0xc1d88d[0x7]+_0xc1d88d[0x4],_0x297da3['normal']['z']=_0xc1d88d[0xb]+_0xc1d88d[0x8],_0x297da3['d']=_0xc1d88d[0xf]+_0xc1d88d[0xc],_0x297da3[_0x447ae3(0x2e1)]());}static[_0x4907b5(0x2c1)](_0x3c0dec,_0x2c4cb2){var _0x4ac93c=_0x4907b5;_0x3c0dec=_0x3c0dec['m'],(_0x2c4cb2[_0x4ac93c(0x20f)]['x']=_0x3c0dec[0x3]-_0x3c0dec[0x0],_0x2c4cb2[_0x4ac93c(0x20f)]['y']=_0x3c0dec[0x7]-_0x3c0dec[0x4],_0x2c4cb2[_0x4ac93c(0x20f)]['z']=_0x3c0dec[0xb]-_0x3c0dec[0x8],_0x2c4cb2['d']=_0x3c0dec[0xf]-_0x3c0dec[0xc],_0x2c4cb2[_0x4ac93c(0x2e1)]());}static['GetTopPlaneToRef'](_0x503217,_0x2e0003){var _0x1903d=_0x4907b5;_0x503217=_0x503217['m'],(_0x2e0003[_0x1903d(0x20f)]['x']=_0x503217[0x3]-_0x503217[0x1],_0x2e0003[_0x1903d(0x20f)]['y']=_0x503217[0x7]-_0x503217[0x5],_0x2e0003[_0x1903d(0x20f)]['z']=_0x503217[0xb]-_0x503217[0x9],_0x2e0003['d']=_0x503217[0xf]-_0x503217[0xd],_0x2e0003[_0x1903d(0x2e1)]());}static['GetBottomPlaneToRef'](_0x166750,_0x3dcec9){var _0x504ec0=_0x4907b5;_0x166750=_0x166750['m'],(_0x3dcec9[_0x504ec0(0x20f)]['x']=_0x166750[0x3]+_0x166750[0x1],_0x3dcec9[_0x504ec0(0x20f)]['y']=_0x166750[0x7]+_0x166750[0x5],_0x3dcec9['normal']['z']=_0x166750[0xb]+_0x166750[0x9],_0x3dcec9['d']=_0x166750[0xf]+_0x166750[0xd],_0x3dcec9[_0x504ec0(0x2e1)]());}static['GetPlanesToRef'](_0x278482,_0x112eaf){var _0x29140f=_0x4907b5;_0x5379c4[_0x29140f(0x2db)](_0x278482,_0x112eaf[0x0]),_0x5379c4[_0x29140f(0x2d3)](_0x278482,_0x112eaf[0x1]),_0x5379c4[_0x29140f(0x1b5)](_0x278482,_0x112eaf[0x2]),_0x5379c4['GetRightPlaneToRef'](_0x278482,_0x112eaf[0x3]),_0x5379c4[_0x29140f(0x1b9)](_0x278482,_0x112eaf[0x4]),_0x5379c4[_0x29140f(0x2b5)](_0x278482,_0x112eaf[0x5]);}static[_0x4907b5(0x27a)](_0x1ebccc,_0xd10d9f){for(let _0x252f02=0x0;_0x252f02<0x6;_0x252f02++)if(_0xd10d9f[_0x252f02]['dotCoordinate'](_0x1ebccc)<0x0)return!0x1;return!0x0;}}},0x15857:(_0x4b26fd,_0x305067,_0x222d8e)=>{_0x222d8e['d'](_0x305067,{'HE':()=>_0x5306a7['HE'],'P':()=>_0x2e5255['P'],'RD':()=>_0xce576f['RD'],'Wo':()=>_0x5306a7['Wo'],'jp':()=>_0x2e5255['jp'],'y3':()=>_0x2e5255['y3'],'zZ':()=>_0x5306a7['zZ']});var _0xce576f=_0x222d8e(0xa60f),_0x5306a7=_0x222d8e(0xc84b),_0x2e5255=(_0x222d8e(0x147b8),_0x222d8e(0x126cd),_0x222d8e(0x11edd),_0x222d8e(0x2037),_0x222d8e(0x9fd1));_0x222d8e(0x15a94);},0x14518:(_0x5ccf46,_0x537f4e,_0x4599e2)=>{var _0x302faa=a2_0x3f13,_0x422b47=_0x4599e2(0x15a31),_0x167447=_0x4599e2(0xd8a8),_0x2f8de7=_0x4599e2(0x10d51),_0x2f8de7=_0x4599e2['n'](_0x2f8de7),_0x320f13=_0x4599e2(0x2f9d),_0x2563fc=_0x4599e2(0x25c5),_0x4a489a=_0x4599e2['n'](_0x2563fc),_0x488370=(_0x4599e2(0xe0c0),_0x4599e2(0xab11),_0x4599e2(0x14c74),_0x4599e2(0x9316),_0x4599e2(0xe1b3),_0x4599e2(0xb261),_0x4599e2(0x3ae7),_0x4599e2(0x5e86),_0x4599e2(0x1696b),_0x4599e2(0x9d9),_0x4599e2(0x161cb),_0x4599e2(0x17932),_0x4599e2(0x65c1),_0x4599e2(0xe30c),_0x4599e2(0x12bb6),_0x4599e2(0x17fdf),_0x4599e2(0x8483),_0x4599e2(0x28e1),_0x4599e2(0x59a7),_0x4599e2(0x663)),_0x587870=(_0x4599e2(0x1334a),_0x4599e2(0x3cd9),_0x4599e2(0x99a5),_0x4599e2(0x12b78),_0x4599e2(0x2540),_0x4599e2(0xc97d),_0x4599e2(0x80e8),_0x4599e2(0x17439),_0x4599e2(0x16e4e),_0x4599e2(0x114a2),_0x4599e2(0x1b5c),_0x4599e2(0x12a54),_0x4599e2(0xa1c8),_0x4599e2(0x15857)),_0x16dab3=(_0x4599e2(0x17cee),_0x4599e2(0x1797e),_0x4599e2(0x124cf),_0x4599e2(0x98fc),_0x4599e2(0x16aec),_0x4599e2(0x6c6d),_0x4599e2(0xa6c6),_0x4599e2(0xa82f),_0x4599e2(0x5204),_0x4599e2(0x116b6),_0x4599e2(0x16a99),_0x4599e2(0x1446b),_0x4599e2(0xbb85),_0x4599e2(0x14926),_0x4599e2(0x1388c),_0x4599e2(0xf9d6),_0x4599e2(0xf06),_0x4599e2(0xfc73),_0x4599e2(0x389d),_0x4599e2(0x4be6),_0x4599e2(0x43e9)),_0x3de744=_0x4599e2(0x6214);_0x2f8de7()({'locateFile':(_0x2df2fb,_0x5c93c7)=>_0x167447['Z']})[_0x302faa(0x23d)](_0x2c124e=>{var _0x454416=_0x302faa;globalThis[_0x454416(0x281)]=_0x2c124e;}),globalThis[_0x302faa(0x214)]=new class{constructor(){var _0x4dcaf5=_0x302faa;this[_0x4dcaf5(0x2c2)]=!0x1,this[_0x4dcaf5(0x213)]=!0x1,this[_0x4dcaf5(0x2bf)]=!0x1,this[_0x4dcaf5(0x2c8)]=0x40,this['modelMeshInstancesIndexArrayBuff']={},this['modelMeshInstancesIndexDataView']={},this[_0x4dcaf5(0x22a)]={},this['modelIdToUniqueId']={},this['indexDbInsertMaxNum']=0x12c,this[_0x4dcaf5(0x277)]=0x0,this[_0x4dcaf5(0x2d0)]={},this['modelMeshInfo']={},this[_0x4dcaf5(0x26d)]={},this['textureInfoCurrentAutoId']=0x1,this[_0x4dcaf5(0x1d9)]={},this['modelMaterialBindTexture']={},this[_0x4dcaf5(0x204)]={},this[_0x4dcaf5(0x261)]=_0x4dcaf5(0x2ca),this[_0x4dcaf5(0x2b2)]={},this[_0x4dcaf5(0x1af)]={},this[_0x4dcaf5(0x206)]={},this[_0x4dcaf5(0x1da)]={},this[_0x4dcaf5(0x258)]={},this[_0x4dcaf5(0x2be)]={},this[_0x4dcaf5(0x1cc)]={},this[_0x4dcaf5(0x28b)]=0x0,this[_0x4dcaf5(0x1f4)]=0x0,this[_0x4dcaf5(0x2de)]={},this[_0x4dcaf5(0x273)]={'transform':0x1,'status':0x2,'material':0x3},this['operatingTypeModelComponent']={0x1:{},0x2:{},0x3:{}},this[_0x4dcaf5(0x278)]={},this[_0x4dcaf5(0x2bd)]=0x0,this[_0x4dcaf5(0x2d9)]=0x0,this[_0x4dcaf5(0x1d5)]=0x0,this['editModelMaterial']={},this[_0x4dcaf5(0x200)]=!0x1,this['loadingMaterial']=!0x1,this[_0x4dcaf5(0x290)]=!0x1,this[_0x4dcaf5(0x1ac)]=[0x0,0x0,0x0,0x0,0x0,0x0],_0x488370['Z2'][_0x4dcaf5(0x293)](!0x0),this[_0x4dcaf5(0x226)]=new SharedArrayBuffer(0x1000000),this['allowRenderInstancesDataView']=new Int32Array(this['allowRenderInstancesArrayBuffer']),this['modelMeshInstancesArrayBuff']=new SharedArrayBuffer(0x3d0900*_0x320f13['uY']+0x4),this[_0x4dcaf5(0x254)]=new Float32Array(this[_0x4dcaf5(0x287)]),this[_0x4dcaf5(0x28c)]=new SharedArrayBuffer(0xa00000),this[_0x4dcaf5(0x24e)]=new Int32Array(this[_0x4dcaf5(0x28c)]);for(let _0x9a99ee=this['idleMemoryInstancesDataView'][0x0]=0x1;_0x9a99ee_0x3de744[_0x4dcaf5(0x1b3)](_0x4dcaf5(0x1dd),_0xbfb32c),_0x322446[_0x4dcaf5(0x2cd)]=_0x27a15f=>{var _0x157693=_0x4dcaf5;_0x27a15f[_0x157693(0x268)][_0x157693(0x227)][_0x157693(0x238)][_0x157693(0x2d1)](_0x157693(0x255))||_0x27a15f[_0x157693(0x268)]['result']['createObjectStore'](_0x157693(0x255),{'autoIncrement':!0x1,'keyPath':'id'});},_0x322446[_0x4dcaf5(0x201)]=_0x19beda=>{var _0x4aed42=_0x4dcaf5;this[_0x4aed42(0x2d0)][this['indexDbName_Common']]=_0x19beda['target']['result'];let _0x1b6951=_0x19beda['target'][_0x4aed42(0x227)],_0x3b225f=_0x1b6951[_0x4aed42(0x265)](['texture'],_0x4aed42(0x1cd))[_0x4aed42(0x1fe)]('texture'),_0x221666=_0x3b225f[_0x4aed42(0x24b)]();_0x221666['onsuccess']=_0x473e70=>{var _0x11fa1e=_0x4aed42,_0x3e67e3;for(_0x3e67e3 of _0x473e70['target']['result'])this[_0x11fa1e(0x26d)][_0x3e67e3]={'origin':0x1,'loadStatus':0x0};this[_0x11fa1e(0x2bf)]=!0x0,this['LastInit']();};},_0x4a489a()[_0x4dcaf5(0x1dc)](_0x4dcaf5(0x1fd),{'responseType':'json'})[_0x4dcaf5(0x23d)](_0x25efe1=>{var _0x586156=_0x4dcaf5;this[_0x586156(0x219)]=_0x25efe1[_0x586156(0x2d7)];for(var _0x19e3da of _0x25efe1[_0x586156(0x2d7)])this['textureInfo']['hasOwnProperty'](_0x19e3da['id'])||(this[_0x586156(0x26d)][_0x19e3da['id']]={'origin':0x3,'loadStatus':0x0,'id':_0x19e3da['id'],'width':_0x19e3da['width'],'height':_0x19e3da[_0x586156(0x22c)],'name':_0x19e3da['name'],'oneMeter':_0x19e3da[_0x586156(0x241)],'previewPath':_0x19e3da[_0x586156(0x2e0)],'albedoPath':_0x19e3da[_0x586156(0x1f0)]['substring'](0x0,_0x19e3da[_0x586156(0x1f0)][_0x586156(0x1c2)]('.'))+_0x586156(0x246),'ormPath':_0x19e3da[_0x586156(0x2df)][_0x586156(0x243)](0x0,_0x19e3da['orm']['lastIndexOf']('.'))+_0x586156(0x246),'ndPath':_0x19e3da['nd'][_0x586156(0x243)](0x0,_0x19e3da['nd'][_0x586156(0x1c2)]('.'))+_0x586156(0x246)});this['initTextureServerEd']=!0x0,this[_0x586156(0x2d4)]();},_0xc2a02f=>{var _0x2135b4=_0x4dcaf5;_0x3de744[_0x2135b4(0x1d0)](_0xc2a02f);}),this[_0x4dcaf5(0x28d)]=new Worker(new URL(_0x4599e2['p']+_0x4599e2['u'](0x371),_0x4599e2['b'])),this[_0x4dcaf5(0x28d)]['onmessage']=_0x1b48d5=>{var _0xc920ee=_0x4dcaf5;switch(_0x1b48d5[_0xc920ee(0x2d7)][_0xc920ee(0x1a0)]){case'Initialized':break;case _0xc920ee(0x285):this[_0xc920ee(0x285)](_0x1b48d5[_0xc920ee(0x2d7)][_0xc920ee(0x21b)]);break;case _0xc920ee(0x2c6):globalThis[_0xc920ee(0x289)](_0x1b48d5[_0xc920ee(0x2d7)]);}},globalThis['addEventListener']('message',_0x193985=>{var _0x582414=_0x4dcaf5;switch(_0x193985[_0x582414(0x2d7)]['msgType']){case _0x582414(0x283):this[_0x582414(0x230)]=_0x193985[_0x582414(0x2d7)][_0x582414(0x230)],this['getMeshUrl']=_0x193985[_0x582414(0x2d7)]['serverAddress']+'getMesh',this[_0x582414(0x2b4)]=_0x193985[_0x582414(0x2d7)][_0x582414(0x230)]+'getMaterial',this[_0x582414(0x1ea)]=_0x193985['data'][_0x582414(0x230)]+_0x582414(0x1ea),this[_0x582414(0x1b2)]=_0x193985[_0x582414(0x2d7)]['serverAddress']+'getModelList',this[_0x582414(0x1ef)]=new _0x422b47['p'](_0x193985[_0x582414(0x2d7)][_0x582414(0x1ef)]['dataStoreObject'],_0x193985[_0x582414(0x2d7)][_0x582414(0x1ef)][_0x582414(0x296)]),this[_0x582414(0x2e2)]=_0x193985[_0x582414(0x2d7)][_0x582414(0x2e2)],this['renderUpdateTempDataView']=new Float32Array(this[_0x582414(0x2e2)]),this[_0x582414(0x1c4)]=_0x193985[_0x582414(0x2d7)][_0x582414(0x1c4)],this[_0x582414(0x282)]=new Uint32Array(this[_0x582414(0x1c4)]),this[_0x582414(0x1a1)]=new SharedArrayBuffer(0x18*this[_0x582414(0x1ef)][_0x582414(0x2a0)]),this[_0x582414(0x1a9)]=new Int32Array(this[_0x582414(0x1a1)]),this[_0x582414(0x2aa)]=new SharedArrayBuffer(0x18*this[_0x582414(0x1ef)]['maxRenderTriangleCount']),this[_0x582414(0x286)]=new Int32Array(this[_0x582414(0x2aa)]),this[_0x582414(0x2d9)]=0x3*Math[_0x582414(0x26e)](0.08*this[_0x582414(0x1ef)][_0x582414(0x2a0)]/0x3),this[_0x582414(0x2bd)]=this[_0x582414(0x1ef)][_0x582414(0x2a0)]-this[_0x582414(0x2d9)],this[_0x582414(0x1d5)]=0x6*this[_0x582414(0x2bd)],this[_0x582414(0x282)][0x0]=0x0,this[_0x582414(0x282)][0x1]=this[_0x582414(0x1d5)],this[_0x582414(0x2c4)]=this[_0x582414(0x1ef)][_0x582414(0x2c4)],this[_0x582414(0x1e6)]=this['maxTextureSize']/this['idleTextureMinUnit'],this[_0x582414(0x1e8)]=new SharedArrayBuffer(this['gridTextureSize']*this[_0x582414(0x1e6)]*0x4),this[_0x582414(0x223)]=new Int32Array(this[_0x582414(0x1e8)]);for(let _0x334954=0x0;_0x334954{var _0x300fa1=_0x889c26;let _0x38bf37=new globalThis['SQLEngine'][(_0x300fa1(0x1f1))](new Uint8Array(_0x237eca[_0x300fa1(0x2d7)]),!0x0),_0x2c4539=[];_0x38bf37['each']('select\x20*\x20from\x20model',void 0x0,_0x50edfc=>{var _0x420cdc=_0x300fa1;_0x2c4539[_0x420cdc(0x20e)](_0x50edfc);}),this[_0x300fa1(0x294)]=new _0x16dab3['T'](_0x2c4539[_0x300fa1(0x208)],null);for(var _0x56559d of _0x2c4539)this['uniqueIdToModelId'][_0x56559d[_0x300fa1(0x269)]]=_0x56559d['id'],this[_0x300fa1(0x235)][_0x56559d['id']]=_0x56559d[_0x300fa1(0x269)],this['modelMaterialInfo'][_0x56559d['id']]={},this[_0x300fa1(0x294)][_0x300fa1(0x2d5)](_0x56559d),this[_0x300fa1(0x276)][_0x56559d['id']]=new SharedArrayBuffer(0x4*(_0x56559d['meshInstancesCount']+0x1)),this[_0x300fa1(0x1e7)][_0x56559d['id']]=new Uint32Array(this[_0x300fa1(0x276)][_0x56559d['id']]);this[_0x300fa1(0x28d)]['postMessage']({'msgType':_0x300fa1(0x283),'sharedData':{'dataStoreArrayBuffer':this['sharedData']['dataStoreArrayBuffer'],'dataStoreObject':this[_0x300fa1(0x1ef)][_0x300fa1(0x2a3)]},'allowRenderInstancesArrayBuffer':this[_0x300fa1(0x226)],'modelMeshInstancesArrayBuff':this[_0x300fa1(0x287)],'modelMeshInstancesIndexArrayBuff':this[_0x300fa1(0x276)],'renderMemoryIdBuffer':this['renderMemoryIdBuffer'],'modelList':_0x2c4539,'serverAddress':this[_0x300fa1(0x230)],'transparentMaxRenderTriangleFace':this[_0x300fa1(0x2d9)],'opaqueMaxRenderTriangleFace':this[_0x300fa1(0x2bd)],'modelArrayBuff':this[_0x300fa1(0x294)][_0x300fa1(0x2ab)],'modelIndexOffsetStart':this[_0x300fa1(0x294)][_0x300fa1(0x202)]}),this[_0x300fa1(0x2c2)]=!0x0,this['LastInit']();}):setTimeout(()=>{var _0x4d2474=_0x889c26;this[_0x4d2474(0x2dc)]();},0xa);}[_0x302faa(0x2d4)](){var _0x122e2a=_0x302faa;this[_0x122e2a(0x2bf)]&&this[_0x122e2a(0x213)]&&this[_0x122e2a(0x2c2)]&&(globalThis[_0x122e2a(0x289)]({'msgType':'Initialized','renderIndexBuffer':this['renderIndexBuffer'],'modifyMemoryMixBuffer':this[_0x122e2a(0x29a)],'modifyMemoryTextureBuffer':this[_0x122e2a(0x260)],'modifyMemoryPositionBuffer':this[_0x122e2a(0x1e2)],'modifyMemoryInstancesBuffer':this['modifyMemoryInstancesBuffer'],'modifyMemoryRenderIndexBuffer':this[_0x122e2a(0x211)],'modelMeshInstancesArrayBuff':this[_0x122e2a(0x287)],'modelMeshInstancesIndexArrayBuff':this[_0x122e2a(0x276)],'modelArrayBuff':this[_0x122e2a(0x294)][_0x122e2a(0x2ab)],'modelIndexOffsetStart':this[_0x122e2a(0x294)][_0x122e2a(0x202)]}),this[_0x122e2a(0x1ca)]());}[_0x302faa(0x1ca)](){var _0x569ecf=_0x302faa;globalThis[_0x569ecf(0x214)][_0x569ecf(0x1c6)](),setTimeout(globalThis[_0x569ecf(0x214)][_0x569ecf(0x1ca)],0x1);}[_0x302faa(0x285)](_0x3024a7){var _0x213586=_0x302faa;_0x3024a7=~~_0x3024a7,this['modelMeshInfo'][_0x3024a7]={};var _0x1f7ba5=this['renderMemoryIdDataView'][0x2],_0x14d397=this['renderMemoryIdDataView'][0x2]+=0x14,_0x564da0=this[_0x213586(0x282)][0x7],_0x2cb13f=this[_0x213586(0x282)][0x7]+=0x14;let _0xf62fce=Array[_0x213586(0x1d7)](this['modelData'][_0x213586(0x257)](_0x3024a7));var _0x56dcd6=this[_0x213586(0x1ef)][_0x213586(0x1ac)];if(_0xf62fce[0xc]-=_0x56dcd6[0x6],_0xf62fce[0xd]-=_0x56dcd6[0x7],_0xf62fce[0xe]-=_0x56dcd6[0x8],this['renderUpdateTempDataView'][_0x213586(0x24c)](_0xf62fce,_0x564da0),this[_0x213586(0x274)][_0x213586(0x24c)]([this[_0x213586(0x294)][_0x213586(0x26f)](_0x3024a7)[0x0],_0x3024a7,0x0,0x0],_0x564da0+0x10),this[_0x213586(0x237)][_0x213586(0x24c)]([_0x564da0,_0x2cb13f,_0x1f7ba5,_0x14d397],this[_0x213586(0x237)][0x0]),this[_0x213586(0x237)][0x0]+=0x4,this[_0x213586(0x294)]['dataOffsetStart'](_0x3024a7)[0x0]=_0x1f7ba5,0x1===this[_0x213586(0x1ef)][_0x213586(0x28e)]){let _0x5db6ed=indexedDB[_0x213586(0x240)](this['modelIdToUniqueId'][_0x3024a7]);_0x5db6ed[_0x213586(0x1ba)]=_0x3e96c6=>_0x3de744[_0x213586(0x1b3)]('数据库:打开失败',_0x3e96c6),_0x5db6ed[_0x213586(0x201)]=_0x5bf952=>{var _0x1f4674=_0x213586;this['modelId_indexDb'][_0x3024a7]=_0x5bf952['target'][_0x1f4674(0x227)];let _0x2dbcc5=_0x5bf952[_0x1f4674(0x268)]['result'][_0x1f4674(0x265)](['mesh'],_0x1f4674(0x1cd)),_0x1fc9ec=_0x2dbcc5[_0x1f4674(0x1fe)]('mesh'),_0x4494fd=_0x1fc9ec['getAllKeys']();_0x4494fd[_0x1f4674(0x201)]=_0x4317d0=>{var _0x2d5074=_0x1f4674,_0x1f6d64;for(_0x1f6d64 of _0x4317d0[_0x2d5074(0x268)][_0x2d5074(0x227)])this[_0x2d5074(0x1d8)][_0x3024a7]['hasOwnProperty'](_0x1f6d64)||(this[_0x2d5074(0x1d8)][_0x3024a7][_0x1f6d64]={'indexDbCache':!0x0,'videoMemoryPositionCount':0x0,'loadStatus':0x0}),this['modelMeshInfo'][_0x3024a7][_0x1f6d64][_0x2d5074(0x299)]=!0x0;};};}}[_0x302faa(0x1c6)](){var _0x2a4fb=_0x302faa;if(0x0!==Object['keys'](this[_0x2a4fb(0x2a9)])[_0x2a4fb(0x208)]&&this[_0x2a4fb(0x23a)](),!(!0x0===this['allRenderEd']&&0x1===this[_0x2a4fb(0x282)][0xa]&&0x1===this[_0x2a4fb(0x282)][0x6]||(this[_0x2a4fb(0x290)]=!0x1,0x0===this[_0x2a4fb(0x20d)][0x1]||this[_0x2a4fb(0x282)][0x5]||this[_0x2a4fb(0x200)]||this[_0x2a4fb(0x21a)]||0x0!==this[_0x2a4fb(0x20d)][0x0]))){var _0x806822=this[_0x2a4fb(0x1ef)][_0x2a4fb(0x1ac)];if(this[_0x2a4fb(0x1ac)][0x0]!==_0x806822[0x0]||this[_0x2a4fb(0x1ac)][0x1]!==_0x806822[0x1]||this[_0x2a4fb(0x1ac)][0x2]!==_0x806822[0x2]||this[_0x2a4fb(0x1ac)][0x3]!==_0x806822[0x3]||this[_0x2a4fb(0x1ac)][0x4]!==_0x806822[0x4]||this[_0x2a4fb(0x1ac)][0x5]!==_0x806822[0x5])for(var _0x2ff0bc in(this[_0x2a4fb(0x1ac)][0x0]=_0x806822[0x0],this[_0x2a4fb(0x1ac)][0x1]=_0x806822[0x1],this['visibleModelBox'][0x2]=_0x806822[0x2],this[_0x2a4fb(0x1ac)][0x3]=_0x806822[0x3],this[_0x2a4fb(0x1ac)][0x4]=_0x806822[0x4],this[_0x2a4fb(0x1ac)][0x5]=_0x806822[0x5],this[_0x2a4fb(0x294)]['modelIndexOffsetStart'])){var _0x2ff0bc=~~_0x2ff0bc,_0x4cd448=this[_0x2a4fb(0x294)][_0x2a4fb(0x2a2)](_0x2ff0bc)[0x0];if(-0x1!==_0x4cd448){let _0x5f4648=Array[_0x2a4fb(0x1d7)](this[_0x2a4fb(0x294)][_0x2a4fb(0x257)](_0x2ff0bc));_0x5f4648[0xc]-=_0x806822[0x6],_0x5f4648[0xd]-=_0x806822[0x7],_0x5f4648[0xe]-=_0x806822[0x8],_0x2ff0bc=this[_0x2a4fb(0x282)][0x7],(this[_0x2a4fb(0x282)][0x7]+=0x10,this[_0x2a4fb(0x274)][_0x2a4fb(0x24c)](_0x5f4648,_0x2ff0bc),this[_0x2a4fb(0x237)][_0x2a4fb(0x24c)]([_0x2ff0bc,this[_0x2a4fb(0x282)][0x7],_0x4cd448,_0x4cd448+0x10],this['modifyMemoryMixDataView'][0x0]),this[_0x2a4fb(0x237)][0x0]+=0x4);}}var _0x2eb0b3=this[_0x2a4fb(0x1ef)][_0x2a4fb(0x1e0)];let _0x2f5c89=!0x1,_0x3f8c86=0x0,_0x5b71b6=0x4;for(;_0x5b71b6_0x36e837){this[_0x1980f4(0x282)][0x1]=this['opaqueMaxRenderIndex'];break;}}else{if(this[_0x1980f4(0x282)][0x0]>_0x55a5c3){this[_0x1980f4(0x282)][0x0]=0x0;break;}}var _0x40662f=0x1===_0x3e19c6?this[_0x1980f4(0x282)][0x1]:this[_0x1980f4(0x282)][0x0],_0x5510d4=this['renderIndexModelIdAndInstancesIdDataView'][_0x40662f],_0x1bc4cd=this[_0x1980f4(0x286)][_0x40662f+0x1];if(0x0!==_0x5510d4){var _0x4c1d7d=this[_0x1980f4(0x1e7)][_0x5510d4][_0x1bc4cd];if(_0x5510d4===this[_0x1980f4(0x254)][_0x4c1d7d]&&this[_0x1980f4(0x254)][_0x4c1d7d+0x1],this[_0x1980f4(0x254)][_0x4c1d7d+0x1e]===this[_0x1980f4(0x20d)][0x1]&&(_0x2303a2!==_0x1bc4cd||_0x5240c2!==_0x5510d4)){-0x2!==_0x44273a&&((0x0,_0x320f13['mI'])(this[_0x1980f4(0x1b6)],_0x44273a,_0x5cd8fb),_0x5cd8fb=-0x2,_0x44273a=-0x2),0x1===_0x3e19c6?this[_0x1980f4(0x282)][0x1]+=0x2:this[_0x1980f4(0x282)][0x0]+=0x2;continue;}var _0x235185=this[_0x1980f4(0x254)][_0x4c1d7d+0x16];this[_0x1980f4(0x254)][_0x4c1d7d+0x1c]--,this[_0x1980f4(0x254)][_0x4c1d7d+0x1d]=0x0,this[_0x1980f4(0x1d8)][_0x5510d4][_0x235185][_0x1980f4(0x256)]--,this[_0x1980f4(0x254)][_0x4c1d7d+0x1c]<0x0&&_0x3de744[_0x1980f4(0x1b3)]('小于0了'),this[_0x1980f4(0x1c7)](_0x4c1d7d);}0x0!==_0x5510d4&&(_0x235185=this[_0x1980f4(0x1e7)][_0x5510d4][_0x1bc4cd],this['modelMeshInstancesDataView'][_0x235185+0x1d]),0x1===_0x3e19c6?this[_0x1980f4(0x282)][0x1]+=0x2:this['renderMemoryIdDataView'][0x0]+=0x2,this[_0x1980f4(0x1a9)][_0x40662f]=(_0x17d2d0[_0x1980f4(0x1a6)]+_0x1f8b32)/0x4,this['renderIndexDataView'][_0x40662f+0x1]=_0x658d2a,this[_0x1980f4(0x286)][_0x40662f]=_0x5240c2,this[_0x1980f4(0x286)][_0x40662f+0x1]=_0x2303a2,_0x1f8b32+=0x4,_0x3f5e4c++,this[_0x1980f4(0x254)][_0x1abcd7+0x1c]++,this[_0x1980f4(0x1d8)][_0x5240c2][_0x31ce7a]['videoMemoryPositionCount']++,-0x2===_0x44273a&&(_0x44273a=_0x40662f),_0x5cd8fb=_0x40662f+0x2;}-0x2!==_0x44273a&&(0x0,_0x320f13['mI'])(this[_0x1980f4(0x1b6)],_0x44273a,_0x5cd8fb),_0x41d778===_0x3f5e4c&&(this[_0x1980f4(0x254)][_0x1abcd7+0x1d]=0x1);}['AddMaterial'](_0x315430,_0x9d8cdc){var _0x5d85d2=_0x302faa;let _0xc130cb=-0x1,_0x14450d=-0x1;for(let _0x497a50=0x1;_0x497a50{var _0x1b2b23=_0x3d936f;let _0xc553a4={},_0x411e28=new globalThis[(_0x1b2b23(0x281))][(_0x1b2b23(0x1f1))](new Uint8Array(_0xdbd79a[_0x1b2b23(0x2d7)]),!0x0);_0x411e28[_0x1b2b23(0x1d6)](_0x1b2b23(0x20c),void 0x0,_0x2cc2d0=>{var _0x2606ae=_0x1b2b23;_0x2cc2d0[_0x2606ae(0x22e)]=new Float32Array(_0x2cc2d0[_0x2606ae(0x22e)]['buffer']);let _0x3dd46a=this[_0x2606ae(0x1f5)](_0x2cc2d0['indexBufferType']);_0x2cc2d0[_0x2606ae(0x27f)]=new _0x3dd46a(_0x2cc2d0['indexBuffer'][_0x2606ae(0x228)]);var _0x2ca59d=_0x2cc2d0['modelId'],_0xa4da9f=(delete _0x2cc2d0[_0x2606ae(0x21b)],_0x2ca59d);if(this[_0x2606ae(0x1d8)][_0xa4da9f][_0x2cc2d0['id']][_0x2606ae(0x22e)]=_0x2cc2d0[_0x2606ae(0x22e)],this[_0x2606ae(0x1d8)][_0xa4da9f][_0x2cc2d0['id']]['indexBuffer']=_0x2cc2d0[_0x2606ae(0x27f)],this[_0x2606ae(0x1d8)][_0xa4da9f][_0x2cc2d0['id']]['loadStatus']=0x3,delete _0x2cc2d0[_0x2606ae(0x239)],0x1===this[_0x2606ae(0x1ef)][_0x2606ae(0x28e)]&&this[_0x2606ae(0x277)]_0x3de744[_0x2606ae(0x1b3)](_0x2606ae(0x1b8),_0x2d1188),_0x1350c2[_0x2606ae(0x201)]=_0x4efc56=>{var _0x5ba72b=_0x2606ae;this['modelMeshInfo'][this[_0x5ba72b(0x22a)][_0x4efc56[_0x5ba72b(0x268)][_0x5ba72b(0x265)]['db'][_0x5ba72b(0x1bc)]]][_0x4efc56[_0x5ba72b(0x2af)][_0x5ba72b(0x227)]]['indexDbCache']=!0x0,this[_0x5ba72b(0x277)]--;};}}),this[_0x1b2b23(0x1af)]={},this[_0x1b2b23(0x200)]=!0x1;},_0x3ab21e=>{var _0x5ae7de=_0x3d936f;for(var _0x5379f2 in(_0x3de744[_0x5ae7de(0x1b3)](_0x3ab21e),this[_0x5ae7de(0x1af)]))for(var _0x4398c0 of this[_0x5ae7de(0x1af)][_0x5379f2])this[_0x5ae7de(0x1d8)][_0x5379f2][_0x4398c0][_0x5ae7de(0x22b)]=0x0;this[_0x5ae7de(0x1af)]={},this[_0x5ae7de(0x200)]=!0x1;}),0x0!==Object[_0x3d936f(0x298)](this[_0x3d936f(0x2b2)])[_0x3d936f(0x208)]){let _0x59bc4b={};for(let _0x344c20 in this['indexDb_modelId_meshIds_List']){_0x59bc4b[_0x3d936f(0x1ae)](_0x344c20)||(_0x59bc4b[_0x344c20]=this['modelId_indexDb'][_0x344c20][_0x3d936f(0x265)](_0x3d936f(0x2bb),_0x3d936f(0x1cd))[_0x3d936f(0x1fe)]('mesh'));for(let _0x295f07 in this[_0x3d936f(0x2b2)][_0x344c20]){let _0x3a91bb=_0x59bc4b[_0x344c20][_0x3d936f(0x1dc)](~~_0x295f07);_0x3a91bb['onerror']=_0x4bb596=>_0x3de744[_0x3d936f(0x1b3)](_0x3d936f(0x2ac)),_0x3a91bb[_0x3d936f(0x201)]=_0x22f032=>{var _0x584a65=_0x3d936f;const _0x476da4=_0x22f032['target'][_0x584a65(0x227)];_0x476da4&&_0x476da4['hasOwnProperty'](_0x584a65(0x27f))&&(this[_0x584a65(0x1d8)][_0x344c20][_0x295f07][_0x584a65(0x22e)]=_0x476da4['vertexPositionBuffer'],this[_0x584a65(0x1d8)][_0x344c20][_0x295f07][_0x584a65(0x27f)]=_0x476da4[_0x584a65(0x27f)]),this[_0x584a65(0x1d8)][_0x344c20][_0x295f07][_0x584a65(0x22b)]=0x3,this[_0x584a65(0x2b2)][_0x344c20]&&(delete this[_0x584a65(0x2b2)][_0x344c20][_0x295f07],0x0===Object[_0x584a65(0x298)](this[_0x584a65(0x2b2)][_0x344c20])['length']&&(delete this[_0x584a65(0x2b2)][_0x344c20],this[_0x584a65(0x200)]=!0x1));};}}}}['RequestMaterial'](){var _0x22d626=_0x302faa;0x0!==Object[_0x22d626(0x298)](this[_0x22d626(0x1da)])['length']&&_0x4a489a()[_0x22d626(0x1b0)](this['getMaterial'],{'ids':this[_0x22d626(0x1da)]},{'responseType':_0x22d626(0x2b3)})['then'](_0x56f2cc=>{var _0x12e90e=_0x22d626;let _0x148f60=new globalThis[(_0x12e90e(0x281))][(_0x12e90e(0x1f1))](new Uint8Array(_0x56f2cc['data']),!0x0);_0x148f60[_0x12e90e(0x1d6)]('select\x20*\x20from\x20material',void 0x0,_0x33e807=>{var _0x13f660=_0x12e90e,_0x42bef7=_0x33e807['modelId'];delete _0x33e807[_0x13f660(0x21b)],_0x33e807[_0x13f660(0x1eb)]||(_0x33e807[_0x13f660(0x247)]=0.2,_0x33e807['green']=0.2,_0x33e807['blue']=0.2,_0x33e807[_0x13f660(0x1f2)]=0x1),this['modelMaterialInfo'][_0x42bef7]['hasOwnProperty'](_0x33e807['id'])||(this[_0x13f660(0x204)][_0x42bef7][_0x33e807['id']]={'renderInstancesCount':0x0,'loadStatus':0x0}),this['modelMaterialInfo'][_0x42bef7][_0x33e807['id']][_0x13f660(0x220)]=[_0x33e807[_0x13f660(0x247)],_0x33e807[_0x13f660(0x26c)],_0x33e807[_0x13f660(0x2d6)],_0x33e807[_0x13f660(0x1f2)]],this[_0x13f660(0x204)][_0x42bef7][_0x33e807['id']][_0x13f660(0x1b7)]=_0x33e807[_0x13f660(0x1b7)],this[_0x13f660(0x204)][_0x42bef7][_0x33e807['id']][_0x13f660(0x1bc)]=_0x33e807[_0x13f660(0x1bc)],this[_0x13f660(0x204)][_0x42bef7][_0x33e807['id']][_0x13f660(0x22b)]=0x3;}),this[_0x12e90e(0x1da)]={},this['loadingMaterial']=!0x1;},_0x4811e1=>{var _0x5b0c94=_0x22d626;for(var _0x1ba7a4 in(_0x3de744[_0x5b0c94(0x1b3)](_0x4811e1),this[_0x5b0c94(0x1da)]))for(var _0x3d6399 of this[_0x5b0c94(0x1da)][_0x1ba7a4])this['modelMaterialInfo'][_0x1ba7a4][_0x3d6399][_0x5b0c94(0x22b)]=0x0;this['server_modelId_materialIds_List']={},this[_0x5b0c94(0x21a)]=!0x1;});}[_0x302faa(0x1c5)](){var _0x3ac139=_0x302faa;if(0x0!==Object[_0x3ac139(0x298)](this[_0x3ac139(0x2be)])['length']){let _0x253131=this[_0x3ac139(0x2be)];this['server_modelId_texture_List']={},_0x4a489a()[_0x3ac139(0x1b0)](this[_0x3ac139(0x1ea)],{'ids':_0x253131},{'responseType':_0x3ac139(0x2b3)})[_0x3ac139(0x23d)](_0x16e5e1=>{var _0x2a914a=_0x3ac139;let _0x451275=this[_0x2a914a(0x2d0)][this[_0x2a914a(0x261)]][_0x2a914a(0x265)](_0x2a914a(0x255),_0x2a914a(0x1a4))[_0x2a914a(0x1fe)](_0x2a914a(0x255)),_0x3aa2d3=new globalThis[(_0x2a914a(0x281))][(_0x2a914a(0x1f1))](new Uint8Array(_0x16e5e1[_0x2a914a(0x2d7)]),!0x0);_0x3aa2d3[_0x2a914a(0x1d6)](_0x2a914a(0x23f),void 0x0,_0x1b34b6=>{var _0x3b433d=_0x2a914a;let _0x32786a=_0x451275['add'](_0x1b34b6);_0x32786a[_0x3b433d(0x201)]=_0x463a8c=>{var _0xd96f4e=_0x3b433d;this[_0xd96f4e(0x26d)][_0x463a8c[_0xd96f4e(0x2af)][_0xd96f4e(0x227)]][_0xd96f4e(0x280)]=0x1;},(this[_0x3b433d(0x26d)][_0x1b34b6['id']]=_0x1b34b6)['base']&&(this['textureInfo'][_0x1b34b6['id']][_0x3b433d(0x1f0)]=_0x1b34b6[_0x3b433d(0x1e5)],delete _0x1b34b6[_0x3b433d(0x1e5)]),_0x1b34b6['normal']&&(this[_0x3b433d(0x26d)][_0x1b34b6['id']]['nd']=_0x1b34b6[_0x3b433d(0x20f)],delete _0x1b34b6[_0x3b433d(0x20f)]),this[_0x3b433d(0x26d)][_0x1b34b6['id']]['loadStatus']=0x3,this['textureInfo'][_0x1b34b6['id']][_0x3b433d(0x29c)]=0x0,this['textureInfo'][_0x1b34b6['id']][_0x3b433d(0x2ad)]=this[_0x3b433d(0x21f)],this['textureInfoAutoId'][this[_0x3b433d(0x21f)]]=_0x1b34b6['id'],++this[_0x3b433d(0x21f)];});},_0x286928=>{var _0x5a66fc=_0x3ac139;for(var _0x5113d6 in(_0x3de744[_0x5a66fc(0x1b3)](_0x286928),_0x253131))for(var _0x40bb6e of _0x253131[_0x5113d6])this[_0x5a66fc(0x26d)][_0x40bb6e]['loadStatus']=0x0;});}if(0x0!==Object[_0x3ac139(0x298)](this['indexDb_texture_List'])[_0x3ac139(0x208)]){let _0xd41e0c=this[_0x3ac139(0x2d0)][this[_0x3ac139(0x261)]][_0x3ac139(0x265)](_0x3ac139(0x255),'readonly')[_0x3ac139(0x1fe)](_0x3ac139(0x255));for(var _0x3f6a36 in this[_0x3ac139(0x258)]){let _0x526553=_0xd41e0c['get'](_0x3f6a36);_0x526553[_0x3ac139(0x1ba)]=_0x2dc982=>_0x3de744[_0x3ac139(0x1b3)]('数据库:texture读取失败',_0x2dc982),_0x526553['onsuccess']=_0x4a6b81=>{var _0x11a6fb=_0x3ac139;_0x4a6b81=_0x4a6b81[_0x11a6fb(0x268)]['result'],(this['textureInfo'][_0x4a6b81['id']]=_0x4a6b81,this['textureInfo'][_0x4a6b81['id']]['origin']=0x1,this['textureInfo'][_0x4a6b81['id']]['loadStatus']=0x3,this['textureInfo'][_0x4a6b81['id']][_0x11a6fb(0x29c)]=0x0,this[_0x11a6fb(0x26d)][_0x4a6b81['id']][_0x11a6fb(0x2ad)]=this[_0x11a6fb(0x21f)],this[_0x11a6fb(0x1d9)][this['textureInfoCurrentAutoId']]=_0x4a6b81['id'],++this[_0x11a6fb(0x21f)]);};}this[_0x3ac139(0x258)]={};}if(0x0!==Object[_0x3ac139(0x298)](this[_0x3ac139(0x1cc)])['length']){for(let _0x4574a2 in this['static_texture_List'])delete this[_0x3ac139(0x1cc)][_0x4574a2],Promise[_0x3ac139(0x252)]([_0x4a489a()[_0x3ac139(0x1dc)]('./Assets/Textures/PBRRepo/'+this[_0x3ac139(0x26d)][_0x4574a2][_0x3ac139(0x2ae)],{'responseType':_0x3ac139(0x2b3)}),_0x4a489a()[_0x3ac139(0x1dc)](_0x3ac139(0x2d2)+this['textureInfo'][_0x4574a2][_0x3ac139(0x216)],{'responseType':_0x3ac139(0x2b3)}),_0x4a489a()[_0x3ac139(0x1dc)](_0x3ac139(0x2d2)+this[_0x3ac139(0x26d)][_0x4574a2][_0x3ac139(0x23c)],{'responseType':_0x3ac139(0x2b3)})])[_0x3ac139(0x23d)](_0x108b5f=>{var _0x3ad89b=_0x3ac139;this[_0x3ad89b(0x26d)][_0x4574a2][_0x3ad89b(0x22b)]=0x3,this[_0x3ad89b(0x26d)][_0x4574a2]['renderMaterialCount']=0x0,this[_0x3ad89b(0x26d)][_0x4574a2][_0x3ad89b(0x2ad)]=this[_0x3ad89b(0x21f)],this[_0x3ad89b(0x26d)][_0x4574a2][_0x3ad89b(0x1f0)]=new Uint8Array(_0x108b5f[0x0][_0x3ad89b(0x2d7)]),this['textureInfo'][_0x4574a2]['orm']=new Uint8Array(_0x108b5f[0x1]['data']),this[_0x3ad89b(0x26d)][_0x4574a2]['nd']=new Uint8Array(_0x108b5f[0x2]['data']),this[_0x3ad89b(0x1d9)][this[_0x3ad89b(0x21f)]]=_0x4574a2,++this['textureInfoCurrentAutoId'];let _0x5f4ef8=this[_0x3ad89b(0x2d0)][this[_0x3ad89b(0x261)]][_0x3ad89b(0x265)]('texture',_0x3ad89b(0x1a4))[_0x3ad89b(0x1fe)]('texture'),_0x30a6dc=_0x5f4ef8[_0x3ad89b(0x27b)](this[_0x3ad89b(0x26d)][_0x4574a2]);_0x30a6dc[_0x3ad89b(0x201)]=_0xa5e700=>{var _0x1953ce=_0x3ad89b;this[_0x1953ce(0x26d)][_0xa5e700[_0x1953ce(0x2af)][_0x1953ce(0x227)]][_0x1953ce(0x280)]=0x1;};})['catch'](_0x353dd5=>{var _0x114e7a=_0x3ac139;_0x3de744[_0x114e7a(0x1b3)](_0x353dd5),this[_0x114e7a(0x26d)][_0x4574a2][_0x114e7a(0x22b)]=0x0;});}}[_0x302faa(0x236)](){var _0x3fa46b=_0x302faa;if(0x7d0===this[_0x3fa46b(0x1f4)]){for(var _0x46fc09 in(this[_0x3fa46b(0x1f4)]=0x0,this[_0x3fa46b(0x1d8)]))for(var _0x5aa150 in this[_0x3fa46b(0x1d8)][_0x46fc09])delete this[_0x3fa46b(0x1d8)][_0x46fc09][_0x5aa150][_0x3fa46b(0x22e)],delete this[_0x3fa46b(0x1d8)][_0x46fc09][_0x5aa150][_0x3fa46b(0x27f)];}else this[_0x3fa46b(0x1f4)]++;}[_0x302faa(0x1aa)](_0x457223,_0x131a87){var _0x3d21de=_0x302faa;if(this['modelData'][_0x3d21de(0x234)](_0x457223)){for(;this['renderMemoryIdDataView'][0x5];);var _0x465e0c,_0x418f60=this[_0x3d21de(0x294)][_0x3d21de(0x2a2)](_0x457223)[0x0];-0x1!==_0x418f60&&(_0x465e0c=this[_0x3d21de(0x282)][0x7],this[_0x3d21de(0x282)][0x7]+=0x4,this[_0x3d21de(0x274)][_0x3d21de(0x24c)]([_0x131a87,_0x457223,0x0,0x0],_0x465e0c),this['modifyMemoryMixDataView'][_0x3d21de(0x24c)]([_0x465e0c,this[_0x3d21de(0x282)][0x7],_0x418f60+0x10,_0x418f60+0x14],this[_0x3d21de(0x237)][0x0]),this[_0x3d21de(0x237)][0x0]+=0x4),this['modelData']['status'](_0x457223)[0x0]=_0x131a87,this[_0x3d21de(0x282)][0x5]=0x1;}}['SetModelTransform'](_0x321bba,_0x4de6c1){var _0x1153fa=_0x302faa;for(;this[_0x1153fa(0x282)][0x5];);var _0x4cb456;_0x4de6c1&&_0x4de6c1[_0x1153fa(0x228)]&&(_0x4de6c1=Array[_0x1153fa(0x1d7)](_0x4de6c1)),Array['isArray'](_0x4de6c1)&&0x10===_0x4de6c1[_0x1153fa(0x208)]&&(this[_0x1153fa(0x294)][_0x1153fa(0x257)](_0x321bba)['set'](_0x4de6c1),this['frustumVisibleWorker'][_0x1153fa(0x289)]({'msgType':_0x1153fa(0x263),'modelId':_0x321bba,'modelMatrix':_0x4de6c1}),-0x1!==(_0x321bba=this[_0x1153fa(0x294)][_0x1153fa(0x2a2)](_0x321bba)[0x0])&&(_0x4cb456=this['sharedData'][_0x1153fa(0x1ac)],_0x4de6c1[0xc]-=_0x4cb456[0x6],_0x4de6c1[0xd]-=_0x4cb456[0x7],_0x4de6c1[0xe]-=_0x4cb456[0x8],_0x4cb456=this[_0x1153fa(0x282)][0x7],this[_0x1153fa(0x282)][0x7]+=0x10,this[_0x1153fa(0x274)][_0x1153fa(0x24c)](_0x4de6c1,_0x4cb456),this[_0x1153fa(0x237)]['set']([_0x4cb456,this[_0x1153fa(0x282)][0x7],_0x321bba,_0x321bba+0x10],this[_0x1153fa(0x237)][0x0]),this[_0x1153fa(0x237)][0x0]+=0x4)),this[_0x1153fa(0x282)][0x5]=0x1;}[_0x302faa(0x2ba)](_0x8d7d35,_0x3aa898){var _0xffc870=_0x302faa;for(;this[_0xffc870(0x282)][0x5];);var _0x4f39d9=new Int32Array(_0x3aa898);for(let _0x4e28af=0x0;_0x4e28af<_0x4f39d9[_0xffc870(0x208)];_0x4e28af+=0x2){var _0x491021,_0x1b116d=_0x4f39d9[_0x4e28af],_0x2c0c1d=_0x4f39d9[_0x4e28af+0x1],_0x2c0c1d=this[_0xffc870(0x1e7)][_0x1b116d][_0x2c0c1d],_0x2c0c1d=this[_0xffc870(0x254)][_0xffc870(0x23b)](_0x2c0c1d,_0x2c0c1d+_0x320f13['uY']);0x0!==_0x2c0c1d[0x1c]&&(_0x491021=_0x2c0c1d[0x1b],_0x1b116d=this[_0xffc870(0x294)][_0xffc870(0x2a2)](_0x1b116d),this[_0xffc870(0x274)]['set']([_0x2c0c1d[0x1],0x0,_0x1b116d[0x0]/0x4,_0x8d7d35[_0xffc870(0x26f)]],this[_0xffc870(0x282)][0x7]),this[_0xffc870(0x1c9)]['set']([this[_0xffc870(0x282)][0x7],this[_0xffc870(0x282)][0x7]+0x4,_0x491021+0xc,_0x491021+0x10],this['modifyMemoryInstancesDataView'][0x0]),this[_0xffc870(0x282)][0x7]+=0x4,this[_0xffc870(0x1c9)][0x0]+=0x4);}this['renderMemoryIdDataView'][0x5]=0x1;}['SetInstancesTransform'](_0x184a7b,_0x34a5ca){var _0x5fe099=_0x302faa;for(;this[_0x5fe099(0x282)][0x5];);var _0x56329c=new Int32Array(_0x34a5ca);for(let _0x4ec888=0x0;_0x4ec888<_0x56329c[_0x5fe099(0x208)];_0x4ec888+=0x2){var _0x493d23=_0x56329c[_0x4ec888],_0x5ea267=_0x56329c[_0x4ec888+0x1],_0x493d23=this[_0x5fe099(0x1e7)][_0x493d23][_0x5ea267],_0x5ea267=this[_0x5fe099(0x254)][_0x5fe099(0x23b)](_0x493d23,_0x493d23+_0x320f13['uY']);if(0x0!==_0x5ea267[0x1c]){let _0x9f0c88=_0x587870['y3'][_0x5fe099(0x259)]([_0x5ea267[0x3],_0x5ea267[0x4],_0x5ea267[0x5],0x0,_0x5ea267[0x6],_0x5ea267[0x7],_0x5ea267[0x8],0x0,_0x5ea267[0x9],_0x5ea267[0xa],_0x5ea267[0xb],0x0,_0x5ea267[0xc],_0x5ea267[0xd],_0x5ea267[0xe],0x1]);_0x493d23=[(_0x9f0c88=_0x9f0c88[_0x5fe099(0x1c1)](_0x587870['y3']['FromArray'](_0x184a7b['transform'])))['m'][0x0],_0x9f0c88['m'][0x1],_0x9f0c88['m'][0x2],_0x9f0c88['m'][0x4],_0x9f0c88['m'][0x5],_0x9f0c88['m'][0x6],_0x9f0c88['m'][0x8],_0x9f0c88['m'][0x9],_0x9f0c88['m'][0xa],_0x9f0c88['m'][0xc],_0x9f0c88['m'][0xd],_0x9f0c88['m'][0xe]],_0x5ea267=_0x5ea267[0x1b],(this[_0x5fe099(0x274)][_0x5fe099(0x24c)](_0x493d23,this[_0x5fe099(0x282)][0x7]),this[_0x5fe099(0x1c9)][_0x5fe099(0x24c)]([this[_0x5fe099(0x282)][0x7],this[_0x5fe099(0x282)][0x7]+0xc,_0x5ea267,_0x5ea267+0xc],this['modifyMemoryInstancesDataView'][0x0]),this[_0x5fe099(0x282)][0x7]+=0xc,this[_0x5fe099(0x1c9)][0x0]+=0x4);}}this[_0x5fe099(0x282)][0x5]=0x1;}[_0x302faa(0x29b)](_0x5db3f9,_0x55942c){var _0x497416=_0x302faa;for(_0x5db3f9['reverseElection']&&(this['reverseElectionOperating'][this['operatingType'][_0x497416(0x26f)]]=_0x5db3f9);this[_0x497416(0x282)][0x5];);var _0x2d3b34=new Int32Array(_0x55942c);for(let _0x5acfd2=0x0;_0x5acfd2<_0x2d3b34[_0x497416(0x208)];_0x5acfd2+=0x2){var _0x14b0fd=_0x2d3b34[_0x5acfd2],_0x2a8c30=_0x2d3b34[_0x5acfd2+0x1];if(this[_0x497416(0x221)][this[_0x497416(0x273)][_0x497416(0x26f)]]['hasOwnProperty'](_0x14b0fd)||(this[_0x497416(0x221)][this[_0x497416(0x273)][_0x497416(0x26f)]][_0x14b0fd]={}),!(this[_0x497416(0x221)][this[_0x497416(0x273)][_0x497416(0x26f)]][_0x14b0fd][_0x2a8c30]=_0x5db3f9)[_0x497416(0x229)]&&this[_0x497416(0x2de)][_0x14b0fd]&&this[_0x497416(0x2de)][_0x14b0fd][_0x2a8c30])for(var _0x4c73aa in this[_0x497416(0x2de)][_0x14b0fd][_0x2a8c30]){var _0x4f63cb,_0x496eb3,_0x4c73aa=parseInt(_0x4c73aa),_0x4c73aa=this[_0x497416(0x1e7)][_0x14b0fd][_0x4c73aa],_0x4c73aa=this['modelMeshInstancesDataView']['subarray'](_0x4c73aa,_0x4c73aa+_0x320f13['uY']);0x0!==_0x4c73aa[0x1c]&&(_0x4f63cb=_0x4c73aa[0x1b],_0x496eb3=this[_0x497416(0x294)][_0x497416(0x2a2)](_0x14b0fd),this['renderUpdateTempDataView']['set']([_0x4c73aa[0x1],0x0,_0x496eb3[0x0]/0x4,_0x5db3f9[_0x497416(0x26f)]],this[_0x497416(0x282)][0x7]),this['modifyMemoryInstancesDataView'][_0x497416(0x24c)]([this[_0x497416(0x282)][0x7],this[_0x497416(0x282)][0x7]+0x4,_0x4f63cb+0xc,_0x4f63cb+0x10],this[_0x497416(0x1c9)][0x0]),this['renderMemoryIdDataView'][0x7]+=0x4,this['modifyMemoryInstancesDataView'][0x0]+=0x4);}}if(_0x5db3f9[_0x497416(0x229)]){for(let _0x544529=0x1;_0x544529{_0x350330['d'](_0x26ed92,{'mI':()=>function(_0x21e2f9,_0xce1e52,_0x419fe4){var _0x46d616=a2_0x3f13;let _0x12de36=!0x1;for(let _0x1aea30=0x1;_0x1aea30<_0x21e2f9[0x0];_0x1aea30+=0x2){if(_0x21e2f9[_0x1aea30]<=_0xce1e52&&_0x21e2f9[_0x1aea30+0x1]>=_0x419fe4)return;if(_0x21e2f9[_0x1aea30]>=_0xce1e52&&_0x21e2f9[_0x1aea30+0x1]<=_0x419fe4)return _0x21e2f9[_0x1aea30]=_0xce1e52,void(_0x21e2f9[_0x1aea30+0x1]=_0x419fe4);if(_0x21e2f9[_0x1aea30]>=_0xce1e52&&_0x21e2f9[_0x1aea30]<=_0x419fe4&&(_0x21e2f9[_0x1aea30]=_0xce1e52,_0x12de36=!0x0),_0x21e2f9[_0x1aea30+0x1]>=_0xce1e52&&_0x21e2f9[_0x1aea30+0x1]<=_0x419fe4&&(_0x21e2f9[_0x1aea30+0x1]=_0x419fe4,_0x12de36=!0x0),_0x12de36)return;}let _0x18729e=0x1;for(;;){if(-0x1===_0x21e2f9[_0x18729e])return _0x21e2f9[_0x18729e]=_0xce1e52,_0x21e2f9[_0x18729e+0x1]=_0x419fe4,_0x21e2f9['length']<_0x18729e+0x3&&_0x44baf7['log'](_0x46d616(0x27d)),void(_0x21e2f9[0x0]===_0x18729e&&(_0x21e2f9[0x0]+=0x2));_0x18729e+=0x2;}},'uY':()=>_0x396adb,'ux':()=>function(_0x2bd6e1){var _0x147ab8=a2_0x3f13;for(let _0x42a23e=0x0;_0x42a23e<_0x2bd6e1[_0x147ab8(0x208)];_0x42a23e++)_0x2bd6e1[_0x42a23e]=parseFloat(_0x2bd6e1[_0x42a23e]);return _0x2bd6e1;}});var _0x44baf7=_0x350330(0x6214);const _0x396adb=0x20;}},_0x11a730={},_0x46aa2f['m']=_0x4f7862,_0x46aa2f['x']=()=>{var _0x3d2e6e=_0x46aa2f['O'](void 0x0,[0x21b,0x20a,0x19c,0x2c9],()=>_0x46aa2f(0x14518));return _0x46aa2f['O'](_0x3d2e6e);},_0x3436d1=[],_0x46aa2f['O']=(_0x18765b,_0x3bb7dd,_0x758827,_0x362fb3)=>{var _0x53cdee=a2_0x3f13;if(!_0x3bb7dd){for(var _0x101d6e=Infinity,_0x2c7492=0x0;_0x2c7492<_0x3436d1[_0x53cdee(0x208)];_0x2c7492++){for(var _0x5041f7,[_0x3bb7dd,_0x758827,_0x362fb3]=_0x3436d1[_0x2c7492],_0x291fa9=!0x0,_0x4400bc=0x0;_0x4400bc<_0x3bb7dd[_0x53cdee(0x208)];_0x4400bc++)(!0x1&_0x362fb3||_0x362fb3<=_0x101d6e)&&Object['keys'](_0x46aa2f['O'])[_0x53cdee(0x267)](_0x502793=>_0x46aa2f['O'][_0x502793](_0x3bb7dd[_0x4400bc]))?_0x3bb7dd[_0x53cdee(0x1bf)](_0x4400bc--,0x1):(_0x291fa9=!0x1,_0x362fb3<_0x101d6e&&(_0x101d6e=_0x362fb3));_0x291fa9&&(_0x3436d1[_0x53cdee(0x1bf)](_0x2c7492--,0x1),void 0x0!==(_0x5041f7=_0x758827())&&(_0x18765b=_0x5041f7));}return _0x18765b;}_0x362fb3=_0x362fb3||0x0;for(_0x2c7492=_0x3436d1['length'];0x0<_0x2c7492&&_0x3436d1[_0x2c7492-0x1][0x2]>_0x362fb3;_0x2c7492--)_0x3436d1[_0x2c7492]=_0x3436d1[_0x2c7492-0x1];_0x3436d1[_0x2c7492]=[_0x3bb7dd,_0x758827,_0x362fb3];},_0x46aa2f['n']=_0x1b63ff=>{var _0x104864=a2_0x3f13,_0x1cce93=_0x1b63ff&&_0x1b63ff[_0x104864(0x28f)]?()=>_0x1b63ff[_0x104864(0x264)]:()=>_0x1b63ff;return _0x46aa2f['d'](_0x1cce93,{'a':_0x1cce93}),_0x1cce93;},_0x46aa2f['d']=(_0x1c0e85,_0x4ef25e)=>{for(var _0x426bdb in _0x4ef25e)_0x46aa2f['o'](_0x4ef25e,_0x426bdb)&&!_0x46aa2f['o'](_0x1c0e85,_0x426bdb)&&Object['defineProperty'](_0x1c0e85,_0x426bdb,{'enumerable':!0x0,'get':_0x4ef25e[_0x426bdb]});},_0x46aa2f['f']={},_0x46aa2f['e']=_0x4874c5=>Promise['all'](Object[_0x453e93(0x298)](_0x46aa2f['f'])[_0x453e93(0x1e1)]((_0x2535a7,_0x39357b)=>(_0x46aa2f['f'][_0x39357b](_0x4874c5,_0x2535a7),_0x2535a7),[])),_0x46aa2f['u']=_0x34232c=>({0x19c:_0x453e93(0x1fa),0x20a:_0x453e93(0x1ad),0x21b:_0x453e93(0x1d4),0x2c9:'fd6484fbf469590e3b1a',0x371:_0x453e93(0x22f)}[_0x34232c]+'.js'),_0x46aa2f['g']=(function(){var _0x31a7a1=_0x453e93;if(_0x31a7a1(0x1df)==typeof globalThis)return globalThis;try{return this||new Function(_0x31a7a1(0x1b4))();}catch(_0x2a44ed){if(_0x31a7a1(0x1df)==typeof window)return window;}}()),_0x46aa2f['o']=(_0xe93e0,_0x4c0b9c)=>Object[_0x453e93(0x25d)][_0x453e93(0x1ae)][_0x453e93(0x2b6)](_0xe93e0,_0x4c0b9c),_0x46aa2f[_0x453e93(0x1e4)]=_0x310c21=>(_0x310c21[_0x453e93(0x249)]=[],_0x310c21['children']||(_0x310c21[_0x453e93(0x217)]=[]),_0x310c21),_0x46aa2f['p']='./',_0x46aa2f['b']=self[_0x453e93(0x2c5)]+'',_0x52cadb={0xe0:0x1},_0x46aa2f['f']['i']=(_0x22f5e6,_0x56e10a)=>{_0x52cadb[_0x22f5e6]||importScripts(_0x46aa2f['p']+_0x46aa2f['u'](_0x22f5e6));},_0x10e0b9=Object(self||this)['webpackChunkBim']=Object(self||this)[_0x453e93(0x2a4)]||[],_0xc396af=_0x10e0b9[_0x453e93(0x20e)][_0x453e93(0x2a1)](_0x10e0b9),_0x10e0b9[_0x453e93(0x20e)]=_0x37b697=>{var _0x1f8ae5=_0x453e93,_0x1421a5,[_0x218644,_0x48ce1b,_0x3bbac1]=_0x37b697;for(_0x1421a5 in _0x48ce1b)_0x46aa2f['o'](_0x48ce1b,_0x1421a5)&&(_0x46aa2f['m'][_0x1421a5]=_0x48ce1b[_0x1421a5]);for(_0x3bbac1&&_0x3bbac1(_0x46aa2f);_0x218644[_0x1f8ae5(0x208)];)_0x52cadb[_0x218644[_0x1f8ae5(0x210)]()]=0x1;_0xc396af(_0x37b697);},_0x19641a=_0x46aa2f['x'],(_0x46aa2f['x']=()=>Promise[_0x453e93(0x252)]([0x21b,0x20a,0x19c,0x2c9][_0x453e93(0x28a)](_0x46aa2f['e'],_0x46aa2f))[_0x453e93(0x23d)](_0x19641a))();function _0x46aa2f(_0x553ad0){var _0x3ea162=_0x453e93,_0x1ba238=_0x11a730[_0x553ad0];if(void 0x0!==_0x1ba238)return _0x1ba238[_0x3ea162(0x295)];return _0x1ba238=_0x11a730[_0x553ad0]={'id':_0x553ad0,'loaded':!0x1,'exports':{}},(_0x4f7862[_0x553ad0][_0x3ea162(0x2b6)](_0x1ba238['exports'],_0x1ba238,_0x1ba238[_0x3ea162(0x295)],_0x46aa2f),_0x1ba238[_0x3ea162(0x1ed)]=!0x0,_0x1ba238[_0x3ea162(0x295)]);}var _0x3436d1,_0x52cadb,_0x10e0b9,_0xc396af,_0x19641a,_0x4f7862,_0x11a730;};a2_0x30eb20(0x1df)==typeof exports&&'object'==typeof module?module[a2_0x30eb20(0x295)]=t():'function'==typeof define&&define[a2_0x30eb20(0x209)]?define([],t):'object'==typeof exports?exports[a2_0x30eb20(0x29f)]=t():e[a2_0x30eb20(0x29f)]=t();