function a3_0x39f9(_0x4e98d0,_0x3bbc95){var _0x2d57ba=a3_0x2d57();return a3_0x39f9=function(_0x39f9cb,_0x146c14){_0x39f9cb=_0x39f9cb-0x95;var _0x4e99c2=_0x2d57ba[_0x39f9cb];return _0x4e99c2;},a3_0x39f9(_0x4e98d0,_0x3bbc95);}var a3_0x365fec=a3_0x39f9;(function(_0x341a98,_0x8c6f1a){var _0x10b2da=a3_0x39f9,_0x2562c8=_0x341a98();while(!![]){try{var _0x4adc4e=-parseInt(_0x10b2da(0x12e))/0x1*(parseInt(_0x10b2da(0x15c))/0x2)+-parseInt(_0x10b2da(0xa0))/0x3*(-parseInt(_0x10b2da(0xf6))/0x4)+parseInt(_0x10b2da(0xf5))/0x5*(-parseInt(_0x10b2da(0xc2))/0x6)+parseInt(_0x10b2da(0xed))/0x7+-parseInt(_0x10b2da(0xaf))/0x8*(-parseInt(_0x10b2da(0x155))/0x9)+-parseInt(_0x10b2da(0xee))/0xa*(parseInt(_0x10b2da(0x9b))/0xb)+parseInt(_0x10b2da(0xca))/0xc;if(_0x4adc4e===_0x8c6f1a)break;else _0x2562c8['push'](_0x2562c8['shift']());}catch(_0x34e680){_0x2562c8['push'](_0x2562c8['shift']());}}}(a3_0x2d57,0x59c59));function a3_0x2d57(){var _0x1921eb=['BuildMeshInstances','worldDirection','ComputeRequestId','Initialized','abs','6183000DTNVEp','34b55e343f375bab1ae6','btree','modelId','postMessage','ComputeRenderShellInstancesProjectionArea','opaque','GetPlanesToRef','objectStoreNames','result','webpackChunkBim','opaqueMaxRenderTriangleFace','_minPoint','exports','renderIndexModelIdAndInstancesIdBuffer','projectionAreaModelIdBlock','allowSingleMeshMaxTriangleFaceQuantity','uniqueId','floor','entityCount','Identity','initEd','InitIndexDb','pvsId','useCache','isTransparent','modelMatrixInvert','readwrite','data','AddBlock','boxMax','cameraWorldPosition','modelComponentAttributeArrayBuff','parent','dieOutLength','4681740AMwcQB','24810iZmalq','dotCoordinate','Database','maxPoint','nmd','getMeshInstance','triangleCount','74335AEuNKJ','172DNTLbZ','target','modelMatrix','FromPoints','InitModel','GetPosition','wordMaxPoint','subtract','post','TransformCoordinatesToRef','transform','allowRenderInstancesArrayBuffer','onlyShowShells','frameSelectModelIdBlockId','select\x20id,transformBox\x20from\x20meshInstances\x20','RenderSelection','InitComponentData','ComputeDistanceToCamera','boxMin','isMainRender','expressTypeVisibleDistanceArrayBuff','viewMatrix','modelId_indexDb','IsPointInFrustum','depthPath','wordMinPoint','select','distanceToCamera','origin','all','maximumWorld','server_modelId_treeIds_List','GetPlanes','Bim','ComputeProjectionArea','expressType','prototype','createObjectStore','modelIndexOffsetStart','splice','frustumNo','requestingIndexDb','expressTypeWeightsArrayBuff','then','frustumIntersect','createInnerBlocks','addToRef','transparentMaxRenderTriangleFace','arraybuffer','ComputeAllowRenderInstances','SetModelMatrix','InBtree','server_Count','Zero','AddEntity','reduce','307vQfJbQ','message','componentId','transaction','instances','30348b9a88afb56054d6','_UnprojectFromInvertedMatrixToRef','GetTopPlaneToRef','projectionAreaOrderObj','blocks','min','length','treeId','getAllKeys','indexDb_Count','hasOwnProperty','Loop','isCompletelyInFrustum','_minBlockWidth','_currentDepth','opaqueLengthOffset','.js','contains','meshId','ComputeBlockProjectionArea','diagonalDistanceSquared','push','normal','defineProperty','FromValues','onerror','modelMeshInstancesArrayBuff','onsuccess','modelMeshInstancesDataView','AddTreeNode','cameraId','keys','materialId','set','153gFxMgh','Select','renderListMemoryLengthMax','RequestMeshInstance','requestingServer','initAllModelOk','cacheCamera','498xfcMHz','FromArray','return\x20this','buffer','GetRightPlaneToRef','transparentLengthOffset','expressTypeWeightsDataView','renderMemoryIdDataView','allowRenderInstancesDataView','multiplyToRef','visibleModelBox','reSelect','modelMeshInstancesIndexDataView','modelIdToUniqueId','max','uniqueIdToModelId','selectModelIdBlockId','expressTypeVisibleDistanceDataView','projectionAreaModelIdInstancesId','minPoint','default','currentModelCameraPosition','PositionToBoxDistanceSquared','LastInit','modelMeshInstancesCurrentIndex','each','transparent','IsInFrustum','SetMatrixPrecision','dataStoreArrayBuffer','SQLEngine','indexDbInsertCurrentNum','modelList','FillingAllowRenderInstances','modelComponentAttributeDataView','d144f682dd14cd65c35d','readonly','modelTransformMatrix','modelMaterixChange','boundingVectors','indexDbModelTreeId','renderMemoryIdBuffer','_maxPoint','indexDbInsertMaxNum','_halfAxes','get','currentFrustumPlanes','serverAddress','3157rkZDCS','RemoveBlock','status','split','GetNearPlaneToRef','17151NLvEaD','GetLeftPlaneToRef','offset','projectionMatrix','worldUp','sharedData','log','parse','_center','GetFarPlaneToRef','scaleInPlace','isArray','name','mesh','close','74088RSMHnh','renderListMemoryLength','objectStore','__esModule','paths','modelIdBlockIdInstances','transformBox','indexTree','object','normalize','modelMeshInstancesIndexArrayBuff','subtractToRef','RecordProjectionArea','DistanceSquared','modelData','isCompletelyInBoundingBox','modelShell','clone','FrameSelection','174lSlGCh','GetBottomPlaneToRef','indexDb_modelId_treeIds_List'];a3_0x2d57=function(){return _0x1921eb;};return a3_0x2d57();}var e=self||this,t=()=>{var _0x587dfa=a3_0x39f9;return _0x117749={0x126cd:(_0x52ff79,_0x205b25,_0x33d8b5)=>{var _0x2a0e94=a3_0x39f9;_0x33d8b5['d'](_0x205b25,{'i':()=>_0x29fd32});var _0x3d8ebf=_0x33d8b5(0x2037);class _0x29fd32{static[_0x2a0e94(0x116)](_0x5d13ca){var _0x28e48a=_0x2a0e94;const _0x497a3f=[];for(let _0x1ac07c=0x0;_0x1ac07c<0x6;_0x1ac07c++)_0x497a3f[_0x28e48a(0x148)](new _0x3d8ebf['J'](0x0,0x0,0x0,0x0));return _0x29fd32[_0x28e48a(0xd1)](_0x5d13ca,_0x497a3f),_0x497a3f;}static[_0x2a0e94(0x9f)](_0x239884,_0x7e99c0){var _0x2ea8cc=_0x2a0e94;_0x239884=_0x239884['m'],(_0x7e99c0[_0x2ea8cc(0x149)]['x']=_0x239884[0x3]+_0x239884[0x2],_0x7e99c0['normal']['y']=_0x239884[0x7]+_0x239884[0x6],_0x7e99c0['normal']['z']=_0x239884[0xb]+_0x239884[0xa],_0x7e99c0['d']=_0x239884[0xf]+_0x239884[0xe],_0x7e99c0[_0x2ea8cc(0xb8)]());}static[_0x2a0e94(0xa9)](_0x437541,_0x4b70c8){var _0x471bc4=_0x2a0e94;_0x437541=_0x437541['m'],(_0x4b70c8[_0x471bc4(0x149)]['x']=_0x437541[0x3]-_0x437541[0x2],_0x4b70c8[_0x471bc4(0x149)]['y']=_0x437541[0x7]-_0x437541[0x6],_0x4b70c8[_0x471bc4(0x149)]['z']=_0x437541[0xb]-_0x437541[0xa],_0x4b70c8['d']=_0x437541[0xf]-_0x437541[0xe],_0x4b70c8[_0x471bc4(0xb8)]());}static[_0x2a0e94(0xa1)](_0x4a6978,_0x55eeb0){var _0x16ba3a=_0x2a0e94;_0x4a6978=_0x4a6978['m'],(_0x55eeb0[_0x16ba3a(0x149)]['x']=_0x4a6978[0x3]+_0x4a6978[0x0],_0x55eeb0[_0x16ba3a(0x149)]['y']=_0x4a6978[0x7]+_0x4a6978[0x4],_0x55eeb0['normal']['z']=_0x4a6978[0xb]+_0x4a6978[0x8],_0x55eeb0['d']=_0x4a6978[0xf]+_0x4a6978[0xc],_0x55eeb0[_0x16ba3a(0xb8)]());}static[_0x2a0e94(0x160)](_0x3f0922,_0x3deeae){var _0x3e8486=_0x2a0e94;_0x3f0922=_0x3f0922['m'],(_0x3deeae[_0x3e8486(0x149)]['x']=_0x3f0922[0x3]-_0x3f0922[0x0],_0x3deeae['normal']['y']=_0x3f0922[0x7]-_0x3f0922[0x4],_0x3deeae[_0x3e8486(0x149)]['z']=_0x3f0922[0xb]-_0x3f0922[0x8],_0x3deeae['d']=_0x3f0922[0xf]-_0x3f0922[0xc],_0x3deeae[_0x3e8486(0xb8)]());}static[_0x2a0e94(0x135)](_0x4c7778,_0x5a73f8){var _0x2b37c3=_0x2a0e94;_0x4c7778=_0x4c7778['m'],(_0x5a73f8['normal']['x']=_0x4c7778[0x3]-_0x4c7778[0x1],_0x5a73f8[_0x2b37c3(0x149)]['y']=_0x4c7778[0x7]-_0x4c7778[0x5],_0x5a73f8[_0x2b37c3(0x149)]['z']=_0x4c7778[0xb]-_0x4c7778[0x9],_0x5a73f8['d']=_0x4c7778[0xf]-_0x4c7778[0xd],_0x5a73f8[_0x2b37c3(0xb8)]());}static['GetBottomPlaneToRef'](_0x36cf2f,_0x126b3e){var _0x58d680=_0x2a0e94;_0x36cf2f=_0x36cf2f['m'],(_0x126b3e[_0x58d680(0x149)]['x']=_0x36cf2f[0x3]+_0x36cf2f[0x1],_0x126b3e['normal']['y']=_0x36cf2f[0x7]+_0x36cf2f[0x5],_0x126b3e[_0x58d680(0x149)]['z']=_0x36cf2f[0xb]+_0x36cf2f[0x9],_0x126b3e['d']=_0x36cf2f[0xf]+_0x36cf2f[0xd],_0x126b3e[_0x58d680(0xb8)]());}static[_0x2a0e94(0xd1)](_0x9493e4,_0x2184f3){var _0x58a909=_0x2a0e94;_0x29fd32['GetNearPlaneToRef'](_0x9493e4,_0x2184f3[0x0]),_0x29fd32[_0x58a909(0xa9)](_0x9493e4,_0x2184f3[0x1]),_0x29fd32['GetLeftPlaneToRef'](_0x9493e4,_0x2184f3[0x2]),_0x29fd32[_0x58a909(0x160)](_0x9493e4,_0x2184f3[0x3]),_0x29fd32[_0x58a909(0x135)](_0x9493e4,_0x2184f3[0x4]),_0x29fd32[_0x58a909(0xc3)](_0x9493e4,_0x2184f3[0x5]);}static[_0x2a0e94(0x10d)](_0x16921c,_0x10622a){for(let _0x25be87=0x0;_0x25be87<0x6;_0x25be87++)if(_0x10622a[_0x25be87]['dotCoordinate'](_0x16921c)<0x0)return!0x1;return!0x0;}}},0x15857:(_0x139847,_0x40ccd8,_0x3d5baf)=>{_0x3d5baf['d'](_0x40ccd8,{'HE':()=>_0x187a3a['HE'],'JO':()=>_0x21b383['J'],'P':()=>_0x3eeb59['P'],'RD':()=>_0x4b7de8['RD'],'Wo':()=>_0x187a3a['Wo'],'iW':()=>_0x451aa8['i'],'jp':()=>_0x3eeb59['jp'],'y3':()=>_0x3eeb59['y3'],'zZ':()=>_0x187a3a['zZ']});var _0x4b7de8=_0x3d5baf(0xa60f),_0x187a3a=_0x3d5baf(0xc84b),_0x451aa8=(_0x3d5baf(0x147b8),_0x3d5baf(0x126cd)),_0x21b383=(_0x3d5baf(0x11edd),_0x3d5baf(0x2037)),_0x3eeb59=_0x3d5baf(0x9fd1);_0x3d5baf(0x15a94);},0x5d49:(_0x457b7e,_0x4fe88a,_0x516c4a)=>{var _0x35dbcc=a3_0x39f9;_0x516c4a(0xe0c0),_0x516c4a(0xab11),_0x516c4a(0x14c74),_0x516c4a(0x9316),_0x516c4a(0xe1b3),_0x516c4a(0xb261),_0x516c4a(0x3ae7),_0x516c4a(0x5e86),_0x516c4a(0x1696b),_0x516c4a(0x9d9),_0x516c4a(0x161cb),_0x516c4a(0x17932);var _0x1d3b7c=_0x516c4a(0x65c1),_0x25751e=(_0x516c4a(0xe30c),_0x516c4a(0x12bb6),_0x516c4a(0x17fdf),_0x516c4a(0x8483),_0x516c4a(0x28e1),_0x516c4a(0x59a7),_0x516c4a(0x663)),_0x5c5b05=(_0x516c4a(0x1334a),_0x516c4a(0x3cd9),_0x516c4a(0x99a5),_0x516c4a(0x12b78),_0x516c4a(0x2540),_0x516c4a(0xc97d),_0x516c4a(0x80e8),_0x516c4a(0x17439),_0x516c4a(0x16e4e),_0x516c4a(0x114a2),_0x516c4a(0x1b5c),_0x516c4a(0x12a54),_0x516c4a(0xa1c8),_0x516c4a(0x15857));_0x516c4a(0x17cee),_0x516c4a(0x1797e),_0x516c4a(0x124cf),_0x516c4a(0x98fc),_0x516c4a(0x16aec),_0x516c4a(0x6c6d),_0x516c4a(0xa6c6),_0x516c4a(0xa82f),_0x516c4a(0x5204),_0x516c4a(0x116b6),_0x516c4a(0x16a99),_0x516c4a(0x1446b),_0x516c4a(0xbb85),_0x516c4a(0x14926),_0x516c4a(0x1388c),_0x516c4a(0xf9d6),_0x516c4a(0xf06),_0x516c4a(0xfc73),_0x516c4a(0x389d),_0x516c4a(0x4be6);class _0x498984{constructor(_0xeaed33,_0x392f7c,_0x1385cd,_0x8a3591,_0x3de411,_0x45d425,_0x244141,_0x2ef6de){var _0x5930d1=a3_0x39f9;this[_0x5930d1(0x122)]=0x0,this['boundingVectors']=new Array(),this['entityCount']=0x0,this[_0x5930d1(0x141)]=_0x1385cd,this[_0x5930d1(0x140)]=_0x8a3591,this[_0x5930d1(0xeb)]=_0x3de411,this[_0x5930d1(0x10e)]='',this['parent']?this[_0x5930d1(0x10e)]=this[_0x5930d1(0xeb)][_0x5930d1(0x10e)]+_0x244141:this[_0x5930d1(0x10e)]=_0x244141,this['id']=parseInt(this[_0x5930d1(0x10e)],0x2),this[_0x5930d1(0xcc)]=_0x45d425,this[_0x5930d1(0xcd)]=_0x2ef6de,this[_0x5930d1(0xd6)]=_0xeaed33,this[_0x5930d1(0x95)]=_0x392f7c,this[_0x5930d1(0xa8)]=_0x5c5b05['P'][_0x5930d1(0x12b)](),this[_0x5930d1(0x97)]=_0x5c5b05['P']['Zero'](),_0x392f7c['addToRef'](_0xeaed33,this['_center'])[_0x5930d1(0xaa)](0.5),_0x392f7c[_0x5930d1(0xba)](_0xeaed33,this[_0x5930d1(0x97)])[_0x5930d1(0xaa)](0.5),this[_0x5930d1(0x183)]['push'](_0xeaed33['clone']()),this[_0x5930d1(0x183)][_0x5930d1(0x148)](_0x392f7c['clone']()),this[_0x5930d1(0x183)]['push'](_0xeaed33[_0x5930d1(0xc0)]()),this[_0x5930d1(0x183)][0x2]['x']=_0x392f7c['x'],this[_0x5930d1(0x183)][_0x5930d1(0x148)](_0xeaed33[_0x5930d1(0xc0)]()),this[_0x5930d1(0x183)][0x3]['y']=_0x392f7c['y'],this[_0x5930d1(0x183)][_0x5930d1(0x148)](_0xeaed33['clone']()),this['boundingVectors'][0x4]['z']=_0x392f7c['z'],this[_0x5930d1(0x183)][_0x5930d1(0x148)](_0x392f7c[_0x5930d1(0xc0)]()),this[_0x5930d1(0x183)][0x5]['z']=_0xeaed33['z'],this[_0x5930d1(0x183)][_0x5930d1(0x148)](_0x392f7c[_0x5930d1(0xc0)]()),this[_0x5930d1(0x183)][0x6]['x']=_0xeaed33['x'],this['boundingVectors'][_0x5930d1(0x148)](_0x392f7c[_0x5930d1(0xc0)]()),this[_0x5930d1(0x183)][0x7]['y']=_0xeaed33['y'],this[_0x5930d1(0x147)]=_0x5c5b05['P'][_0x5930d1(0xbc)](_0xeaed33,_0x392f7c);}get['minPoint'](){var _0x3130a9=a3_0x39f9;return this[_0x3130a9(0xd6)];}get[_0x35dbcc(0xf1)](){return this['_maxPoint'];}[_0x35dbcc(0x12c)](_0x9f6d36,_0x23bfde){var _0x12ff91=_0x35dbcc;if(this[_0x12ff91(0x137)]||this['createInnerBlocks'](),this['blocks'])for(let _0x39c907=0x0;_0x39c907_0x2a5c70['_x']&&(_0x4961b0=_0x8d3305['x']-_0x2a5c70['_x'],_0x367e2e+=_0x4961b0*_0x4961b0),_0x8d3305['y']<-_0x2a5c70['_y']?(_0x4961b0=_0x8d3305['y']+_0x2a5c70['_y'],_0x367e2e+=_0x4961b0*_0x4961b0):_0x8d3305['y']>_0x2a5c70['_y']&&(_0x4961b0=_0x8d3305['y']-_0x2a5c70['_y'],_0x367e2e+=_0x4961b0*_0x4961b0),_0x8d3305['z']<-_0x2a5c70['_z']?(_0x4961b0=_0x8d3305['z']+_0x2a5c70['_z'],_0x367e2e+=_0x4961b0*_0x4961b0):_0x8d3305['z']>_0x2a5c70['_z']&&(_0x4961b0=_0x8d3305['z']-_0x2a5c70['_z'],_0x367e2e+=_0x4961b0*_0x4961b0),_0x367e2e;}static['IsInFrustum'](_0x26a181,_0x2211e3){var _0x1747b9=_0x35dbcc;let _0xf44bae=!0x0,_0x26688f=!0x0;for(var _0x388112=0x0;_0x388112<0x6;++_0x388112){let _0x33022c=!0x0;const _0x56a242=_0x2211e3[_0x388112];for(var _0x1fce4e=0x0;_0x1fce4e<0x8;++_0x1fce4e)0x0<=_0x56a242[_0x1747b9(0xef)](_0x26a181[_0x1fce4e])?_0x33022c=!0x1:_0x26688f=!0x1;if(_0x33022c){_0xf44bae=!0x1;break;}}return _0x26688f&&_0xf44bae?0x2:_0xf44bae?0x1:0x0;}[_0x35dbcc(0x110)](_0x80cba5,_0x4385f0){var _0x29fd8c=_0x35dbcc,_0x3866e2=this[_0x29fd8c(0xeb)]&&0x2===this[_0x29fd8c(0xeb)][_0x29fd8c(0x122)]?0x2:_0x498984['IsInFrustum'](this[_0x29fd8c(0x183)],_0x80cba5);if(0x0!==(this['frustumIntersect']=_0x3866e2)){_0x4385f0[this[_0x29fd8c(0xcd)]][this['id']]=this;for(let _0x439fc0=0x0;this['blocks']&&_0x439fc0this[_0x44e201(0x140)]||this[_0x44e201(0x141)]<0x5){let _0x31031b;_0x53c757===_0x3a14d5?_0x31031b='x':_0x480f9f===_0x3a14d5?_0x31031b='y':_0x2350d7===_0x3a14d5&&(_0x31031b='z'),_0x53c757=new _0x5c5b05['P'](this[_0x44e201(0xd6)]['x'],this[_0x44e201(0xd6)]['y'],this[_0x44e201(0xd6)]['z']);let _0x3a66d8=new _0x5c5b05['P'](this['_maxPoint']['x'],this['_maxPoint']['y'],this[_0x44e201(0x95)]['z']),_0x34a19b=(_0x3a66d8[_0x31031b]=_0x3a66d8[_0x31031b]-_0x3a14d5/0x2,new _0x5c5b05['P'](this[_0x44e201(0xd6)]['x'],this['_minPoint']['y'],this[_0x44e201(0xd6)]['z']));_0x34a19b[_0x31031b]=_0x34a19b[_0x31031b]+_0x3a14d5/0x2,(_0x480f9f=new _0x5c5b05['P'](this['_maxPoint']['x'],this[_0x44e201(0x95)]['y'],this[_0x44e201(0x95)]['z']),_0x2350d7=new _0x498984(_0x53c757,_0x3a66d8,this[_0x44e201(0x141)]+0x1,this['_minBlockWidth'],this,this[_0x44e201(0xcc)],'0',this[_0x44e201(0xcd)]),_0x3a14d5=(this[_0x44e201(0x137)][_0x44e201(0x148)](_0x2350d7),new _0x498984(_0x34a19b,_0x480f9f,this['_currentDepth']+0x1,this['_minBlockWidth'],this,this['btree'],'1',this[_0x44e201(0xcd)]))),this[_0x44e201(0x137)][_0x44e201(0x148)](_0x3a14d5);}}}_0x498984[_0x35dbcc(0xbe)]=(_0x564310,_0x293541,_0x214685)=>_0x214685[_0x35dbcc(0xf1)]['x']>=_0x293541['x']&&_0x214685[_0x35dbcc(0x16f)]['x']<=_0x564310['x']&&_0x214685['maxPoint']['y']>=_0x293541['y']&&_0x214685[_0x35dbcc(0x16f)]['y']<=_0x564310['y']&&_0x214685[_0x35dbcc(0xf1)]['z']>=_0x293541['z']&&_0x214685[_0x35dbcc(0x16f)]['z']<=_0x564310['z'];let _0x121d1a=[[0x1,0x5,0x4,0x7,0x3,0x2,0x6],[0x0,0x3,0x2,0x1,0x5,0x4,0x6],[0x0,0x3,0x2,0x6,0x5,0x4,0x6],[0x0,0x4,0x7,0x3,0x2,0x1,0x6],[0x0,0x3,0x2,0x1,-0x1,-0x1,0x4],[0x0,0x3,0x2,0x6,0x5,0x1,0x6],[0x0,0x4,0x7,0x6,0x2,0x1,0x6],[0x0,0x3,0x7,0x6,0x2,0x1,0x6],[0x0,0x3,0x7,0x6,0x5,0x1,0x6],[0x0,0x1,0x5,0x4,0x7,0x3,0x6],[0x0,0x1,0x5,0x4,-0x1,-0x1,0x4],[0x0,0x1,0x2,0x6,0x5,0x4,0x6],[0x0,0x4,0x7,0x3,-0x1,-0x1,0x4],[-0x1,-0x1,-0x1,-0x1,-0x1,-0x1,0x0],[0x1,0x2,0x6,0x5,-0x1,-0x1,0x4],[0x0,0x4,0x7,0x6,0x2,0x3,0x6],[0x2,0x3,0x7,0x6,-0x1,-0x1,0x4],[0x1,0x2,0x3,0x7,0x6,0x5,0x6],[0x0,0x1,0x5,0x6,0x7,0x3,0x6],[0x0,0x1,0x5,0x6,0x7,0x4,0x6],[0x0,0x1,0x2,0x6,0x7,0x4,0x6],[0x0,0x4,0x5,0x6,0x7,0x3,0x6],[0x4,0x5,0x6,0x7,-0x1,-0x1,0x4],[0x1,0x2,0x6,0x7,0x4,0x5,0x6],[0x0,0x4,0x5,0x6,0x2,0x3,0x6],[0x2,0x3,0x7,0x4,0x5,0x6,0x6],[0x1,0x2,0x3,0x7,0x4,0x5,0x6]];class _0x715e4e{constructor(_0x5b8250){var _0x7e4dc4=_0x35dbcc;this['fv']=_0x5b8250,this['blocks']={},this[_0x7e4dc4(0x181)]={},this[_0x7e4dc4(0xf8)]={},this['modelMatrixInvert']={},this[_0x7e4dc4(0xb4)]={},this[_0x7e4dc4(0x16c)]={},this[_0x7e4dc4(0x103)]={},this[_0x7e4dc4(0x99)]=[],this[_0x7e4dc4(0x171)]={};for(let _0x4774bc=0x0;_0x4774bc<0x6;_0x4774bc++)this['currentFrustumPlanes'][_0x7e4dc4(0x148)](new _0x5c5b05['JO'](0x0,0x0,0x0,0x0));}[_0x35dbcc(0xe7)](_0x26537c,_0x1c3a84,_0x1ce5a6,_0xbc7f55=[],_0x2a3dcd=0xa){var _0x40ef3f=_0x35dbcc;this[_0x40ef3f(0xf8)][_0x26537c]=_0x5c5b05['y3'][_0x40ef3f(0xde)](),this[_0x40ef3f(0xe4)][_0x26537c]=_0x5c5b05['y3'][_0x40ef3f(0xde)](),this[_0x40ef3f(0x171)][_0x26537c]=_0x5c5b05['P'][_0x40ef3f(0x12b)](),this[_0x40ef3f(0x137)][_0x40ef3f(0x13d)](_0x26537c)||(this[_0x40ef3f(0x137)][_0x26537c]=new _0x498984(_0x1c3a84,_0x1ce5a6,0x0,_0x2a3dcd,void 0x0,this,'1',_0x26537c),this['blocks'][_0x26537c]['wordMinPoint']=_0x1c3a84['clone'](),this[_0x40ef3f(0x137)][_0x26537c]['wordMaxPoint']=_0x1ce5a6[_0x40ef3f(0xc0)](),this[_0x40ef3f(0x137)][_0x26537c][_0x40ef3f(0xb6)]=_0xbc7f55,this[_0x40ef3f(0xb4)][_0x26537c]={});}[_0x35dbcc(0x9c)](_0x1ad685){var _0x59783a=_0x35dbcc;delete this[_0x59783a(0x137)][_0x1ad685],delete this[_0x59783a(0x181)][_0x1ad685],delete this[_0x59783a(0xf8)][_0x1ad685],delete this[_0x59783a(0xb4)][_0x1ad685];}[_0x35dbcc(0x128)](_0x1bafe6,_0x58a3b4){var _0x13eb2d=_0x35dbcc;this[_0x13eb2d(0xf8)][_0x1bafe6]=_0x58a3b4,this[_0x13eb2d(0xe4)][_0x1bafe6]=_0x5c5b05['y3']['Invert'](_0x58a3b4);var _0x36bdcd=_0x5c5b05['P']['Zero']();let _0x5abd12,_0xbea97c,_0x50951b,_0x5ec28e,_0x52bf64,_0x4b7740;for(let _0x1b5d89=0x0;_0x1b5d89_0x36bdcd['x'])&&(_0x5ec28e=_0x36bdcd['x']),(void 0x0===_0x52bf64||_0x52bf64>_0x36bdcd['y'])&&(_0x52bf64=_0x36bdcd['y']),(void 0x0===_0x4b7740||_0x4b7740>_0x36bdcd['z'])&&(_0x4b7740=_0x36bdcd['z']);this['blocks'][_0x1bafe6][_0x13eb2d(0x10f)][_0x13eb2d(0x154)](_0x5abd12,_0xbea97c,_0x50951b),this[_0x13eb2d(0x137)][_0x1bafe6][_0x13eb2d(0xfc)]['set'](_0x5ec28e,_0x52bf64,_0x4b7740);}[_0x35dbcc(0x12c)](_0x2bfcc9,_0x307491,_0x496857,_0xf6f0af){var _0x184f6d=_0x35dbcc,_0x260ef9=this['blocks'][_0x2bfcc9][_0x184f6d(0x12c)](_0x307491,_0x496857);return this[_0x184f6d(0xb4)][_0x2bfcc9][_0x184f6d(0x13d)](_0x260ef9['id'])||(this[_0x184f6d(0xb4)][_0x2bfcc9][_0x260ef9['id']]={}),this[_0x184f6d(0xb4)][_0x2bfcc9][_0x260ef9['id']][_0xf6f0af['id']]={'min':{'x':_0x307491['x'],'y':_0x307491['y'],'z':_0x307491['z']},'max':{'x':_0x496857['x'],'y':_0x496857['y'],'z':_0x496857['z']}},_0x260ef9;}['Select'](_0x5ed738,_0x2e885c,_0x4d0100){var _0x2d29ae=_0x35dbcc;for(var _0x580d69 in(this[_0x2d29ae(0x16c)]={},this[_0x2d29ae(0x137)]))if(0x1===this['fv'][_0x2d29ae(0xbd)][_0x2d29ae(0x9d)](~~_0x580d69)[0x0]){let _0x54f19e=_0x5c5b05['y3']['Identity']();this['modelMatrix'][_0x580d69][_0x2d29ae(0x165)](_0x5ed738,_0x54f19e),_0x5c5b05['P'][_0x2d29ae(0xff)](_0x4d0100,this[_0x2d29ae(0xe4)][_0x580d69],this[_0x2d29ae(0x171)][_0x580d69]),_0x54f19e[_0x2d29ae(0x165)](_0x2e885c,_0x54f19e),this[_0x2d29ae(0x181)][_0x580d69]=_0x54f19e,_0x5c5b05['iW'][_0x2d29ae(0xd1)](_0x54f19e,this[_0x2d29ae(0x99)]),this['blocks'][_0x580d69][_0x2d29ae(0x122)]=_0x498984[_0x2d29ae(0x177)](this[_0x2d29ae(0x137)][_0x580d69]['boundingVectors'],this[_0x2d29ae(0x99)]),0x0!==this['blocks'][_0x580d69]['frustumIntersect']&&0.01=_0x2fc7cd['x']?_0x2ee71b['x']>_0x1e709a['x']?0x2:0x1:0x0,_0x2ee71b['y']>=_0x2fc7cd['y']&&(_0x4c66e2+=_0x2ee71b['y']>_0x1e709a['y']?0x6:0x3),_0x2ee71b['z']>=_0x2fc7cd['z']&&(_0x4c66e2+=_0x2ee71b['z']>_0x1e709a['z']?0x12:0x9),0xd===_0x4c66e2)return 0x4;let _0x541f65=_0x121d1a[_0x4c66e2][0x6],_0x35c896;for(_0x35c896=0x0;_0x35c896<_0x541f65;_0x35c896++){var _0x3087f3=_0x121d1a[_0x4c66e2][_0x35c896];_0x23fd08[_0x35c896]['x']=((_0x3087f3+0x1)%0x4<0x2?_0x2fc7cd:_0x1e709a)['x'],_0x23fd08[_0x35c896]['y']=(_0x3087f3%0x4<0x2?_0x2fc7cd:_0x1e709a)['y'],_0x23fd08[_0x35c896]['z']=(_0x3087f3<0x4?_0x2fc7cd:_0x1e709a)['z'];let _0x3a8187=_0x23fd08[_0x35c896];var _0x3087f3=_0x3a8187['x'],_0x282ffa=_0x3a8187['y'],_0x3cb665=_0x3a8187['z'],_0x58b7e2=_0x615037['_m'];let _0x166a6a=_0x58b7e2[0x3]*_0x3087f3+_0x58b7e2[0x7]*_0x282ffa+_0x58b7e2[0xb]*_0x3cb665+_0x58b7e2[0xf];var _0x42beac=0x1/(_0x166a6a=_0x166a6a<0x0?-_0x166a6a:_0x166a6a);_0x3a8187['x']=(_0x58b7e2[0x0]*_0x3087f3+_0x58b7e2[0x4]*_0x282ffa+_0x58b7e2[0x8]*_0x3cb665+_0x58b7e2[0xc])*_0x42beac,_0x3a8187['y']=(_0x58b7e2[0x1]*_0x3087f3+_0x58b7e2[0x5]*_0x282ffa+_0x58b7e2[0x9]*_0x3cb665+_0x58b7e2[0xd])*_0x42beac;}let _0x5b7aea=0x0;if(_0x27caa1){for(_0x5b7aea=(_0x23fd08[_0x541f65-0x1]['x']-_0x23fd08[0x0]['x'])*(_0x23fd08[_0x541f65-0x1]['y']+_0x23fd08[0x0]['y']),_0x35c896=0x0;_0x35c896<_0x541f65-0x1;_0x35c896++)_0x5b7aea+=(_0x23fd08[_0x35c896]['x']-_0x23fd08[_0x35c896+0x1]['x'])*(_0x23fd08[_0x35c896]['y']+_0x23fd08[_0x35c896+0x1]['y']);}else{var _0x3f9f10;let _0xfdec38,_0x2cee0a,_0x1c6126,_0x448aba,_0x34c50d,_0x1e3bb6,_0x2e2062;var _0xc0cc33=function(_0x2be92e){switch(_0x1e3bb6){case 0x0:return-0x1<=_0x2be92e['x'];case 0x1:return _0x2be92e['x']<=0x1;case 0x2:return-0x1<=_0x2be92e['y'];case 0x3:return _0x2be92e['y']<=0x1;}},_0x568509=function(_0x55019c){_0x13eff4[_0x2e2062],_0x13eff4[_0x2e2062]['x']=_0x55019c['x'],_0x13eff4[_0x2e2062++]['y']=_0x55019c['y'];},_0x5a91d1=function(){let _0x94e123,_0x3ad9fd;switch(_0x1e3bb6){case 0x0:_0x94e123=-0x1,_0x3ad9fd=_0xfdec38['y']+(_0x2cee0a['y']-_0xfdec38['y'])*(_0x94e123-_0xfdec38['x'])/(_0x2cee0a['x']-_0xfdec38['x']);break;case 0x1:_0x94e123=0x1,_0x3ad9fd=_0xfdec38['y']+(_0x2cee0a['y']-_0xfdec38['y'])*(_0x94e123-_0xfdec38['x'])/(_0x2cee0a['x']-_0xfdec38['x']);break;case 0x2:_0x3ad9fd=-0x1,_0x94e123=_0xfdec38['x']+(_0x2cee0a['x']-_0xfdec38['x'])*(_0x3ad9fd-_0xfdec38['y'])/(_0x2cee0a['y']-_0xfdec38['y']);break;case 0x3:_0x3ad9fd=0x1,_0x94e123=_0xfdec38['x']+(_0x2cee0a['x']-_0xfdec38['x'])*(_0x3ad9fd-_0xfdec38['y'])/(_0x2cee0a['y']-_0xfdec38['y']);}_0x13eff4[_0x2e2062]['x']=_0x94e123,_0x13eff4[_0x2e2062++]['y']=_0x3ad9fd;};for(_0x1e3bb6=0x0;_0x1e3bb6<0x4&&0x2<_0x541f65;_0x1e3bb6++){for(_0x2e2062=0x0,_0xfdec38=_0x23fd08[_0x541f65-0x1],_0x1c6126=_0xc0cc33(_0xfdec38),_0x34c50d=0x0;_0x34c50d<_0x541f65;_0x34c50d++)_0x448aba=_0xc0cc33(_0x2cee0a=_0x23fd08[_0x34c50d]),_0x1c6126?_0x448aba?_0x568509(_0x2cee0a):_0x5a91d1():_0x448aba&&(_0x5a91d1(),_0x568509(_0x2cee0a)),_0xfdec38=_0x2cee0a,_0x1c6126=_0x448aba;_0x541f65=_0x2e2062,_0x3f9f10=_0x23fd08,_0x23fd08=_0x13eff4,_0x13eff4=_0x3f9f10;}if(0x3<=_0x541f65){for(_0x5b7aea=(_0x23fd08[_0x541f65-0x1]['x']-_0x23fd08[0x0]['x'])*(_0x23fd08[_0x541f65-0x1]['y']+_0x23fd08[0x0]['y']),_0x35c896=0x0;_0x35c896<_0x541f65-0x1;_0x35c896++)_0x5b7aea+=(_0x23fd08[_0x35c896]['x']-_0x23fd08[_0x35c896+0x1]['x'])*(_0x23fd08[_0x35c896]['y']+_0x23fd08[_0x35c896+0x1]['y']);}}return Math['abs'](0.5*_0x5b7aea);}}var _0x450ebb=_0x516c4a(0x15a31),_0x22faef=_0x516c4a(0xd8a8),_0x225a39=_0x516c4a(0x10d51),_0x225a39=_0x516c4a['n'](_0x225a39),_0x478ce8=_0x516c4a(0x2f9d),_0x23c3d0=_0x516c4a(0x25c5),_0x102afc=_0x516c4a['n'](_0x23c3d0),_0x36013a=_0x516c4a(0x43e9),_0x52863f=_0x516c4a(0x6214);_0x225a39()({'locateFile':(_0x2d38c9,_0x31fbce)=>_0x22faef['Z']})['then'](_0x11ff83=>{globalThis['SQLEngine']=_0x11ff83;}),globalThis['fv']=new class{constructor(){var _0xef7e31=_0x35dbcc;this['initEd']=!0x1,this[_0xef7e31(0xb9)]={},this['modelMeshInstancesIndexDataView']={},this[_0xef7e31(0xea)]={},this[_0xef7e31(0x17e)]={},this[_0xef7e31(0xbf)]={},this[_0xef7e31(0x11e)]=0x1,this[_0xef7e31(0x16b)]={},this[_0xef7e31(0x169)]={},this[_0xef7e31(0x11f)]=!0x1,this[_0xef7e31(0x159)]=!0x1,this['reSelect']=!0x1,this['modelId_indexDb']={},this[_0xef7e31(0x184)]={},this[_0xef7e31(0x15a)]=0x0,this['modelMeshInstancesCurrentIndex']=0x1,this[_0xef7e31(0x16e)]={'transparent':{},'opaque':{}},this[_0xef7e31(0xd9)]={},this[_0xef7e31(0x161)]=0x0,this[_0xef7e31(0x142)]=0x0,this[_0xef7e31(0xec)]=0x0,this['indexDbInsertMaxNum']=0x12c,this[_0xef7e31(0x17b)]=0x0,this[_0xef7e31(0xe1)]=0x0,this[_0xef7e31(0x15b)]=[0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0],this[_0xef7e31(0x182)]=!0x1,this['InitComponentData']={},this[_0xef7e31(0x129)]=(_0x3b6c40,_0x3c1d1e)=>{var _0x344b39=_0xef7e31;_0x3b6c40['each'](_0x344b39(0x104),_0xa6c2bc=>{var _0xf587a8=_0x344b39,_0xb60b54=new Float32Array(_0xa6c2bc[_0xf587a8(0xb5)]['buffer']),_0x339c8b=_0x5c5b05['y3'][_0xf587a8(0x14b)](_0xb60b54[0x0],_0xb60b54[0x1],_0xb60b54[0x2],0x0,_0xb60b54[0x3],_0xb60b54[0x4],_0xb60b54[0x5],0x0,_0xb60b54[0x6],_0xb60b54[0x7],_0xb60b54[0x8],0x0,_0xb60b54[0x9],_0xb60b54[0xa],_0xb60b54[0xb],0x1),_0xa2e7e5=_0x5c5b05['P']['FromArray'](_0xb60b54,0xc),_0xb60b54=_0x5c5b05['P']['FromArray'](_0xb60b54,0xf),_0xa2e7e5=new _0x1d3b7c['k'](_0xa2e7e5,_0xb60b54,_0x339c8b);this['btree']['AddEntity'](_0x3c1d1e,_0xa2e7e5['minimumWorld'],_0xa2e7e5[_0xf587a8(0x114)],_0xa6c2bc);});},this[_0xef7e31(0xcc)]=new _0x715e4e(this),_0x25751e['Z2'][_0xef7e31(0x178)](!0x0),globalThis['addEventListener'](_0xef7e31(0x12f),_0x4b68cf=>{var _0x195352=_0xef7e31;switch(_0x4b68cf['data']['msgType']){case'Init':for(var _0x532219 in(this[_0x195352(0xa5)]=new _0x450ebb['p'](_0x4b68cf[_0x195352(0xe6)][_0x195352(0xa5)]['dataStoreObject'],_0x4b68cf['data'][_0x195352(0xa5)][_0x195352(0x179)]),this[_0x195352(0xbd)]=new _0x36013a['T'](_0x4b68cf['data']['modelArrayBuff'],_0x4b68cf['data'][_0x195352(0x11c)]),this[_0x195352(0x101)]=_0x4b68cf[_0x195352(0xe6)][_0x195352(0x101)],this[_0x195352(0x164)]=new Int32Array(this[_0x195352(0x101)]),this[_0x195352(0x14d)]=_0x4b68cf['data'][_0x195352(0x14d)],this[_0x195352(0x14f)]=new Float32Array(this['modelMeshInstancesArrayBuff']),this[_0x195352(0x185)]=_0x4b68cf[_0x195352(0xe6)][_0x195352(0x185)],this[_0x195352(0x163)]=new Uint32Array(this['renderMemoryIdBuffer']),this[_0x195352(0xb9)]=_0x4b68cf['data']['modelMeshInstancesIndexArrayBuff'],this['modelMeshInstancesIndexArrayBuff']))this[_0x195352(0x168)][_0x532219]=new Uint32Array(this[_0x195352(0xb9)][_0x532219]);for(var _0x55033c in(this[_0x195352(0xea)]=_0x4b68cf[_0x195352(0xe6)][_0x195352(0xea)],this['modelComponentAttributeArrayBuff']))this[_0x195352(0x17e)][_0x55033c]=new Uint16Array(this[_0x195352(0xea)][_0x55033c]);this[_0x195352(0x120)]=_0x4b68cf['data']['expressTypeWeightsArrayBuff'],this[_0x195352(0x162)]=new Float32Array(this[_0x195352(0x120)]),this[_0x195352(0x10a)]=_0x4b68cf[_0x195352(0xe6)]['expressTypeVisibleDistanceArrayBuff'],this['expressTypeVisibleDistanceDataView']=new Uint32Array(this[_0x195352(0x10a)]),this['renderIndexModelIdAndInstancesIdBuffer']=_0x4b68cf['data'][_0x195352(0xd8)],this['renderIndexModelIdAndInstancesIdDataView']=new Int32Array(this[_0x195352(0xd8)]),this[_0x195352(0x161)]=Math[_0x195352(0xdc)](0.5*_0x4b68cf[_0x195352(0xe6)][_0x195352(0x125)]),this['opaqueLengthOffset']=this[_0x195352(0x161)]+Math[_0x195352(0xdc)](0.5*_0x4b68cf['data'][_0x195352(0xd5)]),this[_0x195352(0xec)]=0.2*this['opaqueLengthOffset'],this[_0x195352(0xf3)]=_0x4b68cf['data'][_0x195352(0x9a)]+_0x195352(0xf3),this['getComponent']=_0x4b68cf[_0x195352(0xe6)]['serverAddress']+'getComponent';for(var _0x35c66d of _0x4b68cf['data'][_0x195352(0x17c)]){var _0x193aa0=_0x35c66d['id'],_0x47b179=(this[_0x195352(0x16b)][_0x35c66d[_0x195352(0xdb)]]=_0x193aa0,this[_0x195352(0x169)][_0x193aa0]=_0x35c66d[_0x195352(0xdb)],_0x5c5b05['P'][_0x195352(0x15d)]((0x0,_0x478ce8['ux'])(_0x35c66d[_0x195352(0x108)][_0x195352(0x9e)]('\x20')))),_0xb1db0f=_0x5c5b05['P'][_0x195352(0x15d)]((0x0,_0x478ce8['ux'])(_0x35c66d[_0x195352(0xe8)][_0x195352(0x9e)]('\x20')));this['btree'][_0x195352(0xe7)](_0x193aa0,_0x47b179,_0xb1db0f,JSON[_0x195352(0xa7)](_0x35c66d[_0x195352(0xb6)])),delete _0x35c66d[_0x195352(0xb6)],_0x35c66d['transform']&&(Array[_0x195352(0xab)](_0x35c66d[_0x195352(0x100)])||(_0x35c66d[_0x195352(0x100)]=(0x0,_0x478ce8['ux'])(_0x35c66d[_0x195352(0x100)][_0x195352(0x9e)]('\x20'))),this[_0x195352(0xcc)][_0x195352(0x128)](_0x4b68cf['data']['modelId'],_0x5c5b05['y3'][_0x195352(0x15d)](_0x35c66d[_0x195352(0x100)])));}this[_0x195352(0x173)]();break;case _0x195352(0x128):this[_0x195352(0xcc)]['SetModelMatrix'](_0x4b68cf[_0x195352(0xe6)][_0x195352(0xcd)],_0x5c5b05['y3']['FromArray'](_0x4b68cf['data'][_0x195352(0xf8)])),this[_0x195352(0x182)]=!0x0;break;case _0x195352(0xc1):var _0x1ab75a=this[_0x195352(0xc1)](_0x4b68cf[_0x195352(0xe6)]['x1'],_0x4b68cf['data']['y1'],_0x4b68cf[_0x195352(0xe6)]['x2'],_0x4b68cf[_0x195352(0xe6)]['y2']);globalThis[_0x195352(0xce)]({'msgType':'dataCallBack','cbId':_0x4b68cf[_0x195352(0xe6)]['cbId'],'resolve':_0x1ab75a});}});}['Loop'](){var _0x36707d=_0x35dbcc,_0x2acd82,_0x3a722f;void 0x0!==globalThis[_0x36707d(0x17a)]&&!0x1===globalThis['fv'][_0x36707d(0x11f)]&&!0x1===globalThis['fv'][_0x36707d(0x159)]&&0x0===globalThis['fv'][_0x36707d(0x15a)]&&(globalThis['fv'][_0x36707d(0x167)]&&0x1===globalThis['fv'][_0x36707d(0x163)][0x6]||0x4===globalThis['fv'][_0x36707d(0x164)][0x3]?globalThis['fv'][_0x36707d(0x105)]():(_0x2acd82=[globalThis['fv']['sharedData'][_0x36707d(0xe9)][0x0]-globalThis['fv'][_0x36707d(0x15b)][0x0],globalThis['fv']['sharedData'][_0x36707d(0xe9)][0x1]-globalThis['fv'][_0x36707d(0x15b)][0x1],globalThis['fv']['sharedData'][_0x36707d(0xe9)][0x2]-globalThis['fv']['cacheCamera'][0x2],globalThis['fv'][_0x36707d(0xa5)]['worldDirection'][0x0]-globalThis['fv'][_0x36707d(0x15b)][0x3],globalThis['fv'][_0x36707d(0xa5)][_0x36707d(0xc6)][0x1]-globalThis['fv']['cacheCamera'][0x4],globalThis['fv'][_0x36707d(0xa5)]['worldDirection'][0x2]-globalThis['fv'][_0x36707d(0x15b)][0x5],globalThis['fv'][_0x36707d(0xa5)][_0x36707d(0xa4)][0x0]-globalThis['fv'][_0x36707d(0x15b)][0x6],globalThis['fv'][_0x36707d(0xa5)][_0x36707d(0xa4)][0x1]-globalThis['fv'][_0x36707d(0x15b)][0x7],globalThis['fv'][_0x36707d(0xa5)][_0x36707d(0xa4)][0x2]-globalThis['fv'][_0x36707d(0x15b)][0x8]],_0x3a722f=0.00001,0.01_0x3a722f||Math[_0x36707d(0xc9)](_0x2acd82[0x4])>_0x3a722f||Math[_0x36707d(0xc9)](_0x2acd82[0x5])>_0x3a722f||Math[_0x36707d(0xc9)](_0x2acd82[0x6])>_0x3a722f||Math[_0x36707d(0xc9)](_0x2acd82[0x7])>_0x3a722f||Math[_0x36707d(0xc9)](_0x2acd82[0x8])>_0x3a722f?(globalThis['fv'][_0x36707d(0x15b)][0x0]=globalThis['fv'][_0x36707d(0xa5)]['cameraWorldPosition'][0x0],globalThis['fv']['cacheCamera'][0x1]=globalThis['fv']['sharedData'][_0x36707d(0xe9)][0x1],globalThis['fv'][_0x36707d(0x15b)][0x2]=globalThis['fv'][_0x36707d(0xa5)][_0x36707d(0xe9)][0x2],globalThis['fv'][_0x36707d(0x15b)][0x3]=globalThis['fv'][_0x36707d(0xa5)][_0x36707d(0xc6)][0x0],globalThis['fv']['cacheCamera'][0x4]=globalThis['fv'][_0x36707d(0xa5)][_0x36707d(0xc6)][0x1],globalThis['fv'][_0x36707d(0x15b)][0x5]=globalThis['fv'][_0x36707d(0xa5)][_0x36707d(0xc6)][0x2],globalThis['fv'][_0x36707d(0x15b)][0x6]=globalThis['fv'][_0x36707d(0xa5)][_0x36707d(0xa4)][0x0],globalThis['fv'][_0x36707d(0x15b)][0x7]=globalThis['fv'][_0x36707d(0xa5)][_0x36707d(0xa4)][0x1],globalThis['fv'][_0x36707d(0x15b)][0x8]=globalThis['fv'][_0x36707d(0xa5)][_0x36707d(0xa4)][0x2],globalThis['fv'][_0x36707d(0xa5)][_0x36707d(0x151)]++,globalThis['fv'][_0x36707d(0x105)]()):globalThis['fv']['modelMaterixChange']?(globalThis['fv'][_0x36707d(0x182)]=!0x1,globalThis['fv'][_0x36707d(0x105)]()):globalThis['fv'][_0x36707d(0x163)][0x8]!==globalThis['fv'][_0x36707d(0xe1)]&&(globalThis['fv'][_0x36707d(0xe1)]=globalThis['fv'][_0x36707d(0x163)][0x8],globalThis['fv']['dieOutSelection']()))),setTimeout(globalThis['fv'][_0x36707d(0x13e)],0x8);}[_0x35dbcc(0x173)](){var _0x3b17b8=_0x35dbcc;!this[_0x3b17b8(0xdf)]&&this[_0x3b17b8(0xa5)]&&(this[_0x3b17b8(0xdf)]=!0x0,globalThis[_0x3b17b8(0xce)]({'msgType':_0x3b17b8(0xc8)}),this[_0x3b17b8(0x13e)]());}[_0x35dbcc(0xe0)](_0x55842b){var _0x3651f6=_0x35dbcc;if(this[_0x3651f6(0x184)][_0x55842b]={},0x1===this[_0x3651f6(0xa5)][_0x3651f6(0xe2)]){this[_0x3651f6(0x15a)]++;let _0x3d4fe3=indexedDB['open'](this[_0x3651f6(0x169)][_0x55842b]);_0x3d4fe3[_0x3651f6(0x14c)]=_0x85ce59=>_0x52863f[_0x3651f6(0xa6)]('数据库:打开失败',_0x85ce59),_0x3d4fe3['onupgradeneeded']=_0x2fa156=>{var _0x55b928=_0x3651f6;_0x2fa156[_0x55b928(0xf7)]['result'][_0x55b928(0xd2)][_0x55b928(0x144)](_0x55b928(0xad))||_0x2fa156[_0x55b928(0xf7)]['result'][_0x55b928(0x11b)]('mesh',{'autoIncrement':!0x1,'keyPath':'id'}),_0x2fa156[_0x55b928(0xf7)]['result'][_0x55b928(0xd2)][_0x55b928(0x144)](_0x55b928(0x132))||_0x2fa156[_0x55b928(0xf7)][_0x55b928(0xd3)][_0x55b928(0x11b)]('instances',{'autoIncrement':!0x1,'keyPath':'treeId'});},_0x3d4fe3[_0x3651f6(0x14e)]=_0xe718a=>{var _0x343fc6=_0x3651f6;this['modelId_indexDb'][_0x55842b]=_0xe718a['target'][_0x343fc6(0xd3)];let _0x54d5db=_0xe718a[_0x343fc6(0xf7)]['result']['transaction'](_0x343fc6(0x132),'readonly')[_0x343fc6(0xb1)](_0x343fc6(0x132)),_0x186a5e=_0x54d5db[_0x343fc6(0x13b)]();_0x186a5e['onsuccess']=_0x4df55e=>{var _0x5b188f=_0x343fc6,_0x116702;for(_0x116702 of _0x4df55e[_0x5b188f(0xf7)][_0x5b188f(0xd3)])this[_0x5b188f(0x184)][_0x55842b][_0x116702]=void 0x0;this[_0x5b188f(0x15a)]--;},globalThis[_0x343fc6(0xce)]({'msgType':'InitModel','modelId':_0x55842b});};}else globalThis[_0x3651f6(0xce)]({'msgType':_0x3651f6(0xfa),'modelId':_0x55842b});globalThis[_0x3651f6(0x17a)]&&_0x102afc()[_0x3651f6(0x98)](this['getComponent'],{'responseType':_0x3651f6(0x126),'params':{'modelId':_0x55842b}})[_0x3651f6(0x121)](_0x3cb29d=>{var _0x289b27=_0x3651f6;let _0x21a39c=new globalThis[(_0x289b27(0x17a))][(_0x289b27(0xf0))](new Uint8Array(_0x3cb29d[_0x289b27(0xe6)]),!0x0);_0x21a39c[_0x289b27(0x175)]('select\x20id,storey,expressType\x20from\x20component\x20',_0x1523ff=>{var _0xd692a7=_0x289b27;this[_0xd692a7(0x17e)][_0x55842b][0x2*_0x1523ff['id']]=_0x1523ff['storey'],this['modelComponentAttributeDataView'][_0x55842b][0x2*_0x1523ff['id']+0x1]=_0x1523ff[_0xd692a7(0x119)];}),this[_0x289b27(0xa5)][_0x289b27(0xe2)],_0x21a39c[_0x289b27(0xae)](),this[_0x289b27(0x106)][_0x55842b]=void 0x0;});}[_0x35dbcc(0x105)](){var _0x220421=_0x35dbcc;if(this[_0x220421(0x167)]=!0x1,0x0!==this[_0x220421(0xa5)][_0x220421(0x10b)][0xf]){var _0xfa9352,_0x29f4fd,_0x308c71,_0x49bcc9,_0x14231b,_0x4b7616=_0x5c5b05['y3']['FromArray'](this[_0x220421(0xa5)][_0x220421(0x10b)]),_0x4e219f=_0x5c5b05['y3'][_0x220421(0x15d)](this[_0x220421(0xa5)][_0x220421(0xa3)]),_0x46d86b=_0x5c5b05['P'][_0x220421(0x15d)](this['sharedData']['cameraWorldPosition']),_0xfb05d=this['btree'][_0x220421(0x156)](_0x4b7616,_0x4e219f,_0x46d86b);for(_0xfa9352 in(this[_0x220421(0x16e)]={'transparent':{},'opaque':{}},this[_0x220421(0xd9)]={},this['modelMeshInstancesIndexDataView']))this[_0x220421(0x168)][_0xfa9352][0x0]=0x0;let _0x42049b={};for(_0x29f4fd in _0xfb05d)if(this[_0x220421(0x106)][_0x220421(0x13d)](_0x29f4fd)){if(this[_0x220421(0x168)][_0x29f4fd][0x0]=0x1,this[_0x220421(0xbf)][_0x220421(0x13d)](_0x29f4fd))for(var _0x1d0def in _0xfb05d[_0x29f4fd]){var _0x1cf6f2=_0xfb05d[_0x29f4fd][_0x1d0def];this['ComputeBlockIdInstancesProjectionArea'](_0x29f4fd,_0x1d0def,_0x1cf6f2,this[_0x220421(0x16e)]),0x0!==_0x1cf6f2[_0x220421(0xdd)]&&(!this[_0x220421(0xcc)][_0x220421(0xb4)][_0x1cf6f2[_0x220421(0xcd)]][_0x220421(0x13d)](_0x1cf6f2['id'])||Object[_0x220421(0x152)](this[_0x220421(0xcc)][_0x220421(0xb4)][_0x1cf6f2['modelId']][_0x1cf6f2['id']])[_0x220421(0x139)]<_0x1cf6f2[_0x220421(0xdd)])&&this[_0x220421(0x146)](_0x1cf6f2,this[_0x220421(0xd9)]);}else this[_0x220421(0xbf)][_0x29f4fd]=void 0x0,_0x42049b[_0x29f4fd]=[];}this['ComputeRenderShellInstancesProjectionArea'](_0x4e219f,_0x46d86b,this[_0x220421(0x16e)]);let _0x4f6620=[0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0],_0x115381=!0x0;for(_0x308c71 in this[_0x220421(0xcc)][_0x220421(0x137)])0x0!==this['btree'][_0x220421(0x137)][_0x308c71]['frustumIntersect']&&(_0x49bcc9=this[_0x220421(0xcc)][_0x220421(0x137)][_0x308c71][_0x220421(0x10f)],_0x14231b=this[_0x220421(0xcc)][_0x220421(0x137)][_0x308c71][_0x220421(0xfc)],_0x115381?(_0x115381=!0x1,_0x4f6620[0x0]=_0x49bcc9['x'],_0x4f6620[0x1]=_0x49bcc9['y'],_0x4f6620[0x2]=_0x49bcc9['z'],_0x4f6620[0x3]=_0x14231b['x'],_0x4f6620[0x4]=_0x14231b['y'],_0x4f6620[0x5]=_0x14231b['z']):(_0x4f6620[0x0]=Math[_0x220421(0x138)](_0x4f6620[0x0],_0x49bcc9['x']),_0x4f6620[0x1]=Math[_0x220421(0x138)](_0x4f6620[0x1],_0x49bcc9['y']),_0x4f6620[0x2]=Math[_0x220421(0x138)](_0x4f6620[0x2],_0x49bcc9['z']),_0x4f6620[0x3]=Math[_0x220421(0x16a)](_0x4f6620[0x3],_0x14231b['x']),_0x4f6620[0x4]=Math[_0x220421(0x16a)](_0x4f6620[0x4],_0x14231b['y']),_0x4f6620[0x5]=Math['max'](_0x4f6620[0x5],_0x14231b['z'])));this[_0x220421(0xa5)][_0x220421(0x109)]||(_0x4f6620[0x6]=(_0x4f6620[0x3]-_0x4f6620[0x0])/0x2+_0x4f6620[0x0],_0x4f6620[0x7]=(_0x4f6620[0x4]-_0x4f6620[0x1])/0x2+_0x4f6620[0x1],_0x4f6620[0x8]=(_0x4f6620[0x5]-_0x4f6620[0x2])/0x2+_0x4f6620[0x2],_0x4f6620[0x0]-=_0x4f6620[0x6],_0x4f6620[0x1]-=_0x4f6620[0x7],_0x4f6620[0x2]-=_0x4f6620[0x8],_0x4f6620[0x3]-=_0x4f6620[0x6],_0x4f6620[0x4]-=_0x4f6620[0x7],_0x4f6620[0x5]-=_0x4f6620[0x8]),_0x4b7616=this[_0x220421(0xa5)][_0x220421(0x166)],(_0x4b7616[0x0]===_0x4f6620[0x0]&&_0x4b7616[0x1]===_0x4f6620[0x1]&&_0x4b7616[0x2]===_0x4f6620[0x2]&&_0x4b7616[0x3]===_0x4f6620[0x3]&&_0x4b7616[0x4]===_0x4f6620[0x4]&&_0x4b7616[0x5]===_0x4f6620[0x5]||(_0x4f6620[0x9]=0x1,this['sharedData'][_0x220421(0x166)]['set'](_0x4f6620)),this['ComputeAllowRenderInstances'](),0x1===this[_0x220421(0xa5)][_0x220421(0xe2)]&&0x0!==this[_0x220421(0x15a)]||this['RequestMeshInstance'](_0x42049b));}}['dieOutSelection'](){var _0x47a64b=_0x35dbcc;let _0x13f7f6=0x0,_0x423400=this['allowRenderInstancesDataView'][0x3]-0x2;for(;0x4<_0x423400;_0x423400-=0x2){var _0x374fcc=this[_0x47a64b(0x168)][this[_0x47a64b(0x164)][_0x423400]][this[_0x47a64b(0x164)][_0x423400+0x1]];if(0x1===this[_0x47a64b(0x14f)][_0x374fcc+0x1d]&&this[_0x47a64b(0x163)][0x9]!==this[_0x47a64b(0x14f)][_0x374fcc+0x1f]){if(this[_0x47a64b(0x14f)][_0x374fcc+0x1f]=-this['renderMemoryIdDataView'][0x9],this[_0x47a64b(0xec)]<_0x13f7f6)break;_0x13f7f6+=this[_0x47a64b(0x14f)][_0x374fcc+0x18];}}this[_0x47a64b(0x127)](),this[_0x47a64b(0x158)]();}['ComputeAllowRenderInstances'](){var _0x889a0e=_0x35dbcc;if(0x0!==this['allowRenderInstancesDataView'][0x0])setTimeout(()=>{var _0x28feb3=a3_0x39f9;this[_0x28feb3(0x127)]();},0x64);else{this['allowRenderInstancesDataView'][0x0]=0x2,this[_0x889a0e(0x11e)]++,0x5b8d80===this['frustumNo']&&(this[_0x889a0e(0x11e)]=0x1),this['renderMemoryIdDataView'][0x6]=0x0,this[_0x889a0e(0x163)][0xa]=0x0,this[_0x889a0e(0x164)][0x1]=0x0,this[_0x889a0e(0x164)][0x2]=0x0,this[_0x889a0e(0x164)][0x3]=0x0;let _0x5ee956={'projectionAreaOrderObj':this['projectionAreaModelIdInstancesId'][_0x889a0e(0x176)],'offset':0x4,'renderListMemoryLength':0x0,'renderListMemoryLengthMax':this[_0x889a0e(0x161)],'opaque':!0x1};_0x5ee956[_0x889a0e(0x157)]=this[_0x889a0e(0x161)],_0x5ee956[_0x889a0e(0x136)]=this['projectionAreaModelIdInstancesId']['transparent'],_0x5ee956[_0x889a0e(0xd0)]=!0x1,this[_0x889a0e(0x17d)](_0x5ee956),this[_0x889a0e(0x164)][0x2]=_0x5ee956[_0x889a0e(0xa2)],_0x5ee956[_0x889a0e(0x157)]=this[_0x889a0e(0x142)],_0x5ee956[_0x889a0e(0x136)]=this[_0x889a0e(0x16e)][_0x889a0e(0xd0)],_0x5ee956[_0x889a0e(0xd0)]=!0x0,this[_0x889a0e(0x17d)](_0x5ee956),this[_0x889a0e(0x164)][0x1]=this['frustumNo'],this[_0x889a0e(0x164)][0x3]=_0x5ee956[_0x889a0e(0xa2)],_0x5ee956['offset'],this[_0x889a0e(0x164)]['length'],this[_0x889a0e(0x164)][0x0]=0x0;}}[_0x35dbcc(0x17d)](_0x21cb31){var _0x3133de=_0x35dbcc;let _0x40a485=!0x1;for(var _0x3a61d5 in _0x21cb31['projectionAreaOrderObj']){var _0x4c0548,_0x495424=~~_0x3a61d5;for(_0x4c0548 in _0x21cb31[_0x3133de(0x136)][_0x495424]){var _0x3a7b80,_0x2f5bb2=~~_0x4c0548;for(_0x3a7b80 in _0x21cb31[_0x3133de(0x136)][_0x495424][_0x2f5bb2]){var _0x21f33a=~~_0x3a7b80,_0x1cdbbb=this[_0x3133de(0x168)][_0x2f5bb2][_0x21f33a];if((0x0===this[_0x3133de(0x163)][0x9]||this[_0x3133de(0x14f)][_0x1cdbbb+0x1f]!==-this[_0x3133de(0x163)][0x9]||!_0x21cb31['opaque'])&&(this[_0x3133de(0x14f)][_0x1cdbbb+0x1e]=this[_0x3133de(0x11e)],this[_0x3133de(0x164)][_0x21cb31[_0x3133de(0xa2)]]=_0x2f5bb2,this['allowRenderInstancesDataView'][_0x21cb31[_0x3133de(0xa2)]+0x1]=_0x21f33a,_0x21cb31[_0x3133de(0xb0)]+=this[_0x3133de(0x14f)][_0x1cdbbb+0x18],_0x21cb31[_0x3133de(0xa2)]+=0x2,_0x21cb31[_0x3133de(0xb0)]>_0x21cb31['renderListMemoryLengthMax'])){_0x40a485=!0x0;break;}}if(_0x40a485)break;}if(_0x40a485)break;}!_0x40a485&&_0x21cb31[_0x3133de(0xd0)]&&(this[_0x3133de(0x163)][0xa]=0x1);}[_0x35dbcc(0xc7)](){var _0x2e02f7=_0x35dbcc;let _0x3cb6b2={},_0x316fb9={},_0xdd0938=0x0,_0x53c651=0x0;for(var _0x19bc31 in this['projectionAreaModelIdBlock'])for(var _0x4766e2 in this[_0x2e02f7(0xd9)][_0x19bc31])for(var _0x4e83f3 in this[_0x2e02f7(0xd9)][_0x19bc31][_0x4766e2])if(this[_0x2e02f7(0x184)][_0x4766e2][_0x2e02f7(0x13d)](_0x4e83f3)?(_0x316fb9[_0x2e02f7(0x13d)](_0x4766e2)||(_0x316fb9[_0x4766e2]=[]),_0x316fb9[_0x4766e2][_0x2e02f7(0x148)](_0x4e83f3),_0x53c651+=this['projectionAreaModelIdBlock'][_0x19bc31][_0x4766e2][_0x4e83f3][_0x2e02f7(0xdd)]):(_0x3cb6b2[_0x2e02f7(0x13d)](_0x4766e2)||(_0x3cb6b2[_0x4766e2]=[]),_0x3cb6b2[_0x4766e2][_0x2e02f7(0x148)](~~_0x4e83f3),_0xdd0938+=this[_0x2e02f7(0xd9)][_0x19bc31][_0x4766e2][_0x4e83f3]['entityCount']),0x4e20<_0xdd0938||0x13880<_0x53c651)return{'server_modelId_treeIds_List':_0x3cb6b2,'indexDb_modelId_treeIds_List':_0x316fb9,'server_Count':_0xdd0938,'indexDb_Count':_0x53c651};return{'server_modelId_treeIds_List':_0x3cb6b2,'indexDb_modelId_treeIds_List':_0x316fb9,'server_Count':_0xdd0938,'indexDb_Count':_0x53c651};}[_0x35dbcc(0x158)](_0x408955){var _0x28fa68=_0x35dbcc;let _0x53bd14={'server_modelId_treeIds_List':{},'indexDb_modelId_treeIds_List':{},'server_Count':0x0,'indexDb_Count':0x0};if(_0x408955&&Object[_0x28fa68(0x152)](_0x408955)[_0x28fa68(0x139)]?(_0x53bd14[_0x28fa68(0x12a)]=0x1,_0x53bd14[_0x28fa68(0x115)]=_0x408955):_0x53bd14=this[_0x28fa68(0xc7)](),0x0!==_0x53bd14[_0x28fa68(0x12a)]&&(this['requestingServer']=!0x0,_0x102afc()[_0x28fa68(0xfe)](this[_0x28fa68(0xf3)],{'ids':_0x53bd14[_0x28fa68(0x115)]},{'responseType':'arraybuffer'})[_0x28fa68(0x121)](_0x2395f2=>{var _0x43195e=_0x28fa68;let _0x444988={},_0x215b88=new globalThis[(_0x43195e(0x17a))][(_0x43195e(0xf0))](new Uint8Array(_0x2395f2[_0x43195e(0xe6)]),!0x0);if(_0x215b88[_0x43195e(0x175)]('select\x20*\x20from\x20meshInstances\x20',_0x330dd6=>{var _0x4da9d4=_0x43195e;_0x330dd6[_0x4da9d4(0xb5)]=new Float32Array(_0x330dd6[_0x4da9d4(0xb5)][_0x4da9d4(0x15f)]);var _0x523886=_0x330dd6[_0x4da9d4(0xcd)];delete _0x330dd6[_0x4da9d4(0xcd)],this[_0x4da9d4(0xc5)](_0x523886,_0x330dd6),_0x444988[_0x4da9d4(0x13d)](_0x523886)||(_0x444988[_0x523886]={}),_0x444988[_0x523886][_0x4da9d4(0x13d)](_0x330dd6[_0x4da9d4(0x13a)])||(_0x444988[_0x523886][_0x330dd6[_0x4da9d4(0x13a)]]=[]),_0x444988[_0x523886][_0x330dd6['treeId']][_0x4da9d4(0x148)](_0x330dd6);}),0x1===this[_0x43195e(0xa5)][_0x43195e(0xe2)]){let _0x4a837c={};for(var _0x2d856f in _0x444988){_0x4a837c['hasOwnProperty'](_0x2d856f)||(_0x4a837c[_0x2d856f]=this[_0x43195e(0x10c)][_0x2d856f]['transaction']('instances',_0x43195e(0xe5))[_0x43195e(0xb1)]('instances'));for(let _0x15d436 in _0x444988[_0x2d856f])if(this[_0x43195e(0x17b)]_0x52863f[_0x43195e(0xa6)]('数据库:instances写入失败',_0x2c80e1),_0x1e8f11[_0x43195e(0x14e)]=_0x997355=>{var _0x533110=_0x43195e;_0x997355=this[_0x533110(0x16b)][_0x997355[_0x533110(0xf7)][_0x533110(0x131)]['db'][_0x533110(0xac)]],(this[_0x533110(0x184)][_0x997355][_0x15d436]=void 0x0,this[_0x533110(0x17b)]--);};}}}_0x215b88[_0x43195e(0xae)](),this['requestingServer']=!0x1,this[_0x43195e(0x167)]=!0x0;},()=>{this['requestingServer']=!0x1,this['reSelect']=!0x0;})),0x0!==_0x53bd14[_0x28fa68(0x13c)]){this['requestingIndexDb']=!0x0;let _0x1862f5={};for(var _0x598d34 in _0x53bd14[_0x28fa68(0xc4)]){let _0x32e2a5=0x0;for(var _0x355a9f of _0x53bd14[_0x28fa68(0xc4)][_0x598d34]){_0x1862f5['hasOwnProperty'](_0x598d34)||(_0x1862f5[_0x598d34]=this[_0x28fa68(0x10c)][_0x598d34][_0x28fa68(0x131)](_0x28fa68(0x132),_0x28fa68(0x180))[_0x28fa68(0xb1)](_0x28fa68(0x132)));let _0x41fdce=_0x1862f5[_0x598d34]['get'](parseInt(_0x355a9f));_0x41fdce[_0x28fa68(0x14c)]=_0x969574=>_0x52863f[_0x28fa68(0xa6)]('数据库:instances读取失败',_0x969574),_0x41fdce[_0x28fa68(0x14e)]=_0x5a25ef=>{var _0x1f6ae0=_0x28fa68,_0x169939,_0x519d78=this[_0x1f6ae0(0x16b)][_0x5a25ef[_0x1f6ae0(0xf7)][_0x1f6ae0(0x131)]['db'][_0x1f6ae0(0xac)]];for(_0x169939 of _0x5a25ef['target'][_0x1f6ae0(0xd3)]['instances'])this['BuildMeshInstances'](_0x519d78,_0x169939);_0x32e2a5++,_0x53bd14['indexDb_modelId_treeIds_List'][_0x519d78][_0x1f6ae0(0x139)]==_0x32e2a5&&(this[_0x1f6ae0(0x11f)]=!0x1,this[_0x1f6ae0(0x167)]=!0x0);};}}}}[_0x35dbcc(0xc5)](_0x4efd0b,_0x4940a8){var _0x4a72f7=_0x35dbcc;if(!this[_0x4a72f7(0xcc)][_0x4a72f7(0xb4)][_0x4efd0b][_0x4a72f7(0x13d)](_0x4940a8['treeId'])||!this['btree'][_0x4a72f7(0xb4)][_0x4efd0b][_0x4940a8[_0x4a72f7(0x13a)]][_0x4a72f7(0x13d)](_0x4940a8['id'])){for(;0x0!==this[_0x4a72f7(0x14f)][this[_0x4a72f7(0x174)]];){for(;0x0!==this[_0x4a72f7(0x164)][0x0];);if(this[_0x4a72f7(0x14f)][this[_0x4a72f7(0x174)]+0x1e]!==this['frustumNo']&&0x0===this['modelMeshInstancesDataView'][this[_0x4a72f7(0x174)]+0x1c]){var _0x410dd8=this[_0x4a72f7(0x14f)][this['modelMeshInstancesCurrentIndex']],_0x5aef20=this['modelMeshInstancesDataView'][this[_0x4a72f7(0x174)]+0x1],_0x71d992=this[_0x4a72f7(0x14f)][this[_0x4a72f7(0x174)]+0x2];this['modelMeshInstancesIndexDataView'][_0x410dd8][_0x5aef20]=0x0,this[_0x4a72f7(0xcc)][_0x4a72f7(0xb4)][_0x410dd8]&&this['btree'][_0x4a72f7(0xb4)][_0x410dd8][_0x71d992]&&delete this['btree']['modelIdBlockIdInstances'][_0x410dd8][_0x71d992][_0x5aef20];break;}this[_0x4a72f7(0x174)]+=_0x478ce8['uY'],this[_0x4a72f7(0x174)]===this[_0x4a72f7(0x14f)][_0x4a72f7(0x139)]&&(this[_0x4a72f7(0x174)]=0x1);}var _0x2af74c=_0x4940a8[_0x4a72f7(0xb5)];this[_0x4a72f7(0x168)][_0x4efd0b][_0x4940a8['id']]=this[_0x4a72f7(0x174)],this['modelMeshInstancesDataView'][_0x4a72f7(0x154)]([_0x4efd0b,_0x4940a8['id'],_0x4940a8[_0x4a72f7(0x13a)],..._0x2af74c,_0x4940a8[_0x4a72f7(0x130)],_0x4940a8[_0x4a72f7(0x145)],_0x4940a8[_0x4a72f7(0xe3)],_0x4940a8[_0x4a72f7(0xf4)],_0x4940a8[_0x4a72f7(0x153)],0x1,-0x1,0x0,0x0,0x0,0x0,_0x4940a8['isShell']],this[_0x4a72f7(0x174)]),this[_0x4a72f7(0xcc)][_0x4a72f7(0xb4)][_0x4efd0b][_0x4a72f7(0x13d)](_0x4940a8[_0x4a72f7(0x13a)])||(this[_0x4a72f7(0xcc)][_0x4a72f7(0xb4)][_0x4efd0b][_0x4940a8['treeId']]={}),this[_0x4a72f7(0xcc)]['modelIdBlockIdInstances'][_0x4efd0b][_0x4940a8[_0x4a72f7(0x13a)]][_0x4940a8['id']]=void 0x0,this[_0x4a72f7(0x174)]+=_0x478ce8['uY'],this[_0x4a72f7(0x174)]===this['modelMeshInstancesDataView']['length']&&(this['modelMeshInstancesCurrentIndex']=0x1);}}['ComputeBlockIdInstancesProjectionArea'](_0x448956,_0x918ec8,_0x26a62e,_0x5c39ad){var _0x3226c3=_0x35dbcc;for(var _0x5ccc9c in this[_0x3226c3(0xcc)][_0x3226c3(0xb4)][_0x448956][_0x918ec8]){var _0x28eaa9=this[_0x3226c3(0x168)][_0x448956][_0x5ccc9c];if(0x0!==_0x28eaa9&&(0x1!==this['sharedData'][_0x3226c3(0x102)]||0x0!==this[_0x3226c3(0x14f)][_0x28eaa9+0x20])){var _0xc92516=this[_0x3226c3(0x14f)][_0x28eaa9+0x17];if(!(this['modelMeshInstancesDataView'][_0x28eaa9+0x18]>this[_0x3226c3(0xa5)][_0x3226c3(0xda)])){var _0x455f2d=this['modelMeshInstancesDataView'][_0x28eaa9+0x15],_0x23e487=this[_0x3226c3(0x16d)][this['modelComponentAttributeDataView'][_0x448956][0x2*_0x455f2d+0x1]];if(0x1!==_0x23e487){var _0x4b4898=_0x5c5b05['P'][_0x3226c3(0x15d)](this[_0x3226c3(0x14f)],_0x28eaa9+0xf);let _0x2da3f7=_0x5c5b05['P']['FromArray'](this[_0x3226c3(0x14f)],_0x28eaa9+0x12);if(0x0!==_0x23e487||0x0!==this['expressTypeVisibleDistanceDataView'][0x0]&&0x0===this[_0x3226c3(0x14f)][_0x28eaa9+0x20]){var _0x4610cc=_0x5c5b05['P']['Zero'](),_0x91812b=_0x5c5b05['P'][_0x3226c3(0x12b)](),_0x4610cc=(_0x2da3f7[_0x3226c3(0x124)](_0x4b4898,_0x4610cc)['scaleInPlace'](0.5),_0x2da3f7[_0x3226c3(0xba)](_0x4b4898,_0x91812b)[_0x3226c3(0xaa)](0.5),_0x498984[_0x3226c3(0x172)](_0x4610cc,_0x91812b,this['btree'][_0x3226c3(0x171)][_0x448956]));if(0x0!==_0x23e487&&_0x23e487<_0x4610cc)continue;if(0x0!==this[_0x3226c3(0x16d)][0x0]&&0x0===this[_0x3226c3(0x14f)][_0x28eaa9+0x20]&&this['expressTypeVisibleDistanceDataView'][0x0]<_0x4610cc)continue;}let _0x5d179b=this['btree'][_0x3226c3(0x118)](this[_0x3226c3(0xcc)][_0x3226c3(0x181)][_0x448956],_0x4b4898,_0x2da3f7,0x2===_0x26a62e[_0x3226c3(0x122)],this[_0x3226c3(0xcc)]['currentModelCameraPosition'][_0x448956]);_0x5d179b,0x0!==this[_0x3226c3(0x14f)][_0x28eaa9+0x20]?(this[_0x3226c3(0x14f)][_0x28eaa9+0x20]=0x1,_0x5d179b*=0x6):0x0{_0x2f01b8['d'](_0x527032,{'uY':()=>_0x36890e,'ux':()=>function(_0x753b59){var _0x2dff0d=a3_0x39f9;for(let _0x4f81c6=0x0;_0x4f81c6<_0x753b59[_0x2dff0d(0x139)];_0x4f81c6++)_0x753b59[_0x4f81c6]=parseFloat(_0x753b59[_0x4f81c6]);return _0x753b59;}}),_0x2f01b8(0x6214);const _0x36890e=0x21;}},_0x4a8edf={},_0x4a3bf4['m']=_0x117749,_0x4a3bf4['x']=()=>{var _0x34e90c=_0x4a3bf4['O'](void 0x0,[0x1f6,0x1f3,0x162,0x2c9],()=>_0x4a3bf4(0x5d49));return _0x4a3bf4['O'](_0x34e90c);},_0x40ee90=[],_0x4a3bf4['O']=(_0x2b6f8a,_0x39a29d,_0x1202a2,_0x56b7ad)=>{var _0x29fe2b=a3_0x39f9;if(!_0x39a29d){for(var _0x48a244=Infinity,_0x2101c1=0x0;_0x2101c1<_0x40ee90[_0x29fe2b(0x139)];_0x2101c1++){for(var _0x4b7d57,[_0x39a29d,_0x1202a2,_0x56b7ad]=_0x40ee90[_0x2101c1],_0x227ece=!0x0,_0x3fa8ed=0x0;_0x3fa8ed<_0x39a29d[_0x29fe2b(0x139)];_0x3fa8ed++)(!0x1&_0x56b7ad||_0x56b7ad<=_0x48a244)&&Object[_0x29fe2b(0x152)](_0x4a3bf4['O'])['every'](_0x411818=>_0x4a3bf4['O'][_0x411818](_0x39a29d[_0x3fa8ed]))?_0x39a29d[_0x29fe2b(0x11d)](_0x3fa8ed--,0x1):(_0x227ece=!0x1,_0x56b7ad<_0x48a244&&(_0x48a244=_0x56b7ad));_0x227ece&&(_0x40ee90[_0x29fe2b(0x11d)](_0x2101c1--,0x1),void 0x0!==(_0x4b7d57=_0x1202a2())&&(_0x2b6f8a=_0x4b7d57));}return _0x2b6f8a;}_0x56b7ad=_0x56b7ad||0x0;for(_0x2101c1=_0x40ee90[_0x29fe2b(0x139)];0x0<_0x2101c1&&_0x40ee90[_0x2101c1-0x1][0x2]>_0x56b7ad;_0x2101c1--)_0x40ee90[_0x2101c1]=_0x40ee90[_0x2101c1-0x1];_0x40ee90[_0x2101c1]=[_0x39a29d,_0x1202a2,_0x56b7ad];},_0x4a3bf4['n']=_0x4899fb=>{var _0x19cf6b=a3_0x39f9,_0x17a449=_0x4899fb&&_0x4899fb[_0x19cf6b(0xb2)]?()=>_0x4899fb[_0x19cf6b(0x170)]:()=>_0x4899fb;return _0x4a3bf4['d'](_0x17a449,{'a':_0x17a449}),_0x17a449;},_0x4a3bf4['d']=(_0x59eae1,_0x4fe4d2)=>{var _0x41f96a=a3_0x39f9;for(var _0xa7b907 in _0x4fe4d2)_0x4a3bf4['o'](_0x4fe4d2,_0xa7b907)&&!_0x4a3bf4['o'](_0x59eae1,_0xa7b907)&&Object[_0x41f96a(0x14a)](_0x59eae1,_0xa7b907,{'enumerable':!0x0,'get':_0x4fe4d2[_0xa7b907]});},_0x4a3bf4['f']={},_0x4a3bf4['e']=_0x18924a=>Promise[_0x587dfa(0x113)](Object['keys'](_0x4a3bf4['f'])[_0x587dfa(0x12d)]((_0x4eab66,_0x429192)=>(_0x4a3bf4['f'][_0x429192](_0x18924a,_0x4eab66),_0x4eab66),[])),_0x4a3bf4['u']=_0x31d37=>({0x162:_0x587dfa(0x17f),0x1f3:_0x587dfa(0xcb),0x1f6:_0x587dfa(0x133),0x2c9:'48d66b8f8e45a954def3'}[_0x31d37]+_0x587dfa(0x143)),_0x4a3bf4['g']=(function(){var _0x41870c=_0x587dfa;if(_0x41870c(0xb7)==typeof globalThis)return globalThis;try{return this||new Function(_0x41870c(0x15e))();}catch(_0x371299){if('object'==typeof window)return window;}}()),_0x4a3bf4['o']=(_0x21f07b,_0x5289f8)=>Object[_0x587dfa(0x11a)]['hasOwnProperty']['call'](_0x21f07b,_0x5289f8),_0x4a3bf4[_0x587dfa(0xf2)]=_0x353a71=>(_0x353a71[_0x587dfa(0xb3)]=[],_0x353a71['children']||(_0x353a71['children']=[]),_0x353a71),_0x4a3bf4['p']='./',_0x1726ae={0x371:0x1},_0x4a3bf4['f']['i']=(_0xf02033,_0x65740e)=>{_0x1726ae[_0xf02033]||importScripts(_0x4a3bf4['p']+_0x4a3bf4['u'](_0xf02033));},_0x5e6e72=Object(self||this)[_0x587dfa(0xd4)]=Object(self||this)['webpackChunkBim']||[],_0xa9eaf3=_0x5e6e72[_0x587dfa(0x148)]['bind'](_0x5e6e72),_0x5e6e72[_0x587dfa(0x148)]=_0x3370f5=>{var _0x28a304=_0x587dfa,_0x3456d5,[_0x3b8bd3,_0x4e52bb,_0x33e1b0]=_0x3370f5;for(_0x3456d5 in _0x4e52bb)_0x4a3bf4['o'](_0x4e52bb,_0x3456d5)&&(_0x4a3bf4['m'][_0x3456d5]=_0x4e52bb[_0x3456d5]);for(_0x33e1b0&&_0x33e1b0(_0x4a3bf4);_0x3b8bd3[_0x28a304(0x139)];)_0x1726ae[_0x3b8bd3['pop']()]=0x1;_0xa9eaf3(_0x3370f5);},_0x256bd5=_0x4a3bf4['x'],(_0x4a3bf4['x']=()=>Promise[_0x587dfa(0x113)]([0x1f6,0x1f3,0x162,0x2c9]['map'](_0x4a3bf4['e'],_0x4a3bf4))[_0x587dfa(0x121)](_0x256bd5))();function _0x4a3bf4(_0x3541d9){var _0x501461=_0x587dfa,_0x43bf5e=_0x4a8edf[_0x3541d9];if(void 0x0!==_0x43bf5e)return _0x43bf5e[_0x501461(0xd7)];return _0x43bf5e=_0x4a8edf[_0x3541d9]={'id':_0x3541d9,'loaded':!0x1,'exports':{}},(_0x117749[_0x3541d9]['call'](_0x43bf5e[_0x501461(0xd7)],_0x43bf5e,_0x43bf5e[_0x501461(0xd7)],_0x4a3bf4),_0x43bf5e['loaded']=!0x0,_0x43bf5e[_0x501461(0xd7)]);}var _0x40ee90,_0x1726ae,_0x5e6e72,_0xa9eaf3,_0x256bd5,_0x117749,_0x4a8edf;};'object'==typeof exports&&a3_0x365fec(0xb7)==typeof module?module[a3_0x365fec(0xd7)]=t():'function'==typeof define&&define['amd']?define([],t):a3_0x365fec(0xb7)==typeof exports?exports[a3_0x365fec(0x117)]=t():e[a3_0x365fec(0x117)]=t();