daru-view 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (194) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +12 -0
  3. data/.rspec +4 -0
  4. data/.rubocop.yml +122 -0
  5. data/.simplecov +3 -0
  6. data/.travis.yml +18 -0
  7. data/CHANGELOG.md +21 -0
  8. data/CODE_OF_CONDUCT.md +74 -0
  9. data/CONTRIBUTING.md +53 -0
  10. data/Gemfile +11 -0
  11. data/LICENSE.txt +21 -0
  12. data/README.md +287 -0
  13. data/Rakefile +22 -0
  14. data/_config.yml +1 -0
  15. data/daru-view.gemspec +52 -0
  16. data/lib/assets/.keep +0 -0
  17. data/lib/daru/view.rb +127 -0
  18. data/lib/daru/view/adapters/datatables.rb +90 -0
  19. data/lib/daru/view/adapters/googlecharts.rb +180 -0
  20. data/lib/daru/view/adapters/googlecharts/data_table_iruby.rb +86 -0
  21. data/lib/daru/view/adapters/googlecharts/display.rb +54 -0
  22. data/lib/daru/view/adapters/googlecharts/iruby_notebook.rb +15 -0
  23. data/lib/daru/view/adapters/highcharts.rb +114 -0
  24. data/lib/daru/view/adapters/highcharts/core_ext/string.rb +10 -0
  25. data/lib/daru/view/adapters/highcharts/display.rb +58 -0
  26. data/lib/daru/view/adapters/highcharts/iruby_notebook.rb +29 -0
  27. data/lib/daru/view/adapters/highcharts/layout_helper_iruby.rb +76 -0
  28. data/lib/daru/view/adapters/js/googlecharts_js/google_visualr.js +44 -0
  29. data/lib/daru/view/adapters/js/googlecharts_js/loader.js +226 -0
  30. data/lib/daru/view/adapters/js/highcharts_js/adapters/mootools-adapter.js +13 -0
  31. data/lib/daru/view/adapters/js/highcharts_js/adapters/prototype-adapter.js +15 -0
  32. data/lib/daru/view/adapters/js/highcharts_js/highcharts-3d.js +74 -0
  33. data/lib/daru/view/adapters/js/highcharts_js/highcharts-more.js +64 -0
  34. data/lib/daru/view/adapters/js/highcharts_js/highcharts.js +399 -0
  35. data/lib/daru/view/adapters/js/highcharts_js/highstock.js +519 -0
  36. data/lib/daru/view/adapters/js/highcharts_js/modules/accessibility.js +48 -0
  37. data/lib/daru/view/adapters/js/highcharts_js/modules/annotations.js +14 -0
  38. data/lib/daru/view/adapters/js/highcharts_js/modules/boost.js +51 -0
  39. data/lib/daru/view/adapters/js/highcharts_js/modules/broken-axis.js +15 -0
  40. data/lib/daru/view/adapters/js/highcharts_js/modules/canvas-tools.js +133 -0
  41. data/lib/daru/view/adapters/js/highcharts_js/modules/data.js +26 -0
  42. data/lib/daru/view/adapters/js/highcharts_js/modules/drilldown.js +25 -0
  43. data/lib/daru/view/adapters/js/highcharts_js/modules/exporting.js +27 -0
  44. data/lib/daru/view/adapters/js/highcharts_js/modules/funnel.js +13 -0
  45. data/lib/daru/view/adapters/js/highcharts_js/modules/heatmap.js +25 -0
  46. data/lib/daru/view/adapters/js/highcharts_js/modules/no-data-to-display.js +12 -0
  47. data/lib/daru/view/adapters/js/highcharts_js/modules/offline-exporting.js +19 -0
  48. data/lib/daru/view/adapters/js/highcharts_js/modules/solid-gauge.js +14 -0
  49. data/lib/daru/view/adapters/js/highcharts_js/modules/treemap.js +31 -0
  50. data/lib/daru/view/adapters/js/highcharts_js/stock/adapters/mootools-adapter.js +13 -0
  51. data/lib/daru/view/adapters/js/highcharts_js/stock/adapters/prototype-adapter.js +15 -0
  52. data/lib/daru/view/adapters/js/highcharts_js/stock/highcharts-more.js +64 -0
  53. data/lib/daru/view/adapters/js/highcharts_js/stock/modules/exporting.js +27 -0
  54. data/lib/daru/view/adapters/js/highcharts_js/stock/modules/funnel.js +13 -0
  55. data/lib/daru/view/adapters/js/nyaplot_js/d3-downloadable.js +129 -0
  56. data/lib/daru/view/adapters/js/nyaplot_js/d3.min.js +5 -0
  57. data/lib/daru/view/adapters/js/nyaplot_js/nyaplot.js +5294 -0
  58. data/lib/daru/view/adapters/nyaplot.rb +62 -0
  59. data/lib/daru/view/adapters/nyaplot/display.rb +9 -0
  60. data/lib/daru/view/adapters/nyaplot/iruby_notebook.rb +22 -0
  61. data/lib/daru/view/app/rails/helpers/view_helper.rb +26 -0
  62. data/lib/daru/view/app/rails/railtie.rb +15 -0
  63. data/lib/daru/view/plot.rb +106 -0
  64. data/lib/daru/view/table.rb +99 -0
  65. data/lib/daru/view/templates/googlecharts/chart_div.erb +4 -0
  66. data/lib/daru/view/templates/googlecharts/init.inline.js.erb +16 -0
  67. data/lib/daru/view/templates/highcharts/init.inline.js.erb +16 -0
  68. data/lib/daru/view/templates/highcharts/static_html.erb +7 -0
  69. data/lib/daru/view/templates/nyaplot/init.inline.js.erb +16 -0
  70. data/lib/daru/view/templates/nyaplot/init_script.erb +3 -0
  71. data/lib/daru/view/version.rb +5 -0
  72. data/lib/tasks/.keep +0 -0
  73. data/lib/tasks/google_charts.rake +25 -0
  74. data/lib/tasks/high_charts.rake +60 -0
  75. data/lib/tasks/nyaplot.rake +25 -0
  76. data/spec/adapters/datatables_spec.rb +21 -0
  77. data/spec/adapters/googlecharts_spec.rb +34 -0
  78. data/spec/adapters/highcharts_spec.rb +177 -0
  79. data/spec/adapters/nyaplot_spec.rb +447 -0
  80. data/spec/app/rails/helpers/view_helpers_spec.rb +35 -0
  81. data/spec/dummy_iruby/.ipynb_checkpoints/Daru DataFrame and DataTables-checkpoint.ipynb +16091 -0
  82. data/spec/dummy_iruby/.ipynb_checkpoints/DataTables | basic examples-checkpoint.ipynb +6 -0
  83. data/spec/dummy_iruby/.ipynb_checkpoints/Google Chart | Line Chart-checkpoint.ipynb +1389 -0
  84. data/spec/dummy_iruby/.ipynb_checkpoints/Google Chart | Area Chart-checkpoint.ipynb +606 -0
  85. data/spec/dummy_iruby/.ipynb_checkpoints/Google Chart | Bar Chart-checkpoint.ipynb +1404 -0
  86. data/spec/dummy_iruby/.ipynb_checkpoints/Google Chart | Bubble Chart-checkpoint.ipynb +866 -0
  87. data/spec/dummy_iruby/.ipynb_checkpoints/Google Chart | Candlestick Chart-checkpoint.ipynb +607 -0
  88. data/spec/dummy_iruby/.ipynb_checkpoints/Google Chart | Combo Chart-checkpoint.ipynb +478 -0
  89. data/spec/dummy_iruby/.ipynb_checkpoints/Google Chart | Histogram-checkpoint.ipynb +1182 -0
  90. data/spec/dummy_iruby/.ipynb_checkpoints/Google Chart | Org Chart-checkpoint.ipynb +6 -0
  91. data/spec/dummy_iruby/.ipynb_checkpoints/Google Chart | Pie Chart-checkpoint.ipynb +6 -0
  92. data/spec/dummy_iruby/.ipynb_checkpoints/Google Chart | Stepped Area Chart-checkpoint.ipynb +699 -0
  93. data/spec/dummy_iruby/.ipynb_checkpoints/Google Chart | Timeline-checkpoint.ipynb +1523 -0
  94. data/spec/dummy_iruby/.ipynb_checkpoints/Google Chart | Treemap-checkpoint.ipynb +650 -0
  95. data/spec/dummy_iruby/.ipynb_checkpoints/Google Chart | gauge-checkpoint.ipynb +477 -0
  96. data/spec/dummy_iruby/.ipynb_checkpoints/Google Charts | Basics-checkpoint.ipynb +1881 -0
  97. data/spec/dummy_iruby/.ipynb_checkpoints/Google Charts | Column Charts-checkpoint.ipynb +6 -0
  98. data/spec/dummy_iruby/.ipynb_checkpoints/Google Charts | Geo Charts examples-checkpoint.ipynb +791 -0
  99. data/spec/dummy_iruby/.ipynb_checkpoints/Google Charts | Scatter Chart-checkpoint.ipynb +1570 -0
  100. data/spec/dummy_iruby/.ipynb_checkpoints/GoolgeChart | Datatables-checkpoint.ipynb +1792 -0
  101. data/spec/dummy_iruby/.ipynb_checkpoints/HighCharts - Area chart-checkpoint.ipynb +1272 -0
  102. data/spec/dummy_iruby/.ipynb_checkpoints/HighCharts - Bar Chart-checkpoint.ipynb +877 -0
  103. data/spec/dummy_iruby/.ipynb_checkpoints/HighCharts - column charts-checkpoint.ipynb +1587 -0
  104. data/spec/dummy_iruby/.ipynb_checkpoints/HighCharts- Pie charts-checkpoint.ipynb +1126 -0
  105. data/spec/dummy_iruby/.ipynb_checkpoints/Highcharts - Combinations -checkpoint.ipynb +925 -0
  106. data/spec/dummy_iruby/.ipynb_checkpoints/Highcharts - Daynamic charts-checkpoint.ipynb +839 -0
  107. data/spec/dummy_iruby/.ipynb_checkpoints/Highcharts - line graphs-checkpoint.ipynb +1297 -0
  108. data/spec/dummy_iruby/.ipynb_checkpoints/Highcharts - line graphs2-checkpoint.ipynb +879 -0
  109. data/spec/dummy_iruby/.ipynb_checkpoints/Highcharts - scatter -bubble charts-checkpoint.ipynb +1071 -0
  110. data/spec/dummy_iruby/.ipynb_checkpoints/Highcharts | add_series method and highcharts examples-checkpoint.ipynb +1165 -0
  111. data/spec/dummy_iruby/.ipynb_checkpoints/Nyaplot basics | Daru Examples-checkpoint.ipynb +1383 -0
  112. data/spec/dummy_iruby/.ipynb_checkpoints/Nyaplot other examples-checkpoint.ipynb +6 -0
  113. data/spec/dummy_iruby/.ipynb_checkpoints/Nyaplot testing -checkpoint.ipynb +270 -0
  114. data/spec/dummy_iruby/.ipynb_checkpoints/Nyaplot | Creating Visualizations with DataFrame | from daru examples-checkpoint.ipynb +1716 -0
  115. data/spec/dummy_iruby/.ipynb_checkpoints/Pie Chart using HighCharts2-checkpoint.ipynb +784 -0
  116. data/spec/dummy_iruby/.ipynb_checkpoints/highcharts - Use HTML table (generated from daru) as data source-checkpoint.ipynb +956 -0
  117. data/spec/dummy_iruby/.ipynb_checkpoints/spec_testing-checkpoint.ipynb +1433 -0
  118. data/spec/dummy_iruby/Daru DataFrame and DataTables.ipynb +16091 -0
  119. data/spec/dummy_iruby/DataTables | basic examples.ipynb +15587 -0
  120. data/spec/dummy_iruby/Gemfile +33 -0
  121. data/spec/dummy_iruby/Google Chart | Line Chart.ipynb +1389 -0
  122. data/spec/dummy_iruby/Google Chart | Area Chart.ipynb +606 -0
  123. data/spec/dummy_iruby/Google Chart | Bar Chart.ipynb +1394 -0
  124. data/spec/dummy_iruby/Google Chart | Bubble Chart.ipynb +866 -0
  125. data/spec/dummy_iruby/Google Chart | Candlestick Chart.ipynb +607 -0
  126. data/spec/dummy_iruby/Google Chart | Combo Chart.ipynb +478 -0
  127. data/spec/dummy_iruby/Google Chart | Histogram.ipynb +1182 -0
  128. data/spec/dummy_iruby/Google Chart | Org Chart.ipynb +474 -0
  129. data/spec/dummy_iruby/Google Chart | Pie Chart.ipynb +1177 -0
  130. data/spec/dummy_iruby/Google Chart | Stepped Area Chart.ipynb +699 -0
  131. data/spec/dummy_iruby/Google Chart | Timeline.ipynb +1523 -0
  132. data/spec/dummy_iruby/Google Chart | Treemap.ipynb +659 -0
  133. data/spec/dummy_iruby/Google Chart | gauge.ipynb +477 -0
  134. data/spec/dummy_iruby/Google Charts | Basics.ipynb +1882 -0
  135. data/spec/dummy_iruby/Google Charts | Column Charts.ipynb +1138 -0
  136. data/spec/dummy_iruby/Google Charts | Geo Charts examples.ipynb +791 -0
  137. data/spec/dummy_iruby/Google Charts | Scatter Chart.ipynb +1570 -0
  138. data/spec/dummy_iruby/GoolgeChart | Datatables.ipynb +1801 -0
  139. data/spec/dummy_iruby/HighCharts - Area chart.ipynb +1272 -0
  140. data/spec/dummy_iruby/HighCharts - Bar Chart.ipynb +877 -0
  141. data/spec/dummy_iruby/HighCharts - column charts.ipynb +1587 -0
  142. data/spec/dummy_iruby/HighCharts- Pie charts.ipynb +1197 -0
  143. data/spec/dummy_iruby/Highcharts - Combinations .ipynb +925 -0
  144. data/spec/dummy_iruby/Highcharts - Daynamic charts.ipynb +839 -0
  145. data/spec/dummy_iruby/Highcharts - line graphs.ipynb +1297 -0
  146. data/spec/dummy_iruby/Highcharts - line graphs2.ipynb +879 -0
  147. data/spec/dummy_iruby/Highcharts - scatter -bubble charts.ipynb +1071 -0
  148. data/spec/dummy_iruby/Highcharts | add_series method and highcharts examples.ipynb +1228 -0
  149. data/spec/dummy_iruby/Nyaplot basics | Daru Examples.ipynb +1390 -0
  150. data/spec/dummy_iruby/Nyaplot other examples.ipynb +589 -0
  151. data/spec/dummy_iruby/Nyaplot testing .ipynb +270 -0
  152. data/spec/dummy_iruby/Nyaplot | Creating Visualizations with DataFrame | from daru examples.ipynb +1716 -0
  153. data/spec/dummy_iruby/Pie Chart using HighCharts2.ipynb +784 -0
  154. data/spec/dummy_iruby/highcharts - Use HTML table (generated from daru) as data source.ipynb +951 -0
  155. data/spec/dummy_iruby/spec_testing.ipynb +1433 -0
  156. data/spec/dummy_nanoc/Gemfile +12 -0
  157. data/spec/dummy_nanoc/README.md +40 -0
  158. data/spec/dummy_nanoc/Rules +90 -0
  159. data/spec/dummy_nanoc/content/googlecharts/index.html +29 -0
  160. data/spec/dummy_nanoc/content/highcharts/index.html +42 -0
  161. data/spec/dummy_nanoc/content/index.html +26 -0
  162. data/spec/dummy_nanoc/content/nyaplot/index.html +9 -0
  163. data/spec/dummy_nanoc/content/stylesheet.css +101 -0
  164. data/spec/dummy_nanoc/layouts/default.html +31 -0
  165. data/spec/dummy_nanoc/layouts/googlecharts_layout.html +30 -0
  166. data/spec/dummy_nanoc/layouts/highcharts_layout.html +30 -0
  167. data/spec/dummy_nanoc/layouts/nyaplot_layout.html +30 -0
  168. data/spec/dummy_nanoc/lib/default.rb +300 -0
  169. data/spec/dummy_nanoc/nanoc.yaml +90 -0
  170. data/spec/dummy_nanoc/output/googlecharts/index.html +390 -0
  171. data/spec/dummy_nanoc/output/highcharts/index.html +1153 -0
  172. data/spec/dummy_nanoc/output/index.html +87 -0
  173. data/spec/dummy_nanoc/output/nyaplot/index.html +135 -0
  174. data/spec/dummy_nanoc/output/stylesheet.css +101 -0
  175. data/spec/dummy_nanoc/tmp/nanoc/1029d67644815/checksums +0 -0
  176. data/spec/dummy_nanoc/tmp/nanoc/1029d67644815/compiled_content +2229 -0
  177. data/spec/dummy_nanoc/tmp/nanoc/1029d67644815/dependencies +5 -0
  178. data/spec/dummy_nanoc/tmp/nanoc/1029d67644815/outdatedness +0 -0
  179. data/spec/dummy_nanoc/tmp/nanoc/1029d67644815/rule_memory +0 -0
  180. data/spec/dummy_sinatra/Gemfile +9 -0
  181. data/spec/dummy_sinatra/README.md +15 -0
  182. data/spec/dummy_sinatra/app.rb +143 -0
  183. data/spec/dummy_sinatra/config.ru +0 -0
  184. data/spec/dummy_sinatra/views/googlecharts.erb +31 -0
  185. data/spec/dummy_sinatra/views/googlecharts_layout.erb +12 -0
  186. data/spec/dummy_sinatra/views/highcharts.erb +15 -0
  187. data/spec/dummy_sinatra/views/highcharts_layout.erb +12 -0
  188. data/spec/dummy_sinatra/views/index.erb +2 -0
  189. data/spec/dummy_sinatra/views/layout.erb +26 -0
  190. data/spec/dummy_sinatra/views/nyaplot.erb +13 -0
  191. data/spec/dummy_sinatra/views/nyaplot_layout.erb +14 -0
  192. data/spec/plot_spec.rb +86 -0
  193. data/spec/spec_helper.rb +11 -0
  194. metadata +568 -0
@@ -0,0 +1,925 @@
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 1,
6
+ "metadata": {
7
+ "collapsed": false
8
+ },
9
+ "outputs": [
10
+ {
11
+ "name": "stderr",
12
+ "output_type": "stream",
13
+ "text": [
14
+ "\n",
15
+ "Install the spreadsheet gem version ~>1.1.1 for using spreadsheet functions.\n",
16
+ "\n",
17
+ "Install the mechanize gem version ~>2.7.5 for using mechanize functions.\n"
18
+ ]
19
+ },
20
+ {
21
+ "data": {
22
+ "text/plain": [
23
+ "true"
24
+ ]
25
+ },
26
+ "execution_count": 1,
27
+ "metadata": {},
28
+ "output_type": "execute_result"
29
+ }
30
+ ],
31
+ "source": [
32
+ "require 'daru/view'"
33
+ ]
34
+ },
35
+ {
36
+ "cell_type": "code",
37
+ "execution_count": 2,
38
+ "metadata": {
39
+ "collapsed": false
40
+ },
41
+ "outputs": [
42
+ {
43
+ "data": {
44
+ "application/javascript": [
45
+ "\n",
46
+ " /* BEGIN highcharts.js */\n",
47
+ "\n",
48
+ "/*\n",
49
+ " Highcharts JS v5.0.12 (2017-05-24)\n",
50
+ "\n",
51
+ " (c) 2009-2016 Torstein Honsi\n",
52
+ "\n",
53
+ " License: www.highcharts.com/license\n",
54
+ "*/\n",
55
+ "(function(K,S){\"object\"===typeof module&&module.exports?module.exports=K.document?S(K):S:K.Highcharts=S(K)})(\"undefined\"!==typeof window?window:this,function(K){K=function(){var a=window,C=a.document,A=a.navigator&&a.navigator.userAgent||\"\",G=C&&C.createElementNS&&!!C.createElementNS(\"http://www.w3.org/2000/svg\",\"svg\").createSVGRect,F=/(edge|msie|trident)/i.test(A)&&!window.opera,m=!G,g=/Firefox/.test(A),k=g&&4>parseInt(A.split(\"Firefox/\")[1],10);return a.Highcharts?a.Highcharts.error(16,!0):{product:\"Highcharts\",\n",
56
+ "version:\"5.0.12\",deg2rad:2*Math.PI/360,doc:C,hasBidiBug:k,hasTouch:C&&void 0!==C.documentElement.ontouchstart,isMS:F,isWebKit:/AppleWebKit/.test(A),isFirefox:g,isTouchDevice:/(Mobile|Android|Windows Phone)/.test(A),SVG_NS:\"http://www.w3.org/2000/svg\",chartCount:0,seriesTypes:{},symbolSizes:{},svg:G,vml:m,win:a,marginNames:[\"plotTop\",\"marginRight\",\"marginBottom\",\"plotLeft\"],noop:function(){},charts:[]}}();(function(a){var C=[],A=a.charts,G=a.doc,F=a.win;a.error=function(m,g){m=a.isNumber(m)?\"Highcharts error #\"+\n",
57
+ "m+\": www.highcharts.com/errors/\"+m:m;if(g)throw Error(m);F.console&&console.log(m)};a.Fx=function(a,g,k){this.options=g;this.elem=a;this.prop=k};a.Fx.prototype={dSetter:function(){var a=this.paths[0],g=this.paths[1],k=[],q=this.now,v=a.length,u;if(1===q)k=this.toD;else if(v===g.length&&1>q)for(;v--;)u=parseFloat(a[v]),k[v]=isNaN(u)?a[v]:q*parseFloat(g[v]-u)+u;else k=g;this.elem.attr(\"d\",k,null,!0)},update:function(){var a=this.elem,g=this.prop,k=this.now,q=this.options.step;if(this[g+\"Setter\"])this[g+\n",
58
+ "\"Setter\"]();else a.attr?a.element&&a.attr(g,k,null,!0):a.style[g]=k+this.unit;q&&q.call(a,k,this)},run:function(a,g,k){var m=this,v=function(a){return v.stopped?!1:m.step(a)},u;this.startTime=+new Date;this.start=a;this.end=g;this.unit=k;this.now=this.start;this.pos=0;v.elem=this.elem;v.prop=this.prop;v()&&1===C.push(v)&&(v.timerId=setInterval(function(){for(u=0;u<C.length;u++)C[u]()||C.splice(u--,1);C.length||clearInterval(v.timerId)},13))},step:function(m){var g=+new Date,k,q=this.options,v=this.elem,\n",
59
+ "u=q.complete,h=q.duration,e=q.curAnim;v.attr&&!v.element?m=!1:m||g>=h+this.startTime?(this.now=this.end,this.pos=1,this.update(),k=e[this.prop]=!0,a.objectEach(e,function(a){!0!==a&&(k=!1)}),k&&u&&u.call(v),m=!1):(this.pos=q.easing((g-this.startTime)/h),this.now=this.start+(this.end-this.start)*this.pos,this.update(),m=!0);return m},initPath:function(m,g,k){function q(a){var b,l;for(y=a.length;y--;)b=\"M\"===a[y]||\"L\"===a[y],l=/[a-zA-Z]/.test(a[y+3]),b&&l&&a.splice(y+1,0,a[y+1],a[y+2],a[y+1],a[y+2])}\n",
60
+ "function v(a,b){for(;a.length<w;){a[0]=b[w-a.length];var l=a.slice(0,c);[].splice.apply(a,[0,0].concat(l));D&&(l=a.slice(a.length-c),[].splice.apply(a,[a.length,0].concat(l)),y--)}a[0]=\"M\"}function u(a,l){for(var r=(w-a.length)/c;0<r&&r--;)b=a.slice().splice(a.length/H-c,c*H),b[0]=l[w-c-r*c],d&&(b[c-6]=b[c-2],b[c-5]=b[c-1]),[].splice.apply(a,[a.length/H,0].concat(b)),D&&r--}g=g||\"\";var h,e=m.startX,n=m.endX,d=-1<g.indexOf(\"C\"),c=d?7:3,w,b,y;g=g.split(\" \");k=k.slice();var D=m.isArea,H=D?2:1,l;d&&(q(g),\n",
61
+ "q(k));if(e&&n){for(y=0;y<e.length;y++)if(e[y]===n[0]){h=y;break}else if(e[0]===n[n.length-e.length+y]){h=y;l=!0;break}void 0===h&&(g=[])}g.length&&a.isNumber(h)&&(w=k.length+h*H*c,l?(v(g,k),u(k,g)):(v(k,g),u(g,k)));return[g,k]}};a.Fx.prototype.fillSetter=a.Fx.prototype.strokeSetter=function(){this.elem.attr(this.prop,a.color(this.start).tweenTo(a.color(this.end),this.pos),null,!0)};a.extend=function(a,g){var m;a||(a={});for(m in g)a[m]=g[m];return a};a.merge=function(){var m,g=arguments,k,q={},v=\n",
62
+ "function(g,h){\"object\"!==typeof g&&(g={});a.objectEach(h,function(e,n){!a.isObject(e,!0)||a.isClass(e)||a.isDOMElement(e)?g[n]=h[n]:g[n]=v(g[n]||{},e)});return g};!0===g[0]&&(q=g[1],g=Array.prototype.slice.call(g,2));k=g.length;for(m=0;m<k;m++)q=v(q,g[m]);return q};a.pInt=function(a,g){return parseInt(a,g||10)};a.isString=function(a){return\"string\"===typeof a};a.isArray=function(a){a=Object.prototype.toString.call(a);return\"[object Array]\"===a||\"[object Array Iterator]\"===a};a.isObject=function(m,\n",
63
+ "g){return!!m&&\"object\"===typeof m&&(!g||!a.isArray(m))};a.isDOMElement=function(m){return a.isObject(m)&&\"number\"===typeof m.nodeType};a.isClass=function(m){var g=m&&m.constructor;return!(!a.isObject(m,!0)||a.isDOMElement(m)||!g||!g.name||\"Object\"===g.name)};a.isNumber=function(a){return\"number\"===typeof a&&!isNaN(a)};a.erase=function(a,g){for(var m=a.length;m--;)if(a[m]===g){a.splice(m,1);break}};a.defined=function(a){return void 0!==a&&null!==a};a.attr=function(m,g,k){var q;a.isString(g)?a.defined(k)?\n",
64
+ "m.setAttribute(g,k):m&&m.getAttribute&&(q=m.getAttribute(g)):a.defined(g)&&a.isObject(g)&&a.objectEach(g,function(a,g){m.setAttribute(g,a)});return q};a.splat=function(m){return a.isArray(m)?m:[m]};a.syncTimeout=function(a,g,k){if(g)return setTimeout(a,g,k);a.call(0,k)};a.pick=function(){var a=arguments,g,k,q=a.length;for(g=0;g<q;g++)if(k=a[g],void 0!==k&&null!==k)return k};a.css=function(m,g){a.isMS&&!a.svg&&g&&void 0!==g.opacity&&(g.filter=\"alpha(opacity\\x3d\"+100*g.opacity+\")\");a.extend(m.style,\n",
65
+ "g)};a.createElement=function(m,g,k,q,v){m=G.createElement(m);var u=a.css;g&&a.extend(m,g);v&&u(m,{padding:0,border:\"none\",margin:0});k&&u(m,k);q&&q.appendChild(m);return m};a.extendClass=function(m,g){var k=function(){};k.prototype=new m;a.extend(k.prototype,g);return k};a.pad=function(a,g,k){return Array((g||2)+1-String(a).length).join(k||0)+a};a.relativeLength=function(a,g){return/%$/.test(a)?g*parseFloat(a)/100:parseFloat(a)};a.wrap=function(a,g,k){var q=a[g];a[g]=function(){var a=Array.prototype.slice.call(arguments),\n",
66
+ "g=arguments,h=this;h.proceed=function(){q.apply(h,arguments.length?arguments:g)};a.unshift(q);a=k.apply(this,a);h.proceed=null;return a}};a.getTZOffset=function(m){var g=a.Date;return 6E4*(g.hcGetTimezoneOffset&&g.hcGetTimezoneOffset(m)||g.hcTimezoneOffset||0)};a.dateFormat=function(m,g,k){if(!a.defined(g)||isNaN(g))return a.defaultOptions.lang.invalidDate||\"\";m=a.pick(m,\"%Y-%m-%d %H:%M:%S\");var q=a.Date,v=new q(g-a.getTZOffset(g)),u=v[q.hcGetHours](),h=v[q.hcGetDay](),e=v[q.hcGetDate](),n=v[q.hcGetMonth](),\n",
67
+ "d=v[q.hcGetFullYear](),c=a.defaultOptions.lang,w=c.weekdays,b=c.shortWeekdays,y=a.pad,q=a.extend({a:b?b[h]:w[h].substr(0,3),A:w[h],d:y(e),e:y(e,2,\" \"),w:h,b:c.shortMonths[n],B:c.months[n],m:y(n+1),y:d.toString().substr(2,2),Y:d,H:y(u),k:u,I:y(u%12||12),l:u%12||12,M:y(v[q.hcGetMinutes]()),p:12>u?\"AM\":\"PM\",P:12>u?\"am\":\"pm\",S:y(v.getSeconds()),L:y(Math.round(g%1E3),3)},a.dateFormats);a.objectEach(q,function(a,b){for(;-1!==m.indexOf(\"%\"+b);)m=m.replace(\"%\"+b,\"function\"===typeof a?a(g):a)});return k?m.substr(0,\n",
68
+ "1).toUpperCase()+m.substr(1):m};a.formatSingle=function(m,g){var k=/\\.([0-9])/,q=a.defaultOptions.lang;/f$/.test(m)?(k=(k=m.match(k))?k[1]:-1,null!==g&&(g=a.numberFormat(g,k,q.decimalPoint,-1<m.indexOf(\",\")?q.thousandsSep:\"\"))):g=a.dateFormat(m,g);return g};a.format=function(m,g){for(var k=\"{\",q=!1,v,u,h,e,n=[],d;m;){k=m.indexOf(k);if(-1===k)break;v=m.slice(0,k);if(q){v=v.split(\":\");u=v.shift().split(\".\");e=u.length;d=g;for(h=0;h<e;h++)d=d[u[h]];v.length&&(d=a.formatSingle(v.join(\":\"),d));n.push(d)}else n.push(v);\n",
69
+ "m=m.slice(k+1);k=(q=!q)?\"}\":\"{\"}n.push(m);return n.join(\"\")};a.getMagnitude=function(a){return Math.pow(10,Math.floor(Math.log(a)/Math.LN10))};a.normalizeTickInterval=function(m,g,k,q,v){var u,h=m;k=a.pick(k,1);u=m/k;g||(g=v?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===q&&(1===k?g=a.grep(g,function(a){return 0===a%1}):.1>=k&&(g=[1/k])));for(q=0;q<g.length&&!(h=g[q],v&&h*k>=m||!v&&u<=(g[q]+(g[q+1]||g[q]))/2);q++);return h=a.correctFloat(h*k,-Math.round(Math.log(.001)/Math.LN10))};a.stableSort=\n",
70
+ "function(a,g){var k=a.length,q,m;for(m=0;m<k;m++)a[m].safeI=m;a.sort(function(a,h){q=g(a,h);return 0===q?a.safeI-h.safeI:q});for(m=0;m<k;m++)delete a[m].safeI};a.arrayMin=function(a){for(var g=a.length,k=a[0];g--;)a[g]<k&&(k=a[g]);return k};a.arrayMax=function(a){for(var g=a.length,k=a[0];g--;)a[g]>k&&(k=a[g]);return k};a.destroyObjectProperties=function(m,g){a.objectEach(m,function(a,q){a&&a!==g&&a.destroy&&a.destroy();delete m[q]})};a.discardElement=function(m){var g=a.garbageBin;g||(g=a.createElement(\"div\"));\n",
71
+ "m&&g.appendChild(m);g.innerHTML=\"\"};a.correctFloat=function(a,g){return parseFloat(a.toPrecision(g||14))};a.setAnimation=function(m,g){g.renderer.globalAnimation=a.pick(m,g.options.chart.animation,!0)};a.animObject=function(m){return a.isObject(m)?a.merge(m):{duration:m?500:0}};a.timeUnits={millisecond:1,second:1E3,minute:6E4,hour:36E5,day:864E5,week:6048E5,month:24192E5,year:314496E5};a.numberFormat=function(m,g,k,q){m=+m||0;g=+g;var v=a.defaultOptions.lang,u=(m.toString().split(\".\")[1]||\"\").length,\n",
72
+ "h,e;-1===g?g=Math.min(u,20):a.isNumber(g)||(g=2);e=(Math.abs(m)+Math.pow(10,-Math.max(g,u)-1)).toFixed(g);u=String(a.pInt(e));h=3<u.length?u.length%3:0;k=a.pick(k,v.decimalPoint);q=a.pick(q,v.thousandsSep);m=(0>m?\"-\":\"\")+(h?u.substr(0,h)+q:\"\");m+=u.substr(h).replace(/(\\d{3})(?=\\d)/g,\"$1\"+q);g&&(m+=k+e.slice(-g));return m};Math.easeInOutSine=function(a){return-.5*(Math.cos(Math.PI*a)-1)};a.getStyle=function(m,g,k){if(\"width\"===g)return Math.min(m.offsetWidth,m.scrollWidth)-a.getStyle(m,\"padding-left\")-\n",
73
+ "a.getStyle(m,\"padding-right\");if(\"height\"===g)return Math.min(m.offsetHeight,m.scrollHeight)-a.getStyle(m,\"padding-top\")-a.getStyle(m,\"padding-bottom\");if(m=F.getComputedStyle(m,void 0))m=m.getPropertyValue(g),a.pick(k,!0)&&(m=a.pInt(m));return m};a.inArray=function(a,g){return g.indexOf?g.indexOf(a):[].indexOf.call(g,a)};a.grep=function(a,g){return[].filter.call(a,g)};a.find=function(a,g){return[].find.call(a,g)};a.map=function(a,g){for(var k=[],q=0,m=a.length;q<m;q++)k[q]=g.call(a[q],a[q],q,a);\n",
74
+ "return k};a.offset=function(a){var g=G.documentElement;a=a.getBoundingClientRect();return{top:a.top+(F.pageYOffset||g.scrollTop)-(g.clientTop||0),left:a.left+(F.pageXOffset||g.scrollLeft)-(g.clientLeft||0)}};a.stop=function(a,g){for(var k=C.length;k--;)C[k].elem!==a||g&&g!==C[k].prop||(C[k].stopped=!0)};a.each=function(a,g,k){return Array.prototype.forEach.call(a,g,k)};a.objectEach=function(a,g,k){for(var q in a)a.hasOwnProperty(q)&&g.call(k,a[q],q,a)};a.addEvent=function(m,g,k){function q(a){a.target=\n",
75
+ "a.srcElement||F;k.call(m,a)}var v=m.hcEvents=m.hcEvents||{};m.addEventListener?m.addEventListener(g,k,!1):m.attachEvent&&(m.hcEventsIE||(m.hcEventsIE={}),m.hcEventsIE[k.toString()]=q,m.attachEvent(\"on\"+g,q));v[g]||(v[g]=[]);v[g].push(k);return function(){a.removeEvent(m,g,k)}};a.removeEvent=function(m,g,k){function q(a,d){m.removeEventListener?m.removeEventListener(a,d,!1):m.attachEvent&&(d=m.hcEventsIE[d.toString()],m.detachEvent(\"on\"+a,d))}function v(){var e,d;m.nodeName&&(g?(e={},e[g]=!0):e=h,\n",
76
+ "a.objectEach(e,function(a,e){if(h[e])for(d=h[e].length;d--;)q(e,h[e][d])}))}var u,h=m.hcEvents,e;h&&(g?(u=h[g]||[],k?(e=a.inArray(k,u),-1<e&&(u.splice(e,1),h[g]=u),q(g,k)):(v(),h[g]=[])):(v(),m.hcEvents={}))};a.fireEvent=function(m,g,k,q){var v;v=m.hcEvents;var u,h;k=k||{};if(G.createEvent&&(m.dispatchEvent||m.fireEvent))v=G.createEvent(\"Events\"),v.initEvent(g,!0,!0),a.extend(v,k),m.dispatchEvent?m.dispatchEvent(v):m.fireEvent(g,v);else if(v)for(v=v[g]||[],u=v.length,k.target||a.extend(k,{preventDefault:function(){k.defaultPrevented=\n",
77
+ "!0},target:m,type:g}),g=0;g<u;g++)(h=v[g])&&!1===h.call(m,k)&&k.preventDefault();q&&!k.defaultPrevented&&q(k)};a.animate=function(m,g,k){var q,v=\"\",u,h,e;a.isObject(k)||(e=arguments,k={duration:e[2],easing:e[3],complete:e[4]});a.isNumber(k.duration)||(k.duration=400);k.easing=\"function\"===typeof k.easing?k.easing:Math[k.easing]||Math.easeInOutSine;k.curAnim=a.merge(g);a.objectEach(g,function(e,d){a.stop(m,d);h=new a.Fx(m,k,d);u=null;\"d\"===d?(h.paths=h.initPath(m,m.d,g.d),h.toD=g.d,q=0,u=1):m.attr?\n",
78
+ "q=m.attr(d):(q=parseFloat(a.getStyle(m,d))||0,\"opacity\"!==d&&(v=\"px\"));u||(u=e);u&&u.match&&u.match(\"px\")&&(u=u.replace(/px/g,\"\"));h.run(q,u,v)})};a.seriesType=function(m,g,k,q,v){var u=a.getOptions(),h=a.seriesTypes;if(h[m])return a.error(27);u.plotOptions[m]=a.merge(u.plotOptions[g],k);h[m]=a.extendClass(h[g]||function(){},q);h[m].prototype.type=m;v&&(h[m].prototype.pointClass=a.extendClass(a.Point,v));return h[m]};a.uniqueKey=function(){var a=Math.random().toString(36).substring(2,9),g=0;return function(){return\"highcharts-\"+\n",
79
+ "a+\"-\"+g++}}();F.jQuery&&(F.jQuery.fn.highcharts=function(){var m=[].slice.call(arguments);if(this[0])return m[0]?(new (a[a.isString(m[0])?m.shift():\"Chart\"])(this[0],m[0],m[1]),this):A[a.attr(this[0],\"data-highcharts-chart\")]});G&&!G.defaultView&&(a.getStyle=function(m,g){var k={width:\"clientWidth\",height:\"clientHeight\"}[g];if(m.style[g])return a.pInt(m.style[g]);\"opacity\"===g&&(g=\"filter\");if(k)return m.style.zoom=1,Math.max(m[k]-2*a.getStyle(m,\"padding\"),0);m=m.currentStyle[g.replace(/\\-(\\w)/g,\n",
80
+ "function(a,g){return g.toUpperCase()})];\"filter\"===g&&(m=m.replace(/alpha\\(opacity=([0-9]+)\\)/,function(a,g){return g/100}));return\"\"===m?1:a.pInt(m)});Array.prototype.forEach||(a.each=function(a,g,k){for(var q=0,m=a.length;q<m;q++)if(!1===g.call(k,a[q],q,a))return q});Array.prototype.indexOf||(a.inArray=function(a,g){var k,q=0;if(g)for(k=g.length;q<k;q++)if(g[q]===a)return q;return-1});Array.prototype.filter||(a.grep=function(a,g){for(var k=[],q=0,m=a.length;q<m;q++)g(a[q],q)&&k.push(a[q]);return k});\n",
81
+ "Array.prototype.find||(a.find=function(a,g){var k,q=a.length;for(k=0;k<q;k++)if(g(a[k],k))return a[k]})})(K);(function(a){var C=a.each,A=a.isNumber,G=a.map,F=a.merge,m=a.pInt;a.Color=function(g){if(!(this instanceof a.Color))return new a.Color(g);this.init(g)};a.Color.prototype={parsers:[{regex:/rgba\\(\\s*([0-9]{1,3})\\s*,\\s*([0-9]{1,3})\\s*,\\s*([0-9]{1,3})\\s*,\\s*([0-9]?(?:\\.[0-9]+)?)\\s*\\)/,parse:function(a){return[m(a[1]),m(a[2]),m(a[3]),parseFloat(a[4],10)]}},{regex:/rgb\\(\\s*([0-9]{1,3})\\s*,\\s*([0-9]{1,3})\\s*,\\s*([0-9]{1,3})\\s*\\)/,\n",
82
+ "parse:function(a){return[m(a[1]),m(a[2]),m(a[3]),1]}}],names:{none:\"rgba(255,255,255,0)\",white:\"#ffffff\",black:\"#000000\"},init:function(g){var k,q,m,u;if((this.input=g=this.names[g&&g.toLowerCase?g.toLowerCase():\"\"]||g)&&g.stops)this.stops=G(g.stops,function(h){return new a.Color(h[1])});else if(g&&\"#\"===g[0]&&(k=g.length,g=parseInt(g.substr(1),16),7===k?q=[(g&16711680)>>16,(g&65280)>>8,g&255,1]:4===k&&(q=[(g&3840)>>4|(g&3840)>>8,(g&240)>>4|g&240,(g&15)<<4|g&15,1])),!q)for(m=this.parsers.length;m--&&\n",
83
+ "!q;)u=this.parsers[m],(k=u.regex.exec(g))&&(q=u.parse(k));this.rgba=q||[]},get:function(a){var g=this.input,q=this.rgba,m;this.stops?(m=F(g),m.stops=[].concat(m.stops),C(this.stops,function(g,h){m.stops[h]=[m.stops[h][0],g.get(a)]})):m=q&&A(q[0])?\"rgb\"===a||!a&&1===q[3]?\"rgb(\"+q[0]+\",\"+q[1]+\",\"+q[2]+\")\":\"a\"===a?q[3]:\"rgba(\"+q.join(\",\")+\")\":g;return m},brighten:function(a){var g,q=this.rgba;if(this.stops)C(this.stops,function(g){g.brighten(a)});else if(A(a)&&0!==a)for(g=0;3>g;g++)q[g]+=m(255*a),0>\n",
84
+ "q[g]&&(q[g]=0),255<q[g]&&(q[g]=255);return this},setOpacity:function(a){this.rgba[3]=a;return this},tweenTo:function(a,k){var g,m;a.rgba.length?(g=this.rgba,a=a.rgba,m=1!==a[3]||1!==g[3],a=(m?\"rgba(\":\"rgb(\")+Math.round(a[0]+(g[0]-a[0])*(1-k))+\",\"+Math.round(a[1]+(g[1]-a[1])*(1-k))+\",\"+Math.round(a[2]+(g[2]-a[2])*(1-k))+(m?\",\"+(a[3]+(g[3]-a[3])*(1-k)):\"\")+\")\"):a=a.input||\"none\";return a}};a.color=function(g){return new a.Color(g)}})(K);(function(a){var C,A,G=a.addEvent,F=a.animate,m=a.attr,g=a.charts,\n",
85
+ "k=a.color,q=a.css,v=a.createElement,u=a.defined,h=a.deg2rad,e=a.destroyObjectProperties,n=a.doc,d=a.each,c=a.extend,w=a.erase,b=a.grep,y=a.hasTouch,D=a.inArray,H=a.isArray,l=a.isFirefox,B=a.isMS,r=a.isObject,z=a.isString,M=a.isWebKit,p=a.merge,E=a.noop,I=a.objectEach,L=a.pick,f=a.pInt,t=a.removeEvent,R=a.stop,J=a.svg,N=a.SVG_NS,O=a.symbolSizes,P=a.win;C=a.SVGElement=function(){return this};c(C.prototype,{opacity:1,SVG_NS:N,textProps:\"direction fontSize fontWeight fontFamily fontStyle color lineHeight width textAlign textDecoration textOverflow textOutline\".split(\" \"),\n",
86
+ "init:function(a,f){this.element=\"span\"===f?v(f):n.createElementNS(this.SVG_NS,f);this.renderer=a},animate:function(x,f,t){f=a.animObject(L(f,this.renderer.globalAnimation,!0));0!==f.duration?(t&&(f.complete=t),F(this,x,f)):(this.attr(x,null,t),f.step&&f.step.call(this));return this},colorGradient:function(x,f,t){var b=this.renderer,l,c,r,Q,e,h,n,y,E,w,J=[],B;x.radialGradient?c=\"radialGradient\":x.linearGradient&&(c=\"linearGradient\");c&&(r=x[c],e=b.gradients,n=x.stops,w=t.radialReference,H(r)&&(x[c]=\n",
87
+ "r={x1:r[0],y1:r[1],x2:r[2],y2:r[3],gradientUnits:\"userSpaceOnUse\"}),\"radialGradient\"===c&&w&&!u(r.gradientUnits)&&(Q=r,r=p(r,b.getRadialAttr(w,Q),{gradientUnits:\"userSpaceOnUse\"})),I(r,function(a,x){\"id\"!==x&&J.push(x,a)}),I(n,function(a){J.push(a)}),J=J.join(\",\"),e[J]?w=e[J].attr(\"id\"):(r.id=w=a.uniqueKey(),e[J]=h=b.createElement(c).attr(r).add(b.defs),h.radAttr=Q,h.stops=[],d(n,function(x){0===x[1].indexOf(\"rgba\")?(l=a.color(x[1]),y=l.get(\"rgb\"),E=l.get(\"a\")):(y=x[1],E=1);x=b.createElement(\"stop\").attr({offset:x[0],\n",
88
+ "\"stop-color\":y,\"stop-opacity\":E}).add(h);h.stops.push(x)})),B=\"url(\"+b.url+\"#\"+w+\")\",t.setAttribute(f,B),t.gradient=J,x.toString=function(){return B})},applyTextOutline:function(x){var f=this.element,t,b,l,c,r;-1!==x.indexOf(\"contrast\")&&(x=x.replace(/contrast/g,this.renderer.getContrast(f.style.fill)));x=x.split(\" \");b=x[x.length-1];if((l=x[0])&&\"none\"!==l&&a.svg){this.fakeTS=!0;x=[].slice.call(f.getElementsByTagName(\"tspan\"));this.ySetter=this.xSetter;l=l.replace(/(^[\\d\\.]+)(.*?)$/g,function(a,\n",
89
+ "x,f){return 2*x+f});for(r=x.length;r--;)t=x[r],\"highcharts-text-outline\"===t.getAttribute(\"class\")&&w(x,f.removeChild(t));c=f.firstChild;d(x,function(a,x){0===x&&(a.setAttribute(\"x\",f.getAttribute(\"x\")),x=f.getAttribute(\"y\"),a.setAttribute(\"y\",x||0),null===x&&f.setAttribute(\"y\",0));a=a.cloneNode(1);m(a,{\"class\":\"highcharts-text-outline\",fill:b,stroke:b,\"stroke-width\":l,\"stroke-linejoin\":\"round\"});f.insertBefore(a,c)})}},attr:function(a,f,t,b){var x,l=this.element,c,r=this,d,p;\"string\"===typeof a&&\n",
90
+ "void 0!==f&&(x=a,a={},a[x]=f);\"string\"===typeof a?r=(this[a+\"Getter\"]||this._defaultGetter).call(this,a,l):(I(a,function(x,f){d=!1;b||R(this,f);this.symbolName&&/^(x|y|width|height|r|start|end|innerR|anchorX|anchorY)$/.test(f)&&(c||(this.symbolAttr(a),c=!0),d=!0);!this.rotation||\"x\"!==f&&\"y\"!==f||(this.doTransform=!0);d||(p=this[f+\"Setter\"]||this._defaultSetter,p.call(this,x,f,l),this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(f)&&this.updateShadows(f,x,p))},this),this.afterSetters());\n",
91
+ "t&&t();return r},afterSetters:function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},updateShadows:function(a,f,t){for(var x=this.shadows,b=x.length;b--;)t.call(x[b],\"height\"===a?Math.max(f-(x[b].cutHeight||0),0):\"d\"===a?this.d:f,a,x[b])},addClass:function(a,f){var x=this.attr(\"class\")||\"\";-1===x.indexOf(a)&&(f||(a=(x+(x?\" \":\"\")+a).replace(\" \",\" \")),this.attr(\"class\",a));return this},hasClass:function(a){return-1!==m(this.element,\"class\").indexOf(a)},removeClass:function(a){m(this.element,\n",
92
+ "\"class\",(m(this.element,\"class\")||\"\").replace(a,\"\"));return this},symbolAttr:function(a){var x=this;d(\"x y r start end width height innerR anchorX anchorY\".split(\" \"),function(f){x[f]=L(a[f],x[f])});x.attr({d:x.renderer.symbols[x.symbolName](x.x,x.y,x.width,x.height,x)})},clip:function(a){return this.attr(\"clip-path\",a?\"url(\"+this.renderer.url+\"#\"+a.id+\")\":\"none\")},crisp:function(a,f){var x=this,t={},b;f=f||a.strokeWidth||0;b=Math.round(f)%2/2;a.x=Math.floor(a.x||x.x||0)+b;a.y=Math.floor(a.y||x.y||\n",
93
+ "0)+b;a.width=Math.floor((a.width||x.width||0)-2*b);a.height=Math.floor((a.height||x.height||0)-2*b);u(a.strokeWidth)&&(a.strokeWidth=f);I(a,function(a,f){x[f]!==a&&(x[f]=t[f]=a)});return t},css:function(a){var x=this.styles,t={},b=this.element,l,r=\"\",d,p=!x,e=[\"textOutline\",\"textOverflow\",\"width\"];a&&a.color&&(a.fill=a.color);x&&I(a,function(a,f){a!==x[f]&&(t[f]=a,p=!0)});p&&(x&&(a=c(x,t)),l=this.textWidth=a&&a.width&&\"auto\"!==a.width&&\"text\"===b.nodeName.toLowerCase()&&f(a.width),this.styles=a,l&&\n",
94
+ "!J&&this.renderer.forExport&&delete a.width,B&&!J?q(this.element,a):(d=function(a,x){return\"-\"+x.toLowerCase()},I(a,function(a,x){-1===D(x,e)&&(r+=x.replace(/([A-Z])/g,d)+\":\"+a+\";\")}),r&&m(b,\"style\",r)),this.added&&(\"text\"===this.element.nodeName&&this.renderer.buildText(this),a&&a.textOutline&&this.applyTextOutline(a.textOutline)));return this},strokeWidth:function(){return this[\"stroke-width\"]||0},on:function(a,f){var x=this,t=x.element;y&&\"click\"===a?(t.ontouchstart=function(a){x.touchEventFired=\n",
95
+ "Date.now();a.preventDefault();f.call(t,a)},t.onclick=function(a){(-1===P.navigator.userAgent.indexOf(\"Android\")||1100<Date.now()-(x.touchEventFired||0))&&f.call(t,a)}):t[\"on\"+a]=f;return this},setRadialReference:function(a){var x=this.renderer.gradients[this.element.gradient];this.element.radialReference=a;x&&x.radAttr&&x.animate(this.renderer.getRadialAttr(a,x.radAttr));return this},translate:function(a,f){return this.attr({translateX:a,translateY:f})},invert:function(a){this.inverted=a;this.updateTransform();\n",
96
+ "return this},updateTransform:function(){var a=this.translateX||0,f=this.translateY||0,t=this.scaleX,b=this.scaleY,l=this.inverted,c=this.rotation,r=this.element;l&&(a+=this.width,f+=this.height);a=[\"translate(\"+a+\",\"+f+\")\"];l?a.push(\"rotate(90) scale(-1,1)\"):c&&a.push(\"rotate(\"+c+\" \"+(r.getAttribute(\"x\")||0)+\" \"+(r.getAttribute(\"y\")||0)+\")\");(u(t)||u(b))&&a.push(\"scale(\"+L(t,1)+\" \"+L(b,1)+\")\");a.length&&r.setAttribute(\"transform\",a.join(\" \"))},toFront:function(){var a=this.element;a.parentNode.appendChild(a);\n",
97
+ "return this},align:function(a,f,t){var x,b,l,c,r={};b=this.renderer;l=b.alignedObjects;var d,p;if(a){if(this.alignOptions=a,this.alignByTranslate=f,!t||z(t))this.alignTo=x=t||\"renderer\",w(l,this),l.push(this),t=null}else a=this.alignOptions,f=this.alignByTranslate,x=this.alignTo;t=L(t,b[x],b);x=a.align;b=a.verticalAlign;l=(t.x||0)+(a.x||0);c=(t.y||0)+(a.y||0);\"right\"===x?d=1:\"center\"===x&&(d=2);d&&(l+=(t.width-(a.width||0))/d);r[f?\"translateX\":\"x\"]=Math.round(l);\"bottom\"===b?p=1:\"middle\"===b&&(p=\n",
98
+ "2);p&&(c+=(t.height-(a.height||0))/p);r[f?\"translateY\":\"y\"]=Math.round(c);this[this.placed?\"animate\":\"attr\"](r);this.placed=!0;this.alignAttr=r;return this},getBBox:function(a,f){var x,t=this.renderer,b,l=this.element,r=this.styles,p,e=this.textStr,n,Q=t.cache,y=t.cacheKeys,E;f=L(f,this.rotation);b=f*h;p=r&&r.fontSize;void 0!==e&&(E=e.toString(),-1===E.indexOf(\"\\x3c\")&&(E=E.replace(/[0-9]/g,\"0\")),E+=[\"\",f||0,p,r&&r.width,r&&r.textOverflow].join());E&&!a&&(x=Q[E]);if(!x){if(l.namespaceURI===this.SVG_NS||\n",
99
+ "t.forExport){try{(n=this.fakeTS&&function(a){d(l.querySelectorAll(\".highcharts-text-outline\"),function(x){x.style.display=a})})&&n(\"none\"),x=l.getBBox?c({},l.getBBox()):{width:l.offsetWidth,height:l.offsetHeight},n&&n(\"\")}catch(X){}if(!x||0>x.width)x={width:0,height:0}}else x=this.htmlGetBBox();t.isSVG&&(a=x.width,t=x.height,r&&\"11px\"===r.fontSize&&17===Math.round(t)&&(x.height=t=14),f&&(x.width=Math.abs(t*Math.sin(b))+Math.abs(a*Math.cos(b)),x.height=Math.abs(t*Math.cos(b))+Math.abs(a*Math.sin(b))));\n",
100
+ "if(E&&0<x.height){for(;250<y.length;)delete Q[y.shift()];Q[E]||y.push(E);Q[E]=x}}return x},show:function(a){return this.attr({visibility:a?\"inherit\":\"visible\"})},hide:function(){return this.attr({visibility:\"hidden\"})},fadeOut:function(a){var x=this;x.animate({opacity:0},{duration:a||150,complete:function(){x.attr({y:-9999})}})},add:function(a){var x=this.renderer,f=this.element,t;a&&(this.parentGroup=a);this.parentInverted=a&&a.inverted;void 0!==this.textStr&&x.buildText(this);this.added=!0;if(!a||\n",
101
+ "a.handleZ||this.zIndex)t=this.zIndexSetter();t||(a?a.element:x.box).appendChild(f);if(this.onAdd)this.onAdd();return this},safeRemoveChild:function(a){var x=a.parentNode;x&&x.removeChild(a)},destroy:function(){var a=this,f=a.element||{},t=a.renderer.isSVG&&\"SPAN\"===f.nodeName&&a.parentGroup,b=f.ownerSVGElement;f.onclick=f.onmouseout=f.onmouseover=f.onmousemove=f.point=null;R(a);a.clipPath&&b&&(d(b.querySelectorAll(\"[clip-path]\"),function(x){-1<x.getAttribute(\"clip-path\").indexOf(a.clipPath.element.id+\n",
102
+ "\")\")&&x.removeAttribute(\"clip-path\")}),a.clipPath=a.clipPath.destroy());if(a.stops){for(b=0;b<a.stops.length;b++)a.stops[b]=a.stops[b].destroy();a.stops=null}a.safeRemoveChild(f);for(a.destroyShadows();t&&t.div&&0===t.div.childNodes.length;)f=t.parentGroup,a.safeRemoveChild(t.div),delete t.div,t=f;a.alignTo&&w(a.renderer.alignedObjects,a);I(a,function(x,f){delete a[f]});return null},shadow:function(a,f,t){var x=[],b,l,c=this.element,r,d,p,e;if(!a)this.destroyShadows();else if(!this.shadows){d=L(a.width,\n",
103
+ "3);p=(a.opacity||.15)/d;e=this.parentInverted?\"(-1,-1)\":\"(\"+L(a.offsetX,1)+\", \"+L(a.offsetY,1)+\")\";for(b=1;b<=d;b++)l=c.cloneNode(0),r=2*d+1-2*b,m(l,{isShadow:\"true\",stroke:a.color||\"#000000\",\"stroke-opacity\":p*b,\"stroke-width\":r,transform:\"translate\"+e,fill:\"none\"}),t&&(m(l,\"height\",Math.max(m(l,\"height\")-r,0)),l.cutHeight=r),f?f.element.appendChild(l):c.parentNode.insertBefore(l,c),x.push(l);this.shadows=x}return this},destroyShadows:function(){d(this.shadows||[],function(a){this.safeRemoveChild(a)},\n",
104
+ "this);this.shadows=void 0},xGetter:function(a){\"circle\"===this.element.nodeName&&(\"x\"===a?a=\"cx\":\"y\"===a&&(a=\"cy\"));return this._defaultGetter(a)},_defaultGetter:function(a){a=L(this[a],this.element?this.element.getAttribute(a):null,0);/^[\\-0-9\\.]+$/.test(a)&&(a=parseFloat(a));return a},dSetter:function(a,f,t){a&&a.join&&(a=a.join(\" \"));/(NaN| {2}|^$)/.test(a)&&(a=\"M 0 0\");t.setAttribute(f,a);this[f]=a},dashstyleSetter:function(a){var x,t=this[\"stroke-width\"];\"inherit\"===t&&(t=1);if(a=a&&a.toLowerCase()){a=\n",
105
+ "a.replace(\"shortdashdotdot\",\"3,1,1,1,1,1,\").replace(\"shortdashdot\",\"3,1,1,1\").replace(\"shortdot\",\"1,1,\").replace(\"shortdash\",\"3,1,\").replace(\"longdash\",\"8,3,\").replace(/dot/g,\"1,3,\").replace(\"dash\",\"4,3,\").replace(/,$/,\"\").split(\",\");for(x=a.length;x--;)a[x]=f(a[x])*t;a=a.join(\",\").replace(/NaN/g,\"none\");this.element.setAttribute(\"stroke-dasharray\",a)}},alignSetter:function(a){this.element.setAttribute(\"text-anchor\",{left:\"start\",center:\"middle\",right:\"end\"}[a])},opacitySetter:function(a,f,t){this[f]=\n",
106
+ "a;t.setAttribute(f,a)},titleSetter:function(a){var f=this.element.getElementsByTagName(\"title\")[0];f||(f=n.createElementNS(this.SVG_NS,\"title\"),this.element.appendChild(f));f.firstChild&&f.removeChild(f.firstChild);f.appendChild(n.createTextNode(String(L(a),\"\").replace(/<[^>]*>/g,\"\")))},textSetter:function(a){a!==this.textStr&&(delete this.bBox,this.textStr=a,this.added&&this.renderer.buildText(this))},fillSetter:function(a,f,t){\"string\"===typeof a?t.setAttribute(f,a):a&&this.colorGradient(a,f,t)},\n",
107
+ "visibilitySetter:function(a,f,t){\"inherit\"===a?t.removeAttribute(f):t.setAttribute(f,a)},zIndexSetter:function(a,t){var x=this.renderer,b=this.parentGroup,l=(b||x).element||x.box,c,r=this.element,d;c=this.added;var p;u(a)&&(r.zIndex=a,a=+a,this[t]===a&&(c=!1),this[t]=a);if(c){(a=this.zIndex)&&b&&(b.handleZ=!0);t=l.childNodes;for(p=0;p<t.length&&!d;p++)b=t[p],c=b.zIndex,b!==r&&(f(c)>a||!u(a)&&u(c)||0>a&&!u(c)&&l!==x.box)&&(l.insertBefore(r,b),d=!0);d||l.appendChild(r)}return d},_defaultSetter:function(a,\n",
108
+ "f,t){t.setAttribute(f,a)}});C.prototype.yGetter=C.prototype.xGetter;C.prototype.translateXSetter=C.prototype.translateYSetter=C.prototype.rotationSetter=C.prototype.verticalAlignSetter=C.prototype.scaleXSetter=C.prototype.scaleYSetter=function(a,f){this[f]=a;this.doTransform=!0};C.prototype[\"stroke-widthSetter\"]=C.prototype.strokeSetter=function(a,f,t){this[f]=a;this.stroke&&this[\"stroke-width\"]?(C.prototype.fillSetter.call(this,this.stroke,\"stroke\",t),t.setAttribute(\"stroke-width\",this[\"stroke-width\"]),\n",
109
+ "this.hasStroke=!0):\"stroke-width\"===f&&0===a&&this.hasStroke&&(t.removeAttribute(\"stroke\"),this.hasStroke=!1)};A=a.SVGRenderer=function(){this.init.apply(this,arguments)};c(A.prototype,{Element:C,SVG_NS:N,init:function(a,f,t,b,c,r){var x;b=this.createElement(\"svg\").attr({version:\"1.1\",\"class\":\"highcharts-root\"}).css(this.getStyle(b));x=b.element;a.appendChild(x);-1===a.innerHTML.indexOf(\"xmlns\")&&m(x,\"xmlns\",this.SVG_NS);this.isSVG=!0;this.box=x;this.boxWrapper=b;this.alignedObjects=[];this.url=(l||\n",
110
+ "M)&&n.getElementsByTagName(\"base\").length?P.location.href.replace(/#.*?$/,\"\").replace(/<[^>]*>/g,\"\").replace(/([\\('\\)])/g,\"\\\\$1\").replace(/ /g,\"%20\"):\"\";this.createElement(\"desc\").add().element.appendChild(n.createTextNode(\"Created with Highcharts 5.0.12\"));this.defs=this.createElement(\"defs\").add();this.allowHTML=r;this.forExport=c;this.gradients={};this.cache={};this.cacheKeys=[];this.imgCount=0;this.setSize(f,t,!1);var d;l&&a.getBoundingClientRect&&(f=function(){q(a,{left:0,top:0});d=a.getBoundingClientRect();\n",
111
+ "q(a,{left:Math.ceil(d.left)-d.left+\"px\",top:Math.ceil(d.top)-d.top+\"px\"})},f(),this.unSubPixelFix=G(P,\"resize\",f))},getStyle:function(a){return this.style=c({fontFamily:'\"Lucida Grande\", \"Lucida Sans Unicode\", Arial, Helvetica, sans-serif',fontSize:\"12px\"},a)},setStyle:function(a){this.boxWrapper.css(this.getStyle(a))},isHidden:function(){return!this.boxWrapper.getBBox().width},destroy:function(){var a=this.defs;this.box=null;this.boxWrapper=this.boxWrapper.destroy();e(this.gradients||{});this.gradients=\n",
112
+ "null;a&&(this.defs=a.destroy());this.unSubPixelFix&&this.unSubPixelFix();return this.alignedObjects=null},createElement:function(a){var f=new this.Element;f.init(this,a);return f},draw:E,getRadialAttr:function(a,f){return{cx:a[0]-a[2]/2+f.cx*a[2],cy:a[1]-a[2]/2+f.cy*a[2],r:f.r*a[2]}},getSpanWidth:function(a,f){var t=a.getBBox(!0).width;!J&&this.forExport&&(t=this.measureSpanWidth(f.firstChild.data,a.styles));return t},applyEllipsis:function(a,f,t,b){var x=this.getSpanWidth(a,f),l=x>b,x=t,c,r=0,d=\n",
113
+ "t.length,p=function(a){f.removeChild(f.firstChild);a&&f.appendChild(n.createTextNode(a))};if(l){for(;r<=d;)c=Math.ceil((r+d)/2),x=t.substring(0,c)+\"\\u2026\",p(x),x=this.getSpanWidth(a,f),r===d?r=d+1:x>b?d=c-1:r=c;0===d&&p(\"\")}return l},buildText:function(a){var t=a.element,x=this,l=x.forExport,c=L(a.textStr,\"\").toString(),r=-1!==c.indexOf(\"\\x3c\"),p=t.childNodes,e,h,E,y,w=m(t,\"x\"),B=a.styles,g=a.textWidth,I=B&&B.lineHeight,z=B&&B.textOutline,D=B&&\"ellipsis\"===B.textOverflow,k=B&&\"nowrap\"===B.whiteSpace,\n",
114
+ "u=B&&B.fontSize,R,H,v=p.length,B=g&&!a.added&&this.box,M=function(a){var b;b=/(px|em)$/.test(a&&a.style.fontSize)?a.style.fontSize:u||x.style.fontSize||12;return I?f(I):x.fontMetrics(b,a.getAttribute(\"style\")?a:t).h};R=[c,D,k,I,z,u,g].join();if(R!==a.textCache){for(a.textCache=R;v--;)t.removeChild(p[v]);r||z||D||g||-1!==c.indexOf(\" \")?(e=/<.*class=\"([^\"]+)\".*>/,h=/<.*style=\"([^\"]+)\".*>/,E=/<.*href=\"([^\"]+)\".*>/,B&&B.appendChild(t),c=r?c.replace(/<(b|strong)>/g,'\\x3cspan style\\x3d\"font-weight:bold\"\\x3e').replace(/<(i|em)>/g,\n",
115
+ "'\\x3cspan style\\x3d\"font-style:italic\"\\x3e').replace(/<a/g,\"\\x3cspan\").replace(/<\\/(b|strong|i|em|a)>/g,\"\\x3c/span\\x3e\").split(/<br.*?>/g):[c],c=b(c,function(a){return\"\"!==a}),d(c,function(f,b){var c,r=0;f=f.replace(/^\\s+|\\s+$/g,\"\").replace(/<span/g,\"|||\\x3cspan\").replace(/<\\/span>/g,\"\\x3c/span\\x3e|||\");c=f.split(\"|||\");d(c,function(f){if(\"\"!==f||1===c.length){var d={},p=n.createElementNS(x.SVG_NS,\"tspan\"),B,I;e.test(f)&&(B=f.match(e)[1],m(p,\"class\",B));h.test(f)&&(I=f.match(h)[1].replace(/(;| |^)color([ :])/,\n",
116
+ "\"$1fill$2\"),m(p,\"style\",I));E.test(f)&&!l&&(m(p,\"onclick\",'location.href\\x3d\"'+f.match(E)[1]+'\"'),q(p,{cursor:\"pointer\"}));f=(f.replace(/<(.|\\n)*?>/g,\"\")||\" \").replace(/&lt;/g,\"\\x3c\").replace(/&gt;/g,\"\\x3e\");if(\" \"!==f){p.appendChild(n.createTextNode(f));r?d.dx=0:b&&null!==w&&(d.x=w);m(p,d);t.appendChild(p);!r&&H&&(!J&&l&&q(p,{display:\"block\"}),m(p,\"dy\",M(p)));if(g){d=f.replace(/([^\\^])-/g,\"$1- \").split(\" \");B=1<c.length||b||1<d.length&&!k;var z=[],Q,u=M(p),R=a.rotation;for(D&&(y=x.applyEllipsis(a,\n",
117
+ "p,f,g));!D&&B&&(d.length||z.length);)a.rotation=0,Q=x.getSpanWidth(a,p),f=Q>g,void 0===y&&(y=f),f&&1!==d.length?(p.removeChild(p.firstChild),z.unshift(d.pop())):(d=z,z=[],d.length&&!k&&(p=n.createElementNS(N,\"tspan\"),m(p,{dy:u,x:w}),I&&m(p,\"style\",I),t.appendChild(p)),Q>g&&(g=Q)),d.length&&p.appendChild(n.createTextNode(d.join(\" \").replace(/- /g,\"-\")));a.rotation=R}r++}}});H=H||t.childNodes.length}),y&&a.attr(\"title\",a.textStr),B&&B.removeChild(t),z&&a.applyTextOutline&&a.applyTextOutline(z)):t.appendChild(n.createTextNode(c.replace(/&lt;/g,\n",
118
+ "\"\\x3c\").replace(/&gt;/g,\"\\x3e\")))}},getContrast:function(a){a=k(a).rgba;return 510<a[0]+a[1]+a[2]?\"#000000\":\"#FFFFFF\"},button:function(a,f,t,b,l,r,d,e,h){var x=this.label(a,f,t,h,null,null,null,null,\"button\"),n=0;x.attr(p({padding:8,r:2},l));var E,y,w,J;l=p({fill:\"#f7f7f7\",stroke:\"#cccccc\",\"stroke-width\":1,style:{color:\"#333333\",cursor:\"pointer\",fontWeight:\"normal\"}},l);E=l.style;delete l.style;r=p(l,{fill:\"#e6e6e6\"},r);y=r.style;delete r.style;d=p(l,{fill:\"#e6ebf5\",style:{color:\"#000000\",fontWeight:\"bold\"}},\n",
119
+ "d);w=d.style;delete d.style;e=p(l,{style:{color:\"#cccccc\"}},e);J=e.style;delete e.style;G(x.element,B?\"mouseover\":\"mouseenter\",function(){3!==n&&x.setState(1)});G(x.element,B?\"mouseout\":\"mouseleave\",function(){3!==n&&x.setState(n)});x.setState=function(a){1!==a&&(x.state=n=a);x.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass(\"highcharts-button-\"+[\"normal\",\"hover\",\"pressed\",\"disabled\"][a||0]);x.attr([l,r,d,e][a||0]).css([E,y,w,J][a||0])};x.attr(l).css(c({cursor:\"default\"},\n",
120
+ "E));return x.on(\"click\",function(a){3!==n&&b.call(x,a)})},crispLine:function(a,f){a[1]===a[4]&&(a[1]=a[4]=Math.round(a[1])-f%2/2);a[2]===a[5]&&(a[2]=a[5]=Math.round(a[2])+f%2/2);return a},path:function(a){var f={fill:\"none\"};H(a)?f.d=a:r(a)&&c(f,a);return this.createElement(\"path\").attr(f)},circle:function(a,f,t){a=r(a)?a:{x:a,y:f,r:t};f=this.createElement(\"circle\");f.xSetter=f.ySetter=function(a,f,t){t.setAttribute(\"c\"+f,a)};return f.attr(a)},arc:function(a,f,t,b,l,c){r(a)?(b=a,f=b.y,t=b.r,a=b.x):\n",
121
+ "b={innerR:b,start:l,end:c};a=this.symbol(\"arc\",a,f,t,t,b);a.r=t;return a},rect:function(a,f,t,b,l,c){l=r(a)?a.r:l;var x=this.createElement(\"rect\");a=r(a)?a:void 0===a?{}:{x:a,y:f,width:Math.max(t,0),height:Math.max(b,0)};void 0!==c&&(a.strokeWidth=c,a=x.crisp(a));a.fill=\"none\";l&&(a.r=l);x.rSetter=function(a,f,t){m(t,{rx:a,ry:a})};return x.attr(a)},setSize:function(a,f,t){var b=this.alignedObjects,l=b.length;this.width=a;this.height=f;for(this.boxWrapper.animate({width:a,height:f},{step:function(){this.attr({viewBox:\"0 0 \"+\n",
122
+ "this.attr(\"width\")+\" \"+this.attr(\"height\")})},duration:L(t,!0)?void 0:0});l--;)b[l].align()},g:function(a){var f=this.createElement(\"g\");return a?f.attr({\"class\":\"highcharts-\"+a}):f},image:function(a,f,t,b,l){var x={preserveAspectRatio:\"none\"};1<arguments.length&&c(x,{x:f,y:t,width:b,height:l});x=this.createElement(\"image\").attr(x);x.element.setAttributeNS?x.element.setAttributeNS(\"http://www.w3.org/1999/xlink\",\"href\",a):x.element.setAttribute(\"hc-svg-href\",a);return x},symbol:function(a,f,t,b,l,\n",
123
+ "r){var x=this,p,e=/^url\\((.*?)\\)$/,h=e.test(a),E=!h&&(this.symbols[a]?a:\"circle\"),y=E&&this.symbols[E],B=u(f)&&y&&y.call(this.symbols,Math.round(f),Math.round(t),b,l,r),w,J;y?(p=this.path(B),p.attr(\"fill\",\"none\"),c(p,{symbolName:E,x:f,y:t,width:b,height:l}),r&&c(p,r)):h&&(w=a.match(e)[1],p=this.image(w),p.imgwidth=L(O[w]&&O[w].width,r&&r.width),p.imgheight=L(O[w]&&O[w].height,r&&r.height),J=function(){p.attr({width:p.width,height:p.height})},d([\"width\",\"height\"],function(a){p[a+\"Setter\"]=function(a,\n",
124
+ "f){var t={},b=this[\"img\"+f],l=\"width\"===f?\"translateX\":\"translateY\";this[f]=a;u(b)&&(this.element&&this.element.setAttribute(f,b),this.alignByTranslate||(t[l]=((this[f]||0)-b)/2,this.attr(t)))}}),u(f)&&p.attr({x:f,y:t}),p.isImg=!0,u(p.imgwidth)&&u(p.imgheight)?J():(p.attr({width:0,height:0}),v(\"img\",{onload:function(){var a=g[x.chartIndex];0===this.width&&(q(this,{position:\"absolute\",top:\"-999em\"}),n.body.appendChild(this));O[w]={width:this.width,height:this.height};p.imgwidth=this.width;p.imgheight=\n",
125
+ "this.height;p.element&&J();this.parentNode&&this.parentNode.removeChild(this);x.imgCount--;if(!x.imgCount&&a&&a.onload)a.onload()},src:w}),this.imgCount++));return p},symbols:{circle:function(a,f,t,b){return this.arc(a+t/2,f+b/2,t/2,b/2,{start:0,end:2*Math.PI,open:!1})},square:function(a,f,t,b){return[\"M\",a,f,\"L\",a+t,f,a+t,f+b,a,f+b,\"Z\"]},triangle:function(a,f,t,b){return[\"M\",a+t/2,f,\"L\",a+t,f+b,a,f+b,\"Z\"]},\"triangle-down\":function(a,f,t,b){return[\"M\",a,f,\"L\",a+t,f,a+t/2,f+b,\"Z\"]},diamond:function(a,\n",
126
+ "f,t,b){return[\"M\",a+t/2,f,\"L\",a+t,f+b/2,a+t/2,f+b,a,f+b/2,\"Z\"]},arc:function(a,f,t,b,l){var c=l.start,x=l.r||t,r=l.r||b||t,p=l.end-.001;t=l.innerR;b=l.open;var d=Math.cos(c),e=Math.sin(c),h=Math.cos(p),p=Math.sin(p);l=l.end-c<Math.PI?0:1;x=[\"M\",a+x*d,f+r*e,\"A\",x,r,0,l,1,a+x*h,f+r*p];u(t)&&x.push(b?\"M\":\"L\",a+t*h,f+t*p,\"A\",t,t,0,l,0,a+t*d,f+t*e);x.push(b?\"\":\"Z\");return x},callout:function(a,f,t,b,l){var c=Math.min(l&&l.r||0,t,b),r=c+6,p=l&&l.anchorX;l=l&&l.anchorY;var d;d=[\"M\",a+c,f,\"L\",a+t-c,f,\"C\",\n",
127
+ "a+t,f,a+t,f,a+t,f+c,\"L\",a+t,f+b-c,\"C\",a+t,f+b,a+t,f+b,a+t-c,f+b,\"L\",a+c,f+b,\"C\",a,f+b,a,f+b,a,f+b-c,\"L\",a,f+c,\"C\",a,f,a,f,a+c,f];p&&p>t?l>f+r&&l<f+b-r?d.splice(13,3,\"L\",a+t,l-6,a+t+6,l,a+t,l+6,a+t,f+b-c):d.splice(13,3,\"L\",a+t,b/2,p,l,a+t,b/2,a+t,f+b-c):p&&0>p?l>f+r&&l<f+b-r?d.splice(33,3,\"L\",a,l+6,a-6,l,a,l-6,a,f+c):d.splice(33,3,\"L\",a,b/2,p,l,a,b/2,a,f+c):l&&l>b&&p>a+r&&p<a+t-r?d.splice(23,3,\"L\",p+6,f+b,p,f+b+6,p-6,f+b,a+c,f+b):l&&0>l&&p>a+r&&p<a+t-r&&d.splice(3,3,\"L\",p-6,f,p,f-6,p+6,f,t-c,f);return d}},\n",
128
+ "clipRect:function(f,t,b,l){var c=a.uniqueKey(),r=this.createElement(\"clipPath\").attr({id:c}).add(this.defs);f=this.rect(f,t,b,l,0).add(r);f.id=c;f.clipPath=r;f.count=0;return f},text:function(a,f,t,b){var l=!J&&this.forExport,c={};if(b&&(this.allowHTML||!this.forExport))return this.html(a,f,t);c.x=Math.round(f||0);t&&(c.y=Math.round(t));if(a||0===a)c.text=a;a=this.createElement(\"text\").attr(c);l&&a.css({position:\"absolute\"});b||(a.xSetter=function(a,f,t){var b=t.getElementsByTagName(\"tspan\"),l,c=\n",
129
+ "t.getAttribute(f),r;for(r=0;r<b.length;r++)l=b[r],l.getAttribute(f)===c&&l.setAttribute(f,a);t.setAttribute(f,a)});return a},fontMetrics:function(a,t){a=a||t&&t.style&&t.style.fontSize||this.style&&this.style.fontSize;a=/px/.test(a)?f(a):/em/.test(a)?parseFloat(a)*(t?this.fontMetrics(null,t.parentNode).f:16):12;t=24>a?a+3:Math.round(1.2*a);return{h:t,b:Math.round(.8*t),f:a}},rotCorr:function(a,f,t){var b=a;f&&t&&(b=Math.max(b*Math.cos(f*h),4));return{x:-a/3*Math.sin(f*h),y:b}},label:function(f,b,\n",
130
+ "l,r,e,h,n,E,y){var x=this,B=x.g(\"button\"!==y&&\"label\"),w=B.text=x.text(\"\",0,0,n).attr({zIndex:1}),J,g,I=0,z=3,D=0,q,k,m,R,H,v={},N,M,L=/^url\\((.*?)\\)$/.test(r),Q=L,V,U,O,P;y&&B.addClass(\"highcharts-\"+y);Q=L;V=function(){return(N||0)%2/2};U=function(){var a=w.element.style,f={};g=(void 0===q||void 0===k||H)&&u(w.textStr)&&w.getBBox();B.width=(q||g.width||0)+2*z+D;B.height=(k||g.height||0)+2*z;M=z+x.fontMetrics(a&&a.fontSize,w).b;Q&&(J||(B.box=J=x.symbols[r]||L?x.symbol(r):x.rect(),J.addClass((\"button\"===\n",
131
+ "y?\"\":\"highcharts-label-box\")+(y?\" highcharts-\"+y+\"-box\":\"\")),J.add(B),a=V(),f.x=a,f.y=(E?-M:0)+a),f.width=Math.round(B.width),f.height=Math.round(B.height),J.attr(c(f,v)),v={})};O=function(){var a=D+z,f;f=E?0:M;u(q)&&g&&(\"center\"===H||\"right\"===H)&&(a+={center:.5,right:1}[H]*(q-g.width));if(a!==w.x||f!==w.y)w.attr(\"x\",a),void 0!==f&&w.attr(\"y\",f);w.x=a;w.y=f};P=function(a,f){J?J.attr(a,f):v[a]=f};B.onAdd=function(){w.add(B);B.attr({text:f||0===f?f:\"\",x:b,y:l});J&&u(e)&&B.attr({anchorX:e,anchorY:h})};\n",
132
+ "B.widthSetter=function(f){q=a.isNumber(f)?f:null};B.heightSetter=function(a){k=a};B[\"text-alignSetter\"]=function(a){H=a};B.paddingSetter=function(a){u(a)&&a!==z&&(z=B.padding=a,O())};B.paddingLeftSetter=function(a){u(a)&&a!==D&&(D=a,O())};B.alignSetter=function(a){a={left:0,center:.5,right:1}[a];a!==I&&(I=a,g&&B.attr({x:m}))};B.textSetter=function(a){void 0!==a&&w.textSetter(a);U();O()};B[\"stroke-widthSetter\"]=function(a,f){a&&(Q=!0);N=this[\"stroke-width\"]=a;P(f,a)};B.strokeSetter=B.fillSetter=B.rSetter=\n",
133
+ "function(a,f){\"fill\"===f&&a&&(Q=!0);P(f,a)};B.anchorXSetter=function(a,f){e=B.anchorX=a;P(f,Math.round(a)-V()-m)};B.anchorYSetter=function(a,f){h=B.anchorY=a;P(f,a-R)};B.xSetter=function(a){B.x=a;I&&(a-=I*((q||g.width)+2*z));m=Math.round(a);B.attr(\"translateX\",m)};B.ySetter=function(a){R=B.y=Math.round(a);B.attr(\"translateY\",R)};var W=B.css;return c(B,{css:function(a){if(a){var f={};a=p(a);d(B.textProps,function(t){void 0!==a[t]&&(f[t]=a[t],delete a[t])});w.css(f)}return W.call(B,a)},getBBox:function(){return{width:g.width+\n",
134
+ "2*z,height:g.height+2*z,x:g.x-z,y:g.y-z}},shadow:function(a){a&&(U(),J&&J.shadow(a));return B},destroy:function(){t(B.element,\"mouseenter\");t(B.element,\"mouseleave\");w&&(w=w.destroy());J&&(J=J.destroy());C.prototype.destroy.call(B);B=x=U=O=P=null}})}});a.Renderer=A})(K);(function(a){var C=a.attr,A=a.createElement,G=a.css,F=a.defined,m=a.each,g=a.extend,k=a.isFirefox,q=a.isMS,v=a.isWebKit,u=a.pInt,h=a.SVGRenderer,e=a.win,n=a.wrap;g(a.SVGElement.prototype,{htmlCss:function(a){var c=this.element;if(c=\n",
135
+ "a&&\"SPAN\"===c.tagName&&a.width)delete a.width,this.textWidth=c,this.updateTransform();a&&\"ellipsis\"===a.textOverflow&&(a.whiteSpace=\"nowrap\",a.overflow=\"hidden\");this.styles=g(this.styles,a);G(this.element,a);return this},htmlGetBBox:function(){var a=this.element;\"text\"===a.nodeName&&(a.style.position=\"absolute\");return{x:a.offsetLeft,y:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight}},htmlUpdateTransform:function(){if(this.added){var a=this.renderer,c=this.element,e=this.translateX||0,b=this.translateY||\n",
136
+ "0,h=this.x||0,n=this.y||0,g=this.textAlign||\"left\",l={left:0,center:.5,right:1}[g],B=this.styles;G(c,{marginLeft:e,marginTop:b});this.shadows&&m(this.shadows,function(a){G(a,{marginLeft:e+1,marginTop:b+1})});this.inverted&&m(c.childNodes,function(b){a.invertChild(b,c)});if(\"SPAN\"===c.tagName){var r=this.rotation,z=u(this.textWidth),q=B&&B.whiteSpace,p=[r,g,c.innerHTML,this.textWidth,this.textAlign].join();p!==this.cTT&&(B=a.fontMetrics(c.style.fontSize).b,F(r)&&this.setSpanRotation(r,l,B),G(c,{width:\"\",\n",
137
+ "whiteSpace:q||\"nowrap\"}),c.offsetWidth>z&&/[ \\-]/.test(c.textContent||c.innerText)&&G(c,{width:z+\"px\",display:\"block\",whiteSpace:q||\"normal\"}),this.getSpanCorrection(c.offsetWidth,B,l,r,g));G(c,{left:h+(this.xCorr||0)+\"px\",top:n+(this.yCorr||0)+\"px\"});v&&(B=c.offsetHeight);this.cTT=p}}else this.alignOnAdd=!0},setSpanRotation:function(a,c,h){var b={},d=q?\"-ms-transform\":v?\"-webkit-transform\":k?\"MozTransform\":e.opera?\"-o-transform\":\"\";b[d]=b.transform=\"rotate(\"+a+\"deg)\";b[d+(k?\"Origin\":\"-origin\")]=\n",
138
+ "b.transformOrigin=100*c+\"% \"+h+\"px\";G(this.element,b)},getSpanCorrection:function(a,c,e){this.xCorr=-a*e;this.yCorr=-c}});g(h.prototype,{html:function(a,c,e){var b=this.createElement(\"span\"),d=b.element,h=b.renderer,w=h.isSVG,l=function(a,b){m([\"opacity\",\"visibility\"],function(l){n(a,l+\"Setter\",function(a,l,c,r){a.call(this,l,c,r);b[c]=l})})};b.textSetter=function(a){a!==d.innerHTML&&delete this.bBox;d.innerHTML=this.textStr=a;b.htmlUpdateTransform()};w&&l(b,b.element.style);b.xSetter=b.ySetter=b.alignSetter=\n",
139
+ "b.rotationSetter=function(a,l){\"align\"===l&&(l=\"textAlign\");b[l]=a;b.htmlUpdateTransform()};b.attr({text:a,x:Math.round(c),y:Math.round(e)}).css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize,position:\"absolute\"});d.style.whiteSpace=\"nowrap\";b.css=b.htmlCss;w&&(b.add=function(a){var c,e=h.box.parentNode,B=[];if(this.parentGroup=a){if(c=a.div,!c){for(;a;)B.push(a),a=a.parentGroup;m(B.reverse(),function(a){var r,p=C(a.element,\"class\");p&&(p={className:p});c=a.div=a.div||A(\"div\",p,{position:\"absolute\",\n",
140
+ "left:(a.translateX||0)+\"px\",top:(a.translateY||0)+\"px\",display:a.display,opacity:a.opacity,pointerEvents:a.styles&&a.styles.pointerEvents},c||e);r=c.style;g(a,{on:function(){b.on.apply({element:B[0].div},arguments);return a},translateXSetter:function(b,f){r.left=b+\"px\";a[f]=b;a.doTransform=!0},translateYSetter:function(b,f){r.top=b+\"px\";a[f]=b;a.doTransform=!0}});l(a,r)})}}else c=e;c.appendChild(d);b.added=!0;b.alignOnAdd&&b.htmlUpdateTransform();return b});return b}})})(K);(function(a){var C,A,G=\n",
141
+ "a.createElement,F=a.css,m=a.defined,g=a.deg2rad,k=a.discardElement,q=a.doc,v=a.each,u=a.erase,h=a.extend;C=a.extendClass;var e=a.isArray,n=a.isNumber,d=a.isObject,c=a.merge;A=a.noop;var w=a.pick,b=a.pInt,y=a.SVGElement,D=a.SVGRenderer,H=a.win;a.svg||(A={docMode8:q&&8===q.documentMode,init:function(a,b){var l=[\"\\x3c\",b,' filled\\x3d\"f\" stroked\\x3d\"f\"'],c=[\"position: \",\"absolute\",\";\"],d=\"div\"===b;(\"shape\"===b||d)&&c.push(\"left:0;top:0;width:1px;height:1px;\");c.push(\"visibility: \",d?\"hidden\":\"visible\");\n",
142
+ "l.push(' style\\x3d\"',c.join(\"\"),'\"/\\x3e');b&&(l=d||\"span\"===b||\"img\"===b?l.join(\"\"):a.prepVML(l),this.element=G(l));this.renderer=a},add:function(a){var b=this.renderer,l=this.element,c=b.box,d=a&&a.inverted,c=a?a.element||a:c;a&&(this.parentGroup=a);d&&b.invertChild(l,c);c.appendChild(l);this.added=!0;this.alignOnAdd&&!this.deferUpdateTransform&&this.updateTransform();if(this.onAdd)this.onAdd();this.className&&this.attr(\"class\",this.className);return this},updateTransform:y.prototype.htmlUpdateTransform,\n",
143
+ "setSpanRotation:function(){var a=this.rotation,b=Math.cos(a*g),c=Math.sin(a*g);F(this.element,{filter:a?[\"progid:DXImageTransform.Microsoft.Matrix(M11\\x3d\",b,\", M12\\x3d\",-c,\", M21\\x3d\",c,\", M22\\x3d\",b,\", sizingMethod\\x3d'auto expand')\"].join(\"\"):\"none\"})},getSpanCorrection:function(a,b,c,d,e){var l=d?Math.cos(d*g):1,r=d?Math.sin(d*g):0,h=w(this.elemHeight,this.element.offsetHeight),n;this.xCorr=0>l&&-a;this.yCorr=0>r&&-h;n=0>l*r;this.xCorr+=r*b*(n?1-c:c);this.yCorr-=l*b*(d?n?c:1-c:1);e&&\"left\"!==\n",
144
+ "e&&(this.xCorr-=a*c*(0>l?-1:1),d&&(this.yCorr-=h*c*(0>r?-1:1)),F(this.element,{textAlign:e}))},pathToVML:function(a){for(var b=a.length,l=[];b--;)n(a[b])?l[b]=Math.round(10*a[b])-5:\"Z\"===a[b]?l[b]=\"x\":(l[b]=a[b],!a.isArc||\"wa\"!==a[b]&&\"at\"!==a[b]||(l[b+5]===l[b+7]&&(l[b+7]+=a[b+7]>a[b+5]?1:-1),l[b+6]===l[b+8]&&(l[b+8]+=a[b+8]>a[b+6]?1:-1)));return l.join(\" \")||\"x\"},clip:function(a){var b=this,l;a?(l=a.members,u(l,b),l.push(b),b.destroyClip=function(){u(l,b)},a=a.getCSS(b)):(b.destroyClip&&b.destroyClip(),\n",
145
+ "a={clip:b.docMode8?\"inherit\":\"rect(auto)\"});return b.css(a)},css:y.prototype.htmlCss,safeRemoveChild:function(a){a.parentNode&&k(a)},destroy:function(){this.destroyClip&&this.destroyClip();return y.prototype.destroy.apply(this)},on:function(a,b){this.element[\"on\"+a]=function(){var a=H.event;a.target=a.srcElement;b(a)};return this},cutOffPath:function(a,c){var l;a=a.split(/[ ,]/);l=a.length;if(9===l||11===l)a[l-4]=a[l-2]=b(a[l-2])-10*c;return a.join(\" \")},shadow:function(a,c,d){var l=[],r,p=this.element,\n",
146
+ "e=this.renderer,h,n=p.style,f,t=p.path,y,J,g,B;t&&\"string\"!==typeof t.value&&(t=\"x\");J=t;if(a){g=w(a.width,3);B=(a.opacity||.15)/g;for(r=1;3>=r;r++)y=2*g+1-2*r,d&&(J=this.cutOffPath(t.value,y+.5)),f=['\\x3cshape isShadow\\x3d\"true\" strokeweight\\x3d\"',y,'\" filled\\x3d\"false\" path\\x3d\"',J,'\" coordsize\\x3d\"10 10\" style\\x3d\"',p.style.cssText,'\" /\\x3e'],h=G(e.prepVML(f),null,{left:b(n.left)+w(a.offsetX,1),top:b(n.top)+w(a.offsetY,1)}),d&&(h.cutOff=y+1),f=['\\x3cstroke color\\x3d\"',a.color||\"#000000\",'\" opacity\\x3d\"',\n",
147
+ "B*r,'\"/\\x3e'],G(e.prepVML(f),null,null,h),c?c.element.appendChild(h):p.parentNode.insertBefore(h,p),l.push(h);this.shadows=l}return this},updateShadows:A,setAttr:function(a,b){this.docMode8?this.element[a]=b:this.element.setAttribute(a,b)},classSetter:function(a){(this.added?this.element:this).className=a},dashstyleSetter:function(a,b,c){(c.getElementsByTagName(\"stroke\")[0]||G(this.renderer.prepVML([\"\\x3cstroke/\\x3e\"]),null,null,c))[b]=a||\"solid\";this[b]=a},dSetter:function(a,b,c){var l=this.shadows;\n",
148
+ "a=a||[];this.d=a.join&&a.join(\" \");c.path=a=this.pathToVML(a);if(l)for(c=l.length;c--;)l[c].path=l[c].cutOff?this.cutOffPath(a,l[c].cutOff):a;this.setAttr(b,a)},fillSetter:function(a,b,c){var l=c.nodeName;\"SPAN\"===l?c.style.color=a:\"IMG\"!==l&&(c.filled=\"none\"!==a,this.setAttr(\"fillcolor\",this.renderer.color(a,c,b,this)))},\"fill-opacitySetter\":function(a,b,c){G(this.renderer.prepVML([\"\\x3c\",b.split(\"-\")[0],' opacity\\x3d\"',a,'\"/\\x3e']),null,null,c)},opacitySetter:A,rotationSetter:function(a,b,c){c=\n",
149
+ "c.style;this[b]=c[b]=a;c.left=-Math.round(Math.sin(a*g)+1)+\"px\";c.top=Math.round(Math.cos(a*g))+\"px\"},strokeSetter:function(a,b,c){this.setAttr(\"strokecolor\",this.renderer.color(a,c,b,this))},\"stroke-widthSetter\":function(a,b,c){c.stroked=!!a;this[b]=a;n(a)&&(a+=\"px\");this.setAttr(\"strokeweight\",a)},titleSetter:function(a,b){this.setAttr(b,a)},visibilitySetter:function(a,b,c){\"inherit\"===a&&(a=\"visible\");this.shadows&&v(this.shadows,function(c){c.style[b]=a});\"DIV\"===c.nodeName&&(a=\"hidden\"===a?\"-999em\":\n",
150
+ "0,this.docMode8||(c.style[b]=a?\"visible\":\"hidden\"),b=\"top\");c.style[b]=a},xSetter:function(a,b,c){this[b]=a;\"x\"===b?b=\"left\":\"y\"===b&&(b=\"top\");this.updateClipping?(this[b]=a,this.updateClipping()):c.style[b]=a},zIndexSetter:function(a,b,c){c.style[b]=a}},A[\"stroke-opacitySetter\"]=A[\"fill-opacitySetter\"],a.VMLElement=A=C(y,A),A.prototype.ySetter=A.prototype.widthSetter=A.prototype.heightSetter=A.prototype.xSetter,A={Element:A,isIE8:-1<H.navigator.userAgent.indexOf(\"MSIE 8.0\"),init:function(a,b,c){var l,\n",
151
+ "d;this.alignedObjects=[];l=this.createElement(\"div\").css({position:\"relative\"});d=l.element;a.appendChild(l.element);this.isVML=!0;this.box=d;this.boxWrapper=l;this.gradients={};this.cache={};this.cacheKeys=[];this.imgCount=0;this.setSize(b,c,!1);if(!q.namespaces.hcv){q.namespaces.add(\"hcv\",\"urn:schemas-microsoft-com:vml\");try{q.createStyleSheet().cssText=\"hcv\\\\:fill, hcv\\\\:path, hcv\\\\:shape, hcv\\\\:stroke{ behavior:url(#default#VML); display: inline-block; } \"}catch(p){q.styleSheets[0].cssText+=\"hcv\\\\:fill, hcv\\\\:path, hcv\\\\:shape, hcv\\\\:stroke{ behavior:url(#default#VML); display: inline-block; } \"}}},\n",
152
+ "isHidden:function(){return!this.box.offsetWidth},clipRect:function(a,b,c,e){var l=this.createElement(),p=d(a);return h(l,{members:[],count:0,left:(p?a.x:a)+1,top:(p?a.y:b)+1,width:(p?a.width:c)-1,height:(p?a.height:e)-1,getCSS:function(a){var b=a.element,c=b.nodeName,f=a.inverted,t=this.top-(\"shape\"===c?b.offsetTop:0),l=this.left,b=l+this.width,p=t+this.height,t={clip:\"rect(\"+Math.round(f?l:t)+\"px,\"+Math.round(f?p:b)+\"px,\"+Math.round(f?b:p)+\"px,\"+Math.round(f?t:l)+\"px)\"};!f&&a.docMode8&&\"DIV\"===c&&\n",
153
+ "h(t,{width:b+\"px\",height:p+\"px\"});return t},updateClipping:function(){v(l.members,function(a){a.element&&a.css(l.getCSS(a))})}})},color:function(b,c,d,e){var l=this,p,r=/^rgba/,h,n,f=\"none\";b&&b.linearGradient?n=\"gradient\":b&&b.radialGradient&&(n=\"pattern\");if(n){var t,y,w=b.linearGradient||b.radialGradient,g,q,B,x,D,z=\"\";b=b.stops;var k,m=[],u=function(){h=['\\x3cfill colors\\x3d\"'+m.join(\",\")+'\" opacity\\x3d\"',B,'\" o:opacity2\\x3d\"',q,'\" type\\x3d\"',n,'\" ',z,'focus\\x3d\"100%\" method\\x3d\"any\" /\\x3e'];\n",
154
+ "G(l.prepVML(h),null,null,c)};g=b[0];k=b[b.length-1];0<g[0]&&b.unshift([0,g[1]]);1>k[0]&&b.push([1,k[1]]);v(b,function(f,b){r.test(f[1])?(p=a.color(f[1]),t=p.get(\"rgb\"),y=p.get(\"a\")):(t=f[1],y=1);m.push(100*f[0]+\"% \"+t);b?(B=y,x=t):(q=y,D=t)});if(\"fill\"===d)if(\"gradient\"===n)d=w.x1||w[0]||0,b=w.y1||w[1]||0,g=w.x2||w[2]||0,w=w.y2||w[3]||0,z='angle\\x3d\"'+(90-180*Math.atan((w-b)/(g-d))/Math.PI)+'\"',u();else{var f=w.r,H=2*f,A=2*f,C=w.cx,F=w.cy,T=c.radialReference,K,f=function(){T&&(K=e.getBBox(),C+=(T[0]-\n",
155
+ "K.x)/K.width-.5,F+=(T[1]-K.y)/K.height-.5,H*=T[2]/K.width,A*=T[2]/K.height);z='src\\x3d\"'+a.getOptions().global.VMLRadialGradientURL+'\" size\\x3d\"'+H+\",\"+A+'\" origin\\x3d\"0.5,0.5\" position\\x3d\"'+C+\",\"+F+'\" color2\\x3d\"'+D+'\" ';u()};e.added?f():e.onAdd=f;f=x}else f=t}else r.test(b)&&\"IMG\"!==c.tagName?(p=a.color(b),e[d+\"-opacitySetter\"](p.get(\"a\"),d,c),f=p.get(\"rgb\")):(f=c.getElementsByTagName(d),f.length&&(f[0].opacity=1,f[0].type=\"solid\"),f=b);return f},prepVML:function(a){var b=this.isIE8;a=a.join(\"\");\n",
156
+ "b?(a=a.replace(\"/\\x3e\",' xmlns\\x3d\"urn:schemas-microsoft-com:vml\" /\\x3e'),a=-1===a.indexOf('style\\x3d\"')?a.replace(\"/\\x3e\",' style\\x3d\"display:inline-block;behavior:url(#default#VML);\" /\\x3e'):a.replace('style\\x3d\"','style\\x3d\"display:inline-block;behavior:url(#default#VML);')):a=a.replace(\"\\x3c\",\"\\x3chcv:\");return a},text:D.prototype.html,path:function(a){var b={coordsize:\"10 10\"};e(a)?b.d=a:d(a)&&h(b,a);return this.createElement(\"shape\").attr(b)},circle:function(a,b,c){var l=this.symbol(\"circle\");\n",
157
+ "d(a)&&(c=a.r,b=a.y,a=a.x);l.isCircle=!0;l.r=c;return l.attr({x:a,y:b})},g:function(a){var b;a&&(b={className:\"highcharts-\"+a,\"class\":\"highcharts-\"+a});return this.createElement(\"div\").attr(b)},image:function(a,b,c,d,e){var l=this.createElement(\"img\").attr({src:a});1<arguments.length&&l.attr({x:b,y:c,width:d,height:e});return l},createElement:function(a){return\"rect\"===a?this.symbol(a):D.prototype.createElement.call(this,a)},invertChild:function(a,c){var d=this;c=c.style;var l=\"IMG\"===a.tagName&&a.style;\n",
158
+ "F(a,{flip:\"x\",left:b(c.width)-(l?b(l.top):1),top:b(c.height)-(l?b(l.left):1),rotation:-90});v(a.childNodes,function(b){d.invertChild(b,a)})},symbols:{arc:function(a,b,c,d,e){var p=e.start,l=e.end,r=e.r||c||d;c=e.innerR;d=Math.cos(p);var h=Math.sin(p),f=Math.cos(l),t=Math.sin(l);if(0===l-p)return[\"x\"];p=[\"wa\",a-r,b-r,a+r,b+r,a+r*d,b+r*h,a+r*f,b+r*t];e.open&&!c&&p.push(\"e\",\"M\",a,b);p.push(\"at\",a-c,b-c,a+c,b+c,a+c*f,b+c*t,a+c*d,b+c*h,\"x\",\"e\");p.isArc=!0;return p},circle:function(a,b,c,d,e){e&&m(e.r)&&\n",
159
+ "(c=d=2*e.r);e&&e.isCircle&&(a-=c/2,b-=d/2);return[\"wa\",a,b,a+c,b+d,a+c,b+d/2,a+c,b+d/2,\"e\"]},rect:function(a,b,c,d,e){return D.prototype.symbols[m(e)&&e.r?\"callout\":\"square\"].call(0,a,b,c,d,e)}}},a.VMLRenderer=C=function(){this.init.apply(this,arguments)},C.prototype=c(D.prototype,A),a.Renderer=C);D.prototype.measureSpanWidth=function(a,b){var c=q.createElement(\"span\");a=q.createTextNode(a);c.appendChild(a);F(c,b);this.box.appendChild(c);b=c.offsetWidth;k(c);return b}})(K);(function(a){function C(){var g=\n",
160
+ "a.defaultOptions.global,k=q.moment;if(g.timezone){if(k)return function(a){return-k.tz(a,g.timezone).utcOffset()};a.error(25)}return g.useUTC&&g.getTimezoneOffset}function A(){var g=a.defaultOptions.global,u,h=g.useUTC,e=h?\"getUTC\":\"get\",n=h?\"setUTC\":\"set\";a.Date=u=g.Date||q.Date;u.hcTimezoneOffset=h&&g.timezoneOffset;u.hcGetTimezoneOffset=C();u.hcMakeTime=function(a,c,e,b,n,g){var d;h?(d=u.UTC.apply(0,arguments),d+=m(d)):d=(new u(a,c,k(e,1),k(b,0),k(n,0),k(g,0))).getTime();return d};F(\"Minutes Hours Day Date Month FullYear\".split(\" \"),\n",
161
+ "function(a){u[\"hcGet\"+a]=e+a});F(\"Milliseconds Seconds Minutes Hours Date Month FullYear\".split(\" \"),function(a){u[\"hcSet\"+a]=n+a})}var G=a.color,F=a.each,m=a.getTZOffset,g=a.merge,k=a.pick,q=a.win;a.defaultOptions={colors:\"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1\".split(\" \"),symbols:[\"circle\",\"diamond\",\"square\",\"triangle\",\"triangle-down\"],lang:{loading:\"Loading...\",months:\"January February March April May June July August September October November December\".split(\" \"),\n",
162
+ "shortMonths:\"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec\".split(\" \"),weekdays:\"Sunday Monday Tuesday Wednesday Thursday Friday Saturday\".split(\" \"),decimalPoint:\".\",numericSymbols:\"kMGTPE\".split(\"\"),resetZoom:\"Reset zoom\",resetZoomTitle:\"Reset zoom level 1:1\",thousandsSep:\" \"},global:{useUTC:!0,VMLRadialGradientURL:\"http://code.highcharts.com/5.0.12/gfx/vml-radial-gradient.png\"},chart:{borderRadius:0,defaultSeriesType:\"line\",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:20},\n",
163
+ "position:{align:\"right\",x:-10,y:10}},width:null,height:null,borderColor:\"#335cad\",backgroundColor:\"#ffffff\",plotBorderColor:\"#cccccc\"},title:{text:\"Chart title\",align:\"center\",margin:15,widthAdjust:-44},subtitle:{text:\"\",align:\"center\",widthAdjust:-44},plotOptions:{},labels:{style:{position:\"absolute\",color:\"#333333\"}},legend:{enabled:!0,align:\"center\",layout:\"horizontal\",labelFormatter:function(){return this.name},borderColor:\"#999999\",borderRadius:0,navigation:{activeColor:\"#003399\",inactiveColor:\"#cccccc\"},\n",
164
+ "itemStyle:{color:\"#333333\",fontSize:\"12px\",fontWeight:\"bold\",textOverflow:\"ellipsis\"},itemHoverStyle:{color:\"#000000\"},itemHiddenStyle:{color:\"#cccccc\"},shadow:!1,itemCheckboxStyle:{position:\"absolute\",width:\"13px\",height:\"13px\"},squareSymbol:!0,symbolPadding:5,verticalAlign:\"bottom\",x:0,y:0,title:{style:{fontWeight:\"bold\"}}},loading:{labelStyle:{fontWeight:\"bold\",position:\"relative\",top:\"45%\"},style:{position:\"absolute\",backgroundColor:\"#ffffff\",opacity:.5,textAlign:\"center\"}},tooltip:{enabled:!0,\n",
165
+ "animation:a.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:\"%A, %b %e, %H:%M:%S.%L\",second:\"%A, %b %e, %H:%M:%S\",minute:\"%A, %b %e, %H:%M\",hour:\"%A, %b %e, %H:%M\",day:\"%A, %b %e, %Y\",week:\"Week from %A, %b %e, %Y\",month:\"%B %Y\",year:\"%Y\"},footerFormat:\"\",padding:8,snap:a.isTouchDevice?25:10,backgroundColor:G(\"#f7f7f7\").setOpacity(.85).get(),borderWidth:1,headerFormat:'\\x3cspan style\\x3d\"font-size: 10px\"\\x3e{point.key}\\x3c/span\\x3e\\x3cbr/\\x3e',pointFormat:'\\x3cspan style\\x3d\"color:{point.color}\"\\x3e\\u25cf\\x3c/span\\x3e {series.name}: \\x3cb\\x3e{point.y}\\x3c/b\\x3e\\x3cbr/\\x3e',\n",
166
+ "shadow:!0,style:{color:\"#333333\",cursor:\"default\",fontSize:\"12px\",pointerEvents:\"none\",whiteSpace:\"nowrap\"}},credits:{enabled:!0,href:\"http://www.highcharts.com\",position:{align:\"right\",x:-10,verticalAlign:\"bottom\",y:-5},style:{cursor:\"pointer\",color:\"#999999\",fontSize:\"9px\"},text:\"Highcharts.com\"}};a.setOptions=function(q){a.defaultOptions=g(!0,a.defaultOptions,q);A();return a.defaultOptions};a.getOptions=function(){return a.defaultOptions};a.defaultPlotOptions=a.defaultOptions.plotOptions;A()})(K);\n",
167
+ "(function(a){var C=a.correctFloat,A=a.defined,G=a.destroyObjectProperties,F=a.isNumber,m=a.merge,g=a.pick,k=a.deg2rad;a.Tick=function(a,g,k,h){this.axis=a;this.pos=g;this.type=k||\"\";this.isNewLabel=this.isNew=!0;k||h||this.addLabel()};a.Tick.prototype={addLabel:function(){var a=this.axis,k=a.options,u=a.chart,h=a.categories,e=a.names,n=this.pos,d=k.labels,c=a.tickPositions,w=n===c[0],b=n===c[c.length-1],e=h?g(h[n],e[n],n):n,h=this.label,c=c.info,y;a.isDatetimeAxis&&c&&(y=k.dateTimeLabelFormats[c.higherRanks[n]||\n",
168
+ "c.unitName]);this.isFirst=w;this.isLast=b;k=a.labelFormatter.call({axis:a,chart:u,isFirst:w,isLast:b,dateTimeLabelFormat:y,value:a.isLog?C(a.lin2log(e)):e});A(h)?h&&h.attr({text:k}):(this.labelLength=(this.label=h=A(k)&&d.enabled?u.renderer.text(k,0,0,d.useHTML).css(m(d.style)).add(a.labelGroup):null)&&h.getBBox().width,this.rotation=0)},getLabelSize:function(){return this.label?this.label.getBBox()[this.axis.horiz?\"height\":\"width\"]:0},handleOverflow:function(a){var q=this.axis,m=a.x,h=q.chart.chartWidth,\n",
169
+ "e=q.chart.spacing,n=g(q.labelLeft,Math.min(q.pos,e[3])),e=g(q.labelRight,Math.max(q.pos+q.len,h-e[1])),d=this.label,c=this.rotation,w={left:0,center:.5,right:1}[q.labelAlign],b=d.getBBox().width,y=q.getSlotWidth(),D=y,H=1,l,B={};if(c)0>c&&m-w*b<n?l=Math.round(m/Math.cos(c*k)-n):0<c&&m+w*b>e&&(l=Math.round((h-m)/Math.cos(c*k)));else if(h=m+(1-w)*b,m-w*b<n?D=a.x+D*(1-w)-n:h>e&&(D=e-a.x+D*w,H=-1),D=Math.min(y,D),D<y&&\"center\"===q.labelAlign&&(a.x+=H*(y-D-w*(y-Math.min(b,D)))),b>D||q.autoRotation&&(d.styles||\n",
170
+ "{}).width)l=D;l&&(B.width=l,(q.options.labels.style||{}).textOverflow||(B.textOverflow=\"ellipsis\"),d.css(B))},getPosition:function(a,g,k,h){var e=this.axis,n=e.chart,d=h&&n.oldChartHeight||n.chartHeight;return{x:a?e.translate(g+k,null,null,h)+e.transB:e.left+e.offset+(e.opposite?(h&&n.oldChartWidth||n.chartWidth)-e.right-e.left:0),y:a?d-e.bottom+e.offset-(e.opposite?e.height:0):d-e.translate(g+k,null,null,h)-e.transB}},getLabelPosition:function(a,g,m,h,e,n,d,c){var w=this.axis,b=w.transA,y=w.reversed,\n",
171
+ "D=w.staggerLines,q=w.tickRotCorr||{x:0,y:0},l=e.y;A(l)||(l=0===w.side?m.rotation?-8:-m.getBBox().height:2===w.side?q.y+8:Math.cos(m.rotation*k)*(q.y-m.getBBox(!1,0).height/2));a=a+e.x+q.x-(n&&h?n*b*(y?-1:1):0);g=g+l-(n&&!h?n*b*(y?1:-1):0);D&&(m=d/(c||1)%D,w.opposite&&(m=D-m-1),g+=w.labelOffset/D*m);return{x:a,y:Math.round(g)}},getMarkPath:function(a,g,k,h,e,n){return n.crispLine([\"M\",a,g,\"L\",a+(e?0:-k),g+(e?k:0)],h)},renderGridLine:function(a,g,k){var h=this.axis,e=h.options,n=this.gridLine,d={},\n",
172
+ "c=this.pos,w=this.type,b=h.tickmarkOffset,y=h.chart.renderer,D=w?w+\"Grid\":\"grid\",q=e[D+\"LineWidth\"],l=e[D+\"LineColor\"],e=e[D+\"LineDashStyle\"];n||(d.stroke=l,d[\"stroke-width\"]=q,e&&(d.dashstyle=e),w||(d.zIndex=1),a&&(d.opacity=0),this.gridLine=n=y.path().attr(d).addClass(\"highcharts-\"+(w?w+\"-\":\"\")+\"grid-line\").add(h.gridGroup));if(!a&&n&&(a=h.getPlotLinePath(c+b,n.strokeWidth()*k,a,!0)))n[this.isNew?\"attr\":\"animate\"]({d:a,opacity:g})},renderMark:function(a,k,m){var h=this.axis,e=h.options,n=h.chart.renderer,\n",
173
+ "d=this.type,c=d?d+\"Tick\":\"tick\",w=h.tickSize(c),b=this.mark,y=!b,D=a.x;a=a.y;var q=g(e[c+\"Width\"],!d&&h.isXAxis?1:0),e=e[c+\"Color\"];w&&(h.opposite&&(w[0]=-w[0]),y&&(this.mark=b=n.path().addClass(\"highcharts-\"+(d?d+\"-\":\"\")+\"tick\").add(h.axisGroup),b.attr({stroke:e,\"stroke-width\":q})),b[y?\"attr\":\"animate\"]({d:this.getMarkPath(D,a,w[0],b.strokeWidth()*m,h.horiz,n),opacity:k}))},renderLabel:function(a,k,m,h){var e=this.axis,n=e.horiz,d=e.options,c=this.label,w=d.labels,b=w.step,y=e.tickmarkOffset,D=!0,\n",
174
+ "q=a.x;a=a.y;c&&F(q)&&(c.xy=a=this.getLabelPosition(q,a,c,n,w,y,h,b),this.isFirst&&!this.isLast&&!g(d.showFirstLabel,1)||this.isLast&&!this.isFirst&&!g(d.showLastLabel,1)?D=!1:!n||e.isRadial||w.step||w.rotation||k||0===m||this.handleOverflow(a),b&&h%b&&(D=!1),D&&F(a.y)?(a.opacity=m,c[this.isNewLabel?\"attr\":\"animate\"](a),this.isNewLabel=!1):(c.attr(\"y\",-9999),this.isNewLabel=!0),this.isNew=!1)},render:function(a,k,m){var h=this.axis,e=h.horiz,n=this.getPosition(e,this.pos,h.tickmarkOffset,k),d=n.x,\n",
175
+ "c=n.y,h=e&&d===h.pos+h.len||!e&&c===h.pos?-1:1;m=g(m,1);this.isActive=!0;this.renderGridLine(k,m,h);this.renderMark(n,m,h);this.renderLabel(n,k,m,a)},destroy:function(){G(this,this.axis)}}})(K);var S=function(a){var C=a.addEvent,A=a.animObject,G=a.arrayMax,F=a.arrayMin,m=a.color,g=a.correctFloat,k=a.defaultOptions,q=a.defined,v=a.deg2rad,u=a.destroyObjectProperties,h=a.each,e=a.extend,n=a.fireEvent,d=a.format,c=a.getMagnitude,w=a.grep,b=a.inArray,y=a.isArray,D=a.isNumber,H=a.isString,l=a.merge,B=\n",
176
+ "a.normalizeTickInterval,r=a.objectEach,z=a.pick,M=a.removeEvent,p=a.splat,E=a.syncTimeout,I=a.Tick,L=function(){this.init.apply(this,arguments)};a.extend(L.prototype,{defaultOptions:{dateTimeLabelFormats:{millisecond:\"%H:%M:%S.%L\",second:\"%H:%M:%S\",minute:\"%H:%M\",hour:\"%H:%M\",day:\"%e. %b\",week:\"%e. %b\",month:\"%b '%y\",year:\"%Y\"},endOnTick:!1,labels:{enabled:!0,style:{color:\"#666666\",cursor:\"default\",fontSize:\"11px\"},x:0},minPadding:.01,maxPadding:.01,minorTickLength:2,minorTickPosition:\"outside\",startOfWeek:1,\n",
177
+ "startOnTick:!1,tickLength:10,tickmarkPlacement:\"between\",tickPixelInterval:100,tickPosition:\"outside\",title:{align:\"middle\",style:{color:\"#666666\"}},type:\"linear\",minorGridLineColor:\"#f2f2f2\",minorGridLineWidth:1,minorTickColor:\"#999999\",lineColor:\"#ccd6eb\",lineWidth:1,gridLineColor:\"#e6e6e6\",tickColor:\"#ccd6eb\"},defaultYAxisOptions:{endOnTick:!0,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},maxPadding:.05,minPadding:.05,startOnTick:!0,title:{rotation:270,text:\"Values\"},stackLabels:{enabled:!1,\n",
178
+ "formatter:function(){return a.numberFormat(this.total,-1)},style:{fontSize:\"11px\",fontWeight:\"bold\",color:\"#000000\",textOutline:\"1px contrast\"}},gridLineWidth:1,lineWidth:0},defaultLeftAxisOptions:{labels:{x:-15},title:{rotation:270}},defaultRightAxisOptions:{labels:{x:15},title:{rotation:90}},defaultBottomAxisOptions:{labels:{autoRotation:[-45],x:0},title:{rotation:0}},defaultTopAxisOptions:{labels:{autoRotation:[-45],x:0},title:{rotation:0}},init:function(a,t){var f=t.isX,c=this;c.chart=a;c.horiz=\n",
179
+ "a.inverted&&!c.isZAxis?!f:f;c.isXAxis=f;c.coll=c.coll||(f?\"xAxis\":\"yAxis\");c.opposite=t.opposite;c.side=t.side||(c.horiz?c.opposite?0:2:c.opposite?1:3);c.setOptions(t);var d=this.options,e=d.type;c.labelFormatter=d.labels.formatter||c.defaultLabelFormatter;c.userOptions=t;c.minPixelPadding=0;c.reversed=d.reversed;c.visible=!1!==d.visible;c.zoomEnabled=!1!==d.zoomEnabled;c.hasNames=\"category\"===e||!0===d.categories;c.categories=d.categories||c.hasNames;c.names=c.names||[];c.plotLinesAndBandsGroups=\n",
180
+ "{};c.isLog=\"logarithmic\"===e;c.isDatetimeAxis=\"datetime\"===e;c.positiveValuesOnly=c.isLog&&!c.allowNegativeLog;c.isLinked=q(d.linkedTo);c.ticks={};c.labelEdge=[];c.minorTicks={};c.plotLinesAndBands=[];c.alternateBands={};c.len=0;c.minRange=c.userMinRange=d.minRange||d.maxZoom;c.range=d.range;c.offset=d.offset||0;c.stacks={};c.oldStacks={};c.stacksTouched=0;c.max=null;c.min=null;c.crosshair=z(d.crosshair,p(a.options.tooltip.crosshairs)[f?0:1],!1);t=c.options.events;-1===b(c,a.axes)&&(f?a.axes.splice(a.xAxis.length,\n",
181
+ "0,c):a.axes.push(c),a[c.coll].push(c));c.series=c.series||[];a.inverted&&!c.isZAxis&&f&&void 0===c.reversed&&(c.reversed=!0);r(t,function(a,f){C(c,f,a)});c.lin2log=d.linearToLogConverter||c.lin2log;c.isLog&&(c.val2lin=c.log2lin,c.lin2val=c.lin2log)},setOptions:function(a){this.options=l(this.defaultOptions,\"yAxis\"===this.coll&&this.defaultYAxisOptions,[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side],l(k[this.coll],a))},\n",
182
+ "defaultLabelFormatter:function(){var f=this.axis,b=this.value,c=f.categories,p=this.dateTimeLabelFormat,e=k.lang,l=e.numericSymbols,e=e.numericSymbolMagnitude||1E3,r=l&&l.length,x,h=f.options.labels.format,f=f.isLog?Math.abs(b):f.tickInterval;if(h)x=d(h,this);else if(c)x=b;else if(p)x=a.dateFormat(p,b);else if(r&&1E3<=f)for(;r--&&void 0===x;)c=Math.pow(e,r+1),f>=c&&0===10*b%c&&null!==l[r]&&0!==b&&(x=a.numberFormat(b/c,-1)+l[r]);void 0===x&&(x=1E4<=Math.abs(b)?a.numberFormat(b,-1):a.numberFormat(b,\n",
183
+ "-1,void 0,\"\"));return x},getSeriesExtremes:function(){var a=this,b=a.chart;a.hasVisibleSeries=!1;a.dataMin=a.dataMax=a.threshold=null;a.softThreshold=!a.isXAxis;a.buildStacks&&a.buildStacks();h(a.series,function(f){if(f.visible||!b.options.chart.ignoreHiddenSeries){var c=f.options,t=c.threshold,d;a.hasVisibleSeries=!0;a.positiveValuesOnly&&0>=t&&(t=null);if(a.isXAxis)c=f.xData,c.length&&(f=F(c),D(f)||f instanceof Date||(c=w(c,function(a){return D(a)}),f=F(c)),a.dataMin=Math.min(z(a.dataMin,c[0]),\n",
184
+ "f),a.dataMax=Math.max(z(a.dataMax,c[0]),G(c)));else if(f.getExtremes(),d=f.dataMax,f=f.dataMin,q(f)&&q(d)&&(a.dataMin=Math.min(z(a.dataMin,f),f),a.dataMax=Math.max(z(a.dataMax,d),d)),q(t)&&(a.threshold=t),!c.softThreshold||a.positiveValuesOnly)a.softThreshold=!1}})},translate:function(a,b,c,d,p,e){var f=this.linkedParent||this,t=1,l=0,r=d?f.oldTransA:f.transA;d=d?f.oldMin:f.min;var h=f.minPixelPadding;p=(f.isOrdinal||f.isBroken||f.isLog&&p)&&f.lin2val;r||(r=f.transA);c&&(t*=-1,l=f.len);f.reversed&&\n",
185
+ "(t*=-1,l-=t*(f.sector||f.len));b?(a=(a*t+l-h)/r+d,p&&(a=f.lin2val(a))):(p&&(a=f.val2lin(a)),a=t*(a-d)*r+l+t*h+(D(e)?r*e:0));return a},toPixels:function(a,b){return this.translate(a,!1,!this.horiz,null,!0)+(b?0:this.pos)},toValue:function(a,b){return this.translate(a-(b?0:this.pos),!0,!this.horiz,null,!0)},getPlotLinePath:function(a,b,c,d,p){var f=this.chart,t=this.left,e=this.top,l,r,h=c&&f.oldChartHeight||f.chartHeight,n=c&&f.oldChartWidth||f.chartWidth,w;l=this.transB;var g=function(a,f,b){if(a<\n",
186
+ "f||a>b)d?a=Math.min(Math.max(f,a),b):w=!0;return a};p=z(p,this.translate(a,null,null,c));a=c=Math.round(p+l);l=r=Math.round(h-p-l);D(p)?this.horiz?(l=e,r=h-this.bottom,a=c=g(a,t,t+this.width)):(a=t,c=n-this.right,l=r=g(l,e,e+this.height)):w=!0;return w&&!d?null:f.renderer.crispLine([\"M\",a,l,\"L\",c,r],b||1)},getLinearTickPositions:function(a,b,c){var f,t=g(Math.floor(b/a)*a);c=g(Math.ceil(c/a)*a);var d=[];if(this.single)return[b];for(b=t;b<=c;){d.push(b);b=g(b+a);if(b===f)break;f=b}return d},getMinorTickPositions:function(){var a=\n",
187
+ "this,b=a.options,c=a.tickPositions,d=a.minorTickInterval,p=[],e=a.pointRangePadding||0,l=a.min-e,e=a.max+e,x=e-l;if(x&&x/d<a.len/3)if(a.isLog)h(this.paddedTicks,function(b,f,c){f&&p.push.apply(p,a.getLogTickPositions(d,c[f-1],c[f],!0))});else if(a.isDatetimeAxis&&\"auto\"===b.minorTickInterval)p=p.concat(a.getTimeTicks(a.normalizeTimeTickInterval(d),l,e,b.startOfWeek));else for(b=l+(c[0]-l)%d;b<=e&&b!==p[0];b+=d)p.push(b);0!==p.length&&a.trimTicks(p);return p},adjustForMinRange:function(){var a=this.options,\n",
188
+ "b=this.min,c=this.max,d,p,e,l,x,r,n,w;this.isXAxis&&void 0===this.minRange&&!this.isLog&&(q(a.min)||q(a.max)?this.minRange=null:(h(this.series,function(a){r=a.xData;for(l=n=a.xIncrement?1:r.length-1;0<l;l--)if(x=r[l]-r[l-1],void 0===e||x<e)e=x}),this.minRange=Math.min(5*e,this.dataMax-this.dataMin)));c-b<this.minRange&&(p=this.dataMax-this.dataMin>=this.minRange,w=this.minRange,d=(w-c+b)/2,d=[b-d,z(a.min,b-d)],p&&(d[2]=this.isLog?this.log2lin(this.dataMin):this.dataMin),b=G(d),c=[b+w,z(a.max,b+w)],\n",
189
+ "p&&(c[2]=this.isLog?this.log2lin(this.dataMax):this.dataMax),c=F(c),c-b<w&&(d[0]=c-w,d[1]=z(a.min,c-w),b=G(d)));this.min=b;this.max=c},getClosest:function(){var a;this.categories?a=1:h(this.series,function(b){var f=b.closestPointRange,c=b.visible||!b.chart.options.chart.ignoreHiddenSeries;!b.noSharedTooltip&&q(f)&&c&&(a=q(a)?Math.min(a,f):f)});return a},nameToX:function(a){var f=y(this.categories),c=f?this.categories:this.names,d=a.options.x,p;a.series.requireSorting=!1;q(d)||(d=!1===this.options.uniqueNames?\n",
190
+ "a.series.autoIncrement():b(a.name,c));-1===d?f||(p=c.length):p=d;void 0!==p&&(this.names[p]=a.name);return p},updateNames:function(){var a=this;0<this.names.length&&(this.names.length=0,this.minRange=this.userMinRange,h(this.series||[],function(b){b.xIncrement=null;if(!b.points||b.isDirtyData)b.processData(),b.generatePoints();h(b.points,function(f,c){var t;f.options&&(t=a.nameToX(f),void 0!==t&&t!==f.x&&(f.x=t,b.xData[c]=t))})}))},setAxisTranslation:function(a){var b=this,f=b.max-b.min,c=b.axisPointRange||\n",
191
+ "0,d,p=0,e=0,l=b.linkedParent,r=!!b.categories,n=b.transA,w=b.isXAxis;if(w||r||c)d=b.getClosest(),l?(p=l.minPointOffset,e=l.pointRangePadding):h(b.series,function(a){var f=r?1:w?z(a.options.pointRange,d,0):b.axisPointRange||0;a=a.options.pointPlacement;c=Math.max(c,f);b.single||(p=Math.max(p,H(a)?0:f/2),e=Math.max(e,\"on\"===a?0:f))}),l=b.ordinalSlope&&d?b.ordinalSlope/d:1,b.minPointOffset=p*=l,b.pointRangePadding=e*=l,b.pointRange=Math.min(c,f),w&&(b.closestPointRange=d);a&&(b.oldTransA=n);b.translationSlope=\n",
192
+ "b.transA=n=b.options.staticScale||b.len/(f+e||1);b.transB=b.horiz?b.left:b.bottom;b.minPixelPadding=n*p},minFromRange:function(){return this.max-this.range},setTickInterval:function(b){var f=this,d=f.chart,p=f.options,e=f.isLog,l=f.log2lin,r=f.isDatetimeAxis,x=f.isXAxis,w=f.isLinked,y=p.maxPadding,E=p.minPadding,k=p.tickInterval,I=p.tickPixelInterval,m=f.categories,H=f.threshold,u=f.softThreshold,L,v,M,A;r||m||w||this.getTickAmount();M=z(f.userMin,p.min);A=z(f.userMax,p.max);w?(f.linkedParent=d[f.coll][p.linkedTo],\n",
193
+ "d=f.linkedParent.getExtremes(),f.min=z(d.min,d.dataMin),f.max=z(d.max,d.dataMax),p.type!==f.linkedParent.options.type&&a.error(11,1)):(!u&&q(H)&&(f.dataMin>=H?(L=H,E=0):f.dataMax<=H&&(v=H,y=0)),f.min=z(M,L,f.dataMin),f.max=z(A,v,f.dataMax));e&&(f.positiveValuesOnly&&!b&&0>=Math.min(f.min,z(f.dataMin,f.min))&&a.error(10,1),f.min=g(l(f.min),15),f.max=g(l(f.max),15));f.range&&q(f.max)&&(f.userMin=f.min=M=Math.max(f.min,f.minFromRange()),f.userMax=A=f.max,f.range=null);n(f,\"foundExtremes\");f.beforePadding&&\n",
194
+ "f.beforePadding();f.adjustForMinRange();!(m||f.axisPointRange||f.usePercentage||w)&&q(f.min)&&q(f.max)&&(l=f.max-f.min)&&(!q(M)&&E&&(f.min-=l*E),!q(A)&&y&&(f.max+=l*y));D(p.softMin)&&(f.min=Math.min(f.min,p.softMin));D(p.softMax)&&(f.max=Math.max(f.max,p.softMax));D(p.floor)&&(f.min=Math.max(f.min,p.floor));D(p.ceiling)&&(f.max=Math.min(f.max,p.ceiling));u&&q(f.dataMin)&&(H=H||0,!q(M)&&f.min<H&&f.dataMin>=H?f.min=H:!q(A)&&f.max>H&&f.dataMax<=H&&(f.max=H));f.tickInterval=f.min===f.max||void 0===f.min||\n",
195
+ "void 0===f.max?1:w&&!k&&I===f.linkedParent.options.tickPixelInterval?k=f.linkedParent.tickInterval:z(k,this.tickAmount?(f.max-f.min)/Math.max(this.tickAmount-1,1):void 0,m?1:(f.max-f.min)*I/Math.max(f.len,I));x&&!b&&h(f.series,function(a){a.processData(f.min!==f.oldMin||f.max!==f.oldMax)});f.setAxisTranslation(!0);f.beforeSetTickPositions&&f.beforeSetTickPositions();f.postProcessTickInterval&&(f.tickInterval=f.postProcessTickInterval(f.tickInterval));f.pointRange&&!k&&(f.tickInterval=Math.max(f.pointRange,\n",
196
+ "f.tickInterval));b=z(p.minTickInterval,f.isDatetimeAxis&&f.closestPointRange);!k&&f.tickInterval<b&&(f.tickInterval=b);r||e||k||(f.tickInterval=B(f.tickInterval,null,c(f.tickInterval),z(p.allowDecimals,!(.5<f.tickInterval&&5>f.tickInterval&&1E3<f.max&&9999>f.max)),!!this.tickAmount));this.tickAmount||(f.tickInterval=f.unsquish());this.setTickPositions()},setTickPositions:function(){var a=this.options,b,c=a.tickPositions,d=a.tickPositioner,p=a.startOnTick,l=a.endOnTick;this.tickmarkOffset=this.categories&&\n",
197
+ "\"between\"===a.tickmarkPlacement&&1===this.tickInterval?.5:0;this.minorTickInterval=\"auto\"===a.minorTickInterval&&this.tickInterval?this.tickInterval/5:a.minorTickInterval;this.single=this.min===this.max&&q(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==a.allowDecimals);this.tickPositions=b=c&&c.slice();!b&&(b=this.isDatetimeAxis?this.getTimeTicks(this.normalizeTimeTickInterval(this.tickInterval,a.units),this.min,this.max,a.startOfWeek,this.ordinalPositions,this.closestPointRange,\n",
198
+ "!0):this.isLog?this.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max),b.length>this.len&&(b=[b[0],b.pop()]),this.tickPositions=b,d&&(d=d.apply(this,[this.min,this.max])))&&(this.tickPositions=b=d);this.paddedTicks=b.slice(0);this.trimTicks(b,p,l);this.isLinked||(this.single&&(this.min-=.5,this.max+=.5),c||d||this.adjustTickAmount())},trimTicks:function(a,b,c){var f=a[0],d=a[a.length-1],p=this.minPointOffset||0;if(!this.isLinked){if(b&&\n",
199
+ "-Infinity!==f)this.min=f;else for(;this.min-p>a[0];)a.shift();if(c)this.max=d;else for(;this.max+p<a[a.length-1];)a.pop();0===a.length&&q(f)&&a.push((d+f)/2)}},alignToOthers:function(){var a={},b,c=this.options;!1===this.chart.options.chart.alignTicks||!1===c.alignTicks||this.isLog||h(this.chart[this.coll],function(f){var c=f.options,c=[f.horiz?c.left:c.top,c.width,c.height,c.pane].join();f.series.length&&(a[c]?b=!0:a[c]=1)});return b},getTickAmount:function(){var a=this.options,b=a.tickAmount,c=\n",
200
+ "a.tickPixelInterval;!q(a.tickInterval)&&this.len<c&&!this.isRadial&&!this.isLog&&a.startOnTick&&a.endOnTick&&(b=2);!b&&this.alignToOthers()&&(b=Math.ceil(this.len/c)+1);4>b&&(this.finalTickAmt=b,b=5);this.tickAmount=b},adjustTickAmount:function(){var a=this.tickInterval,b=this.tickPositions,c=this.tickAmount,d=this.finalTickAmt,p=b&&b.length;if(p<c){for(;b.length<c;)b.push(g(b[b.length-1]+a));this.transA*=(p-1)/(c-1);this.max=b[b.length-1]}else p>c&&(this.tickInterval*=2,this.setTickPositions());\n",
201
+ "if(q(d)){for(a=c=b.length;a--;)(3===d&&1===a%2||2>=d&&0<a&&a<c-1)&&b.splice(a,1);this.finalTickAmt=void 0}},setScale:function(){var a,b;this.oldMin=this.min;this.oldMax=this.max;this.oldAxisLength=this.len;this.setAxisSize();b=this.len!==this.oldAxisLength;h(this.series,function(b){if(b.isDirtyData||b.isDirty||b.xAxis.isDirty)a=!0});b||a||this.isLinked||this.forceRedraw||this.userMin!==this.oldUserMin||this.userMax!==this.oldUserMax||this.alignToOthers()?(this.resetStacks&&this.resetStacks(),this.forceRedraw=\n",
202
+ "!1,this.getSeriesExtremes(),this.setTickInterval(),this.oldUserMin=this.userMin,this.oldUserMax=this.userMax,this.isDirty||(this.isDirty=b||this.min!==this.oldMin||this.max!==this.oldMax)):this.cleanStacks&&this.cleanStacks()},setExtremes:function(a,b,c,d,p){var f=this,l=f.chart;c=z(c,!0);h(f.series,function(a){delete a.kdTree});p=e(p,{min:a,max:b});n(f,\"setExtremes\",p,function(){f.userMin=a;f.userMax=b;f.eventArgs=p;c&&l.redraw(d)})},zoom:function(a,b){var f=this.dataMin,c=this.dataMax,d=this.options,\n",
203
+ "p=Math.min(f,z(d.min,f)),d=Math.max(c,z(d.max,c));if(a!==this.min||b!==this.max)this.allowZoomOutside||(q(f)&&(a<p&&(a=p),a>d&&(a=d)),q(c)&&(b<p&&(b=p),b>d&&(b=d))),this.displayBtn=void 0!==a||void 0!==b,this.setExtremes(a,b,!1,void 0,{trigger:\"zoom\"});return!0},setAxisSize:function(){var a=this.chart,b=this.options,c=b.offsets||[0,0,0,0],d=this.horiz,p=z(b.width,a.plotWidth-c[3]+c[1]),l=z(b.height,a.plotHeight-c[0]+c[2]),e=z(b.top,a.plotTop+c[0]),b=z(b.left,a.plotLeft+c[3]),c=/%$/;c.test(l)&&(l=\n",
204
+ "Math.round(parseFloat(l)/100*a.plotHeight));c.test(e)&&(e=Math.round(parseFloat(e)/100*a.plotHeight+a.plotTop));this.left=b;this.top=e;this.width=p;this.height=l;this.bottom=a.chartHeight-l-e;this.right=a.chartWidth-p-b;this.len=Math.max(d?p:l,0);this.pos=d?b:e},getExtremes:function(){var a=this.isLog,b=this.lin2log;return{min:a?g(b(this.min)):this.min,max:a?g(b(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},getThreshold:function(a){var b=\n",
205
+ "this.isLog,f=this.lin2log,c=b?f(this.min):this.min,b=b?f(this.max):this.max;null===a?a=c:c>a?a=c:b<a&&(a=b);return this.translate(a,0,1,0,1)},autoLabelAlign:function(a){a=(z(a,0)-90*this.side+720)%360;return 15<a&&165>a?\"right\":195<a&&345>a?\"left\":\"center\"},tickSize:function(a){var b=this.options,f=b[a+\"Length\"],c=z(b[a+\"Width\"],\"tick\"===a&&this.isXAxis?1:0);if(c&&f)return\"inside\"===b[a+\"Position\"]&&(f=-f),[f,c]},labelMetrics:function(){var a=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style&&\n",
206
+ "this.options.labels.style.fontSize,this.ticks[a]&&this.ticks[a].label)},unsquish:function(){var a=this.options.labels,b=this.horiz,c=this.tickInterval,d=c,p=this.len/(((this.categories?1:0)+this.max-this.min)/c),l,e=a.rotation,r=this.labelMetrics(),n,w=Number.MAX_VALUE,g,y=function(a){a/=p||1;a=1<a?Math.ceil(a):1;return a*c};b?(g=!a.staggerLines&&!a.step&&(q(e)?[e]:p<z(a.autoRotationLimit,80)&&a.autoRotation))&&h(g,function(a){var b;if(a===e||a&&-90<=a&&90>=a)n=y(Math.abs(r.h/Math.sin(v*a))),b=n+\n",
207
+ "Math.abs(a/360),b<w&&(w=b,l=a,d=n)}):a.step||(d=y(r.h));this.autoRotation=g;this.labelRotation=z(l,e);return d},getSlotWidth:function(){var a=this.chart,b=this.horiz,c=this.options.labels,d=Math.max(this.tickPositions.length-(this.categories?0:1),1),p=a.margin[3];return b&&2>(c.step||0)&&!c.rotation&&(this.staggerLines||1)*this.len/d||!b&&(p&&p-a.spacing[3]||.33*a.chartWidth)},renderUnsquish:function(){var a=this.chart,b=a.renderer,c=this.tickPositions,d=this.ticks,p=this.options.labels,e=this.horiz,\n",
208
+ "r=this.getSlotWidth(),x=Math.max(1,Math.round(r-2*(p.padding||5))),n={},w=this.labelMetrics(),g=p.style&&p.style.textOverflow,y,E=0,k,I;H(p.rotation)||(n.rotation=p.rotation||0);h(c,function(a){(a=d[a])&&a.labelLength>E&&(E=a.labelLength)});this.maxLabelLength=E;if(this.autoRotation)E>x&&E>w.h?n.rotation=this.labelRotation:this.labelRotation=0;else if(r&&(y={width:x+\"px\"},!g))for(y.textOverflow=\"clip\",k=c.length;!e&&k--;)if(I=c[k],x=d[I].label)x.styles&&\"ellipsis\"===x.styles.textOverflow?x.css({textOverflow:\"clip\"}):\n",
209
+ "d[I].labelLength>r&&x.css({width:r+\"px\"}),x.getBBox().height>this.len/c.length-(w.h-w.f)&&(x.specCss={textOverflow:\"ellipsis\"});n.rotation&&(y={width:(E>.5*a.chartHeight?.33*a.chartHeight:a.chartHeight)+\"px\"},g||(y.textOverflow=\"ellipsis\"));if(this.labelAlign=p.align||this.autoLabelAlign(this.labelRotation))n.align=this.labelAlign;h(c,function(a){var b=(a=d[a])&&a.label;b&&(b.attr(n),y&&b.css(l(y,b.specCss)),delete b.specCss,a.rotation=n.rotation)});this.tickRotCorr=b.rotCorr(w.b,this.labelRotation||\n",
210
+ "0,0!==this.side)},hasData:function(){return this.hasVisibleSeries||q(this.min)&&q(this.max)&&!!this.tickPositions},addTitle:function(a){var b=this.chart.renderer,f=this.horiz,c=this.opposite,d=this.options.title,p;this.axisTitle||((p=d.textAlign)||(p=(f?{low:\"left\",middle:\"center\",high:\"right\"}:{low:c?\"right\":\"left\",middle:\"center\",high:c?\"left\":\"right\"})[d.align]),this.axisTitle=b.text(d.text,0,0,d.useHTML).attr({zIndex:7,rotation:d.rotation||0,align:p}).addClass(\"highcharts-axis-title\").css(d.style).add(this.axisGroup),\n",
211
+ "this.axisTitle.isNew=!0);this.axisTitle[a?\"show\":\"hide\"](!0)},generateTick:function(a){var b=this.ticks;b[a]?b[a].addLabel():b[a]=new I(this,a)},getOffset:function(){var a=this,b=a.chart,c=b.renderer,d=a.options,p=a.tickPositions,l=a.ticks,e=a.horiz,x=a.side,n=b.inverted&&!a.isZAxis?[1,0,3,2][x]:x,w,g,y=0,E,k=0,I=d.title,D=d.labels,m=0,B=b.axisOffset,b=b.clipOffset,H=[-1,1,1,-1][x],u=d.className,L=a.axisParent,v=this.tickSize(\"tick\");w=a.hasData();a.showAxis=g=w||z(d.showEmpty,!0);a.staggerLines=\n",
212
+ "a.horiz&&D.staggerLines;a.axisGroup||(a.gridGroup=c.g(\"grid\").attr({zIndex:d.gridZIndex||1}).addClass(\"highcharts-\"+this.coll.toLowerCase()+\"-grid \"+(u||\"\")).add(L),a.axisGroup=c.g(\"axis\").attr({zIndex:d.zIndex||2}).addClass(\"highcharts-\"+this.coll.toLowerCase()+\" \"+(u||\"\")).add(L),a.labelGroup=c.g(\"axis-labels\").attr({zIndex:D.zIndex||7}).addClass(\"highcharts-\"+a.coll.toLowerCase()+\"-labels \"+(u||\"\")).add(L));w||a.isLinked?(h(p,function(b,c){a.generateTick(b,c)}),a.renderUnsquish(),!1===D.reserveSpace||\n",
213
+ "0!==x&&2!==x&&{1:\"left\",3:\"right\"}[x]!==a.labelAlign&&\"center\"!==a.labelAlign||h(p,function(a){m=Math.max(l[a].getLabelSize(),m)}),a.staggerLines&&(m*=a.staggerLines,a.labelOffset=m*(a.opposite?-1:1))):r(l,function(a,b){a.destroy();delete l[b]});I&&I.text&&!1!==I.enabled&&(a.addTitle(g),g&&!1!==I.reserveSpace&&(a.titleOffset=y=a.axisTitle.getBBox()[e?\"height\":\"width\"],E=I.offset,k=q(E)?0:z(I.margin,e?5:10)));a.renderLine();a.offset=H*z(d.offset,B[x]);a.tickRotCorr=a.tickRotCorr||{x:0,y:0};c=0===x?\n",
214
+ "-a.labelMetrics().h:2===x?a.tickRotCorr.y:0;k=Math.abs(m)+k;m&&(k=k-c+H*(e?z(D.y,a.tickRotCorr.y+8*H):D.x));a.axisTitleMargin=z(E,k);B[x]=Math.max(B[x],a.axisTitleMargin+y+H*a.offset,k,w&&p.length&&v?v[0]+H*a.offset:0);p=2*Math.floor(a.axisLine.strokeWidth()/2);0<d.offset&&(p-=2*d.offset);b[n]=Math.max(b[n]||p,p)},getLinePath:function(a){var b=this.chart,c=this.opposite,f=this.offset,d=this.horiz,p=this.left+(c?this.width:0)+f,f=b.chartHeight-this.bottom-(c?this.height:0)+f;c&&(a*=-1);return b.renderer.crispLine([\"M\",\n",
215
+ "d?this.left:p,d?f:this.top,\"L\",d?b.chartWidth-this.right:p,d?f:b.chartHeight-this.bottom],a)},renderLine:function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass(\"highcharts-axis-line\").add(this.axisGroup),this.axisLine.attr({stroke:this.options.lineColor,\"stroke-width\":this.options.lineWidth,zIndex:7}))},getTitlePosition:function(){var a=this.horiz,b=this.left,c=this.top,d=this.len,p=this.options.title,l=a?b:c,e=this.opposite,r=this.offset,h=p.x||0,n=p.y||0,w=this.chart.renderer.fontMetrics(p.style&&\n",
216
+ "p.style.fontSize,this.axisTitle).f,d={low:l+(a?0:d),middle:l+d/2,high:l+(a?d:0)}[p.align],b=(a?c+this.height:b)+(a?1:-1)*(e?-1:1)*this.axisTitleMargin+(2===this.side?w:0);return{x:a?d+h:b+(e?this.width:0)+r+h,y:a?b+n-(e?this.height:0)+r:d+n}},renderMinorTick:function(a){var b=this.chart.hasRendered&&D(this.oldMin),c=this.minorTicks;c[a]||(c[a]=new I(this,a,\"minor\"));b&&c[a].isNew&&c[a].render(null,!0);c[a].render(null,!1,1)},renderTick:function(a,b){var c=this.isLinked,f=this.ticks,d=this.chart.hasRendered&&\n",
217
+ "D(this.oldMin);if(!c||a>=this.min&&a<=this.max)f[a]||(f[a]=new I(this,a)),d&&f[a].isNew&&f[a].render(b,!0,.1),f[a].render(b)},render:function(){var b=this,c=b.chart,d=b.options,p=b.isLog,l=b.lin2log,e=b.isLinked,n=b.tickPositions,x=b.axisTitle,w=b.ticks,g=b.minorTicks,y=b.alternateBands,k=d.stackLabels,m=d.alternateGridColor,q=b.tickmarkOffset,z=b.axisLine,B=b.showAxis,H=A(c.renderer.globalAnimation),u,L;b.labelEdge.length=0;b.overlap=!1;h([w,g,y],function(a){r(a,function(a){a.isActive=!1})});if(b.hasData()||\n",
218
+ "e)b.minorTickInterval&&!b.categories&&h(b.getMinorTickPositions(),function(a){b.renderMinorTick(a)}),n.length&&(h(n,function(a,c){b.renderTick(a,c)}),q&&(0===b.min||b.single)&&(w[-1]||(w[-1]=new I(b,-1,null,!0)),w[-1].render(-1))),m&&h(n,function(f,d){L=void 0!==n[d+1]?n[d+1]+q:b.max-q;0===d%2&&f<b.max&&L<=b.max+(c.polar?-q:q)&&(y[f]||(y[f]=new a.PlotLineOrBand(b)),u=f+q,y[f].options={from:p?l(u):u,to:p?l(L):L,color:m},y[f].render(),y[f].isActive=!0)}),b._addedPlotLB||(h((d.plotLines||[]).concat(d.plotBands||\n",
219
+ "[]),function(a){b.addPlotBandOrLine(a)}),b._addedPlotLB=!0);h([w,g,y],function(a){var b,f=[],d=H.duration;r(a,function(a,b){a.isActive||(a.render(b,!1,0),a.isActive=!1,f.push(b))});E(function(){for(b=f.length;b--;)a[f[b]]&&!a[f[b]].isActive&&(a[f[b]].destroy(),delete a[f[b]])},a!==y&&c.hasRendered&&d?d:0)});z&&(z[z.isPlaced?\"animate\":\"attr\"]({d:this.getLinePath(z.strokeWidth())}),z.isPlaced=!0,z[B?\"show\":\"hide\"](!0));x&&B&&(d=b.getTitlePosition(),D(d.y)?(x[x.isNew?\"attr\":\"animate\"](d),x.isNew=!1):\n",
220
+ "(x.attr(\"y\",-9999),x.isNew=!0));k&&k.enabled&&b.renderStackTotals();b.isDirty=!1},redraw:function(){this.visible&&(this.render(),h(this.plotLinesAndBands,function(a){a.render()}));h(this.series,function(a){a.isDirty=!0})},keepProps:\"extKey hcEvents names series userMax userMin\".split(\" \"),destroy:function(a){var c=this,f=c.stacks,d=c.plotLinesAndBands,p;a||M(c);r(f,function(a,b){u(a);f[b]=null});h([c.ticks,c.minorTicks,c.alternateBands],function(a){u(a)});if(d)for(a=d.length;a--;)d[a].destroy();h(\"stackTotalGroup axisLine axisTitle axisGroup gridGroup labelGroup cross\".split(\" \"),\n",
221
+ "function(a){c[a]&&(c[a]=c[a].destroy())});for(p in c.plotLinesAndBandsGroups)c.plotLinesAndBandsGroups[p]=c.plotLinesAndBandsGroups[p].destroy();r(c,function(a,f){-1===b(f,c.keepProps)&&delete c[f]})},drawCrosshair:function(a,b){var c,f=this.crosshair,d=z(f.snap,!0),p,l=this.cross;a||(a=this.cross&&this.cross.e);this.crosshair&&!1!==(q(b)||!d)?(d?q(b)&&(p=this.isXAxis?b.plotX:this.len-b.plotY):p=a&&(this.horiz?a.chartX-this.pos:this.len-a.chartY+this.pos),q(p)&&(c=this.getPlotLinePath(b&&(this.isXAxis?\n",
222
+ "b.x:z(b.stackY,b.y)),null,null,null,p)||null),q(c)?(b=this.categories&&!this.isRadial,l||(this.cross=l=this.chart.renderer.path().addClass(\"highcharts-crosshair highcharts-crosshair-\"+(b?\"category \":\"thin \")+f.className).attr({zIndex:z(f.zIndex,2)}).add(),l.attr({stroke:f.color||(b?m(\"#ccd6eb\").setOpacity(.25).get():\"#cccccc\"),\"stroke-width\":z(f.width,1)}),f.dashStyle&&l.attr({dashstyle:f.dashStyle})),l.show().attr({d:c}),b&&!f.width&&l.attr({\"stroke-width\":this.transA}),this.cross.e=a):this.hideCrosshair()):\n",
223
+ "this.hideCrosshair()},hideCrosshair:function(){this.cross&&this.cross.hide()}});return a.Axis=L}(K);(function(a){var C=a.Axis,A=a.Date,G=a.dateFormat,F=a.defaultOptions,m=a.defined,g=a.each,k=a.extend,q=a.getMagnitude,v=a.getTZOffset,u=a.normalizeTickInterval,h=a.pick,e=a.timeUnits;C.prototype.getTimeTicks=function(a,d,c,w){var b=[],n={},D=F.global.useUTC,q,l=new A(d-Math.max(v(d),v(c))),B=A.hcMakeTime,r=a.unitRange,z=a.count,u;if(m(d)){l[A.hcSetMilliseconds](r>=e.second?0:z*Math.floor(l.getMilliseconds()/\n",
224
+ "z));if(r>=e.second)l[A.hcSetSeconds](r>=e.minute?0:z*Math.floor(l.getSeconds()/z));if(r>=e.minute)l[A.hcSetMinutes](r>=e.hour?0:z*Math.floor(l[A.hcGetMinutes]()/z));if(r>=e.hour)l[A.hcSetHours](r>=e.day?0:z*Math.floor(l[A.hcGetHours]()/z));if(r>=e.day)l[A.hcSetDate](r>=e.month?1:z*Math.floor(l[A.hcGetDate]()/z));r>=e.month&&(l[A.hcSetMonth](r>=e.year?0:z*Math.floor(l[A.hcGetMonth]()/z)),q=l[A.hcGetFullYear]());if(r>=e.year)l[A.hcSetFullYear](q-q%z);if(r===e.week)l[A.hcSetDate](l[A.hcGetDate]()-l[A.hcGetDay]()+\n",
225
+ "h(w,1));q=l[A.hcGetFullYear]();w=l[A.hcGetMonth]();var p=l[A.hcGetDate](),E=l[A.hcGetHours]();if(A.hcTimezoneOffset||A.hcGetTimezoneOffset)u=(!D||!!A.hcGetTimezoneOffset)&&(c-d>4*e.month||v(d)!==v(c)),l=l.getTime(),l=new A(l+v(l));D=l.getTime();for(d=1;D<c;)b.push(D),D=r===e.year?B(q+d*z,0):r===e.month?B(q,w+d*z):!u||r!==e.day&&r!==e.week?u&&r===e.hour?B(q,w,p,E+d*z):D+r*z:B(q,w,p+d*z*(r===e.day?1:7)),d++;b.push(D);r<=e.hour&&1E4>b.length&&g(b,function(a){0===a%18E5&&\"000000000\"===G(\"%H%M%S%L\",a)&&\n",
226
+ "(n[a]=\"day\")})}b.info=k(a,{higherRanks:n,totalRange:r*z});return b};C.prototype.normalizeTimeTickInterval=function(a,d){var c=d||[[\"millisecond\",[1,2,5,10,20,25,50,100,200,500]],[\"second\",[1,2,5,10,15,30]],[\"minute\",[1,2,5,10,15,30]],[\"hour\",[1,2,3,4,6,8,12]],[\"day\",[1,2]],[\"week\",[1,2]],[\"month\",[1,2,3,4,6]],[\"year\",null]];d=c[c.length-1];var h=e[d[0]],b=d[1],n;for(n=0;n<c.length&&!(d=c[n],h=e[d[0]],b=d[1],c[n+1]&&a<=(h*b[b.length-1]+e[c[n+1][0]])/2);n++);h===e.year&&a<5*h&&(b=[1,2,5]);a=u(a/h,b,\n",
227
+ "\"year\"===d[0]?Math.max(q(a/h),1):1);return{unitRange:h,count:a,unitName:d[0]}}})(K);(function(a){var C=a.Axis,A=a.getMagnitude,G=a.map,F=a.normalizeTickInterval,m=a.pick;C.prototype.getLogTickPositions=function(a,k,q,v){var g=this.options,h=this.len,e=this.lin2log,n=this.log2lin,d=[];v||(this._minorAutoInterval=null);if(.5<=a)a=Math.round(a),d=this.getLinearTickPositions(a,k,q);else if(.08<=a)for(var h=Math.floor(k),c,w,b,y,D,g=.3<a?[1,2,4]:.15<a?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];h<q+1&&!D;h++)for(w=\n",
228
+ "g.length,c=0;c<w&&!D;c++)b=n(e(h)*g[c]),b>k&&(!v||y<=q)&&void 0!==y&&d.push(y),y>q&&(D=!0),y=b;else k=e(k),q=e(q),a=g[v?\"minorTickInterval\":\"tickInterval\"],a=m(\"auto\"===a?null:a,this._minorAutoInterval,g.tickPixelInterval/(v?5:1)*(q-k)/((v?h/this.tickPositions.length:h)||1)),a=F(a,null,A(a)),d=G(this.getLinearTickPositions(a,k,q),n),v||(this._minorAutoInterval=a/5);v||(this.tickInterval=a);return d};C.prototype.log2lin=function(a){return Math.log(a)/Math.LN10};C.prototype.lin2log=function(a){return Math.pow(10,\n",
229
+ "a)}})(K);(function(a,C){var A=a.arrayMax,G=a.arrayMin,F=a.defined,m=a.destroyObjectProperties,g=a.each,k=a.erase,q=a.merge,v=a.pick;a.PlotLineOrBand=function(a,h){this.axis=a;h&&(this.options=h,this.id=h.id)};a.PlotLineOrBand.prototype={render:function(){var g=this,h=g.axis,e=h.horiz,n=g.options,d=n.label,c=g.label,w=n.to,b=n.from,y=n.value,k=F(b)&&F(w),m=F(y),l=g.svgElem,B=!l,r=[],z=n.color,M=v(n.zIndex,0),p=n.events,r={\"class\":\"highcharts-plot-\"+(k?\"band \":\"line \")+(n.className||\"\")},E={},I=h.chart.renderer,\n",
230
+ "L=k?\"bands\":\"lines\",f=h.log2lin;h.isLog&&(b=f(b),w=f(w),y=f(y));m?(r={stroke:z,\"stroke-width\":n.width},n.dashStyle&&(r.dashstyle=n.dashStyle)):k&&(z&&(r.fill=z),n.borderWidth&&(r.stroke=n.borderColor,r[\"stroke-width\"]=n.borderWidth));E.zIndex=M;L+=\"-\"+M;(z=h.plotLinesAndBandsGroups[L])||(h.plotLinesAndBandsGroups[L]=z=I.g(\"plot-\"+L).attr(E).add());B&&(g.svgElem=l=I.path().attr(r).add(z));if(m)r=h.getPlotLinePath(y,l.strokeWidth());else if(k)r=h.getPlotBandPath(b,w,n);else return;B&&r&&r.length?(l.attr({d:r}),\n",
231
+ "p&&a.objectEach(p,function(a,b){l.on(b,function(a){p[b].apply(g,[a])})})):l&&(r?(l.show(),l.animate({d:r})):(l.hide(),c&&(g.label=c=c.destroy())));d&&F(d.text)&&r&&r.length&&0<h.width&&0<h.height&&!r.flat?(d=q({align:e&&k&&\"center\",x:e?!k&&4:10,verticalAlign:!e&&k&&\"middle\",y:e?k?16:10:k?6:-4,rotation:e&&!k&&90},d),this.renderLabel(d,r,k,M)):c&&c.hide();return g},renderLabel:function(a,h,e,n){var d=this.label,c=this.axis.chart.renderer;d||(d={align:a.textAlign||a.align,rotation:a.rotation,\"class\":\"highcharts-plot-\"+\n",
232
+ "(e?\"band\":\"line\")+\"-label \"+(a.className||\"\")},d.zIndex=n,this.label=d=c.text(a.text,0,0,a.useHTML).attr(d).add(),d.css(a.style));n=[h[1],h[4],e?h[6]:h[1]];h=[h[2],h[5],e?h[7]:h[2]];e=G(n);c=G(h);d.align(a,!1,{x:e,y:c,width:A(n)-e,height:A(h)-c});d.show()},destroy:function(){k(this.axis.plotLinesAndBands,this);delete this.axis;m(this)}};a.extend(C.prototype,{getPlotBandPath:function(a,h){var e=this.getPlotLinePath(h,null,null,!0),n=this.getPlotLinePath(a,null,null,!0),d=this.horiz,c=1;a=a<this.min&&\n",
233
+ "h<this.min||a>this.max&&h>this.max;n&&e?(a&&(n.flat=n.toString()===e.toString(),c=0),n.push(d&&e[4]===n[4]?e[4]+c:e[4],d||e[5]!==n[5]?e[5]:e[5]+c,d&&e[1]===n[1]?e[1]+c:e[1],d||e[2]!==n[2]?e[2]:e[2]+c)):n=null;return n},addPlotBand:function(a){return this.addPlotBandOrLine(a,\"plotBands\")},addPlotLine:function(a){return this.addPlotBandOrLine(a,\"plotLines\")},addPlotBandOrLine:function(g,h){var e=(new a.PlotLineOrBand(this,g)).render(),n=this.userOptions;e&&(h&&(n[h]=n[h]||[],n[h].push(g)),this.plotLinesAndBands.push(e));\n",
234
+ "return e},removePlotBandOrLine:function(a){for(var h=this.plotLinesAndBands,e=this.options,n=this.userOptions,d=h.length;d--;)h[d].id===a&&h[d].destroy();g([e.plotLines||[],n.plotLines||[],e.plotBands||[],n.plotBands||[]],function(c){for(d=c.length;d--;)c[d].id===a&&k(c,c[d])})},removePlotBand:function(a){this.removePlotBandOrLine(a)},removePlotLine:function(a){this.removePlotBandOrLine(a)}})})(K,S);(function(a){var C=a.dateFormat,A=a.each,G=a.extend,F=a.format,m=a.isNumber,g=a.map,k=a.merge,q=a.pick,\n",
235
+ "v=a.splat,u=a.syncTimeout,h=a.timeUnits;a.Tooltip=function(){this.init.apply(this,arguments)};a.Tooltip.prototype={init:function(a,h){this.chart=a;this.options=h;this.crosshairs=[];this.now={x:0,y:0};this.isHidden=!0;this.split=h.split&&!a.inverted;this.shared=h.shared||this.split},cleanSplit:function(a){A(this.chart.series,function(e){var d=e&&e.tt;d&&(!d.isActive||a?e.tt=d.destroy():d.isActive=!1)})},getLabel:function(){var a=this.chart.renderer,h=this.options;this.label||(this.split?this.label=\n",
236
+ "a.g(\"tooltip\"):(this.label=a.label(\"\",0,0,h.shape||\"callout\",null,null,h.useHTML,null,\"tooltip\").attr({padding:h.padding,r:h.borderRadius}),this.label.attr({fill:h.backgroundColor,\"stroke-width\":h.borderWidth}).css(h.style).shadow(h.shadow)),this.label.attr({zIndex:8}).add());return this.label},update:function(a){this.destroy();k(!0,this.chart.options.tooltip.userOptions,a);this.init(this.chart,k(!0,this.options,a))},destroy:function(){this.label&&(this.label=this.label.destroy());this.split&&this.tt&&\n",
237
+ "(this.cleanSplit(this.chart,!0),this.tt=this.tt.destroy());clearTimeout(this.hideTimer);clearTimeout(this.tooltipTimeout)},move:function(a,h,d,c){var e=this,b=e.now,n=!1!==e.options.animation&&!e.isHidden&&(1<Math.abs(a-b.x)||1<Math.abs(h-b.y)),g=e.followPointer||1<e.len;G(b,{x:n?(2*b.x+a)/3:a,y:n?(b.y+h)/2:h,anchorX:g?void 0:n?(2*b.anchorX+d)/3:d,anchorY:g?void 0:n?(b.anchorY+c)/2:c});e.getLabel().attr(b);n&&(clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){e&&e.move(a,\n",
238
+ "h,d,c)},32))},hide:function(a){var e=this;clearTimeout(this.hideTimer);a=q(a,this.options.hideDelay,500);this.isHidden||(this.hideTimer=u(function(){e.getLabel()[a?\"fadeOut\":\"hide\"]();e.isHidden=!0},a))},getAnchor:function(a,h){var d,c=this.chart,e=c.inverted,b=c.plotTop,n=c.plotLeft,k=0,m=0,l,q;a=v(a);d=a[0].tooltipPos;this.followPointer&&h&&(void 0===h.chartX&&(h=c.pointer.normalize(h)),d=[h.chartX-c.plotLeft,h.chartY-b]);d||(A(a,function(a){l=a.series.yAxis;q=a.series.xAxis;k+=a.plotX+(!e&&q?q.left-\n",
239
+ "n:0);m+=(a.plotLow?(a.plotLow+a.plotHigh)/2:a.plotY)+(!e&&l?l.top-b:0)}),k/=a.length,m/=a.length,d=[e?c.plotWidth-m:k,this.shared&&!e&&1<a.length&&h?h.chartY-b:e?c.plotHeight-k:m]);return g(d,Math.round)},getPosition:function(a,h,d){var c=this.chart,e=this.distance,b={},n=d.h||0,g,k=[\"y\",c.chartHeight,h,d.plotY+c.plotTop,c.plotTop,c.plotTop+c.plotHeight],l=[\"x\",c.chartWidth,a,d.plotX+c.plotLeft,c.plotLeft,c.plotLeft+c.plotWidth],m=!this.followPointer&&q(d.ttBelow,!c.inverted===!!d.negative),r=function(a,\n",
240
+ "c,d,f,p,l){var h=d<f-e,r=f+e+d<c,g=f-e-d;f+=e;if(m&&r)b[a]=f;else if(!m&&h)b[a]=g;else if(h)b[a]=Math.min(l-d,0>g-n?g:g-n);else if(r)b[a]=Math.max(p,f+n+d>c?f:f+n);else return!1},z=function(a,c,d,f){var p;f<e||f>c-e?p=!1:b[a]=f<d/2?1:f>c-d/2?c-d-2:f-d/2;return p},v=function(a){var b=k;k=l;l=b;g=a},p=function(){!1!==r.apply(0,k)?!1!==z.apply(0,l)||g||(v(!0),p()):g?b.x=b.y=0:(v(!0),p())};(c.inverted||1<this.len)&&v();p();return b},defaultFormatter:function(a){var e=this.points||v(this),d;d=[a.tooltipFooterHeaderFormatter(e[0])];\n",
241
+ "d=d.concat(a.bodyFormatter(e));d.push(a.tooltipFooterHeaderFormatter(e[0],!0));return d},refresh:function(a,h){var d,c=this.options,e,b=a,g,n={},k=[];d=c.formatter||this.defaultFormatter;var n=this.shared,l;clearTimeout(this.hideTimer);this.followPointer=v(b)[0].series.tooltipOptions.followPointer;g=this.getAnchor(b,h);h=g[0];e=g[1];!n||b.series&&b.series.noSharedTooltip?n=b.getLabelConfig():(A(b,function(a){a.setState(\"hover\");k.push(a.getLabelConfig())}),n={x:b[0].category,y:b[0].y},n.points=k,\n",
242
+ "b=b[0]);this.len=k.length;n=d.call(n,this);l=b.series;this.distance=q(l.tooltipOptions.distance,16);!1===n?this.hide():(d=this.getLabel(),this.isHidden&&d.attr({opacity:1}).show(),this.split?this.renderSplit(n,a):(c.style.width||d.css({width:this.chart.spacingBox.width}),d.attr({text:n&&n.join?n.join(\"\"):n}),d.removeClass(/highcharts-color-[\\d]+/g).addClass(\"highcharts-color-\"+q(b.colorIndex,l.colorIndex)),d.attr({stroke:c.borderColor||b.color||l.color||\"#666666\"}),this.updatePosition({plotX:h,plotY:e,\n",
243
+ "negative:b.negative,ttBelow:b.ttBelow,h:g[2]||0})),this.isHidden=!1)},renderSplit:function(e,h){var d=this,c=[],g=this.chart,b=g.renderer,n=!0,k=this.options,m,l=this.getLabel();A(e.slice(0,h.length+1),function(a,e){e=h[e-1]||{isHeader:!0,plotX:h[0].plotX};var r=e.series||d,w=r.tt,p=e.series||{},y=\"highcharts-color-\"+q(e.colorIndex,p.colorIndex,\"none\");w||(r.tt=w=b.label(null,null,null,\"callout\").addClass(\"highcharts-tooltip-box \"+y).attr({padding:k.padding,r:k.borderRadius,fill:k.backgroundColor,\n",
244
+ "stroke:e.color||p.color||\"#333333\",\"stroke-width\":k.borderWidth}).add(l));w.isActive=!0;w.attr({text:a});w.css(k.style);a=w.getBBox();p=a.width+w.strokeWidth();e.isHeader?(m=a.height,p=Math.max(0,Math.min(e.plotX+g.plotLeft-p/2,g.chartWidth-p))):p=e.plotX+g.plotLeft-q(k.distance,16)-p;0>p&&(n=!1);a=(e.series&&e.series.yAxis&&e.series.yAxis.pos)+(e.plotY||0);a-=g.plotTop;c.push({target:e.isHeader?g.plotHeight+m:a,rank:e.isHeader?1:0,size:r.tt.getBBox().height+1,point:e,x:p,tt:w})});this.cleanSplit();\n",
245
+ "a.distribute(c,g.plotHeight+m);A(c,function(a){var b=a.point,c=b.series;a.tt.attr({visibility:void 0===a.pos?\"hidden\":\"inherit\",x:n||b.isHeader?a.x:b.plotX+g.plotLeft+q(k.distance,16),y:a.pos+g.plotTop,anchorX:b.isHeader?b.plotX+g.plotLeft:b.plotX+c.xAxis.pos,anchorY:b.isHeader?a.pos+g.plotTop-15:b.plotY+c.yAxis.pos})})},updatePosition:function(a){var e=this.chart,d=this.getLabel(),d=(this.options.positioner||this.getPosition).call(this,d.width,d.height,a);this.move(Math.round(d.x),Math.round(d.y||\n",
246
+ "0),a.plotX+e.plotLeft,a.plotY+e.plotTop)},getDateFormat:function(a,g,d,c){var e=C(\"%m-%d %H:%M:%S.%L\",g),b,n,k={millisecond:15,second:12,minute:9,hour:6,day:3},m=\"millisecond\";for(n in h){if(a===h.week&&+C(\"%w\",g)===d&&\"00:00:00.000\"===e.substr(6)){n=\"week\";break}if(h[n]>a){n=m;break}if(k[n]&&e.substr(k[n])!==\"01-01 00:00:00.000\".substr(k[n]))break;\"week\"!==n&&(m=n)}n&&(b=c[n]);return b},getXDateFormat:function(a,h,d){h=h.dateTimeLabelFormats;var c=d&&d.closestPointRange;return(c?this.getDateFormat(c,\n",
247
+ "a.x,d.options.startOfWeek,h):h.day)||h.year},tooltipFooterHeaderFormatter:function(a,h){var d=h?\"footer\":\"header\";h=a.series;var c=h.tooltipOptions,e=c.xDateFormat,b=h.xAxis,g=b&&\"datetime\"===b.options.type&&m(a.key),d=c[d+\"Format\"];g&&!e&&(e=this.getXDateFormat(a,c,b));g&&e&&(d=d.replace(\"{point.key}\",\"{point.key:\"+e+\"}\"));return F(d,{point:a,series:h})},bodyFormatter:function(a){return g(a,function(a){var d=a.series.tooltipOptions;return(d.pointFormatter||a.point.tooltipFormatter).call(a.point,\n",
248
+ "d.pointFormat)})}}})(K);(function(a){var C=a.addEvent,A=a.attr,G=a.charts,F=a.color,m=a.css,g=a.defined,k=a.doc,q=a.each,v=a.extend,u=a.fireEvent,h=a.offset,e=a.pick,n=a.removeEvent,d=a.splat,c=a.Tooltip,w=a.win;a.Pointer=function(a,c){this.init(a,c)};a.Pointer.prototype={init:function(a,d){this.options=d;this.chart=a;this.runChartClick=d.chart.events&&!!d.chart.events.click;this.pinchDown=[];this.lastValidTouch={};c&&d.tooltip.enabled&&(a.tooltip=new c(a,d.tooltip),this.followTouchMove=e(d.tooltip.followTouchMove,\n",
249
+ "!0));this.setDOMEvents()},zoomOption:function(a){var b=this.chart,c=b.options.chart,d=c.zoomType||\"\",b=b.inverted;/touch/.test(a.type)&&(d=e(c.pinchType,d));this.zoomX=a=/x/.test(d);this.zoomY=d=/y/.test(d);this.zoomHor=a&&!b||d&&b;this.zoomVert=d&&!b||a&&b;this.hasZoom=a||d},normalize:function(a,c){var b,d;a=a||w.event;a.target||(a.target=a.srcElement);d=a.touches?a.touches.length?a.touches.item(0):a.changedTouches[0]:a;c||(this.chartPosition=c=h(this.chart.container));void 0===d.pageX?(b=Math.max(a.x,\n",
250
+ "a.clientX-c.left),c=a.y):(b=d.pageX-c.left,c=d.pageY-c.top);return v(a,{chartX:Math.round(b),chartY:Math.round(c)})},getCoordinates:function(a){var b={xAxis:[],yAxis:[]};q(this.chart.axes,function(c){b[c.isXAxis?\"xAxis\":\"yAxis\"].push({axis:c,value:c.toValue(a[c.horiz?\"chartX\":\"chartY\"])})});return b},getKDPoints:function(a,c,d){var b=[],l,h,r;q(a,function(a){l=a.noSharedTooltip&&c;h=!c&&a.directTouch;a.visible&&!h&&e(a.options.enableMouseTracking,!0)&&(r=a.searchPoint(d,!l&&0>a.options.findNearestPointBy.indexOf(\"y\")))&&\n",
251
+ "r.series&&b.push(r)});b.sort(function(a,b){var d=a.distX-b.distX,l=a.dist-b.dist,e=(b.series.group&&b.series.group.zIndex)-(a.series.group&&a.series.group.zIndex);return 0!==d&&c?d:0!==l?l:0!==e?e:a.series.index>b.series.index?-1:1});if(c&&b[0]&&!b[0].series.noSharedTooltip)for(a=b.length;a--;)(b[a].x!==b[0].x||b[a].series.noSharedTooltip)&&b.splice(a,1);return b},getPointFromEvent:function(a){a=a.target;for(var b;a&&!b;)b=a.point,a=a.parentNode;return b},getChartCoordinatesFromPoint:function(a,c){var b=\n",
252
+ "a.series,d=b.xAxis,b=b.yAxis;if(d&&b)return c?{chartX:d.len+d.pos-a.clientX,chartY:b.len+b.pos-a.plotY}:{chartX:a.clientX+d.pos,chartY:a.plotY+b.pos}},getHoverData:function(b,c,d,e,l,h){var r=b,g=c,r=l?d:[g];e=!(!e||!b);c=g&&!g.stickyTracking;var n=function(a,b){return 0===b},p;e?n=function(a){return a===b}:c?n=function(a){return a.series===g}:r=a.grep(d,function(a){return a.stickyTracking});p=e&&!l?[b]:this.getKDPoints(r,l,h);g=(r=a.find(p,n))&&r.series;e||c||!l||(p=this.getKDPoints(d,l,h));p.sort(function(a,\n",
253
+ "b){return a.series.index-b.series.index});return{hoverPoint:r,hoverSeries:g,hoverPoints:p}},runPointActions:function(b,c){var d=this.chart,h=d.tooltip,l=h?h.shared:!1,g=c||d.hoverPoint,r=g&&g.series||d.hoverSeries;c=this.getHoverData(g,r,d.series,!!c||r&&r.directTouch&&this.isDirectTouch,l,b);var n,w,g=c.hoverPoint;n=(r=c.hoverSeries)&&r.tooltipOptions.followPointer;w=(l=l&&g&&!g.series.noSharedTooltip)?c.hoverPoints:g?[g]:[];if(g&&(g!==d.hoverPoint||h&&h.isHidden)){q(d.hoverPoints||[],function(b){-1===\n",
254
+ "a.inArray(b,w)&&b.setState()});q(w||[],function(a){a.setState(\"hover\")});if(d.hoverSeries!==r)r.onMouseOver();d.hoverPoint&&d.hoverPoint.firePointEvent(\"mouseOut\");g.firePointEvent(\"mouseOver\");d.hoverPoints=w;d.hoverPoint=g;h&&h.refresh(l?w:g,b)}else n&&h&&!h.isHidden&&(r=h.getAnchor([{}],b),h.updatePosition({plotX:r[0],plotY:r[1]}));this.unDocMouseMove||(this.unDocMouseMove=C(k,\"mousemove\",function(b){var c=G[a.hoverChartIndex];if(c)c.pointer.onDocumentMouseMove(b)}));q(d.axes,function(c){e(c.crosshair.snap,\n",
255
+ "!0)?a.find(w,function(a){return a.series[c.coll]===c})?c.drawCrosshair(b,g):c.hideCrosshair():c.drawCrosshair(b)})},reset:function(a,c){var b=this.chart,e=b.hoverSeries,l=b.hoverPoint,h=b.hoverPoints,g=b.tooltip,n=g&&g.shared?h:l;a&&n&&q(d(n),function(b){b.series.isCartesian&&void 0===b.plotX&&(a=!1)});if(a)g&&n&&(g.refresh(n),l&&(l.setState(l.state,!0),q(b.axes,function(a){a.crosshair&&a.drawCrosshair(null,l)})));else{if(l)l.onMouseOut();h&&q(h,function(a){a.setState()});if(e)e.onMouseOut();g&&g.hide(c);\n",
256
+ "this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove());q(b.axes,function(a){a.hideCrosshair()});this.hoverX=b.hoverPoints=b.hoverPoint=null}},scaleGroups:function(a,c){var b=this.chart,d;q(b.series,function(e){d=a||e.getPlotBox();e.xAxis&&e.xAxis.zoomEnabled&&e.group&&(e.group.attr(d),e.markerGroup&&(e.markerGroup.attr(d),e.markerGroup.clip(c?b.clipRect:null)),e.dataLabelsGroup&&e.dataLabelsGroup.attr(d))});b.clipRect.attr(c||b.clipBox)},dragStart:function(a){var b=this.chart;b.mouseIsDown=\n",
257
+ "a.type;b.cancelClick=!1;b.mouseDownX=this.mouseDownX=a.chartX;b.mouseDownY=this.mouseDownY=a.chartY},drag:function(a){var b=this.chart,c=b.options.chart,d=a.chartX,e=a.chartY,h=this.zoomHor,g=this.zoomVert,n=b.plotLeft,w=b.plotTop,p=b.plotWidth,k=b.plotHeight,m,q=this.selectionMarker,f=this.mouseDownX,t=this.mouseDownY,v=c.panKey&&a[c.panKey+\"Key\"];q&&q.touch||(d<n?d=n:d>n+p&&(d=n+p),e<w?e=w:e>w+k&&(e=w+k),this.hasDragged=Math.sqrt(Math.pow(f-d,2)+Math.pow(t-e,2)),10<this.hasDragged&&(m=b.isInsidePlot(f-\n",
258
+ "n,t-w),b.hasCartesianSeries&&(this.zoomX||this.zoomY)&&m&&!v&&!q&&(this.selectionMarker=q=b.renderer.rect(n,w,h?1:p,g?1:k,0).attr({fill:c.selectionMarkerFill||F(\"#335cad\").setOpacity(.25).get(),\"class\":\"highcharts-selection-marker\",zIndex:7}).add()),q&&h&&(d-=f,q.attr({width:Math.abs(d),x:(0<d?0:d)+f})),q&&g&&(d=e-t,q.attr({height:Math.abs(d),y:(0<d?0:d)+t})),m&&!q&&c.panning&&b.pan(a,c.panning)))},drop:function(a){var b=this,c=this.chart,d=this.hasPinched;if(this.selectionMarker){var e={originalEvent:a,\n",
259
+ "xAxis:[],yAxis:[]},h=this.selectionMarker,r=h.attr?h.attr(\"x\"):h.x,n=h.attr?h.attr(\"y\"):h.y,w=h.attr?h.attr(\"width\"):h.width,p=h.attr?h.attr(\"height\"):h.height,k;if(this.hasDragged||d)q(c.axes,function(c){if(c.zoomEnabled&&g(c.min)&&(d||b[{xAxis:\"zoomX\",yAxis:\"zoomY\"}[c.coll]])){var l=c.horiz,f=\"touchend\"===a.type?c.minPixelPadding:0,h=c.toValue((l?r:n)+f),l=c.toValue((l?r+w:n+p)-f);e[c.coll].push({axis:c,min:Math.min(h,l),max:Math.max(h,l)});k=!0}}),k&&u(c,\"selection\",e,function(a){c.zoom(v(a,d?\n",
260
+ "{animation:!1}:null))});this.selectionMarker=this.selectionMarker.destroy();d&&this.scaleGroups()}c&&(m(c.container,{cursor:c._cursor}),c.cancelClick=10<this.hasDragged,c.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},onContainerMouseDown:function(a){a=this.normalize(a);this.zoomOption(a);a.preventDefault&&a.preventDefault();this.dragStart(a)},onDocumentMouseUp:function(b){G[a.hoverChartIndex]&&G[a.hoverChartIndex].pointer.drop(b)},onDocumentMouseMove:function(a){var b=this.chart,\n",
261
+ "c=this.chartPosition;a=this.normalize(a,c);!c||this.inClass(a.target,\"highcharts-tracker\")||b.isInsidePlot(a.chartX-b.plotLeft,a.chartY-b.plotTop)||this.reset()},onContainerMouseLeave:function(b){var c=G[a.hoverChartIndex];c&&(b.relatedTarget||b.toElement)&&(c.pointer.reset(),c.pointer.chartPosition=null)},onContainerMouseMove:function(b){var c=this.chart;g(a.hoverChartIndex)&&G[a.hoverChartIndex]&&G[a.hoverChartIndex].mouseIsDown||(a.hoverChartIndex=c.index);b=this.normalize(b);b.returnValue=!1;\n",
262
+ "\"mousedown\"===c.mouseIsDown&&this.drag(b);!this.inClass(b.target,\"highcharts-tracker\")&&!c.isInsidePlot(b.chartX-c.plotLeft,b.chartY-c.plotTop)||c.openMenu||this.runPointActions(b)},inClass:function(a,c){for(var b;a;){if(b=A(a,\"class\")){if(-1!==b.indexOf(c))return!0;if(-1!==b.indexOf(\"highcharts-container\"))return!1}a=a.parentNode}},onTrackerMouseOut:function(a){var b=this.chart.hoverSeries;a=a.relatedTarget||a.toElement;this.isDirectTouch=!1;if(!(!b||!a||b.stickyTracking||this.inClass(a,\"highcharts-tooltip\")||\n",
263
+ "this.inClass(a,\"highcharts-series-\"+b.index)&&this.inClass(a,\"highcharts-tracker\")))b.onMouseOut()},onContainerClick:function(a){var b=this.chart,c=b.hoverPoint,d=b.plotLeft,e=b.plotTop;a=this.normalize(a);b.cancelClick||(c&&this.inClass(a.target,\"highcharts-tracker\")?(u(c.series,\"click\",v(a,{point:c})),b.hoverPoint&&c.firePointEvent(\"click\",a)):(v(a,this.getCoordinates(a)),b.isInsidePlot(a.chartX-d,a.chartY-e)&&u(b,\"click\",a)))},setDOMEvents:function(){var b=this,c=b.chart.container;c.onmousedown=\n",
264
+ "function(a){b.onContainerMouseDown(a)};c.onmousemove=function(a){b.onContainerMouseMove(a)};c.onclick=function(a){b.onContainerClick(a)};C(c,\"mouseleave\",b.onContainerMouseLeave);1===a.chartCount&&C(k,\"mouseup\",b.onDocumentMouseUp);a.hasTouch&&(c.ontouchstart=function(a){b.onContainerTouchStart(a)},c.ontouchmove=function(a){b.onContainerTouchMove(a)},1===a.chartCount&&C(k,\"touchend\",b.onDocumentTouchEnd))},destroy:function(){var b=this;b.unDocMouseMove&&b.unDocMouseMove();n(b.chart.container,\"mouseleave\",\n",
265
+ "b.onContainerMouseLeave);a.chartCount||(n(k,\"mouseup\",b.onDocumentMouseUp),n(k,\"touchend\",b.onDocumentTouchEnd));clearInterval(b.tooltipTimeout);a.objectEach(b,function(a,c){b[c]=null})}}})(K);(function(a){var C=a.charts,A=a.each,G=a.extend,F=a.map,m=a.noop,g=a.pick;G(a.Pointer.prototype,{pinchTranslate:function(a,g,m,u,h,e){this.zoomHor&&this.pinchTranslateDirection(!0,a,g,m,u,h,e);this.zoomVert&&this.pinchTranslateDirection(!1,a,g,m,u,h,e)},pinchTranslateDirection:function(a,g,m,u,h,e,n,d){var c=\n",
266
+ "this.chart,w=a?\"x\":\"y\",b=a?\"X\":\"Y\",k=\"chart\"+b,q=a?\"width\":\"height\",v=c[\"plot\"+(a?\"Left\":\"Top\")],l,B,r=d||1,z=c.inverted,M=c.bounds[a?\"h\":\"v\"],p=1===g.length,E=g[0][k],I=m[0][k],L=!p&&g[1][k],f=!p&&m[1][k],t;m=function(){!p&&20<Math.abs(E-L)&&(r=d||Math.abs(I-f)/Math.abs(E-L));B=(v-I)/r+E;l=c[\"plot\"+(a?\"Width\":\"Height\")]/r};m();g=B;g<M.min?(g=M.min,t=!0):g+l>M.max&&(g=M.max-l,t=!0);t?(I-=.8*(I-n[w][0]),p||(f-=.8*(f-n[w][1])),m()):n[w]=[I,f];z||(e[w]=B-v,e[q]=l);e=z?1/r:r;h[q]=l;h[w]=g;u[z?a?\"scaleY\":\n",
267
+ "\"scaleX\":\"scale\"+b]=r;u[\"translate\"+b]=e*v+(I-e*E)},pinch:function(a){var k=this,v=k.chart,u=k.pinchDown,h=a.touches,e=h.length,n=k.lastValidTouch,d=k.hasZoom,c=k.selectionMarker,w={},b=1===e&&(k.inClass(a.target,\"highcharts-tracker\")&&v.runTrackerClick||k.runChartClick),y={};1<e&&(k.initiated=!0);d&&k.initiated&&!b&&a.preventDefault();F(h,function(a){return k.normalize(a)});\"touchstart\"===a.type?(A(h,function(a,b){u[b]={chartX:a.chartX,chartY:a.chartY}}),n.x=[u[0].chartX,u[1]&&u[1].chartX],n.y=[u[0].chartY,\n",
268
+ "u[1]&&u[1].chartY],A(v.axes,function(a){if(a.zoomEnabled){var b=v.bounds[a.horiz?\"h\":\"v\"],c=a.minPixelPadding,d=a.toPixels(g(a.options.min,a.dataMin)),e=a.toPixels(g(a.options.max,a.dataMax)),h=Math.max(d,e);b.min=Math.min(a.pos,Math.min(d,e)-c);b.max=Math.max(a.pos+a.len,h+c)}}),k.res=!0):k.followTouchMove&&1===e?this.runPointActions(k.normalize(a)):u.length&&(c||(k.selectionMarker=c=G({destroy:m,touch:!0},v.plotBox)),k.pinchTranslate(u,h,w,c,y,n),k.hasPinched=d,k.scaleGroups(w,y),k.res&&(k.res=\n",
269
+ "!1,this.reset(!1,0)))},touch:function(k,m){var q=this.chart,u,h;if(q.index!==a.hoverChartIndex)this.onContainerMouseLeave({relatedTarget:!0});a.hoverChartIndex=q.index;1===k.touches.length?(k=this.normalize(k),(h=q.isInsidePlot(k.chartX-q.plotLeft,k.chartY-q.plotTop))&&!q.openMenu?(m&&this.runPointActions(k),\"touchmove\"===k.type&&(m=this.pinchDown,u=m[0]?4<=Math.sqrt(Math.pow(m[0].chartX-k.chartX,2)+Math.pow(m[0].chartY-k.chartY,2)):!1),g(u,!0)&&this.pinch(k)):m&&this.reset()):2===k.touches.length&&\n",
270
+ "this.pinch(k)},onContainerTouchStart:function(a){this.zoomOption(a);this.touch(a,!0)},onContainerTouchMove:function(a){this.touch(a)},onDocumentTouchEnd:function(g){C[a.hoverChartIndex]&&C[a.hoverChartIndex].pointer.drop(g)}})})(K);(function(a){var C=a.addEvent,A=a.charts,G=a.css,F=a.doc,m=a.extend,g=a.noop,k=a.Pointer,q=a.removeEvent,v=a.win,u=a.wrap;if(!a.hasTouch&&(v.PointerEvent||v.MSPointerEvent)){var h={},e=!!v.PointerEvent,n=function(){var c=[];c.item=function(a){return this[a]};a.objectEach(h,\n",
271
+ "function(a){c.push({pageX:a.pageX,pageY:a.pageY,target:a.target})});return c},d=function(c,d,b,e){\"touch\"!==c.pointerType&&c.pointerType!==c.MSPOINTER_TYPE_TOUCH||!A[a.hoverChartIndex]||(e(c),e=A[a.hoverChartIndex].pointer,e[d]({type:b,target:c.currentTarget,preventDefault:g,touches:n()}))};m(k.prototype,{onContainerPointerDown:function(a){d(a,\"onContainerTouchStart\",\"touchstart\",function(a){h[a.pointerId]={pageX:a.pageX,pageY:a.pageY,target:a.currentTarget}})},onContainerPointerMove:function(a){d(a,\n",
272
+ "\"onContainerTouchMove\",\"touchmove\",function(a){h[a.pointerId]={pageX:a.pageX,pageY:a.pageY};h[a.pointerId].target||(h[a.pointerId].target=a.currentTarget)})},onDocumentPointerUp:function(a){d(a,\"onDocumentTouchEnd\",\"touchend\",function(a){delete h[a.pointerId]})},batchMSEvents:function(a){a(this.chart.container,e?\"pointerdown\":\"MSPointerDown\",this.onContainerPointerDown);a(this.chart.container,e?\"pointermove\":\"MSPointerMove\",this.onContainerPointerMove);a(F,e?\"pointerup\":\"MSPointerUp\",this.onDocumentPointerUp)}});\n",
273
+ "u(k.prototype,\"init\",function(a,d,b){a.call(this,d,b);this.hasZoom&&G(d.container,{\"-ms-touch-action\":\"none\",\"touch-action\":\"none\"})});u(k.prototype,\"setDOMEvents\",function(a){a.apply(this);(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(C)});u(k.prototype,\"destroy\",function(a){this.batchMSEvents(q);a.call(this)})}})(K);(function(a){var C=a.addEvent,A=a.css,G=a.discardElement,F=a.defined,m=a.each,g=a.isFirefox,k=a.marginNames,q=a.merge,v=a.pick,u=a.setAnimation,h=a.stableSort,e=a.win,n=a.wrap;\n",
274
+ "a.Legend=function(a,c){this.init(a,c)};a.Legend.prototype={init:function(a,c){this.chart=a;this.setOptions(c);c.enabled&&(this.render(),C(this.chart,\"endResize\",function(){this.legend.positionCheckboxes()}))},setOptions:function(a){var c=v(a.padding,8);this.options=a;this.itemStyle=a.itemStyle;this.itemHiddenStyle=q(this.itemStyle,a.itemHiddenStyle);this.itemMarginTop=a.itemMarginTop||0;this.padding=c;this.initialItemY=c-5;this.itemHeight=this.maxItemWidth=0;this.symbolWidth=v(a.symbolWidth,16);this.pages=\n",
275
+ "[]},update:function(a,c){var d=this.chart;this.setOptions(q(!0,this.options,a));this.destroy();d.isDirtyLegend=d.isDirtyBox=!0;v(c,!0)&&d.redraw()},colorizeItem:function(d,c){d.legendGroup[c?\"removeClass\":\"addClass\"](\"highcharts-legend-item-hidden\");var e=this.options,b=d.legendItem,h=d.legendLine,g=d.legendSymbol,n=this.itemHiddenStyle.color,e=c?e.itemStyle.color:n,l=c?d.color||n:n,k=d.options&&d.options.marker,r={fill:l};b&&b.css({fill:e,color:e});h&&h.attr({stroke:l});g&&(k&&g.isMarker&&(r=d.pointAttribs(),\n",
276
+ "c||a.objectEach(r,function(a,b){r[b]=n})),g.attr(r))},positionItem:function(a){var c=this.options,d=c.symbolPadding,c=!c.rtl,b=a._legendItemPos,e=b[0],b=b[1],h=a.checkbox;(a=a.legendGroup)&&a.element&&a.translate(c?e:this.legendWidth-e-2*d-4,b);h&&(h.x=e,h.y=b)},destroyItem:function(a){var c=a.checkbox;m([\"legendItem\",\"legendLine\",\"legendSymbol\",\"legendGroup\"],function(c){a[c]&&(a[c]=a[c].destroy())});c&&G(a.checkbox)},destroy:function(){function a(a){this[a]&&(this[a]=this[a].destroy())}m(this.getAllItems(),\n",
277
+ "function(c){m([\"legendItem\",\"legendGroup\"],a,c)});m(\"clipRect up down pager nav box title group\".split(\" \"),a,this);this.display=null},positionCheckboxes:function(a){var c=this.group&&this.group.alignAttr,d,b=this.clipHeight||this.legendHeight,e=this.titleHeight;c&&(d=c.translateY,m(this.allItems,function(h){var g=h.checkbox,l;g&&(l=d+e+g.y+(a||0)+3,A(g,{left:c.translateX+h.checkboxOffset+g.x-20+\"px\",top:l+\"px\",display:l>d-6&&l<d+b-6?\"\":\"none\"}))}))},renderTitle:function(){var a=this.options,c=this.padding,\n",
278
+ "e=a.title,b=0;e.text&&(this.title||(this.title=this.chart.renderer.label(e.text,c-3,c-4,null,null,null,a.useHTML,null,\"legend-title\").attr({zIndex:1}).css(e.style).add(this.group)),a=this.title.getBBox(),b=a.height,this.offsetWidth=a.width,this.contentGroup.attr({translateY:b}));this.titleHeight=b},setText:function(d){var c=this.options;d.legendItem.attr({text:c.labelFormat?a.format(c.labelFormat,d):c.labelFormatter.call(d)})},renderItem:function(a){var c=this.chart,d=c.renderer,b=this.options,e=\n",
279
+ "\"horizontal\"===b.layout,h=this.symbolWidth,g=b.symbolPadding,l=this.itemStyle,n=this.itemHiddenStyle,r=this.padding,k=e?v(b.itemDistance,20):0,m=!b.rtl,p=b.width,E=b.itemMarginBottom||0,I=this.itemMarginTop,u=a.legendItem,f=!a.series,t=!f&&a.series.drawLegendSymbol?a.series:a,A=t.options,J=this.createCheckboxForItem&&A&&A.showCheckbox,A=h+g+k+(J?20:0),N=b.useHTML,C=a.options.className;u||(a.legendGroup=d.g(\"legend-item\").addClass(\"highcharts-\"+t.type+\"-series highcharts-color-\"+a.colorIndex+(C?\" \"+\n",
280
+ "C:\"\")+(f?\" highcharts-series-\"+a.index:\"\")).attr({zIndex:1}).add(this.scrollGroup),a.legendItem=u=d.text(\"\",m?h+g:-g,this.baseline||0,N).css(q(a.visible?l:n)).attr({align:m?\"left\":\"right\",zIndex:2}).add(a.legendGroup),this.baseline||(h=l.fontSize,this.fontMetrics=d.fontMetrics(h,u),this.baseline=this.fontMetrics.f+3+I,u.attr(\"y\",this.baseline)),this.symbolHeight=b.symbolHeight||this.fontMetrics.f,t.drawLegendSymbol(this,a),this.setItemEvents&&this.setItemEvents(a,u,N),J&&this.createCheckboxForItem(a));\n",
281
+ "this.colorizeItem(a,a.visible);l.width||u.css({width:(b.itemWidth||c.spacingBox.width)-A});this.setText(a);d=u.getBBox();l=a.checkboxOffset=b.itemWidth||a.legendItemWidth||d.width+A;this.itemHeight=d=Math.round(a.legendItemHeight||d.height||this.symbolHeight);e&&this.itemX-r+l>(p||c.spacingBox.width-2*r-b.x)&&(this.itemX=r,this.itemY+=I+this.lastLineHeight+E,this.lastLineHeight=0);this.maxItemWidth=Math.max(this.maxItemWidth,l);this.lastItemY=I+this.itemY+E;this.lastLineHeight=Math.max(d,this.lastLineHeight);\n",
282
+ "a._legendItemPos=[this.itemX,this.itemY];e?this.itemX+=l:(this.itemY+=I+d+E,this.lastLineHeight=d);this.offsetWidth=p||Math.max((e?this.itemX-r-k:l)+r,this.offsetWidth)},getAllItems:function(){var a=[];m(this.chart.series,function(c){var d=c&&c.options;c&&v(d.showInLegend,F(d.linkedTo)?!1:void 0,!0)&&(a=a.concat(c.legendItems||(\"point\"===d.legendType?c.data:c)))});return a},adjustMargins:function(a,c){var d=this.chart,b=this.options,e=b.align.charAt(0)+b.verticalAlign.charAt(0)+b.layout.charAt(0);\n",
283
+ "b.floating||m([/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/],function(h,g){h.test(e)&&!F(a[g])&&(d[k[g]]=Math.max(d[k[g]],d.legend[(g+1)%2?\"legendHeight\":\"legendWidth\"]+[1,-1,-1,1][g]*b[g%2?\"x\":\"y\"]+v(b.margin,12)+c[g]))})},render:function(){var a=this,c=a.chart,e=c.renderer,b=a.group,g,n,k,l,B=a.box,r=a.options,z=a.padding;a.itemX=z;a.itemY=a.initialItemY;a.offsetWidth=0;a.lastItemY=0;b||(a.group=b=e.g(\"legend\").attr({zIndex:7}).add(),a.contentGroup=e.g().attr({zIndex:1}).add(b),a.scrollGroup=\n",
284
+ "e.g().add(a.contentGroup));a.renderTitle();g=a.getAllItems();h(g,function(a,b){return(a.options&&a.options.legendIndex||0)-(b.options&&b.options.legendIndex||0)});r.reversed&&g.reverse();a.allItems=g;a.display=n=!!g.length;a.lastLineHeight=0;m(g,function(b){a.renderItem(b)});k=(r.width||a.offsetWidth)+z;l=a.lastItemY+a.lastLineHeight+a.titleHeight;l=a.handleOverflow(l);l+=z;B||(a.box=B=e.rect().addClass(\"highcharts-legend-box\").attr({r:r.borderRadius}).add(b),B.isNew=!0);B.attr({stroke:r.borderColor,\n",
285
+ "\"stroke-width\":r.borderWidth||0,fill:r.backgroundColor||\"none\"}).shadow(r.shadow);0<k&&0<l&&(B[B.isNew?\"attr\":\"animate\"](B.crisp({x:0,y:0,width:k,height:l},B.strokeWidth())),B.isNew=!1);B[n?\"show\":\"hide\"]();a.legendWidth=k;a.legendHeight=l;m(g,function(b){a.positionItem(b)});n&&b.align(q(r,{width:k,height:l}),!0,\"spacingBox\");c.isResizing||this.positionCheckboxes()},handleOverflow:function(a){var c=this,d=this.chart,b=d.renderer,e=this.options,h=e.y,g=this.padding,d=d.spacingBox.height+(\"top\"===e.verticalAlign?\n",
286
+ "-h:h)-g,h=e.maxHeight,l,n=this.clipRect,r=e.navigation,k=v(r.animation,!0),q=r.arrowSize||12,p=this.nav,E=this.pages,I,u=this.allItems,f=function(a){\"number\"===typeof a?n.attr({height:a}):n&&(c.clipRect=n.destroy(),c.contentGroup.clip());c.contentGroup.div&&(c.contentGroup.div.style.clip=a?\"rect(\"+g+\"px,9999px,\"+(g+a)+\"px,0)\":\"auto\")};\"horizontal\"!==e.layout||\"middle\"===e.verticalAlign||e.floating||(d/=2);h&&(d=Math.min(d,h));E.length=0;a>d&&!1!==r.enabled?(this.clipHeight=l=Math.max(d-20-this.titleHeight-\n",
287
+ "g,0),this.currentPage=v(this.currentPage,1),this.fullHeight=a,m(u,function(a,b){var c=a._legendItemPos[1];a=Math.round(a.legendItem.getBBox().height);var f=E.length;if(!f||c-E[f-1]>l&&(I||c)!==E[f-1])E.push(I||c),f++;b===u.length-1&&c+a-E[f-1]>l&&E.push(c);c!==I&&(I=c)}),n||(n=c.clipRect=b.clipRect(0,g,9999,0),c.contentGroup.clip(n)),f(l),p||(this.nav=p=b.g().attr({zIndex:1}).add(this.group),this.up=b.symbol(\"triangle\",0,0,q,q).on(\"click\",function(){c.scroll(-1,k)}).add(p),this.pager=b.text(\"\",15,\n",
288
+ "10).addClass(\"highcharts-legend-navigation\").css(r.style).add(p),this.down=b.symbol(\"triangle-down\",0,0,q,q).on(\"click\",function(){c.scroll(1,k)}).add(p)),c.scroll(0),a=d):p&&(f(),this.nav=p.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0);return a},scroll:function(a,c){var d=this.pages,b=d.length;a=this.currentPage+a;var e=this.clipHeight,h=this.options.navigation,g=this.pager,l=this.padding;a>b&&(a=b);0<a&&(void 0!==c&&u(c,this.chart),this.nav.attr({translateX:l,translateY:e+this.padding+\n",
289
+ "7+this.titleHeight,visibility:\"visible\"}),this.up.attr({\"class\":1===a?\"highcharts-legend-nav-inactive\":\"highcharts-legend-nav-active\"}),g.attr({text:a+\"/\"+b}),this.down.attr({x:18+this.pager.getBBox().width,\"class\":a===b?\"highcharts-legend-nav-inactive\":\"highcharts-legend-nav-active\"}),this.up.attr({fill:1===a?h.inactiveColor:h.activeColor}).css({cursor:1===a?\"default\":\"pointer\"}),this.down.attr({fill:a===b?h.inactiveColor:h.activeColor}).css({cursor:a===b?\"default\":\"pointer\"}),c=-d[a-1]+this.initialItemY,\n",
290
+ "this.scrollGroup.animate({translateY:c}),this.currentPage=a,this.positionCheckboxes(c))}};a.LegendSymbolMixin={drawRectangle:function(a,c){var d=a.symbolHeight,b=a.options.squareSymbol;c.legendSymbol=this.chart.renderer.rect(b?(a.symbolWidth-d)/2:0,a.baseline-d+1,b?d:a.symbolWidth,d,v(a.options.symbolRadius,d/2)).addClass(\"highcharts-point\").attr({zIndex:3}).add(c.legendGroup)},drawLineMarker:function(a){var c=this.options,d=c.marker,b=a.symbolWidth,e=a.symbolHeight,h=e/2,g=this.chart.renderer,l=\n",
291
+ "this.legendGroup;a=a.baseline-Math.round(.3*a.fontMetrics.b);var n;n={\"stroke-width\":c.lineWidth||0};c.dashStyle&&(n.dashstyle=c.dashStyle);this.legendLine=g.path([\"M\",0,a,\"L\",b,a]).addClass(\"highcharts-graph\").attr(n).add(l);d&&!1!==d.enabled&&(c=Math.min(v(d.radius,h),h),0===this.symbol.indexOf(\"url\")&&(d=q(d,{width:e,height:e}),c=0),this.legendSymbol=d=g.symbol(this.symbol,b/2-c,a-c,2*c,2*c,d).addClass(\"highcharts-point\").add(l),d.isMarker=!0)}};(/Trident\\/7\\.0/.test(e.navigator.userAgent)||g)&&\n",
292
+ "n(a.Legend.prototype,\"positionItem\",function(a,c){var d=this,b=function(){c._legendItemPos&&a.call(d,c)};b();setTimeout(b)})})(K);(function(a){var C=a.addEvent,A=a.animate,G=a.animObject,F=a.attr,m=a.doc,g=a.Axis,k=a.createElement,q=a.defaultOptions,v=a.discardElement,u=a.charts,h=a.css,e=a.defined,n=a.each,d=a.extend,c=a.find,w=a.fireEvent,b=a.getStyle,y=a.grep,D=a.isNumber,H=a.isObject,l=a.isString,B=a.Legend,r=a.marginNames,z=a.merge,M=a.objectEach,p=a.Pointer,E=a.pick,I=a.pInt,L=a.removeEvent,\n",
293
+ "f=a.seriesTypes,t=a.splat,R=a.svg,J=a.syncTimeout,N=a.win,O=a.Renderer,P=a.Chart=function(){this.getArgs.apply(this,arguments)};a.chart=function(a,b,c){return new P(a,b,c)};d(P.prototype,{callbacks:[],getArgs:function(){var a=[].slice.call(arguments);if(l(a[0])||a[0].nodeName)this.renderTo=a.shift();this.init(a[0],a[1])},init:function(b,c){var f,d,e=b.series,p=b.plotOptions||{};b.series=null;f=z(q,b);for(d in f.plotOptions)f.plotOptions[d].tooltip=p[d]&&z(p[d].tooltip)||void 0;f.tooltip.userOptions=\n",
294
+ "b.chart&&b.chart.forExport&&b.tooltip.userOptions||b.tooltip;f.series=b.series=e;this.userOptions=b;b=f.chart;d=b.events;this.margin=[];this.spacing=[];this.bounds={h:{},v:{}};this.callback=c;this.isResizing=0;this.options=f;this.axes=[];this.series=[];this.hasCartesianSeries=b.showAxes;var h=this;h.index=u.length;u.push(h);a.chartCount++;d&&M(d,function(a,b){C(h,b,a)});h.xAxis=[];h.yAxis=[];h.pointCount=h.colorCounter=h.symbolCounter=0;h.firstRender()},initSeries:function(b){var c=this.options.chart;\n",
295
+ "(c=f[b.type||c.type||c.defaultSeriesType])||a.error(17,!0);c=new c;c.init(this,b);return c},orderSeries:function(a){var b=this.series;for(a=a||0;a<b.length;a++)b[a]&&(b[a].index=a,b[a].name=b[a].name||\"Series \"+(b[a].index+1))},isInsidePlot:function(a,b,c){var f=c?b:a;a=c?a:b;return 0<=f&&f<=this.plotWidth&&0<=a&&a<=this.plotHeight},redraw:function(b){var c=this.axes,f=this.series,e=this.pointer,p=this.legend,h=this.isDirtyLegend,l,g,r=this.hasCartesianSeries,t=this.isDirtyBox,x,k=this.renderer,m=\n",
296
+ "k.isHidden(),E=[];this.setResponsive&&this.setResponsive(!1);a.setAnimation(b,this);m&&this.temporaryDisplay();this.layOutTitles();for(b=f.length;b--;)if(x=f[b],x.options.stacking&&(l=!0,x.isDirty)){g=!0;break}if(g)for(b=f.length;b--;)x=f[b],x.options.stacking&&(x.isDirty=!0);n(f,function(a){a.isDirty&&\"point\"===a.options.legendType&&(a.updateTotals&&a.updateTotals(),h=!0);a.isDirtyData&&w(a,\"updatedData\")});h&&p.options.enabled&&(p.render(),this.isDirtyLegend=!1);l&&this.getStacks();r&&n(c,function(a){a.updateNames();\n",
297
+ "a.setScale()});this.getMargins();r&&(n(c,function(a){a.isDirty&&(t=!0)}),n(c,function(a){var b=a.min+\",\"+a.max;a.extKey!==b&&(a.extKey=b,E.push(function(){w(a,\"afterSetExtremes\",d(a.eventArgs,a.getExtremes()));delete a.eventArgs}));(t||l)&&a.redraw()}));t&&this.drawChartBox();w(this,\"predraw\");n(f,function(a){(t||a.isDirty)&&a.visible&&a.redraw();a.isDirtyData=!1});e&&e.reset(!0);k.draw();w(this,\"redraw\");w(this,\"render\");m&&this.temporaryDisplay(!0);n(E,function(a){a.call()})},get:function(a){function b(b){return b.id===\n",
298
+ "a||b.options&&b.options.id===a}var f,d=this.series,e;f=c(this.axes,b)||c(this.series,b);for(e=0;!f&&e<d.length;e++)f=c(d[e].points||[],b);return f},getAxes:function(){var a=this,b=this.options,c=b.xAxis=t(b.xAxis||{}),b=b.yAxis=t(b.yAxis||{});n(c,function(a,b){a.index=b;a.isX=!0});n(b,function(a,b){a.index=b});c=c.concat(b);n(c,function(b){new g(a,b)})},getSelectedPoints:function(){var a=[];n(this.series,function(b){a=a.concat(y(b.data||[],function(a){return a.selected}))});return a},getSelectedSeries:function(){return y(this.series,\n",
299
+ "function(a){return a.selected})},setTitle:function(a,b,c){var f=this,d=f.options,e;e=d.title=z({style:{color:\"#333333\",fontSize:d.isStock?\"16px\":\"18px\"}},d.title,a);d=d.subtitle=z({style:{color:\"#666666\"}},d.subtitle,b);n([[\"title\",a,e],[\"subtitle\",b,d]],function(a,b){var c=a[0],d=f[c],e=a[1];a=a[2];d&&e&&(f[c]=d=d.destroy());a&&a.text&&!d&&(f[c]=f.renderer.text(a.text,0,0,a.useHTML).attr({align:a.align,\"class\":\"highcharts-\"+c,zIndex:a.zIndex||4}).add(),f[c].update=function(a){f.setTitle(!b&&a,b&&\n",
300
+ "a)},f[c].css(a.style))});f.layOutTitles(c)},layOutTitles:function(a){var b=0,c,f=this.renderer,e=this.spacingBox;n([\"title\",\"subtitle\"],function(a){var c=this[a],p=this.options[a];a=\"title\"===a?-3:p.verticalAlign?0:b+2;var h;c&&(h=p.style.fontSize,h=f.fontMetrics(h,c).b,c.css({width:(p.width||e.width+p.widthAdjust)+\"px\"}).align(d({y:a+h},p),!1,\"spacingBox\"),p.floating||p.verticalAlign||(b=Math.ceil(b+c.getBBox(p.useHTML).height)))},this);c=this.titleOffset!==b;this.titleOffset=b;!this.isDirtyBox&&\n",
301
+ "c&&(this.isDirtyBox=c,this.hasRendered&&E(a,!0)&&this.isDirtyBox&&this.redraw())},getChartSize:function(){var c=this.options.chart,f=c.width,c=c.height,d=this.renderTo;e(f)||(this.containerWidth=b(d,\"width\"));e(c)||(this.containerHeight=b(d,\"height\"));this.chartWidth=Math.max(0,f||this.containerWidth||600);this.chartHeight=Math.max(0,a.relativeLength(c,this.chartWidth)||this.containerHeight||400)},temporaryDisplay:function(c){var f=this.renderTo;if(c)for(;f&&f.style;)f.hcOrigStyle&&(a.css(f,f.hcOrigStyle),\n",
302
+ "delete f.hcOrigStyle),f=f.parentNode;else for(;f&&f.style;)\"none\"===b(f,\"display\",!1)&&(f.hcOrigStyle={display:f.style.display,height:f.style.height,overflow:f.style.overflow},c={display:\"block\",overflow:\"hidden\"},f!==this.renderTo&&(c.height=0),a.css(f,c),f.style.setProperty&&f.style.setProperty(\"display\",\"block\",\"important\")),f=f.parentNode},setClassName:function(a){this.container.className=\"highcharts-container \"+(a||\"\")},getContainer:function(){var b,c=this.options,f=c.chart,e,p;b=this.renderTo;\n",
303
+ "var h=a.uniqueKey(),g;b||(this.renderTo=b=f.renderTo);l(b)&&(this.renderTo=b=m.getElementById(b));b||a.error(13,!0);e=I(F(b,\"data-highcharts-chart\"));D(e)&&u[e]&&u[e].hasRendered&&u[e].destroy();F(b,\"data-highcharts-chart\",this.index);b.innerHTML=\"\";f.skipClone||b.offsetWidth||this.temporaryDisplay();this.getChartSize();e=this.chartWidth;p=this.chartHeight;g=d({position:\"relative\",overflow:\"hidden\",width:e+\"px\",height:p+\"px\",textAlign:\"left\",lineHeight:\"normal\",zIndex:0,\"-webkit-tap-highlight-color\":\"rgba(0,0,0,0)\"},\n",
304
+ "f.style);this.container=b=k(\"div\",{id:h},g,b);this._cursor=b.style.cursor;this.renderer=new (a[f.renderer]||O)(b,e,p,null,f.forExport,c.exporting&&c.exporting.allowHTML);this.setClassName(f.className);this.renderer.setStyle(f.style);this.renderer.chartIndex=this.index},getMargins:function(a){var b=this.spacing,c=this.margin,f=this.titleOffset;this.resetMargins();f&&!e(c[0])&&(this.plotTop=Math.max(this.plotTop,f+this.options.title.margin+b[0]));this.legend.display&&this.legend.adjustMargins(c,b);\n",
305
+ "this.extraMargin&&(this[this.extraMargin.type]=(this[this.extraMargin.type]||0)+this.extraMargin.value);this.extraTopMargin&&(this.plotTop+=this.extraTopMargin);a||this.getAxisMargins()},getAxisMargins:function(){var a=this,b=a.axisOffset=[0,0,0,0],c=a.margin;a.hasCartesianSeries&&n(a.axes,function(a){a.visible&&a.getOffset()});n(r,function(f,d){e(c[d])||(a[f]+=b[d])});a.setChartSize()},reflow:function(a){var c=this,f=c.options.chart,d=c.renderTo,p=e(f.width),h=f.width||b(d,\"width\"),f=f.height||b(d,\n",
306
+ "\"height\"),d=a?a.target:N;if(!p&&!c.isPrinting&&h&&f&&(d===N||d===m)){if(h!==c.containerWidth||f!==c.containerHeight)clearTimeout(c.reflowTimeout),c.reflowTimeout=J(function(){c.container&&c.setSize(void 0,void 0,!1)},a?100:0);c.containerWidth=h;c.containerHeight=f}},initReflow:function(){var a=this,b;b=C(N,\"resize\",function(b){a.reflow(b)});C(a,\"destroy\",b)},setSize:function(b,c,f){var d=this,e=d.renderer;d.isResizing+=1;a.setAnimation(f,d);d.oldChartHeight=d.chartHeight;d.oldChartWidth=d.chartWidth;\n",
307
+ "void 0!==b&&(d.options.chart.width=b);void 0!==c&&(d.options.chart.height=c);d.getChartSize();b=e.globalAnimation;(b?A:h)(d.container,{width:d.chartWidth+\"px\",height:d.chartHeight+\"px\"},b);d.setChartSize(!0);e.setSize(d.chartWidth,d.chartHeight,f);n(d.axes,function(a){a.isDirty=!0;a.setScale()});d.isDirtyLegend=!0;d.isDirtyBox=!0;d.layOutTitles();d.getMargins();d.redraw(f);d.oldChartHeight=null;w(d,\"resize\");J(function(){d&&w(d,\"endResize\",null,function(){--d.isResizing})},G(b).duration)},setChartSize:function(a){function b(a){a=\n",
308
+ "l[a]||0;return Math.max(m||a,a)/2}var c=this.inverted,f=this.renderer,d=this.chartWidth,e=this.chartHeight,p=this.options.chart,h=this.spacing,l=this.clipOffset,g,r,t,k,m;this.plotLeft=g=Math.round(this.plotLeft);this.plotTop=r=Math.round(this.plotTop);this.plotWidth=t=Math.max(0,Math.round(d-g-this.marginRight));this.plotHeight=k=Math.max(0,Math.round(e-r-this.marginBottom));this.plotSizeX=c?k:t;this.plotSizeY=c?t:k;this.plotBorderWidth=p.plotBorderWidth||0;this.spacingBox=f.spacingBox={x:h[3],y:h[0],\n",
309
+ "width:d-h[3]-h[1],height:e-h[0]-h[2]};this.plotBox=f.plotBox={x:g,y:r,width:t,height:k};m=2*Math.floor(this.plotBorderWidth/2);c=Math.ceil(b(3));f=Math.ceil(b(0));this.clipBox={x:c,y:f,width:Math.floor(this.plotSizeX-b(1)-c),height:Math.max(0,Math.floor(this.plotSizeY-b(2)-f))};a||n(this.axes,function(a){a.setAxisSize();a.setAxisTranslation()})},resetMargins:function(){var a=this,b=a.options.chart;n([\"margin\",\"spacing\"],function(c){var f=b[c],d=H(f)?f:[f,f,f,f];n([\"Top\",\"Right\",\"Bottom\",\"Left\"],function(f,\n",
310
+ "e){a[c][e]=E(b[c+f],d[e])})});n(r,function(b,c){a[b]=E(a.margin[c],a.spacing[c])});a.axisOffset=[0,0,0,0];a.clipOffset=[]},drawChartBox:function(){var a=this.options.chart,b=this.renderer,c=this.chartWidth,f=this.chartHeight,d=this.chartBackground,e=this.plotBackground,p=this.plotBorder,h,l=this.plotBGImage,g=a.backgroundColor,n=a.plotBackgroundColor,r=a.plotBackgroundImage,t,k=this.plotLeft,m=this.plotTop,E=this.plotWidth,w=this.plotHeight,q=this.plotBox,I=this.clipRect,z=this.clipBox,y=\"animate\";\n",
311
+ "d||(this.chartBackground=d=b.rect().addClass(\"highcharts-background\").add(),y=\"attr\");h=a.borderWidth||0;t=h+(a.shadow?8:0);g={fill:g||\"none\"};if(h||d[\"stroke-width\"])g.stroke=a.borderColor,g[\"stroke-width\"]=h;d.attr(g).shadow(a.shadow);d[y]({x:t/2,y:t/2,width:c-t-h%2,height:f-t-h%2,r:a.borderRadius});y=\"animate\";e||(y=\"attr\",this.plotBackground=e=b.rect().addClass(\"highcharts-plot-background\").add());e[y](q);e.attr({fill:n||\"none\"}).shadow(a.plotShadow);r&&(l?l.animate(q):this.plotBGImage=b.image(r,\n",
312
+ "k,m,E,w).add());I?I.animate({width:z.width,height:z.height}):this.clipRect=b.clipRect(z);y=\"animate\";p||(y=\"attr\",this.plotBorder=p=b.rect().addClass(\"highcharts-plot-border\").attr({zIndex:1}).add());p.attr({stroke:a.plotBorderColor,\"stroke-width\":a.plotBorderWidth||0,fill:\"none\"});p[y](p.crisp({x:k,y:m,width:E,height:w},-p.strokeWidth()));this.isDirtyBox=!1},propFromSeries:function(){var a=this,b=a.options.chart,c,d=a.options.series,e,p;n([\"inverted\",\"angular\",\"polar\"],function(h){c=f[b.type||b.defaultSeriesType];\n",
313
+ "p=b[h]||c&&c.prototype[h];for(e=d&&d.length;!p&&e--;)(c=f[d[e].type])&&c.prototype[h]&&(p=!0);a[h]=p})},linkSeries:function(){var a=this,b=a.series;n(b,function(a){a.linkedSeries.length=0});n(b,function(b){var c=b.options.linkedTo;l(c)&&(c=\":previous\"===c?a.series[b.index-1]:a.get(c))&&c.linkedParent!==b&&(c.linkedSeries.push(b),b.linkedParent=c,b.visible=E(b.options.visible,c.options.visible,b.visible))})},renderSeries:function(){n(this.series,function(a){a.translate();a.render()})},renderLabels:function(){var a=\n",
314
+ "this,b=a.options.labels;b.items&&n(b.items,function(c){var f=d(b.style,c.style),e=I(f.left)+a.plotLeft,p=I(f.top)+a.plotTop+12;delete f.left;delete f.top;a.renderer.text(c.html,e,p).attr({zIndex:2}).css(f).add()})},render:function(){var a=this.axes,b=this.renderer,c=this.options,f,d,e;this.setTitle();this.legend=new B(this,c.legend);this.getStacks&&this.getStacks();this.getMargins(!0);this.setChartSize();c=this.plotWidth;f=this.plotHeight-=21;n(a,function(a){a.setScale()});this.getAxisMargins();d=\n",
315
+ "1.1<c/this.plotWidth;e=1.05<f/this.plotHeight;if(d||e)n(a,function(a){(a.horiz&&d||!a.horiz&&e)&&a.setTickInterval(!0)}),this.getMargins();this.drawChartBox();this.hasCartesianSeries&&n(a,function(a){a.visible&&a.render()});this.seriesGroup||(this.seriesGroup=b.g(\"series-group\").attr({zIndex:3}).add());this.renderSeries();this.renderLabels();this.addCredits();this.setResponsive&&this.setResponsive();this.hasRendered=!0},addCredits:function(a){var b=this;a=z(!0,this.options.credits,a);a.enabled&&!this.credits&&\n",
316
+ "(this.credits=this.renderer.text(a.text+(this.mapCredits||\"\"),0,0).addClass(\"highcharts-credits\").on(\"click\",function(){a.href&&(N.location.href=a.href)}).attr({align:a.position.align,zIndex:8}).css(a.style).add().align(a.position),this.credits.update=function(a){b.credits=b.credits.destroy();b.addCredits(a)})},destroy:function(){var b=this,c=b.axes,f=b.series,d=b.container,e,p=d&&d.parentNode;w(b,\"destroy\");b.renderer.forExport?a.erase(u,b):u[b.index]=void 0;a.chartCount--;b.renderTo.removeAttribute(\"data-highcharts-chart\");\n",
317
+ "L(b);for(e=c.length;e--;)c[e]=c[e].destroy();this.scroller&&this.scroller.destroy&&this.scroller.destroy();for(e=f.length;e--;)f[e]=f[e].destroy();n(\"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer\".split(\" \"),function(a){var c=b[a];c&&c.destroy&&(b[a]=c.destroy())});d&&(d.innerHTML=\"\",L(d),p&&v(d));M(b,function(a,c){delete b[c]})},isReadyToRender:function(){var a=this;return R||N!=N.top||\n",
318
+ "\"complete\"===m.readyState?!0:(m.attachEvent(\"onreadystatechange\",function(){m.detachEvent(\"onreadystatechange\",a.firstRender);\"complete\"===m.readyState&&a.firstRender()}),!1)},firstRender:function(){var a=this,b=a.options;if(a.isReadyToRender()){a.getContainer();w(a,\"init\");a.resetMargins();a.setChartSize();a.propFromSeries();a.getAxes();n(b.series||[],function(b){a.initSeries(b)});a.linkSeries();w(a,\"beforeRender\");p&&(a.pointer=new p(a,b));a.render();if(!a.renderer.imgCount&&a.onload)a.onload();\n",
319
+ "a.temporaryDisplay(!0)}},onload:function(){n([this.callback].concat(this.callbacks),function(a){a&&void 0!==this.index&&a.apply(this,[this])},this);w(this,\"load\");w(this,\"render\");e(this.index)&&!1!==this.options.chart.reflow&&this.initReflow();this.onload=null}})})(K);(function(a){var C,A=a.each,G=a.extend,F=a.erase,m=a.fireEvent,g=a.format,k=a.isArray,q=a.isNumber,v=a.pick,u=a.removeEvent;a.Point=C=function(){};a.Point.prototype={init:function(a,e,g){this.series=a;this.color=a.color;this.applyOptions(e,\n",
320
+ "g);a.options.colorByPoint?(e=a.options.colors||a.chart.options.colors,this.color=this.color||e[a.colorCounter],e=e.length,g=a.colorCounter,a.colorCounter++,a.colorCounter===e&&(a.colorCounter=0)):g=a.colorIndex;this.colorIndex=v(this.colorIndex,g);a.chart.pointCount++;return this},applyOptions:function(a,e){var h=this.series,d=h.options.pointValKey||h.pointValKey;a=C.prototype.optionsToObject.call(this,a);G(this,a);this.options=this.options?G(this.options,a):a;a.group&&delete this.group;d&&(this.y=\n",
321
+ "this[d]);this.isNull=v(this.isValid&&!this.isValid(),null===this.x||!q(this.y,!0));this.selected&&(this.state=\"select\");\"name\"in this&&void 0===e&&h.xAxis&&h.xAxis.hasNames&&(this.x=h.xAxis.nameToX(this));void 0===this.x&&h&&(this.x=void 0===e?h.autoIncrement(this):e);return this},optionsToObject:function(a){var e={},h=this.series,d=h.options.keys,c=d||h.pointArrayMap||[\"y\"],g=c.length,b=0,m=0;if(q(a)||null===a)e[c[0]]=a;else if(k(a))for(!d&&a.length>g&&(h=typeof a[0],\"string\"===h?e.name=a[0]:\"number\"===\n",
322
+ "h&&(e.x=a[0]),b++);m<g;)d&&void 0===a[b]||(e[c[m]]=a[b]),b++,m++;else\"object\"===typeof a&&(e=a,a.dataLabels&&(h._hasPointLabels=!0),a.marker&&(h._hasPointMarkers=!0));return e},getClassName:function(){return\"highcharts-point\"+(this.selected?\" highcharts-point-select\":\"\")+(this.negative?\" highcharts-negative\":\"\")+(this.isNull?\" highcharts-null-point\":\"\")+(void 0!==this.colorIndex?\" highcharts-color-\"+this.colorIndex:\"\")+(this.options.className?\" \"+this.options.className:\"\")+(this.zone&&this.zone.className?\n",
323
+ "\" \"+this.zone.className.replace(\"highcharts-negative\",\"\"):\"\")},getZone:function(){var a=this.series,e=a.zones,a=a.zoneAxis||\"y\",g=0,d;for(d=e[g];this[a]>=d.value;)d=e[++g];d&&d.color&&!this.options.color&&(this.color=d.color);return d},destroy:function(){var a=this.series.chart,e=a.hoverPoints,g;a.pointCount--;e&&(this.setState(),F(e,this),e.length||(a.hoverPoints=null));if(this===a.hoverPoint)this.onMouseOut();if(this.graphic||this.dataLabel)u(this),this.destroyElements();this.legendItem&&a.legend.destroyItem(this);\n",
324
+ "for(g in this)this[g]=null},destroyElements:function(){for(var a=[\"graphic\",\"dataLabel\",\"dataLabelUpper\",\"connector\",\"shadowGroup\"],e,g=6;g--;)e=a[g],this[e]&&(this[e]=this[e].destroy())},getLabelConfig:function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},tooltipFormatter:function(a){var e=this.series,h=e.tooltipOptions,d=v(h.valueDecimals,\"\"),\n",
325
+ "c=h.valuePrefix||\"\",k=h.valueSuffix||\"\";A(e.pointArrayMap||[\"y\"],function(b){b=\"{point.\"+b;if(c||k)a=a.replace(b+\"}\",c+b+\"}\"+k);a=a.replace(b+\"}\",b+\":,.\"+d+\"f}\")});return g(a,{point:this,series:this.series})},firePointEvent:function(a,e,g){var d=this,c=this.series.options;(c.point.events[a]||d.options&&d.options.events&&d.options.events[a])&&this.importEvents();\"click\"===a&&c.allowPointSelect&&(g=function(a){d.select&&d.select(null,a.ctrlKey||a.metaKey||a.shiftKey)});m(this,a,e,g)},visible:!0}})(K);\n",
326
+ "(function(a){var C=a.addEvent,A=a.animObject,G=a.arrayMax,F=a.arrayMin,m=a.correctFloat,g=a.Date,k=a.defaultOptions,q=a.defaultPlotOptions,v=a.defined,u=a.each,h=a.erase,e=a.extend,n=a.fireEvent,d=a.grep,c=a.isArray,w=a.isNumber,b=a.isString,y=a.merge,D=a.objectEach,H=a.pick,l=a.removeEvent,B=a.splat,r=a.SVGElement,z=a.syncTimeout,M=a.win;a.Series=a.seriesType(\"line\",null,{lineWidth:2,allowPointSelect:!1,showCheckbox:!1,animation:{duration:1E3},events:{},marker:{lineWidth:0,lineColor:\"#ffffff\",radius:4,\n",
327
+ "states:{hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:\"#cccccc\",lineColor:\"#000000\",lineWidth:2}}},point:{events:{}},dataLabels:{align:\"center\",formatter:function(){return null===this.y?\"\":a.numberFormat(this.y,-1)},style:{fontSize:\"11px\",fontWeight:\"bold\",color:\"contrast\",textOutline:\"1px contrast\"},verticalAlign:\"bottom\",x:0,y:0,padding:5},cropThreshold:300,pointRange:0,softThreshold:!0,states:{hover:{animation:{duration:50},lineWidthPlus:1,marker:{},\n",
328
+ "halo:{size:10,opacity:.25}},select:{marker:{}}},stickyTracking:!0,turboThreshold:1E3,findNearestPointBy:\"x\"},{isCartesian:!0,pointClass:a.Point,sorted:!0,requireSorting:!0,directTouch:!1,axisTypes:[\"xAxis\",\"yAxis\"],colorCounter:0,parallelArrays:[\"x\",\"y\"],coll:\"series\",init:function(a,b){var c=this,d,f=a.series,p;c.chart=a;c.options=b=c.setOptions(b);c.linkedSeries=[];c.bindAxes();e(c,{name:b.name,state:\"\",visible:!1!==b.visible,selected:!0===b.selected});d=b.events;D(d,function(a,b){C(c,b,a)});if(d&&\n",
329
+ "d.click||b.point&&b.point.events&&b.point.events.click||b.allowPointSelect)a.runTrackerClick=!0;c.getColor();c.getSymbol();u(c.parallelArrays,function(a){c[a+\"Data\"]=[]});c.setData(b.data,!1);c.isCartesian&&(a.hasCartesianSeries=!0);f.length&&(p=f[f.length-1]);c._i=H(p&&p._i,-1)+1;a.orderSeries(this.insert(f))},insert:function(a){var b=this.options.index,c;if(w(b)){for(c=a.length;c--;)if(b>=H(a[c].options.index,a[c]._i)){a.splice(c+1,0,this);break}-1===c&&a.unshift(this);c+=1}else a.push(this);return H(c,\n",
330
+ "a.length-1)},bindAxes:function(){var b=this,c=b.options,d=b.chart,e;u(b.axisTypes||[],function(f){u(d[f],function(a){e=a.options;if(c[f]===e.index||void 0!==c[f]&&c[f]===e.id||void 0===c[f]&&0===e.index)b.insert(a.series),b[f]=a,a.isDirty=!0});b[f]||b.optionalAxis===f||a.error(18,!0)})},updateParallelArrays:function(a,b){var c=a.series,d=arguments,f=w(b)?function(f){var d=\"y\"===f&&c.toYData?c.toYData(a):a[f];c[f+\"Data\"][b]=d}:function(a){Array.prototype[b].apply(c[a+\"Data\"],Array.prototype.slice.call(d,\n",
331
+ "2))};u(c.parallelArrays,f)},autoIncrement:function(){var a=this.options,b=this.xIncrement,c,d=a.pointIntervalUnit,b=H(b,a.pointStart,0);this.pointInterval=c=H(this.pointInterval,a.pointInterval,1);d&&(a=new g(b),\"day\"===d?a=+a[g.hcSetDate](a[g.hcGetDate]()+c):\"month\"===d?a=+a[g.hcSetMonth](a[g.hcGetMonth]()+c):\"year\"===d&&(a=+a[g.hcSetFullYear](a[g.hcGetFullYear]()+c)),c=a-b);this.xIncrement=b+c;return b},setOptions:function(a){var b=this.chart,c=b.options,d=c.plotOptions,f=(b.userOptions||{}).plotOptions||\n",
332
+ "{},e=d[this.type];this.userOptions=a;b=y(e,d.series,a);this.tooltipOptions=y(k.tooltip,k.plotOptions.series&&k.plotOptions.series.tooltip,k.plotOptions[this.type].tooltip,c.tooltip.userOptions,d.series&&d.series.tooltip,d[this.type].tooltip,a.tooltip);this.stickyTracking=H(a.stickyTracking,f[this.type]&&f[this.type].stickyTracking,f.series&&f.series.stickyTracking,this.tooltipOptions.shared&&!this.noSharedTooltip?!0:b.stickyTracking);null===e.marker&&delete b.marker;this.zoneAxis=b.zoneAxis;a=this.zones=\n",
333
+ "(b.zones||[]).slice();!b.negativeColor&&!b.negativeFillColor||b.zones||a.push({value:b[this.zoneAxis+\"Threshold\"]||b.threshold||0,className:\"highcharts-negative\",color:b.negativeColor,fillColor:b.negativeFillColor});a.length&&v(a[a.length-1].value)&&a.push({color:this.color,fillColor:this.fillColor});return b},getCyclic:function(a,b,c){var d,f=this.chart,e=this.userOptions,p=a+\"Index\",h=a+\"Counter\",l=c?c.length:H(f.options.chart[a+\"Count\"],f[a+\"Count\"]);b||(d=H(e[p],e[\"_\"+p]),v(d)||(f.series.length||\n",
334
+ "(f[h]=0),e[\"_\"+p]=d=f[h]%l,f[h]+=1),c&&(b=c[d]));void 0!==d&&(this[p]=d);this[a]=b},getColor:function(){this.options.colorByPoint?this.options.color=null:this.getCyclic(\"color\",this.options.color||q[this.type].color,this.chart.options.colors)},getSymbol:function(){this.getCyclic(\"symbol\",this.options.marker.symbol,this.chart.options.symbols)},drawLegendSymbol:a.LegendSymbolMixin.drawLineMarker,setData:function(d,e,h,l){var f=this,p=f.points,g=p&&p.length||0,r,n=f.options,k=f.chart,m=null,q=f.xAxis,\n",
335
+ "E=n.turboThreshold,z=this.xData,y=this.yData,I=(r=f.pointArrayMap)&&r.length;d=d||[];r=d.length;e=H(e,!0);if(!1!==l&&r&&g===r&&!f.cropped&&!f.hasGroupedData&&f.visible)u(d,function(a,b){p[b].update&&a!==n.data[b]&&p[b].update(a,!1,null,!1)});else{f.xIncrement=null;f.colorCounter=0;u(this.parallelArrays,function(a){f[a+\"Data\"].length=0});if(E&&r>E){for(h=0;null===m&&h<r;)m=d[h],h++;if(w(m))for(h=0;h<r;h++)z[h]=this.autoIncrement(),y[h]=d[h];else if(c(m))if(I)for(h=0;h<r;h++)m=d[h],z[h]=m[0],y[h]=m.slice(1,\n",
336
+ "I+1);else for(h=0;h<r;h++)m=d[h],z[h]=m[0],y[h]=m[1];else a.error(12)}else for(h=0;h<r;h++)void 0!==d[h]&&(m={series:f},f.pointClass.prototype.applyOptions.apply(m,[d[h]]),f.updateParallelArrays(m,h));b(y[0])&&a.error(14,!0);f.data=[];f.options.data=f.userOptions.data=d;for(h=g;h--;)p[h]&&p[h].destroy&&p[h].destroy();q&&(q.minRange=q.userMinRange);f.isDirty=k.isDirtyBox=!0;f.isDirtyData=!!p;h=!1}\"point\"===n.legendType&&(this.processData(),this.generatePoints());e&&k.redraw(h)},processData:function(b){var c=\n",
337
+ "this.xData,d=this.yData,e=c.length,f;f=0;var h,p,l=this.xAxis,g,r=this.options;g=r.cropThreshold;var n=this.getExtremesFromAll||r.getExtremesFromAll,k=this.isCartesian,r=l&&l.val2lin,m=l&&l.isLog,q,w;if(k&&!this.isDirty&&!l.isDirty&&!this.yAxis.isDirty&&!b)return!1;l&&(b=l.getExtremes(),q=b.min,w=b.max);if(k&&this.sorted&&!n&&(!g||e>g||this.forceCrop))if(c[e-1]<q||c[0]>w)c=[],d=[];else if(c[0]<q||c[e-1]>w)f=this.cropData(this.xData,this.yData,q,w),c=f.xData,d=f.yData,f=f.start,h=!0;for(g=c.length||\n",
338
+ "1;--g;)e=m?r(c[g])-r(c[g-1]):c[g]-c[g-1],0<e&&(void 0===p||e<p)?p=e:0>e&&this.requireSorting&&a.error(15);this.cropped=h;this.cropStart=f;this.processedXData=c;this.processedYData=d;this.closestPointRange=p},cropData:function(a,b,c,d){var f=a.length,e=0,h=f,p=H(this.cropShoulder,1),l;for(l=0;l<f;l++)if(a[l]>=c){e=Math.max(0,l-p);break}for(c=l;c<f;c++)if(a[c]>d){h=c+p;break}return{xData:a.slice(e,h),yData:b.slice(e,h),start:e,end:h}},generatePoints:function(){var a=this.options,b=a.data,c=this.data,\n",
339
+ "d,f=this.processedXData,e=this.processedYData,h=this.pointClass,l=f.length,g=this.cropStart||0,r,n=this.hasGroupedData,a=a.keys,k,m=[],q;c||n||(c=[],c.length=b.length,c=this.data=c);a&&n&&(this.options.keys=!1);for(q=0;q<l;q++)r=g+q,n?(k=(new h).init(this,[f[q]].concat(B(e[q]))),k.dataGroup=this.groupMap[q]):(k=c[r])||void 0===b[r]||(c[r]=k=(new h).init(this,b[r],f[q])),k&&(k.index=r,m[q]=k);this.options.keys=a;if(c&&(l!==(d=c.length)||n))for(q=0;q<d;q++)q!==g||n||(q+=l),c[q]&&(c[q].destroyElements(),\n",
340
+ "c[q].plotX=void 0);this.data=c;this.points=m},getExtremes:function(a){var b=this.yAxis,d=this.processedXData,e,f=[],h=0;e=this.xAxis.getExtremes();var p=e.min,l=e.max,g,r,n,k;a=a||this.stackedYData||this.processedYData||[];e=a.length;for(k=0;k<e;k++)if(r=d[k],n=a[k],g=(w(n,!0)||c(n))&&(!b.positiveValuesOnly||n.length||0<n),r=this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||(d[k]||r)>=p&&(d[k]||r)<=l,g&&r)if(g=n.length)for(;g--;)null!==n[g]&&(f[h++]=n[g]);else f[h++]=n;this.dataMin=\n",
341
+ "F(f);this.dataMax=G(f)},translate:function(){this.processedXData||this.processData();this.generatePoints();var a=this.options,b=a.stacking,c=this.xAxis,d=c.categories,f=this.yAxis,e=this.points,h=e.length,l=!!this.modifyValue,g=a.pointPlacement,r=\"between\"===g||w(g),n=a.threshold,k=a.startFromThreshold?n:0,q,z,y,B,u=Number.MAX_VALUE;\"between\"===g&&(g=.5);w(g)&&(g*=H(a.pointRange||c.pointRange));for(a=0;a<h;a++){var D=e[a],M=D.x,A=D.y;z=D.low;var C=b&&f.stacks[(this.negStacks&&A<(k?0:n)?\"-\":\"\")+this.stackKey],\n",
342
+ "F;f.positiveValuesOnly&&null!==A&&0>=A&&(D.isNull=!0);D.plotX=q=m(Math.min(Math.max(-1E5,c.translate(M,0,0,0,1,g,\"flags\"===this.type)),1E5));b&&this.visible&&!D.isNull&&C&&C[M]&&(B=this.getStackIndicator(B,M,this.index),F=C[M],A=F.points[B.key],z=A[0],A=A[1],z===k&&B.key===C[M].base&&(z=H(n,f.min)),f.positiveValuesOnly&&0>=z&&(z=null),D.total=D.stackTotal=F.total,D.percentage=F.total&&D.y/F.total*100,D.stackY=A,F.setOffset(this.pointXOffset||0,this.barW||0));D.yBottom=v(z)?f.translate(z,0,1,0,1):\n",
343
+ "null;l&&(A=this.modifyValue(A,D));D.plotY=z=\"number\"===typeof A&&Infinity!==A?Math.min(Math.max(-1E5,f.translate(A,0,1,0,1)),1E5):void 0;D.isInside=void 0!==z&&0<=z&&z<=f.len&&0<=q&&q<=c.len;D.clientX=r?m(c.translate(M,0,0,0,1,g)):q;D.negative=D.y<(n||0);D.category=d&&void 0!==d[D.x]?d[D.x]:D.x;D.isNull||(void 0!==y&&(u=Math.min(u,Math.abs(q-y))),y=q);D.zone=this.zones.length&&D.getZone()}this.closestPointRangePx=u},getValidPoints:function(a,b){var c=this.chart;return d(a||this.points||[],function(a){return b&&\n",
344
+ "!c.isInsidePlot(a.plotX,a.plotY,c.inverted)?!1:!a.isNull})},setClip:function(a){var b=this.chart,c=this.options,d=b.renderer,f=b.inverted,e=this.clipBox,h=e||b.clipBox,l=this.sharedClipKey||[\"_sharedClip\",a&&a.duration,a&&a.easing,h.height,c.xAxis,c.yAxis].join(),g=b[l],p=b[l+\"m\"];g||(a&&(h.width=0,b[l+\"m\"]=p=d.clipRect(-99,f?-b.plotLeft:-b.plotTop,99,f?b.chartWidth:b.chartHeight)),b[l]=g=d.clipRect(h),g.count={length:0});a&&!g.count[this.index]&&(g.count[this.index]=!0,g.count.length+=1);!1!==c.clip&&\n",
345
+ "(this.group.clip(a||e?g:b.clipRect),this.markerGroup.clip(p),this.sharedClipKey=l);a||(g.count[this.index]&&(delete g.count[this.index],--g.count.length),0===g.count.length&&l&&b[l]&&(e||(b[l]=b[l].destroy()),b[l+\"m\"]&&(b[l+\"m\"]=b[l+\"m\"].destroy())))},animate:function(a){var b=this.chart,c=A(this.options.animation),d;a?this.setClip(c):(d=this.sharedClipKey,(a=b[d])&&a.animate({width:b.plotSizeX},c),b[d+\"m\"]&&b[d+\"m\"].animate({width:b.plotSizeX+99},c),this.animate=null)},afterAnimate:function(){this.setClip();\n",
346
+ "n(this,\"afterAnimate\")},drawPoints:function(){var a=this.points,b=this.chart,c,d,f,e,h=this.options.marker,l,g,r,n,k=this[this.specialGroup]||this.markerGroup,m=H(h.enabled,this.xAxis.isRadial?!0:null,this.closestPointRangePx>=2*h.radius);if(!1!==h.enabled||this._hasPointMarkers)for(d=0;d<a.length;d++)f=a[d],c=f.plotY,e=f.graphic,l=f.marker||{},g=!!f.marker,r=m&&void 0===l.enabled||l.enabled,n=f.isInside,r&&w(c)&&null!==f.y?(c=H(l.symbol,this.symbol),f.hasImage=0===c.indexOf(\"url\"),r=this.markerAttribs(f,\n",
347
+ "f.selected&&\"select\"),e?e[n?\"show\":\"hide\"](!0).animate(r):n&&(0<r.width||f.hasImage)&&(f.graphic=e=b.renderer.symbol(c,r.x,r.y,r.width,r.height,g?l:h).add(k)),e&&e.attr(this.pointAttribs(f,f.selected&&\"select\")),e&&e.addClass(f.getClassName(),!0)):e&&(f.graphic=e.destroy())},markerAttribs:function(a,b){var c=this.options.marker,d=a.marker||{},f=H(d.radius,c.radius);b&&(c=c.states[b],b=d.states&&d.states[b],f=H(b&&b.radius,c&&c.radius,f+(c&&c.radiusPlus||0)));a.hasImage&&(f=0);a={x:Math.floor(a.plotX)-\n",
348
+ "f,y:a.plotY-f};f&&(a.width=a.height=2*f);return a},pointAttribs:function(a,b){var c=this.options.marker,d=a&&a.options,f=d&&d.marker||{},e=this.color,h=d&&d.color,l=a&&a.color,d=H(f.lineWidth,c.lineWidth);a=a&&a.zone&&a.zone.color;e=h||a||l||e;a=f.fillColor||c.fillColor||e;e=f.lineColor||c.lineColor||e;b&&(c=c.states[b],b=f.states&&f.states[b]||{},d=H(b.lineWidth,c.lineWidth,d+H(b.lineWidthPlus,c.lineWidthPlus,0)),a=b.fillColor||c.fillColor||a,e=b.lineColor||c.lineColor||e);return{stroke:e,\"stroke-width\":d,\n",
349
+ "fill:a}},destroy:function(){var a=this,b=a.chart,c=/AppleWebKit\\/533/.test(M.navigator.userAgent),d,f,e=a.data||[],g,k;n(a,\"destroy\");l(a);u(a.axisTypes||[],function(b){(k=a[b])&&k.series&&(h(k.series,a),k.isDirty=k.forceRedraw=!0)});a.legendItem&&a.chart.legend.destroyItem(a);for(f=e.length;f--;)(g=e[f])&&g.destroy&&g.destroy();a.points=null;clearTimeout(a.animationTimeout);D(a,function(a,b){a instanceof r&&!a.survive&&(d=c&&\"group\"===b?\"hide\":\"destroy\",a[d]())});b.hoverSeries===a&&(b.hoverSeries=\n",
350
+ "null);h(b.series,a);b.orderSeries();D(a,function(b,c){delete a[c]})},getGraphPath:function(a,b,c){var d=this,f=d.options,e=f.step,h,l=[],g=[],p;a=a||d.points;(h=a.reversed)&&a.reverse();(e={right:1,center:2}[e]||e&&3)&&h&&(e=4-e);!f.connectNulls||b||c||(a=this.getValidPoints(a));u(a,function(h,r){var n=h.plotX,k=h.plotY,m=a[r-1];(h.leftCliff||m&&m.rightCliff)&&!c&&(p=!0);h.isNull&&!v(b)&&0<r?p=!f.connectNulls:h.isNull&&!b?p=!0:(0===r||p?r=[\"M\",h.plotX,h.plotY]:d.getPointSpline?r=d.getPointSpline(a,\n",
351
+ "h,r):e?(r=1===e?[\"L\",m.plotX,k]:2===e?[\"L\",(m.plotX+n)/2,m.plotY,\"L\",(m.plotX+n)/2,k]:[\"L\",n,m.plotY],r.push(\"L\",n,k)):r=[\"L\",n,k],g.push(h.x),e&&g.push(h.x),l.push.apply(l,r),p=!1)});l.xMap=g;return d.graphPath=l},drawGraph:function(){var a=this,b=this.options,c=(this.gappedPath||this.getGraphPath).call(this),d=[[\"graph\",\"highcharts-graph\",b.lineColor||this.color,b.dashStyle]];u(this.zones,function(c,e){d.push([\"zone-graph-\"+e,\"highcharts-graph highcharts-zone-graph-\"+e+\" \"+(c.className||\"\"),c.color||\n",
352
+ "a.color,c.dashStyle||b.dashStyle])});u(d,function(f,d){var e=f[0],h=a[e];h?(h.endX=c.xMap,h.animate({d:c})):c.length&&(a[e]=a.chart.renderer.path(c).addClass(f[1]).attr({zIndex:1}).add(a.group),h={stroke:f[2],\"stroke-width\":b.lineWidth,fill:a.fillGraph&&a.color||\"none\"},f[3]?h.dashstyle=f[3]:\"square\"!==b.linecap&&(h[\"stroke-linecap\"]=h[\"stroke-linejoin\"]=\"round\"),h=a[e].attr(h).shadow(2>d&&b.shadow));h&&(h.startX=c.xMap,h.isArea=c.isArea)})},applyZones:function(){var a=this,b=this.chart,c=b.renderer,\n",
353
+ "d=this.zones,f,e,h=this.clips||[],l,g=this.graph,r=this.area,n=Math.max(b.chartWidth,b.chartHeight),k=this[(this.zoneAxis||\"y\")+\"Axis\"],m,q,w=b.inverted,z,y,B,v,D=!1;d.length&&(g||r)&&k&&void 0!==k.min&&(q=k.reversed,z=k.horiz,g&&g.hide(),r&&r.hide(),m=k.getExtremes(),u(d,function(d,p){f=q?z?b.plotWidth:0:z?0:k.toPixels(m.min);f=Math.min(Math.max(H(e,f),0),n);e=Math.min(Math.max(Math.round(k.toPixels(H(d.value,m.max),!0)),0),n);D&&(f=e=k.toPixels(m.max));y=Math.abs(f-e);B=Math.min(f,e);v=Math.max(f,\n",
354
+ "e);k.isXAxis?(l={x:w?v:B,y:0,width:y,height:n},z||(l.x=b.plotHeight-l.x)):(l={x:0,y:w?v:B,width:n,height:y},z&&(l.y=b.plotWidth-l.y));w&&c.isVML&&(l=k.isXAxis?{x:0,y:q?B:v,height:l.width,width:b.chartWidth}:{x:l.y-b.plotLeft-b.spacingBox.x,y:0,width:l.height,height:b.chartHeight});h[p]?h[p].animate(l):(h[p]=c.clipRect(l),g&&a[\"zone-graph-\"+p].clip(h[p]),r&&a[\"zone-area-\"+p].clip(h[p]));D=d.value>m.max}),this.clips=h)},invertGroups:function(a){function b(){u([\"group\",\"markerGroup\"],function(b){c[b]&&\n",
355
+ "(d.renderer.isVML&&c[b].attr({width:c.yAxis.len,height:c.xAxis.len}),c[b].width=c.yAxis.len,c[b].height=c.xAxis.len,c[b].invert(a))})}var c=this,d=c.chart,f;c.xAxis&&(f=C(d,\"resize\",b),C(c,\"destroy\",f),b(a),c.invertGroups=b)},plotGroup:function(a,b,c,d,f){var e=this[a],h=!e;h&&(this[a]=e=this.chart.renderer.g().attr({zIndex:d||.1}).add(f));e.addClass(\"highcharts-\"+b+\" highcharts-series-\"+this.index+\" highcharts-\"+this.type+\"-series highcharts-color-\"+this.colorIndex+\" \"+(this.options.className||\"\"),\n",
356
+ "!0);e.attr({visibility:c})[h?\"attr\":\"animate\"](this.getPlotBox());return e},getPlotBox:function(){var a=this.chart,b=this.xAxis,c=this.yAxis;a.inverted&&(b=c,c=this.xAxis);return{translateX:b?b.left:a.plotLeft,translateY:c?c.top:a.plotTop,scaleX:1,scaleY:1}},render:function(){var a=this,b=a.chart,c,d=a.options,f=!!a.animate&&b.renderer.isSVG&&A(d.animation).duration,e=a.visible?\"inherit\":\"hidden\",h=d.zIndex,l=a.hasRendered,g=b.seriesGroup,r=b.inverted;c=a.plotGroup(\"group\",\"series\",e,h,g);a.markerGroup=\n",
357
+ "a.plotGroup(\"markerGroup\",\"markers\",e,h,g);f&&a.animate(!0);c.inverted=a.isCartesian?r:!1;a.drawGraph&&(a.drawGraph(),a.applyZones());a.drawDataLabels&&a.drawDataLabels();a.visible&&a.drawPoints();a.drawTracker&&!1!==a.options.enableMouseTracking&&a.drawTracker();a.invertGroups(r);!1===d.clip||a.sharedClipKey||l||c.clip(b.clipRect);f&&a.animate();l||(a.animationTimeout=z(function(){a.afterAnimate()},f));a.isDirty=!1;a.hasRendered=!0},redraw:function(){var a=this.chart,b=this.isDirty||this.isDirtyData,\n",
358
+ "c=this.group,d=this.xAxis,f=this.yAxis;c&&(a.inverted&&c.attr({width:a.plotWidth,height:a.plotHeight}),c.animate({translateX:H(d&&d.left,a.plotLeft),translateY:H(f&&f.top,a.plotTop)}));this.translate();this.render();b&&delete this.kdTree},kdAxisArray:[\"clientX\",\"plotY\"],searchPoint:function(a,b){var c=this.xAxis,d=this.yAxis,f=this.chart.inverted;return this.searchKDTree({clientX:f?c.len-a.chartY+c.pos:a.chartX-c.pos,plotY:f?d.len-a.chartX+d.pos:a.chartY-d.pos},b)},buildKDTree:function(){function a(c,\n",
359
+ "f,d){var e,h;if(h=c&&c.length)return e=b.kdAxisArray[f%d],c.sort(function(a,b){return a[e]-b[e]}),h=Math.floor(h/2),{point:c[h],left:a(c.slice(0,h),f+1,d),right:a(c.slice(h+1),f+1,d)}}this.buildingKdTree=!0;var b=this,c=-1<b.options.findNearestPointBy.indexOf(\"y\")?2:1;delete b.kdTree;z(function(){b.kdTree=a(b.getValidPoints(null,!b.directTouch),c,c);b.buildingKdTree=!1},b.options.kdNow?0:1)},searchKDTree:function(a,b){function c(a,b,l,g){var r=b.point,p=d.kdAxisArray[l%g],n,k,m=r;k=v(a[f])&&v(r[f])?\n",
360
+ "Math.pow(a[f]-r[f],2):null;n=v(a[e])&&v(r[e])?Math.pow(a[e]-r[e],2):null;n=(k||0)+(n||0);r.dist=v(n)?Math.sqrt(n):Number.MAX_VALUE;r.distX=v(k)?Math.sqrt(k):Number.MAX_VALUE;p=a[p]-r[p];n=0>p?\"left\":\"right\";k=0>p?\"right\":\"left\";b[n]&&(n=c(a,b[n],l+1,g),m=n[h]<m[h]?n:r);b[k]&&Math.sqrt(p*p)<m[h]&&(a=c(a,b[k],l+1,g),m=a[h]<m[h]?a:m);return m}var d=this,f=this.kdAxisArray[0],e=this.kdAxisArray[1],h=b?\"distX\":\"dist\";b=-1<d.options.findNearestPointBy.indexOf(\"y\")?2:1;this.kdTree||this.buildingKdTree||\n",
361
+ "this.buildKDTree();if(this.kdTree)return c(a,this.kdTree,b,b)}})})(K);(function(a){function C(a,e,g,d,c){var h=a.chart.inverted;this.axis=a;this.isNegative=g;this.options=e;this.x=d;this.total=null;this.points={};this.stack=c;this.rightCliff=this.leftCliff=0;this.alignOptions={align:e.align||(h?g?\"left\":\"right\":\"center\"),verticalAlign:e.verticalAlign||(h?\"middle\":g?\"bottom\":\"top\"),y:u(e.y,h?4:g?14:-6),x:u(e.x,h?g?-6:6:0)};this.textAlign=e.textAlign||(h?g?\"right\":\"left\":\"center\")}var A=a.Axis,G=a.Chart,\n",
362
+ "F=a.correctFloat,m=a.defined,g=a.destroyObjectProperties,k=a.each,q=a.format,v=a.objectEach,u=a.pick;a=a.Series;C.prototype={destroy:function(){g(this,this.axis)},render:function(a){var e=this.options,h=e.format,h=h?q(h,this):e.formatter.call(this);this.label?this.label.attr({text:h,visibility:\"hidden\"}):this.label=this.axis.chart.renderer.text(h,null,null,e.useHTML).css(e.style).attr({align:this.textAlign,rotation:e.rotation,visibility:\"hidden\"}).add(a)},setOffset:function(a,e){var h=this.axis,d=\n",
363
+ "h.chart,c=d.inverted,g=h.reversed,g=this.isNegative&&!g||!this.isNegative&&g,b=h.translate(h.usePercentage?100:this.total,0,0,0,1),h=h.translate(0),h=Math.abs(b-h);a=d.xAxis[0].translate(this.x)+a;var k=d.plotHeight,c={x:c?g?b:b-h:a,y:c?k-a-e:g?k-b-h:k-b,width:c?h:e,height:c?e:h};if(e=this.label)e.align(this.alignOptions,null,c),c=e.alignAttr,e[!1===this.options.crop||d.isInsidePlot(c.x,c.y)?\"show\":\"hide\"](!0)}};G.prototype.getStacks=function(){var a=this;k(a.yAxis,function(a){a.stacks&&a.hasVisibleSeries&&\n",
364
+ "(a.oldStacks=a.stacks)});k(a.series,function(e){!e.options.stacking||!0!==e.visible&&!1!==a.options.chart.ignoreHiddenSeries||(e.stackKey=e.type+u(e.options.stack,\"\"))})};A.prototype.buildStacks=function(){var a=this.series,e,g=u(this.options.reversedStacks,!0),d=a.length,c;if(!this.isXAxis){this.usePercentage=!1;for(c=d;c--;)a[g?c:d-c-1].setStackedPoints();for(c=d;c--;)e=a[g?c:d-c-1],e.setStackCliffs&&e.setStackCliffs();if(this.usePercentage)for(c=0;c<d;c++)a[c].setPercentStacks()}};A.prototype.renderStackTotals=\n",
365
+ "function(){var a=this.chart,e=a.renderer,g=this.stacks,d=this.stackTotalGroup;d||(this.stackTotalGroup=d=e.g(\"stack-labels\").attr({visibility:\"visible\",zIndex:6}).add());d.translate(a.plotLeft,a.plotTop);v(g,function(a){v(a,function(a){a.render(d)})})};A.prototype.resetStacks=function(){var a=this,e=a.stacks;a.isXAxis||v(e,function(e){v(e,function(d,c){d.touched<a.stacksTouched?(d.destroy(),delete e[c]):(d.total=null,d.cum=null)})})};A.prototype.cleanStacks=function(){var a;this.isXAxis||(this.oldStacks&&\n",
366
+ "(a=this.stacks=this.oldStacks),v(a,function(a){v(a,function(a){a.cum=a.total})}))};a.prototype.setStackedPoints=function(){if(this.options.stacking&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var a=this.processedXData,e=this.processedYData,g=[],d=e.length,c=this.options,k=c.threshold,b=c.startFromThreshold?k:0,q=c.stack,c=c.stacking,v=this.stackKey,H=\"-\"+v,l=this.negStacks,B=this.yAxis,r=B.stacks,z=B.oldStacks,M,p,E,I,A,f,t;B.stacksTouched+=1;for(A=0;A<d;A++)f=a[A],t=e[A],\n",
367
+ "M=this.getStackIndicator(M,f,this.index),I=M.key,E=(p=l&&t<(b?0:k))?H:v,r[E]||(r[E]={}),r[E][f]||(z[E]&&z[E][f]?(r[E][f]=z[E][f],r[E][f].total=null):r[E][f]=new C(B,B.options.stackLabels,p,f,q)),E=r[E][f],null!==t&&(E.points[I]=E.points[this.index]=[u(E.cum,b)],m(E.cum)||(E.base=I),E.touched=B.stacksTouched,0<M.index&&!1===this.singleStacks&&(E.points[I][0]=E.points[this.index+\",\"+f+\",0\"][0])),\"percent\"===c?(p=p?v:H,l&&r[p]&&r[p][f]?(p=r[p][f],E.total=p.total=Math.max(p.total,E.total)+Math.abs(t)||\n",
368
+ "0):E.total=F(E.total+(Math.abs(t)||0))):E.total=F(E.total+(t||0)),E.cum=u(E.cum,b)+(t||0),null!==t&&(E.points[I].push(E.cum),g[A]=E.cum);\"percent\"===c&&(B.usePercentage=!0);this.stackedYData=g;B.oldStacks={}}};a.prototype.setPercentStacks=function(){var a=this,e=a.stackKey,g=a.yAxis.stacks,d=a.processedXData,c;k([e,\"-\"+e],function(e){for(var b=d.length,h,k;b--;)if(h=d[b],c=a.getStackIndicator(c,h,a.index,e),h=(k=g[e]&&g[e][h])&&k.points[c.key])k=k.total?100/k.total:0,h[0]=F(h[0]*k),h[1]=F(h[1]*k),\n",
369
+ "a.stackedYData[b]=h[1]})};a.prototype.getStackIndicator=function(a,e,g,d){!m(a)||a.x!==e||d&&a.key!==d?a={x:e,index:0,key:d}:a.index++;a.key=[g,e,a.index].join();return a}})(K);(function(a){var C=a.addEvent,A=a.animate,G=a.Axis,F=a.createElement,m=a.css,g=a.defined,k=a.each,q=a.erase,v=a.extend,u=a.fireEvent,h=a.inArray,e=a.isNumber,n=a.isObject,d=a.isArray,c=a.merge,w=a.objectEach,b=a.pick,y=a.Point,D=a.Series,H=a.seriesTypes,l=a.setAnimation,B=a.splat;v(a.Chart.prototype,{addSeries:function(a,c,\n",
370
+ "d){var e,h=this;a&&(c=b(c,!0),u(h,\"addSeries\",{options:a},function(){e=h.initSeries(a);h.isDirtyLegend=!0;h.linkSeries();c&&h.redraw(d)}));return e},addAxis:function(a,d,e,h){var g=d?\"xAxis\":\"yAxis\",l=this.options;a=c(a,{index:this[g].length,isX:d});new G(this,a);l[g]=B(l[g]||{});l[g].push(a);b(e,!0)&&this.redraw(h)},showLoading:function(a){var b=this,c=b.options,d=b.loadingDiv,e=c.loading,h=function(){d&&m(d,{left:b.plotLeft+\"px\",top:b.plotTop+\"px\",width:b.plotWidth+\"px\",height:b.plotHeight+\"px\"})};\n",
371
+ "d||(b.loadingDiv=d=F(\"div\",{className:\"highcharts-loading highcharts-loading-hidden\"},null,b.container),b.loadingSpan=F(\"span\",{className:\"highcharts-loading-inner\"},null,d),C(b,\"redraw\",h));d.className=\"highcharts-loading\";b.loadingSpan.innerHTML=a||c.lang.loading;m(d,v(e.style,{zIndex:10}));m(b.loadingSpan,e.labelStyle);b.loadingShown||(m(d,{opacity:0,display:\"\"}),A(d,{opacity:e.style.opacity||.5},{duration:e.showDuration||0}));b.loadingShown=!0;h()},hideLoading:function(){var a=this.options,b=\n",
372
+ "this.loadingDiv;b&&(b.className=\"highcharts-loading highcharts-loading-hidden\",A(b,{opacity:0},{duration:a.loading.hideDuration||100,complete:function(){m(b,{display:\"none\"})}}));this.loadingShown=!1},propsRequireDirtyBox:\"backgroundColor borderColor borderWidth margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow\".split(\" \"),propsRequireUpdateSeries:\"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions tooltip\".split(\" \"),\n",
373
+ "update:function(a,d){var l=this,r={credits:\"addCredits\",title:\"setTitle\",subtitle:\"setSubtitle\"},n=a.chart,m,q;if(n){c(!0,l.options.chart,n);\"className\"in n&&l.setClassName(n.className);if(\"inverted\"in n||\"polar\"in n)l.propFromSeries(),m=!0;\"alignTicks\"in n&&(m=!0);w(n,function(a,b){-1!==h(\"chart.\"+b,l.propsRequireUpdateSeries)&&(q=!0);-1!==h(b,l.propsRequireDirtyBox)&&(l.isDirtyBox=!0)});\"style\"in n&&l.renderer.setStyle(n.style)}a.colors&&(this.options.colors=a.colors);a.plotOptions&&c(!0,this.options.plotOptions,\n",
374
+ "a.plotOptions);w(a,function(a,b){if(l[b]&&\"function\"===typeof l[b].update)l[b].update(a,!1);else if(\"function\"===typeof l[r[b]])l[r[b]](a);\"chart\"!==b&&-1!==h(b,l.propsRequireUpdateSeries)&&(q=!0)});k(\"xAxis yAxis zAxis series colorAxis pane\".split(\" \"),function(b){a[b]&&k(B(a[b]),function(a,c){(c=g(a.id)&&l.get(a.id)||l[b][c])&&c.coll===b&&c.update(a,!1)})});m&&k(l.axes,function(a){a.update({},!1)});q&&k(l.series,function(a){a.update({},!1)});a.loading&&c(!0,l.options.loading,a.loading);m=n&&n.width;\n",
375
+ "n=n&&n.height;e(m)&&m!==l.chartWidth||e(n)&&n!==l.chartHeight?l.setSize(m,n):b(d,!0)&&l.redraw()},setSubtitle:function(a){this.setTitle(void 0,a)}});v(y.prototype,{update:function(a,c,d,e){function h(){l.applyOptions(a);null===l.y&&f&&(l.graphic=f.destroy());n(a,!0)&&(f&&f.element&&a&&a.marker&&a.marker.symbol&&(l.graphic=f.destroy()),a&&a.dataLabels&&l.dataLabel&&(l.dataLabel=l.dataLabel.destroy()));r=l.index;g.updateParallelArrays(l,r);p.data[r]=n(p.data[r],!0)||n(a,!0)?l.options:a;g.isDirty=g.isDirtyData=\n",
376
+ "!0;!g.fixedBox&&g.hasCartesianSeries&&(k.isDirtyBox=!0);\"point\"===p.legendType&&(k.isDirtyLegend=!0);c&&k.redraw(d)}var l=this,g=l.series,f=l.graphic,r,k=g.chart,p=g.options;c=b(c,!0);!1===e?h():l.firePointEvent(\"update\",{options:a},h)},remove:function(a,b){this.series.removePoint(h(this,this.series.data),a,b)}});v(D.prototype,{addPoint:function(a,c,d,e){var h=this.options,l=this.data,g=this.chart,f=this.xAxis,f=f&&f.hasNames&&f.names,r=h.data,k,p,n=this.xData,m,q;c=b(c,!0);k={series:this};this.pointClass.prototype.applyOptions.apply(k,\n",
377
+ "[a]);q=k.x;m=n.length;if(this.requireSorting&&q<n[m-1])for(p=!0;m&&n[m-1]>q;)m--;this.updateParallelArrays(k,\"splice\",m,0,0);this.updateParallelArrays(k,m);f&&k.name&&(f[q]=k.name);r.splice(m,0,a);p&&(this.data.splice(m,0,null),this.processData());\"point\"===h.legendType&&this.generatePoints();d&&(l[0]&&l[0].remove?l[0].remove(!1):(l.shift(),this.updateParallelArrays(k,\"shift\"),r.shift()));this.isDirtyData=this.isDirty=!0;c&&g.redraw(e)},removePoint:function(a,c,d){var e=this,h=e.data,g=h[a],k=e.points,\n",
378
+ "f=e.chart,r=function(){k&&k.length===h.length&&k.splice(a,1);h.splice(a,1);e.options.data.splice(a,1);e.updateParallelArrays(g||{series:e},\"splice\",a,1);g&&g.destroy();e.isDirty=!0;e.isDirtyData=!0;c&&f.redraw()};l(d,f);c=b(c,!0);g?g.firePointEvent(\"remove\",null,r):r()},remove:function(a,c,d){function e(){h.destroy();l.isDirtyLegend=l.isDirtyBox=!0;l.linkSeries();b(a,!0)&&l.redraw(c)}var h=this,l=h.chart;!1!==d?u(h,\"remove\",null,e):e()},update:function(a,d){var e=this,h=e.chart,l=e.userOptions,g=\n",
379
+ "e.oldType||e.type,r=a.type||l.type||h.options.chart.type,f=H[g].prototype,n=[\"group\",\"markerGroup\",\"dataLabelsGroup\"],m;if(Object.keys&&\"data\"===Object.keys(a).toString())return this.setData(a.data,d);if(r&&r!==g||void 0!==a.zIndex)n.length=0;k(n,function(a){n[a]=e[a];delete e[a]});a=c(l,{animation:!1,index:e.index,pointStart:e.xData[0]},{data:e.options.data},a);e.remove(!1,null,!1);for(m in f)e[m]=void 0;v(e,H[r||g].prototype);k(n,function(a){e[a]=n[a]});e.init(h,a);e.oldType=g;h.linkSeries();b(d,\n",
380
+ "!0)&&h.redraw(!1)}});v(G.prototype,{update:function(a,d){var e=this.chart;a=e.options[this.coll][this.options.index]=c(this.userOptions,a);this.destroy(!0);this.init(e,v(a,{events:void 0}));e.isDirtyBox=!0;b(d,!0)&&e.redraw()},remove:function(a){for(var c=this.chart,e=this.coll,h=this.series,l=h.length;l--;)h[l]&&h[l].remove(!1);q(c.axes,this);q(c[e],this);d(c.options[e])?c.options[e].splice(this.options.index,1):delete c.options[e];k(c[e],function(a,b){a.options.index=b});this.destroy();c.isDirtyBox=\n",
381
+ "!0;b(a,!0)&&c.redraw()},setTitle:function(a,b){this.update({title:a},b)},setCategories:function(a,b){this.update({categories:a},b)}})})(K);(function(a){var C=a.color,A=a.each,G=a.map,F=a.pick,m=a.Series,g=a.seriesType;g(\"area\",\"line\",{softThreshold:!1,threshold:0},{singleStacks:!1,getStackPoints:function(){var g=[],m=[],v=this.xAxis,u=this.yAxis,h=u.stacks[this.stackKey],e={},n=this.points,d=this.index,c=u.series,w=c.length,b,y=F(u.options.reversedStacks,!0)?1:-1,D;if(this.options.stacking){for(D=\n",
382
+ "0;D<n.length;D++)e[n[D].x]=n[D];a.objectEach(h,function(a,b){null!==a.total&&m.push(b)});m.sort(function(a,b){return a-b});b=G(c,function(){return this.visible});A(m,function(a,c){var l=0,k,n;if(e[a]&&!e[a].isNull)g.push(e[a]),A([-1,1],function(l){var g=1===l?\"rightNull\":\"leftNull\",r=0,q=h[m[c+l]];if(q)for(D=d;0<=D&&D<w;)k=q.points[D],k||(D===d?e[a][g]=!0:b[D]&&(n=h[a].points[D])&&(r-=n[1]-n[0])),D+=y;e[a][1===l?\"rightCliff\":\"leftCliff\"]=r});else{for(D=d;0<=D&&D<w;){if(k=h[a].points[D]){l=k[1];break}D+=\n",
383
+ "y}l=u.translate(l,0,1,0,1);g.push({isNull:!0,plotX:v.translate(a,0,0,0,1),x:a,plotY:l,yBottom:l})}})}return g},getGraphPath:function(a){var g=m.prototype.getGraphPath,k=this.options,u=k.stacking,h=this.yAxis,e,n,d=[],c=[],w=this.index,b,y=h.stacks[this.stackKey],D=k.threshold,A=h.getThreshold(k.threshold),l,k=k.connectNulls||\"percent\"===u,B=function(e,l,g){var k=a[e];e=u&&y[k.x].points[w];var n=k[g+\"Null\"]||0;g=k[g+\"Cliff\"]||0;var r,m,k=!0;g||n?(r=(n?e[0]:e[1])+g,m=e[0]+g,k=!!n):!u&&a[l]&&a[l].isNull&&\n",
384
+ "(r=m=D);void 0!==r&&(c.push({plotX:b,plotY:null===r?A:h.getThreshold(r),isNull:k,isCliff:!0}),d.push({plotX:b,plotY:null===m?A:h.getThreshold(m),doCurve:!1}))};a=a||this.points;u&&(a=this.getStackPoints());for(e=0;e<a.length;e++)if(n=a[e].isNull,b=F(a[e].rectPlotX,a[e].plotX),l=F(a[e].yBottom,A),!n||k)k||B(e,e-1,\"left\"),n&&!u&&k||(c.push(a[e]),d.push({x:e,plotX:b,plotY:l})),k||B(e,e+1,\"right\");e=g.call(this,c,!0,!0);d.reversed=!0;n=g.call(this,d,!0,!0);n.length&&(n[0]=\"L\");n=e.concat(n);g=g.call(this,\n",
385
+ "c,!1,k);n.xMap=e.xMap;this.areaPath=n;return g},drawGraph:function(){this.areaPath=[];m.prototype.drawGraph.apply(this);var a=this,g=this.areaPath,v=this.options,u=[[\"area\",\"highcharts-area\",this.color,v.fillColor]];A(this.zones,function(h,e){u.push([\"zone-area-\"+e,\"highcharts-area highcharts-zone-area-\"+e+\" \"+h.className,h.color||a.color,h.fillColor||v.fillColor])});A(u,function(h){var e=h[0],k=a[e];k?(k.endX=g.xMap,k.animate({d:g})):(k=a[e]=a.chart.renderer.path(g).addClass(h[1]).attr({fill:F(h[3],\n",
386
+ "C(h[2]).setOpacity(F(v.fillOpacity,.75)).get()),zIndex:0}).add(a.group),k.isArea=!0);k.startX=g.xMap;k.shiftUnit=v.step?2:1})},drawLegendSymbol:a.LegendSymbolMixin.drawRectangle})})(K);(function(a){var C=a.pick;a=a.seriesType;a(\"spline\",\"line\",{},{getPointSpline:function(a,G,F){var m=G.plotX,g=G.plotY,k=a[F-1];F=a[F+1];var q,v,u,h;if(k&&!k.isNull&&!1!==k.doCurve&&!G.isCliff&&F&&!F.isNull&&!1!==F.doCurve&&!G.isCliff){a=k.plotY;u=F.plotX;F=F.plotY;var e=0;q=(1.5*m+k.plotX)/2.5;v=(1.5*g+a)/2.5;u=(1.5*\n",
387
+ "m+u)/2.5;h=(1.5*g+F)/2.5;u!==q&&(e=(h-v)*(u-m)/(u-q)+g-h);v+=e;h+=e;v>a&&v>g?(v=Math.max(a,g),h=2*g-v):v<a&&v<g&&(v=Math.min(a,g),h=2*g-v);h>F&&h>g?(h=Math.max(F,g),v=2*g-h):h<F&&h<g&&(h=Math.min(F,g),v=2*g-h);G.rightContX=u;G.rightContY=h}G=[\"C\",C(k.rightContX,k.plotX),C(k.rightContY,k.plotY),C(q,m),C(v,g),m,g];k.rightContX=k.rightContY=null;return G}})})(K);(function(a){var C=a.seriesTypes.area.prototype,A=a.seriesType;A(\"areaspline\",\"spline\",a.defaultPlotOptions.area,{getStackPoints:C.getStackPoints,\n",
388
+ "getGraphPath:C.getGraphPath,setStackCliffs:C.setStackCliffs,drawGraph:C.drawGraph,drawLegendSymbol:a.LegendSymbolMixin.drawRectangle})})(K);(function(a){var C=a.animObject,A=a.color,G=a.each,F=a.extend,m=a.isNumber,g=a.merge,k=a.pick,q=a.Series,v=a.seriesType,u=a.svg;v(\"column\",\"line\",{borderRadius:0,crisp:!0,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1,shadow:!1},select:{color:\"#cccccc\",borderColor:\"#000000\",shadow:!1}},\n",
389
+ "dataLabels:{align:null,verticalAlign:null,y:null},softThreshold:!1,startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:\"#ffffff\"},{cropShoulder:0,directTouch:!0,trackerGroups:[\"group\",\"dataLabelsGroup\"],negStacks:!0,init:function(){q.prototype.init.apply(this,arguments);var a=this,e=a.chart;e.hasRendered&&G(e.series,function(e){e.type===a.type&&(e.isDirty=!0)})},getColumnMetrics:function(){var a=this,e=a.options,g=a.xAxis,d=a.yAxis,c=g.reversed,m,b={},q=0;!1===e.grouping?\n",
390
+ "q=1:G(a.chart.series,function(c){var e=c.options,g=c.yAxis,h;c.type!==a.type||!c.visible&&a.chart.options.chart.ignoreHiddenSeries||d.len!==g.len||d.pos!==g.pos||(e.stacking?(m=c.stackKey,void 0===b[m]&&(b[m]=q++),h=b[m]):!1!==e.grouping&&(h=q++),c.columnIndex=h)});var u=Math.min(Math.abs(g.transA)*(g.ordinalSlope||e.pointRange||g.closestPointRange||g.tickInterval||1),g.len),v=u*e.groupPadding,l=(u-2*v)/(q||1),e=Math.min(e.maxPointWidth||g.len,k(e.pointWidth,l*(1-2*e.pointPadding)));a.columnMetrics=\n",
391
+ "{width:e,offset:(l-e)/2+(v+((a.columnIndex||0)+(c?1:0))*l-u/2)*(c?-1:1)};return a.columnMetrics},crispCol:function(a,e,g,d){var c=this.chart,h=this.borderWidth,b=-(h%2?.5:0),h=h%2?.5:1;c.inverted&&c.renderer.isVML&&(h+=1);this.options.crisp&&(g=Math.round(a+g)+b,a=Math.round(a)+b,g-=a);d=Math.round(e+d)+h;b=.5>=Math.abs(e)&&.5<d;e=Math.round(e)+h;d-=e;b&&d&&(--e,d+=1);return{x:a,y:e,width:g,height:d}},translate:function(){var a=this,e=a.chart,g=a.options,d=a.dense=2>a.closestPointRange*a.xAxis.transA,\n",
392
+ "d=a.borderWidth=k(g.borderWidth,d?0:1),c=a.yAxis,m=a.translatedThreshold=c.getThreshold(g.threshold),b=k(g.minPointLength,5),y=a.getColumnMetrics(),u=y.width,v=a.barW=Math.max(u,1+2*d),l=a.pointXOffset=y.offset;e.inverted&&(m-=.5);g.pointPadding&&(v=Math.ceil(v));q.prototype.translate.apply(a);G(a.points,function(d){var g=k(d.yBottom,m),h=999+Math.abs(g),h=Math.min(Math.max(-h,d.plotY),c.len+h),n=d.plotX+l,p=v,q=Math.min(h,g),w,y=Math.max(h,g)-q;Math.abs(y)<b&&b&&(y=b,w=!c.reversed&&!d.negative||\n",
393
+ "c.reversed&&d.negative,q=Math.abs(q-m)>b?g-b:m-(w?b:0));d.barX=n;d.pointWidth=u;d.tooltipPos=e.inverted?[c.len+c.pos-e.plotLeft-h,a.xAxis.len-n-p/2,y]:[n+p/2,h+c.pos-e.plotTop,y];d.shapeType=\"rect\";d.shapeArgs=a.crispCol.apply(a,d.isNull?[n,m,p,0]:[n,q,p,y])})},getSymbol:a.noop,drawLegendSymbol:a.LegendSymbolMixin.drawRectangle,drawGraph:function(){this.group[this.dense?\"addClass\":\"removeClass\"](\"highcharts-dense-data\")},pointAttribs:function(a,e){var h=this.options,d,c=this.pointAttrToOptions||{};\n",
394
+ "d=c.stroke||\"borderColor\";var k=c[\"stroke-width\"]||\"borderWidth\",b=a&&a.color||this.color,m=a[d]||h[d]||this.color||b,q=a[k]||h[k]||this[k]||0,c=h.dashStyle;a&&this.zones.length&&(b=a.getZone(),b=a.options.color||b&&b.color||this.color);e&&(a=g(h.states[e],a.options.states&&a.options.states[e]||{}),e=a.brightness,b=a.color||void 0!==e&&A(b).brighten(a.brightness).get()||b,m=a[d]||m,q=a[k]||q,c=a.dashStyle||c);d={fill:b,stroke:m,\"stroke-width\":q};h.borderRadius&&(d.r=h.borderRadius);c&&(d.dashstyle=\n",
395
+ "c);return d},drawPoints:function(){var a=this,e=this.chart,k=a.options,d=e.renderer,c=k.animationLimit||250,q;G(a.points,function(b){var h=b.graphic;if(m(b.plotY)&&null!==b.y){q=b.shapeArgs;if(h)h[e.pointCount<c?\"animate\":\"attr\"](g(q));else b.graphic=h=d[b.shapeType](q).add(b.group||a.group);h.attr(a.pointAttribs(b,b.selected&&\"select\")).shadow(k.shadow,null,k.stacking&&!k.borderRadius);h.addClass(b.getClassName(),!0)}else h&&(b.graphic=h.destroy())})},animate:function(a){var e=this,g=this.yAxis,\n",
396
+ "d=e.options,c=this.chart.inverted,h={};u&&(a?(h.scaleY=.001,a=Math.min(g.pos+g.len,Math.max(g.pos,g.toPixels(d.threshold))),c?h.translateX=a-g.len:h.translateY=a,e.group.attr(h)):(h[c?\"translateX\":\"translateY\"]=g.pos,e.group.animate(h,F(C(e.options.animation),{step:function(a,c){e.group.attr({scaleY:Math.max(.001,c.pos)})}})),e.animate=null))},remove:function(){var a=this,e=a.chart;e.hasRendered&&G(e.series,function(e){e.type===a.type&&(e.isDirty=!0)});q.prototype.remove.apply(a,arguments)}})})(K);\n",
397
+ "(function(a){a=a.seriesType;a(\"bar\",\"column\",null,{inverted:!0})})(K);(function(a){var C=a.Series;a=a.seriesType;a(\"scatter\",\"line\",{lineWidth:0,findNearestPointBy:\"xy\",marker:{enabled:!0},tooltip:{headerFormat:'\\x3cspan style\\x3d\"color:{point.color}\"\\x3e\\u25cf\\x3c/span\\x3e \\x3cspan style\\x3d\"font-size: 0.85em\"\\x3e {series.name}\\x3c/span\\x3e\\x3cbr/\\x3e',pointFormat:\"x: \\x3cb\\x3e{point.x}\\x3c/b\\x3e\\x3cbr/\\x3ey: \\x3cb\\x3e{point.y}\\x3c/b\\x3e\\x3cbr/\\x3e\"}},{sorted:!1,requireSorting:!1,noSharedTooltip:!0,\n",
398
+ "trackerGroups:[\"group\",\"markerGroup\",\"dataLabelsGroup\"],takeOrdinalPosition:!1,drawGraph:function(){this.options.lineWidth&&C.prototype.drawGraph.call(this)}})})(K);(function(a){var C=a.pick,A=a.relativeLength;a.CenteredSeriesMixin={getCenter:function(){var a=this.options,F=this.chart,m=2*(a.slicedOffset||0),g=F.plotWidth-2*m,F=F.plotHeight-2*m,k=a.center,k=[C(k[0],\"50%\"),C(k[1],\"50%\"),a.size||\"100%\",a.innerSize||0],q=Math.min(g,F),v,u;for(v=0;4>v;++v)u=k[v],a=2>v||2===v&&/%$/.test(u),k[v]=A(u,[g,\n",
399
+ "F,q,k[2]][v])+(a?m:0);k[3]>k[2]&&(k[3]=k[2]);return k}}})(K);(function(a){var C=a.addEvent,A=a.defined,G=a.each,F=a.extend,m=a.inArray,g=a.noop,k=a.pick,q=a.Point,v=a.Series,u=a.seriesType,h=a.setAnimation;u(\"pie\",\"line\",{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},x:0},ignoreHiddenPoint:!0,legendType:\"point\",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},\n",
400
+ "borderColor:\"#ffffff\",borderWidth:1,states:{hover:{brightness:.1,shadow:!1}}},{isCartesian:!1,requireSorting:!1,directTouch:!0,noSharedTooltip:!0,trackerGroups:[\"group\",\"dataLabelsGroup\"],axisTypes:[],pointAttribs:a.seriesTypes.column.prototype.pointAttribs,animate:function(a){var e=this,d=e.points,c=e.startAngleRad;a||(G(d,function(a){var b=a.graphic,d=a.shapeArgs;b&&(b.attr({r:a.startR||e.center[3]/2,start:c,end:c}),b.animate({r:d.r,start:d.start,end:d.end},e.options.animation))}),e.animate=null)},\n",
401
+ "updateTotals:function(){var a,g=0,d=this.points,c=d.length,h,b=this.options.ignoreHiddenPoint;for(a=0;a<c;a++)h=d[a],g+=b&&!h.visible?0:h.isNull?0:h.y;this.total=g;for(a=0;a<c;a++)h=d[a],h.percentage=0<g&&(h.visible||!b)?h.y/g*100:0,h.total=g},generatePoints:function(){v.prototype.generatePoints.call(this);this.updateTotals()},translate:function(a){this.generatePoints();var e=0,d=this.options,c=d.slicedOffset,g=c+(d.borderWidth||0),b,h,m,q=d.startAngle||0,l=this.startAngleRad=Math.PI/180*(q-90),q=\n",
402
+ "(this.endAngleRad=Math.PI/180*(k(d.endAngle,q+360)-90))-l,u=this.points,r,z=d.dataLabels.distance,d=d.ignoreHiddenPoint,v,p=u.length,E;a||(this.center=a=this.getCenter());this.getX=function(b,c,d){m=Math.asin(Math.min((b-a[1])/(a[2]/2+d.labelDistance),1));return a[0]+(c?-1:1)*Math.cos(m)*(a[2]/2+d.labelDistance)};for(v=0;v<p;v++){E=u[v];E.labelDistance=k(E.options.dataLabels&&E.options.dataLabels.distance,z);this.maxLabelDistance=Math.max(this.maxLabelDistance||0,E.labelDistance);b=l+e*q;if(!d||E.visible)e+=\n",
403
+ "E.percentage/100;h=l+e*q;E.shapeType=\"arc\";E.shapeArgs={x:a[0],y:a[1],r:a[2]/2,innerR:a[3]/2,start:Math.round(1E3*b)/1E3,end:Math.round(1E3*h)/1E3};m=(h+b)/2;m>1.5*Math.PI?m-=2*Math.PI:m<-Math.PI/2&&(m+=2*Math.PI);E.slicedTranslation={translateX:Math.round(Math.cos(m)*c),translateY:Math.round(Math.sin(m)*c)};h=Math.cos(m)*a[2]/2;r=Math.sin(m)*a[2]/2;E.tooltipPos=[a[0]+.7*h,a[1]+.7*r];E.half=m<-Math.PI/2||m>Math.PI/2?1:0;E.angle=m;b=Math.min(g,E.labelDistance/5);E.labelPos=[a[0]+h+Math.cos(m)*E.labelDistance,\n",
404
+ "a[1]+r+Math.sin(m)*E.labelDistance,a[0]+h+Math.cos(m)*b,a[1]+r+Math.sin(m)*b,a[0]+h,a[1]+r,0>E.labelDistance?\"center\":E.half?\"right\":\"left\",m]}},drawGraph:null,drawPoints:function(){var a=this,g=a.chart.renderer,d,c,h,b,k=a.options.shadow;k&&!a.shadowGroup&&(a.shadowGroup=g.g(\"shadow\").add(a.group));G(a.points,function(e){if(!e.isNull){c=e.graphic;b=e.shapeArgs;d=e.getTranslate();var m=e.shadowGroup;k&&!m&&(m=e.shadowGroup=g.g(\"shadow\").add(a.shadowGroup));m&&m.attr(d);h=a.pointAttribs(e,e.selected&&\n",
405
+ "\"select\");c?c.setRadialReference(a.center).attr(h).animate(F(b,d)):(e.graphic=c=g[e.shapeType](b).setRadialReference(a.center).attr(d).add(a.group),e.visible||c.attr({visibility:\"hidden\"}),c.attr(h).attr({\"stroke-linejoin\":\"round\"}).shadow(k,m));c.addClass(e.getClassName())}})},searchPoint:g,sortByAngle:function(a,g){a.sort(function(a,c){return void 0!==a.angle&&(c.angle-a.angle)*g})},drawLegendSymbol:a.LegendSymbolMixin.drawRectangle,getCenter:a.CenteredSeriesMixin.getCenter,getSymbol:g},{init:function(){q.prototype.init.apply(this,\n",
406
+ "arguments);var a=this,g;a.name=k(a.name,\"Slice\");g=function(d){a.slice(\"select\"===d.type)};C(a,\"select\",g);C(a,\"unselect\",g);return a},isValid:function(){return a.isNumber(this.y,!0)&&0<=this.y},setVisible:function(a,g){var d=this,c=d.series,e=c.chart,b=c.options.ignoreHiddenPoint;g=k(g,b);a!==d.visible&&(d.visible=d.options.visible=a=void 0===a?!d.visible:a,c.options.data[m(d,c.data)]=d.options,G([\"graphic\",\"dataLabel\",\"connector\",\"shadowGroup\"],function(b){if(d[b])d[b][a?\"show\":\"hide\"](!0)}),d.legendItem&&\n",
407
+ "e.legend.colorizeItem(d,a),a||\"hover\"!==d.state||d.setState(\"\"),b&&(c.isDirty=!0),g&&e.redraw())},slice:function(a,g,d){var c=this.series;h(d,c.chart);k(g,!0);this.sliced=this.options.sliced=A(a)?a:!this.sliced;c.options.data[m(this,c.data)]=this.options;this.graphic.animate(this.getTranslate());this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},getTranslate:function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},haloPath:function(a){var e=this.shapeArgs;return this.sliced||\n",
408
+ "!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+a,e.r+a,{innerR:this.shapeArgs.r,start:e.start,end:e.end})}})})(K);(function(a){var C=a.addEvent,A=a.arrayMax,G=a.defined,F=a.each,m=a.extend,g=a.format,k=a.map,q=a.merge,v=a.noop,u=a.pick,h=a.relativeLength,e=a.Series,n=a.seriesTypes,d=a.stableSort;a.distribute=function(a,e){function b(a,b){return a.target-b.target}var c,g=!0,h=a,l=[],m;m=0;for(c=a.length;c--;)m+=a[c].size;if(m>e){d(a,function(a,b){return(b.rank||0)-(a.rank||0)});\n",
409
+ "for(m=c=0;m<=e;)m+=a[c].size,c++;l=a.splice(c-1,a.length)}d(a,b);for(a=k(a,function(a){return{size:a.size,targets:[a.target]}});g;){for(c=a.length;c--;)g=a[c],m=(Math.min.apply(0,g.targets)+Math.max.apply(0,g.targets))/2,g.pos=Math.min(Math.max(0,m-g.size/2),e-g.size);c=a.length;for(g=!1;c--;)0<c&&a[c-1].pos+a[c-1].size>a[c].pos&&(a[c-1].size+=a[c].size,a[c-1].targets=a[c-1].targets.concat(a[c].targets),a[c-1].pos+a[c-1].size>e&&(a[c-1].pos=e-a[c-1].size),a.splice(c,1),g=!0)}c=0;F(a,function(a){var b=\n",
410
+ "0;F(a.targets,function(){h[c].pos=a.pos+b;b+=h[c].size;c++})});h.push.apply(h,l);d(h,b)};e.prototype.drawDataLabels=function(){var c=this,d=c.options,b=d.dataLabels,e=c.points,h,k,l=c.hasRendered||0,m,r,n=u(b.defer,!!d.animation),v=c.chart.renderer;if(b.enabled||c._hasPointLabels)c.dlProcessOptions&&c.dlProcessOptions(b),r=c.plotGroup(\"dataLabelsGroup\",\"data-labels\",n&&!l?\"hidden\":\"visible\",b.zIndex||6),n&&(r.attr({opacity:+l}),l||C(c,\"afterAnimate\",function(){c.visible&&r.show(!0);r[d.animation?\n",
411
+ "\"animate\":\"attr\"]({opacity:1},{duration:200})})),k=b,F(e,function(e){var l,p=e.dataLabel,n,f,t=e.connector,w=!p,z;h=e.dlOptions||e.options&&e.options.dataLabels;if(l=u(h&&h.enabled,k.enabled)&&null!==e.y)b=q(k,h),n=e.getLabelConfig(),m=b.format?g(b.format,n):b.formatter.call(n,b),z=b.style,n=b.rotation,z.color=u(b.color,z.color,c.color,\"#000000\"),\"contrast\"===z.color&&(e.contrastColor=v.getContrast(e.color||c.color),z.color=b.inside||0>u(e.labelDistance,b.distance)||d.stacking?e.contrastColor:\"#000000\"),\n",
412
+ "d.cursor&&(z.cursor=d.cursor),f={fill:b.backgroundColor,stroke:b.borderColor,\"stroke-width\":b.borderWidth,r:b.borderRadius||0,rotation:n,padding:b.padding,zIndex:1},a.objectEach(f,function(a,b){void 0===a&&delete f[b]});!p||l&&G(m)?l&&G(m)&&(p?f.text=m:(p=e.dataLabel=v[n?\"text\":\"label\"](m,0,-9999,b.shape,null,null,b.useHTML,null,\"data-label\"),p.addClass(\"highcharts-data-label-color-\"+e.colorIndex+\" \"+(b.className||\"\")+(b.useHTML?\"highcharts-tracker\":\"\"))),p.attr(f),p.css(z).shadow(b.shadow),p.added||\n",
413
+ "p.add(r),c.alignDataLabel(e,p,b,null,w)):(e.dataLabel=p=p.destroy(),t&&(e.connector=t.destroy()))})};e.prototype.alignDataLabel=function(a,d,b,e,g){var c=this.chart,h=c.inverted,k=u(a.plotX,-9999),r=u(a.plotY,-9999),n=d.getBBox(),q,p=b.rotation,w=b.align,v=this.visible&&(a.series.forceDL||c.isInsidePlot(k,Math.round(r),h)||e&&c.isInsidePlot(k,h?e.x+1:e.y+e.height-1,h)),y=\"justify\"===u(b.overflow,\"justify\");if(v&&(q=b.style.fontSize,q=c.renderer.fontMetrics(q,d).b,e=m({x:h?c.plotWidth-r:k,y:Math.round(h?\n",
414
+ "c.plotHeight-k:r),width:0,height:0},e),m(b,{width:n.width,height:n.height}),p?(y=!1,k=c.renderer.rotCorr(q,p),k={x:e.x+b.x+e.width/2+k.x,y:e.y+b.y+{top:0,middle:.5,bottom:1}[b.verticalAlign]*e.height},d[g?\"attr\":\"animate\"](k).attr({align:w}),r=(p+720)%360,r=180<r&&360>r,\"left\"===w?k.y-=r?n.height:0:\"center\"===w?(k.x-=n.width/2,k.y-=n.height/2):\"right\"===w&&(k.x-=n.width,k.y-=r?0:n.height)):(d.align(b,null,e),k=d.alignAttr),y?a.isLabelJustified=this.justifyDataLabel(d,b,k,n,e,g):u(b.crop,!0)&&(v=c.isInsidePlot(k.x,\n",
415
+ "k.y)&&c.isInsidePlot(k.x+n.width,k.y+n.height)),b.shape&&!p))d[g?\"attr\":\"animate\"]({anchorX:h?c.plotWidth-a.plotY:a.plotX,anchorY:h?c.plotHeight-a.plotX:a.plotY});v||(d.attr({y:-9999}),d.placed=!1)};e.prototype.justifyDataLabel=function(a,d,b,e,g,h){var c=this.chart,k=d.align,m=d.verticalAlign,n,q,p=a.box?0:a.padding||0;n=b.x+p;0>n&&(\"right\"===k?d.align=\"left\":d.x=-n,q=!0);n=b.x+e.width-p;n>c.plotWidth&&(\"left\"===k?d.align=\"right\":d.x=c.plotWidth-n,q=!0);n=b.y+p;0>n&&(\"bottom\"===m?d.verticalAlign=\n",
416
+ "\"top\":d.y=-n,q=!0);n=b.y+e.height-p;n>c.plotHeight&&(\"top\"===m?d.verticalAlign=\"bottom\":d.y=c.plotHeight-n,q=!0);q&&(a.placed=!h,a.align(d,null,g));return q};n.pie&&(n.pie.prototype.drawDataLabels=function(){var c=this,d=c.data,b,g=c.chart,h=c.options.dataLabels,k=u(h.connectorPadding,10),l=u(h.connectorWidth,1),m=g.plotWidth,r=g.plotHeight,n,q=c.center,p=q[2]/2,v=q[1],C,L,f,t,K=[[],[]],J,N,O,P,x=[0,0,0,0];c.visible&&(h.enabled||c._hasPointLabels)&&(F(d,function(a){a.dataLabel&&a.visible&&a.dataLabel.shortened&&\n",
417
+ "(a.dataLabel.attr({width:\"auto\"}).css({width:\"auto\",textOverflow:\"clip\"}),a.dataLabel.shortened=!1)}),e.prototype.drawDataLabels.apply(c),F(d,function(a){a.dataLabel&&a.visible&&(K[a.half].push(a),a.dataLabel._pos=null)}),F(K,function(d,e){var l,n,u=d.length,w=[],z;if(u)for(c.sortByAngle(d,e-.5),0<c.maxLabelDistance&&(l=Math.max(0,v-p-c.maxLabelDistance),n=Math.min(v+p+c.maxLabelDistance,g.plotHeight),F(d,function(a){0<a.labelDistance&&a.dataLabel&&(a.top=Math.max(0,v-p-a.labelDistance),a.bottom=\n",
418
+ "Math.min(v+p+a.labelDistance,g.plotHeight),z=a.dataLabel.getBBox().height||21,a.positionsIndex=w.push({target:a.labelPos[1]-a.top+z/2,size:z,rank:a.y})-1)}),a.distribute(w,n+z-l)),P=0;P<u;P++)b=d[P],n=b.positionsIndex,f=b.labelPos,C=b.dataLabel,O=!1===b.visible?\"hidden\":\"inherit\",l=f[1],w&&G(w[n])?void 0===w[n].pos?O=\"hidden\":(t=w[n].size,N=b.top+w[n].pos):N=l,delete b.positionIndex,J=h.justify?q[0]+(e?-1:1)*(p+b.labelDistance):c.getX(N<b.top+2||N>b.bottom-2?l:N,e,b),C._attr={visibility:O,align:f[6]},\n",
419
+ "C._pos={x:J+h.x+({left:k,right:-k}[f[6]]||0),y:N+h.y-10},f.x=J,f.y=N,L=C.getBBox().width,l=null,J-L<k?(l=Math.round(L-J+k),x[3]=Math.max(l,x[3])):J+L>m-k&&(l=Math.round(J+L-m+k),x[1]=Math.max(l,x[1])),0>N-t/2?x[0]=Math.max(Math.round(-N+t/2),x[0]):N+t/2>r&&(x[2]=Math.max(Math.round(N+t/2-r),x[2])),C.sideOverflow=l}),0===A(x)||this.verifyDataLabelOverflow(x))&&(this.placeDataLabels(),l&&F(this.points,function(a){var b;n=a.connector;if((C=a.dataLabel)&&C._pos&&a.visible&&0<a.labelDistance){O=C._attr.visibility;\n",
420
+ "if(b=!n)a.connector=n=g.renderer.path().addClass(\"highcharts-data-label-connector highcharts-color-\"+a.colorIndex).add(c.dataLabelsGroup),n.attr({\"stroke-width\":l,stroke:h.connectorColor||a.color||\"#666666\"});n[b?\"attr\":\"animate\"]({d:c.connectorPath(a.labelPos)});n.attr(\"visibility\",O)}else n&&(a.connector=n.destroy())}))},n.pie.prototype.connectorPath=function(a){var c=a.x,b=a.y;return u(this.options.dataLabels.softConnector,!0)?[\"M\",c+(\"left\"===a[6]?5:-5),b,\"C\",c,b,2*a[2]-a[4],2*a[3]-a[5],a[2],\n",
421
+ "a[3],\"L\",a[4],a[5]]:[\"M\",c+(\"left\"===a[6]?5:-5),b,\"L\",a[2],a[3],\"L\",a[4],a[5]]},n.pie.prototype.placeDataLabels=function(){F(this.points,function(a){var c=a.dataLabel;c&&a.visible&&((a=c._pos)?(c.sideOverflow&&(c._attr.width=c.getBBox().width-c.sideOverflow,c.css({width:c._attr.width+\"px\",textOverflow:\"ellipsis\"}),c.shortened=!0),c.attr(c._attr),c[c.moved?\"animate\":\"attr\"](a),c.moved=!0):c&&c.attr({y:-9999}))},this)},n.pie.prototype.alignDataLabel=v,n.pie.prototype.verifyDataLabelOverflow=function(a){var c=\n",
422
+ "this.center,b=this.options,d=b.center,e=b.minSize||80,g,l=null!==b.size;l||(null!==d[0]?g=Math.max(c[2]-Math.max(a[1],a[3]),e):(g=Math.max(c[2]-a[1]-a[3],e),c[0]+=(a[3]-a[1])/2),null!==d[1]?g=Math.max(Math.min(g,c[2]-Math.max(a[0],a[2])),e):(g=Math.max(Math.min(g,c[2]-a[0]-a[2]),e),c[1]+=(a[0]-a[2])/2),g<c[2]?(c[2]=g,c[3]=Math.min(h(b.innerSize||0,g),g),this.translate(c),this.drawDataLabels&&this.drawDataLabels()):l=!0);return l});n.column&&(n.column.prototype.alignDataLabel=function(a,d,b,g,h){var c=\n",
423
+ "this.chart.inverted,l=a.series,k=a.dlBox||a.shapeArgs,m=u(a.below,a.plotY>u(this.translatedThreshold,l.yAxis.len)),n=u(b.inside,!!this.options.stacking);k&&(g=q(k),0>g.y&&(g.height+=g.y,g.y=0),k=g.y+g.height-l.yAxis.len,0<k&&(g.height-=k),c&&(g={x:l.yAxis.len-g.y-g.height,y:l.xAxis.len-g.x-g.width,width:g.height,height:g.width}),n||(c?(g.x+=m?0:g.width,g.width=0):(g.y+=m?g.height:0,g.height=0)));b.align=u(b.align,!c||n?\"center\":m?\"right\":\"left\");b.verticalAlign=u(b.verticalAlign,c||n?\"middle\":m?\"top\":\n",
424
+ "\"bottom\");e.prototype.alignDataLabel.call(this,a,d,b,g,h);a.isLabelJustified&&a.contrastColor&&a.dataLabel.css({color:a.contrastColor})})})(K);(function(a){var C=a.Chart,A=a.each,G=a.pick,F=a.addEvent;C.prototype.callbacks.push(function(a){function g(){var g=[];A(a.series||[],function(a){var k=a.options.dataLabels,m=a.dataLabelCollections||[\"dataLabel\"];(k.enabled||a._hasPointLabels)&&!k.allowOverlap&&a.visible&&A(m,function(h){A(a.points,function(a){a[h]&&(a[h].labelrank=G(a.labelrank,a.shapeArgs&&\n",
425
+ "a.shapeArgs.height),g.push(a[h]))})})});a.hideOverlappingLabels(g)}g();F(a,\"redraw\",g)});C.prototype.hideOverlappingLabels=function(a){var g=a.length,k,m,v,u,h,e,n,d,c,w=function(a,c,d,e,g,h,k,m){return!(g>a+d||g+k<a||h>c+e||h+m<c)};for(m=0;m<g;m++)if(k=a[m])k.oldOpacity=k.opacity,k.newOpacity=1;a.sort(function(a,c){return(c.labelrank||0)-(a.labelrank||0)});for(m=0;m<g;m++)for(v=a[m],k=m+1;k<g;++k)if(u=a[k],v&&u&&v!==u&&v.placed&&u.placed&&0!==v.newOpacity&&0!==u.newOpacity&&(h=v.alignAttr,e=u.alignAttr,\n",
426
+ "n=v.parentGroup,d=u.parentGroup,c=2*(v.box?0:v.padding),h=w(h.x+n.translateX,h.y+n.translateY,v.width-c,v.height-c,e.x+d.translateX,e.y+d.translateY,u.width-c,u.height-c)))(v.labelrank<u.labelrank?v:u).newOpacity=0;A(a,function(a){var b,c;a&&(c=a.newOpacity,a.oldOpacity!==c&&a.placed&&(c?a.show(!0):b=function(){a.hide()},a.alignAttr.opacity=c,a[a.isOld?\"animate\":\"attr\"](a.alignAttr,null,b)),a.isOld=!0)})}})(K);(function(a){var C=a.addEvent,A=a.Chart,G=a.createElement,F=a.css,m=a.defaultOptions,g=\n",
427
+ "a.defaultPlotOptions,k=a.each,q=a.extend,v=a.fireEvent,u=a.hasTouch,h=a.inArray,e=a.isObject,n=a.Legend,d=a.merge,c=a.pick,w=a.Point,b=a.Series,y=a.seriesTypes,D=a.svg,H;H=a.TrackerMixin={drawTrackerPoint:function(){var a=this,b=a.chart.pointer,c=function(a){var c=b.getPointFromEvent(a);void 0!==c&&(b.isDirectTouch=!0,c.onMouseOver(a))};k(a.points,function(a){a.graphic&&(a.graphic.element.point=a);a.dataLabel&&(a.dataLabel.div?a.dataLabel.div.point=a:a.dataLabel.element.point=a)});a._hasTracking||\n",
428
+ "(k(a.trackerGroups,function(d){if(a[d]){a[d].addClass(\"highcharts-tracker\").on(\"mouseover\",c).on(\"mouseout\",function(a){b.onTrackerMouseOut(a)});if(u)a[d].on(\"touchstart\",c);a.options.cursor&&a[d].css(F).css({cursor:a.options.cursor})}}),a._hasTracking=!0)},drawTrackerGraph:function(){var a=this,b=a.options,c=b.trackByArea,d=[].concat(c?a.areaPath:a.graphPath),e=d.length,g=a.chart,h=g.pointer,m=g.renderer,n=g.options.tooltip.snap,f=a.tracker,q,v=function(){if(g.hoverSeries!==a)a.onMouseOver()},w=\n",
429
+ "\"rgba(192,192,192,\"+(D?.0001:.002)+\")\";if(e&&!c)for(q=e+1;q--;)\"M\"===d[q]&&d.splice(q+1,0,d[q+1]-n,d[q+2],\"L\"),(q&&\"M\"===d[q]||q===e)&&d.splice(q,0,\"L\",d[q-2]+n,d[q-1]);f?f.attr({d:d}):a.graph&&(a.tracker=m.path(d).attr({\"stroke-linejoin\":\"round\",visibility:a.visible?\"visible\":\"hidden\",stroke:w,fill:c?w:\"none\",\"stroke-width\":a.graph.strokeWidth()+(c?0:2*n),zIndex:2}).add(a.group),k([a.tracker,a.markerGroup],function(a){a.addClass(\"highcharts-tracker\").on(\"mouseover\",v).on(\"mouseout\",function(a){h.onTrackerMouseOut(a)});\n",
430
+ "b.cursor&&a.css({cursor:b.cursor});if(u)a.on(\"touchstart\",v)}))}};y.column&&(y.column.prototype.drawTracker=H.drawTrackerPoint);y.pie&&(y.pie.prototype.drawTracker=H.drawTrackerPoint);y.scatter&&(y.scatter.prototype.drawTracker=H.drawTrackerPoint);q(n.prototype,{setItemEvents:function(a,b,c){var e=this,g=e.chart.renderer.boxWrapper,h=\"highcharts-legend-\"+(a.series?\"point\":\"series\")+\"-active\";(c?b:a.legendGroup).on(\"mouseover\",function(){a.setState(\"hover\");g.addClass(h);b.css(e.options.itemHoverStyle)}).on(\"mouseout\",\n",
431
+ "function(){b.css(d(a.visible?e.itemStyle:e.itemHiddenStyle));g.removeClass(h);a.setState()}).on(\"click\",function(b){var c=function(){a.setVisible&&a.setVisible()};b={browserEvent:b};a.firePointEvent?a.firePointEvent(\"legendItemClick\",b,c):v(a,\"legendItemClick\",b,c)})},createCheckboxForItem:function(a){a.checkbox=G(\"input\",{type:\"checkbox\",checked:a.selected,defaultChecked:a.selected},this.options.itemCheckboxStyle,this.chart.container);C(a.checkbox,\"click\",function(b){v(a.series||a,\"checkboxClick\",\n",
432
+ "{checked:b.target.checked,item:a},function(){a.select()})})}});m.legend.itemStyle.cursor=\"pointer\";q(A.prototype,{showResetZoom:function(){var a=this,b=m.lang,c=a.options.chart.resetZoomButton,d=c.theme,e=d.states,g=\"chart\"===c.relativeTo?null:\"plotBox\";this.resetZoomButton=a.renderer.button(b.resetZoom,null,null,function(){a.zoomOut()},d,e&&e.hover).attr({align:c.position.align,title:b.resetZoomTitle}).addClass(\"highcharts-reset-zoom\").add().align(c.position,!1,g)},zoomOut:function(){var a=this;\n",
433
+ "v(a,\"selection\",{resetSelection:!0},function(){a.zoom()})},zoom:function(a){var b,d=this.pointer,g=!1,h;!a||a.resetSelection?k(this.axes,function(a){b=a.zoom()}):k(a.xAxis.concat(a.yAxis),function(a){var c=a.axis;d[c.isXAxis?\"zoomX\":\"zoomY\"]&&(b=c.zoom(a.min,a.max),c.displayBtn&&(g=!0))});h=this.resetZoomButton;g&&!h?this.showResetZoom():!g&&e(h)&&(this.resetZoomButton=h.destroy());b&&this.redraw(c(this.options.chart.animation,a&&a.animation,100>this.pointCount))},pan:function(a,b){var c=this,d=c.hoverPoints,\n",
434
+ "e;d&&k(d,function(a){a.setState()});k(\"xy\"===b?[1,0]:[1],function(b){b=c[b?\"xAxis\":\"yAxis\"][0];var d=b.horiz,g=a[d?\"chartX\":\"chartY\"],d=d?\"mouseDownX\":\"mouseDownY\",h=c[d],f=(b.pointRange||0)/2,l=b.getExtremes(),k=b.toValue(h-g,!0)+f,f=b.toValue(h+b.len-g,!0)-f,m=f<k,h=m?f:k,k=m?k:f,f=Math.min(l.dataMin,b.toValue(b.toPixels(l.min)-b.minPixelPadding)),m=Math.max(l.dataMax,b.toValue(b.toPixels(l.max)+b.minPixelPadding)),n;n=f-h;0<n&&(k+=n,h=f);n=k-m;0<n&&(k=m,h-=n);b.series.length&&h!==l.min&&k!==l.max&&\n",
435
+ "(b.setExtremes(h,k,!1,!1,{trigger:\"pan\"}),e=!0);c[d]=g});e&&c.redraw(!1);F(c.container,{cursor:\"move\"})}});q(w.prototype,{select:function(a,b){var d=this,e=d.series,g=e.chart;a=c(a,!d.selected);d.firePointEvent(a?\"select\":\"unselect\",{accumulate:b},function(){d.selected=d.options.selected=a;e.options.data[h(d,e.data)]=d.options;d.setState(a&&\"select\");b||k(g.getSelectedPoints(),function(a){a.selected&&a!==d&&(a.selected=a.options.selected=!1,e.options.data[h(a,e.data)]=a.options,a.setState(\"\"),a.firePointEvent(\"unselect\"))})})},\n",
436
+ "onMouseOver:function(a){var b=this.series.chart,c=b.pointer;a=a?c.normalize(a):c.getChartCoordinatesFromPoint(this,b.inverted);c.runPointActions(a,this)},onMouseOut:function(){var a=this.series.chart;this.firePointEvent(\"mouseOut\");k(a.hoverPoints||[],function(a){a.setState()});a.hoverPoints=a.hoverPoint=null},importEvents:function(){if(!this.hasImportedEvents){var b=this,c=d(b.series.options.point,b.options).events;b.events=c;a.objectEach(c,function(a,c){C(b,c,a)});this.hasImportedEvents=!0}},setState:function(a,\n",
437
+ "b){var d=Math.floor(this.plotX),e=this.plotY,h=this.series,l=h.options.states[a]||{},k=g[h.type].marker&&h.options.marker,m=k&&!1===k.enabled,n=k&&k.states&&k.states[a]||{},f=!1===n.enabled,t=h.stateMarkerGraphic,u=this.marker||{},v=h.chart,w=h.halo,y,B=k&&h.markerAttribs;a=a||\"\";if(!(a===this.state&&!b||this.selected&&\"select\"!==a||!1===l.enabled||a&&(f||m&&!1===n.enabled)||a&&u.states&&u.states[a]&&!1===u.states[a].enabled)){B&&(y=h.markerAttribs(this,a));if(this.graphic)this.state&&this.graphic.removeClass(\"highcharts-point-\"+\n",
438
+ "this.state),a&&this.graphic.addClass(\"highcharts-point-\"+a),this.graphic.attr(h.pointAttribs(this,a)),y&&this.graphic.animate(y,c(v.options.chart.animation,n.animation,k.animation)),t&&t.hide();else{if(a&&n){k=u.symbol||h.symbol;t&&t.currentSymbol!==k&&(t=t.destroy());if(t)t[b?\"animate\":\"attr\"]({x:y.x,y:y.y});else k&&(h.stateMarkerGraphic=t=v.renderer.symbol(k,y.x,y.y,y.width,y.height).add(h.markerGroup),t.currentSymbol=k);t&&t.attr(h.pointAttribs(this,a))}t&&(t[a&&v.isInsidePlot(d,e,v.inverted)?\n",
439
+ "\"show\":\"hide\"](),t.element.point=this)}(d=l.halo)&&d.size?(w||(h.halo=w=v.renderer.path().add((this.graphic||t).parentGroup)),w[b?\"animate\":\"attr\"]({d:this.haloPath(d.size)}),w.attr({\"class\":\"highcharts-halo highcharts-color-\"+c(this.colorIndex,h.colorIndex)}),w.point=this,w.attr(q({fill:this.color||h.color,\"fill-opacity\":d.opacity,zIndex:-1},d.attributes))):w&&w.point&&w.point.haloPath&&w.animate({d:w.point.haloPath(0)});this.state=a}},haloPath:function(a){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-\n",
440
+ "a,this.plotY-a,2*a,2*a)}});q(b.prototype,{onMouseOver:function(){var a=this.chart,b=a.hoverSeries;if(b&&b!==this)b.onMouseOut();this.options.events.mouseOver&&v(this,\"mouseOver\");this.setState(\"hover\");a.hoverSeries=this},onMouseOut:function(){var a=this.options,b=this.chart,c=b.tooltip,d=b.hoverPoint;b.hoverSeries=null;if(d)d.onMouseOut();this&&a.events.mouseOut&&v(this,\"mouseOut\");!c||this.stickyTracking||c.shared&&!this.noSharedTooltip||c.hide();this.setState()},setState:function(a){var b=this,\n",
441
+ "d=b.options,e=b.graph,g=d.states,h=d.lineWidth,d=0;a=a||\"\";if(b.state!==a&&(k([b.group,b.markerGroup,b.dataLabelsGroup],function(c){c&&(b.state&&c.removeClass(\"highcharts-series-\"+b.state),a&&c.addClass(\"highcharts-series-\"+a))}),b.state=a,!g[a]||!1!==g[a].enabled)&&(a&&(h=g[a].lineWidth||h+(g[a].lineWidthPlus||0)),e&&!e.dashstyle))for(h={\"stroke-width\":h},e.animate(h,c(b.chart.options.chart.animation,g[a]&&g[a].animation));b[\"zone-graph-\"+d];)b[\"zone-graph-\"+d].attr(h),d+=1},setVisible:function(a,\n",
442
+ "b){var c=this,d=c.chart,e=c.legendItem,g,h=d.options.chart.ignoreHiddenSeries,l=c.visible;g=(c.visible=a=c.options.visible=c.userOptions.visible=void 0===a?!l:a)?\"show\":\"hide\";k([\"group\",\"dataLabelsGroup\",\"markerGroup\",\"tracker\",\"tt\"],function(a){if(c[a])c[a][g]()});if(d.hoverSeries===c||(d.hoverPoint&&d.hoverPoint.series)===c)c.onMouseOut();e&&d.legend.colorizeItem(c,a);c.isDirty=!0;c.options.stacking&&k(d.series,function(a){a.options.stacking&&a.visible&&(a.isDirty=!0)});k(c.linkedSeries,function(b){b.setVisible(a,\n",
443
+ "!1)});h&&(d.isDirtyBox=!0);!1!==b&&d.redraw();v(c,g)},show:function(){this.setVisible(!0)},hide:function(){this.setVisible(!1)},select:function(a){this.selected=a=void 0===a?!this.selected:a;this.checkbox&&(this.checkbox.checked=a);v(this,a?\"select\":\"unselect\")},drawTracker:H.drawTrackerGraph})})(K);(function(a){var C=a.Chart,A=a.each,G=a.inArray,F=a.isArray,m=a.isObject,g=a.pick,k=a.splat;C.prototype.setResponsive=function(g){var k=this.options.responsive,m=[],h=this.currentResponsive;k&&k.rules&&\n",
444
+ "A(k.rules,function(e){void 0===e._id&&(e._id=a.uniqueKey());this.matchResponsiveRule(e,m,g)},this);var e=a.merge.apply(0,a.map(m,function(e){return a.find(k.rules,function(a){return a._id===e}).chartOptions})),m=m.toString()||void 0;m!==(h&&h.ruleIds)&&(h&&this.update(h.undoOptions,g),m?(this.currentResponsive={ruleIds:m,mergedOptions:e,undoOptions:this.currentOptions(e)},this.update(e,g)):this.currentResponsive=void 0)};C.prototype.matchResponsiveRule=function(a,k){var m=a.condition;(m.callback||\n",
445
+ "function(){return this.chartWidth<=g(m.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=g(m.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=g(m.minWidth,0)&&this.chartHeight>=g(m.minHeight,0)}).call(this)&&k.push(a._id)};C.prototype.currentOptions=function(g){function q(g,e,n,d){var c;a.objectEach(g,function(a,b){if(!d&&-1<G(b,[\"series\",\"xAxis\",\"yAxis\"]))for(g[b]=k(g[b]),n[b]=[],c=0;c<g[b].length;c++)e[b][c]&&(n[b][c]={},q(a[c],e[b][c],n[b][c],d+1));else m(a)?(n[b]=F(a)?[]:{},q(a,e[b]||{},n[b],d+1)):n[b]=\n",
446
+ "e[b]||null})}var u={};q(g,this.options,u,0);return u}})(K);return K});\n",
447
+ "\n",
448
+ " /* END highcharts.js*/\n",
449
+ "\n",
450
+ " /* BEGIN highcharts-3d.js */\n",
451
+ "\n",
452
+ "/*\n",
453
+ " Highcharts JS v5.0.12 (2017-05-24)\n",
454
+ "\n",
455
+ " 3D features for Highcharts JS\n",
456
+ "\n",
457
+ " @license: www.highcharts.com/license\n",
458
+ "*/\n",
459
+ "(function(A){\"object\"===typeof module&&module.exports?module.exports=A:A(Highcharts)})(function(A){(function(d){var w=d.deg2rad,r=d.pick;d.perspective=function(t,x,y){var m=x.options.chart.options3d,u=y?x.inverted:!1,h=x.plotWidth/2,v=x.plotHeight/2,g=m.depth/2,c=r(m.depth,1)*r(m.viewDistance,0),b=x.scale3d||1,e=w*m.beta*(u?-1:1),m=w*m.alpha*(u?-1:1),a=Math.cos(m),f=Math.cos(-e),k=Math.sin(m),p=Math.sin(-e);y||(h+=x.plotLeft,v+=x.plotTop);return d.map(t,function(e){var d,l;l=(u?e.y:e.x)-h;var n=(u?\n",
460
+ "e.x:e.y)-v,F=(e.z||0)-g;d=f*l-p*F;e=-k*p*l+a*n-f*k*F;l=a*p*l+k*n+a*f*F;n=0<c&&c<Number.POSITIVE_INFINITY?c/(l+g+c):1;d=d*n*b+h;e=e*n*b+v;return{x:u?e:d,y:u?d:e,z:l*b+g}})};d.pointCameraDistance=function(d,x){var t=x.options.chart.options3d,m=x.plotWidth/2;x=x.plotHeight/2;t=r(t.depth,1)*r(t.viewDistance,0)+t.depth;return Math.sqrt(Math.pow(m-d.plotX,2)+Math.pow(x-d.plotY,2)+Math.pow(t-d.plotZ,2))};d.shapeArea=function(d){var t=0,r,m;for(r=0;r<d.length;r++)m=(r+1)%d.length,t+=d[r].x*d[m].y-d[m].x*\n",
461
+ "d[r].y;return t/2};d.shapeArea3d=function(r,x,w){return d.shapeArea(d.perspective(r,x,w))}})(A);(function(d){function w(a,b,e,d,c,f,k,g){var B=[],n=f-c;return f>c&&f-c>Math.PI/2+.0001?(B=B.concat(w(a,b,e,d,c,c+Math.PI/2,k,g)),B=B.concat(w(a,b,e,d,c+Math.PI/2,f,k,g))):f<c&&c-f>Math.PI/2+.0001?(B=B.concat(w(a,b,e,d,c,c-Math.PI/2,k,g)),B=B.concat(w(a,b,e,d,c-Math.PI/2,f,k,g))):[\"C\",a+e*Math.cos(c)-e*l*n*Math.sin(c)+k,b+d*Math.sin(c)+d*l*n*Math.cos(c)+g,a+e*Math.cos(f)+e*l*n*Math.sin(f)+k,b+d*Math.sin(f)-\n",
462
+ "d*l*n*Math.cos(f)+g,a+e*Math.cos(f)+k,b+d*Math.sin(f)+g]}var r=Math.cos,t=Math.PI,x=Math.sin,y=d.animObject,m=d.charts,u=d.color,h=d.defined,v=d.deg2rad,g=d.each,c=d.extend,b=d.inArray,e=d.map,a=d.merge,f=d.perspective,k=d.pick,p=d.SVGElement,z=d.SVGRenderer,q=d.wrap,l=4*(Math.sqrt(2)-1)/3/(t/2);z.prototype.toLinePath=function(a,b){var e=[];g(a,function(a){e.push(\"L\",a.x,a.y)});a.length&&(e[0]=\"M\",b&&e.push(\"Z\"));return e};z.prototype.toLineSegments=function(a){var b=[],e=!0;g(a,function(a){b.push(e?\n",
463
+ "\"M\":\"L\",a.x,a.y);e=!e});return b};z.prototype.face3d=function(a){var b=this,e=this.createElement(\"path\");e.vertexes=[];e.insidePlotArea=!1;e.enabled=!0;q(e,\"attr\",function(a,e){if(\"object\"===typeof e&&(h(e.enabled)||h(e.vertexes)||h(e.insidePlotArea))){this.enabled=k(e.enabled,this.enabled);this.vertexes=k(e.vertexes,this.vertexes);this.insidePlotArea=k(e.insidePlotArea,this.insidePlotArea);delete e.enabled;delete e.vertexes;delete e.insidePlotArea;var c=f(this.vertexes,m[b.chartIndex],this.insidePlotArea),\n",
464
+ "B=b.toLinePath(c,!0),c=d.shapeArea(c),c=this.enabled&&0<c?\"visible\":\"hidden\";e.d=B;e.visibility=c}return a.apply(this,[].slice.call(arguments,1))});q(e,\"animate\",function(a,e){if(\"object\"===typeof e&&(h(e.enabled)||h(e.vertexes)||h(e.insidePlotArea))){this.enabled=k(e.enabled,this.enabled);this.vertexes=k(e.vertexes,this.vertexes);this.insidePlotArea=k(e.insidePlotArea,this.insidePlotArea);delete e.enabled;delete e.vertexes;delete e.insidePlotArea;var c=f(this.vertexes,m[b.chartIndex],this.insidePlotArea),\n",
465
+ "B=b.toLinePath(c,!0),c=d.shapeArea(c),c=this.enabled&&0<c?\"visible\":\"hidden\";e.d=B;this.attr(\"visibility\",c)}return a.apply(this,[].slice.call(arguments,1))});return e.attr(a)};z.prototype.polyhedron=function(a){var b=this,e=this.g(),c=e.destroy;e.attr({\"stroke-linejoin\":\"round\"});e.faces=[];e.destroy=function(){for(var a=0;a<e.faces.length;a++)e.faces[a].destroy();return c.call(this)};q(e,\"attr\",function(a,c,d,f,k){if(\"object\"===typeof c&&h(c.faces)){for(;e.faces.length>c.faces.length;)e.faces.pop().destroy();\n",
466
+ "for(;e.faces.length<c.faces.length;)e.faces.push(b.face3d().add(e));for(var g=0;g<c.faces.length;g++)e.faces[g].attr(c.faces[g],null,f,k);delete c.faces}return a.apply(this,[].slice.call(arguments,1))});q(e,\"animate\",function(a,c,d,f){if(c&&c.faces){for(;e.faces.length>c.faces.length;)e.faces.pop().destroy();for(;e.faces.length<c.faces.length;)e.faces.push(b.face3d().add(e));for(var k=0;k<c.faces.length;k++)e.faces[k].animate(c.faces[k],d,f);delete c.faces}return a.apply(this,[].slice.call(arguments,\n",
467
+ "1))});return e.attr(a)};z.prototype.cuboid=function(a){var e=this.g(),b=e.destroy;a=this.cuboidPath(a);e.attr({\"stroke-linejoin\":\"round\"});e.front=this.path(a[0]).attr({\"class\":\"highcharts-3d-front\"}).add(e);e.top=this.path(a[1]).attr({\"class\":\"highcharts-3d-top\"}).add(e);e.side=this.path(a[2]).attr({\"class\":\"highcharts-3d-side\"}).add(e);e.fillSetter=function(a){this.front.attr({fill:a});this.top.attr({fill:u(a).brighten(.1).get()});this.side.attr({fill:u(a).brighten(-.1).get()});this.color=a;return this};\n",
468
+ "e.opacitySetter=function(a){this.front.attr({opacity:a});this.top.attr({opacity:a});this.side.attr({opacity:a});return this};e.attr=function(a,e){if(\"string\"===typeof a&&\"undefined\"!==typeof e){var b=a;a={};a[b]=e}if(a.shapeArgs||h(a.x))a=this.renderer.cuboidPath(a.shapeArgs||a),this.front.attr({d:a[0]}),this.top.attr({d:a[1]}),this.side.attr({d:a[2]});else return d.SVGElement.prototype.attr.call(this,a);return this};e.animate=function(a,e,b){h(a.x)&&h(a.y)?(a=this.renderer.cuboidPath(a),this.front.animate({d:a[0]},\n",
469
+ "e,b),this.top.animate({d:a[1]},e,b),this.side.animate({d:a[2]},e,b),this.attr({zIndex:-a[3]})):a.opacity?(this.front.animate(a,e,b),this.top.animate(a,e,b),this.side.animate(a,e,b)):p.prototype.animate.call(this,a,e,b);return this};e.destroy=function(){this.front.destroy();this.top.destroy();this.side.destroy();return b.call(this)};e.attr({zIndex:-a[3]});return e};d.SVGRenderer.prototype.cuboidPath=function(a){function b(a){return r[a]}var c=a.x,k=a.y,g=a.z,n=a.height,v=a.width,l=a.depth,p=m[this.chartIndex],\n",
470
+ "q,z,u=p.options.chart.options3d.alpha,h=0,r=[{x:c,y:k,z:g},{x:c+v,y:k,z:g},{x:c+v,y:k+n,z:g},{x:c,y:k+n,z:g},{x:c,y:k+n,z:g+l},{x:c+v,y:k+n,z:g+l},{x:c+v,y:k,z:g+l},{x:c,y:k,z:g+l}],r=f(r,p,a.insidePlotArea);z=function(a,c){var f=[[],-1];a=e(a,b);c=e(c,b);0>d.shapeArea(a)?f=[a,0]:0>d.shapeArea(c)&&(f=[c,1]);return f};q=z([3,2,1,0],[7,6,5,4]);a=q[0];v=q[1];q=z([1,6,7,0],[4,5,2,3]);n=q[0];l=q[1];q=z([1,2,5,6],[0,7,4,3]);z=q[0];q=q[1];1===q?h+=1E4*(1E3-c):q||(h+=1E4*c);h+=10*(!l||0<=u&&180>=u||360>u&&\n",
471
+ "357.5<u?p.plotHeight-k:10+k);1===v?h+=100*g:v||(h+=100*(1E3-g));h=-Math.round(h);return[this.toLinePath(a,!0),this.toLinePath(n,!0),this.toLinePath(z,!0),h]};d.SVGRenderer.prototype.arc3d=function(e){function d(e){var c=!1,f={};e=a(e);for(var d in e)-1!==b(d,l)&&(f[d]=e[d],delete e[d],c=!0);return c?f:!1}var f=this.g(),n=f.renderer,l=\"x y r innerR start end\".split(\" \");e=a(e);e.alpha*=v;e.beta*=v;f.top=n.path();f.side1=n.path();f.side2=n.path();f.inn=n.path();f.out=n.path();f.onAdd=function(){var a=\n",
472
+ "f.parentGroup,e=f.attr(\"class\");f.top.add(f);g([\"out\",\"inn\",\"side1\",\"side2\"],function(b){f[b].addClass(e+\" highcharts-3d-side\").add(a)})};f.setPaths=function(a){var e=f.renderer.arc3dPath(a),b=100*e.zTop;f.attribs=a;f.top.attr({d:e.top,zIndex:e.zTop});f.inn.attr({d:e.inn,zIndex:e.zInn});f.out.attr({d:e.out,zIndex:e.zOut});f.side1.attr({d:e.side1,zIndex:e.zSide1});f.side2.attr({d:e.side2,zIndex:e.zSide2});f.zIndex=b;f.attr({zIndex:b});a.center&&(f.top.setRadialReference(a.center),delete a.center)};\n",
473
+ "f.setPaths(e);f.fillSetter=function(a){var e=u(a).brighten(-.1).get();this.fill=a;this.side1.attr({fill:e});this.side2.attr({fill:e});this.inn.attr({fill:e});this.out.attr({fill:e});this.top.attr({fill:a});return this};g([\"opacity\",\"translateX\",\"translateY\",\"visibility\"],function(a){f[a+\"Setter\"]=function(a,e){f[e]=a;g([\"out\",\"inn\",\"side1\",\"side2\",\"top\"],function(b){f[b].attr(e,a)})}});q(f,\"attr\",function(a,e){var b;\"object\"===typeof e&&(b=d(e))&&(c(f.attribs,b),f.setPaths(f.attribs));return a.apply(this,\n",
474
+ "[].slice.call(arguments,1))});q(f,\"animate\",function(e,b,c,f){var g,n=this.attribs,v;delete b.center;delete b.z;delete b.depth;delete b.alpha;delete b.beta;v=y(k(c,this.renderer.globalAnimation));v.duration&&(g=d(b),b.dummy=1,g&&(v.step=function(e,b){function c(a){return n[a]+(k(g[a],n[a])-n[a])*b.pos}\"dummy\"===b.prop&&b.elem.setPaths(a(n,{x:c(\"x\"),y:c(\"y\"),r:c(\"r\"),innerR:c(\"innerR\"),start:c(\"start\"),end:c(\"end\")}))}),c=v);return e.call(this,b,c,f)});f.destroy=function(){this.top.destroy();this.out.destroy();\n",
475
+ "this.inn.destroy();this.side1.destroy();this.side2.destroy();p.prototype.destroy.call(this)};f.hide=function(){this.top.hide();this.out.hide();this.inn.hide();this.side1.hide();this.side2.hide()};f.show=function(){this.top.show();this.out.show();this.inn.show();this.side1.show();this.side2.show()};return f};z.prototype.arc3dPath=function(a){function e(a){a%=2*Math.PI;a>Math.PI&&(a=2*Math.PI-a);return a}var b=a.x,c=a.y,f=a.start,d=a.end-.00001,k=a.r,g=a.innerR,v=a.depth,l=a.alpha,p=a.beta,n=Math.cos(f),\n",
476
+ "q=Math.sin(f);a=Math.cos(d);var h=Math.sin(d),z=k*Math.cos(p),k=k*Math.cos(l),m=g*Math.cos(p),u=g*Math.cos(l),g=v*Math.sin(p),y=v*Math.sin(l),v=[\"M\",b+z*n,c+k*q],v=v.concat(w(b,c,z,k,f,d,0,0)),v=v.concat([\"L\",b+m*a,c+u*h]),v=v.concat(w(b,c,m,u,d,f,0,0)),v=v.concat([\"Z\"]),A=0<p?Math.PI/2:0,p=0<l?0:Math.PI/2,A=f>-A?f:d>-A?-A:f,C=d<t-p?d:f<t-p?t-p:d,D=2*t-p,l=[\"M\",b+z*r(A),c+k*x(A)],l=l.concat(w(b,c,z,k,A,C,0,0));d>D&&f<D?(l=l.concat([\"L\",b+z*r(C)+g,c+k*x(C)+y]),l=l.concat(w(b,c,z,k,C,D,g,y)),l=l.concat([\"L\",\n",
477
+ "b+z*r(D),c+k*x(D)]),l=l.concat(w(b,c,z,k,D,d,0,0)),l=l.concat([\"L\",b+z*r(d)+g,c+k*x(d)+y]),l=l.concat(w(b,c,z,k,d,D,g,y)),l=l.concat([\"L\",b+z*r(D),c+k*x(D)]),l=l.concat(w(b,c,z,k,D,C,0,0))):d>t-p&&f<t-p&&(l=l.concat([\"L\",b+z*Math.cos(C)+g,c+k*Math.sin(C)+y]),l=l.concat(w(b,c,z,k,C,d,g,y)),l=l.concat([\"L\",b+z*Math.cos(d),c+k*Math.sin(d)]),l=l.concat(w(b,c,z,k,d,C,0,0)));l=l.concat([\"L\",b+z*Math.cos(C)+g,c+k*Math.sin(C)+y]);l=l.concat(w(b,c,z,k,C,A,g,y));l=l.concat([\"Z\"]);p=[\"M\",b+m*n,c+u*q];p=p.concat(w(b,\n",
478
+ "c,m,u,f,d,0,0));p=p.concat([\"L\",b+m*Math.cos(d)+g,c+u*Math.sin(d)+y]);p=p.concat(w(b,c,m,u,d,f,g,y));p=p.concat([\"Z\"]);n=[\"M\",b+z*n,c+k*q,\"L\",b+z*n+g,c+k*q+y,\"L\",b+m*n+g,c+u*q+y,\"L\",b+m*n,c+u*q,\"Z\"];b=[\"M\",b+z*a,c+k*h,\"L\",b+z*a+g,c+k*h+y,\"L\",b+m*a+g,c+u*h+y,\"L\",b+m*a,c+u*h,\"Z\"];h=Math.atan2(y,-g);c=Math.abs(d+h);a=Math.abs(f+h);f=Math.abs((f+d)/2+h);c=e(c);a=e(a);f=e(f);f*=1E5;d=1E5*a;c*=1E5;return{top:v,zTop:1E5*Math.PI+1,out:l,zOut:Math.max(f,d,c),inn:p,zInn:Math.max(f,d,c),side1:n,zSide1:.99*c,\n",
479
+ "side2:b,zSide2:.99*d}}})(A);(function(d){function w(d,g){var c=d.plotLeft,b=d.plotWidth+c,e=d.plotTop,a=d.plotHeight+e,f=c+d.plotWidth/2,k=e+d.plotHeight/2,p=Number.MAX_VALUE,v=-Number.MAX_VALUE,q=Number.MAX_VALUE,l=-Number.MAX_VALUE,n,h=1;n=[{x:c,y:e,z:0},{x:c,y:e,z:g}];t([0,1],function(a){n.push({x:b,y:n[a].y,z:n[a].z})});t([0,1,2,3],function(e){n.push({x:n[e].x,y:a,z:n[e].z})});n=y(n,d,!1);t(n,function(a){p=Math.min(p,a.x);v=Math.max(v,a.x);q=Math.min(q,a.y);l=Math.max(l,a.y)});c>p&&(h=Math.min(h,\n",
480
+ "1-Math.abs((c+f)/(p+f))%1));b<v&&(h=Math.min(h,(b-f)/(v-f)));e>q&&(h=0>q?Math.min(h,(e+k)/(-q+e+k)):Math.min(h,1-(e+k)/(q+k)%1));a<l&&(h=Math.min(h,Math.abs((a-k)/(l-k))));return h}var r=d.Chart,t=d.each,x=d.merge,y=d.perspective,m=d.pick,u=d.wrap;r.prototype.is3d=function(){return this.options.chart.options3d&&this.options.chart.options3d.enabled};r.prototype.propsRequireDirtyBox.push(\"chart.options3d\");r.prototype.propsRequireUpdateSeries.push(\"chart.options3d\");d.wrap(d.Chart.prototype,\"isInsidePlot\",\n",
481
+ "function(d){return this.is3d()||d.apply(this,[].slice.call(arguments,1))});var h=d.getOptions();x(!0,h,{chart:{options3d:{enabled:!1,alpha:0,beta:0,depth:100,fitToPlot:!0,viewDistance:25,axisLabelPosition:\"default\",frame:{visible:\"default\",size:1,bottom:{},top:{},left:{},right:{},back:{},front:{}}}}});u(r.prototype,\"setClassName\",function(d){d.apply(this,[].slice.call(arguments,1));this.is3d()&&(this.container.className+=\" highcharts-3d-chart\")});d.wrap(d.Chart.prototype,\"setChartSize\",function(d){var g=\n",
482
+ "this.options.chart.options3d;d.apply(this,[].slice.call(arguments,1));if(this.is3d()){var c=this.inverted,b=this.clipBox,e=this.margin;b[c?\"y\":\"x\"]=-(e[3]||0);b[c?\"x\":\"y\"]=-(e[0]||0);b[c?\"height\":\"width\"]=this.chartWidth+(e[3]||0)+(e[1]||0);b[c?\"width\":\"height\"]=this.chartHeight+(e[0]||0)+(e[2]||0);this.scale3d=1;!0===g.fitToPlot&&(this.scale3d=w(this,g.depth))}});u(r.prototype,\"redraw\",function(d){this.is3d()&&(this.isDirtyBox=!0,this.frame3d=this.get3dFrame());d.apply(this,[].slice.call(arguments,\n",
483
+ "1))});u(r.prototype,\"render\",function(d){this.is3d()&&(this.frame3d=this.get3dFrame());d.apply(this,[].slice.call(arguments,1))});u(r.prototype,\"renderSeries\",function(d){var g=this.series.length;if(this.is3d())for(;g--;)d=this.series[g],d.translate(),d.render();else d.call(this)});u(r.prototype,\"drawChartBox\",function(v){if(this.is3d()){var g=this.renderer,c=this.options.chart.options3d,b=this.get3dFrame(),e=this.plotLeft,a=this.plotLeft+this.plotWidth,f=this.plotTop,k=this.plotTop+this.plotHeight,\n",
484
+ "c=c.depth,p=e-(b.left.visible?b.left.size:0),h=a+(b.right.visible?b.right.size:0),q=f-(b.top.visible?b.top.size:0),l=k+(b.bottom.visible?b.bottom.size:0),n=0-(b.front.visible?b.front.size:0),m=c+(b.back.visible?b.back.size:0),u=this.hasRendered?\"animate\":\"attr\";this.frame3d=b;this.frameShapes||(this.frameShapes={bottom:g.polyhedron().add(),top:g.polyhedron().add(),left:g.polyhedron().add(),right:g.polyhedron().add(),back:g.polyhedron().add(),front:g.polyhedron().add()});this.frameShapes.bottom[u]({\"class\":\"highcharts-3d-frame highcharts-3d-frame-bottom\",\n",
485
+ "zIndex:b.bottom.frontFacing?-1E3:1E3,faces:[{fill:d.color(b.bottom.color).brighten(.1).get(),vertexes:[{x:p,y:l,z:n},{x:h,y:l,z:n},{x:h,y:l,z:m},{x:p,y:l,z:m}],enabled:b.bottom.visible},{fill:d.color(b.bottom.color).brighten(.1).get(),vertexes:[{x:e,y:k,z:c},{x:a,y:k,z:c},{x:a,y:k,z:0},{x:e,y:k,z:0}],enabled:b.bottom.visible},{fill:d.color(b.bottom.color).brighten(-.1).get(),vertexes:[{x:p,y:l,z:n},{x:p,y:l,z:m},{x:e,y:k,z:c},{x:e,y:k,z:0}],enabled:b.bottom.visible&&!b.left.visible},{fill:d.color(b.bottom.color).brighten(-.1).get(),\n",
486
+ "vertexes:[{x:h,y:l,z:m},{x:h,y:l,z:n},{x:a,y:k,z:0},{x:a,y:k,z:c}],enabled:b.bottom.visible&&!b.right.visible},{fill:d.color(b.bottom.color).get(),vertexes:[{x:h,y:l,z:n},{x:p,y:l,z:n},{x:e,y:k,z:0},{x:a,y:k,z:0}],enabled:b.bottom.visible&&!b.front.visible},{fill:d.color(b.bottom.color).get(),vertexes:[{x:p,y:l,z:m},{x:h,y:l,z:m},{x:a,y:k,z:c},{x:e,y:k,z:c}],enabled:b.bottom.visible&&!b.back.visible}]});this.frameShapes.top[u]({\"class\":\"highcharts-3d-frame highcharts-3d-frame-top\",zIndex:b.top.frontFacing?\n",
487
+ "-1E3:1E3,faces:[{fill:d.color(b.top.color).brighten(.1).get(),vertexes:[{x:p,y:q,z:m},{x:h,y:q,z:m},{x:h,y:q,z:n},{x:p,y:q,z:n}],enabled:b.top.visible},{fill:d.color(b.top.color).brighten(.1).get(),vertexes:[{x:e,y:f,z:0},{x:a,y:f,z:0},{x:a,y:f,z:c},{x:e,y:f,z:c}],enabled:b.top.visible},{fill:d.color(b.top.color).brighten(-.1).get(),vertexes:[{x:p,y:q,z:m},{x:p,y:q,z:n},{x:e,y:f,z:0},{x:e,y:f,z:c}],enabled:b.top.visible&&!b.left.visible},{fill:d.color(b.top.color).brighten(-.1).get(),vertexes:[{x:h,\n",
488
+ "y:q,z:n},{x:h,y:q,z:m},{x:a,y:f,z:c},{x:a,y:f,z:0}],enabled:b.top.visible&&!b.right.visible},{fill:d.color(b.top.color).get(),vertexes:[{x:p,y:q,z:n},{x:h,y:q,z:n},{x:a,y:f,z:0},{x:e,y:f,z:0}],enabled:b.top.visible&&!b.front.visible},{fill:d.color(b.top.color).get(),vertexes:[{x:h,y:q,z:m},{x:p,y:q,z:m},{x:e,y:f,z:c},{x:a,y:f,z:c}],enabled:b.top.visible&&!b.back.visible}]});this.frameShapes.left[u]({\"class\":\"highcharts-3d-frame highcharts-3d-frame-left\",zIndex:b.left.frontFacing?-1E3:1E3,faces:[{fill:d.color(b.left.color).brighten(.1).get(),\n",
489
+ "vertexes:[{x:p,y:l,z:n},{x:e,y:k,z:0},{x:e,y:k,z:c},{x:p,y:l,z:m}],enabled:b.left.visible&&!b.bottom.visible},{fill:d.color(b.left.color).brighten(.1).get(),vertexes:[{x:p,y:q,z:m},{x:e,y:f,z:c},{x:e,y:f,z:0},{x:p,y:q,z:n}],enabled:b.left.visible&&!b.top.visible},{fill:d.color(b.left.color).brighten(-.1).get(),vertexes:[{x:p,y:l,z:m},{x:p,y:q,z:m},{x:p,y:q,z:n},{x:p,y:l,z:n}],enabled:b.left.visible},{fill:d.color(b.left.color).brighten(-.1).get(),vertexes:[{x:e,y:f,z:c},{x:e,y:k,z:c},{x:e,y:k,z:0},\n",
490
+ "{x:e,y:f,z:0}],enabled:b.left.visible},{fill:d.color(b.left.color).get(),vertexes:[{x:p,y:l,z:n},{x:p,y:q,z:n},{x:e,y:f,z:0},{x:e,y:k,z:0}],enabled:b.left.visible&&!b.front.visible},{fill:d.color(b.left.color).get(),vertexes:[{x:p,y:q,z:m},{x:p,y:l,z:m},{x:e,y:k,z:c},{x:e,y:f,z:c}],enabled:b.left.visible&&!b.back.visible}]});this.frameShapes.right[u]({\"class\":\"highcharts-3d-frame highcharts-3d-frame-right\",zIndex:b.right.frontFacing?-1E3:1E3,faces:[{fill:d.color(b.right.color).brighten(.1).get(),\n",
491
+ "vertexes:[{x:h,y:l,z:m},{x:a,y:k,z:c},{x:a,y:k,z:0},{x:h,y:l,z:n}],enabled:b.right.visible&&!b.bottom.visible},{fill:d.color(b.right.color).brighten(.1).get(),vertexes:[{x:h,y:q,z:n},{x:a,y:f,z:0},{x:a,y:f,z:c},{x:h,y:q,z:m}],enabled:b.right.visible&&!b.top.visible},{fill:d.color(b.right.color).brighten(-.1).get(),vertexes:[{x:a,y:f,z:0},{x:a,y:k,z:0},{x:a,y:k,z:c},{x:a,y:f,z:c}],enabled:b.right.visible},{fill:d.color(b.right.color).brighten(-.1).get(),vertexes:[{x:h,y:l,z:n},{x:h,y:q,z:n},{x:h,y:q,\n",
492
+ "z:m},{x:h,y:l,z:m}],enabled:b.right.visible},{fill:d.color(b.right.color).get(),vertexes:[{x:h,y:q,z:n},{x:h,y:l,z:n},{x:a,y:k,z:0},{x:a,y:f,z:0}],enabled:b.right.visible&&!b.front.visible},{fill:d.color(b.right.color).get(),vertexes:[{x:h,y:l,z:m},{x:h,y:q,z:m},{x:a,y:f,z:c},{x:a,y:k,z:c}],enabled:b.right.visible&&!b.back.visible}]});this.frameShapes.back[u]({\"class\":\"highcharts-3d-frame highcharts-3d-frame-back\",zIndex:b.back.frontFacing?-1E3:1E3,faces:[{fill:d.color(b.back.color).brighten(.1).get(),\n",
493
+ "vertexes:[{x:h,y:l,z:m},{x:p,y:l,z:m},{x:e,y:k,z:c},{x:a,y:k,z:c}],enabled:b.back.visible&&!b.bottom.visible},{fill:d.color(b.back.color).brighten(.1).get(),vertexes:[{x:p,y:q,z:m},{x:h,y:q,z:m},{x:a,y:f,z:c},{x:e,y:f,z:c}],enabled:b.back.visible&&!b.top.visible},{fill:d.color(b.back.color).brighten(-.1).get(),vertexes:[{x:p,y:l,z:m},{x:p,y:q,z:m},{x:e,y:f,z:c},{x:e,y:k,z:c}],enabled:b.back.visible&&!b.left.visible},{fill:d.color(b.back.color).brighten(-.1).get(),vertexes:[{x:h,y:q,z:m},{x:h,y:l,\n",
494
+ "z:m},{x:a,y:k,z:c},{x:a,y:f,z:c}],enabled:b.back.visible&&!b.right.visible},{fill:d.color(b.back.color).get(),vertexes:[{x:e,y:f,z:c},{x:a,y:f,z:c},{x:a,y:k,z:c},{x:e,y:k,z:c}],enabled:b.back.visible},{fill:d.color(b.back.color).get(),vertexes:[{x:p,y:l,z:m},{x:h,y:l,z:m},{x:h,y:q,z:m},{x:p,y:q,z:m}],enabled:b.back.visible}]});this.frameShapes.front[u]({\"class\":\"highcharts-3d-frame highcharts-3d-frame-front\",zIndex:b.front.frontFacing?-1E3:1E3,faces:[{fill:d.color(b.front.color).brighten(.1).get(),\n",
495
+ "vertexes:[{x:p,y:l,z:n},{x:h,y:l,z:n},{x:a,y:k,z:0},{x:e,y:k,z:0}],enabled:b.front.visible&&!b.bottom.visible},{fill:d.color(b.front.color).brighten(.1).get(),vertexes:[{x:h,y:q,z:n},{x:p,y:q,z:n},{x:e,y:f,z:0},{x:a,y:f,z:0}],enabled:b.front.visible&&!b.top.visible},{fill:d.color(b.front.color).brighten(-.1).get(),vertexes:[{x:p,y:q,z:n},{x:p,y:l,z:n},{x:e,y:k,z:0},{x:e,y:f,z:0}],enabled:b.front.visible&&!b.left.visible},{fill:d.color(b.front.color).brighten(-.1).get(),vertexes:[{x:h,y:l,z:n},{x:h,\n",
496
+ "y:q,z:n},{x:a,y:f,z:0},{x:a,y:k,z:0}],enabled:b.front.visible&&!b.right.visible},{fill:d.color(b.front.color).get(),vertexes:[{x:a,y:f,z:0},{x:e,y:f,z:0},{x:e,y:k,z:0},{x:a,y:k,z:0}],enabled:b.front.visible},{fill:d.color(b.front.color).get(),vertexes:[{x:h,y:l,z:n},{x:p,y:l,z:n},{x:p,y:q,z:n},{x:h,y:q,z:n}],enabled:b.front.visible}]})}return v.apply(this,[].slice.call(arguments,1))});r.prototype.retrieveStacks=function(d){var g=this.series,c={},b,e=1;t(this.series,function(a){b=m(a.options.stack,\n",
497
+ "d?0:g.length-1-a.index);c[b]?c[b].series.push(a):(c[b]={series:[a],position:e},e++)});c.totalStacks=e+1;return c};r.prototype.get3dFrame=function(){var h=this,g=h.options.chart.options3d,c=g.frame,b=h.plotLeft,e=h.plotLeft+h.plotWidth,a=h.plotTop,f=h.plotTop+h.plotHeight,k=g.depth,p=d.shapeArea3d([{x:b,y:f,z:k},{x:e,y:f,z:k},{x:e,y:f,z:0},{x:b,y:f,z:0}],h),u=d.shapeArea3d([{x:b,y:a,z:0},{x:e,y:a,z:0},{x:e,y:a,z:k},{x:b,y:a,z:k}],h),q=d.shapeArea3d([{x:b,y:a,z:0},{x:b,y:a,z:k},{x:b,y:f,z:k},{x:b,y:f,\n",
498
+ "z:0}],h),l=d.shapeArea3d([{x:e,y:a,z:k},{x:e,y:a,z:0},{x:e,y:f,z:0},{x:e,y:f,z:k}],h),n=d.shapeArea3d([{x:b,y:f,z:0},{x:e,y:f,z:0},{x:e,y:a,z:0},{x:b,y:a,z:0}],h),r=d.shapeArea3d([{x:b,y:a,z:k},{x:e,y:a,z:k},{x:e,y:f,z:k},{x:b,y:f,z:k}],h),x=!1,w=!1,A=!1,G=!1;t([].concat(h.xAxis,h.yAxis,h.zAxis),function(a){a&&(a.horiz?a.opposite?w=!0:x=!0:a.opposite?G=!0:A=!0)});var E=function(a,e,b){for(var c=[\"size\",\"color\",\"visible\"],d={},f=0;f<c.length;f++)for(var k=c[f],g=0;g<a.length;g++)if(\"object\"===typeof a[g]){var h=\n",
499
+ "a[g][k];if(void 0!==h&&null!==h){d[k]=h;break}}a=b;!0===d.visible||!1===d.visible?a=d.visible:\"auto\"===d.visible&&(a=0<=e);return{size:m(d.size,1),color:m(d.color,\"none\"),frontFacing:0<e,visible:a}},c={bottom:E([c.bottom,c.top,c],p,x),top:E([c.top,c.bottom,c],u,w),left:E([c.left,c.right,c.side,c],q,A),right:E([c.right,c.left,c.side,c],l,G),back:E([c.back,c.front,c],r,!0),front:E([c.front,c.back,c],n,!1)};\"auto\"===g.axisLabelPosition?(l=function(a,e){return a.visible!==e.visible||a.visible&&e.visible&&\n",
500
+ "a.frontFacing!==e.frontFacing},g=[],l(c.left,c.front)&&g.push({y:(a+f)/2,x:b,z:0}),l(c.left,c.back)&&g.push({y:(a+f)/2,x:b,z:k}),l(c.right,c.front)&&g.push({y:(a+f)/2,x:e,z:0}),l(c.right,c.back)&&g.push({y:(a+f)/2,x:e,z:k}),p=[],l(c.bottom,c.front)&&p.push({x:(b+e)/2,y:f,z:0}),l(c.bottom,c.back)&&p.push({x:(b+e)/2,y:f,z:k}),u=[],l(c.top,c.front)&&u.push({x:(b+e)/2,y:a,z:0}),l(c.top,c.back)&&u.push({x:(b+e)/2,y:a,z:k}),q=[],l(c.bottom,c.left)&&q.push({z:(0+k)/2,y:f,x:b}),l(c.bottom,c.right)&&q.push({z:(0+\n",
501
+ "k)/2,y:f,x:e}),f=[],l(c.top,c.left)&&f.push({z:(0+k)/2,y:a,x:b}),l(c.top,c.right)&&f.push({z:(0+k)/2,y:a,x:e}),b=function(a,e,b){if(0===a.length)return null;if(1===a.length)return a[0];for(var c=0,d=y(a,h,!1),f=1;f<d.length;f++)b*d[f][e]>b*d[c][e]?c=f:b*d[f][e]===b*d[c][e]&&d[f].z<d[c].z&&(c=f);return a[c]},c.axes={y:{left:b(g,\"x\",-1),right:b(g,\"x\",1)},x:{top:b(u,\"y\",-1),bottom:b(p,\"y\",1)},z:{top:b(f,\"y\",-1),bottom:b(q,\"y\",1)}}):c.axes={y:{left:{x:b,z:0},right:{x:e,z:0}},x:{top:{y:a,z:0},bottom:{y:f,\n",
502
+ "z:0}},z:{top:{x:A?e:b,y:a},bottom:{x:A?e:b,y:f}}};return c}})(A);(function(d){function w(e,a){if(e.chart.is3d()&&\"colorAxis\"!==e.coll){var b=e.chart,c=b.frame3d,d=b.plotLeft,g=b.plotWidth+d,m=b.plotTop,b=b.plotHeight+m,l=0,n=0;a=e.swapZ({x:a.x,y:a.y,z:0});if(e.isZAxis)if(e.opposite){if(null===c.axes.z.top)return{};n=a.y-m;a.x=c.axes.z.top.x;a.y=c.axes.z.top.y}else{if(null===c.axes.z.bottom)return{};n=a.y-b;a.x=c.axes.z.bottom.x;a.y=c.axes.z.bottom.y}else if(e.horiz)if(e.opposite){if(null===c.axes.x.top)return{};\n",
503
+ "n=a.y-m;a.y=c.axes.x.top.y;a.z=c.axes.x.top.z}else{if(null===c.axes.x.bottom)return{};n=a.y-b;a.y=c.axes.x.bottom.y;a.z=c.axes.x.bottom.z}else if(e.opposite){if(null===c.axes.y.right)return{};l=a.x-g;a.x=c.axes.y.right.x;a.z=c.axes.y.right.z}else{if(null===c.axes.y.left)return{};l=a.x-d;a.x=c.axes.y.left.x;a.z=c.axes.y.left.z}a=h([a],e.chart)[0];a.x+=l;a.y+=n}return a}var r,t=d.Axis,x=d.Chart,y=d.each,m=d.extend,u=d.merge,h=d.perspective,v=d.pick,g=d.splat,c=d.Tick,b=d.wrap;b(t.prototype,\"setOptions\",\n",
504
+ "function(e,a){e.call(this,a);this.chart.is3d()&&\"colorAxis\"!==this.coll&&(e=this.options,e.tickWidth=v(e.tickWidth,0),e.gridLineWidth=v(e.gridLineWidth,1))});b(t.prototype,\"getPlotLinePath\",function(e){var a=e.apply(this,[].slice.call(arguments,1));if(!this.chart.is3d()||\"colorAxis\"===this.coll||null===a)return a;var b=this.chart,c=b.options.chart.options3d,c=this.isZAxis?b.plotWidth:c.depth,b=b.frame3d,a=[this.swapZ({x:a[1],y:a[2],z:0}),this.swapZ({x:a[1],y:a[2],z:c}),this.swapZ({x:a[4],y:a[5],z:0}),\n",
505
+ "this.swapZ({x:a[4],y:a[5],z:c})],c=[];this.horiz?(this.isZAxis?(b.left.visible&&c.push(a[0],a[2]),b.right.visible&&c.push(a[1],a[3])):(b.front.visible&&c.push(a[0],a[2]),b.back.visible&&c.push(a[1],a[3])),b.top.visible&&c.push(a[0],a[1]),b.bottom.visible&&c.push(a[2],a[3])):(b.front.visible&&c.push(a[0],a[2]),b.back.visible&&c.push(a[1],a[3]),b.left.visible&&c.push(a[0],a[1]),b.right.visible&&c.push(a[2],a[3]));c=h(c,this.chart,!1);return this.chart.renderer.toLineSegments(c)});b(t.prototype,\"getLinePath\",\n",
506
+ "function(b){return this.chart.is3d()?[]:b.apply(this,[].slice.call(arguments,1))});b(t.prototype,\"getPlotBandPath\",function(b){if(!this.chart.is3d()||\"colorAxis\"===this.coll)return b.apply(this,[].slice.call(arguments,1));var a=arguments,e=a[2],c=[],a=this.getPlotLinePath(a[1]),e=this.getPlotLinePath(e);if(a&&e)for(var d=0;d<a.length;d+=6)c.push(\"M\",a[d+1],a[d+2],\"L\",a[d+4],a[d+5],\"L\",e[d+4],e[d+5],\"L\",e[d+1],e[d+2],\"Z\");return c});b(c.prototype,\"getMarkPath\",function(b){var a=b.apply(this,[].slice.call(arguments,\n",
507
+ "1)),a=[w(this.axis,{x:a[1],y:a[2],z:0}),w(this.axis,{x:a[4],y:a[5],z:0})];return this.axis.chart.renderer.toLineSegments(a)});b(c.prototype,\"getLabelPosition\",function(b){var a=b.apply(this,[].slice.call(arguments,1));return w(this.axis,a)});d.wrap(t.prototype,\"getTitlePosition\",function(b){var a=b.apply(this,[].slice.call(arguments,1));return w(this,a)});b(t.prototype,\"drawCrosshair\",function(b){var a=arguments;this.chart.is3d()&&a[2]&&(a[2]={plotX:a[2].plotXold||a[2].plotX,plotY:a[2].plotYold||\n",
508
+ "a[2].plotY});b.apply(this,[].slice.call(a,1))});b(t.prototype,\"destroy\",function(b){y([\"backFrame\",\"bottomFrame\",\"sideFrame\"],function(a){this[a]&&(this[a]=this[a].destroy())},this);b.apply(this,[].slice.call(arguments,1))});t.prototype.swapZ=function(b,a){return this.isZAxis?(a=a?0:this.chart.plotLeft,{x:a+b.z,y:b.y,z:b.x-a}):b};r=d.ZAxis=function(){this.init.apply(this,arguments)};m(r.prototype,t.prototype);m(r.prototype,{isZAxis:!0,setOptions:function(b){b=u({offset:0,lineWidth:0},b);t.prototype.setOptions.call(this,\n",
509
+ "b);this.coll=\"zAxis\"},setAxisSize:function(){t.prototype.setAxisSize.call(this);this.width=this.len=this.chart.options.chart.options3d.depth;this.right=this.chart.chartWidth-this.width-this.left},getSeriesExtremes:function(){var b=this,a=b.chart;b.hasVisibleSeries=!1;b.dataMin=b.dataMax=b.ignoreMinPadding=b.ignoreMaxPadding=null;b.buildStacks&&b.buildStacks();y(b.series,function(c){if(c.visible||!a.options.chart.ignoreHiddenSeries)b.hasVisibleSeries=!0,c=c.zData,c.length&&(b.dataMin=Math.min(v(b.dataMin,\n",
510
+ "c[0]),Math.min.apply(null,c)),b.dataMax=Math.max(v(b.dataMax,c[0]),Math.max.apply(null,c)))})}});b(x.prototype,\"getAxes\",function(b){var a=this,c=this.options,c=c.zAxis=g(c.zAxis||{});b.call(this);a.is3d()&&(this.zAxis=[],y(c,function(b,c){b.index=c;b.isX=!0;(new r(a,b)).setScale()}))})})(A);(function(d){function w(d){var g=d.apply(this,[].slice.call(arguments,1));this.chart.is3d()&&(g.stroke=this.options.edgeColor||g.fill,g[\"stroke-width\"]=x(this.options.edgeWidth,1));return g}var r=d.each,t=d.perspective,\n",
511
+ "x=d.pick,y=d.Series,m=d.seriesTypes,u=d.inArray,h=d.svg;d=d.wrap;d(m.column.prototype,\"translate\",function(d){d.apply(this,[].slice.call(arguments,1));if(this.chart.is3d()){var g=this,c=g.chart,b=g.options,e=b.depth||25,a=g.borderWidth%2?.5:0;if(c.inverted&&!g.yAxis.reversed||!c.inverted&&g.yAxis.reversed)a*=-1;var f=(b.stacking?b.stack||0:g.index)*(e+(b.groupZPadding||1));!1!==b.grouping&&(f=0);f+=b.groupZPadding||1;r(g.data,function(b){if(null!==b.y){var d=b.shapeArgs,h=b.tooltipPos,k;r([[\"x\",\"width\"],\n",
512
+ "[\"y\",\"height\"]],function(b){k=d[b[0]]-a;if(0>k+d[b[1]]||k>g[b[0]+\"Axis\"].len)for(var c in d)d[c]=0;0>k&&(d[b[1]]+=d[b[0]],d[b[0]]=0);k+d[b[1]]>g[b[0]+\"Axis\"].len&&(d[b[1]]=g[b[0]+\"Axis\"].len-d[b[0]])});b.shapeType=\"cuboid\";d.z=f;d.depth=e;d.insidePlotArea=!0;h=t([{x:h[0],y:h[1],z:f}],c,!0)[0];b.tooltipPos=[h.x,h.y]}});g.z=f}});d(m.column.prototype,\"animate\",function(d){if(this.chart.is3d()){var g=arguments[1],c=this.yAxis,b=this,e=this.yAxis.reversed;h&&(g?r(b.data,function(a){null!==a.y&&(a.height=\n",
513
+ "a.shapeArgs.height,a.shapey=a.shapeArgs.y,a.shapeArgs.height=1,e||(a.shapeArgs.y=a.stackY?a.plotY+c.translate(a.stackY):a.plotY+(a.negative?-a.height:a.height)))}):(r(b.data,function(a){null!==a.y&&(a.shapeArgs.height=a.height,a.shapeArgs.y=a.shapey,a.graphic&&a.graphic.animate(a.shapeArgs,b.options.animation))}),this.drawDataLabels(),b.animate=null))}else d.apply(this,[].slice.call(arguments,1))});d(m.column.prototype,\"plotGroup\",function(d,g,c,b,e,a){this.chart.is3d()&&a&&!this[g]&&(this[g]=a,a.attr(this.getPlotBox()),\n",
514
+ "this[g].survive=!0);return d.apply(this,Array.prototype.slice.call(arguments,1))});d(m.column.prototype,\"setVisible\",function(d,g){var c=this,b;c.chart.is3d()&&r(c.data,function(e){b=(e.visible=e.options.visible=g=void 0===g?!e.visible:g)?\"visible\":\"hidden\";c.options.data[u(e,c.data)]=e.options;e.graphic&&e.graphic.attr({visibility:b})});d.apply(this,Array.prototype.slice.call(arguments,1))});d(m.column.prototype,\"init\",function(d){d.apply(this,[].slice.call(arguments,1));if(this.chart.is3d()){var g=\n",
515
+ "this.options,c=g.grouping,b=g.stacking,e=x(this.yAxis.options.reversedStacks,!0),a=0;if(void 0===c||c){c=this.chart.retrieveStacks(b);a=g.stack||0;for(b=0;b<c[a].series.length&&c[a].series[b]!==this;b++);a=10*(c.totalStacks-c[a].position)+(e?b:-b);this.xAxis.reversed||(a=10*c.totalStacks-a)}g.zIndex=a}});d(m.column.prototype,\"pointAttribs\",w);m.columnrange&&(d(m.columnrange.prototype,\"pointAttribs\",w),m.columnrange.prototype.plotGroup=m.column.prototype.plotGroup,m.columnrange.prototype.setVisible=\n",
516
+ "m.column.prototype.setVisible);d(y.prototype,\"alignDataLabel\",function(d){if(this.chart.is3d()&&(\"column\"===this.type||\"columnrange\"===this.type)){var g=arguments[4],c={x:g.x,y:g.y,z:this.z},c=t([c],this.chart,!0)[0];g.x=c.x;g.y=c.y}d.apply(this,[].slice.call(arguments,1))})})(A);(function(d){var w=d.deg2rad,r=d.each,t=d.pick,x=d.seriesTypes,y=d.svg;d=d.wrap;d(x.pie.prototype,\"translate\",function(d){d.apply(this,[].slice.call(arguments,1));if(this.chart.is3d()){var m=this,h=m.options,v=h.depth||0,\n",
517
+ "g=m.chart.options.chart.options3d,c=g.alpha,b=g.beta,e=h.stacking?(h.stack||0)*v:m._i*v,e=e+v/2;!1!==h.grouping&&(e=0);r(m.data,function(a){var d=a.shapeArgs;a.shapeType=\"arc3d\";d.z=e;d.depth=.75*v;d.alpha=c;d.beta=b;d.center=m.center;d=(d.end+d.start)/2;a.slicedTranslation={translateX:Math.round(Math.cos(d)*h.slicedOffset*Math.cos(c*w)),translateY:Math.round(Math.sin(d)*h.slicedOffset*Math.cos(c*w))}})}});d(x.pie.prototype.pointClass.prototype,\"haloPath\",function(d){var m=arguments;return this.series.chart.is3d()?\n",
518
+ "[]:d.call(this,m[1])});d(x.pie.prototype,\"pointAttribs\",function(d,u,h){d=d.call(this,u,h);h=this.options;this.chart.is3d()&&(d.stroke=h.edgeColor||u.color||this.color,d[\"stroke-width\"]=t(h.edgeWidth,1));return d});d(x.pie.prototype,\"drawPoints\",function(d){d.apply(this,[].slice.call(arguments,1));this.chart.is3d()&&r(this.points,function(d){var h=d.graphic;if(h)h[d.y&&d.visible?\"show\":\"hide\"]()})});d(x.pie.prototype,\"drawDataLabels\",function(d){if(this.chart.is3d()){var m=this.chart.options.chart.options3d;\n",
519
+ "r(this.data,function(d){var h=d.shapeArgs,g=h.r,c=(h.start+h.end)/2,b=d.labelPos,e=-g*(1-Math.cos((h.alpha||m.alpha)*w))*Math.sin(c),a=g*(Math.cos((h.beta||m.beta)*w)-1)*Math.cos(c);r([0,2,4],function(c){b[c]+=a;b[c+1]+=e})})}d.apply(this,[].slice.call(arguments,1))});d(x.pie.prototype,\"addPoint\",function(d){d.apply(this,[].slice.call(arguments,1));this.chart.is3d()&&this.update(this.userOptions,!0)});d(x.pie.prototype,\"animate\",function(d){if(this.chart.is3d()){var m=arguments[1],h=this.options.animation,\n",
520
+ "r=this.center,g=this.group,c=this.markerGroup;y&&(!0===h&&(h={}),m?(g.oldtranslateX=g.translateX,g.oldtranslateY=g.translateY,m={translateX:r[0],translateY:r[1],scaleX:.001,scaleY:.001},g.attr(m),c&&(c.attrSetters=g.attrSetters,c.attr(m))):(m={translateX:g.oldtranslateX,translateY:g.oldtranslateY,scaleX:1,scaleY:1},g.animate(m,h),c&&c.animate(m,h),this.animate=null))}else d.apply(this,[].slice.call(arguments,1))})})(A);(function(d){var w=d.perspective,r=d.pick,t=d.Point,x=d.seriesTypes,y=d.wrap;y(x.scatter.prototype,\n",
521
+ "\"translate\",function(d){d.apply(this,[].slice.call(arguments,1));if(this.chart.is3d()){var m=this.chart,h=r(this.zAxis,m.options.zAxis[0]),t=[],g,c,b;for(b=0;b<this.data.length;b++)g=this.data[b],c=h.isLog&&h.val2lin?h.val2lin(g.z):g.z,g.plotZ=h.translate(c),g.isInside=g.isInside?c>=h.min&&c<=h.max:!1,t.push({x:g.plotX,y:g.plotY,z:g.plotZ});m=w(t,m,!0);for(b=0;b<this.data.length;b++)g=this.data[b],h=m[b],g.plotXold=g.plotX,g.plotYold=g.plotY,g.plotZold=g.plotZ,g.plotX=h.x,g.plotY=h.y,g.plotZ=h.z}});\n",
522
+ "y(x.scatter.prototype,\"init\",function(d,r,h){r.is3d()&&(this.axisTypes=[\"xAxis\",\"yAxis\",\"zAxis\"],this.pointArrayMap=[\"x\",\"y\",\"z\"],this.parallelArrays=[\"x\",\"y\",\"z\"],this.directTouch=!0);d=d.apply(this,[r,h]);this.chart.is3d()&&(this.tooltipOptions.pointFormat=this.userOptions.tooltip?this.userOptions.tooltip.pointFormat||\"x: \\x3cb\\x3e{point.x}\\x3c/b\\x3e\\x3cbr/\\x3ey: \\x3cb\\x3e{point.y}\\x3c/b\\x3e\\x3cbr/\\x3ez: \\x3cb\\x3e{point.z}\\x3c/b\\x3e\\x3cbr/\\x3e\":\"x: \\x3cb\\x3e{point.x}\\x3c/b\\x3e\\x3cbr/\\x3ey: \\x3cb\\x3e{point.y}\\x3c/b\\x3e\\x3cbr/\\x3ez: \\x3cb\\x3e{point.z}\\x3c/b\\x3e\\x3cbr/\\x3e\");\n",
523
+ "return d});y(x.scatter.prototype,\"pointAttribs\",function(m,r){var h=m.apply(this,[].slice.call(arguments,1));this.chart.is3d()&&r&&(h.zIndex=d.pointCameraDistance(r,this.chart));return h});y(t.prototype,\"applyOptions\",function(d){var m=d.apply(this,[].slice.call(arguments,1));this.series.chart.is3d()&&void 0===m.z&&(m.z=0);return m})})(A);(function(d){var w=d.Axis,r=d.SVGRenderer,t=d.VMLRenderer;t&&(d.setOptions({animate:!1}),t.prototype.face3d=r.prototype.face3d,t.prototype.polyhedron=r.prototype.polyhedron,\n",
524
+ "t.prototype.cuboid=r.prototype.cuboid,t.prototype.cuboidPath=r.prototype.cuboidPath,t.prototype.toLinePath=r.prototype.toLinePath,t.prototype.toLineSegments=r.prototype.toLineSegments,t.prototype.createElement3D=r.prototype.createElement3D,t.prototype.arc3d=function(d){d=r.prototype.arc3d.call(this,d);d.css({zIndex:d.zIndex});return d},d.VMLRenderer.prototype.arc3dPath=d.SVGRenderer.prototype.arc3dPath,d.wrap(w.prototype,\"render\",function(d){d.apply(this,[].slice.call(arguments,1));this.sideFrame&&\n",
525
+ "(this.sideFrame.css({zIndex:0}),this.sideFrame.front.attr({fill:this.sideFrame.color}));this.bottomFrame&&(this.bottomFrame.css({zIndex:1}),this.bottomFrame.front.attr({fill:this.bottomFrame.color}));this.backFrame&&(this.backFrame.css({zIndex:0}),this.backFrame.front.attr({fill:this.backFrame.color}))}))})(A)});\n",
526
+ "\n",
527
+ " /* END highcharts-3d.js*/\n",
528
+ "\n",
529
+ "\n",
530
+ "var event = document.createEvent(\"HTMLEvents\");\n",
531
+ "event.initEvent(\"load_highcharts\", false, false);\n",
532
+ "window.dispatchEvent(event);\n",
533
+ "console.log(\"Finish loading highchartsjs\");\n",
534
+ "\n"
535
+ ],
536
+ "text/plain": [
537
+ "\"\\n /* BEGIN highcharts.js */\\n\\n/*\\n Highcharts JS v5.0.12 (2017-05-24)\\n\\n (c) 2009-2016 Torstein Honsi\\n\\n License: www.highcharts.com/license\\n*/\\n(function(K,S){\\\"object\\\"===typeof module&&module.exports?module.exports=K.document?S(K):S:K.Highcharts=S(K)})(\\\"undefined\\\"!==typeof window?window:this,function(K){K=function(){var a=window,C=a.document,A=a.navigator&&a.navigator.userAgent||\\\"\\\",G=C&&C.createElementNS&&!!C.createElementNS(\\\"http://www.w3.org/2000/svg\\\",\\\"svg\\\").createSVGRect,F=/(edge|msie|trident)/i.test(A)&&!window.opera,m=!G,g=/Firefox/.test(A),k=g&&4>parseInt(A.split(\\\"Firefox/\\\")[1],10);return a.Highcharts?a.Highcharts.error(16,!0):{product:\\\"Highcharts\\\",\\nversion:\\\"5.0.12\\\",deg2rad:2*Math.PI/360,doc:C,hasBidiBug:k,hasTouch:C&&void 0!==C.documentElement.ontouchstart,isMS:F,isWebKit:/AppleWebKit/.test(A),isFirefox:g,isTouchDevice:/(Mobile|Android|Windows Phone)/.test(A),SVG_NS:\\\"http://www.w3.org/2000/svg\\\",chartCount:0,seriesTypes:{},symbolSizes:{},svg:G,vml:m,win:a,marginNames:[\\\"plotTop\\\",\\\"marginRight\\\",\\\"marginBottom\\\",\\\"plotLeft\\\"],noop:function(){},charts:[]}}();(function(a){var C=[],A=a.charts,G=a.doc,F=a.win;a.error=function(m,g){m=a.isNumber(m)?\\\"Highcharts error #\\\"+\\nm+\\\": www.highcharts.com/errors/\\\"+m:m;if(g)throw Error(m);F.console&&console.log(m)};a.Fx=function(a,g,k){this.options=g;this.elem=a;this.prop=k};a.Fx.prototype={dSetter:function(){var a=this.paths[0],g=this.paths[1],k=[],q=this.now,v=a.length,u;if(1===q)k=this.toD;else if(v===g.length&&1>q)for(;v--;)u=parseFloat(a[v]),k[v]=isNaN(u)?a[v]:q*parseFloat(g[v]-u)+u;else k=g;this.elem.attr(\\\"d\\\",k,null,!0)},update:function(){var a=this.elem,g=this.prop,k=this.now,q=this.options.step;if(this[g+\\\"Setter\\\"])this[g+\\n\\\"Setter\\\"]();else a.attr?a.element&&a.attr(g,k,null,!0):a.style[g]=k+this.unit;q&&q.call(a,k,this)},run:function(a,g,k){var m=this,v=function(a){return v.stopped?!1:m.step(a)},u;this.startTime=+new Date;this.start=a;this.end=g;this.unit=k;this.now=this.start;this.pos=0;v.elem=this.elem;v.prop=this.prop;v()&&1===C.push(v)&&(v.timerId=setInterval(function(){for(u=0;u<C.length;u++)C[u]()||C.splice(u--,1);C.length||clearInterval(v.timerId)},13))},step:function(m){var g=+new Date,k,q=this.options,v=this.elem,\\nu=q.complete,h=q.duration,e=q.curAnim;v.attr&&!v.element?m=!1:m||g>=h+this.startTime?(this.now=this.end,this.pos=1,this.update(),k=e[this.prop]=!0,a.objectEach(e,function(a){!0!==a&&(k=!1)}),k&&u&&u.call(v),m=!1):(this.pos=q.easing((g-this.startTime)/h),this.now=this.start+(this.end-this.start)*this.pos,this.update(),m=!0);return m},initPath:function(m,g,k){function q(a){var b,l;for(y=a.length;y--;)b=\\\"M\\\"===a[y]||\\\"L\\\"===a[y],l=/[a-zA-Z]/.test(a[y+3]),b&&l&&a.splice(y+1,0,a[y+1],a[y+2],a[y+1],a[y+2])}\\nfunction v(a,b){for(;a.length<w;){a[0]=b[w-a.length];var l=a.slice(0,c);[].splice.apply(a,[0,0].concat(l));D&&(l=a.slice(a.length-c),[].splice.apply(a,[a.length,0].concat(l)),y--)}a[0]=\\\"M\\\"}function u(a,l){for(var r=(w-a.length)/c;0<r&&r--;)b=a.slice().splice(a.length/H-c,c*H),b[0]=l[w-c-r*c],d&&(b[c-6]=b[c-2],b[c-5]=b[c-1]),[].splice.apply(a,[a.length/H,0].concat(b)),D&&r--}g=g||\\\"\\\";var h,e=m.startX,n=m.endX,d=-1<g.indexOf(\\\"C\\\"),c=d?7:3,w,b,y;g=g.split(\\\" \\\");k=k.slice();var D=m.isArea,H=D?2:1,l;d&&(q(g),\\nq(k));if(e&&n){for(y=0;y<e.length;y++)if(e[y]===n[0]){h=y;break}else if(e[0]===n[n.length-e.length+y]){h=y;l=!0;break}void 0===h&&(g=[])}g.length&&a.isNumber(h)&&(w=k.length+h*H*c,l?(v(g,k),u(k,g)):(v(k,g),u(g,k)));return[g,k]}};a.Fx.prototype.fillSetter=a.Fx.prototype.strokeSetter=function(){this.elem.attr(this.prop,a.color(this.start).tweenTo(a.color(this.end),this.pos),null,!0)};a.extend=function(a,g){var m;a||(a={});for(m in g)a[m]=g[m];return a};a.merge=function(){var m,g=arguments,k,q={},v=\\nfunction(g,h){\\\"object\\\"!==typeof g&&(g={});a.objectEach(h,function(e,n){!a.isObject(e,!0)||a.isClass(e)||a.isDOMElement(e)?g[n]=h[n]:g[n]=v(g[n]||{},e)});return g};!0===g[0]&&(q=g[1],g=Array.prototype.slice.call(g,2));k=g.length;for(m=0;m<k;m++)q=v(q,g[m]);return q};a.pInt=function(a,g){return parseInt(a,g||10)};a.isString=function(a){return\\\"string\\\"===typeof a};a.isArray=function(a){a=Object.prototype.toString.call(a);return\\\"[object Array]\\\"===a||\\\"[object Array Iterator]\\\"===a};a.isObject=function(m,\\ng){return!!m&&\\\"object\\\"===typeof m&&(!g||!a.isArray(m))};a.isDOMElement=function(m){return a.isObject(m)&&\\\"number\\\"===typeof m.nodeType};a.isClass=function(m){var g=m&&m.constructor;return!(!a.isObject(m,!0)||a.isDOMElement(m)||!g||!g.name||\\\"Object\\\"===g.name)};a.isNumber=function(a){return\\\"number\\\"===typeof a&&!isNaN(a)};a.erase=function(a,g){for(var m=a.length;m--;)if(a[m]===g){a.splice(m,1);break}};a.defined=function(a){return void 0!==a&&null!==a};a.attr=function(m,g,k){var q;a.isString(g)?a.defined(k)?\\nm.setAttribute(g,k):m&&m.getAttribute&&(q=m.getAttribute(g)):a.defined(g)&&a.isObject(g)&&a.objectEach(g,function(a,g){m.setAttribute(g,a)});return q};a.splat=function(m){return a.isArray(m)?m:[m]};a.syncTimeout=function(a,g,k){if(g)return setTimeout(a,g,k);a.call(0,k)};a.pick=function(){var a=arguments,g,k,q=a.length;for(g=0;g<q;g++)if(k=a[g],void 0!==k&&null!==k)return k};a.css=function(m,g){a.isMS&&!a.svg&&g&&void 0!==g.opacity&&(g.filter=\\\"alpha(opacity\\\\x3d\\\"+100*g.opacity+\\\")\\\");a.extend(m.style,\\ng)};a.createElement=function(m,g,k,q,v){m=G.createElement(m);var u=a.css;g&&a.extend(m,g);v&&u(m,{padding:0,border:\\\"none\\\",margin:0});k&&u(m,k);q&&q.appendChild(m);return m};a.extendClass=function(m,g){var k=function(){};k.prototype=new m;a.extend(k.prototype,g);return k};a.pad=function(a,g,k){return Array((g||2)+1-String(a).length).join(k||0)+a};a.relativeLength=function(a,g){return/%$/.test(a)?g*parseFloat(a)/100:parseFloat(a)};a.wrap=function(a,g,k){var q=a[g];a[g]=function(){var a=Array.prototype.slice.call(arguments),\\ng=arguments,h=this;h.proceed=function(){q.apply(h,arguments.length?arguments:g)};a.unshift(q);a=k.apply(this,a);h.proceed=null;return a}};a.getTZOffset=function(m){var g=a.Date;return 6E4*(g.hcGetTimezoneOffset&&g.hcGetTimezoneOffset(m)||g.hcTimezoneOffset||0)};a.dateFormat=function(m,g,k){if(!a.defined(g)||isNaN(g))return a.defaultOptions.lang.invalidDate||\\\"\\\";m=a.pick(m,\\\"%Y-%m-%d %H:%M:%S\\\");var q=a.Date,v=new q(g-a.getTZOffset(g)),u=v[q.hcGetHours](),h=v[q.hcGetDay](),e=v[q.hcGetDate](),n=v[q.hcGetMonth](),\\nd=v[q.hcGetFullYear](),c=a.defaultOptions.lang,w=c.weekdays,b=c.shortWeekdays,y=a.pad,q=a.extend({a:b?b[h]:w[h].substr(0,3),A:w[h],d:y(e),e:y(e,2,\\\" \\\"),w:h,b:c.shortMonths[n],B:c.months[n],m:y(n+1),y:d.toString().substr(2,2),Y:d,H:y(u),k:u,I:y(u%12||12),l:u%12||12,M:y(v[q.hcGetMinutes]()),p:12>u?\\\"AM\\\":\\\"PM\\\",P:12>u?\\\"am\\\":\\\"pm\\\",S:y(v.getSeconds()),L:y(Math.round(g%1E3),3)},a.dateFormats);a.objectEach(q,function(a,b){for(;-1!==m.indexOf(\\\"%\\\"+b);)m=m.replace(\\\"%\\\"+b,\\\"function\\\"===typeof a?a(g):a)});return k?m.substr(0,\\n1).toUpperCase()+m.substr(1):m};a.formatSingle=function(m,g){var k=/\\\\.([0-9])/,q=a.defaultOptions.lang;/f$/.test(m)?(k=(k=m.match(k))?k[1]:-1,null!==g&&(g=a.numberFormat(g,k,q.decimalPoint,-1<m.indexOf(\\\",\\\")?q.thousandsSep:\\\"\\\"))):g=a.dateFormat(m,g);return g};a.format=function(m,g){for(var k=\\\"{\\\",q=!1,v,u,h,e,n=[],d;m;){k=m.indexOf(k);if(-1===k)break;v=m.slice(0,k);if(q){v=v.split(\\\":\\\");u=v.shift().split(\\\".\\\");e=u.length;d=g;for(h=0;h<e;h++)d=d[u[h]];v.length&&(d=a.formatSingle(v.join(\\\":\\\"),d));n.push(d)}else n.push(v);\\nm=m.slice(k+1);k=(q=!q)?\\\"}\\\":\\\"{\\\"}n.push(m);return n.join(\\\"\\\")};a.getMagnitude=function(a){return Math.pow(10,Math.floor(Math.log(a)/Math.LN10))};a.normalizeTickInterval=function(m,g,k,q,v){var u,h=m;k=a.pick(k,1);u=m/k;g||(g=v?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===q&&(1===k?g=a.grep(g,function(a){return 0===a%1}):.1>=k&&(g=[1/k])));for(q=0;q<g.length&&!(h=g[q],v&&h*k>=m||!v&&u<=(g[q]+(g[q+1]||g[q]))/2);q++);return h=a.correctFloat(h*k,-Math.round(Math.log(.001)/Math.LN10))};a.stableSort=\\nfunction(a,g){var k=a.length,q,m;for(m=0;m<k;m++)a[m].safeI=m;a.sort(function(a,h){q=g(a,h);return 0===q?a.safeI-h.safeI:q});for(m=0;m<k;m++)delete a[m].safeI};a.arrayMin=function(a){for(var g=a.length,k=a[0];g--;)a[g]<k&&(k=a[g]);return k};a.arrayMax=function(a){for(var g=a.length,k=a[0];g--;)a[g]>k&&(k=a[g]);return k};a.destroyObjectProperties=function(m,g){a.objectEach(m,function(a,q){a&&a!==g&&a.destroy&&a.destroy();delete m[q]})};a.discardElement=function(m){var g=a.garbageBin;g||(g=a.createElement(\\\"div\\\"));\\nm&&g.appendChild(m);g.innerHTML=\\\"\\\"};a.correctFloat=function(a,g){return parseFloat(a.toPrecision(g||14))};a.setAnimation=function(m,g){g.renderer.globalAnimation=a.pick(m,g.options.chart.animation,!0)};a.animObject=function(m){return a.isObject(m)?a.merge(m):{duration:m?500:0}};a.timeUnits={millisecond:1,second:1E3,minute:6E4,hour:36E5,day:864E5,week:6048E5,month:24192E5,year:314496E5};a.numberFormat=function(m,g,k,q){m=+m||0;g=+g;var v=a.defaultOptions.lang,u=(m.toString().split(\\\".\\\")[1]||\\\"\\\").length,\\nh,e;-1===g?g=Math.min(u,20):a.isNumber(g)||(g=2);e=(Math.abs(m)+Math.pow(10,-Math.max(g,u)-1)).toFixed(g);u=String(a.pInt(e));h=3<u.length?u.length%3:0;k=a.pick(k,v.decimalPoint);q=a.pick(q,v.thousandsSep);m=(0>m?\\\"-\\\":\\\"\\\")+(h?u.substr(0,h)+q:\\\"\\\");m+=u.substr(h).replace(/(\\\\d{3})(?=\\\\d)/g,\\\"$1\\\"+q);g&&(m+=k+e.slice(-g));return m};Math.easeInOutSine=function(a){return-.5*(Math.cos(Math.PI*a)-1)};a.getStyle=function(m,g,k){if(\\\"width\\\"===g)return Math.min(m.offsetWidth,m.scrollWidth)-a.getStyle(m,\\\"padding-left\\\")-\\na.getStyle(m,\\\"padding-right\\\");if(\\\"height\\\"===g)return Math.min(m.offsetHeight,m.scrollHeight)-a.getStyle(m,\\\"padding-top\\\")-a.getStyle(m,\\\"padding-bottom\\\");if(m=F.getComputedStyle(m,void 0))m=m.getPropertyValue(g),a.pick(k,!0)&&(m=a.pInt(m));return m};a.inArray=function(a,g){return g.indexOf?g.indexOf(a):[].indexOf.call(g,a)};a.grep=function(a,g){return[].filter.call(a,g)};a.find=function(a,g){return[].find.call(a,g)};a.map=function(a,g){for(var k=[],q=0,m=a.length;q<m;q++)k[q]=g.call(a[q],a[q],q,a);\\nreturn k};a.offset=function(a){var g=G.documentElement;a=a.getBoundingClientRect();return{top:a.top+(F.pageYOffset||g.scrollTop)-(g.clientTop||0),left:a.left+(F.pageXOffset||g.scrollLeft)-(g.clientLeft||0)}};a.stop=function(a,g){for(var k=C.length;k--;)C[k].elem!==a||g&&g!==C[k].prop||(C[k].stopped=!0)};a.each=function(a,g,k){return Array.prototype.forEach.call(a,g,k)};a.objectEach=function(a,g,k){for(var q in a)a.hasOwnProperty(q)&&g.call(k,a[q],q,a)};a.addEvent=function(m,g,k){function q(a){a.target=\\na.srcElement||F;k.call(m,a)}var v=m.hcEvents=m.hcEvents||{};m.addEventListener?m.addEventListener(g,k,!1):m.attachEvent&&(m.hcEventsIE||(m.hcEventsIE={}),m.hcEventsIE[k.toString()]=q,m.attachEvent(\\\"on\\\"+g,q));v[g]||(v[g]=[]);v[g].push(k);return function(){a.removeEvent(m,g,k)}};a.removeEvent=function(m,g,k){function q(a,d){m.removeEventListener?m.removeEventListener(a,d,!1):m.attachEvent&&(d=m.hcEventsIE[d.toString()],m.detachEvent(\\\"on\\\"+a,d))}function v(){var e,d;m.nodeName&&(g?(e={},e[g]=!0):e=h,\\na.objectEach(e,function(a,e){if(h[e])for(d=h[e].length;d--;)q(e,h[e][d])}))}var u,h=m.hcEvents,e;h&&(g?(u=h[g]||[],k?(e=a.inArray(k,u),-1<e&&(u.splice(e,1),h[g]=u),q(g,k)):(v(),h[g]=[])):(v(),m.hcEvents={}))};a.fireEvent=function(m,g,k,q){var v;v=m.hcEvents;var u,h;k=k||{};if(G.createEvent&&(m.dispatchEvent||m.fireEvent))v=G.createEvent(\\\"Events\\\"),v.initEvent(g,!0,!0),a.extend(v,k),m.dispatchEvent?m.dispatchEvent(v):m.fireEvent(g,v);else if(v)for(v=v[g]||[],u=v.length,k.target||a.extend(k,{preventDefault:function(){k.defaultPrevented=\\n!0},target:m,type:g}),g=0;g<u;g++)(h=v[g])&&!1===h.call(m,k)&&k.preventDefault();q&&!k.defaultPrevented&&q(k)};a.animate=function(m,g,k){var q,v=\\\"\\\",u,h,e;a.isObject(k)||(e=arguments,k={duration:e[2],easing:e[3],complete:e[4]});a.isNumber(k.duration)||(k.duration=400);k.easing=\\\"function\\\"===typeof k.easing?k.easing:Math[k.easing]||Math.easeInOutSine;k.curAnim=a.merge(g);a.objectEach(g,function(e,d){a.stop(m,d);h=new a.Fx(m,k,d);u=null;\\\"d\\\"===d?(h.paths=h.initPath(m,m.d,g.d),h.toD=g.d,q=0,u=1):m.attr?\\nq=m.attr(d):(q=parseFloat(a.getStyle(m,d))||0,\\\"opacity\\\"!==d&&(v=\\\"px\\\"));u||(u=e);u&&u.match&&u.match(\\\"px\\\")&&(u=u.replace(/px/g,\\\"\\\"));h.run(q,u,v)})};a.seriesType=function(m,g,k,q,v){var u=a.getOptions(),h=a.seriesTypes;if(h[m])return a.error(27);u.plotOptions[m]=a.merge(u.plotOptions[g],k);h[m]=a.extendClass(h[g]||function(){},q);h[m].prototype.type=m;v&&(h[m].prototype.pointClass=a.extendClass(a.Point,v));return h[m]};a.uniqueKey=function(){var a=Math.random().toString(36).substring(2,9),g=0;return function(){return\\\"highcharts-\\\"+\\na+\\\"-\\\"+g++}}();F.jQuery&&(F.jQuery.fn.highcharts=function(){var m=[].slice.call(arguments);if(this[0])return m[0]?(new (a[a.isString(m[0])?m.shift():\\\"Chart\\\"])(this[0],m[0],m[1]),this):A[a.attr(this[0],\\\"data-highcharts-chart\\\")]});G&&!G.defaultView&&(a.getStyle=function(m,g){var k={width:\\\"clientWidth\\\",height:\\\"clientHeight\\\"}[g];if(m.style[g])return a.pInt(m.style[g]);\\\"opacity\\\"===g&&(g=\\\"filter\\\");if(k)return m.style.zoom=1,Math.max(m[k]-2*a.getStyle(m,\\\"padding\\\"),0);m=m.currentStyle[g.replace(/\\\\-(\\\\w)/g,\\nfunction(a,g){return g.toUpperCase()})];\\\"filter\\\"===g&&(m=m.replace(/alpha\\\\(opacity=([0-9]+)\\\\)/,function(a,g){return g/100}));return\\\"\\\"===m?1:a.pInt(m)});Array.prototype.forEach||(a.each=function(a,g,k){for(var q=0,m=a.length;q<m;q++)if(!1===g.call(k,a[q],q,a))return q});Array.prototype.indexOf||(a.inArray=function(a,g){var k,q=0;if(g)for(k=g.length;q<k;q++)if(g[q]===a)return q;return-1});Array.prototype.filter||(a.grep=function(a,g){for(var k=[],q=0,m=a.length;q<m;q++)g(a[q],q)&&k.push(a[q]);return k});\\nArray.prototype.find||(a.find=function(a,g){var k,q=a.length;for(k=0;k<q;k++)if(g(a[k],k))return a[k]})})(K);(function(a){var C=a.each,A=a.isNumber,G=a.map,F=a.merge,m=a.pInt;a.Color=function(g){if(!(this instanceof a.Color))return new a.Color(g);this.init(g)};a.Color.prototype={parsers:[{regex:/rgba\\\\(\\\\s*([0-9]{1,3})\\\\s*,\\\\s*([0-9]{1,3})\\\\s*,\\\\s*([0-9]{1,3})\\\\s*,\\\\s*([0-9]?(?:\\\\.[0-9]+)?)\\\\s*\\\\)/,parse:function(a){return[m(a[1]),m(a[2]),m(a[3]),parseFloat(a[4],10)]}},{regex:/rgb\\\\(\\\\s*([0-9]{1,3})\\\\s*,\\\\s*([0-9]{1,3})\\\\s*,\\\\s*([0-9]{1,3})\\\\s*\\\\)/,\\nparse:function(a){return[m(a[1]),m(a[2]),m(a[3]),1]}}],names:{none:\\\"rgba(255,255,255,0)\\\",white:\\\"#ffffff\\\",black:\\\"#000000\\\"},init:function(g){var k,q,m,u;if((this.input=g=this.names[g&&g.toLowerCase?g.toLowerCase():\\\"\\\"]||g)&&g.stops)this.stops=G(g.stops,function(h){return new a.Color(h[1])});else if(g&&\\\"#\\\"===g[0]&&(k=g.length,g=parseInt(g.substr(1),16),7===k?q=[(g&16711680)>>16,(g&65280)>>8,g&255,1]:4===k&&(q=[(g&3840)>>4|(g&3840)>>8,(g&240)>>4|g&240,(g&15)<<4|g&15,1])),!q)for(m=this.parsers.length;m--&&\\n!q;)u=this.parsers[m],(k=u.regex.exec(g))&&(q=u.parse(k));this.rgba=q||[]},get:function(a){var g=this.input,q=this.rgba,m;this.stops?(m=F(g),m.stops=[].concat(m.stops),C(this.stops,function(g,h){m.stops[h]=[m.stops[h][0],g.get(a)]})):m=q&&A(q[0])?\\\"rgb\\\"===a||!a&&1===q[3]?\\\"rgb(\\\"+q[0]+\\\",\\\"+q[1]+\\\",\\\"+q[2]+\\\")\\\":\\\"a\\\"===a?q[3]:\\\"rgba(\\\"+q.join(\\\",\\\")+\\\")\\\":g;return m},brighten:function(a){var g,q=this.rgba;if(this.stops)C(this.stops,function(g){g.brighten(a)});else if(A(a)&&0!==a)for(g=0;3>g;g++)q[g]+=m(255*a),0>\\nq[g]&&(q[g]=0),255<q[g]&&(q[g]=255);return this},setOpacity:function(a){this.rgba[3]=a;return this},tweenTo:function(a,k){var g,m;a.rgba.length?(g=this.rgba,a=a.rgba,m=1!==a[3]||1!==g[3],a=(m?\\\"rgba(\\\":\\\"rgb(\\\")+Math.round(a[0]+(g[0]-a[0])*(1-k))+\\\",\\\"+Math.round(a[1]+(g[1]-a[1])*(1-k))+\\\",\\\"+Math.round(a[2]+(g[2]-a[2])*(1-k))+(m?\\\",\\\"+(a[3]+(g[3]-a[3])*(1-k)):\\\"\\\")+\\\")\\\"):a=a.input||\\\"none\\\";return a}};a.color=function(g){return new a.Color(g)}})(K);(function(a){var C,A,G=a.addEvent,F=a.animate,m=a.attr,g=a.charts,\\nk=a.color,q=a.css,v=a.createElement,u=a.defined,h=a.deg2rad,e=a.destroyObjectProperties,n=a.doc,d=a.each,c=a.extend,w=a.erase,b=a.grep,y=a.hasTouch,D=a.inArray,H=a.isArray,l=a.isFirefox,B=a.isMS,r=a.isObject,z=a.isString,M=a.isWebKit,p=a.merge,E=a.noop,I=a.objectEach,L=a.pick,f=a.pInt,t=a.removeEvent,R=a.stop,J=a.svg,N=a.SVG_NS,O=a.symbolSizes,P=a.win;C=a.SVGElement=function(){return this};c(C.prototype,{opacity:1,SVG_NS:N,textProps:\\\"direction fontSize fontWeight fontFamily fontStyle color lineHeight width textAlign textDecoration textOverflow textOutline\\\".split(\\\" \\\"),\\ninit:function(a,f){this.element=\\\"span\\\"===f?v(f):n.createElementNS(this.SVG_NS,f);this.renderer=a},animate:function(x,f,t){f=a.animObject(L(f,this.renderer.globalAnimation,!0));0!==f.duration?(t&&(f.complete=t),F(this,x,f)):(this.attr(x,null,t),f.step&&f.step.call(this));return this},colorGradient:function(x,f,t){var b=this.renderer,l,c,r,Q,e,h,n,y,E,w,J=[],B;x.radialGradient?c=\\\"radialGradient\\\":x.linearGradient&&(c=\\\"linearGradient\\\");c&&(r=x[c],e=b.gradients,n=x.stops,w=t.radialReference,H(r)&&(x[c]=\\nr={x1:r[0],y1:r[1],x2:r[2],y2:r[3],gradientUnits:\\\"userSpaceOnUse\\\"}),\\\"radialGradient\\\"===c&&w&&!u(r.gradientUnits)&&(Q=r,r=p(r,b.getRadialAttr(w,Q),{gradientUnits:\\\"userSpaceOnUse\\\"})),I(r,function(a,x){\\\"id\\\"!==x&&J.push(x,a)}),I(n,function(a){J.push(a)}),J=J.join(\\\",\\\"),e[J]?w=e[J].attr(\\\"id\\\"):(r.id=w=a.uniqueKey(),e[J]=h=b.createElement(c).attr(r).add(b.defs),h.radAttr=Q,h.stops=[],d(n,function(x){0===x[1].indexOf(\\\"rgba\\\")?(l=a.color(x[1]),y=l.get(\\\"rgb\\\"),E=l.get(\\\"a\\\")):(y=x[1],E=1);x=b.createElement(\\\"stop\\\").attr({offset:x[0],\\n\\\"stop-color\\\":y,\\\"stop-opacity\\\":E}).add(h);h.stops.push(x)})),B=\\\"url(\\\"+b.url+\\\"#\\\"+w+\\\")\\\",t.setAttribute(f,B),t.gradient=J,x.toString=function(){return B})},applyTextOutline:function(x){var f=this.element,t,b,l,c,r;-1!==x.indexOf(\\\"contrast\\\")&&(x=x.replace(/contrast/g,this.renderer.getContrast(f.style.fill)));x=x.split(\\\" \\\");b=x[x.length-1];if((l=x[0])&&\\\"none\\\"!==l&&a.svg){this.fakeTS=!0;x=[].slice.call(f.getElementsByTagName(\\\"tspan\\\"));this.ySetter=this.xSetter;l=l.replace(/(^[\\\\d\\\\.]+)(.*?)$/g,function(a,\\nx,f){return 2*x+f});for(r=x.length;r--;)t=x[r],\\\"highcharts-text-outline\\\"===t.getAttribute(\\\"class\\\")&&w(x,f.removeChild(t));c=f.firstChild;d(x,function(a,x){0===x&&(a.setAttribute(\\\"x\\\",f.getAttribute(\\\"x\\\")),x=f.getAttribute(\\\"y\\\"),a.setAttribute(\\\"y\\\",x||0),null===x&&f.setAttribute(\\\"y\\\",0));a=a.cloneNode(1);m(a,{\\\"class\\\":\\\"highcharts-text-outline\\\",fill:b,stroke:b,\\\"stroke-width\\\":l,\\\"stroke-linejoin\\\":\\\"round\\\"});f.insertBefore(a,c)})}},attr:function(a,f,t,b){var x,l=this.element,c,r=this,d,p;\\\"string\\\"===typeof a&&\\nvoid 0!==f&&(x=a,a={},a[x]=f);\\\"string\\\"===typeof a?r=(this[a+\\\"Getter\\\"]||this._defaultGetter).call(this,a,l):(I(a,function(x,f){d=!1;b||R(this,f);this.symbolName&&/^(x|y|width|height|r|start|end|innerR|anchorX|anchorY)$/.test(f)&&(c||(this.symbolAttr(a),c=!0),d=!0);!this.rotation||\\\"x\\\"!==f&&\\\"y\\\"!==f||(this.doTransform=!0);d||(p=this[f+\\\"Setter\\\"]||this._defaultSetter,p.call(this,x,f,l),this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(f)&&this.updateShadows(f,x,p))},this),this.afterSetters());\\nt&&t();return r},afterSetters:function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},updateShadows:function(a,f,t){for(var x=this.shadows,b=x.length;b--;)t.call(x[b],\\\"height\\\"===a?Math.max(f-(x[b].cutHeight||0),0):\\\"d\\\"===a?this.d:f,a,x[b])},addClass:function(a,f){var x=this.attr(\\\"class\\\")||\\\"\\\";-1===x.indexOf(a)&&(f||(a=(x+(x?\\\" \\\":\\\"\\\")+a).replace(\\\" \\\",\\\" \\\")),this.attr(\\\"class\\\",a));return this},hasClass:function(a){return-1!==m(this.element,\\\"class\\\").indexOf(a)},removeClass:function(a){m(this.element,\\n\\\"class\\\",(m(this.element,\\\"class\\\")||\\\"\\\").replace(a,\\\"\\\"));return this},symbolAttr:function(a){var x=this;d(\\\"x y r start end width height innerR anchorX anchorY\\\".split(\\\" \\\"),function(f){x[f]=L(a[f],x[f])});x.attr({d:x.renderer.symbols[x.symbolName](x.x,x.y,x.width,x.height,x)})},clip:function(a){return this.attr(\\\"clip-path\\\",a?\\\"url(\\\"+this.renderer.url+\\\"#\\\"+a.id+\\\")\\\":\\\"none\\\")},crisp:function(a,f){var x=this,t={},b;f=f||a.strokeWidth||0;b=Math.round(f)%2/2;a.x=Math.floor(a.x||x.x||0)+b;a.y=Math.floor(a.y||x.y||\\n0)+b;a.width=Math.floor((a.width||x.width||0)-2*b);a.height=Math.floor((a.height||x.height||0)-2*b);u(a.strokeWidth)&&(a.strokeWidth=f);I(a,function(a,f){x[f]!==a&&(x[f]=t[f]=a)});return t},css:function(a){var x=this.styles,t={},b=this.element,l,r=\\\"\\\",d,p=!x,e=[\\\"textOutline\\\",\\\"textOverflow\\\",\\\"width\\\"];a&&a.color&&(a.fill=a.color);x&&I(a,function(a,f){a!==x[f]&&(t[f]=a,p=!0)});p&&(x&&(a=c(x,t)),l=this.textWidth=a&&a.width&&\\\"auto\\\"!==a.width&&\\\"text\\\"===b.nodeName.toLowerCase()&&f(a.width),this.styles=a,l&&\\n!J&&this.renderer.forExport&&delete a.width,B&&!J?q(this.element,a):(d=function(a,x){return\\\"-\\\"+x.toLowerCase()},I(a,function(a,x){-1===D(x,e)&&(r+=x.replace(/([A-Z])/g,d)+\\\":\\\"+a+\\\";\\\")}),r&&m(b,\\\"style\\\",r)),this.added&&(\\\"text\\\"===this.element.nodeName&&this.renderer.buildText(this),a&&a.textOutline&&this.applyTextOutline(a.textOutline)));return this},strokeWidth:function(){return this[\\\"stroke-width\\\"]||0},on:function(a,f){var x=this,t=x.element;y&&\\\"click\\\"===a?(t.ontouchstart=function(a){x.touchEventFired=\\nDate.now();a.preventDefault();f.call(t,a)},t.onclick=function(a){(-1===P.navigator.userAgent.indexOf(\\\"Android\\\")||1100<Date.now()-(x.touchEventFired||0))&&f.call(t,a)}):t[\\\"on\\\"+a]=f;return this},setRadialReference:function(a){var x=this.renderer.gradients[this.element.gradient];this.element.radialReference=a;x&&x.radAttr&&x.animate(this.renderer.getRadialAttr(a,x.radAttr));return this},translate:function(a,f){return this.attr({translateX:a,translateY:f})},invert:function(a){this.inverted=a;this.updateTransform();\\nreturn this},updateTransform:function(){var a=this.translateX||0,f=this.translateY||0,t=this.scaleX,b=this.scaleY,l=this.inverted,c=this.rotation,r=this.element;l&&(a+=this.width,f+=this.height);a=[\\\"translate(\\\"+a+\\\",\\\"+f+\\\")\\\"];l?a.push(\\\"rotate(90) scale(-1,1)\\\"):c&&a.push(\\\"rotate(\\\"+c+\\\" \\\"+(r.getAttribute(\\\"x\\\")||0)+\\\" \\\"+(r.getAttribute(\\\"y\\\")||0)+\\\")\\\");(u(t)||u(b))&&a.push(\\\"scale(\\\"+L(t,1)+\\\" \\\"+L(b,1)+\\\")\\\");a.length&&r.setAttribute(\\\"transform\\\",a.join(\\\" \\\"))},toFront:function(){var a=this.element;a.parentNode.appendChild(a);\\nreturn this},align:function(a,f,t){var x,b,l,c,r={};b=this.renderer;l=b.alignedObjects;var d,p;if(a){if(this.alignOptions=a,this.alignByTranslate=f,!t||z(t))this.alignTo=x=t||\\\"renderer\\\",w(l,this),l.push(this),t=null}else a=this.alignOptions,f=this.alignByTranslate,x=this.alignTo;t=L(t,b[x],b);x=a.align;b=a.verticalAlign;l=(t.x||0)+(a.x||0);c=(t.y||0)+(a.y||0);\\\"right\\\"===x?d=1:\\\"center\\\"===x&&(d=2);d&&(l+=(t.width-(a.width||0))/d);r[f?\\\"translateX\\\":\\\"x\\\"]=Math.round(l);\\\"bottom\\\"===b?p=1:\\\"middle\\\"===b&&(p=\\n2);p&&(c+=(t.height-(a.height||0))/p);r[f?\\\"translateY\\\":\\\"y\\\"]=Math.round(c);this[this.placed?\\\"animate\\\":\\\"attr\\\"](r);this.placed=!0;this.alignAttr=r;return this},getBBox:function(a,f){var x,t=this.renderer,b,l=this.element,r=this.styles,p,e=this.textStr,n,Q=t.cache,y=t.cacheKeys,E;f=L(f,this.rotation);b=f*h;p=r&&r.fontSize;void 0!==e&&(E=e.toString(),-1===E.indexOf(\\\"\\\\x3c\\\")&&(E=E.replace(/[0-9]/g,\\\"0\\\")),E+=[\\\"\\\",f||0,p,r&&r.width,r&&r.textOverflow].join());E&&!a&&(x=Q[E]);if(!x){if(l.namespaceURI===this.SVG_NS||\\nt.forExport){try{(n=this.fakeTS&&function(a){d(l.querySelectorAll(\\\".highcharts-text-outline\\\"),function(x){x.style.display=a})})&&n(\\\"none\\\"),x=l.getBBox?c({},l.getBBox()):{width:l.offsetWidth,height:l.offsetHeight},n&&n(\\\"\\\")}catch(X){}if(!x||0>x.width)x={width:0,height:0}}else x=this.htmlGetBBox();t.isSVG&&(a=x.width,t=x.height,r&&\\\"11px\\\"===r.fontSize&&17===Math.round(t)&&(x.height=t=14),f&&(x.width=Math.abs(t*Math.sin(b))+Math.abs(a*Math.cos(b)),x.height=Math.abs(t*Math.cos(b))+Math.abs(a*Math.sin(b))));\\nif(E&&0<x.height){for(;250<y.length;)delete Q[y.shift()];Q[E]||y.push(E);Q[E]=x}}return x},show:function(a){return this.attr({visibility:a?\\\"inherit\\\":\\\"visible\\\"})},hide:function(){return this.attr({visibility:\\\"hidden\\\"})},fadeOut:function(a){var x=this;x.animate({opacity:0},{duration:a||150,complete:function(){x.attr({y:-9999})}})},add:function(a){var x=this.renderer,f=this.element,t;a&&(this.parentGroup=a);this.parentInverted=a&&a.inverted;void 0!==this.textStr&&x.buildText(this);this.added=!0;if(!a||\\na.handleZ||this.zIndex)t=this.zIndexSetter();t||(a?a.element:x.box).appendChild(f);if(this.onAdd)this.onAdd();return this},safeRemoveChild:function(a){var x=a.parentNode;x&&x.removeChild(a)},destroy:function(){var a=this,f=a.element||{},t=a.renderer.isSVG&&\\\"SPAN\\\"===f.nodeName&&a.parentGroup,b=f.ownerSVGElement;f.onclick=f.onmouseout=f.onmouseover=f.onmousemove=f.point=null;R(a);a.clipPath&&b&&(d(b.querySelectorAll(\\\"[clip-path]\\\"),function(x){-1<x.getAttribute(\\\"clip-path\\\").indexOf(a.clipPath.element.id+\\n\\\")\\\")&&x.removeAttribute(\\\"clip-path\\\")}),a.clipPath=a.clipPath.destroy());if(a.stops){for(b=0;b<a.stops.length;b++)a.stops[b]=a.stops[b].destroy();a.stops=null}a.safeRemoveChild(f);for(a.destroyShadows();t&&t.div&&0===t.div.childNodes.length;)f=t.parentGroup,a.safeRemoveChild(t.div),delete t.div,t=f;a.alignTo&&w(a.renderer.alignedObjects,a);I(a,function(x,f){delete a[f]});return null},shadow:function(a,f,t){var x=[],b,l,c=this.element,r,d,p,e;if(!a)this.destroyShadows();else if(!this.shadows){d=L(a.width,\\n3);p=(a.opacity||.15)/d;e=this.parentInverted?\\\"(-1,-1)\\\":\\\"(\\\"+L(a.offsetX,1)+\\\", \\\"+L(a.offsetY,1)+\\\")\\\";for(b=1;b<=d;b++)l=c.cloneNode(0),r=2*d+1-2*b,m(l,{isShadow:\\\"true\\\",stroke:a.color||\\\"#000000\\\",\\\"stroke-opacity\\\":p*b,\\\"stroke-width\\\":r,transform:\\\"translate\\\"+e,fill:\\\"none\\\"}),t&&(m(l,\\\"height\\\",Math.max(m(l,\\\"height\\\")-r,0)),l.cutHeight=r),f?f.element.appendChild(l):c.parentNode.insertBefore(l,c),x.push(l);this.shadows=x}return this},destroyShadows:function(){d(this.shadows||[],function(a){this.safeRemoveChild(a)},\\nthis);this.shadows=void 0},xGetter:function(a){\\\"circle\\\"===this.element.nodeName&&(\\\"x\\\"===a?a=\\\"cx\\\":\\\"y\\\"===a&&(a=\\\"cy\\\"));return this._defaultGetter(a)},_defaultGetter:function(a){a=L(this[a],this.element?this.element.getAttribute(a):null,0);/^[\\\\-0-9\\\\.]+$/.test(a)&&(a=parseFloat(a));return a},dSetter:function(a,f,t){a&&a.join&&(a=a.join(\\\" \\\"));/(NaN| {2}|^$)/.test(a)&&(a=\\\"M 0 0\\\");t.setAttribute(f,a);this[f]=a},dashstyleSetter:function(a){var x,t=this[\\\"stroke-width\\\"];\\\"inherit\\\"===t&&(t=1);if(a=a&&a.toLowerCase()){a=\\na.replace(\\\"shortdashdotdot\\\",\\\"3,1,1,1,1,1,\\\").replace(\\\"shortdashdot\\\",\\\"3,1,1,1\\\").replace(\\\"shortdot\\\",\\\"1,1,\\\").replace(\\\"shortdash\\\",\\\"3,1,\\\").replace(\\\"longdash\\\",\\\"8,3,\\\").replace(/dot/g,\\\"1,3,\\\").replace(\\\"dash\\\",\\\"4,3,\\\").replace(/,$/,\\\"\\\").split(\\\",\\\");for(x=a.length;x--;)a[x]=f(a[x])*t;a=a.join(\\\",\\\").replace(/NaN/g,\\\"none\\\");this.element.setAttribute(\\\"stroke-dasharray\\\",a)}},alignSetter:function(a){this.element.setAttribute(\\\"text-anchor\\\",{left:\\\"start\\\",center:\\\"middle\\\",right:\\\"end\\\"}[a])},opacitySetter:function(a,f,t){this[f]=\\na;t.setAttribute(f,a)},titleSetter:function(a){var f=this.element.getElementsByTagName(\\\"title\\\")[0];f||(f=n.createElementNS(this.SVG_NS,\\\"title\\\"),this.element.appendChild(f));f.firstChild&&f.removeChild(f.firstChild);f.appendChild(n.createTextNode(String(L(a),\\\"\\\").replace(/<[^>]*>/g,\\\"\\\")))},textSetter:function(a){a!==this.textStr&&(delete this.bBox,this.textStr=a,this.added&&this.renderer.buildText(this))},fillSetter:function(a,f,t){\\\"string\\\"===typeof a?t.setAttribute(f,a):a&&this.colorGradient(a,f,t)},\\nvisibilitySetter:function(a,f,t){\\\"inherit\\\"===a?t.removeAttribute(f):t.setAttribute(f,a)},zIndexSetter:function(a,t){var x=this.renderer,b=this.parentGroup,l=(b||x).element||x.box,c,r=this.element,d;c=this.added;var p;u(a)&&(r.zIndex=a,a=+a,this[t]===a&&(c=!1),this[t]=a);if(c){(a=this.zIndex)&&b&&(b.handleZ=!0);t=l.childNodes;for(p=0;p<t.length&&!d;p++)b=t[p],c=b.zIndex,b!==r&&(f(c)>a||!u(a)&&u(c)||0>a&&!u(c)&&l!==x.box)&&(l.insertBefore(r,b),d=!0);d||l.appendChild(r)}return d},_defaultSetter:function(a,\\nf,t){t.setAttribute(f,a)}});C.prototype.yGetter=C.prototype.xGetter;C.prototype.translateXSetter=C.prototype.translateYSetter=C.prototype.rotationSetter=C.prototype.verticalAlignSetter=C.prototype.scaleXSetter=C.prototype.scaleYSetter=function(a,f){this[f]=a;this.doTransform=!0};C.prototype[\\\"stroke-widthSetter\\\"]=C.prototype.strokeSetter=function(a,f,t){this[f]=a;this.stroke&&this[\\\"stroke-width\\\"]?(C.prototype.fillSetter.call(this,this.stroke,\\\"stroke\\\",t),t.setAttribute(\\\"stroke-width\\\",this[\\\"stroke-width\\\"]),\\nthis.hasStroke=!0):\\\"stroke-width\\\"===f&&0===a&&this.hasStroke&&(t.removeAttribute(\\\"stroke\\\"),this.hasStroke=!1)};A=a.SVGRenderer=function(){this.init.apply(this,arguments)};c(A.prototype,{Element:C,SVG_NS:N,init:function(a,f,t,b,c,r){var x;b=this.createElement(\\\"svg\\\").attr({version:\\\"1.1\\\",\\\"class\\\":\\\"highcharts-root\\\"}).css(this.getStyle(b));x=b.element;a.appendChild(x);-1===a.innerHTML.indexOf(\\\"xmlns\\\")&&m(x,\\\"xmlns\\\",this.SVG_NS);this.isSVG=!0;this.box=x;this.boxWrapper=b;this.alignedObjects=[];this.url=(l||\\nM)&&n.getElementsByTagName(\\\"base\\\").length?P.location.href.replace(/#.*?$/,\\\"\\\").replace(/<[^>]*>/g,\\\"\\\").replace(/([\\\\('\\\\)])/g,\\\"\\\\\\\\$1\\\").replace(/ /g,\\\"%20\\\"):\\\"\\\";this.createElement(\\\"desc\\\").add().element.appendChild(n.createTextNode(\\\"Created with Highcharts 5.0.12\\\"));this.defs=this.createElement(\\\"defs\\\").add();this.allowHTML=r;this.forExport=c;this.gradients={};this.cache={};this.cacheKeys=[];this.imgCount=0;this.setSize(f,t,!1);var d;l&&a.getBoundingClientRect&&(f=function(){q(a,{left:0,top:0});d=a.getBoundingClientRect();\\nq(a,{left:Math.ceil(d.left)-d.left+\\\"px\\\",top:Math.ceil(d.top)-d.top+\\\"px\\\"})},f(),this.unSubPixelFix=G(P,\\\"resize\\\",f))},getStyle:function(a){return this.style=c({fontFamily:'\\\"Lucida Grande\\\", \\\"Lucida Sans Unicode\\\", Arial, Helvetica, sans-serif',fontSize:\\\"12px\\\"},a)},setStyle:function(a){this.boxWrapper.css(this.getStyle(a))},isHidden:function(){return!this.boxWrapper.getBBox().width},destroy:function(){var a=this.defs;this.box=null;this.boxWrapper=this.boxWrapper.destroy();e(this.gradients||{});this.gradients=\\nnull;a&&(this.defs=a.destroy());this.unSubPixelFix&&this.unSubPixelFix();return this.alignedObjects=null},createElement:function(a){var f=new this.Element;f.init(this,a);return f},draw:E,getRadialAttr:function(a,f){return{cx:a[0]-a[2]/2+f.cx*a[2],cy:a[1]-a[2]/2+f.cy*a[2],r:f.r*a[2]}},getSpanWidth:function(a,f){var t=a.getBBox(!0).width;!J&&this.forExport&&(t=this.measureSpanWidth(f.firstChild.data,a.styles));return t},applyEllipsis:function(a,f,t,b){var x=this.getSpanWidth(a,f),l=x>b,x=t,c,r=0,d=\\nt.length,p=function(a){f.removeChild(f.firstChild);a&&f.appendChild(n.createTextNode(a))};if(l){for(;r<=d;)c=Math.ceil((r+d)/2),x=t.substring(0,c)+\\\"\\\\u2026\\\",p(x),x=this.getSpanWidth(a,f),r===d?r=d+1:x>b?d=c-1:r=c;0===d&&p(\\\"\\\")}return l},buildText:function(a){var t=a.element,x=this,l=x.forExport,c=L(a.textStr,\\\"\\\").toString(),r=-1!==c.indexOf(\\\"\\\\x3c\\\"),p=t.childNodes,e,h,E,y,w=m(t,\\\"x\\\"),B=a.styles,g=a.textWidth,I=B&&B.lineHeight,z=B&&B.textOutline,D=B&&\\\"ellipsis\\\"===B.textOverflow,k=B&&\\\"nowrap\\\"===B.whiteSpace,\\nu=B&&B.fontSize,R,H,v=p.length,B=g&&!a.added&&this.box,M=function(a){var b;b=/(px|em)$/.test(a&&a.style.fontSize)?a.style.fontSize:u||x.style.fontSize||12;return I?f(I):x.fontMetrics(b,a.getAttribute(\\\"style\\\")?a:t).h};R=[c,D,k,I,z,u,g].join();if(R!==a.textCache){for(a.textCache=R;v--;)t.removeChild(p[v]);r||z||D||g||-1!==c.indexOf(\\\" \\\")?(e=/<.*class=\\\"([^\\\"]+)\\\".*>/,h=/<.*style=\\\"([^\\\"]+)\\\".*>/,E=/<.*href=\\\"([^\\\"]+)\\\".*>/,B&&B.appendChild(t),c=r?c.replace(/<(b|strong)>/g,'\\\\x3cspan style\\\\x3d\\\"font-weight:bold\\\"\\\\x3e').replace(/<(i|em)>/g,\\n'\\\\x3cspan style\\\\x3d\\\"font-style:italic\\\"\\\\x3e').replace(/<a/g,\\\"\\\\x3cspan\\\").replace(/<\\\\/(b|strong|i|em|a)>/g,\\\"\\\\x3c/span\\\\x3e\\\").split(/<br.*?>/g):[c],c=b(c,function(a){return\\\"\\\"!==a}),d(c,function(f,b){var c,r=0;f=f.replace(/^\\\\s+|\\\\s+$/g,\\\"\\\").replace(/<span/g,\\\"|||\\\\x3cspan\\\").replace(/<\\\\/span>/g,\\\"\\\\x3c/span\\\\x3e|||\\\");c=f.split(\\\"|||\\\");d(c,function(f){if(\\\"\\\"!==f||1===c.length){var d={},p=n.createElementNS(x.SVG_NS,\\\"tspan\\\"),B,I;e.test(f)&&(B=f.match(e)[1],m(p,\\\"class\\\",B));h.test(f)&&(I=f.match(h)[1].replace(/(;| |^)color([ :])/,\\n\\\"$1fill$2\\\"),m(p,\\\"style\\\",I));E.test(f)&&!l&&(m(p,\\\"onclick\\\",'location.href\\\\x3d\\\"'+f.match(E)[1]+'\\\"'),q(p,{cursor:\\\"pointer\\\"}));f=(f.replace(/<(.|\\\\n)*?>/g,\\\"\\\")||\\\" \\\").replace(/&lt;/g,\\\"\\\\x3c\\\").replace(/&gt;/g,\\\"\\\\x3e\\\");if(\\\" \\\"!==f){p.appendChild(n.createTextNode(f));r?d.dx=0:b&&null!==w&&(d.x=w);m(p,d);t.appendChild(p);!r&&H&&(!J&&l&&q(p,{display:\\\"block\\\"}),m(p,\\\"dy\\\",M(p)));if(g){d=f.replace(/([^\\\\^])-/g,\\\"$1- \\\").split(\\\" \\\");B=1<c.length||b||1<d.length&&!k;var z=[],Q,u=M(p),R=a.rotation;for(D&&(y=x.applyEllipsis(a,\\np,f,g));!D&&B&&(d.length||z.length);)a.rotation=0,Q=x.getSpanWidth(a,p),f=Q>g,void 0===y&&(y=f),f&&1!==d.length?(p.removeChild(p.firstChild),z.unshift(d.pop())):(d=z,z=[],d.length&&!k&&(p=n.createElementNS(N,\\\"tspan\\\"),m(p,{dy:u,x:w}),I&&m(p,\\\"style\\\",I),t.appendChild(p)),Q>g&&(g=Q)),d.length&&p.appendChild(n.createTextNode(d.join(\\\" \\\").replace(/- /g,\\\"-\\\")));a.rotation=R}r++}}});H=H||t.childNodes.length}),y&&a.attr(\\\"title\\\",a.textStr),B&&B.removeChild(t),z&&a.applyTextOutline&&a.applyTextOutline(z)):t.appendChild(n.createTextNode(c.replace(/&lt;/g,\\n\\\"\\\\x3c\\\").replace(/&gt;/g,\\\"\\\\x3e\\\")))}},getContrast:function(a){a=k(a).rgba;return 510<a[0]+a[1]+a[2]?\\\"#000000\\\":\\\"#FFFFFF\\\"},button:function(a,f,t,b,l,r,d,e,h){var x=this.label(a,f,t,h,null,null,null,null,\\\"button\\\"),n=0;x.attr(p({padding:8,r:2},l));var E,y,w,J;l=p({fill:\\\"#f7f7f7\\\",stroke:\\\"#cccccc\\\",\\\"stroke-width\\\":1,style:{color:\\\"#333333\\\",cursor:\\\"pointer\\\",fontWeight:\\\"normal\\\"}},l);E=l.style;delete l.style;r=p(l,{fill:\\\"#e6e6e6\\\"},r);y=r.style;delete r.style;d=p(l,{fill:\\\"#e6ebf5\\\",style:{color:\\\"#000000\\\",fontWeight:\\\"bold\\\"}},\\nd);w=d.style;delete d.style;e=p(l,{style:{color:\\\"#cccccc\\\"}},e);J=e.style;delete e.style;G(x.element,B?\\\"mouseover\\\":\\\"mouseenter\\\",function(){3!==n&&x.setState(1)});G(x.element,B?\\\"mouseout\\\":\\\"mouseleave\\\",function(){3!==n&&x.setState(n)});x.setState=function(a){1!==a&&(x.state=n=a);x.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass(\\\"highcharts-button-\\\"+[\\\"normal\\\",\\\"hover\\\",\\\"pressed\\\",\\\"disabled\\\"][a||0]);x.attr([l,r,d,e][a||0]).css([E,y,w,J][a||0])};x.attr(l).css(c({cursor:\\\"default\\\"},\\nE));return x.on(\\\"click\\\",function(a){3!==n&&b.call(x,a)})},crispLine:function(a,f){a[1]===a[4]&&(a[1]=a[4]=Math.round(a[1])-f%2/2);a[2]===a[5]&&(a[2]=a[5]=Math.round(a[2])+f%2/2);return a},path:function(a){var f={fill:\\\"none\\\"};H(a)?f.d=a:r(a)&&c(f,a);return this.createElement(\\\"path\\\").attr(f)},circle:function(a,f,t){a=r(a)?a:{x:a,y:f,r:t};f=this.createElement(\\\"circle\\\");f.xSetter=f.ySetter=function(a,f,t){t.setAttribute(\\\"c\\\"+f,a)};return f.attr(a)},arc:function(a,f,t,b,l,c){r(a)?(b=a,f=b.y,t=b.r,a=b.x):\\nb={innerR:b,start:l,end:c};a=this.symbol(\\\"arc\\\",a,f,t,t,b);a.r=t;return a},rect:function(a,f,t,b,l,c){l=r(a)?a.r:l;var x=this.createElement(\\\"rect\\\");a=r(a)?a:void 0===a?{}:{x:a,y:f,width:Math.max(t,0),height:Math.max(b,0)};void 0!==c&&(a.strokeWidth=c,a=x.crisp(a));a.fill=\\\"none\\\";l&&(a.r=l);x.rSetter=function(a,f,t){m(t,{rx:a,ry:a})};return x.attr(a)},setSize:function(a,f,t){var b=this.alignedObjects,l=b.length;this.width=a;this.height=f;for(this.boxWrapper.animate({width:a,height:f},{step:function(){this.attr({viewBox:\\\"0 0 \\\"+\\nthis.attr(\\\"width\\\")+\\\" \\\"+this.attr(\\\"height\\\")})},duration:L(t,!0)?void 0:0});l--;)b[l].align()},g:function(a){var f=this.createElement(\\\"g\\\");return a?f.attr({\\\"class\\\":\\\"highcharts-\\\"+a}):f},image:function(a,f,t,b,l){var x={preserveAspectRatio:\\\"none\\\"};1<arguments.length&&c(x,{x:f,y:t,width:b,height:l});x=this.createElement(\\\"image\\\").attr(x);x.element.setAttributeNS?x.element.setAttributeNS(\\\"http://www.w3.org/1999/xlink\\\",\\\"href\\\",a):x.element.setAttribute(\\\"hc-svg-href\\\",a);return x},symbol:function(a,f,t,b,l,\\nr){var x=this,p,e=/^url\\\\((.*?)\\\\)$/,h=e.test(a),E=!h&&(this.symbols[a]?a:\\\"circle\\\"),y=E&&this.symbols[E],B=u(f)&&y&&y.call(this.symbols,Math.round(f),Math.round(t),b,l,r),w,J;y?(p=this.path(B),p.attr(\\\"fill\\\",\\\"none\\\"),c(p,{symbolName:E,x:f,y:t,width:b,height:l}),r&&c(p,r)):h&&(w=a.match(e)[1],p=this.image(w),p.imgwidth=L(O[w]&&O[w].width,r&&r.width),p.imgheight=L(O[w]&&O[w].height,r&&r.height),J=function(){p.attr({width:p.width,height:p.height})},d([\\\"width\\\",\\\"height\\\"],function(a){p[a+\\\"Setter\\\"]=function(a,\\nf){var t={},b=this[\\\"img\\\"+f],l=\\\"width\\\"===f?\\\"translateX\\\":\\\"translateY\\\";this[f]=a;u(b)&&(this.element&&this.element.setAttribute(f,b),this.alignByTranslate||(t[l]=((this[f]||0)-b)/2,this.attr(t)))}}),u(f)&&p.attr({x:f,y:t}),p.isImg=!0,u(p.imgwidth)&&u(p.imgheight)?J():(p.attr({width:0,height:0}),v(\\\"img\\\",{onload:function(){var a=g[x.chartIndex];0===this.width&&(q(this,{position:\\\"absolute\\\",top:\\\"-999em\\\"}),n.body.appendChild(this));O[w]={width:this.width,height:this.height};p.imgwidth=this.width;p.imgheight=\\nthis.height;p.element&&J();this.parentNode&&this.parentNode.removeChild(this);x.imgCount--;if(!x.imgCount&&a&&a.onload)a.onload()},src:w}),this.imgCount++));return p},symbols:{circle:function(a,f,t,b){return this.arc(a+t/2,f+b/2,t/2,b/2,{start:0,end:2*Math.PI,open:!1})},square:function(a,f,t,b){return[\\\"M\\\",a,f,\\\"L\\\",a+t,f,a+t,f+b,a,f+b,\\\"Z\\\"]},triangle:function(a,f,t,b){return[\\\"M\\\",a+t/2,f,\\\"L\\\",a+t,f+b,a,f+b,\\\"Z\\\"]},\\\"triangle-down\\\":function(a,f,t,b){return[\\\"M\\\",a,f,\\\"L\\\",a+t,f,a+t/2,f+b,\\\"Z\\\"]},diamond:function(a,\\nf,t,b){return[\\\"M\\\",a+t/2,f,\\\"L\\\",a+t,f+b/2,a+t/2,f+b,a,f+b/2,\\\"Z\\\"]},arc:function(a,f,t,b,l){var c=l.start,x=l.r||t,r=l.r||b||t,p=l.end-.001;t=l.innerR;b=l.open;var d=Math.cos(c),e=Math.sin(c),h=Math.cos(p),p=Math.sin(p);l=l.end-c<Math.PI?0:1;x=[\\\"M\\\",a+x*d,f+r*e,\\\"A\\\",x,r,0,l,1,a+x*h,f+r*p];u(t)&&x.push(b?\\\"M\\\":\\\"L\\\",a+t*h,f+t*p,\\\"A\\\",t,t,0,l,0,a+t*d,f+t*e);x.push(b?\\\"\\\":\\\"Z\\\");return x},callout:function(a,f,t,b,l){var c=Math.min(l&&l.r||0,t,b),r=c+6,p=l&&l.anchorX;l=l&&l.anchorY;var d;d=[\\\"M\\\",a+c,f,\\\"L\\\",a+t-c,f,\\\"C\\\",\\na+t,f,a+t,f,a+t,f+c,\\\"L\\\",a+t,f+b-c,\\\"C\\\",a+t,f+b,a+t,f+b,a+t-c,f+b,\\\"L\\\",a+c,f+b,\\\"C\\\",a,f+b,a,f+b,a,f+b-c,\\\"L\\\",a,f+c,\\\"C\\\",a,f,a,f,a+c,f];p&&p>t?l>f+r&&l<f+b-r?d.splice(13,3,\\\"L\\\",a+t,l-6,a+t+6,l,a+t,l+6,a+t,f+b-c):d.splice(13,3,\\\"L\\\",a+t,b/2,p,l,a+t,b/2,a+t,f+b-c):p&&0>p?l>f+r&&l<f+b-r?d.splice(33,3,\\\"L\\\",a,l+6,a-6,l,a,l-6,a,f+c):d.splice(33,3,\\\"L\\\",a,b/2,p,l,a,b/2,a,f+c):l&&l>b&&p>a+r&&p<a+t-r?d.splice(23,3,\\\"L\\\",p+6,f+b,p,f+b+6,p-6,f+b,a+c,f+b):l&&0>l&&p>a+r&&p<a+t-r&&d.splice(3,3,\\\"L\\\",p-6,f,p,f-6,p+6,f,t-c,f);return d}},\\nclipRect:function(f,t,b,l){var c=a.uniqueKey(),r=this.createElement(\\\"clipPath\\\").attr({id:c}).add(this.defs);f=this.rect(f,t,b,l,0).add(r);f.id=c;f.clipPath=r;f.count=0;return f},text:function(a,f,t,b){var l=!J&&this.forExport,c={};if(b&&(this.allowHTML||!this.forExport))return this.html(a,f,t);c.x=Math.round(f||0);t&&(c.y=Math.round(t));if(a||0===a)c.text=a;a=this.createElement(\\\"text\\\").attr(c);l&&a.css({position:\\\"absolute\\\"});b||(a.xSetter=function(a,f,t){var b=t.getElementsByTagName(\\\"tspan\\\"),l,c=\\nt.getAttribute(f),r;for(r=0;r<b.length;r++)l=b[r],l.getAttribute(f)===c&&l.setAttribute(f,a);t.setAttribute(f,a)});return a},fontMetrics:function(a,t){a=a||t&&t.style&&t.style.fontSize||this.style&&this.style.fontSize;a=/px/.test(a)?f(a):/em/.test(a)?parseFloat(a)*(t?this.fontMetrics(null,t.parentNode).f:16):12;t=24>a?a+3:Math.round(1.2*a);return{h:t,b:Math.round(.8*t),f:a}},rotCorr:function(a,f,t){var b=a;f&&t&&(b=Math.max(b*Math.cos(f*h),4));return{x:-a/3*Math.sin(f*h),y:b}},label:function(f,b,\\nl,r,e,h,n,E,y){var x=this,B=x.g(\\\"button\\\"!==y&&\\\"label\\\"),w=B.text=x.text(\\\"\\\",0,0,n).attr({zIndex:1}),J,g,I=0,z=3,D=0,q,k,m,R,H,v={},N,M,L=/^url\\\\((.*?)\\\\)$/.test(r),Q=L,V,U,O,P;y&&B.addClass(\\\"highcharts-\\\"+y);Q=L;V=function(){return(N||0)%2/2};U=function(){var a=w.element.style,f={};g=(void 0===q||void 0===k||H)&&u(w.textStr)&&w.getBBox();B.width=(q||g.width||0)+2*z+D;B.height=(k||g.height||0)+2*z;M=z+x.fontMetrics(a&&a.fontSize,w).b;Q&&(J||(B.box=J=x.symbols[r]||L?x.symbol(r):x.rect(),J.addClass((\\\"button\\\"===\\ny?\\\"\\\":\\\"highcharts-label-box\\\")+(y?\\\" highcharts-\\\"+y+\\\"-box\\\":\\\"\\\")),J.add(B),a=V(),f.x=a,f.y=(E?-M:0)+a),f.width=Math.round(B.width),f.height=Math.round(B.height),J.attr(c(f,v)),v={})};O=function(){var a=D+z,f;f=E?0:M;u(q)&&g&&(\\\"center\\\"===H||\\\"right\\\"===H)&&(a+={center:.5,right:1}[H]*(q-g.width));if(a!==w.x||f!==w.y)w.attr(\\\"x\\\",a),void 0!==f&&w.attr(\\\"y\\\",f);w.x=a;w.y=f};P=function(a,f){J?J.attr(a,f):v[a]=f};B.onAdd=function(){w.add(B);B.attr({text:f||0===f?f:\\\"\\\",x:b,y:l});J&&u(e)&&B.attr({anchorX:e,anchorY:h})};\\nB.widthSetter=function(f){q=a.isNumber(f)?f:null};B.heightSetter=function(a){k=a};B[\\\"text-alignSetter\\\"]=function(a){H=a};B.paddingSetter=function(a){u(a)&&a!==z&&(z=B.padding=a,O())};B.paddingLeftSetter=function(a){u(a)&&a!==D&&(D=a,O())};B.alignSetter=function(a){a={left:0,center:.5,right:1}[a];a!==I&&(I=a,g&&B.attr({x:m}))};B.textSetter=function(a){void 0!==a&&w.textSetter(a);U();O()};B[\\\"stroke-widthSetter\\\"]=function(a,f){a&&(Q=!0);N=this[\\\"stroke-width\\\"]=a;P(f,a)};B.strokeSetter=B.fillSetter=B.rSetter=\\nfunction(a,f){\\\"fill\\\"===f&&a&&(Q=!0);P(f,a)};B.anchorXSetter=function(a,f){e=B.anchorX=a;P(f,Math.round(a)-V()-m)};B.anchorYSetter=function(a,f){h=B.anchorY=a;P(f,a-R)};B.xSetter=function(a){B.x=a;I&&(a-=I*((q||g.width)+2*z));m=Math.round(a);B.attr(\\\"translateX\\\",m)};B.ySetter=function(a){R=B.y=Math.round(a);B.attr(\\\"translateY\\\",R)};var W=B.css;return c(B,{css:function(a){if(a){var f={};a=p(a);d(B.textProps,function(t){void 0!==a[t]&&(f[t]=a[t],delete a[t])});w.css(f)}return W.call(B,a)},getBBox:function(){return{width:g.width+\\n2*z,height:g.height+2*z,x:g.x-z,y:g.y-z}},shadow:function(a){a&&(U(),J&&J.shadow(a));return B},destroy:function(){t(B.element,\\\"mouseenter\\\");t(B.element,\\\"mouseleave\\\");w&&(w=w.destroy());J&&(J=J.destroy());C.prototype.destroy.call(B);B=x=U=O=P=null}})}});a.Renderer=A})(K);(function(a){var C=a.attr,A=a.createElement,G=a.css,F=a.defined,m=a.each,g=a.extend,k=a.isFirefox,q=a.isMS,v=a.isWebKit,u=a.pInt,h=a.SVGRenderer,e=a.win,n=a.wrap;g(a.SVGElement.prototype,{htmlCss:function(a){var c=this.element;if(c=\\na&&\\\"SPAN\\\"===c.tagName&&a.width)delete a.width,this.textWidth=c,this.updateTransform();a&&\\\"ellipsis\\\"===a.textOverflow&&(a.whiteSpace=\\\"nowrap\\\",a.overflow=\\\"hidden\\\");this.styles=g(this.styles,a);G(this.element,a);return this},htmlGetBBox:function(){var a=this.element;\\\"text\\\"===a.nodeName&&(a.style.position=\\\"absolute\\\");return{x:a.offsetLeft,y:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight}},htmlUpdateTransform:function(){if(this.added){var a=this.renderer,c=this.element,e=this.translateX||0,b=this.translateY||\\n0,h=this.x||0,n=this.y||0,g=this.textAlign||\\\"left\\\",l={left:0,center:.5,right:1}[g],B=this.styles;G(c,{marginLeft:e,marginTop:b});this.shadows&&m(this.shadows,function(a){G(a,{marginLeft:e+1,marginTop:b+1})});this.inverted&&m(c.childNodes,function(b){a.invertChild(b,c)});if(\\\"SPAN\\\"===c.tagName){var r=this.rotation,z=u(this.textWidth),q=B&&B.whiteSpace,p=[r,g,c.innerHTML,this.textWidth,this.textAlign].join();p!==this.cTT&&(B=a.fontMetrics(c.style.fontSize).b,F(r)&&this.setSpanRotation(r,l,B),G(c,{width:\\\"\\\",\\nwhiteSpace:q||\\\"nowrap\\\"}),c.offsetWidth>z&&/[ \\\\-]/.test(c.textContent||c.innerText)&&G(c,{width:z+\\\"px\\\",display:\\\"block\\\",whiteSpace:q||\\\"normal\\\"}),this.getSpanCorrection(c.offsetWidth,B,l,r,g));G(c,{left:h+(this.xCorr||0)+\\\"px\\\",top:n+(this.yCorr||0)+\\\"px\\\"});v&&(B=c.offsetHeight);this.cTT=p}}else this.alignOnAdd=!0},setSpanRotation:function(a,c,h){var b={},d=q?\\\"-ms-transform\\\":v?\\\"-webkit-transform\\\":k?\\\"MozTransform\\\":e.opera?\\\"-o-transform\\\":\\\"\\\";b[d]=b.transform=\\\"rotate(\\\"+a+\\\"deg)\\\";b[d+(k?\\\"Origin\\\":\\\"-origin\\\")]=\\nb.transformOrigin=100*c+\\\"% \\\"+h+\\\"px\\\";G(this.element,b)},getSpanCorrection:function(a,c,e){this.xCorr=-a*e;this.yCorr=-c}});g(h.prototype,{html:function(a,c,e){var b=this.createElement(\\\"span\\\"),d=b.element,h=b.renderer,w=h.isSVG,l=function(a,b){m([\\\"opacity\\\",\\\"visibility\\\"],function(l){n(a,l+\\\"Setter\\\",function(a,l,c,r){a.call(this,l,c,r);b[c]=l})})};b.textSetter=function(a){a!==d.innerHTML&&delete this.bBox;d.innerHTML=this.textStr=a;b.htmlUpdateTransform()};w&&l(b,b.element.style);b.xSetter=b.ySetter=b.alignSetter=\\nb.rotationSetter=function(a,l){\\\"align\\\"===l&&(l=\\\"textAlign\\\");b[l]=a;b.htmlUpdateTransform()};b.attr({text:a,x:Math.round(c),y:Math.round(e)}).css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize,position:\\\"absolute\\\"});d.style.whiteSpace=\\\"nowrap\\\";b.css=b.htmlCss;w&&(b.add=function(a){var c,e=h.box.parentNode,B=[];if(this.parentGroup=a){if(c=a.div,!c){for(;a;)B.push(a),a=a.parentGroup;m(B.reverse(),function(a){var r,p=C(a.element,\\\"class\\\");p&&(p={className:p});c=a.div=a.div||A(\\\"div\\\",p,{position:\\\"absolute\\\",\\nleft:(a.translateX||0)+\\\"px\\\",top:(a.translateY||0)+\\\"px\\\",display:a.display,opacity:a.opacity,pointerEvents:a.styles&&a.styles.pointerEvents},c||e);r=c.style;g(a,{on:function(){b.on.apply({element:B[0].div},arguments);return a},translateXSetter:function(b,f){r.left=b+\\\"px\\\";a[f]=b;a.doTransform=!0},translateYSetter:function(b,f){r.top=b+\\\"px\\\";a[f]=b;a.doTransform=!0}});l(a,r)})}}else c=e;c.appendChild(d);b.added=!0;b.alignOnAdd&&b.htmlUpdateTransform();return b});return b}})})(K);(function(a){var C,A,G=\\na.createElement,F=a.css,m=a.defined,g=a.deg2rad,k=a.discardElement,q=a.doc,v=a.each,u=a.erase,h=a.extend;C=a.extendClass;var e=a.isArray,n=a.isNumber,d=a.isObject,c=a.merge;A=a.noop;var w=a.pick,b=a.pInt,y=a.SVGElement,D=a.SVGRenderer,H=a.win;a.svg||(A={docMode8:q&&8===q.documentMode,init:function(a,b){var l=[\\\"\\\\x3c\\\",b,' filled\\\\x3d\\\"f\\\" stroked\\\\x3d\\\"f\\\"'],c=[\\\"position: \\\",\\\"absolute\\\",\\\";\\\"],d=\\\"div\\\"===b;(\\\"shape\\\"===b||d)&&c.push(\\\"left:0;top:0;width:1px;height:1px;\\\");c.push(\\\"visibility: \\\",d?\\\"hidden\\\":\\\"visible\\\");\\nl.push(' style\\\\x3d\\\"',c.join(\\\"\\\"),'\\\"/\\\\x3e');b&&(l=d||\\\"span\\\"===b||\\\"img\\\"===b?l.join(\\\"\\\"):a.prepVML(l),this.element=G(l));this.renderer=a},add:function(a){var b=this.renderer,l=this.element,c=b.box,d=a&&a.inverted,c=a?a.element||a:c;a&&(this.parentGroup=a);d&&b.invertChild(l,c);c.appendChild(l);this.added=!0;this.alignOnAdd&&!this.deferUpdateTransform&&this.updateTransform();if(this.onAdd)this.onAdd();this.className&&this.attr(\\\"class\\\",this.className);return this},updateTransform:y.prototype.htmlUpdateTransform,\\nsetSpanRotation:function(){var a=this.rotation,b=Math.cos(a*g),c=Math.sin(a*g);F(this.element,{filter:a?[\\\"progid:DXImageTransform.Microsoft.Matrix(M11\\\\x3d\\\",b,\\\", M12\\\\x3d\\\",-c,\\\", M21\\\\x3d\\\",c,\\\", M22\\\\x3d\\\",b,\\\", sizingMethod\\\\x3d'auto expand')\\\"].join(\\\"\\\"):\\\"none\\\"})},getSpanCorrection:function(a,b,c,d,e){var l=d?Math.cos(d*g):1,r=d?Math.sin(d*g):0,h=w(this.elemHeight,this.element.offsetHeight),n;this.xCorr=0>l&&-a;this.yCorr=0>r&&-h;n=0>l*r;this.xCorr+=r*b*(n?1-c:c);this.yCorr-=l*b*(d?n?c:1-c:1);e&&\\\"left\\\"!==\\ne&&(this.xCorr-=a*c*(0>l?-1:1),d&&(this.yCorr-=h*c*(0>r?-1:1)),F(this.element,{textAlign:e}))},pathToVML:function(a){for(var b=a.length,l=[];b--;)n(a[b])?l[b]=Math.round(10*a[b])-5:\\\"Z\\\"===a[b]?l[b]=\\\"x\\\":(l[b]=a[b],!a.isArc||\\\"wa\\\"!==a[b]&&\\\"at\\\"!==a[b]||(l[b+5]===l[b+7]&&(l[b+7]+=a[b+7]>a[b+5]?1:-1),l[b+6]===l[b+8]&&(l[b+8]+=a[b+8]>a[b+6]?1:-1)));return l.join(\\\" \\\")||\\\"x\\\"},clip:function(a){var b=this,l;a?(l=a.members,u(l,b),l.push(b),b.destroyClip=function(){u(l,b)},a=a.getCSS(b)):(b.destroyClip&&b.destroyClip(),\\na={clip:b.docMode8?\\\"inherit\\\":\\\"rect(auto)\\\"});return b.css(a)},css:y.prototype.htmlCss,safeRemoveChild:function(a){a.parentNode&&k(a)},destroy:function(){this.destroyClip&&this.destroyClip();return y.prototype.destroy.apply(this)},on:function(a,b){this.element[\\\"on\\\"+a]=function(){var a=H.event;a.target=a.srcElement;b(a)};return this},cutOffPath:function(a,c){var l;a=a.split(/[ ,]/);l=a.length;if(9===l||11===l)a[l-4]=a[l-2]=b(a[l-2])-10*c;return a.join(\\\" \\\")},shadow:function(a,c,d){var l=[],r,p=this.element,\\ne=this.renderer,h,n=p.style,f,t=p.path,y,J,g,B;t&&\\\"string\\\"!==typeof t.value&&(t=\\\"x\\\");J=t;if(a){g=w(a.width,3);B=(a.opacity||.15)/g;for(r=1;3>=r;r++)y=2*g+1-2*r,d&&(J=this.cutOffPath(t.value,y+.5)),f=['\\\\x3cshape isShadow\\\\x3d\\\"true\\\" strokeweight\\\\x3d\\\"',y,'\\\" filled\\\\x3d\\\"false\\\" path\\\\x3d\\\"',J,'\\\" coordsize\\\\x3d\\\"10 10\\\" style\\\\x3d\\\"',p.style.cssText,'\\\" /\\\\x3e'],h=G(e.prepVML(f),null,{left:b(n.left)+w(a.offsetX,1),top:b(n.top)+w(a.offsetY,1)}),d&&(h.cutOff=y+1),f=['\\\\x3cstroke color\\\\x3d\\\"',a.color||\\\"#000000\\\",'\\\" opacity\\\\x3d\\\"',\\nB*r,'\\\"/\\\\x3e'],G(e.prepVML(f),null,null,h),c?c.element.appendChild(h):p.parentNode.insertBefore(h,p),l.push(h);this.shadows=l}return this},updateShadows:A,setAttr:function(a,b){this.docMode8?this.element[a]=b:this.element.setAttribute(a,b)},classSetter:function(a){(this.added?this.element:this).className=a},dashstyleSetter:function(a,b,c){(c.getElementsByTagName(\\\"stroke\\\")[0]||G(this.renderer.prepVML([\\\"\\\\x3cstroke/\\\\x3e\\\"]),null,null,c))[b]=a||\\\"solid\\\";this[b]=a},dSetter:function(a,b,c){var l=this.shadows;\\na=a||[];this.d=a.join&&a.join(\\\" \\\");c.path=a=this.pathToVML(a);if(l)for(c=l.length;c--;)l[c].path=l[c].cutOff?this.cutOffPath(a,l[c].cutOff):a;this.setAttr(b,a)},fillSetter:function(a,b,c){var l=c.nodeName;\\\"SPAN\\\"===l?c.style.color=a:\\\"IMG\\\"!==l&&(c.filled=\\\"none\\\"!==a,this.setAttr(\\\"fillcolor\\\",this.renderer.color(a,c,b,this)))},\\\"fill-opacitySetter\\\":function(a,b,c){G(this.renderer.prepVML([\\\"\\\\x3c\\\",b.split(\\\"-\\\")[0],' opacity\\\\x3d\\\"',a,'\\\"/\\\\x3e']),null,null,c)},opacitySetter:A,rotationSetter:function(a,b,c){c=\\nc.style;this[b]=c[b]=a;c.left=-Math.round(Math.sin(a*g)+1)+\\\"px\\\";c.top=Math.round(Math.cos(a*g))+\\\"px\\\"},strokeSetter:function(a,b,c){this.setAttr(\\\"strokecolor\\\",this.renderer.color(a,c,b,this))},\\\"stroke-widthSetter\\\":function(a,b,c){c.stroked=!!a;this[b]=a;n(a)&&(a+=\\\"px\\\");this.setAttr(\\\"strokeweight\\\",a)},titleSetter:function(a,b){this.setAttr(b,a)},visibilitySetter:function(a,b,c){\\\"inherit\\\"===a&&(a=\\\"visible\\\");this.shadows&&v(this.shadows,function(c){c.style[b]=a});\\\"DIV\\\"===c.nodeName&&(a=\\\"hidden\\\"===a?\\\"-999em\\\":\\n0,this.docMode8||(c.style[b]=a?\\\"visible\\\":\\\"hidden\\\"),b=\\\"top\\\");c.style[b]=a},xSetter:function(a,b,c){this[b]=a;\\\"x\\\"===b?b=\\\"left\\\":\\\"y\\\"===b&&(b=\\\"top\\\");this.updateClipping?(this[b]=a,this.updateClipping()):c.style[b]=a},zIndexSetter:function(a,b,c){c.style[b]=a}},A[\\\"stroke-opacitySetter\\\"]=A[\\\"fill-opacitySetter\\\"],a.VMLElement=A=C(y,A),A.prototype.ySetter=A.prototype.widthSetter=A.prototype.heightSetter=A.prototype.xSetter,A={Element:A,isIE8:-1<H.navigator.userAgent.indexOf(\\\"MSIE 8.0\\\"),init:function(a,b,c){var l,\\nd;this.alignedObjects=[];l=this.createElement(\\\"div\\\").css({position:\\\"relative\\\"});d=l.element;a.appendChild(l.element);this.isVML=!0;this.box=d;this.boxWrapper=l;this.gradients={};this.cache={};this.cacheKeys=[];this.imgCount=0;this.setSize(b,c,!1);if(!q.namespaces.hcv){q.namespaces.add(\\\"hcv\\\",\\\"urn:schemas-microsoft-com:vml\\\");try{q.createStyleSheet().cssText=\\\"hcv\\\\\\\\:fill, hcv\\\\\\\\:path, hcv\\\\\\\\:shape, hcv\\\\\\\\:stroke{ behavior:url(#default#VML); display: inline-block; } \\\"}catch(p){q.styleSheets[0].cssText+=\\\"hcv\\\\\\\\:fill, hcv\\\\\\\\:path, hcv\\\\\\\\:shape, hcv\\\\\\\\:stroke{ behavior:url(#default#VML); display: inline-block; } \\\"}}},\\nisHidden:function(){return!this.box.offsetWidth},clipRect:function(a,b,c,e){var l=this.createElement(),p=d(a);return h(l,{members:[],count:0,left:(p?a.x:a)+1,top:(p?a.y:b)+1,width:(p?a.width:c)-1,height:(p?a.height:e)-1,getCSS:function(a){var b=a.element,c=b.nodeName,f=a.inverted,t=this.top-(\\\"shape\\\"===c?b.offsetTop:0),l=this.left,b=l+this.width,p=t+this.height,t={clip:\\\"rect(\\\"+Math.round(f?l:t)+\\\"px,\\\"+Math.round(f?p:b)+\\\"px,\\\"+Math.round(f?b:p)+\\\"px,\\\"+Math.round(f?t:l)+\\\"px)\\\"};!f&&a.docMode8&&\\\"DIV\\\"===c&&\\nh(t,{width:b+\\\"px\\\",height:p+\\\"px\\\"});return t},updateClipping:function(){v(l.members,function(a){a.element&&a.css(l.getCSS(a))})}})},color:function(b,c,d,e){var l=this,p,r=/^rgba/,h,n,f=\\\"none\\\";b&&b.linearGradient?n=\\\"gradient\\\":b&&b.radialGradient&&(n=\\\"pattern\\\");if(n){var t,y,w=b.linearGradient||b.radialGradient,g,q,B,x,D,z=\\\"\\\";b=b.stops;var k,m=[],u=function(){h=['\\\\x3cfill colors\\\\x3d\\\"'+m.join(\\\",\\\")+'\\\" opacity\\\\x3d\\\"',B,'\\\" o:opacity2\\\\x3d\\\"',q,'\\\" type\\\\x3d\\\"',n,'\\\" ',z,'focus\\\\x3d\\\"100%\\\" method\\\\x3d\\\"any\\\" /\\\\x3e'];\\nG(l.prepVML(h),null,null,c)};g=b[0];k=b[b.length-1];0<g[0]&&b.unshift([0,g[1]]);1>k[0]&&b.push([1,k[1]]);v(b,function(f,b){r.test(f[1])?(p=a.color(f[1]),t=p.get(\\\"rgb\\\"),y=p.get(\\\"a\\\")):(t=f[1],y=1);m.push(100*f[0]+\\\"% \\\"+t);b?(B=y,x=t):(q=y,D=t)});if(\\\"fill\\\"===d)if(\\\"gradient\\\"===n)d=w.x1||w[0]||0,b=w.y1||w[1]||0,g=w.x2||w[2]||0,w=w.y2||w[3]||0,z='angle\\\\x3d\\\"'+(90-180*Math.atan((w-b)/(g-d))/Math.PI)+'\\\"',u();else{var f=w.r,H=2*f,A=2*f,C=w.cx,F=w.cy,T=c.radialReference,K,f=function(){T&&(K=e.getBBox(),C+=(T[0]-\\nK.x)/K.width-.5,F+=(T[1]-K.y)/K.height-.5,H*=T[2]/K.width,A*=T[2]/K.height);z='src\\\\x3d\\\"'+a.getOptions().global.VMLRadialGradientURL+'\\\" size\\\\x3d\\\"'+H+\\\",\\\"+A+'\\\" origin\\\\x3d\\\"0.5,0.5\\\" position\\\\x3d\\\"'+C+\\\",\\\"+F+'\\\" color2\\\\x3d\\\"'+D+'\\\" ';u()};e.added?f():e.onAdd=f;f=x}else f=t}else r.test(b)&&\\\"IMG\\\"!==c.tagName?(p=a.color(b),e[d+\\\"-opacitySetter\\\"](p.get(\\\"a\\\"),d,c),f=p.get(\\\"rgb\\\")):(f=c.getElementsByTagName(d),f.length&&(f[0].opacity=1,f[0].type=\\\"solid\\\"),f=b);return f},prepVML:function(a){var b=this.isIE8;a=a.join(\\\"\\\");\\nb?(a=a.replace(\\\"/\\\\x3e\\\",' xmlns\\\\x3d\\\"urn:schemas-microsoft-com:vml\\\" /\\\\x3e'),a=-1===a.indexOf('style\\\\x3d\\\"')?a.replace(\\\"/\\\\x3e\\\",' style\\\\x3d\\\"display:inline-block;behavior:url(#default#VML);\\\" /\\\\x3e'):a.replace('style\\\\x3d\\\"','style\\\\x3d\\\"display:inline-block;behavior:url(#default#VML);')):a=a.replace(\\\"\\\\x3c\\\",\\\"\\\\x3chcv:\\\");return a},text:D.prototype.html,path:function(a){var b={coordsize:\\\"10 10\\\"};e(a)?b.d=a:d(a)&&h(b,a);return this.createElement(\\\"shape\\\").attr(b)},circle:function(a,b,c){var l=this.symbol(\\\"circle\\\");\\nd(a)&&(c=a.r,b=a.y,a=a.x);l.isCircle=!0;l.r=c;return l.attr({x:a,y:b})},g:function(a){var b;a&&(b={className:\\\"highcharts-\\\"+a,\\\"class\\\":\\\"highcharts-\\\"+a});return this.createElement(\\\"div\\\").attr(b)},image:function(a,b,c,d,e){var l=this.createElement(\\\"img\\\").attr({src:a});1<arguments.length&&l.attr({x:b,y:c,width:d,height:e});return l},createElement:function(a){return\\\"rect\\\"===a?this.symbol(a):D.prototype.createElement.call(this,a)},invertChild:function(a,c){var d=this;c=c.style;var l=\\\"IMG\\\"===a.tagName&&a.style;\\nF(a,{flip:\\\"x\\\",left:b(c.width)-(l?b(l.top):1),top:b(c.height)-(l?b(l.left):1),rotation:-90});v(a.childNodes,function(b){d.invertChild(b,a)})},symbols:{arc:function(a,b,c,d,e){var p=e.start,l=e.end,r=e.r||c||d;c=e.innerR;d=Math.cos(p);var h=Math.sin(p),f=Math.cos(l),t=Math.sin(l);if(0===l-p)return[\\\"x\\\"];p=[\\\"wa\\\",a-r,b-r,a+r,b+r,a+r*d,b+r*h,a+r*f,b+r*t];e.open&&!c&&p.push(\\\"e\\\",\\\"M\\\",a,b);p.push(\\\"at\\\",a-c,b-c,a+c,b+c,a+c*f,b+c*t,a+c*d,b+c*h,\\\"x\\\",\\\"e\\\");p.isArc=!0;return p},circle:function(a,b,c,d,e){e&&m(e.r)&&\\n(c=d=2*e.r);e&&e.isCircle&&(a-=c/2,b-=d/2);return[\\\"wa\\\",a,b,a+c,b+d,a+c,b+d/2,a+c,b+d/2,\\\"e\\\"]},rect:function(a,b,c,d,e){return D.prototype.symbols[m(e)&&e.r?\\\"callout\\\":\\\"square\\\"].call(0,a,b,c,d,e)}}},a.VMLRenderer=C=function(){this.init.apply(this,arguments)},C.prototype=c(D.prototype,A),a.Renderer=C);D.prototype.measureSpanWidth=function(a,b){var c=q.createElement(\\\"span\\\");a=q.createTextNode(a);c.appendChild(a);F(c,b);this.box.appendChild(c);b=c.offsetWidth;k(c);return b}})(K);(function(a){function C(){var g=\\na.defaultOptions.global,k=q.moment;if(g.timezone){if(k)return function(a){return-k.tz(a,g.timezone).utcOffset()};a.error(25)}return g.useUTC&&g.getTimezoneOffset}function A(){var g=a.defaultOptions.global,u,h=g.useUTC,e=h?\\\"getUTC\\\":\\\"get\\\",n=h?\\\"setUTC\\\":\\\"set\\\";a.Date=u=g.Date||q.Date;u.hcTimezoneOffset=h&&g.timezoneOffset;u.hcGetTimezoneOffset=C();u.hcMakeTime=function(a,c,e,b,n,g){var d;h?(d=u.UTC.apply(0,arguments),d+=m(d)):d=(new u(a,c,k(e,1),k(b,0),k(n,0),k(g,0))).getTime();return d};F(\\\"Minutes Hours Day Date Month FullYear\\\".split(\\\" \\\"),\\nfunction(a){u[\\\"hcGet\\\"+a]=e+a});F(\\\"Milliseconds Seconds Minutes Hours Date Month FullYear\\\".split(\\\" \\\"),function(a){u[\\\"hcSet\\\"+a]=n+a})}var G=a.color,F=a.each,m=a.getTZOffset,g=a.merge,k=a.pick,q=a.win;a.defaultOptions={colors:\\\"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1\\\".split(\\\" \\\"),symbols:[\\\"circle\\\",\\\"diamond\\\",\\\"square\\\",\\\"triangle\\\",\\\"triangle-down\\\"],lang:{loading:\\\"Loading...\\\",months:\\\"January February March April May June July August September October November December\\\".split(\\\" \\\"),\\nshortMonths:\\\"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec\\\".split(\\\" \\\"),weekdays:\\\"Sunday Monday Tuesday Wednesday Thursday Friday Saturday\\\".split(\\\" \\\"),decimalPoint:\\\".\\\",numericSymbols:\\\"kMGTPE\\\".split(\\\"\\\"),resetZoom:\\\"Reset zoom\\\",resetZoomTitle:\\\"Reset zoom level 1:1\\\",thousandsSep:\\\" \\\"},global:{useUTC:!0,VMLRadialGradientURL:\\\"http://code.highcharts.com/5.0.12/gfx/vml-radial-gradient.png\\\"},chart:{borderRadius:0,defaultSeriesType:\\\"line\\\",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:20},\\nposition:{align:\\\"right\\\",x:-10,y:10}},width:null,height:null,borderColor:\\\"#335cad\\\",backgroundColor:\\\"#ffffff\\\",plotBorderColor:\\\"#cccccc\\\"},title:{text:\\\"Chart title\\\",align:\\\"center\\\",margin:15,widthAdjust:-44},subtitle:{text:\\\"\\\",align:\\\"center\\\",widthAdjust:-44},plotOptions:{},labels:{style:{position:\\\"absolute\\\",color:\\\"#333333\\\"}},legend:{enabled:!0,align:\\\"center\\\",layout:\\\"horizontal\\\",labelFormatter:function(){return this.name},borderColor:\\\"#999999\\\",borderRadius:0,navigation:{activeColor:\\\"#003399\\\",inactiveColor:\\\"#cccccc\\\"},\\nitemStyle:{color:\\\"#333333\\\",fontSize:\\\"12px\\\",fontWeight:\\\"bold\\\",textOverflow:\\\"ellipsis\\\"},itemHoverStyle:{color:\\\"#000000\\\"},itemHiddenStyle:{color:\\\"#cccccc\\\"},shadow:!1,itemCheckboxStyle:{position:\\\"absolute\\\",width:\\\"13px\\\",height:\\\"13px\\\"},squareSymbol:!0,symbolPadding:5,verticalAlign:\\\"bottom\\\",x:0,y:0,title:{style:{fontWeight:\\\"bold\\\"}}},loading:{labelStyle:{fontWeight:\\\"bold\\\",position:\\\"relative\\\",top:\\\"45%\\\"},style:{position:\\\"absolute\\\",backgroundColor:\\\"#ffffff\\\",opacity:.5,textAlign:\\\"center\\\"}},tooltip:{enabled:!0,\\nanimation:a.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:\\\"%A, %b %e, %H:%M:%S.%L\\\",second:\\\"%A, %b %e, %H:%M:%S\\\",minute:\\\"%A, %b %e, %H:%M\\\",hour:\\\"%A, %b %e, %H:%M\\\",day:\\\"%A, %b %e, %Y\\\",week:\\\"Week from %A, %b %e, %Y\\\",month:\\\"%B %Y\\\",year:\\\"%Y\\\"},footerFormat:\\\"\\\",padding:8,snap:a.isTouchDevice?25:10,backgroundColor:G(\\\"#f7f7f7\\\").setOpacity(.85).get(),borderWidth:1,headerFormat:'\\\\x3cspan style\\\\x3d\\\"font-size: 10px\\\"\\\\x3e{point.key}\\\\x3c/span\\\\x3e\\\\x3cbr/\\\\x3e',pointFormat:'\\\\x3cspan style\\\\x3d\\\"color:{point.color}\\\"\\\\x3e\\\\u25cf\\\\x3c/span\\\\x3e {series.name}: \\\\x3cb\\\\x3e{point.y}\\\\x3c/b\\\\x3e\\\\x3cbr/\\\\x3e',\\nshadow:!0,style:{color:\\\"#333333\\\",cursor:\\\"default\\\",fontSize:\\\"12px\\\",pointerEvents:\\\"none\\\",whiteSpace:\\\"nowrap\\\"}},credits:{enabled:!0,href:\\\"http://www.highcharts.com\\\",position:{align:\\\"right\\\",x:-10,verticalAlign:\\\"bottom\\\",y:-5},style:{cursor:\\\"pointer\\\",color:\\\"#999999\\\",fontSize:\\\"9px\\\"},text:\\\"Highcharts.com\\\"}};a.setOptions=function(q){a.defaultOptions=g(!0,a.defaultOptions,q);A();return a.defaultOptions};a.getOptions=function(){return a.defaultOptions};a.defaultPlotOptions=a.defaultOptions.plotOptions;A()})(K);\\n(function(a){var C=a.correctFloat,A=a.defined,G=a.destroyObjectProperties,F=a.isNumber,m=a.merge,g=a.pick,k=a.deg2rad;a.Tick=function(a,g,k,h){this.axis=a;this.pos=g;this.type=k||\\\"\\\";this.isNewLabel=this.isNew=!0;k||h||this.addLabel()};a.Tick.prototype={addLabel:function(){var a=this.axis,k=a.options,u=a.chart,h=a.categories,e=a.names,n=this.pos,d=k.labels,c=a.tickPositions,w=n===c[0],b=n===c[c.length-1],e=h?g(h[n],e[n],n):n,h=this.label,c=c.info,y;a.isDatetimeAxis&&c&&(y=k.dateTimeLabelFormats[c.higherRanks[n]||\\nc.unitName]);this.isFirst=w;this.isLast=b;k=a.labelFormatter.call({axis:a,chart:u,isFirst:w,isLast:b,dateTimeLabelFormat:y,value:a.isLog?C(a.lin2log(e)):e});A(h)?h&&h.attr({text:k}):(this.labelLength=(this.label=h=A(k)&&d.enabled?u.renderer.text(k,0,0,d.useHTML).css(m(d.style)).add(a.labelGroup):null)&&h.getBBox().width,this.rotation=0)},getLabelSize:function(){return this.label?this.label.getBBox()[this.axis.horiz?\\\"height\\\":\\\"width\\\"]:0},handleOverflow:function(a){var q=this.axis,m=a.x,h=q.chart.chartWidth,\\ne=q.chart.spacing,n=g(q.labelLeft,Math.min(q.pos,e[3])),e=g(q.labelRight,Math.max(q.pos+q.len,h-e[1])),d=this.label,c=this.rotation,w={left:0,center:.5,right:1}[q.labelAlign],b=d.getBBox().width,y=q.getSlotWidth(),D=y,H=1,l,B={};if(c)0>c&&m-w*b<n?l=Math.round(m/Math.cos(c*k)-n):0<c&&m+w*b>e&&(l=Math.round((h-m)/Math.cos(c*k)));else if(h=m+(1-w)*b,m-w*b<n?D=a.x+D*(1-w)-n:h>e&&(D=e-a.x+D*w,H=-1),D=Math.min(y,D),D<y&&\\\"center\\\"===q.labelAlign&&(a.x+=H*(y-D-w*(y-Math.min(b,D)))),b>D||q.autoRotation&&(d.styles||\\n{}).width)l=D;l&&(B.width=l,(q.options.labels.style||{}).textOverflow||(B.textOverflow=\\\"ellipsis\\\"),d.css(B))},getPosition:function(a,g,k,h){var e=this.axis,n=e.chart,d=h&&n.oldChartHeight||n.chartHeight;return{x:a?e.translate(g+k,null,null,h)+e.transB:e.left+e.offset+(e.opposite?(h&&n.oldChartWidth||n.chartWidth)-e.right-e.left:0),y:a?d-e.bottom+e.offset-(e.opposite?e.height:0):d-e.translate(g+k,null,null,h)-e.transB}},getLabelPosition:function(a,g,m,h,e,n,d,c){var w=this.axis,b=w.transA,y=w.reversed,\\nD=w.staggerLines,q=w.tickRotCorr||{x:0,y:0},l=e.y;A(l)||(l=0===w.side?m.rotation?-8:-m.getBBox().height:2===w.side?q.y+8:Math.cos(m.rotation*k)*(q.y-m.getBBox(!1,0).height/2));a=a+e.x+q.x-(n&&h?n*b*(y?-1:1):0);g=g+l-(n&&!h?n*b*(y?1:-1):0);D&&(m=d/(c||1)%D,w.opposite&&(m=D-m-1),g+=w.labelOffset/D*m);return{x:a,y:Math.round(g)}},getMarkPath:function(a,g,k,h,e,n){return n.crispLine([\\\"M\\\",a,g,\\\"L\\\",a+(e?0:-k),g+(e?k:0)],h)},renderGridLine:function(a,g,k){var h=this.axis,e=h.options,n=this.gridLine,d={},\\nc=this.pos,w=this.type,b=h.tickmarkOffset,y=h.chart.renderer,D=w?w+\\\"Grid\\\":\\\"grid\\\",q=e[D+\\\"LineWidth\\\"],l=e[D+\\\"LineColor\\\"],e=e[D+\\\"LineDashStyle\\\"];n||(d.stroke=l,d[\\\"stroke-width\\\"]=q,e&&(d.dashstyle=e),w||(d.zIndex=1),a&&(d.opacity=0),this.gridLine=n=y.path().attr(d).addClass(\\\"highcharts-\\\"+(w?w+\\\"-\\\":\\\"\\\")+\\\"grid-line\\\").add(h.gridGroup));if(!a&&n&&(a=h.getPlotLinePath(c+b,n.strokeWidth()*k,a,!0)))n[this.isNew?\\\"attr\\\":\\\"animate\\\"]({d:a,opacity:g})},renderMark:function(a,k,m){var h=this.axis,e=h.options,n=h.chart.renderer,\\nd=this.type,c=d?d+\\\"Tick\\\":\\\"tick\\\",w=h.tickSize(c),b=this.mark,y=!b,D=a.x;a=a.y;var q=g(e[c+\\\"Width\\\"],!d&&h.isXAxis?1:0),e=e[c+\\\"Color\\\"];w&&(h.opposite&&(w[0]=-w[0]),y&&(this.mark=b=n.path().addClass(\\\"highcharts-\\\"+(d?d+\\\"-\\\":\\\"\\\")+\\\"tick\\\").add(h.axisGroup),b.attr({stroke:e,\\\"stroke-width\\\":q})),b[y?\\\"attr\\\":\\\"animate\\\"]({d:this.getMarkPath(D,a,w[0],b.strokeWidth()*m,h.horiz,n),opacity:k}))},renderLabel:function(a,k,m,h){var e=this.axis,n=e.horiz,d=e.options,c=this.label,w=d.labels,b=w.step,y=e.tickmarkOffset,D=!0,\\nq=a.x;a=a.y;c&&F(q)&&(c.xy=a=this.getLabelPosition(q,a,c,n,w,y,h,b),this.isFirst&&!this.isLast&&!g(d.showFirstLabel,1)||this.isLast&&!this.isFirst&&!g(d.showLastLabel,1)?D=!1:!n||e.isRadial||w.step||w.rotation||k||0===m||this.handleOverflow(a),b&&h%b&&(D=!1),D&&F(a.y)?(a.opacity=m,c[this.isNewLabel?\\\"attr\\\":\\\"animate\\\"](a),this.isNewLabel=!1):(c.attr(\\\"y\\\",-9999),this.isNewLabel=!0),this.isNew=!1)},render:function(a,k,m){var h=this.axis,e=h.horiz,n=this.getPosition(e,this.pos,h.tickmarkOffset,k),d=n.x,\\nc=n.y,h=e&&d===h.pos+h.len||!e&&c===h.pos?-1:1;m=g(m,1);this.isActive=!0;this.renderGridLine(k,m,h);this.renderMark(n,m,h);this.renderLabel(n,k,m,a)},destroy:function(){G(this,this.axis)}}})(K);var S=function(a){var C=a.addEvent,A=a.animObject,G=a.arrayMax,F=a.arrayMin,m=a.color,g=a.correctFloat,k=a.defaultOptions,q=a.defined,v=a.deg2rad,u=a.destroyObjectProperties,h=a.each,e=a.extend,n=a.fireEvent,d=a.format,c=a.getMagnitude,w=a.grep,b=a.inArray,y=a.isArray,D=a.isNumber,H=a.isString,l=a.merge,B=\\na.normalizeTickInterval,r=a.objectEach,z=a.pick,M=a.removeEvent,p=a.splat,E=a.syncTimeout,I=a.Tick,L=function(){this.init.apply(this,arguments)};a.extend(L.prototype,{defaultOptions:{dateTimeLabelFormats:{millisecond:\\\"%H:%M:%S.%L\\\",second:\\\"%H:%M:%S\\\",minute:\\\"%H:%M\\\",hour:\\\"%H:%M\\\",day:\\\"%e. %b\\\",week:\\\"%e. %b\\\",month:\\\"%b '%y\\\",year:\\\"%Y\\\"},endOnTick:!1,labels:{enabled:!0,style:{color:\\\"#666666\\\",cursor:\\\"default\\\",fontSize:\\\"11px\\\"},x:0},minPadding:.01,maxPadding:.01,minorTickLength:2,minorTickPosition:\\\"outside\\\",startOfWeek:1,\\nstartOnTick:!1,tickLength:10,tickmarkPlacement:\\\"between\\\",tickPixelInterval:100,tickPosition:\\\"outside\\\",title:{align:\\\"middle\\\",style:{color:\\\"#666666\\\"}},type:\\\"linear\\\",minorGridLineColor:\\\"#f2f2f2\\\",minorGridLineWidth:1,minorTickColor:\\\"#999999\\\",lineColor:\\\"#ccd6eb\\\",lineWidth:1,gridLineColor:\\\"#e6e6e6\\\",tickColor:\\\"#ccd6eb\\\"},defaultYAxisOptions:{endOnTick:!0,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},maxPadding:.05,minPadding:.05,startOnTick:!0,title:{rotation:270,text:\\\"Values\\\"},stackLabels:{enabled:!1,\\nformatter:function(){return a.numberFormat(this.total,-1)},style:{fontSize:\\\"11px\\\",fontWeight:\\\"bold\\\",color:\\\"#000000\\\",textOutline:\\\"1px contrast\\\"}},gridLineWidth:1,lineWidth:0},defaultLeftAxisOptions:{labels:{x:-15},title:{rotation:270}},defaultRightAxisOptions:{labels:{x:15},title:{rotation:90}},defaultBottomAxisOptions:{labels:{autoRotation:[-45],x:0},title:{rotation:0}},defaultTopAxisOptions:{labels:{autoRotation:[-45],x:0},title:{rotation:0}},init:function(a,t){var f=t.isX,c=this;c.chart=a;c.horiz=\\na.inverted&&!c.isZAxis?!f:f;c.isXAxis=f;c.coll=c.coll||(f?\\\"xAxis\\\":\\\"yAxis\\\");c.opposite=t.opposite;c.side=t.side||(c.horiz?c.opposite?0:2:c.opposite?1:3);c.setOptions(t);var d=this.options,e=d.type;c.labelFormatter=d.labels.formatter||c.defaultLabelFormatter;c.userOptions=t;c.minPixelPadding=0;c.reversed=d.reversed;c.visible=!1!==d.visible;c.zoomEnabled=!1!==d.zoomEnabled;c.hasNames=\\\"category\\\"===e||!0===d.categories;c.categories=d.categories||c.hasNames;c.names=c.names||[];c.plotLinesAndBandsGroups=\\n{};c.isLog=\\\"logarithmic\\\"===e;c.isDatetimeAxis=\\\"datetime\\\"===e;c.positiveValuesOnly=c.isLog&&!c.allowNegativeLog;c.isLinked=q(d.linkedTo);c.ticks={};c.labelEdge=[];c.minorTicks={};c.plotLinesAndBands=[];c.alternateBands={};c.len=0;c.minRange=c.userMinRange=d.minRange||d.maxZoom;c.range=d.range;c.offset=d.offset||0;c.stacks={};c.oldStacks={};c.stacksTouched=0;c.max=null;c.min=null;c.crosshair=z(d.crosshair,p(a.options.tooltip.crosshairs)[f?0:1],!1);t=c.options.events;-1===b(c,a.axes)&&(f?a.axes.splice(a.xAxis.length,\\n0,c):a.axes.push(c),a[c.coll].push(c));c.series=c.series||[];a.inverted&&!c.isZAxis&&f&&void 0===c.reversed&&(c.reversed=!0);r(t,function(a,f){C(c,f,a)});c.lin2log=d.linearToLogConverter||c.lin2log;c.isLog&&(c.val2lin=c.log2lin,c.lin2val=c.lin2log)},setOptions:function(a){this.options=l(this.defaultOptions,\\\"yAxis\\\"===this.coll&&this.defaultYAxisOptions,[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side],l(k[this.coll],a))},\\ndefaultLabelFormatter:function(){var f=this.axis,b=this.value,c=f.categories,p=this.dateTimeLabelFormat,e=k.lang,l=e.numericSymbols,e=e.numericSymbolMagnitude||1E3,r=l&&l.length,x,h=f.options.labels.format,f=f.isLog?Math.abs(b):f.tickInterval;if(h)x=d(h,this);else if(c)x=b;else if(p)x=a.dateFormat(p,b);else if(r&&1E3<=f)for(;r--&&void 0===x;)c=Math.pow(e,r+1),f>=c&&0===10*b%c&&null!==l[r]&&0!==b&&(x=a.numberFormat(b/c,-1)+l[r]);void 0===x&&(x=1E4<=Math.abs(b)?a.numberFormat(b,-1):a.numberFormat(b,\\n-1,void 0,\\\"\\\"));return x},getSeriesExtremes:function(){var a=this,b=a.chart;a.hasVisibleSeries=!1;a.dataMin=a.dataMax=a.threshold=null;a.softThreshold=!a.isXAxis;a.buildStacks&&a.buildStacks();h(a.series,function(f){if(f.visible||!b.options.chart.ignoreHiddenSeries){var c=f.options,t=c.threshold,d;a.hasVisibleSeries=!0;a.positiveValuesOnly&&0>=t&&(t=null);if(a.isXAxis)c=f.xData,c.length&&(f=F(c),D(f)||f instanceof Date||(c=w(c,function(a){return D(a)}),f=F(c)),a.dataMin=Math.min(z(a.dataMin,c[0]),\\nf),a.dataMax=Math.max(z(a.dataMax,c[0]),G(c)));else if(f.getExtremes(),d=f.dataMax,f=f.dataMin,q(f)&&q(d)&&(a.dataMin=Math.min(z(a.dataMin,f),f),a.dataMax=Math.max(z(a.dataMax,d),d)),q(t)&&(a.threshold=t),!c.softThreshold||a.positiveValuesOnly)a.softThreshold=!1}})},translate:function(a,b,c,d,p,e){var f=this.linkedParent||this,t=1,l=0,r=d?f.oldTransA:f.transA;d=d?f.oldMin:f.min;var h=f.minPixelPadding;p=(f.isOrdinal||f.isBroken||f.isLog&&p)&&f.lin2val;r||(r=f.transA);c&&(t*=-1,l=f.len);f.reversed&&\\n(t*=-1,l-=t*(f.sector||f.len));b?(a=(a*t+l-h)/r+d,p&&(a=f.lin2val(a))):(p&&(a=f.val2lin(a)),a=t*(a-d)*r+l+t*h+(D(e)?r*e:0));return a},toPixels:function(a,b){return this.translate(a,!1,!this.horiz,null,!0)+(b?0:this.pos)},toValue:function(a,b){return this.translate(a-(b?0:this.pos),!0,!this.horiz,null,!0)},getPlotLinePath:function(a,b,c,d,p){var f=this.chart,t=this.left,e=this.top,l,r,h=c&&f.oldChartHeight||f.chartHeight,n=c&&f.oldChartWidth||f.chartWidth,w;l=this.transB;var g=function(a,f,b){if(a<\\nf||a>b)d?a=Math.min(Math.max(f,a),b):w=!0;return a};p=z(p,this.translate(a,null,null,c));a=c=Math.round(p+l);l=r=Math.round(h-p-l);D(p)?this.horiz?(l=e,r=h-this.bottom,a=c=g(a,t,t+this.width)):(a=t,c=n-this.right,l=r=g(l,e,e+this.height)):w=!0;return w&&!d?null:f.renderer.crispLine([\\\"M\\\",a,l,\\\"L\\\",c,r],b||1)},getLinearTickPositions:function(a,b,c){var f,t=g(Math.floor(b/a)*a);c=g(Math.ceil(c/a)*a);var d=[];if(this.single)return[b];for(b=t;b<=c;){d.push(b);b=g(b+a);if(b===f)break;f=b}return d},getMinorTickPositions:function(){var a=\\nthis,b=a.options,c=a.tickPositions,d=a.minorTickInterval,p=[],e=a.pointRangePadding||0,l=a.min-e,e=a.max+e,x=e-l;if(x&&x/d<a.len/3)if(a.isLog)h(this.paddedTicks,function(b,f,c){f&&p.push.apply(p,a.getLogTickPositions(d,c[f-1],c[f],!0))});else if(a.isDatetimeAxis&&\\\"auto\\\"===b.minorTickInterval)p=p.concat(a.getTimeTicks(a.normalizeTimeTickInterval(d),l,e,b.startOfWeek));else for(b=l+(c[0]-l)%d;b<=e&&b!==p[0];b+=d)p.push(b);0!==p.length&&a.trimTicks(p);return p},adjustForMinRange:function(){var a=this.options,\\nb=this.min,c=this.max,d,p,e,l,x,r,n,w;this.isXAxis&&void 0===this.minRange&&!this.isLog&&(q(a.min)||q(a.max)?this.minRange=null:(h(this.series,function(a){r=a.xData;for(l=n=a.xIncrement?1:r.length-1;0<l;l--)if(x=r[l]-r[l-1],void 0===e||x<e)e=x}),this.minRange=Math.min(5*e,this.dataMax-this.dataMin)));c-b<this.minRange&&(p=this.dataMax-this.dataMin>=this.minRange,w=this.minRange,d=(w-c+b)/2,d=[b-d,z(a.min,b-d)],p&&(d[2]=this.isLog?this.log2lin(this.dataMin):this.dataMin),b=G(d),c=[b+w,z(a.max,b+w)],\\np&&(c[2]=this.isLog?this.log2lin(this.dataMax):this.dataMax),c=F(c),c-b<w&&(d[0]=c-w,d[1]=z(a.min,c-w),b=G(d)));this.min=b;this.max=c},getClosest:function(){var a;this.categories?a=1:h(this.series,function(b){var f=b.closestPointRange,c=b.visible||!b.chart.options.chart.ignoreHiddenSeries;!b.noSharedTooltip&&q(f)&&c&&(a=q(a)?Math.min(a,f):f)});return a},nameToX:function(a){var f=y(this.categories),c=f?this.categories:this.names,d=a.options.x,p;a.series.requireSorting=!1;q(d)||(d=!1===this.options.uniqueNames?\\na.series.autoIncrement():b(a.name,c));-1===d?f||(p=c.length):p=d;void 0!==p&&(this.names[p]=a.name);return p},updateNames:function(){var a=this;0<this.names.length&&(this.names.length=0,this.minRange=this.userMinRange,h(this.series||[],function(b){b.xIncrement=null;if(!b.points||b.isDirtyData)b.processData(),b.generatePoints();h(b.points,function(f,c){var t;f.options&&(t=a.nameToX(f),void 0!==t&&t!==f.x&&(f.x=t,b.xData[c]=t))})}))},setAxisTranslation:function(a){var b=this,f=b.max-b.min,c=b.axisPointRange||\\n0,d,p=0,e=0,l=b.linkedParent,r=!!b.categories,n=b.transA,w=b.isXAxis;if(w||r||c)d=b.getClosest(),l?(p=l.minPointOffset,e=l.pointRangePadding):h(b.series,function(a){var f=r?1:w?z(a.options.pointRange,d,0):b.axisPointRange||0;a=a.options.pointPlacement;c=Math.max(c,f);b.single||(p=Math.max(p,H(a)?0:f/2),e=Math.max(e,\\\"on\\\"===a?0:f))}),l=b.ordinalSlope&&d?b.ordinalSlope/d:1,b.minPointOffset=p*=l,b.pointRangePadding=e*=l,b.pointRange=Math.min(c,f),w&&(b.closestPointRange=d);a&&(b.oldTransA=n);b.translationSlope=\\nb.transA=n=b.options.staticScale||b.len/(f+e||1);b.transB=b.horiz?b.left:b.bottom;b.minPixelPadding=n*p},minFromRange:function(){return this.max-this.range},setTickInterval:function(b){var f=this,d=f.chart,p=f.options,e=f.isLog,l=f.log2lin,r=f.isDatetimeAxis,x=f.isXAxis,w=f.isLinked,y=p.maxPadding,E=p.minPadding,k=p.tickInterval,I=p.tickPixelInterval,m=f.categories,H=f.threshold,u=f.softThreshold,L,v,M,A;r||m||w||this.getTickAmount();M=z(f.userMin,p.min);A=z(f.userMax,p.max);w?(f.linkedParent=d[f.coll][p.linkedTo],\\nd=f.linkedParent.getExtremes(),f.min=z(d.min,d.dataMin),f.max=z(d.max,d.dataMax),p.type!==f.linkedParent.options.type&&a.error(11,1)):(!u&&q(H)&&(f.dataMin>=H?(L=H,E=0):f.dataMax<=H&&(v=H,y=0)),f.min=z(M,L,f.dataMin),f.max=z(A,v,f.dataMax));e&&(f.positiveValuesOnly&&!b&&0>=Math.min(f.min,z(f.dataMin,f.min))&&a.error(10,1),f.min=g(l(f.min),15),f.max=g(l(f.max),15));f.range&&q(f.max)&&(f.userMin=f.min=M=Math.max(f.min,f.minFromRange()),f.userMax=A=f.max,f.range=null);n(f,\\\"foundExtremes\\\");f.beforePadding&&\\nf.beforePadding();f.adjustForMinRange();!(m||f.axisPointRange||f.usePercentage||w)&&q(f.min)&&q(f.max)&&(l=f.max-f.min)&&(!q(M)&&E&&(f.min-=l*E),!q(A)&&y&&(f.max+=l*y));D(p.softMin)&&(f.min=Math.min(f.min,p.softMin));D(p.softMax)&&(f.max=Math.max(f.max,p.softMax));D(p.floor)&&(f.min=Math.max(f.min,p.floor));D(p.ceiling)&&(f.max=Math.min(f.max,p.ceiling));u&&q(f.dataMin)&&(H=H||0,!q(M)&&f.min<H&&f.dataMin>=H?f.min=H:!q(A)&&f.max>H&&f.dataMax<=H&&(f.max=H));f.tickInterval=f.min===f.max||void 0===f.min||\\nvoid 0===f.max?1:w&&!k&&I===f.linkedParent.options.tickPixelInterval?k=f.linkedParent.tickInterval:z(k,this.tickAmount?(f.max-f.min)/Math.max(this.tickAmount-1,1):void 0,m?1:(f.max-f.min)*I/Math.max(f.len,I));x&&!b&&h(f.series,function(a){a.processData(f.min!==f.oldMin||f.max!==f.oldMax)});f.setAxisTranslation(!0);f.beforeSetTickPositions&&f.beforeSetTickPositions();f.postProcessTickInterval&&(f.tickInterval=f.postProcessTickInterval(f.tickInterval));f.pointRange&&!k&&(f.tickInterval=Math.max(f.pointRange,\\nf.tickInterval));b=z(p.minTickInterval,f.isDatetimeAxis&&f.closestPointRange);!k&&f.tickInterval<b&&(f.tickInterval=b);r||e||k||(f.tickInterval=B(f.tickInterval,null,c(f.tickInterval),z(p.allowDecimals,!(.5<f.tickInterval&&5>f.tickInterval&&1E3<f.max&&9999>f.max)),!!this.tickAmount));this.tickAmount||(f.tickInterval=f.unsquish());this.setTickPositions()},setTickPositions:function(){var a=this.options,b,c=a.tickPositions,d=a.tickPositioner,p=a.startOnTick,l=a.endOnTick;this.tickmarkOffset=this.categories&&\\n\\\"between\\\"===a.tickmarkPlacement&&1===this.tickInterval?.5:0;this.minorTickInterval=\\\"auto\\\"===a.minorTickInterval&&this.tickInterval?this.tickInterval/5:a.minorTickInterval;this.single=this.min===this.max&&q(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==a.allowDecimals);this.tickPositions=b=c&&c.slice();!b&&(b=this.isDatetimeAxis?this.getTimeTicks(this.normalizeTimeTickInterval(this.tickInterval,a.units),this.min,this.max,a.startOfWeek,this.ordinalPositions,this.closestPointRange,\\n!0):this.isLog?this.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max),b.length>this.len&&(b=[b[0],b.pop()]),this.tickPositions=b,d&&(d=d.apply(this,[this.min,this.max])))&&(this.tickPositions=b=d);this.paddedTicks=b.slice(0);this.trimTicks(b,p,l);this.isLinked||(this.single&&(this.min-=.5,this.max+=.5),c||d||this.adjustTickAmount())},trimTicks:function(a,b,c){var f=a[0],d=a[a.length-1],p=this.minPointOffset||0;if(!this.isLinked){if(b&&\\n-Infinity!==f)this.min=f;else for(;this.min-p>a[0];)a.shift();if(c)this.max=d;else for(;this.max+p<a[a.length-1];)a.pop();0===a.length&&q(f)&&a.push((d+f)/2)}},alignToOthers:function(){var a={},b,c=this.options;!1===this.chart.options.chart.alignTicks||!1===c.alignTicks||this.isLog||h(this.chart[this.coll],function(f){var c=f.options,c=[f.horiz?c.left:c.top,c.width,c.height,c.pane].join();f.series.length&&(a[c]?b=!0:a[c]=1)});return b},getTickAmount:function(){var a=this.options,b=a.tickAmount,c=\\na.tickPixelInterval;!q(a.tickInterval)&&this.len<c&&!this.isRadial&&!this.isLog&&a.startOnTick&&a.endOnTick&&(b=2);!b&&this.alignToOthers()&&(b=Math.ceil(this.len/c)+1);4>b&&(this.finalTickAmt=b,b=5);this.tickAmount=b},adjustTickAmount:function(){var a=this.tickInterval,b=this.tickPositions,c=this.tickAmount,d=this.finalTickAmt,p=b&&b.length;if(p<c){for(;b.length<c;)b.push(g(b[b.length-1]+a));this.transA*=(p-1)/(c-1);this.max=b[b.length-1]}else p>c&&(this.tickInterval*=2,this.setTickPositions());\\nif(q(d)){for(a=c=b.length;a--;)(3===d&&1===a%2||2>=d&&0<a&&a<c-1)&&b.splice(a,1);this.finalTickAmt=void 0}},setScale:function(){var a,b;this.oldMin=this.min;this.oldMax=this.max;this.oldAxisLength=this.len;this.setAxisSize();b=this.len!==this.oldAxisLength;h(this.series,function(b){if(b.isDirtyData||b.isDirty||b.xAxis.isDirty)a=!0});b||a||this.isLinked||this.forceRedraw||this.userMin!==this.oldUserMin||this.userMax!==this.oldUserMax||this.alignToOthers()?(this.resetStacks&&this.resetStacks(),this.forceRedraw=\\n!1,this.getSeriesExtremes(),this.setTickInterval(),this.oldUserMin=this.userMin,this.oldUserMax=this.userMax,this.isDirty||(this.isDirty=b||this.min!==this.oldMin||this.max!==this.oldMax)):this.cleanStacks&&this.cleanStacks()},setExtremes:function(a,b,c,d,p){var f=this,l=f.chart;c=z(c,!0);h(f.series,function(a){delete a.kdTree});p=e(p,{min:a,max:b});n(f,\\\"setExtremes\\\",p,function(){f.userMin=a;f.userMax=b;f.eventArgs=p;c&&l.redraw(d)})},zoom:function(a,b){var f=this.dataMin,c=this.dataMax,d=this.options,\\np=Math.min(f,z(d.min,f)),d=Math.max(c,z(d.max,c));if(a!==this.min||b!==this.max)this.allowZoomOutside||(q(f)&&(a<p&&(a=p),a>d&&(a=d)),q(c)&&(b<p&&(b=p),b>d&&(b=d))),this.displayBtn=void 0!==a||void 0!==b,this.setExtremes(a,b,!1,void 0,{trigger:\\\"zoom\\\"});return!0},setAxisSize:function(){var a=this.chart,b=this.options,c=b.offsets||[0,0,0,0],d=this.horiz,p=z(b.width,a.plotWidth-c[3]+c[1]),l=z(b.height,a.plotHeight-c[0]+c[2]),e=z(b.top,a.plotTop+c[0]),b=z(b.left,a.plotLeft+c[3]),c=/%$/;c.test(l)&&(l=\\nMath.round(parseFloat(l)/100*a.plotHeight));c.test(e)&&(e=Math.round(parseFloat(e)/100*a.plotHeight+a.plotTop));this.left=b;this.top=e;this.width=p;this.height=l;this.bottom=a.chartHeight-l-e;this.right=a.chartWidth-p-b;this.len=Math.max(d?p:l,0);this.pos=d?b:e},getExtremes:function(){var a=this.isLog,b=this.lin2log;return{min:a?g(b(this.min)):this.min,max:a?g(b(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},getThreshold:function(a){var b=\\nthis.isLog,f=this.lin2log,c=b?f(this.min):this.min,b=b?f(this.max):this.max;null===a?a=c:c>a?a=c:b<a&&(a=b);return this.translate(a,0,1,0,1)},autoLabelAlign:function(a){a=(z(a,0)-90*this.side+720)%360;return 15<a&&165>a?\\\"right\\\":195<a&&345>a?\\\"left\\\":\\\"center\\\"},tickSize:function(a){var b=this.options,f=b[a+\\\"Length\\\"],c=z(b[a+\\\"Width\\\"],\\\"tick\\\"===a&&this.isXAxis?1:0);if(c&&f)return\\\"inside\\\"===b[a+\\\"Position\\\"]&&(f=-f),[f,c]},labelMetrics:function(){var a=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style&&\\nthis.options.labels.style.fontSize,this.ticks[a]&&this.ticks[a].label)},unsquish:function(){var a=this.options.labels,b=this.horiz,c=this.tickInterval,d=c,p=this.len/(((this.categories?1:0)+this.max-this.min)/c),l,e=a.rotation,r=this.labelMetrics(),n,w=Number.MAX_VALUE,g,y=function(a){a/=p||1;a=1<a?Math.ceil(a):1;return a*c};b?(g=!a.staggerLines&&!a.step&&(q(e)?[e]:p<z(a.autoRotationLimit,80)&&a.autoRotation))&&h(g,function(a){var b;if(a===e||a&&-90<=a&&90>=a)n=y(Math.abs(r.h/Math.sin(v*a))),b=n+\\nMath.abs(a/360),b<w&&(w=b,l=a,d=n)}):a.step||(d=y(r.h));this.autoRotation=g;this.labelRotation=z(l,e);return d},getSlotWidth:function(){var a=this.chart,b=this.horiz,c=this.options.labels,d=Math.max(this.tickPositions.length-(this.categories?0:1),1),p=a.margin[3];return b&&2>(c.step||0)&&!c.rotation&&(this.staggerLines||1)*this.len/d||!b&&(p&&p-a.spacing[3]||.33*a.chartWidth)},renderUnsquish:function(){var a=this.chart,b=a.renderer,c=this.tickPositions,d=this.ticks,p=this.options.labels,e=this.horiz,\\nr=this.getSlotWidth(),x=Math.max(1,Math.round(r-2*(p.padding||5))),n={},w=this.labelMetrics(),g=p.style&&p.style.textOverflow,y,E=0,k,I;H(p.rotation)||(n.rotation=p.rotation||0);h(c,function(a){(a=d[a])&&a.labelLength>E&&(E=a.labelLength)});this.maxLabelLength=E;if(this.autoRotation)E>x&&E>w.h?n.rotation=this.labelRotation:this.labelRotation=0;else if(r&&(y={width:x+\\\"px\\\"},!g))for(y.textOverflow=\\\"clip\\\",k=c.length;!e&&k--;)if(I=c[k],x=d[I].label)x.styles&&\\\"ellipsis\\\"===x.styles.textOverflow?x.css({textOverflow:\\\"clip\\\"}):\\nd[I].labelLength>r&&x.css({width:r+\\\"px\\\"}),x.getBBox().height>this.len/c.length-(w.h-w.f)&&(x.specCss={textOverflow:\\\"ellipsis\\\"});n.rotation&&(y={width:(E>.5*a.chartHeight?.33*a.chartHeight:a.chartHeight)+\\\"px\\\"},g||(y.textOverflow=\\\"ellipsis\\\"));if(this.labelAlign=p.align||this.autoLabelAlign(this.labelRotation))n.align=this.labelAlign;h(c,function(a){var b=(a=d[a])&&a.label;b&&(b.attr(n),y&&b.css(l(y,b.specCss)),delete b.specCss,a.rotation=n.rotation)});this.tickRotCorr=b.rotCorr(w.b,this.labelRotation||\\n0,0!==this.side)},hasData:function(){return this.hasVisibleSeries||q(this.min)&&q(this.max)&&!!this.tickPositions},addTitle:function(a){var b=this.chart.renderer,f=this.horiz,c=this.opposite,d=this.options.title,p;this.axisTitle||((p=d.textAlign)||(p=(f?{low:\\\"left\\\",middle:\\\"center\\\",high:\\\"right\\\"}:{low:c?\\\"right\\\":\\\"left\\\",middle:\\\"center\\\",high:c?\\\"left\\\":\\\"right\\\"})[d.align]),this.axisTitle=b.text(d.text,0,0,d.useHTML).attr({zIndex:7,rotation:d.rotation||0,align:p}).addClass(\\\"highcharts-axis-title\\\").css(d.style).add(this.axisGroup),\\nthis.axisTitle.isNew=!0);this.axisTitle[a?\\\"show\\\":\\\"hide\\\"](!0)},generateTick:function(a){var b=this.ticks;b[a]?b[a].addLabel():b[a]=new I(this,a)},getOffset:function(){var a=this,b=a.chart,c=b.renderer,d=a.options,p=a.tickPositions,l=a.ticks,e=a.horiz,x=a.side,n=b.inverted&&!a.isZAxis?[1,0,3,2][x]:x,w,g,y=0,E,k=0,I=d.title,D=d.labels,m=0,B=b.axisOffset,b=b.clipOffset,H=[-1,1,1,-1][x],u=d.className,L=a.axisParent,v=this.tickSize(\\\"tick\\\");w=a.hasData();a.showAxis=g=w||z(d.showEmpty,!0);a.staggerLines=\\na.horiz&&D.staggerLines;a.axisGroup||(a.gridGroup=c.g(\\\"grid\\\").attr({zIndex:d.gridZIndex||1}).addClass(\\\"highcharts-\\\"+this.coll.toLowerCase()+\\\"-grid \\\"+(u||\\\"\\\")).add(L),a.axisGroup=c.g(\\\"axis\\\").attr({zIndex:d.zIndex||2}).addClass(\\\"highcharts-\\\"+this.coll.toLowerCase()+\\\" \\\"+(u||\\\"\\\")).add(L),a.labelGroup=c.g(\\\"axis-labels\\\").attr({zIndex:D.zIndex||7}).addClass(\\\"highcharts-\\\"+a.coll.toLowerCase()+\\\"-labels \\\"+(u||\\\"\\\")).add(L));w||a.isLinked?(h(p,function(b,c){a.generateTick(b,c)}),a.renderUnsquish(),!1===D.reserveSpace||\\n0!==x&&2!==x&&{1:\\\"left\\\",3:\\\"right\\\"}[x]!==a.labelAlign&&\\\"center\\\"!==a.labelAlign||h(p,function(a){m=Math.max(l[a].getLabelSize(),m)}),a.staggerLines&&(m*=a.staggerLines,a.labelOffset=m*(a.opposite?-1:1))):r(l,function(a,b){a.destroy();delete l[b]});I&&I.text&&!1!==I.enabled&&(a.addTitle(g),g&&!1!==I.reserveSpace&&(a.titleOffset=y=a.axisTitle.getBBox()[e?\\\"height\\\":\\\"width\\\"],E=I.offset,k=q(E)?0:z(I.margin,e?5:10)));a.renderLine();a.offset=H*z(d.offset,B[x]);a.tickRotCorr=a.tickRotCorr||{x:0,y:0};c=0===x?\\n-a.labelMetrics().h:2===x?a.tickRotCorr.y:0;k=Math.abs(m)+k;m&&(k=k-c+H*(e?z(D.y,a.tickRotCorr.y+8*H):D.x));a.axisTitleMargin=z(E,k);B[x]=Math.max(B[x],a.axisTitleMargin+y+H*a.offset,k,w&&p.length&&v?v[0]+H*a.offset:0);p=2*Math.floor(a.axisLine.strokeWidth()/2);0<d.offset&&(p-=2*d.offset);b[n]=Math.max(b[n]||p,p)},getLinePath:function(a){var b=this.chart,c=this.opposite,f=this.offset,d=this.horiz,p=this.left+(c?this.width:0)+f,f=b.chartHeight-this.bottom-(c?this.height:0)+f;c&&(a*=-1);return b.renderer.crispLine([\\\"M\\\",\\nd?this.left:p,d?f:this.top,\\\"L\\\",d?b.chartWidth-this.right:p,d?f:b.chartHeight-this.bottom],a)},renderLine:function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass(\\\"highcharts-axis-line\\\").add(this.axisGroup),this.axisLine.attr({stroke:this.options.lineColor,\\\"stroke-width\\\":this.options.lineWidth,zIndex:7}))},getTitlePosition:function(){var a=this.horiz,b=this.left,c=this.top,d=this.len,p=this.options.title,l=a?b:c,e=this.opposite,r=this.offset,h=p.x||0,n=p.y||0,w=this.chart.renderer.fontMetrics(p.style&&\\np.style.fontSize,this.axisTitle).f,d={low:l+(a?0:d),middle:l+d/2,high:l+(a?d:0)}[p.align],b=(a?c+this.height:b)+(a?1:-1)*(e?-1:1)*this.axisTitleMargin+(2===this.side?w:0);return{x:a?d+h:b+(e?this.width:0)+r+h,y:a?b+n-(e?this.height:0)+r:d+n}},renderMinorTick:function(a){var b=this.chart.hasRendered&&D(this.oldMin),c=this.minorTicks;c[a]||(c[a]=new I(this,a,\\\"minor\\\"));b&&c[a].isNew&&c[a].render(null,!0);c[a].render(null,!1,1)},renderTick:function(a,b){var c=this.isLinked,f=this.ticks,d=this.chart.hasRendered&&\\nD(this.oldMin);if(!c||a>=this.min&&a<=this.max)f[a]||(f[a]=new I(this,a)),d&&f[a].isNew&&f[a].render(b,!0,.1),f[a].render(b)},render:function(){var b=this,c=b.chart,d=b.options,p=b.isLog,l=b.lin2log,e=b.isLinked,n=b.tickPositions,x=b.axisTitle,w=b.ticks,g=b.minorTicks,y=b.alternateBands,k=d.stackLabels,m=d.alternateGridColor,q=b.tickmarkOffset,z=b.axisLine,B=b.showAxis,H=A(c.renderer.globalAnimation),u,L;b.labelEdge.length=0;b.overlap=!1;h([w,g,y],function(a){r(a,function(a){a.isActive=!1})});if(b.hasData()||\\ne)b.minorTickInterval&&!b.categories&&h(b.getMinorTickPositions(),function(a){b.renderMinorTick(a)}),n.length&&(h(n,function(a,c){b.renderTick(a,c)}),q&&(0===b.min||b.single)&&(w[-1]||(w[-1]=new I(b,-1,null,!0)),w[-1].render(-1))),m&&h(n,function(f,d){L=void 0!==n[d+1]?n[d+1]+q:b.max-q;0===d%2&&f<b.max&&L<=b.max+(c.polar?-q:q)&&(y[f]||(y[f]=new a.PlotLineOrBand(b)),u=f+q,y[f].options={from:p?l(u):u,to:p?l(L):L,color:m},y[f].render(),y[f].isActive=!0)}),b._addedPlotLB||(h((d.plotLines||[]).concat(d.plotBands||\\n[]),function(a){b.addPlotBandOrLine(a)}),b._addedPlotLB=!0);h([w,g,y],function(a){var b,f=[],d=H.duration;r(a,function(a,b){a.isActive||(a.render(b,!1,0),a.isActive=!1,f.push(b))});E(function(){for(b=f.length;b--;)a[f[b]]&&!a[f[b]].isActive&&(a[f[b]].destroy(),delete a[f[b]])},a!==y&&c.hasRendered&&d?d:0)});z&&(z[z.isPlaced?\\\"animate\\\":\\\"attr\\\"]({d:this.getLinePath(z.strokeWidth())}),z.isPlaced=!0,z[B?\\\"show\\\":\\\"hide\\\"](!0));x&&B&&(d=b.getTitlePosition(),D(d.y)?(x[x.isNew?\\\"attr\\\":\\\"animate\\\"](d),x.isNew=!1):\\n(x.attr(\\\"y\\\",-9999),x.isNew=!0));k&&k.enabled&&b.renderStackTotals();b.isDirty=!1},redraw:function(){this.visible&&(this.render(),h(this.plotLinesAndBands,function(a){a.render()}));h(this.series,function(a){a.isDirty=!0})},keepProps:\\\"extKey hcEvents names series userMax userMin\\\".split(\\\" \\\"),destroy:function(a){var c=this,f=c.stacks,d=c.plotLinesAndBands,p;a||M(c);r(f,function(a,b){u(a);f[b]=null});h([c.ticks,c.minorTicks,c.alternateBands],function(a){u(a)});if(d)for(a=d.length;a--;)d[a].destroy();h(\\\"stackTotalGroup axisLine axisTitle axisGroup gridGroup labelGroup cross\\\".split(\\\" \\\"),\\nfunction(a){c[a]&&(c[a]=c[a].destroy())});for(p in c.plotLinesAndBandsGroups)c.plotLinesAndBandsGroups[p]=c.plotLinesAndBandsGroups[p].destroy();r(c,function(a,f){-1===b(f,c.keepProps)&&delete c[f]})},drawCrosshair:function(a,b){var c,f=this.crosshair,d=z(f.snap,!0),p,l=this.cross;a||(a=this.cross&&this.cross.e);this.crosshair&&!1!==(q(b)||!d)?(d?q(b)&&(p=this.isXAxis?b.plotX:this.len-b.plotY):p=a&&(this.horiz?a.chartX-this.pos:this.len-a.chartY+this.pos),q(p)&&(c=this.getPlotLinePath(b&&(this.isXAxis?\\nb.x:z(b.stackY,b.y)),null,null,null,p)||null),q(c)?(b=this.categories&&!this.isRadial,l||(this.cross=l=this.chart.renderer.path().addClass(\\\"highcharts-crosshair highcharts-crosshair-\\\"+(b?\\\"category \\\":\\\"thin \\\")+f.className).attr({zIndex:z(f.zIndex,2)}).add(),l.attr({stroke:f.color||(b?m(\\\"#ccd6eb\\\").setOpacity(.25).get():\\\"#cccccc\\\"),\\\"stroke-width\\\":z(f.width,1)}),f.dashStyle&&l.attr({dashstyle:f.dashStyle})),l.show().attr({d:c}),b&&!f.width&&l.attr({\\\"stroke-width\\\":this.transA}),this.cross.e=a):this.hideCrosshair()):\\nthis.hideCrosshair()},hideCrosshair:function(){this.cross&&this.cross.hide()}});return a.Axis=L}(K);(function(a){var C=a.Axis,A=a.Date,G=a.dateFormat,F=a.defaultOptions,m=a.defined,g=a.each,k=a.extend,q=a.getMagnitude,v=a.getTZOffset,u=a.normalizeTickInterval,h=a.pick,e=a.timeUnits;C.prototype.getTimeTicks=function(a,d,c,w){var b=[],n={},D=F.global.useUTC,q,l=new A(d-Math.max(v(d),v(c))),B=A.hcMakeTime,r=a.unitRange,z=a.count,u;if(m(d)){l[A.hcSetMilliseconds](r>=e.second?0:z*Math.floor(l.getMilliseconds()/\\nz));if(r>=e.second)l[A.hcSetSeconds](r>=e.minute?0:z*Math.floor(l.getSeconds()/z));if(r>=e.minute)l[A.hcSetMinutes](r>=e.hour?0:z*Math.floor(l[A.hcGetMinutes]()/z));if(r>=e.hour)l[A.hcSetHours](r>=e.day?0:z*Math.floor(l[A.hcGetHours]()/z));if(r>=e.day)l[A.hcSetDate](r>=e.month?1:z*Math.floor(l[A.hcGetDate]()/z));r>=e.month&&(l[A.hcSetMonth](r>=e.year?0:z*Math.floor(l[A.hcGetMonth]()/z)),q=l[A.hcGetFullYear]());if(r>=e.year)l[A.hcSetFullYear](q-q%z);if(r===e.week)l[A.hcSetDate](l[A.hcGetDate]()-l[A.hcGetDay]()+\\nh(w,1));q=l[A.hcGetFullYear]();w=l[A.hcGetMonth]();var p=l[A.hcGetDate](),E=l[A.hcGetHours]();if(A.hcTimezoneOffset||A.hcGetTimezoneOffset)u=(!D||!!A.hcGetTimezoneOffset)&&(c-d>4*e.month||v(d)!==v(c)),l=l.getTime(),l=new A(l+v(l));D=l.getTime();for(d=1;D<c;)b.push(D),D=r===e.year?B(q+d*z,0):r===e.month?B(q,w+d*z):!u||r!==e.day&&r!==e.week?u&&r===e.hour?B(q,w,p,E+d*z):D+r*z:B(q,w,p+d*z*(r===e.day?1:7)),d++;b.push(D);r<=e.hour&&1E4>b.length&&g(b,function(a){0===a%18E5&&\\\"000000000\\\"===G(\\\"%H%M%S%L\\\",a)&&\\n(n[a]=\\\"day\\\")})}b.info=k(a,{higherRanks:n,totalRange:r*z});return b};C.prototype.normalizeTimeTickInterval=function(a,d){var c=d||[[\\\"millisecond\\\",[1,2,5,10,20,25,50,100,200,500]],[\\\"second\\\",[1,2,5,10,15,30]],[\\\"minute\\\",[1,2,5,10,15,30]],[\\\"hour\\\",[1,2,3,4,6,8,12]],[\\\"day\\\",[1,2]],[\\\"week\\\",[1,2]],[\\\"month\\\",[1,2,3,4,6]],[\\\"year\\\",null]];d=c[c.length-1];var h=e[d[0]],b=d[1],n;for(n=0;n<c.length&&!(d=c[n],h=e[d[0]],b=d[1],c[n+1]&&a<=(h*b[b.length-1]+e[c[n+1][0]])/2);n++);h===e.year&&a<5*h&&(b=[1,2,5]);a=u(a/h,b,\\n\\\"year\\\"===d[0]?Math.max(q(a/h),1):1);return{unitRange:h,count:a,unitName:d[0]}}})(K);(function(a){var C=a.Axis,A=a.getMagnitude,G=a.map,F=a.normalizeTickInterval,m=a.pick;C.prototype.getLogTickPositions=function(a,k,q,v){var g=this.options,h=this.len,e=this.lin2log,n=this.log2lin,d=[];v||(this._minorAutoInterval=null);if(.5<=a)a=Math.round(a),d=this.getLinearTickPositions(a,k,q);else if(.08<=a)for(var h=Math.floor(k),c,w,b,y,D,g=.3<a?[1,2,4]:.15<a?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];h<q+1&&!D;h++)for(w=\\ng.length,c=0;c<w&&!D;c++)b=n(e(h)*g[c]),b>k&&(!v||y<=q)&&void 0!==y&&d.push(y),y>q&&(D=!0),y=b;else k=e(k),q=e(q),a=g[v?\\\"minorTickInterval\\\":\\\"tickInterval\\\"],a=m(\\\"auto\\\"===a?null:a,this._minorAutoInterval,g.tickPixelInterval/(v?5:1)*(q-k)/((v?h/this.tickPositions.length:h)||1)),a=F(a,null,A(a)),d=G(this.getLinearTickPositions(a,k,q),n),v||(this._minorAutoInterval=a/5);v||(this.tickInterval=a);return d};C.prototype.log2lin=function(a){return Math.log(a)/Math.LN10};C.prototype.lin2log=function(a){return Math.pow(10,\\na)}})(K);(function(a,C){var A=a.arrayMax,G=a.arrayMin,F=a.defined,m=a.destroyObjectProperties,g=a.each,k=a.erase,q=a.merge,v=a.pick;a.PlotLineOrBand=function(a,h){this.axis=a;h&&(this.options=h,this.id=h.id)};a.PlotLineOrBand.prototype={render:function(){var g=this,h=g.axis,e=h.horiz,n=g.options,d=n.label,c=g.label,w=n.to,b=n.from,y=n.value,k=F(b)&&F(w),m=F(y),l=g.svgElem,B=!l,r=[],z=n.color,M=v(n.zIndex,0),p=n.events,r={\\\"class\\\":\\\"highcharts-plot-\\\"+(k?\\\"band \\\":\\\"line \\\")+(n.className||\\\"\\\")},E={},I=h.chart.renderer,\\nL=k?\\\"bands\\\":\\\"lines\\\",f=h.log2lin;h.isLog&&(b=f(b),w=f(w),y=f(y));m?(r={stroke:z,\\\"stroke-width\\\":n.width},n.dashStyle&&(r.dashstyle=n.dashStyle)):k&&(z&&(r.fill=z),n.borderWidth&&(r.stroke=n.borderColor,r[\\\"stroke-width\\\"]=n.borderWidth));E.zIndex=M;L+=\\\"-\\\"+M;(z=h.plotLinesAndBandsGroups[L])||(h.plotLinesAndBandsGroups[L]=z=I.g(\\\"plot-\\\"+L).attr(E).add());B&&(g.svgElem=l=I.path().attr(r).add(z));if(m)r=h.getPlotLinePath(y,l.strokeWidth());else if(k)r=h.getPlotBandPath(b,w,n);else return;B&&r&&r.length?(l.attr({d:r}),\\np&&a.objectEach(p,function(a,b){l.on(b,function(a){p[b].apply(g,[a])})})):l&&(r?(l.show(),l.animate({d:r})):(l.hide(),c&&(g.label=c=c.destroy())));d&&F(d.text)&&r&&r.length&&0<h.width&&0<h.height&&!r.flat?(d=q({align:e&&k&&\\\"center\\\",x:e?!k&&4:10,verticalAlign:!e&&k&&\\\"middle\\\",y:e?k?16:10:k?6:-4,rotation:e&&!k&&90},d),this.renderLabel(d,r,k,M)):c&&c.hide();return g},renderLabel:function(a,h,e,n){var d=this.label,c=this.axis.chart.renderer;d||(d={align:a.textAlign||a.align,rotation:a.rotation,\\\"class\\\":\\\"highcharts-plot-\\\"+\\n(e?\\\"band\\\":\\\"line\\\")+\\\"-label \\\"+(a.className||\\\"\\\")},d.zIndex=n,this.label=d=c.text(a.text,0,0,a.useHTML).attr(d).add(),d.css(a.style));n=[h[1],h[4],e?h[6]:h[1]];h=[h[2],h[5],e?h[7]:h[2]];e=G(n);c=G(h);d.align(a,!1,{x:e,y:c,width:A(n)-e,height:A(h)-c});d.show()},destroy:function(){k(this.axis.plotLinesAndBands,this);delete this.axis;m(this)}};a.extend(C.prototype,{getPlotBandPath:function(a,h){var e=this.getPlotLinePath(h,null,null,!0),n=this.getPlotLinePath(a,null,null,!0),d=this.horiz,c=1;a=a<this.min&&\\nh<this.min||a>this.max&&h>this.max;n&&e?(a&&(n.flat=n.toString()===e.toString(),c=0),n.push(d&&e[4]===n[4]?e[4]+c:e[4],d||e[5]!==n[5]?e[5]:e[5]+c,d&&e[1]===n[1]?e[1]+c:e[1],d||e[2]!==n[2]?e[2]:e[2]+c)):n=null;return n},addPlotBand:function(a){return this.addPlotBandOrLine(a,\\\"plotBands\\\")},addPlotLine:function(a){return this.addPlotBandOrLine(a,\\\"plotLines\\\")},addPlotBandOrLine:function(g,h){var e=(new a.PlotLineOrBand(this,g)).render(),n=this.userOptions;e&&(h&&(n[h]=n[h]||[],n[h].push(g)),this.plotLinesAndBands.push(e));\\nreturn e},removePlotBandOrLine:function(a){for(var h=this.plotLinesAndBands,e=this.options,n=this.userOptions,d=h.length;d--;)h[d].id===a&&h[d].destroy();g([e.plotLines||[],n.plotLines||[],e.plotBands||[],n.plotBands||[]],function(c){for(d=c.length;d--;)c[d].id===a&&k(c,c[d])})},removePlotBand:function(a){this.removePlotBandOrLine(a)},removePlotLine:function(a){this.removePlotBandOrLine(a)}})})(K,S);(function(a){var C=a.dateFormat,A=a.each,G=a.extend,F=a.format,m=a.isNumber,g=a.map,k=a.merge,q=a.pick,\\nv=a.splat,u=a.syncTimeout,h=a.timeUnits;a.Tooltip=function(){this.init.apply(this,arguments)};a.Tooltip.prototype={init:function(a,h){this.chart=a;this.options=h;this.crosshairs=[];this.now={x:0,y:0};this.isHidden=!0;this.split=h.split&&!a.inverted;this.shared=h.shared||this.split},cleanSplit:function(a){A(this.chart.series,function(e){var d=e&&e.tt;d&&(!d.isActive||a?e.tt=d.destroy():d.isActive=!1)})},getLabel:function(){var a=this.chart.renderer,h=this.options;this.label||(this.split?this.label=\\na.g(\\\"tooltip\\\"):(this.label=a.label(\\\"\\\",0,0,h.shape||\\\"callout\\\",null,null,h.useHTML,null,\\\"tooltip\\\").attr({padding:h.padding,r:h.borderRadius}),this.label.attr({fill:h.backgroundColor,\\\"stroke-width\\\":h.borderWidth}).css(h.style).shadow(h.shadow)),this.label.attr({zIndex:8}).add());return this.label},update:function(a){this.destroy();k(!0,this.chart.options.tooltip.userOptions,a);this.init(this.chart,k(!0,this.options,a))},destroy:function(){this.label&&(this.label=this.label.destroy());this.split&&this.tt&&\\n(this.cleanSplit(this.chart,!0),this.tt=this.tt.destroy());clearTimeout(this.hideTimer);clearTimeout(this.tooltipTimeout)},move:function(a,h,d,c){var e=this,b=e.now,n=!1!==e.options.animation&&!e.isHidden&&(1<Math.abs(a-b.x)||1<Math.abs(h-b.y)),g=e.followPointer||1<e.len;G(b,{x:n?(2*b.x+a)/3:a,y:n?(b.y+h)/2:h,anchorX:g?void 0:n?(2*b.anchorX+d)/3:d,anchorY:g?void 0:n?(b.anchorY+c)/2:c});e.getLabel().attr(b);n&&(clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){e&&e.move(a,\\nh,d,c)},32))},hide:function(a){var e=this;clearTimeout(this.hideTimer);a=q(a,this.options.hideDelay,500);this.isHidden||(this.hideTimer=u(function(){e.getLabel()[a?\\\"fadeOut\\\":\\\"hide\\\"]();e.isHidden=!0},a))},getAnchor:function(a,h){var d,c=this.chart,e=c.inverted,b=c.plotTop,n=c.plotLeft,k=0,m=0,l,q;a=v(a);d=a[0].tooltipPos;this.followPointer&&h&&(void 0===h.chartX&&(h=c.pointer.normalize(h)),d=[h.chartX-c.plotLeft,h.chartY-b]);d||(A(a,function(a){l=a.series.yAxis;q=a.series.xAxis;k+=a.plotX+(!e&&q?q.left-\\nn:0);m+=(a.plotLow?(a.plotLow+a.plotHigh)/2:a.plotY)+(!e&&l?l.top-b:0)}),k/=a.length,m/=a.length,d=[e?c.plotWidth-m:k,this.shared&&!e&&1<a.length&&h?h.chartY-b:e?c.plotHeight-k:m]);return g(d,Math.round)},getPosition:function(a,h,d){var c=this.chart,e=this.distance,b={},n=d.h||0,g,k=[\\\"y\\\",c.chartHeight,h,d.plotY+c.plotTop,c.plotTop,c.plotTop+c.plotHeight],l=[\\\"x\\\",c.chartWidth,a,d.plotX+c.plotLeft,c.plotLeft,c.plotLeft+c.plotWidth],m=!this.followPointer&&q(d.ttBelow,!c.inverted===!!d.negative),r=function(a,\\nc,d,f,p,l){var h=d<f-e,r=f+e+d<c,g=f-e-d;f+=e;if(m&&r)b[a]=f;else if(!m&&h)b[a]=g;else if(h)b[a]=Math.min(l-d,0>g-n?g:g-n);else if(r)b[a]=Math.max(p,f+n+d>c?f:f+n);else return!1},z=function(a,c,d,f){var p;f<e||f>c-e?p=!1:b[a]=f<d/2?1:f>c-d/2?c-d-2:f-d/2;return p},v=function(a){var b=k;k=l;l=b;g=a},p=function(){!1!==r.apply(0,k)?!1!==z.apply(0,l)||g||(v(!0),p()):g?b.x=b.y=0:(v(!0),p())};(c.inverted||1<this.len)&&v();p();return b},defaultFormatter:function(a){var e=this.points||v(this),d;d=[a.tooltipFooterHeaderFormatter(e[0])];\\nd=d.concat(a.bodyFormatter(e));d.push(a.tooltipFooterHeaderFormatter(e[0],!0));return d},refresh:function(a,h){var d,c=this.options,e,b=a,g,n={},k=[];d=c.formatter||this.defaultFormatter;var n=this.shared,l;clearTimeout(this.hideTimer);this.followPointer=v(b)[0].series.tooltipOptions.followPointer;g=this.getAnchor(b,h);h=g[0];e=g[1];!n||b.series&&b.series.noSharedTooltip?n=b.getLabelConfig():(A(b,function(a){a.setState(\\\"hover\\\");k.push(a.getLabelConfig())}),n={x:b[0].category,y:b[0].y},n.points=k,\\nb=b[0]);this.len=k.length;n=d.call(n,this);l=b.series;this.distance=q(l.tooltipOptions.distance,16);!1===n?this.hide():(d=this.getLabel(),this.isHidden&&d.attr({opacity:1}).show(),this.split?this.renderSplit(n,a):(c.style.width||d.css({width:this.chart.spacingBox.width}),d.attr({text:n&&n.join?n.join(\\\"\\\"):n}),d.removeClass(/highcharts-color-[\\\\d]+/g).addClass(\\\"highcharts-color-\\\"+q(b.colorIndex,l.colorIndex)),d.attr({stroke:c.borderColor||b.color||l.color||\\\"#666666\\\"}),this.updatePosition({plotX:h,plotY:e,\\nnegative:b.negative,ttBelow:b.ttBelow,h:g[2]||0})),this.isHidden=!1)},renderSplit:function(e,h){var d=this,c=[],g=this.chart,b=g.renderer,n=!0,k=this.options,m,l=this.getLabel();A(e.slice(0,h.length+1),function(a,e){e=h[e-1]||{isHeader:!0,plotX:h[0].plotX};var r=e.series||d,w=r.tt,p=e.series||{},y=\\\"highcharts-color-\\\"+q(e.colorIndex,p.colorIndex,\\\"none\\\");w||(r.tt=w=b.label(null,null,null,\\\"callout\\\").addClass(\\\"highcharts-tooltip-box \\\"+y).attr({padding:k.padding,r:k.borderRadius,fill:k.backgroundColor,\\nstroke:e.color||p.color||\\\"#333333\\\",\\\"stroke-width\\\":k.borderWidth}).add(l));w.isActive=!0;w.attr({text:a});w.css(k.style);a=w.getBBox();p=a.width+w.strokeWidth();e.isHeader?(m=a.height,p=Math.max(0,Math.min(e.plotX+g.plotLeft-p/2,g.chartWidth-p))):p=e.plotX+g.plotLeft-q(k.distance,16)-p;0>p&&(n=!1);a=(e.series&&e.series.yAxis&&e.series.yAxis.pos)+(e.plotY||0);a-=g.plotTop;c.push({target:e.isHeader?g.plotHeight+m:a,rank:e.isHeader?1:0,size:r.tt.getBBox().height+1,point:e,x:p,tt:w})});this.cleanSplit();\\na.distribute(c,g.plotHeight+m);A(c,function(a){var b=a.point,c=b.series;a.tt.attr({visibility:void 0===a.pos?\\\"hidden\\\":\\\"inherit\\\",x:n||b.isHeader?a.x:b.plotX+g.plotLeft+q(k.distance,16),y:a.pos+g.plotTop,anchorX:b.isHeader?b.plotX+g.plotLeft:b.plotX+c.xAxis.pos,anchorY:b.isHeader?a.pos+g.plotTop-15:b.plotY+c.yAxis.pos})})},updatePosition:function(a){var e=this.chart,d=this.getLabel(),d=(this.options.positioner||this.getPosition).call(this,d.width,d.height,a);this.move(Math.round(d.x),Math.round(d.y||\\n0),a.plotX+e.plotLeft,a.plotY+e.plotTop)},getDateFormat:function(a,g,d,c){var e=C(\\\"%m-%d %H:%M:%S.%L\\\",g),b,n,k={millisecond:15,second:12,minute:9,hour:6,day:3},m=\\\"millisecond\\\";for(n in h){if(a===h.week&&+C(\\\"%w\\\",g)===d&&\\\"00:00:00.000\\\"===e.substr(6)){n=\\\"week\\\";break}if(h[n]>a){n=m;break}if(k[n]&&e.substr(k[n])!==\\\"01-01 00:00:00.000\\\".substr(k[n]))break;\\\"week\\\"!==n&&(m=n)}n&&(b=c[n]);return b},getXDateFormat:function(a,h,d){h=h.dateTimeLabelFormats;var c=d&&d.closestPointRange;return(c?this.getDateFormat(c,\\na.x,d.options.startOfWeek,h):h.day)||h.year},tooltipFooterHeaderFormatter:function(a,h){var d=h?\\\"footer\\\":\\\"header\\\";h=a.series;var c=h.tooltipOptions,e=c.xDateFormat,b=h.xAxis,g=b&&\\\"datetime\\\"===b.options.type&&m(a.key),d=c[d+\\\"Format\\\"];g&&!e&&(e=this.getXDateFormat(a,c,b));g&&e&&(d=d.replace(\\\"{point.key}\\\",\\\"{point.key:\\\"+e+\\\"}\\\"));return F(d,{point:a,series:h})},bodyFormatter:function(a){return g(a,function(a){var d=a.series.tooltipOptions;return(d.pointFormatter||a.point.tooltipFormatter).call(a.point,\\nd.pointFormat)})}}})(K);(function(a){var C=a.addEvent,A=a.attr,G=a.charts,F=a.color,m=a.css,g=a.defined,k=a.doc,q=a.each,v=a.extend,u=a.fireEvent,h=a.offset,e=a.pick,n=a.removeEvent,d=a.splat,c=a.Tooltip,w=a.win;a.Pointer=function(a,c){this.init(a,c)};a.Pointer.prototype={init:function(a,d){this.options=d;this.chart=a;this.runChartClick=d.chart.events&&!!d.chart.events.click;this.pinchDown=[];this.lastValidTouch={};c&&d.tooltip.enabled&&(a.tooltip=new c(a,d.tooltip),this.followTouchMove=e(d.tooltip.followTouchMove,\\n!0));this.setDOMEvents()},zoomOption:function(a){var b=this.chart,c=b.options.chart,d=c.zoomType||\\\"\\\",b=b.inverted;/touch/.test(a.type)&&(d=e(c.pinchType,d));this.zoomX=a=/x/.test(d);this.zoomY=d=/y/.test(d);this.zoomHor=a&&!b||d&&b;this.zoomVert=d&&!b||a&&b;this.hasZoom=a||d},normalize:function(a,c){var b,d;a=a||w.event;a.target||(a.target=a.srcElement);d=a.touches?a.touches.length?a.touches.item(0):a.changedTouches[0]:a;c||(this.chartPosition=c=h(this.chart.container));void 0===d.pageX?(b=Math.max(a.x,\\na.clientX-c.left),c=a.y):(b=d.pageX-c.left,c=d.pageY-c.top);return v(a,{chartX:Math.round(b),chartY:Math.round(c)})},getCoordinates:function(a){var b={xAxis:[],yAxis:[]};q(this.chart.axes,function(c){b[c.isXAxis?\\\"xAxis\\\":\\\"yAxis\\\"].push({axis:c,value:c.toValue(a[c.horiz?\\\"chartX\\\":\\\"chartY\\\"])})});return b},getKDPoints:function(a,c,d){var b=[],l,h,r;q(a,function(a){l=a.noSharedTooltip&&c;h=!c&&a.directTouch;a.visible&&!h&&e(a.options.enableMouseTracking,!0)&&(r=a.searchPoint(d,!l&&0>a.options.findNearestPointBy.indexOf(\\\"y\\\")))&&\\nr.series&&b.push(r)});b.sort(function(a,b){var d=a.distX-b.distX,l=a.dist-b.dist,e=(b.series.group&&b.series.group.zIndex)-(a.series.group&&a.series.group.zIndex);return 0!==d&&c?d:0!==l?l:0!==e?e:a.series.index>b.series.index?-1:1});if(c&&b[0]&&!b[0].series.noSharedTooltip)for(a=b.length;a--;)(b[a].x!==b[0].x||b[a].series.noSharedTooltip)&&b.splice(a,1);return b},getPointFromEvent:function(a){a=a.target;for(var b;a&&!b;)b=a.point,a=a.parentNode;return b},getChartCoordinatesFromPoint:function(a,c){var b=\\na.series,d=b.xAxis,b=b.yAxis;if(d&&b)return c?{chartX:d.len+d.pos-a.clientX,chartY:b.len+b.pos-a.plotY}:{chartX:a.clientX+d.pos,chartY:a.plotY+b.pos}},getHoverData:function(b,c,d,e,l,h){var r=b,g=c,r=l?d:[g];e=!(!e||!b);c=g&&!g.stickyTracking;var n=function(a,b){return 0===b},p;e?n=function(a){return a===b}:c?n=function(a){return a.series===g}:r=a.grep(d,function(a){return a.stickyTracking});p=e&&!l?[b]:this.getKDPoints(r,l,h);g=(r=a.find(p,n))&&r.series;e||c||!l||(p=this.getKDPoints(d,l,h));p.sort(function(a,\\nb){return a.series.index-b.series.index});return{hoverPoint:r,hoverSeries:g,hoverPoints:p}},runPointActions:function(b,c){var d=this.chart,h=d.tooltip,l=h?h.shared:!1,g=c||d.hoverPoint,r=g&&g.series||d.hoverSeries;c=this.getHoverData(g,r,d.series,!!c||r&&r.directTouch&&this.isDirectTouch,l,b);var n,w,g=c.hoverPoint;n=(r=c.hoverSeries)&&r.tooltipOptions.followPointer;w=(l=l&&g&&!g.series.noSharedTooltip)?c.hoverPoints:g?[g]:[];if(g&&(g!==d.hoverPoint||h&&h.isHidden)){q(d.hoverPoints||[],function(b){-1===\\na.inArray(b,w)&&b.setState()});q(w||[],function(a){a.setState(\\\"hover\\\")});if(d.hoverSeries!==r)r.onMouseOver();d.hoverPoint&&d.hoverPoint.firePointEvent(\\\"mouseOut\\\");g.firePointEvent(\\\"mouseOver\\\");d.hoverPoints=w;d.hoverPoint=g;h&&h.refresh(l?w:g,b)}else n&&h&&!h.isHidden&&(r=h.getAnchor([{}],b),h.updatePosition({plotX:r[0],plotY:r[1]}));this.unDocMouseMove||(this.unDocMouseMove=C(k,\\\"mousemove\\\",function(b){var c=G[a.hoverChartIndex];if(c)c.pointer.onDocumentMouseMove(b)}));q(d.axes,function(c){e(c.crosshair.snap,\\n!0)?a.find(w,function(a){return a.series[c.coll]===c})?c.drawCrosshair(b,g):c.hideCrosshair():c.drawCrosshair(b)})},reset:function(a,c){var b=this.chart,e=b.hoverSeries,l=b.hoverPoint,h=b.hoverPoints,g=b.tooltip,n=g&&g.shared?h:l;a&&n&&q(d(n),function(b){b.series.isCartesian&&void 0===b.plotX&&(a=!1)});if(a)g&&n&&(g.refresh(n),l&&(l.setState(l.state,!0),q(b.axes,function(a){a.crosshair&&a.drawCrosshair(null,l)})));else{if(l)l.onMouseOut();h&&q(h,function(a){a.setState()});if(e)e.onMouseOut();g&&g.hide(c);\\nthis.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove());q(b.axes,function(a){a.hideCrosshair()});this.hoverX=b.hoverPoints=b.hoverPoint=null}},scaleGroups:function(a,c){var b=this.chart,d;q(b.series,function(e){d=a||e.getPlotBox();e.xAxis&&e.xAxis.zoomEnabled&&e.group&&(e.group.attr(d),e.markerGroup&&(e.markerGroup.attr(d),e.markerGroup.clip(c?b.clipRect:null)),e.dataLabelsGroup&&e.dataLabelsGroup.attr(d))});b.clipRect.attr(c||b.clipBox)},dragStart:function(a){var b=this.chart;b.mouseIsDown=\\na.type;b.cancelClick=!1;b.mouseDownX=this.mouseDownX=a.chartX;b.mouseDownY=this.mouseDownY=a.chartY},drag:function(a){var b=this.chart,c=b.options.chart,d=a.chartX,e=a.chartY,h=this.zoomHor,g=this.zoomVert,n=b.plotLeft,w=b.plotTop,p=b.plotWidth,k=b.plotHeight,m,q=this.selectionMarker,f=this.mouseDownX,t=this.mouseDownY,v=c.panKey&&a[c.panKey+\\\"Key\\\"];q&&q.touch||(d<n?d=n:d>n+p&&(d=n+p),e<w?e=w:e>w+k&&(e=w+k),this.hasDragged=Math.sqrt(Math.pow(f-d,2)+Math.pow(t-e,2)),10<this.hasDragged&&(m=b.isInsidePlot(f-\\nn,t-w),b.hasCartesianSeries&&(this.zoomX||this.zoomY)&&m&&!v&&!q&&(this.selectionMarker=q=b.renderer.rect(n,w,h?1:p,g?1:k,0).attr({fill:c.selectionMarkerFill||F(\\\"#335cad\\\").setOpacity(.25).get(),\\\"class\\\":\\\"highcharts-selection-marker\\\",zIndex:7}).add()),q&&h&&(d-=f,q.attr({width:Math.abs(d),x:(0<d?0:d)+f})),q&&g&&(d=e-t,q.attr({height:Math.abs(d),y:(0<d?0:d)+t})),m&&!q&&c.panning&&b.pan(a,c.panning)))},drop:function(a){var b=this,c=this.chart,d=this.hasPinched;if(this.selectionMarker){var e={originalEvent:a,\\nxAxis:[],yAxis:[]},h=this.selectionMarker,r=h.attr?h.attr(\\\"x\\\"):h.x,n=h.attr?h.attr(\\\"y\\\"):h.y,w=h.attr?h.attr(\\\"width\\\"):h.width,p=h.attr?h.attr(\\\"height\\\"):h.height,k;if(this.hasDragged||d)q(c.axes,function(c){if(c.zoomEnabled&&g(c.min)&&(d||b[{xAxis:\\\"zoomX\\\",yAxis:\\\"zoomY\\\"}[c.coll]])){var l=c.horiz,f=\\\"touchend\\\"===a.type?c.minPixelPadding:0,h=c.toValue((l?r:n)+f),l=c.toValue((l?r+w:n+p)-f);e[c.coll].push({axis:c,min:Math.min(h,l),max:Math.max(h,l)});k=!0}}),k&&u(c,\\\"selection\\\",e,function(a){c.zoom(v(a,d?\\n{animation:!1}:null))});this.selectionMarker=this.selectionMarker.destroy();d&&this.scaleGroups()}c&&(m(c.container,{cursor:c._cursor}),c.cancelClick=10<this.hasDragged,c.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},onContainerMouseDown:function(a){a=this.normalize(a);this.zoomOption(a);a.preventDefault&&a.preventDefault();this.dragStart(a)},onDocumentMouseUp:function(b){G[a.hoverChartIndex]&&G[a.hoverChartIndex].pointer.drop(b)},onDocumentMouseMove:function(a){var b=this.chart,\\nc=this.chartPosition;a=this.normalize(a,c);!c||this.inClass(a.target,\\\"highcharts-tracker\\\")||b.isInsidePlot(a.chartX-b.plotLeft,a.chartY-b.plotTop)||this.reset()},onContainerMouseLeave:function(b){var c=G[a.hoverChartIndex];c&&(b.relatedTarget||b.toElement)&&(c.pointer.reset(),c.pointer.chartPosition=null)},onContainerMouseMove:function(b){var c=this.chart;g(a.hoverChartIndex)&&G[a.hoverChartIndex]&&G[a.hoverChartIndex].mouseIsDown||(a.hoverChartIndex=c.index);b=this.normalize(b);b.returnValue=!1;\\n\\\"mousedown\\\"===c.mouseIsDown&&this.drag(b);!this.inClass(b.target,\\\"highcharts-tracker\\\")&&!c.isInsidePlot(b.chartX-c.plotLeft,b.chartY-c.plotTop)||c.openMenu||this.runPointActions(b)},inClass:function(a,c){for(var b;a;){if(b=A(a,\\\"class\\\")){if(-1!==b.indexOf(c))return!0;if(-1!==b.indexOf(\\\"highcharts-container\\\"))return!1}a=a.parentNode}},onTrackerMouseOut:function(a){var b=this.chart.hoverSeries;a=a.relatedTarget||a.toElement;this.isDirectTouch=!1;if(!(!b||!a||b.stickyTracking||this.inClass(a,\\\"highcharts-tooltip\\\")||\\nthis.inClass(a,\\\"highcharts-series-\\\"+b.index)&&this.inClass(a,\\\"highcharts-tracker\\\")))b.onMouseOut()},onContainerClick:function(a){var b=this.chart,c=b.hoverPoint,d=b.plotLeft,e=b.plotTop;a=this.normalize(a);b.cancelClick||(c&&this.inClass(a.target,\\\"highcharts-tracker\\\")?(u(c.series,\\\"click\\\",v(a,{point:c})),b.hoverPoint&&c.firePointEvent(\\\"click\\\",a)):(v(a,this.getCoordinates(a)),b.isInsidePlot(a.chartX-d,a.chartY-e)&&u(b,\\\"click\\\",a)))},setDOMEvents:function(){var b=this,c=b.chart.container;c.onmousedown=\\nfunction(a){b.onContainerMouseDown(a)};c.onmousemove=function(a){b.onContainerMouseMove(a)};c.onclick=function(a){b.onContainerClick(a)};C(c,\\\"mouseleave\\\",b.onContainerMouseLeave);1===a.chartCount&&C(k,\\\"mouseup\\\",b.onDocumentMouseUp);a.hasTouch&&(c.ontouchstart=function(a){b.onContainerTouchStart(a)},c.ontouchmove=function(a){b.onContainerTouchMove(a)},1===a.chartCount&&C(k,\\\"touchend\\\",b.onDocumentTouchEnd))},destroy:function(){var b=this;b.unDocMouseMove&&b.unDocMouseMove();n(b.chart.container,\\\"mouseleave\\\",\\nb.onContainerMouseLeave);a.chartCount||(n(k,\\\"mouseup\\\",b.onDocumentMouseUp),n(k,\\\"touchend\\\",b.onDocumentTouchEnd));clearInterval(b.tooltipTimeout);a.objectEach(b,function(a,c){b[c]=null})}}})(K);(function(a){var C=a.charts,A=a.each,G=a.extend,F=a.map,m=a.noop,g=a.pick;G(a.Pointer.prototype,{pinchTranslate:function(a,g,m,u,h,e){this.zoomHor&&this.pinchTranslateDirection(!0,a,g,m,u,h,e);this.zoomVert&&this.pinchTranslateDirection(!1,a,g,m,u,h,e)},pinchTranslateDirection:function(a,g,m,u,h,e,n,d){var c=\\nthis.chart,w=a?\\\"x\\\":\\\"y\\\",b=a?\\\"X\\\":\\\"Y\\\",k=\\\"chart\\\"+b,q=a?\\\"width\\\":\\\"height\\\",v=c[\\\"plot\\\"+(a?\\\"Left\\\":\\\"Top\\\")],l,B,r=d||1,z=c.inverted,M=c.bounds[a?\\\"h\\\":\\\"v\\\"],p=1===g.length,E=g[0][k],I=m[0][k],L=!p&&g[1][k],f=!p&&m[1][k],t;m=function(){!p&&20<Math.abs(E-L)&&(r=d||Math.abs(I-f)/Math.abs(E-L));B=(v-I)/r+E;l=c[\\\"plot\\\"+(a?\\\"Width\\\":\\\"Height\\\")]/r};m();g=B;g<M.min?(g=M.min,t=!0):g+l>M.max&&(g=M.max-l,t=!0);t?(I-=.8*(I-n[w][0]),p||(f-=.8*(f-n[w][1])),m()):n[w]=[I,f];z||(e[w]=B-v,e[q]=l);e=z?1/r:r;h[q]=l;h[w]=g;u[z?a?\\\"scaleY\\\":\\n\\\"scaleX\\\":\\\"scale\\\"+b]=r;u[\\\"translate\\\"+b]=e*v+(I-e*E)},pinch:function(a){var k=this,v=k.chart,u=k.pinchDown,h=a.touches,e=h.length,n=k.lastValidTouch,d=k.hasZoom,c=k.selectionMarker,w={},b=1===e&&(k.inClass(a.target,\\\"highcharts-tracker\\\")&&v.runTrackerClick||k.runChartClick),y={};1<e&&(k.initiated=!0);d&&k.initiated&&!b&&a.preventDefault();F(h,function(a){return k.normalize(a)});\\\"touchstart\\\"===a.type?(A(h,function(a,b){u[b]={chartX:a.chartX,chartY:a.chartY}}),n.x=[u[0].chartX,u[1]&&u[1].chartX],n.y=[u[0].chartY,\\nu[1]&&u[1].chartY],A(v.axes,function(a){if(a.zoomEnabled){var b=v.bounds[a.horiz?\\\"h\\\":\\\"v\\\"],c=a.minPixelPadding,d=a.toPixels(g(a.options.min,a.dataMin)),e=a.toPixels(g(a.options.max,a.dataMax)),h=Math.max(d,e);b.min=Math.min(a.pos,Math.min(d,e)-c);b.max=Math.max(a.pos+a.len,h+c)}}),k.res=!0):k.followTouchMove&&1===e?this.runPointActions(k.normalize(a)):u.length&&(c||(k.selectionMarker=c=G({destroy:m,touch:!0},v.plotBox)),k.pinchTranslate(u,h,w,c,y,n),k.hasPinched=d,k.scaleGroups(w,y),k.res&&(k.res=\\n!1,this.reset(!1,0)))},touch:function(k,m){var q=this.chart,u,h;if(q.index!==a.hoverChartIndex)this.onContainerMouseLeave({relatedTarget:!0});a.hoverChartIndex=q.index;1===k.touches.length?(k=this.normalize(k),(h=q.isInsidePlot(k.chartX-q.plotLeft,k.chartY-q.plotTop))&&!q.openMenu?(m&&this.runPointActions(k),\\\"touchmove\\\"===k.type&&(m=this.pinchDown,u=m[0]?4<=Math.sqrt(Math.pow(m[0].chartX-k.chartX,2)+Math.pow(m[0].chartY-k.chartY,2)):!1),g(u,!0)&&this.pinch(k)):m&&this.reset()):2===k.touches.length&&\\nthis.pinch(k)},onContainerTouchStart:function(a){this.zoomOption(a);this.touch(a,!0)},onContainerTouchMove:function(a){this.touch(a)},onDocumentTouchEnd:function(g){C[a.hoverChartIndex]&&C[a.hoverChartIndex].pointer.drop(g)}})})(K);(function(a){var C=a.addEvent,A=a.charts,G=a.css,F=a.doc,m=a.extend,g=a.noop,k=a.Pointer,q=a.removeEvent,v=a.win,u=a.wrap;if(!a.hasTouch&&(v.PointerEvent||v.MSPointerEvent)){var h={},e=!!v.PointerEvent,n=function(){var c=[];c.item=function(a){return this[a]};a.objectEach(h,\\nfunction(a){c.push({pageX:a.pageX,pageY:a.pageY,target:a.target})});return c},d=function(c,d,b,e){\\\"touch\\\"!==c.pointerType&&c.pointerType!==c.MSPOINTER_TYPE_TOUCH||!A[a.hoverChartIndex]||(e(c),e=A[a.hoverChartIndex].pointer,e[d]({type:b,target:c.currentTarget,preventDefault:g,touches:n()}))};m(k.prototype,{onContainerPointerDown:function(a){d(a,\\\"onContainerTouchStart\\\",\\\"touchstart\\\",function(a){h[a.pointerId]={pageX:a.pageX,pageY:a.pageY,target:a.currentTarget}})},onContainerPointerMove:function(a){d(a,\\n\\\"onContainerTouchMove\\\",\\\"touchmove\\\",function(a){h[a.pointerId]={pageX:a.pageX,pageY:a.pageY};h[a.pointerId].target||(h[a.pointerId].target=a.currentTarget)})},onDocumentPointerUp:function(a){d(a,\\\"onDocumentTouchEnd\\\",\\\"touchend\\\",function(a){delete h[a.pointerId]})},batchMSEvents:function(a){a(this.chart.container,e?\\\"pointerdown\\\":\\\"MSPointerDown\\\",this.onContainerPointerDown);a(this.chart.container,e?\\\"pointermove\\\":\\\"MSPointerMove\\\",this.onContainerPointerMove);a(F,e?\\\"pointerup\\\":\\\"MSPointerUp\\\",this.onDocumentPointerUp)}});\\nu(k.prototype,\\\"init\\\",function(a,d,b){a.call(this,d,b);this.hasZoom&&G(d.container,{\\\"-ms-touch-action\\\":\\\"none\\\",\\\"touch-action\\\":\\\"none\\\"})});u(k.prototype,\\\"setDOMEvents\\\",function(a){a.apply(this);(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(C)});u(k.prototype,\\\"destroy\\\",function(a){this.batchMSEvents(q);a.call(this)})}})(K);(function(a){var C=a.addEvent,A=a.css,G=a.discardElement,F=a.defined,m=a.each,g=a.isFirefox,k=a.marginNames,q=a.merge,v=a.pick,u=a.setAnimation,h=a.stableSort,e=a.win,n=a.wrap;\\na.Legend=function(a,c){this.init(a,c)};a.Legend.prototype={init:function(a,c){this.chart=a;this.setOptions(c);c.enabled&&(this.render(),C(this.chart,\\\"endResize\\\",function(){this.legend.positionCheckboxes()}))},setOptions:function(a){var c=v(a.padding,8);this.options=a;this.itemStyle=a.itemStyle;this.itemHiddenStyle=q(this.itemStyle,a.itemHiddenStyle);this.itemMarginTop=a.itemMarginTop||0;this.padding=c;this.initialItemY=c-5;this.itemHeight=this.maxItemWidth=0;this.symbolWidth=v(a.symbolWidth,16);this.pages=\\n[]},update:function(a,c){var d=this.chart;this.setOptions(q(!0,this.options,a));this.destroy();d.isDirtyLegend=d.isDirtyBox=!0;v(c,!0)&&d.redraw()},colorizeItem:function(d,c){d.legendGroup[c?\\\"removeClass\\\":\\\"addClass\\\"](\\\"highcharts-legend-item-hidden\\\");var e=this.options,b=d.legendItem,h=d.legendLine,g=d.legendSymbol,n=this.itemHiddenStyle.color,e=c?e.itemStyle.color:n,l=c?d.color||n:n,k=d.options&&d.options.marker,r={fill:l};b&&b.css({fill:e,color:e});h&&h.attr({stroke:l});g&&(k&&g.isMarker&&(r=d.pointAttribs(),\\nc||a.objectEach(r,function(a,b){r[b]=n})),g.attr(r))},positionItem:function(a){var c=this.options,d=c.symbolPadding,c=!c.rtl,b=a._legendItemPos,e=b[0],b=b[1],h=a.checkbox;(a=a.legendGroup)&&a.element&&a.translate(c?e:this.legendWidth-e-2*d-4,b);h&&(h.x=e,h.y=b)},destroyItem:function(a){var c=a.checkbox;m([\\\"legendItem\\\",\\\"legendLine\\\",\\\"legendSymbol\\\",\\\"legendGroup\\\"],function(c){a[c]&&(a[c]=a[c].destroy())});c&&G(a.checkbox)},destroy:function(){function a(a){this[a]&&(this[a]=this[a].destroy())}m(this.getAllItems(),\\nfunction(c){m([\\\"legendItem\\\",\\\"legendGroup\\\"],a,c)});m(\\\"clipRect up down pager nav box title group\\\".split(\\\" \\\"),a,this);this.display=null},positionCheckboxes:function(a){var c=this.group&&this.group.alignAttr,d,b=this.clipHeight||this.legendHeight,e=this.titleHeight;c&&(d=c.translateY,m(this.allItems,function(h){var g=h.checkbox,l;g&&(l=d+e+g.y+(a||0)+3,A(g,{left:c.translateX+h.checkboxOffset+g.x-20+\\\"px\\\",top:l+\\\"px\\\",display:l>d-6&&l<d+b-6?\\\"\\\":\\\"none\\\"}))}))},renderTitle:function(){var a=this.options,c=this.padding,\\ne=a.title,b=0;e.text&&(this.title||(this.title=this.chart.renderer.label(e.text,c-3,c-4,null,null,null,a.useHTML,null,\\\"legend-title\\\").attr({zIndex:1}).css(e.style).add(this.group)),a=this.title.getBBox(),b=a.height,this.offsetWidth=a.width,this.contentGroup.attr({translateY:b}));this.titleHeight=b},setText:function(d){var c=this.options;d.legendItem.attr({text:c.labelFormat?a.format(c.labelFormat,d):c.labelFormatter.call(d)})},renderItem:function(a){var c=this.chart,d=c.renderer,b=this.options,e=\\n\\\"horizontal\\\"===b.layout,h=this.symbolWidth,g=b.symbolPadding,l=this.itemStyle,n=this.itemHiddenStyle,r=this.padding,k=e?v(b.itemDistance,20):0,m=!b.rtl,p=b.width,E=b.itemMarginBottom||0,I=this.itemMarginTop,u=a.legendItem,f=!a.series,t=!f&&a.series.drawLegendSymbol?a.series:a,A=t.options,J=this.createCheckboxForItem&&A&&A.showCheckbox,A=h+g+k+(J?20:0),N=b.useHTML,C=a.options.className;u||(a.legendGroup=d.g(\\\"legend-item\\\").addClass(\\\"highcharts-\\\"+t.type+\\\"-series highcharts-color-\\\"+a.colorIndex+(C?\\\" \\\"+\\nC:\\\"\\\")+(f?\\\" highcharts-series-\\\"+a.index:\\\"\\\")).attr({zIndex:1}).add(this.scrollGroup),a.legendItem=u=d.text(\\\"\\\",m?h+g:-g,this.baseline||0,N).css(q(a.visible?l:n)).attr({align:m?\\\"left\\\":\\\"right\\\",zIndex:2}).add(a.legendGroup),this.baseline||(h=l.fontSize,this.fontMetrics=d.fontMetrics(h,u),this.baseline=this.fontMetrics.f+3+I,u.attr(\\\"y\\\",this.baseline)),this.symbolHeight=b.symbolHeight||this.fontMetrics.f,t.drawLegendSymbol(this,a),this.setItemEvents&&this.setItemEvents(a,u,N),J&&this.createCheckboxForItem(a));\\nthis.colorizeItem(a,a.visible);l.width||u.css({width:(b.itemWidth||c.spacingBox.width)-A});this.setText(a);d=u.getBBox();l=a.checkboxOffset=b.itemWidth||a.legendItemWidth||d.width+A;this.itemHeight=d=Math.round(a.legendItemHeight||d.height||this.symbolHeight);e&&this.itemX-r+l>(p||c.spacingBox.width-2*r-b.x)&&(this.itemX=r,this.itemY+=I+this.lastLineHeight+E,this.lastLineHeight=0);this.maxItemWidth=Math.max(this.maxItemWidth,l);this.lastItemY=I+this.itemY+E;this.lastLineHeight=Math.max(d,this.lastLineHeight);\\na._legendItemPos=[this.itemX,this.itemY];e?this.itemX+=l:(this.itemY+=I+d+E,this.lastLineHeight=d);this.offsetWidth=p||Math.max((e?this.itemX-r-k:l)+r,this.offsetWidth)},getAllItems:function(){var a=[];m(this.chart.series,function(c){var d=c&&c.options;c&&v(d.showInLegend,F(d.linkedTo)?!1:void 0,!0)&&(a=a.concat(c.legendItems||(\\\"point\\\"===d.legendType?c.data:c)))});return a},adjustMargins:function(a,c){var d=this.chart,b=this.options,e=b.align.charAt(0)+b.verticalAlign.charAt(0)+b.layout.charAt(0);\\nb.floating||m([/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/],function(h,g){h.test(e)&&!F(a[g])&&(d[k[g]]=Math.max(d[k[g]],d.legend[(g+1)%2?\\\"legendHeight\\\":\\\"legendWidth\\\"]+[1,-1,-1,1][g]*b[g%2?\\\"x\\\":\\\"y\\\"]+v(b.margin,12)+c[g]))})},render:function(){var a=this,c=a.chart,e=c.renderer,b=a.group,g,n,k,l,B=a.box,r=a.options,z=a.padding;a.itemX=z;a.itemY=a.initialItemY;a.offsetWidth=0;a.lastItemY=0;b||(a.group=b=e.g(\\\"legend\\\").attr({zIndex:7}).add(),a.contentGroup=e.g().attr({zIndex:1}).add(b),a.scrollGroup=\\ne.g().add(a.contentGroup));a.renderTitle();g=a.getAllItems();h(g,function(a,b){return(a.options&&a.options.legendIndex||0)-(b.options&&b.options.legendIndex||0)});r.reversed&&g.reverse();a.allItems=g;a.display=n=!!g.length;a.lastLineHeight=0;m(g,function(b){a.renderItem(b)});k=(r.width||a.offsetWidth)+z;l=a.lastItemY+a.lastLineHeight+a.titleHeight;l=a.handleOverflow(l);l+=z;B||(a.box=B=e.rect().addClass(\\\"highcharts-legend-box\\\").attr({r:r.borderRadius}).add(b),B.isNew=!0);B.attr({stroke:r.borderColor,\\n\\\"stroke-width\\\":r.borderWidth||0,fill:r.backgroundColor||\\\"none\\\"}).shadow(r.shadow);0<k&&0<l&&(B[B.isNew?\\\"attr\\\":\\\"animate\\\"](B.crisp({x:0,y:0,width:k,height:l},B.strokeWidth())),B.isNew=!1);B[n?\\\"show\\\":\\\"hide\\\"]();a.legendWidth=k;a.legendHeight=l;m(g,function(b){a.positionItem(b)});n&&b.align(q(r,{width:k,height:l}),!0,\\\"spacingBox\\\");c.isResizing||this.positionCheckboxes()},handleOverflow:function(a){var c=this,d=this.chart,b=d.renderer,e=this.options,h=e.y,g=this.padding,d=d.spacingBox.height+(\\\"top\\\"===e.verticalAlign?\\n-h:h)-g,h=e.maxHeight,l,n=this.clipRect,r=e.navigation,k=v(r.animation,!0),q=r.arrowSize||12,p=this.nav,E=this.pages,I,u=this.allItems,f=function(a){\\\"number\\\"===typeof a?n.attr({height:a}):n&&(c.clipRect=n.destroy(),c.contentGroup.clip());c.contentGroup.div&&(c.contentGroup.div.style.clip=a?\\\"rect(\\\"+g+\\\"px,9999px,\\\"+(g+a)+\\\"px,0)\\\":\\\"auto\\\")};\\\"horizontal\\\"!==e.layout||\\\"middle\\\"===e.verticalAlign||e.floating||(d/=2);h&&(d=Math.min(d,h));E.length=0;a>d&&!1!==r.enabled?(this.clipHeight=l=Math.max(d-20-this.titleHeight-\\ng,0),this.currentPage=v(this.currentPage,1),this.fullHeight=a,m(u,function(a,b){var c=a._legendItemPos[1];a=Math.round(a.legendItem.getBBox().height);var f=E.length;if(!f||c-E[f-1]>l&&(I||c)!==E[f-1])E.push(I||c),f++;b===u.length-1&&c+a-E[f-1]>l&&E.push(c);c!==I&&(I=c)}),n||(n=c.clipRect=b.clipRect(0,g,9999,0),c.contentGroup.clip(n)),f(l),p||(this.nav=p=b.g().attr({zIndex:1}).add(this.group),this.up=b.symbol(\\\"triangle\\\",0,0,q,q).on(\\\"click\\\",function(){c.scroll(-1,k)}).add(p),this.pager=b.text(\\\"\\\",15,\\n10).addClass(\\\"highcharts-legend-navigation\\\").css(r.style).add(p),this.down=b.symbol(\\\"triangle-down\\\",0,0,q,q).on(\\\"click\\\",function(){c.scroll(1,k)}).add(p)),c.scroll(0),a=d):p&&(f(),this.nav=p.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0);return a},scroll:function(a,c){var d=this.pages,b=d.length;a=this.currentPage+a;var e=this.clipHeight,h=this.options.navigation,g=this.pager,l=this.padding;a>b&&(a=b);0<a&&(void 0!==c&&u(c,this.chart),this.nav.attr({translateX:l,translateY:e+this.padding+\\n7+this.titleHeight,visibility:\\\"visible\\\"}),this.up.attr({\\\"class\\\":1===a?\\\"highcharts-legend-nav-inactive\\\":\\\"highcharts-legend-nav-active\\\"}),g.attr({text:a+\\\"/\\\"+b}),this.down.attr({x:18+this.pager.getBBox().width,\\\"class\\\":a===b?\\\"highcharts-legend-nav-inactive\\\":\\\"highcharts-legend-nav-active\\\"}),this.up.attr({fill:1===a?h.inactiveColor:h.activeColor}).css({cursor:1===a?\\\"default\\\":\\\"pointer\\\"}),this.down.attr({fill:a===b?h.inactiveColor:h.activeColor}).css({cursor:a===b?\\\"default\\\":\\\"pointer\\\"}),c=-d[a-1]+this.initialItemY,\\nthis.scrollGroup.animate({translateY:c}),this.currentPage=a,this.positionCheckboxes(c))}};a.LegendSymbolMixin={drawRectangle:function(a,c){var d=a.symbolHeight,b=a.options.squareSymbol;c.legendSymbol=this.chart.renderer.rect(b?(a.symbolWidth-d)/2:0,a.baseline-d+1,b?d:a.symbolWidth,d,v(a.options.symbolRadius,d/2)).addClass(\\\"highcharts-point\\\").attr({zIndex:3}).add(c.legendGroup)},drawLineMarker:function(a){var c=this.options,d=c.marker,b=a.symbolWidth,e=a.symbolHeight,h=e/2,g=this.chart.renderer,l=\\nthis.legendGroup;a=a.baseline-Math.round(.3*a.fontMetrics.b);var n;n={\\\"stroke-width\\\":c.lineWidth||0};c.dashStyle&&(n.dashstyle=c.dashStyle);this.legendLine=g.path([\\\"M\\\",0,a,\\\"L\\\",b,a]).addClass(\\\"highcharts-graph\\\").attr(n).add(l);d&&!1!==d.enabled&&(c=Math.min(v(d.radius,h),h),0===this.symbol.indexOf(\\\"url\\\")&&(d=q(d,{width:e,height:e}),c=0),this.legendSymbol=d=g.symbol(this.symbol,b/2-c,a-c,2*c,2*c,d).addClass(\\\"highcharts-point\\\").add(l),d.isMarker=!0)}};(/Trident\\\\/7\\\\.0/.test(e.navigator.userAgent)||g)&&\\nn(a.Legend.prototype,\\\"positionItem\\\",function(a,c){var d=this,b=function(){c._legendItemPos&&a.call(d,c)};b();setTimeout(b)})})(K);(function(a){var C=a.addEvent,A=a.animate,G=a.animObject,F=a.attr,m=a.doc,g=a.Axis,k=a.createElement,q=a.defaultOptions,v=a.discardElement,u=a.charts,h=a.css,e=a.defined,n=a.each,d=a.extend,c=a.find,w=a.fireEvent,b=a.getStyle,y=a.grep,D=a.isNumber,H=a.isObject,l=a.isString,B=a.Legend,r=a.marginNames,z=a.merge,M=a.objectEach,p=a.Pointer,E=a.pick,I=a.pInt,L=a.removeEvent,\\nf=a.seriesTypes,t=a.splat,R=a.svg,J=a.syncTimeout,N=a.win,O=a.Renderer,P=a.Chart=function(){this.getArgs.apply(this,arguments)};a.chart=function(a,b,c){return new P(a,b,c)};d(P.prototype,{callbacks:[],getArgs:function(){var a=[].slice.call(arguments);if(l(a[0])||a[0].nodeName)this.renderTo=a.shift();this.init(a[0],a[1])},init:function(b,c){var f,d,e=b.series,p=b.plotOptions||{};b.series=null;f=z(q,b);for(d in f.plotOptions)f.plotOptions[d].tooltip=p[d]&&z(p[d].tooltip)||void 0;f.tooltip.userOptions=\\nb.chart&&b.chart.forExport&&b.tooltip.userOptions||b.tooltip;f.series=b.series=e;this.userOptions=b;b=f.chart;d=b.events;this.margin=[];this.spacing=[];this.bounds={h:{},v:{}};this.callback=c;this.isResizing=0;this.options=f;this.axes=[];this.series=[];this.hasCartesianSeries=b.showAxes;var h=this;h.index=u.length;u.push(h);a.chartCount++;d&&M(d,function(a,b){C(h,b,a)});h.xAxis=[];h.yAxis=[];h.pointCount=h.colorCounter=h.symbolCounter=0;h.firstRender()},initSeries:function(b){var c=this.options.chart;\\n(c=f[b.type||c.type||c.defaultSeriesType])||a.error(17,!0);c=new c;c.init(this,b);return c},orderSeries:function(a){var b=this.series;for(a=a||0;a<b.length;a++)b[a]&&(b[a].index=a,b[a].name=b[a].name||\\\"Series \\\"+(b[a].index+1))},isInsidePlot:function(a,b,c){var f=c?b:a;a=c?a:b;return 0<=f&&f<=this.plotWidth&&0<=a&&a<=this.plotHeight},redraw:function(b){var c=this.axes,f=this.series,e=this.pointer,p=this.legend,h=this.isDirtyLegend,l,g,r=this.hasCartesianSeries,t=this.isDirtyBox,x,k=this.renderer,m=\\nk.isHidden(),E=[];this.setResponsive&&this.setResponsive(!1);a.setAnimation(b,this);m&&this.temporaryDisplay();this.layOutTitles();for(b=f.length;b--;)if(x=f[b],x.options.stacking&&(l=!0,x.isDirty)){g=!0;break}if(g)for(b=f.length;b--;)x=f[b],x.options.stacking&&(x.isDirty=!0);n(f,function(a){a.isDirty&&\\\"point\\\"===a.options.legendType&&(a.updateTotals&&a.updateTotals(),h=!0);a.isDirtyData&&w(a,\\\"updatedData\\\")});h&&p.options.enabled&&(p.render(),this.isDirtyLegend=!1);l&&this.getStacks();r&&n(c,function(a){a.updateNames();\\na.setScale()});this.getMargins();r&&(n(c,function(a){a.isDirty&&(t=!0)}),n(c,function(a){var b=a.min+\\\",\\\"+a.max;a.extKey!==b&&(a.extKey=b,E.push(function(){w(a,\\\"afterSetExtremes\\\",d(a.eventArgs,a.getExtremes()));delete a.eventArgs}));(t||l)&&a.redraw()}));t&&this.drawChartBox();w(this,\\\"predraw\\\");n(f,function(a){(t||a.isDirty)&&a.visible&&a.redraw();a.isDirtyData=!1});e&&e.reset(!0);k.draw();w(this,\\\"redraw\\\");w(this,\\\"render\\\");m&&this.temporaryDisplay(!0);n(E,function(a){a.call()})},get:function(a){function b(b){return b.id===\\na||b.options&&b.options.id===a}var f,d=this.series,e;f=c(this.axes,b)||c(this.series,b);for(e=0;!f&&e<d.length;e++)f=c(d[e].points||[],b);return f},getAxes:function(){var a=this,b=this.options,c=b.xAxis=t(b.xAxis||{}),b=b.yAxis=t(b.yAxis||{});n(c,function(a,b){a.index=b;a.isX=!0});n(b,function(a,b){a.index=b});c=c.concat(b);n(c,function(b){new g(a,b)})},getSelectedPoints:function(){var a=[];n(this.series,function(b){a=a.concat(y(b.data||[],function(a){return a.selected}))});return a},getSelectedSeries:function(){return y(this.series,\\nfunction(a){return a.selected})},setTitle:function(a,b,c){var f=this,d=f.options,e;e=d.title=z({style:{color:\\\"#333333\\\",fontSize:d.isStock?\\\"16px\\\":\\\"18px\\\"}},d.title,a);d=d.subtitle=z({style:{color:\\\"#666666\\\"}},d.subtitle,b);n([[\\\"title\\\",a,e],[\\\"subtitle\\\",b,d]],function(a,b){var c=a[0],d=f[c],e=a[1];a=a[2];d&&e&&(f[c]=d=d.destroy());a&&a.text&&!d&&(f[c]=f.renderer.text(a.text,0,0,a.useHTML).attr({align:a.align,\\\"class\\\":\\\"highcharts-\\\"+c,zIndex:a.zIndex||4}).add(),f[c].update=function(a){f.setTitle(!b&&a,b&&\\na)},f[c].css(a.style))});f.layOutTitles(c)},layOutTitles:function(a){var b=0,c,f=this.renderer,e=this.spacingBox;n([\\\"title\\\",\\\"subtitle\\\"],function(a){var c=this[a],p=this.options[a];a=\\\"title\\\"===a?-3:p.verticalAlign?0:b+2;var h;c&&(h=p.style.fontSize,h=f.fontMetrics(h,c).b,c.css({width:(p.width||e.width+p.widthAdjust)+\\\"px\\\"}).align(d({y:a+h},p),!1,\\\"spacingBox\\\"),p.floating||p.verticalAlign||(b=Math.ceil(b+c.getBBox(p.useHTML).height)))},this);c=this.titleOffset!==b;this.titleOffset=b;!this.isDirtyBox&&\\nc&&(this.isDirtyBox=c,this.hasRendered&&E(a,!0)&&this.isDirtyBox&&this.redraw())},getChartSize:function(){var c=this.options.chart,f=c.width,c=c.height,d=this.renderTo;e(f)||(this.containerWidth=b(d,\\\"width\\\"));e(c)||(this.containerHeight=b(d,\\\"height\\\"));this.chartWidth=Math.max(0,f||this.containerWidth||600);this.chartHeight=Math.max(0,a.relativeLength(c,this.chartWidth)||this.containerHeight||400)},temporaryDisplay:function(c){var f=this.renderTo;if(c)for(;f&&f.style;)f.hcOrigStyle&&(a.css(f,f.hcOrigStyle),\\ndelete f.hcOrigStyle),f=f.parentNode;else for(;f&&f.style;)\\\"none\\\"===b(f,\\\"display\\\",!1)&&(f.hcOrigStyle={display:f.style.display,height:f.style.height,overflow:f.style.overflow},c={display:\\\"block\\\",overflow:\\\"hidden\\\"},f!==this.renderTo&&(c.height=0),a.css(f,c),f.style.setProperty&&f.style.setProperty(\\\"display\\\",\\\"block\\\",\\\"important\\\")),f=f.parentNode},setClassName:function(a){this.container.className=\\\"highcharts-container \\\"+(a||\\\"\\\")},getContainer:function(){var b,c=this.options,f=c.chart,e,p;b=this.renderTo;\\nvar h=a.uniqueKey(),g;b||(this.renderTo=b=f.renderTo);l(b)&&(this.renderTo=b=m.getElementById(b));b||a.error(13,!0);e=I(F(b,\\\"data-highcharts-chart\\\"));D(e)&&u[e]&&u[e].hasRendered&&u[e].destroy();F(b,\\\"data-highcharts-chart\\\",this.index);b.innerHTML=\\\"\\\";f.skipClone||b.offsetWidth||this.temporaryDisplay();this.getChartSize();e=this.chartWidth;p=this.chartHeight;g=d({position:\\\"relative\\\",overflow:\\\"hidden\\\",width:e+\\\"px\\\",height:p+\\\"px\\\",textAlign:\\\"left\\\",lineHeight:\\\"normal\\\",zIndex:0,\\\"-webkit-tap-highlight-color\\\":\\\"rgba(0,0,0,0)\\\"},\\nf.style);this.container=b=k(\\\"div\\\",{id:h},g,b);this._cursor=b.style.cursor;this.renderer=new (a[f.renderer]||O)(b,e,p,null,f.forExport,c.exporting&&c.exporting.allowHTML);this.setClassName(f.className);this.renderer.setStyle(f.style);this.renderer.chartIndex=this.index},getMargins:function(a){var b=this.spacing,c=this.margin,f=this.titleOffset;this.resetMargins();f&&!e(c[0])&&(this.plotTop=Math.max(this.plotTop,f+this.options.title.margin+b[0]));this.legend.display&&this.legend.adjustMargins(c,b);\\nthis.extraMargin&&(this[this.extraMargin.type]=(this[this.extraMargin.type]||0)+this.extraMargin.value);this.extraTopMargin&&(this.plotTop+=this.extraTopMargin);a||this.getAxisMargins()},getAxisMargins:function(){var a=this,b=a.axisOffset=[0,0,0,0],c=a.margin;a.hasCartesianSeries&&n(a.axes,function(a){a.visible&&a.getOffset()});n(r,function(f,d){e(c[d])||(a[f]+=b[d])});a.setChartSize()},reflow:function(a){var c=this,f=c.options.chart,d=c.renderTo,p=e(f.width),h=f.width||b(d,\\\"width\\\"),f=f.height||b(d,\\n\\\"height\\\"),d=a?a.target:N;if(!p&&!c.isPrinting&&h&&f&&(d===N||d===m)){if(h!==c.containerWidth||f!==c.containerHeight)clearTimeout(c.reflowTimeout),c.reflowTimeout=J(function(){c.container&&c.setSize(void 0,void 0,!1)},a?100:0);c.containerWidth=h;c.containerHeight=f}},initReflow:function(){var a=this,b;b=C(N,\\\"resize\\\",function(b){a.reflow(b)});C(a,\\\"destroy\\\",b)},setSize:function(b,c,f){var d=this,e=d.renderer;d.isResizing+=1;a.setAnimation(f,d);d.oldChartHeight=d.chartHeight;d.oldChartWidth=d.chartWidth;\\nvoid 0!==b&&(d.options.chart.width=b);void 0!==c&&(d.options.chart.height=c);d.getChartSize();b=e.globalAnimation;(b?A:h)(d.container,{width:d.chartWidth+\\\"px\\\",height:d.chartHeight+\\\"px\\\"},b);d.setChartSize(!0);e.setSize(d.chartWidth,d.chartHeight,f);n(d.axes,function(a){a.isDirty=!0;a.setScale()});d.isDirtyLegend=!0;d.isDirtyBox=!0;d.layOutTitles();d.getMargins();d.redraw(f);d.oldChartHeight=null;w(d,\\\"resize\\\");J(function(){d&&w(d,\\\"endResize\\\",null,function(){--d.isResizing})},G(b).duration)},setChartSize:function(a){function b(a){a=\\nl[a]||0;return Math.max(m||a,a)/2}var c=this.inverted,f=this.renderer,d=this.chartWidth,e=this.chartHeight,p=this.options.chart,h=this.spacing,l=this.clipOffset,g,r,t,k,m;this.plotLeft=g=Math.round(this.plotLeft);this.plotTop=r=Math.round(this.plotTop);this.plotWidth=t=Math.max(0,Math.round(d-g-this.marginRight));this.plotHeight=k=Math.max(0,Math.round(e-r-this.marginBottom));this.plotSizeX=c?k:t;this.plotSizeY=c?t:k;this.plotBorderWidth=p.plotBorderWidth||0;this.spacingBox=f.spacingBox={x:h[3],y:h[0],\\nwidth:d-h[3]-h[1],height:e-h[0]-h[2]};this.plotBox=f.plotBox={x:g,y:r,width:t,height:k};m=2*Math.floor(this.plotBorderWidth/2);c=Math.ceil(b(3));f=Math.ceil(b(0));this.clipBox={x:c,y:f,width:Math.floor(this.plotSizeX-b(1)-c),height:Math.max(0,Math.floor(this.plotSizeY-b(2)-f))};a||n(this.axes,function(a){a.setAxisSize();a.setAxisTranslation()})},resetMargins:function(){var a=this,b=a.options.chart;n([\\\"margin\\\",\\\"spacing\\\"],function(c){var f=b[c],d=H(f)?f:[f,f,f,f];n([\\\"Top\\\",\\\"Right\\\",\\\"Bottom\\\",\\\"Left\\\"],function(f,\\ne){a[c][e]=E(b[c+f],d[e])})});n(r,function(b,c){a[b]=E(a.margin[c],a.spacing[c])});a.axisOffset=[0,0,0,0];a.clipOffset=[]},drawChartBox:function(){var a=this.options.chart,b=this.renderer,c=this.chartWidth,f=this.chartHeight,d=this.chartBackground,e=this.plotBackground,p=this.plotBorder,h,l=this.plotBGImage,g=a.backgroundColor,n=a.plotBackgroundColor,r=a.plotBackgroundImage,t,k=this.plotLeft,m=this.plotTop,E=this.plotWidth,w=this.plotHeight,q=this.plotBox,I=this.clipRect,z=this.clipBox,y=\\\"animate\\\";\\nd||(this.chartBackground=d=b.rect().addClass(\\\"highcharts-background\\\").add(),y=\\\"attr\\\");h=a.borderWidth||0;t=h+(a.shadow?8:0);g={fill:g||\\\"none\\\"};if(h||d[\\\"stroke-width\\\"])g.stroke=a.borderColor,g[\\\"stroke-width\\\"]=h;d.attr(g).shadow(a.shadow);d[y]({x:t/2,y:t/2,width:c-t-h%2,height:f-t-h%2,r:a.borderRadius});y=\\\"animate\\\";e||(y=\\\"attr\\\",this.plotBackground=e=b.rect().addClass(\\\"highcharts-plot-background\\\").add());e[y](q);e.attr({fill:n||\\\"none\\\"}).shadow(a.plotShadow);r&&(l?l.animate(q):this.plotBGImage=b.image(r,\\nk,m,E,w).add());I?I.animate({width:z.width,height:z.height}):this.clipRect=b.clipRect(z);y=\\\"animate\\\";p||(y=\\\"attr\\\",this.plotBorder=p=b.rect().addClass(\\\"highcharts-plot-border\\\").attr({zIndex:1}).add());p.attr({stroke:a.plotBorderColor,\\\"stroke-width\\\":a.plotBorderWidth||0,fill:\\\"none\\\"});p[y](p.crisp({x:k,y:m,width:E,height:w},-p.strokeWidth()));this.isDirtyBox=!1},propFromSeries:function(){var a=this,b=a.options.chart,c,d=a.options.series,e,p;n([\\\"inverted\\\",\\\"angular\\\",\\\"polar\\\"],function(h){c=f[b.type||b.defaultSeriesType];\\np=b[h]||c&&c.prototype[h];for(e=d&&d.length;!p&&e--;)(c=f[d[e].type])&&c.prototype[h]&&(p=!0);a[h]=p})},linkSeries:function(){var a=this,b=a.series;n(b,function(a){a.linkedSeries.length=0});n(b,function(b){var c=b.options.linkedTo;l(c)&&(c=\\\":previous\\\"===c?a.series[b.index-1]:a.get(c))&&c.linkedParent!==b&&(c.linkedSeries.push(b),b.linkedParent=c,b.visible=E(b.options.visible,c.options.visible,b.visible))})},renderSeries:function(){n(this.series,function(a){a.translate();a.render()})},renderLabels:function(){var a=\\nthis,b=a.options.labels;b.items&&n(b.items,function(c){var f=d(b.style,c.style),e=I(f.left)+a.plotLeft,p=I(f.top)+a.plotTop+12;delete f.left;delete f.top;a.renderer.text(c.html,e,p).attr({zIndex:2}).css(f).add()})},render:function(){var a=this.axes,b=this.renderer,c=this.options,f,d,e;this.setTitle();this.legend=new B(this,c.legend);this.getStacks&&this.getStacks();this.getMargins(!0);this.setChartSize();c=this.plotWidth;f=this.plotHeight-=21;n(a,function(a){a.setScale()});this.getAxisMargins();d=\\n1.1<c/this.plotWidth;e=1.05<f/this.plotHeight;if(d||e)n(a,function(a){(a.horiz&&d||!a.horiz&&e)&&a.setTickInterval(!0)}),this.getMargins();this.drawChartBox();this.hasCartesianSeries&&n(a,function(a){a.visible&&a.render()});this.seriesGroup||(this.seriesGroup=b.g(\\\"series-group\\\").attr({zIndex:3}).add());this.renderSeries();this.renderLabels();this.addCredits();this.setResponsive&&this.setResponsive();this.hasRendered=!0},addCredits:function(a){var b=this;a=z(!0,this.options.credits,a);a.enabled&&!this.credits&&\\n(this.credits=this.renderer.text(a.text+(this.mapCredits||\\\"\\\"),0,0).addClass(\\\"highcharts-credits\\\").on(\\\"click\\\",function(){a.href&&(N.location.href=a.href)}).attr({align:a.position.align,zIndex:8}).css(a.style).add().align(a.position),this.credits.update=function(a){b.credits=b.credits.destroy();b.addCredits(a)})},destroy:function(){var b=this,c=b.axes,f=b.series,d=b.container,e,p=d&&d.parentNode;w(b,\\\"destroy\\\");b.renderer.forExport?a.erase(u,b):u[b.index]=void 0;a.chartCount--;b.renderTo.removeAttribute(\\\"data-highcharts-chart\\\");\\nL(b);for(e=c.length;e--;)c[e]=c[e].destroy();this.scroller&&this.scroller.destroy&&this.scroller.destroy();for(e=f.length;e--;)f[e]=f[e].destroy();n(\\\"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer\\\".split(\\\" \\\"),function(a){var c=b[a];c&&c.destroy&&(b[a]=c.destroy())});d&&(d.innerHTML=\\\"\\\",L(d),p&&v(d));M(b,function(a,c){delete b[c]})},isReadyToRender:function(){var a=this;return R||N!=N.top||\\n\\\"complete\\\"===m.readyState?!0:(m.attachEvent(\\\"onreadystatechange\\\",function(){m.detachEvent(\\\"onreadystatechange\\\",a.firstRender);\\\"complete\\\"===m.readyState&&a.firstRender()}),!1)},firstRender:function(){var a=this,b=a.options;if(a.isReadyToRender()){a.getContainer();w(a,\\\"init\\\");a.resetMargins();a.setChartSize();a.propFromSeries();a.getAxes();n(b.series||[],function(b){a.initSeries(b)});a.linkSeries();w(a,\\\"beforeRender\\\");p&&(a.pointer=new p(a,b));a.render();if(!a.renderer.imgCount&&a.onload)a.onload();\\na.temporaryDisplay(!0)}},onload:function(){n([this.callback].concat(this.callbacks),function(a){a&&void 0!==this.index&&a.apply(this,[this])},this);w(this,\\\"load\\\");w(this,\\\"render\\\");e(this.index)&&!1!==this.options.chart.reflow&&this.initReflow();this.onload=null}})})(K);(function(a){var C,A=a.each,G=a.extend,F=a.erase,m=a.fireEvent,g=a.format,k=a.isArray,q=a.isNumber,v=a.pick,u=a.removeEvent;a.Point=C=function(){};a.Point.prototype={init:function(a,e,g){this.series=a;this.color=a.color;this.applyOptions(e,\\ng);a.options.colorByPoint?(e=a.options.colors||a.chart.options.colors,this.color=this.color||e[a.colorCounter],e=e.length,g=a.colorCounter,a.colorCounter++,a.colorCounter===e&&(a.colorCounter=0)):g=a.colorIndex;this.colorIndex=v(this.colorIndex,g);a.chart.pointCount++;return this},applyOptions:function(a,e){var h=this.series,d=h.options.pointValKey||h.pointValKey;a=C.prototype.optionsToObject.call(this,a);G(this,a);this.options=this.options?G(this.options,a):a;a.group&&delete this.group;d&&(this.y=\\nthis[d]);this.isNull=v(this.isValid&&!this.isValid(),null===this.x||!q(this.y,!0));this.selected&&(this.state=\\\"select\\\");\\\"name\\\"in this&&void 0===e&&h.xAxis&&h.xAxis.hasNames&&(this.x=h.xAxis.nameToX(this));void 0===this.x&&h&&(this.x=void 0===e?h.autoIncrement(this):e);return this},optionsToObject:function(a){var e={},h=this.series,d=h.options.keys,c=d||h.pointArrayMap||[\\\"y\\\"],g=c.length,b=0,m=0;if(q(a)||null===a)e[c[0]]=a;else if(k(a))for(!d&&a.length>g&&(h=typeof a[0],\\\"string\\\"===h?e.name=a[0]:\\\"number\\\"===\\nh&&(e.x=a[0]),b++);m<g;)d&&void 0===a[b]||(e[c[m]]=a[b]),b++,m++;else\\\"object\\\"===typeof a&&(e=a,a.dataLabels&&(h._hasPointLabels=!0),a.marker&&(h._hasPointMarkers=!0));return e},getClassName:function(){return\\\"highcharts-point\\\"+(this.selected?\\\" highcharts-point-select\\\":\\\"\\\")+(this.negative?\\\" highcharts-negative\\\":\\\"\\\")+(this.isNull?\\\" highcharts-null-point\\\":\\\"\\\")+(void 0!==this.colorIndex?\\\" highcharts-color-\\\"+this.colorIndex:\\\"\\\")+(this.options.className?\\\" \\\"+this.options.className:\\\"\\\")+(this.zone&&this.zone.className?\\n\\\" \\\"+this.zone.className.replace(\\\"highcharts-negative\\\",\\\"\\\"):\\\"\\\")},getZone:function(){var a=this.series,e=a.zones,a=a.zoneAxis||\\\"y\\\",g=0,d;for(d=e[g];this[a]>=d.value;)d=e[++g];d&&d.color&&!this.options.color&&(this.color=d.color);return d},destroy:function(){var a=this.series.chart,e=a.hoverPoints,g;a.pointCount--;e&&(this.setState(),F(e,this),e.length||(a.hoverPoints=null));if(this===a.hoverPoint)this.onMouseOut();if(this.graphic||this.dataLabel)u(this),this.destroyElements();this.legendItem&&a.legend.destroyItem(this);\\nfor(g in this)this[g]=null},destroyElements:function(){for(var a=[\\\"graphic\\\",\\\"dataLabel\\\",\\\"dataLabelUpper\\\",\\\"connector\\\",\\\"shadowGroup\\\"],e,g=6;g--;)e=a[g],this[e]&&(this[e]=this[e].destroy())},getLabelConfig:function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},tooltipFormatter:function(a){var e=this.series,h=e.tooltipOptions,d=v(h.valueDecimals,\\\"\\\"),\\nc=h.valuePrefix||\\\"\\\",k=h.valueSuffix||\\\"\\\";A(e.pointArrayMap||[\\\"y\\\"],function(b){b=\\\"{point.\\\"+b;if(c||k)a=a.replace(b+\\\"}\\\",c+b+\\\"}\\\"+k);a=a.replace(b+\\\"}\\\",b+\\\":,.\\\"+d+\\\"f}\\\")});return g(a,{point:this,series:this.series})},firePointEvent:function(a,e,g){var d=this,c=this.series.options;(c.point.events[a]||d.options&&d.options.events&&d.options.events[a])&&this.importEvents();\\\"click\\\"===a&&c.allowPointSelect&&(g=function(a){d.select&&d.select(null,a.ctrlKey||a.metaKey||a.shiftKey)});m(this,a,e,g)},visible:!0}})(K);\\n(function(a){var C=a.addEvent,A=a.animObject,G=a.arrayMax,F=a.arrayMin,m=a.correctFloat,g=a.Date,k=a.defaultOptions,q=a.defaultPlotOptions,v=a.defined,u=a.each,h=a.erase,e=a.extend,n=a.fireEvent,d=a.grep,c=a.isArray,w=a.isNumber,b=a.isString,y=a.merge,D=a.objectEach,H=a.pick,l=a.removeEvent,B=a.splat,r=a.SVGElement,z=a.syncTimeout,M=a.win;a.Series=a.seriesType(\\\"line\\\",null,{lineWidth:2,allowPointSelect:!1,showCheckbox:!1,animation:{duration:1E3},events:{},marker:{lineWidth:0,lineColor:\\\"#ffffff\\\",radius:4,\\nstates:{hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:\\\"#cccccc\\\",lineColor:\\\"#000000\\\",lineWidth:2}}},point:{events:{}},dataLabels:{align:\\\"center\\\",formatter:function(){return null===this.y?\\\"\\\":a.numberFormat(this.y,-1)},style:{fontSize:\\\"11px\\\",fontWeight:\\\"bold\\\",color:\\\"contrast\\\",textOutline:\\\"1px contrast\\\"},verticalAlign:\\\"bottom\\\",x:0,y:0,padding:5},cropThreshold:300,pointRange:0,softThreshold:!0,states:{hover:{animation:{duration:50},lineWidthPlus:1,marker:{},\\nhalo:{size:10,opacity:.25}},select:{marker:{}}},stickyTracking:!0,turboThreshold:1E3,findNearestPointBy:\\\"x\\\"},{isCartesian:!0,pointClass:a.Point,sorted:!0,requireSorting:!0,directTouch:!1,axisTypes:[\\\"xAxis\\\",\\\"yAxis\\\"],colorCounter:0,parallelArrays:[\\\"x\\\",\\\"y\\\"],coll:\\\"series\\\",init:function(a,b){var c=this,d,f=a.series,p;c.chart=a;c.options=b=c.setOptions(b);c.linkedSeries=[];c.bindAxes();e(c,{name:b.name,state:\\\"\\\",visible:!1!==b.visible,selected:!0===b.selected});d=b.events;D(d,function(a,b){C(c,b,a)});if(d&&\\nd.click||b.point&&b.point.events&&b.point.events.click||b.allowPointSelect)a.runTrackerClick=!0;c.getColor();c.getSymbol();u(c.parallelArrays,function(a){c[a+\\\"Data\\\"]=[]});c.setData(b.data,!1);c.isCartesian&&(a.hasCartesianSeries=!0);f.length&&(p=f[f.length-1]);c._i=H(p&&p._i,-1)+1;a.orderSeries(this.insert(f))},insert:function(a){var b=this.options.index,c;if(w(b)){for(c=a.length;c--;)if(b>=H(a[c].options.index,a[c]._i)){a.splice(c+1,0,this);break}-1===c&&a.unshift(this);c+=1}else a.push(this);return H(c,\\na.length-1)},bindAxes:function(){var b=this,c=b.options,d=b.chart,e;u(b.axisTypes||[],function(f){u(d[f],function(a){e=a.options;if(c[f]===e.index||void 0!==c[f]&&c[f]===e.id||void 0===c[f]&&0===e.index)b.insert(a.series),b[f]=a,a.isDirty=!0});b[f]||b.optionalAxis===f||a.error(18,!0)})},updateParallelArrays:function(a,b){var c=a.series,d=arguments,f=w(b)?function(f){var d=\\\"y\\\"===f&&c.toYData?c.toYData(a):a[f];c[f+\\\"Data\\\"][b]=d}:function(a){Array.prototype[b].apply(c[a+\\\"Data\\\"],Array.prototype.slice.call(d,\\n2))};u(c.parallelArrays,f)},autoIncrement:function(){var a=this.options,b=this.xIncrement,c,d=a.pointIntervalUnit,b=H(b,a.pointStart,0);this.pointInterval=c=H(this.pointInterval,a.pointInterval,1);d&&(a=new g(b),\\\"day\\\"===d?a=+a[g.hcSetDate](a[g.hcGetDate]()+c):\\\"month\\\"===d?a=+a[g.hcSetMonth](a[g.hcGetMonth]()+c):\\\"year\\\"===d&&(a=+a[g.hcSetFullYear](a[g.hcGetFullYear]()+c)),c=a-b);this.xIncrement=b+c;return b},setOptions:function(a){var b=this.chart,c=b.options,d=c.plotOptions,f=(b.userOptions||{}).plotOptions||\\n{},e=d[this.type];this.userOptions=a;b=y(e,d.series,a);this.tooltipOptions=y(k.tooltip,k.plotOptions.series&&k.plotOptions.series.tooltip,k.plotOptions[this.type].tooltip,c.tooltip.userOptions,d.series&&d.series.tooltip,d[this.type].tooltip,a.tooltip);this.stickyTracking=H(a.stickyTracking,f[this.type]&&f[this.type].stickyTracking,f.series&&f.series.stickyTracking,this.tooltipOptions.shared&&!this.noSharedTooltip?!0:b.stickyTracking);null===e.marker&&delete b.marker;this.zoneAxis=b.zoneAxis;a=this.zones=\\n(b.zones||[]).slice();!b.negativeColor&&!b.negativeFillColor||b.zones||a.push({value:b[this.zoneAxis+\\\"Threshold\\\"]||b.threshold||0,className:\\\"highcharts-negative\\\",color:b.negativeColor,fillColor:b.negativeFillColor});a.length&&v(a[a.length-1].value)&&a.push({color:this.color,fillColor:this.fillColor});return b},getCyclic:function(a,b,c){var d,f=this.chart,e=this.userOptions,p=a+\\\"Index\\\",h=a+\\\"Counter\\\",l=c?c.length:H(f.options.chart[a+\\\"Count\\\"],f[a+\\\"Count\\\"]);b||(d=H(e[p],e[\\\"_\\\"+p]),v(d)||(f.series.length||\\n(f[h]=0),e[\\\"_\\\"+p]=d=f[h]%l,f[h]+=1),c&&(b=c[d]));void 0!==d&&(this[p]=d);this[a]=b},getColor:function(){this.options.colorByPoint?this.options.color=null:this.getCyclic(\\\"color\\\",this.options.color||q[this.type].color,this.chart.options.colors)},getSymbol:function(){this.getCyclic(\\\"symbol\\\",this.options.marker.symbol,this.chart.options.symbols)},drawLegendSymbol:a.LegendSymbolMixin.drawLineMarker,setData:function(d,e,h,l){var f=this,p=f.points,g=p&&p.length||0,r,n=f.options,k=f.chart,m=null,q=f.xAxis,\\nE=n.turboThreshold,z=this.xData,y=this.yData,I=(r=f.pointArrayMap)&&r.length;d=d||[];r=d.length;e=H(e,!0);if(!1!==l&&r&&g===r&&!f.cropped&&!f.hasGroupedData&&f.visible)u(d,function(a,b){p[b].update&&a!==n.data[b]&&p[b].update(a,!1,null,!1)});else{f.xIncrement=null;f.colorCounter=0;u(this.parallelArrays,function(a){f[a+\\\"Data\\\"].length=0});if(E&&r>E){for(h=0;null===m&&h<r;)m=d[h],h++;if(w(m))for(h=0;h<r;h++)z[h]=this.autoIncrement(),y[h]=d[h];else if(c(m))if(I)for(h=0;h<r;h++)m=d[h],z[h]=m[0],y[h]=m.slice(1,\\nI+1);else for(h=0;h<r;h++)m=d[h],z[h]=m[0],y[h]=m[1];else a.error(12)}else for(h=0;h<r;h++)void 0!==d[h]&&(m={series:f},f.pointClass.prototype.applyOptions.apply(m,[d[h]]),f.updateParallelArrays(m,h));b(y[0])&&a.error(14,!0);f.data=[];f.options.data=f.userOptions.data=d;for(h=g;h--;)p[h]&&p[h].destroy&&p[h].destroy();q&&(q.minRange=q.userMinRange);f.isDirty=k.isDirtyBox=!0;f.isDirtyData=!!p;h=!1}\\\"point\\\"===n.legendType&&(this.processData(),this.generatePoints());e&&k.redraw(h)},processData:function(b){var c=\\nthis.xData,d=this.yData,e=c.length,f;f=0;var h,p,l=this.xAxis,g,r=this.options;g=r.cropThreshold;var n=this.getExtremesFromAll||r.getExtremesFromAll,k=this.isCartesian,r=l&&l.val2lin,m=l&&l.isLog,q,w;if(k&&!this.isDirty&&!l.isDirty&&!this.yAxis.isDirty&&!b)return!1;l&&(b=l.getExtremes(),q=b.min,w=b.max);if(k&&this.sorted&&!n&&(!g||e>g||this.forceCrop))if(c[e-1]<q||c[0]>w)c=[],d=[];else if(c[0]<q||c[e-1]>w)f=this.cropData(this.xData,this.yData,q,w),c=f.xData,d=f.yData,f=f.start,h=!0;for(g=c.length||\\n1;--g;)e=m?r(c[g])-r(c[g-1]):c[g]-c[g-1],0<e&&(void 0===p||e<p)?p=e:0>e&&this.requireSorting&&a.error(15);this.cropped=h;this.cropStart=f;this.processedXData=c;this.processedYData=d;this.closestPointRange=p},cropData:function(a,b,c,d){var f=a.length,e=0,h=f,p=H(this.cropShoulder,1),l;for(l=0;l<f;l++)if(a[l]>=c){e=Math.max(0,l-p);break}for(c=l;c<f;c++)if(a[c]>d){h=c+p;break}return{xData:a.slice(e,h),yData:b.slice(e,h),start:e,end:h}},generatePoints:function(){var a=this.options,b=a.data,c=this.data,\\nd,f=this.processedXData,e=this.processedYData,h=this.pointClass,l=f.length,g=this.cropStart||0,r,n=this.hasGroupedData,a=a.keys,k,m=[],q;c||n||(c=[],c.length=b.length,c=this.data=c);a&&n&&(this.options.keys=!1);for(q=0;q<l;q++)r=g+q,n?(k=(new h).init(this,[f[q]].concat(B(e[q]))),k.dataGroup=this.groupMap[q]):(k=c[r])||void 0===b[r]||(c[r]=k=(new h).init(this,b[r],f[q])),k&&(k.index=r,m[q]=k);this.options.keys=a;if(c&&(l!==(d=c.length)||n))for(q=0;q<d;q++)q!==g||n||(q+=l),c[q]&&(c[q].destroyElements(),\\nc[q].plotX=void 0);this.data=c;this.points=m},getExtremes:function(a){var b=this.yAxis,d=this.processedXData,e,f=[],h=0;e=this.xAxis.getExtremes();var p=e.min,l=e.max,g,r,n,k;a=a||this.stackedYData||this.processedYData||[];e=a.length;for(k=0;k<e;k++)if(r=d[k],n=a[k],g=(w(n,!0)||c(n))&&(!b.positiveValuesOnly||n.length||0<n),r=this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||(d[k]||r)>=p&&(d[k]||r)<=l,g&&r)if(g=n.length)for(;g--;)null!==n[g]&&(f[h++]=n[g]);else f[h++]=n;this.dataMin=\\nF(f);this.dataMax=G(f)},translate:function(){this.processedXData||this.processData();this.generatePoints();var a=this.options,b=a.stacking,c=this.xAxis,d=c.categories,f=this.yAxis,e=this.points,h=e.length,l=!!this.modifyValue,g=a.pointPlacement,r=\\\"between\\\"===g||w(g),n=a.threshold,k=a.startFromThreshold?n:0,q,z,y,B,u=Number.MAX_VALUE;\\\"between\\\"===g&&(g=.5);w(g)&&(g*=H(a.pointRange||c.pointRange));for(a=0;a<h;a++){var D=e[a],M=D.x,A=D.y;z=D.low;var C=b&&f.stacks[(this.negStacks&&A<(k?0:n)?\\\"-\\\":\\\"\\\")+this.stackKey],\\nF;f.positiveValuesOnly&&null!==A&&0>=A&&(D.isNull=!0);D.plotX=q=m(Math.min(Math.max(-1E5,c.translate(M,0,0,0,1,g,\\\"flags\\\"===this.type)),1E5));b&&this.visible&&!D.isNull&&C&&C[M]&&(B=this.getStackIndicator(B,M,this.index),F=C[M],A=F.points[B.key],z=A[0],A=A[1],z===k&&B.key===C[M].base&&(z=H(n,f.min)),f.positiveValuesOnly&&0>=z&&(z=null),D.total=D.stackTotal=F.total,D.percentage=F.total&&D.y/F.total*100,D.stackY=A,F.setOffset(this.pointXOffset||0,this.barW||0));D.yBottom=v(z)?f.translate(z,0,1,0,1):\\nnull;l&&(A=this.modifyValue(A,D));D.plotY=z=\\\"number\\\"===typeof A&&Infinity!==A?Math.min(Math.max(-1E5,f.translate(A,0,1,0,1)),1E5):void 0;D.isInside=void 0!==z&&0<=z&&z<=f.len&&0<=q&&q<=c.len;D.clientX=r?m(c.translate(M,0,0,0,1,g)):q;D.negative=D.y<(n||0);D.category=d&&void 0!==d[D.x]?d[D.x]:D.x;D.isNull||(void 0!==y&&(u=Math.min(u,Math.abs(q-y))),y=q);D.zone=this.zones.length&&D.getZone()}this.closestPointRangePx=u},getValidPoints:function(a,b){var c=this.chart;return d(a||this.points||[],function(a){return b&&\\n!c.isInsidePlot(a.plotX,a.plotY,c.inverted)?!1:!a.isNull})},setClip:function(a){var b=this.chart,c=this.options,d=b.renderer,f=b.inverted,e=this.clipBox,h=e||b.clipBox,l=this.sharedClipKey||[\\\"_sharedClip\\\",a&&a.duration,a&&a.easing,h.height,c.xAxis,c.yAxis].join(),g=b[l],p=b[l+\\\"m\\\"];g||(a&&(h.width=0,b[l+\\\"m\\\"]=p=d.clipRect(-99,f?-b.plotLeft:-b.plotTop,99,f?b.chartWidth:b.chartHeight)),b[l]=g=d.clipRect(h),g.count={length:0});a&&!g.count[this.index]&&(g.count[this.index]=!0,g.count.length+=1);!1!==c.clip&&\\n(this.group.clip(a||e?g:b.clipRect),this.markerGroup.clip(p),this.sharedClipKey=l);a||(g.count[this.index]&&(delete g.count[this.index],--g.count.length),0===g.count.length&&l&&b[l]&&(e||(b[l]=b[l].destroy()),b[l+\\\"m\\\"]&&(b[l+\\\"m\\\"]=b[l+\\\"m\\\"].destroy())))},animate:function(a){var b=this.chart,c=A(this.options.animation),d;a?this.setClip(c):(d=this.sharedClipKey,(a=b[d])&&a.animate({width:b.plotSizeX},c),b[d+\\\"m\\\"]&&b[d+\\\"m\\\"].animate({width:b.plotSizeX+99},c),this.animate=null)},afterAnimate:function(){this.setClip();\\nn(this,\\\"afterAnimate\\\")},drawPoints:function(){var a=this.points,b=this.chart,c,d,f,e,h=this.options.marker,l,g,r,n,k=this[this.specialGroup]||this.markerGroup,m=H(h.enabled,this.xAxis.isRadial?!0:null,this.closestPointRangePx>=2*h.radius);if(!1!==h.enabled||this._hasPointMarkers)for(d=0;d<a.length;d++)f=a[d],c=f.plotY,e=f.graphic,l=f.marker||{},g=!!f.marker,r=m&&void 0===l.enabled||l.enabled,n=f.isInside,r&&w(c)&&null!==f.y?(c=H(l.symbol,this.symbol),f.hasImage=0===c.indexOf(\\\"url\\\"),r=this.markerAttribs(f,\\nf.selected&&\\\"select\\\"),e?e[n?\\\"show\\\":\\\"hide\\\"](!0).animate(r):n&&(0<r.width||f.hasImage)&&(f.graphic=e=b.renderer.symbol(c,r.x,r.y,r.width,r.height,g?l:h).add(k)),e&&e.attr(this.pointAttribs(f,f.selected&&\\\"select\\\")),e&&e.addClass(f.getClassName(),!0)):e&&(f.graphic=e.destroy())},markerAttribs:function(a,b){var c=this.options.marker,d=a.marker||{},f=H(d.radius,c.radius);b&&(c=c.states[b],b=d.states&&d.states[b],f=H(b&&b.radius,c&&c.radius,f+(c&&c.radiusPlus||0)));a.hasImage&&(f=0);a={x:Math.floor(a.plotX)-\\nf,y:a.plotY-f};f&&(a.width=a.height=2*f);return a},pointAttribs:function(a,b){var c=this.options.marker,d=a&&a.options,f=d&&d.marker||{},e=this.color,h=d&&d.color,l=a&&a.color,d=H(f.lineWidth,c.lineWidth);a=a&&a.zone&&a.zone.color;e=h||a||l||e;a=f.fillColor||c.fillColor||e;e=f.lineColor||c.lineColor||e;b&&(c=c.states[b],b=f.states&&f.states[b]||{},d=H(b.lineWidth,c.lineWidth,d+H(b.lineWidthPlus,c.lineWidthPlus,0)),a=b.fillColor||c.fillColor||a,e=b.lineColor||c.lineColor||e);return{stroke:e,\\\"stroke-width\\\":d,\\nfill:a}},destroy:function(){var a=this,b=a.chart,c=/AppleWebKit\\\\/533/.test(M.navigator.userAgent),d,f,e=a.data||[],g,k;n(a,\\\"destroy\\\");l(a);u(a.axisTypes||[],function(b){(k=a[b])&&k.series&&(h(k.series,a),k.isDirty=k.forceRedraw=!0)});a.legendItem&&a.chart.legend.destroyItem(a);for(f=e.length;f--;)(g=e[f])&&g.destroy&&g.destroy();a.points=null;clearTimeout(a.animationTimeout);D(a,function(a,b){a instanceof r&&!a.survive&&(d=c&&\\\"group\\\"===b?\\\"hide\\\":\\\"destroy\\\",a[d]())});b.hoverSeries===a&&(b.hoverSeries=\\nnull);h(b.series,a);b.orderSeries();D(a,function(b,c){delete a[c]})},getGraphPath:function(a,b,c){var d=this,f=d.options,e=f.step,h,l=[],g=[],p;a=a||d.points;(h=a.reversed)&&a.reverse();(e={right:1,center:2}[e]||e&&3)&&h&&(e=4-e);!f.connectNulls||b||c||(a=this.getValidPoints(a));u(a,function(h,r){var n=h.plotX,k=h.plotY,m=a[r-1];(h.leftCliff||m&&m.rightCliff)&&!c&&(p=!0);h.isNull&&!v(b)&&0<r?p=!f.connectNulls:h.isNull&&!b?p=!0:(0===r||p?r=[\\\"M\\\",h.plotX,h.plotY]:d.getPointSpline?r=d.getPointSpline(a,\\nh,r):e?(r=1===e?[\\\"L\\\",m.plotX,k]:2===e?[\\\"L\\\",(m.plotX+n)/2,m.plotY,\\\"L\\\",(m.plotX+n)/2,k]:[\\\"L\\\",n,m.plotY],r.push(\\\"L\\\",n,k)):r=[\\\"L\\\",n,k],g.push(h.x),e&&g.push(h.x),l.push.apply(l,r),p=!1)});l.xMap=g;return d.graphPath=l},drawGraph:function(){var a=this,b=this.options,c=(this.gappedPath||this.getGraphPath).call(this),d=[[\\\"graph\\\",\\\"highcharts-graph\\\",b.lineColor||this.color,b.dashStyle]];u(this.zones,function(c,e){d.push([\\\"zone-graph-\\\"+e,\\\"highcharts-graph highcharts-zone-graph-\\\"+e+\\\" \\\"+(c.className||\\\"\\\"),c.color||\\na.color,c.dashStyle||b.dashStyle])});u(d,function(f,d){var e=f[0],h=a[e];h?(h.endX=c.xMap,h.animate({d:c})):c.length&&(a[e]=a.chart.renderer.path(c).addClass(f[1]).attr({zIndex:1}).add(a.group),h={stroke:f[2],\\\"stroke-width\\\":b.lineWidth,fill:a.fillGraph&&a.color||\\\"none\\\"},f[3]?h.dashstyle=f[3]:\\\"square\\\"!==b.linecap&&(h[\\\"stroke-linecap\\\"]=h[\\\"stroke-linejoin\\\"]=\\\"round\\\"),h=a[e].attr(h).shadow(2>d&&b.shadow));h&&(h.startX=c.xMap,h.isArea=c.isArea)})},applyZones:function(){var a=this,b=this.chart,c=b.renderer,\\nd=this.zones,f,e,h=this.clips||[],l,g=this.graph,r=this.area,n=Math.max(b.chartWidth,b.chartHeight),k=this[(this.zoneAxis||\\\"y\\\")+\\\"Axis\\\"],m,q,w=b.inverted,z,y,B,v,D=!1;d.length&&(g||r)&&k&&void 0!==k.min&&(q=k.reversed,z=k.horiz,g&&g.hide(),r&&r.hide(),m=k.getExtremes(),u(d,function(d,p){f=q?z?b.plotWidth:0:z?0:k.toPixels(m.min);f=Math.min(Math.max(H(e,f),0),n);e=Math.min(Math.max(Math.round(k.toPixels(H(d.value,m.max),!0)),0),n);D&&(f=e=k.toPixels(m.max));y=Math.abs(f-e);B=Math.min(f,e);v=Math.max(f,\\ne);k.isXAxis?(l={x:w?v:B,y:0,width:y,height:n},z||(l.x=b.plotHeight-l.x)):(l={x:0,y:w?v:B,width:n,height:y},z&&(l.y=b.plotWidth-l.y));w&&c.isVML&&(l=k.isXAxis?{x:0,y:q?B:v,height:l.width,width:b.chartWidth}:{x:l.y-b.plotLeft-b.spacingBox.x,y:0,width:l.height,height:b.chartHeight});h[p]?h[p].animate(l):(h[p]=c.clipRect(l),g&&a[\\\"zone-graph-\\\"+p].clip(h[p]),r&&a[\\\"zone-area-\\\"+p].clip(h[p]));D=d.value>m.max}),this.clips=h)},invertGroups:function(a){function b(){u([\\\"group\\\",\\\"markerGroup\\\"],function(b){c[b]&&\\n(d.renderer.isVML&&c[b].attr({width:c.yAxis.len,height:c.xAxis.len}),c[b].width=c.yAxis.len,c[b].height=c.xAxis.len,c[b].invert(a))})}var c=this,d=c.chart,f;c.xAxis&&(f=C(d,\\\"resize\\\",b),C(c,\\\"destroy\\\",f),b(a),c.invertGroups=b)},plotGroup:function(a,b,c,d,f){var e=this[a],h=!e;h&&(this[a]=e=this.chart.renderer.g().attr({zIndex:d||.1}).add(f));e.addClass(\\\"highcharts-\\\"+b+\\\" highcharts-series-\\\"+this.index+\\\" highcharts-\\\"+this.type+\\\"-series highcharts-color-\\\"+this.colorIndex+\\\" \\\"+(this.options.className||\\\"\\\"),\\n!0);e.attr({visibility:c})[h?\\\"attr\\\":\\\"animate\\\"](this.getPlotBox());return e},getPlotBox:function(){var a=this.chart,b=this.xAxis,c=this.yAxis;a.inverted&&(b=c,c=this.xAxis);return{translateX:b?b.left:a.plotLeft,translateY:c?c.top:a.plotTop,scaleX:1,scaleY:1}},render:function(){var a=this,b=a.chart,c,d=a.options,f=!!a.animate&&b.renderer.isSVG&&A(d.animation).duration,e=a.visible?\\\"inherit\\\":\\\"hidden\\\",h=d.zIndex,l=a.hasRendered,g=b.seriesGroup,r=b.inverted;c=a.plotGroup(\\\"group\\\",\\\"series\\\",e,h,g);a.markerGroup=\\na.plotGroup(\\\"markerGroup\\\",\\\"markers\\\",e,h,g);f&&a.animate(!0);c.inverted=a.isCartesian?r:!1;a.drawGraph&&(a.drawGraph(),a.applyZones());a.drawDataLabels&&a.drawDataLabels();a.visible&&a.drawPoints();a.drawTracker&&!1!==a.options.enableMouseTracking&&a.drawTracker();a.invertGroups(r);!1===d.clip||a.sharedClipKey||l||c.clip(b.clipRect);f&&a.animate();l||(a.animationTimeout=z(function(){a.afterAnimate()},f));a.isDirty=!1;a.hasRendered=!0},redraw:function(){var a=this.chart,b=this.isDirty||this.isDirtyData,\\nc=this.group,d=this.xAxis,f=this.yAxis;c&&(a.inverted&&c.attr({width:a.plotWidth,height:a.plotHeight}),c.animate({translateX:H(d&&d.left,a.plotLeft),translateY:H(f&&f.top,a.plotTop)}));this.translate();this.render();b&&delete this.kdTree},kdAxisArray:[\\\"clientX\\\",\\\"plotY\\\"],searchPoint:function(a,b){var c=this.xAxis,d=this.yAxis,f=this.chart.inverted;return this.searchKDTree({clientX:f?c.len-a.chartY+c.pos:a.chartX-c.pos,plotY:f?d.len-a.chartX+d.pos:a.chartY-d.pos},b)},buildKDTree:function(){function a(c,\\nf,d){var e,h;if(h=c&&c.length)return e=b.kdAxisArray[f%d],c.sort(function(a,b){return a[e]-b[e]}),h=Math.floor(h/2),{point:c[h],left:a(c.slice(0,h),f+1,d),right:a(c.slice(h+1),f+1,d)}}this.buildingKdTree=!0;var b=this,c=-1<b.options.findNearestPointBy.indexOf(\\\"y\\\")?2:1;delete b.kdTree;z(function(){b.kdTree=a(b.getValidPoints(null,!b.directTouch),c,c);b.buildingKdTree=!1},b.options.kdNow?0:1)},searchKDTree:function(a,b){function c(a,b,l,g){var r=b.point,p=d.kdAxisArray[l%g],n,k,m=r;k=v(a[f])&&v(r[f])?\\nMath.pow(a[f]-r[f],2):null;n=v(a[e])&&v(r[e])?Math.pow(a[e]-r[e],2):null;n=(k||0)+(n||0);r.dist=v(n)?Math.sqrt(n):Number.MAX_VALUE;r.distX=v(k)?Math.sqrt(k):Number.MAX_VALUE;p=a[p]-r[p];n=0>p?\\\"left\\\":\\\"right\\\";k=0>p?\\\"right\\\":\\\"left\\\";b[n]&&(n=c(a,b[n],l+1,g),m=n[h]<m[h]?n:r);b[k]&&Math.sqrt(p*p)<m[h]&&(a=c(a,b[k],l+1,g),m=a[h]<m[h]?a:m);return m}var d=this,f=this.kdAxisArray[0],e=this.kdAxisArray[1],h=b?\\\"distX\\\":\\\"dist\\\";b=-1<d.options.findNearestPointBy.indexOf(\\\"y\\\")?2:1;this.kdTree||this.buildingKdTree||\\nthis.buildKDTree();if(this.kdTree)return c(a,this.kdTree,b,b)}})})(K);(function(a){function C(a,e,g,d,c){var h=a.chart.inverted;this.axis=a;this.isNegative=g;this.options=e;this.x=d;this.total=null;this.points={};this.stack=c;this.rightCliff=this.leftCliff=0;this.alignOptions={align:e.align||(h?g?\\\"left\\\":\\\"right\\\":\\\"center\\\"),verticalAlign:e.verticalAlign||(h?\\\"middle\\\":g?\\\"bottom\\\":\\\"top\\\"),y:u(e.y,h?4:g?14:-6),x:u(e.x,h?g?-6:6:0)};this.textAlign=e.textAlign||(h?g?\\\"right\\\":\\\"left\\\":\\\"center\\\")}var A=a.Axis,G=a.Chart,\\nF=a.correctFloat,m=a.defined,g=a.destroyObjectProperties,k=a.each,q=a.format,v=a.objectEach,u=a.pick;a=a.Series;C.prototype={destroy:function(){g(this,this.axis)},render:function(a){var e=this.options,h=e.format,h=h?q(h,this):e.formatter.call(this);this.label?this.label.attr({text:h,visibility:\\\"hidden\\\"}):this.label=this.axis.chart.renderer.text(h,null,null,e.useHTML).css(e.style).attr({align:this.textAlign,rotation:e.rotation,visibility:\\\"hidden\\\"}).add(a)},setOffset:function(a,e){var h=this.axis,d=\\nh.chart,c=d.inverted,g=h.reversed,g=this.isNegative&&!g||!this.isNegative&&g,b=h.translate(h.usePercentage?100:this.total,0,0,0,1),h=h.translate(0),h=Math.abs(b-h);a=d.xAxis[0].translate(this.x)+a;var k=d.plotHeight,c={x:c?g?b:b-h:a,y:c?k-a-e:g?k-b-h:k-b,width:c?h:e,height:c?e:h};if(e=this.label)e.align(this.alignOptions,null,c),c=e.alignAttr,e[!1===this.options.crop||d.isInsidePlot(c.x,c.y)?\\\"show\\\":\\\"hide\\\"](!0)}};G.prototype.getStacks=function(){var a=this;k(a.yAxis,function(a){a.stacks&&a.hasVisibleSeries&&\\n(a.oldStacks=a.stacks)});k(a.series,function(e){!e.options.stacking||!0!==e.visible&&!1!==a.options.chart.ignoreHiddenSeries||(e.stackKey=e.type+u(e.options.stack,\\\"\\\"))})};A.prototype.buildStacks=function(){var a=this.series,e,g=u(this.options.reversedStacks,!0),d=a.length,c;if(!this.isXAxis){this.usePercentage=!1;for(c=d;c--;)a[g?c:d-c-1].setStackedPoints();for(c=d;c--;)e=a[g?c:d-c-1],e.setStackCliffs&&e.setStackCliffs();if(this.usePercentage)for(c=0;c<d;c++)a[c].setPercentStacks()}};A.prototype.renderStackTotals=\\nfunction(){var a=this.chart,e=a.renderer,g=this.stacks,d=this.stackTotalGroup;d||(this.stackTotalGroup=d=e.g(\\\"stack-labels\\\").attr({visibility:\\\"visible\\\",zIndex:6}).add());d.translate(a.plotLeft,a.plotTop);v(g,function(a){v(a,function(a){a.render(d)})})};A.prototype.resetStacks=function(){var a=this,e=a.stacks;a.isXAxis||v(e,function(e){v(e,function(d,c){d.touched<a.stacksTouched?(d.destroy(),delete e[c]):(d.total=null,d.cum=null)})})};A.prototype.cleanStacks=function(){var a;this.isXAxis||(this.oldStacks&&\\n(a=this.stacks=this.oldStacks),v(a,function(a){v(a,function(a){a.cum=a.total})}))};a.prototype.setStackedPoints=function(){if(this.options.stacking&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var a=this.processedXData,e=this.processedYData,g=[],d=e.length,c=this.options,k=c.threshold,b=c.startFromThreshold?k:0,q=c.stack,c=c.stacking,v=this.stackKey,H=\\\"-\\\"+v,l=this.negStacks,B=this.yAxis,r=B.stacks,z=B.oldStacks,M,p,E,I,A,f,t;B.stacksTouched+=1;for(A=0;A<d;A++)f=a[A],t=e[A],\\nM=this.getStackIndicator(M,f,this.index),I=M.key,E=(p=l&&t<(b?0:k))?H:v,r[E]||(r[E]={}),r[E][f]||(z[E]&&z[E][f]?(r[E][f]=z[E][f],r[E][f].total=null):r[E][f]=new C(B,B.options.stackLabels,p,f,q)),E=r[E][f],null!==t&&(E.points[I]=E.points[this.index]=[u(E.cum,b)],m(E.cum)||(E.base=I),E.touched=B.stacksTouched,0<M.index&&!1===this.singleStacks&&(E.points[I][0]=E.points[this.index+\\\",\\\"+f+\\\",0\\\"][0])),\\\"percent\\\"===c?(p=p?v:H,l&&r[p]&&r[p][f]?(p=r[p][f],E.total=p.total=Math.max(p.total,E.total)+Math.abs(t)||\\n0):E.total=F(E.total+(Math.abs(t)||0))):E.total=F(E.total+(t||0)),E.cum=u(E.cum,b)+(t||0),null!==t&&(E.points[I].push(E.cum),g[A]=E.cum);\\\"percent\\\"===c&&(B.usePercentage=!0);this.stackedYData=g;B.oldStacks={}}};a.prototype.setPercentStacks=function(){var a=this,e=a.stackKey,g=a.yAxis.stacks,d=a.processedXData,c;k([e,\\\"-\\\"+e],function(e){for(var b=d.length,h,k;b--;)if(h=d[b],c=a.getStackIndicator(c,h,a.index,e),h=(k=g[e]&&g[e][h])&&k.points[c.key])k=k.total?100/k.total:0,h[0]=F(h[0]*k),h[1]=F(h[1]*k),\\na.stackedYData[b]=h[1]})};a.prototype.getStackIndicator=function(a,e,g,d){!m(a)||a.x!==e||d&&a.key!==d?a={x:e,index:0,key:d}:a.index++;a.key=[g,e,a.index].join();return a}})(K);(function(a){var C=a.addEvent,A=a.animate,G=a.Axis,F=a.createElement,m=a.css,g=a.defined,k=a.each,q=a.erase,v=a.extend,u=a.fireEvent,h=a.inArray,e=a.isNumber,n=a.isObject,d=a.isArray,c=a.merge,w=a.objectEach,b=a.pick,y=a.Point,D=a.Series,H=a.seriesTypes,l=a.setAnimation,B=a.splat;v(a.Chart.prototype,{addSeries:function(a,c,\\nd){var e,h=this;a&&(c=b(c,!0),u(h,\\\"addSeries\\\",{options:a},function(){e=h.initSeries(a);h.isDirtyLegend=!0;h.linkSeries();c&&h.redraw(d)}));return e},addAxis:function(a,d,e,h){var g=d?\\\"xAxis\\\":\\\"yAxis\\\",l=this.options;a=c(a,{index:this[g].length,isX:d});new G(this,a);l[g]=B(l[g]||{});l[g].push(a);b(e,!0)&&this.redraw(h)},showLoading:function(a){var b=this,c=b.options,d=b.loadingDiv,e=c.loading,h=function(){d&&m(d,{left:b.plotLeft+\\\"px\\\",top:b.plotTop+\\\"px\\\",width:b.plotWidth+\\\"px\\\",height:b.plotHeight+\\\"px\\\"})};\\nd||(b.loadingDiv=d=F(\\\"div\\\",{className:\\\"highcharts-loading highcharts-loading-hidden\\\"},null,b.container),b.loadingSpan=F(\\\"span\\\",{className:\\\"highcharts-loading-inner\\\"},null,d),C(b,\\\"redraw\\\",h));d.className=\\\"highcharts-loading\\\";b.loadingSpan.innerHTML=a||c.lang.loading;m(d,v(e.style,{zIndex:10}));m(b.loadingSpan,e.labelStyle);b.loadingShown||(m(d,{opacity:0,display:\\\"\\\"}),A(d,{opacity:e.style.opacity||.5},{duration:e.showDuration||0}));b.loadingShown=!0;h()},hideLoading:function(){var a=this.options,b=\\nthis.loadingDiv;b&&(b.className=\\\"highcharts-loading highcharts-loading-hidden\\\",A(b,{opacity:0},{duration:a.loading.hideDuration||100,complete:function(){m(b,{display:\\\"none\\\"})}}));this.loadingShown=!1},propsRequireDirtyBox:\\\"backgroundColor borderColor borderWidth margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow\\\".split(\\\" \\\"),propsRequireUpdateSeries:\\\"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions tooltip\\\".split(\\\" \\\"),\\nupdate:function(a,d){var l=this,r={credits:\\\"addCredits\\\",title:\\\"setTitle\\\",subtitle:\\\"setSubtitle\\\"},n=a.chart,m,q;if(n){c(!0,l.options.chart,n);\\\"className\\\"in n&&l.setClassName(n.className);if(\\\"inverted\\\"in n||\\\"polar\\\"in n)l.propFromSeries(),m=!0;\\\"alignTicks\\\"in n&&(m=!0);w(n,function(a,b){-1!==h(\\\"chart.\\\"+b,l.propsRequireUpdateSeries)&&(q=!0);-1!==h(b,l.propsRequireDirtyBox)&&(l.isDirtyBox=!0)});\\\"style\\\"in n&&l.renderer.setStyle(n.style)}a.colors&&(this.options.colors=a.colors);a.plotOptions&&c(!0,this.options.plotOptions,\\na.plotOptions);w(a,function(a,b){if(l[b]&&\\\"function\\\"===typeof l[b].update)l[b].update(a,!1);else if(\\\"function\\\"===typeof l[r[b]])l[r[b]](a);\\\"chart\\\"!==b&&-1!==h(b,l.propsRequireUpdateSeries)&&(q=!0)});k(\\\"xAxis yAxis zAxis series colorAxis pane\\\".split(\\\" \\\"),function(b){a[b]&&k(B(a[b]),function(a,c){(c=g(a.id)&&l.get(a.id)||l[b][c])&&c.coll===b&&c.update(a,!1)})});m&&k(l.axes,function(a){a.update({},!1)});q&&k(l.series,function(a){a.update({},!1)});a.loading&&c(!0,l.options.loading,a.loading);m=n&&n.width;\\nn=n&&n.height;e(m)&&m!==l.chartWidth||e(n)&&n!==l.chartHeight?l.setSize(m,n):b(d,!0)&&l.redraw()},setSubtitle:function(a){this.setTitle(void 0,a)}});v(y.prototype,{update:function(a,c,d,e){function h(){l.applyOptions(a);null===l.y&&f&&(l.graphic=f.destroy());n(a,!0)&&(f&&f.element&&a&&a.marker&&a.marker.symbol&&(l.graphic=f.destroy()),a&&a.dataLabels&&l.dataLabel&&(l.dataLabel=l.dataLabel.destroy()));r=l.index;g.updateParallelArrays(l,r);p.data[r]=n(p.data[r],!0)||n(a,!0)?l.options:a;g.isDirty=g.isDirtyData=\\n!0;!g.fixedBox&&g.hasCartesianSeries&&(k.isDirtyBox=!0);\\\"point\\\"===p.legendType&&(k.isDirtyLegend=!0);c&&k.redraw(d)}var l=this,g=l.series,f=l.graphic,r,k=g.chart,p=g.options;c=b(c,!0);!1===e?h():l.firePointEvent(\\\"update\\\",{options:a},h)},remove:function(a,b){this.series.removePoint(h(this,this.series.data),a,b)}});v(D.prototype,{addPoint:function(a,c,d,e){var h=this.options,l=this.data,g=this.chart,f=this.xAxis,f=f&&f.hasNames&&f.names,r=h.data,k,p,n=this.xData,m,q;c=b(c,!0);k={series:this};this.pointClass.prototype.applyOptions.apply(k,\\n[a]);q=k.x;m=n.length;if(this.requireSorting&&q<n[m-1])for(p=!0;m&&n[m-1]>q;)m--;this.updateParallelArrays(k,\\\"splice\\\",m,0,0);this.updateParallelArrays(k,m);f&&k.name&&(f[q]=k.name);r.splice(m,0,a);p&&(this.data.splice(m,0,null),this.processData());\\\"point\\\"===h.legendType&&this.generatePoints();d&&(l[0]&&l[0].remove?l[0].remove(!1):(l.shift(),this.updateParallelArrays(k,\\\"shift\\\"),r.shift()));this.isDirtyData=this.isDirty=!0;c&&g.redraw(e)},removePoint:function(a,c,d){var e=this,h=e.data,g=h[a],k=e.points,\\nf=e.chart,r=function(){k&&k.length===h.length&&k.splice(a,1);h.splice(a,1);e.options.data.splice(a,1);e.updateParallelArrays(g||{series:e},\\\"splice\\\",a,1);g&&g.destroy();e.isDirty=!0;e.isDirtyData=!0;c&&f.redraw()};l(d,f);c=b(c,!0);g?g.firePointEvent(\\\"remove\\\",null,r):r()},remove:function(a,c,d){function e(){h.destroy();l.isDirtyLegend=l.isDirtyBox=!0;l.linkSeries();b(a,!0)&&l.redraw(c)}var h=this,l=h.chart;!1!==d?u(h,\\\"remove\\\",null,e):e()},update:function(a,d){var e=this,h=e.chart,l=e.userOptions,g=\\ne.oldType||e.type,r=a.type||l.type||h.options.chart.type,f=H[g].prototype,n=[\\\"group\\\",\\\"markerGroup\\\",\\\"dataLabelsGroup\\\"],m;if(Object.keys&&\\\"data\\\"===Object.keys(a).toString())return this.setData(a.data,d);if(r&&r!==g||void 0!==a.zIndex)n.length=0;k(n,function(a){n[a]=e[a];delete e[a]});a=c(l,{animation:!1,index:e.index,pointStart:e.xData[0]},{data:e.options.data},a);e.remove(!1,null,!1);for(m in f)e[m]=void 0;v(e,H[r||g].prototype);k(n,function(a){e[a]=n[a]});e.init(h,a);e.oldType=g;h.linkSeries();b(d,\\n!0)&&h.redraw(!1)}});v(G.prototype,{update:function(a,d){var e=this.chart;a=e.options[this.coll][this.options.index]=c(this.userOptions,a);this.destroy(!0);this.init(e,v(a,{events:void 0}));e.isDirtyBox=!0;b(d,!0)&&e.redraw()},remove:function(a){for(var c=this.chart,e=this.coll,h=this.series,l=h.length;l--;)h[l]&&h[l].remove(!1);q(c.axes,this);q(c[e],this);d(c.options[e])?c.options[e].splice(this.options.index,1):delete c.options[e];k(c[e],function(a,b){a.options.index=b});this.destroy();c.isDirtyBox=\\n!0;b(a,!0)&&c.redraw()},setTitle:function(a,b){this.update({title:a},b)},setCategories:function(a,b){this.update({categories:a},b)}})})(K);(function(a){var C=a.color,A=a.each,G=a.map,F=a.pick,m=a.Series,g=a.seriesType;g(\\\"area\\\",\\\"line\\\",{softThreshold:!1,threshold:0},{singleStacks:!1,getStackPoints:function(){var g=[],m=[],v=this.xAxis,u=this.yAxis,h=u.stacks[this.stackKey],e={},n=this.points,d=this.index,c=u.series,w=c.length,b,y=F(u.options.reversedStacks,!0)?1:-1,D;if(this.options.stacking){for(D=\\n0;D<n.length;D++)e[n[D].x]=n[D];a.objectEach(h,function(a,b){null!==a.total&&m.push(b)});m.sort(function(a,b){return a-b});b=G(c,function(){return this.visible});A(m,function(a,c){var l=0,k,n;if(e[a]&&!e[a].isNull)g.push(e[a]),A([-1,1],function(l){var g=1===l?\\\"rightNull\\\":\\\"leftNull\\\",r=0,q=h[m[c+l]];if(q)for(D=d;0<=D&&D<w;)k=q.points[D],k||(D===d?e[a][g]=!0:b[D]&&(n=h[a].points[D])&&(r-=n[1]-n[0])),D+=y;e[a][1===l?\\\"rightCliff\\\":\\\"leftCliff\\\"]=r});else{for(D=d;0<=D&&D<w;){if(k=h[a].points[D]){l=k[1];break}D+=\\ny}l=u.translate(l,0,1,0,1);g.push({isNull:!0,plotX:v.translate(a,0,0,0,1),x:a,plotY:l,yBottom:l})}})}return g},getGraphPath:function(a){var g=m.prototype.getGraphPath,k=this.options,u=k.stacking,h=this.yAxis,e,n,d=[],c=[],w=this.index,b,y=h.stacks[this.stackKey],D=k.threshold,A=h.getThreshold(k.threshold),l,k=k.connectNulls||\\\"percent\\\"===u,B=function(e,l,g){var k=a[e];e=u&&y[k.x].points[w];var n=k[g+\\\"Null\\\"]||0;g=k[g+\\\"Cliff\\\"]||0;var r,m,k=!0;g||n?(r=(n?e[0]:e[1])+g,m=e[0]+g,k=!!n):!u&&a[l]&&a[l].isNull&&\\n(r=m=D);void 0!==r&&(c.push({plotX:b,plotY:null===r?A:h.getThreshold(r),isNull:k,isCliff:!0}),d.push({plotX:b,plotY:null===m?A:h.getThreshold(m),doCurve:!1}))};a=a||this.points;u&&(a=this.getStackPoints());for(e=0;e<a.length;e++)if(n=a[e].isNull,b=F(a[e].rectPlotX,a[e].plotX),l=F(a[e].yBottom,A),!n||k)k||B(e,e-1,\\\"left\\\"),n&&!u&&k||(c.push(a[e]),d.push({x:e,plotX:b,plotY:l})),k||B(e,e+1,\\\"right\\\");e=g.call(this,c,!0,!0);d.reversed=!0;n=g.call(this,d,!0,!0);n.length&&(n[0]=\\\"L\\\");n=e.concat(n);g=g.call(this,\\nc,!1,k);n.xMap=e.xMap;this.areaPath=n;return g},drawGraph:function(){this.areaPath=[];m.prototype.drawGraph.apply(this);var a=this,g=this.areaPath,v=this.options,u=[[\\\"area\\\",\\\"highcharts-area\\\",this.color,v.fillColor]];A(this.zones,function(h,e){u.push([\\\"zone-area-\\\"+e,\\\"highcharts-area highcharts-zone-area-\\\"+e+\\\" \\\"+h.className,h.color||a.color,h.fillColor||v.fillColor])});A(u,function(h){var e=h[0],k=a[e];k?(k.endX=g.xMap,k.animate({d:g})):(k=a[e]=a.chart.renderer.path(g).addClass(h[1]).attr({fill:F(h[3],\\nC(h[2]).setOpacity(F(v.fillOpacity,.75)).get()),zIndex:0}).add(a.group),k.isArea=!0);k.startX=g.xMap;k.shiftUnit=v.step?2:1})},drawLegendSymbol:a.LegendSymbolMixin.drawRectangle})})(K);(function(a){var C=a.pick;a=a.seriesType;a(\\\"spline\\\",\\\"line\\\",{},{getPointSpline:function(a,G,F){var m=G.plotX,g=G.plotY,k=a[F-1];F=a[F+1];var q,v,u,h;if(k&&!k.isNull&&!1!==k.doCurve&&!G.isCliff&&F&&!F.isNull&&!1!==F.doCurve&&!G.isCliff){a=k.plotY;u=F.plotX;F=F.plotY;var e=0;q=(1.5*m+k.plotX)/2.5;v=(1.5*g+a)/2.5;u=(1.5*\\nm+u)/2.5;h=(1.5*g+F)/2.5;u!==q&&(e=(h-v)*(u-m)/(u-q)+g-h);v+=e;h+=e;v>a&&v>g?(v=Math.max(a,g),h=2*g-v):v<a&&v<g&&(v=Math.min(a,g),h=2*g-v);h>F&&h>g?(h=Math.max(F,g),v=2*g-h):h<F&&h<g&&(h=Math.min(F,g),v=2*g-h);G.rightContX=u;G.rightContY=h}G=[\\\"C\\\",C(k.rightContX,k.plotX),C(k.rightContY,k.plotY),C(q,m),C(v,g),m,g];k.rightContX=k.rightContY=null;return G}})})(K);(function(a){var C=a.seriesTypes.area.prototype,A=a.seriesType;A(\\\"areaspline\\\",\\\"spline\\\",a.defaultPlotOptions.area,{getStackPoints:C.getStackPoints,\\ngetGraphPath:C.getGraphPath,setStackCliffs:C.setStackCliffs,drawGraph:C.drawGraph,drawLegendSymbol:a.LegendSymbolMixin.drawRectangle})})(K);(function(a){var C=a.animObject,A=a.color,G=a.each,F=a.extend,m=a.isNumber,g=a.merge,k=a.pick,q=a.Series,v=a.seriesType,u=a.svg;v(\\\"column\\\",\\\"line\\\",{borderRadius:0,crisp:!0,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1,shadow:!1},select:{color:\\\"#cccccc\\\",borderColor:\\\"#000000\\\",shadow:!1}},\\ndataLabels:{align:null,verticalAlign:null,y:null},softThreshold:!1,startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:\\\"#ffffff\\\"},{cropShoulder:0,directTouch:!0,trackerGroups:[\\\"group\\\",\\\"dataLabelsGroup\\\"],negStacks:!0,init:function(){q.prototype.init.apply(this,arguments);var a=this,e=a.chart;e.hasRendered&&G(e.series,function(e){e.type===a.type&&(e.isDirty=!0)})},getColumnMetrics:function(){var a=this,e=a.options,g=a.xAxis,d=a.yAxis,c=g.reversed,m,b={},q=0;!1===e.grouping?\\nq=1:G(a.chart.series,function(c){var e=c.options,g=c.yAxis,h;c.type!==a.type||!c.visible&&a.chart.options.chart.ignoreHiddenSeries||d.len!==g.len||d.pos!==g.pos||(e.stacking?(m=c.stackKey,void 0===b[m]&&(b[m]=q++),h=b[m]):!1!==e.grouping&&(h=q++),c.columnIndex=h)});var u=Math.min(Math.abs(g.transA)*(g.ordinalSlope||e.pointRange||g.closestPointRange||g.tickInterval||1),g.len),v=u*e.groupPadding,l=(u-2*v)/(q||1),e=Math.min(e.maxPointWidth||g.len,k(e.pointWidth,l*(1-2*e.pointPadding)));a.columnMetrics=\\n{width:e,offset:(l-e)/2+(v+((a.columnIndex||0)+(c?1:0))*l-u/2)*(c?-1:1)};return a.columnMetrics},crispCol:function(a,e,g,d){var c=this.chart,h=this.borderWidth,b=-(h%2?.5:0),h=h%2?.5:1;c.inverted&&c.renderer.isVML&&(h+=1);this.options.crisp&&(g=Math.round(a+g)+b,a=Math.round(a)+b,g-=a);d=Math.round(e+d)+h;b=.5>=Math.abs(e)&&.5<d;e=Math.round(e)+h;d-=e;b&&d&&(--e,d+=1);return{x:a,y:e,width:g,height:d}},translate:function(){var a=this,e=a.chart,g=a.options,d=a.dense=2>a.closestPointRange*a.xAxis.transA,\\nd=a.borderWidth=k(g.borderWidth,d?0:1),c=a.yAxis,m=a.translatedThreshold=c.getThreshold(g.threshold),b=k(g.minPointLength,5),y=a.getColumnMetrics(),u=y.width,v=a.barW=Math.max(u,1+2*d),l=a.pointXOffset=y.offset;e.inverted&&(m-=.5);g.pointPadding&&(v=Math.ceil(v));q.prototype.translate.apply(a);G(a.points,function(d){var g=k(d.yBottom,m),h=999+Math.abs(g),h=Math.min(Math.max(-h,d.plotY),c.len+h),n=d.plotX+l,p=v,q=Math.min(h,g),w,y=Math.max(h,g)-q;Math.abs(y)<b&&b&&(y=b,w=!c.reversed&&!d.negative||\\nc.reversed&&d.negative,q=Math.abs(q-m)>b?g-b:m-(w?b:0));d.barX=n;d.pointWidth=u;d.tooltipPos=e.inverted?[c.len+c.pos-e.plotLeft-h,a.xAxis.len-n-p/2,y]:[n+p/2,h+c.pos-e.plotTop,y];d.shapeType=\\\"rect\\\";d.shapeArgs=a.crispCol.apply(a,d.isNull?[n,m,p,0]:[n,q,p,y])})},getSymbol:a.noop,drawLegendSymbol:a.LegendSymbolMixin.drawRectangle,drawGraph:function(){this.group[this.dense?\\\"addClass\\\":\\\"removeClass\\\"](\\\"highcharts-dense-data\\\")},pointAttribs:function(a,e){var h=this.options,d,c=this.pointAttrToOptions||{};\\nd=c.stroke||\\\"borderColor\\\";var k=c[\\\"stroke-width\\\"]||\\\"borderWidth\\\",b=a&&a.color||this.color,m=a[d]||h[d]||this.color||b,q=a[k]||h[k]||this[k]||0,c=h.dashStyle;a&&this.zones.length&&(b=a.getZone(),b=a.options.color||b&&b.color||this.color);e&&(a=g(h.states[e],a.options.states&&a.options.states[e]||{}),e=a.brightness,b=a.color||void 0!==e&&A(b).brighten(a.brightness).get()||b,m=a[d]||m,q=a[k]||q,c=a.dashStyle||c);d={fill:b,stroke:m,\\\"stroke-width\\\":q};h.borderRadius&&(d.r=h.borderRadius);c&&(d.dashstyle=\\nc);return d},drawPoints:function(){var a=this,e=this.chart,k=a.options,d=e.renderer,c=k.animationLimit||250,q;G(a.points,function(b){var h=b.graphic;if(m(b.plotY)&&null!==b.y){q=b.shapeArgs;if(h)h[e.pointCount<c?\\\"animate\\\":\\\"attr\\\"](g(q));else b.graphic=h=d[b.shapeType](q).add(b.group||a.group);h.attr(a.pointAttribs(b,b.selected&&\\\"select\\\")).shadow(k.shadow,null,k.stacking&&!k.borderRadius);h.addClass(b.getClassName(),!0)}else h&&(b.graphic=h.destroy())})},animate:function(a){var e=this,g=this.yAxis,\\nd=e.options,c=this.chart.inverted,h={};u&&(a?(h.scaleY=.001,a=Math.min(g.pos+g.len,Math.max(g.pos,g.toPixels(d.threshold))),c?h.translateX=a-g.len:h.translateY=a,e.group.attr(h)):(h[c?\\\"translateX\\\":\\\"translateY\\\"]=g.pos,e.group.animate(h,F(C(e.options.animation),{step:function(a,c){e.group.attr({scaleY:Math.max(.001,c.pos)})}})),e.animate=null))},remove:function(){var a=this,e=a.chart;e.hasRendered&&G(e.series,function(e){e.type===a.type&&(e.isDirty=!0)});q.prototype.remove.apply(a,arguments)}})})(K);\\n(function(a){a=a.seriesType;a(\\\"bar\\\",\\\"column\\\",null,{inverted:!0})})(K);(function(a){var C=a.Series;a=a.seriesType;a(\\\"scatter\\\",\\\"line\\\",{lineWidth:0,findNearestPointBy:\\\"xy\\\",marker:{enabled:!0},tooltip:{headerFormat:'\\\\x3cspan style\\\\x3d\\\"color:{point.color}\\\"\\\\x3e\\\\u25cf\\\\x3c/span\\\\x3e \\\\x3cspan style\\\\x3d\\\"font-size: 0.85em\\\"\\\\x3e {series.name}\\\\x3c/span\\\\x3e\\\\x3cbr/\\\\x3e',pointFormat:\\\"x: \\\\x3cb\\\\x3e{point.x}\\\\x3c/b\\\\x3e\\\\x3cbr/\\\\x3ey: \\\\x3cb\\\\x3e{point.y}\\\\x3c/b\\\\x3e\\\\x3cbr/\\\\x3e\\\"}},{sorted:!1,requireSorting:!1,noSharedTooltip:!0,\\ntrackerGroups:[\\\"group\\\",\\\"markerGroup\\\",\\\"dataLabelsGroup\\\"],takeOrdinalPosition:!1,drawGraph:function(){this.options.lineWidth&&C.prototype.drawGraph.call(this)}})})(K);(function(a){var C=a.pick,A=a.relativeLength;a.CenteredSeriesMixin={getCenter:function(){var a=this.options,F=this.chart,m=2*(a.slicedOffset||0),g=F.plotWidth-2*m,F=F.plotHeight-2*m,k=a.center,k=[C(k[0],\\\"50%\\\"),C(k[1],\\\"50%\\\"),a.size||\\\"100%\\\",a.innerSize||0],q=Math.min(g,F),v,u;for(v=0;4>v;++v)u=k[v],a=2>v||2===v&&/%$/.test(u),k[v]=A(u,[g,\\nF,q,k[2]][v])+(a?m:0);k[3]>k[2]&&(k[3]=k[2]);return k}}})(K);(function(a){var C=a.addEvent,A=a.defined,G=a.each,F=a.extend,m=a.inArray,g=a.noop,k=a.pick,q=a.Point,v=a.Series,u=a.seriesType,h=a.setAnimation;u(\\\"pie\\\",\\\"line\\\",{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},x:0},ignoreHiddenPoint:!0,legendType:\\\"point\\\",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},\\nborderColor:\\\"#ffffff\\\",borderWidth:1,states:{hover:{brightness:.1,shadow:!1}}},{isCartesian:!1,requireSorting:!1,directTouch:!0,noSharedTooltip:!0,trackerGroups:[\\\"group\\\",\\\"dataLabelsGroup\\\"],axisTypes:[],pointAttribs:a.seriesTypes.column.prototype.pointAttribs,animate:function(a){var e=this,d=e.points,c=e.startAngleRad;a||(G(d,function(a){var b=a.graphic,d=a.shapeArgs;b&&(b.attr({r:a.startR||e.center[3]/2,start:c,end:c}),b.animate({r:d.r,start:d.start,end:d.end},e.options.animation))}),e.animate=null)},\\nupdateTotals:function(){var a,g=0,d=this.points,c=d.length,h,b=this.options.ignoreHiddenPoint;for(a=0;a<c;a++)h=d[a],g+=b&&!h.visible?0:h.isNull?0:h.y;this.total=g;for(a=0;a<c;a++)h=d[a],h.percentage=0<g&&(h.visible||!b)?h.y/g*100:0,h.total=g},generatePoints:function(){v.prototype.generatePoints.call(this);this.updateTotals()},translate:function(a){this.generatePoints();var e=0,d=this.options,c=d.slicedOffset,g=c+(d.borderWidth||0),b,h,m,q=d.startAngle||0,l=this.startAngleRad=Math.PI/180*(q-90),q=\\n(this.endAngleRad=Math.PI/180*(k(d.endAngle,q+360)-90))-l,u=this.points,r,z=d.dataLabels.distance,d=d.ignoreHiddenPoint,v,p=u.length,E;a||(this.center=a=this.getCenter());this.getX=function(b,c,d){m=Math.asin(Math.min((b-a[1])/(a[2]/2+d.labelDistance),1));return a[0]+(c?-1:1)*Math.cos(m)*(a[2]/2+d.labelDistance)};for(v=0;v<p;v++){E=u[v];E.labelDistance=k(E.options.dataLabels&&E.options.dataLabels.distance,z);this.maxLabelDistance=Math.max(this.maxLabelDistance||0,E.labelDistance);b=l+e*q;if(!d||E.visible)e+=\\nE.percentage/100;h=l+e*q;E.shapeType=\\\"arc\\\";E.shapeArgs={x:a[0],y:a[1],r:a[2]/2,innerR:a[3]/2,start:Math.round(1E3*b)/1E3,end:Math.round(1E3*h)/1E3};m=(h+b)/2;m>1.5*Math.PI?m-=2*Math.PI:m<-Math.PI/2&&(m+=2*Math.PI);E.slicedTranslation={translateX:Math.round(Math.cos(m)*c),translateY:Math.round(Math.sin(m)*c)};h=Math.cos(m)*a[2]/2;r=Math.sin(m)*a[2]/2;E.tooltipPos=[a[0]+.7*h,a[1]+.7*r];E.half=m<-Math.PI/2||m>Math.PI/2?1:0;E.angle=m;b=Math.min(g,E.labelDistance/5);E.labelPos=[a[0]+h+Math.cos(m)*E.labelDistance,\\na[1]+r+Math.sin(m)*E.labelDistance,a[0]+h+Math.cos(m)*b,a[1]+r+Math.sin(m)*b,a[0]+h,a[1]+r,0>E.labelDistance?\\\"center\\\":E.half?\\\"right\\\":\\\"left\\\",m]}},drawGraph:null,drawPoints:function(){var a=this,g=a.chart.renderer,d,c,h,b,k=a.options.shadow;k&&!a.shadowGroup&&(a.shadowGroup=g.g(\\\"shadow\\\").add(a.group));G(a.points,function(e){if(!e.isNull){c=e.graphic;b=e.shapeArgs;d=e.getTranslate();var m=e.shadowGroup;k&&!m&&(m=e.shadowGroup=g.g(\\\"shadow\\\").add(a.shadowGroup));m&&m.attr(d);h=a.pointAttribs(e,e.selected&&\\n\\\"select\\\");c?c.setRadialReference(a.center).attr(h).animate(F(b,d)):(e.graphic=c=g[e.shapeType](b).setRadialReference(a.center).attr(d).add(a.group),e.visible||c.attr({visibility:\\\"hidden\\\"}),c.attr(h).attr({\\\"stroke-linejoin\\\":\\\"round\\\"}).shadow(k,m));c.addClass(e.getClassName())}})},searchPoint:g,sortByAngle:function(a,g){a.sort(function(a,c){return void 0!==a.angle&&(c.angle-a.angle)*g})},drawLegendSymbol:a.LegendSymbolMixin.drawRectangle,getCenter:a.CenteredSeriesMixin.getCenter,getSymbol:g},{init:function(){q.prototype.init.apply(this,\\narguments);var a=this,g;a.name=k(a.name,\\\"Slice\\\");g=function(d){a.slice(\\\"select\\\"===d.type)};C(a,\\\"select\\\",g);C(a,\\\"unselect\\\",g);return a},isValid:function(){return a.isNumber(this.y,!0)&&0<=this.y},setVisible:function(a,g){var d=this,c=d.series,e=c.chart,b=c.options.ignoreHiddenPoint;g=k(g,b);a!==d.visible&&(d.visible=d.options.visible=a=void 0===a?!d.visible:a,c.options.data[m(d,c.data)]=d.options,G([\\\"graphic\\\",\\\"dataLabel\\\",\\\"connector\\\",\\\"shadowGroup\\\"],function(b){if(d[b])d[b][a?\\\"show\\\":\\\"hide\\\"](!0)}),d.legendItem&&\\ne.legend.colorizeItem(d,a),a||\\\"hover\\\"!==d.state||d.setState(\\\"\\\"),b&&(c.isDirty=!0),g&&e.redraw())},slice:function(a,g,d){var c=this.series;h(d,c.chart);k(g,!0);this.sliced=this.options.sliced=A(a)?a:!this.sliced;c.options.data[m(this,c.data)]=this.options;this.graphic.animate(this.getTranslate());this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},getTranslate:function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},haloPath:function(a){var e=this.shapeArgs;return this.sliced||\\n!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+a,e.r+a,{innerR:this.shapeArgs.r,start:e.start,end:e.end})}})})(K);(function(a){var C=a.addEvent,A=a.arrayMax,G=a.defined,F=a.each,m=a.extend,g=a.format,k=a.map,q=a.merge,v=a.noop,u=a.pick,h=a.relativeLength,e=a.Series,n=a.seriesTypes,d=a.stableSort;a.distribute=function(a,e){function b(a,b){return a.target-b.target}var c,g=!0,h=a,l=[],m;m=0;for(c=a.length;c--;)m+=a[c].size;if(m>e){d(a,function(a,b){return(b.rank||0)-(a.rank||0)});\\nfor(m=c=0;m<=e;)m+=a[c].size,c++;l=a.splice(c-1,a.length)}d(a,b);for(a=k(a,function(a){return{size:a.size,targets:[a.target]}});g;){for(c=a.length;c--;)g=a[c],m=(Math.min.apply(0,g.targets)+Math.max.apply(0,g.targets))/2,g.pos=Math.min(Math.max(0,m-g.size/2),e-g.size);c=a.length;for(g=!1;c--;)0<c&&a[c-1].pos+a[c-1].size>a[c].pos&&(a[c-1].size+=a[c].size,a[c-1].targets=a[c-1].targets.concat(a[c].targets),a[c-1].pos+a[c-1].size>e&&(a[c-1].pos=e-a[c-1].size),a.splice(c,1),g=!0)}c=0;F(a,function(a){var b=\\n0;F(a.targets,function(){h[c].pos=a.pos+b;b+=h[c].size;c++})});h.push.apply(h,l);d(h,b)};e.prototype.drawDataLabels=function(){var c=this,d=c.options,b=d.dataLabels,e=c.points,h,k,l=c.hasRendered||0,m,r,n=u(b.defer,!!d.animation),v=c.chart.renderer;if(b.enabled||c._hasPointLabels)c.dlProcessOptions&&c.dlProcessOptions(b),r=c.plotGroup(\\\"dataLabelsGroup\\\",\\\"data-labels\\\",n&&!l?\\\"hidden\\\":\\\"visible\\\",b.zIndex||6),n&&(r.attr({opacity:+l}),l||C(c,\\\"afterAnimate\\\",function(){c.visible&&r.show(!0);r[d.animation?\\n\\\"animate\\\":\\\"attr\\\"]({opacity:1},{duration:200})})),k=b,F(e,function(e){var l,p=e.dataLabel,n,f,t=e.connector,w=!p,z;h=e.dlOptions||e.options&&e.options.dataLabels;if(l=u(h&&h.enabled,k.enabled)&&null!==e.y)b=q(k,h),n=e.getLabelConfig(),m=b.format?g(b.format,n):b.formatter.call(n,b),z=b.style,n=b.rotation,z.color=u(b.color,z.color,c.color,\\\"#000000\\\"),\\\"contrast\\\"===z.color&&(e.contrastColor=v.getContrast(e.color||c.color),z.color=b.inside||0>u(e.labelDistance,b.distance)||d.stacking?e.contrastColor:\\\"#000000\\\"),\\nd.cursor&&(z.cursor=d.cursor),f={fill:b.backgroundColor,stroke:b.borderColor,\\\"stroke-width\\\":b.borderWidth,r:b.borderRadius||0,rotation:n,padding:b.padding,zIndex:1},a.objectEach(f,function(a,b){void 0===a&&delete f[b]});!p||l&&G(m)?l&&G(m)&&(p?f.text=m:(p=e.dataLabel=v[n?\\\"text\\\":\\\"label\\\"](m,0,-9999,b.shape,null,null,b.useHTML,null,\\\"data-label\\\"),p.addClass(\\\"highcharts-data-label-color-\\\"+e.colorIndex+\\\" \\\"+(b.className||\\\"\\\")+(b.useHTML?\\\"highcharts-tracker\\\":\\\"\\\"))),p.attr(f),p.css(z).shadow(b.shadow),p.added||\\np.add(r),c.alignDataLabel(e,p,b,null,w)):(e.dataLabel=p=p.destroy(),t&&(e.connector=t.destroy()))})};e.prototype.alignDataLabel=function(a,d,b,e,g){var c=this.chart,h=c.inverted,k=u(a.plotX,-9999),r=u(a.plotY,-9999),n=d.getBBox(),q,p=b.rotation,w=b.align,v=this.visible&&(a.series.forceDL||c.isInsidePlot(k,Math.round(r),h)||e&&c.isInsidePlot(k,h?e.x+1:e.y+e.height-1,h)),y=\\\"justify\\\"===u(b.overflow,\\\"justify\\\");if(v&&(q=b.style.fontSize,q=c.renderer.fontMetrics(q,d).b,e=m({x:h?c.plotWidth-r:k,y:Math.round(h?\\nc.plotHeight-k:r),width:0,height:0},e),m(b,{width:n.width,height:n.height}),p?(y=!1,k=c.renderer.rotCorr(q,p),k={x:e.x+b.x+e.width/2+k.x,y:e.y+b.y+{top:0,middle:.5,bottom:1}[b.verticalAlign]*e.height},d[g?\\\"attr\\\":\\\"animate\\\"](k).attr({align:w}),r=(p+720)%360,r=180<r&&360>r,\\\"left\\\"===w?k.y-=r?n.height:0:\\\"center\\\"===w?(k.x-=n.width/2,k.y-=n.height/2):\\\"right\\\"===w&&(k.x-=n.width,k.y-=r?0:n.height)):(d.align(b,null,e),k=d.alignAttr),y?a.isLabelJustified=this.justifyDataLabel(d,b,k,n,e,g):u(b.crop,!0)&&(v=c.isInsidePlot(k.x,\\nk.y)&&c.isInsidePlot(k.x+n.width,k.y+n.height)),b.shape&&!p))d[g?\\\"attr\\\":\\\"animate\\\"]({anchorX:h?c.plotWidth-a.plotY:a.plotX,anchorY:h?c.plotHeight-a.plotX:a.plotY});v||(d.attr({y:-9999}),d.placed=!1)};e.prototype.justifyDataLabel=function(a,d,b,e,g,h){var c=this.chart,k=d.align,m=d.verticalAlign,n,q,p=a.box?0:a.padding||0;n=b.x+p;0>n&&(\\\"right\\\"===k?d.align=\\\"left\\\":d.x=-n,q=!0);n=b.x+e.width-p;n>c.plotWidth&&(\\\"left\\\"===k?d.align=\\\"right\\\":d.x=c.plotWidth-n,q=!0);n=b.y+p;0>n&&(\\\"bottom\\\"===m?d.verticalAlign=\\n\\\"top\\\":d.y=-n,q=!0);n=b.y+e.height-p;n>c.plotHeight&&(\\\"top\\\"===m?d.verticalAlign=\\\"bottom\\\":d.y=c.plotHeight-n,q=!0);q&&(a.placed=!h,a.align(d,null,g));return q};n.pie&&(n.pie.prototype.drawDataLabels=function(){var c=this,d=c.data,b,g=c.chart,h=c.options.dataLabels,k=u(h.connectorPadding,10),l=u(h.connectorWidth,1),m=g.plotWidth,r=g.plotHeight,n,q=c.center,p=q[2]/2,v=q[1],C,L,f,t,K=[[],[]],J,N,O,P,x=[0,0,0,0];c.visible&&(h.enabled||c._hasPointLabels)&&(F(d,function(a){a.dataLabel&&a.visible&&a.dataLabel.shortened&&\\n(a.dataLabel.attr({width:\\\"auto\\\"}).css({width:\\\"auto\\\",textOverflow:\\\"clip\\\"}),a.dataLabel.shortened=!1)}),e.prototype.drawDataLabels.apply(c),F(d,function(a){a.dataLabel&&a.visible&&(K[a.half].push(a),a.dataLabel._pos=null)}),F(K,function(d,e){var l,n,u=d.length,w=[],z;if(u)for(c.sortByAngle(d,e-.5),0<c.maxLabelDistance&&(l=Math.max(0,v-p-c.maxLabelDistance),n=Math.min(v+p+c.maxLabelDistance,g.plotHeight),F(d,function(a){0<a.labelDistance&&a.dataLabel&&(a.top=Math.max(0,v-p-a.labelDistance),a.bottom=\\nMath.min(v+p+a.labelDistance,g.plotHeight),z=a.dataLabel.getBBox().height||21,a.positionsIndex=w.push({target:a.labelPos[1]-a.top+z/2,size:z,rank:a.y})-1)}),a.distribute(w,n+z-l)),P=0;P<u;P++)b=d[P],n=b.positionsIndex,f=b.labelPos,C=b.dataLabel,O=!1===b.visible?\\\"hidden\\\":\\\"inherit\\\",l=f[1],w&&G(w[n])?void 0===w[n].pos?O=\\\"hidden\\\":(t=w[n].size,N=b.top+w[n].pos):N=l,delete b.positionIndex,J=h.justify?q[0]+(e?-1:1)*(p+b.labelDistance):c.getX(N<b.top+2||N>b.bottom-2?l:N,e,b),C._attr={visibility:O,align:f[6]},\\nC._pos={x:J+h.x+({left:k,right:-k}[f[6]]||0),y:N+h.y-10},f.x=J,f.y=N,L=C.getBBox().width,l=null,J-L<k?(l=Math.round(L-J+k),x[3]=Math.max(l,x[3])):J+L>m-k&&(l=Math.round(J+L-m+k),x[1]=Math.max(l,x[1])),0>N-t/2?x[0]=Math.max(Math.round(-N+t/2),x[0]):N+t/2>r&&(x[2]=Math.max(Math.round(N+t/2-r),x[2])),C.sideOverflow=l}),0===A(x)||this.verifyDataLabelOverflow(x))&&(this.placeDataLabels(),l&&F(this.points,function(a){var b;n=a.connector;if((C=a.dataLabel)&&C._pos&&a.visible&&0<a.labelDistance){O=C._attr.visibility;\\nif(b=!n)a.connector=n=g.renderer.path().addClass(\\\"highcharts-data-label-connector highcharts-color-\\\"+a.colorIndex).add(c.dataLabelsGroup),n.attr({\\\"stroke-width\\\":l,stroke:h.connectorColor||a.color||\\\"#666666\\\"});n[b?\\\"attr\\\":\\\"animate\\\"]({d:c.connectorPath(a.labelPos)});n.attr(\\\"visibility\\\",O)}else n&&(a.connector=n.destroy())}))},n.pie.prototype.connectorPath=function(a){var c=a.x,b=a.y;return u(this.options.dataLabels.softConnector,!0)?[\\\"M\\\",c+(\\\"left\\\"===a[6]?5:-5),b,\\\"C\\\",c,b,2*a[2]-a[4],2*a[3]-a[5],a[2],\\na[3],\\\"L\\\",a[4],a[5]]:[\\\"M\\\",c+(\\\"left\\\"===a[6]?5:-5),b,\\\"L\\\",a[2],a[3],\\\"L\\\",a[4],a[5]]},n.pie.prototype.placeDataLabels=function(){F(this.points,function(a){var c=a.dataLabel;c&&a.visible&&((a=c._pos)?(c.sideOverflow&&(c._attr.width=c.getBBox().width-c.sideOverflow,c.css({width:c._attr.width+\\\"px\\\",textOverflow:\\\"ellipsis\\\"}),c.shortened=!0),c.attr(c._attr),c[c.moved?\\\"animate\\\":\\\"attr\\\"](a),c.moved=!0):c&&c.attr({y:-9999}))},this)},n.pie.prototype.alignDataLabel=v,n.pie.prototype.verifyDataLabelOverflow=function(a){var c=\\nthis.center,b=this.options,d=b.center,e=b.minSize||80,g,l=null!==b.size;l||(null!==d[0]?g=Math.max(c[2]-Math.max(a[1],a[3]),e):(g=Math.max(c[2]-a[1]-a[3],e),c[0]+=(a[3]-a[1])/2),null!==d[1]?g=Math.max(Math.min(g,c[2]-Math.max(a[0],a[2])),e):(g=Math.max(Math.min(g,c[2]-a[0]-a[2]),e),c[1]+=(a[0]-a[2])/2),g<c[2]?(c[2]=g,c[3]=Math.min(h(b.innerSize||0,g),g),this.translate(c),this.drawDataLabels&&this.drawDataLabels()):l=!0);return l});n.column&&(n.column.prototype.alignDataLabel=function(a,d,b,g,h){var c=\\nthis.chart.inverted,l=a.series,k=a.dlBox||a.shapeArgs,m=u(a.below,a.plotY>u(this.translatedThreshold,l.yAxis.len)),n=u(b.inside,!!this.options.stacking);k&&(g=q(k),0>g.y&&(g.height+=g.y,g.y=0),k=g.y+g.height-l.yAxis.len,0<k&&(g.height-=k),c&&(g={x:l.yAxis.len-g.y-g.height,y:l.xAxis.len-g.x-g.width,width:g.height,height:g.width}),n||(c?(g.x+=m?0:g.width,g.width=0):(g.y+=m?g.height:0,g.height=0)));b.align=u(b.align,!c||n?\\\"center\\\":m?\\\"right\\\":\\\"left\\\");b.verticalAlign=u(b.verticalAlign,c||n?\\\"middle\\\":m?\\\"top\\\":\\n\\\"bottom\\\");e.prototype.alignDataLabel.call(this,a,d,b,g,h);a.isLabelJustified&&a.contrastColor&&a.dataLabel.css({color:a.contrastColor})})})(K);(function(a){var C=a.Chart,A=a.each,G=a.pick,F=a.addEvent;C.prototype.callbacks.push(function(a){function g(){var g=[];A(a.series||[],function(a){var k=a.options.dataLabels,m=a.dataLabelCollections||[\\\"dataLabel\\\"];(k.enabled||a._hasPointLabels)&&!k.allowOverlap&&a.visible&&A(m,function(h){A(a.points,function(a){a[h]&&(a[h].labelrank=G(a.labelrank,a.shapeArgs&&\\na.shapeArgs.height),g.push(a[h]))})})});a.hideOverlappingLabels(g)}g();F(a,\\\"redraw\\\",g)});C.prototype.hideOverlappingLabels=function(a){var g=a.length,k,m,v,u,h,e,n,d,c,w=function(a,c,d,e,g,h,k,m){return!(g>a+d||g+k<a||h>c+e||h+m<c)};for(m=0;m<g;m++)if(k=a[m])k.oldOpacity=k.opacity,k.newOpacity=1;a.sort(function(a,c){return(c.labelrank||0)-(a.labelrank||0)});for(m=0;m<g;m++)for(v=a[m],k=m+1;k<g;++k)if(u=a[k],v&&u&&v!==u&&v.placed&&u.placed&&0!==v.newOpacity&&0!==u.newOpacity&&(h=v.alignAttr,e=u.alignAttr,\\nn=v.parentGroup,d=u.parentGroup,c=2*(v.box?0:v.padding),h=w(h.x+n.translateX,h.y+n.translateY,v.width-c,v.height-c,e.x+d.translateX,e.y+d.translateY,u.width-c,u.height-c)))(v.labelrank<u.labelrank?v:u).newOpacity=0;A(a,function(a){var b,c;a&&(c=a.newOpacity,a.oldOpacity!==c&&a.placed&&(c?a.show(!0):b=function(){a.hide()},a.alignAttr.opacity=c,a[a.isOld?\\\"animate\\\":\\\"attr\\\"](a.alignAttr,null,b)),a.isOld=!0)})}})(K);(function(a){var C=a.addEvent,A=a.Chart,G=a.createElement,F=a.css,m=a.defaultOptions,g=\\na.defaultPlotOptions,k=a.each,q=a.extend,v=a.fireEvent,u=a.hasTouch,h=a.inArray,e=a.isObject,n=a.Legend,d=a.merge,c=a.pick,w=a.Point,b=a.Series,y=a.seriesTypes,D=a.svg,H;H=a.TrackerMixin={drawTrackerPoint:function(){var a=this,b=a.chart.pointer,c=function(a){var c=b.getPointFromEvent(a);void 0!==c&&(b.isDirectTouch=!0,c.onMouseOver(a))};k(a.points,function(a){a.graphic&&(a.graphic.element.point=a);a.dataLabel&&(a.dataLabel.div?a.dataLabel.div.point=a:a.dataLabel.element.point=a)});a._hasTracking||\\n(k(a.trackerGroups,function(d){if(a[d]){a[d].addClass(\\\"highcharts-tracker\\\").on(\\\"mouseover\\\",c).on(\\\"mouseout\\\",function(a){b.onTrackerMouseOut(a)});if(u)a[d].on(\\\"touchstart\\\",c);a.options.cursor&&a[d].css(F).css({cursor:a.options.cursor})}}),a._hasTracking=!0)},drawTrackerGraph:function(){var a=this,b=a.options,c=b.trackByArea,d=[].concat(c?a.areaPath:a.graphPath),e=d.length,g=a.chart,h=g.pointer,m=g.renderer,n=g.options.tooltip.snap,f=a.tracker,q,v=function(){if(g.hoverSeries!==a)a.onMouseOver()},w=\\n\\\"rgba(192,192,192,\\\"+(D?.0001:.002)+\\\")\\\";if(e&&!c)for(q=e+1;q--;)\\\"M\\\"===d[q]&&d.splice(q+1,0,d[q+1]-n,d[q+2],\\\"L\\\"),(q&&\\\"M\\\"===d[q]||q===e)&&d.splice(q,0,\\\"L\\\",d[q-2]+n,d[q-1]);f?f.attr({d:d}):a.graph&&(a.tracker=m.path(d).attr({\\\"stroke-linejoin\\\":\\\"round\\\",visibility:a.visible?\\\"visible\\\":\\\"hidden\\\",stroke:w,fill:c?w:\\\"none\\\",\\\"stroke-width\\\":a.graph.strokeWidth()+(c?0:2*n),zIndex:2}).add(a.group),k([a.tracker,a.markerGroup],function(a){a.addClass(\\\"highcharts-tracker\\\").on(\\\"mouseover\\\",v).on(\\\"mouseout\\\",function(a){h.onTrackerMouseOut(a)});\\nb.cursor&&a.css({cursor:b.cursor});if(u)a.on(\\\"touchstart\\\",v)}))}};y.column&&(y.column.prototype.drawTracker=H.drawTrackerPoint);y.pie&&(y.pie.prototype.drawTracker=H.drawTrackerPoint);y.scatter&&(y.scatter.prototype.drawTracker=H.drawTrackerPoint);q(n.prototype,{setItemEvents:function(a,b,c){var e=this,g=e.chart.renderer.boxWrapper,h=\\\"highcharts-legend-\\\"+(a.series?\\\"point\\\":\\\"series\\\")+\\\"-active\\\";(c?b:a.legendGroup).on(\\\"mouseover\\\",function(){a.setState(\\\"hover\\\");g.addClass(h);b.css(e.options.itemHoverStyle)}).on(\\\"mouseout\\\",\\nfunction(){b.css(d(a.visible?e.itemStyle:e.itemHiddenStyle));g.removeClass(h);a.setState()}).on(\\\"click\\\",function(b){var c=function(){a.setVisible&&a.setVisible()};b={browserEvent:b};a.firePointEvent?a.firePointEvent(\\\"legendItemClick\\\",b,c):v(a,\\\"legendItemClick\\\",b,c)})},createCheckboxForItem:function(a){a.checkbox=G(\\\"input\\\",{type:\\\"checkbox\\\",checked:a.selected,defaultChecked:a.selected},this.options.itemCheckboxStyle,this.chart.container);C(a.checkbox,\\\"click\\\",function(b){v(a.series||a,\\\"checkboxClick\\\",\\n{checked:b.target.checked,item:a},function(){a.select()})})}});m.legend.itemStyle.cursor=\\\"pointer\\\";q(A.prototype,{showResetZoom:function(){var a=this,b=m.lang,c=a.options.chart.resetZoomButton,d=c.theme,e=d.states,g=\\\"chart\\\"===c.relativeTo?null:\\\"plotBox\\\";this.resetZoomButton=a.renderer.button(b.resetZoom,null,null,function(){a.zoomOut()},d,e&&e.hover).attr({align:c.position.align,title:b.resetZoomTitle}).addClass(\\\"highcharts-reset-zoom\\\").add().align(c.position,!1,g)},zoomOut:function(){var a=this;\\nv(a,\\\"selection\\\",{resetSelection:!0},function(){a.zoom()})},zoom:function(a){var b,d=this.pointer,g=!1,h;!a||a.resetSelection?k(this.axes,function(a){b=a.zoom()}):k(a.xAxis.concat(a.yAxis),function(a){var c=a.axis;d[c.isXAxis?\\\"zoomX\\\":\\\"zoomY\\\"]&&(b=c.zoom(a.min,a.max),c.displayBtn&&(g=!0))});h=this.resetZoomButton;g&&!h?this.showResetZoom():!g&&e(h)&&(this.resetZoomButton=h.destroy());b&&this.redraw(c(this.options.chart.animation,a&&a.animation,100>this.pointCount))},pan:function(a,b){var c=this,d=c.hoverPoints,\\ne;d&&k(d,function(a){a.setState()});k(\\\"xy\\\"===b?[1,0]:[1],function(b){b=c[b?\\\"xAxis\\\":\\\"yAxis\\\"][0];var d=b.horiz,g=a[d?\\\"chartX\\\":\\\"chartY\\\"],d=d?\\\"mouseDownX\\\":\\\"mouseDownY\\\",h=c[d],f=(b.pointRange||0)/2,l=b.getExtremes(),k=b.toValue(h-g,!0)+f,f=b.toValue(h+b.len-g,!0)-f,m=f<k,h=m?f:k,k=m?k:f,f=Math.min(l.dataMin,b.toValue(b.toPixels(l.min)-b.minPixelPadding)),m=Math.max(l.dataMax,b.toValue(b.toPixels(l.max)+b.minPixelPadding)),n;n=f-h;0<n&&(k+=n,h=f);n=k-m;0<n&&(k=m,h-=n);b.series.length&&h!==l.min&&k!==l.max&&\\n(b.setExtremes(h,k,!1,!1,{trigger:\\\"pan\\\"}),e=!0);c[d]=g});e&&c.redraw(!1);F(c.container,{cursor:\\\"move\\\"})}});q(w.prototype,{select:function(a,b){var d=this,e=d.series,g=e.chart;a=c(a,!d.selected);d.firePointEvent(a?\\\"select\\\":\\\"unselect\\\",{accumulate:b},function(){d.selected=d.options.selected=a;e.options.data[h(d,e.data)]=d.options;d.setState(a&&\\\"select\\\");b||k(g.getSelectedPoints(),function(a){a.selected&&a!==d&&(a.selected=a.options.selected=!1,e.options.data[h(a,e.data)]=a.options,a.setState(\\\"\\\"),a.firePointEvent(\\\"unselect\\\"))})})},\\nonMouseOver:function(a){var b=this.series.chart,c=b.pointer;a=a?c.normalize(a):c.getChartCoordinatesFromPoint(this,b.inverted);c.runPointActions(a,this)},onMouseOut:function(){var a=this.series.chart;this.firePointEvent(\\\"mouseOut\\\");k(a.hoverPoints||[],function(a){a.setState()});a.hoverPoints=a.hoverPoint=null},importEvents:function(){if(!this.hasImportedEvents){var b=this,c=d(b.series.options.point,b.options).events;b.events=c;a.objectEach(c,function(a,c){C(b,c,a)});this.hasImportedEvents=!0}},setState:function(a,\\nb){var d=Math.floor(this.plotX),e=this.plotY,h=this.series,l=h.options.states[a]||{},k=g[h.type].marker&&h.options.marker,m=k&&!1===k.enabled,n=k&&k.states&&k.states[a]||{},f=!1===n.enabled,t=h.stateMarkerGraphic,u=this.marker||{},v=h.chart,w=h.halo,y,B=k&&h.markerAttribs;a=a||\\\"\\\";if(!(a===this.state&&!b||this.selected&&\\\"select\\\"!==a||!1===l.enabled||a&&(f||m&&!1===n.enabled)||a&&u.states&&u.states[a]&&!1===u.states[a].enabled)){B&&(y=h.markerAttribs(this,a));if(this.graphic)this.state&&this.graphic.removeClass(\\\"highcharts-point-\\\"+\\nthis.state),a&&this.graphic.addClass(\\\"highcharts-point-\\\"+a),this.graphic.attr(h.pointAttribs(this,a)),y&&this.graphic.animate(y,c(v.options.chart.animation,n.animation,k.animation)),t&&t.hide();else{if(a&&n){k=u.symbol||h.symbol;t&&t.currentSymbol!==k&&(t=t.destroy());if(t)t[b?\\\"animate\\\":\\\"attr\\\"]({x:y.x,y:y.y});else k&&(h.stateMarkerGraphic=t=v.renderer.symbol(k,y.x,y.y,y.width,y.height).add(h.markerGroup),t.currentSymbol=k);t&&t.attr(h.pointAttribs(this,a))}t&&(t[a&&v.isInsidePlot(d,e,v.inverted)?\\n\\\"show\\\":\\\"hide\\\"](),t.element.point=this)}(d=l.halo)&&d.size?(w||(h.halo=w=v.renderer.path().add((this.graphic||t).parentGroup)),w[b?\\\"animate\\\":\\\"attr\\\"]({d:this.haloPath(d.size)}),w.attr({\\\"class\\\":\\\"highcharts-halo highcharts-color-\\\"+c(this.colorIndex,h.colorIndex)}),w.point=this,w.attr(q({fill:this.color||h.color,\\\"fill-opacity\\\":d.opacity,zIndex:-1},d.attributes))):w&&w.point&&w.point.haloPath&&w.animate({d:w.point.haloPath(0)});this.state=a}},haloPath:function(a){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-\\na,this.plotY-a,2*a,2*a)}});q(b.prototype,{onMouseOver:function(){var a=this.chart,b=a.hoverSeries;if(b&&b!==this)b.onMouseOut();this.options.events.mouseOver&&v(this,\\\"mouseOver\\\");this.setState(\\\"hover\\\");a.hoverSeries=this},onMouseOut:function(){var a=this.options,b=this.chart,c=b.tooltip,d=b.hoverPoint;b.hoverSeries=null;if(d)d.onMouseOut();this&&a.events.mouseOut&&v(this,\\\"mouseOut\\\");!c||this.stickyTracking||c.shared&&!this.noSharedTooltip||c.hide();this.setState()},setState:function(a){var b=this,\\nd=b.options,e=b.graph,g=d.states,h=d.lineWidth,d=0;a=a||\\\"\\\";if(b.state!==a&&(k([b.group,b.markerGroup,b.dataLabelsGroup],function(c){c&&(b.state&&c.removeClass(\\\"highcharts-series-\\\"+b.state),a&&c.addClass(\\\"highcharts-series-\\\"+a))}),b.state=a,!g[a]||!1!==g[a].enabled)&&(a&&(h=g[a].lineWidth||h+(g[a].lineWidthPlus||0)),e&&!e.dashstyle))for(h={\\\"stroke-width\\\":h},e.animate(h,c(b.chart.options.chart.animation,g[a]&&g[a].animation));b[\\\"zone-graph-\\\"+d];)b[\\\"zone-graph-\\\"+d].attr(h),d+=1},setVisible:function(a,\\nb){var c=this,d=c.chart,e=c.legendItem,g,h=d.options.chart.ignoreHiddenSeries,l=c.visible;g=(c.visible=a=c.options.visible=c.userOptions.visible=void 0===a?!l:a)?\\\"show\\\":\\\"hide\\\";k([\\\"group\\\",\\\"dataLabelsGroup\\\",\\\"markerGroup\\\",\\\"tracker\\\",\\\"tt\\\"],function(a){if(c[a])c[a][g]()});if(d.hoverSeries===c||(d.hoverPoint&&d.hoverPoint.series)===c)c.onMouseOut();e&&d.legend.colorizeItem(c,a);c.isDirty=!0;c.options.stacking&&k(d.series,function(a){a.options.stacking&&a.visible&&(a.isDirty=!0)});k(c.linkedSeries,function(b){b.setVisible(a,\\n!1)});h&&(d.isDirtyBox=!0);!1!==b&&d.redraw();v(c,g)},show:function(){this.setVisible(!0)},hide:function(){this.setVisible(!1)},select:function(a){this.selected=a=void 0===a?!this.selected:a;this.checkbox&&(this.checkbox.checked=a);v(this,a?\\\"select\\\":\\\"unselect\\\")},drawTracker:H.drawTrackerGraph})})(K);(function(a){var C=a.Chart,A=a.each,G=a.inArray,F=a.isArray,m=a.isObject,g=a.pick,k=a.splat;C.prototype.setResponsive=function(g){var k=this.options.responsive,m=[],h=this.currentResponsive;k&&k.rules&&\\nA(k.rules,function(e){void 0===e._id&&(e._id=a.uniqueKey());this.matchResponsiveRule(e,m,g)},this);var e=a.merge.apply(0,a.map(m,function(e){return a.find(k.rules,function(a){return a._id===e}).chartOptions})),m=m.toString()||void 0;m!==(h&&h.ruleIds)&&(h&&this.update(h.undoOptions,g),m?(this.currentResponsive={ruleIds:m,mergedOptions:e,undoOptions:this.currentOptions(e)},this.update(e,g)):this.currentResponsive=void 0)};C.prototype.matchResponsiveRule=function(a,k){var m=a.condition;(m.callback||\\nfunction(){return this.chartWidth<=g(m.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=g(m.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=g(m.minWidth,0)&&this.chartHeight>=g(m.minHeight,0)}).call(this)&&k.push(a._id)};C.prototype.currentOptions=function(g){function q(g,e,n,d){var c;a.objectEach(g,function(a,b){if(!d&&-1<G(b,[\\\"series\\\",\\\"xAxis\\\",\\\"yAxis\\\"]))for(g[b]=k(g[b]),n[b]=[],c=0;c<g[b].length;c++)e[b][c]&&(n[b][c]={},q(a[c],e[b][c],n[b][c],d+1));else m(a)?(n[b]=F(a)?[]:{},q(a,e[b]||{},n[b],d+1)):n[b]=\\ne[b]||null})}var u={};q(g,this.options,u,0);return u}})(K);return K});\\n\\n /* END highcharts.js*/\\n\\n /* BEGIN highcharts-3d.js */\\n\\n/*\\n Highcharts JS v5.0.12 (2017-05-24)\\n\\n 3D features for Highcharts JS\\n\\n @license: www.highcharts.com/license\\n*/\\n(function(A){\\\"object\\\"===typeof module&&module.exports?module.exports=A:A(Highcharts)})(function(A){(function(d){var w=d.deg2rad,r=d.pick;d.perspective=function(t,x,y){var m=x.options.chart.options3d,u=y?x.inverted:!1,h=x.plotWidth/2,v=x.plotHeight/2,g=m.depth/2,c=r(m.depth,1)*r(m.viewDistance,0),b=x.scale3d||1,e=w*m.beta*(u?-1:1),m=w*m.alpha*(u?-1:1),a=Math.cos(m),f=Math.cos(-e),k=Math.sin(m),p=Math.sin(-e);y||(h+=x.plotLeft,v+=x.plotTop);return d.map(t,function(e){var d,l;l=(u?e.y:e.x)-h;var n=(u?\\ne.x:e.y)-v,F=(e.z||0)-g;d=f*l-p*F;e=-k*p*l+a*n-f*k*F;l=a*p*l+k*n+a*f*F;n=0<c&&c<Number.POSITIVE_INFINITY?c/(l+g+c):1;d=d*n*b+h;e=e*n*b+v;return{x:u?e:d,y:u?d:e,z:l*b+g}})};d.pointCameraDistance=function(d,x){var t=x.options.chart.options3d,m=x.plotWidth/2;x=x.plotHeight/2;t=r(t.depth,1)*r(t.viewDistance,0)+t.depth;return Math.sqrt(Math.pow(m-d.plotX,2)+Math.pow(x-d.plotY,2)+Math.pow(t-d.plotZ,2))};d.shapeArea=function(d){var t=0,r,m;for(r=0;r<d.length;r++)m=(r+1)%d.length,t+=d[r].x*d[m].y-d[m].x*\\nd[r].y;return t/2};d.shapeArea3d=function(r,x,w){return d.shapeArea(d.perspective(r,x,w))}})(A);(function(d){function w(a,b,e,d,c,f,k,g){var B=[],n=f-c;return f>c&&f-c>Math.PI/2+.0001?(B=B.concat(w(a,b,e,d,c,c+Math.PI/2,k,g)),B=B.concat(w(a,b,e,d,c+Math.PI/2,f,k,g))):f<c&&c-f>Math.PI/2+.0001?(B=B.concat(w(a,b,e,d,c,c-Math.PI/2,k,g)),B=B.concat(w(a,b,e,d,c-Math.PI/2,f,k,g))):[\\\"C\\\",a+e*Math.cos(c)-e*l*n*Math.sin(c)+k,b+d*Math.sin(c)+d*l*n*Math.cos(c)+g,a+e*Math.cos(f)+e*l*n*Math.sin(f)+k,b+d*Math.sin(f)-\\nd*l*n*Math.cos(f)+g,a+e*Math.cos(f)+k,b+d*Math.sin(f)+g]}var r=Math.cos,t=Math.PI,x=Math.sin,y=d.animObject,m=d.charts,u=d.color,h=d.defined,v=d.deg2rad,g=d.each,c=d.extend,b=d.inArray,e=d.map,a=d.merge,f=d.perspective,k=d.pick,p=d.SVGElement,z=d.SVGRenderer,q=d.wrap,l=4*(Math.sqrt(2)-1)/3/(t/2);z.prototype.toLinePath=function(a,b){var e=[];g(a,function(a){e.push(\\\"L\\\",a.x,a.y)});a.length&&(e[0]=\\\"M\\\",b&&e.push(\\\"Z\\\"));return e};z.prototype.toLineSegments=function(a){var b=[],e=!0;g(a,function(a){b.push(e?\\n\\\"M\\\":\\\"L\\\",a.x,a.y);e=!e});return b};z.prototype.face3d=function(a){var b=this,e=this.createElement(\\\"path\\\");e.vertexes=[];e.insidePlotArea=!1;e.enabled=!0;q(e,\\\"attr\\\",function(a,e){if(\\\"object\\\"===typeof e&&(h(e.enabled)||h(e.vertexes)||h(e.insidePlotArea))){this.enabled=k(e.enabled,this.enabled);this.vertexes=k(e.vertexes,this.vertexes);this.insidePlotArea=k(e.insidePlotArea,this.insidePlotArea);delete e.enabled;delete e.vertexes;delete e.insidePlotArea;var c=f(this.vertexes,m[b.chartIndex],this.insidePlotArea),\\nB=b.toLinePath(c,!0),c=d.shapeArea(c),c=this.enabled&&0<c?\\\"visible\\\":\\\"hidden\\\";e.d=B;e.visibility=c}return a.apply(this,[].slice.call(arguments,1))});q(e,\\\"animate\\\",function(a,e){if(\\\"object\\\"===typeof e&&(h(e.enabled)||h(e.vertexes)||h(e.insidePlotArea))){this.enabled=k(e.enabled,this.enabled);this.vertexes=k(e.vertexes,this.vertexes);this.insidePlotArea=k(e.insidePlotArea,this.insidePlotArea);delete e.enabled;delete e.vertexes;delete e.insidePlotArea;var c=f(this.vertexes,m[b.chartIndex],this.insidePlotArea),\\nB=b.toLinePath(c,!0),c=d.shapeArea(c),c=this.enabled&&0<c?\\\"visible\\\":\\\"hidden\\\";e.d=B;this.attr(\\\"visibility\\\",c)}return a.apply(this,[].slice.call(arguments,1))});return e.attr(a)};z.prototype.polyhedron=function(a){var b=this,e=this.g(),c=e.destroy;e.attr({\\\"stroke-linejoin\\\":\\\"round\\\"});e.faces=[];e.destroy=function(){for(var a=0;a<e.faces.length;a++)e.faces[a].destroy();return c.call(this)};q(e,\\\"attr\\\",function(a,c,d,f,k){if(\\\"object\\\"===typeof c&&h(c.faces)){for(;e.faces.length>c.faces.length;)e.faces.pop().destroy();\\nfor(;e.faces.length<c.faces.length;)e.faces.push(b.face3d().add(e));for(var g=0;g<c.faces.length;g++)e.faces[g].attr(c.faces[g],null,f,k);delete c.faces}return a.apply(this,[].slice.call(arguments,1))});q(e,\\\"animate\\\",function(a,c,d,f){if(c&&c.faces){for(;e.faces.length>c.faces.length;)e.faces.pop().destroy();for(;e.faces.length<c.faces.length;)e.faces.push(b.face3d().add(e));for(var k=0;k<c.faces.length;k++)e.faces[k].animate(c.faces[k],d,f);delete c.faces}return a.apply(this,[].slice.call(arguments,\\n1))});return e.attr(a)};z.prototype.cuboid=function(a){var e=this.g(),b=e.destroy;a=this.cuboidPath(a);e.attr({\\\"stroke-linejoin\\\":\\\"round\\\"});e.front=this.path(a[0]).attr({\\\"class\\\":\\\"highcharts-3d-front\\\"}).add(e);e.top=this.path(a[1]).attr({\\\"class\\\":\\\"highcharts-3d-top\\\"}).add(e);e.side=this.path(a[2]).attr({\\\"class\\\":\\\"highcharts-3d-side\\\"}).add(e);e.fillSetter=function(a){this.front.attr({fill:a});this.top.attr({fill:u(a).brighten(.1).get()});this.side.attr({fill:u(a).brighten(-.1).get()});this.color=a;return this};\\ne.opacitySetter=function(a){this.front.attr({opacity:a});this.top.attr({opacity:a});this.side.attr({opacity:a});return this};e.attr=function(a,e){if(\\\"string\\\"===typeof a&&\\\"undefined\\\"!==typeof e){var b=a;a={};a[b]=e}if(a.shapeArgs||h(a.x))a=this.renderer.cuboidPath(a.shapeArgs||a),this.front.attr({d:a[0]}),this.top.attr({d:a[1]}),this.side.attr({d:a[2]});else return d.SVGElement.prototype.attr.call(this,a);return this};e.animate=function(a,e,b){h(a.x)&&h(a.y)?(a=this.renderer.cuboidPath(a),this.front.animate({d:a[0]},\\ne,b),this.top.animate({d:a[1]},e,b),this.side.animate({d:a[2]},e,b),this.attr({zIndex:-a[3]})):a.opacity?(this.front.animate(a,e,b),this.top.animate(a,e,b),this.side.animate(a,e,b)):p.prototype.animate.call(this,a,e,b);return this};e.destroy=function(){this.front.destroy();this.top.destroy();this.side.destroy();return b.call(this)};e.attr({zIndex:-a[3]});return e};d.SVGRenderer.prototype.cuboidPath=function(a){function b(a){return r[a]}var c=a.x,k=a.y,g=a.z,n=a.height,v=a.width,l=a.depth,p=m[this.chartIndex],\\nq,z,u=p.options.chart.options3d.alpha,h=0,r=[{x:c,y:k,z:g},{x:c+v,y:k,z:g},{x:c+v,y:k+n,z:g},{x:c,y:k+n,z:g},{x:c,y:k+n,z:g+l},{x:c+v,y:k+n,z:g+l},{x:c+v,y:k,z:g+l},{x:c,y:k,z:g+l}],r=f(r,p,a.insidePlotArea);z=function(a,c){var f=[[],-1];a=e(a,b);c=e(c,b);0>d.shapeArea(a)?f=[a,0]:0>d.shapeArea(c)&&(f=[c,1]);return f};q=z([3,2,1,0],[7,6,5,4]);a=q[0];v=q[1];q=z([1,6,7,0],[4,5,2,3]);n=q[0];l=q[1];q=z([1,2,5,6],[0,7,4,3]);z=q[0];q=q[1];1===q?h+=1E4*(1E3-c):q||(h+=1E4*c);h+=10*(!l||0<=u&&180>=u||360>u&&\\n357.5<u?p.plotHeight-k:10+k);1===v?h+=100*g:v||(h+=100*(1E3-g));h=-Math.round(h);return[this.toLinePath(a,!0),this.toLinePath(n,!0),this.toLinePath(z,!0),h]};d.SVGRenderer.prototype.arc3d=function(e){function d(e){var c=!1,f={};e=a(e);for(var d in e)-1!==b(d,l)&&(f[d]=e[d],delete e[d],c=!0);return c?f:!1}var f=this.g(),n=f.renderer,l=\\\"x y r innerR start end\\\".split(\\\" \\\");e=a(e);e.alpha*=v;e.beta*=v;f.top=n.path();f.side1=n.path();f.side2=n.path();f.inn=n.path();f.out=n.path();f.onAdd=function(){var a=\\nf.parentGroup,e=f.attr(\\\"class\\\");f.top.add(f);g([\\\"out\\\",\\\"inn\\\",\\\"side1\\\",\\\"side2\\\"],function(b){f[b].addClass(e+\\\" highcharts-3d-side\\\").add(a)})};f.setPaths=function(a){var e=f.renderer.arc3dPath(a),b=100*e.zTop;f.attribs=a;f.top.attr({d:e.top,zIndex:e.zTop});f.inn.attr({d:e.inn,zIndex:e.zInn});f.out.attr({d:e.out,zIndex:e.zOut});f.side1.attr({d:e.side1,zIndex:e.zSide1});f.side2.attr({d:e.side2,zIndex:e.zSide2});f.zIndex=b;f.attr({zIndex:b});a.center&&(f.top.setRadialReference(a.center),delete a.center)};\\nf.setPaths(e);f.fillSetter=function(a){var e=u(a).brighten(-.1).get();this.fill=a;this.side1.attr({fill:e});this.side2.attr({fill:e});this.inn.attr({fill:e});this.out.attr({fill:e});this.top.attr({fill:a});return this};g([\\\"opacity\\\",\\\"translateX\\\",\\\"translateY\\\",\\\"visibility\\\"],function(a){f[a+\\\"Setter\\\"]=function(a,e){f[e]=a;g([\\\"out\\\",\\\"inn\\\",\\\"side1\\\",\\\"side2\\\",\\\"top\\\"],function(b){f[b].attr(e,a)})}});q(f,\\\"attr\\\",function(a,e){var b;\\\"object\\\"===typeof e&&(b=d(e))&&(c(f.attribs,b),f.setPaths(f.attribs));return a.apply(this,\\n[].slice.call(arguments,1))});q(f,\\\"animate\\\",function(e,b,c,f){var g,n=this.attribs,v;delete b.center;delete b.z;delete b.depth;delete b.alpha;delete b.beta;v=y(k(c,this.renderer.globalAnimation));v.duration&&(g=d(b),b.dummy=1,g&&(v.step=function(e,b){function c(a){return n[a]+(k(g[a],n[a])-n[a])*b.pos}\\\"dummy\\\"===b.prop&&b.elem.setPaths(a(n,{x:c(\\\"x\\\"),y:c(\\\"y\\\"),r:c(\\\"r\\\"),innerR:c(\\\"innerR\\\"),start:c(\\\"start\\\"),end:c(\\\"end\\\")}))}),c=v);return e.call(this,b,c,f)});f.destroy=function(){this.top.destroy();this.out.destroy();\\nthis.inn.destroy();this.side1.destroy();this.side2.destroy();p.prototype.destroy.call(this)};f.hide=function(){this.top.hide();this.out.hide();this.inn.hide();this.side1.hide();this.side2.hide()};f.show=function(){this.top.show();this.out.show();this.inn.show();this.side1.show();this.side2.show()};return f};z.prototype.arc3dPath=function(a){function e(a){a%=2*Math.PI;a>Math.PI&&(a=2*Math.PI-a);return a}var b=a.x,c=a.y,f=a.start,d=a.end-.00001,k=a.r,g=a.innerR,v=a.depth,l=a.alpha,p=a.beta,n=Math.cos(f),\\nq=Math.sin(f);a=Math.cos(d);var h=Math.sin(d),z=k*Math.cos(p),k=k*Math.cos(l),m=g*Math.cos(p),u=g*Math.cos(l),g=v*Math.sin(p),y=v*Math.sin(l),v=[\\\"M\\\",b+z*n,c+k*q],v=v.concat(w(b,c,z,k,f,d,0,0)),v=v.concat([\\\"L\\\",b+m*a,c+u*h]),v=v.concat(w(b,c,m,u,d,f,0,0)),v=v.concat([\\\"Z\\\"]),A=0<p?Math.PI/2:0,p=0<l?0:Math.PI/2,A=f>-A?f:d>-A?-A:f,C=d<t-p?d:f<t-p?t-p:d,D=2*t-p,l=[\\\"M\\\",b+z*r(A),c+k*x(A)],l=l.concat(w(b,c,z,k,A,C,0,0));d>D&&f<D?(l=l.concat([\\\"L\\\",b+z*r(C)+g,c+k*x(C)+y]),l=l.concat(w(b,c,z,k,C,D,g,y)),l=l.concat([\\\"L\\\",\\nb+z*r(D),c+k*x(D)]),l=l.concat(w(b,c,z,k,D,d,0,0)),l=l.concat([\\\"L\\\",b+z*r(d)+g,c+k*x(d)+y]),l=l.concat(w(b,c,z,k,d,D,g,y)),l=l.concat([\\\"L\\\",b+z*r(D),c+k*x(D)]),l=l.concat(w(b,c,z,k,D,C,0,0))):d>t-p&&f<t-p&&(l=l.concat([\\\"L\\\",b+z*Math.cos(C)+g,c+k*Math.sin(C)+y]),l=l.concat(w(b,c,z,k,C,d,g,y)),l=l.concat([\\\"L\\\",b+z*Math.cos(d),c+k*Math.sin(d)]),l=l.concat(w(b,c,z,k,d,C,0,0)));l=l.concat([\\\"L\\\",b+z*Math.cos(C)+g,c+k*Math.sin(C)+y]);l=l.concat(w(b,c,z,k,C,A,g,y));l=l.concat([\\\"Z\\\"]);p=[\\\"M\\\",b+m*n,c+u*q];p=p.concat(w(b,\\nc,m,u,f,d,0,0));p=p.concat([\\\"L\\\",b+m*Math.cos(d)+g,c+u*Math.sin(d)+y]);p=p.concat(w(b,c,m,u,d,f,g,y));p=p.concat([\\\"Z\\\"]);n=[\\\"M\\\",b+z*n,c+k*q,\\\"L\\\",b+z*n+g,c+k*q+y,\\\"L\\\",b+m*n+g,c+u*q+y,\\\"L\\\",b+m*n,c+u*q,\\\"Z\\\"];b=[\\\"M\\\",b+z*a,c+k*h,\\\"L\\\",b+z*a+g,c+k*h+y,\\\"L\\\",b+m*a+g,c+u*h+y,\\\"L\\\",b+m*a,c+u*h,\\\"Z\\\"];h=Math.atan2(y,-g);c=Math.abs(d+h);a=Math.abs(f+h);f=Math.abs((f+d)/2+h);c=e(c);a=e(a);f=e(f);f*=1E5;d=1E5*a;c*=1E5;return{top:v,zTop:1E5*Math.PI+1,out:l,zOut:Math.max(f,d,c),inn:p,zInn:Math.max(f,d,c),side1:n,zSide1:.99*c,\\nside2:b,zSide2:.99*d}}})(A);(function(d){function w(d,g){var c=d.plotLeft,b=d.plotWidth+c,e=d.plotTop,a=d.plotHeight+e,f=c+d.plotWidth/2,k=e+d.plotHeight/2,p=Number.MAX_VALUE,v=-Number.MAX_VALUE,q=Number.MAX_VALUE,l=-Number.MAX_VALUE,n,h=1;n=[{x:c,y:e,z:0},{x:c,y:e,z:g}];t([0,1],function(a){n.push({x:b,y:n[a].y,z:n[a].z})});t([0,1,2,3],function(e){n.push({x:n[e].x,y:a,z:n[e].z})});n=y(n,d,!1);t(n,function(a){p=Math.min(p,a.x);v=Math.max(v,a.x);q=Math.min(q,a.y);l=Math.max(l,a.y)});c>p&&(h=Math.min(h,\\n1-Math.abs((c+f)/(p+f))%1));b<v&&(h=Math.min(h,(b-f)/(v-f)));e>q&&(h=0>q?Math.min(h,(e+k)/(-q+e+k)):Math.min(h,1-(e+k)/(q+k)%1));a<l&&(h=Math.min(h,Math.abs((a-k)/(l-k))));return h}var r=d.Chart,t=d.each,x=d.merge,y=d.perspective,m=d.pick,u=d.wrap;r.prototype.is3d=function(){return this.options.chart.options3d&&this.options.chart.options3d.enabled};r.prototype.propsRequireDirtyBox.push(\\\"chart.options3d\\\");r.prototype.propsRequireUpdateSeries.push(\\\"chart.options3d\\\");d.wrap(d.Chart.prototype,\\\"isInsidePlot\\\",\\nfunction(d){return this.is3d()||d.apply(this,[].slice.call(arguments,1))});var h=d.getOptions();x(!0,h,{chart:{options3d:{enabled:!1,alpha:0,beta:0,depth:100,fitToPlot:!0,viewDistance:25,axisLabelPosition:\\\"default\\\",frame:{visible:\\\"default\\\",size:1,bottom:{},top:{},left:{},right:{},back:{},front:{}}}}});u(r.prototype,\\\"setClassName\\\",function(d){d.apply(this,[].slice.call(arguments,1));this.is3d()&&(this.container.className+=\\\" highcharts-3d-chart\\\")});d.wrap(d.Chart.prototype,\\\"setChartSize\\\",function(d){var g=\\nthis.options.chart.options3d;d.apply(this,[].slice.call(arguments,1));if(this.is3d()){var c=this.inverted,b=this.clipBox,e=this.margin;b[c?\\\"y\\\":\\\"x\\\"]=-(e[3]||0);b[c?\\\"x\\\":\\\"y\\\"]=-(e[0]||0);b[c?\\\"height\\\":\\\"width\\\"]=this.chartWidth+(e[3]||0)+(e[1]||0);b[c?\\\"width\\\":\\\"height\\\"]=this.chartHeight+(e[0]||0)+(e[2]||0);this.scale3d=1;!0===g.fitToPlot&&(this.scale3d=w(this,g.depth))}});u(r.prototype,\\\"redraw\\\",function(d){this.is3d()&&(this.isDirtyBox=!0,this.frame3d=this.get3dFrame());d.apply(this,[].slice.call(arguments,\\n1))});u(r.prototype,\\\"render\\\",function(d){this.is3d()&&(this.frame3d=this.get3dFrame());d.apply(this,[].slice.call(arguments,1))});u(r.prototype,\\\"renderSeries\\\",function(d){var g=this.series.length;if(this.is3d())for(;g--;)d=this.series[g],d.translate(),d.render();else d.call(this)});u(r.prototype,\\\"drawChartBox\\\",function(v){if(this.is3d()){var g=this.renderer,c=this.options.chart.options3d,b=this.get3dFrame(),e=this.plotLeft,a=this.plotLeft+this.plotWidth,f=this.plotTop,k=this.plotTop+this.plotHeight,\\nc=c.depth,p=e-(b.left.visible?b.left.size:0),h=a+(b.right.visible?b.right.size:0),q=f-(b.top.visible?b.top.size:0),l=k+(b.bottom.visible?b.bottom.size:0),n=0-(b.front.visible?b.front.size:0),m=c+(b.back.visible?b.back.size:0),u=this.hasRendered?\\\"animate\\\":\\\"attr\\\";this.frame3d=b;this.frameShapes||(this.frameShapes={bottom:g.polyhedron().add(),top:g.polyhedron().add(),left:g.polyhedron().add(),right:g.polyhedron().add(),back:g.polyhedron().add(),front:g.polyhedron().add()});this.frameShapes.bottom[u]({\\\"class\\\":\\\"highcharts-3d-frame highcharts-3d-frame-bottom\\\",\\nzIndex:b.bottom.frontFacing?-1E3:1E3,faces:[{fill:d.color(b.bottom.color).brighten(.1).get(),vertexes:[{x:p,y:l,z:n},{x:h,y:l,z:n},{x:h,y:l,z:m},{x:p,y:l,z:m}],enabled:b.bottom.visible},{fill:d.color(b.bottom.color).brighten(.1).get(),vertexes:[{x:e,y:k,z:c},{x:a,y:k,z:c},{x:a,y:k,z:0},{x:e,y:k,z:0}],enabled:b.bottom.visible},{fill:d.color(b.bottom.color).brighten(-.1).get(),vertexes:[{x:p,y:l,z:n},{x:p,y:l,z:m},{x:e,y:k,z:c},{x:e,y:k,z:0}],enabled:b.bottom.visible&&!b.left.visible},{fill:d.color(b.bottom.color).brighten(-.1).get(),\\nvertexes:[{x:h,y:l,z:m},{x:h,y:l,z:n},{x:a,y:k,z:0},{x:a,y:k,z:c}],enabled:b.bottom.visible&&!b.right.visible},{fill:d.color(b.bottom.color).get(),vertexes:[{x:h,y:l,z:n},{x:p,y:l,z:n},{x:e,y:k,z:0},{x:a,y:k,z:0}],enabled:b.bottom.visible&&!b.front.visible},{fill:d.color(b.bottom.color).get(),vertexes:[{x:p,y:l,z:m},{x:h,y:l,z:m},{x:a,y:k,z:c},{x:e,y:k,z:c}],enabled:b.bottom.visible&&!b.back.visible}]});this.frameShapes.top[u]({\\\"class\\\":\\\"highcharts-3d-frame highcharts-3d-frame-top\\\",zIndex:b.top.frontFacing?\\n-1E3:1E3,faces:[{fill:d.color(b.top.color).brighten(.1).get(),vertexes:[{x:p,y:q,z:m},{x:h,y:q,z:m},{x:h,y:q,z:n},{x:p,y:q,z:n}],enabled:b.top.visible},{fill:d.color(b.top.color).brighten(.1).get(),vertexes:[{x:e,y:f,z:0},{x:a,y:f,z:0},{x:a,y:f,z:c},{x:e,y:f,z:c}],enabled:b.top.visible},{fill:d.color(b.top.color).brighten(-.1).get(),vertexes:[{x:p,y:q,z:m},{x:p,y:q,z:n},{x:e,y:f,z:0},{x:e,y:f,z:c}],enabled:b.top.visible&&!b.left.visible},{fill:d.color(b.top.color).brighten(-.1).get(),vertexes:[{x:h,\\ny:q,z:n},{x:h,y:q,z:m},{x:a,y:f,z:c},{x:a,y:f,z:0}],enabled:b.top.visible&&!b.right.visible},{fill:d.color(b.top.color).get(),vertexes:[{x:p,y:q,z:n},{x:h,y:q,z:n},{x:a,y:f,z:0},{x:e,y:f,z:0}],enabled:b.top.visible&&!b.front.visible},{fill:d.color(b.top.color).get(),vertexes:[{x:h,y:q,z:m},{x:p,y:q,z:m},{x:e,y:f,z:c},{x:a,y:f,z:c}],enabled:b.top.visible&&!b.back.visible}]});this.frameShapes.left[u]({\\\"class\\\":\\\"highcharts-3d-frame highcharts-3d-frame-left\\\",zIndex:b.left.frontFacing?-1E3:1E3,faces:[{fill:d.color(b.left.color).brighten(.1).get(),\\nvertexes:[{x:p,y:l,z:n},{x:e,y:k,z:0},{x:e,y:k,z:c},{x:p,y:l,z:m}],enabled:b.left.visible&&!b.bottom.visible},{fill:d.color(b.left.color).brighten(.1).get(),vertexes:[{x:p,y:q,z:m},{x:e,y:f,z:c},{x:e,y:f,z:0},{x:p,y:q,z:n}],enabled:b.left.visible&&!b.top.visible},{fill:d.color(b.left.color).brighten(-.1).get(),vertexes:[{x:p,y:l,z:m},{x:p,y:q,z:m},{x:p,y:q,z:n},{x:p,y:l,z:n}],enabled:b.left.visible},{fill:d.color(b.left.color).brighten(-.1).get(),vertexes:[{x:e,y:f,z:c},{x:e,y:k,z:c},{x:e,y:k,z:0},\\n{x:e,y:f,z:0}],enabled:b.left.visible},{fill:d.color(b.left.color).get(),vertexes:[{x:p,y:l,z:n},{x:p,y:q,z:n},{x:e,y:f,z:0},{x:e,y:k,z:0}],enabled:b.left.visible&&!b.front.visible},{fill:d.color(b.left.color).get(),vertexes:[{x:p,y:q,z:m},{x:p,y:l,z:m},{x:e,y:k,z:c},{x:e,y:f,z:c}],enabled:b.left.visible&&!b.back.visible}]});this.frameShapes.right[u]({\\\"class\\\":\\\"highcharts-3d-frame highcharts-3d-frame-right\\\",zIndex:b.right.frontFacing?-1E3:1E3,faces:[{fill:d.color(b.right.color).brighten(.1).get(),\\nvertexes:[{x:h,y:l,z:m},{x:a,y:k,z:c},{x:a,y:k,z:0},{x:h,y:l,z:n}],enabled:b.right.visible&&!b.bottom.visible},{fill:d.color(b.right.color).brighten(.1).get(),vertexes:[{x:h,y:q,z:n},{x:a,y:f,z:0},{x:a,y:f,z:c},{x:h,y:q,z:m}],enabled:b.right.visible&&!b.top.visible},{fill:d.color(b.right.color).brighten(-.1).get(),vertexes:[{x:a,y:f,z:0},{x:a,y:k,z:0},{x:a,y:k,z:c},{x:a,y:f,z:c}],enabled:b.right.visible},{fill:d.color(b.right.color).brighten(-.1).get(),vertexes:[{x:h,y:l,z:n},{x:h,y:q,z:n},{x:h,y:q,\\nz:m},{x:h,y:l,z:m}],enabled:b.right.visible},{fill:d.color(b.right.color).get(),vertexes:[{x:h,y:q,z:n},{x:h,y:l,z:n},{x:a,y:k,z:0},{x:a,y:f,z:0}],enabled:b.right.visible&&!b.front.visible},{fill:d.color(b.right.color).get(),vertexes:[{x:h,y:l,z:m},{x:h,y:q,z:m},{x:a,y:f,z:c},{x:a,y:k,z:c}],enabled:b.right.visible&&!b.back.visible}]});this.frameShapes.back[u]({\\\"class\\\":\\\"highcharts-3d-frame highcharts-3d-frame-back\\\",zIndex:b.back.frontFacing?-1E3:1E3,faces:[{fill:d.color(b.back.color).brighten(.1).get(),\\nvertexes:[{x:h,y:l,z:m},{x:p,y:l,z:m},{x:e,y:k,z:c},{x:a,y:k,z:c}],enabled:b.back.visible&&!b.bottom.visible},{fill:d.color(b.back.color).brighten(.1).get(),vertexes:[{x:p,y:q,z:m},{x:h,y:q,z:m},{x:a,y:f,z:c},{x:e,y:f,z:c}],enabled:b.back.visible&&!b.top.visible},{fill:d.color(b.back.color).brighten(-.1).get(),vertexes:[{x:p,y:l,z:m},{x:p,y:q,z:m},{x:e,y:f,z:c},{x:e,y:k,z:c}],enabled:b.back.visible&&!b.left.visible},{fill:d.color(b.back.color).brighten(-.1).get(),vertexes:[{x:h,y:q,z:m},{x:h,y:l,\\nz:m},{x:a,y:k,z:c},{x:a,y:f,z:c}],enabled:b.back.visible&&!b.right.visible},{fill:d.color(b.back.color).get(),vertexes:[{x:e,y:f,z:c},{x:a,y:f,z:c},{x:a,y:k,z:c},{x:e,y:k,z:c}],enabled:b.back.visible},{fill:d.color(b.back.color).get(),vertexes:[{x:p,y:l,z:m},{x:h,y:l,z:m},{x:h,y:q,z:m},{x:p,y:q,z:m}],enabled:b.back.visible}]});this.frameShapes.front[u]({\\\"class\\\":\\\"highcharts-3d-frame highcharts-3d-frame-front\\\",zIndex:b.front.frontFacing?-1E3:1E3,faces:[{fill:d.color(b.front.color).brighten(.1).get(),\\nvertexes:[{x:p,y:l,z:n},{x:h,y:l,z:n},{x:a,y:k,z:0},{x:e,y:k,z:0}],enabled:b.front.visible&&!b.bottom.visible},{fill:d.color(b.front.color).brighten(.1).get(),vertexes:[{x:h,y:q,z:n},{x:p,y:q,z:n},{x:e,y:f,z:0},{x:a,y:f,z:0}],enabled:b.front.visible&&!b.top.visible},{fill:d.color(b.front.color).brighten(-.1).get(),vertexes:[{x:p,y:q,z:n},{x:p,y:l,z:n},{x:e,y:k,z:0},{x:e,y:f,z:0}],enabled:b.front.visible&&!b.left.visible},{fill:d.color(b.front.color).brighten(-.1).get(),vertexes:[{x:h,y:l,z:n},{x:h,\\ny:q,z:n},{x:a,y:f,z:0},{x:a,y:k,z:0}],enabled:b.front.visible&&!b.right.visible},{fill:d.color(b.front.color).get(),vertexes:[{x:a,y:f,z:0},{x:e,y:f,z:0},{x:e,y:k,z:0},{x:a,y:k,z:0}],enabled:b.front.visible},{fill:d.color(b.front.color).get(),vertexes:[{x:h,y:l,z:n},{x:p,y:l,z:n},{x:p,y:q,z:n},{x:h,y:q,z:n}],enabled:b.front.visible}]})}return v.apply(this,[].slice.call(arguments,1))});r.prototype.retrieveStacks=function(d){var g=this.series,c={},b,e=1;t(this.series,function(a){b=m(a.options.stack,\\nd?0:g.length-1-a.index);c[b]?c[b].series.push(a):(c[b]={series:[a],position:e},e++)});c.totalStacks=e+1;return c};r.prototype.get3dFrame=function(){var h=this,g=h.options.chart.options3d,c=g.frame,b=h.plotLeft,e=h.plotLeft+h.plotWidth,a=h.plotTop,f=h.plotTop+h.plotHeight,k=g.depth,p=d.shapeArea3d([{x:b,y:f,z:k},{x:e,y:f,z:k},{x:e,y:f,z:0},{x:b,y:f,z:0}],h),u=d.shapeArea3d([{x:b,y:a,z:0},{x:e,y:a,z:0},{x:e,y:a,z:k},{x:b,y:a,z:k}],h),q=d.shapeArea3d([{x:b,y:a,z:0},{x:b,y:a,z:k},{x:b,y:f,z:k},{x:b,y:f,\\nz:0}],h),l=d.shapeArea3d([{x:e,y:a,z:k},{x:e,y:a,z:0},{x:e,y:f,z:0},{x:e,y:f,z:k}],h),n=d.shapeArea3d([{x:b,y:f,z:0},{x:e,y:f,z:0},{x:e,y:a,z:0},{x:b,y:a,z:0}],h),r=d.shapeArea3d([{x:b,y:a,z:k},{x:e,y:a,z:k},{x:e,y:f,z:k},{x:b,y:f,z:k}],h),x=!1,w=!1,A=!1,G=!1;t([].concat(h.xAxis,h.yAxis,h.zAxis),function(a){a&&(a.horiz?a.opposite?w=!0:x=!0:a.opposite?G=!0:A=!0)});var E=function(a,e,b){for(var c=[\\\"size\\\",\\\"color\\\",\\\"visible\\\"],d={},f=0;f<c.length;f++)for(var k=c[f],g=0;g<a.length;g++)if(\\\"object\\\"===typeof a[g]){var h=\\na[g][k];if(void 0!==h&&null!==h){d[k]=h;break}}a=b;!0===d.visible||!1===d.visible?a=d.visible:\\\"auto\\\"===d.visible&&(a=0<=e);return{size:m(d.size,1),color:m(d.color,\\\"none\\\"),frontFacing:0<e,visible:a}},c={bottom:E([c.bottom,c.top,c],p,x),top:E([c.top,c.bottom,c],u,w),left:E([c.left,c.right,c.side,c],q,A),right:E([c.right,c.left,c.side,c],l,G),back:E([c.back,c.front,c],r,!0),front:E([c.front,c.back,c],n,!1)};\\\"auto\\\"===g.axisLabelPosition?(l=function(a,e){return a.visible!==e.visible||a.visible&&e.visible&&\\na.frontFacing!==e.frontFacing},g=[],l(c.left,c.front)&&g.push({y:(a+f)/2,x:b,z:0}),l(c.left,c.back)&&g.push({y:(a+f)/2,x:b,z:k}),l(c.right,c.front)&&g.push({y:(a+f)/2,x:e,z:0}),l(c.right,c.back)&&g.push({y:(a+f)/2,x:e,z:k}),p=[],l(c.bottom,c.front)&&p.push({x:(b+e)/2,y:f,z:0}),l(c.bottom,c.back)&&p.push({x:(b+e)/2,y:f,z:k}),u=[],l(c.top,c.front)&&u.push({x:(b+e)/2,y:a,z:0}),l(c.top,c.back)&&u.push({x:(b+e)/2,y:a,z:k}),q=[],l(c.bottom,c.left)&&q.push({z:(0+k)/2,y:f,x:b}),l(c.bottom,c.right)&&q.push({z:(0+\\nk)/2,y:f,x:e}),f=[],l(c.top,c.left)&&f.push({z:(0+k)/2,y:a,x:b}),l(c.top,c.right)&&f.push({z:(0+k)/2,y:a,x:e}),b=function(a,e,b){if(0===a.length)return null;if(1===a.length)return a[0];for(var c=0,d=y(a,h,!1),f=1;f<d.length;f++)b*d[f][e]>b*d[c][e]?c=f:b*d[f][e]===b*d[c][e]&&d[f].z<d[c].z&&(c=f);return a[c]},c.axes={y:{left:b(g,\\\"x\\\",-1),right:b(g,\\\"x\\\",1)},x:{top:b(u,\\\"y\\\",-1),bottom:b(p,\\\"y\\\",1)},z:{top:b(f,\\\"y\\\",-1),bottom:b(q,\\\"y\\\",1)}}):c.axes={y:{left:{x:b,z:0},right:{x:e,z:0}},x:{top:{y:a,z:0},bottom:{y:f,\\nz:0}},z:{top:{x:A?e:b,y:a},bottom:{x:A?e:b,y:f}}};return c}})(A);(function(d){function w(e,a){if(e.chart.is3d()&&\\\"colorAxis\\\"!==e.coll){var b=e.chart,c=b.frame3d,d=b.plotLeft,g=b.plotWidth+d,m=b.plotTop,b=b.plotHeight+m,l=0,n=0;a=e.swapZ({x:a.x,y:a.y,z:0});if(e.isZAxis)if(e.opposite){if(null===c.axes.z.top)return{};n=a.y-m;a.x=c.axes.z.top.x;a.y=c.axes.z.top.y}else{if(null===c.axes.z.bottom)return{};n=a.y-b;a.x=c.axes.z.bottom.x;a.y=c.axes.z.bottom.y}else if(e.horiz)if(e.opposite){if(null===c.axes.x.top)return{};\\nn=a.y-m;a.y=c.axes.x.top.y;a.z=c.axes.x.top.z}else{if(null===c.axes.x.bottom)return{};n=a.y-b;a.y=c.axes.x.bottom.y;a.z=c.axes.x.bottom.z}else if(e.opposite){if(null===c.axes.y.right)return{};l=a.x-g;a.x=c.axes.y.right.x;a.z=c.axes.y.right.z}else{if(null===c.axes.y.left)return{};l=a.x-d;a.x=c.axes.y.left.x;a.z=c.axes.y.left.z}a=h([a],e.chart)[0];a.x+=l;a.y+=n}return a}var r,t=d.Axis,x=d.Chart,y=d.each,m=d.extend,u=d.merge,h=d.perspective,v=d.pick,g=d.splat,c=d.Tick,b=d.wrap;b(t.prototype,\\\"setOptions\\\",\\nfunction(e,a){e.call(this,a);this.chart.is3d()&&\\\"colorAxis\\\"!==this.coll&&(e=this.options,e.tickWidth=v(e.tickWidth,0),e.gridLineWidth=v(e.gridLineWidth,1))});b(t.prototype,\\\"getPlotLinePath\\\",function(e){var a=e.apply(this,[].slice.call(arguments,1));if(!this.chart.is3d()||\\\"colorAxis\\\"===this.coll||null===a)return a;var b=this.chart,c=b.options.chart.options3d,c=this.isZAxis?b.plotWidth:c.depth,b=b.frame3d,a=[this.swapZ({x:a[1],y:a[2],z:0}),this.swapZ({x:a[1],y:a[2],z:c}),this.swapZ({x:a[4],y:a[5],z:0}),\\nthis.swapZ({x:a[4],y:a[5],z:c})],c=[];this.horiz?(this.isZAxis?(b.left.visible&&c.push(a[0],a[2]),b.right.visible&&c.push(a[1],a[3])):(b.front.visible&&c.push(a[0],a[2]),b.back.visible&&c.push(a[1],a[3])),b.top.visible&&c.push(a[0],a[1]),b.bottom.visible&&c.push(a[2],a[3])):(b.front.visible&&c.push(a[0],a[2]),b.back.visible&&c.push(a[1],a[3]),b.left.visible&&c.push(a[0],a[1]),b.right.visible&&c.push(a[2],a[3]));c=h(c,this.chart,!1);return this.chart.renderer.toLineSegments(c)});b(t.prototype,\\\"getLinePath\\\",\\nfunction(b){return this.chart.is3d()?[]:b.apply(this,[].slice.call(arguments,1))});b(t.prototype,\\\"getPlotBandPath\\\",function(b){if(!this.chart.is3d()||\\\"colorAxis\\\"===this.coll)return b.apply(this,[].slice.call(arguments,1));var a=arguments,e=a[2],c=[],a=this.getPlotLinePath(a[1]),e=this.getPlotLinePath(e);if(a&&e)for(var d=0;d<a.length;d+=6)c.push(\\\"M\\\",a[d+1],a[d+2],\\\"L\\\",a[d+4],a[d+5],\\\"L\\\",e[d+4],e[d+5],\\\"L\\\",e[d+1],e[d+2],\\\"Z\\\");return c});b(c.prototype,\\\"getMarkPath\\\",function(b){var a=b.apply(this,[].slice.call(arguments,\\n1)),a=[w(this.axis,{x:a[1],y:a[2],z:0}),w(this.axis,{x:a[4],y:a[5],z:0})];return this.axis.chart.renderer.toLineSegments(a)});b(c.prototype,\\\"getLabelPosition\\\",function(b){var a=b.apply(this,[].slice.call(arguments,1));return w(this.axis,a)});d.wrap(t.prototype,\\\"getTitlePosition\\\",function(b){var a=b.apply(this,[].slice.call(arguments,1));return w(this,a)});b(t.prototype,\\\"drawCrosshair\\\",function(b){var a=arguments;this.chart.is3d()&&a[2]&&(a[2]={plotX:a[2].plotXold||a[2].plotX,plotY:a[2].plotYold||\\na[2].plotY});b.apply(this,[].slice.call(a,1))});b(t.prototype,\\\"destroy\\\",function(b){y([\\\"backFrame\\\",\\\"bottomFrame\\\",\\\"sideFrame\\\"],function(a){this[a]&&(this[a]=this[a].destroy())},this);b.apply(this,[].slice.call(arguments,1))});t.prototype.swapZ=function(b,a){return this.isZAxis?(a=a?0:this.chart.plotLeft,{x:a+b.z,y:b.y,z:b.x-a}):b};r=d.ZAxis=function(){this.init.apply(this,arguments)};m(r.prototype,t.prototype);m(r.prototype,{isZAxis:!0,setOptions:function(b){b=u({offset:0,lineWidth:0},b);t.prototype.setOptions.call(this,\\nb);this.coll=\\\"zAxis\\\"},setAxisSize:function(){t.prototype.setAxisSize.call(this);this.width=this.len=this.chart.options.chart.options3d.depth;this.right=this.chart.chartWidth-this.width-this.left},getSeriesExtremes:function(){var b=this,a=b.chart;b.hasVisibleSeries=!1;b.dataMin=b.dataMax=b.ignoreMinPadding=b.ignoreMaxPadding=null;b.buildStacks&&b.buildStacks();y(b.series,function(c){if(c.visible||!a.options.chart.ignoreHiddenSeries)b.hasVisibleSeries=!0,c=c.zData,c.length&&(b.dataMin=Math.min(v(b.dataMin,\\nc[0]),Math.min.apply(null,c)),b.dataMax=Math.max(v(b.dataMax,c[0]),Math.max.apply(null,c)))})}});b(x.prototype,\\\"getAxes\\\",function(b){var a=this,c=this.options,c=c.zAxis=g(c.zAxis||{});b.call(this);a.is3d()&&(this.zAxis=[],y(c,function(b,c){b.index=c;b.isX=!0;(new r(a,b)).setScale()}))})})(A);(function(d){function w(d){var g=d.apply(this,[].slice.call(arguments,1));this.chart.is3d()&&(g.stroke=this.options.edgeColor||g.fill,g[\\\"stroke-width\\\"]=x(this.options.edgeWidth,1));return g}var r=d.each,t=d.perspective,\\nx=d.pick,y=d.Series,m=d.seriesTypes,u=d.inArray,h=d.svg;d=d.wrap;d(m.column.prototype,\\\"translate\\\",function(d){d.apply(this,[].slice.call(arguments,1));if(this.chart.is3d()){var g=this,c=g.chart,b=g.options,e=b.depth||25,a=g.borderWidth%2?.5:0;if(c.inverted&&!g.yAxis.reversed||!c.inverted&&g.yAxis.reversed)a*=-1;var f=(b.stacking?b.stack||0:g.index)*(e+(b.groupZPadding||1));!1!==b.grouping&&(f=0);f+=b.groupZPadding||1;r(g.data,function(b){if(null!==b.y){var d=b.shapeArgs,h=b.tooltipPos,k;r([[\\\"x\\\",\\\"width\\\"],\\n[\\\"y\\\",\\\"height\\\"]],function(b){k=d[b[0]]-a;if(0>k+d[b[1]]||k>g[b[0]+\\\"Axis\\\"].len)for(var c in d)d[c]=0;0>k&&(d[b[1]]+=d[b[0]],d[b[0]]=0);k+d[b[1]]>g[b[0]+\\\"Axis\\\"].len&&(d[b[1]]=g[b[0]+\\\"Axis\\\"].len-d[b[0]])});b.shapeType=\\\"cuboid\\\";d.z=f;d.depth=e;d.insidePlotArea=!0;h=t([{x:h[0],y:h[1],z:f}],c,!0)[0];b.tooltipPos=[h.x,h.y]}});g.z=f}});d(m.column.prototype,\\\"animate\\\",function(d){if(this.chart.is3d()){var g=arguments[1],c=this.yAxis,b=this,e=this.yAxis.reversed;h&&(g?r(b.data,function(a){null!==a.y&&(a.height=\\na.shapeArgs.height,a.shapey=a.shapeArgs.y,a.shapeArgs.height=1,e||(a.shapeArgs.y=a.stackY?a.plotY+c.translate(a.stackY):a.plotY+(a.negative?-a.height:a.height)))}):(r(b.data,function(a){null!==a.y&&(a.shapeArgs.height=a.height,a.shapeArgs.y=a.shapey,a.graphic&&a.graphic.animate(a.shapeArgs,b.options.animation))}),this.drawDataLabels(),b.animate=null))}else d.apply(this,[].slice.call(arguments,1))});d(m.column.prototype,\\\"plotGroup\\\",function(d,g,c,b,e,a){this.chart.is3d()&&a&&!this[g]&&(this[g]=a,a.attr(this.getPlotBox()),\\nthis[g].survive=!0);return d.apply(this,Array.prototype.slice.call(arguments,1))});d(m.column.prototype,\\\"setVisible\\\",function(d,g){var c=this,b;c.chart.is3d()&&r(c.data,function(e){b=(e.visible=e.options.visible=g=void 0===g?!e.visible:g)?\\\"visible\\\":\\\"hidden\\\";c.options.data[u(e,c.data)]=e.options;e.graphic&&e.graphic.attr({visibility:b})});d.apply(this,Array.prototype.slice.call(arguments,1))});d(m.column.prototype,\\\"init\\\",function(d){d.apply(this,[].slice.call(arguments,1));if(this.chart.is3d()){var g=\\nthis.options,c=g.grouping,b=g.stacking,e=x(this.yAxis.options.reversedStacks,!0),a=0;if(void 0===c||c){c=this.chart.retrieveStacks(b);a=g.stack||0;for(b=0;b<c[a].series.length&&c[a].series[b]!==this;b++);a=10*(c.totalStacks-c[a].position)+(e?b:-b);this.xAxis.reversed||(a=10*c.totalStacks-a)}g.zIndex=a}});d(m.column.prototype,\\\"pointAttribs\\\",w);m.columnrange&&(d(m.columnrange.prototype,\\\"pointAttribs\\\",w),m.columnrange.prototype.plotGroup=m.column.prototype.plotGroup,m.columnrange.prototype.setVisible=\\nm.column.prototype.setVisible);d(y.prototype,\\\"alignDataLabel\\\",function(d){if(this.chart.is3d()&&(\\\"column\\\"===this.type||\\\"columnrange\\\"===this.type)){var g=arguments[4],c={x:g.x,y:g.y,z:this.z},c=t([c],this.chart,!0)[0];g.x=c.x;g.y=c.y}d.apply(this,[].slice.call(arguments,1))})})(A);(function(d){var w=d.deg2rad,r=d.each,t=d.pick,x=d.seriesTypes,y=d.svg;d=d.wrap;d(x.pie.prototype,\\\"translate\\\",function(d){d.apply(this,[].slice.call(arguments,1));if(this.chart.is3d()){var m=this,h=m.options,v=h.depth||0,\\ng=m.chart.options.chart.options3d,c=g.alpha,b=g.beta,e=h.stacking?(h.stack||0)*v:m._i*v,e=e+v/2;!1!==h.grouping&&(e=0);r(m.data,function(a){var d=a.shapeArgs;a.shapeType=\\\"arc3d\\\";d.z=e;d.depth=.75*v;d.alpha=c;d.beta=b;d.center=m.center;d=(d.end+d.start)/2;a.slicedTranslation={translateX:Math.round(Math.cos(d)*h.slicedOffset*Math.cos(c*w)),translateY:Math.round(Math.sin(d)*h.slicedOffset*Math.cos(c*w))}})}});d(x.pie.prototype.pointClass.prototype,\\\"haloPath\\\",function(d){var m=arguments;return this.series.chart.is3d()?\\n[]:d.call(this,m[1])});d(x.pie.prototype,\\\"pointAttribs\\\",function(d,u,h){d=d.call(this,u,h);h=this.options;this.chart.is3d()&&(d.stroke=h.edgeColor||u.color||this.color,d[\\\"stroke-width\\\"]=t(h.edgeWidth,1));return d});d(x.pie.prototype,\\\"drawPoints\\\",function(d){d.apply(this,[].slice.call(arguments,1));this.chart.is3d()&&r(this.points,function(d){var h=d.graphic;if(h)h[d.y&&d.visible?\\\"show\\\":\\\"hide\\\"]()})});d(x.pie.prototype,\\\"drawDataLabels\\\",function(d){if(this.chart.is3d()){var m=this.chart.options.chart.options3d;\\nr(this.data,function(d){var h=d.shapeArgs,g=h.r,c=(h.start+h.end)/2,b=d.labelPos,e=-g*(1-Math.cos((h.alpha||m.alpha)*w))*Math.sin(c),a=g*(Math.cos((h.beta||m.beta)*w)-1)*Math.cos(c);r([0,2,4],function(c){b[c]+=a;b[c+1]+=e})})}d.apply(this,[].slice.call(arguments,1))});d(x.pie.prototype,\\\"addPoint\\\",function(d){d.apply(this,[].slice.call(arguments,1));this.chart.is3d()&&this.update(this.userOptions,!0)});d(x.pie.prototype,\\\"animate\\\",function(d){if(this.chart.is3d()){var m=arguments[1],h=this.options.animation,\\nr=this.center,g=this.group,c=this.markerGroup;y&&(!0===h&&(h={}),m?(g.oldtranslateX=g.translateX,g.oldtranslateY=g.translateY,m={translateX:r[0],translateY:r[1],scaleX:.001,scaleY:.001},g.attr(m),c&&(c.attrSetters=g.attrSetters,c.attr(m))):(m={translateX:g.oldtranslateX,translateY:g.oldtranslateY,scaleX:1,scaleY:1},g.animate(m,h),c&&c.animate(m,h),this.animate=null))}else d.apply(this,[].slice.call(arguments,1))})})(A);(function(d){var w=d.perspective,r=d.pick,t=d.Point,x=d.seriesTypes,y=d.wrap;y(x.scatter.prototype,\\n\\\"translate\\\",function(d){d.apply(this,[].slice.call(arguments,1));if(this.chart.is3d()){var m=this.chart,h=r(this.zAxis,m.options.zAxis[0]),t=[],g,c,b;for(b=0;b<this.data.length;b++)g=this.data[b],c=h.isLog&&h.val2lin?h.val2lin(g.z):g.z,g.plotZ=h.translate(c),g.isInside=g.isInside?c>=h.min&&c<=h.max:!1,t.push({x:g.plotX,y:g.plotY,z:g.plotZ});m=w(t,m,!0);for(b=0;b<this.data.length;b++)g=this.data[b],h=m[b],g.plotXold=g.plotX,g.plotYold=g.plotY,g.plotZold=g.plotZ,g.plotX=h.x,g.plotY=h.y,g.plotZ=h.z}});\\ny(x.scatter.prototype,\\\"init\\\",function(d,r,h){r.is3d()&&(this.axisTypes=[\\\"xAxis\\\",\\\"yAxis\\\",\\\"zAxis\\\"],this.pointArrayMap=[\\\"x\\\",\\\"y\\\",\\\"z\\\"],this.parallelArrays=[\\\"x\\\",\\\"y\\\",\\\"z\\\"],this.directTouch=!0);d=d.apply(this,[r,h]);this.chart.is3d()&&(this.tooltipOptions.pointFormat=this.userOptions.tooltip?this.userOptions.tooltip.pointFormat||\\\"x: \\\\x3cb\\\\x3e{point.x}\\\\x3c/b\\\\x3e\\\\x3cbr/\\\\x3ey: \\\\x3cb\\\\x3e{point.y}\\\\x3c/b\\\\x3e\\\\x3cbr/\\\\x3ez: \\\\x3cb\\\\x3e{point.z}\\\\x3c/b\\\\x3e\\\\x3cbr/\\\\x3e\\\":\\\"x: \\\\x3cb\\\\x3e{point.x}\\\\x3c/b\\\\x3e\\\\x3cbr/\\\\x3ey: \\\\x3cb\\\\x3e{point.y}\\\\x3c/b\\\\x3e\\\\x3cbr/\\\\x3ez: \\\\x3cb\\\\x3e{point.z}\\\\x3c/b\\\\x3e\\\\x3cbr/\\\\x3e\\\");\\nreturn d});y(x.scatter.prototype,\\\"pointAttribs\\\",function(m,r){var h=m.apply(this,[].slice.call(arguments,1));this.chart.is3d()&&r&&(h.zIndex=d.pointCameraDistance(r,this.chart));return h});y(t.prototype,\\\"applyOptions\\\",function(d){var m=d.apply(this,[].slice.call(arguments,1));this.series.chart.is3d()&&void 0===m.z&&(m.z=0);return m})})(A);(function(d){var w=d.Axis,r=d.SVGRenderer,t=d.VMLRenderer;t&&(d.setOptions({animate:!1}),t.prototype.face3d=r.prototype.face3d,t.prototype.polyhedron=r.prototype.polyhedron,\\nt.prototype.cuboid=r.prototype.cuboid,t.prototype.cuboidPath=r.prototype.cuboidPath,t.prototype.toLinePath=r.prototype.toLinePath,t.prototype.toLineSegments=r.prototype.toLineSegments,t.prototype.createElement3D=r.prototype.createElement3D,t.prototype.arc3d=function(d){d=r.prototype.arc3d.call(this,d);d.css({zIndex:d.zIndex});return d},d.VMLRenderer.prototype.arc3dPath=d.SVGRenderer.prototype.arc3dPath,d.wrap(w.prototype,\\\"render\\\",function(d){d.apply(this,[].slice.call(arguments,1));this.sideFrame&&\\n(this.sideFrame.css({zIndex:0}),this.sideFrame.front.attr({fill:this.sideFrame.color}));this.bottomFrame&&(this.bottomFrame.css({zIndex:1}),this.bottomFrame.front.attr({fill:this.bottomFrame.color}));this.backFrame&&(this.backFrame.css({zIndex:0}),this.backFrame.front.attr({fill:this.backFrame.color}))}))})(A)});\\n\\n /* END highcharts-3d.js*/\\n\\n\\nvar event = document.createEvent(\\\"HTMLEvents\\\");\\nevent.initEvent(\\\"load_highcharts\\\", false, false);\\nwindow.dispatchEvent(event);\\nconsole.log(\\\"Finish loading highchartsjs\\\");\\n\\n\""
538
+ ]
539
+ },
540
+ "metadata": {},
541
+ "output_type": "display_data"
542
+ },
543
+ {
544
+ "data": {
545
+ "text/plain": [
546
+ ":highcharts"
547
+ ]
548
+ },
549
+ "execution_count": 2,
550
+ "metadata": {},
551
+ "output_type": "execute_result"
552
+ }
553
+ ],
554
+ "source": [
555
+ "Daru::View.plotting_library = :highcharts"
556
+ ]
557
+ },
558
+ {
559
+ "cell_type": "code",
560
+ "execution_count": 3,
561
+ "metadata": {
562
+ "collapsed": false
563
+ },
564
+ "outputs": [
565
+ {
566
+ "data": {
567
+ "text/html": [
568
+ " <script type=\"text/javascript\">\n",
569
+ " $(function() {\n",
570
+ "\n",
571
+ " var options = { \"chart\": { \"zoomType\": \"xy\",\"renderTo\": \"vtndpjhlqmb\" },\"title\": { \"text\": \"Average Monthly Temperature and Rainfall in Tokyo\" },\"subtitle\": { \"text\": \"Source: WorldClimate.com\" },\"xAxis\": [ { \"categories\": [ \"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\" ],\"crosshair\": true } ],\"yAxis\": [ { \"labels\": { \"format\": \"{value}°C\",\"style\": { \"color\": Highcharts.getOptions().colors[1] } },\"title\": { \"text\": \"Temperature\",\"style\": { \"color\": Highcharts.getOptions().colors[1] } } },{ \"title\": { \"text\": \"Rainfall\",\"style\": { \"color\": Highcharts.getOptions().colors[0] } },\"labels\": { \"format\": \"{value} mm\",\"style\": { \"color\": Highcharts.getOptions().colors[0] } },\"opposite\": true } ],\"tooltip\": { \"shared\": true },\"legend\": { \"layout\": \"vertical\",\"align\": \"left\",\"x\": 120,\"verticalAlign\": \"top\",\"y\": 100,\"floating\": true,\"backgroundColor\": (Highcharts.theme && Highcharts.theme.legendBackgroundColor) || '#FFFFFF' },\"series\": [{ \"name\": \"Rainfall\",\"type\": \"column\",\"yAxis\": 1,\"data\": [ 49.9,71.5,106.4,129.2,144.0,176.0,135.6,148.5,216.4,194.1,95.6,54.4 ],\"tooltip\": { \"valueSuffix\": \" mm\" } },{ \"name\": \"Temperature\",\"type\": \"spline\",\"data\": [ 7.0,6.9,9.5,14.5,18.2,21.5,25.2,26.5,23.3,18.3,13.9,9.6 ],\"tooltip\": { \"valueSuffix\": \"°C\" } }] };\n",
572
+ " \n",
573
+ " window.chart_vtndpjhlqmb = new Highcharts.Chart(options);\n",
574
+ "\n",
575
+ " });\n",
576
+ " </script>\n",
577
+ "\n",
578
+ "<div id=\"vtndpjhlqmb\"></div>"
579
+ ],
580
+ "text/plain": [
581
+ "\" <script type=\\\"text/javascript\\\">\\n $(function() {\\n\\n var options = { \\\"chart\\\": { \\\"zoomType\\\": \\\"xy\\\",\\\"renderTo\\\": \\\"vtndpjhlqmb\\\" },\\\"title\\\": { \\\"text\\\": \\\"Average Monthly Temperature and Rainfall in Tokyo\\\" },\\\"subtitle\\\": { \\\"text\\\": \\\"Source: WorldClimate.com\\\" },\\\"xAxis\\\": [ { \\\"categories\\\": [ \\\"Jan\\\",\\\"Feb\\\",\\\"Mar\\\",\\\"Apr\\\",\\\"May\\\",\\\"Jun\\\",\\\"Jul\\\",\\\"Aug\\\",\\\"Sep\\\",\\\"Oct\\\",\\\"Nov\\\",\\\"Dec\\\" ],\\\"crosshair\\\": true } ],\\\"yAxis\\\": [ { \\\"labels\\\": { \\\"format\\\": \\\"{value}°C\\\",\\\"style\\\": { \\\"color\\\": Highcharts.getOptions().colors[1] } },\\\"title\\\": { \\\"text\\\": \\\"Temperature\\\",\\\"style\\\": { \\\"color\\\": Highcharts.getOptions().colors[1] } } },{ \\\"title\\\": { \\\"text\\\": \\\"Rainfall\\\",\\\"style\\\": { \\\"color\\\": Highcharts.getOptions().colors[0] } },\\\"labels\\\": { \\\"format\\\": \\\"{value} mm\\\",\\\"style\\\": { \\\"color\\\": Highcharts.getOptions().colors[0] } },\\\"opposite\\\": true } ],\\\"tooltip\\\": { \\\"shared\\\": true },\\\"legend\\\": { \\\"layout\\\": \\\"vertical\\\",\\\"align\\\": \\\"left\\\",\\\"x\\\": 120,\\\"verticalAlign\\\": \\\"top\\\",\\\"y\\\": 100,\\\"floating\\\": true,\\\"backgroundColor\\\": (Highcharts.theme && Highcharts.theme.legendBackgroundColor) || '#FFFFFF' },\\\"series\\\": [{ \\\"name\\\": \\\"Rainfall\\\",\\\"type\\\": \\\"column\\\",\\\"yAxis\\\": 1,\\\"data\\\": [ 49.9,71.5,106.4,129.2,144.0,176.0,135.6,148.5,216.4,194.1,95.6,54.4 ],\\\"tooltip\\\": { \\\"valueSuffix\\\": \\\" mm\\\" } },{ \\\"name\\\": \\\"Temperature\\\",\\\"type\\\": \\\"spline\\\",\\\"data\\\": [ 7.0,6.9,9.5,14.5,18.2,21.5,25.2,26.5,23.3,18.3,13.9,9.6 ],\\\"tooltip\\\": { \\\"valueSuffix\\\": \\\"°C\\\" } }] };\\n \\n window.chart_vtndpjhlqmb = new Highcharts.Chart(options);\\n\\n });\\n </script>\\n\\n<div id=\\\"vtndpjhlqmb\\\"></div>\""
582
+ ]
583
+ },
584
+ "execution_count": 3,
585
+ "metadata": {},
586
+ "output_type": "execute_result"
587
+ }
588
+ ],
589
+ "source": [
590
+ " # combo-dual-axes/\n",
591
+ " opts = {\n",
592
+ " chart: {\n",
593
+ " zoomType: 'xy'\n",
594
+ " },\n",
595
+ " title: {\n",
596
+ " text: 'Average Monthly Temperature and Rainfall in Tokyo'\n",
597
+ " },\n",
598
+ " subtitle: {\n",
599
+ " text: 'Source: WorldClimate.com'\n",
600
+ " },\n",
601
+ " xAxis: [{\n",
602
+ " categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',\n",
603
+ " 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n",
604
+ " crosshair: true\n",
605
+ " }],\n",
606
+ " yAxis: [{ # Primary yAxis\n",
607
+ " labels: {\n",
608
+ " format: '{value}°C',\n",
609
+ " style: {\n",
610
+ " color: \"Highcharts.getOptions().colors[1]\".js_code\n",
611
+ " }\n",
612
+ " },\n",
613
+ " title: {\n",
614
+ " text: 'Temperature',\n",
615
+ " style: {\n",
616
+ " color: \"Highcharts.getOptions().colors[1]\".js_code\n",
617
+ " }\n",
618
+ " }\n",
619
+ " }, { # Secondary yAxis\n",
620
+ " title: {\n",
621
+ " text: 'Rainfall',\n",
622
+ " style: {\n",
623
+ " color: \"Highcharts.getOptions().colors[0]\".js_code\n",
624
+ " }\n",
625
+ " },\n",
626
+ " labels: {\n",
627
+ " format: '{value} mm',\n",
628
+ " style: {\n",
629
+ " color: \"Highcharts.getOptions().colors[0]\".js_code\n",
630
+ " }\n",
631
+ " },\n",
632
+ " opposite: true\n",
633
+ " }],\n",
634
+ " tooltip: {\n",
635
+ " shared: true\n",
636
+ " },\n",
637
+ " legend: {\n",
638
+ " layout: 'vertical',\n",
639
+ " align: 'left',\n",
640
+ " x: 120,\n",
641
+ " verticalAlign: 'top',\n",
642
+ " y: 100,\n",
643
+ " floating: true,\n",
644
+ " backgroundColor: \"(Highcharts.theme && Highcharts.theme.legendBackgroundColor) || '#FFFFFF'\".js_code\n",
645
+ " },\n",
646
+ "\n",
647
+ " }\n",
648
+ "\n",
649
+ " series_dt = [\n",
650
+ " {\n",
651
+ " name: 'Rainfall',\n",
652
+ " type: 'column',\n",
653
+ " yAxis: 1,\n",
654
+ " data: [49.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4],\n",
655
+ " tooltip: {\n",
656
+ " valueSuffix: ' mm'\n",
657
+ " }\n",
658
+ "\n",
659
+ " }, {\n",
660
+ " name: 'Temperature',\n",
661
+ " type: 'spline',\n",
662
+ " data: [7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6],\n",
663
+ " tooltip: {\n",
664
+ " valueSuffix: '°C'\n",
665
+ " }\n",
666
+ " }\n",
667
+ " ]\n",
668
+ "\n",
669
+ "comb_dual_axis = Daru::View::Plot.new\n",
670
+ "comb_dual_axis.chart.options = opts;\n",
671
+ "comb_dual_axis.chart.series_data = series_dt\n",
672
+ "comb_dual_axis.show_in_iruby"
673
+ ]
674
+ },
675
+ {
676
+ "cell_type": "code",
677
+ "execution_count": 4,
678
+ "metadata": {
679
+ "collapsed": false
680
+ },
681
+ "outputs": [
682
+ {
683
+ "data": {
684
+ "text/html": [
685
+ " <script type=\"text/javascript\">\n",
686
+ " $(function() {\n",
687
+ "\n",
688
+ " var options = { \"chart\": { \"zoomType\": \"xy\",\"renderTo\": \"ejbndaqghto\" },\"title\": { \"text\": \"Average Monthly Weather Data for Tokyo\" },\"subtitle\": { \"text\": \"Source: WorldClimate.com\" },\"xAxis\": [ { \"categories\": [ \"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\" ],\"crosshair\": true } ],\"yAxis\": [ { \"labels\": { \"format\": \"{value}°C\",\"style\": { \"color\": Highcharts.getOptions().colors[2] } },\"title\": { \"text\": \"Temperature\",\"style\": { \"color\": Highcharts.getOptions().colors[2] } },\"opposite\": true },{ \"gridLineWidth\": 0,\"title\": { \"text\": \"Rainfall\",\"style\": { \"color\": Highcharts.getOptions().colors[0] } },\"labels\": { \"format\": \"{value} mm\",\"style\": { \"color\": Highcharts.getOptions().colors[0] } } },{ \"gridLineWidth\": 0,\"title\": { \"text\": \"Sea-Level Pressure\",\"style\": { \"color\": Highcharts.getOptions().colors[1] } },\"labels\": { \"format\": \"{value} mb\",\"style\": { \"color\": Highcharts.getOptions().colors[1] } },\"opposite\": true } ],\"tooltip\": { \"shared\": true },\"legend\": { \"layout\": \"vertical\",\"align\": \"left\",\"x\": 80,\"verticalAlign\": \"top\",\"y\": 55,\"floating\": true,\"backgroundColor\": (Highcharts.theme && Highcharts.theme.legendBackgroundColor) || '#FFFFFF' },\"series\": [{ \"name\": \"Rainfall\",\"type\": \"column\",\"yAxis\": 1,\"data\": [ 49.9,71.5,106.4,129.2,144.0,176.0,135.6,148.5,216.4,194.1,95.6,54.4 ],\"tooltip\": { \"valueSuffix\": \" mm\" } },{ \"name\": \"Sea-Level Pressure\",\"type\": \"spline\",\"yAxis\": 2,\"data\": [ 1016,1016,1015.9,1015.5,1012.3,1009.5,1009.6,1010.2,1013.1,1016.9,1018.2,1016.7 ],\"marker\": { \"enabled\": false },\"dashStyle\": \"shortdot\",\"tooltip\": { \"valueSuffix\": \" mb\" } },{ \"name\": \"Temperature\",\"type\": \"spline\",\"data\": [ 7.0,6.9,9.5,14.5,18.2,21.5,25.2,26.5,23.3,18.3,13.9,9.6 ],\"tooltip\": { \"valueSuffix\": \" °C\" } }] };\n",
689
+ " \n",
690
+ " window.chart_ejbndaqghto = new Highcharts.Chart(options);\n",
691
+ "\n",
692
+ " });\n",
693
+ " </script>\n",
694
+ "\n",
695
+ "<div id=\"ejbndaqghto\"></div>"
696
+ ],
697
+ "text/plain": [
698
+ "\" <script type=\\\"text/javascript\\\">\\n $(function() {\\n\\n var options = { \\\"chart\\\": { \\\"zoomType\\\": \\\"xy\\\",\\\"renderTo\\\": \\\"ejbndaqghto\\\" },\\\"title\\\": { \\\"text\\\": \\\"Average Monthly Weather Data for Tokyo\\\" },\\\"subtitle\\\": { \\\"text\\\": \\\"Source: WorldClimate.com\\\" },\\\"xAxis\\\": [ { \\\"categories\\\": [ \\\"Jan\\\",\\\"Feb\\\",\\\"Mar\\\",\\\"Apr\\\",\\\"May\\\",\\\"Jun\\\",\\\"Jul\\\",\\\"Aug\\\",\\\"Sep\\\",\\\"Oct\\\",\\\"Nov\\\",\\\"Dec\\\" ],\\\"crosshair\\\": true } ],\\\"yAxis\\\": [ { \\\"labels\\\": { \\\"format\\\": \\\"{value}°C\\\",\\\"style\\\": { \\\"color\\\": Highcharts.getOptions().colors[2] } },\\\"title\\\": { \\\"text\\\": \\\"Temperature\\\",\\\"style\\\": { \\\"color\\\": Highcharts.getOptions().colors[2] } },\\\"opposite\\\": true },{ \\\"gridLineWidth\\\": 0,\\\"title\\\": { \\\"text\\\": \\\"Rainfall\\\",\\\"style\\\": { \\\"color\\\": Highcharts.getOptions().colors[0] } },\\\"labels\\\": { \\\"format\\\": \\\"{value} mm\\\",\\\"style\\\": { \\\"color\\\": Highcharts.getOptions().colors[0] } } },{ \\\"gridLineWidth\\\": 0,\\\"title\\\": { \\\"text\\\": \\\"Sea-Level Pressure\\\",\\\"style\\\": { \\\"color\\\": Highcharts.getOptions().colors[1] } },\\\"labels\\\": { \\\"format\\\": \\\"{value} mb\\\",\\\"style\\\": { \\\"color\\\": Highcharts.getOptions().colors[1] } },\\\"opposite\\\": true } ],\\\"tooltip\\\": { \\\"shared\\\": true },\\\"legend\\\": { \\\"layout\\\": \\\"vertical\\\",\\\"align\\\": \\\"left\\\",\\\"x\\\": 80,\\\"verticalAlign\\\": \\\"top\\\",\\\"y\\\": 55,\\\"floating\\\": true,\\\"backgroundColor\\\": (Highcharts.theme && Highcharts.theme.legendBackgroundColor) || '#FFFFFF' },\\\"series\\\": [{ \\\"name\\\": \\\"Rainfall\\\",\\\"type\\\": \\\"column\\\",\\\"yAxis\\\": 1,\\\"data\\\": [ 49.9,71.5,106.4,129.2,144.0,176.0,135.6,148.5,216.4,194.1,95.6,54.4 ],\\\"tooltip\\\": { \\\"valueSuffix\\\": \\\" mm\\\" } },{ \\\"name\\\": \\\"Sea-Level Pressure\\\",\\\"type\\\": \\\"spline\\\",\\\"yAxis\\\": 2,\\\"data\\\": [ 1016,1016,1015.9,1015.5,1012.3,1009.5,1009.6,1010.2,1013.1,1016.9,1018.2,1016.7 ],\\\"marker\\\": { \\\"enabled\\\": false },\\\"dashStyle\\\": \\\"shortdot\\\",\\\"tooltip\\\": { \\\"valueSuffix\\\": \\\" mb\\\" } },{ \\\"name\\\": \\\"Temperature\\\",\\\"type\\\": \\\"spline\\\",\\\"data\\\": [ 7.0,6.9,9.5,14.5,18.2,21.5,25.2,26.5,23.3,18.3,13.9,9.6 ],\\\"tooltip\\\": { \\\"valueSuffix\\\": \\\" °C\\\" } }] };\\n \\n window.chart_ejbndaqghto = new Highcharts.Chart(options);\\n\\n });\\n </script>\\n\\n<div id=\\\"ejbndaqghto\\\"></div>\""
699
+ ]
700
+ },
701
+ "execution_count": 4,
702
+ "metadata": {},
703
+ "output_type": "execute_result"
704
+ }
705
+ ],
706
+ "source": [
707
+ " # combo-multi-axes/\n",
708
+ " opts = {\n",
709
+ " chart: {\n",
710
+ " zoomType: 'xy'\n",
711
+ " },\n",
712
+ " title: {\n",
713
+ " text: 'Average Monthly Weather Data for Tokyo'\n",
714
+ " },\n",
715
+ " subtitle: {\n",
716
+ " text: 'Source: WorldClimate.com'\n",
717
+ " },\n",
718
+ " xAxis: [{\n",
719
+ " categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',\n",
720
+ " 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n",
721
+ " crosshair: true\n",
722
+ " }],\n",
723
+ " yAxis: [{ # Primary yAxis\n",
724
+ " labels: {\n",
725
+ " format: '{value}°C',\n",
726
+ " style: {\n",
727
+ " color: \"Highcharts.getOptions().colors[2]\".js_code\n",
728
+ " }\n",
729
+ " },\n",
730
+ " title: {\n",
731
+ " text: 'Temperature',\n",
732
+ " style: {\n",
733
+ " color: \"Highcharts.getOptions().colors[2]\".js_code\n",
734
+ " }\n",
735
+ " },\n",
736
+ " opposite: true\n",
737
+ "\n",
738
+ " }, { # Secondary yAxis\n",
739
+ " gridLineWidth: 0,\n",
740
+ " title: {\n",
741
+ " text: 'Rainfall',\n",
742
+ " style: {\n",
743
+ " color: \"Highcharts.getOptions().colors[0]\".js_code\n",
744
+ " }\n",
745
+ " },\n",
746
+ " labels: {\n",
747
+ " format: '{value} mm',\n",
748
+ " style: {\n",
749
+ " color: \"Highcharts.getOptions().colors[0]\".js_code\n",
750
+ " }\n",
751
+ " }\n",
752
+ "\n",
753
+ " }, { # Tertiary yAxis\n",
754
+ " gridLineWidth: 0,\n",
755
+ " title: {\n",
756
+ " text: 'Sea-Level Pressure',\n",
757
+ " style: {\n",
758
+ " color: \"Highcharts.getOptions().colors[1]\".js_code\n",
759
+ " }\n",
760
+ " },\n",
761
+ " labels: {\n",
762
+ " format: '{value} mb',\n",
763
+ " style: {\n",
764
+ " color:\" Highcharts.getOptions().colors[1]\".js_code\n",
765
+ " }\n",
766
+ " },\n",
767
+ " opposite: true\n",
768
+ " }],\n",
769
+ " tooltip: {\n",
770
+ " shared: true\n",
771
+ " },\n",
772
+ " legend: {\n",
773
+ " layout: 'vertical',\n",
774
+ " align: 'left',\n",
775
+ " x: 80,\n",
776
+ " verticalAlign: 'top',\n",
777
+ " y: 55,\n",
778
+ " floating: true,\n",
779
+ " backgroundColor: \"(Highcharts.theme && Highcharts.theme.legendBackgroundColor) || '#FFFFFF'\".js_code\n",
780
+ " },\n",
781
+ " }\n",
782
+ "\n",
783
+ " series_dt = [\n",
784
+ " {\n",
785
+ " name: 'Rainfall',\n",
786
+ " type: 'column',\n",
787
+ " yAxis: 1,\n",
788
+ " data: [49.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4],\n",
789
+ " tooltip: {\n",
790
+ " valueSuffix: ' mm'\n",
791
+ " }\n",
792
+ "\n",
793
+ " }, {\n",
794
+ " name: 'Sea-Level Pressure',\n",
795
+ " type: 'spline',\n",
796
+ " yAxis: 2,\n",
797
+ " data: [1016, 1016, 1015.9, 1015.5, 1012.3, 1009.5, 1009.6, 1010.2, 1013.1, 1016.9, 1018.2, 1016.7],\n",
798
+ " marker: {\n",
799
+ " enabled: false\n",
800
+ " },\n",
801
+ " dashStyle: 'shortdot',\n",
802
+ " tooltip: {\n",
803
+ " valueSuffix: ' mb'\n",
804
+ " }\n",
805
+ "\n",
806
+ " }, {\n",
807
+ " name: 'Temperature',\n",
808
+ " type: 'spline',\n",
809
+ " data: [7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6],\n",
810
+ " tooltip: {\n",
811
+ " valueSuffix: ' °C'\n",
812
+ " }\n",
813
+ " }\n",
814
+ " ]\n",
815
+ "\n",
816
+ "comb_multi_axis = Daru::View::Plot.new\n",
817
+ "comb_multi_axis.chart.options = opts;\n",
818
+ "comb_multi_axis.chart.series_data = series_dt\n",
819
+ "comb_multi_axis.show_in_iruby"
820
+ ]
821
+ },
822
+ {
823
+ "cell_type": "code",
824
+ "execution_count": 5,
825
+ "metadata": {
826
+ "collapsed": false
827
+ },
828
+ "outputs": [
829
+ {
830
+ "data": {
831
+ "text/html": [
832
+ " <script type=\"text/javascript\">\n",
833
+ " $(function() {\n",
834
+ "\n",
835
+ " var options = { \"chart\": { \"renderTo\": \"wmkpslcgvhx\" },\"xAxis\": { \"min\": -0.5,\"max\": 5.5 },\"yAxis\": { \"min\": 0 },\"title\": { \"text\": \"Scatter plot with regression line\" },\"series\": [{ \"type\": \"line\",\"name\": \"Regression Line\",\"data\": [ [ 0,1.11 ],[ 5,4.51 ] ],\"marker\": { \"enabled\": false },\"states\": { \"hover\": { \"lineWidth\": 0 } },\"enableMouseTracking\": false },{ \"type\": \"scatter\",\"name\": \"Observations\",\"data\": [ 1,1.5,2.8,3.5,3.9,4.2 ],\"marker\": { \"radius\": 4 } }] };\n",
836
+ " \n",
837
+ " window.chart_wmkpslcgvhx = new Highcharts.Chart(options);\n",
838
+ "\n",
839
+ " });\n",
840
+ " </script>\n",
841
+ "\n",
842
+ "<div id=\"wmkpslcgvhx\"></div>"
843
+ ],
844
+ "text/plain": [
845
+ "\" <script type=\\\"text/javascript\\\">\\n $(function() {\\n\\n var options = { \\\"chart\\\": { \\\"renderTo\\\": \\\"wmkpslcgvhx\\\" },\\\"xAxis\\\": { \\\"min\\\": -0.5,\\\"max\\\": 5.5 },\\\"yAxis\\\": { \\\"min\\\": 0 },\\\"title\\\": { \\\"text\\\": \\\"Scatter plot with regression line\\\" },\\\"series\\\": [{ \\\"type\\\": \\\"line\\\",\\\"name\\\": \\\"Regression Line\\\",\\\"data\\\": [ [ 0,1.11 ],[ 5,4.51 ] ],\\\"marker\\\": { \\\"enabled\\\": false },\\\"states\\\": { \\\"hover\\\": { \\\"lineWidth\\\": 0 } },\\\"enableMouseTracking\\\": false },{ \\\"type\\\": \\\"scatter\\\",\\\"name\\\": \\\"Observations\\\",\\\"data\\\": [ 1,1.5,2.8,3.5,3.9,4.2 ],\\\"marker\\\": { \\\"radius\\\": 4 } }] };\\n \\n window.chart_wmkpslcgvhx = new Highcharts.Chart(options);\\n\\n });\\n </script>\\n\\n<div id=\\\"wmkpslcgvhx\\\"></div>\""
846
+ ]
847
+ },
848
+ "execution_count": 5,
849
+ "metadata": {},
850
+ "output_type": "execute_result"
851
+ }
852
+ ],
853
+ "source": [
854
+ " # combo-regression\n",
855
+ " opts = {\n",
856
+ " chart: {},\n",
857
+ " xAxis: {\n",
858
+ " min: -0.5,\n",
859
+ " max: 5.5\n",
860
+ " },\n",
861
+ " yAxis: {\n",
862
+ " min: 0\n",
863
+ " },\n",
864
+ " title: {\n",
865
+ " text: 'Scatter plot with regression line'\n",
866
+ " },\n",
867
+ " }\n",
868
+ "\n",
869
+ " series_dt = [\n",
870
+ " {\n",
871
+ " type: 'line',\n",
872
+ " name: 'Regression Line',\n",
873
+ " data: [[0, 1.11], [5, 4.51]],\n",
874
+ " marker: {\n",
875
+ " enabled: false\n",
876
+ " },\n",
877
+ " states: {\n",
878
+ " hover: {\n",
879
+ " lineWidth: 0\n",
880
+ " }\n",
881
+ " },\n",
882
+ " enableMouseTracking: false\n",
883
+ " }, {\n",
884
+ " type: 'scatter',\n",
885
+ " name: 'Observations',\n",
886
+ " data: [1, 1.5, 2.8, 3.5, 3.9, 4.2],\n",
887
+ " marker: {\n",
888
+ " radius: 4\n",
889
+ " }\n",
890
+ " }\n",
891
+ " ]\n",
892
+ "\n",
893
+ "\n",
894
+ "comb_regr = Daru::View::Plot.new\n",
895
+ "comb_regr.chart.options = opts;\n",
896
+ "comb_regr.chart.series_data = series_dt\n",
897
+ "comb_regr.show_in_iruby"
898
+ ]
899
+ },
900
+ {
901
+ "cell_type": "code",
902
+ "execution_count": null,
903
+ "metadata": {
904
+ "collapsed": true
905
+ },
906
+ "outputs": [],
907
+ "source": []
908
+ }
909
+ ],
910
+ "metadata": {
911
+ "kernelspec": {
912
+ "display_name": "Ruby 2.3.1",
913
+ "language": "ruby",
914
+ "name": "ruby"
915
+ },
916
+ "language_info": {
917
+ "file_extension": ".rb",
918
+ "mimetype": "application/x-ruby",
919
+ "name": "ruby",
920
+ "version": "2.3.1"
921
+ }
922
+ },
923
+ "nbformat": 4,
924
+ "nbformat_minor": 2
925
+ }