mars3d-echarts
Advanced tools
Comparing version 3.2.4 to 3.3.0
@@ -1,27 +0,14 @@ | ||
/*! | ||
* Mars3D平台插件,结合echarts可视化功能插件 | ||
* 版本信息:v3.2.4 | ||
* 编译日期:2022-03-03 12:25:10 | ||
/** | ||
* Mars3D三维可视化平台 mars3d-sdk | ||
* | ||
* 版本信息:v3.3.0 | ||
* 编译日期:2022-03-18 17:26:50 | ||
* 版权所有:Copyright by 火星科技 http://mars3d.cn | ||
* 使用单位:免费公开版 ,2022-02-01 | ||
*/ | ||
(function webpackUniversalModuleDefinition(window) { | ||
let mars3d = window.mars3d //通过index.html的head引入 | ||
if (!mars3d && typeof exports === 'object') { | ||
mars3d = require("mars3d") | ||
window['mars3d'] = mars3d | ||
} | ||
if (!mars3d) { | ||
console.error('请引入mars3d库,可参考教程:http://mars3d.cn/dev/guide/basics/import.html') | ||
} | ||
let echarts = window.echarts //通过index.html的head引入 | ||
if (!echarts && typeof exports === 'object') { | ||
echarts = require("echarts") | ||
window['echarts'] = echarts | ||
} | ||
var a0_0x2c2a58=a0_0x1eea;(function(_0x4c336b,_0x49e212){var _0xd0de47=a0_0x1eea,_0x39b0f7=_0x4c336b();while(!![]){try{var _0xe3915a=parseInt(_0xd0de47(0xee))/0x1*(parseInt(_0xd0de47(0xce))/0x2)+-parseInt(_0xd0de47(0xa9))/0x3*(-parseInt(_0xd0de47(0x9d))/0x4)+parseInt(_0xd0de47(0x8b))/0x5*(-parseInt(_0xd0de47(0x96))/0x6)+parseInt(_0xd0de47(0xf4))/0x7+parseInt(_0xd0de47(0xb7))/0x8*(parseInt(_0xd0de47(0x68))/0x9)+-parseInt(_0xd0de47(0x94))/0xa+parseInt(_0xd0de47(0xd2))/0xb;if(_0xe3915a===_0x49e212)break;else _0x39b0f7['push'](_0x39b0f7['shift']());}catch(_0x18a168){_0x39b0f7['push'](_0x39b0f7['shift']());}}}(a0_0x3172,0xe3038),window[a0_0x2c2a58(0xd4)]=function(_0xd319c){var _0x356836={};function _0x1a17fd(_0xbd7893){var _0x24260d=a0_0x1eea;if(_0x356836[_0xbd7893])return _0x356836[_0xbd7893][_0x24260d(0xaf)];var _0x39b9d2=_0x356836[_0xbd7893]={'i':_0xbd7893,'l':!0x1,'exports':{}};return _0xd319c[_0xbd7893]['call'](_0x39b9d2['exports'],_0x39b9d2,_0x39b9d2[_0x24260d(0xaf)],_0x1a17fd),_0x39b9d2['l']=!0x0,_0x39b9d2['exports'];}return _0x1a17fd['m']=_0xd319c,_0x1a17fd['c']=_0x356836,_0x1a17fd['d']=function(_0x4cf783,_0x403f57,_0x43ea83){var _0xb46383=a0_0x1eea;_0x1a17fd['o'](_0x4cf783,_0x403f57)||Object[_0xb46383(0xd6)](_0x4cf783,_0x403f57,{'enumerable':!0x0,'get':_0x43ea83});},_0x1a17fd['r']=function(_0x18ad47){var _0x195be3=a0_0x1eea;_0x195be3(0xf7)!=typeof Symbol&&Symbol[_0x195be3(0xe6)]&&Object[_0x195be3(0xd6)](_0x18ad47,Symbol[_0x195be3(0xe6)],{'value':_0x195be3(0x98)}),Object[_0x195be3(0xd6)](_0x18ad47,_0x195be3(0xd0),{'value':!0x0});},_0x1a17fd['t']=function(_0x41daf3,_0x4388ae){var _0x596ef9=a0_0x1eea;if(0x1&_0x4388ae&&(_0x41daf3=_0x1a17fd(_0x41daf3)),0x8&_0x4388ae)return _0x41daf3;if(0x4&_0x4388ae&&_0x596ef9(0x9c)==typeof _0x41daf3&&_0x41daf3&&_0x41daf3[_0x596ef9(0xd0)])return _0x41daf3;var _0x4a1318=Object[_0x596ef9(0xba)](null);if(_0x1a17fd['r'](_0x4a1318),Object[_0x596ef9(0xd6)](_0x4a1318,_0x596ef9(0xbe),{'enumerable':!0x0,'value':_0x41daf3}),0x2&_0x4388ae&&'string'!=typeof _0x41daf3){for(var _0x8509a1 in _0x41daf3)_0x1a17fd['d'](_0x4a1318,_0x8509a1,function(_0x521ff6){return _0x41daf3[_0x521ff6];}[_0x596ef9(0xeb)](null,_0x8509a1));}return _0x4a1318;},_0x1a17fd['n']=function(_0x494e09){var _0xbfdfda=a0_0x1eea,_0x1418ce=_0x494e09&&_0x494e09[_0xbfdfda(0xd0)]?function(){var _0x499567=_0xbfdfda;return _0x494e09[_0x499567(0xbe)];}:function(){return _0x494e09;};return _0x1a17fd['d'](_0x1418ce,'a',_0x1418ce),_0x1418ce;},_0x1a17fd['o']=function(_0x215813,_0x2a7d6e){var _0x5eba42=a0_0x1eea;return Object[_0x5eba42(0xcf)][_0x5eba42(0xea)][_0x5eba42(0x65)](_0x215813,_0x2a7d6e);},_0x1a17fd['p']='',_0x1a17fd(_0x1a17fd['s']=0xa);}([function(_0x2d4a21,_0x4498aa){_0x2d4a21['exports']=window['echarts'];},function(_0x1172ed,_0x52ad64){var _0x423c8f=a0_0x2c2a58;_0x1172ed['exports']=window[_0x423c8f(0xb3)];},function(_0x76587a,_0x46e401){var _0x9b1dd3=a0_0x2c2a58;_0x76587a[_0x9b1dd3(0xaf)]=function(_0x11f4d6,_0x1cad0d){if(!(_0x11f4d6 instanceof _0x1cad0d))throw new TypeError('Cannot\x20call\x20a\x20class\x20as\x20a\x20function');},_0x76587a[_0x9b1dd3(0xaf)]['__esModule']=!0x0,_0x76587a['exports'][_0x9b1dd3(0xbe)]=_0x76587a['exports'];},function(_0x51d623,_0x20a7ff){var _0x55ba0d=a0_0x2c2a58;function _0x4e2fcb(_0x93ab40,_0x8796d4){var _0x37c4b1=a0_0x1eea;for(var _0x1e78f7=0x0;_0x1e78f7<_0x8796d4['length'];_0x1e78f7++){var _0x5e2336=_0x8796d4[_0x1e78f7];_0x5e2336[_0x37c4b1(0xde)]=_0x5e2336[_0x37c4b1(0xde)]||!0x1,_0x5e2336[_0x37c4b1(0xd8)]=!0x0,_0x37c4b1(0x8a)in _0x5e2336&&(_0x5e2336[_0x37c4b1(0xc4)]=!0x0),Object[_0x37c4b1(0xd6)](_0x93ab40,_0x5e2336['key'],_0x5e2336);}}_0x51d623['exports']=function(_0x2117a7,_0x594478,_0xc6a007){var _0x53b5f7=a0_0x1eea;return _0x594478&&_0x4e2fcb(_0x2117a7[_0x53b5f7(0xcf)],_0x594478),_0xc6a007&&_0x4e2fcb(_0x2117a7,_0xc6a007),Object[_0x53b5f7(0xd6)](_0x2117a7,_0x53b5f7(0xcf),{'writable':!0x1}),_0x2117a7;},_0x51d623[_0x55ba0d(0xaf)][_0x55ba0d(0xd0)]=!0x0,_0x51d623[_0x55ba0d(0xaf)]['default']=_0x51d623[_0x55ba0d(0xaf)];},function(_0x70bfcb,_0x24dc67){var _0x22ccd3=a0_0x2c2a58;function _0x164f59(_0x50cef9){var _0x31def5=a0_0x1eea;return _0x70bfcb[_0x31def5(0xaf)]=_0x164f59=Object['setPrototypeOf']?Object[_0x31def5(0xef)]:function(_0x184f78){var _0x45d7f6=_0x31def5;return _0x184f78[_0x45d7f6(0xe5)]||Object[_0x45d7f6(0xef)](_0x184f78);},_0x70bfcb[_0x31def5(0xaf)]['__esModule']=!0x0,_0x70bfcb['exports'][_0x31def5(0xbe)]=_0x70bfcb[_0x31def5(0xaf)],_0x164f59(_0x50cef9);}_0x70bfcb['exports']=_0x164f59,_0x70bfcb[_0x22ccd3(0xaf)][_0x22ccd3(0xd0)]=!0x0,_0x70bfcb[_0x22ccd3(0xaf)][_0x22ccd3(0xbe)]=_0x70bfcb[_0x22ccd3(0xaf)];},function(_0x476055,_0x55962c,_0x35e30e){var _0x583498=a0_0x2c2a58,_0x59591f=_0x35e30e(0x7);_0x476055[_0x583498(0xaf)]=function(_0x438001,_0x48e1d8){var _0x12ea17=_0x583498;if(_0x12ea17(0xb9)!=typeof _0x48e1d8&&null!==_0x48e1d8)throw new TypeError('Super\x20expression\x20must\x20either\x20be\x20null\x20or\x20a\x20function');Object[_0x12ea17(0xd6)](_0x438001,'prototype',{'value':Object[_0x12ea17(0xba)](_0x48e1d8&&_0x48e1d8['prototype'],{'constructor':{'value':_0x438001,'writable':!0x0,'configurable':!0x0}}),'writable':!0x1}),_0x48e1d8&&_0x59591f(_0x438001,_0x48e1d8);},_0x476055[_0x583498(0xaf)][_0x583498(0xd0)]=!0x0,_0x476055[_0x583498(0xaf)]['default']=_0x476055[_0x583498(0xaf)];},function(_0x35c244,_0x221f8f,_0x49c206){var _0x4ff717=a0_0x2c2a58,_0x30b53e=_0x49c206(0x8)['default'],_0x2ad4f1=_0x49c206(0x9);_0x35c244[_0x4ff717(0xaf)]=function(_0x4de8b3,_0x2b2179){var _0xa282b0=_0x4ff717;if(_0x2b2179&&('object'===_0x30b53e(_0x2b2179)||'function'==typeof _0x2b2179))return _0x2b2179;if(void 0x0!==_0x2b2179)throw new TypeError(_0xa282b0(0xa5));return _0x2ad4f1(_0x4de8b3);},_0x35c244[_0x4ff717(0xaf)]['__esModule']=!0x0,_0x35c244['exports'][_0x4ff717(0xbe)]=_0x35c244[_0x4ff717(0xaf)];},function(_0x2a91e6,_0x5c8350){var _0x34ba33=a0_0x2c2a58;function _0x1303f8(_0x8170c,_0x37220d){var _0x2cdc6f=a0_0x1eea;return _0x2a91e6[_0x2cdc6f(0xaf)]=_0x1303f8=Object[_0x2cdc6f(0xc6)]||function(_0x174da3,_0x330075){var _0x3b3c25=_0x2cdc6f;return _0x174da3[_0x3b3c25(0xe5)]=_0x330075,_0x174da3;},_0x2a91e6[_0x2cdc6f(0xaf)][_0x2cdc6f(0xd0)]=!0x0,_0x2a91e6['exports'][_0x2cdc6f(0xbe)]=_0x2a91e6[_0x2cdc6f(0xaf)],_0x1303f8(_0x8170c,_0x37220d);}_0x2a91e6[_0x34ba33(0xaf)]=_0x1303f8,_0x2a91e6[_0x34ba33(0xaf)][_0x34ba33(0xd0)]=!0x0,_0x2a91e6['exports'][_0x34ba33(0xbe)]=_0x2a91e6[_0x34ba33(0xaf)];},function(_0x48b1f9,_0x4e07c3){var _0x3d53a5=a0_0x2c2a58;function _0x21c715(_0x31610e){var _0x1c8051=a0_0x1eea;return _0x48b1f9[_0x1c8051(0xaf)]=_0x21c715=_0x1c8051(0xb9)==typeof Symbol&&'symbol'==typeof Symbol[_0x1c8051(0xd5)]?function(_0x18fe0a){return typeof _0x18fe0a;}:function(_0x35c4fb){var _0x170ac5=_0x1c8051;return _0x35c4fb&&'function'==typeof Symbol&&_0x35c4fb[_0x170ac5(0x76)]===Symbol&&_0x35c4fb!==Symbol[_0x170ac5(0xcf)]?'symbol':typeof _0x35c4fb;},_0x48b1f9[_0x1c8051(0xaf)][_0x1c8051(0xd0)]=!0x0,_0x48b1f9[_0x1c8051(0xaf)][_0x1c8051(0xbe)]=_0x48b1f9[_0x1c8051(0xaf)],_0x21c715(_0x31610e);}_0x48b1f9[_0x3d53a5(0xaf)]=_0x21c715,_0x48b1f9['exports']['__esModule']=!0x0,_0x48b1f9['exports'][_0x3d53a5(0xbe)]=_0x48b1f9[_0x3d53a5(0xaf)];},function(_0x30fc46,_0x253fb5){var _0x183205=a0_0x2c2a58;_0x30fc46['exports']=function(_0x2e03ea){var _0x394270=a0_0x1eea;if(void 0x0===_0x2e03ea)throw new ReferenceError(_0x394270(0x9e));return _0x2e03ea;},_0x30fc46[_0x183205(0xaf)][_0x183205(0xd0)]=!0x0,_0x30fc46['exports']['default']=_0x30fc46['exports'];},function(_0x1d4191,_0x40b4ac,_0x2fd3a9){'use strict';var _0x375aaa=a0_0x2c2a58;_0x2fd3a9['r'](_0x40b4ac),_0x2fd3a9['d'](_0x40b4ac,'EchartsLayer',function(){return _0x4bfebb;});var _0xf2439=_0x2fd3a9(0x2),_0x47d32e=_0x2fd3a9['n'](_0xf2439),_0x1f1c2e=_0x2fd3a9(0x3),_0x3bb62e=_0x2fd3a9['n'](_0x1f1c2e),_0x3f4b74=_0x2fd3a9(0x5),_0x4350fe=_0x2fd3a9['n'](_0x3f4b74),_0x10445c=_0x2fd3a9(0x6),_0x4150d0=_0x2fd3a9['n'](_0x10445c),_0x538bc5=_0x2fd3a9(0x4),_0x202441=_0x2fd3a9['n'](_0x538bc5),_0x2141d0=_0x2fd3a9(0x1),_0x2dac27=_0x2fd3a9(0x0),_0x270b2a=_0x2141d0[_0x375aaa(0xb2)],_0x19a0c7=(function(){var _0x3d1943=_0x375aaa;function _0x462a41(_0x191231,_0x1e7141){var _0x321fa3=a0_0x1eea;_0x47d32e()(this,_0x462a41),this[_0x321fa3(0xa1)]=_0x191231,this[_0x321fa3(0xd9)]=[_0x321fa3(0xf2),_0x321fa3(0x87)],this['_mapOffset']=[0x0,0x0],this[_0x321fa3(0xdc)]=_0x1e7141;}return _0x3bb62e()(_0x462a41,[{'key':'setMapOffset','value':function(_0x225560){var _0x4aebce=a0_0x1eea;this[_0x4aebce(0xdb)]=_0x225560;}},{'key':_0x3d1943(0xc3),'value':function(){return this['_mars3d_scene'];}},{'key':_0x3d1943(0x77),'value':function(_0x1a5179){var _0x5129c7=_0x3d1943,_0x3fcf61=this[_0x5129c7(0xa1)],_0x2f66c2=[NaN,NaN],_0x5a8613=_0x3fcf61[_0x5129c7(0x86)];_0x3fcf61[_0x5129c7(0xc8)]&&(_0x5a8613=_0x3fcf61[_0x5129c7(0xcb)][_0x5129c7(0xac)](_0x270b2a['Cartographic']['fromDegrees'](_0x1a5179[0x0],_0x1a5179[0x1])));var _0x21e7d3=_0x270b2a[_0x5129c7(0xb0)][_0x5129c7(0x69)](_0x1a5179[0x0],_0x1a5179[0x1],_0x5a8613);if(!_0x21e7d3)return _0x2f66c2;var _0x38ebe0=_0x270b2a[_0x5129c7(0x6d)][_0x5129c7(0xf1)](_0x3fcf61,_0x21e7d3);if(!_0x38ebe0)return _0x2f66c2;if(_0x3fcf61['echartsDepthTest']&&_0x3fcf61[_0x5129c7(0x82)]===_0x270b2a[_0x5129c7(0xd7)][_0x5129c7(0x70)]&&!new _0x270b2a[(_0x5129c7(0x80))](_0x3fcf61[_0x5129c7(0xcb)][_0x5129c7(0xe7)],_0x3fcf61['camera'][_0x5129c7(0x7e)])[_0x5129c7(0xa7)](_0x21e7d3))return _0x2f66c2;return[_0x38ebe0['x']-this[_0x5129c7(0xdb)][0x0],_0x38ebe0['y']-this['_mapOffset'][0x1]];}},{'key':_0x3d1943(0xe8),'value':function(){var _0x378e3d=_0x3d1943,_0x31dc4b=this['_api'];return new _0x2dac27[(_0x378e3d(0x75))][(_0x378e3d(0x89))](0x0,0x0,_0x31dc4b[_0x378e3d(0xb8)](),_0x31dc4b[_0x378e3d(0xac)]());}},{'key':_0x3d1943(0xb1),'value':function(){var _0x5a86d3=_0x3d1943;return _0x2dac27[_0x5a86d3(0xae)]['create']();}}]),_0x462a41;}());function _0x69cc0c(_0x4e9d81){var _0x5eff5e=(function(){var _0x2b7f43=a0_0x1eea;if(_0x2b7f43(0xf7)==typeof Reflect||!Reflect[_0x2b7f43(0xc7)])return!0x1;if(Reflect[_0x2b7f43(0xc7)][_0x2b7f43(0xf6)])return!0x1;if(_0x2b7f43(0xb9)==typeof Proxy)return!0x0;try{return Boolean[_0x2b7f43(0xcf)][_0x2b7f43(0x72)][_0x2b7f43(0x65)](Reflect[_0x2b7f43(0xc7)](Boolean,[],function(){})),!0x0;}catch(_0x36079a){return!0x1;}}());return function(){var _0x50cc6a=a0_0x1eea,_0x2838da,_0x2798b8=_0x202441()(_0x4e9d81);if(_0x5eff5e){var _0x533da3=_0x202441()(this)[_0x50cc6a(0x76)];_0x2838da=Reflect[_0x50cc6a(0xc7)](_0x2798b8,arguments,_0x533da3);}else _0x2838da=_0x2798b8[_0x50cc6a(0xcd)](this,arguments);return _0x4150d0()(this,_0x2838da);};}_0x19a0c7[_0x375aaa(0xd9)]=[_0x375aaa(0xf2),_0x375aaa(0x87)],_0x19a0c7[_0x375aaa(0xba)]=function(_0x2dd056,_0x5c8ac7){var _0x5ef352=_0x375aaa,_0x2ec80f,_0x16c8cc=_0x2dd056[_0x5ef352(0x8f)][_0x5ef352(0xad)][_0x5ef352(0xa1)];_0x2dd056[_0x5ef352(0x71)](_0x5ef352(0x7d),function(_0x588262){var _0x4c5304=_0x5ef352;_0x5c8ac7[_0x4c5304(0x90)]()[_0x4c5304(0xe2)]&&(_0x2ec80f||(_0x2ec80f=new _0x19a0c7(_0x16c8cc,_0x5c8ac7)),_0x588262[_0x4c5304(0x66)]=_0x2ec80f,_0x2ec80f['setMapOffset'](_0x588262[_0x4c5304(0x9b)]||[0x0,0x0]));}),_0x2dd056[_0x5ef352(0xaa)](function(_0x179110){var _0x4bcda6=_0x5ef352;'mars3dMap'===_0x179110['get'](_0x4bcda6(0x66))&&(_0x2ec80f||(_0x2ec80f=new _0x19a0c7(_0x16c8cc,_0x5c8ac7)),_0x179110['coordinateSystem']=_0x2ec80f);});},_0x2dac27&&(_0x2dac27[_0x375aaa(0xdd)](_0x375aaa(0x7d),_0x19a0c7),_0x2dac27[_0x375aaa(0xed)]({'type':_0x375aaa(0x95),'event':_0x375aaa(0x95),'update':'updateLayout'},function(_0x421a8b,_0x32adeb){}),_0x2dac27[_0x375aaa(0xf5)]({'type':_0x375aaa(0x7d),'getBMap':function(){var _0x2dda99=_0x375aaa;return this[_0x2dda99(0xa1)];},'defaultOption':{'roam':!0x1}}),_0x2dac27[_0x375aaa(0x91)]({'type':'mars3dMap','init':function(_0x2ed77f,_0x7a4e97){var _0x330620=_0x375aaa;this['api']=_0x7a4e97,this[_0x330620(0xb4)]=_0x2ed77f[_0x330620(0x8f)][_0x330620(0xad)][_0x330620(0xa1)],this[_0x330620(0xb4)]['postRender'][_0x330620(0x84)](this[_0x330620(0x74)],this);},'moveHandler':function(_0x49e9a6,_0x352731){var _0x3fec43=_0x375aaa;this[_0x3fec43(0xc0)][_0x3fec43(0x85)]({'type':'mars3dMapRoam'});},'render':function(_0x34c61f,_0x351b5d,_0x446220){},'dispose':function(_0x8f484c){var _0x51c3eb=_0x375aaa;this[_0x51c3eb(0xb4)][_0x51c3eb(0xf0)][_0x51c3eb(0x73)](this[_0x51c3eb(0x74)],this);}}));var _0x48628d=_0x2141d0[_0x375aaa(0xb2)],_0x5a5624=_0x2141d0['layer']['BaseLayer'],_0x418735=0x3e7,_0x4bfebb=function(_0x383480){var _0x5a404d=_0x375aaa;_0x4350fe()(_0x18e83b,_0x383480);var _0x2ab223=_0x69cc0c(_0x18e83b);function _0x18e83b(){var _0x4991c9=a0_0x1eea,_0x12d22e,_0x4d06b0=arguments['length']>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:{};return _0x47d32e()(this,_0x18e83b),(_0x12d22e=_0x2ab223[_0x4991c9(0x65)](this,_0x4d06b0))[_0x4991c9(0xe4)]=_0x12d22e[_0x4991c9(0xbc)][_0x4991c9(0xda)],_0x12d22e;}return _0x3bb62e()(_0x18e83b,[{'key':_0x5a404d(0xe0),'get':function(){var _0x5b8965=_0x5a404d;return this[_0x5b8965(0xa2)];}},{'key':'pointerEvents','get':function(){var _0x3c7f13=_0x5a404d;return this[_0x3c7f13(0xe4)];},'set':function(_0x52876c){var _0x164987=_0x5a404d;this[_0x164987(0xe4)]=_0x52876c,this[_0x164987(0x6c)]&&(this[_0x164987(0x6c)]['style'][_0x164987(0xda)]=_0x52876c?_0x164987(0xe9):_0x164987(0xec));}},{'key':_0x5a404d(0x8e),'value':function(_0x2f21cd){var _0x13efdf=_0x5a404d;this[_0x13efdf(0x6e)](_0x2f21cd);}},{'key':_0x5a404d(0x97),'value':function(_0x451340){var _0xa0a80b=_0x5a404d;this['_echartsContainer'][_0xa0a80b(0x9f)][_0xa0a80b(0xe3)]=_0x451340?_0xa0a80b(0xdf):_0xa0a80b(0x7c);}},{'key':_0x5a404d(0xb6),'value':function(){var _0x56705a=_0x5a404d;if(!_0x2dac27)throw new Error(_0x56705a(0xe1));this[_0x56705a(0xbb)][_0x56705a(0xb4)][_0x56705a(0xa8)]=_0x48628d['defaultValue'](this[_0x56705a(0xbc)]['depthTest'],!0x0),this[_0x56705a(0xbb)][_0x56705a(0xb4)][_0x56705a(0xc8)]=_0x48628d['defaultValue'](this[_0x56705a(0xbc)][_0x56705a(0x78)],!0x1),this[_0x56705a(0xbb)][_0x56705a(0xb4)][_0x56705a(0x86)]=_0x48628d[_0x56705a(0x7f)](this[_0x56705a(0xbc)][_0x56705a(0x81)],0x0);}},{'key':_0x5a404d(0xc2),'value':function(){var _0x1eeb05=_0x5a404d;this[_0x1eeb05(0x6c)]=this[_0x1eeb05(0xbd)](),this[_0x1eeb05(0xa2)]=_0x2dac27[_0x1eeb05(0x8c)](this['_echartsContainer']),this[_0x1eeb05(0xa2)][_0x1eeb05(0xa1)]=this[_0x1eeb05(0xbb)][_0x1eeb05(0xb4)],this[_0x1eeb05(0x6e)](this[_0x1eeb05(0xbc)]);}},{'key':'_removedHook','value':function(){var _0x4d8d8a=_0x5a404d;this[_0x4d8d8a(0xa2)]&&(this[_0x4d8d8a(0xa2)]['clear'](),this['_echartsInstance'][_0x4d8d8a(0x64)](),delete this[_0x4d8d8a(0xa2)]),this[_0x4d8d8a(0x6c)]&&(this[_0x4d8d8a(0xbb)]['container']['removeChild'](this['_echartsContainer']),delete this[_0x4d8d8a(0x6c)]);}},{'key':'_createChartOverlay','value':function(){var _0x3852cf=_0x5a404d,_0x579b17=this[_0x3852cf(0xbb)]['scene'];_0x579b17[_0x3852cf(0x7a)][_0x3852cf(0x79)]('tabIndex',0x0);var _0x455b42=_0x2141d0[_0x3852cf(0x93)][_0x3852cf(0xba)](_0x3852cf(0xca),_0x3852cf(0xab));return _0x455b42['style']['position']=_0x3852cf(0xa4),_0x455b42[_0x3852cf(0x9f)][_0x3852cf(0x7b)]=_0x3852cf(0xbf),_0x455b42['style'][_0x3852cf(0xa0)]='0px',_0x455b42[_0x3852cf(0x9f)][_0x3852cf(0x99)]=_0x579b17[_0x3852cf(0x7a)][_0x3852cf(0x83)]+'px',_0x455b42['style'][_0x3852cf(0xcc)]=_0x579b17[_0x3852cf(0x7a)][_0x3852cf(0xf8)]+'px',_0x455b42['style'][_0x3852cf(0xda)]=this[_0x3852cf(0xe4)]?_0x3852cf(0xe9):_0x3852cf(0xec),_0x455b42[_0x3852cf(0x9f)][_0x3852cf(0xa6)]=_0x418735++,this[_0x3852cf(0xbb)][_0x3852cf(0xc9)][_0x3852cf(0x92)](_0x455b42),_0x455b42;}},{'key':_0x5a404d(0x6b),'value':function(){var _0xbb35a0=_0x5a404d;if(this[_0xbb35a0(0xa2)]){var _0x2ca816=this[_0xbb35a0(0xbb)][_0xbb35a0(0xb4)];this[_0xbb35a0(0x6c)][_0xbb35a0(0x9f)]['width']=_0x2ca816['canvas'][_0xbb35a0(0x83)]+'px',this[_0xbb35a0(0x6c)][_0xbb35a0(0x9f)][_0xbb35a0(0xcc)]=_0x2ca816[_0xbb35a0(0x7a)][_0xbb35a0(0xf8)]+'px',this[_0xbb35a0(0xa2)]['resize']();}}},{'key':'setEchartsOption','value':function(_0x3360fd,_0x3f531d,_0x1e71c0){var _0x4a704b=_0x5a404d;this['_echartsInstance']&&(_0x3360fd['mars3dMap']=_0x3360fd[_0x4a704b(0x7d)]||{},this[_0x4a704b(0xa2)][_0x4a704b(0x67)](_0x3360fd,_0x3f531d,_0x1e71c0));}},{'key':_0x5a404d(0xc5),'value':function(_0x32e645){var _0x4bf358=_0x5a404d,_0x1c8f66,_0x2d8b2f,_0xbacbf7,_0x4476b2;function _0x2b55b0(_0xe29177){var _0x2d00c9=a0_0x1eea;if(Array[_0x2d00c9(0x8d)](_0xe29177)){var _0x420196=_0xe29177[0x0]||0x0,_0x435335=_0xe29177[0x1]||0x0;0x0!=_0x420196&&0x0!=_0x435335&&(null==_0x1c8f66?(_0x1c8f66=_0x420196,_0x2d8b2f=_0x420196,_0xbacbf7=_0x435335,_0x4476b2=_0x435335):(_0x1c8f66=Math[_0x2d00c9(0x6a)](_0x1c8f66,_0x420196),_0x2d8b2f=Math['max'](_0x2d8b2f,_0x420196),_0xbacbf7=Math[_0x2d00c9(0x6a)](_0xbacbf7,_0x435335),_0x4476b2=Math[_0x2d00c9(0xb5)](_0x4476b2,_0x435335)));}}var _0x2a1cc9=this['options']['series'];return _0x2a1cc9&&_0x2a1cc9[_0x4bf358(0x88)](function(_0x2c7ba0){var _0x5b4075=_0x4bf358;_0x2c7ba0['data']&&_0x2c7ba0[_0x5b4075(0xf3)]['forEach'](function(_0x256aa0){var _0x16a328=_0x5b4075;_0x256aa0[_0x16a328(0x8a)]?_0x2b55b0(_0x256aa0[_0x16a328(0x8a)]):_0x256aa0[_0x16a328(0xd1)]&&_0x256aa0['coords'][_0x16a328(0x88)](function(_0x1b38ec){_0x2b55b0(_0x1b38ec);});});}),0x0==_0x1c8f66&&0x0==_0xbacbf7&&0x0==_0x2d8b2f&&0x0==_0x4476b2?null:null!=_0x32e645&&_0x32e645[_0x4bf358(0xc1)]?{'xmin':_0x1c8f66,'xmax':_0x2d8b2f,'ymin':_0xbacbf7,'ymax':_0x4476b2}:_0x48628d['Rectangle']['fromDegrees'](_0x1c8f66,_0xbacbf7,_0x2d8b2f,_0x4476b2);}}]),_0x18e83b;}(_0x5a5624);_0x2141d0[_0x375aaa(0x9a)][_0x375aaa(0x6f)](_0x375aaa(0xa3),_0x4bfebb),_0x2141d0['layer'][_0x375aaa(0xd3)]=_0x4bfebb;}]));function a0_0x1eea(_0x1b2b7a,_0x2c2191){var _0x317216=a0_0x3172();return a0_0x1eea=function(_0x1eead9,_0x58c84b){_0x1eead9=_0x1eead9-0x64;var _0x561358=_0x317216[_0x1eead9];return _0x561358;},a0_0x1eea(_0x1b2b7a,_0x2c2191);}function a0_0x3172(){var _0x550e37=['forEach','BoundingRect','value','2691835hNbQIo','init','isArray','_setOptionsHook','scheduler','getZr','extendComponentView','appendChild','DomUtil','17086910Fytogo','mars3dMapRoam','6DBTIBW','_showHook','Module','width','LayerUtil','__mapOffset','object','4yNdQSA','this\x20hasn\x27t\x20been\x20initialised\x20-\x20super()\x20hasn\x27t\x20been\x20called','style','left','_mars3d_scene','_echartsInstance','echarts','absolute','Derived\x20constructors\x20may\x20only\x20return\x20object\x20or\x20undefined','zIndex','isPointVisible','echartsDepthTest','2528517dRZwmX','eachSeries','mars3d-echarts','getHeight','ecInstance','matrix','exports','Cartesian3','getRoamTransform','Cesium','mars3d','scene','max','_mountedHook','24QNDTzG','getWidth','function','create','_map','options','_createChartOverlay','default','0px','api','isFormat','_addedHook','getBMap','writable','getRectangle','setPrototypeOf','construct','echartsAutoHeight','container','div','globe','height','apply','1415742sOyaQL','prototype','__esModule','coords','4681281KouQqr','EchartsLayer','mars3dEcharts','iterator','defineProperty','SceneMode','configurable','dimensions','pointerEvents','_mapOffset','_api','registerCoordinateSystem','enumerable','visible','layer','请引入\x20echarts\x20库\x20','painter','visibility','_pointerEvents','__proto__','toStringTag','ellipsoid','getViewRect','all','hasOwnProperty','bind','none','registerAction','1svEzGy','getPrototypeOf','postRender','wgs84ToWindowCoordinates','lng','data','7065982smlzgs','extendComponentModel','sham','undefined','clientHeight','dispose','call','coordinateSystem','setOption','573597mLraxp','fromDegrees','min','resize','_echartsContainer','SceneTransforms','setEchartsOption','register','SCENE3D','eachComponent','valueOf','removeEventListener','moveHandler','graphic','constructor','dataToPoint','clampToGround','setAttribute','canvas','top','hidden','mars3dMap','positionWC','defaultValue','EllipsoidalOccluder','fixedHeight','mode','clientWidth','addEventListener','dispatchAction','echartsFixedHeight','lat'];a0_0x3172=function(){return _0x550e37;};return a0_0x3172();} | ||
})(window); | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, (window.echarts || require('echarts')), (window.mars3d || require('mars3d'))) : | ||
typeof define === 'function' && define.amd ? define(['exports', 'echarts', 'mars3d'], factory) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["mars3d-echarts"] = {}, global.echarts, global.mars3d)); | ||
})(this, (function (exports, echarts, mars3d) { 'use strict';var _0x351131=_0x2cbd;(function(_0x3d7488,_0x16ba85){var _0x3eafbd=_0x2cbd,_0x34b4a1=_0x3d7488();while(!![]){try{var _0x4fc4fa=parseInt(_0x3eafbd(0x15d))/0x1*(parseInt(_0x3eafbd(0x1b7))/0x2)+parseInt(_0x3eafbd(0x18c))/0x3*(-parseInt(_0x3eafbd(0x153))/0x4)+-parseInt(_0x3eafbd(0x18a))/0x5*(parseInt(_0x3eafbd(0x19a))/0x6)+parseInt(_0x3eafbd(0x164))/0x7+-parseInt(_0x3eafbd(0x158))/0x8+-parseInt(_0x3eafbd(0x171))/0x9+parseInt(_0x3eafbd(0x14a))/0xa;if(_0x4fc4fa===_0x16ba85)break;else _0x34b4a1['push'](_0x34b4a1['shift']());}catch(_0x257d83){_0x34b4a1['push'](_0x34b4a1['shift']());}}}(_0x5a2e,0xdec3e));function _0x2cbd(_0x2aefcb,_0x44488a){var _0x5a2ec8=_0x5a2e();return _0x2cbd=function(_0x2cbd68,_0xfbe9fb){_0x2cbd68=_0x2cbd68-0x12c;var _0xd2e8a9=_0x5a2ec8[_0x2cbd68];if(_0x2cbd['mctFIp']===undefined){var _0x19f6d4=function(_0x3332eb){var _0x8ec4aa='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x2678b5='',_0x5c2fd4='';for(var _0x4d8da7=0x0,_0x40bd2a,_0x376f03,_0x420b31=0x0;_0x376f03=_0x3332eb['charAt'](_0x420b31++);~_0x376f03&&(_0x40bd2a=_0x4d8da7%0x4?_0x40bd2a*0x40+_0x376f03:_0x376f03,_0x4d8da7++%0x4)?_0x2678b5+=String['fromCharCode'](0xff&_0x40bd2a>>(-0x2*_0x4d8da7&0x6)):0x0){_0x376f03=_0x8ec4aa['indexOf'](_0x376f03);}for(var _0x3bd6ff=0x0,_0x570830=_0x2678b5['length'];_0x3bd6ff<_0x570830;_0x3bd6ff++){_0x5c2fd4+='%'+('00'+_0x2678b5['charCodeAt'](_0x3bd6ff)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5c2fd4);};_0x2cbd['kiVaJf']=_0x19f6d4,_0x2aefcb=arguments,_0x2cbd['mctFIp']=!![];}var _0x2d8fc2=_0x5a2ec8[0x0],_0x3018a6=_0x2cbd68+_0x2d8fc2,_0x3163e2=_0x2aefcb[_0x3018a6];return!_0x3163e2?(_0xd2e8a9=_0x2cbd['kiVaJf'](_0xd2e8a9),_0x2aefcb[_0x3018a6]=_0xd2e8a9):_0xd2e8a9=_0x3163e2,_0xd2e8a9;},_0x2cbd(_0x2aefcb,_0x44488a);}function _interopNamespace(_0x3332eb){var _0x4f917f=_0x2cbd;if(_0x3332eb&&_0x3332eb[_0x4f917f(0x1af)])return _0x3332eb;var _0x8ec4aa=Object[_0x4f917f(0x16e)](null);return _0x3332eb&&Object[_0x4f917f(0x12c)](_0x3332eb)[_0x4f917f(0x184)](function(_0x2678b5){var _0x3dca62=_0x4f917f;if(_0x2678b5!==_0x3dca62(0x19b)){var _0x5c2fd4=Object[_0x3dca62(0x130)](_0x3332eb,_0x2678b5);Object[_0x3dca62(0x17f)](_0x8ec4aa,_0x2678b5,_0x5c2fd4['get']?_0x5c2fd4:{'enumerable':!![],'get':function(){return _0x3332eb[_0x2678b5];}});}}),_0x8ec4aa[_0x4f917f(0x19b)]=_0x3332eb,_0x8ec4aa;}function _0x5a2e(){var _0x46ea4d=['zgvWDgHuzxn0','yxbWzw5Kq2HPBgq','BgvMDa','ntm0nZDpyLflD20','zwnOyxj0C0rLChrOvgvZDa','EKLUzgv4','D2DZodruB1DPBMrVD0nVB3jKAw5HDgvZ','ChjVDg90ExbL','u0nftKuZra','x2fKzgvKsg9VAW','mta4otm2mJrHAuziBMu','C3r5Bgu','DgHPCYbOyxnUj3qGyMvLBIbPBML0AwfSAxnLzcaTihn1CgvYkcKGAgfZBID0igjLzw4Gy2fSBgvK','ywrKrxzLBNrmAxn0zw5LCG','Bwf4','zNvUy3rPB24','C2v0uhjVDg90ExbLt2y','y2XHBxbuB0DYB3vUza','Bw92zuHHBMrSzxi','CgfPBNrLCG','y3jLyxrL','zxH0zw5Kq29TCg9Uzw50vMLLDW','z2XVyMu','mtu3ntm0mJLHwe9As1y','Aw5PDa','Bwf0CML4','x21HCe9MzNnLDa','C2v0t3b0Aw9U','BwLU','AgLKzgvU','A2v5','y2fSBa','zgLZCgf0y2Hby3rPB24','BM9Uzq','CMvTB3zLq2HPBgq','y29UDgfPBMvY','AxnqB2LUDfzPC2LIBgu','zgvMAw5LuhjVCgvYDhK','Cg9ZAxrPB25xqW','rwnOyxj0C0XHEwvY','z3jHCgHPyW','zwXSAxbZB2LK','zM9YrwfJAa','AxngB3jTyxq','BgvUz3rO','6k+35BYv5ywLigvJAgfYDhmG5BQtia','u2nLBMvnB2rL','zgf0yq','mJuWnZu5nuvuvwDowG','rg9TvxrPBa','nKzeDw1cwq','y29VCMrZ','x19WCM90B19F','z2v0uhjVDg90ExbLt2y','x21HCNmZzf9Zy2vUzq','ywjZB2X1Dgu','Bg5N','Bgf0','C2HHBq','zxH0zw5Kq29TCg9Uzw50tw9KzwW','z2v0sgvPz2H0','zNjVBurLz3jLzxm','yxbP','u2nLBMvuCMfUC2zVCM1Z','mtHmuhnou3K','zgvMyxvSDa','x2nYzwf0zunOyxj0t3zLCMXHEq','Bgf5zxi','D2LKDgG','zgvMyxvSDfzHBhvL','zw51BwvYywjSzq','mhb4','CMvNAxn0zxjby3rPB24','tgf5zxjvDgLS','DMLZAwjPBgL0Eq','u3vWzxiGzxHWCMvZC2LVBIbTDxn0igvPDgHLCIbIzsbUDwXSig9YigeGzNvUy3rPB24','y2XPzw50v2LKDgG','BwfYCZnKlwvJAgfYDhm','zgL2','x2vJAgfYDhnjBNn0yw5Jzq','x3bVAw50zxjfDMvUDhm','AgfZt3DUuhjVCgvYDhK','DxbKyxrLtgf5B3v0','B3b0Aw9UCW','x3nOB3DiB29R','x19LC01VzhvSzq','CMvNAxn0zxi','x2fWAq','y2XPzw50sgvPz2H0','C2v0rwnOyxj0C09WDgLVBG','C2v0qxr0CMLIDxrL','z2v0uM9HBvrYyw5ZzM9YBq','AxnbCNjHEq','ntzRC05uDvC','y2fUDMfZ','x3jLBw92zwriB29R','zwfJAenVBxbVBMvUDa','CMvTB3zLrxzLBNrmAxn0zw5LCG','A2v5CW','AgvPz2H0','z2v0wNi','z2v0qK1HCa','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','C2vYAwvZ','C2v0twfWt2zMC2v0','y29VCMrPBMf0zvn5C3rLBq','DMfSDwu','CMvZAxPL','Bw9Kzq','zwnOyxj0CW','q2fYDg9NCMfWAgLJ','x2vJAgfYDhndB250ywLUzxi','zwnjBNn0yw5Jzq','uMvJDgfUz2XL','yxbWBhK','BwfYCZnKtwfW','x19TyxbpzMzZzxq','C2nLBMu','q2vZAxvT','D3jPDgfIBgu','DMLZAwjSzq','zwnOyxj0C0f1Dg9izwLNAhq','Cg9PBNrLCKv2zw50CW','z2v0','zgLTzw5ZAw9UCW','z2v0vMLLD1jLy3q','rgvYAxzLzcbJB25ZDhj1y3rVCNmGBwf5ig9UBhKGCMv0DxjUig9IAMvJDcbVCIb1BMrLzMLUzwq','y29UC3rYDwn0','mJC5mda1odbuELLWz0C','zwnOyxj0C0zPEgvKsgvPz2H0','CMvNAxn0zxjdB29YzgLUyxrLu3LZDgvT','BwfYCZnKtwfWuM9HBq','z2v0uMvJDgfUz2XL','Cg9ZAxrPB24','zML4zwrizwLNAhq','y29UC3rYDwn0B3i','Dw5KzwzPBMvK','mJCXmZu4mgLXAuLisW','x21HCa','Cg9ZDfjLBMrLCG','ywXS','zgLZCg9Zzq','mJu1ntC3nLnLv3rnuq','DMfSDwvpzG'];_0x5a2e=function(){return _0x46ea4d;};return _0x5a2e();}var echarts__namespace=_interopNamespace(echarts),mars3d__namespace=_interopNamespace(mars3d);function _classCallCheck(_0x4d8da7,_0x40bd2a){if(!(_0x4d8da7 instanceof _0x40bd2a))throw new TypeError('Cannot\x20call\x20a\x20class\x20as\x20a\x20function');}function _defineProperties(_0x376f03,_0x420b31){var _0x496816=_0x2cbd;for(var _0x3bd6ff=0x0;_0x3bd6ff<_0x420b31[_0x496816(0x186)];_0x3bd6ff++){var _0x570830=_0x420b31[_0x3bd6ff];_0x570830[_0x496816(0x1a0)]=_0x570830[_0x496816(0x1a0)]||![],_0x570830['configurable']=!![];if(_0x496816(0x134)in _0x570830)_0x570830[_0x496816(0x141)]=!![];Object[_0x496816(0x17f)](_0x376f03,_0x570830[_0x496816(0x178)],_0x570830);}}function _createClass(_0x2d19c8,_0x33817c,_0x19dab5){var _0x9931f0=_0x2cbd;if(_0x33817c)_defineProperties(_0x2d19c8[_0x9931f0(0x161)],_0x33817c);if(_0x19dab5)_defineProperties(_0x2d19c8,_0x19dab5);return Object[_0x9931f0(0x17f)](_0x2d19c8,_0x9931f0(0x161),{'writable':![]}),_0x2d19c8;}function _inherits(_0x17f269,_0x2a6132){var _0x1e8111=_0x2cbd;if(typeof _0x2a6132!=='function'&&_0x2a6132!==null)throw new TypeError(_0x1e8111(0x1a5));_0x17f269[_0x1e8111(0x161)]=Object[_0x1e8111(0x16e)](_0x2a6132&&_0x2a6132['prototype'],{'constructor':{'value':_0x17f269,'writable':!![],'configurable':!![]}}),Object[_0x1e8111(0x17f)](_0x17f269,_0x1e8111(0x161),{'writable':![]});if(_0x2a6132)_setPrototypeOf(_0x17f269,_0x2a6132);}function _getPrototypeOf(_0x159a0f){return _getPrototypeOf=Object['setPrototypeOf']?Object['getPrototypeOf']:function _0x23c539(_0x275d20){var _0x308df7=_0x2cbd;return _0x275d20[_0x308df7(0x18e)]||Object[_0x308df7(0x18f)](_0x275d20);},_getPrototypeOf(_0x159a0f);}function _setPrototypeOf(_0x4fffe3,_0x32ee71){var _0x1d9caf=_0x2cbd;return _setPrototypeOf=Object[_0x1d9caf(0x16a)]||function _0x1d8d32(_0x1c0c0,_0x4edaec){var _0x8cf5f5=_0x1d9caf;return _0x1c0c0[_0x8cf5f5(0x18e)]=_0x4edaec,_0x1c0c0;},_setPrototypeOf(_0x4fffe3,_0x32ee71);}function _isNativeReflectConstruct(){var _0x5d885f=_0x2cbd;if(typeof Reflect===_0x5d885f(0x152)||!Reflect[_0x5d885f(0x149)])return![];if(Reflect[_0x5d885f(0x149)][_0x5d885f(0x194)])return![];if(typeof Proxy===_0x5d885f(0x169))return!![];try{return Boolean['prototype'][_0x5d885f(0x159)][_0x5d885f(0x179)](Reflect[_0x5d885f(0x149)](Boolean,[],function(){})),!![];}catch(_0x3860ae){return![];}}function _assertThisInitialized(_0x302905){var _0x183826=_0x2cbd;if(_0x302905===void 0x0)throw new ReferenceError(_0x183826(0x166));return _0x302905;}function _possibleConstructorReturn(_0x154357,_0x5ea40a){var _0x195767=_0x2cbd;if(_0x5ea40a&&(typeof _0x5ea40a==='object'||typeof _0x5ea40a===_0x195767(0x169)))return _0x5ea40a;else{if(_0x5ea40a!==void 0x0)throw new TypeError(_0x195767(0x148));}return _assertThisInitialized(_0x154357);}function _createSuper(_0x116dbc){var _0xc6799d=_isNativeReflectConstruct();return function _0x15fc22(){var _0x5b7a27=_0x2cbd,_0x128fd0=_getPrototypeOf(_0x116dbc),_0x333b57;if(_0xc6799d){var _0x17dea8=_getPrototypeOf(this)[_0x5b7a27(0x151)];_0x333b57=Reflect['construct'](_0x128fd0,arguments,_0x17dea8);}else _0x333b57=_0x128fd0[_0x5b7a27(0x13c)](this,arguments);return _possibleConstructorReturn(this,_0x333b57);};}var Cesium$1=mars3d__namespace[_0x351131(0x140)],CompositeCoordinateSystem=(function(){var _0x2a7f79=_0x351131;function _0x3e5ab9(_0x48c71a,_0x438150){var _0xe6ac45=_0x2cbd;_classCallCheck(this,_0x3e5ab9),this[_0xe6ac45(0x190)]=_0x48c71a,this[_0xe6ac45(0x146)]=[_0xe6ac45(0x192),_0xe6ac45(0x193)],this[_0xe6ac45(0x174)]=[0x0,0x0],this['_api']=_0x438150;}return _createClass(_0x3e5ab9,[{'key':'setMapOffset','value':function _0x7e897c(_0x36dbe2){var _0x6c2fc4=_0x2cbd;this[_0x6c2fc4(0x174)]=_0x36dbe2;}},{'key':_0x2a7f79(0x12f),'value':function _0x23f04c(){var _0x4411d9=_0x2a7f79;return this[_0x4411d9(0x190)];}},{'key':'dataToPoint','value':function _0xca0f8c(_0x4d0a29){var _0x37bd8e=_0x2a7f79,_0x32e7a5=this[_0x37bd8e(0x190)],_0x210a6a=[NaN,NaN],_0x3f8d7a=_0x32e7a5[_0x37bd8e(0x14b)];_0x32e7a5[_0x37bd8e(0x143)]&&(_0x3f8d7a=_0x32e7a5[_0x37bd8e(0x170)][_0x37bd8e(0x196)](Cesium$1[_0x37bd8e(0x138)][_0x37bd8e(0x197)](_0x4d0a29[0x0],_0x4d0a29[0x1])));var _0x1d4d8e=Cesium$1['Cartesian3'][_0x37bd8e(0x197)](_0x4d0a29[0x0],_0x4d0a29[0x1],_0x3f8d7a);if(!_0x1d4d8e)return _0x210a6a;var _0x56b8bd=Cesium$1[_0x37bd8e(0x199)][_0x37bd8e(0x160)](_0x32e7a5,_0x1d4d8e);if(!_0x56b8bd)return _0x210a6a;if(_0x32e7a5[_0x37bd8e(0x15e)]&&_0x32e7a5[_0x37bd8e(0x136)]===Cesium$1[_0x37bd8e(0x188)][_0x37bd8e(0x162)]){var _0x283d5c=new Cesium$1['EllipsoidalOccluder'](_0x32e7a5[_0x37bd8e(0x170)][_0x37bd8e(0x183)],_0x32e7a5['camera'][_0x37bd8e(0x180)]),_0x5a4c01=_0x283d5c[_0x37bd8e(0x17e)](_0x1d4d8e);if(!_0x5a4c01)return _0x210a6a;}return[_0x56b8bd['x']-this[_0x37bd8e(0x174)][0x0],_0x56b8bd['y']-this[_0x37bd8e(0x174)][0x1]];}},{'key':_0x2a7f79(0x147),'value':function _0x2cc907(){var _0x5a46e=_0x2a7f79,_0x5971b7=this[_0x5a46e(0x1b1)];return new echarts__namespace[(_0x5a46e(0x182))]['BoundingRect'](0x0,0x0,_0x5971b7['getWidth'](),_0x5971b7[_0x5a46e(0x196)]());}},{'key':_0x2a7f79(0x1b5),'value':function _0x1ae21b(){var _0x9cb05d=_0x2a7f79;return echarts__namespace[_0x9cb05d(0x173)]['create']();}}]),_0x3e5ab9;}());CompositeCoordinateSystem['dimensions']=[_0x351131(0x192),_0x351131(0x193)],CompositeCoordinateSystem[_0x351131(0x16e)]=function(_0x4ad550,_0x59fc4a){var _0x3d8b71=_0x351131,_0x4576f1,_0x3da96d=_0x4ad550['scheduler'][_0x3d8b71(0x13a)][_0x3d8b71(0x190)];_0x4ad550[_0x3d8b71(0x1ba)](_0x3d8b71(0x13d),function(_0x466c59){var _0x333240=_0x3d8b71,_0x26b8c0=_0x59fc4a[_0x333240(0x12e)]()[_0x333240(0x16d)];if(!_0x26b8c0)return;!_0x4576f1&&(_0x4576f1=new CompositeCoordinateSystem(_0x3da96d,_0x59fc4a)),_0x466c59[_0x333240(0x133)]=_0x4576f1,_0x4576f1[_0x333240(0x132)](_0x466c59[_0x333240(0x13e)]||[0x0,0x0]);}),_0x4ad550['eachSeries'](function(_0x3238ec){var _0x1d1fa4=_0x3d8b71;_0x3238ec[_0x1d1fa4(0x145)](_0x1d1fa4(0x133))===_0x1d1fa4(0x13d)&&(!_0x4576f1&&(_0x4576f1=new CompositeCoordinateSystem(_0x3da96d,_0x59fc4a)),_0x3238ec['coordinateSystem']=_0x4576f1);});};echarts__namespace&&(echarts__namespace[_0x351131(0x14c)](_0x351131(0x13d),CompositeCoordinateSystem),echarts__namespace[_0x351131(0x1a2)]({'type':_0x351131(0x14d),'event':_0x351131(0x14d),'update':_0x351131(0x1ac)},function(_0x42b8c0,_0x1a5823){}),echarts__namespace[_0x351131(0x195)]({'type':'mars3dMap','getBMap':function getBMap(){var _0x41bf29=_0x351131;return this[_0x41bf29(0x190)];},'defaultOption':{'roam':![]}}),echarts__namespace[_0x351131(0x16f)]({'type':'mars3dMap','init':function init(_0x5eedf7,_0x22cd71){var _0xfc42f4=_0x351131;this[_0xfc42f4(0x198)]=_0x22cd71,this[_0xfc42f4(0x13f)]=_0x5eedf7['scheduler'][_0xfc42f4(0x13a)][_0xfc42f4(0x190)],this[_0xfc42f4(0x13f)][_0xfc42f4(0x155)][_0xfc42f4(0x167)](this[_0xfc42f4(0x16c)],this);},'moveHandler':function moveHandler(_0x34c103,_0x3469ae){var _0x46c76f=_0x351131;this[_0x46c76f(0x198)][_0x46c76f(0x17a)]({'type':_0x46c76f(0x14d)});},'render':function render(_0x23b7bb,_0x2ffe69,_0x5924d1){},'dispose':function dispose(_0x25ef37){var _0xb9282e=_0x351131;this[_0xb9282e(0x13f)][_0xb9282e(0x155)][_0xb9282e(0x1bb)](this[_0xb9282e(0x16c)],this);}}));var Cesium=mars3d__namespace[_0x351131(0x140)],BaseLayer=mars3d__namespace[_0x351131(0x19d)]['BaseLayer'],_div_zIndex=0x3e7,EchartsLayer=function(_0x2d72b9){var _0x1fdc7e=_0x351131;_inherits(_0x39f695,_0x2d72b9);var _0x46cfdc=_createSuper(_0x39f695);function _0x39f695(){var _0x172707=_0x2cbd,_0x46fa15,_0x1150a6=arguments[_0x172707(0x186)]>0x0&&arguments[0x0]!==undefined?arguments[0x0]:{};return _classCallCheck(this,_0x39f695),_0x46fa15=_0x46cfdc['call'](this,_0x1150a6),_0x46fa15[_0x172707(0x1aa)]=_0x46fa15[_0x172707(0x1ad)][_0x172707(0x144)],_0x46fa15;}return _createClass(_0x39f695,[{'key':_0x1fdc7e(0x19d),'get':function _0x31d35b(){var _0x52a657=_0x1fdc7e;return this[_0x52a657(0x1a9)];}},{'key':_0x1fdc7e(0x144),'get':function _0x297757(){var _0x5c4708=_0x1fdc7e;return this[_0x5c4708(0x1aa)];},'set':function _0x392d0a(_0x5d1ccb){var _0x24a9ce=_0x1fdc7e;this['_pointerEvents']=_0x5d1ccb,this['_echartsContainer']&&(_0x5d1ccb?this['_echartsContainer'][_0x24a9ce(0x165)]['pointerEvents']=_0x24a9ce(0x156):this[_0x24a9ce(0x139)][_0x24a9ce(0x165)][_0x24a9ce(0x144)]='none');}},{'key':'_setOptionsHook','value':function _0x3ab7ed(_0x7ae799){this['setEchartsOption'](_0x7ae799);}},{'key':_0x1fdc7e(0x1ae),'value':function _0x30de56(_0xfc04e2){var _0x58cd63=_0x1fdc7e;_0xfc04e2?this[_0x58cd63(0x139)]['style'][_0x58cd63(0x1a4)]=_0x58cd63(0x142):this[_0x58cd63(0x139)]['style'][_0x58cd63(0x1a4)]=_0x58cd63(0x177);}},{'key':'_mountedHook','value':function _0x38b0ae(){var _0x18e3cd=_0x1fdc7e;if(!echarts__namespace)throw new Error(_0x18e3cd(0x187));this[_0x18e3cd(0x154)][_0x18e3cd(0x13f)]['echartsDepthTest']=Cesium[_0x18e3cd(0x19f)](this[_0x18e3cd(0x1ad)][_0x18e3cd(0x15a)],!![]),this['_map'][_0x18e3cd(0x13f)][_0x18e3cd(0x143)]=Cesium['defaultValue'](this['options'][_0x18e3cd(0x16b)],![]),this[_0x18e3cd(0x154)][_0x18e3cd(0x13f)]['echartsFixedHeight']=Cesium[_0x18e3cd(0x19f)](this[_0x18e3cd(0x1ad)][_0x18e3cd(0x150)],0x0);}},{'key':_0x1fdc7e(0x163),'value':function _0x5052f6(){var _0x37ebf8=_0x1fdc7e;this[_0x37ebf8(0x139)]=this[_0x37ebf8(0x19c)](),this[_0x37ebf8(0x1a9)]=echarts__namespace[_0x37ebf8(0x172)](this[_0x37ebf8(0x139)]),this[_0x37ebf8(0x1a9)][_0x37ebf8(0x190)]=this[_0x37ebf8(0x154)][_0x37ebf8(0x13f)],this[_0x37ebf8(0x1b3)](this['options']);}},{'key':_0x1fdc7e(0x1b9),'value':function _0x30e2da(){var _0x4feecf=_0x1fdc7e;this[_0x4feecf(0x1a9)]&&(this['_echartsInstance']['clear'](),this[_0x4feecf(0x1a9)][_0x4feecf(0x157)](),delete this[_0x4feecf(0x1a9)]),this[_0x4feecf(0x139)]&&(this[_0x4feecf(0x154)][_0x4feecf(0x17d)][_0x4feecf(0x17c)](this[_0x4feecf(0x139)]),delete this[_0x4feecf(0x139)]);}},{'key':'_createChartOverlay','value':function _0x25543f(){var _0x3f2ed8=_0x1fdc7e,_0x42f91d=this[_0x3f2ed8(0x154)]['scene'];_0x42f91d[_0x3f2ed8(0x1b8)][_0x3f2ed8(0x1b4)]('tabIndex',0x0);var _0x9be937=mars3d__namespace[_0x3f2ed8(0x18b)][_0x3f2ed8(0x16e)](_0x3f2ed8(0x1a8),_0x3f2ed8(0x1a7));return _0x9be937[_0x3f2ed8(0x165)][_0x3f2ed8(0x14f)]=_0x3f2ed8(0x191),_0x9be937[_0x3f2ed8(0x165)]['top']=_0x3f2ed8(0x1a1),_0x9be937[_0x3f2ed8(0x165)][_0x3f2ed8(0x15c)]=_0x3f2ed8(0x1a1),_0x9be937[_0x3f2ed8(0x165)][_0x3f2ed8(0x19e)]=_0x42f91d[_0x3f2ed8(0x1b8)][_0x3f2ed8(0x1a6)]+'px',_0x9be937['style'][_0x3f2ed8(0x12d)]=_0x42f91d[_0x3f2ed8(0x1b8)]['clientHeight']+'px',_0x9be937[_0x3f2ed8(0x165)][_0x3f2ed8(0x144)]=this[_0x3f2ed8(0x1aa)]?'all':_0x3f2ed8(0x17b),_0x9be937[_0x3f2ed8(0x165)][_0x3f2ed8(0x15f)]=_div_zIndex++,this[_0x3f2ed8(0x154)][_0x3f2ed8(0x17d)][_0x3f2ed8(0x15b)](_0x9be937),_0x9be937;}},{'key':_0x1fdc7e(0x135),'value':function _0x22be64(){var _0x2ae3e6=_0x1fdc7e;if(!this[_0x2ae3e6(0x1a9)])return;var _0x329c7f=this[_0x2ae3e6(0x154)][_0x2ae3e6(0x13f)];this[_0x2ae3e6(0x139)][_0x2ae3e6(0x165)][_0x2ae3e6(0x19e)]=_0x329c7f['canvas'][_0x2ae3e6(0x1a6)]+'px',this[_0x2ae3e6(0x139)][_0x2ae3e6(0x165)][_0x2ae3e6(0x12d)]=_0x329c7f[_0x2ae3e6(0x1b8)][_0x2ae3e6(0x1b2)]+'px',this[_0x2ae3e6(0x1a9)]['resize']();}},{'key':_0x1fdc7e(0x1b3),'value':function _0x4b0cd0(_0x5a5b36,_0x4a9717,_0x4f8c30){var _0x30ae1c=_0x1fdc7e;this[_0x30ae1c(0x1a9)]&&(_0x5a5b36[_0x30ae1c(0x13d)]=_0x5a5b36[_0x30ae1c(0x13d)]||{},this[_0x30ae1c(0x1a9)][_0x30ae1c(0x175)](_0x5a5b36,_0x4a9717,_0x4f8c30));}},{'key':_0x1fdc7e(0x14e),'value':function _0x54420b(_0x547640){var _0xc7562e=_0x1fdc7e,_0x2cd5ff,_0x256167,_0xb0187d,_0x5aeb1e;function _0x37b71c(_0x2952f0){var _0x4c8e14=_0x2cbd;if(!Array[_0x4c8e14(0x1b6)](_0x2952f0))return;var _0x597aa2=_0x2952f0[0x0]||0x0,_0x537ae6=_0x2952f0[0x1]||0x0;_0x597aa2!==0x0&&_0x537ae6!==0x0&&(_0x2cd5ff===undefined?(_0x2cd5ff=_0x597aa2,_0x256167=_0x597aa2,_0xb0187d=_0x537ae6,_0x5aeb1e=_0x537ae6):(_0x2cd5ff=Math[_0x4c8e14(0x176)](_0x2cd5ff,_0x597aa2),_0x256167=Math[_0x4c8e14(0x168)](_0x256167,_0x597aa2),_0xb0187d=Math[_0x4c8e14(0x176)](_0xb0187d,_0x537ae6),_0x5aeb1e=Math['max'](_0x5aeb1e,_0x537ae6)));}var _0x51e4ba=this[_0xc7562e(0x1ad)][_0xc7562e(0x131)];_0x51e4ba&&_0x51e4ba['forEach'](function(_0x4f2742){var _0x6683f1=_0xc7562e;_0x4f2742[_0x6683f1(0x189)]&&_0x4f2742['data']['forEach'](function(_0x1d4e6b){var _0x464881=_0x6683f1;if(_0x1d4e6b[_0x464881(0x134)])_0x37b71c(_0x1d4e6b[_0x464881(0x134)]);else _0x1d4e6b[_0x464881(0x18d)]&&_0x1d4e6b[_0x464881(0x18d)][_0x464881(0x184)](function(_0x3c539e){_0x37b71c(_0x3c539e);});});});if(_0x2cd5ff===0x0&&_0xb0187d===0x0&&_0x256167===0x0&&_0x5aeb1e===0x0)return null;return _0x547640!==null&&_0x547640!==void 0x0&&_0x547640[_0xc7562e(0x185)]?{'xmin':_0x2cd5ff,'xmax':_0x256167,'ymin':_0xb0187d,'ymax':_0x5aeb1e}:Cesium[_0xc7562e(0x13b)][_0xc7562e(0x197)](_0x2cd5ff,_0xb0187d,_0x256167,_0x5aeb1e);}}]),_0x39f695;}(BaseLayer);mars3d__namespace[_0x351131(0x1a3)][_0x351131(0x1b0)](_0x351131(0x137),EchartsLayer),mars3d__namespace[_0x351131(0x19d)][_0x351131(0x181)]=EchartsLayer,exports[_0x351131(0x181)]=EchartsLayer,Object[_0x351131(0x12c)](echarts)[_0x351131(0x184)](function(_0xb0a175){var _0x352f54=_0x351131;if(_0xb0a175!==_0x352f54(0x19b)&&!exports[_0x352f54(0x1ab)](_0xb0a175))Object[_0x352f54(0x17f)](exports,_0xb0a175,{'enumerable':!![],'get':function(){return echarts[_0xb0a175];}});}),Object[_0x351131(0x17f)](exports,_0x351131(0x1af),{'value':!![]}); | ||
})); |
{ | ||
"name": "mars3d-echarts", | ||
"version": "3.2.4", | ||
"version": "3.3.0", | ||
"description": "Mars3D平台插件,结合echarts可视化功能插件", | ||
@@ -10,32 +10,9 @@ "main": "dist/mars3d-echarts.js", | ||
"dependencies": { | ||
"echarts": "^5.2.0" | ||
"echarts": "^5.3.1" | ||
}, | ||
"devDependencies": { | ||
"mars3d": "^3.2.4", | ||
"@babel/core": "^7.14.3", | ||
"@babel/eslint-parser": "^7.14.3", | ||
"@babel/plugin-proposal-class-properties": "^7.14.3", | ||
"@babel/plugin-transform-runtime": "^7.14.3", | ||
"@babel/preset-env": "^7.14.3", | ||
"babel-eslint": "^10.1.0", | ||
"babel-loader": "^8.2.2", | ||
"eslint": "^7.26.0", | ||
"eslint-config-prettier": "^7.2.0", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-prettier": "^3.3.1", | ||
"eslint-plugin-promise": "^4.3.1", | ||
"prettier": "^2.2.1", | ||
"webpack": "^4.46.0", | ||
"webpack-cli": "^3.3.12", | ||
"javascript-obfuscator": "^2.18.1", | ||
"webpack-obfuscator": "^2.6.0" | ||
"mars3d": "^3.3.0" | ||
}, | ||
"scripts": { | ||
"build": "npm run lint && webpack --env.prod --env.min --progress --profile --colors --config ./scripts/webpack.config.js && webpack --env.prod --progress --profile --colors --config ./scripts/webpack.config.js --devtool source-map", | ||
"build-src": "npm run lint && webpack --env.prod --progress --profile --colors --config ./scripts/webpack.config.js --devtool source-map", | ||
"build-min": "npm run lint && webpack --env.prod --env.min --progress --profile --colors --config ./scripts/webpack.config.js", | ||
"build-npm": "npm run lint && webpack --env.prod --env.min --progress --profile --colors --config ./scripts/webpack.npm.js && node scripts/npm/buildNpm.js", | ||
"lint": "eslint ./src/**/*.{js,ts} --fix", | ||
"push": "npm publish --registry=https://registry.npmjs.org" | ||
"lint": "eslint ./src/**/*.{js,ts} --fix" | ||
}, | ||
@@ -62,3 +39,13 @@ "repository": { | ||
"license": "Apache-2.0", | ||
"homepage": "http://mars3d.cn" | ||
"homepage": "http://mars3d.cn", | ||
"build": { | ||
"plugin": true, | ||
"globals": { | ||
"@turf/turf": "turf", | ||
"mars3d-cesium": "Cesium", | ||
"mars3d": "mars3d", | ||
"echarts": "echarts" | ||
}, | ||
"minify": "obfuscator" | ||
} | ||
} |
Obfuscated code
Supply chain riskObfuscated files are intentionally packed to hide their behavior. This could be a sign of malware.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
1
0
21920
84
1
1
Updatedecharts@^5.3.1