Hacked By AnonymousFox
!/**
* Highstock JS v12.1.2 (2025-01-09)
* @module highcharts/modules/hollowcandlestick
* @requires highcharts
* @requires highcharts/modules/stock
*
* Hollow Candlestick series type for Highcharts Stock
*
* (c) 2010-2024 Karol Kolodziej
*
* License: www.highcharts.com/license
*/function(t,o){"object"==typeof exports&&"object"==typeof module?module.exports=o(require("highcharts"),require("highcharts").SeriesRegistry,require("highcharts").Axis):"function"==typeof define&&define.amd?define("highcharts/modules/hollowcandlestick",[["highcharts/highcharts"],["highcharts/highcharts","SeriesRegistry"],["highcharts/highcharts","Axis"]],o):"object"==typeof exports?exports["highcharts/modules/hollowcandlestick"]=o(require("highcharts"),require("highcharts").SeriesRegistry,require("highcharts").Axis):t.Highcharts=o(t.Highcharts,t.Highcharts.SeriesRegistry,t.Highcharts.Axis)}(this,function(t,o,e){return function(){"use strict";var r,i,n={532:function(t){t.exports=e},512:function(t){t.exports=o},944:function(o){o.exports=t}},s={};function l(t){var o=s[t];if(void 0!==o)return o.exports;var e=s[t]={exports:{}};return n[t](e,e.exports,l),e.exports}l.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return l.d(o,{a:o}),o},l.d=function(t,o){for(var e in o)l.o(o,e)&&!l.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:o[e]})},l.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)};var a={};l.d(a,{default:function(){return x}});var c=l(944),h=l.n(c),u=l(512),p=l.n(u),f=(r=function(t,o){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)o.hasOwnProperty(e)&&(t[e]=o[e])})(t,o)},function(t,o){function e(){this.constructor=t}r(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),d=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return f(o,t),o.prototype.getClassName=function(){var o=t.prototype.getClassName.apply(this),e=this.index,r=this.series.hollowCandlestickData[e];return r.isBullish||"up"!==r.trendDirection||(o+="-bearish-up"),o},o}(p().seriesTypes.candlestick.prototype.pointClass),y=l(532),g=l.n(y),v=(i=function(t,o){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])})(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 e(){this.constructor=t}i(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),w=p().seriesTypes.candlestick,C=h().addEvent,b=h().merge,k=function(t){function o(){var o=null!==t&&t.apply(this,arguments)||this;return o.hollowCandlestickData=[],o}return v(o,t),o.prototype.getPriceMovement=function(){var t,o=this.allGroupedTable||this.dataTable,e=o.rowCount,r=this.hollowCandlestickData;r.length=0;for(var i=0;i<e;i++){var n=o.getRow(i,this.pointArrayMap);r.push(this.isBullish(n,i?t:n)),t=n}},o.prototype.getLineColor=function(t){return"up"===t?this.options.upColor||"#06b535":this.options.color||"#f21313"},o.prototype.getPointFill=function(t){return t.isBullish?"transparent":"up"===t.trendDirection?this.options.upColor||"#06b535":this.options.color||"#f21313"},o.prototype.init=function(){t.prototype.init.apply(this,arguments),this.hollowCandlestickData=[]},o.prototype.isBullish=function(t,o){return{isBullish:(t[0]||0)<=(t[3]||0),trendDirection:(t[3]||0)<((null==o?void 0:o[3])||0)?"down":"up"}},o.prototype.pointAttribs=function(o,e){var r,i=t.prototype.pointAttribs.call(this,o,e),n=o.index,s=this.hollowCandlestickData[n];return i.fill=this.getPointFill(s)||i.fill,i.stroke=this.getLineColor(s.trendDirection)||i.stroke,e&&(r=this.options.states[e],i.fill=r.color||i.fill,i.stroke=r.lineColor||i.stroke,i["stroke-width"]=r.lineWidth||i["stroke-width"]),i},o.defaultOptions=b(w.defaultOptions,{color:"#f21313",dataGrouping:{groupAll:!0,groupPixelWidth:10},lineColor:"#f21313",upColor:"#06b535",upLineColor:"#06b535"}),o}(w);C(k,"updatedData",function(){this.hollowCandlestickData.length&&(this.hollowCandlestickData.length=0)}),C(g(),"postProcessData",function(){this.series.forEach(function(t){t.is("hollowcandlestick")&&t.getPriceMovement()})}),k.prototype.pointClass=d,p().registerSeriesType("hollowcandlestick",k);var x=h();return a.default}()});
Hacked By AnonymousFox1.0, Coded By AnonymousFox