"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/slicedToArray"),t=require("@babel/runtime/helpers/typeof"),r=require("highcharts"),u=require("highcharts/highcharts-more"),a=require("highcharts-multicolor-series"),i=require("highcharts/modules/solid-gauge"),l=require("highcharts/modules/heatmap"),f=require("highcharts/modules/boost"),o=require("highcharts/modules/exporting"),n=require("highcharts/modules/xrange"),h=require("highcharts/modules/dumbbell"),s=require("highcharts/modules/pattern-fill"),d=require("./highcharts-contour.js"),c=require("dompurify");function g(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function p(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var u=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,u.get?u:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var b=g(e),m=g(t),q=g(r),y=g(u),j=g(a),v=g(i),O=g(l),w=g(f),x=g(o),A=g(n),_=g(h),z=g(s),E=p(c),P=function e(t){return"string"==typeof t?E.sanitize(t):("object"===m.default(t)&&null!==t&&Object.entries(t).forEach((function(r){var u=b.default(r,2),a=u[0],i=u[1];"string"==typeof i?t[a]=E.sanitize(t[a]):Array.isArray(i)?i.forEach((function(r,u){t[a][u]=e(r)})):"object"===m.default(i)&&(t[a]=e(i))})),t)};exports.initHighcharts=function(){window.Highcharts=q.default,j.default(q.default),y.default(q.default),v.default(q.default),O.default(q.default),w.default(q.default),x.default(q.default),A.default(q.default),_.default(q.default),z.default(q.default),d(q.default);var e=q.default.chart;q.default.chart=function(t){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=arguments.length,a=new Array(u>2?u-2:0),i=2;i<u;i++)a[i-2]=arguments[i];return e.apply(void 0,[t,P(r)].concat(a))},q.default.setOptions({plotOptions:{series:{states:{inactive:{enabled:!1}}}}})};
