mars2d-echarts 3.2.7 → 3.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mars2d-echarts.js +3 -3
- package/package.json +2 -2
package/dist/mars2d-echarts.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Mars2D平台插件,结合echarts可视化功能插件 mars2d-echarts
|
|
3
3
|
*
|
|
4
|
-
* 版本信息:v3.2.
|
|
5
|
-
* 编译日期:2024-
|
|
4
|
+
* 版本信息:v3.2.8
|
|
5
|
+
* 编译日期:2024-09-25 20:25:43
|
|
6
6
|
* 版权所有:Copyright by 火星科技 http://mars2d.cn
|
|
7
7
|
* 使用单位:免费公开版 ,2024-01-16
|
|
8
8
|
*/
|
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
typeof define === 'function' && define.amd ? define(['exports', 'mars2d', 'echarts'], factory) :
|
|
12
12
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["mars2d-echarts"] = {}, global.mars2d, global.echarts));
|
|
13
13
|
})(this, (function (exports, mars2d, echarts) {
|
|
14
|
-
'use strict';const _0x53f05c=_0x1680;(function(_0x2c28d4,_0x2faab5){const _0x108e09={_0x413243:0x1be,_0x10be9a:0x1c8,_0x17d441:0x199,_0x5ca12b:0x1b1,_0x54a6dd:0x1a8,_0x342aed:0x1dc,_0x11046c:0x1eb},_0x210b00=_0x1680,_0x7ff88a=_0x2c28d4();while(!![]){try{const _0x12d5e1=-parseInt(_0x210b00(0x1a7))/0x1*(-parseInt(_0x210b00(_0x108e09._0x413243))/0x2)+parseInt(_0x210b00(0x18c))/0x3*(-parseInt(_0x210b00(0x18b))/0x4)+-parseInt(_0x210b00(_0x108e09._0x10be9a))/0x5*(-parseInt(_0x210b00(_0x108e09._0x17d441))/0x6)+parseInt(_0x210b00(_0x108e09._0x5ca12b))/0x7+-parseInt(_0x210b00(_0x108e09._0x54a6dd))/0x8*(-parseInt(_0x210b00(_0x108e09._0x342aed))/0x9)+parseInt(_0x210b00(0x1bc))/0xa*(-parseInt(_0x210b00(0x198))/0xb)+-parseInt(_0x210b00(_0x108e09._0x11046c))/0xc*(parseInt(_0x210b00(0x1de))/0xd);if(_0x12d5e1===_0x2faab5)break;else _0x7ff88a['push'](_0x7ff88a['shift']());}catch(_0x2662e8){_0x7ff88a['push'](_0x7ff88a['shift']());}}}(_0x3bfb,0x735fe));function _interopNamespace(_0x3b4222){const _0x398c3d={_0x1565c2:0x1a0},_0x53c4d1=_0x1680;if(_0x3b4222&&_0x3b4222[_0x53c4d1(0x1d0)])return _0x3b4222;var _0x599ed6=Object['create'](null);return _0x3b4222&&Object['keys'](_0x3b4222)['forEach'](function(_0x1d8c6b){const _0x36600b=_0x53c4d1;if(_0x1d8c6b!=='default'){var _0x55c2ca=Object['getOwnPropertyDescriptor'](_0x3b4222,_0x1d8c6b);Object[_0x36600b(0x1ce)](_0x599ed6,_0x1d8c6b,_0x55c2ca['get']?_0x55c2ca:{'enumerable':!![],'get':function(){return _0x3b4222[_0x1d8c6b];}});}}),_0x599ed6[_0x53c4d1(_0x398c3d._0x1565c2)]=_0x3b4222,_0x599ed6;}var mars2d__namespace=_interopNamespace(mars2d),echarts__namespace=_interopNamespace(echarts);function _0x3bfb(){const _0x1f65bb=['tgf5zxjvDgLS','z2v0qK1HCa','Cg9PBNruB0rHDge','yMLUza','z2v0vMLLD1jLy3q','CM9HBq','ntjVEKjgAvm','mtmWodGXBeTOEgXi','ntaLiduWjq','CMvNAxn0zxjdB29YzgLUyxrLu3LZDgvT','C2nOzwr1BgvY','C2HVDW','Dg9W','EM9VBwvUza','DxbKyxrLtgf5B3v0','z2v0u2L6zq','DhLWzq','qM91BMrPBMDszwn0','x2vJAgfYDhnjBNn0yw5Jzq','mJjkA0XiC00','mZeWntzmquvvCgq','CMvTB3zL','rwnOyxj0C0XHEwvY','x21HCa','DMLZAwjPBgL0Eq','x3nOB3C','rg9TvxrPBa','zgvMyxvSDa','Bgf0tg5Nvg9myxLLCLbVAw50','DxbKyxrL','twvYy2f0B3i','Bgf5zxjqB2LUDfrVtgf0tg5N','Bw92zwvUza','B2zM','mZyWotG5CvLzvvHN','nJrJvgPbrMS','vxrPBa','mhb4','y3jLyxrLrwXLBwvUDa','zgvMyxvSDe9WDgLVBG','ywjZB2X1Dgu','CgfPBNrLCG','ChjLCgfYzun1C3rVBxm','z2v0uM9HBvrYyw5ZzM9YBq','mtG5nJmZnvb0zvrguq','BMfTzq','AgLKzq','x3jLC2L6zuHHBMrSzxi','Bwf0CML4','CMvZAxPL','Bg5N','BwfYCZjKtwfWuM9HBq','AgvPz2H0','x2fWAq','AxnbzgrLza','mJaWntqYmfr5rKjIrW','Bgf5zxi','nhb0AeTfva','y29VCMrPBMf0zvn5C3rLBq','Bw92zuHHBMrSzxi','CgLK','DgvZDfbYB3a','z2v0','qNjVD3nLCG','C2v0twfWt2zMC2v0','yw5PBwf0zwq','x19TB2rLBa','nta1zu5StvzZ','Cg9ZAxrPB24','x21HCNmYzf9Tyxa','B3b0Aw9UCW','BgvMDa','BwfYCZjKtwfW','zgvMAw5LuhjVCgvYDhK','zwnjBNn0yw5Jzq','x19LC01VzhvSzq','EKLUzgv4','v2vIA2L0vhjHBNnMB3jTt3jPz2LU','Aw5PDa','tgf5zxi','x21HCe9MzNnLDa','x19TyxbpzMzZzxq','ChjVAMvJDgLVBG','zgLZCg9Zzq','zxzLBNq','C3r5Bgu','x2vJAgfYDhndB250ywLUzxi','mJCZoda3sMX6B1j5','z2v0vMLLD3bVCNrsB290','mJzetMPutgS','D2LKDgG','zwfJAfnLCMLLCW','B25bzgq','zxH0zw5Kq29TCg9Uzw50vMLLDW','B25cEvf1zxj5','y3jLyxrL','CMvNAxn0zxi','z2v0wNi','ywjZ','DhjHBNnMB3jTt3jPz2LU','B3zLCMXHEvbHBMu','uhjVAMvJDgLVBG','mtKWotqWngLksKXNzG','B25szw1VDMu'];_0x3bfb=function(){return _0x1f65bb;};return _0x3bfb();}const L$1=mars2d__namespace['L'];class CompositeCoordinateSystem{constructor(_0x34fadc,_0x38bca2){const _0x40edf5={_0x4c39bc:0x1b7,_0x3c6645:0x1ba,_0x3ceded:0x1ea},_0x3fc307=_0x1680;this[_0x3fc307(0x1ca)]=_0x34fadc,this['dimensions']=[_0x3fc307(_0x40edf5._0x4c39bc),'lat'],this[_0x3fc307(0x1d5)]=[0x0,0x0],this[_0x3fc307(_0x40edf5._0x3c6645)]=_0x38bca2,this['_projection']=L$1[_0x3fc307(_0x40edf5._0x3ceded)][_0x3fc307(0x1a3)];}['setMapOffset'](_0x3cc509){const _0x3c07f7={_0x5cbe0b:0x1d5},_0x356674=_0x1680;this[_0x356674(_0x3c07f7._0x5cbe0b)]=_0x3cc509;}[_0x53f05c(0x1ee)](){const _0x1c76ad={_0xd7cb39:0x1ca},_0x5c841b=_0x53f05c;return this[_0x5c841b(_0x1c76ad._0xd7cb39)];}[_0x53f05c(0x1af)](){const _0x1ee10e={_0x59d9ca:0x1cd,_0x59bcf9:0x1b9},_0x3e7b9b=_0x53f05c,_0xc8b46=echarts__namespace['util'],_0x33d204=this['getViewRect'](),_0x239f93={};_0x239f93['type']=_0x3e7b9b(_0x1ee10e._0x59d9ca),_0x239f93['x']=_0x33d204['x'],_0x239f93['y']=_0x33d204['y'],_0x239f93[_0x3e7b9b(0x1df)]=_0x33d204[_0x3e7b9b(0x1df)],_0x239f93[_0x3e7b9b(_0x1ee10e._0x59bcf9)]=_0x33d204[_0x3e7b9b(0x1b9)];return{'coordSys':_0x239f93,'api':{'coord':_0xc8b46[_0x3e7b9b(0x1f0)](this['dataToPoint'],this),'size':_0xc8b46['bind'](_0x4e57a0,this)}};function _0x4e57a0(_0x4c0d39,_0x1419f9){const _0x2b2528={_0x4124d0:0x1e7};return _0x1419f9=_0x1419f9||[0x0,0x0],_0xc8b46['map']([0x0,0x1],function(_0x13cc89){const _0x251f35=_0x1680,_0x31bf7b=_0x1419f9[_0x13cc89],_0x4dc319=_0x4c0d39[_0x13cc89]/0x2,_0x4a587c=[],_0x4e0ef2=[];return _0x4a587c[_0x13cc89]=_0x31bf7b-_0x4dc319,_0x4e0ef2[_0x13cc89]=_0x31bf7b+_0x4dc319,_0x4a587c[0x1-_0x13cc89]=_0x4e0ef2[0x1-_0x13cc89]=_0x1419f9[0x1-_0x13cc89],Math[_0x251f35(_0x2b2528._0x4124d0)](this['dataToPoint'](_0x4a587c)[_0x13cc89]-this['dataToPoint'](_0x4e0ef2)[_0x13cc89]);},this);}}['dataToPoint'](_0x3dfd11){const _0x166432={_0x56268c:0x1d7},_0x4d0263=_0x53f05c;_0x3dfd11[0x1]===null&&(_0x3dfd11[0x1]=L$1['CRS']['EPSG3857'][_0x4d0263(_0x166432._0x56268c)]['MAX_LATITUDE']);const _0xa593f5=this[_0x4d0263(0x1ca)][_0x4d0263(0x1a1)]([_0x3dfd11[0x1],_0x3dfd11[0x0]]),_0x48b603=this['_mapOffset'];return[_0xa593f5['x']-_0x48b603[0x0],_0xa593f5['y']-_0x48b603[0x1]];}[_0x53f05c(0x1ef)](_0x4da3fc){const _0x246389={_0x1896f9:0x1ca,_0x4b25c2:0x1a4},_0x113628=_0x53f05c,_0x599d9a=this[_0x113628(0x1d5)],_0x967720=this[_0x113628(_0x246389._0x1896f9)][_0x113628(_0x246389._0x4b25c2)]([_0x4da3fc[0x0]+_0x599d9a[0x0],_0x4da3fc[0x1]+_0x599d9a[0x1]]);return[_0x967720['lng'],_0x967720['lat']];}[_0x53f05c(0x189)](){const _0x28f1e0={_0x23b6af:0x194,_0x13c542:0x196},_0x20483b=_0x53f05c,_0x461339=this['_mars2d_map'][_0x20483b(_0x28f1e0._0x23b6af)]();return new echarts__namespace['graphic'][(_0x20483b(_0x28f1e0._0x13c542))](0x0,0x0,_0x461339['x'],_0x461339['y']);}[_0x53f05c(0x1b0)](){const _0x282609=_0x53f05c;return echarts__namespace[_0x282609(0x1b5)][_0x282609(0x1e4)]();}}CompositeCoordinateSystem['dimensions']=['lng','lat'],CompositeCoordinateSystem['create']=function(_0x2475ee,_0x482fcf){const _0x537f24={_0x50b7b0:0x18f,_0x5e4f38:0x1ca,_0xffba39:0x1cd},_0x3ec769={_0x390174:0x1c3},_0x5d6bcb={_0x4a0e49:0x1ae},_0x55c5c7=_0x53f05c;let _0x2b3fe8;const _0x2e316a=_0x2475ee[_0x55c5c7(_0x537f24._0x50b7b0)]['ecInstance'][_0x55c5c7(_0x537f24._0x5e4f38)];_0x2475ee['eachComponent'](_0x55c5c7(_0x537f24._0xffba39),function(_0x1b1190){const _0x542e6b=_0x55c5c7,_0x2b446b=_0x482fcf[_0x542e6b(0x1e6)]()[_0x542e6b(_0x5d6bcb._0x4a0e49)];if(!_0x2b446b)return;!_0x2b3fe8&&(_0x2b3fe8=new CompositeCoordinateSystem(_0x2e316a,_0x482fcf)),_0x1b1190['coordinateSystem']=_0x2b3fe8,_0x2b3fe8['setMapOffset'](_0x1b1190['__mapOffset']||[0x0,0x0]);}),_0x2475ee[_0x55c5c7(0x1e0)](function(_0x4706f1){const _0x5630dd=_0x55c5c7;_0x4706f1[_0x5630dd(_0x3ec769._0x390174)](_0x5630dd(0x1bf))===_0x5630dd(0x1cd)&&(!_0x2b3fe8&&(_0x2b3fe8=new CompositeCoordinateSystem(_0x2e316a)),_0x4706f1[_0x5630dd(0x1bf)]=_0x2b3fe8);});};if(echarts__namespace!==null&&echarts__namespace!==void 0x0&&echarts__namespace[_0x53f05c(0x1d3)]){echarts__namespace[_0x53f05c(0x18e)](_0x53f05c(0x1cd),CompositeCoordinateSystem);const _0xc9d2c1={};_0xc9d2c1[_0x53f05c(0x195)]=_0x53f05c(0x1b8),_0xc9d2c1[_0x53f05c(0x1d9)]='mars2dMapRoam',_0xc9d2c1[_0x53f05c(0x1a2)]=_0x53f05c(0x193),echarts__namespace['registerAction'](_0xc9d2c1,function(_0x4bc61e,_0xbc1be7){});const _0x4ce042={};_0x4ce042[_0x53f05c(0x18a)]=![];const _0xa00bd4={};_0xa00bd4[_0x53f05c(0x195)]='mars2dMap',_0xa00bd4['getBMap']=function(){const _0x1f5c53={_0x284180:0x1ca},_0x1ccc09=_0x53f05c;return this[_0x1ccc09(_0x1f5c53._0x284180)];},_0xa00bd4[_0x53f05c(0x1ac)]=_0x4ce042,echarts__namespace['extendComponentModel'](_0xa00bd4),echarts__namespace[_0x53f05c(0x1e2)]({'type':_0x53f05c(0x1cd),'init':function(_0x6ac74,_0x2ade6d){const _0x2eebde={_0x24ddf1:0x1ba,_0x243a9e:0x1cf,_0x517c6e:0x1ca,_0x5bb170:0x1e6,_0x5f5438:0x1dd,_0x12fc84:0x1c4,_0x9e6323:0x1b3,_0x375a22:0x19f,_0x405dfb:0x1c2,_0x4c42de:0x1d2,_0x29b663:0x1da,_0xbbfc1f:0x19c},_0x2fb933=_0x53f05c;this[_0x2fb933(_0x2eebde._0x24ddf1)]=_0x2ade6d,this['_map']=_0x6ac74[_0x2fb933(0x18f)][_0x2fb933(_0x2eebde._0x243a9e)][_0x2fb933(0x1ca)];const _0xeaf4b7=_0x6ac74['scheduler'][_0x2fb933(0x1cf)][_0x2fb933(_0x2eebde._0x517c6e)],_0x298ee4=_0x2ade6d[_0x2fb933(_0x2eebde._0x5bb170)]()['painter'][_0x2fb933(_0x2eebde._0x5f5438)](),_0x44573a=_0xeaf4b7['options']['zoomAnimation']&&L$1[_0x2fb933(_0x2eebde._0x12fc84)]['any3d'];_0x298ee4['className']='\x20leaflet-layer\x20leaflet-zoom-'+(_0x44573a?_0x2fb933(0x1c6):_0x2fb933(_0x2eebde._0x9e6323))+'\x20echarts-layer';const _0x4a6f1f=L$1[_0x2fb933(_0x2eebde._0x375a22)][_0x2fb933(_0x2eebde._0x405dfb)]([_0x2fb933(0x1e8),_0x2fb933(_0x2eebde._0x4c42de),'msTransformOrigin']);_0x298ee4[_0x2fb933(_0x2eebde._0x29b663)][_0x4a6f1f]=_0x2fb933(0x18d),this['_viewportRoot']=_0x298ee4,this['_map']['on'](_0x2fb933(0x1a5),this['moveHandler'],this),this[_0x2fb933(_0x2eebde._0xbbfc1f)]['on'](_0x2fb933(0x192),this['moveHandler'],this);},'moveHandler'(){const _0x1656db={_0x274a31:0x1da,_0x312906:0x191,_0x397510:0x1c7,_0x316138:0x1d6,_0x4dda05:0x1bf,_0x43bed7:0x1c5},_0x15a9b1=_0x53f05c,_0x3a4d3d=this['_map']['containerPointToLayerPoint']([0x0,0x0]),_0x49f251=[_0x3a4d3d['x']||0x0,_0x3a4d3d['y']||0x0];this['_viewportRoot'][_0x15a9b1(_0x1656db._0x274a31)]['left']=_0x49f251[0x0]+'px',this['_viewportRoot'][_0x15a9b1(0x1da)][_0x15a9b1(_0x1656db._0x312906)]=_0x49f251[0x1]+'px';const _0x548295=this[_0x15a9b1(_0x1656db._0x397510)];_0x548295[_0x15a9b1(_0x1656db._0x316138)]=_0x49f251;_0x548295!==null&&_0x548295!==void 0x0&&_0x548295[_0x15a9b1(0x1bf)]&&_0x548295[_0x15a9b1(_0x1656db._0x4dda05)][_0x15a9b1(_0x1656db._0x43bed7)](_0x49f251);const _0x409c20={};_0x409c20[_0x15a9b1(0x195)]=_0x15a9b1(0x1b8),this['_api']['dispatchAction'](_0x409c20);},'dispose':function(_0x1c54b9){const _0x2d0d35={_0x2f3cc6:0x1c0,_0x51cf34:0x192},_0x5133ee=_0x53f05c;this['_map']['off']('moveend',this[_0x5133ee(_0x2d0d35._0x2f3cc6)],this),this['_map'][_0x5133ee(0x1a6)](_0x5133ee(_0x2d0d35._0x51cf34),this['moveHandler'],this);}});}else throw new Error('请引入\x20echarts\x20库');const L=mars2d__namespace['L'];class EchartsLayer extends L[_0x53f05c(0x1d4)]{constructor(_0x43fbaf={}){const _0x32affb={_0x47bed6:0x1cb,_0x41816a:0x1c1},_0x1ba40b=_0x53f05c;var _0x5715d0,_0x2a02c5;super(_0x43fbaf),this['options']=_0x43fbaf,L['Util']['stamp'](this),this[_0x1ba40b(0x1cb)]['id']=(_0x5715d0=this[_0x1ba40b(_0x32affb._0x47bed6)]['id'])!==null&&_0x5715d0!==void 0x0?_0x5715d0:mars2d__namespace[_0x1ba40b(0x1a9)]['createGuid'](),this[_0x1ba40b(_0x32affb._0x47bed6)]['pid']=(_0x2a02c5=this[_0x1ba40b(_0x32affb._0x47bed6)][_0x1ba40b(_0x32affb._0x41816a)])!==null&&_0x2a02c5!==void 0x0?_0x2a02c5:-0x1;}get[_0x53f05c(0x1bb)](){const _0x1378ba=_0x53f05c;return this[_0x1378ba(0x19c)]&&this['_map']['hasLayer'](this);}get['pid'](){const _0x498577={_0x5bb31d:0x1c1},_0x20f95c=_0x53f05c;return this[_0x20f95c(0x1cb)][_0x20f95c(_0x498577._0x5bb31d)];}set['pid'](_0x7b0295){const _0x2b56d6={_0x506ef0:0x1cb},_0x133ae1=_0x53f05c;this[_0x133ae1(_0x2b56d6._0x506ef0)][_0x133ae1(0x1c1)]=_0x7b0295;}get['id'](){const _0x2c8309={_0x1cf273:0x1cb},_0x4324b9=_0x53f05c;return this[_0x4324b9(_0x2c8309._0x1cf273)]['id'];}set['id'](_0x576b09){const _0x11e1f3={_0x18b78c:0x1cb},_0x48b988=_0x53f05c;this[_0x48b988(_0x11e1f3._0x18b78c)]['id']=_0x576b09;}get['name'](){const _0xc3c4e5={_0x4db1c6:0x1b2},_0x3851b2=_0x53f05c;return this['options'][_0x3851b2(_0xc3c4e5._0x4db1c6)];}set[_0x53f05c(0x1b2)](_0x344e6e){const _0x16f3a8={_0x54f232:0x1b2},_0x3a77d8=_0x53f05c;this[_0x3a77d8(0x1cb)][_0x3a77d8(_0x16f3a8._0x54f232)]=_0x344e6e;}get['layer'](){return this['_echartsInstance'];}get[_0x53f05c(0x190)](){return this['_show'];}set[_0x53f05c(0x190)](_0x41b0d6){const _0x23018d={_0x537289:0x19e,_0x567725:0x19d},_0x549078=_0x53f05c;this[_0x549078(_0x23018d._0x537289)]=_0x41b0d6,_0x41b0d6?this['_echartsContainer'][_0x549078(0x1da)]['visibility']='visible':this[_0x549078(0x1db)]['style'][_0x549078(_0x23018d._0x567725)]='hidden';}[_0x53f05c(0x1e1)](_0x9bcfba){const _0x3b3176={_0x353b5e:0x1db,_0x3526af:0x1cb,_0x416953:0x19c,_0x50ac38:0x1b4},_0x382e34=_0x53f05c;if(!echarts__namespace)throw new Error('请引入\x20echarts\x20库\x20');this['_map']=_0x9bcfba,this[_0x382e34(_0x3b3176._0x353b5e)]=this['_createChartOverlay'](),this['_echartsInstance']=echarts__namespace['init'](this[_0x382e34(_0x3b3176._0x353b5e)]),this[_0x382e34(0x197)]['_mars2d_map']=_0x9bcfba,this['setEchartsOption'](this[_0x382e34(_0x3b3176._0x3526af)]),this[_0x382e34(_0x3b3176._0x416953)]['on']('resize',this[_0x382e34(_0x3b3176._0x50ac38)],this);}[_0x53f05c(0x1ec)](){const _0x59e7b5={_0x380124:0x197,_0x86b7fb:0x1db,_0x5d9e6c:0x19a,_0x2bb0df:0x19c,_0x30e1a9:0x1a6,_0x3fde71:0x1b4},_0x5ae06e=_0x53f05c;this['_echartsInstance']&&(this['_echartsInstance']['clear'](),this[_0x5ae06e(_0x59e7b5._0x380124)][_0x5ae06e(0x1d8)](),delete this[_0x5ae06e(_0x59e7b5._0x380124)]),this[_0x5ae06e(_0x59e7b5._0x86b7fb)]&&(L['DomUtil'][_0x5ae06e(_0x59e7b5._0x5d9e6c)](this['_echartsContainer']),delete this[_0x5ae06e(0x1db)]),this[_0x5ae06e(_0x59e7b5._0x2bb0df)][_0x5ae06e(_0x59e7b5._0x30e1a9)]('resize',this[_0x5ae06e(_0x59e7b5._0x3fde71)],this),delete this[_0x5ae06e(0x19c)];}['setZIndex'](_0x1efae8){const _0x1f9fbe={_0x159e23:0x1cb,_0x57012c:0x1db},_0x12e7a2=_0x53f05c;this[_0x12e7a2(_0x1f9fbe._0x159e23)][_0x12e7a2(0x1d1)]=_0x1efae8,this[_0x12e7a2(_0x1f9fbe._0x57012c)]&&(this[_0x12e7a2(_0x1f9fbe._0x57012c)]['style'][_0x12e7a2(0x1d1)]=_0x1efae8);}['_createChartOverlay'](){const _0x30d7c3={_0x993130:0x1da,_0x3f06a1:0x1d1,_0xd19a53:0x1e9},_0x125981=_0x53f05c,_0x48265d=this['_map'][_0x125981(0x194)](),_0x30daee=document[_0x125981(0x1ab)]('div');_0x30daee['style'][_0x125981(0x1c9)]=_0x125981(0x1ad),_0x30daee[_0x125981(0x1da)]['top']=_0x125981(0x1aa),_0x30daee['style'][_0x125981(0x1cc)]='0px',_0x30daee[_0x125981(_0x30d7c3._0x993130)]['height']=_0x48265d['y']+'px',_0x30daee[_0x125981(0x1da)]['width']=_0x48265d['x']+'px',_0x30daee[_0x125981(_0x30d7c3._0x993130)]['zIndex']=this['options'][_0x125981(_0x30d7c3._0x3f06a1)]||0x63;const _0x4cd170=this['_map']['getPane'](this[_0x125981(0x1cb)]['pane']||_0x125981(_0x30d7c3._0xd19a53));return _0x4cd170['appendChild'](_0x30daee),_0x30daee;}['_resizeHandler'](_0x61871){const _0xc519ee={_0x10fb57:0x1da,_0x3db827:0x1db,_0x4e1a56:0x1b9},_0x33ccce=_0x53f05c;if(!this['_echartsInstance'])return;const _0x22ce7d=_0x61871['newSize'];this['_echartsContainer'][_0x33ccce(_0xc519ee._0x10fb57)]['width']=_0x22ce7d['x']+'px',this[_0x33ccce(_0xc519ee._0x3db827)]['style'][_0x33ccce(_0xc519ee._0x4e1a56)]=_0x22ce7d['y']+'px',this[_0x33ccce(0x197)][_0x33ccce(0x1b6)]();}['setEchartsOption'](_0x30382c,_0x43018c,_0x3b500e){const _0x95d946={_0x31751d:0x18a},_0x385bbb=_0x53f05c;if(this['_echartsInstance']){const _0x3df031={};_0x3df031[_0x385bbb(_0x95d946._0x31751d)]=!![],_0x30382c['mars2dMap']=_0x30382c['mars2dMap']||_0x3df031,this['_echartsInstance']['setOption'](_0x30382c,_0x43018c,_0x3b500e);}}['on'](_0xed52f7,_0x56e8a9,_0x24150f){return this['_echartsInstance']['on'](_0xed52f7,_0x56e8a9,_0x24150f||this),this;}[_0x53f05c(0x1e3)](_0x3ae2e3,_0x569ab8,_0x383c18,_0x53ff2b){return this['_echartsInstance']['on'](_0x3ae2e3,_0x569ab8,_0x383c18,_0x53ff2b||this),this;}['off'](_0x4f3981,_0x34fd74,_0x43f6ae){const _0x5b63e5=_0x53f05c;return this['_echartsInstance'][_0x5b63e5(0x1a6)](_0x4f3981,_0x34fd74,_0x43f6ae||this),this;}}mars2d__namespace[_0x53f05c(0x1bd)]['EchartsLayer']=EchartsLayer,mars2d__namespace[_0x53f05c(0x1ed)][_0x53f05c(0x1e5)]('echarts',EchartsLayer),exports[_0x53f05c(0x19b)]=EchartsLayer;const _0x3e69eb={};function _0x1680(_0x36897b,_0x2fdeec){const _0x3bfb9d=_0x3bfb();return _0x1680=function(_0x16800a,_0x5ba167){_0x16800a=_0x16800a-0x189;let _0x471039=_0x3bfb9d[_0x16800a];if(_0x1680['ZyayBj']===undefined){var _0x1c2bc0=function(_0x14fa56){const _0xc9d2c1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4ce042='',_0xa00bd4='';for(let _0x38abf3=0x0,_0x16350a,_0x3e69eb,_0x3b4222=0x0;_0x3e69eb=_0x14fa56['charAt'](_0x3b4222++);~_0x3e69eb&&(_0x16350a=_0x38abf3%0x4?_0x16350a*0x40+_0x3e69eb:_0x3e69eb,_0x38abf3++%0x4)?_0x4ce042+=String['fromCharCode'](0xff&_0x16350a>>(-0x2*_0x38abf3&0x6)):0x0){_0x3e69eb=_0xc9d2c1['indexOf'](_0x3e69eb);}for(let _0x599ed6=0x0,_0x1d8c6b=_0x4ce042['length'];_0x599ed6<_0x1d8c6b;_0x599ed6++){_0xa00bd4+='%'+('00'+_0x4ce042['charCodeAt'](_0x599ed6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xa00bd4);};_0x1680['jrycqz']=_0x1c2bc0,_0x36897b=arguments,_0x1680['ZyayBj']=!![];}const _0x5eb8a7=_0x3bfb9d[0x0],_0x2835d4=_0x16800a+_0x5eb8a7,_0x4ebdb0=_0x36897b[_0x2835d4];return!_0x4ebdb0?(_0x471039=_0x1680['jrycqz'](_0x471039),_0x36897b[_0x2835d4]=_0x471039):_0x471039=_0x4ebdb0,_0x471039;},_0x1680(_0x36897b,_0x2fdeec);}_0x3e69eb['value']=!![],Object['defineProperty'](exports,'__esModule',_0x3e69eb);
|
|
14
|
+
'use strict';const _0xb696e3=_0x31d5;(function(_0x55e5b8,_0x427ecb){const _0x5b7e13={_0x15f5d7:0xda,_0x27cb5b:0x8d,_0x2236e0:0xd2,_0x5e3f27:0xb5,_0x43f0d8:0xb4,_0x366ffe:0xcc,_0x3c6dd5:0x89,_0x349d71:0xe4},_0x5f0544=_0x31d5,_0x4d91e4=_0x55e5b8();while(!![]){try{const _0x1eb41f=-parseInt(_0x5f0544(_0x5b7e13._0x15f5d7))/0x1*(-parseInt(_0x5f0544(_0x5b7e13._0x27cb5b))/0x2)+parseInt(_0x5f0544(0xc1))/0x3+-parseInt(_0x5f0544(_0x5b7e13._0x2236e0))/0x4*(-parseInt(_0x5f0544(_0x5b7e13._0x5e3f27))/0x5)+-parseInt(_0x5f0544(_0x5b7e13._0x43f0d8))/0x6+parseInt(_0x5f0544(_0x5b7e13._0x366ffe))/0x7+parseInt(_0x5f0544(0xfb))/0x8+-parseInt(_0x5f0544(_0x5b7e13._0x3c6dd5))/0x9*(parseInt(_0x5f0544(_0x5b7e13._0x349d71))/0xa);if(_0x1eb41f===_0x427ecb)break;else _0x4d91e4['push'](_0x4d91e4['shift']());}catch(_0x4adb5d){_0x4d91e4['push'](_0x4d91e4['shift']());}}}(_0x577d,0xf2db9));function _interopNamespace(_0xf4b99d){const _0x3f49fb={_0xd4656c:0x9f},_0x334beb={_0x5f0147:0xbe,_0x27b4c1:0xbb},_0x2e90f6=_0x31d5;if(_0xf4b99d&&_0xf4b99d['__esModule'])return _0xf4b99d;var _0x58e99b=Object[_0x2e90f6(0xa5)](null);return _0xf4b99d&&Object['keys'](_0xf4b99d)[_0x2e90f6(_0x3f49fb._0xd4656c)](function(_0x32c8a8){const _0x3fdfb1=_0x2e90f6;if(_0x32c8a8!=='default'){var _0x422239=Object[_0x3fdfb1(_0x334beb._0x5f0147)](_0xf4b99d,_0x32c8a8);Object[_0x3fdfb1(0xb3)](_0x58e99b,_0x32c8a8,_0x422239[_0x3fdfb1(_0x334beb._0x27b4c1)]?_0x422239:{'enumerable':!![],'get':function(){return _0xf4b99d[_0x32c8a8];}});}}),_0x58e99b['default']=_0xf4b99d,_0x58e99b;}function _0x577d(){const _0x5da1d2=['z2v0vMLLD1jLy3q','Aw5PDa','v2vIA2L0vhjHBNnMB3jTt3jPz2LU','z2v0vMLLD3bVCNrsB290','ntbnyuHRALq','DhjHBNnMB3jTt3jPz2LU','ChjVAMvJDgLVBG','6k+35BYv5ywLigvJAgfYDhmG5BQtia','Dg9W','B3b0Aw9UCW','x21HCa','qNjVD3nLCG','Cg9PBNruB0rHDge','AgLKzgvU','zgL2','EM9VBwvUza','CgfPBNrLCG','zwnjBNn0yw5Jzq','C2v0rwnOyxj0C09WDgLVBG','tgf5zxjvDgLS','C2HVDW','x3zPzxDWB3j0uM9VDa','x2fWAq','x19TyxbpzMzZzxq','C3rHBxa','C2nOzwr1BgvY','yMLUza','mta2odm2ndbVsgPZthy','Bg5N','nZyYndy2nuPZuwzmAa','zgf0yvrVug9PBNq','BgvMDa','BMfTzq','oeHIwLvLAG','x19TB2rLBa','BwfYCZjKtwfWuM9HBq','EM9VBufUAw1HDgLVBG','Bgf5zxjqB2LUDfrVtgf0tg5N','Bw92zuHHBMrSzxi','z2v0qK1HCa','qM91BMrPBMDszwn0','x21HCe9MzNnLDa','BwfYCZjKtwfW','BxnuCMfUC2zVCM1pCMLNAw4','zxH0zw5Kq29TCg9Uzw50tw9KzwW','x3bYB2PLy3rPB24','CMvNAxn0zxjby3rPB24','Bgf0tg5Nvg9myxLLCLbVAw50','Bgf0','z2v0u2L6zq','vxrPBa','zM9YrwfJAa','x3jLC2L6zuHHBMrSzxi','x2nYzwf0zunOyxj0t3zLCMXHEq','rwnOyxj0C0XHEwvY','yxbWzw5Kq2HPBgq','x2vJAgfYDhnjBNn0yw5Jzq','y3jLyxrL','C3r5Bgu','6k+35BYv5ywLigvJAgfYDhmG5BQt','DMLZAwjSzq','y2XHC3noyw1L','DMLZAwjPBgL0Eq','CMvZAxPL','uhjVAMvJDgLVBG','DhLWzq','CMvNAxn0zxi','x19LC01VzhvSzq','zgLZCgf0y2Hby3rPB24','rvbtrZm4ntC','x3nOB3C','zgvMAw5LuhjVCgvYDhK','odm3nJa4ng1wsLjWrW','mZy1z3npy2Tc','DgvZDfbYB3a','igXLywzSzxqTBgf5zxiGBgvHzMXLDc16B29Tlq','Bgf5zxi','y29VCMrPBMf0zvn5C3rLBq','C2v0twfWt2zMC2v0','z2v0','zwfJAenVBxbVBMvUDa','CgLK','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','zxH0zw5Kq29TCg9Uzw50vMLLDW','zgLTzw5ZAw9UCW','ntuWmZiXohb5tNb1qq','AgvPz2H0','z2v0uM9HBvrYyw5ZzM9YBq','B25bzgq','y29UDgfPBMvYug9PBNruB0XHEwvYug9PBNq','B2zM','CMvTB3zL','mhb4','BwfW','CgfUzq','y3jLyxrLr3vPza','ntq4otm4nMj0sKTSDG','EKLUzgv4','ntaLiduWjq','D2LKDgG','z2v0wNi','CMvNAxn0zxjdB29YzgLUyxrLu3LZDgvT','nJq1nJryzeDIBe0','tgf5zxi','yw55m2q','ChjLCgfYzun1C3rVBxm','Bwf0CML4','BMv3u2L6zq','x2vJAgfYDhndB250ywLUzxi','AxnbzgrLza','mZCZntGZAM96A2Xl','rg9TvxrPBa','B3zLCMXHEvbHBMu','Bw92zwvUza','y2XLyxi','x21HCNmYzf9Tyxa'];_0x577d=function(){return _0x5da1d2;};return _0x577d();}var mars2d__namespace=_interopNamespace(mars2d),echarts__namespace=_interopNamespace(echarts);const L$1=mars2d__namespace['L'];class CompositeCoordinateSystem{constructor(_0x1afc0d,_0x9f06e1){const _0x3270a9={_0x1ab5a5:0xfc,_0x5aaf20:0x95,_0x520458:0x99,_0x42a6f:0xac},_0x4fe32a=_0x31d5;this['_mars2d_map']=_0x1afc0d,this['dimensions']=[_0x4fe32a(_0x3270a9._0x1ab5a5),_0x4fe32a(0x9c)],this[_0x4fe32a(_0x3270a9._0x5aaf20)]=[0x0,0x0],this['_api']=_0x9f06e1,this[_0x4fe32a(_0x3270a9._0x520458)]=L$1[_0x4fe32a(_0x3270a9._0x42a6f)]['Mercator'];}[_0xb696e3(0xba)](_0x34d8db){const _0x3fa62=_0xb696e3;this[_0x3fa62(0x95)]=_0x34d8db;}['getBMap'](){return this['_mars2d_map'];}[_0xb696e3(0xd5)](){const _0x22f6bd={_0x42e1a5:0xcf,_0x5f3a7e:0xc2},_0x1c68a3={_0x3a0665:0xc9},_0x5c6f63=_0xb696e3,_0x476328=echarts__namespace['util'],_0x307064=this[_0x5c6f63(0xe0)](),_0x23ae61={};_0x23ae61['type']='mars2dMap',_0x23ae61['x']=_0x307064['x'],_0x23ae61['y']=_0x307064['y'],_0x23ae61[_0x5c6f63(0xcf)]=_0x307064[_0x5c6f63(_0x22f6bd._0x42e1a5)],_0x23ae61[_0x5c6f63(_0x22f6bd._0x5f3a7e)]=_0x307064['height'];return{'coordSys':_0x23ae61,'api':{'coord':_0x476328[_0x5c6f63(0xfa)](this['dataToPoint'],this),'size':_0x476328[_0x5c6f63(0xfa)](_0x97c213,this)}};function _0x97c213(_0x1823ca,_0x2c5764){const _0x46f897={_0x5d103e:0x8a},_0x3078b3=_0x5c6f63;return _0x2c5764=_0x2c5764||[0x0,0x0],_0x476328[_0x3078b3(_0x1c68a3._0x3a0665)]([0x0,0x1],function(_0x1703bc){const _0x464736=_0x3078b3,_0x15fa63=_0x2c5764[_0x1703bc],_0x2bd4f9=_0x1823ca[_0x1703bc]/0x2,_0x543d1d=[],_0x19eb2c=[];return _0x543d1d[_0x1703bc]=_0x15fa63-_0x2bd4f9,_0x19eb2c[_0x1703bc]=_0x15fa63+_0x2bd4f9,_0x543d1d[0x1-_0x1703bc]=_0x19eb2c[0x1-_0x1703bc]=_0x2c5764[0x1-_0x1703bc],Math['abs'](this['dataToPoint'](_0x543d1d)[_0x1703bc]-this[_0x464736(_0x46f897._0x5d103e)](_0x19eb2c)[_0x1703bc]);},this);}}[_0xb696e3(0x8a)](_0x4c43c4){const _0x14440e={_0x944ddd:0xb1,_0x5726d7:0xe6,_0x25c6c1:0x9b,_0x494aa0:0x95},_0x2f0e1a=_0xb696e3;_0x4c43c4[0x1]===null&&(_0x4c43c4[0x1]=L$1['CRS'][_0x2f0e1a(_0x14440e._0x944ddd)][_0x2f0e1a(_0x14440e._0x5726d7)]['MAX_LATITUDE']);const _0x278b38=this[_0x2f0e1a(0xdf)][_0x2f0e1a(_0x14440e._0x25c6c1)]([_0x4c43c4[0x1],_0x4c43c4[0x0]]),_0x27cea1=this[_0x2f0e1a(_0x14440e._0x494aa0)];return[_0x278b38['x']-_0x27cea1[0x0],_0x278b38['y']-_0x27cea1[0x1]];}[_0xb696e3(0xec)](_0x4bbcde){const _0x1a4c88={_0x276323:0x91,_0x305b37:0xfc},_0x1d9df0=_0xb696e3,_0x26e3e6=this['_mapOffset'],_0x223777=this['_mars2d_map'][_0x1d9df0(_0x1a4c88._0x276323)]([_0x4bbcde[0x0]+_0x26e3e6[0x0],_0x4bbcde[0x1]+_0x26e3e6[0x1]]);return[_0x223777[_0x1d9df0(_0x1a4c88._0x305b37)],_0x223777[_0x1d9df0(0x9c)]];}[_0xb696e3(0xe0)](){const _0x41ca6f={_0xf83552:0xdf,_0x2858cc:0x94},_0x4fd700=_0xb696e3,_0x438119=this[_0x4fd700(_0x41ca6f._0xf83552)][_0x4fd700(0x9d)]();return new echarts__namespace['graphic'][(_0x4fd700(_0x41ca6f._0x2858cc))](0x0,0x0,_0x438119['x'],_0x438119['y']);}[_0xb696e3(0xc3)](){const _0x21878f=_0xb696e3;return echarts__namespace[_0x21878f(0xd6)][_0x21878f(0xa5)]();}}CompositeCoordinateSystem[_0xb696e3(0xc0)]=[_0xb696e3(0xfc),'lat'],CompositeCoordinateSystem[_0xb696e3(0xa5)]=function(_0x39daa0,_0xc58ecb){const _0x5d317f={_0xe31836:0xf9,_0x59df76:0xf1,_0x34f416:0xbc,_0x4ef656:0x96},_0x866513={_0x11c423:0xb9},_0x537a15={_0x4a4e8c:0xd0,_0x12e37c:0xb9},_0x1db1fe=_0xb696e3;let _0x4d209c;const _0x40a9da=_0x39daa0[_0x1db1fe(_0x5d317f._0xe31836)][_0x1db1fe(_0x5d317f._0x59df76)]['_mars2d_map'];_0x39daa0[_0x1db1fe(_0x5d317f._0x34f416)](_0x1db1fe(_0x5d317f._0x4ef656),function(_0x27204d){const _0xef6dd4=_0x1db1fe,_0x20291=_0xc58ecb[_0xef6dd4(_0x537a15._0x4a4e8c)]()['painter'];if(!_0x20291)return;!_0x4d209c&&(_0x4d209c=new CompositeCoordinateSystem(_0x40a9da,_0xc58ecb)),_0x27204d[_0xef6dd4(_0x537a15._0x12e37c)]=_0x4d209c,_0x4d209c['setMapOffset'](_0x27204d['__mapOffset']||[0x0,0x0]);}),_0x39daa0['eachSeries'](function(_0x50b80b){const _0x200b8f=_0x1db1fe;_0x50b80b['get']('coordinateSystem')===_0x200b8f(0x96)&&(!_0x4d209c&&(_0x4d209c=new CompositeCoordinateSystem(_0x40a9da)),_0x50b80b[_0x200b8f(_0x866513._0x11c423)]=_0x4d209c);});};if(echarts__namespace!==null&&echarts__namespace!==void 0x0&&echarts__namespace[_0xb696e3(0xe1)]){echarts__namespace[_0xb696e3(0xd1)](_0xb696e3(0x96),CompositeCoordinateSystem);const _0x5c5f91={};_0x5c5f91[_0xb696e3(0xad)]=_0xb696e3(0x8f),_0x5c5f91['event']=_0xb696e3(0x8f),_0x5c5f91['update']='updateLayout',echarts__namespace[_0xb696e3(0x9a)](_0x5c5f91,function(_0xf51936,_0x34f738){});const _0x3670b6={};_0x3670b6['roam']=![];const _0x3793f1={};_0x3793f1[_0xb696e3(0xad)]='mars2dMap',_0x3793f1[_0xb696e3(0x93)]=function(){const _0x365915={_0x32e941:0xdf},_0x207edc=_0xb696e3;return this[_0x207edc(_0x365915._0x32e941)];},_0x3793f1['defaultOption']=_0x3670b6,echarts__namespace[_0xb696e3(0x98)](_0x3793f1),echarts__namespace[_0xb696e3(0xbf)]({'type':_0xb696e3(0x96),'init':function(_0x54b758,_0x1544d8){const _0x1c34b2={_0x4a23fb:0xf9,_0x33636f:0xdf,_0x131b57:0xf0,_0x7378a4:0xe3,_0x54cd6e:0xe9,_0x10dcee:0x90,_0x227d81:0xeb,_0x427a8c:0xd4,_0x5b9307:0xb7,_0x5aaa7c:0xb6,_0x4c905b:0xe2,_0x3471d1:0x97,_0x27f152:0xa6,_0x22d947:0xce,_0x10f8c5:0xf5,_0x3771f8:0xea,_0x1aeb23:0xef},_0x253aa0=_0xb696e3;this['_api']=_0x1544d8,this[_0x253aa0(0xea)]=_0x54b758[_0x253aa0(_0x1c34b2._0x4a23fb)]['ecInstance'][_0x253aa0(_0x1c34b2._0x33636f)];const _0x13914d=_0x54b758[_0x253aa0(0xf9)]['ecInstance']['_mars2d_map'],_0x23ae14=_0x1544d8[_0x253aa0(0xd0)]()[_0x253aa0(_0x1c34b2._0x131b57)][_0x253aa0(_0x1c34b2._0x7378a4)](),_0x463dba=_0x13914d[_0x253aa0(_0x1c34b2._0x54cd6e)][_0x253aa0(_0x1c34b2._0x10dcee)]&&L$1[_0x253aa0(_0x1c34b2._0x227d81)][_0x253aa0(_0x1c34b2._0x427a8c)];_0x23ae14[_0x253aa0(0xa9)]=_0x253aa0(_0x1c34b2._0x5b9307)+(_0x463dba?'animated':'hide')+'\x20echarts-layer';const _0x4889b6=L$1[_0x253aa0(0xdb)][_0x253aa0(_0x1c34b2._0x5aaa7c)]([_0x253aa0(0xe5),_0x253aa0(_0x1c34b2._0x4c905b),_0x253aa0(_0x1c34b2._0x3471d1)]);_0x23ae14[_0x253aa0(_0x1c34b2._0x27f152)][_0x4889b6]=_0x253aa0(_0x1c34b2._0x22d947),this[_0x253aa0(_0x1c34b2._0x10f8c5)]=_0x23ae14,this[_0x253aa0(_0x1c34b2._0x3771f8)]['on'](_0x253aa0(0xdd),this['moveHandler'],this),this[_0x253aa0(_0x1c34b2._0x3771f8)]['on'](_0x253aa0(_0x1c34b2._0x1aeb23),this[_0x253aa0(0x92)],this);},'moveHandler'(){const _0x1d6288={_0xcb8636:0x8b,_0x442cdd:0xa6,_0x218022:0xe8,_0x2630c2:0xf7,_0x49e436:0xad,_0x269115:0xf6,_0x3fd4fa:0xb0},_0x2c9c35=_0xb696e3,_0x3e7d8a=this[_0x2c9c35(0xea)][_0x2c9c35(0xc5)]([0x0,0x0]),_0xd5b71f=[_0x3e7d8a['x']||0x0,_0x3e7d8a['y']||0x0];this[_0x2c9c35(0xf5)]['style'][_0x2c9c35(_0x1d6288._0xcb8636)]=_0xd5b71f[0x0]+'px',this['_viewportRoot'][_0x2c9c35(_0x1d6288._0x442cdd)][_0x2c9c35(_0x1d6288._0x218022)]=_0xd5b71f[0x1]+'px';const _0x4e55c7=this[_0x2c9c35(0x8e)];_0x4e55c7[_0x2c9c35(_0x1d6288._0x2630c2)]=_0xd5b71f;_0x4e55c7!==null&&_0x4e55c7!==void 0x0&&_0x4e55c7[_0x2c9c35(0xb9)]&&_0x4e55c7['coordinateSystem']['setMapOffset'](_0xd5b71f);const _0x48b0a1={};_0x48b0a1[_0x2c9c35(_0x1d6288._0x49e436)]='mars2dMapRoam',this[_0x2c9c35(_0x1d6288._0x269115)][_0x2c9c35(_0x1d6288._0x3fd4fa)](_0x48b0a1);},'dispose':function(_0x38acad){const _0x38e78b={_0x38cd04:0xea,_0x291e3b:0x92,_0x344a3e:0xea},_0x29e433=_0xb696e3;this[_0x29e433(_0x38e78b._0x38cd04)]['off']('moveend',this[_0x29e433(_0x38e78b._0x291e3b)],this),this[_0x29e433(_0x38e78b._0x344a3e)][_0x29e433(0xc6)]('zoomend',this['moveHandler'],this);}});}else throw new Error(_0xb696e3(0xa7));const L=mars2d__namespace['L'];class EchartsLayer extends L[_0xb696e3(0xd3)]{constructor(_0x352563={}){const _0x1885e0={_0x3bf7c7:0xe9,_0xc78a96:0x9e,_0x32f93b:0xf8,_0x377bdf:0xe9},_0x377e57=_0xb696e3;var _0x25ca33,_0x12f11a;super(_0x352563),this[_0x377e57(_0x1885e0._0x3bf7c7)]=_0x352563,L[_0x377e57(_0x1885e0._0xc78a96)][_0x377e57(_0x1885e0._0x32f93b)](this),this[_0x377e57(0xe9)]['id']=(_0x25ca33=this[_0x377e57(_0x1885e0._0x377bdf)]['id'])!==null&&_0x25ca33!==void 0x0?_0x25ca33:mars2d__namespace[_0x377e57(0x9e)][_0x377e57(0xcb)](),this[_0x377e57(0xe9)]['pid']=(_0x12f11a=this[_0x377e57(_0x1885e0._0x3bf7c7)][_0x377e57(0xbd)])!==null&&_0x12f11a!==void 0x0?_0x12f11a:-0x1;}get[_0xb696e3(0xd9)](){const _0x3bf677={_0x3a6581:0xea,_0x47f405:0xea},_0x51e3e8=_0xb696e3;return this[_0x51e3e8(_0x3bf677._0x3a6581)]&&this[_0x51e3e8(_0x3bf677._0x47f405)]['hasLayer'](this);}get[_0xb696e3(0xbd)](){const _0x536d5f={_0x1582b9:0xe9},_0x267e4c=_0xb696e3;return this[_0x267e4c(_0x536d5f._0x1582b9)][_0x267e4c(0xbd)];}set[_0xb696e3(0xbd)](_0x3eb773){const _0xa5cd3f={_0x50f59f:0xbd},_0x71ae8a=_0xb696e3;this[_0x71ae8a(0xe9)][_0x71ae8a(_0xa5cd3f._0x50f59f)]=_0x3eb773;}get['id'](){const _0x195cf6={_0x5ce904:0xe9},_0x1af9f2=_0xb696e3;return this[_0x1af9f2(_0x195cf6._0x5ce904)]['id'];}set['id'](_0x3dda2d){const _0x122ba0=_0xb696e3;this[_0x122ba0(0xe9)]['id']=_0x3dda2d;}get[_0xb696e3(0x8c)](){const _0x3ba730={_0x13b69d:0xe9},_0x5d81e8=_0xb696e3;return this[_0x5d81e8(_0x3ba730._0x13b69d)]['name'];}set['name'](_0x30ff51){const _0x597b1e={_0x56e454:0xe9},_0x398baa=_0xb696e3;this[_0x398baa(_0x597b1e._0x56e454)][_0x398baa(0x8c)]=_0x30ff51;}get['layer'](){return this['_echartsInstance'];}get[_0xb696e3(0xf4)](){const _0x36399f={_0x444e42:0xb2},_0x2d266=_0xb696e3;return this[_0x2d266(_0x36399f._0x444e42)];}set['show'](_0x3dbe50){const _0x1ad88a={_0x53e049:0xa6,_0x1cb646:0xa8,_0x10fbee:0xa6},_0x2efa04=_0xb696e3;this['_show']=_0x3dbe50,_0x3dbe50?this[_0x2efa04(0xd8)][_0x2efa04(_0x1ad88a._0x53e049)]['visibility']=_0x2efa04(_0x1ad88a._0x1cb646):this['_echartsContainer'][_0x2efa04(_0x1ad88a._0x10fbee)][_0x2efa04(0xaa)]=_0x2efa04(0xed);}[_0xb696e3(0xc4)](_0x38b5b6){const _0x24745f={_0x36eaeb:0xea,_0x41b6cb:0xa1,_0x204bea:0xd8,_0x4ce24c:0xdf,_0xbf5211:0xf2,_0x37ae0d:0xe9},_0x2a3a48=_0xb696e3;if(!echarts__namespace)throw new Error(_0x2a3a48(0xe7));this[_0x2a3a48(_0x24745f._0x36eaeb)]=_0x38b5b6,this[_0x2a3a48(0xd8)]=this[_0x2a3a48(_0x24745f._0x41b6cb)](),this['_echartsInstance']=echarts__namespace['init'](this[_0x2a3a48(_0x24745f._0x204bea)]),this['_echartsInstance'][_0x2a3a48(_0x24745f._0x4ce24c)]=_0x38b5b6,this[_0x2a3a48(_0x24745f._0xbf5211)](this[_0x2a3a48(_0x24745f._0x37ae0d)]),this[_0x2a3a48(0xea)]['on'](_0x2a3a48(0xab),this['_resizeHandler'],this);}['onRemove'](){const _0x324ab5={_0x3b71bd:0xa4,_0x23170f:0xde,_0x250e60:0xc7,_0x150085:0xd8,_0x3b332a:0xc6},_0x2302a4=_0xb696e3;this['_echartsInstance']&&(this[_0x2302a4(_0x324ab5._0x3b71bd)][_0x2302a4(_0x324ab5._0x23170f)](),this['_echartsInstance']['dispose'](),delete this[_0x2302a4(0xa4)]),this[_0x2302a4(0xd8)]&&(L['DomUtil'][_0x2302a4(_0x324ab5._0x250e60)](this[_0x2302a4(_0x324ab5._0x150085)]),delete this[_0x2302a4(0xd8)]),this[_0x2302a4(0xea)][_0x2302a4(_0x324ab5._0x3b332a)]('resize',this['_resizeHandler'],this),delete this[_0x2302a4(0xea)];}['setZIndex'](_0x2fec29){const _0x32a0bb={_0x16bb9d:0xcd,_0x566bc1:0xcd},_0x2403ec=_0xb696e3;this['options'][_0x2403ec(_0x32a0bb._0x16bb9d)]=_0x2fec29,this['_echartsContainer']&&(this[_0x2403ec(0xd8)][_0x2403ec(0xa6)][_0x2403ec(_0x32a0bb._0x566bc1)]=_0x2fec29);}['_createChartOverlay'](){const _0x573c99={_0x1cb111:0xea,_0x545d6d:0x9d,_0xba6e5a:0xee,_0x417de9:0xa6,_0x188803:0xa6,_0x7fd5b1:0xe8,_0x5b4e27:0xc8,_0x395c70:0xc2,_0x182dab:0xa6,_0x483baf:0xe9,_0x20a7b5:0xca,_0x8a05e6:0xdc,_0x3c1214:0xa3},_0x1392cc=_0xb696e3,_0x494695=this[_0x1392cc(_0x573c99._0x1cb111)][_0x1392cc(_0x573c99._0x545d6d)](),_0x288656=document['createElement'](_0x1392cc(_0x573c99._0xba6e5a));_0x288656[_0x1392cc(_0x573c99._0x417de9)]['position']='absolute',_0x288656[_0x1392cc(_0x573c99._0x188803)][_0x1392cc(_0x573c99._0x7fd5b1)]=_0x1392cc(_0x573c99._0x5b4e27),_0x288656['style'][_0x1392cc(0x8b)]=_0x1392cc(_0x573c99._0x5b4e27),_0x288656['style'][_0x1392cc(_0x573c99._0x395c70)]=_0x494695['y']+'px',_0x288656[_0x1392cc(_0x573c99._0x417de9)]['width']=_0x494695['x']+'px',_0x288656[_0x1392cc(_0x573c99._0x182dab)]['zIndex']=this[_0x1392cc(_0x573c99._0x483baf)][_0x1392cc(0xcd)]||0x63;const _0x33ecaa=this['_map']['getPane'](this[_0x1392cc(0xe9)][_0x1392cc(_0x573c99._0x20a7b5)]||_0x1392cc(_0x573c99._0x8a05e6));return _0x33ecaa[_0x1392cc(_0x573c99._0x3c1214)](_0x288656),_0x288656;}[_0xb696e3(0xa0)](_0x179d0c){const _0x2407f2={_0x3ddc6e:0xd7,_0x2dcfc9:0xd8,_0x41c50e:0xa6,_0x39a365:0xcf},_0x543c93=_0xb696e3;if(!this['_echartsInstance'])return;const _0x14fedf=_0x179d0c[_0x543c93(_0x2407f2._0x3ddc6e)];this[_0x543c93(_0x2407f2._0x2dcfc9)][_0x543c93(_0x2407f2._0x41c50e)][_0x543c93(_0x2407f2._0x39a365)]=_0x14fedf['x']+'px',this[_0x543c93(0xd8)]['style']['height']=_0x14fedf['y']+'px',this['_echartsInstance'][_0x543c93(0xab)]();}['setEchartsOption'](_0x2555e0,_0x273994,_0x6a29b8){const _0x1a505a={_0x348762:0x96},_0x2cc375=_0xb696e3;if(this['_echartsInstance']){const _0x6ef9fd={};_0x6ef9fd['roam']=!![],_0x2555e0[_0x2cc375(_0x1a505a._0x348762)]=_0x2555e0[_0x2cc375(0x96)]||_0x6ef9fd,this[_0x2cc375(0xa4)]['setOption'](_0x2555e0,_0x273994,_0x6a29b8);}}['on'](_0x4c47c7,_0xd5146f,_0x45b2d2){return this['_echartsInstance']['on'](_0x4c47c7,_0xd5146f,_0x45b2d2||this),this;}['onByQuery'](_0x32d08e,_0x5b6a41,_0x49e95d,_0x18703b){return this['_echartsInstance']['on'](_0x32d08e,_0x5b6a41,_0x49e95d,_0x18703b||this),this;}[_0xb696e3(0xc6)](_0xb4ade8,_0x26c48b,_0x2d7a21){return this['_echartsInstance']['off'](_0xb4ade8,_0x26c48b,_0x2d7a21||this),this;}}function _0x31d5(_0x48348b,_0x38c5b4){const _0x577dce=_0x577d();return _0x31d5=function(_0x31d53d,_0x18a41d){_0x31d53d=_0x31d53d-0x89;let _0x1d487d=_0x577dce[_0x31d53d];if(_0x31d5['nVRCdf']===undefined){var _0x42d0c4=function(_0xf66075){const _0x5c5f91='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3670b6='',_0x3793f1='';for(let _0x24f027=0x0,_0x382d03,_0x121cf4,_0xf4b99d=0x0;_0x121cf4=_0xf66075['charAt'](_0xf4b99d++);~_0x121cf4&&(_0x382d03=_0x24f027%0x4?_0x382d03*0x40+_0x121cf4:_0x121cf4,_0x24f027++%0x4)?_0x3670b6+=String['fromCharCode'](0xff&_0x382d03>>(-0x2*_0x24f027&0x6)):0x0){_0x121cf4=_0x5c5f91['indexOf'](_0x121cf4);}for(let _0x58e99b=0x0,_0x32c8a8=_0x3670b6['length'];_0x58e99b<_0x32c8a8;_0x58e99b++){_0x3793f1+='%'+('00'+_0x3670b6['charCodeAt'](_0x58e99b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3793f1);};_0x31d5['kjtoPJ']=_0x42d0c4,_0x48348b=arguments,_0x31d5['nVRCdf']=!![];}const _0x2284ed=_0x577dce[0x0],_0x116ff7=_0x31d53d+_0x2284ed,_0x17ceea=_0x48348b[_0x116ff7];return!_0x17ceea?(_0x1d487d=_0x31d5['kjtoPJ'](_0x1d487d),_0x48348b[_0x116ff7]=_0x1d487d):_0x1d487d=_0x17ceea,_0x1d487d;},_0x31d5(_0x48348b,_0x38c5b4);}mars2d__namespace[_0xb696e3(0xb8)][_0xb696e3(0xa2)]=EchartsLayer,mars2d__namespace[_0xb696e3(0xf3)][_0xb696e3(0xae)]('echarts',EchartsLayer),exports[_0xb696e3(0xa2)]=EchartsLayer;const _0x121cf4={};_0x121cf4['value']=!![],Object[_0xb696e3(0xb3)](exports,_0xb696e3(0xaf),_0x121cf4);
|
|
15
15
|
}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mars2d-echarts",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.8",
|
|
4
4
|
"description": "Mars2D平台插件,结合echarts可视化功能插件",
|
|
5
5
|
"main": "dist/mars2d-echarts.js",
|
|
6
6
|
"files": [
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"echarts": "^5.4.0"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"mars2d": "~3.2.
|
|
13
|
+
"mars2d": "~3.2.8"
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
16
|
"lint": "eslint ./src/**/*.{js,ts} --fix"
|