Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mars2d-echarts

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mars2d-echarts - npm Package Compare versions

Comparing version 3.1.7 to 3.1.8

6

dist/mars2d-echarts.js
/**
* Mars2D平台插件,结合echarts可视化功能插件 mars2d-echarts
*
* 版本信息:v3.1.7
* 编译日期:2022-10-24 19:10:05
* 版本信息:v3.1.8
* 编译日期:2022-11-13 11:57:26
* 版权所有:Copyright by 火星科技 http://mars2d.cn

@@ -14,3 +14,3 @@ * 使用单位:免费公开版 ,2021-10-01

})(this, (function (exports, mars2d, echarts) {
'use strict';var _0x295330=_0x4e7b;(function(_0x299928,_0x1af8dc){var _0x1e377c=_0x4e7b,_0xd1983b=_0x299928();while(!![]){try{var _0x4f543f=parseInt(_0x1e377c(0x1bf))/0x1*(-parseInt(_0x1e377c(0x1d0))/0x2)+parseInt(_0x1e377c(0x1e4))/0x3*(parseInt(_0x1e377c(0x203))/0x4)+-parseInt(_0x1e377c(0x1ba))/0x5*(parseInt(_0x1e377c(0x1cf))/0x6)+parseInt(_0x1e377c(0x206))/0x7+-parseInt(_0x1e377c(0x215))/0x8+parseInt(_0x1e377c(0x20f))/0x9*(parseInt(_0x1e377c(0x212))/0xa)+-parseInt(_0x1e377c(0x1dc))/0xb*(parseInt(_0x1e377c(0x1dd))/0xc);if(_0x4f543f===_0x1af8dc)break;else _0xd1983b['push'](_0xd1983b['shift']());}catch(_0x49b4e0){_0xd1983b['push'](_0xd1983b['shift']());}}}(_0x1a3b,0x28237));function _interopNamespace(_0x5d2587){var _0x22b4ca=_0x4e7b;if(_0x5d2587&&_0x5d2587[_0x22b4ca(0x1b5)])return _0x5d2587;var _0x4450ca=Object[_0x22b4ca(0x1d1)](null);return _0x5d2587&&Object[_0x22b4ca(0x1a4)](_0x5d2587)[_0x22b4ca(0x1a0)](function(_0x4c104a){var _0x42921b=_0x22b4ca;if(_0x4c104a!==_0x42921b(0x1bb)){var _0x339d52=Object[_0x42921b(0x1a6)](_0x5d2587,_0x4c104a);Object[_0x42921b(0x1d3)](_0x4450ca,_0x4c104a,_0x339d52[_0x42921b(0x20d)]?_0x339d52:{'enumerable':!![],'get':function(){return _0x5d2587[_0x4c104a];}});}}),_0x4450ca[_0x22b4ca(0x1bb)]=_0x5d2587,_0x4450ca;}var mars2d__namespace=_interopNamespace(mars2d),echarts__namespace=_interopNamespace(echarts);function _classCallCheck(_0x3ea503,_0xb391a1){var _0x584b6b=_0x4e7b;if(!(_0x3ea503 instanceof _0xb391a1))throw new TypeError(_0x584b6b(0x1fa));}function _defineProperties(_0x4a9f0b,_0x228391){var _0x2c7377=_0x4e7b;for(var _0xe12c38=0x0;_0xe12c38<_0x228391[_0x2c7377(0x1fe)];_0xe12c38++){var _0xe1f29f=_0x228391[_0xe12c38];_0xe1f29f[_0x2c7377(0x1e1)]=_0xe1f29f[_0x2c7377(0x1e1)]||![],_0xe1f29f['configurable']=!![];if(_0x2c7377(0x205)in _0xe1f29f)_0xe1f29f[_0x2c7377(0x199)]=!![];Object[_0x2c7377(0x1d3)](_0x4a9f0b,_0xe1f29f[_0x2c7377(0x210)],_0xe1f29f);}}function _0x1a3b(){var _0x1c8765=['Bgf0tg5Nvg9myxLLCLbVAw50','zM9YrwfJAa','z2v0wNi','B2jQzwn0','CgfUzq','A2v5CW','zxH0zw5Kq29TCg9Uzw50tw9KzwW','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','y29VCMrPBMf0zvn5C3rLBq','x2fWAq','zgLZCgf0y2Hby3rPB24','twvYy2f0B3i','ChjLCgfYzun1C3rVBxm','v2vIA2L0vhjHBNnMB3jTt3jPz2LU','BwfYCZjKtwfWuM9HBq','B3b0Aw9UCW','qNjVD3nLCG','zwfJAenVBxbVBMvUDa','Bw92zwvUza','EM9VBufUAw1HDgLVBG','x21HCa','rvbtrZm4ntC','x19LC01VzhvSzq','C2nOzwr1BgvY','DxrPBa','z2v0uhjVDg90ExbLt2y','zgLTzw5ZAw9UCW','nda0nuvcvxjRDG','zgvMyxvSDa','DMLZAwjPBgL0Eq','Bwf0CML4','x19TyxbpzMzZzxq','mZC4m2j0vhP4qq','EKLUzgv4','zwnjBNn0yw5Jzq','z2v0ugfUzq','zgLZCg9Zzq','z2v0u2L6zq','CMvTB3zL','6k+35BYv5ywLigvJAgfYDhmG5BQtia','ChjVDg90ExbL','AgLKzgvU','C2v0twfWt2zMC2v0','DMLZAwjSzq','Dg9W','y2XHC3noyw1L','x21HCNmYzf9Tyxa','vxrPBa','otK2BKzMv2vQ','mtbJvwDSvKW','y3jLyxrL','C2v0rwnOyxj0C09WDgLVBG','zgvMAw5LuhjVCgvYDhK','BMv3u2L6zq','B2zM','zNvUy3rPB24','yw55m2q','rwnOyxj0C0XHEwvY','6k+35BYv5ywLigvJAgfYDhmG5BQt','ywjZ','y29UC3rYDwn0','ndryCfbyt3m','ndyXoti4BuLKDwPR','Cg9PBNruB0rHDge','uhjVAMvJDgLVBG','Bg5N','zw51BwvYywjSzq','z2v0uM9HBvrYyw5ZzM9YBq','y29UC3rYDwn0B3i','mJa2mvbdzurdsW','C2v0t3b0Aw9U','x3zPzxDWB3j0uM9VDa','y2XLyxi','CMvZAxPL','Aw5PDa','x2vJAgfYDhnjBNn0yw5Jzq','z2v0vMLLD1jLy3q','qM91BMrPBMDszwn0','D2LKDgG','tgf5zxjvDgLS','zgL2','x19TB2rLBa','BxnuCMfUC2zVCM1pCMLNAw4','y2fSBa','z3jHCgHPyW','zxH0zw5Kq29TCg9Uzw50vMLLDW','yxbWzw5Kq2HPBgq','Bw92zuHHBMrSzxi','mhb4','C3r5Bgu','Dw5KzwzPBMvK','q2fUBM90ignHBgWGysbJBgfZCYbHCYbHigz1BMn0Aw9U','C2HVDW','igvJAgfYDhmTBgf5zxi','q1jt','BgvUz3rO','x19WCM90B19F','Bgf5zxi','x21HCe9MzNnLDa','DxbKyxrLtgf5B3v0','mtm3mNHRv0T0Ca','rg9TvxrPBa','DMfSDwu','mtK1ndK2mfLzA2XfyW','DgvZDfbYB3a','x3nOB3C','B25szw1VDMu','zwnOyxj0CW','EM9VBwvUza','CMvNAxn0zxjdB29YzgLUyxrLu3LZDgvT','z2v0','x3bYB2PLy3rPB24','mtm2mJqYoxnfBM1bEa','A2v5','B3zLCMXHEvbHBMu','mtbIA2fVq3m','AgvPz2H0','u3vWzxiGzxHWCMvZC2LVBIbTDxn0igvPDgHLCIbIzsbUDwXSig9YigeGzNvUy3rPB24','mtu1nZy4mePbz0LrrW','C3rHBxa','yw5PBwf0zwq','Bgf0','yxbWBhK','yMLUza','z2v0vMLLD3bVCNrsB290','BwfYCZjKtwfW','CgfPBNrLCG','BMfTzq','D3jPDgfIBgu','x2nYzwf0zunOyxj0t3zLCMXHEq','x3jLC2L6zuHHBMrSzxi','x2vJAgfYDhndB250ywLUzxi','CgLK','zgf0yvrVug9PBNq'];_0x1a3b=function(){return _0x1c8765;};return _0x1a3b();}function _createClass(_0x10e460,_0x5cd0b8,_0x5db9ab){var _0x374c36=_0x4e7b;if(_0x5cd0b8)_defineProperties(_0x10e460[_0x374c36(0x1c7)],_0x5cd0b8);if(_0x5db9ab)_defineProperties(_0x10e460,_0x5db9ab);return Object[_0x374c36(0x1d3)](_0x10e460,_0x374c36(0x1c7),{'writable':![]}),_0x10e460;}function _inherits(_0x1d5673,_0xc8c574){var _0x589876=_0x4e7b;if(typeof _0xc8c574!==_0x589876(0x1d6)&&_0xc8c574!==null)throw new TypeError(_0x589876(0x214));_0x1d5673[_0x589876(0x1c7)]=Object['create'](_0xc8c574&&_0xc8c574[_0x589876(0x1c7)],{'constructor':{'value':_0x1d5673,'writable':!![],'configurable':!![]}}),Object[_0x589876(0x1d3)](_0x1d5673,'prototype',{'writable':![]});if(_0xc8c574)_setPrototypeOf(_0x1d5673,_0xc8c574);}function _getPrototypeOf(_0x5dd404){var _0x43a948=_0x4e7b;return _getPrototypeOf=Object['setPrototypeOf']?Object[_0x43a948(0x1b8)]:function _0x56b36d(_0x4e84d0){var _0x2f5f63=_0x43a948;return _0x4e84d0[_0x2f5f63(0x1ff)]||Object['getPrototypeOf'](_0x4e84d0);},_getPrototypeOf(_0x5dd404);}function _setPrototypeOf(_0x52e47e,_0x18b020){return _setPrototypeOf=Object['setPrototypeOf']||function _0x10dc16(_0x276de9,_0x5d732a){return _0x276de9['__proto__']=_0x5d732a,_0x276de9;},_setPrototypeOf(_0x52e47e,_0x18b020);}function _isNativeReflectConstruct(){var _0x27c47c=_0x4e7b;if(typeof Reflect===_0x27c47c(0x1f9)||!Reflect['construct'])return![];if(Reflect['construct']['sham'])return![];if(typeof Proxy===_0x27c47c(0x1d6))return!![];try{return Boolean[_0x27c47c(0x1c7)]['valueOf'][_0x27c47c(0x1f2)](Reflect[_0x27c47c(0x1db)](Boolean,[],function(){})),!![];}catch(_0x5cdcb6){return![];}}function _0x4e7b(_0x5cf6d3,_0x953928){var _0x1a3bb5=_0x1a3b();return _0x4e7b=function(_0x4e7b84,_0x408581){_0x4e7b84=_0x4e7b84-0x198;var _0x26247a=_0x1a3bb5[_0x4e7b84];if(_0x4e7b['vqNLZY']===undefined){var _0x4a9134=function(_0x5d2587){var _0x4450ca='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x4c104a='',_0x339d52='';for(var _0x3ea503=0x0,_0xb391a1,_0x4a9f0b,_0x228391=0x0;_0x4a9f0b=_0x5d2587['charAt'](_0x228391++);~_0x4a9f0b&&(_0xb391a1=_0x3ea503%0x4?_0xb391a1*0x40+_0x4a9f0b:_0x4a9f0b,_0x3ea503++%0x4)?_0x4c104a+=String['fromCharCode'](0xff&_0xb391a1>>(-0x2*_0x3ea503&0x6)):0x0){_0x4a9f0b=_0x4450ca['indexOf'](_0x4a9f0b);}for(var _0xe12c38=0x0,_0xe1f29f=_0x4c104a['length'];_0xe12c38<_0xe1f29f;_0xe12c38++){_0x339d52+='%'+('00'+_0x4c104a['charCodeAt'](_0xe12c38)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x339d52);};_0x4e7b['bErMPf']=_0x4a9134,_0x5cf6d3=arguments,_0x4e7b['vqNLZY']=!![];}var _0x2db23d=_0x1a3bb5[0x0],_0x208656=_0x4e7b84+_0x2db23d,_0x2acdd0=_0x5cf6d3[_0x208656];return!_0x2acdd0?(_0x26247a=_0x4e7b['bErMPf'](_0x26247a),_0x5cf6d3[_0x208656]=_0x26247a):_0x26247a=_0x2acdd0,_0x26247a;},_0x4e7b(_0x5cf6d3,_0x953928);}function _assertThisInitialized(_0x2e43ec){if(_0x2e43ec===void 0x0)throw new ReferenceError('this\x20hasn\x27t\x20been\x20initialised\x20-\x20super()\x20hasn\x27t\x20been\x20called');return _0x2e43ec;}function _possibleConstructorReturn(_0x538db8,_0x5eb6d6){var _0x39f545=_0x4e7b;if(_0x5eb6d6&&(typeof _0x5eb6d6===_0x39f545(0x1a2)||typeof _0x5eb6d6===_0x39f545(0x1d6)))return _0x5eb6d6;else{if(_0x5eb6d6!==void 0x0)throw new TypeError('Derived\x20constructors\x20may\x20only\x20return\x20object\x20or\x20undefined');}return _assertThisInitialized(_0x538db8);}function _createSuper(_0x2cbaac){var _0x4cded9=_isNativeReflectConstruct();return function _0x13c15f(){var _0x204911=_0x4e7b,_0x42a2c2=_getPrototypeOf(_0x2cbaac),_0x486a5c;if(_0x4cded9){var _0x4fa63f=_getPrototypeOf(this)[_0x204911(0x1e3)];_0x486a5c=Reflect[_0x204911(0x1db)](_0x42a2c2,arguments,_0x4fa63f);}else _0x486a5c=_0x42a2c2[_0x204911(0x219)](this,arguments);return _possibleConstructorReturn(this,_0x486a5c);};}var L$1=mars2d__namespace['L'],CompositeCoordinateSystem=(function(){var _0x49bcb2=_0x4e7b;function _0x479dd4(_0x302501,_0x4fe634){var _0x16627f=_0x4e7b;_classCallCheck(this,_0x479dd4),this['_mars2d_map']=_0x302501,this[_0x16627f(0x1b9)]=['lng',_0x16627f(0x218)],this[_0x16627f(0x201)]=[0x0,0x0],this[_0x16627f(0x1a8)]=_0x4fe634,this[_0x16627f(0x20e)]=L$1[_0x16627f(0x1df)][_0x16627f(0x1aa)];}return _createClass(_0x479dd4,[{'key':_0x49bcb2(0x1c9),'value':function _0x595ce(_0x3b8293){var _0x23ef70=_0x49bcb2;this[_0x23ef70(0x201)]=_0x3b8293;}},{'key':'getBMap','value':function _0x2f6344(){var _0x25f18c=_0x49bcb2;return this[_0x25f18c(0x1cd)];}},{'key':_0x49bcb2(0x1ab),'value':function _0x524c41(){var _0x3216fb=_0x49bcb2,_0x272469=echarts__namespace[_0x3216fb(0x1b7)],_0x48197d=this[_0x3216fb(0x1eb)]();return{'coordSys':{'type':_0x3216fb(0x21c),'x':_0x48197d['x'],'y':_0x48197d['y'],'width':_0x48197d['width'],'height':_0x48197d[_0x3216fb(0x213)]},'api':{'coord':_0x272469[_0x3216fb(0x21a)](this[_0x3216fb(0x19e)],this),'size':_0x272469['bind'](_0x59ef7c,this)}};function _0x59ef7c(_0x39c152,_0x1c2f20){return _0x1c2f20=_0x1c2f20||[0x0,0x0],_0x272469['map']([0x0,0x1],function(_0x2e918f){var _0x15aee1=_0x4e7b,_0xaf22ec=_0x1c2f20[_0x2e918f],_0x2447d1=_0x39c152[_0x2e918f]/0x2,_0x173d94=[],_0xbc32e4=[];return _0x173d94[_0x2e918f]=_0xaf22ec-_0x2447d1,_0xbc32e4[_0x2e918f]=_0xaf22ec+_0x2447d1,_0x173d94[0x1-_0x2e918f]=_0xbc32e4[0x1-_0x2e918f]=_0x1c2f20[0x1-_0x2e918f],Math[_0x15aee1(0x1da)](this['dataToPoint'](_0x173d94)[_0x2e918f]-this[_0x15aee1(0x19e)](_0xbc32e4)[_0x2e918f]);},this);}}},{'key':_0x49bcb2(0x19e),'value':function _0x415ee5(_0x3e621e){var _0x59541f=_0x49bcb2;_0x3e621e[0x1]===null&&(_0x3e621e[0x1]=L$1[_0x59541f(0x1fd)][_0x59541f(0x1b4)]['projection']['MAX_LATITUDE']);var _0xc55cb8=this[_0x59541f(0x1cd)][_0x59541f(0x19f)]([_0x3e621e[0x1],_0x3e621e[0x0]]),_0x2073c1=this[_0x59541f(0x201)];return[_0xc55cb8['x']-_0x2073c1[0x0],_0xc55cb8['y']-_0x2073c1[0x1]];}},{'key':_0x49bcb2(0x1de),'value':function _0x13a8b6(_0x124979){var _0x5f3624=_0x49bcb2,_0x3e3eaa=this[_0x5f3624(0x201)],_0x526117=this[_0x5f3624(0x1cd)]['layerPointToLatLng']([_0x124979[0x0]+_0x3e3eaa[0x0],_0x124979[0x1]+_0x3e3eaa[0x1]]);return[_0x526117[_0x5f3624(0x1e0)],_0x526117[_0x5f3624(0x218)]];}},{'key':_0x49bcb2(0x1eb),'value':function _0xbcb4ea(){var _0x43de19=_0x49bcb2,_0x1a619c=this[_0x43de19(0x1cd)][_0x43de19(0x1c4)]();return new echarts__namespace[(_0x43de19(0x1f3))][(_0x43de19(0x1ec))](0x0,0x0,_0x1a619c['x'],_0x1a619c['y']);}},{'key':_0x49bcb2(0x1e2),'value':function _0x212717(){var _0x4735b9=_0x49bcb2;return echarts__namespace[_0x4735b9(0x1bd)][_0x4735b9(0x1d1)]();}}]),_0x479dd4;}());CompositeCoordinateSystem[_0x295330(0x1b9)]=[_0x295330(0x1e0),_0x295330(0x218)],CompositeCoordinateSystem[_0x295330(0x1d1)]=function(_0xcd1041,_0x32c341){var _0x83f4bd=_0x295330,_0x33c352,_0x4d677a=_0xcd1041[_0x83f4bd(0x1b6)][_0x83f4bd(0x1c1)][_0x83f4bd(0x1cd)];_0xcd1041[_0x83f4bd(0x1b0)](_0x83f4bd(0x21c),function(_0x535efb){var _0x31438b=_0x83f4bd,_0x17650e=_0x32c341[_0x31438b(0x1a1)]()[_0x31438b(0x21d)];if(!_0x17650e)return;!_0x33c352&&(_0x33c352=new CompositeCoordinateSystem(_0x4d677a,_0x32c341)),_0x535efb[_0x31438b(0x1a7)]=_0x33c352,_0x33c352[_0x31438b(0x1c9)](_0x535efb[_0x31438b(0x1be)]||[0x0,0x0]);}),_0xcd1041['eachSeries'](function(_0x5297e7){var _0x572016=_0x83f4bd;_0x5297e7[_0x572016(0x20d)](_0x572016(0x1a7))===_0x572016(0x21c)&&(!_0x33c352&&(_0x33c352=new CompositeCoordinateSystem(_0x4d677a)),_0x5297e7[_0x572016(0x1a7)]=_0x33c352);});};if(echarts__namespace!==null&&echarts__namespace!==void 0x0&&echarts__namespace[_0x295330(0x1e9)])echarts__namespace[_0x295330(0x20c)]('mars2dMap',CompositeCoordinateSystem),echarts__namespace['registerAction']({'type':_0x295330(0x1ad),'event':_0x295330(0x1ad),'update':_0x295330(0x202)},function(_0x548d12,_0x3fa88e){}),echarts__namespace[_0x295330(0x1a5)]({'type':'mars2dMap','getBMap':function getBMap(){return this['_mars2d_map'];},'defaultOption':{'roam':![]}}),echarts__namespace[_0x295330(0x1f4)]({'type':_0x295330(0x21c),'init':function init(_0x2b4ab9,_0x1e2c1b){var _0x3408d2=_0x295330;this[_0x3408d2(0x1a8)]=_0x1e2c1b,this[_0x3408d2(0x1b3)]=_0x2b4ab9[_0x3408d2(0x1b6)][_0x3408d2(0x1c1)][_0x3408d2(0x1cd)];var _0x5d4c1c=_0x2b4ab9[_0x3408d2(0x1b6)][_0x3408d2(0x1c1)][_0x3408d2(0x1cd)],_0x447b62=_0x1e2c1b[_0x3408d2(0x1a1)]()['painter'][_0x3408d2(0x21b)](),_0x28dce0=_0x5d4c1c['options'][_0x3408d2(0x1b2)]&&L$1[_0x3408d2(0x1af)][_0x3408d2(0x1d7)];_0x447b62[_0x3408d2(0x1cc)]='\x20leaflet-layer\x20leaflet-zoom-'+(_0x28dce0?_0x3408d2(0x217):'hide')+_0x3408d2(0x1fc);var _0x17d77f=L$1[_0x3408d2(0x204)][_0x3408d2(0x207)](['transformOrigin',_0x3408d2(0x1ac),_0x3408d2(0x1f1)]);_0x447b62[_0x3408d2(0x1f8)][_0x17d77f]='50%\x2050%',this[_0x3408d2(0x1e6)]=_0x447b62,this['_map']['on'](_0x3408d2(0x1b1),this[_0x3408d2(0x1f6)],this),this[_0x3408d2(0x1b3)]['on']('zoomend',this[_0x3408d2(0x1f6)],this);},'moveHandler':function moveHandler(){var _0x1e5f20=_0x295330,_0x35dd07=this[_0x1e5f20(0x1b3)]['containerPointToLayerPoint']([0x0,0x0]),_0xaf3b2e=[_0x35dd07['x']||0x0,_0x35dd07['y']||0x0];this[_0x1e5f20(0x1e6)][_0x1e5f20(0x1f8)]['left']=_0xaf3b2e[0x0]+'px',this[_0x1e5f20(0x1e6)]['style'][_0x1e5f20(0x1cb)]=_0xaf3b2e[0x1]+'px';var _0x8df508=this[_0x1e5f20(0x1f0)];_0x8df508[_0x1e5f20(0x1be)]=_0xaf3b2e,_0x8df508!==null&&_0x8df508!==void 0x0&&_0x8df508[_0x1e5f20(0x1a7)]&&_0x8df508[_0x1e5f20(0x1a7)][_0x1e5f20(0x1c9)](_0xaf3b2e),this[_0x1e5f20(0x1a8)][_0x1e5f20(0x1a9)]({'type':_0x1e5f20(0x1ad)});},'dispose':function dispose(_0x27df68){var _0x3063e5=_0x295330;this[_0x3063e5(0x1b3)][_0x3063e5(0x1d5)]('moveend',this[_0x3063e5(0x1f6)],this),this['_map'][_0x3063e5(0x1d5)](_0x3063e5(0x20b),this[_0x3063e5(0x1f6)],this);}});else throw new Error(_0x295330(0x1d9));var L=mars2d__namespace['L'],EchartsLayer=function(_0x252b44){var _0x46a965=_0x295330;_inherits(_0x3537dc,_0x252b44);var _0x3e1f36=_createSuper(_0x3537dc);function _0x3537dc(){var _0x11da3c=_0x4e7b,_0x193cdf,_0x76e404,_0x197c4c,_0x1df4c7=arguments['length']>0x0&&arguments[0x0]!==undefined?arguments[0x0]:{};return _classCallCheck(this,_0x3537dc),_0x197c4c=_0x3e1f36[_0x11da3c(0x1f2)](this,_0x1df4c7),_0x197c4c[_0x11da3c(0x1ae)]=_0x1df4c7,L['Util'][_0x11da3c(0x216)](_assertThisInitialized(_0x197c4c)),_0x197c4c[_0x11da3c(0x1ae)]['id']=(_0x193cdf=_0x197c4c[_0x11da3c(0x1ae)]['id'])!==null&&_0x193cdf!==void 0x0?_0x193cdf:mars2d__namespace[_0x11da3c(0x1ce)]['createGuid'](),_0x197c4c['options'][_0x11da3c(0x19d)]=(_0x76e404=_0x197c4c[_0x11da3c(0x1ae)]['pid'])!==null&&_0x76e404!==void 0x0?_0x76e404:-0x1,_0x197c4c;}return _createClass(_0x3537dc,[{'key':'isAdded','get':function _0x3f4a4d(){var _0x4a5bf2=_0x4e7b;return this[_0x4a5bf2(0x1b3)]&&this[_0x4a5bf2(0x1b3)]['hasLayer'](this);}},{'key':_0x46a965(0x19d),'get':function _0x25092d(){var _0x52a751=_0x46a965;return this[_0x52a751(0x1ae)]['pid'];},'set':function _0x402685(_0x500b8a){var _0x13cb15=_0x46a965;this[_0x13cb15(0x1ae)][_0x13cb15(0x19d)]=_0x500b8a;}},{'key':'id','get':function _0x1e8911(){var _0x53ee0d=_0x46a965;return this[_0x53ee0d(0x1ae)]['id'];},'set':function _0x494159(_0x38ae11){var _0x4dfb8c=_0x46a965;this[_0x4dfb8c(0x1ae)]['id']=_0x38ae11;}},{'key':_0x46a965(0x198),'get':function _0x21e610(){var _0x4ddcd2=_0x46a965;return this[_0x4ddcd2(0x1ae)][_0x4ddcd2(0x198)];},'set':function _0x273c9d(_0x3bcc12){var _0x1ef604=_0x46a965;this[_0x1ef604(0x1ae)]['name']=_0x3bcc12;}},{'key':'layer','get':function _0x4ff689(){var _0x28e0b1=_0x46a965;return this[_0x28e0b1(0x1ea)];}},{'key':_0x46a965(0x1fb),'get':function _0x12ca3b(){return this['_show'];},'set':function _0x30bd1d(_0x110f87){var _0x163e7f=_0x46a965;this[_0x163e7f(0x208)]=_0x110f87,_0x110f87?this[_0x163e7f(0x19c)]['style'][_0x163e7f(0x1bc)]=_0x163e7f(0x1ca):this[_0x163e7f(0x19c)][_0x163e7f(0x1f8)][_0x163e7f(0x1bc)]=_0x163e7f(0x1c8);}},{'key':'onAdd','value':function _0x52c30b(_0x39869c){var _0x375ff8=_0x46a965;if(!echarts__namespace)throw new Error(_0x375ff8(0x1c6));this[_0x375ff8(0x1b3)]=_0x39869c,this['_echartsContainer']=this['_createChartOverlay'](),this['_echartsInstance']=echarts__namespace['init'](this[_0x375ff8(0x19c)]),this[_0x375ff8(0x1ea)]['_mars2d_map']=_0x39869c,this[_0x375ff8(0x1d2)](this[_0x375ff8(0x1ae)]),this[_0x375ff8(0x1b3)]['on'](_0x375ff8(0x1e8),this[_0x375ff8(0x19b)],this);}},{'key':_0x46a965(0x209),'value':function _0x487545(){var _0x3d2fe7=_0x46a965;this['_echartsInstance']&&(this[_0x3d2fe7(0x1ea)][_0x3d2fe7(0x1e7)](),this[_0x3d2fe7(0x1ea)][_0x3d2fe7(0x1c3)](),delete this['_echartsInstance']),this[_0x3d2fe7(0x19c)]&&(L[_0x3d2fe7(0x204)][_0x3d2fe7(0x1c5)](this[_0x3d2fe7(0x19c)]),delete this['_echartsContainer']),this[_0x3d2fe7(0x1b3)]['off']('resize',this[_0x3d2fe7(0x19b)],this),delete this['_map'];}},{'key':'setZIndex','value':function _0x21e90f(_0xf827ec){var _0x4da476=_0x46a965;this[_0x4da476(0x1ae)][_0x4da476(0x1c0)]=_0xf827ec,this[_0x4da476(0x19c)]&&(this[_0x4da476(0x19c)]['style'][_0x4da476(0x1c0)]=_0xf827ec);}},{'key':_0x46a965(0x19a),'value':function _0x53f3ec(){var _0x18043f=_0x46a965,_0x6b0a1a=this[_0x18043f(0x1b3)][_0x18043f(0x1c4)](),_0x7fb0e4=document['createElement'](_0x18043f(0x1ef));_0x7fb0e4[_0x18043f(0x1f8)]['position']='absolute',_0x7fb0e4[_0x18043f(0x1f8)][_0x18043f(0x1cb)]='0px',_0x7fb0e4['style']['left']=_0x18043f(0x1f7),_0x7fb0e4[_0x18043f(0x1f8)][_0x18043f(0x213)]=_0x6b0a1a['y']+'px',_0x7fb0e4[_0x18043f(0x1f8)][_0x18043f(0x1ed)]=_0x6b0a1a['x']+'px',_0x7fb0e4[_0x18043f(0x1f8)][_0x18043f(0x1c0)]=this['options'][_0x18043f(0x1c0)]||0x63;var _0x2164da=this[_0x18043f(0x1b3)][_0x18043f(0x1c2)](this[_0x18043f(0x1ae)][_0x18043f(0x1a3)]||_0x18043f(0x211));return _0x2164da[_0x18043f(0x1f5)](_0x7fb0e4),_0x7fb0e4;}},{'key':_0x46a965(0x19b),'value':function _0x1099f6(_0xb0094f){var _0x138e8a=_0x46a965;if(!this[_0x138e8a(0x1ea)])return;var _0x2ec4cf=_0xb0094f[_0x138e8a(0x1d4)];this[_0x138e8a(0x19c)]['style'][_0x138e8a(0x1ed)]=_0x2ec4cf['x']+'px',this[_0x138e8a(0x19c)][_0x138e8a(0x1f8)][_0x138e8a(0x213)]=_0x2ec4cf['y']+'px',this[_0x138e8a(0x1ea)][_0x138e8a(0x1e8)]();}},{'key':_0x46a965(0x1d2),'value':function _0xc3a26d(_0x2237c1,_0x2221bf,_0x55f50b){var _0x97b694=_0x46a965;this['_echartsInstance']&&(_0x2237c1[_0x97b694(0x21c)]=_0x2237c1[_0x97b694(0x21c)]||{'roam':!![]},this['_echartsInstance'][_0x97b694(0x1e5)](_0x2237c1,_0x2221bf,_0x55f50b));}}]),_0x3537dc;}(L['Layer']);mars2d__namespace[_0x295330(0x200)][_0x295330(0x1d8)]=EchartsLayer,mars2d__namespace[_0x295330(0x1ee)]['register'](_0x295330(0x20a),EchartsLayer),exports[_0x295330(0x1d8)]=EchartsLayer,Object[_0x295330(0x1d3)](exports,_0x295330(0x1b5),{'value':!![]});
'use strict';var _0x598524=_0x525f;(function(_0x4cd0df,_0x26f558){var _0x538d0f={_0x44cb52:0x152,_0x5578f9:0x130,_0x19e022:0x143,_0x3fb69d:0x182,_0x255d8e:0x12b,_0x4e9391:0x136},_0x215665=_0x525f,_0x1e3604=_0x4cd0df();while(!![]){try{var _0x84ba9=parseInt(_0x215665(_0x538d0f._0x44cb52))/0x1*(-parseInt(_0x215665(0x17d))/0x2)+parseInt(_0x215665(0x189))/0x3*(-parseInt(_0x215665(0x188))/0x4)+-parseInt(_0x215665(0x116))/0x5+-parseInt(_0x215665(_0x538d0f._0x5578f9))/0x6*(-parseInt(_0x215665(_0x538d0f._0x19e022))/0x7)+parseInt(_0x215665(_0x538d0f._0x3fb69d))/0x8+-parseInt(_0x215665(_0x538d0f._0x255d8e))/0x9*(parseInt(_0x215665(0x169))/0xa)+-parseInt(_0x215665(0x173))/0xb*(-parseInt(_0x215665(_0x538d0f._0x4e9391))/0xc);if(_0x84ba9===_0x26f558)break;else _0x1e3604['push'](_0x1e3604['shift']());}catch(_0x2508f6){_0x1e3604['push'](_0x1e3604['shift']());}}}(_0x11a4,0xdd523));function _interopNamespace(_0x543590){var _0x279a9d={_0x1f2966:0x184,_0x1ed534:0x12f},_0x3287f7=_0x525f;if(_0x543590&&_0x543590[_0x3287f7(0x171)])return _0x543590;var _0x37bac9=Object['create'](null);return _0x543590&&Object[_0x3287f7(0x18e)](_0x543590)[_0x3287f7(0x16f)](function(_0x5f7f27){var _0x3f61f9=_0x3287f7;if(_0x5f7f27!==_0x3f61f9(_0x279a9d._0x1f2966)){var _0x6b3b75=Object[_0x3f61f9(_0x279a9d._0x1ed534)](_0x543590,_0x5f7f27);Object[_0x3f61f9(0x183)](_0x37bac9,_0x5f7f27,_0x6b3b75['get']?_0x6b3b75:{'enumerable':!![],'get':function(){return _0x543590[_0x5f7f27];}});}}),_0x37bac9[_0x3287f7(0x184)]=_0x543590,_0x37bac9;}var mars2d__namespace=_interopNamespace(mars2d),echarts__namespace=_interopNamespace(echarts);function _classCallCheck(_0x3ba88a,_0x3d4b6c){var _0x454996=_0x525f;if(!(_0x3ba88a instanceof _0x3d4b6c))throw new TypeError(_0x454996(0x13e));}function _defineProperties(_0x49e9d6,_0x1ed5f1){var _0x24f4bb={_0x23ecbc:0x14c,_0x5a0812:0x14c,_0x3e39cb:0x166,_0x436f75:0x154,_0x54f99c:0x158},_0x1270b3=_0x525f;for(var _0x53e582=0x0;_0x53e582<_0x1ed5f1[_0x1270b3(0x193)];_0x53e582++){var _0x1e9a3b=_0x1ed5f1[_0x53e582];_0x1e9a3b[_0x1270b3(_0x24f4bb._0x23ecbc)]=_0x1e9a3b[_0x1270b3(_0x24f4bb._0x5a0812)]||![],_0x1e9a3b[_0x1270b3(_0x24f4bb._0x3e39cb)]=!![];if(_0x1270b3(_0x24f4bb._0x436f75)in _0x1e9a3b)_0x1e9a3b[_0x1270b3(0x129)]=!![];Object['defineProperty'](_0x49e9d6,_0x1e9a3b[_0x1270b3(_0x24f4bb._0x54f99c)],_0x1e9a3b);}}function _createClass(_0x478882,_0x4fa341,_0x499948){var _0x37d546={_0x13c2fb:0x176},_0xa3bb03=_0x525f;if(_0x4fa341)_defineProperties(_0x478882[_0xa3bb03(0x176)],_0x4fa341);if(_0x499948)_defineProperties(_0x478882,_0x499948);return Object['defineProperty'](_0x478882,_0xa3bb03(_0x37d546._0x13c2fb),{'writable':![]}),_0x478882;}function _0x525f(_0x18cfed,_0x123adf){var _0x11a4f6=_0x11a4();return _0x525f=function(_0x525ff8,_0x4b9e7f){_0x525ff8=_0x525ff8-0x110;var _0x377fe2=_0x11a4f6[_0x525ff8];if(_0x525f['enAUbT']===undefined){var _0x1f9f9e=function(_0x543590){var _0x37bac9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x5f7f27='',_0x6b3b75='';for(var _0x3ba88a=0x0,_0x3d4b6c,_0x49e9d6,_0x1ed5f1=0x0;_0x49e9d6=_0x543590['charAt'](_0x1ed5f1++);~_0x49e9d6&&(_0x3d4b6c=_0x3ba88a%0x4?_0x3d4b6c*0x40+_0x49e9d6:_0x49e9d6,_0x3ba88a++%0x4)?_0x5f7f27+=String['fromCharCode'](0xff&_0x3d4b6c>>(-0x2*_0x3ba88a&0x6)):0x0){_0x49e9d6=_0x37bac9['indexOf'](_0x49e9d6);}for(var _0x53e582=0x0,_0x1e9a3b=_0x5f7f27['length'];_0x53e582<_0x1e9a3b;_0x53e582++){_0x6b3b75+='%'+('00'+_0x5f7f27['charCodeAt'](_0x53e582)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x6b3b75);};_0x525f['LJMniQ']=_0x1f9f9e,_0x18cfed=arguments,_0x525f['enAUbT']=!![];}var _0x3f98b5=_0x11a4f6[0x0],_0x4980c4=_0x525ff8+_0x3f98b5,_0x449b08=_0x18cfed[_0x4980c4];return!_0x449b08?(_0x377fe2=_0x525f['LJMniQ'](_0x377fe2),_0x18cfed[_0x4980c4]=_0x377fe2):_0x377fe2=_0x449b08,_0x377fe2;},_0x525f(_0x18cfed,_0x123adf);}function _inherits(_0x36207a,_0x4e8f17){var _0x33b243={_0x40c492:0x17a,_0xf73321:0x176},_0x5d4986=_0x525f;if(typeof _0x4e8f17!==_0x5d4986(0x199)&&_0x4e8f17!==null)throw new TypeError(_0x5d4986(_0x33b243._0x40c492));_0x36207a[_0x5d4986(0x176)]=Object['create'](_0x4e8f17&&_0x4e8f17['prototype'],{'constructor':{'value':_0x36207a,'writable':!![],'configurable':!![]}}),Object['defineProperty'](_0x36207a,_0x5d4986(_0x33b243._0xf73321),{'writable':![]});if(_0x4e8f17)_setPrototypeOf(_0x36207a,_0x4e8f17);}function _getPrototypeOf(_0x637544){var _0x4bcbb6={_0x230856:0x172},_0xf91ea=_0x525f;return _getPrototypeOf=Object[_0xf91ea(0x13d)]?Object[_0xf91ea(_0x4bcbb6._0x230856)]:function _0x36600a(_0x169b21){var _0x2cb90f=_0xf91ea;return _0x169b21[_0x2cb90f(0x139)]||Object[_0x2cb90f(0x172)](_0x169b21);},_getPrototypeOf(_0x637544);}function _setPrototypeOf(_0x1af447,_0xe852db){return _setPrototypeOf=Object['setPrototypeOf']||function _0x13a12b(_0x1b4f62,_0x2ff817){var _0x3a879b=_0x525f;return _0x1b4f62[_0x3a879b(0x139)]=_0x2ff817,_0x1b4f62;},_setPrototypeOf(_0x1af447,_0xe852db);}function _isNativeReflectConstruct(){var _0x2aefc8={_0x2624f2:0x187,_0x438b56:0x187,_0xa21a39:0x117,_0x2e38c0:0x165,_0x5c3fbe:0x187},_0x27b8c9=_0x525f;if(typeof Reflect===_0x27b8c9(0x14a)||!Reflect[_0x27b8c9(_0x2aefc8._0x2624f2)])return![];if(Reflect[_0x27b8c9(_0x2aefc8._0x438b56)][_0x27b8c9(_0x2aefc8._0xa21a39)])return![];if(typeof Proxy==='function')return!![];try{return Boolean['prototype']['valueOf'][_0x27b8c9(_0x2aefc8._0x2e38c0)](Reflect[_0x27b8c9(_0x2aefc8._0x5c3fbe)](Boolean,[],function(){})),!![];}catch(_0x14c883){return![];}}function _assertThisInitialized(_0x5f473f){var _0x4fd30e={_0x5ee284:0x110},_0x32daea=_0x525f;if(_0x5f473f===void 0x0)throw new ReferenceError(_0x32daea(_0x4fd30e._0x5ee284));return _0x5f473f;}function _possibleConstructorReturn(_0xee6e1d,_0x523e5e){var _0x2f3922=_0x525f;if(_0x523e5e&&(typeof _0x523e5e==='object'||typeof _0x523e5e===_0x2f3922(0x199)))return _0x523e5e;else{if(_0x523e5e!==void 0x0)throw new TypeError(_0x2f3922(0x17c));}return _assertThisInitialized(_0xee6e1d);}function _createSuper(_0x2cb52e){var _0x1f9b91={_0x3a3ec7:0x187},_0x4dc3be=_isNativeReflectConstruct();return function _0xda6ae9(){var _0x4ac955=_0x525f,_0x1fce97=_getPrototypeOf(_0x2cb52e),_0x1c95fd;if(_0x4dc3be){var _0x208d84=_getPrototypeOf(this)[_0x4ac955(0x15f)];_0x1c95fd=Reflect[_0x4ac955(_0x1f9b91._0x3a3ec7)](_0x1fce97,arguments,_0x208d84);}else _0x1c95fd=_0x1fce97['apply'](this,arguments);return _possibleConstructorReturn(this,_0x1c95fd);};}var L$1=mars2d__namespace['L'],CompositeCoordinateSystem=(function(){var _0x114589={_0x2787d6:0x192,_0x515ea2:0x13b},_0x2bf1d={_0x524aa8:0x170},_0x2b61b0={_0x4c7519:0x133},_0x40b986={_0x3afc2a:0x13c},_0x2cede1={_0x1035f6:0x128,_0x32beda:0x16c},_0x23071f={_0x34307e:0x16b,_0x19c672:0x141,_0x1e31c4:0x138,_0x2a66fc:0x13b,_0x11bc57:0x122},_0xac90da={_0xca41be:0x13c,_0xcdc17b:0x196,_0x39eab7:0x18d},_0xdf6cd0=_0x525f;function _0x2b793e(_0x3cc415,_0x30150e){var _0x5ccc61=_0x525f;_classCallCheck(this,_0x2b793e),this[_0x5ccc61(_0xac90da._0xca41be)]=_0x3cc415,this[_0x5ccc61(0x155)]=[_0x5ccc61(0x174),_0x5ccc61(0x163)],this[_0x5ccc61(_0xac90da._0xcdc17b)]=[0x0,0x0],this[_0x5ccc61(0x151)]=_0x30150e,this['_projection']=L$1['Projection'][_0x5ccc61(_0xac90da._0x39eab7)];}return _createClass(_0x2b793e,[{'key':_0xdf6cd0(0x159),'value':function _0x4e5bc7(_0x1cc11e){var _0x4d7714=_0xdf6cd0;this[_0x4d7714(0x196)]=_0x1cc11e;}},{'key':_0xdf6cd0(0x13f),'value':function _0x4a3422(){return this['_mars2d_map'];}},{'key':_0xdf6cd0(_0x114589._0x2787d6),'value':function _0x3ad8b3(){var _0x1dbf50=_0xdf6cd0,_0x5e9869=echarts__namespace[_0x1dbf50(0x175)],_0x3f1d8d=this[_0x1dbf50(_0x23071f._0x34307e)]();return{'coordSys':{'type':_0x1dbf50(_0x23071f._0x19c672),'x':_0x3f1d8d['x'],'y':_0x3f1d8d['y'],'width':_0x3f1d8d[_0x1dbf50(0x180)],'height':_0x3f1d8d[_0x1dbf50(_0x23071f._0x1e31c4)]},'api':{'coord':_0x5e9869[_0x1dbf50(0x122)](this[_0x1dbf50(_0x23071f._0x2a66fc)],this),'size':_0x5e9869[_0x1dbf50(_0x23071f._0x11bc57)](_0x519fdc,this)}};function _0x519fdc(_0x12c9a2,_0x49fd70){var _0x6c1e6f={_0xe176f3:0x161},_0x5855b5=_0x1dbf50;return _0x49fd70=_0x49fd70||[0x0,0x0],_0x5e9869[_0x5855b5(0x15a)]([0x0,0x1],function(_0xadd12a){var _0x1493f4=_0x5855b5,_0x1953da=_0x49fd70[_0xadd12a],_0x5827ae=_0x12c9a2[_0xadd12a]/0x2,_0x139bae=[],_0x267d69=[];return _0x139bae[_0xadd12a]=_0x1953da-_0x5827ae,_0x267d69[_0xadd12a]=_0x1953da+_0x5827ae,_0x139bae[0x1-_0xadd12a]=_0x267d69[0x1-_0xadd12a]=_0x49fd70[0x1-_0xadd12a],Math[_0x1493f4(_0x6c1e6f._0xe176f3)](this[_0x1493f4(0x13b)](_0x139bae)[_0xadd12a]-this[_0x1493f4(0x13b)](_0x267d69)[_0xadd12a]);},this);}}},{'key':_0xdf6cd0(_0x114589._0x515ea2),'value':function _0x55c2b9(_0x5c15ce){var _0x1c89a8=_0xdf6cd0;_0x5c15ce[0x1]===null&&(_0x5c15ce[0x1]=L$1[_0x1c89a8(_0x2cede1._0x1035f6)][_0x1c89a8(0x185)][_0x1c89a8(0x168)]['MAX_LATITUDE']);var _0x27f962=this[_0x1c89a8(0x13c)][_0x1c89a8(_0x2cede1._0x32beda)]([_0x5c15ce[0x1],_0x5c15ce[0x0]]),_0x573f9a=this[_0x1c89a8(0x196)];return[_0x27f962['x']-_0x573f9a[0x0],_0x27f962['y']-_0x573f9a[0x1]];}},{'key':'pointToData','value':function _0x531084(_0x2da171){var _0x2ea896=_0xdf6cd0,_0xd0e33e=this['_mapOffset'],_0x2e8f0b=this[_0x2ea896(_0x40b986._0x3afc2a)][_0x2ea896(0x111)]([_0x2da171[0x0]+_0xd0e33e[0x0],_0x2da171[0x1]+_0xd0e33e[0x1]]);return[_0x2e8f0b[_0x2ea896(0x174)],_0x2e8f0b[_0x2ea896(0x163)]];}},{'key':_0xdf6cd0(0x16b),'value':function _0x51ca88(){var _0x5dadd9=_0xdf6cd0,_0x11aaf4=this[_0x5dadd9(0x13c)]['getSize']();return new echarts__namespace[(_0x5dadd9(0x17f))][(_0x5dadd9(_0x2b61b0._0x4c7519))](0x0,0x0,_0x11aaf4['x'],_0x11aaf4['y']);}},{'key':'getRoamTransform','value':function _0x485901(){var _0x51b8e7=_0xdf6cd0;return echarts__namespace['matrix'][_0x51b8e7(_0x2bf1d._0x524aa8)]();}}]),_0x2b793e;}());CompositeCoordinateSystem[_0x598524(0x155)]=['lng',_0x598524(0x163)],CompositeCoordinateSystem[_0x598524(0x170)]=function(_0x20c85d,_0x108bb9){var _0x471e9a={_0x30f7c7:0x16d},_0x359e4e={_0x18d550:0x113},_0x5e54eb={_0x586fce:0x16e,_0x3a6919:0x159},_0x2a5de=_0x598524,_0x689740,_0x3934fc=_0x20c85d['scheduler']['ecInstance'][_0x2a5de(0x13c)];_0x20c85d[_0x2a5de(0x126)]('mars2dMap',function(_0x109bed){var _0x46cac3=_0x2a5de,_0x3b9412=_0x108bb9[_0x46cac3(0x123)]()[_0x46cac3(_0x5e54eb._0x586fce)];if(!_0x3b9412)return;!_0x689740&&(_0x689740=new CompositeCoordinateSystem(_0x3934fc,_0x108bb9)),_0x109bed[_0x46cac3(0x137)]=_0x689740,_0x689740[_0x46cac3(_0x5e54eb._0x3a6919)](_0x109bed[_0x46cac3(0x142)]||[0x0,0x0]);}),_0x20c85d[_0x2a5de(_0x471e9a._0x30f7c7)](function(_0x429921){var _0x44669b=_0x2a5de;_0x429921[_0x44669b(_0x359e4e._0x18d550)](_0x44669b(0x137))===_0x44669b(0x141)&&(!_0x689740&&(_0x689740=new CompositeCoordinateSystem(_0x3934fc)),_0x429921[_0x44669b(0x137)]=_0x689740);});};if(echarts__namespace!==null&&echarts__namespace!==void 0x0&&echarts__namespace[_0x598524(0x14d)])echarts__namespace['registerCoordinateSystem']('mars2dMap',CompositeCoordinateSystem),echarts__namespace[_0x598524(0x147)]({'type':'mars2dMapRoam','event':_0x598524(0x18f),'update':_0x598524(0x124)},function(_0x2aefe9,_0x5135df){}),echarts__namespace[_0x598524(0x15b)]({'type':'mars2dMap','getBMap':function getBMap(){return this['_mars2d_map'];},'defaultOption':{'roam':![]}}),echarts__namespace[_0x598524(0x17e)]({'type':_0x598524(0x141),'init':function init(_0x20dd9c,_0x3867a4){var _0x2afde0={_0x599ae9:0x151,_0x48381e:0x145,_0x27ca32:0x16e,_0x4a3db1:0x190,_0x1e5378:0x11c,_0x126bfa:0x11f,_0x45dd7d:0x150,_0x2fa587:0x120,_0x2bac99:0x112},_0x34561d=_0x598524;this[_0x34561d(_0x2afde0._0x599ae9)]=_0x3867a4,this['_map']=_0x20dd9c[_0x34561d(0x181)][_0x34561d(_0x2afde0._0x48381e)][_0x34561d(0x13c)];var _0x849fa6=_0x20dd9c['scheduler'][_0x34561d(0x145)][_0x34561d(0x13c)],_0x1d9449=_0x3867a4[_0x34561d(0x123)]()[_0x34561d(_0x2afde0._0x27ca32)][_0x34561d(0x18b)](),_0x3b87a5=_0x849fa6[_0x34561d(_0x2afde0._0x4a3db1)][_0x34561d(0x131)]&&L$1['Browser'][_0x34561d(_0x2afde0._0x1e5378)];_0x1d9449[_0x34561d(0x12e)]=_0x34561d(0x132)+(_0x3b87a5?_0x34561d(0x148):_0x34561d(0x167))+_0x34561d(_0x2afde0._0x126bfa);var _0x5606f6=L$1[_0x34561d(0x179)][_0x34561d(0x115)]([_0x34561d(0x15e),_0x34561d(_0x2afde0._0x45dd7d),'msTransformOrigin']);_0x1d9449[_0x34561d(_0x2afde0._0x2fa587)][_0x5606f6]='50%\x2050%',this[_0x34561d(_0x2afde0._0x2bac99)]=_0x1d9449,this['_map']['on'](_0x34561d(0x14b),this[_0x34561d(0x11a)],this),this['_map']['on'](_0x34561d(0x149),this[_0x34561d(0x11a)],this);},'moveHandler':function moveHandler(){var _0x2ad248={_0x27bae3:0x121,_0x7b8af3:0x112,_0x9840c2:0x16a,_0x1bade5:0x119,_0x58c41e:0x142,_0x3dd594:0x137},_0x46d2b8=_0x598524,_0x42b3b3=this[_0x46d2b8(_0x2ad248._0x27bae3)][_0x46d2b8(0x114)]([0x0,0x0]),_0x1fdcda=[_0x42b3b3['x']||0x0,_0x42b3b3['y']||0x0];this[_0x46d2b8(0x112)]['style'][_0x46d2b8(0x135)]=_0x1fdcda[0x0]+'px',this[_0x46d2b8(_0x2ad248._0x7b8af3)][_0x46d2b8(0x120)][_0x46d2b8(_0x2ad248._0x9840c2)]=_0x1fdcda[0x1]+'px';var _0x5a1ef6=this[_0x46d2b8(_0x2ad248._0x1bade5)];_0x5a1ef6[_0x46d2b8(_0x2ad248._0x58c41e)]=_0x1fdcda,_0x5a1ef6!==null&&_0x5a1ef6!==void 0x0&&_0x5a1ef6[_0x46d2b8(_0x2ad248._0x3dd594)]&&_0x5a1ef6['coordinateSystem'][_0x46d2b8(0x159)](_0x1fdcda),this['_api']['dispatchAction']({'type':_0x46d2b8(0x18f)});},'dispose':function dispose(_0x1982f7){var _0x9353f3={_0x230d0a:0x121,_0x444517:0x11a},_0x8df6f8=_0x598524;this[_0x8df6f8(0x121)]['off'](_0x8df6f8(0x14b),this[_0x8df6f8(0x11a)],this),this[_0x8df6f8(_0x9353f3._0x230d0a)][_0x8df6f8(0x11b)](_0x8df6f8(0x149),this[_0x8df6f8(_0x9353f3._0x444517)],this);}});else throw new Error(_0x598524(0x12a));function _0x11a4(){var _0x43ac11=['C2HVDW','rgvYAxzLzcbJB25ZDhj1y3rVCNmGBwf5ig9UBhKGCMv0DxjUig9IAMvJDcbVCIb1BMrLzMLUzwq','mNbfuMXbBG','zxH0zw5Kq29TCg9Uzw50vMLLDW','z3jHCgHPyW','D2LKDgG','C2nOzwr1BgvY','mtiZotCZnZzZB1vnAeK','zgvMAw5LuhjVCgvYDhK','zgvMyxvSDa','rvbtrZm4ntC','x2vJAgfYDhndB250ywLUzxi','y29UC3rYDwn0','mJK3mMPztKvhrG','ndiZnNHNCMXewa','BMv3u2L6zq','z2v0vMLLD3bVCNrsB290','B25szw1VDMu','twvYy2f0B3i','A2v5CW','BwfYCZjKtwfWuM9HBq','B3b0Aw9UCW','CgfUzq','ChjLCgfYzun1C3rVBxm','BgvUz3rO','Cg9ZAxrPB24','x3nOB3C','x21HCe9MzNnLDa','rwnOyxj0C0XHEwvY','CgLK','zNvUy3rPB24','DgHPCYbOyxnUj3qGyMvLBIbPBML0AwfSAxnLzcaTihn1CgvYkcKGAgfZBID0igjLzw4Gy2fSBgvK','Bgf5zxjqB2LUDfrVtgf0tg5N','x3zPzxDWB3j0uM9VDa','z2v0','y29UDgfPBMvYug9PBNruB0XHEwvYug9PBNq','DgvZDfbYB3a','mZeZndCXmhnKr2HSta','C2HHBq','CMvNAxn0zxi','x19TB2rLBa','Bw92zuHHBMrSzxi','B2zM','yw55m2q','Bgf5zxi','z2v0ugfUzq','igvJAgfYDhmTBgf5zxi','C3r5Bgu','x21HCa','yMLUza','z2v0wNi','DxbKyxrLtgf5B3v0','CMvTB3zL','zwfJAenVBxbVBMvUDa','AgLKzgvU','q1jt','D3jPDgfIBgu','6k+35BYv5ywLigvJAgfYDhmG5BQt','mZe1tM94vurY','DMLZAwjPBgL0Eq','x2nYzwf0zunOyxj0t3zLCMXHEq','y2XHC3noyw1L','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','mtHcEw5kvxa','EM9VBufUAw1HDgLVBG','igXLywzSzxqTBgf5zxiGBgvHzMXLDc16B29Tlq','qM91BMrPBMDszwn0','B3zLCMXHEvbHBMu','BgvMDa','mJrKq2DXr20','y29VCMrPBMf0zvn5C3rLBq','AgvPz2H0','x19WCM90B19F','x2vJAgfYDhnjBNn0yw5Jzq','zgf0yvrVug9PBNq','x21HCNmYzf9Tyxa','C2v0uhjVDg90ExbLt2y','q2fUBM90ignHBgWGysbJBgfZCYbHCYbHigz1BMn0Aw9U','z2v0qK1HCa','CMvZAxPL','BwfYCZjKtwfW','x19TyxbpzMzZzxq','mtm4mtCYm1nhqKXozG','zgLZCg9Zzq','zwnjBNn0yw5Jzq','zgL2','CMvNAxn0zxjby3rPB24','yw5PBwf0zwq','EM9VBwvUza','Dw5KzwzPBMvK','Bw92zwvUza','zw51BwvYywjSzq','Aw5PDa','mhb4','yxbWzw5Kq2HPBgq','v2vIA2L0vhjHBNnMB3jTt3jPz2LU','x2fWAq','nJa1odLxEg1dB0S','EKLUzgv4','DMfSDwu','zgLTzw5ZAw9UCW','zwnOyxj0CW','BMfTzq','A2v5','C2v0twfWt2zMC2v0','BwfW','zxH0zw5Kq29TCg9Uzw50tw9KzwW','vxrPBa','C3rHBxa','DhjHBNnMB3jTt3jPz2LU','y29UC3rYDwn0B3i','tgf5zxi','ywjZ','x3jLC2L6zuHHBMrSzxi','Bgf0','B25bzgq','y2fSBa','y29UzMLNDxjHyMXL','AgLKzq','ChjVAMvJDgLVBG','mZC0odKWC1DYzg1p','Dg9W','z2v0vMLLD1jLy3q','Bgf0tg5Nvg9myxLLCLbVAw50','zwfJAfnLCMLLCW','CgfPBNrLCG','zM9YrwfJAa','y3jLyxrL','x19LC01VzhvSzq','z2v0uhjVDg90ExbLt2y','otK3mZK5n1zREgPgBq','Bg5N','DxrPBa','ChjVDg90ExbL','y2XLyxi','y3jLyxrLrwXLBwvUDa','rg9TvxrPBa','u3vWzxiGzxHWCMvZC2LVBIbTDxn0igvPDgHLCIbIzsbUDwXSig9YigeGzNvUy3rPB24'];_0x11a4=function(){return _0x43ac11;};return _0x11a4();}var L=mars2d__namespace['L'],EchartsLayer=function(_0x23a8fd){var _0x1cdd2d={_0x4f5b93:0x157,_0x58d732:0x11d,_0x3be30a:0x17b,_0x9dafee:0x164,_0x2ce6ab:0x18c},_0x5cffcb={_0xee5010:0x13a},_0x1c4f40={_0x45e13c:0x13a},_0x9043fa={_0x31553b:0x146,_0x1622f7:0x120,_0x5c6499:0x16a,_0x25c198:0x135,_0x4d1b65:0x120,_0x462f50:0x190,_0x1575a9:0x153,_0x1053d2:0x121,_0xe8dab7:0x190,_0x390c56:0x134,_0x218645:0x14f},_0x283f2c={_0x12d430:0x190,_0x47b200:0x153,_0x59afe2:0x186,_0x3eed96:0x153},_0x234095={_0x5691ca:0x177,_0x2831c7:0x13a,_0x6eef21:0x179,_0x490b93:0x11b,_0x4d077a:0x162},_0xa3a2bf={_0x22f36d:0x186,_0x828d7d:0x12d,_0x3c2435:0x13a,_0x40efef:0x121,_0x2014fd:0x140},_0x6c616e={_0x3145ae:0x195,_0xb532f8:0x120,_0x266bd2:0x186,_0x58db50:0x120},_0x8f2163={_0x44c753:0x190,_0x3ac9ac:0x157},_0x55c3ee={_0x3ec874:0x157},_0x48122b={_0x4ef818:0x198},_0x3e3d18={_0x324d32:0x198},_0x4df4d9={_0x2473f4:0x121,_0x8e5e70:0x121},_0x100a2f={_0x55fe28:0x15c,_0x1cd182:0x15d,_0x1cc92b:0x190},_0x17fc7c=_0x598524;_inherits(_0xbaa3b1,_0x23a8fd);var _0x50db14=_createSuper(_0xbaa3b1);function _0xbaa3b1(){var _0x39db17=_0x525f,_0x24bf31,_0x3405d0,_0x3f8d80,_0x3a4e47=arguments['length']>0x0&&arguments[0x0]!==undefined?arguments[0x0]:{};return _classCallCheck(this,_0xbaa3b1),_0x3f8d80=_0x50db14['call'](this,_0x3a4e47),_0x3f8d80[_0x39db17(0x190)]=_0x3a4e47,L[_0x39db17(_0x100a2f._0x55fe28)][_0x39db17(_0x100a2f._0x1cd182)](_assertThisInitialized(_0x3f8d80)),_0x3f8d80[_0x39db17(_0x100a2f._0x1cc92b)]['id']=(_0x24bf31=_0x3f8d80[_0x39db17(0x190)]['id'])!==null&&_0x24bf31!==void 0x0?_0x24bf31:mars2d__namespace['Util']['createGuid'](),_0x3f8d80[_0x39db17(0x190)][_0x39db17(0x198)]=(_0x3405d0=_0x3f8d80[_0x39db17(0x190)][_0x39db17(0x198)])!==null&&_0x3405d0!==void 0x0?_0x3405d0:-0x1,_0x3f8d80;}return _createClass(_0xbaa3b1,[{'key':'isAdded','get':function _0x14e382(){var _0x2cc92c=_0x525f;return this[_0x2cc92c(_0x4df4d9._0x2473f4)]&&this[_0x2cc92c(_0x4df4d9._0x8e5e70)]['hasLayer'](this);}},{'key':_0x17fc7c(0x198),'get':function _0x348a7f(){var _0x21f03d=_0x17fc7c;return this[_0x21f03d(0x190)][_0x21f03d(_0x3e3d18._0x324d32)];},'set':function _0x4b587b(_0x441e4e){var _0x7eec68=_0x17fc7c;this['options'][_0x7eec68(_0x48122b._0x4ef818)]=_0x441e4e;}},{'key':'id','get':function _0x4e22d6(){var _0x56008f=_0x17fc7c;return this[_0x56008f(0x190)]['id'];},'set':function _0x430cfd(_0xa775e){this['options']['id']=_0xa775e;}},{'key':_0x17fc7c(_0x1cdd2d._0x4f5b93),'get':function _0x14e2a2(){var _0x4dcbe3=_0x17fc7c;return this['options'][_0x4dcbe3(_0x55c3ee._0x3ec874)];},'set':function _0x151d70(_0x2b64ed){var _0x4e71c9=_0x17fc7c;this[_0x4e71c9(_0x8f2163._0x44c753)][_0x4e71c9(_0x8f2163._0x3ac9ac)]=_0x2b64ed;}},{'key':_0x17fc7c(_0x1cdd2d._0x58d732),'get':function _0x1c8e7a(){var _0x3253b4=_0x17fc7c;return this[_0x3253b4(0x13a)];}},{'key':_0x17fc7c(_0x1cdd2d._0x3be30a),'get':function _0x463751(){return this['_show'];},'set':function _0x49ce7b(_0x5e1751){var _0x1eb015=_0x17fc7c;this[_0x1eb015(_0x6c616e._0x3145ae)]=_0x5e1751,_0x5e1751?this[_0x1eb015(0x186)][_0x1eb015(_0x6c616e._0xb532f8)][_0x1eb015(0x12c)]='visible':this[_0x1eb015(_0x6c616e._0x266bd2)][_0x1eb015(_0x6c616e._0x58db50)]['visibility']=_0x1eb015(0x127);}},{'key':_0x17fc7c(_0x1cdd2d._0x9dafee),'value':function _0x2b8ceb(_0x2297f6){var _0x592ed3=_0x17fc7c;if(!echarts__namespace)throw new Error('请引入\x20echarts\x20库\x20');this['_map']=_0x2297f6,this[_0x592ed3(_0xa3a2bf._0x22f36d)]=this[_0x592ed3(_0xa3a2bf._0x828d7d)](),this[_0x592ed3(_0xa3a2bf._0x3c2435)]=echarts__namespace[_0x592ed3(0x14d)](this[_0x592ed3(0x186)]),this[_0x592ed3(_0xa3a2bf._0x3c2435)]['_mars2d_map']=_0x2297f6,this['setEchartsOption'](this['options']),this[_0x592ed3(_0xa3a2bf._0x40efef)]['on'](_0x592ed3(_0xa3a2bf._0x2014fd),this['_resizeHandler'],this);}},{'key':_0x17fc7c(_0x1cdd2d._0x2ce6ab),'value':function _0x55c717(){var _0x673909=_0x17fc7c;this[_0x673909(0x13a)]&&(this['_echartsInstance'][_0x673909(_0x234095._0x5691ca)](),this['_echartsInstance'][_0x673909(0x144)](),delete this[_0x673909(_0x234095._0x2831c7)]),this['_echartsContainer']&&(L[_0x673909(_0x234095._0x6eef21)][_0x673909(0x125)](this['_echartsContainer']),delete this[_0x673909(0x186)]),this[_0x673909(0x121)][_0x673909(_0x234095._0x490b93)]('resize',this[_0x673909(_0x234095._0x4d077a)],this),delete this[_0x673909(0x121)];}},{'key':'setZIndex','value':function _0x5d6d00(_0xd735fd){var _0x3c8fbd=_0x17fc7c;this[_0x3c8fbd(_0x283f2c._0x12d430)][_0x3c8fbd(_0x283f2c._0x47b200)]=_0xd735fd,this[_0x3c8fbd(_0x283f2c._0x59afe2)]&&(this[_0x3c8fbd(_0x283f2c._0x59afe2)][_0x3c8fbd(0x120)][_0x3c8fbd(_0x283f2c._0x3eed96)]=_0xd735fd);}},{'key':'_createChartOverlay','value':function _0x481f56(){var _0x416d00=_0x17fc7c,_0x22f9d1=this['_map']['getSize'](),_0x386f46=document[_0x416d00(0x178)](_0x416d00(_0x9043fa._0x31553b));_0x386f46[_0x416d00(_0x9043fa._0x1622f7)][_0x416d00(0x194)]='absolute',_0x386f46['style'][_0x416d00(_0x9043fa._0x5c6499)]=_0x416d00(0x14e),_0x386f46[_0x416d00(0x120)][_0x416d00(_0x9043fa._0x25c198)]=_0x416d00(0x14e),_0x386f46['style']['height']=_0x22f9d1['y']+'px',_0x386f46[_0x416d00(_0x9043fa._0x4d1b65)]['width']=_0x22f9d1['x']+'px',_0x386f46['style']['zIndex']=this[_0x416d00(_0x9043fa._0x462f50)][_0x416d00(_0x9043fa._0x1575a9)]||0x63;var _0x3bec7e=this[_0x416d00(_0x9043fa._0x1053d2)][_0x416d00(0x11e)](this[_0x416d00(_0x9043fa._0xe8dab7)][_0x416d00(0x191)]||_0x416d00(_0x9043fa._0x390c56));return _0x3bec7e[_0x416d00(_0x9043fa._0x218645)](_0x386f46),_0x386f46;}},{'key':'_resizeHandler','value':function _0x1346c3(_0x16c8b1){var _0x3c605b=_0x17fc7c;if(!this[_0x3c605b(_0x1c4f40._0x45e13c)])return;var _0x5ebda0=_0x16c8b1[_0x3c605b(0x18a)];this['_echartsContainer']['style'][_0x3c605b(0x180)]=_0x5ebda0['x']+'px',this['_echartsContainer']['style'][_0x3c605b(0x138)]=_0x5ebda0['y']+'px',this[_0x3c605b(0x13a)][_0x3c605b(0x140)]();}},{'key':'setEchartsOption','value':function _0x186b0b(_0x285223,_0x47dd21,_0x4f1dbc){var _0x63b253=_0x17fc7c;this[_0x63b253(_0x5cffcb._0xee5010)]&&(_0x285223[_0x63b253(0x141)]=_0x285223['mars2dMap']||{'roam':!![]},this[_0x63b253(0x13a)]['setOption'](_0x285223,_0x47dd21,_0x4f1dbc));}}]),_0xbaa3b1;}(L[_0x598524(0x160)]);mars2d__namespace[_0x598524(0x11d)][_0x598524(0x197)]=EchartsLayer,mars2d__namespace['LayerUtil'][_0x598524(0x118)](_0x598524(0x156),EchartsLayer),exports[_0x598524(0x197)]=EchartsLayer,Object[_0x598524(0x183)](exports,'__esModule',{'value':!![]});
}));
{
"name": "mars2d-echarts",
"version": "3.1.7",
"version": "3.1.8",
"description": "Mars2D平台插件,结合echarts可视化功能插件",

@@ -13,3 +13,3 @@ "main": "dist/mars2d-echarts.js",

"devDependencies": {
"mars2d": "~3.1.7"
"mars2d": "~3.1.8"
},

@@ -16,0 +16,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc