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3doB,CAbvB;","sources":["stochastic.src.js"],"names":["factory","module","exports","define","amd","Highcharts","undefined","_registerModule","obj","path","args","fn","hasOwnProperty","apply","_modules","H","U","defined","error","merge","SMA","seriesTypes","sma","multipleLinesMixin","pointArrayMap","pointValKey","linesApiNames","getTranslatedLinesNames","excludedValue","translatedLines","forEach","propertyName","push","charAt","toUpperCase","slice","toYData","point","pointColl","translate","indicator","LinesNames","value","prototype","arguments","points","i","yAxis","toPixels","drawGraph","mainLinePoints","pointsLength","length","mainLineOptions","options","mainLinePath","graph","gappedExtend","gapSize","secondaryLines","secondaryLinesNames","plotLine","index","x","plotX","plotY","isNull","lineName","styles","call","reduceArrayMixin","minInArray","arr","reduce","min","target","Math","Number","MAX_VALUE","maxInArray","max","getArrayExtremes","minIndex","maxIndex","prev","MultipleLinesMixin","ReduceArrayMixin","SeriesRegistry","__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","__","constructor","create","SMAIndicator","extend","isArray","StochasticIndicator","_super","_this","data","init","StochasticIndicator.prototype.init","smoothedLine","lineColor","color","getValues","StochasticIndicator.prototype.getValues","series","params","periodK","periods","periodD","xVal","xData","yValLen","yVal","yData","SO","D","slicedY","extremes","low","high","LL","CL","close","HL","K","period","values","defaultOptions","marker","enabled","tooltip","pointFormat","lineWidth","dataGrouping","approximation","nameComponents","nameBase","parallelArrays","registerSeriesType"]}