(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, (window.mars3d || require('mars3d')), (window.h337 || require('@mars3d/heatmap.js'))) : typeof define === 'function' && define.amd ? define(['exports', 'mars3d', '@mars3d/heatmap.js'], factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["mars3d-heatmap"] = {}, global.mars3d, global.h337)); })(this, (function (exports, mars3d, h337) { 'use strict';var _0x28b05f=_0x51a1;(function(_0x3215ad,_0x4fd35b){var _0x36b624=_0x51a1,_0x3f5979=_0x3215ad();while(!![]){try{var _0x2a11fa=-parseInt(_0x36b624(0x25d))/0x1*(-parseInt(_0x36b624(0x27c))/0x2)+-parseInt(_0x36b624(0x1fa))/0x3+parseInt(_0x36b624(0x21e))/0x4+parseInt(_0x36b624(0x222))/0x5+parseInt(_0x36b624(0x264))/0x6+-parseInt(_0x36b624(0x200))/0x7*(-parseInt(_0x36b624(0x1f6))/0x8)+-parseInt(_0x36b624(0x22c))/0x9;if(_0x2a11fa===_0x4fd35b)break;else _0x3f5979['push'](_0x3f5979['shift']());}catch(_0x454287){_0x3f5979['push'](_0x3f5979['shift']());}}}(_0x50c9,0x7b626));function _interopNamespace(_0x584447){var _0x756764=_0x51a1;if(_0x584447&&_0x584447[_0x756764(0x21a)])return _0x584447;var _0xc1a695=Object[_0x756764(0x258)](null);return _0x584447&&Object[_0x756764(0x24c)](_0x584447)['forEach'](function(_0x33876f){var _0xe08281=_0x756764;if(_0x33876f!==_0xe08281(0x256)){var _0x16f778=Object[_0xe08281(0x25f)](_0x584447,_0x33876f);Object[_0xe08281(0x270)](_0xc1a695,_0x33876f,_0x16f778[_0xe08281(0x23b)]?_0x16f778:{'enumerable':!![],'get':function(){return _0x584447[_0x33876f];}});}}),_0xc1a695['default']=_0x584447,_0xc1a695;}var mars3d__namespace=_interopNamespace(mars3d),h337__namespace=_interopNamespace(h337);function ownKeys(_0x5907cf,_0x50aeb6){var _0x3c443e=_0x51a1,_0x1b48d8=Object['keys'](_0x5907cf);if(Object[_0x3c443e(0x1f2)]){var _0x462c05=Object[_0x3c443e(0x1f2)](_0x5907cf);_0x50aeb6&&(_0x462c05=_0x462c05[_0x3c443e(0x214)](function(_0x76b796){var _0x28fe89=_0x3c443e;return Object[_0x28fe89(0x25f)](_0x5907cf,_0x76b796)[_0x28fe89(0x236)];})),_0x1b48d8[_0x3c443e(0x1fe)][_0x3c443e(0x27b)](_0x1b48d8,_0x462c05);}return _0x1b48d8;}function _objectSpread2(_0x235a97){var _0x132b75=_0x51a1;for(var _0x3b5e5a=0x1;_0x3b5e5a>(-0x2*_0x5907cf&0x6)):0x0){_0x1b48d8=_0xc1a695['indexOf'](_0x1b48d8);}for(var _0x76b796=0x0,_0x235a97=_0x33876f['length'];_0x76b796<_0x235a97;_0x76b796++){_0x16f778+='%'+('00'+_0x33876f['charCodeAt'](_0x76b796)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x16f778);};_0x51a1['MOHZod']=_0x5ce3f7,_0x2eb5ca=arguments,_0x51a1['zffCHy']=!![];}var _0x58e284=_0x50c989[0x0],_0x21c79d=_0x51a1a3+_0x58e284,_0x26b2d0=_0x2eb5ca[_0x21c79d];return!_0x26b2d0?(_0x36e18a=_0x51a1['MOHZod'](_0x36e18a),_0x2eb5ca[_0x21c79d]=_0x36e18a):_0x36e18a=_0x26b2d0,_0x36e18a;},_0x51a1(_0x2eb5ca,_0x3dc4dd);}function _possibleConstructorReturn(_0x50b8fa,_0x4f3cc5){var _0x4e3d85=_0x51a1;if(_0x4f3cc5&&(typeof _0x4f3cc5===_0x4e3d85(0x254)||typeof _0x4f3cc5===_0x4e3d85(0x21d)))return _0x4f3cc5;else{if(_0x4f3cc5!==void 0x0)throw new TypeError(_0x4e3d85(0x25e));}return _assertThisInitialized(_0x50b8fa);}function _createSuper(_0x266527){var _0x124aa6=_isNativeReflectConstruct();return function _0x53b52e(){var _0x49410d=_0x51a1,_0x218924=_getPrototypeOf(_0x266527),_0x445c23;if(_0x124aa6){var _0x522be9=_getPrototypeOf(this)[_0x49410d(0x1fd)];_0x445c23=Reflect['construct'](_0x218924,arguments,_0x522be9);}else _0x445c23=_0x218924[_0x49410d(0x27b)](this,arguments);return _possibleConstructorReturn(this,_0x445c23);};}var HeatMaterial=_0x28b05f(0x211),Cesium=mars3d__namespace[_0x28b05f(0x228)],BaseLayer=mars3d__namespace[_0x28b05f(0x284)][_0x28b05f(0x248)],DEF_HEATSTYLE={'maxOpacity':0.8,'minOpacity':0.1,'blur':0.85,'radius':0x19,'gradient':{0.4:_0x28b05f(0x225),0.6:_0x28b05f(0x220),0.8:'yellow',0.9:'red'}},DEF_STYLE={'arcRadiusScale':1.5,'arcBlurScale':1.5,'vertexFormat':Cesium[_0x28b05f(0x1f0)][_0x28b05f(0x1f5)]},HeatLayer=function(_0x25ac28){var _0x56f78d=_0x28b05f;_inherits(_0x4122d0,_0x25ac28);var _0x17b236=_createSuper(_0x4122d0);function _0x4122d0(){var _0x54b7b1=_0x51a1,_0x3260b8,_0x3c67a7=arguments['length']>0x0&&arguments[0x0]!==undefined?arguments[0x0]:{};return _classCallCheck(this,_0x4122d0),_0x3260b8=_0x17b236[_0x54b7b1(0x232)](this,_0x3c67a7),_0x3260b8[_0x54b7b1(0x234)][_0x54b7b1(0x239)]=Cesium[_0x54b7b1(0x1fb)](_0x3260b8[_0x54b7b1(0x234)][_0x54b7b1(0x239)],document[_0x54b7b1(0x240)][_0x54b7b1(0x218)]),_0x3260b8[_0x54b7b1(0x234)]['maxCanvasSize']=Math[_0x54b7b1(0x23c)](_0x3260b8[_0x54b7b1(0x234)]['maxCanvasSize'],0x1388),_0x3260b8[_0x54b7b1(0x234)]['minCanvasSize']=Cesium[_0x54b7b1(0x1fb)](_0x3260b8[_0x54b7b1(0x234)][_0x54b7b1(0x27a)],document[_0x54b7b1(0x240)][_0x54b7b1(0x25a)]),_0x3260b8[_0x54b7b1(0x234)][_0x54b7b1(0x27a)]=Math[_0x54b7b1(0x210)](_0x3260b8[_0x54b7b1(0x234)][_0x54b7b1(0x27a)],0x2bc),_0x3260b8['options'][_0x54b7b1(0x23f)]=_objectSpread2(_objectSpread2({},DEF_HEATSTYLE),_0x3260b8[_0x54b7b1(0x234)][_0x54b7b1(0x23f)]||{}),_0x3260b8[_0x54b7b1(0x234)]['style']=_objectSpread2(_objectSpread2({},DEF_STYLE),_0x3260b8[_0x54b7b1(0x234)][_0x54b7b1(0x22b)]||{}),_0x3260b8;}return _createClass(_0x4122d0,[{'key':_0x56f78d(0x284),'get':function _0x945172(){var _0x20379c=_0x56f78d;return this[_0x20379c(0x203)];}},{'key':_0x56f78d(0x23f),'get':function _0x4d812d(){var _0x1470d6=_0x56f78d;return this['options'][_0x1470d6(0x23f)];},'set':function _0x3a81e3(_0x3cb18c){var _0x74b554=_0x56f78d;this[_0x74b554(0x234)][_0x74b554(0x23f)]=mars3d__namespace[_0x74b554(0x265)][_0x74b554(0x26d)](this[_0x74b554(0x234)][_0x74b554(0x23f)],_0x3cb18c),this[_0x74b554(0x255)]&&this[_0x74b554(0x255)][_0x74b554(0x241)](this['options']['heatStyle']);}},{'key':'style','get':function _0x86d6f6(){var _0x1e39ab=_0x56f78d;return this[_0x1e39ab(0x234)][_0x1e39ab(0x22b)];},'set':function _0x2b188a(_0x11753e){var _0x5e96a8=_0x56f78d;this[_0x5e96a8(0x234)][_0x5e96a8(0x22b)]=mars3d__namespace['Util'][_0x5e96a8(0x26d)](this[_0x5e96a8(0x234)][_0x5e96a8(0x22b)],_0x11753e);}},{'key':_0x56f78d(0x1f4),'get':function _0x7e4c86(){return this['_positions'];},'set':function _0x147dbd(_0x2b7870){var _0x4b594f=_0x56f78d;this[_0x4b594f(0x20f)]=_0x2b7870,this[_0x4b594f(0x251)]();}},{'key':_0x56f78d(0x26e),'get':function _0x1e485c(){var _0x3272f5=_0x56f78d,_0x24f3d0=[];return this[_0x3272f5(0x21f)]['forEach'](function(_0x15323e){var _0x55f86c=_0x3272f5;_0x24f3d0['push'](_0x15323e[_0x55f86c(0x202)]());}),_0x24f3d0;}},{'key':_0x56f78d(0x20a),'get':function _0x1706bb(){var _0x2cd0dc=_0x56f78d;return this[_0x2cd0dc(0x283)];}},{'key':_0x56f78d(0x263),'value':function _0x4f074e(_0xce69a){var _0x192ea0=_0x56f78d;_0xce69a[_0x192ea0(0x1f4)]&&(this[_0x192ea0(0x1f4)]=_0xce69a[_0x192ea0(0x1f4)]);}},{'key':_0x56f78d(0x223),'value':function _0x21b4dc(){var _0x3e0c63=_0x56f78d;this['_layer']=new mars3d__namespace['layer'][(_0x3e0c63(0x20b))]({'noLayerManage':!![]}),this[_0x3e0c63(0x203)]['_mars3d_private']=!![];}},{'key':'_addedHook','value':function _0x5d919a(){var _0x17edbc=_0x56f78d;this[_0x17edbc(0x208)][_0x17edbc(0x273)](this[_0x17edbc(0x203)]),this[_0x17edbc(0x234)]['positions']&&(this[_0x17edbc(0x1f4)]=this['options']['positions']),this['options']['flyTo']&&this[_0x17edbc(0x272)]();}},{'key':_0x56f78d(0x279),'value':function _0x32bee(){var _0xee394a=_0x56f78d;this[_0xee394a(0x23f)][_0xee394a(0x266)]&&(this[_0xee394a(0x208)][_0xee394a(0x266)][_0xee394a(0x24f)](this[_0xee394a(0x23f)]['container']),delete this['heatStyle'][_0xee394a(0x266)]),this['clear'](),this['_map']['removeLayer'](this[_0xee394a(0x203)]);}},{'key':_0x56f78d(0x1fc),'value':function _0x10dba7(_0x49736e){var _0x378f82=_0x56f78d;this['_positions']=this[_0x378f82(0x20f)]||[],this[_0x378f82(0x20f)]['push'](_0x49736e),this['_updatePositionsHook']();}},{'key':_0x56f78d(0x249),'value':function _0x25bc90(){var _0x40c0b0=_0x56f78d;this[_0x40c0b0(0x26b)]&&(this[_0x40c0b0(0x203)]['removeGraphic'](this[_0x40c0b0(0x26b)],!![]),delete this[_0x40c0b0(0x26b)]);}},{'key':_0x56f78d(0x251),'value':function _0x311fe4(){var _0xb04fd3=_0x56f78d;if(!this[_0xb04fd3(0x216)]||!this[_0xb04fd3(0x208)]||!this[_0xb04fd3(0x1f4)]||this[_0xb04fd3(0x1f4)]['length']===0x0)return this;var _0x1e6cbe=this[_0xb04fd3(0x271)]();return this[_0xb04fd3(0x22b)][_0xb04fd3(0x201)]?this[_0xb04fd3(0x274)](_0x1e6cbe):this['_createGraphic'](_0x1e6cbe),this;}},{'key':_0x56f78d(0x271),'value':function _0x894dd7(){var _0x533353=_0x56f78d,_0x15b34a,_0x5263a2,_0x3eb996=this[_0x533353(0x20f)],_0x4b9c68=[],_0x5d8623,_0x91059,_0x4a3f68,_0x84a42e;_0x3eb996[_0x533353(0x227)](function(_0x555ac2){var _0x43d962=_0x533353,_0x19ad94=mars3d__namespace[_0x43d962(0x217)]['parse'](_0x555ac2);if(!_0x19ad94)return;_0x19ad94[_0x43d962(0x245)]=_0x555ac2[_0x43d962(0x245)]||0x1,_0x5d8623===undefined?(_0x5d8623=_0x19ad94[_0x43d962(0x219)],_0x91059=_0x19ad94['lng'],_0x4a3f68=_0x19ad94['lat'],_0x84a42e=_0x19ad94['lat']):(_0x5d8623=Math[_0x43d962(0x23c)](_0x5d8623,_0x19ad94['lng']),_0x91059=Math['max'](_0x91059,_0x19ad94[_0x43d962(0x219)]),_0x4a3f68=Math['min'](_0x4a3f68,_0x19ad94[_0x43d962(0x229)]),_0x84a42e=Math['max'](_0x84a42e,_0x19ad94[_0x43d962(0x229)])),_0x4b9c68['push'](_0x19ad94);});var _0x53f98c=this[_0x533353(0x23f)]['radius']*1.5,_0x49861f={'xmin':_0x5d8623,'xmax':_0x91059,'ymin':_0x4a3f68,'ymax':_0x84a42e},_0x2ecb06=getMercatorBounds(_0x49861f),_0x3724a8=Math[_0x533353(0x235)](_0x2ecb06[_0x533353(0x27d)]-_0x2ecb06[_0x533353(0x278)]),_0x361bed=Math['abs'](_0x2ecb06[_0x533353(0x21b)]-_0x2ecb06[_0x533353(0x277)]),_0x5937e6=Math[_0x533353(0x210)](_0x3724a8,_0x361bed),_0x365d28=Math[_0x533353(0x23c)](_0x3724a8,_0x361bed);this[_0x533353(0x24e)]=_0x5937e6;var _0x2d9082=0x1;if(_0x5937e6>this[_0x533353(0x234)][_0x533353(0x239)])_0x2d9082=_0x5937e6/this[_0x533353(0x234)][_0x533353(0x239)],_0x365d28/_0x2d9082this[_0x533353(0x234)][_0x533353(0x239)]&&(_0x2d9082=_0x5937e6/this[_0x533353(0x234)][_0x533353(0x239)]));var _0x1e3b4e=_0x3724a8/_0x2d9082+_0x53f98c*0x2,_0x4b58f2=_0x361bed/_0x2d9082+_0x53f98c*0x2,_0x5abbe3=_0x53f98c*_0x2d9082;_0x2ecb06[_0x533353(0x278)]-=_0x5abbe3,_0x2ecb06[_0x533353(0x277)]-=_0x5abbe3,_0x2ecb06[_0x533353(0x27d)]+=_0x5abbe3,_0x2ecb06[_0x533353(0x21b)]+=_0x5abbe3,_0x49861f=geLatLngBounds(_0x2ecb06),this['_rectangle']=Cesium[_0x533353(0x275)][_0x533353(0x242)](_0x49861f['xmin'],_0x49861f[_0x533353(0x277)],_0x49861f[_0x533353(0x27d)],_0x49861f['ymax']);var _0x18096b=(_0x15b34a=_0x4b9c68[0x0]['value'])!==null&&_0x15b34a!==void 0x0?_0x15b34a:0x1,_0xea2cb6=(_0x5263a2=_0x4b9c68[0x0][_0x533353(0x245)])!==null&&_0x5263a2!==void 0x0?_0x5263a2:0x0,_0x363dd2=[];_0x4b9c68[_0x533353(0x227)](function(_0x490ac7){var _0x128c83=_0x533353,_0x285063=mars3d__namespace[_0x128c83(0x26a)][_0x128c83(0x213)]([_0x490ac7[_0x128c83(0x219)],_0x490ac7[_0x128c83(0x229)]]),_0x196fc3=_0x490ac7[_0x128c83(0x245)]||0x1,_0x54a38c=Math['round']((_0x285063[0x0]-_0x2ecb06[_0x128c83(0x278)])/_0x2d9082),_0x56661d=Math['round']((_0x2ecb06[_0x128c83(0x21b)]-_0x285063[0x1])/_0x2d9082);_0x18096b=Math[_0x128c83(0x210)](_0x18096b,_0x196fc3),_0xea2cb6=Math[_0x128c83(0x23c)](_0xea2cb6,_0x196fc3),_0x363dd2[_0x128c83(0x1fe)]({'x':_0x54a38c,'y':_0x56661d,'value':_0x196fc3});});var _0x50c844={'min':_0xea2cb6,'max':_0x18096b,'data':_0x363dd2};this[_0x533353(0x1f9)]=_0x50c844;(!this['_last_mBounds']||_0x2ecb06[_0x533353(0x278)]!==this[_0x533353(0x215)][_0x533353(0x278)]||_0x2ecb06[_0x533353(0x277)]!==this[_0x533353(0x215)]['ymin']||_0x2ecb06['xmax']!==this[_0x533353(0x215)][_0x533353(0x27d)]||_0x2ecb06['ymax']!==this[_0x533353(0x215)][_0x533353(0x21b)])&&(this[_0x533353(0x215)]=_0x2ecb06,!this[_0x533353(0x23f)][_0x533353(0x266)]&&(this[_0x533353(0x23f)][_0x533353(0x266)]=mars3d__namespace[_0x533353(0x244)][_0x533353(0x258)](_0x533353(0x221),_0x533353(0x22e),this[_0x533353(0x208)]['container'])),this[_0x533353(0x23f)][_0x533353(0x266)]['style'][_0x533353(0x1f3)]='\x0a\x20\x20\x20\x20\x20\x20\x20\x20margin:0;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:'['concat'](_0x1e3b4e,_0x533353(0x22d))['concat'](_0x4b58f2,'px;'),!this[_0x533353(0x255)]?this[_0x533353(0x255)]=h337__namespace[_0x533353(0x258)](this[_0x533353(0x23f)]):this['_heat']['configure'](this[_0x533353(0x23f)]));this['_heat'][_0x533353(0x24d)](_0x50c844);var _0x49c43a=this[_0x533353(0x255)]['_renderer']['canvas'][_0x533353(0x237)]('image/png');return this[_0x533353(0x23f)][_0x533353(0x266)]&&(this[_0x533353(0x208)][_0x533353(0x266)]['removeChild'](this[_0x533353(0x23f)][_0x533353(0x266)]),delete this[_0x533353(0x23f)][_0x533353(0x266)]),_0x49c43a;}},{'key':'_createGraphic','value':function _0x4e5948(_0x2f6b4a){var _0x19a47d=_0x56f78d;this['clear'](),this[_0x19a47d(0x26b)]=new mars3d__namespace[(_0x19a47d(0x262))][(_0x19a47d(0x1f1))](_objectSpread2(_objectSpread2({},this['options']),{},{'rectangle':this[_0x19a47d(0x283)],'appearance':new Cesium[(_0x19a47d(0x1f0))]({'material':new Cesium[(_0x19a47d(0x226))]({'fabric':{'uniforms':{'image':_0x2f6b4a},'source':HeatMaterial},'translucent':!![]}),'flat':!![]})})),this[_0x19a47d(0x203)][_0x19a47d(0x20c)](this[_0x19a47d(0x26b)]);}},{'key':_0x56f78d(0x274),'value':function _0x543a6e(_0x22c779){var _0x184715=_0x56f78d;this['clear'](),this[_0x184715(0x255)]['configure'](_objectSpread2(_objectSpread2({},this['heatStyle']),{},{'radius':this[_0x184715(0x23f)][_0x184715(0x250)]*this[_0x184715(0x22b)]['arcRadiusScale'],'blur':this['heatStyle']['blur']*this[_0x184715(0x22b)][_0x184715(0x1ef)],'gradient':this[_0x184715(0x23f)][_0x184715(0x260)]||{0.25:_0x184715(0x20e),0.55:_0x184715(0x243),0.85:_0x184715(0x24a),0x1:'rgb(255,255,255)'}}));var _0x3ca84a=this[_0x184715(0x255)]['_renderer'][_0x184715(0x25c)][_0x184715(0x237)](_0x184715(0x247)),_0x69e432=Cesium['RenderState'][_0x184715(0x1f7)]({'cull':{'enabled':!![]},'depthTest':{'enabled':!![]},'stencilTest':{'enabled':!![],'frontFunction':Cesium[_0x184715(0x22f)][_0x184715(0x23d)],'frontOperation':{'fail':Cesium[_0x184715(0x230)][_0x184715(0x246)],'zFail':Cesium[_0x184715(0x230)][_0x184715(0x246)],'zPass':Cesium[_0x184715(0x230)][_0x184715(0x1f8)]},'backFunction':Cesium[_0x184715(0x22f)][_0x184715(0x23d)],'backOperation':{'fail':Cesium[_0x184715(0x230)]['KEEP'],'zFail':Cesium[_0x184715(0x230)][_0x184715(0x246)],'zPass':Cesium[_0x184715(0x230)][_0x184715(0x1f8)]},'reference':0x2,'mask':0x2},'blending':Cesium[_0x184715(0x26c)][_0x184715(0x281)]}),_0x104ec5=Math[_0x184715(0x231)](Cesium['defaultValue'](this[_0x184715(0x22b)][_0x184715(0x259)],this[_0x184715(0x24e)]*0.02))+0.1,_0x122b48=Cesium['defaultValue'](this[_0x184715(0x22b)][_0x184715(0x212)],0x64),_0x574dfe=Math['max'](this[_0x184715(0x283)][_0x184715(0x22a)],this['_rectangle'][_0x184715(0x233)]);this[_0x184715(0x22b)]['granularity']=_0x574dfe/=_0x122b48,this[_0x184715(0x26b)]=new mars3d__namespace['graphic']['RectanglePrimitive'](_objectSpread2(_objectSpread2({},this[_0x184715(0x234)]),{},{'rectangle':this['_rectangle'],'appearance':new Cesium[(_0x184715(0x1f0))]({'aboveGround':!![],'renderState':_0x69e432,'material':new Cesium['Material']({'fabric':{'uniforms':{'image':_0x22c779,'repeat':new Cesium[(_0x184715(0x21c))](0x1,0x1),'color':new Cesium[(_0x184715(0x261))](0x1,0x1,0x1,0.01),'bumpMap':_0x3ca84a},'source':HeatMaterial},'translucent':!![]}),'vertexShaderSource':'attribute\x20vec3\x20position3DHigh;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20attribute\x20vec3\x20position3DLow;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20attribute\x20vec2\x20st;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20attribute\x20float\x20batchId;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uniform\x20sampler2D\x20bumpMap_3;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20varying\x20vec3\x20v_positionMC;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20varying\x20vec3\x20v_positionEC;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20varying\x20vec2\x20v_st;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20void\x20main()\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vec4\x20p\x20=\x20czm_computePosition();\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20v_positionMC\x20=\x20position3DHigh\x20+\x20position3DLow;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20v_positionEC\x20=\x20(czm_modelViewRelativeToEye\x20*\x20p).xyz;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20v_st\x20=\x20st;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vec4\x20color\x20=\x20texture2D(bumpMap_3,\x20v_st);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20float\x20centerBump\x20=\x20distance(vec3(0.0),color.rgb);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vec3\x20upDir\x20=\x20normalize(v_positionMC.xyz);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vec3\x20disPos\x20=\x20upDir\x20*\x20centerBump\x20*\x20'[_0x184715(0x276)](_0x104ec5,_0x184715(0x23e)),'flat':!![]})})),this[_0x184715(0x203)][_0x184715(0x20c)](this[_0x184715(0x26b)]);}},{'key':_0x56f78d(0x238),'value':function _0x8a3f40(_0x2c81d4){var _0x435675=_0x56f78d;return _0x2c81d4!==null&&_0x2c81d4!==void 0x0&&_0x2c81d4[_0x435675(0x269)]&&this['_rectangle']?mars3d__namespace[_0x435675(0x282)][_0x435675(0x252)](this[_0x435675(0x283)]):this[_0x435675(0x283)];}}]),_0x4122d0;}(BaseLayer);mars3d__namespace[_0x28b05f(0x284)]['HeatLayer']=HeatLayer,mars3d__namespace[_0x28b05f(0x267)][_0x28b05f(0x280)](_0x28b05f(0x204),HeatLayer);function getMercatorBounds(_0x16d6f1){var _0x3fd0cc=_0x28b05f,_0x59a817=mars3d__namespace['PointTrans'][_0x3fd0cc(0x213)]([_0x16d6f1[_0x3fd0cc(0x278)],_0x16d6f1[_0x3fd0cc(0x277)]]),_0x2dc5c0=mars3d__namespace[_0x3fd0cc(0x26a)][_0x3fd0cc(0x213)]([_0x16d6f1[_0x3fd0cc(0x27d)],_0x16d6f1[_0x3fd0cc(0x21b)]]);return{'xmin':_0x59a817[0x0],'ymin':_0x59a817[0x1],'xmax':_0x2dc5c0[0x0],'ymax':_0x2dc5c0[0x1]};}function geLatLngBounds(_0x2fce28){var _0x512c9e=_0x28b05f,_0x11bb62=mars3d__namespace['PointTrans']['mercator2lonlat']([_0x2fce28[_0x512c9e(0x278)],_0x2fce28['ymin']]),_0x4cdfe8=mars3d__namespace['PointTrans']['mercator2lonlat']([_0x2fce28['xmax'],_0x2fce28['ymax']]);return{'xmin':_0x11bb62[0x0],'ymin':_0x11bb62[0x1],'xmax':_0x4cdfe8[0x0],'ymax':_0x4cdfe8[0x1]};}exports[_0x28b05f(0x207)]=HeatLayer,Object[_0x28b05f(0x270)](exports,_0x28b05f(0x21a),{'value':!![]}); }));