highcharts
Advanced tools
Comparing version 9.0.0 to 9.0.1
{ | ||
"name": "highcharts", | ||
"version": "9.0.0", | ||
"version": "9.0.1", | ||
"main": "highcharts.js", | ||
@@ -5,0 +5,0 @@ "license": "https://www.highcharts.com/license", |
@@ -37,2 +37,3 @@ /* * | ||
import copyDeprecatedOptions from './Options/DeprecatedOptions.js'; | ||
import HTMLUtilities from './Utils/HTMLUtilities.js'; | ||
import './A11yI18n.js'; | ||
@@ -49,2 +50,3 @@ import './FocusBorder.js'; | ||
H.A11yChartUtilities = ChartUtilities; | ||
H.A11yHTMLUtilities = HTMLUtilities; | ||
H.KeyboardNavigationHandler = KeyboardNavigationHandler; | ||
@@ -51,0 +53,0 @@ H.AccessibilityComponent = AccessibilityComponent; |
@@ -76,2 +76,3 @@ /* * | ||
annotationText: labelText, | ||
annotation: label, | ||
numPoints: numPoints, | ||
@@ -110,3 +111,3 @@ annotationPoint: pointValueDescriptions[0], | ||
var annotationItems = getAnnotationListItems(chart); | ||
return "<ul>" + annotationItems.join(' ') + "</ul>"; | ||
return "<ul style=\"list-style-type: none\">" + annotationItems.join(' ') + "</ul>"; | ||
} | ||
@@ -113,0 +114,0 @@ /** |
@@ -24,3 +24,3 @@ /* * | ||
import HTMLUtilities from '../Utils/HTMLUtilities.js'; | ||
var addClass = HTMLUtilities.addClass, setElAttrs = HTMLUtilities.setElAttrs, escapeStringForHTML = HTMLUtilities.escapeStringForHTML, stripHTMLTagsFromString = HTMLUtilities.stripHTMLTagsFromString, getElement = HTMLUtilities.getElement, visuallyHideElement = HTMLUtilities.visuallyHideElement; | ||
var addClass = HTMLUtilities.addClass, escapeStringForHTML = HTMLUtilities.escapeStringForHTML, getElement = HTMLUtilities.getElement, getHeadingTagNameForElement = HTMLUtilities.getHeadingTagNameForElement, setElAttrs = HTMLUtilities.setElAttrs, stripHTMLTagsFromString = HTMLUtilities.stripHTMLTagsFromString, visuallyHideElement = HTMLUtilities.visuallyHideElement; | ||
/* eslint-disable no-invalid-this, valid-jsdoc */ | ||
@@ -248,2 +248,3 @@ /** | ||
chart.index, annotationsList = getAnnotationsInfoHTML(chart), annotationsTitleStr = chart.langFormat('accessibility.screenReaderSection.annotations.heading', { chart: chart }), context = { | ||
headingTagName: getHeadingTagNameForElement(chart.renderTo), | ||
chartTitle: getChartTitle(chart), | ||
@@ -250,0 +251,0 @@ typeDescription: this.getTypeDescriptionText(), |
@@ -308,4 +308,6 @@ /* * | ||
series.points.forEach(function (point) { | ||
var _a, _b; | ||
var pointEl = point.graphic && point.graphic.element || | ||
shouldAddDummyPoint(point) && addDummyPointElement(point); | ||
var pointA11yDisabled = ((_b = (_a = point.options) === null || _a === void 0 ? void 0 : _a.accessibility) === null || _b === void 0 ? void 0 : _b.enabled) === false; | ||
if (pointEl) { | ||
@@ -317,3 +319,3 @@ // We always set tabindex, as long as we are setting props. | ||
pointEl.style.outline = '0'; | ||
if (setScreenReaderProps) { | ||
if (setScreenReaderProps && !pointA11yDisabled) { | ||
setPointScreenReaderAttribs(point, pointEl); | ||
@@ -320,0 +322,0 @@ } |
@@ -96,3 +96,5 @@ /* * | ||
function isSkipPoint(point) { | ||
var _a; | ||
var a11yOptions = point.series.chart.options.accessibility; | ||
var pointA11yDisabled = ((_a = point.options.accessibility) === null || _a === void 0 ? void 0 : _a.enabled) === false; | ||
return point.isNull && | ||
@@ -102,2 +104,3 @@ a11yOptions.keyboardNavigation.seriesNavigation.skipNullPoints || | ||
point.isInside === false || | ||
pointA11yDisabled || | ||
isSkipSeries(point.series); | ||
@@ -104,0 +107,0 @@ } |
@@ -46,2 +46,8 @@ /* * | ||
* @since 7.1.0 | ||
*/ /** | ||
* Enable or disable exposing the point to assistive technology | ||
* @name Highcharts.PointAccessibilityOptionsObject#enabled | ||
* @type {boolean|undefined} | ||
* @requires modules/accessibility | ||
* @since 9.0.1 | ||
*/ | ||
@@ -136,3 +142,3 @@ /* * | ||
* Format for the screen reader information region before the chart. | ||
* Supported HTML tags are `<h1-7>`, `<p>`, `<div>`, `<a>`, `<ul>`, | ||
* Supported HTML tags are `<h1-6>`, `<p>`, `<div>`, `<a>`, `<ul>`, | ||
* `<ol>`, `<li>`, and `<button>`. Attributes are not supported, | ||
@@ -144,5 +150,9 @@ * except for id on `<div>`, `<a>`, and `<button>`. Id is required | ||
* | ||
* The headingTagName is an auto-detected heading (h1-h6) that | ||
* corresponds to the heading level below the previous heading in | ||
* the DOM. | ||
* | ||
* @since 8.0.0 | ||
*/ | ||
beforeChartFormat: '<h5>{chartTitle}</h5>' + | ||
beforeChartFormat: '<{headingTagName}>{chartTitle}</{headingTagName}>' + | ||
'<div>{typeDescription}</div>' + | ||
@@ -638,2 +648,11 @@ '<div>{chartSubtitle}</div>' + | ||
/** | ||
* Set to false to disable accessibility functionality for a specific point. | ||
* The point will not be included in keyboard navigation, and will not be | ||
* exposed to assistive technology. | ||
* | ||
* @type {boolean} | ||
* @since 9.0.1 | ||
* @apioption series.line.data.accessibility.enabled | ||
*/ | ||
/** | ||
* Accessibility options for a series. | ||
@@ -640,0 +659,0 @@ * |
@@ -87,2 +87,52 @@ /* * | ||
/** | ||
* Get an appropriate heading level for an element. Corresponds to the | ||
* heading level below the previous heading in the DOM. | ||
* | ||
* Note: Only detects previous headings in the DOM that are siblings, | ||
* ancestors, or previous siblings of ancestors. Headings that are nested below | ||
* siblings of ancestors (cousins et.al) are not picked up. This is because it | ||
* is ambiguous whether or not the nesting is for layout purposes or indicates a | ||
* separate section. | ||
* | ||
* @private | ||
* @param {Highcharts.HTMLDOMElement} [element] | ||
* @return {string} The heading tag name (h1, h2 etc). | ||
* If no nearest heading is found, "p" is returned. | ||
*/ | ||
function getHeadingTagNameForElement(element) { | ||
var getIncreasedHeadingLevel = function (tagName) { | ||
var headingLevel = parseInt(tagName.slice(1), 10); | ||
var newLevel = Math.min(6, headingLevel + 1); | ||
return 'h' + newLevel; | ||
}; | ||
var isHeading = function (tagName) { return /H[1-6]/.test(tagName); }; | ||
var getPreviousSiblingsHeading = function (el) { | ||
var sibling = el; | ||
while (sibling = sibling.previousSibling) { // eslint-disable-line | ||
var tagName = sibling.tagName || ''; | ||
if (isHeading(tagName)) { | ||
return tagName; | ||
} | ||
} | ||
return ''; | ||
}; | ||
var getHeadingRecursive = function (el) { | ||
var prevSiblingsHeading = getPreviousSiblingsHeading(el); | ||
if (prevSiblingsHeading) { | ||
return getIncreasedHeadingLevel(prevSiblingsHeading); | ||
} | ||
// No previous siblings are headings, try parent node | ||
var parent = el.parentElement; | ||
if (!parent) { | ||
return 'p'; | ||
} | ||
var parentTagName = parent.tagName; | ||
if (isHeading(parentTagName)) { | ||
return getIncreasedHeadingLevel(parentTagName); | ||
} | ||
return getHeadingRecursive(parent); | ||
}; | ||
return getHeadingRecursive(element); | ||
} | ||
/** | ||
* Remove an element from the DOM. | ||
@@ -166,2 +216,3 @@ * @private | ||
getFakeMouseEvent: getFakeMouseEvent, | ||
getHeadingTagNameForElement: getHeadingTagNameForElement, | ||
removeElement: removeElement, | ||
@@ -168,0 +219,0 @@ reverseChildNodes: reverseChildNodes, |
@@ -34,2 +34,14 @@ /* * | ||
ScrollbarAxis.compose = function (AxisClass, ScrollbarClass) { | ||
var getExtremes = function (axis) { | ||
var axisMin = pick(axis.options && axis.options.min, axis.min); | ||
var axisMax = pick(axis.options && axis.options.max, axis.max); | ||
return { | ||
axisMin: axisMin, | ||
axisMax: axisMax, | ||
scrollMin: defined(axis.dataMin) ? | ||
Math.min(axisMin, axis.min, axis.dataMin, pick(axis.threshold, Infinity)) : axisMin, | ||
scrollMax: defined(axis.dataMax) ? | ||
Math.max(axisMax, axis.max, axis.dataMax, pick(axis.threshold, -Infinity)) : axisMax | ||
}; | ||
}; | ||
// Wrap axis initialization and create scrollbar if enabled: | ||
@@ -46,5 +58,3 @@ addEvent(AxisClass, 'afterInit', function () { | ||
addEvent(axis.scrollbar, 'changed', function (e) { | ||
var axisMin = pick(axis.options && axis.options.min, axis.min), axisMax = pick(axis.options && axis.options.max, axis.max), unitedMin = defined(axis.dataMin) ? | ||
Math.min(axisMin, axis.min, axis.dataMin) : axisMin, unitedMax = defined(axis.dataMax) ? | ||
Math.max(axisMax, axis.max, axis.dataMax) : axisMax, range = unitedMax - unitedMin, to, from; | ||
var _a = getExtremes(axis), axisMin = _a.axisMin, axisMax = _a.axisMax, unitedMin = _a.scrollMin, unitedMax = _a.scrollMax, range = unitedMax - unitedMin, to, from; | ||
// #12834, scroll when show/hide series, wrong extremes | ||
@@ -83,5 +93,3 @@ if (!defined(axisMin) || !defined(axisMax)) { | ||
addEvent(AxisClass, 'afterRender', function () { | ||
var axis = this, scrollMin = Math.min(pick(axis.options.min, axis.min), axis.min, pick(axis.dataMin, axis.min) // #6930 | ||
), scrollMax = Math.max(pick(axis.options.max, axis.max), axis.max, pick(axis.dataMax, axis.max) // #6930 | ||
), scrollbar = axis.scrollbar, offset = axis.axisTitleMargin + (axis.titleOffset || 0), scrollbarsOffsets = axis.chart.scrollbarsOffsets, axisMargin = axis.options.margin || 0, offsetsIndex, from, to; | ||
var axis = this, _a = getExtremes(axis), scrollMin = _a.scrollMin, scrollMax = _a.scrollMax, scrollbar = axis.scrollbar, offset = axis.axisTitleMargin + (axis.titleOffset || 0), scrollbarsOffsets = axis.chart.scrollbarsOffsets, axisMargin = axis.options.margin || 0, offsetsIndex, from, to; | ||
if (scrollbar) { | ||
@@ -88,0 +96,0 @@ if (axis.horiz) { |
@@ -524,3 +524,3 @@ /* * | ||
// Set comparison mode | ||
this.setCompare(this.options.compare); | ||
this.initCompare(this.options.compare); | ||
}; | ||
@@ -539,2 +539,14 @@ /** | ||
Series.prototype.setCompare = function (compare) { | ||
this.initCompare(compare); | ||
// Survive to export, #5485 | ||
this.userOptions.compare = compare; | ||
}; | ||
/** | ||
* @ignore | ||
* @function Highcharts.Series#initCompare | ||
* | ||
* @param {string} [compare] | ||
* Can be one of `null` (default), `"percent"` or `"value"`. | ||
*/ | ||
Series.prototype.initCompare = function (compare) { | ||
// Set or unset the modifyValue method | ||
@@ -564,4 +576,2 @@ this.modifyValue = (compare === 'value' || compare === 'percent') ? | ||
null; | ||
// Survive to export, #5485 | ||
this.userOptions.compare = compare; | ||
// Mark dirty | ||
@@ -568,0 +578,0 @@ if (this.chart.hasRendered) { |
@@ -52,3 +52,3 @@ /* * | ||
product: 'Highcharts', | ||
version: '9.0.0', | ||
version: '9.0.1', | ||
deg2rad: Math.PI * 2 / 360, | ||
@@ -55,0 +55,0 @@ doc: doc, |
@@ -516,10 +516,11 @@ /* * | ||
}; | ||
var offsetWidth = container.offsetWidth; | ||
var offsetHeight = container.offsetHeight; | ||
// #13342 - tooltip was not visible in Chrome, when chart | ||
// updates height. | ||
if (container.offsetWidth > 2 && // #13342 | ||
container.offsetHeight > 2 && // #13342 | ||
container.getBoundingClientRect) { | ||
var bb = container.getBoundingClientRect(); | ||
this.chartPosition.scaleX = bb.width / container.offsetWidth; | ||
this.chartPosition.scaleY = bb.height / container.offsetHeight; | ||
if (offsetWidth > 2 && // #13342 | ||
offsetHeight > 2 // #13342 | ||
) { | ||
this.chartPosition.scaleX = pos.width / offsetWidth; | ||
this.chartPosition.scaleY = pos.height / offsetHeight; | ||
} | ||
@@ -526,0 +527,0 @@ return this.chartPosition; |
@@ -11,12 +11,12 @@ /* * | ||
import H from '../../Globals.js'; | ||
var SVG_NS = H.SVG_NS; | ||
import U from '../../Utilities.js'; | ||
var attr = U.attr, createElement = U.createElement, discardElement = U.discardElement, error = U.error, objectEach = U.objectEach, splat = U.splat; | ||
var attr = U.attr, createElement = U.createElement, discardElement = U.discardElement, error = U.error, isString = U.isString, objectEach = U.objectEach, splat = U.splat; | ||
/** | ||
* Serialized form of an SVG/HTML definition, including children. Some key | ||
* property names are reserved: tagName, textContent, and children. | ||
* Serialized form of an SVG/HTML definition, including children. | ||
* | ||
* @interface Highcharts.ASTNode | ||
*/ /** | ||
* @name Highcharts.ASTNode#[key:string] | ||
* @type {boolean|number|string|Array<Highcharts.ASTNode>|undefined} | ||
* @name Highcharts.ASTNode#attributes | ||
* @type {Highcharts.SVGAttributes|undefined} | ||
*/ /** | ||
@@ -33,7 +33,18 @@ * @name Highcharts.ASTNode#children | ||
''; // detach doclets above | ||
// In IE8, DOMParser is undefined. IE9 and PhantomJS are only able to parse XML. | ||
var hasValidDOMParser = false; | ||
try { | ||
hasValidDOMParser = Boolean(new DOMParser().parseFromString('', 'text/html')); | ||
} | ||
catch (e) { } // eslint-disable-line no-empty | ||
/** | ||
* Represents an AST | ||
* @private | ||
* The AST class represents an abstract syntax tree of HTML or SVG content. It | ||
* can take HTML as an argument, parse it, optionally transform it to SVG, then | ||
* perform sanitation before inserting it into the DOM. | ||
* | ||
* @class | ||
* @name Highcharts.AST | ||
* @param {string|Highcharts.ASTNode[]} source | ||
* Either an HTML string or an ASTNode list | ||
* to populate the tree | ||
*/ | ||
@@ -47,5 +58,4 @@ var AST = /** @class */ (function () { | ||
/** | ||
* Filter attributes against the allow list. | ||
* Filter an object of SVG or HTML attributes against the allow list. | ||
* | ||
* @private | ||
* @static | ||
@@ -55,5 +65,5 @@ * | ||
* | ||
* @param {SVGAttributes} attributes The attributes to filter | ||
* @param {Highcharts.SVGAttributes} attributes The attributes to filter | ||
* | ||
* @return {SVGAttributes} | ||
* @return {Highcharts.SVGAttributes} | ||
* The filtered attributes | ||
@@ -69,3 +79,3 @@ */ | ||
.indexOf(key) !== -1) { | ||
valid = /^(http|\/)/.test(val); | ||
valid = isString(val) && AST.allowedReferences.some(function (ref) { return val.indexOf(ref) === 0; }); | ||
} | ||
@@ -82,3 +92,4 @@ if (!valid) { | ||
* markup string. The markup is safely parsed by the AST class to avoid | ||
* XSS vulnerabilities. | ||
* XSS vulnerabilities. This function should be used instead of setting | ||
* `innerHTML` in all cases where the content is not fully trusted. | ||
* | ||
@@ -89,3 +100,3 @@ * @static | ||
* | ||
* @param {SVGElement} el The node to set content of | ||
* @param {SVGDOMElement|HTMLDOMElement} el The node to set content of | ||
* @param {string} html The markup string | ||
@@ -103,7 +114,5 @@ */ | ||
* | ||
* @private | ||
* @function Highcharts.AST#addToDOM | ||
* | ||
* @function Highcharts.AST#add | ||
* | ||
* @param {SVGElement} parent | ||
* @param {Highcharts.HTMLDOMElement|Highcharts.SVGDOMElement} parent | ||
* The node where it should be added | ||
@@ -115,3 +124,2 @@ * | ||
AST.prototype.addToDOM = function (parent) { | ||
var NS = parent.namespaceURI || H.SVG_NS; | ||
/** | ||
@@ -136,2 +144,5 @@ * @private | ||
else if (AST.allowedTags.indexOf(tagName) !== -1) { | ||
var NS = tagName === 'svg' ? | ||
SVG_NS : | ||
(subParent.namespaceURI || SVG_NS); | ||
var element = H.doc.createElementNS(NS, tagName); | ||
@@ -174,3 +185,4 @@ var attributes_1 = item.attributes || {}; | ||
/** | ||
* Parse HTML/SVG markup into AST Node objects. | ||
* Parse HTML/SVG markup into AST Node objects. Used internally from the | ||
* constructor. | ||
* | ||
@@ -189,7 +201,6 @@ * @private | ||
var body; | ||
if ( | ||
// IE9 is only able to parse XML | ||
/MSIE 9.0/.test(navigator.userAgent) || | ||
// IE8- | ||
typeof DOMParser === 'undefined') { | ||
if (hasValidDOMParser) { | ||
doc = new DOMParser().parseFromString(markup, 'text/html'); | ||
} | ||
else { | ||
body = createElement('div'); | ||
@@ -199,5 +210,2 @@ body.innerHTML = markup; | ||
} | ||
else { | ||
doc = new DOMParser().parseFromString(markup, 'text/html'); | ||
} | ||
var appendChildNodes = function (node, addTo) { | ||
@@ -244,2 +252,13 @@ var tagName = node.nodeName.toLowerCase(); | ||
}; | ||
/** | ||
* The list of allowed SVG or HTML tags, used for sanitizing potentially | ||
* harmful content from the chart configuration before adding to the DOM. | ||
* | ||
* @example | ||
* // Allow a custom, trusted tag | ||
* Highcharts.AST.allowedTags.push('blink'); // ;) | ||
* | ||
* @name Highcharts.AST.allowedTags | ||
* @static | ||
*/ | ||
AST.allowedTags = [ | ||
@@ -252,4 +271,9 @@ 'a', | ||
'circle', | ||
'clipPath', | ||
'code', | ||
'dd', | ||
'defs', | ||
'div', | ||
'dl', | ||
'dt', | ||
'em', | ||
@@ -291,2 +315,3 @@ 'feComponentTransfer', | ||
'sup', | ||
'svg', | ||
'table', | ||
@@ -303,2 +328,14 @@ 'text', | ||
]; | ||
/** | ||
* The list of allowed SVG or HTML attributes, used for sanitizing | ||
* potentially harmful content from the chart configuration before adding to | ||
* the DOM. | ||
* | ||
* @example | ||
* // Allow a custom, trusted attribute | ||
* Highcharts.AST.allowedAttributes.push('data-value'); | ||
* | ||
* @name Highcharts.AST.allowedTags | ||
* @static | ||
*/ | ||
AST.allowedAttributes = [ | ||
@@ -318,2 +355,3 @@ 'aria-controls', | ||
'class', | ||
'clip-path', | ||
'color', | ||
@@ -356,2 +394,3 @@ 'colspan', | ||
'summary', | ||
'target', | ||
'tabindex', | ||
@@ -372,4 +411,25 @@ 'text-align', | ||
]; | ||
/** | ||
* The list of allowed references for referring attributes like `href` and | ||
* `src`. Attribute values will only be allowed if they start with one of | ||
* these strings. | ||
* | ||
* @example | ||
* // Allow tel: | ||
* Highcharts.AST.allowedReferences.push('tel:'); | ||
* | ||
* @name Highcharts.AST.allowedReferences | ||
* @static | ||
*/ | ||
AST.allowedReferences = [ | ||
'https://', | ||
'http://', | ||
'mailto:', | ||
'/', | ||
'../', | ||
'./', | ||
'#' | ||
]; | ||
return AST; | ||
}()); | ||
export default AST; |
@@ -218,4 +218,6 @@ /* * | ||
e.relatedTarget instanceof Element && | ||
(label.element.contains(e.relatedTarget) || | ||
span.element.contains(e.relatedTarget))) { | ||
( | ||
// #14110 | ||
label.element.compareDocumentPosition(e.relatedTarget) & Node.DOCUMENT_POSITION_CONTAINED_BY || | ||
span.element.compareDocumentPosition(e.relatedTarget) & Node.DOCUMENT_POSITION_CONTAINED_BY)) { | ||
return; | ||
@@ -222,0 +224,0 @@ } |
@@ -587,4 +587,5 @@ /* * | ||
point, min, max) { | ||
var scaledDist = dim === 'y' ? | ||
scaleY(distance) : scaleX(distance), scaleDiff = (innerSize - scaledInnerSize) / 2, roomLeft = scaledInnerSize < point - distance, roomRight = point + distance + scaledInnerSize < outerSize, alignedLeft = point - scaledDist - innerSize + scaleDiff, alignedRight = point + scaledDist - scaleDiff; | ||
var scaledDist = outside ? | ||
(dim === 'y' ? scaleY(distance) : scaleX(distance)) : | ||
distance, scaleDiff = (innerSize - scaledInnerSize) / 2, roomLeft = scaledInnerSize < point - distance, roomRight = point + distance + scaledInnerSize < outerSize, alignedLeft = point - scaledDist - innerSize + scaleDiff, alignedRight = point + scaledDist - scaleDiff; | ||
if (preferFarSide && roomRight) { | ||
@@ -591,0 +592,0 @@ ret[dim] = alignedRight; |
@@ -1575,3 +1575,3 @@ /* * | ||
el.getBoundingClientRect() : | ||
{ top: 0, left: 0 }; | ||
{ top: 0, left: 0, width: 0, height: 0 }; | ||
return { | ||
@@ -1581,3 +1581,5 @@ top: box.top + (win.pageYOffset || docElem.scrollTop) - | ||
left: box.left + (win.pageXOffset || docElem.scrollLeft) - | ||
(docElem.clientLeft || 0) | ||
(docElem.clientLeft || 0), | ||
width: box.width, | ||
height: box.height | ||
}; | ||
@@ -1584,0 +1586,0 @@ } |
@@ -266,3 +266,2 @@ /* * | ||
fireEvent(navigation, 'closePopup'); | ||
navigation.deselectAnnotation(); | ||
} | ||
@@ -718,3 +717,2 @@ if (!selectedButton || !selectedButton.start) { | ||
// Deselect current: | ||
navigation.deselectAnnotation(); | ||
fireEvent(navigation, 'closePopup'); | ||
@@ -979,3 +977,3 @@ } | ||
* @type {string} | ||
* @default https://code.highcharts.com/9.0.0/gfx/stock-icons/ | ||
* @default https://code.highcharts.com/9.0.1/gfx/stock-icons/ | ||
* @since 7.1.3 | ||
@@ -1045,2 +1043,5 @@ * @apioption navigation.iconsURL | ||
}); | ||
addEvent(NavigationBindings, 'closePopup', function () { | ||
this.deselectAnnotation(); | ||
}); | ||
export default NavigationBindings; |
@@ -17,3 +17,3 @@ /* * | ||
import U from '../../Core/Utilities.js'; | ||
var addEvent = U.addEvent, createElement = U.createElement, defined = U.defined, getOptions = U.getOptions, isArray = U.isArray, isObject = U.isObject, isString = U.isString, objectEach = U.objectEach, pick = U.pick, stableSort = U.stableSort, wrap = U.wrap; | ||
var addEvent = U.addEvent, createElement = U.createElement, defined = U.defined, fireEvent = U.fireEvent, getOptions = U.getOptions, isArray = U.isArray, isObject = U.isObject, isString = U.isString, objectEach = U.objectEach, pick = U.pick, stableSort = U.stableSort, wrap = U.wrap; | ||
var indexFilter = /\d/g, PREFIX = 'highcharts-', DIV = 'div', INPUT = 'input', LABEL = 'label', BUTTON = 'button', SELECT = 'select', OPTION = 'option', SPAN = 'span', UL = 'ul', LI = 'li', H3 = 'h3'; | ||
@@ -31,4 +31,4 @@ /* eslint-disable no-invalid-this, valid-jsdoc */ | ||
}); | ||
H.Popup = function (parentDiv, iconsURL) { | ||
this.init(parentDiv, iconsURL); | ||
H.Popup = function (parentDiv, iconsURL, chart) { | ||
this.init(parentDiv, iconsURL, chart); | ||
}; | ||
@@ -44,3 +44,4 @@ H.Popup.prototype = { | ||
*/ | ||
init: function (parentDiv, iconsURL) { | ||
init: function (parentDiv, iconsURL, chart) { | ||
this.chart = chart; | ||
// create popup div | ||
@@ -69,3 +70,3 @@ this.container = createElement(DIV, { | ||
addEvent(closeBtn, eventName, function () { | ||
_self.closePopup(); | ||
fireEvent(_self.chart.navigationBindings, 'closePopup'); | ||
}); | ||
@@ -732,3 +733,3 @@ }); | ||
this.chart.options.stockTools.gui.iconsURL) || | ||
'https://code.highcharts.com/9.0.0/gfx/stock-icons/')); | ||
'https://code.highcharts.com/9.0.1/gfx/stock-icons/'), this.chart); | ||
} | ||
@@ -735,0 +736,0 @@ this.popup.showForm(config.formType, this.chart, config.options, config.onSubmit); |
@@ -246,2 +246,3 @@ /* * | ||
}); | ||
Chart.prototype.propsRequireUpdateSeries.push('boost'); | ||
// Take care of the canvas blitting | ||
@@ -248,0 +249,0 @@ Chart.prototype.callbacks.push(function (chart) { |
@@ -350,2 +350,3 @@ /* * | ||
Series.prototype.destroyGraphics = function () { | ||
var _this = this; | ||
var series = this, points = this.points, point, i; | ||
@@ -365,2 +366,11 @@ if (points) { | ||
}); | ||
if (this.getZonesGraphs) { | ||
var props = this.getZonesGraphs([['graph', 'highcharts-graph']]); | ||
props.forEach(function (prop) { | ||
var zoneGraph = _this[prop[0]]; | ||
if (zoneGraph) { | ||
_this[prop[0]] = zoneGraph.destroy(); | ||
} | ||
}); | ||
} | ||
}; | ||
@@ -367,0 +377,0 @@ // Set default options |
@@ -561,23 +561,2 @@ /* * | ||
} | ||
if (drawAsBar) { | ||
// maxVal = y; | ||
minVal = low; | ||
if (low === false || typeof low === 'undefined') { | ||
if (y < 0) { | ||
minVal = y; | ||
} | ||
else { | ||
minVal = 0; | ||
} | ||
} | ||
if (!isRange && !isStacked) { | ||
minVal = Math.max(threshold === null ? yMin : threshold, // #5268 | ||
yMin); // #8731 | ||
} | ||
if (!settings.useGPUTranslations) { | ||
minVal = yAxis.toPixels(minVal, true); | ||
} | ||
// Need to add an extra point here | ||
vertice(x, minVal, 0, 0, pcolor); | ||
} | ||
// No markers on out of bounds things. | ||
@@ -613,2 +592,23 @@ // Out of bound things are shown if and only if the next | ||
} | ||
if (drawAsBar) { | ||
// maxVal = y; | ||
minVal = low; | ||
if (low === false || typeof low === 'undefined') { | ||
if (y < 0) { | ||
minVal = y; | ||
} | ||
else { | ||
minVal = 0; | ||
} | ||
} | ||
if (!isRange && !isStacked) { | ||
minVal = Math.max(threshold === null ? yMin : threshold, // #5268 | ||
yMin); // #8731 | ||
} | ||
if (!settings.useGPUTranslations) { | ||
minVal = yAxis.toPixels(minVal, true); | ||
} | ||
// Need to add an extra point here | ||
vertice(x, minVal, 0, 0, pcolor); | ||
} | ||
// Do step line if enabled. | ||
@@ -615,0 +615,0 @@ // Draws an additional point at the old Y at the new X. |
@@ -103,3 +103,3 @@ /* * | ||
Fullscreen.prototype.close = function () { | ||
var fullscreen = this, chart = fullscreen.chart; | ||
var fullscreen = this, chart = fullscreen.chart, optionsChart = chart.options.chart; | ||
// Don't fire exitFullscreen() when user exited using 'Escape' button. | ||
@@ -115,2 +115,11 @@ if (fullscreen.isOpen && | ||
} | ||
chart.setSize(fullscreen.origWidth, fullscreen.origHeight, false); | ||
fullscreen.origWidth = void 0; | ||
fullscreen.origHeight = void 0; | ||
if (optionsChart) { | ||
optionsChart.width = fullscreen.origWidthOption; | ||
optionsChart.height = fullscreen.origHeightOption; | ||
} | ||
fullscreen.origWidthOption = void 0; | ||
fullscreen.origHeightOption = void 0; | ||
fullscreen.isOpen = false; | ||
@@ -132,3 +141,9 @@ fullscreen.setButtonText(); | ||
Fullscreen.prototype.open = function () { | ||
var fullscreen = this, chart = fullscreen.chart; | ||
var fullscreen = this, chart = fullscreen.chart, optionsChart = chart.options.chart; | ||
if (optionsChart) { | ||
fullscreen.origWidthOption = optionsChart.width; | ||
fullscreen.origHeightOption = optionsChart.height; | ||
} | ||
fullscreen.origWidth = chart.chartWidth; | ||
fullscreen.origHeight = chart.chartHeight; | ||
// Handle exitFullscreen() method when user clicks 'Escape' button. | ||
@@ -144,2 +159,3 @@ if (fullscreen.browserProps) { | ||
else { | ||
chart.setSize(null, null, false); | ||
fullscreen.isOpen = true; | ||
@@ -146,0 +162,0 @@ fullscreen.setButtonText(); |
@@ -18,3 +18,3 @@ /* * | ||
import U from '../Core/Utilities.js'; | ||
var addEvent = U.addEvent, error = U.error, extend = U.extend, getOptions = U.getOptions, merge = U.merge; | ||
var addEvent = U.addEvent, error = U.error, extend = U.extend, fireEvent = U.fireEvent, getOptions = U.getOptions, merge = U.merge; | ||
import DownloadURL from '../Extensions/DownloadURL.js'; | ||
@@ -228,2 +228,11 @@ var downloadURL = DownloadURL.downloadURL; | ||
} | ||
// Workaround for #15135, zero width spaces, which Highcharts uses to | ||
// break lines, are not correctly rendered in PDF. Replace it with a | ||
// regular space and offset by some pixels to compensate. | ||
[].forEach.call(svgElement.querySelectorAll('tspan'), function (tspan) { | ||
if (tspan.textContent === '\u200B') { | ||
tspan.textContent = ' '; | ||
tspan.setAttribute('dx', -5); | ||
} | ||
}); | ||
win.svg2pdf(svgElement, pdf, { removeInvalid: true }); | ||
@@ -513,3 +522,3 @@ return pdf.output('datauristring'); | ||
else { | ||
downloadSVGLocal(svg, extend({ filename: chart.getFilename() }, options), fallbackToExportServer); | ||
downloadSVGLocal(svg, extend({ filename: chart.getFilename() }, options), fallbackToExportServer, function () { return fireEvent(chart, 'exportChartLocalSuccess'); }); | ||
} | ||
@@ -576,3 +585,3 @@ }, | ||
merge(true, getOptions().exporting, { | ||
libURL: 'https://code.highcharts.com/9.0.0/lib/', | ||
libURL: 'https://code.highcharts.com/9.0.1/lib/', | ||
// When offline-exporting is loaded, redefine the menu item definitions | ||
@@ -579,0 +588,0 @@ // related to download. |
@@ -37,3 +37,3 @@ /* * | ||
getOptions().global.VMLRadialGradientURL = | ||
'http://code.highcharts.com/9.0.0/gfx/vml-radial-gradient.png'; | ||
'http://code.highcharts.com/9.0.1/gfx/vml-radial-gradient.png'; | ||
// Utilites | ||
@@ -40,0 +40,0 @@ if (doc && !doc.defaultView) { |
@@ -22,6 +22,8 @@ /* * | ||
var stop = A.stop; | ||
import Axis from '../Core/Axis/Axis.js'; | ||
import Chart from '../Core/Chart/Chart.js'; | ||
import Series from '../Core/Series/Series.js'; | ||
import H from '../Core/Globals.js'; | ||
import U from '../Core/Utilities.js'; | ||
var addEvent = U.addEvent, createElement = U.createElement, pick = U.pick; | ||
var addEvent = U.addEvent, createElement = U.createElement, merge = U.merge, pick = U.pick; | ||
/** | ||
@@ -100,2 +102,3 @@ * Options for a scrollable plot area. This feature provides a minimum size for | ||
if (scrollablePixelsX) { | ||
this.scrollablePlotBox = merge(this.plotBox); | ||
this.plotWidth += scrollablePixelsX; | ||
@@ -120,2 +123,3 @@ if (this.inverted) { | ||
if (scrollablePixelsY) { | ||
this.scrollablePlotBox = merge(this.plotBox); | ||
this.plotHeight += scrollablePixelsY; | ||
@@ -267,2 +271,3 @@ if (this.inverted) { | ||
Chart.prototype.applyFixed = function () { | ||
var _this = this; | ||
var _a, _b, _c; | ||
@@ -294,5 +299,10 @@ var fixedRenderer, scrollableWidth, scrollableHeight, firstTime = !this.fixedDiv, chartOptions = this.options.chart, scrollableOptions = chartOptions.scrollablePlotArea; | ||
.add(); | ||
this.moveFixedElements(); | ||
addEvent(this, 'afterShowResetZoom', this.moveFixedElements); | ||
addEvent(this, 'afterLayOutTitles', this.moveFixedElements); | ||
addEvent(Axis, 'afterInit', function () { | ||
_this.scrollableDirty = true; | ||
}); | ||
addEvent(Series, 'show', function () { | ||
_this.scrollableDirty = true; | ||
}); | ||
} | ||
@@ -303,2 +313,6 @@ else { | ||
} | ||
if (this.scrollableDirty || firstTime) { | ||
this.scrollableDirty = false; | ||
this.moveFixedElements(); | ||
} | ||
// Increase the size of the scrollable renderer and background | ||
@@ -305,0 +319,0 @@ scrollableWidth = this.chartWidth + (this.scrollablePixelsX || 0); |
@@ -17,3 +17,3 @@ /* * | ||
import U from '../Core/Utilities.js'; | ||
var correctFloat = U.correctFloat, defined = U.defined, destroyObjectProperties = U.destroyObjectProperties, format = U.format, isNumber = U.isNumber, pick = U.pick; | ||
var correctFloat = U.correctFloat, defined = U.defined, destroyObjectProperties = U.destroyObjectProperties, format = U.format, isArray = U.isArray, isNumber = U.isNumber, pick = U.pick; | ||
/** | ||
@@ -409,2 +409,5 @@ * Stack of data points | ||
else if (stacking === 'group') { | ||
if (isArray(y)) { | ||
y = y[0]; | ||
} | ||
// In this stack, the total is the number of valid points | ||
@@ -411,0 +414,0 @@ if (y !== null) { |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/highcharts-3d | ||
@@ -4,0 +4,0 @@ * @requires highcharts |
/** | ||
* @license Highcharts Gantt JS v9.0.0 (2021-02-02) | ||
* @license Highcharts Gantt JS v9.0.1 (2021-02-16) | ||
* @module highcharts/highcharts-gantt | ||
* | ||
* (c) 2017-2018 Lars Cabrera, Torstein Honsi, Jon Arild Nygard & Oystein Moseng | ||
* (c) 2017-2021 Lars Cabrera, Torstein Honsi, Jon Arild Nygard & Oystein Moseng | ||
* | ||
@@ -7,0 +7,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/highcharts-more | ||
* @requires highcharts | ||
* | ||
* (c) 2009-2018 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/highcharts | ||
* | ||
* (c) 2009-2018 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -12,2 +12,3 @@ * License: www.highcharts.com/license | ||
import Utilities from '../Core/Utilities.js'; | ||
import AST from '../Core/Renderer/HTML/AST.js'; | ||
import '../Core/Renderer/SVG/SVGRenderer.js'; | ||
@@ -39,2 +40,4 @@ import '../Core/Renderer/HTML/HTMLElement.js'; | ||
import '../Core/Responsive.js'; | ||
// Utilities | ||
Highcharts.addEvent = Utilities.addEvent; | ||
@@ -86,3 +89,7 @@ Highcharts.arrayMax = Utilities.arrayMax; | ||
Highcharts.wrap = Utilities.wrap; | ||
// Classes | ||
Highcharts.AST = AST; | ||
Highcharts.Series = Series; | ||
export default Highcharts; |
/** | ||
* @license Highmaps JS v9.0.0 (2021-02-02) | ||
* @license Highmaps JS v9.0.1 (2021-02-16) | ||
* @module highcharts/highmaps | ||
* | ||
* (c) 2011-2018 Torstein Honsi | ||
* (c) 2011-2021 Torstein Honsi | ||
* | ||
@@ -7,0 +7,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/highstock | ||
* | ||
* (c) 2009-2018 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -7,0 +7,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/acceleration-bands | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Daniel Studencki | ||
* (c) 2010-2021 Daniel Studencki | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/accumulation-distribution | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Sebastian Bochan | ||
* (c) 2010-2021 Sebastian Bochan | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/ao | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Wojciech Chmiel | ||
* (c) 2010-2021 Wojciech Chmiel | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/apo | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Wojciech Chmiel | ||
* (c) 2010-2021 Wojciech Chmiel | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/aroon-oscillator | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Wojciech Chmiel | ||
* (c) 2010-2021 Wojciech Chmiel | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/aroon | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Wojciech Chmiel | ||
* (c) 2010-2021 Wojciech Chmiel | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/atr | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Sebastian Bochan | ||
* (c) 2010-2021 Sebastian Bochan | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/bollinger-bands | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Paweł Fus | ||
* (c) 2010-2021 Paweł Fus | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/cci | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Sebastian Bochan | ||
* (c) 2010-2021 Sebastian Bochan | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/chaikin | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Wojciech Chmiel | ||
* (c) 2010-2021 Wojciech Chmiel | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/cmf | ||
@@ -7,3 +7,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* Author: Sebastian Domas | ||
@@ -10,0 +10,0 @@ * |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/dema | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Rafał Sebestjański | ||
* (c) 2010-2021 Rafał Sebestjański | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/dpo | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Wojciech Chmiel | ||
* (c) 2010-2021 Wojciech Chmiel | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/ema | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Sebastian Bochan | ||
* (c) 2010-2021 Sebastian Bochan | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/ichimoku-kinko-hyo | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Sebastian Bochan | ||
* (c) 2010-2021 Sebastian Bochan | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/indicators-all | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Pawel Fus | ||
* (c) 2010-2021 Pawel Fus | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/indicators | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Pawel Fus, Sebastian Bochan | ||
* (c) 2010-2021 Pawel Fus, Sebastian Bochan | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/keltner-channels | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Daniel Studencki | ||
* (c) 2010-2021 Daniel Studencki | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/macd | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Sebastian Bochan | ||
* (c) 2010-2021 Sebastian Bochan | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/mfi | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Grzegorz Blachliński | ||
* (c) 2010-2021 Grzegorz Blachliński | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/momentum | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Sebastian Bochan | ||
* (c) 2010-2021 Sebastian Bochan | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/natr | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Paweł Dalek | ||
* (c) 2010-2021 Paweł Dalek | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/pivot-points | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Paweł Fus | ||
* (c) 2010-2021 Paweł Fus | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/ppo | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Wojciech Chmiel | ||
* (c) 2010-2021 Wojciech Chmiel | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/price-channel | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Daniel Studencki | ||
* (c) 2010-2021 Daniel Studencki | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/price-envelopes | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Paweł Fus | ||
* (c) 2010-2021 Paweł Fus | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/psar | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Grzegorz Blachliński | ||
* (c) 2010-2021 Grzegorz Blachliński | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/regressions | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Kamil Kulig | ||
* (c) 2010-2021 Kamil Kulig | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/roc | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Kacper Madej | ||
* (c) 2010-2021 Kacper Madej | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/rsi | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Paweł Fus | ||
* (c) 2010-2021 Paweł Fus | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/indicators | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Pawel Fus | ||
* (c) 2010-2021 Pawel Fus | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/stochastic | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Paweł Fus | ||
* (c) 2010-2021 Paweł Fus | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/supertrend | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Wojciech Chmiel | ||
* (c) 2010-2021 Wojciech Chmiel | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/tema | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Rafal Sebestjanski | ||
* (c) 2010-2021 Rafal Sebestjanski | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/trendline | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Sebastian Bochan | ||
* (c) 2010-2021 Sebastian Bochan | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/trix | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Rafal Sebestjanski | ||
* (c) 2010-2021 Rafal Sebestjanski | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/volume-by-price | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Paweł Dalek | ||
* (c) 2010-2021 Paweł Dalek | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/vwap | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Paweł Dalek | ||
* (c) 2010-2021 Paweł Dalek | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/williams-r | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Wojciech Chmiel | ||
* (c) 2010-2021 Wojciech Chmiel | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/wma | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Kacper Madej | ||
* (c) 2010-2021 Kacper Madej | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/indicators/zigzag | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Kacper Madej | ||
* (c) 2010-2021 Kacper Madej | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/accessibility | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* Author: Oystein Moseng | ||
@@ -11,0 +11,0 @@ * |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/annotations-advanced | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/annotations | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/arrow-symbols | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2017-2019 Lars A. V. Cabrera | ||
* (c) 2017-2021 Lars A. V. Cabrera | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/boost-canvas | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* Author: Torstein Honsi | ||
@@ -11,0 +11,0 @@ * |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/boost | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* Author: Torstein Honsi | ||
@@ -11,0 +11,0 @@ * |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/broken-axis | ||
* @requires highcharts | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/bullet | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Kacper Madej | ||
* (c) 2010-2021 Kacper Madej | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/color-axis | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2012-2019 Pawel Potaczek | ||
* (c) 2012-2021 Pawel Potaczek | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts Gantt JS v9.0.0 (2021-02-02) | ||
* @license Highcharts Gantt JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/current-date-indicator | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Lars A. V. Cabrera | ||
* (c) 2010-2021 Lars A. V. Cabrera | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/cylinder | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Kacper Madej | ||
* (c) 2010-2021 Kacper Madej | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/data | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2012-2019 Torstein Honsi | ||
* (c) 2012-2021 Torstein Honsi | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/datagrouping | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Torstein Hønsi | ||
* (c) 2010-2021 Torstein Hønsi | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/debugger | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2012-2019 Torstein Honsi | ||
* (c) 2012-2021 Torstein Honsi | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/dependency-wheel | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2018 Torstein Honsi | ||
* (c) 2010-2021 Torstein Honsi | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/dotplot | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Torstein Honsi | ||
* (c) 2010-2021 Torstein Honsi | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/drag-panes | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* Author: Kacper Madej | ||
@@ -12,0 +12,0 @@ * |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/draggable-points | ||
* @requires highcharts | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/drilldown | ||
@@ -4,0 +4,0 @@ * @requires highcharts |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/dumbbell | ||
* @requires highcharts | ||
* | ||
* (c) 2009-2019 Sebastian Bochan, Rafal Sebestjanski | ||
* (c) 2009-2021 Sebastian Bochan, Rafal Sebestjanski | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/export-data | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Torstein Honsi | ||
* (c) 2010-2021 Torstein Honsi | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/exporting | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Torstein Honsi | ||
* (c) 2010-2021 Torstein Honsi | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/full-screen | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* Author: Torstein Honsi | ||
@@ -11,0 +11,0 @@ * |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/funnel | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Torstein Honsi | ||
* (c) 2010-2021 Torstein Honsi | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/funnel3d | ||
@@ -10,3 +10,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Kacper Madej | ||
* (c) 2010-2021 Kacper Madej | ||
* | ||
@@ -13,0 +13,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts Gantt JS v9.0.0 (2021-02-02) | ||
* @license Highcharts Gantt JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/gantt | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2016-2019 Lars A. V. Cabrera | ||
* (c) 2016-2021 Lars A. V. Cabrera | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts Gantt JS v9.0.0 (2021-02-02) | ||
* @license Highcharts Gantt JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/grid-axis | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2016-2019 Lars A. V. Cabrera | ||
* (c) 2016-2021 Lars A. V. Cabrera | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highmaps JS v9.0.0 (2021-02-02) | ||
* @license Highmaps JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/heatmap | ||
* @requires highcharts | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/histogram-bellcurve | ||
* @requires highcharts | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* Author: Sebastian Domas | ||
@@ -8,0 +8,0 @@ * |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/item-series | ||
@@ -4,0 +4,0 @@ * @requires highcharts |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/lollipop | ||
* @requires highcharts | ||
* | ||
* (c) 2009-2019 Sebastian Bochan, Rafal Sebestjanski | ||
* (c) 2009-2021 Sebastian Bochan, Rafal Sebestjanski | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highmaps JS v9.0.0 (2021-02-02) | ||
* @license Highmaps JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/map | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2011-2019 Torstein Honsi | ||
* (c) 2011-2021 Torstein Honsi | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/marker-clusters | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Wojciech Chmiel | ||
* (c) 2010-2021 Wojciech Chmiel | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/networkgraph | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Torstein Honsi | ||
* (c) 2010-2021 Torstein Honsi | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/no-data-to-display | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* Author: Oystein Moseng | ||
@@ -11,0 +11,0 @@ * |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/offline-exporting | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2015-2019 Torstein Honsi / Oystein Moseng | ||
* (c) 2015-2021 Torstein Honsi / Oystein Moseng | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/oldie-polyfills | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* Author: Torstein Honsi | ||
@@ -11,0 +11,0 @@ * |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/oldie | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* Author: Torstein Honsi | ||
@@ -11,0 +11,0 @@ * |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* Organization chart series type | ||
@@ -8,3 +8,3 @@ * @module highcharts/modules/organization | ||
* | ||
* (c) 2019-2019 Torstein Honsi | ||
* (c) 2019-2021 Torstein Honsi | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/overlapping-datalabels | ||
* @requires highcharts | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/parallel-coordinates | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Pawel Fus | ||
* (c) 2010-2021 Pawel Fus | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/pareto | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Sebastian Bochan | ||
* (c) 2010-2021 Sebastian Bochan | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts Gantt JS v9.0.0 (2021-02-02) | ||
* @license Highcharts Gantt JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/pathfinder | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2016-2019 Øystein Moseng | ||
* (c) 2016-2021 Øystein Moseng | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/pattern-fill | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* Author: Torstein Hønsi, Øystein Moseng | ||
@@ -11,0 +11,0 @@ * |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/price-indicator | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* Author: Torstein Honsi | ||
@@ -12,0 +12,0 @@ * |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/pyramid3d | ||
@@ -11,3 +11,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Kacper Madej | ||
* (c) 2010-2021 Kacper Madej | ||
* | ||
@@ -14,0 +14,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/sankey | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Torstein Honsi | ||
* (c) 2010-2021 Torstein Honsi | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/series-label | ||
* @requires highcharts | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/solid-gauge | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Torstein Honsi | ||
* (c) 2010-2021 Torstein Honsi | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/sonification | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2012-2019 Øystein Moseng | ||
* (c) 2012-2021 Øystein Moseng | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts Gantt JS v9.0.0 (2021-02-02) | ||
* @license Highcharts Gantt JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/static-scale | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2016-2019 Torstein Honsi, Lars A. V. Cabrera | ||
* (c) 2016-2021 Torstein Honsi, Lars A. V. Cabrera | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/stock-tools | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* Author: Torstein Honsi | ||
@@ -12,0 +12,0 @@ * |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/stock | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Torstein Honsi | ||
* (c) 2010-2021 Torstein Honsi | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/streamgraph | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Torstein Honsi | ||
* (c) 2010-2021 Torstein Honsi | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/sunburst | ||
* @requires highcharts | ||
* | ||
* (c) 2016-2019 Highsoft AS | ||
* (c) 2016-2021 Highsoft AS | ||
* Authors: Jon Arild Nygard | ||
@@ -8,0 +8,0 @@ * |
/** | ||
* @license Highmaps JS v9.0.0 (2021-02-02) | ||
* @license Highmaps JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/tilemap | ||
@@ -9,3 +9,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* | ||
@@ -12,0 +12,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/timeline | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* Author: Daniel Studencki | ||
@@ -11,0 +11,0 @@ * |
/** | ||
* @license Highcharts Gantt JS v9.0.0 (2021-02-02) | ||
* @license Highcharts Gantt JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/treegrid | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2016-2019 Jon Arild Nygard | ||
* (c) 2016-2021 Jon Arild Nygard | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/treemap | ||
* @requires highcharts | ||
* | ||
* (c) 2014-2019 Highsoft AS | ||
* (c) 2014-2021 Highsoft AS | ||
* Authors: Jon Arild Nygard / Oystein Moseng | ||
@@ -8,0 +8,0 @@ * |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/variable-pie | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Grzegorz Blachliński | ||
* (c) 2010-2021 Grzegorz Blachliński | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/variwide | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Torstein Honsi | ||
* (c) 2010-2021 Torstein Honsi | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/vector | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Torstein Honsi | ||
* (c) 2010-2021 Torstein Honsi | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/venn | ||
* @requires highcharts | ||
* | ||
* (c) 2017-2019 Highsoft AS | ||
* (c) 2017-2021 Highsoft AS | ||
* Authors: Jon Arild Nygard | ||
@@ -8,0 +8,0 @@ * |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/windbarb | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Torstein Honsi | ||
* (c) 2010-2021 Torstein Honsi | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/wordcloud | ||
* @requires highcharts | ||
* | ||
* (c) 2016-2019 Highsoft AS | ||
* (c) 2016-2021 Highsoft AS | ||
* Authors: Jon Arild Nygard | ||
@@ -8,0 +8,0 @@ * |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/modules/xrange | ||
@@ -8,3 +8,3 @@ * @requires highcharts | ||
* | ||
* (c) 2010-2019 Torstein Honsi, Lars A. V. Cabrera | ||
* (c) 2010-2021 Torstein Honsi, Lars A. V. Cabrera | ||
* | ||
@@ -11,0 +11,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/themes/avocado | ||
* @requires highcharts | ||
* | ||
* (c) 2009-2019 Highsoft AS | ||
* (c) 2009-2021 Highsoft AS | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/themes/dark-blue | ||
* @requires highcharts | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/themes/dark-green | ||
* @requires highcharts | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/themes/dark-unica | ||
* @requires highcharts | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/themes/gray | ||
* @requires highcharts | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/themes/grid-light | ||
* @requires highcharts | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/themes/grid | ||
* @requires highcharts | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/themes/high-contrast-dark | ||
* @requires highcharts | ||
* | ||
* (c) 2009-2019 Highsoft AS | ||
* (c) 2009-2021 Highsoft AS | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/themes/high-contrast-light | ||
* @requires highcharts | ||
* | ||
* (c) 2009-2019 Highsoft AS | ||
* (c) 2009-2021 Highsoft AS | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/themes/sand-signika | ||
* @requires highcharts | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/themes/skies | ||
* @requires highcharts | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* @module highcharts/themes/sunset | ||
* @requires highcharts | ||
* | ||
* (c) 2009-2019 Highsoft AS | ||
* (c) 2009-2021 Highsoft AS | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
@@ -27,3 +27,3 @@ /* * | ||
import U from '../../Core/Utilities.js'; | ||
var extend = U.extend; | ||
var extend = U.extend, isNumber = U.isNumber; | ||
/* * | ||
@@ -46,2 +46,5 @@ * | ||
} | ||
ColumnRangePoint.prototype.isValid = function () { | ||
return isNumber(this.low); | ||
}; | ||
return ColumnRangePoint; | ||
@@ -48,0 +51,0 @@ }(AreaRangePoint)); |
@@ -515,2 +515,4 @@ /* * | ||
invertGroups: noop, | ||
// Flags series group should not be invertible (#14063). | ||
invertible: false, | ||
noSharedTooltip: true, | ||
@@ -517,0 +519,0 @@ pointClass: FlagsPoint, |
@@ -831,3 +831,3 @@ /* * | ||
forceDL: true, | ||
invertable: true, | ||
invertible: true, | ||
isCartesian: false, | ||
@@ -834,0 +834,0 @@ orderNodes: true, |
@@ -27,2 +27,4 @@ /* * | ||
import ScatterSeries from '../Scatter/ScatterSeries.js'; | ||
import U from '../../Core/Utilities.js'; | ||
var defined = U.defined; | ||
/* * | ||
@@ -53,3 +55,3 @@ * | ||
_super.prototype.applyOptions.apply(this, arguments); | ||
if (typeof this.z === 'undefined') { | ||
if (!defined(this.z)) { | ||
this.z = 0; | ||
@@ -56,0 +58,0 @@ } |
@@ -306,2 +306,6 @@ /* * | ||
ignoreHiddenPoint: true, | ||
/** | ||
* @ignore | ||
* @private | ||
*/ | ||
legendType: 'point', | ||
@@ -308,0 +312,0 @@ lineWidth: 4, |
@@ -60,3 +60,3 @@ /* * | ||
extend(VennPoint.prototype, { | ||
draw: DrawPointMixin.draw | ||
draw: DrawPointMixin.drawPoint | ||
}); | ||
@@ -63,0 +63,0 @@ /* * |
@@ -400,2 +400,19 @@ /* * | ||
}; | ||
/** | ||
* @private | ||
* @function Highcharts.XRangeSeries#isPointInside | ||
*/ | ||
XRangeSeries.prototype.isPointInside = function (point) { | ||
var shapeArgs = point.shapeArgs, plotX = point.plotX, plotY = point.plotY; | ||
if (!shapeArgs) { | ||
return _super.prototype.isPointInside.apply(this, arguments); | ||
} | ||
var isInside = typeof plotX !== 'undefined' && | ||
typeof plotY !== 'undefined' && | ||
plotY >= 0 && | ||
plotY <= this.yAxis.len && | ||
shapeArgs.x + shapeArgs.width >= 0 && | ||
plotX <= this.xAxis.len; | ||
return isInside; | ||
}; | ||
/* * | ||
@@ -402,0 +419,0 @@ * |
@@ -392,2 +392,3 @@ /* * | ||
indicator.graph = mainLinePath; | ||
indicator.color = mainColor; | ||
}; | ||
@@ -394,0 +395,0 @@ IKHIndicator.prototype.getGraphPath = function (points) { |
@@ -198,6 +198,8 @@ /* * | ||
shortEMA = SeriesRegistry.seriesTypes.ema.prototype.getValues(series, { | ||
period: params.shortPeriod | ||
period: params.shortPeriod, | ||
index: params.index | ||
}); | ||
longEMA = SeriesRegistry.seriesTypes.ema.prototype.getValues(series, { | ||
period: params.longPeriod | ||
period: params.longPeriod, | ||
index: params.index | ||
}); | ||
@@ -204,0 +206,0 @@ shortEMA = shortEMA.values; |
@@ -1226,3 +1226,3 @@ /* * | ||
this.options.iconsURL || | ||
'https://code.highcharts.com/9.0.0/gfx/stock-icons/'; | ||
'https://code.highcharts.com/9.0.1/gfx/stock-icons/'; | ||
}; | ||
@@ -1229,0 +1229,0 @@ return Toolbar; |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
@@ -8,98 +8,98 @@ 3D features for Highcharts JS | ||
*/ | ||
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/highcharts-3d",["highcharts"],function(C){a(C);a.Highcharts=C;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function C(a,u,p,v){a.hasOwnProperty(u)||(a[u]=v.apply(null,p))}a=a?a._modules:{};C(a,"Extensions/Math3D.js",[a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,u){function p(d,c,b){c=0<b&&b<Number.POSITIVE_INFINITY? | ||
b/(d.z+c.z+b):1;return{x:d.x*c,y:d.y*c}}function v(d,c,b,m){var r=c.options.chart.options3d,l=w(m,b?c.inverted:!1),e={x:c.plotWidth/2,y:c.plotHeight/2,z:r.depth/2,vd:w(r.depth,1)*w(r.viewDistance,0)},f=c.scale3d||1;m=t*r.beta*(l?-1:1);r=t*r.alpha*(l?-1:1);var q=Math.cos(r),n=Math.cos(-m),D=Math.sin(r),a=Math.sin(-m);b||(e.x+=c.plotLeft,e.y+=c.plotTop);return d.map(function(b){var c=(l?b.y:b.x)-e.x;var k=(l?b.x:b.y)-e.y;b=(b.z||0)-e.z;c={x:n*c-a*b,y:-D*a*c+q*k-n*D*b,z:q*a*c+D*k+q*n*b};k=p(c,e,e.vd); | ||
k.x=k.x*f+e.x;k.y=k.y*f+e.y;k.z=c.z*f+e.z;return{x:l?k.y:k.x,y:l?k.x:k.y,z:k.z}})}function d(d,c){var b=c.options.chart.options3d,m=c.plotWidth/2;c=c.plotHeight/2;b=w(b.depth,1)*w(b.viewDistance,0)+b.depth;return Math.sqrt(Math.pow(m-w(d.plotX,d.x),2)+Math.pow(c-w(d.plotY,d.y),2)+Math.pow(b-w(d.plotZ,d.z),2))}function x(d){var c=0,b;for(b=0;b<d.length;b++){var m=(b+1)%d.length;c+=d[b].x*d[m].y-d[m].x*d[b].y}return c/2}function g(d,c,b){return x(v(d,c,b))}var w=u.pick,t=a.deg2rad;a.perspective3D=p; | ||
a.perspective=v;a.pointCameraDistance=d;a.shapeArea=x;a.shapeArea3d=g;return{perspective:v,perspective3D:p,pointCameraDistance:d,shapeArea:x,shapeArea3D:g}});C(a,"Core/Renderer/SVG/SVGElement3D.js",[a["Core/Color/Color.js"],a["Core/Renderer/SVG/SVGElement.js"],a["Core/Utilities.js"]],function(a,u,p){var v=a.parse,d=p.defined,x=p.merge,g=p.objectEach,w=p.pick,t;(function(a){a.base={initArgs:function(c){var b=this,d=b.renderer,a=d[b.pathType+"Path"](c),l=a.zIndexes;b.parts.forEach(function(e){b[e]= | ||
d.path(a[e]).attr({"class":"highcharts-3d-"+e,zIndex:l[e]||0}).add(b)});b.attr({"stroke-linejoin":"round",zIndex:l.group});b.originalDestroy=b.destroy;b.destroy=b.destroyParts;b.forcedSides=a.forcedSides},singleSetterForParts:function(c,b,d,a,l,e){var f={};a=[null,null,a||"attr",l,e];var q=d&&d.zIndexes;d?(q&&q.group&&this.attr({zIndex:q.group}),g(d,function(b,e){f[e]={};f[e][c]=b;q&&(f[e].zIndex=d.zIndexes[e]||0)}),a[1]=f):(f[c]=b,a[0]=f);return this.processParts.apply(this,a)},processParts:function(c, | ||
b,d,a,l){var e=this;e.parts.forEach(function(f){b&&(c=w(b[f],!1));if(!1!==c)e[f][d](c,a,l)});return e},destroyParts:function(){this.processParts(null,null,"destroy");return this.originalDestroy()}};a.cuboid=x(a.base,{parts:["front","top","side"],pathType:"cuboid",attr:function(c,b,a,r){if("string"===typeof c&&"undefined"!==typeof b){var m=c;c={};c[m]=b}return c.shapeArgs||d(c.x)?this.singleSetterForParts("d",null,this.renderer[this.pathType+"Path"](c.shapeArgs||c)):u.prototype.attr.call(this,c,void 0, | ||
a,r)},animate:function(c,b,m){if(d(c.x)&&d(c.y)){c=this.renderer[this.pathType+"Path"](c);var r=c.forcedSides;this.singleSetterForParts("d",null,c,"animate",b,m);this.attr({zIndex:c.zIndexes.group});r!==this.forcedSides&&(this.forcedSides=r,a.cuboid.fillSetter.call(this,this.fill))}else u.prototype.animate.call(this,c,b,m);return this},fillSetter:function(c){this.forcedSides=this.forcedSides||[];this.singleSetterForParts("fill",null,{front:c,top:v(c).brighten(0<=this.forcedSides.indexOf("top")?0: | ||
.1).get(),side:v(c).brighten(0<=this.forcedSides.indexOf("side")?0:-.1).get()});this.color=this.fill=c;return this}})})(t||(t={}));return t});C(a,"Core/Renderer/SVG/SVGRenderer3D.js",[a["Core/Animation/AnimationUtilities.js"],a["Core/Color/Color.js"],a["Core/Globals.js"],a["Extensions/Math3D.js"],a["Core/Renderer/SVG/SVGElement.js"],a["Core/Renderer/SVG/SVGElement3D.js"],a["Core/Renderer/SVG/SVGRenderer.js"],a["Core/Utilities.js"]],function(a,u,p,v,d,x,g,w){function t(b,e,c,f,d,n,a,q){var h=[],k= | ||
n-d;return n>d&&n-d>Math.PI/2+.0001?(h=h.concat(t(b,e,c,f,d,d+Math.PI/2,a,q)),h=h.concat(t(b,e,c,f,d+Math.PI/2,n,a,q))):n<d&&d-n>Math.PI/2+.0001?(h=h.concat(t(b,e,c,f,d,d-Math.PI/2,a,q)),h=h.concat(t(b,e,c,f,d-Math.PI/2,n,a,q))):[["C",b+c*Math.cos(d)-c*E*k*Math.sin(d)+a,e+f*Math.sin(d)+f*E*k*Math.cos(d)+q,b+c*Math.cos(n)+c*E*k*Math.sin(n)+a,e+f*Math.sin(n)-f*E*k*Math.cos(n)+q,b+c*Math.cos(n)+a,e+f*Math.sin(n)+q]]}var l=a.animObject,c=u.parse,b=p.charts,m=p.deg2rad,r=v.perspective,B=v.shapeArea,e= | ||
w.defined,f=w.extend,q=w.merge,n=w.pick,D=Math.cos,H=Math.sin,K=Math.PI,E=4*(Math.sqrt(2)-1)/3/(K/2);g.prototype.elements3d=x;g.prototype.toLinePath=function(b,e){var c=[];b.forEach(function(b){c.push(["L",b.x,b.y])});b.length&&(c[0][0]="M",e&&c.push(["Z"]));return c};g.prototype.toLineSegments=function(b){var e=[],c=!0;b.forEach(function(b){e.push(c?["M",b.x,b.y]:["L",b.x,b.y]);c=!c});return e};g.prototype.face3d=function(c){var f=this,h=this.createElement("path");h.vertexes=[];h.insidePlotArea= | ||
!1;h.enabled=!0;h.attr=function(c){if("object"===typeof c&&(e(c.enabled)||e(c.vertexes)||e(c.insidePlotArea))){this.enabled=n(c.enabled,this.enabled);this.vertexes=n(c.vertexes,this.vertexes);this.insidePlotArea=n(c.insidePlotArea,this.insidePlotArea);delete c.enabled;delete c.vertexes;delete c.insidePlotArea;var h=r(this.vertexes,b[f.chartIndex],this.insidePlotArea),k=f.toLinePath(h,!0);h=B(h);h=this.enabled&&0<h?"visible":"hidden";c.d=k;c.visibility=h}return d.prototype.attr.apply(this,arguments)}; | ||
h.animate=function(c){if("object"===typeof c&&(e(c.enabled)||e(c.vertexes)||e(c.insidePlotArea))){this.enabled=n(c.enabled,this.enabled);this.vertexes=n(c.vertexes,this.vertexes);this.insidePlotArea=n(c.insidePlotArea,this.insidePlotArea);delete c.enabled;delete c.vertexes;delete c.insidePlotArea;var h=r(this.vertexes,b[f.chartIndex],this.insidePlotArea),k=f.toLinePath(h,!0);h=B(h);h=this.enabled&&0<h?"visible":"hidden";c.d=k;this.attr("visibility",h)}return d.prototype.animate.apply(this,arguments)}; | ||
return h.attr(c)};g.prototype.polyhedron=function(b){var c=this,h=this.g(),f=h.destroy;this.styledMode||h.attr({"stroke-linejoin":"round"});h.faces=[];h.destroy=function(){for(var b=0;b<h.faces.length;b++)h.faces[b].destroy();return f.call(this)};h.attr=function(b,f,n,k){if("object"===typeof b&&e(b.faces)){for(;h.faces.length>b.faces.length;)h.faces.pop().destroy();for(;h.faces.length<b.faces.length;)h.faces.push(c.face3d().add(h));for(var a=0;a<b.faces.length;a++)c.styledMode&&delete b.faces[a].fill, | ||
h.faces[a].attr(b.faces[a],null,n,k);delete b.faces}return d.prototype.attr.apply(this,arguments)};h.animate=function(b,e,f){if(b&&b.faces){for(;h.faces.length>b.faces.length;)h.faces.pop().destroy();for(;h.faces.length<b.faces.length;)h.faces.push(c.face3d().add(h));for(var n=0;n<b.faces.length;n++)h.faces[n].animate(b.faces[n],e,f);delete b.faces}return d.prototype.animate.apply(this,arguments)};return h.attr(b)};g.prototype.element3d=function(b,c){var e=this.g();f(e,this.elements3d[b]);e.initArgs(c); | ||
return e};g.prototype.cuboid=function(b){return this.element3d("cuboid",b)};g.prototype.cuboidPath=function(c){function e(b){return 0===k&&1<b&&6>b?{x:G[b].x,y:G[b].y+10,z:G[b].z}:G[0].x===G[7].x&&4<=b?{x:G[b].x+10,y:G[b].y,z:G[b].z}:0===m&&2>b||5<b?{x:G[b].x,y:G[b].y,z:G[b].z+10}:G[b]}function f(b){return G[b]}var d=c.x,n=c.y,a=c.z||0,k=c.height,q=c.width,m=c.depth,y=b[this.chartIndex],z=y.options.chart.options3d.alpha,F=0,G=[{x:d,y:n,z:a},{x:d+q,y:n,z:a},{x:d+q,y:n+k,z:a},{x:d,y:n+k,z:a},{x:d,y:n+ | ||
k,z:a+m},{x:d+q,y:n+k,z:a+m},{x:d+q,y:n,z:a+m},{x:d,y:n,z:a+m}],D=[];G=r(G,y,c.insidePlotArea);var A=function(b,c,z){var d=[[],-1],n=b.map(f),h=c.map(f);b=b.map(e);c=c.map(e);0>B(n)?d=[n,0]:0>B(h)?d=[h,1]:z&&(D.push(z),d=0>B(b)?[n,0]:0>B(c)?[h,1]:[n,0]);return d};var I=A([3,2,1,0],[7,6,5,4],"front");c=I[0];var l=I[1];I=A([1,6,7,0],[4,5,2,3],"top");q=I[0];var H=I[1];I=A([1,2,5,6],[0,7,4,3],"side");A=I[0];I=I[1];1===I?F+=1E6*(y.plotWidth-d):I||(F+=1E6*d);F+=10*(!H||0<=z&&180>=z||360>z&&357.5<z?y.plotHeight- | ||
n:10+n);1===l?F+=100*a:l||(F+=100*(1E3-a));return{front:this.toLinePath(c,!0),top:this.toLinePath(q,!0),side:this.toLinePath(A,!0),zIndexes:{group:Math.round(F)},forcedSides:D,isFront:l,isTop:H}};g.prototype.arc3d=function(b){function e(b){var c=!1,e={},d;b=q(b);for(d in b)-1!==k.indexOf(d)&&(e[d]=b[d],delete b[d],c=!0);return c?[e,b]:!1}var h=this.g(),a=h.renderer,k="x y r innerR start end depth".split(" ");b=q(b);b.alpha=(b.alpha||0)*m;b.beta=(b.beta||0)*m;h.top=a.path();h.side1=a.path();h.side2= | ||
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/highcharts-3d",["highcharts"],function(D){a(D);a.Highcharts=D;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function D(a,q,u,C){a.hasOwnProperty(q)||(a[q]=C.apply(null,u))}a=a?a._modules:{};D(a,"Extensions/Math3D.js",[a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,q){function u(l,c,b){c=0<b&&b<Number.POSITIVE_INFINITY? | ||
b/(l.z+c.z+b):1;return{x:l.x*c,y:l.y*c}}function G(l,c,b,p){var m=c.options.chart.options3d,d=w(p,b?c.inverted:!1),e={x:c.plotWidth/2,y:c.plotHeight/2,z:m.depth/2,vd:w(m.depth,1)*w(m.viewDistance,0)},g=c.scale3d||1;p=n*m.beta*(d?-1:1);m=n*m.alpha*(d?-1:1);var r=Math.cos(m),f=Math.cos(-p),H=Math.sin(m),a=Math.sin(-p);b||(e.x+=c.plotLeft,e.y+=c.plotTop);return l.map(function(b){var c=(d?b.y:b.x)-e.x;var k=(d?b.x:b.y)-e.y;b=(b.z||0)-e.z;c={x:f*c-a*b,y:-H*a*c+r*k-f*H*b,z:r*a*c+H*k+r*f*b};k=u(c,e,e.vd); | ||
k.x=k.x*g+e.x;k.y=k.y*g+e.y;k.z=c.z*g+e.z;return{x:d?k.y:k.x,y:d?k.x:k.y,z:k.z}})}function d(d,c){var b=c.options.chart.options3d,p=c.plotWidth/2;c=c.plotHeight/2;b=w(b.depth,1)*w(b.viewDistance,0)+b.depth;return Math.sqrt(Math.pow(p-w(d.plotX,d.x),2)+Math.pow(c-w(d.plotY,d.y),2)+Math.pow(b-w(d.plotZ,d.z),2))}function v(d){var c=0,b;for(b=0;b<d.length;b++){var p=(b+1)%d.length;c+=d[b].x*d[p].y-d[p].x*d[b].y}return c/2}function t(d,c,b){return v(G(d,c,b))}var w=q.pick,n=a.deg2rad;a.perspective3D=u; | ||
a.perspective=G;a.pointCameraDistance=d;a.shapeArea=v;a.shapeArea3d=t;return{perspective:G,perspective3D:u,pointCameraDistance:d,shapeArea:v,shapeArea3D:t}});D(a,"Core/Renderer/SVG/SVGElement3D.js",[a["Core/Color/Color.js"],a["Core/Renderer/SVG/SVGElement.js"],a["Core/Utilities.js"]],function(a,q,u){var G=a.parse,d=u.defined,v=u.merge,t=u.objectEach,w=u.pick,n;(function(a){a.base={initArgs:function(c){var b=this,d=b.renderer,a=d[b.pathType+"Path"](c),l=a.zIndexes;b.parts.forEach(function(e){b[e]= | ||
d.path(a[e]).attr({"class":"highcharts-3d-"+e,zIndex:l[e]||0}).add(b)});b.attr({"stroke-linejoin":"round",zIndex:l.group});b.originalDestroy=b.destroy;b.destroy=b.destroyParts;b.forcedSides=a.forcedSides},singleSetterForParts:function(c,b,d,a,l,e){var g={};a=[null,null,a||"attr",l,e];var r=d&&d.zIndexes;d?(r&&r.group&&this.attr({zIndex:r.group}),t(d,function(b,e){g[e]={};g[e][c]=b;r&&(g[e].zIndex=d.zIndexes[e]||0)}),a[1]=g):(g[c]=b,a[0]=g);return this.processParts.apply(this,a)},processParts:function(c, | ||
b,d,a,l){var e=this;e.parts.forEach(function(g){b&&(c=w(b[g],!1));if(!1!==c)e[g][d](c,a,l)});return e},destroyParts:function(){this.processParts(null,null,"destroy");return this.originalDestroy()}};a.cuboid=v(a.base,{parts:["front","top","side"],pathType:"cuboid",attr:function(c,b,a,l){if("string"===typeof c&&"undefined"!==typeof b){var p=c;c={};c[p]=b}return c.shapeArgs||d(c.x)?this.singleSetterForParts("d",null,this.renderer[this.pathType+"Path"](c.shapeArgs||c)):q.prototype.attr.call(this,c,void 0, | ||
a,l)},animate:function(c,b,p){if(d(c.x)&&d(c.y)){c=this.renderer[this.pathType+"Path"](c);var l=c.forcedSides;this.singleSetterForParts("d",null,c,"animate",b,p);this.attr({zIndex:c.zIndexes.group});l!==this.forcedSides&&(this.forcedSides=l,a.cuboid.fillSetter.call(this,this.fill))}else q.prototype.animate.call(this,c,b,p);return this},fillSetter:function(c){this.forcedSides=this.forcedSides||[];this.singleSetterForParts("fill",null,{front:c,top:G(c).brighten(0<=this.forcedSides.indexOf("top")?0: | ||
.1).get(),side:G(c).brighten(0<=this.forcedSides.indexOf("side")?0:-.1).get()});this.color=this.fill=c;return this}})})(n||(n={}));return n});D(a,"Core/Renderer/SVG/SVGRenderer3D.js",[a["Core/Animation/AnimationUtilities.js"],a["Core/Color/Color.js"],a["Core/Globals.js"],a["Extensions/Math3D.js"],a["Core/Renderer/SVG/SVGElement.js"],a["Core/Renderer/SVG/SVGElement3D.js"],a["Core/Renderer/SVG/SVGRenderer.js"],a["Core/Utilities.js"]],function(a,q,u,C,d,v,t,w){function n(b,e,c,g,d,f,a,r){var h=[],k= | ||
f-d;return f>d&&f-d>Math.PI/2+.0001?(h=h.concat(n(b,e,c,g,d,d+Math.PI/2,a,r)),h=h.concat(n(b,e,c,g,d+Math.PI/2,f,a,r))):f<d&&d-f>Math.PI/2+.0001?(h=h.concat(n(b,e,c,g,d,d-Math.PI/2,a,r)),h=h.concat(n(b,e,c,g,d-Math.PI/2,f,a,r))):[["C",b+c*Math.cos(d)-c*E*k*Math.sin(d)+a,e+g*Math.sin(d)+g*E*k*Math.cos(d)+r,b+c*Math.cos(f)+c*E*k*Math.sin(f)+a,e+g*Math.sin(f)-g*E*k*Math.cos(f)+r,b+c*Math.cos(f)+a,e+g*Math.sin(f)+r]]}var l=a.animObject,c=q.parse,b=u.charts,p=u.deg2rad,m=C.perspective,x=C.shapeArea,e= | ||
w.defined,g=w.extend,r=w.merge,f=w.pick,H=Math.cos,J=Math.sin,K=Math.PI,E=4*(Math.sqrt(2)-1)/3/(K/2);t.prototype.elements3d=v;t.prototype.toLinePath=function(b,e){var c=[];b.forEach(function(b){c.push(["L",b.x,b.y])});b.length&&(c[0][0]="M",e&&c.push(["Z"]));return c};t.prototype.toLineSegments=function(b){var e=[],c=!0;b.forEach(function(b){e.push(c?["M",b.x,b.y]:["L",b.x,b.y]);c=!c});return e};t.prototype.face3d=function(c){var g=this,h=this.createElement("path");h.vertexes=[];h.insidePlotArea= | ||
!1;h.enabled=!0;h.attr=function(c){if("object"===typeof c&&(e(c.enabled)||e(c.vertexes)||e(c.insidePlotArea))){this.enabled=f(c.enabled,this.enabled);this.vertexes=f(c.vertexes,this.vertexes);this.insidePlotArea=f(c.insidePlotArea,this.insidePlotArea);delete c.enabled;delete c.vertexes;delete c.insidePlotArea;var h=m(this.vertexes,b[g.chartIndex],this.insidePlotArea),k=g.toLinePath(h,!0);h=x(h);h=this.enabled&&0<h?"visible":"hidden";c.d=k;c.visibility=h}return d.prototype.attr.apply(this,arguments)}; | ||
h.animate=function(c){if("object"===typeof c&&(e(c.enabled)||e(c.vertexes)||e(c.insidePlotArea))){this.enabled=f(c.enabled,this.enabled);this.vertexes=f(c.vertexes,this.vertexes);this.insidePlotArea=f(c.insidePlotArea,this.insidePlotArea);delete c.enabled;delete c.vertexes;delete c.insidePlotArea;var h=m(this.vertexes,b[g.chartIndex],this.insidePlotArea),k=g.toLinePath(h,!0);h=x(h);h=this.enabled&&0<h?"visible":"hidden";c.d=k;this.attr("visibility",h)}return d.prototype.animate.apply(this,arguments)}; | ||
return h.attr(c)};t.prototype.polyhedron=function(b){var c=this,h=this.g(),g=h.destroy;this.styledMode||h.attr({"stroke-linejoin":"round"});h.faces=[];h.destroy=function(){for(var b=0;b<h.faces.length;b++)h.faces[b].destroy();return g.call(this)};h.attr=function(b,g,f,k){if("object"===typeof b&&e(b.faces)){for(;h.faces.length>b.faces.length;)h.faces.pop().destroy();for(;h.faces.length<b.faces.length;)h.faces.push(c.face3d().add(h));for(var a=0;a<b.faces.length;a++)c.styledMode&&delete b.faces[a].fill, | ||
h.faces[a].attr(b.faces[a],null,f,k);delete b.faces}return d.prototype.attr.apply(this,arguments)};h.animate=function(b,e,g){if(b&&b.faces){for(;h.faces.length>b.faces.length;)h.faces.pop().destroy();for(;h.faces.length<b.faces.length;)h.faces.push(c.face3d().add(h));for(var f=0;f<b.faces.length;f++)h.faces[f].animate(b.faces[f],e,g);delete b.faces}return d.prototype.animate.apply(this,arguments)};return h.attr(b)};t.prototype.element3d=function(b,c){var e=this.g();g(e,this.elements3d[b]);e.initArgs(c); | ||
return e};t.prototype.cuboid=function(b){return this.element3d("cuboid",b)};t.prototype.cuboidPath=function(c){function e(b){return 0===k&&1<b&&6>b?{x:I[b].x,y:I[b].y+10,z:I[b].z}:I[0].x===I[7].x&&4<=b?{x:I[b].x+10,y:I[b].y,z:I[b].z}:0===p&&2>b||5<b?{x:I[b].x,y:I[b].y,z:I[b].z+10}:I[b]}function g(b){return I[b]}var f=c.x,d=c.y,a=c.z||0,k=c.height,r=c.width,p=c.depth,y=b[this.chartIndex],z=y.options.chart.options3d.alpha,F=0,I=[{x:f,y:d,z:a},{x:f+r,y:d,z:a},{x:f+r,y:d+k,z:a},{x:f,y:d+k,z:a},{x:f,y:d+ | ||
k,z:a+p},{x:f+r,y:d+k,z:a+p},{x:f+r,y:d,z:a+p},{x:f,y:d,z:a+p}],l=[];I=m(I,y,c.insidePlotArea);var A=function(b,c,z){var f=[[],-1],d=b.map(g),h=c.map(g);b=b.map(e);c=c.map(e);0>x(d)?f=[d,0]:0>x(h)?f=[h,1]:z&&(l.push(z),f=0>x(b)?[d,0]:0>x(c)?[h,1]:[d,0]);return f};var B=A([3,2,1,0],[7,6,5,4],"front");c=B[0];var H=B[1];B=A([1,6,7,0],[4,5,2,3],"top");r=B[0];var J=B[1];B=A([1,2,5,6],[0,7,4,3],"side");A=B[0];B=B[1];1===B?F+=1E6*(y.plotWidth-f):B||(F+=1E6*f);F+=10*(!J||0<=z&&180>=z||360>z&&357.5<z?y.plotHeight- | ||
d:10+d);1===H?F+=100*a:H||(F+=100*(1E3-a));return{front:this.toLinePath(c,!0),top:this.toLinePath(r,!0),side:this.toLinePath(A,!0),zIndexes:{group:Math.round(F)},forcedSides:l,isFront:H,isTop:J}};t.prototype.arc3d=function(b){function e(b){var c=!1,e={},f;b=r(b);for(f in b)-1!==k.indexOf(f)&&(e[f]=b[f],delete b[f],c=!0);return c?[e,b]:!1}var h=this.g(),a=h.renderer,k="x y r innerR start end depth".split(" ");b=r(b);b.alpha=(b.alpha||0)*p;b.beta=(b.beta||0)*p;h.top=a.path();h.side1=a.path();h.side2= | ||
a.path();h.inn=a.path();h.out=a.path();h.onAdd=function(){var b=h.parentGroup,c=h.attr("class");h.top.add(h);["out","inn","side1","side2"].forEach(function(e){h[e].attr({"class":c+" highcharts-3d-side"}).add(b)})};["addClass","removeClass"].forEach(function(b){h[b]=function(){var c=arguments;["top","out","inn","side1","side2"].forEach(function(e){h[e][b].apply(h[e],c)})}});h.setPaths=function(b){var c=h.renderer.arc3dPath(b),e=100*c.zTop;h.attribs=b;h.top.attr({d:c.top,zIndex:c.zTop});h.inn.attr({d:c.inn, | ||
zIndex:c.zInn});h.out.attr({d:c.out,zIndex:c.zOut});h.side1.attr({d:c.side1,zIndex:c.zSide1});h.side2.attr({d:c.side2,zIndex:c.zSide2});h.zIndex=e;h.attr({zIndex:e});b.center&&(h.top.setRadialReference(b.center),delete b.center)};h.setPaths(b);h.fillSetter=function(b){var e=c(b).brighten(-.1).get();this.fill=b;this.side1.attr({fill:e});this.side2.attr({fill:e});this.inn.attr({fill:e});this.out.attr({fill:e});this.top.attr({fill:b});return this};["opacity","translateX","translateY","visibility"].forEach(function(b){h[b+ | ||
"Setter"]=function(b,c){h[c]=b;["out","inn","side1","side2","top"].forEach(function(e){h[e].attr(c,b)})}});h.attr=function(b){var c;if("object"===typeof b&&(c=e(b))){var n=c[0];arguments[0]=c[1];f(h.attribs,n);h.setPaths(h.attribs)}return d.prototype.attr.apply(h,arguments)};h.animate=function(b,c,f){var a=this.attribs,k="data-"+Math.random().toString(26).substring(2,9);delete b.center;delete b.z;delete b.alpha;delete b.beta;var z=l(n(c,this.renderer.globalAnimation));if(z.duration){c=e(b);h[k]=0; | ||
b[k]=1;h[k+"Setter"]=p.noop;if(c){var F=c[0];z.step=function(b,c){function e(b){return a[b]+(n(F[b],a[b])-a[b])*c.pos}c.prop===k&&c.elem.setPaths(q(a,{x:e("x"),y:e("y"),r:e("r"),innerR:e("innerR"),start:e("start"),end:e("end"),depth:e("depth")}))}}c=z}return d.prototype.animate.call(this,b,c,f)};h.destroy=function(){this.top.destroy();this.out.destroy();this.inn.destroy();this.side1.destroy();this.side2.destroy();return d.prototype.destroy.call(this)};h.hide=function(){this.top.hide();this.out.hide(); | ||
this.inn.hide();this.side1.hide();this.side2.hide()};h.show=function(b){this.top.show(b);this.out.show(b);this.inn.show(b);this.side1.show(b);this.side2.show(b)};return h};g.prototype.arc3dPath=function(b){function c(b){b%=2*Math.PI;b>Math.PI&&(b=2*Math.PI-b);return b}var e=b.x,d=b.y,n=b.start,f=b.end-.00001,a=b.r,q=b.innerR||0,k=b.depth||0,y=b.alpha,z=b.beta,F=Math.cos(n),m=Math.sin(n);b=Math.cos(f);var l=Math.sin(f),A=a*Math.cos(z);a*=Math.cos(y);var r=q*Math.cos(z),J=q*Math.cos(y);q=k*Math.sin(z); | ||
var g=k*Math.sin(y);k=[["M",e+A*F,d+a*m]];k=k.concat(t(e,d,A,a,n,f,0,0));k.push(["L",e+r*b,d+J*l]);k=k.concat(t(e,d,r,J,f,n,0,0));k.push(["Z"]);var B=0<z?Math.PI/2:0;z=0<y?0:Math.PI/2;B=n>-B?n:f>-B?-B:n;var E=f<K-z?f:n<K-z?K-z:f,p=2*K-z;y=[["M",e+A*D(B),d+a*H(B)]];y=y.concat(t(e,d,A,a,B,E,0,0));f>p&&n<p?(y.push(["L",e+A*D(E)+q,d+a*H(E)+g]),y=y.concat(t(e,d,A,a,E,p,q,g)),y.push(["L",e+A*D(p),d+a*H(p)]),y=y.concat(t(e,d,A,a,p,f,0,0)),y.push(["L",e+A*D(f)+q,d+a*H(f)+g]),y=y.concat(t(e,d,A,a,f,p,q,g)), | ||
y.push(["L",e+A*D(p),d+a*H(p)]),y=y.concat(t(e,d,A,a,p,E,0,0))):f>K-z&&n<K-z&&(y.push(["L",e+A*Math.cos(E)+q,d+a*Math.sin(E)+g]),y=y.concat(t(e,d,A,a,E,f,q,g)),y.push(["L",e+A*Math.cos(f),d+a*Math.sin(f)]),y=y.concat(t(e,d,A,a,f,E,0,0)));y.push(["L",e+A*Math.cos(E)+q,d+a*Math.sin(E)+g]);y=y.concat(t(e,d,A,a,E,B,q,g));y.push(["Z"]);z=[["M",e+r*F,d+J*m]];z=z.concat(t(e,d,r,J,n,f,0,0));z.push(["L",e+r*Math.cos(f)+q,d+J*Math.sin(f)+g]);z=z.concat(t(e,d,r,J,f,n,q,g));z.push(["Z"]);F=[["M",e+A*F,d+a*m], | ||
["L",e+A*F+q,d+a*m+g],["L",e+r*F+q,d+J*m+g],["L",e+r*F,d+J*m],["Z"]];e=[["M",e+A*b,d+a*l],["L",e+A*b+q,d+a*l+g],["L",e+r*b+q,d+J*l+g],["L",e+r*b,d+J*l],["Z"]];l=Math.atan2(g,-q);d=Math.abs(f+l);b=Math.abs(n+l);n=Math.abs((n+f)/2+l);d=c(d);b=c(b);n=c(n);n*=1E5;f=1E5*b;d*=1E5;return{top:k,zTop:1E5*Math.PI+1,out:y,zOut:Math.max(n,f,d),inn:z,zInn:Math.max(n,f,d),side1:F,zSide1:.99*d,side2:e,zSide2:.99*f}};return g});C(a,"Core/Axis/Tick3D.js",[a["Core/Utilities.js"]],function(a){var u=a.addEvent,p=a.extend, | ||
v=a.wrap;return function(){function d(){}d.compose=function(a){u(a,"afterGetLabelPosition",d.onAfterGetLabelPosition);v(a.prototype,"getMarkPath",d.wrapGetMarkPath)};d.onAfterGetLabelPosition=function(d){var a=this.axis.axis3D;a&&p(d.pos,a.fix3dPosition(d.pos))};d.wrapGetMarkPath=function(d){var a=this.axis.axis3D,p=d.apply(this,[].slice.call(arguments,1));if(a){var t=p[0],l=p[1];if("M"===t[0]&&"L"===l[0])return a=[a.fix3dPosition({x:t[1],y:t[2],z:0}),a.fix3dPosition({x:l[1],y:l[2],z:0})],this.axis.chart.renderer.toLineSegments(a)}return p}; | ||
return d}()});C(a,"Core/Axis/Axis3D.js",[a["Core/Globals.js"],a["Extensions/Math3D.js"],a["Core/Axis/Tick.js"],a["Core/Axis/Tick3D.js"],a["Core/Utilities.js"]],function(a,u,p,v,d){var x=u.perspective,g=u.perspective3D,w=u.shapeArea,t=d.addEvent,l=d.merge,c=d.pick,b=d.wrap,m=a.deg2rad,r=function(){function b(b){this.axis=b}b.prototype.fix3dPosition=function(b,d){var e=this.axis,a=e.chart;if("colorAxis"===e.coll||!a.chart3d||!a.is3d())return b;var f=m*a.options.chart.options3d.alpha,l=m*a.options.chart.options3d.beta, | ||
r=c(d&&e.options.title.position3d,e.options.labels.position3d);d=c(d&&e.options.title.skew3d,e.options.labels.skew3d);var g=a.chart3d.frame3d,k=a.plotLeft,p=a.plotWidth+k,h=a.plotTop,B=a.plotHeight+h;a=!1;var t=0,u=0,v={x:0,y:1,z:0};b=e.axis3D.swapZ({x:b.x,y:b.y,z:0});if(e.isZAxis)if(e.opposite){if(null===g.axes.z.top)return{};u=b.y-h;b.x=g.axes.z.top.x;b.y=g.axes.z.top.y;k=g.axes.z.top.xDir;a=!g.top.frontFacing}else{if(null===g.axes.z.bottom)return{};u=b.y-B;b.x=g.axes.z.bottom.x;b.y=g.axes.z.bottom.y; | ||
k=g.axes.z.bottom.xDir;a=!g.bottom.frontFacing}else if(e.horiz)if(e.opposite){if(null===g.axes.x.top)return{};u=b.y-h;b.y=g.axes.x.top.y;b.z=g.axes.x.top.z;k=g.axes.x.top.xDir;a=!g.top.frontFacing}else{if(null===g.axes.x.bottom)return{};u=b.y-B;b.y=g.axes.x.bottom.y;b.z=g.axes.x.bottom.z;k=g.axes.x.bottom.xDir;a=!g.bottom.frontFacing}else if(e.opposite){if(null===g.axes.y.right)return{};t=b.x-p;b.x=g.axes.y.right.x;b.z=g.axes.y.right.z;k=g.axes.y.right.xDir;k={x:k.z,y:k.y,z:-k.x}}else{if(null===g.axes.y.left)return{}; | ||
t=b.x-k;b.x=g.axes.y.left.x;b.z=g.axes.y.left.z;k=g.axes.y.left.xDir}"chart"!==r&&("flap"===r?e.horiz?(l=Math.sin(f),f=Math.cos(f),e.opposite&&(l=-l),a&&(l=-l),v={x:k.z*l,y:f,z:-k.x*l}):k={x:Math.cos(l),y:0,z:Math.sin(l)}:"ortho"===r?e.horiz?(v=Math.cos(f),r=Math.sin(l)*v,f=-Math.sin(f),l=-v*Math.cos(l),v={x:k.y*l-k.z*f,y:k.z*r-k.x*l,z:k.x*f-k.y*r},f=1/Math.sqrt(v.x*v.x+v.y*v.y+v.z*v.z),a&&(f=-f),v={x:f*v.x,y:f*v.y,z:f*v.z}):k={x:Math.cos(l),y:0,z:Math.sin(l)}:e.horiz?v={x:Math.sin(l)*Math.sin(f), | ||
y:Math.cos(f),z:-Math.cos(l)*Math.sin(f)}:k={x:Math.cos(l),y:0,z:Math.sin(l)});b.x+=t*k.x+u*v.x;b.y+=t*k.y+u*v.y;b.z+=t*k.z+u*v.z;a=x([b],e.chart)[0];d&&(0>w(x([b,{x:b.x+k.x,y:b.y+k.y,z:b.z+k.z},{x:b.x+v.x,y:b.y+v.y,z:b.z+v.z}],e.chart))&&(k={x:-k.x,y:-k.y,z:-k.z}),b=x([{x:b.x,y:b.y,z:b.z},{x:b.x+k.x,y:b.y+k.y,z:b.z+k.z},{x:b.x+v.x,y:b.y+v.y,z:b.z+v.z}],e.chart),a.matrix=[b[1].x-b[0].x,b[1].y-b[0].y,b[2].x-b[0].x,b[2].y-b[0].y,a.x,a.y],a.matrix[4]-=a.x*a.matrix[0]+a.y*a.matrix[2],a.matrix[5]-=a.x* | ||
a.matrix[1]+a.y*a.matrix[3]);return a};b.prototype.swapZ=function(b,c){var e=this.axis;return e.isZAxis?(c=c?0:e.chart.plotLeft,{x:c+b.z,y:b.y,z:b.x-c}):b};return b}();return function(){function a(){}a.compose=function(c){l(!0,c.defaultOptions,a.defaultOptions);c.keepProps.push("axis3D");t(c,"init",a.onInit);t(c,"afterSetOptions",a.onAfterSetOptions);t(c,"drawCrosshair",a.onDrawCrosshair);t(c,"destroy",a.onDestroy);c=c.prototype;b(c,"getLinePath",a.wrapGetLinePath);b(c,"getPlotBandPath",a.wrapGetPlotBandPath); | ||
b(c,"getPlotLinePath",a.wrapGetPlotLinePath);b(c,"getSlotWidth",a.wrapGetSlotWidth);b(c,"getTitlePosition",a.wrapGetTitlePosition);v.compose(p)};a.onAfterSetOptions=function(){var b=this.chart,a=this.options;b.is3d&&b.is3d()&&"colorAxis"!==this.coll&&(a.tickWidth=c(a.tickWidth,0),a.gridLineWidth=c(a.gridLineWidth,1))};a.onDestroy=function(){["backFrame","bottomFrame","sideFrame"].forEach(function(b){this[b]&&(this[b]=this[b].destroy())},this)};a.onDrawCrosshair=function(b){this.chart.is3d()&&"colorAxis"!== | ||
this.coll&&b.point&&(b.point.crosshairPos=this.isXAxis?b.point.axisXpos:this.len-b.point.axisYpos)};a.onInit=function(){this.axis3D||(this.axis3D=new r(this))};a.wrapGetLinePath=function(b){return this.chart.is3d()&&"colorAxis"!==this.coll?[]:b.apply(this,[].slice.call(arguments,1))};a.wrapGetPlotBandPath=function(b){if(!this.chart.is3d()||"colorAxis"===this.coll)return b.apply(this,[].slice.call(arguments,1));var c=arguments,a=c[2],d=[];c=this.getPlotLinePath({value:c[1]});a=this.getPlotLinePath({value:a}); | ||
if(c&&a)for(var e=0;e<c.length;e+=2){var l=c[e],m=c[e+1],r=a[e],k=a[e+1];"M"===l[0]&&"L"===m[0]&&"M"===r[0]&&"L"===k[0]&&d.push(l,m,k,["L",r[1],r[2]],["Z"])}return d};a.wrapGetPlotLinePath=function(b){var c=this.axis3D,a=this.chart,d=b.apply(this,[].slice.call(arguments,1));if("colorAxis"===this.coll||!a.chart3d||!a.is3d()||null===d)return d;var e=a.options.chart.options3d,l=this.isZAxis?a.plotWidth:e.depth;e=a.chart3d.frame3d;var m=d[0],r=d[1];d=[];"M"===m[0]&&"L"===r[0]&&(c=[c.swapZ({x:m[1],y:m[2], | ||
z:0}),c.swapZ({x:m[1],y:m[2],z:l}),c.swapZ({x:r[1],y:r[2],z:0}),c.swapZ({x:r[1],y:r[2],z:l})],this.horiz?(this.isZAxis?(e.left.visible&&d.push(c[0],c[2]),e.right.visible&&d.push(c[1],c[3])):(e.front.visible&&d.push(c[0],c[2]),e.back.visible&&d.push(c[1],c[3])),e.top.visible&&d.push(c[0],c[1]),e.bottom.visible&&d.push(c[2],c[3])):(e.front.visible&&d.push(c[0],c[2]),e.back.visible&&d.push(c[1],c[3]),e.left.visible&&d.push(c[0],c[1]),e.right.visible&&d.push(c[2],c[3])),d=x(d,this.chart,!1));return a.renderer.toLineSegments(d)}; | ||
a.wrapGetSlotWidth=function(b,a){var d=this.chart,e=this.ticks,f=this.gridGroup;if(this.categories&&d.frameShapes&&d.is3d()&&f&&a&&a.label){f=f.element.childNodes[0].getBBox();var l=d.frameShapes.left.getBBox(),m=d.options.chart.options3d;d={x:d.plotWidth/2,y:d.plotHeight/2,z:m.depth/2,vd:c(m.depth,1)*c(m.viewDistance,0)};var r,k;m=a.pos;var p=e[m-1];e=e[m+1];0!==m&&p&&p.label&&p.label.xy&&(r=g({x:p.label.xy.x,y:p.label.xy.y,z:null},d,d.vd));e&&e.label&&e.label.xy&&(k=g({x:e.label.xy.x,y:e.label.xy.y, | ||
z:null},d,d.vd));e={x:a.label.xy.x,y:a.label.xy.y,z:null};e=g(e,d,d.vd);return Math.abs(r?e.x-r.x:k?k.x-e.x:f.x-l.x)}return b.apply(this,[].slice.call(arguments,1))};a.wrapGetTitlePosition=function(b){var c=b.apply(this,[].slice.call(arguments,1));return this.axis3D?this.axis3D.fix3dPosition(c,!0):c};a.defaultOptions={labels:{position3d:"offset",skew3d:!1},title:{position3d:null,skew3d:null}};return a}()});C(a,"Core/Axis/ZAxis.js",[a["Core/Axis/Axis.js"],a["Core/Utilities.js"]],function(a,u){var p= | ||
this&&this.__extends||function(){var a=function(c,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,c){b.__proto__=c}||function(b,c){for(var a in c)c.hasOwnProperty(a)&&(b[a]=c[a])};return a(c,b)};return function(c,b){function d(){this.constructor=c}a(c,b);c.prototype=null===b?Object.create(b):(d.prototype=b.prototype,new d)}}(),v=u.addEvent,d=u.merge,x=u.pick,g=u.splat,w=function(){function a(){}a.compose=function(c){v(c,"afterGetAxes",a.onAfterGetAxes);c=c.prototype;c.addZAxis= | ||
a.wrapAddZAxis;c.collectionsWithInit.zAxis=[c.addZAxis];c.collectionsWithUpdate.push("zAxis")};a.onAfterGetAxes=function(){var c=this,b=this.options;b=b.zAxis=g(b.zAxis||{});c.is3d()&&(c.zAxis=[],b.forEach(function(b,a){b.index=a;b.isX=!0;c.addZAxis(b).setScale()}))};a.wrapAddZAxis=function(c){return new t(this,c)};return a}(),t=function(a){function c(b,c){b=a.call(this,b,c)||this;b.isZAxis=!0;return b}p(c,a);c.prototype.getSeriesExtremes=function(){var b=this,c=b.chart;b.hasVisibleSeries=!1;b.dataMin= | ||
b.dataMax=b.ignoreMinPadding=b.ignoreMaxPadding=void 0;b.stacking&&b.stacking.buildStacks();b.series.forEach(function(a){!a.visible&&c.options.chart&&c.options.chart.ignoreHiddenSeries||(b.hasVisibleSeries=!0,a=a.zData,a.length&&(b.dataMin=Math.min(x(b.dataMin,a[0]),Math.min.apply(null,a)),b.dataMax=Math.max(x(b.dataMax,a[0]),Math.max.apply(null,a))))})};c.prototype.setAxisSize=function(){var b=this.chart;a.prototype.setAxisSize.call(this);this.width=this.len=b.options.chart&&b.options.chart.options3d&& | ||
b.options.chart.options3d.depth||0;this.right=b.chartWidth-this.width-this.left};c.prototype.setOptions=function(b){b=d({offset:0,lineWidth:0},b);this.isZAxis=!0;a.prototype.setOptions.call(this,b);this.coll="zAxis"};c.ZChartComposition=w;return c}(a);return t});C(a,"Core/Chart/Chart3D.js",[a["Core/Axis/Axis.js"],a["Core/Axis/Axis3D.js"],a["Core/Chart/Chart.js"],a["Core/Animation/Fx.js"],a["Core/Globals.js"],a["Extensions/Math3D.js"],a["Core/Options.js"],a["Core/Utilities.js"],a["Core/Axis/ZAxis.js"]], | ||
function(a,u,p,v,d,x,g,w,t){var l=x.perspective,c=x.shapeArea3D,b=g.defaultOptions,m=w.addEvent,r=w.isArray,B=w.merge,e=w.pick,f=w.wrap,q;(function(a){function n(b){this.is3d()&&"scatter"===b.options.type&&(b.options.type="scatter3d")}function g(){if(this.chart3d&&this.is3d()){var b=this.renderer,c=this.options.chart.options3d,a=this.chart3d.get3dFrame(),e=this.plotLeft,f=this.plotLeft+this.plotWidth,k=this.plotTop,h=this.plotTop+this.plotHeight;c=c.depth;var n=e-(a.left.visible?a.left.size:0),l= | ||
f+(a.right.visible?a.right.size:0),m=k-(a.top.visible?a.top.size:0),g=h+(a.bottom.visible?a.bottom.size:0),r=0-(a.front.visible?a.front.size:0),q=c+(a.back.visible?a.back.size:0),p=this.hasRendered?"animate":"attr";this.chart3d.frame3d=a;this.frameShapes||(this.frameShapes={bottom:b.polyhedron().add(),top:b.polyhedron().add(),left:b.polyhedron().add(),right:b.polyhedron().add(),back:b.polyhedron().add(),front:b.polyhedron().add()});this.frameShapes.bottom[p]({"class":"highcharts-3d-frame highcharts-3d-frame-bottom", | ||
zIndex:a.bottom.frontFacing?-1E3:1E3,faces:[{fill:d.color(a.bottom.color).brighten(.1).get(),vertexes:[{x:n,y:g,z:r},{x:l,y:g,z:r},{x:l,y:g,z:q},{x:n,y:g,z:q}],enabled:a.bottom.visible},{fill:d.color(a.bottom.color).brighten(.1).get(),vertexes:[{x:e,y:h,z:c},{x:f,y:h,z:c},{x:f,y:h,z:0},{x:e,y:h,z:0}],enabled:a.bottom.visible},{fill:d.color(a.bottom.color).brighten(-.1).get(),vertexes:[{x:n,y:g,z:r},{x:n,y:g,z:q},{x:e,y:h,z:c},{x:e,y:h,z:0}],enabled:a.bottom.visible&&!a.left.visible},{fill:d.color(a.bottom.color).brighten(-.1).get(), | ||
vertexes:[{x:l,y:g,z:q},{x:l,y:g,z:r},{x:f,y:h,z:0},{x:f,y:h,z:c}],enabled:a.bottom.visible&&!a.right.visible},{fill:d.color(a.bottom.color).get(),vertexes:[{x:l,y:g,z:r},{x:n,y:g,z:r},{x:e,y:h,z:0},{x:f,y:h,z:0}],enabled:a.bottom.visible&&!a.front.visible},{fill:d.color(a.bottom.color).get(),vertexes:[{x:n,y:g,z:q},{x:l,y:g,z:q},{x:f,y:h,z:c},{x:e,y:h,z:c}],enabled:a.bottom.visible&&!a.back.visible}]});this.frameShapes.top[p]({"class":"highcharts-3d-frame highcharts-3d-frame-top",zIndex:a.top.frontFacing? | ||
-1E3:1E3,faces:[{fill:d.color(a.top.color).brighten(.1).get(),vertexes:[{x:n,y:m,z:q},{x:l,y:m,z:q},{x:l,y:m,z:r},{x:n,y:m,z:r}],enabled:a.top.visible},{fill:d.color(a.top.color).brighten(.1).get(),vertexes:[{x:e,y:k,z:0},{x:f,y:k,z:0},{x:f,y:k,z:c},{x:e,y:k,z:c}],enabled:a.top.visible},{fill:d.color(a.top.color).brighten(-.1).get(),vertexes:[{x:n,y:m,z:q},{x:n,y:m,z:r},{x:e,y:k,z:0},{x:e,y:k,z:c}],enabled:a.top.visible&&!a.left.visible},{fill:d.color(a.top.color).brighten(-.1).get(),vertexes:[{x:l, | ||
y:m,z:r},{x:l,y:m,z:q},{x:f,y:k,z:c},{x:f,y:k,z:0}],enabled:a.top.visible&&!a.right.visible},{fill:d.color(a.top.color).get(),vertexes:[{x:n,y:m,z:r},{x:l,y:m,z:r},{x:f,y:k,z:0},{x:e,y:k,z:0}],enabled:a.top.visible&&!a.front.visible},{fill:d.color(a.top.color).get(),vertexes:[{x:l,y:m,z:q},{x:n,y:m,z:q},{x:e,y:k,z:c},{x:f,y:k,z:c}],enabled:a.top.visible&&!a.back.visible}]});this.frameShapes.left[p]({"class":"highcharts-3d-frame highcharts-3d-frame-left",zIndex:a.left.frontFacing?-1E3:1E3,faces:[{fill:d.color(a.left.color).brighten(.1).get(), | ||
vertexes:[{x:n,y:g,z:r},{x:e,y:h,z:0},{x:e,y:h,z:c},{x:n,y:g,z:q}],enabled:a.left.visible&&!a.bottom.visible},{fill:d.color(a.left.color).brighten(.1).get(),vertexes:[{x:n,y:m,z:q},{x:e,y:k,z:c},{x:e,y:k,z:0},{x:n,y:m,z:r}],enabled:a.left.visible&&!a.top.visible},{fill:d.color(a.left.color).brighten(-.1).get(),vertexes:[{x:n,y:g,z:q},{x:n,y:m,z:q},{x:n,y:m,z:r},{x:n,y:g,z:r}],enabled:a.left.visible},{fill:d.color(a.left.color).brighten(-.1).get(),vertexes:[{x:e,y:k,z:c},{x:e,y:h,z:c},{x:e,y:h,z:0}, | ||
{x:e,y:k,z:0}],enabled:a.left.visible},{fill:d.color(a.left.color).get(),vertexes:[{x:n,y:g,z:r},{x:n,y:m,z:r},{x:e,y:k,z:0},{x:e,y:h,z:0}],enabled:a.left.visible&&!a.front.visible},{fill:d.color(a.left.color).get(),vertexes:[{x:n,y:m,z:q},{x:n,y:g,z:q},{x:e,y:h,z:c},{x:e,y:k,z:c}],enabled:a.left.visible&&!a.back.visible}]});this.frameShapes.right[p]({"class":"highcharts-3d-frame highcharts-3d-frame-right",zIndex:a.right.frontFacing?-1E3:1E3,faces:[{fill:d.color(a.right.color).brighten(.1).get(), | ||
vertexes:[{x:l,y:g,z:q},{x:f,y:h,z:c},{x:f,y:h,z:0},{x:l,y:g,z:r}],enabled:a.right.visible&&!a.bottom.visible},{fill:d.color(a.right.color).brighten(.1).get(),vertexes:[{x:l,y:m,z:r},{x:f,y:k,z:0},{x:f,y:k,z:c},{x:l,y:m,z:q}],enabled:a.right.visible&&!a.top.visible},{fill:d.color(a.right.color).brighten(-.1).get(),vertexes:[{x:f,y:k,z:0},{x:f,y:h,z:0},{x:f,y:h,z:c},{x:f,y:k,z:c}],enabled:a.right.visible},{fill:d.color(a.right.color).brighten(-.1).get(),vertexes:[{x:l,y:g,z:r},{x:l,y:m,z:r},{x:l,y:m, | ||
z:q},{x:l,y:g,z:q}],enabled:a.right.visible},{fill:d.color(a.right.color).get(),vertexes:[{x:l,y:m,z:r},{x:l,y:g,z:r},{x:f,y:h,z:0},{x:f,y:k,z:0}],enabled:a.right.visible&&!a.front.visible},{fill:d.color(a.right.color).get(),vertexes:[{x:l,y:g,z:q},{x:l,y:m,z:q},{x:f,y:k,z:c},{x:f,y:h,z:c}],enabled:a.right.visible&&!a.back.visible}]});this.frameShapes.back[p]({"class":"highcharts-3d-frame highcharts-3d-frame-back",zIndex:a.back.frontFacing?-1E3:1E3,faces:[{fill:d.color(a.back.color).brighten(.1).get(), | ||
vertexes:[{x:l,y:g,z:q},{x:n,y:g,z:q},{x:e,y:h,z:c},{x:f,y:h,z:c}],enabled:a.back.visible&&!a.bottom.visible},{fill:d.color(a.back.color).brighten(.1).get(),vertexes:[{x:n,y:m,z:q},{x:l,y:m,z:q},{x:f,y:k,z:c},{x:e,y:k,z:c}],enabled:a.back.visible&&!a.top.visible},{fill:d.color(a.back.color).brighten(-.1).get(),vertexes:[{x:n,y:g,z:q},{x:n,y:m,z:q},{x:e,y:k,z:c},{x:e,y:h,z:c}],enabled:a.back.visible&&!a.left.visible},{fill:d.color(a.back.color).brighten(-.1).get(),vertexes:[{x:l,y:m,z:q},{x:l,y:g, | ||
z:q},{x:f,y:h,z:c},{x:f,y:k,z:c}],enabled:a.back.visible&&!a.right.visible},{fill:d.color(a.back.color).get(),vertexes:[{x:e,y:k,z:c},{x:f,y:k,z:c},{x:f,y:h,z:c},{x:e,y:h,z:c}],enabled:a.back.visible},{fill:d.color(a.back.color).get(),vertexes:[{x:n,y:g,z:q},{x:l,y:g,z:q},{x:l,y:m,z:q},{x:n,y:m,z:q}],enabled:a.back.visible}]});this.frameShapes.front[p]({"class":"highcharts-3d-frame highcharts-3d-frame-front",zIndex:a.front.frontFacing?-1E3:1E3,faces:[{fill:d.color(a.front.color).brighten(.1).get(), | ||
vertexes:[{x:n,y:g,z:r},{x:l,y:g,z:r},{x:f,y:h,z:0},{x:e,y:h,z:0}],enabled:a.front.visible&&!a.bottom.visible},{fill:d.color(a.front.color).brighten(.1).get(),vertexes:[{x:l,y:m,z:r},{x:n,y:m,z:r},{x:e,y:k,z:0},{x:f,y:k,z:0}],enabled:a.front.visible&&!a.top.visible},{fill:d.color(a.front.color).brighten(-.1).get(),vertexes:[{x:n,y:m,z:r},{x:n,y:g,z:r},{x:e,y:h,z:0},{x:e,y:k,z:0}],enabled:a.front.visible&&!a.left.visible},{fill:d.color(a.front.color).brighten(-.1).get(),vertexes:[{x:l,y:g,z:r},{x:l, | ||
y:m,z:r},{x:f,y:k,z:0},{x:f,y:h,z:0}],enabled:a.front.visible&&!a.right.visible},{fill:d.color(a.front.color).get(),vertexes:[{x:f,y:k,z:0},{x:e,y:k,z:0},{x:e,y:h,z:0},{x:f,y:h,z:0}],enabled:a.front.visible},{fill:d.color(a.front.color).get(),vertexes:[{x:l,y:g,z:r},{x:n,y:g,z:r},{x:n,y:m,z:r},{x:l,y:m,z:r}],enabled:a.front.visible}]})}}function q(){this.styledMode&&(this.renderer.definition({tagName:"style",textContent:".highcharts-3d-top{filter: url(#highcharts-brighter)}\n.highcharts-3d-side{filter: url(#highcharts-darker)}\n"}), | ||
[{name:"darker",slope:.6},{name:"brighter",slope:1.4}].forEach(function(b){this.renderer.definition({tagName:"filter",attributes:{id:"highcharts-"+b.name},children:[{tagName:"feComponentTransfer",children:[{tagName:"feFuncR",attributes:{type:"linear",slope:b.slope}},{tagName:"feFuncG",attributes:{type:"linear",slope:b.slope}},{tagName:"feFuncB",attributes:{type:"linear",slope:b.slope}}]}]})},this))}function p(){var b=this.options;this.is3d()&&(b.series||[]).forEach(function(a){"scatter"===(a.type|| | ||
"Setter"]=function(b,c){h[c]=b;["out","inn","side1","side2","top"].forEach(function(e){h[e].attr(c,b)})}});h.attr=function(b){var c;if("object"===typeof b&&(c=e(b))){var f=c[0];arguments[0]=c[1];g(h.attribs,f);h.setPaths(h.attribs)}return d.prototype.attr.apply(h,arguments)};h.animate=function(b,c,g){var a=this.attribs,k="data-"+Math.random().toString(26).substring(2,9);delete b.center;delete b.z;delete b.alpha;delete b.beta;var z=l(f(c,this.renderer.globalAnimation));if(z.duration){c=e(b);h[k]=0; | ||
b[k]=1;h[k+"Setter"]=u.noop;if(c){var F=c[0];z.step=function(b,c){function e(b){return a[b]+(f(F[b],a[b])-a[b])*c.pos}c.prop===k&&c.elem.setPaths(r(a,{x:e("x"),y:e("y"),r:e("r"),innerR:e("innerR"),start:e("start"),end:e("end"),depth:e("depth")}))}}c=z}return d.prototype.animate.call(this,b,c,g)};h.destroy=function(){this.top.destroy();this.out.destroy();this.inn.destroy();this.side1.destroy();this.side2.destroy();return d.prototype.destroy.call(this)};h.hide=function(){this.top.hide();this.out.hide(); | ||
this.inn.hide();this.side1.hide();this.side2.hide()};h.show=function(b){this.top.show(b);this.out.show(b);this.inn.show(b);this.side1.show(b);this.side2.show(b)};return h};t.prototype.arc3dPath=function(b){function c(b){b%=2*Math.PI;b>Math.PI&&(b=2*Math.PI-b);return b}var e=b.x,f=b.y,d=b.start,g=b.end-.00001,a=b.r,r=b.innerR||0,k=b.depth||0,y=b.alpha,z=b.beta,F=Math.cos(d),p=Math.sin(d);b=Math.cos(g);var l=Math.sin(g),A=a*Math.cos(z);a*=Math.cos(y);var B=r*Math.cos(z),m=r*Math.cos(y);r=k*Math.sin(z); | ||
var t=k*Math.sin(y);k=[["M",e+A*F,f+a*p]];k=k.concat(n(e,f,A,a,d,g,0,0));k.push(["L",e+B*b,f+m*l]);k=k.concat(n(e,f,B,m,g,d,0,0));k.push(["Z"]);var x=0<z?Math.PI/2:0;z=0<y?0:Math.PI/2;x=d>-x?d:g>-x?-x:d;var E=g<K-z?g:d<K-z?K-z:g,v=2*K-z;y=[["M",e+A*H(x),f+a*J(x)]];y=y.concat(n(e,f,A,a,x,E,0,0));g>v&&d<v?(y.push(["L",e+A*H(E)+r,f+a*J(E)+t]),y=y.concat(n(e,f,A,a,E,v,r,t)),y.push(["L",e+A*H(v),f+a*J(v)]),y=y.concat(n(e,f,A,a,v,g,0,0)),y.push(["L",e+A*H(g)+r,f+a*J(g)+t]),y=y.concat(n(e,f,A,a,g,v,r,t)), | ||
y.push(["L",e+A*H(v),f+a*J(v)]),y=y.concat(n(e,f,A,a,v,E,0,0))):g>K-z&&d<K-z&&(y.push(["L",e+A*Math.cos(E)+r,f+a*Math.sin(E)+t]),y=y.concat(n(e,f,A,a,E,g,r,t)),y.push(["L",e+A*Math.cos(g),f+a*Math.sin(g)]),y=y.concat(n(e,f,A,a,g,E,0,0)));y.push(["L",e+A*Math.cos(E)+r,f+a*Math.sin(E)+t]);y=y.concat(n(e,f,A,a,E,x,r,t));y.push(["Z"]);z=[["M",e+B*F,f+m*p]];z=z.concat(n(e,f,B,m,d,g,0,0));z.push(["L",e+B*Math.cos(g)+r,f+m*Math.sin(g)+t]);z=z.concat(n(e,f,B,m,g,d,r,t));z.push(["Z"]);F=[["M",e+A*F,f+a*p], | ||
["L",e+A*F+r,f+a*p+t],["L",e+B*F+r,f+m*p+t],["L",e+B*F,f+m*p],["Z"]];e=[["M",e+A*b,f+a*l],["L",e+A*b+r,f+a*l+t],["L",e+B*b+r,f+m*l+t],["L",e+B*b,f+m*l],["Z"]];l=Math.atan2(t,-r);f=Math.abs(g+l);b=Math.abs(d+l);d=Math.abs((d+g)/2+l);f=c(f);b=c(b);d=c(d);d*=1E5;g=1E5*b;f*=1E5;return{top:k,zTop:1E5*Math.PI+1,out:y,zOut:Math.max(d,g,f),inn:z,zInn:Math.max(d,g,f),side1:F,zSide1:.99*f,side2:e,zSide2:.99*g}};return t});D(a,"Core/Axis/Tick3D.js",[a["Core/Utilities.js"]],function(a){var q=a.addEvent,u=a.extend, | ||
G=a.wrap;return function(){function d(){}d.compose=function(a){q(a,"afterGetLabelPosition",d.onAfterGetLabelPosition);G(a.prototype,"getMarkPath",d.wrapGetMarkPath)};d.onAfterGetLabelPosition=function(a){var d=this.axis.axis3D;d&&u(a.pos,d.fix3dPosition(a.pos))};d.wrapGetMarkPath=function(a){var d=this.axis.axis3D,v=a.apply(this,[].slice.call(arguments,1));if(d){var n=v[0],l=v[1];if("M"===n[0]&&"L"===l[0])return d=[d.fix3dPosition({x:n[1],y:n[2],z:0}),d.fix3dPosition({x:l[1],y:l[2],z:0})],this.axis.chart.renderer.toLineSegments(d)}return v}; | ||
return d}()});D(a,"Core/Axis/Axis3D.js",[a["Core/Globals.js"],a["Extensions/Math3D.js"],a["Core/Axis/Tick.js"],a["Core/Axis/Tick3D.js"],a["Core/Utilities.js"]],function(a,q,u,C,d){var v=q.perspective,t=q.perspective3D,w=q.shapeArea,n=d.addEvent,l=d.merge,c=d.pick,b=d.wrap,p=a.deg2rad,m=function(){function b(b){this.axis=b}b.prototype.fix3dPosition=function(b,d){var e=this.axis,f=e.chart;if("colorAxis"===e.coll||!f.chart3d||!f.is3d())return b;var a=p*f.options.chart.options3d.alpha,g=p*f.options.chart.options3d.beta, | ||
l=c(d&&e.options.title.position3d,e.options.labels.position3d);d=c(d&&e.options.title.skew3d,e.options.labels.skew3d);var m=f.chart3d.frame3d,k=f.plotLeft,t=f.plotWidth+k,h=f.plotTop,n=f.plotHeight+h;f=!1;var x=0,u=0,q={x:0,y:1,z:0};b=e.axis3D.swapZ({x:b.x,y:b.y,z:0});if(e.isZAxis)if(e.opposite){if(null===m.axes.z.top)return{};u=b.y-h;b.x=m.axes.z.top.x;b.y=m.axes.z.top.y;k=m.axes.z.top.xDir;f=!m.top.frontFacing}else{if(null===m.axes.z.bottom)return{};u=b.y-n;b.x=m.axes.z.bottom.x;b.y=m.axes.z.bottom.y; | ||
k=m.axes.z.bottom.xDir;f=!m.bottom.frontFacing}else if(e.horiz)if(e.opposite){if(null===m.axes.x.top)return{};u=b.y-h;b.y=m.axes.x.top.y;b.z=m.axes.x.top.z;k=m.axes.x.top.xDir;f=!m.top.frontFacing}else{if(null===m.axes.x.bottom)return{};u=b.y-n;b.y=m.axes.x.bottom.y;b.z=m.axes.x.bottom.z;k=m.axes.x.bottom.xDir;f=!m.bottom.frontFacing}else if(e.opposite){if(null===m.axes.y.right)return{};x=b.x-t;b.x=m.axes.y.right.x;b.z=m.axes.y.right.z;k=m.axes.y.right.xDir;k={x:k.z,y:k.y,z:-k.x}}else{if(null===m.axes.y.left)return{}; | ||
x=b.x-k;b.x=m.axes.y.left.x;b.z=m.axes.y.left.z;k=m.axes.y.left.xDir}"chart"!==l&&("flap"===l?e.horiz?(g=Math.sin(a),a=Math.cos(a),e.opposite&&(g=-g),f&&(g=-g),q={x:k.z*g,y:a,z:-k.x*g}):k={x:Math.cos(g),y:0,z:Math.sin(g)}:"ortho"===l?e.horiz?(q=Math.cos(a),l=Math.sin(g)*q,a=-Math.sin(a),g=-q*Math.cos(g),q={x:k.y*g-k.z*a,y:k.z*l-k.x*g,z:k.x*a-k.y*l},a=1/Math.sqrt(q.x*q.x+q.y*q.y+q.z*q.z),f&&(a=-a),q={x:a*q.x,y:a*q.y,z:a*q.z}):k={x:Math.cos(g),y:0,z:Math.sin(g)}:e.horiz?q={x:Math.sin(g)*Math.sin(a), | ||
y:Math.cos(a),z:-Math.cos(g)*Math.sin(a)}:k={x:Math.cos(g),y:0,z:Math.sin(g)});b.x+=x*k.x+u*q.x;b.y+=x*k.y+u*q.y;b.z+=x*k.z+u*q.z;f=v([b],e.chart)[0];d&&(0>w(v([b,{x:b.x+k.x,y:b.y+k.y,z:b.z+k.z},{x:b.x+q.x,y:b.y+q.y,z:b.z+q.z}],e.chart))&&(k={x:-k.x,y:-k.y,z:-k.z}),b=v([{x:b.x,y:b.y,z:b.z},{x:b.x+k.x,y:b.y+k.y,z:b.z+k.z},{x:b.x+q.x,y:b.y+q.y,z:b.z+q.z}],e.chart),f.matrix=[b[1].x-b[0].x,b[1].y-b[0].y,b[2].x-b[0].x,b[2].y-b[0].y,f.x,f.y],f.matrix[4]-=f.x*f.matrix[0]+f.y*f.matrix[2],f.matrix[5]-=f.x* | ||
f.matrix[1]+f.y*f.matrix[3]);return f};b.prototype.swapZ=function(b,c){var e=this.axis;return e.isZAxis?(c=c?0:e.chart.plotLeft,{x:c+b.z,y:b.y,z:b.x-c}):b};return b}();return function(){function a(){}a.compose=function(c){l(!0,c.defaultOptions,a.defaultOptions);c.keepProps.push("axis3D");n(c,"init",a.onInit);n(c,"afterSetOptions",a.onAfterSetOptions);n(c,"drawCrosshair",a.onDrawCrosshair);n(c,"destroy",a.onDestroy);c=c.prototype;b(c,"getLinePath",a.wrapGetLinePath);b(c,"getPlotBandPath",a.wrapGetPlotBandPath); | ||
b(c,"getPlotLinePath",a.wrapGetPlotLinePath);b(c,"getSlotWidth",a.wrapGetSlotWidth);b(c,"getTitlePosition",a.wrapGetTitlePosition);C.compose(u)};a.onAfterSetOptions=function(){var b=this.chart,a=this.options;b.is3d&&b.is3d()&&"colorAxis"!==this.coll&&(a.tickWidth=c(a.tickWidth,0),a.gridLineWidth=c(a.gridLineWidth,1))};a.onDestroy=function(){["backFrame","bottomFrame","sideFrame"].forEach(function(b){this[b]&&(this[b]=this[b].destroy())},this)};a.onDrawCrosshair=function(b){this.chart.is3d()&&"colorAxis"!== | ||
this.coll&&b.point&&(b.point.crosshairPos=this.isXAxis?b.point.axisXpos:this.len-b.point.axisYpos)};a.onInit=function(){this.axis3D||(this.axis3D=new m(this))};a.wrapGetLinePath=function(b){return this.chart.is3d()&&"colorAxis"!==this.coll?[]:b.apply(this,[].slice.call(arguments,1))};a.wrapGetPlotBandPath=function(b){if(!this.chart.is3d()||"colorAxis"===this.coll)return b.apply(this,[].slice.call(arguments,1));var c=arguments,a=c[2],f=[];c=this.getPlotLinePath({value:c[1]});a=this.getPlotLinePath({value:a}); | ||
if(c&&a)for(var e=0;e<c.length;e+=2){var d=c[e],m=c[e+1],l=a[e],k=a[e+1];"M"===d[0]&&"L"===m[0]&&"M"===l[0]&&"L"===k[0]&&f.push(d,m,k,["L",l[1],l[2]],["Z"])}return f};a.wrapGetPlotLinePath=function(b){var c=this.axis3D,a=this.chart,e=b.apply(this,[].slice.call(arguments,1));if("colorAxis"===this.coll||!a.chart3d||!a.is3d()||null===e)return e;var d=a.options.chart.options3d,m=this.isZAxis?a.plotWidth:d.depth;d=a.chart3d.frame3d;var l=e[0],p=e[1];e=[];"M"===l[0]&&"L"===p[0]&&(c=[c.swapZ({x:l[1],y:l[2], | ||
z:0}),c.swapZ({x:l[1],y:l[2],z:m}),c.swapZ({x:p[1],y:p[2],z:0}),c.swapZ({x:p[1],y:p[2],z:m})],this.horiz?(this.isZAxis?(d.left.visible&&e.push(c[0],c[2]),d.right.visible&&e.push(c[1],c[3])):(d.front.visible&&e.push(c[0],c[2]),d.back.visible&&e.push(c[1],c[3])),d.top.visible&&e.push(c[0],c[1]),d.bottom.visible&&e.push(c[2],c[3])):(d.front.visible&&e.push(c[0],c[2]),d.back.visible&&e.push(c[1],c[3]),d.left.visible&&e.push(c[0],c[1]),d.right.visible&&e.push(c[2],c[3])),e=v(e,this.chart,!1));return a.renderer.toLineSegments(e)}; | ||
a.wrapGetSlotWidth=function(b,a){var e=this.chart,d=this.ticks,g=this.gridGroup;if(this.categories&&e.frameShapes&&e.is3d()&&g&&a&&a.label){g=g.element.childNodes[0].getBBox();var m=e.frameShapes.left.getBBox(),l=e.options.chart.options3d;e={x:e.plotWidth/2,y:e.plotHeight/2,z:l.depth/2,vd:c(l.depth,1)*c(l.viewDistance,0)};var p,k;l=a.pos;var n=d[l-1];d=d[l+1];0!==l&&n&&n.label&&n.label.xy&&(p=t({x:n.label.xy.x,y:n.label.xy.y,z:null},e,e.vd));d&&d.label&&d.label.xy&&(k=t({x:d.label.xy.x,y:d.label.xy.y, | ||
z:null},e,e.vd));d={x:a.label.xy.x,y:a.label.xy.y,z:null};d=t(d,e,e.vd);return Math.abs(p?d.x-p.x:k?k.x-d.x:g.x-m.x)}return b.apply(this,[].slice.call(arguments,1))};a.wrapGetTitlePosition=function(b){var c=b.apply(this,[].slice.call(arguments,1));return this.axis3D?this.axis3D.fix3dPosition(c,!0):c};a.defaultOptions={labels:{position3d:"offset",skew3d:!1},title:{position3d:null,skew3d:null}};return a}()});D(a,"Core/Axis/ZAxis.js",[a["Core/Axis/Axis.js"],a["Core/Utilities.js"]],function(a,q){var u= | ||
this&&this.__extends||function(){var a=function(c,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,c){b.__proto__=c}||function(b,c){for(var a in c)c.hasOwnProperty(a)&&(b[a]=c[a])};return a(c,b)};return function(c,b){function d(){this.constructor=c}a(c,b);c.prototype=null===b?Object.create(b):(d.prototype=b.prototype,new d)}}(),G=q.addEvent,d=q.merge,v=q.pick,t=q.splat,w=function(){function a(){}a.compose=function(c){G(c,"afterGetAxes",a.onAfterGetAxes);c=c.prototype;c.addZAxis= | ||
a.wrapAddZAxis;c.collectionsWithInit.zAxis=[c.addZAxis];c.collectionsWithUpdate.push("zAxis")};a.onAfterGetAxes=function(){var c=this,b=this.options;b=b.zAxis=t(b.zAxis||{});c.is3d()&&(c.zAxis=[],b.forEach(function(b,a){b.index=a;b.isX=!0;c.addZAxis(b).setScale()}))};a.wrapAddZAxis=function(c){return new n(this,c)};return a}(),n=function(a){function c(b,c){b=a.call(this,b,c)||this;b.isZAxis=!0;return b}u(c,a);c.prototype.getSeriesExtremes=function(){var b=this,c=b.chart;b.hasVisibleSeries=!1;b.dataMin= | ||
b.dataMax=b.ignoreMinPadding=b.ignoreMaxPadding=void 0;b.stacking&&b.stacking.buildStacks();b.series.forEach(function(a){!a.visible&&c.options.chart&&c.options.chart.ignoreHiddenSeries||(b.hasVisibleSeries=!0,a=a.zData,a.length&&(b.dataMin=Math.min(v(b.dataMin,a[0]),Math.min.apply(null,a)),b.dataMax=Math.max(v(b.dataMax,a[0]),Math.max.apply(null,a))))})};c.prototype.setAxisSize=function(){var b=this.chart;a.prototype.setAxisSize.call(this);this.width=this.len=b.options.chart&&b.options.chart.options3d&& | ||
b.options.chart.options3d.depth||0;this.right=b.chartWidth-this.width-this.left};c.prototype.setOptions=function(b){b=d({offset:0,lineWidth:0},b);this.isZAxis=!0;a.prototype.setOptions.call(this,b);this.coll="zAxis"};c.ZChartComposition=w;return c}(a);return n});D(a,"Core/Chart/Chart3D.js",[a["Core/Axis/Axis.js"],a["Core/Axis/Axis3D.js"],a["Core/Chart/Chart.js"],a["Core/Animation/Fx.js"],a["Core/Globals.js"],a["Extensions/Math3D.js"],a["Core/Options.js"],a["Core/Utilities.js"],a["Core/Axis/ZAxis.js"]], | ||
function(a,q,u,C,d,v,t,w,n){var l=v.perspective,c=v.shapeArea3D,b=t.defaultOptions,p=w.addEvent,m=w.isArray,x=w.merge,e=w.pick,g=w.wrap,r;(function(a){function f(b){this.is3d()&&"scatter"===b.options.type&&(b.options.type="scatter3d")}function r(){if(this.chart3d&&this.is3d()){var b=this.renderer,c=this.options.chart.options3d,a=this.chart3d.get3dFrame(),e=this.plotLeft,f=this.plotLeft+this.plotWidth,g=this.plotTop,k=this.plotTop+this.plotHeight;c=c.depth;var h=e-(a.left.visible?a.left.size:0),l= | ||
f+(a.right.visible?a.right.size:0),m=g-(a.top.visible?a.top.size:0),p=k+(a.bottom.visible?a.bottom.size:0),r=0-(a.front.visible?a.front.size:0),n=c+(a.back.visible?a.back.size:0),t=this.hasRendered?"animate":"attr";this.chart3d.frame3d=a;this.frameShapes||(this.frameShapes={bottom:b.polyhedron().add(),top:b.polyhedron().add(),left:b.polyhedron().add(),right:b.polyhedron().add(),back:b.polyhedron().add(),front:b.polyhedron().add()});this.frameShapes.bottom[t]({"class":"highcharts-3d-frame highcharts-3d-frame-bottom", | ||
zIndex:a.bottom.frontFacing?-1E3:1E3,faces:[{fill:d.color(a.bottom.color).brighten(.1).get(),vertexes:[{x:h,y:p,z:r},{x:l,y:p,z:r},{x:l,y:p,z:n},{x:h,y:p,z:n}],enabled:a.bottom.visible},{fill:d.color(a.bottom.color).brighten(.1).get(),vertexes:[{x:e,y:k,z:c},{x:f,y:k,z:c},{x:f,y:k,z:0},{x:e,y:k,z:0}],enabled:a.bottom.visible},{fill:d.color(a.bottom.color).brighten(-.1).get(),vertexes:[{x:h,y:p,z:r},{x:h,y:p,z:n},{x:e,y:k,z:c},{x:e,y:k,z:0}],enabled:a.bottom.visible&&!a.left.visible},{fill:d.color(a.bottom.color).brighten(-.1).get(), | ||
vertexes:[{x:l,y:p,z:n},{x:l,y:p,z:r},{x:f,y:k,z:0},{x:f,y:k,z:c}],enabled:a.bottom.visible&&!a.right.visible},{fill:d.color(a.bottom.color).get(),vertexes:[{x:l,y:p,z:r},{x:h,y:p,z:r},{x:e,y:k,z:0},{x:f,y:k,z:0}],enabled:a.bottom.visible&&!a.front.visible},{fill:d.color(a.bottom.color).get(),vertexes:[{x:h,y:p,z:n},{x:l,y:p,z:n},{x:f,y:k,z:c},{x:e,y:k,z:c}],enabled:a.bottom.visible&&!a.back.visible}]});this.frameShapes.top[t]({"class":"highcharts-3d-frame highcharts-3d-frame-top",zIndex:a.top.frontFacing? | ||
-1E3:1E3,faces:[{fill:d.color(a.top.color).brighten(.1).get(),vertexes:[{x:h,y:m,z:n},{x:l,y:m,z:n},{x:l,y:m,z:r},{x:h,y:m,z:r}],enabled:a.top.visible},{fill:d.color(a.top.color).brighten(.1).get(),vertexes:[{x:e,y:g,z:0},{x:f,y:g,z:0},{x:f,y:g,z:c},{x:e,y:g,z:c}],enabled:a.top.visible},{fill:d.color(a.top.color).brighten(-.1).get(),vertexes:[{x:h,y:m,z:n},{x:h,y:m,z:r},{x:e,y:g,z:0},{x:e,y:g,z:c}],enabled:a.top.visible&&!a.left.visible},{fill:d.color(a.top.color).brighten(-.1).get(),vertexes:[{x:l, | ||
y:m,z:r},{x:l,y:m,z:n},{x:f,y:g,z:c},{x:f,y:g,z:0}],enabled:a.top.visible&&!a.right.visible},{fill:d.color(a.top.color).get(),vertexes:[{x:h,y:m,z:r},{x:l,y:m,z:r},{x:f,y:g,z:0},{x:e,y:g,z:0}],enabled:a.top.visible&&!a.front.visible},{fill:d.color(a.top.color).get(),vertexes:[{x:l,y:m,z:n},{x:h,y:m,z:n},{x:e,y:g,z:c},{x:f,y:g,z:c}],enabled:a.top.visible&&!a.back.visible}]});this.frameShapes.left[t]({"class":"highcharts-3d-frame highcharts-3d-frame-left",zIndex:a.left.frontFacing?-1E3:1E3,faces:[{fill:d.color(a.left.color).brighten(.1).get(), | ||
vertexes:[{x:h,y:p,z:r},{x:e,y:k,z:0},{x:e,y:k,z:c},{x:h,y:p,z:n}],enabled:a.left.visible&&!a.bottom.visible},{fill:d.color(a.left.color).brighten(.1).get(),vertexes:[{x:h,y:m,z:n},{x:e,y:g,z:c},{x:e,y:g,z:0},{x:h,y:m,z:r}],enabled:a.left.visible&&!a.top.visible},{fill:d.color(a.left.color).brighten(-.1).get(),vertexes:[{x:h,y:p,z:n},{x:h,y:m,z:n},{x:h,y:m,z:r},{x:h,y:p,z:r}],enabled:a.left.visible},{fill:d.color(a.left.color).brighten(-.1).get(),vertexes:[{x:e,y:g,z:c},{x:e,y:k,z:c},{x:e,y:k,z:0}, | ||
{x:e,y:g,z:0}],enabled:a.left.visible},{fill:d.color(a.left.color).get(),vertexes:[{x:h,y:p,z:r},{x:h,y:m,z:r},{x:e,y:g,z:0},{x:e,y:k,z:0}],enabled:a.left.visible&&!a.front.visible},{fill:d.color(a.left.color).get(),vertexes:[{x:h,y:m,z:n},{x:h,y:p,z:n},{x:e,y:k,z:c},{x:e,y:g,z:c}],enabled:a.left.visible&&!a.back.visible}]});this.frameShapes.right[t]({"class":"highcharts-3d-frame highcharts-3d-frame-right",zIndex:a.right.frontFacing?-1E3:1E3,faces:[{fill:d.color(a.right.color).brighten(.1).get(), | ||
vertexes:[{x:l,y:p,z:n},{x:f,y:k,z:c},{x:f,y:k,z:0},{x:l,y:p,z:r}],enabled:a.right.visible&&!a.bottom.visible},{fill:d.color(a.right.color).brighten(.1).get(),vertexes:[{x:l,y:m,z:r},{x:f,y:g,z:0},{x:f,y:g,z:c},{x:l,y:m,z:n}],enabled:a.right.visible&&!a.top.visible},{fill:d.color(a.right.color).brighten(-.1).get(),vertexes:[{x:f,y:g,z:0},{x:f,y:k,z:0},{x:f,y:k,z:c},{x:f,y:g,z:c}],enabled:a.right.visible},{fill:d.color(a.right.color).brighten(-.1).get(),vertexes:[{x:l,y:p,z:r},{x:l,y:m,z:r},{x:l,y:m, | ||
z:n},{x:l,y:p,z:n}],enabled:a.right.visible},{fill:d.color(a.right.color).get(),vertexes:[{x:l,y:m,z:r},{x:l,y:p,z:r},{x:f,y:k,z:0},{x:f,y:g,z:0}],enabled:a.right.visible&&!a.front.visible},{fill:d.color(a.right.color).get(),vertexes:[{x:l,y:p,z:n},{x:l,y:m,z:n},{x:f,y:g,z:c},{x:f,y:k,z:c}],enabled:a.right.visible&&!a.back.visible}]});this.frameShapes.back[t]({"class":"highcharts-3d-frame highcharts-3d-frame-back",zIndex:a.back.frontFacing?-1E3:1E3,faces:[{fill:d.color(a.back.color).brighten(.1).get(), | ||
vertexes:[{x:l,y:p,z:n},{x:h,y:p,z:n},{x:e,y:k,z:c},{x:f,y:k,z:c}],enabled:a.back.visible&&!a.bottom.visible},{fill:d.color(a.back.color).brighten(.1).get(),vertexes:[{x:h,y:m,z:n},{x:l,y:m,z:n},{x:f,y:g,z:c},{x:e,y:g,z:c}],enabled:a.back.visible&&!a.top.visible},{fill:d.color(a.back.color).brighten(-.1).get(),vertexes:[{x:h,y:p,z:n},{x:h,y:m,z:n},{x:e,y:g,z:c},{x:e,y:k,z:c}],enabled:a.back.visible&&!a.left.visible},{fill:d.color(a.back.color).brighten(-.1).get(),vertexes:[{x:l,y:m,z:n},{x:l,y:p, | ||
z:n},{x:f,y:k,z:c},{x:f,y:g,z:c}],enabled:a.back.visible&&!a.right.visible},{fill:d.color(a.back.color).get(),vertexes:[{x:e,y:g,z:c},{x:f,y:g,z:c},{x:f,y:k,z:c},{x:e,y:k,z:c}],enabled:a.back.visible},{fill:d.color(a.back.color).get(),vertexes:[{x:h,y:p,z:n},{x:l,y:p,z:n},{x:l,y:m,z:n},{x:h,y:m,z:n}],enabled:a.back.visible}]});this.frameShapes.front[t]({"class":"highcharts-3d-frame highcharts-3d-frame-front",zIndex:a.front.frontFacing?-1E3:1E3,faces:[{fill:d.color(a.front.color).brighten(.1).get(), | ||
vertexes:[{x:h,y:p,z:r},{x:l,y:p,z:r},{x:f,y:k,z:0},{x:e,y:k,z:0}],enabled:a.front.visible&&!a.bottom.visible},{fill:d.color(a.front.color).brighten(.1).get(),vertexes:[{x:l,y:m,z:r},{x:h,y:m,z:r},{x:e,y:g,z:0},{x:f,y:g,z:0}],enabled:a.front.visible&&!a.top.visible},{fill:d.color(a.front.color).brighten(-.1).get(),vertexes:[{x:h,y:m,z:r},{x:h,y:p,z:r},{x:e,y:k,z:0},{x:e,y:g,z:0}],enabled:a.front.visible&&!a.left.visible},{fill:d.color(a.front.color).brighten(-.1).get(),vertexes:[{x:l,y:p,z:r},{x:l, | ||
y:m,z:r},{x:f,y:g,z:0},{x:f,y:k,z:0}],enabled:a.front.visible&&!a.right.visible},{fill:d.color(a.front.color).get(),vertexes:[{x:f,y:g,z:0},{x:e,y:g,z:0},{x:e,y:k,z:0},{x:f,y:k,z:0}],enabled:a.front.visible},{fill:d.color(a.front.color).get(),vertexes:[{x:l,y:p,z:r},{x:h,y:p,z:r},{x:h,y:m,z:r},{x:l,y:m,z:r}],enabled:a.front.visible}]})}}function n(){this.styledMode&&(this.renderer.definition({tagName:"style",textContent:".highcharts-3d-top{filter: url(#highcharts-brighter)}\n.highcharts-3d-side{filter: url(#highcharts-darker)}\n"}), | ||
[{name:"darker",slope:.6},{name:"brighter",slope:1.4}].forEach(function(b){this.renderer.definition({tagName:"filter",attributes:{id:"highcharts-"+b.name},children:[{tagName:"feComponentTransfer",children:[{tagName:"feFuncR",attributes:{type:"linear",slope:b.slope}},{tagName:"feFuncG",attributes:{type:"linear",slope:b.slope}},{tagName:"feFuncB",attributes:{type:"linear",slope:b.slope}}]}]})},this))}function t(){var b=this.options;this.is3d()&&(b.series||[]).forEach(function(a){"scatter"===(a.type|| | ||
b.chart.type||b.chart.defaultSeriesType)&&(a.type="scatter3d")})}function k(){var b=this.options.chart.options3d;if(this.chart3d&&this.is3d()){b&&(b.alpha=b.alpha%360+(0<=b.alpha?0:360),b.beta=b.beta%360+(0<=b.beta?0:360));var a=this.inverted,c=this.clipBox,e=this.margin;c[a?"y":"x"]=-(e[3]||0);c[a?"x":"y"]=-(e[0]||0);c[a?"height":"width"]=this.chartWidth+(e[3]||0)+(e[1]||0);c[a?"width":"height"]=this.chartHeight+(e[0]||0)+(e[2]||0);this.scale3d=1;!0===b.fitToPlot&&(this.scale3d=this.chart3d.getScale(b.depth)); | ||
this.chart3d.frame3d=this.chart3d.get3dFrame()}}function t(){this.is3d()&&(this.isDirtyBox=!0)}function h(){this.chart3d&&this.is3d()&&(this.chart3d.frame3d=this.chart3d.get3dFrame())}function v(){this.chart3d||(this.chart3d=new L(this))}function u(b){return this.is3d()||b.apply(this,[].slice.call(arguments,1))}function w(b){var a=this.series.length;if(this.is3d())for(;a--;)b=this.series[a],b.translate(),b.render();else b.call(this)}function x(b){b.apply(this,[].slice.call(arguments,1));this.is3d()&& | ||
(this.container.className+=" highcharts-3d-chart")}var L=function(){function b(b){this.frame3d=void 0;this.chart=b}b.prototype.get3dFrame=function(){var b=this.chart,a=b.options.chart.options3d,d=a.frame,f=b.plotLeft,k=b.plotLeft+b.plotWidth,h=b.plotTop,n=b.plotTop+b.plotHeight,m=a.depth,g=function(a){a=c(a,b);return.5<a?1:-.5>a?-1:0},r=g([{x:f,y:n,z:m},{x:k,y:n,z:m},{x:k,y:n,z:0},{x:f,y:n,z:0}]),q=g([{x:f,y:h,z:0},{x:k,y:h,z:0},{x:k,y:h,z:m},{x:f,y:h,z:m}]),p=g([{x:f,y:h,z:0},{x:f,y:h,z:m},{x:f, | ||
y:n,z:m},{x:f,y:n,z:0}]),t=g([{x:k,y:h,z:m},{x:k,y:h,z:0},{x:k,y:n,z:0},{x:k,y:n,z:m}]),v=g([{x:f,y:n,z:0},{x:k,y:n,z:0},{x:k,y:h,z:0},{x:f,y:h,z:0}]);g=g([{x:f,y:h,z:m},{x:k,y:h,z:m},{x:k,y:n,z:m},{x:f,y:n,z:m}]);var u=!1,H=!1,D=!1,w=!1;[].concat(b.xAxis,b.yAxis,b.zAxis).forEach(function(b){b&&(b.horiz?b.opposite?H=!0:u=!0:b.opposite?w=!0:D=!0)});var x=function(b,a,c){for(var d=["size","color","visible"],f={},k=0;k<d.length;k++)for(var n=d[k],h=0;h<b.length;h++)if("object"===typeof b[h]){var m=b[h][n]; | ||
if("undefined"!==typeof m&&null!==m){f[n]=m;break}}b=c;!0===f.visible||!1===f.visible?b=f.visible:"auto"===f.visible&&(b=0<a);return{size:e(f.size,1),color:e(f.color,"none"),frontFacing:0<a,visible:b}};d={axes:{},bottom:x([d.bottom,d.top,d],r,u),top:x([d.top,d.bottom,d],q,H),left:x([d.left,d.right,d.side,d],p,D),right:x([d.right,d.left,d.side,d],t,w),back:x([d.back,d.front,d],g,!0),front:x([d.front,d.back,d],v,!1)};"auto"===a.axisLabelPosition?(t=function(b,a){return b.visible!==a.visible||b.visible&& | ||
a.visible&&b.frontFacing!==a.frontFacing},a=[],t(d.left,d.front)&&a.push({y:(h+n)/2,x:f,z:0,xDir:{x:1,y:0,z:0}}),t(d.left,d.back)&&a.push({y:(h+n)/2,x:f,z:m,xDir:{x:0,y:0,z:-1}}),t(d.right,d.front)&&a.push({y:(h+n)/2,x:k,z:0,xDir:{x:0,y:0,z:1}}),t(d.right,d.back)&&a.push({y:(h+n)/2,x:k,z:m,xDir:{x:-1,y:0,z:0}}),r=[],t(d.bottom,d.front)&&r.push({x:(f+k)/2,y:n,z:0,xDir:{x:1,y:0,z:0}}),t(d.bottom,d.back)&&r.push({x:(f+k)/2,y:n,z:m,xDir:{x:-1,y:0,z:0}}),q=[],t(d.top,d.front)&&q.push({x:(f+k)/2,y:h,z:0, | ||
xDir:{x:1,y:0,z:0}}),t(d.top,d.back)&&q.push({x:(f+k)/2,y:h,z:m,xDir:{x:-1,y:0,z:0}}),p=[],t(d.bottom,d.left)&&p.push({z:(0+m)/2,y:n,x:f,xDir:{x:0,y:0,z:-1}}),t(d.bottom,d.right)&&p.push({z:(0+m)/2,y:n,x:k,xDir:{x:0,y:0,z:1}}),n=[],t(d.top,d.left)&&n.push({z:(0+m)/2,y:h,x:f,xDir:{x:0,y:0,z:-1}}),t(d.top,d.right)&&n.push({z:(0+m)/2,y:h,x:k,xDir:{x:0,y:0,z:1}}),f=function(a,c,d){if(0===a.length)return null;if(1===a.length)return a[0];for(var e=0,f=l(a,b,!1),k=1;k<f.length;k++)d*f[k][c]>d*f[e][c]?e= | ||
k:d*f[k][c]===d*f[e][c]&&f[k].z<f[e].z&&(e=k);return a[e]},d.axes={y:{left:f(a,"x",-1),right:f(a,"x",1)},x:{top:f(q,"y",-1),bottom:f(r,"y",1)},z:{top:f(n,"y",-1),bottom:f(p,"y",1)}}):d.axes={y:{left:{x:f,z:0,xDir:{x:1,y:0,z:0}},right:{x:k,z:0,xDir:{x:0,y:0,z:1}}},x:{top:{y:h,z:0,xDir:{x:1,y:0,z:0}},bottom:{y:n,z:0,xDir:{x:1,y:0,z:0}}},z:{top:{x:D?k:f,y:h,xDir:D?{x:0,y:0,z:1}:{x:0,y:0,z:-1}},bottom:{x:D?k:f,y:n,xDir:D?{x:0,y:0,z:1}:{x:0,y:0,z:-1}}}};return d};b.prototype.getScale=function(b){var a= | ||
this.chart,c=a.plotLeft,d=a.plotWidth+c,e=a.plotTop,f=a.plotHeight+e,k=c+a.plotWidth/2,h=e+a.plotHeight/2,n=Number.MAX_VALUE,m=-Number.MAX_VALUE,g=Number.MAX_VALUE,r=-Number.MAX_VALUE,q=1;var p=[{x:c,y:e,z:0},{x:c,y:e,z:b}];[0,1].forEach(function(b){p.push({x:d,y:p[b].y,z:p[b].z})});[0,1,2,3].forEach(function(b){p.push({x:p[b].x,y:f,z:p[b].z})});p=l(p,a,!1);p.forEach(function(b){n=Math.min(n,b.x);m=Math.max(m,b.x);g=Math.min(g,b.y);r=Math.max(r,b.y)});c>n&&(q=Math.min(q,1-Math.abs((c+k)/(n+k))%1)); | ||
d<m&&(q=Math.min(q,(d-k)/(m-k)));e>g&&(q=0>g?Math.min(q,(e+h)/(-g+e+h)):Math.min(q,1-(e+h)/(g+h)%1));f<r&&(q=Math.min(q,Math.abs((f-h)/(r-h))));return q};return b}();a.Composition=L;a.defaultOptions={chart:{options3d:{enabled:!1,alpha:0,beta:0,depth:100,fitToPlot:!0,viewDistance:25,axisLabelPosition:null,frame:{visible:"default",size:1,bottom:{},top:{},left:{},right:{},back:{},front:{}}}}};a.compose=function(c,e){var l=c.prototype;e=e.prototype;l.is3d=function(){return this.options.chart.options3d&& | ||
this.options.chart.options3d.enabled};l.propsRequireDirtyBox.push("chart.options3d");l.propsRequireUpdateSeries.push("chart.options3d");e.matrixSetter=function(){if(1>this.pos&&(r(this.start)||r(this.end))){var b=this.start||[1,0,0,1,0,0],a=this.end||[1,0,0,1,0,0];var c=[];for(var d=0;6>d;d++)c.push(this.pos*a[d]+(1-this.pos)*b[d])}else c=this.end;this.elem.attr(this.prop,c,null,!0)};B(!0,b,a.defaultOptions);m(c,"init",v);m(c,"addSeries",n);m(c,"afterDrawChartBox",g);m(c,"afterGetContainer",q);m(c, | ||
"afterInit",p);m(c,"afterSetChartSize",k);m(c,"beforeRedraw",t);m(c,"beforeRender",h);f(d.Chart.prototype,"isInsidePlot",u);f(c,"renderSeries",w);f(c,"setClassName",x)}})(q||(q={}));q.compose(p,v);t.ZChartComposition.compose(p);u.compose(a);"";return q});C(a,"Core/Series/Series3D.js",[a["Extensions/Math3D.js"],a["Core/Series/Series.js"],a["Core/Utilities.js"]],function(a,u,p){var v=this&&this.__extends||function(){var a=function(c,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b, | ||
a){b.__proto__=a}||function(b,a){for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c])};return a(c,b)};return function(c,b){function d(){this.constructor=c}a(c,b);c.prototype=null===b?Object.create(b):(d.prototype=b.prototype,new d)}}(),d=a.perspective;a=p.addEvent;var x=p.extend,g=p.merge,w=p.pick,t=p.isNumber;p=function(a){function c(){return null!==a&&a.apply(this,arguments)||this}v(c,a);c.prototype.translate=function(){a.prototype.translate.apply(this,arguments);this.chart.is3d()&&this.translate3dPoints()}; | ||
c.prototype.translate3dPoints=function(){var b=this.options,a=this.chart,c=w(this.zAxis,a.options.zAxis[0]),g=[],e,f=[];this.zPadding=(b.stacking?t(b.stack)?b.stack:0:this.index||0)*(b.depth||0+(b.groupZPadding||1));for(e=0;e<this.data.length;e++){b=this.data[e];if(c&&c.translate){var q=c.logarithmic&&c.val2lin?c.val2lin(b.z):b.z;b.plotZ=c.translate(q);b.isInside=b.isInside?q>=c.min&&q<=c.max:!1}else b.plotZ=this.zPadding;b.axisXpos=b.plotX;b.axisYpos=b.plotY;b.axisZpos=b.plotZ;g.push({x:b.plotX, | ||
y:b.plotY,z:b.plotZ});f.push(b.plotX||0)}this.rawPointsX=f;a=d(g,a,!0);for(e=0;e<this.data.length;e++)b=this.data[e],c=a[e],b.plotX=c.x,b.plotY=c.y,b.plotZ=c.z};c.defaultOptions=g(u.defaultOptions);return c}(u);a(u,"afterTranslate",function(){this.chart.is3d()&&this.translate3dPoints()});x(u.prototype,{translate3dPoints:p.prototype.translate3dPoints});return p});C(a,"Series/Column3D/Column3DComposition.js",[a["Series/Column/ColumnSeries.js"],a["Core/Globals.js"],a["Core/Series/Series.js"],a["Extensions/Math3D.js"], | ||
a["Core/Series/SeriesRegistry.js"],a["Extensions/Stacking.js"],a["Core/Utilities.js"]],function(a,u,p,v,d,x,g){function w(b,a){var c=b.series,d={},e,f=1;c.forEach(function(b){e=B(b.options.stack,a?0:c.length-1-b.index);d[e]?d[e].series.push(b):(d[e]={series:[b],position:f},f++)});d.totalStacks=f+1;return d}function t(b){var a=b.apply(this,[].slice.call(arguments,1));this.chart.is3d&&this.chart.is3d()&&(a.stroke=this.options.edgeColor||a.fill,a["stroke-width"]=B(this.options.edgeWidth,1));return a} | ||
function l(b,a,c){var d=this.chart.is3d&&this.chart.is3d();d&&(this.options.inactiveOtherPoints=!0);b.call(this,a,c);d&&(this.options.inactiveOtherPoints=!1)}function c(b){for(var a=[],c=1;c<arguments.length;c++)a[c-1]=arguments[c];return this.series.chart.is3d()?this.graphic&&"g"!==this.graphic.element.nodeName:b.apply(this,a)}var b=a.prototype,m=u.svg,r=v.perspective;u=g.addEvent;var B=g.pick;g=g.wrap;g(b,"translate",function(b){b.apply(this,[].slice.call(arguments,1));this.chart.is3d()&&this.translate3dShapes()}); | ||
g(p.prototype,"justifyDataLabel",function(b){return arguments[2].outside3dPlot?!1:b.apply(this,[].slice.call(arguments,1))});b.translate3dPoints=function(){};b.translate3dShapes=function(){var b=this,a=b.chart,c=b.options,d=c.depth,m=(c.stacking?c.stack||0:b.index)*(d+(c.groupZPadding||1)),g=b.borderWidth%2?.5:0,l;a.inverted&&!b.yAxis.reversed&&(g*=-1);!1!==c.grouping&&(m=0);m+=c.groupZPadding||1;b.data.forEach(function(c){c.outside3dPlot=null;if(null!==c.y){var e=c.shapeArgs,f=c.tooltipPos,h;[["x", | ||
"width"],["y","height"]].forEach(function(a){h=e[a[0]]-g;0>h&&(e[a[1]]+=e[a[0]]+g,e[a[0]]=-g,h=0);h+e[a[1]]>b[a[0]+"Axis"].len&&0!==e[a[1]]&&(e[a[1]]=b[a[0]+"Axis"].len-e[a[0]]);if(0!==e[a[1]]&&(e[a[0]]>=b[a[0]+"Axis"].len||e[a[0]]+e[a[1]]<=g)){for(var d in e)e[d]=0;c.outside3dPlot=!0}});"rect"===c.shapeType&&(c.shapeType="cuboid");e.z=m;e.depth=d;e.insidePlotArea=!0;l={x:e.x+e.width/2,y:e.y,z:m+d/2};a.inverted&&(l.x=e.height,l.y=c.clientX);c.plot3d=r([l],a,!0,!1)[0];f=r([{x:f[0],y:f[1],z:m+d/2}], | ||
a,!0,!1)[0];c.tooltipPos=[f.x,f.y]}});b.z=m};g(b,"animate",function(b){if(this.chart.is3d()){var a=arguments[1],c=this.yAxis,d=this,e=this.yAxis.reversed;m&&(a?d.data.forEach(function(b){null!==b.y&&(b.height=b.shapeArgs.height,b.shapey=b.shapeArgs.y,b.shapeArgs.height=1,e||(b.shapeArgs.y=b.stackY?b.plotY+c.translate(b.stackY):b.plotY+(b.negative?-b.height:b.height)))}):(d.data.forEach(function(b){null!==b.y&&(b.shapeArgs.height=b.height,b.shapeArgs.y=b.shapey,b.graphic&&b.graphic.animate(b.shapeArgs, | ||
d.options.animation))}),this.drawDataLabels()))}else b.apply(this,[].slice.call(arguments,1))});g(b,"plotGroup",function(b,a,c,d,m,g){"dataLabelsGroup"!==a&&this.chart.is3d()&&(this[a]&&delete this[a],g&&(this.chart.columnGroup||(this.chart.columnGroup=this.chart.renderer.g("columnGroup").add(g)),this[a]=this.chart.columnGroup,this.chart.columnGroup.attr(this.getPlotBox()),this[a].survive=!0,"group"===a||"markerGroup"===a))&&(arguments[3]="visible");return b.apply(this,Array.prototype.slice.call(arguments, | ||
1))});g(b,"setVisible",function(b,a){var c=this,d;c.chart.is3d()&&c.data.forEach(function(b){d=(b.visible=b.options.visible=a="undefined"===typeof a?!B(c.visible,b.visible):a)?"visible":"hidden";c.options.data[c.data.indexOf(b)]=b.options;b.graphic&&b.graphic.attr({visibility:d})});b.apply(this,Array.prototype.slice.call(arguments,1))});u(a,"afterInit",function(){if(this.chart.is3d()){var b=this.options,a=b.grouping,c=b.stacking,d=B(this.yAxis.options.reversedStacks,!0),m=0;if("undefined"===typeof a|| | ||
a){a=w(this.chart,c);m=b.stack||0;for(c=0;c<a[m].series.length&&a[m].series[c]!==this;c++);m=10*(a.totalStacks-a[m].position)+(d?c:-c);this.xAxis.reversed||(m=10*a.totalStacks-m)}b.depth=b.depth||25;this.z=this.z||0;b.zIndex=m}});g(b,"pointAttribs",t);g(b,"setState",l);g(b.pointClass.prototype,"hasNewShapeType",c);d.seriesTypes.columnRange&&(u=d.seriesTypes.columnrange.prototype,g(u,"pointAttribs",t),g(u,"setState",l),g(u.pointClass.prototype,"hasNewShapeType",c),u.plotGroup=b.plotGroup,u.setVisible= | ||
b.setVisible);g(p.prototype,"alignDataLabel",function(b,a,c,d,m){var e=this.chart;d.outside3dPlot=a.outside3dPlot;if(e.is3d()&&this.is("column")){var f=this.options,g=B(d.inside,!!this.options.stacking),k=e.options.chart.options3d,n=a.pointWidth/2||0;f={x:m.x+n,y:m.y,z:this.z+f.depth/2};e.inverted&&(g&&(m.width=0,f.x+=a.shapeArgs.height/2),90<=k.alpha&&270>=k.alpha&&(f.y+=a.shapeArgs.width));f=r([f],e,!0,!1)[0];m.x=f.x-n;m.y=a.outside3dPlot?-9E9:f.y}b.apply(this,[].slice.call(arguments,1))});g(x.prototype, | ||
"getStackBox",function(b,a,c,m,g,l,p,t){var e=b.apply(this,[].slice.call(arguments,1));if(a.is3d()&&c.base){var f=+c.base.split(",")[0],h=a.series[f];f=a.options.chart.options3d;h&&h instanceof d.seriesTypes.column&&(h={x:e.x+(a.inverted?p:l/2),y:e.y,z:h.options.depth/2},a.inverted&&(e.width=0,90<=f.alpha&&270>=f.alpha&&(h.y+=l)),h=r([h],a,!0,!1)[0],e.x=h.x-l/2,e.y=h.y)}return e});"";return a});C(a,"Series/Pie3D/Pie3DPoint.js",[a["Core/Series/SeriesRegistry.js"]],function(a){var u=this&&this.__extends|| | ||
function(){var a=function(d,p){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var g in d)d.hasOwnProperty(g)&&(a[g]=d[g])};return a(d,p)};return function(d,p){function g(){this.constructor=d}a(d,p);d.prototype=null===p?Object.create(p):(g.prototype=p.prototype,new g)}}();a=a.seriesTypes.pie.prototype.pointClass;var p=a.prototype.haloPath;return function(a){function d(){var d=null!==a&&a.apply(this,arguments)||this;d.series=void 0;return d} | ||
u(d,a);d.prototype.haloPath=function(){return this.series.chart.is3d()?[]:p.apply(this,arguments)};return d}(a)});C(a,"Series/Pie3D/Pie3DSeries.js",[a["Core/Globals.js"],a["Series/Pie3D/Pie3DPoint.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,u,p,v){var d=this&&this.__extends||function(){var a=function(d,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c])};return a(d,c)}; | ||
return function(d,c){function b(){this.constructor=d}a(d,c);d.prototype=null===c?Object.create(c):(b.prototype=c.prototype,new b)}}(),x=a.deg2rad,g=a.svg;a=v.extend;var w=v.pick;p=function(a){function l(){return null!==a&&a.apply(this,arguments)||this}d(l,a);l.prototype.addPoint=function(){a.prototype.addPoint.apply(this,arguments);this.chart.is3d()&&this.update(this.userOptions,!0)};l.prototype.animate=function(c){if(this.chart.is3d()){var b=this.options.animation;var d=this.center;var l=this.group, | ||
p=this.markerGroup;g&&(!0===b&&(b={}),c?(l.oldtranslateX=w(l.oldtranslateX,l.translateX),l.oldtranslateY=w(l.oldtranslateY,l.translateY),d={translateX:d[0],translateY:d[1],scaleX:.001,scaleY:.001},l.attr(d),p&&(p.attrSetters=l.attrSetters,p.attr(d))):(d={translateX:l.oldtranslateX,translateY:l.oldtranslateY,scaleX:1,scaleY:1},l.animate(d,b),p&&p.animate(d,b)))}else a.prototype.animate.apply(this,arguments)};l.prototype.drawDataLabels=function(){if(this.chart.is3d()){var c=this.chart.options.chart.options3d; | ||
this.data.forEach(function(a){var b=a.shapeArgs,d=b.r,g=(b.start+b.end)/2;a=a.labelPosition;var e=a.connectorPosition,f=-d*(1-Math.cos((b.alpha||c.alpha)*x))*Math.sin(g),l=d*(Math.cos((b.beta||c.beta)*x)-1)*Math.cos(g);[a.natural,e.breakAt,e.touchingSliceAt].forEach(function(a){a.x+=l;a.y+=f})})}a.prototype.drawDataLabels.apply(this,arguments)};l.prototype.pointAttribs=function(c){var b=a.prototype.pointAttribs.apply(this,arguments),d=this.options;this.chart.is3d()&&!this.chart.styledMode&&(b.stroke= | ||
d.edgeColor||c.color||this.color,b["stroke-width"]=w(d.edgeWidth,1));return b};l.prototype.translate=function(){a.prototype.translate.apply(this,arguments);if(this.chart.is3d()){var c=this,b=c.options,d=b.depth||0,g=c.chart.options.chart.options3d,l=g.alpha,e=g.beta,f=b.stacking?(b.stack||0)*d:c._i*d;f+=d/2;!1!==b.grouping&&(f=0);c.data.forEach(function(a){var g=a.shapeArgs;a.shapeType="arc3d";g.z=f;g.depth=.75*d;g.alpha=l;g.beta=e;g.center=c.center;g=(g.end+g.start)/2;a.slicedTranslation={translateX:Math.round(Math.cos(g)* | ||
b.slicedOffset*Math.cos(l*x)),translateY:Math.round(Math.sin(g)*b.slicedOffset*Math.cos(l*x))}})}};return l}(p.seriesTypes.pie);a(p,{pointClass:u});"";return p});C(a,"Series/Pie3D/Pie3DComposition.js",[a["Series/Pie3D/Pie3DPoint.js"],a["Series/Pie3D/Pie3DSeries.js"],a["Core/Series/SeriesRegistry.js"]],function(a,u,p){p.seriesTypes.pie.prototype.pointClass.prototype.haloPath=a.prototype.haloPath;p.seriesTypes.pie=u});C(a,"Series/Scatter3D/Scatter3DPoint.js",[a["Series/Scatter/ScatterSeries.js"]],function(a){var u= | ||
this&&this.__extends||function(){var a=function(p,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var g in d)d.hasOwnProperty(g)&&(a[g]=d[g])};return a(p,d)};return function(p,d){function v(){this.constructor=p}a(p,d);p.prototype=null===d?Object.create(d):(v.prototype=d.prototype,new v)}}();return function(a){function p(){var d=null!==a&&a.apply(this,arguments)||this;d.options=void 0;d.series=void 0;return d}u(p,a);p.prototype.applyOptions= | ||
function(){a.prototype.applyOptions.apply(this,arguments);"undefined"===typeof this.z&&(this.z=0);return this};return p}(a.prototype.pointClass)});C(a,"Series/Scatter3D/Scatter3DSeries.js",[a["Extensions/Math3D.js"],a["Series/Scatter3D/Scatter3DPoint.js"],a["Series/Scatter/ScatterSeries.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,u,p,v,d){var x=this&&this.__extends||function(){var a=function(d,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__= | ||
c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return a(d,c)};return function(d,c){function b(){this.constructor=d}a(d,c);d.prototype=null===c?Object.create(c):(b.prototype=c.prototype,new b)}}(),g=a.pointCameraDistance;a=d.extend;var w=d.merge;d=function(a){function d(){var c=null!==a&&a.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}x(d,a);d.prototype.pointAttribs=function(c){var b=a.prototype.pointAttribs.apply(this,arguments);this.chart.is3d()&& | ||
c&&(b.zIndex=g(c,this.chart));return b};d.defaultOptions=w(p.defaultOptions,{tooltip:{pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>z: <b>{point.z}</b><br/>"}});return d}(p);a(d.prototype,{axisTypes:["xAxis","yAxis","zAxis"],directTouch:!0,parallelArrays:["x","y","z"],pointArrayMap:["x","y","z"],pointClass:u});v.registerSeriesType("scatter3d",d);"";return d});C(a,"Series/Area3DSeries.js",[a["Extensions/Math3D.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a, | ||
u,p){var v=a.perspective;a=u.seriesTypes;var d=a.line,x=p.pick;p=p.wrap;p(a.area.prototype,"getGraphPath",function(a){var g=a.apply(this,[].slice.call(arguments,1));if(!this.chart.is3d())return g;var p=d.prototype.getGraphPath,l=this.options;var c=[];var b=[],m,r=x(l.connectNulls,"percent"===l.stacking),u=Math.round(this.yAxis.getThreshold(l.threshold));if(this.rawPointsX)for(m=0;m<this.points.length;m++)c.push({x:this.rawPointsX[m],y:l.stacking?this.points[m].yBottom:u,z:this.zPadding});this.chart.options&& | ||
this.chart.options.chart&&(l=this.chart.options.chart.options3d,c=v(c,this.chart,!0).map(function(a){return{plotX:a.x,plotY:a.y,plotZ:a.z}}),this.group&&l&&l.depth&&l.beta&&(this.markerGroup&&(this.markerGroup.add(this.group),this.markerGroup.attr({translateX:0,translateY:0})),this.group.attr({zIndex:Math.max(1,270<l.beta||90>l.beta?l.depth-Math.round(this.zPadding||0):Math.round(this.zPadding||0))})));c.reversed=!0;c=p.call(this,c,!0,!0);c[0]&&"M"===c[0][0]&&(c[0]=["L",c[0][1],c[0][2]]);this.areaPath&& | ||
(c=this.areaPath.splice(0,this.areaPath.length/2).concat(c),c.xMap=this.areaPath.xMap,this.areaPath=c,p.call(this,b,!1,r));return g})});C(a,"masters/highcharts-3d.src.js",[],function(){})}); | ||
this.chart3d.frame3d=this.chart3d.get3dFrame()}}function q(){this.is3d()&&(this.isDirtyBox=!0)}function h(){this.chart3d&&this.is3d()&&(this.chart3d.frame3d=this.chart3d.get3dFrame())}function v(){this.chart3d||(this.chart3d=new C(this))}function u(b){return this.is3d()||b.apply(this,[].slice.call(arguments,1))}function w(b){var a=this.series.length;if(this.is3d())for(;a--;)b=this.series[a],b.translate(),b.render();else b.call(this)}function G(b){b.apply(this,[].slice.call(arguments,1));this.is3d()&& | ||
(this.container.className+=" highcharts-3d-chart")}var C=function(){function b(b){this.frame3d=void 0;this.chart=b}b.prototype.get3dFrame=function(){var b=this.chart,a=b.options.chart.options3d,d=a.frame,f=b.plotLeft,g=b.plotLeft+b.plotWidth,k=b.plotTop,h=b.plotTop+b.plotHeight,m=a.depth,p=function(a){a=c(a,b);return.5<a?1:-.5>a?-1:0},r=p([{x:f,y:h,z:m},{x:g,y:h,z:m},{x:g,y:h,z:0},{x:f,y:h,z:0}]),n=p([{x:f,y:k,z:0},{x:g,y:k,z:0},{x:g,y:k,z:m},{x:f,y:k,z:m}]),t=p([{x:f,y:k,z:0},{x:f,y:k,z:m},{x:f, | ||
y:h,z:m},{x:f,y:h,z:0}]),q=p([{x:g,y:k,z:m},{x:g,y:k,z:0},{x:g,y:h,z:0},{x:g,y:h,z:m}]),v=p([{x:f,y:h,z:0},{x:g,y:h,z:0},{x:g,y:k,z:0},{x:f,y:k,z:0}]);p=p([{x:f,y:k,z:m},{x:g,y:k,z:m},{x:g,y:h,z:m},{x:f,y:h,z:m}]);var u=!1,J=!1,w=!1,H=!1;[].concat(b.xAxis,b.yAxis,b.zAxis).forEach(function(b){b&&(b.horiz?b.opposite?J=!0:u=!0:b.opposite?H=!0:w=!0)});var x=function(b,a,c){for(var d=["size","color","visible"],f={},g=0;g<d.length;g++)for(var k=d[g],h=0;h<b.length;h++)if("object"===typeof b[h]){var m=b[h][k]; | ||
if("undefined"!==typeof m&&null!==m){f[k]=m;break}}b=c;!0===f.visible||!1===f.visible?b=f.visible:"auto"===f.visible&&(b=0<a);return{size:e(f.size,1),color:e(f.color,"none"),frontFacing:0<a,visible:b}};d={axes:{},bottom:x([d.bottom,d.top,d],r,u),top:x([d.top,d.bottom,d],n,J),left:x([d.left,d.right,d.side,d],t,w),right:x([d.right,d.left,d.side,d],q,H),back:x([d.back,d.front,d],p,!0),front:x([d.front,d.back,d],v,!1)};"auto"===a.axisLabelPosition?(q=function(b,a){return b.visible!==a.visible||b.visible&& | ||
a.visible&&b.frontFacing!==a.frontFacing},a=[],q(d.left,d.front)&&a.push({y:(k+h)/2,x:f,z:0,xDir:{x:1,y:0,z:0}}),q(d.left,d.back)&&a.push({y:(k+h)/2,x:f,z:m,xDir:{x:0,y:0,z:-1}}),q(d.right,d.front)&&a.push({y:(k+h)/2,x:g,z:0,xDir:{x:0,y:0,z:1}}),q(d.right,d.back)&&a.push({y:(k+h)/2,x:g,z:m,xDir:{x:-1,y:0,z:0}}),r=[],q(d.bottom,d.front)&&r.push({x:(f+g)/2,y:h,z:0,xDir:{x:1,y:0,z:0}}),q(d.bottom,d.back)&&r.push({x:(f+g)/2,y:h,z:m,xDir:{x:-1,y:0,z:0}}),n=[],q(d.top,d.front)&&n.push({x:(f+g)/2,y:k,z:0, | ||
xDir:{x:1,y:0,z:0}}),q(d.top,d.back)&&n.push({x:(f+g)/2,y:k,z:m,xDir:{x:-1,y:0,z:0}}),t=[],q(d.bottom,d.left)&&t.push({z:(0+m)/2,y:h,x:f,xDir:{x:0,y:0,z:-1}}),q(d.bottom,d.right)&&t.push({z:(0+m)/2,y:h,x:g,xDir:{x:0,y:0,z:1}}),h=[],q(d.top,d.left)&&h.push({z:(0+m)/2,y:k,x:f,xDir:{x:0,y:0,z:-1}}),q(d.top,d.right)&&h.push({z:(0+m)/2,y:k,x:g,xDir:{x:0,y:0,z:1}}),f=function(a,c,e){if(0===a.length)return null;if(1===a.length)return a[0];for(var d=0,f=l(a,b,!1),g=1;g<f.length;g++)e*f[g][c]>e*f[d][c]?d= | ||
g:e*f[g][c]===e*f[d][c]&&f[g].z<f[d].z&&(d=g);return a[d]},d.axes={y:{left:f(a,"x",-1),right:f(a,"x",1)},x:{top:f(n,"y",-1),bottom:f(r,"y",1)},z:{top:f(h,"y",-1),bottom:f(t,"y",1)}}):d.axes={y:{left:{x:f,z:0,xDir:{x:1,y:0,z:0}},right:{x:g,z:0,xDir:{x:0,y:0,z:1}}},x:{top:{y:k,z:0,xDir:{x:1,y:0,z:0}},bottom:{y:h,z:0,xDir:{x:1,y:0,z:0}}},z:{top:{x:w?g:f,y:k,xDir:w?{x:0,y:0,z:1}:{x:0,y:0,z:-1}},bottom:{x:w?g:f,y:h,xDir:w?{x:0,y:0,z:1}:{x:0,y:0,z:-1}}}};return d};b.prototype.getScale=function(b){var a= | ||
this.chart,c=a.plotLeft,e=a.plotWidth+c,d=a.plotTop,f=a.plotHeight+d,g=c+a.plotWidth/2,k=d+a.plotHeight/2,h=Number.MAX_VALUE,m=-Number.MAX_VALUE,p=Number.MAX_VALUE,r=-Number.MAX_VALUE,n=1;var t=[{x:c,y:d,z:0},{x:c,y:d,z:b}];[0,1].forEach(function(b){t.push({x:e,y:t[b].y,z:t[b].z})});[0,1,2,3].forEach(function(b){t.push({x:t[b].x,y:f,z:t[b].z})});t=l(t,a,!1);t.forEach(function(b){h=Math.min(h,b.x);m=Math.max(m,b.x);p=Math.min(p,b.y);r=Math.max(r,b.y)});c>h&&(n=Math.min(n,1-Math.abs((c+g)/(h+g))%1)); | ||
e<m&&(n=Math.min(n,(e-g)/(m-g)));d>p&&(n=0>p?Math.min(n,(d+k)/(-p+d+k)):Math.min(n,1-(d+k)/(p+k)%1));f<r&&(n=Math.min(n,Math.abs((f-k)/(r-k))));return n};return b}();a.Composition=C;a.defaultOptions={chart:{options3d:{enabled:!1,alpha:0,beta:0,depth:100,fitToPlot:!0,viewDistance:25,axisLabelPosition:null,frame:{visible:"default",size:1,bottom:{},top:{},left:{},right:{},back:{},front:{}}}}};a.compose=function(c,e){var l=c.prototype;e=e.prototype;l.is3d=function(){return this.options.chart.options3d&& | ||
this.options.chart.options3d.enabled};l.propsRequireDirtyBox.push("chart.options3d");l.propsRequireUpdateSeries.push("chart.options3d");e.matrixSetter=function(){if(1>this.pos&&(m(this.start)||m(this.end))){var b=this.start||[1,0,0,1,0,0],a=this.end||[1,0,0,1,0,0];var c=[];for(var e=0;6>e;e++)c.push(this.pos*a[e]+(1-this.pos)*b[e])}else c=this.end;this.elem.attr(this.prop,c,null,!0)};x(!0,b,a.defaultOptions);p(c,"init",v);p(c,"addSeries",f);p(c,"afterDrawChartBox",r);p(c,"afterGetContainer",n);p(c, | ||
"afterInit",t);p(c,"afterSetChartSize",k);p(c,"beforeRedraw",q);p(c,"beforeRender",h);g(d.Chart.prototype,"isInsidePlot",u);g(c,"renderSeries",w);g(c,"setClassName",G)}})(r||(r={}));r.compose(u,C);n.ZChartComposition.compose(u);q.compose(a);"";return r});D(a,"Core/Series/Series3D.js",[a["Extensions/Math3D.js"],a["Core/Series/Series.js"],a["Core/Utilities.js"]],function(a,q,u){var G=this&&this.__extends||function(){var a=function(c,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b, | ||
a){b.__proto__=a}||function(b,a){for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c])};return a(c,b)};return function(c,b){function d(){this.constructor=c}a(c,b);c.prototype=null===b?Object.create(b):(d.prototype=b.prototype,new d)}}(),d=a.perspective;a=u.addEvent;var v=u.extend,t=u.merge,w=u.pick,n=u.isNumber;u=function(a){function c(){return null!==a&&a.apply(this,arguments)||this}G(c,a);c.prototype.translate=function(){a.prototype.translate.apply(this,arguments);this.chart.is3d()&&this.translate3dPoints()}; | ||
c.prototype.translate3dPoints=function(){var b=this.options,a=this.chart,c=w(this.zAxis,a.options.zAxis[0]),l=[],e,g=[];this.zPadding=(b.stacking?n(b.stack)?b.stack:0:this.index||0)*(b.depth||0+(b.groupZPadding||1));for(e=0;e<this.data.length;e++){b=this.data[e];if(c&&c.translate){var r=c.logarithmic&&c.val2lin?c.val2lin(b.z):b.z;b.plotZ=c.translate(r);b.isInside=b.isInside?r>=c.min&&r<=c.max:!1}else b.plotZ=this.zPadding;b.axisXpos=b.plotX;b.axisYpos=b.plotY;b.axisZpos=b.plotZ;l.push({x:b.plotX, | ||
y:b.plotY,z:b.plotZ});g.push(b.plotX||0)}this.rawPointsX=g;a=d(l,a,!0);for(e=0;e<this.data.length;e++)b=this.data[e],c=a[e],b.plotX=c.x,b.plotY=c.y,b.plotZ=c.z};c.defaultOptions=t(q.defaultOptions);return c}(q);a(q,"afterTranslate",function(){this.chart.is3d()&&this.translate3dPoints()});v(q.prototype,{translate3dPoints:u.prototype.translate3dPoints});return u});D(a,"Series/Column3D/Column3DComposition.js",[a["Series/Column/ColumnSeries.js"],a["Core/Globals.js"],a["Core/Series/Series.js"],a["Extensions/Math3D.js"], | ||
a["Core/Series/SeriesRegistry.js"],a["Extensions/Stacking.js"],a["Core/Utilities.js"]],function(a,q,u,C,d,v,t){function w(b,a){var c=b.series,e={},d,g=1;c.forEach(function(b){d=x(b.options.stack,a?0:c.length-1-b.index);e[d]?e[d].series.push(b):(e[d]={series:[b],position:g},g++)});e.totalStacks=g+1;return e}function n(b){var a=b.apply(this,[].slice.call(arguments,1));this.chart.is3d&&this.chart.is3d()&&(a.stroke=this.options.edgeColor||a.fill,a["stroke-width"]=x(this.options.edgeWidth,1));return a} | ||
function l(b,a,c){var d=this.chart.is3d&&this.chart.is3d();d&&(this.options.inactiveOtherPoints=!0);b.call(this,a,c);d&&(this.options.inactiveOtherPoints=!1)}function c(b){for(var a=[],c=1;c<arguments.length;c++)a[c-1]=arguments[c];return this.series.chart.is3d()?this.graphic&&"g"!==this.graphic.element.nodeName:b.apply(this,a)}var b=a.prototype,p=q.svg,m=C.perspective;q=t.addEvent;var x=t.pick;t=t.wrap;t(b,"translate",function(b){b.apply(this,[].slice.call(arguments,1));this.chart.is3d()&&this.translate3dShapes()}); | ||
t(u.prototype,"justifyDataLabel",function(b){return arguments[2].outside3dPlot?!1:b.apply(this,[].slice.call(arguments,1))});b.translate3dPoints=function(){};b.translate3dShapes=function(){var b=this,a=b.chart,c=b.options,d=c.depth,l=(c.stacking?c.stack||0:b.index)*(d+(c.groupZPadding||1)),p=b.borderWidth%2?.5:0,n;a.inverted&&!b.yAxis.reversed&&(p*=-1);!1!==c.grouping&&(l=0);l+=c.groupZPadding||1;b.data.forEach(function(c){c.outside3dPlot=null;if(null!==c.y){var e=c.shapeArgs,f=c.tooltipPos,g;[["x", | ||
"width"],["y","height"]].forEach(function(a){g=e[a[0]]-p;0>g&&(e[a[1]]+=e[a[0]]+p,e[a[0]]=-p,g=0);g+e[a[1]]>b[a[0]+"Axis"].len&&0!==e[a[1]]&&(e[a[1]]=b[a[0]+"Axis"].len-e[a[0]]);if(0!==e[a[1]]&&(e[a[0]]>=b[a[0]+"Axis"].len||e[a[0]]+e[a[1]]<=p)){for(var d in e)e[d]=0;c.outside3dPlot=!0}});"rect"===c.shapeType&&(c.shapeType="cuboid");e.z=l;e.depth=d;e.insidePlotArea=!0;n={x:e.x+e.width/2,y:e.y,z:l+d/2};a.inverted&&(n.x=e.height,n.y=c.clientX);c.plot3d=m([n],a,!0,!1)[0];f=m([{x:f[0],y:f[1],z:l+d/2}], | ||
a,!0,!1)[0];c.tooltipPos=[f.x,f.y]}});b.z=l};t(b,"animate",function(b){if(this.chart.is3d()){var a=arguments[1],c=this.yAxis,d=this,e=this.yAxis.reversed;p&&(a?d.data.forEach(function(b){null!==b.y&&(b.height=b.shapeArgs.height,b.shapey=b.shapeArgs.y,b.shapeArgs.height=1,e||(b.shapeArgs.y=b.stackY?b.plotY+c.translate(b.stackY):b.plotY+(b.negative?-b.height:b.height)))}):(d.data.forEach(function(b){null!==b.y&&(b.shapeArgs.height=b.height,b.shapeArgs.y=b.shapey,b.graphic&&b.graphic.animate(b.shapeArgs, | ||
d.options.animation))}),this.drawDataLabels()))}else b.apply(this,[].slice.call(arguments,1))});t(b,"plotGroup",function(b,a,c,d,m,l){"dataLabelsGroup"!==a&&this.chart.is3d()&&(this[a]&&delete this[a],l&&(this.chart.columnGroup||(this.chart.columnGroup=this.chart.renderer.g("columnGroup").add(l)),this[a]=this.chart.columnGroup,this.chart.columnGroup.attr(this.getPlotBox()),this[a].survive=!0,"group"===a||"markerGroup"===a))&&(arguments[3]="visible");return b.apply(this,Array.prototype.slice.call(arguments, | ||
1))});t(b,"setVisible",function(b,a){var c=this,d;c.chart.is3d()&&c.data.forEach(function(b){d=(b.visible=b.options.visible=a="undefined"===typeof a?!x(c.visible,b.visible):a)?"visible":"hidden";c.options.data[c.data.indexOf(b)]=b.options;b.graphic&&b.graphic.attr({visibility:d})});b.apply(this,Array.prototype.slice.call(arguments,1))});q(a,"afterInit",function(){if(this.chart.is3d()){var b=this.options,a=b.grouping,c=b.stacking,d=x(this.yAxis.options.reversedStacks,!0),m=0;if("undefined"===typeof a|| | ||
a){a=w(this.chart,c);m=b.stack||0;for(c=0;c<a[m].series.length&&a[m].series[c]!==this;c++);m=10*(a.totalStacks-a[m].position)+(d?c:-c);this.xAxis.reversed||(m=10*a.totalStacks-m)}b.depth=b.depth||25;this.z=this.z||0;b.zIndex=m}});t(b,"pointAttribs",n);t(b,"setState",l);t(b.pointClass.prototype,"hasNewShapeType",c);d.seriesTypes.columnRange&&(q=d.seriesTypes.columnrange.prototype,t(q,"pointAttribs",n),t(q,"setState",l),t(q.pointClass.prototype,"hasNewShapeType",c),q.plotGroup=b.plotGroup,q.setVisible= | ||
b.setVisible);t(u.prototype,"alignDataLabel",function(b,a,c,d,l){var e=this.chart;d.outside3dPlot=a.outside3dPlot;if(e.is3d()&&this.is("column")){var f=this.options,g=x(d.inside,!!this.options.stacking),k=e.options.chart.options3d,p=a.pointWidth/2||0;f={x:l.x+p,y:l.y,z:this.z+f.depth/2};e.inverted&&(g&&(l.width=0,f.x+=a.shapeArgs.height/2),90<=k.alpha&&270>=k.alpha&&(f.y+=a.shapeArgs.width));f=m([f],e,!0,!1)[0];l.x=f.x-p;l.y=a.outside3dPlot?-9E9:f.y}b.apply(this,[].slice.call(arguments,1))});t(v.prototype, | ||
"getStackBox",function(b,a,c,f,l,p,n,t){var e=b.apply(this,[].slice.call(arguments,1));if(a.is3d()&&c.base){var g=+c.base.split(",")[0],h=a.series[g];g=a.options.chart.options3d;h&&h instanceof d.seriesTypes.column&&(h={x:e.x+(a.inverted?n:p/2),y:e.y,z:h.options.depth/2},a.inverted&&(e.width=0,90<=g.alpha&&270>=g.alpha&&(h.y+=p)),h=m([h],a,!0,!1)[0],e.x=h.x-p/2,e.y=h.y)}return e});"";return a});D(a,"Series/Pie3D/Pie3DPoint.js",[a["Core/Series/SeriesRegistry.js"]],function(a){var q=this&&this.__extends|| | ||
function(){var a=function(d,q){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var n in d)d.hasOwnProperty(n)&&(a[n]=d[n])};return a(d,q)};return function(d,q){function t(){this.constructor=d}a(d,q);d.prototype=null===q?Object.create(q):(t.prototype=q.prototype,new t)}}();a=a.seriesTypes.pie.prototype.pointClass;var u=a.prototype.haloPath;return function(a){function d(){var d=null!==a&&a.apply(this,arguments)||this;d.series=void 0;return d} | ||
q(d,a);d.prototype.haloPath=function(){return this.series.chart.is3d()?[]:u.apply(this,arguments)};return d}(a)});D(a,"Series/Pie3D/Pie3DSeries.js",[a["Core/Globals.js"],a["Series/Pie3D/Pie3DPoint.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,q,u,C){var d=this&&this.__extends||function(){var a=function(d,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c])};return a(d,c)}; | ||
return function(d,c){function b(){this.constructor=d}a(d,c);d.prototype=null===c?Object.create(c):(b.prototype=c.prototype,new b)}}(),v=a.deg2rad,t=a.svg;a=C.extend;var w=C.pick;u=function(a){function l(){return null!==a&&a.apply(this,arguments)||this}d(l,a);l.prototype.addPoint=function(){a.prototype.addPoint.apply(this,arguments);this.chart.is3d()&&this.update(this.userOptions,!0)};l.prototype.animate=function(c){if(this.chart.is3d()){var b=this.options.animation;var d=this.center;var m=this.group, | ||
l=this.markerGroup;t&&(!0===b&&(b={}),c?(m.oldtranslateX=w(m.oldtranslateX,m.translateX),m.oldtranslateY=w(m.oldtranslateY,m.translateY),d={translateX:d[0],translateY:d[1],scaleX:.001,scaleY:.001},m.attr(d),l&&(l.attrSetters=m.attrSetters,l.attr(d))):(d={translateX:m.oldtranslateX,translateY:m.oldtranslateY,scaleX:1,scaleY:1},m.animate(d,b),l&&l.animate(d,b)))}else a.prototype.animate.apply(this,arguments)};l.prototype.drawDataLabels=function(){if(this.chart.is3d()){var c=this.chart.options.chart.options3d; | ||
this.data.forEach(function(b){var a=b.shapeArgs,d=a.r,l=(a.start+a.end)/2;b=b.labelPosition;var e=b.connectorPosition,g=-d*(1-Math.cos((a.alpha||c.alpha)*v))*Math.sin(l),n=d*(Math.cos((a.beta||c.beta)*v)-1)*Math.cos(l);[b.natural,e.breakAt,e.touchingSliceAt].forEach(function(b){b.x+=n;b.y+=g})})}a.prototype.drawDataLabels.apply(this,arguments)};l.prototype.pointAttribs=function(c){var b=a.prototype.pointAttribs.apply(this,arguments),d=this.options;this.chart.is3d()&&!this.chart.styledMode&&(b.stroke= | ||
d.edgeColor||c.color||this.color,b["stroke-width"]=w(d.edgeWidth,1));return b};l.prototype.translate=function(){a.prototype.translate.apply(this,arguments);if(this.chart.is3d()){var c=this,b=c.options,d=b.depth||0,l=c.chart.options.chart.options3d,n=l.alpha,e=l.beta,g=b.stacking?(b.stack||0)*d:c._i*d;g+=d/2;!1!==b.grouping&&(g=0);c.data.forEach(function(a){var f=a.shapeArgs;a.shapeType="arc3d";f.z=g;f.depth=.75*d;f.alpha=n;f.beta=e;f.center=c.center;f=(f.end+f.start)/2;a.slicedTranslation={translateX:Math.round(Math.cos(f)* | ||
b.slicedOffset*Math.cos(n*v)),translateY:Math.round(Math.sin(f)*b.slicedOffset*Math.cos(n*v))}})}};return l}(u.seriesTypes.pie);a(u,{pointClass:q});"";return u});D(a,"Series/Pie3D/Pie3DComposition.js",[a["Series/Pie3D/Pie3DPoint.js"],a["Series/Pie3D/Pie3DSeries.js"],a["Core/Series/SeriesRegistry.js"]],function(a,q,u){u.seriesTypes.pie.prototype.pointClass.prototype.haloPath=a.prototype.haloPath;u.seriesTypes.pie=q});D(a,"Series/Scatter3D/Scatter3DPoint.js",[a["Series/Scatter/ScatterSeries.js"],a["Core/Utilities.js"]], | ||
function(a,q){var u=this&&this.__extends||function(){var a=function(d,t){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var l in d)d.hasOwnProperty(l)&&(a[l]=d[l])};return a(d,t)};return function(d,t){function q(){this.constructor=d}a(d,t);d.prototype=null===t?Object.create(t):(q.prototype=t.prototype,new q)}}(),G=q.defined;return function(a){function d(){var d=null!==a&&a.apply(this,arguments)||this;d.options=void 0;d.series=void 0;return d} | ||
u(d,a);d.prototype.applyOptions=function(){a.prototype.applyOptions.apply(this,arguments);G(this.z)||(this.z=0);return this};return d}(a.prototype.pointClass)});D(a,"Series/Scatter3D/Scatter3DSeries.js",[a["Extensions/Math3D.js"],a["Series/Scatter3D/Scatter3DPoint.js"],a["Series/Scatter/ScatterSeries.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,q,u,C,d){var v=this&&this.__extends||function(){var a=function(d,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&& | ||
function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return a(d,c)};return function(d,c){function b(){this.constructor=d}a(d,c);d.prototype=null===c?Object.create(c):(b.prototype=c.prototype,new b)}}(),t=a.pointCameraDistance;a=d.extend;var w=d.merge;d=function(a){function d(){var c=null!==a&&a.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}v(d,a);d.prototype.pointAttribs=function(c){var b=a.prototype.pointAttribs.apply(this, | ||
arguments);this.chart.is3d()&&c&&(b.zIndex=t(c,this.chart));return b};d.defaultOptions=w(u.defaultOptions,{tooltip:{pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>z: <b>{point.z}</b><br/>"}});return d}(u);a(d.prototype,{axisTypes:["xAxis","yAxis","zAxis"],directTouch:!0,parallelArrays:["x","y","z"],pointArrayMap:["x","y","z"],pointClass:q});C.registerSeriesType("scatter3d",d);"";return d});D(a,"Series/Area3DSeries.js",[a["Extensions/Math3D.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]], | ||
function(a,q,u){var C=a.perspective;a=q.seriesTypes;var d=a.line,v=u.pick;u=u.wrap;u(a.area.prototype,"getGraphPath",function(a){var q=a.apply(this,[].slice.call(arguments,1));if(!this.chart.is3d())return q;var n=d.prototype.getGraphPath,l=this.options;var c=[];var b=[],p,m=v(l.connectNulls,"percent"===l.stacking),t=Math.round(this.yAxis.getThreshold(l.threshold));if(this.rawPointsX)for(p=0;p<this.points.length;p++)c.push({x:this.rawPointsX[p],y:l.stacking?this.points[p].yBottom:t,z:this.zPadding}); | ||
this.chart.options&&this.chart.options.chart&&(l=this.chart.options.chart.options3d,c=C(c,this.chart,!0).map(function(a){return{plotX:a.x,plotY:a.y,plotZ:a.z}}),this.group&&l&&l.depth&&l.beta&&(this.markerGroup&&(this.markerGroup.add(this.group),this.markerGroup.attr({translateX:0,translateY:0})),this.group.attr({zIndex:Math.max(1,270<l.beta||90>l.beta?l.depth-Math.round(this.zPadding||0):Math.round(this.zPadding||0))})));c.reversed=!0;c=n.call(this,c,!0,!0);c[0]&&"M"===c[0][0]&&(c[0]=["L",c[0][1], | ||
c[0][2]]);this.areaPath&&(c=this.areaPath.splice(0,this.areaPath.length/2).concat(c),c.xMap=this.areaPath.xMap,this.areaPath=c,n.call(this,b,!1,m));return q})});D(a,"masters/highcharts-3d.src.js",[],function(){})}); | ||
//# sourceMappingURL=highcharts-3d.js.map |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Daniel Studencki | ||
(c) 2010-2021 Daniel Studencki | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Daniel Studencki | ||
* (c) 2010-2021 Daniel Studencki | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Sebastian Bochan | ||
(c) 2010-2021 Sebastian Bochan | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Sebastian Bochan | ||
* (c) 2010-2021 Sebastian Bochan | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Wojciech Chmiel | ||
(c) 2010-2021 Wojciech Chmiel | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Wojciech Chmiel | ||
* (c) 2010-2021 Wojciech Chmiel | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Wojciech Chmiel | ||
(c) 2010-2021 Wojciech Chmiel | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Wojciech Chmiel | ||
* (c) 2010-2021 Wojciech Chmiel | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Wojciech Chmiel | ||
(c) 2010-2021 Wojciech Chmiel | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Wojciech Chmiel | ||
* (c) 2010-2021 Wojciech Chmiel | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Wojciech Chmiel | ||
(c) 2010-2021 Wojciech Chmiel | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Wojciech Chmiel | ||
* (c) 2010-2021 Wojciech Chmiel | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Sebastian Bochan | ||
(c) 2010-2021 Sebastian Bochan | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Sebastian Bochan | ||
* (c) 2010-2021 Sebastian Bochan | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Pawe Fus | ||
(c) 2010-2021 Pawe Fus | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Paweł Fus | ||
* (c) 2010-2021 Paweł Fus | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Sebastian Bochan | ||
(c) 2010-2021 Sebastian Bochan | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Sebastian Bochan | ||
* (c) 2010-2021 Sebastian Bochan | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Wojciech Chmiel | ||
(c) 2010-2021 Wojciech Chmiel | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Wojciech Chmiel | ||
* (c) 2010-2021 Wojciech Chmiel | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
(c) 2010-2019 Highsoft AS | ||
(c) 2010-2021 Highsoft AS | ||
Author: Sebastian Domas | ||
@@ -6,0 +6,0 @@ |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* Author: Sebastian Domas | ||
@@ -6,0 +6,0 @@ * |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Rafa Sebestjaski | ||
(c) 2010-2021 Rafa Sebestjaski | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Rafał Sebestjański | ||
* (c) 2010-2021 Rafał Sebestjański | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Wojciech Chmiel | ||
(c) 2010-2021 Wojciech Chmiel | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Wojciech Chmiel | ||
* (c) 2010-2021 Wojciech Chmiel | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Sebastian Bochan | ||
(c) 2010-2021 Sebastian Bochan | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Sebastian Bochan | ||
* (c) 2010-2021 Sebastian Bochan | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Sebastian Bochan | ||
(c) 2010-2021 Sebastian Bochan | ||
@@ -12,15 +12,15 @@ License: www.highcharts.com/license | ||
f["Core/Series/SeriesRegistry.js"],f["Core/Utilities.js"]],function(f,m,p,h){function G(d){return d.reduce(function(b,a){return Math.max(b,a[1])},-Infinity)}function H(d){return d.reduce(function(b,a){return Math.min(b,a[2])},Infinity)}function y(d){return{high:G(d),low:H(d)}}function I(d){var b,a,n,c,q;d.series.forEach(function(d){if(d.xData)for(c=d.xData,q=a=d.xIncrement?1:c.length-1;0<q;q--)if(n=c[q]-c[q-1],"undefined"===typeof b||n<b)b=n});return b}function J(d,b,a,n){if(d&&b&&a&&n){var c=b.plotX- | ||
d.plotX;b=b.plotY-d.plotY;var q=n.plotX-a.plotX;n=n.plotY-a.plotY;var f=d.plotX-a.plotX,A=d.plotY-a.plotY;a=(-b*f+c*A)/(-q*b+c*n);q=(q*A-n*f)/(-q*b+c*n);if(0<=a&&1>=a&&0<=q&&1>=q)return{plotX:d.plotX+q*c,plotY:d.plotY+q*b}}return!1}function D(d){var b=d.indicator;b.points=d.points;b.nextPoints=d.nextPoints;b.color=d.color;b.options=B(d.options.senkouSpan.styles,d.gap);b.graph=d.graph;b.fillGraph=!0;p.seriesTypes.sma.prototype.drawGraph.call(b)}var K=this&&this.__extends||function(){var d=function(b, | ||
d.plotX;b=b.plotY-d.plotY;var q=n.plotX-a.plotX;n=n.plotY-a.plotY;var f=d.plotX-a.plotX,z=d.plotY-a.plotY;a=(-b*f+c*z)/(-q*b+c*n);q=(q*z-n*f)/(-q*b+c*n);if(0<=a&&1>=a&&0<=q&&1>=q)return{plotX:d.plotX+q*c,plotY:d.plotY+q*b}}return!1}function D(d){var b=d.indicator;b.points=d.points;b.nextPoints=d.nextPoints;b.color=d.color;b.options=B(d.options.senkouSpan.styles,d.gap);b.graph=d.graph;b.fillGraph=!0;p.seriesTypes.sma.prototype.drawGraph.call(b)}var K=this&&this.__extends||function(){var d=function(b, | ||
a){d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return d(b,a)};return function(b,a){function n(){this.constructor=b}d(b,a);b.prototype=null===a?Object.create(a):(n.prototype=a.prototype,new n)}}(),v=f.parse,E=p.seriesTypes.sma,F=h.defined;f=h.extend;var L=h.isArray,B=h.merge,M=h.objectEach;m.approximations["ichimoku-averages"]=function(){var d=[],b;[].forEach.call(arguments,function(a,n){d.push(m.approximations.average(a)); | ||
b=!b&&"undefined"===typeof d[n]});return b?void 0:d};h=function(d){function b(){var a=null!==d&&d.apply(this,arguments)||this;a.data=void 0;a.options=void 0;a.points=void 0;a.graphCollection=void 0;a.graphsenkouSpan=void 0;a.ikhMap=void 0;a.nextPoints=void 0;return a}K(b,d);b.prototype.init=function(){p.seriesTypes.sma.prototype.init.apply(this,arguments);this.options=B({tenkanLine:{styles:{lineColor:this.color}},kijunLine:{styles:{lineColor:this.color}},chikouLine:{styles:{lineColor:this.color}}, | ||
senkouSpanA:{styles:{lineColor:this.color,fill:v(this.color).setOpacity(.5).get()}},senkouSpanB:{styles:{lineColor:this.color,fill:v(this.color).setOpacity(.5).get()}},senkouSpan:{styles:{fill:v(this.color).setOpacity(.2).get()}}},this.options)};b.prototype.toYData=function(a){return[a.tenkanSen,a.kijunSen,a.chikouSpan,a.senkouSpanA,a.senkouSpanB]};b.prototype.translate=function(){var a=this;p.seriesTypes.sma.prototype.translate.apply(a);a.points.forEach(function(b){a.pointArrayMap.forEach(function(c){F(b[c])&& | ||
(b["plot"+c]=a.yAxis.toPixels(b[c],!0),b.plotY=b["plot"+c],b.tooltipPos=[b.plotX,b["plot"+c]],b.isNull=!1)})})};b.prototype.drawGraph=function(){var a=this,b=a.points,c=b.length,d=a.options,f=a.graph,A=a.color,m={options:{gapSize:d.gapSize}},l=a.pointArrayMap.length,w=[[],[],[],[],[],[]],e={tenkanLine:w[0],kijunLine:w[1],chikouLine:w[2],senkouSpanA:w[3],senkouSpanB:w[4],senkouSpan:w[5]},h=[],g=a.options.senkouSpan,u=g.color||g.styles.fill,C=g.negativeColor,r=[[],[]],x=[[],[]],y=0,t,v,z;for(a.ikhMap= | ||
(b["plot"+c]=a.yAxis.toPixels(b[c],!0),b.plotY=b["plot"+c],b.tooltipPos=[b.plotX,b["plot"+c]],b.isNull=!1)})})};b.prototype.drawGraph=function(){var a=this,b=a.points,c=b.length,d=a.options,f=a.graph,z=a.color,m={options:{gapSize:d.gapSize}},l=a.pointArrayMap.length,w=[[],[],[],[],[],[]],e={tenkanLine:w[0],kijunLine:w[1],chikouLine:w[2],senkouSpanA:w[3],senkouSpanB:w[4],senkouSpan:w[5]},h=[],g=a.options.senkouSpan,u=g.color||g.styles.fill,C=g.negativeColor,r=[[],[]],x=[[],[]],y=0,t,v,A;for(a.ikhMap= | ||
e;c--;){var k=b[c];for(t=0;t<l;t++)g=a.pointArrayMap[t],F(k[g])&&w[t].push({plotX:k.plotX,plotY:k["plot"+g],isNull:!1});C&&c!==b.length-1&&(g=e.senkouSpanB.length-1,k=J(e.senkouSpanA[g-1],e.senkouSpanA[g],e.senkouSpanB[g-1],e.senkouSpanB[g]),t={plotX:k.plotX,plotY:k.plotY,isNull:!1,intersectPoint:!0},k&&(e.senkouSpanA.splice(g,0,t),e.senkouSpanB.splice(g,0,t),h.push(g)))}M(e,function(b,c){d[c]&&"senkouSpan"!==c&&(a.points=w[y],a.options=B(d[c].styles,m),a.graph=a["graph"+c],a.fillGraph=!1,a.color= | ||
A,p.seriesTypes.sma.prototype.drawGraph.call(a),a["graph"+c]=a.graph);y++});a.graphCollection&&a.graphCollection.forEach(function(c){a[c].destroy();delete a[c]});a.graphCollection=[];if(C&&e.senkouSpanA[0]&&e.senkouSpanB[0]){h.unshift(0);h.push(e.senkouSpanA.length-1);for(l=0;l<h.length-1;l++){g=h[l];k=h[l+1];c=e.senkouSpanB.slice(g,k+1);g=e.senkouSpanA.slice(g,k+1);if(1<=Math.floor(c.length/2))if(k=Math.floor(c.length/2),c[k].plotY===g[k].plotY){for(z=t=k=0;z<c.length;z++)k+=c[z].plotY,t+=g[z].plotY; | ||
z,p.seriesTypes.sma.prototype.drawGraph.call(a),a["graph"+c]=a.graph);y++});a.graphCollection&&a.graphCollection.forEach(function(c){a[c].destroy();delete a[c]});a.graphCollection=[];if(C&&e.senkouSpanA[0]&&e.senkouSpanB[0]){h.unshift(0);h.push(e.senkouSpanA.length-1);for(l=0;l<h.length-1;l++){g=h[l];k=h[l+1];c=e.senkouSpanB.slice(g,k+1);g=e.senkouSpanA.slice(g,k+1);if(1<=Math.floor(c.length/2))if(k=Math.floor(c.length/2),c[k].plotY===g[k].plotY){for(A=t=k=0;A<c.length;A++)k+=c[A].plotY,t+=g[A].plotY; | ||
k=k>t?0:1}else k=c[k].plotY>g[k].plotY?0:1;else k=c[0].plotY>g[0].plotY?0:1;r[k]=r[k].concat(c);x[k]=x[k].concat(g)}["graphsenkouSpanColor","graphsenkouSpanNegativeColor"].forEach(function(c,b){r[b].length&&x[b].length&&(v=0===b?u:C,D({indicator:a,points:r[b],nextPoints:x[b],color:v,options:d,gap:m,graph:a[c]}),a[c]=a.graph,a.graphCollection.push(c))})}else D({indicator:a,points:e.senkouSpanB,nextPoints:e.senkouSpanA,color:u,options:d,gap:m,graph:a.graphsenkouSpan}),a.graphsenkouSpan=a.graph;delete a.nextPoints; | ||
delete a.fillGraph;a.points=b;a.options=d;a.graph=f};b.prototype.getGraphPath=function(a){var b=[],c;a=a||this.points;if(this.fillGraph&&this.nextPoints){if((c=p.seriesTypes.sma.prototype.getGraphPath.call(this,this.nextPoints))&&c.length){c[0][0]="L";b=p.seriesTypes.sma.prototype.getGraphPath.call(this,a);c=c.slice(0,b.length);for(var d=c.length-1;0<=d;d--)b.push(c[d])}}else b=p.seriesTypes.sma.prototype.getGraphPath.apply(this,arguments);return b};b.prototype.getValues=function(a,b){var c=b.period, | ||
d=b.periodTenkan;b=b.periodSenkouSpanB;var f=a.xData,h=a.yData,n=h&&h.length||0;a=I(a.xAxis);var l=[],m=[],e;if(!(f.length<=c)&&L(h[0])&&4===h[0].length){var p=f[0]-c*a;for(e=0;e<c;e++)m.push(p+e*a);for(e=0;e<n;e++){if(e>=d){var g=h.slice(e-d,e);g=y(g);g=(g.high+g.low)/2}if(e>=c){var u=h.slice(e-c,e);u=y(u);u=(u.high+u.low)/2;var v=(g+u)/2}if(e>=b){var r=h.slice(e-b,e);r=y(r);r=(r.high+r.low)/2}p=h[e][3];var x=f[e];"undefined"===typeof l[e]&&(l[e]=[]);"undefined"===typeof l[e+c]&&(l[e+c]=[]);l[e+ | ||
c][0]=g;l[e+c][1]=u;l[e+c][2]=void 0;l[e][2]=p;e<=c&&(l[e+c][3]=void 0,l[e+c][4]=void 0);"undefined"===typeof l[e+2*c]&&(l[e+2*c]=[]);l[e+2*c][3]=v;l[e+2*c][4]=r;m.push(x)}for(e=1;e<=c;e++)m.push(x+e*a);return{values:l,xData:m,yData:l}}};b.defaultOptions=B(E.defaultOptions,{params:{period:26,periodTenkan:9,periodSenkouSpanB:52},marker:{enabled:!1},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b> {series.name}</b><br/>TENKAN SEN: {point.tenkanSen:.3f}<br/>KIJUN SEN: {point.kijunSen:.3f}<br/>CHIKOU SPAN: {point.chikouSpan:.3f}<br/>SENKOU SPAN A: {point.senkouSpanA:.3f}<br/>SENKOU SPAN B: {point.senkouSpanB:.3f}<br/>'}, | ||
delete a.fillGraph;a.points=b;a.options=d;a.graph=f;a.color=z};b.prototype.getGraphPath=function(a){var b=[],c;a=a||this.points;if(this.fillGraph&&this.nextPoints){if((c=p.seriesTypes.sma.prototype.getGraphPath.call(this,this.nextPoints))&&c.length){c[0][0]="L";b=p.seriesTypes.sma.prototype.getGraphPath.call(this,a);c=c.slice(0,b.length);for(var d=c.length-1;0<=d;d--)b.push(c[d])}}else b=p.seriesTypes.sma.prototype.getGraphPath.apply(this,arguments);return b};b.prototype.getValues=function(a,b){var c= | ||
b.period,d=b.periodTenkan;b=b.periodSenkouSpanB;var f=a.xData,h=a.yData,n=h&&h.length||0;a=I(a.xAxis);var l=[],m=[],e;if(!(f.length<=c)&&L(h[0])&&4===h[0].length){var p=f[0]-c*a;for(e=0;e<c;e++)m.push(p+e*a);for(e=0;e<n;e++){if(e>=d){var g=h.slice(e-d,e);g=y(g);g=(g.high+g.low)/2}if(e>=c){var u=h.slice(e-c,e);u=y(u);u=(u.high+u.low)/2;var v=(g+u)/2}if(e>=b){var r=h.slice(e-b,e);r=y(r);r=(r.high+r.low)/2}p=h[e][3];var x=f[e];"undefined"===typeof l[e]&&(l[e]=[]);"undefined"===typeof l[e+c]&&(l[e+c]= | ||
[]);l[e+c][0]=g;l[e+c][1]=u;l[e+c][2]=void 0;l[e][2]=p;e<=c&&(l[e+c][3]=void 0,l[e+c][4]=void 0);"undefined"===typeof l[e+2*c]&&(l[e+2*c]=[]);l[e+2*c][3]=v;l[e+2*c][4]=r;m.push(x)}for(e=1;e<=c;e++)m.push(x+e*a);return{values:l,xData:m,yData:l}}};b.defaultOptions=B(E.defaultOptions,{params:{period:26,periodTenkan:9,periodSenkouSpanB:52},marker:{enabled:!1},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b> {series.name}</b><br/>TENKAN SEN: {point.tenkanSen:.3f}<br/>KIJUN SEN: {point.kijunSen:.3f}<br/>CHIKOU SPAN: {point.chikouSpan:.3f}<br/>SENKOU SPAN A: {point.senkouSpanA:.3f}<br/>SENKOU SPAN B: {point.senkouSpanB:.3f}<br/>'}, | ||
tenkanLine:{styles:{lineWidth:1,lineColor:void 0}},kijunLine:{styles:{lineWidth:1,lineColor:void 0}},chikouLine:{styles:{lineWidth:1,lineColor:void 0}},senkouSpanA:{styles:{lineWidth:1,lineColor:void 0}},senkouSpanB:{styles:{lineWidth:1,lineColor:void 0}},senkouSpan:{styles:{fill:"rgba(255, 0, 0, 0.5)"}},dataGrouping:{approximation:"ichimoku-averages"}});return b}(E);f(h.prototype,{pointArrayMap:["tenkanSen","kijunSen","chikouSpan","senkouSpanA","senkouSpanB"],pointValKey:"tenkanSen",nameComponents:["periodSenkouSpanB", | ||
"period","periodTenkan"]});p.registerSeriesType("ikh",h);"";return h});m(f,"masters/indicators/ichimoku-kinko-hyo.src.js",[],function(){})}); | ||
//# sourceMappingURL=ichimoku-kinko-hyo.js.map |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Sebastian Bochan | ||
* (c) 2010-2021 Sebastian Bochan | ||
* | ||
@@ -464,2 +464,3 @@ * License: www.highcharts.com/license | ||
indicator.graph = mainLinePath; | ||
indicator.color = mainColor; | ||
}; | ||
@@ -466,0 +467,0 @@ IKHIndicator.prototype.getGraphPath = function (points) { |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Pawel Fus, Sebastian Bochan | ||
(c) 2010-2021 Pawel Fus, Sebastian Bochan | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Pawel Fus, Sebastian Bochan | ||
* (c) 2010-2021 Pawel Fus, Sebastian Bochan | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Daniel Studencki | ||
(c) 2010-2021 Daniel Studencki | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Daniel Studencki | ||
* (c) 2010-2021 Daniel Studencki | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Sebastian Bochan | ||
(c) 2010-2021 Sebastian Bochan | ||
@@ -16,6 +16,6 @@ License: www.highcharts.com/license | ||
"Zones";a.zones=a[a.currentLineZone].zones;h.seriesTypes.sma.prototype.drawGraph.call(a);a["graph"+b]=a.graph});a.points=b;a.options=e;a.zones=d;a.currentLineZone=null};c.prototype.getZonesGraphs=function(a){var b=d.prototype.getZonesGraphs.call(this,a),c=b;this.currentLineZone&&(c=b.splice(this[this.currentLineZone].startIndex+1),c.length?c.splice(0,0,a[0]):c=[a[0]]);return c};c.prototype.applyZones=function(){var a=this.zones;this.zones=this.signalZones.zones;h.seriesTypes.sma.prototype.applyZones.call(this); | ||
this.graphmacd&&this.options.macdLine.zones.length&&this.graphmacd.hide();this.zones=a};c.prototype.getValues=function(a,b){var c=0,e=[],d=[],f=[];if(!(a.xData.length<b.longPeriod+b.signalPeriod)){var k=h.seriesTypes.ema.prototype.getValues(a,{period:b.shortPeriod});var g=h.seriesTypes.ema.prototype.getValues(a,{period:b.longPeriod});k=k.values;g=g.values;for(a=1;a<=k.length;a++)m(g[a-1])&&m(g[a-1][1])&&m(k[a+b.shortPeriod+1])&&m(k[a+b.shortPeriod+1][0])&&e.push([k[a+b.shortPeriod+1][0],0,null,k[a+ | ||
b.shortPeriod+1][1]-g[a-1][1]]);for(a=0;a<e.length;a++)d.push(e[a][0]),f.push([0,null,e[a][3]]);b=h.seriesTypes.ema.prototype.getValues({xData:d,yData:f},{period:b.signalPeriod,index:2});b=b.values;for(a=0;a<e.length;a++)e[a][0]>=b[0][0]&&(e[a][2]=b[c][1],f[a]=[0,b[c][1],e[a][3]],null===e[a][3]?(e[a][1]=0,f[a][0]=0):(e[a][1]=q(e[a][3]-b[c][1]),f[a][0]=q(e[a][3]-b[c][1])),c++);return{values:e,xData:d,yData:f}}};c.defaultOptions=n(p.defaultOptions,{params:{shortPeriod:12,longPeriod:26,signalPeriod:9, | ||
period:26},signalLine:{zones:[],styles:{lineWidth:1,lineColor:void 0}},macdLine:{zones:[],styles:{lineWidth:1,lineColor:void 0}},threshold:0,groupPadding:.1,pointPadding:.1,crisp:!1,states:{hover:{halo:{size:0}}},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b> {series.name}</b><br/>Value: {point.MACD}<br/>Signal: {point.signal}<br/>Histogram: {point.y}<br/>'},dataGrouping:{approximation:"averages"},minPointLength:0});return c}(p);t(d.prototype,{nameComponents:["longPeriod", | ||
this.graphmacd&&this.options.macdLine.zones.length&&this.graphmacd.hide();this.zones=a};c.prototype.getValues=function(a,b){var c=0,e=[],d=[],f=[];if(!(a.xData.length<b.longPeriod+b.signalPeriod)){var k=h.seriesTypes.ema.prototype.getValues(a,{period:b.shortPeriod,index:b.index});var g=h.seriesTypes.ema.prototype.getValues(a,{period:b.longPeriod,index:b.index});k=k.values;g=g.values;for(a=1;a<=k.length;a++)m(g[a-1])&&m(g[a-1][1])&&m(k[a+b.shortPeriod+1])&&m(k[a+b.shortPeriod+1][0])&&e.push([k[a+b.shortPeriod+ | ||
1][0],0,null,k[a+b.shortPeriod+1][1]-g[a-1][1]]);for(a=0;a<e.length;a++)d.push(e[a][0]),f.push([0,null,e[a][3]]);b=h.seriesTypes.ema.prototype.getValues({xData:d,yData:f},{period:b.signalPeriod,index:2});b=b.values;for(a=0;a<e.length;a++)e[a][0]>=b[0][0]&&(e[a][2]=b[c][1],f[a]=[0,b[c][1],e[a][3]],null===e[a][3]?(e[a][1]=0,f[a][0]=0):(e[a][1]=q(e[a][3]-b[c][1]),f[a][0]=q(e[a][3]-b[c][1])),c++);return{values:e,xData:d,yData:f}}};c.defaultOptions=n(p.defaultOptions,{params:{shortPeriod:12,longPeriod:26, | ||
signalPeriod:9,period:26},signalLine:{zones:[],styles:{lineWidth:1,lineColor:void 0}},macdLine:{zones:[],styles:{lineWidth:1,lineColor:void 0}},threshold:0,groupPadding:.1,pointPadding:.1,crisp:!1,states:{hover:{halo:{size:0}}},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b> {series.name}</b><br/>Value: {point.MACD}<br/>Signal: {point.signal}<br/>Histogram: {point.y}<br/>'},dataGrouping:{approximation:"averages"},minPointLength:0});return c}(p);t(d.prototype,{nameComponents:["longPeriod", | ||
"shortPeriod","signalPeriod"],requiredIndicators:["ema"],pointArrayMap:["y","signal","MACD"],parallelArrays:["x","y","signal","MACD"],pointValKey:"y",markerAttribs:r,getColumnMetrics:b.seriesTypes.column.prototype.getColumnMetrics,crispCol:b.seriesTypes.column.prototype.crispCol,drawPoints:b.seriesTypes.column.prototype.drawPoints});h.registerSeriesType("macd",d);"";return d});f(b,"masters/indicators/macd.src.js",[],function(){})}); | ||
//# sourceMappingURL=macd.js.map |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Sebastian Bochan | ||
* (c) 2010-2021 Sebastian Bochan | ||
* | ||
@@ -252,6 +252,8 @@ * License: www.highcharts.com/license | ||
shortEMA = SeriesRegistry.seriesTypes.ema.prototype.getValues(series, { | ||
period: params.shortPeriod | ||
period: params.shortPeriod, | ||
index: params.index | ||
}); | ||
longEMA = SeriesRegistry.seriesTypes.ema.prototype.getValues(series, { | ||
period: params.longPeriod | ||
period: params.longPeriod, | ||
index: params.index | ||
}); | ||
@@ -258,0 +260,0 @@ shortEMA = shortEMA.values; |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Money Flow Index indicator for Highstock | ||
(c) 2010-2019 Grzegorz Blachliski | ||
(c) 2010-2021 Grzegorz Blachliski | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Money Flow Index indicator for Highstock | ||
* | ||
* (c) 2010-2019 Grzegorz Blachliński | ||
* (c) 2010-2021 Grzegorz Blachliński | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Sebastian Bochan | ||
(c) 2010-2021 Sebastian Bochan | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Sebastian Bochan | ||
* (c) 2010-2021 Sebastian Bochan | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Pawe Dalek | ||
(c) 2010-2021 Pawe Dalek | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Paweł Dalek | ||
* (c) 2010-2021 Paweł Dalek | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Pawe Fus | ||
(c) 2010-2021 Pawe Fus | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Paweł Fus | ||
* (c) 2010-2021 Paweł Fus | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Wojciech Chmiel | ||
(c) 2010-2021 Wojciech Chmiel | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Wojciech Chmiel | ||
* (c) 2010-2021 Wojciech Chmiel | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Daniel Studencki | ||
(c) 2010-2021 Daniel Studencki | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Daniel Studencki | ||
* (c) 2010-2021 Daniel Studencki | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Pawe Fus | ||
(c) 2010-2021 Pawe Fus | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Paweł Fus | ||
* (c) 2010-2021 Paweł Fus | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Parabolic SAR Indicator for Highstock | ||
(c) 2010-2019 Grzegorz Blachliski | ||
(c) 2010-2021 Grzegorz Blachliski | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Parabolic SAR Indicator for Highstock | ||
* | ||
* (c) 2010-2019 Grzegorz Blachliński | ||
* (c) 2010-2021 Grzegorz Blachliński | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Kamil Kulig | ||
(c) 2010-2021 Kamil Kulig | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Kamil Kulig | ||
* (c) 2010-2021 Kamil Kulig | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Kacper Madej | ||
(c) 2010-2021 Kacper Madej | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Kacper Madej | ||
* (c) 2010-2021 Kacper Madej | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Pawe Fus | ||
(c) 2010-2021 Pawe Fus | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Paweł Fus | ||
* (c) 2010-2021 Paweł Fus | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Slow Stochastic series type for Highstock | ||
(c) 2010-2019 Pawel Fus | ||
(c) 2010-2021 Pawel Fus | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Slow Stochastic series type for Highstock | ||
* | ||
* (c) 2010-2019 Pawel Fus | ||
* (c) 2010-2021 Pawel Fus | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Pawe Fus | ||
(c) 2010-2021 Pawe Fus | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Paweł Fus | ||
* (c) 2010-2021 Paweł Fus | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Wojciech Chmiel | ||
(c) 2010-2021 Wojciech Chmiel | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Wojciech Chmiel | ||
* (c) 2010-2021 Wojciech Chmiel | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Rafal Sebestjanski | ||
(c) 2010-2021 Rafal Sebestjanski | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Rafal Sebestjanski | ||
* (c) 2010-2021 Rafal Sebestjanski | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Sebastian Bochan | ||
(c) 2010-2021 Sebastian Bochan | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Sebastian Bochan | ||
* (c) 2010-2021 Sebastian Bochan | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Rafal Sebestjanski | ||
(c) 2010-2021 Rafal Sebestjanski | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Rafal Sebestjanski | ||
* (c) 2010-2021 Rafal Sebestjanski | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Pawe Dalek | ||
(c) 2010-2021 Pawe Dalek | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Paweł Dalek | ||
* (c) 2010-2021 Paweł Dalek | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Pawe Dalek | ||
(c) 2010-2021 Pawe Dalek | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Paweł Dalek | ||
* (c) 2010-2021 Paweł Dalek | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Wojciech Chmiel | ||
(c) 2010-2021 Wojciech Chmiel | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Wojciech Chmiel | ||
* (c) 2010-2021 Wojciech Chmiel | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Kacper Madej | ||
(c) 2010-2021 Kacper Madej | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Kacper Madej | ||
* (c) 2010-2021 Kacper Madej | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Indicator series type for Highstock | ||
(c) 2010-2019 Kacper Madej | ||
(c) 2010-2021 Kacper Madej | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Indicator series type for Highstock | ||
* | ||
* (c) 2010-2019 Kacper Madej | ||
* (c) 2010-2021 Kacper Madej | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
@@ -64,2 +64,6 @@ /*!* | ||
description?: string; | ||
/** | ||
* Enable or disable exposing the point to assistive technology | ||
*/ | ||
enabled?: boolean; | ||
} | ||
@@ -66,0 +70,0 @@ interface PointOptionsObject { |
@@ -64,2 +64,6 @@ /*!* | ||
description?: string; | ||
/** | ||
* Enable or disable exposing the point to assistive technology | ||
*/ | ||
enabled?: boolean; | ||
} | ||
@@ -66,0 +70,0 @@ interface PointOptionsObject { |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Annotations module | ||
(c) 2009-2019 Torstein Honsi | ||
(c) 2009-2021 Torstein Honsi | ||
License: www.highcharts.com/license | ||
*/ | ||
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/annotations",["highcharts"],function(t){a(t);a.Highcharts=t;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function t(c,a,r,n){c.hasOwnProperty(a)||(c[a]=n.apply(null,r))}a=a?a._modules:{};t(a,"Extensions/Annotations/Mixins/EventEmitterMixin.js",[a["Core/Globals.js"],a["Core/Utilities.js"]],function(c,a){var g=a.addEvent, | ||
n=a.fireEvent,l=a.objectEach,y=a.pick,b=a.removeEvent;return{addEvents:function(){var b=this,d=function(d){g(d,c.isTouchDevice?"touchstart":"mousedown",function(d){b.onMouseDown(d)},{passive:!1})};d(this.graphic.element);(b.labels||[]).forEach(function(b){b.options.useHTML&&b.graphic.text&&d(b.graphic.text.element)});l(b.options.events,function(d,h){var e=function(e){"click"===h&&b.cancelClick||d.call(b,b.chart.pointer.normalize(e),b.target)};if(-1===(b.nonDOMEvents||[]).indexOf(h))b.graphic.on(h, | ||
e);else g(b,h,e,{passive:!1})});if(b.options.draggable&&(g(b,"drag",b.onDrag),!b.graphic.renderer.styledMode)){var e={cursor:{x:"ew-resize",y:"ns-resize",xy:"move"}[b.options.draggable]};b.graphic.css(e);(b.labels||[]).forEach(function(d){d.options.useHTML&&d.graphic.text&&d.graphic.text.css(e)})}b.isUpdating||n(b,"add")},removeDocEvents:function(){this.removeDrag&&(this.removeDrag=this.removeDrag());this.removeMouseUp&&(this.removeMouseUp=this.removeMouseUp())},onMouseDown:function(b){var d=this, | ||
e=d.chart.pointer;b.preventDefault&&b.preventDefault();if(2!==b.button){b=e.normalize(b);var q=b.chartX;var h=b.chartY;d.cancelClick=!1;d.chart.hasDraggedAnnotation=!0;d.removeDrag=g(c.doc,c.isTouchDevice?"touchmove":"mousemove",function(b){d.hasDragged=!0;b=e.normalize(b);b.prevChartX=q;b.prevChartY=h;n(d,"drag",b);q=b.chartX;h=b.chartY},c.isTouchDevice?{passive:!1}:void 0);d.removeMouseUp=g(c.doc,c.isTouchDevice?"touchend":"mouseup",function(b){d.cancelClick=d.hasDragged;d.hasDragged=!1;d.chart.hasDraggedAnnotation= | ||
!1;n(y(d.target,d),"afterUpdate");d.onMouseUp(b)},c.isTouchDevice?{passive:!1}:void 0)}},onMouseUp:function(b){var d=this.chart;b=this.target||this;var e=d.options.annotations;d=d.annotations.indexOf(b);this.removeDocEvents();e[d]=b.options},onDrag:function(b){if(this.chart.isInsidePlot(b.chartX-this.chart.plotLeft,b.chartY-this.chart.plotTop)){var d=this.mouseMoveToTranslation(b);"x"===this.options.draggable&&(d.y=0);"y"===this.options.draggable&&(d.x=0);this.points.length?this.translate(d.x,d.y): | ||
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/annotations",["highcharts"],function(t){a(t);a.Highcharts=t;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function t(c,a,m,r){c.hasOwnProperty(a)||(c[a]=r.apply(null,m))}a=a?a._modules:{};t(a,"Extensions/Annotations/Mixins/EventEmitterMixin.js",[a["Core/Globals.js"],a["Core/Utilities.js"]],function(c,a){var g=a.addEvent, | ||
r=a.fireEvent,k=a.objectEach,x=a.pick,b=a.removeEvent;return{addEvents:function(){var b=this,d=function(d){g(d,c.isTouchDevice?"touchstart":"mousedown",function(d){b.onMouseDown(d)},{passive:!1})};d(this.graphic.element);(b.labels||[]).forEach(function(b){b.options.useHTML&&b.graphic.text&&d(b.graphic.text.element)});k(b.options.events,function(d,h){var e=function(e){"click"===h&&b.cancelClick||d.call(b,b.chart.pointer.normalize(e),b.target)};if(-1===(b.nonDOMEvents||[]).indexOf(h))b.graphic.on(h, | ||
e);else g(b,h,e,{passive:!1})});if(b.options.draggable&&(g(b,"drag",b.onDrag),!b.graphic.renderer.styledMode)){var e={cursor:{x:"ew-resize",y:"ns-resize",xy:"move"}[b.options.draggable]};b.graphic.css(e);(b.labels||[]).forEach(function(d){d.options.useHTML&&d.graphic.text&&d.graphic.text.css(e)})}b.isUpdating||r(b,"add")},removeDocEvents:function(){this.removeDrag&&(this.removeDrag=this.removeDrag());this.removeMouseUp&&(this.removeMouseUp=this.removeMouseUp())},onMouseDown:function(b){var d=this, | ||
e=d.chart.pointer;b.preventDefault&&b.preventDefault();if(2!==b.button){b=e.normalize(b);var u=b.chartX;var h=b.chartY;d.cancelClick=!1;d.chart.hasDraggedAnnotation=!0;d.removeDrag=g(c.doc,c.isTouchDevice?"touchmove":"mousemove",function(b){d.hasDragged=!0;b=e.normalize(b);b.prevChartX=u;b.prevChartY=h;r(d,"drag",b);u=b.chartX;h=b.chartY},c.isTouchDevice?{passive:!1}:void 0);d.removeMouseUp=g(c.doc,c.isTouchDevice?"touchend":"mouseup",function(b){d.cancelClick=d.hasDragged;d.hasDragged=!1;d.chart.hasDraggedAnnotation= | ||
!1;r(x(d.target,d),"afterUpdate");d.onMouseUp(b)},c.isTouchDevice?{passive:!1}:void 0)}},onMouseUp:function(b){var d=this.chart;b=this.target||this;var e=d.options.annotations;d=d.annotations.indexOf(b);this.removeDocEvents();e[d]=b.options},onDrag:function(b){if(this.chart.isInsidePlot(b.chartX-this.chart.plotLeft,b.chartY-this.chart.plotTop)){var d=this.mouseMoveToTranslation(b);"x"===this.options.draggable&&(d.y=0);"y"===this.options.draggable&&(d.x=0);this.points.length?this.translate(d.x,d.y): | ||
(this.shapes.forEach(function(b){b.translate(d.x,d.y)}),this.labels.forEach(function(b){b.translate(d.x,d.y)}));this.redraw(!1)}},mouseMoveToRadians:function(b,d,e){var c=b.prevChartY-e,h=b.prevChartX-d;e=b.chartY-e;b=b.chartX-d;this.chart.inverted&&(d=h,h=c,c=d,d=b,b=e,e=d);return Math.atan2(e,b)-Math.atan2(c,h)},mouseMoveToTranslation:function(b){var d=b.chartX-b.prevChartX;b=b.chartY-b.prevChartY;if(this.chart.inverted){var e=b;b=d;d=e}return{x:d,y:b}},mouseMoveToScale:function(b,d,e){d=(b.chartX- | ||
d||1)/(b.prevChartX-d||1);b=(b.chartY-e||1)/(b.prevChartY-e||1);this.chart.inverted&&(e=b,b=d,d=e);return{x:d,y:b}},destroy:function(){this.removeDocEvents();b(this);this.hcEvents=null}}});t(a,"Extensions/Annotations/ControlPoint.js",[a["Core/Utilities.js"],a["Extensions/Annotations/Mixins/EventEmitterMixin.js"]],function(c,a){var g=c.merge,n=c.pick;return function(){function c(c,b,g,d){this.addEvents=a.addEvents;this.graphic=void 0;this.mouseMoveToRadians=a.mouseMoveToRadians;this.mouseMoveToScale= | ||
a.mouseMoveToScale;this.mouseMoveToTranslation=a.mouseMoveToTranslation;this.onDrag=a.onDrag;this.onMouseDown=a.onMouseDown;this.onMouseUp=a.onMouseUp;this.removeDocEvents=a.removeDocEvents;this.nonDOMEvents=["drag"];this.chart=c;this.target=b;this.options=g;this.index=n(g.index,d)}c.prototype.setVisibility=function(c){this.graphic.attr("visibility",c?"visible":"hidden");this.options.visible=c};c.prototype.render=function(){var c=this.chart,b=this.options;this.graphic=c.renderer.symbol(b.symbol,0, | ||
d||1)/(b.prevChartX-d||1);b=(b.chartY-e||1)/(b.prevChartY-e||1);this.chart.inverted&&(e=b,b=d,d=e);return{x:d,y:b}},destroy:function(){this.removeDocEvents();b(this);this.hcEvents=null}}});t(a,"Extensions/Annotations/ControlPoint.js",[a["Core/Utilities.js"],a["Extensions/Annotations/Mixins/EventEmitterMixin.js"]],function(c,a){var g=c.merge,r=c.pick;return function(){function c(c,b,g,d){this.addEvents=a.addEvents;this.graphic=void 0;this.mouseMoveToRadians=a.mouseMoveToRadians;this.mouseMoveToScale= | ||
a.mouseMoveToScale;this.mouseMoveToTranslation=a.mouseMoveToTranslation;this.onDrag=a.onDrag;this.onMouseDown=a.onMouseDown;this.onMouseUp=a.onMouseUp;this.removeDocEvents=a.removeDocEvents;this.nonDOMEvents=["drag"];this.chart=c;this.target=b;this.options=g;this.index=r(g.index,d)}c.prototype.setVisibility=function(c){this.graphic.attr("visibility",c?"visible":"hidden");this.options.visible=c};c.prototype.render=function(){var c=this.chart,b=this.options;this.graphic=c.renderer.symbol(b.symbol,0, | ||
0,b.width,b.height).add(c.controlPointsGroup).css(b.style);this.setVisibility(b.visible);this.addEvents()};c.prototype.redraw=function(c){this.graphic[c?"animate":"attr"](this.options.positioner.call(this,this.target))};c.prototype.destroy=function(){a.destroy.call(this);this.graphic&&(this.graphic=this.graphic.destroy());this.options=this.target=this.chart=null};c.prototype.update=function(c){var b=this.chart,a=this.target,d=this.index;c=g(!0,this.options,c);this.destroy();this.constructor(b,a,c, | ||
d);this.render(b.controlPointsGroup);this.redraw()};return c}()});t(a,"Extensions/Annotations/MockPoint.js",[a["Core/Series/Series.js"],a["Core/Utilities.js"],a["Core/Axis/Axis.js"]],function(c,a,r){var g=a.defined,l=a.fireEvent;return function(){function a(b,a,d){this.y=this.x=this.plotY=this.plotX=this.isInside=void 0;this.mock=!0;this.series={visible:!0,chart:b,getPlotBox:c.prototype.getPlotBox};this.target=a||null;this.options=d;this.applyOptions(this.getOptions())}a.fromPoint=function(b){return new a(b.series.chart, | ||
d);this.render(b.controlPointsGroup);this.redraw()};return c}()});t(a,"Extensions/Annotations/MockPoint.js",[a["Core/Series/Series.js"],a["Core/Utilities.js"],a["Core/Axis/Axis.js"]],function(c,a,m){var g=a.defined,k=a.fireEvent;return function(){function a(b,a,d){this.y=this.x=this.plotY=this.plotX=this.isInside=void 0;this.mock=!0;this.series={visible:!0,chart:b,getPlotBox:c.prototype.getPlotBox};this.target=a||null;this.options=d;this.applyOptions(this.getOptions())}a.fromPoint=function(b){return new a(b.series.chart, | ||
null,{x:b.x,y:b.y,xAxis:b.series.xAxis,yAxis:b.series.yAxis})};a.pointToPixels=function(b,c){var d=b.series,e=d.chart,a=b.plotX,h=b.plotY;e.inverted&&(b.mock?(a=b.plotY,h=b.plotX):(a=e.plotWidth-b.plotY,h=e.plotHeight-b.plotX));d&&!c&&(b=d.getPlotBox(),a+=b.translateX,h+=b.translateY);return{x:a,y:h}};a.pointToOptions=function(b){return{x:b.x,y:b.y,xAxis:b.series.xAxis,yAxis:b.series.yAxis}};a.prototype.hasDynamicOptions=function(){return"function"===typeof this.options};a.prototype.getOptions=function(){return this.hasDynamicOptions()? | ||
this.options(this.target):this.options};a.prototype.applyOptions=function(b){this.command=b.command;this.setAxis(b,"x");this.setAxis(b,"y");this.refresh()};a.prototype.setAxis=function(b,c){c+="Axis";b=b[c];var d=this.series.chart;this.series[c]=b instanceof r?b:g(b)?d[c][b]||d.get(b):null};a.prototype.toAnchor=function(){var b=[this.plotX,this.plotY,0,0];this.series.chart.inverted&&(b[0]=this.plotY,b[1]=this.plotX);return b};a.prototype.getLabelConfig=function(){return{x:this.x,y:this.y,point:this}}; | ||
a.prototype.isInsidePlot=function(){var b=this.plotX,c=this.plotY,d=this.series.xAxis,e=this.series.yAxis,a={x:b,y:c,isInsidePlot:!0};d&&(a.isInsidePlot=g(b)&&0<=b&&b<=d.len);e&&(a.isInsidePlot=a.isInsidePlot&&g(c)&&0<=c&&c<=e.len);l(this.series.chart,"afterIsInsidePlot",a);return a.isInsidePlot};a.prototype.refresh=function(){var b=this.series,c=b.xAxis;b=b.yAxis;var d=this.getOptions();c?(this.x=d.x,this.plotX=c.toPixels(d.x,!0)):(this.x=null,this.plotX=d.x);b?(this.y=d.y,this.plotY=b.toPixels(d.y, | ||
this.options(this.target):this.options};a.prototype.applyOptions=function(b){this.command=b.command;this.setAxis(b,"x");this.setAxis(b,"y");this.refresh()};a.prototype.setAxis=function(b,c){c+="Axis";b=b[c];var d=this.series.chart;this.series[c]=b instanceof m?b:g(b)?d[c][b]||d.get(b):null};a.prototype.toAnchor=function(){var b=[this.plotX,this.plotY,0,0];this.series.chart.inverted&&(b[0]=this.plotY,b[1]=this.plotX);return b};a.prototype.getLabelConfig=function(){return{x:this.x,y:this.y,point:this}}; | ||
a.prototype.isInsidePlot=function(){var b=this.plotX,c=this.plotY,d=this.series.xAxis,e=this.series.yAxis,a={x:b,y:c,isInsidePlot:!0};d&&(a.isInsidePlot=g(b)&&0<=b&&b<=d.len);e&&(a.isInsidePlot=a.isInsidePlot&&g(c)&&0<=c&&c<=e.len);k(this.series.chart,"afterIsInsidePlot",a);return a.isInsidePlot};a.prototype.refresh=function(){var b=this.series,c=b.xAxis;b=b.yAxis;var d=this.getOptions();c?(this.x=d.x,this.plotX=c.toPixels(d.x,!0)):(this.x=null,this.plotX=d.x);b?(this.y=d.y,this.plotY=b.toPixels(d.y, | ||
!0)):(this.y=null,this.plotY=d.y);this.isInside=this.isInsidePlot()};a.prototype.translate=function(b,c,d,e){this.hasDynamicOptions()||(this.plotX+=d,this.plotY+=e,this.refreshOptions())};a.prototype.scale=function(b,c,d,e){if(!this.hasDynamicOptions()){var a=this.plotY*e;this.plotX=(1-d)*b+this.plotX*d;this.plotY=(1-e)*c+a;this.refreshOptions()}};a.prototype.rotate=function(b,c,d){if(!this.hasDynamicOptions()){var e=Math.cos(d);d=Math.sin(d);var a=this.plotX,h=this.plotY;a-=b;h-=c;this.plotX=a*e- | ||
h*d+b;this.plotY=a*d+h*e+c;this.refreshOptions()}};a.prototype.refreshOptions=function(){var b=this.series,c=b.xAxis;b=b.yAxis;this.x=this.options.x=c?this.options.x=c.toValue(this.plotX,!0):this.plotX;this.y=this.options.y=b?b.toValue(this.plotY,!0):this.plotY};return a}()});t(a,"Extensions/Annotations/Mixins/ControllableMixin.js",[a["Extensions/Annotations/ControlPoint.js"],a["Extensions/Annotations/MockPoint.js"],a["Core/Tooltip.js"],a["Core/Utilities.js"]],function(c,a,r,n){var g=n.isObject,y= | ||
n.isString,b=n.merge,C=n.splat;return{init:function(b,c,a){this.annotation=b;this.chart=b.chart;this.options=c;this.points=[];this.controlPoints=[];this.index=a;this.linkPoints();this.addControlPoints()},attr:function(){this.graphic.attr.apply(this.graphic,arguments)},getPointsOptions:function(){var b=this.options;return b.points||b.point&&C(b.point)},attrsFromOptions:function(b){var c=this.constructor.attrsMap,d={},h,a=this.chart.styledMode;for(h in b){var p=c[h];!p||a&&-1!==["fill","stroke","stroke-width"].indexOf(p)|| | ||
(d[p]=b[h])}return d},anchor:function(c){var d=c.series.getPlotBox(),a=c.series.chart,h=c.mock?c.toAnchor():r.prototype.getAnchor.call({chart:c.series.chart},c);h={x:h[0]+(this.options.x||0),y:h[1]+(this.options.y||0),height:h[2]||0,width:h[3]||0};return{relativePosition:h,absolutePosition:b(h,{x:h.x+(c.mock?d.translateX:a.plotLeft),y:h.y+(c.mock?d.translateY:a.plotTop)})}},point:function(b,c){if(b&&b.series)return b;c&&null!==c.series||(g(b)?c=new a(this.chart,this,b):y(b)?c=this.chart.get(b)||null: | ||
"function"===typeof b&&(c=b.call(c,this),c=c.series?c:new a(this.chart,this,b)));return c},linkPoints:function(){var b=this.getPointsOptions(),c=this.points,a=b&&b.length||0,h;for(h=0;h<a;h++){var w=this.point(b[h],c[h]);if(!w){c.length=0;return}w.mock&&w.refresh();c[h]=w}return c},addControlPoints:function(){var a=this.options.controlPoints;(a||[]).forEach(function(d,q){d=b(this.options.controlPointOptions,d);d.index||(d.index=q);a[q]=d;this.controlPoints.push(new c(this.chart,this,d))},this)},shouldBeDrawn:function(){return!!this.points.length}, | ||
render:function(b){this.controlPoints.forEach(function(b){b.render()})},redraw:function(b){this.controlPoints.forEach(function(c){c.redraw(b)})},transform:function(b,c,a,h,w){if(this.chart.inverted){var d=c;c=a;a=d}this.points.forEach(function(d,e){this.transformPoint(b,c,a,h,w,e)},this)},transformPoint:function(b,c,q,h,w,p){var d=this.points[p];d.mock||(d=this.points[p]=a.fromPoint(d));d[b](c,q,h,w)},translate:function(b,c){this.transform("translate",null,null,b,c)},translatePoint:function(b,c,a){this.transformPoint("translate", | ||
h*d+b;this.plotY=a*d+h*e+c;this.refreshOptions()}};a.prototype.refreshOptions=function(){var b=this.series,c=b.xAxis;b=b.yAxis;this.x=this.options.x=c?this.options.x=c.toValue(this.plotX,!0):this.plotX;this.y=this.options.y=b?b.toValue(this.plotY,!0):this.plotY};return a}()});t(a,"Extensions/Annotations/Mixins/ControllableMixin.js",[a["Extensions/Annotations/ControlPoint.js"],a["Extensions/Annotations/MockPoint.js"],a["Core/Tooltip.js"],a["Core/Utilities.js"]],function(c,a,m,r){var g=r.isObject,x= | ||
r.isString,b=r.merge,B=r.splat;return{init:function(b,c,a){this.annotation=b;this.chart=b.chart;this.options=c;this.points=[];this.controlPoints=[];this.index=a;this.linkPoints();this.addControlPoints()},attr:function(){this.graphic.attr.apply(this.graphic,arguments)},getPointsOptions:function(){var b=this.options;return b.points||b.point&&B(b.point)},attrsFromOptions:function(b){var c=this.constructor.attrsMap,d={},h,a=this.chart.styledMode;for(h in b){var p=c[h];!p||a&&-1!==["fill","stroke","stroke-width"].indexOf(p)|| | ||
(d[p]=b[h])}return d},anchor:function(c){var d=c.series.getPlotBox(),a=c.series.chart,h=c.mock?c.toAnchor():m.prototype.getAnchor.call({chart:c.series.chart},c);h={x:h[0]+(this.options.x||0),y:h[1]+(this.options.y||0),height:h[2]||0,width:h[3]||0};return{relativePosition:h,absolutePosition:b(h,{x:h.x+(c.mock?d.translateX:a.plotLeft),y:h.y+(c.mock?d.translateY:a.plotTop)})}},point:function(b,c){if(b&&b.series)return b;c&&null!==c.series||(g(b)?c=new a(this.chart,this,b):x(b)?c=this.chart.get(b)||null: | ||
"function"===typeof b&&(c=b.call(c,this),c=c.series?c:new a(this.chart,this,b)));return c},linkPoints:function(){var b=this.getPointsOptions(),c=this.points,a=b&&b.length||0,h;for(h=0;h<a;h++){var z=this.point(b[h],c[h]);if(!z){c.length=0;return}z.mock&&z.refresh();c[h]=z}return c},addControlPoints:function(){var a=this.options.controlPoints;(a||[]).forEach(function(d,u){d=b(this.options.controlPointOptions,d);d.index||(d.index=u);a[u]=d;this.controlPoints.push(new c(this.chart,this,d))},this)},shouldBeDrawn:function(){return!!this.points.length}, | ||
render:function(b){this.controlPoints.forEach(function(b){b.render()})},redraw:function(b){this.controlPoints.forEach(function(c){c.redraw(b)})},transform:function(b,c,a,h,z){if(this.chart.inverted){var d=c;c=a;a=d}this.points.forEach(function(d,e){this.transformPoint(b,c,a,h,z,e)},this)},transformPoint:function(b,c,u,h,z,p){var d=this.points[p];d.mock||(d=this.points[p]=a.fromPoint(d));d[b](c,u,h,z)},translate:function(b,c){this.transform("translate",null,null,b,c)},translatePoint:function(b,c,a){this.transformPoint("translate", | ||
null,null,b,c,a)},translateShape:function(b,c){var a=this.annotation.chart,h=this.annotation.userOptions,d=a.annotations.indexOf(this.annotation);a=a.options.annotations[d];this.translatePoint(b,c,0);a[this.collection][this.index].point=this.options.point;h[this.collection][this.index].point=this.options.point},rotate:function(b,c,a){this.transform("rotate",b,c,a)},scale:function(b,c,a,h){this.transform("scale",b,c,a,h)},setControlPointsVisibility:function(b){this.controlPoints.forEach(function(c){c.setVisibility(b)})}, | ||
destroy:function(){this.graphic&&(this.graphic=this.graphic.destroy());this.tracker&&(this.tracker=this.tracker.destroy());this.controlPoints.forEach(function(b){b.destroy()});this.options=this.controlPoints=this.points=this.chart=null;this.annotation&&(this.annotation=null)},update:function(c){var a=this.annotation;c=b(!0,this.options,c);var d=this.graphic.parentGroup;this.destroy();this.constructor(a,c);this.render(d);this.redraw()}}});t(a,"Extensions/Annotations/Mixins/MarkerMixin.js",[a["Core/Chart/Chart.js"], | ||
a["Core/Renderer/SVG/SVGRenderer.js"],a["Core/Utilities.js"]],function(c,a,r){function g(b){return function(c){this.attr(b,"url(#"+c+")")}}var l=r.addEvent,y=r.defined,b=r.merge,C=r.objectEach,d=r.uniqueKey,e={arrow:{tagName:"marker",attributes:{display:"none",id:"arrow",refY:5,refX:9,markerWidth:10,markerHeight:10},children:[{tagName:"path",attributes:{d:"M 0 0 L 10 5 L 0 10 Z","stroke-width":0}}]},"reverse-arrow":{tagName:"marker",attributes:{display:"none",id:"reverse-arrow",refY:5,refX:1,markerWidth:10, | ||
a["Core/Renderer/SVG/SVGRenderer.js"],a["Core/Utilities.js"]],function(c,a,m){function g(b){return function(c){this.attr(b,"url(#"+c+")")}}var k=m.addEvent,x=m.defined,b=m.merge,B=m.objectEach,d=m.uniqueKey,e={arrow:{tagName:"marker",attributes:{display:"none",id:"arrow",refY:5,refX:9,markerWidth:10,markerHeight:10},children:[{tagName:"path",attributes:{d:"M 0 0 L 10 5 L 0 10 Z","stroke-width":0}}]},"reverse-arrow":{tagName:"marker",attributes:{display:"none",id:"reverse-arrow",refY:5,refX:1,markerWidth:10, | ||
markerHeight:10},children:[{tagName:"path",attributes:{d:"M 0 5 L 10 0 L 10 10 Z","stroke-width":0}}]}};a.prototype.addMarker=function(c,a){var h={attributes:{id:c}},d={stroke:a.color||"none",fill:a.color||"rgba(0, 0, 0, 0.75)"};h.children=a.children.map(function(c){return b(d,c)});a=b(!0,{attributes:{markerWidth:20,markerHeight:20,refX:0,refY:0,orient:"auto"}},a,h);a=this.definition(a);a.id=c;return a};a={markerEndSetter:g("marker-end"),markerStartSetter:g("marker-start"),setItemMarkers:function(c){var a= | ||
c.options,e=c.chart,p=e.options.defs,q=a.fill,g=y(q)&&"none"!==q?q:a.stroke;["markerStart","markerEnd"].forEach(function(h){var f,k=a[h],q;if(k){for(q in p){var u=p[q];if((k===(null===(f=u.attributes)||void 0===f?void 0:f.id)||k===u.id)&&"marker"===u.tagName){var m=u;break}}m&&(f=c[h]=e.renderer.addMarker((a.id||d())+"-"+k,b(m,{color:g})),c.attr(h,f.getAttribute("id")))}})}};l(c,"afterGetContainer",function(){this.options.defs=b(e,this.options.defs||{});C(this.options.defs,function(b){var c=b.attributes; | ||
"marker"===b.tagName&&c&&"none"!==c.display&&this.renderer.addMarker(c.id,b)},this)});return a});t(a,"Extensions/Annotations/Controllables/ControllablePath.js",[a["Extensions/Annotations/Mixins/ControllableMixin.js"],a["Core/Globals.js"],a["Extensions/Annotations/Mixins/MarkerMixin.js"],a["Core/Utilities.js"]],function(c,a,r,n){var g=n.extend,y="rgba(192,192,192,"+(a.svg?.0001:.002)+")";return function(){function b(b,a,e){this.addControlPoints=c.addControlPoints;this.anchor=c.anchor;this.attr=c.attr; | ||
this.attrsFromOptions=c.attrsFromOptions;this.destroy=c.destroy;this.getPointsOptions=c.getPointsOptions;this.init=c.init;this.linkPoints=c.linkPoints;this.point=c.point;this.rotate=c.rotate;this.scale=c.scale;this.setControlPointsVisibility=c.setControlPointsVisibility;this.setMarkers=r.setItemMarkers;this.transform=c.transform;this.transformPoint=c.transformPoint;this.translate=c.translate;this.translatePoint=c.translatePoint;this.translateShape=c.translateShape;this.update=c.update;this.type="path"; | ||
this.init(b,a,e);this.collection="shapes"}b.prototype.toD=function(){var b=this.options.d;if(b)return"function"===typeof b?b.call(this):b;b=this.points;var c=b.length,a=c,q=b[0],h=a&&this.anchor(q).absolutePosition,g=0,p=[];if(h)for(p.push(["M",h.x,h.y]);++g<c&&a;)q=b[g],a=q.command||"L",h=this.anchor(q).absolutePosition,"M"===a?p.push([a,h.x,h.y]):"L"===a?p.push([a,h.x,h.y]):"Z"===a&&p.push([a]),a=q.series.visible;return a?this.chart.renderer.crispLine(p,this.graphic.strokeWidth()):null};b.prototype.shouldBeDrawn= | ||
function(){return c.shouldBeDrawn.call(this)||!!this.options.d};b.prototype.render=function(b){var a=this.options,e=this.attrsFromOptions(a);this.graphic=this.annotation.chart.renderer.path([["M",0,0]]).attr(e).add(b);a.className&&this.graphic.addClass(a.className);this.tracker=this.annotation.chart.renderer.path([["M",0,0]]).addClass("highcharts-tracker-line").attr({zIndex:2}).add(b);this.annotation.chart.styledMode||this.tracker.attr({"stroke-linejoin":"round",stroke:y,fill:y,"stroke-width":this.graphic.strokeWidth()+ | ||
2*a.snap});c.render.call(this);g(this.graphic,{markerStartSetter:r.markerStartSetter,markerEndSetter:r.markerEndSetter});this.setMarkers(this)};b.prototype.redraw=function(b){var a=this.toD(),e=b?"animate":"attr";a?(this.graphic[e]({d:a}),this.tracker[e]({d:a})):(this.graphic.attr({d:"M 0 -9000000000"}),this.tracker.attr({d:"M 0 -9000000000"}));this.graphic.placed=this.tracker.placed=!!a;c.redraw.call(this,b)};b.attrsMap={dashStyle:"dashstyle",strokeWidth:"stroke-width",stroke:"stroke",fill:"fill", | ||
zIndex:"zIndex"};return b}()});t(a,"Extensions/Annotations/Controllables/ControllableRect.js",[a["Extensions/Annotations/Mixins/ControllableMixin.js"],a["Extensions/Annotations/Controllables/ControllablePath.js"],a["Core/Utilities.js"]],function(c,a,r){var g=r.merge;return function(){function l(a,b,g){this.addControlPoints=c.addControlPoints;this.anchor=c.anchor;this.attr=c.attr;this.attrsFromOptions=c.attrsFromOptions;this.destroy=c.destroy;this.getPointsOptions=c.getPointsOptions;this.init=c.init; | ||
this.linkPoints=c.linkPoints;this.point=c.point;this.rotate=c.rotate;this.scale=c.scale;this.setControlPointsVisibility=c.setControlPointsVisibility;this.shouldBeDrawn=c.shouldBeDrawn;this.transform=c.transform;this.transformPoint=c.transformPoint;this.translatePoint=c.translatePoint;this.translateShape=c.translateShape;this.update=c.update;this.type="rect";this.translate=c.translateShape;this.init(a,b,g);this.collection="shapes"}l.prototype.render=function(a){var b=this.attrsFromOptions(this.options); | ||
this.graphic=this.annotation.chart.renderer.rect(0,-9E9,0,0).attr(b).add(a);c.render.call(this)};l.prototype.redraw=function(a){var b=this.anchor(this.points[0]).absolutePosition;if(b)this.graphic[a?"animate":"attr"]({x:b.x,y:b.y,width:this.options.width,height:this.options.height});else this.attr({x:0,y:-9E9});this.graphic.placed=!!b;c.redraw.call(this,a)};l.attrsMap=g(a.attrsMap,{width:"width",height:"height"});return l}()});t(a,"Extensions/Annotations/Controllables/ControllableCircle.js",[a["Extensions/Annotations/Mixins/ControllableMixin.js"], | ||
a["Extensions/Annotations/Controllables/ControllablePath.js"],a["Core/Utilities.js"]],function(c,a,r){var g=r.merge;return function(){function l(a,b,g){this.addControlPoints=c.addControlPoints;this.anchor=c.anchor;this.attr=c.attr;this.attrsFromOptions=c.attrsFromOptions;this.destroy=c.destroy;this.getPointsOptions=c.getPointsOptions;this.init=c.init;this.linkPoints=c.linkPoints;this.point=c.point;this.rotate=c.rotate;this.scale=c.scale;this.setControlPointsVisibility=c.setControlPointsVisibility; | ||
this.shouldBeDrawn=c.shouldBeDrawn;this.transform=c.transform;this.transformPoint=c.transformPoint;this.translatePoint=c.translatePoint;this.translateShape=c.translateShape;this.update=c.update;this.type="circle";this.translate=c.translateShape;this.init(a,b,g);this.collection="shapes"}l.prototype.render=function(a){var b=this.attrsFromOptions(this.options);this.graphic=this.annotation.chart.renderer.circle(0,-9E9,0).attr(b).add(a);c.render.call(this)};l.prototype.redraw=function(a){var b=this.anchor(this.points[0]).absolutePosition; | ||
if(b)this.graphic[a?"animate":"attr"]({x:b.x,y:b.y,r:this.options.r});else this.graphic.attr({x:0,y:-9E9});this.graphic.placed=!!b;c.redraw.call(this,a)};l.prototype.setRadius=function(c){this.options.r=c};l.attrsMap=g(a.attrsMap,{r:"r"});return l}()});t(a,"Extensions/Annotations/Controllables/ControllableLabel.js",[a["Extensions/Annotations/Mixins/ControllableMixin.js"],a["Extensions/Annotations/MockPoint.js"],a["Core/Renderer/SVG/SVGRenderer.js"],a["Core/Tooltip.js"],a["Core/Utilities.js"]],function(c, | ||
a,r,n,l){var g=l.extend,b=l.format,t=l.isNumber,d=l.pick;l=function(){function e(b,a,d){this.addControlPoints=c.addControlPoints;this.attr=c.attr;this.attrsFromOptions=c.attrsFromOptions;this.destroy=c.destroy;this.getPointsOptions=c.getPointsOptions;this.init=c.init;this.linkPoints=c.linkPoints;this.point=c.point;this.rotate=c.rotate;this.scale=c.scale;this.setControlPointsVisibility=c.setControlPointsVisibility;this.shouldBeDrawn=c.shouldBeDrawn;this.transform=c.transform;this.transformPoint=c.transformPoint; | ||
this.translateShape=c.translateShape;this.update=c.update;this.init(b,a,d);this.collection="labels"}e.alignedPosition=function(b,c){var a=b.align,h=b.verticalAlign,d=(c.x||0)+(b.x||0),e=(c.y||0)+(b.y||0),k,f;"right"===a?k=1:"center"===a&&(k=2);k&&(d+=(c.width-(b.width||0))/k);"bottom"===h?f=1:"middle"===h&&(f=2);f&&(e+=(c.height-(b.height||0))/f);return{x:Math.round(d),y:Math.round(e)}};e.justifiedOptions=function(b,c,a,d){var h=a.align,e=a.verticalAlign,k=c.box?0:c.padding||0,f=c.getBBox();c={align:h, | ||
verticalAlign:e,x:a.x,y:a.y,width:c.width,height:c.height};a=d.x-b.plotLeft;var g=d.y-b.plotTop;d=a+k;0>d&&("right"===h?c.align="left":c.x=-d);d=a+f.width-k;d>b.plotWidth&&("left"===h?c.align="right":c.x=b.plotWidth-d);d=g+k;0>d&&("bottom"===e?c.verticalAlign="top":c.y=-d);d=g+f.height-k;d>b.plotHeight&&("top"===e?c.verticalAlign="bottom":c.y=b.plotHeight-d);return c};e.prototype.translatePoint=function(b,a){c.translatePoint.call(this,b,a,0)};e.prototype.translate=function(b,c){var a=this.annotation.chart, | ||
c.options,e=c.chart,p=e.options.defs,u=a.fill,g=x(u)&&"none"!==u?u:a.stroke;["markerStart","markerEnd"].forEach(function(h){var f,l=a[h],w;if(l){for(w in p){var v=p[w];if((l===(null===(f=v.attributes)||void 0===f?void 0:f.id)||l===v.id)&&"marker"===v.tagName){var n=v;break}}n&&(f=c[h]=e.renderer.addMarker((a.id||d())+"-"+l,b(n,{color:g})),c.attr(h,f.getAttribute("id")))}})}};k(c,"afterGetContainer",function(){this.options.defs=b(e,this.options.defs||{});B(this.options.defs,function(b){var c=b.attributes; | ||
"marker"===b.tagName&&c&&"none"!==c.display&&this.renderer.addMarker(c.id,b)},this)});return a});t(a,"Extensions/Annotations/Controllables/ControllablePath.js",[a["Extensions/Annotations/Mixins/ControllableMixin.js"],a["Core/Globals.js"],a["Extensions/Annotations/Mixins/MarkerMixin.js"],a["Core/Utilities.js"]],function(c,a,m,r){var g=r.extend,x="rgba(192,192,192,"+(a.svg?.0001:.002)+")";return function(){function b(b,a,e){this.addControlPoints=c.addControlPoints;this.anchor=c.anchor;this.attr=c.attr; | ||
this.attrsFromOptions=c.attrsFromOptions;this.destroy=c.destroy;this.getPointsOptions=c.getPointsOptions;this.init=c.init;this.linkPoints=c.linkPoints;this.point=c.point;this.rotate=c.rotate;this.scale=c.scale;this.setControlPointsVisibility=c.setControlPointsVisibility;this.setMarkers=m.setItemMarkers;this.transform=c.transform;this.transformPoint=c.transformPoint;this.translate=c.translate;this.translatePoint=c.translatePoint;this.translateShape=c.translateShape;this.update=c.update;this.type="path"; | ||
this.init(b,a,e);this.collection="shapes"}b.prototype.toD=function(){var b=this.options.d;if(b)return"function"===typeof b?b.call(this):b;b=this.points;var c=b.length,a=c,u=b[0],h=a&&this.anchor(u).absolutePosition,g=0,p=[];if(h)for(p.push(["M",h.x,h.y]);++g<c&&a;)u=b[g],a=u.command||"L",h=this.anchor(u).absolutePosition,"M"===a?p.push([a,h.x,h.y]):"L"===a?p.push([a,h.x,h.y]):"Z"===a&&p.push([a]),a=u.series.visible;return a?this.chart.renderer.crispLine(p,this.graphic.strokeWidth()):null};b.prototype.shouldBeDrawn= | ||
function(){return c.shouldBeDrawn.call(this)||!!this.options.d};b.prototype.render=function(b){var a=this.options,e=this.attrsFromOptions(a);this.graphic=this.annotation.chart.renderer.path([["M",0,0]]).attr(e).add(b);a.className&&this.graphic.addClass(a.className);this.tracker=this.annotation.chart.renderer.path([["M",0,0]]).addClass("highcharts-tracker-line").attr({zIndex:2}).add(b);this.annotation.chart.styledMode||this.tracker.attr({"stroke-linejoin":"round",stroke:x,fill:x,"stroke-width":this.graphic.strokeWidth()+ | ||
2*a.snap});c.render.call(this);g(this.graphic,{markerStartSetter:m.markerStartSetter,markerEndSetter:m.markerEndSetter});this.setMarkers(this)};b.prototype.redraw=function(b){var a=this.toD(),e=b?"animate":"attr";a?(this.graphic[e]({d:a}),this.tracker[e]({d:a})):(this.graphic.attr({d:"M 0 -9000000000"}),this.tracker.attr({d:"M 0 -9000000000"}));this.graphic.placed=this.tracker.placed=!!a;c.redraw.call(this,b)};b.attrsMap={dashStyle:"dashstyle",strokeWidth:"stroke-width",stroke:"stroke",fill:"fill", | ||
zIndex:"zIndex"};return b}()});t(a,"Extensions/Annotations/Controllables/ControllableRect.js",[a["Extensions/Annotations/Mixins/ControllableMixin.js"],a["Extensions/Annotations/Controllables/ControllablePath.js"],a["Core/Utilities.js"]],function(c,a,m){var g=m.merge;return function(){function k(a,b,g){this.addControlPoints=c.addControlPoints;this.anchor=c.anchor;this.attr=c.attr;this.attrsFromOptions=c.attrsFromOptions;this.destroy=c.destroy;this.getPointsOptions=c.getPointsOptions;this.init=c.init; | ||
this.linkPoints=c.linkPoints;this.point=c.point;this.rotate=c.rotate;this.scale=c.scale;this.setControlPointsVisibility=c.setControlPointsVisibility;this.shouldBeDrawn=c.shouldBeDrawn;this.transform=c.transform;this.transformPoint=c.transformPoint;this.translatePoint=c.translatePoint;this.translateShape=c.translateShape;this.update=c.update;this.type="rect";this.translate=c.translateShape;this.init(a,b,g);this.collection="shapes"}k.prototype.render=function(a){var b=this.attrsFromOptions(this.options); | ||
this.graphic=this.annotation.chart.renderer.rect(0,-9E9,0,0).attr(b).add(a);c.render.call(this)};k.prototype.redraw=function(a){var b=this.anchor(this.points[0]).absolutePosition;if(b)this.graphic[a?"animate":"attr"]({x:b.x,y:b.y,width:this.options.width,height:this.options.height});else this.attr({x:0,y:-9E9});this.graphic.placed=!!b;c.redraw.call(this,a)};k.attrsMap=g(a.attrsMap,{width:"width",height:"height"});return k}()});t(a,"Extensions/Annotations/Controllables/ControllableCircle.js",[a["Extensions/Annotations/Mixins/ControllableMixin.js"], | ||
a["Extensions/Annotations/Controllables/ControllablePath.js"],a["Core/Utilities.js"]],function(c,a,m){var g=m.merge;return function(){function k(a,b,g){this.addControlPoints=c.addControlPoints;this.anchor=c.anchor;this.attr=c.attr;this.attrsFromOptions=c.attrsFromOptions;this.destroy=c.destroy;this.getPointsOptions=c.getPointsOptions;this.init=c.init;this.linkPoints=c.linkPoints;this.point=c.point;this.rotate=c.rotate;this.scale=c.scale;this.setControlPointsVisibility=c.setControlPointsVisibility; | ||
this.shouldBeDrawn=c.shouldBeDrawn;this.transform=c.transform;this.transformPoint=c.transformPoint;this.translatePoint=c.translatePoint;this.translateShape=c.translateShape;this.update=c.update;this.type="circle";this.translate=c.translateShape;this.init(a,b,g);this.collection="shapes"}k.prototype.render=function(a){var b=this.attrsFromOptions(this.options);this.graphic=this.annotation.chart.renderer.circle(0,-9E9,0).attr(b).add(a);c.render.call(this)};k.prototype.redraw=function(a){var b=this.anchor(this.points[0]).absolutePosition; | ||
if(b)this.graphic[a?"animate":"attr"]({x:b.x,y:b.y,r:this.options.r});else this.graphic.attr({x:0,y:-9E9});this.graphic.placed=!!b;c.redraw.call(this,a)};k.prototype.setRadius=function(c){this.options.r=c};k.attrsMap=g(a.attrsMap,{r:"r"});return k}()});t(a,"Extensions/Annotations/Controllables/ControllableLabel.js",[a["Extensions/Annotations/Mixins/ControllableMixin.js"],a["Extensions/Annotations/MockPoint.js"],a["Core/Renderer/SVG/SVGRenderer.js"],a["Core/Tooltip.js"],a["Core/Utilities.js"]],function(c, | ||
a,m,r,k){var g=k.extend,b=k.format,t=k.isNumber,d=k.pick;k=function(){function e(b,a,d){this.addControlPoints=c.addControlPoints;this.attr=c.attr;this.attrsFromOptions=c.attrsFromOptions;this.destroy=c.destroy;this.getPointsOptions=c.getPointsOptions;this.init=c.init;this.linkPoints=c.linkPoints;this.point=c.point;this.rotate=c.rotate;this.scale=c.scale;this.setControlPointsVisibility=c.setControlPointsVisibility;this.shouldBeDrawn=c.shouldBeDrawn;this.transform=c.transform;this.transformPoint=c.transformPoint; | ||
this.translateShape=c.translateShape;this.update=c.update;this.init(b,a,d);this.collection="labels"}e.alignedPosition=function(b,c){var a=b.align,h=b.verticalAlign,d=(c.x||0)+(b.x||0),e=(c.y||0)+(b.y||0),g,f;"right"===a?g=1:"center"===a&&(g=2);g&&(d+=(c.width-(b.width||0))/g);"bottom"===h?f=1:"middle"===h&&(f=2);f&&(e+=(c.height-(b.height||0))/f);return{x:Math.round(d),y:Math.round(e)}};e.justifiedOptions=function(b,c,a,d){var h=a.align,e=a.verticalAlign,g=c.box?0:c.padding||0,f=c.getBBox();c={align:h, | ||
verticalAlign:e,x:a.x,y:a.y,width:c.width,height:c.height};a=d.x-b.plotLeft;var l=d.y-b.plotTop;d=a+g;0>d&&("right"===h?c.align="left":c.x=-d);d=a+f.width-g;d>b.plotWidth&&("left"===h?c.align="right":c.x=b.plotWidth-d);d=l+g;0>d&&("bottom"===e?c.verticalAlign="top":c.y=-d);d=l+f.height-g;d>b.plotHeight&&("top"===e?c.verticalAlign="bottom":c.y=b.plotHeight-d);return c};e.prototype.translatePoint=function(b,a){c.translatePoint.call(this,b,a,0)};e.prototype.translate=function(b,c){var a=this.annotation.chart, | ||
d=this.annotation.userOptions,h=a.annotations.indexOf(this.annotation);h=a.options.annotations[h];a.inverted&&(a=b,b=c,c=a);this.options.x+=b;this.options.y+=c;h[this.collection][this.index].x=this.options.x;h[this.collection][this.index].y=this.options.y;d[this.collection][this.index].x=this.options.x;d[this.collection][this.index].y=this.options.y};e.prototype.render=function(b){var a=this.options,d=this.attrsFromOptions(a),g=a.style;this.graphic=this.annotation.chart.renderer.label("",0,-9999, | ||
a.shape,null,null,a.useHTML,null,"annotation-label").attr(d).add(b);this.annotation.chart.styledMode||("contrast"===g.color&&(g.color=this.annotation.chart.renderer.getContrast(-1<e.shapesWithoutBackground.indexOf(a.shape)?"#FFFFFF":a.backgroundColor)),this.graphic.css(a.style).shadow(a.shadow));a.className&&this.graphic.addClass(a.className);this.graphic.labelrank=a.labelrank;c.render.call(this)};e.prototype.redraw=function(a){var d=this.options,e=this.text||d.format||d.text,g=this.graphic,l=this.points[0]; | ||
g.attr({text:e?b(e,l.getLabelConfig(),this.annotation.chart):d.formatter.call(l,this)});d=this.anchor(l);(e=this.position(d))?(g.alignAttr=e,e.anchorX=d.absolutePosition.x,e.anchorY=d.absolutePosition.y,g[a?"animate":"attr"](e)):g.attr({x:0,y:-9999});g.placed=!!e;c.redraw.call(this,a)};e.prototype.anchor=function(b){var a=c.anchor.apply(this,arguments),d=this.options.x||0,e=this.options.y||0;a.absolutePosition.x-=d;a.absolutePosition.y-=e;a.relativePosition.x-=d;a.relativePosition.y-=e;return a}; | ||
e.prototype.position=function(b){var c=this.graphic,l=this.annotation.chart,p=this.points[0],q=this.options,r=b.absolutePosition,k=b.relativePosition;if(b=p.series.visible&&a.prototype.isInsidePlot.call(p)){if(q.distance)var f=n.prototype.getPosition.call({chart:l,distance:d(q.distance,16)},c.width,c.height,{plotX:k.x,plotY:k.y,negative:p.negative,ttBelow:p.ttBelow,h:k.height||k.width});else q.positioner?f=q.positioner.call(this):(p={x:r.x,y:r.y,width:0,height:0},f=e.alignedPosition(g(q,{width:c.width, | ||
height:c.height}),p),"justify"===this.options.overflow&&(f=e.alignedPosition(e.justifiedOptions(l,c,q,f),p)));q.crop&&(q=f.x-l.plotLeft,p=f.y-l.plotTop,b=l.isInsidePlot(q,p)&&l.isInsidePlot(q+c.width,p+c.height))}return b?f:null};e.attrsMap={backgroundColor:"fill",borderColor:"stroke",borderWidth:"stroke-width",zIndex:"zIndex",borderRadius:"r",padding:"padding"};e.shapesWithoutBackground=["connector"];return e}();r.prototype.symbols.connector=function(b,c,a,d,g){var e=g&&g.anchorX;g=g&&g.anchorY; | ||
var h=a/2;if(t(e)&&t(g)){var k=[["M",e,g]];var f=c-g;0>f&&(f=-d-f);f<a&&(h=e<b+a/2?f:a-f);g>c+d?k.push(["L",b+h,c+d]):g<c?k.push(["L",b+h,c]):e<b?k.push(["L",b,c+d/2]):e>b+a&&k.push(["L",b+a,c+d/2])}return k||[]};return l});t(a,"Extensions/Annotations/Controllables/ControllableImage.js",[a["Extensions/Annotations/Controllables/ControllableLabel.js"],a["Extensions/Annotations/Mixins/ControllableMixin.js"]],function(c,a){return function(){function g(c,g,r){this.addControlPoints=a.addControlPoints;this.anchor= | ||
a.shape,null,null,a.useHTML,null,"annotation-label").attr(d).add(b);this.annotation.chart.styledMode||("contrast"===g.color&&(g.color=this.annotation.chart.renderer.getContrast(-1<e.shapesWithoutBackground.indexOf(a.shape)?"#FFFFFF":a.backgroundColor)),this.graphic.css(a.style).shadow(a.shadow));a.className&&this.graphic.addClass(a.className);this.graphic.labelrank=a.labelrank;c.render.call(this)};e.prototype.redraw=function(a){var d=this.options,e=this.text||d.format||d.text,g=this.graphic,k=this.points[0]; | ||
g.attr({text:e?b(e,k.getLabelConfig(),this.annotation.chart):d.formatter.call(k,this)});d=this.anchor(k);(e=this.position(d))?(g.alignAttr=e,e.anchorX=d.absolutePosition.x,e.anchorY=d.absolutePosition.y,g[a?"animate":"attr"](e)):g.attr({x:0,y:-9999});g.placed=!!e;c.redraw.call(this,a)};e.prototype.anchor=function(b){var a=c.anchor.apply(this,arguments),d=this.options.x||0,e=this.options.y||0;a.absolutePosition.x-=d;a.absolutePosition.y-=e;a.relativePosition.x-=d;a.relativePosition.y-=e;return a}; | ||
e.prototype.position=function(b){var c=this.graphic,k=this.annotation.chart,p=this.points[0],m=this.options,u=b.absolutePosition,x=b.relativePosition;if(b=p.series.visible&&a.prototype.isInsidePlot.call(p)){if(m.distance)var f=r.prototype.getPosition.call({chart:k,distance:d(m.distance,16)},c.width,c.height,{plotX:x.x,plotY:x.y,negative:p.negative,ttBelow:p.ttBelow,h:x.height||x.width});else m.positioner?f=m.positioner.call(this):(p={x:u.x,y:u.y,width:0,height:0},f=e.alignedPosition(g(m,{width:c.width, | ||
height:c.height}),p),"justify"===this.options.overflow&&(f=e.alignedPosition(e.justifiedOptions(k,c,m,f),p)));m.crop&&(m=f.x-k.plotLeft,p=f.y-k.plotTop,b=k.isInsidePlot(m,p)&&k.isInsidePlot(m+c.width,p+c.height))}return b?f:null};e.attrsMap={backgroundColor:"fill",borderColor:"stroke",borderWidth:"stroke-width",zIndex:"zIndex",borderRadius:"r",padding:"padding"};e.shapesWithoutBackground=["connector"];return e}();m.prototype.symbols.connector=function(b,c,a,d,g){var e=g&&g.anchorX;g=g&&g.anchorY; | ||
var h=a/2;if(t(e)&&t(g)){var k=[["M",e,g]];var f=c-g;0>f&&(f=-d-f);f<a&&(h=e<b+a/2?f:a-f);g>c+d?k.push(["L",b+h,c+d]):g<c?k.push(["L",b+h,c]):e<b?k.push(["L",b,c+d/2]):e>b+a&&k.push(["L",b+a,c+d/2])}return k||[]};return k});t(a,"Extensions/Annotations/Controllables/ControllableImage.js",[a["Extensions/Annotations/Controllables/ControllableLabel.js"],a["Extensions/Annotations/Mixins/ControllableMixin.js"]],function(c,a){return function(){function g(c,g,m){this.addControlPoints=a.addControlPoints;this.anchor= | ||
a.anchor;this.attr=a.attr;this.attrsFromOptions=a.attrsFromOptions;this.destroy=a.destroy;this.getPointsOptions=a.getPointsOptions;this.init=a.init;this.linkPoints=a.linkPoints;this.point=a.point;this.rotate=a.rotate;this.scale=a.scale;this.setControlPointsVisibility=a.setControlPointsVisibility;this.shouldBeDrawn=a.shouldBeDrawn;this.transform=a.transform;this.transformPoint=a.transformPoint;this.translatePoint=a.translatePoint;this.translateShape=a.translateShape;this.update=a.update;this.type= | ||
"image";this.translate=a.translateShape;this.init(c,g,r);this.collection="shapes"}g.prototype.render=function(c){var g=this.attrsFromOptions(this.options),n=this.options;this.graphic=this.annotation.chart.renderer.image(n.src,0,-9E9,n.width,n.height).attr(g).add(c);this.graphic.width=n.width;this.graphic.height=n.height;a.render.call(this)};g.prototype.redraw=function(g){var l=this.anchor(this.points[0]);if(l=c.prototype.position.call(this,l))this.graphic[g?"animate":"attr"]({x:l.x,y:l.y});else this.graphic.attr({x:0, | ||
y:-9E9});this.graphic.placed=!!l;a.redraw.call(this,g)};g.attrsMap={width:"width",height:"height",zIndex:"zIndex"};return g}()});t(a,"Extensions/Annotations/Annotations.js",[a["Core/Animation/AnimationUtilities.js"],a["Core/Chart/Chart.js"],a["Extensions/Annotations/Mixins/ControllableMixin.js"],a["Extensions/Annotations/Controllables/ControllableRect.js"],a["Extensions/Annotations/Controllables/ControllableCircle.js"],a["Extensions/Annotations/Controllables/ControllablePath.js"],a["Extensions/Annotations/Controllables/ControllableImage.js"], | ||
a["Extensions/Annotations/Controllables/ControllableLabel.js"],a["Extensions/Annotations/ControlPoint.js"],a["Extensions/Annotations/Mixins/EventEmitterMixin.js"],a["Core/Globals.js"],a["Extensions/Annotations/MockPoint.js"],a["Core/Pointer.js"],a["Core/Utilities.js"]],function(a,g,r,n,l,t,b,C,d,e,q,h,w,p){var c=a.getDeferredAnimation;a=g.prototype;var y=p.addEvent,k=p.defined,f=p.destroyObjectProperties,v=p.erase,B=p.extend,u=p.find,m=p.fireEvent,x=p.merge,E=p.pick,F=p.splat;p=p.wrap;var A=function(){function a(a, | ||
b){this.annotation=void 0;this.coll="annotations";this.shapesGroup=this.labelsGroup=this.labelCollector=this.group=this.graphic=this.animationConfig=this.collection=void 0;this.chart=a;this.points=[];this.controlPoints=[];this.coll="annotations";this.labels=[];this.shapes=[];this.options=x(this.defaultOptions,b);this.userOptions=b;b=this.getLabelsAndShapesOptions(this.options,b);this.options.labels=b.labels;this.options.shapes=b.shapes;this.init(a,this.options)}a.prototype.init=function(){var a=this.chart, | ||
b=this.options.animation;this.linkPoints();this.addControlPoints();this.addShapes();this.addLabels();this.setLabelCollector();this.animationConfig=c(a,b)};a.prototype.getLabelsAndShapesOptions=function(a,b){var c={};["labels","shapes"].forEach(function(d){a[d]&&(c[d]=F(b[d]).map(function(b,c){return x(a[d][c],b)}))});return c};a.prototype.addShapes=function(){(this.options.shapes||[]).forEach(function(a,b){a=this.initShape(a,b);x(!0,this.options.shapes[b],a.options)},this)};a.prototype.addLabels= | ||
function(){(this.options.labels||[]).forEach(function(a,b){a=this.initLabel(a,b);x(!0,this.options.labels[b],a.options)},this)};a.prototype.addClipPaths=function(){this.setClipAxes();this.clipXAxis&&this.clipYAxis&&(this.clipRect=this.chart.renderer.clipRect(this.getClipBox()))};a.prototype.setClipAxes=function(){var a=this.chart.xAxis,b=this.chart.yAxis,c=(this.options.labels||[]).concat(this.options.shapes||[]).reduce(function(c,d){return[a[d&&d.point&&d.point.xAxis]||c[0],b[d&&d.point&&d.point.yAxis]|| | ||
c[1]]},[]);this.clipXAxis=c[0];this.clipYAxis=c[1]};a.prototype.getClipBox=function(){if(this.clipXAxis&&this.clipYAxis)return{x:this.clipXAxis.left,y:this.clipYAxis.top,width:this.clipXAxis.width,height:this.clipYAxis.height}};a.prototype.setLabelCollector=function(){var a=this;a.labelCollector=function(){return a.labels.reduce(function(a,b){b.options.allowOverlap||a.push(b.graphic);return a},[])};a.chart.labelCollectors.push(a.labelCollector)};a.prototype.setOptions=function(a){this.options=x(this.defaultOptions, | ||
a)};a.prototype.redraw=function(a){this.linkPoints();this.graphic||this.render();this.clipRect&&this.clipRect.animate(this.getClipBox());this.redrawItems(this.shapes,a);this.redrawItems(this.labels,a);r.redraw.call(this,a)};a.prototype.redrawItems=function(a,b){for(var c=a.length;c--;)this.redrawItem(a[c],b)};a.prototype.renderItems=function(a){for(var b=a.length;b--;)this.renderItem(a[b])};a.prototype.render=function(){var a=this.chart.renderer;this.graphic=a.g("annotation").attr({opacity:0,zIndex:this.options.zIndex, | ||
visibility:this.options.visible?"visible":"hidden"}).add();this.shapesGroup=a.g("annotation-shapes").add(this.graphic).clip(this.chart.plotBoxClip);this.labelsGroup=a.g("annotation-labels").attr({translateX:0,translateY:0}).add(this.graphic);this.addClipPaths();this.clipRect&&this.graphic.clip(this.clipRect);this.renderItems(this.shapes);this.renderItems(this.labels);this.addEvents();r.render.call(this)};a.prototype.setVisibility=function(a){var b=this.options;a=E(a,!b.visible);this.graphic.attr("visibility", | ||
a?"visible":"hidden");a||this.setControlPointsVisibility(!1);b.visible=a};a.prototype.setControlPointsVisibility=function(a){var b=function(b){b.setControlPointsVisibility(a)};r.setControlPointsVisibility.call(this,a);this.shapes.forEach(b);this.labels.forEach(b)};a.prototype.destroy=function(){var a=this.chart,b=function(a){a.destroy()};this.labels.forEach(b);this.shapes.forEach(b);this.clipYAxis=this.clipXAxis=null;v(a.labelCollectors,this.labelCollector);e.destroy.call(this);r.destroy.call(this); | ||
f(this,a)};a.prototype.remove=function(){return this.chart.removeAnnotation(this)};a.prototype.update=function(a,b){var c=this.chart,d=this.getLabelsAndShapesOptions(this.userOptions,a),f=c.annotations.indexOf(this);a=x(!0,this.userOptions,a);a.labels=d.labels;a.shapes=d.shapes;this.destroy();this.constructor(c,a);c.options.annotations[f]=a;this.isUpdating=!0;E(b,!0)&&c.redraw();m(this,"afterUpdate");this.isUpdating=!1};a.prototype.initShape=function(b,c){b=x(this.options.shapeOptions,{controlPointOptions:this.options.controlPointOptions}, | ||
b);c=new a.shapesMap[b.type](this,b,c);c.itemType="shape";this.shapes.push(c);return c};a.prototype.initLabel=function(a,b){a=x(this.options.labelOptions,{controlPointOptions:this.options.controlPointOptions},a);b=new C(this,a,b);b.itemType="label";this.labels.push(b);return b};a.prototype.redrawItem=function(a,b){a.linkPoints();a.shouldBeDrawn()?(a.graphic||this.renderItem(a),a.redraw(E(b,!0)&&a.graphic.placed),a.points.length&&this.adjustVisibility(a)):this.destroyItem(a)};a.prototype.adjustVisibility= | ||
function(a){var b=!1,c=a.graphic;a.points.forEach(function(a){!1!==a.series.visible&&!1!==a.visible&&(b=!0)});b?"hidden"===c.visibility&&c.show():c.hide()};a.prototype.destroyItem=function(a){v(this[a.itemType+"s"],a);a.destroy()};a.prototype.renderItem=function(a){a.render("label"===a.itemType?this.labelsGroup:this.shapesGroup)};a.ControlPoint=d;a.MockPoint=h;a.shapesMap={rect:n,circle:l,path:t,image:b};a.types={};return a}();x(!0,A.prototype,r,e,x(A.prototype,{nonDOMEvents:["add","afterUpdate", | ||
"drag","remove"],defaultOptions:{visible:!0,animation:{},draggable:"xy",labelOptions:{align:"center",allowOverlap:!1,backgroundColor:"rgba(0, 0, 0, 0.75)",borderColor:"black",borderRadius:3,borderWidth:1,className:"",crop:!1,formatter:function(){return k(this.y)?this.y:"Annotation label"},includeInDataExport:!0,overflow:"justify",padding:5,shadow:!1,shape:"callout",style:{fontSize:"11px",fontWeight:"normal",color:"contrast"},useHTML:!1,verticalAlign:"bottom",x:0,y:-16},shapeOptions:{stroke:"rgba(0, 0, 0, 0.75)", | ||
strokeWidth:1,fill:"rgba(0, 0, 0, 0.75)",r:0,snap:2},controlPointOptions:{symbol:"circle",width:10,height:10,style:{stroke:"black","stroke-width":2,fill:"white"},visible:!1,events:{}},events:{},zIndex:6}}));q.extendAnnotation=function(a,b,c,d){b=b||A;x(!0,a.prototype,b.prototype,c);a.prototype.defaultOptions=x(a.prototype.defaultOptions,d||{})};B(a,{initAnnotation:function(a){a=new (A.types[a.type]||A)(this,a);this.annotations.push(a);return a},addAnnotation:function(a,b){a=this.initAnnotation(a); | ||
this.options.annotations.push(a.options);E(b,!0)&&(a.redraw(),a.graphic.attr({opacity:1}));return a},removeAnnotation:function(a){var b=this.annotations,c="annotations"===a.coll?a:u(b,function(b){return b.options.id===a});c&&(m(c,"remove"),v(this.options.annotations,c.options),v(b,c),c.destroy())},drawAnnotations:function(){this.plotBoxClip.attr(this.plotBox);this.annotations.forEach(function(a){a.redraw();a.graphic.animate({opacity:1},a.animationConfig)})}});a.collectionsWithUpdate.push("annotations"); | ||
"image";this.translate=a.translateShape;this.init(c,g,m);this.collection="shapes"}g.prototype.render=function(c){var g=this.attrsFromOptions(this.options),m=this.options;this.graphic=this.annotation.chart.renderer.image(m.src,0,-9E9,m.width,m.height).attr(g).add(c);this.graphic.width=m.width;this.graphic.height=m.height;a.render.call(this)};g.prototype.redraw=function(g){var k=this.anchor(this.points[0]);if(k=c.prototype.position.call(this,k))this.graphic[g?"animate":"attr"]({x:k.x,y:k.y});else this.graphic.attr({x:0, | ||
y:-9E9});this.graphic.placed=!!k;a.redraw.call(this,g)};g.attrsMap={width:"width",height:"height",zIndex:"zIndex"};return g}()});t(a,"Extensions/Annotations/Annotations.js",[a["Core/Animation/AnimationUtilities.js"],a["Core/Chart/Chart.js"],a["Extensions/Annotations/Mixins/ControllableMixin.js"],a["Extensions/Annotations/Controllables/ControllableRect.js"],a["Extensions/Annotations/Controllables/ControllableCircle.js"],a["Extensions/Annotations/Controllables/ControllablePath.js"],a["Extensions/Annotations/Controllables/ControllableImage.js"], | ||
a["Extensions/Annotations/Controllables/ControllableLabel.js"],a["Extensions/Annotations/ControlPoint.js"],a["Extensions/Annotations/Mixins/EventEmitterMixin.js"],a["Core/Globals.js"],a["Extensions/Annotations/MockPoint.js"],a["Core/Pointer.js"],a["Core/Utilities.js"]],function(a,g,m,r,k,x,b,t,d,e,u,h,z,p){var c=a.getDeferredAnimation;a=g.prototype;var y=p.addEvent,B=p.defined,f=p.destroyObjectProperties,l=p.erase,w=p.extend,v=p.find,n=p.fireEvent,q=p.merge,D=p.pick,F=p.splat;p=p.wrap;var A=function(){function a(a, | ||
b){this.annotation=void 0;this.coll="annotations";this.shapesGroup=this.labelsGroup=this.labelCollector=this.group=this.graphic=this.animationConfig=this.collection=void 0;this.chart=a;this.points=[];this.controlPoints=[];this.coll="annotations";this.labels=[];this.shapes=[];this.options=q(this.defaultOptions,b);this.userOptions=b;b=this.getLabelsAndShapesOptions(this.options,b);this.options.labels=b.labels;this.options.shapes=b.shapes;this.init(a,this.options)}a.prototype.init=function(){var a=this.chart, | ||
b=this.options.animation;this.linkPoints();this.addControlPoints();this.addShapes();this.addLabels();this.setLabelCollector();this.animationConfig=c(a,b)};a.prototype.getLabelsAndShapesOptions=function(a,b){var c={};["labels","shapes"].forEach(function(d){a[d]&&(c[d]=F(b[d]).map(function(b,c){return q(a[d][c],b)}))});return c};a.prototype.addShapes=function(){(this.options.shapes||[]).forEach(function(a,b){a=this.initShape(a,b);q(!0,this.options.shapes[b],a.options)},this)};a.prototype.addLabels= | ||
function(){(this.options.labels||[]).forEach(function(a,b){a=this.initLabel(a,b);q(!0,this.options.labels[b],a.options)},this)};a.prototype.addClipPaths=function(){this.setClipAxes();this.clipXAxis&&this.clipYAxis&&(this.clipRect=this.chart.renderer.clipRect(this.getClipBox()))};a.prototype.setClipAxes=function(){var a=this.chart.xAxis,b=this.chart.yAxis,c=(this.options.labels||[]).concat(this.options.shapes||[]).reduce(function(c,d){return[a[d&&d.point&&d.point.xAxis]||c[0],b[d&&d.point&&d.point.yAxis]|| | ||
c[1]]},[]);this.clipXAxis=c[0];this.clipYAxis=c[1]};a.prototype.getClipBox=function(){if(this.clipXAxis&&this.clipYAxis)return{x:this.clipXAxis.left,y:this.clipYAxis.top,width:this.clipXAxis.width,height:this.clipYAxis.height}};a.prototype.setLabelCollector=function(){var a=this;a.labelCollector=function(){return a.labels.reduce(function(a,b){b.options.allowOverlap||a.push(b.graphic);return a},[])};a.chart.labelCollectors.push(a.labelCollector)};a.prototype.setOptions=function(a){this.options=q(this.defaultOptions, | ||
a)};a.prototype.redraw=function(a){this.linkPoints();this.graphic||this.render();this.clipRect&&this.clipRect.animate(this.getClipBox());this.redrawItems(this.shapes,a);this.redrawItems(this.labels,a);m.redraw.call(this,a)};a.prototype.redrawItems=function(a,b){for(var c=a.length;c--;)this.redrawItem(a[c],b)};a.prototype.renderItems=function(a){for(var b=a.length;b--;)this.renderItem(a[b])};a.prototype.render=function(){var a=this.chart.renderer;this.graphic=a.g("annotation").attr({opacity:0,zIndex:this.options.zIndex, | ||
visibility:this.options.visible?"visible":"hidden"}).add();this.shapesGroup=a.g("annotation-shapes").add(this.graphic).clip(this.chart.plotBoxClip);this.labelsGroup=a.g("annotation-labels").attr({translateX:0,translateY:0}).add(this.graphic);this.addClipPaths();this.clipRect&&this.graphic.clip(this.clipRect);this.renderItems(this.shapes);this.renderItems(this.labels);this.addEvents();m.render.call(this)};a.prototype.setVisibility=function(a){var b=this.options;a=D(a,!b.visible);this.graphic.attr("visibility", | ||
a?"visible":"hidden");a||this.setControlPointsVisibility(!1);b.visible=a};a.prototype.setControlPointsVisibility=function(a){var b=function(b){b.setControlPointsVisibility(a)};m.setControlPointsVisibility.call(this,a);this.shapes.forEach(b);this.labels.forEach(b)};a.prototype.destroy=function(){var a=this.chart,b=function(a){a.destroy()};this.labels.forEach(b);this.shapes.forEach(b);this.clipYAxis=this.clipXAxis=null;l(a.labelCollectors,this.labelCollector);e.destroy.call(this);m.destroy.call(this); | ||
f(this,a)};a.prototype.remove=function(){return this.chart.removeAnnotation(this)};a.prototype.update=function(a,b){var c=this.chart,d=this.getLabelsAndShapesOptions(this.userOptions,a),f=c.annotations.indexOf(this);a=q(!0,this.userOptions,a);a.labels=d.labels;a.shapes=d.shapes;this.destroy();this.constructor(c,a);c.options.annotations[f]=a;this.isUpdating=!0;D(b,!0)&&c.redraw();n(this,"afterUpdate");this.isUpdating=!1};a.prototype.initShape=function(b,c){b=q(this.options.shapeOptions,{controlPointOptions:this.options.controlPointOptions}, | ||
b);c=new a.shapesMap[b.type](this,b,c);c.itemType="shape";this.shapes.push(c);return c};a.prototype.initLabel=function(a,b){a=q(this.options.labelOptions,{controlPointOptions:this.options.controlPointOptions},a);b=new t(this,a,b);b.itemType="label";this.labels.push(b);return b};a.prototype.redrawItem=function(a,b){a.linkPoints();a.shouldBeDrawn()?(a.graphic||this.renderItem(a),a.redraw(D(b,!0)&&a.graphic.placed),a.points.length&&this.adjustVisibility(a)):this.destroyItem(a)};a.prototype.adjustVisibility= | ||
function(a){var b=!1,c=a.graphic;a.points.forEach(function(a){!1!==a.series.visible&&!1!==a.visible&&(b=!0)});b?"hidden"===c.visibility&&c.show():c.hide()};a.prototype.destroyItem=function(a){l(this[a.itemType+"s"],a);a.destroy()};a.prototype.renderItem=function(a){a.render("label"===a.itemType?this.labelsGroup:this.shapesGroup)};a.ControlPoint=d;a.MockPoint=h;a.shapesMap={rect:r,circle:k,path:x,image:b};a.types={};return a}();q(!0,A.prototype,m,e,q(A.prototype,{nonDOMEvents:["add","afterUpdate", | ||
"drag","remove"],defaultOptions:{visible:!0,animation:{},draggable:"xy",labelOptions:{align:"center",allowOverlap:!1,backgroundColor:"rgba(0, 0, 0, 0.75)",borderColor:"black",borderRadius:3,borderWidth:1,className:"",crop:!1,formatter:function(){return B(this.y)?this.y:"Annotation label"},includeInDataExport:!0,overflow:"justify",padding:5,shadow:!1,shape:"callout",style:{fontSize:"11px",fontWeight:"normal",color:"contrast"},useHTML:!1,verticalAlign:"bottom",x:0,y:-16},shapeOptions:{stroke:"rgba(0, 0, 0, 0.75)", | ||
strokeWidth:1,fill:"rgba(0, 0, 0, 0.75)",r:0,snap:2},controlPointOptions:{symbol:"circle",width:10,height:10,style:{stroke:"black","stroke-width":2,fill:"white"},visible:!1,events:{}},events:{},zIndex:6}}));u.extendAnnotation=function(a,b,c,d){b=b||A;q(!0,a.prototype,b.prototype,c);a.prototype.defaultOptions=q(a.prototype.defaultOptions,d||{})};w(a,{initAnnotation:function(a){a=new (A.types[a.type]||A)(this,a);this.annotations.push(a);return a},addAnnotation:function(a,b){a=this.initAnnotation(a); | ||
this.options.annotations.push(a.options);D(b,!0)&&(a.redraw(),a.graphic.attr({opacity:1}));return a},removeAnnotation:function(a){var b=this.annotations,c="annotations"===a.coll?a:v(b,function(b){return b.options.id===a});c&&(n(c,"remove"),l(this.options.annotations,c.options),l(b,c),c.destroy())},drawAnnotations:function(){this.plotBoxClip.attr(this.plotBox);this.annotations.forEach(function(a){a.redraw();a.graphic.animate({opacity:1},a.animationConfig)})}});a.collectionsWithUpdate.push("annotations"); | ||
a.collectionsWithInit.annotations=[a.addAnnotation];y(g,"afterInit",function(){this.annotations=[];this.options.annotations||(this.options.annotations=[])});a.callbacks.push(function(a){a.plotBoxClip=this.renderer.clipRect(this.plotBox);a.controlPointsGroup=a.renderer.g("control-points").attr({zIndex:99}).clip(a.plotBoxClip).add();a.options.annotations.forEach(function(b,c){if(!a.annotations.some(function(a){return a.options===b})){var d=a.initAnnotation(b);a.options.annotations[c]=d.options}});a.drawAnnotations(); | ||
y(a,"redraw",a.drawAnnotations);y(a,"destroy",function(){a.plotBoxClip.destroy();a.controlPointsGroup.destroy()});y(a,"exportData",function(b){var c,d,f,k,m,u,e,x,E=a.annotations,g=(this.options.exporting&&this.options.exporting.csv||{}).columnHeaderFormatter,h=!b.dataRows[1].xValues,v=null===(d=null===(c=a.options.lang)||void 0===c?void 0:c.exportData)||void 0===d?void 0:d.annotationHeader;c=function(a){if(g){var b=g(a);if(!1!==b)return b}b=v+" "+a;return h?{columnTitle:b,topLevelColumnTitle:b}: | ||
b};var F=b.dataRows[0].length,l=null===(m=null===(k=null===(f=a.options.exporting)||void 0===f?void 0:f.csv)||void 0===k?void 0:k.annotations)||void 0===m?void 0:m.itemDelimiter,B=null===(x=null===(e=null===(u=a.options.exporting)||void 0===u?void 0:u.csv)||void 0===e?void 0:e.annotations)||void 0===x?void 0:x.join;E.forEach(function(a){a.options.labelOptions.includeInDataExport&&a.labels.forEach(function(a){if(a.options.text){var c=a.options.text;a.points.forEach(function(a){var d=a.x,f=a.series.xAxis? | ||
a.series.xAxis.options.index:-1,k=!1;if(-1===f){a=b.dataRows[0].length;for(var m=Array(a),u=0;u<a;++u)m[u]="";m.push(c);m.xValues=[];m.xValues[f]=d;b.dataRows.push(m);k=!0}k||b.dataRows.forEach(function(a,b){!k&&a.xValues&&void 0!==f&&d===a.xValues[f]&&(B&&a.length>F?a[a.length-1]+=l+c:a.push(c),k=!0)});if(!k){a=b.dataRows[0].length;m=Array(a);for(u=0;u<a;++u)m[u]="";m[0]=d;m.push(c);m.xValues=[];void 0!==f&&(m.xValues[f]=d);b.dataRows.push(m)}})}})});var A=0;b.dataRows.forEach(function(a){A=Math.max(A, | ||
a.length)});f=A-b.dataRows[0].length;for(k=0;k<f;k++)m=c(k+1),h?(b.dataRows[0].push(m.topLevelColumnTitle),b.dataRows[1].push(m.columnTitle)):b.dataRows[0].push(m)})});p(w.prototype,"onContainerMouseDown",function(a){this.chart.hasDraggedAnnotation||a.apply(this,Array.prototype.slice.call(arguments,1))});return q.Annotation=A});t(a,"Mixins/Navigation.js",[],function(){return{initUpdate:function(a){a.navigation||(a.navigation={updates:[],update:function(a,c){this.updates.forEach(function(g){g.update.call(g.context, | ||
a,c)})}})},addUpdate:function(a,g){g.navigation||this.initUpdate(g);g.navigation.updates.push({update:a,context:g})}}});t(a,"Extensions/Annotations/NavigationBindings.js",[a["Extensions/Annotations/Annotations.js"],a["Core/Chart/Chart.js"],a["Mixins/Navigation.js"],a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,g,r,n,l){function c(a){var b=a.prototype.defaultOptions.events&&a.prototype.defaultOptions.events.click;D(!0,a.prototype.defaultOptions.events,{click:function(a){var c=this,d=c.chart.navigationBindings, | ||
y(a,"redraw",a.drawAnnotations);y(a,"destroy",function(){a.plotBoxClip.destroy();a.controlPointsGroup.destroy()});y(a,"exportData",function(b){var c,d,f,q,n,v,l,e,D=a.annotations,g=(this.options.exporting&&this.options.exporting.csv||{}).columnHeaderFormatter,h=!b.dataRows[1].xValues,w=null===(d=null===(c=a.options.lang)||void 0===c?void 0:c.exportData)||void 0===d?void 0:d.annotationHeader;c=function(a){if(g){var b=g(a);if(!1!==b)return b}b=w+" "+a;return h?{columnTitle:b,topLevelColumnTitle:b}: | ||
b};var F=b.dataRows[0].length,k=null===(n=null===(q=null===(f=a.options.exporting)||void 0===f?void 0:f.csv)||void 0===q?void 0:q.annotations)||void 0===n?void 0:n.itemDelimiter,A=null===(e=null===(l=null===(v=a.options.exporting)||void 0===v?void 0:v.csv)||void 0===l?void 0:l.annotations)||void 0===e?void 0:e.join;D.forEach(function(a){a.options.labelOptions.includeInDataExport&&a.labels.forEach(function(a){if(a.options.text){var c=a.options.text;a.points.forEach(function(a){var d=a.x,q=a.series.xAxis? | ||
a.series.xAxis.options.index:-1,f=!1;if(-1===q){a=b.dataRows[0].length;for(var n=Array(a),v=0;v<a;++v)n[v]="";n.push(c);n.xValues=[];n.xValues[q]=d;b.dataRows.push(n);f=!0}f||b.dataRows.forEach(function(a,b){!f&&a.xValues&&void 0!==q&&d===a.xValues[q]&&(A&&a.length>F?a[a.length-1]+=k+c:a.push(c),f=!0)});if(!f){a=b.dataRows[0].length;n=Array(a);for(v=0;v<a;++v)n[v]="";n[0]=d;n.push(c);n.xValues=[];void 0!==q&&(n.xValues[q]=d);b.dataRows.push(n)}})}})});var m=0;b.dataRows.forEach(function(a){m=Math.max(m, | ||
a.length)});f=m-b.dataRows[0].length;for(q=0;q<f;q++)n=c(q+1),h?(b.dataRows[0].push(n.topLevelColumnTitle),b.dataRows[1].push(n.columnTitle)):b.dataRows[0].push(n)})});p(z.prototype,"onContainerMouseDown",function(a){this.chart.hasDraggedAnnotation||a.apply(this,Array.prototype.slice.call(arguments,1))});return u.Annotation=A});t(a,"Mixins/Navigation.js",[],function(){return{initUpdate:function(a){a.navigation||(a.navigation={updates:[],update:function(a,c){this.updates.forEach(function(g){g.update.call(g.context, | ||
a,c)})}})},addUpdate:function(a,g){g.navigation||this.initUpdate(g);g.navigation.updates.push({update:a,context:g})}}});t(a,"Extensions/Annotations/NavigationBindings.js",[a["Extensions/Annotations/Annotations.js"],a["Core/Chart/Chart.js"],a["Mixins/Navigation.js"],a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,g,m,r,k){function c(a){var b=a.prototype.defaultOptions.events&&a.prototype.defaultOptions.events.click;C(!0,a.prototype.defaultOptions.events,{click:function(a){var c=this,d=c.chart.navigationBindings, | ||
f=d.activeAnnotation;b&&b.call(c,a);f!==c?(d.deselectAnnotation(),d.activeAnnotation=c,c.setControlPointsVisibility(!0),e(d,"showPopup",{annotation:c,formType:"annotation-toolbar",options:d.annotationToFields(c),onSubmit:function(a){var b={};"remove"===a.actionType?(d.activeAnnotation=!1,d.chart.removeAnnotation(c)):(d.fieldsToOptions(a.fields,b),d.deselectAnnotation(),a=b.typeOptions,"measure"===c.options.type&&(a.crosshairY.enabled=0!==a.crosshairY.strokeWidth,a.crosshairX.enabled=0!==a.crosshairX.strokeWidth), | ||
c.update(b))}})):(d.deselectAnnotation(),e(d,"closePopup"));a.activeAnnotation=!0}})}var b=l.addEvent,t=l.attr,d=l.format,e=l.fireEvent,q=l.isArray,h=l.isFunction,w=l.isNumber,p=l.isObject,D=l.merge,z=l.objectEach,k=l.pick;l=l.setOptions;var f=n.doc,v=n.win,B=function(){function a(a,b){this.selectedButton=this.boundClassNames=void 0;this.chart=a;this.options=b;this.eventsToUnbind=[];this.container=f.getElementsByClassName(this.options.bindingsClassName||"")}a.prototype.initEvents=function(){var a= | ||
this,c=a.chart,d=a.container,f=a.options;a.boundClassNames={};z(f.bindings||{},function(b){a.boundClassNames[b.className]=b});[].forEach.call(d,function(c){a.eventsToUnbind.push(b(c,"click",function(b){var d=a.getButtonEvents(c,b);d&&a.bindingsButtonClick(d.button,d.events,b)}))});z(f.events||{},function(c,d){h(c)&&a.eventsToUnbind.push(b(a,d,c,{passive:!1}))});a.eventsToUnbind.push(b(c.container,"click",function(b){!c.cancelClick&&c.isInsidePlot(b.chartX-c.plotLeft,b.chartY-c.plotTop)&&a.bindingsChartClick(this, | ||
b)}));a.eventsToUnbind.push(b(c.container,n.isTouchDevice?"touchmove":"mousemove",function(b){a.bindingsContainerMouseMove(this,b)},n.isTouchDevice?{passive:!1}:void 0))};a.prototype.initUpdate=function(){var a=this;r.addUpdate(function(b){a.update(b)},this.chart)};a.prototype.bindingsButtonClick=function(a,b,c){var d=this.chart;this.selectedButtonElement&&(e(this,"deselectButton",{button:this.selectedButtonElement}),this.nextEvent&&(this.currentUserDetails&&"annotations"===this.currentUserDetails.coll&& | ||
d.removeAnnotation(this.currentUserDetails),this.mouseMoveEvent=this.nextEvent=!1));this.selectedButton=b;this.selectedButtonElement=a;e(this,"selectButton",{button:a});b.init&&b.init.call(this,a,c);(b.start||b.steps)&&d.renderer.boxWrapper.addClass("highcharts-draw-mode")};a.prototype.bindingsChartClick=function(a,b){a=this.chart;var c=this.selectedButton;a=a.renderer.boxWrapper;var d;if(d=this.activeAnnotation&&!b.activeAnnotation&&b.target.parentNode){a:{d=b.target;var f=v.Element.prototype,k= | ||
f.matches||f.msMatchesSelector||f.webkitMatchesSelector,m=null;if(f.closest)m=f.closest.call(d,".highcharts-popup");else{do{if(k.call(d,".highcharts-popup"))break a;d=d.parentElement||d.parentNode}while(null!==d&&1===d.nodeType)}d=m}d=!d}d&&(e(this,"closePopup"),this.deselectAnnotation());c&&c.start&&(this.nextEvent?(this.nextEvent(b,this.currentUserDetails),this.steps&&(this.stepIndex++,c.steps[this.stepIndex]?this.mouseMoveEvent=this.nextEvent=c.steps[this.stepIndex]:(e(this,"deselectButton",{button:this.selectedButtonElement}), | ||
a.removeClass("highcharts-draw-mode"),c.end&&c.end.call(this,b,this.currentUserDetails),this.mouseMoveEvent=this.nextEvent=!1,this.selectedButton=null))):(this.currentUserDetails=c.start.call(this,b),c.steps?(this.stepIndex=0,this.steps=!0,this.mouseMoveEvent=this.nextEvent=c.steps[this.stepIndex]):(e(this,"deselectButton",{button:this.selectedButtonElement}),a.removeClass("highcharts-draw-mode"),this.steps=!1,this.selectedButton=null,c.end&&c.end.call(this,b,this.currentUserDetails))))};a.prototype.bindingsContainerMouseMove= | ||
function(a,b){this.mouseMoveEvent&&this.mouseMoveEvent(b,this.currentUserDetails)};a.prototype.fieldsToOptions=function(a,b){z(a,function(a,c){var d=parseFloat(a),f=c.split("."),m=b,e=f.length-1;!w(d)||a.match(/px/g)||c.match(/format/g)||(a=d);""!==a&&"undefined"!==a&&f.forEach(function(b,c){var d=k(f[c+1],"");e===c?m[b]=a:(m[b]||(m[b]=d.match(/\d/g)?[]:{}),m=m[b])})});return b};a.prototype.deselectAnnotation=function(){this.activeAnnotation&&(this.activeAnnotation.setControlPointsVisibility(!1), | ||
this.activeAnnotation=!1)};a.prototype.annotationToFields=function(b){function c(a,f,k,m){if(k&&a&&-1===h.indexOf(f)&&(0<=(k.indexOf&&k.indexOf(f))||k[f]||!0===k))if(q(a))m[f]=[],a.forEach(function(a,b){p(a)?(m[f][b]={},z(a,function(a,d){c(a,d,e[f],m[f][b])})):c(a,0,e[f],m[f])});else if(p(a)){var g={};q(m)?(m.push(g),g[f]={},g=g[f]):m[f]=g;z(a,function(a,b){c(a,b,0===f?k:e[f],g)})}else"format"===f?m[f]=[d(a,b.labels[0].points[0]).toString(),"text"]:q(m)?m.push([a,u(a)]):m[f]=[a,u(a)]}var f=b.options, | ||
m=a.annotationsEditable,e=m.nestedOptions,u=this.utils.getFieldType,g=k(f.type,f.shapes&&f.shapes[0]&&f.shapes[0].type,f.labels&&f.labels[0]&&f.labels[0].itemType,"label"),h=a.annotationsNonEditable[f.langKey]||[],v={langKey:f.langKey,type:g};z(f,function(a,b){"typeOptions"===b?(v[b]={},z(f[b],function(a,d){c(a,d,e,v[b],!0)})):c(a,b,m[g],v)});return v};a.prototype.getClickedClassNames=function(a,b){var c=b.target;b=[];for(var d;c&&((d=t(c,"class"))&&(b=b.concat(d.split(" ").map(function(a){return[a, | ||
c]}))),c=c.parentNode,c!==a););return b};a.prototype.getButtonEvents=function(a,b){var c=this,d;this.getClickedClassNames(a,b).forEach(function(a){c.boundClassNames[a[0]]&&!d&&(d={events:c.boundClassNames[a[0]],button:a[1]})});return d};a.prototype.update=function(a){this.options=D(!0,this.options,a);this.removeEvents();this.initEvents()};a.prototype.removeEvents=function(){this.eventsToUnbind.forEach(function(a){a()})};a.prototype.destroy=function(){this.removeEvents()};a.annotationsEditable={nestedOptions:{labelOptions:["style", | ||
"format","backgroundColor"],labels:["style"],label:["style"],style:["fontSize","color"],background:["fill","strokeWidth","stroke"],innerBackground:["fill","strokeWidth","stroke"],outerBackground:["fill","strokeWidth","stroke"],shapeOptions:["fill","strokeWidth","stroke"],shapes:["fill","strokeWidth","stroke"],line:["strokeWidth","stroke"],backgroundColors:[!0],connector:["fill","strokeWidth","stroke"],crosshairX:["strokeWidth","stroke"],crosshairY:["strokeWidth","stroke"]},circle:["shapes"],verticalLine:[], | ||
label:["labelOptions"],measure:["background","crosshairY","crosshairX"],fibonacci:[],tunnel:["background","line","height"],pitchfork:["innerBackground","outerBackground"],rect:["shapes"],crookedLine:[],basicAnnotation:["shapes","labelOptions"]};a.annotationsNonEditable={rectangle:["crosshairX","crosshairY","label"]};return a}();B.prototype.utils={updateRectSize:function(a,b){var c=b.chart,d=b.options.typeOptions,f=c.pointer.getCoordinates(a);a=f.xAxis[0].value-d.point.x;d=d.point.y-f.yAxis[0].value; | ||
b.update({typeOptions:{background:{width:c.inverted?d:a,height:c.inverted?a:d}}})},getFieldType:function(a){return{string:"text",number:"number","boolean":"checkbox"}[typeof a]}};g.prototype.initNavigationBindings=function(){var a=this.options;a&&a.navigation&&a.navigation.bindings&&(this.navigationBindings=new B(this,a.navigation),this.navigationBindings.initEvents(),this.navigationBindings.initUpdate())};b(g,"load",function(){this.initNavigationBindings()});b(g,"destroy",function(){this.navigationBindings&& | ||
this.navigationBindings.destroy()});b(B,"deselectButton",function(){this.selectedButtonElement=null});b(a,"remove",function(){this.chart.navigationBindings&&this.chart.navigationBindings.deselectAnnotation()});n.Annotation&&(c(a),z(a.types,function(a){c(a)}));l({lang:{navigation:{popup:{simpleShapes:"Simple shapes",lines:"Lines",circle:"Circle",rectangle:"Rectangle",label:"Label",shapeOptions:"Shape options",typeOptions:"Details",fill:"Fill",format:"Text",strokeWidth:"Line width",stroke:"Line color", | ||
title:"Title",name:"Name",labelOptions:"Label options",labels:"Labels",backgroundColor:"Background color",backgroundColors:"Background colors",borderColor:"Border color",borderRadius:"Border radius",borderWidth:"Border width",style:"Style",padding:"Padding",fontSize:"Font size",color:"Color",height:"Height",shapes:"Shape options"}}},navigation:{bindingsClassName:"highcharts-bindings-container",bindings:{circleAnnotation:{className:"highcharts-circle-annotation",start:function(a){a=this.chart.pointer.getCoordinates(a); | ||
var b=this.chart.options.navigation;return this.chart.addAnnotation(D({langKey:"circle",type:"basicAnnotation",shapes:[{type:"circle",point:{xAxis:0,yAxis:0,x:a.xAxis[0].value,y:a.yAxis[0].value},r:5}]},b.annotationsOptions,b.bindings.circleAnnotation.annotationsOptions))},steps:[function(a,b){var c=b.options.shapes[0].point,d=this.chart.xAxis[0].toPixels(c.x);c=this.chart.yAxis[0].toPixels(c.y);var f=this.chart.inverted;b.update({shapes:[{r:Math.max(Math.sqrt(Math.pow(f?c-a.chartX:d-a.chartX,2)+ | ||
Math.pow(f?d-a.chartY:c-a.chartY,2)),5)}]})}]},rectangleAnnotation:{className:"highcharts-rectangle-annotation",start:function(a){var b=this.chart.pointer.getCoordinates(a);a=this.chart.options.navigation;var c=b.xAxis[0].value;b=b.yAxis[0].value;return this.chart.addAnnotation(D({langKey:"rectangle",type:"basicAnnotation",shapes:[{type:"path",points:[{xAxis:0,yAxis:0,x:c,y:b},{xAxis:0,yAxis:0,x:c,y:b},{xAxis:0,yAxis:0,x:c,y:b},{xAxis:0,yAxis:0,x:c,y:b}]}]},a.annotationsOptions,a.bindings.rectangleAnnotation.annotationsOptions))}, | ||
steps:[function(a,b){var c=b.options.shapes[0].points,d=this.chart.pointer.getCoordinates(a);a=d.xAxis[0].value;d=d.yAxis[0].value;c[1].x=a;c[2].x=a;c[2].y=d;c[3].y=d;b.update({shapes:[{points:c}]})}]},labelAnnotation:{className:"highcharts-label-annotation",start:function(a){a=this.chart.pointer.getCoordinates(a);var b=this.chart.options.navigation;return this.chart.addAnnotation(D({langKey:"label",type:"basicAnnotation",labelOptions:{format:"{y:.2f}"},labels:[{point:{xAxis:0,yAxis:0,x:a.xAxis[0].value, | ||
y:a.yAxis[0].value},overflow:"none",crop:!0}]},b.annotationsOptions,b.bindings.labelAnnotation.annotationsOptions))}}},events:{},annotationsOptions:{animation:{defer:0}}}});return B});t(a,"Extensions/Annotations/Popup.js",[a["Core/Globals.js"],a["Extensions/Annotations/NavigationBindings.js"],a["Core/Pointer.js"],a["Core/Utilities.js"]],function(a,g,r,n){var c=a.isFirefox,t=n.addEvent,b=n.createElement,C=n.defined,d=n.getOptions,e=n.isArray,q=n.isObject,h=n.isString,w=n.objectEach,p=n.pick,D=n.stableSort; | ||
n=n.wrap;var z=/\d/g;n(r.prototype,"onContainerMouseDown",function(a,b){var c=b.target&&b.target.className;h(c)&&0<=c.indexOf("highcharts-popup-field")||a.apply(this,Array.prototype.slice.call(arguments,1))});a.Popup=function(a,b){this.init(a,b)};a.Popup.prototype={init:function(a,c){this.container=b("div",{className:"highcharts-popup"},null,a);this.lang=this.getLangpack();this.iconsURL=c;this.addCloseBtn()},addCloseBtn:function(){var a=this;var c=b("div",{className:"highcharts-popup-close"},null, | ||
this.container);c.style["background-image"]="url("+this.iconsURL+"close.svg)";["click","touchstart"].forEach(function(b){t(c,b,function(){a.closePopup()})})},addColsContainer:function(a){var c=b("div",{className:"highcharts-popup-lhs-col"},null,a);a=b("div",{className:"highcharts-popup-rhs-col"},null,a);b("div",{className:"highcharts-popup-rhs-col-wrapper"},null,a);return{lhsCol:c,rhsCol:a}},addInput:function(a,c,d,e){var f=a.split(".");f=f[f.length-1];var k=this.lang;c="highcharts-"+c+"-"+f;c.match(z)|| | ||
b("label",{innerHTML:k[f]||f,htmlFor:c},null,d);b("input",{name:c,value:e[0],type:e[1],className:"highcharts-popup-field"},null,d).setAttribute("highcharts-data-name",a)},addButton:function(a,c,d,e,g){var f=this,k=this.closePopup,h=this.getFields;var v=b("button",{innerHTML:c},null,a);["click","touchstart"].forEach(function(a){t(v,a,function(){k.call(f);return e(h(g,d))})});return v},getFields:function(a,b){var c=a.querySelectorAll("input"),d=a.querySelectorAll("#highcharts-select-series > option:checked")[0]; | ||
a=a.querySelectorAll("#highcharts-select-volume > option:checked")[0];var f,k;var e={actionType:b,linkedTo:d&&d.getAttribute("value"),fields:{}};[].forEach.call(c,function(a){k=a.getAttribute("highcharts-data-name");(f=a.getAttribute("highcharts-data-series-id"))?e.seriesId=a.value:k?e.fields[k]=a.value:e.type=a.value});a&&(e.fields["params.volumeSeriesID"]=a.getAttribute("value"));return e},showPopup:function(){var a=this.container,b=a.querySelectorAll(".highcharts-popup-close")[0];a.innerHTML=""; | ||
0<=a.className.indexOf("highcharts-annotation-toolbar")&&(a.classList.remove("highcharts-annotation-toolbar"),a.removeAttribute("style"));a.appendChild(b);a.style.display="block"},closePopup:function(){this.popup.container.style.display="none"},showForm:function(a,b,c,d){this.popup=b.navigationBindings.popup;this.showPopup();"indicators"===a&&this.indicators.addForm.call(this,b,c,d);"annotation-toolbar"===a&&this.annotations.addToolbar.call(this,b,c,d);"annotation-edit"===a&&this.annotations.addForm.call(this, | ||
b,c,d);"flag"===a&&this.annotations.addForm.call(this,b,c,d,!0)},getLangpack:function(){return d().lang.navigation.popup},annotations:{addToolbar:function(a,c,d){var f=this,e=this.lang,k=this.popup.container,g=this.showForm;-1===k.className.indexOf("highcharts-annotation-toolbar")&&(k.className+=" highcharts-annotation-toolbar");k.style.top=a.plotTop+10+"px";b("span",{innerHTML:p(e[c.langKey]||c.langKey,c.shapes&&c.shapes[0].type)},null,k);var h=this.addButton(k,e.removeButton||"remove","remove", | ||
d,k);h.className+=" highcharts-annotation-remove-button";h.style["background-image"]="url("+this.iconsURL+"destroy.svg)";h=this.addButton(k,e.editButton||"edit","edit",function(){g.call(f,"annotation-edit",a,c,d)},k);h.className+=" highcharts-annotation-edit-button";h.style["background-image"]="url("+this.iconsURL+"edit.svg)"},addForm:function(a,c,d,e){var f=this.popup.container,k=this.lang;b("h2",{innerHTML:k[c.langKey]||c.langKey,className:"highcharts-popup-main-title"},null,f);var g=b("div",{className:"highcharts-popup-lhs-col highcharts-popup-lhs-full"}, | ||
null,f);var h=b("div",{className:"highcharts-popup-bottom-row"},null,f);this.annotations.addFormFields.call(this,g,a,"",c,[],!0);this.addButton(h,e?k.addButton||"add":k.saveButton||"save",e?"add":"save",d,f)},addFormFields:function(a,d,g,h,l,m){var f=this,k=this.annotations.addFormFields,v=this.addInput,p=this.lang,n,u;w(h,function(b,c){n=""!==g?g+"."+c:c;q(b)&&(!e(b)||e(b)&&q(b[0])?(u=p[c]||c,u.match(z)||l.push([!0,u,a]),k.call(f,a,d,n,b,l,!1)):l.push([f,n,"annotation",a,b]))});m&&(D(l,function(a){return a[1].match(/format/g)? | ||
-1:1}),c&&l.reverse(),l.forEach(function(a){!0===a[0]?b("span",{className:"highcharts-annotation-title",innerHTML:a[1]},null,a[2]):v.apply(a[0],a.splice(1))}))}},indicators:{addForm:function(a,b,c){var d=this.indicators,f=this.lang;this.tabs.init.call(this,a);b=this.popup.container.querySelectorAll(".highcharts-tab-item-content");this.addColsContainer(b[0]);d.addIndicatorList.call(this,a,b[0],"add");var e=b[0].querySelectorAll(".highcharts-popup-rhs-col")[0];this.addButton(e,f.addButton||"add","add", | ||
c,e);this.addColsContainer(b[1]);d.addIndicatorList.call(this,a,b[1],"edit");e=b[1].querySelectorAll(".highcharts-popup-rhs-col")[0];this.addButton(e,f.saveButton||"save","edit",c,e);this.addButton(e,f.removeButton||"remove","remove",c,e)},addIndicatorList:function(a,c,d){var f=this,e=c.querySelectorAll(".highcharts-popup-lhs-col")[0];c=c.querySelectorAll(".highcharts-popup-rhs-col")[0];var k="edit"===d,g=k?a.series:a.options.plotOptions,h=this.indicators.addFormFields,l;var v=b("ul",{className:"highcharts-indicator-list"}, | ||
null,e);var n=c.querySelectorAll(".highcharts-popup-rhs-col-wrapper")[0];w(g,function(c,d){var e=c.options;if(c.params||e&&e.params){var m=f.indicators.getNameType(c,d),p=m.type;l=b("li",{className:"highcharts-indicator-list",innerHTML:m.name},null,v);["click","touchstart"].forEach(function(d){t(l,d,function(){h.call(f,a,k?c:g[p],m.type,n);k&&c.options&&b("input",{type:"hidden",name:"highcharts-id-"+p,value:c.options.id},null,n).setAttribute("highcharts-data-series-id",c.options.id)})})}});0<v.childNodes.length&& | ||
v.childNodes[0].click()},getNameType:function(b,c){var d=b.options,f=a.seriesTypes;f=f[c]&&f[c].prototype.nameBase||c.toUpperCase();d&&d.type&&(c=b.options.type,f=b.name);return{name:f,type:c}},listAllSeries:function(a,c,d,e,g){a="highcharts-"+c+"-type-"+a;var f;b("label",{innerHTML:this.lang[c]||c,htmlFor:a},null,e);var k=b("select",{name:a,className:"highcharts-popup-field"},null,e);k.setAttribute("id","highcharts-select-"+c);d.series.forEach(function(a){f=a.options;!f.params&&f.id&&"highcharts-navigator-series"!== | ||
f.id&&b("option",{innerHTML:f.name||f.id,value:f.id},null,k)});C(g)&&(k.value=g)},addFormFields:function(a,c,d,e){var f=c.params||c.options.params,g=this.indicators.getNameType;e.innerHTML="";b("h3",{className:"highcharts-indicator-title",innerHTML:g(c,d).name},null,e);b("input",{type:"hidden",name:"highcharts-type-"+d,value:d},null,e);this.indicators.listAllSeries.call(this,d,"series",a,e,c.linkedParent&&f.volumeSeriesID);f.volumeSeriesID&&this.indicators.listAllSeries.call(this,d,"volume",a,e,c.linkedParent&& | ||
c.linkedParent.options.id);this.indicators.addParamInputs.call(this,a,"params",f,d,e)},addParamInputs:function(a,b,c,d,e){var f=this,g=this.indicators.addParamInputs,k=this.addInput,h;w(c,function(c,l){h=b+"."+l;q(c)?g.call(f,a,h,c,d,e):"params.volumeSeriesID"!==h&&k.call(f,h,d,e,[c,"text"])})},getAmount:function(){var a=0;this.series.forEach(function(b){var c=b.options;(b.params||c&&c.params)&&a++});return a}},tabs:{init:function(a){var b=this.tabs;a=this.indicators.getAmount.call(a);var c=b.addMenuItem.call(this, | ||
"add");b.addMenuItem.call(this,"edit",a);b.addContentItem.call(this,"add");b.addContentItem.call(this,"edit");b.switchTabs.call(this,a);b.selectTab.call(this,c,0)},addMenuItem:function(a,c){var d=this.popup.container,e="highcharts-tab-item",f=this.lang;0===c&&(e+=" highcharts-tab-disabled");c=b("span",{innerHTML:f[a+"Button"]||a,className:e},null,d);c.setAttribute("highcharts-data-tab-type",a);return c},addContentItem:function(){return b("div",{className:"highcharts-tab-item-content"},null,this.popup.container)}, | ||
switchTabs:function(a){var b=this,c;this.popup.container.querySelectorAll(".highcharts-tab-item").forEach(function(d,e){c=d.getAttribute("highcharts-data-tab-type");"edit"===c&&0===a||["click","touchstart"].forEach(function(a){t(d,a,function(){b.tabs.deselectAll.call(b);b.tabs.selectTab.call(b,this,e)})})})},selectTab:function(a,b){var c=this.popup.container.querySelectorAll(".highcharts-tab-item-content");a.className+=" highcharts-tab-item-active";c[b].className+=" highcharts-tab-item-show"},deselectAll:function(){var a= | ||
this.popup.container,b=a.querySelectorAll(".highcharts-tab-item");a=a.querySelectorAll(".highcharts-tab-item-content");var c;for(c=0;c<b.length;c++)b[c].classList.remove("highcharts-tab-item-active"),a[c].classList.remove("highcharts-tab-item-show")}}};t(g,"showPopup",function(b){this.popup||(this.popup=new a.Popup(this.chart.container,this.chart.options.navigation.iconsURL||this.chart.options.stockTools&&this.chart.options.stockTools.gui.iconsURL||"https://code.highcharts.com/9.0.0/gfx/stock-icons/")); | ||
this.popup.showForm(b.formType,this.chart,b.options,b.onSubmit)});t(g,"closePopup",function(){this.popup&&this.popup.closePopup()})});t(a,"masters/modules/annotations.src.js",[],function(){})}); | ||
c.update(b))}})):e(d,"closePopup");a.activeAnnotation=!0}})}var b=k.addEvent,t=k.attr,d=k.format,e=k.fireEvent,u=k.isArray,h=k.isFunction,z=k.isNumber,p=k.isObject,C=k.merge,y=k.objectEach,E=k.pick;k=k.setOptions;var f=r.doc,l=r.win,w=function(){function a(a,b){this.selectedButton=this.boundClassNames=void 0;this.chart=a;this.options=b;this.eventsToUnbind=[];this.container=f.getElementsByClassName(this.options.bindingsClassName||"")}a.prototype.initEvents=function(){var a=this,c=a.chart,d=a.container, | ||
f=a.options;a.boundClassNames={};y(f.bindings||{},function(b){a.boundClassNames[b.className]=b});[].forEach.call(d,function(c){a.eventsToUnbind.push(b(c,"click",function(b){var d=a.getButtonEvents(c,b);d&&a.bindingsButtonClick(d.button,d.events,b)}))});y(f.events||{},function(c,d){h(c)&&a.eventsToUnbind.push(b(a,d,c,{passive:!1}))});a.eventsToUnbind.push(b(c.container,"click",function(b){!c.cancelClick&&c.isInsidePlot(b.chartX-c.plotLeft,b.chartY-c.plotTop)&&a.bindingsChartClick(this,b)}));a.eventsToUnbind.push(b(c.container, | ||
r.isTouchDevice?"touchmove":"mousemove",function(b){a.bindingsContainerMouseMove(this,b)},r.isTouchDevice?{passive:!1}:void 0))};a.prototype.initUpdate=function(){var a=this;m.addUpdate(function(b){a.update(b)},this.chart)};a.prototype.bindingsButtonClick=function(a,b,c){var d=this.chart;this.selectedButtonElement&&(e(this,"deselectButton",{button:this.selectedButtonElement}),this.nextEvent&&(this.currentUserDetails&&"annotations"===this.currentUserDetails.coll&&d.removeAnnotation(this.currentUserDetails), | ||
this.mouseMoveEvent=this.nextEvent=!1));this.selectedButton=b;this.selectedButtonElement=a;e(this,"selectButton",{button:a});b.init&&b.init.call(this,a,c);(b.start||b.steps)&&d.renderer.boxWrapper.addClass("highcharts-draw-mode")};a.prototype.bindingsChartClick=function(a,b){a=this.chart;var c=this.selectedButton;a=a.renderer.boxWrapper;var d;if(d=this.activeAnnotation&&!b.activeAnnotation&&b.target.parentNode){a:{d=b.target;var f=l.Element.prototype,q=f.matches||f.msMatchesSelector||f.webkitMatchesSelector, | ||
n=null;if(f.closest)n=f.closest.call(d,".highcharts-popup");else{do{if(q.call(d,".highcharts-popup"))break a;d=d.parentElement||d.parentNode}while(null!==d&&1===d.nodeType)}d=n}d=!d}d&&e(this,"closePopup");c&&c.start&&(this.nextEvent?(this.nextEvent(b,this.currentUserDetails),this.steps&&(this.stepIndex++,c.steps[this.stepIndex]?this.mouseMoveEvent=this.nextEvent=c.steps[this.stepIndex]:(e(this,"deselectButton",{button:this.selectedButtonElement}),a.removeClass("highcharts-draw-mode"),c.end&&c.end.call(this, | ||
b,this.currentUserDetails),this.mouseMoveEvent=this.nextEvent=!1,this.selectedButton=null))):(this.currentUserDetails=c.start.call(this,b),c.steps?(this.stepIndex=0,this.steps=!0,this.mouseMoveEvent=this.nextEvent=c.steps[this.stepIndex]):(e(this,"deselectButton",{button:this.selectedButtonElement}),a.removeClass("highcharts-draw-mode"),this.steps=!1,this.selectedButton=null,c.end&&c.end.call(this,b,this.currentUserDetails))))};a.prototype.bindingsContainerMouseMove=function(a,b){this.mouseMoveEvent&& | ||
this.mouseMoveEvent(b,this.currentUserDetails)};a.prototype.fieldsToOptions=function(a,b){y(a,function(a,c){var d=parseFloat(a),f=c.split("."),l=b,q=f.length-1;!z(d)||a.match(/px/g)||c.match(/format/g)||(a=d);""!==a&&"undefined"!==a&&f.forEach(function(b,c){var d=E(f[c+1],"");q===c?l[b]=a:(l[b]||(l[b]=d.match(/\d/g)?[]:{}),l=l[b])})});return b};a.prototype.deselectAnnotation=function(){this.activeAnnotation&&(this.activeAnnotation.setControlPointsVisibility(!1),this.activeAnnotation=!1)};a.prototype.annotationToFields= | ||
function(b){function c(a,f,l,n){if(l&&a&&-1===g.indexOf(f)&&(0<=(l.indexOf&&l.indexOf(f))||l[f]||!0===l))if(u(a))n[f]=[],a.forEach(function(a,b){p(a)?(n[f][b]={},y(a,function(a,d){c(a,d,e[f],n[f][b])})):c(a,0,e[f],n[f])});else if(p(a)){var q={};u(n)?(n.push(q),q[f]={},q=q[f]):n[f]=q;y(a,function(a,b){c(a,b,0===f?l:e[f],q)})}else"format"===f?n[f]=[d(a,b.labels[0].points[0]).toString(),"text"]:u(n)?n.push([a,v(a)]):n[f]=[a,v(a)]}var f=b.options,l=a.annotationsEditable,e=l.nestedOptions,v=this.utils.getFieldType, | ||
n=E(f.type,f.shapes&&f.shapes[0]&&f.shapes[0].type,f.labels&&f.labels[0]&&f.labels[0].itemType,"label"),g=a.annotationsNonEditable[f.langKey]||[],h={langKey:f.langKey,type:n};y(f,function(a,b){"typeOptions"===b?(h[b]={},y(f[b],function(a,d){c(a,d,e,h[b],!0)})):c(a,b,l[n],h)});return h};a.prototype.getClickedClassNames=function(a,b){var c=b.target;b=[];for(var d;c&&((d=t(c,"class"))&&(b=b.concat(d.split(" ").map(function(a){return[a,c]}))),c=c.parentNode,c!==a););return b};a.prototype.getButtonEvents= | ||
function(a,b){var c=this,d;this.getClickedClassNames(a,b).forEach(function(a){c.boundClassNames[a[0]]&&!d&&(d={events:c.boundClassNames[a[0]],button:a[1]})});return d};a.prototype.update=function(a){this.options=C(!0,this.options,a);this.removeEvents();this.initEvents()};a.prototype.removeEvents=function(){this.eventsToUnbind.forEach(function(a){a()})};a.prototype.destroy=function(){this.removeEvents()};a.annotationsEditable={nestedOptions:{labelOptions:["style","format","backgroundColor"],labels:["style"], | ||
label:["style"],style:["fontSize","color"],background:["fill","strokeWidth","stroke"],innerBackground:["fill","strokeWidth","stroke"],outerBackground:["fill","strokeWidth","stroke"],shapeOptions:["fill","strokeWidth","stroke"],shapes:["fill","strokeWidth","stroke"],line:["strokeWidth","stroke"],backgroundColors:[!0],connector:["fill","strokeWidth","stroke"],crosshairX:["strokeWidth","stroke"],crosshairY:["strokeWidth","stroke"]},circle:["shapes"],verticalLine:[],label:["labelOptions"],measure:["background", | ||
"crosshairY","crosshairX"],fibonacci:[],tunnel:["background","line","height"],pitchfork:["innerBackground","outerBackground"],rect:["shapes"],crookedLine:[],basicAnnotation:["shapes","labelOptions"]};a.annotationsNonEditable={rectangle:["crosshairX","crosshairY","label"]};return a}();w.prototype.utils={updateRectSize:function(a,b){var c=b.chart,d=b.options.typeOptions,f=c.pointer.getCoordinates(a);a=f.xAxis[0].value-d.point.x;d=d.point.y-f.yAxis[0].value;b.update({typeOptions:{background:{width:c.inverted? | ||
d:a,height:c.inverted?a:d}}})},getFieldType:function(a){return{string:"text",number:"number","boolean":"checkbox"}[typeof a]}};g.prototype.initNavigationBindings=function(){var a=this.options;a&&a.navigation&&a.navigation.bindings&&(this.navigationBindings=new w(this,a.navigation),this.navigationBindings.initEvents(),this.navigationBindings.initUpdate())};b(g,"load",function(){this.initNavigationBindings()});b(g,"destroy",function(){this.navigationBindings&&this.navigationBindings.destroy()});b(w, | ||
"deselectButton",function(){this.selectedButtonElement=null});b(a,"remove",function(){this.chart.navigationBindings&&this.chart.navigationBindings.deselectAnnotation()});r.Annotation&&(c(a),y(a.types,function(a){c(a)}));k({lang:{navigation:{popup:{simpleShapes:"Simple shapes",lines:"Lines",circle:"Circle",rectangle:"Rectangle",label:"Label",shapeOptions:"Shape options",typeOptions:"Details",fill:"Fill",format:"Text",strokeWidth:"Line width",stroke:"Line color",title:"Title",name:"Name",labelOptions:"Label options", | ||
labels:"Labels",backgroundColor:"Background color",backgroundColors:"Background colors",borderColor:"Border color",borderRadius:"Border radius",borderWidth:"Border width",style:"Style",padding:"Padding",fontSize:"Font size",color:"Color",height:"Height",shapes:"Shape options"}}},navigation:{bindingsClassName:"highcharts-bindings-container",bindings:{circleAnnotation:{className:"highcharts-circle-annotation",start:function(a){a=this.chart.pointer.getCoordinates(a);var b=this.chart.options.navigation; | ||
return this.chart.addAnnotation(C({langKey:"circle",type:"basicAnnotation",shapes:[{type:"circle",point:{xAxis:0,yAxis:0,x:a.xAxis[0].value,y:a.yAxis[0].value},r:5}]},b.annotationsOptions,b.bindings.circleAnnotation.annotationsOptions))},steps:[function(a,b){var c=b.options.shapes[0].point,d=this.chart.xAxis[0].toPixels(c.x);c=this.chart.yAxis[0].toPixels(c.y);var f=this.chart.inverted;b.update({shapes:[{r:Math.max(Math.sqrt(Math.pow(f?c-a.chartX:d-a.chartX,2)+Math.pow(f?d-a.chartY:c-a.chartY,2)), | ||
5)}]})}]},rectangleAnnotation:{className:"highcharts-rectangle-annotation",start:function(a){var b=this.chart.pointer.getCoordinates(a);a=this.chart.options.navigation;var c=b.xAxis[0].value;b=b.yAxis[0].value;return this.chart.addAnnotation(C({langKey:"rectangle",type:"basicAnnotation",shapes:[{type:"path",points:[{xAxis:0,yAxis:0,x:c,y:b},{xAxis:0,yAxis:0,x:c,y:b},{xAxis:0,yAxis:0,x:c,y:b},{xAxis:0,yAxis:0,x:c,y:b}]}]},a.annotationsOptions,a.bindings.rectangleAnnotation.annotationsOptions))},steps:[function(a, | ||
b){var c=b.options.shapes[0].points,d=this.chart.pointer.getCoordinates(a);a=d.xAxis[0].value;d=d.yAxis[0].value;c[1].x=a;c[2].x=a;c[2].y=d;c[3].y=d;b.update({shapes:[{points:c}]})}]},labelAnnotation:{className:"highcharts-label-annotation",start:function(a){a=this.chart.pointer.getCoordinates(a);var b=this.chart.options.navigation;return this.chart.addAnnotation(C({langKey:"label",type:"basicAnnotation",labelOptions:{format:"{y:.2f}"},labels:[{point:{xAxis:0,yAxis:0,x:a.xAxis[0].value,y:a.yAxis[0].value}, | ||
overflow:"none",crop:!0}]},b.annotationsOptions,b.bindings.labelAnnotation.annotationsOptions))}}},events:{},annotationsOptions:{animation:{defer:0}}}});b(w,"closePopup",function(){this.deselectAnnotation()});return w});t(a,"Extensions/Annotations/Popup.js",[a["Core/Globals.js"],a["Extensions/Annotations/NavigationBindings.js"],a["Core/Pointer.js"],a["Core/Utilities.js"]],function(a,g,m,r){var c=a.isFirefox,t=r.addEvent,b=r.createElement,B=r.defined,d=r.fireEvent,e=r.getOptions,u=r.isArray,h=r.isObject, | ||
z=r.isString,p=r.objectEach,C=r.pick,y=r.stableSort;r=r.wrap;var E=/\d/g;r(m.prototype,"onContainerMouseDown",function(a,b){var c=b.target&&b.target.className;z(c)&&0<=c.indexOf("highcharts-popup-field")||a.apply(this,Array.prototype.slice.call(arguments,1))});a.Popup=function(a,b,c){this.init(a,b,c)};a.Popup.prototype={init:function(a,c,d){this.chart=d;this.container=b("div",{className:"highcharts-popup"},null,a);this.lang=this.getLangpack();this.iconsURL=c;this.addCloseBtn()},addCloseBtn:function(){var a= | ||
this;var c=b("div",{className:"highcharts-popup-close"},null,this.container);c.style["background-image"]="url("+this.iconsURL+"close.svg)";["click","touchstart"].forEach(function(b){t(c,b,function(){d(a.chart.navigationBindings,"closePopup")})})},addColsContainer:function(a){var c=b("div",{className:"highcharts-popup-lhs-col"},null,a);a=b("div",{className:"highcharts-popup-rhs-col"},null,a);b("div",{className:"highcharts-popup-rhs-col-wrapper"},null,a);return{lhsCol:c,rhsCol:a}},addInput:function(a, | ||
c,d,e){var f=a.split(".");f=f[f.length-1];var l=this.lang;c="highcharts-"+c+"-"+f;c.match(E)||b("label",{innerHTML:l[f]||f,htmlFor:c},null,d);b("input",{name:c,value:e[0],type:e[1],className:"highcharts-popup-field"},null,d).setAttribute("highcharts-data-name",a)},addButton:function(a,c,d,e,g){var f=this,l=this.closePopup,h=this.getFields;var n=b("button",{innerHTML:c},null,a);["click","touchstart"].forEach(function(a){t(n,a,function(){l.call(f);return e(h(g,d))})});return n},getFields:function(a, | ||
b){var c=a.querySelectorAll("input"),d=a.querySelectorAll("#highcharts-select-series > option:checked")[0];a=a.querySelectorAll("#highcharts-select-volume > option:checked")[0];var f,e;var l={actionType:b,linkedTo:d&&d.getAttribute("value"),fields:{}};[].forEach.call(c,function(a){e=a.getAttribute("highcharts-data-name");(f=a.getAttribute("highcharts-data-series-id"))?l.seriesId=a.value:e?l.fields[e]=a.value:l.type=a.value});a&&(l.fields["params.volumeSeriesID"]=a.getAttribute("value"));return l}, | ||
showPopup:function(){var a=this.container,b=a.querySelectorAll(".highcharts-popup-close")[0];a.innerHTML="";0<=a.className.indexOf("highcharts-annotation-toolbar")&&(a.classList.remove("highcharts-annotation-toolbar"),a.removeAttribute("style"));a.appendChild(b);a.style.display="block"},closePopup:function(){this.popup.container.style.display="none"},showForm:function(a,b,c,d){this.popup=b.navigationBindings.popup;this.showPopup();"indicators"===a&&this.indicators.addForm.call(this,b,c,d);"annotation-toolbar"=== | ||
a&&this.annotations.addToolbar.call(this,b,c,d);"annotation-edit"===a&&this.annotations.addForm.call(this,b,c,d);"flag"===a&&this.annotations.addForm.call(this,b,c,d,!0)},getLangpack:function(){return e().lang.navigation.popup},annotations:{addToolbar:function(a,c,d){var f=this,e=this.lang,l=this.popup.container,g=this.showForm;-1===l.className.indexOf("highcharts-annotation-toolbar")&&(l.className+=" highcharts-annotation-toolbar");l.style.top=a.plotTop+10+"px";b("span",{innerHTML:C(e[c.langKey]|| | ||
c.langKey,c.shapes&&c.shapes[0].type)},null,l);var h=this.addButton(l,e.removeButton||"remove","remove",d,l);h.className+=" highcharts-annotation-remove-button";h.style["background-image"]="url("+this.iconsURL+"destroy.svg)";h=this.addButton(l,e.editButton||"edit","edit",function(){g.call(f,"annotation-edit",a,c,d)},l);h.className+=" highcharts-annotation-edit-button";h.style["background-image"]="url("+this.iconsURL+"edit.svg)"},addForm:function(a,c,d,e){var f=this.popup.container,l=this.lang;b("h2", | ||
{innerHTML:l[c.langKey]||c.langKey,className:"highcharts-popup-main-title"},null,f);var h=b("div",{className:"highcharts-popup-lhs-col highcharts-popup-lhs-full"},null,f);var g=b("div",{className:"highcharts-popup-bottom-row"},null,f);this.annotations.addFormFields.call(this,h,a,"",c,[],!0);this.addButton(g,e?l.addButton||"add":l.saveButton||"save",e?"add":"save",d,f)},addFormFields:function(a,d,e,g,n,q){var f=this,l=this.annotations.addFormFields,k=this.addInput,m=this.lang,v,w;p(g,function(b,c){v= | ||
""!==e?e+"."+c:c;h(b)&&(!u(b)||u(b)&&h(b[0])?(w=m[c]||c,w.match(E)||n.push([!0,w,a]),l.call(f,a,d,v,b,n,!1)):n.push([f,v,"annotation",a,b]))});q&&(y(n,function(a){return a[1].match(/format/g)?-1:1}),c&&n.reverse(),n.forEach(function(a){!0===a[0]?b("span",{className:"highcharts-annotation-title",innerHTML:a[1]},null,a[2]):k.apply(a[0],a.splice(1))}))}},indicators:{addForm:function(a,b,c){var d=this.indicators,f=this.lang;this.tabs.init.call(this,a);b=this.popup.container.querySelectorAll(".highcharts-tab-item-content"); | ||
this.addColsContainer(b[0]);d.addIndicatorList.call(this,a,b[0],"add");var e=b[0].querySelectorAll(".highcharts-popup-rhs-col")[0];this.addButton(e,f.addButton||"add","add",c,e);this.addColsContainer(b[1]);d.addIndicatorList.call(this,a,b[1],"edit");e=b[1].querySelectorAll(".highcharts-popup-rhs-col")[0];this.addButton(e,f.saveButton||"save","edit",c,e);this.addButton(e,f.removeButton||"remove","remove",c,e)},addIndicatorList:function(a,c,d){var f=this,e=c.querySelectorAll(".highcharts-popup-lhs-col")[0]; | ||
c=c.querySelectorAll(".highcharts-popup-rhs-col")[0];var g="edit"===d,h=g?a.series:a.options.plotOptions,l=this.indicators.addFormFields,k;var m=b("ul",{className:"highcharts-indicator-list"},null,e);var w=c.querySelectorAll(".highcharts-popup-rhs-col-wrapper")[0];p(h,function(c,d){var e=c.options;if(c.params||e&&e.params){var n=f.indicators.getNameType(c,d),q=n.type;k=b("li",{className:"highcharts-indicator-list",innerHTML:n.name},null,m);["click","touchstart"].forEach(function(d){t(k,d,function(){l.call(f, | ||
a,g?c:h[q],n.type,w);g&&c.options&&b("input",{type:"hidden",name:"highcharts-id-"+q,value:c.options.id},null,w).setAttribute("highcharts-data-series-id",c.options.id)})})}});0<m.childNodes.length&&m.childNodes[0].click()},getNameType:function(b,c){var d=b.options,f=a.seriesTypes;f=f[c]&&f[c].prototype.nameBase||c.toUpperCase();d&&d.type&&(c=b.options.type,f=b.name);return{name:f,type:c}},listAllSeries:function(a,c,d,e,g){a="highcharts-"+c+"-type-"+a;var f;b("label",{innerHTML:this.lang[c]||c,htmlFor:a}, | ||
null,e);var h=b("select",{name:a,className:"highcharts-popup-field"},null,e);h.setAttribute("id","highcharts-select-"+c);d.series.forEach(function(a){f=a.options;!f.params&&f.id&&"highcharts-navigator-series"!==f.id&&b("option",{innerHTML:f.name||f.id,value:f.id},null,h)});B(g)&&(h.value=g)},addFormFields:function(a,c,d,e){var f=c.params||c.options.params,g=this.indicators.getNameType;e.innerHTML="";b("h3",{className:"highcharts-indicator-title",innerHTML:g(c,d).name},null,e);b("input",{type:"hidden", | ||
name:"highcharts-type-"+d,value:d},null,e);this.indicators.listAllSeries.call(this,d,"series",a,e,c.linkedParent&&f.volumeSeriesID);f.volumeSeriesID&&this.indicators.listAllSeries.call(this,d,"volume",a,e,c.linkedParent&&c.linkedParent.options.id);this.indicators.addParamInputs.call(this,a,"params",f,d,e)},addParamInputs:function(a,b,c,d,e){var f=this,g=this.indicators.addParamInputs,l=this.addInput,k;p(c,function(c,n){k=b+"."+n;h(c)?g.call(f,a,k,c,d,e):"params.volumeSeriesID"!==k&&l.call(f,k,d,e, | ||
[c,"text"])})},getAmount:function(){var a=0;this.series.forEach(function(b){var c=b.options;(b.params||c&&c.params)&&a++});return a}},tabs:{init:function(a){var b=this.tabs;a=this.indicators.getAmount.call(a);var c=b.addMenuItem.call(this,"add");b.addMenuItem.call(this,"edit",a);b.addContentItem.call(this,"add");b.addContentItem.call(this,"edit");b.switchTabs.call(this,a);b.selectTab.call(this,c,0)},addMenuItem:function(a,c){var d=this.popup.container,e="highcharts-tab-item",f=this.lang;0===c&&(e+= | ||
" highcharts-tab-disabled");c=b("span",{innerHTML:f[a+"Button"]||a,className:e},null,d);c.setAttribute("highcharts-data-tab-type",a);return c},addContentItem:function(){return b("div",{className:"highcharts-tab-item-content"},null,this.popup.container)},switchTabs:function(a){var b=this,c;this.popup.container.querySelectorAll(".highcharts-tab-item").forEach(function(d,e){c=d.getAttribute("highcharts-data-tab-type");"edit"===c&&0===a||["click","touchstart"].forEach(function(a){t(d,a,function(){b.tabs.deselectAll.call(b); | ||
b.tabs.selectTab.call(b,this,e)})})})},selectTab:function(a,b){var c=this.popup.container.querySelectorAll(".highcharts-tab-item-content");a.className+=" highcharts-tab-item-active";c[b].className+=" highcharts-tab-item-show"},deselectAll:function(){var a=this.popup.container,b=a.querySelectorAll(".highcharts-tab-item");a=a.querySelectorAll(".highcharts-tab-item-content");var c;for(c=0;c<b.length;c++)b[c].classList.remove("highcharts-tab-item-active"),a[c].classList.remove("highcharts-tab-item-show")}}}; | ||
t(g,"showPopup",function(b){this.popup||(this.popup=new a.Popup(this.chart.container,this.chart.options.navigation.iconsURL||this.chart.options.stockTools&&this.chart.options.stockTools.gui.iconsURL||"https://code.highcharts.com/9.0.1/gfx/stock-icons/",this.chart));this.popup.showForm(b.formType,this.chart,b.options,b.onSubmit)});t(g,"closePopup",function(){this.popup&&this.popup.closePopup()})});t(a,"masters/modules/annotations.src.js",[],function(){})}); | ||
//# sourceMappingURL=annotations.js.map |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Arrow Symbols | ||
(c) 2017-2019 Lars A. V. Cabrera | ||
(c) 2017-2021 Lars A. V. Cabrera | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* Arrow Symbols | ||
* | ||
* (c) 2017-2019 Lars A. V. Cabrera | ||
* (c) 2017-2021 Lars A. V. Cabrera | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Boost module | ||
(c) 2010-2019 Highsoft AS | ||
(c) 2010-2021 Highsoft AS | ||
Author: Torstein Honsi | ||
@@ -8,0 +8,0 @@ |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* Boost module | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* Author: Torstein Honsi | ||
@@ -8,0 +8,0 @@ * |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Boost module | ||
(c) 2010-2019 Highsoft AS | ||
(c) 2010-2021 Highsoft AS | ||
Author: Torstein Honsi | ||
@@ -12,79 +12,79 @@ | ||
*/ | ||
(function(b){"object"===typeof module&&module.exports?(b["default"]=b,module.exports=b):"function"===typeof define&&define.amd?define("highcharts/modules/boost",["highcharts"],function(q){b(q);b.Highcharts=q;return b}):b("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(b){function q(b,E,h,x){b.hasOwnProperty(E)||(b[E]=x.apply(null,h))}b=b?b._modules:{};q(b,"Extensions/Boost/Boostables.js",[],function(){return"area arearange column columnrange bar line scatter heatmap bubble treemap".split(" ")}); | ||
q(b,"Extensions/Boost/BoostableMap.js",[b["Extensions/Boost/Boostables.js"]],function(b){var H={};b.forEach(function(b){H[b]=1});return H});q(b,"Extensions/Boost/WGLShader.js",[b["Core/Utilities.js"]],function(b){var H=b.clamp,h=b.error,x=b.pick;return function(c){function b(){r.length&&h("[highcharts boost] shader error - "+r.join("\n"))}function u(a,k){var d=c.createShader("vertex"===k?c.VERTEX_SHADER:c.FRAGMENT_SHADER);c.shaderSource(d,a);c.compileShader(d);return c.getShaderParameter(d,c.COMPILE_STATUS)? | ||
d:(r.push("when compiling "+k+" shader:\n"+c.getShaderInfoLog(d)),!1)}function n(){function d(a){return c.getUniformLocation(e,a)}var K=u("#version 100\n#define LN10 2.302585092994046\nprecision highp float;\nattribute vec4 aVertexPosition;\nattribute vec4 aColor;\nvarying highp vec2 position;\nvarying highp vec4 vColor;\nuniform mat4 uPMatrix;\nuniform float pSize;\nuniform float translatedThreshold;\nuniform bool hasThreshold;\nuniform bool skipTranslation;\nuniform float xAxisTrans;\nuniform float xAxisMin;\nuniform float xAxisMinPad;\nuniform float xAxisPointRange;\nuniform float xAxisLen;\nuniform bool xAxisPostTranslate;\nuniform float xAxisOrdinalSlope;\nuniform float xAxisOrdinalOffset;\nuniform float xAxisPos;\nuniform bool xAxisCVSCoord;\nuniform bool xAxisIsLog;\nuniform bool xAxisReversed;\nuniform float yAxisTrans;\nuniform float yAxisMin;\nuniform float yAxisMinPad;\nuniform float yAxisPointRange;\nuniform float yAxisLen;\nuniform bool yAxisPostTranslate;\nuniform float yAxisOrdinalSlope;\nuniform float yAxisOrdinalOffset;\nuniform float yAxisPos;\nuniform bool yAxisCVSCoord;\nuniform bool yAxisIsLog;\nuniform bool yAxisReversed;\nuniform bool isBubble;\nuniform bool bubbleSizeByArea;\nuniform float bubbleZMin;\nuniform float bubbleZMax;\nuniform float bubbleZThreshold;\nuniform float bubbleMinSize;\nuniform float bubbleMaxSize;\nuniform bool bubbleSizeAbs;\nuniform bool isInverted;\nfloat bubbleRadius(){\nfloat value = aVertexPosition.w;\nfloat zMax = bubbleZMax;\nfloat zMin = bubbleZMin;\nfloat radius = 0.0;\nfloat pos = 0.0;\nfloat zRange = zMax - zMin;\nif (bubbleSizeAbs){\nvalue = value - bubbleZThreshold;\nzMax = max(zMax - bubbleZThreshold, zMin - bubbleZThreshold);\nzMin = 0.0;\n}\nif (value < zMin){\nradius = bubbleZMin / 2.0 - 1.0;\n} else {\npos = zRange > 0.0 ? (value - zMin) / zRange : 0.5;\nif (bubbleSizeByArea && pos > 0.0){\npos = sqrt(pos);\n}\nradius = ceil(bubbleMinSize + pos * (bubbleMaxSize - bubbleMinSize)) / 2.0;\n}\nreturn radius * 2.0;\n}\nfloat translate(float val,\nfloat pointPlacement,\nfloat localA,\nfloat localMin,\nfloat minPixelPadding,\nfloat pointRange,\nfloat len,\nbool cvsCoord,\nbool isLog,\nbool reversed\n){\nfloat sign = 1.0;\nfloat cvsOffset = 0.0;\nif (cvsCoord) {\nsign *= -1.0;\ncvsOffset = len;\n}\nif (isLog) {\nval = log(val) / LN10;\n}\nif (reversed) {\nsign *= -1.0;\ncvsOffset -= sign * len;\n}\nreturn sign * (val - localMin) * localA + cvsOffset + \n(sign * minPixelPadding);\n}\nfloat xToPixels(float value) {\nif (skipTranslation){\nreturn value;// + xAxisPos;\n}\nreturn translate(value, 0.0, xAxisTrans, xAxisMin, xAxisMinPad, xAxisPointRange, xAxisLen, xAxisCVSCoord, xAxisIsLog, xAxisReversed);// + xAxisPos;\n}\nfloat yToPixels(float value, float checkTreshold) {\nfloat v;\nif (skipTranslation){\nv = value;// + yAxisPos;\n} else {\nv = translate(value, 0.0, yAxisTrans, yAxisMin, yAxisMinPad, yAxisPointRange, yAxisLen, yAxisCVSCoord, yAxisIsLog, yAxisReversed);// + yAxisPos;\nif (v > yAxisLen) {\nv = yAxisLen;\n}\n}\nif (checkTreshold > 0.0 && hasThreshold) {\nv = min(v, translatedThreshold);\n}\nreturn v;\n}\nvoid main(void) {\nif (isBubble){\ngl_PointSize = bubbleRadius();\n} else {\ngl_PointSize = pSize;\n}\nvColor = aColor;\nif (skipTranslation && isInverted) {\ngl_Position = uPMatrix * vec4(aVertexPosition.y + yAxisPos, aVertexPosition.x + xAxisPos, 0.0, 1.0);\n} else if (isInverted) {\ngl_Position = uPMatrix * vec4(yToPixels(aVertexPosition.y, aVertexPosition.z) + yAxisPos, xToPixels(aVertexPosition.x) + xAxisPos, 0.0, 1.0);\n} else {\ngl_Position = uPMatrix * vec4(xToPixels(aVertexPosition.x) + xAxisPos, yToPixels(aVertexPosition.y, aVertexPosition.z) + yAxisPos, 0.0, 1.0);\n}\n}", | ||
"vertex"),n=u("precision highp float;\nuniform vec4 fillColor;\nvarying highp vec2 position;\nvarying highp vec4 vColor;\nuniform sampler2D uSampler;\nuniform bool isCircle;\nuniform bool hasColor;\nvoid main(void) {\nvec4 col = fillColor;\nvec4 tcol = texture2D(uSampler, gl_PointCoord.st);\nif (hasColor) {\ncol = vColor;\n}\nif (isCircle) {\ncol *= tcol;\nif (tcol.r < 0.0) {\ndiscard;\n} else {\ngl_FragColor = col;\n}\n} else {\ngl_FragColor = col;\n}\n}","fragment");if(!K||!n)return e=!1,b(),!1; | ||
e=c.createProgram();c.attachShader(e,K);c.attachShader(e,n);c.linkProgram(e);if(!c.getProgramParameter(e,c.LINK_STATUS))return r.push(c.getProgramInfoLog(e)),b(),e=!1;c.useProgram(e);c.bindAttribLocation(e,0,"aVertexPosition");f=d("uPMatrix");m=d("pSize");p=d("fillColor");z=d("isBubble");N=d("bubbleSizeAbs");y=d("bubbleSizeByArea");k=d("uSampler");O=d("skipTranslation");D=d("isCircle");a=d("isInverted");return!0}function t(a,k){c&&e&&(a=v[a]=v[a]||c.getUniformLocation(e,a),c.uniform1f(a,k))}var v= | ||
{},e,f,m,p,z,N,y,O,D,a,r=[],k;return c&&!n()?!1:{psUniform:function(){return m},pUniform:function(){return f},fillColorUniform:function(){return p},setBubbleUniforms:function(a,k,f){var d=a.options,b=Number.MAX_VALUE,K=-Number.MAX_VALUE;c&&e&&"bubble"===a.type&&(b=x(d.zMin,H(k,!1===d.displayNegative?d.zThreshold:-Number.MAX_VALUE,b)),K=x(d.zMax,Math.max(K,f)),c.uniform1i(z,1),c.uniform1i(D,1),c.uniform1i(y,"width"!==a.options.sizeBy),c.uniform1i(N,a.options.sizeByAbsoluteValue),t("bubbleZMin",b), | ||
t("bubbleZMax",K),t("bubbleZThreshold",a.options.zThreshold),t("bubbleMinSize",a.minPxSize),t("bubbleMaxSize",a.maxPxSize))},bind:function(){c&&e&&c.useProgram(e)},program:function(){return e},create:n,setUniform:t,setPMatrix:function(a){c&&e&&c.uniformMatrix4fv(f,!1,a)},setColor:function(a){c&&e&&c.uniform4f(p,a[0]/255,a[1]/255,a[2]/255,a[3])},setPointSize:function(a){c&&e&&c.uniform1f(m,a)},setSkipTranslation:function(a){c&&e&&c.uniform1i(O,!0===a?1:0)},setTexture:function(a){c&&e&&c.uniform1i(k, | ||
a)},setDrawAsCircle:function(a){c&&e&&c.uniform1i(D,a?1:0)},reset:function(){c&&e&&(c.uniform1i(z,0),c.uniform1i(D,0))},setInverted:function(d){c&&e&&c.uniform1i(a,d)},destroy:function(){c&&e&&(c.deleteProgram(e),e=!1)}}}});q(b,"Extensions/Boost/WGLVBuffer.js",[],function(){return function(b,E,h){function H(){c&&(b.deleteBuffer(c),l=c=!1);t=0;u=h||2;v=[]}var c=!1,l=!1,u=h||2,n=!1,t=0,v;return{destroy:H,bind:function(){if(!c)return!1;b.vertexAttribPointer(l,u,b.FLOAT,!1,0,0)},data:v,build:function(e, | ||
f,m){var p;v=e||[];if(!(v&&0!==v.length||n))return H(),!1;u=m||u;c&&b.deleteBuffer(c);n||(p=new Float32Array(v));c=b.createBuffer();b.bindBuffer(b.ARRAY_BUFFER,c);b.bufferData(b.ARRAY_BUFFER,n||p,b.STATIC_DRAW);l=b.getAttribLocation(E.program(),f);b.enableVertexAttribArray(l);return!0},render:function(e,f,m){var p=n?n.length:v.length;if(!c||!p)return!1;if(!e||e>p||0>e)e=0;if(!f||f>p)f=p;b.drawArrays(b[(m||"points").toUpperCase()],e/u,(f-e)/u);return!0},allocate:function(b){t=-1;n=new Float32Array(4* | ||
b)},push:function(b,f,c,p){n&&(n[++t]=b,n[++t]=f,n[++t]=c,n[++t]=p)}}}});q(b,"Extensions/Boost/WGLRenderer.js",[b["Core/Color/Color.js"],b["Extensions/Boost/WGLShader.js"],b["Extensions/Boost/WGLVBuffer.js"],b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,E,h,x,c){var H=b.parse,u=x.doc,n=c.isNumber,t=c.isObject,v=c.merge,e=c.objectEach,f=c.pick;return function(c){function m(a){if(a.isSeriesBoosting){var d=!!a.options.stacking;var b=a.xData||a.options.xData||a.processedXData;d=(d?a.data:b|| | ||
a.options.data).length;"treemap"===a.type?d*=12:"heatmap"===a.type?d*=6:ha[a.type]&&(d*=2);return d}return 0}function z(){g.clear(g.COLOR_BUFFER_BIT|g.DEPTH_BUFFER_BIT)}function N(a,d){function g(a){a&&(d.colorData.push(a[0]),d.colorData.push(a[1]),d.colorData.push(a[2]),d.colorData.push(a[3]))}function k(a,d,b,k,c){g(c);B.usePreallocated?(K.push(a,d,b?1:0,k||1),ma+=4):(S.push(a),S.push(d),S.push(b?1:0),S.push(k||1))}function c(){d.segments.length&&(d.segments[d.segments.length-1].to=S.length||ma)} | ||
function f(){d.segments.length&&d.segments[d.segments.length-1].from===(S.length||ma)||(c(),d.segments.push({from:S.length||ma}))}function D(a,d,b,c,f){g(f);k(a+b,d);g(f);k(a,d);g(f);k(a,d+c);g(f);k(a,d+c);g(f);k(a+b,d+c);g(f);k(a+b,d)}function r(a,b){B.useGPUTranslations||(d.skipTranslation=!0,a.x=x.toPixels(a.x,!0),a.y=v.toPixels(a.y,!0));b?S=[a.x,a.y,0,2].concat(S):k(a.x,a.y,0,2)}var m=a.pointArrayMap&&"low,high"===a.pointArrayMap.join(","),e=a.chart,A=a.options,Y=!!A.stacking,p=A.data,n=a.xAxis.getExtremes(), | ||
h=n.min;n=n.max;var z=a.yAxis.getExtremes(),u=z.min;z=z.max;var y=a.xData||A.xData||a.processedXData,N=a.yData||A.yData||a.processedYData,l=a.zData||A.zData||a.processedZData,v=a.yAxis,x=a.xAxis,O=a.chart.plotWidth,R=!y||0===y.length,E=A.connectNulls,w=a.points||!1,q=!1,I=!1,G;y=Y?a.data:y||p;var Q={x:Number.MAX_VALUE,y:0},M={x:-Number.MAX_VALUE,y:0},P=0,Ga=!1,L=-1,X=!1,ea=!1,W="undefined"===typeof e.index,ya=!1,Ba=!1;var C=!1;var Oa=ha[a.type],za=!1,Ha=!0,Ca=!0,la=A.zones||!1,fa=!1,Ia=A.threshold, | ||
Aa=!1;if(!(A.boostData&&0<A.boostData.length)){A.gapSize&&(Aa="value"!==A.gapUnit?A.gapSize*a.closestPointRange:A.gapSize);la&&(la.some(function(a){return"undefined"===typeof a.value?(fa=new b(a.color),!0):!1}),fa||(fa=a.pointAttribs&&a.pointAttribs().fill||a.color,fa=new b(fa)));e.inverted&&(O=a.chart.plotHeight);a.closestPointRangePx=Number.MAX_VALUE;f();if(w&&0<w.length)d.skipTranslation=!0,d.drawMode="triangles",w[0].node&&w[0].node.levelDynamic&&w.sort(function(a,d){if(a.node){if(a.node.levelDynamic> | ||
d.node.levelDynamic)return 1;if(a.node.levelDynamic<d.node.levelDynamic)return-1}return 0}),w.forEach(function(d){var b=d.plotY;if("undefined"!==typeof b&&!isNaN(b)&&null!==d.y){b=d.shapeArgs;var g=e.styledMode?d.series.colorAttribs(d):g=d.series.pointAttribs(d);d=g["stroke-width"]||0;C=H(g.fill).rgba;C[0]/=255;C[1]/=255;C[2]/=255;"treemap"===a.type&&(d=d||1,G=H(g.stroke).rgba,G[0]/=255,G[1]/=255,G[2]/=255,D(b.x,b.y,b.width,b.height,G),d/=2);"heatmap"===a.type&&e.inverted&&(b.x=x.len-b.x,b.y=v.len- | ||
b.y,b.width=-b.width,b.height=-b.height);D(b.x+d,b.y+d,b.width-2*d,b.height-2*d,C)}});else{for(;L<y.length-1;){var J=y[++L];if(W)break;w=p&&p[L];!R&&t(w,!0)&&w.color&&(C=H(w.color).rgba,C[0]/=255,C[1]/=255,C[2]/=255);if(R){w=J[0];var F=J[1];y[L+1]&&(ea=y[L+1][0]);y[L-1]&&(X=y[L-1][0]);if(3<=J.length){var Ja=J[2];J[2]>d.zMax&&(d.zMax=J[2]);J[2]<d.zMin&&(d.zMin=J[2])}}else w=J,F=N[L],y[L+1]&&(ea=y[L+1]),y[L-1]&&(X=y[L-1]),l&&l.length&&(Ja=l[L],l[L]>d.zMax&&(d.zMax=l[L]),l[L]<d.zMin&&(d.zMin=l[L])); | ||
if(E||null!==w&&null!==F){ea&&ea>=h&&ea<=n&&(ya=!0);X&&X>=h&&X<=n&&(Ba=!0);if(m){R&&(F=J.slice(1,3));var sa=F[0];F=F[1]}else Y&&(w=J.x,F=J.stackY,sa=F-J.y);null!==u&&"undefined"!==typeof u&&null!==z&&"undefined"!==typeof z&&(Ha=F>=u&&F<=z);w>n&&M.x<n&&(M.x=w,M.y=F);w<h&&Q.x>h&&(Q.x=w,Q.y=F);if(null!==F||!E)if(null!==F&&(Ha||ya||Ba)){if((ea>=h||w>=h)&&(X<=n||w<=n)&&(za=!0),za||ya||Ba){Aa&&w-X>Aa&&f();la&&(C=fa.rgba,la.some(function(a,d){d=la[d-1];if("undefined"!==typeof a.value&&F<=a.value){if(!d|| | ||
F>=d.value)C=H(a.color).rgba;return!0}return!1}),C[0]/=255,C[1]/=255,C[2]/=255);if(!B.useGPUTranslations&&(d.skipTranslation=!0,w=x.toPixels(w,!0),F=v.toPixels(F,!0),w>O&&"points"===d.drawMode))continue;if(Oa){J=sa;if(!1===sa||"undefined"===typeof sa)J=0>F?F:0;m||Y||(J=Math.max(null===Ia?u:Ia,u));B.useGPUTranslations||(J=v.toPixels(J,!0));k(w,J,0,0,C)}d.hasMarkers&&za&&!1!==q&&(a.closestPointRangePx=Math.min(a.closestPointRangePx,Math.abs(w-q)));!B.useGPUTranslations&&!B.usePreallocated&&q&&1>Math.abs(w- | ||
q)&&I&&1>Math.abs(F-I)?B.debug.showSkipSummary&&++P:(A.step&&!Ca&&k(w,I,0,2,C),k(w,F,0,"bubble"===a.type?Ja||1:2,C),q=w,I=F,Ga=!0,Ca=!1)}}else f()}else f()}B.debug.showSkipSummary&&console.log("skipped points:",P);Ga||!1===E||"line_strip"!==a.drawMode||(Q.x<Number.MAX_VALUE&&r(Q,!0),M.x>-Number.MAX_VALUE&&r(M))}c()}}function y(){G=[];q.data=S=[];I=[];K&&K.destroy()}function O(a){d&&(d.setUniform("xAxisTrans",a.transA),d.setUniform("xAxisMin",a.min),d.setUniform("xAxisMinPad",a.minPixelPadding),d.setUniform("xAxisPointRange", | ||
a.pointRange),d.setUniform("xAxisLen",a.len),d.setUniform("xAxisPos",a.pos),d.setUniform("xAxisCVSCoord",!a.horiz),d.setUniform("xAxisIsLog",!!a.logarithmic),d.setUniform("xAxisReversed",!!a.reversed))}function D(a){d&&(d.setUniform("yAxisTrans",a.transA),d.setUniform("yAxisMin",a.min),d.setUniform("yAxisMinPad",a.minPixelPadding),d.setUniform("yAxisPointRange",a.pointRange),d.setUniform("yAxisLen",a.len),d.setUniform("yAxisPos",a.pos),d.setUniform("yAxisCVSCoord",!a.horiz),d.setUniform("yAxisIsLog", | ||
!!a.logarithmic),d.setUniform("yAxisReversed",!!a.reversed))}function a(a,b){d.setUniform("hasThreshold",a);d.setUniform("translatedThreshold",b)}function r(k){if(k)R=k.chartWidth||800,l=k.chartHeight||400;else return!1;if(!(g&&R&&l&&d))return!1;B.debug.timeRendering&&console.time("gl rendering");g.canvas.width=R;g.canvas.height=l;d.bind();g.viewport(0,0,R,l);d.setPMatrix([2/R,0,0,0,0,-(2/l),0,0,0,0,-2,0,-1,1,-1,1]);1<B.lineWidth&&!x.isMS&&g.lineWidth(B.lineWidth);K.build(q.data,"aVertexPosition", | ||
4);K.bind();d.setInverted(k.inverted);G.forEach(function(c,r){var m=c.series.options,e=m.marker;var p="undefined"!==typeof m.lineWidth?m.lineWidth:1;var A=m.threshold,y=n(A),z=c.series.yAxis.getThreshold(A);A=f(m.marker?m.marker.enabled:null,c.series.xAxis.isRadial?!0:null,c.series.closestPointRangePx>2*((m.marker?m.marker.radius:10)||10));e=W[e&&e.symbol||c.series.symbol]||W.circle;if(!(0===c.segments.length||c.segmentslength&&c.segments[0].from===c.segments[0].to)){e.isReady&&(g.bindTexture(g.TEXTURE_2D, | ||
e.handle),d.setTexture(e.handle));k.styledMode?e=c.series.markerGroup&&c.series.markerGroup.getStyle("fill"):(e="points"===c.drawMode&&c.series.pointAttribs&&c.series.pointAttribs().fill||c.series.color,m.colorByPoint&&(e=c.series.chart.options.colors[r]));c.series.fillOpacity&&m.fillOpacity&&(e=(new b(e)).setOpacity(f(m.fillOpacity,1)).get());e=H(e).rgba;B.useAlpha||(e[3]=1);"lines"===c.drawMode&&B.useAlpha&&1>e[3]&&(e[3]/=10);"add"===m.boostBlending?(g.blendFunc(g.SRC_ALPHA,g.ONE),g.blendEquation(g.FUNC_ADD)): | ||
"mult"===m.boostBlending||"multiply"===m.boostBlending?g.blendFunc(g.DST_COLOR,g.ZERO):"darken"===m.boostBlending?(g.blendFunc(g.ONE,g.ONE),g.blendEquation(g.FUNC_MIN)):g.blendFuncSeparate(g.SRC_ALPHA,g.ONE_MINUS_SRC_ALPHA,g.ONE,g.ONE_MINUS_SRC_ALPHA);d.reset();0<c.colorData.length&&(d.setUniform("hasColor",1),r=h(g,d),r.build(c.colorData,"aColor",4),r.bind());d.setColor(e);O(c.series.xAxis);D(c.series.yAxis);a(y,z);"points"===c.drawMode&&(m.marker&&n(m.marker.radius)?d.setPointSize(2*m.marker.radius): | ||
d.setPointSize(1));d.setSkipTranslation(c.skipTranslation);"bubble"===c.series.type&&d.setBubbleUniforms(c.series,c.zMin,c.zMax);d.setDrawAsCircle(M[c.series.type]||!1);if(0<p||"line_strip"!==c.drawMode)for(p=0;p<c.segments.length;p++)K.render(c.segments[p].from,c.segments[p].to,c.drawMode);if(c.hasMarkers&&A)for(m.marker&&n(m.marker.radius)?d.setPointSize(2*m.marker.radius):d.setPointSize(10),d.setDrawAsCircle(!0),p=0;p<c.segments.length;p++)K.render(c.segments[p].from,c.segments[p].to,"POINTS")}}); | ||
B.debug.timeRendering&&console.timeEnd("gl rendering");c&&c();y()}function k(a){z();if(a.renderer.forExport)return r(a);Q?r(a):setTimeout(function(){k(a)},1)}var d=!1,K=!1,ma=0,g=!1,R=0,l=0,S=!1,I=!1,q={},Q=!1,G=[],W={},ha={column:!0,columnrange:!0,bar:!0,area:!0,arearange:!0},M={scatter:!0,bubble:!0},B={pointSize:1,lineWidth:1,fillColor:"#AA00AA",useAlpha:!0,usePreallocated:!1,useGPUTranslations:!1,debug:{timeRendering:!1,timeSeriesProcessing:!1,timeSetup:!1,timeBufferCopy:!1,timeKDTree:!1,showSkipSummary:!1}}; | ||
return q={allocateBufferForSingleSeries:function(a){var d=0;B.usePreallocated&&(a.isSeriesBoosting&&(d=m(a)),K.allocate(d))},pushSeries:function(a){0<G.length&&G[G.length-1].hasMarkers&&(G[G.length-1].markerTo=I.length);B.debug.timeSeriesProcessing&&console.time("building "+a.type+" series");G.push({segments:[],markerFrom:I.length,colorData:[],series:a,zMin:Number.MAX_VALUE,zMax:-Number.MAX_VALUE,hasMarkers:a.options.marker?!1!==a.options.marker.enabled:!1,showMarkers:!0,drawMode:{area:"lines",arearange:"lines", | ||
areaspline:"line_strip",column:"lines",columnrange:"lines",bar:"lines",line:"line_strip",scatter:"points",heatmap:"triangles",treemap:"triangles",bubble:"points"}[a.type]||"line_strip"});N(a,G[G.length-1]);B.debug.timeSeriesProcessing&&console.timeEnd("building "+a.type+" series")},setSize:function(a,b){R===a&&l===b||!d||(R=a,l=b,d.bind(),d.setPMatrix([2/R,0,0,0,0,-(2/l),0,0,0,0,-2,0,-1,1,-1,1]))},inited:function(){return Q},setThreshold:a,init:function(a,b){function c(a,d){var b={isReady:!1,texture:u.createElement("canvas"), | ||
handle:g.createTexture()},c=b.texture.getContext("2d");W[a]=b;b.texture.width=512;b.texture.height=512;c.mozImageSmoothingEnabled=!1;c.webkitImageSmoothingEnabled=!1;c.msImageSmoothingEnabled=!1;c.imageSmoothingEnabled=!1;c.strokeStyle="rgba(255, 255, 255, 0)";c.fillStyle="#FFF";d(c);try{g.activeTexture(g.TEXTURE0),g.bindTexture(g.TEXTURE_2D,b.handle),g.texImage2D(g.TEXTURE_2D,0,g.RGBA,g.RGBA,g.UNSIGNED_BYTE,b.texture),g.texParameteri(g.TEXTURE_2D,g.TEXTURE_WRAP_S,g.CLAMP_TO_EDGE),g.texParameteri(g.TEXTURE_2D, | ||
g.TEXTURE_WRAP_T,g.CLAMP_TO_EDGE),g.texParameteri(g.TEXTURE_2D,g.TEXTURE_MAG_FILTER,g.LINEAR),g.texParameteri(g.TEXTURE_2D,g.TEXTURE_MIN_FILTER,g.LINEAR),g.bindTexture(g.TEXTURE_2D,null),b.isReady=!0}catch(U){}}var k=0,f=["webgl","experimental-webgl","moz-webgl","webkit-3d"];Q=!1;if(!a)return!1;for(B.debug.timeSetup&&console.time("gl setup");k<f.length&&!(g=a.getContext(f[k],{}));k++);if(g)b||y();else return!1;g.enable(g.BLEND);g.blendFunc(g.SRC_ALPHA,g.ONE_MINUS_SRC_ALPHA);g.disable(g.DEPTH_TEST); | ||
g.depthFunc(g.LESS);d=E(g);if(!d)return!1;K=h(g,d);c("circle",function(a){a.beginPath();a.arc(256,256,256,0,2*Math.PI);a.stroke();a.fill()});c("square",function(a){a.fillRect(0,0,512,512)});c("diamond",function(a){a.beginPath();a.moveTo(256,0);a.lineTo(512,256);a.lineTo(256,512);a.lineTo(0,256);a.lineTo(256,0);a.fill()});c("triangle",function(a){a.beginPath();a.moveTo(0,512);a.lineTo(256,0);a.lineTo(512,512);a.lineTo(0,512);a.fill()});c("triangle-down",function(a){a.beginPath();a.moveTo(0,0);a.lineTo(256, | ||
512);a.lineTo(512,0);a.lineTo(0,0);a.fill()});Q=!0;B.debug.timeSetup&&console.timeEnd("gl setup");return!0},render:k,settings:B,valid:function(){return!1!==g},clear:z,flush:y,setXAxis:O,setYAxis:D,data:S,gl:function(){return g},allocateBuffer:function(a){var d=0;B.usePreallocated&&(a.series.forEach(function(a){a.isSeriesBoosting&&(d+=m(a))}),K.allocate(d))},destroy:function(){y();K.destroy();d.destroy();g&&(e(W,function(a){a.handle&&g.deleteTexture(a.handle)}),g.canvas.width=1,g.canvas.height=1)}, | ||
setOptions:function(a){v(!0,B,a)}}}});q(b,"Extensions/Boost/BoostAttach.js",[b["Core/Chart/Chart.js"],b["Extensions/Boost/WGLRenderer.js"],b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,q,h,x){var c=h.doc,l=x.error,u;return function(n,h){var v=n.chartWidth,e=n.chartHeight,f=n,m=n.seriesGroup||h.group,p=c.implementation.hasFeature("www.http://w3.org/TR/SVG11/feature#Extensibility","1.1");f=n.isChartSeriesBoosting()?n:h;p=!1;u||(u=c.createElement("canvas"));f.renderTarget||(f.canvas=u,n.renderer.forExport|| | ||
!p?(f.renderTarget=n.renderer.image("",0,0,v,e).addClass("highcharts-boost-canvas").add(m),f.boostClear=function(){f.renderTarget.attr({href:""})},f.boostCopy=function(){f.boostResizeTarget();f.renderTarget.attr({href:f.canvas.toDataURL("image/png")})}):(f.renderTargetFo=n.renderer.createElement("foreignObject").add(m),f.renderTarget=c.createElement("canvas"),f.renderTargetCtx=f.renderTarget.getContext("2d"),f.renderTargetFo.element.appendChild(f.renderTarget),f.boostClear=function(){f.renderTarget.width= | ||
f.canvas.width;f.renderTarget.height=f.canvas.height},f.boostCopy=function(){f.renderTarget.width=f.canvas.width;f.renderTarget.height=f.canvas.height;f.renderTargetCtx.drawImage(f.canvas,0,0)}),f.boostResizeTarget=function(){v=n.chartWidth;e=n.chartHeight;(f.renderTargetFo||f.renderTarget).attr({x:0,y:0,width:v,height:e}).css({pointerEvents:"none",mixedBlendMode:"normal",opacity:1});f instanceof b&&f.markerGroup.translate(n.plotLeft,n.plotTop)},f.boostClipRect=n.renderer.clipRect(),(f.renderTargetFo|| | ||
f.renderTarget).clip(f.boostClipRect),f instanceof b&&(f.markerGroup=f.renderer.g().add(m),f.markerGroup.translate(h.xAxis.pos,h.yAxis.pos)));f.canvas.width=v;f.canvas.height=e;f.boostClipRect.attr(n.getBoostClipRect(f));f.boostResizeTarget();f.boostClear();f.ogl||(f.ogl=q(function(){f.ogl.settings.debug.timeBufferCopy&&console.time("buffer copy");f.boostCopy();f.ogl.settings.debug.timeBufferCopy&&console.timeEnd("buffer copy")}),f.ogl.init(f.canvas)||l("[highcharts boost] - unable to init WebGL renderer"), | ||
f.ogl.setOptions(n.options.boost||{}),f instanceof b&&f.ogl.allocateBuffer(n));f.ogl.setSize(v,e);return f.ogl}});q(b,"Extensions/Boost/BoostUtils.js",[b["Core/Globals.js"],b["Extensions/Boost/BoostableMap.js"],b["Extensions/Boost/BoostAttach.js"],b["Core/Utilities.js"]],function(b,q,h,x){function c(){for(var b=[],c=0;c<arguments.length;c++)b[c]=arguments[c];var f=-Number.MAX_VALUE;b.forEach(function(b){if("undefined"!==typeof b&&null!==b&&"undefined"!==typeof b.length&&0<b.length)return f=b.length, | ||
!0});return f}function l(b,c,f){b&&c.renderTarget&&c.canvas&&!(f||c.chart).isChartSeriesBoosting()&&b.render(f||c.chart)}function u(b,c){b&&c.renderTarget&&c.canvas&&!c.chart.isChartSeriesBoosting()&&b.allocateBufferForSingleSeries(c)}function n(b,c,f,e,h,l){h=h||0;e=e||3E3;for(var D=h+e,a=!0;a&&h<D&&h<b.length;)a=c(b[h],h),++h;a&&(h<b.length?l?n(b,c,f,e,h,l):v.requestAnimationFrame?v.requestAnimationFrame(function(){n(b,c,f,e,h)}):setTimeout(function(){n(b,c,f,e,h)}):f&&f())}function t(){var b=0, | ||
c,f=["webgl","experimental-webgl","moz-webgl","webkit-3d"],h=!1;if("undefined"!==typeof v.WebGLRenderingContext)for(c=e.createElement("canvas");b<f.length;b++)try{if(h=c.getContext(f[b]),"undefined"!==typeof h&&null!==h)return!0}catch(y){}return!1}var v=b.win,e=b.doc,f=x.pick;x={patientMax:c,boostEnabled:function(b){return f(b&&b.options&&b.options.boost&&b.options.boost.enabled,!0)},shouldForceChartSeriesBoosting:function(b){var e=0,h=0,n=f(b.options.boost&&b.options.boost.allowForce,!0);if("undefined"!== | ||
typeof b.boostForceChartBoost)return b.boostForceChartBoost;if(1<b.series.length)for(var m=0;m<b.series.length;m++){var l=b.series[m];0!==l.options.boostThreshold&&!1!==l.visible&&"heatmap"!==l.type&&(q[l.type]&&++h,c(l.processedXData,l.options.data,l.points)>=(l.options.boostThreshold||Number.MAX_VALUE)&&++e)}b.boostForceChartBoost=n&&(h===b.series.length&&0<e||5<e);return b.boostForceChartBoost},renderIfNotSeriesBoosting:l,allocateIfNotSeriesBoosting:u,eachAsync:n,hasWebGLSupport:t,pointDrawHandler:function(b){var c= | ||
!0;this.chart.options&&this.chart.options.boost&&(c="undefined"===typeof this.chart.options.boost.enabled?!0:this.chart.options.boost.enabled);if(!c||!this.isSeriesBoosting)return b.call(this);this.chart.isBoosting=!0;if(b=h(this.chart,this))u(b,this),b.pushSeries(this);l(b,this)}};b.hasWebGLSupport=t;return x});q(b,"Extensions/Boost/BoostInit.js",[b["Core/Chart/Chart.js"],b["Core/Globals.js"],b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"],b["Extensions/Boost/BoostUtils.js"], | ||
b["Extensions/Boost/BoostAttach.js"]],function(b,q,h,x,c,l,u){var n=q.noop,t=x.seriesTypes,v=c.addEvent,e=c.extend,f=c.fireEvent,m=c.wrap,p=l.eachAsync,z=l.pointDrawHandler,H=l.allocateIfNotSeriesBoosting,y=l.renderIfNotSeriesBoosting,E=l.shouldForceChartSeriesBoosting,D;return function(){e(h.prototype,{renderCanvas:function(){function a(a,b){var c=!1,d="undefined"===typeof h.index,f=!0;if(!d){if(ja){var e=a[0];var k=a[1]}else e=a,k=v[b];Z?(ja&&(k=a.slice(1,3)),c=k[0],k=k[1]):ia&&(e=a.x,k=a.stackY, | ||
c=k-a.y);ta||(f=k>=z&&k<=E);if(null!==k&&e>=q&&e<=x&&f)if(a=g.toPixels(e,!0),B){if("undefined"===typeof U||a===M){Z||(c=k);if("undefined"===typeof ca||k>ba)ba=k,ca=b;if("undefined"===typeof U||c<T)T=c,U=b}a!==M&&("undefined"!==typeof U&&(k=m.toPixels(ba,!0),N=m.toPixels(T,!0),da(a,k,ca),N!==k&&da(a,N,U)),U=ca=void 0,M=a)}else k=Math.ceil(m.toPixels(k,!0)),da(a,k,b)}return!d}function b(){f(c,"renderedCanvas");delete c.buildKDTree;c.buildKDTree();qa.debug.timeKDTree&&console.timeEnd("kd tree building")} | ||
var c=this,d=c.options||{},e=!1,h=c.chart,g=this.xAxis,m=this.yAxis,l=d.xData||c.processedXData,v=d.yData||c.processedYData,t=d.data;e=g.getExtremes();var q=e.min,x=e.max;e=m.getExtremes();var z=e.min,E=e.max,O={},M,B=!!c.sampling,A=!1!==d.enableMouseTracking,N=m.getThreshold(d.threshold),Z=c.pointArrayMap&&"low,high"===c.pointArrayMap.join(","),ia=!!d.stacking,na=c.cropStart||0,ta=c.requireSorting,ja=!l,T,ba,U,ca,pa="x"===d.findNearestPointBy,ka=this.xData||this.options.xData||this.processedXData|| | ||
!1,da=function(a,b,c){a=Math.ceil(a);D=pa?a:a+","+b;A&&!O[D]&&(O[D]=!0,h.inverted&&(a=g.len-a,b=m.len-b),ra.push({x:ka?ka[na+c]:!1,clientX:a,plotX:a,plotY:b,i:na+c}))};e=u(h,c);h.isBoosting=!0;var qa=e.settings;if(this.visible){(this.points||this.graph)&&this.destroyGraphics();h.isChartSeriesBoosting()?(this.markerGroup&&this.markerGroup!==h.markerGroup&&this.markerGroup.destroy(),this.markerGroup=h.markerGroup,this.renderTarget&&(this.renderTarget=this.renderTarget.destroy())):(this.markerGroup=== | ||
h.markerGroup&&(this.markerGroup=void 0),this.markerGroup=c.plotGroup("markerGroup","markers",!0,1,h.seriesGroup));var ra=this.points=[];c.buildKDTree=n;e&&(H(e,this),e.pushSeries(c),y(e,this,h));h.renderer.forExport||(qa.debug.timeKDTree&&console.time("kd tree building"),p(ia?c.data:l||t,a,b))}}});["heatmap","treemap"].forEach(function(a){t[a]&&m(t[a].prototype,"drawPoints",z)});t.bubble&&(delete t.bubble.prototype.buildKDTree,m(t.bubble.prototype,"markerAttribs",function(a){return this.isSeriesBoosting? | ||
!1:a.apply(this,[].slice.call(arguments,1))}));t.scatter.prototype.fill=!0;e(t.area.prototype,{fill:!0,fillOpacity:!0,sampling:!0});e(t.column.prototype,{fill:!0,sampling:!0});b.prototype.callbacks.push(function(a){v(a,"predraw",function(){a.boostForceChartBoost=void 0;a.boostForceChartBoost=E(a);a.isBoosting=!1;!a.isChartSeriesBoosting()&&a.didBoost&&(a.didBoost=!1);a.boostClear&&a.boostClear();a.canvas&&a.ogl&&a.isChartSeriesBoosting()&&(a.didBoost=!0,a.ogl.allocateBuffer(a));a.markerGroup&&a.xAxis&& | ||
0<a.xAxis.length&&a.yAxis&&0<a.yAxis.length&&a.markerGroup.translate(a.xAxis[0].pos,a.yAxis[0].pos)});v(a,"render",function(){a.ogl&&a.isChartSeriesBoosting()&&a.ogl.render(a)})})}});q(b,"Extensions/BoostCanvas.js",[b["Core/Chart/Chart.js"],b["Core/Color/Color.js"],b["Core/Globals.js"],b["Core/Color/Palette.js"],b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,q,h,x,c,l,u){var n=q.parse,t=h.doc,v=h.noop,e=l.seriesTypes,f=u.addEvent,m=u.extend,p=u.fireEvent, | ||
z=u.isNumber,H=u.merge,y=u.pick,E=u.wrap,D;return function(){h.seriesTypes.heatmap&&E(h.seriesTypes.heatmap.prototype,"drawPoints",function(){var a=this.chart,b=this.getContext(),c=this.chart.inverted,d=this.xAxis,f=this.yAxis;b?(this.points.forEach(function(k){var e=k.plotY;"undefined"===typeof e||isNaN(e)||null===k.y||(e=k.shapeArgs,k=a.styledMode?k.series.colorAttribs(k):k.series.pointAttribs(k),b.fillStyle=k.fill,c?b.fillRect(f.len-e.y+d.left,d.len-e.x+f.top,-e.height,-e.width):b.fillRect(e.x+ | ||
d.left,e.y+f.top,e.width,e.height))}),this.canvasToSVG()):this.chart.showLoading("Your browser doesn't support HTML5 canvas, <br>please use a modern browser")});m(c.prototype,{getContext:function(){var a=this.chart,b=a.chartWidth,c=a.chartHeight,d=a.seriesGroup||this.group,e=this,f=function(a,b,c,d,e,f,k){a.call(this,c,b,d,e,f,k)};a.isChartSeriesBoosting()&&(e=a,d=a.seriesGroup);var g=e.ctx;e.canvas||(e.canvas=t.createElement("canvas"),e.renderTarget=a.renderer.image("",0,0,b,c).addClass("highcharts-boost-canvas").add(d), | ||
e.ctx=g=e.canvas.getContext("2d"),a.inverted&&["moveTo","lineTo","rect","arc"].forEach(function(a){E(g,a,f)}),e.boostCopy=function(){e.renderTarget.attr({href:e.canvas.toDataURL("image/png")})},e.boostClear=function(){g.clearRect(0,0,e.canvas.width,e.canvas.height);e===this&&e.renderTarget.attr({href:""})},e.boostClipRect=a.renderer.clipRect(),e.renderTarget.clip(e.boostClipRect));e.canvas.width!==b&&(e.canvas.width=b);e.canvas.height!==c&&(e.canvas.height=c);e.renderTarget.attr({x:0,y:0,width:b, | ||
height:c,style:"pointer-events: none",href:""});e.boostClipRect.attr(a.getBoostClipRect(e));return g},canvasToSVG:function(){this.chart.isChartSeriesBoosting()?this.boostClear&&this.boostClear():(this.boostCopy||this.chart.boostCopy)&&(this.boostCopy||this.chart.boostCopy)()},cvsLineTo:function(a,b,c){a.lineTo(b,c)},renderCanvas:function(){var a=this,b=a.options,c=a.chart,d=this.xAxis,e=this.yAxis,l=(c.options.boost||{}).timeRendering||!1,g=0,t=a.processedXData,E=a.processedYData,O=b.data,I=d.getExtremes(), | ||
N=I.min,Q=I.max;I=e.getExtremes();var G=I.min,W=I.max,ha={},M,B=!!a.sampling,A=b.marker&&b.marker.radius,Y=this.cvsDrawPoint,Z=b.lineWidth?this.cvsLineTo:void 0,ia=A&&1>=A?this.cvsMarkerSquare:this.cvsMarkerCircle,na=this.cvsStrokeBatch||1E3,ta=!1!==b.enableMouseTracking,ja;I=b.threshold;var T=e.getThreshold(I),ba=z(I),U=T,ca=this.fill,pa=a.pointArrayMap&&"low,high"===a.pointArrayMap.join(","),ka=!!b.stacking,da=a.cropStart||0;I=c.options.loading;var qa=a.requireSorting,ra,Ka=b.connectNulls,Da=!t, | ||
ua,va,aa,oa,wa,V=ka?a.data:t||O,La=a.fillOpacity?(new q(a.color)).setOpacity(y(b.fillOpacity,.75)).get():a.color,w=function(){ca?(P.fillStyle=La,P.fill()):(P.strokeStyle=a.color,P.lineWidth=b.lineWidth,P.stroke())},Ea=function(b,d,e,f){0===g&&(P.beginPath(),Z&&(P.lineJoin="round"));c.scroller&&"highcharts-navigator-series"===a.options.className?(d+=c.scroller.top,e&&(e+=c.scroller.top)):d+=c.plotTop;b+=c.plotLeft;ra?P.moveTo(b,d):Y?Y(P,b,d,e,ja):Z?Z(P,b,d):ia&&ia.call(a,P,b,d,A,f);g+=1;g===na&&(w(), | ||
g=0);ja={clientX:b,plotY:d,yBottom:e}},Ma="x"===b.findNearestPointBy,Fa=this.xData||this.options.xData||this.processedXData||!1,xa=function(a,b,f){wa=Ma?a:a+","+b;ta&&!ha[wa]&&(ha[wa]=!0,c.inverted&&(a=d.len-a,b=e.len-b),Na.push({x:Fa?Fa[da+f]:!1,clientX:a,plotX:a,plotY:b,i:da+f}))};this.renderTarget&&this.renderTarget.attr({href:""});(this.points||this.graph)&&this.destroyGraphics();a.plotGroup("group","series",a.visible?"visible":"hidden",b.zIndex,c.seriesGroup);a.markerGroup=a.group;f(a,"destroy", | ||
function(){a.markerGroup=null});var Na=this.points=[];var P=this.getContext();a.buildKDTree=v;this.boostClear&&this.boostClear();this.visible&&(99999<O.length&&(c.options.loading=H(I,{labelStyle:{backgroundColor:n(x.backgroundColor).setOpacity(.75).get(),padding:"1em",borderRadius:"0.5em"},style:{backgroundColor:"none",opacity:1}}),u.clearTimeout(D),c.showLoading("Drawing..."),c.options.loading=I),l&&console.time("canvas rendering"),h.eachAsync(V,function(b,f){var k=!1,g=!1,D=!1,h=!1,m="undefined"=== | ||
typeof c.index,n=!0;if(!m){if(Da){var l=b[0];var r=b[1];V[f+1]&&(D=V[f+1][0]);V[f-1]&&(h=V[f-1][0])}else l=b,r=E[f],V[f+1]&&(D=V[f+1]),V[f-1]&&(h=V[f-1]);D&&D>=N&&D<=Q&&(k=!0);h&&h>=N&&h<=Q&&(g=!0);if(pa){Da&&(r=b.slice(1,3));var p=r[0];r=r[1]}else ka&&(l=b.x,r=b.stackY,p=r-b.y);b=null===r;qa||(n=r>=G&&r<=W);if(!b&&(l>=N&&l<=Q&&n||k||g))if(l=Math.round(d.toPixels(l,!0)),B){if("undefined"===typeof aa||l===M){pa||(p=r);if("undefined"===typeof oa||r>va)va=r,oa=f;if("undefined"===typeof aa||p<ua)ua=p, | ||
aa=f}l!==M&&("undefined"!==typeof aa&&(r=e.toPixels(va,!0),T=e.toPixels(ua,!0),Ea(l,ba?Math.min(r,U):r,ba?Math.max(T,U):T,f),xa(l,r,oa),T!==r&&xa(l,T,aa)),aa=oa=void 0,M=l)}else r=Math.round(e.toPixels(r,!0)),Ea(l,r,T,f),xa(l,r,f);ra=b&&!Ka;0===f%5E4&&(a.boostCopy||a.chart.boostCopy)&&(a.boostCopy||a.chart.boostCopy)()}return!m},function(){var b=c.loadingDiv,d=c.loadingShown;w();a.canvasToSVG();l&&console.timeEnd("canvas rendering");p(a,"renderedCanvas");d&&(m(b.style,{transition:"opacity 250ms", | ||
opacity:0}),c.loadingShown=!1,D=setTimeout(function(){b.parentNode&&b.parentNode.removeChild(b);c.loadingDiv=c.loadingSpan=null},250));delete a.buildKDTree;a.buildKDTree()},c.renderer.forExport?Number.MAX_VALUE:void 0))}});e.scatter.prototype.cvsMarkerCircle=function(a,b,c,d){a.moveTo(b,c);a.arc(b,c,d,0,2*Math.PI,!1)};e.scatter.prototype.cvsMarkerSquare=function(a,b,c,d){a.rect(b-d,c-d,2*d,2*d)};e.scatter.prototype.fill=!0;e.bubble&&(e.bubble.prototype.cvsMarkerCircle=function(a,b,c,d,e){a.moveTo(b, | ||
c);a.arc(b,c,this.radii&&this.radii[e],0,2*Math.PI,!1)},e.bubble.prototype.cvsStrokeBatch=1);m(e.area.prototype,{cvsDrawPoint:function(a,b,c,d,e){e&&b!==e.clientX&&(a.moveTo(e.clientX,e.yBottom),a.lineTo(e.clientX,e.plotY),a.lineTo(b,c),a.lineTo(b,d))},fill:!0,fillOpacity:!0,sampling:!0});m(e.column.prototype,{cvsDrawPoint:function(a,b,c,d){a.rect(b-1,c,1,d-c)},fill:!0,sampling:!0});b.prototype.callbacks.push(function(a){f(a,"predraw",function(){a.renderTarget&&a.renderTarget.attr({href:""});a.canvas&& | ||
a.canvas.getContext("2d").clearRect(0,0,a.canvas.width,a.canvas.height)});f(a,"render",function(){a.boostCopy&&a.boostCopy()})})}});q(b,"Extensions/Boost/BoostOverrides.js",[b["Core/Chart/Chart.js"],b["Core/Series/Point.js"],b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"],b["Extensions/Boost/BoostUtils.js"],b["Extensions/Boost/Boostables.js"],b["Extensions/Boost/BoostableMap.js"]],function(b,q,h,x,c,l,u,n){var t=x.seriesTypes;x=c.addEvent;var v=c.error,e=c.getOptions, | ||
f=c.isArray,m=c.isNumber,p=c.pick,z=c.wrap,H=l.boostEnabled,y=l.shouldForceChartSeriesBoosting,E=e().plotOptions;b.prototype.isChartSeriesBoosting=function(){return p(this.options.boost&&this.options.boost.seriesThreshold,50)<=this.series.length||y(this)};b.prototype.getBoostClipRect=function(b){var a={x:this.plotLeft,y:this.plotTop,width:this.plotWidth,height:this.plotHeight};b===this&&(b=this.inverted?this.xAxis:this.yAxis,1>=b.length?(a.y=Math.min(b[0].pos,a.y),a.height=b[0].pos-this.plotTop+b[0].len): | ||
a.height=this.plotHeight);return a};h.prototype.getPoint=function(b){var a=b,c=this.xData||this.options.xData||this.processedXData||!1;!b||b instanceof this.pointClass||(a=(new this.pointClass).init(this,this.options.data[b.i],c?c[b.i]:void 0),a.category=p(this.xAxis.categories?this.xAxis.categories[a.x]:a.x,a.x),a.dist=b.dist,a.distX=b.distX,a.plotX=b.plotX,a.plotY=b.plotY,a.index=b.i,a.isInside=this.isPointInside(b));return a};z(h.prototype,"searchPoint",function(b){return this.getPoint(b.apply(this, | ||
[].slice.call(arguments,1)))});z(q.prototype,"haloPath",function(b){var a=this.series,c=this.plotX,e=this.plotY,d=a.chart.inverted;a.isSeriesBoosting&&d&&(this.plotX=a.yAxis.len-e,this.plotY=a.xAxis.len-c);var f=b.apply(this,Array.prototype.slice.call(arguments,1));a.isSeriesBoosting&&d&&(this.plotX=c,this.plotY=e);return f});z(h.prototype,"markerAttribs",function(b,a){var c=a.plotX,e=a.plotY,d=this.chart.inverted;this.isSeriesBoosting&&d&&(a.plotX=this.yAxis.len-e,a.plotY=this.xAxis.len-c);var f= | ||
b.apply(this,Array.prototype.slice.call(arguments,1));this.isSeriesBoosting&&d&&(a.plotX=c,a.plotY=e);return f});x(h,"destroy",function(){var b=this,a=b.chart;a.markerGroup===b.markerGroup&&(b.markerGroup=null);a.hoverPoints&&(a.hoverPoints=a.hoverPoints.filter(function(a){return a.series===b}));a.hoverPoint&&a.hoverPoint.series===b&&(a.hoverPoint=null)});z(h.prototype,"getExtremes",function(b){return this.isSeriesBoosting&&this.hasExtremes&&this.hasExtremes()?{}:b.apply(this,Array.prototype.slice.call(arguments, | ||
1))});["translate","generatePoints","drawTracker","drawPoints","render"].forEach(function(b){function a(a){var c=this.options.stacking&&("translate"===b||"generatePoints"===b);if(!this.isSeriesBoosting||c||!H(this.chart)||"heatmap"===this.type||"treemap"===this.type||!n[this.type]||0===this.options.boostThreshold)a.call(this);else if(this[b+"Canvas"])this[b+"Canvas"]()}z(h.prototype,b,a);"translate"===b&&"column bar arearange columnrange heatmap treemap".split(" ").forEach(function(c){t[c]&&z(t[c].prototype, | ||
b,a)})});z(h.prototype,"processData",function(b){function a(a){return c.chart.isChartSeriesBoosting()||(a?a.length:0)>=(c.options.boostThreshold||Number.MAX_VALUE)}var c=this,e=this.options.data;H(this.chart)&&n[this.type]?(a(e)&&"heatmap"!==this.type&&"treemap"!==this.type&&!this.options.stacking&&this.hasExtremes&&this.hasExtremes(!0)||(b.apply(this,Array.prototype.slice.call(arguments,1)),e=this.processedXData),(this.isSeriesBoosting=a(e))?(e=this.getFirstValidPoint(this.options.data),m(e)||f(e)|| | ||
v(12,!1,this.chart),this.enterBoost()):this.exitBoost&&this.exitBoost()):b.apply(this,Array.prototype.slice.call(arguments,1))});x(h,"hide",function(){this.canvas&&this.renderTarget&&(this.ogl&&this.ogl.clear(),this.boostClear())});h.prototype.enterBoost=function(){this.alteredByBoost=[];["allowDG","directTouch","stickyTracking"].forEach(function(b){this.alteredByBoost.push({prop:b,val:this[b],own:Object.hasOwnProperty.call(this,b)})},this);this.directTouch=this.allowDG=!1;this.finishedAnimating= | ||
this.stickyTracking=!0;this.labelBySeries&&(this.labelBySeries=this.labelBySeries.destroy())};h.prototype.exitBoost=function(){(this.alteredByBoost||[]).forEach(function(b){b.own?this[b.prop]=b.val:delete this[b.prop]},this);this.boostClear&&this.boostClear()};h.prototype.hasExtremes=function(b){var a=this.options,c=this.xAxis&&this.xAxis.options,e=this.yAxis&&this.yAxis.options,d=this.colorAxis&&this.colorAxis.options;return a.data.length>(a.boostThreshold||Number.MAX_VALUE)&&m(e.min)&&m(e.max)&& | ||
(!b||m(c.min)&&m(c.max))&&(!d||m(d.min)&&m(d.max))};h.prototype.destroyGraphics=function(){var b=this,a=this.points,c,e;if(a)for(e=0;e<a.length;e+=1)(c=a[e])&&c.destroyElements&&c.destroyElements();["graph","area","tracker"].forEach(function(a){b[a]&&(b[a]=b[a].destroy())})};u.forEach(function(b){E[b]&&(E[b].boostThreshold=5E3,E[b].boostData=[],t[b].prototype.fillOpacity=!0)})});q(b,"Extensions/Boost/NamedColors.js",[b["Core/Color/Color.js"]],function(b){var q={aliceblue:"#f0f8ff",antiquewhite:"#faebd7", | ||
aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f", | ||
darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",feldspar:"#d19275",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f", | ||
honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslateblue:"#8470ff",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0", | ||
lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500", | ||
orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa", | ||
springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",violetred:"#d02090",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};return b.names=q});q(b,"Extensions/Boost/Boost.js",[b["Extensions/Boost/BoostUtils.js"],b["Extensions/Boost/BoostInit.js"],b["Extensions/BoostCanvas.js"],b["Core/Utilities.js"]],function(b,q,h,x){x=x.error;b=b.hasWebGLSupport;b()?q():"undefined"!== | ||
typeof h?h():x(26)});q(b,"masters/modules/boost.src.js",[],function(){})}); | ||
(function(b){"object"===typeof module&&module.exports?(b["default"]=b,module.exports=b):"function"===typeof define&&define.amd?define("highcharts/modules/boost",["highcharts"],function(n){b(n);b.Highcharts=n;return b}):b("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(b){function n(b,E,h,x){b.hasOwnProperty(E)||(b[E]=x.apply(null,h))}b=b?b._modules:{};n(b,"Extensions/Boost/Boostables.js",[],function(){return"area arearange column columnrange bar line scatter heatmap bubble treemap".split(" ")}); | ||
n(b,"Extensions/Boost/BoostableMap.js",[b["Extensions/Boost/Boostables.js"]],function(b){var I={};b.forEach(function(b){I[b]=1});return I});n(b,"Extensions/Boost/WGLShader.js",[b["Core/Utilities.js"]],function(b){var I=b.clamp,h=b.error,x=b.pick;return function(c){function b(){r.length&&h("[highcharts boost] shader error - "+r.join("\n"))}function u(a,G){var d=c.createShader("vertex"===G?c.VERTEX_SHADER:c.FRAGMENT_SHADER);c.shaderSource(d,a);c.compileShader(d);return c.getShaderParameter(d,c.COMPILE_STATUS)? | ||
d:(r.push("when compiling "+G+" shader:\n"+c.getShaderInfoLog(d)),!1)}function m(){function d(a){return c.getUniformLocation(e,a)}var G=u("#version 100\n#define LN10 2.302585092994046\nprecision highp float;\nattribute vec4 aVertexPosition;\nattribute vec4 aColor;\nvarying highp vec2 position;\nvarying highp vec4 vColor;\nuniform mat4 uPMatrix;\nuniform float pSize;\nuniform float translatedThreshold;\nuniform bool hasThreshold;\nuniform bool skipTranslation;\nuniform float xAxisTrans;\nuniform float xAxisMin;\nuniform float xAxisMinPad;\nuniform float xAxisPointRange;\nuniform float xAxisLen;\nuniform bool xAxisPostTranslate;\nuniform float xAxisOrdinalSlope;\nuniform float xAxisOrdinalOffset;\nuniform float xAxisPos;\nuniform bool xAxisCVSCoord;\nuniform bool xAxisIsLog;\nuniform bool xAxisReversed;\nuniform float yAxisTrans;\nuniform float yAxisMin;\nuniform float yAxisMinPad;\nuniform float yAxisPointRange;\nuniform float yAxisLen;\nuniform bool yAxisPostTranslate;\nuniform float yAxisOrdinalSlope;\nuniform float yAxisOrdinalOffset;\nuniform float yAxisPos;\nuniform bool yAxisCVSCoord;\nuniform bool yAxisIsLog;\nuniform bool yAxisReversed;\nuniform bool isBubble;\nuniform bool bubbleSizeByArea;\nuniform float bubbleZMin;\nuniform float bubbleZMax;\nuniform float bubbleZThreshold;\nuniform float bubbleMinSize;\nuniform float bubbleMaxSize;\nuniform bool bubbleSizeAbs;\nuniform bool isInverted;\nfloat bubbleRadius(){\nfloat value = aVertexPosition.w;\nfloat zMax = bubbleZMax;\nfloat zMin = bubbleZMin;\nfloat radius = 0.0;\nfloat pos = 0.0;\nfloat zRange = zMax - zMin;\nif (bubbleSizeAbs){\nvalue = value - bubbleZThreshold;\nzMax = max(zMax - bubbleZThreshold, zMin - bubbleZThreshold);\nzMin = 0.0;\n}\nif (value < zMin){\nradius = bubbleZMin / 2.0 - 1.0;\n} else {\npos = zRange > 0.0 ? (value - zMin) / zRange : 0.5;\nif (bubbleSizeByArea && pos > 0.0){\npos = sqrt(pos);\n}\nradius = ceil(bubbleMinSize + pos * (bubbleMaxSize - bubbleMinSize)) / 2.0;\n}\nreturn radius * 2.0;\n}\nfloat translate(float val,\nfloat pointPlacement,\nfloat localA,\nfloat localMin,\nfloat minPixelPadding,\nfloat pointRange,\nfloat len,\nbool cvsCoord,\nbool isLog,\nbool reversed\n){\nfloat sign = 1.0;\nfloat cvsOffset = 0.0;\nif (cvsCoord) {\nsign *= -1.0;\ncvsOffset = len;\n}\nif (isLog) {\nval = log(val) / LN10;\n}\nif (reversed) {\nsign *= -1.0;\ncvsOffset -= sign * len;\n}\nreturn sign * (val - localMin) * localA + cvsOffset + \n(sign * minPixelPadding);\n}\nfloat xToPixels(float value) {\nif (skipTranslation){\nreturn value;// + xAxisPos;\n}\nreturn translate(value, 0.0, xAxisTrans, xAxisMin, xAxisMinPad, xAxisPointRange, xAxisLen, xAxisCVSCoord, xAxisIsLog, xAxisReversed);// + xAxisPos;\n}\nfloat yToPixels(float value, float checkTreshold) {\nfloat v;\nif (skipTranslation){\nv = value;// + yAxisPos;\n} else {\nv = translate(value, 0.0, yAxisTrans, yAxisMin, yAxisMinPad, yAxisPointRange, yAxisLen, yAxisCVSCoord, yAxisIsLog, yAxisReversed);// + yAxisPos;\nif (v > yAxisLen) {\nv = yAxisLen;\n}\n}\nif (checkTreshold > 0.0 && hasThreshold) {\nv = min(v, translatedThreshold);\n}\nreturn v;\n}\nvoid main(void) {\nif (isBubble){\ngl_PointSize = bubbleRadius();\n} else {\ngl_PointSize = pSize;\n}\nvColor = aColor;\nif (skipTranslation && isInverted) {\ngl_Position = uPMatrix * vec4(aVertexPosition.y + yAxisPos, aVertexPosition.x + xAxisPos, 0.0, 1.0);\n} else if (isInverted) {\ngl_Position = uPMatrix * vec4(yToPixels(aVertexPosition.y, aVertexPosition.z) + yAxisPos, xToPixels(aVertexPosition.x) + xAxisPos, 0.0, 1.0);\n} else {\ngl_Position = uPMatrix * vec4(xToPixels(aVertexPosition.x) + xAxisPos, yToPixels(aVertexPosition.y, aVertexPosition.z) + yAxisPos, 0.0, 1.0);\n}\n}", | ||
"vertex"),m=u("precision highp float;\nuniform vec4 fillColor;\nvarying highp vec2 position;\nvarying highp vec4 vColor;\nuniform sampler2D uSampler;\nuniform bool isCircle;\nuniform bool hasColor;\nvoid main(void) {\nvec4 col = fillColor;\nvec4 tcol = texture2D(uSampler, gl_PointCoord.st);\nif (hasColor) {\ncol = vColor;\n}\nif (isCircle) {\ncol *= tcol;\nif (tcol.r < 0.0) {\ndiscard;\n} else {\ngl_FragColor = col;\n}\n} else {\ngl_FragColor = col;\n}\n}","fragment");if(!G||!m)return e=!1,b(),!1; | ||
e=c.createProgram();c.attachShader(e,G);c.attachShader(e,m);c.linkProgram(e);if(!c.getProgramParameter(e,c.LINK_STATUS))return r.push(c.getProgramInfoLog(e)),b(),e=!1;c.useProgram(e);c.bindAttribLocation(e,0,"aVertexPosition");f=d("uPMatrix");l=d("pSize");q=d("fillColor");z=d("isBubble");M=d("bubbleSizeAbs");y=d("bubbleSizeByArea");p=d("uSampler");N=d("skipTranslation");D=d("isCircle");a=d("isInverted");return!0}function t(a,G){c&&e&&(a=v[a]=v[a]||c.getUniformLocation(e,a),c.uniform1f(a,G))}var v= | ||
{},e,f,l,q,z,M,y,N,D,a,r=[],p;return c&&!m()?!1:{psUniform:function(){return l},pUniform:function(){return f},fillColorUniform:function(){return q},setBubbleUniforms:function(a,G,p){var d=a.options,f=Number.MAX_VALUE,b=-Number.MAX_VALUE;c&&e&&"bubble"===a.type&&(f=x(d.zMin,I(G,!1===d.displayNegative?d.zThreshold:-Number.MAX_VALUE,f)),b=x(d.zMax,Math.max(b,p)),c.uniform1i(z,1),c.uniform1i(D,1),c.uniform1i(y,"width"!==a.options.sizeBy),c.uniform1i(M,a.options.sizeByAbsoluteValue),t("bubbleZMin",f), | ||
t("bubbleZMax",b),t("bubbleZThreshold",a.options.zThreshold),t("bubbleMinSize",a.minPxSize),t("bubbleMaxSize",a.maxPxSize))},bind:function(){c&&e&&c.useProgram(e)},program:function(){return e},create:m,setUniform:t,setPMatrix:function(a){c&&e&&c.uniformMatrix4fv(f,!1,a)},setColor:function(a){c&&e&&c.uniform4f(q,a[0]/255,a[1]/255,a[2]/255,a[3])},setPointSize:function(a){c&&e&&c.uniform1f(l,a)},setSkipTranslation:function(a){c&&e&&c.uniform1i(N,!0===a?1:0)},setTexture:function(a){c&&e&&c.uniform1i(p, | ||
a)},setDrawAsCircle:function(a){c&&e&&c.uniform1i(D,a?1:0)},reset:function(){c&&e&&(c.uniform1i(z,0),c.uniform1i(D,0))},setInverted:function(d){c&&e&&c.uniform1i(a,d)},destroy:function(){c&&e&&(c.deleteProgram(e),e=!1)}}}});n(b,"Extensions/Boost/WGLVBuffer.js",[],function(){return function(b,E,h){function I(){c&&(b.deleteBuffer(c),k=c=!1);t=0;u=h||2;v=[]}var c=!1,k=!1,u=h||2,m=!1,t=0,v;return{destroy:I,bind:function(){if(!c)return!1;b.vertexAttribPointer(k,u,b.FLOAT,!1,0,0)},data:v,build:function(e, | ||
f,l){var q;v=e||[];if(!(v&&0!==v.length||m))return I(),!1;u=l||u;c&&b.deleteBuffer(c);m||(q=new Float32Array(v));c=b.createBuffer();b.bindBuffer(b.ARRAY_BUFFER,c);b.bufferData(b.ARRAY_BUFFER,m||q,b.STATIC_DRAW);k=b.getAttribLocation(E.program(),f);b.enableVertexAttribArray(k);return!0},render:function(e,f,l){var q=m?m.length:v.length;if(!c||!q)return!1;if(!e||e>q||0>e)e=0;if(!f||f>q)f=q;b.drawArrays(b[(l||"points").toUpperCase()],e/u,(f-e)/u);return!0},allocate:function(b){t=-1;m=new Float32Array(4* | ||
b)},push:function(b,f,c,q){m&&(m[++t]=b,m[++t]=f,m[++t]=c,m[++t]=q)}}}});n(b,"Extensions/Boost/WGLRenderer.js",[b["Core/Color/Color.js"],b["Extensions/Boost/WGLShader.js"],b["Extensions/Boost/WGLVBuffer.js"],b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,E,h,x,c){var I=b.parse,u=x.doc,m=c.isNumber,t=c.isObject,v=c.merge,e=c.objectEach,f=c.pick;return function(c){function l(a){if(a.isSeriesBoosting){var d=!!a.options.stacking;var b=a.xData||a.options.xData||a.processedXData;d=(d?a.data:b|| | ||
a.options.data).length;"treemap"===a.type?d*=12:"heatmap"===a.type?d*=6:ha[a.type]&&(d*=2);return d}return 0}function z(){g.clear(g.COLOR_BUFFER_BIT|g.DEPTH_BUFFER_BIT)}function M(a,d){function g(a){a&&(d.colorData.push(a[0]),d.colorData.push(a[1]),d.colorData.push(a[2]),d.colorData.push(a[3]))}function c(a,d,b,c,p){g(p);B.usePreallocated?(G.push(a,d,b?1:0,c||1),ma+=4):(S.push(a),S.push(d),S.push(b?1:0),S.push(c||1))}function f(){d.segments.length&&(d.segments[d.segments.length-1].to=S.length||ma)} | ||
function p(){d.segments.length&&d.segments[d.segments.length-1].from===(S.length||ma)||(f(),d.segments.push({from:S.length||ma}))}function D(a,d,b,p,f){g(f);c(a+b,d);g(f);c(a,d);g(f);c(a,d+p);g(f);c(a,d+p);g(f);c(a+b,d+p);g(f);c(a+b,d)}function r(a,b){B.useGPUTranslations||(d.skipTranslation=!0,a.x=x.toPixels(a.x,!0),a.y=v.toPixels(a.y,!0));b?S=[a.x,a.y,0,2].concat(S):c(a.x,a.y,0,2)}var l=a.pointArrayMap&&"low,high"===a.pointArrayMap.join(","),e=a.chart,A=a.options,Y=!!A.stacking,q=A.data,m=a.xAxis.getExtremes(), | ||
h=m.min;m=m.max;var z=a.yAxis.getExtremes(),u=z.min;z=z.max;var y=a.xData||A.xData||a.processedXData,M=a.yData||A.yData||a.processedYData,k=a.zData||A.zData||a.processedZData,v=a.yAxis,x=a.xAxis,N=a.chart.plotWidth,R=!y||0===y.length,E=A.connectNulls,w=a.points||!1,n=!1,J=!1,H;y=Y?a.data:y||q;var P={x:Number.MAX_VALUE,y:0},L={x:-Number.MAX_VALUE,y:0},O=0,Ga=!1,K=-1,X=!1,ea=!1,W="undefined"===typeof e.index,ya=!1,Ba=!1;var C=!1;var Oa=ha[a.type],za=!1,Ha=!0,Ca=!0,la=A.zones||!1,fa=!1,Ia=A.threshold, | ||
Aa=!1;if(!(A.boostData&&0<A.boostData.length)){A.gapSize&&(Aa="value"!==A.gapUnit?A.gapSize*a.closestPointRange:A.gapSize);la&&(la.some(function(a){return"undefined"===typeof a.value?(fa=new b(a.color),!0):!1}),fa||(fa=a.pointAttribs&&a.pointAttribs().fill||a.color,fa=new b(fa)));e.inverted&&(N=a.chart.plotHeight);a.closestPointRangePx=Number.MAX_VALUE;p();if(w&&0<w.length)d.skipTranslation=!0,d.drawMode="triangles",w[0].node&&w[0].node.levelDynamic&&w.sort(function(a,d){if(a.node){if(a.node.levelDynamic> | ||
d.node.levelDynamic)return 1;if(a.node.levelDynamic<d.node.levelDynamic)return-1}return 0}),w.forEach(function(d){var b=d.plotY;if("undefined"!==typeof b&&!isNaN(b)&&null!==d.y){b=d.shapeArgs;var g=e.styledMode?d.series.colorAttribs(d):g=d.series.pointAttribs(d);d=g["stroke-width"]||0;C=I(g.fill).rgba;C[0]/=255;C[1]/=255;C[2]/=255;"treemap"===a.type&&(d=d||1,H=I(g.stroke).rgba,H[0]/=255,H[1]/=255,H[2]/=255,D(b.x,b.y,b.width,b.height,H),d/=2);"heatmap"===a.type&&e.inverted&&(b.x=x.len-b.x,b.y=v.len- | ||
b.y,b.width=-b.width,b.height=-b.height);D(b.x+d,b.y+d,b.width-2*d,b.height-2*d,C)}});else{for(;K<y.length-1;){var Q=y[++K];if(W)break;w=q&&q[K];!R&&t(w,!0)&&w.color&&(C=I(w.color).rgba,C[0]/=255,C[1]/=255,C[2]/=255);if(R){w=Q[0];var F=Q[1];y[K+1]&&(ea=y[K+1][0]);y[K-1]&&(X=y[K-1][0]);if(3<=Q.length){var Ja=Q[2];Q[2]>d.zMax&&(d.zMax=Q[2]);Q[2]<d.zMin&&(d.zMin=Q[2])}}else w=Q,F=M[K],y[K+1]&&(ea=y[K+1]),y[K-1]&&(X=y[K-1]),k&&k.length&&(Ja=k[K],k[K]>d.zMax&&(d.zMax=k[K]),k[K]<d.zMin&&(d.zMin=k[K])); | ||
if(E||null!==w&&null!==F){ea&&ea>=h&&ea<=m&&(ya=!0);X&&X>=h&&X<=m&&(Ba=!0);if(l){R&&(F=Q.slice(1,3));var sa=F[0];F=F[1]}else Y&&(w=Q.x,F=Q.stackY,sa=F-Q.y);null!==u&&"undefined"!==typeof u&&null!==z&&"undefined"!==typeof z&&(Ha=F>=u&&F<=z);w>m&&L.x<m&&(L.x=w,L.y=F);w<h&&P.x>h&&(P.x=w,P.y=F);if(null!==F||!E)if(null!==F&&(Ha||ya||Ba)){if((ea>=h||w>=h)&&(X<=m||w<=m)&&(za=!0),za||ya||Ba){Aa&&w-X>Aa&&p();la&&(C=fa.rgba,la.some(function(a,d){d=la[d-1];if("undefined"!==typeof a.value&&F<=a.value){if(!d|| | ||
F>=d.value)C=I(a.color).rgba;return!0}return!1}),C[0]/=255,C[1]/=255,C[2]/=255);if(!B.useGPUTranslations&&(d.skipTranslation=!0,w=x.toPixels(w,!0),F=v.toPixels(F,!0),w>N&&"points"===d.drawMode))continue;d.hasMarkers&&za&&!1!==n&&(a.closestPointRangePx=Math.min(a.closestPointRangePx,Math.abs(w-n)));if(!B.useGPUTranslations&&!B.usePreallocated&&n&&1>Math.abs(w-n)&&J&&1>Math.abs(F-J))B.debug.showSkipSummary&&++O;else{if(Oa){n=sa;if(!1===sa||"undefined"===typeof sa)n=0>F?F:0;l||Y||(n=Math.max(null=== | ||
Ia?u:Ia,u));B.useGPUTranslations||(n=v.toPixels(n,!0));c(w,n,0,0,C)}A.step&&!Ca&&c(w,J,0,2,C);c(w,F,0,"bubble"===a.type?Ja||1:2,C);n=w;J=F;Ga=!0;Ca=!1}}}else p()}else p()}B.debug.showSkipSummary&&console.log("skipped points:",O);Ga||!1===E||"line_strip"!==a.drawMode||(P.x<Number.MAX_VALUE&&r(P,!0),L.x>-Number.MAX_VALUE&&r(L))}f()}}function y(){H=[];n.data=S=[];J=[];G&&G.destroy()}function N(a){d&&(d.setUniform("xAxisTrans",a.transA),d.setUniform("xAxisMin",a.min),d.setUniform("xAxisMinPad",a.minPixelPadding), | ||
d.setUniform("xAxisPointRange",a.pointRange),d.setUniform("xAxisLen",a.len),d.setUniform("xAxisPos",a.pos),d.setUniform("xAxisCVSCoord",!a.horiz),d.setUniform("xAxisIsLog",!!a.logarithmic),d.setUniform("xAxisReversed",!!a.reversed))}function D(a){d&&(d.setUniform("yAxisTrans",a.transA),d.setUniform("yAxisMin",a.min),d.setUniform("yAxisMinPad",a.minPixelPadding),d.setUniform("yAxisPointRange",a.pointRange),d.setUniform("yAxisLen",a.len),d.setUniform("yAxisPos",a.pos),d.setUniform("yAxisCVSCoord",!a.horiz), | ||
d.setUniform("yAxisIsLog",!!a.logarithmic),d.setUniform("yAxisReversed",!!a.reversed))}function a(a,b){d.setUniform("hasThreshold",a);d.setUniform("translatedThreshold",b)}function r(p){if(p)R=p.chartWidth||800,k=p.chartHeight||400;else return!1;if(!(g&&R&&k&&d))return!1;B.debug.timeRendering&&console.time("gl rendering");g.canvas.width=R;g.canvas.height=k;d.bind();g.viewport(0,0,R,k);d.setPMatrix([2/R,0,0,0,0,-(2/k),0,0,0,0,-2,0,-1,1,-1,1]);1<B.lineWidth&&!x.isMS&&g.lineWidth(B.lineWidth);G.build(n.data, | ||
"aVertexPosition",4);G.bind();d.setInverted(p.inverted);H.forEach(function(c,r){var l=c.series.options,e=l.marker;var q="undefined"!==typeof l.lineWidth?l.lineWidth:1;var A=l.threshold,y=m(A),z=c.series.yAxis.getThreshold(A);A=f(l.marker?l.marker.enabled:null,c.series.xAxis.isRadial?!0:null,c.series.closestPointRangePx>2*((l.marker?l.marker.radius:10)||10));e=W[e&&e.symbol||c.series.symbol]||W.circle;if(!(0===c.segments.length||c.segmentslength&&c.segments[0].from===c.segments[0].to)){e.isReady&& | ||
(g.bindTexture(g.TEXTURE_2D,e.handle),d.setTexture(e.handle));p.styledMode?e=c.series.markerGroup&&c.series.markerGroup.getStyle("fill"):(e="points"===c.drawMode&&c.series.pointAttribs&&c.series.pointAttribs().fill||c.series.color,l.colorByPoint&&(e=c.series.chart.options.colors[r]));c.series.fillOpacity&&l.fillOpacity&&(e=(new b(e)).setOpacity(f(l.fillOpacity,1)).get());e=I(e).rgba;B.useAlpha||(e[3]=1);"lines"===c.drawMode&&B.useAlpha&&1>e[3]&&(e[3]/=10);"add"===l.boostBlending?(g.blendFunc(g.SRC_ALPHA, | ||
g.ONE),g.blendEquation(g.FUNC_ADD)):"mult"===l.boostBlending||"multiply"===l.boostBlending?g.blendFunc(g.DST_COLOR,g.ZERO):"darken"===l.boostBlending?(g.blendFunc(g.ONE,g.ONE),g.blendEquation(g.FUNC_MIN)):g.blendFuncSeparate(g.SRC_ALPHA,g.ONE_MINUS_SRC_ALPHA,g.ONE,g.ONE_MINUS_SRC_ALPHA);d.reset();0<c.colorData.length&&(d.setUniform("hasColor",1),r=h(g,d),r.build(c.colorData,"aColor",4),r.bind());d.setColor(e);N(c.series.xAxis);D(c.series.yAxis);a(y,z);"points"===c.drawMode&&(l.marker&&m(l.marker.radius)? | ||
d.setPointSize(2*l.marker.radius):d.setPointSize(1));d.setSkipTranslation(c.skipTranslation);"bubble"===c.series.type&&d.setBubbleUniforms(c.series,c.zMin,c.zMax);d.setDrawAsCircle(L[c.series.type]||!1);if(0<q||"line_strip"!==c.drawMode)for(q=0;q<c.segments.length;q++)G.render(c.segments[q].from,c.segments[q].to,c.drawMode);if(c.hasMarkers&&A)for(l.marker&&m(l.marker.radius)?d.setPointSize(2*l.marker.radius):d.setPointSize(10),d.setDrawAsCircle(!0),q=0;q<c.segments.length;q++)G.render(c.segments[q].from, | ||
c.segments[q].to,"POINTS")}});B.debug.timeRendering&&console.timeEnd("gl rendering");c&&c();y()}function p(a){z();if(a.renderer.forExport)return r(a);P?r(a):setTimeout(function(){p(a)},1)}var d=!1,G=!1,ma=0,g=!1,R=0,k=0,S=!1,J=!1,n={},P=!1,H=[],W={},ha={column:!0,columnrange:!0,bar:!0,area:!0,arearange:!0},L={scatter:!0,bubble:!0},B={pointSize:1,lineWidth:1,fillColor:"#AA00AA",useAlpha:!0,usePreallocated:!1,useGPUTranslations:!1,debug:{timeRendering:!1,timeSeriesProcessing:!1,timeSetup:!1,timeBufferCopy:!1, | ||
timeKDTree:!1,showSkipSummary:!1}};return n={allocateBufferForSingleSeries:function(a){var d=0;B.usePreallocated&&(a.isSeriesBoosting&&(d=l(a)),G.allocate(d))},pushSeries:function(a){0<H.length&&H[H.length-1].hasMarkers&&(H[H.length-1].markerTo=J.length);B.debug.timeSeriesProcessing&&console.time("building "+a.type+" series");H.push({segments:[],markerFrom:J.length,colorData:[],series:a,zMin:Number.MAX_VALUE,zMax:-Number.MAX_VALUE,hasMarkers:a.options.marker?!1!==a.options.marker.enabled:!1,showMarkers:!0, | ||
drawMode:{area:"lines",arearange:"lines",areaspline:"line_strip",column:"lines",columnrange:"lines",bar:"lines",line:"line_strip",scatter:"points",heatmap:"triangles",treemap:"triangles",bubble:"points"}[a.type]||"line_strip"});M(a,H[H.length-1]);B.debug.timeSeriesProcessing&&console.timeEnd("building "+a.type+" series")},setSize:function(a,c){R===a&&k===c||!d||(R=a,k=c,d.bind(),d.setPMatrix([2/R,0,0,0,0,-(2/k),0,0,0,0,-2,0,-1,1,-1,1]))},inited:function(){return P},setThreshold:a,init:function(a, | ||
c){function b(a,d){var c={isReady:!1,texture:u.createElement("canvas"),handle:g.createTexture()},b=c.texture.getContext("2d");W[a]=c;c.texture.width=512;c.texture.height=512;b.mozImageSmoothingEnabled=!1;b.webkitImageSmoothingEnabled=!1;b.msImageSmoothingEnabled=!1;b.imageSmoothingEnabled=!1;b.strokeStyle="rgba(255, 255, 255, 0)";b.fillStyle="#FFF";d(b);try{g.activeTexture(g.TEXTURE0),g.bindTexture(g.TEXTURE_2D,c.handle),g.texImage2D(g.TEXTURE_2D,0,g.RGBA,g.RGBA,g.UNSIGNED_BYTE,c.texture),g.texParameteri(g.TEXTURE_2D, | ||
g.TEXTURE_WRAP_S,g.CLAMP_TO_EDGE),g.texParameteri(g.TEXTURE_2D,g.TEXTURE_WRAP_T,g.CLAMP_TO_EDGE),g.texParameteri(g.TEXTURE_2D,g.TEXTURE_MAG_FILTER,g.LINEAR),g.texParameteri(g.TEXTURE_2D,g.TEXTURE_MIN_FILTER,g.LINEAR),g.bindTexture(g.TEXTURE_2D,null),c.isReady=!0}catch(U){}}var p=0,f=["webgl","experimental-webgl","moz-webgl","webkit-3d"];P=!1;if(!a)return!1;for(B.debug.timeSetup&&console.time("gl setup");p<f.length&&!(g=a.getContext(f[p],{}));p++);if(g)c||y();else return!1;g.enable(g.BLEND);g.blendFunc(g.SRC_ALPHA, | ||
g.ONE_MINUS_SRC_ALPHA);g.disable(g.DEPTH_TEST);g.depthFunc(g.LESS);d=E(g);if(!d)return!1;G=h(g,d);b("circle",function(a){a.beginPath();a.arc(256,256,256,0,2*Math.PI);a.stroke();a.fill()});b("square",function(a){a.fillRect(0,0,512,512)});b("diamond",function(a){a.beginPath();a.moveTo(256,0);a.lineTo(512,256);a.lineTo(256,512);a.lineTo(0,256);a.lineTo(256,0);a.fill()});b("triangle",function(a){a.beginPath();a.moveTo(0,512);a.lineTo(256,0);a.lineTo(512,512);a.lineTo(0,512);a.fill()});b("triangle-down", | ||
function(a){a.beginPath();a.moveTo(0,0);a.lineTo(256,512);a.lineTo(512,0);a.lineTo(0,0);a.fill()});P=!0;B.debug.timeSetup&&console.timeEnd("gl setup");return!0},render:p,settings:B,valid:function(){return!1!==g},clear:z,flush:y,setXAxis:N,setYAxis:D,data:S,gl:function(){return g},allocateBuffer:function(a){var d=0;B.usePreallocated&&(a.series.forEach(function(a){a.isSeriesBoosting&&(d+=l(a))}),G.allocate(d))},destroy:function(){y();G.destroy();d.destroy();g&&(e(W,function(a){a.handle&&g.deleteTexture(a.handle)}), | ||
g.canvas.width=1,g.canvas.height=1)},setOptions:function(a){v(!0,B,a)}}}});n(b,"Extensions/Boost/BoostAttach.js",[b["Core/Chart/Chart.js"],b["Extensions/Boost/WGLRenderer.js"],b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,n,h,x){var c=h.doc,k=x.error,u;return function(m,h){var v=m.chartWidth,e=m.chartHeight,f=m,l=m.seriesGroup||h.group,q=c.implementation.hasFeature("www.http://w3.org/TR/SVG11/feature#Extensibility","1.1");f=m.isChartSeriesBoosting()?m:h;q=!1;u||(u=c.createElement("canvas")); | ||
f.renderTarget||(f.canvas=u,m.renderer.forExport||!q?(f.renderTarget=m.renderer.image("",0,0,v,e).addClass("highcharts-boost-canvas").add(l),f.boostClear=function(){f.renderTarget.attr({href:""})},f.boostCopy=function(){f.boostResizeTarget();f.renderTarget.attr({href:f.canvas.toDataURL("image/png")})}):(f.renderTargetFo=m.renderer.createElement("foreignObject").add(l),f.renderTarget=c.createElement("canvas"),f.renderTargetCtx=f.renderTarget.getContext("2d"),f.renderTargetFo.element.appendChild(f.renderTarget), | ||
f.boostClear=function(){f.renderTarget.width=f.canvas.width;f.renderTarget.height=f.canvas.height},f.boostCopy=function(){f.renderTarget.width=f.canvas.width;f.renderTarget.height=f.canvas.height;f.renderTargetCtx.drawImage(f.canvas,0,0)}),f.boostResizeTarget=function(){v=m.chartWidth;e=m.chartHeight;(f.renderTargetFo||f.renderTarget).attr({x:0,y:0,width:v,height:e}).css({pointerEvents:"none",mixedBlendMode:"normal",opacity:1});f instanceof b&&f.markerGroup.translate(m.plotLeft,m.plotTop)},f.boostClipRect= | ||
m.renderer.clipRect(),(f.renderTargetFo||f.renderTarget).clip(f.boostClipRect),f instanceof b&&(f.markerGroup=f.renderer.g().add(l),f.markerGroup.translate(h.xAxis.pos,h.yAxis.pos)));f.canvas.width=v;f.canvas.height=e;f.boostClipRect.attr(m.getBoostClipRect(f));f.boostResizeTarget();f.boostClear();f.ogl||(f.ogl=n(function(){f.ogl.settings.debug.timeBufferCopy&&console.time("buffer copy");f.boostCopy();f.ogl.settings.debug.timeBufferCopy&&console.timeEnd("buffer copy")}),f.ogl.init(f.canvas)||k("[highcharts boost] - unable to init WebGL renderer"), | ||
f.ogl.setOptions(m.options.boost||{}),f instanceof b&&f.ogl.allocateBuffer(m));f.ogl.setSize(v,e);return f.ogl}});n(b,"Extensions/Boost/BoostUtils.js",[b["Core/Globals.js"],b["Extensions/Boost/BoostableMap.js"],b["Extensions/Boost/BoostAttach.js"],b["Core/Utilities.js"]],function(b,n,h,x){function c(){for(var b=[],c=0;c<arguments.length;c++)b[c]=arguments[c];var f=-Number.MAX_VALUE;b.forEach(function(b){if("undefined"!==typeof b&&null!==b&&"undefined"!==typeof b.length&&0<b.length)return f=b.length, | ||
!0});return f}function k(b,c,f){b&&c.renderTarget&&c.canvas&&!(f||c.chart).isChartSeriesBoosting()&&b.render(f||c.chart)}function u(b,c){b&&c.renderTarget&&c.canvas&&!c.chart.isChartSeriesBoosting()&&b.allocateBufferForSingleSeries(c)}function m(b,c,f,e,h,k){h=h||0;e=e||3E3;for(var D=h+e,a=!0;a&&h<D&&h<b.length;)a=c(b[h],h),++h;a&&(h<b.length?k?m(b,c,f,e,h,k):v.requestAnimationFrame?v.requestAnimationFrame(function(){m(b,c,f,e,h)}):setTimeout(function(){m(b,c,f,e,h)}):f&&f())}function t(){var b=0, | ||
c,f=["webgl","experimental-webgl","moz-webgl","webkit-3d"],h=!1;if("undefined"!==typeof v.WebGLRenderingContext)for(c=e.createElement("canvas");b<f.length;b++)try{if(h=c.getContext(f[b]),"undefined"!==typeof h&&null!==h)return!0}catch(y){}return!1}var v=b.win,e=b.doc,f=x.pick;x={patientMax:c,boostEnabled:function(b){return f(b&&b.options&&b.options.boost&&b.options.boost.enabled,!0)},shouldForceChartSeriesBoosting:function(b){var e=0,h=0,m=f(b.options.boost&&b.options.boost.allowForce,!0);if("undefined"!== | ||
typeof b.boostForceChartBoost)return b.boostForceChartBoost;if(1<b.series.length)for(var l=0;l<b.series.length;l++){var k=b.series[l];0!==k.options.boostThreshold&&!1!==k.visible&&"heatmap"!==k.type&&(n[k.type]&&++h,c(k.processedXData,k.options.data,k.points)>=(k.options.boostThreshold||Number.MAX_VALUE)&&++e)}b.boostForceChartBoost=m&&(h===b.series.length&&0<e||5<e);return b.boostForceChartBoost},renderIfNotSeriesBoosting:k,allocateIfNotSeriesBoosting:u,eachAsync:m,hasWebGLSupport:t,pointDrawHandler:function(b){var c= | ||
!0;this.chart.options&&this.chart.options.boost&&(c="undefined"===typeof this.chart.options.boost.enabled?!0:this.chart.options.boost.enabled);if(!c||!this.isSeriesBoosting)return b.call(this);this.chart.isBoosting=!0;if(b=h(this.chart,this))u(b,this),b.pushSeries(this);k(b,this)}};b.hasWebGLSupport=t;return x});n(b,"Extensions/Boost/BoostInit.js",[b["Core/Chart/Chart.js"],b["Core/Globals.js"],b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"],b["Extensions/Boost/BoostUtils.js"], | ||
b["Extensions/Boost/BoostAttach.js"]],function(b,n,h,x,c,k,u){var m=n.noop,t=x.seriesTypes,v=c.addEvent,e=c.extend,f=c.fireEvent,l=c.wrap,q=k.eachAsync,z=k.pointDrawHandler,I=k.allocateIfNotSeriesBoosting,y=k.renderIfNotSeriesBoosting,E=k.shouldForceChartSeriesBoosting,D;return function(){e(h.prototype,{renderCanvas:function(){function a(a,b){var c=!1,d="undefined"===typeof h.index,f=!0;if(!d){if(ja){var e=a[0];var p=a[1]}else e=a,p=n[b];Z?(ja&&(p=a.slice(1,3)),c=p[0],p=p[1]):ia&&(e=a.x,p=a.stackY, | ||
c=p-a.y);ta||(f=p>=z&&p<=E);if(null!==p&&e>=t&&e<=x&&f)if(a=g.toPixels(e,!0),B){if("undefined"===typeof U||a===L){Z||(c=p);if("undefined"===typeof ca||p>ba)ba=p,ca=b;if("undefined"===typeof U||c<T)T=c,U=b}a!==L&&("undefined"!==typeof U&&(p=l.toPixels(ba,!0),M=l.toPixels(T,!0),da(a,p,ca),M!==p&&da(a,M,U)),U=ca=void 0,L=a)}else p=Math.ceil(l.toPixels(p,!0)),da(a,p,b)}return!d}function b(){f(c,"renderedCanvas");delete c.buildKDTree;c.buildKDTree();qa.debug.timeKDTree&&console.timeEnd("kd tree building")} | ||
var c=this,d=c.options||{},e=!1,h=c.chart,g=this.xAxis,l=this.yAxis,k=d.xData||c.processedXData,n=d.yData||c.processedYData,v=d.data;e=g.getExtremes();var t=e.min,x=e.max;e=l.getExtremes();var z=e.min,E=e.max,N={},L,B=!!c.sampling,A=!1!==d.enableMouseTracking,M=l.getThreshold(d.threshold),Z=c.pointArrayMap&&"low,high"===c.pointArrayMap.join(","),ia=!!d.stacking,na=c.cropStart||0,ta=c.requireSorting,ja=!k,T,ba,U,ca,pa="x"===d.findNearestPointBy,ka=this.xData||this.options.xData||this.processedXData|| | ||
!1,da=function(a,b,c){a=Math.ceil(a);D=pa?a:a+","+b;A&&!N[D]&&(N[D]=!0,h.inverted&&(a=g.len-a,b=l.len-b),ra.push({x:ka?ka[na+c]:!1,clientX:a,plotX:a,plotY:b,i:na+c}))};e=u(h,c);h.isBoosting=!0;var qa=e.settings;if(this.visible){(this.points||this.graph)&&this.destroyGraphics();h.isChartSeriesBoosting()?(this.markerGroup&&this.markerGroup!==h.markerGroup&&this.markerGroup.destroy(),this.markerGroup=h.markerGroup,this.renderTarget&&(this.renderTarget=this.renderTarget.destroy())):(this.markerGroup=== | ||
h.markerGroup&&(this.markerGroup=void 0),this.markerGroup=c.plotGroup("markerGroup","markers",!0,1,h.seriesGroup));var ra=this.points=[];c.buildKDTree=m;e&&(I(e,this),e.pushSeries(c),y(e,this,h));h.renderer.forExport||(qa.debug.timeKDTree&&console.time("kd tree building"),q(ia?c.data:k||v,a,b))}}});["heatmap","treemap"].forEach(function(a){t[a]&&l(t[a].prototype,"drawPoints",z)});t.bubble&&(delete t.bubble.prototype.buildKDTree,l(t.bubble.prototype,"markerAttribs",function(a){return this.isSeriesBoosting? | ||
!1:a.apply(this,[].slice.call(arguments,1))}));t.scatter.prototype.fill=!0;e(t.area.prototype,{fill:!0,fillOpacity:!0,sampling:!0});e(t.column.prototype,{fill:!0,sampling:!0});b.prototype.propsRequireUpdateSeries.push("boost");b.prototype.callbacks.push(function(a){v(a,"predraw",function(){a.boostForceChartBoost=void 0;a.boostForceChartBoost=E(a);a.isBoosting=!1;!a.isChartSeriesBoosting()&&a.didBoost&&(a.didBoost=!1);a.boostClear&&a.boostClear();a.canvas&&a.ogl&&a.isChartSeriesBoosting()&&(a.didBoost= | ||
!0,a.ogl.allocateBuffer(a));a.markerGroup&&a.xAxis&&0<a.xAxis.length&&a.yAxis&&0<a.yAxis.length&&a.markerGroup.translate(a.xAxis[0].pos,a.yAxis[0].pos)});v(a,"render",function(){a.ogl&&a.isChartSeriesBoosting()&&a.ogl.render(a)})})}});n(b,"Extensions/BoostCanvas.js",[b["Core/Chart/Chart.js"],b["Core/Color/Color.js"],b["Core/Globals.js"],b["Core/Color/Palette.js"],b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"]],function(b,n,h,x,c,k,u){var m=n.parse,t=h.doc,v=h.noop, | ||
e=k.seriesTypes,f=u.addEvent,l=u.extend,q=u.fireEvent,z=u.isNumber,I=u.merge,y=u.pick,E=u.wrap,D;return function(){h.seriesTypes.heatmap&&E(h.seriesTypes.heatmap.prototype,"drawPoints",function(){var a=this.chart,b=this.getContext(),c=this.chart.inverted,d=this.xAxis,f=this.yAxis;b?(this.points.forEach(function(e){var g=e.plotY;"undefined"===typeof g||isNaN(g)||null===e.y||(g=e.shapeArgs,e=a.styledMode?e.series.colorAttribs(e):e.series.pointAttribs(e),b.fillStyle=e.fill,c?b.fillRect(f.len-g.y+d.left, | ||
d.len-g.x+f.top,-g.height,-g.width):b.fillRect(g.x+d.left,g.y+f.top,g.width,g.height))}),this.canvasToSVG()):this.chart.showLoading("Your browser doesn't support HTML5 canvas, <br>please use a modern browser")});l(c.prototype,{getContext:function(){var a=this.chart,b=a.chartWidth,c=a.chartHeight,d=a.seriesGroup||this.group,e=this,f=function(a,b,c,d,e,f,g){a.call(this,c,b,d,e,f,g)};a.isChartSeriesBoosting()&&(e=a,d=a.seriesGroup);var g=e.ctx;e.canvas||(e.canvas=t.createElement("canvas"),e.renderTarget= | ||
a.renderer.image("",0,0,b,c).addClass("highcharts-boost-canvas").add(d),e.ctx=g=e.canvas.getContext("2d"),a.inverted&&["moveTo","lineTo","rect","arc"].forEach(function(a){E(g,a,f)}),e.boostCopy=function(){e.renderTarget.attr({href:e.canvas.toDataURL("image/png")})},e.boostClear=function(){g.clearRect(0,0,e.canvas.width,e.canvas.height);e===this&&e.renderTarget.attr({href:""})},e.boostClipRect=a.renderer.clipRect(),e.renderTarget.clip(e.boostClipRect));e.canvas.width!==b&&(e.canvas.width=b);e.canvas.height!== | ||
c&&(e.canvas.height=c);e.renderTarget.attr({x:0,y:0,width:b,height:c,style:"pointer-events: none",href:""});e.boostClipRect.attr(a.getBoostClipRect(e));return g},canvasToSVG:function(){this.chart.isChartSeriesBoosting()?this.boostClear&&this.boostClear():(this.boostCopy||this.chart.boostCopy)&&(this.boostCopy||this.chart.boostCopy)()},cvsLineTo:function(a,b,c){a.lineTo(b,c)},renderCanvas:function(){var a=this,b=a.options,c=a.chart,d=this.xAxis,e=this.yAxis,k=(c.options.boost||{}).timeRendering||!1, | ||
g=0,t=a.processedXData,E=a.processedYData,N=b.data,J=d.getExtremes(),M=J.min,P=J.max;J=e.getExtremes();var H=J.min,W=J.max,ha={},L,B=!!a.sampling,A=b.marker&&b.marker.radius,Y=this.cvsDrawPoint,Z=b.lineWidth?this.cvsLineTo:void 0,ia=A&&1>=A?this.cvsMarkerSquare:this.cvsMarkerCircle,na=this.cvsStrokeBatch||1E3,ta=!1!==b.enableMouseTracking,ja;J=b.threshold;var T=e.getThreshold(J),ba=z(J),U=T,ca=this.fill,pa=a.pointArrayMap&&"low,high"===a.pointArrayMap.join(","),ka=!!b.stacking,da=a.cropStart||0;J= | ||
c.options.loading;var qa=a.requireSorting,ra,Ka=b.connectNulls,Da=!t,ua,va,aa,oa,wa,V=ka?a.data:t||N,La=a.fillOpacity?(new n(a.color)).setOpacity(y(b.fillOpacity,.75)).get():a.color,w=function(){ca?(O.fillStyle=La,O.fill()):(O.strokeStyle=a.color,O.lineWidth=b.lineWidth,O.stroke())},Ea=function(b,d,e,f){0===g&&(O.beginPath(),Z&&(O.lineJoin="round"));c.scroller&&"highcharts-navigator-series"===a.options.className?(d+=c.scroller.top,e&&(e+=c.scroller.top)):d+=c.plotTop;b+=c.plotLeft;ra?O.moveTo(b,d): | ||
Y?Y(O,b,d,e,ja):Z?Z(O,b,d):ia&&ia.call(a,O,b,d,A,f);g+=1;g===na&&(w(),g=0);ja={clientX:b,plotY:d,yBottom:e}},Ma="x"===b.findNearestPointBy,Fa=this.xData||this.options.xData||this.processedXData||!1,xa=function(a,b,f){wa=Ma?a:a+","+b;ta&&!ha[wa]&&(ha[wa]=!0,c.inverted&&(a=d.len-a,b=e.len-b),Na.push({x:Fa?Fa[da+f]:!1,clientX:a,plotX:a,plotY:b,i:da+f}))};this.renderTarget&&this.renderTarget.attr({href:""});(this.points||this.graph)&&this.destroyGraphics();a.plotGroup("group","series",a.visible?"visible": | ||
"hidden",b.zIndex,c.seriesGroup);a.markerGroup=a.group;f(a,"destroy",function(){a.markerGroup=null});var Na=this.points=[];var O=this.getContext();a.buildKDTree=v;this.boostClear&&this.boostClear();this.visible&&(99999<N.length&&(c.options.loading=I(J,{labelStyle:{backgroundColor:m(x.backgroundColor).setOpacity(.75).get(),padding:"1em",borderRadius:"0.5em"},style:{backgroundColor:"none",opacity:1}}),u.clearTimeout(D),c.showLoading("Drawing..."),c.options.loading=J),k&&console.time("canvas rendering"), | ||
h.eachAsync(V,function(b,f){var g=!1,p=!1,D=!1,h=!1,l="undefined"===typeof c.index,m=!0;if(!l){if(Da){var k=b[0];var r=b[1];V[f+1]&&(D=V[f+1][0]);V[f-1]&&(h=V[f-1][0])}else k=b,r=E[f],V[f+1]&&(D=V[f+1]),V[f-1]&&(h=V[f-1]);D&&D>=M&&D<=P&&(g=!0);h&&h>=M&&h<=P&&(p=!0);if(pa){Da&&(r=b.slice(1,3));var n=r[0];r=r[1]}else ka&&(k=b.x,r=b.stackY,n=r-b.y);b=null===r;qa||(m=r>=H&&r<=W);if(!b&&(k>=M&&k<=P&&m||g||p))if(k=Math.round(d.toPixels(k,!0)),B){if("undefined"===typeof aa||k===L){pa||(n=r);if("undefined"=== | ||
typeof oa||r>va)va=r,oa=f;if("undefined"===typeof aa||n<ua)ua=n,aa=f}k!==L&&("undefined"!==typeof aa&&(r=e.toPixels(va,!0),T=e.toPixels(ua,!0),Ea(k,ba?Math.min(r,U):r,ba?Math.max(T,U):T,f),xa(k,r,oa),T!==r&&xa(k,T,aa)),aa=oa=void 0,L=k)}else r=Math.round(e.toPixels(r,!0)),Ea(k,r,T,f),xa(k,r,f);ra=b&&!Ka;0===f%5E4&&(a.boostCopy||a.chart.boostCopy)&&(a.boostCopy||a.chart.boostCopy)()}return!l},function(){var b=c.loadingDiv,d=c.loadingShown;w();a.canvasToSVG();k&&console.timeEnd("canvas rendering"); | ||
q(a,"renderedCanvas");d&&(l(b.style,{transition:"opacity 250ms",opacity:0}),c.loadingShown=!1,D=setTimeout(function(){b.parentNode&&b.parentNode.removeChild(b);c.loadingDiv=c.loadingSpan=null},250));delete a.buildKDTree;a.buildKDTree()},c.renderer.forExport?Number.MAX_VALUE:void 0))}});e.scatter.prototype.cvsMarkerCircle=function(a,b,c,d){a.moveTo(b,c);a.arc(b,c,d,0,2*Math.PI,!1)};e.scatter.prototype.cvsMarkerSquare=function(a,b,c,d){a.rect(b-d,c-d,2*d,2*d)};e.scatter.prototype.fill=!0;e.bubble&& | ||
(e.bubble.prototype.cvsMarkerCircle=function(a,b,c,d,e){a.moveTo(b,c);a.arc(b,c,this.radii&&this.radii[e],0,2*Math.PI,!1)},e.bubble.prototype.cvsStrokeBatch=1);l(e.area.prototype,{cvsDrawPoint:function(a,b,c,d,e){e&&b!==e.clientX&&(a.moveTo(e.clientX,e.yBottom),a.lineTo(e.clientX,e.plotY),a.lineTo(b,c),a.lineTo(b,d))},fill:!0,fillOpacity:!0,sampling:!0});l(e.column.prototype,{cvsDrawPoint:function(a,b,c,d){a.rect(b-1,c,1,d-c)},fill:!0,sampling:!0});b.prototype.callbacks.push(function(a){f(a,"predraw", | ||
function(){a.renderTarget&&a.renderTarget.attr({href:""});a.canvas&&a.canvas.getContext("2d").clearRect(0,0,a.canvas.width,a.canvas.height)});f(a,"render",function(){a.boostCopy&&a.boostCopy()})})}});n(b,"Extensions/Boost/BoostOverrides.js",[b["Core/Chart/Chart.js"],b["Core/Series/Point.js"],b["Core/Series/Series.js"],b["Core/Series/SeriesRegistry.js"],b["Core/Utilities.js"],b["Extensions/Boost/BoostUtils.js"],b["Extensions/Boost/Boostables.js"],b["Extensions/Boost/BoostableMap.js"]],function(b,n, | ||
h,x,c,k,u,m){var t=x.seriesTypes;x=c.addEvent;var v=c.error,e=c.getOptions,f=c.isArray,l=c.isNumber,q=c.pick,z=c.wrap,I=k.boostEnabled,y=k.shouldForceChartSeriesBoosting,E=e().plotOptions;b.prototype.isChartSeriesBoosting=function(){return q(this.options.boost&&this.options.boost.seriesThreshold,50)<=this.series.length||y(this)};b.prototype.getBoostClipRect=function(b){var a={x:this.plotLeft,y:this.plotTop,width:this.plotWidth,height:this.plotHeight};b===this&&(b=this.inverted?this.xAxis:this.yAxis, | ||
1>=b.length?(a.y=Math.min(b[0].pos,a.y),a.height=b[0].pos-this.plotTop+b[0].len):a.height=this.plotHeight);return a};h.prototype.getPoint=function(b){var a=b,c=this.xData||this.options.xData||this.processedXData||!1;!b||b instanceof this.pointClass||(a=(new this.pointClass).init(this,this.options.data[b.i],c?c[b.i]:void 0),a.category=q(this.xAxis.categories?this.xAxis.categories[a.x]:a.x,a.x),a.dist=b.dist,a.distX=b.distX,a.plotX=b.plotX,a.plotY=b.plotY,a.index=b.i,a.isInside=this.isPointInside(b)); | ||
return a};z(h.prototype,"searchPoint",function(b){return this.getPoint(b.apply(this,[].slice.call(arguments,1)))});z(n.prototype,"haloPath",function(b){var a=this.series,c=this.plotX,e=this.plotY,d=a.chart.inverted;a.isSeriesBoosting&&d&&(this.plotX=a.yAxis.len-e,this.plotY=a.xAxis.len-c);var f=b.apply(this,Array.prototype.slice.call(arguments,1));a.isSeriesBoosting&&d&&(this.plotX=c,this.plotY=e);return f});z(h.prototype,"markerAttribs",function(b,a){var c=a.plotX,e=a.plotY,d=this.chart.inverted; | ||
this.isSeriesBoosting&&d&&(a.plotX=this.yAxis.len-e,a.plotY=this.xAxis.len-c);var f=b.apply(this,Array.prototype.slice.call(arguments,1));this.isSeriesBoosting&&d&&(a.plotX=c,a.plotY=e);return f});x(h,"destroy",function(){var b=this,a=b.chart;a.markerGroup===b.markerGroup&&(b.markerGroup=null);a.hoverPoints&&(a.hoverPoints=a.hoverPoints.filter(function(a){return a.series===b}));a.hoverPoint&&a.hoverPoint.series===b&&(a.hoverPoint=null)});z(h.prototype,"getExtremes",function(b){return this.isSeriesBoosting&& | ||
this.hasExtremes&&this.hasExtremes()?{}:b.apply(this,Array.prototype.slice.call(arguments,1))});["translate","generatePoints","drawTracker","drawPoints","render"].forEach(function(b){function a(a){var c=this.options.stacking&&("translate"===b||"generatePoints"===b);if(!this.isSeriesBoosting||c||!I(this.chart)||"heatmap"===this.type||"treemap"===this.type||!m[this.type]||0===this.options.boostThreshold)a.call(this);else if(this[b+"Canvas"])this[b+"Canvas"]()}z(h.prototype,b,a);"translate"===b&&"column bar arearange columnrange heatmap treemap".split(" ").forEach(function(c){t[c]&& | ||
z(t[c].prototype,b,a)})});z(h.prototype,"processData",function(b){function a(a){return c.chart.isChartSeriesBoosting()||(a?a.length:0)>=(c.options.boostThreshold||Number.MAX_VALUE)}var c=this,e=this.options.data;I(this.chart)&&m[this.type]?(a(e)&&"heatmap"!==this.type&&"treemap"!==this.type&&!this.options.stacking&&this.hasExtremes&&this.hasExtremes(!0)||(b.apply(this,Array.prototype.slice.call(arguments,1)),e=this.processedXData),(this.isSeriesBoosting=a(e))?(e=this.getFirstValidPoint(this.options.data), | ||
l(e)||f(e)||v(12,!1,this.chart),this.enterBoost()):this.exitBoost&&this.exitBoost()):b.apply(this,Array.prototype.slice.call(arguments,1))});x(h,"hide",function(){this.canvas&&this.renderTarget&&(this.ogl&&this.ogl.clear(),this.boostClear())});h.prototype.enterBoost=function(){this.alteredByBoost=[];["allowDG","directTouch","stickyTracking"].forEach(function(b){this.alteredByBoost.push({prop:b,val:this[b],own:Object.hasOwnProperty.call(this,b)})},this);this.directTouch=this.allowDG=!1;this.finishedAnimating= | ||
this.stickyTracking=!0;this.labelBySeries&&(this.labelBySeries=this.labelBySeries.destroy())};h.prototype.exitBoost=function(){(this.alteredByBoost||[]).forEach(function(b){b.own?this[b.prop]=b.val:delete this[b.prop]},this);this.boostClear&&this.boostClear()};h.prototype.hasExtremes=function(b){var a=this.options,c=this.xAxis&&this.xAxis.options,e=this.yAxis&&this.yAxis.options,d=this.colorAxis&&this.colorAxis.options;return a.data.length>(a.boostThreshold||Number.MAX_VALUE)&&l(e.min)&&l(e.max)&& | ||
(!b||l(c.min)&&l(c.max))&&(!d||l(d.min)&&l(d.max))};h.prototype.destroyGraphics=function(){var b=this,a=this,c=this.points,e,d;if(c)for(d=0;d<c.length;d+=1)(e=c[d])&&e.destroyElements&&e.destroyElements();["graph","area","tracker"].forEach(function(b){a[b]&&(a[b]=a[b].destroy())});this.getZonesGraphs&&this.getZonesGraphs([["graph","highcharts-graph"]]).forEach(function(a){var c=b[a[0]];c&&(b[a[0]]=c.destroy())})};u.forEach(function(b){E[b]&&(E[b].boostThreshold=5E3,E[b].boostData=[],t[b].prototype.fillOpacity= | ||
!0)})});n(b,"Extensions/Boost/NamedColors.js",[b["Core/Color/Color.js"]],function(b){var n={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b", | ||
darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",feldspar:"#d19275",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22", | ||
fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a", | ||
lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslateblue:"#8470ff",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1", | ||
moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57", | ||
seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",violetred:"#d02090",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};return b.names=n});n(b,"Extensions/Boost/Boost.js",[b["Extensions/Boost/BoostUtils.js"],b["Extensions/Boost/BoostInit.js"], | ||
b["Extensions/BoostCanvas.js"],b["Core/Utilities.js"]],function(b,n,h,x){x=x.error;b=b.hasWebGLSupport;b()?n():"undefined"!==typeof h?h():x(26)});n(b,"masters/modules/boost.src.js",[],function(){})}); | ||
//# sourceMappingURL=boost.js.map |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
(c) 2009-2019 Torstein Honsi | ||
(c) 2009-2021 Torstein Honsi | ||
@@ -6,0 +6,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -6,0 +6,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Bullet graph series type for Highcharts | ||
(c) 2010-2019 Kacper Madej | ||
(c) 2010-2021 Kacper Madej | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* Bullet graph series type for Highcharts | ||
* | ||
* (c) 2010-2019 Kacper Madej | ||
* (c) 2010-2021 Kacper Madej | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
ColorAxis module | ||
(c) 2012-2019 Pawel Potaczek | ||
(c) 2012-2021 Pawel Potaczek | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* ColorAxis module | ||
* | ||
* (c) 2012-2019 Pawel Potaczek | ||
* (c) 2012-2021 Pawel Potaczek | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts Gantt JS v9.0.0 (2021-02-02) | ||
Highcharts Gantt JS v9.0.1 (2021-02-15) | ||
CurrentDateIndicator | ||
(c) 2010-2019 Lars A. V. Cabrera | ||
(c) 2010-2021 Lars A. V. Cabrera | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts Gantt JS v9.0.0 (2021-02-02) | ||
* @license Highcharts Gantt JS v9.0.1 (2021-02-16) | ||
* | ||
* CurrentDateIndicator | ||
* | ||
* (c) 2010-2019 Lars A. V. Cabrera | ||
* (c) 2010-2021 Lars A. V. Cabrera | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Highcharts cylinder module | ||
(c) 2010-2019 Kacper Madej | ||
(c) 2010-2021 Kacper Madej | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* Highcharts cylinder module | ||
* | ||
* (c) 2010-2019 Kacper Madej | ||
* (c) 2010-2021 Kacper Madej | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Data module | ||
(c) 2012-2019 Torstein Honsi | ||
(c) 2012-2021 Torstein Honsi | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Data grouping module | ||
(c) 2010-2019 Torstein Hnsi | ||
(c) 2010-2021 Torstein Hnsi | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Data grouping module | ||
* | ||
* (c) 2010-2019 Torstein Hønsi | ||
* (c) 2010-2021 Torstein Hønsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Debugger module | ||
(c) 2012-2019 Torstein Honsi | ||
(c) 2012-2021 Torstein Honsi | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* Debugger module | ||
* | ||
* (c) 2012-2019 Torstein Honsi | ||
* (c) 2012-2021 Torstein Honsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Dependency wheel module | ||
(c) 2010-2018 Torstein Honsi | ||
(c) 2010-2021 Torstein Honsi | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* Dependency wheel module | ||
* | ||
* (c) 2010-2018 Torstein Honsi | ||
* (c) 2010-2021 Torstein Honsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Dot plot series type for Highcharts | ||
(c) 2010-2019 Torstein Honsi | ||
(c) 2010-2021 Torstein Honsi | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* Dot plot series type for Highcharts | ||
* | ||
* (c) 2010-2019 Torstein Honsi | ||
* (c) 2010-2021 Torstein Honsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Drag-panes module | ||
(c) 2010-2019 Highsoft AS | ||
(c) 2010-2021 Highsoft AS | ||
Author: Kacper Madej | ||
@@ -8,0 +8,0 @@ |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Drag-panes module | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* Author: Kacper Madej | ||
@@ -8,0 +8,0 @@ * |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
(c) 2009-2019 Torstein Honsi | ||
(c) 2009-2021 Torstein Honsi | ||
@@ -6,0 +6,0 @@ License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
@@ -4,0 +4,0 @@ Highcharts Drilldown module |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
@@ -4,0 +4,0 @@ * Highcharts Drilldown module |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
(c) 2009-2019 Sebastian Bochan, Rafal Sebestjanski | ||
(c) 2009-2021 Sebastian Bochan, Rafal Sebestjanski | ||
@@ -6,0 +6,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* (c) 2009-2019 Sebastian Bochan, Rafal Sebestjanski | ||
* (c) 2009-2021 Sebastian Bochan, Rafal Sebestjanski | ||
* | ||
@@ -6,0 +6,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Exporting module | ||
(c) 2010-2019 Torstein Honsi | ||
(c) 2010-2021 Torstein Honsi | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* Exporting module | ||
* | ||
* (c) 2010-2019 Torstein Honsi | ||
* (c) 2010-2021 Torstein Honsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Exporting module | ||
(c) 2010-2019 Torstein Honsi | ||
(c) 2010-2021 Torstein Honsi | ||
License: www.highcharts.com/license | ||
*/ | ||
(function(e){"object"===typeof module&&module.exports?(e["default"]=e,module.exports=e):"function"===typeof define&&define.amd?define("highcharts/modules/exporting",["highcharts"],function(q){e(q);e.Highcharts=q;return e}):e("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(e){function q(e,k,g,l){e.hasOwnProperty(k)||(e[k]=l.apply(null,g))}e=e?e._modules:{};q(e,"Extensions/FullScreen.js",[e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Utilities.js"]], | ||
function(e,k,g,l){var m=l.addEvent;l=function(){function e(f){this.chart=f;this.isOpen=!1;f=f.renderTo;this.browserProps||("function"===typeof f.requestFullscreen?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:f.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:f.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange", | ||
requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:f.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}e.prototype.close=function(){var f=this.chart;if(this.isOpen&&this.browserProps&&f.container.ownerDocument instanceof Document)f.container.ownerDocument[this.browserProps.exitFullscreen]();this.unbindFullscreenEvent&&this.unbindFullscreenEvent();this.isOpen=!1; | ||
this.setButtonText()};e.prototype.open=function(){var f=this,e=f.chart;if(f.browserProps){f.unbindFullscreenEvent=m(e.container.ownerDocument,f.browserProps.fullscreenChange,function(){f.isOpen?(f.isOpen=!1,f.close()):(f.isOpen=!0,f.setButtonText())});var g=e.renderTo[f.browserProps.requestFullscreen]();if(g)g["catch"](function(){alert("Full screen is not supported inside a frame.")});m(e,"destroy",f.unbindFullscreenEvent)}};e.prototype.setButtonText=function(){var f,e=this.chart,l=e.exportDivElements, | ||
k=e.options.exporting,m=null===(f=null===k||void 0===k?void 0:k.buttons)||void 0===f?void 0:f.contextButton.menuItems;f=e.options.lang;(null===k||void 0===k?0:k.menuItemDefinitions)&&(null===f||void 0===f?0:f.exitFullscreen)&&f.viewFullscreen&&m&&l&&l.length&&g.setElementHTML(l[m.indexOf("viewFullscreen")],this.isOpen?f.exitFullscreen:k.menuItemDefinitions.viewFullscreen.text||f.viewFullscreen)};e.prototype.toggle=function(){this.isOpen?this.close():this.open()};return e}();k.Fullscreen=l;m(e,"beforeRender", | ||
function(){this.fullscreen=new k.Fullscreen(this)});return k.Fullscreen});q(e,"Mixins/Navigation.js",[],function(){return{initUpdate:function(e){e.navigation||(e.navigation={updates:[],update:function(e,g){this.updates.forEach(function(k){k.update.call(k.context,e,g)})}})},addUpdate:function(e,k){k.navigation||this.initUpdate(k);k.navigation.updates.push({update:e,context:k})}}});q(e,"Extensions/Exporting.js",[e["Core/Chart/Chart.js"],e["Mixins/Navigation.js"],e["Core/Globals.js"],e["Core/Options.js"], | ||
e["Core/Color/Palette.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(e,k,g,l,m,q,f){var w=g.doc,G=g.isTouchDevice,B=g.win;l=l.defaultOptions;var y=f.addEvent,r=f.css,z=f.createElement,E=f.discardElement,A=f.extend,H=f.find,D=f.fireEvent,I=f.isObject,u=f.merge,F=f.objectEach,t=f.pick,J=f.removeEvent,K=f.uniqueKey;A(l.lang,{viewFullscreen:"View in full screen",exitFullscreen:"Exit from full screen",printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image", | ||
downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"});l.navigation||(l.navigation={});u(!0,l.navigation,{buttonOptions:{theme:{},symbolSize:14,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,verticalAlign:"top",width:24}});u(!0,l.navigation,{menuStyle:{border:"1px solid "+m.neutralColor40,background:m.backgroundColor,padding:"5px 0"},menuItemStyle:{padding:"0.5em 1em",color:m.neutralColor80,background:"none",fontSize:G? | ||
"14px":"11px",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:m.highlightColor80,color:m.backgroundColor},buttonOptions:{symbolFill:m.neutralColor60,symbolStroke:m.neutralColor60,symbolStrokeWidth:3,theme:{padding:5}}});l.exporting={type:"image/png",url:"https://export.highcharts.com/",printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"menu",titleKey:"contextButtonTitle",menuItems:"viewFullscreen printChart separator downloadPNG downloadJPEG downloadPDF downloadSVG".split(" ")}}, | ||
menuItemDefinitions:{viewFullscreen:{textKey:"viewFullscreen",onclick:function(){this.fullscreen.toggle()}},printChart:{textKey:"printChart",onclick:function(){this.print()}},separator:{separator:!0},downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChart()}},downloadJPEG:{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},downloadSVG:{textKey:"downloadSVG", | ||
onclick:function(){this.exportChart({type:"image/svg+xml"})}}}};g.post=function(a,b,c){var d=z("form",u({method:"post",action:a,enctype:"multipart/form-data"},c),{display:"none"},w.body);F(b,function(a,b){z("input",{type:"hidden",name:b,value:a},null,d)});d.submit();E(d)};g.isSafari&&g.win.matchMedia("print").addListener(function(a){g.printingChart&&(a.matches?g.printingChart.beforePrint():g.printingChart.afterPrint())});A(e.prototype,{sanitizeSVG:function(a,b){var c=a.indexOf("</svg>")+6,d=a.substr(c); | ||
a=a.substr(0,c);b&&b.exporting&&b.exporting.allowHTML&&d&&(d='<foreignObject x="0" y="0" width="'+b.chart.width+'" height="'+b.chart.height+'"><body xmlns="http://www.w3.org/1999/xhtml">'+d.replace(/(<(?:img|br).*?(?=>))>/g,"$1 />")+"</body></foreignObject>",a=a.replace("</svg>",d+"</svg>"));a=a.replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/url\(("|")(.*?)("|");?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/<svg /, | ||
'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ (|NS[0-9]+:)href=/g," xlink:href=").replace(/\n/," ").replace(/(fill|stroke)="rgba\(([ 0-9]+,[ 0-9]+,[ 0-9]+),([ 0-9\.]+)\)"/g,'$1="rgb($2)" $1-opacity="$3"').replace(/ /g,"\u00a0").replace(/­/g,"\u00ad");this.ieSanitizeSVG&&(a=this.ieSanitizeSVG(a));return a},getChartHTML:function(){this.styledMode&&this.inlineStyles();return this.container.innerHTML},getSVG:function(a){var b,c=u(this.options,a);c.plotOptions=u(this.userOptions.plotOptions, | ||
a&&a.plotOptions);c.time=u(this.userOptions.time,a&&a.time);var d=z("div",null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},w.body);var f=this.renderTo.style.width;var x=this.renderTo.style.height;f=c.exporting.sourceWidth||c.chart.width||/px$/.test(f)&&parseInt(f,10)||(c.isGantt?800:600);x=c.exporting.sourceHeight||c.chart.height||/px$/.test(x)&&parseInt(x,10)||400;A(c.chart,{animation:!1,renderTo:d,forExport:!0,renderer:"SVGRenderer",width:f,height:x}); | ||
c.exporting.enabled=!1;delete c.data;c.series=[];this.series.forEach(function(a){b=u(a.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:a.visible});b.isInternal||c.series.push(b)});this.axes.forEach(function(a){a.userOptions.internalKey||(a.userOptions.internalKey=K())});var g=new e(c,this.callback);a&&["xAxis","yAxis","series"].forEach(function(b){var d={};a[b]&&(d[b]=a[b],g.update(d))});this.axes.forEach(function(a){var b=H(g.axes,function(b){return b.options.internalKey=== | ||
a.userOptions.internalKey}),d=a.getExtremes(),c=d.userMin;d=d.userMax;b&&("undefined"!==typeof c&&c!==b.min||"undefined"!==typeof d&&d!==b.max)&&b.setExtremes(c,d,!0,!1)});f=g.getChartHTML();D(this,"getSVG",{chartCopy:g});f=this.sanitizeSVG(f,c);c=null;g.destroy();E(d);return f},getSVGForExport:function(a,b){var c=this.options.exporting;return this.getSVG(u({chart:{borderRadius:0}},c.chartOptions,b,{exporting:{sourceWidth:a&&a.sourceWidth||c.sourceWidth,sourceHeight:a&&a.sourceHeight||c.sourceHeight}}))}, | ||
getFilename:function(){var a=this.userOptions.title&&this.userOptions.title.text,b=this.options.exporting.filename;if(b)return b.replace(/\//g,"-");"string"===typeof a&&(b=a.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z0-9\-]/g,"").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,""));if(!b||5>b.length)b="chart";return b},exportChart:function(a,b){b=this.getSVGForExport(a,b);a=u(this.options.exporting,a);g.post(a.url,{filename:a.filename? | ||
a.filename.replace(/\//g,"-"):this.getFilename(),type:a.type,width:a.width||0,scale:a.scale,svg:b},a.formAttributes)},moveContainers:function(a){(this.fixedDiv?[this.fixedDiv,this.scrollingContainer]:[this.container]).forEach(function(b){a.appendChild(b)})},beforePrint:function(){var a=w.body,b=this.options.exporting.printMaxWidth,c={childNodes:a.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0;this.pointer.reset(null,0);D(this,"beforePrint");b&&this.chartWidth>b&&(c.resetParams=[this.options.chart.width, | ||
void 0,!1],this.setSize(b,void 0,!1));[].forEach.call(c.childNodes,function(a,b){1===a.nodeType&&(c.origDisplay[b]=a.style.display,a.style.display="none")});this.moveContainers(a);this.printReverseInfo=c},afterPrint:function(){if(this.printReverseInfo){var a=this.printReverseInfo.childNodes,b=this.printReverseInfo.origDisplay,c=this.printReverseInfo.resetParams;this.moveContainers(this.renderTo);[].forEach.call(a,function(a,c){1===a.nodeType&&(a.style.display=b[c]||"")});this.isPrinting=!1;c&&this.setSize.apply(this, | ||
c);delete this.printReverseInfo;delete g.printingChart;D(this,"afterPrint")}},print:function(){var a=this;a.isPrinting||(g.printingChart=a,g.isSafari||a.beforePrint(),setTimeout(function(){B.focus();B.print();g.isSafari||setTimeout(function(){a.afterPrint()},1E3)},1))},contextMenu:function(a,b,c,d,e,g,k){var h=this,x=h.options.navigation,l=h.chartWidth,C=h.chartHeight,p="cache-"+a,n=h[p],v=Math.max(e,g);if(!n){h.exportContextMenu=h[p]=n=z("div",{className:a},{position:"absolute",zIndex:1E3,padding:v+ | ||
"px",pointerEvents:"auto"},h.fixedDiv||h.container);var m=z("ul",{className:"highcharts-menu"},{listStyle:"none",margin:0,padding:0},n);h.styledMode||r(m,A({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},x.menuStyle));n.hideMenu=function(){r(n,{display:"none"});k&&k.setState(0);h.openMenu=!1;r(h.renderTo,{overflow:"hidden"});f.clearTimeout(n.hideTimer);D(h,"exportMenuHidden")};h.exportEvents.push(y(n,"mouseleave",function(){n.hideTimer=B.setTimeout(n.hideMenu, | ||
500)}),y(n,"mouseenter",function(){f.clearTimeout(n.hideTimer)}),y(w,"mouseup",function(b){h.pointer.inClass(b.target,a)||n.hideMenu()}),y(n,"click",function(){h.openMenu&&n.hideMenu()}));b.forEach(function(a){"string"===typeof a&&(a=h.options.exporting.menuItemDefinitions[a]);if(I(a,!0)){if(a.separator)var b=z("hr",null,null,m);else"viewData"===a.textKey&&h.isDataTableVisible&&(a.textKey="hideData"),b=z("li",{className:"highcharts-menu-item",onclick:function(b){b&&b.stopPropagation();n.hideMenu(); | ||
a.onclick&&a.onclick.apply(h,arguments)}},null,m),b.appendChild(w.createTextNode(a.text||h.options.lang[a.textKey])),h.styledMode||(b.onmouseover=function(){r(this,x.menuItemHoverStyle)},b.onmouseout=function(){r(this,x.menuItemStyle)},r(b,A({cursor:"pointer"},x.menuItemStyle)));h.exportDivElements.push(b)}});h.exportDivElements.push(m,n);h.exportMenuWidth=n.offsetWidth;h.exportMenuHeight=n.offsetHeight}b={display:"block"};c+h.exportMenuWidth>l?b.right=l-c-e-v+"px":b.left=c-v+"px";d+g+h.exportMenuHeight> | ||
C&&"top"!==k.alignOptions.verticalAlign?b.bottom=C-d-v+"px":b.top=d+g-v+"px";r(n,b);r(h.renderTo,{overflow:""});h.openMenu=!0;D(h,"exportMenuShown")},addButton:function(a){var b=this,c=b.renderer,d=u(b.options.navigation.buttonOptions,a),e=d.onclick,f=d.menuItems,g=d.symbolSize||12;b.btnCount||(b.btnCount=0);b.exportDivElements||(b.exportDivElements=[],b.exportSVGElements=[]);if(!1!==d.enabled){var h=d.theme,k=h.states,l=k&&k.hover;k=k&&k.select;var C;b.styledMode||(h.fill=t(h.fill,m.backgroundColor), | ||
h.stroke=t(h.stroke,"none"));delete h.states;e?C=function(a){a&&a.stopPropagation();e.call(b,a)}:f&&(C=function(a){a&&a.stopPropagation();b.contextMenu(p.menuClassName,f,p.translateX,p.translateY,p.width,p.height,p);p.setState(2)});d.text&&d.symbol?h.paddingLeft=t(h.paddingLeft,30):d.text||A(h,{width:d.width,height:d.height,padding:0});b.styledMode||(h["stroke-linecap"]="round",h.fill=t(h.fill,m.backgroundColor),h.stroke=t(h.stroke,"none"));var p=c.button(d.text,0,0,C,h,l,k).addClass(a.className).attr({title:t(b.options.lang[d._titleKey|| | ||
d.titleKey],"")});p.menuClassName=a.menuClassName||"highcharts-menu-"+b.btnCount++;if(d.symbol){var n=c.symbol(d.symbol,d.symbolX-g/2,d.symbolY-g/2,g,g,{width:g,height:g}).addClass("highcharts-button-symbol").attr({zIndex:1}).add(p);b.styledMode||n.attr({stroke:d.symbolStroke,fill:d.symbolFill,"stroke-width":d.symbolStrokeWidth||1})}p.add(b.exportingGroup).align(A(d,{width:p.width,x:t(d.x,b.buttonOffset)}),!0,"spacingBox");b.buttonOffset+=(p.width+d.buttonSpacing)*("right"===d.align?-1:1);b.exportSVGElements.push(p, | ||
n)}},destroyExport:function(a){var b=a?a.target:this;a=b.exportSVGElements;var c=b.exportDivElements,d=b.exportEvents,e;a&&(a.forEach(function(a,d){a&&(a.onclick=a.ontouchstart=null,e="cache-"+a.menuClassName,b[e]&&delete b[e],b.exportSVGElements[d]=a.destroy())}),a.length=0);b.exportingGroup&&(b.exportingGroup.destroy(),delete b.exportingGroup);c&&(c.forEach(function(a,d){f.clearTimeout(a.hideTimer);J(a,"mouseleave");b.exportDivElements[d]=a.onmouseout=a.onmouseover=a.ontouchstart=a.onclick=null; | ||
E(a)}),c.length=0);d&&(d.forEach(function(a){a()}),d.length=0)}});q.prototype.inlineToAttributes="fill stroke strokeLinecap strokeLinejoin strokeWidth textAnchor x y".split(" ");q.prototype.inlineBlacklist=[/-/,/^(clipPath|cssText|d|height|width)$/,/^font$/,/[lL]ogical(Width|Height)$/,/perspective/,/TapHighlightColor/,/^transition/,/^length$/];q.prototype.unstyledElements=["clipPath","defs","desc"];e.prototype.inlineStyles=function(){function a(a){return a.replace(/([A-Z])/g,function(a,b){return"-"+ | ||
b.toLowerCase()})}function b(c){function p(b,g){v=q=!1;if(f){for(r=f.length;r--&&!q;)q=f[r].test(g);v=!q}"transform"===g&&"none"===b&&(v=!0);for(r=e.length;r--&&!v;)v=e[r].test(g)||"function"===typeof b;v||x[g]===b&&"svg"!==c.nodeName||h[c.nodeName][g]===b||(d&&-1===d.indexOf(g)?n+=a(g)+":"+b+";":b&&c.setAttribute(a(g),b))}var n="",v,q,r;if(1===c.nodeType&&-1===k.indexOf(c.nodeName)){var t=B.getComputedStyle(c,null);var x="svg"===c.nodeName?{}:B.getComputedStyle(c.parentNode,null);if(!h[c.nodeName]){l= | ||
m.getElementsByTagName("svg")[0];var w=m.createElementNS(c.namespaceURI,c.nodeName);l.appendChild(w);h[c.nodeName]=u(B.getComputedStyle(w,null));"text"===c.nodeName&&delete h.text.fill;l.removeChild(w)}if(g.isFirefox||g.isMS)for(var y in t)p(t[y],y);else F(t,p);n&&(t=c.getAttribute("style"),c.setAttribute("style",(t?t+";":"")+n));"svg"===c.nodeName&&c.setAttribute("stroke-width","1px");"text"!==c.nodeName&&[].forEach.call(c.children||c.childNodes,b)}}var c=this.renderer,d=c.inlineToAttributes,e=c.inlineBlacklist, | ||
f=c.inlineWhitelist,k=c.unstyledElements,h={},l;c=w.createElement("iframe");r(c,{width:"1px",height:"1px",visibility:"hidden"});w.body.appendChild(c);var m=c.contentWindow.document;m.open();m.write('<svg xmlns="http://www.w3.org/2000/svg"></svg>');m.close();b(this.container.querySelector("svg"));l.parentNode.remove();c.remove()};g.Renderer.prototype.symbols.menu=function(a,b,c,d){return[["M",a,b+2.5],["L",a+c,b+2.5],["M",a,b+d/2+.5],["L",a+c,b+d/2+.5],["M",a,b+d-1.5],["L",a+c,b+d-1.5]]};g.Renderer.prototype.symbols.menuball= | ||
function(a,b,c,d){a=[];d=d/3-2;return a=a.concat(this.circle(c-d,b,d,d),this.circle(c-d,b+d+4,d,d),this.circle(c-d,b+2*(d+4),d,d))};e.prototype.renderExporting=function(){var a=this,b=a.options.exporting,c=b.buttons,d=a.isDirtyExporting||!a.exportSVGElements;a.buttonOffset=0;a.isDirtyExporting&&a.destroyExport();d&&!1!==b.enabled&&(a.exportEvents=[],a.exportingGroup=a.exportingGroup||a.renderer.g("exporting-group").attr({zIndex:3}).add(),F(c,function(b){a.addButton(b)}),a.isDirtyExporting=!1)};y(e, | ||
"init",function(){var a=this;a.exporting={update:function(b,c){a.isDirtyExporting=!0;u(!0,a.options.exporting,b);t(c,!0)&&a.redraw()}};k.addUpdate(function(b,c){a.isDirtyExporting=!0;u(!0,a.options.navigation,b);t(c,!0)&&a.redraw()},a)});e.prototype.callbacks.push(function(a){a.renderExporting();y(a,"redraw",a.renderExporting);y(a,"destroy",a.destroyExport)})});q(e,"masters/modules/exporting.src.js",[],function(){})}); | ||
(function(c){"object"===typeof module&&module.exports?(c["default"]=c,module.exports=c):"function"===typeof define&&define.amd?define("highcharts/modules/exporting",["highcharts"],function(p){c(p);c.Highcharts=p;return c}):c("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(c){function p(c,k,h,n){c.hasOwnProperty(k)||(c[k]=n.apply(null,h))}c=c?c._modules:{};p(c,"Extensions/FullScreen.js",[c["Core/Chart/Chart.js"],c["Core/Globals.js"],c["Core/Renderer/HTML/AST.js"],c["Core/Utilities.js"]], | ||
function(c,k,h,n){var l=n.addEvent;n=function(){function c(e){this.chart=e;this.isOpen=!1;e=e.renderTo;this.browserProps||("function"===typeof e.requestFullscreen?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:e.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:e.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange", | ||
requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:e.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}c.prototype.close=function(){var e=this.chart,c=e.options.chart;if(this.isOpen&&this.browserProps&&e.container.ownerDocument instanceof Document)e.container.ownerDocument[this.browserProps.exitFullscreen]();this.unbindFullscreenEvent&&this.unbindFullscreenEvent(); | ||
e.setSize(this.origWidth,this.origHeight,!1);this.origHeight=this.origWidth=void 0;c&&(c.width=this.origWidthOption,c.height=this.origHeightOption);this.origHeightOption=this.origWidthOption=void 0;this.isOpen=!1;this.setButtonText()};c.prototype.open=function(){var e=this,c=e.chart,h=c.options.chart;h&&(e.origWidthOption=h.width,e.origHeightOption=h.height);e.origWidth=c.chartWidth;e.origHeight=c.chartHeight;if(e.browserProps){e.unbindFullscreenEvent=l(c.container.ownerDocument,e.browserProps.fullscreenChange, | ||
function(){e.isOpen?(e.isOpen=!1,e.close()):(c.setSize(null,null,!1),e.isOpen=!0,e.setButtonText())});if(h=c.renderTo[e.browserProps.requestFullscreen]())h["catch"](function(){alert("Full screen is not supported inside a frame.")});l(c,"destroy",e.unbindFullscreenEvent)}};c.prototype.setButtonText=function(){var e,c=this.chart,n=c.exportDivElements,k=c.options.exporting,l=null===(e=null===k||void 0===k?void 0:k.buttons)||void 0===e?void 0:e.contextButton.menuItems;e=c.options.lang;(null===k||void 0=== | ||
k?0:k.menuItemDefinitions)&&(null===e||void 0===e?0:e.exitFullscreen)&&e.viewFullscreen&&l&&n&&n.length&&h.setElementHTML(n[l.indexOf("viewFullscreen")],this.isOpen?e.exitFullscreen:k.menuItemDefinitions.viewFullscreen.text||e.viewFullscreen)};c.prototype.toggle=function(){this.isOpen?this.close():this.open()};return c}();k.Fullscreen=n;l(c,"beforeRender",function(){this.fullscreen=new k.Fullscreen(this)});return k.Fullscreen});p(c,"Mixins/Navigation.js",[],function(){return{initUpdate:function(c){c.navigation|| | ||
(c.navigation={updates:[],update:function(c,h){this.updates.forEach(function(k){k.update.call(k.context,c,h)})}})},addUpdate:function(c,k){k.navigation||this.initUpdate(k);k.navigation.updates.push({update:c,context:k})}}});p(c,"Extensions/Exporting.js",[c["Core/Chart/Chart.js"],c["Mixins/Navigation.js"],c["Core/Globals.js"],c["Core/Options.js"],c["Core/Color/Palette.js"],c["Core/Renderer/SVG/SVGRenderer.js"],c["Core/Utilities.js"]],function(c,k,h,n,l,p,e){var z=h.doc,G=h.isTouchDevice,B=h.win;n= | ||
n.defaultOptions;var x=e.addEvent,u=e.css,y=e.createElement,E=e.discardElement,A=e.extend,H=e.find,D=e.fireEvent,I=e.isObject,v=e.merge,F=e.objectEach,q=e.pick,J=e.removeEvent,K=e.uniqueKey;A(n.lang,{viewFullscreen:"View in full screen",exitFullscreen:"Exit from full screen",printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"});n.navigation|| | ||
(n.navigation={});v(!0,n.navigation,{buttonOptions:{theme:{},symbolSize:14,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,verticalAlign:"top",width:24}});v(!0,n.navigation,{menuStyle:{border:"1px solid "+l.neutralColor40,background:l.backgroundColor,padding:"5px 0"},menuItemStyle:{padding:"0.5em 1em",color:l.neutralColor80,background:"none",fontSize:G?"14px":"11px",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:l.highlightColor80,color:l.backgroundColor}, | ||
buttonOptions:{symbolFill:l.neutralColor60,symbolStroke:l.neutralColor60,symbolStrokeWidth:3,theme:{padding:5}}});n.exporting={type:"image/png",url:"https://export.highcharts.com/",printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"menu",titleKey:"contextButtonTitle",menuItems:"viewFullscreen printChart separator downloadPNG downloadJPEG downloadPDF downloadSVG".split(" ")}},menuItemDefinitions:{viewFullscreen:{textKey:"viewFullscreen", | ||
onclick:function(){this.fullscreen.toggle()}},printChart:{textKey:"printChart",onclick:function(){this.print()}},separator:{separator:!0},downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChart()}},downloadJPEG:{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},downloadSVG:{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}}}; | ||
h.post=function(a,b,f){var d=y("form",v({method:"post",action:a,enctype:"multipart/form-data"},f),{display:"none"},z.body);F(b,function(a,b){y("input",{type:"hidden",name:b,value:a},null,d)});d.submit();E(d)};h.isSafari&&h.win.matchMedia("print").addListener(function(a){h.printingChart&&(a.matches?h.printingChart.beforePrint():h.printingChart.afterPrint())});A(c.prototype,{sanitizeSVG:function(a,b){var f=a.indexOf("</svg>")+6,d=a.substr(f);a=a.substr(0,f);b&&b.exporting&&b.exporting.allowHTML&&d&& | ||
(d='<foreignObject x="0" y="0" width="'+b.chart.width+'" height="'+b.chart.height+'"><body xmlns="http://www.w3.org/1999/xhtml">'+d.replace(/(<(?:img|br).*?(?=>))>/g,"$1 />")+"</body></foreignObject>",a=a.replace("</svg>",d+"</svg>"));a=a.replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/url\(("|")(.*?)("|");?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ (|NS[0-9]+:)href=/g, | ||
" xlink:href=").replace(/\n/," ").replace(/(fill|stroke)="rgba\(([ 0-9]+,[ 0-9]+,[ 0-9]+),([ 0-9\.]+)\)"/g,'$1="rgb($2)" $1-opacity="$3"').replace(/ /g,"\u00a0").replace(/­/g,"\u00ad");this.ieSanitizeSVG&&(a=this.ieSanitizeSVG(a));return a},getChartHTML:function(){this.styledMode&&this.inlineStyles();return this.container.innerHTML},getSVG:function(a){var b,f=v(this.options,a);f.plotOptions=v(this.userOptions.plotOptions,a&&a.plotOptions);f.time=v(this.userOptions.time,a&&a.time);var d=y("div", | ||
null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},z.body);var e=this.renderTo.style.width;var r=this.renderTo.style.height;e=f.exporting.sourceWidth||f.chart.width||/px$/.test(e)&&parseInt(e,10)||(f.isGantt?800:600);r=f.exporting.sourceHeight||f.chart.height||/px$/.test(r)&&parseInt(r,10)||400;A(f.chart,{animation:!1,renderTo:d,forExport:!0,renderer:"SVGRenderer",width:e,height:r});f.exporting.enabled=!1;delete f.data;f.series=[];this.series.forEach(function(a){b= | ||
v(a.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:a.visible});b.isInternal||f.series.push(b)});this.axes.forEach(function(a){a.userOptions.internalKey||(a.userOptions.internalKey=K())});var h=new c(f,this.callback);a&&["xAxis","yAxis","series"].forEach(function(b){var d={};a[b]&&(d[b]=a[b],h.update(d))});this.axes.forEach(function(a){var b=H(h.axes,function(b){return b.options.internalKey===a.userOptions.internalKey}),d=a.getExtremes(),f=d.userMin;d=d.userMax;b&&("undefined"!== | ||
typeof f&&f!==b.min||"undefined"!==typeof d&&d!==b.max)&&b.setExtremes(f,d,!0,!1)});e=h.getChartHTML();D(this,"getSVG",{chartCopy:h});e=this.sanitizeSVG(e,f);f=null;h.destroy();E(d);return e},getSVGForExport:function(a,b){var f=this.options.exporting;return this.getSVG(v({chart:{borderRadius:0}},f.chartOptions,b,{exporting:{sourceWidth:a&&a.sourceWidth||f.sourceWidth,sourceHeight:a&&a.sourceHeight||f.sourceHeight}}))},getFilename:function(){var a=this.userOptions.title&&this.userOptions.title.text, | ||
b=this.options.exporting.filename;if(b)return b.replace(/\//g,"-");"string"===typeof a&&(b=a.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z0-9\-]/g,"").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,""));if(!b||5>b.length)b="chart";return b},exportChart:function(a,b){b=this.getSVGForExport(a,b);a=v(this.options.exporting,a);h.post(a.url,{filename:a.filename?a.filename.replace(/\//g,"-"):this.getFilename(),type:a.type,width:a.width||0, | ||
scale:a.scale,svg:b},a.formAttributes)},moveContainers:function(a){(this.fixedDiv?[this.fixedDiv,this.scrollingContainer]:[this.container]).forEach(function(b){a.appendChild(b)})},beforePrint:function(){var a=z.body,b=this.options.exporting.printMaxWidth,f={childNodes:a.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0;this.pointer.reset(null,0);D(this,"beforePrint");b&&this.chartWidth>b&&(f.resetParams=[this.options.chart.width,void 0,!1],this.setSize(b,void 0,!1));[].forEach.call(f.childNodes, | ||
function(a,b){1===a.nodeType&&(f.origDisplay[b]=a.style.display,a.style.display="none")});this.moveContainers(a);this.printReverseInfo=f},afterPrint:function(){if(this.printReverseInfo){var a=this.printReverseInfo.childNodes,b=this.printReverseInfo.origDisplay,f=this.printReverseInfo.resetParams;this.moveContainers(this.renderTo);[].forEach.call(a,function(a,f){1===a.nodeType&&(a.style.display=b[f]||"")});this.isPrinting=!1;f&&this.setSize.apply(this,f);delete this.printReverseInfo;delete h.printingChart; | ||
D(this,"afterPrint")}},print:function(){var a=this;a.isPrinting||(h.printingChart=a,h.isSafari||a.beforePrint(),setTimeout(function(){B.focus();B.print();h.isSafari||setTimeout(function(){a.afterPrint()},1E3)},1))},contextMenu:function(a,b,f,d,c,h,k){var g=this,r=g.options.navigation,n=g.chartWidth,C=g.chartHeight,t="cache-"+a,m=g[t],w=Math.max(c,h);if(!m){g.exportContextMenu=g[t]=m=y("div",{className:a},{position:"absolute",zIndex:1E3,padding:w+"px",pointerEvents:"auto"},g.fixedDiv||g.container); | ||
var l=y("ul",{className:"highcharts-menu"},{listStyle:"none",margin:0,padding:0},m);g.styledMode||u(l,A({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},r.menuStyle));m.hideMenu=function(){u(m,{display:"none"});k&&k.setState(0);g.openMenu=!1;u(g.renderTo,{overflow:"hidden"});e.clearTimeout(m.hideTimer);D(g,"exportMenuHidden")};g.exportEvents.push(x(m,"mouseleave",function(){m.hideTimer=B.setTimeout(m.hideMenu,500)}),x(m,"mouseenter",function(){e.clearTimeout(m.hideTimer)}), | ||
x(z,"mouseup",function(b){g.pointer.inClass(b.target,a)||m.hideMenu()}),x(m,"click",function(){g.openMenu&&m.hideMenu()}));b.forEach(function(a){"string"===typeof a&&(a=g.options.exporting.menuItemDefinitions[a]);if(I(a,!0)){if(a.separator)var b=y("hr",null,null,l);else"viewData"===a.textKey&&g.isDataTableVisible&&(a.textKey="hideData"),b=y("li",{className:"highcharts-menu-item",onclick:function(b){b&&b.stopPropagation();m.hideMenu();a.onclick&&a.onclick.apply(g,arguments)}},null,l),b.appendChild(z.createTextNode(a.text|| | ||
g.options.lang[a.textKey])),g.styledMode||(b.onmouseover=function(){u(this,r.menuItemHoverStyle)},b.onmouseout=function(){u(this,r.menuItemStyle)},u(b,A({cursor:"pointer"},r.menuItemStyle)));g.exportDivElements.push(b)}});g.exportDivElements.push(l,m);g.exportMenuWidth=m.offsetWidth;g.exportMenuHeight=m.offsetHeight}b={display:"block"};f+g.exportMenuWidth>n?b.right=n-f-c-w+"px":b.left=f-w+"px";d+h+g.exportMenuHeight>C&&"top"!==k.alignOptions.verticalAlign?b.bottom=C-d-w+"px":b.top=d+h-w+"px";u(m, | ||
b);u(g.renderTo,{overflow:""});g.openMenu=!0;D(g,"exportMenuShown")},addButton:function(a){var b=this,f=b.renderer,d=v(b.options.navigation.buttonOptions,a),c=d.onclick,e=d.menuItems,h=d.symbolSize||12;b.btnCount||(b.btnCount=0);b.exportDivElements||(b.exportDivElements=[],b.exportSVGElements=[]);if(!1!==d.enabled){var g=d.theme,k=g.states,n=k&&k.hover;k=k&&k.select;var C;b.styledMode||(g.fill=q(g.fill,l.backgroundColor),g.stroke=q(g.stroke,"none"));delete g.states;c?C=function(a){a&&a.stopPropagation(); | ||
c.call(b,a)}:e&&(C=function(a){a&&a.stopPropagation();b.contextMenu(t.menuClassName,e,t.translateX,t.translateY,t.width,t.height,t);t.setState(2)});d.text&&d.symbol?g.paddingLeft=q(g.paddingLeft,30):d.text||A(g,{width:d.width,height:d.height,padding:0});b.styledMode||(g["stroke-linecap"]="round",g.fill=q(g.fill,l.backgroundColor),g.stroke=q(g.stroke,"none"));var t=f.button(d.text,0,0,C,g,n,k).addClass(a.className).attr({title:q(b.options.lang[d._titleKey||d.titleKey],"")});t.menuClassName=a.menuClassName|| | ||
"highcharts-menu-"+b.btnCount++;if(d.symbol){var m=f.symbol(d.symbol,d.symbolX-h/2,d.symbolY-h/2,h,h,{width:h,height:h}).addClass("highcharts-button-symbol").attr({zIndex:1}).add(t);b.styledMode||m.attr({stroke:d.symbolStroke,fill:d.symbolFill,"stroke-width":d.symbolStrokeWidth||1})}t.add(b.exportingGroup).align(A(d,{width:t.width,x:q(d.x,b.buttonOffset)}),!0,"spacingBox");b.buttonOffset+=(t.width+d.buttonSpacing)*("right"===d.align?-1:1);b.exportSVGElements.push(t,m)}},destroyExport:function(a){var b= | ||
a?a.target:this;a=b.exportSVGElements;var f=b.exportDivElements,d=b.exportEvents,c;a&&(a.forEach(function(a,d){a&&(a.onclick=a.ontouchstart=null,c="cache-"+a.menuClassName,b[c]&&delete b[c],b.exportSVGElements[d]=a.destroy())}),a.length=0);b.exportingGroup&&(b.exportingGroup.destroy(),delete b.exportingGroup);f&&(f.forEach(function(a,d){e.clearTimeout(a.hideTimer);J(a,"mouseleave");b.exportDivElements[d]=a.onmouseout=a.onmouseover=a.ontouchstart=a.onclick=null;E(a)}),f.length=0);d&&(d.forEach(function(a){a()}), | ||
d.length=0)}});p.prototype.inlineToAttributes="fill stroke strokeLinecap strokeLinejoin strokeWidth textAnchor x y".split(" ");p.prototype.inlineBlacklist=[/-/,/^(clipPath|cssText|d|height|width)$/,/^font$/,/[lL]ogical(Width|Height)$/,/perspective/,/TapHighlightColor/,/^transition/,/^length$/];p.prototype.unstyledElements=["clipPath","defs","desc"];c.prototype.inlineStyles=function(){function a(a){return a.replace(/([A-Z])/g,function(a,b){return"-"+b.toLowerCase()})}function b(c){function f(b,f){w= | ||
u=!1;if(k){for(q=k.length;q--&&!u;)u=k[q].test(f);w=!u}"transform"===f&&"none"===b&&(w=!0);for(q=e.length;q--&&!w;)w=e[q].test(f)||"function"===typeof b;w||z[f]===b&&"svg"!==c.nodeName||g[c.nodeName][f]===b||(d&&-1===d.indexOf(f)?m+=a(f)+":"+b+";":b&&c.setAttribute(a(f),b))}var m="",w,u,q;if(1===c.nodeType&&-1===n.indexOf(c.nodeName)){var r=B.getComputedStyle(c,null);var z="svg"===c.nodeName?{}:B.getComputedStyle(c.parentNode,null);if(!g[c.nodeName]){l=p.getElementsByTagName("svg")[0];var x=p.createElementNS(c.namespaceURI, | ||
c.nodeName);l.appendChild(x);g[c.nodeName]=v(B.getComputedStyle(x,null));"text"===c.nodeName&&delete g.text.fill;l.removeChild(x)}if(h.isFirefox||h.isMS)for(var y in r)f(r[y],y);else F(r,f);m&&(r=c.getAttribute("style"),c.setAttribute("style",(r?r+";":"")+m));"svg"===c.nodeName&&c.setAttribute("stroke-width","1px");"text"!==c.nodeName&&[].forEach.call(c.children||c.childNodes,b)}}var c=this.renderer,d=c.inlineToAttributes,e=c.inlineBlacklist,k=c.inlineWhitelist,n=c.unstyledElements,g={},l;c=z.createElement("iframe"); | ||
u(c,{width:"1px",height:"1px",visibility:"hidden"});z.body.appendChild(c);var p=c.contentWindow.document;p.open();p.write('<svg xmlns="http://www.w3.org/2000/svg"></svg>');p.close();b(this.container.querySelector("svg"));l.parentNode.removeChild(l);c.parentNode.removeChild(c)};h.Renderer.prototype.symbols.menu=function(a,b,c,d){return[["M",a,b+2.5],["L",a+c,b+2.5],["M",a,b+d/2+.5],["L",a+c,b+d/2+.5],["M",a,b+d-1.5],["L",a+c,b+d-1.5]]};h.Renderer.prototype.symbols.menuball=function(a,b,c,d){a=[];d= | ||
d/3-2;return a=a.concat(this.circle(c-d,b,d,d),this.circle(c-d,b+d+4,d,d),this.circle(c-d,b+2*(d+4),d,d))};c.prototype.renderExporting=function(){var a=this,b=a.options.exporting,c=b.buttons,d=a.isDirtyExporting||!a.exportSVGElements;a.buttonOffset=0;a.isDirtyExporting&&a.destroyExport();d&&!1!==b.enabled&&(a.exportEvents=[],a.exportingGroup=a.exportingGroup||a.renderer.g("exporting-group").attr({zIndex:3}).add(),F(c,function(b){a.addButton(b)}),a.isDirtyExporting=!1)};x(c,"init",function(){var a= | ||
this;a.exporting={update:function(b,c){a.isDirtyExporting=!0;v(!0,a.options.exporting,b);q(c,!0)&&a.redraw()}};k.addUpdate(function(b,c){a.isDirtyExporting=!0;v(!0,a.options.navigation,b);q(c,!0)&&a.redraw()},a)});c.prototype.callbacks.push(function(a){a.renderExporting();x(a,"redraw",a.renderExporting);x(a,"destroy",a.destroyExport)})});p(c,"masters/modules/exporting.src.js",[],function(){})}); | ||
//# sourceMappingURL=exporting.js.map |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Advanced Highstock tools | ||
(c) 2010-2019 Highsoft AS | ||
(c) 2010-2021 Highsoft AS | ||
Author: Torstein Honsi | ||
@@ -13,6 +13,6 @@ | ||
function(a,c,h,d){var f=d.addEvent;d=function(){function a(b){this.chart=b;this.isOpen=!1;b=b.renderTo;this.browserProps||("function"===typeof b.requestFullscreen?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:b.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:b.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange", | ||
requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:b.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}a.prototype.close=function(){var b=this.chart;if(this.isOpen&&this.browserProps&&b.container.ownerDocument instanceof Document)b.container.ownerDocument[this.browserProps.exitFullscreen]();this.unbindFullscreenEvent&&this.unbindFullscreenEvent();this.isOpen=!1; | ||
this.setButtonText()};a.prototype.open=function(){var b=this,a=b.chart;if(b.browserProps){b.unbindFullscreenEvent=f(a.container.ownerDocument,b.browserProps.fullscreenChange,function(){b.isOpen?(b.isOpen=!1,b.close()):(b.isOpen=!0,b.setButtonText())});var c=a.renderTo[b.browserProps.requestFullscreen]();if(c)c["catch"](function(){alert("Full screen is not supported inside a frame.")});f(a,"destroy",b.unbindFullscreenEvent)}};a.prototype.setButtonText=function(){var b,a=this.chart,c=a.exportDivElements, | ||
e=a.options.exporting,d=null===(b=null===e||void 0===e?void 0:e.buttons)||void 0===b?void 0:b.contextButton.menuItems;b=a.options.lang;(null===e||void 0===e?0:e.menuItemDefinitions)&&(null===b||void 0===b?0:b.exitFullscreen)&&b.viewFullscreen&&d&&c&&c.length&&h.setElementHTML(c[d.indexOf("viewFullscreen")],this.isOpen?b.exitFullscreen:e.menuItemDefinitions.viewFullscreen.text||b.viewFullscreen)};a.prototype.toggle=function(){this.isOpen?this.close():this.open()};return a}();c.Fullscreen=d;f(a,"beforeRender", | ||
function(){this.fullscreen=new c.Fullscreen(this)});return c.Fullscreen});c(a,"masters/modules/full-screen.src.js",[],function(){})}); | ||
requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:b.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}a.prototype.close=function(){var b=this.chart,a=b.options.chart;if(this.isOpen&&this.browserProps&&b.container.ownerDocument instanceof Document)b.container.ownerDocument[this.browserProps.exitFullscreen]();this.unbindFullscreenEvent&&this.unbindFullscreenEvent(); | ||
b.setSize(this.origWidth,this.origHeight,!1);this.origHeight=this.origWidth=void 0;a&&(a.width=this.origWidthOption,a.height=this.origHeightOption);this.origHeightOption=this.origWidthOption=void 0;this.isOpen=!1;this.setButtonText()};a.prototype.open=function(){var b=this,a=b.chart,c=a.options.chart;c&&(b.origWidthOption=c.width,b.origHeightOption=c.height);b.origWidth=a.chartWidth;b.origHeight=a.chartHeight;if(b.browserProps){b.unbindFullscreenEvent=f(a.container.ownerDocument,b.browserProps.fullscreenChange, | ||
function(){b.isOpen?(b.isOpen=!1,b.close()):(a.setSize(null,null,!1),b.isOpen=!0,b.setButtonText())});if(c=a.renderTo[b.browserProps.requestFullscreen]())c["catch"](function(){alert("Full screen is not supported inside a frame.")});f(a,"destroy",b.unbindFullscreenEvent)}};a.prototype.setButtonText=function(){var a,c=this.chart,d=c.exportDivElements,e=c.options.exporting,f=null===(a=null===e||void 0===e?void 0:e.buttons)||void 0===a?void 0:a.contextButton.menuItems;a=c.options.lang;(null===e||void 0=== | ||
e?0:e.menuItemDefinitions)&&(null===a||void 0===a?0:a.exitFullscreen)&&a.viewFullscreen&&f&&d&&d.length&&h.setElementHTML(d[f.indexOf("viewFullscreen")],this.isOpen?a.exitFullscreen:e.menuItemDefinitions.viewFullscreen.text||a.viewFullscreen)};a.prototype.toggle=function(){this.isOpen?this.close():this.open()};return a}();c.Fullscreen=d;f(a,"beforeRender",function(){this.fullscreen=new c.Fullscreen(this)});return c.Fullscreen});c(a,"masters/modules/full-screen.src.js",[],function(){})}); | ||
//# sourceMappingURL=full-screen.js.map |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Advanced Highstock tools | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* Author: Torstein Honsi | ||
@@ -131,3 +131,4 @@ * | ||
var fullscreen = this, | ||
chart = fullscreen.chart; | ||
chart = fullscreen.chart, | ||
optionsChart = chart.options.chart; | ||
// Don't fire exitFullscreen() when user exited using 'Escape' button. | ||
@@ -143,2 +144,11 @@ if (fullscreen.isOpen && | ||
} | ||
chart.setSize(fullscreen.origWidth, fullscreen.origHeight, false); | ||
fullscreen.origWidth = void 0; | ||
fullscreen.origHeight = void 0; | ||
if (optionsChart) { | ||
optionsChart.width = fullscreen.origWidthOption; | ||
optionsChart.height = fullscreen.origHeightOption; | ||
} | ||
fullscreen.origWidthOption = void 0; | ||
fullscreen.origHeightOption = void 0; | ||
fullscreen.isOpen = false; | ||
@@ -161,3 +171,10 @@ fullscreen.setButtonText(); | ||
var fullscreen = this, | ||
chart = fullscreen.chart; | ||
chart = fullscreen.chart, | ||
optionsChart = chart.options.chart; | ||
if (optionsChart) { | ||
fullscreen.origWidthOption = optionsChart.width; | ||
fullscreen.origHeightOption = optionsChart.height; | ||
} | ||
fullscreen.origWidth = chart.chartWidth; | ||
fullscreen.origHeight = chart.chartHeight; | ||
// Handle exitFullscreen() method when user clicks 'Escape' button. | ||
@@ -173,2 +190,3 @@ if (fullscreen.browserProps) { | ||
else { | ||
chart.setSize(null, null, false); | ||
fullscreen.isOpen = true; | ||
@@ -175,0 +193,0 @@ fullscreen.setButtonText(); |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Highcharts funnel module | ||
(c) 2010-2019 Torstein Honsi | ||
(c) 2010-2021 Torstein Honsi | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* Highcharts funnel module | ||
* | ||
* (c) 2010-2019 Torstein Honsi | ||
* (c) 2010-2021 Torstein Honsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Highcharts funnel module | ||
(c) 2010-2019 Kacper Madej | ||
(c) 2010-2021 Kacper Madej | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* Highcharts funnel module | ||
* | ||
* (c) 2010-2019 Kacper Madej | ||
* (c) 2010-2021 Kacper Madej | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts Gantt JS v9.0.0 (2021-02-02) | ||
Highcharts Gantt JS v9.0.1 (2021-02-15) | ||
GridAxis | ||
(c) 2016-2019 Lars A. V. Cabrera | ||
(c) 2016-2021 Lars A. V. Cabrera | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts Gantt JS v9.0.0 (2021-02-02) | ||
* @license Highcharts Gantt JS v9.0.1 (2021-02-16) | ||
* | ||
* GridAxis | ||
* | ||
* (c) 2016-2019 Lars A. V. Cabrera | ||
* (c) 2016-2021 Lars A. V. Cabrera | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highmaps JS v9.0.0 (2021-02-02) | ||
Highmaps JS v9.0.1 (2021-02-15) | ||
(c) 2009-2019 Torstein Honsi | ||
(c) 2009-2021 Torstein Honsi | ||
@@ -6,0 +6,0 @@ License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
(c) 2010-2019 Highsoft AS | ||
(c) 2010-2021 Highsoft AS | ||
Author: Sebastian Domas | ||
@@ -6,0 +6,0 @@ |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* Author: Sebastian Domas | ||
@@ -6,0 +6,0 @@ * |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
@@ -4,0 +4,0 @@ Item series type for Highcharts |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
@@ -4,0 +4,0 @@ * Item series type for Highcharts |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
(c) 2009-2019 Sebastian Bochan, Rafal Sebestjanski | ||
(c) 2009-2021 Sebastian Bochan, Rafal Sebestjanski | ||
@@ -6,0 +6,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* (c) 2009-2019 Sebastian Bochan, Rafal Sebestjanski | ||
* (c) 2009-2021 Sebastian Bochan, Rafal Sebestjanski | ||
* | ||
@@ -6,0 +6,0 @@ * License: www.highcharts.com/license |
/* | ||
Highmaps JS v9.0.0 (2021-02-02) | ||
Highmaps JS v9.0.1 (2021-02-15) | ||
Highmaps as a plugin for Highcharts or Highstock. | ||
(c) 2011-2019 Torstein Honsi | ||
(c) 2011-2021 Torstein Honsi | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Marker clusters module for Highcharts | ||
(c) 2010-2019 Wojciech Chmiel | ||
(c) 2010-2021 Wojciech Chmiel | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Force directed graph module | ||
(c) 2010-2019 Torstein Honsi | ||
(c) 2010-2021 Torstein Honsi | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Plugin for displaying a message when there is no data visible in chart. | ||
(c) 2010-2019 Highsoft AS | ||
(c) 2010-2021 Highsoft AS | ||
Author: Oystein Moseng | ||
@@ -8,0 +8,0 @@ |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* Plugin for displaying a message when there is no data visible in chart. | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* Author: Oystein Moseng | ||
@@ -8,0 +8,0 @@ * |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Client side exporting module | ||
(c) 2015-2019 Torstein Honsi / Oystein Moseng | ||
(c) 2015-2021 Torstein Honsi / Oystein Moseng | ||
License: www.highcharts.com/license | ||
*/ | ||
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/offline-exporting",["highcharts","highcharts/modules/exporting"],function(g){a(g);a.Highcharts=g;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function g(a,b,n,f){a.hasOwnProperty(b)||(a[b]=f.apply(null,n))}a=a?a._modules:{};g(a,"Extensions/DownloadURL.js",[a["Core/Globals.js"]],function(a){var b=a.win,n=b.document, | ||
f=b.URL||b.webkitURL||b,g=a.dataURLtoBlob=function(a){if((a=a.replace(/filename=.*;/,"").match(/data:([^;]*)(;base64)?,([0-9A-Za-z+/]+)/))&&3<a.length&&b.atob&&b.ArrayBuffer&&b.Uint8Array&&b.Blob&&f.createObjectURL){var q=b.atob(a[3]),m=new b.ArrayBuffer(q.length);m=new b.Uint8Array(m);for(var e=0;e<m.length;++e)m[e]=q.charCodeAt(e);a=new b.Blob([m],{type:a[1]});return f.createObjectURL(a)}};a=a.downloadURL=function(a,f){var m=b.navigator,e=n.createElement("a");if("string"===typeof a||a instanceof | ||
String||!m.msSaveOrOpenBlob){a=""+a;if(/Edge\/\d+/.test(m.userAgent)||2E6<a.length)if(a=g(a)||"",!a)throw Error("Failed to convert to blob");if("undefined"!==typeof e.download)e.href=a,e.download=f,n.body.appendChild(e),e.click(),n.body.removeChild(e);else try{var h=b.open(a,"chart");if("undefined"===typeof h||null===h)throw Error("Failed to open window");}catch(v){b.location.href=a}}else m.msSaveOrOpenBlob(a,f)};return{dataURLtoBlob:g,downloadURL:a}});g(a,"Extensions/OfflineExporting.js",[a["Core/Chart/Chart.js"], | ||
a["Core/Globals.js"],a["Core/Renderer/SVG/SVGRenderer.js"],a["Core/Utilities.js"],a["Extensions/DownloadURL.js"]],function(a,b,g,f,F){function q(a,b){var k=v.getElementsByTagName("head")[0],c=v.createElement("script");c.type="text/javascript";c.src=a;c.onload=b;c.onerror=function(){A("Error loading script "+a)};k.appendChild(c)}function n(a){var d=h.navigator.userAgent;d=-1<d.indexOf("WebKit")&&0>d.indexOf("Chrome");try{if(!d&&!b.isFirefox)return B.createObjectURL(new h.Blob([a],{type:"image/svg+xml;charset-utf-16"}))}catch(k){}return"data:image/svg+xml;charset=UTF-8,"+ | ||
encodeURIComponent(a)}function m(a,b,k,c,G,p,e,H,f){var l=new h.Image,d=function(){setTimeout(function(){var d=v.createElement("canvas"),p=d.getContext&&d.getContext("2d");try{if(p){d.height=l.height*c;d.width=l.width*c;p.drawImage(l,0,0,d.width,d.height);try{var w=d.toDataURL(b);G(w,b,k,c)}catch(C){g(a,b,k,c)}}else e(a,b,k,c)}finally{f&&f(a,b,k,c)}},I)},m=function(){H(a,b,k,c);f&&f(a,b,k,c)};var g=function(){l=new h.Image;g=p;l.crossOrigin="Anonymous";l.onload=d;l.onerror=m;l.src=a};l.onload=d;l.onerror= | ||
m;l.src=a}function e(a,b,k,c){function d(a,b){var c=a.width.baseVal.value+2*b;b=a.height.baseVal.value+2*b;c=new h.jsPDF(b>c?"p":"l","pt",[c,b]);[].forEach.call(a.querySelectorAll('*[visibility="hidden"]'),function(a){a.parentNode.removeChild(a)});b=a.querySelectorAll("linearGradient");for(var k=0;k<b.length;k++)for(var e=b[k].querySelectorAll("stop"),d=0;d<e.length&&"0"===e[d].getAttribute("offset")&&"0"===e[d+1].getAttribute("offset");)e[d].remove(),d++;h.svg2pdf(a,c,{removeInvalid:!0});return c.output("datauristring")} | ||
function p(){g.innerHTML=a;var b=g.getElementsByTagName("text"),e;[].forEach.call(b,function(a){["font-family","font-size"].forEach(function(b){for(var c=a;c&&c!==g;){if(c.style[b]){a.style[b]=c.style[b];break}c=c.parentNode}});a.style["font-family"]=a.style["font-family"]&&a.style["font-family"].split(" ").splice(-1);e=a.getElementsByTagName("title");[].forEach.call(e,function(b){a.removeChild(b)})});b=d(g.firstChild,0);try{y(b,x),c&&c()}catch(J){k(J)}}var f=!0,e=b.libURL||D().exporting.libURL,g= | ||
v.createElement("div"),l=b.type||"image/png",x=(b.filename||"chart")+"."+("image/svg+xml"===l?"svg":l.split("/")[1]),z=b.scale||1;e="/"!==e.slice(-1)?e+"/":e;if("image/svg+xml"===l)try{if("undefined"!==typeof h.navigator.msSaveOrOpenBlob){var u=new MSBlobBuilder;u.append(a);var r=u.getBlob("image/svg+xml")}else r=n(a);y(r,x);c&&c()}catch(w){k(w)}else if("application/pdf"===l)h.jsPDF&&h.svg2pdf?p():(f=!0,q(e+"jspdf.js",function(){q(e+"svg2pdf.js",function(){p()})}));else{r=n(a);var t=function(){try{B.revokeObjectURL(r)}catch(w){}}; | ||
m(r,l,{},z,function(a){try{y(a,x),c&&c()}catch(C){k(C)}},function(){var b=v.createElement("canvas"),d=b.getContext("2d"),p=a.match(/^<svg[^>]*width\s*=\s*"?(\d+)"?[^>]*>/)[1]*z,g=a.match(/^<svg[^>]*height\s*=\s*"?(\d+)"?[^>]*>/)[1]*z,m=function(){d.drawSvg(a,0,0,p,g);try{y(h.navigator.msSaveOrOpenBlob?b.msToBlob():b.toDataURL(l),x),c&&c()}catch(K){k(K)}finally{t()}};b.width=p;b.height=g;h.canvg?m():(f=!0,q(e+"rgbcolor.js",function(){q(e+"canvg.js",function(){m()})}))},k,k,function(){f&&t()})}}var h= | ||
b.win,v=b.doc,L=f.addEvent,A=f.error,M=f.extend,D=f.getOptions,E=f.merge,y=F.downloadURL,B=h.URL||h.webkitURL||h,I=b.isMS?150:0;b.CanVGRenderer={};a.prototype.getSVGForLocalExport=function(a,b,e,c){var d=this,k=0,g,f,h,l,n=function(){k===u.length&&c(d.sanitizeSVG(g.innerHTML,f))},q=function(a,b,c){++k;c.imageElement.setAttributeNS("http://www.w3.org/1999/xlink","href",a);n()};d.unbindGetSVG=L(d,"getSVG",function(a){f=a.chartCopy.options;g=a.chartCopy.container.cloneNode(!0)});d.getSVGForExport(a, | ||
b);var u=g.getElementsByTagName("image");try{if(!u.length){c(d.sanitizeSVG(g.innerHTML,f));return}var r=0;for(h=u.length;r<h;++r){var t=u[r];(l=t.getAttributeNS("http://www.w3.org/1999/xlink","href"))?m(l,"image/png",{imageElement:t},a.scale,q,e,e,e):(++k,t.parentNode.removeChild(t),n())}}catch(w){e(w)}d.unbindGetSVG()};a.prototype.exportChartLocal=function(a,f){var d=this,c=E(d.options.exporting,a),h=function(a){!1===c.fallbackToExportServer?c.error?c.error(c,a):A(28,!0):d.exportChart(c)};a=function(){return[].some.call(d.container.getElementsByTagName("image"), | ||
function(a){a=a.getAttribute("href");return""!==a&&0!==a.indexOf("data:")})};b.isMS&&d.styledMode&&(g.prototype.inlineWhitelist=[/^blockSize/,/^border/,/^caretColor/,/^color/,/^columnRule/,/^columnRuleColor/,/^cssFloat/,/^cursor/,/^fill$/,/^fillOpacity/,/^font/,/^inlineSize/,/^length/,/^lineHeight/,/^opacity/,/^outline/,/^parentRule/,/^rx$/,/^ry$/,/^stroke/,/^textAlign/,/^textAnchor/,/^textDecoration/,/^transform/,/^vectorEffect/,/^visibility/,/^x$/,/^y$/]);b.isMS&&("application/pdf"===c.type||d.container.getElementsByTagName("image").length&& | ||
"image/svg+xml"!==c.type)||"application/pdf"===c.type&&a()?h("Image type not supported for this chart/browser."):d.getSVGForLocalExport(c,f,h,function(a){-1<a.indexOf("<foreignObject")&&"image/svg+xml"!==c.type?h("Image type not supportedfor charts with embedded HTML"):e(a,M({filename:d.getFilename()},c),h)})};E(!0,D().exporting,{libURL:"https://code.highcharts.com/9.0.0/lib/",menuItemDefinitions:{downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChartLocal()}},downloadJPEG:{textKey:"downloadJPEG", | ||
onclick:function(){this.exportChartLocal({type:"image/jpeg"})}},downloadSVG:{textKey:"downloadSVG",onclick:function(){this.exportChartLocal({type:"image/svg+xml"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChartLocal({type:"application/pdf"})}}}});b.downloadSVGLocal=e});g(a,"masters/modules/offline-exporting.src.js",[],function(){})}); | ||
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/offline-exporting",["highcharts","highcharts/modules/exporting"],function(g){a(g);a.Highcharts=g;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function g(a,b,n,h){a.hasOwnProperty(b)||(a[b]=h.apply(null,n))}a=a?a._modules:{};g(a,"Extensions/DownloadURL.js",[a["Core/Globals.js"]],function(a){var b=a.win,n=b.document, | ||
h=b.URL||b.webkitURL||b,g=a.dataURLtoBlob=function(a){if((a=a.replace(/filename=.*;/,"").match(/data:([^;]*)(;base64)?,([0-9A-Za-z+/]+)/))&&3<a.length&&b.atob&&b.ArrayBuffer&&b.Uint8Array&&b.Blob&&h.createObjectURL){var q=b.atob(a[3]),l=new b.ArrayBuffer(q.length);l=new b.Uint8Array(l);for(var d=0;d<l.length;++d)l[d]=q.charCodeAt(d);a=new b.Blob([l],{type:a[1]});return h.createObjectURL(a)}};a=a.downloadURL=function(a,h){var l=b.navigator,d=n.createElement("a");if("string"===typeof a||a instanceof | ||
String||!l.msSaveOrOpenBlob){a=""+a;if(/Edge\/\d+/.test(l.userAgent)||2E6<a.length)if(a=g(a)||"",!a)throw Error("Failed to convert to blob");if("undefined"!==typeof d.download)d.href=a,d.download=h,n.body.appendChild(d),d.click(),n.body.removeChild(d);else try{var m=b.open(a,"chart");if("undefined"===typeof m||null===m)throw Error("Failed to open window");}catch(v){b.location.href=a}}else l.msSaveOrOpenBlob(a,h)};return{dataURLtoBlob:g,downloadURL:a}});g(a,"Extensions/OfflineExporting.js",[a["Core/Chart/Chart.js"], | ||
a["Core/Globals.js"],a["Core/Renderer/SVG/SVGRenderer.js"],a["Core/Utilities.js"],a["Extensions/DownloadURL.js"]],function(a,b,g,h,G){function q(a,b){var f=v.getElementsByTagName("head")[0],c=v.createElement("script");c.type="text/javascript";c.src=a;c.onload=b;c.onerror=function(){A("Error loading script "+a)};f.appendChild(c)}function n(a){var e=m.navigator.userAgent;e=-1<e.indexOf("WebKit")&&0>e.indexOf("Chrome");try{if(!e&&!b.isFirefox)return B.createObjectURL(new m.Blob([a],{type:"image/svg+xml;charset-utf-16"}))}catch(f){}return"data:image/svg+xml;charset=UTF-8,"+ | ||
encodeURIComponent(a)}function l(a,b,f,c,H,p,h,d,l){var k=new m.Image,e=function(){setTimeout(function(){var e=v.createElement("canvas"),p=e.getContext&&e.getContext("2d");try{if(p){e.height=k.height*c;e.width=k.width*c;p.drawImage(k,0,0,e.width,e.height);try{var w=e.toDataURL(b);H(w,b,f,c)}catch(D){g(a,b,f,c)}}else h(a,b,f,c)}finally{l&&l(a,b,f,c)}},I)},C=function(){d(a,b,f,c);l&&l(a,b,f,c)};var g=function(){k=new m.Image;g=p;k.crossOrigin="Anonymous";k.onload=e;k.onerror=C;k.src=a};k.onload=e;k.onerror= | ||
C;k.src=a}function d(a,b,f,c){function e(a,b){var c=a.width.baseVal.value+2*b;b=a.height.baseVal.value+2*b;c=new m.jsPDF(b>c?"p":"l","pt",[c,b]);[].forEach.call(a.querySelectorAll('*[visibility="hidden"]'),function(a){a.parentNode.removeChild(a)});b=a.querySelectorAll("linearGradient");for(var f=0;f<b.length;f++)for(var d=b[f].querySelectorAll("stop"),e=0;e<d.length&&"0"===d[e].getAttribute("offset")&&"0"===d[e+1].getAttribute("offset");)d[e].remove(),e++;[].forEach.call(a.querySelectorAll("tspan"), | ||
function(a){"\u200b"===a.textContent&&(a.textContent=" ",a.setAttribute("dx",-5))});m.svg2pdf(a,c,{removeInvalid:!0});return c.output("datauristring")}function p(){g.innerHTML=a;var b=g.getElementsByTagName("text"),d;[].forEach.call(b,function(a){["font-family","font-size"].forEach(function(b){for(var c=a;c&&c!==g;){if(c.style[b]){a.style[b]=c.style[b];break}c=c.parentNode}});a.style["font-family"]=a.style["font-family"]&&a.style["font-family"].split(" ").splice(-1);d=a.getElementsByTagName("title"); | ||
[].forEach.call(d,function(b){a.removeChild(b)})});b=e(g.firstChild,0);try{y(b,x),c&&c()}catch(J){f(J)}}var h=!0,d=b.libURL||E().exporting.libURL,g=v.createElement("div"),k=b.type||"image/png",x=(b.filename||"chart")+"."+("image/svg+xml"===k?"svg":k.split("/")[1]),z=b.scale||1;d="/"!==d.slice(-1)?d+"/":d;if("image/svg+xml"===k)try{if("undefined"!==typeof m.navigator.msSaveOrOpenBlob){var u=new MSBlobBuilder;u.append(a);var r=u.getBlob("image/svg+xml")}else r=n(a);y(r,x);c&&c()}catch(w){f(w)}else if("application/pdf"=== | ||
k)m.jsPDF&&m.svg2pdf?p():(h=!0,q(d+"jspdf.js",function(){q(d+"svg2pdf.js",function(){p()})}));else{r=n(a);var t=function(){try{B.revokeObjectURL(r)}catch(w){}};l(r,k,{},z,function(a){try{y(a,x),c&&c()}catch(D){f(D)}},function(){var b=v.createElement("canvas"),e=b.getContext("2d"),p=a.match(/^<svg[^>]*width\s*=\s*"?(\d+)"?[^>]*>/)[1]*z,g=a.match(/^<svg[^>]*height\s*=\s*"?(\d+)"?[^>]*>/)[1]*z,l=function(){e.drawSvg(a,0,0,p,g);try{y(m.navigator.msSaveOrOpenBlob?b.msToBlob():b.toDataURL(k),x),c&&c()}catch(K){f(K)}finally{t()}}; | ||
b.width=p;b.height=g;m.canvg?l():(h=!0,q(d+"rgbcolor.js",function(){q(d+"canvg.js",function(){l()})}))},f,f,function(){h&&t()})}}var m=b.win,v=b.doc,L=h.addEvent,A=h.error,M=h.extend,N=h.fireEvent,E=h.getOptions,F=h.merge,y=G.downloadURL,B=m.URL||m.webkitURL||m,I=b.isMS?150:0;b.CanVGRenderer={};a.prototype.getSVGForLocalExport=function(a,b,f,c){var d=this,e=0,g,h,m,k,n=function(){e===u.length&&c(d.sanitizeSVG(g.innerHTML,h))},q=function(a,b,c){++e;c.imageElement.setAttributeNS("http://www.w3.org/1999/xlink", | ||
"href",a);n()};d.unbindGetSVG=L(d,"getSVG",function(a){h=a.chartCopy.options;g=a.chartCopy.container.cloneNode(!0)});d.getSVGForExport(a,b);var u=g.getElementsByTagName("image");try{if(!u.length){c(d.sanitizeSVG(g.innerHTML,h));return}var r=0;for(m=u.length;r<m;++r){var t=u[r];(k=t.getAttributeNS("http://www.w3.org/1999/xlink","href"))?l(k,"image/png",{imageElement:t},a.scale,q,f,f,f):(++e,t.parentNode.removeChild(t),n())}}catch(w){f(w)}d.unbindGetSVG()};a.prototype.exportChartLocal=function(a,h){var f= | ||
this,c=F(f.options.exporting,a),e=function(a){!1===c.fallbackToExportServer?c.error?c.error(c,a):A(28,!0):f.exportChart(c)};a=function(){return[].some.call(f.container.getElementsByTagName("image"),function(a){a=a.getAttribute("href");return""!==a&&0!==a.indexOf("data:")})};b.isMS&&f.styledMode&&(g.prototype.inlineWhitelist=[/^blockSize/,/^border/,/^caretColor/,/^color/,/^columnRule/,/^columnRuleColor/,/^cssFloat/,/^cursor/,/^fill$/,/^fillOpacity/,/^font/,/^inlineSize/,/^length/,/^lineHeight/,/^opacity/, | ||
/^outline/,/^parentRule/,/^rx$/,/^ry$/,/^stroke/,/^textAlign/,/^textAnchor/,/^textDecoration/,/^transform/,/^vectorEffect/,/^visibility/,/^x$/,/^y$/]);b.isMS&&("application/pdf"===c.type||f.container.getElementsByTagName("image").length&&"image/svg+xml"!==c.type)||"application/pdf"===c.type&&a()?e("Image type not supported for this chart/browser."):f.getSVGForLocalExport(c,h,e,function(a){-1<a.indexOf("<foreignObject")&&"image/svg+xml"!==c.type?e("Image type not supportedfor charts with embedded HTML"): | ||
d(a,M({filename:f.getFilename()},c),e,function(){return N(f,"exportChartLocalSuccess")})})};F(!0,E().exporting,{libURL:"https://code.highcharts.com/9.0.1/lib/",menuItemDefinitions:{downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChartLocal()}},downloadJPEG:{textKey:"downloadJPEG",onclick:function(){this.exportChartLocal({type:"image/jpeg"})}},downloadSVG:{textKey:"downloadSVG",onclick:function(){this.exportChartLocal({type:"image/svg+xml"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChartLocal({type:"application/pdf"})}}}}); | ||
b.downloadSVGLocal=d});g(a,"masters/modules/offline-exporting.src.js",[],function(){})}); | ||
//# sourceMappingURL=offline-exporting.js.map |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* Client side exporting module | ||
* | ||
* (c) 2015-2019 Torstein Honsi / Oystein Moseng | ||
* (c) 2015-2021 Torstein Honsi / Oystein Moseng | ||
* | ||
@@ -157,2 +157,3 @@ * License: www.highcharts.com/license | ||
extend = U.extend, | ||
fireEvent = U.fireEvent, | ||
getOptions = U.getOptions, | ||
@@ -371,2 +372,11 @@ merge = U.merge; | ||
} | ||
// Workaround for #15135, zero width spaces, which Highcharts uses to | ||
// break lines, are not correctly rendered in PDF. Replace it with a | ||
// regular space and offset by some pixels to compensate. | ||
[].forEach.call(svgElement.querySelectorAll('tspan'), function (tspan) { | ||
if (tspan.textContent === '\u200B') { | ||
tspan.textContent = ' '; | ||
tspan.setAttribute('dx', -5); | ||
} | ||
}); | ||
win.svg2pdf(svgElement, pdf, { removeInvalid: true }); | ||
@@ -672,3 +682,3 @@ return pdf.output('datauristring'); | ||
else { | ||
downloadSVGLocal(svg, extend({ filename: chart.getFilename() }, options), fallbackToExportServer); | ||
downloadSVGLocal(svg, extend({ filename: chart.getFilename() }, options), fallbackToExportServer, function () { return fireEvent(chart, 'exportChartLocalSuccess'); }); | ||
} | ||
@@ -735,3 +745,3 @@ }, | ||
merge(true, getOptions().exporting, { | ||
libURL: 'https://code.highcharts.com/9.0.0/lib/', | ||
libURL: 'https://code.highcharts.com/9.0.1/lib/', | ||
// When offline-exporting is loaded, redefine the menu item definitions | ||
@@ -738,0 +748,0 @@ // related to download. |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Old IE (v6, v7, v8) array polyfills for Highcharts v7+. | ||
(c) 2010-2019 Highsoft AS | ||
(c) 2010-2021 Highsoft AS | ||
Author: Torstein Honsi | ||
@@ -8,0 +8,0 @@ |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* Old IE (v6, v7, v8) array polyfills for Highcharts v7+. | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* Author: Torstein Honsi | ||
@@ -8,0 +8,0 @@ * |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Old IE (v6, v7, v8) module for Highcharts v6+. | ||
(c) 2010-2019 Highsoft AS | ||
(c) 2010-2021 Highsoft AS | ||
Author: Torstein Honsi | ||
@@ -39,3 +39,3 @@ | ||
a);a.css({zIndex:a.zIndex});return a};g.arc3dPath=d.arc3dPath;p.compose(a)};return g}()});C(a,"Extensions/Oldie/Oldie.js",[a["Core/Chart/Chart.js"],a["Core/Color/Color.js"],a["Core/Globals.js"],a["Core/Color/Palette.js"],a["Core/Pointer.js"],a["Core/Renderer/SVG/SVGElement.js"],a["Core/Renderer/SVG/SVGRenderer3D.js"],a["Core/Utilities.js"],a["Extensions/Oldie/VMLRenderer3D.js"]],function(a,D,p,x,g,t,n,d,I){var m=D.parse,h=p.deg2rad,f=p.doc,C=p.noop,B=p.svg,H=p.win,r=d.addEvent,M=d.createElement,J= | ||
d.css,F=d.defined,K=d.discardElement,O=d.erase,G=d.extend;D=d.extendClass;var P=d.getOptions,z=d.isArray,S=d.isNumber,b=d.isObject,u=d.pick,v=d.pInt,q=d.uniqueKey;P().global.VMLRadialGradientURL="http://code.highcharts.com/9.0.0/gfx/vml-radial-gradient.png";f&&!f.defaultView&&(p.getStyle=d.getStyle=function(c,a){var e={width:"clientWidth",height:"clientHeight"}[a];if(c.style[a])return v(c.style[a]);"opacity"===a&&(a="filter");if(e)return c.style.zoom=1,Math.max(c[e]-2*d.getStyle(c,"padding"),0);c= | ||
d.css,F=d.defined,K=d.discardElement,O=d.erase,G=d.extend;D=d.extendClass;var P=d.getOptions,z=d.isArray,S=d.isNumber,b=d.isObject,u=d.pick,v=d.pInt,q=d.uniqueKey;P().global.VMLRadialGradientURL="http://code.highcharts.com/9.0.1/gfx/vml-radial-gradient.png";f&&!f.defaultView&&(p.getStyle=d.getStyle=function(c,a){var e={width:"clientWidth",height:"clientHeight"}[a];if(c.style[a])return v(c.style[a]);"opacity"===a&&(a="filter");if(e)return c.style.zoom=1,Math.max(c[e]-2*d.getStyle(c,"padding"),0);c= | ||
c.currentStyle[a.replace(/\-(\w)/g,function(a,c){return c.toUpperCase()})];"filter"===a&&(c=c.replace(/alpha\(opacity=([0-9]+)\)/,function(c,a){return a/100}));return""===c?1:v(c)});B||(r(t,"afterInit",function(){"text"===this.element.nodeName&&this.css({position:"absolute"})}),g.prototype.normalize=function(a,e){a=a||H.event;a.target||(a.target=a.srcElement);e||(this.chartPosition=e=this.getChartPosition());return G(a,{chartX:Math.round(Math.max(a.x,a.clientX-e.left)),chartY:Math.round(a.y)})},a.prototype.ieSanitizeSVG= | ||
@@ -42,0 +42,0 @@ function(a){return a=a.replace(/<IMG /g,"<image ").replace(/<(\/?)TITLE>/g,"<$1title>").replace(/height=([^" ]+)/g,'height="$1"').replace(/width=([^" ]+)/g,'width="$1"').replace(/hc-svg-href="([^"]+)">/g,'xlink:href="$1"/>').replace(/ id=([^" >]+)/g,' id="$1"').replace(/class=([^" >]+)/g,'class="$1"').replace(/ transform /g," ").replace(/:(path|rect)/g,"$1").replace(/style="([^"]+)"/g,function(a){return a.toLowerCase()})},a.prototype.isReadyToRender=function(){var a=this;return B||H!=H.top||"complete"=== |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Organization chart series type | ||
(c) 2019-2019 Torstein Honsi | ||
(c) 2019-2021 Torstein Honsi | ||
@@ -7,0 +7,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* Organization chart series type | ||
* | ||
* (c) 2019-2019 Torstein Honsi | ||
* (c) 2019-2021 Torstein Honsi | ||
* | ||
@@ -7,0 +7,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
(c) 2009-2019 Torstein Honsi | ||
(c) 2009-2021 Torstein Honsi | ||
@@ -6,0 +6,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -6,0 +6,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Support for parallel coordinates in Highcharts | ||
(c) 2010-2019 Pawel Fus | ||
(c) 2010-2021 Pawel Fus | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* Support for parallel coordinates in Highcharts | ||
* | ||
* (c) 2010-2019 Pawel Fus | ||
* (c) 2010-2021 Pawel Fus | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Pareto series type for Highcharts | ||
(c) 2010-2019 Sebastian Bochan | ||
(c) 2010-2021 Sebastian Bochan | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* Pareto series type for Highcharts | ||
* | ||
* (c) 2010-2019 Sebastian Bochan | ||
* (c) 2010-2021 Sebastian Bochan | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts Gantt JS v9.0.0 (2021-02-02) | ||
Highcharts Gantt JS v9.0.1 (2021-02-15) | ||
Pathfinder | ||
(c) 2016-2019 ystein Moseng | ||
(c) 2016-2021 ystein Moseng | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Module for adding patterns and images as point fills. | ||
(c) 2010-2019 Highsoft AS | ||
(c) 2010-2021 Highsoft AS | ||
Author: Torstein Hnsi, ystein Moseng | ||
@@ -8,0 +8,0 @@ |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* Module for adding patterns and images as point fills. | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* Author: Torstein Hønsi, Øystein Moseng | ||
@@ -8,0 +8,0 @@ * |
/* | ||
Highstock JS v9.0.0 (2021-02-02) | ||
Highstock JS v9.0.1 (2021-02-15) | ||
Advanced Highstock tools | ||
(c) 2010-2019 Highsoft AS | ||
(c) 2010-2021 Highsoft AS | ||
Author: Torstein Honsi | ||
@@ -8,0 +8,0 @@ |
/** | ||
* @license Highstock JS v9.0.0 (2021-02-02) | ||
* @license Highstock JS v9.0.1 (2021-02-16) | ||
* | ||
* Advanced Highstock tools | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* Author: Torstein Honsi | ||
@@ -8,0 +8,0 @@ * |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Highcharts 3D funnel module | ||
(c) 2010-2019 Kacper Madej | ||
(c) 2010-2021 Kacper Madej | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* Highcharts 3D funnel module | ||
* | ||
* (c) 2010-2019 Kacper Madej | ||
* (c) 2010-2021 Kacper Madej | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Sankey diagram module | ||
(c) 2010-2019 Torstein Honsi | ||
(c) 2010-2021 Torstein Honsi | ||
@@ -37,3 +37,3 @@ License: www.highcharts.com/license | ||
A(b.defaultOptions,{borderWidth:0,colorByPoint:!0,curveFactor:.33,dataLabels:{enabled:!0,backgroundColor:"none",crop:!1,nodeFormat:void 0,nodeFormatter:function(){return this.point.name},format:void 0,formatter:function(){},inside:!0},inactiveOtherPoints:!0,linkOpacity:.5,minLinkWidth:0,nodeWidth:20,nodePadding:10,showInLegend:!1,states:{hover:{linkOpacity:1},inactive:{linkOpacity:.1,opacity:.1,animation:{duration:50}}},tooltip:{followPointer:!0,headerFormat:'<span style="font-size: 10px">{series.name}</span><br/>', | ||
pointFormat:"{point.fromNode.name} \u2192 {point.toNode.name}: <b>{point.weight}</b><br/>",nodeFormat:"{point.name}: <b>{point.sum}</b><br/>"}});return f}(b);h(f.prototype,{animate:c.prototype.animate,createNode:k.createNode,destroy:k.destroy,forceDL:!0,invertable:!0,isCartesian:!1,orderNodes:!0,pointArrayMap:["from","to"],pointClass:l,searchPoint:g.noop,setData:k.setData});p.registerSeriesType("sankey",f);"";"";return f});r(d,"masters/modules/sankey.src.js",[],function(){})}); | ||
pointFormat:"{point.fromNode.name} \u2192 {point.toNode.name}: <b>{point.weight}</b><br/>",nodeFormat:"{point.name}: <b>{point.sum}</b><br/>"}});return f}(b);h(f.prototype,{animate:c.prototype.animate,createNode:k.createNode,destroy:k.destroy,forceDL:!0,invertible:!0,isCartesian:!1,orderNodes:!0,pointArrayMap:["from","to"],pointClass:l,searchPoint:g.noop,setData:k.setData});p.registerSeriesType("sankey",f);"";"";return f});r(d,"masters/modules/sankey.src.js",[],function(){})}); | ||
//# sourceMappingURL=sankey.js.map |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
(c) 2009-2019 Torstein Honsi | ||
(c) 2009-2021 Torstein Honsi | ||
@@ -6,0 +6,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -6,0 +6,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Solid angular gauge module | ||
(c) 2010-2019 Torstein Honsi | ||
(c) 2010-2021 Torstein Honsi | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* Solid angular gauge module | ||
* | ||
* (c) 2010-2019 Torstein Honsi | ||
* (c) 2010-2021 Torstein Honsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Sonification module | ||
(c) 2012-2019 ystein Moseng | ||
(c) 2012-2021 ystein Moseng | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/* | ||
Highcharts Gantt JS v9.0.0 (2021-02-02) | ||
Highcharts Gantt JS v9.0.1 (2021-02-15) | ||
StaticScale | ||
(c) 2016-2019 Torstein Honsi, Lars A. V. Cabrera | ||
(c) 2016-2021 Torstein Honsi, Lars A. V. Cabrera | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts Gantt JS v9.0.0 (2021-02-02) | ||
* @license Highcharts Gantt JS v9.0.1 (2021-02-16) | ||
* | ||
* StaticScale | ||
* | ||
* (c) 2016-2019 Torstein Honsi, Lars A. V. Cabrera | ||
* (c) 2016-2021 Torstein Honsi, Lars A. V. Cabrera | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Streamgraph module | ||
(c) 2010-2019 Torstein Honsi | ||
(c) 2010-2021 Torstein Honsi | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* Streamgraph module | ||
* | ||
* (c) 2010-2019 Torstein Honsi | ||
* (c) 2010-2021 Torstein Honsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
(c) 2016-2019 Highsoft AS | ||
(c) 2016-2021 Highsoft AS | ||
Authors: Jon Arild Nygard | ||
@@ -6,0 +6,0 @@ |
/* | ||
Highmaps JS v9.0.0 (2021-02-02) | ||
Highmaps JS v9.0.1 (2021-02-15) | ||
Tilemap module | ||
(c) 2010-2019 Highsoft AS | ||
(c) 2010-2021 Highsoft AS | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highmaps JS v9.0.0 (2021-02-02) | ||
* @license Highmaps JS v9.0.1 (2021-02-16) | ||
* | ||
* Tilemap module | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Timeline series | ||
(c) 2010-2019 Highsoft AS | ||
(c) 2010-2021 Highsoft AS | ||
Author: Daniel Studencki | ||
@@ -8,0 +8,0 @@ |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* Timeline series | ||
* | ||
* (c) 2010-2019 Highsoft AS | ||
* (c) 2010-2021 Highsoft AS | ||
* Author: Daniel Studencki | ||
@@ -561,2 +561,6 @@ * | ||
ignoreHiddenPoint: true, | ||
/** | ||
* @ignore | ||
* @private | ||
*/ | ||
legendType: 'point', | ||
@@ -563,0 +567,0 @@ lineWidth: 4, |
/* | ||
Highcharts Gantt JS v9.0.0 (2021-02-02) | ||
Highcharts Gantt JS v9.0.1 (2021-02-15) | ||
Tree Grid | ||
(c) 2016-2019 Jon Arild Nygard | ||
(c) 2016-2021 Jon Arild Nygard | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
(c) 2014-2019 Highsoft AS | ||
(c) 2014-2021 Highsoft AS | ||
Authors: Jon Arild Nygard / Oystein Moseng | ||
@@ -6,0 +6,0 @@ |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Variable Pie module for Highcharts | ||
(c) 2010-2019 Grzegorz Blachliski | ||
(c) 2010-2021 Grzegorz Blachliski | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* Variable Pie module for Highcharts | ||
* | ||
* (c) 2010-2019 Grzegorz Blachliński | ||
* (c) 2010-2021 Grzegorz Blachliński | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Highcharts variwide module | ||
(c) 2010-2019 Torstein Honsi | ||
(c) 2010-2021 Torstein Honsi | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* Highcharts variwide module | ||
* | ||
* (c) 2010-2019 Torstein Honsi | ||
* (c) 2010-2021 Torstein Honsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Vector plot series module | ||
(c) 2010-2019 Torstein Honsi | ||
(c) 2010-2021 Torstein Honsi | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* Vector plot series module | ||
* | ||
* (c) 2010-2019 Torstein Honsi | ||
* (c) 2010-2021 Torstein Honsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
(c) 2017-2019 Highsoft AS | ||
(c) 2017-2021 Highsoft AS | ||
Authors: Jon Arild Nygard | ||
@@ -19,3 +19,3 @@ | ||
[a["Mixins/DrawPoint.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,f,b){var q=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(b,c)};return function(b,c){function g(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(g.prototype=c.prototype,new g)}}(),t=b.extend,c=b.isNumber;f=function(a){function b(){var b= | ||
null!==a&&a.apply(this,arguments)||this;b.options=void 0;b.series=void 0;return b}q(b,a);b.prototype.isValid=function(){return c(this.value)};b.prototype.shouldDraw=function(){return!!this.shapeArgs};return b}(f.seriesTypes.scatter.prototype.pointClass);t(f.prototype,{draw:a.draw});return f});t(a,"Series/Venn/VennUtils.js",[a["Mixins/GeometryCircles.js"],a["Mixins/Geometry.js"],a["Mixins/NelderMead.js"],a["Core/Utilities.js"]],function(a,f,b,n){var q=a.getAreaOfCircle,c=a.getCircleCircleIntersection, | ||
null!==a&&a.apply(this,arguments)||this;b.options=void 0;b.series=void 0;return b}q(b,a);b.prototype.isValid=function(){return c(this.value)};b.prototype.shouldDraw=function(){return!!this.shapeArgs};return b}(f.seriesTypes.scatter.prototype.pointClass);t(f.prototype,{draw:a.drawPoint});return f});t(a,"Series/Venn/VennUtils.js",[a["Mixins/GeometryCircles.js"],a["Mixins/Geometry.js"],a["Mixins/NelderMead.js"],a["Core/Utilities.js"]],function(a,f,b,n){var q=a.getAreaOfCircle,c=a.getCircleCircleIntersection, | ||
k=a.getOverlapBetweenCircles,v=a.isPointInsideAllCircles,u=a.isPointInsideCircle,g=a.isPointOutsideAllCircles,m=f.getDistanceBetweenPoints,r=n.extend,e=n.isArray,l=n.isNumber,t=n.isObject,I=n.isString,A;(function(p){function n(a){var b=a.filter(function(a){return 2===a.sets.length}).reduce(function(a,b){b.sets.forEach(function(d,h,c){t(a[d])||(a[d]={overlapping:{},totalOverlap:0});a[d].totalOverlap+=b.value;a[d].overlapping[c[1-h]]=b.value});return a},{});a.filter(C).forEach(function(a){r(a,b[a.sets[0]])}); | ||
@@ -22,0 +22,0 @@ return a}function A(a,b,d,h,z){var c=a(b),F=a(d);z=z||100;h=h||1e-10;var e=d-b,g=1;if(b>=d)throw Error("a must be smaller than b.");if(0<c*F)throw Error("f(a) and f(b) must have opposite signs.");if(0===c)var w=b;else if(0===F)w=d;else for(;g++<=z&&0!==E&&e>h;){e=(d-b)/2;w=b+e;var E=a(w);0<c*E?b=w:d=w}return w}function B(a,b,d){var h=a+b;return 0>=d?h:q(a<b?a:b)<=d?0:A(function(h){h=k(a,b,h);return d-h},0,h)}function G(a){var b=0;2===a.length&&(b=a[0],a=a[1],b=k(b.r,a.r,m(b,a)));return b}function C(a){return e(a.sets)&& |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
Wind barb series module | ||
(c) 2010-2019 Torstein Honsi | ||
(c) 2010-2021 Torstein Honsi | ||
@@ -8,0 +8,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* Wind barb series module | ||
* | ||
* (c) 2010-2019 Torstein Honsi | ||
* (c) 2010-2021 Torstein Honsi | ||
* | ||
@@ -8,0 +8,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
(c) 2016-2019 Highsoft AS | ||
(c) 2016-2021 Highsoft AS | ||
Authors: Jon Arild Nygard | ||
@@ -6,0 +6,0 @@ |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
X-range series | ||
(c) 2010-2019 Torstein Honsi, Lars A. V. Cabrera | ||
(c) 2010-2021 Torstein Honsi, Lars A. V. Cabrera | ||
@@ -11,16 +11,17 @@ License: www.highcharts.com/license | ||
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/xrange",["highcharts"],function(n){a(n);a.Highcharts=n;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function n(a,f,k,b){a.hasOwnProperty(f)||(a[f]=b.apply(null,k))}a=a?a._modules:{};n(a,"Series/XRange/XRangePoint.js",[a["Core/Series/Point.js"],a["Core/Series/SeriesRegistry.js"]],function(a,f){var k=this&&this.__extends|| | ||
function(){var a=function(b,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var b in d)d.hasOwnProperty(b)&&(a[b]=d[b])};return a(b,d)};return function(b,d){function r(){this.constructor=b}a(b,d);b.prototype=null===d?Object.create(d):(r.prototype=d.prototype,new r)}}();return function(b){function h(){var a=null!==b&&b.apply(this,arguments)||this;a.options=void 0;a.series=void 0;a.tooltipDateKeys=["x","x2"];return a}k(h,b);h.getColorByCategory= | ||
function(){var a=function(b,d){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var b in d)d.hasOwnProperty(b)&&(a[b]=d[b])};return a(b,d)};return function(b,d){function t(){this.constructor=b}a(b,d);b.prototype=null===d?Object.create(d):(t.prototype=d.prototype,new t)}}();return function(b){function h(){var a=null!==b&&b.apply(this,arguments)||this;a.options=void 0;a.series=void 0;a.tooltipDateKeys=["x","x2"];return a}k(h,b);h.getColorByCategory= | ||
function(a,b){var d=a.options.colors||a.chart.options.colors;a=b.y%(d?d.length:a.chart.options.chart.colorCount);return{colorIndex:a,color:d&&d[a]}};h.prototype.resolveColor=function(){var a=this.series;if(a.options.colorByPoint&&!this.options.color){var b=h.getColorByCategory(a,this);a.chart.styledMode||(this.color=b.color);this.options.colorIndex||(this.colorIndex=b.colorIndex)}else this.color||(this.color=a.color)};h.prototype.init=function(){a.prototype.init.apply(this,arguments);this.y||(this.y= | ||
0);return this};h.prototype.setState=function(){a.prototype.setState.apply(this,arguments);this.series.drawPoint(this,this.series.getAnimationVerb())};h.prototype.getLabelConfig=function(){var b=a.prototype.getLabelConfig.call(this),h=this.series.yAxis.categories;b.x2=this.x2;b.yCategory=this.yCategory=h&&h[this.y];return b};h.prototype.isValid=function(){return"number"===typeof this.x&&"number"===typeof this.x2};return h}(f.seriesTypes.column.prototype.pointClass)});n(a,"Series/XRange/XRangeComposition.js", | ||
[a["Core/Axis/Axis.js"],a["Core/Utilities.js"]],function(a,f){var k=f.addEvent,b=f.pick;k(a,"afterGetSeriesExtremes",function(){var a=this.series,d;if(this.isXAxis){var f=b(this.dataMax,-Number.MAX_VALUE);a.forEach(function(a){a.x2Data&&a.x2Data.forEach(function(a){a>f&&(f=a,d=!0)})});d&&(this.dataMax=f)}})});n(a,"Series/XRange/XRangeSeries.js",[a["Core/Globals.js"],a["Core/Color/Color.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"],a["Series/XRange/XRangePoint.js"]],function(a,f,k, | ||
b,h){var d=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,a){c.__proto__=a}||function(c,a){for(var b in a)a.hasOwnProperty(b)&&(c[b]=a[b])};return a(b,c)};return function(b,c){function A(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(A.prototype=c.prototype,new A)}}(),n=f.parse,z=k.series,p=k.seriesTypes.column,B=p.prototype,v=b.clamp,D=b.correctFloat,E=b.defined;f=b.extend;var C=b.find,t=b.isNumber,w=b.isObject, | ||
u=b.merge,x=b.pick;b=function(a){function b(){var c=null!==a&&a.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}d(b,a);b.prototype.init=function(){p.prototype.init.apply(this,arguments);this.options.stacking=void 0};b.prototype.getColumnMetrics=function(){function c(){a.series.forEach(function(c){var a=c.xAxis;c.xAxis=c.yAxis;c.yAxis=a})}var a=this.chart;c();var b=B.getColumnMetrics.call(this);c();return b};b.prototype.cropData=function(c,a,b,d){a=z.prototype.cropData.call(this, | ||
this.x2Data,a,b,d);a.xData=c.slice(a.start,a.end);return a};b.prototype.findPointIndex=function(a){var c=this.cropped,b=this.cropStart,d=this.points,e=a.id;if(e)var g=(g=C(d,function(a){return a.id===e}))?g.index:void 0;"undefined"===typeof g&&(g=(g=C(d,function(c){return c.x===a.x&&c.x2===a.x2&&!c.touched}))?g.index:void 0);c&&t(g)&&t(b)&&g>=b&&(g-=b);return g};b.prototype.translatePoint=function(a){var b,c,d=this.xAxis,e=this.yAxis,g=this.columnMetrics,m=this.options,f=m.minPointLength||0,h=(null=== | ||
(b=a.shapeArgs)||void 0===b?NaN:b.width)/2,n=this.pointXOffset=g.offset;b=a.plotX;var k=x(a.x2,a.x+(a.len||0)),l=d.translate(k,0,0,0,1);k=Math.abs(l-b);var q=this.chart.inverted,p=x(m.borderWidth,1)%2/2,r=g.offset,y=Math.round(g.width);f&&(f-=k,0>f&&(f=0),b-=f/2,l+=f/2);b=Math.max(b,-10);l=v(l,-10,d.len+10);E(a.options.pointWidth)&&(r-=(Math.ceil(a.options.pointWidth)-y)/2,y=Math.ceil(a.options.pointWidth));m.pointPlacement&&t(a.plotY)&&e.categories&&(a.plotY=e.translate(a.y,0,1,0,1,m.pointPlacement)); | ||
a.shapeArgs={x:Math.floor(Math.min(b,l))+p,y:Math.floor(a.plotY+r)+p,width:Math.round(Math.abs(l-b)),height:y,r:this.options.borderRadius};q?a.tooltipPos[1]+=n+h:a.tooltipPos[0]-=h+n-(null===(c=a.shapeArgs)||void 0===c?NaN:c.width)/2;c=a.shapeArgs.x;m=c+a.shapeArgs.width;0>c||m>d.len?(c=v(c,0,d.len),m=v(m,0,d.len),h=m-c,a.dlBox=u(a.shapeArgs,{x:c,width:m-c,centerX:h?h/2:null})):a.dlBox=null;c=a.tooltipPos;m=q?1:0;h=q?0:1;g=this.columnMetrics?this.columnMetrics.offset:-g.width/2;c[m]=q?c[m]+a.shapeArgs.width/ | ||
2:c[m]+(d.reversed?-1:0)*a.shapeArgs.width;c[h]=v(c[h]+(q?-1:1)*g,0,e.len-1);if(g=a.partialFill)w(g)&&(g=g.amount),t(g)||(g=0),e=a.shapeArgs,a.partShapeArgs={x:e.x,y:e.y,width:e.width,height:e.height,r:this.options.borderRadius},b=Math.max(Math.round(k*g+a.plotX-b),0),a.clipRectArgs={x:d.reversed?e.x+k-b:e.x,y:e.y,width:b,height:e.height}};b.prototype.translate=function(){B.translate.apply(this,arguments);this.points.forEach(function(a){this.translatePoint(a)},this)};b.prototype.drawPoint=function(a, | ||
b){var c=this.options,d=this.chart.renderer,e=a.graphic,g=a.shapeType,h=a.shapeArgs,f=a.partShapeArgs,k=a.clipRectArgs,p=a.partialFill,r=c.stacking&&!c.borderRadius,l=a.state,q=c.states[l||"normal"]||{},t="undefined"===typeof l?"attr":b;l=this.pointAttribs(a,l);q=x(this.chart.options.chart.animation,q.animation);if(a.isNull||!1===a.visible)e&&(a.graphic=e.destroy());else{if(e)e.rect[b](h);else a.graphic=e=d.g("point").addClass(a.getClassName()).add(a.group||this.group),e.rect=d[g](u(h)).addClass(a.getClassName()).addClass("highcharts-partfill-original").add(e); | ||
f&&(e.partRect?(e.partRect[b](u(f)),e.partialClipRect[b](u(k))):(e.partialClipRect=d.clipRect(k.x,k.y,k.width,k.height),e.partRect=d[g](f).addClass("highcharts-partfill-overlay").add(e).clip(e.partialClipRect)));this.chart.styledMode||(e.rect[b](l,q).shadow(c.shadow,null,r),f&&(w(p)||(p={}),w(c.partialFill)&&(p=u(c.partialFill,p)),a=p.fill||n(l.fill).brighten(-.3).get()||n(a.color||this.color).brighten(-.3).get(),l.fill=a,e.partRect[t](l,q).shadow(c.shadow,null,r)))}};b.prototype.drawPoints=function(){var a= | ||
this,b=a.getAnimationVerb();a.points.forEach(function(c){a.drawPoint(c,b)})};b.prototype.getAnimationVerb=function(){return this.chart.pointCount<(this.options.animationLimit||250)?"animate":"attr"};b.defaultOptions=u(p.defaultOptions,{colorByPoint:!0,dataLabels:{formatter:function(){var a=this.point.partialFill;w(a)&&(a=a.amount);if(t(a)&&0<a)return D(100*a)+"%"},inside:!0,verticalAlign:"middle"},tooltip:{headerFormat:'<span style="font-size: 10px">{point.x} - {point.x2}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.yCategory}</b><br/>'}, | ||
borderRadius:3,pointRange:0});return b}(p);f(b.prototype,{type:"xrange",parallelArrays:["x","x2","y"],requireSorting:!1,animate:z.prototype.animate,cropShoulder:1,getExtremesFromAll:!0,autoIncrement:a.noop,buildKDTree:a.noop,pointClass:h});k.registerSeriesType("xrange",b);"";return b});n(a,"masters/modules/xrange.src.js",[],function(){})}); | ||
b,h){var d=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,a){c.__proto__=a}||function(c,a){for(var b in a)a.hasOwnProperty(b)&&(c[b]=a[b])};return a(b,c)};return function(b,c){function r(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(r.prototype=c.prototype,new r)}}(),n=f.parse,A=k.series,p=k.seriesTypes.column,B=p.prototype,w=b.clamp,D=b.correctFloat,E=b.defined;f=b.extend;var C=b.find,v=b.isNumber,x=b.isObject, | ||
u=b.merge,y=b.pick;b=function(a){function b(){var c=null!==a&&a.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}d(b,a);b.prototype.init=function(){p.prototype.init.apply(this,arguments);this.options.stacking=void 0};b.prototype.getColumnMetrics=function(){function c(){a.series.forEach(function(c){var a=c.xAxis;c.xAxis=c.yAxis;c.yAxis=a})}var a=this.chart;c();var b=B.getColumnMetrics.call(this);c();return b};b.prototype.cropData=function(c,a,b,d){a=A.prototype.cropData.call(this, | ||
this.x2Data,a,b,d);a.xData=c.slice(a.start,a.end);return a};b.prototype.findPointIndex=function(c){var a=this.cropped,b=this.cropStart,d=this.points,e=c.id;if(e)var g=(g=C(d,function(a){return a.id===e}))?g.index:void 0;"undefined"===typeof g&&(g=(g=C(d,function(a){return a.x===c.x&&a.x2===c.x2&&!a.touched}))?g.index:void 0);a&&v(g)&&v(b)&&g>=b&&(g-=b);return g};b.prototype.translatePoint=function(a){var b,c,d=this.xAxis,e=this.yAxis,g=this.columnMetrics,m=this.options,f=m.minPointLength||0,h=(null=== | ||
(b=a.shapeArgs)||void 0===b?NaN:b.width)/2,n=this.pointXOffset=g.offset;b=a.plotX;var k=y(a.x2,a.x+(a.len||0)),l=d.translate(k,0,0,0,1);k=Math.abs(l-b);var q=this.chart.inverted,p=y(m.borderWidth,1)%2/2,t=g.offset,z=Math.round(g.width);f&&(f-=k,0>f&&(f=0),b-=f/2,l+=f/2);b=Math.max(b,-10);l=w(l,-10,d.len+10);E(a.options.pointWidth)&&(t-=(Math.ceil(a.options.pointWidth)-z)/2,z=Math.ceil(a.options.pointWidth));m.pointPlacement&&v(a.plotY)&&e.categories&&(a.plotY=e.translate(a.y,0,1,0,1,m.pointPlacement)); | ||
a.shapeArgs={x:Math.floor(Math.min(b,l))+p,y:Math.floor(a.plotY+t)+p,width:Math.round(Math.abs(l-b)),height:z,r:this.options.borderRadius};q?a.tooltipPos[1]+=n+h:a.tooltipPos[0]-=h+n-(null===(c=a.shapeArgs)||void 0===c?NaN:c.width)/2;c=a.shapeArgs.x;m=c+a.shapeArgs.width;0>c||m>d.len?(c=w(c,0,d.len),m=w(m,0,d.len),h=m-c,a.dlBox=u(a.shapeArgs,{x:c,width:m-c,centerX:h?h/2:null})):a.dlBox=null;c=a.tooltipPos;m=q?1:0;h=q?0:1;g=this.columnMetrics?this.columnMetrics.offset:-g.width/2;c[m]=q?c[m]+a.shapeArgs.width/ | ||
2:c[m]+(d.reversed?-1:0)*a.shapeArgs.width;c[h]=w(c[h]+(q?-1:1)*g,0,e.len-1);if(g=a.partialFill)x(g)&&(g=g.amount),v(g)||(g=0),e=a.shapeArgs,a.partShapeArgs={x:e.x,y:e.y,width:e.width,height:e.height,r:this.options.borderRadius},b=Math.max(Math.round(k*g+a.plotX-b),0),a.clipRectArgs={x:d.reversed?e.x+k-b:e.x,y:e.y,width:b,height:e.height}};b.prototype.translate=function(){B.translate.apply(this,arguments);this.points.forEach(function(a){this.translatePoint(a)},this)};b.prototype.drawPoint=function(a, | ||
b){var c=this.options,d=this.chart.renderer,e=a.graphic,g=a.shapeType,h=a.shapeArgs,f=a.partShapeArgs,k=a.clipRectArgs,r=a.partialFill,p=c.stacking&&!c.borderRadius,l=a.state,q=c.states[l||"normal"]||{},t="undefined"===typeof l?"attr":b;l=this.pointAttribs(a,l);q=y(this.chart.options.chart.animation,q.animation);if(a.isNull||!1===a.visible)e&&(a.graphic=e.destroy());else{if(e)e.rect[b](h);else a.graphic=e=d.g("point").addClass(a.getClassName()).add(a.group||this.group),e.rect=d[g](u(h)).addClass(a.getClassName()).addClass("highcharts-partfill-original").add(e); | ||
f&&(e.partRect?(e.partRect[b](u(f)),e.partialClipRect[b](u(k))):(e.partialClipRect=d.clipRect(k.x,k.y,k.width,k.height),e.partRect=d[g](f).addClass("highcharts-partfill-overlay").add(e).clip(e.partialClipRect)));this.chart.styledMode||(e.rect[b](l,q).shadow(c.shadow,null,p),f&&(x(r)||(r={}),x(c.partialFill)&&(r=u(c.partialFill,r)),a=r.fill||n(l.fill).brighten(-.3).get()||n(a.color||this.color).brighten(-.3).get(),l.fill=a,e.partRect[t](l,q).shadow(c.shadow,null,p)))}};b.prototype.drawPoints=function(){var a= | ||
this,b=a.getAnimationVerb();a.points.forEach(function(c){a.drawPoint(c,b)})};b.prototype.getAnimationVerb=function(){return this.chart.pointCount<(this.options.animationLimit||250)?"animate":"attr"};b.prototype.isPointInside=function(b){var c=b.shapeArgs,d=b.plotX,f=b.plotY;return c?"undefined"!==typeof d&&"undefined"!==typeof f&&0<=f&&f<=this.yAxis.len&&0<=c.x+c.width&&d<=this.xAxis.len:a.prototype.isPointInside.apply(this,arguments)};b.defaultOptions=u(p.defaultOptions,{colorByPoint:!0,dataLabels:{formatter:function(){var a= | ||
this.point.partialFill;x(a)&&(a=a.amount);if(v(a)&&0<a)return D(100*a)+"%"},inside:!0,verticalAlign:"middle"},tooltip:{headerFormat:'<span style="font-size: 10px">{point.x} - {point.x2}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.yCategory}</b><br/>'},borderRadius:3,pointRange:0});return b}(p);f(b.prototype,{type:"xrange",parallelArrays:["x","x2","y"],requireSorting:!1,animate:A.prototype.animate,cropShoulder:1,getExtremesFromAll:!0,autoIncrement:a.noop, | ||
buildKDTree:a.noop,pointClass:h});k.registerSeriesType("xrange",b);"";return b});n(a,"masters/modules/xrange.src.js",[],function(){})}); | ||
//# sourceMappingURL=xrange.js.map |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* X-range series | ||
* | ||
* (c) 2010-2019 Torstein Honsi, Lars A. V. Cabrera | ||
* (c) 2010-2021 Torstein Honsi, Lars A. V. Cabrera | ||
* | ||
@@ -725,2 +725,21 @@ * License: www.highcharts.com/license | ||
}; | ||
/** | ||
* @private | ||
* @function Highcharts.XRangeSeries#isPointInside | ||
*/ | ||
XRangeSeries.prototype.isPointInside = function (point) { | ||
var shapeArgs = point.shapeArgs, | ||
plotX = point.plotX, | ||
plotY = point.plotY; | ||
if (!shapeArgs) { | ||
return _super.prototype.isPointInside.apply(this, arguments); | ||
} | ||
var isInside = typeof plotX !== 'undefined' && | ||
typeof plotY !== 'undefined' && | ||
plotY >= 0 && | ||
plotY <= this.yAxis.len && | ||
shapeArgs.x + shapeArgs.width >= 0 && | ||
plotX <= this.xAxis.len; | ||
return isInside; | ||
}; | ||
/* * | ||
@@ -727,0 +746,0 @@ * |
@@ -5,3 +5,3 @@ { | ||
"homepage": "http://www.highcharts.com", | ||
"version": "9.0.0", | ||
"version": "9.0.1", | ||
"author": "Highsoft AS <support@highcharts.com> (http://www.highcharts.com/about)", | ||
@@ -8,0 +8,0 @@ "main": "highcharts.js", |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
(c) 2009-2019 Highsoft AS | ||
(c) 2009-2021 Highsoft AS | ||
@@ -6,0 +6,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* (c) 2009-2019 Highsoft AS | ||
* (c) 2009-2021 Highsoft AS | ||
* | ||
@@ -6,0 +6,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
(c) 2009-2019 Torstein Honsi | ||
(c) 2009-2021 Torstein Honsi | ||
@@ -6,0 +6,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -6,0 +6,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
(c) 2009-2019 Torstein Honsi | ||
(c) 2009-2021 Torstein Honsi | ||
@@ -6,0 +6,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -6,0 +6,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
(c) 2009-2019 Torstein Honsi | ||
(c) 2009-2021 Torstein Honsi | ||
@@ -6,0 +6,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -6,0 +6,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
(c) 2009-2019 Torstein Honsi | ||
(c) 2009-2021 Torstein Honsi | ||
@@ -6,0 +6,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -6,0 +6,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
(c) 2009-2019 Torstein Honsi | ||
(c) 2009-2021 Torstein Honsi | ||
@@ -6,0 +6,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -6,0 +6,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
(c) 2009-2019 Torstein Honsi | ||
(c) 2009-2021 Torstein Honsi | ||
@@ -6,0 +6,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -6,0 +6,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
(c) 2009-2019 Highsoft AS | ||
(c) 2009-2021 Highsoft AS | ||
@@ -6,0 +6,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* (c) 2009-2019 Highsoft AS | ||
* (c) 2009-2021 Highsoft AS | ||
* | ||
@@ -6,0 +6,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
(c) 2009-2019 Highsoft AS | ||
(c) 2009-2021 Highsoft AS | ||
@@ -6,0 +6,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* (c) 2009-2019 Highsoft AS | ||
* (c) 2009-2021 Highsoft AS | ||
* | ||
@@ -6,0 +6,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
(c) 2009-2019 Torstein Honsi | ||
(c) 2009-2021 Torstein Honsi | ||
@@ -6,0 +6,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -6,0 +6,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
(c) 2009-2019 Torstein Honsi | ||
(c) 2009-2021 Torstein Honsi | ||
@@ -6,0 +6,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* (c) 2009-2019 Torstein Honsi | ||
* (c) 2009-2021 Torstein Honsi | ||
* | ||
@@ -6,0 +6,0 @@ * License: www.highcharts.com/license |
/* | ||
Highcharts JS v9.0.0 (2021-02-02) | ||
Highcharts JS v9.0.1 (2021-02-15) | ||
(c) 2009-2019 Highsoft AS | ||
(c) 2009-2021 Highsoft AS | ||
@@ -6,0 +6,0 @@ License: www.highcharts.com/license |
/** | ||
* @license Highcharts JS v9.0.0 (2021-02-02) | ||
* @license Highcharts JS v9.0.1 (2021-02-16) | ||
* | ||
* (c) 2009-2019 Highsoft AS | ||
* (c) 2009-2021 Highsoft AS | ||
* | ||
@@ -6,0 +6,0 @@ * License: www.highcharts.com/license |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45257492
616723