!/**
 * Highstock JS v12.6.0 (2026-04-13)
 * @module highcharts/indicators/indicators
 * @requires highcharts
 * @requires highcharts/modules/stock
 *
 * Slow Stochastic series type for Highcharts Stock
 *
 * (c) 2010-2026 Highsoft AS
 * Author: Paweł Fus
 *
 * A commercial license may be required depending on use.
 * See www.highcharts.com/license
 */function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(t._Highcharts,t._Highcharts.SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/indicators/slow-stochastic",["highcharts/highcharts"],function(t){return r(t,t.SeriesRegistry)}):"object"==typeof exports?exports["highcharts/indicators/slow-stochastic"]=r(t._Highcharts,t._Highcharts.SeriesRegistry):t.Highcharts=r(t.Highcharts,t.Highcharts.SeriesRegistry)}("u"<typeof window?this:window,function(t,r){return function(){"use strict";var e,o={512:function(t){t.exports=r},944:function(r){r.exports=t}},n={};function a(t){var r=n[t];if(void 0!==r)return r.exports;var e=n[t]={exports:{}};return o[t](e,e.exports,a),e.exports}a.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(r,{a:r}),r},a.d=function(t,r){for(var e in r)a.o(r,e)&&!a.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:r[e]})},a.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)};var i={};a.d(i,{default:function(){return _}});var c=a(944),s=a.n(c),u=a(512),f=a.n(u),p=function(t,r,e){if(e||2==arguments.length)for(var o,n=0,a=r.length;n<a;n++)!o&&n in r||(o||(o=Array.prototype.slice.call(r,0,n)),o[n]=r[n]);return t.concat(o||Array.prototype.slice.call(r))};function l(t){return y(t)&&"number"==typeof t.nodeType}function y(t,r){var e;return!!t&&"object"==typeof t&&(!r||"[object Array]"!==(e=Object.prototype.toString.call(t))&&"[object Array Iterator]"!==e)}s().doc,s().win,Array.prototype.find;var h=(e=function(t,r){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)r.hasOwnProperty(e)&&(t[e]=r[e])})(t,r)},function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}),d=f().seriesTypes,g=d.sma,v=d.stochastic,x=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return h(r,t),r.prototype.getValues=function(r,e){var o=e.periods,n=t.prototype.getValues.call(this,r,e),a={values:[],xData:[],yData:[]};if(n){a.xData=n.xData.slice(o[1]-1);var i=n.yData.slice(o[1]-1),c=g.prototype.getValues.call(this,{xData:a.xData,yData:i},{index:1,period:o[2]});if(c){for(var s=0,u=a.xData.length;s<u;s++)a.yData[s]=[i[s][1],c.yData[s-o[2]+1]||null],a.values[s]=[a.xData[s],i[s][1],c.yData[s-o[2]+1]||null];return a}}},r.defaultOptions=function(t){for(var r=[],e=1;e<arguments.length;e++)r[e-1]=arguments[e];var o,n=p([t],r,!0),a={},i=function(t,r){return"object"!=typeof t&&(t={}),function(t,r,e){for(var o in t)Object.hasOwnProperty.call(t,o)&&r.call((0,t[o]),t[o],o,t)}(r,function(e,o){if("__proto__"!==o&&"constructor"!==o){var n;!y(e,!0)||(n=null==e?void 0:e.constructor,y(e,!0)&&!l(e)&&(null==n?void 0:n.name)&&"Object"!==n.name)||l(e)?t[o]=r[o]:t[o]=i(t[o]||{},e)}}),t};!0===t&&(a=n[1],n=Array.prototype.slice.call(n,2));var c=n.length;for(o=0;o<c;o++)a=i(a,n[o]);return a}(v.defaultOptions,{params:{periods:[14,3,3]}}),r}(v);!function(t,r){var e;for(e in t||(t={}),r)t[e]=r[e]}(x.prototype,{nameBase:"Slow Stochastic"}),f().registerSeriesType("slowstochastic",x);var _=s();return i.default}()});