rt_gis_3d 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +35 -3
  2. package/index.js +8 -6
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,12 +1,44 @@
1
1
  # [rt_gis_3d.js](http://lesscss.org)
2
2
 
3
- ## Getting Started
3
+ ## 开始
4
4
 
5
5
  ```sh
6
6
  npm install rt_gis_3d
7
7
  ```
8
8
  初始化场景
9
- ```javascript
10
- container = new T.TDScene(domContainer.value);
9
+ --图片资源请放在(./src/assets/icon/)目录下
10
+ ```typescript
11
+ /**
12
+ * @param {HTMLDivElement} div - 地图div容器
13
+ * @param {object} data - 文件解析后json数据
14
+ */
15
+ const container = new T.TDScene(div as HTMLDivElement ,data as object);
11
16
  ```
12
17
 
18
+ 监听事件
19
+ ```typescript
20
+ /**
21
+ * @param {String} type - 事件类型: 如 click
22
+ * @param {Function} callback - 回调函数
23
+ */
24
+ container.on(typs as String, callback as (obj: object) => void)
25
+ ```
26
+
27
+
28
+ 切换当前场景
29
+ ```typescript
30
+ /**
31
+ * @param {object} data - 文件解析后json数据
32
+ */
33
+ container.switchBuild(data as object)
34
+ ```
35
+
36
+
37
+ 切换图标-使用报警等场景
38
+ ```typescript
39
+ /**
40
+ * @param {object} code - 设备编号
41
+ * @param {object} icon - 图标路径
42
+ */
43
+ container.switchIcon(code, icon)
44
+ ```
package/index.js CHANGED
@@ -1,14 +1,16 @@
1
- import * as _0x4f2419 from 'three';
1
+ import * as _0x56fb29 from 'three';
2
2
  import { MapControls } from 'three/addons/controls/MapControls.js';
3
- import _0x1e1f8c from '@tweenjs/tween.js';
4
3
  import { CSS3DRenderer } from 'three/addons/renderers/CSS3DRenderer.js';
5
- import _0x11d7a6 from 'leaflet';
4
+ import _0x1dbd44 from '@tweenjs/tween.js';
5
+ import * as _0x13c366 from 'd3';
6
+ import _0x48083f from 'leaflet';
6
7
  import { h } from 'vue';
8
+ import _0x1878ab from '@/assets/img/marker.png';
7
9
 
8
- const _0x4f2410=_0x90bc;(function(_0xe120ee,_0x1d2e6a){const _0x1f9c7f=_0x90bc,_0x58a449=_0xe120ee();while(!![]){try{const _0x3bc7d9=parseInt(_0x1f9c7f(0x18c))/0x1*(parseInt(_0x1f9c7f(0x164))/0x2)+-parseInt(_0x1f9c7f(0x194))/0x3+-parseInt(_0x1f9c7f(0x18e))/0x4*(parseInt(_0x1f9c7f(0x16c))/0x5)+-parseInt(_0x1f9c7f(0x17e))/0x6*(-parseInt(_0x1f9c7f(0x197))/0x7)+parseInt(_0x1f9c7f(0x189))/0x8*(-parseInt(_0x1f9c7f(0x16b))/0x9)+parseInt(_0x1f9c7f(0x179))/0xa*(-parseInt(_0x1f9c7f(0x192))/0xb)+-parseInt(_0x1f9c7f(0x188))/0xc*(-parseInt(_0x1f9c7f(0x193))/0xd);if(_0x3bc7d9===_0x1d2e6a)break;else _0x58a449['push'](_0x58a449['shift']());}catch(_0x5e3cb7){_0x58a449['push'](_0x58a449['shift']());}}}(_0xff35,0xc9b77));function _0x90bc(_0x4c12d1,_0xf282f9){_0x4c12d1=_0x4c12d1-0x163;const _0xff3504=_0xff35();let _0x90bcc9=_0xff3504[_0x4c12d1];return _0x90bcc9;}function _0xff35(){const _0x4dcaa3=['setClearColor','Sprite','getContext','add','0px','dispose','absolute','resize','ambient','1672592GXqfPk','camera','update','pointerEvents','renderer','push','onWindowResize','36DIdVtO','2190kdUZep','setSize','bind','domElement','loseContext','light','controls','material','style','traverse','AmbientLight','clear','WEBGL_lose_context','37920SSFYPX','appendChild','top','Scene','parent','184332YavaXb','dom','set','forEach','getExtension','updateProjectionMatrix','Mesh','animate','animationFrameId','WebGLRenderer','12tWrpOK','161904SgTtik','init','maxPolarAngle','1ERPSsv','render','1480pzPqEW','remove','webgl','scene','4345OtNAJQ','9632077kSZqZQ','71904LCpjpR','position','isArray','231EapFdE','minDistance','css3Renderer','LineSegments','clientHeight','geometry','clientWidth','aspect'];_0xff35=function(){return _0x4dcaa3;};return _0xff35();}class TDScene{[_0x4f2410(0x186)];constructor(_0x483702){const _0x1b3b91=_0x4f2410;try{this[_0x1b3b91(0x17f)]=_0x483702,this[_0x1b3b91(0x18a)](),this['light'](),this[_0x1b3b91(0x185)](),window['addEventListener'](_0x1b3b91(0x1a6),this[_0x1b3b91(0x16a)][_0x1b3b91(0x16e)](this));}catch(_0x20023e){return _0x20023e;}}['init'](){const _0x4556ab=_0x4f2410;this['scene']=new _0x4f2419[(_0x4556ab(0x17c))](),this['camera']=new _0x4f2419['PerspectiveCamera'](0x4b,this[_0x4556ab(0x17f)][_0x4556ab(0x19d)]/this['dom']['clientHeight'],0.1,0x3e8),this[_0x4556ab(0x165)][_0x4556ab(0x195)][_0x4556ab(0x180)](0x0,0x1e,0x1e),this['renderer']=new _0x4f2419[(_0x4556ab(0x187))]({'antialias':!![],'logarithmicDepthBuffer':!![]}),this[_0x4556ab(0x168)][_0x4556ab(0x16d)](this[_0x4556ab(0x17f)][_0x4556ab(0x19d)],this['dom'][_0x4556ab(0x19b)]),this[_0x4556ab(0x168)][_0x4556ab(0x19f)](0xf0f2f5,0x1),this[_0x4556ab(0x17f)][_0x4556ab(0x17a)](this[_0x4556ab(0x168)][_0x4556ab(0x16f)]),this['controls']=new MapControls(this[_0x4556ab(0x165)],this[_0x4556ab(0x168)][_0x4556ab(0x16f)]),this[_0x4556ab(0x172)][_0x4556ab(0x198)]=0x14,this[_0x4556ab(0x172)]['maxDistance']=0xc8,this[_0x4556ab(0x172)][_0x4556ab(0x18b)]=Math['PI']/0x3,this['css3Renderer']=new CSS3DRenderer(),this['css3Renderer'][_0x4556ab(0x16d)](this[_0x4556ab(0x17f)]['clientWidth'],this[_0x4556ab(0x17f)][_0x4556ab(0x19b)]),this[_0x4556ab(0x199)]['domElement'][_0x4556ab(0x174)][_0x4556ab(0x195)]=_0x4556ab(0x1a5),this[_0x4556ab(0x199)][_0x4556ab(0x16f)][_0x4556ab(0x174)][_0x4556ab(0x17b)]=_0x4556ab(0x1a3),this['css3Renderer'][_0x4556ab(0x16f)][_0x4556ab(0x174)][_0x4556ab(0x167)]='none',this['dom'][_0x4556ab(0x17a)](this[_0x4556ab(0x199)][_0x4556ab(0x16f)]);}[_0x4f2410(0x171)](){const _0x251d6c=_0x4f2410;this[_0x251d6c(0x163)]=new _0x4f2419[(_0x251d6c(0x176))](0xffffff,0x1),this[_0x251d6c(0x191)][_0x251d6c(0x1a2)](this[_0x251d6c(0x163)]);}['animate'](){const _0x4415ce=_0x4f2410;_0x1e1f8c[_0x4415ce(0x166)](),this['animationFrameId']=requestAnimationFrame(this[_0x4415ce(0x185)][_0x4415ce(0x16e)](this)),this[_0x4415ce(0x168)][_0x4415ce(0x18d)](this['scene'],this[_0x4415ce(0x165)]),this[_0x4415ce(0x199)]['render'](this[_0x4415ce(0x191)],this['camera']);}['onWindowResize'](){const _0x29f2b1=_0x4f2410;this['camera'][_0x29f2b1(0x19e)]=this[_0x29f2b1(0x17f)][_0x29f2b1(0x19d)]/this[_0x29f2b1(0x17f)][_0x29f2b1(0x19b)],this[_0x29f2b1(0x165)][_0x29f2b1(0x183)](),this[_0x29f2b1(0x168)][_0x29f2b1(0x16d)](this[_0x29f2b1(0x17f)][_0x29f2b1(0x19d)],this[_0x29f2b1(0x17f)][_0x29f2b1(0x19b)]),this[_0x29f2b1(0x199)]['setSize'](this[_0x29f2b1(0x17f)]['clientWidth'],this['dom'][_0x29f2b1(0x19b)]);}['dispose'](){const _0xceca1b=_0x4f2410;_0x38f277(this[_0xceca1b(0x191)]),this[_0xceca1b(0x191)][_0xceca1b(0x177)](),this['renderer']['domElement'][_0xceca1b(0x18f)](),this['renderer'][_0xceca1b(0x1a4)](),this[_0xceca1b(0x168)]['forceContextLoss'](),this[_0xceca1b(0x199)][_0xceca1b(0x16f)]['remove']();let _0x432dcc=this['renderer'][_0xceca1b(0x16f)][_0xceca1b(0x1a1)](_0xceca1b(0x190));_0x432dcc&&_0x432dcc['getExtension'](_0xceca1b(0x178))&&_0x432dcc[_0xceca1b(0x182)]('WEBGL_lose_context')[_0xceca1b(0x170)]();this[_0xceca1b(0x191)]=null,this[_0xceca1b(0x165)]=null,this[_0xceca1b(0x168)]=null,cancelAnimationFrame(this[_0xceca1b(0x186)]),window['removeEventListener']('resize',this[_0xceca1b(0x16a)]['bind'](this));function _0x38f277(_0x2e5cdd){const _0x155d60=_0xceca1b,_0xe00982=[];_0x2e5cdd[_0x155d60(0x175)](_0x10095c=>{const _0x48ee23=_0x155d60;(_0x10095c instanceof _0x4f2419[_0x48ee23(0x184)]||_0x10095c instanceof _0x4f2419[_0x48ee23(0x19a)]||_0x10095c instanceof _0x4f2419[_0x48ee23(0x1a0)])&&_0xe00982[_0x48ee23(0x169)](_0x10095c);}),_0xe00982[_0x155d60(0x181)](_0x11a9b2=>{const _0x554620=_0x155d60;_0x11a9b2[_0x554620(0x17d)]&&_0x11a9b2['parent']['remove'](_0x11a9b2);if(_0x11a9b2[_0x554620(0x19c)])_0x11a9b2[_0x554620(0x19c)][_0x554620(0x1a4)]();_0x11a9b2[_0x554620(0x173)]&&(Array[_0x554620(0x196)](_0x11a9b2[_0x554620(0x173)])?_0x11a9b2[_0x554620(0x173)][_0x554620(0x181)](_0x35bca1=>_0x35bca1[_0x554620(0x1a4)]()):_0x11a9b2['material']['dispose']());});}}}
10
+ (function(_0x34deec,_0x31bd50){const _0x5cd06f=_0x5b2a,_0x58fa38=_0x34deec();while(!![]){try{const _0x346aef=-parseInt(_0x5cd06f(0xcc))/0x1*(parseInt(_0x5cd06f(0xd2))/0x2)+parseInt(_0x5cd06f(0xc0))/0x3*(parseInt(_0x5cd06f(0xed))/0x4)+-parseInt(_0x5cd06f(0xba))/0x5+parseInt(_0x5cd06f(0xb5))/0x6*(parseInt(_0x5cd06f(0xe6))/0x7)+parseInt(_0x5cd06f(0xe2))/0x8+parseInt(_0x5cd06f(0xeb))/0x9*(-parseInt(_0x5cd06f(0xb3))/0xa)+parseInt(_0x5cd06f(0xf0))/0xb*(parseInt(_0x5cd06f(0xd6))/0xc);if(_0x346aef===_0x31bd50)break;else _0x58fa38['push'](_0x58fa38['shift']());}catch(_0x1a5616){_0x58fa38['push'](_0x58fa38['shift']());}}}(_0x5937,0x37931));function raycaster({dom:_0x294b0f,things:_0x171cbb,camera:_0x535fa0},_0x10c691){const _0x1aae7e=_0x5b2a,_0x2d6b9d=0x6;let _0x4c9349=0x1,_0x1e9853;_0x294b0f[_0x1aae7e(0xc2)]('mousedown',_0x41cbb7),_0x294b0f['addEventListener']('mouseup',_0x536697);function _0x41cbb7(_0xb9cec){const _0x1489d1=_0x1aae7e;_0x4c9349=_0xb9cec[_0x1489d1(0xf2)],_0x1e9853=_0xb9cec[_0x1489d1(0xc4)];}function _0x536697(_0x12e03e){const _0x239181=_0x1aae7e,_0x2481bc=Math[_0x239181(0xd8)](_0x12e03e[_0x239181(0xf2)]-_0x4c9349),_0x1b3484=Math[_0x239181(0xd8)](_0x12e03e[_0x239181(0xc4)]-_0x1e9853);if(_0x2481bc<_0x2d6b9d&&_0x1b3484<_0x2d6b9d){const _0x540d7e=_0x12e03e[_0x239181(0xb6)],_0x41d6c4=_0x12e03e['offsetY'],_0x39c17f=_0x540d7e/_0x294b0f['clientWidth']*0x2-0x1,_0x29eb1a=-(_0x41d6c4/_0x294b0f[_0x239181(0xb2)])*0x2+0x1,_0x298169=new _0x56fb29[(_0x239181(0xe5))]();_0x298169['setFromCamera'](new _0x56fb29[(_0x239181(0xd7))](_0x39c17f,_0x29eb1a),_0x535fa0);const _0x328542=_0x298169[_0x239181(0xc6)](_0x171cbb);if(_0x328542[_0x239181(0xf4)]>0x0){const _0x572e8f=_0x328542[0x0][_0x239181(0xf9)];_0x10c691(_0x572e8f);}else _0x10c691();}}return ()=>{const _0x4b9b0f=_0x1aae7e;_0x294b0f[_0x4b9b0f(0xda)]('mousedown',_0x41cbb7),_0x294b0f['removeEventListener'](_0x4b9b0f(0xcf),_0x536697);};}function getGeoJsonCenter(_0x33bb9d){const _0x3f7252=_0x5b2a;try{return _0x48083f[_0x3f7252(0xaf)](_0x33bb9d)[_0x3f7252(0xbf)]()[_0x3f7252(0xf5)]();}catch(_0xf58fc9){throw new Error(_0xf58fc9);}}function createWall(_0x5d24ed,_0x380c7f){const _0x20a70d=_0x5b2a,_0x59b638=new _0x56fb29['Shape']();_0x5d24ed['forEach'](_0x3a31f7=>{const _0x2118f2=_0x5b2a;_0x3a31f7[_0x2118f2(0xb4)]((_0x3827d2,_0x5168b1)=>{const _0x182495=_0x2118f2,[_0x905548,_0x563a76]=_0x380c7f(_0x3827d2);_0x5168b1===0x0?_0x59b638[_0x182495(0xd3)](_0x905548,-_0x563a76):_0x59b638[_0x182495(0xc9)](_0x905548,-_0x563a76);});});const _0x3c6f75=new _0x56fb29[(_0x20a70d(0xef))](_0x59b638,{'depth':2.5}),_0x415477=[new _0x56fb29[(_0x20a70d(0xb9))]({'color':_0x20a70d(0xdb),'side':_0x56fb29[_0x20a70d(0xec)],'transparent':!![]}),new _0x56fb29[(_0x20a70d(0xb9))]({'color':_0x20a70d(0xe8),'side':_0x56fb29[_0x20a70d(0xec)],'transparent':!![]})],_0x58ccc0=new _0x56fb29[(_0x20a70d(0xb8))](_0x3c6f75,_0x415477);_0x58ccc0['rotateX'](-Math['PI']/0x2);const _0x580b68=new _0x56fb29[(_0x20a70d(0xdc))](_0x3c6f75,0x1e),_0x384e98=new _0x56fb29[(_0x20a70d(0xc1))]({'color':0xc6c6c6}),_0xf6abc4=new _0x56fb29[(_0x20a70d(0xd0))](_0x580b68,_0x384e98);return _0x58ccc0[_0x20a70d(0xd1)](_0xf6abc4),_0x58ccc0;}function createArea(_0x268c53,_0x3b0b07,_0x1c2134='#f7f7f7'){const _0x2c6ca7=_0x5b2a,_0x4e65b8=new _0x56fb29[(_0x2c6ca7(0xf7))]();_0x268c53['forEach'](_0x41aa4b=>{const _0x47b5d9=_0x2c6ca7;_0x41aa4b[_0x47b5d9(0xb4)]((_0x168067,_0x5bcab5)=>{const _0x204341=_0x47b5d9,[_0x1fe3dc,_0x3a2daa]=_0x3b0b07(_0x168067);_0x5bcab5===0x0?_0x4e65b8[_0x204341(0xd3)](_0x1fe3dc,-_0x3a2daa):_0x4e65b8[_0x204341(0xc9)](_0x1fe3dc,-_0x3a2daa);});});const _0x84dd91=new _0x56fb29[(_0x2c6ca7(0xef))](_0x4e65b8,{'depth':0.1}),_0x36d65d=new _0x56fb29['MeshBasicMaterial']({'color':_0x1c2134,'side':_0x56fb29[_0x2c6ca7(0xec)],'transparent':!![]}),_0x4bf623=new _0x56fb29[(_0x2c6ca7(0xb8))](_0x84dd91,_0x36d65d);return _0x4bf623[_0x2c6ca7(0xdf)](-Math['PI']/0x2),_0x4bf623;}function createAreaLabel(_0x463e6b,_0x1be06d,_0x4c170a){const _0x3b6502=_0x5b2a,_0x51ad84=_0x48083f[_0x3b6502(0xb7)](_0x1be06d['flat']())[_0x3b6502(0xf5)](),[_0x13f92a,_0x28620b]=_0x4c170a([_0x51ad84['x'],_0x51ad84['y']]),_0xf7a066=_0x5bd38b(_0x463e6b),_0x329c02=new _0x56fb29['CanvasTexture'](_0xf7a066),_0x1f8eb0=new _0x56fb29['SpriteMaterial']({'map':_0x329c02,'transparent':!![],'alphaTest':0.1});_0x1f8eb0[_0x3b6502(0xbd)]['colorSpace']=_0x3b6502(0xe1);const _0x1f609e=new _0x56fb29[(_0x3b6502(0xea))](_0x1f8eb0),_0x2fa271=2.5,_0x5d6916=_0xf7a066[_0x3b6502(0xf1)]/_0xf7a066[_0x3b6502(0xe0)]*_0x2fa271;_0x1f609e[_0x3b6502(0xe3)][_0x3b6502(0xf6)](_0x5d6916,_0x2fa271,0x1),_0x1f609e[_0x3b6502(0xae)][_0x3b6502(0xf6)](_0x13f92a,0x2,_0x28620b);return _0x1f609e;function _0x5bd38b(_0x291ed4){const _0x4c13e1=_0x3b6502,_0x2b7688=document[_0x4c13e1(0xee)](_0x4c13e1(0xb1)),_0x54cefa=_0x291ed4['split']('');let _0x184a8b=0x0;const _0x330e64=/[\u4e00-\u9fa5]/;for(let _0x49549a=0x0;_0x49549a<_0x54cefa[_0x4c13e1(0xf4)];_0x49549a++){_0x330e64[_0x4c13e1(0xf3)](_0x54cefa[_0x49549a])?_0x184a8b+=0x1:_0x184a8b+=0.5;}const _0x304fe4=0x50,_0x19798d=_0x304fe4+_0x184a8b*0x20;_0x2b7688[_0x4c13e1(0xf1)]=_0x19798d,_0x2b7688[_0x4c13e1(0xe0)]=_0x304fe4;const _0x13296f=_0x304fe4*0.8,_0xbdaaff=_0x2b7688[_0x4c13e1(0xce)]('2d');return _0xbdaaff['beginPath'](),_0xbdaaff[_0x4c13e1(0xdd)](_0x19798d/0x2,_0x13296f/0x2),_0xbdaaff['fillStyle']=_0x4c13e1(0xde),_0xbdaaff['font']=_0x4c13e1(0xcb),_0xbdaaff[_0x4c13e1(0xc5)]=_0x4c13e1(0xd5),_0xbdaaff[_0x4c13e1(0xe4)]=_0x4c13e1(0xcd),_0xbdaaff[_0x4c13e1(0xb0)](_0x291ed4,0x0,0x0),_0x2b7688;}}function creatIcon(_0x3b4dad,_0x5bf8bb,_0x254fe7){const _0x59a07b=_0x5b2a,_0x4a44fc=new _0x56fb29['TextureLoader'](),_0x113fe3=_0x4a44fc[_0x59a07b(0xca)](_0x3b4dad),_0x4c3536=new _0x56fb29[(_0x59a07b(0xd9))]({'map':_0x113fe3,'transparent':!![],'alphaTest':0.1});_0x4c3536[_0x59a07b(0xbd)][_0x59a07b(0xe7)]=_0x59a07b(0xe1);const _0x2aca0e=new _0x56fb29[(_0x59a07b(0xea))](_0x4c3536),[_0xfe8cb9,_0xa43381]=_0x254fe7([_0x5bf8bb[_0x59a07b(0xc8)],_0x5bf8bb[_0x59a07b(0xc3)]]);return _0x2aca0e[_0x59a07b(0xae)][_0x59a07b(0xf6)](_0xfe8cb9,0x2,_0xa43381),_0x2aca0e[_0x59a07b(0xe3)]['set'](0x2,0x2,0x2),_0x2aca0e;}function _0x5937(){const _0x2e7b77=['9iBpvcD','DoubleSide','174204JMwAxp','createElement','ExtrudeGeometry','260315jgmvUY','width','pageX','test','length','getCenter','set','Shape','firstElementChild','object','position','geoJSON','fillText','canvas','clientHeight','2668780LsTCbn','forEach','24YDKXdY','offsetX','bounds','Mesh','MeshBasicMaterial','1242450sAFrps','div','target','map','Cubic','getBounds','12XOCeeq','LineBasicMaterial','addEventListener','lat','pageY','textBaseline','intersectObjects','update','lng','lineTo','load','normal\x2032px\x20system-ui','16eWAwLy','center','getContext','mouseup','LineSegments','add','54232Beqtup','moveTo','mount','middle','180DvDIOa','Vector2','abs','SpriteMaterial','removeEventListener','#ffffff','EdgesGeometry','translate','#000000','rotateX','height','srgb','2833136cxlxSu','scale','textAlign','Raycaster','513688grZaDQ','colorSpace','#d6d6d6','Tween','Sprite'];_0x5937=function(){return _0x2e7b77;};return _0x5937();}function _0x5b2a(_0x146b0f,_0x475f7a){_0x146b0f=_0x146b0f-0xae;const _0x593765=_0x5937();let _0x5b2a15=_0x593765[_0x146b0f];return _0x5b2a15;}function createCameraTween(_0x1ef168,_0x2ffd4c,_0x22de33,_0x5845c3){const _0x32ba72=_0x5b2a;new _0x1dbd44[(_0x32ba72(0xe9))]({'x':_0x22de33[_0x32ba72(0xae)]['x'],'y':_0x22de33[_0x32ba72(0xae)]['y'],'z':_0x22de33[_0x32ba72(0xae)]['z'],'tx':_0x5845c3[_0x32ba72(0xbc)]['x'],'ty':_0x5845c3['target']['y'],'tz':_0x5845c3['target']['z']})['to']({'x':_0x1ef168['x'],'y':_0x1ef168['y'],'z':_0x1ef168['z'],'tx':_0x2ffd4c['x'],'ty':_0x2ffd4c['y'],'tz':_0x2ffd4c['z']},0x3e8)['easing'](_0x1dbd44['Easing'][_0x32ba72(0xbe)]['Out'])['onUpdate'](function(_0x49b908){const _0x53dcb1=_0x32ba72;_0x22de33[_0x53dcb1(0xae)][_0x53dcb1(0xf6)](_0x49b908['x'],_0x49b908['y'],_0x49b908['z']),_0x5845c3['target']['set'](_0x49b908['tx'],_0x49b908['ty'],_0x49b908['tz']),_0x5845c3[_0x53dcb1(0xc7)]();})['start']();}function createVueDOMString(_0x4be61e,_0x4a975c={}){const _0x2be414=_0x5b2a,_0x369d84=document[_0x2be414(0xee)](_0x2be414(0xbb)),_0xce542b=createApp({'render'(){return h(_0x4be61e,_0x4a975c);}});return _0xce542b[_0x2be414(0xd4)](_0x369d84),_0x369d84[_0x2be414(0xf8)];}var _0x5cd5a5 = {'raycaster':raycaster,'getGeoJsonCenter':getGeoJsonCenter,'createWall':createWall,'createArea':createArea,'createAreaLabel':createAreaLabel,'creatIcon':creatIcon,'createCameraTween':createCameraTween,'createVueDOMString':createVueDOMString};
9
11
 
10
- const _0x2de86a=_0x1bb6;(function(_0xabc06b,_0x52ba97){const _0x3b4ba6=_0x1bb6,_0x435383=_0xabc06b();while(!![]){try{const _0x5069c2=-parseInt(_0x3b4ba6(0xe9))/0x1*(-parseInt(_0x3b4ba6(0xe1))/0x2)+parseInt(_0x3b4ba6(0xcc))/0x3+parseInt(_0x3b4ba6(0xf3))/0x4*(parseInt(_0x3b4ba6(0xe8))/0x5)+parseInt(_0x3b4ba6(0xee))/0x6*(parseInt(_0x3b4ba6(0xe6))/0x7)+parseInt(_0x3b4ba6(0xc3))/0x8*(-parseInt(_0x3b4ba6(0xdb))/0x9)+-parseInt(_0x3b4ba6(0xd6))/0xa+parseInt(_0x3b4ba6(0xcb))/0xb;if(_0x5069c2===_0x52ba97)break;else _0x435383['push'](_0x435383['shift']());}catch(_0x34fdca){_0x435383['push'](_0x435383['shift']());}}}(_0x15ec,0xdb992));function raycaster({dom:_0x39dcf7,things:_0x4d75e8,camera:_0x1557d3},_0x27b9b6,_0x3e5726){const _0x98743a=_0x1bb6,_0x1c34c5=0x6;let _0x25d433=0x1,_0x2b6588;_0x39dcf7[_0x98743a(0xf0)]('mousedown',_0x3bf8ff),_0x39dcf7['addEventListener']('mouseup',_0xe49d5);function _0x3bf8ff(_0x5951b5){_0x25d433=_0x5951b5['pageX'],_0x2b6588=_0x5951b5['pageY'];}function _0xe49d5(_0x1007d5){const _0x1993d3=_0x98743a,_0x58362a=Math['abs'](_0x1007d5[_0x1993d3(0xe7)]-_0x25d433),_0x2dc622=Math[_0x1993d3(0xde)](_0x1007d5[_0x1993d3(0xd0)]-_0x2b6588);if(_0x58362a<_0x1c34c5&&_0x2dc622<_0x1c34c5){const _0x4b59e1=_0x1007d5[_0x1993d3(0xbc)],_0x147be1=_0x1007d5[_0x1993d3(0xce)],_0x499f20=_0x4b59e1/_0x39dcf7[_0x1993d3(0xb6)]*0x2-0x1,_0x5bd66a=-(_0x147be1/_0x39dcf7[_0x1993d3(0xc0)])*0x2+0x1,_0x1c8655=new _0x4f2419[(_0x1993d3(0xdc))]();_0x1c8655['setFromCamera'](new _0x4f2419['Vector2'](_0x499f20,_0x5bd66a),_0x1557d3);const _0x1e1530=_0x1c8655[_0x1993d3(0xf5)](_0x4d75e8);if(_0x1e1530[_0x1993d3(0xb4)]>0x0){const _0x129ae7=_0x1e1530[0x0][_0x1993d3(0xe5)];_0x27b9b6(_0x129ae7);}else _0x3e5726();}}return ()=>{const _0x90151=_0x98743a;_0x39dcf7[_0x90151(0xd4)](_0x90151(0xd2),_0x3bf8ff),_0x39dcf7['removeEventListener']('mouseup',_0xe49d5);};}function _0x1bb6(_0x319ada,_0x14b411){_0x319ada=_0x319ada-0xa6;const _0x15ecc8=_0x15ec();let _0x1bb6ad=_0x15ecc8[_0x319ada];return _0x1bb6ad;}function getGeoJsonCenter(_0x39e6fb){const _0x3c9cce=_0x1bb6;try{return console[_0x3c9cce(0xd5)](_0x39e6fb),_0x11d7a6[_0x3c9cce(0xd8)](_0x39e6fb)[_0x3c9cce(0xd3)]()[_0x3c9cce(0xea)]();}catch(_0x67b8d6){throw new Error(_0x67b8d6);}}function createWall(_0x2543be,_0x9ba12c){const _0x5cf7f4=_0x1bb6,_0x1b14d6=new _0x4f2419[(_0x5cf7f4(0xf1))]();_0x2543be[_0x5cf7f4(0xf2)](_0x400497=>{const _0x23d17f=_0x5cf7f4;_0x400497[_0x23d17f(0xf2)]((_0x1442c2,_0x19b0f2)=>{const _0x2e1ac7=_0x23d17f,[_0x2c5257,_0x365808]=_0x9ba12c(_0x1442c2);_0x19b0f2===0x0?_0x1b14d6['moveTo'](_0x2c5257,-_0x365808):_0x1b14d6[_0x2e1ac7(0xba)](_0x2c5257,-_0x365808);});});const _0x8f04c1=new _0x4f2419[(_0x5cf7f4(0xa7))](_0x1b14d6,{'depth':0x3}),_0x2d4831=[new _0x4f2419[(_0x5cf7f4(0xd1))]({'color':_0x5cf7f4(0xb8),'side':_0x4f2419[_0x5cf7f4(0xb1)],'transparent':!![]}),new _0x4f2419[(_0x5cf7f4(0xd1))]({'color':_0x5cf7f4(0xbe),'side':_0x4f2419['DoubleSide'],'transparent':!![]})],_0xbdf472=new _0x4f2419[(_0x5cf7f4(0xaa))](_0x8f04c1,_0x2d4831);_0xbdf472['rotateX'](-Math['PI']/0x2);const _0x340b9b=new _0x4f2419[(_0x5cf7f4(0xaf))](_0x8f04c1,0x1e),_0x519d46=new _0x4f2419[(_0x5cf7f4(0xbf))]({'color':0xc6c6c6}),_0x17f128=new _0x4f2419['LineSegments'](_0x340b9b,_0x519d46);return _0xbdf472[_0x5cf7f4(0xa9)](_0x17f128),_0xbdf472;}function createArea(_0x1b043b,_0x9bd97d,_0x5148ce=_0x2de86a(0xc8)){const _0x10af21=_0x2de86a,_0x45ebc6=new _0x4f2419[(_0x10af21(0xf1))]();_0x1b043b['forEach'](_0x5264f1=>{const _0x5a6723=_0x10af21;_0x5264f1[_0x5a6723(0xf2)]((_0x37a563,_0x31440d)=>{const _0xed46eb=_0x5a6723,[_0x25fa59,_0x23f900]=_0x9bd97d(_0x37a563);_0x31440d===0x0?_0x45ebc6[_0xed46eb(0xac)](_0x25fa59,-_0x23f900):_0x45ebc6[_0xed46eb(0xba)](_0x25fa59,-_0x23f900);});});const _0x1c8496=new _0x4f2419[(_0x10af21(0xa7))](_0x45ebc6,{'depth':0.1}),_0x2441c5=new _0x4f2419[(_0x10af21(0xd1))]({'color':_0x5148ce,'side':_0x4f2419[_0x10af21(0xb1)],'transparent':!![]}),_0x2287b4=new _0x4f2419[(_0x10af21(0xaa))](_0x1c8496,_0x2441c5);return _0x2287b4[_0x10af21(0xdf)](-Math['PI']/0x2),_0x2287b4;}function createAreaLabel(_0xf4a57b,_0x474715,_0x5f5590){const _0x3b1597=_0x2de86a,_0x4c4725=_0x11d7a6[_0x3b1597(0xc9)](_0x474715[_0x3b1597(0xc1)]())[_0x3b1597(0xea)](),[_0x352494,_0x3c0c7d]=_0x5f5590([_0x4c4725['x'],_0x4c4725['y']]),_0x2263d4=_0x269b1a(_0xf4a57b),_0x143b94=new _0x4f2419['CanvasTexture'](_0x2263d4),_0x4eb598=new _0x4f2419['SpriteMaterial']({'map':_0x143b94,'transparent':!![],'alphaTest':0.1});_0x4eb598[_0x3b1597(0xda)]['colorSpace']='srgb';const _0x41b321=new _0x4f2419[(_0x3b1597(0xd9))](_0x4eb598),_0x4719ce=2.5,_0x2ecd63=_0x2263d4[_0x3b1597(0xec)]/_0x2263d4['height']*_0x4719ce;_0x41b321['scale']['set'](_0x2ecd63,_0x4719ce,0x1),_0x41b321[_0x3b1597(0xe3)][_0x3b1597(0xbb)](_0x352494,0x2,_0x3c0c7d);return _0x41b321;function _0x269b1a(_0x14ec4c){const _0x38541a=_0x3b1597,_0x36ac67=document[_0x38541a(0xcf)](_0x38541a(0xe4)),_0xb3ad25=_0x14ec4c[_0x38541a(0xc6)]('');let _0x425cc1=0x0;const _0x44f0ce=/[\u4e00-\u9fa5]/;for(let _0x11c444=0x0;_0x11c444<_0xb3ad25[_0x38541a(0xb4)];_0x11c444++){_0x44f0ce[_0x38541a(0xa6)](_0xb3ad25[_0x11c444])?_0x425cc1+=0x1:_0x425cc1+=0.5;}const _0x776b1=0x50,_0x2dd0d4=_0x776b1+_0x425cc1*0x20;_0x36ac67[_0x38541a(0xec)]=_0x2dd0d4,_0x36ac67[_0x38541a(0xf4)]=_0x776b1;const _0x2e6aa8=_0x776b1*0.8,_0x14b87d=_0x36ac67[_0x38541a(0xb5)]('2d');return _0x14b87d[_0x38541a(0xc4)](),_0x14b87d[_0x38541a(0xe0)](_0x2dd0d4/0x2,_0x2e6aa8/0x2),_0x14b87d[_0x38541a(0xed)]=_0x38541a(0xd7),_0x14b87d[_0x38541a(0xb3)]=_0x38541a(0xae),_0x14b87d['textBaseline']=_0x38541a(0xe2),_0x14b87d['textAlign']=_0x38541a(0xad),_0x14b87d[_0x38541a(0xb2)](_0x14ec4c,0x0,0x0),_0x36ac67;}}function creatIcon(_0x23106b,_0x4c56d1,_0xa0835a){const _0x3ef342=_0x2de86a,_0x285e55=new _0x4f2419[(_0x3ef342(0xf6))](),_0x454a11=_0x285e55['load'](_0x23106b),_0x45d70f=new _0x4f2419[(_0x3ef342(0xdd))]({'map':_0x454a11,'transparent':!![],'alphaTest':0.1});_0x45d70f[_0x3ef342(0xda)][_0x3ef342(0xeb)]=_0x3ef342(0xca);const _0x3b7000=new _0x4f2419[(_0x3ef342(0xd9))](_0x45d70f),[_0x1951e4,_0x1e0b61]=_0xa0835a([_0x4c56d1[_0x3ef342(0xcd)],_0x4c56d1[_0x3ef342(0xb0)]]);return _0x3b7000[_0x3ef342(0xe3)][_0x3ef342(0xbb)](_0x1951e4,0x2,_0x1e0b61),_0x3b7000['scale']['set'](0x2,0x2,0x2),_0x3b7000;}function createCameraTween(_0x392cfd,_0x12472e,_0x6e4f66,_0x4d8d18){const _0x3dba88=_0x2de86a;new _0x1e1f8c[(_0x3dba88(0xc2))]({'x':_0x6e4f66[_0x3dba88(0xe3)]['x'],'y':_0x6e4f66[_0x3dba88(0xe3)]['y'],'z':_0x6e4f66['position']['z'],'tx':_0x4d8d18[_0x3dba88(0xb9)]['x'],'ty':_0x4d8d18[_0x3dba88(0xb9)]['y'],'tz':_0x4d8d18['target']['z']})['to']({'x':_0x392cfd['x'],'y':_0x392cfd['y'],'z':_0x392cfd['z'],'tx':_0x12472e['x'],'ty':_0x12472e['y'],'tz':_0x12472e['z']},0x3e8)[_0x3dba88(0xc7)](_0x1e1f8c[_0x3dba88(0xb7)]['Cubic']['Out'])[_0x3dba88(0xa8)](function(_0x565baf){const _0x4c30ed=_0x3dba88;_0x6e4f66[_0x4c30ed(0xe3)]['set'](_0x565baf['x'],_0x565baf['y'],_0x565baf['z']),_0x4d8d18[_0x4c30ed(0xb9)][_0x4c30ed(0xbb)](_0x565baf['tx'],_0x565baf['ty'],_0x565baf['tz']),_0x4d8d18[_0x4c30ed(0xab)]();})['start']();}function createVueDOMString(_0x283d0f,_0x4b5d52={}){const _0x879f37=_0x2de86a,_0x316d03=document[_0x879f37(0xcf)](_0x879f37(0xc5)),_0x506259=createApp({'render'(){return h(_0x283d0f,_0x4b5d52);}});return _0x506259[_0x879f37(0xbd)](_0x316d03),_0x316d03[_0x879f37(0xef)];}function _0x15ec(){const _0x6924e5=['Mesh','update','moveTo','center','normal\x2032px\x20system-ui','EdgesGeometry','lat','DoubleSide','fillText','font','length','getContext','clientWidth','Easing','#ffffff','target','lineTo','set','offsetX','mount','#d6d6d6','LineBasicMaterial','clientHeight','flat','Tween','62584IzOCyx','beginPath','div','split','easing','#f7f7f7','bounds','srgb','2720982LIitVD','55086napUqs','lng','offsetY','createElement','pageY','MeshBasicMaterial','mousedown','getBounds','removeEventListener','log','7936140mMXxPW','#000000','geoJSON','Sprite','map','144lFMoOe','Raycaster','SpriteMaterial','abs','rotateX','translate','202336OfgDFq','middle','position','canvas','object','28QzdwbU','pageX','1657090ZrjzDx','4HRJtUp','getCenter','colorSpace','width','fillStyle','727536cDKshi','firstElementChild','addEventListener','Shape','forEach','8ZuufxU','height','intersectObjects','TextureLoader','test','ExtrudeGeometry','onUpdate','add'];_0x15ec=function(){return _0x6924e5;};return _0x15ec();}var _0x34f3ea = {'raycaster':raycaster,'getGeoJsonCenter':getGeoJsonCenter,'createWall':createWall,'createArea':createArea,'createAreaLabel':createAreaLabel,'creatIcon':creatIcon,'createCameraTween':createCameraTween,'createVueDOMString':createVueDOMString};
12
+ function _0x47b5(_0x189024,_0x2c1744){_0x189024=_0x189024-0xf2;const _0x3f9732=_0x3f97();let _0x47b596=_0x3f9732[_0x189024];return _0x47b596;}function _0x3f97(){const _0x1b510b=['translate','material','remove','switchBuild','getContext','animationFrameId','maxPolarAngle','update','scene','subVectors','raycaster','animate','none','srgb','href','createAreaLabel','clientHeight','Scene','setSize','traverse','lat','normalize','load','creatIcon','WebGLRenderer','name','set','90RtTfis','position','push','switchIcon','disposeSceneObjects','resize','multiplyScalar','1969040YYgMAY','LineSegments','equipGroup','properties','505252eZhCjC','getExtension','needsUpdate','features','type','maxDistance','aspect','icon','css3Renderer','feature','forEach','isArray','clientWidth','ambient','3hjlBUo','click','renderer','234920USJRQf','AmbientLight','coordinates','top','dispose','scale','center','colorSpace','Vector3','loseContext','7040330xnWRlh','onWindowResize','domElement','9tfxWbf','map','color','1twBPiB','add','updateProjectionMatrix','893598mbPjHU','render','webgl','4490690pfUfxp','Sprite','removeEventListener','children','latlng','geometry','clone','icons','TextureLoader','createArea','init','WEBGL_lose_context','build','pointerEvents','controls','style','appendChild','Mesh','98035NrRzzt','camera','dom','bind','light','parent','0px','/src/assets/icon/'];_0x3f97=function(){return _0x1b510b;};return _0x3f97();}const _0x3263e5=_0x47b5;(function(_0x1863e4,_0x21683b){const _0x5e7320=_0x47b5,_0x1a12e9=_0x1863e4();while(!![]){try{const _0x19d3bf=parseInt(_0x5e7320(0x121))/0x1*(-parseInt(_0x5e7320(0x124))/0x2)+-parseInt(_0x5e7320(0x10e))/0x3*(parseInt(_0x5e7320(0x100))/0x4)+-parseInt(_0x5e7320(0xfc))/0x5+parseInt(_0x5e7320(0xf5))/0x6*(parseInt(_0x5e7320(0x139))/0x7)+-parseInt(_0x5e7320(0x111))/0x8+-parseInt(_0x5e7320(0x11e))/0x9*(-parseInt(_0x5e7320(0x127))/0xa)+parseInt(_0x5e7320(0x11b))/0xb;if(_0x19d3bf===_0x21683b)break;else _0x1a12e9['push'](_0x1a12e9['shift']());}catch(_0x49a1a2){_0x1a12e9['push'](_0x1a12e9['shift']());}}}(_0x3f97,0x49f29));class TDScene{['animationFrameId'];constructor(_0x248584,_0x3d2f96){const _0x324fc8=_0x47b5;try{this[_0x324fc8(0x13b)]=_0x248584,this[_0x324fc8(0x131)](),this[_0x324fc8(0x13d)](),this[_0x324fc8(0x14c)](),this[_0x324fc8(0xfe)]=new _0x56fb29['Group'](),this[_0x324fc8(0x133)](_0x3d2f96),window['addEventListener'](_0x324fc8(0xfa),this[_0x324fc8(0x11c)][_0x324fc8(0x13c)](this));}catch(_0x128db0){return _0x128db0;}}['init'](){const _0x2b2e85=_0x47b5;this[_0x2b2e85(0x149)]=new _0x56fb29[(_0x2b2e85(0x152))](),this[_0x2b2e85(0x13a)]=new _0x56fb29['PerspectiveCamera'](0x4b,this['dom'][_0x2b2e85(0x10c)]/this[_0x2b2e85(0x13b)][_0x2b2e85(0x151)],0.1,0x3e8),this['camera'][_0x2b2e85(0xf6)][_0x2b2e85(0xf4)](0x0,0x1e,0x1e),this[_0x2b2e85(0x110)]=new _0x56fb29[(_0x2b2e85(0xf2))]({'antialias':!![],'logarithmicDepthBuffer':!![]}),this['renderer'][_0x2b2e85(0x153)](this[_0x2b2e85(0x13b)][_0x2b2e85(0x10c)],this['dom'][_0x2b2e85(0x151)]),this[_0x2b2e85(0x110)]['setClearColor'](0xf0f2f5,0x1),this[_0x2b2e85(0x13b)][_0x2b2e85(0x137)](this[_0x2b2e85(0x110)]['domElement']),this[_0x2b2e85(0x135)]=new MapControls(this[_0x2b2e85(0x13a)],this['renderer']['domElement']),this[_0x2b2e85(0x135)]['minDistance']=0x14,this[_0x2b2e85(0x135)][_0x2b2e85(0x105)]=0xc8,this[_0x2b2e85(0x135)][_0x2b2e85(0x147)]=Math['PI']/0x3,this[_0x2b2e85(0x108)]=new CSS3DRenderer(),this[_0x2b2e85(0x108)]['setSize'](this[_0x2b2e85(0x13b)][_0x2b2e85(0x10c)],this[_0x2b2e85(0x13b)][_0x2b2e85(0x151)]),this[_0x2b2e85(0x108)]['domElement']['style'][_0x2b2e85(0xf6)]='absolute',this[_0x2b2e85(0x108)][_0x2b2e85(0x11d)][_0x2b2e85(0x136)][_0x2b2e85(0x114)]=_0x2b2e85(0x13f),this[_0x2b2e85(0x108)][_0x2b2e85(0x11d)][_0x2b2e85(0x136)][_0x2b2e85(0x134)]=_0x2b2e85(0x14d),this['dom'][_0x2b2e85(0x137)](this[_0x2b2e85(0x108)][_0x2b2e85(0x11d)]);}[_0x3263e5(0x13d)](){const _0x394d50=_0x3263e5;this['ambient']=new _0x56fb29[(_0x394d50(0x112))](0xffffff,0x1),this[_0x394d50(0x149)]['add'](this[_0x394d50(0x10d)]);}['animate'](){const _0x4c0389=_0x3263e5;_0x1dbd44[_0x4c0389(0x148)](),this['animationFrameId']=requestAnimationFrame(this[_0x4c0389(0x14c)]['bind'](this)),this[_0x4c0389(0x110)]['render'](this[_0x4c0389(0x149)],this['camera']),this['css3Renderer'][_0x4c0389(0x125)](this[_0x4c0389(0x149)],this[_0x4c0389(0x13a)]);}['onWindowResize'](){const _0x207b60=_0x3263e5;this[_0x207b60(0x13a)][_0x207b60(0x106)]=this[_0x207b60(0x13b)][_0x207b60(0x10c)]/this[_0x207b60(0x13b)]['clientHeight'],this[_0x207b60(0x13a)][_0x207b60(0x123)](),this[_0x207b60(0x110)]['setSize'](this[_0x207b60(0x13b)][_0x207b60(0x10c)],this[_0x207b60(0x13b)]['clientHeight']),this[_0x207b60(0x108)]['setSize'](this['dom']['clientWidth'],this[_0x207b60(0x13b)][_0x207b60(0x151)]);}[_0x3263e5(0x115)](){const _0x2fa746=_0x3263e5;this[_0x2fa746(0xf9)](this[_0x2fa746(0x149)]),this[_0x2fa746(0x149)]['clear'](),this[_0x2fa746(0x110)][_0x2fa746(0x11d)][_0x2fa746(0x143)](),this['renderer']['dispose'](),this['renderer']['forceContextLoss'](),this[_0x2fa746(0x108)][_0x2fa746(0x11d)][_0x2fa746(0x143)]();let _0x4bcf62=this[_0x2fa746(0x110)][_0x2fa746(0x11d)][_0x2fa746(0x145)](_0x2fa746(0x126));_0x4bcf62&&_0x4bcf62[_0x2fa746(0x101)](_0x2fa746(0x132))&&_0x4bcf62[_0x2fa746(0x101)]('WEBGL_lose_context')[_0x2fa746(0x11a)](),this['scene']=null,this[_0x2fa746(0x13a)]=null,this[_0x2fa746(0x110)]=null,cancelAnimationFrame(this[_0x2fa746(0x146)]),this['raycaster']&&this[_0x2fa746(0x14b)](),window[_0x2fa746(0x129)](_0x2fa746(0xfa),this[_0x2fa746(0x11c)][_0x2fa746(0x13c)](this));}[_0x3263e5(0xf9)](_0x34f032){const _0x20cf5f=_0x3263e5,_0x1fa22c=[];_0x34f032[_0x20cf5f(0x154)](_0x5f080a=>{const _0x135615=_0x20cf5f;(_0x5f080a instanceof _0x56fb29[_0x135615(0x138)]||_0x5f080a instanceof _0x56fb29[_0x135615(0xfd)]||_0x5f080a instanceof _0x56fb29[_0x135615(0x128)])&&_0x1fa22c[_0x135615(0xf7)](_0x5f080a);}),_0x1fa22c[_0x20cf5f(0x10a)](_0x5d33e5=>{const _0x5ecec6=_0x20cf5f;_0x5d33e5['parent']&&_0x5d33e5[_0x5ecec6(0x13e)][_0x5ecec6(0x143)](_0x5d33e5);if(_0x5d33e5['geometry'])_0x5d33e5[_0x5ecec6(0x12c)]['dispose']();_0x5d33e5[_0x5ecec6(0x142)]&&(Array[_0x5ecec6(0x10b)](_0x5d33e5[_0x5ecec6(0x142)])?_0x5d33e5[_0x5ecec6(0x142)][_0x5ecec6(0x10a)](_0x33aa0a=>_0x33aa0a[_0x5ecec6(0x115)]()):_0x5d33e5[_0x5ecec6(0x142)][_0x5ecec6(0x115)]());});}[_0x3263e5(0x133)](_0x349014){const _0x58b19b=_0x3263e5,_0x1aac5b=_0x5cd5a5['getGeoJsonCenter']({'features':_0x349014[_0x58b19b(0x103)][_0x58b19b(0x11f)](_0x524bd6=>_0x524bd6[_0x58b19b(0x109)])}),_0x2f1b71=_0x13c366['geoMercator']()[_0x58b19b(0x117)]([_0x1aac5b['lng'],_0x1aac5b[_0x58b19b(0x155)]])[_0x58b19b(0x116)](0x2af8)[_0x58b19b(0x141)]([0x0,0x0]);_0x349014['features']['forEach'](_0x26acc5=>{const _0x12c722=_0x58b19b,{feature:_0x23d05b}=_0x26acc5;if(_0x23d05b['properties'][_0x12c722(0x104)]){const _0x132b47=_0x5cd5a5['createWall'](_0x23d05b[_0x12c722(0x12c)]['coordinates'],_0x2f1b71);this[_0x12c722(0x149)][_0x12c722(0x122)](_0x132b47);}else {const _0x2de30d=_0x5cd5a5[_0x12c722(0x130)](_0x23d05b[_0x12c722(0x12c)][_0x12c722(0x113)],_0x2f1b71,_0x23d05b[_0x12c722(0xff)][_0x12c722(0x120)]);if(_0x23d05b[_0x12c722(0xff)]['name']){const _0x1445af=_0x5cd5a5[_0x12c722(0x150)](_0x23d05b['properties'][_0x12c722(0xf3)],_0x23d05b[_0x12c722(0x12c)][_0x12c722(0x113)],_0x2f1b71);this['scene'][_0x12c722(0x122)](_0x1445af);}this[_0x12c722(0x149)][_0x12c722(0x122)](_0x2de30d);}}),_0x349014[_0x58b19b(0x12e)][_0x58b19b(0x10a)](_0x283460=>{const _0x30157f=_0x58b19b;if(_0x283460[_0x30157f(0xff)][_0x30157f(0x107)]){const _0x2044ee=new URL('/src/assets/icon/'+_0x283460[_0x30157f(0xff)][_0x30157f(0x107)],import.meta.url)[_0x30157f(0x14f)],_0xdb22e9=_0x5cd5a5[_0x30157f(0x158)](_0x2044ee,_0x283460[_0x30157f(0xff)][_0x30157f(0x12b)],_0x2f1b71);this[_0x30157f(0x149)][_0x30157f(0x122)](_0xdb22e9);}}),_0x349014['equips'][_0x58b19b(0x10a)](_0x5d89cf=>{const _0x4b401b=_0x58b19b,_0x501ba4=new URL(_0x4b401b(0x140)+_0x5d89cf[_0x4b401b(0xff)]['icon'],import.meta.url)['href'],_0x4c4cea=_0x5cd5a5[_0x4b401b(0x158)](_0x5d89cf['properties']['icon']?_0x501ba4:_0x1878ab,_0x5d89cf[_0x4b401b(0xff)]['latlng'],_0x2f1b71);_0x4c4cea[_0x4b401b(0xff)]=_0x5d89cf['properties'],_0x4c4cea[_0x4b401b(0xf3)]=_0x5d89cf[_0x4b401b(0xff)]['code'],this[_0x4b401b(0xfe)][_0x4b401b(0x122)](_0x4c4cea);}),this[_0x58b19b(0x149)][_0x58b19b(0x122)](this[_0x58b19b(0xfe)]);}['on'](_0x141ac2,_0x305645){const _0x1e7965=_0x3263e5;switch(_0x141ac2){case _0x1e7965(0x10f):this[_0x1e7965(0x14b)]=_0x5cd5a5['raycaster']({'dom':this[_0x1e7965(0x13b)],'things':this[_0x1e7965(0xfe)][_0x1e7965(0x12a)],'camera':this[_0x1e7965(0x13a)]},_0x427349=>{const _0x2ac183=_0x1e7965;if(_0x427349){const _0x2d906f=new _0x56fb29[(_0x2ac183(0x119))]();_0x427349['getWorldPosition'](_0x2d906f);const _0xa9119e=new _0x56fb29[(_0x2ac183(0x119))]();_0xa9119e[_0x2ac183(0x14a)](this[_0x2ac183(0x13a)][_0x2ac183(0xf6)],_0x2d906f)[_0x2ac183(0x156)]();const _0x1b4e99=_0x2d906f[_0x2ac183(0x12d)]()[_0x2ac183(0x122)](_0xa9119e[_0x2ac183(0xfb)](0x14));_0x5cd5a5['createCameraTween'](_0x1b4e99,_0x2d906f,this[_0x2ac183(0x13a)],this[_0x2ac183(0x135)]);}_0x305645(_0x427349);});break;}}[_0x3263e5(0x144)](_0x1bbc24){const _0x13cfe9=_0x3263e5;this[_0x13cfe9(0xf9)](this[_0x13cfe9(0x149)]),this[_0x13cfe9(0x133)](_0x1bbc24);}[_0x3263e5(0xf8)](_0x2aead6,_0x596010){const _0x126dd5=_0x3263e5,_0x5dc945=this[_0x126dd5(0xfe)]['getObjectByName'](_0x2aead6),_0x44d033=new _0x56fb29[(_0x126dd5(0x12f))](),_0x149195=_0x44d033[_0x126dd5(0x157)](new URL(_0x126dd5(0x140)+_0x596010,import.meta.url)['href']),_0x5f2a37=_0x5dc945[_0x126dd5(0x142)];_0x5f2a37[_0x126dd5(0x11f)]=_0x149195,_0x5f2a37[_0x126dd5(0x11f)][_0x126dd5(0x118)]=_0x126dd5(0x14e),_0x5f2a37[_0x126dd5(0x102)]=!![];}}
11
13
 
12
- function _0x4a65(_0x5e3214,_0x568674){_0x5e3214=_0x5e3214-0x1ab;var _0x17de97=_0x17de();var _0x4a65ac=_0x17de97[_0x5e3214];return _0x4a65ac;}(function(_0x14fd8d,_0x3e8f9e){var _0x41f5dc=_0x4a65,_0x159b3d=_0x14fd8d();while(!![]){try{var _0x4d34da=-parseInt(_0x41f5dc(0x1b1))/0x1+-parseInt(_0x41f5dc(0x1ad))/0x2+parseInt(_0x41f5dc(0x1ac))/0x3+parseInt(_0x41f5dc(0x1b0))/0x4+parseInt(_0x41f5dc(0x1af))/0x5+parseInt(_0x41f5dc(0x1ab))/0x6+-parseInt(_0x41f5dc(0x1ae))/0x7;if(_0x4d34da===_0x3e8f9e)break;else _0x159b3d['push'](_0x159b3d['shift']());}catch(_0x55eed0){_0x159b3d['push'](_0x159b3d['shift']());}}}(_0x17de,0x7f450));function _0x17de(){var _0x46c674=['282300eKipmY','9269610MuYPhE','3325690gQpvBj','1530432RXTVCR','265977eHdNrV','3828336vMTMjO','1700553HYgeVg'];_0x17de=function(){return _0x46c674;};return _0x17de();}var index = {'TDScene':TDScene,..._0x34f3ea};
14
+ (function(_0xb1b947,_0x30af4d){var _0x51d640=_0x1451,_0xbd041a=_0xb1b947();while(!![]){try{var _0x40ba41=-parseInt(_0x51d640(0x1b3))/0x1*(parseInt(_0x51d640(0x1aa))/0x2)+-parseInt(_0x51d640(0x1ae))/0x3*(-parseInt(_0x51d640(0x1b0))/0x4)+parseInt(_0x51d640(0x1b1))/0x5*(-parseInt(_0x51d640(0x1ac))/0x6)+-parseInt(_0x51d640(0x1ad))/0x7+parseInt(_0x51d640(0x1a9))/0x8*(parseInt(_0x51d640(0x1a7))/0x9)+-parseInt(_0x51d640(0x1af))/0xa*(parseInt(_0x51d640(0x1a8))/0xb)+-parseInt(_0x51d640(0x1ab))/0xc*(-parseInt(_0x51d640(0x1b2))/0xd);if(_0x40ba41===_0x30af4d)break;else _0xbd041a['push'](_0xbd041a['shift']());}catch(_0x58ef6a){_0xbd041a['push'](_0xbd041a['shift']());}}}(_0x5394,0x3ba97));function _0x5394(){var _0x1aacc5=['7776DerHSM','27687ciZQmV','3176aLizZc','2370NWjVyu','8293764gTEsKM','395526iqwhcQ','3235715KKgtaf','6XfqvRA','1310BOJHHp','769016wndQHQ','5RMWtLg','13zBZYcb','267hJkMpd'];_0x5394=function(){return _0x1aacc5;};return _0x5394();}function _0x1451(_0x9d7a90,_0x38cf72){_0x9d7a90=_0x9d7a90-0x1a7;var _0x53941b=_0x5394();var _0x14518f=_0x53941b[_0x9d7a90];return _0x14518f;}var index = {'TDScene':TDScene,..._0x5cd5a5};
13
15
 
14
16
  export { index as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rt_gis_3d",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "main": "./index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"