/** * Highstock JS v11.2.0 (2023-10-30) * * Indicator series type for Highcharts Stock * * (c) 2010-2021 Paweł Fus * * License: www.highcharts.com/license */!function(t){"object"==typeof module&&module.exports?(t.default=t,module.exports=t):"function"==typeof define&&define.amd?define("highcharts/indicators/pivot-points",["highcharts","highcharts/modules/stock"],function(o){return t(o),t.Highcharts=o,t}):t("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){"use strict";var o=t?t._modules:{};function n(t,o,n,e){t.hasOwnProperty(o)||(t[o]=e.apply(null,n),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:o,module:t[o]}})))}n(o,"Stock/Indicators/PivotPoints/PivotPointsPoint.js",[o["Core/Series/SeriesRegistry.js"]],function(t){var o,n=this&&this.__extends||(o=function(t,n){return(o=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n])})(t,n)},function(t,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function e(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)});function e(o,n){var e,i=o.series.pointArrayMap,r=i.length;for(t.seriesTypes.sma.prototype.pointClass.prototype[n].call(o);r--;)o[e="dataLabel"+i[r]]&&o[e].element&&o[e].destroy(),o[e]=null}return function(t){function o(){var o=null!==t&&t.apply(this,arguments)||this;return o.P=void 0,o.pivotLine=void 0,o.series=void 0,o}return n(o,t),o.prototype.destroyElements=function(){e(this,"destroyElements")},o.prototype.destroy=function(){e(this,"destroyElements")},o}(t.seriesTypes.sma.prototype.pointClass)}),n(o,"Stock/Indicators/PivotPoints/PivotPointsIndicator.js",[o["Stock/Indicators/PivotPoints/PivotPointsPoint.js"],o["Core/Series/SeriesRegistry.js"],o["Core/Utilities.js"]],function(t,o,n){var e,i=this&&this.__extends||(e=function(t,o){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n])})(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw TypeError("Class extends value "+String(o)+" is not a constructor or null");function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}),r=o.seriesTypes.sma,a=n.merge,s=n.extend,p=n.defined,l=n.isArray,c=function(t){function o(){var o=null!==t&&t.apply(this,arguments)||this;return o.data=void 0,o.options=void 0,o.points=void 0,o.endPoint=void 0,o.plotEndPoint=void 0,o}return i(o,t),o.prototype.toYData=function(t){return[t.P]},o.prototype.translate=function(){var o=this;t.prototype.translate.apply(o),o.points.forEach(function(t){o.pointArrayMap.forEach(function(n){p(t[n])&&(t["plot"+n]=o.yAxis.toPixels(t[n],!0))})}),o.plotEndPoint=o.xAxis.toPixels(o.endPoint,!0)},o.prototype.getGraphPath=function(o){for(var n,e,i,r=this,a=[[],[],[],[],[],[],[],[],[]],s=r.pointArrayMap.length,l=r.plotEndPoint,c=[],u=o.length;u--;){for(i=0,e=o[u];i