/* Highcharts JS v7.0.3 (2019-02-06) Indicator series type for Highstock (c) 2010-2019 Kamil Kulig License: www.highcharts.com/license */ (function(c){"object"===typeof module&&module.exports?(c["default"]=c,module.exports=c):"function"===typeof define&&define.amd?define(function(){return c}):c("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(c){(function(c){var h=c.seriesType,p=c.isArray;h("linearRegression","sma",{params:{xAxisUnit:void 0},tooltip:{valueDecimals:4}},{nameBase:"Linear Regression Indicator",getRegressionLineParameters:function(a,b){var d=this.options.params.index,e=function(a,b){return p(a)?a[b]:a},n=a.reduce(function(a, b){return b+a},0),f=b.reduce(function(a,b){return e(b,d)+a},0),n=n/a.length,f=f/b.length,g,c,k=0,l=0,m;for(m=0;m