/* Highstock JS v9.1.1 (2021-06-03) Indicator series type for Highcharts Stock (c) 2010-2021 Wojciech Chmiel License: www.highcharts.com/license */ 'use strict';(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/indicators/ao",["highcharts","highcharts/modules/stock"],function(b){a(b);a.Highcharts=b;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function b(a,b,e,k){a.hasOwnProperty(b)||(a[b]=k.apply(null,e))}a=a?a._modules:{};b(a,"Stock/Indicators/AO/AOIndicator.js",[a["Core/Globals.js"],a["Core/Series/SeriesRegistry.js"], a["Core/Utilities.js"],a["Core/Color/Palette.js"]],function(a,b,e,k){var r=this&&this.__extends||function(){var a=function(b,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,a){d.__proto__=a}||function(d,a){for(var c in a)a.hasOwnProperty(c)&&(d[c]=a[c])};return a(b,d)};return function(b,d){function p(){this.constructor=b}a(b,d);b.prototype=null===d?Object.create(d):(p.prototype=d.prototype,new p)}}();a=a.noop;var h=b.seriesTypes,q=h.sma;h=h.column;var t=e.extend,u=e.merge,l= e.correctFloat,v=e.isArray;e=function(a){function b(){var d=null!==a&&a.apply(this,arguments)||this;d.data=void 0;d.options=void 0;d.points=void 0;return d}r(b,a);b.prototype.drawGraph=function(){var a=this.options,b=this.points,e=a.greaterBarColor;a=a.lowerBarColor;var c=b[0];if(!this.userOptions.color&&c)for(c.color=e,c=1;cb[c-1].y?e:b[c].y=b.length)&&v(a[0])&&4===a[0].length){for(f=0;33>f;f++){var g=(a[f][1]+a[f][2])/2;29<=f&&(m=l(m+g));n=l(n+g)}for(f=33;f