!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("openlayers"),require("echarts")):"function"==typeof define&&define.amd?define(["openlayers","echarts"],e):(t=t||self).ol3Echarts=e(t.ol,t.echarts)}(this,function(t,r){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t,r=r&&r.hasOwnProperty("default")?r.default:r;var n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function s(t){var e=typeof t;return null!==t&&("object"==e||"function"==e)}function o(i,o){for(var t=arguments,r=[],e=2;e>e/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,t)}()}var h=function(e,n){return Object.keys(n).forEach(function(t){s(n[t])&&s(e[t])?h(e[t],n[t]):e[t]=n[t]}),e};function p(t,e){t.forEach(function(t){e[t]&&(e[t]=e[t].bind(e))})}function c(t){return t&&t.parentNode?t.parentNode.removeChild(t):null}function u(t,e){var n=new MouseEvent(t,{bubbles:!0,cancelable:!0,button:e.pointerEvent.button,buttons:e.pointerEvent.buttons,clientX:e.pointerEvent.clientX,clientY:e.pointerEvent.clientY,zrX:e.pointerEvent.offsetX,zrY:e.pointerEvent.offsetY,movementX:e.pointerEvent.movementX,movementY:e.pointerEvent.movementY,relatedTarget:e.pointerEvent.relatedTarget,screenX:e.pointerEvent.screenX,screenY:e.pointerEvent.screenY,view:window});return n.zrX=e.pointerEvent.offsetX,n.zrY=e.pointerEvent.offsetY,n.event=n}function d(t,e,n){for(var i=[],o=[e[0],e[1]],r=o[0],s=o[1],a=0;a>1^-(1&h),p=p>>1^-(1&p),r=h+=r,s=p+=s,i.push([h/n,p/n])}return i}function e(t){var e=function(t){if(function(t){return!t.UTF8Encoding}(t))return t;var e=t.UTF8Scale;null==e&&(e=1024);for(var n=t.features,i=0;i