!/**
 * Highstock JS v12.6.0 (2026-04-13)
 * @module highcharts/modules/price-indicator
 * @requires highcharts
 * @requires highcharts/modules/stock
 *
 * Advanced Highcharts Stock tools
 *
 * (c) 2010-2026 Highsoft AS
 * Author: Torstein Hønsi
 *
 * A commercial license may be required depending on use.
 * See www.highcharts.com/license
 */function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(e._Highcharts):"function"==typeof define&&define.amd?define("highcharts/modules/price-indicator",["highcharts/highcharts"],function(e){return t(e)}):"object"==typeof exports?exports["highcharts/modules/price-indicator"]=t(e._Highcharts):e.Highcharts=t(e.Highcharts)}("u"<typeof window?this:window,e=>(()=>{"use strict";var t={944:t=>{t.exports=e}},s={};function r(e){var i=s[e];if(void 0!==i)return i.exports;var o=s[e]={exports:{}};return t[e](o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var s in t)r.o(t,s)&&!r.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var i={};r.d(i,{default:()=>y});var o=r(944),c=r.n(o);let{doc:l,win:n}=c();function a(e,t,s,r={}){let i="function"==typeof e&&e.prototype||e;Object.hasOwnProperty.call(i,"hcEvents")||(i.hcEvents={});let o=i.hcEvents;c().Point&&e instanceof c().Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);let l=e.addEventListener;l&&l.call(e,t,s,!!c().supportsPassiveEvents&&{passive:void 0===r.passive?-1!==t.indexOf("touch"):r.passive,capture:!1}),o[t]||(o[t]=[]);let n={fn:s,order:"number"==typeof r.order?r.order:1/0};return o[t].push(n),o[t].sort((e,t)=>e.order-t.order),function(){!function(e,t,s){function r(t,s){let r=e.removeEventListener;r&&r.call(e,t,s,!1)}function i(s){let i,o;e.nodeName&&(t?(i={})[t]=!0:i=s,f(i,function(e,t){if(s[t])for(o=s[t].length;o--;)r(t,s[t][o].fn)}))}let o="function"==typeof e&&e.prototype||e;if(Object.hasOwnProperty.call(o,"hcEvents")){let e=o.hcEvents;if(t){let o=e[t]||[];s?(e[t]=o.filter(function(e){return s!==e.fn}),r(t,s)):(i(e),e[t]=[])}else i(e),delete o.hcEvents}}(e,t,s)}}function h(e){return p(e)&&"number"==typeof e.nodeType}function p(e,t){let s;return!!e&&"object"==typeof e&&(!t||"[object Array]"!==(s=Object.prototype.toString.call(e))&&"[object Array Iterator]"!==s)}function f(e,t,s){for(let r in e)Object.hasOwnProperty.call(e,r)&&t.call(s||e[r],e[r],r,e)}Array.prototype.find;let{composed:u}=c();function d(){let e=this;["lastPrice","lastPriceLabel","lastVisiblePrice","lastVisiblePriceLabel"].forEach(t=>{e[t]?.hide()})}function b(){let e=this.options,t=e.lastVisiblePrice,s=e.lastPrice;if((t||s)&&"highcharts-navigator-series"!==e.id&&this.visible){let r=this.xAxis,i=this.yAxis,o=i.crosshair,c=i.cross,l=i.crossLabel,n=this.points,a=n.length,u=this.dataTable.rowCount,d=this.getColumn("x")[u-1],b=this.getColumn("y")[u-1]??this.getColumn("close")[u-1];if(s&&s.enabled&&(i.crosshair=i.options.crosshair=e.lastPrice,!this.chart.styledMode&&i.crosshair&&i.options.crosshair&&e.lastPrice&&(i.crosshair.color=i.options.crosshair.color=e.lastPrice.color||this.color),i.cross=this.lastPrice,this.lastPriceLabel&&this.lastPriceLabel.destroy(),delete i.crossLabel,i.drawCrosshair(null,{x:d,y:b,plotX:r.toPixels(d,!0),plotY:i.toPixels(b,!0)}),this.yAxis.cross&&(this.lastPrice=this.yAxis.cross,this.lastPrice.addClass("highcharts-color-"+this.colorIndex),this.lastPrice.y=b),this.lastPriceLabel=i.crossLabel),t&&t.enabled&&a>0){i.crosshair=i.options.crosshair=function(e,...t){let s,r=[e,...t],i={},o=function(e,t){return"object"!=typeof e&&(e={}),f(t,function(s,r){if("__proto__"!==r&&"constructor"!==r){let i;!p(s,!0)||(i=s?.constructor,p(s,!0)&&!h(s)&&i?.name&&"Object"!==i.name)||h(s)?e[r]=t[r]:e[r]=o(e[r]||{},s)}}),e};!0===e&&(i=r[1],r=Array.prototype.slice.call(r,2));let c=r.length;for(s=0;s<c;s++)i=o(i,r[s]);return i}({color:"transparent"},e.lastVisiblePrice),i.cross=this.lastVisiblePrice;let t=n[a-1].isInside?n[a-1]:n[a-2];this.lastVisiblePriceLabel&&this.lastVisiblePriceLabel.destroy(),delete i.crossLabel,i.drawCrosshair(null,t),i.cross&&(this.lastVisiblePrice=i.cross,t&&"number"==typeof t.y&&(this.lastVisiblePrice.y=t.y)),this.lastVisiblePriceLabel=i.crossLabel}i.crosshair=i.options.crosshair=o,i.cross=c,i.crossLabel=l}}({compose:function(e){var t;t="PriceIndication",0>u.indexOf(t)&&u.push(t)&&(a(e,"afterRender",b),a(e,"hide",d))}}).compose(c().Series);let y=c();return i.default})());