diff --git a/.bmycconfig.json b/.bmycconfig.json index bfefa0be..f164a894 100644 --- a/.bmycconfig.json +++ b/.bmycconfig.json @@ -9,7 +9,7 @@ "library": "@asyncapi/parser", "filePath": "dist/bundle.js" }, - "currentVersion": "1.17.1" + "currentVersion": "1.18.1" }, { "package": "asyncapi", @@ -45,7 +45,7 @@ "library": "swagger-ui", "fileName": "swagger-ui-bundle.min.js" }, - "currentVersion": "4.15.2" + "currentVersion": "4.18.1" }, { "package": "swagger-ui", @@ -57,7 +57,7 @@ "library": "swagger-ui", "fileName": "swagger-ui-standalone-preset.min.js" }, - "currentVersion": "4.15.2" + "currentVersion": "4.18.1" }, { "package": "swagger-ui", @@ -69,7 +69,7 @@ "library": "swagger-ui", "fileName": "swagger-ui.min.css" }, - "currentVersion": "4.15.2" + "currentVersion": "4.18.1" }, { "package": "flexsearch", @@ -153,7 +153,7 @@ "library": "font-awesome", "fileName": "css/all.min.css" }, - "currentVersion": "6.2.0" + "currentVersion": "6.3.0" }, { "package": "fontawesome", @@ -165,7 +165,7 @@ "library": "font-awesome", "fileName": "webfonts/fa-brands-400.ttf" }, - "currentVersion": "6.2.0" + "currentVersion": "6.3.0" }, { "package": "fontawesome", @@ -177,7 +177,7 @@ "library": "font-awesome", "fileName": "webfonts/fa-brands-400.woff2" }, - "currentVersion": "6.2.0" + "currentVersion": "6.3.0" }, { "package": "fontawesome", @@ -189,7 +189,7 @@ "library": "font-awesome", "fileName": "webfonts/fa-regular-400.ttf" }, - "currentVersion": "6.2.0" + "currentVersion": "6.3.0" }, { "package": "fontawesome", @@ -201,7 +201,7 @@ "library": "font-awesome", "fileName": "webfonts/fa-regular-400.woff2" }, - "currentVersion": "6.2.0" + "currentVersion": "6.3.0" }, { "package": "fontawesome", @@ -213,7 +213,7 @@ "library": "font-awesome", "fileName": "webfonts/fa-solid-900.ttf" }, - "currentVersion": "6.2.0" + "currentVersion": "6.3.0" }, { "package": "fontawesome", @@ -225,7 +225,31 @@ "library": "font-awesome", "fileName": "webfonts/fa-solid-900.woff2" }, - "currentVersion": "6.2.0" + "currentVersion": "6.3.0" + }, + { + "package": "fontawesome", + "hold": false, + "name": "static/css/fa-v4compatibility.ttf", + "localPath": "static/css/webfonts/fa-v4compatibility.ttf", + "assetManager": { + "name": "cdnjs", + "library": "font-awesome", + "fileName": "webfonts/fa-v4compatibility.ttf" + }, + "currentVersion": "6.3.0" + }, + { + "package": "fontawesome", + "hold": false, + "name": "static/css/fa-v4compatibility.woff2", + "localPath": "static/css/webfonts/fa-v4compatibility.woff2", + "assetManager": { + "name": "cdnjs", + "library": "font-awesome", + "fileName": "webfonts/fa-v4compatibility.woff2" + }, + "currentVersion": "6.3.0" }, { "package": "highcharts", @@ -237,7 +261,7 @@ "library": "highcharts", "fileName": "highcharts.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -249,7 +273,7 @@ "library": "highcharts", "fileName": "highcharts-3d.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -261,7 +285,7 @@ "library": "highcharts", "fileName": "highcharts-gantt.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -273,7 +297,7 @@ "library": "highcharts", "fileName": "highcharts-more.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -285,7 +309,7 @@ "library": "highcharts", "fileName": "highmaps.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -297,7 +321,7 @@ "library": "highcharts", "fileName": "highstock.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -309,7 +333,7 @@ "library": "highcharts", "fileName": "css/highcharts.min.css" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -321,7 +345,7 @@ "library": "highcharts", "fileName": "indicators/acceleration-bands.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -333,7 +357,7 @@ "library": "highcharts", "fileName": "indicators/accumulation-distribution.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -345,7 +369,7 @@ "library": "highcharts", "fileName": "indicators/ao.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -357,7 +381,7 @@ "library": "highcharts", "fileName": "indicators/apo.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -369,7 +393,7 @@ "library": "highcharts", "fileName": "indicators/aroon-oscillator.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -381,7 +405,7 @@ "library": "highcharts", "fileName": "indicators/aroon.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -393,7 +417,7 @@ "library": "highcharts", "fileName": "indicators/atr.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -405,7 +429,7 @@ "library": "highcharts", "fileName": "indicators/bollinger-bands.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -417,7 +441,7 @@ "library": "highcharts", "fileName": "indicators/cci.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -429,7 +453,7 @@ "library": "highcharts", "fileName": "indicators/chaikin.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -441,7 +465,7 @@ "library": "highcharts", "fileName": "indicators/cmf.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -453,7 +477,7 @@ "library": "highcharts", "fileName": "indicators/cmo.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -465,7 +489,7 @@ "library": "highcharts", "fileName": "indicators/dema.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -477,7 +501,7 @@ "library": "highcharts", "fileName": "indicators/disparity-index.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -489,7 +513,7 @@ "library": "highcharts", "fileName": "indicators/dmi.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -501,7 +525,7 @@ "library": "highcharts", "fileName": "indicators/dpo.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -513,7 +537,7 @@ "library": "highcharts", "fileName": "indicators/ema.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -525,7 +549,7 @@ "library": "highcharts", "fileName": "indicators/ichimoku-kinko-hyo.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -537,7 +561,7 @@ "library": "highcharts", "fileName": "indicators/indicators-all.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -549,7 +573,7 @@ "library": "highcharts", "fileName": "indicators/indicators.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -561,7 +585,7 @@ "library": "highcharts", "fileName": "indicators/keltner-channels.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -573,7 +597,7 @@ "library": "highcharts", "fileName": "indicators/klinger.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -585,7 +609,7 @@ "library": "highcharts", "fileName": "indicators/macd.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -597,7 +621,7 @@ "library": "highcharts", "fileName": "indicators/mfi.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -609,7 +633,7 @@ "library": "highcharts", "fileName": "indicators/momentum.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -621,7 +645,7 @@ "library": "highcharts", "fileName": "indicators/natr.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -633,7 +657,7 @@ "library": "highcharts", "fileName": "indicators/obv.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -645,7 +669,7 @@ "library": "highcharts", "fileName": "indicators/pivot-points.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -657,7 +681,7 @@ "library": "highcharts", "fileName": "indicators/ppo.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -669,7 +693,7 @@ "library": "highcharts", "fileName": "indicators/price-channel.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -681,7 +705,7 @@ "library": "highcharts", "fileName": "indicators/price-envelopes.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -693,7 +717,7 @@ "library": "highcharts", "fileName": "indicators/psar.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -705,7 +729,7 @@ "library": "highcharts", "fileName": "indicators/regressions.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -717,7 +741,7 @@ "library": "highcharts", "fileName": "indicators/roc.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -729,7 +753,7 @@ "library": "highcharts", "fileName": "indicators/rsi.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -741,7 +765,7 @@ "library": "highcharts", "fileName": "indicators/slow-stochastic.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -753,7 +777,7 @@ "library": "highcharts", "fileName": "indicators/stochastic.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -765,7 +789,7 @@ "library": "highcharts", "fileName": "indicators/supertrend.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -777,7 +801,7 @@ "library": "highcharts", "fileName": "indicators/tema.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -789,7 +813,7 @@ "library": "highcharts", "fileName": "indicators/trendline.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -801,7 +825,7 @@ "library": "highcharts", "fileName": "indicators/trix.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -813,7 +837,7 @@ "library": "highcharts", "fileName": "indicators/volume-by-price.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -825,7 +849,7 @@ "library": "highcharts", "fileName": "indicators/vwap.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -837,7 +861,7 @@ "library": "highcharts", "fileName": "indicators/williams-r.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -849,7 +873,7 @@ "library": "highcharts", "fileName": "indicators/wma.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -861,7 +885,7 @@ "library": "highcharts", "fileName": "indicators/zigzag.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -873,7 +897,7 @@ "library": "highcharts", "fileName": "lib/canvg.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -885,7 +909,7 @@ "library": "highcharts", "fileName": "lib/jspdf.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -897,7 +921,7 @@ "library": "highcharts", "fileName": "lib/svg2pdf.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -909,7 +933,7 @@ "library": "highcharts", "fileName": "modules/accessibility.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -921,7 +945,7 @@ "library": "highcharts", "fileName": "modules/annotations-advanced.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -933,7 +957,7 @@ "library": "highcharts", "fileName": "modules/annotations.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -945,7 +969,7 @@ "library": "highcharts", "fileName": "modules/arc-diagram.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -957,7 +981,7 @@ "library": "highcharts", "fileName": "modules/arrow-symbols.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -969,7 +993,7 @@ "library": "highcharts", "fileName": "modules/boost-canvas.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -981,7 +1005,7 @@ "library": "highcharts", "fileName": "modules/boost.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -993,7 +1017,7 @@ "library": "highcharts", "fileName": "modules/broken-axis.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1005,7 +1029,7 @@ "library": "highcharts", "fileName": "modules/bullet.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1017,7 +1041,7 @@ "library": "highcharts", "fileName": "modules/coloraxis.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1029,7 +1053,7 @@ "library": "highcharts", "fileName": "modules/current-date-indicator.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1041,7 +1065,7 @@ "library": "highcharts", "fileName": "modules/cylinder.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1053,7 +1077,7 @@ "library": "highcharts", "fileName": "modules/data.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1065,7 +1089,7 @@ "library": "highcharts", "fileName": "modules/datagrouping.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1077,7 +1101,7 @@ "library": "highcharts", "fileName": "modules/debugger.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1089,7 +1113,7 @@ "library": "highcharts", "fileName": "modules/dependency-wheel.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1101,7 +1125,7 @@ "library": "highcharts", "fileName": "modules/dotplot.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1113,7 +1137,7 @@ "library": "highcharts", "fileName": "modules/drag-panes.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1125,7 +1149,7 @@ "library": "highcharts", "fileName": "modules/draggable-points.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1137,7 +1161,7 @@ "library": "highcharts", "fileName": "modules/drilldown.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1149,7 +1173,7 @@ "library": "highcharts", "fileName": "modules/dumbbell.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1161,7 +1185,7 @@ "library": "highcharts", "fileName": "modules/export-data.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1173,7 +1197,7 @@ "library": "highcharts", "fileName": "modules/exporting.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1185,7 +1209,7 @@ "library": "highcharts", "fileName": "modules/full-screen.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1197,7 +1221,7 @@ "library": "highcharts", "fileName": "modules/funnel.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1209,7 +1233,7 @@ "library": "highcharts", "fileName": "modules/funnel3d.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1221,7 +1245,7 @@ "library": "highcharts", "fileName": "modules/gantt.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1233,7 +1257,7 @@ "library": "highcharts", "fileName": "modules/grid-axis.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1245,7 +1269,7 @@ "library": "highcharts", "fileName": "modules/heatmap.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1257,7 +1281,7 @@ "library": "highcharts", "fileName": "modules/heikinashi.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1269,7 +1293,7 @@ "library": "highcharts", "fileName": "modules/histogram-bellcurve.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1281,7 +1305,7 @@ "library": "highcharts", "fileName": "modules/hollowcandlestick.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1293,7 +1317,7 @@ "library": "highcharts", "fileName": "modules/item-series.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1305,7 +1329,7 @@ "library": "highcharts", "fileName": "modules/lollipop.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1317,7 +1341,7 @@ "library": "highcharts", "fileName": "modules/map.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1329,7 +1353,7 @@ "library": "highcharts", "fileName": "modules/marker-clusters.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1341,7 +1365,7 @@ "library": "highcharts", "fileName": "modules/networkgraph.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1353,7 +1377,7 @@ "library": "highcharts", "fileName": "modules/no-data-to-display.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1365,7 +1389,7 @@ "library": "highcharts", "fileName": "modules/offline-exporting.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1377,7 +1401,7 @@ "library": "highcharts", "fileName": "modules/oldie-polyfills.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1389,7 +1413,7 @@ "library": "highcharts", "fileName": "modules/oldie.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1401,7 +1425,7 @@ "library": "highcharts", "fileName": "modules/organization.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1413,7 +1437,7 @@ "library": "highcharts", "fileName": "modules/overlapping-datalabels.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1425,7 +1449,7 @@ "library": "highcharts", "fileName": "modules/parallel-coordinates.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1437,7 +1461,7 @@ "library": "highcharts", "fileName": "modules/pareto.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1449,7 +1473,7 @@ "library": "highcharts", "fileName": "modules/pathfinder.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1461,7 +1485,7 @@ "library": "highcharts", "fileName": "modules/pattern-fill.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1473,7 +1497,7 @@ "library": "highcharts", "fileName": "modules/price-indicator.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1485,7 +1509,7 @@ "library": "highcharts", "fileName": "modules/pyramid3d.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1497,7 +1521,7 @@ "library": "highcharts", "fileName": "modules/sankey.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1509,7 +1533,7 @@ "library": "highcharts", "fileName": "modules/series-label.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1521,7 +1545,7 @@ "library": "highcharts", "fileName": "modules/series-on-point.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1533,7 +1557,7 @@ "library": "highcharts", "fileName": "modules/solid-gauge.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1545,7 +1569,7 @@ "library": "highcharts", "fileName": "modules/sonification.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1557,7 +1581,7 @@ "library": "highcharts", "fileName": "modules/static-scale.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1569,7 +1593,7 @@ "library": "highcharts", "fileName": "modules/stock-tools.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1581,7 +1605,7 @@ "library": "highcharts", "fileName": "modules/stock.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1593,7 +1617,7 @@ "library": "highcharts", "fileName": "modules/streamgraph.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1605,7 +1629,7 @@ "library": "highcharts", "fileName": "modules/sunburst.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1617,7 +1641,7 @@ "library": "highcharts", "fileName": "modules/tilemap.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1629,7 +1653,7 @@ "library": "highcharts", "fileName": "modules/timeline.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1641,7 +1665,7 @@ "library": "highcharts", "fileName": "modules/treegrid.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1653,7 +1677,7 @@ "library": "highcharts", "fileName": "modules/treemap.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1665,7 +1689,7 @@ "library": "highcharts", "fileName": "modules/variable-pie.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1677,7 +1701,7 @@ "library": "highcharts", "fileName": "modules/variwide.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1689,7 +1713,7 @@ "library": "highcharts", "fileName": "modules/vector.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1701,7 +1725,7 @@ "library": "highcharts", "fileName": "modules/venn.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1713,7 +1737,7 @@ "library": "highcharts", "fileName": "modules/windbarb.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1725,7 +1749,7 @@ "library": "highcharts", "fileName": "modules/wordcloud.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1737,7 +1761,7 @@ "library": "highcharts", "fileName": "modules/xrange.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1749,7 +1773,7 @@ "library": "highcharts", "fileName": "themes/avocado.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1761,7 +1785,7 @@ "library": "highcharts", "fileName": "themes/brand-dark.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1773,7 +1797,7 @@ "library": "highcharts", "fileName": "themes/brand-light.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1785,7 +1809,7 @@ "library": "highcharts", "fileName": "themes/dark-blue.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1797,7 +1821,7 @@ "library": "highcharts", "fileName": "themes/dark-green.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1809,7 +1833,7 @@ "library": "highcharts", "fileName": "themes/dark-unica.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1821,7 +1845,7 @@ "library": "highcharts", "fileName": "themes/gray.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1833,7 +1857,7 @@ "library": "highcharts", "fileName": "themes/grid-light.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1845,7 +1869,7 @@ "library": "highcharts", "fileName": "themes/grid.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1857,7 +1881,7 @@ "library": "highcharts", "fileName": "themes/high-contrast-dark.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1869,7 +1893,7 @@ "library": "highcharts", "fileName": "themes/high-contrast-light.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1881,7 +1905,7 @@ "library": "highcharts", "fileName": "themes/sand-signika.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1893,7 +1917,7 @@ "library": "highcharts", "fileName": "themes/skies.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1905,7 +1929,7 @@ "library": "highcharts", "fileName": "themes/sunset.min.js" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1917,7 +1941,7 @@ "library": "highcharts", "fileName": "css/annotations/popup.min.css" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1929,7 +1953,7 @@ "library": "highcharts", "fileName": "css/stocktools/gui.min.css" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1941,7 +1965,7 @@ "library": "highcharts", "fileName": "css/themes/dark-unica.min.css" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1953,7 +1977,7 @@ "library": "highcharts", "fileName": "css/themes/grid-light.min.css" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" }, { "package": "highcharts", @@ -1965,6 +1989,6 @@ "library": "highcharts", "fileName": "css/themes/sand-signika.min.css" }, - "currentVersion": "10.2.1" + "currentVersion": "10.3.3" } -] +] \ No newline at end of file diff --git a/assets/css/external/fontawesome.all.min.css b/assets/css/external/fontawesome.all.min.css index 5dddbd50..df7439bc 100644 --- a/assets/css/external/fontawesome.all.min.css +++ b/assets/css/external/fontawesome.all.min.css @@ -1,6 +1,9 @@ /*! - * Font Awesome Free 6.2.0 by @fontawesome - https://fontawesome.com + * Font Awesome Free 6.3.0 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) - * Copyright 2022 Fonticons, Inc. + * Copyright 2023 Fonticons, Inc. */ -.fa{font-family:var(--fa-style-family,"Font Awesome 6 Free");font-weight:var(--fa-style,900)}.fa,.fa-brands,.fa-classic,.fa-regular,.fa-sharp,.fa-solid,.fab,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:var(--fa-display,inline-block);font-style:normal;font-variant:normal;line-height:1;text-rendering:auto}.fa-classic,.fa-regular,.fa-solid,.far,.fas{font-family:"Font Awesome 6 Free"}.fa-brands,.fab{font-family:"Font Awesome 6 Brands"}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-2xs{font-size:.625em;line-height:.1em;vertical-align:.225em}.fa-xs{font-size:.75em;line-height:.08333em;vertical-align:.125em}.fa-sm{font-size:.875em;line-height:.07143em;vertical-align:.05357em}.fa-lg{font-size:1.25em;line-height:.05em;vertical-align:-.075em}.fa-xl{font-size:1.5em;line-height:.04167em;vertical-align:-.125em}.fa-2xl{font-size:2em;line-height:.03125em;vertical-align:-.1875em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:var(--fa-li-margin,2.5em);padding-left:0}.fa-ul>li{position:relative}.fa-li{left:calc(var(--fa-li-width, 2em)*-1);position:absolute;text-align:center;width:var(--fa-li-width,2em);line-height:inherit}.fa-border{border-radius:var(--fa-border-radius,.1em);border:var(--fa-border-width,.08em) var(--fa-border-style,solid) var(--fa-border-color,#eee);padding:var(--fa-border-padding,.2em .25em .15em)}.fa-pull-left{float:left;margin-right:var(--fa-pull-margin,.3em)}.fa-pull-right{float:right;margin-left:var(--fa-pull-margin,.3em)}.fa-beat{-webkit-animation-name:fa-beat;animation-name:fa-beat;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,ease-in-out);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-bounce{-webkit-animation-name:fa-bounce;animation-name:fa-bounce;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.28,.84,.42,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.28,.84,.42,1))}.fa-fade{-webkit-animation-name:fa-fade;animation-name:fa-fade;-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-beat-fade,.fa-fade{-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s)}.fa-beat-fade{-webkit-animation-name:fa-beat-fade;animation-name:fa-beat-fade;-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-flip{-webkit-animation-name:fa-flip;animation-name:fa-flip;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,ease-in-out);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-shake{-webkit-animation-name:fa-shake;animation-name:fa-shake;-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,linear);animation-timing-function:var(--fa-animation-timing,linear)}.fa-shake,.fa-spin{-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal)}.fa-spin{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-duration:var(--fa-animation-duration,2s);animation-duration:var(--fa-animation-duration,2s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,linear);animation-timing-function:var(--fa-animation-timing,linear)}.fa-spin-reverse{--fa-animation-direction:reverse}.fa-pulse,.fa-spin-pulse{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,steps(8));animation-timing-function:var(--fa-animation-timing,steps(8))}@media (prefers-reduced-motion:reduce){.fa-beat,.fa-beat-fade,.fa-bounce,.fa-fade,.fa-flip,.fa-pulse,.fa-shake,.fa-spin,.fa-spin-pulse{-webkit-animation-delay:-1ms;animation-delay:-1ms;-webkit-animation-duration:1ms;animation-duration:1ms;-webkit-animation-iteration-count:1;animation-iteration-count:1;transition-delay:0s;transition-duration:0s}}@-webkit-keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale,1.25));transform:scale(var(--fa-beat-scale,1.25))}}@keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale,1.25));transform:scale(var(--fa-beat-scale,1.25))}}@-webkit-keyframes fa-bounce{0%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em));transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0)}57%{-webkit-transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em));transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em))}64%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}to{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}}@keyframes fa-bounce{0%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em));transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0)}57%{-webkit-transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em));transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em))}64%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}to{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}}@-webkit-keyframes fa-fade{50%{opacity:var(--fa-fade-opacity,.4)}}@keyframes fa-fade{50%{opacity:var(--fa-fade-opacity,.4)}}@-webkit-keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity,.4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale,1.125));transform:scale(var(--fa-beat-fade-scale,1.125))}}@keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity,.4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale,1.125));transform:scale(var(--fa-beat-fade-scale,1.125))}}@-webkit-keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg));transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg))}}@keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg));transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg))}}@-webkit-keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}8%,24%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}40%,to{-webkit-transform:rotate(0deg);transform:rotate(0deg)}}@keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}8%,24%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}40%,to{-webkit-transform:rotate(0deg);transform:rotate(0deg)}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}.fa-rotate-by{-webkit-transform:rotate(var(--fa-rotate-angle,none));transform:rotate(var(--fa-rotate-angle,none))}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%;z-index:var(--fa-stack-z-index,auto)}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:var(--fa-inverse,#fff)}.fa-0:before{content:"\30"}.fa-1:before{content:"\31"}.fa-2:before{content:"\32"}.fa-3:before{content:"\33"}.fa-4:before{content:"\34"}.fa-5:before{content:"\35"}.fa-6:before{content:"\36"}.fa-7:before{content:"\37"}.fa-8:before{content:"\38"}.fa-9:before{content:"\39"}.fa-fill-drip:before{content:"\f576"}.fa-arrows-to-circle:before{content:"\e4bd"}.fa-chevron-circle-right:before,.fa-circle-chevron-right:before{content:"\f138"}.fa-at:before{content:"\40"}.fa-trash-alt:before,.fa-trash-can:before{content:"\f2ed"}.fa-text-height:before{content:"\f034"}.fa-user-times:before,.fa-user-xmark:before{content:"\f235"}.fa-stethoscope:before{content:"\f0f1"}.fa-comment-alt:before,.fa-message:before{content:"\f27a"}.fa-info:before{content:"\f129"}.fa-compress-alt:before,.fa-down-left-and-up-right-to-center:before{content:"\f422"}.fa-explosion:before{content:"\e4e9"}.fa-file-alt:before,.fa-file-lines:before,.fa-file-text:before{content:"\f15c"}.fa-wave-square:before{content:"\f83e"}.fa-ring:before{content:"\f70b"}.fa-building-un:before{content:"\e4d9"}.fa-dice-three:before{content:"\f527"}.fa-calendar-alt:before,.fa-calendar-days:before{content:"\f073"}.fa-anchor-circle-check:before{content:"\e4aa"}.fa-building-circle-arrow-right:before{content:"\e4d1"}.fa-volleyball-ball:before,.fa-volleyball:before{content:"\f45f"}.fa-arrows-up-to-line:before{content:"\e4c2"}.fa-sort-desc:before,.fa-sort-down:before{content:"\f0dd"}.fa-circle-minus:before,.fa-minus-circle:before{content:"\f056"}.fa-door-open:before{content:"\f52b"}.fa-right-from-bracket:before,.fa-sign-out-alt:before{content:"\f2f5"}.fa-atom:before{content:"\f5d2"}.fa-soap:before{content:"\e06e"}.fa-heart-music-camera-bolt:before,.fa-icons:before{content:"\f86d"}.fa-microphone-alt-slash:before,.fa-microphone-lines-slash:before{content:"\f539"}.fa-bridge-circle-check:before{content:"\e4c9"}.fa-pump-medical:before{content:"\e06a"}.fa-fingerprint:before{content:"\f577"}.fa-hand-point-right:before{content:"\f0a4"}.fa-magnifying-glass-location:before,.fa-search-location:before{content:"\f689"}.fa-forward-step:before,.fa-step-forward:before{content:"\f051"}.fa-face-smile-beam:before,.fa-smile-beam:before{content:"\f5b8"}.fa-flag-checkered:before{content:"\f11e"}.fa-football-ball:before,.fa-football:before{content:"\f44e"}.fa-school-circle-exclamation:before{content:"\e56c"}.fa-crop:before{content:"\f125"}.fa-angle-double-down:before,.fa-angles-down:before{content:"\f103"}.fa-users-rectangle:before{content:"\e594"}.fa-people-roof:before{content:"\e537"}.fa-people-line:before{content:"\e534"}.fa-beer-mug-empty:before,.fa-beer:before{content:"\f0fc"}.fa-diagram-predecessor:before{content:"\e477"}.fa-arrow-up-long:before,.fa-long-arrow-up:before{content:"\f176"}.fa-burn:before,.fa-fire-flame-simple:before{content:"\f46a"}.fa-male:before,.fa-person:before{content:"\f183"}.fa-laptop:before{content:"\f109"}.fa-file-csv:before{content:"\f6dd"}.fa-menorah:before{content:"\f676"}.fa-truck-plane:before{content:"\e58f"}.fa-record-vinyl:before{content:"\f8d9"}.fa-face-grin-stars:before,.fa-grin-stars:before{content:"\f587"}.fa-bong:before{content:"\f55c"}.fa-pastafarianism:before,.fa-spaghetti-monster-flying:before{content:"\f67b"}.fa-arrow-down-up-across-line:before{content:"\e4af"}.fa-spoon:before,.fa-utensil-spoon:before{content:"\f2e5"}.fa-jar-wheat:before{content:"\e517"}.fa-envelopes-bulk:before,.fa-mail-bulk:before{content:"\f674"}.fa-file-circle-exclamation:before{content:"\e4eb"}.fa-circle-h:before,.fa-hospital-symbol:before{content:"\f47e"}.fa-pager:before{content:"\f815"}.fa-address-book:before,.fa-contact-book:before{content:"\f2b9"}.fa-strikethrough:before{content:"\f0cc"}.fa-k:before{content:"\4b"}.fa-landmark-flag:before{content:"\e51c"}.fa-pencil-alt:before,.fa-pencil:before{content:"\f303"}.fa-backward:before{content:"\f04a"}.fa-caret-right:before{content:"\f0da"}.fa-comments:before{content:"\f086"}.fa-file-clipboard:before,.fa-paste:before{content:"\f0ea"}.fa-code-pull-request:before{content:"\e13c"}.fa-clipboard-list:before{content:"\f46d"}.fa-truck-loading:before,.fa-truck-ramp-box:before{content:"\f4de"}.fa-user-check:before{content:"\f4fc"}.fa-vial-virus:before{content:"\e597"}.fa-sheet-plastic:before{content:"\e571"}.fa-blog:before{content:"\f781"}.fa-user-ninja:before{content:"\f504"}.fa-person-arrow-up-from-line:before{content:"\e539"}.fa-scroll-torah:before,.fa-torah:before{content:"\f6a0"}.fa-broom-ball:before,.fa-quidditch-broom-ball:before,.fa-quidditch:before{content:"\f458"}.fa-toggle-off:before{content:"\f204"}.fa-archive:before,.fa-box-archive:before{content:"\f187"}.fa-person-drowning:before{content:"\e545"}.fa-arrow-down-9-1:before,.fa-sort-numeric-desc:before,.fa-sort-numeric-down-alt:before{content:"\f886"}.fa-face-grin-tongue-squint:before,.fa-grin-tongue-squint:before{content:"\f58a"}.fa-spray-can:before{content:"\f5bd"}.fa-truck-monster:before{content:"\f63b"}.fa-w:before{content:"\57"}.fa-earth-africa:before,.fa-globe-africa:before{content:"\f57c"}.fa-rainbow:before{content:"\f75b"}.fa-circle-notch:before{content:"\f1ce"}.fa-tablet-alt:before,.fa-tablet-screen-button:before{content:"\f3fa"}.fa-paw:before{content:"\f1b0"}.fa-cloud:before{content:"\f0c2"}.fa-trowel-bricks:before{content:"\e58a"}.fa-face-flushed:before,.fa-flushed:before{content:"\f579"}.fa-hospital-user:before{content:"\f80d"}.fa-tent-arrow-left-right:before{content:"\e57f"}.fa-gavel:before,.fa-legal:before{content:"\f0e3"}.fa-binoculars:before{content:"\f1e5"}.fa-microphone-slash:before{content:"\f131"}.fa-box-tissue:before{content:"\e05b"}.fa-motorcycle:before{content:"\f21c"}.fa-bell-concierge:before,.fa-concierge-bell:before{content:"\f562"}.fa-pen-ruler:before,.fa-pencil-ruler:before{content:"\f5ae"}.fa-people-arrows-left-right:before,.fa-people-arrows:before{content:"\e068"}.fa-mars-and-venus-burst:before{content:"\e523"}.fa-caret-square-right:before,.fa-square-caret-right:before{content:"\f152"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-sun-plant-wilt:before{content:"\e57a"}.fa-toilets-portable:before{content:"\e584"}.fa-hockey-puck:before{content:"\f453"}.fa-table:before{content:"\f0ce"}.fa-magnifying-glass-arrow-right:before{content:"\e521"}.fa-digital-tachograph:before,.fa-tachograph-digital:before{content:"\f566"}.fa-users-slash:before{content:"\e073"}.fa-clover:before{content:"\e139"}.fa-mail-reply:before,.fa-reply:before{content:"\f3e5"}.fa-star-and-crescent:before{content:"\f699"}.fa-house-fire:before{content:"\e50c"}.fa-minus-square:before,.fa-square-minus:before{content:"\f146"}.fa-helicopter:before{content:"\f533"}.fa-compass:before{content:"\f14e"}.fa-caret-square-down:before,.fa-square-caret-down:before{content:"\f150"}.fa-file-circle-question:before{content:"\e4ef"}.fa-laptop-code:before{content:"\f5fc"}.fa-swatchbook:before{content:"\f5c3"}.fa-prescription-bottle:before{content:"\f485"}.fa-bars:before,.fa-navicon:before{content:"\f0c9"}.fa-people-group:before{content:"\e533"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-heart-broken:before,.fa-heart-crack:before{content:"\f7a9"}.fa-external-link-square-alt:before,.fa-square-up-right:before{content:"\f360"}.fa-face-kiss-beam:before,.fa-kiss-beam:before{content:"\f597"}.fa-film:before{content:"\f008"}.fa-ruler-horizontal:before{content:"\f547"}.fa-people-robbery:before{content:"\e536"}.fa-lightbulb:before{content:"\f0eb"}.fa-caret-left:before{content:"\f0d9"}.fa-circle-exclamation:before,.fa-exclamation-circle:before{content:"\f06a"}.fa-school-circle-xmark:before{content:"\e56d"}.fa-arrow-right-from-bracket:before,.fa-sign-out:before{content:"\f08b"}.fa-chevron-circle-down:before,.fa-circle-chevron-down:before{content:"\f13a"}.fa-unlock-alt:before,.fa-unlock-keyhole:before{content:"\f13e"}.fa-cloud-showers-heavy:before{content:"\f740"}.fa-headphones-alt:before,.fa-headphones-simple:before{content:"\f58f"}.fa-sitemap:before{content:"\f0e8"}.fa-circle-dollar-to-slot:before,.fa-donate:before{content:"\f4b9"}.fa-memory:before{content:"\f538"}.fa-road-spikes:before{content:"\e568"}.fa-fire-burner:before{content:"\e4f1"}.fa-flag:before{content:"\f024"}.fa-hanukiah:before{content:"\f6e6"}.fa-feather:before{content:"\f52d"}.fa-volume-down:before,.fa-volume-low:before{content:"\f027"}.fa-comment-slash:before{content:"\f4b3"}.fa-cloud-sun-rain:before{content:"\f743"}.fa-compress:before{content:"\f066"}.fa-wheat-alt:before,.fa-wheat-awn:before{content:"\e2cd"}.fa-ankh:before{content:"\f644"}.fa-hands-holding-child:before{content:"\e4fa"}.fa-asterisk:before{content:"\2a"}.fa-check-square:before,.fa-square-check:before{content:"\f14a"}.fa-peseta-sign:before{content:"\e221"}.fa-header:before,.fa-heading:before{content:"\f1dc"}.fa-ghost:before{content:"\f6e2"}.fa-list-squares:before,.fa-list:before{content:"\f03a"}.fa-phone-square-alt:before,.fa-square-phone-flip:before{content:"\f87b"}.fa-cart-plus:before{content:"\f217"}.fa-gamepad:before{content:"\f11b"}.fa-circle-dot:before,.fa-dot-circle:before{content:"\f192"}.fa-dizzy:before,.fa-face-dizzy:before{content:"\f567"}.fa-egg:before{content:"\f7fb"}.fa-house-medical-circle-xmark:before{content:"\e513"}.fa-campground:before{content:"\f6bb"}.fa-folder-plus:before{content:"\f65e"}.fa-futbol-ball:before,.fa-futbol:before,.fa-soccer-ball:before{content:"\f1e3"}.fa-paint-brush:before,.fa-paintbrush:before{content:"\f1fc"}.fa-lock:before{content:"\f023"}.fa-gas-pump:before{content:"\f52f"}.fa-hot-tub-person:before,.fa-hot-tub:before{content:"\f593"}.fa-map-location:before,.fa-map-marked:before{content:"\f59f"}.fa-house-flood-water:before{content:"\e50e"}.fa-tree:before{content:"\f1bb"}.fa-bridge-lock:before{content:"\e4cc"}.fa-sack-dollar:before{content:"\f81d"}.fa-edit:before,.fa-pen-to-square:before{content:"\f044"}.fa-car-side:before{content:"\f5e4"}.fa-share-alt:before,.fa-share-nodes:before{content:"\f1e0"}.fa-heart-circle-minus:before{content:"\e4ff"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-microscope:before{content:"\f610"}.fa-sink:before{content:"\e06d"}.fa-bag-shopping:before,.fa-shopping-bag:before{content:"\f290"}.fa-arrow-down-z-a:before,.fa-sort-alpha-desc:before,.fa-sort-alpha-down-alt:before{content:"\f881"}.fa-mitten:before{content:"\f7b5"}.fa-person-rays:before{content:"\e54d"}.fa-users:before{content:"\f0c0"}.fa-eye-slash:before{content:"\f070"}.fa-flask-vial:before{content:"\e4f3"}.fa-hand-paper:before,.fa-hand:before{content:"\f256"}.fa-om:before{content:"\f679"}.fa-worm:before{content:"\e599"}.fa-house-circle-xmark:before{content:"\e50b"}.fa-plug:before{content:"\f1e6"}.fa-chevron-up:before{content:"\f077"}.fa-hand-spock:before{content:"\f259"}.fa-stopwatch:before{content:"\f2f2"}.fa-face-kiss:before,.fa-kiss:before{content:"\f596"}.fa-bridge-circle-xmark:before{content:"\e4cb"}.fa-face-grin-tongue:before,.fa-grin-tongue:before{content:"\f589"}.fa-chess-bishop:before{content:"\f43a"}.fa-face-grin-wink:before,.fa-grin-wink:before{content:"\f58c"}.fa-deaf:before,.fa-deafness:before,.fa-ear-deaf:before,.fa-hard-of-hearing:before{content:"\f2a4"}.fa-road-circle-check:before{content:"\e564"}.fa-dice-five:before{content:"\f523"}.fa-rss-square:before,.fa-square-rss:before{content:"\f143"}.fa-land-mine-on:before{content:"\e51b"}.fa-i-cursor:before{content:"\f246"}.fa-stamp:before{content:"\f5bf"}.fa-stairs:before{content:"\e289"}.fa-i:before{content:"\49"}.fa-hryvnia-sign:before,.fa-hryvnia:before{content:"\f6f2"}.fa-pills:before{content:"\f484"}.fa-face-grin-wide:before,.fa-grin-alt:before{content:"\f581"}.fa-tooth:before{content:"\f5c9"}.fa-v:before{content:"\56"}.fa-bicycle:before{content:"\f206"}.fa-rod-asclepius:before,.fa-rod-snake:before,.fa-staff-aesculapius:before,.fa-staff-snake:before{content:"\e579"}.fa-head-side-cough-slash:before{content:"\e062"}.fa-ambulance:before,.fa-truck-medical:before{content:"\f0f9"}.fa-wheat-awn-circle-exclamation:before{content:"\e598"}.fa-snowman:before{content:"\f7d0"}.fa-mortar-pestle:before{content:"\f5a7"}.fa-road-barrier:before{content:"\e562"}.fa-school:before{content:"\f549"}.fa-igloo:before{content:"\f7ae"}.fa-joint:before{content:"\f595"}.fa-angle-right:before{content:"\f105"}.fa-horse:before{content:"\f6f0"}.fa-q:before{content:"\51"}.fa-g:before{content:"\47"}.fa-notes-medical:before{content:"\f481"}.fa-temperature-2:before,.fa-temperature-half:before,.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\f2c9"}.fa-dong-sign:before{content:"\e169"}.fa-capsules:before{content:"\f46b"}.fa-poo-bolt:before,.fa-poo-storm:before{content:"\f75a"}.fa-face-frown-open:before,.fa-frown-open:before{content:"\f57a"}.fa-hand-point-up:before{content:"\f0a6"}.fa-money-bill:before{content:"\f0d6"}.fa-bookmark:before{content:"\f02e"}.fa-align-justify:before{content:"\f039"}.fa-umbrella-beach:before{content:"\f5ca"}.fa-helmet-un:before{content:"\e503"}.fa-bullseye:before{content:"\f140"}.fa-bacon:before{content:"\f7e5"}.fa-hand-point-down:before{content:"\f0a7"}.fa-arrow-up-from-bracket:before{content:"\e09a"}.fa-folder-blank:before,.fa-folder:before{content:"\f07b"}.fa-file-medical-alt:before,.fa-file-waveform:before{content:"\f478"}.fa-radiation:before{content:"\f7b9"}.fa-chart-simple:before{content:"\e473"}.fa-mars-stroke:before{content:"\f229"}.fa-vial:before{content:"\f492"}.fa-dashboard:before,.fa-gauge-med:before,.fa-gauge:before,.fa-tachometer-alt-average:before{content:"\f624"}.fa-magic-wand-sparkles:before,.fa-wand-magic-sparkles:before{content:"\e2ca"}.fa-e:before{content:"\45"}.fa-pen-alt:before,.fa-pen-clip:before{content:"\f305"}.fa-bridge-circle-exclamation:before{content:"\e4ca"}.fa-user:before{content:"\f007"}.fa-school-circle-check:before{content:"\e56b"}.fa-dumpster:before{content:"\f793"}.fa-shuttle-van:before,.fa-van-shuttle:before{content:"\f5b6"}.fa-building-user:before{content:"\e4da"}.fa-caret-square-left:before,.fa-square-caret-left:before{content:"\f191"}.fa-highlighter:before{content:"\f591"}.fa-key:before{content:"\f084"}.fa-bullhorn:before{content:"\f0a1"}.fa-globe:before{content:"\f0ac"}.fa-synagogue:before{content:"\f69b"}.fa-person-half-dress:before{content:"\e548"}.fa-road-bridge:before{content:"\e563"}.fa-location-arrow:before{content:"\f124"}.fa-c:before{content:"\43"}.fa-tablet-button:before{content:"\f10a"}.fa-building-lock:before{content:"\e4d6"}.fa-pizza-slice:before{content:"\f818"}.fa-money-bill-wave:before{content:"\f53a"}.fa-area-chart:before,.fa-chart-area:before{content:"\f1fe"}.fa-house-flag:before{content:"\e50d"}.fa-person-circle-minus:before{content:"\e540"}.fa-ban:before,.fa-cancel:before{content:"\f05e"}.fa-camera-rotate:before{content:"\e0d8"}.fa-air-freshener:before,.fa-spray-can-sparkles:before{content:"\f5d0"}.fa-star:before{content:"\f005"}.fa-repeat:before{content:"\f363"}.fa-cross:before{content:"\f654"}.fa-box:before{content:"\f466"}.fa-venus-mars:before{content:"\f228"}.fa-arrow-pointer:before,.fa-mouse-pointer:before{content:"\f245"}.fa-expand-arrows-alt:before,.fa-maximize:before{content:"\f31e"}.fa-charging-station:before{content:"\f5e7"}.fa-shapes:before,.fa-triangle-circle-square:before{content:"\f61f"}.fa-random:before,.fa-shuffle:before{content:"\f074"}.fa-person-running:before,.fa-running:before{content:"\f70c"}.fa-mobile-retro:before{content:"\e527"}.fa-grip-lines-vertical:before{content:"\f7a5"}.fa-spider:before{content:"\f717"}.fa-hands-bound:before{content:"\e4f9"}.fa-file-invoice-dollar:before{content:"\f571"}.fa-plane-circle-exclamation:before{content:"\e556"}.fa-x-ray:before{content:"\f497"}.fa-spell-check:before{content:"\f891"}.fa-slash:before{content:"\f715"}.fa-computer-mouse:before,.fa-mouse:before{content:"\f8cc"}.fa-arrow-right-to-bracket:before,.fa-sign-in:before{content:"\f090"}.fa-shop-slash:before,.fa-store-alt-slash:before{content:"\e070"}.fa-server:before{content:"\f233"}.fa-virus-covid-slash:before{content:"\e4a9"}.fa-shop-lock:before{content:"\e4a5"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-blender-phone:before{content:"\f6b6"}.fa-building-wheat:before{content:"\e4db"}.fa-person-breastfeeding:before{content:"\e53a"}.fa-right-to-bracket:before,.fa-sign-in-alt:before{content:"\f2f6"}.fa-venus:before{content:"\f221"}.fa-passport:before{content:"\f5ab"}.fa-heart-pulse:before,.fa-heartbeat:before{content:"\f21e"}.fa-people-carry-box:before,.fa-people-carry:before{content:"\f4ce"}.fa-temperature-high:before{content:"\f769"}.fa-microchip:before{content:"\f2db"}.fa-crown:before{content:"\f521"}.fa-weight-hanging:before{content:"\f5cd"}.fa-xmarks-lines:before{content:"\e59a"}.fa-file-prescription:before{content:"\f572"}.fa-weight-scale:before,.fa-weight:before{content:"\f496"}.fa-user-friends:before,.fa-user-group:before{content:"\f500"}.fa-arrow-up-a-z:before,.fa-sort-alpha-up:before{content:"\f15e"}.fa-chess-knight:before{content:"\f441"}.fa-face-laugh-squint:before,.fa-laugh-squint:before{content:"\f59b"}.fa-wheelchair:before{content:"\f193"}.fa-arrow-circle-up:before,.fa-circle-arrow-up:before{content:"\f0aa"}.fa-toggle-on:before{content:"\f205"}.fa-person-walking:before,.fa-walking:before{content:"\f554"}.fa-l:before{content:"\4c"}.fa-fire:before{content:"\f06d"}.fa-bed-pulse:before,.fa-procedures:before{content:"\f487"}.fa-shuttle-space:before,.fa-space-shuttle:before{content:"\f197"}.fa-face-laugh:before,.fa-laugh:before{content:"\f599"}.fa-folder-open:before{content:"\f07c"}.fa-heart-circle-plus:before{content:"\e500"}.fa-code-fork:before{content:"\e13b"}.fa-city:before{content:"\f64f"}.fa-microphone-alt:before,.fa-microphone-lines:before{content:"\f3c9"}.fa-pepper-hot:before{content:"\f816"}.fa-unlock:before{content:"\f09c"}.fa-colon-sign:before{content:"\e140"}.fa-headset:before{content:"\f590"}.fa-store-slash:before{content:"\e071"}.fa-road-circle-xmark:before{content:"\e566"}.fa-user-minus:before{content:"\f503"}.fa-mars-stroke-up:before,.fa-mars-stroke-v:before{content:"\f22a"}.fa-champagne-glasses:before,.fa-glass-cheers:before{content:"\f79f"}.fa-clipboard:before{content:"\f328"}.fa-house-circle-exclamation:before{content:"\e50a"}.fa-file-arrow-up:before,.fa-file-upload:before{content:"\f574"}.fa-wifi-3:before,.fa-wifi-strong:before,.fa-wifi:before{content:"\f1eb"}.fa-bath:before,.fa-bathtub:before{content:"\f2cd"}.fa-underline:before{content:"\f0cd"}.fa-user-edit:before,.fa-user-pen:before{content:"\f4ff"}.fa-signature:before{content:"\f5b7"}.fa-stroopwafel:before{content:"\f551"}.fa-bold:before{content:"\f032"}.fa-anchor-lock:before{content:"\e4ad"}.fa-building-ngo:before{content:"\e4d7"}.fa-manat-sign:before{content:"\e1d5"}.fa-not-equal:before{content:"\f53e"}.fa-border-style:before,.fa-border-top-left:before{content:"\f853"}.fa-map-location-dot:before,.fa-map-marked-alt:before{content:"\f5a0"}.fa-jedi:before{content:"\f669"}.fa-poll:before,.fa-square-poll-vertical:before{content:"\f681"}.fa-mug-hot:before{content:"\f7b6"}.fa-battery-car:before,.fa-car-battery:before{content:"\f5df"}.fa-gift:before{content:"\f06b"}.fa-dice-two:before{content:"\f528"}.fa-chess-queen:before{content:"\f445"}.fa-glasses:before{content:"\f530"}.fa-chess-board:before{content:"\f43c"}.fa-building-circle-check:before{content:"\e4d2"}.fa-person-chalkboard:before{content:"\e53d"}.fa-mars-stroke-h:before,.fa-mars-stroke-right:before{content:"\f22b"}.fa-hand-back-fist:before,.fa-hand-rock:before{content:"\f255"}.fa-caret-square-up:before,.fa-square-caret-up:before{content:"\f151"}.fa-cloud-showers-water:before{content:"\e4e4"}.fa-bar-chart:before,.fa-chart-bar:before{content:"\f080"}.fa-hands-bubbles:before,.fa-hands-wash:before{content:"\e05e"}.fa-less-than-equal:before{content:"\f537"}.fa-train:before{content:"\f238"}.fa-eye-low-vision:before,.fa-low-vision:before{content:"\f2a8"}.fa-crow:before{content:"\f520"}.fa-sailboat:before{content:"\e445"}.fa-window-restore:before{content:"\f2d2"}.fa-plus-square:before,.fa-square-plus:before{content:"\f0fe"}.fa-torii-gate:before{content:"\f6a1"}.fa-frog:before{content:"\f52e"}.fa-bucket:before{content:"\e4cf"}.fa-image:before{content:"\f03e"}.fa-microphone:before{content:"\f130"}.fa-cow:before{content:"\f6c8"}.fa-caret-up:before{content:"\f0d8"}.fa-screwdriver:before{content:"\f54a"}.fa-folder-closed:before{content:"\e185"}.fa-house-tsunami:before{content:"\e515"}.fa-square-nfi:before{content:"\e576"}.fa-arrow-up-from-ground-water:before{content:"\e4b5"}.fa-glass-martini-alt:before,.fa-martini-glass:before{content:"\f57b"}.fa-rotate-back:before,.fa-rotate-backward:before,.fa-rotate-left:before,.fa-undo-alt:before{content:"\f2ea"}.fa-columns:before,.fa-table-columns:before{content:"\f0db"}.fa-lemon:before{content:"\f094"}.fa-head-side-mask:before{content:"\e063"}.fa-handshake:before{content:"\f2b5"}.fa-gem:before{content:"\f3a5"}.fa-dolly-box:before,.fa-dolly:before{content:"\f472"}.fa-smoking:before{content:"\f48d"}.fa-compress-arrows-alt:before,.fa-minimize:before{content:"\f78c"}.fa-monument:before{content:"\f5a6"}.fa-snowplow:before{content:"\f7d2"}.fa-angle-double-right:before,.fa-angles-right:before{content:"\f101"}.fa-cannabis:before{content:"\f55f"}.fa-circle-play:before,.fa-play-circle:before{content:"\f144"}.fa-tablets:before{content:"\f490"}.fa-ethernet:before{content:"\f796"}.fa-eur:before,.fa-euro-sign:before,.fa-euro:before{content:"\f153"}.fa-chair:before{content:"\f6c0"}.fa-check-circle:before,.fa-circle-check:before{content:"\f058"}.fa-circle-stop:before,.fa-stop-circle:before{content:"\f28d"}.fa-compass-drafting:before,.fa-drafting-compass:before{content:"\f568"}.fa-plate-wheat:before{content:"\e55a"}.fa-icicles:before{content:"\f7ad"}.fa-person-shelter:before{content:"\e54f"}.fa-neuter:before{content:"\f22c"}.fa-id-badge:before{content:"\f2c1"}.fa-marker:before{content:"\f5a1"}.fa-face-laugh-beam:before,.fa-laugh-beam:before{content:"\f59a"}.fa-helicopter-symbol:before{content:"\e502"}.fa-universal-access:before{content:"\f29a"}.fa-chevron-circle-up:before,.fa-circle-chevron-up:before{content:"\f139"}.fa-lari-sign:before{content:"\e1c8"}.fa-volcano:before{content:"\f770"}.fa-person-walking-dashed-line-arrow-right:before{content:"\e553"}.fa-gbp:before,.fa-pound-sign:before,.fa-sterling-sign:before{content:"\f154"}.fa-viruses:before{content:"\e076"}.fa-square-person-confined:before{content:"\e577"}.fa-user-tie:before{content:"\f508"}.fa-arrow-down-long:before,.fa-long-arrow-down:before{content:"\f175"}.fa-tent-arrow-down-to-line:before{content:"\e57e"}.fa-certificate:before{content:"\f0a3"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-suitcase:before{content:"\f0f2"}.fa-person-skating:before,.fa-skating:before{content:"\f7c5"}.fa-filter-circle-dollar:before,.fa-funnel-dollar:before{content:"\f662"}.fa-camera-retro:before{content:"\f083"}.fa-arrow-circle-down:before,.fa-circle-arrow-down:before{content:"\f0ab"}.fa-arrow-right-to-file:before,.fa-file-import:before{content:"\f56f"}.fa-external-link-square:before,.fa-square-arrow-up-right:before{content:"\f14c"}.fa-box-open:before{content:"\f49e"}.fa-scroll:before{content:"\f70e"}.fa-spa:before{content:"\f5bb"}.fa-location-pin-lock:before{content:"\e51f"}.fa-pause:before{content:"\f04c"}.fa-hill-avalanche:before{content:"\e507"}.fa-temperature-0:before,.fa-temperature-empty:before,.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\f2cb"}.fa-bomb:before{content:"\f1e2"}.fa-registered:before{content:"\f25d"}.fa-address-card:before,.fa-contact-card:before,.fa-vcard:before{content:"\f2bb"}.fa-balance-scale-right:before,.fa-scale-unbalanced-flip:before{content:"\f516"}.fa-subscript:before{content:"\f12c"}.fa-diamond-turn-right:before,.fa-directions:before{content:"\f5eb"}.fa-burst:before{content:"\e4dc"}.fa-house-laptop:before,.fa-laptop-house:before{content:"\e066"}.fa-face-tired:before,.fa-tired:before{content:"\f5c8"}.fa-money-bills:before{content:"\e1f3"}.fa-smog:before{content:"\f75f"}.fa-crutch:before{content:"\f7f7"}.fa-cloud-arrow-up:before,.fa-cloud-upload-alt:before,.fa-cloud-upload:before{content:"\f0ee"}.fa-palette:before{content:"\f53f"}.fa-arrows-turn-right:before{content:"\e4c0"}.fa-vest:before{content:"\e085"}.fa-ferry:before{content:"\e4ea"}.fa-arrows-down-to-people:before{content:"\e4b9"}.fa-seedling:before,.fa-sprout:before{content:"\f4d8"}.fa-arrows-alt-h:before,.fa-left-right:before{content:"\f337"}.fa-boxes-packing:before{content:"\e4c7"}.fa-arrow-circle-left:before,.fa-circle-arrow-left:before{content:"\f0a8"}.fa-group-arrows-rotate:before{content:"\e4f6"}.fa-bowl-food:before{content:"\e4c6"}.fa-candy-cane:before{content:"\f786"}.fa-arrow-down-wide-short:before,.fa-sort-amount-asc:before,.fa-sort-amount-down:before{content:"\f160"}.fa-cloud-bolt:before,.fa-thunderstorm:before{content:"\f76c"}.fa-remove-format:before,.fa-text-slash:before{content:"\f87d"}.fa-face-smile-wink:before,.fa-smile-wink:before{content:"\f4da"}.fa-file-word:before{content:"\f1c2"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-arrows-h:before,.fa-arrows-left-right:before{content:"\f07e"}.fa-house-lock:before{content:"\e510"}.fa-cloud-arrow-down:before,.fa-cloud-download-alt:before,.fa-cloud-download:before{content:"\f0ed"}.fa-children:before{content:"\e4e1"}.fa-blackboard:before,.fa-chalkboard:before{content:"\f51b"}.fa-user-alt-slash:before,.fa-user-large-slash:before{content:"\f4fa"}.fa-envelope-open:before{content:"\f2b6"}.fa-handshake-alt-slash:before,.fa-handshake-simple-slash:before{content:"\e05f"}.fa-mattress-pillow:before{content:"\e525"}.fa-guarani-sign:before{content:"\e19a"}.fa-arrows-rotate:before,.fa-refresh:before,.fa-sync:before{content:"\f021"}.fa-fire-extinguisher:before{content:"\f134"}.fa-cruzeiro-sign:before{content:"\e152"}.fa-greater-than-equal:before{content:"\f532"}.fa-shield-alt:before,.fa-shield-halved:before{content:"\f3ed"}.fa-atlas:before,.fa-book-atlas:before{content:"\f558"}.fa-virus:before{content:"\e074"}.fa-envelope-circle-check:before{content:"\e4e8"}.fa-layer-group:before{content:"\f5fd"}.fa-arrows-to-dot:before{content:"\e4be"}.fa-archway:before{content:"\f557"}.fa-heart-circle-check:before{content:"\e4fd"}.fa-house-chimney-crack:before,.fa-house-damage:before{content:"\f6f1"}.fa-file-archive:before,.fa-file-zipper:before{content:"\f1c6"}.fa-square:before{content:"\f0c8"}.fa-glass-martini:before,.fa-martini-glass-empty:before{content:"\f000"}.fa-couch:before{content:"\f4b8"}.fa-cedi-sign:before{content:"\e0df"}.fa-italic:before{content:"\f033"}.fa-church:before{content:"\f51d"}.fa-comments-dollar:before{content:"\f653"}.fa-democrat:before{content:"\f747"}.fa-z:before{content:"\5a"}.fa-person-skiing:before,.fa-skiing:before{content:"\f7c9"}.fa-road-lock:before{content:"\e567"}.fa-a:before{content:"\41"}.fa-temperature-arrow-down:before,.fa-temperature-down:before{content:"\e03f"}.fa-feather-alt:before,.fa-feather-pointed:before{content:"\f56b"}.fa-p:before{content:"\50"}.fa-snowflake:before{content:"\f2dc"}.fa-newspaper:before{content:"\f1ea"}.fa-ad:before,.fa-rectangle-ad:before{content:"\f641"}.fa-arrow-circle-right:before,.fa-circle-arrow-right:before{content:"\f0a9"}.fa-filter-circle-xmark:before{content:"\e17b"}.fa-locust:before{content:"\e520"}.fa-sort:before,.fa-unsorted:before{content:"\f0dc"}.fa-list-1-2:before,.fa-list-numeric:before,.fa-list-ol:before{content:"\f0cb"}.fa-person-dress-burst:before{content:"\e544"}.fa-money-check-alt:before,.fa-money-check-dollar:before{content:"\f53d"}.fa-vector-square:before{content:"\f5cb"}.fa-bread-slice:before{content:"\f7ec"}.fa-language:before{content:"\f1ab"}.fa-face-kiss-wink-heart:before,.fa-kiss-wink-heart:before{content:"\f598"}.fa-filter:before{content:"\f0b0"}.fa-question:before{content:"\3f"}.fa-file-signature:before{content:"\f573"}.fa-arrows-alt:before,.fa-up-down-left-right:before{content:"\f0b2"}.fa-house-chimney-user:before{content:"\e065"}.fa-hand-holding-heart:before{content:"\f4be"}.fa-puzzle-piece:before{content:"\f12e"}.fa-money-check:before{content:"\f53c"}.fa-star-half-alt:before,.fa-star-half-stroke:before{content:"\f5c0"}.fa-code:before{content:"\f121"}.fa-glass-whiskey:before,.fa-whiskey-glass:before{content:"\f7a0"}.fa-building-circle-exclamation:before{content:"\e4d3"}.fa-magnifying-glass-chart:before{content:"\e522"}.fa-arrow-up-right-from-square:before,.fa-external-link:before{content:"\f08e"}.fa-cubes-stacked:before{content:"\e4e6"}.fa-krw:before,.fa-won-sign:before,.fa-won:before{content:"\f159"}.fa-virus-covid:before{content:"\e4a8"}.fa-austral-sign:before{content:"\e0a9"}.fa-f:before{content:"\46"}.fa-leaf:before{content:"\f06c"}.fa-road:before{content:"\f018"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-person-circle-plus:before{content:"\e541"}.fa-chart-pie:before,.fa-pie-chart:before{content:"\f200"}.fa-bolt-lightning:before{content:"\e0b7"}.fa-sack-xmark:before{content:"\e56a"}.fa-file-excel:before{content:"\f1c3"}.fa-file-contract:before{content:"\f56c"}.fa-fish-fins:before{content:"\e4f2"}.fa-building-flag:before{content:"\e4d5"}.fa-face-grin-beam:before,.fa-grin-beam:before{content:"\f582"}.fa-object-ungroup:before{content:"\f248"}.fa-poop:before{content:"\f619"}.fa-location-pin:before,.fa-map-marker:before{content:"\f041"}.fa-kaaba:before{content:"\f66b"}.fa-toilet-paper:before{content:"\f71e"}.fa-hard-hat:before,.fa-hat-hard:before,.fa-helmet-safety:before{content:"\f807"}.fa-eject:before{content:"\f052"}.fa-arrow-alt-circle-right:before,.fa-circle-right:before{content:"\f35a"}.fa-plane-circle-check:before{content:"\e555"}.fa-face-rolling-eyes:before,.fa-meh-rolling-eyes:before{content:"\f5a5"}.fa-object-group:before{content:"\f247"}.fa-chart-line:before,.fa-line-chart:before{content:"\f201"}.fa-mask-ventilator:before{content:"\e524"}.fa-arrow-right:before{content:"\f061"}.fa-map-signs:before,.fa-signs-post:before{content:"\f277"}.fa-cash-register:before{content:"\f788"}.fa-person-circle-question:before{content:"\e542"}.fa-h:before{content:"\48"}.fa-tarp:before{content:"\e57b"}.fa-screwdriver-wrench:before,.fa-tools:before{content:"\f7d9"}.fa-arrows-to-eye:before{content:"\e4bf"}.fa-plug-circle-bolt:before{content:"\e55b"}.fa-heart:before{content:"\f004"}.fa-mars-and-venus:before{content:"\f224"}.fa-home-user:before,.fa-house-user:before{content:"\e1b0"}.fa-dumpster-fire:before{content:"\f794"}.fa-house-crack:before{content:"\e3b1"}.fa-cocktail:before,.fa-martini-glass-citrus:before{content:"\f561"}.fa-face-surprise:before,.fa-surprise:before{content:"\f5c2"}.fa-bottle-water:before{content:"\e4c5"}.fa-circle-pause:before,.fa-pause-circle:before{content:"\f28b"}.fa-toilet-paper-slash:before{content:"\e072"}.fa-apple-alt:before,.fa-apple-whole:before{content:"\f5d1"}.fa-kitchen-set:before{content:"\e51a"}.fa-r:before{content:"\52"}.fa-temperature-1:before,.fa-temperature-quarter:before,.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\f2ca"}.fa-cube:before{content:"\f1b2"}.fa-bitcoin-sign:before{content:"\e0b4"}.fa-shield-dog:before{content:"\e573"}.fa-solar-panel:before{content:"\f5ba"}.fa-lock-open:before{content:"\f3c1"}.fa-elevator:before{content:"\e16d"}.fa-money-bill-transfer:before{content:"\e528"}.fa-money-bill-trend-up:before{content:"\e529"}.fa-house-flood-water-circle-arrow-right:before{content:"\e50f"}.fa-poll-h:before,.fa-square-poll-horizontal:before{content:"\f682"}.fa-circle:before{content:"\f111"}.fa-backward-fast:before,.fa-fast-backward:before{content:"\f049"}.fa-recycle:before{content:"\f1b8"}.fa-user-astronaut:before{content:"\f4fb"}.fa-plane-slash:before{content:"\e069"}.fa-trademark:before{content:"\f25c"}.fa-basketball-ball:before,.fa-basketball:before{content:"\f434"}.fa-satellite-dish:before{content:"\f7c0"}.fa-arrow-alt-circle-up:before,.fa-circle-up:before{content:"\f35b"}.fa-mobile-alt:before,.fa-mobile-screen-button:before{content:"\f3cd"}.fa-volume-high:before,.fa-volume-up:before{content:"\f028"}.fa-users-rays:before{content:"\e593"}.fa-wallet:before{content:"\f555"}.fa-clipboard-check:before{content:"\f46c"}.fa-file-audio:before{content:"\f1c7"}.fa-burger:before,.fa-hamburger:before{content:"\f805"}.fa-wrench:before{content:"\f0ad"}.fa-bugs:before{content:"\e4d0"}.fa-rupee-sign:before,.fa-rupee:before{content:"\f156"}.fa-file-image:before{content:"\f1c5"}.fa-circle-question:before,.fa-question-circle:before{content:"\f059"}.fa-plane-departure:before{content:"\f5b0"}.fa-handshake-slash:before{content:"\e060"}.fa-book-bookmark:before{content:"\e0bb"}.fa-code-branch:before{content:"\f126"}.fa-hat-cowboy:before{content:"\f8c0"}.fa-bridge:before{content:"\e4c8"}.fa-phone-alt:before,.fa-phone-flip:before{content:"\f879"}.fa-truck-front:before{content:"\e2b7"}.fa-cat:before{content:"\f6be"}.fa-anchor-circle-exclamation:before{content:"\e4ab"}.fa-truck-field:before{content:"\e58d"}.fa-route:before{content:"\f4d7"}.fa-clipboard-question:before{content:"\e4e3"}.fa-panorama:before{content:"\e209"}.fa-comment-medical:before{content:"\f7f5"}.fa-teeth-open:before{content:"\f62f"}.fa-file-circle-minus:before{content:"\e4ed"}.fa-tags:before{content:"\f02c"}.fa-wine-glass:before{content:"\f4e3"}.fa-fast-forward:before,.fa-forward-fast:before{content:"\f050"}.fa-face-meh-blank:before,.fa-meh-blank:before{content:"\f5a4"}.fa-parking:before,.fa-square-parking:before{content:"\f540"}.fa-house-signal:before{content:"\e012"}.fa-bars-progress:before,.fa-tasks-alt:before{content:"\f828"}.fa-faucet-drip:before{content:"\e006"}.fa-cart-flatbed:before,.fa-dolly-flatbed:before{content:"\f474"}.fa-ban-smoking:before,.fa-smoking-ban:before{content:"\f54d"}.fa-terminal:before{content:"\f120"}.fa-mobile-button:before{content:"\f10b"}.fa-house-medical-flag:before{content:"\e514"}.fa-basket-shopping:before,.fa-shopping-basket:before{content:"\f291"}.fa-tape:before{content:"\f4db"}.fa-bus-alt:before,.fa-bus-simple:before{content:"\f55e"}.fa-eye:before{content:"\f06e"}.fa-face-sad-cry:before,.fa-sad-cry:before{content:"\f5b3"}.fa-audio-description:before{content:"\f29e"}.fa-person-military-to-person:before{content:"\e54c"}.fa-file-shield:before{content:"\e4f0"}.fa-user-slash:before{content:"\f506"}.fa-pen:before{content:"\f304"}.fa-tower-observation:before{content:"\e586"}.fa-file-code:before{content:"\f1c9"}.fa-signal-5:before,.fa-signal-perfect:before,.fa-signal:before{content:"\f012"}.fa-bus:before{content:"\f207"}.fa-heart-circle-xmark:before{content:"\e501"}.fa-home-lg:before,.fa-house-chimney:before{content:"\e3af"}.fa-window-maximize:before{content:"\f2d0"}.fa-face-frown:before,.fa-frown:before{content:"\f119"}.fa-prescription:before{content:"\f5b1"}.fa-shop:before,.fa-store-alt:before{content:"\f54f"}.fa-floppy-disk:before,.fa-save:before{content:"\f0c7"}.fa-vihara:before{content:"\f6a7"}.fa-balance-scale-left:before,.fa-scale-unbalanced:before{content:"\f515"}.fa-sort-asc:before,.fa-sort-up:before{content:"\f0de"}.fa-comment-dots:before,.fa-commenting:before{content:"\f4ad"}.fa-plant-wilt:before{content:"\e5aa"}.fa-diamond:before{content:"\f219"}.fa-face-grin-squint:before,.fa-grin-squint:before{content:"\f585"}.fa-hand-holding-dollar:before,.fa-hand-holding-usd:before{content:"\f4c0"}.fa-bacterium:before{content:"\e05a"}.fa-hand-pointer:before{content:"\f25a"}.fa-drum-steelpan:before{content:"\f56a"}.fa-hand-scissors:before{content:"\f257"}.fa-hands-praying:before,.fa-praying-hands:before{content:"\f684"}.fa-arrow-right-rotate:before,.fa-arrow-rotate-forward:before,.fa-arrow-rotate-right:before,.fa-redo:before{content:"\f01e"}.fa-biohazard:before{content:"\f780"}.fa-location-crosshairs:before,.fa-location:before{content:"\f601"}.fa-mars-double:before{content:"\f227"}.fa-child-dress:before{content:"\e59c"}.fa-users-between-lines:before{content:"\e591"}.fa-lungs-virus:before{content:"\e067"}.fa-face-grin-tears:before,.fa-grin-tears:before{content:"\f588"}.fa-phone:before{content:"\f095"}.fa-calendar-times:before,.fa-calendar-xmark:before{content:"\f273"}.fa-child-reaching:before{content:"\e59d"}.fa-head-side-virus:before{content:"\e064"}.fa-user-cog:before,.fa-user-gear:before{content:"\f4fe"}.fa-arrow-up-1-9:before,.fa-sort-numeric-up:before{content:"\f163"}.fa-door-closed:before{content:"\f52a"}.fa-shield-virus:before{content:"\e06c"}.fa-dice-six:before{content:"\f526"}.fa-mosquito-net:before{content:"\e52c"}.fa-bridge-water:before{content:"\e4ce"}.fa-person-booth:before{content:"\f756"}.fa-text-width:before{content:"\f035"}.fa-hat-wizard:before{content:"\f6e8"}.fa-pen-fancy:before{content:"\f5ac"}.fa-digging:before,.fa-person-digging:before{content:"\f85e"}.fa-trash:before{content:"\f1f8"}.fa-gauge-simple-med:before,.fa-gauge-simple:before,.fa-tachometer-average:before{content:"\f629"}.fa-book-medical:before{content:"\f7e6"}.fa-poo:before{content:"\f2fe"}.fa-quote-right-alt:before,.fa-quote-right:before{content:"\f10e"}.fa-shirt:before,.fa-t-shirt:before,.fa-tshirt:before{content:"\f553"}.fa-cubes:before{content:"\f1b3"}.fa-divide:before{content:"\f529"}.fa-tenge-sign:before,.fa-tenge:before{content:"\f7d7"}.fa-headphones:before{content:"\f025"}.fa-hands-holding:before{content:"\f4c2"}.fa-hands-clapping:before{content:"\e1a8"}.fa-republican:before{content:"\f75e"}.fa-arrow-left:before{content:"\f060"}.fa-person-circle-xmark:before{content:"\e543"}.fa-ruler:before{content:"\f545"}.fa-align-left:before{content:"\f036"}.fa-dice-d6:before{content:"\f6d1"}.fa-restroom:before{content:"\f7bd"}.fa-j:before{content:"\4a"}.fa-users-viewfinder:before{content:"\e595"}.fa-file-video:before{content:"\f1c8"}.fa-external-link-alt:before,.fa-up-right-from-square:before{content:"\f35d"}.fa-table-cells:before,.fa-th:before{content:"\f00a"}.fa-file-pdf:before{content:"\f1c1"}.fa-bible:before,.fa-book-bible:before{content:"\f647"}.fa-o:before{content:"\4f"}.fa-medkit:before,.fa-suitcase-medical:before{content:"\f0fa"}.fa-user-secret:before{content:"\f21b"}.fa-otter:before{content:"\f700"}.fa-female:before,.fa-person-dress:before{content:"\f182"}.fa-comment-dollar:before{content:"\f651"}.fa-briefcase-clock:before,.fa-business-time:before{content:"\f64a"}.fa-table-cells-large:before,.fa-th-large:before{content:"\f009"}.fa-book-tanakh:before,.fa-tanakh:before{content:"\f827"}.fa-phone-volume:before,.fa-volume-control-phone:before{content:"\f2a0"}.fa-hat-cowboy-side:before{content:"\f8c1"}.fa-clipboard-user:before{content:"\f7f3"}.fa-child:before{content:"\f1ae"}.fa-lira-sign:before{content:"\f195"}.fa-satellite:before{content:"\f7bf"}.fa-plane-lock:before{content:"\e558"}.fa-tag:before{content:"\f02b"}.fa-comment:before{content:"\f075"}.fa-birthday-cake:before,.fa-cake-candles:before,.fa-cake:before{content:"\f1fd"}.fa-envelope:before{content:"\f0e0"}.fa-angle-double-up:before,.fa-angles-up:before{content:"\f102"}.fa-paperclip:before{content:"\f0c6"}.fa-arrow-right-to-city:before{content:"\e4b3"}.fa-ribbon:before{content:"\f4d6"}.fa-lungs:before{content:"\f604"}.fa-arrow-up-9-1:before,.fa-sort-numeric-up-alt:before{content:"\f887"}.fa-litecoin-sign:before{content:"\e1d3"}.fa-border-none:before{content:"\f850"}.fa-circle-nodes:before{content:"\e4e2"}.fa-parachute-box:before{content:"\f4cd"}.fa-indent:before{content:"\f03c"}.fa-truck-field-un:before{content:"\e58e"}.fa-hourglass-empty:before,.fa-hourglass:before{content:"\f254"}.fa-mountain:before{content:"\f6fc"}.fa-user-doctor:before,.fa-user-md:before{content:"\f0f0"}.fa-circle-info:before,.fa-info-circle:before{content:"\f05a"}.fa-cloud-meatball:before{content:"\f73b"}.fa-camera-alt:before,.fa-camera:before{content:"\f030"}.fa-square-virus:before{content:"\e578"}.fa-meteor:before{content:"\f753"}.fa-car-on:before{content:"\e4dd"}.fa-sleigh:before{content:"\f7cc"}.fa-arrow-down-1-9:before,.fa-sort-numeric-asc:before,.fa-sort-numeric-down:before{content:"\f162"}.fa-hand-holding-droplet:before,.fa-hand-holding-water:before{content:"\f4c1"}.fa-water:before{content:"\f773"}.fa-calendar-check:before{content:"\f274"}.fa-braille:before{content:"\f2a1"}.fa-prescription-bottle-alt:before,.fa-prescription-bottle-medical:before{content:"\f486"}.fa-landmark:before{content:"\f66f"}.fa-truck:before{content:"\f0d1"}.fa-crosshairs:before{content:"\f05b"}.fa-person-cane:before{content:"\e53c"}.fa-tent:before{content:"\e57d"}.fa-vest-patches:before{content:"\e086"}.fa-check-double:before{content:"\f560"}.fa-arrow-down-a-z:before,.fa-sort-alpha-asc:before,.fa-sort-alpha-down:before{content:"\f15d"}.fa-money-bill-wheat:before{content:"\e52a"}.fa-cookie:before{content:"\f563"}.fa-arrow-left-rotate:before,.fa-arrow-rotate-back:before,.fa-arrow-rotate-backward:before,.fa-arrow-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-hard-drive:before,.fa-hdd:before{content:"\f0a0"}.fa-face-grin-squint-tears:before,.fa-grin-squint-tears:before{content:"\f586"}.fa-dumbbell:before{content:"\f44b"}.fa-list-alt:before,.fa-rectangle-list:before{content:"\f022"}.fa-tarp-droplet:before{content:"\e57c"}.fa-house-medical-circle-check:before{content:"\e511"}.fa-person-skiing-nordic:before,.fa-skiing-nordic:before{content:"\f7ca"}.fa-calendar-plus:before{content:"\f271"}.fa-plane-arrival:before{content:"\f5af"}.fa-arrow-alt-circle-left:before,.fa-circle-left:before{content:"\f359"}.fa-subway:before,.fa-train-subway:before{content:"\f239"}.fa-chart-gantt:before{content:"\e0e4"}.fa-indian-rupee-sign:before,.fa-indian-rupee:before,.fa-inr:before{content:"\e1bc"}.fa-crop-alt:before,.fa-crop-simple:before{content:"\f565"}.fa-money-bill-1:before,.fa-money-bill-alt:before{content:"\f3d1"}.fa-left-long:before,.fa-long-arrow-alt-left:before{content:"\f30a"}.fa-dna:before{content:"\f471"}.fa-virus-slash:before{content:"\e075"}.fa-minus:before,.fa-subtract:before{content:"\f068"}.fa-child-rifle:before{content:"\e4e0"}.fa-chess:before{content:"\f439"}.fa-arrow-left-long:before,.fa-long-arrow-left:before{content:"\f177"}.fa-plug-circle-check:before{content:"\e55c"}.fa-street-view:before{content:"\f21d"}.fa-franc-sign:before{content:"\e18f"}.fa-volume-off:before{content:"\f026"}.fa-american-sign-language-interpreting:before,.fa-asl-interpreting:before,.fa-hands-american-sign-language-interpreting:before,.fa-hands-asl-interpreting:before{content:"\f2a3"}.fa-cog:before,.fa-gear:before{content:"\f013"}.fa-droplet-slash:before,.fa-tint-slash:before{content:"\f5c7"}.fa-mosque:before{content:"\f678"}.fa-mosquito:before{content:"\e52b"}.fa-star-of-david:before{content:"\f69a"}.fa-person-military-rifle:before{content:"\e54b"}.fa-cart-shopping:before,.fa-shopping-cart:before{content:"\f07a"}.fa-vials:before{content:"\f493"}.fa-plug-circle-plus:before{content:"\e55f"}.fa-place-of-worship:before{content:"\f67f"}.fa-grip-vertical:before{content:"\f58e"}.fa-arrow-turn-up:before,.fa-level-up:before{content:"\f148"}.fa-u:before{content:"\55"}.fa-square-root-alt:before,.fa-square-root-variable:before{content:"\f698"}.fa-clock-four:before,.fa-clock:before{content:"\f017"}.fa-backward-step:before,.fa-step-backward:before{content:"\f048"}.fa-pallet:before{content:"\f482"}.fa-faucet:before{content:"\e005"}.fa-baseball-bat-ball:before{content:"\f432"}.fa-s:before{content:"\53"}.fa-timeline:before{content:"\e29c"}.fa-keyboard:before{content:"\f11c"}.fa-caret-down:before{content:"\f0d7"}.fa-clinic-medical:before,.fa-house-chimney-medical:before{content:"\f7f2"}.fa-temperature-3:before,.fa-temperature-three-quarters:before,.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-mobile-android-alt:before,.fa-mobile-screen:before{content:"\f3cf"}.fa-plane-up:before{content:"\e22d"}.fa-piggy-bank:before{content:"\f4d3"}.fa-battery-3:before,.fa-battery-half:before{content:"\f242"}.fa-mountain-city:before{content:"\e52e"}.fa-coins:before{content:"\f51e"}.fa-khanda:before{content:"\f66d"}.fa-sliders-h:before,.fa-sliders:before{content:"\f1de"}.fa-folder-tree:before{content:"\f802"}.fa-network-wired:before{content:"\f6ff"}.fa-map-pin:before{content:"\f276"}.fa-hamsa:before{content:"\f665"}.fa-cent-sign:before{content:"\e3f5"}.fa-flask:before{content:"\f0c3"}.fa-person-pregnant:before{content:"\e31e"}.fa-wand-sparkles:before{content:"\f72b"}.fa-ellipsis-v:before,.fa-ellipsis-vertical:before{content:"\f142"}.fa-ticket:before{content:"\f145"}.fa-power-off:before{content:"\f011"}.fa-long-arrow-alt-right:before,.fa-right-long:before{content:"\f30b"}.fa-flag-usa:before{content:"\f74d"}.fa-laptop-file:before{content:"\e51d"}.fa-teletype:before,.fa-tty:before{content:"\f1e4"}.fa-diagram-next:before{content:"\e476"}.fa-person-rifle:before{content:"\e54e"}.fa-house-medical-circle-exclamation:before{content:"\e512"}.fa-closed-captioning:before{content:"\f20a"}.fa-hiking:before,.fa-person-hiking:before{content:"\f6ec"}.fa-venus-double:before{content:"\f226"}.fa-images:before{content:"\f302"}.fa-calculator:before{content:"\f1ec"}.fa-people-pulling:before{content:"\e535"}.fa-n:before{content:"\4e"}.fa-cable-car:before,.fa-tram:before{content:"\f7da"}.fa-cloud-rain:before{content:"\f73d"}.fa-building-circle-xmark:before{content:"\e4d4"}.fa-ship:before{content:"\f21a"}.fa-arrows-down-to-line:before{content:"\e4b8"}.fa-download:before{content:"\f019"}.fa-face-grin:before,.fa-grin:before{content:"\f580"}.fa-backspace:before,.fa-delete-left:before{content:"\f55a"}.fa-eye-dropper-empty:before,.fa-eye-dropper:before,.fa-eyedropper:before{content:"\f1fb"}.fa-file-circle-check:before{content:"\e5a0"}.fa-forward:before{content:"\f04e"}.fa-mobile-android:before,.fa-mobile-phone:before,.fa-mobile:before{content:"\f3ce"}.fa-face-meh:before,.fa-meh:before{content:"\f11a"}.fa-align-center:before{content:"\f037"}.fa-book-dead:before,.fa-book-skull:before{content:"\f6b7"}.fa-drivers-license:before,.fa-id-card:before{content:"\f2c2"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-heart-circle-exclamation:before{content:"\e4fe"}.fa-home-alt:before,.fa-home-lg-alt:before,.fa-home:before,.fa-house:before{content:"\f015"}.fa-calendar-week:before{content:"\f784"}.fa-laptop-medical:before{content:"\f812"}.fa-b:before{content:"\42"}.fa-file-medical:before{content:"\f477"}.fa-dice-one:before{content:"\f525"}.fa-kiwi-bird:before{content:"\f535"}.fa-arrow-right-arrow-left:before,.fa-exchange:before{content:"\f0ec"}.fa-redo-alt:before,.fa-rotate-forward:before,.fa-rotate-right:before{content:"\f2f9"}.fa-cutlery:before,.fa-utensils:before{content:"\f2e7"}.fa-arrow-up-wide-short:before,.fa-sort-amount-up:before{content:"\f161"}.fa-mill-sign:before{content:"\e1ed"}.fa-bowl-rice:before{content:"\e2eb"}.fa-skull:before{content:"\f54c"}.fa-broadcast-tower:before,.fa-tower-broadcast:before{content:"\f519"}.fa-truck-pickup:before{content:"\f63c"}.fa-long-arrow-alt-up:before,.fa-up-long:before{content:"\f30c"}.fa-stop:before{content:"\f04d"}.fa-code-merge:before{content:"\f387"}.fa-upload:before{content:"\f093"}.fa-hurricane:before{content:"\f751"}.fa-mound:before{content:"\e52d"}.fa-toilet-portable:before{content:"\e583"}.fa-compact-disc:before{content:"\f51f"}.fa-file-arrow-down:before,.fa-file-download:before{content:"\f56d"}.fa-caravan:before{content:"\f8ff"}.fa-shield-cat:before{content:"\e572"}.fa-bolt:before,.fa-zap:before{content:"\f0e7"}.fa-glass-water:before{content:"\e4f4"}.fa-oil-well:before{content:"\e532"}.fa-vault:before{content:"\e2c5"}.fa-mars:before{content:"\f222"}.fa-toilet:before{content:"\f7d8"}.fa-plane-circle-xmark:before{content:"\e557"}.fa-cny:before,.fa-jpy:before,.fa-rmb:before,.fa-yen-sign:before,.fa-yen:before{content:"\f157"}.fa-rouble:before,.fa-rub:before,.fa-ruble-sign:before,.fa-ruble:before{content:"\f158"}.fa-sun:before{content:"\f185"}.fa-guitar:before{content:"\f7a6"}.fa-face-laugh-wink:before,.fa-laugh-wink:before{content:"\f59c"}.fa-horse-head:before{content:"\f7ab"}.fa-bore-hole:before{content:"\e4c3"}.fa-industry:before{content:"\f275"}.fa-arrow-alt-circle-down:before,.fa-circle-down:before{content:"\f358"}.fa-arrows-turn-to-dots:before{content:"\e4c1"}.fa-florin-sign:before{content:"\e184"}.fa-arrow-down-short-wide:before,.fa-sort-amount-desc:before,.fa-sort-amount-down-alt:before{content:"\f884"}.fa-less-than:before{content:"\3c"}.fa-angle-down:before{content:"\f107"}.fa-car-tunnel:before{content:"\e4de"}.fa-head-side-cough:before{content:"\e061"}.fa-grip-lines:before{content:"\f7a4"}.fa-thumbs-down:before{content:"\f165"}.fa-user-lock:before{content:"\f502"}.fa-arrow-right-long:before,.fa-long-arrow-right:before{content:"\f178"}.fa-anchor-circle-xmark:before{content:"\e4ac"}.fa-ellipsis-h:before,.fa-ellipsis:before{content:"\f141"}.fa-chess-pawn:before{content:"\f443"}.fa-first-aid:before,.fa-kit-medical:before{content:"\f479"}.fa-person-through-window:before{content:"\e5a9"}.fa-toolbox:before{content:"\f552"}.fa-hands-holding-circle:before{content:"\e4fb"}.fa-bug:before{content:"\f188"}.fa-credit-card-alt:before,.fa-credit-card:before{content:"\f09d"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-hand-holding-hand:before{content:"\e4f7"}.fa-book-open-reader:before,.fa-book-reader:before{content:"\f5da"}.fa-mountain-sun:before{content:"\e52f"}.fa-arrows-left-right-to-line:before{content:"\e4ba"}.fa-dice-d20:before{content:"\f6cf"}.fa-truck-droplet:before{content:"\e58c"}.fa-file-circle-xmark:before{content:"\e5a1"}.fa-temperature-arrow-up:before,.fa-temperature-up:before{content:"\e040"}.fa-medal:before{content:"\f5a2"}.fa-bed:before{content:"\f236"}.fa-h-square:before,.fa-square-h:before{content:"\f0fd"}.fa-podcast:before{content:"\f2ce"}.fa-temperature-4:before,.fa-temperature-full:before,.fa-thermometer-4:before,.fa-thermometer-full:before{content:"\f2c7"}.fa-bell:before{content:"\f0f3"}.fa-superscript:before{content:"\f12b"}.fa-plug-circle-xmark:before{content:"\e560"}.fa-star-of-life:before{content:"\f621"}.fa-phone-slash:before{content:"\f3dd"}.fa-paint-roller:before{content:"\f5aa"}.fa-hands-helping:before,.fa-handshake-angle:before{content:"\f4c4"}.fa-location-dot:before,.fa-map-marker-alt:before{content:"\f3c5"}.fa-file:before{content:"\f15b"}.fa-greater-than:before{content:"\3e"}.fa-person-swimming:before,.fa-swimmer:before{content:"\f5c4"}.fa-arrow-down:before{content:"\f063"}.fa-droplet:before,.fa-tint:before{content:"\f043"}.fa-eraser:before{content:"\f12d"}.fa-earth-america:before,.fa-earth-americas:before,.fa-earth:before,.fa-globe-americas:before{content:"\f57d"}.fa-person-burst:before{content:"\e53b"}.fa-dove:before{content:"\f4ba"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-socks:before{content:"\f696"}.fa-inbox:before{content:"\f01c"}.fa-section:before{content:"\e447"}.fa-gauge-high:before,.fa-tachometer-alt-fast:before,.fa-tachometer-alt:before{content:"\f625"}.fa-envelope-open-text:before{content:"\f658"}.fa-hospital-alt:before,.fa-hospital-wide:before,.fa-hospital:before{content:"\f0f8"}.fa-wine-bottle:before{content:"\f72f"}.fa-chess-rook:before{content:"\f447"}.fa-bars-staggered:before,.fa-reorder:before,.fa-stream:before{content:"\f550"}.fa-dharmachakra:before{content:"\f655"}.fa-hotdog:before{content:"\f80f"}.fa-blind:before,.fa-person-walking-with-cane:before{content:"\f29d"}.fa-drum:before{content:"\f569"}.fa-ice-cream:before{content:"\f810"}.fa-heart-circle-bolt:before{content:"\e4fc"}.fa-fax:before{content:"\f1ac"}.fa-paragraph:before{content:"\f1dd"}.fa-check-to-slot:before,.fa-vote-yea:before{content:"\f772"}.fa-star-half:before{content:"\f089"}.fa-boxes-alt:before,.fa-boxes-stacked:before,.fa-boxes:before{content:"\f468"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-assistive-listening-systems:before,.fa-ear-listen:before{content:"\f2a2"}.fa-tree-city:before{content:"\e587"}.fa-play:before{content:"\f04b"}.fa-font:before{content:"\f031"}.fa-rupiah-sign:before{content:"\e23d"}.fa-magnifying-glass:before,.fa-search:before{content:"\f002"}.fa-ping-pong-paddle-ball:before,.fa-table-tennis-paddle-ball:before,.fa-table-tennis:before{content:"\f45d"}.fa-diagnoses:before,.fa-person-dots-from-line:before{content:"\f470"}.fa-trash-can-arrow-up:before,.fa-trash-restore-alt:before{content:"\f82a"}.fa-naira-sign:before{content:"\e1f6"}.fa-cart-arrow-down:before{content:"\f218"}.fa-walkie-talkie:before{content:"\f8ef"}.fa-file-edit:before,.fa-file-pen:before{content:"\f31c"}.fa-receipt:before{content:"\f543"}.fa-pen-square:before,.fa-pencil-square:before,.fa-square-pen:before{content:"\f14b"}.fa-suitcase-rolling:before{content:"\f5c1"}.fa-person-circle-exclamation:before{content:"\e53f"}.fa-chevron-down:before{content:"\f078"}.fa-battery-5:before,.fa-battery-full:before,.fa-battery:before{content:"\f240"}.fa-skull-crossbones:before{content:"\f714"}.fa-code-compare:before{content:"\e13a"}.fa-list-dots:before,.fa-list-ul:before{content:"\f0ca"}.fa-school-lock:before{content:"\e56f"}.fa-tower-cell:before{content:"\e585"}.fa-down-long:before,.fa-long-arrow-alt-down:before{content:"\f309"}.fa-ranking-star:before{content:"\e561"}.fa-chess-king:before{content:"\f43f"}.fa-person-harassing:before{content:"\e549"}.fa-brazilian-real-sign:before{content:"\e46c"}.fa-landmark-alt:before,.fa-landmark-dome:before{content:"\f752"}.fa-arrow-up:before{content:"\f062"}.fa-television:before,.fa-tv-alt:before,.fa-tv:before{content:"\f26c"}.fa-shrimp:before{content:"\e448"}.fa-list-check:before,.fa-tasks:before{content:"\f0ae"}.fa-jug-detergent:before{content:"\e519"}.fa-circle-user:before,.fa-user-circle:before{content:"\f2bd"}.fa-user-shield:before{content:"\f505"}.fa-wind:before{content:"\f72e"}.fa-car-burst:before,.fa-car-crash:before{content:"\f5e1"}.fa-y:before{content:"\59"}.fa-person-snowboarding:before,.fa-snowboarding:before{content:"\f7ce"}.fa-shipping-fast:before,.fa-truck-fast:before{content:"\f48b"}.fa-fish:before{content:"\f578"}.fa-user-graduate:before{content:"\f501"}.fa-adjust:before,.fa-circle-half-stroke:before{content:"\f042"}.fa-clapperboard:before{content:"\e131"}.fa-circle-radiation:before,.fa-radiation-alt:before{content:"\f7ba"}.fa-baseball-ball:before,.fa-baseball:before{content:"\f433"}.fa-jet-fighter-up:before{content:"\e518"}.fa-diagram-project:before,.fa-project-diagram:before{content:"\f542"}.fa-copy:before{content:"\f0c5"}.fa-volume-mute:before,.fa-volume-times:before,.fa-volume-xmark:before{content:"\f6a9"}.fa-hand-sparkles:before{content:"\e05d"}.fa-grip-horizontal:before,.fa-grip:before{content:"\f58d"}.fa-share-from-square:before,.fa-share-square:before{content:"\f14d"}.fa-gun:before{content:"\e19b"}.fa-phone-square:before,.fa-square-phone:before{content:"\f098"}.fa-add:before,.fa-plus:before{content:"\2b"}.fa-expand:before{content:"\f065"}.fa-computer:before{content:"\e4e5"}.fa-close:before,.fa-multiply:before,.fa-remove:before,.fa-times:before,.fa-xmark:before{content:"\f00d"}.fa-arrows-up-down-left-right:before,.fa-arrows:before{content:"\f047"}.fa-chalkboard-teacher:before,.fa-chalkboard-user:before{content:"\f51c"}.fa-peso-sign:before{content:"\e222"}.fa-building-shield:before{content:"\e4d8"}.fa-baby:before{content:"\f77c"}.fa-users-line:before{content:"\e592"}.fa-quote-left-alt:before,.fa-quote-left:before{content:"\f10d"}.fa-tractor:before{content:"\f722"}.fa-trash-arrow-up:before,.fa-trash-restore:before{content:"\f829"}.fa-arrow-down-up-lock:before{content:"\e4b0"}.fa-lines-leaning:before{content:"\e51e"}.fa-ruler-combined:before{content:"\f546"}.fa-copyright:before{content:"\f1f9"}.fa-equals:before{content:"\3d"}.fa-blender:before{content:"\f517"}.fa-teeth:before{content:"\f62e"}.fa-ils:before,.fa-shekel-sign:before,.fa-shekel:before,.fa-sheqel-sign:before,.fa-sheqel:before{content:"\f20b"}.fa-map:before{content:"\f279"}.fa-rocket:before{content:"\f135"}.fa-photo-film:before,.fa-photo-video:before{content:"\f87c"}.fa-folder-minus:before{content:"\f65d"}.fa-store:before{content:"\f54e"}.fa-arrow-trend-up:before{content:"\e098"}.fa-plug-circle-minus:before{content:"\e55e"}.fa-sign-hanging:before,.fa-sign:before{content:"\f4d9"}.fa-bezier-curve:before{content:"\f55b"}.fa-bell-slash:before{content:"\f1f6"}.fa-tablet-android:before,.fa-tablet:before{content:"\f3fb"}.fa-school-flag:before{content:"\e56e"}.fa-fill:before{content:"\f575"}.fa-angle-up:before{content:"\f106"}.fa-drumstick-bite:before{content:"\f6d7"}.fa-holly-berry:before{content:"\f7aa"}.fa-chevron-left:before{content:"\f053"}.fa-bacteria:before{content:"\e059"}.fa-hand-lizard:before{content:"\f258"}.fa-disease:before{content:"\f7fa"}.fa-briefcase-medical:before{content:"\f469"}.fa-genderless:before{content:"\f22d"}.fa-chevron-right:before{content:"\f054"}.fa-retweet:before{content:"\f079"}.fa-car-alt:before,.fa-car-rear:before{content:"\f5de"}.fa-pump-soap:before{content:"\e06b"}.fa-video-slash:before{content:"\f4e2"}.fa-battery-2:before,.fa-battery-quarter:before{content:"\f243"}.fa-radio:before{content:"\f8d7"}.fa-baby-carriage:before,.fa-carriage-baby:before{content:"\f77d"}.fa-traffic-light:before{content:"\f637"}.fa-thermometer:before{content:"\f491"}.fa-vr-cardboard:before{content:"\f729"}.fa-hand-middle-finger:before{content:"\f806"}.fa-percent:before,.fa-percentage:before{content:"\25"}.fa-truck-moving:before{content:"\f4df"}.fa-glass-water-droplet:before{content:"\e4f5"}.fa-display:before{content:"\e163"}.fa-face-smile:before,.fa-smile:before{content:"\f118"}.fa-thumb-tack:before,.fa-thumbtack:before{content:"\f08d"}.fa-trophy:before{content:"\f091"}.fa-person-praying:before,.fa-pray:before{content:"\f683"}.fa-hammer:before{content:"\f6e3"}.fa-hand-peace:before{content:"\f25b"}.fa-rotate:before,.fa-sync-alt:before{content:"\f2f1"}.fa-spinner:before{content:"\f110"}.fa-robot:before{content:"\f544"}.fa-peace:before{content:"\f67c"}.fa-cogs:before,.fa-gears:before{content:"\f085"}.fa-warehouse:before{content:"\f494"}.fa-arrow-up-right-dots:before{content:"\e4b7"}.fa-splotch:before{content:"\f5bc"}.fa-face-grin-hearts:before,.fa-grin-hearts:before{content:"\f584"}.fa-dice-four:before{content:"\f524"}.fa-sim-card:before{content:"\f7c4"}.fa-transgender-alt:before,.fa-transgender:before{content:"\f225"}.fa-mercury:before{content:"\f223"}.fa-arrow-turn-down:before,.fa-level-down:before{content:"\f149"}.fa-person-falling-burst:before{content:"\e547"}.fa-award:before{content:"\f559"}.fa-ticket-alt:before,.fa-ticket-simple:before{content:"\f3ff"}.fa-building:before{content:"\f1ad"}.fa-angle-double-left:before,.fa-angles-left:before{content:"\f100"}.fa-qrcode:before{content:"\f029"}.fa-clock-rotate-left:before,.fa-history:before{content:"\f1da"}.fa-face-grin-beam-sweat:before,.fa-grin-beam-sweat:before{content:"\f583"}.fa-arrow-right-from-file:before,.fa-file-export:before{content:"\f56e"}.fa-shield-blank:before,.fa-shield:before{content:"\f132"}.fa-arrow-up-short-wide:before,.fa-sort-amount-up-alt:before{content:"\f885"}.fa-house-medical:before{content:"\e3b2"}.fa-golf-ball-tee:before,.fa-golf-ball:before{content:"\f450"}.fa-chevron-circle-left:before,.fa-circle-chevron-left:before{content:"\f137"}.fa-house-chimney-window:before{content:"\e00d"}.fa-pen-nib:before{content:"\f5ad"}.fa-tent-arrow-turn-left:before{content:"\e580"}.fa-tents:before{content:"\e582"}.fa-magic:before,.fa-wand-magic:before{content:"\f0d0"}.fa-dog:before{content:"\f6d3"}.fa-carrot:before{content:"\f787"}.fa-moon:before{content:"\f186"}.fa-wine-glass-alt:before,.fa-wine-glass-empty:before{content:"\f5ce"}.fa-cheese:before{content:"\f7ef"}.fa-yin-yang:before{content:"\f6ad"}.fa-music:before{content:"\f001"}.fa-code-commit:before{content:"\f386"}.fa-temperature-low:before{content:"\f76b"}.fa-biking:before,.fa-person-biking:before{content:"\f84a"}.fa-broom:before{content:"\f51a"}.fa-shield-heart:before{content:"\e574"}.fa-gopuram:before{content:"\f664"}.fa-earth-oceania:before,.fa-globe-oceania:before{content:"\e47b"}.fa-square-xmark:before,.fa-times-square:before,.fa-xmark-square:before{content:"\f2d3"}.fa-hashtag:before{content:"\23"}.fa-expand-alt:before,.fa-up-right-and-down-left-from-center:before{content:"\f424"}.fa-oil-can:before{content:"\f613"}.fa-t:before{content:"\54"}.fa-hippo:before{content:"\f6ed"}.fa-chart-column:before{content:"\e0e3"}.fa-infinity:before{content:"\f534"}.fa-vial-circle-check:before{content:"\e596"}.fa-person-arrow-down-to-line:before{content:"\e538"}.fa-voicemail:before{content:"\f897"}.fa-fan:before{content:"\f863"}.fa-person-walking-luggage:before{content:"\e554"}.fa-arrows-alt-v:before,.fa-up-down:before{content:"\f338"}.fa-cloud-moon-rain:before{content:"\f73c"}.fa-calendar:before{content:"\f133"}.fa-trailer:before{content:"\e041"}.fa-bahai:before,.fa-haykal:before{content:"\f666"}.fa-sd-card:before{content:"\f7c2"}.fa-dragon:before{content:"\f6d5"}.fa-shoe-prints:before{content:"\f54b"}.fa-circle-plus:before,.fa-plus-circle:before{content:"\f055"}.fa-face-grin-tongue-wink:before,.fa-grin-tongue-wink:before{content:"\f58b"}.fa-hand-holding:before{content:"\f4bd"}.fa-plug-circle-exclamation:before{content:"\e55d"}.fa-chain-broken:before,.fa-chain-slash:before,.fa-link-slash:before,.fa-unlink:before{content:"\f127"}.fa-clone:before{content:"\f24d"}.fa-person-walking-arrow-loop-left:before{content:"\e551"}.fa-arrow-up-z-a:before,.fa-sort-alpha-up-alt:before{content:"\f882"}.fa-fire-alt:before,.fa-fire-flame-curved:before{content:"\f7e4"}.fa-tornado:before{content:"\f76f"}.fa-file-circle-plus:before{content:"\e494"}.fa-book-quran:before,.fa-quran:before{content:"\f687"}.fa-anchor:before{content:"\f13d"}.fa-border-all:before{content:"\f84c"}.fa-angry:before,.fa-face-angry:before{content:"\f556"}.fa-cookie-bite:before{content:"\f564"}.fa-arrow-trend-down:before{content:"\e097"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-draw-polygon:before{content:"\f5ee"}.fa-balance-scale:before,.fa-scale-balanced:before{content:"\f24e"}.fa-gauge-simple-high:before,.fa-tachometer-fast:before,.fa-tachometer:before{content:"\f62a"}.fa-shower:before{content:"\f2cc"}.fa-desktop-alt:before,.fa-desktop:before{content:"\f390"}.fa-m:before{content:"\4d"}.fa-table-list:before,.fa-th-list:before{content:"\f00b"}.fa-comment-sms:before,.fa-sms:before{content:"\f7cd"}.fa-book:before{content:"\f02d"}.fa-user-plus:before{content:"\f234"}.fa-check:before{content:"\f00c"}.fa-battery-4:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-house-circle-check:before{content:"\e509"}.fa-angle-left:before{content:"\f104"}.fa-diagram-successor:before{content:"\e47a"}.fa-truck-arrow-right:before{content:"\e58b"}.fa-arrows-split-up-and-left:before{content:"\e4bc"}.fa-fist-raised:before,.fa-hand-fist:before{content:"\f6de"}.fa-cloud-moon:before{content:"\f6c3"}.fa-briefcase:before{content:"\f0b1"}.fa-person-falling:before{content:"\e546"}.fa-image-portrait:before,.fa-portrait:before{content:"\f3e0"}.fa-user-tag:before{content:"\f507"}.fa-rug:before{content:"\e569"}.fa-earth-europe:before,.fa-globe-europe:before{content:"\f7a2"}.fa-cart-flatbed-suitcase:before,.fa-luggage-cart:before{content:"\f59d"}.fa-rectangle-times:before,.fa-rectangle-xmark:before,.fa-times-rectangle:before,.fa-window-close:before{content:"\f410"}.fa-baht-sign:before{content:"\e0ac"}.fa-book-open:before{content:"\f518"}.fa-book-journal-whills:before,.fa-journal-whills:before{content:"\f66a"}.fa-handcuffs:before{content:"\e4f8"}.fa-exclamation-triangle:before,.fa-triangle-exclamation:before,.fa-warning:before{content:"\f071"}.fa-database:before{content:"\f1c0"}.fa-arrow-turn-right:before,.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-bottle-droplet:before{content:"\e4c4"}.fa-mask-face:before{content:"\e1d7"}.fa-hill-rockslide:before{content:"\e508"}.fa-exchange-alt:before,.fa-right-left:before{content:"\f362"}.fa-paper-plane:before{content:"\f1d8"}.fa-road-circle-exclamation:before{content:"\e565"}.fa-dungeon:before{content:"\f6d9"}.fa-align-right:before{content:"\f038"}.fa-money-bill-1-wave:before,.fa-money-bill-wave-alt:before{content:"\f53b"}.fa-life-ring:before{content:"\f1cd"}.fa-hands:before,.fa-sign-language:before,.fa-signing:before{content:"\f2a7"}.fa-calendar-day:before{content:"\f783"}.fa-ladder-water:before,.fa-swimming-pool:before,.fa-water-ladder:before{content:"\f5c5"}.fa-arrows-up-down:before,.fa-arrows-v:before{content:"\f07d"}.fa-face-grimace:before,.fa-grimace:before{content:"\f57f"}.fa-wheelchair-alt:before,.fa-wheelchair-move:before{content:"\e2ce"}.fa-level-down-alt:before,.fa-turn-down:before{content:"\f3be"}.fa-person-walking-arrow-right:before{content:"\e552"}.fa-envelope-square:before,.fa-square-envelope:before{content:"\f199"}.fa-dice:before{content:"\f522"}.fa-bowling-ball:before{content:"\f436"}.fa-brain:before{content:"\f5dc"}.fa-band-aid:before,.fa-bandage:before{content:"\f462"}.fa-calendar-minus:before{content:"\f272"}.fa-circle-xmark:before,.fa-times-circle:before,.fa-xmark-circle:before{content:"\f057"}.fa-gifts:before{content:"\f79c"}.fa-hotel:before{content:"\f594"}.fa-earth-asia:before,.fa-globe-asia:before{content:"\f57e"}.fa-id-card-alt:before,.fa-id-card-clip:before{content:"\f47f"}.fa-magnifying-glass-plus:before,.fa-search-plus:before{content:"\f00e"}.fa-thumbs-up:before{content:"\f164"}.fa-user-clock:before{content:"\f4fd"}.fa-allergies:before,.fa-hand-dots:before{content:"\f461"}.fa-file-invoice:before{content:"\f570"}.fa-window-minimize:before{content:"\f2d1"}.fa-coffee:before,.fa-mug-saucer:before{content:"\f0f4"}.fa-brush:before{content:"\f55d"}.fa-mask:before{content:"\f6fa"}.fa-magnifying-glass-minus:before,.fa-search-minus:before{content:"\f010"}.fa-ruler-vertical:before{content:"\f548"}.fa-user-alt:before,.fa-user-large:before{content:"\f406"}.fa-train-tram:before{content:"\e5b4"}.fa-user-nurse:before{content:"\f82f"}.fa-syringe:before{content:"\f48e"}.fa-cloud-sun:before{content:"\f6c4"}.fa-stopwatch-20:before{content:"\e06f"}.fa-square-full:before{content:"\f45c"}.fa-magnet:before{content:"\f076"}.fa-jar:before{content:"\e516"}.fa-note-sticky:before,.fa-sticky-note:before{content:"\f249"}.fa-bug-slash:before{content:"\e490"}.fa-arrow-up-from-water-pump:before{content:"\e4b6"}.fa-bone:before{content:"\f5d7"}.fa-user-injured:before{content:"\f728"}.fa-face-sad-tear:before,.fa-sad-tear:before{content:"\f5b4"}.fa-plane:before{content:"\f072"}.fa-tent-arrows-down:before{content:"\e581"}.fa-exclamation:before{content:"\21"}.fa-arrows-spin:before{content:"\e4bb"}.fa-print:before{content:"\f02f"}.fa-try:before,.fa-turkish-lira-sign:before,.fa-turkish-lira:before{content:"\e2bb"}.fa-dollar-sign:before,.fa-dollar:before,.fa-usd:before{content:"\24"}.fa-x:before{content:"\58"}.fa-magnifying-glass-dollar:before,.fa-search-dollar:before{content:"\f688"}.fa-users-cog:before,.fa-users-gear:before{content:"\f509"}.fa-person-military-pointing:before{content:"\e54a"}.fa-bank:before,.fa-building-columns:before,.fa-institution:before,.fa-museum:before,.fa-university:before{content:"\f19c"}.fa-umbrella:before{content:"\f0e9"}.fa-trowel:before{content:"\e589"}.fa-d:before{content:"\44"}.fa-stapler:before{content:"\e5af"}.fa-masks-theater:before,.fa-theater-masks:before{content:"\f630"}.fa-kip-sign:before{content:"\e1c4"}.fa-hand-point-left:before{content:"\f0a5"}.fa-handshake-alt:before,.fa-handshake-simple:before{content:"\f4c6"}.fa-fighter-jet:before,.fa-jet-fighter:before{content:"\f0fb"}.fa-share-alt-square:before,.fa-square-share-nodes:before{content:"\f1e1"}.fa-barcode:before{content:"\f02a"}.fa-plus-minus:before{content:"\e43c"}.fa-video-camera:before,.fa-video:before{content:"\f03d"}.fa-graduation-cap:before,.fa-mortar-board:before{content:"\f19d"}.fa-hand-holding-medical:before{content:"\e05c"}.fa-person-circle-check:before{content:"\e53e"}.fa-level-up-alt:before,.fa-turn-up:before{content:"\f3bf"}.fa-sr-only,.fa-sr-only-focusable:not(:focus),.sr-only,.sr-only-focusable:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host,:root{--fa-style-family-brands:"Font Awesome 6 Brands";--fa-font-brands:normal 400 1em/1 "Font Awesome 6 Brands"}@font-face{font-family:"Font Awesome 6 Brands";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-brands-400.woff2) format("woff2"),url(../webfonts/fa-brands-400.ttf) format("truetype")}.fa-brands,.fab{font-weight:400}.fa-monero:before{content:"\f3d0"}.fa-hooli:before{content:"\f427"}.fa-yelp:before{content:"\f1e9"}.fa-cc-visa:before{content:"\f1f0"}.fa-lastfm:before{content:"\f202"}.fa-shopware:before{content:"\f5b5"}.fa-creative-commons-nc:before{content:"\f4e8"}.fa-aws:before{content:"\f375"}.fa-redhat:before{content:"\f7bc"}.fa-yoast:before{content:"\f2b1"}.fa-cloudflare:before{content:"\e07d"}.fa-ups:before{content:"\f7e0"}.fa-wpexplorer:before{content:"\f2de"}.fa-dyalog:before{content:"\f399"}.fa-bity:before{content:"\f37a"}.fa-stackpath:before{content:"\f842"}.fa-buysellads:before{content:"\f20d"}.fa-first-order:before{content:"\f2b0"}.fa-modx:before{content:"\f285"}.fa-guilded:before{content:"\e07e"}.fa-vnv:before{content:"\f40b"}.fa-js-square:before,.fa-square-js:before{content:"\f3b9"}.fa-microsoft:before{content:"\f3ca"}.fa-qq:before{content:"\f1d6"}.fa-orcid:before{content:"\f8d2"}.fa-java:before{content:"\f4e4"}.fa-invision:before{content:"\f7b0"}.fa-creative-commons-pd-alt:before{content:"\f4ed"}.fa-centercode:before{content:"\f380"}.fa-glide-g:before{content:"\f2a6"}.fa-drupal:before{content:"\f1a9"}.fa-hire-a-helper:before{content:"\f3b0"}.fa-creative-commons-by:before{content:"\f4e7"}.fa-unity:before{content:"\e049"}.fa-whmcs:before{content:"\f40d"}.fa-rocketchat:before{content:"\f3e8"}.fa-vk:before{content:"\f189"}.fa-untappd:before{content:"\f405"}.fa-mailchimp:before{content:"\f59e"}.fa-css3-alt:before{content:"\f38b"}.fa-reddit-square:before,.fa-square-reddit:before{content:"\f1a2"}.fa-vimeo-v:before{content:"\f27d"}.fa-contao:before{content:"\f26d"}.fa-square-font-awesome:before{content:"\e5ad"}.fa-deskpro:before{content:"\f38f"}.fa-sistrix:before{content:"\f3ee"}.fa-instagram-square:before,.fa-square-instagram:before{content:"\e055"}.fa-battle-net:before{content:"\f835"}.fa-the-red-yeti:before{content:"\f69d"}.fa-hacker-news-square:before,.fa-square-hacker-news:before{content:"\f3af"}.fa-edge:before{content:"\f282"}.fa-napster:before{content:"\f3d2"}.fa-snapchat-square:before,.fa-square-snapchat:before{content:"\f2ad"}.fa-google-plus-g:before{content:"\f0d5"}.fa-artstation:before{content:"\f77a"}.fa-markdown:before{content:"\f60f"}.fa-sourcetree:before{content:"\f7d3"}.fa-google-plus:before{content:"\f2b3"}.fa-diaspora:before{content:"\f791"}.fa-foursquare:before{content:"\f180"}.fa-stack-overflow:before{content:"\f16c"}.fa-github-alt:before{content:"\f113"}.fa-phoenix-squadron:before{content:"\f511"}.fa-pagelines:before{content:"\f18c"}.fa-algolia:before{content:"\f36c"}.fa-red-river:before{content:"\f3e3"}.fa-creative-commons-sa:before{content:"\f4ef"}.fa-safari:before{content:"\f267"}.fa-google:before{content:"\f1a0"}.fa-font-awesome-alt:before,.fa-square-font-awesome-stroke:before{content:"\f35c"}.fa-atlassian:before{content:"\f77b"}.fa-linkedin-in:before{content:"\f0e1"}.fa-digital-ocean:before{content:"\f391"}.fa-nimblr:before{content:"\f5a8"}.fa-chromecast:before{content:"\f838"}.fa-evernote:before{content:"\f839"}.fa-hacker-news:before{content:"\f1d4"}.fa-creative-commons-sampling:before{content:"\f4f0"}.fa-adversal:before{content:"\f36a"}.fa-creative-commons:before{content:"\f25e"}.fa-watchman-monitoring:before{content:"\e087"}.fa-fonticons:before{content:"\f280"}.fa-weixin:before{content:"\f1d7"}.fa-shirtsinbulk:before{content:"\f214"}.fa-codepen:before{content:"\f1cb"}.fa-git-alt:before{content:"\f841"}.fa-lyft:before{content:"\f3c3"}.fa-rev:before{content:"\f5b2"}.fa-windows:before{content:"\f17a"}.fa-wizards-of-the-coast:before{content:"\f730"}.fa-square-viadeo:before,.fa-viadeo-square:before{content:"\f2aa"}.fa-meetup:before{content:"\f2e0"}.fa-centos:before{content:"\f789"}.fa-adn:before{content:"\f170"}.fa-cloudsmith:before{content:"\f384"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-dribbble-square:before,.fa-square-dribbble:before{content:"\f397"}.fa-codiepie:before{content:"\f284"}.fa-node:before{content:"\f419"}.fa-mix:before{content:"\f3cb"}.fa-steam:before{content:"\f1b6"}.fa-cc-apple-pay:before{content:"\f416"}.fa-scribd:before{content:"\f28a"}.fa-openid:before{content:"\f19b"}.fa-instalod:before{content:"\e081"}.fa-expeditedssl:before{content:"\f23e"}.fa-sellcast:before{content:"\f2da"}.fa-square-twitter:before,.fa-twitter-square:before{content:"\f081"}.fa-r-project:before{content:"\f4f7"}.fa-delicious:before{content:"\f1a5"}.fa-freebsd:before{content:"\f3a4"}.fa-vuejs:before{content:"\f41f"}.fa-accusoft:before{content:"\f369"}.fa-ioxhost:before{content:"\f208"}.fa-fonticons-fi:before{content:"\f3a2"}.fa-app-store:before{content:"\f36f"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-itunes-note:before{content:"\f3b5"}.fa-golang:before{content:"\e40f"}.fa-kickstarter:before{content:"\f3bb"}.fa-grav:before{content:"\f2d6"}.fa-weibo:before{content:"\f18a"}.fa-uncharted:before{content:"\e084"}.fa-firstdraft:before{content:"\f3a1"}.fa-square-youtube:before,.fa-youtube-square:before{content:"\f431"}.fa-wikipedia-w:before{content:"\f266"}.fa-rendact:before,.fa-wpressr:before{content:"\f3e4"}.fa-angellist:before{content:"\f209"}.fa-galactic-republic:before{content:"\f50c"}.fa-nfc-directional:before{content:"\e530"}.fa-skype:before{content:"\f17e"}.fa-joget:before{content:"\f3b7"}.fa-fedora:before{content:"\f798"}.fa-stripe-s:before{content:"\f42a"}.fa-meta:before{content:"\e49b"}.fa-laravel:before{content:"\f3bd"}.fa-hotjar:before{content:"\f3b1"}.fa-bluetooth-b:before{content:"\f294"}.fa-sticker-mule:before{content:"\f3f7"}.fa-creative-commons-zero:before{content:"\f4f3"}.fa-hips:before{content:"\f452"}.fa-behance:before{content:"\f1b4"}.fa-reddit:before{content:"\f1a1"}.fa-discord:before{content:"\f392"}.fa-chrome:before{content:"\f268"}.fa-app-store-ios:before{content:"\f370"}.fa-cc-discover:before{content:"\f1f2"}.fa-wpbeginner:before{content:"\f297"}.fa-confluence:before{content:"\f78d"}.fa-mdb:before{content:"\f8ca"}.fa-dochub:before{content:"\f394"}.fa-accessible-icon:before{content:"\f368"}.fa-ebay:before{content:"\f4f4"}.fa-amazon:before{content:"\f270"}.fa-unsplash:before{content:"\e07c"}.fa-yarn:before{content:"\f7e3"}.fa-square-steam:before,.fa-steam-square:before{content:"\f1b7"}.fa-500px:before{content:"\f26e"}.fa-square-vimeo:before,.fa-vimeo-square:before{content:"\f194"}.fa-asymmetrik:before{content:"\f372"}.fa-font-awesome-flag:before,.fa-font-awesome-logo-full:before,.fa-font-awesome:before{content:"\f2b4"}.fa-gratipay:before{content:"\f184"}.fa-apple:before{content:"\f179"}.fa-hive:before{content:"\e07f"}.fa-gitkraken:before{content:"\f3a6"}.fa-keybase:before{content:"\f4f5"}.fa-apple-pay:before{content:"\f415"}.fa-padlet:before{content:"\e4a0"}.fa-amazon-pay:before{content:"\f42c"}.fa-github-square:before,.fa-square-github:before{content:"\f092"}.fa-stumbleupon:before{content:"\f1a4"}.fa-fedex:before{content:"\f797"}.fa-phoenix-framework:before{content:"\f3dc"}.fa-shopify:before{content:"\e057"}.fa-neos:before{content:"\f612"}.fa-hackerrank:before{content:"\f5f7"}.fa-researchgate:before{content:"\f4f8"}.fa-swift:before{content:"\f8e1"}.fa-angular:before{content:"\f420"}.fa-speakap:before{content:"\f3f3"}.fa-angrycreative:before{content:"\f36e"}.fa-y-combinator:before{content:"\f23b"}.fa-empire:before{content:"\f1d1"}.fa-envira:before{content:"\f299"}.fa-gitlab-square:before,.fa-square-gitlab:before{content:"\e5ae"}.fa-studiovinari:before{content:"\f3f8"}.fa-pied-piper:before{content:"\f2ae"}.fa-wordpress:before{content:"\f19a"}.fa-product-hunt:before{content:"\f288"}.fa-firefox:before{content:"\f269"}.fa-linode:before{content:"\f2b8"}.fa-goodreads:before{content:"\f3a8"}.fa-odnoklassniki-square:before,.fa-square-odnoklassniki:before{content:"\f264"}.fa-jsfiddle:before{content:"\f1cc"}.fa-sith:before{content:"\f512"}.fa-themeisle:before{content:"\f2b2"}.fa-page4:before{content:"\f3d7"}.fa-hashnode:before{content:"\e499"}.fa-react:before{content:"\f41b"}.fa-cc-paypal:before{content:"\f1f4"}.fa-squarespace:before{content:"\f5be"}.fa-cc-stripe:before{content:"\f1f5"}.fa-creative-commons-share:before{content:"\f4f2"}.fa-bitcoin:before{content:"\f379"}.fa-keycdn:before{content:"\f3ba"}.fa-opera:before{content:"\f26a"}.fa-itch-io:before{content:"\f83a"}.fa-umbraco:before{content:"\f8e8"}.fa-galactic-senate:before{content:"\f50d"}.fa-ubuntu:before{content:"\f7df"}.fa-draft2digital:before{content:"\f396"}.fa-stripe:before{content:"\f429"}.fa-houzz:before{content:"\f27c"}.fa-gg:before{content:"\f260"}.fa-dhl:before{content:"\f790"}.fa-pinterest-square:before,.fa-square-pinterest:before{content:"\f0d3"}.fa-xing:before{content:"\f168"}.fa-blackberry:before{content:"\f37b"}.fa-creative-commons-pd:before{content:"\f4ec"}.fa-playstation:before{content:"\f3df"}.fa-quinscape:before{content:"\f459"}.fa-less:before{content:"\f41d"}.fa-blogger-b:before{content:"\f37d"}.fa-opencart:before{content:"\f23d"}.fa-vine:before{content:"\f1ca"}.fa-paypal:before{content:"\f1ed"}.fa-gitlab:before{content:"\f296"}.fa-typo3:before{content:"\f42b"}.fa-reddit-alien:before{content:"\f281"}.fa-yahoo:before{content:"\f19e"}.fa-dailymotion:before{content:"\e052"}.fa-affiliatetheme:before{content:"\f36b"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-bootstrap:before{content:"\f836"}.fa-odnoklassniki:before{content:"\f263"}.fa-nfc-symbol:before{content:"\e531"}.fa-ethereum:before{content:"\f42e"}.fa-speaker-deck:before{content:"\f83c"}.fa-creative-commons-nc-eu:before{content:"\f4e9"}.fa-patreon:before{content:"\f3d9"}.fa-avianex:before{content:"\f374"}.fa-ello:before{content:"\f5f1"}.fa-gofore:before{content:"\f3a7"}.fa-bimobject:before{content:"\f378"}.fa-facebook-f:before{content:"\f39e"}.fa-google-plus-square:before,.fa-square-google-plus:before{content:"\f0d4"}.fa-mandalorian:before{content:"\f50f"}.fa-first-order-alt:before{content:"\f50a"}.fa-osi:before{content:"\f41a"}.fa-google-wallet:before{content:"\f1ee"}.fa-d-and-d-beyond:before{content:"\f6ca"}.fa-periscope:before{content:"\f3da"}.fa-fulcrum:before{content:"\f50b"}.fa-cloudscale:before{content:"\f383"}.fa-forumbee:before{content:"\f211"}.fa-mizuni:before{content:"\f3cc"}.fa-schlix:before{content:"\f3ea"}.fa-square-xing:before,.fa-xing-square:before{content:"\f169"}.fa-bandcamp:before{content:"\f2d5"}.fa-wpforms:before{content:"\f298"}.fa-cloudversify:before{content:"\f385"}.fa-usps:before{content:"\f7e1"}.fa-megaport:before{content:"\f5a3"}.fa-magento:before{content:"\f3c4"}.fa-spotify:before{content:"\f1bc"}.fa-optin-monster:before{content:"\f23c"}.fa-fly:before{content:"\f417"}.fa-aviato:before{content:"\f421"}.fa-itunes:before{content:"\f3b4"}.fa-cuttlefish:before{content:"\f38c"}.fa-blogger:before{content:"\f37c"}.fa-flickr:before{content:"\f16e"}.fa-viber:before{content:"\f409"}.fa-soundcloud:before{content:"\f1be"}.fa-digg:before{content:"\f1a6"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-symfony:before{content:"\f83d"}.fa-maxcdn:before{content:"\f136"}.fa-etsy:before{content:"\f2d7"}.fa-facebook-messenger:before{content:"\f39f"}.fa-audible:before{content:"\f373"}.fa-think-peaks:before{content:"\f731"}.fa-bilibili:before{content:"\e3d9"}.fa-erlang:before{content:"\f39d"}.fa-cotton-bureau:before{content:"\f89e"}.fa-dashcube:before{content:"\f210"}.fa-42-group:before,.fa-innosoft:before{content:"\e080"}.fa-stack-exchange:before{content:"\f18d"}.fa-elementor:before{content:"\f430"}.fa-pied-piper-square:before,.fa-square-pied-piper:before{content:"\e01e"}.fa-creative-commons-nd:before{content:"\f4eb"}.fa-palfed:before{content:"\f3d8"}.fa-superpowers:before{content:"\f2dd"}.fa-resolving:before{content:"\f3e7"}.fa-xbox:before{content:"\f412"}.fa-searchengin:before{content:"\f3eb"}.fa-tiktok:before{content:"\e07b"}.fa-facebook-square:before,.fa-square-facebook:before{content:"\f082"}.fa-renren:before{content:"\f18b"}.fa-linux:before{content:"\f17c"}.fa-glide:before{content:"\f2a5"}.fa-linkedin:before{content:"\f08c"}.fa-hubspot:before{content:"\f3b2"}.fa-deploydog:before{content:"\f38e"}.fa-twitch:before{content:"\f1e8"}.fa-ravelry:before{content:"\f2d9"}.fa-mixer:before{content:"\e056"}.fa-lastfm-square:before,.fa-square-lastfm:before{content:"\f203"}.fa-vimeo:before{content:"\f40a"}.fa-mendeley:before{content:"\f7b3"}.fa-uniregistry:before{content:"\f404"}.fa-figma:before{content:"\f799"}.fa-creative-commons-remix:before{content:"\f4ee"}.fa-cc-amazon-pay:before{content:"\f42d"}.fa-dropbox:before{content:"\f16b"}.fa-instagram:before{content:"\f16d"}.fa-cmplid:before{content:"\e360"}.fa-facebook:before{content:"\f09a"}.fa-gripfire:before{content:"\f3ac"}.fa-jedi-order:before{content:"\f50e"}.fa-uikit:before{content:"\f403"}.fa-fort-awesome-alt:before{content:"\f3a3"}.fa-phabricator:before{content:"\f3db"}.fa-ussunnah:before{content:"\f407"}.fa-earlybirds:before{content:"\f39a"}.fa-trade-federation:before{content:"\f513"}.fa-autoprefixer:before{content:"\f41c"}.fa-whatsapp:before{content:"\f232"}.fa-slideshare:before{content:"\f1e7"}.fa-google-play:before{content:"\f3ab"}.fa-viadeo:before{content:"\f2a9"}.fa-line:before{content:"\f3c0"}.fa-google-drive:before{content:"\f3aa"}.fa-servicestack:before{content:"\f3ec"}.fa-simplybuilt:before{content:"\f215"}.fa-bitbucket:before{content:"\f171"}.fa-imdb:before{content:"\f2d8"}.fa-deezer:before{content:"\e077"}.fa-raspberry-pi:before{content:"\f7bb"}.fa-jira:before{content:"\f7b1"}.fa-docker:before{content:"\f395"}.fa-screenpal:before{content:"\e570"}.fa-bluetooth:before{content:"\f293"}.fa-gitter:before{content:"\f426"}.fa-d-and-d:before{content:"\f38d"}.fa-microblog:before{content:"\e01a"}.fa-cc-diners-club:before{content:"\f24c"}.fa-gg-circle:before{content:"\f261"}.fa-pied-piper-hat:before{content:"\f4e5"}.fa-kickstarter-k:before{content:"\f3bc"}.fa-yandex:before{content:"\f413"}.fa-readme:before{content:"\f4d5"}.fa-html5:before{content:"\f13b"}.fa-sellsy:before{content:"\f213"}.fa-sass:before{content:"\f41e"}.fa-wirsindhandwerk:before,.fa-wsh:before{content:"\e2d0"}.fa-buromobelexperte:before{content:"\f37f"}.fa-salesforce:before{content:"\f83b"}.fa-octopus-deploy:before{content:"\e082"}.fa-medapps:before{content:"\f3c6"}.fa-ns8:before{content:"\f3d5"}.fa-pinterest-p:before{content:"\f231"}.fa-apper:before{content:"\f371"}.fa-fort-awesome:before{content:"\f286"}.fa-waze:before{content:"\f83f"}.fa-cc-jcb:before{content:"\f24b"}.fa-snapchat-ghost:before,.fa-snapchat:before{content:"\f2ab"}.fa-fantasy-flight-games:before{content:"\f6dc"}.fa-rust:before{content:"\e07a"}.fa-wix:before{content:"\f5cf"}.fa-behance-square:before,.fa-square-behance:before{content:"\f1b5"}.fa-supple:before{content:"\f3f9"}.fa-rebel:before{content:"\f1d0"}.fa-css3:before{content:"\f13c"}.fa-staylinked:before{content:"\f3f5"}.fa-kaggle:before{content:"\f5fa"}.fa-space-awesome:before{content:"\e5ac"}.fa-deviantart:before{content:"\f1bd"}.fa-cpanel:before{content:"\f388"}.fa-goodreads-g:before{content:"\f3a9"}.fa-git-square:before,.fa-square-git:before{content:"\f1d2"}.fa-square-tumblr:before,.fa-tumblr-square:before{content:"\f174"}.fa-trello:before{content:"\f181"}.fa-creative-commons-nc-jp:before{content:"\f4ea"}.fa-get-pocket:before{content:"\f265"}.fa-perbyte:before{content:"\e083"}.fa-grunt:before{content:"\f3ad"}.fa-weebly:before{content:"\f5cc"}.fa-connectdevelop:before{content:"\f20e"}.fa-leanpub:before{content:"\f212"}.fa-black-tie:before{content:"\f27e"}.fa-themeco:before{content:"\f5c6"}.fa-python:before{content:"\f3e2"}.fa-android:before{content:"\f17b"}.fa-bots:before{content:"\e340"}.fa-free-code-camp:before{content:"\f2c5"}.fa-hornbill:before{content:"\f592"}.fa-js:before{content:"\f3b8"}.fa-ideal:before{content:"\e013"}.fa-git:before{content:"\f1d3"}.fa-dev:before{content:"\f6cc"}.fa-sketch:before{content:"\f7c6"}.fa-yandex-international:before{content:"\f414"}.fa-cc-amex:before{content:"\f1f3"}.fa-uber:before{content:"\f402"}.fa-github:before{content:"\f09b"}.fa-php:before{content:"\f457"}.fa-alipay:before{content:"\f642"}.fa-youtube:before{content:"\f167"}.fa-skyatlas:before{content:"\f216"}.fa-firefox-browser:before{content:"\e007"}.fa-replyd:before{content:"\f3e6"}.fa-suse:before{content:"\f7d6"}.fa-jenkins:before{content:"\f3b6"}.fa-twitter:before{content:"\f099"}.fa-rockrms:before{content:"\f3e9"}.fa-pinterest:before{content:"\f0d2"}.fa-buffer:before{content:"\f837"}.fa-npm:before{content:"\f3d4"}.fa-yammer:before{content:"\f840"}.fa-btc:before{content:"\f15a"}.fa-dribbble:before{content:"\f17d"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-internet-explorer:before{content:"\f26b"}.fa-telegram-plane:before,.fa-telegram:before{content:"\f2c6"}.fa-old-republic:before{content:"\f510"}.fa-square-whatsapp:before,.fa-whatsapp-square:before{content:"\f40c"}.fa-node-js:before{content:"\f3d3"}.fa-edge-legacy:before{content:"\e078"}.fa-slack-hash:before,.fa-slack:before{content:"\f198"}.fa-medrt:before{content:"\f3c8"}.fa-usb:before{content:"\f287"}.fa-tumblr:before{content:"\f173"}.fa-vaadin:before{content:"\f408"}.fa-quora:before{content:"\f2c4"}.fa-reacteurope:before{content:"\f75d"}.fa-medium-m:before,.fa-medium:before{content:"\f23a"}.fa-amilia:before{content:"\f36d"}.fa-mixcloud:before{content:"\f289"}.fa-flipboard:before{content:"\f44d"}.fa-viacoin:before{content:"\f237"}.fa-critical-role:before{content:"\f6c9"}.fa-sitrox:before{content:"\e44a"}.fa-discourse:before{content:"\f393"}.fa-joomla:before{content:"\f1aa"}.fa-mastodon:before{content:"\f4f6"}.fa-airbnb:before{content:"\f834"}.fa-wolf-pack-battalion:before{content:"\f514"}.fa-buy-n-large:before{content:"\f8a6"}.fa-gulp:before{content:"\f3ae"}.fa-creative-commons-sampling-plus:before{content:"\f4f1"}.fa-strava:before{content:"\f428"}.fa-ember:before{content:"\f423"}.fa-canadian-maple-leaf:before{content:"\f785"}.fa-teamspeak:before{content:"\f4f9"}.fa-pushed:before{content:"\f3e1"}.fa-wordpress-simple:before{content:"\f411"}.fa-nutritionix:before{content:"\f3d6"}.fa-wodu:before{content:"\e088"}.fa-google-pay:before{content:"\e079"}.fa-intercom:before{content:"\f7af"}.fa-zhihu:before{content:"\f63f"}.fa-korvue:before{content:"\f42f"}.fa-pix:before{content:"\e43a"}.fa-steam-symbol:before{content:"\f3f6"}:host,:root{--fa-font-regular:normal 400 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.ttf) format("truetype")}.fa-regular,.far{font-weight:400}:host,:root{--fa-style-family-classic:"Font Awesome 6 Free";--fa-font-solid:normal 900 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.ttf) format("truetype")}.fa-solid,.fas{font-weight:900}@font-face{font-family:"Font Awesome 5 Brands";font-display:block;font-weight:400;src:url(../webfonts/fa-brands-400.woff2) format("woff2"),url(../webfonts/fa-brands-400.ttf) format("truetype")}@font-face{font-family:"Font Awesome 5 Free";font-display:block;font-weight:900;src:url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.ttf) format("truetype")}@font-face{font-family:"Font Awesome 5 Free";font-display:block;font-weight:400;src:url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.ttf) format("truetype")}@font-face{font-family:"FontAwesome";font-display:block;src:url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.ttf) format("truetype")}@font-face{font-family:"FontAwesome";font-display:block;src:url(../webfonts/fa-brands-400.woff2) format("woff2"),url(../webfonts/fa-brands-400.ttf) format("truetype")}@font-face{font-family:"FontAwesome";font-display:block;src:url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.ttf) format("truetype");unicode-range:u+f003,u+f006,u+f014,u+f016-f017,u+f01a-f01b,u+f01d,u+f022,u+f03e,u+f044,u+f046,u+f05c-f05d,u+f06e,u+f070,u+f087-f088,u+f08a,u+f094,u+f096-f097,u+f09d,u+f0a0,u+f0a2,u+f0a4-f0a7,u+f0c5,u+f0c7,u+f0e5-f0e6,u+f0eb,u+f0f6-f0f8,u+f10c,u+f114-f115,u+f118-f11a,u+f11c-f11d,u+f133,u+f147,u+f14e,u+f150-f152,u+f185-f186,u+f18e,u+f190-f192,u+f196,u+f1c1-f1c9,u+f1d9,u+f1db,u+f1e3,u+f1ea,u+f1f7,u+f1f9,u+f20a,u+f247-f248,u+f24a,u+f24d,u+f255-f25b,u+f25d,u+f271-f274,u+f278,u+f27b,u+f28c,u+f28e,u+f29c,u+f2b5,u+f2b7,u+f2ba,u+f2bc,u+f2be,u+f2c0-f2c1,u+f2c3,u+f2d0,u+f2d2,u+f2d4,u+f2dc}@font-face{font-family:"FontAwesome";font-display:block;src:url(../webfonts/fa-v4compatibility.woff2) format("woff2"),url(../webfonts/fa-v4compatibility.ttf) format("truetype");unicode-range:u+f041,u+f047,u+f065-f066,u+f07d-f07e,u+f080,u+f08b,u+f08e,u+f090,u+f09a,u+f0ac,u+f0ae,u+f0b2,u+f0d0,u+f0d6,u+f0e4,u+f0ec,u+f10a-f10b,u+f123,u+f13e,u+f148-f149,u+f14c,u+f156,u+f15e,u+f160-f161,u+f163,u+f175-f178,u+f195,u+f1f8,u+f219,u+f27a} \ No newline at end of file +.fa{font-family:var(--fa-style-family,"Font Awesome 6 Free");font-weight:var(--fa-style,900)}.fa,.fa-brands,.fa-classic,.fa-regular,.fa-sharp,.fa-solid,.fab,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:var(--fa-display,inline-block);font-style:normal;font-variant:normal;line-height:1;text-rendering:auto}.fa-classic,.fa-regular,.fa-solid,.far,.fas{font-family:"Font Awesome 6 Free"}.fa-brands,.fab{font-family:"Font Awesome 6 Brands"}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-2xs{font-size:.625em;line-height:.1em;vertical-align:.225em}.fa-xs{font-size:.75em;line-height:.08333em;vertical-align:.125em}.fa-sm{font-size:.875em;line-height:.07143em;vertical-align:.05357em}.fa-lg{font-size:1.25em;line-height:.05em;vertical-align:-.075em}.fa-xl{font-size:1.5em;line-height:.04167em;vertical-align:-.125em}.fa-2xl{font-size:2em;line-height:.03125em;vertical-align:-.1875em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:var(--fa-li-margin,2.5em);padding-left:0}.fa-ul>li{position:relative}.fa-li{left:calc(var(--fa-li-width, 2em)*-1);position:absolute;text-align:center;width:var(--fa-li-width,2em);line-height:inherit}.fa-border{border-radius:var(--fa-border-radius,.1em);border:var(--fa-border-width,.08em) var(--fa-border-style,solid) var(--fa-border-color,#eee);padding:var(--fa-border-padding,.2em .25em .15em)}.fa-pull-left{float:left;margin-right:var(--fa-pull-margin,.3em)}.fa-pull-right{float:right;margin-left:var(--fa-pull-margin,.3em)}.fa-beat{-webkit-animation-name:fa-beat;animation-name:fa-beat;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,ease-in-out);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-bounce{-webkit-animation-name:fa-bounce;animation-name:fa-bounce;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.28,.84,.42,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.28,.84,.42,1))}.fa-fade{-webkit-animation-name:fa-fade;animation-name:fa-fade;-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-beat-fade,.fa-fade{-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s)}.fa-beat-fade{-webkit-animation-name:fa-beat-fade;animation-name:fa-beat-fade;-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-flip{-webkit-animation-name:fa-flip;animation-name:fa-flip;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,ease-in-out);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-shake{-webkit-animation-name:fa-shake;animation-name:fa-shake;-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,linear);animation-timing-function:var(--fa-animation-timing,linear)}.fa-shake,.fa-spin{-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal)}.fa-spin{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-duration:var(--fa-animation-duration,2s);animation-duration:var(--fa-animation-duration,2s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,linear);animation-timing-function:var(--fa-animation-timing,linear)}.fa-spin-reverse{--fa-animation-direction:reverse}.fa-pulse,.fa-spin-pulse{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,steps(8));animation-timing-function:var(--fa-animation-timing,steps(8))}@media (prefers-reduced-motion:reduce){.fa-beat,.fa-beat-fade,.fa-bounce,.fa-fade,.fa-flip,.fa-pulse,.fa-shake,.fa-spin,.fa-spin-pulse{-webkit-animation-delay:-1ms;animation-delay:-1ms;-webkit-animation-duration:1ms;animation-duration:1ms;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s}}@-webkit-keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale,1.25));transform:scale(var(--fa-beat-scale,1.25))}}@keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale,1.25));transform:scale(var(--fa-beat-scale,1.25))}}@-webkit-keyframes fa-bounce{0%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em));transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0)}57%{-webkit-transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em));transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em))}64%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}to{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}}@keyframes fa-bounce{0%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em));transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0)}57%{-webkit-transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em));transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em))}64%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}to{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}}@-webkit-keyframes fa-fade{50%{opacity:var(--fa-fade-opacity,.4)}}@keyframes fa-fade{50%{opacity:var(--fa-fade-opacity,.4)}}@-webkit-keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity,.4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale,1.125));transform:scale(var(--fa-beat-fade-scale,1.125))}}@keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity,.4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale,1.125));transform:scale(var(--fa-beat-fade-scale,1.125))}}@-webkit-keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg));transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg))}}@keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg));transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg))}}@-webkit-keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}8%,24%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}40%,to{-webkit-transform:rotate(0deg);transform:rotate(0deg)}}@keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}8%,24%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}40%,to{-webkit-transform:rotate(0deg);transform:rotate(0deg)}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}.fa-rotate-by{-webkit-transform:rotate(var(--fa-rotate-angle,none));transform:rotate(var(--fa-rotate-angle,none))}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%;z-index:var(--fa-stack-z-index,auto)}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:var(--fa-inverse,#fff)} + +.fa-0:before{content:"\30"}.fa-1:before{content:"\31"}.fa-2:before{content:"\32"}.fa-3:before{content:"\33"}.fa-4:before{content:"\34"}.fa-5:before{content:"\35"}.fa-6:before{content:"\36"}.fa-7:before{content:"\37"}.fa-8:before{content:"\38"}.fa-9:before{content:"\39"}.fa-fill-drip:before{content:"\f576"}.fa-arrows-to-circle:before{content:"\e4bd"}.fa-chevron-circle-right:before,.fa-circle-chevron-right:before{content:"\f138"}.fa-at:before{content:"\40"}.fa-trash-alt:before,.fa-trash-can:before{content:"\f2ed"}.fa-text-height:before{content:"\f034"}.fa-user-times:before,.fa-user-xmark:before{content:"\f235"}.fa-stethoscope:before{content:"\f0f1"}.fa-comment-alt:before,.fa-message:before{content:"\f27a"}.fa-info:before{content:"\f129"}.fa-compress-alt:before,.fa-down-left-and-up-right-to-center:before{content:"\f422"}.fa-explosion:before{content:"\e4e9"}.fa-file-alt:before,.fa-file-lines:before,.fa-file-text:before{content:"\f15c"}.fa-wave-square:before{content:"\f83e"}.fa-ring:before{content:"\f70b"}.fa-building-un:before{content:"\e4d9"}.fa-dice-three:before{content:"\f527"}.fa-calendar-alt:before,.fa-calendar-days:before{content:"\f073"}.fa-anchor-circle-check:before{content:"\e4aa"}.fa-building-circle-arrow-right:before{content:"\e4d1"}.fa-volleyball-ball:before,.fa-volleyball:before{content:"\f45f"}.fa-arrows-up-to-line:before{content:"\e4c2"}.fa-sort-desc:before,.fa-sort-down:before{content:"\f0dd"}.fa-circle-minus:before,.fa-minus-circle:before{content:"\f056"}.fa-door-open:before{content:"\f52b"}.fa-right-from-bracket:before,.fa-sign-out-alt:before{content:"\f2f5"}.fa-atom:before{content:"\f5d2"}.fa-soap:before{content:"\e06e"}.fa-heart-music-camera-bolt:before,.fa-icons:before{content:"\f86d"}.fa-microphone-alt-slash:before,.fa-microphone-lines-slash:before{content:"\f539"}.fa-bridge-circle-check:before{content:"\e4c9"}.fa-pump-medical:before{content:"\e06a"}.fa-fingerprint:before{content:"\f577"}.fa-hand-point-right:before{content:"\f0a4"}.fa-magnifying-glass-location:before,.fa-search-location:before{content:"\f689"}.fa-forward-step:before,.fa-step-forward:before{content:"\f051"}.fa-face-smile-beam:before,.fa-smile-beam:before{content:"\f5b8"}.fa-flag-checkered:before{content:"\f11e"}.fa-football-ball:before,.fa-football:before{content:"\f44e"}.fa-school-circle-exclamation:before{content:"\e56c"}.fa-crop:before{content:"\f125"}.fa-angle-double-down:before,.fa-angles-down:before{content:"\f103"}.fa-users-rectangle:before{content:"\e594"}.fa-people-roof:before{content:"\e537"}.fa-people-line:before{content:"\e534"}.fa-beer-mug-empty:before,.fa-beer:before{content:"\f0fc"}.fa-diagram-predecessor:before{content:"\e477"}.fa-arrow-up-long:before,.fa-long-arrow-up:before{content:"\f176"}.fa-burn:before,.fa-fire-flame-simple:before{content:"\f46a"}.fa-male:before,.fa-person:before{content:"\f183"}.fa-laptop:before{content:"\f109"}.fa-file-csv:before{content:"\f6dd"}.fa-menorah:before{content:"\f676"}.fa-truck-plane:before{content:"\e58f"}.fa-record-vinyl:before{content:"\f8d9"}.fa-face-grin-stars:before,.fa-grin-stars:before{content:"\f587"}.fa-bong:before{content:"\f55c"}.fa-pastafarianism:before,.fa-spaghetti-monster-flying:before{content:"\f67b"}.fa-arrow-down-up-across-line:before{content:"\e4af"}.fa-spoon:before,.fa-utensil-spoon:before{content:"\f2e5"}.fa-jar-wheat:before{content:"\e517"}.fa-envelopes-bulk:before,.fa-mail-bulk:before{content:"\f674"}.fa-file-circle-exclamation:before{content:"\e4eb"}.fa-circle-h:before,.fa-hospital-symbol:before{content:"\f47e"}.fa-pager:before{content:"\f815"}.fa-address-book:before,.fa-contact-book:before{content:"\f2b9"}.fa-strikethrough:before{content:"\f0cc"}.fa-k:before{content:"\4b"}.fa-landmark-flag:before{content:"\e51c"}.fa-pencil-alt:before,.fa-pencil:before{content:"\f303"}.fa-backward:before{content:"\f04a"}.fa-caret-right:before{content:"\f0da"}.fa-comments:before{content:"\f086"}.fa-file-clipboard:before,.fa-paste:before{content:"\f0ea"}.fa-code-pull-request:before{content:"\e13c"}.fa-clipboard-list:before{content:"\f46d"}.fa-truck-loading:before,.fa-truck-ramp-box:before{content:"\f4de"}.fa-user-check:before{content:"\f4fc"}.fa-vial-virus:before{content:"\e597"}.fa-sheet-plastic:before{content:"\e571"}.fa-blog:before{content:"\f781"}.fa-user-ninja:before{content:"\f504"}.fa-person-arrow-up-from-line:before{content:"\e539"}.fa-scroll-torah:before,.fa-torah:before{content:"\f6a0"}.fa-broom-ball:before,.fa-quidditch-broom-ball:before,.fa-quidditch:before{content:"\f458"}.fa-toggle-off:before{content:"\f204"}.fa-archive:before,.fa-box-archive:before{content:"\f187"}.fa-person-drowning:before{content:"\e545"}.fa-arrow-down-9-1:before,.fa-sort-numeric-desc:before,.fa-sort-numeric-down-alt:before{content:"\f886"}.fa-face-grin-tongue-squint:before,.fa-grin-tongue-squint:before{content:"\f58a"}.fa-spray-can:before{content:"\f5bd"}.fa-truck-monster:before{content:"\f63b"}.fa-w:before{content:"\57"}.fa-earth-africa:before,.fa-globe-africa:before{content:"\f57c"}.fa-rainbow:before{content:"\f75b"}.fa-circle-notch:before{content:"\f1ce"}.fa-tablet-alt:before,.fa-tablet-screen-button:before{content:"\f3fa"}.fa-paw:before{content:"\f1b0"}.fa-cloud:before{content:"\f0c2"}.fa-trowel-bricks:before{content:"\e58a"}.fa-face-flushed:before,.fa-flushed:before{content:"\f579"}.fa-hospital-user:before{content:"\f80d"}.fa-tent-arrow-left-right:before{content:"\e57f"}.fa-gavel:before,.fa-legal:before{content:"\f0e3"}.fa-binoculars:before{content:"\f1e5"}.fa-microphone-slash:before{content:"\f131"}.fa-box-tissue:before{content:"\e05b"}.fa-motorcycle:before{content:"\f21c"}.fa-bell-concierge:before,.fa-concierge-bell:before{content:"\f562"}.fa-pen-ruler:before,.fa-pencil-ruler:before{content:"\f5ae"}.fa-people-arrows-left-right:before,.fa-people-arrows:before{content:"\e068"}.fa-mars-and-venus-burst:before{content:"\e523"}.fa-caret-square-right:before,.fa-square-caret-right:before{content:"\f152"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-sun-plant-wilt:before{content:"\e57a"}.fa-toilets-portable:before{content:"\e584"}.fa-hockey-puck:before{content:"\f453"}.fa-table:before{content:"\f0ce"}.fa-magnifying-glass-arrow-right:before{content:"\e521"}.fa-digital-tachograph:before,.fa-tachograph-digital:before{content:"\f566"}.fa-users-slash:before{content:"\e073"}.fa-clover:before{content:"\e139"}.fa-mail-reply:before,.fa-reply:before{content:"\f3e5"}.fa-star-and-crescent:before{content:"\f699"}.fa-house-fire:before{content:"\e50c"}.fa-minus-square:before,.fa-square-minus:before{content:"\f146"}.fa-helicopter:before{content:"\f533"}.fa-compass:before{content:"\f14e"}.fa-caret-square-down:before,.fa-square-caret-down:before{content:"\f150"}.fa-file-circle-question:before{content:"\e4ef"}.fa-laptop-code:before{content:"\f5fc"}.fa-swatchbook:before{content:"\f5c3"}.fa-prescription-bottle:before{content:"\f485"}.fa-bars:before,.fa-navicon:before{content:"\f0c9"}.fa-people-group:before{content:"\e533"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-heart-broken:before,.fa-heart-crack:before{content:"\f7a9"}.fa-external-link-square-alt:before,.fa-square-up-right:before{content:"\f360"}.fa-face-kiss-beam:before,.fa-kiss-beam:before{content:"\f597"}.fa-film:before{content:"\f008"}.fa-ruler-horizontal:before{content:"\f547"}.fa-people-robbery:before{content:"\e536"}.fa-lightbulb:before{content:"\f0eb"}.fa-caret-left:before{content:"\f0d9"}.fa-circle-exclamation:before,.fa-exclamation-circle:before{content:"\f06a"}.fa-school-circle-xmark:before{content:"\e56d"}.fa-arrow-right-from-bracket:before,.fa-sign-out:before{content:"\f08b"}.fa-chevron-circle-down:before,.fa-circle-chevron-down:before{content:"\f13a"}.fa-unlock-alt:before,.fa-unlock-keyhole:before{content:"\f13e"}.fa-cloud-showers-heavy:before{content:"\f740"}.fa-headphones-alt:before,.fa-headphones-simple:before{content:"\f58f"}.fa-sitemap:before{content:"\f0e8"}.fa-circle-dollar-to-slot:before,.fa-donate:before{content:"\f4b9"}.fa-memory:before{content:"\f538"}.fa-road-spikes:before{content:"\e568"}.fa-fire-burner:before{content:"\e4f1"}.fa-flag:before{content:"\f024"}.fa-hanukiah:before{content:"\f6e6"}.fa-feather:before{content:"\f52d"}.fa-volume-down:before,.fa-volume-low:before{content:"\f027"}.fa-comment-slash:before{content:"\f4b3"}.fa-cloud-sun-rain:before{content:"\f743"}.fa-compress:before{content:"\f066"}.fa-wheat-alt:before,.fa-wheat-awn:before{content:"\e2cd"}.fa-ankh:before{content:"\f644"}.fa-hands-holding-child:before{content:"\e4fa"}.fa-asterisk:before{content:"\2a"}.fa-check-square:before,.fa-square-check:before{content:"\f14a"}.fa-peseta-sign:before{content:"\e221"}.fa-header:before,.fa-heading:before{content:"\f1dc"}.fa-ghost:before{content:"\f6e2"}.fa-list-squares:before,.fa-list:before{content:"\f03a"}.fa-phone-square-alt:before,.fa-square-phone-flip:before{content:"\f87b"}.fa-cart-plus:before{content:"\f217"}.fa-gamepad:before{content:"\f11b"}.fa-circle-dot:before,.fa-dot-circle:before{content:"\f192"}.fa-dizzy:before,.fa-face-dizzy:before{content:"\f567"}.fa-egg:before{content:"\f7fb"}.fa-house-medical-circle-xmark:before{content:"\e513"}.fa-campground:before{content:"\f6bb"}.fa-folder-plus:before{content:"\f65e"}.fa-futbol-ball:before,.fa-futbol:before,.fa-soccer-ball:before{content:"\f1e3"}.fa-paint-brush:before,.fa-paintbrush:before{content:"\f1fc"}.fa-lock:before{content:"\f023"}.fa-gas-pump:before{content:"\f52f"}.fa-hot-tub-person:before,.fa-hot-tub:before{content:"\f593"}.fa-map-location:before,.fa-map-marked:before{content:"\f59f"}.fa-house-flood-water:before{content:"\e50e"}.fa-tree:before{content:"\f1bb"}.fa-bridge-lock:before{content:"\e4cc"}.fa-sack-dollar:before{content:"\f81d"}.fa-edit:before,.fa-pen-to-square:before{content:"\f044"}.fa-car-side:before{content:"\f5e4"}.fa-share-alt:before,.fa-share-nodes:before{content:"\f1e0"}.fa-heart-circle-minus:before{content:"\e4ff"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-microscope:before{content:"\f610"}.fa-sink:before{content:"\e06d"}.fa-bag-shopping:before,.fa-shopping-bag:before{content:"\f290"}.fa-arrow-down-z-a:before,.fa-sort-alpha-desc:before,.fa-sort-alpha-down-alt:before{content:"\f881"}.fa-mitten:before{content:"\f7b5"}.fa-person-rays:before{content:"\e54d"}.fa-users:before{content:"\f0c0"}.fa-eye-slash:before{content:"\f070"}.fa-flask-vial:before{content:"\e4f3"}.fa-hand-paper:before,.fa-hand:before{content:"\f256"}.fa-om:before{content:"\f679"}.fa-worm:before{content:"\e599"}.fa-house-circle-xmark:before{content:"\e50b"}.fa-plug:before{content:"\f1e6"}.fa-chevron-up:before{content:"\f077"}.fa-hand-spock:before{content:"\f259"}.fa-stopwatch:before{content:"\f2f2"}.fa-face-kiss:before,.fa-kiss:before{content:"\f596"}.fa-bridge-circle-xmark:before{content:"\e4cb"}.fa-face-grin-tongue:before,.fa-grin-tongue:before{content:"\f589"}.fa-chess-bishop:before{content:"\f43a"}.fa-face-grin-wink:before,.fa-grin-wink:before{content:"\f58c"}.fa-deaf:before,.fa-deafness:before,.fa-ear-deaf:before,.fa-hard-of-hearing:before{content:"\f2a4"}.fa-road-circle-check:before{content:"\e564"}.fa-dice-five:before{content:"\f523"}.fa-rss-square:before,.fa-square-rss:before{content:"\f143"}.fa-land-mine-on:before{content:"\e51b"}.fa-i-cursor:before{content:"\f246"}.fa-stamp:before{content:"\f5bf"}.fa-stairs:before{content:"\e289"}.fa-i:before{content:"\49"}.fa-hryvnia-sign:before,.fa-hryvnia:before{content:"\f6f2"}.fa-pills:before{content:"\f484"}.fa-face-grin-wide:before,.fa-grin-alt:before{content:"\f581"}.fa-tooth:before{content:"\f5c9"}.fa-v:before{content:"\56"}.fa-bangladeshi-taka-sign:before{content:"\e2e6"}.fa-bicycle:before{content:"\f206"}.fa-rod-asclepius:before,.fa-rod-snake:before,.fa-staff-aesculapius:before,.fa-staff-snake:before{content:"\e579"}.fa-head-side-cough-slash:before{content:"\e062"}.fa-ambulance:before,.fa-truck-medical:before{content:"\f0f9"}.fa-wheat-awn-circle-exclamation:before{content:"\e598"}.fa-snowman:before{content:"\f7d0"}.fa-mortar-pestle:before{content:"\f5a7"}.fa-road-barrier:before{content:"\e562"}.fa-school:before{content:"\f549"}.fa-igloo:before{content:"\f7ae"}.fa-joint:before{content:"\f595"}.fa-angle-right:before{content:"\f105"}.fa-horse:before{content:"\f6f0"}.fa-q:before{content:"\51"}.fa-g:before{content:"\47"}.fa-notes-medical:before{content:"\f481"}.fa-temperature-2:before,.fa-temperature-half:before,.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\f2c9"}.fa-dong-sign:before{content:"\e169"}.fa-capsules:before{content:"\f46b"}.fa-poo-bolt:before,.fa-poo-storm:before{content:"\f75a"}.fa-face-frown-open:before,.fa-frown-open:before{content:"\f57a"}.fa-hand-point-up:before{content:"\f0a6"}.fa-money-bill:before{content:"\f0d6"}.fa-bookmark:before{content:"\f02e"}.fa-align-justify:before{content:"\f039"}.fa-umbrella-beach:before{content:"\f5ca"}.fa-helmet-un:before{content:"\e503"}.fa-bullseye:before{content:"\f140"}.fa-bacon:before{content:"\f7e5"}.fa-hand-point-down:before{content:"\f0a7"}.fa-arrow-up-from-bracket:before{content:"\e09a"}.fa-folder-blank:before,.fa-folder:before{content:"\f07b"}.fa-file-medical-alt:before,.fa-file-waveform:before{content:"\f478"}.fa-radiation:before{content:"\f7b9"}.fa-chart-simple:before{content:"\e473"}.fa-mars-stroke:before{content:"\f229"}.fa-vial:before{content:"\f492"}.fa-dashboard:before,.fa-gauge-med:before,.fa-gauge:before,.fa-tachometer-alt-average:before{content:"\f624"}.fa-magic-wand-sparkles:before,.fa-wand-magic-sparkles:before{content:"\e2ca"}.fa-e:before{content:"\45"}.fa-pen-alt:before,.fa-pen-clip:before{content:"\f305"}.fa-bridge-circle-exclamation:before{content:"\e4ca"}.fa-user:before{content:"\f007"}.fa-school-circle-check:before{content:"\e56b"}.fa-dumpster:before{content:"\f793"}.fa-shuttle-van:before,.fa-van-shuttle:before{content:"\f5b6"}.fa-building-user:before{content:"\e4da"}.fa-caret-square-left:before,.fa-square-caret-left:before{content:"\f191"}.fa-highlighter:before{content:"\f591"}.fa-key:before{content:"\f084"}.fa-bullhorn:before{content:"\f0a1"}.fa-globe:before{content:"\f0ac"}.fa-synagogue:before{content:"\f69b"}.fa-person-half-dress:before{content:"\e548"}.fa-road-bridge:before{content:"\e563"}.fa-location-arrow:before{content:"\f124"}.fa-c:before{content:"\43"}.fa-tablet-button:before{content:"\f10a"}.fa-building-lock:before{content:"\e4d6"}.fa-pizza-slice:before{content:"\f818"}.fa-money-bill-wave:before{content:"\f53a"}.fa-area-chart:before,.fa-chart-area:before{content:"\f1fe"}.fa-house-flag:before{content:"\e50d"}.fa-person-circle-minus:before{content:"\e540"}.fa-ban:before,.fa-cancel:before{content:"\f05e"}.fa-camera-rotate:before{content:"\e0d8"}.fa-air-freshener:before,.fa-spray-can-sparkles:before{content:"\f5d0"}.fa-star:before{content:"\f005"}.fa-repeat:before{content:"\f363"}.fa-cross:before{content:"\f654"}.fa-box:before{content:"\f466"}.fa-venus-mars:before{content:"\f228"}.fa-arrow-pointer:before,.fa-mouse-pointer:before{content:"\f245"}.fa-expand-arrows-alt:before,.fa-maximize:before{content:"\f31e"}.fa-charging-station:before{content:"\f5e7"}.fa-shapes:before,.fa-triangle-circle-square:before{content:"\f61f"}.fa-random:before,.fa-shuffle:before{content:"\f074"}.fa-person-running:before,.fa-running:before{content:"\f70c"}.fa-mobile-retro:before{content:"\e527"}.fa-grip-lines-vertical:before{content:"\f7a5"}.fa-spider:before{content:"\f717"}.fa-hands-bound:before{content:"\e4f9"}.fa-file-invoice-dollar:before{content:"\f571"}.fa-plane-circle-exclamation:before{content:"\e556"}.fa-x-ray:before{content:"\f497"}.fa-spell-check:before{content:"\f891"}.fa-slash:before{content:"\f715"}.fa-computer-mouse:before,.fa-mouse:before{content:"\f8cc"}.fa-arrow-right-to-bracket:before,.fa-sign-in:before{content:"\f090"}.fa-shop-slash:before,.fa-store-alt-slash:before{content:"\e070"}.fa-server:before{content:"\f233"}.fa-virus-covid-slash:before{content:"\e4a9"}.fa-shop-lock:before{content:"\e4a5"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-blender-phone:before{content:"\f6b6"}.fa-building-wheat:before{content:"\e4db"}.fa-person-breastfeeding:before{content:"\e53a"}.fa-right-to-bracket:before,.fa-sign-in-alt:before{content:"\f2f6"}.fa-venus:before{content:"\f221"}.fa-passport:before{content:"\f5ab"}.fa-heart-pulse:before,.fa-heartbeat:before{content:"\f21e"}.fa-people-carry-box:before,.fa-people-carry:before{content:"\f4ce"}.fa-temperature-high:before{content:"\f769"}.fa-microchip:before{content:"\f2db"}.fa-crown:before{content:"\f521"}.fa-weight-hanging:before{content:"\f5cd"}.fa-xmarks-lines:before{content:"\e59a"}.fa-file-prescription:before{content:"\f572"}.fa-weight-scale:before,.fa-weight:before{content:"\f496"}.fa-user-friends:before,.fa-user-group:before{content:"\f500"}.fa-arrow-up-a-z:before,.fa-sort-alpha-up:before{content:"\f15e"}.fa-chess-knight:before{content:"\f441"}.fa-face-laugh-squint:before,.fa-laugh-squint:before{content:"\f59b"}.fa-wheelchair:before{content:"\f193"}.fa-arrow-circle-up:before,.fa-circle-arrow-up:before{content:"\f0aa"}.fa-toggle-on:before{content:"\f205"}.fa-person-walking:before,.fa-walking:before{content:"\f554"}.fa-l:before{content:"\4c"}.fa-fire:before{content:"\f06d"}.fa-bed-pulse:before,.fa-procedures:before{content:"\f487"}.fa-shuttle-space:before,.fa-space-shuttle:before{content:"\f197"}.fa-face-laugh:before,.fa-laugh:before{content:"\f599"}.fa-folder-open:before{content:"\f07c"}.fa-heart-circle-plus:before{content:"\e500"}.fa-code-fork:before{content:"\e13b"}.fa-city:before{content:"\f64f"}.fa-microphone-alt:before,.fa-microphone-lines:before{content:"\f3c9"}.fa-pepper-hot:before{content:"\f816"}.fa-unlock:before{content:"\f09c"}.fa-colon-sign:before{content:"\e140"}.fa-headset:before{content:"\f590"}.fa-store-slash:before{content:"\e071"}.fa-road-circle-xmark:before{content:"\e566"}.fa-user-minus:before{content:"\f503"}.fa-mars-stroke-up:before,.fa-mars-stroke-v:before{content:"\f22a"}.fa-champagne-glasses:before,.fa-glass-cheers:before{content:"\f79f"}.fa-clipboard:before{content:"\f328"}.fa-house-circle-exclamation:before{content:"\e50a"}.fa-file-arrow-up:before,.fa-file-upload:before{content:"\f574"}.fa-wifi-3:before,.fa-wifi-strong:before,.fa-wifi:before{content:"\f1eb"}.fa-bath:before,.fa-bathtub:before{content:"\f2cd"}.fa-underline:before{content:"\f0cd"}.fa-user-edit:before,.fa-user-pen:before{content:"\f4ff"}.fa-signature:before{content:"\f5b7"}.fa-stroopwafel:before{content:"\f551"}.fa-bold:before{content:"\f032"}.fa-anchor-lock:before{content:"\e4ad"}.fa-building-ngo:before{content:"\e4d7"}.fa-manat-sign:before{content:"\e1d5"}.fa-not-equal:before{content:"\f53e"}.fa-border-style:before,.fa-border-top-left:before{content:"\f853"}.fa-map-location-dot:before,.fa-map-marked-alt:before{content:"\f5a0"}.fa-jedi:before{content:"\f669"}.fa-poll:before,.fa-square-poll-vertical:before{content:"\f681"}.fa-mug-hot:before{content:"\f7b6"}.fa-battery-car:before,.fa-car-battery:before{content:"\f5df"}.fa-gift:before{content:"\f06b"}.fa-dice-two:before{content:"\f528"}.fa-chess-queen:before{content:"\f445"}.fa-glasses:before{content:"\f530"}.fa-chess-board:before{content:"\f43c"}.fa-building-circle-check:before{content:"\e4d2"}.fa-person-chalkboard:before{content:"\e53d"}.fa-mars-stroke-h:before,.fa-mars-stroke-right:before{content:"\f22b"}.fa-hand-back-fist:before,.fa-hand-rock:before{content:"\f255"}.fa-caret-square-up:before,.fa-square-caret-up:before{content:"\f151"}.fa-cloud-showers-water:before{content:"\e4e4"}.fa-bar-chart:before,.fa-chart-bar:before{content:"\f080"}.fa-hands-bubbles:before,.fa-hands-wash:before{content:"\e05e"}.fa-less-than-equal:before{content:"\f537"}.fa-train:before{content:"\f238"}.fa-eye-low-vision:before,.fa-low-vision:before{content:"\f2a8"}.fa-crow:before{content:"\f520"}.fa-sailboat:before{content:"\e445"}.fa-window-restore:before{content:"\f2d2"}.fa-plus-square:before,.fa-square-plus:before{content:"\f0fe"}.fa-torii-gate:before{content:"\f6a1"}.fa-frog:before{content:"\f52e"}.fa-bucket:before{content:"\e4cf"}.fa-image:before{content:"\f03e"}.fa-microphone:before{content:"\f130"}.fa-cow:before{content:"\f6c8"}.fa-caret-up:before{content:"\f0d8"}.fa-screwdriver:before{content:"\f54a"}.fa-folder-closed:before{content:"\e185"}.fa-house-tsunami:before{content:"\e515"}.fa-square-nfi:before{content:"\e576"}.fa-arrow-up-from-ground-water:before{content:"\e4b5"}.fa-glass-martini-alt:before,.fa-martini-glass:before{content:"\f57b"}.fa-rotate-back:before,.fa-rotate-backward:before,.fa-rotate-left:before,.fa-undo-alt:before{content:"\f2ea"}.fa-columns:before,.fa-table-columns:before{content:"\f0db"}.fa-lemon:before{content:"\f094"}.fa-head-side-mask:before{content:"\e063"}.fa-handshake:before{content:"\f2b5"}.fa-gem:before{content:"\f3a5"}.fa-dolly-box:before,.fa-dolly:before{content:"\f472"}.fa-smoking:before{content:"\f48d"}.fa-compress-arrows-alt:before,.fa-minimize:before{content:"\f78c"}.fa-monument:before{content:"\f5a6"}.fa-snowplow:before{content:"\f7d2"}.fa-angle-double-right:before,.fa-angles-right:before{content:"\f101"}.fa-cannabis:before{content:"\f55f"}.fa-circle-play:before,.fa-play-circle:before{content:"\f144"}.fa-tablets:before{content:"\f490"}.fa-ethernet:before{content:"\f796"}.fa-eur:before,.fa-euro-sign:before,.fa-euro:before{content:"\f153"}.fa-chair:before{content:"\f6c0"}.fa-check-circle:before,.fa-circle-check:before{content:"\f058"}.fa-circle-stop:before,.fa-stop-circle:before{content:"\f28d"}.fa-compass-drafting:before,.fa-drafting-compass:before{content:"\f568"}.fa-plate-wheat:before{content:"\e55a"}.fa-icicles:before{content:"\f7ad"}.fa-person-shelter:before{content:"\e54f"}.fa-neuter:before{content:"\f22c"}.fa-id-badge:before{content:"\f2c1"}.fa-marker:before{content:"\f5a1"}.fa-face-laugh-beam:before,.fa-laugh-beam:before{content:"\f59a"}.fa-helicopter-symbol:before{content:"\e502"}.fa-universal-access:before{content:"\f29a"}.fa-chevron-circle-up:before,.fa-circle-chevron-up:before{content:"\f139"}.fa-lari-sign:before{content:"\e1c8"}.fa-volcano:before{content:"\f770"}.fa-person-walking-dashed-line-arrow-right:before{content:"\e553"}.fa-gbp:before,.fa-pound-sign:before,.fa-sterling-sign:before{content:"\f154"}.fa-viruses:before{content:"\e076"}.fa-square-person-confined:before{content:"\e577"}.fa-user-tie:before{content:"\f508"}.fa-arrow-down-long:before,.fa-long-arrow-down:before{content:"\f175"}.fa-tent-arrow-down-to-line:before{content:"\e57e"}.fa-certificate:before{content:"\f0a3"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-suitcase:before{content:"\f0f2"}.fa-person-skating:before,.fa-skating:before{content:"\f7c5"}.fa-filter-circle-dollar:before,.fa-funnel-dollar:before{content:"\f662"}.fa-camera-retro:before{content:"\f083"}.fa-arrow-circle-down:before,.fa-circle-arrow-down:before{content:"\f0ab"}.fa-arrow-right-to-file:before,.fa-file-import:before{content:"\f56f"}.fa-external-link-square:before,.fa-square-arrow-up-right:before{content:"\f14c"}.fa-box-open:before{content:"\f49e"}.fa-scroll:before{content:"\f70e"}.fa-spa:before{content:"\f5bb"}.fa-location-pin-lock:before{content:"\e51f"}.fa-pause:before{content:"\f04c"}.fa-hill-avalanche:before{content:"\e507"}.fa-temperature-0:before,.fa-temperature-empty:before,.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\f2cb"}.fa-bomb:before{content:"\f1e2"}.fa-registered:before{content:"\f25d"}.fa-address-card:before,.fa-contact-card:before,.fa-vcard:before{content:"\f2bb"}.fa-balance-scale-right:before,.fa-scale-unbalanced-flip:before{content:"\f516"}.fa-subscript:before{content:"\f12c"}.fa-diamond-turn-right:before,.fa-directions:before{content:"\f5eb"}.fa-burst:before{content:"\e4dc"}.fa-house-laptop:before,.fa-laptop-house:before{content:"\e066"}.fa-face-tired:before,.fa-tired:before{content:"\f5c8"}.fa-money-bills:before{content:"\e1f3"}.fa-smog:before{content:"\f75f"}.fa-crutch:before{content:"\f7f7"}.fa-cloud-arrow-up:before,.fa-cloud-upload-alt:before,.fa-cloud-upload:before{content:"\f0ee"}.fa-palette:before{content:"\f53f"}.fa-arrows-turn-right:before{content:"\e4c0"}.fa-vest:before{content:"\e085"}.fa-ferry:before{content:"\e4ea"}.fa-arrows-down-to-people:before{content:"\e4b9"}.fa-seedling:before,.fa-sprout:before{content:"\f4d8"}.fa-arrows-alt-h:before,.fa-left-right:before{content:"\f337"}.fa-boxes-packing:before{content:"\e4c7"}.fa-arrow-circle-left:before,.fa-circle-arrow-left:before{content:"\f0a8"}.fa-group-arrows-rotate:before{content:"\e4f6"}.fa-bowl-food:before{content:"\e4c6"}.fa-candy-cane:before{content:"\f786"}.fa-arrow-down-wide-short:before,.fa-sort-amount-asc:before,.fa-sort-amount-down:before{content:"\f160"}.fa-cloud-bolt:before,.fa-thunderstorm:before{content:"\f76c"}.fa-remove-format:before,.fa-text-slash:before{content:"\f87d"}.fa-face-smile-wink:before,.fa-smile-wink:before{content:"\f4da"}.fa-file-word:before{content:"\f1c2"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-arrows-h:before,.fa-arrows-left-right:before{content:"\f07e"}.fa-house-lock:before{content:"\e510"}.fa-cloud-arrow-down:before,.fa-cloud-download-alt:before,.fa-cloud-download:before{content:"\f0ed"}.fa-children:before{content:"\e4e1"}.fa-blackboard:before,.fa-chalkboard:before{content:"\f51b"}.fa-user-alt-slash:before,.fa-user-large-slash:before{content:"\f4fa"}.fa-envelope-open:before{content:"\f2b6"}.fa-handshake-alt-slash:before,.fa-handshake-simple-slash:before{content:"\e05f"}.fa-mattress-pillow:before{content:"\e525"}.fa-guarani-sign:before{content:"\e19a"}.fa-arrows-rotate:before,.fa-refresh:before,.fa-sync:before{content:"\f021"}.fa-fire-extinguisher:before{content:"\f134"}.fa-cruzeiro-sign:before{content:"\e152"}.fa-greater-than-equal:before{content:"\f532"}.fa-shield-alt:before,.fa-shield-halved:before{content:"\f3ed"}.fa-atlas:before,.fa-book-atlas:before{content:"\f558"}.fa-virus:before{content:"\e074"}.fa-envelope-circle-check:before{content:"\e4e8"}.fa-layer-group:before{content:"\f5fd"}.fa-arrows-to-dot:before{content:"\e4be"}.fa-archway:before{content:"\f557"}.fa-heart-circle-check:before{content:"\e4fd"}.fa-house-chimney-crack:before,.fa-house-damage:before{content:"\f6f1"}.fa-file-archive:before,.fa-file-zipper:before{content:"\f1c6"}.fa-square:before{content:"\f0c8"}.fa-glass-martini:before,.fa-martini-glass-empty:before{content:"\f000"}.fa-couch:before{content:"\f4b8"}.fa-cedi-sign:before{content:"\e0df"}.fa-italic:before{content:"\f033"}.fa-church:before{content:"\f51d"}.fa-comments-dollar:before{content:"\f653"}.fa-democrat:before{content:"\f747"}.fa-z:before{content:"\5a"}.fa-person-skiing:before,.fa-skiing:before{content:"\f7c9"}.fa-road-lock:before{content:"\e567"}.fa-a:before{content:"\41"}.fa-temperature-arrow-down:before,.fa-temperature-down:before{content:"\e03f"}.fa-feather-alt:before,.fa-feather-pointed:before{content:"\f56b"}.fa-p:before{content:"\50"}.fa-snowflake:before{content:"\f2dc"}.fa-newspaper:before{content:"\f1ea"}.fa-ad:before,.fa-rectangle-ad:before{content:"\f641"}.fa-arrow-circle-right:before,.fa-circle-arrow-right:before{content:"\f0a9"}.fa-filter-circle-xmark:before{content:"\e17b"}.fa-locust:before{content:"\e520"}.fa-sort:before,.fa-unsorted:before{content:"\f0dc"}.fa-list-1-2:before,.fa-list-numeric:before,.fa-list-ol:before{content:"\f0cb"}.fa-person-dress-burst:before{content:"\e544"}.fa-money-check-alt:before,.fa-money-check-dollar:before{content:"\f53d"}.fa-vector-square:before{content:"\f5cb"}.fa-bread-slice:before{content:"\f7ec"}.fa-language:before{content:"\f1ab"}.fa-face-kiss-wink-heart:before,.fa-kiss-wink-heart:before{content:"\f598"}.fa-filter:before{content:"\f0b0"}.fa-question:before{content:"\3f"}.fa-file-signature:before{content:"\f573"}.fa-arrows-alt:before,.fa-up-down-left-right:before{content:"\f0b2"}.fa-house-chimney-user:before{content:"\e065"}.fa-hand-holding-heart:before{content:"\f4be"}.fa-puzzle-piece:before{content:"\f12e"}.fa-money-check:before{content:"\f53c"}.fa-star-half-alt:before,.fa-star-half-stroke:before{content:"\f5c0"}.fa-code:before{content:"\f121"}.fa-glass-whiskey:before,.fa-whiskey-glass:before{content:"\f7a0"}.fa-building-circle-exclamation:before{content:"\e4d3"}.fa-magnifying-glass-chart:before{content:"\e522"}.fa-arrow-up-right-from-square:before,.fa-external-link:before{content:"\f08e"}.fa-cubes-stacked:before{content:"\e4e6"}.fa-krw:before,.fa-won-sign:before,.fa-won:before{content:"\f159"}.fa-virus-covid:before{content:"\e4a8"}.fa-austral-sign:before{content:"\e0a9"}.fa-f:before{content:"\46"}.fa-leaf:before{content:"\f06c"}.fa-road:before{content:"\f018"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-person-circle-plus:before{content:"\e541"}.fa-chart-pie:before,.fa-pie-chart:before{content:"\f200"}.fa-bolt-lightning:before{content:"\e0b7"}.fa-sack-xmark:before{content:"\e56a"}.fa-file-excel:before{content:"\f1c3"}.fa-file-contract:before{content:"\f56c"}.fa-fish-fins:before{content:"\e4f2"}.fa-building-flag:before{content:"\e4d5"}.fa-face-grin-beam:before,.fa-grin-beam:before{content:"\f582"}.fa-object-ungroup:before{content:"\f248"}.fa-poop:before{content:"\f619"}.fa-location-pin:before,.fa-map-marker:before{content:"\f041"}.fa-kaaba:before{content:"\f66b"}.fa-toilet-paper:before{content:"\f71e"}.fa-hard-hat:before,.fa-hat-hard:before,.fa-helmet-safety:before{content:"\f807"}.fa-eject:before{content:"\f052"}.fa-arrow-alt-circle-right:before,.fa-circle-right:before{content:"\f35a"}.fa-plane-circle-check:before{content:"\e555"}.fa-face-rolling-eyes:before,.fa-meh-rolling-eyes:before{content:"\f5a5"}.fa-object-group:before{content:"\f247"}.fa-chart-line:before,.fa-line-chart:before{content:"\f201"}.fa-mask-ventilator:before{content:"\e524"}.fa-arrow-right:before{content:"\f061"}.fa-map-signs:before,.fa-signs-post:before{content:"\f277"}.fa-cash-register:before{content:"\f788"}.fa-person-circle-question:before{content:"\e542"}.fa-h:before{content:"\48"}.fa-tarp:before{content:"\e57b"}.fa-screwdriver-wrench:before,.fa-tools:before{content:"\f7d9"}.fa-arrows-to-eye:before{content:"\e4bf"}.fa-plug-circle-bolt:before{content:"\e55b"}.fa-heart:before{content:"\f004"}.fa-mars-and-venus:before{content:"\f224"}.fa-home-user:before,.fa-house-user:before{content:"\e1b0"}.fa-dumpster-fire:before{content:"\f794"}.fa-house-crack:before{content:"\e3b1"}.fa-cocktail:before,.fa-martini-glass-citrus:before{content:"\f561"}.fa-face-surprise:before,.fa-surprise:before{content:"\f5c2"}.fa-bottle-water:before{content:"\e4c5"}.fa-circle-pause:before,.fa-pause-circle:before{content:"\f28b"}.fa-toilet-paper-slash:before{content:"\e072"}.fa-apple-alt:before,.fa-apple-whole:before{content:"\f5d1"}.fa-kitchen-set:before{content:"\e51a"}.fa-r:before{content:"\52"}.fa-temperature-1:before,.fa-temperature-quarter:before,.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\f2ca"}.fa-cube:before{content:"\f1b2"}.fa-bitcoin-sign:before{content:"\e0b4"}.fa-shield-dog:before{content:"\e573"}.fa-solar-panel:before{content:"\f5ba"}.fa-lock-open:before{content:"\f3c1"}.fa-elevator:before{content:"\e16d"}.fa-money-bill-transfer:before{content:"\e528"}.fa-money-bill-trend-up:before{content:"\e529"}.fa-house-flood-water-circle-arrow-right:before{content:"\e50f"}.fa-poll-h:before,.fa-square-poll-horizontal:before{content:"\f682"}.fa-circle:before{content:"\f111"}.fa-backward-fast:before,.fa-fast-backward:before{content:"\f049"}.fa-recycle:before{content:"\f1b8"}.fa-user-astronaut:before{content:"\f4fb"}.fa-plane-slash:before{content:"\e069"}.fa-trademark:before{content:"\f25c"}.fa-basketball-ball:before,.fa-basketball:before{content:"\f434"}.fa-satellite-dish:before{content:"\f7c0"}.fa-arrow-alt-circle-up:before,.fa-circle-up:before{content:"\f35b"}.fa-mobile-alt:before,.fa-mobile-screen-button:before{content:"\f3cd"}.fa-volume-high:before,.fa-volume-up:before{content:"\f028"}.fa-users-rays:before{content:"\e593"}.fa-wallet:before{content:"\f555"}.fa-clipboard-check:before{content:"\f46c"}.fa-file-audio:before{content:"\f1c7"}.fa-burger:before,.fa-hamburger:before{content:"\f805"}.fa-wrench:before{content:"\f0ad"}.fa-bugs:before{content:"\e4d0"}.fa-rupee-sign:before,.fa-rupee:before{content:"\f156"}.fa-file-image:before{content:"\f1c5"}.fa-circle-question:before,.fa-question-circle:before{content:"\f059"}.fa-plane-departure:before{content:"\f5b0"}.fa-handshake-slash:before{content:"\e060"}.fa-book-bookmark:before{content:"\e0bb"}.fa-code-branch:before{content:"\f126"}.fa-hat-cowboy:before{content:"\f8c0"}.fa-bridge:before{content:"\e4c8"}.fa-phone-alt:before,.fa-phone-flip:before{content:"\f879"}.fa-truck-front:before{content:"\e2b7"}.fa-cat:before{content:"\f6be"}.fa-anchor-circle-exclamation:before{content:"\e4ab"}.fa-truck-field:before{content:"\e58d"}.fa-route:before{content:"\f4d7"}.fa-clipboard-question:before{content:"\e4e3"}.fa-panorama:before{content:"\e209"}.fa-comment-medical:before{content:"\f7f5"}.fa-teeth-open:before{content:"\f62f"}.fa-file-circle-minus:before{content:"\e4ed"}.fa-tags:before{content:"\f02c"}.fa-wine-glass:before{content:"\f4e3"}.fa-fast-forward:before,.fa-forward-fast:before{content:"\f050"}.fa-face-meh-blank:before,.fa-meh-blank:before{content:"\f5a4"}.fa-parking:before,.fa-square-parking:before{content:"\f540"}.fa-house-signal:before{content:"\e012"}.fa-bars-progress:before,.fa-tasks-alt:before{content:"\f828"}.fa-faucet-drip:before{content:"\e006"}.fa-cart-flatbed:before,.fa-dolly-flatbed:before{content:"\f474"}.fa-ban-smoking:before,.fa-smoking-ban:before{content:"\f54d"}.fa-terminal:before{content:"\f120"}.fa-mobile-button:before{content:"\f10b"}.fa-house-medical-flag:before{content:"\e514"}.fa-basket-shopping:before,.fa-shopping-basket:before{content:"\f291"}.fa-tape:before{content:"\f4db"}.fa-bus-alt:before,.fa-bus-simple:before{content:"\f55e"}.fa-eye:before{content:"\f06e"}.fa-face-sad-cry:before,.fa-sad-cry:before{content:"\f5b3"}.fa-audio-description:before{content:"\f29e"}.fa-person-military-to-person:before{content:"\e54c"}.fa-file-shield:before{content:"\e4f0"}.fa-user-slash:before{content:"\f506"}.fa-pen:before{content:"\f304"}.fa-tower-observation:before{content:"\e586"}.fa-file-code:before{content:"\f1c9"}.fa-signal-5:before,.fa-signal-perfect:before,.fa-signal:before{content:"\f012"}.fa-bus:before{content:"\f207"}.fa-heart-circle-xmark:before{content:"\e501"}.fa-home-lg:before,.fa-house-chimney:before{content:"\e3af"}.fa-window-maximize:before{content:"\f2d0"}.fa-face-frown:before,.fa-frown:before{content:"\f119"}.fa-prescription:before{content:"\f5b1"}.fa-shop:before,.fa-store-alt:before{content:"\f54f"}.fa-floppy-disk:before,.fa-save:before{content:"\f0c7"}.fa-vihara:before{content:"\f6a7"}.fa-balance-scale-left:before,.fa-scale-unbalanced:before{content:"\f515"}.fa-sort-asc:before,.fa-sort-up:before{content:"\f0de"}.fa-comment-dots:before,.fa-commenting:before{content:"\f4ad"}.fa-plant-wilt:before{content:"\e5aa"}.fa-diamond:before{content:"\f219"}.fa-face-grin-squint:before,.fa-grin-squint:before{content:"\f585"}.fa-hand-holding-dollar:before,.fa-hand-holding-usd:before{content:"\f4c0"}.fa-bacterium:before{content:"\e05a"}.fa-hand-pointer:before{content:"\f25a"}.fa-drum-steelpan:before{content:"\f56a"}.fa-hand-scissors:before{content:"\f257"}.fa-hands-praying:before,.fa-praying-hands:before{content:"\f684"}.fa-arrow-right-rotate:before,.fa-arrow-rotate-forward:before,.fa-arrow-rotate-right:before,.fa-redo:before{content:"\f01e"}.fa-biohazard:before{content:"\f780"}.fa-location-crosshairs:before,.fa-location:before{content:"\f601"}.fa-mars-double:before{content:"\f227"}.fa-child-dress:before{content:"\e59c"}.fa-users-between-lines:before{content:"\e591"}.fa-lungs-virus:before{content:"\e067"}.fa-face-grin-tears:before,.fa-grin-tears:before{content:"\f588"}.fa-phone:before{content:"\f095"}.fa-calendar-times:before,.fa-calendar-xmark:before{content:"\f273"}.fa-child-reaching:before{content:"\e59d"}.fa-head-side-virus:before{content:"\e064"}.fa-user-cog:before,.fa-user-gear:before{content:"\f4fe"}.fa-arrow-up-1-9:before,.fa-sort-numeric-up:before{content:"\f163"}.fa-door-closed:before{content:"\f52a"}.fa-shield-virus:before{content:"\e06c"}.fa-dice-six:before{content:"\f526"}.fa-mosquito-net:before{content:"\e52c"}.fa-bridge-water:before{content:"\e4ce"}.fa-person-booth:before{content:"\f756"}.fa-text-width:before{content:"\f035"}.fa-hat-wizard:before{content:"\f6e8"}.fa-pen-fancy:before{content:"\f5ac"}.fa-digging:before,.fa-person-digging:before{content:"\f85e"}.fa-trash:before{content:"\f1f8"}.fa-gauge-simple-med:before,.fa-gauge-simple:before,.fa-tachometer-average:before{content:"\f629"}.fa-book-medical:before{content:"\f7e6"}.fa-poo:before{content:"\f2fe"}.fa-quote-right-alt:before,.fa-quote-right:before{content:"\f10e"}.fa-shirt:before,.fa-t-shirt:before,.fa-tshirt:before{content:"\f553"}.fa-cubes:before{content:"\f1b3"}.fa-divide:before{content:"\f529"}.fa-tenge-sign:before,.fa-tenge:before{content:"\f7d7"}.fa-headphones:before{content:"\f025"}.fa-hands-holding:before{content:"\f4c2"}.fa-hands-clapping:before{content:"\e1a8"}.fa-republican:before{content:"\f75e"}.fa-arrow-left:before{content:"\f060"}.fa-person-circle-xmark:before{content:"\e543"}.fa-ruler:before{content:"\f545"}.fa-align-left:before{content:"\f036"}.fa-dice-d6:before{content:"\f6d1"}.fa-restroom:before{content:"\f7bd"}.fa-j:before{content:"\4a"}.fa-users-viewfinder:before{content:"\e595"}.fa-file-video:before{content:"\f1c8"}.fa-external-link-alt:before,.fa-up-right-from-square:before{content:"\f35d"}.fa-table-cells:before,.fa-th:before{content:"\f00a"}.fa-file-pdf:before{content:"\f1c1"}.fa-bible:before,.fa-book-bible:before{content:"\f647"}.fa-o:before{content:"\4f"}.fa-medkit:before,.fa-suitcase-medical:before{content:"\f0fa"}.fa-user-secret:before{content:"\f21b"}.fa-otter:before{content:"\f700"}.fa-female:before,.fa-person-dress:before{content:"\f182"}.fa-comment-dollar:before{content:"\f651"}.fa-briefcase-clock:before,.fa-business-time:before{content:"\f64a"}.fa-table-cells-large:before,.fa-th-large:before{content:"\f009"}.fa-book-tanakh:before,.fa-tanakh:before{content:"\f827"}.fa-phone-volume:before,.fa-volume-control-phone:before{content:"\f2a0"}.fa-hat-cowboy-side:before{content:"\f8c1"}.fa-clipboard-user:before{content:"\f7f3"}.fa-child:before{content:"\f1ae"}.fa-lira-sign:before{content:"\f195"}.fa-satellite:before{content:"\f7bf"}.fa-plane-lock:before{content:"\e558"}.fa-tag:before{content:"\f02b"}.fa-comment:before{content:"\f075"}.fa-birthday-cake:before,.fa-cake-candles:before,.fa-cake:before{content:"\f1fd"}.fa-envelope:before{content:"\f0e0"}.fa-angle-double-up:before,.fa-angles-up:before{content:"\f102"}.fa-paperclip:before{content:"\f0c6"}.fa-arrow-right-to-city:before{content:"\e4b3"}.fa-ribbon:before{content:"\f4d6"}.fa-lungs:before{content:"\f604"}.fa-arrow-up-9-1:before,.fa-sort-numeric-up-alt:before{content:"\f887"}.fa-litecoin-sign:before{content:"\e1d3"}.fa-border-none:before{content:"\f850"}.fa-circle-nodes:before{content:"\e4e2"}.fa-parachute-box:before{content:"\f4cd"}.fa-indent:before{content:"\f03c"}.fa-truck-field-un:before{content:"\e58e"}.fa-hourglass-empty:before,.fa-hourglass:before{content:"\f254"}.fa-mountain:before{content:"\f6fc"}.fa-user-doctor:before,.fa-user-md:before{content:"\f0f0"}.fa-circle-info:before,.fa-info-circle:before{content:"\f05a"}.fa-cloud-meatball:before{content:"\f73b"}.fa-camera-alt:before,.fa-camera:before{content:"\f030"}.fa-square-virus:before{content:"\e578"}.fa-meteor:before{content:"\f753"}.fa-car-on:before{content:"\e4dd"}.fa-sleigh:before{content:"\f7cc"}.fa-arrow-down-1-9:before,.fa-sort-numeric-asc:before,.fa-sort-numeric-down:before{content:"\f162"}.fa-hand-holding-droplet:before,.fa-hand-holding-water:before{content:"\f4c1"}.fa-water:before{content:"\f773"}.fa-calendar-check:before{content:"\f274"}.fa-braille:before{content:"\f2a1"}.fa-prescription-bottle-alt:before,.fa-prescription-bottle-medical:before{content:"\f486"}.fa-landmark:before{content:"\f66f"}.fa-truck:before{content:"\f0d1"}.fa-crosshairs:before{content:"\f05b"}.fa-person-cane:before{content:"\e53c"}.fa-tent:before{content:"\e57d"}.fa-vest-patches:before{content:"\e086"}.fa-check-double:before{content:"\f560"}.fa-arrow-down-a-z:before,.fa-sort-alpha-asc:before,.fa-sort-alpha-down:before{content:"\f15d"}.fa-money-bill-wheat:before{content:"\e52a"}.fa-cookie:before{content:"\f563"}.fa-arrow-left-rotate:before,.fa-arrow-rotate-back:before,.fa-arrow-rotate-backward:before,.fa-arrow-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-hard-drive:before,.fa-hdd:before{content:"\f0a0"}.fa-face-grin-squint-tears:before,.fa-grin-squint-tears:before{content:"\f586"}.fa-dumbbell:before{content:"\f44b"}.fa-list-alt:before,.fa-rectangle-list:before{content:"\f022"}.fa-tarp-droplet:before{content:"\e57c"}.fa-house-medical-circle-check:before{content:"\e511"}.fa-person-skiing-nordic:before,.fa-skiing-nordic:before{content:"\f7ca"}.fa-calendar-plus:before{content:"\f271"}.fa-plane-arrival:before{content:"\f5af"}.fa-arrow-alt-circle-left:before,.fa-circle-left:before{content:"\f359"}.fa-subway:before,.fa-train-subway:before{content:"\f239"}.fa-chart-gantt:before{content:"\e0e4"}.fa-indian-rupee-sign:before,.fa-indian-rupee:before,.fa-inr:before{content:"\e1bc"}.fa-crop-alt:before,.fa-crop-simple:before{content:"\f565"}.fa-money-bill-1:before,.fa-money-bill-alt:before{content:"\f3d1"}.fa-left-long:before,.fa-long-arrow-alt-left:before{content:"\f30a"}.fa-dna:before{content:"\f471"}.fa-virus-slash:before{content:"\e075"}.fa-minus:before,.fa-subtract:before{content:"\f068"}.fa-chess:before{content:"\f439"}.fa-arrow-left-long:before,.fa-long-arrow-left:before{content:"\f177"}.fa-plug-circle-check:before{content:"\e55c"}.fa-street-view:before{content:"\f21d"}.fa-franc-sign:before{content:"\e18f"}.fa-volume-off:before{content:"\f026"}.fa-american-sign-language-interpreting:before,.fa-asl-interpreting:before,.fa-hands-american-sign-language-interpreting:before,.fa-hands-asl-interpreting:before{content:"\f2a3"}.fa-cog:before,.fa-gear:before{content:"\f013"}.fa-droplet-slash:before,.fa-tint-slash:before{content:"\f5c7"}.fa-mosque:before{content:"\f678"}.fa-mosquito:before{content:"\e52b"}.fa-star-of-david:before{content:"\f69a"}.fa-person-military-rifle:before{content:"\e54b"}.fa-cart-shopping:before,.fa-shopping-cart:before{content:"\f07a"}.fa-vials:before{content:"\f493"}.fa-plug-circle-plus:before{content:"\e55f"}.fa-place-of-worship:before{content:"\f67f"}.fa-grip-vertical:before{content:"\f58e"}.fa-arrow-turn-up:before,.fa-level-up:before{content:"\f148"}.fa-u:before{content:"\55"}.fa-square-root-alt:before,.fa-square-root-variable:before{content:"\f698"}.fa-clock-four:before,.fa-clock:before{content:"\f017"}.fa-backward-step:before,.fa-step-backward:before{content:"\f048"}.fa-pallet:before{content:"\f482"}.fa-faucet:before{content:"\e005"}.fa-baseball-bat-ball:before{content:"\f432"}.fa-s:before{content:"\53"}.fa-timeline:before{content:"\e29c"}.fa-keyboard:before{content:"\f11c"}.fa-caret-down:before{content:"\f0d7"}.fa-clinic-medical:before,.fa-house-chimney-medical:before{content:"\f7f2"}.fa-temperature-3:before,.fa-temperature-three-quarters:before,.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-mobile-android-alt:before,.fa-mobile-screen:before{content:"\f3cf"}.fa-plane-up:before{content:"\e22d"}.fa-piggy-bank:before{content:"\f4d3"}.fa-battery-3:before,.fa-battery-half:before{content:"\f242"}.fa-mountain-city:before{content:"\e52e"}.fa-coins:before{content:"\f51e"}.fa-khanda:before{content:"\f66d"}.fa-sliders-h:before,.fa-sliders:before{content:"\f1de"}.fa-folder-tree:before{content:"\f802"}.fa-network-wired:before{content:"\f6ff"}.fa-map-pin:before{content:"\f276"}.fa-hamsa:before{content:"\f665"}.fa-cent-sign:before{content:"\e3f5"}.fa-flask:before{content:"\f0c3"}.fa-person-pregnant:before{content:"\e31e"}.fa-wand-sparkles:before{content:"\f72b"}.fa-ellipsis-v:before,.fa-ellipsis-vertical:before{content:"\f142"}.fa-ticket:before{content:"\f145"}.fa-power-off:before{content:"\f011"}.fa-long-arrow-alt-right:before,.fa-right-long:before{content:"\f30b"}.fa-flag-usa:before{content:"\f74d"}.fa-laptop-file:before{content:"\e51d"}.fa-teletype:before,.fa-tty:before{content:"\f1e4"}.fa-diagram-next:before{content:"\e476"}.fa-person-rifle:before{content:"\e54e"}.fa-house-medical-circle-exclamation:before{content:"\e512"}.fa-closed-captioning:before{content:"\f20a"}.fa-hiking:before,.fa-person-hiking:before{content:"\f6ec"}.fa-venus-double:before{content:"\f226"}.fa-images:before{content:"\f302"}.fa-calculator:before{content:"\f1ec"}.fa-people-pulling:before{content:"\e535"}.fa-n:before{content:"\4e"}.fa-cable-car:before,.fa-tram:before{content:"\f7da"}.fa-cloud-rain:before{content:"\f73d"}.fa-building-circle-xmark:before{content:"\e4d4"}.fa-ship:before{content:"\f21a"}.fa-arrows-down-to-line:before{content:"\e4b8"}.fa-download:before{content:"\f019"}.fa-face-grin:before,.fa-grin:before{content:"\f580"}.fa-backspace:before,.fa-delete-left:before{content:"\f55a"}.fa-eye-dropper-empty:before,.fa-eye-dropper:before,.fa-eyedropper:before{content:"\f1fb"}.fa-file-circle-check:before{content:"\e5a0"}.fa-forward:before{content:"\f04e"}.fa-mobile-android:before,.fa-mobile-phone:before,.fa-mobile:before{content:"\f3ce"}.fa-face-meh:before,.fa-meh:before{content:"\f11a"}.fa-align-center:before{content:"\f037"}.fa-book-dead:before,.fa-book-skull:before{content:"\f6b7"}.fa-drivers-license:before,.fa-id-card:before{content:"\f2c2"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-heart-circle-exclamation:before{content:"\e4fe"}.fa-home-alt:before,.fa-home-lg-alt:before,.fa-home:before,.fa-house:before{content:"\f015"}.fa-calendar-week:before{content:"\f784"}.fa-laptop-medical:before{content:"\f812"}.fa-b:before{content:"\42"}.fa-file-medical:before{content:"\f477"}.fa-dice-one:before{content:"\f525"}.fa-kiwi-bird:before{content:"\f535"}.fa-arrow-right-arrow-left:before,.fa-exchange:before{content:"\f0ec"}.fa-redo-alt:before,.fa-rotate-forward:before,.fa-rotate-right:before{content:"\f2f9"}.fa-cutlery:before,.fa-utensils:before{content:"\f2e7"}.fa-arrow-up-wide-short:before,.fa-sort-amount-up:before{content:"\f161"}.fa-mill-sign:before{content:"\e1ed"}.fa-bowl-rice:before{content:"\e2eb"}.fa-skull:before{content:"\f54c"}.fa-broadcast-tower:before,.fa-tower-broadcast:before{content:"\f519"}.fa-truck-pickup:before{content:"\f63c"}.fa-long-arrow-alt-up:before,.fa-up-long:before{content:"\f30c"}.fa-stop:before{content:"\f04d"}.fa-code-merge:before{content:"\f387"}.fa-upload:before{content:"\f093"}.fa-hurricane:before{content:"\f751"}.fa-mound:before{content:"\e52d"}.fa-toilet-portable:before{content:"\e583"}.fa-compact-disc:before{content:"\f51f"}.fa-file-arrow-down:before,.fa-file-download:before{content:"\f56d"}.fa-caravan:before{content:"\f8ff"}.fa-shield-cat:before{content:"\e572"}.fa-bolt:before,.fa-zap:before{content:"\f0e7"}.fa-glass-water:before{content:"\e4f4"}.fa-oil-well:before{content:"\e532"}.fa-vault:before{content:"\e2c5"}.fa-mars:before{content:"\f222"}.fa-toilet:before{content:"\f7d8"}.fa-plane-circle-xmark:before{content:"\e557"}.fa-cny:before,.fa-jpy:before,.fa-rmb:before,.fa-yen-sign:before,.fa-yen:before{content:"\f157"}.fa-rouble:before,.fa-rub:before,.fa-ruble-sign:before,.fa-ruble:before{content:"\f158"}.fa-sun:before{content:"\f185"}.fa-guitar:before{content:"\f7a6"}.fa-face-laugh-wink:before,.fa-laugh-wink:before{content:"\f59c"}.fa-horse-head:before{content:"\f7ab"}.fa-bore-hole:before{content:"\e4c3"}.fa-industry:before{content:"\f275"}.fa-arrow-alt-circle-down:before,.fa-circle-down:before{content:"\f358"}.fa-arrows-turn-to-dots:before{content:"\e4c1"}.fa-florin-sign:before{content:"\e184"}.fa-arrow-down-short-wide:before,.fa-sort-amount-desc:before,.fa-sort-amount-down-alt:before{content:"\f884"}.fa-less-than:before{content:"\3c"}.fa-angle-down:before{content:"\f107"}.fa-car-tunnel:before{content:"\e4de"}.fa-head-side-cough:before{content:"\e061"}.fa-grip-lines:before{content:"\f7a4"}.fa-thumbs-down:before{content:"\f165"}.fa-user-lock:before{content:"\f502"}.fa-arrow-right-long:before,.fa-long-arrow-right:before{content:"\f178"}.fa-anchor-circle-xmark:before{content:"\e4ac"}.fa-ellipsis-h:before,.fa-ellipsis:before{content:"\f141"}.fa-chess-pawn:before{content:"\f443"}.fa-first-aid:before,.fa-kit-medical:before{content:"\f479"}.fa-person-through-window:before{content:"\e5a9"}.fa-toolbox:before{content:"\f552"}.fa-hands-holding-circle:before{content:"\e4fb"}.fa-bug:before{content:"\f188"}.fa-credit-card-alt:before,.fa-credit-card:before{content:"\f09d"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-hand-holding-hand:before{content:"\e4f7"}.fa-book-open-reader:before,.fa-book-reader:before{content:"\f5da"}.fa-mountain-sun:before{content:"\e52f"}.fa-arrows-left-right-to-line:before{content:"\e4ba"}.fa-dice-d20:before{content:"\f6cf"}.fa-truck-droplet:before{content:"\e58c"}.fa-file-circle-xmark:before{content:"\e5a1"}.fa-temperature-arrow-up:before,.fa-temperature-up:before{content:"\e040"}.fa-medal:before{content:"\f5a2"}.fa-bed:before{content:"\f236"}.fa-h-square:before,.fa-square-h:before{content:"\f0fd"}.fa-podcast:before{content:"\f2ce"}.fa-temperature-4:before,.fa-temperature-full:before,.fa-thermometer-4:before,.fa-thermometer-full:before{content:"\f2c7"}.fa-bell:before{content:"\f0f3"}.fa-superscript:before{content:"\f12b"}.fa-plug-circle-xmark:before{content:"\e560"}.fa-star-of-life:before{content:"\f621"}.fa-phone-slash:before{content:"\f3dd"}.fa-paint-roller:before{content:"\f5aa"}.fa-hands-helping:before,.fa-handshake-angle:before{content:"\f4c4"}.fa-location-dot:before,.fa-map-marker-alt:before{content:"\f3c5"}.fa-file:before{content:"\f15b"}.fa-greater-than:before{content:"\3e"}.fa-person-swimming:before,.fa-swimmer:before{content:"\f5c4"}.fa-arrow-down:before{content:"\f063"}.fa-droplet:before,.fa-tint:before{content:"\f043"}.fa-eraser:before{content:"\f12d"}.fa-earth-america:before,.fa-earth-americas:before,.fa-earth:before,.fa-globe-americas:before{content:"\f57d"}.fa-person-burst:before{content:"\e53b"}.fa-dove:before{content:"\f4ba"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-socks:before{content:"\f696"}.fa-inbox:before{content:"\f01c"}.fa-section:before{content:"\e447"}.fa-gauge-high:before,.fa-tachometer-alt-fast:before,.fa-tachometer-alt:before{content:"\f625"}.fa-envelope-open-text:before{content:"\f658"}.fa-hospital-alt:before,.fa-hospital-wide:before,.fa-hospital:before{content:"\f0f8"}.fa-wine-bottle:before{content:"\f72f"}.fa-chess-rook:before{content:"\f447"}.fa-bars-staggered:before,.fa-reorder:before,.fa-stream:before{content:"\f550"}.fa-dharmachakra:before{content:"\f655"}.fa-hotdog:before{content:"\f80f"}.fa-blind:before,.fa-person-walking-with-cane:before{content:"\f29d"}.fa-drum:before{content:"\f569"}.fa-ice-cream:before{content:"\f810"}.fa-heart-circle-bolt:before{content:"\e4fc"}.fa-fax:before{content:"\f1ac"}.fa-paragraph:before{content:"\f1dd"}.fa-check-to-slot:before,.fa-vote-yea:before{content:"\f772"}.fa-star-half:before{content:"\f089"}.fa-boxes-alt:before,.fa-boxes-stacked:before,.fa-boxes:before{content:"\f468"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-assistive-listening-systems:before,.fa-ear-listen:before{content:"\f2a2"}.fa-tree-city:before{content:"\e587"}.fa-play:before{content:"\f04b"}.fa-font:before{content:"\f031"}.fa-rupiah-sign:before{content:"\e23d"}.fa-magnifying-glass:before,.fa-search:before{content:"\f002"}.fa-ping-pong-paddle-ball:before,.fa-table-tennis-paddle-ball:before,.fa-table-tennis:before{content:"\f45d"}.fa-diagnoses:before,.fa-person-dots-from-line:before{content:"\f470"}.fa-trash-can-arrow-up:before,.fa-trash-restore-alt:before{content:"\f82a"}.fa-naira-sign:before{content:"\e1f6"}.fa-cart-arrow-down:before{content:"\f218"}.fa-walkie-talkie:before{content:"\f8ef"}.fa-file-edit:before,.fa-file-pen:before{content:"\f31c"}.fa-receipt:before{content:"\f543"}.fa-pen-square:before,.fa-pencil-square:before,.fa-square-pen:before{content:"\f14b"}.fa-suitcase-rolling:before{content:"\f5c1"}.fa-person-circle-exclamation:before{content:"\e53f"}.fa-chevron-down:before{content:"\f078"}.fa-battery-5:before,.fa-battery-full:before,.fa-battery:before{content:"\f240"}.fa-skull-crossbones:before{content:"\f714"}.fa-code-compare:before{content:"\e13a"}.fa-list-dots:before,.fa-list-ul:before{content:"\f0ca"}.fa-school-lock:before{content:"\e56f"}.fa-tower-cell:before{content:"\e585"}.fa-down-long:before,.fa-long-arrow-alt-down:before{content:"\f309"}.fa-ranking-star:before{content:"\e561"}.fa-chess-king:before{content:"\f43f"}.fa-person-harassing:before{content:"\e549"}.fa-brazilian-real-sign:before{content:"\e46c"}.fa-landmark-alt:before,.fa-landmark-dome:before{content:"\f752"}.fa-arrow-up:before{content:"\f062"}.fa-television:before,.fa-tv-alt:before,.fa-tv:before{content:"\f26c"}.fa-shrimp:before{content:"\e448"}.fa-list-check:before,.fa-tasks:before{content:"\f0ae"}.fa-jug-detergent:before{content:"\e519"}.fa-circle-user:before,.fa-user-circle:before{content:"\f2bd"}.fa-user-shield:before{content:"\f505"}.fa-wind:before{content:"\f72e"}.fa-car-burst:before,.fa-car-crash:before{content:"\f5e1"}.fa-y:before{content:"\59"}.fa-person-snowboarding:before,.fa-snowboarding:before{content:"\f7ce"}.fa-shipping-fast:before,.fa-truck-fast:before{content:"\f48b"}.fa-fish:before{content:"\f578"}.fa-user-graduate:before{content:"\f501"}.fa-adjust:before,.fa-circle-half-stroke:before{content:"\f042"}.fa-clapperboard:before{content:"\e131"}.fa-circle-radiation:before,.fa-radiation-alt:before{content:"\f7ba"}.fa-baseball-ball:before,.fa-baseball:before{content:"\f433"}.fa-jet-fighter-up:before{content:"\e518"}.fa-diagram-project:before,.fa-project-diagram:before{content:"\f542"}.fa-copy:before{content:"\f0c5"}.fa-volume-mute:before,.fa-volume-times:before,.fa-volume-xmark:before{content:"\f6a9"}.fa-hand-sparkles:before{content:"\e05d"}.fa-grip-horizontal:before,.fa-grip:before{content:"\f58d"}.fa-share-from-square:before,.fa-share-square:before{content:"\f14d"}.fa-child-combatant:before,.fa-child-rifle:before{content:"\e4e0"}.fa-gun:before{content:"\e19b"}.fa-phone-square:before,.fa-square-phone:before{content:"\f098"}.fa-add:before,.fa-plus:before{content:"\2b"}.fa-expand:before{content:"\f065"}.fa-computer:before{content:"\e4e5"}.fa-close:before,.fa-multiply:before,.fa-remove:before,.fa-times:before,.fa-xmark:before{content:"\f00d"}.fa-arrows-up-down-left-right:before,.fa-arrows:before{content:"\f047"}.fa-chalkboard-teacher:before,.fa-chalkboard-user:before{content:"\f51c"}.fa-peso-sign:before{content:"\e222"}.fa-building-shield:before{content:"\e4d8"}.fa-baby:before{content:"\f77c"}.fa-users-line:before{content:"\e592"}.fa-quote-left-alt:before,.fa-quote-left:before{content:"\f10d"}.fa-tractor:before{content:"\f722"}.fa-trash-arrow-up:before,.fa-trash-restore:before{content:"\f829"}.fa-arrow-down-up-lock:before{content:"\e4b0"}.fa-lines-leaning:before{content:"\e51e"}.fa-ruler-combined:before{content:"\f546"}.fa-copyright:before{content:"\f1f9"}.fa-equals:before{content:"\3d"}.fa-blender:before{content:"\f517"}.fa-teeth:before{content:"\f62e"}.fa-ils:before,.fa-shekel-sign:before,.fa-shekel:before,.fa-sheqel-sign:before,.fa-sheqel:before{content:"\f20b"}.fa-map:before{content:"\f279"}.fa-rocket:before{content:"\f135"}.fa-photo-film:before,.fa-photo-video:before{content:"\f87c"}.fa-folder-minus:before{content:"\f65d"}.fa-store:before{content:"\f54e"}.fa-arrow-trend-up:before{content:"\e098"}.fa-plug-circle-minus:before{content:"\e55e"}.fa-sign-hanging:before,.fa-sign:before{content:"\f4d9"}.fa-bezier-curve:before{content:"\f55b"}.fa-bell-slash:before{content:"\f1f6"}.fa-tablet-android:before,.fa-tablet:before{content:"\f3fb"}.fa-school-flag:before{content:"\e56e"}.fa-fill:before{content:"\f575"}.fa-angle-up:before{content:"\f106"}.fa-drumstick-bite:before{content:"\f6d7"}.fa-holly-berry:before{content:"\f7aa"}.fa-chevron-left:before{content:"\f053"}.fa-bacteria:before{content:"\e059"}.fa-hand-lizard:before{content:"\f258"}.fa-notdef:before{content:"\e1fe"}.fa-disease:before{content:"\f7fa"}.fa-briefcase-medical:before{content:"\f469"}.fa-genderless:before{content:"\f22d"}.fa-chevron-right:before{content:"\f054"}.fa-retweet:before{content:"\f079"}.fa-car-alt:before,.fa-car-rear:before{content:"\f5de"}.fa-pump-soap:before{content:"\e06b"}.fa-video-slash:before{content:"\f4e2"}.fa-battery-2:before,.fa-battery-quarter:before{content:"\f243"}.fa-radio:before{content:"\f8d7"}.fa-baby-carriage:before,.fa-carriage-baby:before{content:"\f77d"}.fa-traffic-light:before{content:"\f637"}.fa-thermometer:before{content:"\f491"}.fa-vr-cardboard:before{content:"\f729"}.fa-hand-middle-finger:before{content:"\f806"}.fa-percent:before,.fa-percentage:before{content:"\25"}.fa-truck-moving:before{content:"\f4df"}.fa-glass-water-droplet:before{content:"\e4f5"}.fa-display:before{content:"\e163"}.fa-face-smile:before,.fa-smile:before{content:"\f118"}.fa-thumb-tack:before,.fa-thumbtack:before{content:"\f08d"}.fa-trophy:before{content:"\f091"}.fa-person-praying:before,.fa-pray:before{content:"\f683"}.fa-hammer:before{content:"\f6e3"}.fa-hand-peace:before{content:"\f25b"}.fa-rotate:before,.fa-sync-alt:before{content:"\f2f1"}.fa-spinner:before{content:"\f110"}.fa-robot:before{content:"\f544"}.fa-peace:before{content:"\f67c"}.fa-cogs:before,.fa-gears:before{content:"\f085"}.fa-warehouse:before{content:"\f494"}.fa-arrow-up-right-dots:before{content:"\e4b7"}.fa-splotch:before{content:"\f5bc"}.fa-face-grin-hearts:before,.fa-grin-hearts:before{content:"\f584"}.fa-dice-four:before{content:"\f524"}.fa-sim-card:before{content:"\f7c4"}.fa-transgender-alt:before,.fa-transgender:before{content:"\f225"}.fa-mercury:before{content:"\f223"}.fa-arrow-turn-down:before,.fa-level-down:before{content:"\f149"}.fa-person-falling-burst:before{content:"\e547"}.fa-award:before{content:"\f559"}.fa-ticket-alt:before,.fa-ticket-simple:before{content:"\f3ff"}.fa-building:before{content:"\f1ad"}.fa-angle-double-left:before,.fa-angles-left:before{content:"\f100"}.fa-qrcode:before{content:"\f029"}.fa-clock-rotate-left:before,.fa-history:before{content:"\f1da"}.fa-face-grin-beam-sweat:before,.fa-grin-beam-sweat:before{content:"\f583"}.fa-arrow-right-from-file:before,.fa-file-export:before{content:"\f56e"}.fa-shield-blank:before,.fa-shield:before{content:"\f132"}.fa-arrow-up-short-wide:before,.fa-sort-amount-up-alt:before{content:"\f885"}.fa-house-medical:before{content:"\e3b2"}.fa-golf-ball-tee:before,.fa-golf-ball:before{content:"\f450"}.fa-chevron-circle-left:before,.fa-circle-chevron-left:before{content:"\f137"}.fa-house-chimney-window:before{content:"\e00d"}.fa-pen-nib:before{content:"\f5ad"}.fa-tent-arrow-turn-left:before{content:"\e580"}.fa-tents:before{content:"\e582"}.fa-magic:before,.fa-wand-magic:before{content:"\f0d0"}.fa-dog:before{content:"\f6d3"}.fa-carrot:before{content:"\f787"}.fa-moon:before{content:"\f186"}.fa-wine-glass-alt:before,.fa-wine-glass-empty:before{content:"\f5ce"}.fa-cheese:before{content:"\f7ef"}.fa-yin-yang:before{content:"\f6ad"}.fa-music:before{content:"\f001"}.fa-code-commit:before{content:"\f386"}.fa-temperature-low:before{content:"\f76b"}.fa-biking:before,.fa-person-biking:before{content:"\f84a"}.fa-broom:before{content:"\f51a"}.fa-shield-heart:before{content:"\e574"}.fa-gopuram:before{content:"\f664"}.fa-earth-oceania:before,.fa-globe-oceania:before{content:"\e47b"}.fa-square-xmark:before,.fa-times-square:before,.fa-xmark-square:before{content:"\f2d3"}.fa-hashtag:before{content:"\23"}.fa-expand-alt:before,.fa-up-right-and-down-left-from-center:before{content:"\f424"}.fa-oil-can:before{content:"\f613"}.fa-t:before{content:"\54"}.fa-hippo:before{content:"\f6ed"}.fa-chart-column:before{content:"\e0e3"}.fa-infinity:before{content:"\f534"}.fa-vial-circle-check:before{content:"\e596"}.fa-person-arrow-down-to-line:before{content:"\e538"}.fa-voicemail:before{content:"\f897"}.fa-fan:before{content:"\f863"}.fa-person-walking-luggage:before{content:"\e554"}.fa-arrows-alt-v:before,.fa-up-down:before{content:"\f338"}.fa-cloud-moon-rain:before{content:"\f73c"}.fa-calendar:before{content:"\f133"}.fa-trailer:before{content:"\e041"}.fa-bahai:before,.fa-haykal:before{content:"\f666"}.fa-sd-card:before{content:"\f7c2"}.fa-dragon:before{content:"\f6d5"}.fa-shoe-prints:before{content:"\f54b"}.fa-circle-plus:before,.fa-plus-circle:before{content:"\f055"}.fa-face-grin-tongue-wink:before,.fa-grin-tongue-wink:before{content:"\f58b"}.fa-hand-holding:before{content:"\f4bd"}.fa-plug-circle-exclamation:before{content:"\e55d"}.fa-chain-broken:before,.fa-chain-slash:before,.fa-link-slash:before,.fa-unlink:before{content:"\f127"}.fa-clone:before{content:"\f24d"}.fa-person-walking-arrow-loop-left:before{content:"\e551"}.fa-arrow-up-z-a:before,.fa-sort-alpha-up-alt:before{content:"\f882"}.fa-fire-alt:before,.fa-fire-flame-curved:before{content:"\f7e4"}.fa-tornado:before{content:"\f76f"}.fa-file-circle-plus:before{content:"\e494"}.fa-book-quran:before,.fa-quran:before{content:"\f687"}.fa-anchor:before{content:"\f13d"}.fa-border-all:before{content:"\f84c"}.fa-angry:before,.fa-face-angry:before{content:"\f556"}.fa-cookie-bite:before{content:"\f564"}.fa-arrow-trend-down:before{content:"\e097"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-draw-polygon:before{content:"\f5ee"}.fa-balance-scale:before,.fa-scale-balanced:before{content:"\f24e"}.fa-gauge-simple-high:before,.fa-tachometer-fast:before,.fa-tachometer:before{content:"\f62a"}.fa-shower:before{content:"\f2cc"}.fa-desktop-alt:before,.fa-desktop:before{content:"\f390"}.fa-m:before{content:"\4d"}.fa-table-list:before,.fa-th-list:before{content:"\f00b"}.fa-comment-sms:before,.fa-sms:before{content:"\f7cd"}.fa-book:before{content:"\f02d"}.fa-user-plus:before{content:"\f234"}.fa-check:before{content:"\f00c"}.fa-battery-4:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-house-circle-check:before{content:"\e509"}.fa-angle-left:before{content:"\f104"}.fa-diagram-successor:before{content:"\e47a"}.fa-truck-arrow-right:before{content:"\e58b"}.fa-arrows-split-up-and-left:before{content:"\e4bc"}.fa-fist-raised:before,.fa-hand-fist:before{content:"\f6de"}.fa-cloud-moon:before{content:"\f6c3"}.fa-briefcase:before{content:"\f0b1"}.fa-person-falling:before{content:"\e546"}.fa-image-portrait:before,.fa-portrait:before{content:"\f3e0"}.fa-user-tag:before{content:"\f507"}.fa-rug:before{content:"\e569"}.fa-earth-europe:before,.fa-globe-europe:before{content:"\f7a2"}.fa-cart-flatbed-suitcase:before,.fa-luggage-cart:before{content:"\f59d"}.fa-rectangle-times:before,.fa-rectangle-xmark:before,.fa-times-rectangle:before,.fa-window-close:before{content:"\f410"}.fa-baht-sign:before{content:"\e0ac"}.fa-book-open:before{content:"\f518"}.fa-book-journal-whills:before,.fa-journal-whills:before{content:"\f66a"}.fa-handcuffs:before{content:"\e4f8"}.fa-exclamation-triangle:before,.fa-triangle-exclamation:before,.fa-warning:before{content:"\f071"}.fa-database:before{content:"\f1c0"}.fa-arrow-turn-right:before,.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-bottle-droplet:before{content:"\e4c4"}.fa-mask-face:before{content:"\e1d7"}.fa-hill-rockslide:before{content:"\e508"}.fa-exchange-alt:before,.fa-right-left:before{content:"\f362"}.fa-paper-plane:before{content:"\f1d8"}.fa-road-circle-exclamation:before{content:"\e565"}.fa-dungeon:before{content:"\f6d9"}.fa-align-right:before{content:"\f038"}.fa-money-bill-1-wave:before,.fa-money-bill-wave-alt:before{content:"\f53b"}.fa-life-ring:before{content:"\f1cd"}.fa-hands:before,.fa-sign-language:before,.fa-signing:before{content:"\f2a7"}.fa-calendar-day:before{content:"\f783"}.fa-ladder-water:before,.fa-swimming-pool:before,.fa-water-ladder:before{content:"\f5c5"}.fa-arrows-up-down:before,.fa-arrows-v:before{content:"\f07d"}.fa-face-grimace:before,.fa-grimace:before{content:"\f57f"}.fa-wheelchair-alt:before,.fa-wheelchair-move:before{content:"\e2ce"}.fa-level-down-alt:before,.fa-turn-down:before{content:"\f3be"}.fa-person-walking-arrow-right:before{content:"\e552"}.fa-envelope-square:before,.fa-square-envelope:before{content:"\f199"}.fa-dice:before{content:"\f522"}.fa-bowling-ball:before{content:"\f436"}.fa-brain:before{content:"\f5dc"}.fa-band-aid:before,.fa-bandage:before{content:"\f462"}.fa-calendar-minus:before{content:"\f272"}.fa-circle-xmark:before,.fa-times-circle:before,.fa-xmark-circle:before{content:"\f057"}.fa-gifts:before{content:"\f79c"}.fa-hotel:before{content:"\f594"}.fa-earth-asia:before,.fa-globe-asia:before{content:"\f57e"}.fa-id-card-alt:before,.fa-id-card-clip:before{content:"\f47f"}.fa-magnifying-glass-plus:before,.fa-search-plus:before{content:"\f00e"}.fa-thumbs-up:before{content:"\f164"}.fa-user-clock:before{content:"\f4fd"}.fa-allergies:before,.fa-hand-dots:before{content:"\f461"}.fa-file-invoice:before{content:"\f570"}.fa-window-minimize:before{content:"\f2d1"}.fa-coffee:before,.fa-mug-saucer:before{content:"\f0f4"}.fa-brush:before{content:"\f55d"}.fa-mask:before{content:"\f6fa"}.fa-magnifying-glass-minus:before,.fa-search-minus:before{content:"\f010"}.fa-ruler-vertical:before{content:"\f548"}.fa-user-alt:before,.fa-user-large:before{content:"\f406"}.fa-train-tram:before{content:"\e5b4"}.fa-user-nurse:before{content:"\f82f"}.fa-syringe:before{content:"\f48e"}.fa-cloud-sun:before{content:"\f6c4"}.fa-stopwatch-20:before{content:"\e06f"}.fa-square-full:before{content:"\f45c"}.fa-magnet:before{content:"\f076"}.fa-jar:before{content:"\e516"}.fa-note-sticky:before,.fa-sticky-note:before{content:"\f249"}.fa-bug-slash:before{content:"\e490"}.fa-arrow-up-from-water-pump:before{content:"\e4b6"}.fa-bone:before{content:"\f5d7"}.fa-user-injured:before{content:"\f728"}.fa-face-sad-tear:before,.fa-sad-tear:before{content:"\f5b4"}.fa-plane:before{content:"\f072"}.fa-tent-arrows-down:before{content:"\e581"}.fa-exclamation:before{content:"\21"}.fa-arrows-spin:before{content:"\e4bb"}.fa-print:before{content:"\f02f"}.fa-try:before,.fa-turkish-lira-sign:before,.fa-turkish-lira:before{content:"\e2bb"}.fa-dollar-sign:before,.fa-dollar:before,.fa-usd:before{content:"\24"}.fa-x:before{content:"\58"}.fa-magnifying-glass-dollar:before,.fa-search-dollar:before{content:"\f688"}.fa-users-cog:before,.fa-users-gear:before{content:"\f509"}.fa-person-military-pointing:before{content:"\e54a"}.fa-bank:before,.fa-building-columns:before,.fa-institution:before,.fa-museum:before,.fa-university:before{content:"\f19c"}.fa-umbrella:before{content:"\f0e9"}.fa-trowel:before{content:"\e589"}.fa-d:before{content:"\44"}.fa-stapler:before{content:"\e5af"}.fa-masks-theater:before,.fa-theater-masks:before{content:"\f630"}.fa-kip-sign:before{content:"\e1c4"}.fa-hand-point-left:before{content:"\f0a5"}.fa-handshake-alt:before,.fa-handshake-simple:before{content:"\f4c6"}.fa-fighter-jet:before,.fa-jet-fighter:before{content:"\f0fb"}.fa-share-alt-square:before,.fa-square-share-nodes:before{content:"\f1e1"}.fa-barcode:before{content:"\f02a"}.fa-plus-minus:before{content:"\e43c"}.fa-video-camera:before,.fa-video:before{content:"\f03d"}.fa-graduation-cap:before,.fa-mortar-board:before{content:"\f19d"}.fa-hand-holding-medical:before{content:"\e05c"}.fa-person-circle-check:before{content:"\e53e"}.fa-level-up-alt:before,.fa-turn-up:before{content:"\f3bf"} +.fa-sr-only,.fa-sr-only-focusable:not(:focus),.sr-only,.sr-only-focusable:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host,:root{--fa-style-family-brands:"Font Awesome 6 Brands";--fa-font-brands:normal 400 1em/1 "Font Awesome 6 Brands"}@font-face{font-family:"Font Awesome 6 Brands";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-brands-400.woff2) format("woff2"),url(../webfonts/fa-brands-400.ttf) format("truetype")}.fa-brands,.fab{font-weight:400}.fa-monero:before{content:"\f3d0"}.fa-hooli:before{content:"\f427"}.fa-yelp:before{content:"\f1e9"}.fa-cc-visa:before{content:"\f1f0"}.fa-lastfm:before{content:"\f202"}.fa-shopware:before{content:"\f5b5"}.fa-creative-commons-nc:before{content:"\f4e8"}.fa-aws:before{content:"\f375"}.fa-redhat:before{content:"\f7bc"}.fa-yoast:before{content:"\f2b1"}.fa-cloudflare:before{content:"\e07d"}.fa-ups:before{content:"\f7e0"}.fa-wpexplorer:before{content:"\f2de"}.fa-dyalog:before{content:"\f399"}.fa-bity:before{content:"\f37a"}.fa-stackpath:before{content:"\f842"}.fa-buysellads:before{content:"\f20d"}.fa-first-order:before{content:"\f2b0"}.fa-modx:before{content:"\f285"}.fa-guilded:before{content:"\e07e"}.fa-vnv:before{content:"\f40b"}.fa-js-square:before,.fa-square-js:before{content:"\f3b9"}.fa-microsoft:before{content:"\f3ca"}.fa-qq:before{content:"\f1d6"}.fa-orcid:before{content:"\f8d2"}.fa-java:before{content:"\f4e4"}.fa-invision:before{content:"\f7b0"}.fa-creative-commons-pd-alt:before{content:"\f4ed"}.fa-centercode:before{content:"\f380"}.fa-glide-g:before{content:"\f2a6"}.fa-drupal:before{content:"\f1a9"}.fa-hire-a-helper:before{content:"\f3b0"}.fa-creative-commons-by:before{content:"\f4e7"}.fa-unity:before{content:"\e049"}.fa-whmcs:before{content:"\f40d"}.fa-rocketchat:before{content:"\f3e8"}.fa-vk:before{content:"\f189"}.fa-untappd:before{content:"\f405"}.fa-mailchimp:before{content:"\f59e"}.fa-css3-alt:before{content:"\f38b"}.fa-reddit-square:before,.fa-square-reddit:before{content:"\f1a2"}.fa-vimeo-v:before{content:"\f27d"}.fa-contao:before{content:"\f26d"}.fa-square-font-awesome:before{content:"\e5ad"}.fa-deskpro:before{content:"\f38f"}.fa-sistrix:before{content:"\f3ee"}.fa-instagram-square:before,.fa-square-instagram:before{content:"\e055"}.fa-battle-net:before{content:"\f835"}.fa-the-red-yeti:before{content:"\f69d"}.fa-hacker-news-square:before,.fa-square-hacker-news:before{content:"\f3af"}.fa-edge:before{content:"\f282"}.fa-napster:before{content:"\f3d2"}.fa-snapchat-square:before,.fa-square-snapchat:before{content:"\f2ad"}.fa-google-plus-g:before{content:"\f0d5"}.fa-artstation:before{content:"\f77a"}.fa-markdown:before{content:"\f60f"}.fa-sourcetree:before{content:"\f7d3"}.fa-google-plus:before{content:"\f2b3"}.fa-diaspora:before{content:"\f791"}.fa-foursquare:before{content:"\f180"}.fa-stack-overflow:before{content:"\f16c"}.fa-github-alt:before{content:"\f113"}.fa-phoenix-squadron:before{content:"\f511"}.fa-pagelines:before{content:"\f18c"}.fa-algolia:before{content:"\f36c"}.fa-red-river:before{content:"\f3e3"}.fa-creative-commons-sa:before{content:"\f4ef"}.fa-safari:before{content:"\f267"}.fa-google:before{content:"\f1a0"}.fa-font-awesome-alt:before,.fa-square-font-awesome-stroke:before{content:"\f35c"}.fa-atlassian:before{content:"\f77b"}.fa-linkedin-in:before{content:"\f0e1"}.fa-digital-ocean:before{content:"\f391"}.fa-nimblr:before{content:"\f5a8"}.fa-chromecast:before{content:"\f838"}.fa-evernote:before{content:"\f839"}.fa-hacker-news:before{content:"\f1d4"}.fa-creative-commons-sampling:before{content:"\f4f0"}.fa-adversal:before{content:"\f36a"}.fa-creative-commons:before{content:"\f25e"}.fa-watchman-monitoring:before{content:"\e087"}.fa-fonticons:before{content:"\f280"}.fa-weixin:before{content:"\f1d7"}.fa-shirtsinbulk:before{content:"\f214"}.fa-codepen:before{content:"\f1cb"}.fa-git-alt:before{content:"\f841"}.fa-lyft:before{content:"\f3c3"}.fa-rev:before{content:"\f5b2"}.fa-windows:before{content:"\f17a"}.fa-wizards-of-the-coast:before{content:"\f730"}.fa-square-viadeo:before,.fa-viadeo-square:before{content:"\f2aa"}.fa-meetup:before{content:"\f2e0"}.fa-centos:before{content:"\f789"}.fa-adn:before{content:"\f170"}.fa-cloudsmith:before{content:"\f384"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-dribbble-square:before,.fa-square-dribbble:before{content:"\f397"}.fa-codiepie:before{content:"\f284"}.fa-node:before{content:"\f419"}.fa-mix:before{content:"\f3cb"}.fa-steam:before{content:"\f1b6"}.fa-cc-apple-pay:before{content:"\f416"}.fa-scribd:before{content:"\f28a"}.fa-openid:before{content:"\f19b"}.fa-instalod:before{content:"\e081"}.fa-expeditedssl:before{content:"\f23e"}.fa-sellcast:before{content:"\f2da"}.fa-square-twitter:before,.fa-twitter-square:before{content:"\f081"}.fa-r-project:before{content:"\f4f7"}.fa-delicious:before{content:"\f1a5"}.fa-freebsd:before{content:"\f3a4"}.fa-vuejs:before{content:"\f41f"}.fa-accusoft:before{content:"\f369"}.fa-ioxhost:before{content:"\f208"}.fa-fonticons-fi:before{content:"\f3a2"}.fa-app-store:before{content:"\f36f"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-itunes-note:before{content:"\f3b5"}.fa-golang:before{content:"\e40f"}.fa-kickstarter:before{content:"\f3bb"}.fa-grav:before{content:"\f2d6"}.fa-weibo:before{content:"\f18a"}.fa-uncharted:before{content:"\e084"}.fa-firstdraft:before{content:"\f3a1"}.fa-square-youtube:before,.fa-youtube-square:before{content:"\f431"}.fa-wikipedia-w:before{content:"\f266"}.fa-rendact:before,.fa-wpressr:before{content:"\f3e4"}.fa-angellist:before{content:"\f209"}.fa-galactic-republic:before{content:"\f50c"}.fa-nfc-directional:before{content:"\e530"}.fa-skype:before{content:"\f17e"}.fa-joget:before{content:"\f3b7"}.fa-fedora:before{content:"\f798"}.fa-stripe-s:before{content:"\f42a"}.fa-meta:before{content:"\e49b"}.fa-laravel:before{content:"\f3bd"}.fa-hotjar:before{content:"\f3b1"}.fa-bluetooth-b:before{content:"\f294"}.fa-sticker-mule:before{content:"\f3f7"}.fa-creative-commons-zero:before{content:"\f4f3"}.fa-hips:before{content:"\f452"}.fa-behance:before{content:"\f1b4"}.fa-reddit:before{content:"\f1a1"}.fa-discord:before{content:"\f392"}.fa-chrome:before{content:"\f268"}.fa-app-store-ios:before{content:"\f370"}.fa-cc-discover:before{content:"\f1f2"}.fa-wpbeginner:before{content:"\f297"}.fa-confluence:before{content:"\f78d"}.fa-mdb:before{content:"\f8ca"}.fa-dochub:before{content:"\f394"}.fa-accessible-icon:before{content:"\f368"}.fa-ebay:before{content:"\f4f4"}.fa-amazon:before{content:"\f270"}.fa-unsplash:before{content:"\e07c"}.fa-yarn:before{content:"\f7e3"}.fa-square-steam:before,.fa-steam-square:before{content:"\f1b7"}.fa-500px:before{content:"\f26e"}.fa-square-vimeo:before,.fa-vimeo-square:before{content:"\f194"}.fa-asymmetrik:before{content:"\f372"}.fa-font-awesome-flag:before,.fa-font-awesome-logo-full:before,.fa-font-awesome:before{content:"\f2b4"}.fa-gratipay:before{content:"\f184"}.fa-apple:before{content:"\f179"}.fa-hive:before{content:"\e07f"}.fa-gitkraken:before{content:"\f3a6"}.fa-keybase:before{content:"\f4f5"}.fa-apple-pay:before{content:"\f415"}.fa-padlet:before{content:"\e4a0"}.fa-amazon-pay:before{content:"\f42c"}.fa-github-square:before,.fa-square-github:before{content:"\f092"}.fa-stumbleupon:before{content:"\f1a4"}.fa-fedex:before{content:"\f797"}.fa-phoenix-framework:before{content:"\f3dc"}.fa-shopify:before{content:"\e057"}.fa-neos:before{content:"\f612"}.fa-hackerrank:before{content:"\f5f7"}.fa-researchgate:before{content:"\f4f8"}.fa-swift:before{content:"\f8e1"}.fa-angular:before{content:"\f420"}.fa-speakap:before{content:"\f3f3"}.fa-angrycreative:before{content:"\f36e"}.fa-y-combinator:before{content:"\f23b"}.fa-empire:before{content:"\f1d1"}.fa-envira:before{content:"\f299"}.fa-gitlab-square:before,.fa-square-gitlab:before{content:"\e5ae"}.fa-studiovinari:before{content:"\f3f8"}.fa-pied-piper:before{content:"\f2ae"}.fa-wordpress:before{content:"\f19a"}.fa-product-hunt:before{content:"\f288"}.fa-firefox:before{content:"\f269"}.fa-linode:before{content:"\f2b8"}.fa-goodreads:before{content:"\f3a8"}.fa-odnoklassniki-square:before,.fa-square-odnoklassniki:before{content:"\f264"}.fa-jsfiddle:before{content:"\f1cc"}.fa-sith:before{content:"\f512"}.fa-themeisle:before{content:"\f2b2"}.fa-page4:before{content:"\f3d7"}.fa-hashnode:before{content:"\e499"}.fa-react:before{content:"\f41b"}.fa-cc-paypal:before{content:"\f1f4"}.fa-squarespace:before{content:"\f5be"}.fa-cc-stripe:before{content:"\f1f5"}.fa-creative-commons-share:before{content:"\f4f2"}.fa-bitcoin:before{content:"\f379"}.fa-keycdn:before{content:"\f3ba"}.fa-opera:before{content:"\f26a"}.fa-itch-io:before{content:"\f83a"}.fa-umbraco:before{content:"\f8e8"}.fa-galactic-senate:before{content:"\f50d"}.fa-ubuntu:before{content:"\f7df"}.fa-draft2digital:before{content:"\f396"}.fa-stripe:before{content:"\f429"}.fa-houzz:before{content:"\f27c"}.fa-gg:before{content:"\f260"}.fa-dhl:before{content:"\f790"}.fa-pinterest-square:before,.fa-square-pinterest:before{content:"\f0d3"}.fa-xing:before{content:"\f168"}.fa-blackberry:before{content:"\f37b"}.fa-creative-commons-pd:before{content:"\f4ec"}.fa-playstation:before{content:"\f3df"}.fa-quinscape:before{content:"\f459"}.fa-less:before{content:"\f41d"}.fa-blogger-b:before{content:"\f37d"}.fa-opencart:before{content:"\f23d"}.fa-vine:before{content:"\f1ca"}.fa-paypal:before{content:"\f1ed"}.fa-gitlab:before{content:"\f296"}.fa-typo3:before{content:"\f42b"}.fa-reddit-alien:before{content:"\f281"}.fa-yahoo:before{content:"\f19e"}.fa-dailymotion:before{content:"\e052"}.fa-affiliatetheme:before{content:"\f36b"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-bootstrap:before{content:"\f836"}.fa-odnoklassniki:before{content:"\f263"}.fa-nfc-symbol:before{content:"\e531"}.fa-ethereum:before{content:"\f42e"}.fa-speaker-deck:before{content:"\f83c"}.fa-creative-commons-nc-eu:before{content:"\f4e9"}.fa-patreon:before{content:"\f3d9"}.fa-avianex:before{content:"\f374"}.fa-ello:before{content:"\f5f1"}.fa-gofore:before{content:"\f3a7"}.fa-bimobject:before{content:"\f378"}.fa-facebook-f:before{content:"\f39e"}.fa-google-plus-square:before,.fa-square-google-plus:before{content:"\f0d4"}.fa-mandalorian:before{content:"\f50f"}.fa-first-order-alt:before{content:"\f50a"}.fa-osi:before{content:"\f41a"}.fa-google-wallet:before{content:"\f1ee"}.fa-d-and-d-beyond:before{content:"\f6ca"}.fa-periscope:before{content:"\f3da"}.fa-fulcrum:before{content:"\f50b"}.fa-cloudscale:before{content:"\f383"}.fa-forumbee:before{content:"\f211"}.fa-mizuni:before{content:"\f3cc"}.fa-schlix:before{content:"\f3ea"}.fa-square-xing:before,.fa-xing-square:before{content:"\f169"}.fa-bandcamp:before{content:"\f2d5"}.fa-wpforms:before{content:"\f298"}.fa-cloudversify:before{content:"\f385"}.fa-usps:before{content:"\f7e1"}.fa-megaport:before{content:"\f5a3"}.fa-magento:before{content:"\f3c4"}.fa-spotify:before{content:"\f1bc"}.fa-optin-monster:before{content:"\f23c"}.fa-fly:before{content:"\f417"}.fa-aviato:before{content:"\f421"}.fa-itunes:before{content:"\f3b4"}.fa-cuttlefish:before{content:"\f38c"}.fa-blogger:before{content:"\f37c"}.fa-flickr:before{content:"\f16e"}.fa-viber:before{content:"\f409"}.fa-soundcloud:before{content:"\f1be"}.fa-digg:before{content:"\f1a6"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-symfony:before{content:"\f83d"}.fa-maxcdn:before{content:"\f136"}.fa-etsy:before{content:"\f2d7"}.fa-facebook-messenger:before{content:"\f39f"}.fa-audible:before{content:"\f373"}.fa-think-peaks:before{content:"\f731"}.fa-bilibili:before{content:"\e3d9"}.fa-erlang:before{content:"\f39d"}.fa-cotton-bureau:before{content:"\f89e"}.fa-dashcube:before{content:"\f210"}.fa-42-group:before,.fa-innosoft:before{content:"\e080"}.fa-stack-exchange:before{content:"\f18d"}.fa-elementor:before{content:"\f430"}.fa-pied-piper-square:before,.fa-square-pied-piper:before{content:"\e01e"}.fa-creative-commons-nd:before{content:"\f4eb"}.fa-palfed:before{content:"\f3d8"}.fa-superpowers:before{content:"\f2dd"}.fa-resolving:before{content:"\f3e7"}.fa-xbox:before{content:"\f412"}.fa-searchengin:before{content:"\f3eb"}.fa-tiktok:before{content:"\e07b"}.fa-facebook-square:before,.fa-square-facebook:before{content:"\f082"}.fa-renren:before{content:"\f18b"}.fa-linux:before{content:"\f17c"}.fa-glide:before{content:"\f2a5"}.fa-linkedin:before{content:"\f08c"}.fa-hubspot:before{content:"\f3b2"}.fa-deploydog:before{content:"\f38e"}.fa-twitch:before{content:"\f1e8"}.fa-ravelry:before{content:"\f2d9"}.fa-mixer:before{content:"\e056"}.fa-lastfm-square:before,.fa-square-lastfm:before{content:"\f203"}.fa-vimeo:before{content:"\f40a"}.fa-mendeley:before{content:"\f7b3"}.fa-uniregistry:before{content:"\f404"}.fa-figma:before{content:"\f799"}.fa-creative-commons-remix:before{content:"\f4ee"}.fa-cc-amazon-pay:before{content:"\f42d"}.fa-dropbox:before{content:"\f16b"}.fa-instagram:before{content:"\f16d"}.fa-cmplid:before{content:"\e360"}.fa-facebook:before{content:"\f09a"}.fa-gripfire:before{content:"\f3ac"}.fa-jedi-order:before{content:"\f50e"}.fa-uikit:before{content:"\f403"}.fa-fort-awesome-alt:before{content:"\f3a3"}.fa-phabricator:before{content:"\f3db"}.fa-ussunnah:before{content:"\f407"}.fa-earlybirds:before{content:"\f39a"}.fa-trade-federation:before{content:"\f513"}.fa-autoprefixer:before{content:"\f41c"}.fa-whatsapp:before{content:"\f232"}.fa-slideshare:before{content:"\f1e7"}.fa-google-play:before{content:"\f3ab"}.fa-viadeo:before{content:"\f2a9"}.fa-line:before{content:"\f3c0"}.fa-google-drive:before{content:"\f3aa"}.fa-servicestack:before{content:"\f3ec"}.fa-simplybuilt:before{content:"\f215"}.fa-bitbucket:before{content:"\f171"}.fa-imdb:before{content:"\f2d8"}.fa-deezer:before{content:"\e077"}.fa-raspberry-pi:before{content:"\f7bb"}.fa-jira:before{content:"\f7b1"}.fa-docker:before{content:"\f395"}.fa-screenpal:before{content:"\e570"}.fa-bluetooth:before{content:"\f293"}.fa-gitter:before{content:"\f426"}.fa-d-and-d:before{content:"\f38d"}.fa-microblog:before{content:"\e01a"}.fa-cc-diners-club:before{content:"\f24c"}.fa-gg-circle:before{content:"\f261"}.fa-pied-piper-hat:before{content:"\f4e5"}.fa-kickstarter-k:before{content:"\f3bc"}.fa-yandex:before{content:"\f413"}.fa-readme:before{content:"\f4d5"}.fa-html5:before{content:"\f13b"}.fa-sellsy:before{content:"\f213"}.fa-sass:before{content:"\f41e"}.fa-wirsindhandwerk:before,.fa-wsh:before{content:"\e2d0"}.fa-buromobelexperte:before{content:"\f37f"}.fa-salesforce:before{content:"\f83b"}.fa-octopus-deploy:before{content:"\e082"}.fa-medapps:before{content:"\f3c6"}.fa-ns8:before{content:"\f3d5"}.fa-pinterest-p:before{content:"\f231"}.fa-apper:before{content:"\f371"}.fa-fort-awesome:before{content:"\f286"}.fa-waze:before{content:"\f83f"}.fa-cc-jcb:before{content:"\f24b"}.fa-snapchat-ghost:before,.fa-snapchat:before{content:"\f2ab"}.fa-fantasy-flight-games:before{content:"\f6dc"}.fa-rust:before{content:"\e07a"}.fa-wix:before{content:"\f5cf"}.fa-behance-square:before,.fa-square-behance:before{content:"\f1b5"}.fa-supple:before{content:"\f3f9"}.fa-rebel:before{content:"\f1d0"}.fa-css3:before{content:"\f13c"}.fa-staylinked:before{content:"\f3f5"}.fa-kaggle:before{content:"\f5fa"}.fa-space-awesome:before{content:"\e5ac"}.fa-deviantart:before{content:"\f1bd"}.fa-cpanel:before{content:"\f388"}.fa-goodreads-g:before{content:"\f3a9"}.fa-git-square:before,.fa-square-git:before{content:"\f1d2"}.fa-square-tumblr:before,.fa-tumblr-square:before{content:"\f174"}.fa-trello:before{content:"\f181"}.fa-creative-commons-nc-jp:before{content:"\f4ea"}.fa-get-pocket:before{content:"\f265"}.fa-perbyte:before{content:"\e083"}.fa-grunt:before{content:"\f3ad"}.fa-weebly:before{content:"\f5cc"}.fa-connectdevelop:before{content:"\f20e"}.fa-leanpub:before{content:"\f212"}.fa-black-tie:before{content:"\f27e"}.fa-themeco:before{content:"\f5c6"}.fa-python:before{content:"\f3e2"}.fa-android:before{content:"\f17b"}.fa-bots:before{content:"\e340"}.fa-free-code-camp:before{content:"\f2c5"}.fa-hornbill:before{content:"\f592"}.fa-js:before{content:"\f3b8"}.fa-ideal:before{content:"\e013"}.fa-git:before{content:"\f1d3"}.fa-dev:before{content:"\f6cc"}.fa-sketch:before{content:"\f7c6"}.fa-yandex-international:before{content:"\f414"}.fa-cc-amex:before{content:"\f1f3"}.fa-uber:before{content:"\f402"}.fa-github:before{content:"\f09b"}.fa-php:before{content:"\f457"}.fa-alipay:before{content:"\f642"}.fa-youtube:before{content:"\f167"}.fa-skyatlas:before{content:"\f216"}.fa-firefox-browser:before{content:"\e007"}.fa-replyd:before{content:"\f3e6"}.fa-suse:before{content:"\f7d6"}.fa-jenkins:before{content:"\f3b6"}.fa-twitter:before{content:"\f099"}.fa-rockrms:before{content:"\f3e9"}.fa-pinterest:before{content:"\f0d2"}.fa-buffer:before{content:"\f837"}.fa-npm:before{content:"\f3d4"}.fa-yammer:before{content:"\f840"}.fa-btc:before{content:"\f15a"}.fa-dribbble:before{content:"\f17d"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-internet-explorer:before{content:"\f26b"}.fa-stubber:before{content:"\e5c7"}.fa-telegram-plane:before,.fa-telegram:before{content:"\f2c6"}.fa-old-republic:before{content:"\f510"}.fa-odysee:before{content:"\e5c6"}.fa-square-whatsapp:before,.fa-whatsapp-square:before{content:"\f40c"}.fa-node-js:before{content:"\f3d3"}.fa-edge-legacy:before{content:"\e078"}.fa-slack-hash:before,.fa-slack:before{content:"\f198"}.fa-medrt:before{content:"\f3c8"}.fa-usb:before{content:"\f287"}.fa-tumblr:before{content:"\f173"}.fa-vaadin:before{content:"\f408"}.fa-quora:before{content:"\f2c4"}.fa-reacteurope:before{content:"\f75d"}.fa-medium-m:before,.fa-medium:before{content:"\f23a"}.fa-amilia:before{content:"\f36d"}.fa-mixcloud:before{content:"\f289"}.fa-flipboard:before{content:"\f44d"}.fa-viacoin:before{content:"\f237"}.fa-critical-role:before{content:"\f6c9"}.fa-sitrox:before{content:"\e44a"}.fa-discourse:before{content:"\f393"}.fa-joomla:before{content:"\f1aa"}.fa-mastodon:before{content:"\f4f6"}.fa-airbnb:before{content:"\f834"}.fa-wolf-pack-battalion:before{content:"\f514"}.fa-buy-n-large:before{content:"\f8a6"}.fa-gulp:before{content:"\f3ae"}.fa-creative-commons-sampling-plus:before{content:"\f4f1"}.fa-strava:before{content:"\f428"}.fa-ember:before{content:"\f423"}.fa-canadian-maple-leaf:before{content:"\f785"}.fa-teamspeak:before{content:"\f4f9"}.fa-pushed:before{content:"\f3e1"}.fa-wordpress-simple:before{content:"\f411"}.fa-nutritionix:before{content:"\f3d6"}.fa-wodu:before{content:"\e088"}.fa-google-pay:before{content:"\e079"}.fa-intercom:before{content:"\f7af"}.fa-zhihu:before{content:"\f63f"}.fa-korvue:before{content:"\f42f"}.fa-pix:before{content:"\e43a"}.fa-steam-symbol:before{content:"\f3f6"}:host,:root{--fa-font-regular:normal 400 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.ttf) format("truetype")}.fa-regular,.far{font-weight:400}:host,:root{--fa-style-family-classic:"Font Awesome 6 Free";--fa-font-solid:normal 900 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.ttf) format("truetype")}.fa-solid,.fas{font-weight:900}@font-face{font-family:"Font Awesome 5 Brands";font-display:block;font-weight:400;src:url(../webfonts/fa-brands-400.woff2) format("woff2"),url(../webfonts/fa-brands-400.ttf) format("truetype")}@font-face{font-family:"Font Awesome 5 Free";font-display:block;font-weight:900;src:url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.ttf) format("truetype")}@font-face{font-family:"Font Awesome 5 Free";font-display:block;font-weight:400;src:url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.ttf) format("truetype")}@font-face{font-family:"FontAwesome";font-display:block;src:url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.ttf) format("truetype")}@font-face{font-family:"FontAwesome";font-display:block;src:url(../webfonts/fa-brands-400.woff2) format("woff2"),url(../webfonts/fa-brands-400.ttf) format("truetype")}@font-face{font-family:"FontAwesome";font-display:block;src:url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.ttf) format("truetype");unicode-range:u+f003,u+f006,u+f014,u+f016-f017,u+f01a-f01b,u+f01d,u+f022,u+f03e,u+f044,u+f046,u+f05c-f05d,u+f06e,u+f070,u+f087-f088,u+f08a,u+f094,u+f096-f097,u+f09d,u+f0a0,u+f0a2,u+f0a4-f0a7,u+f0c5,u+f0c7,u+f0e5-f0e6,u+f0eb,u+f0f6-f0f8,u+f10c,u+f114-f115,u+f118-f11a,u+f11c-f11d,u+f133,u+f147,u+f14e,u+f150-f152,u+f185-f186,u+f18e,u+f190-f192,u+f196,u+f1c1-f1c9,u+f1d9,u+f1db,u+f1e3,u+f1ea,u+f1f7,u+f1f9,u+f20a,u+f247-f248,u+f24a,u+f24d,u+f255-f25b,u+f25d,u+f271-f274,u+f278,u+f27b,u+f28c,u+f28e,u+f29c,u+f2b5,u+f2b7,u+f2ba,u+f2bc,u+f2be,u+f2c0-f2c1,u+f2c3,u+f2d0,u+f2d2,u+f2d4,u+f2dc}@font-face{font-family:"FontAwesome";font-display:block;src:url(../webfonts/fa-v4compatibility.woff2) format("woff2"),url(../webfonts/fa-v4compatibility.ttf) format("truetype");unicode-range:u+f041,u+f047,u+f065-f066,u+f07d-f07e,u+f080,u+f08b,u+f08e,u+f090,u+f09a,u+f0ac,u+f0ae,u+f0b2,u+f0d0,u+f0d6,u+f0e4,u+f0ec,u+f10a-f10b,u+f123,u+f13e,u+f148-f149,u+f14c,u+f156,u+f15e,u+f160-f161,u+f163,u+f175-f178,u+f195,u+f1f8,u+f219,u+f27a} \ No newline at end of file diff --git a/assets/css/external/swagger-ui/swagger-ui.min.css b/assets/css/external/swagger-ui/swagger-ui.min.css index bede444c..7e3bf924 100644 --- a/assets/css/external/swagger-ui/swagger-ui.min.css +++ b/assets/css/external/swagger-ui/swagger-ui.min.css @@ -1 +1 @@ -.swagger-ui{color:#3b4151;font-family:sans-serif/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */}.swagger-ui html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;line-height:1.15}.swagger-ui body{margin:0}.swagger-ui article,.swagger-ui aside,.swagger-ui footer,.swagger-ui header,.swagger-ui nav,.swagger-ui section{display:block}.swagger-ui h1{font-size:2em;margin:.67em 0}.swagger-ui figcaption,.swagger-ui figure,.swagger-ui main{display:block}.swagger-ui figure{margin:1em 40px}.swagger-ui hr{box-sizing:content-box;height:0;overflow:visible}.swagger-ui pre{font-family:monospace,monospace;font-size:1em}.swagger-ui a{-webkit-text-decoration-skip:objects;background-color:transparent}.swagger-ui abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.swagger-ui b,.swagger-ui strong{font-weight:inherit;font-weight:bolder}.swagger-ui code,.swagger-ui kbd,.swagger-ui samp{font-family:monospace,monospace;font-size:1em}.swagger-ui dfn{font-style:italic}.swagger-ui mark{background-color:#ff0;color:#000}.swagger-ui small{font-size:80%}.swagger-ui sub,.swagger-ui sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.swagger-ui sub{bottom:-.25em}.swagger-ui sup{top:-.5em}.swagger-ui audio,.swagger-ui video{display:inline-block}.swagger-ui audio:not([controls]){display:none;height:0}.swagger-ui img{border-style:none}.swagger-ui svg:not(:root){overflow:hidden}.swagger-ui button,.swagger-ui input,.swagger-ui optgroup,.swagger-ui select,.swagger-ui textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}.swagger-ui button,.swagger-ui input{overflow:visible}.swagger-ui button,.swagger-ui select{text-transform:none}.swagger-ui [type=reset],.swagger-ui [type=submit],.swagger-ui button,.swagger-ui html [type=button]{-webkit-appearance:button}.swagger-ui [type=button]::-moz-focus-inner,.swagger-ui [type=reset]::-moz-focus-inner,.swagger-ui [type=submit]::-moz-focus-inner,.swagger-ui button::-moz-focus-inner{border-style:none;padding:0}.swagger-ui [type=button]:-moz-focusring,.swagger-ui [type=reset]:-moz-focusring,.swagger-ui [type=submit]:-moz-focusring,.swagger-ui button:-moz-focusring{outline:1px dotted ButtonText}.swagger-ui fieldset{padding:.35em .75em .625em}.swagger-ui legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}.swagger-ui progress{display:inline-block;vertical-align:baseline}.swagger-ui textarea{overflow:auto}.swagger-ui [type=checkbox],.swagger-ui [type=radio]{box-sizing:border-box;padding:0}.swagger-ui [type=number]::-webkit-inner-spin-button,.swagger-ui [type=number]::-webkit-outer-spin-button{height:auto}.swagger-ui [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.swagger-ui [type=search]::-webkit-search-cancel-button,.swagger-ui [type=search]::-webkit-search-decoration{-webkit-appearance:none}.swagger-ui ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.swagger-ui details,.swagger-ui menu{display:block}.swagger-ui summary{display:list-item}.swagger-ui canvas{display:inline-block}.swagger-ui [hidden],.swagger-ui template{display:none}.swagger-ui .debug *{outline:1px solid gold}.swagger-ui .debug-white *{outline:1px solid #fff}.swagger-ui .debug-black *{outline:1px solid #000}.swagger-ui .debug-grid{background:transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MTRDOTY4N0U2N0VFMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTRDOTY4N0Q2N0VFMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjcyQkQ3NjY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NjcyQkQ3NzY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PsBS+GMAAAAjSURBVHjaYvz//z8DLsD4gcGXiYEAGBIKGBne//fFpwAgwAB98AaF2pjlUQAAAABJRU5ErkJggg==) repeat 0 0}.swagger-ui .debug-grid-16{background:transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODYyRjhERDU2N0YyMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ODYyRjhERDQ2N0YyMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjcyQkQ3QTY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NjcyQkQ3QjY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PvCS01IAAABMSURBVHjaYmR4/5+BFPBfAMFm/MBgx8RAGWCn1AAmSg34Q6kBDKMGMDCwICeMIemF/5QawEipAWwUhwEjMDvbAWlWkvVBwu8vQIABAEwBCph8U6c0AAAAAElFTkSuQmCC) repeat 0 0}.swagger-ui .debug-grid-8-solid{background:#fff url(data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAAAAAD/4QMxaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzExMSA3OS4xNTgzMjUsIDIwMTUvMDkvMTAtMDE6MTA6MjAgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE1IChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkIxMjI0OTczNjdCMzExRTZCMkJDRTI0MDgxMDAyMTcxIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkIxMjI0OTc0NjdCMzExRTZCMkJDRTI0MDgxMDAyMTcxIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QjEyMjQ5NzE2N0IzMTFFNkIyQkNFMjQwODEwMDIxNzEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QjEyMjQ5NzI2N0IzMTFFNkIyQkNFMjQwODEwMDIxNzEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sAhAAbGhopHSlBJiZBQi8vL0JHPz4+P0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHAR0pKTQmND8oKD9HPzU/R0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0f/wAARCAAIAAgDASIAAhEBAxEB/8QAWQABAQAAAAAAAAAAAAAAAAAAAAYBAQEAAAAAAAAAAAAAAAAAAAIEEAEBAAMBAAAAAAAAAAAAAAABADECA0ERAAEDBQAAAAAAAAAAAAAAAAARITFBUWESIv/aAAwDAQACEQMRAD8AoOnTV1QTD7JJshP3vSM3P//Z) repeat 0 0}.swagger-ui .debug-grid-16-solid{background:#fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzY3MkJEN0U2N0M1MTFFNkIyQkNFMjQwODEwMDIxNzEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzY3MkJEN0Y2N0M1MTFFNkIyQkNFMjQwODEwMDIxNzEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjcyQkQ3QzY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NjcyQkQ3RDY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pve6J3kAAAAzSURBVHjaYvz//z8D0UDsMwMjSRoYP5Gq4SPNbRjVMEQ1fCRDg+in/6+J1AJUxsgAEGAA31BAJMS0GYEAAAAASUVORK5CYII=) repeat 0 0}.swagger-ui .border-box,.swagger-ui a,.swagger-ui article,.swagger-ui body,.swagger-ui code,.swagger-ui dd,.swagger-ui div,.swagger-ui dl,.swagger-ui dt,.swagger-ui fieldset,.swagger-ui footer,.swagger-ui form,.swagger-ui h1,.swagger-ui h2,.swagger-ui h3,.swagger-ui h4,.swagger-ui h5,.swagger-ui h6,.swagger-ui header,.swagger-ui html,.swagger-ui input[type=email],.swagger-ui input[type=number],.swagger-ui input[type=password],.swagger-ui input[type=tel],.swagger-ui input[type=text],.swagger-ui input[type=url],.swagger-ui legend,.swagger-ui li,.swagger-ui main,.swagger-ui ol,.swagger-ui p,.swagger-ui pre,.swagger-ui section,.swagger-ui table,.swagger-ui td,.swagger-ui textarea,.swagger-ui th,.swagger-ui tr,.swagger-ui ul{box-sizing:border-box}.swagger-ui .aspect-ratio{height:0;position:relative}.swagger-ui .aspect-ratio--16x9{padding-bottom:56.25%}.swagger-ui .aspect-ratio--9x16{padding-bottom:177.77%}.swagger-ui .aspect-ratio--4x3{padding-bottom:75%}.swagger-ui .aspect-ratio--3x4{padding-bottom:133.33%}.swagger-ui .aspect-ratio--6x4{padding-bottom:66.6%}.swagger-ui .aspect-ratio--4x6{padding-bottom:150%}.swagger-ui .aspect-ratio--8x5{padding-bottom:62.5%}.swagger-ui .aspect-ratio--5x8{padding-bottom:160%}.swagger-ui .aspect-ratio--7x5{padding-bottom:71.42%}.swagger-ui .aspect-ratio--5x7{padding-bottom:140%}.swagger-ui .aspect-ratio--1x1{padding-bottom:100%}.swagger-ui .aspect-ratio--object{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%;z-index:100}@media screen and (min-width:30em){.swagger-ui .aspect-ratio-ns{height:0;position:relative}.swagger-ui .aspect-ratio--16x9-ns{padding-bottom:56.25%}.swagger-ui .aspect-ratio--9x16-ns{padding-bottom:177.77%}.swagger-ui .aspect-ratio--4x3-ns{padding-bottom:75%}.swagger-ui .aspect-ratio--3x4-ns{padding-bottom:133.33%}.swagger-ui .aspect-ratio--6x4-ns{padding-bottom:66.6%}.swagger-ui .aspect-ratio--4x6-ns{padding-bottom:150%}.swagger-ui .aspect-ratio--8x5-ns{padding-bottom:62.5%}.swagger-ui .aspect-ratio--5x8-ns{padding-bottom:160%}.swagger-ui .aspect-ratio--7x5-ns{padding-bottom:71.42%}.swagger-ui .aspect-ratio--5x7-ns{padding-bottom:140%}.swagger-ui .aspect-ratio--1x1-ns{padding-bottom:100%}.swagger-ui .aspect-ratio--object-ns{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%;z-index:100}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .aspect-ratio-m{height:0;position:relative}.swagger-ui .aspect-ratio--16x9-m{padding-bottom:56.25%}.swagger-ui .aspect-ratio--9x16-m{padding-bottom:177.77%}.swagger-ui .aspect-ratio--4x3-m{padding-bottom:75%}.swagger-ui .aspect-ratio--3x4-m{padding-bottom:133.33%}.swagger-ui .aspect-ratio--6x4-m{padding-bottom:66.6%}.swagger-ui .aspect-ratio--4x6-m{padding-bottom:150%}.swagger-ui .aspect-ratio--8x5-m{padding-bottom:62.5%}.swagger-ui .aspect-ratio--5x8-m{padding-bottom:160%}.swagger-ui .aspect-ratio--7x5-m{padding-bottom:71.42%}.swagger-ui .aspect-ratio--5x7-m{padding-bottom:140%}.swagger-ui .aspect-ratio--1x1-m{padding-bottom:100%}.swagger-ui .aspect-ratio--object-m{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%;z-index:100}}@media screen and (min-width:60em){.swagger-ui .aspect-ratio-l{height:0;position:relative}.swagger-ui .aspect-ratio--16x9-l{padding-bottom:56.25%}.swagger-ui .aspect-ratio--9x16-l{padding-bottom:177.77%}.swagger-ui .aspect-ratio--4x3-l{padding-bottom:75%}.swagger-ui .aspect-ratio--3x4-l{padding-bottom:133.33%}.swagger-ui .aspect-ratio--6x4-l{padding-bottom:66.6%}.swagger-ui .aspect-ratio--4x6-l{padding-bottom:150%}.swagger-ui .aspect-ratio--8x5-l{padding-bottom:62.5%}.swagger-ui .aspect-ratio--5x8-l{padding-bottom:160%}.swagger-ui .aspect-ratio--7x5-l{padding-bottom:71.42%}.swagger-ui .aspect-ratio--5x7-l{padding-bottom:140%}.swagger-ui .aspect-ratio--1x1-l{padding-bottom:100%}.swagger-ui .aspect-ratio--object-l{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%;z-index:100}}.swagger-ui img{max-width:100%}.swagger-ui .cover{background-size:cover!important}.swagger-ui .contain{background-size:contain!important}@media screen and (min-width:30em){.swagger-ui .cover-ns{background-size:cover!important}.swagger-ui .contain-ns{background-size:contain!important}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .cover-m{background-size:cover!important}.swagger-ui .contain-m{background-size:contain!important}}@media screen and (min-width:60em){.swagger-ui .cover-l{background-size:cover!important}.swagger-ui .contain-l{background-size:contain!important}}.swagger-ui .bg-center{background-position:50%;background-repeat:no-repeat}.swagger-ui .bg-top{background-position:top;background-repeat:no-repeat}.swagger-ui .bg-right{background-position:100%;background-repeat:no-repeat}.swagger-ui .bg-bottom{background-position:bottom;background-repeat:no-repeat}.swagger-ui .bg-left{background-position:0;background-repeat:no-repeat}@media screen and (min-width:30em){.swagger-ui .bg-center-ns{background-position:50%;background-repeat:no-repeat}.swagger-ui .bg-top-ns{background-position:top;background-repeat:no-repeat}.swagger-ui .bg-right-ns{background-position:100%;background-repeat:no-repeat}.swagger-ui .bg-bottom-ns{background-position:bottom;background-repeat:no-repeat}.swagger-ui .bg-left-ns{background-position:0;background-repeat:no-repeat}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .bg-center-m{background-position:50%;background-repeat:no-repeat}.swagger-ui .bg-top-m{background-position:top;background-repeat:no-repeat}.swagger-ui .bg-right-m{background-position:100%;background-repeat:no-repeat}.swagger-ui .bg-bottom-m{background-position:bottom;background-repeat:no-repeat}.swagger-ui .bg-left-m{background-position:0;background-repeat:no-repeat}}@media screen and (min-width:60em){.swagger-ui .bg-center-l{background-position:50%;background-repeat:no-repeat}.swagger-ui .bg-top-l{background-position:top;background-repeat:no-repeat}.swagger-ui .bg-right-l{background-position:100%;background-repeat:no-repeat}.swagger-ui .bg-bottom-l{background-position:bottom;background-repeat:no-repeat}.swagger-ui .bg-left-l{background-position:0;background-repeat:no-repeat}}.swagger-ui .outline{outline:1px solid}.swagger-ui .outline-transparent{outline:1px solid transparent}.swagger-ui .outline-0{outline:0}@media screen and (min-width:30em){.swagger-ui .outline-ns{outline:1px solid}.swagger-ui .outline-transparent-ns{outline:1px solid transparent}.swagger-ui .outline-0-ns{outline:0}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .outline-m{outline:1px solid}.swagger-ui .outline-transparent-m{outline:1px solid transparent}.swagger-ui .outline-0-m{outline:0}}@media screen and (min-width:60em){.swagger-ui .outline-l{outline:1px solid}.swagger-ui .outline-transparent-l{outline:1px solid transparent}.swagger-ui .outline-0-l{outline:0}}.swagger-ui .ba{border-style:solid;border-width:1px}.swagger-ui .bt{border-top-style:solid;border-top-width:1px}.swagger-ui .br{border-right-style:solid;border-right-width:1px}.swagger-ui .bb{border-bottom-style:solid;border-bottom-width:1px}.swagger-ui .bl{border-left-style:solid;border-left-width:1px}.swagger-ui .bn{border-style:none;border-width:0}@media screen and (min-width:30em){.swagger-ui .ba-ns{border-style:solid;border-width:1px}.swagger-ui .bt-ns{border-top-style:solid;border-top-width:1px}.swagger-ui .br-ns{border-right-style:solid;border-right-width:1px}.swagger-ui .bb-ns{border-bottom-style:solid;border-bottom-width:1px}.swagger-ui .bl-ns{border-left-style:solid;border-left-width:1px}.swagger-ui .bn-ns{border-style:none;border-width:0}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .ba-m{border-style:solid;border-width:1px}.swagger-ui .bt-m{border-top-style:solid;border-top-width:1px}.swagger-ui .br-m{border-right-style:solid;border-right-width:1px}.swagger-ui .bb-m{border-bottom-style:solid;border-bottom-width:1px}.swagger-ui .bl-m{border-left-style:solid;border-left-width:1px}.swagger-ui .bn-m{border-style:none;border-width:0}}@media screen and (min-width:60em){.swagger-ui .ba-l{border-style:solid;border-width:1px}.swagger-ui .bt-l{border-top-style:solid;border-top-width:1px}.swagger-ui .br-l{border-right-style:solid;border-right-width:1px}.swagger-ui .bb-l{border-bottom-style:solid;border-bottom-width:1px}.swagger-ui .bl-l{border-left-style:solid;border-left-width:1px}.swagger-ui .bn-l{border-style:none;border-width:0}}.swagger-ui .b--black{border-color:#000}.swagger-ui .b--near-black{border-color:#111}.swagger-ui .b--dark-gray{border-color:#333}.swagger-ui .b--mid-gray{border-color:#555}.swagger-ui .b--gray{border-color:#777}.swagger-ui .b--silver{border-color:#999}.swagger-ui .b--light-silver{border-color:#aaa}.swagger-ui .b--moon-gray{border-color:#ccc}.swagger-ui .b--light-gray{border-color:#eee}.swagger-ui .b--near-white{border-color:#f4f4f4}.swagger-ui .b--white{border-color:#fff}.swagger-ui .b--white-90{border-color:hsla(0,0%,100%,.9)}.swagger-ui .b--white-80{border-color:hsla(0,0%,100%,.8)}.swagger-ui .b--white-70{border-color:hsla(0,0%,100%,.7)}.swagger-ui .b--white-60{border-color:hsla(0,0%,100%,.6)}.swagger-ui .b--white-50{border-color:hsla(0,0%,100%,.5)}.swagger-ui .b--white-40{border-color:hsla(0,0%,100%,.4)}.swagger-ui .b--white-30{border-color:hsla(0,0%,100%,.3)}.swagger-ui .b--white-20{border-color:hsla(0,0%,100%,.2)}.swagger-ui .b--white-10{border-color:hsla(0,0%,100%,.1)}.swagger-ui .b--white-05{border-color:hsla(0,0%,100%,.05)}.swagger-ui .b--white-025{border-color:hsla(0,0%,100%,.025)}.swagger-ui .b--white-0125{border-color:hsla(0,0%,100%,.013)}.swagger-ui .b--black-90{border-color:rgba(0,0,0,.9)}.swagger-ui .b--black-80{border-color:rgba(0,0,0,.8)}.swagger-ui .b--black-70{border-color:rgba(0,0,0,.7)}.swagger-ui .b--black-60{border-color:rgba(0,0,0,.6)}.swagger-ui .b--black-50{border-color:rgba(0,0,0,.5)}.swagger-ui .b--black-40{border-color:rgba(0,0,0,.4)}.swagger-ui .b--black-30{border-color:rgba(0,0,0,.3)}.swagger-ui .b--black-20{border-color:rgba(0,0,0,.2)}.swagger-ui .b--black-10{border-color:rgba(0,0,0,.1)}.swagger-ui .b--black-05{border-color:rgba(0,0,0,.05)}.swagger-ui .b--black-025{border-color:rgba(0,0,0,.025)}.swagger-ui .b--black-0125{border-color:rgba(0,0,0,.013)}.swagger-ui .b--dark-red{border-color:#e7040f}.swagger-ui .b--red{border-color:#ff4136}.swagger-ui .b--light-red{border-color:#ff725c}.swagger-ui .b--orange{border-color:#ff6300}.swagger-ui .b--gold{border-color:#ffb700}.swagger-ui .b--yellow{border-color:gold}.swagger-ui .b--light-yellow{border-color:#fbf1a9}.swagger-ui .b--purple{border-color:#5e2ca5}.swagger-ui .b--light-purple{border-color:#a463f2}.swagger-ui .b--dark-pink{border-color:#d5008f}.swagger-ui .b--hot-pink{border-color:#ff41b4}.swagger-ui .b--pink{border-color:#ff80cc}.swagger-ui .b--light-pink{border-color:#ffa3d7}.swagger-ui .b--dark-green{border-color:#137752}.swagger-ui .b--green{border-color:#19a974}.swagger-ui .b--light-green{border-color:#9eebcf}.swagger-ui .b--navy{border-color:#001b44}.swagger-ui .b--dark-blue{border-color:#00449e}.swagger-ui .b--blue{border-color:#357edd}.swagger-ui .b--light-blue{border-color:#96ccff}.swagger-ui .b--lightest-blue{border-color:#cdecff}.swagger-ui .b--washed-blue{border-color:#f6fffe}.swagger-ui .b--washed-green{border-color:#e8fdf5}.swagger-ui .b--washed-yellow{border-color:#fffceb}.swagger-ui .b--washed-red{border-color:#ffdfdf}.swagger-ui .b--transparent{border-color:transparent}.swagger-ui .b--inherit{border-color:inherit}.swagger-ui .br0{border-radius:0}.swagger-ui .br1{border-radius:.125rem}.swagger-ui .br2{border-radius:.25rem}.swagger-ui .br3{border-radius:.5rem}.swagger-ui .br4{border-radius:1rem}.swagger-ui .br-100{border-radius:100%}.swagger-ui .br-pill{border-radius:9999px}.swagger-ui .br--bottom{border-top-left-radius:0;border-top-right-radius:0}.swagger-ui .br--top{border-bottom-left-radius:0;border-bottom-right-radius:0}.swagger-ui .br--right{border-bottom-left-radius:0;border-top-left-radius:0}.swagger-ui .br--left{border-bottom-right-radius:0;border-top-right-radius:0}@media screen and (min-width:30em){.swagger-ui .br0-ns{border-radius:0}.swagger-ui .br1-ns{border-radius:.125rem}.swagger-ui .br2-ns{border-radius:.25rem}.swagger-ui .br3-ns{border-radius:.5rem}.swagger-ui .br4-ns{border-radius:1rem}.swagger-ui .br-100-ns{border-radius:100%}.swagger-ui .br-pill-ns{border-radius:9999px}.swagger-ui .br--bottom-ns{border-top-left-radius:0;border-top-right-radius:0}.swagger-ui .br--top-ns{border-bottom-left-radius:0;border-bottom-right-radius:0}.swagger-ui .br--right-ns{border-bottom-left-radius:0;border-top-left-radius:0}.swagger-ui .br--left-ns{border-bottom-right-radius:0;border-top-right-radius:0}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .br0-m{border-radius:0}.swagger-ui .br1-m{border-radius:.125rem}.swagger-ui .br2-m{border-radius:.25rem}.swagger-ui .br3-m{border-radius:.5rem}.swagger-ui .br4-m{border-radius:1rem}.swagger-ui .br-100-m{border-radius:100%}.swagger-ui .br-pill-m{border-radius:9999px}.swagger-ui .br--bottom-m{border-top-left-radius:0;border-top-right-radius:0}.swagger-ui .br--top-m{border-bottom-left-radius:0;border-bottom-right-radius:0}.swagger-ui .br--right-m{border-bottom-left-radius:0;border-top-left-radius:0}.swagger-ui .br--left-m{border-bottom-right-radius:0;border-top-right-radius:0}}@media screen and (min-width:60em){.swagger-ui .br0-l{border-radius:0}.swagger-ui .br1-l{border-radius:.125rem}.swagger-ui .br2-l{border-radius:.25rem}.swagger-ui .br3-l{border-radius:.5rem}.swagger-ui .br4-l{border-radius:1rem}.swagger-ui .br-100-l{border-radius:100%}.swagger-ui .br-pill-l{border-radius:9999px}.swagger-ui .br--bottom-l{border-top-left-radius:0;border-top-right-radius:0}.swagger-ui .br--top-l{border-bottom-left-radius:0;border-bottom-right-radius:0}.swagger-ui .br--right-l{border-bottom-left-radius:0;border-top-left-radius:0}.swagger-ui .br--left-l{border-bottom-right-radius:0;border-top-right-radius:0}}.swagger-ui .b--dotted{border-style:dotted}.swagger-ui .b--dashed{border-style:dashed}.swagger-ui .b--solid{border-style:solid}.swagger-ui .b--none{border-style:none}@media screen and (min-width:30em){.swagger-ui .b--dotted-ns{border-style:dotted}.swagger-ui .b--dashed-ns{border-style:dashed}.swagger-ui .b--solid-ns{border-style:solid}.swagger-ui .b--none-ns{border-style:none}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .b--dotted-m{border-style:dotted}.swagger-ui .b--dashed-m{border-style:dashed}.swagger-ui .b--solid-m{border-style:solid}.swagger-ui .b--none-m{border-style:none}}@media screen and (min-width:60em){.swagger-ui .b--dotted-l{border-style:dotted}.swagger-ui .b--dashed-l{border-style:dashed}.swagger-ui .b--solid-l{border-style:solid}.swagger-ui .b--none-l{border-style:none}}.swagger-ui .bw0{border-width:0}.swagger-ui .bw1{border-width:.125rem}.swagger-ui .bw2{border-width:.25rem}.swagger-ui .bw3{border-width:.5rem}.swagger-ui .bw4{border-width:1rem}.swagger-ui .bw5{border-width:2rem}.swagger-ui .bt-0{border-top-width:0}.swagger-ui .br-0{border-right-width:0}.swagger-ui .bb-0{border-bottom-width:0}.swagger-ui .bl-0{border-left-width:0}@media screen and (min-width:30em){.swagger-ui .bw0-ns{border-width:0}.swagger-ui .bw1-ns{border-width:.125rem}.swagger-ui .bw2-ns{border-width:.25rem}.swagger-ui .bw3-ns{border-width:.5rem}.swagger-ui .bw4-ns{border-width:1rem}.swagger-ui .bw5-ns{border-width:2rem}.swagger-ui .bt-0-ns{border-top-width:0}.swagger-ui .br-0-ns{border-right-width:0}.swagger-ui .bb-0-ns{border-bottom-width:0}.swagger-ui .bl-0-ns{border-left-width:0}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .bw0-m{border-width:0}.swagger-ui .bw1-m{border-width:.125rem}.swagger-ui .bw2-m{border-width:.25rem}.swagger-ui .bw3-m{border-width:.5rem}.swagger-ui .bw4-m{border-width:1rem}.swagger-ui .bw5-m{border-width:2rem}.swagger-ui .bt-0-m{border-top-width:0}.swagger-ui .br-0-m{border-right-width:0}.swagger-ui .bb-0-m{border-bottom-width:0}.swagger-ui .bl-0-m{border-left-width:0}}@media screen and (min-width:60em){.swagger-ui .bw0-l{border-width:0}.swagger-ui .bw1-l{border-width:.125rem}.swagger-ui .bw2-l{border-width:.25rem}.swagger-ui .bw3-l{border-width:.5rem}.swagger-ui .bw4-l{border-width:1rem}.swagger-ui .bw5-l{border-width:2rem}.swagger-ui .bt-0-l{border-top-width:0}.swagger-ui .br-0-l{border-right-width:0}.swagger-ui .bb-0-l{border-bottom-width:0}.swagger-ui .bl-0-l{border-left-width:0}}.swagger-ui .shadow-1{box-shadow:0 0 4px 2px rgba(0,0,0,.2)}.swagger-ui .shadow-2{box-shadow:0 0 8px 2px rgba(0,0,0,.2)}.swagger-ui .shadow-3{box-shadow:2px 2px 4px 2px rgba(0,0,0,.2)}.swagger-ui .shadow-4{box-shadow:2px 2px 8px 0 rgba(0,0,0,.2)}.swagger-ui .shadow-5{box-shadow:4px 4px 8px 0 rgba(0,0,0,.2)}@media screen and (min-width:30em){.swagger-ui .shadow-1-ns{box-shadow:0 0 4px 2px rgba(0,0,0,.2)}.swagger-ui .shadow-2-ns{box-shadow:0 0 8px 2px rgba(0,0,0,.2)}.swagger-ui .shadow-3-ns{box-shadow:2px 2px 4px 2px rgba(0,0,0,.2)}.swagger-ui .shadow-4-ns{box-shadow:2px 2px 8px 0 rgba(0,0,0,.2)}.swagger-ui .shadow-5-ns{box-shadow:4px 4px 8px 0 rgba(0,0,0,.2)}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .shadow-1-m{box-shadow:0 0 4px 2px rgba(0,0,0,.2)}.swagger-ui .shadow-2-m{box-shadow:0 0 8px 2px rgba(0,0,0,.2)}.swagger-ui .shadow-3-m{box-shadow:2px 2px 4px 2px rgba(0,0,0,.2)}.swagger-ui .shadow-4-m{box-shadow:2px 2px 8px 0 rgba(0,0,0,.2)}.swagger-ui .shadow-5-m{box-shadow:4px 4px 8px 0 rgba(0,0,0,.2)}}@media screen and (min-width:60em){.swagger-ui .shadow-1-l{box-shadow:0 0 4px 2px rgba(0,0,0,.2)}.swagger-ui .shadow-2-l{box-shadow:0 0 8px 2px rgba(0,0,0,.2)}.swagger-ui .shadow-3-l{box-shadow:2px 2px 4px 2px rgba(0,0,0,.2)}.swagger-ui .shadow-4-l{box-shadow:2px 2px 8px 0 rgba(0,0,0,.2)}.swagger-ui .shadow-5-l{box-shadow:4px 4px 8px 0 rgba(0,0,0,.2)}}.swagger-ui .pre{overflow-x:auto;overflow-y:hidden;overflow:scroll}.swagger-ui .top-0{top:0}.swagger-ui .right-0{right:0}.swagger-ui .bottom-0{bottom:0}.swagger-ui .left-0{left:0}.swagger-ui .top-1{top:1rem}.swagger-ui .right-1{right:1rem}.swagger-ui .bottom-1{bottom:1rem}.swagger-ui .left-1{left:1rem}.swagger-ui .top-2{top:2rem}.swagger-ui .right-2{right:2rem}.swagger-ui .bottom-2{bottom:2rem}.swagger-ui .left-2{left:2rem}.swagger-ui .top--1{top:-1rem}.swagger-ui .right--1{right:-1rem}.swagger-ui .bottom--1{bottom:-1rem}.swagger-ui .left--1{left:-1rem}.swagger-ui .top--2{top:-2rem}.swagger-ui .right--2{right:-2rem}.swagger-ui .bottom--2{bottom:-2rem}.swagger-ui .left--2{left:-2rem}.swagger-ui .absolute--fill{bottom:0;left:0;right:0;top:0}@media screen and (min-width:30em){.swagger-ui .top-0-ns{top:0}.swagger-ui .left-0-ns{left:0}.swagger-ui .right-0-ns{right:0}.swagger-ui .bottom-0-ns{bottom:0}.swagger-ui .top-1-ns{top:1rem}.swagger-ui .left-1-ns{left:1rem}.swagger-ui .right-1-ns{right:1rem}.swagger-ui .bottom-1-ns{bottom:1rem}.swagger-ui .top-2-ns{top:2rem}.swagger-ui .left-2-ns{left:2rem}.swagger-ui .right-2-ns{right:2rem}.swagger-ui .bottom-2-ns{bottom:2rem}.swagger-ui .top--1-ns{top:-1rem}.swagger-ui .right--1-ns{right:-1rem}.swagger-ui .bottom--1-ns{bottom:-1rem}.swagger-ui .left--1-ns{left:-1rem}.swagger-ui .top--2-ns{top:-2rem}.swagger-ui .right--2-ns{right:-2rem}.swagger-ui .bottom--2-ns{bottom:-2rem}.swagger-ui .left--2-ns{left:-2rem}.swagger-ui .absolute--fill-ns{bottom:0;left:0;right:0;top:0}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .top-0-m{top:0}.swagger-ui .left-0-m{left:0}.swagger-ui .right-0-m{right:0}.swagger-ui .bottom-0-m{bottom:0}.swagger-ui .top-1-m{top:1rem}.swagger-ui .left-1-m{left:1rem}.swagger-ui .right-1-m{right:1rem}.swagger-ui .bottom-1-m{bottom:1rem}.swagger-ui .top-2-m{top:2rem}.swagger-ui .left-2-m{left:2rem}.swagger-ui .right-2-m{right:2rem}.swagger-ui .bottom-2-m{bottom:2rem}.swagger-ui .top--1-m{top:-1rem}.swagger-ui .right--1-m{right:-1rem}.swagger-ui .bottom--1-m{bottom:-1rem}.swagger-ui .left--1-m{left:-1rem}.swagger-ui .top--2-m{top:-2rem}.swagger-ui .right--2-m{right:-2rem}.swagger-ui .bottom--2-m{bottom:-2rem}.swagger-ui .left--2-m{left:-2rem}.swagger-ui .absolute--fill-m{bottom:0;left:0;right:0;top:0}}@media screen and (min-width:60em){.swagger-ui .top-0-l{top:0}.swagger-ui .left-0-l{left:0}.swagger-ui .right-0-l{right:0}.swagger-ui .bottom-0-l{bottom:0}.swagger-ui .top-1-l{top:1rem}.swagger-ui .left-1-l{left:1rem}.swagger-ui .right-1-l{right:1rem}.swagger-ui .bottom-1-l{bottom:1rem}.swagger-ui .top-2-l{top:2rem}.swagger-ui .left-2-l{left:2rem}.swagger-ui .right-2-l{right:2rem}.swagger-ui .bottom-2-l{bottom:2rem}.swagger-ui .top--1-l{top:-1rem}.swagger-ui .right--1-l{right:-1rem}.swagger-ui .bottom--1-l{bottom:-1rem}.swagger-ui .left--1-l{left:-1rem}.swagger-ui .top--2-l{top:-2rem}.swagger-ui .right--2-l{right:-2rem}.swagger-ui .bottom--2-l{bottom:-2rem}.swagger-ui .left--2-l{left:-2rem}.swagger-ui .absolute--fill-l{bottom:0;left:0;right:0;top:0}}.swagger-ui .cf:after,.swagger-ui .cf:before{content:" ";display:table}.swagger-ui .cf:after{clear:both}.swagger-ui .cl{clear:left}.swagger-ui .cr{clear:right}.swagger-ui .cb{clear:both}.swagger-ui .cn{clear:none}@media screen and (min-width:30em){.swagger-ui .cl-ns{clear:left}.swagger-ui .cr-ns{clear:right}.swagger-ui .cb-ns{clear:both}.swagger-ui .cn-ns{clear:none}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .cl-m{clear:left}.swagger-ui .cr-m{clear:right}.swagger-ui .cb-m{clear:both}.swagger-ui .cn-m{clear:none}}@media screen and (min-width:60em){.swagger-ui .cl-l{clear:left}.swagger-ui .cr-l{clear:right}.swagger-ui .cb-l{clear:both}.swagger-ui .cn-l{clear:none}}.swagger-ui .flex{display:flex}.swagger-ui .inline-flex{display:inline-flex}.swagger-ui .flex-auto{flex:1 1 auto;min-height:0;min-width:0}.swagger-ui .flex-none{flex:none}.swagger-ui .flex-column{flex-direction:column}.swagger-ui .flex-row{flex-direction:row}.swagger-ui .flex-wrap{flex-wrap:wrap}.swagger-ui .flex-nowrap{flex-wrap:nowrap}.swagger-ui .flex-wrap-reverse{flex-wrap:wrap-reverse}.swagger-ui .flex-column-reverse{flex-direction:column-reverse}.swagger-ui .flex-row-reverse{flex-direction:row-reverse}.swagger-ui .items-start{align-items:flex-start}.swagger-ui .items-end{align-items:flex-end}.swagger-ui .items-center{align-items:center}.swagger-ui .items-baseline{align-items:baseline}.swagger-ui .items-stretch{align-items:stretch}.swagger-ui .self-start{align-self:flex-start}.swagger-ui .self-end{align-self:flex-end}.swagger-ui .self-center{align-self:center}.swagger-ui .self-baseline{align-self:baseline}.swagger-ui .self-stretch{align-self:stretch}.swagger-ui .justify-start{justify-content:flex-start}.swagger-ui .justify-end{justify-content:flex-end}.swagger-ui .justify-center{justify-content:center}.swagger-ui .justify-between{justify-content:space-between}.swagger-ui .justify-around{justify-content:space-around}.swagger-ui .content-start{align-content:flex-start}.swagger-ui .content-end{align-content:flex-end}.swagger-ui .content-center{align-content:center}.swagger-ui .content-between{align-content:space-between}.swagger-ui .content-around{align-content:space-around}.swagger-ui .content-stretch{align-content:stretch}.swagger-ui .order-0{order:0}.swagger-ui .order-1{order:1}.swagger-ui .order-2{order:2}.swagger-ui .order-3{order:3}.swagger-ui .order-4{order:4}.swagger-ui .order-5{order:5}.swagger-ui .order-6{order:6}.swagger-ui .order-7{order:7}.swagger-ui .order-8{order:8}.swagger-ui .order-last{order:99999}.swagger-ui .flex-grow-0{flex-grow:0}.swagger-ui .flex-grow-1{flex-grow:1}.swagger-ui .flex-shrink-0{flex-shrink:0}.swagger-ui .flex-shrink-1{flex-shrink:1}@media screen and (min-width:30em){.swagger-ui .flex-ns{display:flex}.swagger-ui .inline-flex-ns{display:inline-flex}.swagger-ui .flex-auto-ns{flex:1 1 auto;min-height:0;min-width:0}.swagger-ui .flex-none-ns{flex:none}.swagger-ui .flex-column-ns{flex-direction:column}.swagger-ui .flex-row-ns{flex-direction:row}.swagger-ui .flex-wrap-ns{flex-wrap:wrap}.swagger-ui .flex-nowrap-ns{flex-wrap:nowrap}.swagger-ui .flex-wrap-reverse-ns{flex-wrap:wrap-reverse}.swagger-ui .flex-column-reverse-ns{flex-direction:column-reverse}.swagger-ui .flex-row-reverse-ns{flex-direction:row-reverse}.swagger-ui .items-start-ns{align-items:flex-start}.swagger-ui .items-end-ns{align-items:flex-end}.swagger-ui .items-center-ns{align-items:center}.swagger-ui .items-baseline-ns{align-items:baseline}.swagger-ui .items-stretch-ns{align-items:stretch}.swagger-ui .self-start-ns{align-self:flex-start}.swagger-ui .self-end-ns{align-self:flex-end}.swagger-ui .self-center-ns{align-self:center}.swagger-ui .self-baseline-ns{align-self:baseline}.swagger-ui .self-stretch-ns{align-self:stretch}.swagger-ui .justify-start-ns{justify-content:flex-start}.swagger-ui .justify-end-ns{justify-content:flex-end}.swagger-ui .justify-center-ns{justify-content:center}.swagger-ui .justify-between-ns{justify-content:space-between}.swagger-ui .justify-around-ns{justify-content:space-around}.swagger-ui .content-start-ns{align-content:flex-start}.swagger-ui .content-end-ns{align-content:flex-end}.swagger-ui .content-center-ns{align-content:center}.swagger-ui .content-between-ns{align-content:space-between}.swagger-ui .content-around-ns{align-content:space-around}.swagger-ui .content-stretch-ns{align-content:stretch}.swagger-ui .order-0-ns{order:0}.swagger-ui .order-1-ns{order:1}.swagger-ui .order-2-ns{order:2}.swagger-ui .order-3-ns{order:3}.swagger-ui .order-4-ns{order:4}.swagger-ui .order-5-ns{order:5}.swagger-ui .order-6-ns{order:6}.swagger-ui .order-7-ns{order:7}.swagger-ui .order-8-ns{order:8}.swagger-ui .order-last-ns{order:99999}.swagger-ui .flex-grow-0-ns{flex-grow:0}.swagger-ui .flex-grow-1-ns{flex-grow:1}.swagger-ui .flex-shrink-0-ns{flex-shrink:0}.swagger-ui .flex-shrink-1-ns{flex-shrink:1}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .flex-m{display:flex}.swagger-ui .inline-flex-m{display:inline-flex}.swagger-ui .flex-auto-m{flex:1 1 auto;min-height:0;min-width:0}.swagger-ui .flex-none-m{flex:none}.swagger-ui .flex-column-m{flex-direction:column}.swagger-ui .flex-row-m{flex-direction:row}.swagger-ui .flex-wrap-m{flex-wrap:wrap}.swagger-ui .flex-nowrap-m{flex-wrap:nowrap}.swagger-ui .flex-wrap-reverse-m{flex-wrap:wrap-reverse}.swagger-ui .flex-column-reverse-m{flex-direction:column-reverse}.swagger-ui .flex-row-reverse-m{flex-direction:row-reverse}.swagger-ui .items-start-m{align-items:flex-start}.swagger-ui .items-end-m{align-items:flex-end}.swagger-ui .items-center-m{align-items:center}.swagger-ui .items-baseline-m{align-items:baseline}.swagger-ui .items-stretch-m{align-items:stretch}.swagger-ui .self-start-m{align-self:flex-start}.swagger-ui .self-end-m{align-self:flex-end}.swagger-ui .self-center-m{align-self:center}.swagger-ui .self-baseline-m{align-self:baseline}.swagger-ui .self-stretch-m{align-self:stretch}.swagger-ui .justify-start-m{justify-content:flex-start}.swagger-ui .justify-end-m{justify-content:flex-end}.swagger-ui .justify-center-m{justify-content:center}.swagger-ui .justify-between-m{justify-content:space-between}.swagger-ui .justify-around-m{justify-content:space-around}.swagger-ui .content-start-m{align-content:flex-start}.swagger-ui .content-end-m{align-content:flex-end}.swagger-ui .content-center-m{align-content:center}.swagger-ui .content-between-m{align-content:space-between}.swagger-ui .content-around-m{align-content:space-around}.swagger-ui .content-stretch-m{align-content:stretch}.swagger-ui .order-0-m{order:0}.swagger-ui .order-1-m{order:1}.swagger-ui .order-2-m{order:2}.swagger-ui .order-3-m{order:3}.swagger-ui .order-4-m{order:4}.swagger-ui .order-5-m{order:5}.swagger-ui .order-6-m{order:6}.swagger-ui .order-7-m{order:7}.swagger-ui .order-8-m{order:8}.swagger-ui .order-last-m{order:99999}.swagger-ui .flex-grow-0-m{flex-grow:0}.swagger-ui .flex-grow-1-m{flex-grow:1}.swagger-ui .flex-shrink-0-m{flex-shrink:0}.swagger-ui .flex-shrink-1-m{flex-shrink:1}}@media screen and (min-width:60em){.swagger-ui .flex-l{display:flex}.swagger-ui .inline-flex-l{display:inline-flex}.swagger-ui .flex-auto-l{flex:1 1 auto;min-height:0;min-width:0}.swagger-ui .flex-none-l{flex:none}.swagger-ui .flex-column-l{flex-direction:column}.swagger-ui .flex-row-l{flex-direction:row}.swagger-ui .flex-wrap-l{flex-wrap:wrap}.swagger-ui .flex-nowrap-l{flex-wrap:nowrap}.swagger-ui .flex-wrap-reverse-l{flex-wrap:wrap-reverse}.swagger-ui .flex-column-reverse-l{flex-direction:column-reverse}.swagger-ui .flex-row-reverse-l{flex-direction:row-reverse}.swagger-ui .items-start-l{align-items:flex-start}.swagger-ui .items-end-l{align-items:flex-end}.swagger-ui .items-center-l{align-items:center}.swagger-ui .items-baseline-l{align-items:baseline}.swagger-ui .items-stretch-l{align-items:stretch}.swagger-ui .self-start-l{align-self:flex-start}.swagger-ui .self-end-l{align-self:flex-end}.swagger-ui .self-center-l{align-self:center}.swagger-ui .self-baseline-l{align-self:baseline}.swagger-ui .self-stretch-l{align-self:stretch}.swagger-ui .justify-start-l{justify-content:flex-start}.swagger-ui .justify-end-l{justify-content:flex-end}.swagger-ui .justify-center-l{justify-content:center}.swagger-ui .justify-between-l{justify-content:space-between}.swagger-ui .justify-around-l{justify-content:space-around}.swagger-ui .content-start-l{align-content:flex-start}.swagger-ui .content-end-l{align-content:flex-end}.swagger-ui .content-center-l{align-content:center}.swagger-ui .content-between-l{align-content:space-between}.swagger-ui .content-around-l{align-content:space-around}.swagger-ui .content-stretch-l{align-content:stretch}.swagger-ui .order-0-l{order:0}.swagger-ui .order-1-l{order:1}.swagger-ui .order-2-l{order:2}.swagger-ui .order-3-l{order:3}.swagger-ui .order-4-l{order:4}.swagger-ui .order-5-l{order:5}.swagger-ui .order-6-l{order:6}.swagger-ui .order-7-l{order:7}.swagger-ui .order-8-l{order:8}.swagger-ui .order-last-l{order:99999}.swagger-ui .flex-grow-0-l{flex-grow:0}.swagger-ui .flex-grow-1-l{flex-grow:1}.swagger-ui .flex-shrink-0-l{flex-shrink:0}.swagger-ui .flex-shrink-1-l{flex-shrink:1}}.swagger-ui .dn{display:none}.swagger-ui .di{display:inline}.swagger-ui .db{display:block}.swagger-ui .dib{display:inline-block}.swagger-ui .dit{display:inline-table}.swagger-ui .dt{display:table}.swagger-ui .dtc{display:table-cell}.swagger-ui .dt-row{display:table-row}.swagger-ui .dt-row-group{display:table-row-group}.swagger-ui .dt-column{display:table-column}.swagger-ui .dt-column-group{display:table-column-group}.swagger-ui .dt--fixed{table-layout:fixed;width:100%}@media screen and (min-width:30em){.swagger-ui .dn-ns{display:none}.swagger-ui .di-ns{display:inline}.swagger-ui .db-ns{display:block}.swagger-ui .dib-ns{display:inline-block}.swagger-ui .dit-ns{display:inline-table}.swagger-ui .dt-ns{display:table}.swagger-ui .dtc-ns{display:table-cell}.swagger-ui .dt-row-ns{display:table-row}.swagger-ui .dt-row-group-ns{display:table-row-group}.swagger-ui .dt-column-ns{display:table-column}.swagger-ui .dt-column-group-ns{display:table-column-group}.swagger-ui .dt--fixed-ns{table-layout:fixed;width:100%}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .dn-m{display:none}.swagger-ui .di-m{display:inline}.swagger-ui .db-m{display:block}.swagger-ui .dib-m{display:inline-block}.swagger-ui .dit-m{display:inline-table}.swagger-ui .dt-m{display:table}.swagger-ui .dtc-m{display:table-cell}.swagger-ui .dt-row-m{display:table-row}.swagger-ui .dt-row-group-m{display:table-row-group}.swagger-ui .dt-column-m{display:table-column}.swagger-ui .dt-column-group-m{display:table-column-group}.swagger-ui .dt--fixed-m{table-layout:fixed;width:100%}}@media screen and (min-width:60em){.swagger-ui .dn-l{display:none}.swagger-ui .di-l{display:inline}.swagger-ui .db-l{display:block}.swagger-ui .dib-l{display:inline-block}.swagger-ui .dit-l{display:inline-table}.swagger-ui .dt-l{display:table}.swagger-ui .dtc-l{display:table-cell}.swagger-ui .dt-row-l{display:table-row}.swagger-ui .dt-row-group-l{display:table-row-group}.swagger-ui .dt-column-l{display:table-column}.swagger-ui .dt-column-group-l{display:table-column-group}.swagger-ui .dt--fixed-l{table-layout:fixed;width:100%}}.swagger-ui .fl{float:left}.swagger-ui .fr{float:right}.swagger-ui .fn{float:none}@media screen and (min-width:30em){.swagger-ui .fl-ns{float:left}.swagger-ui .fr-ns{float:right}.swagger-ui .fn-ns{float:none}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .fl-m{float:left}.swagger-ui .fr-m{float:right}.swagger-ui .fn-m{float:none}}@media screen and (min-width:60em){.swagger-ui .fl-l{float:left}.swagger-ui .fr-l{float:right}.swagger-ui .fn-l{float:none}}.swagger-ui .sans-serif{font-family:-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica,helvetica neue,ubuntu,roboto,noto,segoe ui,arial,sans-serif}.swagger-ui .serif{font-family:georgia,serif}.swagger-ui .system-sans-serif{font-family:sans-serif}.swagger-ui .system-serif{font-family:serif}.swagger-ui .code,.swagger-ui code{font-family:Consolas,monaco,monospace}.swagger-ui .courier{font-family:Courier Next,courier,monospace}.swagger-ui .helvetica{font-family:helvetica neue,helvetica,sans-serif}.swagger-ui .avenir{font-family:avenir next,avenir,sans-serif}.swagger-ui .athelas{font-family:athelas,georgia,serif}.swagger-ui .georgia{font-family:georgia,serif}.swagger-ui .times{font-family:times,serif}.swagger-ui .bodoni{font-family:Bodoni MT,serif}.swagger-ui .calisto{font-family:Calisto MT,serif}.swagger-ui .garamond{font-family:garamond,serif}.swagger-ui .baskerville{font-family:baskerville,serif}.swagger-ui .i{font-style:italic}.swagger-ui .fs-normal{font-style:normal}@media screen and (min-width:30em){.swagger-ui .i-ns{font-style:italic}.swagger-ui .fs-normal-ns{font-style:normal}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .i-m{font-style:italic}.swagger-ui .fs-normal-m{font-style:normal}}@media screen and (min-width:60em){.swagger-ui .i-l{font-style:italic}.swagger-ui .fs-normal-l{font-style:normal}}.swagger-ui .normal{font-weight:400}.swagger-ui .b{font-weight:700}.swagger-ui .fw1{font-weight:100}.swagger-ui .fw2{font-weight:200}.swagger-ui .fw3{font-weight:300}.swagger-ui .fw4{font-weight:400}.swagger-ui .fw5{font-weight:500}.swagger-ui .fw6{font-weight:600}.swagger-ui .fw7{font-weight:700}.swagger-ui .fw8{font-weight:800}.swagger-ui .fw9{font-weight:900}@media screen and (min-width:30em){.swagger-ui .normal-ns{font-weight:400}.swagger-ui .b-ns{font-weight:700}.swagger-ui .fw1-ns{font-weight:100}.swagger-ui .fw2-ns{font-weight:200}.swagger-ui .fw3-ns{font-weight:300}.swagger-ui .fw4-ns{font-weight:400}.swagger-ui .fw5-ns{font-weight:500}.swagger-ui .fw6-ns{font-weight:600}.swagger-ui .fw7-ns{font-weight:700}.swagger-ui .fw8-ns{font-weight:800}.swagger-ui .fw9-ns{font-weight:900}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .normal-m{font-weight:400}.swagger-ui .b-m{font-weight:700}.swagger-ui .fw1-m{font-weight:100}.swagger-ui .fw2-m{font-weight:200}.swagger-ui .fw3-m{font-weight:300}.swagger-ui .fw4-m{font-weight:400}.swagger-ui .fw5-m{font-weight:500}.swagger-ui .fw6-m{font-weight:600}.swagger-ui .fw7-m{font-weight:700}.swagger-ui .fw8-m{font-weight:800}.swagger-ui .fw9-m{font-weight:900}}@media screen and (min-width:60em){.swagger-ui .normal-l{font-weight:400}.swagger-ui .b-l{font-weight:700}.swagger-ui .fw1-l{font-weight:100}.swagger-ui .fw2-l{font-weight:200}.swagger-ui .fw3-l{font-weight:300}.swagger-ui .fw4-l{font-weight:400}.swagger-ui .fw5-l{font-weight:500}.swagger-ui .fw6-l{font-weight:600}.swagger-ui .fw7-l{font-weight:700}.swagger-ui .fw8-l{font-weight:800}.swagger-ui .fw9-l{font-weight:900}}.swagger-ui .input-reset{-webkit-appearance:none;-moz-appearance:none}.swagger-ui .button-reset::-moz-focus-inner,.swagger-ui .input-reset::-moz-focus-inner{border:0;padding:0}.swagger-ui .h1{height:1rem}.swagger-ui .h2{height:2rem}.swagger-ui .h3{height:4rem}.swagger-ui .h4{height:8rem}.swagger-ui .h5{height:16rem}.swagger-ui .h-25{height:25%}.swagger-ui .h-50{height:50%}.swagger-ui .h-75{height:75%}.swagger-ui .h-100{height:100%}.swagger-ui .min-h-100{min-height:100%}.swagger-ui .vh-25{height:25vh}.swagger-ui .vh-50{height:50vh}.swagger-ui .vh-75{height:75vh}.swagger-ui .vh-100{height:100vh}.swagger-ui .min-vh-100{min-height:100vh}.swagger-ui .h-auto{height:auto}.swagger-ui .h-inherit{height:inherit}@media screen and (min-width:30em){.swagger-ui .h1-ns{height:1rem}.swagger-ui .h2-ns{height:2rem}.swagger-ui .h3-ns{height:4rem}.swagger-ui .h4-ns{height:8rem}.swagger-ui .h5-ns{height:16rem}.swagger-ui .h-25-ns{height:25%}.swagger-ui .h-50-ns{height:50%}.swagger-ui .h-75-ns{height:75%}.swagger-ui .h-100-ns{height:100%}.swagger-ui .min-h-100-ns{min-height:100%}.swagger-ui .vh-25-ns{height:25vh}.swagger-ui .vh-50-ns{height:50vh}.swagger-ui .vh-75-ns{height:75vh}.swagger-ui .vh-100-ns{height:100vh}.swagger-ui .min-vh-100-ns{min-height:100vh}.swagger-ui .h-auto-ns{height:auto}.swagger-ui .h-inherit-ns{height:inherit}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .h1-m{height:1rem}.swagger-ui .h2-m{height:2rem}.swagger-ui .h3-m{height:4rem}.swagger-ui .h4-m{height:8rem}.swagger-ui .h5-m{height:16rem}.swagger-ui .h-25-m{height:25%}.swagger-ui .h-50-m{height:50%}.swagger-ui .h-75-m{height:75%}.swagger-ui .h-100-m{height:100%}.swagger-ui .min-h-100-m{min-height:100%}.swagger-ui .vh-25-m{height:25vh}.swagger-ui .vh-50-m{height:50vh}.swagger-ui .vh-75-m{height:75vh}.swagger-ui .vh-100-m{height:100vh}.swagger-ui .min-vh-100-m{min-height:100vh}.swagger-ui .h-auto-m{height:auto}.swagger-ui .h-inherit-m{height:inherit}}@media screen and (min-width:60em){.swagger-ui .h1-l{height:1rem}.swagger-ui .h2-l{height:2rem}.swagger-ui .h3-l{height:4rem}.swagger-ui .h4-l{height:8rem}.swagger-ui .h5-l{height:16rem}.swagger-ui .h-25-l{height:25%}.swagger-ui .h-50-l{height:50%}.swagger-ui .h-75-l{height:75%}.swagger-ui .h-100-l{height:100%}.swagger-ui .min-h-100-l{min-height:100%}.swagger-ui .vh-25-l{height:25vh}.swagger-ui .vh-50-l{height:50vh}.swagger-ui .vh-75-l{height:75vh}.swagger-ui .vh-100-l{height:100vh}.swagger-ui .min-vh-100-l{min-height:100vh}.swagger-ui .h-auto-l{height:auto}.swagger-ui .h-inherit-l{height:inherit}}.swagger-ui .tracked{letter-spacing:.1em}.swagger-ui .tracked-tight{letter-spacing:-.05em}.swagger-ui .tracked-mega{letter-spacing:.25em}@media screen and (min-width:30em){.swagger-ui .tracked-ns{letter-spacing:.1em}.swagger-ui .tracked-tight-ns{letter-spacing:-.05em}.swagger-ui .tracked-mega-ns{letter-spacing:.25em}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .tracked-m{letter-spacing:.1em}.swagger-ui .tracked-tight-m{letter-spacing:-.05em}.swagger-ui .tracked-mega-m{letter-spacing:.25em}}@media screen and (min-width:60em){.swagger-ui .tracked-l{letter-spacing:.1em}.swagger-ui .tracked-tight-l{letter-spacing:-.05em}.swagger-ui .tracked-mega-l{letter-spacing:.25em}}.swagger-ui .lh-solid{line-height:1}.swagger-ui .lh-title{line-height:1.25}.swagger-ui .lh-copy{line-height:1.5}@media screen and (min-width:30em){.swagger-ui .lh-solid-ns{line-height:1}.swagger-ui .lh-title-ns{line-height:1.25}.swagger-ui .lh-copy-ns{line-height:1.5}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .lh-solid-m{line-height:1}.swagger-ui .lh-title-m{line-height:1.25}.swagger-ui .lh-copy-m{line-height:1.5}}@media screen and (min-width:60em){.swagger-ui .lh-solid-l{line-height:1}.swagger-ui .lh-title-l{line-height:1.25}.swagger-ui .lh-copy-l{line-height:1.5}}.swagger-ui .link{text-decoration:none}.swagger-ui .link,.swagger-ui .link:active,.swagger-ui .link:focus,.swagger-ui .link:hover,.swagger-ui .link:link,.swagger-ui .link:visited{transition:color .15s ease-in}.swagger-ui .link:focus{outline:1px dotted currentColor}.swagger-ui .list{list-style-type:none}.swagger-ui .mw-100{max-width:100%}.swagger-ui .mw1{max-width:1rem}.swagger-ui .mw2{max-width:2rem}.swagger-ui .mw3{max-width:4rem}.swagger-ui .mw4{max-width:8rem}.swagger-ui .mw5{max-width:16rem}.swagger-ui .mw6{max-width:32rem}.swagger-ui .mw7{max-width:48rem}.swagger-ui .mw8{max-width:64rem}.swagger-ui .mw9{max-width:96rem}.swagger-ui .mw-none{max-width:none}@media screen and (min-width:30em){.swagger-ui .mw-100-ns{max-width:100%}.swagger-ui .mw1-ns{max-width:1rem}.swagger-ui .mw2-ns{max-width:2rem}.swagger-ui .mw3-ns{max-width:4rem}.swagger-ui .mw4-ns{max-width:8rem}.swagger-ui .mw5-ns{max-width:16rem}.swagger-ui .mw6-ns{max-width:32rem}.swagger-ui .mw7-ns{max-width:48rem}.swagger-ui .mw8-ns{max-width:64rem}.swagger-ui .mw9-ns{max-width:96rem}.swagger-ui .mw-none-ns{max-width:none}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .mw-100-m{max-width:100%}.swagger-ui .mw1-m{max-width:1rem}.swagger-ui .mw2-m{max-width:2rem}.swagger-ui .mw3-m{max-width:4rem}.swagger-ui .mw4-m{max-width:8rem}.swagger-ui .mw5-m{max-width:16rem}.swagger-ui .mw6-m{max-width:32rem}.swagger-ui .mw7-m{max-width:48rem}.swagger-ui .mw8-m{max-width:64rem}.swagger-ui .mw9-m{max-width:96rem}.swagger-ui .mw-none-m{max-width:none}}@media screen and (min-width:60em){.swagger-ui .mw-100-l{max-width:100%}.swagger-ui .mw1-l{max-width:1rem}.swagger-ui .mw2-l{max-width:2rem}.swagger-ui .mw3-l{max-width:4rem}.swagger-ui .mw4-l{max-width:8rem}.swagger-ui .mw5-l{max-width:16rem}.swagger-ui .mw6-l{max-width:32rem}.swagger-ui .mw7-l{max-width:48rem}.swagger-ui .mw8-l{max-width:64rem}.swagger-ui .mw9-l{max-width:96rem}.swagger-ui .mw-none-l{max-width:none}}.swagger-ui .w1{width:1rem}.swagger-ui .w2{width:2rem}.swagger-ui .w3{width:4rem}.swagger-ui .w4{width:8rem}.swagger-ui .w5{width:16rem}.swagger-ui .w-10{width:10%}.swagger-ui .w-20{width:20%}.swagger-ui .w-25{width:25%}.swagger-ui .w-30{width:30%}.swagger-ui .w-33{width:33%}.swagger-ui .w-34{width:34%}.swagger-ui .w-40{width:40%}.swagger-ui .w-50{width:50%}.swagger-ui .w-60{width:60%}.swagger-ui .w-70{width:70%}.swagger-ui .w-75{width:75%}.swagger-ui .w-80{width:80%}.swagger-ui .w-90{width:90%}.swagger-ui .w-100{width:100%}.swagger-ui .w-third{width:33.3333333333%}.swagger-ui .w-two-thirds{width:66.6666666667%}.swagger-ui .w-auto{width:auto}@media screen and (min-width:30em){.swagger-ui .w1-ns{width:1rem}.swagger-ui .w2-ns{width:2rem}.swagger-ui .w3-ns{width:4rem}.swagger-ui .w4-ns{width:8rem}.swagger-ui .w5-ns{width:16rem}.swagger-ui .w-10-ns{width:10%}.swagger-ui .w-20-ns{width:20%}.swagger-ui .w-25-ns{width:25%}.swagger-ui .w-30-ns{width:30%}.swagger-ui .w-33-ns{width:33%}.swagger-ui .w-34-ns{width:34%}.swagger-ui .w-40-ns{width:40%}.swagger-ui .w-50-ns{width:50%}.swagger-ui .w-60-ns{width:60%}.swagger-ui .w-70-ns{width:70%}.swagger-ui .w-75-ns{width:75%}.swagger-ui .w-80-ns{width:80%}.swagger-ui .w-90-ns{width:90%}.swagger-ui .w-100-ns{width:100%}.swagger-ui .w-third-ns{width:33.3333333333%}.swagger-ui .w-two-thirds-ns{width:66.6666666667%}.swagger-ui .w-auto-ns{width:auto}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .w1-m{width:1rem}.swagger-ui .w2-m{width:2rem}.swagger-ui .w3-m{width:4rem}.swagger-ui .w4-m{width:8rem}.swagger-ui .w5-m{width:16rem}.swagger-ui .w-10-m{width:10%}.swagger-ui .w-20-m{width:20%}.swagger-ui .w-25-m{width:25%}.swagger-ui .w-30-m{width:30%}.swagger-ui .w-33-m{width:33%}.swagger-ui .w-34-m{width:34%}.swagger-ui .w-40-m{width:40%}.swagger-ui .w-50-m{width:50%}.swagger-ui .w-60-m{width:60%}.swagger-ui .w-70-m{width:70%}.swagger-ui .w-75-m{width:75%}.swagger-ui .w-80-m{width:80%}.swagger-ui .w-90-m{width:90%}.swagger-ui .w-100-m{width:100%}.swagger-ui .w-third-m{width:33.3333333333%}.swagger-ui .w-two-thirds-m{width:66.6666666667%}.swagger-ui .w-auto-m{width:auto}}@media screen and (min-width:60em){.swagger-ui .w1-l{width:1rem}.swagger-ui .w2-l{width:2rem}.swagger-ui .w3-l{width:4rem}.swagger-ui .w4-l{width:8rem}.swagger-ui .w5-l{width:16rem}.swagger-ui .w-10-l{width:10%}.swagger-ui .w-20-l{width:20%}.swagger-ui .w-25-l{width:25%}.swagger-ui .w-30-l{width:30%}.swagger-ui .w-33-l{width:33%}.swagger-ui .w-34-l{width:34%}.swagger-ui .w-40-l{width:40%}.swagger-ui .w-50-l{width:50%}.swagger-ui .w-60-l{width:60%}.swagger-ui .w-70-l{width:70%}.swagger-ui .w-75-l{width:75%}.swagger-ui .w-80-l{width:80%}.swagger-ui .w-90-l{width:90%}.swagger-ui .w-100-l{width:100%}.swagger-ui .w-third-l{width:33.3333333333%}.swagger-ui .w-two-thirds-l{width:66.6666666667%}.swagger-ui .w-auto-l{width:auto}}.swagger-ui .overflow-visible{overflow:visible}.swagger-ui .overflow-hidden{overflow:hidden}.swagger-ui .overflow-scroll{overflow:scroll}.swagger-ui .overflow-auto{overflow:auto}.swagger-ui .overflow-x-visible{overflow-x:visible}.swagger-ui .overflow-x-hidden{overflow-x:hidden}.swagger-ui .overflow-x-scroll{overflow-x:scroll}.swagger-ui .overflow-x-auto{overflow-x:auto}.swagger-ui .overflow-y-visible{overflow-y:visible}.swagger-ui .overflow-y-hidden{overflow-y:hidden}.swagger-ui .overflow-y-scroll{overflow-y:scroll}.swagger-ui .overflow-y-auto{overflow-y:auto}@media screen and (min-width:30em){.swagger-ui .overflow-visible-ns{overflow:visible}.swagger-ui .overflow-hidden-ns{overflow:hidden}.swagger-ui .overflow-scroll-ns{overflow:scroll}.swagger-ui .overflow-auto-ns{overflow:auto}.swagger-ui .overflow-x-visible-ns{overflow-x:visible}.swagger-ui .overflow-x-hidden-ns{overflow-x:hidden}.swagger-ui .overflow-x-scroll-ns{overflow-x:scroll}.swagger-ui .overflow-x-auto-ns{overflow-x:auto}.swagger-ui .overflow-y-visible-ns{overflow-y:visible}.swagger-ui .overflow-y-hidden-ns{overflow-y:hidden}.swagger-ui .overflow-y-scroll-ns{overflow-y:scroll}.swagger-ui .overflow-y-auto-ns{overflow-y:auto}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .overflow-visible-m{overflow:visible}.swagger-ui .overflow-hidden-m{overflow:hidden}.swagger-ui .overflow-scroll-m{overflow:scroll}.swagger-ui .overflow-auto-m{overflow:auto}.swagger-ui .overflow-x-visible-m{overflow-x:visible}.swagger-ui .overflow-x-hidden-m{overflow-x:hidden}.swagger-ui .overflow-x-scroll-m{overflow-x:scroll}.swagger-ui .overflow-x-auto-m{overflow-x:auto}.swagger-ui .overflow-y-visible-m{overflow-y:visible}.swagger-ui .overflow-y-hidden-m{overflow-y:hidden}.swagger-ui .overflow-y-scroll-m{overflow-y:scroll}.swagger-ui .overflow-y-auto-m{overflow-y:auto}}@media screen and (min-width:60em){.swagger-ui .overflow-visible-l{overflow:visible}.swagger-ui .overflow-hidden-l{overflow:hidden}.swagger-ui .overflow-scroll-l{overflow:scroll}.swagger-ui .overflow-auto-l{overflow:auto}.swagger-ui .overflow-x-visible-l{overflow-x:visible}.swagger-ui .overflow-x-hidden-l{overflow-x:hidden}.swagger-ui .overflow-x-scroll-l{overflow-x:scroll}.swagger-ui .overflow-x-auto-l{overflow-x:auto}.swagger-ui .overflow-y-visible-l{overflow-y:visible}.swagger-ui .overflow-y-hidden-l{overflow-y:hidden}.swagger-ui .overflow-y-scroll-l{overflow-y:scroll}.swagger-ui .overflow-y-auto-l{overflow-y:auto}}.swagger-ui .static{position:static}.swagger-ui .relative{position:relative}.swagger-ui .absolute{position:absolute}.swagger-ui .fixed{position:fixed}@media screen and (min-width:30em){.swagger-ui .static-ns{position:static}.swagger-ui .relative-ns{position:relative}.swagger-ui .absolute-ns{position:absolute}.swagger-ui .fixed-ns{position:fixed}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .static-m{position:static}.swagger-ui .relative-m{position:relative}.swagger-ui .absolute-m{position:absolute}.swagger-ui .fixed-m{position:fixed}}@media screen and (min-width:60em){.swagger-ui .static-l{position:static}.swagger-ui .relative-l{position:relative}.swagger-ui .absolute-l{position:absolute}.swagger-ui .fixed-l{position:fixed}}.swagger-ui .o-100{opacity:1}.swagger-ui .o-90{opacity:.9}.swagger-ui .o-80{opacity:.8}.swagger-ui .o-70{opacity:.7}.swagger-ui .o-60{opacity:.6}.swagger-ui .o-50{opacity:.5}.swagger-ui .o-40{opacity:.4}.swagger-ui .o-30{opacity:.3}.swagger-ui .o-20{opacity:.2}.swagger-ui .o-10{opacity:.1}.swagger-ui .o-05{opacity:.05}.swagger-ui .o-025{opacity:.025}.swagger-ui .o-0{opacity:0}.swagger-ui .rotate-45{transform:rotate(45deg)}.swagger-ui .rotate-90{transform:rotate(90deg)}.swagger-ui .rotate-135{transform:rotate(135deg)}.swagger-ui .rotate-180{transform:rotate(180deg)}.swagger-ui .rotate-225{transform:rotate(225deg)}.swagger-ui .rotate-270{transform:rotate(270deg)}.swagger-ui .rotate-315{transform:rotate(315deg)}@media screen and (min-width:30em){.swagger-ui .rotate-45-ns{transform:rotate(45deg)}.swagger-ui .rotate-90-ns{transform:rotate(90deg)}.swagger-ui .rotate-135-ns{transform:rotate(135deg)}.swagger-ui .rotate-180-ns{transform:rotate(180deg)}.swagger-ui .rotate-225-ns{transform:rotate(225deg)}.swagger-ui .rotate-270-ns{transform:rotate(270deg)}.swagger-ui .rotate-315-ns{transform:rotate(315deg)}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .rotate-45-m{transform:rotate(45deg)}.swagger-ui .rotate-90-m{transform:rotate(90deg)}.swagger-ui .rotate-135-m{transform:rotate(135deg)}.swagger-ui .rotate-180-m{transform:rotate(180deg)}.swagger-ui .rotate-225-m{transform:rotate(225deg)}.swagger-ui .rotate-270-m{transform:rotate(270deg)}.swagger-ui .rotate-315-m{transform:rotate(315deg)}}@media screen and (min-width:60em){.swagger-ui .rotate-45-l{transform:rotate(45deg)}.swagger-ui .rotate-90-l{transform:rotate(90deg)}.swagger-ui .rotate-135-l{transform:rotate(135deg)}.swagger-ui .rotate-180-l{transform:rotate(180deg)}.swagger-ui .rotate-225-l{transform:rotate(225deg)}.swagger-ui .rotate-270-l{transform:rotate(270deg)}.swagger-ui .rotate-315-l{transform:rotate(315deg)}}.swagger-ui .black-90{color:rgba(0,0,0,.9)}.swagger-ui .black-80{color:rgba(0,0,0,.8)}.swagger-ui .black-70{color:rgba(0,0,0,.7)}.swagger-ui .black-60{color:rgba(0,0,0,.6)}.swagger-ui .black-50{color:rgba(0,0,0,.5)}.swagger-ui .black-40{color:rgba(0,0,0,.4)}.swagger-ui .black-30{color:rgba(0,0,0,.3)}.swagger-ui .black-20{color:rgba(0,0,0,.2)}.swagger-ui .black-10{color:rgba(0,0,0,.1)}.swagger-ui .black-05{color:rgba(0,0,0,.05)}.swagger-ui .white-90{color:hsla(0,0%,100%,.9)}.swagger-ui .white-80{color:hsla(0,0%,100%,.8)}.swagger-ui .white-70{color:hsla(0,0%,100%,.7)}.swagger-ui .white-60{color:hsla(0,0%,100%,.6)}.swagger-ui .white-50{color:hsla(0,0%,100%,.5)}.swagger-ui .white-40{color:hsla(0,0%,100%,.4)}.swagger-ui .white-30{color:hsla(0,0%,100%,.3)}.swagger-ui .white-20{color:hsla(0,0%,100%,.2)}.swagger-ui .white-10{color:hsla(0,0%,100%,.1)}.swagger-ui .black{color:#000}.swagger-ui .near-black{color:#111}.swagger-ui .dark-gray{color:#333}.swagger-ui .mid-gray{color:#555}.swagger-ui .gray{color:#777}.swagger-ui .silver{color:#999}.swagger-ui .light-silver{color:#aaa}.swagger-ui .moon-gray{color:#ccc}.swagger-ui .light-gray{color:#eee}.swagger-ui .near-white{color:#f4f4f4}.swagger-ui .white{color:#fff}.swagger-ui .dark-red{color:#e7040f}.swagger-ui .red{color:#ff4136}.swagger-ui .light-red{color:#ff725c}.swagger-ui .orange{color:#ff6300}.swagger-ui .gold{color:#ffb700}.swagger-ui .yellow{color:gold}.swagger-ui .light-yellow{color:#fbf1a9}.swagger-ui .purple{color:#5e2ca5}.swagger-ui .light-purple{color:#a463f2}.swagger-ui .dark-pink{color:#d5008f}.swagger-ui .hot-pink{color:#ff41b4}.swagger-ui .pink{color:#ff80cc}.swagger-ui .light-pink{color:#ffa3d7}.swagger-ui .dark-green{color:#137752}.swagger-ui .green{color:#19a974}.swagger-ui .light-green{color:#9eebcf}.swagger-ui .navy{color:#001b44}.swagger-ui .dark-blue{color:#00449e}.swagger-ui .blue{color:#357edd}.swagger-ui .light-blue{color:#96ccff}.swagger-ui .lightest-blue{color:#cdecff}.swagger-ui .washed-blue{color:#f6fffe}.swagger-ui .washed-green{color:#e8fdf5}.swagger-ui .washed-yellow{color:#fffceb}.swagger-ui .washed-red{color:#ffdfdf}.swagger-ui .color-inherit{color:inherit}.swagger-ui .bg-black-90{background-color:rgba(0,0,0,.9)}.swagger-ui .bg-black-80{background-color:rgba(0,0,0,.8)}.swagger-ui .bg-black-70{background-color:rgba(0,0,0,.7)}.swagger-ui .bg-black-60{background-color:rgba(0,0,0,.6)}.swagger-ui .bg-black-50{background-color:rgba(0,0,0,.5)}.swagger-ui .bg-black-40{background-color:rgba(0,0,0,.4)}.swagger-ui .bg-black-30{background-color:rgba(0,0,0,.3)}.swagger-ui .bg-black-20{background-color:rgba(0,0,0,.2)}.swagger-ui .bg-black-10{background-color:rgba(0,0,0,.1)}.swagger-ui .bg-black-05{background-color:rgba(0,0,0,.05)}.swagger-ui .bg-white-90{background-color:hsla(0,0%,100%,.9)}.swagger-ui .bg-white-80{background-color:hsla(0,0%,100%,.8)}.swagger-ui .bg-white-70{background-color:hsla(0,0%,100%,.7)}.swagger-ui .bg-white-60{background-color:hsla(0,0%,100%,.6)}.swagger-ui .bg-white-50{background-color:hsla(0,0%,100%,.5)}.swagger-ui .bg-white-40{background-color:hsla(0,0%,100%,.4)}.swagger-ui .bg-white-30{background-color:hsla(0,0%,100%,.3)}.swagger-ui .bg-white-20{background-color:hsla(0,0%,100%,.2)}.swagger-ui .bg-white-10{background-color:hsla(0,0%,100%,.1)}.swagger-ui .bg-black{background-color:#000}.swagger-ui .bg-near-black{background-color:#111}.swagger-ui .bg-dark-gray{background-color:#333}.swagger-ui .bg-mid-gray{background-color:#555}.swagger-ui .bg-gray{background-color:#777}.swagger-ui .bg-silver{background-color:#999}.swagger-ui .bg-light-silver{background-color:#aaa}.swagger-ui .bg-moon-gray{background-color:#ccc}.swagger-ui .bg-light-gray{background-color:#eee}.swagger-ui .bg-near-white{background-color:#f4f4f4}.swagger-ui .bg-white{background-color:#fff}.swagger-ui .bg-transparent{background-color:transparent}.swagger-ui .bg-dark-red{background-color:#e7040f}.swagger-ui .bg-red{background-color:#ff4136}.swagger-ui .bg-light-red{background-color:#ff725c}.swagger-ui .bg-orange{background-color:#ff6300}.swagger-ui .bg-gold{background-color:#ffb700}.swagger-ui .bg-yellow{background-color:gold}.swagger-ui .bg-light-yellow{background-color:#fbf1a9}.swagger-ui .bg-purple{background-color:#5e2ca5}.swagger-ui .bg-light-purple{background-color:#a463f2}.swagger-ui .bg-dark-pink{background-color:#d5008f}.swagger-ui .bg-hot-pink{background-color:#ff41b4}.swagger-ui .bg-pink{background-color:#ff80cc}.swagger-ui .bg-light-pink{background-color:#ffa3d7}.swagger-ui .bg-dark-green{background-color:#137752}.swagger-ui .bg-green{background-color:#19a974}.swagger-ui .bg-light-green{background-color:#9eebcf}.swagger-ui .bg-navy{background-color:#001b44}.swagger-ui .bg-dark-blue{background-color:#00449e}.swagger-ui .bg-blue{background-color:#357edd}.swagger-ui .bg-light-blue{background-color:#96ccff}.swagger-ui .bg-lightest-blue{background-color:#cdecff}.swagger-ui .bg-washed-blue{background-color:#f6fffe}.swagger-ui .bg-washed-green{background-color:#e8fdf5}.swagger-ui .bg-washed-yellow{background-color:#fffceb}.swagger-ui .bg-washed-red{background-color:#ffdfdf}.swagger-ui .bg-inherit{background-color:inherit}.swagger-ui .hover-black:focus,.swagger-ui .hover-black:hover{color:#000}.swagger-ui .hover-near-black:focus,.swagger-ui .hover-near-black:hover{color:#111}.swagger-ui .hover-dark-gray:focus,.swagger-ui .hover-dark-gray:hover{color:#333}.swagger-ui .hover-mid-gray:focus,.swagger-ui .hover-mid-gray:hover{color:#555}.swagger-ui .hover-gray:focus,.swagger-ui .hover-gray:hover{color:#777}.swagger-ui .hover-silver:focus,.swagger-ui .hover-silver:hover{color:#999}.swagger-ui .hover-light-silver:focus,.swagger-ui .hover-light-silver:hover{color:#aaa}.swagger-ui .hover-moon-gray:focus,.swagger-ui .hover-moon-gray:hover{color:#ccc}.swagger-ui .hover-light-gray:focus,.swagger-ui .hover-light-gray:hover{color:#eee}.swagger-ui .hover-near-white:focus,.swagger-ui .hover-near-white:hover{color:#f4f4f4}.swagger-ui .hover-white:focus,.swagger-ui .hover-white:hover{color:#fff}.swagger-ui .hover-black-90:focus,.swagger-ui .hover-black-90:hover{color:rgba(0,0,0,.9)}.swagger-ui .hover-black-80:focus,.swagger-ui .hover-black-80:hover{color:rgba(0,0,0,.8)}.swagger-ui .hover-black-70:focus,.swagger-ui .hover-black-70:hover{color:rgba(0,0,0,.7)}.swagger-ui .hover-black-60:focus,.swagger-ui .hover-black-60:hover{color:rgba(0,0,0,.6)}.swagger-ui .hover-black-50:focus,.swagger-ui .hover-black-50:hover{color:rgba(0,0,0,.5)}.swagger-ui .hover-black-40:focus,.swagger-ui .hover-black-40:hover{color:rgba(0,0,0,.4)}.swagger-ui .hover-black-30:focus,.swagger-ui .hover-black-30:hover{color:rgba(0,0,0,.3)}.swagger-ui .hover-black-20:focus,.swagger-ui .hover-black-20:hover{color:rgba(0,0,0,.2)}.swagger-ui .hover-black-10:focus,.swagger-ui .hover-black-10:hover{color:rgba(0,0,0,.1)}.swagger-ui .hover-white-90:focus,.swagger-ui .hover-white-90:hover{color:hsla(0,0%,100%,.9)}.swagger-ui .hover-white-80:focus,.swagger-ui .hover-white-80:hover{color:hsla(0,0%,100%,.8)}.swagger-ui .hover-white-70:focus,.swagger-ui .hover-white-70:hover{color:hsla(0,0%,100%,.7)}.swagger-ui .hover-white-60:focus,.swagger-ui .hover-white-60:hover{color:hsla(0,0%,100%,.6)}.swagger-ui .hover-white-50:focus,.swagger-ui .hover-white-50:hover{color:hsla(0,0%,100%,.5)}.swagger-ui .hover-white-40:focus,.swagger-ui .hover-white-40:hover{color:hsla(0,0%,100%,.4)}.swagger-ui .hover-white-30:focus,.swagger-ui .hover-white-30:hover{color:hsla(0,0%,100%,.3)}.swagger-ui .hover-white-20:focus,.swagger-ui .hover-white-20:hover{color:hsla(0,0%,100%,.2)}.swagger-ui .hover-white-10:focus,.swagger-ui .hover-white-10:hover{color:hsla(0,0%,100%,.1)}.swagger-ui .hover-inherit:focus,.swagger-ui .hover-inherit:hover{color:inherit}.swagger-ui .hover-bg-black:focus,.swagger-ui .hover-bg-black:hover{background-color:#000}.swagger-ui .hover-bg-near-black:focus,.swagger-ui .hover-bg-near-black:hover{background-color:#111}.swagger-ui .hover-bg-dark-gray:focus,.swagger-ui .hover-bg-dark-gray:hover{background-color:#333}.swagger-ui .hover-bg-mid-gray:focus,.swagger-ui .hover-bg-mid-gray:hover{background-color:#555}.swagger-ui .hover-bg-gray:focus,.swagger-ui .hover-bg-gray:hover{background-color:#777}.swagger-ui .hover-bg-silver:focus,.swagger-ui .hover-bg-silver:hover{background-color:#999}.swagger-ui .hover-bg-light-silver:focus,.swagger-ui .hover-bg-light-silver:hover{background-color:#aaa}.swagger-ui .hover-bg-moon-gray:focus,.swagger-ui .hover-bg-moon-gray:hover{background-color:#ccc}.swagger-ui .hover-bg-light-gray:focus,.swagger-ui .hover-bg-light-gray:hover{background-color:#eee}.swagger-ui .hover-bg-near-white:focus,.swagger-ui .hover-bg-near-white:hover{background-color:#f4f4f4}.swagger-ui .hover-bg-white:focus,.swagger-ui .hover-bg-white:hover{background-color:#fff}.swagger-ui .hover-bg-transparent:focus,.swagger-ui .hover-bg-transparent:hover{background-color:transparent}.swagger-ui .hover-bg-black-90:focus,.swagger-ui .hover-bg-black-90:hover{background-color:rgba(0,0,0,.9)}.swagger-ui .hover-bg-black-80:focus,.swagger-ui .hover-bg-black-80:hover{background-color:rgba(0,0,0,.8)}.swagger-ui .hover-bg-black-70:focus,.swagger-ui .hover-bg-black-70:hover{background-color:rgba(0,0,0,.7)}.swagger-ui .hover-bg-black-60:focus,.swagger-ui .hover-bg-black-60:hover{background-color:rgba(0,0,0,.6)}.swagger-ui .hover-bg-black-50:focus,.swagger-ui .hover-bg-black-50:hover{background-color:rgba(0,0,0,.5)}.swagger-ui .hover-bg-black-40:focus,.swagger-ui .hover-bg-black-40:hover{background-color:rgba(0,0,0,.4)}.swagger-ui .hover-bg-black-30:focus,.swagger-ui .hover-bg-black-30:hover{background-color:rgba(0,0,0,.3)}.swagger-ui .hover-bg-black-20:focus,.swagger-ui .hover-bg-black-20:hover{background-color:rgba(0,0,0,.2)}.swagger-ui .hover-bg-black-10:focus,.swagger-ui .hover-bg-black-10:hover{background-color:rgba(0,0,0,.1)}.swagger-ui .hover-bg-white-90:focus,.swagger-ui .hover-bg-white-90:hover{background-color:hsla(0,0%,100%,.9)}.swagger-ui .hover-bg-white-80:focus,.swagger-ui .hover-bg-white-80:hover{background-color:hsla(0,0%,100%,.8)}.swagger-ui .hover-bg-white-70:focus,.swagger-ui .hover-bg-white-70:hover{background-color:hsla(0,0%,100%,.7)}.swagger-ui .hover-bg-white-60:focus,.swagger-ui .hover-bg-white-60:hover{background-color:hsla(0,0%,100%,.6)}.swagger-ui .hover-bg-white-50:focus,.swagger-ui .hover-bg-white-50:hover{background-color:hsla(0,0%,100%,.5)}.swagger-ui .hover-bg-white-40:focus,.swagger-ui .hover-bg-white-40:hover{background-color:hsla(0,0%,100%,.4)}.swagger-ui .hover-bg-white-30:focus,.swagger-ui .hover-bg-white-30:hover{background-color:hsla(0,0%,100%,.3)}.swagger-ui .hover-bg-white-20:focus,.swagger-ui .hover-bg-white-20:hover{background-color:hsla(0,0%,100%,.2)}.swagger-ui .hover-bg-white-10:focus,.swagger-ui .hover-bg-white-10:hover{background-color:hsla(0,0%,100%,.1)}.swagger-ui .hover-dark-red:focus,.swagger-ui .hover-dark-red:hover{color:#e7040f}.swagger-ui .hover-red:focus,.swagger-ui .hover-red:hover{color:#ff4136}.swagger-ui .hover-light-red:focus,.swagger-ui .hover-light-red:hover{color:#ff725c}.swagger-ui .hover-orange:focus,.swagger-ui .hover-orange:hover{color:#ff6300}.swagger-ui .hover-gold:focus,.swagger-ui .hover-gold:hover{color:#ffb700}.swagger-ui .hover-yellow:focus,.swagger-ui .hover-yellow:hover{color:gold}.swagger-ui .hover-light-yellow:focus,.swagger-ui .hover-light-yellow:hover{color:#fbf1a9}.swagger-ui .hover-purple:focus,.swagger-ui .hover-purple:hover{color:#5e2ca5}.swagger-ui .hover-light-purple:focus,.swagger-ui .hover-light-purple:hover{color:#a463f2}.swagger-ui .hover-dark-pink:focus,.swagger-ui .hover-dark-pink:hover{color:#d5008f}.swagger-ui .hover-hot-pink:focus,.swagger-ui .hover-hot-pink:hover{color:#ff41b4}.swagger-ui .hover-pink:focus,.swagger-ui .hover-pink:hover{color:#ff80cc}.swagger-ui .hover-light-pink:focus,.swagger-ui .hover-light-pink:hover{color:#ffa3d7}.swagger-ui .hover-dark-green:focus,.swagger-ui .hover-dark-green:hover{color:#137752}.swagger-ui .hover-green:focus,.swagger-ui .hover-green:hover{color:#19a974}.swagger-ui .hover-light-green:focus,.swagger-ui .hover-light-green:hover{color:#9eebcf}.swagger-ui .hover-navy:focus,.swagger-ui .hover-navy:hover{color:#001b44}.swagger-ui .hover-dark-blue:focus,.swagger-ui .hover-dark-blue:hover{color:#00449e}.swagger-ui .hover-blue:focus,.swagger-ui .hover-blue:hover{color:#357edd}.swagger-ui .hover-light-blue:focus,.swagger-ui .hover-light-blue:hover{color:#96ccff}.swagger-ui .hover-lightest-blue:focus,.swagger-ui .hover-lightest-blue:hover{color:#cdecff}.swagger-ui .hover-washed-blue:focus,.swagger-ui .hover-washed-blue:hover{color:#f6fffe}.swagger-ui .hover-washed-green:focus,.swagger-ui .hover-washed-green:hover{color:#e8fdf5}.swagger-ui .hover-washed-yellow:focus,.swagger-ui .hover-washed-yellow:hover{color:#fffceb}.swagger-ui .hover-washed-red:focus,.swagger-ui .hover-washed-red:hover{color:#ffdfdf}.swagger-ui .hover-bg-dark-red:focus,.swagger-ui .hover-bg-dark-red:hover{background-color:#e7040f}.swagger-ui .hover-bg-red:focus,.swagger-ui .hover-bg-red:hover{background-color:#ff4136}.swagger-ui .hover-bg-light-red:focus,.swagger-ui .hover-bg-light-red:hover{background-color:#ff725c}.swagger-ui .hover-bg-orange:focus,.swagger-ui .hover-bg-orange:hover{background-color:#ff6300}.swagger-ui .hover-bg-gold:focus,.swagger-ui .hover-bg-gold:hover{background-color:#ffb700}.swagger-ui .hover-bg-yellow:focus,.swagger-ui .hover-bg-yellow:hover{background-color:gold}.swagger-ui .hover-bg-light-yellow:focus,.swagger-ui .hover-bg-light-yellow:hover{background-color:#fbf1a9}.swagger-ui .hover-bg-purple:focus,.swagger-ui .hover-bg-purple:hover{background-color:#5e2ca5}.swagger-ui .hover-bg-light-purple:focus,.swagger-ui .hover-bg-light-purple:hover{background-color:#a463f2}.swagger-ui .hover-bg-dark-pink:focus,.swagger-ui .hover-bg-dark-pink:hover{background-color:#d5008f}.swagger-ui .hover-bg-hot-pink:focus,.swagger-ui .hover-bg-hot-pink:hover{background-color:#ff41b4}.swagger-ui .hover-bg-pink:focus,.swagger-ui .hover-bg-pink:hover{background-color:#ff80cc}.swagger-ui .hover-bg-light-pink:focus,.swagger-ui .hover-bg-light-pink:hover{background-color:#ffa3d7}.swagger-ui .hover-bg-dark-green:focus,.swagger-ui .hover-bg-dark-green:hover{background-color:#137752}.swagger-ui .hover-bg-green:focus,.swagger-ui .hover-bg-green:hover{background-color:#19a974}.swagger-ui .hover-bg-light-green:focus,.swagger-ui .hover-bg-light-green:hover{background-color:#9eebcf}.swagger-ui .hover-bg-navy:focus,.swagger-ui .hover-bg-navy:hover{background-color:#001b44}.swagger-ui .hover-bg-dark-blue:focus,.swagger-ui .hover-bg-dark-blue:hover{background-color:#00449e}.swagger-ui .hover-bg-blue:focus,.swagger-ui .hover-bg-blue:hover{background-color:#357edd}.swagger-ui .hover-bg-light-blue:focus,.swagger-ui .hover-bg-light-blue:hover{background-color:#96ccff}.swagger-ui .hover-bg-lightest-blue:focus,.swagger-ui .hover-bg-lightest-blue:hover{background-color:#cdecff}.swagger-ui .hover-bg-washed-blue:focus,.swagger-ui .hover-bg-washed-blue:hover{background-color:#f6fffe}.swagger-ui .hover-bg-washed-green:focus,.swagger-ui .hover-bg-washed-green:hover{background-color:#e8fdf5}.swagger-ui .hover-bg-washed-yellow:focus,.swagger-ui .hover-bg-washed-yellow:hover{background-color:#fffceb}.swagger-ui .hover-bg-washed-red:focus,.swagger-ui .hover-bg-washed-red:hover{background-color:#ffdfdf}.swagger-ui .hover-bg-inherit:focus,.swagger-ui .hover-bg-inherit:hover{background-color:inherit}.swagger-ui .pa0{padding:0}.swagger-ui .pa1{padding:.25rem}.swagger-ui .pa2{padding:.5rem}.swagger-ui .pa3{padding:1rem}.swagger-ui .pa4{padding:2rem}.swagger-ui .pa5{padding:4rem}.swagger-ui .pa6{padding:8rem}.swagger-ui .pa7{padding:16rem}.swagger-ui .pl0{padding-left:0}.swagger-ui .pl1{padding-left:.25rem}.swagger-ui .pl2{padding-left:.5rem}.swagger-ui .pl3{padding-left:1rem}.swagger-ui .pl4{padding-left:2rem}.swagger-ui .pl5{padding-left:4rem}.swagger-ui .pl6{padding-left:8rem}.swagger-ui .pl7{padding-left:16rem}.swagger-ui .pr0{padding-right:0}.swagger-ui .pr1{padding-right:.25rem}.swagger-ui .pr2{padding-right:.5rem}.swagger-ui .pr3{padding-right:1rem}.swagger-ui .pr4{padding-right:2rem}.swagger-ui .pr5{padding-right:4rem}.swagger-ui .pr6{padding-right:8rem}.swagger-ui .pr7{padding-right:16rem}.swagger-ui .pb0{padding-bottom:0}.swagger-ui .pb1{padding-bottom:.25rem}.swagger-ui .pb2{padding-bottom:.5rem}.swagger-ui .pb3{padding-bottom:1rem}.swagger-ui .pb4{padding-bottom:2rem}.swagger-ui .pb5{padding-bottom:4rem}.swagger-ui .pb6{padding-bottom:8rem}.swagger-ui .pb7{padding-bottom:16rem}.swagger-ui .pt0{padding-top:0}.swagger-ui .pt1{padding-top:.25rem}.swagger-ui .pt2{padding-top:.5rem}.swagger-ui .pt3{padding-top:1rem}.swagger-ui .pt4{padding-top:2rem}.swagger-ui .pt5{padding-top:4rem}.swagger-ui .pt6{padding-top:8rem}.swagger-ui .pt7{padding-top:16rem}.swagger-ui .pv0{padding-bottom:0;padding-top:0}.swagger-ui .pv1{padding-bottom:.25rem;padding-top:.25rem}.swagger-ui .pv2{padding-bottom:.5rem;padding-top:.5rem}.swagger-ui .pv3{padding-bottom:1rem;padding-top:1rem}.swagger-ui .pv4{padding-bottom:2rem;padding-top:2rem}.swagger-ui .pv5{padding-bottom:4rem;padding-top:4rem}.swagger-ui .pv6{padding-bottom:8rem;padding-top:8rem}.swagger-ui .pv7{padding-bottom:16rem;padding-top:16rem}.swagger-ui .ph0{padding-left:0;padding-right:0}.swagger-ui .ph1{padding-left:.25rem;padding-right:.25rem}.swagger-ui .ph2{padding-left:.5rem;padding-right:.5rem}.swagger-ui .ph3{padding-left:1rem;padding-right:1rem}.swagger-ui .ph4{padding-left:2rem;padding-right:2rem}.swagger-ui .ph5{padding-left:4rem;padding-right:4rem}.swagger-ui .ph6{padding-left:8rem;padding-right:8rem}.swagger-ui .ph7{padding-left:16rem;padding-right:16rem}.swagger-ui .ma0{margin:0}.swagger-ui .ma1{margin:.25rem}.swagger-ui .ma2{margin:.5rem}.swagger-ui .ma3{margin:1rem}.swagger-ui .ma4{margin:2rem}.swagger-ui .ma5{margin:4rem}.swagger-ui .ma6{margin:8rem}.swagger-ui .ma7{margin:16rem}.swagger-ui .ml0{margin-left:0}.swagger-ui .ml1{margin-left:.25rem}.swagger-ui .ml2{margin-left:.5rem}.swagger-ui .ml3{margin-left:1rem}.swagger-ui .ml4{margin-left:2rem}.swagger-ui .ml5{margin-left:4rem}.swagger-ui .ml6{margin-left:8rem}.swagger-ui .ml7{margin-left:16rem}.swagger-ui .mr0{margin-right:0}.swagger-ui .mr1{margin-right:.25rem}.swagger-ui .mr2{margin-right:.5rem}.swagger-ui .mr3{margin-right:1rem}.swagger-ui .mr4{margin-right:2rem}.swagger-ui .mr5{margin-right:4rem}.swagger-ui .mr6{margin-right:8rem}.swagger-ui .mr7{margin-right:16rem}.swagger-ui .mb0{margin-bottom:0}.swagger-ui .mb1{margin-bottom:.25rem}.swagger-ui .mb2{margin-bottom:.5rem}.swagger-ui .mb3{margin-bottom:1rem}.swagger-ui .mb4{margin-bottom:2rem}.swagger-ui .mb5{margin-bottom:4rem}.swagger-ui .mb6{margin-bottom:8rem}.swagger-ui .mb7{margin-bottom:16rem}.swagger-ui .mt0{margin-top:0}.swagger-ui .mt1{margin-top:.25rem}.swagger-ui .mt2{margin-top:.5rem}.swagger-ui .mt3{margin-top:1rem}.swagger-ui .mt4{margin-top:2rem}.swagger-ui .mt5{margin-top:4rem}.swagger-ui .mt6{margin-top:8rem}.swagger-ui .mt7{margin-top:16rem}.swagger-ui .mv0{margin-bottom:0;margin-top:0}.swagger-ui .mv1{margin-bottom:.25rem;margin-top:.25rem}.swagger-ui .mv2{margin-bottom:.5rem;margin-top:.5rem}.swagger-ui .mv3{margin-bottom:1rem;margin-top:1rem}.swagger-ui .mv4{margin-bottom:2rem;margin-top:2rem}.swagger-ui .mv5{margin-bottom:4rem;margin-top:4rem}.swagger-ui .mv6{margin-bottom:8rem;margin-top:8rem}.swagger-ui .mv7{margin-bottom:16rem;margin-top:16rem}.swagger-ui .mh0{margin-left:0;margin-right:0}.swagger-ui .mh1{margin-left:.25rem;margin-right:.25rem}.swagger-ui .mh2{margin-left:.5rem;margin-right:.5rem}.swagger-ui .mh3{margin-left:1rem;margin-right:1rem}.swagger-ui .mh4{margin-left:2rem;margin-right:2rem}.swagger-ui .mh5{margin-left:4rem;margin-right:4rem}.swagger-ui .mh6{margin-left:8rem;margin-right:8rem}.swagger-ui .mh7{margin-left:16rem;margin-right:16rem}@media screen and (min-width:30em){.swagger-ui .pa0-ns{padding:0}.swagger-ui .pa1-ns{padding:.25rem}.swagger-ui .pa2-ns{padding:.5rem}.swagger-ui .pa3-ns{padding:1rem}.swagger-ui .pa4-ns{padding:2rem}.swagger-ui .pa5-ns{padding:4rem}.swagger-ui .pa6-ns{padding:8rem}.swagger-ui .pa7-ns{padding:16rem}.swagger-ui .pl0-ns{padding-left:0}.swagger-ui .pl1-ns{padding-left:.25rem}.swagger-ui .pl2-ns{padding-left:.5rem}.swagger-ui .pl3-ns{padding-left:1rem}.swagger-ui .pl4-ns{padding-left:2rem}.swagger-ui .pl5-ns{padding-left:4rem}.swagger-ui .pl6-ns{padding-left:8rem}.swagger-ui .pl7-ns{padding-left:16rem}.swagger-ui .pr0-ns{padding-right:0}.swagger-ui .pr1-ns{padding-right:.25rem}.swagger-ui .pr2-ns{padding-right:.5rem}.swagger-ui .pr3-ns{padding-right:1rem}.swagger-ui .pr4-ns{padding-right:2rem}.swagger-ui .pr5-ns{padding-right:4rem}.swagger-ui .pr6-ns{padding-right:8rem}.swagger-ui .pr7-ns{padding-right:16rem}.swagger-ui .pb0-ns{padding-bottom:0}.swagger-ui .pb1-ns{padding-bottom:.25rem}.swagger-ui .pb2-ns{padding-bottom:.5rem}.swagger-ui .pb3-ns{padding-bottom:1rem}.swagger-ui .pb4-ns{padding-bottom:2rem}.swagger-ui .pb5-ns{padding-bottom:4rem}.swagger-ui .pb6-ns{padding-bottom:8rem}.swagger-ui .pb7-ns{padding-bottom:16rem}.swagger-ui .pt0-ns{padding-top:0}.swagger-ui .pt1-ns{padding-top:.25rem}.swagger-ui .pt2-ns{padding-top:.5rem}.swagger-ui .pt3-ns{padding-top:1rem}.swagger-ui .pt4-ns{padding-top:2rem}.swagger-ui .pt5-ns{padding-top:4rem}.swagger-ui .pt6-ns{padding-top:8rem}.swagger-ui .pt7-ns{padding-top:16rem}.swagger-ui .pv0-ns{padding-bottom:0;padding-top:0}.swagger-ui .pv1-ns{padding-bottom:.25rem;padding-top:.25rem}.swagger-ui .pv2-ns{padding-bottom:.5rem;padding-top:.5rem}.swagger-ui .pv3-ns{padding-bottom:1rem;padding-top:1rem}.swagger-ui .pv4-ns{padding-bottom:2rem;padding-top:2rem}.swagger-ui .pv5-ns{padding-bottom:4rem;padding-top:4rem}.swagger-ui .pv6-ns{padding-bottom:8rem;padding-top:8rem}.swagger-ui .pv7-ns{padding-bottom:16rem;padding-top:16rem}.swagger-ui .ph0-ns{padding-left:0;padding-right:0}.swagger-ui .ph1-ns{padding-left:.25rem;padding-right:.25rem}.swagger-ui .ph2-ns{padding-left:.5rem;padding-right:.5rem}.swagger-ui .ph3-ns{padding-left:1rem;padding-right:1rem}.swagger-ui .ph4-ns{padding-left:2rem;padding-right:2rem}.swagger-ui .ph5-ns{padding-left:4rem;padding-right:4rem}.swagger-ui .ph6-ns{padding-left:8rem;padding-right:8rem}.swagger-ui .ph7-ns{padding-left:16rem;padding-right:16rem}.swagger-ui .ma0-ns{margin:0}.swagger-ui .ma1-ns{margin:.25rem}.swagger-ui .ma2-ns{margin:.5rem}.swagger-ui .ma3-ns{margin:1rem}.swagger-ui .ma4-ns{margin:2rem}.swagger-ui .ma5-ns{margin:4rem}.swagger-ui .ma6-ns{margin:8rem}.swagger-ui .ma7-ns{margin:16rem}.swagger-ui .ml0-ns{margin-left:0}.swagger-ui .ml1-ns{margin-left:.25rem}.swagger-ui .ml2-ns{margin-left:.5rem}.swagger-ui .ml3-ns{margin-left:1rem}.swagger-ui .ml4-ns{margin-left:2rem}.swagger-ui .ml5-ns{margin-left:4rem}.swagger-ui .ml6-ns{margin-left:8rem}.swagger-ui .ml7-ns{margin-left:16rem}.swagger-ui .mr0-ns{margin-right:0}.swagger-ui .mr1-ns{margin-right:.25rem}.swagger-ui .mr2-ns{margin-right:.5rem}.swagger-ui .mr3-ns{margin-right:1rem}.swagger-ui .mr4-ns{margin-right:2rem}.swagger-ui .mr5-ns{margin-right:4rem}.swagger-ui .mr6-ns{margin-right:8rem}.swagger-ui .mr7-ns{margin-right:16rem}.swagger-ui .mb0-ns{margin-bottom:0}.swagger-ui .mb1-ns{margin-bottom:.25rem}.swagger-ui .mb2-ns{margin-bottom:.5rem}.swagger-ui .mb3-ns{margin-bottom:1rem}.swagger-ui .mb4-ns{margin-bottom:2rem}.swagger-ui .mb5-ns{margin-bottom:4rem}.swagger-ui .mb6-ns{margin-bottom:8rem}.swagger-ui .mb7-ns{margin-bottom:16rem}.swagger-ui .mt0-ns{margin-top:0}.swagger-ui .mt1-ns{margin-top:.25rem}.swagger-ui .mt2-ns{margin-top:.5rem}.swagger-ui .mt3-ns{margin-top:1rem}.swagger-ui .mt4-ns{margin-top:2rem}.swagger-ui .mt5-ns{margin-top:4rem}.swagger-ui .mt6-ns{margin-top:8rem}.swagger-ui .mt7-ns{margin-top:16rem}.swagger-ui .mv0-ns{margin-bottom:0;margin-top:0}.swagger-ui .mv1-ns{margin-bottom:.25rem;margin-top:.25rem}.swagger-ui .mv2-ns{margin-bottom:.5rem;margin-top:.5rem}.swagger-ui .mv3-ns{margin-bottom:1rem;margin-top:1rem}.swagger-ui .mv4-ns{margin-bottom:2rem;margin-top:2rem}.swagger-ui .mv5-ns{margin-bottom:4rem;margin-top:4rem}.swagger-ui .mv6-ns{margin-bottom:8rem;margin-top:8rem}.swagger-ui .mv7-ns{margin-bottom:16rem;margin-top:16rem}.swagger-ui .mh0-ns{margin-left:0;margin-right:0}.swagger-ui .mh1-ns{margin-left:.25rem;margin-right:.25rem}.swagger-ui .mh2-ns{margin-left:.5rem;margin-right:.5rem}.swagger-ui .mh3-ns{margin-left:1rem;margin-right:1rem}.swagger-ui .mh4-ns{margin-left:2rem;margin-right:2rem}.swagger-ui .mh5-ns{margin-left:4rem;margin-right:4rem}.swagger-ui .mh6-ns{margin-left:8rem;margin-right:8rem}.swagger-ui .mh7-ns{margin-left:16rem;margin-right:16rem}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .pa0-m{padding:0}.swagger-ui .pa1-m{padding:.25rem}.swagger-ui .pa2-m{padding:.5rem}.swagger-ui .pa3-m{padding:1rem}.swagger-ui .pa4-m{padding:2rem}.swagger-ui .pa5-m{padding:4rem}.swagger-ui .pa6-m{padding:8rem}.swagger-ui .pa7-m{padding:16rem}.swagger-ui .pl0-m{padding-left:0}.swagger-ui .pl1-m{padding-left:.25rem}.swagger-ui .pl2-m{padding-left:.5rem}.swagger-ui .pl3-m{padding-left:1rem}.swagger-ui .pl4-m{padding-left:2rem}.swagger-ui .pl5-m{padding-left:4rem}.swagger-ui .pl6-m{padding-left:8rem}.swagger-ui .pl7-m{padding-left:16rem}.swagger-ui .pr0-m{padding-right:0}.swagger-ui .pr1-m{padding-right:.25rem}.swagger-ui .pr2-m{padding-right:.5rem}.swagger-ui .pr3-m{padding-right:1rem}.swagger-ui .pr4-m{padding-right:2rem}.swagger-ui .pr5-m{padding-right:4rem}.swagger-ui .pr6-m{padding-right:8rem}.swagger-ui .pr7-m{padding-right:16rem}.swagger-ui .pb0-m{padding-bottom:0}.swagger-ui .pb1-m{padding-bottom:.25rem}.swagger-ui .pb2-m{padding-bottom:.5rem}.swagger-ui .pb3-m{padding-bottom:1rem}.swagger-ui .pb4-m{padding-bottom:2rem}.swagger-ui .pb5-m{padding-bottom:4rem}.swagger-ui .pb6-m{padding-bottom:8rem}.swagger-ui .pb7-m{padding-bottom:16rem}.swagger-ui .pt0-m{padding-top:0}.swagger-ui .pt1-m{padding-top:.25rem}.swagger-ui .pt2-m{padding-top:.5rem}.swagger-ui .pt3-m{padding-top:1rem}.swagger-ui .pt4-m{padding-top:2rem}.swagger-ui .pt5-m{padding-top:4rem}.swagger-ui .pt6-m{padding-top:8rem}.swagger-ui .pt7-m{padding-top:16rem}.swagger-ui .pv0-m{padding-bottom:0;padding-top:0}.swagger-ui .pv1-m{padding-bottom:.25rem;padding-top:.25rem}.swagger-ui .pv2-m{padding-bottom:.5rem;padding-top:.5rem}.swagger-ui .pv3-m{padding-bottom:1rem;padding-top:1rem}.swagger-ui .pv4-m{padding-bottom:2rem;padding-top:2rem}.swagger-ui .pv5-m{padding-bottom:4rem;padding-top:4rem}.swagger-ui .pv6-m{padding-bottom:8rem;padding-top:8rem}.swagger-ui .pv7-m{padding-bottom:16rem;padding-top:16rem}.swagger-ui .ph0-m{padding-left:0;padding-right:0}.swagger-ui .ph1-m{padding-left:.25rem;padding-right:.25rem}.swagger-ui .ph2-m{padding-left:.5rem;padding-right:.5rem}.swagger-ui .ph3-m{padding-left:1rem;padding-right:1rem}.swagger-ui .ph4-m{padding-left:2rem;padding-right:2rem}.swagger-ui .ph5-m{padding-left:4rem;padding-right:4rem}.swagger-ui .ph6-m{padding-left:8rem;padding-right:8rem}.swagger-ui .ph7-m{padding-left:16rem;padding-right:16rem}.swagger-ui .ma0-m{margin:0}.swagger-ui .ma1-m{margin:.25rem}.swagger-ui .ma2-m{margin:.5rem}.swagger-ui .ma3-m{margin:1rem}.swagger-ui .ma4-m{margin:2rem}.swagger-ui .ma5-m{margin:4rem}.swagger-ui .ma6-m{margin:8rem}.swagger-ui .ma7-m{margin:16rem}.swagger-ui .ml0-m{margin-left:0}.swagger-ui .ml1-m{margin-left:.25rem}.swagger-ui .ml2-m{margin-left:.5rem}.swagger-ui .ml3-m{margin-left:1rem}.swagger-ui .ml4-m{margin-left:2rem}.swagger-ui .ml5-m{margin-left:4rem}.swagger-ui .ml6-m{margin-left:8rem}.swagger-ui .ml7-m{margin-left:16rem}.swagger-ui .mr0-m{margin-right:0}.swagger-ui .mr1-m{margin-right:.25rem}.swagger-ui .mr2-m{margin-right:.5rem}.swagger-ui .mr3-m{margin-right:1rem}.swagger-ui .mr4-m{margin-right:2rem}.swagger-ui .mr5-m{margin-right:4rem}.swagger-ui .mr6-m{margin-right:8rem}.swagger-ui .mr7-m{margin-right:16rem}.swagger-ui .mb0-m{margin-bottom:0}.swagger-ui .mb1-m{margin-bottom:.25rem}.swagger-ui .mb2-m{margin-bottom:.5rem}.swagger-ui .mb3-m{margin-bottom:1rem}.swagger-ui .mb4-m{margin-bottom:2rem}.swagger-ui .mb5-m{margin-bottom:4rem}.swagger-ui .mb6-m{margin-bottom:8rem}.swagger-ui .mb7-m{margin-bottom:16rem}.swagger-ui .mt0-m{margin-top:0}.swagger-ui .mt1-m{margin-top:.25rem}.swagger-ui .mt2-m{margin-top:.5rem}.swagger-ui .mt3-m{margin-top:1rem}.swagger-ui .mt4-m{margin-top:2rem}.swagger-ui .mt5-m{margin-top:4rem}.swagger-ui .mt6-m{margin-top:8rem}.swagger-ui .mt7-m{margin-top:16rem}.swagger-ui .mv0-m{margin-bottom:0;margin-top:0}.swagger-ui .mv1-m{margin-bottom:.25rem;margin-top:.25rem}.swagger-ui .mv2-m{margin-bottom:.5rem;margin-top:.5rem}.swagger-ui .mv3-m{margin-bottom:1rem;margin-top:1rem}.swagger-ui .mv4-m{margin-bottom:2rem;margin-top:2rem}.swagger-ui .mv5-m{margin-bottom:4rem;margin-top:4rem}.swagger-ui .mv6-m{margin-bottom:8rem;margin-top:8rem}.swagger-ui .mv7-m{margin-bottom:16rem;margin-top:16rem}.swagger-ui .mh0-m{margin-left:0;margin-right:0}.swagger-ui .mh1-m{margin-left:.25rem;margin-right:.25rem}.swagger-ui .mh2-m{margin-left:.5rem;margin-right:.5rem}.swagger-ui .mh3-m{margin-left:1rem;margin-right:1rem}.swagger-ui .mh4-m{margin-left:2rem;margin-right:2rem}.swagger-ui .mh5-m{margin-left:4rem;margin-right:4rem}.swagger-ui .mh6-m{margin-left:8rem;margin-right:8rem}.swagger-ui .mh7-m{margin-left:16rem;margin-right:16rem}}@media screen and (min-width:60em){.swagger-ui .pa0-l{padding:0}.swagger-ui .pa1-l{padding:.25rem}.swagger-ui .pa2-l{padding:.5rem}.swagger-ui .pa3-l{padding:1rem}.swagger-ui .pa4-l{padding:2rem}.swagger-ui .pa5-l{padding:4rem}.swagger-ui .pa6-l{padding:8rem}.swagger-ui .pa7-l{padding:16rem}.swagger-ui .pl0-l{padding-left:0}.swagger-ui .pl1-l{padding-left:.25rem}.swagger-ui .pl2-l{padding-left:.5rem}.swagger-ui .pl3-l{padding-left:1rem}.swagger-ui .pl4-l{padding-left:2rem}.swagger-ui .pl5-l{padding-left:4rem}.swagger-ui .pl6-l{padding-left:8rem}.swagger-ui .pl7-l{padding-left:16rem}.swagger-ui .pr0-l{padding-right:0}.swagger-ui .pr1-l{padding-right:.25rem}.swagger-ui .pr2-l{padding-right:.5rem}.swagger-ui .pr3-l{padding-right:1rem}.swagger-ui .pr4-l{padding-right:2rem}.swagger-ui .pr5-l{padding-right:4rem}.swagger-ui .pr6-l{padding-right:8rem}.swagger-ui .pr7-l{padding-right:16rem}.swagger-ui .pb0-l{padding-bottom:0}.swagger-ui .pb1-l{padding-bottom:.25rem}.swagger-ui .pb2-l{padding-bottom:.5rem}.swagger-ui .pb3-l{padding-bottom:1rem}.swagger-ui .pb4-l{padding-bottom:2rem}.swagger-ui .pb5-l{padding-bottom:4rem}.swagger-ui .pb6-l{padding-bottom:8rem}.swagger-ui .pb7-l{padding-bottom:16rem}.swagger-ui .pt0-l{padding-top:0}.swagger-ui .pt1-l{padding-top:.25rem}.swagger-ui .pt2-l{padding-top:.5rem}.swagger-ui .pt3-l{padding-top:1rem}.swagger-ui .pt4-l{padding-top:2rem}.swagger-ui .pt5-l{padding-top:4rem}.swagger-ui .pt6-l{padding-top:8rem}.swagger-ui .pt7-l{padding-top:16rem}.swagger-ui .pv0-l{padding-bottom:0;padding-top:0}.swagger-ui .pv1-l{padding-bottom:.25rem;padding-top:.25rem}.swagger-ui .pv2-l{padding-bottom:.5rem;padding-top:.5rem}.swagger-ui .pv3-l{padding-bottom:1rem;padding-top:1rem}.swagger-ui .pv4-l{padding-bottom:2rem;padding-top:2rem}.swagger-ui .pv5-l{padding-bottom:4rem;padding-top:4rem}.swagger-ui .pv6-l{padding-bottom:8rem;padding-top:8rem}.swagger-ui .pv7-l{padding-bottom:16rem;padding-top:16rem}.swagger-ui .ph0-l{padding-left:0;padding-right:0}.swagger-ui .ph1-l{padding-left:.25rem;padding-right:.25rem}.swagger-ui .ph2-l{padding-left:.5rem;padding-right:.5rem}.swagger-ui .ph3-l{padding-left:1rem;padding-right:1rem}.swagger-ui .ph4-l{padding-left:2rem;padding-right:2rem}.swagger-ui .ph5-l{padding-left:4rem;padding-right:4rem}.swagger-ui .ph6-l{padding-left:8rem;padding-right:8rem}.swagger-ui .ph7-l{padding-left:16rem;padding-right:16rem}.swagger-ui .ma0-l{margin:0}.swagger-ui .ma1-l{margin:.25rem}.swagger-ui .ma2-l{margin:.5rem}.swagger-ui .ma3-l{margin:1rem}.swagger-ui .ma4-l{margin:2rem}.swagger-ui .ma5-l{margin:4rem}.swagger-ui .ma6-l{margin:8rem}.swagger-ui .ma7-l{margin:16rem}.swagger-ui .ml0-l{margin-left:0}.swagger-ui .ml1-l{margin-left:.25rem}.swagger-ui .ml2-l{margin-left:.5rem}.swagger-ui .ml3-l{margin-left:1rem}.swagger-ui .ml4-l{margin-left:2rem}.swagger-ui .ml5-l{margin-left:4rem}.swagger-ui .ml6-l{margin-left:8rem}.swagger-ui .ml7-l{margin-left:16rem}.swagger-ui .mr0-l{margin-right:0}.swagger-ui .mr1-l{margin-right:.25rem}.swagger-ui .mr2-l{margin-right:.5rem}.swagger-ui .mr3-l{margin-right:1rem}.swagger-ui .mr4-l{margin-right:2rem}.swagger-ui .mr5-l{margin-right:4rem}.swagger-ui .mr6-l{margin-right:8rem}.swagger-ui .mr7-l{margin-right:16rem}.swagger-ui .mb0-l{margin-bottom:0}.swagger-ui .mb1-l{margin-bottom:.25rem}.swagger-ui .mb2-l{margin-bottom:.5rem}.swagger-ui .mb3-l{margin-bottom:1rem}.swagger-ui .mb4-l{margin-bottom:2rem}.swagger-ui .mb5-l{margin-bottom:4rem}.swagger-ui .mb6-l{margin-bottom:8rem}.swagger-ui .mb7-l{margin-bottom:16rem}.swagger-ui .mt0-l{margin-top:0}.swagger-ui .mt1-l{margin-top:.25rem}.swagger-ui .mt2-l{margin-top:.5rem}.swagger-ui .mt3-l{margin-top:1rem}.swagger-ui .mt4-l{margin-top:2rem}.swagger-ui .mt5-l{margin-top:4rem}.swagger-ui .mt6-l{margin-top:8rem}.swagger-ui .mt7-l{margin-top:16rem}.swagger-ui .mv0-l{margin-bottom:0;margin-top:0}.swagger-ui .mv1-l{margin-bottom:.25rem;margin-top:.25rem}.swagger-ui .mv2-l{margin-bottom:.5rem;margin-top:.5rem}.swagger-ui .mv3-l{margin-bottom:1rem;margin-top:1rem}.swagger-ui .mv4-l{margin-bottom:2rem;margin-top:2rem}.swagger-ui .mv5-l{margin-bottom:4rem;margin-top:4rem}.swagger-ui .mv6-l{margin-bottom:8rem;margin-top:8rem}.swagger-ui .mv7-l{margin-bottom:16rem;margin-top:16rem}.swagger-ui .mh0-l{margin-left:0;margin-right:0}.swagger-ui .mh1-l{margin-left:.25rem;margin-right:.25rem}.swagger-ui .mh2-l{margin-left:.5rem;margin-right:.5rem}.swagger-ui .mh3-l{margin-left:1rem;margin-right:1rem}.swagger-ui .mh4-l{margin-left:2rem;margin-right:2rem}.swagger-ui .mh5-l{margin-left:4rem;margin-right:4rem}.swagger-ui .mh6-l{margin-left:8rem;margin-right:8rem}.swagger-ui .mh7-l{margin-left:16rem;margin-right:16rem}}.swagger-ui .na1{margin:-.25rem}.swagger-ui .na2{margin:-.5rem}.swagger-ui .na3{margin:-1rem}.swagger-ui .na4{margin:-2rem}.swagger-ui .na5{margin:-4rem}.swagger-ui .na6{margin:-8rem}.swagger-ui .na7{margin:-16rem}.swagger-ui .nl1{margin-left:-.25rem}.swagger-ui .nl2{margin-left:-.5rem}.swagger-ui .nl3{margin-left:-1rem}.swagger-ui .nl4{margin-left:-2rem}.swagger-ui .nl5{margin-left:-4rem}.swagger-ui .nl6{margin-left:-8rem}.swagger-ui .nl7{margin-left:-16rem}.swagger-ui .nr1{margin-right:-.25rem}.swagger-ui .nr2{margin-right:-.5rem}.swagger-ui .nr3{margin-right:-1rem}.swagger-ui .nr4{margin-right:-2rem}.swagger-ui .nr5{margin-right:-4rem}.swagger-ui .nr6{margin-right:-8rem}.swagger-ui .nr7{margin-right:-16rem}.swagger-ui .nb1{margin-bottom:-.25rem}.swagger-ui .nb2{margin-bottom:-.5rem}.swagger-ui .nb3{margin-bottom:-1rem}.swagger-ui .nb4{margin-bottom:-2rem}.swagger-ui .nb5{margin-bottom:-4rem}.swagger-ui .nb6{margin-bottom:-8rem}.swagger-ui .nb7{margin-bottom:-16rem}.swagger-ui .nt1{margin-top:-.25rem}.swagger-ui .nt2{margin-top:-.5rem}.swagger-ui .nt3{margin-top:-1rem}.swagger-ui .nt4{margin-top:-2rem}.swagger-ui .nt5{margin-top:-4rem}.swagger-ui .nt6{margin-top:-8rem}.swagger-ui .nt7{margin-top:-16rem}@media screen and (min-width:30em){.swagger-ui .na1-ns{margin:-.25rem}.swagger-ui .na2-ns{margin:-.5rem}.swagger-ui .na3-ns{margin:-1rem}.swagger-ui .na4-ns{margin:-2rem}.swagger-ui .na5-ns{margin:-4rem}.swagger-ui .na6-ns{margin:-8rem}.swagger-ui .na7-ns{margin:-16rem}.swagger-ui .nl1-ns{margin-left:-.25rem}.swagger-ui .nl2-ns{margin-left:-.5rem}.swagger-ui .nl3-ns{margin-left:-1rem}.swagger-ui .nl4-ns{margin-left:-2rem}.swagger-ui .nl5-ns{margin-left:-4rem}.swagger-ui .nl6-ns{margin-left:-8rem}.swagger-ui .nl7-ns{margin-left:-16rem}.swagger-ui .nr1-ns{margin-right:-.25rem}.swagger-ui .nr2-ns{margin-right:-.5rem}.swagger-ui .nr3-ns{margin-right:-1rem}.swagger-ui .nr4-ns{margin-right:-2rem}.swagger-ui .nr5-ns{margin-right:-4rem}.swagger-ui .nr6-ns{margin-right:-8rem}.swagger-ui .nr7-ns{margin-right:-16rem}.swagger-ui .nb1-ns{margin-bottom:-.25rem}.swagger-ui .nb2-ns{margin-bottom:-.5rem}.swagger-ui .nb3-ns{margin-bottom:-1rem}.swagger-ui .nb4-ns{margin-bottom:-2rem}.swagger-ui .nb5-ns{margin-bottom:-4rem}.swagger-ui .nb6-ns{margin-bottom:-8rem}.swagger-ui .nb7-ns{margin-bottom:-16rem}.swagger-ui .nt1-ns{margin-top:-.25rem}.swagger-ui .nt2-ns{margin-top:-.5rem}.swagger-ui .nt3-ns{margin-top:-1rem}.swagger-ui .nt4-ns{margin-top:-2rem}.swagger-ui .nt5-ns{margin-top:-4rem}.swagger-ui .nt6-ns{margin-top:-8rem}.swagger-ui .nt7-ns{margin-top:-16rem}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .na1-m{margin:-.25rem}.swagger-ui .na2-m{margin:-.5rem}.swagger-ui .na3-m{margin:-1rem}.swagger-ui .na4-m{margin:-2rem}.swagger-ui .na5-m{margin:-4rem}.swagger-ui .na6-m{margin:-8rem}.swagger-ui .na7-m{margin:-16rem}.swagger-ui .nl1-m{margin-left:-.25rem}.swagger-ui .nl2-m{margin-left:-.5rem}.swagger-ui .nl3-m{margin-left:-1rem}.swagger-ui .nl4-m{margin-left:-2rem}.swagger-ui .nl5-m{margin-left:-4rem}.swagger-ui .nl6-m{margin-left:-8rem}.swagger-ui .nl7-m{margin-left:-16rem}.swagger-ui .nr1-m{margin-right:-.25rem}.swagger-ui .nr2-m{margin-right:-.5rem}.swagger-ui .nr3-m{margin-right:-1rem}.swagger-ui .nr4-m{margin-right:-2rem}.swagger-ui .nr5-m{margin-right:-4rem}.swagger-ui .nr6-m{margin-right:-8rem}.swagger-ui .nr7-m{margin-right:-16rem}.swagger-ui .nb1-m{margin-bottom:-.25rem}.swagger-ui .nb2-m{margin-bottom:-.5rem}.swagger-ui .nb3-m{margin-bottom:-1rem}.swagger-ui .nb4-m{margin-bottom:-2rem}.swagger-ui .nb5-m{margin-bottom:-4rem}.swagger-ui .nb6-m{margin-bottom:-8rem}.swagger-ui .nb7-m{margin-bottom:-16rem}.swagger-ui .nt1-m{margin-top:-.25rem}.swagger-ui .nt2-m{margin-top:-.5rem}.swagger-ui .nt3-m{margin-top:-1rem}.swagger-ui .nt4-m{margin-top:-2rem}.swagger-ui .nt5-m{margin-top:-4rem}.swagger-ui .nt6-m{margin-top:-8rem}.swagger-ui .nt7-m{margin-top:-16rem}}@media screen and (min-width:60em){.swagger-ui .na1-l{margin:-.25rem}.swagger-ui .na2-l{margin:-.5rem}.swagger-ui .na3-l{margin:-1rem}.swagger-ui .na4-l{margin:-2rem}.swagger-ui .na5-l{margin:-4rem}.swagger-ui .na6-l{margin:-8rem}.swagger-ui .na7-l{margin:-16rem}.swagger-ui .nl1-l{margin-left:-.25rem}.swagger-ui .nl2-l{margin-left:-.5rem}.swagger-ui .nl3-l{margin-left:-1rem}.swagger-ui .nl4-l{margin-left:-2rem}.swagger-ui .nl5-l{margin-left:-4rem}.swagger-ui .nl6-l{margin-left:-8rem}.swagger-ui .nl7-l{margin-left:-16rem}.swagger-ui .nr1-l{margin-right:-.25rem}.swagger-ui .nr2-l{margin-right:-.5rem}.swagger-ui .nr3-l{margin-right:-1rem}.swagger-ui .nr4-l{margin-right:-2rem}.swagger-ui .nr5-l{margin-right:-4rem}.swagger-ui .nr6-l{margin-right:-8rem}.swagger-ui .nr7-l{margin-right:-16rem}.swagger-ui .nb1-l{margin-bottom:-.25rem}.swagger-ui .nb2-l{margin-bottom:-.5rem}.swagger-ui .nb3-l{margin-bottom:-1rem}.swagger-ui .nb4-l{margin-bottom:-2rem}.swagger-ui .nb5-l{margin-bottom:-4rem}.swagger-ui .nb6-l{margin-bottom:-8rem}.swagger-ui .nb7-l{margin-bottom:-16rem}.swagger-ui .nt1-l{margin-top:-.25rem}.swagger-ui .nt2-l{margin-top:-.5rem}.swagger-ui .nt3-l{margin-top:-1rem}.swagger-ui .nt4-l{margin-top:-2rem}.swagger-ui .nt5-l{margin-top:-4rem}.swagger-ui .nt6-l{margin-top:-8rem}.swagger-ui .nt7-l{margin-top:-16rem}}.swagger-ui .collapse{border-collapse:collapse;border-spacing:0}.swagger-ui .striped--light-silver:nth-child(odd){background-color:#aaa}.swagger-ui .striped--moon-gray:nth-child(odd){background-color:#ccc}.swagger-ui .striped--light-gray:nth-child(odd){background-color:#eee}.swagger-ui .striped--near-white:nth-child(odd){background-color:#f4f4f4}.swagger-ui .stripe-light:nth-child(odd){background-color:hsla(0,0%,100%,.1)}.swagger-ui .stripe-dark:nth-child(odd){background-color:rgba(0,0,0,.1)}.swagger-ui .strike{text-decoration:line-through}.swagger-ui .underline{text-decoration:underline}.swagger-ui .no-underline{text-decoration:none}@media screen and (min-width:30em){.swagger-ui .strike-ns{text-decoration:line-through}.swagger-ui .underline-ns{text-decoration:underline}.swagger-ui .no-underline-ns{text-decoration:none}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .strike-m{text-decoration:line-through}.swagger-ui .underline-m{text-decoration:underline}.swagger-ui .no-underline-m{text-decoration:none}}@media screen and (min-width:60em){.swagger-ui .strike-l{text-decoration:line-through}.swagger-ui .underline-l{text-decoration:underline}.swagger-ui .no-underline-l{text-decoration:none}}.swagger-ui .tl{text-align:left}.swagger-ui .tr{text-align:right}.swagger-ui .tc{text-align:center}.swagger-ui .tj{text-align:justify}@media screen and (min-width:30em){.swagger-ui .tl-ns{text-align:left}.swagger-ui .tr-ns{text-align:right}.swagger-ui .tc-ns{text-align:center}.swagger-ui .tj-ns{text-align:justify}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .tl-m{text-align:left}.swagger-ui .tr-m{text-align:right}.swagger-ui .tc-m{text-align:center}.swagger-ui .tj-m{text-align:justify}}@media screen and (min-width:60em){.swagger-ui .tl-l{text-align:left}.swagger-ui .tr-l{text-align:right}.swagger-ui .tc-l{text-align:center}.swagger-ui .tj-l{text-align:justify}}.swagger-ui .ttc{text-transform:capitalize}.swagger-ui .ttl{text-transform:lowercase}.swagger-ui .ttu{text-transform:uppercase}.swagger-ui .ttn{text-transform:none}@media screen and (min-width:30em){.swagger-ui .ttc-ns{text-transform:capitalize}.swagger-ui .ttl-ns{text-transform:lowercase}.swagger-ui .ttu-ns{text-transform:uppercase}.swagger-ui .ttn-ns{text-transform:none}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .ttc-m{text-transform:capitalize}.swagger-ui .ttl-m{text-transform:lowercase}.swagger-ui .ttu-m{text-transform:uppercase}.swagger-ui .ttn-m{text-transform:none}}@media screen and (min-width:60em){.swagger-ui .ttc-l{text-transform:capitalize}.swagger-ui .ttl-l{text-transform:lowercase}.swagger-ui .ttu-l{text-transform:uppercase}.swagger-ui .ttn-l{text-transform:none}}.swagger-ui .f-6,.swagger-ui .f-headline{font-size:6rem}.swagger-ui .f-5,.swagger-ui .f-subheadline{font-size:5rem}.swagger-ui .f1{font-size:3rem}.swagger-ui .f2{font-size:2.25rem}.swagger-ui .f3{font-size:1.5rem}.swagger-ui .f4{font-size:1.25rem}.swagger-ui .f5{font-size:1rem}.swagger-ui .f6{font-size:.875rem}.swagger-ui .f7{font-size:.75rem}@media screen and (min-width:30em){.swagger-ui .f-6-ns,.swagger-ui .f-headline-ns{font-size:6rem}.swagger-ui .f-5-ns,.swagger-ui .f-subheadline-ns{font-size:5rem}.swagger-ui .f1-ns{font-size:3rem}.swagger-ui .f2-ns{font-size:2.25rem}.swagger-ui .f3-ns{font-size:1.5rem}.swagger-ui .f4-ns{font-size:1.25rem}.swagger-ui .f5-ns{font-size:1rem}.swagger-ui .f6-ns{font-size:.875rem}.swagger-ui .f7-ns{font-size:.75rem}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .f-6-m,.swagger-ui .f-headline-m{font-size:6rem}.swagger-ui .f-5-m,.swagger-ui .f-subheadline-m{font-size:5rem}.swagger-ui .f1-m{font-size:3rem}.swagger-ui .f2-m{font-size:2.25rem}.swagger-ui .f3-m{font-size:1.5rem}.swagger-ui .f4-m{font-size:1.25rem}.swagger-ui .f5-m{font-size:1rem}.swagger-ui .f6-m{font-size:.875rem}.swagger-ui .f7-m{font-size:.75rem}}@media screen and (min-width:60em){.swagger-ui .f-6-l,.swagger-ui .f-headline-l{font-size:6rem}.swagger-ui .f-5-l,.swagger-ui .f-subheadline-l{font-size:5rem}.swagger-ui .f1-l{font-size:3rem}.swagger-ui .f2-l{font-size:2.25rem}.swagger-ui .f3-l{font-size:1.5rem}.swagger-ui .f4-l{font-size:1.25rem}.swagger-ui .f5-l{font-size:1rem}.swagger-ui .f6-l{font-size:.875rem}.swagger-ui .f7-l{font-size:.75rem}}.swagger-ui .measure{max-width:30em}.swagger-ui .measure-wide{max-width:34em}.swagger-ui .measure-narrow{max-width:20em}.swagger-ui .indent{margin-bottom:0;margin-top:0;text-indent:1em}.swagger-ui .small-caps{font-feature-settings:"smcp";font-variant:small-caps}.swagger-ui .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (min-width:30em){.swagger-ui .measure-ns{max-width:30em}.swagger-ui .measure-wide-ns{max-width:34em}.swagger-ui .measure-narrow-ns{max-width:20em}.swagger-ui .indent-ns{margin-bottom:0;margin-top:0;text-indent:1em}.swagger-ui .small-caps-ns{font-feature-settings:"smcp";font-variant:small-caps}.swagger-ui .truncate-ns{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .measure-m{max-width:30em}.swagger-ui .measure-wide-m{max-width:34em}.swagger-ui .measure-narrow-m{max-width:20em}.swagger-ui .indent-m{margin-bottom:0;margin-top:0;text-indent:1em}.swagger-ui .small-caps-m{font-feature-settings:"smcp";font-variant:small-caps}.swagger-ui .truncate-m{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media screen and (min-width:60em){.swagger-ui .measure-l{max-width:30em}.swagger-ui .measure-wide-l{max-width:34em}.swagger-ui .measure-narrow-l{max-width:20em}.swagger-ui .indent-l{margin-bottom:0;margin-top:0;text-indent:1em}.swagger-ui .small-caps-l{font-feature-settings:"smcp";font-variant:small-caps}.swagger-ui .truncate-l{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.swagger-ui .overflow-container{overflow-y:scroll}.swagger-ui .center{margin-left:auto;margin-right:auto}.swagger-ui .mr-auto{margin-right:auto}.swagger-ui .ml-auto{margin-left:auto}@media screen and (min-width:30em){.swagger-ui .center-ns{margin-left:auto;margin-right:auto}.swagger-ui .mr-auto-ns{margin-right:auto}.swagger-ui .ml-auto-ns{margin-left:auto}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .center-m{margin-left:auto;margin-right:auto}.swagger-ui .mr-auto-m{margin-right:auto}.swagger-ui .ml-auto-m{margin-left:auto}}@media screen and (min-width:60em){.swagger-ui .center-l{margin-left:auto;margin-right:auto}.swagger-ui .mr-auto-l{margin-right:auto}.swagger-ui .ml-auto-l{margin-left:auto}}.swagger-ui .clip{clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);position:fixed!important}@media screen and (min-width:30em){.swagger-ui .clip-ns{clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);position:fixed!important}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .clip-m{clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);position:fixed!important}}@media screen and (min-width:60em){.swagger-ui .clip-l{clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);position:fixed!important}}.swagger-ui .ws-normal{white-space:normal}.swagger-ui .nowrap{white-space:nowrap}.swagger-ui .pre{white-space:pre}@media screen and (min-width:30em){.swagger-ui .ws-normal-ns{white-space:normal}.swagger-ui .nowrap-ns{white-space:nowrap}.swagger-ui .pre-ns{white-space:pre}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .ws-normal-m{white-space:normal}.swagger-ui .nowrap-m{white-space:nowrap}.swagger-ui .pre-m{white-space:pre}}@media screen and (min-width:60em){.swagger-ui .ws-normal-l{white-space:normal}.swagger-ui .nowrap-l{white-space:nowrap}.swagger-ui .pre-l{white-space:pre}}.swagger-ui .v-base{vertical-align:baseline}.swagger-ui .v-mid{vertical-align:middle}.swagger-ui .v-top{vertical-align:top}.swagger-ui .v-btm{vertical-align:bottom}@media screen and (min-width:30em){.swagger-ui .v-base-ns{vertical-align:baseline}.swagger-ui .v-mid-ns{vertical-align:middle}.swagger-ui .v-top-ns{vertical-align:top}.swagger-ui .v-btm-ns{vertical-align:bottom}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .v-base-m{vertical-align:baseline}.swagger-ui .v-mid-m{vertical-align:middle}.swagger-ui .v-top-m{vertical-align:top}.swagger-ui .v-btm-m{vertical-align:bottom}}@media screen and (min-width:60em){.swagger-ui .v-base-l{vertical-align:baseline}.swagger-ui .v-mid-l{vertical-align:middle}.swagger-ui .v-top-l{vertical-align:top}.swagger-ui .v-btm-l{vertical-align:bottom}}.swagger-ui .dim{opacity:1;transition:opacity .15s ease-in}.swagger-ui .dim:focus,.swagger-ui .dim:hover{opacity:.5;transition:opacity .15s ease-in}.swagger-ui .dim:active{opacity:.8;transition:opacity .15s ease-out}.swagger-ui .glow{transition:opacity .15s ease-in}.swagger-ui .glow:focus,.swagger-ui .glow:hover{opacity:1;transition:opacity .15s ease-in}.swagger-ui .hide-child .child{opacity:0;transition:opacity .15s ease-in}.swagger-ui .hide-child:active .child,.swagger-ui .hide-child:focus .child,.swagger-ui .hide-child:hover .child{opacity:1;transition:opacity .15s ease-in}.swagger-ui .underline-hover:focus,.swagger-ui .underline-hover:hover{text-decoration:underline}.swagger-ui .grow{-moz-osx-font-smoothing:grayscale;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform:translateZ(0);transition:transform .25s ease-out}.swagger-ui .grow:focus,.swagger-ui .grow:hover{transform:scale(1.05)}.swagger-ui .grow:active{transform:scale(.9)}.swagger-ui .grow-large{-moz-osx-font-smoothing:grayscale;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform:translateZ(0);transition:transform .25s ease-in-out}.swagger-ui .grow-large:focus,.swagger-ui .grow-large:hover{transform:scale(1.2)}.swagger-ui .grow-large:active{transform:scale(.95)}.swagger-ui .pointer:hover{cursor:pointer}.swagger-ui .shadow-hover{cursor:pointer;position:relative;transition:all .5s cubic-bezier(.165,.84,.44,1)}.swagger-ui .shadow-hover:after{border-radius:inherit;box-shadow:0 0 16px 2px rgba(0,0,0,.2);content:"";height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .5s cubic-bezier(.165,.84,.44,1);width:100%;z-index:-1}.swagger-ui .shadow-hover:focus:after,.swagger-ui .shadow-hover:hover:after{opacity:1}.swagger-ui .bg-animate,.swagger-ui .bg-animate:focus,.swagger-ui .bg-animate:hover{transition:background-color .15s ease-in-out}.swagger-ui .z-0{z-index:0}.swagger-ui .z-1{z-index:1}.swagger-ui .z-2{z-index:2}.swagger-ui .z-3{z-index:3}.swagger-ui .z-4{z-index:4}.swagger-ui .z-5{z-index:5}.swagger-ui .z-999{z-index:999}.swagger-ui .z-9999{z-index:9999}.swagger-ui .z-max{z-index:2147483647}.swagger-ui .z-inherit{z-index:inherit}.swagger-ui .z-initial{z-index:auto}.swagger-ui .z-unset{z-index:unset}.swagger-ui .nested-copy-line-height ol,.swagger-ui .nested-copy-line-height p,.swagger-ui .nested-copy-line-height ul{line-height:1.5}.swagger-ui .nested-headline-line-height h1,.swagger-ui .nested-headline-line-height h2,.swagger-ui .nested-headline-line-height h3,.swagger-ui .nested-headline-line-height h4,.swagger-ui .nested-headline-line-height h5,.swagger-ui .nested-headline-line-height h6{line-height:1.25}.swagger-ui .nested-list-reset ol,.swagger-ui .nested-list-reset ul{list-style-type:none;margin-left:0;padding-left:0}.swagger-ui .nested-copy-indent p+p{margin-bottom:0;margin-top:0;text-indent:.1em}.swagger-ui .nested-copy-seperator p+p{margin-top:1.5em}.swagger-ui .nested-img img{display:block;max-width:100%;width:100%}.swagger-ui .nested-links a{color:#357edd;transition:color .15s ease-in}.swagger-ui .nested-links a:focus,.swagger-ui .nested-links a:hover{color:#96ccff;transition:color .15s ease-in}.swagger-ui .wrapper{box-sizing:border-box;margin:0 auto;max-width:1460px;padding:0 20px;width:100%}.swagger-ui .opblock-tag-section{display:flex;flex-direction:column}.swagger-ui .try-out.btn-group{display:flex;flex:.1 2 auto;padding:0}.swagger-ui .try-out__btn{margin-left:1.25rem}.swagger-ui .opblock-tag{align-items:center;border-bottom:1px solid rgba(59,65,81,.3);cursor:pointer;display:flex;padding:10px 20px 10px 10px;transition:all .2s}.swagger-ui .opblock-tag:hover{background:rgba(0,0,0,.02)}.swagger-ui .opblock-tag{color:#3b4151;font-family:sans-serif;font-size:24px;margin:0 0 5px}.swagger-ui .opblock-tag.no-desc span{flex:1}.swagger-ui .opblock-tag svg{transition:all .4s}.swagger-ui .opblock-tag small{color:#3b4151;flex:2;font-family:sans-serif;font-size:14px;font-weight:400;padding:0 10px}.swagger-ui .opblock-tag>div{flex:1 1 150px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:640px){.swagger-ui .opblock-tag small,.swagger-ui .opblock-tag>div{flex:1}}.swagger-ui .opblock-tag .info__externaldocs{text-align:right}.swagger-ui .parameter__type{color:#3b4151;font-family:monospace;font-size:12px;font-weight:600;padding:5px 0}.swagger-ui .parameter-controls{margin-top:.75em}.swagger-ui .examples__title{display:block;font-size:1.1em;font-weight:700;margin-bottom:.75em}.swagger-ui .examples__section{margin-top:1.5em}.swagger-ui .examples__section-header{font-size:.9rem;font-weight:700;margin-bottom:.5rem}.swagger-ui .examples-select{display:inline-block;margin-bottom:.75em}.swagger-ui .examples-select .examples-select-element{width:100%}.swagger-ui .examples-select__section-label{font-size:.9rem;font-weight:700;margin-right:.5rem}.swagger-ui .example__section{margin-top:1.5em}.swagger-ui .example__section-header{font-size:.9rem;font-weight:700;margin-bottom:.5rem}.swagger-ui .view-line-link{cursor:pointer;margin:0 5px;position:relative;top:3px;transition:all .5s;width:20px}.swagger-ui .opblock{border:1px solid #000;border-radius:4px;box-shadow:0 0 3px rgba(0,0,0,.19);margin:0 0 15px}.swagger-ui .opblock .tab-header{display:flex;flex:1}.swagger-ui .opblock .tab-header .tab-item{cursor:pointer;padding:0 40px}.swagger-ui .opblock .tab-header .tab-item:first-of-type{padding:0 40px 0 0}.swagger-ui .opblock .tab-header .tab-item.active h4 span{position:relative}.swagger-ui .opblock .tab-header .tab-item.active h4 span:after{background:gray;bottom:-15px;content:"";height:4px;left:50%;position:absolute;transform:translateX(-50%);width:120%}.swagger-ui .opblock.is-open .opblock-summary{border-bottom:1px solid #000}.swagger-ui .opblock .opblock-section-header{align-items:center;background:hsla(0,0%,100%,.8);box-shadow:0 1px 2px rgba(0,0,0,.1);display:flex;min-height:50px;padding:8px 20px}.swagger-ui .opblock .opblock-section-header>label{align-items:center;color:#3b4151;display:flex;font-family:sans-serif;font-size:12px;font-weight:700;margin:0 0 0 auto}.swagger-ui .opblock .opblock-section-header>label>span{padding:0 10px 0 0}.swagger-ui .opblock .opblock-section-header h4{color:#3b4151;flex:1;font-family:sans-serif;font-size:14px;margin:0}.swagger-ui .opblock .opblock-summary-method{background:#000;border-radius:3px;color:#fff;font-family:sans-serif;font-size:14px;font-weight:700;min-width:80px;padding:6px 0;text-align:center;text-shadow:0 1px 0 rgba(0,0,0,.1)}.swagger-ui .opblock .opblock-summary-operation-id,.swagger-ui .opblock .opblock-summary-path,.swagger-ui .opblock .opblock-summary-path__deprecated{align-items:center;color:#3b4151;display:flex;font-family:monospace;font-size:16px;font-weight:600;padding:0 10px;word-break:break-word}@media(max-width:768px){.swagger-ui .opblock .opblock-summary-operation-id,.swagger-ui .opblock .opblock-summary-path,.swagger-ui .opblock .opblock-summary-path__deprecated{font-size:12px}}.swagger-ui .opblock .opblock-summary-path{flex-shrink:0;max-width:calc(100% - 110px - 15rem)}@media(max-width:640px){.swagger-ui .opblock .opblock-summary-path{flex-shrink:1;max-width:100%}}.swagger-ui .opblock .opblock-summary-path__deprecated{text-decoration:line-through}.swagger-ui .opblock .opblock-summary-operation-id{font-size:14px}.swagger-ui .opblock .opblock-summary-description{color:#3b4151;flex:1 1 auto;font-family:sans-serif;font-size:13px;word-break:break-word}.swagger-ui .opblock .opblock-summary{align-items:center;cursor:pointer;display:flex;padding:5px}.swagger-ui .opblock .opblock-summary .view-line-link{cursor:pointer;margin:0;position:relative;top:2px;transition:all .5s;width:0}.swagger-ui .opblock .opblock-summary:hover .view-line-link{margin:0 5px;width:18px}.swagger-ui .opblock .opblock-summary:hover .view-line-link.copy-to-clipboard{width:24px}.swagger-ui .opblock.opblock-post{background:rgba(73,204,144,.1);border-color:#49cc90}.swagger-ui .opblock.opblock-post .opblock-summary-method{background:#49cc90}.swagger-ui .opblock.opblock-post .opblock-summary{border-color:#49cc90}.swagger-ui .opblock.opblock-post .tab-header .tab-item.active h4 span:after{background:#49cc90}.swagger-ui .opblock.opblock-put{background:rgba(252,161,48,.1);border-color:#fca130}.swagger-ui .opblock.opblock-put .opblock-summary-method{background:#fca130}.swagger-ui .opblock.opblock-put .opblock-summary{border-color:#fca130}.swagger-ui .opblock.opblock-put .tab-header .tab-item.active h4 span:after{background:#fca130}.swagger-ui .opblock.opblock-delete{background:rgba(249,62,62,.1);border-color:#f93e3e}.swagger-ui .opblock.opblock-delete .opblock-summary-method{background:#f93e3e}.swagger-ui .opblock.opblock-delete .opblock-summary{border-color:#f93e3e}.swagger-ui .opblock.opblock-delete .tab-header .tab-item.active h4 span:after{background:#f93e3e}.swagger-ui .opblock.opblock-get{background:rgba(97,175,254,.1);border-color:#61affe}.swagger-ui .opblock.opblock-get .opblock-summary-method{background:#61affe}.swagger-ui .opblock.opblock-get .opblock-summary{border-color:#61affe}.swagger-ui .opblock.opblock-get .tab-header .tab-item.active h4 span:after{background:#61affe}.swagger-ui .opblock.opblock-patch{background:rgba(80,227,194,.1);border-color:#50e3c2}.swagger-ui .opblock.opblock-patch .opblock-summary-method{background:#50e3c2}.swagger-ui .opblock.opblock-patch .opblock-summary{border-color:#50e3c2}.swagger-ui .opblock.opblock-patch .tab-header .tab-item.active h4 span:after{background:#50e3c2}.swagger-ui .opblock.opblock-head{background:rgba(144,18,254,.1);border-color:#9012fe}.swagger-ui .opblock.opblock-head .opblock-summary-method{background:#9012fe}.swagger-ui .opblock.opblock-head .opblock-summary{border-color:#9012fe}.swagger-ui .opblock.opblock-head .tab-header .tab-item.active h4 span:after{background:#9012fe}.swagger-ui .opblock.opblock-options{background:rgba(13,90,167,.1);border-color:#0d5aa7}.swagger-ui .opblock.opblock-options .opblock-summary-method{background:#0d5aa7}.swagger-ui .opblock.opblock-options .opblock-summary{border-color:#0d5aa7}.swagger-ui .opblock.opblock-options .tab-header .tab-item.active h4 span:after{background:#0d5aa7}.swagger-ui .opblock.opblock-deprecated{background:hsla(0,0%,92%,.1);border-color:#ebebeb;opacity:.6}.swagger-ui .opblock.opblock-deprecated .opblock-summary-method{background:#ebebeb}.swagger-ui .opblock.opblock-deprecated .opblock-summary{border-color:#ebebeb}.swagger-ui .opblock.opblock-deprecated .tab-header .tab-item.active h4 span:after{background:#ebebeb}.swagger-ui .opblock .opblock-schemes{padding:8px 20px}.swagger-ui .opblock .opblock-schemes .schemes-title{padding:0 10px 0 0}.swagger-ui .filter .operation-filter-input{border:2px solid #d8dde7;margin:20px 0;padding:10px;width:100%}.swagger-ui .download-url-wrapper .failed,.swagger-ui .filter .failed{color:red}.swagger-ui .download-url-wrapper .loading,.swagger-ui .filter .loading{color:#aaa}.swagger-ui .model-example{margin-top:1em}.swagger-ui .tab{display:flex;list-style:none;padding:0}.swagger-ui .tab li{color:#3b4151;cursor:pointer;font-family:sans-serif;font-size:12px;min-width:60px;padding:0}.swagger-ui .tab li:first-of-type{padding-left:0;padding-right:12px;position:relative}.swagger-ui .tab li:first-of-type:after{background:rgba(0,0,0,.2);content:"";height:100%;position:absolute;right:6px;top:0;width:1px}.swagger-ui .tab li.active{font-weight:700}.swagger-ui .tab li button.tablinks{background:0 0;border:0;color:inherit;font-family:inherit;font-weight:inherit;padding:0}.swagger-ui .opblock-description-wrapper,.swagger-ui .opblock-external-docs-wrapper,.swagger-ui .opblock-title_normal{color:#3b4151;font-family:sans-serif;font-size:12px;margin:0 0 5px;padding:15px 20px}.swagger-ui .opblock-description-wrapper h4,.swagger-ui .opblock-external-docs-wrapper h4,.swagger-ui .opblock-title_normal h4{color:#3b4151;font-family:sans-serif;font-size:12px;margin:0 0 5px}.swagger-ui .opblock-description-wrapper p,.swagger-ui .opblock-external-docs-wrapper p,.swagger-ui .opblock-title_normal p{color:#3b4151;font-family:sans-serif;font-size:14px;margin:0}.swagger-ui .opblock-external-docs-wrapper h4{padding-left:0}.swagger-ui .execute-wrapper{padding:20px;text-align:right}.swagger-ui .execute-wrapper .btn{padding:8px 40px;width:100%}.swagger-ui .body-param-options{display:flex;flex-direction:column}.swagger-ui .body-param-options .body-param-edit{padding:10px 0}.swagger-ui .body-param-options label{padding:8px 0}.swagger-ui .body-param-options label select{margin:3px 0 0}.swagger-ui .responses-inner{padding:20px}.swagger-ui .responses-inner h4,.swagger-ui .responses-inner h5{color:#3b4151;font-family:sans-serif;font-size:12px;margin:10px 0 5px}.swagger-ui .responses-inner .curl{white-space:normal}.swagger-ui .response-col_status{color:#3b4151;font-family:sans-serif;font-size:14px}.swagger-ui .response-col_status .response-undocumented{color:#909090;font-family:monospace;font-size:11px;font-weight:600}.swagger-ui .response-col_links{color:#3b4151;font-family:sans-serif;font-size:14px;max-width:40em;padding-left:2em}.swagger-ui .response-col_links .response-undocumented{color:#909090;font-family:monospace;font-size:11px;font-weight:600}.swagger-ui .response-col_links .operation-link{margin-bottom:1.5em}.swagger-ui .response-col_links .operation-link .description{margin-bottom:.5em}.swagger-ui .opblock-body .opblock-loading-animation{display:block;margin:3em auto}.swagger-ui .opblock-body pre.microlight{word-wrap:break-word;background:#333;border-radius:4px;color:#fff;font-family:monospace;font-size:12px;font-weight:600;-webkit-hyphens:auto;hyphens:auto;margin:0;padding:10px;white-space:pre-wrap;word-break:break-all;word-break:break-word}.swagger-ui .opblock-body pre.microlight .headerline{display:block}.swagger-ui .highlight-code{position:relative}.swagger-ui .highlight-code>.microlight{max-height:400px;min-height:6em;overflow-y:auto}.swagger-ui .highlight-code>.microlight code{white-space:pre-wrap!important;word-break:break-all}.swagger-ui .curl-command{position:relative}.swagger-ui .download-contents{align-items:center;background:#7d8293;border-radius:4px;bottom:10px;color:#fff;cursor:pointer;display:flex;font-family:sans-serif;font-size:14px;font-weight:600;height:30px;justify-content:center;padding:5px;position:absolute;right:10px;text-align:center}.swagger-ui .scheme-container{background:#fff;box-shadow:0 1px 2px 0 rgba(0,0,0,.15);margin:0 0 20px;padding:30px 0}.swagger-ui .scheme-container .schemes{align-items:flex-end;display:flex}.swagger-ui .scheme-container .schemes>label{color:#3b4151;display:flex;flex-direction:column;font-family:sans-serif;font-size:12px;font-weight:700;margin:-20px 15px 0 0}.swagger-ui .scheme-container .schemes>label select{min-width:130px;text-transform:uppercase}.swagger-ui .loading-container{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-top:1em;min-height:1px;padding:40px 0 60px}.swagger-ui .loading-container .loading{position:relative}.swagger-ui .loading-container .loading:after{color:#3b4151;content:"loading";font-family:sans-serif;font-size:10px;font-weight:700;left:50%;position:absolute;text-transform:uppercase;top:50%;transform:translate(-50%,-50%)}.swagger-ui .loading-container .loading:before{-webkit-animation:rotation 1s linear infinite,opacity .5s;animation:rotation 1s linear infinite,opacity .5s;-webkit-backface-visibility:hidden;backface-visibility:hidden;border:2px solid rgba(85,85,85,.1);border-radius:100%;border-top-color:rgba(0,0,0,.6);content:"";display:block;height:60px;left:50%;margin:-30px;opacity:1;position:absolute;top:50%;width:60px}@-webkit-keyframes rotation{to{transform:rotate(1turn)}}@keyframes rotation{to{transform:rotate(1turn)}}.swagger-ui .response-controls{display:flex;padding-top:1em}.swagger-ui .response-control-media-type{margin-right:1em}.swagger-ui .response-control-media-type--accept-controller select{border-color:green}.swagger-ui .response-control-media-type__accept-message{color:green;font-size:.7em}.swagger-ui .response-control-examples__title,.swagger-ui .response-control-media-type__title{display:block;font-size:.7em;margin-bottom:.2em}@-webkit-keyframes blinker{50%{opacity:0}}@keyframes blinker{50%{opacity:0}}.swagger-ui .hidden{display:none}.swagger-ui .no-margin{border:none;height:auto;margin:0;padding:0}.swagger-ui .float-right{float:right}.swagger-ui .svg-assets{height:0;position:absolute;width:0}.swagger-ui section h3{color:#3b4151;font-family:sans-serif}.swagger-ui a.nostyle{display:inline}.swagger-ui a.nostyle,.swagger-ui a.nostyle:visited{color:inherit;cursor:pointer;text-decoration:inherit}.swagger-ui .fallback{color:#aaa;padding:1em}.swagger-ui .version-pragma{height:100%;padding:5em 0}.swagger-ui .version-pragma__message{display:flex;font-size:1.2em;height:100%;justify-content:center;line-height:1.5em;padding:0 .6em;text-align:center}.swagger-ui .version-pragma__message>div{flex:1;max-width:55ch}.swagger-ui .version-pragma__message code{background-color:#dedede;padding:4px 4px 2px;white-space:pre}.swagger-ui .opblock-link{font-weight:400}.swagger-ui .opblock-link.shown{font-weight:700}.swagger-ui span.token-string{color:#555}.swagger-ui span.token-not-formatted{color:#555;font-weight:700}.swagger-ui .btn{background:0 0;border:2px solid gray;border-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.1);color:#3b4151;font-family:sans-serif;font-size:14px;font-weight:700;padding:5px 23px;transition:all .3s}.swagger-ui .btn.btn-sm{font-size:12px;padding:4px 23px}.swagger-ui .btn[disabled]{cursor:not-allowed;opacity:.3}.swagger-ui .btn:hover{box-shadow:0 0 5px rgba(0,0,0,.3)}.swagger-ui .btn.cancel{background-color:transparent;border-color:#ff6060;color:#ff6060;font-family:sans-serif}.swagger-ui .btn.authorize{background-color:transparent;border-color:#49cc90;color:#49cc90;display:inline;line-height:1}.swagger-ui .btn.authorize span{float:left;padding:4px 20px 0 0}.swagger-ui .btn.authorize svg{fill:#49cc90}.swagger-ui .btn.execute{background-color:#4990e2;border-color:#4990e2;color:#fff}.swagger-ui .btn-group{display:flex;padding:30px}.swagger-ui .btn-group .btn{flex:1}.swagger-ui .btn-group .btn:first-child{border-radius:4px 0 0 4px}.swagger-ui .btn-group .btn:last-child{border-radius:0 4px 4px 0}.swagger-ui .authorization__btn{background:0 0;border:none;padding:0 0 0 10px}.swagger-ui .authorization__btn.locked{opacity:1}.swagger-ui .authorization__btn.unlocked{opacity:.4}.swagger-ui .model-box-control,.swagger-ui .models-control,.swagger-ui .opblock-summary-control{all:inherit;border-bottom:0;cursor:pointer;flex:1;padding:0}.swagger-ui .model-box-control:focus,.swagger-ui .models-control:focus,.swagger-ui .opblock-summary-control:focus{outline:auto}.swagger-ui .expand-methods,.swagger-ui .expand-operation{background:0 0;border:none}.swagger-ui .expand-methods svg,.swagger-ui .expand-operation svg{height:20px;width:20px}.swagger-ui .expand-methods{padding:0 10px}.swagger-ui .expand-methods:hover svg{fill:#404040}.swagger-ui .expand-methods svg{fill:#707070;transition:all .3s}.swagger-ui button{cursor:pointer}.swagger-ui button.invalid{-webkit-animation:shake .4s 1;animation:shake .4s 1;background:#feebeb;border-color:#f93e3e}.swagger-ui .copy-to-clipboard{align-items:center;background:#7d8293;border:none;border-radius:4px;bottom:10px;display:flex;height:30px;justify-content:center;position:absolute;right:100px;width:30px}.swagger-ui .copy-to-clipboard button{background:url("data:image/svg+xml;charset=utf-8,") 50% no-repeat;border:none;flex-grow:1;flex-shrink:1;height:25px}.swagger-ui .curl-command .copy-to-clipboard{bottom:5px;height:20px;right:10px;width:20px}.swagger-ui .curl-command .copy-to-clipboard button{height:18px}.swagger-ui .opblock .opblock-summary .view-line-link.copy-to-clipboard{height:26px;position:unset}.swagger-ui select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#f7f7f7 url("data:image/svg+xml;charset=utf-8,") right 10px center no-repeat;background-size:20px;border:2px solid #41444e;border-radius:4px;box-shadow:0 1px 2px 0 rgba(0,0,0,.25);color:#3b4151;font-family:sans-serif;font-size:14px;font-weight:700;padding:5px 40px 5px 10px}.swagger-ui select[multiple]{background:#f7f7f7;margin:5px 0;padding:5px}.swagger-ui select.invalid{-webkit-animation:shake .4s 1;animation:shake .4s 1;background:#feebeb;border-color:#f93e3e}.swagger-ui .opblock-body select{min-width:230px}@media(max-width:768px){.swagger-ui .opblock-body select{min-width:180px}}@media(max-width:640px){.swagger-ui .opblock-body select{min-width:100%;width:100%}}.swagger-ui label{color:#3b4151;font-family:sans-serif;font-size:12px;font-weight:700;margin:0 0 5px}.swagger-ui input[type=email],.swagger-ui input[type=file],.swagger-ui input[type=password],.swagger-ui input[type=search],.swagger-ui input[type=text]{line-height:1}@media(max-width:768px){.swagger-ui input[type=email],.swagger-ui input[type=file],.swagger-ui input[type=password],.swagger-ui input[type=search],.swagger-ui input[type=text]{max-width:175px}}.swagger-ui input[type=email],.swagger-ui input[type=file],.swagger-ui input[type=password],.swagger-ui input[type=search],.swagger-ui input[type=text],.swagger-ui textarea{background:#fff;border:1px solid #d9d9d9;border-radius:4px;margin:5px 0;min-width:100px;padding:8px 10px}.swagger-ui input[type=email].invalid,.swagger-ui input[type=file].invalid,.swagger-ui input[type=password].invalid,.swagger-ui input[type=search].invalid,.swagger-ui input[type=text].invalid,.swagger-ui textarea.invalid{-webkit-animation:shake .4s 1;animation:shake .4s 1;background:#feebeb;border-color:#f93e3e}.swagger-ui input[disabled],.swagger-ui select[disabled],.swagger-ui textarea[disabled]{background-color:#fafafa;color:#888;cursor:not-allowed}.swagger-ui select[disabled]{border-color:#888}.swagger-ui textarea[disabled]{background-color:#41444e;color:#fff}@-webkit-keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}@keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}.swagger-ui textarea{background:hsla(0,0%,100%,.8);border:none;border-radius:4px;color:#3b4151;font-family:monospace;font-size:12px;font-weight:600;min-height:280px;outline:0;padding:10px;width:100%}.swagger-ui textarea:focus{border:2px solid #61affe}.swagger-ui textarea.curl{background:#41444e;border-radius:4px;color:#fff;font-family:monospace;font-size:12px;font-weight:600;margin:0;min-height:100px;padding:10px;resize:none}.swagger-ui .checkbox{color:#303030;padding:5px 0 10px;transition:opacity .5s}.swagger-ui .checkbox label{display:flex}.swagger-ui .checkbox p{color:#3b4151;font-family:monospace;font-style:italic;font-weight:400!important;font-weight:600;margin:0!important}.swagger-ui .checkbox input[type=checkbox]{display:none}.swagger-ui .checkbox input[type=checkbox]+label>.item{background:#e8e8e8;border-radius:1px;box-shadow:0 0 0 2px #e8e8e8;cursor:pointer;display:inline-block;flex:none;height:16px;margin:0 8px 0 0;padding:5px;position:relative;top:3px;width:16px}.swagger-ui .checkbox input[type=checkbox]+label>.item:active{transform:scale(.9)}.swagger-ui .checkbox input[type=checkbox]:checked+label>.item{background:#e8e8e8 url("data:image/svg+xml;charset=utf-8,") 50% no-repeat}.swagger-ui .dialog-ux{bottom:0;left:0;position:fixed;right:0;top:0;z-index:9999}.swagger-ui .dialog-ux .backdrop-ux{background:rgba(0,0,0,.8);bottom:0;left:0;position:fixed;right:0;top:0}.swagger-ui .dialog-ux .modal-ux{background:#fff;border:1px solid #ebebeb;border-radius:4px;box-shadow:0 10px 30px 0 rgba(0,0,0,.2);left:50%;max-width:650px;min-width:300px;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:9999}.swagger-ui .dialog-ux .modal-ux-content{max-height:540px;overflow-y:auto;padding:20px}.swagger-ui .dialog-ux .modal-ux-content p{color:#41444e;color:#3b4151;font-family:sans-serif;font-size:12px;margin:0 0 5px}.swagger-ui .dialog-ux .modal-ux-content h4{color:#3b4151;font-family:sans-serif;font-size:18px;font-weight:600;margin:15px 0 0}.swagger-ui .dialog-ux .modal-ux-header{align-items:center;border-bottom:1px solid #ebebeb;display:flex;padding:12px 0}.swagger-ui .dialog-ux .modal-ux-header .close-modal{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:none;padding:0 10px}.swagger-ui .dialog-ux .modal-ux-header h3{color:#3b4151;flex:1;font-family:sans-serif;font-size:20px;font-weight:600;margin:0;padding:0 20px}.swagger-ui .model{color:#3b4151;font-family:monospace;font-size:12px;font-weight:300;font-weight:600}.swagger-ui .model .deprecated span,.swagger-ui .model .deprecated td{color:#a0a0a0!important}.swagger-ui .model .deprecated>td:first-of-type{text-decoration:line-through}.swagger-ui .model-toggle{cursor:pointer;display:inline-block;font-size:10px;margin:auto .3em;position:relative;top:6px;transform:rotate(90deg);transform-origin:50% 50%;transition:transform .15s ease-in}.swagger-ui .model-toggle.collapsed{transform:rotate(0)}.swagger-ui .model-toggle:after{background:url("data:image/svg+xml;charset=utf-8,") 50% no-repeat;background-size:100%;content:"";display:block;height:20px;width:20px}.swagger-ui .model-jump-to-path{cursor:pointer;position:relative}.swagger-ui .model-jump-to-path .view-line-link{cursor:pointer;position:absolute;top:-.4em}.swagger-ui .model-title{position:relative}.swagger-ui .model-title:hover .model-hint{visibility:visible}.swagger-ui .model-hint{background:rgba(0,0,0,.7);border-radius:4px;color:#ebebeb;padding:.1em .5em;position:absolute;top:-1.8em;visibility:hidden;white-space:nowrap}.swagger-ui .model p{margin:0 0 1em}.swagger-ui .model .property{color:#999;font-style:italic}.swagger-ui .model .property.primitive{color:#6b6b6b}.swagger-ui .model .external-docs,.swagger-ui table.model tr.description{color:#666;font-weight:400}.swagger-ui table.model tr.description td:first-child,.swagger-ui table.model tr.property-row.required td:first-child{font-weight:700}.swagger-ui table.model tr.property-row td{vertical-align:top}.swagger-ui table.model tr.property-row td:first-child{padding-right:.2em}.swagger-ui table.model tr.property-row .star{color:red}.swagger-ui table.model tr.extension{color:#777}.swagger-ui table.model tr.extension td:last-child{vertical-align:top}.swagger-ui table.model tr.external-docs td:first-child{font-weight:700}.swagger-ui table.model tr .renderedMarkdown p:first-child{margin-top:0}.swagger-ui section.models{border:1px solid rgba(59,65,81,.3);border-radius:4px;margin:30px 0}.swagger-ui section.models .pointer{cursor:pointer}.swagger-ui section.models.is-open{padding:0 0 20px}.swagger-ui section.models.is-open h4{border-bottom:1px solid rgba(59,65,81,.3);margin:0 0 5px}.swagger-ui section.models h4{align-items:center;color:#606060;cursor:pointer;display:flex;font-family:sans-serif;font-size:16px;margin:0;padding:10px 20px 10px 10px;transition:all .2s}.swagger-ui section.models h4 svg{transition:all .4s}.swagger-ui section.models h4 span{flex:1}.swagger-ui section.models h4:hover{background:rgba(0,0,0,.02)}.swagger-ui section.models h5{color:#707070;font-family:sans-serif;font-size:16px;margin:0 0 10px}.swagger-ui section.models .model-jump-to-path{position:relative;top:5px}.swagger-ui section.models .model-container{background:rgba(0,0,0,.05);border-radius:4px;margin:0 20px 15px;position:relative;transition:all .5s}.swagger-ui section.models .model-container:hover{background:rgba(0,0,0,.07)}.swagger-ui section.models .model-container:first-of-type{margin:20px}.swagger-ui section.models .model-container:last-of-type{margin:0 20px}.swagger-ui section.models .model-container .models-jump-to-path{opacity:.65;position:absolute;right:5px;top:8px}.swagger-ui section.models .model-box{background:0 0}.swagger-ui .model-box{background:rgba(0,0,0,.1);border-radius:4px;display:inline-block;padding:10px}.swagger-ui .model-box .model-jump-to-path{position:relative;top:4px}.swagger-ui .model-box.deprecated{opacity:.5}.swagger-ui .model-title{color:#505050;font-family:sans-serif;font-size:16px}.swagger-ui .model-title img{bottom:0;margin-left:1em;position:relative}.swagger-ui .model-deprecated-warning{color:#f93e3e;font-family:sans-serif;font-size:16px;font-weight:600;margin-right:1em}.swagger-ui span>span.model .brace-close{padding:0 0 0 10px}.swagger-ui .prop-name{display:inline-block;margin-right:1em}.swagger-ui .prop-type{color:#55a}.swagger-ui .prop-enum{display:block}.swagger-ui .prop-format{color:#606060}.swagger-ui .servers>label{color:#3b4151;font-family:sans-serif;font-size:12px;margin:-20px 15px 0 0}.swagger-ui .servers>label select{max-width:100%;min-width:130px;width:100%}.swagger-ui .servers h4.message{padding-bottom:2em}.swagger-ui .servers table tr{width:30em}.swagger-ui .servers table td{display:inline-block;max-width:15em;padding-bottom:10px;padding-top:10px;vertical-align:middle}.swagger-ui .servers table td:first-of-type{padding-right:1em}.swagger-ui .servers table td input{height:100%;width:100%}.swagger-ui .servers .computed-url{margin:2em 0}.swagger-ui .servers .computed-url code{display:inline-block;font-size:16px;margin:0 1em;padding:4px}.swagger-ui .servers-title{font-size:12px;font-weight:700}.swagger-ui .operation-servers h4.message{margin-bottom:2em}.swagger-ui table{border-collapse:collapse;padding:0 10px;width:100%}.swagger-ui table.model tbody tr td{padding:0;vertical-align:top}.swagger-ui table.model tbody tr td:first-of-type{padding:0 0 0 2em;width:174px}.swagger-ui table.headers td{color:#3b4151;font-family:monospace;font-size:12px;font-weight:300;font-weight:600;vertical-align:middle}.swagger-ui table.headers .header-example{color:#999;font-style:italic}.swagger-ui table tbody tr td{padding:10px 0 0;vertical-align:top}.swagger-ui table tbody tr td:first-of-type{min-width:6em;padding:10px 0}.swagger-ui table thead tr td,.swagger-ui table thead tr th{border-bottom:1px solid rgba(59,65,81,.2);color:#3b4151;font-family:sans-serif;font-size:12px;font-weight:700;padding:12px 0;text-align:left}.swagger-ui .parameters-col_description{margin-bottom:2em;width:99%}.swagger-ui .parameters-col_description input{max-width:340px;width:100%}.swagger-ui .parameters-col_description select{border-width:1px}.swagger-ui .parameters-col_description .markdown p{margin:0}.swagger-ui .parameter__name{color:#3b4151;font-family:sans-serif;font-size:16px;font-weight:400;margin-right:.75em}.swagger-ui .parameter__name.required{font-weight:700}.swagger-ui .parameter__name.required span{color:red}.swagger-ui .parameter__name.required:after{color:rgba(255,0,0,.6);content:"required";font-size:10px;padding:5px;position:relative;top:-6px}.swagger-ui .parameter__extension,.swagger-ui .parameter__in{color:gray;font-family:monospace;font-size:12px;font-style:italic;font-weight:600}.swagger-ui .parameter__deprecated{color:red;font-family:monospace;font-size:12px;font-style:italic;font-weight:600}.swagger-ui .parameter__empty_value_toggle{display:block;font-size:13px;padding-bottom:12px;padding-top:5px}.swagger-ui .parameter__empty_value_toggle input{margin-right:7px}.swagger-ui .parameter__empty_value_toggle.disabled{opacity:.7}.swagger-ui .table-container{padding:20px}.swagger-ui .response-col_description{width:99%}.swagger-ui .response-col_description .markdown p{margin:0}.swagger-ui .response-col_links{min-width:6em}.swagger-ui .response__extension{color:gray;font-family:monospace;font-size:12px;font-style:italic;font-weight:600}.swagger-ui .topbar{background-color:#1b1b1b;padding:10px 0}.swagger-ui .topbar .topbar-wrapper,.swagger-ui .topbar a{align-items:center;display:flex}.swagger-ui .topbar a{color:#fff;flex:1;font-family:sans-serif;font-size:1.5em;font-weight:700;max-width:300px;text-decoration:none}.swagger-ui .topbar a span{margin:0;padding:0 10px}.swagger-ui .topbar .download-url-wrapper{display:flex;flex:3;justify-content:flex-end}.swagger-ui .topbar .download-url-wrapper input[type=text]{border:2px solid #62a03f;border-radius:4px 0 0 4px;margin:0;outline:0;width:100%}.swagger-ui .topbar .download-url-wrapper .select-label{align-items:center;color:#f0f0f0;display:flex;margin:0;max-width:600px;width:100%}.swagger-ui .topbar .download-url-wrapper .select-label span{flex:1;font-size:16px;padding:0 10px 0 0;text-align:right}.swagger-ui .topbar .download-url-wrapper .select-label select{border:2px solid #62a03f;box-shadow:none;flex:2;outline:0;width:100%}.swagger-ui .topbar .download-url-wrapper .download-url-button{background:#62a03f;border:none;border-radius:0 4px 4px 0;color:#fff;font-family:sans-serif;font-size:16px;font-weight:700;padding:4px 30px}.swagger-ui .info{margin:50px 0}.swagger-ui .info.failed-config{margin-left:auto;margin-right:auto;max-width:880px;text-align:center}.swagger-ui .info hgroup.main{margin:0 0 20px}.swagger-ui .info hgroup.main a{font-size:12px}.swagger-ui .info pre{font-size:14px}.swagger-ui .info li,.swagger-ui .info p,.swagger-ui .info table{color:#3b4151;font-family:sans-serif;font-size:14px}.swagger-ui .info h1,.swagger-ui .info h2,.swagger-ui .info h3,.swagger-ui .info h4,.swagger-ui .info h5{color:#3b4151;font-family:sans-serif}.swagger-ui .info a{color:#4990e2;font-family:sans-serif;font-size:14px;transition:all .4s}.swagger-ui .info a:hover{color:#1f69c0}.swagger-ui .info>div{margin:0 0 5px}.swagger-ui .info .base-url{color:#3b4151;font-family:monospace;font-size:12px;font-weight:300!important;font-weight:600;margin:0}.swagger-ui .info .title{color:#3b4151;font-family:sans-serif;font-size:36px;margin:0}.swagger-ui .info .title small{background:#7d8492;border-radius:57px;display:inline-block;font-size:10px;margin:0 0 0 5px;padding:2px 4px;position:relative;top:-5px;vertical-align:super}.swagger-ui .info .title small.version-stamp{background-color:#89bf04}.swagger-ui .info .title small pre{color:#fff;font-family:sans-serif;margin:0;padding:0}.swagger-ui .auth-btn-wrapper{display:flex;justify-content:center;padding:10px 0}.swagger-ui .auth-btn-wrapper .btn-done{margin-right:1em}.swagger-ui .auth-wrapper{display:flex;flex:1;justify-content:flex-end}.swagger-ui .auth-wrapper .authorize{margin-left:10px;margin-right:10px;padding-right:20px}.swagger-ui .auth-container{border-bottom:1px solid #ebebeb;margin:0 0 10px;padding:10px 20px}.swagger-ui .auth-container:last-of-type{border:0;margin:0;padding:10px 20px}.swagger-ui .auth-container h4{margin:5px 0 15px!important}.swagger-ui .auth-container .wrapper{margin:0;padding:0}.swagger-ui .auth-container input[type=password],.swagger-ui .auth-container input[type=text]{min-width:230px}.swagger-ui .auth-container .errors{background-color:#fee;border-radius:4px;color:red;color:#3b4151;font-family:monospace;font-size:12px;font-weight:600;margin:1em;padding:10px}.swagger-ui .auth-container .errors b{margin-right:1em;text-transform:capitalize}.swagger-ui .scopes h2{color:#3b4151;font-family:sans-serif;font-size:14px}.swagger-ui .scopes h2 a{color:#4990e2;cursor:pointer;font-size:12px;padding-left:10px;text-decoration:underline}.swagger-ui .scope-def{padding:0 0 20px}.swagger-ui .errors-wrapper{-webkit-animation:scaleUp .5s;animation:scaleUp .5s;background:rgba(249,62,62,.1);border:2px solid #f93e3e;border-radius:4px;margin:20px;padding:10px 20px}.swagger-ui .errors-wrapper .error-wrapper{margin:0 0 10px}.swagger-ui .errors-wrapper .errors h4{color:#3b4151;font-family:monospace;font-size:14px;font-weight:600;margin:0}.swagger-ui .errors-wrapper .errors small{color:#606060}.swagger-ui .errors-wrapper .errors .message{white-space:pre-line}.swagger-ui .errors-wrapper .errors .message.thrown{max-width:100%}.swagger-ui .errors-wrapper .errors .error-line{cursor:pointer;text-decoration:underline}.swagger-ui .errors-wrapper hgroup{align-items:center;display:flex}.swagger-ui .errors-wrapper hgroup h4{color:#3b4151;flex:1;font-family:sans-serif;font-size:20px;margin:0}@-webkit-keyframes scaleUp{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes scaleUp{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.swagger-ui .Resizer.vertical.disabled{display:none}.swagger-ui .markdown p,.swagger-ui .markdown pre,.swagger-ui .renderedMarkdown p,.swagger-ui .renderedMarkdown pre{margin:1em auto;word-break:break-all;word-break:break-word}.swagger-ui .markdown pre,.swagger-ui .renderedMarkdown pre{background:0 0;color:#000;font-weight:400;padding:0;white-space:pre-wrap}.swagger-ui .markdown code,.swagger-ui .renderedMarkdown code{background:rgba(0,0,0,.05);border-radius:4px;color:#9012fe;font-family:monospace;font-size:14px;font-weight:600;padding:5px 7px}.swagger-ui .markdown pre>code,.swagger-ui .renderedMarkdown pre>code{display:block} \ No newline at end of file +.swagger-ui{color:#3b4151;font-family:sans-serif/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */}.swagger-ui html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;line-height:1.15}.swagger-ui body{margin:0}.swagger-ui article,.swagger-ui aside,.swagger-ui footer,.swagger-ui header,.swagger-ui nav,.swagger-ui section{display:block}.swagger-ui h1{font-size:2em;margin:.67em 0}.swagger-ui figcaption,.swagger-ui figure,.swagger-ui main{display:block}.swagger-ui figure{margin:1em 40px}.swagger-ui hr{box-sizing:content-box;height:0;overflow:visible}.swagger-ui pre{font-family:monospace,monospace;font-size:1em}.swagger-ui a{-webkit-text-decoration-skip:objects;background-color:transparent}.swagger-ui abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.swagger-ui b,.swagger-ui strong{font-weight:inherit;font-weight:bolder}.swagger-ui code,.swagger-ui kbd,.swagger-ui samp{font-family:monospace,monospace;font-size:1em}.swagger-ui dfn{font-style:italic}.swagger-ui mark{background-color:#ff0;color:#000}.swagger-ui small{font-size:80%}.swagger-ui sub,.swagger-ui sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.swagger-ui sub{bottom:-.25em}.swagger-ui sup{top:-.5em}.swagger-ui audio,.swagger-ui video{display:inline-block}.swagger-ui audio:not([controls]){display:none;height:0}.swagger-ui img{border-style:none}.swagger-ui svg:not(:root){overflow:hidden}.swagger-ui button,.swagger-ui input,.swagger-ui optgroup,.swagger-ui select,.swagger-ui textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}.swagger-ui button,.swagger-ui input{overflow:visible}.swagger-ui button,.swagger-ui select{text-transform:none}.swagger-ui [type=reset],.swagger-ui [type=submit],.swagger-ui button,.swagger-ui html [type=button]{-webkit-appearance:button}.swagger-ui [type=button]::-moz-focus-inner,.swagger-ui [type=reset]::-moz-focus-inner,.swagger-ui [type=submit]::-moz-focus-inner,.swagger-ui button::-moz-focus-inner{border-style:none;padding:0}.swagger-ui [type=button]:-moz-focusring,.swagger-ui [type=reset]:-moz-focusring,.swagger-ui [type=submit]:-moz-focusring,.swagger-ui button:-moz-focusring{outline:1px dotted ButtonText}.swagger-ui fieldset{padding:.35em .75em .625em}.swagger-ui legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}.swagger-ui progress{display:inline-block;vertical-align:baseline}.swagger-ui textarea{overflow:auto}.swagger-ui [type=checkbox],.swagger-ui [type=radio]{box-sizing:border-box;padding:0}.swagger-ui [type=number]::-webkit-inner-spin-button,.swagger-ui [type=number]::-webkit-outer-spin-button{height:auto}.swagger-ui [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.swagger-ui [type=search]::-webkit-search-cancel-button,.swagger-ui [type=search]::-webkit-search-decoration{-webkit-appearance:none}.swagger-ui ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.swagger-ui details,.swagger-ui menu{display:block}.swagger-ui summary{display:list-item}.swagger-ui canvas{display:inline-block}.swagger-ui [hidden],.swagger-ui template{display:none}.swagger-ui .debug *{outline:1px solid gold}.swagger-ui .debug-white *{outline:1px solid #fff}.swagger-ui .debug-black *{outline:1px solid #000}.swagger-ui .debug-grid{background:transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MTRDOTY4N0U2N0VFMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTRDOTY4N0Q2N0VFMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjcyQkQ3NjY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NjcyQkQ3NzY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PsBS+GMAAAAjSURBVHjaYvz//z8DLsD4gcGXiYEAGBIKGBne//fFpwAgwAB98AaF2pjlUQAAAABJRU5ErkJggg==) repeat 0 0}.swagger-ui .debug-grid-16{background:transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODYyRjhERDU2N0YyMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ODYyRjhERDQ2N0YyMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjcyQkQ3QTY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NjcyQkQ3QjY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PvCS01IAAABMSURBVHjaYmR4/5+BFPBfAMFm/MBgx8RAGWCn1AAmSg34Q6kBDKMGMDCwICeMIemF/5QawEipAWwUhwEjMDvbAWlWkvVBwu8vQIABAEwBCph8U6c0AAAAAElFTkSuQmCC) repeat 0 0}.swagger-ui .debug-grid-8-solid{background:#fff url(data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAAAAAD/4QMxaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzExMSA3OS4xNTgzMjUsIDIwMTUvMDkvMTAtMDE6MTA6MjAgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE1IChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkIxMjI0OTczNjdCMzExRTZCMkJDRTI0MDgxMDAyMTcxIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkIxMjI0OTc0NjdCMzExRTZCMkJDRTI0MDgxMDAyMTcxIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QjEyMjQ5NzE2N0IzMTFFNkIyQkNFMjQwODEwMDIxNzEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QjEyMjQ5NzI2N0IzMTFFNkIyQkNFMjQwODEwMDIxNzEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sAhAAbGhopHSlBJiZBQi8vL0JHPz4+P0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHAR0pKTQmND8oKD9HPzU/R0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0f/wAARCAAIAAgDASIAAhEBAxEB/8QAWQABAQAAAAAAAAAAAAAAAAAAAAYBAQEAAAAAAAAAAAAAAAAAAAIEEAEBAAMBAAAAAAAAAAAAAAABADECA0ERAAEDBQAAAAAAAAAAAAAAAAARITFBUWESIv/aAAwDAQACEQMRAD8AoOnTV1QTD7JJshP3vSM3P//Z) repeat 0 0}.swagger-ui .debug-grid-16-solid{background:#fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzY3MkJEN0U2N0M1MTFFNkIyQkNFMjQwODEwMDIxNzEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzY3MkJEN0Y2N0M1MTFFNkIyQkNFMjQwODEwMDIxNzEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjcyQkQ3QzY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NjcyQkQ3RDY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pve6J3kAAAAzSURBVHjaYvz//z8D0UDsMwMjSRoYP5Gq4SPNbRjVMEQ1fCRDg+in/6+J1AJUxsgAEGAA31BAJMS0GYEAAAAASUVORK5CYII=) repeat 0 0}.swagger-ui .border-box,.swagger-ui a,.swagger-ui article,.swagger-ui body,.swagger-ui code,.swagger-ui dd,.swagger-ui div,.swagger-ui dl,.swagger-ui dt,.swagger-ui fieldset,.swagger-ui footer,.swagger-ui form,.swagger-ui h1,.swagger-ui h2,.swagger-ui h3,.swagger-ui h4,.swagger-ui h5,.swagger-ui h6,.swagger-ui header,.swagger-ui html,.swagger-ui input[type=email],.swagger-ui input[type=number],.swagger-ui input[type=password],.swagger-ui input[type=tel],.swagger-ui input[type=text],.swagger-ui input[type=url],.swagger-ui legend,.swagger-ui li,.swagger-ui main,.swagger-ui ol,.swagger-ui p,.swagger-ui pre,.swagger-ui section,.swagger-ui table,.swagger-ui td,.swagger-ui textarea,.swagger-ui th,.swagger-ui tr,.swagger-ui ul{box-sizing:border-box}.swagger-ui .aspect-ratio{height:0;position:relative}.swagger-ui .aspect-ratio--16x9{padding-bottom:56.25%}.swagger-ui .aspect-ratio--9x16{padding-bottom:177.77%}.swagger-ui .aspect-ratio--4x3{padding-bottom:75%}.swagger-ui .aspect-ratio--3x4{padding-bottom:133.33%}.swagger-ui .aspect-ratio--6x4{padding-bottom:66.6%}.swagger-ui .aspect-ratio--4x6{padding-bottom:150%}.swagger-ui .aspect-ratio--8x5{padding-bottom:62.5%}.swagger-ui .aspect-ratio--5x8{padding-bottom:160%}.swagger-ui .aspect-ratio--7x5{padding-bottom:71.42%}.swagger-ui .aspect-ratio--5x7{padding-bottom:140%}.swagger-ui .aspect-ratio--1x1{padding-bottom:100%}.swagger-ui .aspect-ratio--object{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%;z-index:100}@media screen and (min-width:30em){.swagger-ui .aspect-ratio-ns{height:0;position:relative}.swagger-ui .aspect-ratio--16x9-ns{padding-bottom:56.25%}.swagger-ui .aspect-ratio--9x16-ns{padding-bottom:177.77%}.swagger-ui .aspect-ratio--4x3-ns{padding-bottom:75%}.swagger-ui .aspect-ratio--3x4-ns{padding-bottom:133.33%}.swagger-ui .aspect-ratio--6x4-ns{padding-bottom:66.6%}.swagger-ui .aspect-ratio--4x6-ns{padding-bottom:150%}.swagger-ui .aspect-ratio--8x5-ns{padding-bottom:62.5%}.swagger-ui .aspect-ratio--5x8-ns{padding-bottom:160%}.swagger-ui .aspect-ratio--7x5-ns{padding-bottom:71.42%}.swagger-ui .aspect-ratio--5x7-ns{padding-bottom:140%}.swagger-ui .aspect-ratio--1x1-ns{padding-bottom:100%}.swagger-ui .aspect-ratio--object-ns{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%;z-index:100}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .aspect-ratio-m{height:0;position:relative}.swagger-ui .aspect-ratio--16x9-m{padding-bottom:56.25%}.swagger-ui .aspect-ratio--9x16-m{padding-bottom:177.77%}.swagger-ui .aspect-ratio--4x3-m{padding-bottom:75%}.swagger-ui .aspect-ratio--3x4-m{padding-bottom:133.33%}.swagger-ui .aspect-ratio--6x4-m{padding-bottom:66.6%}.swagger-ui .aspect-ratio--4x6-m{padding-bottom:150%}.swagger-ui .aspect-ratio--8x5-m{padding-bottom:62.5%}.swagger-ui .aspect-ratio--5x8-m{padding-bottom:160%}.swagger-ui .aspect-ratio--7x5-m{padding-bottom:71.42%}.swagger-ui .aspect-ratio--5x7-m{padding-bottom:140%}.swagger-ui .aspect-ratio--1x1-m{padding-bottom:100%}.swagger-ui .aspect-ratio--object-m{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%;z-index:100}}@media screen and (min-width:60em){.swagger-ui .aspect-ratio-l{height:0;position:relative}.swagger-ui .aspect-ratio--16x9-l{padding-bottom:56.25%}.swagger-ui .aspect-ratio--9x16-l{padding-bottom:177.77%}.swagger-ui .aspect-ratio--4x3-l{padding-bottom:75%}.swagger-ui .aspect-ratio--3x4-l{padding-bottom:133.33%}.swagger-ui .aspect-ratio--6x4-l{padding-bottom:66.6%}.swagger-ui .aspect-ratio--4x6-l{padding-bottom:150%}.swagger-ui .aspect-ratio--8x5-l{padding-bottom:62.5%}.swagger-ui .aspect-ratio--5x8-l{padding-bottom:160%}.swagger-ui .aspect-ratio--7x5-l{padding-bottom:71.42%}.swagger-ui .aspect-ratio--5x7-l{padding-bottom:140%}.swagger-ui .aspect-ratio--1x1-l{padding-bottom:100%}.swagger-ui .aspect-ratio--object-l{bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%;z-index:100}}.swagger-ui img{max-width:100%}.swagger-ui .cover{background-size:cover!important}.swagger-ui .contain{background-size:contain!important}@media screen and (min-width:30em){.swagger-ui .cover-ns{background-size:cover!important}.swagger-ui .contain-ns{background-size:contain!important}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .cover-m{background-size:cover!important}.swagger-ui .contain-m{background-size:contain!important}}@media screen and (min-width:60em){.swagger-ui .cover-l{background-size:cover!important}.swagger-ui .contain-l{background-size:contain!important}}.swagger-ui .bg-center{background-position:50%;background-repeat:no-repeat}.swagger-ui .bg-top{background-position:top;background-repeat:no-repeat}.swagger-ui .bg-right{background-position:100%;background-repeat:no-repeat}.swagger-ui .bg-bottom{background-position:bottom;background-repeat:no-repeat}.swagger-ui .bg-left{background-position:0;background-repeat:no-repeat}@media screen and (min-width:30em){.swagger-ui .bg-center-ns{background-position:50%;background-repeat:no-repeat}.swagger-ui .bg-top-ns{background-position:top;background-repeat:no-repeat}.swagger-ui .bg-right-ns{background-position:100%;background-repeat:no-repeat}.swagger-ui .bg-bottom-ns{background-position:bottom;background-repeat:no-repeat}.swagger-ui .bg-left-ns{background-position:0;background-repeat:no-repeat}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .bg-center-m{background-position:50%;background-repeat:no-repeat}.swagger-ui .bg-top-m{background-position:top;background-repeat:no-repeat}.swagger-ui .bg-right-m{background-position:100%;background-repeat:no-repeat}.swagger-ui .bg-bottom-m{background-position:bottom;background-repeat:no-repeat}.swagger-ui .bg-left-m{background-position:0;background-repeat:no-repeat}}@media screen and (min-width:60em){.swagger-ui .bg-center-l{background-position:50%;background-repeat:no-repeat}.swagger-ui .bg-top-l{background-position:top;background-repeat:no-repeat}.swagger-ui .bg-right-l{background-position:100%;background-repeat:no-repeat}.swagger-ui .bg-bottom-l{background-position:bottom;background-repeat:no-repeat}.swagger-ui .bg-left-l{background-position:0;background-repeat:no-repeat}}.swagger-ui .outline{outline:1px solid}.swagger-ui .outline-transparent{outline:1px solid transparent}.swagger-ui .outline-0{outline:0}@media screen and (min-width:30em){.swagger-ui .outline-ns{outline:1px solid}.swagger-ui .outline-transparent-ns{outline:1px solid transparent}.swagger-ui .outline-0-ns{outline:0}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .outline-m{outline:1px solid}.swagger-ui .outline-transparent-m{outline:1px solid transparent}.swagger-ui .outline-0-m{outline:0}}@media screen and (min-width:60em){.swagger-ui .outline-l{outline:1px solid}.swagger-ui .outline-transparent-l{outline:1px solid transparent}.swagger-ui .outline-0-l{outline:0}}.swagger-ui .ba{border-style:solid;border-width:1px}.swagger-ui .bt{border-top-style:solid;border-top-width:1px}.swagger-ui .br{border-right-style:solid;border-right-width:1px}.swagger-ui .bb{border-bottom-style:solid;border-bottom-width:1px}.swagger-ui .bl{border-left-style:solid;border-left-width:1px}.swagger-ui .bn{border-style:none;border-width:0}@media screen and (min-width:30em){.swagger-ui .ba-ns{border-style:solid;border-width:1px}.swagger-ui .bt-ns{border-top-style:solid;border-top-width:1px}.swagger-ui .br-ns{border-right-style:solid;border-right-width:1px}.swagger-ui .bb-ns{border-bottom-style:solid;border-bottom-width:1px}.swagger-ui .bl-ns{border-left-style:solid;border-left-width:1px}.swagger-ui .bn-ns{border-style:none;border-width:0}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .ba-m{border-style:solid;border-width:1px}.swagger-ui .bt-m{border-top-style:solid;border-top-width:1px}.swagger-ui .br-m{border-right-style:solid;border-right-width:1px}.swagger-ui .bb-m{border-bottom-style:solid;border-bottom-width:1px}.swagger-ui .bl-m{border-left-style:solid;border-left-width:1px}.swagger-ui .bn-m{border-style:none;border-width:0}}@media screen and (min-width:60em){.swagger-ui .ba-l{border-style:solid;border-width:1px}.swagger-ui .bt-l{border-top-style:solid;border-top-width:1px}.swagger-ui .br-l{border-right-style:solid;border-right-width:1px}.swagger-ui .bb-l{border-bottom-style:solid;border-bottom-width:1px}.swagger-ui .bl-l{border-left-style:solid;border-left-width:1px}.swagger-ui .bn-l{border-style:none;border-width:0}}.swagger-ui .b--black{border-color:#000}.swagger-ui .b--near-black{border-color:#111}.swagger-ui .b--dark-gray{border-color:#333}.swagger-ui .b--mid-gray{border-color:#555}.swagger-ui .b--gray{border-color:#777}.swagger-ui .b--silver{border-color:#999}.swagger-ui .b--light-silver{border-color:#aaa}.swagger-ui .b--moon-gray{border-color:#ccc}.swagger-ui .b--light-gray{border-color:#eee}.swagger-ui .b--near-white{border-color:#f4f4f4}.swagger-ui .b--white{border-color:#fff}.swagger-ui .b--white-90{border-color:hsla(0,0%,100%,.9)}.swagger-ui .b--white-80{border-color:hsla(0,0%,100%,.8)}.swagger-ui .b--white-70{border-color:hsla(0,0%,100%,.7)}.swagger-ui .b--white-60{border-color:hsla(0,0%,100%,.6)}.swagger-ui .b--white-50{border-color:hsla(0,0%,100%,.5)}.swagger-ui .b--white-40{border-color:hsla(0,0%,100%,.4)}.swagger-ui .b--white-30{border-color:hsla(0,0%,100%,.3)}.swagger-ui .b--white-20{border-color:hsla(0,0%,100%,.2)}.swagger-ui .b--white-10{border-color:hsla(0,0%,100%,.1)}.swagger-ui .b--white-05{border-color:hsla(0,0%,100%,.05)}.swagger-ui .b--white-025{border-color:hsla(0,0%,100%,.025)}.swagger-ui .b--white-0125{border-color:hsla(0,0%,100%,.013)}.swagger-ui .b--black-90{border-color:rgba(0,0,0,.9)}.swagger-ui .b--black-80{border-color:rgba(0,0,0,.8)}.swagger-ui .b--black-70{border-color:rgba(0,0,0,.7)}.swagger-ui .b--black-60{border-color:rgba(0,0,0,.6)}.swagger-ui .b--black-50{border-color:rgba(0,0,0,.5)}.swagger-ui .b--black-40{border-color:rgba(0,0,0,.4)}.swagger-ui .b--black-30{border-color:rgba(0,0,0,.3)}.swagger-ui .b--black-20{border-color:rgba(0,0,0,.2)}.swagger-ui .b--black-10{border-color:rgba(0,0,0,.1)}.swagger-ui .b--black-05{border-color:rgba(0,0,0,.05)}.swagger-ui .b--black-025{border-color:rgba(0,0,0,.025)}.swagger-ui .b--black-0125{border-color:rgba(0,0,0,.013)}.swagger-ui .b--dark-red{border-color:#e7040f}.swagger-ui .b--red{border-color:#ff4136}.swagger-ui .b--light-red{border-color:#ff725c}.swagger-ui .b--orange{border-color:#ff6300}.swagger-ui .b--gold{border-color:#ffb700}.swagger-ui .b--yellow{border-color:gold}.swagger-ui .b--light-yellow{border-color:#fbf1a9}.swagger-ui .b--purple{border-color:#5e2ca5}.swagger-ui .b--light-purple{border-color:#a463f2}.swagger-ui .b--dark-pink{border-color:#d5008f}.swagger-ui .b--hot-pink{border-color:#ff41b4}.swagger-ui .b--pink{border-color:#ff80cc}.swagger-ui .b--light-pink{border-color:#ffa3d7}.swagger-ui .b--dark-green{border-color:#137752}.swagger-ui .b--green{border-color:#19a974}.swagger-ui .b--light-green{border-color:#9eebcf}.swagger-ui .b--navy{border-color:#001b44}.swagger-ui .b--dark-blue{border-color:#00449e}.swagger-ui .b--blue{border-color:#357edd}.swagger-ui .b--light-blue{border-color:#96ccff}.swagger-ui .b--lightest-blue{border-color:#cdecff}.swagger-ui .b--washed-blue{border-color:#f6fffe}.swagger-ui .b--washed-green{border-color:#e8fdf5}.swagger-ui .b--washed-yellow{border-color:#fffceb}.swagger-ui .b--washed-red{border-color:#ffdfdf}.swagger-ui .b--transparent{border-color:transparent}.swagger-ui .b--inherit{border-color:inherit}.swagger-ui .br0{border-radius:0}.swagger-ui .br1{border-radius:.125rem}.swagger-ui .br2{border-radius:.25rem}.swagger-ui .br3{border-radius:.5rem}.swagger-ui .br4{border-radius:1rem}.swagger-ui .br-100{border-radius:100%}.swagger-ui .br-pill{border-radius:9999px}.swagger-ui .br--bottom{border-top-left-radius:0;border-top-right-radius:0}.swagger-ui .br--top{border-bottom-left-radius:0;border-bottom-right-radius:0}.swagger-ui .br--right{border-bottom-left-radius:0;border-top-left-radius:0}.swagger-ui .br--left{border-bottom-right-radius:0;border-top-right-radius:0}@media screen and (min-width:30em){.swagger-ui .br0-ns{border-radius:0}.swagger-ui .br1-ns{border-radius:.125rem}.swagger-ui .br2-ns{border-radius:.25rem}.swagger-ui .br3-ns{border-radius:.5rem}.swagger-ui .br4-ns{border-radius:1rem}.swagger-ui .br-100-ns{border-radius:100%}.swagger-ui .br-pill-ns{border-radius:9999px}.swagger-ui .br--bottom-ns{border-top-left-radius:0;border-top-right-radius:0}.swagger-ui .br--top-ns{border-bottom-left-radius:0;border-bottom-right-radius:0}.swagger-ui .br--right-ns{border-bottom-left-radius:0;border-top-left-radius:0}.swagger-ui .br--left-ns{border-bottom-right-radius:0;border-top-right-radius:0}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .br0-m{border-radius:0}.swagger-ui .br1-m{border-radius:.125rem}.swagger-ui .br2-m{border-radius:.25rem}.swagger-ui .br3-m{border-radius:.5rem}.swagger-ui .br4-m{border-radius:1rem}.swagger-ui .br-100-m{border-radius:100%}.swagger-ui .br-pill-m{border-radius:9999px}.swagger-ui .br--bottom-m{border-top-left-radius:0;border-top-right-radius:0}.swagger-ui .br--top-m{border-bottom-left-radius:0;border-bottom-right-radius:0}.swagger-ui .br--right-m{border-bottom-left-radius:0;border-top-left-radius:0}.swagger-ui .br--left-m{border-bottom-right-radius:0;border-top-right-radius:0}}@media screen and (min-width:60em){.swagger-ui .br0-l{border-radius:0}.swagger-ui .br1-l{border-radius:.125rem}.swagger-ui .br2-l{border-radius:.25rem}.swagger-ui .br3-l{border-radius:.5rem}.swagger-ui .br4-l{border-radius:1rem}.swagger-ui .br-100-l{border-radius:100%}.swagger-ui .br-pill-l{border-radius:9999px}.swagger-ui .br--bottom-l{border-top-left-radius:0;border-top-right-radius:0}.swagger-ui .br--top-l{border-bottom-left-radius:0;border-bottom-right-radius:0}.swagger-ui .br--right-l{border-bottom-left-radius:0;border-top-left-radius:0}.swagger-ui .br--left-l{border-bottom-right-radius:0;border-top-right-radius:0}}.swagger-ui .b--dotted{border-style:dotted}.swagger-ui .b--dashed{border-style:dashed}.swagger-ui .b--solid{border-style:solid}.swagger-ui .b--none{border-style:none}@media screen and (min-width:30em){.swagger-ui .b--dotted-ns{border-style:dotted}.swagger-ui .b--dashed-ns{border-style:dashed}.swagger-ui .b--solid-ns{border-style:solid}.swagger-ui .b--none-ns{border-style:none}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .b--dotted-m{border-style:dotted}.swagger-ui .b--dashed-m{border-style:dashed}.swagger-ui .b--solid-m{border-style:solid}.swagger-ui .b--none-m{border-style:none}}@media screen and (min-width:60em){.swagger-ui .b--dotted-l{border-style:dotted}.swagger-ui .b--dashed-l{border-style:dashed}.swagger-ui .b--solid-l{border-style:solid}.swagger-ui .b--none-l{border-style:none}}.swagger-ui .bw0{border-width:0}.swagger-ui .bw1{border-width:.125rem}.swagger-ui .bw2{border-width:.25rem}.swagger-ui .bw3{border-width:.5rem}.swagger-ui .bw4{border-width:1rem}.swagger-ui .bw5{border-width:2rem}.swagger-ui .bt-0{border-top-width:0}.swagger-ui .br-0{border-right-width:0}.swagger-ui .bb-0{border-bottom-width:0}.swagger-ui .bl-0{border-left-width:0}@media screen and (min-width:30em){.swagger-ui .bw0-ns{border-width:0}.swagger-ui .bw1-ns{border-width:.125rem}.swagger-ui .bw2-ns{border-width:.25rem}.swagger-ui .bw3-ns{border-width:.5rem}.swagger-ui .bw4-ns{border-width:1rem}.swagger-ui .bw5-ns{border-width:2rem}.swagger-ui .bt-0-ns{border-top-width:0}.swagger-ui .br-0-ns{border-right-width:0}.swagger-ui .bb-0-ns{border-bottom-width:0}.swagger-ui .bl-0-ns{border-left-width:0}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .bw0-m{border-width:0}.swagger-ui .bw1-m{border-width:.125rem}.swagger-ui .bw2-m{border-width:.25rem}.swagger-ui .bw3-m{border-width:.5rem}.swagger-ui .bw4-m{border-width:1rem}.swagger-ui .bw5-m{border-width:2rem}.swagger-ui .bt-0-m{border-top-width:0}.swagger-ui .br-0-m{border-right-width:0}.swagger-ui .bb-0-m{border-bottom-width:0}.swagger-ui .bl-0-m{border-left-width:0}}@media screen and (min-width:60em){.swagger-ui .bw0-l{border-width:0}.swagger-ui .bw1-l{border-width:.125rem}.swagger-ui .bw2-l{border-width:.25rem}.swagger-ui .bw3-l{border-width:.5rem}.swagger-ui .bw4-l{border-width:1rem}.swagger-ui .bw5-l{border-width:2rem}.swagger-ui .bt-0-l{border-top-width:0}.swagger-ui .br-0-l{border-right-width:0}.swagger-ui .bb-0-l{border-bottom-width:0}.swagger-ui .bl-0-l{border-left-width:0}}.swagger-ui .shadow-1{box-shadow:0 0 4px 2px rgba(0,0,0,.2)}.swagger-ui .shadow-2{box-shadow:0 0 8px 2px rgba(0,0,0,.2)}.swagger-ui .shadow-3{box-shadow:2px 2px 4px 2px rgba(0,0,0,.2)}.swagger-ui .shadow-4{box-shadow:2px 2px 8px 0 rgba(0,0,0,.2)}.swagger-ui .shadow-5{box-shadow:4px 4px 8px 0 rgba(0,0,0,.2)}@media screen and (min-width:30em){.swagger-ui .shadow-1-ns{box-shadow:0 0 4px 2px rgba(0,0,0,.2)}.swagger-ui .shadow-2-ns{box-shadow:0 0 8px 2px rgba(0,0,0,.2)}.swagger-ui .shadow-3-ns{box-shadow:2px 2px 4px 2px rgba(0,0,0,.2)}.swagger-ui .shadow-4-ns{box-shadow:2px 2px 8px 0 rgba(0,0,0,.2)}.swagger-ui .shadow-5-ns{box-shadow:4px 4px 8px 0 rgba(0,0,0,.2)}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .shadow-1-m{box-shadow:0 0 4px 2px rgba(0,0,0,.2)}.swagger-ui .shadow-2-m{box-shadow:0 0 8px 2px rgba(0,0,0,.2)}.swagger-ui .shadow-3-m{box-shadow:2px 2px 4px 2px rgba(0,0,0,.2)}.swagger-ui .shadow-4-m{box-shadow:2px 2px 8px 0 rgba(0,0,0,.2)}.swagger-ui .shadow-5-m{box-shadow:4px 4px 8px 0 rgba(0,0,0,.2)}}@media screen and (min-width:60em){.swagger-ui .shadow-1-l{box-shadow:0 0 4px 2px rgba(0,0,0,.2)}.swagger-ui .shadow-2-l{box-shadow:0 0 8px 2px rgba(0,0,0,.2)}.swagger-ui .shadow-3-l{box-shadow:2px 2px 4px 2px rgba(0,0,0,.2)}.swagger-ui .shadow-4-l{box-shadow:2px 2px 8px 0 rgba(0,0,0,.2)}.swagger-ui .shadow-5-l{box-shadow:4px 4px 8px 0 rgba(0,0,0,.2)}}.swagger-ui .pre{overflow-x:auto;overflow-y:hidden;overflow:scroll}.swagger-ui .top-0{top:0}.swagger-ui .right-0{right:0}.swagger-ui .bottom-0{bottom:0}.swagger-ui .left-0{left:0}.swagger-ui .top-1{top:1rem}.swagger-ui .right-1{right:1rem}.swagger-ui .bottom-1{bottom:1rem}.swagger-ui .left-1{left:1rem}.swagger-ui .top-2{top:2rem}.swagger-ui .right-2{right:2rem}.swagger-ui .bottom-2{bottom:2rem}.swagger-ui .left-2{left:2rem}.swagger-ui .top--1{top:-1rem}.swagger-ui .right--1{right:-1rem}.swagger-ui .bottom--1{bottom:-1rem}.swagger-ui .left--1{left:-1rem}.swagger-ui .top--2{top:-2rem}.swagger-ui .right--2{right:-2rem}.swagger-ui .bottom--2{bottom:-2rem}.swagger-ui .left--2{left:-2rem}.swagger-ui .absolute--fill{bottom:0;left:0;right:0;top:0}@media screen and (min-width:30em){.swagger-ui .top-0-ns{top:0}.swagger-ui .left-0-ns{left:0}.swagger-ui .right-0-ns{right:0}.swagger-ui .bottom-0-ns{bottom:0}.swagger-ui .top-1-ns{top:1rem}.swagger-ui .left-1-ns{left:1rem}.swagger-ui .right-1-ns{right:1rem}.swagger-ui .bottom-1-ns{bottom:1rem}.swagger-ui .top-2-ns{top:2rem}.swagger-ui .left-2-ns{left:2rem}.swagger-ui .right-2-ns{right:2rem}.swagger-ui .bottom-2-ns{bottom:2rem}.swagger-ui .top--1-ns{top:-1rem}.swagger-ui .right--1-ns{right:-1rem}.swagger-ui .bottom--1-ns{bottom:-1rem}.swagger-ui .left--1-ns{left:-1rem}.swagger-ui .top--2-ns{top:-2rem}.swagger-ui .right--2-ns{right:-2rem}.swagger-ui .bottom--2-ns{bottom:-2rem}.swagger-ui .left--2-ns{left:-2rem}.swagger-ui .absolute--fill-ns{bottom:0;left:0;right:0;top:0}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .top-0-m{top:0}.swagger-ui .left-0-m{left:0}.swagger-ui .right-0-m{right:0}.swagger-ui .bottom-0-m{bottom:0}.swagger-ui .top-1-m{top:1rem}.swagger-ui .left-1-m{left:1rem}.swagger-ui .right-1-m{right:1rem}.swagger-ui .bottom-1-m{bottom:1rem}.swagger-ui .top-2-m{top:2rem}.swagger-ui .left-2-m{left:2rem}.swagger-ui .right-2-m{right:2rem}.swagger-ui .bottom-2-m{bottom:2rem}.swagger-ui .top--1-m{top:-1rem}.swagger-ui .right--1-m{right:-1rem}.swagger-ui .bottom--1-m{bottom:-1rem}.swagger-ui .left--1-m{left:-1rem}.swagger-ui .top--2-m{top:-2rem}.swagger-ui .right--2-m{right:-2rem}.swagger-ui .bottom--2-m{bottom:-2rem}.swagger-ui .left--2-m{left:-2rem}.swagger-ui .absolute--fill-m{bottom:0;left:0;right:0;top:0}}@media screen and (min-width:60em){.swagger-ui .top-0-l{top:0}.swagger-ui .left-0-l{left:0}.swagger-ui .right-0-l{right:0}.swagger-ui .bottom-0-l{bottom:0}.swagger-ui .top-1-l{top:1rem}.swagger-ui .left-1-l{left:1rem}.swagger-ui .right-1-l{right:1rem}.swagger-ui .bottom-1-l{bottom:1rem}.swagger-ui .top-2-l{top:2rem}.swagger-ui .left-2-l{left:2rem}.swagger-ui .right-2-l{right:2rem}.swagger-ui .bottom-2-l{bottom:2rem}.swagger-ui .top--1-l{top:-1rem}.swagger-ui .right--1-l{right:-1rem}.swagger-ui .bottom--1-l{bottom:-1rem}.swagger-ui .left--1-l{left:-1rem}.swagger-ui .top--2-l{top:-2rem}.swagger-ui .right--2-l{right:-2rem}.swagger-ui .bottom--2-l{bottom:-2rem}.swagger-ui .left--2-l{left:-2rem}.swagger-ui .absolute--fill-l{bottom:0;left:0;right:0;top:0}}.swagger-ui .cf:after,.swagger-ui .cf:before{content:" ";display:table}.swagger-ui .cf:after{clear:both}.swagger-ui .cf{zoom:1}.swagger-ui .cl{clear:left}.swagger-ui .cr{clear:right}.swagger-ui .cb{clear:both}.swagger-ui .cn{clear:none}@media screen and (min-width:30em){.swagger-ui .cl-ns{clear:left}.swagger-ui .cr-ns{clear:right}.swagger-ui .cb-ns{clear:both}.swagger-ui .cn-ns{clear:none}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .cl-m{clear:left}.swagger-ui .cr-m{clear:right}.swagger-ui .cb-m{clear:both}.swagger-ui .cn-m{clear:none}}@media screen and (min-width:60em){.swagger-ui .cl-l{clear:left}.swagger-ui .cr-l{clear:right}.swagger-ui .cb-l{clear:both}.swagger-ui .cn-l{clear:none}}.swagger-ui .flex{display:flex}.swagger-ui .inline-flex{display:inline-flex}.swagger-ui .flex-auto{flex:1 1 auto;min-height:0;min-width:0}.swagger-ui .flex-none{flex:none}.swagger-ui .flex-column{flex-direction:column}.swagger-ui .flex-row{flex-direction:row}.swagger-ui .flex-wrap{flex-wrap:wrap}.swagger-ui .flex-nowrap{flex-wrap:nowrap}.swagger-ui .flex-wrap-reverse{flex-wrap:wrap-reverse}.swagger-ui .flex-column-reverse{flex-direction:column-reverse}.swagger-ui .flex-row-reverse{flex-direction:row-reverse}.swagger-ui .items-start{align-items:flex-start}.swagger-ui .items-end{align-items:flex-end}.swagger-ui .items-center{align-items:center}.swagger-ui .items-baseline{align-items:baseline}.swagger-ui .items-stretch{align-items:stretch}.swagger-ui .self-start{align-self:flex-start}.swagger-ui .self-end{align-self:flex-end}.swagger-ui .self-center{align-self:center}.swagger-ui .self-baseline{align-self:baseline}.swagger-ui .self-stretch{align-self:stretch}.swagger-ui .justify-start{justify-content:flex-start}.swagger-ui .justify-end{justify-content:flex-end}.swagger-ui .justify-center{justify-content:center}.swagger-ui .justify-between{justify-content:space-between}.swagger-ui .justify-around{justify-content:space-around}.swagger-ui .content-start{align-content:flex-start}.swagger-ui .content-end{align-content:flex-end}.swagger-ui .content-center{align-content:center}.swagger-ui .content-between{align-content:space-between}.swagger-ui .content-around{align-content:space-around}.swagger-ui .content-stretch{align-content:stretch}.swagger-ui .order-0{order:0}.swagger-ui .order-1{order:1}.swagger-ui .order-2{order:2}.swagger-ui .order-3{order:3}.swagger-ui .order-4{order:4}.swagger-ui .order-5{order:5}.swagger-ui .order-6{order:6}.swagger-ui .order-7{order:7}.swagger-ui .order-8{order:8}.swagger-ui .order-last{order:99999}.swagger-ui .flex-grow-0{flex-grow:0}.swagger-ui .flex-grow-1{flex-grow:1}.swagger-ui .flex-shrink-0{flex-shrink:0}.swagger-ui .flex-shrink-1{flex-shrink:1}@media screen and (min-width:30em){.swagger-ui .flex-ns{display:flex}.swagger-ui .inline-flex-ns{display:inline-flex}.swagger-ui .flex-auto-ns{flex:1 1 auto;min-height:0;min-width:0}.swagger-ui .flex-none-ns{flex:none}.swagger-ui .flex-column-ns{flex-direction:column}.swagger-ui .flex-row-ns{flex-direction:row}.swagger-ui .flex-wrap-ns{flex-wrap:wrap}.swagger-ui .flex-nowrap-ns{flex-wrap:nowrap}.swagger-ui .flex-wrap-reverse-ns{flex-wrap:wrap-reverse}.swagger-ui .flex-column-reverse-ns{flex-direction:column-reverse}.swagger-ui .flex-row-reverse-ns{flex-direction:row-reverse}.swagger-ui .items-start-ns{align-items:flex-start}.swagger-ui .items-end-ns{align-items:flex-end}.swagger-ui .items-center-ns{align-items:center}.swagger-ui .items-baseline-ns{align-items:baseline}.swagger-ui .items-stretch-ns{align-items:stretch}.swagger-ui .self-start-ns{align-self:flex-start}.swagger-ui .self-end-ns{align-self:flex-end}.swagger-ui .self-center-ns{align-self:center}.swagger-ui .self-baseline-ns{align-self:baseline}.swagger-ui .self-stretch-ns{align-self:stretch}.swagger-ui .justify-start-ns{justify-content:flex-start}.swagger-ui .justify-end-ns{justify-content:flex-end}.swagger-ui .justify-center-ns{justify-content:center}.swagger-ui .justify-between-ns{justify-content:space-between}.swagger-ui .justify-around-ns{justify-content:space-around}.swagger-ui .content-start-ns{align-content:flex-start}.swagger-ui .content-end-ns{align-content:flex-end}.swagger-ui .content-center-ns{align-content:center}.swagger-ui .content-between-ns{align-content:space-between}.swagger-ui .content-around-ns{align-content:space-around}.swagger-ui .content-stretch-ns{align-content:stretch}.swagger-ui .order-0-ns{order:0}.swagger-ui .order-1-ns{order:1}.swagger-ui .order-2-ns{order:2}.swagger-ui .order-3-ns{order:3}.swagger-ui .order-4-ns{order:4}.swagger-ui .order-5-ns{order:5}.swagger-ui .order-6-ns{order:6}.swagger-ui .order-7-ns{order:7}.swagger-ui .order-8-ns{order:8}.swagger-ui .order-last-ns{order:99999}.swagger-ui .flex-grow-0-ns{flex-grow:0}.swagger-ui .flex-grow-1-ns{flex-grow:1}.swagger-ui .flex-shrink-0-ns{flex-shrink:0}.swagger-ui .flex-shrink-1-ns{flex-shrink:1}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .flex-m{display:flex}.swagger-ui .inline-flex-m{display:inline-flex}.swagger-ui .flex-auto-m{flex:1 1 auto;min-height:0;min-width:0}.swagger-ui .flex-none-m{flex:none}.swagger-ui .flex-column-m{flex-direction:column}.swagger-ui .flex-row-m{flex-direction:row}.swagger-ui .flex-wrap-m{flex-wrap:wrap}.swagger-ui .flex-nowrap-m{flex-wrap:nowrap}.swagger-ui .flex-wrap-reverse-m{flex-wrap:wrap-reverse}.swagger-ui .flex-column-reverse-m{flex-direction:column-reverse}.swagger-ui .flex-row-reverse-m{flex-direction:row-reverse}.swagger-ui .items-start-m{align-items:flex-start}.swagger-ui .items-end-m{align-items:flex-end}.swagger-ui .items-center-m{align-items:center}.swagger-ui .items-baseline-m{align-items:baseline}.swagger-ui .items-stretch-m{align-items:stretch}.swagger-ui .self-start-m{align-self:flex-start}.swagger-ui .self-end-m{align-self:flex-end}.swagger-ui .self-center-m{align-self:center}.swagger-ui .self-baseline-m{align-self:baseline}.swagger-ui .self-stretch-m{align-self:stretch}.swagger-ui .justify-start-m{justify-content:flex-start}.swagger-ui .justify-end-m{justify-content:flex-end}.swagger-ui .justify-center-m{justify-content:center}.swagger-ui .justify-between-m{justify-content:space-between}.swagger-ui .justify-around-m{justify-content:space-around}.swagger-ui .content-start-m{align-content:flex-start}.swagger-ui .content-end-m{align-content:flex-end}.swagger-ui .content-center-m{align-content:center}.swagger-ui .content-between-m{align-content:space-between}.swagger-ui .content-around-m{align-content:space-around}.swagger-ui .content-stretch-m{align-content:stretch}.swagger-ui .order-0-m{order:0}.swagger-ui .order-1-m{order:1}.swagger-ui .order-2-m{order:2}.swagger-ui .order-3-m{order:3}.swagger-ui .order-4-m{order:4}.swagger-ui .order-5-m{order:5}.swagger-ui .order-6-m{order:6}.swagger-ui .order-7-m{order:7}.swagger-ui .order-8-m{order:8}.swagger-ui .order-last-m{order:99999}.swagger-ui .flex-grow-0-m{flex-grow:0}.swagger-ui .flex-grow-1-m{flex-grow:1}.swagger-ui .flex-shrink-0-m{flex-shrink:0}.swagger-ui .flex-shrink-1-m{flex-shrink:1}}@media screen and (min-width:60em){.swagger-ui .flex-l{display:flex}.swagger-ui .inline-flex-l{display:inline-flex}.swagger-ui .flex-auto-l{flex:1 1 auto;min-height:0;min-width:0}.swagger-ui .flex-none-l{flex:none}.swagger-ui .flex-column-l{flex-direction:column}.swagger-ui .flex-row-l{flex-direction:row}.swagger-ui .flex-wrap-l{flex-wrap:wrap}.swagger-ui .flex-nowrap-l{flex-wrap:nowrap}.swagger-ui .flex-wrap-reverse-l{flex-wrap:wrap-reverse}.swagger-ui .flex-column-reverse-l{flex-direction:column-reverse}.swagger-ui .flex-row-reverse-l{flex-direction:row-reverse}.swagger-ui .items-start-l{align-items:flex-start}.swagger-ui .items-end-l{align-items:flex-end}.swagger-ui .items-center-l{align-items:center}.swagger-ui .items-baseline-l{align-items:baseline}.swagger-ui .items-stretch-l{align-items:stretch}.swagger-ui .self-start-l{align-self:flex-start}.swagger-ui .self-end-l{align-self:flex-end}.swagger-ui .self-center-l{align-self:center}.swagger-ui .self-baseline-l{align-self:baseline}.swagger-ui .self-stretch-l{align-self:stretch}.swagger-ui .justify-start-l{justify-content:flex-start}.swagger-ui .justify-end-l{justify-content:flex-end}.swagger-ui .justify-center-l{justify-content:center}.swagger-ui .justify-between-l{justify-content:space-between}.swagger-ui .justify-around-l{justify-content:space-around}.swagger-ui .content-start-l{align-content:flex-start}.swagger-ui .content-end-l{align-content:flex-end}.swagger-ui .content-center-l{align-content:center}.swagger-ui .content-between-l{align-content:space-between}.swagger-ui .content-around-l{align-content:space-around}.swagger-ui .content-stretch-l{align-content:stretch}.swagger-ui .order-0-l{order:0}.swagger-ui .order-1-l{order:1}.swagger-ui .order-2-l{order:2}.swagger-ui .order-3-l{order:3}.swagger-ui .order-4-l{order:4}.swagger-ui .order-5-l{order:5}.swagger-ui .order-6-l{order:6}.swagger-ui .order-7-l{order:7}.swagger-ui .order-8-l{order:8}.swagger-ui .order-last-l{order:99999}.swagger-ui .flex-grow-0-l{flex-grow:0}.swagger-ui .flex-grow-1-l{flex-grow:1}.swagger-ui .flex-shrink-0-l{flex-shrink:0}.swagger-ui .flex-shrink-1-l{flex-shrink:1}}.swagger-ui .dn{display:none}.swagger-ui .di{display:inline}.swagger-ui .db{display:block}.swagger-ui .dib{display:inline-block}.swagger-ui .dit{display:inline-table}.swagger-ui .dt{display:table}.swagger-ui .dtc{display:table-cell}.swagger-ui .dt-row{display:table-row}.swagger-ui .dt-row-group{display:table-row-group}.swagger-ui .dt-column{display:table-column}.swagger-ui .dt-column-group{display:table-column-group}.swagger-ui .dt--fixed{table-layout:fixed;width:100%}@media screen and (min-width:30em){.swagger-ui .dn-ns{display:none}.swagger-ui .di-ns{display:inline}.swagger-ui .db-ns{display:block}.swagger-ui .dib-ns{display:inline-block}.swagger-ui .dit-ns{display:inline-table}.swagger-ui .dt-ns{display:table}.swagger-ui .dtc-ns{display:table-cell}.swagger-ui .dt-row-ns{display:table-row}.swagger-ui .dt-row-group-ns{display:table-row-group}.swagger-ui .dt-column-ns{display:table-column}.swagger-ui .dt-column-group-ns{display:table-column-group}.swagger-ui .dt--fixed-ns{table-layout:fixed;width:100%}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .dn-m{display:none}.swagger-ui .di-m{display:inline}.swagger-ui .db-m{display:block}.swagger-ui .dib-m{display:inline-block}.swagger-ui .dit-m{display:inline-table}.swagger-ui .dt-m{display:table}.swagger-ui .dtc-m{display:table-cell}.swagger-ui .dt-row-m{display:table-row}.swagger-ui .dt-row-group-m{display:table-row-group}.swagger-ui .dt-column-m{display:table-column}.swagger-ui .dt-column-group-m{display:table-column-group}.swagger-ui .dt--fixed-m{table-layout:fixed;width:100%}}@media screen and (min-width:60em){.swagger-ui .dn-l{display:none}.swagger-ui .di-l{display:inline}.swagger-ui .db-l{display:block}.swagger-ui .dib-l{display:inline-block}.swagger-ui .dit-l{display:inline-table}.swagger-ui .dt-l{display:table}.swagger-ui .dtc-l{display:table-cell}.swagger-ui .dt-row-l{display:table-row}.swagger-ui .dt-row-group-l{display:table-row-group}.swagger-ui .dt-column-l{display:table-column}.swagger-ui .dt-column-group-l{display:table-column-group}.swagger-ui .dt--fixed-l{table-layout:fixed;width:100%}}.swagger-ui .fl{float:left}.swagger-ui .fr{float:right}.swagger-ui .fn{float:none}@media screen and (min-width:30em){.swagger-ui .fl-ns{float:left}.swagger-ui .fr-ns{float:right}.swagger-ui .fn-ns{float:none}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .fl-m{float:left}.swagger-ui .fr-m{float:right}.swagger-ui .fn-m{float:none}}@media screen and (min-width:60em){.swagger-ui .fl-l{float:left}.swagger-ui .fr-l{float:right}.swagger-ui .fn-l{float:none}}.swagger-ui .sans-serif{font-family:-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica,helvetica neue,ubuntu,roboto,noto,segoe ui,arial,sans-serif}.swagger-ui .serif{font-family:georgia,serif}.swagger-ui .system-sans-serif{font-family:sans-serif}.swagger-ui .system-serif{font-family:serif}.swagger-ui .code,.swagger-ui code{font-family:Consolas,monaco,monospace}.swagger-ui .courier{font-family:Courier Next,courier,monospace}.swagger-ui .helvetica{font-family:helvetica neue,helvetica,sans-serif}.swagger-ui .avenir{font-family:avenir next,avenir,sans-serif}.swagger-ui .athelas{font-family:athelas,georgia,serif}.swagger-ui .georgia{font-family:georgia,serif}.swagger-ui .times{font-family:times,serif}.swagger-ui .bodoni{font-family:Bodoni MT,serif}.swagger-ui .calisto{font-family:Calisto MT,serif}.swagger-ui .garamond{font-family:garamond,serif}.swagger-ui .baskerville{font-family:baskerville,serif}.swagger-ui .i{font-style:italic}.swagger-ui .fs-normal{font-style:normal}@media screen and (min-width:30em){.swagger-ui .i-ns{font-style:italic}.swagger-ui .fs-normal-ns{font-style:normal}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .i-m{font-style:italic}.swagger-ui .fs-normal-m{font-style:normal}}@media screen and (min-width:60em){.swagger-ui .i-l{font-style:italic}.swagger-ui .fs-normal-l{font-style:normal}}.swagger-ui .normal{font-weight:400}.swagger-ui .b{font-weight:700}.swagger-ui .fw1{font-weight:100}.swagger-ui .fw2{font-weight:200}.swagger-ui .fw3{font-weight:300}.swagger-ui .fw4{font-weight:400}.swagger-ui .fw5{font-weight:500}.swagger-ui .fw6{font-weight:600}.swagger-ui .fw7{font-weight:700}.swagger-ui .fw8{font-weight:800}.swagger-ui .fw9{font-weight:900}@media screen and (min-width:30em){.swagger-ui .normal-ns{font-weight:400}.swagger-ui .b-ns{font-weight:700}.swagger-ui .fw1-ns{font-weight:100}.swagger-ui .fw2-ns{font-weight:200}.swagger-ui .fw3-ns{font-weight:300}.swagger-ui .fw4-ns{font-weight:400}.swagger-ui .fw5-ns{font-weight:500}.swagger-ui .fw6-ns{font-weight:600}.swagger-ui .fw7-ns{font-weight:700}.swagger-ui .fw8-ns{font-weight:800}.swagger-ui .fw9-ns{font-weight:900}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .normal-m{font-weight:400}.swagger-ui .b-m{font-weight:700}.swagger-ui .fw1-m{font-weight:100}.swagger-ui .fw2-m{font-weight:200}.swagger-ui .fw3-m{font-weight:300}.swagger-ui .fw4-m{font-weight:400}.swagger-ui .fw5-m{font-weight:500}.swagger-ui .fw6-m{font-weight:600}.swagger-ui .fw7-m{font-weight:700}.swagger-ui .fw8-m{font-weight:800}.swagger-ui .fw9-m{font-weight:900}}@media screen and (min-width:60em){.swagger-ui .normal-l{font-weight:400}.swagger-ui .b-l{font-weight:700}.swagger-ui .fw1-l{font-weight:100}.swagger-ui .fw2-l{font-weight:200}.swagger-ui .fw3-l{font-weight:300}.swagger-ui .fw4-l{font-weight:400}.swagger-ui .fw5-l{font-weight:500}.swagger-ui .fw6-l{font-weight:600}.swagger-ui .fw7-l{font-weight:700}.swagger-ui .fw8-l{font-weight:800}.swagger-ui .fw9-l{font-weight:900}}.swagger-ui .input-reset{-webkit-appearance:none;-moz-appearance:none}.swagger-ui .button-reset::-moz-focus-inner,.swagger-ui .input-reset::-moz-focus-inner{border:0;padding:0}.swagger-ui .h1{height:1rem}.swagger-ui .h2{height:2rem}.swagger-ui .h3{height:4rem}.swagger-ui .h4{height:8rem}.swagger-ui .h5{height:16rem}.swagger-ui .h-25{height:25%}.swagger-ui .h-50{height:50%}.swagger-ui .h-75{height:75%}.swagger-ui .h-100{height:100%}.swagger-ui .min-h-100{min-height:100%}.swagger-ui .vh-25{height:25vh}.swagger-ui .vh-50{height:50vh}.swagger-ui .vh-75{height:75vh}.swagger-ui .vh-100{height:100vh}.swagger-ui .min-vh-100{min-height:100vh}.swagger-ui .h-auto{height:auto}.swagger-ui .h-inherit{height:inherit}@media screen and (min-width:30em){.swagger-ui .h1-ns{height:1rem}.swagger-ui .h2-ns{height:2rem}.swagger-ui .h3-ns{height:4rem}.swagger-ui .h4-ns{height:8rem}.swagger-ui .h5-ns{height:16rem}.swagger-ui .h-25-ns{height:25%}.swagger-ui .h-50-ns{height:50%}.swagger-ui .h-75-ns{height:75%}.swagger-ui .h-100-ns{height:100%}.swagger-ui .min-h-100-ns{min-height:100%}.swagger-ui .vh-25-ns{height:25vh}.swagger-ui .vh-50-ns{height:50vh}.swagger-ui .vh-75-ns{height:75vh}.swagger-ui .vh-100-ns{height:100vh}.swagger-ui .min-vh-100-ns{min-height:100vh}.swagger-ui .h-auto-ns{height:auto}.swagger-ui .h-inherit-ns{height:inherit}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .h1-m{height:1rem}.swagger-ui .h2-m{height:2rem}.swagger-ui .h3-m{height:4rem}.swagger-ui .h4-m{height:8rem}.swagger-ui .h5-m{height:16rem}.swagger-ui .h-25-m{height:25%}.swagger-ui .h-50-m{height:50%}.swagger-ui .h-75-m{height:75%}.swagger-ui .h-100-m{height:100%}.swagger-ui .min-h-100-m{min-height:100%}.swagger-ui .vh-25-m{height:25vh}.swagger-ui .vh-50-m{height:50vh}.swagger-ui .vh-75-m{height:75vh}.swagger-ui .vh-100-m{height:100vh}.swagger-ui .min-vh-100-m{min-height:100vh}.swagger-ui .h-auto-m{height:auto}.swagger-ui .h-inherit-m{height:inherit}}@media screen and (min-width:60em){.swagger-ui .h1-l{height:1rem}.swagger-ui .h2-l{height:2rem}.swagger-ui .h3-l{height:4rem}.swagger-ui .h4-l{height:8rem}.swagger-ui .h5-l{height:16rem}.swagger-ui .h-25-l{height:25%}.swagger-ui .h-50-l{height:50%}.swagger-ui .h-75-l{height:75%}.swagger-ui .h-100-l{height:100%}.swagger-ui .min-h-100-l{min-height:100%}.swagger-ui .vh-25-l{height:25vh}.swagger-ui .vh-50-l{height:50vh}.swagger-ui .vh-75-l{height:75vh}.swagger-ui .vh-100-l{height:100vh}.swagger-ui .min-vh-100-l{min-height:100vh}.swagger-ui .h-auto-l{height:auto}.swagger-ui .h-inherit-l{height:inherit}}.swagger-ui .tracked{letter-spacing:.1em}.swagger-ui .tracked-tight{letter-spacing:-.05em}.swagger-ui .tracked-mega{letter-spacing:.25em}@media screen and (min-width:30em){.swagger-ui .tracked-ns{letter-spacing:.1em}.swagger-ui .tracked-tight-ns{letter-spacing:-.05em}.swagger-ui .tracked-mega-ns{letter-spacing:.25em}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .tracked-m{letter-spacing:.1em}.swagger-ui .tracked-tight-m{letter-spacing:-.05em}.swagger-ui .tracked-mega-m{letter-spacing:.25em}}@media screen and (min-width:60em){.swagger-ui .tracked-l{letter-spacing:.1em}.swagger-ui .tracked-tight-l{letter-spacing:-.05em}.swagger-ui .tracked-mega-l{letter-spacing:.25em}}.swagger-ui .lh-solid{line-height:1}.swagger-ui .lh-title{line-height:1.25}.swagger-ui .lh-copy{line-height:1.5}@media screen and (min-width:30em){.swagger-ui .lh-solid-ns{line-height:1}.swagger-ui .lh-title-ns{line-height:1.25}.swagger-ui .lh-copy-ns{line-height:1.5}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .lh-solid-m{line-height:1}.swagger-ui .lh-title-m{line-height:1.25}.swagger-ui .lh-copy-m{line-height:1.5}}@media screen and (min-width:60em){.swagger-ui .lh-solid-l{line-height:1}.swagger-ui .lh-title-l{line-height:1.25}.swagger-ui .lh-copy-l{line-height:1.5}}.swagger-ui .link{-webkit-text-decoration:none;text-decoration:none}.swagger-ui .link,.swagger-ui .link:active,.swagger-ui .link:focus,.swagger-ui .link:hover,.swagger-ui .link:link,.swagger-ui .link:visited{transition:color .15s ease-in}.swagger-ui .link:focus{outline:1px dotted currentColor}.swagger-ui .list{list-style-type:none}.swagger-ui .mw-100{max-width:100%}.swagger-ui .mw1{max-width:1rem}.swagger-ui .mw2{max-width:2rem}.swagger-ui .mw3{max-width:4rem}.swagger-ui .mw4{max-width:8rem}.swagger-ui .mw5{max-width:16rem}.swagger-ui .mw6{max-width:32rem}.swagger-ui .mw7{max-width:48rem}.swagger-ui .mw8{max-width:64rem}.swagger-ui .mw9{max-width:96rem}.swagger-ui .mw-none{max-width:none}@media screen and (min-width:30em){.swagger-ui .mw-100-ns{max-width:100%}.swagger-ui .mw1-ns{max-width:1rem}.swagger-ui .mw2-ns{max-width:2rem}.swagger-ui .mw3-ns{max-width:4rem}.swagger-ui .mw4-ns{max-width:8rem}.swagger-ui .mw5-ns{max-width:16rem}.swagger-ui .mw6-ns{max-width:32rem}.swagger-ui .mw7-ns{max-width:48rem}.swagger-ui .mw8-ns{max-width:64rem}.swagger-ui .mw9-ns{max-width:96rem}.swagger-ui .mw-none-ns{max-width:none}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .mw-100-m{max-width:100%}.swagger-ui .mw1-m{max-width:1rem}.swagger-ui .mw2-m{max-width:2rem}.swagger-ui .mw3-m{max-width:4rem}.swagger-ui .mw4-m{max-width:8rem}.swagger-ui .mw5-m{max-width:16rem}.swagger-ui .mw6-m{max-width:32rem}.swagger-ui .mw7-m{max-width:48rem}.swagger-ui .mw8-m{max-width:64rem}.swagger-ui .mw9-m{max-width:96rem}.swagger-ui .mw-none-m{max-width:none}}@media screen and (min-width:60em){.swagger-ui .mw-100-l{max-width:100%}.swagger-ui .mw1-l{max-width:1rem}.swagger-ui .mw2-l{max-width:2rem}.swagger-ui .mw3-l{max-width:4rem}.swagger-ui .mw4-l{max-width:8rem}.swagger-ui .mw5-l{max-width:16rem}.swagger-ui .mw6-l{max-width:32rem}.swagger-ui .mw7-l{max-width:48rem}.swagger-ui .mw8-l{max-width:64rem}.swagger-ui .mw9-l{max-width:96rem}.swagger-ui .mw-none-l{max-width:none}}.swagger-ui .w1{width:1rem}.swagger-ui .w2{width:2rem}.swagger-ui .w3{width:4rem}.swagger-ui .w4{width:8rem}.swagger-ui .w5{width:16rem}.swagger-ui .w-10{width:10%}.swagger-ui .w-20{width:20%}.swagger-ui .w-25{width:25%}.swagger-ui .w-30{width:30%}.swagger-ui .w-33{width:33%}.swagger-ui .w-34{width:34%}.swagger-ui .w-40{width:40%}.swagger-ui .w-50{width:50%}.swagger-ui .w-60{width:60%}.swagger-ui .w-70{width:70%}.swagger-ui .w-75{width:75%}.swagger-ui .w-80{width:80%}.swagger-ui .w-90{width:90%}.swagger-ui .w-100{width:100%}.swagger-ui .w-third{width:33.3333333333%}.swagger-ui .w-two-thirds{width:66.6666666667%}.swagger-ui .w-auto{width:auto}@media screen and (min-width:30em){.swagger-ui .w1-ns{width:1rem}.swagger-ui .w2-ns{width:2rem}.swagger-ui .w3-ns{width:4rem}.swagger-ui .w4-ns{width:8rem}.swagger-ui .w5-ns{width:16rem}.swagger-ui .w-10-ns{width:10%}.swagger-ui .w-20-ns{width:20%}.swagger-ui .w-25-ns{width:25%}.swagger-ui .w-30-ns{width:30%}.swagger-ui .w-33-ns{width:33%}.swagger-ui .w-34-ns{width:34%}.swagger-ui .w-40-ns{width:40%}.swagger-ui .w-50-ns{width:50%}.swagger-ui .w-60-ns{width:60%}.swagger-ui .w-70-ns{width:70%}.swagger-ui .w-75-ns{width:75%}.swagger-ui .w-80-ns{width:80%}.swagger-ui .w-90-ns{width:90%}.swagger-ui .w-100-ns{width:100%}.swagger-ui .w-third-ns{width:33.3333333333%}.swagger-ui .w-two-thirds-ns{width:66.6666666667%}.swagger-ui .w-auto-ns{width:auto}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .w1-m{width:1rem}.swagger-ui .w2-m{width:2rem}.swagger-ui .w3-m{width:4rem}.swagger-ui .w4-m{width:8rem}.swagger-ui .w5-m{width:16rem}.swagger-ui .w-10-m{width:10%}.swagger-ui .w-20-m{width:20%}.swagger-ui .w-25-m{width:25%}.swagger-ui .w-30-m{width:30%}.swagger-ui .w-33-m{width:33%}.swagger-ui .w-34-m{width:34%}.swagger-ui .w-40-m{width:40%}.swagger-ui .w-50-m{width:50%}.swagger-ui .w-60-m{width:60%}.swagger-ui .w-70-m{width:70%}.swagger-ui .w-75-m{width:75%}.swagger-ui .w-80-m{width:80%}.swagger-ui .w-90-m{width:90%}.swagger-ui .w-100-m{width:100%}.swagger-ui .w-third-m{width:33.3333333333%}.swagger-ui .w-two-thirds-m{width:66.6666666667%}.swagger-ui .w-auto-m{width:auto}}@media screen and (min-width:60em){.swagger-ui .w1-l{width:1rem}.swagger-ui .w2-l{width:2rem}.swagger-ui .w3-l{width:4rem}.swagger-ui .w4-l{width:8rem}.swagger-ui .w5-l{width:16rem}.swagger-ui .w-10-l{width:10%}.swagger-ui .w-20-l{width:20%}.swagger-ui .w-25-l{width:25%}.swagger-ui .w-30-l{width:30%}.swagger-ui .w-33-l{width:33%}.swagger-ui .w-34-l{width:34%}.swagger-ui .w-40-l{width:40%}.swagger-ui .w-50-l{width:50%}.swagger-ui .w-60-l{width:60%}.swagger-ui .w-70-l{width:70%}.swagger-ui .w-75-l{width:75%}.swagger-ui .w-80-l{width:80%}.swagger-ui .w-90-l{width:90%}.swagger-ui .w-100-l{width:100%}.swagger-ui .w-third-l{width:33.3333333333%}.swagger-ui .w-two-thirds-l{width:66.6666666667%}.swagger-ui .w-auto-l{width:auto}}.swagger-ui .overflow-visible{overflow:visible}.swagger-ui .overflow-hidden{overflow:hidden}.swagger-ui .overflow-scroll{overflow:scroll}.swagger-ui .overflow-auto{overflow:auto}.swagger-ui .overflow-x-visible{overflow-x:visible}.swagger-ui .overflow-x-hidden{overflow-x:hidden}.swagger-ui .overflow-x-scroll{overflow-x:scroll}.swagger-ui .overflow-x-auto{overflow-x:auto}.swagger-ui .overflow-y-visible{overflow-y:visible}.swagger-ui .overflow-y-hidden{overflow-y:hidden}.swagger-ui .overflow-y-scroll{overflow-y:scroll}.swagger-ui .overflow-y-auto{overflow-y:auto}@media screen and (min-width:30em){.swagger-ui .overflow-visible-ns{overflow:visible}.swagger-ui .overflow-hidden-ns{overflow:hidden}.swagger-ui .overflow-scroll-ns{overflow:scroll}.swagger-ui .overflow-auto-ns{overflow:auto}.swagger-ui .overflow-x-visible-ns{overflow-x:visible}.swagger-ui .overflow-x-hidden-ns{overflow-x:hidden}.swagger-ui .overflow-x-scroll-ns{overflow-x:scroll}.swagger-ui .overflow-x-auto-ns{overflow-x:auto}.swagger-ui .overflow-y-visible-ns{overflow-y:visible}.swagger-ui .overflow-y-hidden-ns{overflow-y:hidden}.swagger-ui .overflow-y-scroll-ns{overflow-y:scroll}.swagger-ui .overflow-y-auto-ns{overflow-y:auto}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .overflow-visible-m{overflow:visible}.swagger-ui .overflow-hidden-m{overflow:hidden}.swagger-ui .overflow-scroll-m{overflow:scroll}.swagger-ui .overflow-auto-m{overflow:auto}.swagger-ui .overflow-x-visible-m{overflow-x:visible}.swagger-ui .overflow-x-hidden-m{overflow-x:hidden}.swagger-ui .overflow-x-scroll-m{overflow-x:scroll}.swagger-ui .overflow-x-auto-m{overflow-x:auto}.swagger-ui .overflow-y-visible-m{overflow-y:visible}.swagger-ui .overflow-y-hidden-m{overflow-y:hidden}.swagger-ui .overflow-y-scroll-m{overflow-y:scroll}.swagger-ui .overflow-y-auto-m{overflow-y:auto}}@media screen and (min-width:60em){.swagger-ui .overflow-visible-l{overflow:visible}.swagger-ui .overflow-hidden-l{overflow:hidden}.swagger-ui .overflow-scroll-l{overflow:scroll}.swagger-ui .overflow-auto-l{overflow:auto}.swagger-ui .overflow-x-visible-l{overflow-x:visible}.swagger-ui .overflow-x-hidden-l{overflow-x:hidden}.swagger-ui .overflow-x-scroll-l{overflow-x:scroll}.swagger-ui .overflow-x-auto-l{overflow-x:auto}.swagger-ui .overflow-y-visible-l{overflow-y:visible}.swagger-ui .overflow-y-hidden-l{overflow-y:hidden}.swagger-ui .overflow-y-scroll-l{overflow-y:scroll}.swagger-ui .overflow-y-auto-l{overflow-y:auto}}.swagger-ui .static{position:static}.swagger-ui .relative{position:relative}.swagger-ui .absolute{position:absolute}.swagger-ui .fixed{position:fixed}@media screen and (min-width:30em){.swagger-ui .static-ns{position:static}.swagger-ui .relative-ns{position:relative}.swagger-ui .absolute-ns{position:absolute}.swagger-ui .fixed-ns{position:fixed}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .static-m{position:static}.swagger-ui .relative-m{position:relative}.swagger-ui .absolute-m{position:absolute}.swagger-ui .fixed-m{position:fixed}}@media screen and (min-width:60em){.swagger-ui .static-l{position:static}.swagger-ui .relative-l{position:relative}.swagger-ui .absolute-l{position:absolute}.swagger-ui .fixed-l{position:fixed}}.swagger-ui .o-100{opacity:1}.swagger-ui .o-90{opacity:.9}.swagger-ui .o-80{opacity:.8}.swagger-ui .o-70{opacity:.7}.swagger-ui .o-60{opacity:.6}.swagger-ui .o-50{opacity:.5}.swagger-ui .o-40{opacity:.4}.swagger-ui .o-30{opacity:.3}.swagger-ui .o-20{opacity:.2}.swagger-ui .o-10{opacity:.1}.swagger-ui .o-05{opacity:.05}.swagger-ui .o-025{opacity:.025}.swagger-ui .o-0{opacity:0}.swagger-ui .rotate-45{transform:rotate(45deg)}.swagger-ui .rotate-90{transform:rotate(90deg)}.swagger-ui .rotate-135{transform:rotate(135deg)}.swagger-ui .rotate-180{transform:rotate(180deg)}.swagger-ui .rotate-225{transform:rotate(225deg)}.swagger-ui .rotate-270{transform:rotate(270deg)}.swagger-ui .rotate-315{transform:rotate(315deg)}@media screen and (min-width:30em){.swagger-ui .rotate-45-ns{transform:rotate(45deg)}.swagger-ui .rotate-90-ns{transform:rotate(90deg)}.swagger-ui .rotate-135-ns{transform:rotate(135deg)}.swagger-ui .rotate-180-ns{transform:rotate(180deg)}.swagger-ui .rotate-225-ns{transform:rotate(225deg)}.swagger-ui .rotate-270-ns{transform:rotate(270deg)}.swagger-ui .rotate-315-ns{transform:rotate(315deg)}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .rotate-45-m{transform:rotate(45deg)}.swagger-ui .rotate-90-m{transform:rotate(90deg)}.swagger-ui .rotate-135-m{transform:rotate(135deg)}.swagger-ui .rotate-180-m{transform:rotate(180deg)}.swagger-ui .rotate-225-m{transform:rotate(225deg)}.swagger-ui .rotate-270-m{transform:rotate(270deg)}.swagger-ui .rotate-315-m{transform:rotate(315deg)}}@media screen and (min-width:60em){.swagger-ui .rotate-45-l{transform:rotate(45deg)}.swagger-ui .rotate-90-l{transform:rotate(90deg)}.swagger-ui .rotate-135-l{transform:rotate(135deg)}.swagger-ui .rotate-180-l{transform:rotate(180deg)}.swagger-ui .rotate-225-l{transform:rotate(225deg)}.swagger-ui .rotate-270-l{transform:rotate(270deg)}.swagger-ui .rotate-315-l{transform:rotate(315deg)}}.swagger-ui .black-90{color:rgba(0,0,0,.9)}.swagger-ui .black-80{color:rgba(0,0,0,.8)}.swagger-ui .black-70{color:rgba(0,0,0,.7)}.swagger-ui .black-60{color:rgba(0,0,0,.6)}.swagger-ui .black-50{color:rgba(0,0,0,.5)}.swagger-ui .black-40{color:rgba(0,0,0,.4)}.swagger-ui .black-30{color:rgba(0,0,0,.3)}.swagger-ui .black-20{color:rgba(0,0,0,.2)}.swagger-ui .black-10{color:rgba(0,0,0,.1)}.swagger-ui .black-05{color:rgba(0,0,0,.05)}.swagger-ui .white-90{color:hsla(0,0%,100%,.9)}.swagger-ui .white-80{color:hsla(0,0%,100%,.8)}.swagger-ui .white-70{color:hsla(0,0%,100%,.7)}.swagger-ui .white-60{color:hsla(0,0%,100%,.6)}.swagger-ui .white-50{color:hsla(0,0%,100%,.5)}.swagger-ui .white-40{color:hsla(0,0%,100%,.4)}.swagger-ui .white-30{color:hsla(0,0%,100%,.3)}.swagger-ui .white-20{color:hsla(0,0%,100%,.2)}.swagger-ui .white-10{color:hsla(0,0%,100%,.1)}.swagger-ui .black{color:#000}.swagger-ui .near-black{color:#111}.swagger-ui .dark-gray{color:#333}.swagger-ui .mid-gray{color:#555}.swagger-ui .gray{color:#777}.swagger-ui .silver{color:#999}.swagger-ui .light-silver{color:#aaa}.swagger-ui .moon-gray{color:#ccc}.swagger-ui .light-gray{color:#eee}.swagger-ui .near-white{color:#f4f4f4}.swagger-ui .white{color:#fff}.swagger-ui .dark-red{color:#e7040f}.swagger-ui .red{color:#ff4136}.swagger-ui .light-red{color:#ff725c}.swagger-ui .orange{color:#ff6300}.swagger-ui .gold{color:#ffb700}.swagger-ui .yellow{color:gold}.swagger-ui .light-yellow{color:#fbf1a9}.swagger-ui .purple{color:#5e2ca5}.swagger-ui .light-purple{color:#a463f2}.swagger-ui .dark-pink{color:#d5008f}.swagger-ui .hot-pink{color:#ff41b4}.swagger-ui .pink{color:#ff80cc}.swagger-ui .light-pink{color:#ffa3d7}.swagger-ui .dark-green{color:#137752}.swagger-ui .green{color:#19a974}.swagger-ui .light-green{color:#9eebcf}.swagger-ui .navy{color:#001b44}.swagger-ui .dark-blue{color:#00449e}.swagger-ui .blue{color:#357edd}.swagger-ui .light-blue{color:#96ccff}.swagger-ui .lightest-blue{color:#cdecff}.swagger-ui .washed-blue{color:#f6fffe}.swagger-ui .washed-green{color:#e8fdf5}.swagger-ui .washed-yellow{color:#fffceb}.swagger-ui .washed-red{color:#ffdfdf}.swagger-ui .color-inherit{color:inherit}.swagger-ui .bg-black-90{background-color:rgba(0,0,0,.9)}.swagger-ui .bg-black-80{background-color:rgba(0,0,0,.8)}.swagger-ui .bg-black-70{background-color:rgba(0,0,0,.7)}.swagger-ui .bg-black-60{background-color:rgba(0,0,0,.6)}.swagger-ui .bg-black-50{background-color:rgba(0,0,0,.5)}.swagger-ui .bg-black-40{background-color:rgba(0,0,0,.4)}.swagger-ui .bg-black-30{background-color:rgba(0,0,0,.3)}.swagger-ui .bg-black-20{background-color:rgba(0,0,0,.2)}.swagger-ui .bg-black-10{background-color:rgba(0,0,0,.1)}.swagger-ui .bg-black-05{background-color:rgba(0,0,0,.05)}.swagger-ui .bg-white-90{background-color:hsla(0,0%,100%,.9)}.swagger-ui .bg-white-80{background-color:hsla(0,0%,100%,.8)}.swagger-ui .bg-white-70{background-color:hsla(0,0%,100%,.7)}.swagger-ui .bg-white-60{background-color:hsla(0,0%,100%,.6)}.swagger-ui .bg-white-50{background-color:hsla(0,0%,100%,.5)}.swagger-ui .bg-white-40{background-color:hsla(0,0%,100%,.4)}.swagger-ui .bg-white-30{background-color:hsla(0,0%,100%,.3)}.swagger-ui .bg-white-20{background-color:hsla(0,0%,100%,.2)}.swagger-ui .bg-white-10{background-color:hsla(0,0%,100%,.1)}.swagger-ui .bg-black{background-color:#000}.swagger-ui .bg-near-black{background-color:#111}.swagger-ui .bg-dark-gray{background-color:#333}.swagger-ui .bg-mid-gray{background-color:#555}.swagger-ui .bg-gray{background-color:#777}.swagger-ui .bg-silver{background-color:#999}.swagger-ui .bg-light-silver{background-color:#aaa}.swagger-ui .bg-moon-gray{background-color:#ccc}.swagger-ui .bg-light-gray{background-color:#eee}.swagger-ui .bg-near-white{background-color:#f4f4f4}.swagger-ui .bg-white{background-color:#fff}.swagger-ui .bg-transparent{background-color:transparent}.swagger-ui .bg-dark-red{background-color:#e7040f}.swagger-ui .bg-red{background-color:#ff4136}.swagger-ui .bg-light-red{background-color:#ff725c}.swagger-ui .bg-orange{background-color:#ff6300}.swagger-ui .bg-gold{background-color:#ffb700}.swagger-ui .bg-yellow{background-color:gold}.swagger-ui .bg-light-yellow{background-color:#fbf1a9}.swagger-ui .bg-purple{background-color:#5e2ca5}.swagger-ui .bg-light-purple{background-color:#a463f2}.swagger-ui .bg-dark-pink{background-color:#d5008f}.swagger-ui .bg-hot-pink{background-color:#ff41b4}.swagger-ui .bg-pink{background-color:#ff80cc}.swagger-ui .bg-light-pink{background-color:#ffa3d7}.swagger-ui .bg-dark-green{background-color:#137752}.swagger-ui .bg-green{background-color:#19a974}.swagger-ui .bg-light-green{background-color:#9eebcf}.swagger-ui .bg-navy{background-color:#001b44}.swagger-ui .bg-dark-blue{background-color:#00449e}.swagger-ui .bg-blue{background-color:#357edd}.swagger-ui .bg-light-blue{background-color:#96ccff}.swagger-ui .bg-lightest-blue{background-color:#cdecff}.swagger-ui .bg-washed-blue{background-color:#f6fffe}.swagger-ui .bg-washed-green{background-color:#e8fdf5}.swagger-ui .bg-washed-yellow{background-color:#fffceb}.swagger-ui .bg-washed-red{background-color:#ffdfdf}.swagger-ui .bg-inherit{background-color:inherit}.swagger-ui .hover-black:focus,.swagger-ui .hover-black:hover{color:#000}.swagger-ui .hover-near-black:focus,.swagger-ui .hover-near-black:hover{color:#111}.swagger-ui .hover-dark-gray:focus,.swagger-ui .hover-dark-gray:hover{color:#333}.swagger-ui .hover-mid-gray:focus,.swagger-ui .hover-mid-gray:hover{color:#555}.swagger-ui .hover-gray:focus,.swagger-ui .hover-gray:hover{color:#777}.swagger-ui .hover-silver:focus,.swagger-ui .hover-silver:hover{color:#999}.swagger-ui .hover-light-silver:focus,.swagger-ui .hover-light-silver:hover{color:#aaa}.swagger-ui .hover-moon-gray:focus,.swagger-ui .hover-moon-gray:hover{color:#ccc}.swagger-ui .hover-light-gray:focus,.swagger-ui .hover-light-gray:hover{color:#eee}.swagger-ui .hover-near-white:focus,.swagger-ui .hover-near-white:hover{color:#f4f4f4}.swagger-ui .hover-white:focus,.swagger-ui .hover-white:hover{color:#fff}.swagger-ui .hover-black-90:focus,.swagger-ui .hover-black-90:hover{color:rgba(0,0,0,.9)}.swagger-ui .hover-black-80:focus,.swagger-ui .hover-black-80:hover{color:rgba(0,0,0,.8)}.swagger-ui .hover-black-70:focus,.swagger-ui .hover-black-70:hover{color:rgba(0,0,0,.7)}.swagger-ui .hover-black-60:focus,.swagger-ui .hover-black-60:hover{color:rgba(0,0,0,.6)}.swagger-ui .hover-black-50:focus,.swagger-ui .hover-black-50:hover{color:rgba(0,0,0,.5)}.swagger-ui .hover-black-40:focus,.swagger-ui .hover-black-40:hover{color:rgba(0,0,0,.4)}.swagger-ui .hover-black-30:focus,.swagger-ui .hover-black-30:hover{color:rgba(0,0,0,.3)}.swagger-ui .hover-black-20:focus,.swagger-ui .hover-black-20:hover{color:rgba(0,0,0,.2)}.swagger-ui .hover-black-10:focus,.swagger-ui .hover-black-10:hover{color:rgba(0,0,0,.1)}.swagger-ui .hover-white-90:focus,.swagger-ui .hover-white-90:hover{color:hsla(0,0%,100%,.9)}.swagger-ui .hover-white-80:focus,.swagger-ui .hover-white-80:hover{color:hsla(0,0%,100%,.8)}.swagger-ui .hover-white-70:focus,.swagger-ui .hover-white-70:hover{color:hsla(0,0%,100%,.7)}.swagger-ui .hover-white-60:focus,.swagger-ui .hover-white-60:hover{color:hsla(0,0%,100%,.6)}.swagger-ui .hover-white-50:focus,.swagger-ui .hover-white-50:hover{color:hsla(0,0%,100%,.5)}.swagger-ui .hover-white-40:focus,.swagger-ui .hover-white-40:hover{color:hsla(0,0%,100%,.4)}.swagger-ui .hover-white-30:focus,.swagger-ui .hover-white-30:hover{color:hsla(0,0%,100%,.3)}.swagger-ui .hover-white-20:focus,.swagger-ui .hover-white-20:hover{color:hsla(0,0%,100%,.2)}.swagger-ui .hover-white-10:focus,.swagger-ui .hover-white-10:hover{color:hsla(0,0%,100%,.1)}.swagger-ui .hover-inherit:focus,.swagger-ui .hover-inherit:hover{color:inherit}.swagger-ui .hover-bg-black:focus,.swagger-ui .hover-bg-black:hover{background-color:#000}.swagger-ui .hover-bg-near-black:focus,.swagger-ui .hover-bg-near-black:hover{background-color:#111}.swagger-ui .hover-bg-dark-gray:focus,.swagger-ui .hover-bg-dark-gray:hover{background-color:#333}.swagger-ui .hover-bg-mid-gray:focus,.swagger-ui .hover-bg-mid-gray:hover{background-color:#555}.swagger-ui .hover-bg-gray:focus,.swagger-ui .hover-bg-gray:hover{background-color:#777}.swagger-ui .hover-bg-silver:focus,.swagger-ui .hover-bg-silver:hover{background-color:#999}.swagger-ui .hover-bg-light-silver:focus,.swagger-ui .hover-bg-light-silver:hover{background-color:#aaa}.swagger-ui .hover-bg-moon-gray:focus,.swagger-ui .hover-bg-moon-gray:hover{background-color:#ccc}.swagger-ui .hover-bg-light-gray:focus,.swagger-ui .hover-bg-light-gray:hover{background-color:#eee}.swagger-ui .hover-bg-near-white:focus,.swagger-ui .hover-bg-near-white:hover{background-color:#f4f4f4}.swagger-ui .hover-bg-white:focus,.swagger-ui .hover-bg-white:hover{background-color:#fff}.swagger-ui .hover-bg-transparent:focus,.swagger-ui .hover-bg-transparent:hover{background-color:transparent}.swagger-ui .hover-bg-black-90:focus,.swagger-ui .hover-bg-black-90:hover{background-color:rgba(0,0,0,.9)}.swagger-ui .hover-bg-black-80:focus,.swagger-ui .hover-bg-black-80:hover{background-color:rgba(0,0,0,.8)}.swagger-ui .hover-bg-black-70:focus,.swagger-ui .hover-bg-black-70:hover{background-color:rgba(0,0,0,.7)}.swagger-ui .hover-bg-black-60:focus,.swagger-ui .hover-bg-black-60:hover{background-color:rgba(0,0,0,.6)}.swagger-ui .hover-bg-black-50:focus,.swagger-ui .hover-bg-black-50:hover{background-color:rgba(0,0,0,.5)}.swagger-ui .hover-bg-black-40:focus,.swagger-ui .hover-bg-black-40:hover{background-color:rgba(0,0,0,.4)}.swagger-ui .hover-bg-black-30:focus,.swagger-ui .hover-bg-black-30:hover{background-color:rgba(0,0,0,.3)}.swagger-ui .hover-bg-black-20:focus,.swagger-ui .hover-bg-black-20:hover{background-color:rgba(0,0,0,.2)}.swagger-ui .hover-bg-black-10:focus,.swagger-ui .hover-bg-black-10:hover{background-color:rgba(0,0,0,.1)}.swagger-ui .hover-bg-white-90:focus,.swagger-ui .hover-bg-white-90:hover{background-color:hsla(0,0%,100%,.9)}.swagger-ui .hover-bg-white-80:focus,.swagger-ui .hover-bg-white-80:hover{background-color:hsla(0,0%,100%,.8)}.swagger-ui .hover-bg-white-70:focus,.swagger-ui .hover-bg-white-70:hover{background-color:hsla(0,0%,100%,.7)}.swagger-ui .hover-bg-white-60:focus,.swagger-ui .hover-bg-white-60:hover{background-color:hsla(0,0%,100%,.6)}.swagger-ui .hover-bg-white-50:focus,.swagger-ui .hover-bg-white-50:hover{background-color:hsla(0,0%,100%,.5)}.swagger-ui .hover-bg-white-40:focus,.swagger-ui .hover-bg-white-40:hover{background-color:hsla(0,0%,100%,.4)}.swagger-ui .hover-bg-white-30:focus,.swagger-ui .hover-bg-white-30:hover{background-color:hsla(0,0%,100%,.3)}.swagger-ui .hover-bg-white-20:focus,.swagger-ui .hover-bg-white-20:hover{background-color:hsla(0,0%,100%,.2)}.swagger-ui .hover-bg-white-10:focus,.swagger-ui .hover-bg-white-10:hover{background-color:hsla(0,0%,100%,.1)}.swagger-ui .hover-dark-red:focus,.swagger-ui .hover-dark-red:hover{color:#e7040f}.swagger-ui .hover-red:focus,.swagger-ui .hover-red:hover{color:#ff4136}.swagger-ui .hover-light-red:focus,.swagger-ui .hover-light-red:hover{color:#ff725c}.swagger-ui .hover-orange:focus,.swagger-ui .hover-orange:hover{color:#ff6300}.swagger-ui .hover-gold:focus,.swagger-ui .hover-gold:hover{color:#ffb700}.swagger-ui .hover-yellow:focus,.swagger-ui .hover-yellow:hover{color:gold}.swagger-ui .hover-light-yellow:focus,.swagger-ui .hover-light-yellow:hover{color:#fbf1a9}.swagger-ui .hover-purple:focus,.swagger-ui .hover-purple:hover{color:#5e2ca5}.swagger-ui .hover-light-purple:focus,.swagger-ui .hover-light-purple:hover{color:#a463f2}.swagger-ui .hover-dark-pink:focus,.swagger-ui .hover-dark-pink:hover{color:#d5008f}.swagger-ui .hover-hot-pink:focus,.swagger-ui .hover-hot-pink:hover{color:#ff41b4}.swagger-ui .hover-pink:focus,.swagger-ui .hover-pink:hover{color:#ff80cc}.swagger-ui .hover-light-pink:focus,.swagger-ui .hover-light-pink:hover{color:#ffa3d7}.swagger-ui .hover-dark-green:focus,.swagger-ui .hover-dark-green:hover{color:#137752}.swagger-ui .hover-green:focus,.swagger-ui .hover-green:hover{color:#19a974}.swagger-ui .hover-light-green:focus,.swagger-ui .hover-light-green:hover{color:#9eebcf}.swagger-ui .hover-navy:focus,.swagger-ui .hover-navy:hover{color:#001b44}.swagger-ui .hover-dark-blue:focus,.swagger-ui .hover-dark-blue:hover{color:#00449e}.swagger-ui .hover-blue:focus,.swagger-ui .hover-blue:hover{color:#357edd}.swagger-ui .hover-light-blue:focus,.swagger-ui .hover-light-blue:hover{color:#96ccff}.swagger-ui .hover-lightest-blue:focus,.swagger-ui .hover-lightest-blue:hover{color:#cdecff}.swagger-ui .hover-washed-blue:focus,.swagger-ui .hover-washed-blue:hover{color:#f6fffe}.swagger-ui .hover-washed-green:focus,.swagger-ui .hover-washed-green:hover{color:#e8fdf5}.swagger-ui .hover-washed-yellow:focus,.swagger-ui .hover-washed-yellow:hover{color:#fffceb}.swagger-ui .hover-washed-red:focus,.swagger-ui .hover-washed-red:hover{color:#ffdfdf}.swagger-ui .hover-bg-dark-red:focus,.swagger-ui .hover-bg-dark-red:hover{background-color:#e7040f}.swagger-ui .hover-bg-red:focus,.swagger-ui .hover-bg-red:hover{background-color:#ff4136}.swagger-ui .hover-bg-light-red:focus,.swagger-ui .hover-bg-light-red:hover{background-color:#ff725c}.swagger-ui .hover-bg-orange:focus,.swagger-ui .hover-bg-orange:hover{background-color:#ff6300}.swagger-ui .hover-bg-gold:focus,.swagger-ui .hover-bg-gold:hover{background-color:#ffb700}.swagger-ui .hover-bg-yellow:focus,.swagger-ui .hover-bg-yellow:hover{background-color:gold}.swagger-ui .hover-bg-light-yellow:focus,.swagger-ui .hover-bg-light-yellow:hover{background-color:#fbf1a9}.swagger-ui .hover-bg-purple:focus,.swagger-ui .hover-bg-purple:hover{background-color:#5e2ca5}.swagger-ui .hover-bg-light-purple:focus,.swagger-ui .hover-bg-light-purple:hover{background-color:#a463f2}.swagger-ui .hover-bg-dark-pink:focus,.swagger-ui .hover-bg-dark-pink:hover{background-color:#d5008f}.swagger-ui .hover-bg-hot-pink:focus,.swagger-ui .hover-bg-hot-pink:hover{background-color:#ff41b4}.swagger-ui .hover-bg-pink:focus,.swagger-ui .hover-bg-pink:hover{background-color:#ff80cc}.swagger-ui .hover-bg-light-pink:focus,.swagger-ui .hover-bg-light-pink:hover{background-color:#ffa3d7}.swagger-ui .hover-bg-dark-green:focus,.swagger-ui .hover-bg-dark-green:hover{background-color:#137752}.swagger-ui .hover-bg-green:focus,.swagger-ui .hover-bg-green:hover{background-color:#19a974}.swagger-ui .hover-bg-light-green:focus,.swagger-ui .hover-bg-light-green:hover{background-color:#9eebcf}.swagger-ui .hover-bg-navy:focus,.swagger-ui .hover-bg-navy:hover{background-color:#001b44}.swagger-ui .hover-bg-dark-blue:focus,.swagger-ui .hover-bg-dark-blue:hover{background-color:#00449e}.swagger-ui .hover-bg-blue:focus,.swagger-ui .hover-bg-blue:hover{background-color:#357edd}.swagger-ui .hover-bg-light-blue:focus,.swagger-ui .hover-bg-light-blue:hover{background-color:#96ccff}.swagger-ui .hover-bg-lightest-blue:focus,.swagger-ui .hover-bg-lightest-blue:hover{background-color:#cdecff}.swagger-ui .hover-bg-washed-blue:focus,.swagger-ui .hover-bg-washed-blue:hover{background-color:#f6fffe}.swagger-ui .hover-bg-washed-green:focus,.swagger-ui .hover-bg-washed-green:hover{background-color:#e8fdf5}.swagger-ui .hover-bg-washed-yellow:focus,.swagger-ui .hover-bg-washed-yellow:hover{background-color:#fffceb}.swagger-ui .hover-bg-washed-red:focus,.swagger-ui .hover-bg-washed-red:hover{background-color:#ffdfdf}.swagger-ui .hover-bg-inherit:focus,.swagger-ui .hover-bg-inherit:hover{background-color:inherit}.swagger-ui .pa0{padding:0}.swagger-ui .pa1{padding:.25rem}.swagger-ui .pa2{padding:.5rem}.swagger-ui .pa3{padding:1rem}.swagger-ui .pa4{padding:2rem}.swagger-ui .pa5{padding:4rem}.swagger-ui .pa6{padding:8rem}.swagger-ui .pa7{padding:16rem}.swagger-ui .pl0{padding-left:0}.swagger-ui .pl1{padding-left:.25rem}.swagger-ui .pl2{padding-left:.5rem}.swagger-ui .pl3{padding-left:1rem}.swagger-ui .pl4{padding-left:2rem}.swagger-ui .pl5{padding-left:4rem}.swagger-ui .pl6{padding-left:8rem}.swagger-ui .pl7{padding-left:16rem}.swagger-ui .pr0{padding-right:0}.swagger-ui .pr1{padding-right:.25rem}.swagger-ui .pr2{padding-right:.5rem}.swagger-ui .pr3{padding-right:1rem}.swagger-ui .pr4{padding-right:2rem}.swagger-ui .pr5{padding-right:4rem}.swagger-ui .pr6{padding-right:8rem}.swagger-ui .pr7{padding-right:16rem}.swagger-ui .pb0{padding-bottom:0}.swagger-ui .pb1{padding-bottom:.25rem}.swagger-ui .pb2{padding-bottom:.5rem}.swagger-ui .pb3{padding-bottom:1rem}.swagger-ui .pb4{padding-bottom:2rem}.swagger-ui .pb5{padding-bottom:4rem}.swagger-ui .pb6{padding-bottom:8rem}.swagger-ui .pb7{padding-bottom:16rem}.swagger-ui .pt0{padding-top:0}.swagger-ui .pt1{padding-top:.25rem}.swagger-ui .pt2{padding-top:.5rem}.swagger-ui .pt3{padding-top:1rem}.swagger-ui .pt4{padding-top:2rem}.swagger-ui .pt5{padding-top:4rem}.swagger-ui .pt6{padding-top:8rem}.swagger-ui .pt7{padding-top:16rem}.swagger-ui .pv0{padding-bottom:0;padding-top:0}.swagger-ui .pv1{padding-bottom:.25rem;padding-top:.25rem}.swagger-ui .pv2{padding-bottom:.5rem;padding-top:.5rem}.swagger-ui .pv3{padding-bottom:1rem;padding-top:1rem}.swagger-ui .pv4{padding-bottom:2rem;padding-top:2rem}.swagger-ui .pv5{padding-bottom:4rem;padding-top:4rem}.swagger-ui .pv6{padding-bottom:8rem;padding-top:8rem}.swagger-ui .pv7{padding-bottom:16rem;padding-top:16rem}.swagger-ui .ph0{padding-left:0;padding-right:0}.swagger-ui .ph1{padding-left:.25rem;padding-right:.25rem}.swagger-ui .ph2{padding-left:.5rem;padding-right:.5rem}.swagger-ui .ph3{padding-left:1rem;padding-right:1rem}.swagger-ui .ph4{padding-left:2rem;padding-right:2rem}.swagger-ui .ph5{padding-left:4rem;padding-right:4rem}.swagger-ui .ph6{padding-left:8rem;padding-right:8rem}.swagger-ui .ph7{padding-left:16rem;padding-right:16rem}.swagger-ui .ma0{margin:0}.swagger-ui .ma1{margin:.25rem}.swagger-ui .ma2{margin:.5rem}.swagger-ui .ma3{margin:1rem}.swagger-ui .ma4{margin:2rem}.swagger-ui .ma5{margin:4rem}.swagger-ui .ma6{margin:8rem}.swagger-ui .ma7{margin:16rem}.swagger-ui .ml0{margin-left:0}.swagger-ui .ml1{margin-left:.25rem}.swagger-ui .ml2{margin-left:.5rem}.swagger-ui .ml3{margin-left:1rem}.swagger-ui .ml4{margin-left:2rem}.swagger-ui .ml5{margin-left:4rem}.swagger-ui .ml6{margin-left:8rem}.swagger-ui .ml7{margin-left:16rem}.swagger-ui .mr0{margin-right:0}.swagger-ui .mr1{margin-right:.25rem}.swagger-ui .mr2{margin-right:.5rem}.swagger-ui .mr3{margin-right:1rem}.swagger-ui .mr4{margin-right:2rem}.swagger-ui .mr5{margin-right:4rem}.swagger-ui .mr6{margin-right:8rem}.swagger-ui .mr7{margin-right:16rem}.swagger-ui .mb0{margin-bottom:0}.swagger-ui .mb1{margin-bottom:.25rem}.swagger-ui .mb2{margin-bottom:.5rem}.swagger-ui .mb3{margin-bottom:1rem}.swagger-ui .mb4{margin-bottom:2rem}.swagger-ui .mb5{margin-bottom:4rem}.swagger-ui .mb6{margin-bottom:8rem}.swagger-ui .mb7{margin-bottom:16rem}.swagger-ui .mt0{margin-top:0}.swagger-ui .mt1{margin-top:.25rem}.swagger-ui .mt2{margin-top:.5rem}.swagger-ui .mt3{margin-top:1rem}.swagger-ui .mt4{margin-top:2rem}.swagger-ui .mt5{margin-top:4rem}.swagger-ui .mt6{margin-top:8rem}.swagger-ui .mt7{margin-top:16rem}.swagger-ui .mv0{margin-bottom:0;margin-top:0}.swagger-ui .mv1{margin-bottom:.25rem;margin-top:.25rem}.swagger-ui .mv2{margin-bottom:.5rem;margin-top:.5rem}.swagger-ui .mv3{margin-bottom:1rem;margin-top:1rem}.swagger-ui .mv4{margin-bottom:2rem;margin-top:2rem}.swagger-ui .mv5{margin-bottom:4rem;margin-top:4rem}.swagger-ui .mv6{margin-bottom:8rem;margin-top:8rem}.swagger-ui .mv7{margin-bottom:16rem;margin-top:16rem}.swagger-ui .mh0{margin-left:0;margin-right:0}.swagger-ui .mh1{margin-left:.25rem;margin-right:.25rem}.swagger-ui .mh2{margin-left:.5rem;margin-right:.5rem}.swagger-ui .mh3{margin-left:1rem;margin-right:1rem}.swagger-ui .mh4{margin-left:2rem;margin-right:2rem}.swagger-ui .mh5{margin-left:4rem;margin-right:4rem}.swagger-ui .mh6{margin-left:8rem;margin-right:8rem}.swagger-ui .mh7{margin-left:16rem;margin-right:16rem}@media screen and (min-width:30em){.swagger-ui .pa0-ns{padding:0}.swagger-ui .pa1-ns{padding:.25rem}.swagger-ui .pa2-ns{padding:.5rem}.swagger-ui .pa3-ns{padding:1rem}.swagger-ui .pa4-ns{padding:2rem}.swagger-ui .pa5-ns{padding:4rem}.swagger-ui .pa6-ns{padding:8rem}.swagger-ui .pa7-ns{padding:16rem}.swagger-ui .pl0-ns{padding-left:0}.swagger-ui .pl1-ns{padding-left:.25rem}.swagger-ui .pl2-ns{padding-left:.5rem}.swagger-ui .pl3-ns{padding-left:1rem}.swagger-ui .pl4-ns{padding-left:2rem}.swagger-ui .pl5-ns{padding-left:4rem}.swagger-ui .pl6-ns{padding-left:8rem}.swagger-ui .pl7-ns{padding-left:16rem}.swagger-ui .pr0-ns{padding-right:0}.swagger-ui .pr1-ns{padding-right:.25rem}.swagger-ui .pr2-ns{padding-right:.5rem}.swagger-ui .pr3-ns{padding-right:1rem}.swagger-ui .pr4-ns{padding-right:2rem}.swagger-ui .pr5-ns{padding-right:4rem}.swagger-ui .pr6-ns{padding-right:8rem}.swagger-ui .pr7-ns{padding-right:16rem}.swagger-ui .pb0-ns{padding-bottom:0}.swagger-ui .pb1-ns{padding-bottom:.25rem}.swagger-ui .pb2-ns{padding-bottom:.5rem}.swagger-ui .pb3-ns{padding-bottom:1rem}.swagger-ui .pb4-ns{padding-bottom:2rem}.swagger-ui .pb5-ns{padding-bottom:4rem}.swagger-ui .pb6-ns{padding-bottom:8rem}.swagger-ui .pb7-ns{padding-bottom:16rem}.swagger-ui .pt0-ns{padding-top:0}.swagger-ui .pt1-ns{padding-top:.25rem}.swagger-ui .pt2-ns{padding-top:.5rem}.swagger-ui .pt3-ns{padding-top:1rem}.swagger-ui .pt4-ns{padding-top:2rem}.swagger-ui .pt5-ns{padding-top:4rem}.swagger-ui .pt6-ns{padding-top:8rem}.swagger-ui .pt7-ns{padding-top:16rem}.swagger-ui .pv0-ns{padding-bottom:0;padding-top:0}.swagger-ui .pv1-ns{padding-bottom:.25rem;padding-top:.25rem}.swagger-ui .pv2-ns{padding-bottom:.5rem;padding-top:.5rem}.swagger-ui .pv3-ns{padding-bottom:1rem;padding-top:1rem}.swagger-ui .pv4-ns{padding-bottom:2rem;padding-top:2rem}.swagger-ui .pv5-ns{padding-bottom:4rem;padding-top:4rem}.swagger-ui .pv6-ns{padding-bottom:8rem;padding-top:8rem}.swagger-ui .pv7-ns{padding-bottom:16rem;padding-top:16rem}.swagger-ui .ph0-ns{padding-left:0;padding-right:0}.swagger-ui .ph1-ns{padding-left:.25rem;padding-right:.25rem}.swagger-ui .ph2-ns{padding-left:.5rem;padding-right:.5rem}.swagger-ui .ph3-ns{padding-left:1rem;padding-right:1rem}.swagger-ui .ph4-ns{padding-left:2rem;padding-right:2rem}.swagger-ui .ph5-ns{padding-left:4rem;padding-right:4rem}.swagger-ui .ph6-ns{padding-left:8rem;padding-right:8rem}.swagger-ui .ph7-ns{padding-left:16rem;padding-right:16rem}.swagger-ui .ma0-ns{margin:0}.swagger-ui .ma1-ns{margin:.25rem}.swagger-ui .ma2-ns{margin:.5rem}.swagger-ui .ma3-ns{margin:1rem}.swagger-ui .ma4-ns{margin:2rem}.swagger-ui .ma5-ns{margin:4rem}.swagger-ui .ma6-ns{margin:8rem}.swagger-ui .ma7-ns{margin:16rem}.swagger-ui .ml0-ns{margin-left:0}.swagger-ui .ml1-ns{margin-left:.25rem}.swagger-ui .ml2-ns{margin-left:.5rem}.swagger-ui .ml3-ns{margin-left:1rem}.swagger-ui .ml4-ns{margin-left:2rem}.swagger-ui .ml5-ns{margin-left:4rem}.swagger-ui .ml6-ns{margin-left:8rem}.swagger-ui .ml7-ns{margin-left:16rem}.swagger-ui .mr0-ns{margin-right:0}.swagger-ui .mr1-ns{margin-right:.25rem}.swagger-ui .mr2-ns{margin-right:.5rem}.swagger-ui .mr3-ns{margin-right:1rem}.swagger-ui .mr4-ns{margin-right:2rem}.swagger-ui .mr5-ns{margin-right:4rem}.swagger-ui .mr6-ns{margin-right:8rem}.swagger-ui .mr7-ns{margin-right:16rem}.swagger-ui .mb0-ns{margin-bottom:0}.swagger-ui .mb1-ns{margin-bottom:.25rem}.swagger-ui .mb2-ns{margin-bottom:.5rem}.swagger-ui .mb3-ns{margin-bottom:1rem}.swagger-ui .mb4-ns{margin-bottom:2rem}.swagger-ui .mb5-ns{margin-bottom:4rem}.swagger-ui .mb6-ns{margin-bottom:8rem}.swagger-ui .mb7-ns{margin-bottom:16rem}.swagger-ui .mt0-ns{margin-top:0}.swagger-ui .mt1-ns{margin-top:.25rem}.swagger-ui .mt2-ns{margin-top:.5rem}.swagger-ui .mt3-ns{margin-top:1rem}.swagger-ui .mt4-ns{margin-top:2rem}.swagger-ui .mt5-ns{margin-top:4rem}.swagger-ui .mt6-ns{margin-top:8rem}.swagger-ui .mt7-ns{margin-top:16rem}.swagger-ui .mv0-ns{margin-bottom:0;margin-top:0}.swagger-ui .mv1-ns{margin-bottom:.25rem;margin-top:.25rem}.swagger-ui .mv2-ns{margin-bottom:.5rem;margin-top:.5rem}.swagger-ui .mv3-ns{margin-bottom:1rem;margin-top:1rem}.swagger-ui .mv4-ns{margin-bottom:2rem;margin-top:2rem}.swagger-ui .mv5-ns{margin-bottom:4rem;margin-top:4rem}.swagger-ui .mv6-ns{margin-bottom:8rem;margin-top:8rem}.swagger-ui .mv7-ns{margin-bottom:16rem;margin-top:16rem}.swagger-ui .mh0-ns{margin-left:0;margin-right:0}.swagger-ui .mh1-ns{margin-left:.25rem;margin-right:.25rem}.swagger-ui .mh2-ns{margin-left:.5rem;margin-right:.5rem}.swagger-ui .mh3-ns{margin-left:1rem;margin-right:1rem}.swagger-ui .mh4-ns{margin-left:2rem;margin-right:2rem}.swagger-ui .mh5-ns{margin-left:4rem;margin-right:4rem}.swagger-ui .mh6-ns{margin-left:8rem;margin-right:8rem}.swagger-ui .mh7-ns{margin-left:16rem;margin-right:16rem}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .pa0-m{padding:0}.swagger-ui .pa1-m{padding:.25rem}.swagger-ui .pa2-m{padding:.5rem}.swagger-ui .pa3-m{padding:1rem}.swagger-ui .pa4-m{padding:2rem}.swagger-ui .pa5-m{padding:4rem}.swagger-ui .pa6-m{padding:8rem}.swagger-ui .pa7-m{padding:16rem}.swagger-ui .pl0-m{padding-left:0}.swagger-ui .pl1-m{padding-left:.25rem}.swagger-ui .pl2-m{padding-left:.5rem}.swagger-ui .pl3-m{padding-left:1rem}.swagger-ui .pl4-m{padding-left:2rem}.swagger-ui .pl5-m{padding-left:4rem}.swagger-ui .pl6-m{padding-left:8rem}.swagger-ui .pl7-m{padding-left:16rem}.swagger-ui .pr0-m{padding-right:0}.swagger-ui .pr1-m{padding-right:.25rem}.swagger-ui .pr2-m{padding-right:.5rem}.swagger-ui .pr3-m{padding-right:1rem}.swagger-ui .pr4-m{padding-right:2rem}.swagger-ui .pr5-m{padding-right:4rem}.swagger-ui .pr6-m{padding-right:8rem}.swagger-ui .pr7-m{padding-right:16rem}.swagger-ui .pb0-m{padding-bottom:0}.swagger-ui .pb1-m{padding-bottom:.25rem}.swagger-ui .pb2-m{padding-bottom:.5rem}.swagger-ui .pb3-m{padding-bottom:1rem}.swagger-ui .pb4-m{padding-bottom:2rem}.swagger-ui .pb5-m{padding-bottom:4rem}.swagger-ui .pb6-m{padding-bottom:8rem}.swagger-ui .pb7-m{padding-bottom:16rem}.swagger-ui .pt0-m{padding-top:0}.swagger-ui .pt1-m{padding-top:.25rem}.swagger-ui .pt2-m{padding-top:.5rem}.swagger-ui .pt3-m{padding-top:1rem}.swagger-ui .pt4-m{padding-top:2rem}.swagger-ui .pt5-m{padding-top:4rem}.swagger-ui .pt6-m{padding-top:8rem}.swagger-ui .pt7-m{padding-top:16rem}.swagger-ui .pv0-m{padding-bottom:0;padding-top:0}.swagger-ui .pv1-m{padding-bottom:.25rem;padding-top:.25rem}.swagger-ui .pv2-m{padding-bottom:.5rem;padding-top:.5rem}.swagger-ui .pv3-m{padding-bottom:1rem;padding-top:1rem}.swagger-ui .pv4-m{padding-bottom:2rem;padding-top:2rem}.swagger-ui .pv5-m{padding-bottom:4rem;padding-top:4rem}.swagger-ui .pv6-m{padding-bottom:8rem;padding-top:8rem}.swagger-ui .pv7-m{padding-bottom:16rem;padding-top:16rem}.swagger-ui .ph0-m{padding-left:0;padding-right:0}.swagger-ui .ph1-m{padding-left:.25rem;padding-right:.25rem}.swagger-ui .ph2-m{padding-left:.5rem;padding-right:.5rem}.swagger-ui .ph3-m{padding-left:1rem;padding-right:1rem}.swagger-ui .ph4-m{padding-left:2rem;padding-right:2rem}.swagger-ui .ph5-m{padding-left:4rem;padding-right:4rem}.swagger-ui .ph6-m{padding-left:8rem;padding-right:8rem}.swagger-ui .ph7-m{padding-left:16rem;padding-right:16rem}.swagger-ui .ma0-m{margin:0}.swagger-ui .ma1-m{margin:.25rem}.swagger-ui .ma2-m{margin:.5rem}.swagger-ui .ma3-m{margin:1rem}.swagger-ui .ma4-m{margin:2rem}.swagger-ui .ma5-m{margin:4rem}.swagger-ui .ma6-m{margin:8rem}.swagger-ui .ma7-m{margin:16rem}.swagger-ui .ml0-m{margin-left:0}.swagger-ui .ml1-m{margin-left:.25rem}.swagger-ui .ml2-m{margin-left:.5rem}.swagger-ui .ml3-m{margin-left:1rem}.swagger-ui .ml4-m{margin-left:2rem}.swagger-ui .ml5-m{margin-left:4rem}.swagger-ui .ml6-m{margin-left:8rem}.swagger-ui .ml7-m{margin-left:16rem}.swagger-ui .mr0-m{margin-right:0}.swagger-ui .mr1-m{margin-right:.25rem}.swagger-ui .mr2-m{margin-right:.5rem}.swagger-ui .mr3-m{margin-right:1rem}.swagger-ui .mr4-m{margin-right:2rem}.swagger-ui .mr5-m{margin-right:4rem}.swagger-ui .mr6-m{margin-right:8rem}.swagger-ui .mr7-m{margin-right:16rem}.swagger-ui .mb0-m{margin-bottom:0}.swagger-ui .mb1-m{margin-bottom:.25rem}.swagger-ui .mb2-m{margin-bottom:.5rem}.swagger-ui .mb3-m{margin-bottom:1rem}.swagger-ui .mb4-m{margin-bottom:2rem}.swagger-ui .mb5-m{margin-bottom:4rem}.swagger-ui .mb6-m{margin-bottom:8rem}.swagger-ui .mb7-m{margin-bottom:16rem}.swagger-ui .mt0-m{margin-top:0}.swagger-ui .mt1-m{margin-top:.25rem}.swagger-ui .mt2-m{margin-top:.5rem}.swagger-ui .mt3-m{margin-top:1rem}.swagger-ui .mt4-m{margin-top:2rem}.swagger-ui .mt5-m{margin-top:4rem}.swagger-ui .mt6-m{margin-top:8rem}.swagger-ui .mt7-m{margin-top:16rem}.swagger-ui .mv0-m{margin-bottom:0;margin-top:0}.swagger-ui .mv1-m{margin-bottom:.25rem;margin-top:.25rem}.swagger-ui .mv2-m{margin-bottom:.5rem;margin-top:.5rem}.swagger-ui .mv3-m{margin-bottom:1rem;margin-top:1rem}.swagger-ui .mv4-m{margin-bottom:2rem;margin-top:2rem}.swagger-ui .mv5-m{margin-bottom:4rem;margin-top:4rem}.swagger-ui .mv6-m{margin-bottom:8rem;margin-top:8rem}.swagger-ui .mv7-m{margin-bottom:16rem;margin-top:16rem}.swagger-ui .mh0-m{margin-left:0;margin-right:0}.swagger-ui .mh1-m{margin-left:.25rem;margin-right:.25rem}.swagger-ui .mh2-m{margin-left:.5rem;margin-right:.5rem}.swagger-ui .mh3-m{margin-left:1rem;margin-right:1rem}.swagger-ui .mh4-m{margin-left:2rem;margin-right:2rem}.swagger-ui .mh5-m{margin-left:4rem;margin-right:4rem}.swagger-ui .mh6-m{margin-left:8rem;margin-right:8rem}.swagger-ui .mh7-m{margin-left:16rem;margin-right:16rem}}@media screen and (min-width:60em){.swagger-ui .pa0-l{padding:0}.swagger-ui .pa1-l{padding:.25rem}.swagger-ui .pa2-l{padding:.5rem}.swagger-ui .pa3-l{padding:1rem}.swagger-ui .pa4-l{padding:2rem}.swagger-ui .pa5-l{padding:4rem}.swagger-ui .pa6-l{padding:8rem}.swagger-ui .pa7-l{padding:16rem}.swagger-ui .pl0-l{padding-left:0}.swagger-ui .pl1-l{padding-left:.25rem}.swagger-ui .pl2-l{padding-left:.5rem}.swagger-ui .pl3-l{padding-left:1rem}.swagger-ui .pl4-l{padding-left:2rem}.swagger-ui .pl5-l{padding-left:4rem}.swagger-ui .pl6-l{padding-left:8rem}.swagger-ui .pl7-l{padding-left:16rem}.swagger-ui .pr0-l{padding-right:0}.swagger-ui .pr1-l{padding-right:.25rem}.swagger-ui .pr2-l{padding-right:.5rem}.swagger-ui .pr3-l{padding-right:1rem}.swagger-ui .pr4-l{padding-right:2rem}.swagger-ui .pr5-l{padding-right:4rem}.swagger-ui .pr6-l{padding-right:8rem}.swagger-ui .pr7-l{padding-right:16rem}.swagger-ui .pb0-l{padding-bottom:0}.swagger-ui .pb1-l{padding-bottom:.25rem}.swagger-ui .pb2-l{padding-bottom:.5rem}.swagger-ui .pb3-l{padding-bottom:1rem}.swagger-ui .pb4-l{padding-bottom:2rem}.swagger-ui .pb5-l{padding-bottom:4rem}.swagger-ui .pb6-l{padding-bottom:8rem}.swagger-ui .pb7-l{padding-bottom:16rem}.swagger-ui .pt0-l{padding-top:0}.swagger-ui .pt1-l{padding-top:.25rem}.swagger-ui .pt2-l{padding-top:.5rem}.swagger-ui .pt3-l{padding-top:1rem}.swagger-ui .pt4-l{padding-top:2rem}.swagger-ui .pt5-l{padding-top:4rem}.swagger-ui .pt6-l{padding-top:8rem}.swagger-ui .pt7-l{padding-top:16rem}.swagger-ui .pv0-l{padding-bottom:0;padding-top:0}.swagger-ui .pv1-l{padding-bottom:.25rem;padding-top:.25rem}.swagger-ui .pv2-l{padding-bottom:.5rem;padding-top:.5rem}.swagger-ui .pv3-l{padding-bottom:1rem;padding-top:1rem}.swagger-ui .pv4-l{padding-bottom:2rem;padding-top:2rem}.swagger-ui .pv5-l{padding-bottom:4rem;padding-top:4rem}.swagger-ui .pv6-l{padding-bottom:8rem;padding-top:8rem}.swagger-ui .pv7-l{padding-bottom:16rem;padding-top:16rem}.swagger-ui .ph0-l{padding-left:0;padding-right:0}.swagger-ui .ph1-l{padding-left:.25rem;padding-right:.25rem}.swagger-ui .ph2-l{padding-left:.5rem;padding-right:.5rem}.swagger-ui .ph3-l{padding-left:1rem;padding-right:1rem}.swagger-ui .ph4-l{padding-left:2rem;padding-right:2rem}.swagger-ui .ph5-l{padding-left:4rem;padding-right:4rem}.swagger-ui .ph6-l{padding-left:8rem;padding-right:8rem}.swagger-ui .ph7-l{padding-left:16rem;padding-right:16rem}.swagger-ui .ma0-l{margin:0}.swagger-ui .ma1-l{margin:.25rem}.swagger-ui .ma2-l{margin:.5rem}.swagger-ui .ma3-l{margin:1rem}.swagger-ui .ma4-l{margin:2rem}.swagger-ui .ma5-l{margin:4rem}.swagger-ui .ma6-l{margin:8rem}.swagger-ui .ma7-l{margin:16rem}.swagger-ui .ml0-l{margin-left:0}.swagger-ui .ml1-l{margin-left:.25rem}.swagger-ui .ml2-l{margin-left:.5rem}.swagger-ui .ml3-l{margin-left:1rem}.swagger-ui .ml4-l{margin-left:2rem}.swagger-ui .ml5-l{margin-left:4rem}.swagger-ui .ml6-l{margin-left:8rem}.swagger-ui .ml7-l{margin-left:16rem}.swagger-ui .mr0-l{margin-right:0}.swagger-ui .mr1-l{margin-right:.25rem}.swagger-ui .mr2-l{margin-right:.5rem}.swagger-ui .mr3-l{margin-right:1rem}.swagger-ui .mr4-l{margin-right:2rem}.swagger-ui .mr5-l{margin-right:4rem}.swagger-ui .mr6-l{margin-right:8rem}.swagger-ui .mr7-l{margin-right:16rem}.swagger-ui .mb0-l{margin-bottom:0}.swagger-ui .mb1-l{margin-bottom:.25rem}.swagger-ui .mb2-l{margin-bottom:.5rem}.swagger-ui .mb3-l{margin-bottom:1rem}.swagger-ui .mb4-l{margin-bottom:2rem}.swagger-ui .mb5-l{margin-bottom:4rem}.swagger-ui .mb6-l{margin-bottom:8rem}.swagger-ui .mb7-l{margin-bottom:16rem}.swagger-ui .mt0-l{margin-top:0}.swagger-ui .mt1-l{margin-top:.25rem}.swagger-ui .mt2-l{margin-top:.5rem}.swagger-ui .mt3-l{margin-top:1rem}.swagger-ui .mt4-l{margin-top:2rem}.swagger-ui .mt5-l{margin-top:4rem}.swagger-ui .mt6-l{margin-top:8rem}.swagger-ui .mt7-l{margin-top:16rem}.swagger-ui .mv0-l{margin-bottom:0;margin-top:0}.swagger-ui .mv1-l{margin-bottom:.25rem;margin-top:.25rem}.swagger-ui .mv2-l{margin-bottom:.5rem;margin-top:.5rem}.swagger-ui .mv3-l{margin-bottom:1rem;margin-top:1rem}.swagger-ui .mv4-l{margin-bottom:2rem;margin-top:2rem}.swagger-ui .mv5-l{margin-bottom:4rem;margin-top:4rem}.swagger-ui .mv6-l{margin-bottom:8rem;margin-top:8rem}.swagger-ui .mv7-l{margin-bottom:16rem;margin-top:16rem}.swagger-ui .mh0-l{margin-left:0;margin-right:0}.swagger-ui .mh1-l{margin-left:.25rem;margin-right:.25rem}.swagger-ui .mh2-l{margin-left:.5rem;margin-right:.5rem}.swagger-ui .mh3-l{margin-left:1rem;margin-right:1rem}.swagger-ui .mh4-l{margin-left:2rem;margin-right:2rem}.swagger-ui .mh5-l{margin-left:4rem;margin-right:4rem}.swagger-ui .mh6-l{margin-left:8rem;margin-right:8rem}.swagger-ui .mh7-l{margin-left:16rem;margin-right:16rem}}.swagger-ui .na1{margin:-.25rem}.swagger-ui .na2{margin:-.5rem}.swagger-ui .na3{margin:-1rem}.swagger-ui .na4{margin:-2rem}.swagger-ui .na5{margin:-4rem}.swagger-ui .na6{margin:-8rem}.swagger-ui .na7{margin:-16rem}.swagger-ui .nl1{margin-left:-.25rem}.swagger-ui .nl2{margin-left:-.5rem}.swagger-ui .nl3{margin-left:-1rem}.swagger-ui .nl4{margin-left:-2rem}.swagger-ui .nl5{margin-left:-4rem}.swagger-ui .nl6{margin-left:-8rem}.swagger-ui .nl7{margin-left:-16rem}.swagger-ui .nr1{margin-right:-.25rem}.swagger-ui .nr2{margin-right:-.5rem}.swagger-ui .nr3{margin-right:-1rem}.swagger-ui .nr4{margin-right:-2rem}.swagger-ui .nr5{margin-right:-4rem}.swagger-ui .nr6{margin-right:-8rem}.swagger-ui .nr7{margin-right:-16rem}.swagger-ui .nb1{margin-bottom:-.25rem}.swagger-ui .nb2{margin-bottom:-.5rem}.swagger-ui .nb3{margin-bottom:-1rem}.swagger-ui .nb4{margin-bottom:-2rem}.swagger-ui .nb5{margin-bottom:-4rem}.swagger-ui .nb6{margin-bottom:-8rem}.swagger-ui .nb7{margin-bottom:-16rem}.swagger-ui .nt1{margin-top:-.25rem}.swagger-ui .nt2{margin-top:-.5rem}.swagger-ui .nt3{margin-top:-1rem}.swagger-ui .nt4{margin-top:-2rem}.swagger-ui .nt5{margin-top:-4rem}.swagger-ui .nt6{margin-top:-8rem}.swagger-ui .nt7{margin-top:-16rem}@media screen and (min-width:30em){.swagger-ui .na1-ns{margin:-.25rem}.swagger-ui .na2-ns{margin:-.5rem}.swagger-ui .na3-ns{margin:-1rem}.swagger-ui .na4-ns{margin:-2rem}.swagger-ui .na5-ns{margin:-4rem}.swagger-ui .na6-ns{margin:-8rem}.swagger-ui .na7-ns{margin:-16rem}.swagger-ui .nl1-ns{margin-left:-.25rem}.swagger-ui .nl2-ns{margin-left:-.5rem}.swagger-ui .nl3-ns{margin-left:-1rem}.swagger-ui .nl4-ns{margin-left:-2rem}.swagger-ui .nl5-ns{margin-left:-4rem}.swagger-ui .nl6-ns{margin-left:-8rem}.swagger-ui .nl7-ns{margin-left:-16rem}.swagger-ui .nr1-ns{margin-right:-.25rem}.swagger-ui .nr2-ns{margin-right:-.5rem}.swagger-ui .nr3-ns{margin-right:-1rem}.swagger-ui .nr4-ns{margin-right:-2rem}.swagger-ui .nr5-ns{margin-right:-4rem}.swagger-ui .nr6-ns{margin-right:-8rem}.swagger-ui .nr7-ns{margin-right:-16rem}.swagger-ui .nb1-ns{margin-bottom:-.25rem}.swagger-ui .nb2-ns{margin-bottom:-.5rem}.swagger-ui .nb3-ns{margin-bottom:-1rem}.swagger-ui .nb4-ns{margin-bottom:-2rem}.swagger-ui .nb5-ns{margin-bottom:-4rem}.swagger-ui .nb6-ns{margin-bottom:-8rem}.swagger-ui .nb7-ns{margin-bottom:-16rem}.swagger-ui .nt1-ns{margin-top:-.25rem}.swagger-ui .nt2-ns{margin-top:-.5rem}.swagger-ui .nt3-ns{margin-top:-1rem}.swagger-ui .nt4-ns{margin-top:-2rem}.swagger-ui .nt5-ns{margin-top:-4rem}.swagger-ui .nt6-ns{margin-top:-8rem}.swagger-ui .nt7-ns{margin-top:-16rem}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .na1-m{margin:-.25rem}.swagger-ui .na2-m{margin:-.5rem}.swagger-ui .na3-m{margin:-1rem}.swagger-ui .na4-m{margin:-2rem}.swagger-ui .na5-m{margin:-4rem}.swagger-ui .na6-m{margin:-8rem}.swagger-ui .na7-m{margin:-16rem}.swagger-ui .nl1-m{margin-left:-.25rem}.swagger-ui .nl2-m{margin-left:-.5rem}.swagger-ui .nl3-m{margin-left:-1rem}.swagger-ui .nl4-m{margin-left:-2rem}.swagger-ui .nl5-m{margin-left:-4rem}.swagger-ui .nl6-m{margin-left:-8rem}.swagger-ui .nl7-m{margin-left:-16rem}.swagger-ui .nr1-m{margin-right:-.25rem}.swagger-ui .nr2-m{margin-right:-.5rem}.swagger-ui .nr3-m{margin-right:-1rem}.swagger-ui .nr4-m{margin-right:-2rem}.swagger-ui .nr5-m{margin-right:-4rem}.swagger-ui .nr6-m{margin-right:-8rem}.swagger-ui .nr7-m{margin-right:-16rem}.swagger-ui .nb1-m{margin-bottom:-.25rem}.swagger-ui .nb2-m{margin-bottom:-.5rem}.swagger-ui .nb3-m{margin-bottom:-1rem}.swagger-ui .nb4-m{margin-bottom:-2rem}.swagger-ui .nb5-m{margin-bottom:-4rem}.swagger-ui .nb6-m{margin-bottom:-8rem}.swagger-ui .nb7-m{margin-bottom:-16rem}.swagger-ui .nt1-m{margin-top:-.25rem}.swagger-ui .nt2-m{margin-top:-.5rem}.swagger-ui .nt3-m{margin-top:-1rem}.swagger-ui .nt4-m{margin-top:-2rem}.swagger-ui .nt5-m{margin-top:-4rem}.swagger-ui .nt6-m{margin-top:-8rem}.swagger-ui .nt7-m{margin-top:-16rem}}@media screen and (min-width:60em){.swagger-ui .na1-l{margin:-.25rem}.swagger-ui .na2-l{margin:-.5rem}.swagger-ui .na3-l{margin:-1rem}.swagger-ui .na4-l{margin:-2rem}.swagger-ui .na5-l{margin:-4rem}.swagger-ui .na6-l{margin:-8rem}.swagger-ui .na7-l{margin:-16rem}.swagger-ui .nl1-l{margin-left:-.25rem}.swagger-ui .nl2-l{margin-left:-.5rem}.swagger-ui .nl3-l{margin-left:-1rem}.swagger-ui .nl4-l{margin-left:-2rem}.swagger-ui .nl5-l{margin-left:-4rem}.swagger-ui .nl6-l{margin-left:-8rem}.swagger-ui .nl7-l{margin-left:-16rem}.swagger-ui .nr1-l{margin-right:-.25rem}.swagger-ui .nr2-l{margin-right:-.5rem}.swagger-ui .nr3-l{margin-right:-1rem}.swagger-ui .nr4-l{margin-right:-2rem}.swagger-ui .nr5-l{margin-right:-4rem}.swagger-ui .nr6-l{margin-right:-8rem}.swagger-ui .nr7-l{margin-right:-16rem}.swagger-ui .nb1-l{margin-bottom:-.25rem}.swagger-ui .nb2-l{margin-bottom:-.5rem}.swagger-ui .nb3-l{margin-bottom:-1rem}.swagger-ui .nb4-l{margin-bottom:-2rem}.swagger-ui .nb5-l{margin-bottom:-4rem}.swagger-ui .nb6-l{margin-bottom:-8rem}.swagger-ui .nb7-l{margin-bottom:-16rem}.swagger-ui .nt1-l{margin-top:-.25rem}.swagger-ui .nt2-l{margin-top:-.5rem}.swagger-ui .nt3-l{margin-top:-1rem}.swagger-ui .nt4-l{margin-top:-2rem}.swagger-ui .nt5-l{margin-top:-4rem}.swagger-ui .nt6-l{margin-top:-8rem}.swagger-ui .nt7-l{margin-top:-16rem}}.swagger-ui .collapse{border-collapse:collapse;border-spacing:0}.swagger-ui .striped--light-silver:nth-child(odd){background-color:#aaa}.swagger-ui .striped--moon-gray:nth-child(odd){background-color:#ccc}.swagger-ui .striped--light-gray:nth-child(odd){background-color:#eee}.swagger-ui .striped--near-white:nth-child(odd){background-color:#f4f4f4}.swagger-ui .stripe-light:nth-child(odd){background-color:hsla(0,0%,100%,.1)}.swagger-ui .stripe-dark:nth-child(odd){background-color:rgba(0,0,0,.1)}.swagger-ui .strike{-webkit-text-decoration:line-through;text-decoration:line-through}.swagger-ui .underline{-webkit-text-decoration:underline;text-decoration:underline}.swagger-ui .no-underline{-webkit-text-decoration:none;text-decoration:none}@media screen and (min-width:30em){.swagger-ui .strike-ns{-webkit-text-decoration:line-through;text-decoration:line-through}.swagger-ui .underline-ns{-webkit-text-decoration:underline;text-decoration:underline}.swagger-ui .no-underline-ns{-webkit-text-decoration:none;text-decoration:none}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .strike-m{-webkit-text-decoration:line-through;text-decoration:line-through}.swagger-ui .underline-m{-webkit-text-decoration:underline;text-decoration:underline}.swagger-ui .no-underline-m{-webkit-text-decoration:none;text-decoration:none}}@media screen and (min-width:60em){.swagger-ui .strike-l{-webkit-text-decoration:line-through;text-decoration:line-through}.swagger-ui .underline-l{-webkit-text-decoration:underline;text-decoration:underline}.swagger-ui .no-underline-l{-webkit-text-decoration:none;text-decoration:none}}.swagger-ui .tl{text-align:left}.swagger-ui .tr{text-align:right}.swagger-ui .tc{text-align:center}.swagger-ui .tj{text-align:justify}@media screen and (min-width:30em){.swagger-ui .tl-ns{text-align:left}.swagger-ui .tr-ns{text-align:right}.swagger-ui .tc-ns{text-align:center}.swagger-ui .tj-ns{text-align:justify}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .tl-m{text-align:left}.swagger-ui .tr-m{text-align:right}.swagger-ui .tc-m{text-align:center}.swagger-ui .tj-m{text-align:justify}}@media screen and (min-width:60em){.swagger-ui .tl-l{text-align:left}.swagger-ui .tr-l{text-align:right}.swagger-ui .tc-l{text-align:center}.swagger-ui .tj-l{text-align:justify}}.swagger-ui .ttc{text-transform:capitalize}.swagger-ui .ttl{text-transform:lowercase}.swagger-ui .ttu{text-transform:uppercase}.swagger-ui .ttn{text-transform:none}@media screen and (min-width:30em){.swagger-ui .ttc-ns{text-transform:capitalize}.swagger-ui .ttl-ns{text-transform:lowercase}.swagger-ui .ttu-ns{text-transform:uppercase}.swagger-ui .ttn-ns{text-transform:none}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .ttc-m{text-transform:capitalize}.swagger-ui .ttl-m{text-transform:lowercase}.swagger-ui .ttu-m{text-transform:uppercase}.swagger-ui .ttn-m{text-transform:none}}@media screen and (min-width:60em){.swagger-ui .ttc-l{text-transform:capitalize}.swagger-ui .ttl-l{text-transform:lowercase}.swagger-ui .ttu-l{text-transform:uppercase}.swagger-ui .ttn-l{text-transform:none}}.swagger-ui .f-6,.swagger-ui .f-headline{font-size:6rem}.swagger-ui .f-5,.swagger-ui .f-subheadline{font-size:5rem}.swagger-ui .f1{font-size:3rem}.swagger-ui .f2{font-size:2.25rem}.swagger-ui .f3{font-size:1.5rem}.swagger-ui .f4{font-size:1.25rem}.swagger-ui .f5{font-size:1rem}.swagger-ui .f6{font-size:.875rem}.swagger-ui .f7{font-size:.75rem}@media screen and (min-width:30em){.swagger-ui .f-6-ns,.swagger-ui .f-headline-ns{font-size:6rem}.swagger-ui .f-5-ns,.swagger-ui .f-subheadline-ns{font-size:5rem}.swagger-ui .f1-ns{font-size:3rem}.swagger-ui .f2-ns{font-size:2.25rem}.swagger-ui .f3-ns{font-size:1.5rem}.swagger-ui .f4-ns{font-size:1.25rem}.swagger-ui .f5-ns{font-size:1rem}.swagger-ui .f6-ns{font-size:.875rem}.swagger-ui .f7-ns{font-size:.75rem}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .f-6-m,.swagger-ui .f-headline-m{font-size:6rem}.swagger-ui .f-5-m,.swagger-ui .f-subheadline-m{font-size:5rem}.swagger-ui .f1-m{font-size:3rem}.swagger-ui .f2-m{font-size:2.25rem}.swagger-ui .f3-m{font-size:1.5rem}.swagger-ui .f4-m{font-size:1.25rem}.swagger-ui .f5-m{font-size:1rem}.swagger-ui .f6-m{font-size:.875rem}.swagger-ui .f7-m{font-size:.75rem}}@media screen and (min-width:60em){.swagger-ui .f-6-l,.swagger-ui .f-headline-l{font-size:6rem}.swagger-ui .f-5-l,.swagger-ui .f-subheadline-l{font-size:5rem}.swagger-ui .f1-l{font-size:3rem}.swagger-ui .f2-l{font-size:2.25rem}.swagger-ui .f3-l{font-size:1.5rem}.swagger-ui .f4-l{font-size:1.25rem}.swagger-ui .f5-l{font-size:1rem}.swagger-ui .f6-l{font-size:.875rem}.swagger-ui .f7-l{font-size:.75rem}}.swagger-ui .measure{max-width:30em}.swagger-ui .measure-wide{max-width:34em}.swagger-ui .measure-narrow{max-width:20em}.swagger-ui .indent{margin-bottom:0;margin-top:0;text-indent:1em}.swagger-ui .small-caps{font-feature-settings:"smcp";font-variant:small-caps}.swagger-ui .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (min-width:30em){.swagger-ui .measure-ns{max-width:30em}.swagger-ui .measure-wide-ns{max-width:34em}.swagger-ui .measure-narrow-ns{max-width:20em}.swagger-ui .indent-ns{margin-bottom:0;margin-top:0;text-indent:1em}.swagger-ui .small-caps-ns{font-feature-settings:"smcp";font-variant:small-caps}.swagger-ui .truncate-ns{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .measure-m{max-width:30em}.swagger-ui .measure-wide-m{max-width:34em}.swagger-ui .measure-narrow-m{max-width:20em}.swagger-ui .indent-m{margin-bottom:0;margin-top:0;text-indent:1em}.swagger-ui .small-caps-m{font-feature-settings:"smcp";font-variant:small-caps}.swagger-ui .truncate-m{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media screen and (min-width:60em){.swagger-ui .measure-l{max-width:30em}.swagger-ui .measure-wide-l{max-width:34em}.swagger-ui .measure-narrow-l{max-width:20em}.swagger-ui .indent-l{margin-bottom:0;margin-top:0;text-indent:1em}.swagger-ui .small-caps-l{font-feature-settings:"smcp";font-variant:small-caps}.swagger-ui .truncate-l{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.swagger-ui .overflow-container{overflow-y:scroll}.swagger-ui .center{margin-left:auto;margin-right:auto}.swagger-ui .mr-auto{margin-right:auto}.swagger-ui .ml-auto{margin-left:auto}@media screen and (min-width:30em){.swagger-ui .center-ns{margin-left:auto;margin-right:auto}.swagger-ui .mr-auto-ns{margin-right:auto}.swagger-ui .ml-auto-ns{margin-left:auto}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .center-m{margin-left:auto;margin-right:auto}.swagger-ui .mr-auto-m{margin-right:auto}.swagger-ui .ml-auto-m{margin-left:auto}}@media screen and (min-width:60em){.swagger-ui .center-l{margin-left:auto;margin-right:auto}.swagger-ui .mr-auto-l{margin-right:auto}.swagger-ui .ml-auto-l{margin-left:auto}}.swagger-ui .clip{position:fixed!important}.swagger-ui .clip{clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px)}@media screen and (min-width:30em){.swagger-ui .clip-ns{position:fixed!important}.swagger-ui .clip-ns{clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px)}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .clip-m{position:fixed!important}.swagger-ui .clip-m{clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px)}}@media screen and (min-width:60em){.swagger-ui .clip-l{position:fixed!important}.swagger-ui .clip-l{clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px)}}.swagger-ui .ws-normal{white-space:normal}.swagger-ui .nowrap{white-space:nowrap}.swagger-ui .pre{white-space:pre}@media screen and (min-width:30em){.swagger-ui .ws-normal-ns{white-space:normal}.swagger-ui .nowrap-ns{white-space:nowrap}.swagger-ui .pre-ns{white-space:pre}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .ws-normal-m{white-space:normal}.swagger-ui .nowrap-m{white-space:nowrap}.swagger-ui .pre-m{white-space:pre}}@media screen and (min-width:60em){.swagger-ui .ws-normal-l{white-space:normal}.swagger-ui .nowrap-l{white-space:nowrap}.swagger-ui .pre-l{white-space:pre}}.swagger-ui .v-base{vertical-align:baseline}.swagger-ui .v-mid{vertical-align:middle}.swagger-ui .v-top{vertical-align:top}.swagger-ui .v-btm{vertical-align:bottom}@media screen and (min-width:30em){.swagger-ui .v-base-ns{vertical-align:baseline}.swagger-ui .v-mid-ns{vertical-align:middle}.swagger-ui .v-top-ns{vertical-align:top}.swagger-ui .v-btm-ns{vertical-align:bottom}}@media screen and (min-width:30em)and (max-width:60em){.swagger-ui .v-base-m{vertical-align:baseline}.swagger-ui .v-mid-m{vertical-align:middle}.swagger-ui .v-top-m{vertical-align:top}.swagger-ui .v-btm-m{vertical-align:bottom}}@media screen and (min-width:60em){.swagger-ui .v-base-l{vertical-align:baseline}.swagger-ui .v-mid-l{vertical-align:middle}.swagger-ui .v-top-l{vertical-align:top}.swagger-ui .v-btm-l{vertical-align:bottom}}.swagger-ui .dim{opacity:1;transition:opacity .15s ease-in}.swagger-ui .dim:focus,.swagger-ui .dim:hover{opacity:.5;transition:opacity .15s ease-in}.swagger-ui .dim:active{opacity:.8;transition:opacity .15s ease-out}.swagger-ui .glow{transition:opacity .15s ease-in}.swagger-ui .glow:focus,.swagger-ui .glow:hover{opacity:1;transition:opacity .15s ease-in}.swagger-ui .hide-child .child{opacity:0;transition:opacity .15s ease-in}.swagger-ui .hide-child:active .child,.swagger-ui .hide-child:focus .child,.swagger-ui .hide-child:hover .child{opacity:1;transition:opacity .15s ease-in}.swagger-ui .underline-hover:focus,.swagger-ui .underline-hover:hover{-webkit-text-decoration:underline;text-decoration:underline}.swagger-ui .grow{-moz-osx-font-smoothing:grayscale;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform:translateZ(0);transition:transform .25s ease-out}.swagger-ui .grow:focus,.swagger-ui .grow:hover{transform:scale(1.05)}.swagger-ui .grow:active{transform:scale(.9)}.swagger-ui .grow-large{-moz-osx-font-smoothing:grayscale;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform:translateZ(0);transition:transform .25s ease-in-out}.swagger-ui .grow-large:focus,.swagger-ui .grow-large:hover{transform:scale(1.2)}.swagger-ui .grow-large:active{transform:scale(.95)}.swagger-ui .pointer:hover{cursor:pointer}.swagger-ui .shadow-hover{cursor:pointer;position:relative;transition:all .5s cubic-bezier(.165,.84,.44,1)}.swagger-ui .shadow-hover:after{border-radius:inherit;box-shadow:0 0 16px 2px rgba(0,0,0,.2);content:"";height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .5s cubic-bezier(.165,.84,.44,1);width:100%;z-index:-1}.swagger-ui .shadow-hover:focus:after,.swagger-ui .shadow-hover:hover:after{opacity:1}.swagger-ui .bg-animate,.swagger-ui .bg-animate:focus,.swagger-ui .bg-animate:hover{transition:background-color .15s ease-in-out}.swagger-ui .z-0{z-index:0}.swagger-ui .z-1{z-index:1}.swagger-ui .z-2{z-index:2}.swagger-ui .z-3{z-index:3}.swagger-ui .z-4{z-index:4}.swagger-ui .z-5{z-index:5}.swagger-ui .z-999{z-index:999}.swagger-ui .z-9999{z-index:9999}.swagger-ui .z-max{z-index:2147483647}.swagger-ui .z-inherit{z-index:inherit}.swagger-ui .z-initial,.swagger-ui .z-unset{z-index:auto}.swagger-ui .nested-copy-line-height ol,.swagger-ui .nested-copy-line-height p,.swagger-ui .nested-copy-line-height ul{line-height:1.5}.swagger-ui .nested-headline-line-height h1,.swagger-ui .nested-headline-line-height h2,.swagger-ui .nested-headline-line-height h3,.swagger-ui .nested-headline-line-height h4,.swagger-ui .nested-headline-line-height h5,.swagger-ui .nested-headline-line-height h6{line-height:1.25}.swagger-ui .nested-list-reset ol,.swagger-ui .nested-list-reset ul{list-style-type:none;margin-left:0;padding-left:0}.swagger-ui .nested-copy-indent p+p{margin-bottom:0;margin-top:0;text-indent:.1em}.swagger-ui .nested-copy-seperator p+p{margin-top:1.5em}.swagger-ui .nested-img img{display:block;max-width:100%;width:100%}.swagger-ui .nested-links a{color:#357edd;transition:color .15s ease-in}.swagger-ui .nested-links a:focus,.swagger-ui .nested-links a:hover{color:#96ccff;transition:color .15s ease-in}.swagger-ui .wrapper{box-sizing:border-box;margin:0 auto;max-width:1460px;padding:0 20px;width:100%}.swagger-ui .opblock-tag-section{display:flex;flex-direction:column}.swagger-ui .try-out.btn-group{display:flex;flex:.1 2 auto;padding:0}.swagger-ui .try-out__btn{margin-left:1.25rem}.swagger-ui .opblock-tag{align-items:center;border-bottom:1px solid rgba(59,65,81,.3);cursor:pointer;display:flex;padding:10px 20px 10px 10px;transition:all .2s}.swagger-ui .opblock-tag:hover{background:rgba(0,0,0,.02)}.swagger-ui .opblock-tag{color:#3b4151;font-family:sans-serif;font-size:24px;margin:0 0 5px}.swagger-ui .opblock-tag.no-desc span{flex:1}.swagger-ui .opblock-tag svg{transition:all .4s}.swagger-ui .opblock-tag small{color:#3b4151;flex:2;font-family:sans-serif;font-size:14px;font-weight:400;padding:0 10px}.swagger-ui .opblock-tag>div{flex:1 1 150px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:640px){.swagger-ui .opblock-tag small,.swagger-ui .opblock-tag>div{flex:1}}.swagger-ui .opblock-tag .info__externaldocs{text-align:right}.swagger-ui .parameter__type{color:#3b4151;font-family:monospace;font-size:12px;font-weight:600;padding:5px 0}.swagger-ui .parameter-controls{margin-top:.75em}.swagger-ui .examples__title{display:block;font-size:1.1em;font-weight:700;margin-bottom:.75em}.swagger-ui .examples__section{margin-top:1.5em}.swagger-ui .examples__section-header{font-size:.9rem;font-weight:700;margin-bottom:.5rem}.swagger-ui .examples-select{display:inline-block;margin-bottom:.75em}.swagger-ui .examples-select .examples-select-element{width:100%}.swagger-ui .examples-select__section-label{font-size:.9rem;font-weight:700;margin-right:.5rem}.swagger-ui .example__section{margin-top:1.5em}.swagger-ui .example__section-header{font-size:.9rem;font-weight:700;margin-bottom:.5rem}.swagger-ui .view-line-link{cursor:pointer;margin:0 5px;position:relative;top:3px;transition:all .5s;width:20px}.swagger-ui .opblock{border:1px solid #000;border-radius:4px;box-shadow:0 0 3px rgba(0,0,0,.19);margin:0 0 15px}.swagger-ui .opblock .tab-header{display:flex;flex:1}.swagger-ui .opblock .tab-header .tab-item{cursor:pointer;padding:0 40px}.swagger-ui .opblock .tab-header .tab-item:first-of-type{padding:0 40px 0 0}.swagger-ui .opblock .tab-header .tab-item.active h4 span{position:relative}.swagger-ui .opblock .tab-header .tab-item.active h4 span:after{background:gray;bottom:-15px;content:"";height:4px;left:50%;position:absolute;transform:translateX(-50%);width:120%}.swagger-ui .opblock.is-open .opblock-summary{border-bottom:1px solid #000}.swagger-ui .opblock .opblock-section-header{align-items:center;background:hsla(0,0%,100%,.8);box-shadow:0 1px 2px rgba(0,0,0,.1);display:flex;min-height:50px;padding:8px 20px}.swagger-ui .opblock .opblock-section-header>label{align-items:center;color:#3b4151;display:flex;font-family:sans-serif;font-size:12px;font-weight:700;margin:0 0 0 auto}.swagger-ui .opblock .opblock-section-header>label>span{padding:0 10px 0 0}.swagger-ui .opblock .opblock-section-header h4{color:#3b4151;flex:1;font-family:sans-serif;font-size:14px;margin:0}.swagger-ui .opblock .opblock-summary-method{background:#000;border-radius:3px;color:#fff;font-family:sans-serif;font-size:14px;font-weight:700;min-width:80px;padding:6px 0;text-align:center;text-shadow:0 1px 0 rgba(0,0,0,.1)}.swagger-ui .opblock .opblock-summary-operation-id,.swagger-ui .opblock .opblock-summary-path,.swagger-ui .opblock .opblock-summary-path__deprecated{align-items:center;color:#3b4151;display:flex;font-family:monospace;font-size:16px;font-weight:600;padding:0 10px;word-break:break-word}@media(max-width:768px){.swagger-ui .opblock .opblock-summary-operation-id,.swagger-ui .opblock .opblock-summary-path,.swagger-ui .opblock .opblock-summary-path__deprecated{font-size:12px}}.swagger-ui .opblock .opblock-summary-path{flex-shrink:0;max-width:calc(100% - 110px - 15rem)}@media(max-width:640px){.swagger-ui .opblock .opblock-summary-path{flex-shrink:1;max-width:100%}}.swagger-ui .opblock .opblock-summary-path__deprecated{-webkit-text-decoration:line-through;text-decoration:line-through}.swagger-ui .opblock .opblock-summary-operation-id{font-size:14px}.swagger-ui .opblock .opblock-summary-description{color:#3b4151;flex:1 1 auto;font-family:sans-serif;font-size:13px;word-break:break-word}.swagger-ui .opblock .opblock-summary{align-items:center;cursor:pointer;display:flex;padding:5px}.swagger-ui .opblock .opblock-summary .view-line-link{cursor:pointer;margin:0;position:relative;top:2px;transition:all .5s;width:0}.swagger-ui .opblock .opblock-summary:hover .view-line-link{margin:0 5px;width:18px}.swagger-ui .opblock .opblock-summary:hover .view-line-link.copy-to-clipboard{width:24px}.swagger-ui .opblock.opblock-post{background:rgba(73,204,144,.1);border-color:#49cc90}.swagger-ui .opblock.opblock-post .opblock-summary-method{background:#49cc90}.swagger-ui .opblock.opblock-post .opblock-summary{border-color:#49cc90}.swagger-ui .opblock.opblock-post .tab-header .tab-item.active h4 span:after{background:#49cc90}.swagger-ui .opblock.opblock-put{background:rgba(252,161,48,.1);border-color:#fca130}.swagger-ui .opblock.opblock-put .opblock-summary-method{background:#fca130}.swagger-ui .opblock.opblock-put .opblock-summary{border-color:#fca130}.swagger-ui .opblock.opblock-put .tab-header .tab-item.active h4 span:after{background:#fca130}.swagger-ui .opblock.opblock-delete{background:rgba(249,62,62,.1);border-color:#f93e3e}.swagger-ui .opblock.opblock-delete .opblock-summary-method{background:#f93e3e}.swagger-ui .opblock.opblock-delete .opblock-summary{border-color:#f93e3e}.swagger-ui .opblock.opblock-delete .tab-header .tab-item.active h4 span:after{background:#f93e3e}.swagger-ui .opblock.opblock-get{background:rgba(97,175,254,.1);border-color:#61affe}.swagger-ui .opblock.opblock-get .opblock-summary-method{background:#61affe}.swagger-ui .opblock.opblock-get .opblock-summary{border-color:#61affe}.swagger-ui .opblock.opblock-get .tab-header .tab-item.active h4 span:after{background:#61affe}.swagger-ui .opblock.opblock-patch{background:rgba(80,227,194,.1);border-color:#50e3c2}.swagger-ui .opblock.opblock-patch .opblock-summary-method{background:#50e3c2}.swagger-ui .opblock.opblock-patch .opblock-summary{border-color:#50e3c2}.swagger-ui .opblock.opblock-patch .tab-header .tab-item.active h4 span:after{background:#50e3c2}.swagger-ui .opblock.opblock-head{background:rgba(144,18,254,.1);border-color:#9012fe}.swagger-ui .opblock.opblock-head .opblock-summary-method{background:#9012fe}.swagger-ui .opblock.opblock-head .opblock-summary{border-color:#9012fe}.swagger-ui .opblock.opblock-head .tab-header .tab-item.active h4 span:after{background:#9012fe}.swagger-ui .opblock.opblock-options{background:rgba(13,90,167,.1);border-color:#0d5aa7}.swagger-ui .opblock.opblock-options .opblock-summary-method{background:#0d5aa7}.swagger-ui .opblock.opblock-options .opblock-summary{border-color:#0d5aa7}.swagger-ui .opblock.opblock-options .tab-header .tab-item.active h4 span:after{background:#0d5aa7}.swagger-ui .opblock.opblock-deprecated{background:hsla(0,0%,92%,.1);border-color:#ebebeb;opacity:.6}.swagger-ui .opblock.opblock-deprecated .opblock-summary-method{background:#ebebeb}.swagger-ui .opblock.opblock-deprecated .opblock-summary{border-color:#ebebeb}.swagger-ui .opblock.opblock-deprecated .tab-header .tab-item.active h4 span:after{background:#ebebeb}.swagger-ui .opblock .opblock-schemes{padding:8px 20px}.swagger-ui .opblock .opblock-schemes .schemes-title{padding:0 10px 0 0}.swagger-ui .filter .operation-filter-input{border:2px solid #d8dde7;margin:20px 0;padding:10px;width:100%}.swagger-ui .download-url-wrapper .failed,.swagger-ui .filter .failed{color:red}.swagger-ui .download-url-wrapper .loading,.swagger-ui .filter .loading{color:#aaa}.swagger-ui .model-example{margin-top:1em}.swagger-ui .tab{display:flex;list-style:none;padding:0}.swagger-ui .tab li{color:#3b4151;cursor:pointer;font-family:sans-serif;font-size:12px;min-width:60px;padding:0}.swagger-ui .tab li:first-of-type{padding-left:0;padding-right:12px;position:relative}.swagger-ui .tab li:first-of-type:after{background:rgba(0,0,0,.2);content:"";height:100%;position:absolute;right:6px;top:0;width:1px}.swagger-ui .tab li.active{font-weight:700}.swagger-ui .tab li button.tablinks{background:0 0;border:0;color:inherit;font-family:inherit;font-weight:inherit;padding:0}.swagger-ui .opblock-description-wrapper,.swagger-ui .opblock-external-docs-wrapper,.swagger-ui .opblock-title_normal{color:#3b4151;font-family:sans-serif;font-size:12px;margin:0 0 5px;padding:15px 20px}.swagger-ui .opblock-description-wrapper h4,.swagger-ui .opblock-external-docs-wrapper h4,.swagger-ui .opblock-title_normal h4{color:#3b4151;font-family:sans-serif;font-size:12px;margin:0 0 5px}.swagger-ui .opblock-description-wrapper p,.swagger-ui .opblock-external-docs-wrapper p,.swagger-ui .opblock-title_normal p{color:#3b4151;font-family:sans-serif;font-size:14px;margin:0}.swagger-ui .opblock-external-docs-wrapper h4{padding-left:0}.swagger-ui .execute-wrapper{padding:20px;text-align:right}.swagger-ui .execute-wrapper .btn{padding:8px 40px;width:100%}.swagger-ui .body-param-options{display:flex;flex-direction:column}.swagger-ui .body-param-options .body-param-edit{padding:10px 0}.swagger-ui .body-param-options label{padding:8px 0}.swagger-ui .body-param-options label select{margin:3px 0 0}.swagger-ui .responses-inner{padding:20px}.swagger-ui .responses-inner h4,.swagger-ui .responses-inner h5{color:#3b4151;font-family:sans-serif;font-size:12px;margin:10px 0 5px}.swagger-ui .responses-inner .curl{white-space:normal}.swagger-ui .response-col_status{color:#3b4151;font-family:sans-serif;font-size:14px}.swagger-ui .response-col_status .response-undocumented{color:#909090;font-family:monospace;font-size:11px;font-weight:600}.swagger-ui .response-col_links{color:#3b4151;font-family:sans-serif;font-size:14px;max-width:40em;padding-left:2em}.swagger-ui .response-col_links .response-undocumented{color:#909090;font-family:monospace;font-size:11px;font-weight:600}.swagger-ui .response-col_links .operation-link{margin-bottom:1.5em}.swagger-ui .response-col_links .operation-link .description{margin-bottom:.5em}.swagger-ui .opblock-body .opblock-loading-animation{display:block;margin:3em auto}.swagger-ui .opblock-body pre.microlight{word-wrap:break-word;background:#333;border-radius:4px;color:#fff;font-family:monospace;font-size:12px;font-weight:600;-webkit-hyphens:auto;hyphens:auto;margin:0;padding:10px;white-space:pre-wrap;word-break:break-all;word-break:break-word}.swagger-ui .opblock-body pre.microlight .headerline{display:block}.swagger-ui .highlight-code{position:relative}.swagger-ui .highlight-code>.microlight{max-height:400px;min-height:6em;overflow-y:auto}.swagger-ui .highlight-code>.microlight code{white-space:pre-wrap!important}.swagger-ui .highlight-code>.microlight code{word-break:break-all}.swagger-ui .curl-command{position:relative}.swagger-ui .download-contents{align-items:center;background:#7d8293;border-radius:4px;bottom:10px;color:#fff;cursor:pointer;display:flex;font-family:sans-serif;font-size:14px;font-weight:600;height:30px;justify-content:center;padding:5px;position:absolute;right:10px;text-align:center}.swagger-ui .scheme-container{background:#fff;box-shadow:0 1px 2px 0 rgba(0,0,0,.15);margin:0 0 20px;padding:30px 0}.swagger-ui .scheme-container .schemes{align-items:flex-end;display:flex}.swagger-ui .scheme-container .schemes>label{color:#3b4151;display:flex;flex-direction:column;font-family:sans-serif;font-size:12px;font-weight:700;margin:-20px 15px 0 0}.swagger-ui .scheme-container .schemes>label select{min-width:130px;text-transform:uppercase}.swagger-ui .loading-container{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-top:1em;min-height:1px;padding:40px 0 60px}.swagger-ui .loading-container .loading{position:relative}.swagger-ui .loading-container .loading:after{color:#3b4151;content:"loading";font-family:sans-serif;font-size:10px;font-weight:700;left:50%;position:absolute;text-transform:uppercase;top:50%;transform:translate(-50%,-50%)}.swagger-ui .loading-container .loading:before{animation:rotation 1s linear infinite,opacity .5s;-webkit-backface-visibility:hidden;backface-visibility:hidden;border:2px solid rgba(85,85,85,.1);border-radius:100%;border-top-color:rgba(0,0,0,.6);content:"";display:block;height:60px;left:50%;margin:-30px;opacity:1;position:absolute;top:50%;width:60px}@keyframes rotation{to{transform:rotate(1turn)}}.swagger-ui .response-controls{display:flex;padding-top:1em}.swagger-ui .response-control-media-type{margin-right:1em}.swagger-ui .response-control-media-type--accept-controller select{border-color:green}.swagger-ui .response-control-media-type__accept-message{color:green;font-size:.7em}.swagger-ui .response-control-examples__title,.swagger-ui .response-control-media-type__title{display:block;font-size:.7em;margin-bottom:.2em}@keyframes blinker{50%{opacity:0}}.swagger-ui .hidden{display:none}.swagger-ui .no-margin{border:none;height:auto;margin:0;padding:0}.swagger-ui .float-right{float:right}.swagger-ui .svg-assets{height:0;position:absolute;width:0}.swagger-ui section h3{color:#3b4151;font-family:sans-serif}.swagger-ui a.nostyle{display:inline}.swagger-ui a.nostyle,.swagger-ui a.nostyle:visited{color:inherit;cursor:pointer;text-decoration:inherit}.swagger-ui .fallback{color:#aaa;padding:1em}.swagger-ui .version-pragma{height:100%;padding:5em 0}.swagger-ui .version-pragma__message{display:flex;font-size:1.2em;height:100%;justify-content:center;line-height:1.5em;padding:0 .6em;text-align:center}.swagger-ui .version-pragma__message>div{flex:1;max-width:55ch}.swagger-ui .version-pragma__message code{background-color:#dedede;padding:4px 4px 2px;white-space:pre}.swagger-ui .opblock-link{font-weight:400}.swagger-ui .opblock-link.shown{font-weight:700}.swagger-ui span.token-string{color:#555}.swagger-ui span.token-not-formatted{color:#555;font-weight:700}.swagger-ui .btn{background:0 0;border:2px solid gray;border-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.1);color:#3b4151;font-family:sans-serif;font-size:14px;font-weight:700;padding:5px 23px;transition:all .3s}.swagger-ui .btn.btn-sm{font-size:12px;padding:4px 23px}.swagger-ui .btn[disabled]{cursor:not-allowed;opacity:.3}.swagger-ui .btn:hover{box-shadow:0 0 5px rgba(0,0,0,.3)}.swagger-ui .btn.cancel{background-color:transparent;border-color:#ff6060;color:#ff6060;font-family:sans-serif}.swagger-ui .btn.authorize{background-color:transparent;border-color:#49cc90;color:#49cc90;display:inline;line-height:1}.swagger-ui .btn.authorize span{float:left;padding:4px 20px 0 0}.swagger-ui .btn.authorize svg{fill:#49cc90}.swagger-ui .btn.execute{background-color:#4990e2;border-color:#4990e2;color:#fff}.swagger-ui .btn-group{display:flex;padding:30px}.swagger-ui .btn-group .btn{flex:1}.swagger-ui .btn-group .btn:first-child{border-radius:4px 0 0 4px}.swagger-ui .btn-group .btn:last-child{border-radius:0 4px 4px 0}.swagger-ui .authorization__btn{background:0 0;border:none;padding:0 0 0 10px}.swagger-ui .authorization__btn.locked{opacity:1}.swagger-ui .authorization__btn.unlocked{opacity:.4}.swagger-ui .model-box-control,.swagger-ui .models-control,.swagger-ui .opblock-summary-control{all:inherit;border-bottom:0;cursor:pointer;flex:1;padding:0}.swagger-ui .model-box-control:focus,.swagger-ui .models-control:focus,.swagger-ui .opblock-summary-control:focus{outline:auto}.swagger-ui .expand-methods,.swagger-ui .expand-operation{background:0 0;border:none}.swagger-ui .expand-methods svg,.swagger-ui .expand-operation svg{height:20px;width:20px}.swagger-ui .expand-methods{padding:0 10px}.swagger-ui .expand-methods:hover svg{fill:#404040}.swagger-ui .expand-methods svg{fill:#707070;transition:all .3s}.swagger-ui button{cursor:pointer}.swagger-ui button.invalid{animation:shake .4s 1;background:#feebeb;border-color:#f93e3e}.swagger-ui .copy-to-clipboard{align-items:center;background:#7d8293;border:none;border-radius:4px;bottom:10px;display:flex;height:30px;justify-content:center;position:absolute;right:100px;width:30px}.swagger-ui .copy-to-clipboard button{background:url("data:image/svg+xml;charset=utf-8,") 50% no-repeat;border:none;flex-grow:1;flex-shrink:1;height:25px}.swagger-ui .curl-command .copy-to-clipboard{bottom:5px;height:20px;right:10px;width:20px}.swagger-ui .curl-command .copy-to-clipboard button{height:18px}.swagger-ui .opblock .opblock-summary .view-line-link.copy-to-clipboard{height:26px;position:static}.swagger-ui select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#f7f7f7 url("data:image/svg+xml;charset=utf-8,") right 10px center no-repeat;background-size:20px;border:2px solid #41444e;border-radius:4px;box-shadow:0 1px 2px 0 rgba(0,0,0,.25);color:#3b4151;font-family:sans-serif;font-size:14px;font-weight:700;padding:5px 40px 5px 10px}.swagger-ui select[multiple]{background:#f7f7f7;margin:5px 0;padding:5px}.swagger-ui select.invalid{animation:shake .4s 1;background:#feebeb;border-color:#f93e3e}.swagger-ui .opblock-body select{min-width:230px}@media(max-width:768px){.swagger-ui .opblock-body select{min-width:180px}}@media(max-width:640px){.swagger-ui .opblock-body select{min-width:100%;width:100%}}.swagger-ui label{color:#3b4151;font-family:sans-serif;font-size:12px;font-weight:700;margin:0 0 5px}.swagger-ui input[type=email],.swagger-ui input[type=file],.swagger-ui input[type=password],.swagger-ui input[type=search],.swagger-ui input[type=text]{line-height:1}@media(max-width:768px){.swagger-ui input[type=email],.swagger-ui input[type=file],.swagger-ui input[type=password],.swagger-ui input[type=search],.swagger-ui input[type=text]{max-width:175px}}.swagger-ui input[type=email],.swagger-ui input[type=file],.swagger-ui input[type=password],.swagger-ui input[type=search],.swagger-ui input[type=text],.swagger-ui textarea{background:#fff;border:1px solid #d9d9d9;border-radius:4px;margin:5px 0;min-width:100px;padding:8px 10px}.swagger-ui input[type=email].invalid,.swagger-ui input[type=file].invalid,.swagger-ui input[type=password].invalid,.swagger-ui input[type=search].invalid,.swagger-ui input[type=text].invalid,.swagger-ui textarea.invalid{animation:shake .4s 1;background:#feebeb;border-color:#f93e3e}.swagger-ui input[disabled],.swagger-ui select[disabled],.swagger-ui textarea[disabled]{background-color:#fafafa;color:#888;cursor:not-allowed}.swagger-ui select[disabled]{border-color:#888}.swagger-ui textarea[disabled]{background-color:#41444e;color:#fff}@keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}.swagger-ui textarea{background:hsla(0,0%,100%,.8);border:none;border-radius:4px;color:#3b4151;font-family:monospace;font-size:12px;font-weight:600;min-height:280px;outline:0;padding:10px;width:100%}.swagger-ui textarea:focus{border:2px solid #61affe}.swagger-ui textarea.curl{background:#41444e;border-radius:4px;color:#fff;font-family:monospace;font-size:12px;font-weight:600;margin:0;min-height:100px;padding:10px;resize:none}.swagger-ui .checkbox{color:#303030;padding:5px 0 10px;transition:opacity .5s}.swagger-ui .checkbox label{display:flex}.swagger-ui .checkbox p{font-weight:400!important;margin:0!important}.swagger-ui .checkbox p{color:#3b4151;font-family:monospace;font-style:italic;font-weight:600}.swagger-ui .checkbox input[type=checkbox]{display:none}.swagger-ui .checkbox input[type=checkbox]+label>.item{background:#e8e8e8;border-radius:1px;box-shadow:0 0 0 2px #e8e8e8;cursor:pointer;display:inline-block;flex:none;height:16px;margin:0 8px 0 0;padding:5px;position:relative;top:3px;width:16px}.swagger-ui .checkbox input[type=checkbox]+label>.item:active{transform:scale(.9)}.swagger-ui .checkbox input[type=checkbox]:checked+label>.item{background:#e8e8e8 url("data:image/svg+xml;charset=utf-8,") 50% no-repeat}.swagger-ui .dialog-ux{bottom:0;left:0;position:fixed;right:0;top:0;z-index:9999}.swagger-ui .dialog-ux .backdrop-ux{background:rgba(0,0,0,.8);bottom:0;left:0;position:fixed;right:0;top:0}.swagger-ui .dialog-ux .modal-ux{background:#fff;border:1px solid #ebebeb;border-radius:4px;box-shadow:0 10px 30px 0 rgba(0,0,0,.2);left:50%;max-width:650px;min-width:300px;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:9999}.swagger-ui .dialog-ux .modal-ux-content{max-height:540px;overflow-y:auto;padding:20px}.swagger-ui .dialog-ux .modal-ux-content p{color:#41444e;color:#3b4151;font-family:sans-serif;font-size:12px;margin:0 0 5px}.swagger-ui .dialog-ux .modal-ux-content h4{color:#3b4151;font-family:sans-serif;font-size:18px;font-weight:600;margin:15px 0 0}.swagger-ui .dialog-ux .modal-ux-header{align-items:center;border-bottom:1px solid #ebebeb;display:flex;padding:12px 0}.swagger-ui .dialog-ux .modal-ux-header .close-modal{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:none;padding:0 10px}.swagger-ui .dialog-ux .modal-ux-header h3{color:#3b4151;flex:1;font-family:sans-serif;font-size:20px;font-weight:600;margin:0;padding:0 20px}.swagger-ui .model{color:#3b4151;font-family:monospace;font-size:12px;font-weight:300;font-weight:600}.swagger-ui .model .deprecated span,.swagger-ui .model .deprecated td{color:#a0a0a0!important}.swagger-ui .model .deprecated>td:first-of-type{-webkit-text-decoration:line-through;text-decoration:line-through}.swagger-ui .model-toggle{cursor:pointer;display:inline-block;font-size:10px;margin:auto .3em;position:relative;top:6px;transform:rotate(90deg);transform-origin:50% 50%;transition:transform .15s ease-in}.swagger-ui .model-toggle.collapsed{transform:rotate(0)}.swagger-ui .model-toggle:after{background:url("data:image/svg+xml;charset=utf-8,") 50% no-repeat;background-size:100%;content:"";display:block;height:20px;width:20px}.swagger-ui .model-jump-to-path{cursor:pointer;position:relative}.swagger-ui .model-jump-to-path .view-line-link{cursor:pointer;position:absolute;top:-.4em}.swagger-ui .model-title{position:relative}.swagger-ui .model-title:hover .model-hint{visibility:visible}.swagger-ui .model-hint{background:rgba(0,0,0,.7);border-radius:4px;color:#ebebeb;padding:.1em .5em;position:absolute;top:-1.8em;visibility:hidden;white-space:nowrap}.swagger-ui .model p{margin:0 0 1em}.swagger-ui .model .property{color:#999;font-style:italic}.swagger-ui .model .property.primitive{color:#6b6b6b}.swagger-ui .model .external-docs,.swagger-ui table.model tr.description{color:#666;font-weight:400}.swagger-ui table.model tr.description td:first-child,.swagger-ui table.model tr.property-row.required td:first-child{font-weight:700}.swagger-ui table.model tr.property-row td{vertical-align:top}.swagger-ui table.model tr.property-row td:first-child{padding-right:.2em}.swagger-ui table.model tr.property-row .star{color:red}.swagger-ui table.model tr.extension{color:#777}.swagger-ui table.model tr.extension td:last-child{vertical-align:top}.swagger-ui table.model tr.external-docs td:first-child{font-weight:700}.swagger-ui table.model tr .renderedMarkdown p:first-child{margin-top:0}.swagger-ui section.models{border:1px solid rgba(59,65,81,.3);border-radius:4px;margin:30px 0}.swagger-ui section.models .pointer{cursor:pointer}.swagger-ui section.models.is-open{padding:0 0 20px}.swagger-ui section.models.is-open h4{border-bottom:1px solid rgba(59,65,81,.3);margin:0 0 5px}.swagger-ui section.models h4{align-items:center;color:#606060;cursor:pointer;display:flex;font-family:sans-serif;font-size:16px;margin:0;padding:10px 20px 10px 10px;transition:all .2s}.swagger-ui section.models h4 svg{transition:all .4s}.swagger-ui section.models h4 span{flex:1}.swagger-ui section.models h4:hover{background:rgba(0,0,0,.02)}.swagger-ui section.models h5{color:#707070;font-family:sans-serif;font-size:16px;margin:0 0 10px}.swagger-ui section.models .model-jump-to-path{position:relative;top:5px}.swagger-ui section.models .model-container{background:rgba(0,0,0,.05);border-radius:4px;margin:0 20px 15px;position:relative;transition:all .5s}.swagger-ui section.models .model-container:hover{background:rgba(0,0,0,.07)}.swagger-ui section.models .model-container:first-of-type{margin:20px}.swagger-ui section.models .model-container:last-of-type{margin:0 20px}.swagger-ui section.models .model-container .models-jump-to-path{opacity:.65;position:absolute;right:5px;top:8px}.swagger-ui section.models .model-box{background:0 0}.swagger-ui .model-box{background:rgba(0,0,0,.1);border-radius:4px;display:inline-block;padding:10px}.swagger-ui .model-box .model-jump-to-path{position:relative;top:4px}.swagger-ui .model-box.deprecated{opacity:.5}.swagger-ui .model-title{color:#505050;font-family:sans-serif;font-size:16px}.swagger-ui .model-title img{bottom:0;margin-left:1em;position:relative}.swagger-ui .model-deprecated-warning{color:#f93e3e;font-family:sans-serif;font-size:16px;font-weight:600;margin-right:1em}.swagger-ui span>span.model .brace-close{padding:0 0 0 10px}.swagger-ui .prop-name{display:inline-block;margin-right:1em}.swagger-ui .prop-type{color:#55a}.swagger-ui .prop-enum{display:block}.swagger-ui .prop-format{color:#606060}.swagger-ui .servers>label{color:#3b4151;font-family:sans-serif;font-size:12px;margin:-20px 15px 0 0}.swagger-ui .servers>label select{max-width:100%;min-width:130px;width:100%}.swagger-ui .servers h4.message{padding-bottom:2em}.swagger-ui .servers table tr{width:30em}.swagger-ui .servers table td{display:inline-block;max-width:15em;padding-bottom:10px;padding-top:10px;vertical-align:middle}.swagger-ui .servers table td:first-of-type{padding-right:1em}.swagger-ui .servers table td input{height:100%;width:100%}.swagger-ui .servers .computed-url{margin:2em 0}.swagger-ui .servers .computed-url code{display:inline-block;font-size:16px;margin:0 1em;padding:4px}.swagger-ui .servers-title{font-size:12px;font-weight:700}.swagger-ui .operation-servers h4.message{margin-bottom:2em}.swagger-ui table{border-collapse:collapse;padding:0 10px;width:100%}.swagger-ui table.model tbody tr td{padding:0;vertical-align:top}.swagger-ui table.model tbody tr td:first-of-type{padding:0 0 0 2em;width:174px}.swagger-ui table.headers td{color:#3b4151;font-family:monospace;font-size:12px;font-weight:300;font-weight:600;vertical-align:middle}.swagger-ui table.headers .header-example{color:#999;font-style:italic}.swagger-ui table tbody tr td{padding:10px 0 0;vertical-align:top}.swagger-ui table tbody tr td:first-of-type{min-width:6em;padding:10px 0}.swagger-ui table thead tr td,.swagger-ui table thead tr th{border-bottom:1px solid rgba(59,65,81,.2);color:#3b4151;font-family:sans-serif;font-size:12px;font-weight:700;padding:12px 0;text-align:left}.swagger-ui .parameters-col_description{margin-bottom:2em;width:99%}.swagger-ui .parameters-col_description input{max-width:340px;width:100%}.swagger-ui .parameters-col_description select{border-width:1px}.swagger-ui .parameters-col_description .markdown p{margin:0}.swagger-ui .parameter__name{color:#3b4151;font-family:sans-serif;font-size:16px;font-weight:400;margin-right:.75em}.swagger-ui .parameter__name.required{font-weight:700}.swagger-ui .parameter__name.required span{color:red}.swagger-ui .parameter__name.required:after{color:rgba(255,0,0,.6);content:"required";font-size:10px;padding:5px;position:relative;top:-6px}.swagger-ui .parameter__extension,.swagger-ui .parameter__in{color:gray;font-family:monospace;font-size:12px;font-style:italic;font-weight:600}.swagger-ui .parameter__deprecated{color:red;font-family:monospace;font-size:12px;font-style:italic;font-weight:600}.swagger-ui .parameter__empty_value_toggle{display:block;font-size:13px;padding-bottom:12px;padding-top:5px}.swagger-ui .parameter__empty_value_toggle input{margin-right:7px}.swagger-ui .parameter__empty_value_toggle.disabled{opacity:.7}.swagger-ui .table-container{padding:20px}.swagger-ui .response-col_description{width:99%}.swagger-ui .response-col_description .markdown p{margin:0}.swagger-ui .response-col_links{min-width:6em}.swagger-ui .response__extension{color:gray;font-family:monospace;font-size:12px;font-style:italic;font-weight:600}.swagger-ui .topbar{background-color:#1b1b1b;padding:10px 0}.swagger-ui .topbar .topbar-wrapper,.swagger-ui .topbar a{align-items:center;display:flex}.swagger-ui .topbar a{color:#fff;flex:1;font-family:sans-serif;font-size:1.5em;font-weight:700;max-width:300px;-webkit-text-decoration:none;text-decoration:none}.swagger-ui .topbar a span{margin:0;padding:0 10px}.swagger-ui .topbar .download-url-wrapper{display:flex;flex:3;justify-content:flex-end}.swagger-ui .topbar .download-url-wrapper input[type=text]{border:2px solid #62a03f;border-radius:4px 0 0 4px;margin:0;outline:0;width:100%}.swagger-ui .topbar .download-url-wrapper .select-label{align-items:center;color:#f0f0f0;display:flex;margin:0;max-width:600px;width:100%}.swagger-ui .topbar .download-url-wrapper .select-label span{flex:1;font-size:16px;padding:0 10px 0 0;text-align:right}.swagger-ui .topbar .download-url-wrapper .select-label select{border:2px solid #62a03f;box-shadow:none;flex:2;outline:0;width:100%}.swagger-ui .topbar .download-url-wrapper .download-url-button{background:#62a03f;border:none;border-radius:0 4px 4px 0;color:#fff;font-family:sans-serif;font-size:16px;font-weight:700;padding:4px 30px}.swagger-ui .info{margin:50px 0}.swagger-ui .info.failed-config{margin-left:auto;margin-right:auto;max-width:880px;text-align:center}.swagger-ui .info hgroup.main{margin:0 0 20px}.swagger-ui .info hgroup.main a{font-size:12px}.swagger-ui .info pre{font-size:14px}.swagger-ui .info li,.swagger-ui .info p,.swagger-ui .info table{color:#3b4151;font-family:sans-serif;font-size:14px}.swagger-ui .info h1,.swagger-ui .info h2,.swagger-ui .info h3,.swagger-ui .info h4,.swagger-ui .info h5{color:#3b4151;font-family:sans-serif}.swagger-ui .info a{color:#4990e2;font-family:sans-serif;font-size:14px;transition:all .4s}.swagger-ui .info a:hover{color:#1f69c0}.swagger-ui .info>div{margin:0 0 5px}.swagger-ui .info .base-url{font-weight:300!important}.swagger-ui .info .base-url{color:#3b4151;font-family:monospace;font-size:12px;font-weight:600;margin:0}.swagger-ui .info .title{color:#3b4151;font-family:sans-serif;font-size:36px;margin:0}.swagger-ui .info .title small{background:#7d8492;border-radius:57px;display:inline-block;font-size:10px;margin:0 0 0 5px;padding:2px 4px;position:relative;top:-5px;vertical-align:super}.swagger-ui .info .title small.version-stamp{background-color:#89bf04}.swagger-ui .info .title small pre{color:#fff;font-family:sans-serif;margin:0;padding:0}.swagger-ui .auth-btn-wrapper{display:flex;justify-content:center;padding:10px 0}.swagger-ui .auth-btn-wrapper .btn-done{margin-right:1em}.swagger-ui .auth-wrapper{display:flex;flex:1;justify-content:flex-end}.swagger-ui .auth-wrapper .authorize{margin-left:10px;margin-right:10px;padding-right:20px}.swagger-ui .auth-container{border-bottom:1px solid #ebebeb;margin:0 0 10px;padding:10px 20px}.swagger-ui .auth-container:last-of-type{border:0;margin:0;padding:10px 20px}.swagger-ui .auth-container h4{margin:5px 0 15px!important}.swagger-ui .auth-container .wrapper{margin:0;padding:0}.swagger-ui .auth-container input[type=password],.swagger-ui .auth-container input[type=text]{min-width:230px}.swagger-ui .auth-container .errors{background-color:#fee;border-radius:4px;color:red;color:#3b4151;font-family:monospace;font-size:12px;font-weight:600;margin:1em;padding:10px}.swagger-ui .auth-container .errors b{margin-right:1em;text-transform:capitalize}.swagger-ui .scopes h2{color:#3b4151;font-family:sans-serif;font-size:14px}.swagger-ui .scopes h2 a{color:#4990e2;cursor:pointer;font-size:12px;padding-left:10px;-webkit-text-decoration:underline;text-decoration:underline}.swagger-ui .scope-def{padding:0 0 20px}.swagger-ui .errors-wrapper{animation:scaleUp .5s;background:rgba(249,62,62,.1);border:2px solid #f93e3e;border-radius:4px;margin:20px;padding:10px 20px}.swagger-ui .errors-wrapper .error-wrapper{margin:0 0 10px}.swagger-ui .errors-wrapper .errors h4{color:#3b4151;font-family:monospace;font-size:14px;font-weight:600;margin:0}.swagger-ui .errors-wrapper .errors small{color:#606060}.swagger-ui .errors-wrapper .errors .message{white-space:pre-line}.swagger-ui .errors-wrapper .errors .message.thrown{max-width:100%}.swagger-ui .errors-wrapper .errors .error-line{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.swagger-ui .errors-wrapper hgroup{align-items:center;display:flex}.swagger-ui .errors-wrapper hgroup h4{color:#3b4151;flex:1;font-family:sans-serif;font-size:20px;margin:0}@keyframes scaleUp{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.swagger-ui .Resizer.vertical.disabled{display:none}.swagger-ui .markdown p,.swagger-ui .markdown pre,.swagger-ui .renderedMarkdown p,.swagger-ui .renderedMarkdown pre{margin:1em auto;word-break:break-all;word-break:break-word}.swagger-ui .markdown pre,.swagger-ui .renderedMarkdown pre{background:0 0;color:#000;font-weight:400;padding:0;white-space:pre-wrap}.swagger-ui .markdown code,.swagger-ui .renderedMarkdown code{background:rgba(0,0,0,.05);border-radius:4px;color:#9012fe;font-family:monospace;font-size:14px;font-weight:600;padding:5px 7px}.swagger-ui .markdown pre>code,.swagger-ui .renderedMarkdown pre>code{display:block} \ No newline at end of file diff --git a/assets/js/external/asyncapi/bundle.min.js b/assets/js/external/asyncapi/bundle.min.js index c19aebef..73ed3e89 100644 --- a/assets/js/external/asyncapi/bundle.min.js +++ b/assets/js/external/asyncapi/bundle.min.js @@ -1 +1 @@ -(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i{const channel=doc.channel(channelName);assignIdToParameters(channel.parameters())})}function assignUidToComponentSchemas(doc){if(doc.hasComponents()){for(const[key,s]of Object.entries(doc.components().schemas())){s.json()[String(xParserSchemaId)]=key}}}function assignUidToComponentParameterSchemas(doc){if(doc.hasComponents()){assignIdToParameters(doc.components().parameters())}}function assignNameToAnonymousMessages(doc){let anonymousMessageCounter=0;if(doc.hasChannels()){doc.channelNames().forEach(channelName=>{const channel=doc.channel(channelName);if(channel.hasPublish())addNameToKey(channel.publish().messages(),++anonymousMessageCounter);if(channel.hasSubscribe())addNameToKey(channel.subscribe().messages(),++anonymousMessageCounter)})}}function addNameToKey(messages,number){messages.forEach(m=>{if(m.name()===undefined&&m.ext(xParserMessageName)===undefined){m.json()[String(xParserMessageName)]=``}})}function assignIdToAnonymousSchemas(doc){let anonymousSchemaCounter=0;const callback=schema=>{if(!schema.uid()){schema.json()[String(xParserSchemaId)]=``}};traverseAsyncApiDocument(doc,callback)}module.exports={assignNameToComponentMessages:assignNameToComponentMessages,assignUidToParameterSchemas:assignUidToParameterSchemas,assignUidToComponentSchemas:assignUidToComponentSchemas,assignUidToComponentParameterSchemas:assignUidToComponentParameterSchemas,assignNameToAnonymousMessages:assignNameToAnonymousMessages,assignIdToAnonymousSchemas:assignIdToAnonymousSchemas}},{"./constants":4,"./iterators":8}],2:[function(require,module,exports){const Ajv=require("ajv");const ParserError=require("./errors/parser-error");const asyncapi=require("@asyncapi/specs");const{improveAjvErrors:improveAjvErrors}=require("./utils");const cloneDeep=require("lodash.clonedeep");const ajv=new Ajv({jsonPointers:true,allErrors:true,schemaId:"auto",logger:false});ajv.addMetaSchema(require("ajv/lib/refs/json-schema-draft-04.json"));module.exports={parse:parse,getMimeTypes:getMimeTypes};async function parse({message:message,originalAsyncAPIDocument:originalAsyncAPIDocument,fileFormat:fileFormat,parsedAsyncAPIDocument:parsedAsyncAPIDocument,pathToPayload:pathToPayload,defaultSchemaFormat:defaultSchemaFormat}){const payload=message.payload;if(!payload)return;message["x-parser-original-schema-format"]=message.schemaFormat||defaultSchemaFormat;message["x-parser-original-payload"]=cloneDeep(message.payload);const validate=getValidator(parsedAsyncAPIDocument.asyncapi);const valid=validate(payload);const errors=validate.errors&&[...validate.errors];if(!valid)throw new ParserError({type:"schema-validation-errors",title:"This is not a valid AsyncAPI Schema Object.",parsedJSON:parsedAsyncAPIDocument,validationErrors:improveAjvErrors(addFullPathToDataPath(errors,pathToPayload),originalAsyncAPIDocument,fileFormat)})}function getMimeTypes(){const mimeTypes=["application/schema;version=draft-07","application/schema+json;version=draft-07","application/schema+yaml;version=draft-07"];["2.0.0","2.1.0","2.2.0","2.3.0","2.4.0","2.5.0"].forEach(version=>{mimeTypes.push(`application/vnd.aai.asyncapi;version=${version}`,`application/vnd.aai.asyncapi+json;version=${version}`,`application/vnd.aai.asyncapi+yaml;version=${version}`)});return mimeTypes}function getValidator(version){let validate=ajv.getSchema(version);if(!validate){const payloadSchema=preparePayloadSchema(asyncapi[String(version)],version);ajv.addSchema(payloadSchema,version);validate=ajv.getSchema(version)}return validate}function preparePayloadSchema(asyncapiSchema,version){const payloadSchema=`http://asyncapi.com/definitions/${version}/schema.json`;const definitions=asyncapiSchema.definitions;delete definitions["http://json-schema.org/draft-07/schema"];delete definitions["http://json-schema.org/draft-04/schema"];return{$ref:payloadSchema,definitions:definitions}}function addFullPathToDataPath(errors,path){return errors.map(err=>({...err,...{dataPath:`${path}${err.dataPath}`}}))}},{"./errors/parser-error":6,"./utils":43,"@asyncapi/specs":88,ajv:105,"ajv/lib/refs/json-schema-draft-04.json":146,"lodash.clonedeep":192}],3:[function(require,module,exports){window.AsyncAPIParser=require("./index")},{"./index":7}],4:[function(require,module,exports){const xParserSpecParsed="x-parser-spec-parsed";const xParserSpecStringified="x-parser-spec-stringified";const xParserMessageName="x-parser-message-name";const xParserSchemaId="x-parser-schema-id";const xParserCircle="x-parser-circular";const xParserCircleProps="x-parser-circular-props";module.exports={xParserSpecParsed:xParserSpecParsed,xParserSpecStringified:xParserSpecStringified,xParserMessageName:xParserMessageName,xParserSchemaId:xParserSchemaId,xParserCircle:xParserCircle,xParserCircleProps:xParserCircleProps}},{}],5:[function(require,module,exports){const ParserError=require("./errors/parser-error");const Operation=require("./models/operation");const{parseUrlVariables:parseUrlVariables,getMissingProps:getMissingProps,groupValidationErrors:groupValidationErrors,tilde:tilde,parseUrlQueryParameters:parseUrlQueryParameters,setNotProvidedParams:setNotProvidedParams,getUnknownServers:getUnknownServers}=require("./utils");const validationError="validation-errors";function validateServerVariables(parsedJSON,asyncapiYAMLorJSON,initialFormat){const srvs=parsedJSON.servers;if(!srvs)return true;const srvsMap=new Map(Object.entries(srvs));const notProvidedVariables=new Map;const notProvidedExamplesInEnum=new Map;srvsMap.forEach((srvr,srvrName)=>{const variables=parseUrlVariables(srvr.url);const variablesObj=srvr.variables;const notProvidedServerVars=notProvidedVariables.get(tilde(srvrName));if(!variables)return;const missingServerVariables=getMissingProps(variables,variablesObj);if(missingServerVariables.length){notProvidedVariables.set(tilde(srvrName),notProvidedServerVars?notProvidedServerVars.concat(missingServerVariables):missingServerVariables)}if(variablesObj){setNotValidExamples(variablesObj,srvrName,notProvidedExamplesInEnum)}});if(notProvidedVariables.size){throw new ParserError({type:validationError,title:"Not all server variables are described with variable object",parsedJSON:parsedJSON,validationErrors:groupValidationErrors("servers","server does not have a corresponding variable object for",notProvidedVariables,asyncapiYAMLorJSON,initialFormat)})}if(notProvidedExamplesInEnum.size){throw new ParserError({type:validationError,title:"Check your server variables. The example does not match the enum list",parsedJSON:parsedJSON,validationErrors:groupValidationErrors("servers","server variable provides an example that does not match the enum list",notProvidedExamplesInEnum,asyncapiYAMLorJSON,initialFormat)})}return true}function setNotValidExamples(variables,srvrName,notProvidedExamplesInEnum){const variablesMap=new Map(Object.entries(variables));variablesMap.forEach((variable,variableName)=>{if(variable.enum&&variable.examples){const wrongExamples=variable.examples.filter(r=>!variable.enum.includes(r));if(wrongExamples.length){notProvidedExamplesInEnum.set(`${tilde(srvrName)}/variables/${tilde(variableName)}`,wrongExamples)}}})}function validateOperationId(parsedJSON,asyncapiYAMLorJSON,initialFormat,operations){const chnls=parsedJSON.channels;if(!chnls)return true;const chnlsMap=new Map(Object.entries(chnls));const duplicatedOperations=new Map;const allOperations=[];const addDuplicateToMap=(op,channelName,opName)=>{const operationId=op.operationId;if(!operationId)return;const operationPath=`${tilde(channelName)}/${opName}/operationId`;const isOperationIdDuplicated=allOperations.filter(v=>v[0]===operationId);if(!isOperationIdDuplicated.length)return allOperations.push([operationId,operationPath]);duplicatedOperations.set(operationPath,isOperationIdDuplicated[0][1])};chnlsMap.forEach((chnlObj,chnlName)=>{operations.forEach(opName=>{const op=chnlObj[String(opName)];if(op)addDuplicateToMap(op,chnlName,opName)})});if(duplicatedOperations.size){throw new ParserError({type:validationError,title:"operationId must be unique across all the operations.",parsedJSON:parsedJSON,validationErrors:groupValidationErrors("channels","is a duplicate of",duplicatedOperations,asyncapiYAMLorJSON,initialFormat)})}return true}function validateMessageId(parsedJSON,asyncapiYAMLorJSON,initialFormat,operations){const chnls=parsedJSON.channels;if(!chnls)return true;const chnlsMap=new Map(Object.entries(chnls));const duplicatedMessages=new Map;const allMessages=[];const addDuplicateToMap=(msg,channelName,opName,oneOf="")=>{const messageId=msg.messageId;if(!messageId)return;const messagePath=`${tilde(channelName)}/${opName}/message${oneOf}/messageId`;const isMessageIdDuplicated=allMessages.find(v=>v[0]===messageId);if(!isMessageIdDuplicated)return allMessages.push([messageId,messagePath]);duplicatedMessages.set(messagePath,isMessageIdDuplicated[1])};chnlsMap.forEach((chnlObj,chnlName)=>{operations.forEach(opName=>{const op=chnlObj[String(opName)];if(op&&op.message){if(op.message.oneOf)op.message.oneOf.forEach((msg,index)=>addDuplicateToMap(msg,chnlName,opName,`/oneOf/${index}`));else addDuplicateToMap(op.message,chnlName,opName)}})});if(duplicatedMessages.size){throw new ParserError({type:validationError,title:"messageId must be unique across all the messages.",parsedJSON:parsedJSON,validationErrors:groupValidationErrors("channels","is a duplicate of",duplicatedMessages,asyncapiYAMLorJSON,initialFormat)})}return true}function validateServerSecurity(parsedJSON,asyncapiYAMLorJSON,initialFormat,specialSecTypes){const srvs=parsedJSON.servers;if(!srvs)return true;const root="servers";const srvsMap=new Map(Object.entries(srvs));const missingSecSchema=new Map,invalidSecurityValues=new Map;srvsMap.forEach((server,serverName)=>{const serverSecInfo=server.security;if(!serverSecInfo)return true;serverSecInfo.forEach(secObj=>{Object.keys(secObj).forEach(secName=>{const schema=findSecuritySchema(secName,parsedJSON.components);const srvrSecurityPath=`${serverName}/security/${secName}`;if(!schema.length)return missingSecSchema.set(srvrSecurityPath);const schemaType=schema[1];if(!isSrvrSecProperArray(schemaType,specialSecTypes,secObj,secName))invalidSecurityValues.set(srvrSecurityPath,schemaType)})})});if(missingSecSchema.size){throw new ParserError({type:validationError,title:"Server security name must correspond to a security scheme which is declared in the security schemes under the components object.",parsedJSON:parsedJSON,validationErrors:groupValidationErrors(root,"doesn't have a corresponding security schema under the components object",missingSecSchema,asyncapiYAMLorJSON,initialFormat)})}if(invalidSecurityValues.size){throw new ParserError({type:validationError,title:"Server security value must be an empty array if corresponding security schema type is not oauth2 or openIdConnect.",parsedJSON:parsedJSON,validationErrors:groupValidationErrors(root,"security info must have an empty array because its corresponding security schema type is",invalidSecurityValues,asyncapiYAMLorJSON,initialFormat)})}return true}function findSecuritySchema(securityName,components){const secSchemes=components&&components.securitySchemes;const secSchemesMap=secSchemes?new Map(Object.entries(secSchemes)):new Map;const schemaInfo=[];for(const[schemaName,schema]of secSchemesMap.entries()){if(schemaName===securityName){schemaInfo.push(schemaName,schema.type);return schemaInfo}}return schemaInfo}function isSrvrSecProperArray(schemaType,specialSecTypes,secObj,secName){if(!specialSecTypes.includes(schemaType)){const securityObjValue=secObj[String(secName)];return!securityObjValue.length}return true}function validateChannels(parsedJSON,asyncapiYAMLorJSON,initialFormat){const chnls=parsedJSON.channels;if(!chnls)return true;const chnlsMap=new Map(Object.entries(chnls));const notProvidedParams=new Map;const invalidChannelName=new Map;const unknownServers=new Map;chnlsMap.forEach((val,key)=>{const variables=parseUrlVariables(key);const notProvidedChannelParams=notProvidedParams.get(tilde(key));const queryParameters=parseUrlQueryParameters(key);const unknownServerNames=getUnknownServers(parsedJSON,val);if(variables){setNotProvidedParams(variables,val,key,notProvidedChannelParams,notProvidedParams)}if(queryParameters){invalidChannelName.set(tilde(key),queryParameters)}if(unknownServerNames.length>0){unknownServers.set(tilde(key),unknownServerNames)}});const parameterValidationErrors=groupValidationErrors("channels","channel does not have a corresponding parameter object for",notProvidedParams,asyncapiYAMLorJSON,initialFormat);const nameValidationErrors=groupValidationErrors("channels","channel contains invalid name with url query parameters",invalidChannelName,asyncapiYAMLorJSON,initialFormat);const serverValidationErrors=groupValidationErrors("channels","channel contains servers that are not on the servers list in the root of the document",unknownServers,asyncapiYAMLorJSON,initialFormat);const allValidationErrors=parameterValidationErrors.concat(nameValidationErrors).concat(serverValidationErrors);if(notProvidedParams.size||invalidChannelName.size||unknownServers.size){throw new ParserError({type:validationError,title:"Channel validation failed",parsedJSON:parsedJSON,validationErrors:allValidationErrors})}return true}function validateTags(parsedJSON,asyncapiYAMLorJSON,initialFormat){const invalidRoot=validateRootTags(parsedJSON);const invalidChannels=validateAllChannelsTags(parsedJSON);const invalidOperationTraits=validateOperationTraitTags(parsedJSON);const invalidMessages=validateMessageTags(parsedJSON);const invalidMessageTraits=validateMessageTraitsTags(parsedJSON);const errorMessage="contains duplicate tag names";let invalidRootValidationErrors=[];let invalidChannelsValidationErrors=[];let invalidOperationTraitsValidationErrors=[];let invalidMessagesValidationErrors=[];let invalidMessageTraitsValidationErrors=[];if(invalidRoot.size){invalidRootValidationErrors=groupValidationErrors(null,errorMessage,invalidRoot,asyncapiYAMLorJSON,initialFormat)}if(invalidChannels.size){invalidChannelsValidationErrors=groupValidationErrors("channels",errorMessage,invalidChannels,asyncapiYAMLorJSON,initialFormat)}if(invalidOperationTraits.size){invalidOperationTraitsValidationErrors=groupValidationErrors("components",errorMessage,invalidOperationTraits,asyncapiYAMLorJSON,initialFormat)}if(invalidMessages.size){invalidMessagesValidationErrors=groupValidationErrors("components",errorMessage,invalidMessages,asyncapiYAMLorJSON,initialFormat)}if(invalidMessageTraits.size){invalidMessageTraitsValidationErrors=groupValidationErrors("components",errorMessage,invalidMessageTraits,asyncapiYAMLorJSON,initialFormat)}const allValidationErrors=invalidRootValidationErrors.concat(invalidChannelsValidationErrors).concat(invalidOperationTraitsValidationErrors).concat(invalidMessagesValidationErrors).concat(invalidMessageTraitsValidationErrors);if(allValidationErrors.length){throw new ParserError({type:validationError,title:"Tags validation failed",parsedJSON:parsedJSON,validationErrors:allValidationErrors})}return true}function validateRootTags(parsedJSON){const invalidRoot=new Map;const duplicateNames=parsedJSON.tags&&getDuplicateTagNames(parsedJSON.tags);if(duplicateNames&&duplicateNames.length){invalidRoot.set("tags",duplicateNames.toString())}return invalidRoot}function validateOperationTraitTags(parsedJSON){const invalidOperationTraits=new Map;if(parsedJSON&&parsedJSON.components&&parsedJSON.components.operationTraits){Object.keys(parsedJSON.components.operationTraits).forEach(operationTrait=>{const duplicateNames=getDuplicateTagNames(parsedJSON.components.operationTraits[operationTrait].tags);if(duplicateNames&&duplicateNames.length){const operationTraitsPath=`operationTraits/${operationTrait}/tags`;invalidOperationTraits.set(operationTraitsPath,duplicateNames.toString())}})}return invalidOperationTraits}function validateAllChannelsTags(parsedJSON){const chnls=parsedJSON.channels;if(!chnls)return true;const chnlsMap=new Map(Object.entries(chnls));const invalidChannels=new Map;chnlsMap.forEach((channel,channelName)=>validateChannelTags(invalidChannels,channel,channelName));return invalidChannels}function validateChannelTags(invalidChannels,channel,channelName){if(channel.publish){validateOperationTags(invalidChannels,channel.publish,`${tilde(channelName)}/publish`)}if(channel.subscribe){validateOperationTags(invalidChannels,channel.subscribe,`${tilde(channelName)}/subscribe`)}}function validateOperationTags(invalidChannels,operation,operationPath){if(!operation)return;tryAddInvalidEntries(invalidChannels,`${operationPath}/tags`,operation.tags);if(operation.message){if(operation.message.oneOf){operation.message.oneOf.forEach((message,idx)=>{tryAddInvalidEntries(invalidChannels,`${operationPath}/message/oneOf/${idx}/tags`,message.tags)})}else{tryAddInvalidEntries(invalidChannels,`${operationPath}/message/tags`,operation.message.tags)}}}function tryAddInvalidEntries(invalidChannels,key,tags){const duplicateNames=tags&&getDuplicateTagNames(tags);if(duplicateNames&&duplicateNames.length){invalidChannels.set(key,duplicateNames.toString())}}function validateMessageTraitsTags(parsedJSON){const invalidMessageTraits=new Map;if(parsedJSON&&parsedJSON.components&&parsedJSON.components.messageTraits){Object.keys(parsedJSON.components.messageTraits).forEach(messageTrait=>{const duplicateNames=getDuplicateTagNames(parsedJSON.components.messageTraits[messageTrait].tags);if(duplicateNames&&duplicateNames.length){const messageTraitsPath=`messageTraits/${messageTrait}/tags`;invalidMessageTraits.set(messageTraitsPath,duplicateNames.toString())}})}return invalidMessageTraits}function validateMessageTags(parsedJSON){const invalidMessages=new Map;if(parsedJSON&&parsedJSON.components&&parsedJSON.components.messages){Object.keys(parsedJSON.components.messages).forEach(message=>{const duplicateNames=getDuplicateTagNames(parsedJSON.components.messages[message].tags);if(duplicateNames&&duplicateNames.length){const messagePath=`messages/${message}/tags`;invalidMessages.set(messagePath,duplicateNames.toString())}})}return invalidMessages}function getDuplicateTagNames(tags){if(!tags)return null;const tagNames=tags.map(item=>item.name);return tagNames.reduce((acc,item,idx,arr)=>{if(arr.indexOf(item)!==idx&&acc.indexOf(item)<0){acc.push(item)}return acc},[])}module.exports={validateServerVariables:validateServerVariables,validateOperationId:validateOperationId,validateMessageId:validateMessageId,validateServerSecurity:validateServerSecurity,validateChannels:validateChannels,validateTags:validateTags}},{"./errors/parser-error":6,"./models/operation":32,"./utils":43}],6:[function(require,module,exports){const ERROR_URL_PREFIX="https://github.com/asyncapi/parser-js/";const buildError=(from,to)=>{to.type=from.type.startsWith(ERROR_URL_PREFIX)?from.type:`${ERROR_URL_PREFIX}${from.type}`;to.title=from.title;if(from.detail)to.detail=from.detail;if(from.validationErrors)to.validationErrors=from.validationErrors;if(from.parsedJSON)to.parsedJSON=from.parsedJSON;if(from.location)to.location=from.location;if(from.refs)to.refs=from.refs;return to};class ParserError extends Error{constructor(def){super();buildError(def,this);this.message=def.title}toJS(){return buildError(this,{})}}module.exports=ParserError},{}],7:[function(require,module,exports){const parser=require("./parser");const defaultAsyncAPISchemaParser=require("./asyncapiSchemaFormatParser");parser.registerSchemaParser(defaultAsyncAPISchemaParser);module.exports=parser},{"./asyncapiSchemaFormatParser":2,"./parser":42}],8:[function(require,module,exports){const SchemaIteratorCallbackType=Object.freeze({NEW_SCHEMA:"NEW_SCHEMA",END_SCHEMA:"END_SCHEMA"});const SchemaTypesToIterate=Object.freeze({parameters:"parameters",payloads:"payloads",headers:"headers",components:"components",objects:"objects",arrays:"arrays",oneOfs:"oneOfs",allOfs:"allOfs",anyOfs:"anyOfs",nots:"nots",propertyNames:"propertyNames",patternProperties:"patternProperties",contains:"contains",ifs:"ifs",thenes:"thenes",elses:"elses",dependencies:"dependencies",definitions:"definitions"});function traverseSchema(schema,propOrIndex,options){if(!schema)return;const{callback:callback,schemaTypesToIterate:schemaTypesToIterate,seenSchemas:seenSchemas}=options;const jsonSchema=schema.json();if(seenSchemas.has(jsonSchema))return;seenSchemas.add(jsonSchema);let types=schema.type()||[];if(!Array.isArray(types)){types=[types]}if(!schemaTypesToIterate.includes(SchemaTypesToIterate.objects)&&types.includes("object"))return;if(!schemaTypesToIterate.includes(SchemaTypesToIterate.arrays)&&types.includes("array"))return;if(callback(schema,propOrIndex,SchemaIteratorCallbackType.NEW_SCHEMA)===false)return;if(schemaTypesToIterate.includes(SchemaTypesToIterate.objects)&&types.includes("object")){recursiveSchemaObject(schema,options)}if(schemaTypesToIterate.includes(SchemaTypesToIterate.arrays)&&types.includes("array")){recursiveSchemaArray(schema,options)}if(schemaTypesToIterate.includes(SchemaTypesToIterate.oneOfs)){(schema.oneOf()||[]).forEach((combineSchema,idx)=>{traverseSchema(combineSchema,idx,options)})}if(schemaTypesToIterate.includes(SchemaTypesToIterate.anyOfs)){(schema.anyOf()||[]).forEach((combineSchema,idx)=>{traverseSchema(combineSchema,idx,options)})}if(schemaTypesToIterate.includes(SchemaTypesToIterate.allOfs)){(schema.allOf()||[]).forEach((combineSchema,idx)=>{traverseSchema(combineSchema,idx,options)})}if(schemaTypesToIterate.includes(SchemaTypesToIterate.nots)&&schema.not()){traverseSchema(schema.not(),null,options)}if(schemaTypesToIterate.includes(SchemaTypesToIterate.ifs)&&schema.if()){traverseSchema(schema.if(),null,options)}if(schemaTypesToIterate.includes(SchemaTypesToIterate.thenes)&&schema.then()){traverseSchema(schema.then(),null,options)}if(schemaTypesToIterate.includes(SchemaTypesToIterate.elses)&&schema.else()){traverseSchema(schema.else(),null,options)}if(schemaTypesToIterate.includes(SchemaTypesToIterate.dependencies)){Object.entries(schema.dependencies()||{}).forEach(([depName,dep])=>{if(dep&&!Array.isArray(dep)){traverseSchema(dep,depName,options)}})}if(schemaTypesToIterate.includes(SchemaTypesToIterate.definitions)){Object.entries(schema.definitions()||{}).forEach(([defName,def])=>{traverseSchema(def,defName,options)})}callback(schema,propOrIndex,SchemaIteratorCallbackType.END_SCHEMA);seenSchemas.delete(jsonSchema)}function recursiveSchemaObject(schema,options){Object.entries(schema.properties()||{}).forEach(([propertyName,property])=>{traverseSchema(property,propertyName,options)});const additionalProperties=schema.additionalProperties();if(typeof additionalProperties==="object"){traverseSchema(additionalProperties,null,options)}const schemaTypesToIterate=options.schemaTypesToIterate;if(schemaTypesToIterate.includes(SchemaTypesToIterate.propertyNames)&&schema.propertyNames()){traverseSchema(schema.propertyNames(),null,options)}if(schemaTypesToIterate.includes(SchemaTypesToIterate.patternProperties)){Object.entries(schema.patternProperties()||{}).forEach(([propertyName,property])=>{traverseSchema(property,propertyName,options)})}}function recursiveSchemaArray(schema,options){const items=schema.items();if(items){if(Array.isArray(items)){items.forEach((item,idx)=>{traverseSchema(item,idx,options)})}else{traverseSchema(items,null,options)}}const additionalItems=schema.additionalItems();if(typeof additionalItems==="object"){traverseSchema(additionalItems,null,options)}if(options.schemaTypesToIterate.includes(SchemaTypesToIterate.contains)&&schema.contains()){traverseSchema(schema.contains(),null,options)}}function traverseAsyncApiDocument(doc,callback,schemaTypesToIterate){if(!schemaTypesToIterate){schemaTypesToIterate=Object.values(SchemaTypesToIterate)}const options={callback:callback,schemaTypesToIterate:schemaTypesToIterate,seenSchemas:new Set};if(doc.hasChannels()){Object.values(doc.channels()).forEach(channel=>{traverseChannel(channel,options)})}if(schemaTypesToIterate.includes(SchemaTypesToIterate.components)&&doc.hasComponents()){const components=doc.components();Object.values(components.messages()||{}).forEach(message=>{traverseMessage(message,options)});Object.values(components.schemas()||{}).forEach(schema=>{traverseSchema(schema,null,options)});if(schemaTypesToIterate.includes(SchemaTypesToIterate.parameters)){Object.values(components.parameters()||{}).forEach(parameter=>{traverseSchema(parameter.schema(),null,options)})}Object.values(components.messageTraits()||{}).forEach(messageTrait=>{traverseMessageTrait(messageTrait,options)})}}function traverseChannel(channel,options){if(!channel)return;const{schemaTypesToIterate:schemaTypesToIterate}=options;if(schemaTypesToIterate.includes(SchemaTypesToIterate.parameters)){Object.values(channel.parameters()||{}).forEach(parameter=>{traverseSchema(parameter.schema(),null,options)})}if(channel.hasPublish()){channel.publish().messages().forEach(message=>{traverseMessage(message,options)})}if(channel.hasSubscribe()){channel.subscribe().messages().forEach(message=>{traverseMessage(message,options)})}}function traverseMessage(message,options){if(!message)return;const{schemaTypesToIterate:schemaTypesToIterate}=options;if(schemaTypesToIterate.includes(SchemaTypesToIterate.headers)){traverseSchema(message.headers(),null,options)}if(schemaTypesToIterate.includes(SchemaTypesToIterate.payloads)){traverseSchema(message.payload(),null,options)}}function traverseMessageTrait(messageTrait,options){if(!messageTrait)return;const{schemaTypesToIterate:schemaTypesToIterate}=options;if(schemaTypesToIterate.includes(SchemaTypesToIterate.headers)){traverseSchema(messageTrait.headers(),null,options)}}module.exports={SchemaIteratorCallbackType:SchemaIteratorCallbackType,SchemaTypesToIterate:SchemaTypesToIterate,traverseAsyncApiDocument:traverseAsyncApiDocument}},{}],9:[function(require,module,exports){module.exports=((txt,reviver,context=20)=>{try{return JSON.parse(txt,reviver)}catch(e){handleJsonNotString(txt);const syntaxErr=e.message.match(/^Unexpected token.*position\s+(\d+)/i);const errIdxBrokenJson=e.message.match(/^Unexpected end of JSON.*/i)?txt.length-1:null;const errIdx=syntaxErr?+syntaxErr[1]:errIdxBrokenJson;handleErrIdxNotNull(e,txt,errIdx,context);e.offset=errIdx;const lines=txt.substr(0,errIdx).split("\n");e.startLine=lines.length;e.startColumn=lines[lines.length-1].length;throw e}});function handleJsonNotString(txt){if(typeof txt!=="string"){const isEmptyArray=Array.isArray(txt)&&txt.length===0;const errorMessage=`Cannot parse ${isEmptyArray?"an empty array":String(txt)}`;throw new TypeError(errorMessage)}}function handleErrIdxNotNull(e,txt,errIdx,context){if(errIdx!==null){const start=errIdx<=context?0:errIdx-context;const end=errIdx+context>=txt.length?txt.length:errIdx+context;e.message+=` while parsing near '${start===0?"":"..."}${txt.slice(start,end)}${end===txt.length?"":"..."}'`}else{e.message+=` while parsing '${txt.slice(0,context*2)}'`}}},{}],10:[function(require,module,exports){const{getMapValueByKey:getMapValueByKey}=require("../models/utils");const MixinBindings={hasBindings(){return!!(this._json.bindings&&Object.keys(this._json.bindings).length)},bindings(){return this.hasBindings()?this._json.bindings:{}},bindingProtocols(){return Object.keys(this.bindings())},hasBinding(name){return this.hasBindings()&&!!this._json.bindings[String(name)]},binding(name){return getMapValueByKey(this._json.bindings,name)}};module.exports=MixinBindings},{"../models/utils":41}],11:[function(require,module,exports){const{getMapValueByKey:getMapValueByKey}=require("../models/utils");const MixinDescription={hasDescription(){return!!this._json.description},description(){return getMapValueByKey(this._json,"description")}};module.exports=MixinDescription},{"../models/utils":41}],12:[function(require,module,exports){const{getMapValueOfType:getMapValueOfType}=require("../models/utils");const ExternalDocs=require("../models/external-docs");const MixinExternalDocs={hasExternalDocs(){return!!(this._json.externalDocs&&Object.keys(this._json.externalDocs).length)},externalDocs(){return getMapValueOfType(this._json,"externalDocs",ExternalDocs)}};module.exports=MixinExternalDocs},{"../models/external-docs":22,"../models/utils":41}],13:[function(require,module,exports){const MixinSpecificationExtensions={hasExtensions(){return!!this.extensionKeys().length},extensions(){const result={};Object.entries(this._json).forEach(([key,value])=>{if(/^x-[\w\d\.\-\_]+$/.test(key)){result[String(key)]=value}});return result},extensionKeys(){return Object.keys(this.extensions())},extKeys(){return this.extensionKeys()},hasExtension(key){if(!key.startsWith("x-")){return false}return!!this._json[String(key)]},extension(key){if(!key.startsWith("x-")){return null}return this._json[String(key)]},hasExt(key){return this.hasExtension(key)},ext(key){return this.extension(key)}};module.exports=MixinSpecificationExtensions},{}],14:[function(require,module,exports){const Tag=require("../models/tag");const MixinTags={hasTags(){return!!(Array.isArray(this._json.tags)&&this._json.tags.length)},tags(){return this.hasTags()?this._json.tags.map(t=>new Tag(t)):[]},tagNames(){return this.hasTags()?this._json.tags.map(t=>t.name):[]},hasTag(name){return this.hasTags()&&this._json.tags.some(t=>t.name===name)},tag(name){const tg=this.hasTags()&&this._json.tags.find(t=>t.name===name);return tg?new Tag(tg):null}};module.exports=MixinTags},{"../models/tag":40}],15:[function(require,module,exports){const{createMapOfType:createMapOfType,getMapValueOfType:getMapValueOfType,mix:mix}=require("./utils");const Base=require("./base");const Info=require("./info");const Server=require("./server");const Channel=require("./channel");const Components=require("./components");const MixinExternalDocs=require("../mixins/external-docs");const MixinTags=require("../mixins/tags");const MixinSpecificationExtensions=require("../mixins/specification-extensions");const{xParserSpecParsed:xParserSpecParsed,xParserSpecStringified:xParserSpecStringified,xParserCircle:xParserCircle}=require("../constants");const{assignNameToAnonymousMessages:assignNameToAnonymousMessages,assignNameToComponentMessages:assignNameToComponentMessages,assignUidToComponentSchemas:assignUidToComponentSchemas,assignUidToParameterSchemas:assignUidToParameterSchemas,assignIdToAnonymousSchemas:assignIdToAnonymousSchemas,assignUidToComponentParameterSchemas:assignUidToComponentParameterSchemas}=require("../anonymousNaming");const{traverseAsyncApiDocument:traverseAsyncApiDocument}=require("../iterators");class AsyncAPIDocument extends Base{constructor(...args){super(...args);if(this.ext(xParserSpecParsed)===true){return}assignNameToComponentMessages(this);assignNameToAnonymousMessages(this);assignUidToComponentSchemas(this);assignUidToComponentParameterSchemas(this);assignUidToParameterSchemas(this);assignIdToAnonymousSchemas(this);this.json()[String(xParserSpecParsed)]=true}version(){return this._json.asyncapi}info(){return new Info(this._json.info)}id(){return this._json.id}hasServers(){return!!this._json.servers}servers(){return createMapOfType(this._json.servers,Server)}serverNames(){if(!this._json.servers)return[];return Object.keys(this._json.servers)}server(name){return getMapValueOfType(this._json.servers,name,Server)}hasDefaultContentType(){return!!this._json.defaultContentType}defaultContentType(){return this._json.defaultContentType||null}hasChannels(){return!!this._json.channels}channels(){return createMapOfType(this._json.channels,Channel,this)}channelNames(){if(!this._json.channels)return[];return Object.keys(this._json.channels)}channel(name){return getMapValueOfType(this._json.channels,name,Channel,this)}hasComponents(){return!!this._json.components}components(){if(!this._json.components)return null;return new Components(this._json.components)}hasMessages(){return!!this.allMessages().size}allMessages(){const messages=new Map;if(this.hasChannels()){this.channelNames().forEach(channelName=>{const channel=this.channel(channelName);if(channel.hasPublish()){channel.publish().messages().forEach(m=>{messages.set(m.uid(),m)})}if(channel.hasSubscribe()){channel.subscribe().messages().forEach(m=>{messages.set(m.uid(),m)})}})}if(this.hasComponents()){Object.values(this.components().messages()).forEach(m=>{messages.set(m.uid(),m)})}return messages}allSchemas(){const schemas=new Map;const allSchemasCallback=schema=>{if(schema.uid()){schemas.set(schema.uid(),schema)}};traverseAsyncApiDocument(this,allSchemasCallback);return schemas}hasCircular(){return!!this._json[String(xParserCircle)]}traverseSchemas(callback,schemaTypesToIterate){traverseAsyncApiDocument(this,callback,schemaTypesToIterate)}static stringify(doc,space){const rawDoc=doc.json();const copiedDoc={...rawDoc};copiedDoc[String(xParserSpecStringified)]=true;return JSON.stringify(copiedDoc,refReplacer(),space)}static parse(doc){let parsedJSON=doc;if(typeof doc==="string"){parsedJSON=JSON.parse(doc)}else if(typeof doc==="object"){parsedJSON={...parsedJSON}}if(typeof parsedJSON!=="object"||!parsedJSON[String(xParserSpecParsed)]){throw new Error("Cannot parse invalid AsyncAPI document")}if(!parsedJSON[String(xParserSpecStringified)]){return new AsyncAPIDocument(parsedJSON)}delete parsedJSON[String(xParserSpecStringified)];const objToPath=new Map;const pathToObj=new Map;traverseStringifiedDoc(parsedJSON,undefined,parsedJSON,objToPath,pathToObj);return new AsyncAPIDocument(parsedJSON)}}function refReplacer(){const modelPaths=new Map;const paths=new Map;let init=null;return function(field,value){const pathPart=modelPaths.get(this)+(Array.isArray(this)?`[${field}]`:`.${field}`);const isComplex=value===Object(value);if(isComplex){modelPaths.set(value,pathPart)}const savedPath=paths.get(value)||"";if(!savedPath&&isComplex){const valuePath=pathPart.replace(/undefined\.\.?/,"");paths.set(value,valuePath)}const prefixPath=savedPath[0]==="["?"$":"$.";let val=savedPath?`$ref:${prefixPath}${savedPath}`:value;if(init===null){init=value}else if(val===init){val="$ref:$"}return val}}function traverseStringifiedDoc(parent,field,root,objToPath,pathToObj){let objOrPath=parent;let path="$ref:$";if(field!==undefined){objOrPath=parent[String(field)];const concatenatedPath=field?`.${field}`:"";path=objToPath.get(parent)+(Array.isArray(parent)?`[${field}]`:concatenatedPath)}objToPath.set(objOrPath,path);pathToObj.set(path,objOrPath);const ref=pathToObj.get(objOrPath);if(ref){parent[String(field)]=ref}if(objOrPath==="$ref:$"||ref==="$ref:$"){parent[String(field)]=root}if(objOrPath===Object(objOrPath)){for(const f in objOrPath){traverseStringifiedDoc(objOrPath,f,root,objToPath,pathToObj)}}}module.exports=mix(AsyncAPIDocument,MixinTags,MixinExternalDocs,MixinSpecificationExtensions)},{"../anonymousNaming":1,"../constants":4,"../iterators":8,"../mixins/external-docs":12,"../mixins/specification-extensions":13,"../mixins/tags":14,"./base":16,"./channel":18,"./components":19,"./info":23,"./server":38,"./utils":41}],16:[function(require,module,exports){const ParserError=require("../errors/parser-error");class Base{constructor(json){if(json===undefined||json===null)throw new ParserError(`Invalid JSON to instantiate the ${this.constructor.name} object.`);this._json=json}json(key){if(key===undefined)return this._json;if(!this._json)return;return this._json[String(key)]}}module.exports=Base},{"../errors/parser-error":6}],17:[function(require,module,exports){const{mix:mix}=require("./utils");const Base=require("./base");const Schema=require("./schema");const MixinDescription=require("../mixins/description");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class ChannelParameter extends Base{location(){return this._json.location}schema(){if(!this._json.schema)return null;return new Schema(this._json.schema)}}module.exports=mix(ChannelParameter,MixinDescription,MixinSpecificationExtensions)},{"../mixins/description":11,"../mixins/specification-extensions":13,"./base":16,"./schema":34,"./utils":41}],18:[function(require,module,exports){const{createMapOfType:createMapOfType,getMapValueOfType:getMapValueOfType,mix:mix}=require("./utils");const Base=require("./base");const ChannelParameter=require("./channel-parameter");const PublishOperation=require("./publish-operation");const SubscribeOperation=require("./subscribe-operation");const MixinDescription=require("../mixins/description");const MixinBindings=require("../mixins/bindings");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class Channel extends Base{parameters(){return createMapOfType(this._json.parameters,ChannelParameter)}parameter(name){return getMapValueOfType(this._json.parameters,name,ChannelParameter)}hasParameters(){return!!this._json.parameters}hasServers(){return!!this._json.servers}servers(){if(!this._json.servers)return[];return this._json.servers}server(index){if(!this._json.servers)return null;if(typeof index!=="number")return null;if(index>this._json.servers.length-1)return null;return this._json.servers[+index]}publish(){if(!this._json.publish)return null;return new PublishOperation(this._json.publish)}subscribe(){if(!this._json.subscribe)return null;return new SubscribeOperation(this._json.subscribe)}hasPublish(){return!!this._json.publish}hasSubscribe(){return!!this._json.subscribe}}module.exports=mix(Channel,MixinDescription,MixinBindings,MixinSpecificationExtensions)},{"../mixins/bindings":10,"../mixins/description":11,"../mixins/specification-extensions":13,"./base":16,"./channel-parameter":17,"./publish-operation":33,"./subscribe-operation":39,"./utils":41}],19:[function(require,module,exports){const{createMapOfType:createMapOfType,getMapValueOfType:getMapValueOfType,mix:mix}=require("./utils");const Base=require("./base");const Channel=require("./channel");const Message=require("./message");const Schema=require("./schema");const SecurityScheme=require("./security-scheme");const Server=require("./server");const ChannelParameter=require("./channel-parameter");const CorrelationId=require("./correlation-id");const OperationTrait=require("./operation-trait");const MessageTrait=require("./message-trait");const ServerVariable=require("./server-variable");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class Components extends Base{channels(){return createMapOfType(this._json.channels,Channel)}hasChannels(){return!!this._json.channels}channel(name){return getMapValueOfType(this._json.channels,name,Channel)}messages(){return createMapOfType(this._json.messages,Message)}hasMessages(){return!!this._json.messages}message(name){return getMapValueOfType(this._json.messages,name,Message)}schemas(){return createMapOfType(this._json.schemas,Schema)}hasSchemas(){return!!this._json.schemas}schema(name){return getMapValueOfType(this._json.schemas,name,Schema)}securitySchemes(){return createMapOfType(this._json.securitySchemes,SecurityScheme)}hasSecuritySchemes(){return!!this._json.securitySchemes}securityScheme(name){return getMapValueOfType(this._json.securitySchemes,name,SecurityScheme)}servers(){return createMapOfType(this._json.servers,Server)}hasServers(){return!!this._json.servers}server(name){return getMapValueOfType(this._json.servers,name,Server)}parameters(){return createMapOfType(this._json.parameters,ChannelParameter)}hasParameters(){return!!this._json.parameters}parameter(name){return getMapValueOfType(this._json.parameters,name,ChannelParameter)}correlationIds(){return createMapOfType(this._json.correlationIds,CorrelationId)}hasCorrelationIds(){return!!this._json.correlationIds}correlationId(name){return getMapValueOfType(this._json.correlationIds,name,CorrelationId)}operationTraits(){return createMapOfType(this._json.operationTraits,OperationTrait)}hasOperationTraits(){return!!this._json.operationTraits}operationTrait(name){return getMapValueOfType(this._json.operationTraits,name,OperationTrait)}messageTraits(){return createMapOfType(this._json.messageTraits,MessageTrait)}hasMessageTraits(){return!!this._json.messageTraits}messageTrait(name){return getMapValueOfType(this._json.messageTraits,name,MessageTrait)}serverVariables(){return createMapOfType(this._json.serverVariables,ServerVariable)}hasServerVariables(){return!!this._json.serverVariables}serverVariable(name){return getMapValueOfType(this._json.serverVariables,name,ServerVariable)}}module.exports=mix(Components,MixinSpecificationExtensions)},{"../mixins/specification-extensions":13,"./base":16,"./channel":18,"./channel-parameter":17,"./correlation-id":21,"./message":27,"./message-trait":25,"./operation-trait":30,"./schema":34,"./security-scheme":35,"./server":38,"./server-variable":37,"./utils":41}],20:[function(require,module,exports){const{mix:mix}=require("./utils");const Base=require("./base");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class Contact extends Base{name(){return this._json.name}url(){return this._json.url}email(){return this._json.email}}module.exports=mix(Contact,MixinSpecificationExtensions)},{"../mixins/specification-extensions":13,"./base":16,"./utils":41}],21:[function(require,module,exports){const{mix:mix}=require("./utils");const Base=require("./base");const MixinDescription=require("../mixins/description");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class CorrelationId extends Base{location(){return this._json.location}}module.exports=mix(CorrelationId,MixinSpecificationExtensions,MixinDescription)},{"../mixins/description":11,"../mixins/specification-extensions":13,"./base":16,"./utils":41}],22:[function(require,module,exports){const{mix:mix}=require("./utils");const Base=require("./base");const MixinDescription=require("../mixins/description");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class ExternalDocs extends Base{url(){return this._json.url}}module.exports=mix(ExternalDocs,MixinDescription,MixinSpecificationExtensions)},{"../mixins/description":11,"../mixins/specification-extensions":13,"./base":16,"./utils":41}],23:[function(require,module,exports){const{mix:mix}=require("./utils");const Base=require("./base");const License=require("./license");const Contact=require("./contact");const MixinDescription=require("../mixins/description");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class Info extends Base{title(){return this._json.title}version(){return this._json.version}termsOfService(){return this._json.termsOfService}license(){if(!this._json.license)return null;return new License(this._json.license)}contact(){if(!this._json.contact)return null;return new Contact(this._json.contact)}}module.exports=mix(Info,MixinDescription,MixinSpecificationExtensions)},{"../mixins/description":11,"../mixins/specification-extensions":13,"./base":16,"./contact":20,"./license":24,"./utils":41}],24:[function(require,module,exports){const{mix:mix}=require("./utils");const Base=require("./base");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class License extends Base{name(){return this._json.name}url(){return this._json.url}}module.exports=mix(License,MixinSpecificationExtensions)},{"../mixins/specification-extensions":13,"./base":16,"./utils":41}],25:[function(require,module,exports){const MessageTraitable=require("./message-traitable");class MessageTrait extends MessageTraitable{}module.exports=MessageTrait},{"./message-traitable":26}],26:[function(require,module,exports){const{getMapValueOfType:getMapValueOfType,mix:mix}=require("./utils");const Base=require("./base");const Schema=require("./schema");const CorrelationId=require("./correlation-id");const MixinDescription=require("../mixins/description");const MixinExternalDocs=require("../mixins/external-docs");const MixinTags=require("../mixins/tags");const MixinBindings=require("../mixins/bindings");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class MessageTraitable extends Base{headers(){if(!this._json.headers)return null;return new Schema(this._json.headers)}header(name){if(!this._json.headers)return null;return getMapValueOfType(this._json.headers.properties,name,Schema)}id(){return this._json.messageId}correlationId(){if(!this._json.correlationId)return null;return new CorrelationId(this._json.correlationId)}schemaFormat(){return this._json.schemaFormat}contentType(){return this._json.contentType}name(){return this._json.name}title(){return this._json.title}summary(){return this._json.summary}examples(){return this._json.examples}}module.exports=mix(MessageTraitable,MixinDescription,MixinTags,MixinExternalDocs,MixinBindings,MixinSpecificationExtensions)},{"../mixins/bindings":10,"../mixins/description":11,"../mixins/external-docs":12,"../mixins/specification-extensions":13,"../mixins/tags":14,"./base":16,"./correlation-id":21,"./schema":34,"./utils":41}],27:[function(require,module,exports){(function(Buffer){(function(){const MessageTrait=require("./message-trait");const MessageTraitable=require("./message-traitable");const Schema=require("./schema");class Message extends MessageTraitable{uid(){return this.id()||this.name()||this.ext("x-parser-message-name")||Buffer.from(JSON.stringify(this._json)).toString("base64")}payload(){if(!this._json.payload)return null;return new Schema(this._json.payload)}traits(){const traits=this._json["x-parser-original-traits"]||this._json.traits;if(!traits)return[];return traits.map(t=>new MessageTrait(t))}hasTraits(){return!!this._json["x-parser-original-traits"]||!!this._json.traits}originalPayload(){return this._json["x-parser-original-payload"]||this.payload()}originalSchemaFormat(){return this._json["x-parser-original-schema-format"]||this.schemaFormat()}}module.exports=Message}).call(this)}).call(this,require("buffer").Buffer)},{"./message-trait":25,"./message-traitable":26,"./schema":34,buffer:150}],28:[function(require,module,exports){const{mix:mix}=require("./utils");const Base=require("./base");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class OAuthFlow extends Base{authorizationUrl(){return this._json.authorizationUrl}tokenUrl(){return this._json.tokenUrl}refreshUrl(){return this._json.refreshUrl}scopes(){return this._json.scopes}}module.exports=mix(OAuthFlow,MixinSpecificationExtensions)},{"../mixins/specification-extensions":13,"./base":16,"./utils":41}],29:[function(require,module,exports){const Base=require("./base");class OperationSecurityRequirement extends Base{}module.exports=OperationSecurityRequirement},{"./base":16}],30:[function(require,module,exports){const OperationTraitable=require("./operation-traitable");class OperationTrait extends OperationTraitable{}module.exports=OperationTrait},{"./operation-traitable":31}],31:[function(require,module,exports){const{mix:mix}=require("./utils");const Base=require("./base");const MixinDescription=require("../mixins/description");const MixinTags=require("../mixins/tags");const MixinExternalDocs=require("../mixins/external-docs");const MixinBindings=require("../mixins/bindings");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class OperationTraitable extends Base{id(){return this._json.operationId}summary(){return this._json.summary}}module.exports=mix(OperationTraitable,MixinDescription,MixinTags,MixinExternalDocs,MixinBindings,MixinSpecificationExtensions)},{"../mixins/bindings":10,"../mixins/description":11,"../mixins/external-docs":12,"../mixins/specification-extensions":13,"../mixins/tags":14,"./base":16,"./utils":41}],32:[function(require,module,exports){const OperationTraitable=require("./operation-traitable");const Message=require("./message");const OperationTrait=require("./operation-trait");const OperationSecurityRequirement=require("./operation-security-requirement");class Operation extends OperationTraitable{hasMultipleMessages(){if(this._json.message&&this._json.message.oneOf&&this._json.message.oneOf.length>1)return true;if(!this._json.message)return false;return false}traits(){const traits=this._json["x-parser-original-traits"]||this._json.traits;if(!traits)return[];return traits.map(t=>new OperationTrait(t))}hasTraits(){return!!this._json["x-parser-original-traits"]||!!this._json.traits}messages(){if(!this._json.message)return[];if(this._json.message.oneOf)return this._json.message.oneOf.map(m=>new Message(m));return[new Message(this._json.message)]}message(index){if(!this._json.message)return null;if(this._json.message.oneOf&&this._json.message.oneOf.length===1)return new Message(this._json.message.oneOf[0]);if(!this._json.message.oneOf)return new Message(this._json.message);if(typeof index!=="number")return null;if(index>this._json.message.oneOf.length-1)return null;return new Message(this._json.message.oneOf[+index])}security(){if(!this._json.security)return null;return this._json.security.map(sec=>new OperationSecurityRequirement(sec))}}module.exports=Operation},{"./message":27,"./operation-security-requirement":29,"./operation-trait":30,"./operation-traitable":31}],33:[function(require,module,exports){const Operation=require("./operation");class PublishOperation extends Operation{isPublish(){return true}isSubscribe(){return false}kind(){return"publish"}}module.exports=PublishOperation},{"./operation":32}],34:[function(require,module,exports){const{createMapOfType:createMapOfType,getMapValueOfType:getMapValueOfType,mix:mix}=require("./utils");const Base=require("./base");const{xParserCircle:xParserCircle,xParserCircleProps:xParserCircleProps}=require("../constants");const MixinDescription=require("../mixins/description");const MixinExternalDocs=require("../mixins/external-docs");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class Schema extends Base{constructor(json,options){super(json);this.options=options||{}}uid(){return this.$id()||this.ext("x-parser-schema-id")}$id(){return this._json.$id}multipleOf(){return this._json.multipleOf}maximum(){return this._json.maximum}exclusiveMaximum(){return this._json.exclusiveMaximum}minimum(){return this._json.minimum}exclusiveMinimum(){return this._json.exclusiveMinimum}maxLength(){return this._json.maxLength}minLength(){return this._json.minLength}pattern(){return this._json.pattern}maxItems(){return this._json.maxItems}minItems(){return this._json.minItems}uniqueItems(){return!!this._json.uniqueItems}maxProperties(){return this._json.maxProperties}minProperties(){return this._json.minProperties}required(){return this._json.required}enum(){return this._json.enum}type(){return this._json.type}allOf(){if(!this._json.allOf)return null;return this._json.allOf.map(s=>new Schema(s,{parent:this}))}oneOf(){if(!this._json.oneOf)return null;return this._json.oneOf.map(s=>new Schema(s,{parent:this}))}anyOf(){if(!this._json.anyOf)return null;return this._json.anyOf.map(s=>new Schema(s,{parent:this}))}not(){if(!this._json.not)return null;return new Schema(this._json.not,{parent:this})}items(){if(!this._json.items)return null;if(Array.isArray(this._json.items)){return this._json.items.map(s=>new Schema(s,{parent:this}))}return new Schema(this._json.items,{parent:this})}properties(){return createMapOfType(this._json.properties,Schema,{parent:this})}property(name){return getMapValueOfType(this._json.properties,name,Schema,{parent:this})}additionalProperties(){const ap=this._json.additionalProperties;if(ap===undefined||ap===null)return;if(typeof ap==="boolean")return ap;return new Schema(ap,{parent:this})}additionalItems(){const ai=this._json.additionalItems;if(ai===undefined||ai===null)return;return new Schema(ai,{parent:this})}patternProperties(){return createMapOfType(this._json.patternProperties,Schema,{parent:this})}const(){return this._json.const}contains(){if(!this._json.contains)return null;return new Schema(this._json.contains,{parent:this})}dependencies(){if(!this._json.dependencies)return null;const result={};Object.entries(this._json.dependencies).forEach(([key,value])=>{result[String(key)]=!Array.isArray(value)?new Schema(value,{parent:this}):value});return result}propertyNames(){if(!this._json.propertyNames)return null;return new Schema(this._json.propertyNames,{parent:this})}if(){if(!this._json.if)return null;return new Schema(this._json.if,{parent:this})}then(){if(!this._json.then)return null;return new Schema(this._json.then,{parent:this})}else(){if(!this._json.else)return null;return new Schema(this._json.else,{parent:this})}format(){return this._json.format}contentEncoding(){return this._json.contentEncoding}contentMediaType(){return this._json.contentMediaType}definitions(){return createMapOfType(this._json.definitions,Schema,{parent:this})}title(){return this._json.title}default(){return this._json.default}deprecated(){return this._json.deprecated}discriminator(){return this._json.discriminator}readOnly(){return!!this._json.readOnly}writeOnly(){return!!this._json.writeOnly}examples(){return this._json.examples}isBooleanSchema(){return typeof this._json==="boolean"}isCircular(){if(!!this.ext(xParserCircle)){return true}let parent=this.options.parent;while(parent){if(parent._json===this._json)return true;parent=parent.options&&parent.options.parent}return false}circularSchema(){let parent=this.options.parent;while(parent){if(parent._json===this._json)return parent;parent=parent.options&&parent.options.parent}}hasCircularProps(){if(Array.isArray(this.ext(xParserCircleProps))){return this.ext(xParserCircleProps).length>0}return Object.entries(this.properties()||{}).map(([propertyName,property])=>{if(property.isCircular())return propertyName}).filter(Boolean).length>0}circularProps(){if(Array.isArray(this.ext(xParserCircleProps))){return this.ext(xParserCircleProps)}return Object.entries(this.properties()||{}).map(([propertyName,property])=>{if(property.isCircular())return propertyName}).filter(Boolean)}}module.exports=mix(Schema,MixinDescription,MixinExternalDocs,MixinSpecificationExtensions)},{"../constants":4,"../mixins/description":11,"../mixins/external-docs":12,"../mixins/specification-extensions":13,"./base":16,"./utils":41}],35:[function(require,module,exports){const{createMapOfType:createMapOfType,mix:mix}=require("./utils");const Base=require("./base");const OAuthFlow=require("./oauth-flow");const MixinDescription=require("../mixins/description");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class SecurityScheme extends Base{type(){return this._json.type}name(){return this._json.name}in(){return this._json.in}scheme(){return this._json.scheme}bearerFormat(){return this._json.bearerFormat}openIdConnectUrl(){return this._json.openIdConnectUrl}flows(){return createMapOfType(this._json.flows,OAuthFlow)}}module.exports=mix(SecurityScheme,MixinDescription,MixinSpecificationExtensions)},{"../mixins/description":11,"../mixins/specification-extensions":13,"./base":16,"./oauth-flow":28,"./utils":41}],36:[function(require,module,exports){const Base=require("./base");class ServerSecurityRequirement extends Base{}module.exports=ServerSecurityRequirement},{"./base":16}],37:[function(require,module,exports){const{mix:mix}=require("./utils");const Base=require("./base");const MixinDescription=require("../mixins/description");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class ServerVariable extends Base{allowedValues(){return this._json.enum}allows(name){if(this._json.enum===undefined)return true;return this._json.enum.includes(name)}hasAllowedValues(){return this._json.enum!==undefined}defaultValue(){return this._json.default}hasDefaultValue(){return this._json.default!==undefined}examples(){return this._json.examples}}module.exports=mix(ServerVariable,MixinDescription,MixinSpecificationExtensions)},{"../mixins/description":11,"../mixins/specification-extensions":13,"./base":16,"./utils":41}],38:[function(require,module,exports){const{createMapOfType:createMapOfType,getMapValueOfType:getMapValueOfType,mix:mix}=require("./utils");const Base=require("./base");const ServerVariable=require("./server-variable");const ServerSecurityRequirement=require("./server-security-requirement");const MixinDescription=require("../mixins/description");const MixinBindings=require("../mixins/bindings");const MixinSpecificationExtensions=require("../mixins/specification-extensions");const MixinTags=require("../mixins/tags");class Server extends Base{url(){return this._json.url}protocol(){return this._json.protocol}protocolVersion(){return this._json.protocolVersion}variables(){return createMapOfType(this._json.variables,ServerVariable)}variable(name){return getMapValueOfType(this._json.variables,name,ServerVariable)}hasVariables(){return!!this._json.variables}security(){if(!this._json.security)return null;return this._json.security.map(sec=>new ServerSecurityRequirement(sec))}}module.exports=mix(Server,MixinDescription,MixinBindings,MixinSpecificationExtensions,MixinTags)},{"../mixins/bindings":10,"../mixins/description":11,"../mixins/specification-extensions":13,"../mixins/tags":14,"./base":16,"./server-security-requirement":36,"./server-variable":37,"./utils":41}],39:[function(require,module,exports){const Operation=require("./operation");class SubscribeOperation extends Operation{isPublish(){return false}isSubscribe(){return true}kind(){return"subscribe"}}module.exports=SubscribeOperation},{"./operation":32}],40:[function(require,module,exports){const{mix:mix}=require("./utils");const Base=require("./base");const MixinDescription=require("../mixins/description");const MixinExternalDocs=require("../mixins/external-docs");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class Tag extends Base{name(){return this._json.name}}module.exports=mix(Tag,MixinDescription,MixinExternalDocs,MixinSpecificationExtensions)},{"../mixins/description":11,"../mixins/external-docs":12,"../mixins/specification-extensions":13,"./base":16,"./utils":41}],41:[function(require,module,exports){const utils=module.exports;const getMapValue=(obj,key,Type,options)=>{if(typeof key!=="string"||!obj)return null;const v=obj[String(key)];if(v===undefined)return null;return Type?new Type(v,options):v};utils.createMapOfType=((obj,Type,options)=>{const result={};if(!obj)return result;Object.entries(obj).forEach(([key,value])=>{result[String(key)]=new Type(value,options)});return result});utils.getMapValueOfType=((obj,key,Type,options)=>{return getMapValue(obj,key,Type,options)});utils.getMapValueByKey=((obj,key)=>{return getMapValue(obj,key)});utils.mix=((model,...mixins)=>{let duplicatedMethods=false;function checkDuplication(mixin){if(model===mixin)return true;duplicatedMethods=Object.keys(mixin).some(mixinMethod=>model.prototype.hasOwnProperty(mixinMethod));return duplicatedMethods}if(mixins.some(checkDuplication)){if(duplicatedMethods){throw new Error(`invalid mix function: model ${model.name} has at least one method that it is trying to replace by mixin`)}else{throw new Error(`invalid mix function: cannot use the model ${model.name} as a mixin`)}}mixins.forEach(mixin=>Object.assign(model.prototype,mixin));return model})},{}],42:[function(require,module,exports){(function(process,global){(function(){const path=require("path");const fetch=typeof window!=="undefined"?window["fetch"]:typeof global!=="undefined"?global["fetch"]:null;const Ajv=require("ajv");const asyncapi=require("@asyncapi/specs");const $RefParser=require("@apidevtools/json-schema-ref-parser");const mergePatch=require("tiny-merge-patch").apply;const ParserError=require("./errors/parser-error");const{validateChannels:validateChannels,validateTags:validateTags,validateServerVariables:validateServerVariables,validateOperationId:validateOperationId,validateServerSecurity:validateServerSecurity,validateMessageId:validateMessageId}=require("./customValidators.js");const{toJS:toJS,findRefs:findRefs,getLocationOf:getLocationOf,improveAjvErrors:improveAjvErrors,getDefaultSchemaFormat:getDefaultSchemaFormat,getBaseUrl:getBaseUrl}=require("./utils");const AsyncAPIDocument=require("./models/asyncapi");const OPERATIONS=["publish","subscribe"];const SPECIAL_SECURITY_TYPES=["oauth2","openIdConnect"];const PARSERS={};const xParserCircle="x-parser-circular";const xParserMessageParsed="x-parser-message-parsed";const ajv=new Ajv({jsonPointers:true,allErrors:true,schemaId:"auto",logger:false,validateSchema:true});ajv.addMetaSchema(require("ajv/lib/refs/json-schema-draft-04.json"));module.exports={parse:parse,parseFromUrl:parseFromUrl,registerSchemaParser:registerSchemaParser,ParserError:ParserError,AsyncAPIDocument:AsyncAPIDocument};async function parse(asyncapiYAMLorJSON,options={}){let parsedJSON;let initialFormat;if(typeof window!=="undefined"&&!options.hasOwnProperty("path")){options.path=getBaseUrl(window.location.href)}else{options.path=options.path||`${process.cwd()}${path.sep}`}try{({initialFormat:initialFormat,parsedJSON:parsedJSON}=toJS(asyncapiYAMLorJSON));if(typeof parsedJSON!=="object"){throw new ParserError({type:"impossible-to-convert-to-json",title:"Could not convert AsyncAPI to JSON.",detail:"Most probably the AsyncAPI document contains invalid YAML or YAML features not supported in JSON."})}if(!parsedJSON.asyncapi){throw new ParserError({type:"missing-asyncapi-field",title:"The `asyncapi` field is missing.",parsedJSON:parsedJSON})}if(parsedJSON.asyncapi.startsWith("1.")||!asyncapi[parsedJSON.asyncapi]){throw new ParserError({type:"unsupported-version",title:`Version ${parsedJSON.asyncapi} is not supported.`,detail:"Please use latest version of the specification.",parsedJSON:parsedJSON,validationErrors:[getLocationOf("/asyncapi",asyncapiYAMLorJSON,initialFormat)]})}if(options.applyTraits===undefined)options.applyTraits=true;const refParser=new $RefParser;await dereference(refParser,parsedJSON,initialFormat,asyncapiYAMLorJSON,{...options,dereference:{circular:"ignore"}});const validate=getValidator(parsedJSON.asyncapi);const valid=validate(parsedJSON);const errors=validate.errors&&[...validate.errors];if(!valid)throw new ParserError({type:"validation-errors",title:"There were errors validating the AsyncAPI document.",parsedJSON:parsedJSON,validationErrors:improveAjvErrors(errors,asyncapiYAMLorJSON,initialFormat)});await customDocumentOperations(parsedJSON,asyncapiYAMLorJSON,initialFormat,options);if(refParser.$refs.circular)await handleCircularRefs(refParser,parsedJSON,initialFormat,asyncapiYAMLorJSON,options)}catch(e){if(e instanceof ParserError)throw e;throw new ParserError({type:"unexpected-error",title:e.message,parsedJSON:parsedJSON})}return new AsyncAPIDocument(parsedJSON)}function parseFromUrl(url,fetchOptions,options={}){if(!fetchOptions)fetchOptions={};if(!options.hasOwnProperty("path")){options={...options,path:getBaseUrl(url)}}return new Promise((resolve,reject)=>{fetch(url,fetchOptions).then(res=>res.text()).then(doc=>parse(doc,options)).then(result=>resolve(result)).catch(e=>{if(e instanceof ParserError)return reject(e);return reject(new ParserError({type:"fetch-url-error",title:e.message}))})})}async function dereference(refParser,parsedJSON,initialFormat,asyncapiYAMLorJSON,options){try{return await refParser.dereference(options.path,parsedJSON,{continueOnError:true,parse:options.parse,resolve:options.resolve,dereference:options.dereference})}catch(err){throw new ParserError({type:"dereference-error",title:err.errors[0].message,parsedJSON:parsedJSON,refs:findRefs(err.errors,initialFormat,asyncapiYAMLorJSON)})}}async function handleCircularRefs(refParser,parsedJSON,initialFormat,asyncapiYAMLorJSON,options){await dereference(refParser,parsedJSON,initialFormat,asyncapiYAMLorJSON,{...options,dereference:{circular:true}});parsedJSON[String(xParserCircle)]=true}function getValidator(version){let validate=ajv.getSchema(version);if(!validate){const asyncapiSchema=asyncapi[String(version)];delete asyncapiSchema.definitions["http://json-schema.org/draft-07/schema"];delete asyncapiSchema.definitions["http://json-schema.org/draft-04/schema"];ajv.addSchema(asyncapiSchema,version);validate=ajv.getSchema(version)}return validate}async function customDocumentOperations(parsedJSON,asyncapiYAMLorJSON,initialFormat,options){validateServerVariables(parsedJSON,asyncapiYAMLorJSON,initialFormat);validateServerSecurity(parsedJSON,asyncapiYAMLorJSON,initialFormat,SPECIAL_SECURITY_TYPES);if(!parsedJSON.channels)return;validateTags(parsedJSON,asyncapiYAMLorJSON,initialFormat);validateChannels(parsedJSON,asyncapiYAMLorJSON,initialFormat);validateOperationId(parsedJSON,asyncapiYAMLorJSON,initialFormat,OPERATIONS);validateMessageId(parsedJSON,asyncapiYAMLorJSON,initialFormat,OPERATIONS);await customComponentsMsgOperations(parsedJSON,asyncapiYAMLorJSON,initialFormat,options);await customChannelsOperations(parsedJSON,asyncapiYAMLorJSON,initialFormat,options)}async function validateAndConvertMessage(msg,originalAsyncAPIDocument,fileFormat,parsedAsyncAPIDocument,pathToPayload){if(xParserMessageParsed in msg&&msg[String(xParserMessageParsed)]===true)return;const defaultSchemaFormat=getDefaultSchemaFormat(parsedAsyncAPIDocument.asyncapi);const schemaFormat=msg.schemaFormat||defaultSchemaFormat;await PARSERS[String(schemaFormat)]({schemaFormat:schemaFormat,message:msg,defaultSchemaFormat:defaultSchemaFormat,originalAsyncAPIDocument:originalAsyncAPIDocument,parsedAsyncAPIDocument:parsedAsyncAPIDocument,fileFormat:fileFormat,pathToPayload:pathToPayload});msg.schemaFormat=defaultSchemaFormat;msg[String(xParserMessageParsed)]=true}function registerSchemaParser(parserModule){if(typeof parserModule!=="object"||typeof parserModule.parse!=="function"||typeof parserModule.getMimeTypes!=="function")throw new ParserError({type:"impossible-to-register-parser",title:"parserModule must have parse() and getMimeTypes() functions."});parserModule.getMimeTypes().forEach(schemaFormat=>{PARSERS[String(schemaFormat)]=parserModule.parse})}function applyTraits(js){if(Array.isArray(js.traits)){for(const trait of js.traits){for(const key in trait){js[String(key)]=mergePatch(js[String(key)],trait[String(key)])}}js["x-parser-original-traits"]=js.traits;delete js.traits}}async function customChannelsOperations(parsedJSON,asyncapiYAMLorJSON,initialFormat,options){const promisesArray=[];Object.entries(parsedJSON.channels).forEach(([channelName,channel])=>{promisesArray.push(...OPERATIONS.map(async opName=>{const op=channel[String(opName)];if(!op)return;const messages=op.message?op.message.oneOf||[op.message]:[];if(options.applyTraits){applyTraits(op);messages.forEach(m=>applyTraits(m))}const pathToPayload=`/channels/${channelName}/${opName}/message/payload`;for(const m of messages){await validateAndConvertMessage(m,asyncapiYAMLorJSON,initialFormat,parsedJSON,pathToPayload)}}))});await Promise.all(promisesArray)}async function customComponentsMsgOperations(parsedJSON,asyncapiYAMLorJSON,initialFormat,options){if(!parsedJSON.components||!parsedJSON.components.messages)return;const promisesArray=[];Object.entries(parsedJSON.components.messages).forEach(([messageName,message])=>{if(options.applyTraits){applyTraits(message)}const pathToPayload=`/components/messages/${messageName}/payload`;promisesArray.push(validateAndConvertMessage(message,asyncapiYAMLorJSON,initialFormat,parsedJSON,pathToPayload))});await Promise.all(promisesArray)}}).call(this)}).call(this,require("_process"),typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./customValidators.js":5,"./errors/parser-error":6,"./models/asyncapi":15,"./utils":43,"@apidevtools/json-schema-ref-parser":46,"@asyncapi/specs":88,_process:194,ajv:105,"ajv/lib/refs/json-schema-draft-04.json":146,path:193,"tiny-merge-patch":220}],43:[function(require,module,exports){const YAML=require("js-yaml");const{yamlAST:yamlAST,loc:loc}=require("@fmvilas/pseudo-yaml-ast");const jsonAST=require("json-to-ast");const jsonParseBetterErrors=require("../lib/json-parse");const ParserError=require("./errors/parser-error");const jsonPointerToArray=jsonPointer=>(jsonPointer||"/").split("/").splice(1);const utils=module.exports;const getAST=(asyncapiYAMLorJSON,initialFormat)=>{if(initialFormat==="yaml"){return yamlAST(asyncapiYAMLorJSON)}else if(initialFormat==="json"){return jsonAST(asyncapiYAMLorJSON)}};const findNode=(obj,location)=>{for(const key of location){obj=obj?obj[utils.untilde(key)]:null}return obj};const findNodeInAST=(ast,location)=>{let obj=ast;for(const key of location){if(!Array.isArray(obj.children))return;let childArray;const child=obj.children.find(c=>{if(!c)return;if(c.type==="Object")return childArray=c.children.find(a=>a.key.value===utils.untilde(key));return c.type==="Property"&&c.key&&c.key.value===utils.untilde(key)});if(!child)return;obj=childArray?childArray.value:child.value}return obj};const findLocationOf=(keys,ast,initialFormat)=>{if(initialFormat==="js")return{jsonPointer:`/${keys.join("/")}`};let node;if(initialFormat==="yaml"){node=findNode(ast,keys)}else if(initialFormat==="json"){node=findNodeInAST(ast,keys)}if(!node)return{jsonPointer:`/${keys.join("/")}`};let info;if(initialFormat==="yaml"){info=node[loc]}else if(initialFormat==="json"){info=node.loc}if(!info)return{jsonPointer:`/${keys.join("/")}`};return{jsonPointer:`/${keys.join("/")}`,startLine:info.start.line,startColumn:info.start.column+1,startOffset:info.start.offset,endLine:info.end?info.end.line:undefined,endColumn:info.end?info.end.column+1:undefined,endOffset:info.end?info.end.offset:undefined}};utils.tilde=(str=>{return str.replace(/[~\/]{1}/g,m=>{switch(m){case"/":return"~1";case"~":return"~0"}return m})});utils.untilde=(str=>{if(!str.includes("~"))return str;return str.replace(/~[01]/g,m=>{switch(m){case"~1":return"/";case"~0":return"~"}return m})});utils.toJS=(asyncapiYAMLorJSON=>{if(!asyncapiYAMLorJSON){throw new ParserError({type:"null-or-falsey-document",title:"Document can't be null or falsey."})}if(asyncapiYAMLorJSON.constructor&&asyncapiYAMLorJSON.constructor.name==="Object"){return{initialFormat:"js",parsedJSON:asyncapiYAMLorJSON}}if(typeof asyncapiYAMLorJSON!=="string"){throw new ParserError({type:"invalid-document-type",title:"The AsyncAPI document has to be either a string or a JS object."})}if(asyncapiYAMLorJSON.trimLeft().startsWith("{")){try{return{initialFormat:"json",parsedJSON:jsonParseBetterErrors(asyncapiYAMLorJSON)}}catch(e){throw new ParserError({type:"invalid-json",title:"The provided JSON is not valid.",detail:e.message,location:{startOffset:e.offset,startLine:e.startLine,startColumn:e.startColumn}})}}else{try{return{initialFormat:"yaml",parsedJSON:YAML.safeLoad(asyncapiYAMLorJSON)}}catch(err){throw new ParserError({type:"invalid-yaml",title:"The provided YAML is not valid.",detail:err.message,location:{startOffset:err.mark.position,startLine:err.mark.line+1,startColumn:err.mark.column+1}})}}});utils.findRefs=((errors,initialFormat,asyncapiYAMLorJSON)=>{let refs=[];errors.map(({path:path})=>refs.push({location:[...path.map(utils.tilde),"$ref"]}));if(initialFormat==="js"){return refs.map(ref=>({jsonPointer:`/${ref.location.join("/")}`}))}if(initialFormat==="yaml"){const pseudoAST=yamlAST(asyncapiYAMLorJSON);refs=refs.map(ref=>findLocationOf(ref.location,pseudoAST,initialFormat))}else if(initialFormat==="json"){const ast=jsonAST(asyncapiYAMLorJSON);refs=refs.map(ref=>findLocationOf(ref.location,ast,initialFormat))}return refs});utils.getLocationOf=((jsonPointer,asyncapiYAMLorJSON,initialFormat)=>{const ast=getAST(asyncapiYAMLorJSON,initialFormat);if(!ast)return{jsonPointer:jsonPointer};return findLocationOf(jsonPointerToArray(jsonPointer),ast,initialFormat)});utils.improveAjvErrors=((errors,asyncapiYAMLorJSON,initialFormat)=>{const ast=getAST(asyncapiYAMLorJSON,initialFormat);return errors.map(error=>{const defaultLocation={jsonPointer:error.dataPath||"/"};const additionalProperty=error.params.additionalProperty;const jsonPointer=additionalProperty?`${error.dataPath}/${additionalProperty}`:error.dataPath;return{title:`${error.dataPath||"/"} ${error.message}`,location:ast?findLocationOf(jsonPointerToArray(jsonPointer),ast,initialFormat):defaultLocation}})});utils.parseUrlVariables=(str=>{if(typeof str!=="string")return;return str.match(/{(.+?)}/g)});utils.parseUrlQueryParameters=(str=>{if(typeof str!=="string")return;return str.match(/\?((.*=.*)(&?))/g)});utils.getBaseUrl=(url=>{url=typeof url!=="string"?String(url):url;return url.substring(0,url.lastIndexOf("/")+1)});utils.getMissingProps=((arr,obj)=>{arr=arr.map(val=>val.replace(/[{}]/g,""));if(!obj)return arr;return arr.filter(val=>{return!obj.hasOwnProperty(val)})});utils.groupValidationErrors=((root,errorMessage,errorElements,asyncapiYAMLorJSON,initialFormat)=>{const errors=[];errorElements.forEach((val,key)=>{if(typeof val==="string")val=utils.untilde(val);const jsonPointer=root?`/${root}/${key}`:`/${key}`;errors.push({title:val?`${utils.untilde(key)} ${errorMessage}: ${val}`:`${utils.untilde(key)} ${errorMessage}`,location:utils.getLocationOf(jsonPointer,asyncapiYAMLorJSON,initialFormat)})});return errors});utils.setNotProvidedParams=((variables,val,key,notProvidedChannelParams,notProvidedParams)=>{const missingChannelParams=utils.getMissingProps(variables,val.parameters);if(missingChannelParams.length){notProvidedParams.set(utils.tilde(key),notProvidedChannelParams?notProvidedChannelParams.concat(missingChannelParams):missingChannelParams)}});utils.getUnknownServers=((parsedJSON,channel)=>{if(!channel)return[];const channelServers=channel.servers;if(!channelServers||channelServers.length===0)return[];const servers=parsedJSON.servers;if(!servers)return channelServers;const serversMap=new Map(Object.entries(servers));return channelServers.filter(serverName=>{return!serversMap.has(serverName)})});utils.getDefaultSchemaFormat=(asyncapiVersion=>{return`application/vnd.aai.asyncapi;version=${asyncapiVersion}`})},{"../lib/json-parse":9,"./errors/parser-error":6,"@fmvilas/pseudo-yaml-ast":95,"js-yaml":160,"json-to-ast":191}],44:[function(require,module,exports){"use strict";const $Ref=require("./ref");const Pointer=require("./pointer");const url=require("./util/url");module.exports=bundle;function bundle(parser,options){let inventory=[];crawl(parser,"schema",parser.$refs._root$Ref.path+"#","#",0,inventory,parser.$refs,options);remap(inventory)}function crawl(parent,key,path,pathFromRoot,indirections,inventory,$refs,options){let obj=key===null?parent:parent[key];if(obj&&typeof obj==="object"&&!ArrayBuffer.isView(obj)){if($Ref.isAllowed$Ref(obj)){inventory$Ref(parent,key,path,pathFromRoot,indirections,inventory,$refs,options)}else{let keys=Object.keys(obj).sort((a,b)=>{if(a==="definitions"){return-1}else if(b==="definitions"){return 1}else{return a.length-b.length}});for(let key of keys){let keyPath=Pointer.join(path,key);let keyPathFromRoot=Pointer.join(pathFromRoot,key);let value=obj[key];if($Ref.isAllowed$Ref(value)){inventory$Ref(obj,key,path,keyPathFromRoot,indirections,inventory,$refs,options)}else{crawl(obj,key,keyPath,keyPathFromRoot,indirections,inventory,$refs,options)}}}}}function inventory$Ref($refParent,$refKey,path,pathFromRoot,indirections,inventory,$refs,options){let $ref=$refKey===null?$refParent:$refParent[$refKey];let $refPath=url.resolve(path,$ref.$ref);let pointer=$refs._resolve($refPath,pathFromRoot,options);if(pointer===null){return}let depth=Pointer.parse(pathFromRoot).length;let file=url.stripHash(pointer.path);let hash=url.getHash(pointer.path);let external=file!==$refs._root$Ref.path;let extended=$Ref.isExtended$Ref($ref);indirections+=pointer.indirections;let existingEntry=findInInventory(inventory,$refParent,$refKey);if(existingEntry){if(depth{if(a.file!==b.file){return a.file1){const extraKeys={};for(let key of refKeys){if(key!=="$ref"&&!(key in cache.value)){extraKeys[key]=$ref[key]}}return{circular:cache.circular,value:Object.assign({},cache.value,extraKeys)}}return cache}let pointer=$refs._resolve($refPath,path,options);if(pointer===null){return{circular:false,value:null}}let directCircular=pointer.circular;let circular=directCircular||parents.has(pointer.value);circular&&foundCircularReference(path,$refs,options);let dereferencedValue=$Ref.dereference($ref,pointer.value);if(!circular){let dereferenced=crawl(dereferencedValue,pointer.path,pathFromRoot,parents,processedObjects,dereferencedCache,$refs,options);circular=dereferenced.circular;dereferencedValue=dereferenced.value}if(circular&&!directCircular&&options.dereference.circular==="ignore"){dereferencedValue=$ref}if(directCircular){dereferencedValue.$ref=pathFromRoot}const dereferencedObject={circular:circular,value:dereferencedValue};if(Object.keys($ref).length===1){dereferencedCache.set($refPath,dereferencedObject)}return dereferencedObject}function foundCircularReference(keyPath,$refs,options){$refs.circular=true;if(!options.dereference.circular){throw ono.reference(`Circular $ref pointer found at ${keyPath}`)}return true}},{"./pointer":54,"./ref":55,"./util/url":62,"@jsdevtools/ono":98}],46:[function(require,module,exports){(function(Buffer){(function(){"use strict";const $Refs=require("./refs");const _parse=require("./parse");const normalizeArgs=require("./normalize-args");const resolveExternal=require("./resolve-external");const _bundle=require("./bundle");const _dereference=require("./dereference");const url=require("./util/url");const{JSONParserError:JSONParserError,InvalidPointerError:InvalidPointerError,MissingPointerError:MissingPointerError,ResolverError:ResolverError,ParserError:ParserError,UnmatchedParserError:UnmatchedParserError,UnmatchedResolverError:UnmatchedResolverError,isHandledError:isHandledError,JSONParserErrorGroup:JSONParserErrorGroup}=require("./util/errors");const maybe=require("call-me-maybe");const{ono:ono}=require("@jsdevtools/ono");module.exports=$RefParser;module.exports.default=$RefParser;module.exports.JSONParserError=JSONParserError;module.exports.InvalidPointerError=InvalidPointerError;module.exports.MissingPointerError=MissingPointerError;module.exports.ResolverError=ResolverError;module.exports.ParserError=ParserError;module.exports.UnmatchedParserError=UnmatchedParserError;module.exports.UnmatchedResolverError=UnmatchedResolverError;function $RefParser(){this.schema=null;this.$refs=new $Refs}$RefParser.parse=function parse(path,schema,options,callback){let Class=this;let instance=new Class;return instance.parse.apply(instance,arguments)};$RefParser.prototype.parse=async function parse(path,schema,options,callback){let args=normalizeArgs(arguments);let promise;if(!args.path&&!args.schema){let err=ono(`Expected a file path, URL, or object. Got ${args.path||args.schema}`);return maybe(args.callback,Promise.reject(err))}this.schema=null;this.$refs=new $Refs;let pathType="http";if(url.isFileSystemPath(args.path)){args.path=url.fromFileSystemPath(args.path);pathType="file"}args.path=url.resolve(url.cwd(),args.path);if(args.schema&&typeof args.schema==="object"){let $ref=this.$refs._add(args.path);$ref.value=args.schema;$ref.pathType=pathType;promise=Promise.resolve(args.schema)}else{promise=_parse(args.path,this.$refs,args.options)}let me=this;try{let result=await promise;if(result!==null&&typeof result==="object"&&!Buffer.isBuffer(result)){me.schema=result;return maybe(args.callback,Promise.resolve(me.schema))}else if(args.options.continueOnError){me.schema=null;return maybe(args.callback,Promise.resolve(me.schema))}else{throw ono.syntax(`"${me.$refs._root$Ref.path||result}" is not a valid JSON Schema`)}}catch(err){if(!args.options.continueOnError||!isHandledError(err)){return maybe(args.callback,Promise.reject(err))}if(this.$refs._$refs[url.stripHash(args.path)]){this.$refs._$refs[url.stripHash(args.path)].addError(err)}return maybe(args.callback,Promise.resolve(null))}};$RefParser.resolve=function resolve(path,schema,options,callback){let Class=this;let instance=new Class;return instance.resolve.apply(instance,arguments)};$RefParser.prototype.resolve=async function resolve(path,schema,options,callback){let me=this;let args=normalizeArgs(arguments);try{await this.parse(args.path,args.schema,args.options);await resolveExternal(me,args.options);finalize(me);return maybe(args.callback,Promise.resolve(me.$refs))}catch(err){return maybe(args.callback,Promise.reject(err))}};$RefParser.bundle=function bundle(path,schema,options,callback){let Class=this;let instance=new Class;return instance.bundle.apply(instance,arguments)};$RefParser.prototype.bundle=async function bundle(path,schema,options,callback){let me=this;let args=normalizeArgs(arguments);try{await this.resolve(args.path,args.schema,args.options);_bundle(me,args.options);finalize(me);return maybe(args.callback,Promise.resolve(me.schema))}catch(err){return maybe(args.callback,Promise.reject(err))}};$RefParser.dereference=function dereference(path,schema,options,callback){let Class=this;let instance=new Class;return instance.dereference.apply(instance,arguments)};$RefParser.prototype.dereference=async function dereference(path,schema,options,callback){let me=this;let args=normalizeArgs(arguments);try{await this.resolve(args.path,args.schema,args.options);_dereference(me,args.options);finalize(me);return maybe(args.callback,Promise.resolve(me.schema))}catch(err){return maybe(args.callback,Promise.reject(err))}};function finalize(parser){const errors=JSONParserErrorGroup.getParserErrors(parser);if(errors.length>0){throw new JSONParserErrorGroup(parser)}}}).call(this)}).call(this,{isBuffer:require("../../../is-buffer/index.js")})},{"../../../is-buffer/index.js":159,"./bundle":44,"./dereference":45,"./normalize-args":47,"./parse":49,"./refs":56,"./resolve-external":57,"./util/errors":60,"./util/url":62,"@jsdevtools/ono":98,"call-me-maybe":152}],47:[function(require,module,exports){"use strict";const Options=require("./options");module.exports=normalizeArgs;function normalizeArgs(args){let path,schema,options,callback;args=Array.prototype.slice.call(args);if(typeof args[args.length-1]==="function"){callback=args.pop()}if(typeof args[0]==="string"){path=args[0];if(typeof args[2]==="object"){schema=args[1];options=args[2]}else{schema=undefined;options=args[1]}}else{path="";schema=args[0];options=args[1]}if(!(options instanceof Options)){options=new Options(options)}return{path:path,schema:schema,options:options,callback:callback}}},{"./options":48}],48:[function(require,module,exports){"use strict";const jsonParser=require("./parsers/json");const yamlParser=require("./parsers/yaml");const textParser=require("./parsers/text");const binaryParser=require("./parsers/binary");const fileResolver=require("./resolvers/file");const httpResolver=require("./resolvers/http");module.exports=$RefParserOptions;function $RefParserOptions(options){merge(this,$RefParserOptions.defaults);merge(this,options)}$RefParserOptions.defaults={parse:{json:jsonParser,yaml:yamlParser,text:textParser,binary:binaryParser},resolve:{file:fileResolver,http:httpResolver,external:true},continueOnError:false,dereference:{circular:true}};function merge(target,source){if(isMergeable(source)){let keys=Object.keys(source);for(let i=0;i{let resolvers=plugins.all(options.resolve);resolvers=plugins.filter(resolvers,"canRead",file);plugins.sort(resolvers);plugins.run(resolvers,"read",file,$refs).then(resolve,onError);function onError(err){if(!err&&options.continueOnError){reject(new UnmatchedResolverError(file.url))}else if(!err||!("error"in err)){reject(ono.syntax(`Unable to resolve $ref pointer "${file.url}"`))}else if(err.error instanceof ResolverError){reject(err.error)}else{reject(new ResolverError(err,file.url))}}})}function parseFile(file,options,$refs){return new Promise((resolve,reject)=>{let allParsers=plugins.all(options.parse);let filteredParsers=plugins.filter(allParsers,"canParse",file);let parsers=filteredParsers.length>0?filteredParsers:allParsers;plugins.sort(parsers);plugins.run(parsers,"parse",file,$refs).then(onParsed,onError);function onParsed(parser){if(!parser.plugin.allowEmpty&&isEmpty(parser.result)){reject(ono.syntax(`Error parsing "${file.url}" as ${parser.plugin.name}. \nParsed value is empty`))}else{resolve(parser)}}function onError(err){if(!err&&options.continueOnError){reject(new UnmatchedParserError(file.url))}else if(!err||!("error"in err)){reject(ono.syntax(`Unable to parse ${file.url}`))}else if(err.error instanceof ParserError){reject(err.error)}else{reject(new ParserError(err.error.message,file.url))}}})}function isEmpty(value){return value===undefined||typeof value==="object"&&Object.keys(value).length===0||typeof value==="string"&&value.trim().length===0||Buffer.isBuffer(value)&&value.length===0}}).call(this)}).call(this,{isBuffer:require("../../../is-buffer/index.js")})},{"../../../is-buffer/index.js":159,"./util/errors":60,"./util/plugins":61,"./util/url":62,"@jsdevtools/ono":98}],50:[function(require,module,exports){(function(Buffer){(function(){"use strict";let BINARY_REGEXP=/\.(jpeg|jpg|gif|png|bmp|ico)$/i;module.exports={order:400,allowEmpty:true,canParse(file){return Buffer.isBuffer(file.data)&&BINARY_REGEXP.test(file.url)},parse(file){if(Buffer.isBuffer(file.data)){return file.data}else{return Buffer.from(file.data)}}}}).call(this)}).call(this,require("buffer").Buffer)},{buffer:150}],51:[function(require,module,exports){(function(Buffer){(function(){"use strict";const{ParserError:ParserError}=require("../util/errors");module.exports={order:100,allowEmpty:true,canParse:".json",async parse(file){let data=file.data;if(Buffer.isBuffer(data)){data=data.toString()}if(typeof data==="string"){if(data.trim().length===0){return}else{try{return JSON.parse(data)}catch(e){throw new ParserError(e.message,file.url)}}}else{return data}}}}).call(this)}).call(this,{isBuffer:require("../../../../is-buffer/index.js")})},{"../../../../is-buffer/index.js":159,"../util/errors":60}],52:[function(require,module,exports){(function(Buffer){(function(){"use strict";const{ParserError:ParserError}=require("../util/errors");let TEXT_REGEXP=/\.(txt|htm|html|md|xml|js|min|map|css|scss|less|svg)$/i;module.exports={order:300,allowEmpty:true,encoding:"utf8",canParse(file){return(typeof file.data==="string"||Buffer.isBuffer(file.data))&&TEXT_REGEXP.test(file.url)},parse(file){if(typeof file.data==="string"){return file.data}else if(Buffer.isBuffer(file.data)){return file.data.toString(this.encoding)}else{throw new ParserError("data is not text",file.url)}}}}).call(this)}).call(this,{isBuffer:require("../../../../is-buffer/index.js")})},{"../../../../is-buffer/index.js":159,"../util/errors":60}],53:[function(require,module,exports){(function(Buffer){(function(){"use strict";const{ParserError:ParserError}=require("../util/errors");const yaml=require("js-yaml");module.exports={order:200,allowEmpty:true,canParse:[".yaml",".yml",".json"],async parse(file){let data=file.data;if(Buffer.isBuffer(data)){data=data.toString()}if(typeof data==="string"){try{return yaml.load(data)}catch(e){throw new ParserError(e.message,file.url)}}else{return data}}}}).call(this)}).call(this,{isBuffer:require("../../../../is-buffer/index.js")})},{"../../../../is-buffer/index.js":159,"../util/errors":60,"js-yaml":63}],54:[function(require,module,exports){"use strict";module.exports=Pointer;const $Ref=require("./ref");const url=require("./util/url");const{JSONParserError:JSONParserError,InvalidPointerError:InvalidPointerError,MissingPointerError:MissingPointerError,isHandledError:isHandledError}=require("./util/errors");const slashes=/\//g;const tildes=/~/g;const escapedSlash=/~1/g;const escapedTilde=/~0/g;function Pointer($ref,path,friendlyPath){this.$ref=$ref;this.path=path;this.originalPath=friendlyPath||path;this.value=undefined;this.circular=false;this.indirections=0}Pointer.prototype.resolve=function(obj,options,pathFromRoot){let tokens=Pointer.parse(this.path,this.originalPath);this.value=unwrapOrThrow(obj);for(let i=0;ifootprint);if(Array.isArray(err.errors)){this.errors.push(...err.errors.map(normalizeError).filter(({footprint:footprint})=>!existingErrors.includes(footprint)))}else if(!existingErrors.includes(err.footprint)){this.errors.push(normalizeError(err))}};$Ref.prototype.exists=function(path,options){try{this.resolve(path,options);return true}catch(e){return false}};$Ref.prototype.get=function(path,options){return this.resolve(path,options).value};$Ref.prototype.resolve=function(path,options,friendlyPath,pathFromRoot){let pointer=new Pointer(this,path,friendlyPath);try{return pointer.resolve(this.value,options,pathFromRoot)}catch(err){if(!options||!options.continueOnError||!isHandledError(err)){throw err}if(err.path===null){err.path=safePointerToPath(getHash(pathFromRoot))}if(err instanceof InvalidPointerError){err.source=stripHash(pathFromRoot)}this.addError(err);return null}};$Ref.prototype.set=function(path,value){let pointer=new Pointer(this,path);this.value=pointer.set(this.value,value)};$Ref.is$Ref=function(value){return value&&typeof value==="object"&&typeof value.$ref==="string"&&value.$ref.length>0};$Ref.isExternal$Ref=function(value){return $Ref.is$Ref(value)&&value.$ref[0]!=="#"};$Ref.isAllowed$Ref=function(value,options){if($Ref.is$Ref(value)){if(value.$ref.substr(0,2)==="#/"||value.$ref==="#"){return true}else if(value.$ref[0]!=="#"&&(!options||options.resolve.external)){return true}}};$Ref.isExtended$Ref=function(value){return $Ref.is$Ref(value)&&Object.keys(value).length>1};$Ref.dereference=function($ref,resolvedValue){if(resolvedValue&&typeof resolvedValue==="object"&&$Ref.isExtended$Ref($ref)){let merged={};for(let key of Object.keys($ref)){if(key!=="$ref"){merged[key]=$ref[key]}}for(let key of Object.keys(resolvedValue)){if(!(key in merged)){merged[key]=resolvedValue[key]}}return merged}else{return resolvedValue}}},{"./pointer":54,"./util/errors":60,"./util/url":62}],56:[function(require,module,exports){"use strict";const{ono:ono}=require("@jsdevtools/ono");const $Ref=require("./ref");const url=require("./util/url");module.exports=$Refs;function $Refs(){this.circular=false;this._$refs={};this._root$Ref=null}$Refs.prototype.paths=function(types){let paths=getPaths(this._$refs,arguments);return paths.map(path=>{return path.decoded})};$Refs.prototype.values=function(types){let $refs=this._$refs;let paths=getPaths($refs,arguments);return paths.reduce((obj,path)=>{obj[path.decoded]=$refs[path.encoded].value;return obj},{})};$Refs.prototype.toJSON=$Refs.prototype.values;$Refs.prototype.exists=function(path,options){try{this._resolve(path,"",options);return true}catch(e){return false}};$Refs.prototype.get=function(path,options){return this._resolve(path,"",options).value};$Refs.prototype.set=function(path,value){let absPath=url.resolve(this._root$Ref.path,path);let withoutHash=url.stripHash(absPath);let $ref=this._$refs[withoutHash];if(!$ref){throw ono(`Error resolving $ref pointer "${path}". \n"${withoutHash}" not found.`)}$ref.set(absPath,value)};$Refs.prototype._add=function(path){let withoutHash=url.stripHash(path);let $ref=new $Ref;$ref.path=withoutHash;$ref.$refs=this;this._$refs[withoutHash]=$ref;this._root$Ref=this._root$Ref||$ref;return $ref};$Refs.prototype._resolve=function(path,pathFromRoot,options){let absPath=url.resolve(this._root$Ref.path,path);let withoutHash=url.stripHash(absPath);let $ref=this._$refs[withoutHash];if(!$ref){throw ono(`Error resolving $ref pointer "${path}". \n"${withoutHash}" not found.`)}return $ref.resolve(absPath,options,path,pathFromRoot)};$Refs.prototype._get$Ref=function(path){path=url.resolve(this._root$Ref.path,path);let withoutHash=url.stripHash(path);return this._$refs[withoutHash]};function getPaths($refs,types){let paths=Object.keys($refs);types=Array.isArray(types[0])?types[0]:Array.prototype.slice.call(types);if(types.length>0&&types[0]){paths=paths.filter(key=>{return types.indexOf($refs[key].pathType)!==-1})}return paths.map(path=>{return{encoded:path,decoded:$refs[path].pathType==="file"?url.toFileSystemPath(path,true):path}})}},{"./ref":55,"./util/url":62,"@jsdevtools/ono":98}],57:[function(require,module,exports){"use strict";const $Ref=require("./ref");const Pointer=require("./pointer");const parse=require("./parse");const url=require("./util/url");const{isHandledError:isHandledError}=require("./util/errors");module.exports=resolveExternal;function resolveExternal(parser,options){if(!options.resolve.external){return Promise.resolve()}try{let promises=crawl(parser.schema,parser.$refs._root$Ref.path+"#",parser.$refs,options);return Promise.all(promises)}catch(e){return Promise.reject(e)}}function crawl(obj,path,$refs,options,seen){seen=seen||new Set;let promises=[];if(obj&&typeof obj==="object"&&!ArrayBuffer.isView(obj)&&!seen.has(obj)){seen.add(obj);if($Ref.isExternal$Ref(obj)){promises.push(resolve$Ref(obj,path,$refs,options))}else{for(let key of Object.keys(obj)){let keyPath=Pointer.join(path,key);let value=obj[key];if($Ref.isExternal$Ref(value)){promises.push(resolve$Ref(value,keyPath,$refs,options))}else{promises=promises.concat(crawl(value,keyPath,$refs,options,seen))}}}}return promises}async function resolve$Ref($ref,path,$refs,options){let resolvedPath=url.resolve(path,$ref.$ref);let withoutHash=url.stripHash(resolvedPath);$ref=$refs._$refs[withoutHash];if($ref){return Promise.resolve($ref.value)}try{const result=await parse(resolvedPath,$refs,options);let promises=crawl(result,withoutHash+"#",$refs,options);return Promise.all(promises)}catch(err){if(!options.continueOnError||!isHandledError(err)){throw err}if($refs._$refs[withoutHash]){err.source=url.stripHash(path);err.path=url.safePointerToPath(url.getHash(path))}return[]}}},{"./parse":49,"./pointer":54,"./ref":55,"./util/errors":60,"./util/url":62}],58:[function(require,module,exports){"use strict";const fs=require("fs");const{ono:ono}=require("@jsdevtools/ono");const url=require("../util/url");const{ResolverError:ResolverError}=require("../util/errors");module.exports={order:100,canRead(file){return url.isFileSystemPath(file.url)},read(file){return new Promise((resolve,reject)=>{let path;try{path=url.toFileSystemPath(file.url)}catch(err){reject(new ResolverError(ono.uri(err,`Malformed URI: ${file.url}`),file.url))}try{fs.readFile(path,(err,data)=>{if(err){reject(new ResolverError(ono(err,`Error opening file "${path}"`),path))}else{resolve(data)}})}catch(err){reject(new ResolverError(ono(err,`Error opening file "${path}"`),path))}})}}},{"../util/errors":60,"../util/url":62,"@jsdevtools/ono":98,fs:149}],59:[function(require,module,exports){(function(process,Buffer){(function(){"use strict";const http=require("http");const https=require("https");const{ono:ono}=require("@jsdevtools/ono");const url=require("../util/url");const{ResolverError:ResolverError}=require("../util/errors");module.exports={order:200,headers:null,timeout:5e3,redirects:5,withCredentials:false,canRead(file){return url.isHttp(file.url)},read(file){let u=url.parse(file.url);if(process.browser&&!u.protocol){u.protocol=url.parse(location.href).protocol}return download(u,this)}};function download(u,httpOptions,redirects){return new Promise((resolve,reject)=>{u=url.parse(u);redirects=redirects||[];redirects.push(u.href);get(u,httpOptions).then(res=>{if(res.statusCode>=400){throw ono({status:res.statusCode},`HTTP ERROR ${res.statusCode}`)}else if(res.statusCode>=300){if(redirects.length>httpOptions.redirects){reject(new ResolverError(ono({status:res.statusCode},`Error downloading ${redirects[0]}. \nToo many redirects: \n ${redirects.join(" \n ")}`)))}else if(!res.headers.location){throw ono({status:res.statusCode},`HTTP ${res.statusCode} redirect with no location header`)}else{let redirectTo=url.resolve(u,res.headers.location);download(redirectTo,httpOptions,redirects).then(resolve,reject)}}else{resolve(res.body||Buffer.alloc(0))}}).catch(err=>{reject(new ResolverError(ono(err,`Error downloading ${u.href}`),u.href))})})}function get(u,httpOptions){return new Promise((resolve,reject)=>{let protocol=u.protocol==="https:"?https:http;let req=protocol.get({hostname:u.hostname,port:u.port,path:u.path,auth:u.auth,protocol:u.protocol,headers:httpOptions.headers||{},withCredentials:httpOptions.withCredentials});if(typeof req.setTimeout==="function"){req.setTimeout(httpOptions.timeout)}req.on("timeout",()=>{req.abort()});req.on("error",reject);req.once("response",res=>{res.body=Buffer.alloc(0);res.on("data",data=>{res.body=Buffer.concat([res.body,Buffer.from(data)])});res.on("error",reject);res.on("end",()=>{resolve(res)})})})}}).call(this)}).call(this,require("_process"),require("buffer").Buffer)},{"../util/errors":60,"../util/url":62,"@jsdevtools/ono":98,_process:194,buffer:150,http:200,https:156}],60:[function(require,module,exports){"use strict";const{Ono:Ono}=require("@jsdevtools/ono");const{stripHash:stripHash,toFileSystemPath:toFileSystemPath}=require("./url");const JSONParserError=exports.JSONParserError=class JSONParserError extends Error{constructor(message,source){super();this.code="EUNKNOWN";this.message=message;this.source=source;this.path=null;Ono.extend(this)}get footprint(){return`${this.path}+${this.source}+${this.code}+${this.message}`}};setErrorName(JSONParserError);const JSONParserErrorGroup=exports.JSONParserErrorGroup=class JSONParserErrorGroup extends Error{constructor(parser){super();this.files=parser;this.message=`${this.errors.length} error${this.errors.length>1?"s":""} occurred while reading '${toFileSystemPath(parser.$refs._root$Ref.path)}'`;Ono.extend(this)}static getParserErrors(parser){const errors=[];for(const $ref of Object.values(parser.$refs._$refs)){if($ref.errors){errors.push(...$ref.errors)}}return errors}get errors(){return JSONParserErrorGroup.getParserErrors(this.files)}};setErrorName(JSONParserErrorGroup);const ParserError=exports.ParserError=class ParserError extends JSONParserError{constructor(message,source){super(`Error parsing ${source}: ${message}`,source);this.code="EPARSER"}};setErrorName(ParserError);const UnmatchedParserError=exports.UnmatchedParserError=class UnmatchedParserError extends JSONParserError{constructor(source){super(`Could not find parser for "${source}"`,source);this.code="EUNMATCHEDPARSER"}};setErrorName(UnmatchedParserError);const ResolverError=exports.ResolverError=class ResolverError extends JSONParserError{constructor(ex,source){super(ex.message||`Error reading file "${source}"`,source);this.code="ERESOLVER";if("code"in ex){this.ioErrorCode=String(ex.code)}}};setErrorName(ResolverError);const UnmatchedResolverError=exports.UnmatchedResolverError=class UnmatchedResolverError extends JSONParserError{constructor(source){super(`Could not find resolver for "${source}"`,source);this.code="EUNMATCHEDRESOLVER"}};setErrorName(UnmatchedResolverError);const MissingPointerError=exports.MissingPointerError=class MissingPointerError extends JSONParserError{constructor(token,path){super(`Token "${token}" does not exist.`,stripHash(path));this.code="EMISSINGPOINTER"}};setErrorName(MissingPointerError);const InvalidPointerError=exports.InvalidPointerError=class InvalidPointerError extends JSONParserError{constructor(pointer,path){super(`Invalid $ref pointer "${pointer}". Pointers must begin with "#/"`,stripHash(path));this.code="EINVALIDPOINTER"}};setErrorName(InvalidPointerError);function setErrorName(err){Object.defineProperty(err.prototype,"name",{value:err.name,enumerable:true})}exports.isHandledError=function(err){return err instanceof JSONParserError||err instanceof JSONParserErrorGroup};exports.normalizeError=function(err){if(err.path===null){err.path=[]}return err}},{"./url":62,"@jsdevtools/ono":98}],61:[function(require,module,exports){"use strict";exports.all=function(plugins){return Object.keys(plugins).filter(key=>{return typeof plugins[key]==="object"}).map(key=>{plugins[key].name=key;return plugins[key]})};exports.filter=function(plugins,method,file){return plugins.filter(plugin=>{return!!getResult(plugin,method,file)})};exports.sort=function(plugins){for(let plugin of plugins){plugin.order=plugin.order||Number.MAX_SAFE_INTEGER}return plugins.sort((a,b)=>{return a.order-b.order})};exports.run=function(plugins,method,file,$refs){let plugin,lastError,index=0;return new Promise((resolve,reject)=>{runNextPlugin();function runNextPlugin(){plugin=plugins[index++];if(!plugin){return reject(lastError)}try{let result=getResult(plugin,method,file,callback,$refs);if(result&&typeof result.then==="function"){result.then(onSuccess,onError)}else if(result!==undefined){onSuccess(result)}else if(index===plugins.length){throw new Error("No promise has been returned or callback has been called.")}}catch(e){onError(e)}}function callback(err,result){if(err){onError(err)}else{onSuccess(result)}}function onSuccess(result){resolve({plugin:plugin,result:result})}function onError(error){lastError={plugin:plugin,error:error};runNextPlugin()}})};function getResult(obj,prop,file,callback,$refs){let value=obj[prop];if(typeof value==="function"){return value.apply(obj,[file,callback,$refs])}if(!callback){if(value instanceof RegExp){return value.test(file.url)}else if(typeof value==="string"){return value===file.extension}else if(Array.isArray(value)){return value.indexOf(file.extension)!==-1}}return value}},{}],62:[function(require,module,exports){(function(process){(function(){"use strict";let isWindows=/^win/.test(process.platform),forwardSlashPattern=/\//g,protocolPattern=/^(\w{2,}):\/\//i,url=module.exports,jsonPointerSlash=/~1/g,jsonPointerTilde=/~0/g;let urlEncodePatterns=[/\?/g,"%3F",/\#/g,"%23"];let urlDecodePatterns=[/\%23/g,"#",/\%24/g,"$",/\%26/g,"&",/\%2C/g,",",/\%40/g,"@"];exports.parse=require("url").parse;exports.resolve=require("url").resolve;exports.cwd=function cwd(){if(process.browser){return location.href}let path=process.cwd();let lastChar=path.slice(-1);if(lastChar==="/"||lastChar==="\\"){return path}else{return path+"/"}};exports.getProtocol=function getProtocol(path){let match=protocolPattern.exec(path);if(match){return match[1].toLowerCase()}};exports.getExtension=function getExtension(path){let lastDot=path.lastIndexOf(".");if(lastDot>=0){return url.stripQuery(path.substr(lastDot).toLowerCase())}return""};exports.stripQuery=function stripQuery(path){let queryIndex=path.indexOf("?");if(queryIndex>=0){path=path.substr(0,queryIndex)}return path};exports.getHash=function getHash(path){let hashIndex=path.indexOf("#");if(hashIndex>=0){return path.substr(hashIndex)}return"#"};exports.stripHash=function stripHash(path){let hashIndex=path.indexOf("#");if(hashIndex>=0){path=path.substr(0,hashIndex)}return path};exports.isHttp=function isHttp(path){let protocol=url.getProtocol(path);if(protocol==="http"||protocol==="https"){return true}else if(protocol===undefined){return process.browser}else{return false}};exports.isFileSystemPath=function isFileSystemPath(path){if(process.browser){return false}let protocol=url.getProtocol(path);return protocol===undefined||protocol==="file"};exports.fromFileSystemPath=function fromFileSystemPath(path){if(isWindows){path=path.replace(/\\/g,"/")}path=encodeURI(path);for(let i=0;i{return decodeURIComponent(value).replace(jsonPointerSlash,"/").replace(jsonPointerTilde,"~")})}}).call(this)}).call(this,require("_process"))},{_process:194,url:222}],63:[function(require,module,exports){"use strict";var loader=require("./lib/loader");var dumper=require("./lib/dumper");function renamed(from,to){return function(){throw new Error("Function yaml."+from+" is removed in js-yaml 4. "+"Use yaml."+to+" instead, which is now safe by default.")}}module.exports.Type=require("./lib/type");module.exports.Schema=require("./lib/schema");module.exports.FAILSAFE_SCHEMA=require("./lib/schema/failsafe");module.exports.JSON_SCHEMA=require("./lib/schema/json");module.exports.CORE_SCHEMA=require("./lib/schema/core");module.exports.DEFAULT_SCHEMA=require("./lib/schema/default");module.exports.load=loader.load;module.exports.loadAll=loader.loadAll;module.exports.dump=dumper.dump;module.exports.YAMLException=require("./lib/exception");module.exports.types={binary:require("./lib/type/binary"),float:require("./lib/type/float"),map:require("./lib/type/map"),null:require("./lib/type/null"),pairs:require("./lib/type/pairs"),set:require("./lib/type/set"),timestamp:require("./lib/type/timestamp"),bool:require("./lib/type/bool"),int:require("./lib/type/int"),merge:require("./lib/type/merge"),omap:require("./lib/type/omap"),seq:require("./lib/type/seq"),str:require("./lib/type/str")};module.exports.safeLoad=renamed("safeLoad","load");module.exports.safeLoadAll=renamed("safeLoadAll","loadAll");module.exports.safeDump=renamed("safeDump","dump")},{"./lib/dumper":65,"./lib/exception":66,"./lib/loader":67,"./lib/schema":68,"./lib/schema/core":69,"./lib/schema/default":70,"./lib/schema/failsafe":71,"./lib/schema/json":72,"./lib/type":74,"./lib/type/binary":75,"./lib/type/bool":76,"./lib/type/float":77,"./lib/type/int":78,"./lib/type/map":79,"./lib/type/merge":80,"./lib/type/null":81,"./lib/type/omap":82,"./lib/type/pairs":83,"./lib/type/seq":84,"./lib/type/set":85,"./lib/type/str":86,"./lib/type/timestamp":87}],64:[function(require,module,exports){"use strict";function isNothing(subject){return typeof subject==="undefined"||subject===null}function isObject(subject){return typeof subject==="object"&&subject!==null}function toArray(sequence){if(Array.isArray(sequence))return sequence;else if(isNothing(sequence))return[];return[sequence]}function extend(target,source){var index,length,key,sourceKeys;if(source){sourceKeys=Object.keys(source);for(index=0,length=sourceKeys.length;index=55296&&first<=56319&&pos+1=56320&&second<=57343){return(first-55296)*1024+second-56320+65536}}return first}function needIndentIndicator(string){var leadingSpaceRe=/^\n* /;return leadingSpaceRe.test(string)}var STYLE_PLAIN=1,STYLE_SINGLE=2,STYLE_LITERAL=3,STYLE_FOLDED=4,STYLE_DOUBLE=5;function chooseScalarStyle(string,singleLineOnly,indentPerLevel,lineWidth,testAmbiguousType,quotingType,forceQuotes,inblock){var i;var char=0;var prevChar=null;var hasLineBreak=false;var hasFoldableLine=false;var shouldTrackWidth=lineWidth!==-1;var previousLineBreak=-1;var plain=isPlainSafeFirst(codePointAt(string,0))&&isPlainSafeLast(codePointAt(string,string.length-1));if(singleLineOnly||forceQuotes){for(i=0;i=65536?i+=2:i++){char=codePointAt(string,i);if(!isPrintable(char)){return STYLE_DOUBLE}plain=plain&&isPlainSafe(char,prevChar,inblock);prevChar=char}}else{for(i=0;i=65536?i+=2:i++){char=codePointAt(string,i);if(char===CHAR_LINE_FEED){hasLineBreak=true;if(shouldTrackWidth){hasFoldableLine=hasFoldableLine||i-previousLineBreak-1>lineWidth&&string[previousLineBreak+1]!==" ";previousLineBreak=i}}else if(!isPrintable(char)){return STYLE_DOUBLE}plain=plain&&isPlainSafe(char,prevChar,inblock);prevChar=char}hasFoldableLine=hasFoldableLine||shouldTrackWidth&&(i-previousLineBreak-1>lineWidth&&string[previousLineBreak+1]!==" ")}if(!hasLineBreak&&!hasFoldableLine){if(plain&&!forceQuotes&&!testAmbiguousType(string)){return STYLE_PLAIN}return quotingType===QUOTING_TYPE_DOUBLE?STYLE_DOUBLE:STYLE_SINGLE}if(indentPerLevel>9&&needIndentIndicator(string)){return STYLE_DOUBLE}if(!forceQuotes){return hasFoldableLine?STYLE_FOLDED:STYLE_LITERAL}return quotingType===QUOTING_TYPE_DOUBLE?STYLE_DOUBLE:STYLE_SINGLE}function writeScalar(state,string,level,iskey,inblock){state.dump=function(){if(string.length===0){return state.quotingType===QUOTING_TYPE_DOUBLE?'""':"''"}if(!state.noCompatMode){if(DEPRECATED_BOOLEANS_SYNTAX.indexOf(string)!==-1||DEPRECATED_BASE60_SYNTAX.test(string)){return state.quotingType===QUOTING_TYPE_DOUBLE?'"'+string+'"':"'"+string+"'"}}var indent=state.indent*Math.max(1,level);var lineWidth=state.lineWidth===-1?-1:Math.max(Math.min(state.lineWidth,40),state.lineWidth-indent);var singleLineOnly=iskey||state.flowLevel>-1&&level>=state.flowLevel;function testAmbiguity(string){return testImplicitResolving(state,string)}switch(chooseScalarStyle(string,singleLineOnly,state.indent,lineWidth,testAmbiguity,state.quotingType,state.forceQuotes&&!iskey,inblock)){case STYLE_PLAIN:return string;case STYLE_SINGLE:return"'"+string.replace(/'/g,"''")+"'";case STYLE_LITERAL:return"|"+blockHeader(string,state.indent)+dropEndingNewline(indentString(string,indent));case STYLE_FOLDED:return">"+blockHeader(string,state.indent)+dropEndingNewline(indentString(foldString(string,lineWidth),indent));case STYLE_DOUBLE:return'"'+escapeString(string,lineWidth)+'"';default:throw new YAMLException("impossible error: invalid scalar style")}}()}function blockHeader(string,indentPerLevel){var indentIndicator=needIndentIndicator(string)?String(indentPerLevel):"";var clip=string[string.length-1]==="\n";var keep=clip&&(string[string.length-2]==="\n"||string==="\n");var chomp=keep?"+":clip?"":"-";return indentIndicator+chomp+"\n"}function dropEndingNewline(string){return string[string.length-1]==="\n"?string.slice(0,-1):string}function foldString(string,width){var lineRe=/(\n+)([^\n]*)/g;var result=function(){var nextLF=string.indexOf("\n");nextLF=nextLF!==-1?nextLF:string.length;lineRe.lastIndex=nextLF;return foldLine(string.slice(0,nextLF),width)}();var prevMoreIndented=string[0]==="\n"||string[0]===" ";var moreIndented;var match;while(match=lineRe.exec(string)){var prefix=match[1],line=match[2];moreIndented=line[0]===" ";result+=prefix+(!prevMoreIndented&&!moreIndented&&line!==""?"\n":"")+foldLine(line,width);prevMoreIndented=moreIndented}return result}function foldLine(line,width){if(line===""||line[0]===" ")return line;var breakRe=/ [^ ]/g;var match;var start=0,end,curr=0,next=0;var result="";while(match=breakRe.exec(line)){next=match.index;if(next-start>width){end=curr>start?curr:next;result+="\n"+line.slice(start,end);start=end+1}curr=next}result+="\n";if(line.length-start>width&&curr>start){result+=line.slice(start,curr)+"\n"+line.slice(curr+1)}else{result+=line.slice(start)}return result.slice(1)}function escapeString(string){var result="";var char=0;var escapeSeq;for(var i=0;i=65536?i+=2:i++){char=codePointAt(string,i);escapeSeq=ESCAPE_SEQUENCES[char];if(!escapeSeq&&isPrintable(char)){result+=string[i];if(char>=65536)result+=string[i+1]}else{result+=escapeSeq||encodeHex(char)}}return result}function writeFlowSequence(state,level,object){var _result="",_tag=state.tag,index,length,value;for(index=0,length=object.length;index1024)pairBuffer+="? ";pairBuffer+=state.dump+(state.condenseFlow?'"':"")+":"+(state.condenseFlow?"":" ");if(!writeNode(state,level,objectValue,false,false)){continue}pairBuffer+=state.dump;_result+=pairBuffer}state.tag=_tag;state.dump="{"+_result+"}"}function writeBlockMapping(state,level,object,compact){var _result="",_tag=state.tag,objectKeyList=Object.keys(object),index,length,objectKey,objectValue,explicitPair,pairBuffer;if(state.sortKeys===true){objectKeyList.sort()}else if(typeof state.sortKeys==="function"){objectKeyList.sort(state.sortKeys)}else if(state.sortKeys){throw new YAMLException("sortKeys must be a boolean or a function")}for(index=0,length=objectKeyList.length;index1024;if(explicitPair){if(state.dump&&CHAR_LINE_FEED===state.dump.charCodeAt(0)){pairBuffer+="?"}else{pairBuffer+="? "}}pairBuffer+=state.dump;if(explicitPair){pairBuffer+=generateNextLine(state,level)}if(!writeNode(state,level+1,objectValue,true,explicitPair)){continue}if(state.dump&&CHAR_LINE_FEED===state.dump.charCodeAt(0)){pairBuffer+=":"}else{pairBuffer+=": "}pairBuffer+=state.dump;_result+=pairBuffer}state.tag=_tag;state.dump=_result||"{}"}function detectType(state,object,explicit){var _result,typeList,index,length,type,style;typeList=explicit?state.explicitTypes:state.implicitTypes;for(index=0,length=typeList.length;index tag resolver accepts not "'+style+'" style')}state.dump=_result}return true}}return false}function writeNode(state,level,object,block,compact,iskey,isblockseq){state.tag=null;state.dump=object;if(!detectType(state,object,false)){detectType(state,object,true)}var type=_toString.call(state.dump);var inblock=block;var tagStr;if(block){block=state.flowLevel<0||state.flowLevel>level}var objectOrArray=type==="[object Object]"||type==="[object Array]",duplicateIndex,duplicate;if(objectOrArray){duplicateIndex=state.duplicates.indexOf(object);duplicate=duplicateIndex!==-1}if(state.tag!==null&&state.tag!=="?"||duplicate||state.indent!==2&&level>0){compact=false}if(duplicate&&state.usedDuplicates[duplicateIndex]){state.dump="*ref_"+duplicateIndex}else{if(objectOrArray&&duplicate&&!state.usedDuplicates[duplicateIndex]){state.usedDuplicates[duplicateIndex]=true}if(type==="[object Object]"){if(block&&Object.keys(state.dump).length!==0){writeBlockMapping(state,level,state.dump,compact);if(duplicate){state.dump="&ref_"+duplicateIndex+state.dump}}else{writeFlowMapping(state,level,state.dump);if(duplicate){state.dump="&ref_"+duplicateIndex+" "+state.dump}}}else if(type==="[object Array]"){if(block&&state.dump.length!==0){if(state.noArrayIndent&&!isblockseq&&level>0){writeBlockSequence(state,level-1,state.dump,compact)}else{writeBlockSequence(state,level,state.dump,compact)}if(duplicate){state.dump="&ref_"+duplicateIndex+state.dump}}else{writeFlowSequence(state,level,state.dump);if(duplicate){state.dump="&ref_"+duplicateIndex+" "+state.dump}}}else if(type==="[object String]"){if(state.tag!=="?"){writeScalar(state,state.dump,level,iskey,inblock)}}else if(type==="[object Undefined]"){return false}else{if(state.skipInvalid)return false;throw new YAMLException("unacceptable kind of an object to dump "+type)}if(state.tag!==null&&state.tag!=="?"){tagStr=encodeURI(state.tag[0]==="!"?state.tag.slice(1):state.tag).replace(/!/g,"%21");if(state.tag[0]==="!"){tagStr="!"+tagStr}else if(tagStr.slice(0,18)==="tag:yaml.org,2002:"){tagStr="!!"+tagStr.slice(18)}else{tagStr="!<"+tagStr+">"}state.dump=tagStr+" "+state.dump}}return true}function getDuplicateReferences(object,state){var objects=[],duplicatesIndexes=[],index,length;inspectNode(object,objects,duplicatesIndexes);for(index=0,length=duplicatesIndexes.length;index>10)+55296,(c-65536&1023)+56320)}var simpleEscapeCheck=new Array(256);var simpleEscapeMap=new Array(256);for(var i=0;i<256;i++){simpleEscapeCheck[i]=simpleEscapeSequence(i)?1:0;simpleEscapeMap[i]=simpleEscapeSequence(i)}function State(input,options){this.input=input;this.filename=options["filename"]||null;this.schema=options["schema"]||DEFAULT_SCHEMA;this.onWarning=options["onWarning"]||null;this.legacy=options["legacy"]||false;this.json=options["json"]||false;this.listener=options["listener"]||null;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=input.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.firstTabInLine=-1;this.documents=[]}function generateError(state,message){var mark={name:state.filename,buffer:state.input.slice(0,-1),position:state.position,line:state.line,column:state.position-state.lineStart};mark.snippet=makeSnippet(mark);return new YAMLException(message,mark)}function throwError(state,message){throw generateError(state,message)}function throwWarning(state,message){if(state.onWarning){state.onWarning.call(null,generateError(state,message))}}var directiveHandlers={YAML:function handleYamlDirective(state,name,args){var match,major,minor;if(state.version!==null){throwError(state,"duplication of %YAML directive")}if(args.length!==1){throwError(state,"YAML directive accepts exactly one argument")}match=/^([0-9]+)\.([0-9]+)$/.exec(args[0]);if(match===null){throwError(state,"ill-formed argument of the YAML directive")}major=parseInt(match[1],10);minor=parseInt(match[2],10);if(major!==1){throwError(state,"unacceptable YAML version of the document")}state.version=args[0];state.checkLineBreaks=minor<2;if(minor!==1&&minor!==2){throwWarning(state,"unsupported YAML version of the document")}},TAG:function handleTagDirective(state,name,args){var handle,prefix;if(args.length!==2){throwError(state,"TAG directive accepts exactly two arguments")}handle=args[0];prefix=args[1];if(!PATTERN_TAG_HANDLE.test(handle)){throwError(state,"ill-formed tag handle (first argument) of the TAG directive")}if(_hasOwnProperty.call(state.tagMap,handle)){throwError(state,'there is a previously declared suffix for "'+handle+'" tag handle')}if(!PATTERN_TAG_URI.test(prefix)){throwError(state,"ill-formed tag prefix (second argument) of the TAG directive")}try{prefix=decodeURIComponent(prefix)}catch(err){throwError(state,"tag prefix is malformed: "+prefix)}state.tagMap[handle]=prefix}};function captureSegment(state,start,end,checkJson){var _position,_length,_character,_result;if(start1){state.result+=common.repeat("\n",count-1)}}function readPlainScalar(state,nodeIndent,withinFlowCollection){var preceding,following,captureStart,captureEnd,hasPendingContent,_line,_lineStart,_lineIndent,_kind=state.kind,_result=state.result,ch;ch=state.input.charCodeAt(state.position);if(is_WS_OR_EOL(ch)||is_FLOW_INDICATOR(ch)||ch===35||ch===38||ch===42||ch===33||ch===124||ch===62||ch===39||ch===34||ch===37||ch===64||ch===96){return false}if(ch===63||ch===45){following=state.input.charCodeAt(state.position+1);if(is_WS_OR_EOL(following)||withinFlowCollection&&is_FLOW_INDICATOR(following)){return false}}state.kind="scalar";state.result="";captureStart=captureEnd=state.position;hasPendingContent=false;while(ch!==0){if(ch===58){following=state.input.charCodeAt(state.position+1);if(is_WS_OR_EOL(following)||withinFlowCollection&&is_FLOW_INDICATOR(following)){break}}else if(ch===35){preceding=state.input.charCodeAt(state.position-1);if(is_WS_OR_EOL(preceding)){break}}else if(state.position===state.lineStart&&testDocumentSeparator(state)||withinFlowCollection&&is_FLOW_INDICATOR(ch)){break}else if(is_EOL(ch)){_line=state.line;_lineStart=state.lineStart;_lineIndent=state.lineIndent;skipSeparationSpace(state,false,-1);if(state.lineIndent>=nodeIndent){hasPendingContent=true;ch=state.input.charCodeAt(state.position);continue}else{state.position=captureEnd;state.line=_line;state.lineStart=_lineStart;state.lineIndent=_lineIndent;break}}if(hasPendingContent){captureSegment(state,captureStart,captureEnd,false);writeFoldedLines(state,state.line-_line);captureStart=captureEnd=state.position;hasPendingContent=false}if(!is_WHITE_SPACE(ch)){captureEnd=state.position+1}ch=state.input.charCodeAt(++state.position)}captureSegment(state,captureStart,captureEnd,false);if(state.result){return true}state.kind=_kind;state.result=_result;return false}function readSingleQuotedScalar(state,nodeIndent){var ch,captureStart,captureEnd;ch=state.input.charCodeAt(state.position);if(ch!==39){return false}state.kind="scalar";state.result="";state.position++;captureStart=captureEnd=state.position;while((ch=state.input.charCodeAt(state.position))!==0){if(ch===39){captureSegment(state,captureStart,state.position,true);ch=state.input.charCodeAt(++state.position);if(ch===39){captureStart=state.position;state.position++;captureEnd=state.position}else{return true}}else if(is_EOL(ch)){captureSegment(state,captureStart,captureEnd,true);writeFoldedLines(state,skipSeparationSpace(state,false,nodeIndent));captureStart=captureEnd=state.position}else if(state.position===state.lineStart&&testDocumentSeparator(state)){throwError(state,"unexpected end of the document within a single quoted scalar")}else{state.position++;captureEnd=state.position}}throwError(state,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(state,nodeIndent){var captureStart,captureEnd,hexLength,hexResult,tmp,ch;ch=state.input.charCodeAt(state.position);if(ch!==34){return false}state.kind="scalar";state.result="";state.position++;captureStart=captureEnd=state.position;while((ch=state.input.charCodeAt(state.position))!==0){if(ch===34){captureSegment(state,captureStart,state.position,true);state.position++;return true}else if(ch===92){captureSegment(state,captureStart,state.position,true);ch=state.input.charCodeAt(++state.position);if(is_EOL(ch)){skipSeparationSpace(state,false,nodeIndent)}else if(ch<256&&simpleEscapeCheck[ch]){state.result+=simpleEscapeMap[ch];state.position++}else if((tmp=escapedHexLen(ch))>0){hexLength=tmp;hexResult=0;for(;hexLength>0;hexLength--){ch=state.input.charCodeAt(++state.position);if((tmp=fromHexCode(ch))>=0){hexResult=(hexResult<<4)+tmp}else{throwError(state,"expected hexadecimal character")}}state.result+=charFromCodepoint(hexResult);state.position++}else{throwError(state,"unknown escape sequence")}captureStart=captureEnd=state.position}else if(is_EOL(ch)){captureSegment(state,captureStart,captureEnd,true);writeFoldedLines(state,skipSeparationSpace(state,false,nodeIndent));captureStart=captureEnd=state.position}else if(state.position===state.lineStart&&testDocumentSeparator(state)){throwError(state,"unexpected end of the document within a double quoted scalar")}else{state.position++;captureEnd=state.position}}throwError(state,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(state,nodeIndent){var readNext=true,_line,_lineStart,_pos,_tag=state.tag,_result,_anchor=state.anchor,following,terminator,isPair,isExplicitPair,isMapping,overridableKeys=Object.create(null),keyNode,keyTag,valueNode,ch;ch=state.input.charCodeAt(state.position);if(ch===91){terminator=93;isMapping=false;_result=[]}else if(ch===123){terminator=125;isMapping=true;_result={}}else{return false}if(state.anchor!==null){state.anchorMap[state.anchor]=_result}ch=state.input.charCodeAt(++state.position);while(ch!==0){skipSeparationSpace(state,true,nodeIndent);ch=state.input.charCodeAt(state.position);if(ch===terminator){state.position++;state.tag=_tag;state.anchor=_anchor;state.kind=isMapping?"mapping":"sequence";state.result=_result;return true}else if(!readNext){throwError(state,"missed comma between flow collection entries")}else if(ch===44){throwError(state,"expected the node content, but found ','")}keyTag=keyNode=valueNode=null;isPair=isExplicitPair=false;if(ch===63){following=state.input.charCodeAt(state.position+1);if(is_WS_OR_EOL(following)){isPair=isExplicitPair=true;state.position++;skipSeparationSpace(state,true,nodeIndent)}}_line=state.line;_lineStart=state.lineStart;_pos=state.position;composeNode(state,nodeIndent,CONTEXT_FLOW_IN,false,true);keyTag=state.tag;keyNode=state.result;skipSeparationSpace(state,true,nodeIndent);ch=state.input.charCodeAt(state.position);if((isExplicitPair||state.line===_line)&&ch===58){isPair=true;ch=state.input.charCodeAt(++state.position);skipSeparationSpace(state,true,nodeIndent);composeNode(state,nodeIndent,CONTEXT_FLOW_IN,false,true);valueNode=state.result}if(isMapping){storeMappingPair(state,_result,overridableKeys,keyTag,keyNode,valueNode,_line,_lineStart,_pos)}else if(isPair){_result.push(storeMappingPair(state,null,overridableKeys,keyTag,keyNode,valueNode,_line,_lineStart,_pos))}else{_result.push(keyNode)}skipSeparationSpace(state,true,nodeIndent);ch=state.input.charCodeAt(state.position);if(ch===44){readNext=true;ch=state.input.charCodeAt(++state.position)}else{readNext=false}}throwError(state,"unexpected end of the stream within a flow collection")}function readBlockScalar(state,nodeIndent){var captureStart,folding,chomping=CHOMPING_CLIP,didReadContent=false,detectedIndent=false,textIndent=nodeIndent,emptyLines=0,atMoreIndented=false,tmp,ch;ch=state.input.charCodeAt(state.position);if(ch===124){folding=false}else if(ch===62){folding=true}else{return false}state.kind="scalar";state.result="";while(ch!==0){ch=state.input.charCodeAt(++state.position);if(ch===43||ch===45){if(CHOMPING_CLIP===chomping){chomping=ch===43?CHOMPING_KEEP:CHOMPING_STRIP}else{throwError(state,"repeat of a chomping mode identifier")}}else if((tmp=fromDecimalCode(ch))>=0){if(tmp===0){throwError(state,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!detectedIndent){textIndent=nodeIndent+tmp-1;detectedIndent=true}else{throwError(state,"repeat of an indentation width identifier")}}else{break}}if(is_WHITE_SPACE(ch)){do{ch=state.input.charCodeAt(++state.position)}while(is_WHITE_SPACE(ch));if(ch===35){do{ch=state.input.charCodeAt(++state.position)}while(!is_EOL(ch)&&ch!==0)}}while(ch!==0){readLineBreak(state);state.lineIndent=0;ch=state.input.charCodeAt(state.position);while((!detectedIndent||state.lineIndenttextIndent){textIndent=state.lineIndent}if(is_EOL(ch)){emptyLines++;continue}if(state.lineIndentnodeIndent)&&ch!==0){throwError(state,"bad indentation of a sequence entry")}else if(state.lineIndentnodeIndent){if(atExplicitKey){_keyLine=state.line;_keyLineStart=state.lineStart;_keyPos=state.position}if(composeNode(state,nodeIndent,CONTEXT_BLOCK_OUT,true,allowCompact)){if(atExplicitKey){keyNode=state.result}else{valueNode=state.result}}if(!atExplicitKey){storeMappingPair(state,_result,overridableKeys,keyTag,keyNode,valueNode,_keyLine,_keyLineStart,_keyPos);keyTag=keyNode=valueNode=null}skipSeparationSpace(state,true,-1);ch=state.input.charCodeAt(state.position)}if((state.line===_line||state.lineIndent>nodeIndent)&&ch!==0){throwError(state,"bad indentation of a mapping entry")}else if(state.lineIndentparentIndent){indentStatus=1}else if(state.lineIndent===parentIndent){indentStatus=0}else if(state.lineIndentparentIndent){indentStatus=1}else if(state.lineIndent===parentIndent){indentStatus=0}else if(state.lineIndent tag; it should be "scalar", not "'+state.kind+'"')}for(typeIndex=0,typeQuantity=state.implicitTypes.length;typeIndex")}if(state.result!==null&&type.kind!==state.kind){throwError(state,"unacceptable node kind for !<"+state.tag+'> tag; it should be "'+type.kind+'", not "'+state.kind+'"')}if(!type.resolve(state.result,state.tag)){throwError(state,"cannot resolve a node with !<"+state.tag+"> explicit tag")}else{state.result=type.construct(state.result,state.tag);if(state.anchor!==null){state.anchorMap[state.anchor]=state.result}}}if(state.listener!==null){state.listener("close",state)}return state.tag!==null||state.anchor!==null||hasContent}function readDocument(state){var documentStart=state.position,_position,directiveName,directiveArgs,hasDirectives=false,ch;state.version=null;state.checkLineBreaks=state.legacy;state.tagMap=Object.create(null);state.anchorMap=Object.create(null);while((ch=state.input.charCodeAt(state.position))!==0){skipSeparationSpace(state,true,-1);ch=state.input.charCodeAt(state.position);if(state.lineIndent>0||ch!==37){break}hasDirectives=true;ch=state.input.charCodeAt(++state.position);_position=state.position;while(ch!==0&&!is_WS_OR_EOL(ch)){ch=state.input.charCodeAt(++state.position)}directiveName=state.input.slice(_position,state.position);directiveArgs=[];if(directiveName.length<1){throwError(state,"directive name must not be less than one character in length")}while(ch!==0){while(is_WHITE_SPACE(ch)){ch=state.input.charCodeAt(++state.position)}if(ch===35){do{ch=state.input.charCodeAt(++state.position)}while(ch!==0&&!is_EOL(ch));break}if(is_EOL(ch))break;_position=state.position;while(ch!==0&&!is_WS_OR_EOL(ch)){ch=state.input.charCodeAt(++state.position)}directiveArgs.push(state.input.slice(_position,state.position))}if(ch!==0)readLineBreak(state);if(_hasOwnProperty.call(directiveHandlers,directiveName)){directiveHandlers[directiveName](state,directiveName,directiveArgs)}else{throwWarning(state,'unknown document directive "'+directiveName+'"')}}skipSeparationSpace(state,true,-1);if(state.lineIndent===0&&state.input.charCodeAt(state.position)===45&&state.input.charCodeAt(state.position+1)===45&&state.input.charCodeAt(state.position+2)===45){state.position+=3;skipSeparationSpace(state,true,-1)}else if(hasDirectives){throwError(state,"directives end mark is expected")}composeNode(state,state.lineIndent-1,CONTEXT_BLOCK_OUT,false,true);skipSeparationSpace(state,true,-1);if(state.checkLineBreaks&&PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart,state.position))){throwWarning(state,"non-ASCII line breaks are interpreted as content")}state.documents.push(state.result);if(state.position===state.lineStart&&testDocumentSeparator(state)){if(state.input.charCodeAt(state.position)===46){state.position+=3;skipSeparationSpace(state,true,-1)}return}if(state.positionmaxHalfLength){head=" ... ";lineStart=position-maxHalfLength+head.length}if(lineEnd-position>maxHalfLength){tail=" ...";lineEnd=position+maxHalfLength-tail.length}return{str:head+buffer.slice(lineStart,lineEnd).replace(/\t/g,"→")+tail,pos:position-lineStart+head.length}}function padStart(string,max){return common.repeat(" ",max-string.length)+string}function makeSnippet(mark,options){options=Object.create(options||null);if(!mark.buffer)return null;if(!options.maxLength)options.maxLength=79;if(typeof options.indent!=="number")options.indent=1;if(typeof options.linesBefore!=="number")options.linesBefore=3;if(typeof options.linesAfter!=="number")options.linesAfter=2;var re=/\r?\n|\r|\0/g;var lineStarts=[0];var lineEnds=[];var match;var foundLineNo=-1;while(match=re.exec(mark.buffer)){lineEnds.push(match.index);lineStarts.push(match.index+match[0].length);if(mark.position<=match.index&&foundLineNo<0){foundLineNo=lineStarts.length-2}}if(foundLineNo<0)foundLineNo=lineStarts.length-1;var result="",i,line;var lineNoLength=Math.min(mark.line+options.linesAfter,lineEnds.length).toString().length;var maxLineLength=options.maxLength-(options.indent+lineNoLength+3);for(i=1;i<=options.linesBefore;i++){if(foundLineNo-i<0)break;line=getLine(mark.buffer,lineStarts[foundLineNo-i],lineEnds[foundLineNo-i],mark.position-(lineStarts[foundLineNo]-lineStarts[foundLineNo-i]),maxLineLength);result=common.repeat(" ",options.indent)+padStart((mark.line-i+1).toString(),lineNoLength)+" | "+line.str+"\n"+result}line=getLine(mark.buffer,lineStarts[foundLineNo],lineEnds[foundLineNo],mark.position,maxLineLength);result+=common.repeat(" ",options.indent)+padStart((mark.line+1).toString(),lineNoLength)+" | "+line.str+"\n";result+=common.repeat("-",options.indent+lineNoLength+3+line.pos)+"^"+"\n";for(i=1;i<=options.linesAfter;i++){if(foundLineNo+i>=lineEnds.length)break;line=getLine(mark.buffer,lineStarts[foundLineNo+i],lineEnds[foundLineNo+i],mark.position-(lineStarts[foundLineNo]-lineStarts[foundLineNo+i]),maxLineLength);result+=common.repeat(" ",options.indent)+padStart((mark.line+i+1).toString(),lineNoLength)+" | "+line.str+"\n"}return result.replace(/\n$/,"")}module.exports=makeSnippet},{"./common":64}],74:[function(require,module,exports){"use strict";var YAMLException=require("./exception");var TYPE_CONSTRUCTOR_OPTIONS=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"];var YAML_NODE_KINDS=["scalar","sequence","mapping"];function compileStyleAliases(map){var result={};if(map!==null){Object.keys(map).forEach(function(style){map[style].forEach(function(alias){result[String(alias)]=style})})}return result}function Type(tag,options){options=options||{};Object.keys(options).forEach(function(name){if(TYPE_CONSTRUCTOR_OPTIONS.indexOf(name)===-1){throw new YAMLException('Unknown option "'+name+'" is met in definition of "'+tag+'" YAML type.')}});this.options=options;this.tag=tag;this.kind=options["kind"]||null;this.resolve=options["resolve"]||function(){return true};this.construct=options["construct"]||function(data){return data};this.instanceOf=options["instanceOf"]||null;this.predicate=options["predicate"]||null;this.represent=options["represent"]||null;this.representName=options["representName"]||null;this.defaultStyle=options["defaultStyle"]||null;this.multi=options["multi"]||false;this.styleAliases=compileStyleAliases(options["styleAliases"]||null);if(YAML_NODE_KINDS.indexOf(this.kind)===-1){throw new YAMLException('Unknown kind "'+this.kind+'" is specified for "'+tag+'" YAML type.')}}module.exports=Type},{"./exception":66}],75:[function(require,module,exports){"use strict";var Type=require("../type");var BASE64_MAP="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function resolveYamlBinary(data){if(data===null)return false;var code,idx,bitlen=0,max=data.length,map=BASE64_MAP;for(idx=0;idx64)continue;if(code<0)return false;bitlen+=6}return bitlen%8===0}function constructYamlBinary(data){var idx,tailbits,input=data.replace(/[\r\n=]/g,""),max=input.length,map=BASE64_MAP,bits=0,result=[];for(idx=0;idx>16&255);result.push(bits>>8&255);result.push(bits&255)}bits=bits<<6|map.indexOf(input.charAt(idx))}tailbits=max%4*6;if(tailbits===0){result.push(bits>>16&255);result.push(bits>>8&255);result.push(bits&255)}else if(tailbits===18){result.push(bits>>10&255);result.push(bits>>2&255)}else if(tailbits===12){result.push(bits>>4&255)}return new Uint8Array(result)}function representYamlBinary(object){var result="",bits=0,idx,tail,max=object.length,map=BASE64_MAP;for(idx=0;idx>18&63];result+=map[bits>>12&63];result+=map[bits>>6&63];result+=map[bits&63]}bits=(bits<<8)+object[idx]}tail=max%3;if(tail===0){result+=map[bits>>18&63];result+=map[bits>>12&63];result+=map[bits>>6&63];result+=map[bits&63]}else if(tail===2){result+=map[bits>>10&63];result+=map[bits>>4&63];result+=map[bits<<2&63];result+=map[64]}else if(tail===1){result+=map[bits>>2&63];result+=map[bits<<4&63];result+=map[64];result+=map[64]}return result}function isBinary(obj){return Object.prototype.toString.call(obj)==="[object Uint8Array]"}module.exports=new Type("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary})},{"../type":74}],76:[function(require,module,exports){"use strict";var Type=require("../type");function resolveYamlBoolean(data){if(data===null)return false;var max=data.length;return max===4&&(data==="true"||data==="True"||data==="TRUE")||max===5&&(data==="false"||data==="False"||data==="FALSE")}function constructYamlBoolean(data){return data==="true"||data==="True"||data==="TRUE"}function isBoolean(object){return Object.prototype.toString.call(object)==="[object Boolean]"}module.exports=new Type("tag:yaml.org,2002:bool",{kind:"scalar",resolve:resolveYamlBoolean,construct:constructYamlBoolean,predicate:isBoolean,represent:{lowercase:function(object){return object?"true":"false"},uppercase:function(object){return object?"TRUE":"FALSE"},camelcase:function(object){return object?"True":"False"}},defaultStyle:"lowercase"})},{"../type":74}],77:[function(require,module,exports){"use strict";var common=require("../common");var Type=require("../type");var YAML_FLOAT_PATTERN=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?"+"|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(data){if(data===null)return false;if(!YAML_FLOAT_PATTERN.test(data)||data[data.length-1]==="_"){return false}return true}function constructYamlFloat(data){var value,sign;value=data.replace(/_/g,"").toLowerCase();sign=value[0]==="-"?-1:1;if("+-".indexOf(value[0])>=0){value=value.slice(1)}if(value===".inf"){return sign===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(value===".nan"){return NaN}return sign*parseFloat(value,10)}var SCIENTIFIC_WITHOUT_DOT=/^[-+]?[0-9]+e/;function representYamlFloat(object,style){var res;if(isNaN(object)){switch(style){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===object){switch(style){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===object){switch(style){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(common.isNegativeZero(object)){return"-0.0"}res=object.toString(10);return SCIENTIFIC_WITHOUT_DOT.test(res)?res.replace("e",".e"):res}function isFloat(object){return Object.prototype.toString.call(object)==="[object Number]"&&(object%1!==0||common.isNegativeZero(object))}module.exports=new Type("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"})},{"../common":64,"../type":74}],78:[function(require,module,exports){"use strict";var common=require("../common");var Type=require("../type");function isHexCode(c){return 48<=c&&c<=57||65<=c&&c<=70||97<=c&&c<=102}function isOctCode(c){return 48<=c&&c<=55}function isDecCode(c){return 48<=c&&c<=57}function resolveYamlInteger(data){if(data===null)return false;var max=data.length,index=0,hasDigits=false,ch;if(!max)return false;ch=data[index];if(ch==="-"||ch==="+"){ch=data[++index]}if(ch==="0"){if(index+1===max)return true;ch=data[++index];if(ch==="b"){index++;for(;index=0?"0b"+obj.toString(2):"-0b"+obj.toString(2).slice(1)},octal:function(obj){return obj>=0?"0o"+obj.toString(8):"-0o"+obj.toString(8).slice(1)},decimal:function(obj){return obj.toString(10)},hexadecimal:function(obj){return obj>=0?"0x"+obj.toString(16).toUpperCase():"-0x"+obj.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},{"../common":64,"../type":74}],79:[function(require,module,exports){"use strict";var Type=require("../type");module.exports=new Type("tag:yaml.org,2002:map",{kind:"mapping",construct:function(data){return data!==null?data:{}}})},{"../type":74}],80:[function(require,module,exports){"use strict";var Type=require("../type");function resolveYamlMerge(data){return data==="<<"||data===null}module.exports=new Type("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge})},{"../type":74}],81:[function(require,module,exports){"use strict";var Type=require("../type");function resolveYamlNull(data){if(data===null)return true;var max=data.length;return max===1&&data==="~"||max===4&&(data==="null"||data==="Null"||data==="NULL")}function constructYamlNull(){return null}function isNull(object){return object===null}module.exports=new Type("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull,construct:constructYamlNull,predicate:isNull,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"})},{"../type":74}],82:[function(require,module,exports){"use strict";var Type=require("../type");var _hasOwnProperty=Object.prototype.hasOwnProperty;var _toString=Object.prototype.toString;function resolveYamlOmap(data){if(data===null)return true;var objectKeys=[],index,length,pair,pairKey,pairHasKey,object=data;for(index=0,length=object.length;indexobj&&typeof obj==="object"&&Object.prototype.hasOwnProperty.call(obj,key);const isUndefined=v=>v===undefined;const isNull=v=>v===null;const isPrimitive=v=>Number.isNaN(v)||isNull(v)||isUndefined(v)||typeof v==="symbol";const isPrimitiveNode=node=>isPrimitive(node.value)||!hasOwnProp(node,"value");const isBetween=(start,pos,end)=>pos<=end&&pos>=start;const getLoc=(input,{start:start=0,end:end=0})=>{const lines=input.split(/\n/);const loc={start:{},end:{}};let sum=0;for(const i of lines.keys()){const line=lines[i];const ls=sum;const le=sum+line.length;if(isUndefined(loc.start.line)&&isBetween(ls,start,le)){loc.start.line=i+1;loc.start.column=start-ls;loc.start.offset=start}if(isUndefined(loc.end.line)&&isBetween(ls,end,le)){loc.end.line=i+1;loc.end.column=end-ls;loc.end.offset=end}sum=le+1}return loc};const visitors={MAP:(node={},input="",ctx={})=>Object.assign(walk(node.mappings,input),{[loc]:getLoc(input,{start:node.startPosition,end:node.endPosition})}),MAPPING:(node={},input="",ctx={})=>{const value=walk([node.value],input);if(!isPrimitive(value)){value[loc]=getLoc(input,{start:node.startPosition,end:node.endPosition})}return Object.assign(ctx,{[node.key.value]:value})},SCALAR:(node={},input="")=>{if(isPrimitiveNode(node)){return node.value}const _loc=getLoc(input,{start:node.startPosition,end:node.endPosition});const wrappable=Constructor=>()=>{const v=new Constructor(node.value);v[loc]=_loc;return v};const object=()=>{node.value[loc]=_loc;return node.value};const types={boolean:wrappable(Boolean),number:wrappable(Number),string:wrappable(String),function:object,object:object};return types[typeof node.value]()},SEQ:(node={},input="")=>{const items=walk(node.items,input,[]);items[loc]=getLoc(input,{start:node.startPosition,end:node.endPosition});return items}};const walk=(nodes=[],input,ctx={})=>{const onNode=(node,ctx,fallback)=>{let visitor;if(node)visitor=visitors[Kind[node.kind]];return visitor?visitor(node,input,ctx):fallback};const walkObj=()=>nodes.reduce((sum,node)=>{return onNode(node,sum,sum)},ctx);const walkArr=()=>nodes.map(node=>onNode(node,ctx,null),ctx).filter(Boolean);return Array.isArray(ctx)?walkArr():walkObj()};module.exports.loc=loc;module.exports.yamlAST=(input=>walk([load(input)],input))},{"yaml-ast-parser":232}],96:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Ono=void 0;const extend_error_1=require("./extend-error");const normalize_1=require("./normalize");const to_json_1=require("./to-json");const constructor=Ono;exports.Ono=constructor;function Ono(ErrorConstructor,options){options=normalize_1.normalizeOptions(options);function ono(...args){let{originalError:originalError,props:props,message:message}=normalize_1.normalizeArgs(args,options);let newError=new ErrorConstructor(message);return extend_error_1.extendError(newError,originalError,props)}ono[Symbol.species]=ErrorConstructor;return ono}Ono.toJSON=function toJSON(error){return to_json_1.toJSON.call(error)};Ono.extend=function extend(error,originalError,props){if(props||originalError instanceof Error){return extend_error_1.extendError(error,originalError,props)}else if(originalError){return extend_error_1.extendError(error,undefined,originalError)}else{return extend_error_1.extendError(error)}}},{"./extend-error":97,"./normalize":100,"./to-json":103}],97:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.extendError=void 0;const isomorphic_node_1=require("./isomorphic.node");const stack_1=require("./stack");const to_json_1=require("./to-json");const protectedProps=["name","message","stack"];function extendError(error,originalError,props){let onoError=error;extendStack(onoError,originalError);if(originalError&&typeof originalError==="object"){mergeErrors(onoError,originalError)}onoError.toJSON=to_json_1.toJSON;if(isomorphic_node_1.addInspectMethod){isomorphic_node_1.addInspectMethod(onoError)}if(props&&typeof props==="object"){Object.assign(onoError,props)}return onoError}exports.extendError=extendError;function extendStack(newError,originalError){let stackProp=Object.getOwnPropertyDescriptor(newError,"stack");if(stack_1.isLazyStack(stackProp)){stack_1.lazyJoinStacks(stackProp,newError,originalError)}else if(stack_1.isWritableStack(stackProp)){newError.stack=stack_1.joinStacks(newError,originalError)}}function mergeErrors(newError,originalError){let keys=to_json_1.getDeepKeys(originalError,protectedProps);let _newError=newError;let _originalError=originalError;for(let key of keys){if(_newError[key]===undefined){try{_newError[key]=_originalError[key]}catch(e){}}}}},{"./isomorphic.node":99,"./stack":102,"./to-json":103}],98:[function(require,module,exports){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){if(k2===undefined)k2=k;Object.defineProperty(o,k2,{enumerable:true,get:function(){return m[k]}})}:function(o,m,k,k2){if(k2===undefined)k2=k;o[k2]=m[k]});var __exportStar=this&&this.__exportStar||function(m,exports){for(var p in m)if(p!=="default"&&!exports.hasOwnProperty(p))__createBinding(exports,m,p)};Object.defineProperty(exports,"__esModule",{value:true});exports.ono=void 0;const singleton_1=require("./singleton");Object.defineProperty(exports,"ono",{enumerable:true,get:function(){return singleton_1.ono}});var constructor_1=require("./constructor");Object.defineProperty(exports,"Ono",{enumerable:true,get:function(){return constructor_1.Ono}});__exportStar(require("./types"),exports);exports.default=singleton_1.ono;if(typeof module==="object"&&typeof module.exports==="object"){module.exports=Object.assign(module.exports.default,module.exports)}},{"./constructor":96,"./singleton":101,"./types":104}],99:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.addInspectMethod=exports.format=void 0;exports.format=false;exports.addInspectMethod=false},{}],100:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.normalizeArgs=exports.normalizeOptions=void 0;const isomorphic_node_1=require("./isomorphic.node");function normalizeOptions(options){options=options||{};return{concatMessages:options.concatMessages===undefined?true:Boolean(options.concatMessages),format:options.format===undefined?isomorphic_node_1.format:typeof options.format==="function"?options.format:false}}exports.normalizeOptions=normalizeOptions;function normalizeArgs(args,options){let originalError;let props;let formatArgs;let message="";if(typeof args[0]==="string"){formatArgs=args}else if(typeof args[1]==="string"){if(args[0]instanceof Error){originalError=args[0]}else{props=args[0]}formatArgs=args.slice(1)}else{originalError=args[0];props=args[1];formatArgs=args.slice(2)}if(formatArgs.length>0){if(options.format){message=options.format.apply(undefined,formatArgs)}else{message=formatArgs.join(" ")}}if(options.concatMessages&&originalError&&originalError.message){message+=(message?" \n":"")+originalError.message}return{originalError:originalError,props:props,message:message}}exports.normalizeArgs=normalizeArgs},{"./isomorphic.node":99}],101:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.ono=void 0;const constructor_1=require("./constructor");const singleton=ono;exports.ono=singleton;ono.error=new constructor_1.Ono(Error);ono.eval=new constructor_1.Ono(EvalError);ono.range=new constructor_1.Ono(RangeError);ono.reference=new constructor_1.Ono(ReferenceError);ono.syntax=new constructor_1.Ono(SyntaxError);ono.type=new constructor_1.Ono(TypeError);ono.uri=new constructor_1.Ono(URIError);const onoMap=ono;function ono(...args){let originalError=args[0];if(typeof originalError==="object"&&typeof originalError.name==="string"){for(let typedOno of Object.values(onoMap)){if(typeof typedOno==="function"&&typedOno.name==="ono"){let species=typedOno[Symbol.species];if(species&&species!==Error&&(originalError instanceof species||originalError.name===species.name)){return typedOno.apply(undefined,args)}}}}return ono.error.apply(undefined,args)}},{"./constructor":96}],102:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.lazyJoinStacks=exports.joinStacks=exports.isWritableStack=exports.isLazyStack=void 0;const newline=/\r?\n/;const onoCall=/\bono[ @]/;function isLazyStack(stackProp){return Boolean(stackProp&&stackProp.configurable&&typeof stackProp.get==="function")}exports.isLazyStack=isLazyStack;function isWritableStack(stackProp){return Boolean(!stackProp||stackProp.writable||typeof stackProp.set==="function")}exports.isWritableStack=isWritableStack;function joinStacks(newError,originalError){let newStack=popStack(newError.stack);let originalStack=originalError?originalError.stack:undefined;if(newStack&&originalStack){return newStack+"\n\n"+originalStack}else{return newStack||originalStack}}exports.joinStacks=joinStacks;function lazyJoinStacks(lazyStack,newError,originalError){if(originalError){Object.defineProperty(newError,"stack",{get:()=>{let newStack=lazyStack.get.apply(newError);return joinStacks({stack:newStack},originalError)},enumerable:false,configurable:true})}else{lazyPopStack(newError,lazyStack)}}exports.lazyJoinStacks=lazyJoinStacks;function popStack(stack){if(stack){let lines=stack.split(newline);let onoStart;for(let i=0;i0){return lines.join("\n")}}return stack}function lazyPopStack(error,lazyStack){Object.defineProperty(error,"stack",{get:()=>popStack(lazyStack.get.apply(error)),enumerable:false,configurable:true})}},{}],103:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.getDeepKeys=exports.toJSON=void 0;const nonJsonTypes=["function","symbol","undefined"];const protectedProps=["constructor","prototype","__proto__"];const objectPrototype=Object.getPrototypeOf({});function toJSON(){let pojo={};let error=this;for(let key of getDeepKeys(error)){if(typeof key==="string"){let value=error[key];let type=typeof value;if(!nonJsonTypes.includes(type)){pojo[key]=value}}}return pojo}exports.toJSON=toJSON;function getDeepKeys(obj,omit=[]){let keys=[];while(obj&&obj!==objectPrototype){keys=keys.concat(Object.getOwnPropertyNames(obj),Object.getOwnPropertySymbols(obj));obj=Object.getPrototypeOf(obj)}let uniqueKeys=new Set(keys);for(let key of omit.concat(protectedProps)){uniqueKeys.delete(key)}return uniqueKeys}exports.getDeepKeys=getDeepKeys},{}],104:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});const util_1=require("util")},{util:227}],105:[function(require,module,exports){"use strict";var compileSchema=require("./compile"),resolve=require("./compile/resolve"),Cache=require("./cache"),SchemaObject=require("./compile/schema_obj"),stableStringify=require("fast-json-stable-stringify"),formats=require("./compile/formats"),rules=require("./compile/rules"),$dataMetaSchema=require("./data"),util=require("./compile/util");module.exports=Ajv;Ajv.prototype.validate=validate;Ajv.prototype.compile=compile;Ajv.prototype.addSchema=addSchema;Ajv.prototype.addMetaSchema=addMetaSchema;Ajv.prototype.validateSchema=validateSchema;Ajv.prototype.getSchema=getSchema;Ajv.prototype.removeSchema=removeSchema;Ajv.prototype.addFormat=addFormat;Ajv.prototype.errorsText=errorsText;Ajv.prototype._addSchema=_addSchema;Ajv.prototype._compile=_compile;Ajv.prototype.compileAsync=require("./compile/async");var customKeyword=require("./keyword");Ajv.prototype.addKeyword=customKeyword.add;Ajv.prototype.getKeyword=customKeyword.get;Ajv.prototype.removeKeyword=customKeyword.remove;Ajv.prototype.validateKeyword=customKeyword.validate;var errorClasses=require("./compile/error_classes");Ajv.ValidationError=errorClasses.Validation;Ajv.MissingRefError=errorClasses.MissingRef;Ajv.$dataMetaSchema=$dataMetaSchema;var META_SCHEMA_ID="http://json-schema.org/draft-07/schema";var META_IGNORE_OPTIONS=["removeAdditional","useDefaults","coerceTypes","strictDefaults"];var META_SUPPORT_DATA=["/properties"];function Ajv(opts){if(!(this instanceof Ajv))return new Ajv(opts);opts=this._opts=util.copy(opts)||{};setLogger(this);this._schemas={};this._refs={};this._fragments={};this._formats=formats(opts.format);this._cache=opts.cache||new Cache;this._loadingSchemas={};this._compilations=[];this.RULES=rules();this._getId=chooseGetId(opts);opts.loopRequired=opts.loopRequired||Infinity;if(opts.errorDataPath=="property")opts._errorDataPathProperty=true;if(opts.serialize===undefined)opts.serialize=stableStringify;this._metaOpts=getMetaSchemaOptions(this);if(opts.formats)addInitialFormats(this);if(opts.keywords)addInitialKeywords(this);addDefaultMetaSchema(this);if(typeof opts.meta=="object")this.addMetaSchema(opts.meta);if(opts.nullable)this.addKeyword("nullable",{metaSchema:{type:"boolean"}});addInitialSchemas(this)}function validate(schemaKeyRef,data){var v;if(typeof schemaKeyRef=="string"){v=this.getSchema(schemaKeyRef);if(!v)throw new Error('no schema with key or ref "'+schemaKeyRef+'"')}else{var schemaObj=this._addSchema(schemaKeyRef);v=schemaObj.validate||this._compile(schemaObj)}var valid=v(data);if(v.$async!==true)this.errors=v.errors;return valid}function compile(schema,_meta){var schemaObj=this._addSchema(schema,undefined,_meta);return schemaObj.validate||this._compile(schemaObj)}function addSchema(schema,key,_skipValidation,_meta){if(Array.isArray(schema)){for(var i=0;i%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i;var URL=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i;var UUID=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;var JSON_POINTER=/^(?:\/(?:[^~/]|~0|~1)*)*$/;var JSON_POINTER_URI_FRAGMENT=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;var RELATIVE_JSON_POINTER=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;module.exports=formats;function formats(mode){mode=mode=="full"?"full":"fast";return util.copy(formats[mode])}formats.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":URITEMPLATE,url:URL,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:HOSTNAME,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:UUID,"json-pointer":JSON_POINTER,"json-pointer-uri-fragment":JSON_POINTER_URI_FRAGMENT,"relative-json-pointer":RELATIVE_JSON_POINTER};formats.full={date:date,time:time,"date-time":date_time,uri:uri,"uri-reference":URIREF,"uri-template":URITEMPLATE,url:URL,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:HOSTNAME,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:UUID,"json-pointer":JSON_POINTER,"json-pointer-uri-fragment":JSON_POINTER_URI_FRAGMENT,"relative-json-pointer":RELATIVE_JSON_POINTER};function isLeapYear(year){return year%4===0&&(year%100!==0||year%400===0)}function date(str){var matches=str.match(DATE);if(!matches)return false;var year=+matches[1];var month=+matches[2];var day=+matches[3];return month>=1&&month<=12&&day>=1&&day<=(month==2&&isLeapYear(year)?29:DAYS[month])}function time(str,full){var matches=str.match(TIME);if(!matches)return false;var hour=matches[1];var minute=matches[2];var second=matches[3];var timeZone=matches[5];return(hour<=23&&minute<=59&&second<=59||hour==23&&minute==59&&second==60)&&(!full||timeZone)}var DATE_TIME_SEPARATOR=/t|\s/i;function date_time(str){var dateTime=str.split(DATE_TIME_SEPARATOR);return dateTime.length==2&&date(dateTime[0])&&time(dateTime[1],true)}var NOT_URI_FRAGMENT=/\/|:/;function uri(str){return NOT_URI_FRAGMENT.test(str)&&URI.test(str)}var Z_ANCHOR=/[^\\]\\Z/;function regex(str){if(Z_ANCHOR.test(str))return false;try{new RegExp(str);return true}catch(e){return false}}},{"./util":115}],110:[function(require,module,exports){"use strict";var resolve=require("./resolve"),util=require("./util"),errorClasses=require("./error_classes"),stableStringify=require("fast-json-stable-stringify");var validateGenerator=require("../dotjs/validate");var ucs2length=util.ucs2length;var equal=require("fast-deep-equal");var ValidationError=errorClasses.Validation;module.exports=compile;function compile(schema,root,localRefs,baseId){var self=this,opts=this._opts,refVal=[undefined],refs={},patterns=[],patternsHash={},defaults=[],defaultsHash={},customRules=[];root=root||{schema:schema,refVal:refVal,refs:refs};var c=checkCompiling.call(this,schema,root,baseId);var compilation=this._compilations[c.index];if(c.compiling)return compilation.callValidate=callValidate;var formats=this._formats;var RULES=this.RULES;try{var v=localCompile(schema,root,localRefs,baseId);compilation.validate=v;var cv=compilation.callValidate;if(cv){cv.schema=v.schema;cv.errors=null;cv.refs=v.refs;cv.refVal=v.refVal;cv.root=v.root;cv.$async=v.$async;if(opts.sourceCode)cv.source=v.source}return v}finally{endCompiling.call(this,schema,root,baseId)}function callValidate(){var validate=compilation.validate;var result=validate.apply(this,arguments);callValidate.errors=validate.errors;return result}function localCompile(_schema,_root,localRefs,baseId){var isRoot=!_root||_root&&_root.schema==_schema;if(_root.schema!=root.schema)return compile.call(self,_schema,_root,localRefs,baseId);var $async=_schema.$async===true;var sourceCode=validateGenerator({isTop:true,schema:_schema,isRoot:isRoot,baseId:baseId,root:_root,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:errorClasses.MissingRef,RULES:RULES,validate:validateGenerator,util:util,resolve:resolve,resolveRef:resolveRef,usePattern:usePattern,useDefault:useDefault,useCustomRule:useCustomRule,opts:opts,formats:formats,logger:self.logger,self:self});sourceCode=vars(refVal,refValCode)+vars(patterns,patternCode)+vars(defaults,defaultCode)+vars(customRules,customRuleCode)+sourceCode;if(opts.processCode)sourceCode=opts.processCode(sourceCode,_schema);var validate;try{var makeValidate=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",sourceCode);validate=makeValidate(self,RULES,formats,root,refVal,defaults,customRules,equal,ucs2length,ValidationError);refVal[0]=validate}catch(e){self.logger.error("Error compiling schema, function code:",sourceCode);throw e}validate.schema=_schema;validate.errors=null;validate.refs=refs;validate.refVal=refVal;validate.root=isRoot?validate:_root;if($async)validate.$async=true;if(opts.sourceCode===true){validate.source={code:sourceCode,patterns:patterns,defaults:defaults}}return validate}function resolveRef(baseId,ref,isRoot){ref=resolve.url(baseId,ref);var refIndex=refs[ref];var _refVal,refCode;if(refIndex!==undefined){_refVal=refVal[refIndex];refCode="refVal["+refIndex+"]";return resolvedRef(_refVal,refCode)}if(!isRoot&&root.refs){var rootRefId=root.refs[ref];if(rootRefId!==undefined){_refVal=root.refVal[rootRefId];refCode=addLocalRef(ref,_refVal);return resolvedRef(_refVal,refCode)}}refCode=addLocalRef(ref);var v=resolve.call(self,localCompile,root,ref);if(v===undefined){var localSchema=localRefs&&localRefs[ref];if(localSchema){v=resolve.inlineRef(localSchema,opts.inlineRefs)?localSchema:compile.call(self,localSchema,root,localRefs,baseId)}}if(v===undefined){removeLocalRef(ref)}else{replaceLocalRef(ref,v);return resolvedRef(v,refCode)}}function addLocalRef(ref,v){var refId=refVal.length;refVal[refId]=v;refs[ref]=refId;return"refVal"+refId}function removeLocalRef(ref){delete refs[ref]}function replaceLocalRef(ref,v){var refId=refs[ref];refVal[refId]=v}function resolvedRef(refVal,code){return typeof refVal=="object"||typeof refVal=="boolean"?{code:code,schema:refVal,inline:true}:{code:code,$async:refVal&&!!refVal.$async}}function usePattern(regexStr){var index=patternsHash[regexStr];if(index===undefined){index=patternsHash[regexStr]=patterns.length;patterns[index]=regexStr}return"pattern"+index}function useDefault(value){switch(typeof value){case"boolean":case"number":return""+value;case"string":return util.toQuotedString(value);case"object":if(value===null)return"null";var valueStr=stableStringify(value);var index=defaultsHash[valueStr];if(index===undefined){index=defaultsHash[valueStr]=defaults.length;defaults[index]=value}return"default"+index}}function useCustomRule(rule,schema,parentSchema,it){if(self._opts.validateSchema!==false){var deps=rule.definition.dependencies;if(deps&&!deps.every(function(keyword){return Object.prototype.hasOwnProperty.call(parentSchema,keyword)}))throw new Error("parent schema must have all required keywords: "+deps.join(","));var validateSchema=rule.definition.validateSchema;if(validateSchema){var valid=validateSchema(schema);if(!valid){var message="keyword schema is invalid: "+self.errorsText(validateSchema.errors);if(self._opts.validateSchema=="log")self.logger.error(message);else throw new Error(message)}}}var compile=rule.definition.compile,inline=rule.definition.inline,macro=rule.definition.macro;var validate;if(compile){validate=compile.call(self,schema,parentSchema,it)}else if(macro){validate=macro.call(self,schema,parentSchema,it);if(opts.validateSchema!==false)self.validateSchema(validate,true)}else if(inline){validate=inline.call(self,it,rule.keyword,schema,parentSchema)}else{validate=rule.definition.validate;if(!validate)return}if(validate===undefined)throw new Error('custom keyword "'+rule.keyword+'"failed to compile');var index=customRules.length;customRules[index]=validate;return{code:"customRule"+index,validate:validate}}}function checkCompiling(schema,root,baseId){var index=compIndex.call(this,schema,root,baseId);if(index>=0)return{index:index,compiling:true};index=this._compilations.length;this._compilations[index]={schema:schema,root:root,baseId:baseId};return{index:index,compiling:false}}function endCompiling(schema,root,baseId){var i=compIndex.call(this,schema,root,baseId);if(i>=0)this._compilations.splice(i,1)}function compIndex(schema,root,baseId){for(var i=0;i=55296&&value<=56319&&pos=lvl)throw new Error("Cannot access property/index "+up+" levels up, current level is "+lvl);return paths[lvl-up]}if(up>lvl)throw new Error("Cannot access data "+up+" levels up, current level is "+lvl);data="data"+(lvl-up||"");if(!jsonPointer)return data}var expr=data;var segments=jsonPointer.split("/");for(var i=0;i",$notOp=$isMax?">":"<",$errorKeyword=undefined;if(!($isData||typeof $schema=="number"||$schema===undefined)){throw new Error($keyword+" must be number")}if(!($isDataExcl||$schemaExcl===undefined||typeof $schemaExcl=="number"||typeof $schemaExcl=="boolean")){throw new Error($exclusiveKeyword+" must be number or boolean")}if($isDataExcl){var $schemaValueExcl=it.util.getData($schemaExcl.$data,$dataLvl,it.dataPathArr),$exclusive="exclusive"+$lvl,$exclType="exclType"+$lvl,$exclIsNumber="exclIsNumber"+$lvl,$opExpr="op"+$lvl,$opStr="' + "+$opExpr+" + '";out+=" var schemaExcl"+$lvl+" = "+$schemaValueExcl+"; ";$schemaValueExcl="schemaExcl"+$lvl;out+=" var "+$exclusive+"; var "+$exclType+" = typeof "+$schemaValueExcl+"; if ("+$exclType+" != 'boolean' && "+$exclType+" != 'undefined' && "+$exclType+" != 'number') { ";var $errorKeyword=$exclusiveKeyword;var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: {} ";if(it.opts.messages!==false){out+=" , message: '"+$exclusiveKeyword+" should be boolean' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } else if ( ";if($isData){out+=" ("+$schemaValue+" !== undefined && typeof "+$schemaValue+" != 'number') || "}out+=" "+$exclType+" == 'number' ? ( ("+$exclusive+" = "+$schemaValue+" === undefined || "+$schemaValueExcl+" "+$op+"= "+$schemaValue+") ? "+$data+" "+$notOp+"= "+$schemaValueExcl+" : "+$data+" "+$notOp+" "+$schemaValue+" ) : ( ("+$exclusive+" = "+$schemaValueExcl+" === true) ? "+$data+" "+$notOp+"= "+$schemaValue+" : "+$data+" "+$notOp+" "+$schemaValue+" ) || "+$data+" !== "+$data+") { var op"+$lvl+" = "+$exclusive+" ? '"+$op+"' : '"+$op+"='; ";if($schema===undefined){$errorKeyword=$exclusiveKeyword;$errSchemaPath=it.errSchemaPath+"/"+$exclusiveKeyword;$schemaValue=$schemaValueExcl;$isData=$isDataExcl}}else{var $exclIsNumber=typeof $schemaExcl=="number",$opStr=$op;if($exclIsNumber&&$isData){var $opExpr="'"+$opStr+"'";out+=" if ( ";if($isData){out+=" ("+$schemaValue+" !== undefined && typeof "+$schemaValue+" != 'number') || "}out+=" ( "+$schemaValue+" === undefined || "+$schemaExcl+" "+$op+"= "+$schemaValue+" ? "+$data+" "+$notOp+"= "+$schemaExcl+" : "+$data+" "+$notOp+" "+$schemaValue+" ) || "+$data+" !== "+$data+") { "}else{if($exclIsNumber&&$schema===undefined){$exclusive=true;$errorKeyword=$exclusiveKeyword;$errSchemaPath=it.errSchemaPath+"/"+$exclusiveKeyword;$schemaValue=$schemaExcl;$notOp+="="}else{if($exclIsNumber)$schemaValue=Math[$isMax?"min":"max"]($schemaExcl,$schema);if($schemaExcl===($exclIsNumber?$schemaValue:true)){$exclusive=true;$errorKeyword=$exclusiveKeyword;$errSchemaPath=it.errSchemaPath+"/"+$exclusiveKeyword;$notOp+="="}else{$exclusive=false;$opStr+="="}}var $opExpr="'"+$opStr+"'";out+=" if ( ";if($isData){out+=" ("+$schemaValue+" !== undefined && typeof "+$schemaValue+" != 'number') || "}out+=" "+$data+" "+$notOp+" "+$schemaValue+" || "+$data+" !== "+$data+") { "}}$errorKeyword=$errorKeyword||$keyword;var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"_limit")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { comparison: "+$opExpr+", limit: "+$schemaValue+", exclusive: "+$exclusive+" } ";if(it.opts.messages!==false){out+=" , message: 'should be "+$opStr+" ";if($isData){out+="' + "+$schemaValue}else{out+=""+$schemaValue+"'"}}if(it.opts.verbose){out+=" , schema: ";if($isData){out+="validate.schema"+$schemaPath}else{out+=""+$schema}out+=" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } ";if($breakOnError){out+=" else { "}return out}},{}],119:[function(require,module,exports){"use strict";module.exports=function generate__limitItems(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $errorKeyword;var $data="data"+($dataLvl||"");var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}if(!($isData||typeof $schema=="number")){throw new Error($keyword+" must be number")}var $op=$keyword=="maxItems"?">":"<";out+="if ( ";if($isData){out+=" ("+$schemaValue+" !== undefined && typeof "+$schemaValue+" != 'number') || "}out+=" "+$data+".length "+$op+" "+$schemaValue+") { ";var $errorKeyword=$keyword;var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"_limitItems")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { limit: "+$schemaValue+" } ";if(it.opts.messages!==false){out+=" , message: 'should NOT have ";if($keyword=="maxItems"){out+="more"}else{out+="fewer"}out+=" than ";if($isData){out+="' + "+$schemaValue+" + '"}else{out+=""+$schema}out+=" items' "}if(it.opts.verbose){out+=" , schema: ";if($isData){out+="validate.schema"+$schemaPath}else{out+=""+$schema}out+=" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+="} ";if($breakOnError){out+=" else { "}return out}},{}],120:[function(require,module,exports){"use strict";module.exports=function generate__limitLength(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $errorKeyword;var $data="data"+($dataLvl||"");var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}if(!($isData||typeof $schema=="number")){throw new Error($keyword+" must be number")}var $op=$keyword=="maxLength"?">":"<";out+="if ( ";if($isData){out+=" ("+$schemaValue+" !== undefined && typeof "+$schemaValue+" != 'number') || "}if(it.opts.unicode===false){out+=" "+$data+".length "}else{out+=" ucs2length("+$data+") "}out+=" "+$op+" "+$schemaValue+") { ";var $errorKeyword=$keyword;var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"_limitLength")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { limit: "+$schemaValue+" } ";if(it.opts.messages!==false){out+=" , message: 'should NOT be ";if($keyword=="maxLength"){out+="longer"}else{out+="shorter"}out+=" than ";if($isData){out+="' + "+$schemaValue+" + '"}else{out+=""+$schema}out+=" characters' "}if(it.opts.verbose){out+=" , schema: ";if($isData){out+="validate.schema"+$schemaPath}else{out+=""+$schema}out+=" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+="} ";if($breakOnError){out+=" else { "}return out}},{}],121:[function(require,module,exports){"use strict";module.exports=function generate__limitProperties(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $errorKeyword;var $data="data"+($dataLvl||"");var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}if(!($isData||typeof $schema=="number")){throw new Error($keyword+" must be number")}var $op=$keyword=="maxProperties"?">":"<";out+="if ( ";if($isData){out+=" ("+$schemaValue+" !== undefined && typeof "+$schemaValue+" != 'number') || "}out+=" Object.keys("+$data+").length "+$op+" "+$schemaValue+") { ";var $errorKeyword=$keyword;var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"_limitProperties")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { limit: "+$schemaValue+" } ";if(it.opts.messages!==false){out+=" , message: 'should NOT have ";if($keyword=="maxProperties"){out+="more"}else{out+="fewer"}out+=" than ";if($isData){out+="' + "+$schemaValue+" + '"}else{out+=""+$schema}out+=" properties' "}if(it.opts.verbose){out+=" , schema: ";if($isData){out+="validate.schema"+$schemaPath}else{out+=""+$schema}out+=" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+="} ";if($breakOnError){out+=" else { "}return out}},{}],122:[function(require,module,exports){"use strict";module.exports=function generate_allOf(it,$keyword,$ruleType){var out=" ";var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $it=it.util.copy(it);var $closingBraces="";$it.level++;var $nextValid="valid"+$it.level;var $currentBaseId=$it.baseId,$allSchemasEmpty=true;var arr1=$schema;if(arr1){var $sch,$i=-1,l1=arr1.length-1;while($i0||$sch===false:it.util.schemaHasRules($sch,it.RULES.all)){$allSchemasEmpty=false;$it.schema=$sch;$it.schemaPath=$schemaPath+"["+$i+"]";$it.errSchemaPath=$errSchemaPath+"/"+$i;out+=" "+it.validate($it)+" ";$it.baseId=$currentBaseId;if($breakOnError){out+=" if ("+$nextValid+") { ";$closingBraces+="}"}}}}if($breakOnError){if($allSchemasEmpty){out+=" if (true) { "}else{out+=" "+$closingBraces.slice(0,-1)+" "}}return out}},{}],123:[function(require,module,exports){"use strict";module.exports=function generate_anyOf(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;var $errs="errs__"+$lvl;var $it=it.util.copy(it);var $closingBraces="";$it.level++;var $nextValid="valid"+$it.level;var $noEmptySchema=$schema.every(function($sch){return it.opts.strictKeywords?typeof $sch=="object"&&Object.keys($sch).length>0||$sch===false:it.util.schemaHasRules($sch,it.RULES.all)});if($noEmptySchema){var $currentBaseId=$it.baseId;out+=" var "+$errs+" = errors; var "+$valid+" = false; ";var $wasComposite=it.compositeRule;it.compositeRule=$it.compositeRule=true;var arr1=$schema;if(arr1){var $sch,$i=-1,l1=arr1.length-1;while($i0||$schema===false:it.util.schemaHasRules($schema,it.RULES.all);out+="var "+$errs+" = errors;var "+$valid+";";if($nonEmptySchema){var $wasComposite=it.compositeRule;it.compositeRule=$it.compositeRule=true;$it.schema=$schema;$it.schemaPath=$schemaPath;$it.errSchemaPath=$errSchemaPath;out+=" var "+$nextValid+" = false; for (var "+$idx+" = 0; "+$idx+" < "+$data+".length; "+$idx+"++) { ";$it.errorPath=it.util.getPathExpr(it.errorPath,$idx,it.opts.jsonPointers,true);var $passData=$data+"["+$idx+"]";$it.dataPathArr[$dataNxt]=$idx;var $code=it.validate($it);$it.baseId=$currentBaseId;if(it.util.varOccurences($code,$nextData)<2){out+=" "+it.util.varReplace($code,$nextData,$passData)+" "}else{out+=" var "+$nextData+" = "+$passData+"; "+$code+" "}out+=" if ("+$nextValid+") break; } ";it.compositeRule=$it.compositeRule=$wasComposite;out+=" "+$closingBraces+" if (!"+$nextValid+") {"}else{out+=" if ("+$data+".length == 0) {"}var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"contains"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: {} ";if(it.opts.messages!==false){out+=" , message: 'should contain a valid item' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } else { ";if($nonEmptySchema){out+=" errors = "+$errs+"; if (vErrors !== null) { if ("+$errs+") vErrors.length = "+$errs+"; else vErrors = null; } "}if(it.opts.allErrors){out+=" } "}return out}},{}],127:[function(require,module,exports){"use strict";module.exports=function generate_custom(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $errorKeyword;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;var $errs="errs__"+$lvl;var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}var $rule=this,$definition="definition"+$lvl,$rDef=$rule.definition,$closingBraces="";var $compile,$inline,$macro,$ruleValidate,$validateCode;if($isData&&$rDef.$data){$validateCode="keywordValidate"+$lvl;var $validateSchema=$rDef.validateSchema;out+=" var "+$definition+" = RULES.custom['"+$keyword+"'].definition; var "+$validateCode+" = "+$definition+".validate;"}else{$ruleValidate=it.useCustomRule($rule,$schema,it.schema,it);if(!$ruleValidate)return;$schemaValue="validate.schema"+$schemaPath;$validateCode=$ruleValidate.code;$compile=$rDef.compile;$inline=$rDef.inline;$macro=$rDef.macro}var $ruleErrs=$validateCode+".errors",$i="i"+$lvl,$ruleErr="ruleErr"+$lvl,$asyncKeyword=$rDef.async;if($asyncKeyword&&!it.async)throw new Error("async keyword in sync schema");if(!($inline||$macro)){out+=""+$ruleErrs+" = null;"}out+="var "+$errs+" = errors;var "+$valid+";";if($isData&&$rDef.$data){$closingBraces+="}";out+=" if ("+$schemaValue+" === undefined) { "+$valid+" = true; } else { ";if($validateSchema){$closingBraces+="}";out+=" "+$valid+" = "+$definition+".validateSchema("+$schemaValue+"); if ("+$valid+") { "}}if($inline){if($rDef.statements){out+=" "+$ruleValidate.validate+" "}else{out+=" "+$valid+" = "+$ruleValidate.validate+"; "}}else if($macro){var $it=it.util.copy(it);var $closingBraces="";$it.level++;var $nextValid="valid"+$it.level;$it.schema=$ruleValidate.validate;$it.schemaPath="";var $wasComposite=it.compositeRule;it.compositeRule=$it.compositeRule=true;var $code=it.validate($it).replace(/validate\.schema/g,$validateCode);it.compositeRule=$it.compositeRule=$wasComposite;out+=" "+$code}else{var $$outStack=$$outStack||[];$$outStack.push(out);out="";out+=" "+$validateCode+".call( ";if(it.opts.passContext){out+="this"}else{out+="self"}if($compile||$rDef.schema===false){out+=" , "+$data+" "}else{out+=" , "+$schemaValue+" , "+$data+" , validate.schema"+it.schemaPath+" "}out+=" , (dataPath || '')";if(it.errorPath!='""'){out+=" + "+it.errorPath}var $parentData=$dataLvl?"data"+($dataLvl-1||""):"parentData",$parentDataProperty=$dataLvl?it.dataPathArr[$dataLvl]:"parentDataProperty";out+=" , "+$parentData+" , "+$parentDataProperty+" , rootData ) ";var def_callRuleValidate=out;out=$$outStack.pop();if($rDef.errors===false){out+=" "+$valid+" = ";if($asyncKeyword){out+="await "}out+=""+def_callRuleValidate+"; "}else{if($asyncKeyword){$ruleErrs="customErrors"+$lvl;out+=" var "+$ruleErrs+" = null; try { "+$valid+" = await "+def_callRuleValidate+"; } catch (e) { "+$valid+" = false; if (e instanceof ValidationError) "+$ruleErrs+" = e.errors; else throw e; } "}else{out+=" "+$ruleErrs+" = null; "+$valid+" = "+def_callRuleValidate+"; "}}}if($rDef.modifying){out+=" if ("+$parentData+") "+$data+" = "+$parentData+"["+$parentDataProperty+"];"}out+=""+$closingBraces;if($rDef.valid){if($breakOnError){out+=" if (true) { "}}else{out+=" if ( ";if($rDef.valid===undefined){out+=" !";if($macro){out+=""+$nextValid}else{out+=""+$valid}}else{out+=" "+!$rDef.valid+" "}out+=") { ";$errorKeyword=$rule.keyword;var $$outStack=$$outStack||[];$$outStack.push(out);out="";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"custom")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { keyword: '"+$rule.keyword+"' } ";if(it.opts.messages!==false){out+=" , message: 'should pass \""+$rule.keyword+"\" keyword validation' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}var def_customError=out;out=$$outStack.pop();if($inline){if($rDef.errors){if($rDef.errors!="full"){out+=" for (var "+$i+"="+$errs+"; "+$i+"0||$sch===false:it.util.schemaHasRules($sch,it.RULES.all)){out+=" "+$nextValid+" = true; if ( "+$data+it.util.getProperty($property)+" !== undefined ";if($ownProperties){out+=" && Object.prototype.hasOwnProperty.call("+$data+", '"+it.util.escapeQuotes($property)+"') "}out+=") { ";$it.schema=$sch;$it.schemaPath=$schemaPath+it.util.getProperty($property);$it.errSchemaPath=$errSchemaPath+"/"+it.util.escapeFragment($property);out+=" "+it.validate($it)+" ";$it.baseId=$currentBaseId;out+=" } ";if($breakOnError){out+=" if ("+$nextValid+") { ";$closingBraces+="}"}}}if($breakOnError){out+=" "+$closingBraces+" if ("+$errs+" == errors) {"}return out}},{}],129:[function(require,module,exports){"use strict";module.exports=function generate_enum(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}var $i="i"+$lvl,$vSchema="schema"+$lvl;if(!$isData){out+=" var "+$vSchema+" = validate.schema"+$schemaPath+";"}out+="var "+$valid+";";if($isData){out+=" if (schema"+$lvl+" === undefined) "+$valid+" = true; else if (!Array.isArray(schema"+$lvl+")) "+$valid+" = false; else {"}out+=""+$valid+" = false;for (var "+$i+"=0; "+$i+"<"+$vSchema+".length; "+$i+"++) if (equal("+$data+", "+$vSchema+"["+$i+"])) { "+$valid+" = true; break; }";if($isData){out+=" } "}out+=" if (!"+$valid+") { ";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"enum"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { allowedValues: schema"+$lvl+" } ";if(it.opts.messages!==false){out+=" , message: 'should be equal to one of the allowed values' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" }";if($breakOnError){out+=" else { "}return out}},{}],130:[function(require,module,exports){"use strict";module.exports=function generate_format(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");if(it.opts.format===false){if($breakOnError){out+=" if (true) { "}return out}var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}var $unknownFormats=it.opts.unknownFormats,$allowUnknown=Array.isArray($unknownFormats);if($isData){var $format="format"+$lvl,$isObject="isObject"+$lvl,$formatType="formatType"+$lvl;out+=" var "+$format+" = formats["+$schemaValue+"]; var "+$isObject+" = typeof "+$format+" == 'object' && !("+$format+" instanceof RegExp) && "+$format+".validate; var "+$formatType+" = "+$isObject+" && "+$format+".type || 'string'; if ("+$isObject+") { ";if(it.async){out+=" var async"+$lvl+" = "+$format+".async; "}out+=" "+$format+" = "+$format+".validate; } if ( ";if($isData){out+=" ("+$schemaValue+" !== undefined && typeof "+$schemaValue+" != 'string') || "}out+=" (";if($unknownFormats!="ignore"){out+=" ("+$schemaValue+" && !"+$format+" ";if($allowUnknown){out+=" && self._opts.unknownFormats.indexOf("+$schemaValue+") == -1 "}out+=") || "}out+=" ("+$format+" && "+$formatType+" == '"+$ruleType+"' && !(typeof "+$format+" == 'function' ? ";if(it.async){out+=" (async"+$lvl+" ? await "+$format+"("+$data+") : "+$format+"("+$data+")) "}else{out+=" "+$format+"("+$data+") "}out+=" : "+$format+".test("+$data+"))))) {"}else{var $format=it.formats[$schema];if(!$format){if($unknownFormats=="ignore"){it.logger.warn('unknown format "'+$schema+'" ignored in schema at path "'+it.errSchemaPath+'"');if($breakOnError){out+=" if (true) { "}return out}else if($allowUnknown&&$unknownFormats.indexOf($schema)>=0){if($breakOnError){out+=" if (true) { "}return out}else{throw new Error('unknown format "'+$schema+'" is used in schema at path "'+it.errSchemaPath+'"')}}var $isObject=typeof $format=="object"&&!($format instanceof RegExp)&&$format.validate;var $formatType=$isObject&&$format.type||"string";if($isObject){var $async=$format.async===true;$format=$format.validate}if($formatType!=$ruleType){if($breakOnError){out+=" if (true) { "}return out}if($async){if(!it.async)throw new Error("async format in sync schema");var $formatRef="formats"+it.util.getProperty($schema)+".validate";out+=" if (!(await "+$formatRef+"("+$data+"))) { "}else{out+=" if (! ";var $formatRef="formats"+it.util.getProperty($schema);if($isObject)$formatRef+=".validate";if(typeof $format=="function"){out+=" "+$formatRef+"("+$data+") "}else{out+=" "+$formatRef+".test("+$data+") "}out+=") { "}}var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"format"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { format: ";if($isData){out+=""+$schemaValue}else{out+=""+it.util.toQuotedString($schema)}out+=" } ";if(it.opts.messages!==false){out+=" , message: 'should match format \"";if($isData){out+="' + "+$schemaValue+" + '"}else{out+=""+it.util.escapeQuotes($schema)}out+="\"' "}if(it.opts.verbose){out+=" , schema: ";if($isData){out+="validate.schema"+$schemaPath}else{out+=""+it.util.toQuotedString($schema)}out+=" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } ";if($breakOnError){out+=" else { "}return out}},{}],131:[function(require,module,exports){"use strict";module.exports=function generate_if(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;var $errs="errs__"+$lvl;var $it=it.util.copy(it);$it.level++;var $nextValid="valid"+$it.level;var $thenSch=it.schema["then"],$elseSch=it.schema["else"],$thenPresent=$thenSch!==undefined&&(it.opts.strictKeywords?typeof $thenSch=="object"&&Object.keys($thenSch).length>0||$thenSch===false:it.util.schemaHasRules($thenSch,it.RULES.all)),$elsePresent=$elseSch!==undefined&&(it.opts.strictKeywords?typeof $elseSch=="object"&&Object.keys($elseSch).length>0||$elseSch===false:it.util.schemaHasRules($elseSch,it.RULES.all)),$currentBaseId=$it.baseId;if($thenPresent||$elsePresent){var $ifClause;$it.createErrors=false;$it.schema=$schema;$it.schemaPath=$schemaPath;$it.errSchemaPath=$errSchemaPath;out+=" var "+$errs+" = errors; var "+$valid+" = true; ";var $wasComposite=it.compositeRule;it.compositeRule=$it.compositeRule=true;out+=" "+it.validate($it)+" ";$it.baseId=$currentBaseId;$it.createErrors=true;out+=" errors = "+$errs+"; if (vErrors !== null) { if ("+$errs+") vErrors.length = "+$errs+"; else vErrors = null; } ";it.compositeRule=$it.compositeRule=$wasComposite;if($thenPresent){out+=" if ("+$nextValid+") { ";$it.schema=it.schema["then"];$it.schemaPath=it.schemaPath+".then";$it.errSchemaPath=it.errSchemaPath+"/then";out+=" "+it.validate($it)+" ";$it.baseId=$currentBaseId;out+=" "+$valid+" = "+$nextValid+"; ";if($thenPresent&&$elsePresent){$ifClause="ifClause"+$lvl;out+=" var "+$ifClause+" = 'then'; "}else{$ifClause="'then'"}out+=" } ";if($elsePresent){out+=" else { "}}else{out+=" if (!"+$nextValid+") { "}if($elsePresent){$it.schema=it.schema["else"];$it.schemaPath=it.schemaPath+".else";$it.errSchemaPath=it.errSchemaPath+"/else";out+=" "+it.validate($it)+" ";$it.baseId=$currentBaseId;out+=" "+$valid+" = "+$nextValid+"; ";if($thenPresent&&$elsePresent){$ifClause="ifClause"+$lvl;out+=" var "+$ifClause+" = 'else'; "}else{$ifClause="'else'"}out+=" } "}out+=" if (!"+$valid+") { var err = ";if(it.createErrors!==false){out+=" { keyword: '"+"if"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { failingKeyword: "+$ifClause+" } ";if(it.opts.messages!==false){out+=" , message: 'should match \"' + "+$ifClause+" + '\" schema' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}out+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(vErrors); "}else{out+=" validate.errors = vErrors; return false; "}}out+=" } ";if($breakOnError){out+=" else { "}}else{if($breakOnError){out+=" if (true) { "}}return out}},{}],132:[function(require,module,exports){"use strict";module.exports={$ref:require("./ref"),allOf:require("./allOf"),anyOf:require("./anyOf"),$comment:require("./comment"),const:require("./const"),contains:require("./contains"),dependencies:require("./dependencies"),enum:require("./enum"),format:require("./format"),if:require("./if"),items:require("./items"),maximum:require("./_limit"),minimum:require("./_limit"),maxItems:require("./_limitItems"),minItems:require("./_limitItems"),maxLength:require("./_limitLength"),minLength:require("./_limitLength"),maxProperties:require("./_limitProperties"),minProperties:require("./_limitProperties"),multipleOf:require("./multipleOf"),not:require("./not"),oneOf:require("./oneOf"),pattern:require("./pattern"),properties:require("./properties"),propertyNames:require("./propertyNames"),required:require("./required"),uniqueItems:require("./uniqueItems"),validate:require("./validate")}},{"./_limit":118,"./_limitItems":119,"./_limitLength":120,"./_limitProperties":121,"./allOf":122,"./anyOf":123,"./comment":124,"./const":125,"./contains":126,"./dependencies":128,"./enum":129,"./format":130,"./if":131,"./items":133,"./multipleOf":134,"./not":135,"./oneOf":136,"./pattern":137,"./properties":138,"./propertyNames":139,"./ref":140,"./required":141,"./uniqueItems":142,"./validate":143}],133:[function(require,module,exports){"use strict";module.exports=function generate_items(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;var $errs="errs__"+$lvl;var $it=it.util.copy(it);var $closingBraces="";$it.level++;var $nextValid="valid"+$it.level;var $idx="i"+$lvl,$dataNxt=$it.dataLevel=it.dataLevel+1,$nextData="data"+$dataNxt,$currentBaseId=it.baseId;out+="var "+$errs+" = errors;var "+$valid+";";if(Array.isArray($schema)){var $additionalItems=it.schema.additionalItems;if($additionalItems===false){out+=" "+$valid+" = "+$data+".length <= "+$schema.length+"; ";var $currErrSchemaPath=$errSchemaPath;$errSchemaPath=it.errSchemaPath+"/additionalItems";out+=" if (!"+$valid+") { ";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"additionalItems"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { limit: "+$schema.length+" } ";if(it.opts.messages!==false){out+=" , message: 'should NOT have more than "+$schema.length+" items' "}if(it.opts.verbose){out+=" , schema: false , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } ";$errSchemaPath=$currErrSchemaPath;if($breakOnError){$closingBraces+="}";out+=" else { "}}var arr1=$schema;if(arr1){var $sch,$i=-1,l1=arr1.length-1;while($i0||$sch===false:it.util.schemaHasRules($sch,it.RULES.all)){out+=" "+$nextValid+" = true; if ("+$data+".length > "+$i+") { ";var $passData=$data+"["+$i+"]";$it.schema=$sch;$it.schemaPath=$schemaPath+"["+$i+"]";$it.errSchemaPath=$errSchemaPath+"/"+$i;$it.errorPath=it.util.getPathExpr(it.errorPath,$i,it.opts.jsonPointers,true);$it.dataPathArr[$dataNxt]=$i;var $code=it.validate($it);$it.baseId=$currentBaseId;if(it.util.varOccurences($code,$nextData)<2){out+=" "+it.util.varReplace($code,$nextData,$passData)+" "}else{out+=" var "+$nextData+" = "+$passData+"; "+$code+" "}out+=" } ";if($breakOnError){out+=" if ("+$nextValid+") { ";$closingBraces+="}"}}}}if(typeof $additionalItems=="object"&&(it.opts.strictKeywords?typeof $additionalItems=="object"&&Object.keys($additionalItems).length>0||$additionalItems===false:it.util.schemaHasRules($additionalItems,it.RULES.all))){$it.schema=$additionalItems;$it.schemaPath=it.schemaPath+".additionalItems";$it.errSchemaPath=it.errSchemaPath+"/additionalItems";out+=" "+$nextValid+" = true; if ("+$data+".length > "+$schema.length+") { for (var "+$idx+" = "+$schema.length+"; "+$idx+" < "+$data+".length; "+$idx+"++) { ";$it.errorPath=it.util.getPathExpr(it.errorPath,$idx,it.opts.jsonPointers,true);var $passData=$data+"["+$idx+"]";$it.dataPathArr[$dataNxt]=$idx;var $code=it.validate($it);$it.baseId=$currentBaseId;if(it.util.varOccurences($code,$nextData)<2){out+=" "+it.util.varReplace($code,$nextData,$passData)+" "}else{out+=" var "+$nextData+" = "+$passData+"; "+$code+" "}if($breakOnError){out+=" if (!"+$nextValid+") break; "}out+=" } } ";if($breakOnError){out+=" if ("+$nextValid+") { ";$closingBraces+="}"}}}else if(it.opts.strictKeywords?typeof $schema=="object"&&Object.keys($schema).length>0||$schema===false:it.util.schemaHasRules($schema,it.RULES.all)){$it.schema=$schema;$it.schemaPath=$schemaPath;$it.errSchemaPath=$errSchemaPath;out+=" for (var "+$idx+" = "+0+"; "+$idx+" < "+$data+".length; "+$idx+"++) { ";$it.errorPath=it.util.getPathExpr(it.errorPath,$idx,it.opts.jsonPointers,true);var $passData=$data+"["+$idx+"]";$it.dataPathArr[$dataNxt]=$idx;var $code=it.validate($it);$it.baseId=$currentBaseId;if(it.util.varOccurences($code,$nextData)<2){out+=" "+it.util.varReplace($code,$nextData,$passData)+" "}else{out+=" var "+$nextData+" = "+$passData+"; "+$code+" "}if($breakOnError){out+=" if (!"+$nextValid+") break; "}out+=" }"}if($breakOnError){out+=" "+$closingBraces+" if ("+$errs+" == errors) {"}return out}},{}],134:[function(require,module,exports){"use strict";module.exports=function generate_multipleOf(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}if(!($isData||typeof $schema=="number")){throw new Error($keyword+" must be number")}out+="var division"+$lvl+";if (";if($isData){out+=" "+$schemaValue+" !== undefined && ( typeof "+$schemaValue+" != 'number' || "}out+=" (division"+$lvl+" = "+$data+" / "+$schemaValue+", ";if(it.opts.multipleOfPrecision){out+=" Math.abs(Math.round(division"+$lvl+") - division"+$lvl+") > 1e-"+it.opts.multipleOfPrecision+" "}else{out+=" division"+$lvl+" !== parseInt(division"+$lvl+") "}out+=" ) ";if($isData){out+=" ) "}out+=" ) { ";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"multipleOf"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { multipleOf: "+$schemaValue+" } ";if(it.opts.messages!==false){out+=" , message: 'should be multiple of ";if($isData){out+="' + "+$schemaValue}else{out+=""+$schemaValue+"'"}}if(it.opts.verbose){out+=" , schema: ";if($isData){out+="validate.schema"+$schemaPath}else{out+=""+$schema}out+=" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+="} ";if($breakOnError){out+=" else { "}return out}},{}],135:[function(require,module,exports){"use strict";module.exports=function generate_not(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $errs="errs__"+$lvl;var $it=it.util.copy(it);$it.level++;var $nextValid="valid"+$it.level;if(it.opts.strictKeywords?typeof $schema=="object"&&Object.keys($schema).length>0||$schema===false:it.util.schemaHasRules($schema,it.RULES.all)){$it.schema=$schema;$it.schemaPath=$schemaPath;$it.errSchemaPath=$errSchemaPath;out+=" var "+$errs+" = errors; ";var $wasComposite=it.compositeRule;it.compositeRule=$it.compositeRule=true;$it.createErrors=false;var $allErrorsOption;if($it.opts.allErrors){$allErrorsOption=$it.opts.allErrors;$it.opts.allErrors=false}out+=" "+it.validate($it)+" ";$it.createErrors=true;if($allErrorsOption)$it.opts.allErrors=$allErrorsOption;it.compositeRule=$it.compositeRule=$wasComposite;out+=" if ("+$nextValid+") { ";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: {} ";if(it.opts.messages!==false){out+=" , message: 'should NOT be valid' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } else { errors = "+$errs+"; if (vErrors !== null) { if ("+$errs+") vErrors.length = "+$errs+"; else vErrors = null; } ";if(it.opts.allErrors){out+=" } "}}else{out+=" var err = ";if(it.createErrors!==false){out+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: {} ";if(it.opts.messages!==false){out+=" , message: 'should NOT be valid' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}out+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if($breakOnError){out+=" if (false) { "}}return out}},{}],136:[function(require,module,exports){"use strict";module.exports=function generate_oneOf(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;var $errs="errs__"+$lvl;var $it=it.util.copy(it);var $closingBraces="";$it.level++;var $nextValid="valid"+$it.level;var $currentBaseId=$it.baseId,$prevValid="prevValid"+$lvl,$passingSchemas="passingSchemas"+$lvl;out+="var "+$errs+" = errors , "+$prevValid+" = false , "+$valid+" = false , "+$passingSchemas+" = null; ";var $wasComposite=it.compositeRule;it.compositeRule=$it.compositeRule=true;var arr1=$schema;if(arr1){var $sch,$i=-1,l1=arr1.length-1;while($i0||$sch===false:it.util.schemaHasRules($sch,it.RULES.all)){$it.schema=$sch;$it.schemaPath=$schemaPath+"["+$i+"]";$it.errSchemaPath=$errSchemaPath+"/"+$i;out+=" "+it.validate($it)+" ";$it.baseId=$currentBaseId}else{out+=" var "+$nextValid+" = true; "}if($i){out+=" if ("+$nextValid+" && "+$prevValid+") { "+$valid+" = false; "+$passingSchemas+" = ["+$passingSchemas+", "+$i+"]; } else { ";$closingBraces+="}"}out+=" if ("+$nextValid+") { "+$valid+" = "+$prevValid+" = true; "+$passingSchemas+" = "+$i+"; }"}}it.compositeRule=$it.compositeRule=$wasComposite;out+=""+$closingBraces+"if (!"+$valid+") { var err = ";if(it.createErrors!==false){out+=" { keyword: '"+"oneOf"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { passingSchemas: "+$passingSchemas+" } ";if(it.opts.messages!==false){out+=" , message: 'should match exactly one schema in oneOf' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}out+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(vErrors); "}else{out+=" validate.errors = vErrors; return false; "}}out+="} else { errors = "+$errs+"; if (vErrors !== null) { if ("+$errs+") vErrors.length = "+$errs+"; else vErrors = null; }";if(it.opts.allErrors){out+=" } "}return out}},{}],137:[function(require,module,exports){"use strict";module.exports=function generate_pattern(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}var $regexp=$isData?"(new RegExp("+$schemaValue+"))":it.usePattern($schema);out+="if ( ";if($isData){out+=" ("+$schemaValue+" !== undefined && typeof "+$schemaValue+" != 'string') || "}out+=" !"+$regexp+".test("+$data+") ) { ";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"pattern"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { pattern: ";if($isData){out+=""+$schemaValue}else{out+=""+it.util.toQuotedString($schema)}out+=" } ";if(it.opts.messages!==false){out+=" , message: 'should match pattern \"";if($isData){out+="' + "+$schemaValue+" + '"}else{out+=""+it.util.escapeQuotes($schema)}out+="\"' "}if(it.opts.verbose){out+=" , schema: ";if($isData){out+="validate.schema"+$schemaPath}else{out+=""+it.util.toQuotedString($schema)}out+=" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+="} ";if($breakOnError){out+=" else { "}return out}},{}],138:[function(require,module,exports){"use strict";module.exports=function generate_properties(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $errs="errs__"+$lvl;var $it=it.util.copy(it);var $closingBraces="";$it.level++;var $nextValid="valid"+$it.level;var $key="key"+$lvl,$idx="idx"+$lvl,$dataNxt=$it.dataLevel=it.dataLevel+1,$nextData="data"+$dataNxt,$dataProperties="dataProperties"+$lvl;var $schemaKeys=Object.keys($schema||{}).filter(notProto),$pProperties=it.schema.patternProperties||{},$pPropertyKeys=Object.keys($pProperties).filter(notProto),$aProperties=it.schema.additionalProperties,$someProperties=$schemaKeys.length||$pPropertyKeys.length,$noAdditional=$aProperties===false,$additionalIsSchema=typeof $aProperties=="object"&&Object.keys($aProperties).length,$removeAdditional=it.opts.removeAdditional,$checkAdditional=$noAdditional||$additionalIsSchema||$removeAdditional,$ownProperties=it.opts.ownProperties,$currentBaseId=it.baseId;var $required=it.schema.required;if($required&&!(it.opts.$data&&$required.$data)&&$required.length8){out+=" || validate.schema"+$schemaPath+".hasOwnProperty("+$key+") "}else{var arr1=$schemaKeys;if(arr1){var $propertyKey,i1=-1,l1=arr1.length-1;while(i10||$sch===false:it.util.schemaHasRules($sch,it.RULES.all)){var $prop=it.util.getProperty($propertyKey),$passData=$data+$prop,$hasDefault=$useDefaults&&$sch.default!==undefined;$it.schema=$sch;$it.schemaPath=$schemaPath+$prop;$it.errSchemaPath=$errSchemaPath+"/"+it.util.escapeFragment($propertyKey);$it.errorPath=it.util.getPath(it.errorPath,$propertyKey,it.opts.jsonPointers);$it.dataPathArr[$dataNxt]=it.util.toQuotedString($propertyKey);var $code=it.validate($it);$it.baseId=$currentBaseId;if(it.util.varOccurences($code,$nextData)<2){$code=it.util.varReplace($code,$nextData,$passData);var $useData=$passData}else{var $useData=$nextData;out+=" var "+$nextData+" = "+$passData+"; "}if($hasDefault){out+=" "+$code+" "}else{if($requiredHash&&$requiredHash[$propertyKey]){out+=" if ( "+$useData+" === undefined ";if($ownProperties){out+=" || ! Object.prototype.hasOwnProperty.call("+$data+", '"+it.util.escapeQuotes($propertyKey)+"') "}out+=") { "+$nextValid+" = false; ";var $currentErrorPath=it.errorPath,$currErrSchemaPath=$errSchemaPath,$missingProperty=it.util.escapeQuotes($propertyKey);if(it.opts._errorDataPathProperty){it.errorPath=it.util.getPath($currentErrorPath,$propertyKey,it.opts.jsonPointers)}$errSchemaPath=it.errSchemaPath+"/required";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { missingProperty: '"+$missingProperty+"' } ";if(it.opts.messages!==false){out+=" , message: '";if(it.opts._errorDataPathProperty){out+="is a required property"}else{out+="should have required property \\'"+$missingProperty+"\\'"}out+="' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$errSchemaPath=$currErrSchemaPath;it.errorPath=$currentErrorPath;out+=" } else { "}else{if($breakOnError){out+=" if ( "+$useData+" === undefined ";if($ownProperties){out+=" || ! Object.prototype.hasOwnProperty.call("+$data+", '"+it.util.escapeQuotes($propertyKey)+"') "}out+=") { "+$nextValid+" = true; } else { "}else{out+=" if ("+$useData+" !== undefined ";if($ownProperties){out+=" && Object.prototype.hasOwnProperty.call("+$data+", '"+it.util.escapeQuotes($propertyKey)+"') "}out+=" ) { "}}out+=" "+$code+" } "}}if($breakOnError){out+=" if ("+$nextValid+") { ";$closingBraces+="}"}}}}if($pPropertyKeys.length){var arr4=$pPropertyKeys;if(arr4){var $pProperty,i4=-1,l4=arr4.length-1;while(i40||$sch===false:it.util.schemaHasRules($sch,it.RULES.all)){$it.schema=$sch;$it.schemaPath=it.schemaPath+".patternProperties"+it.util.getProperty($pProperty);$it.errSchemaPath=it.errSchemaPath+"/patternProperties/"+it.util.escapeFragment($pProperty);if($ownProperties){out+=" "+$dataProperties+" = "+$dataProperties+" || Object.keys("+$data+"); for (var "+$idx+"=0; "+$idx+"<"+$dataProperties+".length; "+$idx+"++) { var "+$key+" = "+$dataProperties+"["+$idx+"]; "}else{out+=" for (var "+$key+" in "+$data+") { "}out+=" if ("+it.usePattern($pProperty)+".test("+$key+")) { ";$it.errorPath=it.util.getPathExpr(it.errorPath,$key,it.opts.jsonPointers);var $passData=$data+"["+$key+"]";$it.dataPathArr[$dataNxt]=$key;var $code=it.validate($it);$it.baseId=$currentBaseId;if(it.util.varOccurences($code,$nextData)<2){out+=" "+it.util.varReplace($code,$nextData,$passData)+" "}else{out+=" var "+$nextData+" = "+$passData+"; "+$code+" "}if($breakOnError){out+=" if (!"+$nextValid+") break; "}out+=" } ";if($breakOnError){out+=" else "+$nextValid+" = true; "}out+=" } ";if($breakOnError){out+=" if ("+$nextValid+") { ";$closingBraces+="}"}}}}}if($breakOnError){out+=" "+$closingBraces+" if ("+$errs+" == errors) {"}return out}},{}],139:[function(require,module,exports){"use strict";module.exports=function generate_propertyNames(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $errs="errs__"+$lvl;var $it=it.util.copy(it);var $closingBraces="";$it.level++;var $nextValid="valid"+$it.level;out+="var "+$errs+" = errors;";if(it.opts.strictKeywords?typeof $schema=="object"&&Object.keys($schema).length>0||$schema===false:it.util.schemaHasRules($schema,it.RULES.all)){$it.schema=$schema;$it.schemaPath=$schemaPath;$it.errSchemaPath=$errSchemaPath;var $key="key"+$lvl,$idx="idx"+$lvl,$i="i"+$lvl,$invalidName="' + "+$key+" + '",$dataNxt=$it.dataLevel=it.dataLevel+1,$nextData="data"+$dataNxt,$dataProperties="dataProperties"+$lvl,$ownProperties=it.opts.ownProperties,$currentBaseId=it.baseId;if($ownProperties){out+=" var "+$dataProperties+" = undefined; "}if($ownProperties){out+=" "+$dataProperties+" = "+$dataProperties+" || Object.keys("+$data+"); for (var "+$idx+"=0; "+$idx+"<"+$dataProperties+".length; "+$idx+"++) { var "+$key+" = "+$dataProperties+"["+$idx+"]; "}else{out+=" for (var "+$key+" in "+$data+") { "}out+=" var startErrs"+$lvl+" = errors; ";var $passData=$key;var $wasComposite=it.compositeRule;it.compositeRule=$it.compositeRule=true;var $code=it.validate($it);$it.baseId=$currentBaseId;if(it.util.varOccurences($code,$nextData)<2){out+=" "+it.util.varReplace($code,$nextData,$passData)+" "}else{out+=" var "+$nextData+" = "+$passData+"; "+$code+" "}it.compositeRule=$it.compositeRule=$wasComposite;out+=" if (!"+$nextValid+") { for (var "+$i+"=startErrs"+$lvl+"; "+$i+"0||$propertySch===false:it.util.schemaHasRules($propertySch,it.RULES.all)))){$required[$required.length]=$property}}}}else{var $required=$schema}}if($isData||$required.length){var $currentErrorPath=it.errorPath,$loopRequired=$isData||$required.length>=it.opts.loopRequired,$ownProperties=it.opts.ownProperties;if($breakOnError){out+=" var missing"+$lvl+"; ";if($loopRequired){if(!$isData){out+=" var "+$vSchema+" = validate.schema"+$schemaPath+"; "}var $i="i"+$lvl,$propertyPath="schema"+$lvl+"["+$i+"]",$missingProperty="' + "+$propertyPath+" + '";if(it.opts._errorDataPathProperty){it.errorPath=it.util.getPathExpr($currentErrorPath,$propertyPath,it.opts.jsonPointers)}out+=" var "+$valid+" = true; ";if($isData){out+=" if (schema"+$lvl+" === undefined) "+$valid+" = true; else if (!Array.isArray(schema"+$lvl+")) "+$valid+" = false; else {"}out+=" for (var "+$i+" = 0; "+$i+" < "+$vSchema+".length; "+$i+"++) { "+$valid+" = "+$data+"["+$vSchema+"["+$i+"]] !== undefined ";if($ownProperties){out+=" && Object.prototype.hasOwnProperty.call("+$data+", "+$vSchema+"["+$i+"]) "}out+="; if (!"+$valid+") break; } ";if($isData){out+=" } "}out+=" if (!"+$valid+") { ";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { missingProperty: '"+$missingProperty+"' } ";if(it.opts.messages!==false){out+=" , message: '";if(it.opts._errorDataPathProperty){out+="is a required property"}else{out+="should have required property \\'"+$missingProperty+"\\'"}out+="' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } else { "}else{out+=" if ( ";var arr2=$required;if(arr2){var $propertyKey,$i=-1,l2=arr2.length-1;while($i 1) { ";var $itemType=it.schema.items&&it.schema.items.type,$typeIsArray=Array.isArray($itemType);if(!$itemType||$itemType=="object"||$itemType=="array"||$typeIsArray&&($itemType.indexOf("object")>=0||$itemType.indexOf("array")>=0)){out+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+$data+"[i], "+$data+"[j])) { "+$valid+" = false; break outer; } } } "}else{out+=" var itemIndices = {}, item; for (;i--;) { var item = "+$data+"[i]; ";var $method="checkDataType"+($typeIsArray?"s":"");out+=" if ("+it.util[$method]($itemType,"item",it.opts.strictNumbers,true)+") continue; ";if($typeIsArray){out+=" if (typeof item == 'string') item = '\"' + item; "}out+=" if (typeof itemIndices[item] == 'number') { "+$valid+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}out+=" } ";if($isData){out+=" } "}out+=" if (!"+$valid+") { ";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"uniqueItems"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { i: i, j: j } ";if(it.opts.messages!==false){out+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "}if(it.opts.verbose){out+=" , schema: ";if($isData){out+="validate.schema"+$schemaPath}else{out+=""+$schema}out+=" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } ";if($breakOnError){out+=" else { "}}else{if($breakOnError){out+=" if (true) { "}}return out}},{}],143:[function(require,module,exports){"use strict";module.exports=function generate_validate(it,$keyword,$ruleType){var out="";var $async=it.schema.$async===true,$refKeywords=it.util.schemaHasRulesExcept(it.schema,it.RULES.all,"$ref"),$id=it.self._getId(it.schema);if(it.opts.strictKeywords){var $unknownKwd=it.util.schemaUnknownRules(it.schema,it.RULES.keywords);if($unknownKwd){var $keywordsMsg="unknown keyword: "+$unknownKwd;if(it.opts.strictKeywords==="log")it.logger.warn($keywordsMsg);else throw new Error($keywordsMsg)}}if(it.isTop){out+=" var validate = ";if($async){it.async=true;out+="async "}out+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ";if($id&&(it.opts.sourceCode||it.opts.processCode)){out+=" "+("/*# sourceURL="+$id+" */")+" "}}if(typeof it.schema=="boolean"||!($refKeywords||it.schema.$ref)){var $keyword="false schema";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $errorKeyword;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;if(it.schema===false){if(it.isTop){$breakOnError=true}else{out+=" var "+$valid+" = false; "}var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"false schema")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: {} ";if(it.opts.messages!==false){out+=" , message: 'boolean schema is false' "}if(it.opts.verbose){out+=" , schema: false , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{if(it.isTop){if($async){out+=" return data; "}else{out+=" validate.errors = null; return true; "}}else{out+=" var "+$valid+" = true; "}}if(it.isTop){out+=" }; return validate; "}return out}if(it.isTop){var $top=it.isTop,$lvl=it.level=0,$dataLvl=it.dataLevel=0,$data="data";it.rootId=it.resolve.fullPath(it.self._getId(it.root.schema));it.baseId=it.baseId||it.rootId;delete it.isTop;it.dataPathArr=[""];if(it.schema.default!==undefined&&it.opts.useDefaults&&it.opts.strictDefaults){var $defaultMsg="default is ignored in the schema root";if(it.opts.strictDefaults==="log")it.logger.warn($defaultMsg);else throw new Error($defaultMsg)}out+=" var vErrors = null; ";out+=" var errors = 0; ";out+=" if (rootData === undefined) rootData = data; "}else{var $lvl=it.level,$dataLvl=it.dataLevel,$data="data"+($dataLvl||"");if($id)it.baseId=it.resolve.url(it.baseId,$id);if($async&&!it.async)throw new Error("async schema in sync schema");out+=" var errs_"+$lvl+" = errors;"}var $valid="valid"+$lvl,$breakOnError=!it.opts.allErrors,$closingBraces1="",$closingBraces2="";var $errorKeyword;var $typeSchema=it.schema.type,$typeIsArray=Array.isArray($typeSchema);if($typeSchema&&it.opts.nullable&&it.schema.nullable===true){if($typeIsArray){if($typeSchema.indexOf("null")==-1)$typeSchema=$typeSchema.concat("null")}else if($typeSchema!="null"){$typeSchema=[$typeSchema,"null"];$typeIsArray=true}}if($typeIsArray&&$typeSchema.length==1){$typeSchema=$typeSchema[0];$typeIsArray=false}if(it.schema.$ref&&$refKeywords){if(it.opts.extendRefs=="fail"){throw new Error('$ref: validation keywords used in schema at path "'+it.errSchemaPath+'" (see option extendRefs)')}else if(it.opts.extendRefs!==true){$refKeywords=false;it.logger.warn('$ref: keywords ignored in schema at path "'+it.errSchemaPath+'"')}}if(it.schema.$comment&&it.opts.$comment){out+=" "+it.RULES.all.$comment.code(it,"$comment")}if($typeSchema){if(it.opts.coerceTypes){var $coerceToTypes=it.util.coerceToTypes(it.opts.coerceTypes,$typeSchema)}var $rulesGroup=it.RULES.types[$typeSchema];if($coerceToTypes||$typeIsArray||$rulesGroup===true||$rulesGroup&&!$shouldUseGroup($rulesGroup)){var $schemaPath=it.schemaPath+".type",$errSchemaPath=it.errSchemaPath+"/type";var $schemaPath=it.schemaPath+".type",$errSchemaPath=it.errSchemaPath+"/type",$method=$typeIsArray?"checkDataTypes":"checkDataType";out+=" if ("+it.util[$method]($typeSchema,$data,it.opts.strictNumbers,true)+") { ";if($coerceToTypes){var $dataType="dataType"+$lvl,$coerced="coerced"+$lvl;out+=" var "+$dataType+" = typeof "+$data+"; var "+$coerced+" = undefined; ";if(it.opts.coerceTypes=="array"){out+=" if ("+$dataType+" == 'object' && Array.isArray("+$data+") && "+$data+".length == 1) { "+$data+" = "+$data+"[0]; "+$dataType+" = typeof "+$data+"; if ("+it.util.checkDataType(it.schema.type,$data,it.opts.strictNumbers)+") "+$coerced+" = "+$data+"; } "}out+=" if ("+$coerced+" !== undefined) ; ";var arr1=$coerceToTypes;if(arr1){var $type,$i=-1,l1=arr1.length-1;while($i0){throw new Error("Invalid string. Length must be a multiple of 4")}var validLen=b64.indexOf("=");if(validLen===-1)validLen=len;var placeHoldersLen=validLen===len?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64);var validLen=lens[0];var placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp;var lens=getLens(b64);var validLen=lens[0];var placeHoldersLen=lens[1];var arr=new Arr(_byteLength(b64,validLen,placeHoldersLen));var curByte=0;var len=placeHoldersLen>0?validLen-4:validLen;var i;for(i=0;i>16&255;arr[curByte++]=tmp>>8&255;arr[curByte++]=tmp&255}if(placeHoldersLen===2){tmp=revLookup[b64.charCodeAt(i)]<<2|revLookup[b64.charCodeAt(i+1)]>>4;arr[curByte++]=tmp&255}if(placeHoldersLen===1){tmp=revLookup[b64.charCodeAt(i)]<<10|revLookup[b64.charCodeAt(i+1)]<<4|revLookup[b64.charCodeAt(i+2)]>>2;arr[curByte++]=tmp>>8&255;arr[curByte++]=tmp&255}return arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){var tmp;var output=[];for(var i=start;ilen2?len2:i+maxChunkLength))}if(extraBytes===1){tmp=uint8[len-1];parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")}else if(extraBytes===2){tmp=(uint8[len-2]<<8)+uint8[len-1];parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")}return parts.join("")}},{}],149:[function(require,module,exports){},{}],150:[function(require,module,exports){(function(Buffer){(function(){"use strict";var base64=require("base64-js");var ieee754=require("ieee754");exports.Buffer=Buffer;exports.SlowBuffer=SlowBuffer;exports.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports.kMaxLength=K_MAX_LENGTH;Buffer.TYPED_ARRAY_SUPPORT=typedArraySupport();if(!Buffer.TYPED_ARRAY_SUPPORT&&typeof console!=="undefined"&&typeof console.error==="function"){console.error("This browser lacks typed array (Uint8Array) support which is required by "+"`buffer` v5.x. Use `buffer` v4.x if you require old browser support.")}function typedArraySupport(){try{var arr=new Uint8Array(1);arr.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}};return arr.foo()===42}catch(e){return false}}Object.defineProperty(Buffer.prototype,"parent",{enumerable:true,get:function(){if(!Buffer.isBuffer(this))return undefined;return this.buffer}});Object.defineProperty(Buffer.prototype,"offset",{enumerable:true,get:function(){if(!Buffer.isBuffer(this))return undefined;return this.byteOffset}});function createBuffer(length){if(length>K_MAX_LENGTH){throw new RangeError('The value "'+length+'" is invalid for option "size"')}var buf=new Uint8Array(length);buf.__proto__=Buffer.prototype;return buf}function Buffer(arg,encodingOrOffset,length){if(typeof arg==="number"){if(typeof encodingOrOffset==="string"){throw new TypeError('The "string" argument must be of type string. Received type number')}return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}if(typeof Symbol!=="undefined"&&Symbol.species!=null&&Buffer[Symbol.species]===Buffer){Object.defineProperty(Buffer,Symbol.species,{value:null,configurable:true,enumerable:false,writable:false})}Buffer.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value==="string"){return fromString(value,encodingOrOffset)}if(ArrayBuffer.isView(value)){return fromArrayLike(value)}if(value==null){throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, "+"or Array-like Object. Received type "+typeof value)}if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer)){return fromArrayBuffer(value,encodingOrOffset,length)}if(typeof value==="number"){throw new TypeError('The "value" argument must not be of type number. Received type number')}var valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value){return Buffer.from(valueOf,encodingOrOffset,length)}var b=fromObject(value);if(b)return b;if(typeof Symbol!=="undefined"&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]==="function"){return Buffer.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length)}throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, "+"or Array-like Object. Received type "+typeof value)}Buffer.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)};Buffer.prototype.__proto__=Uint8Array.prototype;Buffer.__proto__=Uint8Array;function assertSize(size){if(typeof size!=="number"){throw new TypeError('"size" argument must be of type number')}else if(size<0){throw new RangeError('The value "'+size+'" is invalid for option "size"')}}function alloc(size,fill,encoding){assertSize(size);if(size<=0){return createBuffer(size)}if(fill!==undefined){return typeof encoding==="string"?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill)}return createBuffer(size)}Buffer.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){assertSize(size);return createBuffer(size<0?0:checked(size)|0)}Buffer.allocUnsafe=function(size){return allocUnsafe(size)};Buffer.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if(typeof encoding!=="string"||encoding===""){encoding="utf8"}if(!Buffer.isEncoding(encoding)){throw new TypeError("Unknown encoding: "+encoding)}var length=byteLength(string,encoding)|0;var buf=createBuffer(length);var actual=buf.write(string,encoding);if(actual!==length){buf=buf.slice(0,actual)}return buf}function fromArrayLike(array){var length=array.length<0?0:checked(array.length)|0;var buf=createBuffer(length);for(var i=0;i=K_MAX_LENGTH){throw new RangeError("Attempt to allocate Buffer larger than maximum "+"size: 0x"+K_MAX_LENGTH.toString(16)+" bytes")}return length|0}function SlowBuffer(length){if(+length!=length){length=0}return Buffer.alloc(+length)}Buffer.isBuffer=function isBuffer(b){return b!=null&&b._isBuffer===true&&b!==Buffer.prototype};Buffer.compare=function compare(a,b){if(isInstance(a,Uint8Array))a=Buffer.from(a,a.offset,a.byteLength);if(isInstance(b,Uint8Array))b=Buffer.from(b,b.offset,b.byteLength);if(!Buffer.isBuffer(a)||!Buffer.isBuffer(b)){throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array')}if(a===b)return 0;var x=a.length;var y=b.length;for(var i=0,len=Math.min(x,y);i2&&arguments[2]===true;if(!mustMatch&&len===0)return 0;var loweredCase=false;for(;;){switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return len*2;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase){return mustMatch?-1:utf8ToBytes(string).length}encoding=(""+encoding).toLowerCase();loweredCase=true}}}Buffer.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=false;if(start===undefined||start<0){start=0}if(start>this.length){return""}if(end===undefined||end>this.length){end=this.length}if(end<=0){return""}end>>>=0;start>>>=0;if(end<=start){return""}if(!encoding)encoding="utf8";while(true){switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase();loweredCase=true}}}Buffer.prototype._isBuffer=true;function swap(b,n,m){var i=b[n];b[n]=b[m];b[m]=i}Buffer.prototype.swap16=function swap16(){var len=this.length;if(len%2!==0){throw new RangeError("Buffer size must be a multiple of 16-bits")}for(var i=0;imax)str+=" ... ";return""};Buffer.prototype.compare=function compare(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)){target=Buffer.from(target,target.offset,target.byteLength)}if(!Buffer.isBuffer(target)){throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. '+"Received type "+typeof target)}if(start===undefined){start=0}if(end===undefined){end=target?target.length:0}if(thisStart===undefined){thisStart=0}if(thisEnd===undefined){thisEnd=this.length}if(start<0||end>target.length||thisStart<0||thisEnd>this.length){throw new RangeError("out of range index")}if(thisStart>=thisEnd&&start>=end){return 0}if(thisStart>=thisEnd){return-1}if(start>=end){return 1}start>>>=0;end>>>=0;thisStart>>>=0;thisEnd>>>=0;if(this===target)return 0;var x=thisEnd-thisStart;var y=end-start;var len=Math.min(x,y);var thisCopy=this.slice(thisStart,thisEnd);var targetCopy=target.slice(start,end);for(var i=0;i2147483647){byteOffset=2147483647}else if(byteOffset<-2147483648){byteOffset=-2147483648}byteOffset=+byteOffset;if(numberIsNaN(byteOffset)){byteOffset=dir?0:buffer.length-1}if(byteOffset<0)byteOffset=buffer.length+byteOffset;if(byteOffset>=buffer.length){if(dir)return-1;else byteOffset=buffer.length-1}else if(byteOffset<0){if(dir)byteOffset=0;else return-1}if(typeof val==="string"){val=Buffer.from(val,encoding)}if(Buffer.isBuffer(val)){if(val.length===0){return-1}return arrayIndexOf(buffer,val,byteOffset,encoding,dir)}else if(typeof val==="number"){val=val&255;if(typeof Uint8Array.prototype.indexOf==="function"){if(dir){return Uint8Array.prototype.indexOf.call(buffer,val,byteOffset)}else{return Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset)}}return arrayIndexOf(buffer,[val],byteOffset,encoding,dir)}throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1;var arrLength=arr.length;var valLength=val.length;if(encoding!==undefined){encoding=String(encoding).toLowerCase();if(encoding==="ucs2"||encoding==="ucs-2"||encoding==="utf16le"||encoding==="utf-16le"){if(arr.length<2||val.length<2){return-1}indexSize=2;arrLength/=2;valLength/=2;byteOffset/=2}}function read(buf,i){if(indexSize===1){return buf[i]}else{return buf.readUInt16BE(i*indexSize)}}var i;if(dir){var foundIndex=-1;for(i=byteOffset;iarrLength)byteOffset=arrLength-valLength;for(i=byteOffset;i>=0;i--){var found=true;for(var j=0;jremaining){length=remaining}}var strLen=string.length;if(length>strLen/2){length=strLen/2}for(var i=0;i>>0;if(isFinite(length)){length=length>>>0;if(encoding===undefined)encoding="utf8"}else{encoding=length;length=undefined}}else{throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported")}var remaining=this.length-offset;if(length===undefined||length>remaining)length=remaining;if(string.length>0&&(length<0||offset<0)||offset>this.length){throw new RangeError("Attempt to write outside buffer bounds")}if(!encoding)encoding="utf8";var loweredCase=false;for(;;){switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":return asciiWrite(this,string,offset,length);case"latin1":case"binary":return latin1Write(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase();loweredCase=true}}};Buffer.prototype.toJSON=function toJSON(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){if(start===0&&end===buf.length){return base64.fromByteArray(buf)}else{return base64.fromByteArray(buf.slice(start,end))}}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);var res=[];var i=start;while(i239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:if(firstByte<128){codePoint=firstByte}break;case 2:secondByte=buf[i+1];if((secondByte&192)===128){tempCodePoint=(firstByte&31)<<6|secondByte&63;if(tempCodePoint>127){codePoint=tempCodePoint}}break;case 3:secondByte=buf[i+1];thirdByte=buf[i+2];if((secondByte&192)===128&&(thirdByte&192)===128){tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63;if(tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)){codePoint=tempCodePoint}}break;case 4:secondByte=buf[i+1];thirdByte=buf[i+2];fourthByte=buf[i+3];if((secondByte&192)===128&&(thirdByte&192)===128&&(fourthByte&192)===128){tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63;if(tempCodePoint>65535&&tempCodePoint<1114112){codePoint=tempCodePoint}}}}if(codePoint===null){codePoint=65533;bytesPerSequence=1}else if(codePoint>65535){codePoint-=65536;res.push(codePoint>>>10&1023|55296);codePoint=56320|codePoint&1023}res.push(codePoint);i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH){return String.fromCharCode.apply(String,codePoints)}var res="";var i=0;while(ilen)end=len;var out="";for(var i=start;ilen){start=len}if(end<0){end+=len;if(end<0)end=0}else if(end>len){end=len}if(endlength)throw new RangeError("Trying to access beyond buffer length")}Buffer.prototype.readUIntLE=function readUIntLE(offset,byteLength,noAssert){offset=offset>>>0;byteLength=byteLength>>>0;if(!noAssert)checkOffset(offset,byteLength,this.length);var val=this[offset];var mul=1;var i=0;while(++i>>0;byteLength=byteLength>>>0;if(!noAssert){checkOffset(offset,byteLength,this.length)}var val=this[offset+--byteLength];var mul=1;while(byteLength>0&&(mul*=256)){val+=this[offset+--byteLength]*mul}return val};Buffer.prototype.readUInt8=function readUInt8(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,1,this.length);return this[offset]};Buffer.prototype.readUInt16LE=function readUInt16LE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,2,this.length);return this[offset]|this[offset+1]<<8};Buffer.prototype.readUInt16BE=function readUInt16BE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,2,this.length);return this[offset]<<8|this[offset+1]};Buffer.prototype.readUInt32LE=function readUInt32LE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,4,this.length);return(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer.prototype.readUInt32BE=function readUInt32BE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,4,this.length);return this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer.prototype.readIntLE=function readIntLE(offset,byteLength,noAssert){offset=offset>>>0;byteLength=byteLength>>>0;if(!noAssert)checkOffset(offset,byteLength,this.length);var val=this[offset];var mul=1;var i=0;while(++i=mul)val-=Math.pow(2,8*byteLength);return val};Buffer.prototype.readIntBE=function readIntBE(offset,byteLength,noAssert){offset=offset>>>0;byteLength=byteLength>>>0;if(!noAssert)checkOffset(offset,byteLength,this.length);var i=byteLength;var mul=1;var val=this[offset+--i];while(i>0&&(mul*=256)){val+=this[offset+--i]*mul}mul*=128;if(val>=mul)val-=Math.pow(2,8*byteLength);return val};Buffer.prototype.readInt8=function readInt8(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,1,this.length);if(!(this[offset]&128))return this[offset];return(255-this[offset]+1)*-1};Buffer.prototype.readInt16LE=function readInt16LE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer.prototype.readInt16BE=function readInt16BE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer.prototype.readInt32LE=function readInt32LE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,4,this.length);return this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer.prototype.readInt32BE=function readInt32BE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,4,this.length);return this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer.prototype.readFloatLE=function readFloatLE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,4,this.length);return ieee754.read(this,offset,true,23,4)};Buffer.prototype.readFloatBE=function readFloatBE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,4,this.length);return ieee754.read(this,offset,false,23,4)};Buffer.prototype.readDoubleLE=function readDoubleLE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,8,this.length);return ieee754.read(this,offset,true,52,8)};Buffer.prototype.readDoubleBE=function readDoubleBE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,8,this.length);return ieee754.read(this,offset,false,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||valuebuf.length)throw new RangeError("Index out of range")}Buffer.prototype.writeUIntLE=function writeUIntLE(value,offset,byteLength,noAssert){value=+value;offset=offset>>>0;byteLength=byteLength>>>0;if(!noAssert){var maxBytes=Math.pow(2,8*byteLength)-1;checkInt(this,value,offset,byteLength,maxBytes,0)}var mul=1;var i=0;this[offset]=value&255;while(++i>>0;byteLength=byteLength>>>0;if(!noAssert){var maxBytes=Math.pow(2,8*byteLength)-1;checkInt(this,value,offset,byteLength,maxBytes,0)}var i=byteLength-1;var mul=1;this[offset+i]=value&255;while(--i>=0&&(mul*=256)){this[offset+i]=value/mul&255}return offset+byteLength};Buffer.prototype.writeUInt8=function writeUInt8(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,1,255,0);this[offset]=value&255;return offset+1};Buffer.prototype.writeUInt16LE=function writeUInt16LE(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,2,65535,0);this[offset]=value&255;this[offset+1]=value>>>8;return offset+2};Buffer.prototype.writeUInt16BE=function writeUInt16BE(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,2,65535,0);this[offset]=value>>>8;this[offset+1]=value&255;return offset+2};Buffer.prototype.writeUInt32LE=function writeUInt32LE(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,4,4294967295,0);this[offset+3]=value>>>24;this[offset+2]=value>>>16;this[offset+1]=value>>>8;this[offset]=value&255;return offset+4};Buffer.prototype.writeUInt32BE=function writeUInt32BE(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,4,4294967295,0);this[offset]=value>>>24;this[offset+1]=value>>>16;this[offset+2]=value>>>8;this[offset+3]=value&255;return offset+4};Buffer.prototype.writeIntLE=function writeIntLE(value,offset,byteLength,noAssert){value=+value;offset=offset>>>0;if(!noAssert){var limit=Math.pow(2,8*byteLength-1);checkInt(this,value,offset,byteLength,limit-1,-limit)}var i=0;var mul=1;var sub=0;this[offset]=value&255;while(++i>0)-sub&255}return offset+byteLength};Buffer.prototype.writeIntBE=function writeIntBE(value,offset,byteLength,noAssert){value=+value;offset=offset>>>0;if(!noAssert){var limit=Math.pow(2,8*byteLength-1);checkInt(this,value,offset,byteLength,limit-1,-limit)}var i=byteLength-1;var mul=1;var sub=0;this[offset+i]=value&255;while(--i>=0&&(mul*=256)){if(value<0&&sub===0&&this[offset+i+1]!==0){sub=1}this[offset+i]=(value/mul>>0)-sub&255}return offset+byteLength};Buffer.prototype.writeInt8=function writeInt8(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,1,127,-128);if(value<0)value=255+value+1;this[offset]=value&255;return offset+1};Buffer.prototype.writeInt16LE=function writeInt16LE(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,2,32767,-32768);this[offset]=value&255;this[offset+1]=value>>>8;return offset+2};Buffer.prototype.writeInt16BE=function writeInt16BE(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,2,32767,-32768);this[offset]=value>>>8;this[offset+1]=value&255;return offset+2};Buffer.prototype.writeInt32LE=function writeInt32LE(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,4,2147483647,-2147483648);this[offset]=value&255;this[offset+1]=value>>>8;this[offset+2]=value>>>16;this[offset+3]=value>>>24;return offset+4};Buffer.prototype.writeInt32BE=function writeInt32BE(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,4,2147483647,-2147483648);if(value<0)value=4294967295+value+1;this[offset]=value>>>24;this[offset+1]=value>>>16;this[offset+2]=value>>>8;this[offset+3]=value&255;return offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){value=+value;offset=offset>>>0;if(!noAssert){checkIEEE754(buf,value,offset,4,3.4028234663852886e38,-3.4028234663852886e38)}ieee754.write(buf,value,offset,littleEndian,23,4);return offset+4}Buffer.prototype.writeFloatLE=function writeFloatLE(value,offset,noAssert){return writeFloat(this,value,offset,true,noAssert)};Buffer.prototype.writeFloatBE=function writeFloatBE(value,offset,noAssert){return writeFloat(this,value,offset,false,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){value=+value;offset=offset>>>0;if(!noAssert){checkIEEE754(buf,value,offset,8,1.7976931348623157e308,-1.7976931348623157e308)}ieee754.write(buf,value,offset,littleEndian,52,8);return offset+8}Buffer.prototype.writeDoubleLE=function writeDoubleLE(value,offset,noAssert){return writeDouble(this,value,offset,true,noAssert)};Buffer.prototype.writeDoubleBE=function writeDoubleBE(value,offset,noAssert){return writeDouble(this,value,offset,false,noAssert)};Buffer.prototype.copy=function copy(target,targetStart,start,end){if(!Buffer.isBuffer(target))throw new TypeError("argument should be a Buffer");if(!start)start=0;if(!end&&end!==0)end=this.length;if(targetStart>=target.length)targetStart=target.length;if(!targetStart)targetStart=0;if(end>0&&end=this.length)throw new RangeError("Index out of range");if(end<0)throw new RangeError("sourceEnd out of bounds");if(end>this.length)end=this.length;if(target.length-targetStart=0;--i){target[i+targetStart]=this[i+start]}}else{Uint8Array.prototype.set.call(target,this.subarray(start,end),targetStart)}return len};Buffer.prototype.fill=function fill(val,start,end,encoding){if(typeof val==="string"){if(typeof start==="string"){encoding=start;start=0;end=this.length}else if(typeof end==="string"){encoding=end;end=this.length}if(encoding!==undefined&&typeof encoding!=="string"){throw new TypeError("encoding must be a string")}if(typeof encoding==="string"&&!Buffer.isEncoding(encoding)){throw new TypeError("Unknown encoding: "+encoding)}if(val.length===1){var code=val.charCodeAt(0);if(encoding==="utf8"&&code<128||encoding==="latin1"){val=code}}}else if(typeof val==="number"){val=val&255}if(start<0||this.length>>0;end=end===undefined?this.length:end>>>0;if(!val)val=0;var i;if(typeof val==="number"){for(i=start;i55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){if((units-=3)>-1)bytes.push(239,191,189);continue}else if(i+1===length){if((units-=3)>-1)bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){if((units-=3)>-1)bytes.push(239,191,189);leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else if(leadSurrogate){if((units-=3)>-1)bytes.push(239,191,189)}leadSurrogate=null;if(codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<1114112){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else{throw new Error("Invalid code point")}}return bytes}function asciiToBytes(str){var byteArray=[];for(var i=0;i>8;lo=c%256;byteArray.push(lo);byteArray.push(hi)}return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i=dst.length||i>=src.length)break;dst[i+offset]=src[i]}return i}function isInstance(obj,type){return obj instanceof type||obj!=null&&obj.constructor!=null&&obj.constructor.name!=null&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!==obj}}).call(this)}).call(this,require("buffer").Buffer)},{"base64-js":148,buffer:150,ieee754:157}],151:[function(require,module,exports){module.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],152:[function(require,module,exports){(function(process,global){(function(){"use strict";var next=global.process&&process.nextTick||global.setImmediate||function(f){setTimeout(f,0)};module.exports=function maybe(cb,promise){if(cb){promise.then(function(result){next(function(){cb(null,result)})},function(err){next(function(){cb(err)})});return undefined}else{return promise}}}).call(this)}).call(this,require("_process"),typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{_process:194}],153:[function(require,module,exports){var objectCreate=Object.create||objectCreatePolyfill;var objectKeys=Object.keys||objectKeysPolyfill;var bind=Function.prototype.bind||functionBindPolyfill;function EventEmitter(){if(!this._events||!Object.prototype.hasOwnProperty.call(this,"_events")){this._events=objectCreate(null);this._eventsCount=0}this._maxListeners=this._maxListeners||undefined}module.exports=EventEmitter;EventEmitter.EventEmitter=EventEmitter;EventEmitter.prototype._events=undefined;EventEmitter.prototype._maxListeners=undefined;var defaultMaxListeners=10;var hasDefineProperty;try{var o={};if(Object.defineProperty)Object.defineProperty(o,"x",{value:0});hasDefineProperty=o.x===0}catch(err){hasDefineProperty=false}if(hasDefineProperty){Object.defineProperty(EventEmitter,"defaultMaxListeners",{enumerable:true,get:function(){return defaultMaxListeners},set:function(arg){if(typeof arg!=="number"||arg<0||arg!==arg)throw new TypeError('"defaultMaxListeners" must be a positive number');defaultMaxListeners=arg}})}else{EventEmitter.defaultMaxListeners=defaultMaxListeners}EventEmitter.prototype.setMaxListeners=function setMaxListeners(n){if(typeof n!=="number"||n<0||isNaN(n))throw new TypeError('"n" argument must be a positive number');this._maxListeners=n;return this};function $getMaxListeners(that){if(that._maxListeners===undefined)return EventEmitter.defaultMaxListeners;return that._maxListeners}EventEmitter.prototype.getMaxListeners=function getMaxListeners(){return $getMaxListeners(this)};function emitNone(handler,isFn,self){if(isFn)handler.call(self);else{var len=handler.length;var listeners=arrayClone(handler,len);for(var i=0;i1)er=arguments[1];if(er instanceof Error){throw er}else{var err=new Error('Unhandled "error" event. ('+er+")");err.context=er;throw err}return false}handler=events[type];if(!handler)return false;var isFn=typeof handler==="function";len=arguments.length;switch(len){case 1:emitNone(handler,isFn,this);break;case 2:emitOne(handler,isFn,this,arguments[1]);break;case 3:emitTwo(handler,isFn,this,arguments[1],arguments[2]);break;case 4:emitThree(handler,isFn,this,arguments[1],arguments[2],arguments[3]);break;default:args=new Array(len-1);for(i=1;i0&&existing.length>m){existing.warned=true;var w=new Error("Possible EventEmitter memory leak detected. "+existing.length+' "'+String(type)+'" listeners '+"added. Use emitter.setMaxListeners() to "+"increase limit.");w.name="MaxListenersExceededWarning";w.emitter=target;w.type=type;w.count=existing.length;if(typeof console==="object"&&console.warn){console.warn("%s: %s",w.name,w.message)}}}}return target}EventEmitter.prototype.addListener=function addListener(type,listener){return _addListener(this,type,listener,false)};EventEmitter.prototype.on=EventEmitter.prototype.addListener;EventEmitter.prototype.prependListener=function prependListener(type,listener){return _addListener(this,type,listener,true)};function onceWrapper(){if(!this.fired){this.target.removeListener(this.type,this.wrapFn);this.fired=true;switch(arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:var args=new Array(arguments.length);for(var i=0;i=0;i--){if(list[i]===listener||list[i].listener===listener){originalListener=list[i].listener;position=i;break}}if(position<0)return this;if(position===0)list.shift();else spliceOne(list,position);if(list.length===1)events[type]=list[0];if(events.removeListener)this.emit("removeListener",type,originalListener||listener)}return this};EventEmitter.prototype.removeAllListeners=function removeAllListeners(type){var listeners,events,i;events=this._events;if(!events)return this;if(!events.removeListener){if(arguments.length===0){this._events=objectCreate(null);this._eventsCount=0}else if(events[type]){if(--this._eventsCount===0)this._events=objectCreate(null);else delete events[type]}return this}if(arguments.length===0){var keys=objectKeys(events);var key;for(i=0;i=0;i--){this.removeListener(type,listeners[i])}}return this};function _listeners(target,type,unwrap){var events=target._events;if(!events)return[];var evlistener=events[type];if(!evlistener)return[];if(typeof evlistener==="function")return unwrap?[evlistener.listener||evlistener]:[evlistener];return unwrap?unwrapListeners(evlistener):arrayClone(evlistener,evlistener.length)}EventEmitter.prototype.listeners=function listeners(type){return _listeners(this,type,true)};EventEmitter.prototype.rawListeners=function rawListeners(type){return _listeners(this,type,false)};EventEmitter.listenerCount=function(emitter,type){if(typeof emitter.listenerCount==="function"){return emitter.listenerCount(type)}else{return listenerCount.call(emitter,type)}};EventEmitter.prototype.listenerCount=listenerCount;function listenerCount(type){var events=this._events;if(events){var evlistener=events[type];if(typeof evlistener==="function"){return 1}else if(evlistener){return evlistener.length}}return 0}EventEmitter.prototype.eventNames=function eventNames(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};function spliceOne(list,index){for(var i=index,k=i+1,n=list.length;k>1;var nBits=-7;var i=isLE?nBytes-1:0;var d=isLE?-1:1;var s=buffer[offset+i];i+=d;e=s&(1<<-nBits)-1;s>>=-nBits;nBits+=eLen;for(;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8){}m=e&(1<<-nBits)-1;e>>=-nBits;nBits+=mLen;for(;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8){}if(e===0){e=1-eBias}else if(e===eMax){return m?NaN:(s?-1:1)*Infinity}else{m=m+Math.pow(2,mLen);e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c;var eLen=nBytes*8-mLen-1;var eMax=(1<>1;var rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0;var i=isLE?0:nBytes-1;var d=isLE?1:-1;var s=value<0||value===0&&1/value<0?1:0;value=Math.abs(value);if(isNaN(value)||value===Infinity){m=isNaN(value)?1:0;e=eMax}else{e=Math.floor(Math.log(value)/Math.LN2);if(value*(c=Math.pow(2,-e))<1){e--;c*=2}if(e+eBias>=1){value+=rt/c}else{value+=rt*Math.pow(2,1-eBias)}if(value*c>=2){e++;c/=2}if(e+eBias>=eMax){m=0;e=eMax}else if(e+eBias>=1){m=(value*c-1)*Math.pow(2,mLen);e=e+eBias}else{m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen);e=0}}for(;mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8){}e=e<0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8){}buffer[offset+i-d]|=s*128}},{}],158:[function(require,module,exports){if(typeof Object.create==="function"){module.exports=function inherits(ctor,superCtor){if(superCtor){ctor.super_=superCtor;ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:false,writable:true,configurable:true}})}}}else{module.exports=function inherits(ctor,superCtor){if(superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype;ctor.prototype=new TempCtor;ctor.prototype.constructor=ctor}}}},{}],159:[function(require,module,exports){module.exports=function(obj){return obj!=null&&(isBuffer(obj)||isSlowBuffer(obj)||!!obj._isBuffer)};function isBuffer(obj){return!!obj.constructor&&typeof obj.constructor.isBuffer==="function"&&obj.constructor.isBuffer(obj)}function isSlowBuffer(obj){return typeof obj.readFloatLE==="function"&&typeof obj.slice==="function"&&isBuffer(obj.slice(0,0))}},{}],160:[function(require,module,exports){"use strict";var yaml=require("./lib/js-yaml.js");module.exports=yaml},{"./lib/js-yaml.js":161}],161:[function(require,module,exports){"use strict";var loader=require("./js-yaml/loader");var dumper=require("./js-yaml/dumper");function deprecated(name){return function(){throw new Error("Function "+name+" is deprecated and cannot be used.")}}module.exports.Type=require("./js-yaml/type");module.exports.Schema=require("./js-yaml/schema");module.exports.FAILSAFE_SCHEMA=require("./js-yaml/schema/failsafe");module.exports.JSON_SCHEMA=require("./js-yaml/schema/json");module.exports.CORE_SCHEMA=require("./js-yaml/schema/core");module.exports.DEFAULT_SAFE_SCHEMA=require("./js-yaml/schema/default_safe");module.exports.DEFAULT_FULL_SCHEMA=require("./js-yaml/schema/default_full");module.exports.load=loader.load;module.exports.loadAll=loader.loadAll;module.exports.safeLoad=loader.safeLoad;module.exports.safeLoadAll=loader.safeLoadAll;module.exports.dump=dumper.dump;module.exports.safeDump=dumper.safeDump;module.exports.YAMLException=require("./js-yaml/exception");module.exports.MINIMAL_SCHEMA=require("./js-yaml/schema/failsafe");module.exports.SAFE_SCHEMA=require("./js-yaml/schema/default_safe");module.exports.DEFAULT_SCHEMA=require("./js-yaml/schema/default_full");module.exports.scan=deprecated("scan");module.exports.parse=deprecated("parse");module.exports.compose=deprecated("compose");module.exports.addConstructor=deprecated("addConstructor")},{"./js-yaml/dumper":163,"./js-yaml/exception":164,"./js-yaml/loader":165,"./js-yaml/schema":167,"./js-yaml/schema/core":168,"./js-yaml/schema/default_full":169,"./js-yaml/schema/default_safe":170,"./js-yaml/schema/failsafe":171,"./js-yaml/schema/json":172,"./js-yaml/type":173}],162:[function(require,module,exports){arguments[4][64][0].apply(exports,arguments)},{dup:64}],163:[function(require,module,exports){"use strict";var common=require("./common");var YAMLException=require("./exception");var DEFAULT_FULL_SCHEMA=require("./schema/default_full");var DEFAULT_SAFE_SCHEMA=require("./schema/default_safe");var _toString=Object.prototype.toString;var _hasOwnProperty=Object.prototype.hasOwnProperty;var CHAR_TAB=9;var CHAR_LINE_FEED=10;var CHAR_CARRIAGE_RETURN=13;var CHAR_SPACE=32;var CHAR_EXCLAMATION=33;var CHAR_DOUBLE_QUOTE=34;var CHAR_SHARP=35;var CHAR_PERCENT=37;var CHAR_AMPERSAND=38;var CHAR_SINGLE_QUOTE=39;var CHAR_ASTERISK=42;var CHAR_COMMA=44;var CHAR_MINUS=45;var CHAR_COLON=58;var CHAR_EQUALS=61;var CHAR_GREATER_THAN=62;var CHAR_QUESTION=63;var CHAR_COMMERCIAL_AT=64;var CHAR_LEFT_SQUARE_BRACKET=91;var CHAR_RIGHT_SQUARE_BRACKET=93;var CHAR_GRAVE_ACCENT=96;var CHAR_LEFT_CURLY_BRACKET=123;var CHAR_VERTICAL_LINE=124;var CHAR_RIGHT_CURLY_BRACKET=125;var ESCAPE_SEQUENCES={};ESCAPE_SEQUENCES[0]="\\0";ESCAPE_SEQUENCES[7]="\\a";ESCAPE_SEQUENCES[8]="\\b";ESCAPE_SEQUENCES[9]="\\t";ESCAPE_SEQUENCES[10]="\\n";ESCAPE_SEQUENCES[11]="\\v";ESCAPE_SEQUENCES[12]="\\f";ESCAPE_SEQUENCES[13]="\\r";ESCAPE_SEQUENCES[27]="\\e";ESCAPE_SEQUENCES[34]='\\"';ESCAPE_SEQUENCES[92]="\\\\";ESCAPE_SEQUENCES[133]="\\N";ESCAPE_SEQUENCES[160]="\\_";ESCAPE_SEQUENCES[8232]="\\L";ESCAPE_SEQUENCES[8233]="\\P";var DEPRECATED_BOOLEANS_SYNTAX=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function compileStyleMap(schema,map){var result,keys,index,length,tag,style,type;if(map===null)return{};result={};keys=Object.keys(map);for(index=0,length=keys.length;index0?string.charCodeAt(i-1):null;plain=plain&&isPlainSafe(char,prev_char)}}else{for(i=0;ilineWidth&&string[previousLineBreak+1]!==" ";previousLineBreak=i}}else if(!isPrintable(char)){return STYLE_DOUBLE}prev_char=i>0?string.charCodeAt(i-1):null;plain=plain&&isPlainSafe(char,prev_char)}hasFoldableLine=hasFoldableLine||shouldTrackWidth&&(i-previousLineBreak-1>lineWidth&&string[previousLineBreak+1]!==" ")}if(!hasLineBreak&&!hasFoldableLine){return plain&&!testAmbiguousType(string)?STYLE_PLAIN:STYLE_SINGLE}if(indentPerLevel>9&&needIndentIndicator(string)){return STYLE_DOUBLE}return hasFoldableLine?STYLE_FOLDED:STYLE_LITERAL}function writeScalar(state,string,level,iskey){state.dump=function(){if(string.length===0){return"''"}if(!state.noCompatMode&&DEPRECATED_BOOLEANS_SYNTAX.indexOf(string)!==-1){return"'"+string+"'"}var indent=state.indent*Math.max(1,level);var lineWidth=state.lineWidth===-1?-1:Math.max(Math.min(state.lineWidth,40),state.lineWidth-indent);var singleLineOnly=iskey||state.flowLevel>-1&&level>=state.flowLevel;function testAmbiguity(string){return testImplicitResolving(state,string)}switch(chooseScalarStyle(string,singleLineOnly,state.indent,lineWidth,testAmbiguity)){case STYLE_PLAIN:return string;case STYLE_SINGLE:return"'"+string.replace(/'/g,"''")+"'";case STYLE_LITERAL:return"|"+blockHeader(string,state.indent)+dropEndingNewline(indentString(string,indent));case STYLE_FOLDED:return">"+blockHeader(string,state.indent)+dropEndingNewline(indentString(foldString(string,lineWidth),indent));case STYLE_DOUBLE:return'"'+escapeString(string,lineWidth)+'"';default:throw new YAMLException("impossible error: invalid scalar style")}}()}function blockHeader(string,indentPerLevel){var indentIndicator=needIndentIndicator(string)?String(indentPerLevel):"";var clip=string[string.length-1]==="\n";var keep=clip&&(string[string.length-2]==="\n"||string==="\n");var chomp=keep?"+":clip?"":"-";return indentIndicator+chomp+"\n"}function dropEndingNewline(string){return string[string.length-1]==="\n"?string.slice(0,-1):string}function foldString(string,width){var lineRe=/(\n+)([^\n]*)/g;var result=function(){var nextLF=string.indexOf("\n");nextLF=nextLF!==-1?nextLF:string.length;lineRe.lastIndex=nextLF;return foldLine(string.slice(0,nextLF),width)}();var prevMoreIndented=string[0]==="\n"||string[0]===" ";var moreIndented;var match;while(match=lineRe.exec(string)){var prefix=match[1],line=match[2];moreIndented=line[0]===" ";result+=prefix+(!prevMoreIndented&&!moreIndented&&line!==""?"\n":"")+foldLine(line,width);prevMoreIndented=moreIndented}return result}function foldLine(line,width){if(line===""||line[0]===" ")return line;var breakRe=/ [^ ]/g;var match;var start=0,end,curr=0,next=0;var result="";while(match=breakRe.exec(line)){next=match.index;if(next-start>width){end=curr>start?curr:next;result+="\n"+line.slice(start,end);start=end+1}curr=next}result+="\n";if(line.length-start>width&&curr>start){result+=line.slice(start,curr)+"\n"+line.slice(curr+1)}else{result+=line.slice(start)}return result.slice(1)}function escapeString(string){var result="";var char,nextChar;var escapeSeq;for(var i=0;i=55296&&char<=56319){nextChar=string.charCodeAt(i+1);if(nextChar>=56320&&nextChar<=57343){result+=encodeHex((char-55296)*1024+nextChar-56320+65536);i++;continue}}escapeSeq=ESCAPE_SEQUENCES[char];result+=!escapeSeq&&isPrintable(char)?string[i]:escapeSeq||encodeHex(char)}return result}function writeFlowSequence(state,level,object){var _result="",_tag=state.tag,index,length;for(index=0,length=object.length;index1024)pairBuffer+="? ";pairBuffer+=state.dump+(state.condenseFlow?'"':"")+":"+(state.condenseFlow?"":" ");if(!writeNode(state,level,objectValue,false,false)){continue}pairBuffer+=state.dump;_result+=pairBuffer}state.tag=_tag;state.dump="{"+_result+"}"}function writeBlockMapping(state,level,object,compact){var _result="",_tag=state.tag,objectKeyList=Object.keys(object),index,length,objectKey,objectValue,explicitPair,pairBuffer;if(state.sortKeys===true){objectKeyList.sort()}else if(typeof state.sortKeys==="function"){objectKeyList.sort(state.sortKeys)}else if(state.sortKeys){throw new YAMLException("sortKeys must be a boolean or a function")}for(index=0,length=objectKeyList.length;index1024;if(explicitPair){if(state.dump&&CHAR_LINE_FEED===state.dump.charCodeAt(0)){pairBuffer+="?"}else{pairBuffer+="? "}}pairBuffer+=state.dump;if(explicitPair){pairBuffer+=generateNextLine(state,level)}if(!writeNode(state,level+1,objectValue,true,explicitPair)){continue}if(state.dump&&CHAR_LINE_FEED===state.dump.charCodeAt(0)){pairBuffer+=":"}else{pairBuffer+=": "}pairBuffer+=state.dump;_result+=pairBuffer}state.tag=_tag;state.dump=_result||"{}"}function detectType(state,object,explicit){var _result,typeList,index,length,type,style;typeList=explicit?state.explicitTypes:state.implicitTypes;for(index=0,length=typeList.length;index tag resolver accepts not "'+style+'" style')}state.dump=_result}return true}}return false}function writeNode(state,level,object,block,compact,iskey){state.tag=null;state.dump=object;if(!detectType(state,object,false)){detectType(state,object,true)}var type=_toString.call(state.dump);if(block){block=state.flowLevel<0||state.flowLevel>level}var objectOrArray=type==="[object Object]"||type==="[object Array]",duplicateIndex,duplicate;if(objectOrArray){duplicateIndex=state.duplicates.indexOf(object);duplicate=duplicateIndex!==-1}if(state.tag!==null&&state.tag!=="?"||duplicate||state.indent!==2&&level>0){compact=false}if(duplicate&&state.usedDuplicates[duplicateIndex]){state.dump="*ref_"+duplicateIndex}else{if(objectOrArray&&duplicate&&!state.usedDuplicates[duplicateIndex]){state.usedDuplicates[duplicateIndex]=true}if(type==="[object Object]"){if(block&&Object.keys(state.dump).length!==0){writeBlockMapping(state,level,state.dump,compact);if(duplicate){state.dump="&ref_"+duplicateIndex+state.dump}}else{writeFlowMapping(state,level,state.dump);if(duplicate){state.dump="&ref_"+duplicateIndex+" "+state.dump}}}else if(type==="[object Array]"){var arrayLevel=state.noArrayIndent&&level>0?level-1:level;if(block&&state.dump.length!==0){writeBlockSequence(state,arrayLevel,state.dump,compact);if(duplicate){state.dump="&ref_"+duplicateIndex+state.dump}}else{writeFlowSequence(state,arrayLevel,state.dump);if(duplicate){state.dump="&ref_"+duplicateIndex+" "+state.dump}}}else if(type==="[object String]"){if(state.tag!=="?"){writeScalar(state,state.dump,level,iskey)}}else{if(state.skipInvalid)return false;throw new YAMLException("unacceptable kind of an object to dump "+type)}if(state.tag!==null&&state.tag!=="?"){state.dump="!<"+state.tag+"> "+state.dump}}return true}function getDuplicateReferences(object,state){var objects=[],duplicatesIndexes=[],index,length;inspectNode(object,objects,duplicatesIndexes);for(index=0,length=duplicatesIndexes.length;index>10)+55296,(c-65536&1023)+56320)}var simpleEscapeCheck=new Array(256);var simpleEscapeMap=new Array(256);for(var i=0;i<256;i++){simpleEscapeCheck[i]=simpleEscapeSequence(i)?1:0;simpleEscapeMap[i]=simpleEscapeSequence(i)}function State(input,options){this.input=input;this.filename=options["filename"]||null;this.schema=options["schema"]||DEFAULT_FULL_SCHEMA;this.onWarning=options["onWarning"]||null;this.legacy=options["legacy"]||false;this.json=options["json"]||false;this.listener=options["listener"]||null;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=input.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.documents=[]}function generateError(state,message){return new YAMLException(message,new Mark(state.filename,state.input,state.position,state.line,state.position-state.lineStart))}function throwError(state,message){throw generateError(state,message)}function throwWarning(state,message){if(state.onWarning){state.onWarning.call(null,generateError(state,message))}}var directiveHandlers={YAML:function handleYamlDirective(state,name,args){var match,major,minor;if(state.version!==null){throwError(state,"duplication of %YAML directive")}if(args.length!==1){throwError(state,"YAML directive accepts exactly one argument")}match=/^([0-9]+)\.([0-9]+)$/.exec(args[0]);if(match===null){throwError(state,"ill-formed argument of the YAML directive")}major=parseInt(match[1],10);minor=parseInt(match[2],10);if(major!==1){throwError(state,"unacceptable YAML version of the document")}state.version=args[0];state.checkLineBreaks=minor<2;if(minor!==1&&minor!==2){throwWarning(state,"unsupported YAML version of the document")}},TAG:function handleTagDirective(state,name,args){var handle,prefix;if(args.length!==2){throwError(state,"TAG directive accepts exactly two arguments")}handle=args[0];prefix=args[1];if(!PATTERN_TAG_HANDLE.test(handle)){throwError(state,"ill-formed tag handle (first argument) of the TAG directive")}if(_hasOwnProperty.call(state.tagMap,handle)){throwError(state,'there is a previously declared suffix for "'+handle+'" tag handle')}if(!PATTERN_TAG_URI.test(prefix)){throwError(state,"ill-formed tag prefix (second argument) of the TAG directive")}state.tagMap[handle]=prefix}};function captureSegment(state,start,end,checkJson){var _position,_length,_character,_result;if(start1){state.result+=common.repeat("\n",count-1)}}function readPlainScalar(state,nodeIndent,withinFlowCollection){var preceding,following,captureStart,captureEnd,hasPendingContent,_line,_lineStart,_lineIndent,_kind=state.kind,_result=state.result,ch;ch=state.input.charCodeAt(state.position);if(is_WS_OR_EOL(ch)||is_FLOW_INDICATOR(ch)||ch===35||ch===38||ch===42||ch===33||ch===124||ch===62||ch===39||ch===34||ch===37||ch===64||ch===96){return false}if(ch===63||ch===45){following=state.input.charCodeAt(state.position+1);if(is_WS_OR_EOL(following)||withinFlowCollection&&is_FLOW_INDICATOR(following)){return false}}state.kind="scalar";state.result="";captureStart=captureEnd=state.position;hasPendingContent=false;while(ch!==0){if(ch===58){following=state.input.charCodeAt(state.position+1);if(is_WS_OR_EOL(following)||withinFlowCollection&&is_FLOW_INDICATOR(following)){break}}else if(ch===35){preceding=state.input.charCodeAt(state.position-1);if(is_WS_OR_EOL(preceding)){break}}else if(state.position===state.lineStart&&testDocumentSeparator(state)||withinFlowCollection&&is_FLOW_INDICATOR(ch)){break}else if(is_EOL(ch)){_line=state.line;_lineStart=state.lineStart;_lineIndent=state.lineIndent;skipSeparationSpace(state,false,-1);if(state.lineIndent>=nodeIndent){hasPendingContent=true;ch=state.input.charCodeAt(state.position);continue}else{state.position=captureEnd;state.line=_line;state.lineStart=_lineStart;state.lineIndent=_lineIndent;break}}if(hasPendingContent){captureSegment(state,captureStart,captureEnd,false);writeFoldedLines(state,state.line-_line);captureStart=captureEnd=state.position;hasPendingContent=false}if(!is_WHITE_SPACE(ch)){captureEnd=state.position+1}ch=state.input.charCodeAt(++state.position)}captureSegment(state,captureStart,captureEnd,false);if(state.result){return true}state.kind=_kind;state.result=_result;return false}function readSingleQuotedScalar(state,nodeIndent){var ch,captureStart,captureEnd;ch=state.input.charCodeAt(state.position);if(ch!==39){return false}state.kind="scalar";state.result="";state.position++;captureStart=captureEnd=state.position;while((ch=state.input.charCodeAt(state.position))!==0){if(ch===39){captureSegment(state,captureStart,state.position,true);ch=state.input.charCodeAt(++state.position);if(ch===39){captureStart=state.position;state.position++;captureEnd=state.position}else{return true}}else if(is_EOL(ch)){captureSegment(state,captureStart,captureEnd,true);writeFoldedLines(state,skipSeparationSpace(state,false,nodeIndent));captureStart=captureEnd=state.position}else if(state.position===state.lineStart&&testDocumentSeparator(state)){throwError(state,"unexpected end of the document within a single quoted scalar")}else{state.position++;captureEnd=state.position}}throwError(state,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(state,nodeIndent){var captureStart,captureEnd,hexLength,hexResult,tmp,ch;ch=state.input.charCodeAt(state.position);if(ch!==34){return false}state.kind="scalar";state.result="";state.position++;captureStart=captureEnd=state.position;while((ch=state.input.charCodeAt(state.position))!==0){if(ch===34){captureSegment(state,captureStart,state.position,true);state.position++;return true}else if(ch===92){captureSegment(state,captureStart,state.position,true);ch=state.input.charCodeAt(++state.position);if(is_EOL(ch)){skipSeparationSpace(state,false,nodeIndent)}else if(ch<256&&simpleEscapeCheck[ch]){state.result+=simpleEscapeMap[ch];state.position++}else if((tmp=escapedHexLen(ch))>0){hexLength=tmp;hexResult=0;for(;hexLength>0;hexLength--){ch=state.input.charCodeAt(++state.position);if((tmp=fromHexCode(ch))>=0){hexResult=(hexResult<<4)+tmp}else{throwError(state,"expected hexadecimal character")}}state.result+=charFromCodepoint(hexResult);state.position++}else{throwError(state,"unknown escape sequence")}captureStart=captureEnd=state.position}else if(is_EOL(ch)){captureSegment(state,captureStart,captureEnd,true);writeFoldedLines(state,skipSeparationSpace(state,false,nodeIndent));captureStart=captureEnd=state.position}else if(state.position===state.lineStart&&testDocumentSeparator(state)){throwError(state,"unexpected end of the document within a double quoted scalar")}else{state.position++;captureEnd=state.position}}throwError(state,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(state,nodeIndent){var readNext=true,_line,_tag=state.tag,_result,_anchor=state.anchor,following,terminator,isPair,isExplicitPair,isMapping,overridableKeys={},keyNode,keyTag,valueNode,ch;ch=state.input.charCodeAt(state.position);if(ch===91){terminator=93;isMapping=false;_result=[]}else if(ch===123){terminator=125;isMapping=true;_result={}}else{return false}if(state.anchor!==null){state.anchorMap[state.anchor]=_result}ch=state.input.charCodeAt(++state.position);while(ch!==0){skipSeparationSpace(state,true,nodeIndent);ch=state.input.charCodeAt(state.position);if(ch===terminator){state.position++;state.tag=_tag;state.anchor=_anchor;state.kind=isMapping?"mapping":"sequence";state.result=_result;return true}else if(!readNext){throwError(state,"missed comma between flow collection entries")}keyTag=keyNode=valueNode=null;isPair=isExplicitPair=false;if(ch===63){following=state.input.charCodeAt(state.position+1);if(is_WS_OR_EOL(following)){isPair=isExplicitPair=true;state.position++;skipSeparationSpace(state,true,nodeIndent)}}_line=state.line;composeNode(state,nodeIndent,CONTEXT_FLOW_IN,false,true);keyTag=state.tag;keyNode=state.result;skipSeparationSpace(state,true,nodeIndent);ch=state.input.charCodeAt(state.position);if((isExplicitPair||state.line===_line)&&ch===58){isPair=true;ch=state.input.charCodeAt(++state.position);skipSeparationSpace(state,true,nodeIndent);composeNode(state,nodeIndent,CONTEXT_FLOW_IN,false,true);valueNode=state.result}if(isMapping){storeMappingPair(state,_result,overridableKeys,keyTag,keyNode,valueNode)}else if(isPair){_result.push(storeMappingPair(state,null,overridableKeys,keyTag,keyNode,valueNode))}else{_result.push(keyNode)}skipSeparationSpace(state,true,nodeIndent);ch=state.input.charCodeAt(state.position);if(ch===44){readNext=true;ch=state.input.charCodeAt(++state.position)}else{readNext=false}}throwError(state,"unexpected end of the stream within a flow collection")}function readBlockScalar(state,nodeIndent){var captureStart,folding,chomping=CHOMPING_CLIP,didReadContent=false,detectedIndent=false,textIndent=nodeIndent,emptyLines=0,atMoreIndented=false,tmp,ch;ch=state.input.charCodeAt(state.position);if(ch===124){folding=false}else if(ch===62){folding=true}else{return false}state.kind="scalar";state.result="";while(ch!==0){ch=state.input.charCodeAt(++state.position);if(ch===43||ch===45){if(CHOMPING_CLIP===chomping){chomping=ch===43?CHOMPING_KEEP:CHOMPING_STRIP}else{throwError(state,"repeat of a chomping mode identifier")}}else if((tmp=fromDecimalCode(ch))>=0){if(tmp===0){throwError(state,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!detectedIndent){textIndent=nodeIndent+tmp-1;detectedIndent=true}else{throwError(state,"repeat of an indentation width identifier")}}else{break}}if(is_WHITE_SPACE(ch)){do{ch=state.input.charCodeAt(++state.position)}while(is_WHITE_SPACE(ch));if(ch===35){do{ch=state.input.charCodeAt(++state.position)}while(!is_EOL(ch)&&ch!==0)}}while(ch!==0){readLineBreak(state);state.lineIndent=0;ch=state.input.charCodeAt(state.position);while((!detectedIndent||state.lineIndenttextIndent){textIndent=state.lineIndent}if(is_EOL(ch)){emptyLines++;continue}if(state.lineIndentnodeIndent)&&ch!==0){throwError(state,"bad indentation of a sequence entry")}else if(state.lineIndentnodeIndent){if(composeNode(state,nodeIndent,CONTEXT_BLOCK_OUT,true,allowCompact)){if(atExplicitKey){keyNode=state.result}else{valueNode=state.result}}if(!atExplicitKey){storeMappingPair(state,_result,overridableKeys,keyTag,keyNode,valueNode,_line,_pos);keyTag=keyNode=valueNode=null}skipSeparationSpace(state,true,-1);ch=state.input.charCodeAt(state.position)}if(state.lineIndent>nodeIndent&&ch!==0){throwError(state,"bad indentation of a mapping entry")}else if(state.lineIndentparentIndent){indentStatus=1}else if(state.lineIndent===parentIndent){indentStatus=0}else if(state.lineIndentparentIndent){indentStatus=1}else if(state.lineIndent===parentIndent){indentStatus=0}else if(state.lineIndent tag; it should be "scalar", not "'+state.kind+'"')}for(typeIndex=0,typeQuantity=state.implicitTypes.length;typeIndex tag; it should be "'+type.kind+'", not "'+state.kind+'"')}if(!type.resolve(state.result)){throwError(state,"cannot resolve a node with !<"+state.tag+"> explicit tag")}else{state.result=type.construct(state.result);if(state.anchor!==null){state.anchorMap[state.anchor]=state.result}}}else{throwError(state,"unknown tag !<"+state.tag+">")}}if(state.listener!==null){state.listener("close",state)}return state.tag!==null||state.anchor!==null||hasContent}function readDocument(state){var documentStart=state.position,_position,directiveName,directiveArgs,hasDirectives=false,ch;state.version=null;state.checkLineBreaks=state.legacy;state.tagMap={};state.anchorMap={};while((ch=state.input.charCodeAt(state.position))!==0){skipSeparationSpace(state,true,-1);ch=state.input.charCodeAt(state.position);if(state.lineIndent>0||ch!==37){break}hasDirectives=true;ch=state.input.charCodeAt(++state.position);_position=state.position;while(ch!==0&&!is_WS_OR_EOL(ch)){ch=state.input.charCodeAt(++state.position)}directiveName=state.input.slice(_position,state.position);directiveArgs=[];if(directiveName.length<1){throwError(state,"directive name must not be less than one character in length")}while(ch!==0){while(is_WHITE_SPACE(ch)){ch=state.input.charCodeAt(++state.position)}if(ch===35){do{ch=state.input.charCodeAt(++state.position)}while(ch!==0&&!is_EOL(ch));break}if(is_EOL(ch))break;_position=state.position;while(ch!==0&&!is_WS_OR_EOL(ch)){ch=state.input.charCodeAt(++state.position)}directiveArgs.push(state.input.slice(_position,state.position))}if(ch!==0)readLineBreak(state);if(_hasOwnProperty.call(directiveHandlers,directiveName)){directiveHandlers[directiveName](state,directiveName,directiveArgs)}else{throwWarning(state,'unknown document directive "'+directiveName+'"')}}skipSeparationSpace(state,true,-1);if(state.lineIndent===0&&state.input.charCodeAt(state.position)===45&&state.input.charCodeAt(state.position+1)===45&&state.input.charCodeAt(state.position+2)===45){state.position+=3;skipSeparationSpace(state,true,-1)}else if(hasDirectives){throwError(state,"directives end mark is expected")}composeNode(state,state.lineIndent-1,CONTEXT_BLOCK_OUT,false,true);skipSeparationSpace(state,true,-1);if(state.checkLineBreaks&&PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart,state.position))){throwWarning(state,"non-ASCII line breaks are interpreted as content")}state.documents.push(state.result);if(state.position===state.lineStart&&testDocumentSeparator(state)){if(state.input.charCodeAt(state.position)===46){state.position+=3;skipSeparationSpace(state,true,-1)}return}if(state.position0&&"\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(start-1))===-1){start-=1;if(this.position-start>maxLength/2-1){head=" ... ";start+=5;break}}tail="";end=this.position;while(endmaxLength/2-1){tail=" ... ";end-=5;break}}snippet=this.buffer.slice(start,end);return common.repeat(" ",indent)+head+snippet+tail+"\n"+common.repeat(" ",indent+this.position-start+head.length)+"^"};Mark.prototype.toString=function toString(compact){var snippet,where="";if(this.name){where+='in "'+this.name+'" '}where+="at line "+(this.line+1)+", column "+(this.column+1);if(!compact){snippet=this.getSnippet();if(snippet){where+=":\n"+snippet}}return where};module.exports=Mark},{"./common":162}],167:[function(require,module,exports){"use strict";var common=require("./common");var YAMLException=require("./exception");var Type=require("./type");function compileList(schema,name,result){var exclude=[];schema.include.forEach(function(includedSchema){result=compileList(includedSchema,name,result)});schema[name].forEach(function(currentType){result.forEach(function(previousType,previousIndex){if(previousType.tag===currentType.tag&&previousType.kind===currentType.kind){exclude.push(previousIndex)}});result.push(currentType)});return result.filter(function(type,index){return exclude.indexOf(index)===-1})}function compileMap(){var result={scalar:{},sequence:{},mapping:{},fallback:{}},index,length;function collectType(type){result[type.kind][type.tag]=result["fallback"][type.tag]=type}for(index=0,length=arguments.length;index64)continue;if(code<0)return false;bitlen+=6}return bitlen%8===0}function constructYamlBinary(data){var idx,tailbits,input=data.replace(/[\r\n=]/g,""),max=input.length,map=BASE64_MAP,bits=0,result=[];for(idx=0;idx>16&255);result.push(bits>>8&255);result.push(bits&255)}bits=bits<<6|map.indexOf(input.charAt(idx))}tailbits=max%4*6;if(tailbits===0){result.push(bits>>16&255);result.push(bits>>8&255);result.push(bits&255)}else if(tailbits===18){result.push(bits>>10&255);result.push(bits>>2&255)}else if(tailbits===12){result.push(bits>>4&255)}if(NodeBuffer){return NodeBuffer.from?NodeBuffer.from(result):new NodeBuffer(result)}return result}function representYamlBinary(object){var result="",bits=0,idx,tail,max=object.length,map=BASE64_MAP;for(idx=0;idx>18&63];result+=map[bits>>12&63];result+=map[bits>>6&63];result+=map[bits&63]}bits=(bits<<8)+object[idx]}tail=max%3;if(tail===0){result+=map[bits>>18&63];result+=map[bits>>12&63];result+=map[bits>>6&63];result+=map[bits&63]}else if(tail===2){result+=map[bits>>10&63];result+=map[bits>>4&63];result+=map[bits<<2&63];result+=map[64]}else if(tail===1){result+=map[bits>>2&63];result+=map[bits<<4&63];result+=map[64];result+=map[64]}return result}function isBinary(object){return NodeBuffer&&NodeBuffer.isBuffer(object)}module.exports=new Type("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary})},{"../type":173}],175:[function(require,module,exports){arguments[4][76][0].apply(exports,arguments)},{"../type":173,dup:76}],176:[function(require,module,exports){"use strict";var common=require("../common");var Type=require("../type");var YAML_FLOAT_PATTERN=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?"+"|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?"+"|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(data){if(data===null)return false;if(!YAML_FLOAT_PATTERN.test(data)||data[data.length-1]==="_"){return false}return true}function constructYamlFloat(data){var value,sign,base,digits;value=data.replace(/_/g,"").toLowerCase();sign=value[0]==="-"?-1:1;digits=[];if("+-".indexOf(value[0])>=0){value=value.slice(1)}if(value===".inf"){return sign===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(value===".nan"){return NaN}else if(value.indexOf(":")>=0){value.split(":").forEach(function(v){digits.unshift(parseFloat(v,10))});value=0;base=1;digits.forEach(function(d){value+=d*base;base*=60});return sign*value}return sign*parseFloat(value,10)}var SCIENTIFIC_WITHOUT_DOT=/^[-+]?[0-9]+e/;function representYamlFloat(object,style){var res;if(isNaN(object)){switch(style){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===object){switch(style){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===object){switch(style){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(common.isNegativeZero(object)){return"-0.0"}res=object.toString(10);return SCIENTIFIC_WITHOUT_DOT.test(res)?res.replace("e",".e"):res}function isFloat(object){return Object.prototype.toString.call(object)==="[object Number]"&&(object%1!==0||common.isNegativeZero(object))}module.exports=new Type("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"})},{"../common":162,"../type":173}],177:[function(require,module,exports){"use strict";var common=require("../common");var Type=require("../type");function isHexCode(c){return 48<=c&&c<=57||65<=c&&c<=70||97<=c&&c<=102}function isOctCode(c){return 48<=c&&c<=55}function isDecCode(c){return 48<=c&&c<=57}function resolveYamlInteger(data){if(data===null)return false;var max=data.length,index=0,hasDigits=false,ch;if(!max)return false;ch=data[index];if(ch==="-"||ch==="+"){ch=data[++index]}if(ch==="0"){if(index+1===max)return true;ch=data[++index];if(ch==="b"){index++;for(;index=0?"0b"+obj.toString(2):"-0b"+obj.toString(2).slice(1)},octal:function(obj){return obj>=0?"0"+obj.toString(8):"-0"+obj.toString(8).slice(1)},decimal:function(obj){return obj.toString(10)},hexadecimal:function(obj){return obj>=0?"0x"+obj.toString(16).toUpperCase():"-0x"+obj.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},{"../common":162,"../type":173}],178:[function(require,module,exports){"use strict";var esprima;try{var _require=require;esprima=_require("esprima")}catch(_){if(typeof window!=="undefined")esprima=window.esprima}var Type=require("../../type");function resolveJavascriptFunction(data){if(data===null)return false;try{var source="("+data+")",ast=esprima.parse(source,{range:true});if(ast.type!=="Program"||ast.body.length!==1||ast.body[0].type!=="ExpressionStatement"||ast.body[0].expression.type!=="ArrowFunctionExpression"&&ast.body[0].expression.type!=="FunctionExpression"){return false}return true}catch(err){return false}}function constructJavascriptFunction(data){var source="("+data+")",ast=esprima.parse(source,{range:true}),params=[],body;if(ast.type!=="Program"||ast.body.length!==1||ast.body[0].type!=="ExpressionStatement"||ast.body[0].expression.type!=="ArrowFunctionExpression"&&ast.body[0].expression.type!=="FunctionExpression"){throw new Error("Failed to resolve function")}ast.body[0].expression.params.forEach(function(param){params.push(param.name)});body=ast.body[0].expression.body.range;if(ast.body[0].expression.body.type==="BlockStatement"){return new Function(params,source.slice(body[0]+1,body[1]-1))}return new Function(params,"return "+source.slice(body[0],body[1]))}function representJavascriptFunction(object){return object.toString()}function isFunction(object){return Object.prototype.toString.call(object)==="[object Function]"}module.exports=new Type("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:resolveJavascriptFunction,construct:constructJavascriptFunction,predicate:isFunction,represent:representJavascriptFunction})},{"../../type":173}],179:[function(require,module,exports){"use strict";var Type=require("../../type");function resolveJavascriptRegExp(data){if(data===null)return false;if(data.length===0)return false;var regexp=data,tail=/\/([gim]*)$/.exec(data),modifiers="";if(regexp[0]==="/"){if(tail)modifiers=tail[1];if(modifiers.length>3)return false;if(regexp[regexp.length-modifiers.length-1]!=="/")return false}return true}function constructJavascriptRegExp(data){var regexp=data,tail=/\/([gim]*)$/.exec(data),modifiers="";if(regexp[0]==="/"){if(tail)modifiers=tail[1];regexp=regexp.slice(1,regexp.length-modifiers.length-1)}return new RegExp(regexp,modifiers)}function representJavascriptRegExp(object){var result="/"+object.source+"/";if(object.global)result+="g";if(object.multiline)result+="m";if(object.ignoreCase)result+="i";return result}function isRegExp(object){return Object.prototype.toString.call(object)==="[object RegExp]"}module.exports=new Type("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:resolveJavascriptRegExp,construct:constructJavascriptRegExp,predicate:isRegExp,represent:representJavascriptRegExp})},{"../../type":173}],180:[function(require,module,exports){"use strict";var Type=require("../../type");function resolveJavascriptUndefined(){return true}function constructJavascriptUndefined(){return undefined}function representJavascriptUndefined(){return""}function isUndefined(object){return typeof object==="undefined"}module.exports=new Type("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:resolveJavascriptUndefined,construct:constructJavascriptUndefined,predicate:isUndefined,represent:representJavascriptUndefined})},{"../../type":173}],181:[function(require,module,exports){arguments[4][79][0].apply(exports,arguments)},{"../type":173,dup:79}],182:[function(require,module,exports){arguments[4][80][0].apply(exports,arguments)},{"../type":173,dup:80}],183:[function(require,module,exports){"use strict";var Type=require("../type");function resolveYamlNull(data){if(data===null)return true;var max=data.length;return max===1&&data==="~"||max===4&&(data==="null"||data==="Null"||data==="NULL")}function constructYamlNull(){return null}function isNull(object){return object===null}module.exports=new Type("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull,construct:constructYamlNull,predicate:isNull,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},{"../type":173}],184:[function(require,module,exports){arguments[4][82][0].apply(exports,arguments)},{"../type":173,dup:82}],185:[function(require,module,exports){arguments[4][83][0].apply(exports,arguments)},{"../type":173,dup:83}],186:[function(require,module,exports){arguments[4][84][0].apply(exports,arguments)},{"../type":173,dup:84}],187:[function(require,module,exports){arguments[4][85][0].apply(exports,arguments)},{"../type":173,dup:85}],188:[function(require,module,exports){arguments[4][86][0].apply(exports,arguments)},{"../type":173,dup:86}],189:[function(require,module,exports){arguments[4][87][0].apply(exports,arguments)},{"../type":173,dup:87}],190:[function(require,module,exports){"use strict";var traverse=module.exports=function(schema,opts,cb){if(typeof opts=="function"){cb=opts;opts={}}cb=opts.cb||cb;var pre=typeof cb=="function"?cb:cb.pre||function(){};var post=cb.post||function(){};_traverse(opts,pre,post,schema,"",schema)};traverse.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true};traverse.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};traverse.propsKeywords={definitions:true,properties:true,patternProperties:true,dependencies:true};traverse.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(opts,pre,post,schema,jsonPtr,rootSchema,parentJsonPtr,parentKeyword,parentSchema,keyIndex){if(schema&&typeof schema=="object"&&!Array.isArray(schema)){pre(schema,jsonPtr,rootSchema,parentJsonPtr,parentKeyword,parentSchema,keyIndex);for(var key in schema){var sch=schema[key];if(Array.isArray(sch)){if(key in traverse.arrayKeywords){for(var i=0;i=1){var hi=str.charCodeAt(idx-1);var low=code;if(55296<=hi&&hi<=56319){return(hi-55296)*1024+(low-56320)+65536}return low}return code}function shouldBreak(start,mid,end){var all=[start].concat(mid).concat([end]);var previous=all[all.length-2];var next=end;var eModifierIndex=all.lastIndexOf(E_Modifier);if(eModifierIndex>1&&all.slice(1,eModifierIndex).every(function(c){return c==Extend})&&[Extend,E_Base,E_Base_GAZ].indexOf(start)==-1){return Break}var rIIndex=all.lastIndexOf(Regional_Indicator);if(rIIndex>0&&all.slice(1,rIIndex).every(function(c){return c==Regional_Indicator})&&[Prepend,Regional_Indicator].indexOf(previous)==-1){if(all.filter(function(c){return c==Regional_Indicator}).length%2==1){return BreakLastRegional}else{return BreakPenultimateRegional}}if(previous==CR&&next==LF){return NotBreak}else if(previous==Control||previous==CR||previous==LF){if(next==E_Modifier&&mid.every(function(c){return c==Extend})){return Break}else{return BreakStart}}else if(next==Control||next==CR||next==LF){return BreakStart}else if(previous==L&&(next==L||next==V||next==LV||next==LVT)){return NotBreak}else if((previous==LV||previous==V)&&(next==V||next==T)){return NotBreak}else if((previous==LVT||previous==T)&&next==T){return NotBreak}else if(next==Extend||next==ZWJ){return NotBreak}else if(next==SpacingMark){return NotBreak}else if(previous==Prepend){return NotBreak}var previousNonExtendIndex=all.indexOf(Extend)!=-1?all.lastIndexOf(Extend)-1:all.length-2;if([E_Base,E_Base_GAZ].indexOf(all[previousNonExtendIndex])!=-1&&all.slice(previousNonExtendIndex+1,-1).every(function(c){return c==Extend})&&next==E_Modifier){return NotBreak}if(previous==ZWJ&&[Glue_After_Zwj,E_Base_GAZ].indexOf(next)!=-1){return NotBreak}if(mid.indexOf(Regional_Indicator)!=-1){return Break}if(previous==Regional_Indicator&&next==Regional_Indicator){return NotBreak}return BreakStart}this.nextBreak=function(string,index){if(index===undefined){index=0}if(index<0){return 0}if(index>=string.length-1){return string.length}var prev=getGraphemeBreakProperty(codePointAt(string,index));var mid=[];for(var i=index+1;i=max){return res.substr(0,max)}while(max>res.length&&num>1){if(num&1){res+=str}num>>=1;str+=str}res+=str;res=res.substr(0,max);return res}"use strict";var padStart=function padStart(string,maxLength,fillString){if(string==null||maxLength==null){return string}var result=String(string);var targetLen=typeof maxLength==="number"?maxLength:parseInt(maxLength,10);if(isNaN(targetLen)||!isFinite(targetLen)){return result}var length=result.length;if(length>=targetLen){return result}var fill=fillString==null?"":String(fillString);if(fill===""){fill=" "}var fillLen=targetLen-length;while(fill.lengthfillLen?fill.substr(0,fillLen):fill;return truncated+result};var _extends=Object.assign||function(target){for(var i=1;i1?_len-1:0),_key=1;_key<_len;_key++){position[_key-1]=arguments[_key]}return"Unexpected token <"+token+"> at "+position.filter(Boolean).join(":")}};var tokenizeErrorTypes={unexpectedSymbol:function unexpectedSymbol(symbol){for(var _len=arguments.length,position=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){position[_key-1]=arguments[_key]}return"Unexpected symbol <"+symbol+"> at "+position.filter(Boolean).join(":")}};var tokenTypes={LEFT_BRACE:0,RIGHT_BRACE:1,LEFT_BRACKET:2,RIGHT_BRACKET:3,COLON:4,COMMA:5,STRING:6,NUMBER:7,TRUE:8,FALSE:9,NULL:10};var punctuatorTokensMap={"{":tokenTypes.LEFT_BRACE,"}":tokenTypes.RIGHT_BRACE,"[":tokenTypes.LEFT_BRACKET,"]":tokenTypes.RIGHT_BRACKET,":":tokenTypes.COLON,",":tokenTypes.COMMA};var keywordTokensMap={true:tokenTypes.TRUE,false:tokenTypes.FALSE,null:tokenTypes.NULL};var stringStates={_START_:0,START_QUOTE_OR_CHAR:1,ESCAPE:2};var escapes$1={'"':0,"\\":1,"/":2,b:3,f:4,n:5,r:6,t:7,u:8};var numberStates={_START_:0,MINUS:1,ZERO:2,DIGIT:3,POINT:4,DIGIT_FRACTION:5,EXP:6,EXP_DIGIT_OR_SIGN:7};function isDigit1to9(char){return char>="1"&&char<="9"}function isDigit(char){return char>="0"&&char<="9"}function isHex(char){return isDigit(char)||char>="a"&&char<="f"||char>="A"&&char<="F"}function isExp(char){return char==="e"||char==="E"}function parseWhitespace(input,index,line,column){var char=input.charAt(index);if(char==="\r"){index++;line++;column=1;if(input.charAt(index)==="\n"){index++}}else if(char==="\n"){index++;line++;column=1}else if(char==="\t"||char===" "){index++;column++}else{return null}return{index:index,line:line,column:column}}function parseChar(input,index,line,column){var char=input.charAt(index);if(char in punctuatorTokensMap){return{type:punctuatorTokensMap[char],line:line,column:column+1,index:index+1,value:null}}return null}function parseKeyword(input,index,line,column){for(var name in keywordTokensMap){if(keywordTokensMap.hasOwnProperty(name)&&input.substr(index,name.length)===name){return{type:keywordTokensMap[name],line:line,column:column+name.length,index:index+name.length,value:name}}}return null}function parseString$1(input,index,line,column){var startIndex=index;var state=stringStates._START_;while(index0){return{type:tokenTypes.NUMBER,line:line,column:column+passedValueIndex-startIndex,index:passedValueIndex,value:input.slice(startIndex,passedValueIndex)}}return null}var tokenize=function tokenize(input,settings){var line=1;var column=1;var index=0;var tokens=[];while(index0?tokenList[tokenList.length-1].loc.end:{line:1,column:1};error(parseErrorTypes.unexpectedEnd(),input,settings.source,loc.line,loc.column)}function parseHexEscape(hexCode){var charCode=0;for(var i=0;i<4;i++){charCode=charCode*16+parseInt(hexCode[i],16)}return String.fromCharCode(charCode)}var escapes={b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};var passEscapes=['"',"\\","/"];function parseString(string){var result="";for(var i=0;i-1}function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);if(index<0){data.push([key,value])}else{data[index][1]=value}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(entries){var index=-1,length=entries?entries.length:0;this.clear();while(++index-1&&value%1==0&&value-1&&value%1==0&&value<=MAX_SAFE_INTEGER}function isObject(value){var type=typeof value;return!!value&&(type=="object"||type=="function")}function isObjectLike(value){return!!value&&typeof value=="object"}function keys(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}function stubArray(){return[]}function stubFalse(){return false}module.exports=cloneDeep}).call(this)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],193:[function(require,module,exports){(function(process){(function(){function normalizeArray(parts,allowAboveRoot){var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up--;up){parts.unshift("..")}}return parts}exports.resolve=function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:process.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){continue}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=normalizeArray(filter(resolvedPath.split("/"),function(p){return!!p}),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."};exports.normalize=function(path){var isAbsolute=exports.isAbsolute(path),trailingSlash=substr(path,-1)==="/";path=normalizeArray(filter(path.split("/"),function(p){return!!p}),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path};exports.isAbsolute=function(path){return path.charAt(0)==="/"};exports.join=function(){var paths=Array.prototype.slice.call(arguments,0);return exports.normalize(filter(paths,function(p,index){if(typeof p!=="string"){throw new TypeError("Arguments to path.join must be strings")}return p}).join("/"))};exports.relative=function(from,to){from=exports.resolve(from).substr(1);to=exports.resolve(to).substr(1);function trim(arr){var start=0;for(;start=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i=1;--i){code=path.charCodeAt(i);if(code===47){if(!matchedSlash){end=i;break}}else{matchedSlash=false}}if(end===-1)return hasRoot?"/":".";if(hasRoot&&end===1){return"/"}return path.slice(0,end)};function basename(path){if(typeof path!=="string")path=path+"";var start=0;var end=-1;var matchedSlash=true;var i;for(i=path.length-1;i>=0;--i){if(path.charCodeAt(i)===47){if(!matchedSlash){start=i+1;break}}else if(end===-1){matchedSlash=false;end=i+1}}if(end===-1)return"";return path.slice(start,end)}exports.basename=function(path,ext){var f=basename(path);if(ext&&f.substr(-1*ext.length)===ext){f=f.substr(0,f.length-ext.length)}return f};exports.extname=function(path){if(typeof path!=="string")path=path+"";var startDot=-1;var startPart=0;var end=-1;var matchedSlash=true;var preDotState=0;for(var i=path.length-1;i>=0;--i){var code=path.charCodeAt(i);if(code===47){if(!matchedSlash){startPart=i+1;break}continue}if(end===-1){matchedSlash=false;end=i+1}if(code===46){if(startDot===-1)startDot=i;else if(preDotState!==1)preDotState=1}else if(startDot!==-1){preDotState=-1}}if(startDot===-1||end===-1||preDotState===0||preDotState===1&&startDot===end-1&&startDot===startPart+1){return""}return path.slice(startDot,end)};function filter(xs,f){if(xs.filter)return xs.filter(f);var res=[];for(var i=0;i1){for(var i=1;i= 0x80 (not a basic code point)","invalid-input":"Invalid input"},baseMinusTMin=base-tMin,floor=Math.floor,stringFromCharCode=String.fromCharCode,key;function error(type){throw new RangeError(errors[type])}function map(array,fn){var length=array.length;var result=[];while(length--){result[length]=fn(array[length])}return result}function mapDomain(string,fn){var parts=string.split("@");var result="";if(parts.length>1){result=parts[0]+"@";string=parts[1]}string=string.replace(regexSeparators,".");var labels=string.split(".");var encoded=map(labels,fn).join(".");return result+encoded}function ucs2decode(string){var output=[],counter=0,length=string.length,value,extra;while(counter=55296&&value<=56319&&counter65535){value-=65536;output+=stringFromCharCode(value>>>10&1023|55296);value=56320|value&1023}output+=stringFromCharCode(value);return output}).join("")}function basicToDigit(codePoint){if(codePoint-48<10){return codePoint-22}if(codePoint-65<26){return codePoint-65}if(codePoint-97<26){return codePoint-97}return base}function digitToBasic(digit,flag){return digit+22+75*(digit<26)-((flag!=0)<<5)}function adapt(delta,numPoints,firstTime){var k=0;delta=firstTime?floor(delta/damp):delta>>1;delta+=floor(delta/numPoints);for(;delta>baseMinusTMin*tMax>>1;k+=base){delta=floor(delta/baseMinusTMin)}return floor(k+(baseMinusTMin+1)*delta/(delta+skew))}function decode(input){var output=[],inputLength=input.length,out,i=0,n=initialN,bias=initialBias,basic,j,index,oldi,w,k,digit,t,baseMinusT;basic=input.lastIndexOf(delimiter);if(basic<0){basic=0}for(j=0;j=128){error("not-basic")}output.push(input.charCodeAt(j))}for(index=basic>0?basic+1:0;index=inputLength){error("invalid-input")}digit=basicToDigit(input.charCodeAt(index++));if(digit>=base||digit>floor((maxInt-i)/w)){error("overflow")}i+=digit*w;t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias;if(digitfloor(maxInt/baseMinusT)){error("overflow")}w*=baseMinusT}out=output.length+1;bias=adapt(i-oldi,out,oldi==0);if(floor(i/out)>maxInt-n){error("overflow")}n+=floor(i/out);i%=out;output.splice(i++,0,n)}return ucs2encode(output)}function encode(input){var n,delta,handledCPCount,basicLength,bias,j,m,q,k,t,currentValue,output=[],inputLength,handledCPCountPlusOne,baseMinusT,qMinusT;input=ucs2decode(input);inputLength=input.length;n=initialN;delta=0;bias=initialBias;for(j=0;j=n&¤tValuefloor((maxInt-delta)/handledCPCountPlusOne)){error("overflow")}delta+=(m-n)*handledCPCountPlusOne;n=m;for(j=0;jmaxInt){error("overflow")}if(currentValue==n){for(q=delta,k=base;;k+=base){t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias;if(q0&&len>maxKeys){len=maxKeys}for(var i=0;i=0){kstr=x.substr(0,idx);vstr=x.substr(idx+1)}else{kstr=x;vstr=""}k=decodeURIComponent(kstr);v=decodeURIComponent(vstr);if(!hasOwnProperty(obj,k)){obj[k]=v}else if(isArray(obj[k])){obj[k].push(v)}else{obj[k]=[obj[k],v]}}return obj};var isArray=Array.isArray||function(xs){return Object.prototype.toString.call(xs)==="[object Array]"}},{}],197:[function(require,module,exports){"use strict";var stringifyPrimitive=function(v){switch(typeof v){case"string":return v;case"boolean":return v?"true":"false";case"number":return isFinite(v)?v:"";default:return""}};module.exports=function(obj,sep,eq,name){sep=sep||"&";eq=eq||"=";if(obj===null){obj=undefined}if(typeof obj==="object"){return map(objectKeys(obj),function(k){var ks=encodeURIComponent(stringifyPrimitive(k))+eq;if(isArray(obj[k])){return map(obj[k],function(v){return ks+encodeURIComponent(stringifyPrimitive(v))}).join(sep)}else{return ks+encodeURIComponent(stringifyPrimitive(obj[k]))}}).join(sep)}if(!name)return"";return encodeURIComponent(stringifyPrimitive(name))+eq+encodeURIComponent(stringifyPrimitive(obj))};var isArray=Array.isArray||function(xs){return Object.prototype.toString.call(xs)==="[object Array]"};function map(xs,f){if(xs.map)return xs.map(f);var res=[];for(var i=0;iself._pos){var newData=response.substr(self._pos);if(self._charset==="x-user-defined"){var buffer=Buffer.alloc(newData.length);for(var i=0;iself._pos){self.push(Buffer.from(new Uint8Array(reader.result.slice(self._pos))));self._pos=reader.result.byteLength}};reader.onload=function(){resetTimers(true);self.push(null)};reader.readAsArrayBuffer(response);break}if(self._xhr.readyState===rStates.DONE&&self._mode!=="ms-stream"){resetTimers(true);self.push(null)}}}).call(this)}).call(this,require("_process"),typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{},require("buffer").Buffer)},{"./capability":201,_process:194,buffer:150,inherits:158,"readable-stream":218}],204:[function(require,module,exports){"use strict";function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass}var codes={};function createErrorType(code,message,Base){if(!Base){Base=Error}function getMessage(arg1,arg2,arg3){if(typeof message==="string"){return message}else{return message(arg1,arg2,arg3)}}var NodeError=function(_Base){_inheritsLoose(NodeError,_Base);function NodeError(arg1,arg2,arg3){return _Base.call(this,getMessage(arg1,arg2,arg3))||this}return NodeError}(Base);NodeError.prototype.name=Base.name;NodeError.prototype.code=code;codes[code]=NodeError}function oneOf(expected,thing){if(Array.isArray(expected)){var len=expected.length;expected=expected.map(function(i){return String(i)});if(len>2){return"one of ".concat(thing," ").concat(expected.slice(0,len-1).join(", "),", or ")+expected[len-1]}else if(len===2){return"one of ".concat(thing," ").concat(expected[0]," or ").concat(expected[1])}else{return"of ".concat(thing," ").concat(expected[0])}}else{return"of ".concat(thing," ").concat(String(expected))}}function startsWith(str,search,pos){return str.substr(!pos||pos<0?0:+pos,search.length)===search}function endsWith(str,search,this_len){if(this_len===undefined||this_len>str.length){this_len=str.length}return str.substring(this_len-search.length,this_len)===search}function includes(str,search,start){if(typeof start!=="number"){start=0}if(start+search.length>str.length){return false}else{return str.indexOf(search,start)!==-1}}createErrorType("ERR_INVALID_OPT_VALUE",function(name,value){return'The value "'+value+'" is invalid for option "'+name+'"'},TypeError);createErrorType("ERR_INVALID_ARG_TYPE",function(name,expected,actual){var determiner;if(typeof expected==="string"&&startsWith(expected,"not ")){determiner="must not be";expected=expected.replace(/^not /,"")}else{determiner="must be"}var msg;if(endsWith(name," argument")){msg="The ".concat(name," ").concat(determiner," ").concat(oneOf(expected,"type"))}else{var type=includes(name,".")?"property":"argument";msg='The "'.concat(name,'" ').concat(type," ").concat(determiner," ").concat(oneOf(expected,"type"))}msg+=". Received type ".concat(typeof actual);return msg},TypeError);createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");createErrorType("ERR_METHOD_NOT_IMPLEMENTED",function(name){return"The "+name+" method is not implemented"});createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close");createErrorType("ERR_STREAM_DESTROYED",function(name){return"Cannot call "+name+" after a stream was destroyed"});createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times");createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end");createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);createErrorType("ERR_UNKNOWN_ENCODING",function(arg){return"Unknown encoding: "+arg},TypeError);createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");module.exports.codes=codes},{}],205:[function(require,module,exports){(function(process){(function(){"use strict";var objectKeys=Object.keys||function(obj){var keys=[];for(var key in obj){keys.push(key)}return keys};module.exports=Duplex;var Readable=require("./_stream_readable");var Writable=require("./_stream_writable");require("inherits")(Duplex,Readable);{var keys=objectKeys(Writable.prototype);for(var v=0;v0){if(typeof chunk!=="string"&&!state.objectMode&&Object.getPrototypeOf(chunk)!==Buffer.prototype){chunk=_uint8ArrayToBuffer(chunk)}if(addToFront){if(state.endEmitted)errorOrDestroy(stream,new ERR_STREAM_UNSHIFT_AFTER_END_EVENT);else addChunk(stream,state,chunk,true)}else if(state.ended){errorOrDestroy(stream,new ERR_STREAM_PUSH_AFTER_EOF)}else if(state.destroyed){return false}else{state.reading=false;if(state.decoder&&!encoding){chunk=state.decoder.write(chunk);if(state.objectMode||chunk.length!==0)addChunk(stream,state,chunk,false);else maybeReadMore(stream,state)}else{addChunk(stream,state,chunk,false)}}}else if(!addToFront){state.reading=false;maybeReadMore(stream,state)}}return!state.ended&&(state.length=MAX_HWM){n=MAX_HWM}else{n--;n|=n>>>1;n|=n>>>2;n|=n>>>4;n|=n>>>8;n|=n>>>16;n++}return n}function howMuchToRead(n,state){if(n<=0||state.length===0&&state.ended)return 0;if(state.objectMode)return 1;if(n!==n){if(state.flowing&&state.length)return state.buffer.head.data.length;else return state.length}if(n>state.highWaterMark)state.highWaterMark=computeNewHighWaterMark(n);if(n<=state.length)return n;if(!state.ended){state.needReadable=true;return 0}return state.length}Readable.prototype.read=function(n){debug("read",n);n=parseInt(n,10);var state=this._readableState;var nOrig=n;if(n!==0)state.emittedReadable=false;if(n===0&&state.needReadable&&((state.highWaterMark!==0?state.length>=state.highWaterMark:state.length>0)||state.ended)){debug("read: emitReadable",state.length,state.ended);if(state.length===0&&state.ended)endReadable(this);else emitReadable(this);return null}n=howMuchToRead(n,state);if(n===0&&state.ended){if(state.length===0)endReadable(this);return null}var doRead=state.needReadable;debug("need readable",doRead);if(state.length===0||state.length-n0)ret=fromList(n,state);else ret=null;if(ret===null){state.needReadable=state.length<=state.highWaterMark;n=0}else{state.length-=n;state.awaitDrain=0}if(state.length===0){if(!state.ended)state.needReadable=true;if(nOrig!==n&&state.ended)endReadable(this)}if(ret!==null)this.emit("data",ret);return ret};function onEofChunk(stream,state){debug("onEofChunk");if(state.ended)return;if(state.decoder){var chunk=state.decoder.end();if(chunk&&chunk.length){state.buffer.push(chunk);state.length+=state.objectMode?1:chunk.length}}state.ended=true;if(state.sync){emitReadable(stream)}else{state.needReadable=false;if(!state.emittedReadable){state.emittedReadable=true;emitReadable_(stream)}}}function emitReadable(stream){var state=stream._readableState;debug("emitReadable",state.needReadable,state.emittedReadable);state.needReadable=false;if(!state.emittedReadable){debug("emitReadable",state.flowing);state.emittedReadable=true;process.nextTick(emitReadable_,stream)}}function emitReadable_(stream){var state=stream._readableState;debug("emitReadable_",state.destroyed,state.length,state.ended);if(!state.destroyed&&(state.length||state.ended)){stream.emit("readable");state.emittedReadable=false}state.needReadable=!state.flowing&&!state.ended&&state.length<=state.highWaterMark;flow(stream)}function maybeReadMore(stream,state){if(!state.readingMore){state.readingMore=true;process.nextTick(maybeReadMore_,stream,state)}}function maybeReadMore_(stream,state){while(!state.reading&&!state.ended&&(state.length1&&indexOf(state.pipes,dest)!==-1)&&!cleanedUp){debug("false write response, pause",state.awaitDrain);state.awaitDrain++}src.pause()}}function onerror(er){debug("onerror",er);unpipe();dest.removeListener("error",onerror);if(EElistenerCount(dest,"error")===0)errorOrDestroy(dest,er)}prependListener(dest,"error",onerror);function onclose(){dest.removeListener("finish",onfinish);unpipe()}dest.once("close",onclose);function onfinish(){debug("onfinish");dest.removeListener("close",onclose);unpipe()}dest.once("finish",onfinish);function unpipe(){debug("unpipe");src.unpipe(dest)}dest.emit("pipe",src);if(!state.flowing){debug("pipe resume");src.resume()}return dest};function pipeOnDrain(src){return function pipeOnDrainFunctionResult(){var state=src._readableState;debug("pipeOnDrain",state.awaitDrain);if(state.awaitDrain)state.awaitDrain--;if(state.awaitDrain===0&&EElistenerCount(src,"data")){state.flowing=true;flow(src)}}}Readable.prototype.unpipe=function(dest){var state=this._readableState;var unpipeInfo={hasUnpiped:false};if(state.pipesCount===0)return this;if(state.pipesCount===1){if(dest&&dest!==state.pipes)return this;if(!dest)dest=state.pipes;state.pipes=null;state.pipesCount=0;state.flowing=false;if(dest)dest.emit("unpipe",this,unpipeInfo);return this}if(!dest){var dests=state.pipes;var len=state.pipesCount;state.pipes=null;state.pipesCount=0;state.flowing=false;for(var i=0;i0;if(state.flowing!==false)this.resume()}else if(ev==="readable"){if(!state.endEmitted&&!state.readableListening){state.readableListening=state.needReadable=true;state.flowing=false;state.emittedReadable=false;debug("on readable",state.length,state.reading);if(state.length){emitReadable(this)}else if(!state.reading){process.nextTick(nReadingNextTick,this)}}}return res};Readable.prototype.addListener=Readable.prototype.on;Readable.prototype.removeListener=function(ev,fn){var res=Stream.prototype.removeListener.call(this,ev,fn);if(ev==="readable"){process.nextTick(updateReadableListening,this)}return res};Readable.prototype.removeAllListeners=function(ev){var res=Stream.prototype.removeAllListeners.apply(this,arguments);if(ev==="readable"||ev===undefined){process.nextTick(updateReadableListening,this)}return res};function updateReadableListening(self){var state=self._readableState;state.readableListening=self.listenerCount("readable")>0;if(state.resumeScheduled&&!state.paused){state.flowing=true}else if(self.listenerCount("data")>0){self.resume()}}function nReadingNextTick(self){debug("readable nexttick read 0");self.read(0)}Readable.prototype.resume=function(){var state=this._readableState;if(!state.flowing){debug("resume");state.flowing=!state.readableListening;resume(this,state)}state.paused=false;return this};function resume(stream,state){if(!state.resumeScheduled){state.resumeScheduled=true;process.nextTick(resume_,stream,state)}}function resume_(stream,state){debug("resume",state.reading);if(!state.reading){stream.read(0)}state.resumeScheduled=false;stream.emit("resume");flow(stream);if(state.flowing&&!state.reading)stream.read(0)}Readable.prototype.pause=function(){debug("call pause flowing=%j",this._readableState.flowing);if(this._readableState.flowing!==false){debug("pause");this._readableState.flowing=false;this.emit("pause")}this._readableState.paused=true;return this};function flow(stream){var state=stream._readableState;debug("flow",state.flowing);while(state.flowing&&stream.read()!==null){}}Readable.prototype.wrap=function(stream){var _this=this;var state=this._readableState;var paused=false;stream.on("end",function(){debug("wrapped end");if(state.decoder&&!state.ended){var chunk=state.decoder.end();if(chunk&&chunk.length)_this.push(chunk)}_this.push(null)});stream.on("data",function(chunk){debug("wrapped data");if(state.decoder)chunk=state.decoder.write(chunk);if(state.objectMode&&(chunk===null||chunk===undefined))return;else if(!state.objectMode&&(!chunk||!chunk.length))return;var ret=_this.push(chunk);if(!ret){paused=true;stream.pause()}});for(var i in stream){if(this[i]===undefined&&typeof stream[i]==="function"){this[i]=function methodWrap(method){return function methodWrapReturnFunction(){return stream[method].apply(stream,arguments)}}(i)}}for(var n=0;n=state.length){if(state.decoder)ret=state.buffer.join("");else if(state.buffer.length===1)ret=state.buffer.first();else ret=state.buffer.concat(state.length);state.buffer.clear()}else{ret=state.buffer.consume(n,state.decoder)}return ret}function endReadable(stream){var state=stream._readableState;debug("endReadable",state.endEmitted);if(!state.endEmitted){state.ended=true;process.nextTick(endReadableNT,state,stream)}}function endReadableNT(state,stream){debug("endReadableNT",state.endEmitted,state.length);if(!state.endEmitted&&state.length===0){state.endEmitted=true;stream.readable=false;stream.emit("end");if(state.autoDestroy){var wState=stream._writableState;if(!wState||wState.autoDestroy&&wState.finished){stream.destroy()}}}}if(typeof Symbol==="function"){Readable.from=function(iterable,opts){if(from===undefined){from=require("./internal/streams/from")}return from(Readable,iterable,opts)}}function indexOf(xs,x){for(var i=0,l=xs.length;i-1))throw new ERR_UNKNOWN_ENCODING(encoding);this._writableState.defaultEncoding=encoding;return this};Object.defineProperty(Writable.prototype,"writableBuffer",{enumerable:false,get:function get(){return this._writableState&&this._writableState.getBuffer()}});function decodeChunk(state,chunk,encoding){if(!state.objectMode&&state.decodeStrings!==false&&typeof chunk==="string"){chunk=Buffer.from(chunk,encoding)}return chunk}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function get(){return this._writableState.highWaterMark}});function writeOrBuffer(stream,state,isBuf,chunk,encoding,cb){if(!isBuf){var newChunk=decodeChunk(state,chunk,encoding);if(chunk!==newChunk){isBuf=true;encoding="buffer";chunk=newChunk}}var len=state.objectMode?1:chunk.length;state.length+=len;var ret=state.length0)this.tail.next=entry;else this.head=entry;this.tail=entry;++this.length}},{key:"unshift",value:function unshift(v){var entry={data:v,next:this.head};if(this.length===0)this.tail=entry;this.head=entry;++this.length}},{key:"shift",value:function shift(){if(this.length===0)return;var ret=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return ret}},{key:"clear",value:function clear(){this.head=this.tail=null;this.length=0}},{key:"join",value:function join(s){if(this.length===0)return"";var p=this.head;var ret=""+p.data;while(p=p.next){ret+=s+p.data}return ret}},{key:"concat",value:function concat(n){if(this.length===0)return Buffer.alloc(0);var ret=Buffer.allocUnsafe(n>>>0);var p=this.head;var i=0;while(p){copyBuffer(p.data,ret,i);i+=p.data.length;p=p.next}return ret}},{key:"consume",value:function consume(n,hasStrings){var ret;if(nstr.length?str.length:n;if(nb===str.length)ret+=str;else ret+=str.slice(0,n);n-=nb;if(n===0){if(nb===str.length){++c;if(p.next)this.head=p.next;else this.head=this.tail=null}else{this.head=p;p.data=str.slice(nb)}break}++c}this.length-=c;return ret}},{key:"_getBuffer",value:function _getBuffer(n){var ret=Buffer.allocUnsafe(n);var p=this.head;var c=1;p.data.copy(ret);n-=p.data.length;while(p=p.next){var buf=p.data;var nb=n>buf.length?buf.length:n;buf.copy(ret,ret.length-n,0,nb);n-=nb;if(n===0){if(nb===buf.length){++c;if(p.next)this.head=p.next;else this.head=this.tail=null}else{this.head=p;p.data=buf.slice(nb)}break}++c}this.length-=c;return ret}},{key:custom,value:function value(_,options){return inspect(this,_objectSpread({},options,{depth:0,customInspect:false}))}}]);return BufferList}()},{buffer:150,util:149}],212:[function(require,module,exports){(function(process){(function(){"use strict";function destroy(err,cb){var _this=this;var readableDestroyed=this._readableState&&this._readableState.destroyed;var writableDestroyed=this._writableState&&this._writableState.destroyed;if(readableDestroyed||writableDestroyed){if(cb){cb(err)}else if(err){if(!this._writableState){process.nextTick(emitErrorNT,this,err)}else if(!this._writableState.errorEmitted){this._writableState.errorEmitted=true;process.nextTick(emitErrorNT,this,err)}}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(err||null,function(err){if(!cb&&err){if(!_this._writableState){process.nextTick(emitErrorAndCloseNT,_this,err)}else if(!_this._writableState.errorEmitted){_this._writableState.errorEmitted=true;process.nextTick(emitErrorAndCloseNT,_this,err)}else{process.nextTick(emitCloseNT,_this)}}else if(cb){process.nextTick(emitCloseNT,_this);cb(err)}else{process.nextTick(emitCloseNT,_this)}});return this}function emitErrorAndCloseNT(self,err){emitErrorNT(self,err);emitCloseNT(self)}function emitCloseNT(self){if(self._writableState&&!self._writableState.emitClose)return;if(self._readableState&&!self._readableState.emitClose)return;self.emit("close")}function undestroy(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finalCalled=false;this._writableState.prefinished=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function emitErrorNT(self,err){self.emit("error",err)}function errorOrDestroy(stream,err){var rState=stream._readableState;var wState=stream._writableState;if(rState&&rState.autoDestroy||wState&&wState.autoDestroy)stream.destroy(err);else stream.emit("error",err)}module.exports={destroy:destroy,undestroy:undestroy,errorOrDestroy:errorOrDestroy}}).call(this)}).call(this,require("_process"))},{_process:194}],213:[function(require,module,exports){"use strict";var ERR_STREAM_PREMATURE_CLOSE=require("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function once(callback){var called=false;return function(){if(called)return;called=true;for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key]}callback.apply(this,args)}}function noop(){}function isRequest(stream){return stream.setHeader&&typeof stream.abort==="function"}function eos(stream,opts,callback){if(typeof opts==="function")return eos(stream,null,opts);if(!opts)opts={};callback=once(callback||noop);var readable=opts.readable||opts.readable!==false&&stream.readable;var writable=opts.writable||opts.writable!==false&&stream.writable;var onlegacyfinish=function onlegacyfinish(){if(!stream.writable)onfinish()};var writableEnded=stream._writableState&&stream._writableState.finished;var onfinish=function onfinish(){writable=false;writableEnded=true;if(!readable)callback.call(stream)};var readableEnded=stream._readableState&&stream._readableState.endEmitted;var onend=function onend(){readable=false;readableEnded=true;if(!writable)callback.call(stream)};var onerror=function onerror(err){callback.call(stream,err)};var onclose=function onclose(){var err;if(readable&&!readableEnded){if(!stream._readableState||!stream._readableState.ended)err=new ERR_STREAM_PREMATURE_CLOSE;return callback.call(stream,err)}if(writable&&!writableEnded){if(!stream._writableState||!stream._writableState.ended)err=new ERR_STREAM_PREMATURE_CLOSE;return callback.call(stream,err)}};var onrequest=function onrequest(){stream.req.on("finish",onfinish)};if(isRequest(stream)){stream.on("complete",onfinish);stream.on("abort",onclose);if(stream.req)onrequest();else stream.on("request",onrequest)}else if(writable&&!stream._writableState){stream.on("end",onlegacyfinish);stream.on("close",onlegacyfinish)}stream.on("end",onend);stream.on("finish",onfinish);if(opts.error!==false)stream.on("error",onerror);stream.on("close",onclose);return function(){stream.removeListener("complete",onfinish);stream.removeListener("abort",onclose);stream.removeListener("request",onrequest);if(stream.req)stream.req.removeListener("finish",onfinish);stream.removeListener("end",onlegacyfinish);stream.removeListener("close",onlegacyfinish);stream.removeListener("finish",onfinish);stream.removeListener("end",onend);stream.removeListener("error",onerror);stream.removeListener("close",onclose)}}module.exports=eos},{"../../../errors":204}],214:[function(require,module,exports){module.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],215:[function(require,module,exports){"use strict";var eos;function once(callback){var called=false;return function(){if(called)return;called=true;callback.apply(void 0,arguments)}}var _require$codes=require("../../../errors").codes,ERR_MISSING_ARGS=_require$codes.ERR_MISSING_ARGS,ERR_STREAM_DESTROYED=_require$codes.ERR_STREAM_DESTROYED;function noop(err){if(err)throw err}function isRequest(stream){return stream.setHeader&&typeof stream.abort==="function"}function destroyer(stream,reading,writing,callback){callback=once(callback);var closed=false;stream.on("close",function(){closed=true});if(eos===undefined)eos=require("./end-of-stream");eos(stream,{readable:reading,writable:writing},function(err){if(err)return callback(err);closed=true;callback()});var destroyed=false;return function(err){if(closed)return;if(destroyed)return;destroyed=true;if(isRequest(stream))return stream.abort();if(typeof stream.destroy==="function")return stream.destroy();callback(err||new ERR_STREAM_DESTROYED("pipe"))}}function call(fn){fn()}function pipe(from,to){return from.pipe(to)}function popCallback(streams){if(!streams.length)return noop;if(typeof streams[streams.length-1]!=="function")return noop;return streams.pop()}function pipeline(){for(var _len=arguments.length,streams=new Array(_len),_key=0;_key<_len;_key++){streams[_key]=arguments[_key]}var callback=popCallback(streams);if(Array.isArray(streams[0]))streams=streams[0];if(streams.length<2){throw new ERR_MISSING_ARGS("streams")}var error;var destroys=streams.map(function(stream,i){var reading=i0;return destroyer(stream,reading,writing,function(err){if(!error)error=err;if(err)destroys.forEach(call);if(reading)return;destroys.forEach(call);callback(error)})});return streams.reduce(pipe)}module.exports=pipeline},{"../../../errors":204,"./end-of-stream":213}],216:[function(require,module,exports){"use strict";var ERR_INVALID_OPT_VALUE=require("../../../errors").codes.ERR_INVALID_OPT_VALUE;function highWaterMarkFrom(options,isDuplex,duplexKey){return options.highWaterMark!=null?options.highWaterMark:isDuplex?options[duplexKey]:null}function getHighWaterMark(state,options,duplexKey,isDuplex){var hwm=highWaterMarkFrom(options,isDuplex,duplexKey);if(hwm!=null){if(!(isFinite(hwm)&&Math.floor(hwm)===hwm)||hwm<0){var name=isDuplex?duplexKey:"highWaterMark";throw new ERR_INVALID_OPT_VALUE(name,hwm)}return Math.floor(hwm)}return state.objectMode?16:16*1024}module.exports={getHighWaterMark:getHighWaterMark}},{"../../../errors":204}],217:[function(require,module,exports){module.exports=require("events").EventEmitter},{events:153}],218:[function(require,module,exports){exports=module.exports=require("./lib/_stream_readable.js");exports.Stream=exports;exports.Readable=exports;exports.Writable=require("./lib/_stream_writable.js");exports.Duplex=require("./lib/_stream_duplex.js");exports.Transform=require("./lib/_stream_transform.js");exports.PassThrough=require("./lib/_stream_passthrough.js");exports.finished=require("./lib/internal/streams/end-of-stream.js");exports.pipeline=require("./lib/internal/streams/pipeline.js")},{"./lib/_stream_duplex.js":205,"./lib/_stream_passthrough.js":206,"./lib/_stream_readable.js":207,"./lib/_stream_transform.js":208,"./lib/_stream_writable.js":209,"./lib/internal/streams/end-of-stream.js":213,"./lib/internal/streams/pipeline.js":215}],219:[function(require,module,exports){"use strict";var Buffer=require("safe-buffer").Buffer;var isEncoding=Buffer.isEncoding||function(encoding){encoding=""+encoding;switch(encoding&&encoding.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(enc){if(!enc)return"utf8";var retried;while(true){switch(enc){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return enc;default:if(retried)return;enc=(""+enc).toLowerCase();retried=true}}}function normalizeEncoding(enc){var nenc=_normalizeEncoding(enc);if(typeof nenc!=="string"&&(Buffer.isEncoding===isEncoding||!isEncoding(enc)))throw new Error("Unknown encoding: "+enc);return nenc||enc}exports.StringDecoder=StringDecoder;function StringDecoder(encoding){this.encoding=normalizeEncoding(encoding);var nb;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;nb=4;break;case"utf8":this.fillLast=utf8FillLast;nb=4;break;case"base64":this.text=base64Text;this.end=base64End;nb=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=Buffer.allocUnsafe(nb)}StringDecoder.prototype.write=function(buf){if(buf.length===0)return"";var r;var i;if(this.lastNeed){r=this.fillLast(buf);if(r===undefined)return"";i=this.lastNeed;this.lastNeed=0}else{i=0}if(i>5===6)return 2;else if(byte>>4===14)return 3;else if(byte>>3===30)return 4;return byte>>6===2?-1:-2}function utf8CheckIncomplete(self,buf,i){var j=buf.length-1;if(j=0){if(nb>0)self.lastNeed=nb-1;return nb}if(--j=0){if(nb>0)self.lastNeed=nb-2;return nb}if(--j=0){if(nb>0){if(nb===2)nb=0;else self.lastNeed=nb-3}return nb}return 0}function utf8CheckExtraBytes(self,buf,p){if((buf[0]&192)!==128){self.lastNeed=0;return"�"}if(self.lastNeed>1&&buf.length>1){if((buf[1]&192)!==128){self.lastNeed=1;return"�"}if(self.lastNeed>2&&buf.length>2){if((buf[2]&192)!==128){self.lastNeed=2;return"�"}}}}function utf8FillLast(buf){var p=this.lastTotal-this.lastNeed;var r=utf8CheckExtraBytes(this,buf,p);if(r!==undefined)return r;if(this.lastNeed<=buf.length){buf.copy(this.lastChar,p,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}buf.copy(this.lastChar,p,0,buf.length);this.lastNeed-=buf.length}function utf8Text(buf,i){var total=utf8CheckIncomplete(this,buf,i);if(!this.lastNeed)return buf.toString("utf8",i);this.lastTotal=total;var end=buf.length-(total-this.lastNeed);buf.copy(this.lastChar,0,end);return buf.toString("utf8",i,end)}function utf8End(buf){var r=buf&&buf.length?this.write(buf):"";if(this.lastNeed)return r+"�";return r}function utf16Text(buf,i){if((buf.length-i)%2===0){var r=buf.toString("utf16le",i);if(r){var c=r.charCodeAt(r.length-1);if(c>=55296&&c<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=buf[buf.length-2];this.lastChar[1]=buf[buf.length-1];return r.slice(0,-1)}}return r}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=buf[buf.length-1];return buf.toString("utf16le",i,buf.length-1)}function utf16End(buf){var r=buf&&buf.length?this.write(buf):"";if(this.lastNeed){var end=this.lastTotal-this.lastNeed;return r+this.lastChar.toString("utf16le",0,end)}return r}function base64Text(buf,i){var n=(buf.length-i)%3;if(n===0)return buf.toString("base64",i);this.lastNeed=3-n;this.lastTotal=3;if(n===1){this.lastChar[0]=buf[buf.length-1]}else{this.lastChar[0]=buf[buf.length-2];this.lastChar[1]=buf[buf.length-1]}return buf.toString("base64",i,buf.length-n)}function base64End(buf){var r=buf&&buf.length?this.write(buf):"";if(this.lastNeed)return r+this.lastChar.toString("base64",0,3-this.lastNeed);return r}function simpleWrite(buf){return buf.toString(this.encoding)}function simpleEnd(buf){return buf&&buf.length?this.write(buf):""}},{"safe-buffer":199}],220:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};exports.apply=apply;var isObject=function isObject(val){return val!=null&&(typeof val==="undefined"?"undefined":_typeof(val))==="object"&&Array.isArray(val)===false};function apply(origin,patch){if(!isObject(patch)){return patch}var result=!isObject(origin)?{}:Object.assign({},origin);Object.keys(patch).forEach(function(key){var patchVal=patch[key];if(patchVal===null){delete result[key]}else{result[key]=apply(result[key],patchVal)}});return result}exports.default=apply},{}],221:[function(require,module,exports){(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?factory(exports):typeof define==="function"&&define.amd?define(["exports"],factory):factory(global.URI=global.URI||{})})(this,function(exports){"use strict";function merge(){for(var _len=arguments.length,sets=Array(_len),_key=0;_key<_len;_key++){sets[_key]=arguments[_key]}if(sets.length>1){sets[0]=sets[0].slice(0,-1);var xl=sets.length-1;for(var x=1;x= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var baseMinusTMin=base-tMin;var floor=Math.floor;var stringFromCharCode=String.fromCharCode;function error$1(type){throw new RangeError(errors[type])}function map(array,fn){var result=[];var length=array.length;while(length--){result[length]=fn(array[length])}return result}function mapDomain(string,fn){var parts=string.split("@");var result="";if(parts.length>1){result=parts[0]+"@";string=parts[1]}string=string.replace(regexSeparators,".");var labels=string.split(".");var encoded=map(labels,fn).join(".");return result+encoded}function ucs2decode(string){var output=[];var counter=0;var length=string.length;while(counter=55296&&value<=56319&&counter>1;delta+=floor(delta/numPoints);for(;delta>baseMinusTMin*tMax>>1;k+=base){delta=floor(delta/baseMinusTMin)}return floor(k+(baseMinusTMin+1)*delta/(delta+skew))};var decode=function decode(input){var output=[];var inputLength=input.length;var i=0;var n=initialN;var bias=initialBias;var basic=input.lastIndexOf(delimiter);if(basic<0){basic=0}for(var j=0;j=128){error$1("not-basic")}output.push(input.charCodeAt(j))}for(var index=basic>0?basic+1:0;index=inputLength){error$1("invalid-input")}var digit=basicToDigit(input.charCodeAt(index++));if(digit>=base||digit>floor((maxInt-i)/w)){error$1("overflow")}i+=digit*w;var t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias;if(digitfloor(maxInt/baseMinusT)){error$1("overflow")}w*=baseMinusT}var out=output.length+1;bias=adapt(i-oldi,out,oldi==0);if(floor(i/out)>maxInt-n){error$1("overflow")}n+=floor(i/out);i%=out;output.splice(i++,0,n)}return String.fromCodePoint.apply(String,output)};var encode=function encode(input){var output=[];input=ucs2decode(input);var inputLength=input.length;var n=initialN;var delta=0;var bias=initialBias;var _iteratorNormalCompletion=true;var _didIteratorError=false;var _iteratorError=undefined;try{for(var _iterator=input[Symbol.iterator](),_step;!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=true){var _currentValue2=_step.value;if(_currentValue2<128){output.push(stringFromCharCode(_currentValue2))}}}catch(err){_didIteratorError=true;_iteratorError=err}finally{try{if(!_iteratorNormalCompletion&&_iterator.return){_iterator.return()}}finally{if(_didIteratorError){throw _iteratorError}}}var basicLength=output.length;var handledCPCount=basicLength;if(basicLength){output.push(delimiter)}while(handledCPCount=n&¤tValuefloor((maxInt-delta)/handledCPCountPlusOne)){error$1("overflow")}delta+=(m-n)*handledCPCountPlusOne;n=m;var _iteratorNormalCompletion3=true;var _didIteratorError3=false;var _iteratorError3=undefined;try{for(var _iterator3=input[Symbol.iterator](),_step3;!(_iteratorNormalCompletion3=(_step3=_iterator3.next()).done);_iteratorNormalCompletion3=true){var _currentValue=_step3.value;if(_currentValuemaxInt){error$1("overflow")}if(_currentValue==n){var q=delta;for(var k=base;;k+=base){var t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias;if(q>6|192).toString(16).toUpperCase()+"%"+(c&63|128).toString(16).toUpperCase();else e="%"+(c>>12|224).toString(16).toUpperCase()+"%"+(c>>6&63|128).toString(16).toUpperCase()+"%"+(c&63|128).toString(16).toUpperCase();return e}function pctDecChars(str){var newStr="";var i=0;var il=str.length;while(i=194&&c<224){if(il-i>=6){var c2=parseInt(str.substr(i+4,2),16);newStr+=String.fromCharCode((c&31)<<6|c2&63)}else{newStr+=str.substr(i,6)}i+=6}else if(c>=224){if(il-i>=9){var _c=parseInt(str.substr(i+4,2),16);var c3=parseInt(str.substr(i+7,2),16);newStr+=String.fromCharCode((c&15)<<12|(_c&63)<<6|c3&63)}else{newStr+=str.substr(i,9)}i+=9}else{newStr+=str.substr(i,3);i+=3}}return newStr}function _normalizeComponentEncoding(components,protocol){function decodeUnreserved(str){var decStr=pctDecChars(str);return!decStr.match(protocol.UNRESERVED)?str:decStr}if(components.scheme)components.scheme=String(components.scheme).replace(protocol.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(protocol.NOT_SCHEME,"");if(components.userinfo!==undefined)components.userinfo=String(components.userinfo).replace(protocol.PCT_ENCODED,decodeUnreserved).replace(protocol.NOT_USERINFO,pctEncChar).replace(protocol.PCT_ENCODED,toUpperCase);if(components.host!==undefined)components.host=String(components.host).replace(protocol.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(protocol.NOT_HOST,pctEncChar).replace(protocol.PCT_ENCODED,toUpperCase);if(components.path!==undefined)components.path=String(components.path).replace(protocol.PCT_ENCODED,decodeUnreserved).replace(components.scheme?protocol.NOT_PATH:protocol.NOT_PATH_NOSCHEME,pctEncChar).replace(protocol.PCT_ENCODED,toUpperCase);if(components.query!==undefined)components.query=String(components.query).replace(protocol.PCT_ENCODED,decodeUnreserved).replace(protocol.NOT_QUERY,pctEncChar).replace(protocol.PCT_ENCODED,toUpperCase);if(components.fragment!==undefined)components.fragment=String(components.fragment).replace(protocol.PCT_ENCODED,decodeUnreserved).replace(protocol.NOT_FRAGMENT,pctEncChar).replace(protocol.PCT_ENCODED,toUpperCase);return components}function _stripLeadingZeros(str){return str.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(host,protocol){var matches=host.match(protocol.IPV4ADDRESS)||[];var _matches=slicedToArray(matches,2),address=_matches[1];if(address){return address.split(".").map(_stripLeadingZeros).join(".")}else{return host}}function _normalizeIPv6(host,protocol){var matches=host.match(protocol.IPV6ADDRESS)||[];var _matches2=slicedToArray(matches,3),address=_matches2[1],zone=_matches2[2];if(address){var _address$toLowerCase$=address.toLowerCase().split("::").reverse(),_address$toLowerCase$2=slicedToArray(_address$toLowerCase$,2),last=_address$toLowerCase$2[0],first=_address$toLowerCase$2[1];var firstFields=first?first.split(":").map(_stripLeadingZeros):[];var lastFields=last.split(":").map(_stripLeadingZeros);var isLastFieldIPv4Address=protocol.IPV4ADDRESS.test(lastFields[lastFields.length-1]);var fieldCount=isLastFieldIPv4Address?7:8;var lastFieldsStart=lastFields.length-fieldCount;var fields=Array(fieldCount);for(var x=0;x1){var newFirst=fields.slice(0,longestZeroFields.index);var newLast=fields.slice(longestZeroFields.index+longestZeroFields.length);newHost=newFirst.join(":")+"::"+newLast.join(":")}else{newHost=fields.join(":")}if(zone){newHost+="%"+zone}return newHost}else{return host}}var URI_PARSE=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var NO_MATCH_IS_UNDEFINED="".match(/(){0}/)[1]===undefined;function parse(uriString){var options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var components={};var protocol=options.iri!==false?IRI_PROTOCOL:URI_PROTOCOL;if(options.reference==="suffix")uriString=(options.scheme?options.scheme+":":"")+"//"+uriString;var matches=uriString.match(URI_PARSE);if(matches){if(NO_MATCH_IS_UNDEFINED){components.scheme=matches[1];components.userinfo=matches[3];components.host=matches[4];components.port=parseInt(matches[5],10);components.path=matches[6]||"";components.query=matches[7];components.fragment=matches[8];if(isNaN(components.port)){components.port=matches[5]}}else{components.scheme=matches[1]||undefined;components.userinfo=uriString.indexOf("@")!==-1?matches[3]:undefined;components.host=uriString.indexOf("//")!==-1?matches[4]:undefined;components.port=parseInt(matches[5],10);components.path=matches[6]||"";components.query=uriString.indexOf("?")!==-1?matches[7]:undefined;components.fragment=uriString.indexOf("#")!==-1?matches[8]:undefined;if(isNaN(components.port)){components.port=uriString.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?matches[4]:undefined}}if(components.host){components.host=_normalizeIPv6(_normalizeIPv4(components.host,protocol),protocol)}if(components.scheme===undefined&&components.userinfo===undefined&&components.host===undefined&&components.port===undefined&&!components.path&&components.query===undefined){components.reference="same-document"}else if(components.scheme===undefined){components.reference="relative"}else if(components.fragment===undefined){components.reference="absolute"}else{components.reference="uri"}if(options.reference&&options.reference!=="suffix"&&options.reference!==components.reference){components.error=components.error||"URI is not a "+options.reference+" reference."}var schemeHandler=SCHEMES[(options.scheme||components.scheme||"").toLowerCase()];if(!options.unicodeSupport&&(!schemeHandler||!schemeHandler.unicodeSupport)){if(components.host&&(options.domainHost||schemeHandler&&schemeHandler.domainHost)){try{components.host=punycode.toASCII(components.host.replace(protocol.PCT_ENCODED,pctDecChars).toLowerCase())}catch(e){components.error=components.error||"Host's domain name can not be converted to ASCII via punycode: "+e}}_normalizeComponentEncoding(components,URI_PROTOCOL)}else{_normalizeComponentEncoding(components,protocol)}if(schemeHandler&&schemeHandler.parse){schemeHandler.parse(components,options)}}else{components.error=components.error||"URI can not be parsed."}return components}function _recomposeAuthority(components,options){var protocol=options.iri!==false?IRI_PROTOCOL:URI_PROTOCOL;var uriTokens=[];if(components.userinfo!==undefined){uriTokens.push(components.userinfo);uriTokens.push("@")}if(components.host!==undefined){uriTokens.push(_normalizeIPv6(_normalizeIPv4(String(components.host),protocol),protocol).replace(protocol.IPV6ADDRESS,function(_,$1,$2){return"["+$1+($2?"%25"+$2:"")+"]"}))}if(typeof components.port==="number"||typeof components.port==="string"){uriTokens.push(":");uriTokens.push(String(components.port))}return uriTokens.length?uriTokens.join(""):undefined}var RDS1=/^\.\.?\//;var RDS2=/^\/\.(\/|$)/;var RDS3=/^\/\.\.(\/|$)/;var RDS5=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(input){var output=[];while(input.length){if(input.match(RDS1)){input=input.replace(RDS1,"")}else if(input.match(RDS2)){input=input.replace(RDS2,"/")}else if(input.match(RDS3)){input=input.replace(RDS3,"/");output.pop()}else if(input==="."||input===".."){input=""}else{var im=input.match(RDS5);if(im){var s=im[0];input=input.slice(s.length);output.push(s)}else{throw new Error("Unexpected dot segment condition")}}}return output.join("")}function serialize(components){var options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var protocol=options.iri?IRI_PROTOCOL:URI_PROTOCOL;var uriTokens=[];var schemeHandler=SCHEMES[(options.scheme||components.scheme||"").toLowerCase()];if(schemeHandler&&schemeHandler.serialize)schemeHandler.serialize(components,options);if(components.host){if(protocol.IPV6ADDRESS.test(components.host)){}else if(options.domainHost||schemeHandler&&schemeHandler.domainHost){try{components.host=!options.iri?punycode.toASCII(components.host.replace(protocol.PCT_ENCODED,pctDecChars).toLowerCase()):punycode.toUnicode(components.host)}catch(e){components.error=components.error||"Host's domain name can not be converted to "+(!options.iri?"ASCII":"Unicode")+" via punycode: "+e}}}_normalizeComponentEncoding(components,protocol);if(options.reference!=="suffix"&&components.scheme){uriTokens.push(components.scheme);uriTokens.push(":")}var authority=_recomposeAuthority(components,options);if(authority!==undefined){if(options.reference!=="suffix"){uriTokens.push("//")}uriTokens.push(authority);if(components.path&&components.path.charAt(0)!=="/"){uriTokens.push("/")}}if(components.path!==undefined){var s=components.path;if(!options.absolutePath&&(!schemeHandler||!schemeHandler.absolutePath)){s=removeDotSegments(s)}if(authority===undefined){s=s.replace(/^\/\//,"/%2F")}uriTokens.push(s)}if(components.query!==undefined){uriTokens.push("?");uriTokens.push(components.query)}if(components.fragment!==undefined){uriTokens.push("#");uriTokens.push(components.fragment)}return uriTokens.join("")}function resolveComponents(base,relative){var options=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var skipNormalization=arguments[3];var target={};if(!skipNormalization){base=parse(serialize(base,options),options);relative=parse(serialize(relative,options),options)}options=options||{};if(!options.tolerant&&relative.scheme){target.scheme=relative.scheme;target.userinfo=relative.userinfo;target.host=relative.host;target.port=relative.port;target.path=removeDotSegments(relative.path||"");target.query=relative.query}else{if(relative.userinfo!==undefined||relative.host!==undefined||relative.port!==undefined){target.userinfo=relative.userinfo;target.host=relative.host;target.port=relative.port;target.path=removeDotSegments(relative.path||"");target.query=relative.query}else{if(!relative.path){target.path=base.path;if(relative.query!==undefined){target.query=relative.query}else{target.query=base.query}}else{if(relative.path.charAt(0)==="/"){target.path=removeDotSegments(relative.path)}else{if((base.userinfo!==undefined||base.host!==undefined||base.port!==undefined)&&!base.path){target.path="/"+relative.path}else if(!base.path){target.path=relative.path}else{target.path=base.path.slice(0,base.path.lastIndexOf("/")+1)+relative.path}target.path=removeDotSegments(target.path)}target.query=relative.query}target.userinfo=base.userinfo;target.host=base.host;target.port=base.port}target.scheme=base.scheme}target.fragment=relative.fragment;return target}function resolve(baseURI,relativeURI,options){var schemelessOptions=assign({scheme:"null"},options);return serialize(resolveComponents(parse(baseURI,schemelessOptions),parse(relativeURI,schemelessOptions),schemelessOptions,true),schemelessOptions)}function normalize(uri,options){if(typeof uri==="string"){uri=serialize(parse(uri,options),options)}else if(typeOf(uri)==="object"){uri=parse(serialize(uri,options),options)}return uri}function equal(uriA,uriB,options){if(typeof uriA==="string"){uriA=serialize(parse(uriA,options),options)}else if(typeOf(uriA)==="object"){uriA=serialize(uriA,options)}if(typeof uriB==="string"){uriB=serialize(parse(uriB,options),options)}else if(typeOf(uriB)==="object"){uriB=serialize(uriB,options)}return uriA===uriB}function escapeComponent(str,options){return str&&str.toString().replace(!options||!options.iri?URI_PROTOCOL.ESCAPE:IRI_PROTOCOL.ESCAPE,pctEncChar)}function unescapeComponent(str,options){return str&&str.toString().replace(!options||!options.iri?URI_PROTOCOL.PCT_ENCODED:IRI_PROTOCOL.PCT_ENCODED,pctDecChars)}var handler={scheme:"http",domainHost:true,parse:function parse(components,options){if(!components.host){components.error=components.error||"HTTP URIs must have a host."}return components},serialize:function serialize(components,options){var secure=String(components.scheme).toLowerCase()==="https";if(components.port===(secure?443:80)||components.port===""){components.port=undefined}if(!components.path){components.path="/"}return components}};var handler$1={scheme:"https",domainHost:handler.domainHost,parse:handler.parse,serialize:handler.serialize};function isSecure(wsComponents){return typeof wsComponents.secure==="boolean"?wsComponents.secure:String(wsComponents.scheme).toLowerCase()==="wss"}var handler$2={scheme:"ws",domainHost:true,parse:function parse(components,options){var wsComponents=components;wsComponents.secure=isSecure(wsComponents);wsComponents.resourceName=(wsComponents.path||"/")+(wsComponents.query?"?"+wsComponents.query:"");wsComponents.path=undefined;wsComponents.query=undefined;return wsComponents},serialize:function serialize(wsComponents,options){if(wsComponents.port===(isSecure(wsComponents)?443:80)||wsComponents.port===""){wsComponents.port=undefined}if(typeof wsComponents.secure==="boolean"){wsComponents.scheme=wsComponents.secure?"wss":"ws";wsComponents.secure=undefined}if(wsComponents.resourceName){var _wsComponents$resourc=wsComponents.resourceName.split("?"),_wsComponents$resourc2=slicedToArray(_wsComponents$resourc,2),path=_wsComponents$resourc2[0],query=_wsComponents$resourc2[1];wsComponents.path=path&&path!=="/"?path:undefined;wsComponents.query=query;wsComponents.resourceName=undefined}wsComponents.fragment=undefined;return wsComponents}};var handler$3={scheme:"wss",domainHost:handler$2.domainHost,parse:handler$2.parse,serialize:handler$2.serialize};var O={};var isIRI=true;var UNRESERVED$$="[A-Za-z0-9\\-\\.\\_\\~"+(isIRI?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var HEXDIG$$="[0-9A-Fa-f]";var PCT_ENCODED$=subexp(subexp("%[EFef]"+HEXDIG$$+"%"+HEXDIG$$+HEXDIG$$+"%"+HEXDIG$$+HEXDIG$$)+"|"+subexp("%[89A-Fa-f]"+HEXDIG$$+"%"+HEXDIG$$+HEXDIG$$)+"|"+subexp("%"+HEXDIG$$+HEXDIG$$));var ATEXT$$="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var QTEXT$$="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var VCHAR$$=merge(QTEXT$$,'[\\"\\\\]');var SOME_DELIMS$$="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var UNRESERVED=new RegExp(UNRESERVED$$,"g");var PCT_ENCODED=new RegExp(PCT_ENCODED$,"g");var NOT_LOCAL_PART=new RegExp(merge("[^]",ATEXT$$,"[\\.]",'[\\"]',VCHAR$$),"g");var NOT_HFNAME=new RegExp(merge("[^]",UNRESERVED$$,SOME_DELIMS$$),"g");var NOT_HFVALUE=NOT_HFNAME;function decodeUnreserved(str){var decStr=pctDecChars(str);return!decStr.match(UNRESERVED)?str:decStr}var handler$4={scheme:"mailto",parse:function parse$$1(components,options){var mailtoComponents=components;var to=mailtoComponents.to=mailtoComponents.path?mailtoComponents.path.split(","):[];mailtoComponents.path=undefined;if(mailtoComponents.query){var unknownHeaders=false;var headers={};var hfields=mailtoComponents.query.split("&");for(var x=0,xl=hfields.length;x",'"',"`"," ","\r","\n","\t"],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,unsafeProtocol={javascript:true,"javascript:":true},hostlessProtocol={javascript:true,"javascript:":true},slashedProtocol={http:true,https:true,ftp:true,gopher:true,file:true,"http:":true,"https:":true,"ftp:":true,"gopher:":true,"file:":true},querystring=require("querystring");function urlParse(url,parseQueryString,slashesDenoteHost){if(url&&util.isObject(url)&&url instanceof Url)return url;var u=new Url;u.parse(url,parseQueryString,slashesDenoteHost);return u}Url.prototype.parse=function(url,parseQueryString,slashesDenoteHost){if(!util.isString(url)){throw new TypeError("Parameter 'url' must be a string, not "+typeof url)}var queryIndex=url.indexOf("?"),splitter=queryIndex!==-1&&queryIndex127){newpart+="x"}else{newpart+=part[j]}}if(!newpart.match(hostnamePartPattern)){var validParts=hostparts.slice(0,i);var notHost=hostparts.slice(i+1);var bit=part.match(hostnamePartStart);if(bit){validParts.push(bit[1]);notHost.unshift(bit[2])}if(notHost.length){rest="/"+notHost.join(".")+rest}this.hostname=validParts.join(".");break}}}}if(this.hostname.length>hostnameMaxLen){this.hostname=""}else{this.hostname=this.hostname.toLowerCase()}if(!ipv6Hostname){this.hostname=punycode.toASCII(this.hostname)}var p=this.port?":"+this.port:"";var h=this.hostname||"";this.host=h+p;this.href+=this.host;if(ipv6Hostname){this.hostname=this.hostname.substr(1,this.hostname.length-2);if(rest[0]!=="/"){rest="/"+rest}}}if(!unsafeProtocol[lowerProto]){for(var i=0,l=autoEscape.length;i0?result.host.split("@"):false;if(authInHost){result.auth=authInHost.shift();result.host=result.hostname=authInHost.shift()}}result.search=relative.search;result.query=relative.query;if(!util.isNull(result.pathname)||!util.isNull(result.search)){result.path=(result.pathname?result.pathname:"")+(result.search?result.search:"")}result.href=result.format();return result}if(!srcPath.length){result.pathname=null;if(result.search){result.path="/"+result.search}else{result.path=null}result.href=result.format();return result}var last=srcPath.slice(-1)[0];var hasTrailingSlash=(result.host||relative.host||srcPath.length>1)&&(last==="."||last==="..")||last==="";var up=0;for(var i=srcPath.length;i>=0;i--){last=srcPath[i];if(last==="."){srcPath.splice(i,1)}else if(last===".."){srcPath.splice(i,1);up++}else if(up){srcPath.splice(i,1);up--}}if(!mustEndAbs&&!removeAllDots){for(;up--;up){srcPath.unshift("..")}}if(mustEndAbs&&srcPath[0]!==""&&(!srcPath[0]||srcPath[0].charAt(0)!=="/")){srcPath.unshift("")}if(hasTrailingSlash&&srcPath.join("/").substr(-1)!=="/"){srcPath.push("")}var isAbsolute=srcPath[0]===""||srcPath[0]&&srcPath[0].charAt(0)==="/";if(psychotic){result.hostname=result.host=isAbsolute?"":srcPath.length?srcPath.shift():"";var authInHost=result.host&&result.host.indexOf("@")>0?result.host.split("@"):false;if(authInHost){result.auth=authInHost.shift();result.host=result.hostname=authInHost.shift()}}mustEndAbs=mustEndAbs||result.host&&srcPath.length;if(mustEndAbs&&!isAbsolute){srcPath.unshift("")}if(!srcPath.length){result.pathname=null;result.path=null}else{result.pathname=srcPath.join("/")}if(!util.isNull(result.pathname)||!util.isNull(result.search)){result.path=(result.pathname?result.pathname:"")+(result.search?result.search:"")}result.auth=relative.auth||result.auth;result.slashes=result.slashes||relative.slashes;result.href=result.format();return result};Url.prototype.parseHost=function(){var host=this.host;var port=portPattern.exec(host);if(port){port=port[0];if(port!==":"){this.port=port.substr(1)}host=host.substr(0,host.length-port.length)}if(host)this.hostname=host}},{"./util":223,punycode:195,querystring:198}],223:[function(require,module,exports){"use strict";module.exports={isString:function(arg){return typeof arg==="string"},isObject:function(arg){return typeof arg==="object"&&arg!==null},isNull:function(arg){return arg===null},isNullOrUndefined:function(arg){return arg==null}}},{}],224:[function(require,module,exports){(function(global){(function(){module.exports=deprecate;function deprecate(fn,msg){if(config("noDeprecation")){return fn}var warned=false;function deprecated(){if(!warned){if(config("throwDeprecation")){throw new Error(msg)}else if(config("traceDeprecation")){console.trace(msg)}else{console.warn(msg)}warned=true}return fn.apply(this,arguments)}return deprecated}function config(name){try{if(!global.localStorage)return false}catch(_){return false}var val=global.localStorage[name];if(null==val)return false;return String(val).toLowerCase()==="true"}}).call(this)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],225:[function(require,module,exports){if(typeof Object.create==="function"){module.exports=function inherits(ctor,superCtor){ctor.super_=superCtor;ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:false,writable:true,configurable:true}})}}else{module.exports=function inherits(ctor,superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype;ctor.prototype=new TempCtor;ctor.prototype.constructor=ctor}}},{}],226:[function(require,module,exports){module.exports=function isBuffer(arg){return arg&&typeof arg==="object"&&typeof arg.copy==="function"&&typeof arg.fill==="function"&&typeof arg.readUInt8==="function"}},{}],227:[function(require,module,exports){(function(process,global){(function(){var formatRegExp=/%[sdj%]/g;exports.format=function(f){if(!isString(f)){var objects=[];for(var i=0;i=len)return x;switch(x){case"%s":return String(args[i++]);case"%d":return Number(args[i++]);case"%j":try{return JSON.stringify(args[i++])}catch(_){return"[Circular]"}default:return x}});for(var x=args[i];i=3)ctx.depth=arguments[2];if(arguments.length>=4)ctx.colors=arguments[3];if(isBoolean(opts)){ctx.showHidden=opts}else if(opts){exports._extend(ctx,opts)}if(isUndefined(ctx.showHidden))ctx.showHidden=false;if(isUndefined(ctx.depth))ctx.depth=2;if(isUndefined(ctx.colors))ctx.colors=false;if(isUndefined(ctx.customInspect))ctx.customInspect=true;if(ctx.colors)ctx.stylize=stylizeWithColor;return formatValue(ctx,obj,ctx.depth)}exports.inspect=inspect;inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};inspect.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function stylizeWithColor(str,styleType){var style=inspect.styles[styleType];if(style){return"["+inspect.colors[style][0]+"m"+str+"["+inspect.colors[style][1]+"m"}else{return str}}function stylizeNoColor(str,styleType){return str}function arrayToHash(array){var hash={};array.forEach(function(val,idx){hash[val]=true});return hash}function formatValue(ctx,value,recurseTimes){if(ctx.customInspect&&value&&isFunction(value.inspect)&&value.inspect!==exports.inspect&&!(value.constructor&&value.constructor.prototype===value)){var ret=value.inspect(recurseTimes,ctx);if(!isString(ret)){ret=formatValue(ctx,ret,recurseTimes)}return ret}var primitive=formatPrimitive(ctx,value);if(primitive){return primitive}var keys=Object.keys(value);var visibleKeys=arrayToHash(keys);if(ctx.showHidden){keys=Object.getOwnPropertyNames(value)}if(isError(value)&&(keys.indexOf("message")>=0||keys.indexOf("description")>=0)){return formatError(value)}if(keys.length===0){if(isFunction(value)){var name=value.name?": "+value.name:"";return ctx.stylize("[Function"+name+"]","special")}if(isRegExp(value)){return ctx.stylize(RegExp.prototype.toString.call(value),"regexp")}if(isDate(value)){return ctx.stylize(Date.prototype.toString.call(value),"date")}if(isError(value)){return formatError(value)}}var base="",array=false,braces=["{","}"];if(isArray(value)){array=true;braces=["[","]"]}if(isFunction(value)){var n=value.name?": "+value.name:"";base=" [Function"+n+"]"}if(isRegExp(value)){base=" "+RegExp.prototype.toString.call(value)}if(isDate(value)){base=" "+Date.prototype.toUTCString.call(value)}if(isError(value)){base=" "+formatError(value)}if(keys.length===0&&(!array||value.length==0)){return braces[0]+base+braces[1]}if(recurseTimes<0){if(isRegExp(value)){return ctx.stylize(RegExp.prototype.toString.call(value),"regexp")}else{return ctx.stylize("[Object]","special")}}ctx.seen.push(value);var output;if(array){output=formatArray(ctx,value,recurseTimes,visibleKeys,keys)}else{output=keys.map(function(key){return formatProperty(ctx,value,recurseTimes,visibleKeys,key,array)})}ctx.seen.pop();return reduceToSingleString(output,base,braces)}function formatPrimitive(ctx,value){if(isUndefined(value))return ctx.stylize("undefined","undefined");if(isString(value)){var simple="'"+JSON.stringify(value).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ctx.stylize(simple,"string")}if(isNumber(value))return ctx.stylize(""+value,"number");if(isBoolean(value))return ctx.stylize(""+value,"boolean");if(isNull(value))return ctx.stylize("null","null")}function formatError(value){return"["+Error.prototype.toString.call(value)+"]"}function formatArray(ctx,value,recurseTimes,visibleKeys,keys){var output=[];for(var i=0,l=value.length;i-1){if(array){str=str.split("\n").map(function(line){return" "+line}).join("\n").substr(2)}else{str="\n"+str.split("\n").map(function(line){return" "+line}).join("\n")}}}else{str=ctx.stylize("[Circular]","special")}}if(isUndefined(name)){if(array&&key.match(/^\d+$/)){return str}name=JSON.stringify(""+key);if(name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)){name=name.substr(1,name.length-2);name=ctx.stylize(name,"name")}else{name=name.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'");name=ctx.stylize(name,"string")}}return name+": "+str}function reduceToSingleString(output,base,braces){var numLinesEst=0;var length=output.reduce(function(prev,cur){numLinesEst++;if(cur.indexOf("\n")>=0)numLinesEst++;return prev+cur.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(length>60){return braces[0]+(base===""?"":base+"\n ")+" "+output.join(",\n ")+" "+braces[1]}return braces[0]+base+" "+output.join(", ")+" "+braces[1]}function isArray(ar){return Array.isArray(ar)}exports.isArray=isArray;function isBoolean(arg){return typeof arg==="boolean"}exports.isBoolean=isBoolean;function isNull(arg){return arg===null}exports.isNull=isNull;function isNullOrUndefined(arg){return arg==null}exports.isNullOrUndefined=isNullOrUndefined;function isNumber(arg){return typeof arg==="number"}exports.isNumber=isNumber;function isString(arg){return typeof arg==="string"}exports.isString=isString;function isSymbol(arg){return typeof arg==="symbol"}exports.isSymbol=isSymbol;function isUndefined(arg){return arg===void 0}exports.isUndefined=isUndefined;function isRegExp(re){return isObject(re)&&objectToString(re)==="[object RegExp]"}exports.isRegExp=isRegExp;function isObject(arg){return typeof arg==="object"&&arg!==null}exports.isObject=isObject;function isDate(d){return isObject(d)&&objectToString(d)==="[object Date]"}exports.isDate=isDate;function isError(e){return isObject(e)&&(objectToString(e)==="[object Error]"||e instanceof Error)}exports.isError=isError;function isFunction(arg){return typeof arg==="function"}exports.isFunction=isFunction;function isPrimitive(arg){return arg===null||typeof arg==="boolean"||typeof arg==="number"||typeof arg==="string"||typeof arg==="symbol"||typeof arg==="undefined"}exports.isPrimitive=isPrimitive;exports.isBuffer=require("./support/isBuffer");function objectToString(o){return Object.prototype.toString.call(o)}function pad(n){return n<10?"0"+n.toString(10):n.toString(10)}var months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function timestamp(){var d=new Date;var time=[pad(d.getHours()),pad(d.getMinutes()),pad(d.getSeconds())].join(":");return[d.getDate(),months[d.getMonth()],time].join(" ")}exports.log=function(){console.log("%s - %s",timestamp(),exports.format.apply(exports,arguments))};exports.inherits=require("inherits");exports._extend=function(origin,add){if(!add||!isObject(add))return origin;var keys=Object.keys(add);var i=keys.length;while(i--){origin[keys[i]]=add[keys[i]]}return origin};function hasOwnProperty(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}}).call(this)}).call(this,require("_process"),typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./support/isBuffer":226,_process:194,inherits:225}],228:[function(require,module,exports){module.exports=extend;var hasOwnProperty=Object.prototype.hasOwnProperty;function extend(){var target={};for(var i=0;i checkpoint");er.position=position;er.checkpoint=this.checkpoint;throw er}this.result+=this.source.slice(this.checkpoint,position);this.checkpoint=position;return this};StringBuilder.prototype.escapeChar=function(){var character,esc;character=this.source.charCodeAt(this.checkpoint);esc=ESCAPE_SEQUENCES[character]||encodeHex(character);this.result+=esc;this.checkpoint+=1;return this};StringBuilder.prototype.finish=function(){if(this.source.length>this.checkpoint){this.takeUpTo(this.source.length)}};function writeScalar(state,object,level){var simple,first,spaceWrap,folded,literal,single,double,sawLineFeed,linePosition,longestLine,indent,max,character,position,escapeSeq,hexEsc,previous,lineLength,modifier,trailingLineBreaks,result;if(0===object.length){state.dump="''";return}if(object.indexOf("!include")==0){state.dump=""+object;return}if(object.indexOf("!$$$novalue")==0){state.dump="";return}if(-1!==DEPRECATED_BOOLEANS_SYNTAX.indexOf(object)){state.dump="'"+object+"'";return}simple=true;first=object.length?object.charCodeAt(0):0;spaceWrap=CHAR_SPACE===first||CHAR_SPACE===object.charCodeAt(object.length-1);if(CHAR_MINUS===first||CHAR_QUESTION===first||CHAR_COMMERCIAL_AT===first||CHAR_GRAVE_ACCENT===first){simple=false}if(spaceWrap){simple=false;folded=false;literal=false}else{folded=true;literal=true}single=true;double=new StringBuilder(object);sawLineFeed=false;linePosition=0;longestLine=0;indent=state.indent*level;max=80;if(indent<40){max-=indent}else{max=40}for(position=0;position0){previous=object.charCodeAt(position-1);if(previous===CHAR_SPACE){literal=false;folded=false}}if(folded){lineLength=position-linePosition;linePosition=position;if(lineLength>longestLine){longestLine=lineLength}}}if(character!==CHAR_DOUBLE_QUOTE){single=false}double.takeUpTo(position);double.escapeChar()}if(simple&&testImplicitResolving(state,object)){simple=false}modifier="";if(folded||literal){trailingLineBreaks=0;if(object.charCodeAt(object.length-1)===CHAR_LINE_FEED){trailingLineBreaks+=1;if(object.charCodeAt(object.length-2)===CHAR_LINE_FEED){trailingLineBreaks+=1}}if(trailingLineBreaks===0){modifier="-"}else if(trailingLineBreaks===2){modifier="+"}}if(literal&&longestLine"+modifier+"\n"+indentString(result,indent)}else if(literal){if(!modifier){object=object.replace(/\n$/,"")}state.dump="|"+modifier+"\n"+indentString(object,indent)}else if(double){double.finish();state.dump='"'+double.result+'"'}else{throw new Error("Failed to dump scalar value")}return}function fold(object,max){var result="",position=0,length=object.length,trailing=/\n+$/.exec(object),newLine;if(trailing){length=trailing.index+1}while(positionlength||newLine===-1){if(result){result+="\n\n"}result+=foldLine(object.slice(position,length),max);position=length}else{if(result){result+="\n\n"}result+=foldLine(object.slice(position,newLine),max);position=newLine+1}}if(trailing&&trailing[0]!=="\n"){result+=trailing[0]}return result}function foldLine(line,max){if(line===""){return line}var foldRe=/[^\s] [^\s]/g,result="",prevMatch=0,foldStart=0,match=foldRe.exec(line),index,foldEnd,folded;while(match){index=match.index;if(index-foldStart>max){if(prevMatch!==foldStart){foldEnd=prevMatch}else{foldEnd=index}if(result){result+="\n"}folded=line.slice(foldStart,foldEnd);result+=folded;foldStart=foldEnd+1}prevMatch=index+1;match=foldRe.exec(line)}if(result){result+="\n"}if(foldStart!==prevMatch&&line.length-foldStart>max){result+=line.slice(foldStart,prevMatch)+"\n"+line.slice(prevMatch+1)}else{result+=line.slice(foldStart)}return result}function simpleChar(character){return CHAR_TAB!==character&&CHAR_LINE_FEED!==character&&CHAR_CARRIAGE_RETURN!==character&&CHAR_COMMA!==character&&CHAR_LEFT_SQUARE_BRACKET!==character&&CHAR_RIGHT_SQUARE_BRACKET!==character&&CHAR_LEFT_CURLY_BRACKET!==character&&CHAR_RIGHT_CURLY_BRACKET!==character&&CHAR_SHARP!==character&&CHAR_AMPERSAND!==character&&CHAR_ASTERISK!==character&&CHAR_EXCLAMATION!==character&&CHAR_VERTICAL_LINE!==character&&CHAR_GREATER_THAN!==character&&CHAR_SINGLE_QUOTE!==character&&CHAR_DOUBLE_QUOTE!==character&&CHAR_PERCENT!==character&&CHAR_COLON!==character&&!ESCAPE_SEQUENCES[character]&&!needsHexEscape(character)}function needsHexEscape(character){return!(32<=character&&character<=126||133===character||160<=character&&character<=55295||57344<=character&&character<=65533||65536<=character&&character<=1114111)}function writeFlowSequence(state,level,object){var _result="",_tag=state.tag,index,length;for(index=0,length=object.length;index1024){pairBuffer+="? "}pairBuffer+=state.dump+": ";if(!writeNode(state,level,objectValue,false,false)){continue}pairBuffer+=state.dump;_result+=pairBuffer}state.tag=_tag;state.dump="{"+_result+"}"}function writeBlockMapping(state,level,object,compact){var _result="",_tag=state.tag,objectKeyList=Object.keys(object),index,length,objectKey,objectValue,explicitPair,pairBuffer;for(index=0,length=objectKeyList.length;index1024;if(explicitPair){if(state.dump&&CHAR_LINE_FEED===state.dump.charCodeAt(0)){pairBuffer+="?"}else{pairBuffer+="? "}}pairBuffer+=state.dump;if(explicitPair){pairBuffer+=generateNextLine(state,level)}if(!writeNode(state,level+1,objectValue,true,explicitPair)){continue}if(state.dump&&CHAR_LINE_FEED===state.dump.charCodeAt(0)){pairBuffer+=":"}else{pairBuffer+=": "}pairBuffer+=state.dump;_result+=pairBuffer}state.tag=_tag;state.dump=_result||"{}"}function detectType(state,object,explicit){var _result,typeList,index,length,type,style;typeList=explicit?state.explicitTypes:state.implicitTypes;for(index=0,length=typeList.length;index tag resolver accepts not "'+style+'" style')}state.dump=_result}return true}}return false}function writeNode(state,level,object,block,compact){state.tag=null;state.dump=object;if(!detectType(state,object,false)){detectType(state,object,true)}var type=_toString.call(state.dump);if(block){block=0>state.flowLevel||state.flowLevel>level}if(null!==state.tag&&"?"!==state.tag||2!==state.indent&&level>0){compact=false}var objectOrArray="[object Object]"===type||"[object Array]"===type,duplicateIndex,duplicate;if(objectOrArray){duplicateIndex=state.duplicates.indexOf(object);duplicate=duplicateIndex!==-1}if(duplicate&&state.usedDuplicates[duplicateIndex]){state.dump="*ref_"+duplicateIndex}else{if(objectOrArray&&duplicate&&!state.usedDuplicates[duplicateIndex]){state.usedDuplicates[duplicateIndex]=true}if("[object Object]"===type){if(block&&0!==Object.keys(state.dump).length){writeBlockMapping(state,level,state.dump,compact);if(duplicate){state.dump="&ref_"+duplicateIndex+(0===level?"\n":"")+state.dump}}else{writeFlowMapping(state,level,state.dump);if(duplicate){state.dump="&ref_"+duplicateIndex+" "+state.dump}}}else if("[object Array]"===type){if(block&&0!==state.dump.length){writeBlockSequence(state,level,state.dump,compact);if(duplicate){state.dump="&ref_"+duplicateIndex+(0===level?"\n":"")+state.dump}}else{writeFlowSequence(state,level,state.dump);if(duplicate){state.dump="&ref_"+duplicateIndex+" "+state.dump}}}else if("[object String]"===type){if("?"!==state.tag){writeScalar(state,state.dump,level)}}else{if(state.skipInvalid){return false}throw new YAMLException("unacceptable kind of an object to dump "+type)}if(null!==state.tag&&"?"!==state.tag){state.dump="!<"+state.tag+"> "+state.dump}}return true}function getDuplicateReferences(object,state){var objects=[],duplicatesIndexes=[],index,length;inspectNode(object,objects,duplicatesIndexes);for(index=0,length=duplicatesIndexes.length;index>10)+55296,(c-65536&1023)+56320)}var simpleEscapeCheck=new Array(256);var simpleEscapeMap=new Array(256);var customEscapeCheck=new Array(256);var customEscapeMap=new Array(256);for(var i=0;i<256;i++){customEscapeMap[i]=simpleEscapeMap[i]=simpleEscapeSequence(i);simpleEscapeCheck[i]=simpleEscapeMap[i]?1:0;customEscapeCheck[i]=1;if(!simpleEscapeCheck[i]){customEscapeMap[i]="\\"+String.fromCharCode(i)}}var State=function(){function State(input,options){this.errorMap={};this.errors=[];this.lines=[];this.input=input;this.filename=options["filename"]||null;this.schema=options["schema"]||DEFAULT_FULL_SCHEMA;this.onWarning=options["onWarning"]||null;this.legacy=options["legacy"]||false;this.allowAnyEscape=options["allowAnyEscape"]||false;this.ignoreDuplicateKeys=options["ignoreDuplicateKeys"]||false;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=input.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.documents=[]}return State}();function generateError(state,message,isWarning){if(isWarning===void 0){isWarning=false}return new YAMLException(message,new Mark(state.filename,state.input,state.position,state.line,state.position-state.lineStart),isWarning)}function throwErrorFromPosition(state,position,message,isWarning,toLineEnd){if(isWarning===void 0){isWarning=false}if(toLineEnd===void 0){toLineEnd=false}var line=positionToLine(state,position);if(!line){return}var hash=message+position;if(state.errorMap[hash]){return}var mark=new Mark(state.filename,state.input,position,line.line,position-line.start);if(toLineEnd){mark.toLineEnd=true}var error=new YAMLException(message,mark,isWarning);state.errors.push(error)}function throwError(state,message){var error=generateError(state,message);var hash=error.message+error.mark.position;if(state.errorMap[hash]){return}state.errors.push(error);state.errorMap[hash]=1;var or=state.position;while(true){if(state.position>=state.input.length-1){return}var c=state.input.charAt(state.position);if(c=="\n"){state.position--;if(state.position==or){state.position+=1}return}if(c=="\r"){state.position--;if(state.position==or){state.position+=1}return}state.position++}}function throwWarning(state,message){var error=generateError(state,message);if(state.onWarning){state.onWarning.call(null,error)}else{}}var directiveHandlers={YAML:function handleYamlDirective(state,name,args){var match,major,minor;if(null!==state.version){throwError(state,"duplication of %YAML directive")}if(1!==args.length){throwError(state,"YAML directive accepts exactly one argument")}match=/^([0-9]+)\.([0-9]+)$/.exec(args[0]);if(null===match){throwError(state,"ill-formed argument of the YAML directive")}major=parseInt(match[1],10);minor=parseInt(match[2],10);if(1!==major){throwError(state,"found incompatible YAML document (version 1.2 is required)")}state.version=args[0];state.checkLineBreaks=minor<2;if(2!==minor){throwError(state,"found incompatible YAML document (version 1.2 is required)")}},TAG:function handleTagDirective(state,name,args){var handle,prefix;if(2!==args.length){throwError(state,"TAG directive accepts exactly two arguments")}handle=args[0];prefix=args[1];if(!PATTERN_TAG_HANDLE.test(handle)){throwError(state,"ill-formed tag handle (first argument) of the TAG directive")}if(_hasOwnProperty.call(state.tagMap,handle)){throwError(state,'there is a previously declared suffix for "'+handle+'" tag handle')}if(!PATTERN_TAG_URI.test(prefix)){throwError(state,"ill-formed tag prefix (second argument) of the TAG directive")}state.tagMap[handle]=prefix}};function captureSegment(state,start,end,checkJson){var _position,_length,_character,_result;var scalar=state.result;if(scalar.startPosition==-1){scalar.startPosition=start}if(start<=end){_result=state.input.slice(start,end);if(checkJson){for(_position=0,_length=_result.length;_position<_length;_position+=1){_character=_result.charCodeAt(_position);if(!(9===_character||32<=_character&&_character<=1114111)){throwError(state,"expected valid JSON character")}}}else if(PATTERN_NON_PRINTABLE.test(_result)){throwError(state,"the stream contains non-printable characters")}scalar.value+=_result;scalar.endPosition=end}}function mergeMappings(state,destination,source){var sourceKeys,key,index,quantity;if(!common.isObject(source)){throwError(state,"cannot merge mappings; the provided source object is unacceptable")}sourceKeys=Object.keys(source);for(index=0,quantity=sourceKeys.length;indexposition){break}line=state.lines[i]}if(!line){return{start:0,line:0}}return line}function skipSeparationSpace(state,allowComments,checkIndent){var lineBreaks=0,ch=state.input.charCodeAt(state.position);while(0!==ch){while(is_WHITE_SPACE(ch)){if(ch===9){state.errors.push(generateError(state,"Using tabs can lead to unpredictable results",true))}ch=state.input.charCodeAt(++state.position)}if(allowComments&&35===ch){do{ch=state.input.charCodeAt(++state.position)}while(ch!==10&&ch!==13&&0!==ch)}if(is_EOL(ch)){readLineBreak(state);ch=state.input.charCodeAt(state.position);lineBreaks++;state.lineIndent=0;while(32===ch){state.lineIndent++;ch=state.input.charCodeAt(++state.position)}}else{break}}if(-1!==checkIndent&&0!==lineBreaks&&state.lineIndent1){scalar.value+=common.repeat("\n",count-1)}}function readPlainScalar(state,nodeIndent,withinFlowCollection){var preceding,following,captureStart,captureEnd,hasPendingContent,_line,_lineStart,_lineIndent,_kind=state.kind,_result=state.result,ch;var state_result=ast.newScalar();state_result.plainScalar=true;state.result=state_result;ch=state.input.charCodeAt(state.position);if(is_WS_OR_EOL(ch)||is_FLOW_INDICATOR(ch)||35===ch||38===ch||42===ch||33===ch||124===ch||62===ch||39===ch||34===ch||37===ch||64===ch||96===ch){return false}if(63===ch||45===ch){following=state.input.charCodeAt(state.position+1);if(is_WS_OR_EOL(following)||withinFlowCollection&&is_FLOW_INDICATOR(following)){return false}}state.kind="scalar";captureStart=captureEnd=state.position;hasPendingContent=false;while(0!==ch){if(58===ch){following=state.input.charCodeAt(state.position+1);if(is_WS_OR_EOL(following)||withinFlowCollection&&is_FLOW_INDICATOR(following)){break}}else if(35===ch){preceding=state.input.charCodeAt(state.position-1);if(is_WS_OR_EOL(preceding)){break}}else if(state.position===state.lineStart&&testDocumentSeparator(state)||withinFlowCollection&&is_FLOW_INDICATOR(ch)){break}else if(is_EOL(ch)){_line=state.line;_lineStart=state.lineStart;_lineIndent=state.lineIndent;skipSeparationSpace(state,false,-1);if(state.lineIndent>=nodeIndent){hasPendingContent=true;ch=state.input.charCodeAt(state.position);continue}else{state.position=captureEnd;state.line=_line;state.lineStart=_lineStart;state.lineIndent=_lineIndent;break}}if(hasPendingContent){captureSegment(state,captureStart,captureEnd,false);writeFoldedLines(state,state_result,state.line-_line);captureStart=captureEnd=state.position;hasPendingContent=false}if(!is_WHITE_SPACE(ch)){captureEnd=state.position+1}ch=state.input.charCodeAt(++state.position);if(state.position>=state.input.length){return false}}captureSegment(state,captureStart,captureEnd,false);if(state.result.startPosition!=-1){state_result.rawValue=state.input.substring(state_result.startPosition,state_result.endPosition);return true}state.kind=_kind;state.result=_result;return false}function readSingleQuotedScalar(state,nodeIndent){var ch,captureStart,captureEnd;ch=state.input.charCodeAt(state.position);if(39!==ch){return false}var scalar=ast.newScalar();scalar.singleQuoted=true;state.kind="scalar";state.result=scalar;scalar.startPosition=state.position;state.position++;captureStart=captureEnd=state.position;while(0!==(ch=state.input.charCodeAt(state.position))){if(39===ch){captureSegment(state,captureStart,state.position,true);ch=state.input.charCodeAt(++state.position);scalar.endPosition=state.position;if(39===ch){captureStart=captureEnd=state.position;state.position++}else{return true}}else if(is_EOL(ch)){captureSegment(state,captureStart,captureEnd,true);writeFoldedLines(state,scalar,skipSeparationSpace(state,false,nodeIndent));captureStart=captureEnd=state.position}else if(state.position===state.lineStart&&testDocumentSeparator(state)){throwError(state,"unexpected end of the document within a single quoted scalar")}else{state.position++;captureEnd=state.position;scalar.endPosition=state.position}}throwError(state,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(state,nodeIndent){var captureStart,captureEnd,hexLength,hexResult,tmp,tmpEsc,ch;ch=state.input.charCodeAt(state.position);if(34!==ch){return false}state.kind="scalar";var scalar=ast.newScalar();scalar.doubleQuoted=true;state.result=scalar;scalar.startPosition=state.position;state.position++;captureStart=captureEnd=state.position;while(0!==(ch=state.input.charCodeAt(state.position))){if(34===ch){captureSegment(state,captureStart,state.position,true);state.position++;scalar.endPosition=state.position;scalar.rawValue=state.input.substring(scalar.startPosition,scalar.endPosition);return true}else if(92===ch){captureSegment(state,captureStart,state.position,true);ch=state.input.charCodeAt(++state.position);if(is_EOL(ch)){skipSeparationSpace(state,false,nodeIndent)}else if(ch<256&&(state.allowAnyEscape?customEscapeCheck[ch]:simpleEscapeCheck[ch])){scalar.value+=state.allowAnyEscape?customEscapeMap[ch]:simpleEscapeMap[ch];state.position++}else if((tmp=escapedHexLen(ch))>0){hexLength=tmp;hexResult=0;for(;hexLength>0;hexLength--){ch=state.input.charCodeAt(++state.position);if((tmp=fromHexCode(ch))>=0){hexResult=(hexResult<<4)+tmp}else{throwError(state,"expected hexadecimal character")}}scalar.value+=charFromCodepoint(hexResult);state.position++}else{throwError(state,"unknown escape sequence")}captureStart=captureEnd=state.position}else if(is_EOL(ch)){captureSegment(state,captureStart,captureEnd,true);writeFoldedLines(state,scalar,skipSeparationSpace(state,false,nodeIndent));captureStart=captureEnd=state.position}else if(state.position===state.lineStart&&testDocumentSeparator(state)){throwError(state,"unexpected end of the document within a double quoted scalar")}else{state.position++;captureEnd=state.position}}throwError(state,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(state,nodeIndent){var readNext=true,_line,_tag=state.tag,_result,_anchor=state.anchor,following,terminator,isPair,isExplicitPair,isMapping,keyNode,keyTag,valueNode,ch;ch=state.input.charCodeAt(state.position);if(ch===91){terminator=93;isMapping=false;_result=ast.newItems();_result.startPosition=state.position}else if(ch===123){terminator=125;isMapping=true;_result=ast.newMap();_result.startPosition=state.position}else{return false}if(null!==state.anchor){_result.anchorId=state.anchor;state.anchorMap[state.anchor]=_result}ch=state.input.charCodeAt(++state.position);while(0!==ch){skipSeparationSpace(state,true,nodeIndent);ch=state.input.charCodeAt(state.position);if(ch===terminator){state.position++;state.tag=_tag;state.anchor=_anchor;state.kind=isMapping?"mapping":"sequence";state.result=_result;_result.endPosition=state.position;return true}else if(!readNext){var p=state.position;throwError(state,"missed comma between flow collection entries");state.position=p+1}keyTag=keyNode=valueNode=null;isPair=isExplicitPair=false;if(63===ch){following=state.input.charCodeAt(state.position+1);if(is_WS_OR_EOL(following)){isPair=isExplicitPair=true;state.position++;skipSeparationSpace(state,true,nodeIndent)}}_line=state.line;composeNode(state,nodeIndent,CONTEXT_FLOW_IN,false,true);keyTag=state.tag;keyNode=state.result;skipSeparationSpace(state,true,nodeIndent);ch=state.input.charCodeAt(state.position);if((isExplicitPair||state.line===_line)&&58===ch){isPair=true;ch=state.input.charCodeAt(++state.position);skipSeparationSpace(state,true,nodeIndent);composeNode(state,nodeIndent,CONTEXT_FLOW_IN,false,true);valueNode=state.result}if(isMapping){storeMappingPair(state,_result,keyTag,keyNode,valueNode)}else if(isPair){var mp=storeMappingPair(state,null,keyTag,keyNode,valueNode);mp.parent=_result;_result.items.push(mp)}else{if(keyNode){keyNode.parent=_result}_result.items.push(keyNode)}_result.endPosition=state.position+1;skipSeparationSpace(state,true,nodeIndent);ch=state.input.charCodeAt(state.position);if(44===ch){readNext=true;ch=state.input.charCodeAt(++state.position)}else{readNext=false}}throwError(state,"unexpected end of the stream within a flow collection")}function readBlockScalar(state,nodeIndent){var captureStart,folding,chomping=CHOMPING_CLIP,detectedIndent=false,textIndent=nodeIndent,emptyLines=0,atMoreIndented=false,tmp,ch;ch=state.input.charCodeAt(state.position);if(ch===124){folding=false}else if(ch===62){folding=true}else{return false}var sc=ast.newScalar();state.kind="scalar";state.result=sc;sc.startPosition=state.position;while(0!==ch){ch=state.input.charCodeAt(++state.position);if(43===ch||45===ch){if(CHOMPING_CLIP===chomping){chomping=43===ch?CHOMPING_KEEP:CHOMPING_STRIP}else{throwError(state,"repeat of a chomping mode identifier")}}else if((tmp=fromDecimalCode(ch))>=0){if(tmp===0){throwError(state,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!detectedIndent){textIndent=nodeIndent+tmp-1;detectedIndent=true}else{throwError(state,"repeat of an indentation width identifier")}}else{break}}if(is_WHITE_SPACE(ch)){do{ch=state.input.charCodeAt(++state.position)}while(is_WHITE_SPACE(ch));if(35===ch){do{ch=state.input.charCodeAt(++state.position)}while(!is_EOL(ch)&&0!==ch)}}while(0!==ch){readLineBreak(state);state.lineIndent=0;ch=state.input.charCodeAt(state.position);while((!detectedIndent||state.lineIndenttextIndent){textIndent=state.lineIndent}if(is_EOL(ch)){emptyLines++;continue}if(state.lineIndentnodeIndent)&&0!==ch){throwError(state,"bad indentation of a sequence entry")}else if(state.lineIndent0){ch=state.input.charCodeAt(--state.position);if(is_EOL(ch)){state.position++;break}}}else{state.tag=_tag;state.anchor=_anchor;return true}}else{break}if(state.line===_line||state.lineIndent>nodeIndent){if(composeNode(state,nodeIndent,CONTEXT_BLOCK_OUT,true,allowCompact)){if(atExplicitKey){keyNode=state.result}else{valueNode=state.result}}if(!atExplicitKey){storeMappingPair(state,_result,keyTag,keyNode,valueNode);keyTag=keyNode=valueNode=null}skipSeparationSpace(state,true,-1);ch=state.input.charCodeAt(state.position)}if(state.lineIndent>nodeIndent&&0!==ch){throwError(state,"bad indentation of a mapping entry")}else if(state.lineIndentparentIndent){indentStatus=1}else if(state.lineIndent===parentIndent){indentStatus=0}else if(state.lineIndentparentIndent){indentStatus=1}else if(state.lineIndent===parentIndent){indentStatus=0}else if(state.lineIndent tag; it should be "'+type.kind+'", not "'+state.kind+'"')}if(!type.resolve(state.result)){throwError(state,"cannot resolve a node with !<"+state.tag+"> explicit tag")}else{state.result=type.construct(state.result);if(null!==state.anchor){state.result.anchorId=state.anchor;state.anchorMap[state.anchor]=state.result}}}else{throwErrorFromPosition(state,tagStart,"unknown tag <"+state.tag+">",false,true)}}return null!==state.tag||null!==state.anchor||hasContent}function readDocument(state){var documentStart=state.position,_position,directiveName,directiveArgs,hasDirectives=false,ch;state.version=null;state.checkLineBreaks=state.legacy;state.tagMap={};state.anchorMap={};while(0!==(ch=state.input.charCodeAt(state.position))){skipSeparationSpace(state,true,-1);ch=state.input.charCodeAt(state.position);if(state.lineIndent>0||37!==ch){break}hasDirectives=true;ch=state.input.charCodeAt(++state.position);_position=state.position;while(0!==ch&&!is_WS_OR_EOL(ch)){ch=state.input.charCodeAt(++state.position)}directiveName=state.input.slice(_position,state.position);directiveArgs=[];if(directiveName.length<1){throwError(state,"directive name must not be less than one character in length")}while(0!==ch){while(is_WHITE_SPACE(ch)){ch=state.input.charCodeAt(++state.position)}if(35===ch){do{ch=state.input.charCodeAt(++state.position)}while(0!==ch&&!is_EOL(ch));break}if(is_EOL(ch)){break}_position=state.position;while(0!==ch&&!is_WS_OR_EOL(ch)){ch=state.input.charCodeAt(++state.position)}directiveArgs.push(state.input.slice(_position,state.position))}if(0!==ch){readLineBreak(state)}if(_hasOwnProperty.call(directiveHandlers,directiveName)){directiveHandlers[directiveName](state,directiveName,directiveArgs)}else{throwWarning(state,'unknown document directive "'+directiveName+'"');state.position++}}skipSeparationSpace(state,true,-1);if(0===state.lineIndent&&45===state.input.charCodeAt(state.position)&&45===state.input.charCodeAt(state.position+1)&&45===state.input.charCodeAt(state.position+2)){state.position+=3;skipSeparationSpace(state,true,-1)}else if(hasDirectives){throwError(state,"directives end mark is expected")}composeNode(state,state.lineIndent-1,CONTEXT_BLOCK_OUT,false,true);skipSeparationSpace(state,true,-1);if(state.checkLineBreaks&&PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart,state.position))){throwWarning(state,"non-ASCII line breaks are interpreted as content")}state.documents.push(state.result);if(state.position===state.lineStart&&testDocumentSeparator(state)){if(46===state.input.charCodeAt(state.position)){state.position+=3;skipSeparationSpace(state,true,-1)}return}if(state.position0){documents[docsCount-1].endPosition=inputLength}for(var _i=0,documents_1=documents;_ix.endPosition){x.startPosition=x.endPosition}}return documents}function loadAll(input,iterator,options){if(options===void 0){options={}}var documents=loadDocuments(input,options),index,length;for(index=0,length=documents.length;index0&&-1==="\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(start-1))){start-=1;if(this.position-start>maxLength/2-1){head=" ... ";start+=5;break}}tail="";end=this.position;while(endmaxLength/2-1){tail=" ... ";end-=5;break}}snippet=this.buffer.slice(start,end);return common.repeat(" ",indent)+head+snippet+tail+"\n"+common.repeat(" ",indent+this.position-start+head.length)+"^"};Mark.prototype.toString=function(compact){if(compact===void 0){compact=true}var snippet,where="";if(this.name){where+='in "'+this.name+'" '}where+="at line "+(this.line+1)+", column "+(this.column+1);if(!compact){snippet=this.getSnippet();if(snippet){where+=":\n"+snippet}}return where};return Mark}();module.exports=Mark},{"./common":229}],235:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function parseYamlBoolean(input){if(["true","True","TRUE"].lastIndexOf(input)>=0){return true}else if(["false","False","FALSE"].lastIndexOf(input)>=0){return false}throw'Invalid boolean "'+input+'"'}exports.parseYamlBoolean=parseYamlBoolean;function safeParseYamlInteger(input){if(input.lastIndexOf("0o",0)===0){return parseInt(input.substring(2),8)}return parseInt(input)}function parseYamlInteger(input){var result=safeParseYamlInteger(input);if(isNaN(result)){throw'Invalid integer "'+input+'"'}return result}exports.parseYamlInteger=parseYamlInteger;function parseYamlFloat(input){if([".nan",".NaN",".NAN"].lastIndexOf(input)>=0){return NaN}var infinity=/^([-+])?(?:\.inf|\.Inf|\.INF)$/;var match=infinity.exec(input);if(match){return match[1]==="-"?-Infinity:Infinity}var result=parseFloat(input);if(!isNaN(result)){return result}throw'Invalid float "'+input+'"'}exports.parseYamlFloat=parseYamlFloat;var ScalarType;(function(ScalarType){ScalarType[ScalarType["null"]=0]="null";ScalarType[ScalarType["bool"]=1]="bool";ScalarType[ScalarType["int"]=2]="int";ScalarType[ScalarType["float"]=3]="float";ScalarType[ScalarType["string"]=4]="string"})(ScalarType=exports.ScalarType||(exports.ScalarType={}));function determineScalarType(node){if(node===undefined){return ScalarType.null}if(node.doubleQuoted||!node.plainScalar||node["singleQuoted"]){return ScalarType.string}var value=node.value;if(["null","Null","NULL","~",""].indexOf(value)>=0){return ScalarType.null}if(value===null||value===undefined){return ScalarType.null}if(["true","True","TRUE","false","False","FALSE"].indexOf(value)>=0){return ScalarType.bool}var base10=/^[-+]?[0-9]+$/;var base8=/^0o[0-7]+$/;var base16=/^0x[0-9a-fA-F]+$/;if(base10.test(value)||base8.test(value)||base16.test(value)){return ScalarType.int}var float=/^[-+]?(\.[0-9]+|[0-9]+(\.[0-9]*)?)([eE][-+]?[0-9]+)?$/;var infinity=/^[-+]?(\.inf|\.Inf|\.INF)$/;if(float.test(value)||infinity.test(value)||[".nan",".NaN",".NAN"].indexOf(value)>=0){return ScalarType.float}return ScalarType.string}exports.determineScalarType=determineScalarType},{}],236:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var common=require("./common");var YAMLException=require("./exception");var type_1=require("./type");function compileList(schema,name,result){var exclude=[];schema.include.forEach(function(includedSchema){result=compileList(includedSchema,name,result)});schema[name].forEach(function(currentType){result.forEach(function(previousType,previousIndex){if(previousType.tag===currentType.tag){exclude.push(previousIndex)}});result.push(currentType)});return result.filter(function(type,index){return-1===exclude.indexOf(index)})}function compileMap(){var result={},index,length;function collectType(type){result[type.tag]=type}for(index=0,length=arguments.length;index64){continue}if(code<0){return false}bitlen+=6}return bitlen%8===0}function constructYamlBinary(data){var code,idx,tailbits,input=data.replace(/[\r\n=]/g,""),max=input.length,map=BASE64_MAP,bits=0,result=[];for(idx=0;idx>16&255);result.push(bits>>8&255);result.push(bits&255)}bits=bits<<6|map.indexOf(input.charAt(idx))}tailbits=max%4*6;if(tailbits===0){result.push(bits>>16&255);result.push(bits>>8&255);result.push(bits&255)}else if(tailbits===18){result.push(bits>>10&255);result.push(bits>>2&255)}else if(tailbits===12){result.push(bits>>4&255)}if(NodeBuffer){return new NodeBuffer(result)}return result}function representYamlBinary(object){var result="",bits=0,idx,tail,max=object.length,map=BASE64_MAP;for(idx=0;idx>18&63];result+=map[bits>>12&63];result+=map[bits>>6&63];result+=map[bits&63]}bits=(bits<<8)+object[idx]}tail=max%3;if(tail===0){result+=map[bits>>18&63];result+=map[bits>>12&63];result+=map[bits>>6&63];result+=map[bits&63]}else if(tail===2){result+=map[bits>>10&63];result+=map[bits>>4&63];result+=map[bits<<2&63];result+=map[64]}else if(tail===1){result+=map[bits>>2&63];result+=map[bits<<4&63];result+=map[64];result+=map[64]}return result}function isBinary(object){return NodeBuffer&&NodeBuffer.isBuffer(object)}module.exports=new type_1.Type("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary})},{"../type":242,buffer:150}],244:[function(require,module,exports){"use strict";"use strict";var type_1=require("../type");function resolveYamlBoolean(data){if(null===data){return false}var max=data.length;return max===4&&(data==="true"||data==="True"||data==="TRUE")||max===5&&(data==="false"||data==="False"||data==="FALSE")}function constructYamlBoolean(data){return data==="true"||data==="True"||data==="TRUE"}function isBoolean(object){return"[object Boolean]"===Object.prototype.toString.call(object)}module.exports=new type_1.Type("tag:yaml.org,2002:bool",{kind:"scalar",resolve:resolveYamlBoolean,construct:constructYamlBoolean,predicate:isBoolean,represent:{lowercase:function(object){return object?"true":"false"},uppercase:function(object){return object?"TRUE":"FALSE"},camelcase:function(object){return object?"True":"False"}},defaultStyle:"lowercase"})},{"../type":242}],245:[function(require,module,exports){"use strict";var common=require("../common");var type_1=require("../type");var YAML_FLOAT_PATTERN=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)\\.[0-9_]*(?:[eE][-+][0-9]+)?"+"|\\.[0-9_]+(?:[eE][-+][0-9]+)?"+"|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(data){if(null===data){return false}var value,sign,base,digits;if(!YAML_FLOAT_PATTERN.test(data)){return false}return true}function constructYamlFloat(data){var value,sign,base,digits;value=data.replace(/_/g,"").toLowerCase();sign="-"===value[0]?-1:1;digits=[];if(0<="+-".indexOf(value[0])){value=value.slice(1)}if(".inf"===value){return 1===sign?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(".nan"===value){return NaN}else if(0<=value.indexOf(":")){value.split(":").forEach(function(v){digits.unshift(parseFloat(v,10))});value=0;base=1;digits.forEach(function(d){value+=d*base;base*=60});return sign*value}return sign*parseFloat(value,10)}function representYamlFloat(object,style){if(isNaN(object)){switch(style){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===object){switch(style){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===object){switch(style){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(common.isNegativeZero(object)){return"-0.0"}return object.toString(10)}function isFloat(object){return"[object Number]"===Object.prototype.toString.call(object)&&(0!==object%1||common.isNegativeZero(object))}module.exports=new type_1.Type("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"})},{"../common":229,"../type":242}],246:[function(require,module,exports){"use strict";var common=require("../common");var type_1=require("../type");function isHexCode(c){return 48<=c&&c<=57||65<=c&&c<=70||97<=c&&c<=102}function isOctCode(c){return 48<=c&&c<=55}function isDecCode(c){return 48<=c&&c<=57}function resolveYamlInteger(data){if(null===data){return false}var max=data.length,index=0,hasDigits=false,ch;if(!max){return false}ch=data[index];if(ch==="-"||ch==="+"){ch=data[++index]}if(ch==="0"){if(index+1===max){return true}ch=data[++index];if(ch==="b"){index++;for(;index3){return false}if(regexp[regexp.length-modifiers.length-1]!=="/"){return false}regexp=regexp.slice(1,regexp.length-modifiers.length-1)}try{var dummy=new RegExp(regexp,modifiers);return true}catch(error){return false}}function constructJavascriptRegExp(data){var regexp=data,tail=/\/([gim]*)$/.exec(data),modifiers="";if("/"===regexp[0]){if(tail){modifiers=tail[1]}regexp=regexp.slice(1,regexp.length-modifiers.length-1)}return new RegExp(regexp,modifiers)}function representJavascriptRegExp(object){var result="/"+object.source+"/";if(object.global){result+="g"}if(object.multiline){result+="m"}if(object.ignoreCase){result+="i"}return result}function isRegExp(object){return"[object RegExp]"===Object.prototype.toString.call(object)}module.exports=new type_1.Type("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:resolveJavascriptRegExp,construct:constructJavascriptRegExp,predicate:isRegExp,represent:representJavascriptRegExp})},{"../../type":242}],248:[function(require,module,exports){"use strict";var type_1=require("../../type");function resolveJavascriptUndefined(){return true}function constructJavascriptUndefined(){return undefined}function representJavascriptUndefined(){return""}function isUndefined(object){return"undefined"===typeof object}module.exports=new type_1.Type("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:resolveJavascriptUndefined,construct:constructJavascriptUndefined,predicate:isUndefined,represent:representJavascriptUndefined})},{"../../type":242}],249:[function(require,module,exports){"use strict";var type_1=require("../type");module.exports=new type_1.Type("tag:yaml.org,2002:map",{kind:"mapping",construct:function(data){return null!==data?data:{}}})},{"../type":242}],250:[function(require,module,exports){"use strict";var type_1=require("../type");function resolveYamlMerge(data){return"<<"===data||null===data}module.exports=new type_1.Type("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge})},{"../type":242}],251:[function(require,module,exports){"use strict";var type_1=require("../type");function resolveYamlNull(data){if(null===data){return true}var max=data.length;return max===1&&data==="~"||max===4&&(data==="null"||data==="Null"||data==="NULL")}function constructYamlNull(){return null}function isNull(object){return null===object}module.exports=new type_1.Type("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull,construct:constructYamlNull,predicate:isNull,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},{"../type":242}],252:[function(require,module,exports){"use strict";var type_1=require("../type");var _hasOwnProperty=Object.prototype.hasOwnProperty;var _toString=Object.prototype.toString;function resolveYamlOmap(data){if(null===data){return true}var objectKeys=[],index,length,pair,pairKey,pairHasKey,object=data;for(index=0,length=object.length;index{const channel=doc.channel(channelName);assignIdToParameters(channel.parameters())})}function assignUidToComponentSchemas(doc){if(doc.hasComponents()){for(const[key,s]of Object.entries(doc.components().schemas())){s.json()[String(xParserSchemaId)]=key}}}function assignUidToComponentParameterSchemas(doc){if(doc.hasComponents()){assignIdToParameters(doc.components().parameters())}}function assignNameToAnonymousMessages(doc){let anonymousMessageCounter=0;if(doc.hasChannels()){doc.channelNames().forEach(channelName=>{const channel=doc.channel(channelName);if(channel.hasPublish())addNameToKey(channel.publish().messages(),++anonymousMessageCounter);if(channel.hasSubscribe())addNameToKey(channel.subscribe().messages(),++anonymousMessageCounter)})}}function addNameToKey(messages,number){messages.forEach(m=>{if(m.name()===undefined&&m.ext(xParserMessageName)===undefined){m.json()[String(xParserMessageName)]=``}})}function assignIdToAnonymousSchemas(doc){let anonymousSchemaCounter=0;const callback=schema=>{if(!schema.uid()){schema.json()[String(xParserSchemaId)]=``}};traverseAsyncApiDocument(doc,callback)}module.exports={assignNameToComponentMessages:assignNameToComponentMessages,assignUidToParameterSchemas:assignUidToParameterSchemas,assignUidToComponentSchemas:assignUidToComponentSchemas,assignUidToComponentParameterSchemas:assignUidToComponentParameterSchemas,assignNameToAnonymousMessages:assignNameToAnonymousMessages,assignIdToAnonymousSchemas:assignIdToAnonymousSchemas}},{"./constants":4,"./iterators":8}],2:[function(require,module,exports){const Ajv=require("ajv");const ParserError=require("./errors/parser-error");const asyncapi=require("@asyncapi/specs");const{improveAjvErrors:improveAjvErrors}=require("./utils");const cloneDeep=require("lodash.clonedeep");const ajv=new Ajv({jsonPointers:true,allErrors:true,schemaId:"auto",logger:false});ajv.addMetaSchema(require("ajv/lib/refs/json-schema-draft-04.json"));module.exports={parse:parse,getMimeTypes:getMimeTypes};async function parse({message:message,originalAsyncAPIDocument:originalAsyncAPIDocument,fileFormat:fileFormat,parsedAsyncAPIDocument:parsedAsyncAPIDocument,pathToPayload:pathToPayload,defaultSchemaFormat:defaultSchemaFormat}){const payload=message.payload;if(!payload)return;message["x-parser-original-schema-format"]=message.schemaFormat||defaultSchemaFormat;message["x-parser-original-payload"]=cloneDeep(message.payload);const validate=getValidator(parsedAsyncAPIDocument.asyncapi);const valid=validate(payload);const errors=validate.errors&&[...validate.errors];if(!valid)throw new ParserError({type:"schema-validation-errors",title:"This is not a valid AsyncAPI Schema Object.",parsedJSON:parsedAsyncAPIDocument,validationErrors:improveAjvErrors(addFullPathToDataPath(errors,pathToPayload),originalAsyncAPIDocument,fileFormat)})}function getMimeTypes(){const mimeTypes=["application/schema;version=draft-07","application/schema+json;version=draft-07","application/schema+yaml;version=draft-07"];["2.0.0","2.1.0","2.2.0","2.3.0","2.4.0","2.5.0","2.6.0"].forEach(version=>{mimeTypes.push(`application/vnd.aai.asyncapi;version=${version}`,`application/vnd.aai.asyncapi+json;version=${version}`,`application/vnd.aai.asyncapi+yaml;version=${version}`)});return mimeTypes}function getValidator(version){let validate=ajv.getSchema(version);if(!validate){const payloadSchema=preparePayloadSchema(asyncapi[String(version)],version);ajv.addSchema(payloadSchema,version);validate=ajv.getSchema(version)}return validate}function preparePayloadSchema(asyncapiSchema,version){const payloadSchema=`http://asyncapi.com/definitions/${version}/schema.json`;const definitions=asyncapiSchema.definitions;delete definitions["http://json-schema.org/draft-07/schema"];delete definitions["http://json-schema.org/draft-04/schema"];return{$ref:payloadSchema,definitions:definitions}}function addFullPathToDataPath(errors,path){return errors.map(err=>({...err,...{dataPath:`${path}${err.dataPath}`}}))}},{"./errors/parser-error":6,"./utils":43,"@asyncapi/specs":88,ajv:106,"ajv/lib/refs/json-schema-draft-04.json":147,"lodash.clonedeep":193}],3:[function(require,module,exports){window.AsyncAPIParser=require("./index")},{"./index":7}],4:[function(require,module,exports){const xParserSpecParsed="x-parser-spec-parsed";const xParserSpecStringified="x-parser-spec-stringified";const xParserMessageName="x-parser-message-name";const xParserSchemaId="x-parser-schema-id";const xParserCircle="x-parser-circular";const xParserCircleProps="x-parser-circular-props";module.exports={xParserSpecParsed:xParserSpecParsed,xParserSpecStringified:xParserSpecStringified,xParserMessageName:xParserMessageName,xParserSchemaId:xParserSchemaId,xParserCircle:xParserCircle,xParserCircleProps:xParserCircleProps}},{}],5:[function(require,module,exports){const ParserError=require("./errors/parser-error");const Operation=require("./models/operation");const{parseUrlVariables:parseUrlVariables,getMissingProps:getMissingProps,groupValidationErrors:groupValidationErrors,tilde:tilde,parseUrlQueryParameters:parseUrlQueryParameters,setNotProvidedParams:setNotProvidedParams,getUnknownServers:getUnknownServers}=require("./utils");const validationError="validation-errors";function validateServerVariables(parsedJSON,asyncapiYAMLorJSON,initialFormat){const srvs=parsedJSON.servers;if(!srvs)return true;const srvsMap=new Map(Object.entries(srvs));const notProvidedVariables=new Map;const notProvidedExamplesInEnum=new Map;srvsMap.forEach((srvr,srvrName)=>{const variables=parseUrlVariables(srvr.url);const variablesObj=srvr.variables;const notProvidedServerVars=notProvidedVariables.get(tilde(srvrName));if(!variables)return;const missingServerVariables=getMissingProps(variables,variablesObj);if(missingServerVariables.length){notProvidedVariables.set(tilde(srvrName),notProvidedServerVars?notProvidedServerVars.concat(missingServerVariables):missingServerVariables)}if(variablesObj){setNotValidExamples(variablesObj,srvrName,notProvidedExamplesInEnum)}});if(notProvidedVariables.size){throw new ParserError({type:validationError,title:"Not all server variables are described with variable object",parsedJSON:parsedJSON,validationErrors:groupValidationErrors("servers","server does not have a corresponding variable object for",notProvidedVariables,asyncapiYAMLorJSON,initialFormat)})}if(notProvidedExamplesInEnum.size){throw new ParserError({type:validationError,title:"Check your server variables. The example does not match the enum list",parsedJSON:parsedJSON,validationErrors:groupValidationErrors("servers","server variable provides an example that does not match the enum list",notProvidedExamplesInEnum,asyncapiYAMLorJSON,initialFormat)})}return true}function setNotValidExamples(variables,srvrName,notProvidedExamplesInEnum){const variablesMap=new Map(Object.entries(variables));variablesMap.forEach((variable,variableName)=>{if(variable.enum&&variable.examples){const wrongExamples=variable.examples.filter(r=>!variable.enum.includes(r));if(wrongExamples.length){notProvidedExamplesInEnum.set(`${tilde(srvrName)}/variables/${tilde(variableName)}`,wrongExamples)}}})}function validateOperationId(parsedJSON,asyncapiYAMLorJSON,initialFormat,operations){const chnls=parsedJSON.channels;if(!chnls)return true;const chnlsMap=new Map(Object.entries(chnls));const duplicatedOperations=new Map;const allOperations=[];const addDuplicateToMap=(op,channelName,opName)=>{const operationId=op.operationId;if(!operationId)return;const operationPath=`${tilde(channelName)}/${opName}/operationId`;const isOperationIdDuplicated=allOperations.filter(v=>v[0]===operationId);if(!isOperationIdDuplicated.length)return allOperations.push([operationId,operationPath]);duplicatedOperations.set(operationPath,isOperationIdDuplicated[0][1])};chnlsMap.forEach((chnlObj,chnlName)=>{operations.forEach(opName=>{const op=chnlObj[String(opName)];if(op)addDuplicateToMap(op,chnlName,opName)})});if(duplicatedOperations.size){throw new ParserError({type:validationError,title:"operationId must be unique across all the operations.",parsedJSON:parsedJSON,validationErrors:groupValidationErrors("channels","is a duplicate of",duplicatedOperations,asyncapiYAMLorJSON,initialFormat)})}return true}function validateMessageId(parsedJSON,asyncapiYAMLorJSON,initialFormat,operations){const chnls=parsedJSON.channels;if(!chnls)return true;const chnlsMap=new Map(Object.entries(chnls));const duplicatedMessages=new Map;const allMessages=[];const addDuplicateToMap=(msg,channelName,opName,oneOf="")=>{const messageId=msg.messageId;if(!messageId)return;const messagePath=`${tilde(channelName)}/${opName}/message${oneOf}/messageId`;const isMessageIdDuplicated=allMessages.find(v=>v[0]===messageId);if(!isMessageIdDuplicated)return allMessages.push([messageId,messagePath]);duplicatedMessages.set(messagePath,isMessageIdDuplicated[1])};chnlsMap.forEach((chnlObj,chnlName)=>{operations.forEach(opName=>{const op=chnlObj[String(opName)];if(op&&op.message){if(op.message.oneOf)op.message.oneOf.forEach((msg,index)=>addDuplicateToMap(msg,chnlName,opName,`/oneOf/${index}`));else addDuplicateToMap(op.message,chnlName,opName)}})});if(duplicatedMessages.size){throw new ParserError({type:validationError,title:"messageId must be unique across all the messages.",parsedJSON:parsedJSON,validationErrors:groupValidationErrors("channels","is a duplicate of",duplicatedMessages,asyncapiYAMLorJSON,initialFormat)})}return true}function validateServerSecurity(parsedJSON,asyncapiYAMLorJSON,initialFormat,specialSecTypes){const srvs=parsedJSON.servers;if(!srvs)return true;const root="servers";const srvsMap=new Map(Object.entries(srvs));const missingSecSchema=new Map,invalidSecurityValues=new Map;srvsMap.forEach((server,serverName)=>{const serverSecInfo=server.security;if(!serverSecInfo)return true;serverSecInfo.forEach(secObj=>{Object.keys(secObj).forEach(secName=>{const schema=findSecuritySchema(secName,parsedJSON.components);const srvrSecurityPath=`${serverName}/security/${secName}`;if(!schema.length)return missingSecSchema.set(srvrSecurityPath);const schemaType=schema[1];if(!isSrvrSecProperArray(schemaType,specialSecTypes,secObj,secName))invalidSecurityValues.set(srvrSecurityPath,schemaType)})})});if(missingSecSchema.size){throw new ParserError({type:validationError,title:"Server security name must correspond to a security scheme which is declared in the security schemes under the components object.",parsedJSON:parsedJSON,validationErrors:groupValidationErrors(root,"doesn't have a corresponding security schema under the components object",missingSecSchema,asyncapiYAMLorJSON,initialFormat)})}if(invalidSecurityValues.size){throw new ParserError({type:validationError,title:"Server security value must be an empty array if corresponding security schema type is not oauth2 or openIdConnect.",parsedJSON:parsedJSON,validationErrors:groupValidationErrors(root,"security info must have an empty array because its corresponding security schema type is",invalidSecurityValues,asyncapiYAMLorJSON,initialFormat)})}return true}function findSecuritySchema(securityName,components){const secSchemes=components&&components.securitySchemes;const secSchemesMap=secSchemes?new Map(Object.entries(secSchemes)):new Map;const schemaInfo=[];for(const[schemaName,schema]of secSchemesMap.entries()){if(schemaName===securityName){schemaInfo.push(schemaName,schema.type);return schemaInfo}}return schemaInfo}function isSrvrSecProperArray(schemaType,specialSecTypes,secObj,secName){if(!specialSecTypes.includes(schemaType)){const securityObjValue=secObj[String(secName)];return!securityObjValue.length}return true}function validateChannels(parsedJSON,asyncapiYAMLorJSON,initialFormat){const chnls=parsedJSON.channels;if(!chnls)return true;const chnlsMap=new Map(Object.entries(chnls));const notProvidedParams=new Map;const invalidChannelName=new Map;const unknownServers=new Map;chnlsMap.forEach((val,key)=>{const variables=parseUrlVariables(key);const notProvidedChannelParams=notProvidedParams.get(tilde(key));const queryParameters=parseUrlQueryParameters(key);const unknownServerNames=getUnknownServers(parsedJSON,val);if(variables){setNotProvidedParams(variables,val,key,notProvidedChannelParams,notProvidedParams)}if(queryParameters){invalidChannelName.set(tilde(key),queryParameters)}if(unknownServerNames.length>0){unknownServers.set(tilde(key),unknownServerNames)}});const parameterValidationErrors=groupValidationErrors("channels","channel does not have a corresponding parameter object for",notProvidedParams,asyncapiYAMLorJSON,initialFormat);const nameValidationErrors=groupValidationErrors("channels","channel contains invalid name with url query parameters",invalidChannelName,asyncapiYAMLorJSON,initialFormat);const serverValidationErrors=groupValidationErrors("channels","channel contains servers that are not on the servers list in the root of the document",unknownServers,asyncapiYAMLorJSON,initialFormat);const allValidationErrors=parameterValidationErrors.concat(nameValidationErrors).concat(serverValidationErrors);if(notProvidedParams.size||invalidChannelName.size||unknownServers.size){throw new ParserError({type:validationError,title:"Channel validation failed",parsedJSON:parsedJSON,validationErrors:allValidationErrors})}return true}function validateTags(parsedJSON,asyncapiYAMLorJSON,initialFormat){const invalidRoot=validateRootTags(parsedJSON);const invalidChannels=validateAllChannelsTags(parsedJSON);const invalidOperationTraits=validateOperationTraitTags(parsedJSON);const invalidMessages=validateMessageTags(parsedJSON);const invalidMessageTraits=validateMessageTraitsTags(parsedJSON);const errorMessage="contains duplicate tag names";let invalidRootValidationErrors=[];let invalidChannelsValidationErrors=[];let invalidOperationTraitsValidationErrors=[];let invalidMessagesValidationErrors=[];let invalidMessageTraitsValidationErrors=[];if(invalidRoot.size){invalidRootValidationErrors=groupValidationErrors(null,errorMessage,invalidRoot,asyncapiYAMLorJSON,initialFormat)}if(invalidChannels.size){invalidChannelsValidationErrors=groupValidationErrors("channels",errorMessage,invalidChannels,asyncapiYAMLorJSON,initialFormat)}if(invalidOperationTraits.size){invalidOperationTraitsValidationErrors=groupValidationErrors("components",errorMessage,invalidOperationTraits,asyncapiYAMLorJSON,initialFormat)}if(invalidMessages.size){invalidMessagesValidationErrors=groupValidationErrors("components",errorMessage,invalidMessages,asyncapiYAMLorJSON,initialFormat)}if(invalidMessageTraits.size){invalidMessageTraitsValidationErrors=groupValidationErrors("components",errorMessage,invalidMessageTraits,asyncapiYAMLorJSON,initialFormat)}const allValidationErrors=invalidRootValidationErrors.concat(invalidChannelsValidationErrors).concat(invalidOperationTraitsValidationErrors).concat(invalidMessagesValidationErrors).concat(invalidMessageTraitsValidationErrors);if(allValidationErrors.length){throw new ParserError({type:validationError,title:"Tags validation failed",parsedJSON:parsedJSON,validationErrors:allValidationErrors})}return true}function validateRootTags(parsedJSON){const invalidRoot=new Map;const duplicateNames=parsedJSON.tags&&getDuplicateTagNames(parsedJSON.tags);if(duplicateNames&&duplicateNames.length){invalidRoot.set("tags",duplicateNames.toString())}return invalidRoot}function validateOperationTraitTags(parsedJSON){const invalidOperationTraits=new Map;if(parsedJSON&&parsedJSON.components&&parsedJSON.components.operationTraits){Object.keys(parsedJSON.components.operationTraits).forEach(operationTrait=>{const duplicateNames=getDuplicateTagNames(parsedJSON.components.operationTraits[operationTrait].tags);if(duplicateNames&&duplicateNames.length){const operationTraitsPath=`operationTraits/${operationTrait}/tags`;invalidOperationTraits.set(operationTraitsPath,duplicateNames.toString())}})}return invalidOperationTraits}function validateAllChannelsTags(parsedJSON){const chnls=parsedJSON.channels;if(!chnls)return true;const chnlsMap=new Map(Object.entries(chnls));const invalidChannels=new Map;chnlsMap.forEach((channel,channelName)=>validateChannelTags(invalidChannels,channel,channelName));return invalidChannels}function validateChannelTags(invalidChannels,channel,channelName){if(channel.publish){validateOperationTags(invalidChannels,channel.publish,`${tilde(channelName)}/publish`)}if(channel.subscribe){validateOperationTags(invalidChannels,channel.subscribe,`${tilde(channelName)}/subscribe`)}}function validateOperationTags(invalidChannels,operation,operationPath){if(!operation)return;tryAddInvalidEntries(invalidChannels,`${operationPath}/tags`,operation.tags);if(operation.message){if(operation.message.oneOf){operation.message.oneOf.forEach((message,idx)=>{tryAddInvalidEntries(invalidChannels,`${operationPath}/message/oneOf/${idx}/tags`,message.tags)})}else{tryAddInvalidEntries(invalidChannels,`${operationPath}/message/tags`,operation.message.tags)}}}function tryAddInvalidEntries(invalidChannels,key,tags){const duplicateNames=tags&&getDuplicateTagNames(tags);if(duplicateNames&&duplicateNames.length){invalidChannels.set(key,duplicateNames.toString())}}function validateMessageTraitsTags(parsedJSON){const invalidMessageTraits=new Map;if(parsedJSON&&parsedJSON.components&&parsedJSON.components.messageTraits){Object.keys(parsedJSON.components.messageTraits).forEach(messageTrait=>{const duplicateNames=getDuplicateTagNames(parsedJSON.components.messageTraits[messageTrait].tags);if(duplicateNames&&duplicateNames.length){const messageTraitsPath=`messageTraits/${messageTrait}/tags`;invalidMessageTraits.set(messageTraitsPath,duplicateNames.toString())}})}return invalidMessageTraits}function validateMessageTags(parsedJSON){const invalidMessages=new Map;if(parsedJSON&&parsedJSON.components&&parsedJSON.components.messages){Object.keys(parsedJSON.components.messages).forEach(message=>{const duplicateNames=getDuplicateTagNames(parsedJSON.components.messages[message].tags);if(duplicateNames&&duplicateNames.length){const messagePath=`messages/${message}/tags`;invalidMessages.set(messagePath,duplicateNames.toString())}})}return invalidMessages}function getDuplicateTagNames(tags){if(!tags)return null;const tagNames=tags.map(item=>item.name);return tagNames.reduce((acc,item,idx,arr)=>{if(arr.indexOf(item)!==idx&&acc.indexOf(item)<0){acc.push(item)}return acc},[])}module.exports={validateServerVariables:validateServerVariables,validateOperationId:validateOperationId,validateMessageId:validateMessageId,validateServerSecurity:validateServerSecurity,validateChannels:validateChannels,validateTags:validateTags}},{"./errors/parser-error":6,"./models/operation":32,"./utils":43}],6:[function(require,module,exports){const ERROR_URL_PREFIX="https://github.com/asyncapi/parser-js/";const buildError=(from,to)=>{to.type=from.type.startsWith(ERROR_URL_PREFIX)?from.type:`${ERROR_URL_PREFIX}${from.type}`;to.title=from.title;if(from.detail)to.detail=from.detail;if(from.validationErrors)to.validationErrors=from.validationErrors;if(from.parsedJSON)to.parsedJSON=from.parsedJSON;if(from.location)to.location=from.location;if(from.refs)to.refs=from.refs;return to};class ParserError extends Error{constructor(def){super();buildError(def,this);this.message=def.title}toJS(){return buildError(this,{})}}module.exports=ParserError},{}],7:[function(require,module,exports){const parser=require("./parser");const defaultAsyncAPISchemaParser=require("./asyncapiSchemaFormatParser");parser.registerSchemaParser(defaultAsyncAPISchemaParser);module.exports=parser},{"./asyncapiSchemaFormatParser":2,"./parser":42}],8:[function(require,module,exports){const SchemaIteratorCallbackType=Object.freeze({NEW_SCHEMA:"NEW_SCHEMA",END_SCHEMA:"END_SCHEMA"});const SchemaTypesToIterate=Object.freeze({parameters:"parameters",payloads:"payloads",headers:"headers",components:"components",objects:"objects",arrays:"arrays",oneOfs:"oneOfs",allOfs:"allOfs",anyOfs:"anyOfs",nots:"nots",propertyNames:"propertyNames",patternProperties:"patternProperties",contains:"contains",ifs:"ifs",thenes:"thenes",elses:"elses",dependencies:"dependencies",definitions:"definitions"});function traverseSchema(schema,propOrIndex,options){if(!schema)return;const{callback:callback,schemaTypesToIterate:schemaTypesToIterate,seenSchemas:seenSchemas}=options;const jsonSchema=schema.json();if(seenSchemas.has(jsonSchema))return;seenSchemas.add(jsonSchema);let types=schema.type()||[];if(!Array.isArray(types)){types=[types]}if(!schemaTypesToIterate.includes(SchemaTypesToIterate.objects)&&types.includes("object"))return;if(!schemaTypesToIterate.includes(SchemaTypesToIterate.arrays)&&types.includes("array"))return;if(callback(schema,propOrIndex,SchemaIteratorCallbackType.NEW_SCHEMA)===false)return;if(schemaTypesToIterate.includes(SchemaTypesToIterate.objects)&&types.includes("object")){recursiveSchemaObject(schema,options)}if(schemaTypesToIterate.includes(SchemaTypesToIterate.arrays)&&types.includes("array")){recursiveSchemaArray(schema,options)}if(schemaTypesToIterate.includes(SchemaTypesToIterate.oneOfs)){(schema.oneOf()||[]).forEach((combineSchema,idx)=>{traverseSchema(combineSchema,idx,options)})}if(schemaTypesToIterate.includes(SchemaTypesToIterate.anyOfs)){(schema.anyOf()||[]).forEach((combineSchema,idx)=>{traverseSchema(combineSchema,idx,options)})}if(schemaTypesToIterate.includes(SchemaTypesToIterate.allOfs)){(schema.allOf()||[]).forEach((combineSchema,idx)=>{traverseSchema(combineSchema,idx,options)})}if(schemaTypesToIterate.includes(SchemaTypesToIterate.nots)&&schema.not()){traverseSchema(schema.not(),null,options)}if(schemaTypesToIterate.includes(SchemaTypesToIterate.ifs)&&schema.if()){traverseSchema(schema.if(),null,options)}if(schemaTypesToIterate.includes(SchemaTypesToIterate.thenes)&&schema.then()){traverseSchema(schema.then(),null,options)}if(schemaTypesToIterate.includes(SchemaTypesToIterate.elses)&&schema.else()){traverseSchema(schema.else(),null,options)}if(schemaTypesToIterate.includes(SchemaTypesToIterate.dependencies)){Object.entries(schema.dependencies()||{}).forEach(([depName,dep])=>{if(dep&&!Array.isArray(dep)){traverseSchema(dep,depName,options)}})}if(schemaTypesToIterate.includes(SchemaTypesToIterate.definitions)){Object.entries(schema.definitions()||{}).forEach(([defName,def])=>{traverseSchema(def,defName,options)})}callback(schema,propOrIndex,SchemaIteratorCallbackType.END_SCHEMA);seenSchemas.delete(jsonSchema)}function recursiveSchemaObject(schema,options){Object.entries(schema.properties()||{}).forEach(([propertyName,property])=>{traverseSchema(property,propertyName,options)});const additionalProperties=schema.additionalProperties();if(typeof additionalProperties==="object"){traverseSchema(additionalProperties,null,options)}const schemaTypesToIterate=options.schemaTypesToIterate;if(schemaTypesToIterate.includes(SchemaTypesToIterate.propertyNames)&&schema.propertyNames()){traverseSchema(schema.propertyNames(),null,options)}if(schemaTypesToIterate.includes(SchemaTypesToIterate.patternProperties)){Object.entries(schema.patternProperties()||{}).forEach(([propertyName,property])=>{traverseSchema(property,propertyName,options)})}}function recursiveSchemaArray(schema,options){const items=schema.items();if(items){if(Array.isArray(items)){items.forEach((item,idx)=>{traverseSchema(item,idx,options)})}else{traverseSchema(items,null,options)}}const additionalItems=schema.additionalItems();if(typeof additionalItems==="object"){traverseSchema(additionalItems,null,options)}if(options.schemaTypesToIterate.includes(SchemaTypesToIterate.contains)&&schema.contains()){traverseSchema(schema.contains(),null,options)}}function traverseAsyncApiDocument(doc,callback,schemaTypesToIterate){if(!schemaTypesToIterate){schemaTypesToIterate=Object.values(SchemaTypesToIterate)}const options={callback:callback,schemaTypesToIterate:schemaTypesToIterate,seenSchemas:new Set};if(doc.hasChannels()){Object.values(doc.channels()).forEach(channel=>{traverseChannel(channel,options)})}if(schemaTypesToIterate.includes(SchemaTypesToIterate.components)&&doc.hasComponents()){const components=doc.components();Object.values(components.messages()||{}).forEach(message=>{traverseMessage(message,options)});Object.values(components.schemas()||{}).forEach(schema=>{traverseSchema(schema,null,options)});if(schemaTypesToIterate.includes(SchemaTypesToIterate.parameters)){Object.values(components.parameters()||{}).forEach(parameter=>{traverseSchema(parameter.schema(),null,options)})}Object.values(components.messageTraits()||{}).forEach(messageTrait=>{traverseMessageTrait(messageTrait,options)})}}function traverseChannel(channel,options){if(!channel)return;const{schemaTypesToIterate:schemaTypesToIterate}=options;if(schemaTypesToIterate.includes(SchemaTypesToIterate.parameters)){Object.values(channel.parameters()||{}).forEach(parameter=>{traverseSchema(parameter.schema(),null,options)})}if(channel.hasPublish()){channel.publish().messages().forEach(message=>{traverseMessage(message,options)})}if(channel.hasSubscribe()){channel.subscribe().messages().forEach(message=>{traverseMessage(message,options)})}}function traverseMessage(message,options){if(!message)return;const{schemaTypesToIterate:schemaTypesToIterate}=options;if(schemaTypesToIterate.includes(SchemaTypesToIterate.headers)){traverseSchema(message.headers(),null,options)}if(schemaTypesToIterate.includes(SchemaTypesToIterate.payloads)){traverseSchema(message.payload(),null,options)}}function traverseMessageTrait(messageTrait,options){if(!messageTrait)return;const{schemaTypesToIterate:schemaTypesToIterate}=options;if(schemaTypesToIterate.includes(SchemaTypesToIterate.headers)){traverseSchema(messageTrait.headers(),null,options)}}module.exports={SchemaIteratorCallbackType:SchemaIteratorCallbackType,SchemaTypesToIterate:SchemaTypesToIterate,traverseAsyncApiDocument:traverseAsyncApiDocument}},{}],9:[function(require,module,exports){module.exports=((txt,reviver,context=20)=>{try{return JSON.parse(txt,reviver)}catch(e){handleJsonNotString(txt);const syntaxErr=e.message.match(/^Unexpected token.*position\s+(\d+)/i);const errIdxBrokenJson=e.message.match(/^Unexpected end of JSON.*/i)?txt.length-1:null;const errIdx=syntaxErr?+syntaxErr[1]:errIdxBrokenJson;handleErrIdxNotNull(e,txt,errIdx,context);e.offset=errIdx;const lines=txt.substr(0,errIdx).split("\n");e.startLine=lines.length;e.startColumn=lines[lines.length-1].length;throw e}});function handleJsonNotString(txt){if(typeof txt!=="string"){const isEmptyArray=Array.isArray(txt)&&txt.length===0;const errorMessage=`Cannot parse ${isEmptyArray?"an empty array":String(txt)}`;throw new TypeError(errorMessage)}}function handleErrIdxNotNull(e,txt,errIdx,context){if(errIdx!==null){const start=errIdx<=context?0:errIdx-context;const end=errIdx+context>=txt.length?txt.length:errIdx+context;e.message+=` while parsing near '${start===0?"":"..."}${txt.slice(start,end)}${end===txt.length?"":"..."}'`}else{e.message+=` while parsing '${txt.slice(0,context*2)}'`}}},{}],10:[function(require,module,exports){const{getMapValueByKey:getMapValueByKey}=require("../models/utils");const MixinBindings={hasBindings(){return!!(this._json.bindings&&Object.keys(this._json.bindings).length)},bindings(){return this.hasBindings()?this._json.bindings:{}},bindingProtocols(){return Object.keys(this.bindings())},hasBinding(name){return this.hasBindings()&&!!this._json.bindings[String(name)]},binding(name){return getMapValueByKey(this._json.bindings,name)}};module.exports=MixinBindings},{"../models/utils":41}],11:[function(require,module,exports){const{getMapValueByKey:getMapValueByKey}=require("../models/utils");const MixinDescription={hasDescription(){return!!this._json.description},description(){return getMapValueByKey(this._json,"description")}};module.exports=MixinDescription},{"../models/utils":41}],12:[function(require,module,exports){const{getMapValueOfType:getMapValueOfType}=require("../models/utils");const ExternalDocs=require("../models/external-docs");const MixinExternalDocs={hasExternalDocs(){return!!(this._json.externalDocs&&Object.keys(this._json.externalDocs).length)},externalDocs(){return getMapValueOfType(this._json,"externalDocs",ExternalDocs)}};module.exports=MixinExternalDocs},{"../models/external-docs":22,"../models/utils":41}],13:[function(require,module,exports){const MixinSpecificationExtensions={hasExtensions(){return!!this.extensionKeys().length},extensions(){const result={};Object.entries(this._json).forEach(([key,value])=>{if(/^x-[\w\d\.\-\_]+$/.test(key)){result[String(key)]=value}});return result},extensionKeys(){return Object.keys(this.extensions())},extKeys(){return this.extensionKeys()},hasExtension(key){if(!key.startsWith("x-")){return false}return!!this._json[String(key)]},extension(key){if(!key.startsWith("x-")){return null}return this._json[String(key)]},hasExt(key){return this.hasExtension(key)},ext(key){return this.extension(key)}};module.exports=MixinSpecificationExtensions},{}],14:[function(require,module,exports){const Tag=require("../models/tag");const MixinTags={hasTags(){return!!(Array.isArray(this._json.tags)&&this._json.tags.length)},tags(){return this.hasTags()?this._json.tags.map(t=>new Tag(t)):[]},tagNames(){return this.hasTags()?this._json.tags.map(t=>t.name):[]},hasTag(name){return this.hasTags()&&this._json.tags.some(t=>t.name===name)},tag(name){const tg=this.hasTags()&&this._json.tags.find(t=>t.name===name);return tg?new Tag(tg):null}};module.exports=MixinTags},{"../models/tag":40}],15:[function(require,module,exports){const{createMapOfType:createMapOfType,getMapValueOfType:getMapValueOfType,mix:mix}=require("./utils");const Base=require("./base");const Info=require("./info");const Server=require("./server");const Channel=require("./channel");const Components=require("./components");const MixinExternalDocs=require("../mixins/external-docs");const MixinTags=require("../mixins/tags");const MixinSpecificationExtensions=require("../mixins/specification-extensions");const{xParserSpecParsed:xParserSpecParsed,xParserSpecStringified:xParserSpecStringified,xParserCircle:xParserCircle}=require("../constants");const{assignNameToAnonymousMessages:assignNameToAnonymousMessages,assignNameToComponentMessages:assignNameToComponentMessages,assignUidToComponentSchemas:assignUidToComponentSchemas,assignUidToParameterSchemas:assignUidToParameterSchemas,assignIdToAnonymousSchemas:assignIdToAnonymousSchemas,assignUidToComponentParameterSchemas:assignUidToComponentParameterSchemas}=require("../anonymousNaming");const{traverseAsyncApiDocument:traverseAsyncApiDocument}=require("../iterators");class AsyncAPIDocument extends Base{constructor(...args){super(...args);if(this.ext(xParserSpecParsed)===true){return}assignNameToComponentMessages(this);assignNameToAnonymousMessages(this);assignUidToComponentSchemas(this);assignUidToComponentParameterSchemas(this);assignUidToParameterSchemas(this);assignIdToAnonymousSchemas(this);this.json()[String(xParserSpecParsed)]=true}version(){return this._json.asyncapi}info(){return new Info(this._json.info)}id(){return this._json.id}hasServers(){return!!this._json.servers}servers(){return createMapOfType(this._json.servers,Server)}serverNames(){if(!this._json.servers)return[];return Object.keys(this._json.servers)}server(name){return getMapValueOfType(this._json.servers,name,Server)}hasDefaultContentType(){return!!this._json.defaultContentType}defaultContentType(){return this._json.defaultContentType||null}hasChannels(){return!!this._json.channels}channels(){return createMapOfType(this._json.channels,Channel,this)}channelNames(){if(!this._json.channels)return[];return Object.keys(this._json.channels)}channel(name){return getMapValueOfType(this._json.channels,name,Channel,this)}hasComponents(){return!!this._json.components}components(){if(!this._json.components)return null;return new Components(this._json.components)}hasMessages(){return!!this.allMessages().size}allMessages(){const messages=new Map;if(this.hasChannels()){this.channelNames().forEach(channelName=>{const channel=this.channel(channelName);if(channel.hasPublish()){channel.publish().messages().forEach(m=>{messages.set(m.uid(),m)})}if(channel.hasSubscribe()){channel.subscribe().messages().forEach(m=>{messages.set(m.uid(),m)})}})}if(this.hasComponents()){Object.values(this.components().messages()).forEach(m=>{messages.set(m.uid(),m)})}return messages}allSchemas(){const schemas=new Map;const allSchemasCallback=schema=>{if(schema.uid()){schemas.set(schema.uid(),schema)}};traverseAsyncApiDocument(this,allSchemasCallback);return schemas}hasCircular(){return!!this._json[String(xParserCircle)]}traverseSchemas(callback,schemaTypesToIterate){traverseAsyncApiDocument(this,callback,schemaTypesToIterate)}static stringify(doc,space){const rawDoc=doc.json();const copiedDoc={...rawDoc};copiedDoc[String(xParserSpecStringified)]=true;return JSON.stringify(copiedDoc,refReplacer(),space)}static parse(doc){let parsedJSON=doc;if(typeof doc==="string"){parsedJSON=JSON.parse(doc)}else if(typeof doc==="object"){parsedJSON={...parsedJSON}}if(typeof parsedJSON!=="object"||!parsedJSON[String(xParserSpecParsed)]){throw new Error("Cannot parse invalid AsyncAPI document")}if(!parsedJSON[String(xParserSpecStringified)]){return new AsyncAPIDocument(parsedJSON)}delete parsedJSON[String(xParserSpecStringified)];const objToPath=new Map;const pathToObj=new Map;traverseStringifiedDoc(parsedJSON,undefined,parsedJSON,objToPath,pathToObj);return new AsyncAPIDocument(parsedJSON)}}function refReplacer(){const modelPaths=new Map;const paths=new Map;let init=null;return function(field,value){const pathPart=modelPaths.get(this)+(Array.isArray(this)?`[${field}]`:`.${field}`);const isComplex=value===Object(value);if(isComplex){modelPaths.set(value,pathPart)}const savedPath=paths.get(value)||"";if(!savedPath&&isComplex){const valuePath=pathPart.replace(/undefined\.\.?/,"");paths.set(value,valuePath)}const prefixPath=savedPath[0]==="["?"$":"$.";let val=savedPath?`$ref:${prefixPath}${savedPath}`:value;if(init===null){init=value}else if(val===init){val="$ref:$"}return val}}function traverseStringifiedDoc(parent,field,root,objToPath,pathToObj){let objOrPath=parent;let path="$ref:$";if(field!==undefined){objOrPath=parent[String(field)];const concatenatedPath=field?`.${field}`:"";path=objToPath.get(parent)+(Array.isArray(parent)?`[${field}]`:concatenatedPath)}objToPath.set(objOrPath,path);pathToObj.set(path,objOrPath);const ref=pathToObj.get(objOrPath);if(ref){parent[String(field)]=ref}if(objOrPath==="$ref:$"||ref==="$ref:$"){parent[String(field)]=root}if(objOrPath===Object(objOrPath)){for(const f in objOrPath){traverseStringifiedDoc(objOrPath,f,root,objToPath,pathToObj)}}}module.exports=mix(AsyncAPIDocument,MixinTags,MixinExternalDocs,MixinSpecificationExtensions)},{"../anonymousNaming":1,"../constants":4,"../iterators":8,"../mixins/external-docs":12,"../mixins/specification-extensions":13,"../mixins/tags":14,"./base":16,"./channel":18,"./components":19,"./info":23,"./server":38,"./utils":41}],16:[function(require,module,exports){const ParserError=require("../errors/parser-error");class Base{constructor(json){if(json===undefined||json===null)throw new ParserError(`Invalid JSON to instantiate the ${this.constructor.name} object.`);this._json=json}json(key){if(key===undefined)return this._json;if(!this._json)return;return this._json[String(key)]}}module.exports=Base},{"../errors/parser-error":6}],17:[function(require,module,exports){const{mix:mix}=require("./utils");const Base=require("./base");const Schema=require("./schema");const MixinDescription=require("../mixins/description");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class ChannelParameter extends Base{location(){return this._json.location}schema(){if(!this._json.schema)return null;return new Schema(this._json.schema)}}module.exports=mix(ChannelParameter,MixinDescription,MixinSpecificationExtensions)},{"../mixins/description":11,"../mixins/specification-extensions":13,"./base":16,"./schema":34,"./utils":41}],18:[function(require,module,exports){const{createMapOfType:createMapOfType,getMapValueOfType:getMapValueOfType,mix:mix}=require("./utils");const Base=require("./base");const ChannelParameter=require("./channel-parameter");const PublishOperation=require("./publish-operation");const SubscribeOperation=require("./subscribe-operation");const MixinDescription=require("../mixins/description");const MixinBindings=require("../mixins/bindings");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class Channel extends Base{parameters(){return createMapOfType(this._json.parameters,ChannelParameter)}parameter(name){return getMapValueOfType(this._json.parameters,name,ChannelParameter)}hasParameters(){return!!this._json.parameters}hasServers(){return!!this._json.servers}servers(){if(!this._json.servers)return[];return this._json.servers}server(index){if(!this._json.servers)return null;if(typeof index!=="number")return null;if(index>this._json.servers.length-1)return null;return this._json.servers[+index]}publish(){if(!this._json.publish)return null;return new PublishOperation(this._json.publish)}subscribe(){if(!this._json.subscribe)return null;return new SubscribeOperation(this._json.subscribe)}hasPublish(){return!!this._json.publish}hasSubscribe(){return!!this._json.subscribe}}module.exports=mix(Channel,MixinDescription,MixinBindings,MixinSpecificationExtensions)},{"../mixins/bindings":10,"../mixins/description":11,"../mixins/specification-extensions":13,"./base":16,"./channel-parameter":17,"./publish-operation":33,"./subscribe-operation":39,"./utils":41}],19:[function(require,module,exports){const{createMapOfType:createMapOfType,getMapValueOfType:getMapValueOfType,mix:mix}=require("./utils");const Base=require("./base");const Channel=require("./channel");const Message=require("./message");const Schema=require("./schema");const SecurityScheme=require("./security-scheme");const Server=require("./server");const ChannelParameter=require("./channel-parameter");const CorrelationId=require("./correlation-id");const OperationTrait=require("./operation-trait");const MessageTrait=require("./message-trait");const ServerVariable=require("./server-variable");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class Components extends Base{channels(){return createMapOfType(this._json.channels,Channel)}hasChannels(){return!!this._json.channels}channel(name){return getMapValueOfType(this._json.channels,name,Channel)}messages(){return createMapOfType(this._json.messages,Message)}hasMessages(){return!!this._json.messages}message(name){return getMapValueOfType(this._json.messages,name,Message)}schemas(){return createMapOfType(this._json.schemas,Schema)}hasSchemas(){return!!this._json.schemas}schema(name){return getMapValueOfType(this._json.schemas,name,Schema)}securitySchemes(){return createMapOfType(this._json.securitySchemes,SecurityScheme)}hasSecuritySchemes(){return!!this._json.securitySchemes}securityScheme(name){return getMapValueOfType(this._json.securitySchemes,name,SecurityScheme)}servers(){return createMapOfType(this._json.servers,Server)}hasServers(){return!!this._json.servers}server(name){return getMapValueOfType(this._json.servers,name,Server)}parameters(){return createMapOfType(this._json.parameters,ChannelParameter)}hasParameters(){return!!this._json.parameters}parameter(name){return getMapValueOfType(this._json.parameters,name,ChannelParameter)}correlationIds(){return createMapOfType(this._json.correlationIds,CorrelationId)}hasCorrelationIds(){return!!this._json.correlationIds}correlationId(name){return getMapValueOfType(this._json.correlationIds,name,CorrelationId)}operationTraits(){return createMapOfType(this._json.operationTraits,OperationTrait)}hasOperationTraits(){return!!this._json.operationTraits}operationTrait(name){return getMapValueOfType(this._json.operationTraits,name,OperationTrait)}messageTraits(){return createMapOfType(this._json.messageTraits,MessageTrait)}hasMessageTraits(){return!!this._json.messageTraits}messageTrait(name){return getMapValueOfType(this._json.messageTraits,name,MessageTrait)}serverVariables(){return createMapOfType(this._json.serverVariables,ServerVariable)}hasServerVariables(){return!!this._json.serverVariables}serverVariable(name){return getMapValueOfType(this._json.serverVariables,name,ServerVariable)}}module.exports=mix(Components,MixinSpecificationExtensions)},{"../mixins/specification-extensions":13,"./base":16,"./channel":18,"./channel-parameter":17,"./correlation-id":21,"./message":27,"./message-trait":25,"./operation-trait":30,"./schema":34,"./security-scheme":35,"./server":38,"./server-variable":37,"./utils":41}],20:[function(require,module,exports){const{mix:mix}=require("./utils");const Base=require("./base");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class Contact extends Base{name(){return this._json.name}url(){return this._json.url}email(){return this._json.email}}module.exports=mix(Contact,MixinSpecificationExtensions)},{"../mixins/specification-extensions":13,"./base":16,"./utils":41}],21:[function(require,module,exports){const{mix:mix}=require("./utils");const Base=require("./base");const MixinDescription=require("../mixins/description");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class CorrelationId extends Base{location(){return this._json.location}}module.exports=mix(CorrelationId,MixinSpecificationExtensions,MixinDescription)},{"../mixins/description":11,"../mixins/specification-extensions":13,"./base":16,"./utils":41}],22:[function(require,module,exports){const{mix:mix}=require("./utils");const Base=require("./base");const MixinDescription=require("../mixins/description");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class ExternalDocs extends Base{url(){return this._json.url}}module.exports=mix(ExternalDocs,MixinDescription,MixinSpecificationExtensions)},{"../mixins/description":11,"../mixins/specification-extensions":13,"./base":16,"./utils":41}],23:[function(require,module,exports){const{mix:mix}=require("./utils");const Base=require("./base");const License=require("./license");const Contact=require("./contact");const MixinDescription=require("../mixins/description");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class Info extends Base{title(){return this._json.title}version(){return this._json.version}termsOfService(){return this._json.termsOfService}license(){if(!this._json.license)return null;return new License(this._json.license)}contact(){if(!this._json.contact)return null;return new Contact(this._json.contact)}}module.exports=mix(Info,MixinDescription,MixinSpecificationExtensions)},{"../mixins/description":11,"../mixins/specification-extensions":13,"./base":16,"./contact":20,"./license":24,"./utils":41}],24:[function(require,module,exports){const{mix:mix}=require("./utils");const Base=require("./base");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class License extends Base{name(){return this._json.name}url(){return this._json.url}}module.exports=mix(License,MixinSpecificationExtensions)},{"../mixins/specification-extensions":13,"./base":16,"./utils":41}],25:[function(require,module,exports){const MessageTraitable=require("./message-traitable");class MessageTrait extends MessageTraitable{}module.exports=MessageTrait},{"./message-traitable":26}],26:[function(require,module,exports){const{getMapValueOfType:getMapValueOfType,mix:mix}=require("./utils");const Base=require("./base");const Schema=require("./schema");const CorrelationId=require("./correlation-id");const MixinDescription=require("../mixins/description");const MixinExternalDocs=require("../mixins/external-docs");const MixinTags=require("../mixins/tags");const MixinBindings=require("../mixins/bindings");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class MessageTraitable extends Base{headers(){if(!this._json.headers)return null;return new Schema(this._json.headers)}header(name){if(!this._json.headers)return null;return getMapValueOfType(this._json.headers.properties,name,Schema)}id(){return this._json.messageId}correlationId(){if(!this._json.correlationId)return null;return new CorrelationId(this._json.correlationId)}schemaFormat(){return this._json.schemaFormat}contentType(){return this._json.contentType}name(){return this._json.name}title(){return this._json.title}summary(){return this._json.summary}examples(){return this._json.examples}}module.exports=mix(MessageTraitable,MixinDescription,MixinTags,MixinExternalDocs,MixinBindings,MixinSpecificationExtensions)},{"../mixins/bindings":10,"../mixins/description":11,"../mixins/external-docs":12,"../mixins/specification-extensions":13,"../mixins/tags":14,"./base":16,"./correlation-id":21,"./schema":34,"./utils":41}],27:[function(require,module,exports){(function(Buffer){(function(){const MessageTrait=require("./message-trait");const MessageTraitable=require("./message-traitable");const Schema=require("./schema");class Message extends MessageTraitable{uid(){return this.id()||this.name()||this.ext("x-parser-message-name")||Buffer.from(JSON.stringify(this._json)).toString("base64")}payload(){if(!this._json.payload)return null;return new Schema(this._json.payload)}traits(){const traits=this._json["x-parser-original-traits"]||this._json.traits;if(!traits)return[];return traits.map(t=>new MessageTrait(t))}hasTraits(){return!!this._json["x-parser-original-traits"]||!!this._json.traits}originalPayload(){return this._json["x-parser-original-payload"]||this.payload()}originalSchemaFormat(){return this._json["x-parser-original-schema-format"]||this.schemaFormat()}}module.exports=Message}).call(this)}).call(this,require("buffer").Buffer)},{"./message-trait":25,"./message-traitable":26,"./schema":34,buffer:151}],28:[function(require,module,exports){const{mix:mix}=require("./utils");const Base=require("./base");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class OAuthFlow extends Base{authorizationUrl(){return this._json.authorizationUrl}tokenUrl(){return this._json.tokenUrl}refreshUrl(){return this._json.refreshUrl}scopes(){return this._json.scopes}}module.exports=mix(OAuthFlow,MixinSpecificationExtensions)},{"../mixins/specification-extensions":13,"./base":16,"./utils":41}],29:[function(require,module,exports){const Base=require("./base");class OperationSecurityRequirement extends Base{}module.exports=OperationSecurityRequirement},{"./base":16}],30:[function(require,module,exports){const OperationTraitable=require("./operation-traitable");class OperationTrait extends OperationTraitable{}module.exports=OperationTrait},{"./operation-traitable":31}],31:[function(require,module,exports){const{mix:mix}=require("./utils");const Base=require("./base");const MixinDescription=require("../mixins/description");const MixinTags=require("../mixins/tags");const MixinExternalDocs=require("../mixins/external-docs");const MixinBindings=require("../mixins/bindings");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class OperationTraitable extends Base{id(){return this._json.operationId}summary(){return this._json.summary}}module.exports=mix(OperationTraitable,MixinDescription,MixinTags,MixinExternalDocs,MixinBindings,MixinSpecificationExtensions)},{"../mixins/bindings":10,"../mixins/description":11,"../mixins/external-docs":12,"../mixins/specification-extensions":13,"../mixins/tags":14,"./base":16,"./utils":41}],32:[function(require,module,exports){const OperationTraitable=require("./operation-traitable");const Message=require("./message");const OperationTrait=require("./operation-trait");const OperationSecurityRequirement=require("./operation-security-requirement");class Operation extends OperationTraitable{hasMultipleMessages(){if(this._json.message&&this._json.message.oneOf&&this._json.message.oneOf.length>1)return true;if(!this._json.message)return false;return false}traits(){const traits=this._json["x-parser-original-traits"]||this._json.traits;if(!traits)return[];return traits.map(t=>new OperationTrait(t))}hasTraits(){return!!this._json["x-parser-original-traits"]||!!this._json.traits}messages(){if(!this._json.message)return[];if(this._json.message.oneOf)return this._json.message.oneOf.map(m=>new Message(m));return[new Message(this._json.message)]}message(index){if(!this._json.message)return null;if(this._json.message.oneOf&&this._json.message.oneOf.length===1)return new Message(this._json.message.oneOf[0]);if(!this._json.message.oneOf)return new Message(this._json.message);if(typeof index!=="number")return null;if(index>this._json.message.oneOf.length-1)return null;return new Message(this._json.message.oneOf[+index])}security(){if(!this._json.security)return null;return this._json.security.map(sec=>new OperationSecurityRequirement(sec))}}module.exports=Operation},{"./message":27,"./operation-security-requirement":29,"./operation-trait":30,"./operation-traitable":31}],33:[function(require,module,exports){const Operation=require("./operation");class PublishOperation extends Operation{isPublish(){return true}isSubscribe(){return false}kind(){return"publish"}}module.exports=PublishOperation},{"./operation":32}],34:[function(require,module,exports){const{createMapOfType:createMapOfType,getMapValueOfType:getMapValueOfType,mix:mix}=require("./utils");const Base=require("./base");const{xParserCircle:xParserCircle,xParserCircleProps:xParserCircleProps}=require("../constants");const MixinDescription=require("../mixins/description");const MixinExternalDocs=require("../mixins/external-docs");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class Schema extends Base{constructor(json,options){super(json);this.options=options||{}}uid(){return this.$id()||this.ext("x-parser-schema-id")}$id(){return this._json.$id}multipleOf(){return this._json.multipleOf}maximum(){return this._json.maximum}exclusiveMaximum(){return this._json.exclusiveMaximum}minimum(){return this._json.minimum}exclusiveMinimum(){return this._json.exclusiveMinimum}maxLength(){return this._json.maxLength}minLength(){return this._json.minLength}pattern(){return this._json.pattern}maxItems(){return this._json.maxItems}minItems(){return this._json.minItems}uniqueItems(){return!!this._json.uniqueItems}maxProperties(){return this._json.maxProperties}minProperties(){return this._json.minProperties}required(){return this._json.required}enum(){return this._json.enum}type(){return this._json.type}allOf(){if(!this._json.allOf)return null;return this._json.allOf.map(s=>new Schema(s,{parent:this}))}oneOf(){if(!this._json.oneOf)return null;return this._json.oneOf.map(s=>new Schema(s,{parent:this}))}anyOf(){if(!this._json.anyOf)return null;return this._json.anyOf.map(s=>new Schema(s,{parent:this}))}not(){if(!this._json.not)return null;return new Schema(this._json.not,{parent:this})}items(){if(!this._json.items)return null;if(Array.isArray(this._json.items)){return this._json.items.map(s=>new Schema(s,{parent:this}))}return new Schema(this._json.items,{parent:this})}properties(){return createMapOfType(this._json.properties,Schema,{parent:this})}property(name){return getMapValueOfType(this._json.properties,name,Schema,{parent:this})}additionalProperties(){const ap=this._json.additionalProperties;if(ap===undefined||ap===null)return;if(typeof ap==="boolean")return ap;return new Schema(ap,{parent:this})}additionalItems(){const ai=this._json.additionalItems;if(ai===undefined||ai===null)return;return new Schema(ai,{parent:this})}patternProperties(){return createMapOfType(this._json.patternProperties,Schema,{parent:this})}const(){return this._json.const}contains(){if(!this._json.contains)return null;return new Schema(this._json.contains,{parent:this})}dependencies(){if(!this._json.dependencies)return null;const result={};Object.entries(this._json.dependencies).forEach(([key,value])=>{result[String(key)]=!Array.isArray(value)?new Schema(value,{parent:this}):value});return result}propertyNames(){if(!this._json.propertyNames)return null;return new Schema(this._json.propertyNames,{parent:this})}if(){if(!this._json.if)return null;return new Schema(this._json.if,{parent:this})}then(){if(!this._json.then)return null;return new Schema(this._json.then,{parent:this})}else(){if(!this._json.else)return null;return new Schema(this._json.else,{parent:this})}format(){return this._json.format}contentEncoding(){return this._json.contentEncoding}contentMediaType(){return this._json.contentMediaType}definitions(){return createMapOfType(this._json.definitions,Schema,{parent:this})}title(){return this._json.title}default(){return this._json.default}deprecated(){return this._json.deprecated}discriminator(){return this._json.discriminator}readOnly(){return!!this._json.readOnly}writeOnly(){return!!this._json.writeOnly}examples(){return this._json.examples}isBooleanSchema(){return typeof this._json==="boolean"}isCircular(){if(!!this.ext(xParserCircle)){return true}let parent=this.options.parent;while(parent){if(parent._json===this._json)return true;parent=parent.options&&parent.options.parent}return false}circularSchema(){let parent=this.options.parent;while(parent){if(parent._json===this._json)return parent;parent=parent.options&&parent.options.parent}}hasCircularProps(){if(Array.isArray(this.ext(xParserCircleProps))){return this.ext(xParserCircleProps).length>0}return Object.entries(this.properties()||{}).map(([propertyName,property])=>{if(property.isCircular())return propertyName}).filter(Boolean).length>0}circularProps(){if(Array.isArray(this.ext(xParserCircleProps))){return this.ext(xParserCircleProps)}return Object.entries(this.properties()||{}).map(([propertyName,property])=>{if(property.isCircular())return propertyName}).filter(Boolean)}}module.exports=mix(Schema,MixinDescription,MixinExternalDocs,MixinSpecificationExtensions)},{"../constants":4,"../mixins/description":11,"../mixins/external-docs":12,"../mixins/specification-extensions":13,"./base":16,"./utils":41}],35:[function(require,module,exports){const{createMapOfType:createMapOfType,mix:mix}=require("./utils");const Base=require("./base");const OAuthFlow=require("./oauth-flow");const MixinDescription=require("../mixins/description");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class SecurityScheme extends Base{type(){return this._json.type}name(){return this._json.name}in(){return this._json.in}scheme(){return this._json.scheme}bearerFormat(){return this._json.bearerFormat}openIdConnectUrl(){return this._json.openIdConnectUrl}flows(){return createMapOfType(this._json.flows,OAuthFlow)}}module.exports=mix(SecurityScheme,MixinDescription,MixinSpecificationExtensions)},{"../mixins/description":11,"../mixins/specification-extensions":13,"./base":16,"./oauth-flow":28,"./utils":41}],36:[function(require,module,exports){const Base=require("./base");class ServerSecurityRequirement extends Base{}module.exports=ServerSecurityRequirement},{"./base":16}],37:[function(require,module,exports){const{mix:mix}=require("./utils");const Base=require("./base");const MixinDescription=require("../mixins/description");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class ServerVariable extends Base{allowedValues(){return this._json.enum}allows(name){if(this._json.enum===undefined)return true;return this._json.enum.includes(name)}hasAllowedValues(){return this._json.enum!==undefined}defaultValue(){return this._json.default}hasDefaultValue(){return this._json.default!==undefined}examples(){return this._json.examples}}module.exports=mix(ServerVariable,MixinDescription,MixinSpecificationExtensions)},{"../mixins/description":11,"../mixins/specification-extensions":13,"./base":16,"./utils":41}],38:[function(require,module,exports){const{createMapOfType:createMapOfType,getMapValueOfType:getMapValueOfType,mix:mix}=require("./utils");const Base=require("./base");const ServerVariable=require("./server-variable");const ServerSecurityRequirement=require("./server-security-requirement");const MixinDescription=require("../mixins/description");const MixinBindings=require("../mixins/bindings");const MixinSpecificationExtensions=require("../mixins/specification-extensions");const MixinTags=require("../mixins/tags");class Server extends Base{url(){return this._json.url}protocol(){return this._json.protocol}protocolVersion(){return this._json.protocolVersion}variables(){return createMapOfType(this._json.variables,ServerVariable)}variable(name){return getMapValueOfType(this._json.variables,name,ServerVariable)}hasVariables(){return!!this._json.variables}security(){if(!this._json.security)return null;return this._json.security.map(sec=>new ServerSecurityRequirement(sec))}}module.exports=mix(Server,MixinDescription,MixinBindings,MixinSpecificationExtensions,MixinTags)},{"../mixins/bindings":10,"../mixins/description":11,"../mixins/specification-extensions":13,"../mixins/tags":14,"./base":16,"./server-security-requirement":36,"./server-variable":37,"./utils":41}],39:[function(require,module,exports){const Operation=require("./operation");class SubscribeOperation extends Operation{isPublish(){return false}isSubscribe(){return true}kind(){return"subscribe"}}module.exports=SubscribeOperation},{"./operation":32}],40:[function(require,module,exports){const{mix:mix}=require("./utils");const Base=require("./base");const MixinDescription=require("../mixins/description");const MixinExternalDocs=require("../mixins/external-docs");const MixinSpecificationExtensions=require("../mixins/specification-extensions");class Tag extends Base{name(){return this._json.name}}module.exports=mix(Tag,MixinDescription,MixinExternalDocs,MixinSpecificationExtensions)},{"../mixins/description":11,"../mixins/external-docs":12,"../mixins/specification-extensions":13,"./base":16,"./utils":41}],41:[function(require,module,exports){const utils=module.exports;const getMapValue=(obj,key,Type,options)=>{if(typeof key!=="string"||!obj)return null;const v=obj[String(key)];if(v===undefined)return null;return Type?new Type(v,options):v};utils.createMapOfType=((obj,Type,options)=>{const result={};if(!obj)return result;Object.entries(obj).forEach(([key,value])=>{result[String(key)]=new Type(value,options)});return result});utils.getMapValueOfType=((obj,key,Type,options)=>{return getMapValue(obj,key,Type,options)});utils.getMapValueByKey=((obj,key)=>{return getMapValue(obj,key)});utils.mix=((model,...mixins)=>{let duplicatedMethods=false;function checkDuplication(mixin){if(model===mixin)return true;duplicatedMethods=Object.keys(mixin).some(mixinMethod=>model.prototype.hasOwnProperty(mixinMethod));return duplicatedMethods}if(mixins.some(checkDuplication)){if(duplicatedMethods){throw new Error(`invalid mix function: model ${model.name} has at least one method that it is trying to replace by mixin`)}else{throw new Error(`invalid mix function: cannot use the model ${model.name} as a mixin`)}}mixins.forEach(mixin=>Object.assign(model.prototype,mixin));return model})},{}],42:[function(require,module,exports){(function(process,global){(function(){const path=require("path");const fetch=typeof window!=="undefined"?window["fetch"]:typeof global!=="undefined"?global["fetch"]:null;const Ajv=require("ajv");const asyncapi=require("@asyncapi/specs");const $RefParser=require("@apidevtools/json-schema-ref-parser");const mergePatch=require("tiny-merge-patch").apply;const ParserError=require("./errors/parser-error");const{validateChannels:validateChannels,validateTags:validateTags,validateServerVariables:validateServerVariables,validateOperationId:validateOperationId,validateServerSecurity:validateServerSecurity,validateMessageId:validateMessageId}=require("./customValidators.js");const{toJS:toJS,findRefs:findRefs,getLocationOf:getLocationOf,improveAjvErrors:improveAjvErrors,getDefaultSchemaFormat:getDefaultSchemaFormat,getBaseUrl:getBaseUrl}=require("./utils");const AsyncAPIDocument=require("./models/asyncapi");const OPERATIONS=["publish","subscribe"];const SPECIAL_SECURITY_TYPES=["oauth2","openIdConnect"];const PARSERS={};const xParserCircle="x-parser-circular";const xParserMessageParsed="x-parser-message-parsed";const ajv=new Ajv({jsonPointers:true,allErrors:true,schemaId:"auto",logger:false,validateSchema:true});ajv.addMetaSchema(require("ajv/lib/refs/json-schema-draft-04.json"));module.exports={parse:parse,parseFromUrl:parseFromUrl,registerSchemaParser:registerSchemaParser,ParserError:ParserError,AsyncAPIDocument:AsyncAPIDocument};async function parse(asyncapiYAMLorJSON,options={}){let parsedJSON;let initialFormat;if(typeof window!=="undefined"&&!options.hasOwnProperty("path")){options.path=getBaseUrl(window.location.href)}else{options.path=options.path||`${process.cwd()}${path.sep}`}try{({initialFormat:initialFormat,parsedJSON:parsedJSON}=toJS(asyncapiYAMLorJSON));if(typeof parsedJSON!=="object"){throw new ParserError({type:"impossible-to-convert-to-json",title:"Could not convert AsyncAPI to JSON.",detail:"Most probably the AsyncAPI document contains invalid YAML or YAML features not supported in JSON."})}if(!parsedJSON.asyncapi){throw new ParserError({type:"missing-asyncapi-field",title:"The `asyncapi` field is missing.",parsedJSON:parsedJSON})}if(parsedJSON.asyncapi.startsWith("1.")||!asyncapi[parsedJSON.asyncapi]){throw new ParserError({type:"unsupported-version",title:`Version ${parsedJSON.asyncapi} is not supported.`,detail:"Please use latest version of the specification.",parsedJSON:parsedJSON,validationErrors:[getLocationOf("/asyncapi",asyncapiYAMLorJSON,initialFormat)]})}if(options.applyTraits===undefined)options.applyTraits=true;const refParser=new $RefParser;await dereference(refParser,parsedJSON,initialFormat,asyncapiYAMLorJSON,{...options,dereference:{circular:"ignore"}});const validate=getValidator(parsedJSON.asyncapi);const valid=validate(parsedJSON);const errors=validate.errors&&[...validate.errors];if(!valid)throw new ParserError({type:"validation-errors",title:"There were errors validating the AsyncAPI document.",parsedJSON:parsedJSON,validationErrors:improveAjvErrors(errors,asyncapiYAMLorJSON,initialFormat)});await customDocumentOperations(parsedJSON,asyncapiYAMLorJSON,initialFormat,options);if(refParser.$refs.circular)await handleCircularRefs(refParser,parsedJSON,initialFormat,asyncapiYAMLorJSON,options)}catch(e){if(e instanceof ParserError)throw e;throw new ParserError({type:"unexpected-error",title:e.message,parsedJSON:parsedJSON})}return new AsyncAPIDocument(parsedJSON)}function parseFromUrl(url,fetchOptions,options={}){if(!fetchOptions)fetchOptions={};if(!options.hasOwnProperty("path")){options={...options,path:getBaseUrl(url)}}return new Promise((resolve,reject)=>{fetch(url,fetchOptions).then(res=>res.text()).then(doc=>parse(doc,options)).then(result=>resolve(result)).catch(e=>{if(e instanceof ParserError)return reject(e);return reject(new ParserError({type:"fetch-url-error",title:e.message}))})})}async function dereference(refParser,parsedJSON,initialFormat,asyncapiYAMLorJSON,options){try{return await refParser.dereference(options.path,parsedJSON,{continueOnError:true,parse:options.parse,resolve:options.resolve,dereference:options.dereference})}catch(err){throw new ParserError({type:"dereference-error",title:err.errors[0].message,parsedJSON:parsedJSON,refs:findRefs(err.errors,initialFormat,asyncapiYAMLorJSON)})}}async function handleCircularRefs(refParser,parsedJSON,initialFormat,asyncapiYAMLorJSON,options){await dereference(refParser,parsedJSON,initialFormat,asyncapiYAMLorJSON,{...options,dereference:{circular:true}});parsedJSON[String(xParserCircle)]=true}function getValidator(version){let validate=ajv.getSchema(version);if(!validate){const asyncapiSchema=asyncapi[String(version)];delete asyncapiSchema.definitions["http://json-schema.org/draft-07/schema"];delete asyncapiSchema.definitions["http://json-schema.org/draft-04/schema"];ajv.addSchema(asyncapiSchema,version);validate=ajv.getSchema(version)}return validate}async function customDocumentOperations(parsedJSON,asyncapiYAMLorJSON,initialFormat,options){validateServerVariables(parsedJSON,asyncapiYAMLorJSON,initialFormat);validateServerSecurity(parsedJSON,asyncapiYAMLorJSON,initialFormat,SPECIAL_SECURITY_TYPES);if(!parsedJSON.channels)return;validateTags(parsedJSON,asyncapiYAMLorJSON,initialFormat);validateChannels(parsedJSON,asyncapiYAMLorJSON,initialFormat);validateOperationId(parsedJSON,asyncapiYAMLorJSON,initialFormat,OPERATIONS);validateMessageId(parsedJSON,asyncapiYAMLorJSON,initialFormat,OPERATIONS);await customComponentsMsgOperations(parsedJSON,asyncapiYAMLorJSON,initialFormat,options);await customChannelsOperations(parsedJSON,asyncapiYAMLorJSON,initialFormat,options)}async function validateAndConvertMessage(msg,originalAsyncAPIDocument,fileFormat,parsedAsyncAPIDocument,pathToPayload){if(xParserMessageParsed in msg&&msg[String(xParserMessageParsed)]===true)return;const defaultSchemaFormat=getDefaultSchemaFormat(parsedAsyncAPIDocument.asyncapi);const schemaFormat=msg.schemaFormat||defaultSchemaFormat;await PARSERS[String(schemaFormat)]({schemaFormat:schemaFormat,message:msg,defaultSchemaFormat:defaultSchemaFormat,originalAsyncAPIDocument:originalAsyncAPIDocument,parsedAsyncAPIDocument:parsedAsyncAPIDocument,fileFormat:fileFormat,pathToPayload:pathToPayload});msg.schemaFormat=defaultSchemaFormat;msg[String(xParserMessageParsed)]=true}function registerSchemaParser(parserModule){if(typeof parserModule!=="object"||typeof parserModule.parse!=="function"||typeof parserModule.getMimeTypes!=="function")throw new ParserError({type:"impossible-to-register-parser",title:"parserModule must have parse() and getMimeTypes() functions."});parserModule.getMimeTypes().forEach(schemaFormat=>{PARSERS[String(schemaFormat)]=parserModule.parse})}function applyTraits(js){if(Array.isArray(js.traits)){for(const trait of js.traits){for(const key in trait){js[String(key)]=mergePatch(js[String(key)],trait[String(key)])}}js["x-parser-original-traits"]=js.traits;delete js.traits}}async function customChannelsOperations(parsedJSON,asyncapiYAMLorJSON,initialFormat,options){const promisesArray=[];Object.entries(parsedJSON.channels).forEach(([channelName,channel])=>{promisesArray.push(...OPERATIONS.map(async opName=>{const op=channel[String(opName)];if(!op)return;const messages=op.message?op.message.oneOf||[op.message]:[];if(options.applyTraits){applyTraits(op);messages.forEach(m=>applyTraits(m))}const pathToPayload=`/channels/${channelName}/${opName}/message/payload`;for(const m of messages){await validateAndConvertMessage(m,asyncapiYAMLorJSON,initialFormat,parsedJSON,pathToPayload)}}))});await Promise.all(promisesArray)}async function customComponentsMsgOperations(parsedJSON,asyncapiYAMLorJSON,initialFormat,options){if(!parsedJSON.components||!parsedJSON.components.messages)return;const promisesArray=[];Object.entries(parsedJSON.components.messages).forEach(([messageName,message])=>{if(options.applyTraits){applyTraits(message)}const pathToPayload=`/components/messages/${messageName}/payload`;promisesArray.push(validateAndConvertMessage(message,asyncapiYAMLorJSON,initialFormat,parsedJSON,pathToPayload))});await Promise.all(promisesArray)}}).call(this)}).call(this,require("_process"),typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./customValidators.js":5,"./errors/parser-error":6,"./models/asyncapi":15,"./utils":43,"@apidevtools/json-schema-ref-parser":46,"@asyncapi/specs":88,_process:195,ajv:106,"ajv/lib/refs/json-schema-draft-04.json":147,path:194,"tiny-merge-patch":221}],43:[function(require,module,exports){const YAML=require("js-yaml");const{yamlAST:yamlAST,loc:loc}=require("@fmvilas/pseudo-yaml-ast");const jsonAST=require("json-to-ast");const jsonParseBetterErrors=require("../lib/json-parse");const ParserError=require("./errors/parser-error");const jsonPointerToArray=jsonPointer=>(jsonPointer||"/").split("/").splice(1);const utils=module.exports;const getAST=(asyncapiYAMLorJSON,initialFormat)=>{if(initialFormat==="yaml"){return yamlAST(asyncapiYAMLorJSON)}else if(initialFormat==="json"){return jsonAST(asyncapiYAMLorJSON)}};const findNode=(obj,location)=>{for(const key of location){obj=obj?obj[utils.untilde(key)]:null}return obj};const findNodeInAST=(ast,location)=>{let obj=ast;for(const key of location){if(!Array.isArray(obj.children))return;let childArray;const child=obj.children.find(c=>{if(!c)return;if(c.type==="Object")return childArray=c.children.find(a=>a.key.value===utils.untilde(key));return c.type==="Property"&&c.key&&c.key.value===utils.untilde(key)});if(!child)return;obj=childArray?childArray.value:child.value}return obj};const findLocationOf=(keys,ast,initialFormat)=>{if(initialFormat==="js")return{jsonPointer:`/${keys.join("/")}`};let node;if(initialFormat==="yaml"){node=findNode(ast,keys)}else if(initialFormat==="json"){node=findNodeInAST(ast,keys)}if(!node)return{jsonPointer:`/${keys.join("/")}`};let info;if(initialFormat==="yaml"){info=node[loc]}else if(initialFormat==="json"){info=node.loc}if(!info)return{jsonPointer:`/${keys.join("/")}`};return{jsonPointer:`/${keys.join("/")}`,startLine:info.start.line,startColumn:info.start.column+1,startOffset:info.start.offset,endLine:info.end?info.end.line:undefined,endColumn:info.end?info.end.column+1:undefined,endOffset:info.end?info.end.offset:undefined}};utils.tilde=(str=>{return str.replace(/[~\/]{1}/g,m=>{switch(m){case"/":return"~1";case"~":return"~0"}return m})});utils.untilde=(str=>{if(!str.includes("~"))return str;return str.replace(/~[01]/g,m=>{switch(m){case"~1":return"/";case"~0":return"~"}return m})});utils.toJS=(asyncapiYAMLorJSON=>{if(!asyncapiYAMLorJSON){throw new ParserError({type:"null-or-falsey-document",title:"Document can't be null or falsey."})}if(asyncapiYAMLorJSON.constructor&&asyncapiYAMLorJSON.constructor.name==="Object"){return{initialFormat:"js",parsedJSON:asyncapiYAMLorJSON}}if(typeof asyncapiYAMLorJSON!=="string"){throw new ParserError({type:"invalid-document-type",title:"The AsyncAPI document has to be either a string or a JS object."})}if(asyncapiYAMLorJSON.trimLeft().startsWith("{")){try{return{initialFormat:"json",parsedJSON:jsonParseBetterErrors(asyncapiYAMLorJSON)}}catch(e){throw new ParserError({type:"invalid-json",title:"The provided JSON is not valid.",detail:e.message,location:{startOffset:e.offset,startLine:e.startLine,startColumn:e.startColumn}})}}else{try{return{initialFormat:"yaml",parsedJSON:YAML.safeLoad(asyncapiYAMLorJSON)}}catch(err){throw new ParserError({type:"invalid-yaml",title:"The provided YAML is not valid.",detail:err.message,location:{startOffset:err.mark.position,startLine:err.mark.line+1,startColumn:err.mark.column+1}})}}});utils.findRefs=((errors,initialFormat,asyncapiYAMLorJSON)=>{let refs=[];errors.map(({path:path})=>refs.push({location:[...path.map(utils.tilde),"$ref"]}));if(initialFormat==="js"){return refs.map(ref=>({jsonPointer:`/${ref.location.join("/")}`}))}if(initialFormat==="yaml"){const pseudoAST=yamlAST(asyncapiYAMLorJSON);refs=refs.map(ref=>findLocationOf(ref.location,pseudoAST,initialFormat))}else if(initialFormat==="json"){const ast=jsonAST(asyncapiYAMLorJSON);refs=refs.map(ref=>findLocationOf(ref.location,ast,initialFormat))}return refs});utils.getLocationOf=((jsonPointer,asyncapiYAMLorJSON,initialFormat)=>{const ast=getAST(asyncapiYAMLorJSON,initialFormat);if(!ast)return{jsonPointer:jsonPointer};return findLocationOf(jsonPointerToArray(jsonPointer),ast,initialFormat)});utils.improveAjvErrors=((errors,asyncapiYAMLorJSON,initialFormat)=>{const ast=getAST(asyncapiYAMLorJSON,initialFormat);return errors.map(error=>{const defaultLocation={jsonPointer:error.dataPath||"/"};const additionalProperty=error.params.additionalProperty;const jsonPointer=additionalProperty?`${error.dataPath}/${additionalProperty}`:error.dataPath;return{title:`${error.dataPath||"/"} ${error.message}`,location:ast?findLocationOf(jsonPointerToArray(jsonPointer),ast,initialFormat):defaultLocation}})});utils.parseUrlVariables=(str=>{if(typeof str!=="string")return;return str.match(/{(.+?)}/g)});utils.parseUrlQueryParameters=(str=>{if(typeof str!=="string")return;return str.match(/\?((.*=.*)(&?))/g)});utils.getBaseUrl=(url=>{url=typeof url!=="string"?String(url):url;return url.substring(0,url.lastIndexOf("/")+1)});utils.getMissingProps=((arr,obj)=>{arr=arr.map(val=>val.replace(/[{}]/g,""));if(!obj)return arr;return arr.filter(val=>{return!obj.hasOwnProperty(val)})});utils.groupValidationErrors=((root,errorMessage,errorElements,asyncapiYAMLorJSON,initialFormat)=>{const errors=[];errorElements.forEach((val,key)=>{if(typeof val==="string")val=utils.untilde(val);const jsonPointer=root?`/${root}/${key}`:`/${key}`;errors.push({title:val?`${utils.untilde(key)} ${errorMessage}: ${val}`:`${utils.untilde(key)} ${errorMessage}`,location:utils.getLocationOf(jsonPointer,asyncapiYAMLorJSON,initialFormat)})});return errors});utils.setNotProvidedParams=((variables,val,key,notProvidedChannelParams,notProvidedParams)=>{const missingChannelParams=utils.getMissingProps(variables,val.parameters);if(missingChannelParams.length){notProvidedParams.set(utils.tilde(key),notProvidedChannelParams?notProvidedChannelParams.concat(missingChannelParams):missingChannelParams)}});utils.getUnknownServers=((parsedJSON,channel)=>{if(!channel)return[];const channelServers=channel.servers;if(!channelServers||channelServers.length===0)return[];const servers=parsedJSON.servers;if(!servers)return channelServers;const serversMap=new Map(Object.entries(servers));return channelServers.filter(serverName=>{return!serversMap.has(serverName)})});utils.getDefaultSchemaFormat=(asyncapiVersion=>{return`application/vnd.aai.asyncapi;version=${asyncapiVersion}`})},{"../lib/json-parse":9,"./errors/parser-error":6,"@fmvilas/pseudo-yaml-ast":96,"js-yaml":161,"json-to-ast":192}],44:[function(require,module,exports){"use strict";const $Ref=require("./ref");const Pointer=require("./pointer");const url=require("./util/url");module.exports=bundle;function bundle(parser,options){let inventory=[];crawl(parser,"schema",parser.$refs._root$Ref.path+"#","#",0,inventory,parser.$refs,options);remap(inventory)}function crawl(parent,key,path,pathFromRoot,indirections,inventory,$refs,options){let obj=key===null?parent:parent[key];if(obj&&typeof obj==="object"&&!ArrayBuffer.isView(obj)){if($Ref.isAllowed$Ref(obj)){inventory$Ref(parent,key,path,pathFromRoot,indirections,inventory,$refs,options)}else{let keys=Object.keys(obj).sort((a,b)=>{if(a==="definitions"){return-1}else if(b==="definitions"){return 1}else{return a.length-b.length}});for(let key of keys){let keyPath=Pointer.join(path,key);let keyPathFromRoot=Pointer.join(pathFromRoot,key);let value=obj[key];if($Ref.isAllowed$Ref(value)){inventory$Ref(obj,key,path,keyPathFromRoot,indirections,inventory,$refs,options)}else{crawl(obj,key,keyPath,keyPathFromRoot,indirections,inventory,$refs,options)}}}}}function inventory$Ref($refParent,$refKey,path,pathFromRoot,indirections,inventory,$refs,options){let $ref=$refKey===null?$refParent:$refParent[$refKey];let $refPath=url.resolve(path,$ref.$ref);let pointer=$refs._resolve($refPath,pathFromRoot,options);if(pointer===null){return}let depth=Pointer.parse(pathFromRoot).length;let file=url.stripHash(pointer.path);let hash=url.getHash(pointer.path);let external=file!==$refs._root$Ref.path;let extended=$Ref.isExtended$Ref($ref);indirections+=pointer.indirections;let existingEntry=findInInventory(inventory,$refParent,$refKey);if(existingEntry){if(depth{if(a.file!==b.file){return a.file1){const extraKeys={};for(let key of refKeys){if(key!=="$ref"&&!(key in cache.value)){extraKeys[key]=$ref[key]}}return{circular:cache.circular,value:Object.assign({},cache.value,extraKeys)}}return cache}let pointer=$refs._resolve($refPath,path,options);if(pointer===null){return{circular:false,value:null}}let directCircular=pointer.circular;let circular=directCircular||parents.has(pointer.value);circular&&foundCircularReference(path,$refs,options);let dereferencedValue=$Ref.dereference($ref,pointer.value);if(!circular){let dereferenced=crawl(dereferencedValue,pointer.path,pathFromRoot,parents,processedObjects,dereferencedCache,$refs,options);circular=dereferenced.circular;dereferencedValue=dereferenced.value}if(circular&&!directCircular&&options.dereference.circular==="ignore"){dereferencedValue=$ref}if(directCircular){dereferencedValue.$ref=pathFromRoot}const dereferencedObject={circular:circular,value:dereferencedValue};if(Object.keys($ref).length===1){dereferencedCache.set($refPath,dereferencedObject)}return dereferencedObject}function foundCircularReference(keyPath,$refs,options){$refs.circular=true;if(!options.dereference.circular){throw ono.reference(`Circular $ref pointer found at ${keyPath}`)}return true}},{"./pointer":54,"./ref":55,"./util/url":62,"@jsdevtools/ono":99}],46:[function(require,module,exports){(function(Buffer){(function(){"use strict";const $Refs=require("./refs");const _parse=require("./parse");const normalizeArgs=require("./normalize-args");const resolveExternal=require("./resolve-external");const _bundle=require("./bundle");const _dereference=require("./dereference");const url=require("./util/url");const{JSONParserError:JSONParserError,InvalidPointerError:InvalidPointerError,MissingPointerError:MissingPointerError,ResolverError:ResolverError,ParserError:ParserError,UnmatchedParserError:UnmatchedParserError,UnmatchedResolverError:UnmatchedResolverError,isHandledError:isHandledError,JSONParserErrorGroup:JSONParserErrorGroup}=require("./util/errors");const maybe=require("call-me-maybe");const{ono:ono}=require("@jsdevtools/ono");module.exports=$RefParser;module.exports.default=$RefParser;module.exports.JSONParserError=JSONParserError;module.exports.InvalidPointerError=InvalidPointerError;module.exports.MissingPointerError=MissingPointerError;module.exports.ResolverError=ResolverError;module.exports.ParserError=ParserError;module.exports.UnmatchedParserError=UnmatchedParserError;module.exports.UnmatchedResolverError=UnmatchedResolverError;function $RefParser(){this.schema=null;this.$refs=new $Refs}$RefParser.parse=function parse(path,schema,options,callback){let Class=this;let instance=new Class;return instance.parse.apply(instance,arguments)};$RefParser.prototype.parse=async function parse(path,schema,options,callback){let args=normalizeArgs(arguments);let promise;if(!args.path&&!args.schema){let err=ono(`Expected a file path, URL, or object. Got ${args.path||args.schema}`);return maybe(args.callback,Promise.reject(err))}this.schema=null;this.$refs=new $Refs;let pathType="http";if(url.isFileSystemPath(args.path)){args.path=url.fromFileSystemPath(args.path);pathType="file"}args.path=url.resolve(url.cwd(),args.path);if(args.schema&&typeof args.schema==="object"){let $ref=this.$refs._add(args.path);$ref.value=args.schema;$ref.pathType=pathType;promise=Promise.resolve(args.schema)}else{promise=_parse(args.path,this.$refs,args.options)}let me=this;try{let result=await promise;if(result!==null&&typeof result==="object"&&!Buffer.isBuffer(result)){me.schema=result;return maybe(args.callback,Promise.resolve(me.schema))}else if(args.options.continueOnError){me.schema=null;return maybe(args.callback,Promise.resolve(me.schema))}else{throw ono.syntax(`"${me.$refs._root$Ref.path||result}" is not a valid JSON Schema`)}}catch(err){if(!args.options.continueOnError||!isHandledError(err)){return maybe(args.callback,Promise.reject(err))}if(this.$refs._$refs[url.stripHash(args.path)]){this.$refs._$refs[url.stripHash(args.path)].addError(err)}return maybe(args.callback,Promise.resolve(null))}};$RefParser.resolve=function resolve(path,schema,options,callback){let Class=this;let instance=new Class;return instance.resolve.apply(instance,arguments)};$RefParser.prototype.resolve=async function resolve(path,schema,options,callback){let me=this;let args=normalizeArgs(arguments);try{await this.parse(args.path,args.schema,args.options);await resolveExternal(me,args.options);finalize(me);return maybe(args.callback,Promise.resolve(me.$refs))}catch(err){return maybe(args.callback,Promise.reject(err))}};$RefParser.bundle=function bundle(path,schema,options,callback){let Class=this;let instance=new Class;return instance.bundle.apply(instance,arguments)};$RefParser.prototype.bundle=async function bundle(path,schema,options,callback){let me=this;let args=normalizeArgs(arguments);try{await this.resolve(args.path,args.schema,args.options);_bundle(me,args.options);finalize(me);return maybe(args.callback,Promise.resolve(me.schema))}catch(err){return maybe(args.callback,Promise.reject(err))}};$RefParser.dereference=function dereference(path,schema,options,callback){let Class=this;let instance=new Class;return instance.dereference.apply(instance,arguments)};$RefParser.prototype.dereference=async function dereference(path,schema,options,callback){let me=this;let args=normalizeArgs(arguments);try{await this.resolve(args.path,args.schema,args.options);_dereference(me,args.options);finalize(me);return maybe(args.callback,Promise.resolve(me.schema))}catch(err){return maybe(args.callback,Promise.reject(err))}};function finalize(parser){const errors=JSONParserErrorGroup.getParserErrors(parser);if(errors.length>0){throw new JSONParserErrorGroup(parser)}}}).call(this)}).call(this,{isBuffer:require("../../../is-buffer/index.js")})},{"../../../is-buffer/index.js":160,"./bundle":44,"./dereference":45,"./normalize-args":47,"./parse":49,"./refs":56,"./resolve-external":57,"./util/errors":60,"./util/url":62,"@jsdevtools/ono":99,"call-me-maybe":153}],47:[function(require,module,exports){"use strict";const Options=require("./options");module.exports=normalizeArgs;function normalizeArgs(args){let path,schema,options,callback;args=Array.prototype.slice.call(args);if(typeof args[args.length-1]==="function"){callback=args.pop()}if(typeof args[0]==="string"){path=args[0];if(typeof args[2]==="object"){schema=args[1];options=args[2]}else{schema=undefined;options=args[1]}}else{path="";schema=args[0];options=args[1]}if(!(options instanceof Options)){options=new Options(options)}return{path:path,schema:schema,options:options,callback:callback}}},{"./options":48}],48:[function(require,module,exports){"use strict";const jsonParser=require("./parsers/json");const yamlParser=require("./parsers/yaml");const textParser=require("./parsers/text");const binaryParser=require("./parsers/binary");const fileResolver=require("./resolvers/file");const httpResolver=require("./resolvers/http");module.exports=$RefParserOptions;function $RefParserOptions(options){merge(this,$RefParserOptions.defaults);merge(this,options)}$RefParserOptions.defaults={parse:{json:jsonParser,yaml:yamlParser,text:textParser,binary:binaryParser},resolve:{file:fileResolver,http:httpResolver,external:true},continueOnError:false,dereference:{circular:true}};function merge(target,source){if(isMergeable(source)){let keys=Object.keys(source);for(let i=0;i{let resolvers=plugins.all(options.resolve);resolvers=plugins.filter(resolvers,"canRead",file);plugins.sort(resolvers);plugins.run(resolvers,"read",file,$refs).then(resolve,onError);function onError(err){if(!err&&options.continueOnError){reject(new UnmatchedResolverError(file.url))}else if(!err||!("error"in err)){reject(ono.syntax(`Unable to resolve $ref pointer "${file.url}"`))}else if(err.error instanceof ResolverError){reject(err.error)}else{reject(new ResolverError(err,file.url))}}})}function parseFile(file,options,$refs){return new Promise((resolve,reject)=>{let allParsers=plugins.all(options.parse);let filteredParsers=plugins.filter(allParsers,"canParse",file);let parsers=filteredParsers.length>0?filteredParsers:allParsers;plugins.sort(parsers);plugins.run(parsers,"parse",file,$refs).then(onParsed,onError);function onParsed(parser){if(!parser.plugin.allowEmpty&&isEmpty(parser.result)){reject(ono.syntax(`Error parsing "${file.url}" as ${parser.plugin.name}. \nParsed value is empty`))}else{resolve(parser)}}function onError(err){if(!err&&options.continueOnError){reject(new UnmatchedParserError(file.url))}else if(!err||!("error"in err)){reject(ono.syntax(`Unable to parse ${file.url}`))}else if(err.error instanceof ParserError){reject(err.error)}else{reject(new ParserError(err.error.message,file.url))}}})}function isEmpty(value){return value===undefined||typeof value==="object"&&Object.keys(value).length===0||typeof value==="string"&&value.trim().length===0||Buffer.isBuffer(value)&&value.length===0}}).call(this)}).call(this,{isBuffer:require("../../../is-buffer/index.js")})},{"../../../is-buffer/index.js":160,"./util/errors":60,"./util/plugins":61,"./util/url":62,"@jsdevtools/ono":99}],50:[function(require,module,exports){(function(Buffer){(function(){"use strict";let BINARY_REGEXP=/\.(jpeg|jpg|gif|png|bmp|ico)$/i;module.exports={order:400,allowEmpty:true,canParse(file){return Buffer.isBuffer(file.data)&&BINARY_REGEXP.test(file.url)},parse(file){if(Buffer.isBuffer(file.data)){return file.data}else{return Buffer.from(file.data)}}}}).call(this)}).call(this,require("buffer").Buffer)},{buffer:151}],51:[function(require,module,exports){(function(Buffer){(function(){"use strict";const{ParserError:ParserError}=require("../util/errors");module.exports={order:100,allowEmpty:true,canParse:".json",async parse(file){let data=file.data;if(Buffer.isBuffer(data)){data=data.toString()}if(typeof data==="string"){if(data.trim().length===0){return}else{try{return JSON.parse(data)}catch(e){throw new ParserError(e.message,file.url)}}}else{return data}}}}).call(this)}).call(this,{isBuffer:require("../../../../is-buffer/index.js")})},{"../../../../is-buffer/index.js":160,"../util/errors":60}],52:[function(require,module,exports){(function(Buffer){(function(){"use strict";const{ParserError:ParserError}=require("../util/errors");let TEXT_REGEXP=/\.(txt|htm|html|md|xml|js|min|map|css|scss|less|svg)$/i;module.exports={order:300,allowEmpty:true,encoding:"utf8",canParse(file){return(typeof file.data==="string"||Buffer.isBuffer(file.data))&&TEXT_REGEXP.test(file.url)},parse(file){if(typeof file.data==="string"){return file.data}else if(Buffer.isBuffer(file.data)){return file.data.toString(this.encoding)}else{throw new ParserError("data is not text",file.url)}}}}).call(this)}).call(this,{isBuffer:require("../../../../is-buffer/index.js")})},{"../../../../is-buffer/index.js":160,"../util/errors":60}],53:[function(require,module,exports){(function(Buffer){(function(){"use strict";const{ParserError:ParserError}=require("../util/errors");const yaml=require("js-yaml");module.exports={order:200,allowEmpty:true,canParse:[".yaml",".yml",".json"],async parse(file){let data=file.data;if(Buffer.isBuffer(data)){data=data.toString()}if(typeof data==="string"){try{return yaml.load(data)}catch(e){throw new ParserError(e.message,file.url)}}else{return data}}}}).call(this)}).call(this,{isBuffer:require("../../../../is-buffer/index.js")})},{"../../../../is-buffer/index.js":160,"../util/errors":60,"js-yaml":63}],54:[function(require,module,exports){"use strict";module.exports=Pointer;const $Ref=require("./ref");const url=require("./util/url");const{JSONParserError:JSONParserError,InvalidPointerError:InvalidPointerError,MissingPointerError:MissingPointerError,isHandledError:isHandledError}=require("./util/errors");const slashes=/\//g;const tildes=/~/g;const escapedSlash=/~1/g;const escapedTilde=/~0/g;function Pointer($ref,path,friendlyPath){this.$ref=$ref;this.path=path;this.originalPath=friendlyPath||path;this.value=undefined;this.circular=false;this.indirections=0}Pointer.prototype.resolve=function(obj,options,pathFromRoot){let tokens=Pointer.parse(this.path,this.originalPath);this.value=unwrapOrThrow(obj);for(let i=0;ifootprint);if(Array.isArray(err.errors)){this.errors.push(...err.errors.map(normalizeError).filter(({footprint:footprint})=>!existingErrors.includes(footprint)))}else if(!existingErrors.includes(err.footprint)){this.errors.push(normalizeError(err))}};$Ref.prototype.exists=function(path,options){try{this.resolve(path,options);return true}catch(e){return false}};$Ref.prototype.get=function(path,options){return this.resolve(path,options).value};$Ref.prototype.resolve=function(path,options,friendlyPath,pathFromRoot){let pointer=new Pointer(this,path,friendlyPath);try{return pointer.resolve(this.value,options,pathFromRoot)}catch(err){if(!options||!options.continueOnError||!isHandledError(err)){throw err}if(err.path===null){err.path=safePointerToPath(getHash(pathFromRoot))}if(err instanceof InvalidPointerError){err.source=stripHash(pathFromRoot)}this.addError(err);return null}};$Ref.prototype.set=function(path,value){let pointer=new Pointer(this,path);this.value=pointer.set(this.value,value)};$Ref.is$Ref=function(value){return value&&typeof value==="object"&&typeof value.$ref==="string"&&value.$ref.length>0};$Ref.isExternal$Ref=function(value){return $Ref.is$Ref(value)&&value.$ref[0]!=="#"};$Ref.isAllowed$Ref=function(value,options){if($Ref.is$Ref(value)){if(value.$ref.substr(0,2)==="#/"||value.$ref==="#"){return true}else if(value.$ref[0]!=="#"&&(!options||options.resolve.external)){return true}}};$Ref.isExtended$Ref=function(value){return $Ref.is$Ref(value)&&Object.keys(value).length>1};$Ref.dereference=function($ref,resolvedValue){if(resolvedValue&&typeof resolvedValue==="object"&&$Ref.isExtended$Ref($ref)){let merged={};for(let key of Object.keys($ref)){if(key!=="$ref"){merged[key]=$ref[key]}}for(let key of Object.keys(resolvedValue)){if(!(key in merged)){merged[key]=resolvedValue[key]}}return merged}else{return resolvedValue}}},{"./pointer":54,"./util/errors":60,"./util/url":62}],56:[function(require,module,exports){"use strict";const{ono:ono}=require("@jsdevtools/ono");const $Ref=require("./ref");const url=require("./util/url");module.exports=$Refs;function $Refs(){this.circular=false;this._$refs={};this._root$Ref=null}$Refs.prototype.paths=function(types){let paths=getPaths(this._$refs,arguments);return paths.map(path=>{return path.decoded})};$Refs.prototype.values=function(types){let $refs=this._$refs;let paths=getPaths($refs,arguments);return paths.reduce((obj,path)=>{obj[path.decoded]=$refs[path.encoded].value;return obj},{})};$Refs.prototype.toJSON=$Refs.prototype.values;$Refs.prototype.exists=function(path,options){try{this._resolve(path,"",options);return true}catch(e){return false}};$Refs.prototype.get=function(path,options){return this._resolve(path,"",options).value};$Refs.prototype.set=function(path,value){let absPath=url.resolve(this._root$Ref.path,path);let withoutHash=url.stripHash(absPath);let $ref=this._$refs[withoutHash];if(!$ref){throw ono(`Error resolving $ref pointer "${path}". \n"${withoutHash}" not found.`)}$ref.set(absPath,value)};$Refs.prototype._add=function(path){let withoutHash=url.stripHash(path);let $ref=new $Ref;$ref.path=withoutHash;$ref.$refs=this;this._$refs[withoutHash]=$ref;this._root$Ref=this._root$Ref||$ref;return $ref};$Refs.prototype._resolve=function(path,pathFromRoot,options){let absPath=url.resolve(this._root$Ref.path,path);let withoutHash=url.stripHash(absPath);let $ref=this._$refs[withoutHash];if(!$ref){throw ono(`Error resolving $ref pointer "${path}". \n"${withoutHash}" not found.`)}return $ref.resolve(absPath,options,path,pathFromRoot)};$Refs.prototype._get$Ref=function(path){path=url.resolve(this._root$Ref.path,path);let withoutHash=url.stripHash(path);return this._$refs[withoutHash]};function getPaths($refs,types){let paths=Object.keys($refs);types=Array.isArray(types[0])?types[0]:Array.prototype.slice.call(types);if(types.length>0&&types[0]){paths=paths.filter(key=>{return types.indexOf($refs[key].pathType)!==-1})}return paths.map(path=>{return{encoded:path,decoded:$refs[path].pathType==="file"?url.toFileSystemPath(path,true):path}})}},{"./ref":55,"./util/url":62,"@jsdevtools/ono":99}],57:[function(require,module,exports){"use strict";const $Ref=require("./ref");const Pointer=require("./pointer");const parse=require("./parse");const url=require("./util/url");const{isHandledError:isHandledError}=require("./util/errors");module.exports=resolveExternal;function resolveExternal(parser,options){if(!options.resolve.external){return Promise.resolve()}try{let promises=crawl(parser.schema,parser.$refs._root$Ref.path+"#",parser.$refs,options);return Promise.all(promises)}catch(e){return Promise.reject(e)}}function crawl(obj,path,$refs,options,seen){seen=seen||new Set;let promises=[];if(obj&&typeof obj==="object"&&!ArrayBuffer.isView(obj)&&!seen.has(obj)){seen.add(obj);if($Ref.isExternal$Ref(obj)){promises.push(resolve$Ref(obj,path,$refs,options))}else{for(let key of Object.keys(obj)){let keyPath=Pointer.join(path,key);let value=obj[key];if($Ref.isExternal$Ref(value)){promises.push(resolve$Ref(value,keyPath,$refs,options))}else{promises=promises.concat(crawl(value,keyPath,$refs,options,seen))}}}}return promises}async function resolve$Ref($ref,path,$refs,options){let resolvedPath=url.resolve(path,$ref.$ref);let withoutHash=url.stripHash(resolvedPath);$ref=$refs._$refs[withoutHash];if($ref){return Promise.resolve($ref.value)}try{const result=await parse(resolvedPath,$refs,options);let promises=crawl(result,withoutHash+"#",$refs,options);return Promise.all(promises)}catch(err){if(!options.continueOnError||!isHandledError(err)){throw err}if($refs._$refs[withoutHash]){err.source=url.stripHash(path);err.path=url.safePointerToPath(url.getHash(path))}return[]}}},{"./parse":49,"./pointer":54,"./ref":55,"./util/errors":60,"./util/url":62}],58:[function(require,module,exports){"use strict";const fs=require("fs");const{ono:ono}=require("@jsdevtools/ono");const url=require("../util/url");const{ResolverError:ResolverError}=require("../util/errors");module.exports={order:100,canRead(file){return url.isFileSystemPath(file.url)},read(file){return new Promise((resolve,reject)=>{let path;try{path=url.toFileSystemPath(file.url)}catch(err){reject(new ResolverError(ono.uri(err,`Malformed URI: ${file.url}`),file.url))}try{fs.readFile(path,(err,data)=>{if(err){reject(new ResolverError(ono(err,`Error opening file "${path}"`),path))}else{resolve(data)}})}catch(err){reject(new ResolverError(ono(err,`Error opening file "${path}"`),path))}})}}},{"../util/errors":60,"../util/url":62,"@jsdevtools/ono":99,fs:150}],59:[function(require,module,exports){(function(process,Buffer){(function(){"use strict";const http=require("http");const https=require("https");const{ono:ono}=require("@jsdevtools/ono");const url=require("../util/url");const{ResolverError:ResolverError}=require("../util/errors");module.exports={order:200,headers:null,timeout:5e3,redirects:5,withCredentials:false,canRead(file){return url.isHttp(file.url)},read(file){let u=url.parse(file.url);if(process.browser&&!u.protocol){u.protocol=url.parse(location.href).protocol}return download(u,this)}};function download(u,httpOptions,redirects){return new Promise((resolve,reject)=>{u=url.parse(u);redirects=redirects||[];redirects.push(u.href);get(u,httpOptions).then(res=>{if(res.statusCode>=400){throw ono({status:res.statusCode},`HTTP ERROR ${res.statusCode}`)}else if(res.statusCode>=300){if(redirects.length>httpOptions.redirects){reject(new ResolverError(ono({status:res.statusCode},`Error downloading ${redirects[0]}. \nToo many redirects: \n ${redirects.join(" \n ")}`)))}else if(!res.headers.location){throw ono({status:res.statusCode},`HTTP ${res.statusCode} redirect with no location header`)}else{let redirectTo=url.resolve(u,res.headers.location);download(redirectTo,httpOptions,redirects).then(resolve,reject)}}else{resolve(res.body||Buffer.alloc(0))}}).catch(err=>{reject(new ResolverError(ono(err,`Error downloading ${u.href}`),u.href))})})}function get(u,httpOptions){return new Promise((resolve,reject)=>{let protocol=u.protocol==="https:"?https:http;let req=protocol.get({hostname:u.hostname,port:u.port,path:u.path,auth:u.auth,protocol:u.protocol,headers:httpOptions.headers||{},withCredentials:httpOptions.withCredentials});if(typeof req.setTimeout==="function"){req.setTimeout(httpOptions.timeout)}req.on("timeout",()=>{req.abort()});req.on("error",reject);req.once("response",res=>{res.body=Buffer.alloc(0);res.on("data",data=>{res.body=Buffer.concat([res.body,Buffer.from(data)])});res.on("error",reject);res.on("end",()=>{resolve(res)})})})}}).call(this)}).call(this,require("_process"),require("buffer").Buffer)},{"../util/errors":60,"../util/url":62,"@jsdevtools/ono":99,_process:195,buffer:151,http:201,https:157}],60:[function(require,module,exports){"use strict";const{Ono:Ono}=require("@jsdevtools/ono");const{stripHash:stripHash,toFileSystemPath:toFileSystemPath}=require("./url");const JSONParserError=exports.JSONParserError=class JSONParserError extends Error{constructor(message,source){super();this.code="EUNKNOWN";this.message=message;this.source=source;this.path=null;Ono.extend(this)}get footprint(){return`${this.path}+${this.source}+${this.code}+${this.message}`}};setErrorName(JSONParserError);const JSONParserErrorGroup=exports.JSONParserErrorGroup=class JSONParserErrorGroup extends Error{constructor(parser){super();this.files=parser;this.message=`${this.errors.length} error${this.errors.length>1?"s":""} occurred while reading '${toFileSystemPath(parser.$refs._root$Ref.path)}'`;Ono.extend(this)}static getParserErrors(parser){const errors=[];for(const $ref of Object.values(parser.$refs._$refs)){if($ref.errors){errors.push(...$ref.errors)}}return errors}get errors(){return JSONParserErrorGroup.getParserErrors(this.files)}};setErrorName(JSONParserErrorGroup);const ParserError=exports.ParserError=class ParserError extends JSONParserError{constructor(message,source){super(`Error parsing ${source}: ${message}`,source);this.code="EPARSER"}};setErrorName(ParserError);const UnmatchedParserError=exports.UnmatchedParserError=class UnmatchedParserError extends JSONParserError{constructor(source){super(`Could not find parser for "${source}"`,source);this.code="EUNMATCHEDPARSER"}};setErrorName(UnmatchedParserError);const ResolverError=exports.ResolverError=class ResolverError extends JSONParserError{constructor(ex,source){super(ex.message||`Error reading file "${source}"`,source);this.code="ERESOLVER";if("code"in ex){this.ioErrorCode=String(ex.code)}}};setErrorName(ResolverError);const UnmatchedResolverError=exports.UnmatchedResolverError=class UnmatchedResolverError extends JSONParserError{constructor(source){super(`Could not find resolver for "${source}"`,source);this.code="EUNMATCHEDRESOLVER"}};setErrorName(UnmatchedResolverError);const MissingPointerError=exports.MissingPointerError=class MissingPointerError extends JSONParserError{constructor(token,path){super(`Token "${token}" does not exist.`,stripHash(path));this.code="EMISSINGPOINTER"}};setErrorName(MissingPointerError);const InvalidPointerError=exports.InvalidPointerError=class InvalidPointerError extends JSONParserError{constructor(pointer,path){super(`Invalid $ref pointer "${pointer}". Pointers must begin with "#/"`,stripHash(path));this.code="EINVALIDPOINTER"}};setErrorName(InvalidPointerError);function setErrorName(err){Object.defineProperty(err.prototype,"name",{value:err.name,enumerable:true})}exports.isHandledError=function(err){return err instanceof JSONParserError||err instanceof JSONParserErrorGroup};exports.normalizeError=function(err){if(err.path===null){err.path=[]}return err}},{"./url":62,"@jsdevtools/ono":99}],61:[function(require,module,exports){"use strict";exports.all=function(plugins){return Object.keys(plugins).filter(key=>{return typeof plugins[key]==="object"}).map(key=>{plugins[key].name=key;return plugins[key]})};exports.filter=function(plugins,method,file){return plugins.filter(plugin=>{return!!getResult(plugin,method,file)})};exports.sort=function(plugins){for(let plugin of plugins){plugin.order=plugin.order||Number.MAX_SAFE_INTEGER}return plugins.sort((a,b)=>{return a.order-b.order})};exports.run=function(plugins,method,file,$refs){let plugin,lastError,index=0;return new Promise((resolve,reject)=>{runNextPlugin();function runNextPlugin(){plugin=plugins[index++];if(!plugin){return reject(lastError)}try{let result=getResult(plugin,method,file,callback,$refs);if(result&&typeof result.then==="function"){result.then(onSuccess,onError)}else if(result!==undefined){onSuccess(result)}else if(index===plugins.length){throw new Error("No promise has been returned or callback has been called.")}}catch(e){onError(e)}}function callback(err,result){if(err){onError(err)}else{onSuccess(result)}}function onSuccess(result){resolve({plugin:plugin,result:result})}function onError(error){lastError={plugin:plugin,error:error};runNextPlugin()}})};function getResult(obj,prop,file,callback,$refs){let value=obj[prop];if(typeof value==="function"){return value.apply(obj,[file,callback,$refs])}if(!callback){if(value instanceof RegExp){return value.test(file.url)}else if(typeof value==="string"){return value===file.extension}else if(Array.isArray(value)){return value.indexOf(file.extension)!==-1}}return value}},{}],62:[function(require,module,exports){(function(process){(function(){"use strict";let isWindows=/^win/.test(process.platform),forwardSlashPattern=/\//g,protocolPattern=/^(\w{2,}):\/\//i,url=module.exports,jsonPointerSlash=/~1/g,jsonPointerTilde=/~0/g;let urlEncodePatterns=[/\?/g,"%3F",/\#/g,"%23"];let urlDecodePatterns=[/\%23/g,"#",/\%24/g,"$",/\%26/g,"&",/\%2C/g,",",/\%40/g,"@"];exports.parse=require("url").parse;exports.resolve=require("url").resolve;exports.cwd=function cwd(){if(process.browser){return location.href}let path=process.cwd();let lastChar=path.slice(-1);if(lastChar==="/"||lastChar==="\\"){return path}else{return path+"/"}};exports.getProtocol=function getProtocol(path){let match=protocolPattern.exec(path);if(match){return match[1].toLowerCase()}};exports.getExtension=function getExtension(path){let lastDot=path.lastIndexOf(".");if(lastDot>=0){return url.stripQuery(path.substr(lastDot).toLowerCase())}return""};exports.stripQuery=function stripQuery(path){let queryIndex=path.indexOf("?");if(queryIndex>=0){path=path.substr(0,queryIndex)}return path};exports.getHash=function getHash(path){let hashIndex=path.indexOf("#");if(hashIndex>=0){return path.substr(hashIndex)}return"#"};exports.stripHash=function stripHash(path){let hashIndex=path.indexOf("#");if(hashIndex>=0){path=path.substr(0,hashIndex)}return path};exports.isHttp=function isHttp(path){let protocol=url.getProtocol(path);if(protocol==="http"||protocol==="https"){return true}else if(protocol===undefined){return process.browser}else{return false}};exports.isFileSystemPath=function isFileSystemPath(path){if(process.browser){return false}let protocol=url.getProtocol(path);return protocol===undefined||protocol==="file"};exports.fromFileSystemPath=function fromFileSystemPath(path){if(isWindows){path=path.replace(/\\/g,"/")}path=encodeURI(path);for(let i=0;i{return decodeURIComponent(value).replace(jsonPointerSlash,"/").replace(jsonPointerTilde,"~")})}}).call(this)}).call(this,require("_process"))},{_process:195,url:223}],63:[function(require,module,exports){"use strict";var loader=require("./lib/loader");var dumper=require("./lib/dumper");function renamed(from,to){return function(){throw new Error("Function yaml."+from+" is removed in js-yaml 4. "+"Use yaml."+to+" instead, which is now safe by default.")}}module.exports.Type=require("./lib/type");module.exports.Schema=require("./lib/schema");module.exports.FAILSAFE_SCHEMA=require("./lib/schema/failsafe");module.exports.JSON_SCHEMA=require("./lib/schema/json");module.exports.CORE_SCHEMA=require("./lib/schema/core");module.exports.DEFAULT_SCHEMA=require("./lib/schema/default");module.exports.load=loader.load;module.exports.loadAll=loader.loadAll;module.exports.dump=dumper.dump;module.exports.YAMLException=require("./lib/exception");module.exports.types={binary:require("./lib/type/binary"),float:require("./lib/type/float"),map:require("./lib/type/map"),null:require("./lib/type/null"),pairs:require("./lib/type/pairs"),set:require("./lib/type/set"),timestamp:require("./lib/type/timestamp"),bool:require("./lib/type/bool"),int:require("./lib/type/int"),merge:require("./lib/type/merge"),omap:require("./lib/type/omap"),seq:require("./lib/type/seq"),str:require("./lib/type/str")};module.exports.safeLoad=renamed("safeLoad","load");module.exports.safeLoadAll=renamed("safeLoadAll","loadAll");module.exports.safeDump=renamed("safeDump","dump")},{"./lib/dumper":65,"./lib/exception":66,"./lib/loader":67,"./lib/schema":68,"./lib/schema/core":69,"./lib/schema/default":70,"./lib/schema/failsafe":71,"./lib/schema/json":72,"./lib/type":74,"./lib/type/binary":75,"./lib/type/bool":76,"./lib/type/float":77,"./lib/type/int":78,"./lib/type/map":79,"./lib/type/merge":80,"./lib/type/null":81,"./lib/type/omap":82,"./lib/type/pairs":83,"./lib/type/seq":84,"./lib/type/set":85,"./lib/type/str":86,"./lib/type/timestamp":87}],64:[function(require,module,exports){"use strict";function isNothing(subject){return typeof subject==="undefined"||subject===null}function isObject(subject){return typeof subject==="object"&&subject!==null}function toArray(sequence){if(Array.isArray(sequence))return sequence;else if(isNothing(sequence))return[];return[sequence]}function extend(target,source){var index,length,key,sourceKeys;if(source){sourceKeys=Object.keys(source);for(index=0,length=sourceKeys.length;index=55296&&first<=56319&&pos+1=56320&&second<=57343){return(first-55296)*1024+second-56320+65536}}return first}function needIndentIndicator(string){var leadingSpaceRe=/^\n* /;return leadingSpaceRe.test(string)}var STYLE_PLAIN=1,STYLE_SINGLE=2,STYLE_LITERAL=3,STYLE_FOLDED=4,STYLE_DOUBLE=5;function chooseScalarStyle(string,singleLineOnly,indentPerLevel,lineWidth,testAmbiguousType,quotingType,forceQuotes,inblock){var i;var char=0;var prevChar=null;var hasLineBreak=false;var hasFoldableLine=false;var shouldTrackWidth=lineWidth!==-1;var previousLineBreak=-1;var plain=isPlainSafeFirst(codePointAt(string,0))&&isPlainSafeLast(codePointAt(string,string.length-1));if(singleLineOnly||forceQuotes){for(i=0;i=65536?i+=2:i++){char=codePointAt(string,i);if(!isPrintable(char)){return STYLE_DOUBLE}plain=plain&&isPlainSafe(char,prevChar,inblock);prevChar=char}}else{for(i=0;i=65536?i+=2:i++){char=codePointAt(string,i);if(char===CHAR_LINE_FEED){hasLineBreak=true;if(shouldTrackWidth){hasFoldableLine=hasFoldableLine||i-previousLineBreak-1>lineWidth&&string[previousLineBreak+1]!==" ";previousLineBreak=i}}else if(!isPrintable(char)){return STYLE_DOUBLE}plain=plain&&isPlainSafe(char,prevChar,inblock);prevChar=char}hasFoldableLine=hasFoldableLine||shouldTrackWidth&&(i-previousLineBreak-1>lineWidth&&string[previousLineBreak+1]!==" ")}if(!hasLineBreak&&!hasFoldableLine){if(plain&&!forceQuotes&&!testAmbiguousType(string)){return STYLE_PLAIN}return quotingType===QUOTING_TYPE_DOUBLE?STYLE_DOUBLE:STYLE_SINGLE}if(indentPerLevel>9&&needIndentIndicator(string)){return STYLE_DOUBLE}if(!forceQuotes){return hasFoldableLine?STYLE_FOLDED:STYLE_LITERAL}return quotingType===QUOTING_TYPE_DOUBLE?STYLE_DOUBLE:STYLE_SINGLE}function writeScalar(state,string,level,iskey,inblock){state.dump=function(){if(string.length===0){return state.quotingType===QUOTING_TYPE_DOUBLE?'""':"''"}if(!state.noCompatMode){if(DEPRECATED_BOOLEANS_SYNTAX.indexOf(string)!==-1||DEPRECATED_BASE60_SYNTAX.test(string)){return state.quotingType===QUOTING_TYPE_DOUBLE?'"'+string+'"':"'"+string+"'"}}var indent=state.indent*Math.max(1,level);var lineWidth=state.lineWidth===-1?-1:Math.max(Math.min(state.lineWidth,40),state.lineWidth-indent);var singleLineOnly=iskey||state.flowLevel>-1&&level>=state.flowLevel;function testAmbiguity(string){return testImplicitResolving(state,string)}switch(chooseScalarStyle(string,singleLineOnly,state.indent,lineWidth,testAmbiguity,state.quotingType,state.forceQuotes&&!iskey,inblock)){case STYLE_PLAIN:return string;case STYLE_SINGLE:return"'"+string.replace(/'/g,"''")+"'";case STYLE_LITERAL:return"|"+blockHeader(string,state.indent)+dropEndingNewline(indentString(string,indent));case STYLE_FOLDED:return">"+blockHeader(string,state.indent)+dropEndingNewline(indentString(foldString(string,lineWidth),indent));case STYLE_DOUBLE:return'"'+escapeString(string,lineWidth)+'"';default:throw new YAMLException("impossible error: invalid scalar style")}}()}function blockHeader(string,indentPerLevel){var indentIndicator=needIndentIndicator(string)?String(indentPerLevel):"";var clip=string[string.length-1]==="\n";var keep=clip&&(string[string.length-2]==="\n"||string==="\n");var chomp=keep?"+":clip?"":"-";return indentIndicator+chomp+"\n"}function dropEndingNewline(string){return string[string.length-1]==="\n"?string.slice(0,-1):string}function foldString(string,width){var lineRe=/(\n+)([^\n]*)/g;var result=function(){var nextLF=string.indexOf("\n");nextLF=nextLF!==-1?nextLF:string.length;lineRe.lastIndex=nextLF;return foldLine(string.slice(0,nextLF),width)}();var prevMoreIndented=string[0]==="\n"||string[0]===" ";var moreIndented;var match;while(match=lineRe.exec(string)){var prefix=match[1],line=match[2];moreIndented=line[0]===" ";result+=prefix+(!prevMoreIndented&&!moreIndented&&line!==""?"\n":"")+foldLine(line,width);prevMoreIndented=moreIndented}return result}function foldLine(line,width){if(line===""||line[0]===" ")return line;var breakRe=/ [^ ]/g;var match;var start=0,end,curr=0,next=0;var result="";while(match=breakRe.exec(line)){next=match.index;if(next-start>width){end=curr>start?curr:next;result+="\n"+line.slice(start,end);start=end+1}curr=next}result+="\n";if(line.length-start>width&&curr>start){result+=line.slice(start,curr)+"\n"+line.slice(curr+1)}else{result+=line.slice(start)}return result.slice(1)}function escapeString(string){var result="";var char=0;var escapeSeq;for(var i=0;i=65536?i+=2:i++){char=codePointAt(string,i);escapeSeq=ESCAPE_SEQUENCES[char];if(!escapeSeq&&isPrintable(char)){result+=string[i];if(char>=65536)result+=string[i+1]}else{result+=escapeSeq||encodeHex(char)}}return result}function writeFlowSequence(state,level,object){var _result="",_tag=state.tag,index,length,value;for(index=0,length=object.length;index1024)pairBuffer+="? ";pairBuffer+=state.dump+(state.condenseFlow?'"':"")+":"+(state.condenseFlow?"":" ");if(!writeNode(state,level,objectValue,false,false)){continue}pairBuffer+=state.dump;_result+=pairBuffer}state.tag=_tag;state.dump="{"+_result+"}"}function writeBlockMapping(state,level,object,compact){var _result="",_tag=state.tag,objectKeyList=Object.keys(object),index,length,objectKey,objectValue,explicitPair,pairBuffer;if(state.sortKeys===true){objectKeyList.sort()}else if(typeof state.sortKeys==="function"){objectKeyList.sort(state.sortKeys)}else if(state.sortKeys){throw new YAMLException("sortKeys must be a boolean or a function")}for(index=0,length=objectKeyList.length;index1024;if(explicitPair){if(state.dump&&CHAR_LINE_FEED===state.dump.charCodeAt(0)){pairBuffer+="?"}else{pairBuffer+="? "}}pairBuffer+=state.dump;if(explicitPair){pairBuffer+=generateNextLine(state,level)}if(!writeNode(state,level+1,objectValue,true,explicitPair)){continue}if(state.dump&&CHAR_LINE_FEED===state.dump.charCodeAt(0)){pairBuffer+=":"}else{pairBuffer+=": "}pairBuffer+=state.dump;_result+=pairBuffer}state.tag=_tag;state.dump=_result||"{}"}function detectType(state,object,explicit){var _result,typeList,index,length,type,style;typeList=explicit?state.explicitTypes:state.implicitTypes;for(index=0,length=typeList.length;index tag resolver accepts not "'+style+'" style')}state.dump=_result}return true}}return false}function writeNode(state,level,object,block,compact,iskey,isblockseq){state.tag=null;state.dump=object;if(!detectType(state,object,false)){detectType(state,object,true)}var type=_toString.call(state.dump);var inblock=block;var tagStr;if(block){block=state.flowLevel<0||state.flowLevel>level}var objectOrArray=type==="[object Object]"||type==="[object Array]",duplicateIndex,duplicate;if(objectOrArray){duplicateIndex=state.duplicates.indexOf(object);duplicate=duplicateIndex!==-1}if(state.tag!==null&&state.tag!=="?"||duplicate||state.indent!==2&&level>0){compact=false}if(duplicate&&state.usedDuplicates[duplicateIndex]){state.dump="*ref_"+duplicateIndex}else{if(objectOrArray&&duplicate&&!state.usedDuplicates[duplicateIndex]){state.usedDuplicates[duplicateIndex]=true}if(type==="[object Object]"){if(block&&Object.keys(state.dump).length!==0){writeBlockMapping(state,level,state.dump,compact);if(duplicate){state.dump="&ref_"+duplicateIndex+state.dump}}else{writeFlowMapping(state,level,state.dump);if(duplicate){state.dump="&ref_"+duplicateIndex+" "+state.dump}}}else if(type==="[object Array]"){if(block&&state.dump.length!==0){if(state.noArrayIndent&&!isblockseq&&level>0){writeBlockSequence(state,level-1,state.dump,compact)}else{writeBlockSequence(state,level,state.dump,compact)}if(duplicate){state.dump="&ref_"+duplicateIndex+state.dump}}else{writeFlowSequence(state,level,state.dump);if(duplicate){state.dump="&ref_"+duplicateIndex+" "+state.dump}}}else if(type==="[object String]"){if(state.tag!=="?"){writeScalar(state,state.dump,level,iskey,inblock)}}else if(type==="[object Undefined]"){return false}else{if(state.skipInvalid)return false;throw new YAMLException("unacceptable kind of an object to dump "+type)}if(state.tag!==null&&state.tag!=="?"){tagStr=encodeURI(state.tag[0]==="!"?state.tag.slice(1):state.tag).replace(/!/g,"%21");if(state.tag[0]==="!"){tagStr="!"+tagStr}else if(tagStr.slice(0,18)==="tag:yaml.org,2002:"){tagStr="!!"+tagStr.slice(18)}else{tagStr="!<"+tagStr+">"}state.dump=tagStr+" "+state.dump}}return true}function getDuplicateReferences(object,state){var objects=[],duplicatesIndexes=[],index,length;inspectNode(object,objects,duplicatesIndexes);for(index=0,length=duplicatesIndexes.length;index>10)+55296,(c-65536&1023)+56320)}var simpleEscapeCheck=new Array(256);var simpleEscapeMap=new Array(256);for(var i=0;i<256;i++){simpleEscapeCheck[i]=simpleEscapeSequence(i)?1:0;simpleEscapeMap[i]=simpleEscapeSequence(i)}function State(input,options){this.input=input;this.filename=options["filename"]||null;this.schema=options["schema"]||DEFAULT_SCHEMA;this.onWarning=options["onWarning"]||null;this.legacy=options["legacy"]||false;this.json=options["json"]||false;this.listener=options["listener"]||null;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=input.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.firstTabInLine=-1;this.documents=[]}function generateError(state,message){var mark={name:state.filename,buffer:state.input.slice(0,-1),position:state.position,line:state.line,column:state.position-state.lineStart};mark.snippet=makeSnippet(mark);return new YAMLException(message,mark)}function throwError(state,message){throw generateError(state,message)}function throwWarning(state,message){if(state.onWarning){state.onWarning.call(null,generateError(state,message))}}var directiveHandlers={YAML:function handleYamlDirective(state,name,args){var match,major,minor;if(state.version!==null){throwError(state,"duplication of %YAML directive")}if(args.length!==1){throwError(state,"YAML directive accepts exactly one argument")}match=/^([0-9]+)\.([0-9]+)$/.exec(args[0]);if(match===null){throwError(state,"ill-formed argument of the YAML directive")}major=parseInt(match[1],10);minor=parseInt(match[2],10);if(major!==1){throwError(state,"unacceptable YAML version of the document")}state.version=args[0];state.checkLineBreaks=minor<2;if(minor!==1&&minor!==2){throwWarning(state,"unsupported YAML version of the document")}},TAG:function handleTagDirective(state,name,args){var handle,prefix;if(args.length!==2){throwError(state,"TAG directive accepts exactly two arguments")}handle=args[0];prefix=args[1];if(!PATTERN_TAG_HANDLE.test(handle)){throwError(state,"ill-formed tag handle (first argument) of the TAG directive")}if(_hasOwnProperty.call(state.tagMap,handle)){throwError(state,'there is a previously declared suffix for "'+handle+'" tag handle')}if(!PATTERN_TAG_URI.test(prefix)){throwError(state,"ill-formed tag prefix (second argument) of the TAG directive")}try{prefix=decodeURIComponent(prefix)}catch(err){throwError(state,"tag prefix is malformed: "+prefix)}state.tagMap[handle]=prefix}};function captureSegment(state,start,end,checkJson){var _position,_length,_character,_result;if(start1){state.result+=common.repeat("\n",count-1)}}function readPlainScalar(state,nodeIndent,withinFlowCollection){var preceding,following,captureStart,captureEnd,hasPendingContent,_line,_lineStart,_lineIndent,_kind=state.kind,_result=state.result,ch;ch=state.input.charCodeAt(state.position);if(is_WS_OR_EOL(ch)||is_FLOW_INDICATOR(ch)||ch===35||ch===38||ch===42||ch===33||ch===124||ch===62||ch===39||ch===34||ch===37||ch===64||ch===96){return false}if(ch===63||ch===45){following=state.input.charCodeAt(state.position+1);if(is_WS_OR_EOL(following)||withinFlowCollection&&is_FLOW_INDICATOR(following)){return false}}state.kind="scalar";state.result="";captureStart=captureEnd=state.position;hasPendingContent=false;while(ch!==0){if(ch===58){following=state.input.charCodeAt(state.position+1);if(is_WS_OR_EOL(following)||withinFlowCollection&&is_FLOW_INDICATOR(following)){break}}else if(ch===35){preceding=state.input.charCodeAt(state.position-1);if(is_WS_OR_EOL(preceding)){break}}else if(state.position===state.lineStart&&testDocumentSeparator(state)||withinFlowCollection&&is_FLOW_INDICATOR(ch)){break}else if(is_EOL(ch)){_line=state.line;_lineStart=state.lineStart;_lineIndent=state.lineIndent;skipSeparationSpace(state,false,-1);if(state.lineIndent>=nodeIndent){hasPendingContent=true;ch=state.input.charCodeAt(state.position);continue}else{state.position=captureEnd;state.line=_line;state.lineStart=_lineStart;state.lineIndent=_lineIndent;break}}if(hasPendingContent){captureSegment(state,captureStart,captureEnd,false);writeFoldedLines(state,state.line-_line);captureStart=captureEnd=state.position;hasPendingContent=false}if(!is_WHITE_SPACE(ch)){captureEnd=state.position+1}ch=state.input.charCodeAt(++state.position)}captureSegment(state,captureStart,captureEnd,false);if(state.result){return true}state.kind=_kind;state.result=_result;return false}function readSingleQuotedScalar(state,nodeIndent){var ch,captureStart,captureEnd;ch=state.input.charCodeAt(state.position);if(ch!==39){return false}state.kind="scalar";state.result="";state.position++;captureStart=captureEnd=state.position;while((ch=state.input.charCodeAt(state.position))!==0){if(ch===39){captureSegment(state,captureStart,state.position,true);ch=state.input.charCodeAt(++state.position);if(ch===39){captureStart=state.position;state.position++;captureEnd=state.position}else{return true}}else if(is_EOL(ch)){captureSegment(state,captureStart,captureEnd,true);writeFoldedLines(state,skipSeparationSpace(state,false,nodeIndent));captureStart=captureEnd=state.position}else if(state.position===state.lineStart&&testDocumentSeparator(state)){throwError(state,"unexpected end of the document within a single quoted scalar")}else{state.position++;captureEnd=state.position}}throwError(state,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(state,nodeIndent){var captureStart,captureEnd,hexLength,hexResult,tmp,ch;ch=state.input.charCodeAt(state.position);if(ch!==34){return false}state.kind="scalar";state.result="";state.position++;captureStart=captureEnd=state.position;while((ch=state.input.charCodeAt(state.position))!==0){if(ch===34){captureSegment(state,captureStart,state.position,true);state.position++;return true}else if(ch===92){captureSegment(state,captureStart,state.position,true);ch=state.input.charCodeAt(++state.position);if(is_EOL(ch)){skipSeparationSpace(state,false,nodeIndent)}else if(ch<256&&simpleEscapeCheck[ch]){state.result+=simpleEscapeMap[ch];state.position++}else if((tmp=escapedHexLen(ch))>0){hexLength=tmp;hexResult=0;for(;hexLength>0;hexLength--){ch=state.input.charCodeAt(++state.position);if((tmp=fromHexCode(ch))>=0){hexResult=(hexResult<<4)+tmp}else{throwError(state,"expected hexadecimal character")}}state.result+=charFromCodepoint(hexResult);state.position++}else{throwError(state,"unknown escape sequence")}captureStart=captureEnd=state.position}else if(is_EOL(ch)){captureSegment(state,captureStart,captureEnd,true);writeFoldedLines(state,skipSeparationSpace(state,false,nodeIndent));captureStart=captureEnd=state.position}else if(state.position===state.lineStart&&testDocumentSeparator(state)){throwError(state,"unexpected end of the document within a double quoted scalar")}else{state.position++;captureEnd=state.position}}throwError(state,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(state,nodeIndent){var readNext=true,_line,_lineStart,_pos,_tag=state.tag,_result,_anchor=state.anchor,following,terminator,isPair,isExplicitPair,isMapping,overridableKeys=Object.create(null),keyNode,keyTag,valueNode,ch;ch=state.input.charCodeAt(state.position);if(ch===91){terminator=93;isMapping=false;_result=[]}else if(ch===123){terminator=125;isMapping=true;_result={}}else{return false}if(state.anchor!==null){state.anchorMap[state.anchor]=_result}ch=state.input.charCodeAt(++state.position);while(ch!==0){skipSeparationSpace(state,true,nodeIndent);ch=state.input.charCodeAt(state.position);if(ch===terminator){state.position++;state.tag=_tag;state.anchor=_anchor;state.kind=isMapping?"mapping":"sequence";state.result=_result;return true}else if(!readNext){throwError(state,"missed comma between flow collection entries")}else if(ch===44){throwError(state,"expected the node content, but found ','")}keyTag=keyNode=valueNode=null;isPair=isExplicitPair=false;if(ch===63){following=state.input.charCodeAt(state.position+1);if(is_WS_OR_EOL(following)){isPair=isExplicitPair=true;state.position++;skipSeparationSpace(state,true,nodeIndent)}}_line=state.line;_lineStart=state.lineStart;_pos=state.position;composeNode(state,nodeIndent,CONTEXT_FLOW_IN,false,true);keyTag=state.tag;keyNode=state.result;skipSeparationSpace(state,true,nodeIndent);ch=state.input.charCodeAt(state.position);if((isExplicitPair||state.line===_line)&&ch===58){isPair=true;ch=state.input.charCodeAt(++state.position);skipSeparationSpace(state,true,nodeIndent);composeNode(state,nodeIndent,CONTEXT_FLOW_IN,false,true);valueNode=state.result}if(isMapping){storeMappingPair(state,_result,overridableKeys,keyTag,keyNode,valueNode,_line,_lineStart,_pos)}else if(isPair){_result.push(storeMappingPair(state,null,overridableKeys,keyTag,keyNode,valueNode,_line,_lineStart,_pos))}else{_result.push(keyNode)}skipSeparationSpace(state,true,nodeIndent);ch=state.input.charCodeAt(state.position);if(ch===44){readNext=true;ch=state.input.charCodeAt(++state.position)}else{readNext=false}}throwError(state,"unexpected end of the stream within a flow collection")}function readBlockScalar(state,nodeIndent){var captureStart,folding,chomping=CHOMPING_CLIP,didReadContent=false,detectedIndent=false,textIndent=nodeIndent,emptyLines=0,atMoreIndented=false,tmp,ch;ch=state.input.charCodeAt(state.position);if(ch===124){folding=false}else if(ch===62){folding=true}else{return false}state.kind="scalar";state.result="";while(ch!==0){ch=state.input.charCodeAt(++state.position);if(ch===43||ch===45){if(CHOMPING_CLIP===chomping){chomping=ch===43?CHOMPING_KEEP:CHOMPING_STRIP}else{throwError(state,"repeat of a chomping mode identifier")}}else if((tmp=fromDecimalCode(ch))>=0){if(tmp===0){throwError(state,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!detectedIndent){textIndent=nodeIndent+tmp-1;detectedIndent=true}else{throwError(state,"repeat of an indentation width identifier")}}else{break}}if(is_WHITE_SPACE(ch)){do{ch=state.input.charCodeAt(++state.position)}while(is_WHITE_SPACE(ch));if(ch===35){do{ch=state.input.charCodeAt(++state.position)}while(!is_EOL(ch)&&ch!==0)}}while(ch!==0){readLineBreak(state);state.lineIndent=0;ch=state.input.charCodeAt(state.position);while((!detectedIndent||state.lineIndenttextIndent){textIndent=state.lineIndent}if(is_EOL(ch)){emptyLines++;continue}if(state.lineIndentnodeIndent)&&ch!==0){throwError(state,"bad indentation of a sequence entry")}else if(state.lineIndentnodeIndent){if(atExplicitKey){_keyLine=state.line;_keyLineStart=state.lineStart;_keyPos=state.position}if(composeNode(state,nodeIndent,CONTEXT_BLOCK_OUT,true,allowCompact)){if(atExplicitKey){keyNode=state.result}else{valueNode=state.result}}if(!atExplicitKey){storeMappingPair(state,_result,overridableKeys,keyTag,keyNode,valueNode,_keyLine,_keyLineStart,_keyPos);keyTag=keyNode=valueNode=null}skipSeparationSpace(state,true,-1);ch=state.input.charCodeAt(state.position)}if((state.line===_line||state.lineIndent>nodeIndent)&&ch!==0){throwError(state,"bad indentation of a mapping entry")}else if(state.lineIndentparentIndent){indentStatus=1}else if(state.lineIndent===parentIndent){indentStatus=0}else if(state.lineIndentparentIndent){indentStatus=1}else if(state.lineIndent===parentIndent){indentStatus=0}else if(state.lineIndent tag; it should be "scalar", not "'+state.kind+'"')}for(typeIndex=0,typeQuantity=state.implicitTypes.length;typeIndex")}if(state.result!==null&&type.kind!==state.kind){throwError(state,"unacceptable node kind for !<"+state.tag+'> tag; it should be "'+type.kind+'", not "'+state.kind+'"')}if(!type.resolve(state.result,state.tag)){throwError(state,"cannot resolve a node with !<"+state.tag+"> explicit tag")}else{state.result=type.construct(state.result,state.tag);if(state.anchor!==null){state.anchorMap[state.anchor]=state.result}}}if(state.listener!==null){state.listener("close",state)}return state.tag!==null||state.anchor!==null||hasContent}function readDocument(state){var documentStart=state.position,_position,directiveName,directiveArgs,hasDirectives=false,ch;state.version=null;state.checkLineBreaks=state.legacy;state.tagMap=Object.create(null);state.anchorMap=Object.create(null);while((ch=state.input.charCodeAt(state.position))!==0){skipSeparationSpace(state,true,-1);ch=state.input.charCodeAt(state.position);if(state.lineIndent>0||ch!==37){break}hasDirectives=true;ch=state.input.charCodeAt(++state.position);_position=state.position;while(ch!==0&&!is_WS_OR_EOL(ch)){ch=state.input.charCodeAt(++state.position)}directiveName=state.input.slice(_position,state.position);directiveArgs=[];if(directiveName.length<1){throwError(state,"directive name must not be less than one character in length")}while(ch!==0){while(is_WHITE_SPACE(ch)){ch=state.input.charCodeAt(++state.position)}if(ch===35){do{ch=state.input.charCodeAt(++state.position)}while(ch!==0&&!is_EOL(ch));break}if(is_EOL(ch))break;_position=state.position;while(ch!==0&&!is_WS_OR_EOL(ch)){ch=state.input.charCodeAt(++state.position)}directiveArgs.push(state.input.slice(_position,state.position))}if(ch!==0)readLineBreak(state);if(_hasOwnProperty.call(directiveHandlers,directiveName)){directiveHandlers[directiveName](state,directiveName,directiveArgs)}else{throwWarning(state,'unknown document directive "'+directiveName+'"')}}skipSeparationSpace(state,true,-1);if(state.lineIndent===0&&state.input.charCodeAt(state.position)===45&&state.input.charCodeAt(state.position+1)===45&&state.input.charCodeAt(state.position+2)===45){state.position+=3;skipSeparationSpace(state,true,-1)}else if(hasDirectives){throwError(state,"directives end mark is expected")}composeNode(state,state.lineIndent-1,CONTEXT_BLOCK_OUT,false,true);skipSeparationSpace(state,true,-1);if(state.checkLineBreaks&&PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart,state.position))){throwWarning(state,"non-ASCII line breaks are interpreted as content")}state.documents.push(state.result);if(state.position===state.lineStart&&testDocumentSeparator(state)){if(state.input.charCodeAt(state.position)===46){state.position+=3;skipSeparationSpace(state,true,-1)}return}if(state.positionmaxHalfLength){head=" ... ";lineStart=position-maxHalfLength+head.length}if(lineEnd-position>maxHalfLength){tail=" ...";lineEnd=position+maxHalfLength-tail.length}return{str:head+buffer.slice(lineStart,lineEnd).replace(/\t/g,"→")+tail,pos:position-lineStart+head.length}}function padStart(string,max){return common.repeat(" ",max-string.length)+string}function makeSnippet(mark,options){options=Object.create(options||null);if(!mark.buffer)return null;if(!options.maxLength)options.maxLength=79;if(typeof options.indent!=="number")options.indent=1;if(typeof options.linesBefore!=="number")options.linesBefore=3;if(typeof options.linesAfter!=="number")options.linesAfter=2;var re=/\r?\n|\r|\0/g;var lineStarts=[0];var lineEnds=[];var match;var foundLineNo=-1;while(match=re.exec(mark.buffer)){lineEnds.push(match.index);lineStarts.push(match.index+match[0].length);if(mark.position<=match.index&&foundLineNo<0){foundLineNo=lineStarts.length-2}}if(foundLineNo<0)foundLineNo=lineStarts.length-1;var result="",i,line;var lineNoLength=Math.min(mark.line+options.linesAfter,lineEnds.length).toString().length;var maxLineLength=options.maxLength-(options.indent+lineNoLength+3);for(i=1;i<=options.linesBefore;i++){if(foundLineNo-i<0)break;line=getLine(mark.buffer,lineStarts[foundLineNo-i],lineEnds[foundLineNo-i],mark.position-(lineStarts[foundLineNo]-lineStarts[foundLineNo-i]),maxLineLength);result=common.repeat(" ",options.indent)+padStart((mark.line-i+1).toString(),lineNoLength)+" | "+line.str+"\n"+result}line=getLine(mark.buffer,lineStarts[foundLineNo],lineEnds[foundLineNo],mark.position,maxLineLength);result+=common.repeat(" ",options.indent)+padStart((mark.line+1).toString(),lineNoLength)+" | "+line.str+"\n";result+=common.repeat("-",options.indent+lineNoLength+3+line.pos)+"^"+"\n";for(i=1;i<=options.linesAfter;i++){if(foundLineNo+i>=lineEnds.length)break;line=getLine(mark.buffer,lineStarts[foundLineNo+i],lineEnds[foundLineNo+i],mark.position-(lineStarts[foundLineNo]-lineStarts[foundLineNo+i]),maxLineLength);result+=common.repeat(" ",options.indent)+padStart((mark.line+i+1).toString(),lineNoLength)+" | "+line.str+"\n"}return result.replace(/\n$/,"")}module.exports=makeSnippet},{"./common":64}],74:[function(require,module,exports){"use strict";var YAMLException=require("./exception");var TYPE_CONSTRUCTOR_OPTIONS=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"];var YAML_NODE_KINDS=["scalar","sequence","mapping"];function compileStyleAliases(map){var result={};if(map!==null){Object.keys(map).forEach(function(style){map[style].forEach(function(alias){result[String(alias)]=style})})}return result}function Type(tag,options){options=options||{};Object.keys(options).forEach(function(name){if(TYPE_CONSTRUCTOR_OPTIONS.indexOf(name)===-1){throw new YAMLException('Unknown option "'+name+'" is met in definition of "'+tag+'" YAML type.')}});this.options=options;this.tag=tag;this.kind=options["kind"]||null;this.resolve=options["resolve"]||function(){return true};this.construct=options["construct"]||function(data){return data};this.instanceOf=options["instanceOf"]||null;this.predicate=options["predicate"]||null;this.represent=options["represent"]||null;this.representName=options["representName"]||null;this.defaultStyle=options["defaultStyle"]||null;this.multi=options["multi"]||false;this.styleAliases=compileStyleAliases(options["styleAliases"]||null);if(YAML_NODE_KINDS.indexOf(this.kind)===-1){throw new YAMLException('Unknown kind "'+this.kind+'" is specified for "'+tag+'" YAML type.')}}module.exports=Type},{"./exception":66}],75:[function(require,module,exports){"use strict";var Type=require("../type");var BASE64_MAP="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function resolveYamlBinary(data){if(data===null)return false;var code,idx,bitlen=0,max=data.length,map=BASE64_MAP;for(idx=0;idx64)continue;if(code<0)return false;bitlen+=6}return bitlen%8===0}function constructYamlBinary(data){var idx,tailbits,input=data.replace(/[\r\n=]/g,""),max=input.length,map=BASE64_MAP,bits=0,result=[];for(idx=0;idx>16&255);result.push(bits>>8&255);result.push(bits&255)}bits=bits<<6|map.indexOf(input.charAt(idx))}tailbits=max%4*6;if(tailbits===0){result.push(bits>>16&255);result.push(bits>>8&255);result.push(bits&255)}else if(tailbits===18){result.push(bits>>10&255);result.push(bits>>2&255)}else if(tailbits===12){result.push(bits>>4&255)}return new Uint8Array(result)}function representYamlBinary(object){var result="",bits=0,idx,tail,max=object.length,map=BASE64_MAP;for(idx=0;idx>18&63];result+=map[bits>>12&63];result+=map[bits>>6&63];result+=map[bits&63]}bits=(bits<<8)+object[idx]}tail=max%3;if(tail===0){result+=map[bits>>18&63];result+=map[bits>>12&63];result+=map[bits>>6&63];result+=map[bits&63]}else if(tail===2){result+=map[bits>>10&63];result+=map[bits>>4&63];result+=map[bits<<2&63];result+=map[64]}else if(tail===1){result+=map[bits>>2&63];result+=map[bits<<4&63];result+=map[64];result+=map[64]}return result}function isBinary(obj){return Object.prototype.toString.call(obj)==="[object Uint8Array]"}module.exports=new Type("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary})},{"../type":74}],76:[function(require,module,exports){"use strict";var Type=require("../type");function resolveYamlBoolean(data){if(data===null)return false;var max=data.length;return max===4&&(data==="true"||data==="True"||data==="TRUE")||max===5&&(data==="false"||data==="False"||data==="FALSE")}function constructYamlBoolean(data){return data==="true"||data==="True"||data==="TRUE"}function isBoolean(object){return Object.prototype.toString.call(object)==="[object Boolean]"}module.exports=new Type("tag:yaml.org,2002:bool",{kind:"scalar",resolve:resolveYamlBoolean,construct:constructYamlBoolean,predicate:isBoolean,represent:{lowercase:function(object){return object?"true":"false"},uppercase:function(object){return object?"TRUE":"FALSE"},camelcase:function(object){return object?"True":"False"}},defaultStyle:"lowercase"})},{"../type":74}],77:[function(require,module,exports){"use strict";var common=require("../common");var Type=require("../type");var YAML_FLOAT_PATTERN=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?"+"|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(data){if(data===null)return false;if(!YAML_FLOAT_PATTERN.test(data)||data[data.length-1]==="_"){return false}return true}function constructYamlFloat(data){var value,sign;value=data.replace(/_/g,"").toLowerCase();sign=value[0]==="-"?-1:1;if("+-".indexOf(value[0])>=0){value=value.slice(1)}if(value===".inf"){return sign===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(value===".nan"){return NaN}return sign*parseFloat(value,10)}var SCIENTIFIC_WITHOUT_DOT=/^[-+]?[0-9]+e/;function representYamlFloat(object,style){var res;if(isNaN(object)){switch(style){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===object){switch(style){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===object){switch(style){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(common.isNegativeZero(object)){return"-0.0"}res=object.toString(10);return SCIENTIFIC_WITHOUT_DOT.test(res)?res.replace("e",".e"):res}function isFloat(object){return Object.prototype.toString.call(object)==="[object Number]"&&(object%1!==0||common.isNegativeZero(object))}module.exports=new Type("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"})},{"../common":64,"../type":74}],78:[function(require,module,exports){"use strict";var common=require("../common");var Type=require("../type");function isHexCode(c){return 48<=c&&c<=57||65<=c&&c<=70||97<=c&&c<=102}function isOctCode(c){return 48<=c&&c<=55}function isDecCode(c){return 48<=c&&c<=57}function resolveYamlInteger(data){if(data===null)return false;var max=data.length,index=0,hasDigits=false,ch;if(!max)return false;ch=data[index];if(ch==="-"||ch==="+"){ch=data[++index]}if(ch==="0"){if(index+1===max)return true;ch=data[++index];if(ch==="b"){index++;for(;index=0?"0b"+obj.toString(2):"-0b"+obj.toString(2).slice(1)},octal:function(obj){return obj>=0?"0o"+obj.toString(8):"-0o"+obj.toString(8).slice(1)},decimal:function(obj){return obj.toString(10)},hexadecimal:function(obj){return obj>=0?"0x"+obj.toString(16).toUpperCase():"-0x"+obj.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},{"../common":64,"../type":74}],79:[function(require,module,exports){"use strict";var Type=require("../type");module.exports=new Type("tag:yaml.org,2002:map",{kind:"mapping",construct:function(data){return data!==null?data:{}}})},{"../type":74}],80:[function(require,module,exports){"use strict";var Type=require("../type");function resolveYamlMerge(data){return data==="<<"||data===null}module.exports=new Type("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge})},{"../type":74}],81:[function(require,module,exports){"use strict";var Type=require("../type");function resolveYamlNull(data){if(data===null)return true;var max=data.length;return max===1&&data==="~"||max===4&&(data==="null"||data==="Null"||data==="NULL")}function constructYamlNull(){return null}function isNull(object){return object===null}module.exports=new Type("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull,construct:constructYamlNull,predicate:isNull,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"})},{"../type":74}],82:[function(require,module,exports){"use strict";var Type=require("../type");var _hasOwnProperty=Object.prototype.hasOwnProperty;var _toString=Object.prototype.toString;function resolveYamlOmap(data){if(data===null)return true;var objectKeys=[],index,length,pair,pairKey,pairHasKey,object=data;for(index=0,length=object.length;indexobj&&typeof obj==="object"&&Object.prototype.hasOwnProperty.call(obj,key);const isUndefined=v=>v===undefined;const isNull=v=>v===null;const isPrimitive=v=>Number.isNaN(v)||isNull(v)||isUndefined(v)||typeof v==="symbol";const isPrimitiveNode=node=>isPrimitive(node.value)||!hasOwnProp(node,"value");const isBetween=(start,pos,end)=>pos<=end&&pos>=start;const getLoc=(input,{start:start=0,end:end=0})=>{const lines=input.split(/\n/);const loc={start:{},end:{}};let sum=0;for(const i of lines.keys()){const line=lines[i];const ls=sum;const le=sum+line.length;if(isUndefined(loc.start.line)&&isBetween(ls,start,le)){loc.start.line=i+1;loc.start.column=start-ls;loc.start.offset=start}if(isUndefined(loc.end.line)&&isBetween(ls,end,le)){loc.end.line=i+1;loc.end.column=end-ls;loc.end.offset=end}sum=le+1}return loc};const visitors={MAP:(node={},input="",ctx={})=>Object.assign(walk(node.mappings,input),{[loc]:getLoc(input,{start:node.startPosition,end:node.endPosition})}),MAPPING:(node={},input="",ctx={})=>{const value=walk([node.value],input);if(!isPrimitive(value)){value[loc]=getLoc(input,{start:node.startPosition,end:node.endPosition})}return Object.assign(ctx,{[node.key.value]:value})},SCALAR:(node={},input="")=>{if(isPrimitiveNode(node)){return node.value}const _loc=getLoc(input,{start:node.startPosition,end:node.endPosition});const wrappable=Constructor=>()=>{const v=new Constructor(node.value);v[loc]=_loc;return v};const object=()=>{node.value[loc]=_loc;return node.value};const types={boolean:wrappable(Boolean),number:wrappable(Number),string:wrappable(String),function:object,object:object};return types[typeof node.value]()},SEQ:(node={},input="")=>{const items=walk(node.items,input,[]);items[loc]=getLoc(input,{start:node.startPosition,end:node.endPosition});return items}};const walk=(nodes=[],input,ctx={})=>{const onNode=(node,ctx,fallback)=>{let visitor;if(node)visitor=visitors[Kind[node.kind]];return visitor?visitor(node,input,ctx):fallback};const walkObj=()=>nodes.reduce((sum,node)=>{return onNode(node,sum,sum)},ctx);const walkArr=()=>nodes.map(node=>onNode(node,ctx,null),ctx).filter(Boolean);return Array.isArray(ctx)?walkArr():walkObj()};module.exports.loc=loc;module.exports.yamlAST=(input=>walk([load(input)],input))},{"yaml-ast-parser":233}],97:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.Ono=void 0;const extend_error_1=require("./extend-error");const normalize_1=require("./normalize");const to_json_1=require("./to-json");const constructor=Ono;exports.Ono=constructor;function Ono(ErrorConstructor,options){options=normalize_1.normalizeOptions(options);function ono(...args){let{originalError:originalError,props:props,message:message}=normalize_1.normalizeArgs(args,options);let newError=new ErrorConstructor(message);return extend_error_1.extendError(newError,originalError,props)}ono[Symbol.species]=ErrorConstructor;return ono}Ono.toJSON=function toJSON(error){return to_json_1.toJSON.call(error)};Ono.extend=function extend(error,originalError,props){if(props||originalError instanceof Error){return extend_error_1.extendError(error,originalError,props)}else if(originalError){return extend_error_1.extendError(error,undefined,originalError)}else{return extend_error_1.extendError(error)}}},{"./extend-error":98,"./normalize":101,"./to-json":104}],98:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.extendError=void 0;const isomorphic_node_1=require("./isomorphic.node");const stack_1=require("./stack");const to_json_1=require("./to-json");const protectedProps=["name","message","stack"];function extendError(error,originalError,props){let onoError=error;extendStack(onoError,originalError);if(originalError&&typeof originalError==="object"){mergeErrors(onoError,originalError)}onoError.toJSON=to_json_1.toJSON;if(isomorphic_node_1.addInspectMethod){isomorphic_node_1.addInspectMethod(onoError)}if(props&&typeof props==="object"){Object.assign(onoError,props)}return onoError}exports.extendError=extendError;function extendStack(newError,originalError){let stackProp=Object.getOwnPropertyDescriptor(newError,"stack");if(stack_1.isLazyStack(stackProp)){stack_1.lazyJoinStacks(stackProp,newError,originalError)}else if(stack_1.isWritableStack(stackProp)){newError.stack=stack_1.joinStacks(newError,originalError)}}function mergeErrors(newError,originalError){let keys=to_json_1.getDeepKeys(originalError,protectedProps);let _newError=newError;let _originalError=originalError;for(let key of keys){if(_newError[key]===undefined){try{_newError[key]=_originalError[key]}catch(e){}}}}},{"./isomorphic.node":100,"./stack":103,"./to-json":104}],99:[function(require,module,exports){"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){if(k2===undefined)k2=k;Object.defineProperty(o,k2,{enumerable:true,get:function(){return m[k]}})}:function(o,m,k,k2){if(k2===undefined)k2=k;o[k2]=m[k]});var __exportStar=this&&this.__exportStar||function(m,exports){for(var p in m)if(p!=="default"&&!exports.hasOwnProperty(p))__createBinding(exports,m,p)};Object.defineProperty(exports,"__esModule",{value:true});exports.ono=void 0;const singleton_1=require("./singleton");Object.defineProperty(exports,"ono",{enumerable:true,get:function(){return singleton_1.ono}});var constructor_1=require("./constructor");Object.defineProperty(exports,"Ono",{enumerable:true,get:function(){return constructor_1.Ono}});__exportStar(require("./types"),exports);exports.default=singleton_1.ono;if(typeof module==="object"&&typeof module.exports==="object"){module.exports=Object.assign(module.exports.default,module.exports)}},{"./constructor":97,"./singleton":102,"./types":105}],100:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.addInspectMethod=exports.format=void 0;exports.format=false;exports.addInspectMethod=false},{}],101:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.normalizeArgs=exports.normalizeOptions=void 0;const isomorphic_node_1=require("./isomorphic.node");function normalizeOptions(options){options=options||{};return{concatMessages:options.concatMessages===undefined?true:Boolean(options.concatMessages),format:options.format===undefined?isomorphic_node_1.format:typeof options.format==="function"?options.format:false}}exports.normalizeOptions=normalizeOptions;function normalizeArgs(args,options){let originalError;let props;let formatArgs;let message="";if(typeof args[0]==="string"){formatArgs=args}else if(typeof args[1]==="string"){if(args[0]instanceof Error){originalError=args[0]}else{props=args[0]}formatArgs=args.slice(1)}else{originalError=args[0];props=args[1];formatArgs=args.slice(2)}if(formatArgs.length>0){if(options.format){message=options.format.apply(undefined,formatArgs)}else{message=formatArgs.join(" ")}}if(options.concatMessages&&originalError&&originalError.message){message+=(message?" \n":"")+originalError.message}return{originalError:originalError,props:props,message:message}}exports.normalizeArgs=normalizeArgs},{"./isomorphic.node":100}],102:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.ono=void 0;const constructor_1=require("./constructor");const singleton=ono;exports.ono=singleton;ono.error=new constructor_1.Ono(Error);ono.eval=new constructor_1.Ono(EvalError);ono.range=new constructor_1.Ono(RangeError);ono.reference=new constructor_1.Ono(ReferenceError);ono.syntax=new constructor_1.Ono(SyntaxError);ono.type=new constructor_1.Ono(TypeError);ono.uri=new constructor_1.Ono(URIError);const onoMap=ono;function ono(...args){let originalError=args[0];if(typeof originalError==="object"&&typeof originalError.name==="string"){for(let typedOno of Object.values(onoMap)){if(typeof typedOno==="function"&&typedOno.name==="ono"){let species=typedOno[Symbol.species];if(species&&species!==Error&&(originalError instanceof species||originalError.name===species.name)){return typedOno.apply(undefined,args)}}}}return ono.error.apply(undefined,args)}},{"./constructor":97}],103:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.lazyJoinStacks=exports.joinStacks=exports.isWritableStack=exports.isLazyStack=void 0;const newline=/\r?\n/;const onoCall=/\bono[ @]/;function isLazyStack(stackProp){return Boolean(stackProp&&stackProp.configurable&&typeof stackProp.get==="function")}exports.isLazyStack=isLazyStack;function isWritableStack(stackProp){return Boolean(!stackProp||stackProp.writable||typeof stackProp.set==="function")}exports.isWritableStack=isWritableStack;function joinStacks(newError,originalError){let newStack=popStack(newError.stack);let originalStack=originalError?originalError.stack:undefined;if(newStack&&originalStack){return newStack+"\n\n"+originalStack}else{return newStack||originalStack}}exports.joinStacks=joinStacks;function lazyJoinStacks(lazyStack,newError,originalError){if(originalError){Object.defineProperty(newError,"stack",{get:()=>{let newStack=lazyStack.get.apply(newError);return joinStacks({stack:newStack},originalError)},enumerable:false,configurable:true})}else{lazyPopStack(newError,lazyStack)}}exports.lazyJoinStacks=lazyJoinStacks;function popStack(stack){if(stack){let lines=stack.split(newline);let onoStart;for(let i=0;i0){return lines.join("\n")}}return stack}function lazyPopStack(error,lazyStack){Object.defineProperty(error,"stack",{get:()=>popStack(lazyStack.get.apply(error)),enumerable:false,configurable:true})}},{}],104:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.getDeepKeys=exports.toJSON=void 0;const nonJsonTypes=["function","symbol","undefined"];const protectedProps=["constructor","prototype","__proto__"];const objectPrototype=Object.getPrototypeOf({});function toJSON(){let pojo={};let error=this;for(let key of getDeepKeys(error)){if(typeof key==="string"){let value=error[key];let type=typeof value;if(!nonJsonTypes.includes(type)){pojo[key]=value}}}return pojo}exports.toJSON=toJSON;function getDeepKeys(obj,omit=[]){let keys=[];while(obj&&obj!==objectPrototype){keys=keys.concat(Object.getOwnPropertyNames(obj),Object.getOwnPropertySymbols(obj));obj=Object.getPrototypeOf(obj)}let uniqueKeys=new Set(keys);for(let key of omit.concat(protectedProps)){uniqueKeys.delete(key)}return uniqueKeys}exports.getDeepKeys=getDeepKeys},{}],105:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});const util_1=require("util")},{util:228}],106:[function(require,module,exports){"use strict";var compileSchema=require("./compile"),resolve=require("./compile/resolve"),Cache=require("./cache"),SchemaObject=require("./compile/schema_obj"),stableStringify=require("fast-json-stable-stringify"),formats=require("./compile/formats"),rules=require("./compile/rules"),$dataMetaSchema=require("./data"),util=require("./compile/util");module.exports=Ajv;Ajv.prototype.validate=validate;Ajv.prototype.compile=compile;Ajv.prototype.addSchema=addSchema;Ajv.prototype.addMetaSchema=addMetaSchema;Ajv.prototype.validateSchema=validateSchema;Ajv.prototype.getSchema=getSchema;Ajv.prototype.removeSchema=removeSchema;Ajv.prototype.addFormat=addFormat;Ajv.prototype.errorsText=errorsText;Ajv.prototype._addSchema=_addSchema;Ajv.prototype._compile=_compile;Ajv.prototype.compileAsync=require("./compile/async");var customKeyword=require("./keyword");Ajv.prototype.addKeyword=customKeyword.add;Ajv.prototype.getKeyword=customKeyword.get;Ajv.prototype.removeKeyword=customKeyword.remove;Ajv.prototype.validateKeyword=customKeyword.validate;var errorClasses=require("./compile/error_classes");Ajv.ValidationError=errorClasses.Validation;Ajv.MissingRefError=errorClasses.MissingRef;Ajv.$dataMetaSchema=$dataMetaSchema;var META_SCHEMA_ID="http://json-schema.org/draft-07/schema";var META_IGNORE_OPTIONS=["removeAdditional","useDefaults","coerceTypes","strictDefaults"];var META_SUPPORT_DATA=["/properties"];function Ajv(opts){if(!(this instanceof Ajv))return new Ajv(opts);opts=this._opts=util.copy(opts)||{};setLogger(this);this._schemas={};this._refs={};this._fragments={};this._formats=formats(opts.format);this._cache=opts.cache||new Cache;this._loadingSchemas={};this._compilations=[];this.RULES=rules();this._getId=chooseGetId(opts);opts.loopRequired=opts.loopRequired||Infinity;if(opts.errorDataPath=="property")opts._errorDataPathProperty=true;if(opts.serialize===undefined)opts.serialize=stableStringify;this._metaOpts=getMetaSchemaOptions(this);if(opts.formats)addInitialFormats(this);if(opts.keywords)addInitialKeywords(this);addDefaultMetaSchema(this);if(typeof opts.meta=="object")this.addMetaSchema(opts.meta);if(opts.nullable)this.addKeyword("nullable",{metaSchema:{type:"boolean"}});addInitialSchemas(this)}function validate(schemaKeyRef,data){var v;if(typeof schemaKeyRef=="string"){v=this.getSchema(schemaKeyRef);if(!v)throw new Error('no schema with key or ref "'+schemaKeyRef+'"')}else{var schemaObj=this._addSchema(schemaKeyRef);v=schemaObj.validate||this._compile(schemaObj)}var valid=v(data);if(v.$async!==true)this.errors=v.errors;return valid}function compile(schema,_meta){var schemaObj=this._addSchema(schema,undefined,_meta);return schemaObj.validate||this._compile(schemaObj)}function addSchema(schema,key,_skipValidation,_meta){if(Array.isArray(schema)){for(var i=0;i%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i;var URL=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i;var UUID=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;var JSON_POINTER=/^(?:\/(?:[^~/]|~0|~1)*)*$/;var JSON_POINTER_URI_FRAGMENT=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;var RELATIVE_JSON_POINTER=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;module.exports=formats;function formats(mode){mode=mode=="full"?"full":"fast";return util.copy(formats[mode])}formats.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":URITEMPLATE,url:URL,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:HOSTNAME,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:UUID,"json-pointer":JSON_POINTER,"json-pointer-uri-fragment":JSON_POINTER_URI_FRAGMENT,"relative-json-pointer":RELATIVE_JSON_POINTER};formats.full={date:date,time:time,"date-time":date_time,uri:uri,"uri-reference":URIREF,"uri-template":URITEMPLATE,url:URL,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:HOSTNAME,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:UUID,"json-pointer":JSON_POINTER,"json-pointer-uri-fragment":JSON_POINTER_URI_FRAGMENT,"relative-json-pointer":RELATIVE_JSON_POINTER};function isLeapYear(year){return year%4===0&&(year%100!==0||year%400===0)}function date(str){var matches=str.match(DATE);if(!matches)return false;var year=+matches[1];var month=+matches[2];var day=+matches[3];return month>=1&&month<=12&&day>=1&&day<=(month==2&&isLeapYear(year)?29:DAYS[month])}function time(str,full){var matches=str.match(TIME);if(!matches)return false;var hour=matches[1];var minute=matches[2];var second=matches[3];var timeZone=matches[5];return(hour<=23&&minute<=59&&second<=59||hour==23&&minute==59&&second==60)&&(!full||timeZone)}var DATE_TIME_SEPARATOR=/t|\s/i;function date_time(str){var dateTime=str.split(DATE_TIME_SEPARATOR);return dateTime.length==2&&date(dateTime[0])&&time(dateTime[1],true)}var NOT_URI_FRAGMENT=/\/|:/;function uri(str){return NOT_URI_FRAGMENT.test(str)&&URI.test(str)}var Z_ANCHOR=/[^\\]\\Z/;function regex(str){if(Z_ANCHOR.test(str))return false;try{new RegExp(str);return true}catch(e){return false}}},{"./util":116}],111:[function(require,module,exports){"use strict";var resolve=require("./resolve"),util=require("./util"),errorClasses=require("./error_classes"),stableStringify=require("fast-json-stable-stringify");var validateGenerator=require("../dotjs/validate");var ucs2length=util.ucs2length;var equal=require("fast-deep-equal");var ValidationError=errorClasses.Validation;module.exports=compile;function compile(schema,root,localRefs,baseId){var self=this,opts=this._opts,refVal=[undefined],refs={},patterns=[],patternsHash={},defaults=[],defaultsHash={},customRules=[];root=root||{schema:schema,refVal:refVal,refs:refs};var c=checkCompiling.call(this,schema,root,baseId);var compilation=this._compilations[c.index];if(c.compiling)return compilation.callValidate=callValidate;var formats=this._formats;var RULES=this.RULES;try{var v=localCompile(schema,root,localRefs,baseId);compilation.validate=v;var cv=compilation.callValidate;if(cv){cv.schema=v.schema;cv.errors=null;cv.refs=v.refs;cv.refVal=v.refVal;cv.root=v.root;cv.$async=v.$async;if(opts.sourceCode)cv.source=v.source}return v}finally{endCompiling.call(this,schema,root,baseId)}function callValidate(){var validate=compilation.validate;var result=validate.apply(this,arguments);callValidate.errors=validate.errors;return result}function localCompile(_schema,_root,localRefs,baseId){var isRoot=!_root||_root&&_root.schema==_schema;if(_root.schema!=root.schema)return compile.call(self,_schema,_root,localRefs,baseId);var $async=_schema.$async===true;var sourceCode=validateGenerator({isTop:true,schema:_schema,isRoot:isRoot,baseId:baseId,root:_root,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:errorClasses.MissingRef,RULES:RULES,validate:validateGenerator,util:util,resolve:resolve,resolveRef:resolveRef,usePattern:usePattern,useDefault:useDefault,useCustomRule:useCustomRule,opts:opts,formats:formats,logger:self.logger,self:self});sourceCode=vars(refVal,refValCode)+vars(patterns,patternCode)+vars(defaults,defaultCode)+vars(customRules,customRuleCode)+sourceCode;if(opts.processCode)sourceCode=opts.processCode(sourceCode,_schema);var validate;try{var makeValidate=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",sourceCode);validate=makeValidate(self,RULES,formats,root,refVal,defaults,customRules,equal,ucs2length,ValidationError);refVal[0]=validate}catch(e){self.logger.error("Error compiling schema, function code:",sourceCode);throw e}validate.schema=_schema;validate.errors=null;validate.refs=refs;validate.refVal=refVal;validate.root=isRoot?validate:_root;if($async)validate.$async=true;if(opts.sourceCode===true){validate.source={code:sourceCode,patterns:patterns,defaults:defaults}}return validate}function resolveRef(baseId,ref,isRoot){ref=resolve.url(baseId,ref);var refIndex=refs[ref];var _refVal,refCode;if(refIndex!==undefined){_refVal=refVal[refIndex];refCode="refVal["+refIndex+"]";return resolvedRef(_refVal,refCode)}if(!isRoot&&root.refs){var rootRefId=root.refs[ref];if(rootRefId!==undefined){_refVal=root.refVal[rootRefId];refCode=addLocalRef(ref,_refVal);return resolvedRef(_refVal,refCode)}}refCode=addLocalRef(ref);var v=resolve.call(self,localCompile,root,ref);if(v===undefined){var localSchema=localRefs&&localRefs[ref];if(localSchema){v=resolve.inlineRef(localSchema,opts.inlineRefs)?localSchema:compile.call(self,localSchema,root,localRefs,baseId)}}if(v===undefined){removeLocalRef(ref)}else{replaceLocalRef(ref,v);return resolvedRef(v,refCode)}}function addLocalRef(ref,v){var refId=refVal.length;refVal[refId]=v;refs[ref]=refId;return"refVal"+refId}function removeLocalRef(ref){delete refs[ref]}function replaceLocalRef(ref,v){var refId=refs[ref];refVal[refId]=v}function resolvedRef(refVal,code){return typeof refVal=="object"||typeof refVal=="boolean"?{code:code,schema:refVal,inline:true}:{code:code,$async:refVal&&!!refVal.$async}}function usePattern(regexStr){var index=patternsHash[regexStr];if(index===undefined){index=patternsHash[regexStr]=patterns.length;patterns[index]=regexStr}return"pattern"+index}function useDefault(value){switch(typeof value){case"boolean":case"number":return""+value;case"string":return util.toQuotedString(value);case"object":if(value===null)return"null";var valueStr=stableStringify(value);var index=defaultsHash[valueStr];if(index===undefined){index=defaultsHash[valueStr]=defaults.length;defaults[index]=value}return"default"+index}}function useCustomRule(rule,schema,parentSchema,it){if(self._opts.validateSchema!==false){var deps=rule.definition.dependencies;if(deps&&!deps.every(function(keyword){return Object.prototype.hasOwnProperty.call(parentSchema,keyword)}))throw new Error("parent schema must have all required keywords: "+deps.join(","));var validateSchema=rule.definition.validateSchema;if(validateSchema){var valid=validateSchema(schema);if(!valid){var message="keyword schema is invalid: "+self.errorsText(validateSchema.errors);if(self._opts.validateSchema=="log")self.logger.error(message);else throw new Error(message)}}}var compile=rule.definition.compile,inline=rule.definition.inline,macro=rule.definition.macro;var validate;if(compile){validate=compile.call(self,schema,parentSchema,it)}else if(macro){validate=macro.call(self,schema,parentSchema,it);if(opts.validateSchema!==false)self.validateSchema(validate,true)}else if(inline){validate=inline.call(self,it,rule.keyword,schema,parentSchema)}else{validate=rule.definition.validate;if(!validate)return}if(validate===undefined)throw new Error('custom keyword "'+rule.keyword+'"failed to compile');var index=customRules.length;customRules[index]=validate;return{code:"customRule"+index,validate:validate}}}function checkCompiling(schema,root,baseId){var index=compIndex.call(this,schema,root,baseId);if(index>=0)return{index:index,compiling:true};index=this._compilations.length;this._compilations[index]={schema:schema,root:root,baseId:baseId};return{index:index,compiling:false}}function endCompiling(schema,root,baseId){var i=compIndex.call(this,schema,root,baseId);if(i>=0)this._compilations.splice(i,1)}function compIndex(schema,root,baseId){for(var i=0;i=55296&&value<=56319&&pos=lvl)throw new Error("Cannot access property/index "+up+" levels up, current level is "+lvl);return paths[lvl-up]}if(up>lvl)throw new Error("Cannot access data "+up+" levels up, current level is "+lvl);data="data"+(lvl-up||"");if(!jsonPointer)return data}var expr=data;var segments=jsonPointer.split("/");for(var i=0;i",$notOp=$isMax?">":"<",$errorKeyword=undefined;if(!($isData||typeof $schema=="number"||$schema===undefined)){throw new Error($keyword+" must be number")}if(!($isDataExcl||$schemaExcl===undefined||typeof $schemaExcl=="number"||typeof $schemaExcl=="boolean")){throw new Error($exclusiveKeyword+" must be number or boolean")}if($isDataExcl){var $schemaValueExcl=it.util.getData($schemaExcl.$data,$dataLvl,it.dataPathArr),$exclusive="exclusive"+$lvl,$exclType="exclType"+$lvl,$exclIsNumber="exclIsNumber"+$lvl,$opExpr="op"+$lvl,$opStr="' + "+$opExpr+" + '";out+=" var schemaExcl"+$lvl+" = "+$schemaValueExcl+"; ";$schemaValueExcl="schemaExcl"+$lvl;out+=" var "+$exclusive+"; var "+$exclType+" = typeof "+$schemaValueExcl+"; if ("+$exclType+" != 'boolean' && "+$exclType+" != 'undefined' && "+$exclType+" != 'number') { ";var $errorKeyword=$exclusiveKeyword;var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: {} ";if(it.opts.messages!==false){out+=" , message: '"+$exclusiveKeyword+" should be boolean' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } else if ( ";if($isData){out+=" ("+$schemaValue+" !== undefined && typeof "+$schemaValue+" != 'number') || "}out+=" "+$exclType+" == 'number' ? ( ("+$exclusive+" = "+$schemaValue+" === undefined || "+$schemaValueExcl+" "+$op+"= "+$schemaValue+") ? "+$data+" "+$notOp+"= "+$schemaValueExcl+" : "+$data+" "+$notOp+" "+$schemaValue+" ) : ( ("+$exclusive+" = "+$schemaValueExcl+" === true) ? "+$data+" "+$notOp+"= "+$schemaValue+" : "+$data+" "+$notOp+" "+$schemaValue+" ) || "+$data+" !== "+$data+") { var op"+$lvl+" = "+$exclusive+" ? '"+$op+"' : '"+$op+"='; ";if($schema===undefined){$errorKeyword=$exclusiveKeyword;$errSchemaPath=it.errSchemaPath+"/"+$exclusiveKeyword;$schemaValue=$schemaValueExcl;$isData=$isDataExcl}}else{var $exclIsNumber=typeof $schemaExcl=="number",$opStr=$op;if($exclIsNumber&&$isData){var $opExpr="'"+$opStr+"'";out+=" if ( ";if($isData){out+=" ("+$schemaValue+" !== undefined && typeof "+$schemaValue+" != 'number') || "}out+=" ( "+$schemaValue+" === undefined || "+$schemaExcl+" "+$op+"= "+$schemaValue+" ? "+$data+" "+$notOp+"= "+$schemaExcl+" : "+$data+" "+$notOp+" "+$schemaValue+" ) || "+$data+" !== "+$data+") { "}else{if($exclIsNumber&&$schema===undefined){$exclusive=true;$errorKeyword=$exclusiveKeyword;$errSchemaPath=it.errSchemaPath+"/"+$exclusiveKeyword;$schemaValue=$schemaExcl;$notOp+="="}else{if($exclIsNumber)$schemaValue=Math[$isMax?"min":"max"]($schemaExcl,$schema);if($schemaExcl===($exclIsNumber?$schemaValue:true)){$exclusive=true;$errorKeyword=$exclusiveKeyword;$errSchemaPath=it.errSchemaPath+"/"+$exclusiveKeyword;$notOp+="="}else{$exclusive=false;$opStr+="="}}var $opExpr="'"+$opStr+"'";out+=" if ( ";if($isData){out+=" ("+$schemaValue+" !== undefined && typeof "+$schemaValue+" != 'number') || "}out+=" "+$data+" "+$notOp+" "+$schemaValue+" || "+$data+" !== "+$data+") { "}}$errorKeyword=$errorKeyword||$keyword;var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"_limit")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { comparison: "+$opExpr+", limit: "+$schemaValue+", exclusive: "+$exclusive+" } ";if(it.opts.messages!==false){out+=" , message: 'should be "+$opStr+" ";if($isData){out+="' + "+$schemaValue}else{out+=""+$schemaValue+"'"}}if(it.opts.verbose){out+=" , schema: ";if($isData){out+="validate.schema"+$schemaPath}else{out+=""+$schema}out+=" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } ";if($breakOnError){out+=" else { "}return out}},{}],120:[function(require,module,exports){"use strict";module.exports=function generate__limitItems(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $errorKeyword;var $data="data"+($dataLvl||"");var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}if(!($isData||typeof $schema=="number")){throw new Error($keyword+" must be number")}var $op=$keyword=="maxItems"?">":"<";out+="if ( ";if($isData){out+=" ("+$schemaValue+" !== undefined && typeof "+$schemaValue+" != 'number') || "}out+=" "+$data+".length "+$op+" "+$schemaValue+") { ";var $errorKeyword=$keyword;var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"_limitItems")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { limit: "+$schemaValue+" } ";if(it.opts.messages!==false){out+=" , message: 'should NOT have ";if($keyword=="maxItems"){out+="more"}else{out+="fewer"}out+=" than ";if($isData){out+="' + "+$schemaValue+" + '"}else{out+=""+$schema}out+=" items' "}if(it.opts.verbose){out+=" , schema: ";if($isData){out+="validate.schema"+$schemaPath}else{out+=""+$schema}out+=" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+="} ";if($breakOnError){out+=" else { "}return out}},{}],121:[function(require,module,exports){"use strict";module.exports=function generate__limitLength(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $errorKeyword;var $data="data"+($dataLvl||"");var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}if(!($isData||typeof $schema=="number")){throw new Error($keyword+" must be number")}var $op=$keyword=="maxLength"?">":"<";out+="if ( ";if($isData){out+=" ("+$schemaValue+" !== undefined && typeof "+$schemaValue+" != 'number') || "}if(it.opts.unicode===false){out+=" "+$data+".length "}else{out+=" ucs2length("+$data+") "}out+=" "+$op+" "+$schemaValue+") { ";var $errorKeyword=$keyword;var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"_limitLength")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { limit: "+$schemaValue+" } ";if(it.opts.messages!==false){out+=" , message: 'should NOT be ";if($keyword=="maxLength"){out+="longer"}else{out+="shorter"}out+=" than ";if($isData){out+="' + "+$schemaValue+" + '"}else{out+=""+$schema}out+=" characters' "}if(it.opts.verbose){out+=" , schema: ";if($isData){out+="validate.schema"+$schemaPath}else{out+=""+$schema}out+=" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+="} ";if($breakOnError){out+=" else { "}return out}},{}],122:[function(require,module,exports){"use strict";module.exports=function generate__limitProperties(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $errorKeyword;var $data="data"+($dataLvl||"");var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}if(!($isData||typeof $schema=="number")){throw new Error($keyword+" must be number")}var $op=$keyword=="maxProperties"?">":"<";out+="if ( ";if($isData){out+=" ("+$schemaValue+" !== undefined && typeof "+$schemaValue+" != 'number') || "}out+=" Object.keys("+$data+").length "+$op+" "+$schemaValue+") { ";var $errorKeyword=$keyword;var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"_limitProperties")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { limit: "+$schemaValue+" } ";if(it.opts.messages!==false){out+=" , message: 'should NOT have ";if($keyword=="maxProperties"){out+="more"}else{out+="fewer"}out+=" than ";if($isData){out+="' + "+$schemaValue+" + '"}else{out+=""+$schema}out+=" properties' "}if(it.opts.verbose){out+=" , schema: ";if($isData){out+="validate.schema"+$schemaPath}else{out+=""+$schema}out+=" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+="} ";if($breakOnError){out+=" else { "}return out}},{}],123:[function(require,module,exports){"use strict";module.exports=function generate_allOf(it,$keyword,$ruleType){var out=" ";var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $it=it.util.copy(it);var $closingBraces="";$it.level++;var $nextValid="valid"+$it.level;var $currentBaseId=$it.baseId,$allSchemasEmpty=true;var arr1=$schema;if(arr1){var $sch,$i=-1,l1=arr1.length-1;while($i0||$sch===false:it.util.schemaHasRules($sch,it.RULES.all)){$allSchemasEmpty=false;$it.schema=$sch;$it.schemaPath=$schemaPath+"["+$i+"]";$it.errSchemaPath=$errSchemaPath+"/"+$i;out+=" "+it.validate($it)+" ";$it.baseId=$currentBaseId;if($breakOnError){out+=" if ("+$nextValid+") { ";$closingBraces+="}"}}}}if($breakOnError){if($allSchemasEmpty){out+=" if (true) { "}else{out+=" "+$closingBraces.slice(0,-1)+" "}}return out}},{}],124:[function(require,module,exports){"use strict";module.exports=function generate_anyOf(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;var $errs="errs__"+$lvl;var $it=it.util.copy(it);var $closingBraces="";$it.level++;var $nextValid="valid"+$it.level;var $noEmptySchema=$schema.every(function($sch){return it.opts.strictKeywords?typeof $sch=="object"&&Object.keys($sch).length>0||$sch===false:it.util.schemaHasRules($sch,it.RULES.all)});if($noEmptySchema){var $currentBaseId=$it.baseId;out+=" var "+$errs+" = errors; var "+$valid+" = false; ";var $wasComposite=it.compositeRule;it.compositeRule=$it.compositeRule=true;var arr1=$schema;if(arr1){var $sch,$i=-1,l1=arr1.length-1;while($i0||$schema===false:it.util.schemaHasRules($schema,it.RULES.all);out+="var "+$errs+" = errors;var "+$valid+";";if($nonEmptySchema){var $wasComposite=it.compositeRule;it.compositeRule=$it.compositeRule=true;$it.schema=$schema;$it.schemaPath=$schemaPath;$it.errSchemaPath=$errSchemaPath;out+=" var "+$nextValid+" = false; for (var "+$idx+" = 0; "+$idx+" < "+$data+".length; "+$idx+"++) { ";$it.errorPath=it.util.getPathExpr(it.errorPath,$idx,it.opts.jsonPointers,true);var $passData=$data+"["+$idx+"]";$it.dataPathArr[$dataNxt]=$idx;var $code=it.validate($it);$it.baseId=$currentBaseId;if(it.util.varOccurences($code,$nextData)<2){out+=" "+it.util.varReplace($code,$nextData,$passData)+" "}else{out+=" var "+$nextData+" = "+$passData+"; "+$code+" "}out+=" if ("+$nextValid+") break; } ";it.compositeRule=$it.compositeRule=$wasComposite;out+=" "+$closingBraces+" if (!"+$nextValid+") {"}else{out+=" if ("+$data+".length == 0) {"}var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"contains"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: {} ";if(it.opts.messages!==false){out+=" , message: 'should contain a valid item' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } else { ";if($nonEmptySchema){out+=" errors = "+$errs+"; if (vErrors !== null) { if ("+$errs+") vErrors.length = "+$errs+"; else vErrors = null; } "}if(it.opts.allErrors){out+=" } "}return out}},{}],128:[function(require,module,exports){"use strict";module.exports=function generate_custom(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $errorKeyword;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;var $errs="errs__"+$lvl;var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}var $rule=this,$definition="definition"+$lvl,$rDef=$rule.definition,$closingBraces="";var $compile,$inline,$macro,$ruleValidate,$validateCode;if($isData&&$rDef.$data){$validateCode="keywordValidate"+$lvl;var $validateSchema=$rDef.validateSchema;out+=" var "+$definition+" = RULES.custom['"+$keyword+"'].definition; var "+$validateCode+" = "+$definition+".validate;"}else{$ruleValidate=it.useCustomRule($rule,$schema,it.schema,it);if(!$ruleValidate)return;$schemaValue="validate.schema"+$schemaPath;$validateCode=$ruleValidate.code;$compile=$rDef.compile;$inline=$rDef.inline;$macro=$rDef.macro}var $ruleErrs=$validateCode+".errors",$i="i"+$lvl,$ruleErr="ruleErr"+$lvl,$asyncKeyword=$rDef.async;if($asyncKeyword&&!it.async)throw new Error("async keyword in sync schema");if(!($inline||$macro)){out+=""+$ruleErrs+" = null;"}out+="var "+$errs+" = errors;var "+$valid+";";if($isData&&$rDef.$data){$closingBraces+="}";out+=" if ("+$schemaValue+" === undefined) { "+$valid+" = true; } else { ";if($validateSchema){$closingBraces+="}";out+=" "+$valid+" = "+$definition+".validateSchema("+$schemaValue+"); if ("+$valid+") { "}}if($inline){if($rDef.statements){out+=" "+$ruleValidate.validate+" "}else{out+=" "+$valid+" = "+$ruleValidate.validate+"; "}}else if($macro){var $it=it.util.copy(it);var $closingBraces="";$it.level++;var $nextValid="valid"+$it.level;$it.schema=$ruleValidate.validate;$it.schemaPath="";var $wasComposite=it.compositeRule;it.compositeRule=$it.compositeRule=true;var $code=it.validate($it).replace(/validate\.schema/g,$validateCode);it.compositeRule=$it.compositeRule=$wasComposite;out+=" "+$code}else{var $$outStack=$$outStack||[];$$outStack.push(out);out="";out+=" "+$validateCode+".call( ";if(it.opts.passContext){out+="this"}else{out+="self"}if($compile||$rDef.schema===false){out+=" , "+$data+" "}else{out+=" , "+$schemaValue+" , "+$data+" , validate.schema"+it.schemaPath+" "}out+=" , (dataPath || '')";if(it.errorPath!='""'){out+=" + "+it.errorPath}var $parentData=$dataLvl?"data"+($dataLvl-1||""):"parentData",$parentDataProperty=$dataLvl?it.dataPathArr[$dataLvl]:"parentDataProperty";out+=" , "+$parentData+" , "+$parentDataProperty+" , rootData ) ";var def_callRuleValidate=out;out=$$outStack.pop();if($rDef.errors===false){out+=" "+$valid+" = ";if($asyncKeyword){out+="await "}out+=""+def_callRuleValidate+"; "}else{if($asyncKeyword){$ruleErrs="customErrors"+$lvl;out+=" var "+$ruleErrs+" = null; try { "+$valid+" = await "+def_callRuleValidate+"; } catch (e) { "+$valid+" = false; if (e instanceof ValidationError) "+$ruleErrs+" = e.errors; else throw e; } "}else{out+=" "+$ruleErrs+" = null; "+$valid+" = "+def_callRuleValidate+"; "}}}if($rDef.modifying){out+=" if ("+$parentData+") "+$data+" = "+$parentData+"["+$parentDataProperty+"];"}out+=""+$closingBraces;if($rDef.valid){if($breakOnError){out+=" if (true) { "}}else{out+=" if ( ";if($rDef.valid===undefined){out+=" !";if($macro){out+=""+$nextValid}else{out+=""+$valid}}else{out+=" "+!$rDef.valid+" "}out+=") { ";$errorKeyword=$rule.keyword;var $$outStack=$$outStack||[];$$outStack.push(out);out="";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"custom")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { keyword: '"+$rule.keyword+"' } ";if(it.opts.messages!==false){out+=" , message: 'should pass \""+$rule.keyword+"\" keyword validation' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}var def_customError=out;out=$$outStack.pop();if($inline){if($rDef.errors){if($rDef.errors!="full"){out+=" for (var "+$i+"="+$errs+"; "+$i+"0||$sch===false:it.util.schemaHasRules($sch,it.RULES.all)){out+=" "+$nextValid+" = true; if ( "+$data+it.util.getProperty($property)+" !== undefined ";if($ownProperties){out+=" && Object.prototype.hasOwnProperty.call("+$data+", '"+it.util.escapeQuotes($property)+"') "}out+=") { ";$it.schema=$sch;$it.schemaPath=$schemaPath+it.util.getProperty($property);$it.errSchemaPath=$errSchemaPath+"/"+it.util.escapeFragment($property);out+=" "+it.validate($it)+" ";$it.baseId=$currentBaseId;out+=" } ";if($breakOnError){out+=" if ("+$nextValid+") { ";$closingBraces+="}"}}}if($breakOnError){out+=" "+$closingBraces+" if ("+$errs+" == errors) {"}return out}},{}],130:[function(require,module,exports){"use strict";module.exports=function generate_enum(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}var $i="i"+$lvl,$vSchema="schema"+$lvl;if(!$isData){out+=" var "+$vSchema+" = validate.schema"+$schemaPath+";"}out+="var "+$valid+";";if($isData){out+=" if (schema"+$lvl+" === undefined) "+$valid+" = true; else if (!Array.isArray(schema"+$lvl+")) "+$valid+" = false; else {"}out+=""+$valid+" = false;for (var "+$i+"=0; "+$i+"<"+$vSchema+".length; "+$i+"++) if (equal("+$data+", "+$vSchema+"["+$i+"])) { "+$valid+" = true; break; }";if($isData){out+=" } "}out+=" if (!"+$valid+") { ";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"enum"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { allowedValues: schema"+$lvl+" } ";if(it.opts.messages!==false){out+=" , message: 'should be equal to one of the allowed values' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" }";if($breakOnError){out+=" else { "}return out}},{}],131:[function(require,module,exports){"use strict";module.exports=function generate_format(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");if(it.opts.format===false){if($breakOnError){out+=" if (true) { "}return out}var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}var $unknownFormats=it.opts.unknownFormats,$allowUnknown=Array.isArray($unknownFormats);if($isData){var $format="format"+$lvl,$isObject="isObject"+$lvl,$formatType="formatType"+$lvl;out+=" var "+$format+" = formats["+$schemaValue+"]; var "+$isObject+" = typeof "+$format+" == 'object' && !("+$format+" instanceof RegExp) && "+$format+".validate; var "+$formatType+" = "+$isObject+" && "+$format+".type || 'string'; if ("+$isObject+") { ";if(it.async){out+=" var async"+$lvl+" = "+$format+".async; "}out+=" "+$format+" = "+$format+".validate; } if ( ";if($isData){out+=" ("+$schemaValue+" !== undefined && typeof "+$schemaValue+" != 'string') || "}out+=" (";if($unknownFormats!="ignore"){out+=" ("+$schemaValue+" && !"+$format+" ";if($allowUnknown){out+=" && self._opts.unknownFormats.indexOf("+$schemaValue+") == -1 "}out+=") || "}out+=" ("+$format+" && "+$formatType+" == '"+$ruleType+"' && !(typeof "+$format+" == 'function' ? ";if(it.async){out+=" (async"+$lvl+" ? await "+$format+"("+$data+") : "+$format+"("+$data+")) "}else{out+=" "+$format+"("+$data+") "}out+=" : "+$format+".test("+$data+"))))) {"}else{var $format=it.formats[$schema];if(!$format){if($unknownFormats=="ignore"){it.logger.warn('unknown format "'+$schema+'" ignored in schema at path "'+it.errSchemaPath+'"');if($breakOnError){out+=" if (true) { "}return out}else if($allowUnknown&&$unknownFormats.indexOf($schema)>=0){if($breakOnError){out+=" if (true) { "}return out}else{throw new Error('unknown format "'+$schema+'" is used in schema at path "'+it.errSchemaPath+'"')}}var $isObject=typeof $format=="object"&&!($format instanceof RegExp)&&$format.validate;var $formatType=$isObject&&$format.type||"string";if($isObject){var $async=$format.async===true;$format=$format.validate}if($formatType!=$ruleType){if($breakOnError){out+=" if (true) { "}return out}if($async){if(!it.async)throw new Error("async format in sync schema");var $formatRef="formats"+it.util.getProperty($schema)+".validate";out+=" if (!(await "+$formatRef+"("+$data+"))) { "}else{out+=" if (! ";var $formatRef="formats"+it.util.getProperty($schema);if($isObject)$formatRef+=".validate";if(typeof $format=="function"){out+=" "+$formatRef+"("+$data+") "}else{out+=" "+$formatRef+".test("+$data+") "}out+=") { "}}var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"format"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { format: ";if($isData){out+=""+$schemaValue}else{out+=""+it.util.toQuotedString($schema)}out+=" } ";if(it.opts.messages!==false){out+=" , message: 'should match format \"";if($isData){out+="' + "+$schemaValue+" + '"}else{out+=""+it.util.escapeQuotes($schema)}out+="\"' "}if(it.opts.verbose){out+=" , schema: ";if($isData){out+="validate.schema"+$schemaPath}else{out+=""+it.util.toQuotedString($schema)}out+=" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } ";if($breakOnError){out+=" else { "}return out}},{}],132:[function(require,module,exports){"use strict";module.exports=function generate_if(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;var $errs="errs__"+$lvl;var $it=it.util.copy(it);$it.level++;var $nextValid="valid"+$it.level;var $thenSch=it.schema["then"],$elseSch=it.schema["else"],$thenPresent=$thenSch!==undefined&&(it.opts.strictKeywords?typeof $thenSch=="object"&&Object.keys($thenSch).length>0||$thenSch===false:it.util.schemaHasRules($thenSch,it.RULES.all)),$elsePresent=$elseSch!==undefined&&(it.opts.strictKeywords?typeof $elseSch=="object"&&Object.keys($elseSch).length>0||$elseSch===false:it.util.schemaHasRules($elseSch,it.RULES.all)),$currentBaseId=$it.baseId;if($thenPresent||$elsePresent){var $ifClause;$it.createErrors=false;$it.schema=$schema;$it.schemaPath=$schemaPath;$it.errSchemaPath=$errSchemaPath;out+=" var "+$errs+" = errors; var "+$valid+" = true; ";var $wasComposite=it.compositeRule;it.compositeRule=$it.compositeRule=true;out+=" "+it.validate($it)+" ";$it.baseId=$currentBaseId;$it.createErrors=true;out+=" errors = "+$errs+"; if (vErrors !== null) { if ("+$errs+") vErrors.length = "+$errs+"; else vErrors = null; } ";it.compositeRule=$it.compositeRule=$wasComposite;if($thenPresent){out+=" if ("+$nextValid+") { ";$it.schema=it.schema["then"];$it.schemaPath=it.schemaPath+".then";$it.errSchemaPath=it.errSchemaPath+"/then";out+=" "+it.validate($it)+" ";$it.baseId=$currentBaseId;out+=" "+$valid+" = "+$nextValid+"; ";if($thenPresent&&$elsePresent){$ifClause="ifClause"+$lvl;out+=" var "+$ifClause+" = 'then'; "}else{$ifClause="'then'"}out+=" } ";if($elsePresent){out+=" else { "}}else{out+=" if (!"+$nextValid+") { "}if($elsePresent){$it.schema=it.schema["else"];$it.schemaPath=it.schemaPath+".else";$it.errSchemaPath=it.errSchemaPath+"/else";out+=" "+it.validate($it)+" ";$it.baseId=$currentBaseId;out+=" "+$valid+" = "+$nextValid+"; ";if($thenPresent&&$elsePresent){$ifClause="ifClause"+$lvl;out+=" var "+$ifClause+" = 'else'; "}else{$ifClause="'else'"}out+=" } "}out+=" if (!"+$valid+") { var err = ";if(it.createErrors!==false){out+=" { keyword: '"+"if"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { failingKeyword: "+$ifClause+" } ";if(it.opts.messages!==false){out+=" , message: 'should match \"' + "+$ifClause+" + '\" schema' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}out+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(vErrors); "}else{out+=" validate.errors = vErrors; return false; "}}out+=" } ";if($breakOnError){out+=" else { "}}else{if($breakOnError){out+=" if (true) { "}}return out}},{}],133:[function(require,module,exports){"use strict";module.exports={$ref:require("./ref"),allOf:require("./allOf"),anyOf:require("./anyOf"),$comment:require("./comment"),const:require("./const"),contains:require("./contains"),dependencies:require("./dependencies"),enum:require("./enum"),format:require("./format"),if:require("./if"),items:require("./items"),maximum:require("./_limit"),minimum:require("./_limit"),maxItems:require("./_limitItems"),minItems:require("./_limitItems"),maxLength:require("./_limitLength"),minLength:require("./_limitLength"),maxProperties:require("./_limitProperties"),minProperties:require("./_limitProperties"),multipleOf:require("./multipleOf"),not:require("./not"),oneOf:require("./oneOf"),pattern:require("./pattern"),properties:require("./properties"),propertyNames:require("./propertyNames"),required:require("./required"),uniqueItems:require("./uniqueItems"),validate:require("./validate")}},{"./_limit":119,"./_limitItems":120,"./_limitLength":121,"./_limitProperties":122,"./allOf":123,"./anyOf":124,"./comment":125,"./const":126,"./contains":127,"./dependencies":129,"./enum":130,"./format":131,"./if":132,"./items":134,"./multipleOf":135,"./not":136,"./oneOf":137,"./pattern":138,"./properties":139,"./propertyNames":140,"./ref":141,"./required":142,"./uniqueItems":143,"./validate":144}],134:[function(require,module,exports){"use strict";module.exports=function generate_items(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;var $errs="errs__"+$lvl;var $it=it.util.copy(it);var $closingBraces="";$it.level++;var $nextValid="valid"+$it.level;var $idx="i"+$lvl,$dataNxt=$it.dataLevel=it.dataLevel+1,$nextData="data"+$dataNxt,$currentBaseId=it.baseId;out+="var "+$errs+" = errors;var "+$valid+";";if(Array.isArray($schema)){var $additionalItems=it.schema.additionalItems;if($additionalItems===false){out+=" "+$valid+" = "+$data+".length <= "+$schema.length+"; ";var $currErrSchemaPath=$errSchemaPath;$errSchemaPath=it.errSchemaPath+"/additionalItems";out+=" if (!"+$valid+") { ";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"additionalItems"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { limit: "+$schema.length+" } ";if(it.opts.messages!==false){out+=" , message: 'should NOT have more than "+$schema.length+" items' "}if(it.opts.verbose){out+=" , schema: false , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } ";$errSchemaPath=$currErrSchemaPath;if($breakOnError){$closingBraces+="}";out+=" else { "}}var arr1=$schema;if(arr1){var $sch,$i=-1,l1=arr1.length-1;while($i0||$sch===false:it.util.schemaHasRules($sch,it.RULES.all)){out+=" "+$nextValid+" = true; if ("+$data+".length > "+$i+") { ";var $passData=$data+"["+$i+"]";$it.schema=$sch;$it.schemaPath=$schemaPath+"["+$i+"]";$it.errSchemaPath=$errSchemaPath+"/"+$i;$it.errorPath=it.util.getPathExpr(it.errorPath,$i,it.opts.jsonPointers,true);$it.dataPathArr[$dataNxt]=$i;var $code=it.validate($it);$it.baseId=$currentBaseId;if(it.util.varOccurences($code,$nextData)<2){out+=" "+it.util.varReplace($code,$nextData,$passData)+" "}else{out+=" var "+$nextData+" = "+$passData+"; "+$code+" "}out+=" } ";if($breakOnError){out+=" if ("+$nextValid+") { ";$closingBraces+="}"}}}}if(typeof $additionalItems=="object"&&(it.opts.strictKeywords?typeof $additionalItems=="object"&&Object.keys($additionalItems).length>0||$additionalItems===false:it.util.schemaHasRules($additionalItems,it.RULES.all))){$it.schema=$additionalItems;$it.schemaPath=it.schemaPath+".additionalItems";$it.errSchemaPath=it.errSchemaPath+"/additionalItems";out+=" "+$nextValid+" = true; if ("+$data+".length > "+$schema.length+") { for (var "+$idx+" = "+$schema.length+"; "+$idx+" < "+$data+".length; "+$idx+"++) { ";$it.errorPath=it.util.getPathExpr(it.errorPath,$idx,it.opts.jsonPointers,true);var $passData=$data+"["+$idx+"]";$it.dataPathArr[$dataNxt]=$idx;var $code=it.validate($it);$it.baseId=$currentBaseId;if(it.util.varOccurences($code,$nextData)<2){out+=" "+it.util.varReplace($code,$nextData,$passData)+" "}else{out+=" var "+$nextData+" = "+$passData+"; "+$code+" "}if($breakOnError){out+=" if (!"+$nextValid+") break; "}out+=" } } ";if($breakOnError){out+=" if ("+$nextValid+") { ";$closingBraces+="}"}}}else if(it.opts.strictKeywords?typeof $schema=="object"&&Object.keys($schema).length>0||$schema===false:it.util.schemaHasRules($schema,it.RULES.all)){$it.schema=$schema;$it.schemaPath=$schemaPath;$it.errSchemaPath=$errSchemaPath;out+=" for (var "+$idx+" = "+0+"; "+$idx+" < "+$data+".length; "+$idx+"++) { ";$it.errorPath=it.util.getPathExpr(it.errorPath,$idx,it.opts.jsonPointers,true);var $passData=$data+"["+$idx+"]";$it.dataPathArr[$dataNxt]=$idx;var $code=it.validate($it);$it.baseId=$currentBaseId;if(it.util.varOccurences($code,$nextData)<2){out+=" "+it.util.varReplace($code,$nextData,$passData)+" "}else{out+=" var "+$nextData+" = "+$passData+"; "+$code+" "}if($breakOnError){out+=" if (!"+$nextValid+") break; "}out+=" }"}if($breakOnError){out+=" "+$closingBraces+" if ("+$errs+" == errors) {"}return out}},{}],135:[function(require,module,exports){"use strict";module.exports=function generate_multipleOf(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}if(!($isData||typeof $schema=="number")){throw new Error($keyword+" must be number")}out+="var division"+$lvl+";if (";if($isData){out+=" "+$schemaValue+" !== undefined && ( typeof "+$schemaValue+" != 'number' || "}out+=" (division"+$lvl+" = "+$data+" / "+$schemaValue+", ";if(it.opts.multipleOfPrecision){out+=" Math.abs(Math.round(division"+$lvl+") - division"+$lvl+") > 1e-"+it.opts.multipleOfPrecision+" "}else{out+=" division"+$lvl+" !== parseInt(division"+$lvl+") "}out+=" ) ";if($isData){out+=" ) "}out+=" ) { ";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"multipleOf"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { multipleOf: "+$schemaValue+" } ";if(it.opts.messages!==false){out+=" , message: 'should be multiple of ";if($isData){out+="' + "+$schemaValue}else{out+=""+$schemaValue+"'"}}if(it.opts.verbose){out+=" , schema: ";if($isData){out+="validate.schema"+$schemaPath}else{out+=""+$schema}out+=" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+="} ";if($breakOnError){out+=" else { "}return out}},{}],136:[function(require,module,exports){"use strict";module.exports=function generate_not(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $errs="errs__"+$lvl;var $it=it.util.copy(it);$it.level++;var $nextValid="valid"+$it.level;if(it.opts.strictKeywords?typeof $schema=="object"&&Object.keys($schema).length>0||$schema===false:it.util.schemaHasRules($schema,it.RULES.all)){$it.schema=$schema;$it.schemaPath=$schemaPath;$it.errSchemaPath=$errSchemaPath;out+=" var "+$errs+" = errors; ";var $wasComposite=it.compositeRule;it.compositeRule=$it.compositeRule=true;$it.createErrors=false;var $allErrorsOption;if($it.opts.allErrors){$allErrorsOption=$it.opts.allErrors;$it.opts.allErrors=false}out+=" "+it.validate($it)+" ";$it.createErrors=true;if($allErrorsOption)$it.opts.allErrors=$allErrorsOption;it.compositeRule=$it.compositeRule=$wasComposite;out+=" if ("+$nextValid+") { ";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: {} ";if(it.opts.messages!==false){out+=" , message: 'should NOT be valid' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } else { errors = "+$errs+"; if (vErrors !== null) { if ("+$errs+") vErrors.length = "+$errs+"; else vErrors = null; } ";if(it.opts.allErrors){out+=" } "}}else{out+=" var err = ";if(it.createErrors!==false){out+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: {} ";if(it.opts.messages!==false){out+=" , message: 'should NOT be valid' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}out+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if($breakOnError){out+=" if (false) { "}}return out}},{}],137:[function(require,module,exports){"use strict";module.exports=function generate_oneOf(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;var $errs="errs__"+$lvl;var $it=it.util.copy(it);var $closingBraces="";$it.level++;var $nextValid="valid"+$it.level;var $currentBaseId=$it.baseId,$prevValid="prevValid"+$lvl,$passingSchemas="passingSchemas"+$lvl;out+="var "+$errs+" = errors , "+$prevValid+" = false , "+$valid+" = false , "+$passingSchemas+" = null; ";var $wasComposite=it.compositeRule;it.compositeRule=$it.compositeRule=true;var arr1=$schema;if(arr1){var $sch,$i=-1,l1=arr1.length-1;while($i0||$sch===false:it.util.schemaHasRules($sch,it.RULES.all)){$it.schema=$sch;$it.schemaPath=$schemaPath+"["+$i+"]";$it.errSchemaPath=$errSchemaPath+"/"+$i;out+=" "+it.validate($it)+" ";$it.baseId=$currentBaseId}else{out+=" var "+$nextValid+" = true; "}if($i){out+=" if ("+$nextValid+" && "+$prevValid+") { "+$valid+" = false; "+$passingSchemas+" = ["+$passingSchemas+", "+$i+"]; } else { ";$closingBraces+="}"}out+=" if ("+$nextValid+") { "+$valid+" = "+$prevValid+" = true; "+$passingSchemas+" = "+$i+"; }"}}it.compositeRule=$it.compositeRule=$wasComposite;out+=""+$closingBraces+"if (!"+$valid+") { var err = ";if(it.createErrors!==false){out+=" { keyword: '"+"oneOf"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { passingSchemas: "+$passingSchemas+" } ";if(it.opts.messages!==false){out+=" , message: 'should match exactly one schema in oneOf' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}out+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(vErrors); "}else{out+=" validate.errors = vErrors; return false; "}}out+="} else { errors = "+$errs+"; if (vErrors !== null) { if ("+$errs+") vErrors.length = "+$errs+"; else vErrors = null; }";if(it.opts.allErrors){out+=" } "}return out}},{}],138:[function(require,module,exports){"use strict";module.exports=function generate_pattern(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}var $regexp=$isData?"(new RegExp("+$schemaValue+"))":it.usePattern($schema);out+="if ( ";if($isData){out+=" ("+$schemaValue+" !== undefined && typeof "+$schemaValue+" != 'string') || "}out+=" !"+$regexp+".test("+$data+") ) { ";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"pattern"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { pattern: ";if($isData){out+=""+$schemaValue}else{out+=""+it.util.toQuotedString($schema)}out+=" } ";if(it.opts.messages!==false){out+=" , message: 'should match pattern \"";if($isData){out+="' + "+$schemaValue+" + '"}else{out+=""+it.util.escapeQuotes($schema)}out+="\"' "}if(it.opts.verbose){out+=" , schema: ";if($isData){out+="validate.schema"+$schemaPath}else{out+=""+it.util.toQuotedString($schema)}out+=" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+="} ";if($breakOnError){out+=" else { "}return out}},{}],139:[function(require,module,exports){"use strict";module.exports=function generate_properties(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $errs="errs__"+$lvl;var $it=it.util.copy(it);var $closingBraces="";$it.level++;var $nextValid="valid"+$it.level;var $key="key"+$lvl,$idx="idx"+$lvl,$dataNxt=$it.dataLevel=it.dataLevel+1,$nextData="data"+$dataNxt,$dataProperties="dataProperties"+$lvl;var $schemaKeys=Object.keys($schema||{}).filter(notProto),$pProperties=it.schema.patternProperties||{},$pPropertyKeys=Object.keys($pProperties).filter(notProto),$aProperties=it.schema.additionalProperties,$someProperties=$schemaKeys.length||$pPropertyKeys.length,$noAdditional=$aProperties===false,$additionalIsSchema=typeof $aProperties=="object"&&Object.keys($aProperties).length,$removeAdditional=it.opts.removeAdditional,$checkAdditional=$noAdditional||$additionalIsSchema||$removeAdditional,$ownProperties=it.opts.ownProperties,$currentBaseId=it.baseId;var $required=it.schema.required;if($required&&!(it.opts.$data&&$required.$data)&&$required.length8){out+=" || validate.schema"+$schemaPath+".hasOwnProperty("+$key+") "}else{var arr1=$schemaKeys;if(arr1){var $propertyKey,i1=-1,l1=arr1.length-1;while(i10||$sch===false:it.util.schemaHasRules($sch,it.RULES.all)){var $prop=it.util.getProperty($propertyKey),$passData=$data+$prop,$hasDefault=$useDefaults&&$sch.default!==undefined;$it.schema=$sch;$it.schemaPath=$schemaPath+$prop;$it.errSchemaPath=$errSchemaPath+"/"+it.util.escapeFragment($propertyKey);$it.errorPath=it.util.getPath(it.errorPath,$propertyKey,it.opts.jsonPointers);$it.dataPathArr[$dataNxt]=it.util.toQuotedString($propertyKey);var $code=it.validate($it);$it.baseId=$currentBaseId;if(it.util.varOccurences($code,$nextData)<2){$code=it.util.varReplace($code,$nextData,$passData);var $useData=$passData}else{var $useData=$nextData;out+=" var "+$nextData+" = "+$passData+"; "}if($hasDefault){out+=" "+$code+" "}else{if($requiredHash&&$requiredHash[$propertyKey]){out+=" if ( "+$useData+" === undefined ";if($ownProperties){out+=" || ! Object.prototype.hasOwnProperty.call("+$data+", '"+it.util.escapeQuotes($propertyKey)+"') "}out+=") { "+$nextValid+" = false; ";var $currentErrorPath=it.errorPath,$currErrSchemaPath=$errSchemaPath,$missingProperty=it.util.escapeQuotes($propertyKey);if(it.opts._errorDataPathProperty){it.errorPath=it.util.getPath($currentErrorPath,$propertyKey,it.opts.jsonPointers)}$errSchemaPath=it.errSchemaPath+"/required";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { missingProperty: '"+$missingProperty+"' } ";if(it.opts.messages!==false){out+=" , message: '";if(it.opts._errorDataPathProperty){out+="is a required property"}else{out+="should have required property \\'"+$missingProperty+"\\'"}out+="' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$errSchemaPath=$currErrSchemaPath;it.errorPath=$currentErrorPath;out+=" } else { "}else{if($breakOnError){out+=" if ( "+$useData+" === undefined ";if($ownProperties){out+=" || ! Object.prototype.hasOwnProperty.call("+$data+", '"+it.util.escapeQuotes($propertyKey)+"') "}out+=") { "+$nextValid+" = true; } else { "}else{out+=" if ("+$useData+" !== undefined ";if($ownProperties){out+=" && Object.prototype.hasOwnProperty.call("+$data+", '"+it.util.escapeQuotes($propertyKey)+"') "}out+=" ) { "}}out+=" "+$code+" } "}}if($breakOnError){out+=" if ("+$nextValid+") { ";$closingBraces+="}"}}}}if($pPropertyKeys.length){var arr4=$pPropertyKeys;if(arr4){var $pProperty,i4=-1,l4=arr4.length-1;while(i40||$sch===false:it.util.schemaHasRules($sch,it.RULES.all)){$it.schema=$sch;$it.schemaPath=it.schemaPath+".patternProperties"+it.util.getProperty($pProperty);$it.errSchemaPath=it.errSchemaPath+"/patternProperties/"+it.util.escapeFragment($pProperty);if($ownProperties){out+=" "+$dataProperties+" = "+$dataProperties+" || Object.keys("+$data+"); for (var "+$idx+"=0; "+$idx+"<"+$dataProperties+".length; "+$idx+"++) { var "+$key+" = "+$dataProperties+"["+$idx+"]; "}else{out+=" for (var "+$key+" in "+$data+") { "}out+=" if ("+it.usePattern($pProperty)+".test("+$key+")) { ";$it.errorPath=it.util.getPathExpr(it.errorPath,$key,it.opts.jsonPointers);var $passData=$data+"["+$key+"]";$it.dataPathArr[$dataNxt]=$key;var $code=it.validate($it);$it.baseId=$currentBaseId;if(it.util.varOccurences($code,$nextData)<2){out+=" "+it.util.varReplace($code,$nextData,$passData)+" "}else{out+=" var "+$nextData+" = "+$passData+"; "+$code+" "}if($breakOnError){out+=" if (!"+$nextValid+") break; "}out+=" } ";if($breakOnError){out+=" else "+$nextValid+" = true; "}out+=" } ";if($breakOnError){out+=" if ("+$nextValid+") { ";$closingBraces+="}"}}}}}if($breakOnError){out+=" "+$closingBraces+" if ("+$errs+" == errors) {"}return out}},{}],140:[function(require,module,exports){"use strict";module.exports=function generate_propertyNames(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $errs="errs__"+$lvl;var $it=it.util.copy(it);var $closingBraces="";$it.level++;var $nextValid="valid"+$it.level;out+="var "+$errs+" = errors;";if(it.opts.strictKeywords?typeof $schema=="object"&&Object.keys($schema).length>0||$schema===false:it.util.schemaHasRules($schema,it.RULES.all)){$it.schema=$schema;$it.schemaPath=$schemaPath;$it.errSchemaPath=$errSchemaPath;var $key="key"+$lvl,$idx="idx"+$lvl,$i="i"+$lvl,$invalidName="' + "+$key+" + '",$dataNxt=$it.dataLevel=it.dataLevel+1,$nextData="data"+$dataNxt,$dataProperties="dataProperties"+$lvl,$ownProperties=it.opts.ownProperties,$currentBaseId=it.baseId;if($ownProperties){out+=" var "+$dataProperties+" = undefined; "}if($ownProperties){out+=" "+$dataProperties+" = "+$dataProperties+" || Object.keys("+$data+"); for (var "+$idx+"=0; "+$idx+"<"+$dataProperties+".length; "+$idx+"++) { var "+$key+" = "+$dataProperties+"["+$idx+"]; "}else{out+=" for (var "+$key+" in "+$data+") { "}out+=" var startErrs"+$lvl+" = errors; ";var $passData=$key;var $wasComposite=it.compositeRule;it.compositeRule=$it.compositeRule=true;var $code=it.validate($it);$it.baseId=$currentBaseId;if(it.util.varOccurences($code,$nextData)<2){out+=" "+it.util.varReplace($code,$nextData,$passData)+" "}else{out+=" var "+$nextData+" = "+$passData+"; "+$code+" "}it.compositeRule=$it.compositeRule=$wasComposite;out+=" if (!"+$nextValid+") { for (var "+$i+"=startErrs"+$lvl+"; "+$i+"0||$propertySch===false:it.util.schemaHasRules($propertySch,it.RULES.all)))){$required[$required.length]=$property}}}}else{var $required=$schema}}if($isData||$required.length){var $currentErrorPath=it.errorPath,$loopRequired=$isData||$required.length>=it.opts.loopRequired,$ownProperties=it.opts.ownProperties;if($breakOnError){out+=" var missing"+$lvl+"; ";if($loopRequired){if(!$isData){out+=" var "+$vSchema+" = validate.schema"+$schemaPath+"; "}var $i="i"+$lvl,$propertyPath="schema"+$lvl+"["+$i+"]",$missingProperty="' + "+$propertyPath+" + '";if(it.opts._errorDataPathProperty){it.errorPath=it.util.getPathExpr($currentErrorPath,$propertyPath,it.opts.jsonPointers)}out+=" var "+$valid+" = true; ";if($isData){out+=" if (schema"+$lvl+" === undefined) "+$valid+" = true; else if (!Array.isArray(schema"+$lvl+")) "+$valid+" = false; else {"}out+=" for (var "+$i+" = 0; "+$i+" < "+$vSchema+".length; "+$i+"++) { "+$valid+" = "+$data+"["+$vSchema+"["+$i+"]] !== undefined ";if($ownProperties){out+=" && Object.prototype.hasOwnProperty.call("+$data+", "+$vSchema+"["+$i+"]) "}out+="; if (!"+$valid+") break; } ";if($isData){out+=" } "}out+=" if (!"+$valid+") { ";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { missingProperty: '"+$missingProperty+"' } ";if(it.opts.messages!==false){out+=" , message: '";if(it.opts._errorDataPathProperty){out+="is a required property"}else{out+="should have required property \\'"+$missingProperty+"\\'"}out+="' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } else { "}else{out+=" if ( ";var arr2=$required;if(arr2){var $propertyKey,$i=-1,l2=arr2.length-1;while($i 1) { ";var $itemType=it.schema.items&&it.schema.items.type,$typeIsArray=Array.isArray($itemType);if(!$itemType||$itemType=="object"||$itemType=="array"||$typeIsArray&&($itemType.indexOf("object")>=0||$itemType.indexOf("array")>=0)){out+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+$data+"[i], "+$data+"[j])) { "+$valid+" = false; break outer; } } } "}else{out+=" var itemIndices = {}, item; for (;i--;) { var item = "+$data+"[i]; ";var $method="checkDataType"+($typeIsArray?"s":"");out+=" if ("+it.util[$method]($itemType,"item",it.opts.strictNumbers,true)+") continue; ";if($typeIsArray){out+=" if (typeof item == 'string') item = '\"' + item; "}out+=" if (typeof itemIndices[item] == 'number') { "+$valid+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}out+=" } ";if($isData){out+=" } "}out+=" if (!"+$valid+") { ";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"uniqueItems"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { i: i, j: j } ";if(it.opts.messages!==false){out+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "}if(it.opts.verbose){out+=" , schema: ";if($isData){out+="validate.schema"+$schemaPath}else{out+=""+$schema}out+=" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } ";if($breakOnError){out+=" else { "}}else{if($breakOnError){out+=" if (true) { "}}return out}},{}],144:[function(require,module,exports){"use strict";module.exports=function generate_validate(it,$keyword,$ruleType){var out="";var $async=it.schema.$async===true,$refKeywords=it.util.schemaHasRulesExcept(it.schema,it.RULES.all,"$ref"),$id=it.self._getId(it.schema);if(it.opts.strictKeywords){var $unknownKwd=it.util.schemaUnknownRules(it.schema,it.RULES.keywords);if($unknownKwd){var $keywordsMsg="unknown keyword: "+$unknownKwd;if(it.opts.strictKeywords==="log")it.logger.warn($keywordsMsg);else throw new Error($keywordsMsg)}}if(it.isTop){out+=" var validate = ";if($async){it.async=true;out+="async "}out+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ";if($id&&(it.opts.sourceCode||it.opts.processCode)){out+=" "+("/*# sourceURL="+$id+" */")+" "}}if(typeof it.schema=="boolean"||!($refKeywords||it.schema.$ref)){var $keyword="false schema";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $errorKeyword;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;if(it.schema===false){if(it.isTop){$breakOnError=true}else{out+=" var "+$valid+" = false; "}var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"false schema")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: {} ";if(it.opts.messages!==false){out+=" , message: 'boolean schema is false' "}if(it.opts.verbose){out+=" , schema: false , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{if(it.isTop){if($async){out+=" return data; "}else{out+=" validate.errors = null; return true; "}}else{out+=" var "+$valid+" = true; "}}if(it.isTop){out+=" }; return validate; "}return out}if(it.isTop){var $top=it.isTop,$lvl=it.level=0,$dataLvl=it.dataLevel=0,$data="data";it.rootId=it.resolve.fullPath(it.self._getId(it.root.schema));it.baseId=it.baseId||it.rootId;delete it.isTop;it.dataPathArr=[""];if(it.schema.default!==undefined&&it.opts.useDefaults&&it.opts.strictDefaults){var $defaultMsg="default is ignored in the schema root";if(it.opts.strictDefaults==="log")it.logger.warn($defaultMsg);else throw new Error($defaultMsg)}out+=" var vErrors = null; ";out+=" var errors = 0; ";out+=" if (rootData === undefined) rootData = data; "}else{var $lvl=it.level,$dataLvl=it.dataLevel,$data="data"+($dataLvl||"");if($id)it.baseId=it.resolve.url(it.baseId,$id);if($async&&!it.async)throw new Error("async schema in sync schema");out+=" var errs_"+$lvl+" = errors;"}var $valid="valid"+$lvl,$breakOnError=!it.opts.allErrors,$closingBraces1="",$closingBraces2="";var $errorKeyword;var $typeSchema=it.schema.type,$typeIsArray=Array.isArray($typeSchema);if($typeSchema&&it.opts.nullable&&it.schema.nullable===true){if($typeIsArray){if($typeSchema.indexOf("null")==-1)$typeSchema=$typeSchema.concat("null")}else if($typeSchema!="null"){$typeSchema=[$typeSchema,"null"];$typeIsArray=true}}if($typeIsArray&&$typeSchema.length==1){$typeSchema=$typeSchema[0];$typeIsArray=false}if(it.schema.$ref&&$refKeywords){if(it.opts.extendRefs=="fail"){throw new Error('$ref: validation keywords used in schema at path "'+it.errSchemaPath+'" (see option extendRefs)')}else if(it.opts.extendRefs!==true){$refKeywords=false;it.logger.warn('$ref: keywords ignored in schema at path "'+it.errSchemaPath+'"')}}if(it.schema.$comment&&it.opts.$comment){out+=" "+it.RULES.all.$comment.code(it,"$comment")}if($typeSchema){if(it.opts.coerceTypes){var $coerceToTypes=it.util.coerceToTypes(it.opts.coerceTypes,$typeSchema)}var $rulesGroup=it.RULES.types[$typeSchema];if($coerceToTypes||$typeIsArray||$rulesGroup===true||$rulesGroup&&!$shouldUseGroup($rulesGroup)){var $schemaPath=it.schemaPath+".type",$errSchemaPath=it.errSchemaPath+"/type";var $schemaPath=it.schemaPath+".type",$errSchemaPath=it.errSchemaPath+"/type",$method=$typeIsArray?"checkDataTypes":"checkDataType";out+=" if ("+it.util[$method]($typeSchema,$data,it.opts.strictNumbers,true)+") { ";if($coerceToTypes){var $dataType="dataType"+$lvl,$coerced="coerced"+$lvl;out+=" var "+$dataType+" = typeof "+$data+"; var "+$coerced+" = undefined; ";if(it.opts.coerceTypes=="array"){out+=" if ("+$dataType+" == 'object' && Array.isArray("+$data+") && "+$data+".length == 1) { "+$data+" = "+$data+"[0]; "+$dataType+" = typeof "+$data+"; if ("+it.util.checkDataType(it.schema.type,$data,it.opts.strictNumbers)+") "+$coerced+" = "+$data+"; } "}out+=" if ("+$coerced+" !== undefined) ; ";var arr1=$coerceToTypes;if(arr1){var $type,$i=-1,l1=arr1.length-1;while($i0){throw new Error("Invalid string. Length must be a multiple of 4")}var validLen=b64.indexOf("=");if(validLen===-1)validLen=len;var placeHoldersLen=validLen===len?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64);var validLen=lens[0];var placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp;var lens=getLens(b64);var validLen=lens[0];var placeHoldersLen=lens[1];var arr=new Arr(_byteLength(b64,validLen,placeHoldersLen));var curByte=0;var len=placeHoldersLen>0?validLen-4:validLen;var i;for(i=0;i>16&255;arr[curByte++]=tmp>>8&255;arr[curByte++]=tmp&255}if(placeHoldersLen===2){tmp=revLookup[b64.charCodeAt(i)]<<2|revLookup[b64.charCodeAt(i+1)]>>4;arr[curByte++]=tmp&255}if(placeHoldersLen===1){tmp=revLookup[b64.charCodeAt(i)]<<10|revLookup[b64.charCodeAt(i+1)]<<4|revLookup[b64.charCodeAt(i+2)]>>2;arr[curByte++]=tmp>>8&255;arr[curByte++]=tmp&255}return arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){var tmp;var output=[];for(var i=start;ilen2?len2:i+maxChunkLength))}if(extraBytes===1){tmp=uint8[len-1];parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")}else if(extraBytes===2){tmp=(uint8[len-2]<<8)+uint8[len-1];parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")}return parts.join("")}},{}],150:[function(require,module,exports){},{}],151:[function(require,module,exports){(function(Buffer){(function(){"use strict";var base64=require("base64-js");var ieee754=require("ieee754");exports.Buffer=Buffer;exports.SlowBuffer=SlowBuffer;exports.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports.kMaxLength=K_MAX_LENGTH;Buffer.TYPED_ARRAY_SUPPORT=typedArraySupport();if(!Buffer.TYPED_ARRAY_SUPPORT&&typeof console!=="undefined"&&typeof console.error==="function"){console.error("This browser lacks typed array (Uint8Array) support which is required by "+"`buffer` v5.x. Use `buffer` v4.x if you require old browser support.")}function typedArraySupport(){try{var arr=new Uint8Array(1);arr.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}};return arr.foo()===42}catch(e){return false}}Object.defineProperty(Buffer.prototype,"parent",{enumerable:true,get:function(){if(!Buffer.isBuffer(this))return undefined;return this.buffer}});Object.defineProperty(Buffer.prototype,"offset",{enumerable:true,get:function(){if(!Buffer.isBuffer(this))return undefined;return this.byteOffset}});function createBuffer(length){if(length>K_MAX_LENGTH){throw new RangeError('The value "'+length+'" is invalid for option "size"')}var buf=new Uint8Array(length);buf.__proto__=Buffer.prototype;return buf}function Buffer(arg,encodingOrOffset,length){if(typeof arg==="number"){if(typeof encodingOrOffset==="string"){throw new TypeError('The "string" argument must be of type string. Received type number')}return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}if(typeof Symbol!=="undefined"&&Symbol.species!=null&&Buffer[Symbol.species]===Buffer){Object.defineProperty(Buffer,Symbol.species,{value:null,configurable:true,enumerable:false,writable:false})}Buffer.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value==="string"){return fromString(value,encodingOrOffset)}if(ArrayBuffer.isView(value)){return fromArrayLike(value)}if(value==null){throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, "+"or Array-like Object. Received type "+typeof value)}if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer)){return fromArrayBuffer(value,encodingOrOffset,length)}if(typeof value==="number"){throw new TypeError('The "value" argument must not be of type number. Received type number')}var valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value){return Buffer.from(valueOf,encodingOrOffset,length)}var b=fromObject(value);if(b)return b;if(typeof Symbol!=="undefined"&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]==="function"){return Buffer.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length)}throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, "+"or Array-like Object. Received type "+typeof value)}Buffer.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)};Buffer.prototype.__proto__=Uint8Array.prototype;Buffer.__proto__=Uint8Array;function assertSize(size){if(typeof size!=="number"){throw new TypeError('"size" argument must be of type number')}else if(size<0){throw new RangeError('The value "'+size+'" is invalid for option "size"')}}function alloc(size,fill,encoding){assertSize(size);if(size<=0){return createBuffer(size)}if(fill!==undefined){return typeof encoding==="string"?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill)}return createBuffer(size)}Buffer.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){assertSize(size);return createBuffer(size<0?0:checked(size)|0)}Buffer.allocUnsafe=function(size){return allocUnsafe(size)};Buffer.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if(typeof encoding!=="string"||encoding===""){encoding="utf8"}if(!Buffer.isEncoding(encoding)){throw new TypeError("Unknown encoding: "+encoding)}var length=byteLength(string,encoding)|0;var buf=createBuffer(length);var actual=buf.write(string,encoding);if(actual!==length){buf=buf.slice(0,actual)}return buf}function fromArrayLike(array){var length=array.length<0?0:checked(array.length)|0;var buf=createBuffer(length);for(var i=0;i=K_MAX_LENGTH){throw new RangeError("Attempt to allocate Buffer larger than maximum "+"size: 0x"+K_MAX_LENGTH.toString(16)+" bytes")}return length|0}function SlowBuffer(length){if(+length!=length){length=0}return Buffer.alloc(+length)}Buffer.isBuffer=function isBuffer(b){return b!=null&&b._isBuffer===true&&b!==Buffer.prototype};Buffer.compare=function compare(a,b){if(isInstance(a,Uint8Array))a=Buffer.from(a,a.offset,a.byteLength);if(isInstance(b,Uint8Array))b=Buffer.from(b,b.offset,b.byteLength);if(!Buffer.isBuffer(a)||!Buffer.isBuffer(b)){throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array')}if(a===b)return 0;var x=a.length;var y=b.length;for(var i=0,len=Math.min(x,y);i2&&arguments[2]===true;if(!mustMatch&&len===0)return 0;var loweredCase=false;for(;;){switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return len*2;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase){return mustMatch?-1:utf8ToBytes(string).length}encoding=(""+encoding).toLowerCase();loweredCase=true}}}Buffer.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=false;if(start===undefined||start<0){start=0}if(start>this.length){return""}if(end===undefined||end>this.length){end=this.length}if(end<=0){return""}end>>>=0;start>>>=0;if(end<=start){return""}if(!encoding)encoding="utf8";while(true){switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase();loweredCase=true}}}Buffer.prototype._isBuffer=true;function swap(b,n,m){var i=b[n];b[n]=b[m];b[m]=i}Buffer.prototype.swap16=function swap16(){var len=this.length;if(len%2!==0){throw new RangeError("Buffer size must be a multiple of 16-bits")}for(var i=0;imax)str+=" ... ";return""};Buffer.prototype.compare=function compare(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)){target=Buffer.from(target,target.offset,target.byteLength)}if(!Buffer.isBuffer(target)){throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. '+"Received type "+typeof target)}if(start===undefined){start=0}if(end===undefined){end=target?target.length:0}if(thisStart===undefined){thisStart=0}if(thisEnd===undefined){thisEnd=this.length}if(start<0||end>target.length||thisStart<0||thisEnd>this.length){throw new RangeError("out of range index")}if(thisStart>=thisEnd&&start>=end){return 0}if(thisStart>=thisEnd){return-1}if(start>=end){return 1}start>>>=0;end>>>=0;thisStart>>>=0;thisEnd>>>=0;if(this===target)return 0;var x=thisEnd-thisStart;var y=end-start;var len=Math.min(x,y);var thisCopy=this.slice(thisStart,thisEnd);var targetCopy=target.slice(start,end);for(var i=0;i2147483647){byteOffset=2147483647}else if(byteOffset<-2147483648){byteOffset=-2147483648}byteOffset=+byteOffset;if(numberIsNaN(byteOffset)){byteOffset=dir?0:buffer.length-1}if(byteOffset<0)byteOffset=buffer.length+byteOffset;if(byteOffset>=buffer.length){if(dir)return-1;else byteOffset=buffer.length-1}else if(byteOffset<0){if(dir)byteOffset=0;else return-1}if(typeof val==="string"){val=Buffer.from(val,encoding)}if(Buffer.isBuffer(val)){if(val.length===0){return-1}return arrayIndexOf(buffer,val,byteOffset,encoding,dir)}else if(typeof val==="number"){val=val&255;if(typeof Uint8Array.prototype.indexOf==="function"){if(dir){return Uint8Array.prototype.indexOf.call(buffer,val,byteOffset)}else{return Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset)}}return arrayIndexOf(buffer,[val],byteOffset,encoding,dir)}throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1;var arrLength=arr.length;var valLength=val.length;if(encoding!==undefined){encoding=String(encoding).toLowerCase();if(encoding==="ucs2"||encoding==="ucs-2"||encoding==="utf16le"||encoding==="utf-16le"){if(arr.length<2||val.length<2){return-1}indexSize=2;arrLength/=2;valLength/=2;byteOffset/=2}}function read(buf,i){if(indexSize===1){return buf[i]}else{return buf.readUInt16BE(i*indexSize)}}var i;if(dir){var foundIndex=-1;for(i=byteOffset;iarrLength)byteOffset=arrLength-valLength;for(i=byteOffset;i>=0;i--){var found=true;for(var j=0;jremaining){length=remaining}}var strLen=string.length;if(length>strLen/2){length=strLen/2}for(var i=0;i>>0;if(isFinite(length)){length=length>>>0;if(encoding===undefined)encoding="utf8"}else{encoding=length;length=undefined}}else{throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported")}var remaining=this.length-offset;if(length===undefined||length>remaining)length=remaining;if(string.length>0&&(length<0||offset<0)||offset>this.length){throw new RangeError("Attempt to write outside buffer bounds")}if(!encoding)encoding="utf8";var loweredCase=false;for(;;){switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":return asciiWrite(this,string,offset,length);case"latin1":case"binary":return latin1Write(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase();loweredCase=true}}};Buffer.prototype.toJSON=function toJSON(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){if(start===0&&end===buf.length){return base64.fromByteArray(buf)}else{return base64.fromByteArray(buf.slice(start,end))}}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);var res=[];var i=start;while(i239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:if(firstByte<128){codePoint=firstByte}break;case 2:secondByte=buf[i+1];if((secondByte&192)===128){tempCodePoint=(firstByte&31)<<6|secondByte&63;if(tempCodePoint>127){codePoint=tempCodePoint}}break;case 3:secondByte=buf[i+1];thirdByte=buf[i+2];if((secondByte&192)===128&&(thirdByte&192)===128){tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63;if(tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)){codePoint=tempCodePoint}}break;case 4:secondByte=buf[i+1];thirdByte=buf[i+2];fourthByte=buf[i+3];if((secondByte&192)===128&&(thirdByte&192)===128&&(fourthByte&192)===128){tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63;if(tempCodePoint>65535&&tempCodePoint<1114112){codePoint=tempCodePoint}}}}if(codePoint===null){codePoint=65533;bytesPerSequence=1}else if(codePoint>65535){codePoint-=65536;res.push(codePoint>>>10&1023|55296);codePoint=56320|codePoint&1023}res.push(codePoint);i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH){return String.fromCharCode.apply(String,codePoints)}var res="";var i=0;while(ilen)end=len;var out="";for(var i=start;ilen){start=len}if(end<0){end+=len;if(end<0)end=0}else if(end>len){end=len}if(endlength)throw new RangeError("Trying to access beyond buffer length")}Buffer.prototype.readUIntLE=function readUIntLE(offset,byteLength,noAssert){offset=offset>>>0;byteLength=byteLength>>>0;if(!noAssert)checkOffset(offset,byteLength,this.length);var val=this[offset];var mul=1;var i=0;while(++i>>0;byteLength=byteLength>>>0;if(!noAssert){checkOffset(offset,byteLength,this.length)}var val=this[offset+--byteLength];var mul=1;while(byteLength>0&&(mul*=256)){val+=this[offset+--byteLength]*mul}return val};Buffer.prototype.readUInt8=function readUInt8(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,1,this.length);return this[offset]};Buffer.prototype.readUInt16LE=function readUInt16LE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,2,this.length);return this[offset]|this[offset+1]<<8};Buffer.prototype.readUInt16BE=function readUInt16BE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,2,this.length);return this[offset]<<8|this[offset+1]};Buffer.prototype.readUInt32LE=function readUInt32LE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,4,this.length);return(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer.prototype.readUInt32BE=function readUInt32BE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,4,this.length);return this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer.prototype.readIntLE=function readIntLE(offset,byteLength,noAssert){offset=offset>>>0;byteLength=byteLength>>>0;if(!noAssert)checkOffset(offset,byteLength,this.length);var val=this[offset];var mul=1;var i=0;while(++i=mul)val-=Math.pow(2,8*byteLength);return val};Buffer.prototype.readIntBE=function readIntBE(offset,byteLength,noAssert){offset=offset>>>0;byteLength=byteLength>>>0;if(!noAssert)checkOffset(offset,byteLength,this.length);var i=byteLength;var mul=1;var val=this[offset+--i];while(i>0&&(mul*=256)){val+=this[offset+--i]*mul}mul*=128;if(val>=mul)val-=Math.pow(2,8*byteLength);return val};Buffer.prototype.readInt8=function readInt8(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,1,this.length);if(!(this[offset]&128))return this[offset];return(255-this[offset]+1)*-1};Buffer.prototype.readInt16LE=function readInt16LE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer.prototype.readInt16BE=function readInt16BE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer.prototype.readInt32LE=function readInt32LE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,4,this.length);return this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer.prototype.readInt32BE=function readInt32BE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,4,this.length);return this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer.prototype.readFloatLE=function readFloatLE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,4,this.length);return ieee754.read(this,offset,true,23,4)};Buffer.prototype.readFloatBE=function readFloatBE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,4,this.length);return ieee754.read(this,offset,false,23,4)};Buffer.prototype.readDoubleLE=function readDoubleLE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,8,this.length);return ieee754.read(this,offset,true,52,8)};Buffer.prototype.readDoubleBE=function readDoubleBE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,8,this.length);return ieee754.read(this,offset,false,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||valuebuf.length)throw new RangeError("Index out of range")}Buffer.prototype.writeUIntLE=function writeUIntLE(value,offset,byteLength,noAssert){value=+value;offset=offset>>>0;byteLength=byteLength>>>0;if(!noAssert){var maxBytes=Math.pow(2,8*byteLength)-1;checkInt(this,value,offset,byteLength,maxBytes,0)}var mul=1;var i=0;this[offset]=value&255;while(++i>>0;byteLength=byteLength>>>0;if(!noAssert){var maxBytes=Math.pow(2,8*byteLength)-1;checkInt(this,value,offset,byteLength,maxBytes,0)}var i=byteLength-1;var mul=1;this[offset+i]=value&255;while(--i>=0&&(mul*=256)){this[offset+i]=value/mul&255}return offset+byteLength};Buffer.prototype.writeUInt8=function writeUInt8(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,1,255,0);this[offset]=value&255;return offset+1};Buffer.prototype.writeUInt16LE=function writeUInt16LE(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,2,65535,0);this[offset]=value&255;this[offset+1]=value>>>8;return offset+2};Buffer.prototype.writeUInt16BE=function writeUInt16BE(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,2,65535,0);this[offset]=value>>>8;this[offset+1]=value&255;return offset+2};Buffer.prototype.writeUInt32LE=function writeUInt32LE(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,4,4294967295,0);this[offset+3]=value>>>24;this[offset+2]=value>>>16;this[offset+1]=value>>>8;this[offset]=value&255;return offset+4};Buffer.prototype.writeUInt32BE=function writeUInt32BE(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,4,4294967295,0);this[offset]=value>>>24;this[offset+1]=value>>>16;this[offset+2]=value>>>8;this[offset+3]=value&255;return offset+4};Buffer.prototype.writeIntLE=function writeIntLE(value,offset,byteLength,noAssert){value=+value;offset=offset>>>0;if(!noAssert){var limit=Math.pow(2,8*byteLength-1);checkInt(this,value,offset,byteLength,limit-1,-limit)}var i=0;var mul=1;var sub=0;this[offset]=value&255;while(++i>0)-sub&255}return offset+byteLength};Buffer.prototype.writeIntBE=function writeIntBE(value,offset,byteLength,noAssert){value=+value;offset=offset>>>0;if(!noAssert){var limit=Math.pow(2,8*byteLength-1);checkInt(this,value,offset,byteLength,limit-1,-limit)}var i=byteLength-1;var mul=1;var sub=0;this[offset+i]=value&255;while(--i>=0&&(mul*=256)){if(value<0&&sub===0&&this[offset+i+1]!==0){sub=1}this[offset+i]=(value/mul>>0)-sub&255}return offset+byteLength};Buffer.prototype.writeInt8=function writeInt8(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,1,127,-128);if(value<0)value=255+value+1;this[offset]=value&255;return offset+1};Buffer.prototype.writeInt16LE=function writeInt16LE(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,2,32767,-32768);this[offset]=value&255;this[offset+1]=value>>>8;return offset+2};Buffer.prototype.writeInt16BE=function writeInt16BE(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,2,32767,-32768);this[offset]=value>>>8;this[offset+1]=value&255;return offset+2};Buffer.prototype.writeInt32LE=function writeInt32LE(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,4,2147483647,-2147483648);this[offset]=value&255;this[offset+1]=value>>>8;this[offset+2]=value>>>16;this[offset+3]=value>>>24;return offset+4};Buffer.prototype.writeInt32BE=function writeInt32BE(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,4,2147483647,-2147483648);if(value<0)value=4294967295+value+1;this[offset]=value>>>24;this[offset+1]=value>>>16;this[offset+2]=value>>>8;this[offset+3]=value&255;return offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){value=+value;offset=offset>>>0;if(!noAssert){checkIEEE754(buf,value,offset,4,3.4028234663852886e38,-3.4028234663852886e38)}ieee754.write(buf,value,offset,littleEndian,23,4);return offset+4}Buffer.prototype.writeFloatLE=function writeFloatLE(value,offset,noAssert){return writeFloat(this,value,offset,true,noAssert)};Buffer.prototype.writeFloatBE=function writeFloatBE(value,offset,noAssert){return writeFloat(this,value,offset,false,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){value=+value;offset=offset>>>0;if(!noAssert){checkIEEE754(buf,value,offset,8,1.7976931348623157e308,-1.7976931348623157e308)}ieee754.write(buf,value,offset,littleEndian,52,8);return offset+8}Buffer.prototype.writeDoubleLE=function writeDoubleLE(value,offset,noAssert){return writeDouble(this,value,offset,true,noAssert)};Buffer.prototype.writeDoubleBE=function writeDoubleBE(value,offset,noAssert){return writeDouble(this,value,offset,false,noAssert)};Buffer.prototype.copy=function copy(target,targetStart,start,end){if(!Buffer.isBuffer(target))throw new TypeError("argument should be a Buffer");if(!start)start=0;if(!end&&end!==0)end=this.length;if(targetStart>=target.length)targetStart=target.length;if(!targetStart)targetStart=0;if(end>0&&end=this.length)throw new RangeError("Index out of range");if(end<0)throw new RangeError("sourceEnd out of bounds");if(end>this.length)end=this.length;if(target.length-targetStart=0;--i){target[i+targetStart]=this[i+start]}}else{Uint8Array.prototype.set.call(target,this.subarray(start,end),targetStart)}return len};Buffer.prototype.fill=function fill(val,start,end,encoding){if(typeof val==="string"){if(typeof start==="string"){encoding=start;start=0;end=this.length}else if(typeof end==="string"){encoding=end;end=this.length}if(encoding!==undefined&&typeof encoding!=="string"){throw new TypeError("encoding must be a string")}if(typeof encoding==="string"&&!Buffer.isEncoding(encoding)){throw new TypeError("Unknown encoding: "+encoding)}if(val.length===1){var code=val.charCodeAt(0);if(encoding==="utf8"&&code<128||encoding==="latin1"){val=code}}}else if(typeof val==="number"){val=val&255}if(start<0||this.length>>0;end=end===undefined?this.length:end>>>0;if(!val)val=0;var i;if(typeof val==="number"){for(i=start;i55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){if((units-=3)>-1)bytes.push(239,191,189);continue}else if(i+1===length){if((units-=3)>-1)bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){if((units-=3)>-1)bytes.push(239,191,189);leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else if(leadSurrogate){if((units-=3)>-1)bytes.push(239,191,189)}leadSurrogate=null;if(codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<1114112){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else{throw new Error("Invalid code point")}}return bytes}function asciiToBytes(str){var byteArray=[];for(var i=0;i>8;lo=c%256;byteArray.push(lo);byteArray.push(hi)}return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i=dst.length||i>=src.length)break;dst[i+offset]=src[i]}return i}function isInstance(obj,type){return obj instanceof type||obj!=null&&obj.constructor!=null&&obj.constructor.name!=null&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!==obj}}).call(this)}).call(this,require("buffer").Buffer)},{"base64-js":149,buffer:151,ieee754:158}],152:[function(require,module,exports){module.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],153:[function(require,module,exports){(function(process,global){(function(){"use strict";var next=global.process&&process.nextTick||global.setImmediate||function(f){setTimeout(f,0)};module.exports=function maybe(cb,promise){if(cb){promise.then(function(result){next(function(){cb(null,result)})},function(err){next(function(){cb(err)})});return undefined}else{return promise}}}).call(this)}).call(this,require("_process"),typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{_process:195}],154:[function(require,module,exports){var objectCreate=Object.create||objectCreatePolyfill;var objectKeys=Object.keys||objectKeysPolyfill;var bind=Function.prototype.bind||functionBindPolyfill;function EventEmitter(){if(!this._events||!Object.prototype.hasOwnProperty.call(this,"_events")){this._events=objectCreate(null);this._eventsCount=0}this._maxListeners=this._maxListeners||undefined}module.exports=EventEmitter;EventEmitter.EventEmitter=EventEmitter;EventEmitter.prototype._events=undefined;EventEmitter.prototype._maxListeners=undefined;var defaultMaxListeners=10;var hasDefineProperty;try{var o={};if(Object.defineProperty)Object.defineProperty(o,"x",{value:0});hasDefineProperty=o.x===0}catch(err){hasDefineProperty=false}if(hasDefineProperty){Object.defineProperty(EventEmitter,"defaultMaxListeners",{enumerable:true,get:function(){return defaultMaxListeners},set:function(arg){if(typeof arg!=="number"||arg<0||arg!==arg)throw new TypeError('"defaultMaxListeners" must be a positive number');defaultMaxListeners=arg}})}else{EventEmitter.defaultMaxListeners=defaultMaxListeners}EventEmitter.prototype.setMaxListeners=function setMaxListeners(n){if(typeof n!=="number"||n<0||isNaN(n))throw new TypeError('"n" argument must be a positive number');this._maxListeners=n;return this};function $getMaxListeners(that){if(that._maxListeners===undefined)return EventEmitter.defaultMaxListeners;return that._maxListeners}EventEmitter.prototype.getMaxListeners=function getMaxListeners(){return $getMaxListeners(this)};function emitNone(handler,isFn,self){if(isFn)handler.call(self);else{var len=handler.length;var listeners=arrayClone(handler,len);for(var i=0;i1)er=arguments[1];if(er instanceof Error){throw er}else{var err=new Error('Unhandled "error" event. ('+er+")");err.context=er;throw err}return false}handler=events[type];if(!handler)return false;var isFn=typeof handler==="function";len=arguments.length;switch(len){case 1:emitNone(handler,isFn,this);break;case 2:emitOne(handler,isFn,this,arguments[1]);break;case 3:emitTwo(handler,isFn,this,arguments[1],arguments[2]);break;case 4:emitThree(handler,isFn,this,arguments[1],arguments[2],arguments[3]);break;default:args=new Array(len-1);for(i=1;i0&&existing.length>m){existing.warned=true;var w=new Error("Possible EventEmitter memory leak detected. "+existing.length+' "'+String(type)+'" listeners '+"added. Use emitter.setMaxListeners() to "+"increase limit.");w.name="MaxListenersExceededWarning";w.emitter=target;w.type=type;w.count=existing.length;if(typeof console==="object"&&console.warn){console.warn("%s: %s",w.name,w.message)}}}}return target}EventEmitter.prototype.addListener=function addListener(type,listener){return _addListener(this,type,listener,false)};EventEmitter.prototype.on=EventEmitter.prototype.addListener;EventEmitter.prototype.prependListener=function prependListener(type,listener){return _addListener(this,type,listener,true)};function onceWrapper(){if(!this.fired){this.target.removeListener(this.type,this.wrapFn);this.fired=true;switch(arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:var args=new Array(arguments.length);for(var i=0;i=0;i--){if(list[i]===listener||list[i].listener===listener){originalListener=list[i].listener;position=i;break}}if(position<0)return this;if(position===0)list.shift();else spliceOne(list,position);if(list.length===1)events[type]=list[0];if(events.removeListener)this.emit("removeListener",type,originalListener||listener)}return this};EventEmitter.prototype.removeAllListeners=function removeAllListeners(type){var listeners,events,i;events=this._events;if(!events)return this;if(!events.removeListener){if(arguments.length===0){this._events=objectCreate(null);this._eventsCount=0}else if(events[type]){if(--this._eventsCount===0)this._events=objectCreate(null);else delete events[type]}return this}if(arguments.length===0){var keys=objectKeys(events);var key;for(i=0;i=0;i--){this.removeListener(type,listeners[i])}}return this};function _listeners(target,type,unwrap){var events=target._events;if(!events)return[];var evlistener=events[type];if(!evlistener)return[];if(typeof evlistener==="function")return unwrap?[evlistener.listener||evlistener]:[evlistener];return unwrap?unwrapListeners(evlistener):arrayClone(evlistener,evlistener.length)}EventEmitter.prototype.listeners=function listeners(type){return _listeners(this,type,true)};EventEmitter.prototype.rawListeners=function rawListeners(type){return _listeners(this,type,false)};EventEmitter.listenerCount=function(emitter,type){if(typeof emitter.listenerCount==="function"){return emitter.listenerCount(type)}else{return listenerCount.call(emitter,type)}};EventEmitter.prototype.listenerCount=listenerCount;function listenerCount(type){var events=this._events;if(events){var evlistener=events[type];if(typeof evlistener==="function"){return 1}else if(evlistener){return evlistener.length}}return 0}EventEmitter.prototype.eventNames=function eventNames(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};function spliceOne(list,index){for(var i=index,k=i+1,n=list.length;k>1;var nBits=-7;var i=isLE?nBytes-1:0;var d=isLE?-1:1;var s=buffer[offset+i];i+=d;e=s&(1<<-nBits)-1;s>>=-nBits;nBits+=eLen;for(;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8){}m=e&(1<<-nBits)-1;e>>=-nBits;nBits+=mLen;for(;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8){}if(e===0){e=1-eBias}else if(e===eMax){return m?NaN:(s?-1:1)*Infinity}else{m=m+Math.pow(2,mLen);e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c;var eLen=nBytes*8-mLen-1;var eMax=(1<>1;var rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0;var i=isLE?0:nBytes-1;var d=isLE?1:-1;var s=value<0||value===0&&1/value<0?1:0;value=Math.abs(value);if(isNaN(value)||value===Infinity){m=isNaN(value)?1:0;e=eMax}else{e=Math.floor(Math.log(value)/Math.LN2);if(value*(c=Math.pow(2,-e))<1){e--;c*=2}if(e+eBias>=1){value+=rt/c}else{value+=rt*Math.pow(2,1-eBias)}if(value*c>=2){e++;c/=2}if(e+eBias>=eMax){m=0;e=eMax}else if(e+eBias>=1){m=(value*c-1)*Math.pow(2,mLen);e=e+eBias}else{m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen);e=0}}for(;mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8){}e=e<0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8){}buffer[offset+i-d]|=s*128}},{}],159:[function(require,module,exports){if(typeof Object.create==="function"){module.exports=function inherits(ctor,superCtor){if(superCtor){ctor.super_=superCtor;ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:false,writable:true,configurable:true}})}}}else{module.exports=function inherits(ctor,superCtor){if(superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype;ctor.prototype=new TempCtor;ctor.prototype.constructor=ctor}}}},{}],160:[function(require,module,exports){module.exports=function(obj){return obj!=null&&(isBuffer(obj)||isSlowBuffer(obj)||!!obj._isBuffer)};function isBuffer(obj){return!!obj.constructor&&typeof obj.constructor.isBuffer==="function"&&obj.constructor.isBuffer(obj)}function isSlowBuffer(obj){return typeof obj.readFloatLE==="function"&&typeof obj.slice==="function"&&isBuffer(obj.slice(0,0))}},{}],161:[function(require,module,exports){"use strict";var yaml=require("./lib/js-yaml.js");module.exports=yaml},{"./lib/js-yaml.js":162}],162:[function(require,module,exports){"use strict";var loader=require("./js-yaml/loader");var dumper=require("./js-yaml/dumper");function deprecated(name){return function(){throw new Error("Function "+name+" is deprecated and cannot be used.")}}module.exports.Type=require("./js-yaml/type");module.exports.Schema=require("./js-yaml/schema");module.exports.FAILSAFE_SCHEMA=require("./js-yaml/schema/failsafe");module.exports.JSON_SCHEMA=require("./js-yaml/schema/json");module.exports.CORE_SCHEMA=require("./js-yaml/schema/core");module.exports.DEFAULT_SAFE_SCHEMA=require("./js-yaml/schema/default_safe");module.exports.DEFAULT_FULL_SCHEMA=require("./js-yaml/schema/default_full");module.exports.load=loader.load;module.exports.loadAll=loader.loadAll;module.exports.safeLoad=loader.safeLoad;module.exports.safeLoadAll=loader.safeLoadAll;module.exports.dump=dumper.dump;module.exports.safeDump=dumper.safeDump;module.exports.YAMLException=require("./js-yaml/exception");module.exports.MINIMAL_SCHEMA=require("./js-yaml/schema/failsafe");module.exports.SAFE_SCHEMA=require("./js-yaml/schema/default_safe");module.exports.DEFAULT_SCHEMA=require("./js-yaml/schema/default_full");module.exports.scan=deprecated("scan");module.exports.parse=deprecated("parse");module.exports.compose=deprecated("compose");module.exports.addConstructor=deprecated("addConstructor")},{"./js-yaml/dumper":164,"./js-yaml/exception":165,"./js-yaml/loader":166,"./js-yaml/schema":168,"./js-yaml/schema/core":169,"./js-yaml/schema/default_full":170,"./js-yaml/schema/default_safe":171,"./js-yaml/schema/failsafe":172,"./js-yaml/schema/json":173,"./js-yaml/type":174}],163:[function(require,module,exports){arguments[4][64][0].apply(exports,arguments)},{dup:64}],164:[function(require,module,exports){"use strict";var common=require("./common");var YAMLException=require("./exception");var DEFAULT_FULL_SCHEMA=require("./schema/default_full");var DEFAULT_SAFE_SCHEMA=require("./schema/default_safe");var _toString=Object.prototype.toString;var _hasOwnProperty=Object.prototype.hasOwnProperty;var CHAR_TAB=9;var CHAR_LINE_FEED=10;var CHAR_CARRIAGE_RETURN=13;var CHAR_SPACE=32;var CHAR_EXCLAMATION=33;var CHAR_DOUBLE_QUOTE=34;var CHAR_SHARP=35;var CHAR_PERCENT=37;var CHAR_AMPERSAND=38;var CHAR_SINGLE_QUOTE=39;var CHAR_ASTERISK=42;var CHAR_COMMA=44;var CHAR_MINUS=45;var CHAR_COLON=58;var CHAR_EQUALS=61;var CHAR_GREATER_THAN=62;var CHAR_QUESTION=63;var CHAR_COMMERCIAL_AT=64;var CHAR_LEFT_SQUARE_BRACKET=91;var CHAR_RIGHT_SQUARE_BRACKET=93;var CHAR_GRAVE_ACCENT=96;var CHAR_LEFT_CURLY_BRACKET=123;var CHAR_VERTICAL_LINE=124;var CHAR_RIGHT_CURLY_BRACKET=125;var ESCAPE_SEQUENCES={};ESCAPE_SEQUENCES[0]="\\0";ESCAPE_SEQUENCES[7]="\\a";ESCAPE_SEQUENCES[8]="\\b";ESCAPE_SEQUENCES[9]="\\t";ESCAPE_SEQUENCES[10]="\\n";ESCAPE_SEQUENCES[11]="\\v";ESCAPE_SEQUENCES[12]="\\f";ESCAPE_SEQUENCES[13]="\\r";ESCAPE_SEQUENCES[27]="\\e";ESCAPE_SEQUENCES[34]='\\"';ESCAPE_SEQUENCES[92]="\\\\";ESCAPE_SEQUENCES[133]="\\N";ESCAPE_SEQUENCES[160]="\\_";ESCAPE_SEQUENCES[8232]="\\L";ESCAPE_SEQUENCES[8233]="\\P";var DEPRECATED_BOOLEANS_SYNTAX=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function compileStyleMap(schema,map){var result,keys,index,length,tag,style,type;if(map===null)return{};result={};keys=Object.keys(map);for(index=0,length=keys.length;index0?string.charCodeAt(i-1):null;plain=plain&&isPlainSafe(char,prev_char)}}else{for(i=0;ilineWidth&&string[previousLineBreak+1]!==" ";previousLineBreak=i}}else if(!isPrintable(char)){return STYLE_DOUBLE}prev_char=i>0?string.charCodeAt(i-1):null;plain=plain&&isPlainSafe(char,prev_char)}hasFoldableLine=hasFoldableLine||shouldTrackWidth&&(i-previousLineBreak-1>lineWidth&&string[previousLineBreak+1]!==" ")}if(!hasLineBreak&&!hasFoldableLine){return plain&&!testAmbiguousType(string)?STYLE_PLAIN:STYLE_SINGLE}if(indentPerLevel>9&&needIndentIndicator(string)){return STYLE_DOUBLE}return hasFoldableLine?STYLE_FOLDED:STYLE_LITERAL}function writeScalar(state,string,level,iskey){state.dump=function(){if(string.length===0){return"''"}if(!state.noCompatMode&&DEPRECATED_BOOLEANS_SYNTAX.indexOf(string)!==-1){return"'"+string+"'"}var indent=state.indent*Math.max(1,level);var lineWidth=state.lineWidth===-1?-1:Math.max(Math.min(state.lineWidth,40),state.lineWidth-indent);var singleLineOnly=iskey||state.flowLevel>-1&&level>=state.flowLevel;function testAmbiguity(string){return testImplicitResolving(state,string)}switch(chooseScalarStyle(string,singleLineOnly,state.indent,lineWidth,testAmbiguity)){case STYLE_PLAIN:return string;case STYLE_SINGLE:return"'"+string.replace(/'/g,"''")+"'";case STYLE_LITERAL:return"|"+blockHeader(string,state.indent)+dropEndingNewline(indentString(string,indent));case STYLE_FOLDED:return">"+blockHeader(string,state.indent)+dropEndingNewline(indentString(foldString(string,lineWidth),indent));case STYLE_DOUBLE:return'"'+escapeString(string,lineWidth)+'"';default:throw new YAMLException("impossible error: invalid scalar style")}}()}function blockHeader(string,indentPerLevel){var indentIndicator=needIndentIndicator(string)?String(indentPerLevel):"";var clip=string[string.length-1]==="\n";var keep=clip&&(string[string.length-2]==="\n"||string==="\n");var chomp=keep?"+":clip?"":"-";return indentIndicator+chomp+"\n"}function dropEndingNewline(string){return string[string.length-1]==="\n"?string.slice(0,-1):string}function foldString(string,width){var lineRe=/(\n+)([^\n]*)/g;var result=function(){var nextLF=string.indexOf("\n");nextLF=nextLF!==-1?nextLF:string.length;lineRe.lastIndex=nextLF;return foldLine(string.slice(0,nextLF),width)}();var prevMoreIndented=string[0]==="\n"||string[0]===" ";var moreIndented;var match;while(match=lineRe.exec(string)){var prefix=match[1],line=match[2];moreIndented=line[0]===" ";result+=prefix+(!prevMoreIndented&&!moreIndented&&line!==""?"\n":"")+foldLine(line,width);prevMoreIndented=moreIndented}return result}function foldLine(line,width){if(line===""||line[0]===" ")return line;var breakRe=/ [^ ]/g;var match;var start=0,end,curr=0,next=0;var result="";while(match=breakRe.exec(line)){next=match.index;if(next-start>width){end=curr>start?curr:next;result+="\n"+line.slice(start,end);start=end+1}curr=next}result+="\n";if(line.length-start>width&&curr>start){result+=line.slice(start,curr)+"\n"+line.slice(curr+1)}else{result+=line.slice(start)}return result.slice(1)}function escapeString(string){var result="";var char,nextChar;var escapeSeq;for(var i=0;i=55296&&char<=56319){nextChar=string.charCodeAt(i+1);if(nextChar>=56320&&nextChar<=57343){result+=encodeHex((char-55296)*1024+nextChar-56320+65536);i++;continue}}escapeSeq=ESCAPE_SEQUENCES[char];result+=!escapeSeq&&isPrintable(char)?string[i]:escapeSeq||encodeHex(char)}return result}function writeFlowSequence(state,level,object){var _result="",_tag=state.tag,index,length;for(index=0,length=object.length;index1024)pairBuffer+="? ";pairBuffer+=state.dump+(state.condenseFlow?'"':"")+":"+(state.condenseFlow?"":" ");if(!writeNode(state,level,objectValue,false,false)){continue}pairBuffer+=state.dump;_result+=pairBuffer}state.tag=_tag;state.dump="{"+_result+"}"}function writeBlockMapping(state,level,object,compact){var _result="",_tag=state.tag,objectKeyList=Object.keys(object),index,length,objectKey,objectValue,explicitPair,pairBuffer;if(state.sortKeys===true){objectKeyList.sort()}else if(typeof state.sortKeys==="function"){objectKeyList.sort(state.sortKeys)}else if(state.sortKeys){throw new YAMLException("sortKeys must be a boolean or a function")}for(index=0,length=objectKeyList.length;index1024;if(explicitPair){if(state.dump&&CHAR_LINE_FEED===state.dump.charCodeAt(0)){pairBuffer+="?"}else{pairBuffer+="? "}}pairBuffer+=state.dump;if(explicitPair){pairBuffer+=generateNextLine(state,level)}if(!writeNode(state,level+1,objectValue,true,explicitPair)){continue}if(state.dump&&CHAR_LINE_FEED===state.dump.charCodeAt(0)){pairBuffer+=":"}else{pairBuffer+=": "}pairBuffer+=state.dump;_result+=pairBuffer}state.tag=_tag;state.dump=_result||"{}"}function detectType(state,object,explicit){var _result,typeList,index,length,type,style;typeList=explicit?state.explicitTypes:state.implicitTypes;for(index=0,length=typeList.length;index tag resolver accepts not "'+style+'" style')}state.dump=_result}return true}}return false}function writeNode(state,level,object,block,compact,iskey){state.tag=null;state.dump=object;if(!detectType(state,object,false)){detectType(state,object,true)}var type=_toString.call(state.dump);if(block){block=state.flowLevel<0||state.flowLevel>level}var objectOrArray=type==="[object Object]"||type==="[object Array]",duplicateIndex,duplicate;if(objectOrArray){duplicateIndex=state.duplicates.indexOf(object);duplicate=duplicateIndex!==-1}if(state.tag!==null&&state.tag!=="?"||duplicate||state.indent!==2&&level>0){compact=false}if(duplicate&&state.usedDuplicates[duplicateIndex]){state.dump="*ref_"+duplicateIndex}else{if(objectOrArray&&duplicate&&!state.usedDuplicates[duplicateIndex]){state.usedDuplicates[duplicateIndex]=true}if(type==="[object Object]"){if(block&&Object.keys(state.dump).length!==0){writeBlockMapping(state,level,state.dump,compact);if(duplicate){state.dump="&ref_"+duplicateIndex+state.dump}}else{writeFlowMapping(state,level,state.dump);if(duplicate){state.dump="&ref_"+duplicateIndex+" "+state.dump}}}else if(type==="[object Array]"){var arrayLevel=state.noArrayIndent&&level>0?level-1:level;if(block&&state.dump.length!==0){writeBlockSequence(state,arrayLevel,state.dump,compact);if(duplicate){state.dump="&ref_"+duplicateIndex+state.dump}}else{writeFlowSequence(state,arrayLevel,state.dump);if(duplicate){state.dump="&ref_"+duplicateIndex+" "+state.dump}}}else if(type==="[object String]"){if(state.tag!=="?"){writeScalar(state,state.dump,level,iskey)}}else{if(state.skipInvalid)return false;throw new YAMLException("unacceptable kind of an object to dump "+type)}if(state.tag!==null&&state.tag!=="?"){state.dump="!<"+state.tag+"> "+state.dump}}return true}function getDuplicateReferences(object,state){var objects=[],duplicatesIndexes=[],index,length;inspectNode(object,objects,duplicatesIndexes);for(index=0,length=duplicatesIndexes.length;index>10)+55296,(c-65536&1023)+56320)}var simpleEscapeCheck=new Array(256);var simpleEscapeMap=new Array(256);for(var i=0;i<256;i++){simpleEscapeCheck[i]=simpleEscapeSequence(i)?1:0;simpleEscapeMap[i]=simpleEscapeSequence(i)}function State(input,options){this.input=input;this.filename=options["filename"]||null;this.schema=options["schema"]||DEFAULT_FULL_SCHEMA;this.onWarning=options["onWarning"]||null;this.legacy=options["legacy"]||false;this.json=options["json"]||false;this.listener=options["listener"]||null;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=input.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.documents=[]}function generateError(state,message){return new YAMLException(message,new Mark(state.filename,state.input,state.position,state.line,state.position-state.lineStart))}function throwError(state,message){throw generateError(state,message)}function throwWarning(state,message){if(state.onWarning){state.onWarning.call(null,generateError(state,message))}}var directiveHandlers={YAML:function handleYamlDirective(state,name,args){var match,major,minor;if(state.version!==null){throwError(state,"duplication of %YAML directive")}if(args.length!==1){throwError(state,"YAML directive accepts exactly one argument")}match=/^([0-9]+)\.([0-9]+)$/.exec(args[0]);if(match===null){throwError(state,"ill-formed argument of the YAML directive")}major=parseInt(match[1],10);minor=parseInt(match[2],10);if(major!==1){throwError(state,"unacceptable YAML version of the document")}state.version=args[0];state.checkLineBreaks=minor<2;if(minor!==1&&minor!==2){throwWarning(state,"unsupported YAML version of the document")}},TAG:function handleTagDirective(state,name,args){var handle,prefix;if(args.length!==2){throwError(state,"TAG directive accepts exactly two arguments")}handle=args[0];prefix=args[1];if(!PATTERN_TAG_HANDLE.test(handle)){throwError(state,"ill-formed tag handle (first argument) of the TAG directive")}if(_hasOwnProperty.call(state.tagMap,handle)){throwError(state,'there is a previously declared suffix for "'+handle+'" tag handle')}if(!PATTERN_TAG_URI.test(prefix)){throwError(state,"ill-formed tag prefix (second argument) of the TAG directive")}state.tagMap[handle]=prefix}};function captureSegment(state,start,end,checkJson){var _position,_length,_character,_result;if(start1){state.result+=common.repeat("\n",count-1)}}function readPlainScalar(state,nodeIndent,withinFlowCollection){var preceding,following,captureStart,captureEnd,hasPendingContent,_line,_lineStart,_lineIndent,_kind=state.kind,_result=state.result,ch;ch=state.input.charCodeAt(state.position);if(is_WS_OR_EOL(ch)||is_FLOW_INDICATOR(ch)||ch===35||ch===38||ch===42||ch===33||ch===124||ch===62||ch===39||ch===34||ch===37||ch===64||ch===96){return false}if(ch===63||ch===45){following=state.input.charCodeAt(state.position+1);if(is_WS_OR_EOL(following)||withinFlowCollection&&is_FLOW_INDICATOR(following)){return false}}state.kind="scalar";state.result="";captureStart=captureEnd=state.position;hasPendingContent=false;while(ch!==0){if(ch===58){following=state.input.charCodeAt(state.position+1);if(is_WS_OR_EOL(following)||withinFlowCollection&&is_FLOW_INDICATOR(following)){break}}else if(ch===35){preceding=state.input.charCodeAt(state.position-1);if(is_WS_OR_EOL(preceding)){break}}else if(state.position===state.lineStart&&testDocumentSeparator(state)||withinFlowCollection&&is_FLOW_INDICATOR(ch)){break}else if(is_EOL(ch)){_line=state.line;_lineStart=state.lineStart;_lineIndent=state.lineIndent;skipSeparationSpace(state,false,-1);if(state.lineIndent>=nodeIndent){hasPendingContent=true;ch=state.input.charCodeAt(state.position);continue}else{state.position=captureEnd;state.line=_line;state.lineStart=_lineStart;state.lineIndent=_lineIndent;break}}if(hasPendingContent){captureSegment(state,captureStart,captureEnd,false);writeFoldedLines(state,state.line-_line);captureStart=captureEnd=state.position;hasPendingContent=false}if(!is_WHITE_SPACE(ch)){captureEnd=state.position+1}ch=state.input.charCodeAt(++state.position)}captureSegment(state,captureStart,captureEnd,false);if(state.result){return true}state.kind=_kind;state.result=_result;return false}function readSingleQuotedScalar(state,nodeIndent){var ch,captureStart,captureEnd;ch=state.input.charCodeAt(state.position);if(ch!==39){return false}state.kind="scalar";state.result="";state.position++;captureStart=captureEnd=state.position;while((ch=state.input.charCodeAt(state.position))!==0){if(ch===39){captureSegment(state,captureStart,state.position,true);ch=state.input.charCodeAt(++state.position);if(ch===39){captureStart=state.position;state.position++;captureEnd=state.position}else{return true}}else if(is_EOL(ch)){captureSegment(state,captureStart,captureEnd,true);writeFoldedLines(state,skipSeparationSpace(state,false,nodeIndent));captureStart=captureEnd=state.position}else if(state.position===state.lineStart&&testDocumentSeparator(state)){throwError(state,"unexpected end of the document within a single quoted scalar")}else{state.position++;captureEnd=state.position}}throwError(state,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(state,nodeIndent){var captureStart,captureEnd,hexLength,hexResult,tmp,ch;ch=state.input.charCodeAt(state.position);if(ch!==34){return false}state.kind="scalar";state.result="";state.position++;captureStart=captureEnd=state.position;while((ch=state.input.charCodeAt(state.position))!==0){if(ch===34){captureSegment(state,captureStart,state.position,true);state.position++;return true}else if(ch===92){captureSegment(state,captureStart,state.position,true);ch=state.input.charCodeAt(++state.position);if(is_EOL(ch)){skipSeparationSpace(state,false,nodeIndent)}else if(ch<256&&simpleEscapeCheck[ch]){state.result+=simpleEscapeMap[ch];state.position++}else if((tmp=escapedHexLen(ch))>0){hexLength=tmp;hexResult=0;for(;hexLength>0;hexLength--){ch=state.input.charCodeAt(++state.position);if((tmp=fromHexCode(ch))>=0){hexResult=(hexResult<<4)+tmp}else{throwError(state,"expected hexadecimal character")}}state.result+=charFromCodepoint(hexResult);state.position++}else{throwError(state,"unknown escape sequence")}captureStart=captureEnd=state.position}else if(is_EOL(ch)){captureSegment(state,captureStart,captureEnd,true);writeFoldedLines(state,skipSeparationSpace(state,false,nodeIndent));captureStart=captureEnd=state.position}else if(state.position===state.lineStart&&testDocumentSeparator(state)){throwError(state,"unexpected end of the document within a double quoted scalar")}else{state.position++;captureEnd=state.position}}throwError(state,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(state,nodeIndent){var readNext=true,_line,_tag=state.tag,_result,_anchor=state.anchor,following,terminator,isPair,isExplicitPair,isMapping,overridableKeys={},keyNode,keyTag,valueNode,ch;ch=state.input.charCodeAt(state.position);if(ch===91){terminator=93;isMapping=false;_result=[]}else if(ch===123){terminator=125;isMapping=true;_result={}}else{return false}if(state.anchor!==null){state.anchorMap[state.anchor]=_result}ch=state.input.charCodeAt(++state.position);while(ch!==0){skipSeparationSpace(state,true,nodeIndent);ch=state.input.charCodeAt(state.position);if(ch===terminator){state.position++;state.tag=_tag;state.anchor=_anchor;state.kind=isMapping?"mapping":"sequence";state.result=_result;return true}else if(!readNext){throwError(state,"missed comma between flow collection entries")}keyTag=keyNode=valueNode=null;isPair=isExplicitPair=false;if(ch===63){following=state.input.charCodeAt(state.position+1);if(is_WS_OR_EOL(following)){isPair=isExplicitPair=true;state.position++;skipSeparationSpace(state,true,nodeIndent)}}_line=state.line;composeNode(state,nodeIndent,CONTEXT_FLOW_IN,false,true);keyTag=state.tag;keyNode=state.result;skipSeparationSpace(state,true,nodeIndent);ch=state.input.charCodeAt(state.position);if((isExplicitPair||state.line===_line)&&ch===58){isPair=true;ch=state.input.charCodeAt(++state.position);skipSeparationSpace(state,true,nodeIndent);composeNode(state,nodeIndent,CONTEXT_FLOW_IN,false,true);valueNode=state.result}if(isMapping){storeMappingPair(state,_result,overridableKeys,keyTag,keyNode,valueNode)}else if(isPair){_result.push(storeMappingPair(state,null,overridableKeys,keyTag,keyNode,valueNode))}else{_result.push(keyNode)}skipSeparationSpace(state,true,nodeIndent);ch=state.input.charCodeAt(state.position);if(ch===44){readNext=true;ch=state.input.charCodeAt(++state.position)}else{readNext=false}}throwError(state,"unexpected end of the stream within a flow collection")}function readBlockScalar(state,nodeIndent){var captureStart,folding,chomping=CHOMPING_CLIP,didReadContent=false,detectedIndent=false,textIndent=nodeIndent,emptyLines=0,atMoreIndented=false,tmp,ch;ch=state.input.charCodeAt(state.position);if(ch===124){folding=false}else if(ch===62){folding=true}else{return false}state.kind="scalar";state.result="";while(ch!==0){ch=state.input.charCodeAt(++state.position);if(ch===43||ch===45){if(CHOMPING_CLIP===chomping){chomping=ch===43?CHOMPING_KEEP:CHOMPING_STRIP}else{throwError(state,"repeat of a chomping mode identifier")}}else if((tmp=fromDecimalCode(ch))>=0){if(tmp===0){throwError(state,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!detectedIndent){textIndent=nodeIndent+tmp-1;detectedIndent=true}else{throwError(state,"repeat of an indentation width identifier")}}else{break}}if(is_WHITE_SPACE(ch)){do{ch=state.input.charCodeAt(++state.position)}while(is_WHITE_SPACE(ch));if(ch===35){do{ch=state.input.charCodeAt(++state.position)}while(!is_EOL(ch)&&ch!==0)}}while(ch!==0){readLineBreak(state);state.lineIndent=0;ch=state.input.charCodeAt(state.position);while((!detectedIndent||state.lineIndenttextIndent){textIndent=state.lineIndent}if(is_EOL(ch)){emptyLines++;continue}if(state.lineIndentnodeIndent)&&ch!==0){throwError(state,"bad indentation of a sequence entry")}else if(state.lineIndentnodeIndent){if(composeNode(state,nodeIndent,CONTEXT_BLOCK_OUT,true,allowCompact)){if(atExplicitKey){keyNode=state.result}else{valueNode=state.result}}if(!atExplicitKey){storeMappingPair(state,_result,overridableKeys,keyTag,keyNode,valueNode,_line,_pos);keyTag=keyNode=valueNode=null}skipSeparationSpace(state,true,-1);ch=state.input.charCodeAt(state.position)}if(state.lineIndent>nodeIndent&&ch!==0){throwError(state,"bad indentation of a mapping entry")}else if(state.lineIndentparentIndent){indentStatus=1}else if(state.lineIndent===parentIndent){indentStatus=0}else if(state.lineIndentparentIndent){indentStatus=1}else if(state.lineIndent===parentIndent){indentStatus=0}else if(state.lineIndent tag; it should be "scalar", not "'+state.kind+'"')}for(typeIndex=0,typeQuantity=state.implicitTypes.length;typeIndex tag; it should be "'+type.kind+'", not "'+state.kind+'"')}if(!type.resolve(state.result)){throwError(state,"cannot resolve a node with !<"+state.tag+"> explicit tag")}else{state.result=type.construct(state.result);if(state.anchor!==null){state.anchorMap[state.anchor]=state.result}}}else{throwError(state,"unknown tag !<"+state.tag+">")}}if(state.listener!==null){state.listener("close",state)}return state.tag!==null||state.anchor!==null||hasContent}function readDocument(state){var documentStart=state.position,_position,directiveName,directiveArgs,hasDirectives=false,ch;state.version=null;state.checkLineBreaks=state.legacy;state.tagMap={};state.anchorMap={};while((ch=state.input.charCodeAt(state.position))!==0){skipSeparationSpace(state,true,-1);ch=state.input.charCodeAt(state.position);if(state.lineIndent>0||ch!==37){break}hasDirectives=true;ch=state.input.charCodeAt(++state.position);_position=state.position;while(ch!==0&&!is_WS_OR_EOL(ch)){ch=state.input.charCodeAt(++state.position)}directiveName=state.input.slice(_position,state.position);directiveArgs=[];if(directiveName.length<1){throwError(state,"directive name must not be less than one character in length")}while(ch!==0){while(is_WHITE_SPACE(ch)){ch=state.input.charCodeAt(++state.position)}if(ch===35){do{ch=state.input.charCodeAt(++state.position)}while(ch!==0&&!is_EOL(ch));break}if(is_EOL(ch))break;_position=state.position;while(ch!==0&&!is_WS_OR_EOL(ch)){ch=state.input.charCodeAt(++state.position)}directiveArgs.push(state.input.slice(_position,state.position))}if(ch!==0)readLineBreak(state);if(_hasOwnProperty.call(directiveHandlers,directiveName)){directiveHandlers[directiveName](state,directiveName,directiveArgs)}else{throwWarning(state,'unknown document directive "'+directiveName+'"')}}skipSeparationSpace(state,true,-1);if(state.lineIndent===0&&state.input.charCodeAt(state.position)===45&&state.input.charCodeAt(state.position+1)===45&&state.input.charCodeAt(state.position+2)===45){state.position+=3;skipSeparationSpace(state,true,-1)}else if(hasDirectives){throwError(state,"directives end mark is expected")}composeNode(state,state.lineIndent-1,CONTEXT_BLOCK_OUT,false,true);skipSeparationSpace(state,true,-1);if(state.checkLineBreaks&&PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart,state.position))){throwWarning(state,"non-ASCII line breaks are interpreted as content")}state.documents.push(state.result);if(state.position===state.lineStart&&testDocumentSeparator(state)){if(state.input.charCodeAt(state.position)===46){state.position+=3;skipSeparationSpace(state,true,-1)}return}if(state.position0&&"\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(start-1))===-1){start-=1;if(this.position-start>maxLength/2-1){head=" ... ";start+=5;break}}tail="";end=this.position;while(endmaxLength/2-1){tail=" ... ";end-=5;break}}snippet=this.buffer.slice(start,end);return common.repeat(" ",indent)+head+snippet+tail+"\n"+common.repeat(" ",indent+this.position-start+head.length)+"^"};Mark.prototype.toString=function toString(compact){var snippet,where="";if(this.name){where+='in "'+this.name+'" '}where+="at line "+(this.line+1)+", column "+(this.column+1);if(!compact){snippet=this.getSnippet();if(snippet){where+=":\n"+snippet}}return where};module.exports=Mark},{"./common":163}],168:[function(require,module,exports){"use strict";var common=require("./common");var YAMLException=require("./exception");var Type=require("./type");function compileList(schema,name,result){var exclude=[];schema.include.forEach(function(includedSchema){result=compileList(includedSchema,name,result)});schema[name].forEach(function(currentType){result.forEach(function(previousType,previousIndex){if(previousType.tag===currentType.tag&&previousType.kind===currentType.kind){exclude.push(previousIndex)}});result.push(currentType)});return result.filter(function(type,index){return exclude.indexOf(index)===-1})}function compileMap(){var result={scalar:{},sequence:{},mapping:{},fallback:{}},index,length;function collectType(type){result[type.kind][type.tag]=result["fallback"][type.tag]=type}for(index=0,length=arguments.length;index64)continue;if(code<0)return false;bitlen+=6}return bitlen%8===0}function constructYamlBinary(data){var idx,tailbits,input=data.replace(/[\r\n=]/g,""),max=input.length,map=BASE64_MAP,bits=0,result=[];for(idx=0;idx>16&255);result.push(bits>>8&255);result.push(bits&255)}bits=bits<<6|map.indexOf(input.charAt(idx))}tailbits=max%4*6;if(tailbits===0){result.push(bits>>16&255);result.push(bits>>8&255);result.push(bits&255)}else if(tailbits===18){result.push(bits>>10&255);result.push(bits>>2&255)}else if(tailbits===12){result.push(bits>>4&255)}if(NodeBuffer){return NodeBuffer.from?NodeBuffer.from(result):new NodeBuffer(result)}return result}function representYamlBinary(object){var result="",bits=0,idx,tail,max=object.length,map=BASE64_MAP;for(idx=0;idx>18&63];result+=map[bits>>12&63];result+=map[bits>>6&63];result+=map[bits&63]}bits=(bits<<8)+object[idx]}tail=max%3;if(tail===0){result+=map[bits>>18&63];result+=map[bits>>12&63];result+=map[bits>>6&63];result+=map[bits&63]}else if(tail===2){result+=map[bits>>10&63];result+=map[bits>>4&63];result+=map[bits<<2&63];result+=map[64]}else if(tail===1){result+=map[bits>>2&63];result+=map[bits<<4&63];result+=map[64];result+=map[64]}return result}function isBinary(object){return NodeBuffer&&NodeBuffer.isBuffer(object)}module.exports=new Type("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary})},{"../type":174}],176:[function(require,module,exports){arguments[4][76][0].apply(exports,arguments)},{"../type":174,dup:76}],177:[function(require,module,exports){"use strict";var common=require("../common");var Type=require("../type");var YAML_FLOAT_PATTERN=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?"+"|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?"+"|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(data){if(data===null)return false;if(!YAML_FLOAT_PATTERN.test(data)||data[data.length-1]==="_"){return false}return true}function constructYamlFloat(data){var value,sign,base,digits;value=data.replace(/_/g,"").toLowerCase();sign=value[0]==="-"?-1:1;digits=[];if("+-".indexOf(value[0])>=0){value=value.slice(1)}if(value===".inf"){return sign===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(value===".nan"){return NaN}else if(value.indexOf(":")>=0){value.split(":").forEach(function(v){digits.unshift(parseFloat(v,10))});value=0;base=1;digits.forEach(function(d){value+=d*base;base*=60});return sign*value}return sign*parseFloat(value,10)}var SCIENTIFIC_WITHOUT_DOT=/^[-+]?[0-9]+e/;function representYamlFloat(object,style){var res;if(isNaN(object)){switch(style){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===object){switch(style){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===object){switch(style){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(common.isNegativeZero(object)){return"-0.0"}res=object.toString(10);return SCIENTIFIC_WITHOUT_DOT.test(res)?res.replace("e",".e"):res}function isFloat(object){return Object.prototype.toString.call(object)==="[object Number]"&&(object%1!==0||common.isNegativeZero(object))}module.exports=new Type("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"})},{"../common":163,"../type":174}],178:[function(require,module,exports){"use strict";var common=require("../common");var Type=require("../type");function isHexCode(c){return 48<=c&&c<=57||65<=c&&c<=70||97<=c&&c<=102}function isOctCode(c){return 48<=c&&c<=55}function isDecCode(c){return 48<=c&&c<=57}function resolveYamlInteger(data){if(data===null)return false;var max=data.length,index=0,hasDigits=false,ch;if(!max)return false;ch=data[index];if(ch==="-"||ch==="+"){ch=data[++index]}if(ch==="0"){if(index+1===max)return true;ch=data[++index];if(ch==="b"){index++;for(;index=0?"0b"+obj.toString(2):"-0b"+obj.toString(2).slice(1)},octal:function(obj){return obj>=0?"0"+obj.toString(8):"-0"+obj.toString(8).slice(1)},decimal:function(obj){return obj.toString(10)},hexadecimal:function(obj){return obj>=0?"0x"+obj.toString(16).toUpperCase():"-0x"+obj.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},{"../common":163,"../type":174}],179:[function(require,module,exports){"use strict";var esprima;try{var _require=require;esprima=_require("esprima")}catch(_){if(typeof window!=="undefined")esprima=window.esprima}var Type=require("../../type");function resolveJavascriptFunction(data){if(data===null)return false;try{var source="("+data+")",ast=esprima.parse(source,{range:true});if(ast.type!=="Program"||ast.body.length!==1||ast.body[0].type!=="ExpressionStatement"||ast.body[0].expression.type!=="ArrowFunctionExpression"&&ast.body[0].expression.type!=="FunctionExpression"){return false}return true}catch(err){return false}}function constructJavascriptFunction(data){var source="("+data+")",ast=esprima.parse(source,{range:true}),params=[],body;if(ast.type!=="Program"||ast.body.length!==1||ast.body[0].type!=="ExpressionStatement"||ast.body[0].expression.type!=="ArrowFunctionExpression"&&ast.body[0].expression.type!=="FunctionExpression"){throw new Error("Failed to resolve function")}ast.body[0].expression.params.forEach(function(param){params.push(param.name)});body=ast.body[0].expression.body.range;if(ast.body[0].expression.body.type==="BlockStatement"){return new Function(params,source.slice(body[0]+1,body[1]-1))}return new Function(params,"return "+source.slice(body[0],body[1]))}function representJavascriptFunction(object){return object.toString()}function isFunction(object){return Object.prototype.toString.call(object)==="[object Function]"}module.exports=new Type("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:resolveJavascriptFunction,construct:constructJavascriptFunction,predicate:isFunction,represent:representJavascriptFunction})},{"../../type":174}],180:[function(require,module,exports){"use strict";var Type=require("../../type");function resolveJavascriptRegExp(data){if(data===null)return false;if(data.length===0)return false;var regexp=data,tail=/\/([gim]*)$/.exec(data),modifiers="";if(regexp[0]==="/"){if(tail)modifiers=tail[1];if(modifiers.length>3)return false;if(regexp[regexp.length-modifiers.length-1]!=="/")return false}return true}function constructJavascriptRegExp(data){var regexp=data,tail=/\/([gim]*)$/.exec(data),modifiers="";if(regexp[0]==="/"){if(tail)modifiers=tail[1];regexp=regexp.slice(1,regexp.length-modifiers.length-1)}return new RegExp(regexp,modifiers)}function representJavascriptRegExp(object){var result="/"+object.source+"/";if(object.global)result+="g";if(object.multiline)result+="m";if(object.ignoreCase)result+="i";return result}function isRegExp(object){return Object.prototype.toString.call(object)==="[object RegExp]"}module.exports=new Type("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:resolveJavascriptRegExp,construct:constructJavascriptRegExp,predicate:isRegExp,represent:representJavascriptRegExp})},{"../../type":174}],181:[function(require,module,exports){"use strict";var Type=require("../../type");function resolveJavascriptUndefined(){return true}function constructJavascriptUndefined(){return undefined}function representJavascriptUndefined(){return""}function isUndefined(object){return typeof object==="undefined"}module.exports=new Type("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:resolveJavascriptUndefined,construct:constructJavascriptUndefined,predicate:isUndefined,represent:representJavascriptUndefined})},{"../../type":174}],182:[function(require,module,exports){arguments[4][79][0].apply(exports,arguments)},{"../type":174,dup:79}],183:[function(require,module,exports){arguments[4][80][0].apply(exports,arguments)},{"../type":174,dup:80}],184:[function(require,module,exports){"use strict";var Type=require("../type");function resolveYamlNull(data){if(data===null)return true;var max=data.length;return max===1&&data==="~"||max===4&&(data==="null"||data==="Null"||data==="NULL")}function constructYamlNull(){return null}function isNull(object){return object===null}module.exports=new Type("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull,construct:constructYamlNull,predicate:isNull,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},{"../type":174}],185:[function(require,module,exports){arguments[4][82][0].apply(exports,arguments)},{"../type":174,dup:82}],186:[function(require,module,exports){arguments[4][83][0].apply(exports,arguments)},{"../type":174,dup:83}],187:[function(require,module,exports){arguments[4][84][0].apply(exports,arguments)},{"../type":174,dup:84}],188:[function(require,module,exports){arguments[4][85][0].apply(exports,arguments)},{"../type":174,dup:85}],189:[function(require,module,exports){arguments[4][86][0].apply(exports,arguments)},{"../type":174,dup:86}],190:[function(require,module,exports){arguments[4][87][0].apply(exports,arguments)},{"../type":174,dup:87}],191:[function(require,module,exports){"use strict";var traverse=module.exports=function(schema,opts,cb){if(typeof opts=="function"){cb=opts;opts={}}cb=opts.cb||cb;var pre=typeof cb=="function"?cb:cb.pre||function(){};var post=cb.post||function(){};_traverse(opts,pre,post,schema,"",schema)};traverse.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true};traverse.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};traverse.propsKeywords={definitions:true,properties:true,patternProperties:true,dependencies:true};traverse.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(opts,pre,post,schema,jsonPtr,rootSchema,parentJsonPtr,parentKeyword,parentSchema,keyIndex){if(schema&&typeof schema=="object"&&!Array.isArray(schema)){pre(schema,jsonPtr,rootSchema,parentJsonPtr,parentKeyword,parentSchema,keyIndex);for(var key in schema){var sch=schema[key];if(Array.isArray(sch)){if(key in traverse.arrayKeywords){for(var i=0;i=1){var hi=str.charCodeAt(idx-1);var low=code;if(55296<=hi&&hi<=56319){return(hi-55296)*1024+(low-56320)+65536}return low}return code}function shouldBreak(start,mid,end){var all=[start].concat(mid).concat([end]);var previous=all[all.length-2];var next=end;var eModifierIndex=all.lastIndexOf(E_Modifier);if(eModifierIndex>1&&all.slice(1,eModifierIndex).every(function(c){return c==Extend})&&[Extend,E_Base,E_Base_GAZ].indexOf(start)==-1){return Break}var rIIndex=all.lastIndexOf(Regional_Indicator);if(rIIndex>0&&all.slice(1,rIIndex).every(function(c){return c==Regional_Indicator})&&[Prepend,Regional_Indicator].indexOf(previous)==-1){if(all.filter(function(c){return c==Regional_Indicator}).length%2==1){return BreakLastRegional}else{return BreakPenultimateRegional}}if(previous==CR&&next==LF){return NotBreak}else if(previous==Control||previous==CR||previous==LF){if(next==E_Modifier&&mid.every(function(c){return c==Extend})){return Break}else{return BreakStart}}else if(next==Control||next==CR||next==LF){return BreakStart}else if(previous==L&&(next==L||next==V||next==LV||next==LVT)){return NotBreak}else if((previous==LV||previous==V)&&(next==V||next==T)){return NotBreak}else if((previous==LVT||previous==T)&&next==T){return NotBreak}else if(next==Extend||next==ZWJ){return NotBreak}else if(next==SpacingMark){return NotBreak}else if(previous==Prepend){return NotBreak}var previousNonExtendIndex=all.indexOf(Extend)!=-1?all.lastIndexOf(Extend)-1:all.length-2;if([E_Base,E_Base_GAZ].indexOf(all[previousNonExtendIndex])!=-1&&all.slice(previousNonExtendIndex+1,-1).every(function(c){return c==Extend})&&next==E_Modifier){return NotBreak}if(previous==ZWJ&&[Glue_After_Zwj,E_Base_GAZ].indexOf(next)!=-1){return NotBreak}if(mid.indexOf(Regional_Indicator)!=-1){return Break}if(previous==Regional_Indicator&&next==Regional_Indicator){return NotBreak}return BreakStart}this.nextBreak=function(string,index){if(index===undefined){index=0}if(index<0){return 0}if(index>=string.length-1){return string.length}var prev=getGraphemeBreakProperty(codePointAt(string,index));var mid=[];for(var i=index+1;i=max){return res.substr(0,max)}while(max>res.length&&num>1){if(num&1){res+=str}num>>=1;str+=str}res+=str;res=res.substr(0,max);return res}"use strict";var padStart=function padStart(string,maxLength,fillString){if(string==null||maxLength==null){return string}var result=String(string);var targetLen=typeof maxLength==="number"?maxLength:parseInt(maxLength,10);if(isNaN(targetLen)||!isFinite(targetLen)){return result}var length=result.length;if(length>=targetLen){return result}var fill=fillString==null?"":String(fillString);if(fill===""){fill=" "}var fillLen=targetLen-length;while(fill.lengthfillLen?fill.substr(0,fillLen):fill;return truncated+result};var _extends=Object.assign||function(target){for(var i=1;i1?_len-1:0),_key=1;_key<_len;_key++){position[_key-1]=arguments[_key]}return"Unexpected token <"+token+"> at "+position.filter(Boolean).join(":")}};var tokenizeErrorTypes={unexpectedSymbol:function unexpectedSymbol(symbol){for(var _len=arguments.length,position=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){position[_key-1]=arguments[_key]}return"Unexpected symbol <"+symbol+"> at "+position.filter(Boolean).join(":")}};var tokenTypes={LEFT_BRACE:0,RIGHT_BRACE:1,LEFT_BRACKET:2,RIGHT_BRACKET:3,COLON:4,COMMA:5,STRING:6,NUMBER:7,TRUE:8,FALSE:9,NULL:10};var punctuatorTokensMap={"{":tokenTypes.LEFT_BRACE,"}":tokenTypes.RIGHT_BRACE,"[":tokenTypes.LEFT_BRACKET,"]":tokenTypes.RIGHT_BRACKET,":":tokenTypes.COLON,",":tokenTypes.COMMA};var keywordTokensMap={true:tokenTypes.TRUE,false:tokenTypes.FALSE,null:tokenTypes.NULL};var stringStates={_START_:0,START_QUOTE_OR_CHAR:1,ESCAPE:2};var escapes$1={'"':0,"\\":1,"/":2,b:3,f:4,n:5,r:6,t:7,u:8};var numberStates={_START_:0,MINUS:1,ZERO:2,DIGIT:3,POINT:4,DIGIT_FRACTION:5,EXP:6,EXP_DIGIT_OR_SIGN:7};function isDigit1to9(char){return char>="1"&&char<="9"}function isDigit(char){return char>="0"&&char<="9"}function isHex(char){return isDigit(char)||char>="a"&&char<="f"||char>="A"&&char<="F"}function isExp(char){return char==="e"||char==="E"}function parseWhitespace(input,index,line,column){var char=input.charAt(index);if(char==="\r"){index++;line++;column=1;if(input.charAt(index)==="\n"){index++}}else if(char==="\n"){index++;line++;column=1}else if(char==="\t"||char===" "){index++;column++}else{return null}return{index:index,line:line,column:column}}function parseChar(input,index,line,column){var char=input.charAt(index);if(char in punctuatorTokensMap){return{type:punctuatorTokensMap[char],line:line,column:column+1,index:index+1,value:null}}return null}function parseKeyword(input,index,line,column){for(var name in keywordTokensMap){if(keywordTokensMap.hasOwnProperty(name)&&input.substr(index,name.length)===name){return{type:keywordTokensMap[name],line:line,column:column+name.length,index:index+name.length,value:name}}}return null}function parseString$1(input,index,line,column){var startIndex=index;var state=stringStates._START_;while(index0){return{type:tokenTypes.NUMBER,line:line,column:column+passedValueIndex-startIndex,index:passedValueIndex,value:input.slice(startIndex,passedValueIndex)}}return null}var tokenize=function tokenize(input,settings){var line=1;var column=1;var index=0;var tokens=[];while(index0?tokenList[tokenList.length-1].loc.end:{line:1,column:1};error(parseErrorTypes.unexpectedEnd(),input,settings.source,loc.line,loc.column)}function parseHexEscape(hexCode){var charCode=0;for(var i=0;i<4;i++){charCode=charCode*16+parseInt(hexCode[i],16)}return String.fromCharCode(charCode)}var escapes={b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};var passEscapes=['"',"\\","/"];function parseString(string){var result="";for(var i=0;i-1}function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);if(index<0){data.push([key,value])}else{data[index][1]=value}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(entries){var index=-1,length=entries?entries.length:0;this.clear();while(++index-1&&value%1==0&&value-1&&value%1==0&&value<=MAX_SAFE_INTEGER}function isObject(value){var type=typeof value;return!!value&&(type=="object"||type=="function")}function isObjectLike(value){return!!value&&typeof value=="object"}function keys(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}function stubArray(){return[]}function stubFalse(){return false}module.exports=cloneDeep}).call(this)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],194:[function(require,module,exports){(function(process){(function(){function normalizeArray(parts,allowAboveRoot){var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up--;up){parts.unshift("..")}}return parts}exports.resolve=function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:process.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){continue}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=normalizeArray(filter(resolvedPath.split("/"),function(p){return!!p}),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."};exports.normalize=function(path){var isAbsolute=exports.isAbsolute(path),trailingSlash=substr(path,-1)==="/";path=normalizeArray(filter(path.split("/"),function(p){return!!p}),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path};exports.isAbsolute=function(path){return path.charAt(0)==="/"};exports.join=function(){var paths=Array.prototype.slice.call(arguments,0);return exports.normalize(filter(paths,function(p,index){if(typeof p!=="string"){throw new TypeError("Arguments to path.join must be strings")}return p}).join("/"))};exports.relative=function(from,to){from=exports.resolve(from).substr(1);to=exports.resolve(to).substr(1);function trim(arr){var start=0;for(;start=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i=1;--i){code=path.charCodeAt(i);if(code===47){if(!matchedSlash){end=i;break}}else{matchedSlash=false}}if(end===-1)return hasRoot?"/":".";if(hasRoot&&end===1){return"/"}return path.slice(0,end)};function basename(path){if(typeof path!=="string")path=path+"";var start=0;var end=-1;var matchedSlash=true;var i;for(i=path.length-1;i>=0;--i){if(path.charCodeAt(i)===47){if(!matchedSlash){start=i+1;break}}else if(end===-1){matchedSlash=false;end=i+1}}if(end===-1)return"";return path.slice(start,end)}exports.basename=function(path,ext){var f=basename(path);if(ext&&f.substr(-1*ext.length)===ext){f=f.substr(0,f.length-ext.length)}return f};exports.extname=function(path){if(typeof path!=="string")path=path+"";var startDot=-1;var startPart=0;var end=-1;var matchedSlash=true;var preDotState=0;for(var i=path.length-1;i>=0;--i){var code=path.charCodeAt(i);if(code===47){if(!matchedSlash){startPart=i+1;break}continue}if(end===-1){matchedSlash=false;end=i+1}if(code===46){if(startDot===-1)startDot=i;else if(preDotState!==1)preDotState=1}else if(startDot!==-1){preDotState=-1}}if(startDot===-1||end===-1||preDotState===0||preDotState===1&&startDot===end-1&&startDot===startPart+1){return""}return path.slice(startDot,end)};function filter(xs,f){if(xs.filter)return xs.filter(f);var res=[];for(var i=0;i1){for(var i=1;i= 0x80 (not a basic code point)","invalid-input":"Invalid input"},baseMinusTMin=base-tMin,floor=Math.floor,stringFromCharCode=String.fromCharCode,key;function error(type){throw new RangeError(errors[type])}function map(array,fn){var length=array.length;var result=[];while(length--){result[length]=fn(array[length])}return result}function mapDomain(string,fn){var parts=string.split("@");var result="";if(parts.length>1){result=parts[0]+"@";string=parts[1]}string=string.replace(regexSeparators,".");var labels=string.split(".");var encoded=map(labels,fn).join(".");return result+encoded}function ucs2decode(string){var output=[],counter=0,length=string.length,value,extra;while(counter=55296&&value<=56319&&counter65535){value-=65536;output+=stringFromCharCode(value>>>10&1023|55296);value=56320|value&1023}output+=stringFromCharCode(value);return output}).join("")}function basicToDigit(codePoint){if(codePoint-48<10){return codePoint-22}if(codePoint-65<26){return codePoint-65}if(codePoint-97<26){return codePoint-97}return base}function digitToBasic(digit,flag){return digit+22+75*(digit<26)-((flag!=0)<<5)}function adapt(delta,numPoints,firstTime){var k=0;delta=firstTime?floor(delta/damp):delta>>1;delta+=floor(delta/numPoints);for(;delta>baseMinusTMin*tMax>>1;k+=base){delta=floor(delta/baseMinusTMin)}return floor(k+(baseMinusTMin+1)*delta/(delta+skew))}function decode(input){var output=[],inputLength=input.length,out,i=0,n=initialN,bias=initialBias,basic,j,index,oldi,w,k,digit,t,baseMinusT;basic=input.lastIndexOf(delimiter);if(basic<0){basic=0}for(j=0;j=128){error("not-basic")}output.push(input.charCodeAt(j))}for(index=basic>0?basic+1:0;index=inputLength){error("invalid-input")}digit=basicToDigit(input.charCodeAt(index++));if(digit>=base||digit>floor((maxInt-i)/w)){error("overflow")}i+=digit*w;t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias;if(digitfloor(maxInt/baseMinusT)){error("overflow")}w*=baseMinusT}out=output.length+1;bias=adapt(i-oldi,out,oldi==0);if(floor(i/out)>maxInt-n){error("overflow")}n+=floor(i/out);i%=out;output.splice(i++,0,n)}return ucs2encode(output)}function encode(input){var n,delta,handledCPCount,basicLength,bias,j,m,q,k,t,currentValue,output=[],inputLength,handledCPCountPlusOne,baseMinusT,qMinusT;input=ucs2decode(input);inputLength=input.length;n=initialN;delta=0;bias=initialBias;for(j=0;j=n&¤tValuefloor((maxInt-delta)/handledCPCountPlusOne)){error("overflow")}delta+=(m-n)*handledCPCountPlusOne;n=m;for(j=0;jmaxInt){error("overflow")}if(currentValue==n){for(q=delta,k=base;;k+=base){t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias;if(q0&&len>maxKeys){len=maxKeys}for(var i=0;i=0){kstr=x.substr(0,idx);vstr=x.substr(idx+1)}else{kstr=x;vstr=""}k=decodeURIComponent(kstr);v=decodeURIComponent(vstr);if(!hasOwnProperty(obj,k)){obj[k]=v}else if(isArray(obj[k])){obj[k].push(v)}else{obj[k]=[obj[k],v]}}return obj};var isArray=Array.isArray||function(xs){return Object.prototype.toString.call(xs)==="[object Array]"}},{}],198:[function(require,module,exports){"use strict";var stringifyPrimitive=function(v){switch(typeof v){case"string":return v;case"boolean":return v?"true":"false";case"number":return isFinite(v)?v:"";default:return""}};module.exports=function(obj,sep,eq,name){sep=sep||"&";eq=eq||"=";if(obj===null){obj=undefined}if(typeof obj==="object"){return map(objectKeys(obj),function(k){var ks=encodeURIComponent(stringifyPrimitive(k))+eq;if(isArray(obj[k])){return map(obj[k],function(v){return ks+encodeURIComponent(stringifyPrimitive(v))}).join(sep)}else{return ks+encodeURIComponent(stringifyPrimitive(obj[k]))}}).join(sep)}if(!name)return"";return encodeURIComponent(stringifyPrimitive(name))+eq+encodeURIComponent(stringifyPrimitive(obj))};var isArray=Array.isArray||function(xs){return Object.prototype.toString.call(xs)==="[object Array]"};function map(xs,f){if(xs.map)return xs.map(f);var res=[];for(var i=0;iself._pos){var newData=response.substr(self._pos);if(self._charset==="x-user-defined"){var buffer=Buffer.alloc(newData.length);for(var i=0;iself._pos){self.push(Buffer.from(new Uint8Array(reader.result.slice(self._pos))));self._pos=reader.result.byteLength}};reader.onload=function(){resetTimers(true);self.push(null)};reader.readAsArrayBuffer(response);break}if(self._xhr.readyState===rStates.DONE&&self._mode!=="ms-stream"){resetTimers(true);self.push(null)}}}).call(this)}).call(this,require("_process"),typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{},require("buffer").Buffer)},{"./capability":202,_process:195,buffer:151,inherits:159,"readable-stream":219}],205:[function(require,module,exports){"use strict";function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass}var codes={};function createErrorType(code,message,Base){if(!Base){Base=Error}function getMessage(arg1,arg2,arg3){if(typeof message==="string"){return message}else{return message(arg1,arg2,arg3)}}var NodeError=function(_Base){_inheritsLoose(NodeError,_Base);function NodeError(arg1,arg2,arg3){return _Base.call(this,getMessage(arg1,arg2,arg3))||this}return NodeError}(Base);NodeError.prototype.name=Base.name;NodeError.prototype.code=code;codes[code]=NodeError}function oneOf(expected,thing){if(Array.isArray(expected)){var len=expected.length;expected=expected.map(function(i){return String(i)});if(len>2){return"one of ".concat(thing," ").concat(expected.slice(0,len-1).join(", "),", or ")+expected[len-1]}else if(len===2){return"one of ".concat(thing," ").concat(expected[0]," or ").concat(expected[1])}else{return"of ".concat(thing," ").concat(expected[0])}}else{return"of ".concat(thing," ").concat(String(expected))}}function startsWith(str,search,pos){return str.substr(!pos||pos<0?0:+pos,search.length)===search}function endsWith(str,search,this_len){if(this_len===undefined||this_len>str.length){this_len=str.length}return str.substring(this_len-search.length,this_len)===search}function includes(str,search,start){if(typeof start!=="number"){start=0}if(start+search.length>str.length){return false}else{return str.indexOf(search,start)!==-1}}createErrorType("ERR_INVALID_OPT_VALUE",function(name,value){return'The value "'+value+'" is invalid for option "'+name+'"'},TypeError);createErrorType("ERR_INVALID_ARG_TYPE",function(name,expected,actual){var determiner;if(typeof expected==="string"&&startsWith(expected,"not ")){determiner="must not be";expected=expected.replace(/^not /,"")}else{determiner="must be"}var msg;if(endsWith(name," argument")){msg="The ".concat(name," ").concat(determiner," ").concat(oneOf(expected,"type"))}else{var type=includes(name,".")?"property":"argument";msg='The "'.concat(name,'" ').concat(type," ").concat(determiner," ").concat(oneOf(expected,"type"))}msg+=". Received type ".concat(typeof actual);return msg},TypeError);createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");createErrorType("ERR_METHOD_NOT_IMPLEMENTED",function(name){return"The "+name+" method is not implemented"});createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close");createErrorType("ERR_STREAM_DESTROYED",function(name){return"Cannot call "+name+" after a stream was destroyed"});createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times");createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end");createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);createErrorType("ERR_UNKNOWN_ENCODING",function(arg){return"Unknown encoding: "+arg},TypeError);createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");module.exports.codes=codes},{}],206:[function(require,module,exports){(function(process){(function(){"use strict";var objectKeys=Object.keys||function(obj){var keys=[];for(var key in obj){keys.push(key)}return keys};module.exports=Duplex;var Readable=require("./_stream_readable");var Writable=require("./_stream_writable");require("inherits")(Duplex,Readable);{var keys=objectKeys(Writable.prototype);for(var v=0;v0){if(typeof chunk!=="string"&&!state.objectMode&&Object.getPrototypeOf(chunk)!==Buffer.prototype){chunk=_uint8ArrayToBuffer(chunk)}if(addToFront){if(state.endEmitted)errorOrDestroy(stream,new ERR_STREAM_UNSHIFT_AFTER_END_EVENT);else addChunk(stream,state,chunk,true)}else if(state.ended){errorOrDestroy(stream,new ERR_STREAM_PUSH_AFTER_EOF)}else if(state.destroyed){return false}else{state.reading=false;if(state.decoder&&!encoding){chunk=state.decoder.write(chunk);if(state.objectMode||chunk.length!==0)addChunk(stream,state,chunk,false);else maybeReadMore(stream,state)}else{addChunk(stream,state,chunk,false)}}}else if(!addToFront){state.reading=false;maybeReadMore(stream,state)}}return!state.ended&&(state.length=MAX_HWM){n=MAX_HWM}else{n--;n|=n>>>1;n|=n>>>2;n|=n>>>4;n|=n>>>8;n|=n>>>16;n++}return n}function howMuchToRead(n,state){if(n<=0||state.length===0&&state.ended)return 0;if(state.objectMode)return 1;if(n!==n){if(state.flowing&&state.length)return state.buffer.head.data.length;else return state.length}if(n>state.highWaterMark)state.highWaterMark=computeNewHighWaterMark(n);if(n<=state.length)return n;if(!state.ended){state.needReadable=true;return 0}return state.length}Readable.prototype.read=function(n){debug("read",n);n=parseInt(n,10);var state=this._readableState;var nOrig=n;if(n!==0)state.emittedReadable=false;if(n===0&&state.needReadable&&((state.highWaterMark!==0?state.length>=state.highWaterMark:state.length>0)||state.ended)){debug("read: emitReadable",state.length,state.ended);if(state.length===0&&state.ended)endReadable(this);else emitReadable(this);return null}n=howMuchToRead(n,state);if(n===0&&state.ended){if(state.length===0)endReadable(this);return null}var doRead=state.needReadable;debug("need readable",doRead);if(state.length===0||state.length-n0)ret=fromList(n,state);else ret=null;if(ret===null){state.needReadable=state.length<=state.highWaterMark;n=0}else{state.length-=n;state.awaitDrain=0}if(state.length===0){if(!state.ended)state.needReadable=true;if(nOrig!==n&&state.ended)endReadable(this)}if(ret!==null)this.emit("data",ret);return ret};function onEofChunk(stream,state){debug("onEofChunk");if(state.ended)return;if(state.decoder){var chunk=state.decoder.end();if(chunk&&chunk.length){state.buffer.push(chunk);state.length+=state.objectMode?1:chunk.length}}state.ended=true;if(state.sync){emitReadable(stream)}else{state.needReadable=false;if(!state.emittedReadable){state.emittedReadable=true;emitReadable_(stream)}}}function emitReadable(stream){var state=stream._readableState;debug("emitReadable",state.needReadable,state.emittedReadable);state.needReadable=false;if(!state.emittedReadable){debug("emitReadable",state.flowing);state.emittedReadable=true;process.nextTick(emitReadable_,stream)}}function emitReadable_(stream){var state=stream._readableState;debug("emitReadable_",state.destroyed,state.length,state.ended);if(!state.destroyed&&(state.length||state.ended)){stream.emit("readable");state.emittedReadable=false}state.needReadable=!state.flowing&&!state.ended&&state.length<=state.highWaterMark;flow(stream)}function maybeReadMore(stream,state){if(!state.readingMore){state.readingMore=true;process.nextTick(maybeReadMore_,stream,state)}}function maybeReadMore_(stream,state){while(!state.reading&&!state.ended&&(state.length1&&indexOf(state.pipes,dest)!==-1)&&!cleanedUp){debug("false write response, pause",state.awaitDrain);state.awaitDrain++}src.pause()}}function onerror(er){debug("onerror",er);unpipe();dest.removeListener("error",onerror);if(EElistenerCount(dest,"error")===0)errorOrDestroy(dest,er)}prependListener(dest,"error",onerror);function onclose(){dest.removeListener("finish",onfinish);unpipe()}dest.once("close",onclose);function onfinish(){debug("onfinish");dest.removeListener("close",onclose);unpipe()}dest.once("finish",onfinish);function unpipe(){debug("unpipe");src.unpipe(dest)}dest.emit("pipe",src);if(!state.flowing){debug("pipe resume");src.resume()}return dest};function pipeOnDrain(src){return function pipeOnDrainFunctionResult(){var state=src._readableState;debug("pipeOnDrain",state.awaitDrain);if(state.awaitDrain)state.awaitDrain--;if(state.awaitDrain===0&&EElistenerCount(src,"data")){state.flowing=true;flow(src)}}}Readable.prototype.unpipe=function(dest){var state=this._readableState;var unpipeInfo={hasUnpiped:false};if(state.pipesCount===0)return this;if(state.pipesCount===1){if(dest&&dest!==state.pipes)return this;if(!dest)dest=state.pipes;state.pipes=null;state.pipesCount=0;state.flowing=false;if(dest)dest.emit("unpipe",this,unpipeInfo);return this}if(!dest){var dests=state.pipes;var len=state.pipesCount;state.pipes=null;state.pipesCount=0;state.flowing=false;for(var i=0;i0;if(state.flowing!==false)this.resume()}else if(ev==="readable"){if(!state.endEmitted&&!state.readableListening){state.readableListening=state.needReadable=true;state.flowing=false;state.emittedReadable=false;debug("on readable",state.length,state.reading);if(state.length){emitReadable(this)}else if(!state.reading){process.nextTick(nReadingNextTick,this)}}}return res};Readable.prototype.addListener=Readable.prototype.on;Readable.prototype.removeListener=function(ev,fn){var res=Stream.prototype.removeListener.call(this,ev,fn);if(ev==="readable"){process.nextTick(updateReadableListening,this)}return res};Readable.prototype.removeAllListeners=function(ev){var res=Stream.prototype.removeAllListeners.apply(this,arguments);if(ev==="readable"||ev===undefined){process.nextTick(updateReadableListening,this)}return res};function updateReadableListening(self){var state=self._readableState;state.readableListening=self.listenerCount("readable")>0;if(state.resumeScheduled&&!state.paused){state.flowing=true}else if(self.listenerCount("data")>0){self.resume()}}function nReadingNextTick(self){debug("readable nexttick read 0");self.read(0)}Readable.prototype.resume=function(){var state=this._readableState;if(!state.flowing){debug("resume");state.flowing=!state.readableListening;resume(this,state)}state.paused=false;return this};function resume(stream,state){if(!state.resumeScheduled){state.resumeScheduled=true;process.nextTick(resume_,stream,state)}}function resume_(stream,state){debug("resume",state.reading);if(!state.reading){stream.read(0)}state.resumeScheduled=false;stream.emit("resume");flow(stream);if(state.flowing&&!state.reading)stream.read(0)}Readable.prototype.pause=function(){debug("call pause flowing=%j",this._readableState.flowing);if(this._readableState.flowing!==false){debug("pause");this._readableState.flowing=false;this.emit("pause")}this._readableState.paused=true;return this};function flow(stream){var state=stream._readableState;debug("flow",state.flowing);while(state.flowing&&stream.read()!==null){}}Readable.prototype.wrap=function(stream){var _this=this;var state=this._readableState;var paused=false;stream.on("end",function(){debug("wrapped end");if(state.decoder&&!state.ended){var chunk=state.decoder.end();if(chunk&&chunk.length)_this.push(chunk)}_this.push(null)});stream.on("data",function(chunk){debug("wrapped data");if(state.decoder)chunk=state.decoder.write(chunk);if(state.objectMode&&(chunk===null||chunk===undefined))return;else if(!state.objectMode&&(!chunk||!chunk.length))return;var ret=_this.push(chunk);if(!ret){paused=true;stream.pause()}});for(var i in stream){if(this[i]===undefined&&typeof stream[i]==="function"){this[i]=function methodWrap(method){return function methodWrapReturnFunction(){return stream[method].apply(stream,arguments)}}(i)}}for(var n=0;n=state.length){if(state.decoder)ret=state.buffer.join("");else if(state.buffer.length===1)ret=state.buffer.first();else ret=state.buffer.concat(state.length);state.buffer.clear()}else{ret=state.buffer.consume(n,state.decoder)}return ret}function endReadable(stream){var state=stream._readableState;debug("endReadable",state.endEmitted);if(!state.endEmitted){state.ended=true;process.nextTick(endReadableNT,state,stream)}}function endReadableNT(state,stream){debug("endReadableNT",state.endEmitted,state.length);if(!state.endEmitted&&state.length===0){state.endEmitted=true;stream.readable=false;stream.emit("end");if(state.autoDestroy){var wState=stream._writableState;if(!wState||wState.autoDestroy&&wState.finished){stream.destroy()}}}}if(typeof Symbol==="function"){Readable.from=function(iterable,opts){if(from===undefined){from=require("./internal/streams/from")}return from(Readable,iterable,opts)}}function indexOf(xs,x){for(var i=0,l=xs.length;i-1))throw new ERR_UNKNOWN_ENCODING(encoding);this._writableState.defaultEncoding=encoding;return this};Object.defineProperty(Writable.prototype,"writableBuffer",{enumerable:false,get:function get(){return this._writableState&&this._writableState.getBuffer()}});function decodeChunk(state,chunk,encoding){if(!state.objectMode&&state.decodeStrings!==false&&typeof chunk==="string"){chunk=Buffer.from(chunk,encoding)}return chunk}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function get(){return this._writableState.highWaterMark}});function writeOrBuffer(stream,state,isBuf,chunk,encoding,cb){if(!isBuf){var newChunk=decodeChunk(state,chunk,encoding);if(chunk!==newChunk){isBuf=true;encoding="buffer";chunk=newChunk}}var len=state.objectMode?1:chunk.length;state.length+=len;var ret=state.length0)this.tail.next=entry;else this.head=entry;this.tail=entry;++this.length}},{key:"unshift",value:function unshift(v){var entry={data:v,next:this.head};if(this.length===0)this.tail=entry;this.head=entry;++this.length}},{key:"shift",value:function shift(){if(this.length===0)return;var ret=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return ret}},{key:"clear",value:function clear(){this.head=this.tail=null;this.length=0}},{key:"join",value:function join(s){if(this.length===0)return"";var p=this.head;var ret=""+p.data;while(p=p.next){ret+=s+p.data}return ret}},{key:"concat",value:function concat(n){if(this.length===0)return Buffer.alloc(0);var ret=Buffer.allocUnsafe(n>>>0);var p=this.head;var i=0;while(p){copyBuffer(p.data,ret,i);i+=p.data.length;p=p.next}return ret}},{key:"consume",value:function consume(n,hasStrings){var ret;if(nstr.length?str.length:n;if(nb===str.length)ret+=str;else ret+=str.slice(0,n);n-=nb;if(n===0){if(nb===str.length){++c;if(p.next)this.head=p.next;else this.head=this.tail=null}else{this.head=p;p.data=str.slice(nb)}break}++c}this.length-=c;return ret}},{key:"_getBuffer",value:function _getBuffer(n){var ret=Buffer.allocUnsafe(n);var p=this.head;var c=1;p.data.copy(ret);n-=p.data.length;while(p=p.next){var buf=p.data;var nb=n>buf.length?buf.length:n;buf.copy(ret,ret.length-n,0,nb);n-=nb;if(n===0){if(nb===buf.length){++c;if(p.next)this.head=p.next;else this.head=this.tail=null}else{this.head=p;p.data=buf.slice(nb)}break}++c}this.length-=c;return ret}},{key:custom,value:function value(_,options){return inspect(this,_objectSpread({},options,{depth:0,customInspect:false}))}}]);return BufferList}()},{buffer:151,util:150}],213:[function(require,module,exports){(function(process){(function(){"use strict";function destroy(err,cb){var _this=this;var readableDestroyed=this._readableState&&this._readableState.destroyed;var writableDestroyed=this._writableState&&this._writableState.destroyed;if(readableDestroyed||writableDestroyed){if(cb){cb(err)}else if(err){if(!this._writableState){process.nextTick(emitErrorNT,this,err)}else if(!this._writableState.errorEmitted){this._writableState.errorEmitted=true;process.nextTick(emitErrorNT,this,err)}}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(err||null,function(err){if(!cb&&err){if(!_this._writableState){process.nextTick(emitErrorAndCloseNT,_this,err)}else if(!_this._writableState.errorEmitted){_this._writableState.errorEmitted=true;process.nextTick(emitErrorAndCloseNT,_this,err)}else{process.nextTick(emitCloseNT,_this)}}else if(cb){process.nextTick(emitCloseNT,_this);cb(err)}else{process.nextTick(emitCloseNT,_this)}});return this}function emitErrorAndCloseNT(self,err){emitErrorNT(self,err);emitCloseNT(self)}function emitCloseNT(self){if(self._writableState&&!self._writableState.emitClose)return;if(self._readableState&&!self._readableState.emitClose)return;self.emit("close")}function undestroy(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finalCalled=false;this._writableState.prefinished=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function emitErrorNT(self,err){self.emit("error",err)}function errorOrDestroy(stream,err){var rState=stream._readableState;var wState=stream._writableState;if(rState&&rState.autoDestroy||wState&&wState.autoDestroy)stream.destroy(err);else stream.emit("error",err)}module.exports={destroy:destroy,undestroy:undestroy,errorOrDestroy:errorOrDestroy}}).call(this)}).call(this,require("_process"))},{_process:195}],214:[function(require,module,exports){"use strict";var ERR_STREAM_PREMATURE_CLOSE=require("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function once(callback){var called=false;return function(){if(called)return;called=true;for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key]}callback.apply(this,args)}}function noop(){}function isRequest(stream){return stream.setHeader&&typeof stream.abort==="function"}function eos(stream,opts,callback){if(typeof opts==="function")return eos(stream,null,opts);if(!opts)opts={};callback=once(callback||noop);var readable=opts.readable||opts.readable!==false&&stream.readable;var writable=opts.writable||opts.writable!==false&&stream.writable;var onlegacyfinish=function onlegacyfinish(){if(!stream.writable)onfinish()};var writableEnded=stream._writableState&&stream._writableState.finished;var onfinish=function onfinish(){writable=false;writableEnded=true;if(!readable)callback.call(stream)};var readableEnded=stream._readableState&&stream._readableState.endEmitted;var onend=function onend(){readable=false;readableEnded=true;if(!writable)callback.call(stream)};var onerror=function onerror(err){callback.call(stream,err)};var onclose=function onclose(){var err;if(readable&&!readableEnded){if(!stream._readableState||!stream._readableState.ended)err=new ERR_STREAM_PREMATURE_CLOSE;return callback.call(stream,err)}if(writable&&!writableEnded){if(!stream._writableState||!stream._writableState.ended)err=new ERR_STREAM_PREMATURE_CLOSE;return callback.call(stream,err)}};var onrequest=function onrequest(){stream.req.on("finish",onfinish)};if(isRequest(stream)){stream.on("complete",onfinish);stream.on("abort",onclose);if(stream.req)onrequest();else stream.on("request",onrequest)}else if(writable&&!stream._writableState){stream.on("end",onlegacyfinish);stream.on("close",onlegacyfinish)}stream.on("end",onend);stream.on("finish",onfinish);if(opts.error!==false)stream.on("error",onerror);stream.on("close",onclose);return function(){stream.removeListener("complete",onfinish);stream.removeListener("abort",onclose);stream.removeListener("request",onrequest);if(stream.req)stream.req.removeListener("finish",onfinish);stream.removeListener("end",onlegacyfinish);stream.removeListener("close",onlegacyfinish);stream.removeListener("finish",onfinish);stream.removeListener("end",onend);stream.removeListener("error",onerror);stream.removeListener("close",onclose)}}module.exports=eos},{"../../../errors":205}],215:[function(require,module,exports){module.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],216:[function(require,module,exports){"use strict";var eos;function once(callback){var called=false;return function(){if(called)return;called=true;callback.apply(void 0,arguments)}}var _require$codes=require("../../../errors").codes,ERR_MISSING_ARGS=_require$codes.ERR_MISSING_ARGS,ERR_STREAM_DESTROYED=_require$codes.ERR_STREAM_DESTROYED;function noop(err){if(err)throw err}function isRequest(stream){return stream.setHeader&&typeof stream.abort==="function"}function destroyer(stream,reading,writing,callback){callback=once(callback);var closed=false;stream.on("close",function(){closed=true});if(eos===undefined)eos=require("./end-of-stream");eos(stream,{readable:reading,writable:writing},function(err){if(err)return callback(err);closed=true;callback()});var destroyed=false;return function(err){if(closed)return;if(destroyed)return;destroyed=true;if(isRequest(stream))return stream.abort();if(typeof stream.destroy==="function")return stream.destroy();callback(err||new ERR_STREAM_DESTROYED("pipe"))}}function call(fn){fn()}function pipe(from,to){return from.pipe(to)}function popCallback(streams){if(!streams.length)return noop;if(typeof streams[streams.length-1]!=="function")return noop;return streams.pop()}function pipeline(){for(var _len=arguments.length,streams=new Array(_len),_key=0;_key<_len;_key++){streams[_key]=arguments[_key]}var callback=popCallback(streams);if(Array.isArray(streams[0]))streams=streams[0];if(streams.length<2){throw new ERR_MISSING_ARGS("streams")}var error;var destroys=streams.map(function(stream,i){var reading=i0;return destroyer(stream,reading,writing,function(err){if(!error)error=err;if(err)destroys.forEach(call);if(reading)return;destroys.forEach(call);callback(error)})});return streams.reduce(pipe)}module.exports=pipeline},{"../../../errors":205,"./end-of-stream":214}],217:[function(require,module,exports){"use strict";var ERR_INVALID_OPT_VALUE=require("../../../errors").codes.ERR_INVALID_OPT_VALUE;function highWaterMarkFrom(options,isDuplex,duplexKey){return options.highWaterMark!=null?options.highWaterMark:isDuplex?options[duplexKey]:null}function getHighWaterMark(state,options,duplexKey,isDuplex){var hwm=highWaterMarkFrom(options,isDuplex,duplexKey);if(hwm!=null){if(!(isFinite(hwm)&&Math.floor(hwm)===hwm)||hwm<0){var name=isDuplex?duplexKey:"highWaterMark";throw new ERR_INVALID_OPT_VALUE(name,hwm)}return Math.floor(hwm)}return state.objectMode?16:16*1024}module.exports={getHighWaterMark:getHighWaterMark}},{"../../../errors":205}],218:[function(require,module,exports){module.exports=require("events").EventEmitter},{events:154}],219:[function(require,module,exports){exports=module.exports=require("./lib/_stream_readable.js");exports.Stream=exports;exports.Readable=exports;exports.Writable=require("./lib/_stream_writable.js");exports.Duplex=require("./lib/_stream_duplex.js");exports.Transform=require("./lib/_stream_transform.js");exports.PassThrough=require("./lib/_stream_passthrough.js");exports.finished=require("./lib/internal/streams/end-of-stream.js");exports.pipeline=require("./lib/internal/streams/pipeline.js")},{"./lib/_stream_duplex.js":206,"./lib/_stream_passthrough.js":207,"./lib/_stream_readable.js":208,"./lib/_stream_transform.js":209,"./lib/_stream_writable.js":210,"./lib/internal/streams/end-of-stream.js":214,"./lib/internal/streams/pipeline.js":216}],220:[function(require,module,exports){"use strict";var Buffer=require("safe-buffer").Buffer;var isEncoding=Buffer.isEncoding||function(encoding){encoding=""+encoding;switch(encoding&&encoding.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(enc){if(!enc)return"utf8";var retried;while(true){switch(enc){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return enc;default:if(retried)return;enc=(""+enc).toLowerCase();retried=true}}}function normalizeEncoding(enc){var nenc=_normalizeEncoding(enc);if(typeof nenc!=="string"&&(Buffer.isEncoding===isEncoding||!isEncoding(enc)))throw new Error("Unknown encoding: "+enc);return nenc||enc}exports.StringDecoder=StringDecoder;function StringDecoder(encoding){this.encoding=normalizeEncoding(encoding);var nb;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;nb=4;break;case"utf8":this.fillLast=utf8FillLast;nb=4;break;case"base64":this.text=base64Text;this.end=base64End;nb=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=Buffer.allocUnsafe(nb)}StringDecoder.prototype.write=function(buf){if(buf.length===0)return"";var r;var i;if(this.lastNeed){r=this.fillLast(buf);if(r===undefined)return"";i=this.lastNeed;this.lastNeed=0}else{i=0}if(i>5===6)return 2;else if(byte>>4===14)return 3;else if(byte>>3===30)return 4;return byte>>6===2?-1:-2}function utf8CheckIncomplete(self,buf,i){var j=buf.length-1;if(j=0){if(nb>0)self.lastNeed=nb-1;return nb}if(--j=0){if(nb>0)self.lastNeed=nb-2;return nb}if(--j=0){if(nb>0){if(nb===2)nb=0;else self.lastNeed=nb-3}return nb}return 0}function utf8CheckExtraBytes(self,buf,p){if((buf[0]&192)!==128){self.lastNeed=0;return"�"}if(self.lastNeed>1&&buf.length>1){if((buf[1]&192)!==128){self.lastNeed=1;return"�"}if(self.lastNeed>2&&buf.length>2){if((buf[2]&192)!==128){self.lastNeed=2;return"�"}}}}function utf8FillLast(buf){var p=this.lastTotal-this.lastNeed;var r=utf8CheckExtraBytes(this,buf,p);if(r!==undefined)return r;if(this.lastNeed<=buf.length){buf.copy(this.lastChar,p,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}buf.copy(this.lastChar,p,0,buf.length);this.lastNeed-=buf.length}function utf8Text(buf,i){var total=utf8CheckIncomplete(this,buf,i);if(!this.lastNeed)return buf.toString("utf8",i);this.lastTotal=total;var end=buf.length-(total-this.lastNeed);buf.copy(this.lastChar,0,end);return buf.toString("utf8",i,end)}function utf8End(buf){var r=buf&&buf.length?this.write(buf):"";if(this.lastNeed)return r+"�";return r}function utf16Text(buf,i){if((buf.length-i)%2===0){var r=buf.toString("utf16le",i);if(r){var c=r.charCodeAt(r.length-1);if(c>=55296&&c<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=buf[buf.length-2];this.lastChar[1]=buf[buf.length-1];return r.slice(0,-1)}}return r}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=buf[buf.length-1];return buf.toString("utf16le",i,buf.length-1)}function utf16End(buf){var r=buf&&buf.length?this.write(buf):"";if(this.lastNeed){var end=this.lastTotal-this.lastNeed;return r+this.lastChar.toString("utf16le",0,end)}return r}function base64Text(buf,i){var n=(buf.length-i)%3;if(n===0)return buf.toString("base64",i);this.lastNeed=3-n;this.lastTotal=3;if(n===1){this.lastChar[0]=buf[buf.length-1]}else{this.lastChar[0]=buf[buf.length-2];this.lastChar[1]=buf[buf.length-1]}return buf.toString("base64",i,buf.length-n)}function base64End(buf){var r=buf&&buf.length?this.write(buf):"";if(this.lastNeed)return r+this.lastChar.toString("base64",0,3-this.lastNeed);return r}function simpleWrite(buf){return buf.toString(this.encoding)}function simpleEnd(buf){return buf&&buf.length?this.write(buf):""}},{"safe-buffer":200}],221:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};exports.apply=apply;var isObject=function isObject(val){return val!=null&&(typeof val==="undefined"?"undefined":_typeof(val))==="object"&&Array.isArray(val)===false};function apply(origin,patch){if(!isObject(patch)){return patch}var result=!isObject(origin)?{}:Object.assign({},origin);Object.keys(patch).forEach(function(key){var patchVal=patch[key];if(patchVal===null){delete result[key]}else{result[key]=apply(result[key],patchVal)}});return result}exports.default=apply},{}],222:[function(require,module,exports){(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?factory(exports):typeof define==="function"&&define.amd?define(["exports"],factory):factory(global.URI=global.URI||{})})(this,function(exports){"use strict";function merge(){for(var _len=arguments.length,sets=Array(_len),_key=0;_key<_len;_key++){sets[_key]=arguments[_key]}if(sets.length>1){sets[0]=sets[0].slice(0,-1);var xl=sets.length-1;for(var x=1;x= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var baseMinusTMin=base-tMin;var floor=Math.floor;var stringFromCharCode=String.fromCharCode;function error$1(type){throw new RangeError(errors[type])}function map(array,fn){var result=[];var length=array.length;while(length--){result[length]=fn(array[length])}return result}function mapDomain(string,fn){var parts=string.split("@");var result="";if(parts.length>1){result=parts[0]+"@";string=parts[1]}string=string.replace(regexSeparators,".");var labels=string.split(".");var encoded=map(labels,fn).join(".");return result+encoded}function ucs2decode(string){var output=[];var counter=0;var length=string.length;while(counter=55296&&value<=56319&&counter>1;delta+=floor(delta/numPoints);for(;delta>baseMinusTMin*tMax>>1;k+=base){delta=floor(delta/baseMinusTMin)}return floor(k+(baseMinusTMin+1)*delta/(delta+skew))};var decode=function decode(input){var output=[];var inputLength=input.length;var i=0;var n=initialN;var bias=initialBias;var basic=input.lastIndexOf(delimiter);if(basic<0){basic=0}for(var j=0;j=128){error$1("not-basic")}output.push(input.charCodeAt(j))}for(var index=basic>0?basic+1:0;index=inputLength){error$1("invalid-input")}var digit=basicToDigit(input.charCodeAt(index++));if(digit>=base||digit>floor((maxInt-i)/w)){error$1("overflow")}i+=digit*w;var t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias;if(digitfloor(maxInt/baseMinusT)){error$1("overflow")}w*=baseMinusT}var out=output.length+1;bias=adapt(i-oldi,out,oldi==0);if(floor(i/out)>maxInt-n){error$1("overflow")}n+=floor(i/out);i%=out;output.splice(i++,0,n)}return String.fromCodePoint.apply(String,output)};var encode=function encode(input){var output=[];input=ucs2decode(input);var inputLength=input.length;var n=initialN;var delta=0;var bias=initialBias;var _iteratorNormalCompletion=true;var _didIteratorError=false;var _iteratorError=undefined;try{for(var _iterator=input[Symbol.iterator](),_step;!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=true){var _currentValue2=_step.value;if(_currentValue2<128){output.push(stringFromCharCode(_currentValue2))}}}catch(err){_didIteratorError=true;_iteratorError=err}finally{try{if(!_iteratorNormalCompletion&&_iterator.return){_iterator.return()}}finally{if(_didIteratorError){throw _iteratorError}}}var basicLength=output.length;var handledCPCount=basicLength;if(basicLength){output.push(delimiter)}while(handledCPCount=n&¤tValuefloor((maxInt-delta)/handledCPCountPlusOne)){error$1("overflow")}delta+=(m-n)*handledCPCountPlusOne;n=m;var _iteratorNormalCompletion3=true;var _didIteratorError3=false;var _iteratorError3=undefined;try{for(var _iterator3=input[Symbol.iterator](),_step3;!(_iteratorNormalCompletion3=(_step3=_iterator3.next()).done);_iteratorNormalCompletion3=true){var _currentValue=_step3.value;if(_currentValuemaxInt){error$1("overflow")}if(_currentValue==n){var q=delta;for(var k=base;;k+=base){var t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias;if(q>6|192).toString(16).toUpperCase()+"%"+(c&63|128).toString(16).toUpperCase();else e="%"+(c>>12|224).toString(16).toUpperCase()+"%"+(c>>6&63|128).toString(16).toUpperCase()+"%"+(c&63|128).toString(16).toUpperCase();return e}function pctDecChars(str){var newStr="";var i=0;var il=str.length;while(i=194&&c<224){if(il-i>=6){var c2=parseInt(str.substr(i+4,2),16);newStr+=String.fromCharCode((c&31)<<6|c2&63)}else{newStr+=str.substr(i,6)}i+=6}else if(c>=224){if(il-i>=9){var _c=parseInt(str.substr(i+4,2),16);var c3=parseInt(str.substr(i+7,2),16);newStr+=String.fromCharCode((c&15)<<12|(_c&63)<<6|c3&63)}else{newStr+=str.substr(i,9)}i+=9}else{newStr+=str.substr(i,3);i+=3}}return newStr}function _normalizeComponentEncoding(components,protocol){function decodeUnreserved(str){var decStr=pctDecChars(str);return!decStr.match(protocol.UNRESERVED)?str:decStr}if(components.scheme)components.scheme=String(components.scheme).replace(protocol.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(protocol.NOT_SCHEME,"");if(components.userinfo!==undefined)components.userinfo=String(components.userinfo).replace(protocol.PCT_ENCODED,decodeUnreserved).replace(protocol.NOT_USERINFO,pctEncChar).replace(protocol.PCT_ENCODED,toUpperCase);if(components.host!==undefined)components.host=String(components.host).replace(protocol.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(protocol.NOT_HOST,pctEncChar).replace(protocol.PCT_ENCODED,toUpperCase);if(components.path!==undefined)components.path=String(components.path).replace(protocol.PCT_ENCODED,decodeUnreserved).replace(components.scheme?protocol.NOT_PATH:protocol.NOT_PATH_NOSCHEME,pctEncChar).replace(protocol.PCT_ENCODED,toUpperCase);if(components.query!==undefined)components.query=String(components.query).replace(protocol.PCT_ENCODED,decodeUnreserved).replace(protocol.NOT_QUERY,pctEncChar).replace(protocol.PCT_ENCODED,toUpperCase);if(components.fragment!==undefined)components.fragment=String(components.fragment).replace(protocol.PCT_ENCODED,decodeUnreserved).replace(protocol.NOT_FRAGMENT,pctEncChar).replace(protocol.PCT_ENCODED,toUpperCase);return components}function _stripLeadingZeros(str){return str.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(host,protocol){var matches=host.match(protocol.IPV4ADDRESS)||[];var _matches=slicedToArray(matches,2),address=_matches[1];if(address){return address.split(".").map(_stripLeadingZeros).join(".")}else{return host}}function _normalizeIPv6(host,protocol){var matches=host.match(protocol.IPV6ADDRESS)||[];var _matches2=slicedToArray(matches,3),address=_matches2[1],zone=_matches2[2];if(address){var _address$toLowerCase$=address.toLowerCase().split("::").reverse(),_address$toLowerCase$2=slicedToArray(_address$toLowerCase$,2),last=_address$toLowerCase$2[0],first=_address$toLowerCase$2[1];var firstFields=first?first.split(":").map(_stripLeadingZeros):[];var lastFields=last.split(":").map(_stripLeadingZeros);var isLastFieldIPv4Address=protocol.IPV4ADDRESS.test(lastFields[lastFields.length-1]);var fieldCount=isLastFieldIPv4Address?7:8;var lastFieldsStart=lastFields.length-fieldCount;var fields=Array(fieldCount);for(var x=0;x1){var newFirst=fields.slice(0,longestZeroFields.index);var newLast=fields.slice(longestZeroFields.index+longestZeroFields.length);newHost=newFirst.join(":")+"::"+newLast.join(":")}else{newHost=fields.join(":")}if(zone){newHost+="%"+zone}return newHost}else{return host}}var URI_PARSE=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var NO_MATCH_IS_UNDEFINED="".match(/(){0}/)[1]===undefined;function parse(uriString){var options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var components={};var protocol=options.iri!==false?IRI_PROTOCOL:URI_PROTOCOL;if(options.reference==="suffix")uriString=(options.scheme?options.scheme+":":"")+"//"+uriString;var matches=uriString.match(URI_PARSE);if(matches){if(NO_MATCH_IS_UNDEFINED){components.scheme=matches[1];components.userinfo=matches[3];components.host=matches[4];components.port=parseInt(matches[5],10);components.path=matches[6]||"";components.query=matches[7];components.fragment=matches[8];if(isNaN(components.port)){components.port=matches[5]}}else{components.scheme=matches[1]||undefined;components.userinfo=uriString.indexOf("@")!==-1?matches[3]:undefined;components.host=uriString.indexOf("//")!==-1?matches[4]:undefined;components.port=parseInt(matches[5],10);components.path=matches[6]||"";components.query=uriString.indexOf("?")!==-1?matches[7]:undefined;components.fragment=uriString.indexOf("#")!==-1?matches[8]:undefined;if(isNaN(components.port)){components.port=uriString.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?matches[4]:undefined}}if(components.host){components.host=_normalizeIPv6(_normalizeIPv4(components.host,protocol),protocol)}if(components.scheme===undefined&&components.userinfo===undefined&&components.host===undefined&&components.port===undefined&&!components.path&&components.query===undefined){components.reference="same-document"}else if(components.scheme===undefined){components.reference="relative"}else if(components.fragment===undefined){components.reference="absolute"}else{components.reference="uri"}if(options.reference&&options.reference!=="suffix"&&options.reference!==components.reference){components.error=components.error||"URI is not a "+options.reference+" reference."}var schemeHandler=SCHEMES[(options.scheme||components.scheme||"").toLowerCase()];if(!options.unicodeSupport&&(!schemeHandler||!schemeHandler.unicodeSupport)){if(components.host&&(options.domainHost||schemeHandler&&schemeHandler.domainHost)){try{components.host=punycode.toASCII(components.host.replace(protocol.PCT_ENCODED,pctDecChars).toLowerCase())}catch(e){components.error=components.error||"Host's domain name can not be converted to ASCII via punycode: "+e}}_normalizeComponentEncoding(components,URI_PROTOCOL)}else{_normalizeComponentEncoding(components,protocol)}if(schemeHandler&&schemeHandler.parse){schemeHandler.parse(components,options)}}else{components.error=components.error||"URI can not be parsed."}return components}function _recomposeAuthority(components,options){var protocol=options.iri!==false?IRI_PROTOCOL:URI_PROTOCOL;var uriTokens=[];if(components.userinfo!==undefined){uriTokens.push(components.userinfo);uriTokens.push("@")}if(components.host!==undefined){uriTokens.push(_normalizeIPv6(_normalizeIPv4(String(components.host),protocol),protocol).replace(protocol.IPV6ADDRESS,function(_,$1,$2){return"["+$1+($2?"%25"+$2:"")+"]"}))}if(typeof components.port==="number"||typeof components.port==="string"){uriTokens.push(":");uriTokens.push(String(components.port))}return uriTokens.length?uriTokens.join(""):undefined}var RDS1=/^\.\.?\//;var RDS2=/^\/\.(\/|$)/;var RDS3=/^\/\.\.(\/|$)/;var RDS5=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(input){var output=[];while(input.length){if(input.match(RDS1)){input=input.replace(RDS1,"")}else if(input.match(RDS2)){input=input.replace(RDS2,"/")}else if(input.match(RDS3)){input=input.replace(RDS3,"/");output.pop()}else if(input==="."||input===".."){input=""}else{var im=input.match(RDS5);if(im){var s=im[0];input=input.slice(s.length);output.push(s)}else{throw new Error("Unexpected dot segment condition")}}}return output.join("")}function serialize(components){var options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var protocol=options.iri?IRI_PROTOCOL:URI_PROTOCOL;var uriTokens=[];var schemeHandler=SCHEMES[(options.scheme||components.scheme||"").toLowerCase()];if(schemeHandler&&schemeHandler.serialize)schemeHandler.serialize(components,options);if(components.host){if(protocol.IPV6ADDRESS.test(components.host)){}else if(options.domainHost||schemeHandler&&schemeHandler.domainHost){try{components.host=!options.iri?punycode.toASCII(components.host.replace(protocol.PCT_ENCODED,pctDecChars).toLowerCase()):punycode.toUnicode(components.host)}catch(e){components.error=components.error||"Host's domain name can not be converted to "+(!options.iri?"ASCII":"Unicode")+" via punycode: "+e}}}_normalizeComponentEncoding(components,protocol);if(options.reference!=="suffix"&&components.scheme){uriTokens.push(components.scheme);uriTokens.push(":")}var authority=_recomposeAuthority(components,options);if(authority!==undefined){if(options.reference!=="suffix"){uriTokens.push("//")}uriTokens.push(authority);if(components.path&&components.path.charAt(0)!=="/"){uriTokens.push("/")}}if(components.path!==undefined){var s=components.path;if(!options.absolutePath&&(!schemeHandler||!schemeHandler.absolutePath)){s=removeDotSegments(s)}if(authority===undefined){s=s.replace(/^\/\//,"/%2F")}uriTokens.push(s)}if(components.query!==undefined){uriTokens.push("?");uriTokens.push(components.query)}if(components.fragment!==undefined){uriTokens.push("#");uriTokens.push(components.fragment)}return uriTokens.join("")}function resolveComponents(base,relative){var options=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var skipNormalization=arguments[3];var target={};if(!skipNormalization){base=parse(serialize(base,options),options);relative=parse(serialize(relative,options),options)}options=options||{};if(!options.tolerant&&relative.scheme){target.scheme=relative.scheme;target.userinfo=relative.userinfo;target.host=relative.host;target.port=relative.port;target.path=removeDotSegments(relative.path||"");target.query=relative.query}else{if(relative.userinfo!==undefined||relative.host!==undefined||relative.port!==undefined){target.userinfo=relative.userinfo;target.host=relative.host;target.port=relative.port;target.path=removeDotSegments(relative.path||"");target.query=relative.query}else{if(!relative.path){target.path=base.path;if(relative.query!==undefined){target.query=relative.query}else{target.query=base.query}}else{if(relative.path.charAt(0)==="/"){target.path=removeDotSegments(relative.path)}else{if((base.userinfo!==undefined||base.host!==undefined||base.port!==undefined)&&!base.path){target.path="/"+relative.path}else if(!base.path){target.path=relative.path}else{target.path=base.path.slice(0,base.path.lastIndexOf("/")+1)+relative.path}target.path=removeDotSegments(target.path)}target.query=relative.query}target.userinfo=base.userinfo;target.host=base.host;target.port=base.port}target.scheme=base.scheme}target.fragment=relative.fragment;return target}function resolve(baseURI,relativeURI,options){var schemelessOptions=assign({scheme:"null"},options);return serialize(resolveComponents(parse(baseURI,schemelessOptions),parse(relativeURI,schemelessOptions),schemelessOptions,true),schemelessOptions)}function normalize(uri,options){if(typeof uri==="string"){uri=serialize(parse(uri,options),options)}else if(typeOf(uri)==="object"){uri=parse(serialize(uri,options),options)}return uri}function equal(uriA,uriB,options){if(typeof uriA==="string"){uriA=serialize(parse(uriA,options),options)}else if(typeOf(uriA)==="object"){uriA=serialize(uriA,options)}if(typeof uriB==="string"){uriB=serialize(parse(uriB,options),options)}else if(typeOf(uriB)==="object"){uriB=serialize(uriB,options)}return uriA===uriB}function escapeComponent(str,options){return str&&str.toString().replace(!options||!options.iri?URI_PROTOCOL.ESCAPE:IRI_PROTOCOL.ESCAPE,pctEncChar)}function unescapeComponent(str,options){return str&&str.toString().replace(!options||!options.iri?URI_PROTOCOL.PCT_ENCODED:IRI_PROTOCOL.PCT_ENCODED,pctDecChars)}var handler={scheme:"http",domainHost:true,parse:function parse(components,options){if(!components.host){components.error=components.error||"HTTP URIs must have a host."}return components},serialize:function serialize(components,options){var secure=String(components.scheme).toLowerCase()==="https";if(components.port===(secure?443:80)||components.port===""){components.port=undefined}if(!components.path){components.path="/"}return components}};var handler$1={scheme:"https",domainHost:handler.domainHost,parse:handler.parse,serialize:handler.serialize};function isSecure(wsComponents){return typeof wsComponents.secure==="boolean"?wsComponents.secure:String(wsComponents.scheme).toLowerCase()==="wss"}var handler$2={scheme:"ws",domainHost:true,parse:function parse(components,options){var wsComponents=components;wsComponents.secure=isSecure(wsComponents);wsComponents.resourceName=(wsComponents.path||"/")+(wsComponents.query?"?"+wsComponents.query:"");wsComponents.path=undefined;wsComponents.query=undefined;return wsComponents},serialize:function serialize(wsComponents,options){if(wsComponents.port===(isSecure(wsComponents)?443:80)||wsComponents.port===""){wsComponents.port=undefined}if(typeof wsComponents.secure==="boolean"){wsComponents.scheme=wsComponents.secure?"wss":"ws";wsComponents.secure=undefined}if(wsComponents.resourceName){var _wsComponents$resourc=wsComponents.resourceName.split("?"),_wsComponents$resourc2=slicedToArray(_wsComponents$resourc,2),path=_wsComponents$resourc2[0],query=_wsComponents$resourc2[1];wsComponents.path=path&&path!=="/"?path:undefined;wsComponents.query=query;wsComponents.resourceName=undefined}wsComponents.fragment=undefined;return wsComponents}};var handler$3={scheme:"wss",domainHost:handler$2.domainHost,parse:handler$2.parse,serialize:handler$2.serialize};var O={};var isIRI=true;var UNRESERVED$$="[A-Za-z0-9\\-\\.\\_\\~"+(isIRI?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var HEXDIG$$="[0-9A-Fa-f]";var PCT_ENCODED$=subexp(subexp("%[EFef]"+HEXDIG$$+"%"+HEXDIG$$+HEXDIG$$+"%"+HEXDIG$$+HEXDIG$$)+"|"+subexp("%[89A-Fa-f]"+HEXDIG$$+"%"+HEXDIG$$+HEXDIG$$)+"|"+subexp("%"+HEXDIG$$+HEXDIG$$));var ATEXT$$="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var QTEXT$$="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var VCHAR$$=merge(QTEXT$$,'[\\"\\\\]');var SOME_DELIMS$$="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var UNRESERVED=new RegExp(UNRESERVED$$,"g");var PCT_ENCODED=new RegExp(PCT_ENCODED$,"g");var NOT_LOCAL_PART=new RegExp(merge("[^]",ATEXT$$,"[\\.]",'[\\"]',VCHAR$$),"g");var NOT_HFNAME=new RegExp(merge("[^]",UNRESERVED$$,SOME_DELIMS$$),"g");var NOT_HFVALUE=NOT_HFNAME;function decodeUnreserved(str){var decStr=pctDecChars(str);return!decStr.match(UNRESERVED)?str:decStr}var handler$4={scheme:"mailto",parse:function parse$$1(components,options){var mailtoComponents=components;var to=mailtoComponents.to=mailtoComponents.path?mailtoComponents.path.split(","):[];mailtoComponents.path=undefined;if(mailtoComponents.query){var unknownHeaders=false;var headers={};var hfields=mailtoComponents.query.split("&");for(var x=0,xl=hfields.length;x",'"',"`"," ","\r","\n","\t"],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,unsafeProtocol={javascript:true,"javascript:":true},hostlessProtocol={javascript:true,"javascript:":true},slashedProtocol={http:true,https:true,ftp:true,gopher:true,file:true,"http:":true,"https:":true,"ftp:":true,"gopher:":true,"file:":true},querystring=require("querystring");function urlParse(url,parseQueryString,slashesDenoteHost){if(url&&util.isObject(url)&&url instanceof Url)return url;var u=new Url;u.parse(url,parseQueryString,slashesDenoteHost);return u}Url.prototype.parse=function(url,parseQueryString,slashesDenoteHost){if(!util.isString(url)){throw new TypeError("Parameter 'url' must be a string, not "+typeof url)}var queryIndex=url.indexOf("?"),splitter=queryIndex!==-1&&queryIndex127){newpart+="x"}else{newpart+=part[j]}}if(!newpart.match(hostnamePartPattern)){var validParts=hostparts.slice(0,i);var notHost=hostparts.slice(i+1);var bit=part.match(hostnamePartStart);if(bit){validParts.push(bit[1]);notHost.unshift(bit[2])}if(notHost.length){rest="/"+notHost.join(".")+rest}this.hostname=validParts.join(".");break}}}}if(this.hostname.length>hostnameMaxLen){this.hostname=""}else{this.hostname=this.hostname.toLowerCase()}if(!ipv6Hostname){this.hostname=punycode.toASCII(this.hostname)}var p=this.port?":"+this.port:"";var h=this.hostname||"";this.host=h+p;this.href+=this.host;if(ipv6Hostname){this.hostname=this.hostname.substr(1,this.hostname.length-2);if(rest[0]!=="/"){rest="/"+rest}}}if(!unsafeProtocol[lowerProto]){for(var i=0,l=autoEscape.length;i0?result.host.split("@"):false;if(authInHost){result.auth=authInHost.shift();result.host=result.hostname=authInHost.shift()}}result.search=relative.search;result.query=relative.query;if(!util.isNull(result.pathname)||!util.isNull(result.search)){result.path=(result.pathname?result.pathname:"")+(result.search?result.search:"")}result.href=result.format();return result}if(!srcPath.length){result.pathname=null;if(result.search){result.path="/"+result.search}else{result.path=null}result.href=result.format();return result}var last=srcPath.slice(-1)[0];var hasTrailingSlash=(result.host||relative.host||srcPath.length>1)&&(last==="."||last==="..")||last==="";var up=0;for(var i=srcPath.length;i>=0;i--){last=srcPath[i];if(last==="."){srcPath.splice(i,1)}else if(last===".."){srcPath.splice(i,1);up++}else if(up){srcPath.splice(i,1);up--}}if(!mustEndAbs&&!removeAllDots){for(;up--;up){srcPath.unshift("..")}}if(mustEndAbs&&srcPath[0]!==""&&(!srcPath[0]||srcPath[0].charAt(0)!=="/")){srcPath.unshift("")}if(hasTrailingSlash&&srcPath.join("/").substr(-1)!=="/"){srcPath.push("")}var isAbsolute=srcPath[0]===""||srcPath[0]&&srcPath[0].charAt(0)==="/";if(psychotic){result.hostname=result.host=isAbsolute?"":srcPath.length?srcPath.shift():"";var authInHost=result.host&&result.host.indexOf("@")>0?result.host.split("@"):false;if(authInHost){result.auth=authInHost.shift();result.host=result.hostname=authInHost.shift()}}mustEndAbs=mustEndAbs||result.host&&srcPath.length;if(mustEndAbs&&!isAbsolute){srcPath.unshift("")}if(!srcPath.length){result.pathname=null;result.path=null}else{result.pathname=srcPath.join("/")}if(!util.isNull(result.pathname)||!util.isNull(result.search)){result.path=(result.pathname?result.pathname:"")+(result.search?result.search:"")}result.auth=relative.auth||result.auth;result.slashes=result.slashes||relative.slashes;result.href=result.format();return result};Url.prototype.parseHost=function(){var host=this.host;var port=portPattern.exec(host);if(port){port=port[0];if(port!==":"){this.port=port.substr(1)}host=host.substr(0,host.length-port.length)}if(host)this.hostname=host}},{"./util":224,punycode:196,querystring:199}],224:[function(require,module,exports){"use strict";module.exports={isString:function(arg){return typeof arg==="string"},isObject:function(arg){return typeof arg==="object"&&arg!==null},isNull:function(arg){return arg===null},isNullOrUndefined:function(arg){return arg==null}}},{}],225:[function(require,module,exports){(function(global){(function(){module.exports=deprecate;function deprecate(fn,msg){if(config("noDeprecation")){return fn}var warned=false;function deprecated(){if(!warned){if(config("throwDeprecation")){throw new Error(msg)}else if(config("traceDeprecation")){console.trace(msg)}else{console.warn(msg)}warned=true}return fn.apply(this,arguments)}return deprecated}function config(name){try{if(!global.localStorage)return false}catch(_){return false}var val=global.localStorage[name];if(null==val)return false;return String(val).toLowerCase()==="true"}}).call(this)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],226:[function(require,module,exports){if(typeof Object.create==="function"){module.exports=function inherits(ctor,superCtor){ctor.super_=superCtor;ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:false,writable:true,configurable:true}})}}else{module.exports=function inherits(ctor,superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype;ctor.prototype=new TempCtor;ctor.prototype.constructor=ctor}}},{}],227:[function(require,module,exports){module.exports=function isBuffer(arg){return arg&&typeof arg==="object"&&typeof arg.copy==="function"&&typeof arg.fill==="function"&&typeof arg.readUInt8==="function"}},{}],228:[function(require,module,exports){(function(process,global){(function(){var formatRegExp=/%[sdj%]/g;exports.format=function(f){if(!isString(f)){var objects=[];for(var i=0;i=len)return x;switch(x){case"%s":return String(args[i++]);case"%d":return Number(args[i++]);case"%j":try{return JSON.stringify(args[i++])}catch(_){return"[Circular]"}default:return x}});for(var x=args[i];i=3)ctx.depth=arguments[2];if(arguments.length>=4)ctx.colors=arguments[3];if(isBoolean(opts)){ctx.showHidden=opts}else if(opts){exports._extend(ctx,opts)}if(isUndefined(ctx.showHidden))ctx.showHidden=false;if(isUndefined(ctx.depth))ctx.depth=2;if(isUndefined(ctx.colors))ctx.colors=false;if(isUndefined(ctx.customInspect))ctx.customInspect=true;if(ctx.colors)ctx.stylize=stylizeWithColor;return formatValue(ctx,obj,ctx.depth)}exports.inspect=inspect;inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};inspect.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function stylizeWithColor(str,styleType){var style=inspect.styles[styleType];if(style){return"["+inspect.colors[style][0]+"m"+str+"["+inspect.colors[style][1]+"m"}else{return str}}function stylizeNoColor(str,styleType){return str}function arrayToHash(array){var hash={};array.forEach(function(val,idx){hash[val]=true});return hash}function formatValue(ctx,value,recurseTimes){if(ctx.customInspect&&value&&isFunction(value.inspect)&&value.inspect!==exports.inspect&&!(value.constructor&&value.constructor.prototype===value)){var ret=value.inspect(recurseTimes,ctx);if(!isString(ret)){ret=formatValue(ctx,ret,recurseTimes)}return ret}var primitive=formatPrimitive(ctx,value);if(primitive){return primitive}var keys=Object.keys(value);var visibleKeys=arrayToHash(keys);if(ctx.showHidden){keys=Object.getOwnPropertyNames(value)}if(isError(value)&&(keys.indexOf("message")>=0||keys.indexOf("description")>=0)){return formatError(value)}if(keys.length===0){if(isFunction(value)){var name=value.name?": "+value.name:"";return ctx.stylize("[Function"+name+"]","special")}if(isRegExp(value)){return ctx.stylize(RegExp.prototype.toString.call(value),"regexp")}if(isDate(value)){return ctx.stylize(Date.prototype.toString.call(value),"date")}if(isError(value)){return formatError(value)}}var base="",array=false,braces=["{","}"];if(isArray(value)){array=true;braces=["[","]"]}if(isFunction(value)){var n=value.name?": "+value.name:"";base=" [Function"+n+"]"}if(isRegExp(value)){base=" "+RegExp.prototype.toString.call(value)}if(isDate(value)){base=" "+Date.prototype.toUTCString.call(value)}if(isError(value)){base=" "+formatError(value)}if(keys.length===0&&(!array||value.length==0)){return braces[0]+base+braces[1]}if(recurseTimes<0){if(isRegExp(value)){return ctx.stylize(RegExp.prototype.toString.call(value),"regexp")}else{return ctx.stylize("[Object]","special")}}ctx.seen.push(value);var output;if(array){output=formatArray(ctx,value,recurseTimes,visibleKeys,keys)}else{output=keys.map(function(key){return formatProperty(ctx,value,recurseTimes,visibleKeys,key,array)})}ctx.seen.pop();return reduceToSingleString(output,base,braces)}function formatPrimitive(ctx,value){if(isUndefined(value))return ctx.stylize("undefined","undefined");if(isString(value)){var simple="'"+JSON.stringify(value).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ctx.stylize(simple,"string")}if(isNumber(value))return ctx.stylize(""+value,"number");if(isBoolean(value))return ctx.stylize(""+value,"boolean");if(isNull(value))return ctx.stylize("null","null")}function formatError(value){return"["+Error.prototype.toString.call(value)+"]"}function formatArray(ctx,value,recurseTimes,visibleKeys,keys){var output=[];for(var i=0,l=value.length;i-1){if(array){str=str.split("\n").map(function(line){return" "+line}).join("\n").substr(2)}else{str="\n"+str.split("\n").map(function(line){return" "+line}).join("\n")}}}else{str=ctx.stylize("[Circular]","special")}}if(isUndefined(name)){if(array&&key.match(/^\d+$/)){return str}name=JSON.stringify(""+key);if(name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)){name=name.substr(1,name.length-2);name=ctx.stylize(name,"name")}else{name=name.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'");name=ctx.stylize(name,"string")}}return name+": "+str}function reduceToSingleString(output,base,braces){var numLinesEst=0;var length=output.reduce(function(prev,cur){numLinesEst++;if(cur.indexOf("\n")>=0)numLinesEst++;return prev+cur.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(length>60){return braces[0]+(base===""?"":base+"\n ")+" "+output.join(",\n ")+" "+braces[1]}return braces[0]+base+" "+output.join(", ")+" "+braces[1]}function isArray(ar){return Array.isArray(ar)}exports.isArray=isArray;function isBoolean(arg){return typeof arg==="boolean"}exports.isBoolean=isBoolean;function isNull(arg){return arg===null}exports.isNull=isNull;function isNullOrUndefined(arg){return arg==null}exports.isNullOrUndefined=isNullOrUndefined;function isNumber(arg){return typeof arg==="number"}exports.isNumber=isNumber;function isString(arg){return typeof arg==="string"}exports.isString=isString;function isSymbol(arg){return typeof arg==="symbol"}exports.isSymbol=isSymbol;function isUndefined(arg){return arg===void 0}exports.isUndefined=isUndefined;function isRegExp(re){return isObject(re)&&objectToString(re)==="[object RegExp]"}exports.isRegExp=isRegExp;function isObject(arg){return typeof arg==="object"&&arg!==null}exports.isObject=isObject;function isDate(d){return isObject(d)&&objectToString(d)==="[object Date]"}exports.isDate=isDate;function isError(e){return isObject(e)&&(objectToString(e)==="[object Error]"||e instanceof Error)}exports.isError=isError;function isFunction(arg){return typeof arg==="function"}exports.isFunction=isFunction;function isPrimitive(arg){return arg===null||typeof arg==="boolean"||typeof arg==="number"||typeof arg==="string"||typeof arg==="symbol"||typeof arg==="undefined"}exports.isPrimitive=isPrimitive;exports.isBuffer=require("./support/isBuffer");function objectToString(o){return Object.prototype.toString.call(o)}function pad(n){return n<10?"0"+n.toString(10):n.toString(10)}var months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function timestamp(){var d=new Date;var time=[pad(d.getHours()),pad(d.getMinutes()),pad(d.getSeconds())].join(":");return[d.getDate(),months[d.getMonth()],time].join(" ")}exports.log=function(){console.log("%s - %s",timestamp(),exports.format.apply(exports,arguments))};exports.inherits=require("inherits");exports._extend=function(origin,add){if(!add||!isObject(add))return origin;var keys=Object.keys(add);var i=keys.length;while(i--){origin[keys[i]]=add[keys[i]]}return origin};function hasOwnProperty(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}}).call(this)}).call(this,require("_process"),typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./support/isBuffer":227,_process:195,inherits:226}],229:[function(require,module,exports){module.exports=extend;var hasOwnProperty=Object.prototype.hasOwnProperty;function extend(){var target={};for(var i=0;i checkpoint");er.position=position;er.checkpoint=this.checkpoint;throw er}this.result+=this.source.slice(this.checkpoint,position);this.checkpoint=position;return this};StringBuilder.prototype.escapeChar=function(){var character,esc;character=this.source.charCodeAt(this.checkpoint);esc=ESCAPE_SEQUENCES[character]||encodeHex(character);this.result+=esc;this.checkpoint+=1;return this};StringBuilder.prototype.finish=function(){if(this.source.length>this.checkpoint){this.takeUpTo(this.source.length)}};function writeScalar(state,object,level){var simple,first,spaceWrap,folded,literal,single,double,sawLineFeed,linePosition,longestLine,indent,max,character,position,escapeSeq,hexEsc,previous,lineLength,modifier,trailingLineBreaks,result;if(0===object.length){state.dump="''";return}if(object.indexOf("!include")==0){state.dump=""+object;return}if(object.indexOf("!$$$novalue")==0){state.dump="";return}if(-1!==DEPRECATED_BOOLEANS_SYNTAX.indexOf(object)){state.dump="'"+object+"'";return}simple=true;first=object.length?object.charCodeAt(0):0;spaceWrap=CHAR_SPACE===first||CHAR_SPACE===object.charCodeAt(object.length-1);if(CHAR_MINUS===first||CHAR_QUESTION===first||CHAR_COMMERCIAL_AT===first||CHAR_GRAVE_ACCENT===first){simple=false}if(spaceWrap){simple=false;folded=false;literal=false}else{folded=true;literal=true}single=true;double=new StringBuilder(object);sawLineFeed=false;linePosition=0;longestLine=0;indent=state.indent*level;max=80;if(indent<40){max-=indent}else{max=40}for(position=0;position0){previous=object.charCodeAt(position-1);if(previous===CHAR_SPACE){literal=false;folded=false}}if(folded){lineLength=position-linePosition;linePosition=position;if(lineLength>longestLine){longestLine=lineLength}}}if(character!==CHAR_DOUBLE_QUOTE){single=false}double.takeUpTo(position);double.escapeChar()}if(simple&&testImplicitResolving(state,object)){simple=false}modifier="";if(folded||literal){trailingLineBreaks=0;if(object.charCodeAt(object.length-1)===CHAR_LINE_FEED){trailingLineBreaks+=1;if(object.charCodeAt(object.length-2)===CHAR_LINE_FEED){trailingLineBreaks+=1}}if(trailingLineBreaks===0){modifier="-"}else if(trailingLineBreaks===2){modifier="+"}}if(literal&&longestLine"+modifier+"\n"+indentString(result,indent)}else if(literal){if(!modifier){object=object.replace(/\n$/,"")}state.dump="|"+modifier+"\n"+indentString(object,indent)}else if(double){double.finish();state.dump='"'+double.result+'"'}else{throw new Error("Failed to dump scalar value")}return}function fold(object,max){var result="",position=0,length=object.length,trailing=/\n+$/.exec(object),newLine;if(trailing){length=trailing.index+1}while(positionlength||newLine===-1){if(result){result+="\n\n"}result+=foldLine(object.slice(position,length),max);position=length}else{if(result){result+="\n\n"}result+=foldLine(object.slice(position,newLine),max);position=newLine+1}}if(trailing&&trailing[0]!=="\n"){result+=trailing[0]}return result}function foldLine(line,max){if(line===""){return line}var foldRe=/[^\s] [^\s]/g,result="",prevMatch=0,foldStart=0,match=foldRe.exec(line),index,foldEnd,folded;while(match){index=match.index;if(index-foldStart>max){if(prevMatch!==foldStart){foldEnd=prevMatch}else{foldEnd=index}if(result){result+="\n"}folded=line.slice(foldStart,foldEnd);result+=folded;foldStart=foldEnd+1}prevMatch=index+1;match=foldRe.exec(line)}if(result){result+="\n"}if(foldStart!==prevMatch&&line.length-foldStart>max){result+=line.slice(foldStart,prevMatch)+"\n"+line.slice(prevMatch+1)}else{result+=line.slice(foldStart)}return result}function simpleChar(character){return CHAR_TAB!==character&&CHAR_LINE_FEED!==character&&CHAR_CARRIAGE_RETURN!==character&&CHAR_COMMA!==character&&CHAR_LEFT_SQUARE_BRACKET!==character&&CHAR_RIGHT_SQUARE_BRACKET!==character&&CHAR_LEFT_CURLY_BRACKET!==character&&CHAR_RIGHT_CURLY_BRACKET!==character&&CHAR_SHARP!==character&&CHAR_AMPERSAND!==character&&CHAR_ASTERISK!==character&&CHAR_EXCLAMATION!==character&&CHAR_VERTICAL_LINE!==character&&CHAR_GREATER_THAN!==character&&CHAR_SINGLE_QUOTE!==character&&CHAR_DOUBLE_QUOTE!==character&&CHAR_PERCENT!==character&&CHAR_COLON!==character&&!ESCAPE_SEQUENCES[character]&&!needsHexEscape(character)}function needsHexEscape(character){return!(32<=character&&character<=126||133===character||160<=character&&character<=55295||57344<=character&&character<=65533||65536<=character&&character<=1114111)}function writeFlowSequence(state,level,object){var _result="",_tag=state.tag,index,length;for(index=0,length=object.length;index1024){pairBuffer+="? "}pairBuffer+=state.dump+": ";if(!writeNode(state,level,objectValue,false,false)){continue}pairBuffer+=state.dump;_result+=pairBuffer}state.tag=_tag;state.dump="{"+_result+"}"}function writeBlockMapping(state,level,object,compact){var _result="",_tag=state.tag,objectKeyList=Object.keys(object),index,length,objectKey,objectValue,explicitPair,pairBuffer;for(index=0,length=objectKeyList.length;index1024;if(explicitPair){if(state.dump&&CHAR_LINE_FEED===state.dump.charCodeAt(0)){pairBuffer+="?"}else{pairBuffer+="? "}}pairBuffer+=state.dump;if(explicitPair){pairBuffer+=generateNextLine(state,level)}if(!writeNode(state,level+1,objectValue,true,explicitPair)){continue}if(state.dump&&CHAR_LINE_FEED===state.dump.charCodeAt(0)){pairBuffer+=":"}else{pairBuffer+=": "}pairBuffer+=state.dump;_result+=pairBuffer}state.tag=_tag;state.dump=_result||"{}"}function detectType(state,object,explicit){var _result,typeList,index,length,type,style;typeList=explicit?state.explicitTypes:state.implicitTypes;for(index=0,length=typeList.length;index tag resolver accepts not "'+style+'" style')}state.dump=_result}return true}}return false}function writeNode(state,level,object,block,compact){state.tag=null;state.dump=object;if(!detectType(state,object,false)){detectType(state,object,true)}var type=_toString.call(state.dump);if(block){block=0>state.flowLevel||state.flowLevel>level}if(null!==state.tag&&"?"!==state.tag||2!==state.indent&&level>0){compact=false}var objectOrArray="[object Object]"===type||"[object Array]"===type,duplicateIndex,duplicate;if(objectOrArray){duplicateIndex=state.duplicates.indexOf(object);duplicate=duplicateIndex!==-1}if(duplicate&&state.usedDuplicates[duplicateIndex]){state.dump="*ref_"+duplicateIndex}else{if(objectOrArray&&duplicate&&!state.usedDuplicates[duplicateIndex]){state.usedDuplicates[duplicateIndex]=true}if("[object Object]"===type){if(block&&0!==Object.keys(state.dump).length){writeBlockMapping(state,level,state.dump,compact);if(duplicate){state.dump="&ref_"+duplicateIndex+(0===level?"\n":"")+state.dump}}else{writeFlowMapping(state,level,state.dump);if(duplicate){state.dump="&ref_"+duplicateIndex+" "+state.dump}}}else if("[object Array]"===type){if(block&&0!==state.dump.length){writeBlockSequence(state,level,state.dump,compact);if(duplicate){state.dump="&ref_"+duplicateIndex+(0===level?"\n":"")+state.dump}}else{writeFlowSequence(state,level,state.dump);if(duplicate){state.dump="&ref_"+duplicateIndex+" "+state.dump}}}else if("[object String]"===type){if("?"!==state.tag){writeScalar(state,state.dump,level)}}else{if(state.skipInvalid){return false}throw new YAMLException("unacceptable kind of an object to dump "+type)}if(null!==state.tag&&"?"!==state.tag){state.dump="!<"+state.tag+"> "+state.dump}}return true}function getDuplicateReferences(object,state){var objects=[],duplicatesIndexes=[],index,length;inspectNode(object,objects,duplicatesIndexes);for(index=0,length=duplicatesIndexes.length;index>10)+55296,(c-65536&1023)+56320)}var simpleEscapeCheck=new Array(256);var simpleEscapeMap=new Array(256);var customEscapeCheck=new Array(256);var customEscapeMap=new Array(256);for(var i=0;i<256;i++){customEscapeMap[i]=simpleEscapeMap[i]=simpleEscapeSequence(i);simpleEscapeCheck[i]=simpleEscapeMap[i]?1:0;customEscapeCheck[i]=1;if(!simpleEscapeCheck[i]){customEscapeMap[i]="\\"+String.fromCharCode(i)}}var State=function(){function State(input,options){this.errorMap={};this.errors=[];this.lines=[];this.input=input;this.filename=options["filename"]||null;this.schema=options["schema"]||DEFAULT_FULL_SCHEMA;this.onWarning=options["onWarning"]||null;this.legacy=options["legacy"]||false;this.allowAnyEscape=options["allowAnyEscape"]||false;this.ignoreDuplicateKeys=options["ignoreDuplicateKeys"]||false;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=input.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.documents=[]}return State}();function generateError(state,message,isWarning){if(isWarning===void 0){isWarning=false}return new YAMLException(message,new Mark(state.filename,state.input,state.position,state.line,state.position-state.lineStart),isWarning)}function throwErrorFromPosition(state,position,message,isWarning,toLineEnd){if(isWarning===void 0){isWarning=false}if(toLineEnd===void 0){toLineEnd=false}var line=positionToLine(state,position);if(!line){return}var hash=message+position;if(state.errorMap[hash]){return}var mark=new Mark(state.filename,state.input,position,line.line,position-line.start);if(toLineEnd){mark.toLineEnd=true}var error=new YAMLException(message,mark,isWarning);state.errors.push(error)}function throwError(state,message){var error=generateError(state,message);var hash=error.message+error.mark.position;if(state.errorMap[hash]){return}state.errors.push(error);state.errorMap[hash]=1;var or=state.position;while(true){if(state.position>=state.input.length-1){return}var c=state.input.charAt(state.position);if(c=="\n"){state.position--;if(state.position==or){state.position+=1}return}if(c=="\r"){state.position--;if(state.position==or){state.position+=1}return}state.position++}}function throwWarning(state,message){var error=generateError(state,message);if(state.onWarning){state.onWarning.call(null,error)}else{}}var directiveHandlers={YAML:function handleYamlDirective(state,name,args){var match,major,minor;if(null!==state.version){throwError(state,"duplication of %YAML directive")}if(1!==args.length){throwError(state,"YAML directive accepts exactly one argument")}match=/^([0-9]+)\.([0-9]+)$/.exec(args[0]);if(null===match){throwError(state,"ill-formed argument of the YAML directive")}major=parseInt(match[1],10);minor=parseInt(match[2],10);if(1!==major){throwError(state,"found incompatible YAML document (version 1.2 is required)")}state.version=args[0];state.checkLineBreaks=minor<2;if(2!==minor){throwError(state,"found incompatible YAML document (version 1.2 is required)")}},TAG:function handleTagDirective(state,name,args){var handle,prefix;if(2!==args.length){throwError(state,"TAG directive accepts exactly two arguments")}handle=args[0];prefix=args[1];if(!PATTERN_TAG_HANDLE.test(handle)){throwError(state,"ill-formed tag handle (first argument) of the TAG directive")}if(_hasOwnProperty.call(state.tagMap,handle)){throwError(state,'there is a previously declared suffix for "'+handle+'" tag handle')}if(!PATTERN_TAG_URI.test(prefix)){throwError(state,"ill-formed tag prefix (second argument) of the TAG directive")}state.tagMap[handle]=prefix}};function captureSegment(state,start,end,checkJson){var _position,_length,_character,_result;var scalar=state.result;if(scalar.startPosition==-1){scalar.startPosition=start}if(start<=end){_result=state.input.slice(start,end);if(checkJson){for(_position=0,_length=_result.length;_position<_length;_position+=1){_character=_result.charCodeAt(_position);if(!(9===_character||32<=_character&&_character<=1114111)){throwError(state,"expected valid JSON character")}}}else if(PATTERN_NON_PRINTABLE.test(_result)){throwError(state,"the stream contains non-printable characters")}scalar.value+=_result;scalar.endPosition=end}}function mergeMappings(state,destination,source){var sourceKeys,key,index,quantity;if(!common.isObject(source)){throwError(state,"cannot merge mappings; the provided source object is unacceptable")}sourceKeys=Object.keys(source);for(index=0,quantity=sourceKeys.length;indexposition){break}line=state.lines[i]}if(!line){return{start:0,line:0}}return line}function skipSeparationSpace(state,allowComments,checkIndent){var lineBreaks=0,ch=state.input.charCodeAt(state.position);while(0!==ch){while(is_WHITE_SPACE(ch)){if(ch===9){state.errors.push(generateError(state,"Using tabs can lead to unpredictable results",true))}ch=state.input.charCodeAt(++state.position)}if(allowComments&&35===ch){do{ch=state.input.charCodeAt(++state.position)}while(ch!==10&&ch!==13&&0!==ch)}if(is_EOL(ch)){readLineBreak(state);ch=state.input.charCodeAt(state.position);lineBreaks++;state.lineIndent=0;while(32===ch){state.lineIndent++;ch=state.input.charCodeAt(++state.position)}}else{break}}if(-1!==checkIndent&&0!==lineBreaks&&state.lineIndent1){scalar.value+=common.repeat("\n",count-1)}}function readPlainScalar(state,nodeIndent,withinFlowCollection){var preceding,following,captureStart,captureEnd,hasPendingContent,_line,_lineStart,_lineIndent,_kind=state.kind,_result=state.result,ch;var state_result=ast.newScalar();state_result.plainScalar=true;state.result=state_result;ch=state.input.charCodeAt(state.position);if(is_WS_OR_EOL(ch)||is_FLOW_INDICATOR(ch)||35===ch||38===ch||42===ch||33===ch||124===ch||62===ch||39===ch||34===ch||37===ch||64===ch||96===ch){return false}if(63===ch||45===ch){following=state.input.charCodeAt(state.position+1);if(is_WS_OR_EOL(following)||withinFlowCollection&&is_FLOW_INDICATOR(following)){return false}}state.kind="scalar";captureStart=captureEnd=state.position;hasPendingContent=false;while(0!==ch){if(58===ch){following=state.input.charCodeAt(state.position+1);if(is_WS_OR_EOL(following)||withinFlowCollection&&is_FLOW_INDICATOR(following)){break}}else if(35===ch){preceding=state.input.charCodeAt(state.position-1);if(is_WS_OR_EOL(preceding)){break}}else if(state.position===state.lineStart&&testDocumentSeparator(state)||withinFlowCollection&&is_FLOW_INDICATOR(ch)){break}else if(is_EOL(ch)){_line=state.line;_lineStart=state.lineStart;_lineIndent=state.lineIndent;skipSeparationSpace(state,false,-1);if(state.lineIndent>=nodeIndent){hasPendingContent=true;ch=state.input.charCodeAt(state.position);continue}else{state.position=captureEnd;state.line=_line;state.lineStart=_lineStart;state.lineIndent=_lineIndent;break}}if(hasPendingContent){captureSegment(state,captureStart,captureEnd,false);writeFoldedLines(state,state_result,state.line-_line);captureStart=captureEnd=state.position;hasPendingContent=false}if(!is_WHITE_SPACE(ch)){captureEnd=state.position+1}ch=state.input.charCodeAt(++state.position);if(state.position>=state.input.length){return false}}captureSegment(state,captureStart,captureEnd,false);if(state.result.startPosition!=-1){state_result.rawValue=state.input.substring(state_result.startPosition,state_result.endPosition);return true}state.kind=_kind;state.result=_result;return false}function readSingleQuotedScalar(state,nodeIndent){var ch,captureStart,captureEnd;ch=state.input.charCodeAt(state.position);if(39!==ch){return false}var scalar=ast.newScalar();scalar.singleQuoted=true;state.kind="scalar";state.result=scalar;scalar.startPosition=state.position;state.position++;captureStart=captureEnd=state.position;while(0!==(ch=state.input.charCodeAt(state.position))){if(39===ch){captureSegment(state,captureStart,state.position,true);ch=state.input.charCodeAt(++state.position);scalar.endPosition=state.position;if(39===ch){captureStart=captureEnd=state.position;state.position++}else{return true}}else if(is_EOL(ch)){captureSegment(state,captureStart,captureEnd,true);writeFoldedLines(state,scalar,skipSeparationSpace(state,false,nodeIndent));captureStart=captureEnd=state.position}else if(state.position===state.lineStart&&testDocumentSeparator(state)){throwError(state,"unexpected end of the document within a single quoted scalar")}else{state.position++;captureEnd=state.position;scalar.endPosition=state.position}}throwError(state,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(state,nodeIndent){var captureStart,captureEnd,hexLength,hexResult,tmp,tmpEsc,ch;ch=state.input.charCodeAt(state.position);if(34!==ch){return false}state.kind="scalar";var scalar=ast.newScalar();scalar.doubleQuoted=true;state.result=scalar;scalar.startPosition=state.position;state.position++;captureStart=captureEnd=state.position;while(0!==(ch=state.input.charCodeAt(state.position))){if(34===ch){captureSegment(state,captureStart,state.position,true);state.position++;scalar.endPosition=state.position;scalar.rawValue=state.input.substring(scalar.startPosition,scalar.endPosition);return true}else if(92===ch){captureSegment(state,captureStart,state.position,true);ch=state.input.charCodeAt(++state.position);if(is_EOL(ch)){skipSeparationSpace(state,false,nodeIndent)}else if(ch<256&&(state.allowAnyEscape?customEscapeCheck[ch]:simpleEscapeCheck[ch])){scalar.value+=state.allowAnyEscape?customEscapeMap[ch]:simpleEscapeMap[ch];state.position++}else if((tmp=escapedHexLen(ch))>0){hexLength=tmp;hexResult=0;for(;hexLength>0;hexLength--){ch=state.input.charCodeAt(++state.position);if((tmp=fromHexCode(ch))>=0){hexResult=(hexResult<<4)+tmp}else{throwError(state,"expected hexadecimal character")}}scalar.value+=charFromCodepoint(hexResult);state.position++}else{throwError(state,"unknown escape sequence")}captureStart=captureEnd=state.position}else if(is_EOL(ch)){captureSegment(state,captureStart,captureEnd,true);writeFoldedLines(state,scalar,skipSeparationSpace(state,false,nodeIndent));captureStart=captureEnd=state.position}else if(state.position===state.lineStart&&testDocumentSeparator(state)){throwError(state,"unexpected end of the document within a double quoted scalar")}else{state.position++;captureEnd=state.position}}throwError(state,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(state,nodeIndent){var readNext=true,_line,_tag=state.tag,_result,_anchor=state.anchor,following,terminator,isPair,isExplicitPair,isMapping,keyNode,keyTag,valueNode,ch;ch=state.input.charCodeAt(state.position);if(ch===91){terminator=93;isMapping=false;_result=ast.newItems();_result.startPosition=state.position}else if(ch===123){terminator=125;isMapping=true;_result=ast.newMap();_result.startPosition=state.position}else{return false}if(null!==state.anchor){_result.anchorId=state.anchor;state.anchorMap[state.anchor]=_result}ch=state.input.charCodeAt(++state.position);while(0!==ch){skipSeparationSpace(state,true,nodeIndent);ch=state.input.charCodeAt(state.position);if(ch===terminator){state.position++;state.tag=_tag;state.anchor=_anchor;state.kind=isMapping?"mapping":"sequence";state.result=_result;_result.endPosition=state.position;return true}else if(!readNext){var p=state.position;throwError(state,"missed comma between flow collection entries");state.position=p+1}keyTag=keyNode=valueNode=null;isPair=isExplicitPair=false;if(63===ch){following=state.input.charCodeAt(state.position+1);if(is_WS_OR_EOL(following)){isPair=isExplicitPair=true;state.position++;skipSeparationSpace(state,true,nodeIndent)}}_line=state.line;composeNode(state,nodeIndent,CONTEXT_FLOW_IN,false,true);keyTag=state.tag;keyNode=state.result;skipSeparationSpace(state,true,nodeIndent);ch=state.input.charCodeAt(state.position);if((isExplicitPair||state.line===_line)&&58===ch){isPair=true;ch=state.input.charCodeAt(++state.position);skipSeparationSpace(state,true,nodeIndent);composeNode(state,nodeIndent,CONTEXT_FLOW_IN,false,true);valueNode=state.result}if(isMapping){storeMappingPair(state,_result,keyTag,keyNode,valueNode)}else if(isPair){var mp=storeMappingPair(state,null,keyTag,keyNode,valueNode);mp.parent=_result;_result.items.push(mp)}else{if(keyNode){keyNode.parent=_result}_result.items.push(keyNode)}_result.endPosition=state.position+1;skipSeparationSpace(state,true,nodeIndent);ch=state.input.charCodeAt(state.position);if(44===ch){readNext=true;ch=state.input.charCodeAt(++state.position)}else{readNext=false}}throwError(state,"unexpected end of the stream within a flow collection")}function readBlockScalar(state,nodeIndent){var captureStart,folding,chomping=CHOMPING_CLIP,detectedIndent=false,textIndent=nodeIndent,emptyLines=0,atMoreIndented=false,tmp,ch;ch=state.input.charCodeAt(state.position);if(ch===124){folding=false}else if(ch===62){folding=true}else{return false}var sc=ast.newScalar();state.kind="scalar";state.result=sc;sc.startPosition=state.position;while(0!==ch){ch=state.input.charCodeAt(++state.position);if(43===ch||45===ch){if(CHOMPING_CLIP===chomping){chomping=43===ch?CHOMPING_KEEP:CHOMPING_STRIP}else{throwError(state,"repeat of a chomping mode identifier")}}else if((tmp=fromDecimalCode(ch))>=0){if(tmp===0){throwError(state,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!detectedIndent){textIndent=nodeIndent+tmp-1;detectedIndent=true}else{throwError(state,"repeat of an indentation width identifier")}}else{break}}if(is_WHITE_SPACE(ch)){do{ch=state.input.charCodeAt(++state.position)}while(is_WHITE_SPACE(ch));if(35===ch){do{ch=state.input.charCodeAt(++state.position)}while(!is_EOL(ch)&&0!==ch)}}while(0!==ch){readLineBreak(state);state.lineIndent=0;ch=state.input.charCodeAt(state.position);while((!detectedIndent||state.lineIndenttextIndent){textIndent=state.lineIndent}if(is_EOL(ch)){emptyLines++;continue}if(state.lineIndentnodeIndent)&&0!==ch){throwError(state,"bad indentation of a sequence entry")}else if(state.lineIndent0){ch=state.input.charCodeAt(--state.position);if(is_EOL(ch)){state.position++;break}}}else{state.tag=_tag;state.anchor=_anchor;return true}}else{break}if(state.line===_line||state.lineIndent>nodeIndent){if(composeNode(state,nodeIndent,CONTEXT_BLOCK_OUT,true,allowCompact)){if(atExplicitKey){keyNode=state.result}else{valueNode=state.result}}if(!atExplicitKey){storeMappingPair(state,_result,keyTag,keyNode,valueNode);keyTag=keyNode=valueNode=null}skipSeparationSpace(state,true,-1);ch=state.input.charCodeAt(state.position)}if(state.lineIndent>nodeIndent&&0!==ch){throwError(state,"bad indentation of a mapping entry")}else if(state.lineIndentparentIndent){indentStatus=1}else if(state.lineIndent===parentIndent){indentStatus=0}else if(state.lineIndentparentIndent){indentStatus=1}else if(state.lineIndent===parentIndent){indentStatus=0}else if(state.lineIndent tag; it should be "'+type.kind+'", not "'+state.kind+'"')}if(!type.resolve(state.result)){throwError(state,"cannot resolve a node with !<"+state.tag+"> explicit tag")}else{state.result=type.construct(state.result);if(null!==state.anchor){state.result.anchorId=state.anchor;state.anchorMap[state.anchor]=state.result}}}else{throwErrorFromPosition(state,tagStart,"unknown tag <"+state.tag+">",false,true)}}return null!==state.tag||null!==state.anchor||hasContent}function readDocument(state){var documentStart=state.position,_position,directiveName,directiveArgs,hasDirectives=false,ch;state.version=null;state.checkLineBreaks=state.legacy;state.tagMap={};state.anchorMap={};while(0!==(ch=state.input.charCodeAt(state.position))){skipSeparationSpace(state,true,-1);ch=state.input.charCodeAt(state.position);if(state.lineIndent>0||37!==ch){break}hasDirectives=true;ch=state.input.charCodeAt(++state.position);_position=state.position;while(0!==ch&&!is_WS_OR_EOL(ch)){ch=state.input.charCodeAt(++state.position)}directiveName=state.input.slice(_position,state.position);directiveArgs=[];if(directiveName.length<1){throwError(state,"directive name must not be less than one character in length")}while(0!==ch){while(is_WHITE_SPACE(ch)){ch=state.input.charCodeAt(++state.position)}if(35===ch){do{ch=state.input.charCodeAt(++state.position)}while(0!==ch&&!is_EOL(ch));break}if(is_EOL(ch)){break}_position=state.position;while(0!==ch&&!is_WS_OR_EOL(ch)){ch=state.input.charCodeAt(++state.position)}directiveArgs.push(state.input.slice(_position,state.position))}if(0!==ch){readLineBreak(state)}if(_hasOwnProperty.call(directiveHandlers,directiveName)){directiveHandlers[directiveName](state,directiveName,directiveArgs)}else{throwWarning(state,'unknown document directive "'+directiveName+'"');state.position++}}skipSeparationSpace(state,true,-1);if(0===state.lineIndent&&45===state.input.charCodeAt(state.position)&&45===state.input.charCodeAt(state.position+1)&&45===state.input.charCodeAt(state.position+2)){state.position+=3;skipSeparationSpace(state,true,-1)}else if(hasDirectives){throwError(state,"directives end mark is expected")}composeNode(state,state.lineIndent-1,CONTEXT_BLOCK_OUT,false,true);skipSeparationSpace(state,true,-1);if(state.checkLineBreaks&&PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart,state.position))){throwWarning(state,"non-ASCII line breaks are interpreted as content")}state.documents.push(state.result);if(state.position===state.lineStart&&testDocumentSeparator(state)){if(46===state.input.charCodeAt(state.position)){state.position+=3;skipSeparationSpace(state,true,-1)}return}if(state.position0){documents[docsCount-1].endPosition=inputLength}for(var _i=0,documents_1=documents;_ix.endPosition){x.startPosition=x.endPosition}}return documents}function loadAll(input,iterator,options){if(options===void 0){options={}}var documents=loadDocuments(input,options),index,length;for(index=0,length=documents.length;index0&&-1==="\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(start-1))){start-=1;if(this.position-start>maxLength/2-1){head=" ... ";start+=5;break}}tail="";end=this.position;while(endmaxLength/2-1){tail=" ... ";end-=5;break}}snippet=this.buffer.slice(start,end);return common.repeat(" ",indent)+head+snippet+tail+"\n"+common.repeat(" ",indent+this.position-start+head.length)+"^"};Mark.prototype.toString=function(compact){if(compact===void 0){compact=true}var snippet,where="";if(this.name){where+='in "'+this.name+'" '}where+="at line "+(this.line+1)+", column "+(this.column+1);if(!compact){snippet=this.getSnippet();if(snippet){where+=":\n"+snippet}}return where};return Mark}();module.exports=Mark},{"./common":230}],236:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});function parseYamlBoolean(input){if(["true","True","TRUE"].lastIndexOf(input)>=0){return true}else if(["false","False","FALSE"].lastIndexOf(input)>=0){return false}throw'Invalid boolean "'+input+'"'}exports.parseYamlBoolean=parseYamlBoolean;function safeParseYamlInteger(input){if(input.lastIndexOf("0o",0)===0){return parseInt(input.substring(2),8)}return parseInt(input)}function parseYamlInteger(input){var result=safeParseYamlInteger(input);if(isNaN(result)){throw'Invalid integer "'+input+'"'}return result}exports.parseYamlInteger=parseYamlInteger;function parseYamlFloat(input){if([".nan",".NaN",".NAN"].lastIndexOf(input)>=0){return NaN}var infinity=/^([-+])?(?:\.inf|\.Inf|\.INF)$/;var match=infinity.exec(input);if(match){return match[1]==="-"?-Infinity:Infinity}var result=parseFloat(input);if(!isNaN(result)){return result}throw'Invalid float "'+input+'"'}exports.parseYamlFloat=parseYamlFloat;var ScalarType;(function(ScalarType){ScalarType[ScalarType["null"]=0]="null";ScalarType[ScalarType["bool"]=1]="bool";ScalarType[ScalarType["int"]=2]="int";ScalarType[ScalarType["float"]=3]="float";ScalarType[ScalarType["string"]=4]="string"})(ScalarType=exports.ScalarType||(exports.ScalarType={}));function determineScalarType(node){if(node===undefined){return ScalarType.null}if(node.doubleQuoted||!node.plainScalar||node["singleQuoted"]){return ScalarType.string}var value=node.value;if(["null","Null","NULL","~",""].indexOf(value)>=0){return ScalarType.null}if(value===null||value===undefined){return ScalarType.null}if(["true","True","TRUE","false","False","FALSE"].indexOf(value)>=0){return ScalarType.bool}var base10=/^[-+]?[0-9]+$/;var base8=/^0o[0-7]+$/;var base16=/^0x[0-9a-fA-F]+$/;if(base10.test(value)||base8.test(value)||base16.test(value)){return ScalarType.int}var float=/^[-+]?(\.[0-9]+|[0-9]+(\.[0-9]*)?)([eE][-+]?[0-9]+)?$/;var infinity=/^[-+]?(\.inf|\.Inf|\.INF)$/;if(float.test(value)||infinity.test(value)||[".nan",".NaN",".NAN"].indexOf(value)>=0){return ScalarType.float}return ScalarType.string}exports.determineScalarType=determineScalarType},{}],237:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});var common=require("./common");var YAMLException=require("./exception");var type_1=require("./type");function compileList(schema,name,result){var exclude=[];schema.include.forEach(function(includedSchema){result=compileList(includedSchema,name,result)});schema[name].forEach(function(currentType){result.forEach(function(previousType,previousIndex){if(previousType.tag===currentType.tag){exclude.push(previousIndex)}});result.push(currentType)});return result.filter(function(type,index){return-1===exclude.indexOf(index)})}function compileMap(){var result={},index,length;function collectType(type){result[type.tag]=type}for(index=0,length=arguments.length;index64){continue}if(code<0){return false}bitlen+=6}return bitlen%8===0}function constructYamlBinary(data){var code,idx,tailbits,input=data.replace(/[\r\n=]/g,""),max=input.length,map=BASE64_MAP,bits=0,result=[];for(idx=0;idx>16&255);result.push(bits>>8&255);result.push(bits&255)}bits=bits<<6|map.indexOf(input.charAt(idx))}tailbits=max%4*6;if(tailbits===0){result.push(bits>>16&255);result.push(bits>>8&255);result.push(bits&255)}else if(tailbits===18){result.push(bits>>10&255);result.push(bits>>2&255)}else if(tailbits===12){result.push(bits>>4&255)}if(NodeBuffer){return new NodeBuffer(result)}return result}function representYamlBinary(object){var result="",bits=0,idx,tail,max=object.length,map=BASE64_MAP;for(idx=0;idx>18&63];result+=map[bits>>12&63];result+=map[bits>>6&63];result+=map[bits&63]}bits=(bits<<8)+object[idx]}tail=max%3;if(tail===0){result+=map[bits>>18&63];result+=map[bits>>12&63];result+=map[bits>>6&63];result+=map[bits&63]}else if(tail===2){result+=map[bits>>10&63];result+=map[bits>>4&63];result+=map[bits<<2&63];result+=map[64]}else if(tail===1){result+=map[bits>>2&63];result+=map[bits<<4&63];result+=map[64];result+=map[64]}return result}function isBinary(object){return NodeBuffer&&NodeBuffer.isBuffer(object)}module.exports=new type_1.Type("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary})},{"../type":243,buffer:151}],245:[function(require,module,exports){"use strict";"use strict";var type_1=require("../type");function resolveYamlBoolean(data){if(null===data){return false}var max=data.length;return max===4&&(data==="true"||data==="True"||data==="TRUE")||max===5&&(data==="false"||data==="False"||data==="FALSE")}function constructYamlBoolean(data){return data==="true"||data==="True"||data==="TRUE"}function isBoolean(object){return"[object Boolean]"===Object.prototype.toString.call(object)}module.exports=new type_1.Type("tag:yaml.org,2002:bool",{kind:"scalar",resolve:resolveYamlBoolean,construct:constructYamlBoolean,predicate:isBoolean,represent:{lowercase:function(object){return object?"true":"false"},uppercase:function(object){return object?"TRUE":"FALSE"},camelcase:function(object){return object?"True":"False"}},defaultStyle:"lowercase"})},{"../type":243}],246:[function(require,module,exports){"use strict";var common=require("../common");var type_1=require("../type");var YAML_FLOAT_PATTERN=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)\\.[0-9_]*(?:[eE][-+][0-9]+)?"+"|\\.[0-9_]+(?:[eE][-+][0-9]+)?"+"|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(data){if(null===data){return false}var value,sign,base,digits;if(!YAML_FLOAT_PATTERN.test(data)){return false}return true}function constructYamlFloat(data){var value,sign,base,digits;value=data.replace(/_/g,"").toLowerCase();sign="-"===value[0]?-1:1;digits=[];if(0<="+-".indexOf(value[0])){value=value.slice(1)}if(".inf"===value){return 1===sign?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(".nan"===value){return NaN}else if(0<=value.indexOf(":")){value.split(":").forEach(function(v){digits.unshift(parseFloat(v,10))});value=0;base=1;digits.forEach(function(d){value+=d*base;base*=60});return sign*value}return sign*parseFloat(value,10)}function representYamlFloat(object,style){if(isNaN(object)){switch(style){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===object){switch(style){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===object){switch(style){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(common.isNegativeZero(object)){return"-0.0"}return object.toString(10)}function isFloat(object){return"[object Number]"===Object.prototype.toString.call(object)&&(0!==object%1||common.isNegativeZero(object))}module.exports=new type_1.Type("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"})},{"../common":230,"../type":243}],247:[function(require,module,exports){"use strict";var common=require("../common");var type_1=require("../type");function isHexCode(c){return 48<=c&&c<=57||65<=c&&c<=70||97<=c&&c<=102}function isOctCode(c){return 48<=c&&c<=55}function isDecCode(c){return 48<=c&&c<=57}function resolveYamlInteger(data){if(null===data){return false}var max=data.length,index=0,hasDigits=false,ch;if(!max){return false}ch=data[index];if(ch==="-"||ch==="+"){ch=data[++index]}if(ch==="0"){if(index+1===max){return true}ch=data[++index];if(ch==="b"){index++;for(;index3){return false}if(regexp[regexp.length-modifiers.length-1]!=="/"){return false}regexp=regexp.slice(1,regexp.length-modifiers.length-1)}try{var dummy=new RegExp(regexp,modifiers);return true}catch(error){return false}}function constructJavascriptRegExp(data){var regexp=data,tail=/\/([gim]*)$/.exec(data),modifiers="";if("/"===regexp[0]){if(tail){modifiers=tail[1]}regexp=regexp.slice(1,regexp.length-modifiers.length-1)}return new RegExp(regexp,modifiers)}function representJavascriptRegExp(object){var result="/"+object.source+"/";if(object.global){result+="g"}if(object.multiline){result+="m"}if(object.ignoreCase){result+="i"}return result}function isRegExp(object){return"[object RegExp]"===Object.prototype.toString.call(object)}module.exports=new type_1.Type("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:resolveJavascriptRegExp,construct:constructJavascriptRegExp,predicate:isRegExp,represent:representJavascriptRegExp})},{"../../type":243}],249:[function(require,module,exports){"use strict";var type_1=require("../../type");function resolveJavascriptUndefined(){return true}function constructJavascriptUndefined(){return undefined}function representJavascriptUndefined(){return""}function isUndefined(object){return"undefined"===typeof object}module.exports=new type_1.Type("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:resolveJavascriptUndefined,construct:constructJavascriptUndefined,predicate:isUndefined,represent:representJavascriptUndefined})},{"../../type":243}],250:[function(require,module,exports){"use strict";var type_1=require("../type");module.exports=new type_1.Type("tag:yaml.org,2002:map",{kind:"mapping",construct:function(data){return null!==data?data:{}}})},{"../type":243}],251:[function(require,module,exports){"use strict";var type_1=require("../type");function resolveYamlMerge(data){return"<<"===data||null===data}module.exports=new type_1.Type("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge})},{"../type":243}],252:[function(require,module,exports){"use strict";var type_1=require("../type");function resolveYamlNull(data){if(null===data){return true}var max=data.length;return max===1&&data==="~"||max===4&&(data==="null"||data==="Null"||data==="NULL")}function constructYamlNull(){return null}function isNull(object){return null===object}module.exports=new type_1.Type("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull,construct:constructYamlNull,predicate:isNull,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},{"../type":243}],253:[function(require,module,exports){"use strict";var type_1=require("../type");var _hasOwnProperty=Object.prototype.hasOwnProperty;var _toString=Object.prototype.toString;function resolveYamlOmap(data){if(null===data){return true}var objectKeys=[],index,length,pair,pairKey,pairHasKey,object=data;for(index=0,length=object.length;indexMath.PI/2+1e-4?(h=h.concat(this.curveTo(t,e,i,s,o,o+Math.PI/2,a,n))).concat(this.curveTo(t,e,i,s,o+Math.PI/2,r,a,n)):rMath.PI/2+1e-4?(h=h.concat(this.curveTo(t,e,i,s,o,o-Math.PI/2,a,n))).concat(this.curveTo(t,e,i,s,o-Math.PI/2,r,a,n)):[["C",t+i*Math.cos(o)-i*S*l*Math.sin(o)+a,e+s*Math.sin(o)+s*S*l*Math.cos(o)+n,t+i*Math.cos(r)+i*S*l*Math.sin(r)+a,e+s*Math.sin(r)-s*S*l*Math.cos(r)+n,t+i*Math.cos(r)+a,e+s*Math.sin(r)+n]]},A.prototype.toLinePath=function(t,e){var i=[];return t.forEach(function(t){i.push(["L",t.x,t.y])}),t.length&&(i[0][0]="M",e&&i.push(["Z"])),i},A.prototype.toLineSegments=function(t){var e=[],i=!0;return t.forEach(function(t){e.push(i?["M",t.x,t.y]:["L",t.x,t.y]),i=!i}),e},A.prototype.face3d=function(t){var s=this,e=this.createElement("path");return e.vertexes=[],e.insidePlotArea=!1,e.enabled=!0,e.attr=function(t){var e,i;return"object"==typeof t&&(y(t.enabled)||y(t.vertexes)||y(t.insidePlotArea))&&(this.enabled=z(t.enabled,this.enabled),this.vertexes=z(t.vertexes,this.vertexes),this.insidePlotArea=z(t.insidePlotArea,this.insidePlotArea),delete t.enabled,delete t.vertexes,delete t.insidePlotArea,i=g(this.vertexes,b[s.chartIndex],this.insidePlotArea),e=s.toLinePath(i,!0),i=v(i),t.d=e,t.visibility=this.enabled&&0t.faces.length;)a.faces.pop().destroy();for(;a.faces.lengtht.faces.length;)a.faces.pop().destroy();for(;a.faces.lengthMath.PI?2*Math.PI-t:t}var i=t.x||0,s=t.y||0,o=t.start||0,r=(t.end||0)-1e-5,a=t.r||0,n=t.innerR||0,h=t.depth||0,l=t.alpha||0,p=t.beta||0,c=Math.cos(o),d=Math.sin(o),x=(t=Math.cos(r),Math.sin(r)),y=a*Math.cos(p),f=(a*=Math.cos(l),n*Math.cos(p)),u=n*Math.cos(l),n=h*Math.sin(p),z=h*Math.sin(l),b=((h=(h=[["M",i+y*c,s+a*d]]).concat(A.curveTo(i,s,y,a,o,r,0,0))).push(["L",i+f*t,s+u*x]),(h=h.concat(A.curveTo(i,s,f,u,r,o,0,0))).push(["Z"]),0i*s[o][e]||i*s[r][e]==i*s[o][e]&&s[r].z=s.min&&a<=s.max)):e.plotZ=this.zPadding,e.axisXpos=e.plotX,e.axisYpos=e.plotY,e.axisZpos=e.plotZ,o.push({x:e.plotX,y:e.plotY,z:e.plotZ}),r.push(e.plotX||0)}for(this.rawPointsX=r,i=n(o,i,!0),t=0;tr[t[0]+"Axis"].len&&0!==s[t[1]]&&(s[t[1]]=r[t[0]+"Axis"].len-s[t[0]]),0!==s[t[1]]&&(s[t[0]]>=r[t[0]+"Axis"].len||s[t[0]]+s[t[1]]<=l)){for(var e in s)s[e]="y"===e?-9999:0;i.outside3dPlot=!0}}),"rect"===i.shapeType&&(i.shapeType="cuboid"),s.z=h,s.depth=n,s.insidePlotArea=!0,e={x:s.x+s.width/2,y:s.y,z:h+n/2},a.inverted&&(e.x=s.height,e.y=i.clientX),i.plot3d=d([e],a,!0,!1)[0],t=d([{x:t[0],y:t[1],z:h+n/2}],a,!0,!1)[0],i.tooltipPos=[t.x,t.y])}),r.z=h},r(l,"animate",function(t){var e,i,s;this.chart.is3d()?(e=this.yAxis,s=(i=this).yAxis.reversed,p&&(arguments[1]?i.data.forEach(function(t){null!==t.y&&(t.height=t.shapeArgs.height,t.shapey=t.shapeArgs.y,t.shapeArgs.height=1,s||(t.shapeArgs.y=t.stackY?t.plotY+e.translate(t.stackY):t.plotY+(t.negative?-t.height:t.height)))}):(i.data.forEach(function(t){null!==t.y&&(t.shapeArgs.height=t.height,t.shapeArgs.y=t.shapey,t.graphic)&&t.graphic[t.outside3dPlot?"attr":"animate"](t.shapeArgs,i.options.animation)}),this.drawDataLabels()))):t.apply(this,[].slice.call(arguments,1))}),r(l,"plotGroup",function(t,e,i,s,o,r){return"dataLabelsGroup"!==e&&this.chart.is3d()&&(this[e]&&delete this[e],r&&(this.chart.columnGroup||(this.chart.columnGroup=this.chart.renderer.g("columnGroup").add(r)),this[e]=this.chart.columnGroup,this.chart.columnGroup.attr(this.getPlotBox()),this[e].survive=!0,"group"===e||"markerGroup"===e))&&(arguments[3]="visible"),t.apply(this,Array.prototype.slice.call(arguments,1))}),r(l,"setVisible",function(t,e){var i=this;i.chart.is3d()&&i.data.forEach(function(t){t.visible=t.options.visible=e=void 0===e?!x(i.visible,t.visible):e,i.options.data[i.data.indexOf(t)]=t.options,t.graphic&&t.graphic.attr({visibility:e?"visible":"hidden"})}),t.apply(this,Array.prototype.slice.call(arguments,1))}),e(t,"afterInit",function(){if(this.chart.is3d()){var t=this.options,e=t.grouping,i=t.stacking,s=this.yAxis.options.reversedStacks,o=0;if(void 0===e||e){for(r=this.chart,a=i,h=r.series,l={totalStacks:0},p=1,h.forEach(function(t){n=x(t.options.stack,a?0:h.length-1-t.index),l[n]?l[n].series.push(t):(l[n]={series:[t],position:p},p++)}),l.totalStacks=p+1,e=l,o=t.stack||0,i=0;i{point.x}
y: {point.y}
z: {point.z}
"}}),t((o=p).prototype,{axisTypes:["xAxis","yAxis","zAxis"],directTouch:!0,parallelArrays:["x","y","z"],pointArrayMap:["x","y","z"],pointClass:e}),s.registerSeriesType("scatter3d",o),o}),e(t,"masters/highcharts-3d.src.js",[t["Core/Globals.js"],t["Core/Renderer/SVG/SVGRenderer3D.js"],t["Core/Chart/Chart3D.js"],t["Core/Axis/ZAxis.js"],t["Core/Axis/Axis3D.js"],t["Series/Area3D/Area3DSeries.js"]],function(t,e,i,s,o,r){e.compose(t.SVGRenderer),i.compose(t.Chart,t.Fx),s.compose(t.Chart),o.compose(t.Axis),r.compose(t.seriesTypes.area)})}); \ No newline at end of file +!function(e){"object"==typeof module&&module.exports?module.exports=e.default=e:"function"==typeof define&&define.amd?define("highcharts/highcharts-3d",["highcharts"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,i,s){t.hasOwnProperty(e)||(t[e]=s.apply(null,i),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Core/Math3D.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],function(t,e){function s(t,e,i,s){var o=e.options.chart.options3d,r=y(s,!!i&&e.inverted),a={x:e.plotWidth/2,y:e.plotHeight/2,z:o.depth/2,vd:y(o.depth,1)*y(o.viewDistance,0)},n=e.scale3d||1,h=(s=x*o.beta*(r?-1:1),o=x*o.alpha*(r?-1:1),Math.cos(o)),l=Math.cos(-s),p=Math.sin(o),c=Math.sin(-s);return i||(a.x+=e.plotLeft,a.y+=e.plotTop),t.map(function(t){var e=(r?t.y:t.x)-a.x,i=(r?t.x:t.y)-a.y;return t=(t.z||0)-a.z,(i=d(e={x:l*e-c*t,y:-p*c*e+h*i-l*p*t,z:h*c*e+p*i+h*l*t},a,a.vd)).x=i.x*n+a.x,i.y=i.y*n+a.y,i.z=e.z*n+a.z,{x:r?i.y:i.x,y:r?i.x:i.y,z:i.z}})}function d(t,e,i){return e=0Math.PI/2+1e-4?(h=h.concat(this.curveTo(t,e,i,s,o,o+Math.PI/2,a,n))).concat(this.curveTo(t,e,i,s,o+Math.PI/2,r,a,n)):rMath.PI/2+1e-4?(h=h.concat(this.curveTo(t,e,i,s,o,o-Math.PI/2,a,n))).concat(this.curveTo(t,e,i,s,o-Math.PI/2,r,a,n)):[["C",t+i*Math.cos(o)-i*S*l*Math.sin(o)+a,e+s*Math.sin(o)+s*S*l*Math.cos(o)+n,t+i*Math.cos(r)+i*S*l*Math.sin(r)+a,e+s*Math.sin(r)-s*S*l*Math.cos(r)+n,t+i*Math.cos(r)+a,e+s*Math.sin(r)+n]]},A.prototype.toLinePath=function(t,e){var i=[];return t.forEach(function(t){i.push(["L",t.x,t.y])}),t.length&&(i[0][0]="M",e&&i.push(["Z"])),i},A.prototype.toLineSegments=function(t){var e=[],i=!0;return t.forEach(function(t){e.push(i?["M",t.x,t.y]:["L",t.x,t.y]),i=!i}),e},A.prototype.face3d=function(t){var s=this,e=this.createElement("path");return e.vertexes=[],e.insidePlotArea=!1,e.enabled=!0,e.attr=function(t){var e,i;return"object"==typeof t&&(y(t.enabled)||y(t.vertexes)||y(t.insidePlotArea))&&(this.enabled=z(t.enabled,this.enabled),this.vertexes=z(t.vertexes,this.vertexes),this.insidePlotArea=z(t.insidePlotArea,this.insidePlotArea),delete t.enabled,delete t.vertexes,delete t.insidePlotArea,i=g(this.vertexes,b[s.chartIndex],this.insidePlotArea),e=s.toLinePath(i,!0),i=v(i),t.d=e,t.visibility=this.enabled&&0t.faces.length;)a.faces.pop().destroy();for(;a.faces.lengtht.faces.length;)a.faces.pop().destroy();for(;a.faces.lengthMath.PI?2*Math.PI-t:t}var i=t.x||0,s=t.y||0,o=t.start||0,r=(t.end||0)-1e-5,a=t.r||0,n=t.innerR||0,h=t.depth||0,l=t.alpha||0,p=t.beta||0,c=Math.cos(o),d=Math.sin(o),x=(t=Math.cos(r),Math.sin(r)),y=a*Math.cos(p),f=(a*=Math.cos(l),n*Math.cos(p)),u=n*Math.cos(l),n=h*Math.sin(p),z=h*Math.sin(l),b=((h=(h=[["M",i+y*c,s+a*d]]).concat(A.curveTo(i,s,y,a,o,r,0,0))).push(["L",i+f*t,s+u*x]),(h=h.concat(A.curveTo(i,s,f,u,r,o,0,0))).push(["Z"]),0i*s[o][e]||i*s[r][e]==i*s[o][e]&&s[r].z=s.min&&a<=s.max)):e.plotZ=this.zPadding,e.axisXpos=e.plotX,e.axisYpos=e.plotY,e.axisZpos=e.plotZ,o.push({x:e.plotX,y:e.plotY,z:e.plotZ}),r.push(e.plotX||0)}for(this.rawPointsX=r,i=n(o,i,!0),t=0;tr[t[0]+"Axis"].len&&0!==s[t[1]]&&(s[t[1]]=r[t[0]+"Axis"].len-s[t[0]]),0!==s[t[1]]&&(s[t[0]]>=r[t[0]+"Axis"].len||s[t[0]]+s[t[1]]<=l)){for(var e in s)s[e]="y"===e?-9999:0;i.outside3dPlot=!0}}),"rect"===i.shapeType&&(i.shapeType="cuboid"),s.z=h,s.depth=n,s.insidePlotArea=!0,e={x:s.x+s.width/2,y:s.y,z:h+n/2},a.inverted&&(e.x=s.height,e.y=i.clientX),i.plot3d=d([e],a,!0,!1)[0],t=d([{x:t[0],y:t[1],z:h+n/2}],a,!0,!1)[0],i.tooltipPos=[t.x,t.y])}),r.z=h},r(p,"animate",function(t){var e,i,s;this.chart.is3d()?(e=this.yAxis,s=(i=this).yAxis.reversed,c&&(arguments[1]?i.data.forEach(function(t){null!==t.y&&(t.height=t.shapeArgs.height,t.shapey=t.shapeArgs.y,t.shapeArgs.height=1,s||(t.shapeArgs.y=t.stackY?t.plotY+e.translate(t.stackY):t.plotY+(t.negative?-t.height:t.height)))}):(i.data.forEach(function(t){null!==t.y&&(t.shapeArgs.height=t.height,t.shapeArgs.y=t.shapey,t.graphic)&&t.graphic[t.outside3dPlot?"attr":"animate"](t.shapeArgs,i.options.animation)}),this.drawDataLabels()))):t.apply(this,[].slice.call(arguments,1))}),r(p,"plotGroup",function(t,e,i,s,o,r){return"dataLabelsGroup"!==e&&"markerGroup"!==e&&this.chart.is3d()&&(this[e]&&delete this[e],r&&(this.chart.columnGroup||(this.chart.columnGroup=this.chart.renderer.g("columnGroup").add(r)),this[e]=this.chart.columnGroup,this.chart.columnGroup.attr(this.getPlotBox()),this[e].survive=!0,"group"===e&&(arguments[3]="visible"))),t.apply(this,Array.prototype.slice.call(arguments,1))}),r(p,"setVisible",function(t,e){var i=this;i.chart.is3d()&&i.data.forEach(function(t){t.visible=t.options.visible=e=void 0===e?!x(i.visible,t.visible):e,i.options.data[i.data.indexOf(t)]=t.options,t.graphic&&t.graphic.attr({visibility:e?"visible":"hidden"})}),t.apply(this,Array.prototype.slice.call(arguments,1))}),e(t,"afterInit",function(){if(this.chart.is3d()){var t=this.options,e=t.grouping,i=t.stacking,s=this.yAxis.options.reversedStacks,o=0;if(void 0===e||e){for(r=this.chart,a=i,h=r.series,l={totalStacks:0},p=1,h.forEach(function(t){n=x(t.options.stack,a?0:h.length-1-t.index),l[n]?l[n].series.push(t):(l[n]={series:[t],position:p},p++)}),l.totalStacks=p+1,e=l,o=t.stack||0,i=0;i{point.x}
y: {point.y}
z: {point.z}
"}}),t((o=p).prototype,{axisTypes:["xAxis","yAxis","zAxis"],directTouch:!0,parallelArrays:["x","y","z"],pointArrayMap:["x","y","z"],pointClass:e}),s.registerSeriesType("scatter3d",o),o}),e(t,"masters/highcharts-3d.src.js",[t["Core/Globals.js"],t["Core/Renderer/SVG/SVGRenderer3D.js"],t["Core/Chart/Chart3D.js"],t["Core/Axis/ZAxis.js"],t["Core/Axis/Axis3DComposition.js"],t["Series/Area3D/Area3DSeries.js"]],function(t,e,i,s,o,r){e.compose(t.SVGRenderer),i.compose(t.Chart,t.Fx),s.compose(t.Chart),o.compose(t.Axis,t.Tick),r.compose(t.seriesTypes.area)})}); \ No newline at end of file diff --git a/assets/js/external/highcharts/highcharts-gantt.min.js b/assets/js/external/highcharts/highcharts-gantt.min.js index 5a4d2d13..8db0e91b 100644 --- a/assets/js/external/highcharts/highcharts-gantt.min.js +++ b/assets/js/external/highcharts/highcharts-gantt.min.js @@ -1 +1 @@ -!function(t,e){"object"==typeof module&&module.exports?(e.default=e,module.exports=t.document?e(t):e):"function"==typeof define&&define.amd?define("highcharts/highcharts-gantt",function(){return e(t)}):(t.Highcharts&&t.Highcharts.error(16,!0),t.Highcharts=e(t))}("undefined"!=typeof window?window:this,function(T){function t(t,e,i,o){t.hasOwnProperty(e)||(t[e]=o.apply(null,i),"function"==typeof CustomEvent&&T.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}var e={};return t(e,"Core/Globals.js",[],function(){var t,e,i,o;return(e=t=t||{}).SVG_NS="http://www.w3.org/2000/svg",e.product="Highcharts",e.version="10.2.1",e.win=void 0!==T?T:{},e.doc=e.win.document,e.svg=e.doc&&e.doc.createElementNS&&!!e.doc.createElementNS(e.SVG_NS,"svg").createSVGRect,e.userAgent=e.win.navigator&&e.win.navigator.userAgent||"",e.isChrome=-1!==e.userAgent.indexOf("Chrome"),e.isFirefox=-1!==e.userAgent.indexOf("Firefox"),e.isMS=/(edge|msie|trident)/i.test(e.userAgent)&&!e.win.opera,e.isSafari=!e.isChrome&&-1!==e.userAgent.indexOf("Safari"),e.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(e.userAgent),e.isWebKit=-1!==e.userAgent.indexOf("AppleWebKit"),e.deg2rad=2*Math.PI/360,e.hasBidiBug=e.isFirefox&&parseInt(e.userAgent.split("Firefox/")[1],10)<4,e.hasTouch=!!e.win.TouchEvent,e.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],e.noop=function(){},e.supportsPassiveEvents=(o=!1,e.isMS||(i=Object.defineProperty({},"passive",{get:function(){o=!0}}),e.win.addEventListener&&e.win.removeEventListener&&(e.win.addEventListener("testPassive",e.noop,i),e.win.removeEventListener("testPassive",e.noop,i))),o),e.charts=[],e.dateFormats={},e.seriesTypes={},e.symbolSizes={},e.chartCount=0,t}),t(e,"Core/Utilities.js",[e["Core/Globals.js"]],function(h){function l(t,e,i,o){var s,r=e?"Highcharts error":"Highcharts warning",n=p(t=32===t?r+": Deprecated member":t),a=n?r+" #"+t+": www.highcharts.com/errors/"+t+"/":t.toString();void 0!==o&&(s="",n&&(a+="?"),v(o,function(t,e){s+="\n - ".concat(e,": ").concat(t),n&&(a+=encodeURI(e)+"="+encodeURI(t))}),a+=s),M(h,"displayError",{chart:i,code:t,message:a,params:o},function(){if(e)throw Error(a);S.console&&-1===l.messages.indexOf(a)&&console.warn(a)}),l.messages.push(a)}function n(t,e){return parseInt(t,e||10)}function a(t){return"string"==typeof t}function i(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function d(t,e){return!(!t||"object"!=typeof t||e&&i(t))}function r(t){return d(t)&&"number"==typeof t.nodeType}function c(t){var e=t&&t.constructor;return!(!d(t,!0)||r(t)||!e||!e.name||"Object"===e.name)}function p(t){return"number"==typeof t&&!isNaN(t)&&t<1/0&&-1/0i&&(i=t[e]);return i},arrayMin:function(t){for(var e=t.length,i=t[0];e--;)t[e]>16,(65280&o)>>8,255&o,1]:4===i&&(e=[(3840&o)>>4|(3840&o)>>8,(240&o)>>4|240&o,(15&o)<<4|15&o,1])),!e)for(o=n.parsers.length;o--&&!e;){var s=n.parsers[o];(i=s.regex.exec(t))&&(e=s.parse(i))}e&&(this.rgba=e)},n.prototype.get=function(i){var o,t=this.input,e=this.rgba;return"object"==typeof t&&void 0!==this.stops?((o=r(t)).stops=[].slice.call(o.stops),this.stops.forEach(function(t,e){o.stops[e]=[o.stops[e][0],t.get(i)]}),o):e&&s(e[0])?"rgb"===i||!i&&1===e[3]?"rgb("+e[0]+","+e[1]+","+e[2]+")":"a"===i?"".concat(e[3]):"rgba("+e.join(",")+")":t},n.prototype.brighten=function(e){var t=this.rgba;if(this.stops)this.stops.forEach(function(t){t.brighten(e)});else if(s(e)&&0!==e)for(var i=0;i<3;i++)t[i]+=o(255*e),t[i]<0&&(t[i]=0),255=v.second?0:d*Math.floor(r.get("Milliseconds",h)/d)),l>=v.second&&r.set("Seconds",h,l>=v.minute?0:d*Math.floor(r.get("Seconds",h)/d)),l>=v.minute&&r.set("Minutes",h,l>=v.hour?0:d*Math.floor(r.get("Minutes",h)/d)),l>=v.hour&&r.set("Hours",h,l>=v.day?0:d*Math.floor(r.get("Hours",h)/d)),l>=v.day&&r.set("Date",h,l>=v.month?1:Math.max(1,d*Math.floor(r.get("Date",h)/d))),l>=v.month&&(r.set("Month",h,l>=v.year?0:d*Math.floor(r.get("Month",h)/d)),c=r.get("FullYear",h)),l>=v.year&&r.set("FullYear",h,c-c%d),l===v.week&&(c=r.get("Day",h),r.set("Date",h,r.get("Date",h)-c+o+(c4*v.month||r.getTimezoneOffset(e)!==r.getTimezoneOffset(i)),e=h.getTime(),h=1;et){a=n;break}if(r[a]&&s.substr(r[a])!=="01-01 00:00:00.000".substr(r[a]))break;"week"!==a&&(n=a)}return this.resolveDTLFormat(o[a]).main},t=a}),t(e,"Core/DefaultOptions.js",[e["Core/Chart/ChartDefaults.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Color/Palettes.js"],e["Core/Time.js"],e["Core/Utilities.js"]],function(t,e,i,o,s,r){e=e.parse;var n=r.merge,a={colors:o.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),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:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",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,animation:i.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:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:i.isTouchDevice?25:10,headerFormat:'{point.key}
',pointFormat:' {series.name}: {point.y}
',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}},h=(a.chart.styledMode=!1,new s(n(a.global,a.time)));return t={defaultOptions:a,defaultTime:h,getOptions:function(){return a},setOptions:function(t){return n(!0,a,t),(t.time||t.global)&&(i.time?i.time.update(n(a.global,a.time,t.global,t.time)):i.time=h),a}}}),t(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,i){var o=t.parse,h=e.win,p=i.isNumber,l=i.objectEach;return d.prototype.dSetter=function(){var t=(e=this.paths)&&e[0],e=e&&e[1],i=this.now||0,o=[];if(1!==i&&t&&e)if(t.length===e.length&&i<1)for(var s=0;s=n+this.startTime?(this.now=this.end,this.pos=1,this.update(),e=a[this.prop]=!0,l(a,function(t){!0!==t&&(e=!1)}),e&&r&&r.call(s),!1):(this.pos=o.easing((i-this.startTime)/n),this.now=this.start+(this.end-this.start)*this.pos,this.update(),!0))},d.prototype.initPath=function(t,e,i){function o(t,e){for(;t.lengtht[c].pos&&(t[c-1].size+=t[c].size,t[c-1].targets=t[c-1].targets.concat(t[c].targets),t[c-1].align=.5,t[c-1].pos+t[c-1].size>o&&(t[c-1].pos=o-t[c-1].size),t.splice(c,1),h=!0)}return r.push.apply(r,l),c=0,t.some(function(t){var e=0;return(t.targets||[]).some(function(){return r[c].pos=t.pos+e,void 0!==s&&Math.abs(r[c].pos-r[c].target)>s?(r.slice(0,c+1).forEach(function(t){return delete t.pos}),r.reducedLen=(r.reducedLen||o)-.1*o,r.reducedLen>.1*o&&i(r,o,s),!0):(e+=r[c].size,c++,!1)})}),f(r,e),r},e}),t(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,m,r,e){var n=t.animate,a=t.animObject,d=t.stop,g=r.deg2rad,h=r.doc,l=r.svg,c=r.SVG_NS,i=r.win,p=e.addEvent,u=e.attr,o=e.createElement,x=e.css,y=e.defined,f=e.erase,v=e.extend,b=e.fireEvent,M=e.isArray,k=e.isFunction,S=e.isString,C=e.merge,w=e.objectEach,A=e.pick,T=e.pInt,P=e.syncTimeout,O=e.uniqueKey;function L(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=c,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return L.prototype._defaultGetter=function(t){return t=A(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),t=/^[\-0-9\.]+$/.test(t)?parseFloat(t):t},L.prototype._defaultSetter=function(t,e,i){i.setAttribute(e,t)},L.prototype.add=function(t){var e,i=this.renderer,o=this.element;return t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,void 0!==this.textStr&&"text"===this.element.nodeName&&i.buildText(this),this.added=!0,(e=t&&!t.handleZ&&!this.zIndex?e:this.zIndexSetter())||(t?t.element:i.box).appendChild(o),this.onAdd&&this.onAdd(),this},L.prototype.addClass=function(t,e){var i=!e&&this.attr("class")||"";return(t=(t||"").split(/ /g).reduce(function(t,e){return-1===i.indexOf(e)&&t.push(e),t},i?[i]:[]).join(" "))!==i&&this.attr("class",t),this},L.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},L.prototype.align=function(t,e,i){var o,s,r,n={},a=(l=this.renderer).alignedObjects,h=(t?(this.alignOptions=t,this.alignByTranslate=e,i&&!S(i)||(this.alignTo=o=i||"renderer",f(a,this),a.push(this),i=void 0)):(t=this.alignOptions,e=this.alignByTranslate,o=this.alignTo),i=A(i,l[o],"scrollablePlotBox"===o?l.plotBox:void 0,l),o=t.align,t.verticalAlign),l=(i.x||0)+(t.x||0),a=(i.y||0)+(t.y||0);return"right"===o?s=1:"center"===o&&(s=2),s&&(l+=(i.width-(t.width||0))/s),n[e?"translateX":"x"]=Math.round(l),"bottom"===h?r=1:"middle"===h&&(r=2),r&&(a+=(i.height-(t.height||0))/r),n[e?"translateY":"y"]=Math.round(a),this[this.placed?"animate":"attr"](n),this.placed=!0,this.alignAttr=n,this},L.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},L.prototype.animate=function(t,e,i){var o=this,s=a(A(e,this.renderer.globalAnimation,!0));return e=s.defer,A(h.hidden,h.msHidden,h.webkitHidden,!1)&&(s.duration=0),0!==s.duration?(i&&(s.complete=i),P(function(){o.element&&n(o,t,s)},e)):(this.attr(t,void 0,i||s.complete),w(t,function(t,e){s.step&&s.step.call(this,t,{prop:e,pos:1,elem:this})},this)),this},L.prototype.applyTextOutline=function(t){var i,e,o=this.element,s=(t=-1!==t.indexOf("contrast")?t.replace(/contrast/g,this.renderer.getContrast(o.style.fill)):t).split(" ");t=s[s.length-1],(s=s[0])&&"none"!==s&&r.svg&&(this.fakeTS=!0,this.ySetter=this.xSetter,s=s.replace(/(^[\d\.]+)(.*?)$/g,function(t,e,i){return 2*Number(e)+i}),this.removeTextOutline(),i=h.createElementNS(c,"tspan"),u(i,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":s,"stroke-linejoin":"round"}),t=o.querySelector("textPath")||o,[].forEach.call(t.childNodes,function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(t){return e.removeAttribute(t)}),i.appendChild(e)}),e=0,[].forEach.call(t.querySelectorAll("text tspan"),function(t){e+=Number(t.getAttribute("dy"))}),(s=h.createElementNS(c,"tspan")).textContent="​",u(s,{x:Number(o.getAttribute("x")),dy:-e}),i.appendChild(s),t.insertBefore(i,t.firstChild))},L.prototype.attr=function(i,t,e,o){var s,r,n,a=this.element,h=this.symbolCustomAttribs,l=this;return"string"==typeof i&&void 0!==t&&(n=i,(i={})[n]=t),"string"==typeof i?l=(this[i+"Getter"]||this._defaultGetter).call(this,i,a):(w(i,function(t,e){r=!1,o||d(this,e),this.symbolName&&-1!==h.indexOf(e)&&(s||(this.symbolAttr(i),s=!0),r=!0),!this.rotation||"x"!==e&&"y"!==e||(this.doTransform=!0),r||((r=this[e+"Setter"]||this._defaultSetter).call(this,t,e,a),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(e)&&this.updateShadows(e,t,r))},this),this.afterSetters()),e&&e.call(this),l},L.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},L.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var i=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+i,t.y=Math.floor(t.y||this.y||0)+i,t.width=Math.floor((t.width||this.width||0)-2*i),t.height=Math.floor((t.height||this.height||0)-2*i),y(t.strokeWidth)&&(t.strokeWidth=e),t},L.prototype.complexColor=function(t,i,o){var s,r,n,a,h,l,d,c,p,u,f=this.renderer,g=[];b(this.renderer,"complexColor",{args:arguments},function(){var e;t.radialGradient?s="radialGradient":t.linearGradient&&(s="linearGradient"),s&&(r=t[s],a=f.gradients,h=t.stops,c=o.radialReference,M(r)&&(t[s]=r={x1:r[0],y1:r[1],x2:r[2],y2:r[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===s&&c&&!y(r.gradientUnits)&&(r=C(n=r,f.getRadialAttr(c,n),{gradientUnits:"userSpaceOnUse"})),w(r,function(t,e){"id"!==e&&g.push(e,t)}),w(h,function(t){g.push(t)}),g=g.join(","),a[g]?p=a[g].attr("id"):(r.id=p=O(),(e=a[g]=f.createElement(s).attr(r).add(f.defs)).radAttr=n,e.stops=[],h.forEach(function(t){d=0===t[1].indexOf("rgba")?(d=m.parse(t[1]),l=d.get("rgb"),d.get("a")):(l=t[1],1),t=f.createElement("stop").attr({offset:t[0],"stop-color":l,"stop-opacity":d}).add(e),e.stops.push(t)})),u="url("+f.url+"#"+p+")",o.setAttribute(i,u),o.gradient=g,t.toString=function(){return u})})},L.prototype.css=function(t){var e,i,o=this.styles,s={},r=this.element,n=!o;return t.color&&(t.fill=t.color),o&&w(t,function(t,e){o&&o[e]!==t&&(s[e]=t,n=!0)}),n&&(null===(t=o?v(o,s):t).width||"auto"===t.width?delete this.textWidth:"text"===r.nodeName.toLowerCase()&&t.width&&(e=this.textWidth=T(t.width)),this.styles=t,e&&!l&&this.renderer.forExport&&delete t.width,i=C(t),r.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach(function(t){return i&&delete i[t]}),x(r,i),this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline))),this},L.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var i=t.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(t=i.length;t--;)i[t]=""+T(i[t])*A(e,NaN);t=i.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},L.prototype.destroy=function(){var e,i=this,t=i.element||{},o=i.renderer,s=t.ownerSVGElement,r=o.isSVG&&"SPAN"===t.nodeName&&i.parentGroup||void 0;if(t.onclick=t.onmouseout=t.onmouseover=t.onmousemove=t.point=null,d(i),i.clipPath&&s&&(e=i.clipPath,[].forEach.call(s.querySelectorAll("[clip-path],[CLIP-PATH]"),function(t){-1]*>/g,"").replace(/</g,"<").replace(/>/g,">")},L.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},L.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},L.prototype.updateShadows=function(t,e,i){var o=this.shadows;if(o)for(var s=o.length;s--;)i.call(o[s],"height"===t?Math.max(e-(o[s].cutHeight||0),0):"d"===t?this.d:e,t,o[s])},L.prototype.updateTransform=function(){var t=this.scaleX,e=this.scaleY,i=this.inverted,o=this.rotation,s=this.matrix,r=this.element,n=this.translateX||0,a=this.translateY||0;i&&(n+=this.width,a+=this.height),n=["translate("+n+","+a+")"],y(s)&&n.push("matrix("+s.join(",")+")"),i?n.push("rotate(90) scale(-1,1)"):o&&n.push("rotate("+o+" "+A(this.rotationOriginX,r.getAttribute("x"),0)+" "+A(this.rotationOriginY,r.getAttribute("y")||0)+")"),(y(t)||y(e))&&n.push("scale("+A(t,1)+" "+A(e,1)+")"),n.length&&!(this.text||this).textPath&&r.setAttribute("transform",n.join(" "))},L.prototype.visibilitySetter=function(t,e,i){"inherit"===t?i.removeAttribute(e):this[e]!==t&&i.setAttribute(e,t),this[e]=t},L.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},L.prototype.zIndexSetter=function(t,e){var i,o=this.renderer,s=((h=this.parentGroup)||o).element||o.box,r=this.element,o=s===o.box,n=!1,a=this.added;if(y(t)?(r.setAttribute("data-z-index",t),this[e]===(t=+t)&&(a=!1)):y(this[e])&&r.removeAttribute("data-z-index"),this[e]=t,a){for((t=this.zIndex)&&h&&(h.handleZ=!0),i=(e=s.childNodes).length-1;0<=i&&!n;i--){var h,a=(h=e[i]).getAttribute("data-z-index"),l=!y(a);h!==r&&(t<0&&l&&!o&&!i?(s.insertBefore(r,e[i]),n=!0):(T(a)<=t||l&&(!y(t)||0<=t))&&(s.insertBefore(r,e[i+1]||null),n=!0))}n||(s.insertBefore(r,e[o?3:0]||null),n=!0)}return n},(t=L).prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t}),t(e,"Core/Renderer/RendererRegistry.js",[e["Core/Globals.js"]],function(o){var t,s,r;return(s=t=t||{}).rendererTypes={},s.getRendererType=function(t){return void 0===t&&(t=r),s.rendererTypes[t]||s.rendererTypes[r]},s.registerRendererType=function(t,e,i){s.rendererTypes[t]=e,r&&!i||(r=t,o.Renderer=e)},t}),t(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(o,t){var s,p,e=this&&this.__extends||(s=function(t,e){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=t.defined,n=t.extend,a=t.isNumber,h=t.merge,l=t.pick,i=t.removeEvent;return e(u,p=o),u.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&a(this.xSetting)&&this.attr({x:this.xSetting}))},u.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},u.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},u.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},u.prototype.css=function(e){var i,t;return e&&(i={},e=h(e),u.textProps.forEach(function(t){void 0!==e[t]&&(i[t]=e[t],delete e[t])}),this.text.css(i),t="width"in i,"fontSize"in i||"fontWeight"in i?this.updateTextPadding():t&&this.updateBoxSize()),o.prototype.css.call(this,e)},u.prototype.destroy=function(){i(this.element,"mouseenter"),i(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),o.prototype.destroy.call(this)},u.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},u.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=l(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},u.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},u.prototype.heightSetter=function(t){this.heightSetting=t},u.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:r(t)?t:"",x:this.x,y:this.y}),this.box&&r(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},u.prototype.paddingSetter=function(t,e){a(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},u.prototype.rSetter=function(t,e){this.boxAttr(e,t)},u.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},u.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},u.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},u.prototype["text-alignSetter"]=function(t){this.textAlign=t},u.prototype.textSetter=function(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding()},u.prototype.updateBoxSize=function(){var t=this.text,e=t.element.style,i={},o=this.padding,s=this.bBox=a(this.widthSetting)&&a(this.heightSetting)&&!this.textAlign||!r(t.textStr)?u.emptyBBox:t.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||s.height||0)+2*o,e=this.renderer.fontMetrics(e&&e.fontSize,t),this.baselineOffset=o+Math.min((this.text.firstLineMetrics||e).b,s.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-e.h)/2),this.needsBox&&!t.textPath&&(this.box||((t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this)),t=this.getCrispAdjust(),i.x=t,i.y=(this.baseline?-this.baselineOffset:0)+t,i.width=Math.round(this.width),i.height=Math.round(this.height),this.box.attr(n(i,this.deferredAttr)),this.deferredAttr={})},u.prototype.updateTextPadding=function(){var t,e,i=this.text;i.textPath||(this.updateBoxSize(),t=this.baseline?0:this.baselineOffset,e=l(this.paddingLeft,this.padding),r(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(e+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),e===i.x&&t===i.y||(i.attr("x",e),i.hasBoxWidthChanged&&(this.bBox=i.getBBox(!0)),void 0!==t&&i.attr("y",t)),i.x=e,i.y=t)},u.prototype.widthSetter=function(t){this.widthSetting=a(t)?t:void 0},u.prototype.getPaddedWidth=function(){var t=this.padding,e=l(this.paddingLeft,t),t=l(this.paddingRight,t);return(this.widthSetting||this.bBox.width||0)+e+t},u.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},u.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},u.emptyBBox={width:0,height:0,x:0,y:0},u.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),u;function u(t,e,i,o,s,r,n,a,h,l){var d,c=p.call(this)||this;return c.paddingLeftSetter=c.paddingSetter,c.paddingRightSetter=c.paddingSetter,c.init(t,"g"),c.textStr=e,c.x=i,c.y=o,c.anchorX=r,c.anchorY=n,c.baseline=h,c.className=l,c.addClass("button"===l?"highcharts-no-tooltip":"highcharts-label"),l&&c.addClass("highcharts-"+l),c.text=t.text(void 0,0,0,a).attr({zIndex:1}),"string"==typeof s&&((d=/^url\((.*?)\)$/.test(s))||c.renderer.symbols[s])&&(c.symbolKey=s),c.bBox=u.emptyBBox,c.padding=3,c.baselineOffset=0,c.needsBox=t.styledMode||d,c.deferredAttr={},c.alignFactor=0,c}}),t(e,"Core/Renderer/SVG/Symbols.js",[e["Core/Utilities.js"]],function(t){function s(t,e,i,o,s){var r,n,a,h,l,d,c,p,u=[];return s&&(p=s.start||0,r=g(s.r,i),i=g(s.r,o||i),n=(s.end||0)-.001,o=s.innerR,a=g(s.open,Math.abs((s.end||0)-p-2*Math.PI)<.001),h=Math.cos(p),l=Math.sin(p),d=Math.cos(n),c=Math.sin(n),p=g(s.longArc,n-p-Math.PI<.001?0:1),u.push(["M",t+r*h,e+i*l],["A",r,i,0,p,g(s.clockwise,1),t+r*d,e+i*c]),f(o)&&u.push(a?["M",t+o*d,e+o*c]:["L",t+o*d,e+o*c],["A",o,o,0,p,f(s.clockwise)?1-s.clockwise:0,t+o*h,e+o*l]),a||u.push(["Z"])),u}function e(t,e,i,o,s){return s&&s.r?l(t,e,i,o,s):[["M",t,e],["L",t+i,e],["L",t+i,e+o],["L",t,e+o],["Z"]]}function l(t,e,i,o,s){return[["M",t+(s=s&&s.r||0),e],["L",t+i-s,e],["C",t+i,e,t+i,e,t+i,e+s],["L",t+i,e+o-s],["C",t+i,e+o,t+i,e+o,t+i-s,e+o],["L",t+s,e+o],["C",t,e+o,t,e+o,t,e+o-s],["L",t,e+s],["C",t,e,t,e,t+s,e]]}var f=t.defined,d=t.isNumber,g=t.pick;return{arc:s,callout:function(t,e,i,o,s){var r=Math.min(s&&s.r||0,i,o),n=r+6,a=s&&s.anchorX,h=(s=s&&s.anchorY||0,l(t,e,i,o,{r:r}));return d(a)&&(i<=t+a?e+n/g.test(o))?""!==o&&(i&&i.appendChild(e),o=new a(o),this.modifyTree(o.nodes),o.addToDOM(e),this.modifyDOM(),this.ellipsis&&-1!==(e.textContent||"").indexOf("…")&&t.attr("title",this.unescapeEntities(t.textStr||"",["<",">"])),i&&i.removeChild(e)):e.appendChild(p.createTextNode(this.unescapeEntities(o))),h(this.textOutline)&&t.applyTextOutline&&t.applyTextOutline(this.textOutline)}},o.prototype.modifyDOM=function(){var t,h=this,l=this.svgElement,d=f(l.element,"x");for(l.firstLineMetrics=void 0;(t=l.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)l.element.removeChild(t);[].forEach.call(l.element.querySelectorAll("tspan.highcharts-br"),function(t,e){t.nextSibling&&t.previousSibling&&(0===e&&1===t.previousSibling.nodeType&&(l.firstLineMetrics=l.renderer.fontMetrics(void 0,t.previousSibling)),f(t,{dy:h.getLineHeight(t.nextSibling),x:d}))});var i,o,c=this.width||0;c&&(i=function(e,i){var t=e.textContent||"",o=t.replace(/([^\^])-/g,"$1- ").split(" "),s=!h.noWrap&&(1]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20");return""},I.prototype.getStyle=function(t){return this.style=A({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},I.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},I.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},I.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),w(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},I.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},I.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},I.prototype.buildText=function(t){new r(t).buildSVG()},I.prototype.getContrast=function(t){return((t=.2126*(t=e.parse(t).rgba.map(function(t){return(t/=255)<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}))[0]+.7152*t[1]+.0722*t[2])+.05)/.05<1.05/(t+.05)?"#FFFFFF":"#000000"},I.prototype.button=function(t,e,i,o,s,r,n,a,h,l){void 0===s&&(s={});var d,c,p,u=this.label(t,e,i,h,void 0,void 0,l,void 0,"button"),f=this.styledMode,g=(t=s.states||{},0),m=(delete(s=E(s)).states,E({color:"#333333",cursor:"pointer",fontWeight:"normal"},s.style)),x=(delete s.style,y.filterUserAttributes(s));return u.attr(E({padding:8,r:2},x)),f||(x=E({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},x),d=(r=E(x,{fill:"#e6e6e6"},y.filterUserAttributes(r||t.hover||{}))).style,delete r.style,c=(n=E(x,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},y.filterUserAttributes(n||t.select||{}))).style,delete n.style,p=(a=E(x,{style:{color:"#cccccc"}},y.filterUserAttributes(a||t.disabled||{}))).style,delete a.style),b(u.element,v?"mouseover":"mouseenter",function(){3!==g&&u.setState(1)}),b(u.element,v?"mouseout":"mouseleave",function(){3!==g&&u.setState(g)}),u.setState=function(t){1!==t&&(u.state=g=t),u.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),f||(u.attr([x,r,n,a][t||0]),O(t=[m,d,c,p][t||0])&&u.css(t))},f||u.attr(x).css(A({cursor:"default"},m)),u.on("touchstart",function(t){return t.stopPropagation()}).on("click",function(t){3!==g&&o.call(u,t)})},I.prototype.crispLine=function(t,e,i){void 0===i&&(i="round");var o=t[0],s=t[1];return C(o[1])&&o[1]===s[1]&&(o[1]=s[1]=Math[i](o[1])-e%2/2),C(o[2])&&o[2]===s[2]&&(o[2]=s[2]=Math[i](o[2])+e%2/2),t},I.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return T(t)?e.d=t:O(t)&&A(e,t),this.createElement("path").attr(e)},I.prototype.circle=function(t,e,i){return t=O(t)?t:void 0===t?{}:{x:t,y:e,r:i},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,i){i.setAttribute("c"+e,t)},e.attr(t)},I.prototype.arc=function(t,e,i,o,s,r){return O(t)?(e=(o=t).y,i=o.r,t=o.x):o={innerR:o,start:s,end:r},(t=this.symbol("arc",t,e,i,i,o)).r=i,t},I.prototype.rect=function(t,e,i,o,s,r){s=O(t)?t.r:s;var n=this.createElement("rect");return t=O(t)?t:void 0===t?{}:{x:t,y:e,width:Math.max(i,0),height:Math.max(o,0)},this.styledMode||(void 0!==r&&(t["stroke-width"]=r,t=n.crisp(t)),t.fill="none"),s&&(t.r=s),n.rSetter=function(t,e,i){n.r=t,M(i,{rx:t,ry:t})},n.rGetter=function(){return n.r||0},n.attr(t)},I.prototype.setSize=function(t,e,i){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:D(i,!0)?void 0:0}),this.alignElements()},I.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},I.prototype.image=function(e,t,i,o,s,r){var n={preserveAspectRatio:"none"},a=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)},h=(P(t)&&(n.x=t),P(i)&&(n.y=i),P(o)&&(n.width=o),P(s)&&(n.height=s),this.createElement("image").attr(n));return t=function(t){a(h.element,e),r.call(h,t)},r?(a(h.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),i=new f.Image,b(i,"load",t),i.src=e,i.complete&&t({})):a(h.element,e),h},I.prototype.symbol=function(t,e,i,o,s,r){var n,a,h,l,d=this,c=/^url\((.*?)\)$/,p=c.test(t),u=!p&&(this.symbols[t]?t:"circle"),f=u&&this.symbols[u];return f?("number"==typeof e&&(n=f.call(this.symbols,Math.round(e||0),Math.round(i||0),o||0,s||0,r)),n=this.path(n),d.styledMode||n.attr("fill","none"),A(n,{symbolName:u||void 0,x:e,y:i,width:o,height:s}),r&&A(n,r)):p&&(a=t.match(c)[1],(h=n=this.image(a)).imgwidth=D(x[a]&&x[a].width,r&&r.width),h.imgheight=D(x[a]&&x[a].height,r&&r.height),l=function(t){return t.attr({width:t.width,height:t.height})},["width","height"].forEach(function(t){h[t+"Setter"]=function(t,e){var i=this["img"+e];this[e]=t,C(i)&&(r&&"within"===r.backgroundSize&&this.width&&this.height&&(i=Math.round(i*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(e,i),this.alignByTranslate||(t=((this[e]||0)-i)/2,this.attr("width"===e?{translateX:t}:{translateY:t})))}}),C(e)&&h.attr({x:e,y:i}),h.isImg=!0,C(h.imgwidth)&&C(h.imgheight)?l(h):(h.attr({width:0,height:0}),k("img",{onload:function(){var t=g[d.chartIndex];0===this.width&&(S(this,{position:"absolute",top:"-999em"}),m.body.appendChild(this)),x[a]={width:this.width,height:this.height},h.imgwidth=this.width,h.imgheight=this.height,h.element&&l(h),this.parentNode&&this.parentNode.removeChild(this),d.imgCount--,d.imgCount||!t||t.hasLoaded||t.onload()},src:a}),this.imgCount++)),n},I.prototype.clipRect=function(t,e,i,o){var s=j()+"-",r=this.createElement("clipPath").attr({id:s}).add(this.defs);return(t=this.rect(t,e,i,o,0).add(r)).id=s,t.clipPath=r,t.count=0,t},I.prototype.text=function(t,e,i,o){var s={};return!o||!this.allowHTML&&this.forExport?(s.x=Math.round(e||0),i&&(s.y=Math.round(i)),C(t)&&(s.text=t),t=this.createElement("text").attr(s),o&&(!this.forExport||this.allowHTML)||(t.xSetter=function(t,e,i){for(var o,s=i.getElementsByTagName("tspan"),r=i.getAttribute(e),n=0;n":">","'":"'",'"':"""},symbols:s,draw:p}),i.registerRendererType("svg",t,!0),t}),t(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,e,i){var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),n=t.isFirefox,a=t.isMS,h=t.isWebKit,l=t.win,f=i.css,g=i.defined,d=i.extend,c=i.pick,m=i.pInt;return r(p,s=e),p.compose=function(t){var e,i;return-1===p.composedClasses.indexOf(t)&&(p.composedClasses.push(t),(i=t.prototype).getSpanCorrection=(e=p.prototype).getSpanCorrection,i.htmlCss=e.htmlCss,i.htmlGetBBox=e.htmlGetBBox,i.htmlUpdateTransform=e.htmlUpdateTransform,i.setSpanRotation=e.setSpanRotation),t},p.prototype.getSpanCorrection=function(t,e,i){this.xCorr=-t*i,this.yCorr=-e},p.prototype.htmlCss=function(t){var e,i="SPAN"===this.element.tagName&&t&&"width"in t,o=c(i&&t.width,void 0);return i&&(delete t.width,this.textWidth=o,e=!0),t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=d(this.styles,t),f(this.element,t),e&&this.htmlUpdateTransform(),this},p.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},p.prototype.htmlUpdateTransform=function(){var e,i,o,s,t,r,n,a,h,l,d,c,p,u;this.added?(e=this.renderer,i=this.element,o=this.translateX||0,s=this.translateY||0,t=this.x||0,r=this.y||0,a={left:0,center:.5,right:1}[n=this.textAlign||"left"],u=(u=this.styles)&&u.whiteSpace,f(i,{marginLeft:o,marginTop:s}),!e.styledMode&&this.shadows&&this.shadows.forEach(function(t){f(t,{marginLeft:o+1,marginTop:s+1})}),this.inverted&&[].forEach.call(i.childNodes,function(t){e.invertChild(t,i)}),"SPAN"===i.tagName&&(h=this.rotation,l=this.textWidth&&m(this.textWidth),d=[h,n,i.innerHTML,this.textWidth,this.textAlign].join(),p=!1,l!==this.oldTextWidth&&(c=this.textPxLength||(f(i,{width:"",whiteSpace:u||"nowrap"}),i.offsetWidth),(l>this.oldTextWidth||l=this.minRange,n=[l-(n=((r=this.minRange)-d+l)/2),O(a.min,l-n)],t&&(n[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),d=[(l=p(n))+r,O(a.max,l+r)],t&&(d[2]=h?h.log2lin(this.dataMax):this.dataMax),(d=f(d))-l=g?(e=g,u=0):this.dataMax<=g&&(i=g,p=0)),this.min=O(m,e,this.dataMin),this.max=O(x,i,this.dataMax)),r&&(this.positiveValuesOnly&&!t&&Math.min(this.min,O(this.dataMin,this.min))<=0&&w(10,1,s),this.min=S(r.log2lin(this.min),16),this.max=S(r.log2lin(this.max),16)),this.range&&C(this.max)&&(this.userMin=this.min=m=Math.max(this.dataMin,this.minFromRange()),this.userMax=x=this.max,this.range=null),A(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(d||this.axisPointRange||this.stacking&&this.stacking.usePercentage||h)&&C(this.min)&&C(this.max)&&(s=this.max-this.min)&&(!C(m)&&u&&(this.min-=s*u),!C(x)&&p&&(this.max+=s*p)),T(this.userMin)||(T(n.softMin)&&n.softMinthis.max&&(this.max=x=n.softMax),T(n.ceiling)&&(this.max=Math.min(this.max,n.ceiling))),c&&C(this.dataMin)&&(g=g||0,!C(m)&&this.min=g?this.min=this.options.minRange?Math.min(g,this.max-this.minRange):g:!C(x)&&this.max>g&&this.dataMax<=g&&(this.max=this.options.minRange?Math.max(g,this.min+this.minRange):g)),T(this.min)&&T(this.max)&&!this.chart.polar&&this.min>this.max&&(C(this.options.min)?this.max=this.min:C(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||void 0===this.min||void 0===this.max?1:h&&this.linkedParent&&!f&&l===this.linkedParent.options.tickPixelInterval?f=this.linkedParent.tickInterval:O(f,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,d?1:(this.max-this.min)*l/Math.max(this.len,l)),a&&!t&&(o=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max),this.series.forEach(function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(o)}),A(this,"postProcessData",{hasExtemesChanged:o})),this.setAxisTranslation(),A(this,"initialAxisTranslation"),this.pointRange&&!f&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=O(n.minTickInterval,this.dateTime&&!this.series.some(function(t){return t.noSharedTooltip})?this.closestPointRange:0),!f&&this.tickIntervalMath.max(2*this.len,200)))if(this.dateTime)i=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0);else if(this.logarithmic)i=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(var n=t=this.tickInterval;n<=2*t&&(i=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&i.length>this.tickAmount);)this.tickInterval=y(this,n*=1.1);else i=[this.min,this.max],w(19,!1,this.chart);i.length>this.len&&((i=[i[0],i.pop()])[0]===i[1]&&(i.length=1)),this.tickPositions=i,(r=r&&r.apply(this,[this.min,this.max]))&&(this.tickPositions=i=r)}this.paddedTicks=i.slice(0),this.trimTicks(i,s,o),this.isLinked||(this.single&&i.length<2&&!this.categories&&!this.series.some(function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement})&&(this.min-=.5,this.max+=.5),e||r||this.adjustTickAmount()),A(this,"afterSetTickPositions")},j.prototype.trimTicks=function(t,e,i){var o=t[0],s=t[t.length-1],r=!this.isOrdinal&&this.minPointOffset||0;if(A(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==o)this.min=o;else for(;this.min-r>t[0];)t.shift();if(i)this.max=s;else for(;this.max+rs||n[n.length-1]e.threshold?n.unshift(S(n[0]-c)):n.push(S(n[n.length-1]+c));if(c>8*e.tickInterval)break;c*=2}h()}else if(lp&&(p=t.label.textPxLength)}),this.maxLabelLength=p,this.autoRotation)hd.h?l.rotation=this.labelRotation:this.labelRotation=0;else if(a){var u=h;if(!c)for(var f="clip",h=i.length;!n&&h--;){var g=i[h];(g=s[g].label)&&(g.styles&&"ellipsis"===g.styles.textOverflow?g.css({textOverflow:"clip"}):g.textPxLength>a&&g.css({width:a+"px"}),g.getBBox().height>this.len/i.length-(d.h-d.f)&&(g.specificTextOverflow="ellipsis"))}}l.rotation&&(u=p>.5*t.chartHeight?.33*t.chartHeight:p,c||(f="ellipsis")),(this.labelAlign=o.align||this.autoLabelAlign(this.labelRotation))&&(l.align=this.labelAlign),i.forEach(function(t){var e=(t=s[t])&&t.label,i=r.width,o={};e&&(e.attr(l),t.shortenLabel?t.shortenLabel():u&&!i&&"nowrap"!==r.whiteSpace&&(u=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(o[t]||(o[t]=new b(this,t)),i&&o[t].isNew&&o[t].render(e,!0,-1),o[t].render(e))},j.prototype.render=function(){var i,o,s,r=this,n=r.chart,a=r.logarithmic,t=r.options,e=r.isLinked,h=r.tickPositions,l=r.axisTitle,d=r.ticks,c=r.minorTicks,p=r.alternateBands,u=t.stackLabels,f=t.alternateGridColor,g=r.tickmarkOffset,m=r.axisLine,x=r.showAxis,y=M(n.renderer.globalAnimation);r.labelEdge.length=0,r.overlap=!1,[d,c,p].forEach(function(t){P(t,function(t){t.isActive=!1})}),(r.hasData()||e)&&(s=r.chart.hasRendered&&r.old&&T(r.old.min),r.minorTickInterval&&!r.categories&&r.getMinorTickPositions().forEach(function(t){r.renderMinorTick(t,s)}),h.length&&(h.forEach(function(t,e){r.renderTick(t,e,s)}),g&&(0===r.min||r.single)&&(d[-1]||(d[-1]=new b(r,-1,null,!0)),d[-1].render(-1))),f&&h.forEach(function(t,e){o=void 0!==h[e+1]?h[e+1]+g:r.max-g,0==e%2&&tthis.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:i.acrossPanes}),i=1,t&&s)for(e&&(o=t.toString()===s.toString(),i=0),e=0;ee})&&(t=t.map(function(t){var e=u(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return B(t,{target:e.y,x:e.x})})),g.cleanSplit(),E(t,P),d),O=d;t.forEach(function(t){var e=t.x,i=t.boxWidth;(t=t.isHeader)||(g.outside&&d+e=o.value;)o=t[++i];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=o&&o.color&&!this.options.color?o.color:this.nonZonedColor,o},C.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},C.prototype.init=function(t,e,i){return this.series=t,this.applyOptions(e,i),this.id=r(this.id)?this.id:S(),this.resolveColor(),t.chart.pointCount++,b(this,"afterInit"),this},C.prototype.optionsToObject=function(t){var e=this.series,i=e.options.keys,o=i||e.pointArrayMap||["y"],s=o.length,r={},n=0,a=0;if(M(t)||null===t)r[o[0]]=t;else if(d(t))for(!i&&t.length>s&&("string"===(e=typeof t[0])?r.name=t[0]:"number"===e&&(r.x=t[0]),n++);at.series.index?-1:1)),o&&(n=t)}),n)},M.prototype.getChartCoordinatesFromPoint=function(t,e){var i,o,s=(r=t.series).xAxis,r=r.yAxis,n=t.shapeArgs;return s&&r?(i=b(t.clientX,t.plotX),o=t.plotY||0,t.isNode&&n&&y(n.x)&&y(n.y)&&(i=n.x,o=n.y),e?{chartX:r.len+r.pos-o,chartY:s.len+s.pos-i}:{chartX:i+s.pos,chartY:o+r.pos}):n&&n.x&&n.y?{chartX:n.x,chartY:n.y}:void 0},M.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=n(t),i=(this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1},t.offsetWidth),t=t.offsetHeight;return 2y.max&&(i=y.max-h,d=!0),d?(S-=.8*(S-n[p][0]),"number"==typeof C&&(C-=.8*(C-n[p][1])),e()):n[p]=[S,C],x||(r[p]=l-m,r[g]=h),r=x?1/k:k,s[g]=h,s[p]=i,o[x?t?"scaleY":"scaleX":"scale"+u]=k,o["translate"+u]=r*m+(S-r*b)},M.prototype.reset=function(e,t){var i=this.chart,o=i.hoverSeries,s=i.hoverPoint,r=i.hoverPoints,n=i.tooltip,a=n&&n.shared?r:s;e&&a&&h(a).forEach(function(t){t.series.isCartesian&&void 0===t.plotX&&(e=!1)}),e?n&&a&&h(a).length&&(n.refresh(a),n.shared&&r?r.forEach(function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))}):s&&(s.setState(s.state,!0),i.axes.forEach(function(t){t.crosshair&&s.series[t.coll]===t&&t.drawCrosshair(null,s)}))):(s&&s.onMouseOut(),r&&r.forEach(function(t){t.setState()}),o&&o.onMouseOut(),n&&n.hide(t),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach(function(t){t.hideCrosshair()}),this.hoverX=i.hoverPoints=i.hoverPoint=null)},M.prototype.runPointActions=function(o,t){var s=this.chart,e=s.tooltip&&s.tooltip.options.enabled?s.tooltip:void 0,i=!!e&&e.shared,r=t||s.hoverPoint,n=r&&r.series||s.hoverSeries,a=(t=this.getHoverData(r,n,s.series,(!o||"touchmove"!==o.type)&&(!!t||n&&n.directTouch&&this.isDirectTouch),i,o),r=t.hoverPoint,n=t.hoverSeries,t.hoverPoints),h=(t=n&&n.tooltipOptions.followPointer&&!n.tooltipOptions.split,i&&n&&!n.noSharedTooltip);if(r&&(r!==s.hoverPoint||e&&e.isHidden)){if((s.hoverPoints||[]).forEach(function(t){-1===a.indexOf(t)&&t.setState()}),s.hoverSeries!==n&&n.onMouseOver(),this.applyInactiveState(a),(a||[]).forEach(function(t){t.setState("hover")}),s.hoverPoint&&s.hoverPoint.firePointEvent("mouseOut"),!r.series)return;s.hoverPoints=a,(s.hoverPoint=r).firePointEvent("mouseOver",void 0,function(){e&&r&&e.refresh(h?a:r,o)})}else t&&e&&!e.isHidden&&(i=e.getAnchor([{}],o),s.isInsidePlot(i[0],i[1],{visiblePlotOnly:!0})&&e.updatePosition({plotX:i[0],plotY:i[1]}));this.unDocMouseMove||(this.unDocMouseMove=d(s.container.ownerDocument,"mousemove",function(t){var e=l[M.hoverChartIndex];e&&e.pointer.onDocumentMouseMove(t)}),this.eventsToUnbind.push(this.unDocMouseMove)),s.axes.forEach(function(e){var t,i=b((e.crosshair||{}).snap,!0);(t=!i||(t=s.hoverPoint)&&t.series[e.coll]===e?t:c(a,function(t){return t.series&&t.series[e.coll]===e}))||!i?e.drawCrosshair(o,t):e.hideCrosshair()})},M.prototype.scaleGroups=function(i,o){var s=this.chart;s.series.forEach(function(t){var e=i||t.getPlotBox();t.group&&(t.xAxis&&t.xAxis.zoomEnabled||s.mapView)&&(t.group.attr(e),t.markerGroup&&(t.markerGroup.attr(e),t.markerGroup.clip(o?s.clipRect:null)),t.dataLabelsGroup&&t.dataLabelsGroup.attr(e))}),s.clipRect.attr(o||s.clipBox)},M.prototype.setDOMEvents=function(){var t=this,e=this.chart.container,i=e.ownerDocument;e.onmousedown=this.onContainerMouseDown.bind(this),e.onmousemove=this.onContainerMouseMove.bind(this),e.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(d(e,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(d(e,"mouseleave",this.onContainerMouseLeave.bind(this))),M.unbindDocumentMouseUp||(M.unbindDocumentMouseUp=d(i,"mouseup",this.onDocumentMouseUp.bind(this)));for(var o=this.chart.renderTo.parentElement;o&&"BODY"!==o.tagName;)this.eventsToUnbind.push(d(o,"scroll",function(){delete t.chartPosition})),o=o.parentElement;s.hasTouch&&(this.eventsToUnbind.push(d(e,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(d(e,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),M.unbindDocumentTouchEnd||(M.unbindDocumentTouchEnd=d(i,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},M.prototype.setHoverChartIndex=function(){var t=this.chart,e=s.charts[b(M.hoverChartIndex,-1)];e&&e!==t&&e.pointer.onContainerMouseLeave({relatedTarget:t.container}),e&&e.mouseIsDown||(M.hoverChartIndex=t.index)},M.prototype.touch=function(t,e){var i,o=this.chart;this.setHoverChartIndex(),1===t.touches.length?(t=this.normalize(t),o.isInsidePlot(t.chartX-o.plotLeft,t.chartY-o.plotTop,{visiblePlotOnly:!0})&&!o.openMenu?(e&&this.runPointActions(t),"touchmove"===t.type&&(i=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2))),b(i,!0)&&this.pinch(t)):e&&this.reset()):2===t.touches.length&&this.pinch(t)},M.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zooming.singleTouch||!t.touches||1!==t.touches.length)},M.prototype.zoomOption=function(t){var e=(i=this.chart).options.chart,i=i.inverted,o=e.zooming.type||"";/touch/.test(t.type)&&(o=b(e.zooming.pinchType,o)),this.zoomX=t=/x/.test(o),this.zoomY=e=/y/.test(o),this.zoomHor=t&&!i||e&&i,this.zoomVert=e&&!i||t&&i,this.hasZoom=t||e},t=M}),t(e,"Core/MSPointer.js",[e["Core/Globals.js"],e["Core/Pointer.js"],e["Core/Utilities.js"]],function(t,n,e){function i(t,e,i,o){var s,r=a[n.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!r||(r=r.pointer,o(t),r[e]({type:i,target:t.currentTarget,preventDefault:l,touches:((s=[]).item=function(t){return this[t]},u(g,function(t){s.push({pageX:t.pageX,pageY:t.pageY,target:t.target})}),s)}))}var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),a=t.charts,h=t.doc,l=t.noop,d=t.win,c=e.addEvent,p=e.css,u=e.objectEach,f=e.removeEvent,g={},m=!!d.PointerEvent;return r(x,s=n),x.isRequired=function(){return!(t.hasTouch||!d.PointerEvent&&!d.MSPointerEvent)},x.prototype.batchMSEvents=function(t){t(this.chart.container,m?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,m?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(h,m?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},x.prototype.destroy=function(){this.batchMSEvents(f),s.prototype.destroy.call(this)},x.prototype.init=function(t,e){s.prototype.init.call(this,t,e),this.hasZoom&&p(t.container,{"-ms-touch-action":"none","touch-action":"none"})},x.prototype.onContainerPointerDown=function(t){i(t,"onContainerTouchStart","touchstart",function(t){g[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}})},x.prototype.onContainerPointerMove=function(t){i(t,"onContainerTouchMove","touchmove",function(t){g[t.pointerId]={pageX:t.pageX,pageY:t.pageY},g[t.pointerId].target||(g[t.pointerId].target=t.currentTarget)})},x.prototype.onDocumentPointerUp=function(t){i(t,"onDocumentTouchEnd","touchend",function(t){delete g[t.pointerId]})},x.prototype.setDOMEvents=function(){s.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(c)},x;function x(){return null!==s&&s.apply(this,arguments)||this}}),t(e,"Core/Legend/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Series/Point.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Utilities.js"]],function(t,e,i,l,o,s){var c=t.animObject,p=t.setAnimation,r=e.format,a=(t=i.isFirefox,i.marginNames),h=(i=i.win,o.distribute),n=s.addEvent,d=s.createElement,u=s.css,f=s.defined,g=s.discardElement,m=s.find,x=s.fireEvent,y=s.isNumber,v=s.merge,b=s.pick,M=s.relativeLength,k=s.stableSort,S=s.syncTimeout;function C(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options=void 0,this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return o=s.wrap,C.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),n(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=n(this.chart,"render",function(){this.legend.proximatePositions(),this.legend.positionItems()}):this.unchartrender&&this.unchartrender())},C.prototype.setOptions=function(t){var e=b(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=v(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=b(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},C.prototype.update=function(t,e){var i=this.chart;this.setOptions(v(!0,this.options,t)),this.destroy(),i.isDirtyLegend=i.isDirtyBox=!0,b(e,!0)&&i.redraw(),x(this,"afterUpdate")},C.prototype.colorizeItem=function(t,e){var i,o,s,r,n,a,h,l;t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),this.chart.styledMode||(n=this.options,i=t.legendItem,o=t.legendLine,s=t.legendSymbol,r=this.itemHiddenStyle.color,n=e?n.itemStyle.color:r,a=e&&t.color||r,h=t.options&&t.options.marker,l={fill:a},i&&i.css({fill:n,color:n}),o&&o.attr({stroke:a}),s&&(h&&s.isMarker&&(l=t.pointAttribs(),e||(l.stroke=l.fill=r)),s.attr(l))),x(this,"afterColorizeItem",{item:t,visible:e})},C.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},C.prototype.positionItem=function(t){var e=this,i=(s=this.options).symbolPadding,o=!s.rtl,s=(r=t._legendItemPos)[0],r=r[1],n=t.checkbox,a=t.legendGroup;a&&a.element&&(i={translateX:o?s:this.legendWidth-s-2*i-4,translateY:r},o=function(){x(e,"afterPositionItem",{item:t})},f(a.translateY)?a.animate(i,void 0,o):(a.attr(i),o())),n&&(n.x=s,n.y=r)},C.prototype.destroyItem=function(e){var t=e.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(t){e[t]&&(e[t]=e[t].destroy())}),t&&g(e.checkbox)},C.prototype.destroy=function(){function e(t){this[t]&&(this[t]=this[t].destroy())}this.getAllItems().forEach(function(t){["legendItem","legendGroup"].forEach(e,t)}),"clipRect up down pager nav box title group".split(" ").forEach(e,this),this.display=null},C.prototype.positionCheckboxes=function(){var o,s=this.group&&this.group.alignAttr,r=this.clipHeight||this.legendHeight,n=this.titleHeight;s&&(o=s.translateY,this.allItems.forEach(function(t){var e,i=t.checkbox;i&&(e=o+n+i.y+(this.scrollOffset||0)+3,u(i,{left:s.translateX+t.checkboxOffset+i.x-20+"px",top:e+"px",display:this.proximate||o-61.5*i?e.height:i))},C.prototype.layoutItem=function(t){var e=this.options,i=this.padding,o="horizontal"===e.layout,s=t.itemHeight,r=this.itemMarginBottom,n=this.itemMarginTop,a=o?b(e.itemDistance,20):0,h=this.maxLegendWidth,e=e.alignColumns&&this.totalItemWidth>h?this.maxItemWidth:t.itemWidth;o&&this.itemX-i+e>h&&(this.itemX=i,this.lastLineHeight&&(this.itemY+=n+this.lastLineHeight+r),this.lastLineHeight=0),this.lastItemY=n+this.itemY+r,this.lastLineHeight=Math.max(s,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],o?this.itemX+=e:(this.itemY+=n+s+r,this.lastLineHeight=s),this.offsetWidth=this.widthOption||Math.max((o?this.itemX-i-(t.checkbox?0:a):e)+i,this.offsetWidth)},C.prototype.getAllItems=function(){var i=[];return this.chart.series.forEach(function(t){var e=t&&t.options;t&&b(e.showInLegend,!f(e.linkedTo)&&void 0,!0)&&(i=i.concat(t.legendItems||("point"===e.legendType?t.data:t)))}),x(this,"afterGetAllItems",{allItems:i}),i},C.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},C.prototype.adjustMargins=function(i,o){var s=this.chart,r=this.options,n=this.getAlignment();n&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(t,e){t.test(n)&&!f(i[e])&&(s[a[e]]=Math.max(s[a[e]],s.legend[(e+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][e]*r[e%2?"x":"y"]+b(r.margin,12)+o[e]+(s.titleOffset[e]||0)))})},C.prototype.proximatePositions=function(){var s=this.chart,r=[],n="left"===this.options.align;this.allItems.forEach(function(t){var e,i,o=n;t.yAxis&&(t.xAxis.options.reversed&&(o=!o),t.points&&(e=m(o?t.points:t.points.slice(0).reverse(),function(t){return y(t.plotY)})),o=this.itemMarginTop+t.legendItem.getBBox().height+this.itemMarginBottom,i=t.yAxis.top-s.plotTop,t.visible?(e=e?e.plotY:t.yAxis.height,e+=i-.3*o):e=i+t.yAxis.height,r.push({target:e,size:o,item:t}))},this),h(r,s.plotHeight).forEach(function(t){t.item._legendItemPos&&t.pos&&(t.item._legendItemPos[1]=s.plotTop-s.spacing[0]+t.pos)})},C.prototype.render=function(){var t=this.chart,e=t.renderer,i=this.options,o=this.padding,s=this.getAllItems(),r=this.group,n=this.box,a=(this.itemX=o,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=M(i.width,t.spacingBox.width-o),t.spacingBox.width-2*o-i.x),h=(-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(a/=2),this.maxLegendWidth=this.widthOption||a,r||(this.group=r=e.g("legend").addClass(i.className||"").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(r),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle(),k(s,function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)}),i.reversed&&s.reverse(),this.allItems=s,this.display=a=!!s.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,s.forEach(this.renderItem,this),s.forEach(this.layoutItem,this),s=(this.widthOption||this.offsetWidth)+o,this.lastItemY+this.lastLineHeight+this.titleHeight),h=this.handleOverflow(h);h+=o,n||(this.box=n=e.rect().addClass("highcharts-legend-box").attr({r:i.borderRadius}).add(r)),t.styledMode||n.attr({stroke:i.borderColor,"stroke-width":i.borderWidth||0,fill:i.backgroundColor||"none"}).shadow(i.shadow),0r&&(n||i)!==m[s-1])&&(m.push(n||i),s++),t.pageIx=s-1,n&&(x[e-1].pageIx=s-1),e===x.length-1&&i+o-m[s-1]>r&&o<=r&&(m.push(i),t.pageIx=s),i!==n&&(n=i)}),v||(v=o.clipRect=a.clipRect(0,c,9999,0),o.contentGroup.clip(v)),e(r),y||(this.nav=y=a.g().attr({zIndex:1}).add(this.group),this.up=a.symbol("triangle",0,0,g,g).add(y),i("upTracker").on("click",function(){o.scroll(-1,f)}),this.pager=a.text("",15,10).addClass("highcharts-legend-navigation"),!s.styledMode&&u.style&&this.pager.css(u.style),this.pager.add(y),this.down=a.symbol("triangle-down",0,0,g,g).add(y),i("downTracker").on("click",function(){o.scroll(1,f)})),o.scroll(0),t=l):y&&(e(),this.nav=y.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},C.prototype.scroll=function(t,e){var i=this,o=this.chart,s=this.pages,r=s.length,n=this.clipHeight,a=this.options.navigation,h=this.pager,l=this.padding,d=this.currentPage+t;0<(d=r=Math.max(l+n,o.pos)&&h<=Math.min(l+n+r.width,o.pos+o.len)||(t.isInsidePlot=!1)),!i.ignoreY&&t.isInsidePlot&&(s=c&&(s?c.xAxis:c.yAxis)||{pos:a,len:1/0},(i=i.paneCoordinates?s.pos+e:a+e)>=Math.max(d+a,s.pos)&&i<=Math.min(d+a+r.height,s.pos+s.len)||(t.isInsidePlot=!1)),w(this,"afterIsInsidePlot",t),t.isInsidePlot},I.prototype.redraw=function(t){w(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],i=this.series,o=this.pointer,s=this.legend,r=this.userOptions.legend,n=this.renderer,a=n.isHidden(),h=[],l=this.isDirtyBox,d=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),f(!!this.hasRendered&&t,this),a&&this.temporaryDisplay(),this.layOutTitles(),t=i.length;t--;){var c=i[t];if(c.options.stacking||c.options.centerInCategory){var p=!0;if(c.isDirty){var u=!0;break}}}if(u)for(t=i.length;t--;)(c=i[t]).options.stacking&&(c.isDirty=!0);i.forEach(function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),d=!0):r&&(r.labelFormatter||r.labelFormat)&&(d=!0)),t.isDirtyData&&w(t,"updatedData")}),d&&s&&s.options.enabled&&(s.render(),this.isDirtyLegend=!1),p&&this.getStacks(),e.forEach(function(t){t.updateNames(),t.setScale()}),this.getMargins(),e.forEach(function(t){t.isDirty&&(l=!0)}),e.forEach(function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,h.push(function(){w(t,"afterSetExtremes",C(t.eventArgs,t.getExtremes())),delete t.eventArgs})),(l||p)&&t.redraw()}),l&&this.drawChartBox(),w(this,"predraw"),i.forEach(function(t){(l||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1}),o&&o.reset(!0),n.draw(),w(this,"redraw"),w(this,"render"),a&&this.temporaryDisplay(!0),h.forEach(function(t){t.call()})},I.prototype.get=function(e){function t(t){return t.id===e||t.options&&t.options.id===e}for(var i=this.series,o=r(this.axes,t)||r(this.series,t),s=0;!o&&s=B(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return B(e,t.length-1)},I.prototype.bindAxes=function(){var o,s=this,r=s.options,t=s.chart;P(this,"bindAxes",null,function(){(s.axisTypes||[]).forEach(function(e){var i=0;t[e].forEach(function(t){o=t.options,(r[e]===i&&!o.isInternal||void 0!==r[e]&&r[e]===o.id||void 0===r[e]&&0===o.index)&&(s.insert(t.series),(s[e]=t).isDirty=!0),o.isInternal||i++}),s[e]||s.optionalAxis===e||k(18,!0,t)})}),P(this,"afterBindAxes")},I.prototype.updateParallelArrays=function(i,o){var s=i.series,e=arguments,t=L(o)?function(t){var e="y"===t&&s.toYData?s.toYData(i):i[t];s[t+"Data"][o]=e}:function(t){Array.prototype[o].apply(s[t+"Data"],Array.prototype.slice.call(e,2))};s.parallelArrays.forEach(t)},I.prototype.hasData=function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0=this.cropStart?s-this.cropStart:s),s=!o&&L(s)&&a[s]&&a[s].touched?void 0:s},I.prototype.updateData=function(t,e){var s,i,r,n=this.options,a=n.dataSorting,h=this.points,l=[],d=this.requireSorting,c=t.length===h.length,o=!0;if(this.xIncrement=null,t.forEach(function(t,e){var i=T(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},o=i.x;i.id||L(o)?(-1===(i=this.findPointIndex(i,r))||void 0===i?l.push(t):h[i]&&t!==n.data[i]?(h[i].update(t,!1,null,!1),h[i].touched=!0,d&&(r=i+1)):h[i]&&(h[i].touched=!0),(!c||e!==i||a&&a.enabled||this.hasDerivedData)&&(s=!0)):l.push(t)},this),s)for(t=h.length;t--;)(i=h[t])&&!i.touched&&i.remove&&i.remove(!1,e);else!c||a&&a.enabled?o=!1:(t.forEach(function(t,e){t!==h[e].y&&h[e].update&&h[e].update(t,!1,null,!1)}),l.length=0);return h.forEach(function(t){t&&(t.touched=!1)}),!!o&&(l.forEach(function(t){this.addPoint(t,!1,null,null,!1)},this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=v(this.xData),this.autoIncrement()),!0)},I.prototype.setData=function(t,e,i,o){void 0===e&&(e=!0);var s,r,n=this,a=n.points,h=a&&a.length||0,l=n.options,d=n.chart,c=l.dataSorting,p=n.xAxis,u=l.turboThreshold,f=this.xData,g=this.yData,m=(m=n.pointArrayMap)&&m.length,x=l.keys,y=0,v=1;if(d.options.chart.allowMutatingData||(l.data&&delete n.options.data,n.userOptions.data&&delete n.userOptions.data,r=E(!0,t)),r=(t=r||t||[]).length,c&&c.enabled&&(t=this.sortData(t)),!(s=d.options.chart.allowMutatingData&&!1!==o&&r&&h&&!n.cropped&&!n.hasGroupedData&&n.visible&&!n.boosted?this.updateData(t,i):s)){if(n.xIncrement=null,n.colorCounter=0,this.parallelArrays.forEach(function(t){n[t+"Data"].length=0}),u&&ui?(c=[],p=[]):this.yData&&(c[0]i)&&(c=(o=this.cropData(this.xData,this.yData,e,i)).xData,p=o.yData,d=o.start,o=!0)),a=c.length||1;--a;)0<(r=n?t(c[a])-t(c[a-1]):c[a]-c[a-1])&&(void 0===s||r=i){a=Math.max(0,r-s);break}for(i=r;io){h=i+s;break}return{xData:t.slice(a,h),yData:e.slice(a,h),start:a,end:h}},I.prototype.generatePoints=function(){var t,e,i=this.options,o=this.processedData||i.data,s=this.processedXData,r=this.processedYData,n=this.pointClass,a=s.length,h=this.cropStart||0,l=this.hasGroupedData,d=i.keys,c=[],i=i.dataGrouping&&i.dataGrouping.groupAll?h:0,p=this.data;for(p||l||((f=[]).length=o.length,p=this.data=f),d&&l&&(this.options.keys=!1),e=0;e=h&&(r[i-a]||p)<=l;if(f&&p)if(f=u.length)for(;f--;)L(u[f])&&(n[d++]=u[f]);else n[d++]=u}return t={activeYData:n,dataMin:b(n),dataMax:v(n)},P(this,"afterGetExtremes",{dataExtremes:t}),t},I.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},I.prototype.getFirstValidPoint=function(t){for(var e=t.length,i=0,o=null;null===o&&i=s.enabledThreshold*s.radius);if(!1!==s.enabled||this._hasPointMarkers)for(t=0;tl.max,d.resetZones&&0===i&&(i=void 0)}),this.clips=u):d.visible&&(f&&f.show(),g&&g.show())},I.prototype.invertGroups=function(e){function t(){["group","markerGroup"].forEach(function(t){i[t]&&(o.renderer.isVML&&i[t].attr({width:i.yAxis.len,height:i.xAxis.len}),i[t].width=i.yAxis.len,i[t].height=i.xAxis.len,i[t].invert(!i.isRadialSeries&&e))})}var i=this,o=i.chart;i.xAxis&&(i.eventsToUnbind.push(y(o,"resize",t)),t(),i.invertGroups=t)},I.prototype.plotGroup=function(t,e,i,o,s){var r=this[t],n=!r;return i={visibility:i,zIndex:o||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(i.opacity=this.opacity),n&&(this[t]=r=this.chart.renderer.g().add(s)),r.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(T(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(r.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),r.attr(i)[n?"attr":"animate"](this.getPlotBox()),r},I.prototype.getPlotBox=function(){var t=this.chart,e=this.xAxis,i=this.yAxis;return t.inverted&&(e=i,i=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:i?i.top:t.plotTop,scaleX:1,scaleY:1}},I.prototype.removeEvents=function(t){t||N(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(t){t()}),this.eventsToUnbind.length=0)},I.prototype.render=function(){var t=this,e=t.chart,i=t.options,o=c(i.animation),s=t.visible?"inherit":"hidden",r=i.zIndex,n=t.hasRendered,a=e.seriesGroup,h=e.inverted,e=!t.finishedAnimating&&e.renderer.isSVG?o.duration:0,l=(P(this,"render"),t.plotGroup("group","series",s,r,a));t.markerGroup=t.plotGroup("markerGroup","markers",s,r,a),!1!==i.clip&&t.setClip(),t.animate&&e&&t.animate(!0),l.inverted=!!B(t.invertible,t.isCartesian)&&h,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(h),t.animate&&e&&t.animate(),n||(e&&o.defer&&(e+=o.defer),t.animationTimeout=j(function(){t.afterAnimate()},e||0)),t.isDirty=!1,t.hasRendered=!0,P(t,"afterRender")},I.prototype.redraw=function(){var t=this.chart,e=this.isDirty||this.isDirtyData,i=this.group,o=this.xAxis,s=this.yAxis;i&&(t.inverted&&i.attr({width:t.plotWidth,height:t.plotHeight}),i.animate({translateX:B(o&&o.left,t.plotLeft),translateY:B(s&&s.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},I.prototype.searchPoint=function(t,e){var i=this.xAxis,o=this.yAxis,s=this.chart.inverted;return this.searchKDTree({clientX:s?i.len-t.chartY+i.pos:t.chartX-i.pos,plotY:s?o.len-t.chartX+o.pos:t.chartY-o.pos},e,t)},I.prototype.buildKDTree=function(t){this.buildingKdTree=!0;var n=this,e=-1u;)f--;this.updateParallelArrays(p,"splice",f,0,0),this.updateParallelArrays(p,f),l&&p.name&&(l[u]=p.name),d.splice(f,0,t),(r||this.processedData)&&(this.data.splice(f,0,null),this.processData()),"point"===n.legendType&&this.generatePoints(),i&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(p,"shift"),d.shift())),!1!==s&&P(this,"addPoint",{point:p}),this.isDirtyData=this.isDirty=!0,e&&h.redraw(o)},I.prototype.removePoint=function(t,e,i){function o(){a&&a.length===r.length&&a.splice(t,1),r.splice(t,1),s.options.data.splice(t,1),s.updateParallelArrays(n||{series:s},"splice",t,1),n&&n.destroy(),s.isDirty=!0,s.isDirtyData=!0,e&&h.redraw()}var s=this,r=s.data,n=r[t],a=s.points,h=s.chart;p(i,h),e=B(e,!0),n?n.firePointEvent("remove",null,o):o()},I.prototype.remove=function(t,e,i,o){function s(){r.destroy(o),n.isDirtyLegend=n.isDirtyBox=!0,n.linkSeries(),B(t,!0)&&n.redraw(e)}var r=this,n=r.chart;!1!==i?P(r,"remove",null,s):s()},I.prototype.update=function(t,e){t=R(t,this.userOptions),P(this,"update",{options:t});var i,o,s=this,r=s.chart,n=s.userOptions,a=s.initialType||s.type,h=r.options.plotOptions,l=x[a].prototype,d=s.finishedAnimating&&{animation:!1},c={},p=["eventOptions","navigatorSeries","baseSeries"],u=t.type||n.type||r.options.chart.type,f=!(this.hasDerivedData||u&&u!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||t.joinBy||t.mapData||s.hasOptionChanged("dataGrouping")||s.hasOptionChanged("pointStart")||s.hasOptionChanged("pointInterval")||s.hasOptionChanged("pointIntervalUnit")||s.hasOptionChanged("keys")),u=u||a;if(f&&(p.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&p.push("area","graph"),s.parallelArrays.forEach(function(t){p.push(t+"Data")}),t.data&&(t.dataSorting&&S(s.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=E(n,d,{index:(void 0===n.index?s:n).index,pointStart:B(h&&h.series&&h.series.pointStart,n.pointStart,s.xData[0])},!f&&{data:s.options.data},t),f&&t.data&&(t.data=s.options.data),(p=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(p)).forEach(function(t){p[t]=s[t],delete s[t]}),h=!1,x[u]){if(h=u!==s.type,s.remove(!1,!1,!1,!0),h)if(Object.setPrototypeOf)Object.setPrototypeOf(s,x[u].prototype);else{for(i in d=Object.hasOwnProperty.call(s,"hcEvents")&&s.hcEvents,l)s[i]=void 0;S(s,x[u].prototype),d?s.hcEvents=d:delete s.hcEvents}}else k(17,!0,r,{missingModuleFor:u});p.forEach(function(t){s[t]=p[t]}),s.init(r,t),f&&this.points&&(!1===(o=s.options).visible?(c.graphic=1,c.dataLabel=1):s._hasPointLabels||(t=o.marker,l=o.dataLabels,!t||!1!==t.enabled&&(n.marker&&n.marker.symbol)===t.symbol||(c.graphic=1),l&&!1===l.enabled&&(c.dataLabel=1)),this.points.forEach(function(t){t&&t.series&&(t.resolveColor(),Object.keys(c).length&&t.destroyElements(c),!1===o.showInLegend&&t.legendItem&&r.legend.destroyItem(t))},this)),s.initialType=a,r.linkSeries(),h&&s.linkedSeries.length&&(s.isDirtyData=!0),P(this,"afterUpdate"),B(e,!0)&&r.redraw(f&&void 0)},I.prototype.setName=function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},I.prototype.hasOptionChanged=function(t){var e=this.options[t],i=this.chart.options.plotOptions,o=this.userOptions[t];return o?e!==o:e!==B(i&&i[this.type]&&i[this.type][t],i&&i.series&&i.series[t],e)},I.prototype.onMouseOver=function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&P(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},I.prototype.onMouseOut=function(){var t=this.options,e=this.chart,i=e.tooltip,o=e.hoverPoint;e.hoverSeries=null,o&&o.onMouseOut(),this&&t.events.mouseOut&&P(this,"mouseOut"),!i||this.stickyTracking||i.shared&&!this.noSharedTooltip||i.hide(),e.series.forEach(function(t){t.setState("",!0)})},I.prototype.setState=function(e,t){var i=this,o=i.options,s=i.graph,r=o.inactiveOtherPoints,n=o.states,a=B(n[e||"normal"]&&n[e||"normal"].animation,i.chart.options.chart.animation),h=o.lineWidth,l=0,d=o.opacity;if(e=e||"",i.state!==e&&([i.group,i.markerGroup,i.dataLabelsGroup].forEach(function(t){t&&(i.state&&t.removeClass("highcharts-series-"+i.state),e&&t.addClass("highcharts-series-"+e))}),i.state=e,!i.chart.styledMode)){if(n[e]&&!1===n[e].enabled)return;if(e&&(h=n[e].lineWidth||h+(n[e].lineWidthPlus||0),d=B(n[e].opacity,d)),s&&!s.dashstyle)for(s.animate(o={"stroke-width":h},a);i["zone-graph-"+l];)i["zone-graph-"+l].animate(o,a),l+=1;r||[i.group,i.markerGroup,i.dataLabelsGroup,i.labelBySeries].forEach(function(t){t&&t.animate({opacity:d},a)})}t&&r&&i.points&&i.setAllPointsToState(e||void 0)},I.prototype.setAllPointsToState=function(e){this.points.forEach(function(t){t.setState&&t.setState(e)})},I.prototype.setVisible=function(e,t){var i=this,o=i.chart,s=i.legendItem,r=o.options.chart.ignoreHiddenSeries,n=i.visible,a=(i.visible=e=i.options.visible=i.userOptions.visible=void 0===e?!n:e)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(t){i[t]&&i[t][a]()}),o.hoverSeries!==i&&(o.hoverPoint&&o.hoverPoint.series)!==i||i.onMouseOut(),s&&o.legend.colorizeItem(i,e),i.isDirty=!0,i.options.stacking&&o.series.forEach(function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)}),i.linkedSeries.forEach(function(t){t.setVisible(e,!1)}),r&&(o.isDirtyBox=!0),P(i,a),!1!==t&&o.redraw()},I.prototype.show=function(){this.setVisible(!0)},I.prototype.hide=function(){this.setVisible(!1)},I.prototype.select=function(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),P(this,t?"select":"unselect")},I.prototype.shouldShowTooltip=function(t,e,i){return(i=void 0===i?{}:i).series=this,i.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,i)},I.defaultOptions=r,I.types=n.seriesTypes,I.registerType=n.registerSeriesType,S((t=I).prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:s.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:l,requireSorting:!0,sorted:!0}),n.series=t}),t(e,"Extensions/ScrollablePlotArea.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Chart/Chart.js"],e["Core/Series/Series.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],function(t,r,e,i,n,o){var a=t.stop,h=o.addEvent,l=o.createElement,d=o.defined,c=o.merge,p=o.pick;h(e,"afterSetChartSize",function(t){var s,e=(i=this.options.chart.scrollablePlotArea)&&i.minWidth,i=i&&i.minHeight;this.renderer.forExport||(e?(this.scrollablePixelsX=e=Math.max(0,e-this.chartWidth))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.width=this.plotWidth+=e,this.inverted?this.clipBox.height+=e:this.clipBox.width+=e,s={1:{name:"right",value:e}}):i&&(this.scrollablePixelsY=e=Math.max(0,i-this.chartHeight),d(e)&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.height=this.plotHeight+=e,this.inverted?this.clipBox.width+=e:this.clipBox.height+=e,s={2:{name:"bottom",value:e}})),s&&!t.skipAxes&&this.axes.forEach(function(o){s[o.side]?o.getPlotLinePath=function(){var t=s[o.side].name,e=this[t],i=(this[t]=e-s[o.side].value,r.prototype.getPlotLinePath.apply(this,arguments));return this[t]=e,i}:(o.setAxisSize(),o.setAxisTranslation())}))}),h(e,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()}),e.prototype.setUpScrolling=function(){var t=this,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingParent=l("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=l("div",{className:"highcharts-scrolling"},e,this.scrollingParent),h(this.scrollingContainer,"scroll",function(){t.pointer&&delete t.pointer.chartPosition}),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},e.prototype.moveFixedElements=function(){var t,e=this.container,i=this.fixedRenderer,o=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&o.push(t+":not(.highcharts-radial-axis)",t+"-labels:not(.highcharts-radial-axis-labels)"),o.forEach(function(t){[].forEach.call(e.querySelectorAll(t),function(t){(t.namespaceURI===i.SVG_NS?i.box:i.box.parentNode).appendChild(t),t.style.pointerEvents="auto"})})},e.prototype.applyFixed=function(){var t=!this.fixedDiv,e=this.options.chart,i=e.scrollablePlotArea,o=n.getRendererType(),s=(t?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new o(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":p(i.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),h(this,"afterShowResetZoom",this.moveFixedElements),h(this,"afterApplyDrilldown",this.moveFixedElements),h(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||t)&&(this.scrollableDirty=!1,this.moveFixedElements()),e=this.chartWidth+(this.scrollablePixelsX||0),o=this.chartHeight+(this.scrollablePixelsY||0),a(this.container),this.container.style.width=e+"px",this.container.style.height=o+"px",this.renderer.boxWrapper.attr({width:e,height:o,viewBox:[0,0,e,o].join(" ")}),this.chartBackground.attr({width:e,height:o}),this.scrollingContainer.style.height=this.chartHeight+"px",t&&(i.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*i.scrollPositionX),i.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*i.scrollPositionY)),o=this.axisOffset,t=this.plotTop-o[0]-1,i=this.plotLeft-o[3]-1,e=this.plotTop+this.plotHeight+o[2]+1,o=this.plotLeft+this.plotWidth+o[1]+1,this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0)),r=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0),t=this.scrollablePixelsX?[["M",0,t],["L",this.plotLeft-1,t],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",s,t],["L",this.chartWidth,t],["L",this.chartWidth,e],["L",s,e],["Z"]]:this.scrollablePixelsY?[["M",i,0],["L",i,this.plotTop-1],["L",o,this.plotTop-1],["L",o,0],["Z"],["M",i,r],["L",i,this.chartHeight],["L",o,this.chartHeight],["L",o,r],["Z"]]:[["M",0,0]];"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},h(r,"afterInit",function(){this.chart.scrollableDirty=!0}),h(i,"show",function(){this.chart.scrollableDirty=!0})}),t(e,"Core/Axis/Stacking/StackItem.js",[e["Core/FormatUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i){var s=t.format,h=e.series,l=i.defined,o=i.destroyObjectProperties,d=i.isNumber,c=i.pick;function r(t,e,i,o,s){var r=t.chart.inverted;this.axis=t,this.isNegative=i,this.options=e=e||{},this.x=o,this.cumulative=this.total=null,this.points={},this.hasValidPoints=!1,this.stack=s,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(r?i?"left":"right":"center"),verticalAlign:e.verticalAlign||(r?"middle":i?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(r?i?"right":"left":"center")}return r.prototype.destroy=function(){o(this,this.axis)},r.prototype.render=function(t){var e=this.axis.chart,i=this.options,o=(o=i.format)?s(o,this,e):i.formatter.call(this);this.label?this.label.attr({text:o,visibility:"hidden"}):(this.label=e.renderer.label(o,null,null,i.shape,null,null,i.useHTML,!1,"stack-labels"),o={r:i.borderRadius||0,text:o,rotation:i.rotation,padding:c(i.padding,5),visibility:"hidden"},e.styledMode||(o.fill=i.backgroundColor,o.stroke=i.borderColor,o["stroke-width"]=i.borderWidth,this.label.css(i.style)),this.label.attr(o),this.label.added||this.label.add(t)),this.label.labelrank=e.plotSizeY},r.prototype.setOffset=function(t,e,i,o,s){var r=this.axis,n=r.chart,a=(o=r.translate(r.stacking.usePercentage?100:o||this.total,0,0,0,1),i=r.translate(i||0),t=c(s,n.xAxis[0].translate(this.x))+t,r=l(o)&&this.getStackBox(n,this,t,o,e,Math.abs(o-i),r),e=this.label,i=this.isNegative,this.textAlign);e&&r&&(t=e.getBBox(),s=e.padding,o="justify"===c(this.options.overflow,"justify"),a="left"===a?n.inverted?-s:s:"right"===a?t.width:(!n.inverted||"center"!==a)&&n.inverted?i?t.width+s:-s:t.width/2,i=n.inverted?t.height/2:i?-s:t.height,this.alignOptions.x=c(this.options.x,0),this.alignOptions.y=c(this.options.y,0),r.x-=a,r.y-=i,e.align(this.alignOptions,null,r),n.isInsidePlot(e.alignAttr.x+a-this.alignOptions.x,e.alignAttr.y+i-this.alignOptions.y)?e.show():(e.hide(),o=!1),o&&h.prototype.justifyDataLabel.call(this.axis,e,this.alignOptions,e.alignAttr,t,r),e.attr({x:e.alignAttr.x,y:e.alignAttr.y}),c(!o&&this.options.crop,!0)&&!(n=d(e.x)&&d(e.y)&&n.isInsidePlot(e.x-s+e.width,e.y)&&n.isInsidePlot(e.x+s,e.y))&&e.hide())},r.prototype.getStackBox=function(t,e,i,o,s,r,n){var a=e.axis.reversed,h=t.inverted,l=n.height+n.pos-(h?t.plotLeft:t.plotTop);return e=e.isNegative&&!a||!e.isNegative&&a,{x:h?e?o-n.right:o-r+n.pos-t.plotLeft:i+t.xAxis[0].transB-t.plotLeft,y:h?n.height-i-s:e?l-o-r:l-o,width:h?r:s,height:h?s:r}},t=r}),t(e,"Core/Axis/Stacking/StackingAxis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],function(t,e,i,M,o){function s(){var i=this,o=i.inverted;i.yAxis.forEach(function(t){t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)}),i.series.forEach(function(t){var e=t.xAxis&&t.xAxis.options||{};!t.options.stacking||!0!==t.visible&&!1!==i.options.chart.ignoreHiddenSeries||(t.stackKey=[t.type,w(t.options.stack,""),o?e.top:e.left,o?e.height:e.width].join())})}function r(){var i,t=this.stacking;t&&(i=t.stacks,b(i,function(t,e){x(t),i[e]=null}),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy())}function n(){this.stacking||(this.stacking=new A(this))}function a(t,e,i,o){return!S(t)||t.x!==e||o&&t.stackKey!==o?t={x:e,index:0,key:o,stackKey:o}:t.index++,t.key=[i,e,t.index].join(),t}function h(){var s,r=this,t=r.stackKey,n=r.yAxis.stacking.stacks,a=r.processedXData,h=r[r.options.stacking+"Stacker"];h&&[t,"-"+t].forEach(function(t){for(var e,i,o=a.length;o--;)e=a[o],s=r.getStackIndicator(s,e,r.index,t),(i=(e=n[t]&&n[t][e])&&e.points[s.key])&&h.call(r,i,e,o)})}function l(t,e,i){e=e.total?100/e.total:0,t[0]=k(t[0]*e),t[1]=k(t[1]*e),this.stackedYData[i]=t[1]}function d(){var i=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1m?e-m:g-(o?m:0)),C(t.options.pointWidth)&&(n=h=Math.ceil(t.options.pointWidth),a-=Math.round((n-y)/2)),c.centerInCategory&&(a=l.adjustForMissingColumns(a,n,t,x)),t.barX=a,t.pointWidth=n,t.tooltipPos=d.inverted?[S(u.len+u.pos-d.plotLeft-i,u.pos-d.plotLeft,u.len+u.pos-d.plotLeft),p.len+p.pos-d.plotTop-a-h/2,r]:[p.left-d.plotLeft+a+h/2,S(i+u.pos-d.plotTop,u.pos-d.plotTop,u.len+u.pos-d.plotTop),r],t.shapeType=l.pointClass.prototype.shapeType||"rect",t.shapeArgs=l.crispCol.apply(l,t.isNull?[a,g,h,0]:[a,s,h,r])})},v.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},v.prototype.pointAttribs=function(t,e){var i,o=this.options,s=(h=this.pointAttrToOptions||{}).stroke||"borderColor",r=h["stroke-width"]||"borderWidth",n=t&&t.color||this.color,a=t&&t[s]||o[s]||n,h=t&&t.options.dashStyle||o.dashStyle,l=t&&t[r]||o[r]||this[r]||0,d=A(t&&t.opacity,o.opacity,1);return t&&this.zones.length&&(i=t.getZone(),n=t.options.color||i&&(i.color||t.nonZonedColor)||this.color,i&&(a=i.borderColor||a,h=i.dashStyle||h,l=i.borderWidth||l)),e&&t&&(e=(t=x(o.states[e],t.options.states&&t.options.states[e]||{})).brightness,n=t.color||void 0!==e&&c(n).brighten(t.brightness).get()||n,a=t[s]||a,l=t[r]||l,h=t.dashStyle||h,d=A(t.opacity,d)),s={fill:n,stroke:a,"stroke-width":l,opacity:d},h&&(s.dashstyle=h),s},v.prototype.drawPoints=function(){var s,r=this,n=this.chart,a=r.options,h=n.renderer,l=a.animationLimit||250;r.points.forEach(function(t){var e=t.graphic,i=!!e,o=e&&n.pointCount"===n&&h="===n&&h<=a||"<="===n&&a<=h||"=="===n&&a==h||"==="===n&&a===h)),a=c.connectors?c.connectors[e]:c.connector,h=c.dataLabels?c.dataLabels[e]:c.dataLabel,l=!h,d=k(t.distance,c.labelDistance);n&&(i=c.getLabelConfig(),o=k(t[c.formatPrefix+"Format"],t.format),i=v(o)?y(o,i,f):(t[c.formatPrefix+"Formatter"]||t.formatter).call(i,t),o=t.style,s=t.rotation,f.styledMode||(o.color=k(t.color,o.color,u.color,"#000000"),"contrast"===o.color?(c.contrastColor=m.getContrast(c.color||u.color),o.color=!v(d)&&t.inside||d<0||g.stacking?c.contrastColor:x):delete c.contrastColor,g.cursor&&(o.cursor=g.cursor)),r={r:t.borderRadius||0,rotation:s,padding:t.padding,zIndex:1},f.styledMode||(r.fill=t.backgroundColor,r.stroke=t.borderColor,r["stroke-width"]=t.borderWidth),M(r,function(t,e){void 0===t&&delete r[e]})),!h||n&&v(i)&&!!h.div==!!t.useHTML&&(h.rotation&&t.rotation||h.rotation===t.rotation)||(l=!0,c.dataLabel=h=c.dataLabel&&c.dataLabel.destroy(),c.dataLabels&&(1===c.dataLabels.length?delete c.dataLabels:delete c.dataLabels[e]),e||delete c.dataLabel,a&&(c.connector=c.connector.destroy(),c.connectors&&(1===c.connectors.length?delete c.connectors:delete c.connectors[e]))),n&&v(i)?(h?r.text=i:(c.dataLabels=c.dataLabels||[],h=c.dataLabels[e]=s?m.text(i,0,0,t.useHTML).addClass("highcharts-data-label"):m.label(i,0,0,t.shape,null,null,t.useHTML,null,"data-label"),e||(c.dataLabel=h),h.addClass(" highcharts-data-label-color-"+c.colorIndex+" "+(t.className||"")+(t.useHTML?" highcharts-tracker":""))),h.options=t,h.attr(r),f.styledMode||h.css(o).shadow(t.shadow),t.textPath&&!t.useHTML&&(h.setTextPath(c.getDataLabelPath&&c.getDataLabelPath(h)||c.graphic,t.textPath),c.dataLabelPath&&!t.textPath.enabled&&(c.dataLabelPath=c.dataLabelPath.destroy())),h.added||h.add(p),u.alignDataLabel(c,h,t,null,l)):h&&h.hide()})})),n(this,"afterDrawDataLabels")}function u(t,e,i,o,s,r){var n,a=this.chart,h=e.align,l=e.verticalAlign,d=!t.box&&t.padding||0,c=void 0===(c=e.x)?0:c,p=void 0===(p=e.y)?0:p,u=(i.x||0)+d;return u<0&&("right"===h&&0<=c?(e.align="left",e.inside=!0):c-=u,n=!0),(u=(i.x||0)+o.width-d)>a.plotWidth&&("left"===h&&c<=0?(e.align="right",e.inside=!0):c+=a.plotWidth-u,n=!0),(u=i.y+d)<0&&("bottom"===l&&0<=p?(e.verticalAlign="top",e.inside=!0):p-=u,n=!0),(u=(i.y||0)+o.height-d)>a.plotHeight&&("top"===l&&p<=0?(e.verticalAlign="bottom",e.inside=!0):p+=a.plotHeight-u,n=!0),n&&(e.x=c,e.y=p,t.placed=!r,t.align(e,void 0,s)),n}function S(e,i){var t,o=[];if(a(e)&&!a(i))o=e.map(function(t){return l(t,i)});else if(a(i)&&!a(e))o=i.map(function(t){return l(e,t)});else if(a(e)||a(i))for(t=Math.max(e.length,i.length);t--;)o[t]=l(e[t],i[t]);else o=l(e,i);return o}function f(t,e,i,o,s){var r=this.chart,n=r.inverted,a=this.xAxis,h=a.reversed,l=n?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=n?s.x:h?-l-t:a.width-l+t,e.startYPos=n?h?this.yAxis.height-l+t:-l-t:s.y,o?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),r.hasRendered&&(i&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}return o=o||{},s=[],o.compose=function(t){var e;-1===s.indexOf(t)&&(e=t.prototype,s.push(t),e.alignDataLabel=c,e.drawDataLabels=p,e.justifyDataLabel=u,e.setDataLabelStartPos=f)},o}),t(e,"Series/Column/ColumnDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,t,i){var o,s,c=t.series,p=i.merge,u=i.pick;function r(t,e,i,o,s){var r=this.chart.inverted,n=((a=t.series).xAxis?a.xAxis.len:this.chart.plotSizeX)||0,a=(a.yAxis?a.yAxis.len:this.chart.plotSizeY)||0,h=t.dlBox||t.shapeArgs,l=u(t.below,t.plotY>u(this.translatedThreshold,a)),d=u(i.inside,!!this.options.stacking);h&&((o=p(h)).y<0&&(o.height+=o.y,o.y=0),0<(h=o.y+o.height-a)&&h {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}}),h((e=d).prototype,{drawTracker:r.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),a(e,"afterTranslate",function(){this.applyJitter()}),t.registerSeriesType("scatter",e),e}),t(e,"Series/CenteredUtilities.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(t,d,e){var i,o=t.deg2rad,c=e.fireEvent,p=e.isNumber,u=e.pick,f=e.relativeLength;return(t=i=i||{}).getCenter=function(){var t=this.options,e=this.chart,i=2*(t.slicedOffset||0),o=e.plotWidth-2*i,s=e.plotHeight-2*i,r=t.center,n=Math.min(o,s),a=t.thickness,h=t.size,l=t.innerSize||0;for("string"==typeof h&&(h=parseFloat(h)),"string"==typeof l&&(l=parseFloat(l)),t=[u(r[0],"50%"),u(r[1],"50%"),u(h&&h<0?void 0:t.size,"100%"),u(l&&l<0?void 0:t.innerSize||0,"0%")],!e.angular||this instanceof d||(t[3]=0),r=0;r<4;++r)h=t[r],e=r<2||2===r&&/%$/.test(h),t[r]=f(h,[o,s,n,t[2]][r])+(e?i:0);return t[3]>t[2]&&(t[3]=t[2]),p(a)&&2*at.x||se.x)&&(o=!1),t=[["M",t.x,t.y]],o&&t.push(i),t.push(["L",e.x,e.y]),t}}}),e}),t(e,"Series/Pie/PieSeries.js",[e["Series/CenteredUtilities.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Series/Pie/PiePoint.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],function(t,e,i,o,s,r,n,a,h){var l,d,c=this&&this.__extends||(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),m=t.getStartAndEndRadians,p=(i=i.noop,h.clamp),u=h.extend,x=h.fireEvent,f=h.merge,y=h.pick,v=h.relativeLength;function g(){var t=null!==d&&d.apply(this,arguments)||this;return t.center=void 0,t.data=void 0,t.maxLabelDistance=void 0,t.options=void 0,t.points=void 0,t}return c(g,d=r),g.prototype.animate=function(t){var o=this,e=o.points,s=o.startAngleRad;t||e.forEach(function(t){var e=t.graphic,i=t.shapeArgs;e&&i&&(e.attr({r:y(t.startR,o.center&&o.center[3]/2),start:s,end:s}),e.animate({r:i.r,start:i.start,end:i.end},o.options.animation))})},g.prototype.drawEmpty=function(){var t,e,i=this.startAngleRad,o=this.endAngleRad,s=this.options;0===this.total&&this.center?(t=this.center[0],e=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(t,e,this.center[1]/2,0,i,o).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:a.arc(t,e,this.center[2]/2,0,{start:i,end:o,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":s.borderWidth,fill:s.fillColor||"none",stroke:s.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())},g.prototype.drawPoints=function(){var e=this.chart.renderer;this.points.forEach(function(t){t.graphic&&t.hasNewShapeType()&&(t.graphic=t.graphic.destroy()),t.graphic||(t.graphic=e[t.shapeType](t.shapeArgs).add(t.series.group),t.delayedRendering=!0)})},g.prototype.generatePoints=function(){d.prototype.generatePoints.call(this),this.updateTotals()},g.prototype.getX=function(t,e,i){var o=this.center,s=this.radii?this.radii[i.index]||0:o[2]/2;return t=Math.asin(p((t-o[1])/(s+i.labelDistance),-1,1)),o[0]+(e?-1:1)*Math.cos(t)*(s+i.labelDistance)+(01.5*Math.PI?u-=2*Math.PI:u<-Math.PI/2&&(u+=2*Math.PI),c.slicedTranslation={translateX:Math.round(Math.cos(u)*i),translateY:Math.round(Math.sin(u)*i)},f=Math.cos(u)*t[2]/2,Math.sin(u)*t[2]/2);c.tooltipPos=[t[0]+.7*f,t[1]+.7*g],c.half=u<-Math.PI/2||u>Math.PI/2?1:0,c.angle=u,p=Math.min(o,c.labelDistance/5),c.labelPosition={natural:{x:t[0]+f+Math.cos(u)*c.labelDistance,y:t[1]+g+Math.sin(u)*c.labelDistance},final:{},alignment:c.labelDistance<0?"center":c.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+f+Math.cos(u)*p,y:t[1]+g+Math.sin(u)*p},touchingSliceAt:{x:t[0]+f,y:t[1]+g}}}}x(this,"afterTranslate")},g.prototype.updateTotals=function(){for(var t=this.points,e=t.length,i=this.options.ignoreHiddenPoint,o=0,s=0;se&&(t.dataLabel.css({width:Math.round(.7*e)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))}),s.forEach(function(t,e){var i,o,s,r=t.length,n=[];if(r)for(m.sortByAngle(t,e-.5),0e.bottom-2?o:i,e.half,e)},justify:function(t,e,i){return i[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,i,o){return t=t.getBBox().width,e?t+o:i-t-o},alignToConnectors:function(t,e,i,o){var s,r=0;return t.forEach(function(t){s=t.dataLabel.getBBox().width,r=a.x+a.width||d.x+d.width<=a.x||d.y>=a.y+a.height||d.y+d.height<=a.y||((r.labelrank=r(i.minWidth,0)&&this.chartHeight>=r(i.minHeight,0)}).call(this)&&e.push(t._id)},u.prototype.setResponsive=function(t,e){var i=this,o=this.options.responsive,s=this.currentResponsive,r=[];!e&&o&&o.rules&&o.rules.forEach(function(t){void 0===t._id&&(t._id=p()),i.matchResponsiveRule(t,r)},this),(e=a.apply(void 0,r.map(function(e){return n((o||{}).rules||[],function(t){return t._id===e})}).map(function(t){return t&&t.chartOptions}))).isResponsiveOptions=!0,(r=r.toString()||void 0)!==(s&&s.ruleIds)&&(s&&this.update(s.undoOptions,t,!0),r?((s=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:r,mergedOptions:e,undoOptions:s},this.update(e,t,!0)):this.currentResponsive=void 0)},o=u,e}),t(e,"masters/highcharts.src.js",[e["Core/Globals.js"],e["Core/Utilities.js"],e["Core/DefaultOptions.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/FormatUtilities.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Renderer/HTML/HTMLElement.js"],e["Core/Renderer/HTML/HTMLRenderer.js"],e["Core/Axis/Axis.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Axis/LogarithmicAxis.js"],e["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],e["Core/Axis/Tick.js"],e["Core/Tooltip.js"],e["Core/Series/Point.js"],e["Core/Pointer.js"],e["Core/MSPointer.js"],e["Core/Legend/Legend.js"],e["Core/Chart/Chart.js"],e["Core/Axis/Stacking/StackingAxis.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Series/Column/ColumnSeries.js"],e["Series/Column/ColumnDataLabel.js"],e["Series/Pie/PieSeries.js"],e["Series/Pie/PieDataLabel.js"],e["Core/Series/DataLabel.js"],e["Core/Responsive.js"],e["Core/Color/Color.js"],e["Core/Time.js"]],function(t,e,i,o,s,r,n,a,h,l,d,c,p,u,f,g,m,x,y,v,b,M,k,S,C,w,A,T,P,O,L,E,D,B,j){return t.animate=s.animate,t.animObject=s.animObject,t.getDeferredAnimation=s.getDeferredAnimation,t.setAnimation=s.setAnimation,t.stop=s.stop,t.timers=o.timers,t.AST=r,t.Axis=p,t.Chart=k,t.chart=k.chart,t.Fx=o,t.Legend=M,t.PlotLineOrBand=g,t.Point=y,t.Pointer=b.isRequired()?b:v,t.Series=w,t.StackItem=C,t.SVGElement=h,t.SVGRenderer=l,t.Tick=m,t.Time=j,t.Tooltip=x,t.Color=B,t.color=B.parse,c.compose(l),d.compose(h),t.defaultOptions=i.defaultOptions,t.getOptions=i.getOptions,t.time=i.defaultTime,t.setOptions=i.setOptions,t.dateFormat=n.dateFormat,t.format=n.format,t.numberFormat=n.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=a.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=A.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,P.compose(T),E.compose(w),u.compose(p),f.compose(p),L.compose(O),g.compose(p),D.compose(k),S.compose(p,k,w),t}),t(e,"Series/XRange/XRangeSeriesDefaults.js",[e["Core/Utilities.js"]],function(t){var e=t.correctFloat,i=t.isNumber,o=t.isObject;return{colorByPoint:!0,dataLabels:{formatter:function(){var t=this.point.partialFill;if(o(t)&&(t=t.amount),i(t)&&0{point.x} - {point.x2}
',pointFormat:' {series.name}: {point.yCategory}
'},borderRadius:3,pointRange:0}}),t(e,"Series/XRange/XRangePoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e){var o,i,s=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=t.series.prototype.pointClass.prototype;function n(){var t=null!==i&&i.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return e=e.extend,i=t.seriesTypes.column.prototype.pointClass,s(n,i),n.getColorByCategory=function(t,e){var i=t.options.colors||t.chart.options.colors;return{colorIndex:t=e.y%(i?i.length:t.chart.options.chart.colorCount),color:i&&i[t]}},n.prototype.resolveColor=function(){var t,e=this.series;e.options.colorByPoint&&!this.options.color?(t=n.getColorByCategory(e,this),e.chart.styledMode||(this.color=t.color),this.options.colorIndex||(this.colorIndex=t.colorIndex)):this.color||(this.color=e.color)},n.prototype.init=function(){return r.init.apply(this,arguments),this.y||(this.y=0),this},n.prototype.setState=function(){r.setState.apply(this,arguments),this.series.drawPoint(this,this.series.getAnimationVerb())},n.prototype.getLabelConfig=function(){var t=r.getLabelConfig.call(this),e=this.series.yAxis.categories;return t.x2=this.x2,t.yCategory=this.yCategory=e&&e[this.y],t},n.prototype.isValid=function(){return"number"==typeof this.x&&"number"==typeof this.x2},e((t=n).prototype,{ttBelow:!1,tooltipDateKeys:["x","x2"]}),t}),t(e,"Series/XRange/XRangeSeries.js",[e["Core/Globals.js"],e["Core/Color/Color.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"],e["Series/XRange/XRangeSeriesDefaults.js"],e["Series/XRange/XRangePoint.js"]],function(t,e,i,o,s,r){function n(){if(this.isXAxis){for(var t=b(this.dataMax,-Number.MAX_VALUE),e=0,i=this.series;ee.len?(n=g(n,0,e.len),a=g(a,0,e.len),t.dlBox=v(s,{x:n,width:d=a-n,centerX:d?d/2:null})):t.dlBox=null,n=t.tooltipPos,d=c?0:1,o=this.columnMetrics?this.columnMetrics.offset:-o.width/2,n[a=c?1:0]=c?n[a]+s.width/2:n[a]+(e.reversed?-1:0)*s.width,n[d]=g(n[d]+(c?-1:1)*o,0,i.len-1),(i=t.partialFill)&&(y(i)&&(i=i.amount),x(i)||(i=0),t.partShapeArgs=v(s,{r:this.options.borderRadius}),l=Math.max(Math.round(h*i+t.plotX-l),0),t.clipRectArgs={x:e.reversed?s.x+h-l:s.x,y:s.y,width:l,height:s.height})},k.prototype.translate=function(){h.prototype.translate.apply(this,arguments);for(var t=0,e=this.points;tt.to||s>t.from&&nt.from&&nt.from&&n>t.to&&n=this.basePointRange&&(s=e),t=void 0;r--;)t&&!1!==t.visible||(t=i[r+1]),e=i[r],!1!==t.visible&&!1!==e.visible&&(t.x-e.x>s&&(t=(e.x+t.x)/2,i.splice(r+1,0,{isNull:!0,x:t}),o.stacking&&this.options.stacking&&((t=o.stacking.stacks[this.stackKey][t]=new n(o,o.options.stackLabels,!1,t,this.stack)).total=0)),t=e);return this.getGraphPath(i)}function v(t){this.hasBreaks=!1,this.axis=t}return t=e=e||{},o=[],t.compose=function(t,e){var i;return-1===o.indexOf(t)&&(o.push(t),t.keepProps.push("brokenAxis"),s(t,"init",c),s(t,"afterInit",h),s(t,"afterSetTickPositions",d),s(t,"afterSetOptions",l)),-1===o.indexOf(e)&&(o.push(e),(i=e.prototype).drawBreaks=x,i.gappedPath=y,s(e,"afterGeneratePoints",p),s(e,"afterRender",m)),t},v.isInBreak=function(t,e){var i=t.repeat||1/0,o=t.from,s=t.to-t.from;return e=o<=e?(e-o)%i:i-(o-e)%i,t.inclusive?e<=s:e=t)break;(o.to=t)break;if(v.isInBreak(s,t)){i-=t-s.from;break}}}return i},v.prototype.findBreakAt=function(e,t){return r(t,function(t){return t.fromMath.PI;)t-=o;return o=Math.tan(t),-aMath.PI-a||t<=-(Math.PI-a)?(u=-1,h=!0):u=-1,h?(c+=u*r,p+=f*r*o):(c+=n/(2*o)*u,p+=f*l),i.x!==d&&(c=i.x),i.y!==s&&(p=i.y),{x:c+e*Math.cos(t),y:p-e*Math.sin(t)}}}),e}),t(e,"Gantt/PathfinderAlgorithms.js",[e["Core/Utilities.js"]],function(t){function M(t,e,i){i=i||0;var o,s,r=t.length-1;for(e-=1e-7;i<=r;)if(0<(s=e-t[o=r+i>>1].xMin))i=1+o;else{if(!(s<0))return o;r=o-1}return 0=e.x)&&(i=t[o],i=e.x<=i.xMax&&e.x>=i.xMin&&e.y<=i.yMax&&e.y>=i.yMin),i)return o;return-1}function S(t){var e=[];if(t.length){e.push(["M",t[0].start.x,t[0].start.y]);for(var i=0;i=o.x);){if(v[h].xMin<=n.x&&v[h].xMax>=o.x&&v[h].yMin<=a.y&&v[h].yMax>=s.y)return i?{y:t.y,x:t.x=r[a+"Max"],r=t[a+"Min"]<=r[a+"Min"],t[a+"Max"]>=n[a+"Max"]),n=t[a+"Min"]<=n[a+"Min"],c=P(t[a+"Min"]-e[a]),p=P(t[a+"Max"]-e[a]);return i=P(c-p)<10?e[a]P(e.y-t.y)),h=a?"x":"y",l=[],p=!1,f=d.obstacleMetrics,g=A(t.x,e.x)-f.maxWidth-10,m=T(t.x,e.x)+f.maxWidth+10,x=A(t.y,e.y)-f.maxHeight-10,y=T(t.y,e.y)+f.maxHeight+10,v=d.chartObstacles,b=M(v,g),f=M(v,m);for(-1<(f=k(v=v.slice(b,f+1),e))&&(o=v[f],s=e,r=t,n=A(o.xMax-s.x,s.x-o.xMin)P(e[i]-t[i+"Max"]);return s(e,i,t,i+(o?"Max":"Min"),o?1:-1)}var r,n=[],a=w(i.startDirectionX,P(e.x-t.x)>P(e.y-t.y))?"x":"y",h=i.chartObstacles,l=k(h,t),d=-1<(i=k(h,e))?(r={start:i=o(r=h[i],e,a),end:e},i):e;return-1=t[a]==i[a]>=d[a]&&(e=t[a="y"===a?"x":"y"]e.yMin-i&&t.yMin-ie.xMin-i&&t.xMin-ie.xMax?t.xMin-e.xMax:e.xMin-t.xMax:1/0,n=s?t.yMin>e.yMax?t.yMin-e.yMax:e.yMin-t.yMax:1/0;return s&&o?i?a(t,e,Math.floor(i/2)):1/0:x(r,n)}for(var e,i,o=t.length,s=0,r=[];sMath.PI;)t-=o;return o=Math.tan(t),-aMath.PI-a||t<=-(Math.PI-a)?(u=-1,h=!0):u=-1,h?(c+=u*r,p+=f*r*o):(c+=n/(2*o)*u,p+=f*l),i.x!==d&&(c=i.x),i.y!==s&&(p=i.y),{x:c+e*Math.cos(t),y:p-e*Math.sin(t)}}}),t.prototype.callbacks.push(function(t){!1!==t.options.connectors.enabled&&(((t=t).options.pathfinder||t.series.reduce(function(t,e){return e.options&&h(!0,e.options.connectors=e.options.connectors||{},e.options.pathfinder),t||e.options&&e.options.pathfinder},!1))&&(h(!0,t.options.connectors=t.options.connectors||{},t.options.pathfinder),n('WARNING: Pathfinder options have been renamed. Use "chart.connectors" or "series.connectors" instead.')),this.pathfinder=new y(this),this.pathfinder.update(!0))}),y}),t(e,"Series/Gantt/GanttSeries.js",[e["Core/Axis/Axis.js"],e["Core/Chart/Chart.js"],e["Series/Gantt/GanttPoint.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Axis/Tick.js"],e["Core/Utilities.js"],e["Core/Axis/TreeGrid/TreeGridAxis.js"]],function(t,e,i,o,s,r,n){var a,h,l=this&&this.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),d=o.series,c=o.seriesTypes.xrange,p=r.extend,u=r.isNumber,r=r.merge;function f(){var t=null!==h&&h.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n.compose(t,e,d,s),l(f,h=c),f.prototype.drawPoint=function(t,e){var i=this.options,o=this.chart.renderer,s=t.shapeArgs,r=t.plotY,n=t.graphic,a=t.selected&&"select",h=i.stacking&&!i.borderRadius;t.options.milestone?u(r)&&null!==t.y&&!1!==t.visible?(s=o.symbols.diamond(s.x||0,s.y||0,s.width||0,s.height||0),n?n[e]({d:s}):t.graphic=o.path(s).addClass(t.getClassName(),!0).add(t.group||this.group),this.chart.styledMode||t.graphic.attr(this.pointAttribs(t,a)).shadow(i.shadow,null,h)):n&&(t.graphic=n.destroy()):c.prototype.drawPoint.call(this,t,e)},f.prototype.translatePoint=function(t){var e,i;c.prototype.translatePoint.call(this,t),t.options.milestone&&(i=(e=t.shapeArgs).height||0,t.shapeArgs={x:(e.x||0)-i/2,y:e.y,width:i,height:i})},f.defaultOptions=r(c.defaultOptions,{grouping:!1,dataLabels:{enabled:!0},tooltip:{headerFormat:'{series.name}
',pointFormat:null,pointFormatter:function(){var t=this.series,e=t.xAxis,i=t.tooltipOptions.dateTimeLabelFormats,o=e.options.startOfWeek,s=t.tooltipOptions,r=s.xDateFormat,n=this.options.milestone,a=""+(this.name||this.yCategory)+"";return s.pointFormat?this.tooltipFormatter(s.pointFormat):(!r&&u(this.start)&&(r=t.chart.time.getDateFormat(e.closestPointRange,this.start,o,i||{})),e=t.chart.time.dateFormat(r,this.start),t=t.chart.time.dateFormat(r,this.end),a+="
",n?a+e+"
":a+"Start: "+e+"
End: "+t+"
")}},connectors:{type:"simpleConnect",animation:{reversed:!0},startMarker:{enabled:!0,symbol:"arrow-filled",radius:4,fill:"#fa0",align:"left"},endMarker:{enabled:!1,align:"right"}}}),p((t=f).prototype,{pointArrayMap:["start","end","y"],pointClass:i,setData:d.prototype.setData}),o.registerSeriesType("gantt",t),t}),t(e,"Core/Chart/GanttChart.js",[e["Core/Chart/Chart.js"],e["Core/DefaultOptions.js"],e["Core/Utilities.js"]],function(t,e,i){var o,a,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),h=e.getOptions,l=i.isArray,d=i.merge,c=i.splat;function n(){return null!==a&&a.apply(this,arguments)||this}return r(n,a=t),n.prototype.init=function(t,e){var i,o=h(),s=t.xAxis,r=t.yAxis,n=(t.xAxis=t.yAxis=void 0,d(!0,{chart:{type:"gantt"},title:{text:null},legend:{enabled:!1},navigator:{series:{type:"gantt"},yAxis:{type:"category"}}},t,{isGantt:!0}));t.xAxis=s,t.yAxis=r,n.xAxis=(l(t.xAxis)?t.xAxis:[t.xAxis||{},{}]).map(function(t,e){return 1===e&&(i=0),d(o.xAxis,{grid:{enabled:!0},opposite:!0,linkedTo:i},t,{type:"datetime"})}),n.yAxis=c(t.yAxis||{}).map(function(t){return d(o.yAxis,{grid:{enabled:!0},staticScale:50,reversed:!0,type:t.categories?t.type:"treegrid"},t)}),a.prototype.init.call(this,n,e)},(s=t=(t=n)||{}).ganttChart=function(t,e,i){return new s(t,e,i)},t}),t(e,"Core/Axis/ScrollbarAxis.js",[e["Core/Utilities.js"]],function(t){var i=t.addEvent,a=t.defined,o=t.pick;return s.compose=function(t,e){if(-1!==s.composed.indexOf(t))return t;s.composed.push(t);function n(t){var e=o(t.options&&t.options.min,t.min),i=o(t.options&&t.options.max,t.max);return{axisMin:e,axisMax:i,scrollMin:a(t.dataMin)?Math.min(e,t.min,t.dataMin,o(t.threshold,1/0)):e,scrollMax:a(t.dataMax)?Math.max(i,t.max,t.dataMax,o(t.threshold,-1/0)):i}}return i(t,"afterInit",function(){var r=this;r.options&&r.options.scrollbar&&r.options.scrollbar.enabled&&(r.options.scrollbar.vertical=!r.horiz,r.options.startOnTick=r.options.endOnTick=!1,r.scrollbar=new e(r.chart.renderer,r.options.scrollbar,r.chart),i(r.scrollbar,"changed",function(t){var e=n(r),i=e.axisMax,o=e.scrollMin,s=e.scrollMax-o;a(e.axisMin)&&a(i)&&(r.horiz&&!r.reversed||!r.horiz&&r.reversed?(e=o+s*this.to,o+=s*this.from):(e=o+s*(1-this.from),o+=s*(1-this.to)),this.shouldUpdateExtremes(t.DOMType)?r.setExtremes(o,e,!0,"mousemove"!==t.DOMType&&"touchmove"!==t.DOMType,t):this.setRange(this.from,this.to))}))}),i(t,"afterRender",function(){var t=(i=n(this)).scrollMin,e=i.scrollMax,i=this.scrollbar,o=this.axisTitleMargin+(this.titleOffset||0),s=this.chart.scrollbarsOffsets,r=this.options.margin||0;i&&(o=this.horiz?(this.opposite||(s[1]+=o),i.position(this.left,this.top+this.height+2+s[1]-(this.opposite?r:0),this.width,this.height),this.opposite||(s[1]+=r),1):(this.opposite&&(s[0]+=o),i.position(i.options.opposite?this.left+this.width+2+s[0]-(this.opposite?0:r):this.opposite?0:r,this.top,this.width,this.height),this.opposite&&(s[0]+=r),0),s[o]+=i.size+i.options.margin,isNaN(t)||isNaN(e)||!a(this.min)||!a(this.max)||this.min===this.max?i.setRange(0,1):(s=(this.min-t)/(e-t),t=(this.max-t)/(e-t),this.horiz&&!this.reversed||!this.horiz&&this.reversed?i.setRange(s,t):i.setRange(1-t,1-s)))}),i(t,"afterGetOffset",function(){var t=this.scrollbar&&!this.scrollbar.options.opposite,t=this.horiz?2:t?3:1,e=this.scrollbar;e&&(this.chart.scrollbarsOffsets=[0,0],this.chart.axisOffset[t]+=e.size+e.options.margin)}),t},s.composed=[],s;function s(){}}),t(e,"Core/ScrollbarDefaults.js",[e["Core/Globals.js"]],function(t){return{height:t.isTouchDevice?20:14,barBorderRadius:0,buttonBorderRadius:0,liveRedraw:void 0,margin:10,minWidth:6,opposite:!0,step:.2,zIndex:3,barBackgroundColor:"#cccccc",barBorderWidth:1,barBorderColor:"#cccccc",buttonArrowColor:"#333333",buttonBackgroundColor:"#e6e6e6",buttonBorderColor:"#cccccc",buttonBorderWidth:1,rifleColor:"#333333",trackBackgroundColor:"#f2f2f2",trackBorderColor:"#f2f2f2",trackBorderWidth:1}}),t(e,"Core/Scrollbar.js",[e["Core/DefaultOptions.js"],e["Core/Globals.js"],e["Core/Axis/ScrollbarAxis.js"],e["Core/ScrollbarDefaults.js"],e["Core/Utilities.js"]],function(t,a,e,o,i){var s=t.defaultOptions,h=i.addEvent,l=i.correctFloat,d=i.defined,r=i.destroyObjectProperties,n=i.fireEvent,c=i.merge,p=i.pick,u=i.removeEvent;function f(t,e,i){this._events=[],this.chart=void 0,this.from=this.chartY=this.chartX=0,this.scrollbar=this.renderer=this.options=this.group=void 0,this.scrollbarButtons=[],this.scrollbarGroup=void 0,this.scrollbarLeft=0,this.scrollbarRifles=void 0,this.scrollbarStrokeWidth=1,this.to=this.size=this.scrollbarTop=0,this.track=void 0,this.trackBorderWidth=1,this.userOptions=void 0,this.y=this.x=0,this.init(t,e,i)}return f.compose=function(t){e.compose(t,f)},f.swapXY=function(t,e){return e&&t.forEach(function(t){for(var e,i=t.length,o=0;othis.calculatedWidth?e.minWidth:0;return{chartX:(t.chartX-this.x-this.xOffset)/(this.barWidth-e),chartY:(t.chartY-this.y-this.yOffset)/(this.barWidth-e)}},f.prototype.destroy=function(){var e=this,t=e.chart.scroller;e.removeEvents(),["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach(function(t){e[t]&&e[t].destroy&&(e[t]=e[t].destroy())}),t&&e===t.scrollbar&&(t.scrollbar=null,r(t.scrollbarButtons))},f.prototype.drawScrollbarButton=function(t){var e=this.renderer,i=this.scrollbarButtons,o=this.options,s=this.size,r=e.g().add(this.group);i.push(r),r=e.rect().addClass("highcharts-scrollbar-button").add(r),this.chart.styledMode||r.attr({stroke:o.buttonBorderColor,"stroke-width":o.buttonBorderWidth,fill:o.buttonBackgroundColor}),r.attr(r.crisp({x:-.5,y:-.5,width:s+1,height:s+1,r:o.buttonBorderRadius},r.strokeWidth())),r=e.path(f.swapXY([["M",s/2+(t?-1:1),s/2-3],["L",s/2+(t?-1:1),s/2+3],["L",s/2+(t?2:-2),s/2]],o.vertical)).addClass("highcharts-scrollbar-arrow").add(i[t]),this.chart.styledMode||r.attr({fill:o.buttonArrowColor})},f.prototype.init=function(t,e,i){this.scrollbarButtons=[],this.renderer=t,this.userOptions=e,this.options=c(o,s.scrollbar,e),this.chart=i,this.size=p(this.options.size,this.options.height),e.enabled&&(this.render(),this.addEvents())},f.prototype.mouseDownHandler=function(t){t=this.chart.pointer.normalize(t),t=this.cursorToScrollbarPosition(t),this.chartX=t.chartX,this.chartY=t.chartY,this.initPositions=[this.from,this.to],this.grabbedCenter=!0},f.prototype.mouseMoveHandler=function(t){var e=this.chart.pointer.normalize(t),i=this.options.vertical?"chartY":"chartX",o=this.initPositions||[];!this.grabbedCenter||t.touches&&0===t.touches[0][i]||(i=this.cursorToScrollbarPosition(e)[i]-(i=this[i]),this.hasDragged=!0,this.updatePosition(o[0]+i,o[1]+i),this.hasDragged&&n(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}))},f.prototype.mouseUpHandler=function(t){this.hasDragged&&n(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}),this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null},f.prototype.position=function(t,e,i,o){var s=this.options.vertical,r=this.rendered?"animate":"attr",n=o,a=0;this.group.show(),this.x=t,this.y=e+this.trackBorderWidth,this.width=i,this.height=o,this.xOffset=n,this.yOffset=a,s?(this.width=this.yOffset=i=a=this.size,this.xOffset=n=0,this.barWidth=o-2*i,this.x=t+=this.options.margin):(this.height=this.xOffset=o=n=this.size,this.barWidth=i-2*o,this.y+=this.options.margin),this.group[r]({translateX:t,translateY:this.y}),this.track[r]({width:i,height:o}),this.scrollbarButtons[1][r]({translateX:s?0:i-n,translateY:s?o-a:0})},f.prototype.removeEvents=function(){this._events.forEach(function(t){u.apply(null,t)}),this._events.length=0},f.prototype.render=function(){var t=this.renderer,e=this.options,i=this.size,o=this.chart.styledMode,s=t.g("scrollbar").attr({zIndex:e.zIndex}).hide().add();this.group=s,this.track=t.rect().addClass("highcharts-scrollbar-track").attr({x:0,r:e.trackBorderRadius||0,height:i,width:i}).add(s),o||this.track.attr({fill:e.trackBackgroundColor,stroke:e.trackBorderColor,"stroke-width":e.trackBorderWidth}),this.trackBorderWidth=this.track.strokeWidth(),this.track.attr({y:-this.trackBorderWidth%2/2}),this.scrollbarGroup=t.g().add(s),this.scrollbar=t.rect().addClass("highcharts-scrollbar-thumb").attr({height:i,width:i,r:e.barBorderRadius||0}).add(this.scrollbarGroup),this.scrollbarRifles=t.path(f.swapXY([["M",-3,i/4],["L",-3,2*i/3],["M",0,i/4],["L",0,2*i/3],["M",3,i/4],["L",3,2*i/3]],e.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup),o||(this.scrollbar.attr({fill:e.barBackgroundColor,stroke:e.barBorderColor,"stroke-width":e.barBorderWidth}),this.scrollbarRifles.attr({stroke:e.rifleColor,"stroke-width":1})),this.scrollbarStrokeWidth=this.scrollbar.strokeWidth(),this.scrollbarGroup.translate(-this.scrollbarStrokeWidth%2/2,-this.scrollbarStrokeWidth%2/2),this.drawScrollbarButton(0),this.drawScrollbarButton(1)},f.prototype.setRange=function(t,e){var i,o,s=this.options,r=s.vertical,n=s.minWidth,a=this.barWidth,h=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";d(a)&&(i=a*Math.min(e,1),t=Math.max(t,0),o=Math.ceil(a*t),this.calculatedWidth=i=l(i-o),io||!this.options.vertical&&e.chartX>s?this.updatePosition(this.from+i,this.to+i):this.updatePosition(this.from-i,this.to-i),n(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})},f.prototype.update=function(t){this.destroy(),this.init(this.chart.renderer,c(!0,this.options,t),this.chart)},f.prototype.updatePosition=function(t,e){1=y-x,c=!t&&k&&i),s=t&&i||i&&!k&&!d||t&&p.frozenStates,(o=!S&&(h||l||c||m))?n=3:s&&(k=!0,n=2),r.state!==n&&(r.setState(n),u&&(u.options[e+1].disabled=o,2===n&&(u.selectedIndex=e+1)),0===n&&M===e&&p.setSelected())})},A.prototype.computeButtonRange=function(t){var e=t.type,i=t.count||1,o={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};o[e]?t._range=o[e]*i:"month"!==e&&"year"!==e||(t._range=864e5*{month:30,year:365}[e]*i),t._offsetMin=S(t.offsetMin,0),t._offsetMax=S(t.offsetMax,0),t._range+=t._offsetMax-t._offsetMin},A.prototype.getInputValue=function(t){t="min"===t?this.minInput:this.maxInput;var e=this.chart.options.rangeSelector,i=this.chart.time;return t?("text"===t.type&&e.inputDateParser||this.defaultInputDateParser)(t.value,i.useUTC,i):0},A.prototype.setInputValue=function(t,e){var i,o=this.options,s=this.chart.time,r="min"===t?this.minInput:this.maxInput;t="min"===t?this.minDateBox:this.maxDateBox,r&&(i=r.getAttribute("data-hc-time"),i=v(i)?Number(i):void 0,v(e)&&(v(i)&&r.setAttribute("data-hc-time-previous",i),r.setAttribute("data-hc-time",e),i=e),r.value=s.dateFormat(this.inputTypeFormats[r.type]||o.inputEditDateFormat,i),t&&t.attr({text:s.dateFormat(o.inputDateFormat,i)}))},A.prototype.setInputExtremes=function(t,e,i){var o,s;(t="min"===t?this.minInput:this.maxInput)&&(o=this.inputTypeFormats[t.type],s=this.chart.time,o&&(e=s.dateFormat(o,e),t.min!==e&&(t.min=e),i=s.dateFormat(o,i),t.max!==i&&(t.max=i)))},A.prototype.showInput=function(t){var e,i,o,s,r="min"===t?this.minDateBox:this.maxDateBox;(t="min"===t?this.minInput:this.maxInput)&&r&&this.inputGroup&&(e="text"===t.type,i=(o=this.inputGroup).translateX,o=o.translateY,s=this.options.inputBoxWidth,m(t,{width:e?r.width+(s?-2:20)+"px":"auto",height:e?r.height-2+"px":"auto",border:"2px solid silver"}),m(t,e&&s?{left:i+r.x+"px",top:o+"px"}:{left:Math.min(Math.round(r.x+i-(t.offsetWidth-r.width)/2),this.chart.chartWidth-t.offsetWidth)+"px",top:o-(t.offsetHeight-r.height)/2+"px"}))},A.prototype.hideInput=function(t){(t="min"===t?this.minInput:this.maxInput)&&m(t,{top:"-9999em",border:0,width:"1px",height:"1px"})},A.prototype.defaultInputDateParser=function(t,e,i){var o,s=t.split("/").join("-").split(" ").join("T");return-1===s.indexOf("T")&&(s+="T00:00"),e?s+="Z":(o=(o=u.isSafari)?!(6<(o=s).length&&(o.lastIndexOf("-")===o.length-6||o.lastIndexOf("+")===o.length-6)):o)&&(s+=(o=new Date(s).getTimezoneOffset()/60)<=0?"+".concat(d(-o),":00"):"-".concat(d(o),":00")),s=Date.parse(s),w(s)||(t=t.split("-"),s=Date.UTC(c(t[0]),c(t[1])-1,c(t[2]))),i&&e&&w(s)&&(s+=i.getTimezoneOffset(s)),s},A.prototype.drawInput=function(n){function e(){var t=h.getInputValue(n),e=a.xAxis[0],i=(o=a.scroller&&a.scroller.xAxis?a.scroller.xAxis:e).dataMin,o=o.dataMax,s=h.maxInput,r=h.minInput;t!==Number(c.getAttribute("data-hc-time-previous"))&&w(t)&&(c.setAttribute("data-hc-time-previous",t),l&&s&&w(i)?t>Number(s.getAttribute("data-hc-time"))?t=void 0:t=-s?0:-s),translateY:n.alignAttr.translateY+r.getBBox().height+10})}var i=this,o=this.chart,r=this.buttonGroup,n=this.inputGroup,a=(d=this.options).buttonPosition,h=d.dropdown,l=d.inputPosition,d=function(){var e=0;return i.buttons.forEach(function(t){(t=t.getBBox()).width>e&&(e=t.width)}),e};if(r){if("always"===h)return this.collapseButtons(s),void(t(d())&&e());"never"===h&&this.expandButtons()}n&&r?l.align===a.align||t(this.initialButtonGroupWidth+20)?"responsive"===h?(this.collapseButtons(s),t(d())&&e()):e():"responsive"===h&&this.expandButtons():r&&"responsive"===h&&(this.initialButtonGroupWidth>o.plotWidth?this.collapseButtons(s):this.expandButtons())},A.prototype.collapseButtons=function(t){function i(t){return{text:t?t+" ▾":"▾",width:"auto",paddingLeft:S(n.buttonTheme.paddingLeft,h.padding,8),paddingRight:S(n.buttonTheme.paddingRight,h.padding,8)}}var o=this.buttons,e=this.buttonOptions,s=this.chart,r=this.dropdown,n=this.options,a=this.zoomText,h=s.userOptions.rangeSelector&&s.userOptions.rangeSelector.buttonTheme||{},l=(a&&a.hide(),!1);e.forEach(function(t,e){2!==(e=o[e]).state?e.hide():(e.show(),e.attr(i(t.text)),l=!0)}),l||(r&&(r.selectedIndex=0),o[0].show(),o[0].attr(i(this.zoomText&&this.zoomText.textStr))),e=n.buttonPosition.align,this.positionButtons(),"right"!==e&&"center"!==e||this.alignButtonGroup(t,o[this.currentButtonIndex()].getBBox().width),this.showDropdown()},A.prototype.expandButtons=function(){var i=this.buttons,t=this.buttonOptions,o=this.options,e=this.zoomText;this.hideDropdown(),e&&e.show(),t.forEach(function(t,e){(e=i[e]).show(),e.attr({text:t.text,width:o.buttonTheme.width||28,paddingLeft:S(o.buttonTheme.paddingLeft,"unset"),paddingRight:S(o.buttonTheme.paddingRight,"unset")}),e.state<2&&e.setState(0)}),this.positionButtons()},A.prototype.currentButtonIndex=function(){var t=this.dropdown;return t&&0g&&(this.grabbedLeft?i=h.toPixels(e-g-l,!0):this.grabbedRight&&(o=h.toPixels(t+g+l,!0))),this.zoomedMax=x(Math.max(i,o),0,r),this.zoomedMin=x(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(i,o),0,r),this.range=this.zoomedMax-this.zoomedMin,r=Math.round(this.zoomedMax),i=Math.round(this.zoomedMin),c&&(this.navigatorGroup.attr({visibility:"inherit"}),p=p&&!this.hasDragged?"animate":"attr",this.drawMasks(i,r,u,p),this.drawOutline(i,r,u,p),this.navigatorOptions.handles.enabled&&(this.drawHandle(i,0,u,p),this.drawHandle(r,1,u,p))),this.scrollbar&&(u?(u=this.top-a,d=this.left-a+(c||!d.opposite?0:(d.titleOffset||0)+d.axisTitleMargin),a=s+2*a):(u=this.top+(c?this.height:-a),d=this.left-a),this.scrollbar.position(d,u,n,a),this.scrollbar.setRange(this.zoomedMin/(s||1),this.zoomedMax/(s||1))),this.rendered=!0}},L.prototype.addMouseEvents=function(){var t,e,i=this,o=i.chart,s=o.container,r=[];i.mouseMoveHandler=t=function(t){i.onMouseMove(t)},i.mouseUpHandler=e=function(t){i.onMouseUp(t)},(r=i.getPartsEvents("mousedown")).push(g(o.renderTo,"mousemove",t),g(s.ownerDocument,"mouseup",e)),a&&(r.push(g(o.renderTo,"touchmove",t),g(s.ownerDocument,"touchend",e)),r.concat(i.getPartsEvents("touchstart"))),i.eventsToUnbind=r,i.series&&i.series[0]&&r.push(g(i.series[0].xAxis,"foundExtremes",function(){o.navigator.modifyNavigatorAxisExtremes()}))},L.prototype.getPartsEvents=function(o){var s=this,r=[];return["shades","handles"].forEach(function(i){s[i].forEach(function(t,e){r.push(g(t.element,o,function(t){s[i+"Mousedown"](t,e)}))})}),r},L.prototype.shadesMousedown=function(t,e){t=this.chart.pointer.normalize(t);var i,o,s=this.chart,r=this.xAxis,n=this.zoomedMin,a=this.left,h=this.size,l=this.range,d=t.chartX;s.inverted&&(d=t.chartY,a=this.top),1===e?(this.grabbedCenter=d,this.fixedWidth=l,this.dragOffset=d-n):(t=d-a-l/2,0===e?t=Math.max(0,t):2===e&&h<=t+l&&(t=h-l,this.reversedExtremes?(t-=l,i=this.getUnionExtremes().dataMin):o=this.getUnionExtremes().dataMax),t!==n&&(this.fixedWidth=l,e=r.navigatorAxis.toFixedRange(t,t+l,i,o),v(e.min)&&s.xAxis[0].setExtremes(Math.min(e.min,e.max),Math.max(e.min,e.max),!0,null,{trigger:"navigator"})))},L.prototype.handlesMousedown=function(t,e){this.chart.pointer.normalize(t);var i=(t=this.chart).xAxis[0],o=this.reversedExtremes;0===e?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=o?i.min:i.max):(this.grabbedRight=!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=o?i.max:i.min),t.fixedRange=null},L.prototype.onMouseMove=function(t){var e=this,i=e.chart,o=e.left,s=e.navigatorSize,r=e.range,n=e.dragOffset,a=i.inverted;t.touches&&0===t.touches[0].pageX||(i=(t=i.pointer.normalize(t)).chartX,a&&(o=e.top,i=t.chartY),e.grabbedLeft?(e.hasDragged=!0,e.render(0,0,i-o,e.otherHandlePos)):e.grabbedRight?(e.hasDragged=!0,e.render(0,0,e.otherHandlePos,i-o)):e.grabbedCenter&&(e.hasDragged=!0,i=Math.round(t.size)),t.stickToMin=t.shouldStickToMin(this,t),e&&!t.hasNavigatorData&&(e.options.pointStart=this.xData[0],e.setData(this.options.data,!1,null,!1))},L.prototype.shouldStickToMin=function(t,e){e=e.getBaseSeriesMin(t.xData[0]);t=(o=t.xAxis).max;var i=o.min,o=o.options.range;return!(!C(t)||!C(i))&&(o&&0i&&(i=t[e]);return i},arrayMin:function(t){for(var e=t.length,i=t[0];e--;)t[e]>16,(65280&o)>>8,255&o,1]:4===i&&(e=[(3840&o)>>4|(3840&o)>>8,(240&o)>>4|240&o,(15&o)<<4|15&o,1])),!e)for(o=n.parsers.length;o--&&!e;){var s=n.parsers[o];(i=s.regex.exec(t))&&(e=s.parse(i))}e&&(this.rgba=e)},n.prototype.get=function(i){var o,t=this.input,e=this.rgba;return"object"==typeof t&&void 0!==this.stops?((o=r(t)).stops=[].slice.call(o.stops),this.stops.forEach(function(t,e){o.stops[e]=[o.stops[e][0],t.get(i)]}),o):e&&s(e[0])?"rgb"===i||!i&&1===e[3]?"rgb("+e[0]+","+e[1]+","+e[2]+")":"a"===i?"".concat(e[3]):"rgba("+e.join(",")+")":t},n.prototype.brighten=function(e){var t=this.rgba;if(this.stops)this.stops.forEach(function(t){t.brighten(e)});else if(s(e)&&0!==e)for(var i=0;i<3;i++)t[i]+=o(255*e),t[i]<0&&(t[i]=0),255=v.second?0:c*Math.floor(r.get("Milliseconds",h)/c)),l>=v.second&&r.set("Seconds",h,l>=v.minute?0:c*Math.floor(r.get("Seconds",h)/c)),l>=v.minute&&r.set("Minutes",h,l>=v.hour?0:c*Math.floor(r.get("Minutes",h)/c)),l>=v.hour&&r.set("Hours",h,l>=v.day?0:c*Math.floor(r.get("Hours",h)/c)),l>=v.day&&r.set("Date",h,l>=v.month?1:Math.max(1,c*Math.floor(r.get("Date",h)/c))),l>=v.month&&(r.set("Month",h,l>=v.year?0:c*Math.floor(r.get("Month",h)/c)),d=r.get("FullYear",h)),l>=v.year&&r.set("FullYear",h,d-d%c),l===v.week&&(d=r.get("Day",h),r.set("Date",h,r.get("Date",h)-d+o+(d4*v.month||r.getTimezoneOffset(e)!==r.getTimezoneOffset(i)),e=h.getTime(),h=1;et){a=n;break}if(r[a]&&s.substr(r[a])!=="01-01 00:00:00.000".substr(r[a]))break;"week"!==a&&(n=a)}return this.resolveDTLFormat(o[a]).main},t=a}),t(e,"Core/Defaults.js",[e["Core/Chart/ChartDefaults.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Color/Palettes.js"],e["Core/Time.js"],e["Core/Utilities.js"]],function(t,e,i,o,s,r){e=e.parse;var n=r.merge,a={colors:o.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),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:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",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,animation:i.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:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:i.isTouchDevice?25:10,headerFormat:'{point.key}
',pointFormat:' {series.name}: {point.y}
',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}},h=(a.chart.styledMode=!1,new s(n(a.global,a.time)));return t={defaultOptions:a,defaultTime:h,getOptions:function(){return a},setOptions:function(t){return n(!0,a,t),(t.time||t.global)&&(i.time?i.time.update(n(a.global,a.time,t.global,t.time)):i.time=h),a}}}),t(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,i){var o=t.parse,h=e.win,p=i.isNumber,l=i.objectEach;return c.prototype.dSetter=function(){var t=(e=this.paths)&&e[0],e=e&&e[1],i=this.now||0,o=[];if(1!==i&&t&&e)if(t.length===e.length&&i<1)for(var s=0;s=n+this.startTime?(this.now=this.end,this.pos=1,this.update(),e=a[this.prop]=!0,l(a,function(t){!0!==t&&(e=!1)}),e&&r&&r.call(s),!1):(this.pos=o.easing((i-this.startTime)/n),this.now=this.start+(this.end-this.start)*this.pos,this.update(),!0))},c.prototype.initPath=function(t,e,i){function o(t,e){for(;t.lengtht[d].pos&&(t[d-1].size+=t[d].size,t[d-1].targets=t[d-1].targets.concat(t[d].targets),t[d-1].align=.5,t[d-1].pos+t[d-1].size>o&&(t[d-1].pos=o-t[d-1].size),t.splice(d,1),h=!0)}return r.push.apply(r,l),d=0,t.some(function(t){var e=0;return(t.targets||[]).some(function(){return r[d].pos=t.pos+e,void 0!==s&&Math.abs(r[d].pos-r[d].target)>s?(r.slice(0,d+1).forEach(function(t){return delete t.pos}),r.reducedLen=(r.reducedLen||o)-.1*o,r.reducedLen>.1*o&&i(r,o,s),!0):(e+=r[d].size,d++,!1)})}),f(r,e),r},e}),t(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,m,r,e){var n=t.animate,a=t.animObject,c=t.stop,g=r.deg2rad,h=r.doc,l=r.svg,d=r.SVG_NS,i=r.win,p=e.addEvent,u=e.attr,o=e.createElement,x=e.css,y=e.defined,f=e.erase,v=e.extend,b=e.fireEvent,M=e.isArray,k=e.isFunction,S=e.isString,C=e.merge,w=e.objectEach,A=e.pick,T=e.pInt,P=e.syncTimeout,O=e.uniqueKey;function L(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=d,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return L.prototype._defaultGetter=function(t){return t=A(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),t=/^[\-0-9\.]+$/.test(t)?parseFloat(t):t},L.prototype._defaultSetter=function(t,e,i){i.setAttribute(e,t)},L.prototype.add=function(t){var e,i=this.renderer,o=this.element;return t&&(this.parentGroup=t),void 0!==this.textStr&&"text"===this.element.nodeName&&i.buildText(this),this.added=!0,(e=t&&!t.handleZ&&!this.zIndex?e:this.zIndexSetter())||(t?t.element:i.box).appendChild(o),this.onAdd&&this.onAdd(),this},L.prototype.addClass=function(t,e){var i=!e&&this.attr("class")||"";return(t=(t||"").split(/ /g).reduce(function(t,e){return-1===i.indexOf(e)&&t.push(e),t},i?[i]:[]).join(" "))!==i&&this.attr("class",t),this},L.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},L.prototype.align=function(t,e,i){var o,s,r,n={},a=(l=this.renderer).alignedObjects,h=(t?(this.alignOptions=t,this.alignByTranslate=e,i&&!S(i)||(this.alignTo=o=i||"renderer",f(a,this),a.push(this),i=void 0)):(t=this.alignOptions,e=this.alignByTranslate,o=this.alignTo),i=A(i,l[o],"scrollablePlotBox"===o?l.plotBox:void 0,l),o=t.align,t.verticalAlign),l=(i.x||0)+(t.x||0),a=(i.y||0)+(t.y||0);return"right"===o?s=1:"center"===o&&(s=2),s&&(l+=(i.width-(t.width||0))/s),n[e?"translateX":"x"]=Math.round(l),"bottom"===h?r=1:"middle"===h&&(r=2),r&&(a+=(i.height-(t.height||0))/r),n[e?"translateY":"y"]=Math.round(a),this[this.placed?"animate":"attr"](n),this.placed=!0,this.alignAttr=n,this},L.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},L.prototype.animate=function(t,e,i){var o=this,s=a(A(e,this.renderer.globalAnimation,!0));return e=s.defer,A(h.hidden,h.msHidden,h.webkitHidden,!1)&&(s.duration=0),0!==s.duration?(i&&(s.complete=i),P(function(){o.element&&n(o,t,s)},e)):(this.attr(t,void 0,i||s.complete),w(t,function(t,e){s.step&&s.step.call(this,t,{prop:e,pos:1,elem:this})},this)),this},L.prototype.applyTextOutline=function(t){var i,e,o=this.element,s=(t=-1!==t.indexOf("contrast")?t.replace(/contrast/g,this.renderer.getContrast(o.style.fill)):t).split(" ");t=s[s.length-1],(s=s[0])&&"none"!==s&&r.svg&&(this.fakeTS=!0,s=s.replace(/(^[\d\.]+)(.*?)$/g,function(t,e,i){return 2*Number(e)+i}),this.removeTextOutline(),i=h.createElementNS(d,"tspan"),u(i,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":s,"stroke-linejoin":"round"}),t=o.querySelector("textPath")||o,[].forEach.call(t.childNodes,function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(t){return e.removeAttribute(t)}),i.appendChild(e)}),e=0,[].forEach.call(t.querySelectorAll("text tspan"),function(t){e+=Number(t.getAttribute("dy"))}),(s=h.createElementNS(d,"tspan")).textContent="​",u(s,{x:Number(o.getAttribute("x")),dy:-e}),i.appendChild(s),t.insertBefore(i,t.firstChild))},L.prototype.attr=function(i,t,e,o){var s,r,n,a=this.element,h=this.symbolCustomAttribs,l=this;return"string"==typeof i&&void 0!==t&&(n=i,(i={})[n]=t),"string"==typeof i?l=(this[i+"Getter"]||this._defaultGetter).call(this,i,a):(w(i,function(t,e){r=!1,o||c(this,e),this.symbolName&&-1!==h.indexOf(e)&&(s||(this.symbolAttr(i),s=!0),r=!0),!this.rotation||"x"!==e&&"y"!==e||(this.doTransform=!0),r||((r=this[e+"Setter"]||this._defaultSetter).call(this,t,e,a),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(e)&&this.updateShadows(e,t,r))},this),this.afterSetters()),e&&e.call(this),l},L.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},L.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var i=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+i,t.y=Math.floor(t.y||this.y||0)+i,t.width=Math.floor((t.width||this.width||0)-2*i),t.height=Math.floor((t.height||this.height||0)-2*i),y(t.strokeWidth)&&(t.strokeWidth=e),t},L.prototype.complexColor=function(t,i,o){var s,r,n,a,h,l,c,d,p,u,f=this.renderer,g=[];b(this.renderer,"complexColor",{args:arguments},function(){var e;t.radialGradient?s="radialGradient":t.linearGradient&&(s="linearGradient"),s&&(r=t[s],a=f.gradients,h=t.stops,d=o.radialReference,M(r)&&(t[s]=r={x1:r[0],y1:r[1],x2:r[2],y2:r[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===s&&d&&!y(r.gradientUnits)&&(r=C(n=r,f.getRadialAttr(d,n),{gradientUnits:"userSpaceOnUse"})),w(r,function(t,e){"id"!==e&&g.push(e,t)}),w(h,function(t){g.push(t)}),g=g.join(","),a[g]?p=a[g].attr("id"):(r.id=p=O(),(e=a[g]=f.createElement(s).attr(r).add(f.defs)).radAttr=n,e.stops=[],h.forEach(function(t){c=0===t[1].indexOf("rgba")?(c=m.parse(t[1]),l=c.get("rgb"),c.get("a")):(l=t[1],1),t=f.createElement("stop").attr({offset:t[0],"stop-color":l,"stop-opacity":c}).add(e),e.stops.push(t)})),u="url("+f.url+"#"+p+")",o.setAttribute(i,u),o.gradient=g,t.toString=function(){return u})})},L.prototype.css=function(t){var e,i,o=this.styles,s={},r=this.element,n=!o;return t.color&&(t.fill=t.color),o&&w(t,function(t,e){o&&o[e]!==t&&(s[e]=t,n=!0)}),n&&(null===(t=o?v(o,s):t).width||"auto"===t.width?delete this.textWidth:"text"===r.nodeName.toLowerCase()&&t.width&&(e=this.textWidth=T(t.width)),this.styles=t,e&&!l&&this.renderer.forExport&&delete t.width,i=C(t),r.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach(function(t){return i&&delete i[t]}),x(r,i),this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline))),this},L.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var i=t.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(t=i.length;t--;)i[t]=""+T(i[t])*A(e,NaN);t=i.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},L.prototype.destroy=function(){var e,i=this,t=i.element||{},o=i.renderer,s=t.ownerSVGElement,r=o.isSVG&&"SPAN"===t.nodeName&&i.parentGroup||void 0;if(t.onclick=t.onmouseout=t.onmouseover=t.onmousemove=t.point=null,c(i),i.clipPath&&s&&(e=i.clipPath,[].forEach.call(s.querySelectorAll("[clip-path],[CLIP-PATH]"),function(t){-1]*>/g,"").replace(/</g,"<").replace(/>/g,">")},L.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},L.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},L.prototype.updateShadows=function(t,e,i){var o=this.shadows;if(o)for(var s=o.length;s--;)i.call(o[s],"height"===t?Math.max(e-(o[s].cutHeight||0),0):"d"===t?this.d:e,t,o[s])},L.prototype.updateTransform=function(){var t=this.element,e=this.matrix,i=void 0===(i=this.rotation)?0:i,o=this.scaleX,s=this.scaleY,r=this.translateX,n=this.translateY,r=["translate("+(void 0===r?0:r)+","+(void 0===n?0:n)+")"];y(e)&&r.push("matrix("+e.join(",")+")"),i&&r.push("rotate("+i+" "+A(this.rotationOriginX,t.getAttribute("x"),0)+" "+A(this.rotationOriginY,t.getAttribute("y")||0)+")"),(y(o)||y(s))&&r.push("scale("+A(o,1)+" "+A(s,1)+")"),r.length&&!(this.text||this).textPath&&t.setAttribute("transform",r.join(" "))},L.prototype.visibilitySetter=function(t,e,i){"inherit"===t?i.removeAttribute(e):this[e]!==t&&i.setAttribute(e,t),this[e]=t},L.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},L.prototype.zIndexSetter=function(t,e){var i,o=this.renderer,s=((h=this.parentGroup)||o).element||o.box,r=this.element,o=s===o.box,n=!1,a=this.added;if(y(t)?(r.setAttribute("data-z-index",t),this[e]===(t=+t)&&(a=!1)):y(this[e])&&r.removeAttribute("data-z-index"),this[e]=t,a){for((t=this.zIndex)&&h&&(h.handleZ=!0),i=(e=s.childNodes).length-1;0<=i&&!n;i--){var h,a=(h=e[i]).getAttribute("data-z-index"),l=!y(a);h!==r&&(t<0&&l&&!o&&!i?(s.insertBefore(r,e[i]),n=!0):(T(a)<=t||l&&(!y(t)||0<=t))&&(s.insertBefore(r,e[i+1]||null),n=!0))}n||(s.insertBefore(r,e[o?3:0]||null),n=!0)}return n},(t=L).prototype.strokeSetter=t.prototype.fillSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t}),t(e,"Core/Renderer/RendererRegistry.js",[e["Core/Globals.js"]],function(o){var t,s,r;return(s=t=t||{}).rendererTypes={},s.getRendererType=function(t){return void 0===t&&(t=r),s.rendererTypes[t]||s.rendererTypes[r]},s.registerRendererType=function(t,e,i){s.rendererTypes[t]=e,r&&!i||(r=t,o.Renderer=e)},t}),t(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,e){var o,p,i=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=e.defined,n=e.extend,a=e.isNumber,s=e.merge,h=e.pick,l=e.removeEvent;return i(u,p=t),u.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&a(this.xSetting)&&this.attr({x:this.xSetting}))},u.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},u.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},u.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},u.prototype.css=function(e){var i;return e&&(i={},e=s(e),u.textProps.forEach(function(t){void 0!==e[t]&&(i[t]=e[t],delete e[t])}),this.text.css(i),"fontSize"in i||"fontWeight"in i?this.updateTextPadding():("width"in i||"textOverflow"in i)&&this.updateBoxSize()),t.prototype.css.call(this,e)},u.prototype.destroy=function(){l(this.element,"mouseenter"),l(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},u.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},u.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=h(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},u.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},u.prototype.heightSetter=function(t){this.heightSetting=t},u.prototype.onAdd=function(){this.text.add(this),this.attr({text:h(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&r(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},u.prototype.paddingSetter=function(t,e){a(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},u.prototype.rSetter=function(t,e){this.boxAttr(e,t)},u.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},u.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},u.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},u.prototype["text-alignSetter"]=function(t){this.textAlign=t},u.prototype.textSetter=function(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding()},u.prototype.updateBoxSize=function(){var t=this.text,e=t.element.style,i={},o=this.padding,s=this.bBox=a(this.widthSetting)&&a(this.heightSetting)&&!this.textAlign||!r(t.textStr)?u.emptyBBox:t.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||s.height||0)+2*o,e=this.renderer.fontMetrics(e&&e.fontSize,t),this.baselineOffset=o+Math.min((this.text.firstLineMetrics||e).b,s.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-e.h)/2),this.needsBox&&!t.textPath&&(this.box||((t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this)),t=this.getCrispAdjust(),i.x=t,i.y=(this.baseline?-this.baselineOffset:0)+t,i.width=Math.round(this.width),i.height=Math.round(this.height),this.box.attr(n(i,this.deferredAttr)),this.deferredAttr={})},u.prototype.updateTextPadding=function(){var t,e,i=this.text;i.textPath||(this.updateBoxSize(),t=this.baseline?0:this.baselineOffset,e=h(this.paddingLeft,this.padding),r(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(e+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),e===i.x&&t===i.y||(i.attr("x",e),i.hasBoxWidthChanged&&(this.bBox=i.getBBox(!0)),void 0!==t&&i.attr("y",t)),i.x=e,i.y=t)},u.prototype.widthSetter=function(t){this.widthSetting=a(t)?t:void 0},u.prototype.getPaddedWidth=function(){var t=this.padding,e=h(this.paddingLeft,t),t=h(this.paddingRight,t);return(this.widthSetting||this.bBox.width||0)+e+t},u.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},u.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},u.emptyBBox={width:0,height:0,x:0,y:0},u.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),u;function u(t,e,i,o,s,r,n,a,h,l){var c,d=p.call(this)||this;return d.paddingLeftSetter=d.paddingSetter,d.paddingRightSetter=d.paddingSetter,d.init(t,"g"),d.textStr=e,d.x=i,d.y=o,d.anchorX=r,d.anchorY=n,d.baseline=h,d.className=l,d.addClass("button"===l?"highcharts-no-tooltip":"highcharts-label"),l&&d.addClass("highcharts-"+l),d.text=t.text(void 0,0,0,a).attr({zIndex:1}),"string"==typeof s&&((c=/^url\((.*?)\)$/.test(s))||d.renderer.symbols[s])&&(d.symbolKey=s),d.bBox=u.emptyBBox,d.padding=3,d.baselineOffset=0,d.needsBox=t.styledMode||c,d.deferredAttr={},d.alignFactor=0,d}}),t(e,"Core/Renderer/SVG/Symbols.js",[e["Core/Utilities.js"]],function(t){function s(t,e,i,o,s){var r,n,a,h,l,c,d,p,u=[];return s&&(p=s.start||0,r=g(s.r,i),i=g(s.r,o||i),n=(s.end||0)-.001,o=s.innerR,a=g(s.open,Math.abs((s.end||0)-p-2*Math.PI)<.001),h=Math.cos(p),l=Math.sin(p),c=Math.cos(n),d=Math.sin(n),p=g(s.longArc,n-p-Math.PI<.001?0:1),u.push(["M",t+r*h,e+i*l],["A",r,i,0,p,g(s.clockwise,1),t+r*c,e+i*d]),f(o)&&u.push(a?["M",t+o*c,e+o*d]:["L",t+o*c,e+o*d],["A",o,o,0,p,f(s.clockwise)?1-s.clockwise:0,t+o*h,e+o*l]),a||u.push(["Z"])),u}function e(t,e,i,o,s){return s&&s.r?l(t,e,i,o,s):[["M",t,e],["L",t+i,e],["L",t+i,e+o],["L",t,e+o],["Z"]]}function l(t,e,i,o,s){return[["M",t+(s=s&&s.r||0),e],["L",t+i-s,e],["C",t+i,e,t+i,e,t+i,e+s],["L",t+i,e+o-s],["C",t+i,e+o,t+i,e+o,t+i-s,e+o],["L",t+s,e+o],["C",t,e+o,t,e+o,t,e+o-s],["L",t,e+s],["C",t,e,t,e,t+s,e]]}var f=t.defined,c=t.isNumber,g=t.pick;return{arc:s,callout:function(t,e,i,o,s){var r=Math.min(s&&s.r||0,i,o),n=r+6,a=s&&s.anchorX,h=(s=s&&s.anchorY||0,l(t,e,i,o,{r:r}));return c(a)&&(i<=t+a?e+n/g.test(o))?""!==o&&(i&&i.appendChild(e),o=new a(o),this.modifyTree(o.nodes),o.addToDOM(e),this.modifyDOM(),this.ellipsis&&-1!==(e.textContent||"").indexOf("…")&&t.attr("title",this.unescapeEntities(t.textStr||"",["<",">"])),i&&i.removeChild(e)):e.appendChild(p.createTextNode(this.unescapeEntities(o))),h(this.textOutline)&&t.applyTextOutline&&t.applyTextOutline(this.textOutline)}},o.prototype.modifyDOM=function(){var t,h=this,l=this.svgElement,c=f(l.element,"x");for(l.firstLineMetrics=void 0;(t=l.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)l.element.removeChild(t);[].forEach.call(l.element.querySelectorAll("tspan.highcharts-br"),function(t,e){t.nextSibling&&t.previousSibling&&(0===e&&1===t.previousSibling.nodeType&&(l.firstLineMetrics=l.renderer.fontMetrics(void 0,t.previousSibling)),f(t,{dy:h.getLineHeight(t.nextSibling),x:c}))});var i,o,d=this.width||0;d&&(i=function(e,i){var t=e.textContent||"",o=t.replace(/([^\^])-/g,"$1- ").split(" "),s=!h.noWrap&&(1]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20");return""},I.prototype.getStyle=function(t){return this.style=A({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},I.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},I.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},I.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),w(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},I.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},I.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},I.prototype.buildText=function(t){new r(t).buildSVG()},I.prototype.getContrast=function(t){return((t=.2126*(t=e.parse(t).rgba.map(function(t){return(t/=255)<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}))[0]+.7152*t[1]+.0722*t[2])+.05)/.05<1.05/(t+.05)?"#FFFFFF":"#000000"},I.prototype.button=function(t,e,i,o,s,r,n,a,h,l){void 0===s&&(s={});var c,d,p,u=this.label(t,e,i,h,void 0,void 0,l,void 0,"button"),f=this.styledMode,g=(t=s.states||{},0),m=(delete(s=E(s)).states,E({color:"#333333",cursor:"pointer",fontWeight:"normal"},s.style)),x=(delete s.style,y.filterUserAttributes(s));return u.attr(E({padding:8,r:2},x)),f||(x=E({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},x),c=(r=E(x,{fill:"#e6e6e6"},y.filterUserAttributes(r||t.hover||{}))).style,delete r.style,d=(n=E(x,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},y.filterUserAttributes(n||t.select||{}))).style,delete n.style,p=(a=E(x,{style:{color:"#cccccc"}},y.filterUserAttributes(a||t.disabled||{}))).style,delete a.style),b(u.element,v?"mouseover":"mouseenter",function(){3!==g&&u.setState(1)}),b(u.element,v?"mouseout":"mouseleave",function(){3!==g&&u.setState(g)}),u.setState=function(t){1!==t&&(u.state=g=t),u.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),f||(u.attr([x,r,n,a][t||0]),O(t=[m,c,d,p][t||0])&&u.css(t))},f||(u.attr(x).css(A({cursor:"default"},m)),l&&u.text.css({pointerEvents:"none"})),u.on("touchstart",function(t){return t.stopPropagation()}).on("click",function(t){3!==g&&o.call(u,t)})},I.prototype.crispLine=function(t,e,i){void 0===i&&(i="round");var o=t[0],s=t[1];return C(o[1])&&o[1]===s[1]&&(o[1]=s[1]=Math[i](o[1])-e%2/2),C(o[2])&&o[2]===s[2]&&(o[2]=s[2]=Math[i](o[2])+e%2/2),t},I.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return T(t)?e.d=t:O(t)&&A(e,t),this.createElement("path").attr(e)},I.prototype.circle=function(t,e,i){return t=O(t)?t:void 0===t?{}:{x:t,y:e,r:i},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,i){i.setAttribute("c"+e,t)},e.attr(t)},I.prototype.arc=function(t,e,i,o,s,r){return O(t)?(e=(o=t).y,i=o.r,t=o.x):o={innerR:o,start:s,end:r},(t=this.symbol("arc",t,e,i,i,o)).r=i,t},I.prototype.rect=function(t,e,i,o,s,r){s=O(t)?t.r:s;var n=this.createElement("rect");return t=O(t)?t:void 0===t?{}:{x:t,y:e,width:Math.max(i,0),height:Math.max(o,0)},this.styledMode||(void 0!==r&&(t["stroke-width"]=r,t=n.crisp(t)),t.fill="none"),s&&(t.r=s),n.rSetter=function(t,e,i){n.r=t,M(i,{rx:t,ry:t})},n.rGetter=function(){return n.r||0},n.attr(t)},I.prototype.setSize=function(t,e,i){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:D(i,!0)?void 0:0}),this.alignElements()},I.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},I.prototype.image=function(e,t,i,o,s,r){var n={preserveAspectRatio:"none"},a=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)},h=(P(t)&&(n.x=t),P(i)&&(n.y=i),P(o)&&(n.width=o),P(s)&&(n.height=s),this.createElement("image").attr(n));return t=function(t){a(h.element,e),r.call(h,t)},r?(a(h.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),i=new f.Image,b(i,"load",t),i.src=e,i.complete&&t({})):a(h.element,e),h},I.prototype.symbol=function(t,e,i,o,s,l){var r,n,a,h,c=this,d=/^url\((.*?)\)$/,p=d.test(t),u=!p&&(this.symbols[t]?t:"circle"),f=u&&this.symbols[u];return f?("number"==typeof e&&(r=f.call(this.symbols,Math.round(e||0),Math.round(i||0),o||0,s||0,l)),r=this.path(r),c.styledMode||r.attr("fill","none"),A(r,{symbolName:u||void 0,x:e,y:i,width:o,height:s}),l&&A(r,l)):p&&(n=t.match(d)[1],(a=r=this.image(n)).imgwidth=D(x[n]&&x[n].width,l&&l.width),a.imgheight=D(x[n]&&x[n].height,l&&l.height),h=function(t){return t.attr({width:t.width,height:t.height})},["width","height"].forEach(function(t){a[t+"Setter"]=function(t,e){this[e]=t,t=this.alignByTranslate;var i,o=this.element,s=this.width,r=this.height,n=this.imgwidth,a=this.imgheight,h=this["img"+e];C(h)&&(i=1,l&&"within"===l.backgroundSize&&s&&r?(i=Math.min(s/n,r/a),h=Math.round(h*i),M(o,{width:Math.round(n*i),height:Math.round(a*i)})):o&&o.setAttribute(e,h),t||this.translate(((s||0)-h*i)/2,((r||0)-h*i)/2))}}),C(e)&&a.attr({x:e,y:i}),a.isImg=!0,C(a.imgwidth)&&C(a.imgheight)?h(a):(a.attr({width:0,height:0}),k("img",{onload:function(){var t=g[c.chartIndex];0===this.width&&(S(this,{position:"absolute",top:"-999em"}),m.body.appendChild(this)),x[n]={width:this.width,height:this.height},a.imgwidth=this.width,a.imgheight=this.height,a.element&&h(a),this.parentNode&&this.parentNode.removeChild(this),c.imgCount--,c.imgCount||!t||t.hasLoaded||t.onload()},src:n}),this.imgCount++)),r},I.prototype.clipRect=function(t,e,i,o){var s=j()+"-",r=this.createElement("clipPath").attr({id:s}).add(this.defs);return(t=this.rect(t,e,i,o,0).add(r)).id=s,t.clipPath=r,t.count=0,t},I.prototype.text=function(t,e,i,o){var s={};return!o||!this.allowHTML&&this.forExport?(s.x=Math.round(e||0),i&&(s.y=Math.round(i)),C(t)&&(s.text=t),t=this.createElement("text").attr(s),o&&(!this.forExport||this.allowHTML)||(t.xSetter=function(t,e,i){for(var o,s=i.getElementsByTagName("tspan"),r=i.getAttribute(e),n=0;n":">","'":"'",'"':"""},symbols:s,draw:p}),i.registerRendererType("svg",t,!0),t}),t(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,e,i){var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),n=t.isFirefox,a=t.isMS,h=t.isWebKit,l=t.win,f=i.css,g=i.defined,c=i.extend,d=i.pick,m=i.pInt;return r(p,s=e),p.compose=function(t){var e,i;return-1===p.composedClasses.indexOf(t)&&(p.composedClasses.push(t),(i=t.prototype).getSpanCorrection=(e=p.prototype).getSpanCorrection,i.htmlCss=e.htmlCss,i.htmlGetBBox=e.htmlGetBBox,i.htmlUpdateTransform=e.htmlUpdateTransform,i.setSpanRotation=e.setSpanRotation),t},p.prototype.getSpanCorrection=function(t,e,i){this.xCorr=-t*i,this.yCorr=-e},p.prototype.htmlCss=function(t){var e,i="SPAN"===this.element.tagName&&t&&"width"in t,o=d(i&&t.width,void 0);return i&&(delete t.width,this.textWidth=o,e=!0),t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=c(this.styles,t),f(this.element,t),e&&this.htmlUpdateTransform(),this},p.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},p.prototype.htmlUpdateTransform=function(){var e,i,o,s,t,r,n,a,h,l,c,d,p,u;this.added?(e=this.renderer,i=this.element,o=this.translateX||0,s=this.translateY||0,t=this.x||0,r=this.y||0,a={left:0,center:.5,right:1}[n=this.textAlign||"left"],u=(u=this.styles)&&u.whiteSpace,f(i,{marginLeft:o,marginTop:s}),!e.styledMode&&this.shadows&&this.shadows.forEach(function(t){f(t,{marginLeft:o+1,marginTop:s+1})}),this.inverted&&[].forEach.call(i.childNodes,function(t){e.invertChild(t,i)}),"SPAN"===i.tagName&&(h=this.rotation,l=this.textWidth&&m(this.textWidth),c=[h,n,i.innerHTML,this.textWidth,this.textAlign].join(),p=!1,l!==this.oldTextWidth&&(d=this.textPxLength||(f(i,{width:"",whiteSpace:u||"nowrap"}),i.offsetWidth),(l>this.oldTextWidth||l=this.minRange,n=[l-(n=((r=this.minRange)-c+l)/2),O(a.min,l-n)],t&&(n[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),c=[(l=p(n))+r,O(a.max,l+r)],t&&(c[2]=h?h.log2lin(this.dataMax):this.dataMax),(c=u(c))-l=g?(e=g,u=0):this.dataMax<=g&&(i=g,p=0)),this.min=O(m,e,this.dataMin),this.max=O(x,i,this.dataMax)),r&&(this.positiveValuesOnly&&!t&&Math.min(this.min,O(this.dataMin,this.min))<=0&&w(10,1,s),this.min=S(r.log2lin(this.min),16),this.max=S(r.log2lin(this.max),16)),this.range&&C(this.max)&&(this.userMin=this.min=m=Math.max(this.dataMin,this.minFromRange()),this.userMax=x=this.max,this.range=null),A(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(c||this.axisPointRange||this.stacking&&this.stacking.usePercentage||h)&&C(this.min)&&C(this.max)&&(s=this.max-this.min)&&(!C(m)&&u&&(this.min-=s*u),!C(x)&&p&&(this.max+=s*p)),T(this.userMin)||(T(n.softMin)&&n.softMinthis.max&&(this.max=x=n.softMax),T(n.ceiling)&&(this.max=Math.min(this.max,n.ceiling))),d&&C(this.dataMin)&&(g=g||0,!C(m)&&this.min=g?this.min=this.options.minRange?Math.min(g,this.max-this.minRange):g:!C(x)&&this.max>g&&this.dataMax<=g&&(this.max=this.options.minRange?Math.max(g,this.min+this.minRange):g)),T(this.min)&&T(this.max)&&!this.chart.polar&&this.min>this.max&&(C(this.options.min)?this.max=this.min:C(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||void 0===this.min||void 0===this.max?1:h&&this.linkedParent&&!f&&l===this.linkedParent.options.tickPixelInterval?f=this.linkedParent.tickInterval:O(f,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,c?1:(this.max-this.min)*l/Math.max(this.len,l)),a&&!t&&(o=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max),this.series.forEach(function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(o)}),A(this,"postProcessData",{hasExtremesChanged:o})),this.setAxisTranslation(),A(this,"initialAxisTranslation"),this.pointRange&&!f&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=O(n.minTickInterval,this.dateTime&&!this.series.some(function(t){return t.noSharedTooltip})?this.closestPointRange:0),!f&&this.tickIntervalMath.max(2*this.len,200)))if(this.dateTime)a=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,e.units),this.min,this.max,e.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0);else if(this.logarithmic)a=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(s=e=this.tickInterval;s<=2*e&&(a=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&a.length>this.tickAmount);)this.tickInterval=y(this,s*=1.1);else a=[this.min,this.max],w(19,!1,this.chart);a.length>this.len&&((a=[a[0],a[a.length-1]])[0]===a[1]&&(a.length=1)),o&&(this.tickPositions=a,(t=o.apply(this,[this.min,this.max]))&&(a=t))}this.tickPositions=a,this.paddedTicks=a.slice(0),this.trimTicks(a,n,r),!this.isLinked&&T(this.min)&&T(this.max)&&(this.single&&a.length<2&&!this.categories&&!this.series.some(function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement})&&(this.min-=.5,this.max+=.5),i||t||this.adjustTickAmount()),A(this,"afterSetTickPositions")},j.prototype.trimTicks=function(t,e,i){var o=t[0],s=t[t.length-1],r=!this.isOrdinal&&this.minPointOffset||0;if(A(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==o)this.min=o;else for(;this.min-r>t[0];)t.shift();if(i)this.max=s;else for(;this.max+rs||n[n.length-1]e.threshold?n.unshift(S(n[0]-d)):n.push(S(n[n.length-1]+d));if(d>8*e.tickInterval)break;d*=2}h()}else if(lp&&(p=t.label.textPxLength)}),this.maxLabelLength=p,this.autoRotation)hc.h?l.rotation=this.labelRotation:this.labelRotation=0;else if(a){var u=h;if(!d)for(var f="clip",h=i.length;!n&&h--;){var g=i[h];(g=s[g].label)&&(g.styles&&"ellipsis"===g.styles.textOverflow?g.css({textOverflow:"clip"}):g.textPxLength>a&&g.css({width:a+"px"}),g.getBBox().height>this.len/i.length-(c.h-c.f)&&(g.specificTextOverflow="ellipsis"))}}l.rotation&&(u=p>.5*t.chartHeight?.33*t.chartHeight:p,d||(f="ellipsis")),(this.labelAlign=o.align||this.autoLabelAlign(this.labelRotation))&&(l.align=this.labelAlign),i.forEach(function(t){var e=(t=s[t])&&t.label,i=r.width,o={};e&&(e.attr(l),t.shortenLabel?t.shortenLabel():u&&!i&&"nowrap"!==r.whiteSpace&&(u=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(o[t]||(o[t]=new b(this,t)),i&&o[t].isNew&&o[t].render(e,!0,-1),o[t].render(e))},j.prototype.render=function(){var i,o,s,r=this,n=r.chart,a=r.logarithmic,t=r.options,e=r.isLinked,h=r.tickPositions,l=r.axisTitle,c=r.ticks,d=r.minorTicks,p=r.alternateBands,u=t.stackLabels,f=t.alternateGridColor,g=r.tickmarkOffset,m=r.axisLine,x=r.showAxis,y=M(n.renderer.globalAnimation);r.labelEdge.length=0,r.overlap=!1,[c,d,p].forEach(function(t){P(t,function(t){t.isActive=!1})}),(r.hasData()||e)&&(s=r.chart.hasRendered&&r.old&&T(r.old.min),r.minorTickInterval&&!r.categories&&r.getMinorTickPositions().forEach(function(t){r.renderMinorTick(t,s)}),h.length&&(h.forEach(function(t,e){r.renderTick(t,e,s)}),g&&(0===r.min||r.single)&&(c[-1]||(c[-1]=new b(r,-1,null,!0)),c[-1].render(-1))),f&&h.forEach(function(t,e){o=void 0!==h[e+1]?h[e+1]+g:r.max-g,0==e%2&&tthis.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:i.acrossPanes}),i=1,t&&s)for(e&&(o=t.toString()===s.toString(),i=0),e=0;ee})&&(t=t.map(function(t){var e=u(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return B(t,{target:e.y,x:e.x})})),g.cleanSplit(),E(t,P),c),O=c;t.forEach(function(t){var e=t.x,i=t.boxWidth;(t=t.isHeader)||(g.outside&&c+e=o.value;)o=t[++i];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=o&&o.color&&!this.options.color?o.color:this.nonZonedColor,o},C.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},C.prototype.init=function(t,e,i){return this.series=t,this.applyOptions(e,i),this.id=r(this.id)?this.id:S(),this.resolveColor(),t.chart.pointCount++,b(this,"afterInit"),this},C.prototype.isValid=function(){return null!==this.x&&M(this.y)},C.prototype.optionsToObject=function(t){var e=this.series,i=e.options.keys,o=i||e.pointArrayMap||["y"],s=o.length,r={},n=0,a=0;if(M(t)||null===t)r[o[0]]=t;else if(c(t))for(!i&&t.length>s&&("string"===(e=typeof t[0])?r.name=t[0]:"number"===e&&(r.x=t[0]),n++);at.series.index?-1:1)),o&&(n=t)}),n},k.prototype.getChartCoordinatesFromPoint=function(t,e){var i,o,s=(r=t.series).xAxis,r=r.yAxis,n=t.shapeArgs;return s&&r?(i=M(t.clientX,t.plotX),o=t.plotY||0,t.isNode&&n&&v(n.x)&&v(n.y)&&(i=n.x,o=n.y),e?{chartX:r.len+r.pos-o,chartY:s.len+s.pos-i}:{chartX:i+s.pos,chartY:o+r.pos}):n&&n.x&&n.y?{chartX:n.x,chartY:n.y}:void 0},k.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=n(t),i=(this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1},t.offsetWidth),t=t.offsetHeight;return 2y.max&&(i=y.max-h,c=!0),c?(S-=.8*(S-n[p][0]),"number"==typeof C&&(C-=.8*(C-n[p][1])),e()):n[p]=[S,C],x||(r[p]=l-m,r[g]=h),r=x?1/k:k,s[g]=h,s[p]=i,o[x?t?"scaleY":"scaleX":"scale"+u]=k,o["translate"+u]=r*m+(S-r*b)},k.prototype.reset=function(e,t){var i=this.chart,o=i.hoverSeries,s=i.hoverPoint,r=i.hoverPoints,n=i.tooltip,a=n&&n.shared?r:s;e&&a&&h(a).forEach(function(t){t.series.isCartesian&&void 0===t.plotX&&(e=!1)}),e?n&&a&&h(a).length&&(n.refresh(a),n.shared&&r?r.forEach(function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))}):s&&(s.setState(s.state,!0),i.axes.forEach(function(t){t.crosshair&&s.series[t.coll]===t&&t.drawCrosshair(null,s)}))):(s&&s.onMouseOut(),r&&r.forEach(function(t){t.setState()}),o&&o.onMouseOut(),n&&n.hide(t),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach(function(t){t.hideCrosshair()}),this.hoverX=i.hoverPoints=i.hoverPoint=null)},k.prototype.runPointActions=function(o,t,e){var s=this.chart,i=s.tooltip&&s.tooltip.options.enabled?s.tooltip:void 0,r=!!i&&i.shared,n=t||s.hoverPoint,a=n&&n.series||s.hoverSeries,h=(t=this.getHoverData(n,a,s.series,(!o||"touchmove"!==o.type)&&(!!t||a&&a.directTouch&&this.isDirectTouch),r,o),n=t.hoverPoint,a=t.hoverSeries,t.hoverPoints),l=(t=a&&a.tooltipOptions.followPointer&&!a.tooltipOptions.split,r&&a&&!a.noSharedTooltip);if(n&&(e||n!==s.hoverPoint||i&&i.isHidden)){if((s.hoverPoints||[]).forEach(function(t){-1===h.indexOf(t)&&t.setState()}),s.hoverSeries!==a&&a.onMouseOver(),this.applyInactiveState(h),(h||[]).forEach(function(t){t.setState("hover")}),s.hoverPoint&&s.hoverPoint.firePointEvent("mouseOut"),!n.series)return;s.hoverPoints=h,(s.hoverPoint=n).firePointEvent("mouseOver",void 0,function(){i&&n&&i.refresh(l?h:n,o)})}else t&&i&&!i.isHidden&&(e=i.getAnchor([{}],o),s.isInsidePlot(e[0],e[1],{visiblePlotOnly:!0})&&i.updatePosition({plotX:e[0],plotY:e[1]}));this.unDocMouseMove||(this.unDocMouseMove=d(s.container.ownerDocument,"mousemove",function(t){var e=c[k.hoverChartIndex];e&&e.pointer.onDocumentMouseMove(t)}),this.eventsToUnbind.push(this.unDocMouseMove)),s.axes.forEach(function(e){var t,i=M((e.crosshair||{}).snap,!0);(t=!i||(t=s.hoverPoint)&&t.series[e.coll]===e?t:p(h,function(t){return t.series&&t.series[e.coll]===e}))||!i?e.drawCrosshair(o,t):e.hideCrosshair()})},k.prototype.scaleGroups=function(i,o){var s=this.chart;s.series.forEach(function(t){var e=i||t.getPlotBox();t.group&&(t.xAxis&&t.xAxis.zoomEnabled||s.mapView)&&(t.group.attr(e),t.markerGroup&&(t.markerGroup.attr(e),t.markerGroup.clip(o?s.clipRect:null)),t.dataLabelsGroup&&t.dataLabelsGroup.attr(e))}),s.clipRect.attr(o||s.clipBox)},k.prototype.setDOMEvents=function(){var t=this,e=this.chart.container,i=e.ownerDocument;e.onmousedown=this.onContainerMouseDown.bind(this),e.onmousemove=this.onContainerMouseMove.bind(this),e.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(d(e,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(d(e,"mouseleave",this.onContainerMouseLeave.bind(this))),k.unbindDocumentMouseUp||(k.unbindDocumentMouseUp=d(i,"mouseup",this.onDocumentMouseUp.bind(this)));for(var o=this.chart.renderTo.parentElement;o&&"BODY"!==o.tagName;)this.eventsToUnbind.push(d(o,"scroll",function(){delete t.chartPosition})),o=o.parentElement;s.hasTouch&&(this.eventsToUnbind.push(d(e,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(d(e,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),k.unbindDocumentTouchEnd||(k.unbindDocumentTouchEnd=d(i,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},k.prototype.setHoverChartIndex=function(){var t=this.chart,e=s.charts[M(k.hoverChartIndex,-1)];e&&e!==t&&e.pointer.onContainerMouseLeave({relatedTarget:t.container}),e&&e.mouseIsDown||(k.hoverChartIndex=t.index)},k.prototype.touch=function(t,e){var i,o=this.chart;this.setHoverChartIndex(),1===t.touches.length?(t=this.normalize(t),o.isInsidePlot(t.chartX-o.plotLeft,t.chartY-o.plotTop,{visiblePlotOnly:!0})&&!o.openMenu?(e&&this.runPointActions(t),"touchmove"===t.type&&(i=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2))),M(i,!0)&&this.pinch(t)):e&&this.reset()):2===t.touches.length&&this.pinch(t)},k.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zooming.singleTouch||!t.touches||1!==t.touches.length)},k.prototype.zoomOption=function(t){var e=(i=this.chart).options.chart,i=i.inverted,o=e.zooming.type||"";/touch/.test(t.type)&&(o=M(e.zooming.pinchType,o)),this.zoomX=t=/x/.test(o),this.zoomY=e=/y/.test(o),this.zoomHor=t&&!i||e&&i,this.zoomVert=e&&!i||t&&i,this.hasZoom=t||e},t=k}),t(e,"Core/MSPointer.js",[e["Core/Globals.js"],e["Core/Pointer.js"],e["Core/Utilities.js"]],function(t,n,e){function i(t,e,i,o){var s,r=a[n.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!r||(r=r.pointer,o(t),r[e]({type:i,target:t.currentTarget,preventDefault:l,touches:((s=[]).item=function(t){return this[t]},u(m,function(t){s.push({pageX:t.pageX,pageY:t.pageY,target:t.target})}),s)}))}var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),a=t.charts,h=t.doc,l=t.noop,c=t.win,d=e.addEvent,p=e.css,u=e.objectEach,f=e.pick,g=e.removeEvent,m={},x=!!c.PointerEvent;return r(y,s=n),y.isRequired=function(){return!(t.hasTouch||!c.PointerEvent&&!c.MSPointerEvent)},y.prototype.batchMSEvents=function(t){t(this.chart.container,x?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,x?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(h,x?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},y.prototype.destroy=function(){this.batchMSEvents(g),s.prototype.destroy.call(this)},y.prototype.init=function(t,e){s.prototype.init.call(this,t,e),this.hasZoom&&p(t.container,{"-ms-touch-action":"none","touch-action":"none"})},y.prototype.onContainerPointerDown=function(t){i(t,"onContainerTouchStart","touchstart",function(t){m[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}})},y.prototype.onContainerPointerMove=function(t){i(t,"onContainerTouchMove","touchmove",function(t){m[t.pointerId]={pageX:t.pageX,pageY:t.pageY},m[t.pointerId].target||(m[t.pointerId].target=t.currentTarget)})},y.prototype.onDocumentPointerUp=function(t){i(t,"onDocumentTouchEnd","touchend",function(t){delete m[t.pointerId]})},y.prototype.setDOMEvents=function(){var t=this.chart.tooltip;s.prototype.setDOMEvents.call(this),(this.hasZoom||f(t&&t.options.followTouchMove,!0))&&this.batchMSEvents(d)},y;function y(){return null!==s&&s.apply(this,arguments)||this}}),t(e,"Core/Legend/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Series/Point.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Utilities.js"]],function(t,e,i,d,o,s){var p=t.animObject,u=t.setAnimation,r=e.format,a=i.marginNames,h=o.distribute,n=s.addEvent,l=s.createElement,c=s.css,f=s.defined,g=s.discardElement,m=s.find,x=s.fireEvent,y=s.isNumber,v=s.merge,M=s.pick,b=s.relativeLength,k=s.stableSort,S=s.syncTimeout;function C(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options=void 0,this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return C.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),n(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=n(this.chart,"render",function(){this.legend.proximatePositions(),this.legend.positionItems()}):this.unchartrender&&this.unchartrender())},C.prototype.setOptions=function(t){var e=M(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=v(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=M(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},C.prototype.update=function(t,e){var i=this.chart;this.setOptions(v(!0,this.options,t)),this.destroy(),i.isDirtyLegend=i.isDirtyBox=!0,M(e,!0)&&i.redraw(),x(this,"afterUpdate")},C.prototype.colorizeItem=function(t,e){var i,o,s,r,n=(l=t.legendItem||{}).group,a=l.label,h=l.line,l=l.symbol;n&&n[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),this.chart.styledMode||(i=this.options,n=this.itemHiddenStyle.color,i=e?i.itemStyle.color:n,o=e&&t.color||n,s=t.options&&t.options.marker,r={fill:o},a&&a.css({fill:i,color:i}),h&&h.attr({stroke:o}),l&&(s&&l.isMarker&&(r=t.pointAttribs(),e||(r.stroke=r.fill=n)),l.attr(r))),x(this,"afterColorizeItem",{item:t,visible:e})},C.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},C.prototype.positionItem=function(t){var e=this,i=t.legendItem||{},o=i.group,s=void 0===(s=i.x)?0:s;i=void 0===(i=i.y)?0:i;var r=(a=this.options).symbolPadding,n=!a.rtl,a=t.checkbox;o&&o.element&&(r={translateX:n?s:this.legendWidth-s-2*r-4,translateY:i},o[f(o.translateY)?"animate":"attr"](r,void 0,function(){x(e,"afterPositionItem",{item:t})})),a&&(a.x=s,a.y=i)},C.prototype.destroyItem=function(t){for(var e=t.checkbox,i=t.legendItem||{},o=0,s=["group","label","line","symbol"];o1.5*o?i.height:o))},C.prototype.layoutItem=function(t){var e=this.options,i=this.padding,o="horizontal"===e.layout,s=t.itemHeight,r=this.itemMarginBottom,n=this.itemMarginTop,a=o?M(e.itemDistance,20):0,h=this.maxLegendWidth,e=e.alignColumns&&this.totalItemWidth>h?this.maxItemWidth:t.itemWidth,l=t.legendItem||{};o&&this.itemX-i+e>h&&(this.itemX=i,this.lastLineHeight&&(this.itemY+=n+this.lastLineHeight+r),this.lastLineHeight=0),this.lastItemY=n+this.itemY+r,this.lastLineHeight=Math.max(s,this.lastLineHeight),l.x=this.itemX,l.y=this.itemY,o?this.itemX+=e:(this.itemY+=n+s+r,this.lastLineHeight=s),this.offsetWidth=this.widthOption||Math.max((o?this.itemX-i-(t.checkbox?0:a):e)+i,this.offsetWidth)},C.prototype.getAllItems=function(){var i=[];return this.chart.series.forEach(function(t){var e=t&&t.options;t&&M(e.showInLegend,!f(e.linkedTo)&&void 0,!0)&&(i=i.concat((t.legendItem||{}).labels||("point"===e.legendType?t.data:t)))}),x(this,"afterGetAllItems",{allItems:i}),i},C.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},C.prototype.adjustMargins=function(i,o){var s=this.chart,r=this.options,n=this.getAlignment();n&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(t,e){t.test(n)&&!f(i[e])&&(s[a[e]]=Math.max(s[a[e]],s.legend[(e+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][e]*r[e%2?"x":"y"]+M(r.margin,12)+o[e]+(s.titleOffset[e]||0)))})},C.prototype.proximatePositions=function(){var s=this.chart,r=[],n="left"===this.options.align;this.allItems.forEach(function(t){var e,i,o=n;t.yAxis&&(t.xAxis.options.reversed&&(o=!o),t.points&&(e=m(o?t.points:t.points.slice(0).reverse(),function(t){return y(t.plotY)})),o=this.itemMarginTop+t.legendItem.label.getBBox().height+this.itemMarginBottom,i=t.yAxis.top-s.plotTop,t.visible?(e=e?e.plotY:t.yAxis.height,e+=i-.3*o):e=i+t.yAxis.height,r.push({target:e,size:o,item:t}))},this);for(var t=0,e=h(r,s.plotHeight);ts&&(r||t)!==x[o-1])&&(x.push(r||t),o++),n.pageIx=o-1,r&&((y[e-1].legendItem||{}).pageIx=o-1),e===y.length-1&&t+i-x[o-1]>s&&i<=s&&(x.push(t),n.pageIx=o),t!==r&&(r=t)}),b||(b=o.clipRect=h.clipRect(0,p,9999,0),o.contentGroup.clip(b)),e(s),v||(this.nav=v=h.g().attr({zIndex:1}).add(this.group),this.up=h.symbol("triangle",0,0,m,m).add(v),i("upTracker").on("click",function(){o.scroll(-1,g)}),this.pager=h.text("",15,10).addClass("highcharts-legend-navigation"),!a.styledMode&&f.style&&this.pager.css(f.style),this.pager.add(v),this.down=h.symbol("triangle-down",0,0,m,m).add(v),i("downTracker").on("click",function(){o.scroll(1,g)})),o.scroll(0),t=c):v&&(e(),this.nav=v.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},C.prototype.scroll=function(t,e){var i=this,o=this.chart,s=this.pages,r=s.length,n=this.clipHeight,a=this.options.navigation,h=this.pager,l=this.padding,c=this.currentPage+t;0<(c=r=Math.max(l+n,o.pos)&&h<=Math.min(l+n+r.width,o.pos+o.len)||(t.isInsidePlot=!1)),!i.ignoreY&&t.isInsidePlot&&(s=i.axis&&!i.axis.isXAxis&&i.axis||d&&(s?d.xAxis:d.yAxis)||{pos:a,len:1/0},(i=i.paneCoordinates?s.pos+e:a+e)>=Math.max(c+a,s.pos)&&i<=Math.min(c+a+r.height,s.pos+s.len)||(t.isInsidePlot=!1)),w(this,"afterIsInsidePlot",t),t.isInsidePlot},I.prototype.redraw=function(t){w(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],i=this.series,o=this.pointer,s=this.legend,r=this.userOptions.legend,n=this.renderer,a=n.isHidden(),h=[],l=this.isDirtyBox,c=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),f(!!this.hasRendered&&t,this),a&&this.temporaryDisplay(),this.layOutTitles(),t=i.length;t--;){var d=i[t];if(d.options.stacking||d.options.centerInCategory){var p=!0;if(d.isDirty){var u=!0;break}}}if(u)for(t=i.length;t--;)(d=i[t]).options.stacking&&(d.isDirty=!0);i.forEach(function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),c=!0):r&&(r.labelFormatter||r.labelFormat)&&(c=!0)),t.isDirtyData&&w(t,"updatedData")}),c&&s&&s.options.enabled&&(s.render(),this.isDirtyLegend=!1),p&&this.getStacks(),e.forEach(function(t){t.updateNames(),t.setScale()}),this.getMargins(),e.forEach(function(t){t.isDirty&&(l=!0)}),e.forEach(function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,h.push(function(){w(t,"afterSetExtremes",C(t.eventArgs,t.getExtremes())),delete t.eventArgs})),(l||p)&&t.redraw()}),l&&this.drawChartBox(),w(this,"predraw"),i.forEach(function(t){(l||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1}),o&&o.reset(!0),n.draw(),w(this,"redraw"),w(this,"render"),a&&this.temporaryDisplay(!0),h.forEach(function(t){t.call()})},I.prototype.get=function(e){function t(t){return t.id===e||t.options&&t.options.id===e}for(var i=this.series,o=r(this.axes,t)||r(this.series,t),s=0;!o&&s=B(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return B(e,t.length-1)},I.prototype.bindAxes=function(){var o,s=this,r=s.options,t=s.chart;P(this,"bindAxes",null,function(){(s.axisTypes||[]).forEach(function(e){var i=0;t[e].forEach(function(t){o=t.options,(r[e]===i&&!o.isInternal||void 0!==r[e]&&r[e]===o.id||void 0===r[e]&&0===o.index)&&(s.insert(t.series),(s[e]=t).isDirty=!0),o.isInternal||i++}),s[e]||s.optionalAxis===e||k(18,!0,t)})}),P(this,"afterBindAxes")},I.prototype.updateParallelArrays=function(i,o){var s=i.series,e=arguments,t=L(o)?function(t){var e="y"===t&&s.toYData?s.toYData(i):i[t];s[t+"Data"][o]=e}:function(t){Array.prototype[o].apply(s[t+"Data"],Array.prototype.slice.call(e,2))};s.parallelArrays.forEach(t)},I.prototype.hasData=function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0=this.cropStart?s-this.cropStart:s),s=!o&&L(s)&&a[s]&&a[s].touched?void 0:s},I.prototype.updateData=function(t,e){var s,i,r,n=this.options,a=n.dataSorting,h=this.points,l=[],c=this.requireSorting,d=t.length===h.length,o=!0;if(this.xIncrement=null,t.forEach(function(t,e){var i=T(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},o=i.x;i.id||L(o)?(-1===(i=this.findPointIndex(i,r))||void 0===i?l.push(t):h[i]&&t!==n.data[i]?(h[i].update(t,!1,null,!1),h[i].touched=!0,c&&(r=i+1)):h[i]&&(h[i].touched=!0),(!d||e!==i||a&&a.enabled||this.hasDerivedData)&&(s=!0)):l.push(t)},this),s)for(t=h.length;t--;)(i=h[t])&&!i.touched&&i.remove&&i.remove(!1,e);else!d||a&&a.enabled?o=!1:(t.forEach(function(t,e){t!==h[e].y&&h[e].update&&h[e].update(t,!1,null,!1)}),l.length=0);return h.forEach(function(t){t&&(t.touched=!1)}),!!o&&(l.forEach(function(t){this.addPoint(t,!1,null,null,!1)},this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=y(this.xData),this.autoIncrement()),!0)},I.prototype.setData=function(t,e,i,o){void 0===e&&(e=!0);var s,r,n=this,a=n.points,h=a&&a.length||0,l=n.options,c=n.chart,d=l.dataSorting,p=n.xAxis,u=l.turboThreshold,f=this.xData,g=this.yData,m=(m=n.pointArrayMap)&&m.length,x=l.keys,y=0,v=1;if(c.options.chart.allowMutatingData||(l.data&&delete n.options.data,n.userOptions.data&&delete n.userOptions.data,r=E(!0,t)),r=(t=r||t||[]).length,d&&d.enabled&&(t=this.sortData(t)),!(s=c.options.chart.allowMutatingData&&!1!==o&&r&&h&&!n.cropped&&!n.hasGroupedData&&n.visible&&!n.boosted?this.updateData(t,i):s)){if(n.xIncrement=null,n.colorCounter=0,this.parallelArrays.forEach(function(t){n[t+"Data"].length=0}),u&&ui?(d=[],p=[]):this.yData&&(d[0]i)&&(d=(o=this.cropData(this.xData,this.yData,e,i)).xData,p=o.yData,c=o.start,o=!0)),a=d.length||1;--a;)0<(r=n?t(d[a])-t(d[a-1]):d[a]-d[a-1])&&(void 0===s||r=i){a=Math.max(0,r-s);break}for(i=r;io){h=i+s;break}return{xData:t.slice(a,h),yData:e.slice(a,h),start:a,end:h}},I.prototype.generatePoints=function(){var t,e,i=this.options,o=this.processedData||i.data,s=this.processedXData,r=this.processedYData,n=this.pointClass,a=s.length,h=this.cropStart||0,l=this.hasGroupedData,c=i.keys,d=[],i=i.dataGrouping&&i.dataGrouping.groupAll?h:0,p=this.data;for(p||l||((f=[]).length=o.length,p=this.data=f),c&&l&&(this.options.keys=!1),e=0;e=h&&(r[i-a]||p)<=l;if(f&&p)if(f=u.length)for(;f--;)L(u[f])&&(n[c++]=u[f]);else n[c++]=u}return t={activeYData:n,dataMin:v(n),dataMax:y(n)},P(this,"afterGetExtremes",{dataExtremes:t}),t},I.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},I.prototype.getFirstValidPoint=function(t){for(var e=t.length,i=0,o=null;null===o&&i=n.enabledThreshold*n.radius);if(!1!==n.enabled||this._hasPointMarkers)for(e=0;el.max,c.resetZones&&0===i&&(i=void 0)}),this.clips=u):c.visible&&(f&&f.show(),g&&g.show())},I.prototype.plotGroup=function(t,e,i,o,s){var r=this[t],n=!r;return i={visibility:i,zIndex:o||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(i.opacity=this.opacity),n&&(this[t]=r=this.chart.renderer.g().add(s)),r.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(T(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(r.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),r.attr(i)[n?"attr":"animate"](this.getPlotBox(e)),r},I.prototype.getPlotBox=function(t){var e=this.xAxis,i=this.yAxis,o=this.chart;return t=o.inverted&&!o.polar&&e&&!1!==this.invertible&&"series"===t,o.inverted&&(e=i,i=this.xAxis),{translateX:e?e.left:o.plotLeft,translateY:i?i.top:o.plotTop,rotation:t?90:0,rotationOriginX:t?(e.len-i.len)/2:0,rotationOriginY:t?(e.len+i.len)/2:0,scaleX:t?-1:1,scaleY:1}},I.prototype.removeEvents=function(t){t||N(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(t){t()}),this.eventsToUnbind.length=0)},I.prototype.render=function(){var t=this,e=t.chart,i=t.options,o=d(i.animation),s=t.visible?"inherit":"hidden",r=i.zIndex,n=t.hasRendered,a=e.seriesGroup,e=!t.finishedAnimating&&e.renderer.isSVG?o.duration:0;P(this,"render"),t.plotGroup("group","series",s,r,a),t.markerGroup=t.plotGroup("markerGroup","markers",s,r,a),!1!==i.clip&&t.setClip(),t.animate&&e&&t.animate(!0),t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.animate&&e&&t.animate(),n||(e&&o.defer&&(e+=o.defer),t.animationTimeout=j(function(){t.afterAnimate()},e||0)),t.isDirty=!1,t.hasRendered=!0,P(t,"afterRender")},I.prototype.redraw=function(){var t=this.isDirty||this.isDirtyData;this.translate(),this.render(),t&&delete this.kdTree},I.prototype.searchPoint=function(t,e){var i=this.xAxis,o=this.yAxis,s=this.chart.inverted;return this.searchKDTree({clientX:s?i.len-t.chartY+i.pos:t.chartX-i.pos,plotY:s?o.len-t.chartX+o.pos:t.chartY-o.pos},e,t)},I.prototype.buildKDTree=function(t){this.buildingKdTree=!0;var n=this,e=-1u;)f--;this.updateParallelArrays(p,"splice",f,0,0),this.updateParallelArrays(p,f),l&&p.name&&(l[u]=p.name),c.splice(f,0,t),(r||this.processedData)&&(this.data.splice(f,0,null),this.processData()),"point"===n.legendType&&this.generatePoints(),i&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(p,"shift"),c.shift())),!1!==s&&P(this,"addPoint",{point:p}),this.isDirtyData=this.isDirty=!0,e&&h.redraw(o)},I.prototype.removePoint=function(t,e,i){function o(){a&&a.length===r.length&&a.splice(t,1),r.splice(t,1),s.options.data.splice(t,1),s.updateParallelArrays(n||{series:s},"splice",t,1),n&&n.destroy(),s.isDirty=!0,s.isDirtyData=!0,e&&h.redraw()}var s=this,r=s.data,n=r[t],a=s.points,h=s.chart;p(i,h),e=B(e,!0),n?n.firePointEvent("remove",null,o):o()},I.prototype.remove=function(t,e,i,o){function s(){r.destroy(o),n.isDirtyLegend=n.isDirtyBox=!0,n.linkSeries(),B(t,!0)&&n.redraw(e)}var r=this,n=r.chart;!1!==i?P(r,"remove",null,s):s()},I.prototype.update=function(t,e){t=b(t,this.userOptions),P(this,"update",{options:t});var i,o=this,s=o.chart,r=o.userOptions,n=o.initialType||o.type,a=s.options.plotOptions,h=x[n].prototype,l=o.finishedAnimating&&{animation:!1},c={},d=["eventOptions","navigatorSeries","baseSeries"],p=t.type||r.type||s.options.chart.type,u=!(this.hasDerivedData||p&&p!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||t.joinBy||t.mapData||o.hasOptionChanged("dataGrouping")||o.hasOptionChanged("pointStart")||o.hasOptionChanged("pointInterval")||o.hasOptionChanged("pointIntervalUnit")||o.hasOptionChanged("keys")),p=p||n;if(u&&(d.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&d.push("area","graph"),o.parallelArrays.forEach(function(t){d.push(t+"Data")}),t.data&&(t.dataSorting&&S(o.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=E(r,l,{index:(void 0===r.index?o:r).index,pointStart:B(a&&a.series&&a.series.pointStart,r.pointStart,o.xData[0])},!u&&{data:o.options.data},t),u&&t.data&&(t.data=o.options.data),(d=["group","markerGroup","dataLabelsGroup","transformGroup","shadowGroup"].concat(d)).forEach(function(t){d[t]=o[t],delete o[t]}),a=!1,x[p]){if(a=p!==o.type,o.remove(!1,!1,!1,!0),a)if(Object.setPrototypeOf)Object.setPrototypeOf(o,x[p].prototype);else{for(i in l=Object.hasOwnProperty.call(o,"hcEvents")&&o.hcEvents,h)o[i]=void 0;S(o,x[p].prototype),l?o.hcEvents=l:delete o.hcEvents}}else k(17,!0,s,{missingModuleFor:p});if(d.forEach(function(t){o[t]=d[t]}),o.init(s,t),u&&this.points)for(!1===(t=o.options).visible?(c.graphic=1,c.dataLabel=1):o._hasPointLabels||(h=t.marker,i=t.dataLabels,r=r.marker||{},!h||!1!==h.enabled&&r.symbol===h.symbol&&r.height===h.height&&r.width===h.width||(c.graphic=1),i&&!1===i.enabled&&(c.dataLabel=1)),r=0,h=this.points;rm?e-m:g-(o?m:0)),C(t.options.pointWidth)&&(n=h=Math.ceil(t.options.pointWidth),a-=Math.round((n-y)/2)),d.centerInCategory&&(a=l.adjustForMissingColumns(a,n,t,x)),t.barX=a,t.pointWidth=n,t.tooltipPos=c.inverted?[S(u.len+u.pos-c.plotLeft-i,u.pos-c.plotLeft,u.len+u.pos-c.plotLeft),p.len+p.pos-c.plotTop-a-h/2,r]:[p.left-c.plotLeft+a+h/2,S(i+u.pos-c.plotTop,u.pos-c.plotTop,u.len+u.pos-c.plotTop),r],t.shapeType=l.pointClass.prototype.shapeType||"rect",t.shapeArgs=l.crispCol.apply(l,t.isNull?[a,g,h,0]:[a,s,h,r])})},v.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},v.prototype.pointAttribs=function(t,e){var i,o=this.options,s=(h=this.pointAttrToOptions||{}).stroke||"borderColor",r=h["stroke-width"]||"borderWidth",n=t&&t.color||this.color,a=t&&t[s]||o[s]||n,h=t&&t.options.dashStyle||o.dashStyle,l=t&&t[r]||o[r]||this[r]||0,c=A(t&&t.opacity,o.opacity,1);return t&&this.zones.length&&(i=t.getZone(),n=t.options.color||i&&(i.color||t.nonZonedColor)||this.color,i&&(a=i.borderColor||a,h=i.dashStyle||h,l=i.borderWidth||l)),e&&t&&(e=(t=x(o.states[e],t.options.states&&t.options.states[e]||{})).brightness,n=t.color||void 0!==e&&p(n).brighten(t.brightness).get()||n,a=t[s]||a,l=t[r]||l,h=t.dashStyle||h,c=A(t.opacity,c)),s={fill:n,stroke:a,"stroke-width":l,opacity:c},h&&(s.dashstyle=h),s},v.prototype.drawPoints=function(t){void 0===t&&(t=this.points);var s,r=this,n=this.chart,a=r.options,h=n.renderer,l=a.animationLimit||250;t.forEach(function(t){var e=t.graphic,i=!!e,o=e&&n.pointCount"===a&&l="===a&&l<=h||"<="===a&&h<=l||"=="===a&&h==l||"==="===a&&h===l)),h=p.connectors?p.connectors[e]:p.connector,l=p.dataLabels?p.dataLabels[e]:p.dataLabel,c=!l,d=k(t.distance,p.labelDistance);a&&(i=p.getLabelConfig(),o=k(t[p.formatPrefix+"Format"],t.format),i=b(o)?v(o,i,g):(t[p.formatPrefix+"Formatter"]||t.formatter).call(i,t),o=t.style,s=t.rotation,g.styledMode||(o.color=k(t.color,o.color,f.color,"#000000"),"contrast"===o.color?(p.contrastColor=x.getContrast(p.color||f.color),o.color=!b(d)&&t.inside||d<0||m.stacking?p.contrastColor:y):delete p.contrastColor,m.cursor&&(o.cursor=m.cursor)),r={r:t.borderRadius||0,rotation:s,padding:t.padding,zIndex:1},g.styledMode||(d=t.backgroundColor,n=t.borderColor,r.fill="auto"===d?p.color:d,r.stroke="auto"===n?p.color:n,r["stroke-width"]=t.borderWidth),M(r,function(t,e){void 0===t&&delete r[e]})),!l||a&&b(i)&&!!l.div==!!t.useHTML&&(l.rotation&&t.rotation||l.rotation===t.rotation)||(c=!0,p.dataLabel=l=p.dataLabel&&p.dataLabel.destroy(),p.dataLabels&&(1===p.dataLabels.length?delete p.dataLabels:delete p.dataLabels[e]),e||delete p.dataLabel,h&&(p.connector=p.connector.destroy(),p.connectors&&(1===p.connectors.length?delete p.connectors:delete p.connectors[e]))),a&&b(i)?(l?r.text=i:(p.dataLabels=p.dataLabels||[],l=p.dataLabels[e]=s?x.text(i,0,0,t.useHTML).addClass("highcharts-data-label"):x.label(i,0,0,t.shape,null,null,t.useHTML,null,"data-label"),e||(p.dataLabel=l),l.addClass(" highcharts-data-label-color-"+p.colorIndex+" "+(t.className||"")+(t.useHTML?" highcharts-tracker":""))),l.options=t,l.attr(r),g.styledMode||l.css(o).shadow(t.shadow),(e=t[p.formatPrefix+"TextPath"]||t.textPath)&&!t.useHTML&&(l.setTextPath(p.getDataLabelPath&&p.getDataLabelPath(l)||p.graphic,e),p.dataLabelPath&&!e.enabled&&(p.dataLabelPath=p.dataLabelPath.destroy())),l.added||l.add(u),f.alignDataLabel(p,l,t,null,c)):l&&l.hide()})})),n(this,"afterDrawDataLabels")}function u(t,e,i,o,s,r){var n,a=this.chart,h=e.align,l=e.verticalAlign,c=!t.box&&t.padding||0,d=void 0===(d=e.x)?0:d,p=void 0===(p=e.y)?0:p,u=(i.x||0)+c;return u<0&&("right"===h&&0<=d?(e.align="left",e.inside=!0):d-=u,n=!0),(u=(i.x||0)+o.width-c)>a.plotWidth&&("left"===h&&d<=0?(e.align="right",e.inside=!0):d+=a.plotWidth-u,n=!0),(u=i.y+c)<0&&("bottom"===l&&0<=p?(e.verticalAlign="top",e.inside=!0):p-=u,n=!0),(u=(i.y||0)+o.height-c)>a.plotHeight&&("top"===l&&p<=0?(e.verticalAlign="bottom",e.inside=!0):p+=a.plotHeight-u,n=!0),n&&(e.x=d,e.y=p,t.placed=!r,t.align(e,void 0,s)),n}function S(e,i){var t,o=[];if(a(e)&&!a(i))o=e.map(function(t){return l(t,i)});else if(a(i)&&!a(e))o=i.map(function(t){return l(e,t)});else if(a(e)||a(i))for(t=Math.max(e.length,i.length);t--;)o[t]=l(e[t],i[t]);else o=l(e,i);return o}function f(t,e,i,o,s){var r=this.chart,n=r.inverted,a=this.xAxis,h=a.reversed,l=n?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=n?s.x:h?-l-t:a.width-l+t,e.startYPos=n?h?this.yAxis.height-l+t:-l-t:s.y,o?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),r.hasRendered&&(i&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}return o=o||{},s=[],o.compose=function(t){var e;-1===s.indexOf(t)&&(e=t.prototype,s.push(t),e.alignDataLabel=d,e.drawDataLabels=p,e.justifyDataLabel=u,e.setDataLabelStartPos=f)},o}),t(e,"Series/Column/ColumnDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,t,i){var o,s,d=t.series,p=i.merge,u=i.pick;function r(t,e,i,o,s){var r=this.chart.inverted,n=((a=t.series).xAxis?a.xAxis.len:this.chart.plotSizeX)||0,a=(a.yAxis?a.yAxis.len:this.chart.plotSizeY)||0,h=t.dlBox||t.shapeArgs,l=u(t.below,t.plotY>u(this.translatedThreshold,a)),c=u(i.inside,!!this.options.stacking);h&&((o=p(h)).y<0&&(o.height+=o.y,o.y=0),0<(h=o.y+o.height-a)&&h {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}}}),t(e,"Series/Scatter/ScatterSeries.js",[e["Series/Scatter/ScatterSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i){var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),n=(h=e.seriesTypes).column,a=h.line,h=i.addEvent,l=i.extend,c=i.merge;function d(){var t=null!==s&&s.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(d,s=a),d.prototype.applyJitter=function(){var h=this,l=this.options.jitter,c=this.points.length;l&&this.points.forEach(function(n,a){["x","y"].forEach(function(t,e){var i,o,s,r="plot"+t.toUpperCase();l[t]&&!n.isNull&&(s=h[t+"Axis"],i=l[t]*s.transA,s&&!s.isLog&&(o=Math.max(0,n[r]-i),s=Math.min(s.len,n[r]+i),e=1e4*Math.sin(a+e*c),n[r]=o+(s-o)*(e-Math.floor(e)),"x"===t&&(n.clientX=n.plotX)))})})},d.prototype.drawGraph=function(){this.options.lineWidth?s.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},d.defaultOptions=c(a.defaultOptions,t),l((i=d).prototype,{drawTracker:n.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),h(i,"afterTranslate",function(){this.applyJitter()}),e.registerSeriesType("scatter",i),i}),t(e,"Series/CenteredUtilities.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(t,c,e){var i,o=t.deg2rad,d=e.fireEvent,p=e.isNumber,u=e.pick,f=e.relativeLength;return(t=i=i||{}).getCenter=function(){var t=this.options,e=this.chart,i=2*(t.slicedOffset||0),o=e.plotWidth-2*i,s=e.plotHeight-2*i,r=t.center,n=Math.min(o,s),a=t.thickness,h=t.size,l=t.innerSize||0;for("string"==typeof h&&(h=parseFloat(h)),"string"==typeof l&&(l=parseFloat(l)),t=[u(r[0],"50%"),u(r[1],"50%"),u(h&&h<0?void 0:t.size,"100%"),u(l&&l<0?void 0:t.innerSize||0,"0%")],!e.angular||this instanceof c||(t[3]=0),r=0;r<4;++r)h=t[r],e=r<2||2===r&&/%$/.test(h),t[r]=f(h,[o,s,n,t[2]][r])+(e?i:0);return t[3]>t[2]&&(t[3]=t[2]),p(a)&&2*at.x||se.x)&&(o=!1),t=[["M",t.x,t.y]],o&&t.push(i),t.push(["L",e.x,e.y]),t}}}),e}),t(e,"Series/Pie/PieSeriesDefaults.js",[],function(){return{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}}),t(e,"Series/Pie/PieSeries.js",[e["Series/CenteredUtilities.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Series/Pie/PiePoint.js"],e["Series/Pie/PieSeriesDefaults.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],function(t,e,i,o,s,r,n,a,h,l){var c,d,p=this&&this.__extends||(c=function(t,e){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}c(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),m=t.getStartAndEndRadians,u=(i=i.noop,l.clamp),f=l.extend,x=l.fireEvent,g=l.merge,y=l.pick,v=l.relativeLength;function b(){var t=null!==d&&d.apply(this,arguments)||this;return t.center=void 0,t.data=void 0,t.maxLabelDistance=void 0,t.options=void 0,t.points=void 0,t}return p(b,d=n),b.prototype.animate=function(t){var o=this,e=o.points,s=o.startAngleRad;t||e.forEach(function(t){var e=t.graphic,i=t.shapeArgs;e&&i&&(e.attr({r:y(t.startR,o.center&&o.center[3]/2),start:s,end:s}),e.animate({r:i.r,start:i.start,end:i.end},o.options.animation))})},b.prototype.drawEmpty=function(){var t,e,i=this.startAngleRad,o=this.endAngleRad,s=this.options;0===this.total&&this.center?(t=this.center[0],e=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(t,e,this.center[1]/2,0,i,o).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:h.arc(t,e,this.center[2]/2,0,{start:i,end:o,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":s.borderWidth,fill:s.fillColor||"none",stroke:s.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())},b.prototype.drawPoints=function(){var e=this.chart.renderer;this.points.forEach(function(t){t.graphic&&t.hasNewShapeType()&&(t.graphic=t.graphic.destroy()),t.graphic||(t.graphic=e[t.shapeType](t.shapeArgs).add(t.series.group),t.delayedRendering=!0)})},b.prototype.generatePoints=function(){d.prototype.generatePoints.call(this),this.updateTotals()},b.prototype.getX=function(t,e,i){var o=this.center,s=this.radii?this.radii[i.index]||0:o[2]/2;return t=Math.asin(u((t-o[1])/(s+i.labelDistance),-1,1)),o[0]+(e?-1:1)*Math.cos(t)*(s+i.labelDistance)+(01.5*Math.PI?u-=2*Math.PI:u<-Math.PI/2&&(u+=2*Math.PI),d.slicedTranslation={translateX:Math.round(Math.cos(u)*i),translateY:Math.round(Math.sin(u)*i)},f=Math.cos(u)*t[2]/2,Math.sin(u)*t[2]/2);d.tooltipPos=[t[0]+.7*f,t[1]+.7*g],d.half=u<-Math.PI/2||u>Math.PI/2?1:0,d.angle=u,p=Math.min(o,d.labelDistance/5),d.labelPosition={natural:{x:t[0]+f+Math.cos(u)*d.labelDistance,y:t[1]+g+Math.sin(u)*d.labelDistance},final:{},alignment:d.labelDistance<0?"center":d.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+f+Math.cos(u)*p,y:t[1]+g+Math.sin(u)*p},touchingSliceAt:{x:t[0]+f,y:t[1]+g}}}}x(this,"afterTranslate")},b.prototype.updateTotals=function(){for(var t=this.points,e=t.length,i=this.options.ignoreHiddenPoint,o=0,s=0;se&&(t.dataLabel.css({width:Math.round(.7*e)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))}),s.forEach(function(t,e){var i,o,s,r=t.length,n=[];if(r)for(m.sortByAngle(t,e-.5),0e.bottom-2?o:i,e.half,e)},justify:function(t,e,i){return i[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,i,o){return t=t.getBBox().width,e?t+o:i-t-o},alignToConnectors:function(t,e,i,o){var s,r=0;return t.forEach(function(t){s=t.dataLabel.getBBox().width,r=a.x+a.width||c.x+c.width<=a.x||c.y>=a.y+a.height||c.y+c.height<=a.y||((r.labelrank=r(i.minWidth,0)&&this.chartHeight>=r(i.minHeight,0)}).call(this)&&e.push(t._id)},u.prototype.setResponsive=function(t,e){var i=this,o=this.options.responsive,s=this.currentResponsive,r=[];!e&&o&&o.rules&&o.rules.forEach(function(t){void 0===t._id&&(t._id=p()),i.matchResponsiveRule(t,r)},this),(e=a.apply(void 0,r.map(function(e){return n((o||{}).rules||[],function(t){return t._id===e})}).map(function(t){return t&&t.chartOptions}))).isResponsiveOptions=!0,(r=r.toString()||void 0)!==(s&&s.ruleIds)&&(s&&this.update(s.undoOptions,t,!0),r?((s=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:r,mergedOptions:e,undoOptions:s},this.update(e,t,!0)):this.currentResponsive=void 0)},o=u,e}),t(e,"masters/highcharts.src.js",[e["Core/Globals.js"],e["Core/Utilities.js"],e["Core/Defaults.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/FormatUtilities.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Renderer/HTML/HTMLElement.js"],e["Core/Renderer/HTML/HTMLRenderer.js"],e["Core/Axis/Axis.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Axis/LogarithmicAxis.js"],e["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],e["Core/Axis/Tick.js"],e["Core/Tooltip.js"],e["Core/Series/Point.js"],e["Core/Pointer.js"],e["Core/MSPointer.js"],e["Core/Legend/Legend.js"],e["Core/Chart/Chart.js"],e["Core/Axis/Stacking/StackingAxis.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Series/Column/ColumnSeries.js"],e["Series/Column/ColumnDataLabel.js"],e["Series/Pie/PieSeries.js"],e["Series/Pie/PieDataLabel.js"],e["Core/Series/DataLabel.js"],e["Core/Responsive.js"],e["Core/Color/Color.js"],e["Core/Time.js"]],function(t,e,i,o,s,r,n,a,h,l,c,d,p,u,f,g,m,x,y,v,b,M,k,S,C,w,A,T,P,O,L,E,D,B,j){return t.animate=s.animate,t.animObject=s.animObject,t.getDeferredAnimation=s.getDeferredAnimation,t.setAnimation=s.setAnimation,t.stop=s.stop,t.timers=o.timers,t.AST=r,t.Axis=p,t.Chart=k,t.chart=k.chart,t.Fx=o,t.Legend=M,t.PlotLineOrBand=g,t.Point=y,t.Pointer=b.isRequired()?b:v,t.Series=w,t.StackItem=C,t.SVGElement=h,t.SVGRenderer=l,t.Tick=m,t.Time=j,t.Tooltip=x,t.Color=B,t.color=B.parse,d.compose(l),c.compose(h),t.defaultOptions=i.defaultOptions,t.getOptions=i.getOptions,t.time=i.defaultTime,t.setOptions=i.setOptions,t.dateFormat=n.dateFormat,t.format=n.format,t.numberFormat=n.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=a.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=A.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,P.compose(T),E.compose(w),u.compose(p),f.compose(p),L.compose(O),g.compose(p),D.compose(k),S.compose(p,k,w),t}),t(e,"Core/Axis/NavigatorAxisComposition.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e){function i(){this.navigatorAxis||(this.navigatorAxis=new d(this))}function o(t){var e=(r=this.chart.options).navigator,i=this.navigatorAxis,o=r.chart.zooming.pinchType,s=r.rangeSelector,r=r.chart.zooming.type;this.isXAxis&&(e&&e.enabled||s&&s.enabled)&&("y"===r?t.zoomed=!1:(!n&&"xy"===r||n&&"xy"===o)&&this.options.range&&(e=i.previousZoom,h(t.newMin)?i.previousZoom=[this.min,this.max]:e&&(t.newMin=e[0],t.newMax=e[1],i.previousZoom=void 0))),void 0!==t.zoomed&&t.preventDefault()}var n=t.isTouchDevice,s=e.addEvent,a=e.correctFloat,h=e.defined,l=e.isNumber,c=e.pick,r=[],d=(p.compose=function(t){-1===r.indexOf(t)&&(r.push(t),t.keepProps.push("navigatorAxis"),s(t,"init",i),s(t,"zoom",o))},p.prototype.destroy=function(){this.axis=void 0},p.prototype.toFixedRange=function(t,e,i,o){var s=this.axis,r=s.chart,n=(t=c(i,s.translate(t,!0,!s.horiz)),e=c(o,s.translate(e,!0,!s.horiz)),r=r&&r.fixedRange,s=(s.pointRange||0)/2,r&&(e-t)/r);return h(i)||(t=a(t+s)),h(o)||(e=a(e-s)),.7this.calculatedWidth?e.minWidth:0;return{chartX:(t.chartX-this.x-this.xOffset)/(this.barWidth-e),chartY:(t.chartY-this.y-this.yOffset)/(this.barWidth-e)}},f.prototype.destroy=function(){var e=this,t=e.chart.scroller;e.removeEvents(),["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach(function(t){e[t]&&e[t].destroy&&(e[t]=e[t].destroy())}),t&&e===t.scrollbar&&(t.scrollbar=null,r(t.scrollbarButtons))},f.prototype.drawScrollbarButton=function(t){var e=this.renderer,i=this.scrollbarButtons,o=this.options,s=this.size,r=e.g().add(this.group);i.push(r),r=e.rect().addClass("highcharts-scrollbar-button").add(r),this.chart.styledMode||r.attr({stroke:o.buttonBorderColor,"stroke-width":o.buttonBorderWidth,fill:o.buttonBackgroundColor}),r.attr(r.crisp({x:-.5,y:-.5,width:s+1,height:s+1,r:o.buttonBorderRadius},r.strokeWidth())),r=e.path(f.swapXY([["M",s/2+(t?-1:1),s/2-3],["L",s/2+(t?-1:1),s/2+3],["L",s/2+(t?2:-2),s/2]],o.vertical)).addClass("highcharts-scrollbar-arrow").add(i[t]),this.chart.styledMode||r.attr({fill:o.buttonArrowColor})},f.prototype.init=function(t,e,i){this.scrollbarButtons=[],this.renderer=t,this.userOptions=e,this.options=d(o,s.scrollbar,e),this.chart=i,this.size=p(this.options.size,this.options.height),e.enabled&&(this.render(),this.addEvents())},f.prototype.mouseDownHandler=function(t){t=this.chart.pointer.normalize(t),t=this.cursorToScrollbarPosition(t),this.chartX=t.chartX,this.chartY=t.chartY,this.initPositions=[this.from,this.to],this.grabbedCenter=!0},f.prototype.mouseMoveHandler=function(t){var e=this.chart.pointer.normalize(t),i=this.options.vertical?"chartY":"chartX",o=this.initPositions||[];!this.grabbedCenter||t.touches&&0===t.touches[0][i]||(i=this.cursorToScrollbarPosition(e)[i]-(i=this[i]),this.hasDragged=!0,this.updatePosition(o[0]+i,o[1]+i),this.hasDragged&&n(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}))},f.prototype.mouseUpHandler=function(t){this.hasDragged&&n(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}),this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null},f.prototype.position=function(t,e,i,o){var s=this.options.vertical,r=this.rendered?"animate":"attr",n=o,a=0;this.group.show(),this.x=t,this.y=e+this.trackBorderWidth,this.width=i,this.height=o,this.xOffset=n,this.yOffset=a,s?(this.width=this.yOffset=i=a=this.size,this.xOffset=n=0,this.barWidth=o-2*i,this.x=t+=this.options.margin):(this.height=this.xOffset=o=n=this.size,this.barWidth=i-2*o,this.y+=this.options.margin),this.group[r]({translateX:t,translateY:this.y}),this.track[r]({width:i,height:o}),this.scrollbarButtons[1][r]({translateX:s?0:i-n,translateY:s?o-a:0})},f.prototype.removeEvents=function(){this._events.forEach(function(t){u.apply(null,t)}),this._events.length=0},f.prototype.render=function(){var t=this.renderer,e=this.options,i=this.size,o=this.chart.styledMode,s=t.g("scrollbar").attr({zIndex:e.zIndex}).hide().add();this.group=s,this.track=t.rect().addClass("highcharts-scrollbar-track").attr({x:0,r:e.trackBorderRadius||0,height:i,width:i}).add(s),o||this.track.attr({fill:e.trackBackgroundColor,stroke:e.trackBorderColor,"stroke-width":e.trackBorderWidth}),this.trackBorderWidth=this.track.strokeWidth(),this.track.attr({y:-this.trackBorderWidth%2/2}),this.scrollbarGroup=t.g().add(s),this.scrollbar=t.rect().addClass("highcharts-scrollbar-thumb").attr({height:i,width:i,r:e.barBorderRadius||0}).add(this.scrollbarGroup),this.scrollbarRifles=t.path(f.swapXY([["M",-3,i/4],["L",-3,2*i/3],["M",0,i/4],["L",0,2*i/3],["M",3,i/4],["L",3,2*i/3]],e.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup),o||(this.scrollbar.attr({fill:e.barBackgroundColor,stroke:e.barBorderColor,"stroke-width":e.barBorderWidth}),this.scrollbarRifles.attr({stroke:e.rifleColor,"stroke-width":1})),this.scrollbarStrokeWidth=this.scrollbar.strokeWidth(),this.scrollbarGroup.translate(-this.scrollbarStrokeWidth%2/2,-this.scrollbarStrokeWidth%2/2),this.drawScrollbarButton(0),this.drawScrollbarButton(1)},f.prototype.setRange=function(t,e){var i,o,s=this.options,r=s.vertical,n=s.minWidth,a=this.barWidth,h=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";c(a)&&(i=a*Math.min(e,1),t=Math.max(t,0),o=Math.ceil(a*t),this.calculatedWidth=i=l(i-o),io||!this.options.vertical&&e.chartX>s?this.updatePosition(this.from+i,this.to+i):this.updatePosition(this.from-i,this.to-i),n(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})},f.prototype.update=function(t){this.destroy(),this.init(this.chart.renderer,d(!0,this.options,t),this.chart)},f.prototype.updatePosition=function(t,e){1u&&(this.grabbedLeft?i=n.toPixels(e-u-a,!0):this.grabbedRight&&(o=n.toPixels(t+u+a,!0))),this.zoomedMax=x(Math.max(i,o),0,g),this.zoomedMin=x(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(i,o),0,g),this.range=this.zoomedMax-this.zoomedMin,g=Math.round(this.zoomedMax),i=Math.round(this.zoomedMin),l&&(this.navigatorGroup.attr({visibility:"inherit"}),c=c&&!this.hasDragged?"animate":"attr",this.drawMasks(i,g,d,c),this.drawOutline(i,g,d,c),this.navigatorOptions.handles.enabled&&(this.drawHandle(i,0,d,c),this.drawHandle(g,1,d,c))),this.scrollbar&&(d?(d=this.top-f,h=this.left-f+(l||!h.opposite?0:(h.titleOffset||0)+h.axisTitleMargin),f=s+2*f):(d=this.top+(l?this.height:-f),h=this.left-f),this.scrollbar.position(h,d,r,f),this.scrollbar.setRange(this.zoomedMin/(s||1),this.zoomedMax/(s||1))),this.rendered=!0}},a.prototype.addMouseEvents=function(){var t,e,i=this,o=i.chart,s=o.container,r=[];i.mouseMoveHandler=t=function(t){i.onMouseMove(t)},i.mouseUpHandler=e=function(t){i.onMouseUp(t)},(r=i.getPartsEvents("mousedown")).push(g(o.renderTo,"mousemove",t),g(s.ownerDocument,"mouseup",e)),n&&(r.push(g(o.renderTo,"touchmove",t),g(s.ownerDocument,"touchend",e)),r.concat(i.getPartsEvents("touchstart"))),i.eventsToUnbind=r,i.series&&i.series[0]&&r.push(g(i.series[0].xAxis,"foundExtremes",function(){o.navigator.modifyNavigatorAxisExtremes()}))},a.prototype.getPartsEvents=function(o){var s=this,r=[];return["shades","handles"].forEach(function(i){s[i].forEach(function(t,e){r.push(g(t.element,o,function(t){s[i+"Mousedown"](t,e)}))})}),r},a.prototype.shadesMousedown=function(t,e){t=this.chart.pointer.normalize(t);var i,o,s=this.chart,r=this.xAxis,n=this.zoomedMin,a=this.size,h=this.range,l=this.left,c=t.chartX;s.inverted&&(c=t.chartY,l=this.top),1===e?(this.grabbedCenter=c,this.fixedWidth=h,this.dragOffset=c-n):(t=c-l-h/2,0===e?t=Math.max(0,t):2===e&&a<=t+h&&(t=a-h,this.reversedExtremes?(t-=h,i=this.getUnionExtremes().dataMin):o=this.getUnionExtremes().dataMax),t!==n&&(this.fixedWidth=h,e=r.navigatorAxis.toFixedRange(t,t+h,i,o),v(e.min)&&s.xAxis[0].setExtremes(Math.min(e.min,e.max),Math.max(e.min,e.max),!0,null,{trigger:"navigator"})))},a.prototype.handlesMousedown=function(t,e){this.chart.pointer.normalize(t);var i=(t=this.chart).xAxis[0],o=this.reversedExtremes;0===e?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=o?i.min:i.max):(this.grabbedRight=!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=o?i.max:i.min),t.fixedRange=null},a.prototype.onMouseMove=function(t){var e=this,i=e.chart,o=e.navigatorSize,s=e.range,r=e.dragOffset,n=i.inverted,a=e.left;t.touches&&0===t.touches[0].pageX||(i=(t=i.pointer.normalize(t)).chartX,n&&(a=e.top,i=t.chartY),e.grabbedLeft?(e.hasDragged=!0,e.render(0,0,i-a,e.otherHandlePos)):e.grabbedRight?(e.hasDragged=!0,e.render(0,0,e.otherHandlePos,i-a)):e.grabbedCenter&&(e.hasDragged=!0,i=Math.round(t.size)),t.stickToMin=t.shouldStickToMin(this,t),e&&!t.hasNavigatorData&&(e.options.pointStart=this.xData[0],e.setData(this.options.data,!1,null,!1))},a.prototype.shouldStickToMin=function(t,e){e=e.getBaseSeriesMin(t.xData[0]);t=(o=t.xAxis).max;var i=o.min,o=o.options.range;return!(!M(t)||!M(i))&&(o&&0=y-x,d=!a&&C&&i),s=a&&i||i&&!C&&!c||a&&p.frozenStates,(o=!k&&(h||l||d||m))?t=3:s&&(C=!0,t=2),r.state!==t&&(r.setState(t),u&&(u.options[e+1].disabled=o,2===t&&(u.selectedIndex=e+1)),0===t&&M===e&&p.setSelected())})},l.prototype.computeButtonRange=function(t){var e=t.type,i=t.count||1,o={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};o[e]?t._range=o[e]*i:"month"!==e&&"year"!==e||(t._range=864e5*{month:30,year:365}[e]*i),t._offsetMin=S(t.offsetMin,0),t._offsetMax=S(t.offsetMax,0),t._range+=t._offsetMax-t._offsetMin},l.prototype.getInputValue=function(t){t="min"===t?this.minInput:this.maxInput;var e=this.chart.options.rangeSelector,i=this.chart.time;return t?("text"===t.type&&e.inputDateParser||this.defaultInputDateParser)(t.value,i.useUTC,i):0},l.prototype.setInputValue=function(t,e){var i,o=this.options,s=this.chart.time,r="min"===t?this.minInput:this.maxInput;t="min"===t?this.minDateBox:this.maxDateBox,r&&(i=r.getAttribute("data-hc-time"),i=v(i)?Number(i):void 0,v(e)&&(v(i)&&r.setAttribute("data-hc-time-previous",i),r.setAttribute("data-hc-time",e),i=e),r.value=s.dateFormat(this.inputTypeFormats[r.type]||o.inputEditDateFormat,i),t&&t.attr({text:s.dateFormat(o.inputDateFormat,i)}))},l.prototype.setInputExtremes=function(t,e,i){var o,s;(t="min"===t?this.minInput:this.maxInput)&&(o=this.inputTypeFormats[t.type],s=this.chart.time,o&&(e=s.dateFormat(o,e),t.min!==e&&(t.min=e),i=s.dateFormat(o,i),t.max!==i&&(t.max=i)))},l.prototype.showInput=function(t){var e,i,o,s,r="min"===t?this.minDateBox:this.maxDateBox;(t="min"===t?this.minInput:this.maxInput)&&r&&this.inputGroup&&(e="text"===t.type,i=(o=this.inputGroup).translateX,o=o.translateY,s=this.options.inputBoxWidth,m(t,{width:e?r.width+(s?-2:20)+"px":"auto",height:e?r.height-2+"px":"auto",border:"2px solid silver"}),m(t,e&&s?{left:i+r.x+"px",top:o+"px"}:{left:Math.min(Math.round(r.x+i-(t.offsetWidth-r.width)/2),this.chart.chartWidth-t.offsetWidth)+"px",top:o-(t.offsetHeight-r.height)/2+"px"}))},l.prototype.hideInput=function(t){(t="min"===t?this.minInput:this.maxInput)&&m(t,{top:"-9999em",border:0,width:"1px",height:"1px"})},l.prototype.defaultInputDateParser=function(t,e,i){var o,s=t.split("/").join("-").split(" ").join("T");return-1===s.indexOf("T")&&(s+="T00:00"),e?s+="Z":(o=(o=u.isSafari)?!(6<(o=s).length&&(o.lastIndexOf("-")===o.length-6||o.lastIndexOf("+")===o.length-6)):o)&&(s+=(o=new Date(s).getTimezoneOffset()/60)<=0?"+".concat(a(-o),":00"):"-".concat(a(o),":00")),s=Date.parse(s),w(s)||(t=t.split("-"),s=Date.UTC(h(t[0]),h(t[1])-1,h(t[2]))),i&&e&&w(s)&&(s+=i.getTimezoneOffset(s)),s},l.prototype.drawInput=function(n){function e(){var t=h.maxInput,e=h.minInput,i=a.xAxis[0],o=(s=a.scroller&&a.scroller.xAxis?a.scroller.xAxis:i).dataMin,s=s.dataMax,r=h.getInputValue(n);r!==Number(d.getAttribute("data-hc-time-previous"))&&w(r)&&(d.setAttribute("data-hc-time-previous",r),l&&t&&w(o)?r>Number(t.getAttribute("data-hc-time"))?r=void 0:r=-s?0:-s),translateY:n.alignAttr.translateY+r.getBBox().height+10})}var i=this,o=this.chart,r=this.buttonGroup,n=this.inputGroup,a=(c=this.options).buttonPosition,h=c.dropdown,l=c.inputPosition,c=function(){var e=0;return i.buttons.forEach(function(t){(t=t.getBBox()).width>e&&(e=t.width)}),e};if(r){if("always"===h)return this.collapseButtons(s),void(t(c())&&e());"never"===h&&this.expandButtons()}n&&r?l.align===a.align||t(this.initialButtonGroupWidth+20)?"responsive"===h?(this.collapseButtons(s),t(c())&&e()):e():"responsive"===h&&this.expandButtons():r&&"responsive"===h&&(this.initialButtonGroupWidth>o.plotWidth?this.collapseButtons(s):this.expandButtons())},l.prototype.collapseButtons=function(t){function i(t){return{text:t?t+" ▾":"▾",width:"auto",paddingLeft:S(n.buttonTheme.paddingLeft,h.padding,8),paddingRight:S(n.buttonTheme.paddingRight,h.padding,8)}}var o=this.buttons,e=this.buttonOptions,s=this.chart,r=this.dropdown,n=this.options,a=this.zoomText,h=s.userOptions.rangeSelector&&s.userOptions.rangeSelector.buttonTheme||{},l=(a&&a.hide(),!1);e.forEach(function(t,e){2!==(e=o[e]).state?e.hide():(e.show(),e.attr(i(t.text)),l=!0)}),l||(r&&(r.selectedIndex=0),o[0].show(),o[0].attr(i(this.zoomText&&this.zoomText.textStr))),e=n.buttonPosition.align,this.positionButtons(),"right"!==e&&"center"!==e||this.alignButtonGroup(t,o[this.currentButtonIndex()].getBBox().width),this.showDropdown()},l.prototype.expandButtons=function(){var i=this.buttons,t=this.buttonOptions,o=this.options,e=this.zoomText;this.hideDropdown(),e&&e.show(),t.forEach(function(t,e){(e=i[e]).show(),e.attr({text:t.text,width:o.buttonTheme.width||28,paddingLeft:S(o.buttonTheme.paddingLeft,"unset"),paddingRight:S(o.buttonTheme.paddingRight,"unset")}),e.state<2&&e.setState(0)}),this.positionButtons()},l.prototype.currentButtonIndex=function(){var t=this.dropdown;return t&&0{point.x} - {point.x2}
',pointFormat:' {series.name}: {point.yCategory}
'},borderRadius:3,pointRange:0}}),t(e,"Series/XRange/XRangePoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e){var o,i,s=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=t.series.prototype.pointClass.prototype;function n(){var t=null!==i&&i.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return e=e.extend,i=t.seriesTypes.column.prototype.pointClass,s(n,i),n.getColorByCategory=function(t,e){var i=t.options.colors||t.chart.options.colors;return{colorIndex:t=e.y%(i?i.length:t.chart.options.chart.colorCount),color:i&&i[t]}},n.prototype.resolveColor=function(){var t,e=this.series;e.options.colorByPoint&&!this.options.color?(t=n.getColorByCategory(e,this),e.chart.styledMode||(this.color=t.color),this.options.colorIndex||(this.colorIndex=t.colorIndex)):this.color||(this.color=e.color)},n.prototype.init=function(){return r.init.apply(this,arguments),this.y||(this.y=0),this},n.prototype.setState=function(){r.setState.apply(this,arguments),this.series.drawPoint(this,this.series.getAnimationVerb())},n.prototype.getLabelConfig=function(){var t=r.getLabelConfig.call(this),e=this.series.yAxis.categories;return t.x2=this.x2,t.yCategory=this.yCategory=e&&e[this.y],t},n.prototype.isValid=function(){return"number"==typeof this.x&&"number"==typeof this.x2},e((t=n).prototype,{ttBelow:!1,tooltipDateKeys:["x","x2"]}),t}),t(e,"Series/XRange/XRangeSeries.js",[e["Core/Globals.js"],e["Core/Color/Color.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"],e["Series/XRange/XRangeSeriesDefaults.js"],e["Series/XRange/XRangePoint.js"]],function(t,e,i,o,s,r){function n(){if(this.isXAxis){for(var t=b(this.dataMax,-Number.MAX_VALUE),e=0,i=this.series;ee.len?(n=g(n,0,e.len),a=g(a,0,e.len),t.dlBox=v(s,{x:n,width:c=a-n,centerX:c?c/2:null})):t.dlBox=null,n=t.tooltipPos,c=d?0:1,o=this.columnMetrics?this.columnMetrics.offset:-o.width/2,n[a=d?1:0]=d?n[a]+s.width/2:n[a]+(e.reversed?-1:0)*s.width,n[c]=g(n[c]+(d?-1:1)*o,0,i.len-1),(i=t.partialFill)&&(y(i)&&(i=i.amount),x(i)||(i=0),t.partShapeArgs=v(s,{r:this.options.borderRadius}),l=Math.max(Math.round(h*i+t.plotX-l),0),t.clipRectArgs={x:e.reversed?s.x+h-l:s.x,y:s.y,width:l,height:s.height})},k.prototype.translate=function(){h.prototype.translate.apply(this,arguments);for(var t=0,e=this.points;tt.to||s>t.from&&nt.from&&nt.from&&n>t.to&&n=this.basePointRange&&(s=e),t=void 0;r--;)t&&!1!==t.visible||(t=i[r+1]),e=i[r],!1!==t.visible&&!1!==e.visible&&(t.x-e.x>s&&(t=(e.x+t.x)/2,i.splice(r+1,0,{isNull:!0,x:t}),o.stacking&&this.options.stacking&&((t=o.stacking.stacks[this.stackKey][t]=new n(o,o.options.stackLabels,!1,t,this.stack)).total=0)),t=e);return this.getGraphPath(i)}function v(t){this.hasBreaks=!1,this.axis=t}return t=e=e||{},o=[],t.compose=function(t,e){var i;return-1===o.indexOf(t)&&(o.push(t),t.keepProps.push("brokenAxis"),s(t,"init",d),s(t,"afterInit",h),s(t,"afterSetTickPositions",c),s(t,"afterSetOptions",l)),-1===o.indexOf(e)&&(o.push(e),(i=e.prototype).drawBreaks=x,i.gappedPath=y,s(e,"afterGeneratePoints",p),s(e,"afterRender",m)),t},v.isInBreak=function(t,e){var i=t.repeat||1/0,o=t.from,s=t.to-t.from;return e=o<=e?(e-o)%i:i-(o-e)%i,t.inclusive?e<=s:e=t)break;(o.to=t)break;if(v.isInBreak(s,t)){i-=t-s.from;break}}}return i},v.prototype.findBreakAt=function(e,t){return r(t,function(t){return t.fromMath.PI;)t-=o;return o=Math.tan(t),-aMath.PI-a||t<=-(Math.PI-a)?(u=-1,h=!0):u=-1,h?(d+=u*r,p+=f*r*o):(d+=n/(2*o)*u,p+=f*l),i.x!==c&&(d=i.x),i.y!==s&&(p=i.y),{x:d+e*Math.cos(t),y:p-e*Math.sin(t)}}}),o}),t(e,"Gantt/PathfinderAlgorithms.js",[e["Core/Utilities.js"]],function(t){function M(t,e,i){i=i||0;var o,s,r=t.length-1;for(e-=1e-7;i<=r;)if(0<(s=e-t[o=r+i>>1].xMin))i=1+o;else{if(!(s<0))return o;r=o-1}return 0=e.x)&&(i=t[o],i=e.x<=i.xMax&&e.x>=i.xMin&&e.y<=i.yMax&&e.y>=i.yMin),i)return o;return-1}function S(t){var e=[];if(t.length){e.push(["M",t[0].start.x,t[0].start.y]);for(var i=0;i=o.x);){if(v[h].xMin<=n.x&&v[h].xMax>=o.x&&v[h].yMin<=a.y&&v[h].yMax>=s.y)return i?{y:t.y,x:t.x=r[a+"Max"],r=t[a+"Min"]<=r[a+"Min"],t[a+"Max"]>=n[a+"Max"]),n=t[a+"Min"]<=n[a+"Min"],d=P(t[a+"Min"]-e[a]),p=P(t[a+"Max"]-e[a]);return i=P(d-p)<10?e[a]P(e.y-t.y)),h=a?"x":"y",l=[],p=!1,f=c.obstacleMetrics,g=A(t.x,e.x)-f.maxWidth-10,m=T(t.x,e.x)+f.maxWidth+10,x=A(t.y,e.y)-f.maxHeight-10,y=T(t.y,e.y)+f.maxHeight+10,v=c.chartObstacles,b=M(v,g),f=M(v,m);for(-1<(f=k(v=v.slice(b,f+1),e))&&(o=v[f],s=e,r=t,n=A(o.xMax-s.x,s.x-o.xMin)P(e[i]-t[i+"Max"]);return s(e,i,t,i+(o?"Max":"Min"),o?1:-1)}var r,n=[],a=w(i.startDirectionX,P(e.x-t.x)>P(e.y-t.y))?"x":"y",h=i.chartObstacles,l=k(h,t),c=-1<(i=k(h,e))?(r={start:i=o(r=h[i],e,a),end:e},i):e;return-1=t[a]==i[a]>=c[a]&&(e=t[a="y"===a?"x":"y"]e.yMin-i&&t.yMin-ie.xMin-i&&t.xMin-ie.xMax?t.xMin-e.xMax:e.xMin-t.xMax:1/0,n=s?t.yMin>e.yMax?t.yMin-e.yMax:e.yMin-t.yMax:1/0;return s&&o?i?a(t,e,Math.floor(i/2)):1/0:x(r,n)}for(var e,i,o=t.length,s=0,r=[];sMath.PI;)t-=o;return o=Math.tan(t),-aMath.PI-a||t<=-(Math.PI-a)?(u=-1,h=!0):u=-1,h?(d+=u*r,p+=f*r*o):(d+=n/(2*o)*u,p+=f*l),i.x!==c&&(d=i.x),i.y!==s&&(p=i.y),{x:d+e*Math.cos(t),y:p-e*Math.sin(t)}}}),t.prototype.callbacks.push(function(t){!1!==t.options.connectors.enabled&&(((t=t).options.pathfinder||t.series.reduce(function(t,e){return e.options&&h(!0,e.options.connectors=e.options.connectors||{},e.options.pathfinder),t||e.options&&e.options.pathfinder},!1))&&(h(!0,t.options.connectors=t.options.connectors||{},t.options.pathfinder),n('WARNING: Pathfinder options have been renamed. Use "chart.connectors" or "series.connectors" instead.')),this.pathfinder=new y(this),this.pathfinder.update(!0))}),y}),t(e,"Series/Gantt/GanttSeries.js",[e["Core/Axis/Axis.js"],e["Core/Chart/Chart.js"],e["Series/Gantt/GanttPoint.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Axis/Tick.js"],e["Core/Utilities.js"],e["Core/Axis/TreeGrid/TreeGridAxis.js"]],function(t,e,i,o,s,r,n){var a,h,l=this&&this.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),c=o.series,d=o.seriesTypes.xrange,p=r.extend,u=r.isNumber,r=r.merge;function f(){var t=null!==h&&h.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n.compose(t,e,c,s),l(f,h=d),f.prototype.drawPoint=function(t,e){var i=this.options,o=this.chart.renderer,s=t.shapeArgs,r=t.plotY,n=t.graphic,a=t.selected&&"select",h=i.stacking&&!i.borderRadius;t.options.milestone?u(r)&&null!==t.y&&!1!==t.visible?(s=o.symbols.diamond(s.x||0,s.y||0,s.width||0,s.height||0),n?n[e]({d:s}):t.graphic=o.path(s).addClass(t.getClassName(),!0).add(t.group||this.group),this.chart.styledMode||t.graphic.attr(this.pointAttribs(t,a)).shadow(i.shadow,null,h)):n&&(t.graphic=n.destroy()):d.prototype.drawPoint.call(this,t,e)},f.prototype.translatePoint=function(t){var e,i;d.prototype.translatePoint.call(this,t),t.options.milestone&&(i=(e=t.shapeArgs).height||0,t.shapeArgs={x:(e.x||0)-i/2,y:e.y,width:i,height:i})},f.defaultOptions=r(d.defaultOptions,{grouping:!1,dataLabels:{enabled:!0},tooltip:{headerFormat:'{series.name}
',pointFormat:null,pointFormatter:function(){var t=this.series,e=t.xAxis,i=t.tooltipOptions.dateTimeLabelFormats,o=e.options.startOfWeek,s=t.tooltipOptions,r=s.xDateFormat,n=this.options.milestone,a=""+(this.name||this.yCategory)+"";return s.pointFormat?this.tooltipFormatter(s.pointFormat):(!r&&u(this.start)&&(r=t.chart.time.getDateFormat(e.closestPointRange,this.start,o,i||{})),e=t.chart.time.dateFormat(r,this.start),t=t.chart.time.dateFormat(r,this.end),a+="
",n?a+e+"
":a+"Start: "+e+"
End: "+t+"
")}},connectors:{type:"simpleConnect",animation:{reversed:!0},startMarker:{enabled:!0,symbol:"arrow-filled",radius:4,fill:"#fa0",align:"left"},endMarker:{enabled:!1,align:"right"}}}),p((t=f).prototype,{pointArrayMap:["start","end","y"],pointClass:i,setData:c.prototype.setData}),o.registerSeriesType("gantt",t),t}),t(e,"Core/Chart/GanttChart.js",[e["Core/Chart/Chart.js"],e["Core/Defaults.js"],e["Core/Utilities.js"]],function(t,e,i){var o,a,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),h=e.getOptions,l=i.isArray,c=i.merge,d=i.splat;function n(){return null!==a&&a.apply(this,arguments)||this}return r(n,a=t),n.prototype.init=function(t,e){var i,o=h(),s=t.xAxis,r=t.yAxis,n=(t.xAxis=t.yAxis=void 0,c(!0,{chart:{type:"gantt"},title:{text:null},legend:{enabled:!1},navigator:{series:{type:"gantt"},yAxis:{type:"category"}}},t,{isGantt:!0}));t.xAxis=s,t.yAxis=r,n.xAxis=(l(t.xAxis)?t.xAxis:[t.xAxis||{},{}]).map(function(t,e){return 1===e&&(i=0),c(o.xAxis,{grid:{enabled:!0},opposite:!0,linkedTo:i},t,{type:"datetime"})}),n.yAxis=d(t.yAxis||{}).map(function(t){return c(o.yAxis,{grid:{enabled:!0},staticScale:50,reversed:!0,type:t.categories?t.type:"treegrid"},t)}),a.prototype.init.call(this,n,e)},(s=t=(t=n)||{}).ganttChart=function(t,e,i){return new s(t,e,i)},t}),t(e,"masters/modules/gantt.src.js",[e["Core/Globals.js"],e["Stock/Navigator/Navigator.js"],e["Stock/Scrollbar/Scrollbar.js"],e["Stock/RangeSelector/RangeSelector.js"],e["Series/XRange/XRangeSeries.js"],e["Core/Chart/GanttChart.js"]],function(t,e,i,o,s,r){t.GanttChart=r,t.ganttChart=r.ganttChart,t.Navigator=e,t.RangeSelector=o,t.Scrollbar=i,e.compose(t.Axis,t.Chart,t.Series),o.compose(t.Axis,t.Chart),i.compose(t.Axis),s.compose(t.Axis)}),t(e,"masters/highcharts-gantt.src.js",[e["masters/highcharts.src.js"]],function(t){return t.product="Highcharts Gantt",t}),(e["masters/highcharts-gantt.src.js"]._modules=e)["masters/highcharts-gantt.src.js"]}); \ No newline at end of file diff --git a/assets/js/external/highcharts/highcharts-more.min.js b/assets/js/external/highcharts/highcharts-more.min.js index 2cb8b468..574f1943 100644 --- a/assets/js/external/highcharts/highcharts-more.min.js +++ b/assets/js/external/highcharts/highcharts-more.min.js @@ -1 +1 @@ -!function(e){"object"==typeof module&&module.exports?module.exports=e.default=e:"function"==typeof define&&define.amd?define("highcharts/highcharts-more",["highcharts"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,i,o){t.hasOwnProperty(e)||(t[e]=o.apply(null,i),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Extensions/Pane.js",[t["Core/Chart/Chart.js"],t["Series/CenteredUtilities.js"],t["Core/Globals.js"],t["Core/Pointer.js"],t["Core/Utilities.js"]],function(t,e,i,o,s){function a(t,e,i){return Math.sqrt(Math.pow(t-i[0],2)+Math.pow(e-i[1],2))<=i[2]/2}var r=s.addEvent,n=s.extend,h=s.merge,l=s.pick,p=s.splat;function c(t,e){this.options=this.chart=this.center=this.background=void 0,this.coll="pane",this.defaultOptions={center:["50%","50%"],size:"85%",innerSize:"0%",startAngle:0},this.defaultBackgroundOptions={shape:"circle",borderWidth:1,borderColor:"#cccccc",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#ffffff"],[1,"#e6e6e6"]]},from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"},this.init(t,e)}return t.prototype.collectionsWithUpdate.push("pane"),c.prototype.init=function(t,e){this.chart=e,this.background=[],e.pane.push(this),this.setOptions(t)},c.prototype.setOptions=function(t){this.options=h(this.defaultOptions,this.chart.angular?{background:{}}:void 0,t)},c.prototype.render=function(){var t=this.options,e=this.options.background,i=this.chart.renderer;if(this.group||(this.group=i.g("pane-group").attr({zIndex:t.zIndex||0}).add()),this.updateCenter(),e)for(e=p(e),t=Math.max(e.length,this.background.length||0),i=0;i● {series.name}: {point.low} - {point.high}
'},trackByArea:!0,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}};function y(){var t=null!==r&&r.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t.lowerStateMarkerGraphic=void 0,t.xAxis=void 0,t}return a(y,r=h),y.prototype.toYData=function(t){return[t.low,t.high]},y.prototype.highToXY=function(t){var e=this.chart,i=this.xAxis.postTranslate(t.rectPlotX||0,this.yAxis.len-t.plotHigh);t.plotHighX=i.x-e.plotLeft,t.plotHigh=i.y-e.plotTop,t.plotLowX=t.plotX},y.prototype.translate=function(){var s=this;u.translate.apply(s),s.points.forEach(function(t,e){var i=t.high,o=t.plotY;t.isNull?t.plotY=null:(e=s.chart.hasParallelCoordinates?s.chart.yAxis[e]:s.yAxis,t.plotLow=o,t.plotHigh=e.translate(s.dataModify?s.dataModify.modifyValue(i):i,0,1,0,1),s.dataModify&&(t.yBottom=t.plotHigh))}),this.chart.polar&&this.points.forEach(function(t){s.highToXY(t),t.tooltipPos=[(t.plotHighX+t.plotLowX)/2,(t.plotHigh+t.plotLow)/2]})},y.prototype.getGraphPath=function(t){for(var e=[],i=[],o=u.getGraphPath,s=this.options,r=this.chart.polar,a=r&&!1!==s.connectEnds,n=s.connectNulls,h=s.step,l=(t=t||this.points).length;l--;){var p=t[l],c=r?{plotX:p.rectPlotX,plotY:p.yBottom,doCurve:!1}:{plotX:p.plotX,plotY:p.plotY,doCurve:!1},d=(p.isNull||a||n||t[l+1]&&!t[l+1].isNull||i.push(c),{polarPlotY:p.polarPlotY,rectPlotX:p.rectPlotX,yBottom:p.yBottom,plotX:f(p.plotHighX,p.plotX),plotY:p.plotHigh,isNull:p.isNull});i.push(d),e.push(d),p.isNull||a||n||t[l-1]&&!t[l-1].isNull||i.push(c)}return t=o.call(this,t),h&&(s.step={left:"right",center:"center",right:"left"}[h=!0===h?"left":h]),e=o.call(this,e),i=o.call(this,i),s.step=h,s=[].concat(t,e),!this.chart.polar&&i[0]&&"M"===i[0][0]&&(i[0]=["L",i[0][1],i[0][2]]),this.graphPath=s,this.areaPath=t.concat(i),s.isArea=!0,s.xMap=t.xMap,this.areaPath.xMap=t.xMap,s},y.prototype.drawDataLabels=function(){var t,e,i,o,s,r=this.points,a=r.length,n=[],h=this.options.dataLabels,l=this.chart.inverted;if(h){if(d(h)?(i=h[0]||{enabled:!1},o=h[1]||{enabled:!1}):((i=c({},h)).x=h.xHigh,i.y=h.yHigh,(o=c({},h)).x=h.xLow,o.y=h.yLow),i.enabled||this._hasPointLabels){for(t=a;t--;)(e=r[t])&&(s=i.inside?e.plotHighe.plotLow,e.y=e.high,e._plotY=e.plotY,e.plotY=e.plotHigh,n[t]=e.dataLabel,e.dataLabel=e.dataLabelUpper,e.below=s,l?i.align||(i.align=s?"right":"left"):i.verticalAlign||(i.verticalAlign=s?"top":"bottom"));for(this.options.dataLabels=i,u.drawDataLabels&&u.drawDataLabels.apply(this,arguments),t=a;t--;)(e=r[t])&&(e.dataLabelUpper=e.dataLabel,e.dataLabel=n[t],delete e.dataLabels,e.y=e.low,e.plotY=e._plotY)}if(o.enabled||this._hasPointLabels){for(t=a;t--;)(e=r[t])&&(s=o.inside?e.plotHighe.plotLow,e.below=!s,l?o.align||(o.align=s?"left":"right"):o.verticalAlign||(o.verticalAlign=s?"bottom":"top"));this.options.dataLabels=o,u.drawDataLabels&&u.drawDataLabels.apply(this,arguments)}if(i.enabled)for(t=a;t--;)(e=r[t])&&(e.dataLabels=[e.dataLabelUpper,e.dataLabel].filter(function(t){return!!t}));this.options.dataLabels=h}},y.prototype.alignDataLabel=function(){l.alignDataLabel.apply(this,arguments)},y.prototype.drawPoints=function(){var t,e=this.points.length;for(u.drawPoints.apply(this,arguments),t=0;t {series.name}
Maximum: {point.high}
Upper quartile: {point.q3}
Median: {point.median}
Lower quartile: {point.q1}
Minimum: {point.low}
'},whiskerLength:"50%",fillColor:"#ffffff",lineWidth:1,medianWidth:2,whiskerWidth:2}),n((o=l).prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",drawDataLabels:e,setStackedPoints:e}),i.registerSeriesType("boxplot",o),o}),e(t,"Series/Bubble/BubbleLegendDefaults.js",[],function(){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"10px",color:"#000000"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}}),e(t,"Series/Bubble/BubbleLegendItem.js",[t["Core/Color/Color.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],function(t,s,e,i){var c=t.parse,o=e.noop,a=i.arrayMax,n=i.arrayMin,h=i.isNumber,d=i.merge,u=i.pick,l=i.stableSort;function r(t,e){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legendSymbol=this.legendItemWidth=this.legendItemHeight=this.legendItem=this.legendGroup=this.legend=this.fontMetrics=this.chart=void 0,this.setState=o,this.init(t,e)}return r.prototype.init=function(t,e){this.options=t,this.visible=!0,this.chart=e.chart,this.legend=e},r.prototype.addToLegend=function(t){t.splice(this.options.legendIndex,0,this)},r.prototype.drawLegendSymbol=function(t){var e=this.chart,i=this.options,o=u(t.options.itemDistance,20),s=i.ranges,r=i.connectorDistance;this.fontMetrics=e.renderer.fontMetrics(i.labels.style.fontSize),s&&s.length&&h(s[0].value)?(l(s,function(t,e){return e.value-t.value}),this.ranges=s,this.setOptions(),this.render(),t=this.getMaxLabelSize(),e=2*(s=this.ranges[0].radius),r=0<(r=r-s+t.width)?r:0,this.maxLabel=t,this.movementX="left"===i.labels.align?r:0,this.legendItemWidth=e+r+o,this.legendItemHeight=e+this.fontMetrics.h/2):t.options.bubbleLegend.autoRanges=!0},r.prototype.setOptions=function(){var i=this.ranges,o=this.options,s=this.chart.series[o.seriesIndex],r=this.legend.baseline,a={zIndex:o.zIndex,"stroke-width":o.borderWidth},n={zIndex:o.zIndex,"stroke-width":o.connectorWidth},h={align:this.legend.options.rtl||"left"===o.labels.align?"right":"left",zIndex:o.zIndex},l=s.options.marker.fillOpacity,p=this.chart.styledMode;i.forEach(function(t,e){p||(a.stroke=u(t.borderColor,o.borderColor,s.color),a.fill=u(t.color,o.color,1!==l?c(s.color).setOpacity(l).get("rgba"):s.color),n.stroke=u(t.connectorColor,o.connectorColor,s.color)),i[e].radius=this.getRangeRadius(t.value),i[e]=d(i[e],{center:i[0].radius-i[e].radius+r}),p||d(!0,i[e],{bubbleAttribs:d(a),connectorAttribs:d(n),labelAttribs:h})},this)},r.prototype.getRangeRadius=function(t){var e=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,e.ranges[e.ranges.length-1].value,e.ranges[0].value,e.minSize,e.maxSize,t)},r.prototype.render=function(){var t=this.chart.renderer,e=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),this.legendSymbol=t.g("bubble-legend"),this.legendItem=t.g("bubble-legend-item"),this.legendSymbol.translateX=0,this.legendSymbol.translateY=0,this.ranges.forEach(function(t){t.value>=e&&this.renderRange(t)},this),this.legendSymbol.add(this.legendItem),this.legendItem.add(this.legendGroup),this.hideOverlappingLabels()},r.prototype.renderRange=function(t){var e=this.options,i=e.labels,o=(a=this.chart).series[e.seriesIndex],s=a.renderer,r=this.symbols,a=r.labels,n=t.center,h=Math.abs(t.radius),l=e.connectorDistance||0,p=i.align,c=e.connectorWidth,d=this.ranges[0].radius||0,u=n-h-e.borderWidth/2+c/2,f=(f=this.fontMetrics).f/2-(f.h-f.f)/2,g=s.styledMode,l=this.legend.options.rtl||"left"===p?-l:l,p=("center"===p&&(e.connectorDistance=l=0,t.labelAttribs.align="center"),u+e.labels.y),y=d+l+e.labels.x;r.bubbleItems.push(s.circle(d,n+((u%1?1:.5)-(c%2?0:.5)),h).attr(g?{}:t.bubbleAttribs).addClass((g?"highcharts-color-"+o.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(e.className||"")).add(this.legendSymbol)),r.connectors.push(s.path(s.crispLine([["M",d,u],["L",d+l,u]],e.connectorWidth)).attr(g?{}:t.connectorAttribs).addClass((g?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(e.connectorClassName||"")).add(this.legendSymbol)),t=s.text(this.formatLabel(t),y,p+f).attr(g?{}:t.labelAttribs).css(g?{}:i.style).addClass("highcharts-bubble-legend-labels "+(e.labels.className||"")).add(this.legendSymbol),a.push(t),t.placed=!0,t.alignAttr={x:y,y:p+f}},r.prototype.getMaxLabelSize=function(){var e,i;return this.symbols.labels.forEach(function(t){i=t.getBBox(!0),e=!e||i.width>e.width?i:e}),e||{}},r.prototype.formatLabel=function(t){var e=(i=this.options).labels.formatter,i=i.labels.format,o=this.chart.numberFormatter;return i?s.format(i,t):e?e.call(t):o(t.value,1)},r.prototype.hideOverlappingLabels=function(){var t=this.chart,i=this.symbols;!this.options.labels.allowOverlap&&i&&(t.hideOverlappingLabels(i.labels),i.labels.forEach(function(t,e){t.newOpacity?t.newOpacity!==t.oldOpacity&&i.connectors[e].show():i.connectors[e].hide()}))},r.prototype.getRanges=function(){var e,t=this.legend.bubbleLegend,i=t.options.ranges,o=Number.MAX_VALUE,s=-Number.MAX_VALUE,r=(t.chart.series.forEach(function(t){t.isBubble&&!t.ignoreSeries&&((e=t.zData.filter(h)).length&&(o=u(t.options.zMin,Math.min(o,Math.max(n(e),!1===t.options.displayNegative?t.options.zThreshold:-Number.MAX_VALUE))),s=u(t.options.zMax,Math.max(s,a(e)))))}),o===s?[{value:s}]:[{value:o},{value:(o+s)/2},{value:s,autoRanges:!0}]);return i.length&&i[0].radius&&r.reverse(),r.forEach(function(t,e){i&&i[e]&&(r[e]=d(i[e],t))}),r},r.prototype.predictBubbleSizes=function(){var t=this.chart,e=this.fontMetrics,i=t.legend.options,o=i.floating,s=(i="horizontal"===i.layout)?t.legend.lastLineHeight:0,r=t.plotSizeX,a=t.plotSizeY,n=(l=t.series[this.options.seriesIndex]).getPxExtremes(),t=Math.ceil(n.minPxSize),n=Math.ceil(n.maxPxSize),h=Math.min(a,r),l=l.options.maxSize;return o||!/%$/.test(l)?e=n:(l=parseFloat(l),e=(h+s-e.h/2)*l/100/(l/100+1),(i&&r<=a-e||!i&&a<=r-e)&&(e=n)),[t,Math.ceil(e)]},r.prototype.updateRanges=function(t,e){var i=this.legend.options.bubbleLegend;i.minSize=t,i.maxSize=e,i.ranges=this.getRanges()},r.prototype.correctSizes=function(){var t=this.legend,e=this.chart.series[this.options.seriesIndex].getPxExtremes();1r.height&&(r.height=t[o].itemHeight);r.step=s}return e}function h(t){var e=this.bubbleLegend,i=this.options,o=i.bubbleLegend,s=a(this.chart);e&&e.ranges&&e.ranges.length&&(o.ranges.length&&(o.autoRanges=!!o.ranges[0].autoRanges),this.destroyItem(e)),0<=s&&i.enabled&&o.enabled&&(o.seriesIndex=s,this.bubbleLegend=new r(o,this),this.bubbleLegend.addToLegend(t.allItems))}function l(){var t=this.chart,e=this.visible,i=this.chart.legend;i&&i.bubbleLegend&&(this.visible=!e,this.ignoreSeries=e,t=0<=a(t),i.bubbleLegend.visible!==t&&(i.update({bubbleLegend:{enabled:t}}),i.bubbleLegend.visible=t),this.visible=e)}function p(t,i){var o,s,r,a=t.options.rtl,n=0;t.allItems.forEach(function(t,e){o=t.legendGroup.translateX,s=t._legendItemPos[1],((r=t.movementX)||a&&t.ranges)&&(r=a?o-t.options.maxSize/2:o+r,t.legendGroup.attr({translateX:r})),e>i[n].step&&n++,t.legendGroup.attr({translateY:Math.round(s+i[n].height/2)}),t._legendItemPos[1]=s+i[n].height/2})}var c=t.setOptions,d=e.addEvent,u=e.objectEach,f=e.wrap,g=[];return{compose:function(t,e,i){-1===g.indexOf(t)&&(g.push(t),c({legend:{bubbleLegend:o}}),f(t.prototype,"drawChartBox",s)),-1===g.indexOf(e)&&(g.push(e),d(e,"afterGetAllItems",h)),-1===g.indexOf(i)&&(g.push(i),d(i,"legendItemClick",l))}}}),e(t,"Series/Bubble/BubblePoint.js",[t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(e,t,i){var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});function a(){var t=null!==s&&s.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return i=i.extend,s=t.seriesTypes.scatter.prototype.pointClass,r(a,s),a.prototype.haloPath=function(t){return e.prototype.haloPath.call(this,0===t?0:(this.marker&&this.marker.radius||0)+t)},i((t=a).prototype,{ttBelow:!1}),t}),e(t,"Series/Bubble/BubbleSeries.js",[t["Series/Bubble/BubbleLegendComposition.js"],t["Series/Bubble/BubblePoint.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(s,t,e,i,o,r){function a(){var s,r=this,t=this.len,a=this.chart,n=this.isXAxis,h=n?"xData":"yData",l=this.min,p=this.max-l,c=0,d=t,u=t/p;this.series.forEach(function(t){if(t.bubblePadding&&(t.visible||!a.options.chart.ignoreHiddenSeries)){s=r.allowZoomOutside=!0;var e,i=t[h];if(n&&((t.onPoint||t).getRadii(0,0,t),t.onPoint&&(t.radii=t.onPoint.radii)),0● {series.name}: {point.low} - {point.high}
'},whiskerWidth:null}),l);function l(){var t=null!==r&&r.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return o(a.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:!1}),i.registerSeriesType("errorbar",a),a}),e(t,"Series/Gauge/GaugePoint.js",[t["Core/Series/SeriesRegistry.js"]],function(t){var o,e,i=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});return e=t.series.prototype.pointClass,i(s,e),s.prototype.setState=function(t){this.state=t},s;function s(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t.shapeArgs=void 0,t}}),e(t,"Series/Gauge/GaugeSeries.js",[t["Series/Gauge/GaugePoint.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,i,o){var s,r,a=this&&this.__extends||(s=function(t,e){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),n=(e=e.noop,i.series),h=i.seriesTypes.column,d=o.clamp,u=o.isNumber,l=o.extend,f=o.merge,p=o.pick,g=o.pInt;function c(){var t=null!==r&&r.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t.yAxis=void 0,t}return a(c,r=n),c.prototype.translate=function(){var l=this.yAxis,p=this.options,c=l.center;this.generatePoints(),this.points.forEach(function(t){var e=f(p.dial,t.dial),i=g(e.radius)*c[2]/200,o=g(e.baseLength)*i/100,s=g(e.rearLength)*i/100,r=e.baseWidth,a=e.topWidth,n=p.overshoot,h=l.startAngleRad+l.translate(t.y,void 0,void 0,void 0,!0);!u(n)&&!1!==p.wrap||(n=u(n)?n/180*Math.PI:0,h=d(h,l.startAngleRad-n,l.endAngleRad+n)),h=180*h/Math.PI,t.shapeType="path",t.shapeArgs={d:e.path||[["M",-s,-r/2],["L",o,-r/2],["L",i,-a/2],["L",i,a/2],["L",o,r/2],["L",-s,r/2],["Z"]],translateX:c[0],translateY:c[1],rotation:h},t.plotX=c[0],t.plotY=c[1]})},c.prototype.drawPoints=function(){var r=this,a=r.chart,t=r.yAxis.center,e=r.pivot,n=r.options,i=n.pivot,h=a.renderer;r.points.forEach(function(t){var e=t.graphic,i=t.shapeArgs,o=i.d,s=f(n.dial,t.dial);e?(e.animate(i),i.d=o):t.graphic=h[t.shapeType](i).attr({rotation:i.rotation,zIndex:1}).addClass("highcharts-dial").add(r.group),a.styledMode||t.graphic[e?"animate":"attr"]({stroke:s.borderColor,"stroke-width":s.borderWidth,fill:s.backgroundColor})}),e?e.animate({translateX:t[0],translateY:t[1]}):i&&(r.pivot=h.circle(0,0,i.radius).attr({zIndex:2}).addClass("highcharts-pivot").translate(t[0],t[1]).add(r.group),a.styledMode||r.pivot.attr({fill:i.backgroundColor,stroke:i.borderColor,"stroke-width":i.borderWidth}))},c.prototype.animate=function(t){var i=this;t||i.points.forEach(function(t){var e=t.graphic;e&&(e.attr({rotation:180*i.yAxis.startAngleRad/Math.PI}),e.animate({rotation:t.shapeArgs.rotation},i.options.animation))})},c.prototype.render=function(){this.group=this.plotGroup("group","series",this.visible?"inherit":"hidden",this.options.zIndex,this.chart.seriesGroup),n.prototype.render.call(this),this.group.clip(this.chart.clipRect)},c.prototype.setData=function(t,e){n.prototype.setData.call(this,t,!1),this.processData(),this.generatePoints(),p(e,!0)&&this.chart.redraw()},c.prototype.hasData=function(){return!!this.points.length},c.defaultOptions=f(n.defaultOptions,{dataLabels:{borderColor:"#cccccc",borderRadius:3,borderWidth:1,crop:!1,defer:!1,enabled:!0,verticalAlign:"top",y:15,zIndex:2},dial:{backgroundColor:"#000000",baseLength:"70%",baseWidth:3,borderColor:"#cccccc",borderWidth:0,radius:"80%",rearLength:"10%",topWidth:1},pivot:{radius:5,borderWidth:0,borderColor:"#cccccc",backgroundColor:"#000000"},tooltip:{headerFormat:""},showInLegend:!1}),l((o=c).prototype,{angular:!0,directTouch:!0,drawGraph:e,drawTracker:h.prototype.drawTracker,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,pointClass:t,trackerGroups:["group","dataLabelsGroup"]}),i.registerSeriesType("gauge",o),o}),e(t,"Series/DragNodesComposition.js",[t["Core/Utilities.js"]],function(t){function e(){var t,i,o,s=this;s.container&&(t=r(s.container,"mousedown",function(t){var e=s.hoverPoint;e&&e.series&&e.series.hasDraggableNodes&&e.series.options.draggable&&(e.series.onMouseDown(e,t),i=r(s.container,"mousemove",function(t){return e&&e.series&&e.series.onMouseMove(e,t)}),o=r(s.container.ownerDocument,"mouseup",function(t){return i(),o(),e&&e.series&&e.series.onMouseUp(e,t)}))})),r(s,"destroy",function(){t()})}var r=t.addEvent,i=[];return{compose:function(t){-1===i.indexOf(t)&&(i.push(t),r(t,"load",e))},onMouseDown:function(t,e){e=this.chart.pointer.normalize(e),t.fixedPosition={chartX:e.chartX,chartY:e.chartY,plotX:t.plotX,plotY:t.plotY},t.inDragMode=!0},onMouseMove:function(t,e){var i,o,s,r,a;t.fixedPosition&&t.inDragMode&&(o=(i=this.chart).pointer.normalize(e),e=t.fixedPosition.chartX-o.chartX,o=t.fixedPosition.chartY-o.chartY,s=i.graphLayoutsLookup,a=r=void 0,(5-2*t.marker.radius&&(t.plotX-=.01*i.x,t.plotY-=.01*i.y)),n.prototype.applyLimitBox.call(this,t,e)},e.layouts.packedbubble=t=d}),e(t,"Series/PackedBubble/PackedBubbleSeries.js",[t["Core/Color/Color.js"],t["Series/DragNodesComposition.js"],t["Series/GraphLayoutComposition.js"],t["Core/Globals.js"],t["Series/PackedBubble/PackedBubblePoint.js"],t["Series/PackedBubble/PackedBubbleSeriesDefaults.js"],t["Series/PackedBubble/PackedBubbleLayout.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,r,a,e,i,o,s,n,h){var l,p,c=this&&this.__extends||(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),d=t.parse,u=(t=e.noop,n.series.prototype),f=n.seriesTypes.bubble,g=h.addEvent,y=h.clamp,b=h.defined,m=h.extend,v=h.fireEvent,x=h.isArray,P=h.isNumber,S=h.merge,M=h.pick;function w(){var t=null!==p&&p.apply(this,arguments)||this;return t.chart=void 0,t.data=void 0,t.layout=void 0,t.options=void 0,t.parentNodeMass=0,t.points=void 0,t.xData=void 0,t}return c(w,p=f),w.compose=function(t,e,i,o){f.compose(t,e,i,o),s.compose(e)},w.prototype.accumulateAllPoints=function(){for(var t=this.chart,e=[],i=0,o=t.series;i-Math.PI/2&&u-Math.PI&&u<0||u>Math.PI?-10:10)),l}function L(t){var e,i=this,o=this.pane.center,s=this.chart,r=s.inverted,a=t.reverse,n=(u=this.pane.options.background?this.pane.options.background[0]||this.pane.options.background:{}).innerRadius||"0%",h=u.outerRadius||"100%",l=o[0]+s.plotLeft,p=o[1]+s.plotTop,c=this.height,d=t.isCrosshair,u=o[3]/2,f=t.value,g=(y=this.getPosition(f)).x,y=y.y;if(d&&(f=(y=this.getCrosshairPosition(t,l,p))[0],g=y[1],y=y[2]),this.isCircular)f=Math.sqrt(Math.pow(g-l,2)+Math.pow(y-p,2)),a="string"==typeof n?v(n,1):n/f,s="string"==typeof h?v(h,1):h/f,o&&u&&(a<(u/=f)&&(a=u),se.len*e.tickInterval/(e.max-e.min)?0:h)s.max&&(p=c=r?h:0),p+=n,c+=n,a&&(f.barX=g+=a[3]/2),y=Math.max(g,0),b=Math.max(g+f.pointWidth,0),f.shapeArgs={x:a&&a[0],y:a&&a[1],r:b,innerR:y,start:p,end:c},f.opacity=p===c?0:void 0,f.plotY=(k(this.translatedThreshold)&&(pa[1])}}}function v(t,e){var i=this;if(this.chart.polar){e=e||this.points;for(var o,s=0;se.length-1?r:a+1],h=n.plotY,l=r.plotX,p=r.plotY,c=(r=e[a].plotX,a=e[a].plotY,n=(1.5*r+n.plotX)/2.5,h=(1.5*a+h)/2.5,l=(1.5*r+l)/2.5,(1.5*a+p)/2.5),p=Math.sqrt(Math.pow(n-r,2)+Math.pow(h-a,2)),d=Math.sqrt(Math.pow(l-r,2)+Math.pow(c-a,2)),n=Math.atan2(h-a,n-r),c=Math.PI/2+(n+Math.atan2(c-a,l-r))/2;return Math.abs(n-c)>Math.PI/2&&(c-=Math.PI),n=r+Math.cos(c)*p,h=a+Math.sin(c)*p,r={rightContX:r+Math.cos(Math.PI+c)*d,rightContY:c=a+Math.sin(Math.PI+c)*d,leftContX:n,leftContY:h,plotX:r,plotY:a},o&&(r.prevPointCont=t(e,i,!1,s)),r}(e,o,!0,this.connectEnds)).prevPointCont&&t.prevPointCont.rightContX,i=t.prevPointCont&&t.prevPointCont.rightContY,["C",C(e)?e:t.plotX,C(i)?i:t.plotY,C(t.leftContX)?t.leftContX:t.plotX,C(t.leftContY)?t.leftContY:t.plotY,t.plotX,t.plotY]):["M",i.plotX,i.plotY]:t.call(this,e,i,o)}var M=t.animObject,w=m.addEvent,k=m.defined,s=m.find,C=m.isNumber,L=m.pick,r=m.splat,h=m.uniqueKey,A=m.wrap,N=[],e=(a.compose=function(t,e,i,o,s,r,a,n,h){l.compose(t,s),-1===N.indexOf(e)&&(N.push(e),w(e,"afterDrawChartBox",p),w(e,"getAxes",c),A(e.prototype,"get",f)),-1===N.indexOf(i)&&(N.push(i),A(i.prototype,"getCoordinates",x)),-1===N.indexOf(o)&&(N.push(o),w(o,"afterInit",d),w(o,"afterTranslate",u,{order:2}),A(o.prototype,"animate",P)),a&&-1===N.indexOf(a)&&(N.push(a),t=a.prototype,A(t,"alignDataLabel",y),A(t,"animate",P),A(t,"translate",b)),n&&-1===N.indexOf(n)&&(N.push(n),A(n.prototype,"getGraphPath",v)),h&&-1===N.indexOf(h)&&(N.push(h),n=h.prototype,A(n,"getPointSpline",S),r&&-1===N.indexOf(r)&&(N.push(r),r.prototype.getPointSpline=n.getPointSpline))},a.prototype.arc=function(t,e,i,o){var s=this.series,r=s.xAxis.center,a=s.yAxis.len,n=r[3]/2;return e=a-e+n,t=a-L(t,a)+n,s.yAxis.reversed&&(e<0&&(e=n),t<0&&(t=n)),{x:r[0],y:r[1],r:e,innerR:t,start:i,end:o}},a.prototype.toXY=function(t){var e=this.series,i=e.chart,o=e.xAxis,s=e.yAxis,r=t.plotX,a=i.inverted,n=t.y,h=t.plotY,l=a?r:s.len-h;a&&e&&!e.isRadialBar&&(t.plotY=h=C(n)?s.translate(n):0),t.rectPlotX=r,t.rectPlotY=h,s.center&&(l+=s.center[3]/2),C(h)&&(s=a?s.postTranslate(h,l):o.postTranslate(r,l),t.plotX=t.polarPlotX=s.x-i.plotLeft,t.plotY=t.polarPlotY=s.y-i.plotTop),e.kdByAngle?((e=(r/Math.PI*180+o.pane.options.startAngle)%360)<0&&(e+=360),t.clientX=e):t.clientX=t.plotX},a);function a(t){this.series=t}return e}),e(t,"masters/highcharts-more.src.js",[t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Series/Bubble/BubbleSeries.js"],t["Series/PackedBubble/PackedBubbleSeries.js"],t["Series/PolarComposition.js"]],function(t,e,i,o,s){i.compose(t.Axis,t.Chart,t.Legend,t.Series),o.compose(t.Axis,t.Chart,t.Legend,t.Series),s.compose(t.Axis,t.Chart,t.Pointer,t.Series,t.Tick,e.seriesTypes.areasplinerange,e.seriesTypes.column,e.seriesTypes.line,e.seriesTypes.spline)})}); \ No newline at end of file +!function(e){"object"==typeof module&&module.exports?module.exports=e.default=e:"function"==typeof define&&define.amd?define("highcharts/highcharts-more",["highcharts"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,i,o){t.hasOwnProperty(e)||(t[e]=o.apply(null,i),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Extensions/Pane.js",[t["Core/Chart/Chart.js"],t["Series/CenteredUtilities.js"],t["Core/Globals.js"],t["Core/Pointer.js"],t["Core/Utilities.js"]],function(t,e,i,o,s){function r(t,e,i,o,s){var r=!0,a=i[0],n=i[1],h=Math.sqrt(Math.pow(t-a,2)+Math.pow(e-n,2));return p(o)&&p(s)&&(t=Math.atan2(l(e-n,8),l(t-a,8)),s!==o&&(r=s=-Math.PI:o<=t&&t<=l(s,8))),h<=Math.ceil(i[2]/2)&&r}var a=s.addEvent,l=s.correctFloat,p=s.defined,n=s.extend,h=s.merge,c=s.pick,d=s.splat;function u(t,e){this.options=this.chart=this.center=this.background=void 0,this.coll="pane",this.defaultOptions={center:["50%","50%"],size:"85%",innerSize:"0%",startAngle:0},this.defaultBackgroundOptions={shape:"circle",borderWidth:1,borderColor:"#cccccc",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#ffffff"],[1,"#e6e6e6"]]},from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"},this.init(t,e)}return t.prototype.collectionsWithUpdate.push("pane"),u.prototype.init=function(t,e){this.chart=e,this.background=[],e.pane.push(this),this.setOptions(t)},u.prototype.setOptions=function(t){this.options=h(this.defaultOptions,this.chart.angular?{background:{}}:void 0,t)},u.prototype.render=function(){var t=this.options,e=this.options.background,i=this.chart.renderer;if(this.group||(this.group=i.g("pane-group").attr({zIndex:t.zIndex||0}).add()),this.updateCenter(),e)for(e=d(e),t=Math.max(e.length,this.background.length||0),i=0;i● {series.name}: {point.low} - {point.high}
'},trackByArea:!0,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}};function m(){var t=null!==a&&a.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t.lowerStateMarkerGraphic=void 0,t.xAxis=void 0,t}return r(m,a=n),m.prototype.toYData=function(t){return[t.low,t.high]},m.prototype.highToXY=function(t){var e=this.chart,i=this.xAxis.postTranslate(t.rectPlotX||0,this.yAxis.len-(t.plotHigh||0));t.plotHighX=i.x-e.plotLeft,t.plotHigh=i.y-e.plotTop,t.plotLowX=t.plotX},m.prototype.getGraphPath=function(t){for(var e=[],i=[],o=u.getGraphPath,s=this.options,r=this.chart.polar,a=r&&!1!==s.connectEnds,n=s.connectNulls,h=s.step,l=(t=t||this.points).length;l--;){var p=t[l],c=r?{plotX:p.rectPlotX,plotY:p.yBottom,doCurve:!1}:{plotX:p.plotX,plotY:p.plotY,doCurve:!1},d=(p.isNull||a||n||t[l+1]&&!t[l+1].isNull||i.push(c),{polarPlotY:p.polarPlotY,rectPlotX:p.rectPlotX,yBottom:p.yBottom,plotX:g(p.plotHighX,p.plotX),plotY:p.plotHigh,isNull:p.isNull});i.push(d),e.push(d),p.isNull||a||n||t[l-1]&&!t[l-1].isNull||i.push(c)}return t=o.call(this,t),h&&(s.step={left:"right",center:"center",right:"left"}[h=!0===h?"left":h]),e=o.call(this,e),i=o.call(this,i),s.step=h,s=[].concat(t,e),!this.chart.polar&&i[0]&&"M"===i[0][0]&&(i[0]=["L",i[0][1],i[0][2]]),this.graphPath=s,this.areaPath=t.concat(i),s.isArea=!0,s.xMap=t.xMap,this.areaPath.xMap=t.xMap,s},m.prototype.drawDataLabels=function(){var t,e,i,o,s,r,a=this.points,n=a.length,h=[],l=this.options.dataLabels,p=this.chart.inverted;if(l){if(d(l)?(i=l[0]||{enabled:!1},o=l[1]||{enabled:!1}):((i=c({},l)).x=l.xHigh,i.y=l.yHigh,(o=c({},l)).x=l.xLow,o.y=l.yLow),i.enabled||this._hasPointLabels){for(t=n;t--;)(e=a[t])&&(s=void 0===(s=e.plotHigh)?0:s,r=void 0===(r=e.plotLow)?0:r,r=i.inside?s{series.name}
Maximum: {point.high}
Upper quartile: {point.q3}
Median: {point.median}
Lower quartile: {point.q1}
Minimum: {point.low}
'},whiskerLength:"50%",fillColor:"#ffffff",lineWidth:1,medianWidth:2,whiskerWidth:2}),n((o=l).prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",drawDataLabels:e,setStackedPoints:e}),i.registerSeriesType("boxplot",o),o}),e(t,"Series/Bubble/BubbleLegendDefaults.js",[],function(){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"10px",color:"#000000"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}}),e(t,"Series/Bubble/BubbleLegendItem.js",[t["Core/Color/Color.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],function(t,s,e,i){var c=t.parse,o=e.noop,a=i.arrayMax,n=i.arrayMin,h=i.isNumber,d=i.merge,u=i.pick,l=i.stableSort;function r(t,e){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legend=this.fontMetrics=this.chart=void 0,this.setState=o,this.init(t,e)}return r.prototype.init=function(t,e){this.options=t,this.visible=!0,this.chart=e.chart,this.legend=e},r.prototype.addToLegend=function(t){t.splice(this.options.legendIndex,0,this)},r.prototype.drawLegendSymbol=function(t){var e=this.chart,i=u(t.options.itemDistance,20),o=this.legendItem||{},s=this.options,r=s.ranges,a=s.connectorDistance;this.fontMetrics=e.renderer.fontMetrics(s.labels.style.fontSize),r&&r.length&&h(r[0].value)?(l(r,function(t,e){return e.value-t.value}),this.ranges=r,this.setOptions(),this.render(),t=this.getMaxLabelSize(),e=2*(r=this.ranges[0].radius),a=0<(a=a-r+t.width)?a:0,this.maxLabel=t,this.movementX="left"===s.labels.align?a:0,o.labelWidth=e+a+i,o.labelHeight=e+this.fontMetrics.h/2):t.options.bubbleLegend.autoRanges=!0},r.prototype.setOptions=function(){var i=this.ranges,o=this.options,s=this.chart.series[o.seriesIndex],r=this.legend.baseline,a={zIndex:o.zIndex,"stroke-width":o.borderWidth},n={zIndex:o.zIndex,"stroke-width":o.connectorWidth},h={align:this.legend.options.rtl||"left"===o.labels.align?"right":"left",zIndex:o.zIndex},l=s.options.marker.fillOpacity,p=this.chart.styledMode;i.forEach(function(t,e){p||(a.stroke=u(t.borderColor,o.borderColor,s.color),a.fill=u(t.color,o.color,1!==l?c(s.color).setOpacity(l).get("rgba"):s.color),n.stroke=u(t.connectorColor,o.connectorColor,s.color)),i[e].radius=this.getRangeRadius(t.value),i[e]=d(i[e],{center:i[0].radius-i[e].radius+r}),p||d(!0,i[e],{bubbleAttribs:d(a),connectorAttribs:d(n),labelAttribs:h})},this)},r.prototype.getRangeRadius=function(t){var e=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,e.ranges[e.ranges.length-1].value,e.ranges[0].value,e.minSize,e.maxSize,t)},r.prototype.render=function(){var t=this.legendItem||{},e=this.chart.renderer,i=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),t.symbol=e.g("bubble-legend"),t.label=e.g("bubble-legend-item"),t.symbol.translateX=0;for(var e=t.symbol.translateY=0,o=this.ranges;e=i&&this.renderRange(s)}t.symbol.add(t.label),t.label.add(t.group),this.hideOverlappingLabels()},r.prototype.renderRange=function(t){var e=this.options,i=e.labels,o=(a=this.chart).series[e.seriesIndex],s=a.renderer,r=this.symbols,a=r.labels,n=t.center,h=Math.abs(t.radius),l=e.connectorDistance||0,p=i.align,c=e.connectorWidth,d=this.ranges[0].radius||0,u=n-h-e.borderWidth/2+c/2,f=(f=this.fontMetrics).f/2-(f.h-f.f)/2,g=s.styledMode,l=this.legend.options.rtl||"left"===p?-l:l,p=("center"===p&&(e.connectorDistance=l=0,t.labelAttribs.align="center"),u+e.labels.y),y=d+l+e.labels.x;r.bubbleItems.push(s.circle(d,n+((u%1?1:.5)-(c%2?0:.5)),h).attr(g?{}:t.bubbleAttribs).addClass((g?"highcharts-color-"+o.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(e.className||"")).add(this.legendItem.symbol)),r.connectors.push(s.path(s.crispLine([["M",d,u],["L",d+l,u]],e.connectorWidth)).attr(g?{}:t.connectorAttribs).addClass((g?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(e.connectorClassName||"")).add(this.legendItem.symbol)),t=s.text(this.formatLabel(t),y,p+f).attr(g?{}:t.labelAttribs).css(g?{}:i.style).addClass("highcharts-bubble-legend-labels "+(e.labels.className||"")).add(this.legendItem.symbol),a.push(t),t.placed=!0,t.alignAttr={x:y,y:p+f}},r.prototype.getMaxLabelSize=function(){var e,i;return this.symbols.labels.forEach(function(t){i=t.getBBox(!0),e=!e||i.width>e.width?i:e}),e||{}},r.prototype.formatLabel=function(t){var e=(i=this.options).labels.formatter,i=i.labels.format,o=this.chart.numberFormatter;return i?s.format(i,t):e?e.call(t):o(t.value,1)},r.prototype.hideOverlappingLabels=function(){var t=this.chart,i=this.symbols;!this.options.labels.allowOverlap&&i&&(t.hideOverlappingLabels(i.labels),i.labels.forEach(function(t,e){t.newOpacity?t.newOpacity!==t.oldOpacity&&i.connectors[e].show():i.connectors[e].hide()}))},r.prototype.getRanges=function(){var e,t=this.legend.bubbleLegend,i=t.options.ranges,o=Number.MAX_VALUE,s=-Number.MAX_VALUE,r=(t.chart.series.forEach(function(t){t.isBubble&&!t.ignoreSeries&&((e=t.zData.filter(h)).length&&(o=u(t.options.zMin,Math.min(o,Math.max(n(e),!1===t.options.displayNegative?t.options.zThreshold:-Number.MAX_VALUE))),s=u(t.options.zMax,Math.max(s,a(e)))))}),o===s?[{value:s}]:[{value:o},{value:(o+s)/2},{value:s,autoRanges:!0}]);return i.length&&i[0].radius&&r.reverse(),r.forEach(function(t,e){i&&i[e]&&(r[e]=d(i[e],t))}),r},r.prototype.predictBubbleSizes=function(){var t=this.chart,e=this.fontMetrics,i=t.legend.options,o=i.floating,s=(i="horizontal"===i.layout)?t.legend.lastLineHeight:0,r=t.plotSizeX,a=t.plotSizeY,n=(l=t.series[this.options.seriesIndex]).getPxExtremes(),t=Math.ceil(n.minPxSize),n=Math.ceil(n.maxPxSize),h=Math.min(a,r),l=l.options.maxSize;return o||!/%$/.test(l)?e=n:(l=parseFloat(l),e=(h+s-e.h/2)*l/100/(l/100+1),(i&&r<=a-e||!i&&a<=r-e)&&(e=n)),[t,Math.ceil(e)]},r.prototype.updateRanges=function(t,e){var i=this.legend.options.bubbleLegend;i.minSize=t,i.maxSize=e,i.ranges=this.getRanges()},r.prototype.correctSizes=function(){var t=this.legend,e=this.chart.series[this.options.seriesIndex].getPxExtremes();1r.height&&(r.height=t[o].itemHeight);r.step=s}}return e}function a(t){var e=this.bubbleLegend,i=this.options,o=i.bubbleLegend,s=n(this.chart);e&&e.ranges&&e.ranges.length&&(o.ranges.length&&(o.autoRanges=!!o.ranges[0].autoRanges),this.destroyItem(e)),0<=s&&i.enabled&&o.enabled&&(o.seriesIndex=s,this.bubbleLegend=new r(o,this),this.bubbleLegend.addToLegend(t.allItems))}function l(){var t=this.chart,e=this.visible,i=this.chart.legend;i&&i.bubbleLegend&&(this.visible=!e,this.ignoreSeries=e,t=0<=n(t),i.bubbleLegend.visible!==t&&(i.update({bubbleLegend:{enabled:t}}),i.bubbleLegend.visible=t),this.visible=e)}function p(t,i){var o,s,r,a,n=t.options.rtl,h=0;t.allItems.forEach(function(t,e){(a=t.legendItem||{}).group&&(o=a.group.translateX||0,s=a.y||0,((r=t.movementX)||n&&t.ranges)&&(r=n?o-t.options.maxSize/2:o+r,a.group.attr({translateX:r})),e>i[h].step&&h++,a.group.attr({translateY:Math.round(s+i[h].height/2)}),a.y=s+i[h].height/2)})}var c=t.setOptions,d=e.addEvent,u=e.objectEach,f=e.wrap,g=[];return{compose:function(t,e,i){-1===g.indexOf(t)&&(g.push(t),c({legend:{bubbleLegend:o}}),f(t.prototype,"drawChartBox",s)),-1===g.indexOf(e)&&(g.push(e),d(e,"afterGetAllItems",a)),-1===g.indexOf(i)&&(g.push(i),d(i,"legendItemClick",l))}}}),e(t,"Series/Bubble/BubblePoint.js",[t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(e,t,i){var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});function a(){var t=null!==s&&s.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return i=i.extend,s=t.seriesTypes.scatter.prototype.pointClass,r(a,s),a.prototype.haloPath=function(t){return e.prototype.haloPath.call(this,0===t?0:(this.marker&&this.marker.radius||0)+t)},i((t=a).prototype,{ttBelow:!1}),t}),e(t,"Series/Bubble/BubbleSeries.js",[t["Series/Bubble/BubbleLegendComposition.js"],t["Series/Bubble/BubblePoint.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(s,t,e,i,o,r){function a(){var s,r=this,t=this.len,a=this.chart,n=this.isXAxis,h=n?"xData":"yData",l=this.min,p=this.max-l,c=0,d=t,u=t/p;this.series.forEach(function(t){if(t.bubblePadding&&(t.visible||!a.options.chart.ignoreHiddenSeries)){s=r.allowZoomOutside=!0;var e,i=t[h];if(n&&((t.onPoint||t).getRadii(0,0,t),t.onPoint&&(t.radii=t.onPoint.radii)),0● {series.name}: {point.low} - {point.high}
'},whiskerWidth:null}}),e(t,"Series/ErrorBar/ErrorBarSeries.js",[t["Series/BoxPlot/BoxPlotSeries.js"],t["Series/Column/ColumnSeries.js"],t["Series/ErrorBar/ErrorBarSeriesDefaults.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,i,o,s){var r,a,n=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),h=o.seriesTypes.arearange,l=s.addEvent,p=s.merge,n=(s=s.extend,n(c,a=t),c.prototype.getColumnMetrics=function(){return this.linkedParent&&this.linkedParent.columnMetrics||e.prototype.getColumnMetrics.call(this)},c.prototype.drawDataLabels=function(){var e=this.pointValKey;h&&(h.prototype.drawDataLabels.call(this),this.data.forEach(function(t){t.y=t[e]}))},c.prototype.toYData=function(t){return[t.low,t.high]},c.defaultOptions=p(t.defaultOptions,i),c);function c(){var t=null!==a&&a.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return l(n,"afterTranslate",function(){this.points.forEach(function(t){t.plotLow=t.plotY})},{order:0}),s(n.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:!1}),o.registerSeriesType("errorbar",n),n}),e(t,"Series/Gauge/GaugePoint.js",[t["Core/Series/SeriesRegistry.js"]],function(t){var o,e,i=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});return e=t.series.prototype.pointClass,i(s,e),s.prototype.setState=function(t){this.state=t},s;function s(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t.shapeArgs=void 0,t}}),e(t,"Series/Gauge/GaugeSeries.js",[t["Series/Gauge/GaugePoint.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,i,o){var s,r,a=this&&this.__extends||(s=function(t,e){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),n=(e=e.noop,i.series),h=i.seriesTypes.column,d=o.clamp,u=o.isNumber,l=o.extend,f=o.merge,p=o.pick,g=o.pInt;function c(){var t=null!==r&&r.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t.yAxis=void 0,t}return a(c,r=n),c.prototype.translate=function(){var l=this.yAxis,p=this.options,c=l.center;this.generatePoints(),this.points.forEach(function(t){var e=f(p.dial,t.dial),i=g(e.radius)*c[2]/200,o=g(e.baseLength)*i/100,s=g(e.rearLength)*i/100,r=e.baseWidth,a=e.topWidth,n=p.overshoot,h=l.startAngleRad+l.translate(t.y,void 0,void 0,void 0,!0);!u(n)&&!1!==p.wrap||(n=u(n)?n/180*Math.PI:0,h=d(h,l.startAngleRad-n,l.endAngleRad+n)),h=180*h/Math.PI,t.shapeType="path",t.shapeArgs={d:e.path||[["M",-s,-r/2],["L",o,-r/2],["L",i,-a/2],["L",i,a/2],["L",o,r/2],["L",-s,r/2],["Z"]],translateX:c[0],translateY:c[1],rotation:h},t.plotX=c[0],t.plotY=c[1]})},c.prototype.drawPoints=function(){var r=this,a=r.chart,t=r.yAxis.center,e=r.pivot,n=r.options,i=n.pivot,h=a.renderer;r.points.forEach(function(t){var e=t.graphic,i=t.shapeArgs,o=i.d,s=f(n.dial,t.dial);e?(e.animate(i),i.d=o):t.graphic=h[t.shapeType](i).attr({rotation:i.rotation,zIndex:1}).addClass("highcharts-dial").add(r.group),a.styledMode||t.graphic[e?"animate":"attr"]({stroke:s.borderColor,"stroke-width":s.borderWidth,fill:s.backgroundColor})}),e?e.animate({translateX:t[0],translateY:t[1]}):i&&(r.pivot=h.circle(0,0,i.radius).attr({zIndex:2}).addClass("highcharts-pivot").translate(t[0],t[1]).add(r.group),a.styledMode||r.pivot.attr({fill:i.backgroundColor,stroke:i.borderColor,"stroke-width":i.borderWidth}))},c.prototype.animate=function(t){var i=this;t||i.points.forEach(function(t){var e=t.graphic;e&&(e.attr({rotation:180*i.yAxis.startAngleRad/Math.PI}),e.animate({rotation:t.shapeArgs.rotation},i.options.animation))})},c.prototype.render=function(){this.group=this.plotGroup("group","series",this.visible?"inherit":"hidden",this.options.zIndex,this.chart.seriesGroup),n.prototype.render.call(this),this.group.clip(this.chart.clipRect)},c.prototype.setData=function(t,e){n.prototype.setData.call(this,t,!1),this.processData(),this.generatePoints(),p(e,!0)&&this.chart.redraw()},c.prototype.hasData=function(){return!!this.points.length},c.defaultOptions=f(n.defaultOptions,{dataLabels:{borderColor:"#cccccc",borderRadius:3,borderWidth:1,crop:!1,defer:!1,enabled:!0,verticalAlign:"top",y:15,zIndex:2},dial:{backgroundColor:"#000000",baseLength:"70%",baseWidth:3,borderColor:"#cccccc",borderWidth:0,radius:"80%",rearLength:"10%",topWidth:1},pivot:{radius:5,borderWidth:0,borderColor:"#cccccc",backgroundColor:"#000000"},tooltip:{headerFormat:""},showInLegend:!1}),l((o=c).prototype,{angular:!0,directTouch:!0,drawGraph:e,drawTracker:h.prototype.drawTracker,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,pointClass:t,trackerGroups:["group","dataLabelsGroup"]}),i.registerSeriesType("gauge",o),o}),e(t,"Series/DragNodesComposition.js",[t["Core/Utilities.js"]],function(t){function e(){var t,i,o,s=this;s.container&&(t=r(s.container,"mousedown",function(t){var e=s.hoverPoint;e&&e.series&&e.series.hasDraggableNodes&&e.series.options.draggable&&(e.series.onMouseDown(e,t),i=r(s.container,"mousemove",function(t){return e&&e.series&&e.series.onMouseMove(e,t)}),o=r(s.container.ownerDocument,"mouseup",function(t){return i(),o(),e&&e.series&&e.series.onMouseUp(e,t)}))})),r(s,"destroy",function(){t()})}var r=t.addEvent,i=[];return{compose:function(t){-1===i.indexOf(t)&&(i.push(t),r(t,"load",e))},onMouseDown:function(t,e){e=this.chart.pointer.normalize(e),t.fixedPosition={chartX:e.chartX,chartY:e.chartY,plotX:t.plotX,plotY:t.plotY},t.inDragMode=!0},onMouseMove:function(t,e){var i,o,s,r,a;t.fixedPosition&&t.inDragMode&&(o=(i=this.chart).pointer.normalize(e),e=t.fixedPosition.chartX-o.chartX,o=t.fixedPosition.chartY-o.chartY,s=i.graphLayoutsLookup,a=r=void 0,(5-2*t.marker.radius&&(t.plotX-=.01*i.x,t.plotY-=.01*i.y)),n.prototype.applyLimitBox.call(this,t,e)},e.layouts.packedbubble=t=d}),e(t,"Series/PackedBubble/PackedBubbleSeries.js",[t["Core/Color/Color.js"],t["Series/DragNodesComposition.js"],t["Series/GraphLayoutComposition.js"],t["Core/Globals.js"],t["Series/PackedBubble/PackedBubblePoint.js"],t["Series/PackedBubble/PackedBubbleSeriesDefaults.js"],t["Series/PackedBubble/PackedBubbleLayout.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,r,a,e,i,o,s,n,h){var l,p,c=this&&this.__extends||(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),d=t.parse,u=(t=e.noop,n.series.prototype),f=n.seriesTypes.bubble,g=h.addEvent,y=h.clamp,b=h.defined,m=h.extend,v=h.fireEvent,x=h.isArray,P=h.isNumber,S=h.merge,M=h.pick;function w(){var t=null!==p&&p.apply(this,arguments)||this;return t.chart=void 0,t.data=void 0,t.layout=void 0,t.options=void 0,t.parentNodeMass=0,t.points=void 0,t.xData=void 0,t}return c(w,p=f),w.compose=function(t,e,i,o){f.compose(t,e,i,o),r.compose(e),s.compose(e)},w.prototype.accumulateAllPoints=function(){for(var t=this.chart,e=[],i=0,o=t.series;i-Math.PI/2&&u-Math.PI&&u<0||u>Math.PI?-10:10)),l}function C(t){var e,i=this,o=this.pane.center,s=this.chart,r=s.inverted,a=t.reverse,n=(u=this.pane.options.background?this.pane.options.background[0]||this.pane.options.background:{}).innerRadius||"0%",h=u.outerRadius||"100%",l=o[0]+s.plotLeft,p=o[1]+s.plotTop,c=this.height,d=t.isCrosshair,u=o[3]/2,f=t.value,g=(y=this.getPosition(f)).x,y=y.y;if(d&&(f=(y=this.getCrosshairPosition(t,l,p))[0],g=y[1],y=y[2]),this.isCircular)f=Math.sqrt(Math.pow(g-l,2)+Math.pow(y-p,2)),a="string"==typeof n?v(n,1):n/f,s="string"==typeof h?v(h,1):h/f,o&&u&&(a<(u/=f)&&(a=u),sMath.PI&&(e-=t),o>Math.PI&&(o-=t),this.normalizedStartAngleRad=e,this.normalizedEndAngleRad=o)}function X(t){this.isRadial&&(t.align=void 0,t.preventDefault())}function _(){var t;this.chart&&this.chart.labelCollectors&&(0<=(t=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1)&&this.chart.labelCollectors.splice(t,1))}function j(t){var e,i=this.chart,o=i.inverted,s=i.angular,r=i.polar,a=this.isXAxis,n=this.coll,h=s&&a;t=t.userOptions.pane||0,t=this.pane=i.pane&&i.pane[t],"colorAxis"===n?this.isRadial=!1:(s?(h?(this.isHidden=!0,this.createLabelCollector=S,this.getOffset=u,this.render=this.redraw=D,this.setTitle=this.setCategories=this.setScale=u):T(this),(e=!a)&&(this.defaultPolarOptions=c)):r&&(T(this),this.defaultPolarOptions=(e=this.horiz)?p:g("xAxis"===n?l.defaultXAxisOptions:l.defaultYAxisOptions,d),o&&"yAxis"===n&&(this.defaultPolarOptions.stackLabels=l.defaultYAxisOptions.stackLabels,this.defaultPolarOptions.reversedStacks=!0)),s||r?(this.isRadial=!0,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&i.labelCollectors.push(this.labelCollector)):this.isRadial=!1,t&&e&&(t.axis=this),this.isCircular=e)}function Y(){this.isRadial&&this.beforeSetTickPositions()}function R(t){var e,i,o,s,r,a,n,h,l,p,c,d,u,f,g,y=this.label;y&&(e=this.axis,i=y.getBBox(),o=e.options.labels,s=(e.translate(this.pos)+e.startAngleRad+Math.PI/2)/Math.PI*180%360,r=Math.round(s),a=b(o.y)?0:.3*-i.height,n=o.y,h=20,l=o.align,p="end",d=c=r<0?r+360:r,f=u=0,e.isRadial&&(g=e.getPosition(this.pos,e.center[2]/2+v(m(o.distance,-25),e.center[2]/2,-e.center[2]/2)),"auto"===o.rotation?y.attr({rotation:s}):b(n)||(n=e.chart.renderer.fontMetrics(y.styles&&y.styles.fontSize).b-i.height/2),b(l)||(l=e.isCircular?(h=i.width>e.len*e.tickInterval/(e.max-e.min)?0:h)e[2]/2&&(s=e[2]/2),ithis.xAxis.max?(t[e].isNull=!0,t[e].plotY=NaN):t[e].isNull=t[e].isValid&&!t[e].isValid());this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push(T(this,"afterRender",function(){var t,e,i,o,s,r,a;n.polar&&(s=this.yAxis.pane.center,this.clipCircle?this.clipCircle.animate({x:s[0],y:s[1],r:s[2]/2,innerR:s[3]/2}):(a=n.renderer,t=s[0],e=s[1],i=s[2]/2,o=s[3]/2,s=h(),r=a.createElement("clipPath").attr({id:s}).add(a.defs),(a=(o?a.arc(t,e,i,o,0,2*Math.PI):a.circle(t,e,i)).add(r)).id=s,a.clipPath=r,this.clipCircle=a),this.group.clip(this.clipCircle),this.setClip=g.noop)})))}}function o(t){var e=this.chart,i=(i=this.xAxis).pane&&i.pane.center;return this.searchKDTree({clientX:180+-180/Math.PI*Math.atan2(t.chartX-(i&&i[0]||0)-e.plotLeft,t.chartY-(i&&i[1]||0)-e.plotTop)})}function v(t,e,i,o){var s=o.tickInterval,r=(o=o.tickPositions,n(o,function(t){return i<=t})),a=n(A([],o,!0).reverse(),function(t){return t<=e});return O(r)||(r=o[o.length-1]),O(a)||(a=o[0],r+=s,t[0][0]="L",t.unshift(t[t.length-3])),(t=t.slice(o.indexOf(a),o.indexOf(r)+1))[0][0]="M",t}function x(t,e){return n(this.pane||[],function(t){return t.options.id===e})||t.call(this,e)}function P(t,e,i,o,s,r){var a=this.chart,n=_(o.inside,!!this.options.stacking);a.polar?(t=e.rectPlotX/Math.PI*180,a.inverted?(this.forceDL=a.isInsidePlot(e.plotX,e.plotY),n&&e.shapeArgs?(s=e.shapeArgs,s={x:(s=this.yAxis.postTranslate(((s.start||0)+(s.end||0))/2-this.xAxis.startAngleRad,e.barX+e.pointWidth/2)).x-a.plotLeft,y:s.y-a.plotTop}):e.tooltipPos&&(s={x:e.tooltipPos[0],y:e.tooltipPos[1]}),o.align=_(o.align,"center"),o.verticalAlign=_(o.verticalAlign,"middle")):(null===o.align&&(o.align=20s.max&&(p=c=r?h:0),p+=n,c+=n,a&&(f.barX=g+=a[3]/2),y=Math.max(g,0),b=Math.max(g+f.pointWidth,0),f.shapeArgs={x:a&&a[0],y:a&&a[1],r:b,innerR:y,start:p,end:c},f.opacity=p===c?0:void 0,f.plotY=(O(this.translatedThreshold)&&(pa[1])}}}function M(t,e){var i=this;if(this.chart.polar){e=e||this.points;for(var o,s=0;se.length-1?r:a+1],h=n.plotY,l=r.plotX,p=r.plotY,c=(r=e[a].plotX,a=e[a].plotY,n=(1.5*r+n.plotX)/2.5,h=(1.5*a+h)/2.5,l=(1.5*r+l)/2.5,(1.5*a+p)/2.5),p=Math.sqrt(Math.pow(n-r,2)+Math.pow(h-a,2)),d=Math.sqrt(Math.pow(l-r,2)+Math.pow(c-a,2)),n=Math.atan2(h-a,n-r),c=Math.PI/2+(n+Math.atan2(c-a,l-r))/2;return Math.abs(n-c)>Math.PI/2&&(c-=Math.PI),n=r+Math.cos(c)*p,h=a+Math.sin(c)*p,r={rightContX:r+Math.cos(Math.PI+c)*d,rightContY:c=a+Math.sin(Math.PI+c)*d,leftContX:n,leftContY:h,plotX:r,plotY:a},o&&(r.prevPointCont=t(e,i,!1,s)),r}(e,o,!0,this.connectEnds)).prevPointCont&&t.prevPointCont.rightContX,i=t.prevPointCont&&t.prevPointCont.rightContY,["C",X(e)?e:t.plotX,X(i)?i:t.plotY,X(t.leftContX)?t.leftContX:t.plotX,X(t.leftContY)?t.leftContY:t.plotY,t.plotX,t.plotY]):["M",i.plotX,i.plotY]:t.call(this,e,i,o)}var A=this&&this.__spreadArray||function(t,e,i){if(i||2===arguments.length)for(var o,s=0,r=e.length;si&&(i=t[e]);return i},arrayMin:function(t){for(var e=t.length,i=t[0];e--;)t[e]>16,(65280&o)>>8,255&o,1]:4===i&&(e=[(3840&o)>>4|(3840&o)>>8,(240&o)>>4|240&o,(15&o)<<4|15&o,1])),!e)for(o=n.parsers.length;o--&&!e;){var s=n.parsers[o];(i=s.regex.exec(t))&&(e=s.parse(i))}e&&(this.rgba=e)},n.prototype.get=function(i){var o,t=this.input,e=this.rgba;return"object"==typeof t&&void 0!==this.stops?((o=r(t)).stops=[].slice.call(o.stops),this.stops.forEach(function(t,e){o.stops[e]=[o.stops[e][0],t.get(i)]}),o):e&&s(e[0])?"rgb"===i||!i&&1===e[3]?"rgb("+e[0]+","+e[1]+","+e[2]+")":"a"===i?"".concat(e[3]):"rgba("+e.join(",")+")":t},n.prototype.brighten=function(e){var t=this.rgba;if(this.stops)this.stops.forEach(function(t){t.brighten(e)});else if(s(e)&&0!==e)for(var i=0;i<3;i++)t[i]+=o(255*e),t[i]<0&&(t[i]=0),255=v.second?0:c*Math.floor(r.get("Milliseconds",h)/c)),l>=v.second&&r.set("Seconds",h,l>=v.minute?0:c*Math.floor(r.get("Seconds",h)/c)),l>=v.minute&&r.set("Minutes",h,l>=v.hour?0:c*Math.floor(r.get("Minutes",h)/c)),l>=v.hour&&r.set("Hours",h,l>=v.day?0:c*Math.floor(r.get("Hours",h)/c)),l>=v.day&&r.set("Date",h,l>=v.month?1:Math.max(1,c*Math.floor(r.get("Date",h)/c))),l>=v.month&&(r.set("Month",h,l>=v.year?0:c*Math.floor(r.get("Month",h)/c)),d=r.get("FullYear",h)),l>=v.year&&r.set("FullYear",h,d-d%c),l===v.week&&(d=r.get("Day",h),r.set("Date",h,r.get("Date",h)-d+o+(d4*v.month||r.getTimezoneOffset(e)!==r.getTimezoneOffset(i)),e=h.getTime(),h=1;et){a=n;break}if(r[a]&&s.substr(r[a])!=="01-01 00:00:00.000".substr(r[a]))break;"week"!==a&&(n=a)}return this.resolveDTLFormat(o[a]).main},t=a}),t(e,"Core/DefaultOptions.js",[e["Core/Chart/ChartDefaults.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Color/Palettes.js"],e["Core/Time.js"],e["Core/Utilities.js"]],function(t,e,i,o,s,r){e=e.parse;var n=r.merge,a={colors:o.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),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:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",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,animation:i.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:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:i.isTouchDevice?25:10,headerFormat:'{point.key}
',pointFormat:' {series.name}: {point.y}
',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}},h=(a.chart.styledMode=!1,new s(n(a.global,a.time)));return t={defaultOptions:a,defaultTime:h,getOptions:function(){return a},setOptions:function(t){return n(!0,a,t),(t.time||t.global)&&(i.time?i.time.update(n(a.global,a.time,t.global,t.time)):i.time=h),a}}}),t(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,i){var o=t.parse,h=e.win,p=i.isNumber,l=i.objectEach;return c.prototype.dSetter=function(){var t=(e=this.paths)&&e[0],e=e&&e[1],i=this.now||0,o=[];if(1!==i&&t&&e)if(t.length===e.length&&i<1)for(var s=0;s=n+this.startTime?(this.now=this.end,this.pos=1,this.update(),e=a[this.prop]=!0,l(a,function(t){!0!==t&&(e=!1)}),e&&r&&r.call(s),!1):(this.pos=o.easing((i-this.startTime)/n),this.now=this.start+(this.end-this.start)*this.pos,this.update(),!0))},c.prototype.initPath=function(t,e,i){function o(t,e){for(;t.lengtht[d].pos&&(t[d-1].size+=t[d].size,t[d-1].targets=t[d-1].targets.concat(t[d].targets),t[d-1].align=.5,t[d-1].pos+t[d-1].size>o&&(t[d-1].pos=o-t[d-1].size),t.splice(d,1),h=!0)}return r.push.apply(r,l),d=0,t.some(function(t){var e=0;return(t.targets||[]).some(function(){return r[d].pos=t.pos+e,void 0!==s&&Math.abs(r[d].pos-r[d].target)>s?(r.slice(0,d+1).forEach(function(t){return delete t.pos}),r.reducedLen=(r.reducedLen||o)-.1*o,r.reducedLen>.1*o&&i(r,o,s),!0):(e+=r[d].size,d++,!1)})}),f(r,e),r},e}),t(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,m,r,e){var n=t.animate,a=t.animObject,c=t.stop,g=r.deg2rad,h=r.doc,l=r.svg,d=r.SVG_NS,i=r.win,p=e.addEvent,u=e.attr,o=e.createElement,y=e.css,x=e.defined,f=e.erase,v=e.extend,b=e.fireEvent,S=e.isArray,k=e.isFunction,C=e.isString,M=e.merge,w=e.objectEach,T=e.pick,A=e.pInt,P=e.syncTimeout,L=e.uniqueKey;function O(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=d,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return O.prototype._defaultGetter=function(t){return t=T(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),t=/^[\-0-9\.]+$/.test(t)?parseFloat(t):t},O.prototype._defaultSetter=function(t,e,i){i.setAttribute(e,t)},O.prototype.add=function(t){var e,i=this.renderer,o=this.element;return t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,void 0!==this.textStr&&"text"===this.element.nodeName&&i.buildText(this),this.added=!0,(e=t&&!t.handleZ&&!this.zIndex?e:this.zIndexSetter())||(t?t.element:i.box).appendChild(o),this.onAdd&&this.onAdd(),this},O.prototype.addClass=function(t,e){var i=!e&&this.attr("class")||"";return(t=(t||"").split(/ /g).reduce(function(t,e){return-1===i.indexOf(e)&&t.push(e),t},i?[i]:[]).join(" "))!==i&&this.attr("class",t),this},O.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},O.prototype.align=function(t,e,i){var o,s,r,n={},a=(l=this.renderer).alignedObjects,h=(t?(this.alignOptions=t,this.alignByTranslate=e,i&&!C(i)||(this.alignTo=o=i||"renderer",f(a,this),a.push(this),i=void 0)):(t=this.alignOptions,e=this.alignByTranslate,o=this.alignTo),i=T(i,l[o],"scrollablePlotBox"===o?l.plotBox:void 0,l),o=t.align,t.verticalAlign),l=(i.x||0)+(t.x||0),a=(i.y||0)+(t.y||0);return"right"===o?s=1:"center"===o&&(s=2),s&&(l+=(i.width-(t.width||0))/s),n[e?"translateX":"x"]=Math.round(l),"bottom"===h?r=1:"middle"===h&&(r=2),r&&(a+=(i.height-(t.height||0))/r),n[e?"translateY":"y"]=Math.round(a),this[this.placed?"animate":"attr"](n),this.placed=!0,this.alignAttr=n,this},O.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},O.prototype.animate=function(t,e,i){var o=this,s=a(T(e,this.renderer.globalAnimation,!0));return e=s.defer,T(h.hidden,h.msHidden,h.webkitHidden,!1)&&(s.duration=0),0!==s.duration?(i&&(s.complete=i),P(function(){o.element&&n(o,t,s)},e)):(this.attr(t,void 0,i||s.complete),w(t,function(t,e){s.step&&s.step.call(this,t,{prop:e,pos:1,elem:this})},this)),this},O.prototype.applyTextOutline=function(t){var i,e,o=this.element,s=(t=-1!==t.indexOf("contrast")?t.replace(/contrast/g,this.renderer.getContrast(o.style.fill)):t).split(" ");t=s[s.length-1],(s=s[0])&&"none"!==s&&r.svg&&(this.fakeTS=!0,this.ySetter=this.xSetter,s=s.replace(/(^[\d\.]+)(.*?)$/g,function(t,e,i){return 2*Number(e)+i}),this.removeTextOutline(),i=h.createElementNS(d,"tspan"),u(i,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":s,"stroke-linejoin":"round"}),t=o.querySelector("textPath")||o,[].forEach.call(t.childNodes,function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(t){return e.removeAttribute(t)}),i.appendChild(e)}),e=0,[].forEach.call(t.querySelectorAll("text tspan"),function(t){e+=Number(t.getAttribute("dy"))}),(s=h.createElementNS(d,"tspan")).textContent="​",u(s,{x:Number(o.getAttribute("x")),dy:-e}),i.appendChild(s),t.insertBefore(i,t.firstChild))},O.prototype.attr=function(i,t,e,o){var s,r,n,a=this.element,h=this.symbolCustomAttribs,l=this;return"string"==typeof i&&void 0!==t&&(n=i,(i={})[n]=t),"string"==typeof i?l=(this[i+"Getter"]||this._defaultGetter).call(this,i,a):(w(i,function(t,e){r=!1,o||c(this,e),this.symbolName&&-1!==h.indexOf(e)&&(s||(this.symbolAttr(i),s=!0),r=!0),!this.rotation||"x"!==e&&"y"!==e||(this.doTransform=!0),r||((r=this[e+"Setter"]||this._defaultSetter).call(this,t,e,a),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(e)&&this.updateShadows(e,t,r))},this),this.afterSetters()),e&&e.call(this),l},O.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},O.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var i=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+i,t.y=Math.floor(t.y||this.y||0)+i,t.width=Math.floor((t.width||this.width||0)-2*i),t.height=Math.floor((t.height||this.height||0)-2*i),x(t.strokeWidth)&&(t.strokeWidth=e),t},O.prototype.complexColor=function(t,i,o){var s,r,n,a,h,l,c,d,p,u,f=this.renderer,g=[];b(this.renderer,"complexColor",{args:arguments},function(){var e;t.radialGradient?s="radialGradient":t.linearGradient&&(s="linearGradient"),s&&(r=t[s],a=f.gradients,h=t.stops,d=o.radialReference,S(r)&&(t[s]=r={x1:r[0],y1:r[1],x2:r[2],y2:r[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===s&&d&&!x(r.gradientUnits)&&(r=M(n=r,f.getRadialAttr(d,n),{gradientUnits:"userSpaceOnUse"})),w(r,function(t,e){"id"!==e&&g.push(e,t)}),w(h,function(t){g.push(t)}),g=g.join(","),a[g]?p=a[g].attr("id"):(r.id=p=L(),(e=a[g]=f.createElement(s).attr(r).add(f.defs)).radAttr=n,e.stops=[],h.forEach(function(t){c=0===t[1].indexOf("rgba")?(c=m.parse(t[1]),l=c.get("rgb"),c.get("a")):(l=t[1],1),t=f.createElement("stop").attr({offset:t[0],"stop-color":l,"stop-opacity":c}).add(e),e.stops.push(t)})),u="url("+f.url+"#"+p+")",o.setAttribute(i,u),o.gradient=g,t.toString=function(){return u})})},O.prototype.css=function(t){var e,i,o=this.styles,s={},r=this.element,n=!o;return t.color&&(t.fill=t.color),o&&w(t,function(t,e){o&&o[e]!==t&&(s[e]=t,n=!0)}),n&&(null===(t=o?v(o,s):t).width||"auto"===t.width?delete this.textWidth:"text"===r.nodeName.toLowerCase()&&t.width&&(e=this.textWidth=A(t.width)),this.styles=t,e&&!l&&this.renderer.forExport&&delete t.width,i=M(t),r.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach(function(t){return i&&delete i[t]}),y(r,i),this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline))),this},O.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var i=t.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(t=i.length;t--;)i[t]=""+A(i[t])*T(e,NaN);t=i.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},O.prototype.destroy=function(){var e,i=this,t=i.element||{},o=i.renderer,s=t.ownerSVGElement,r=o.isSVG&&"SPAN"===t.nodeName&&i.parentGroup||void 0;if(t.onclick=t.onmouseout=t.onmouseover=t.onmousemove=t.point=null,c(i),i.clipPath&&s&&(e=i.clipPath,[].forEach.call(s.querySelectorAll("[clip-path],[CLIP-PATH]"),function(t){-1]*>/g,"").replace(/</g,"<").replace(/>/g,">")},O.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},O.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},O.prototype.updateShadows=function(t,e,i){var o=this.shadows;if(o)for(var s=o.length;s--;)i.call(o[s],"height"===t?Math.max(e-(o[s].cutHeight||0),0):"d"===t?this.d:e,t,o[s])},O.prototype.updateTransform=function(){var t=this.scaleX,e=this.scaleY,i=this.inverted,o=this.rotation,s=this.matrix,r=this.element,n=this.translateX||0,a=this.translateY||0;i&&(n+=this.width,a+=this.height),n=["translate("+n+","+a+")"],x(s)&&n.push("matrix("+s.join(",")+")"),i?n.push("rotate(90) scale(-1,1)"):o&&n.push("rotate("+o+" "+T(this.rotationOriginX,r.getAttribute("x"),0)+" "+T(this.rotationOriginY,r.getAttribute("y")||0)+")"),(x(t)||x(e))&&n.push("scale("+T(t,1)+" "+T(e,1)+")"),n.length&&!(this.text||this).textPath&&r.setAttribute("transform",n.join(" "))},O.prototype.visibilitySetter=function(t,e,i){"inherit"===t?i.removeAttribute(e):this[e]!==t&&i.setAttribute(e,t),this[e]=t},O.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},O.prototype.zIndexSetter=function(t,e){var i,o=this.renderer,s=((h=this.parentGroup)||o).element||o.box,r=this.element,o=s===o.box,n=!1,a=this.added;if(x(t)?(r.setAttribute("data-z-index",t),this[e]===(t=+t)&&(a=!1)):x(this[e])&&r.removeAttribute("data-z-index"),this[e]=t,a){for((t=this.zIndex)&&h&&(h.handleZ=!0),i=(e=s.childNodes).length-1;0<=i&&!n;i--){var h,a=(h=e[i]).getAttribute("data-z-index"),l=!x(a);h!==r&&(t<0&&l&&!o&&!i?(s.insertBefore(r,e[i]),n=!0):(A(a)<=t||l&&(!x(t)||0<=t))&&(s.insertBefore(r,e[i+1]||null),n=!0))}n||(s.insertBefore(r,e[o?3:0]||null),n=!0)}return n},(t=O).prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t}),t(e,"Core/Renderer/RendererRegistry.js",[e["Core/Globals.js"]],function(o){var t,s,r;return(s=t=t||{}).rendererTypes={},s.getRendererType=function(t){return void 0===t&&(t=r),s.rendererTypes[t]||s.rendererTypes[r]},s.registerRendererType=function(t,e,i){s.rendererTypes[t]=e,r&&!i||(r=t,o.Renderer=e)},t}),t(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(o,t){var s,p,e=this&&this.__extends||(s=function(t,e){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=t.defined,n=t.extend,a=t.isNumber,h=t.merge,l=t.pick,i=t.removeEvent;return e(u,p=o),u.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&a(this.xSetting)&&this.attr({x:this.xSetting}))},u.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},u.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},u.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},u.prototype.css=function(e){var i,t;return e&&(i={},e=h(e),u.textProps.forEach(function(t){void 0!==e[t]&&(i[t]=e[t],delete e[t])}),this.text.css(i),t="width"in i,"fontSize"in i||"fontWeight"in i?this.updateTextPadding():t&&this.updateBoxSize()),o.prototype.css.call(this,e)},u.prototype.destroy=function(){i(this.element,"mouseenter"),i(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),o.prototype.destroy.call(this)},u.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},u.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=l(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},u.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},u.prototype.heightSetter=function(t){this.heightSetting=t},u.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:r(t)?t:"",x:this.x,y:this.y}),this.box&&r(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},u.prototype.paddingSetter=function(t,e){a(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},u.prototype.rSetter=function(t,e){this.boxAttr(e,t)},u.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},u.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},u.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},u.prototype["text-alignSetter"]=function(t){this.textAlign=t},u.prototype.textSetter=function(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding()},u.prototype.updateBoxSize=function(){var t=this.text,e=t.element.style,i={},o=this.padding,s=this.bBox=a(this.widthSetting)&&a(this.heightSetting)&&!this.textAlign||!r(t.textStr)?u.emptyBBox:t.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||s.height||0)+2*o,e=this.renderer.fontMetrics(e&&e.fontSize,t),this.baselineOffset=o+Math.min((this.text.firstLineMetrics||e).b,s.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-e.h)/2),this.needsBox&&!t.textPath&&(this.box||((t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this)),t=this.getCrispAdjust(),i.x=t,i.y=(this.baseline?-this.baselineOffset:0)+t,i.width=Math.round(this.width),i.height=Math.round(this.height),this.box.attr(n(i,this.deferredAttr)),this.deferredAttr={})},u.prototype.updateTextPadding=function(){var t,e,i=this.text;i.textPath||(this.updateBoxSize(),t=this.baseline?0:this.baselineOffset,e=l(this.paddingLeft,this.padding),r(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(e+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),e===i.x&&t===i.y||(i.attr("x",e),i.hasBoxWidthChanged&&(this.bBox=i.getBBox(!0)),void 0!==t&&i.attr("y",t)),i.x=e,i.y=t)},u.prototype.widthSetter=function(t){this.widthSetting=a(t)?t:void 0},u.prototype.getPaddedWidth=function(){var t=this.padding,e=l(this.paddingLeft,t),t=l(this.paddingRight,t);return(this.widthSetting||this.bBox.width||0)+e+t},u.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},u.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},u.emptyBBox={width:0,height:0,x:0,y:0},u.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),u;function u(t,e,i,o,s,r,n,a,h,l){var c,d=p.call(this)||this;return d.paddingLeftSetter=d.paddingSetter,d.paddingRightSetter=d.paddingSetter,d.init(t,"g"),d.textStr=e,d.x=i,d.y=o,d.anchorX=r,d.anchorY=n,d.baseline=h,d.className=l,d.addClass("button"===l?"highcharts-no-tooltip":"highcharts-label"),l&&d.addClass("highcharts-"+l),d.text=t.text(void 0,0,0,a).attr({zIndex:1}),"string"==typeof s&&((c=/^url\((.*?)\)$/.test(s))||d.renderer.symbols[s])&&(d.symbolKey=s),d.bBox=u.emptyBBox,d.padding=3,d.baselineOffset=0,d.needsBox=t.styledMode||c,d.deferredAttr={},d.alignFactor=0,d}}),t(e,"Core/Renderer/SVG/Symbols.js",[e["Core/Utilities.js"]],function(t){function s(t,e,i,o,s){var r,n,a,h,l,c,d,p,u=[];return s&&(p=s.start||0,r=g(s.r,i),i=g(s.r,o||i),n=(s.end||0)-.001,o=s.innerR,a=g(s.open,Math.abs((s.end||0)-p-2*Math.PI)<.001),h=Math.cos(p),l=Math.sin(p),c=Math.cos(n),d=Math.sin(n),p=g(s.longArc,n-p-Math.PI<.001?0:1),u.push(["M",t+r*h,e+i*l],["A",r,i,0,p,g(s.clockwise,1),t+r*c,e+i*d]),f(o)&&u.push(a?["M",t+o*c,e+o*d]:["L",t+o*c,e+o*d],["A",o,o,0,p,f(s.clockwise)?1-s.clockwise:0,t+o*h,e+o*l]),a||u.push(["Z"])),u}function e(t,e,i,o,s){return s&&s.r?l(t,e,i,o,s):[["M",t,e],["L",t+i,e],["L",t+i,e+o],["L",t,e+o],["Z"]]}function l(t,e,i,o,s){return[["M",t+(s=s&&s.r||0),e],["L",t+i-s,e],["C",t+i,e,t+i,e,t+i,e+s],["L",t+i,e+o-s],["C",t+i,e+o,t+i,e+o,t+i-s,e+o],["L",t+s,e+o],["C",t,e+o,t,e+o,t,e+o-s],["L",t,e+s],["C",t,e,t,e,t+s,e]]}var f=t.defined,c=t.isNumber,g=t.pick;return{arc:s,callout:function(t,e,i,o,s){var r=Math.min(s&&s.r||0,i,o),n=r+6,a=s&&s.anchorX,h=(s=s&&s.anchorY||0,l(t,e,i,o,{r:r}));return c(a)&&(i<=t+a?e+n/g.test(o))?""!==o&&(i&&i.appendChild(e),o=new a(o),this.modifyTree(o.nodes),o.addToDOM(e),this.modifyDOM(),this.ellipsis&&-1!==(e.textContent||"").indexOf("…")&&t.attr("title",this.unescapeEntities(t.textStr||"",["<",">"])),i&&i.removeChild(e)):e.appendChild(p.createTextNode(this.unescapeEntities(o))),h(this.textOutline)&&t.applyTextOutline&&t.applyTextOutline(this.textOutline)}},o.prototype.modifyDOM=function(){var t,h=this,l=this.svgElement,c=f(l.element,"x");for(l.firstLineMetrics=void 0;(t=l.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)l.element.removeChild(t);[].forEach.call(l.element.querySelectorAll("tspan.highcharts-br"),function(t,e){t.nextSibling&&t.previousSibling&&(0===e&&1===t.previousSibling.nodeType&&(l.firstLineMetrics=l.renderer.fontMetrics(void 0,t.previousSibling)),f(t,{dy:h.getLineHeight(t.nextSibling),x:c}))});var i,o,d=this.width||0;d&&(i=function(e,i){var t=e.textContent||"",o=t.replace(/([^\^])-/g,"$1- ").split(" "),s=!h.noWrap&&(1]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20");return""},R.prototype.getStyle=function(t){return this.style=T({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},R.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},R.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},R.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),w(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},R.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},R.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},R.prototype.buildText=function(t){new r(t).buildSVG()},R.prototype.getContrast=function(t){return((t=.2126*(t=e.parse(t).rgba.map(function(t){return(t/=255)<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}))[0]+.7152*t[1]+.0722*t[2])+.05)/.05<1.05/(t+.05)?"#FFFFFF":"#000000"},R.prototype.button=function(t,e,i,o,s,r,n,a,h,l){void 0===s&&(s={});var c,d,p,u=this.label(t,e,i,h,void 0,void 0,l,void 0,"button"),f=this.styledMode,g=(t=s.states||{},0),m=(delete(s=E(s)).states,E({color:"#333333",cursor:"pointer",fontWeight:"normal"},s.style)),y=(delete s.style,x.filterUserAttributes(s));return u.attr(E({padding:8,r:2},y)),f||(y=E({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},y),c=(r=E(y,{fill:"#e6e6e6"},x.filterUserAttributes(r||t.hover||{}))).style,delete r.style,d=(n=E(y,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},x.filterUserAttributes(n||t.select||{}))).style,delete n.style,p=(a=E(y,{style:{color:"#cccccc"}},x.filterUserAttributes(a||t.disabled||{}))).style,delete a.style),b(u.element,v?"mouseover":"mouseenter",function(){3!==g&&u.setState(1)}),b(u.element,v?"mouseout":"mouseleave",function(){3!==g&&u.setState(g)}),u.setState=function(t){1!==t&&(u.state=g=t),u.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),f||(u.attr([y,r,n,a][t||0]),L(t=[m,c,d,p][t||0])&&u.css(t))},f||u.attr(y).css(T({cursor:"default"},m)),u.on("touchstart",function(t){return t.stopPropagation()}).on("click",function(t){3!==g&&o.call(u,t)})},R.prototype.crispLine=function(t,e,i){void 0===i&&(i="round");var o=t[0],s=t[1];return M(o[1])&&o[1]===s[1]&&(o[1]=s[1]=Math[i](o[1])-e%2/2),M(o[2])&&o[2]===s[2]&&(o[2]=s[2]=Math[i](o[2])+e%2/2),t},R.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return A(t)?e.d=t:L(t)&&T(e,t),this.createElement("path").attr(e)},R.prototype.circle=function(t,e,i){return t=L(t)?t:void 0===t?{}:{x:t,y:e,r:i},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,i){i.setAttribute("c"+e,t)},e.attr(t)},R.prototype.arc=function(t,e,i,o,s,r){return L(t)?(e=(o=t).y,i=o.r,t=o.x):o={innerR:o,start:s,end:r},(t=this.symbol("arc",t,e,i,i,o)).r=i,t},R.prototype.rect=function(t,e,i,o,s,r){s=L(t)?t.r:s;var n=this.createElement("rect");return t=L(t)?t:void 0===t?{}:{x:t,y:e,width:Math.max(i,0),height:Math.max(o,0)},this.styledMode||(void 0!==r&&(t["stroke-width"]=r,t=n.crisp(t)),t.fill="none"),s&&(t.r=s),n.rSetter=function(t,e,i){n.r=t,S(i,{rx:t,ry:t})},n.rGetter=function(){return n.r||0},n.attr(t)},R.prototype.setSize=function(t,e,i){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:D(i,!0)?void 0:0}),this.alignElements()},R.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},R.prototype.image=function(e,t,i,o,s,r){var n={preserveAspectRatio:"none"},a=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)},h=(P(t)&&(n.x=t),P(i)&&(n.y=i),P(o)&&(n.width=o),P(s)&&(n.height=s),this.createElement("image").attr(n));return t=function(t){a(h.element,e),r.call(h,t)},r?(a(h.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),i=new f.Image,b(i,"load",t),i.src=e,i.complete&&t({})):a(h.element,e),h},R.prototype.symbol=function(t,e,i,o,s,r){var n,a,h,l,c=this,d=/^url\((.*?)\)$/,p=d.test(t),u=!p&&(this.symbols[t]?t:"circle"),f=u&&this.symbols[u];return f?("number"==typeof e&&(n=f.call(this.symbols,Math.round(e||0),Math.round(i||0),o||0,s||0,r)),n=this.path(n),c.styledMode||n.attr("fill","none"),T(n,{symbolName:u||void 0,x:e,y:i,width:o,height:s}),r&&T(n,r)):p&&(a=t.match(d)[1],(h=n=this.image(a)).imgwidth=D(y[a]&&y[a].width,r&&r.width),h.imgheight=D(y[a]&&y[a].height,r&&r.height),l=function(t){return t.attr({width:t.width,height:t.height})},["width","height"].forEach(function(t){h[t+"Setter"]=function(t,e){var i=this["img"+e];this[e]=t,M(i)&&(r&&"within"===r.backgroundSize&&this.width&&this.height&&(i=Math.round(i*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(e,i),this.alignByTranslate||(t=((this[e]||0)-i)/2,this.attr("width"===e?{translateX:t}:{translateY:t})))}}),M(e)&&h.attr({x:e,y:i}),h.isImg=!0,M(h.imgwidth)&&M(h.imgheight)?l(h):(h.attr({width:0,height:0}),k("img",{onload:function(){var t=g[c.chartIndex];0===this.width&&(C(this,{position:"absolute",top:"-999em"}),m.body.appendChild(this)),y[a]={width:this.width,height:this.height},h.imgwidth=this.width,h.imgheight=this.height,h.element&&l(h),this.parentNode&&this.parentNode.removeChild(this),c.imgCount--,c.imgCount||!t||t.hasLoaded||t.onload()},src:a}),this.imgCount++)),n},R.prototype.clipRect=function(t,e,i,o){var s=I()+"-",r=this.createElement("clipPath").attr({id:s}).add(this.defs);return(t=this.rect(t,e,i,o,0).add(r)).id=s,t.clipPath=r,t.count=0,t},R.prototype.text=function(t,e,i,o){var s={};return!o||!this.allowHTML&&this.forExport?(s.x=Math.round(e||0),i&&(s.y=Math.round(i)),M(t)&&(s.text=t),t=this.createElement("text").attr(s),o&&(!this.forExport||this.allowHTML)||(t.xSetter=function(t,e,i){for(var o,s=i.getElementsByTagName("tspan"),r=i.getAttribute(e),n=0;n":">","'":"'",'"':"""},symbols:s,draw:p}),i.registerRendererType("svg",t,!0),t}),t(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,e,i){var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),n=t.isFirefox,a=t.isMS,h=t.isWebKit,l=t.win,f=i.css,g=i.defined,c=i.extend,d=i.pick,m=i.pInt;return r(p,s=e),p.compose=function(t){var e,i;return-1===p.composedClasses.indexOf(t)&&(p.composedClasses.push(t),(i=t.prototype).getSpanCorrection=(e=p.prototype).getSpanCorrection,i.htmlCss=e.htmlCss,i.htmlGetBBox=e.htmlGetBBox,i.htmlUpdateTransform=e.htmlUpdateTransform,i.setSpanRotation=e.setSpanRotation),t},p.prototype.getSpanCorrection=function(t,e,i){this.xCorr=-t*i,this.yCorr=-e},p.prototype.htmlCss=function(t){var e,i="SPAN"===this.element.tagName&&t&&"width"in t,o=d(i&&t.width,void 0);return i&&(delete t.width,this.textWidth=o,e=!0),t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=c(this.styles,t),f(this.element,t),e&&this.htmlUpdateTransform(),this},p.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},p.prototype.htmlUpdateTransform=function(){var e,i,o,s,t,r,n,a,h,l,c,d,p,u;this.added?(e=this.renderer,i=this.element,o=this.translateX||0,s=this.translateY||0,t=this.x||0,r=this.y||0,a={left:0,center:.5,right:1}[n=this.textAlign||"left"],u=(u=this.styles)&&u.whiteSpace,f(i,{marginLeft:o,marginTop:s}),!e.styledMode&&this.shadows&&this.shadows.forEach(function(t){f(t,{marginLeft:o+1,marginTop:s+1})}),this.inverted&&[].forEach.call(i.childNodes,function(t){e.invertChild(t,i)}),"SPAN"===i.tagName&&(h=this.rotation,l=this.textWidth&&m(this.textWidth),c=[h,n,i.innerHTML,this.textWidth,this.textAlign].join(),p=!1,l!==this.oldTextWidth&&(d=this.textPxLength||(f(i,{width:"",whiteSpace:u||"nowrap"}),i.offsetWidth),(l>this.oldTextWidth||l=this.minRange,n=[l-(n=((r=this.minRange)-c+l)/2),L(a.min,l-n)],t&&(n[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),c=[(l=p(n))+r,L(a.max,l+r)],t&&(c[2]=h?h.log2lin(this.dataMax):this.dataMax),(c=f(c))-l=g?(e=g,u=0):this.dataMax<=g&&(i=g,p=0)),this.min=L(m,e,this.dataMin),this.max=L(y,i,this.dataMax)),r&&(this.positiveValuesOnly&&!t&&Math.min(this.min,L(this.dataMin,this.min))<=0&&w(10,1,s),this.min=C(r.log2lin(this.min),16),this.max=C(r.log2lin(this.max),16)),this.range&&M(this.max)&&(this.userMin=this.min=m=Math.max(this.dataMin,this.minFromRange()),this.userMax=y=this.max,this.range=null),T(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(c||this.axisPointRange||this.stacking&&this.stacking.usePercentage||h)&&M(this.min)&&M(this.max)&&(s=this.max-this.min)&&(!M(m)&&u&&(this.min-=s*u),!M(y)&&p&&(this.max+=s*p)),A(this.userMin)||(A(n.softMin)&&n.softMinthis.max&&(this.max=y=n.softMax),A(n.ceiling)&&(this.max=Math.min(this.max,n.ceiling))),d&&M(this.dataMin)&&(g=g||0,!M(m)&&this.min=g?this.min=this.options.minRange?Math.min(g,this.max-this.minRange):g:!M(y)&&this.max>g&&this.dataMax<=g&&(this.max=this.options.minRange?Math.max(g,this.min+this.minRange):g)),A(this.min)&&A(this.max)&&!this.chart.polar&&this.min>this.max&&(M(this.options.min)?this.max=this.min:M(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||void 0===this.min||void 0===this.max?1:h&&this.linkedParent&&!f&&l===this.linkedParent.options.tickPixelInterval?f=this.linkedParent.tickInterval:L(f,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,c?1:(this.max-this.min)*l/Math.max(this.len,l)),a&&!t&&(o=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max),this.series.forEach(function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(o)}),T(this,"postProcessData",{hasExtemesChanged:o})),this.setAxisTranslation(),T(this,"initialAxisTranslation"),this.pointRange&&!f&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=L(n.minTickInterval,this.dateTime&&!this.series.some(function(t){return t.noSharedTooltip})?this.closestPointRange:0),!f&&this.tickIntervalMath.max(2*this.len,200)))if(this.dateTime)i=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0);else if(this.logarithmic)i=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(var n=t=this.tickInterval;n<=2*t&&(i=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&i.length>this.tickAmount);)this.tickInterval=x(this,n*=1.1);else i=[this.min,this.max],w(19,!1,this.chart);i.length>this.len&&((i=[i[0],i.pop()])[0]===i[1]&&(i.length=1)),this.tickPositions=i,(r=r&&r.apply(this,[this.min,this.max]))&&(this.tickPositions=i=r)}this.paddedTicks=i.slice(0),this.trimTicks(i,s,o),this.isLinked||(this.single&&i.length<2&&!this.categories&&!this.series.some(function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement})&&(this.min-=.5,this.max+=.5),e||r||this.adjustTickAmount()),T(this,"afterSetTickPositions")},I.prototype.trimTicks=function(t,e,i){var o=t[0],s=t[t.length-1],r=!this.isOrdinal&&this.minPointOffset||0;if(T(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==o)this.min=o;else for(;this.min-r>t[0];)t.shift();if(i)this.max=s;else for(;this.max+rs||n[n.length-1]e.threshold?n.unshift(C(n[0]-d)):n.push(C(n[n.length-1]+d));if(d>8*e.tickInterval)break;d*=2}h()}else if(lp&&(p=t.label.textPxLength)}),this.maxLabelLength=p,this.autoRotation)hc.h?l.rotation=this.labelRotation:this.labelRotation=0;else if(a){var u=h;if(!d)for(var f="clip",h=i.length;!n&&h--;){var g=i[h];(g=s[g].label)&&(g.styles&&"ellipsis"===g.styles.textOverflow?g.css({textOverflow:"clip"}):g.textPxLength>a&&g.css({width:a+"px"}),g.getBBox().height>this.len/i.length-(c.h-c.f)&&(g.specificTextOverflow="ellipsis"))}}l.rotation&&(u=p>.5*t.chartHeight?.33*t.chartHeight:p,d||(f="ellipsis")),(this.labelAlign=o.align||this.autoLabelAlign(this.labelRotation))&&(l.align=this.labelAlign),i.forEach(function(t){var e=(t=s[t])&&t.label,i=r.width,o={};e&&(e.attr(l),t.shortenLabel?t.shortenLabel():u&&!i&&"nowrap"!==r.whiteSpace&&(u=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(o[t]||(o[t]=new b(this,t)),i&&o[t].isNew&&o[t].render(e,!0,-1),o[t].render(e))},I.prototype.render=function(){var i,o,s,r=this,n=r.chart,a=r.logarithmic,t=r.options,e=r.isLinked,h=r.tickPositions,l=r.axisTitle,c=r.ticks,d=r.minorTicks,p=r.alternateBands,u=t.stackLabels,f=t.alternateGridColor,g=r.tickmarkOffset,m=r.axisLine,y=r.showAxis,x=S(n.renderer.globalAnimation);r.labelEdge.length=0,r.overlap=!1,[c,d,p].forEach(function(t){P(t,function(t){t.isActive=!1})}),(r.hasData()||e)&&(s=r.chart.hasRendered&&r.old&&A(r.old.min),r.minorTickInterval&&!r.categories&&r.getMinorTickPositions().forEach(function(t){r.renderMinorTick(t,s)}),h.length&&(h.forEach(function(t,e){r.renderTick(t,e,s)}),g&&(0===r.min||r.single)&&(c[-1]||(c[-1]=new b(r,-1,null,!0)),c[-1].render(-1))),f&&h.forEach(function(t,e){o=void 0!==h[e+1]?h[e+1]+g:r.max-g,0==e%2&&tthis.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:i.acrossPanes}),i=1,t&&s)for(e&&(o=t.toString()===s.toString(),i=0),e=0;ee})&&(t=t.map(function(t){var e=u(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return j(t,{target:e.y,x:e.x})})),g.cleanSplit(),E(t,P),c),L=c;t.forEach(function(t){var e=t.x,i=t.boxWidth;(t=t.isHeader)||(g.outside&&c+e=o.value;)o=t[++i];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=o&&o.color&&!this.options.color?o.color:this.nonZonedColor,o},M.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},M.prototype.init=function(t,e,i){return this.series=t,this.applyOptions(e,i),this.id=r(this.id)?this.id:C(),this.resolveColor(),t.chart.pointCount++,b(this,"afterInit"),this},M.prototype.optionsToObject=function(t){var e=this.series,i=e.options.keys,o=i||e.pointArrayMap||["y"],s=o.length,r={},n=0,a=0;if(S(t)||null===t)r[o[0]]=t;else if(c(t))for(!i&&t.length>s&&("string"===(e=typeof t[0])?r.name=t[0]:"number"===e&&(r.x=t[0]),n++);at.series.index?-1:1)),o&&(n=t)}),n)},S.prototype.getChartCoordinatesFromPoint=function(t,e){var i,o,s=(r=t.series).xAxis,r=r.yAxis,n=t.shapeArgs;return s&&r?(i=b(t.clientX,t.plotX),o=t.plotY||0,t.isNode&&n&&x(n.x)&&x(n.y)&&(i=n.x,o=n.y),e?{chartX:r.len+r.pos-o,chartY:s.len+s.pos-i}:{chartX:i+s.pos,chartY:o+r.pos}):n&&n.x&&n.y?{chartX:n.x,chartY:n.y}:void 0},S.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=n(t),i=(this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1},t.offsetWidth),t=t.offsetHeight;return 2x.max&&(i=x.max-h,c=!0),c?(C-=.8*(C-n[p][0]),"number"==typeof M&&(M-=.8*(M-n[p][1])),e()):n[p]=[C,M],y||(r[p]=l-m,r[g]=h),r=y?1/k:k,s[g]=h,s[p]=i,o[y?t?"scaleY":"scaleX":"scale"+u]=k,o["translate"+u]=r*m+(C-r*b)},S.prototype.reset=function(e,t){var i=this.chart,o=i.hoverSeries,s=i.hoverPoint,r=i.hoverPoints,n=i.tooltip,a=n&&n.shared?r:s;e&&a&&h(a).forEach(function(t){t.series.isCartesian&&void 0===t.plotX&&(e=!1)}),e?n&&a&&h(a).length&&(n.refresh(a),n.shared&&r?r.forEach(function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))}):s&&(s.setState(s.state,!0),i.axes.forEach(function(t){t.crosshair&&s.series[t.coll]===t&&t.drawCrosshair(null,s)}))):(s&&s.onMouseOut(),r&&r.forEach(function(t){t.setState()}),o&&o.onMouseOut(),n&&n.hide(t),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach(function(t){t.hideCrosshair()}),this.hoverX=i.hoverPoints=i.hoverPoint=null)},S.prototype.runPointActions=function(o,t){var s=this.chart,e=s.tooltip&&s.tooltip.options.enabled?s.tooltip:void 0,i=!!e&&e.shared,r=t||s.hoverPoint,n=r&&r.series||s.hoverSeries,a=(t=this.getHoverData(r,n,s.series,(!o||"touchmove"!==o.type)&&(!!t||n&&n.directTouch&&this.isDirectTouch),i,o),r=t.hoverPoint,n=t.hoverSeries,t.hoverPoints),h=(t=n&&n.tooltipOptions.followPointer&&!n.tooltipOptions.split,i&&n&&!n.noSharedTooltip);if(r&&(r!==s.hoverPoint||e&&e.isHidden)){if((s.hoverPoints||[]).forEach(function(t){-1===a.indexOf(t)&&t.setState()}),s.hoverSeries!==n&&n.onMouseOver(),this.applyInactiveState(a),(a||[]).forEach(function(t){t.setState("hover")}),s.hoverPoint&&s.hoverPoint.firePointEvent("mouseOut"),!r.series)return;s.hoverPoints=a,(s.hoverPoint=r).firePointEvent("mouseOver",void 0,function(){e&&r&&e.refresh(h?a:r,o)})}else t&&e&&!e.isHidden&&(i=e.getAnchor([{}],o),s.isInsidePlot(i[0],i[1],{visiblePlotOnly:!0})&&e.updatePosition({plotX:i[0],plotY:i[1]}));this.unDocMouseMove||(this.unDocMouseMove=c(s.container.ownerDocument,"mousemove",function(t){var e=l[S.hoverChartIndex];e&&e.pointer.onDocumentMouseMove(t)}),this.eventsToUnbind.push(this.unDocMouseMove)),s.axes.forEach(function(e){var t,i=b((e.crosshair||{}).snap,!0);(t=!i||(t=s.hoverPoint)&&t.series[e.coll]===e?t:d(a,function(t){return t.series&&t.series[e.coll]===e}))||!i?e.drawCrosshair(o,t):e.hideCrosshair()})},S.prototype.scaleGroups=function(i,o){var s=this.chart;s.series.forEach(function(t){var e=i||t.getPlotBox();t.group&&(t.xAxis&&t.xAxis.zoomEnabled||s.mapView)&&(t.group.attr(e),t.markerGroup&&(t.markerGroup.attr(e),t.markerGroup.clip(o?s.clipRect:null)),t.dataLabelsGroup&&t.dataLabelsGroup.attr(e))}),s.clipRect.attr(o||s.clipBox)},S.prototype.setDOMEvents=function(){var t=this,e=this.chart.container,i=e.ownerDocument;e.onmousedown=this.onContainerMouseDown.bind(this),e.onmousemove=this.onContainerMouseMove.bind(this),e.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(c(e,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(c(e,"mouseleave",this.onContainerMouseLeave.bind(this))),S.unbindDocumentMouseUp||(S.unbindDocumentMouseUp=c(i,"mouseup",this.onDocumentMouseUp.bind(this)));for(var o=this.chart.renderTo.parentElement;o&&"BODY"!==o.tagName;)this.eventsToUnbind.push(c(o,"scroll",function(){delete t.chartPosition})),o=o.parentElement;s.hasTouch&&(this.eventsToUnbind.push(c(e,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(c(e,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),S.unbindDocumentTouchEnd||(S.unbindDocumentTouchEnd=c(i,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},S.prototype.setHoverChartIndex=function(){var t=this.chart,e=s.charts[b(S.hoverChartIndex,-1)];e&&e!==t&&e.pointer.onContainerMouseLeave({relatedTarget:t.container}),e&&e.mouseIsDown||(S.hoverChartIndex=t.index)},S.prototype.touch=function(t,e){var i,o=this.chart;this.setHoverChartIndex(),1===t.touches.length?(t=this.normalize(t),o.isInsidePlot(t.chartX-o.plotLeft,t.chartY-o.plotTop,{visiblePlotOnly:!0})&&!o.openMenu?(e&&this.runPointActions(t),"touchmove"===t.type&&(i=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2))),b(i,!0)&&this.pinch(t)):e&&this.reset()):2===t.touches.length&&this.pinch(t)},S.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zooming.singleTouch||!t.touches||1!==t.touches.length)},S.prototype.zoomOption=function(t){var e=(i=this.chart).options.chart,i=i.inverted,o=e.zooming.type||"";/touch/.test(t.type)&&(o=b(e.zooming.pinchType,o)),this.zoomX=t=/x/.test(o),this.zoomY=e=/y/.test(o),this.zoomHor=t&&!i||e&&i,this.zoomVert=e&&!i||t&&i,this.hasZoom=t||e},t=S}),t(e,"Core/MSPointer.js",[e["Core/Globals.js"],e["Core/Pointer.js"],e["Core/Utilities.js"]],function(t,n,e){function i(t,e,i,o){var s,r=a[n.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!r||(r=r.pointer,o(t),r[e]({type:i,target:t.currentTarget,preventDefault:l,touches:((s=[]).item=function(t){return this[t]},u(g,function(t){s.push({pageX:t.pageX,pageY:t.pageY,target:t.target})}),s)}))}var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),a=t.charts,h=t.doc,l=t.noop,c=t.win,d=e.addEvent,p=e.css,u=e.objectEach,f=e.removeEvent,g={},m=!!c.PointerEvent;return r(y,s=n),y.isRequired=function(){return!(t.hasTouch||!c.PointerEvent&&!c.MSPointerEvent)},y.prototype.batchMSEvents=function(t){t(this.chart.container,m?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,m?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(h,m?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},y.prototype.destroy=function(){this.batchMSEvents(f),s.prototype.destroy.call(this)},y.prototype.init=function(t,e){s.prototype.init.call(this,t,e),this.hasZoom&&p(t.container,{"-ms-touch-action":"none","touch-action":"none"})},y.prototype.onContainerPointerDown=function(t){i(t,"onContainerTouchStart","touchstart",function(t){g[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}})},y.prototype.onContainerPointerMove=function(t){i(t,"onContainerTouchMove","touchmove",function(t){g[t.pointerId]={pageX:t.pageX,pageY:t.pageY},g[t.pointerId].target||(g[t.pointerId].target=t.currentTarget)})},y.prototype.onDocumentPointerUp=function(t){i(t,"onDocumentTouchEnd","touchend",function(t){delete g[t.pointerId]})},y.prototype.setDOMEvents=function(){s.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(d)},y;function y(){return null!==s&&s.apply(this,arguments)||this}}),t(e,"Core/Legend/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Series/Point.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Utilities.js"]],function(t,e,i,l,o,s){var d=t.animObject,p=t.setAnimation,r=e.format,a=(t=i.isFirefox,i.marginNames),h=(i=i.win,o.distribute),n=s.addEvent,c=s.createElement,u=s.css,f=s.defined,g=s.discardElement,m=s.find,y=s.fireEvent,x=s.isNumber,v=s.merge,b=s.pick,S=s.relativeLength,k=s.stableSort,C=s.syncTimeout;function M(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options=void 0,this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return o=s.wrap,M.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),n(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=n(this.chart,"render",function(){this.legend.proximatePositions(),this.legend.positionItems()}):this.unchartrender&&this.unchartrender())},M.prototype.setOptions=function(t){var e=b(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=v(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=b(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},M.prototype.update=function(t,e){var i=this.chart;this.setOptions(v(!0,this.options,t)),this.destroy(),i.isDirtyLegend=i.isDirtyBox=!0,b(e,!0)&&i.redraw(),y(this,"afterUpdate")},M.prototype.colorizeItem=function(t,e){var i,o,s,r,n,a,h,l;t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),this.chart.styledMode||(n=this.options,i=t.legendItem,o=t.legendLine,s=t.legendSymbol,r=this.itemHiddenStyle.color,n=e?n.itemStyle.color:r,a=e&&t.color||r,h=t.options&&t.options.marker,l={fill:a},i&&i.css({fill:n,color:n}),o&&o.attr({stroke:a}),s&&(h&&s.isMarker&&(l=t.pointAttribs(),e||(l.stroke=l.fill=r)),s.attr(l))),y(this,"afterColorizeItem",{item:t,visible:e})},M.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},M.prototype.positionItem=function(t){var e=this,i=(s=this.options).symbolPadding,o=!s.rtl,s=(r=t._legendItemPos)[0],r=r[1],n=t.checkbox,a=t.legendGroup;a&&a.element&&(i={translateX:o?s:this.legendWidth-s-2*i-4,translateY:r},o=function(){y(e,"afterPositionItem",{item:t})},f(a.translateY)?a.animate(i,void 0,o):(a.attr(i),o())),n&&(n.x=s,n.y=r)},M.prototype.destroyItem=function(e){var t=e.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(t){e[t]&&(e[t]=e[t].destroy())}),t&&g(e.checkbox)},M.prototype.destroy=function(){function e(t){this[t]&&(this[t]=this[t].destroy())}this.getAllItems().forEach(function(t){["legendItem","legendGroup"].forEach(e,t)}),"clipRect up down pager nav box title group".split(" ").forEach(e,this),this.display=null},M.prototype.positionCheckboxes=function(){var o,s=this.group&&this.group.alignAttr,r=this.clipHeight||this.legendHeight,n=this.titleHeight;s&&(o=s.translateY,this.allItems.forEach(function(t){var e,i=t.checkbox;i&&(e=o+n+i.y+(this.scrollOffset||0)+3,u(i,{left:s.translateX+t.checkboxOffset+i.x-20+"px",top:e+"px",display:this.proximate||o-61.5*i?e.height:i))},M.prototype.layoutItem=function(t){var e=this.options,i=this.padding,o="horizontal"===e.layout,s=t.itemHeight,r=this.itemMarginBottom,n=this.itemMarginTop,a=o?b(e.itemDistance,20):0,h=this.maxLegendWidth,e=e.alignColumns&&this.totalItemWidth>h?this.maxItemWidth:t.itemWidth;o&&this.itemX-i+e>h&&(this.itemX=i,this.lastLineHeight&&(this.itemY+=n+this.lastLineHeight+r),this.lastLineHeight=0),this.lastItemY=n+this.itemY+r,this.lastLineHeight=Math.max(s,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],o?this.itemX+=e:(this.itemY+=n+s+r,this.lastLineHeight=s),this.offsetWidth=this.widthOption||Math.max((o?this.itemX-i-(t.checkbox?0:a):e)+i,this.offsetWidth)},M.prototype.getAllItems=function(){var i=[];return this.chart.series.forEach(function(t){var e=t&&t.options;t&&b(e.showInLegend,!f(e.linkedTo)&&void 0,!0)&&(i=i.concat(t.legendItems||("point"===e.legendType?t.data:t)))}),y(this,"afterGetAllItems",{allItems:i}),i},M.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},M.prototype.adjustMargins=function(i,o){var s=this.chart,r=this.options,n=this.getAlignment();n&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(t,e){t.test(n)&&!f(i[e])&&(s[a[e]]=Math.max(s[a[e]],s.legend[(e+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][e]*r[e%2?"x":"y"]+b(r.margin,12)+o[e]+(s.titleOffset[e]||0)))})},M.prototype.proximatePositions=function(){var s=this.chart,r=[],n="left"===this.options.align;this.allItems.forEach(function(t){var e,i,o=n;t.yAxis&&(t.xAxis.options.reversed&&(o=!o),t.points&&(e=m(o?t.points:t.points.slice(0).reverse(),function(t){return x(t.plotY)})),o=this.itemMarginTop+t.legendItem.getBBox().height+this.itemMarginBottom,i=t.yAxis.top-s.plotTop,t.visible?(e=e?e.plotY:t.yAxis.height,e+=i-.3*o):e=i+t.yAxis.height,r.push({target:e,size:o,item:t}))},this),h(r,s.plotHeight).forEach(function(t){t.item._legendItemPos&&t.pos&&(t.item._legendItemPos[1]=s.plotTop-s.spacing[0]+t.pos)})},M.prototype.render=function(){var t=this.chart,e=t.renderer,i=this.options,o=this.padding,s=this.getAllItems(),r=this.group,n=this.box,a=(this.itemX=o,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=S(i.width,t.spacingBox.width-o),t.spacingBox.width-2*o-i.x),h=(-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(a/=2),this.maxLegendWidth=this.widthOption||a,r||(this.group=r=e.g("legend").addClass(i.className||"").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(r),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle(),k(s,function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)}),i.reversed&&s.reverse(),this.allItems=s,this.display=a=!!s.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,s.forEach(this.renderItem,this),s.forEach(this.layoutItem,this),s=(this.widthOption||this.offsetWidth)+o,this.lastItemY+this.lastLineHeight+this.titleHeight),h=this.handleOverflow(h);h+=o,n||(this.box=n=e.rect().addClass("highcharts-legend-box").attr({r:i.borderRadius}).add(r)),t.styledMode||n.attr({stroke:i.borderColor,"stroke-width":i.borderWidth||0,fill:i.backgroundColor||"none"}).shadow(i.shadow),0r&&(n||i)!==m[s-1])&&(m.push(n||i),s++),t.pageIx=s-1,n&&(y[e-1].pageIx=s-1),e===y.length-1&&i+o-m[s-1]>r&&o<=r&&(m.push(i),t.pageIx=s),i!==n&&(n=i)}),v||(v=o.clipRect=a.clipRect(0,d,9999,0),o.contentGroup.clip(v)),e(r),x||(this.nav=x=a.g().attr({zIndex:1}).add(this.group),this.up=a.symbol("triangle",0,0,g,g).add(x),i("upTracker").on("click",function(){o.scroll(-1,f)}),this.pager=a.text("",15,10).addClass("highcharts-legend-navigation"),!s.styledMode&&u.style&&this.pager.css(u.style),this.pager.add(x),this.down=a.symbol("triangle-down",0,0,g,g).add(x),i("downTracker").on("click",function(){o.scroll(1,f)})),o.scroll(0),t=l):x&&(e(),this.nav=x.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},M.prototype.scroll=function(t,e){var i=this,o=this.chart,s=this.pages,r=s.length,n=this.clipHeight,a=this.options.navigation,h=this.pager,l=this.padding,c=this.currentPage+t;0<(c=r=Math.max(l+n,o.pos)&&h<=Math.min(l+n+r.width,o.pos+o.len)||(t.isInsidePlot=!1)),!i.ignoreY&&t.isInsidePlot&&(s=d&&(s?d.xAxis:d.yAxis)||{pos:a,len:1/0},(i=i.paneCoordinates?s.pos+e:a+e)>=Math.max(c+a,s.pos)&&i<=Math.min(c+a+r.height,s.pos+s.len)||(t.isInsidePlot=!1)),w(this,"afterIsInsidePlot",t),t.isInsidePlot},R.prototype.redraw=function(t){w(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],i=this.series,o=this.pointer,s=this.legend,r=this.userOptions.legend,n=this.renderer,a=n.isHidden(),h=[],l=this.isDirtyBox,c=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),f(!!this.hasRendered&&t,this),a&&this.temporaryDisplay(),this.layOutTitles(),t=i.length;t--;){var d=i[t];if(d.options.stacking||d.options.centerInCategory){var p=!0;if(d.isDirty){var u=!0;break}}}if(u)for(t=i.length;t--;)(d=i[t]).options.stacking&&(d.isDirty=!0);i.forEach(function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),c=!0):r&&(r.labelFormatter||r.labelFormat)&&(c=!0)),t.isDirtyData&&w(t,"updatedData")}),c&&s&&s.options.enabled&&(s.render(),this.isDirtyLegend=!1),p&&this.getStacks(),e.forEach(function(t){t.updateNames(),t.setScale()}),this.getMargins(),e.forEach(function(t){t.isDirty&&(l=!0)}),e.forEach(function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,h.push(function(){w(t,"afterSetExtremes",M(t.eventArgs,t.getExtremes())),delete t.eventArgs})),(l||p)&&t.redraw()}),l&&this.drawChartBox(),w(this,"predraw"),i.forEach(function(t){(l||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1}),o&&o.reset(!0),n.draw(),w(this,"redraw"),w(this,"render"),a&&this.temporaryDisplay(!0),h.forEach(function(t){t.call()})},R.prototype.get=function(e){function t(t){return t.id===e||t.options&&t.options.id===e}for(var i=this.series,o=r(this.axes,t)||r(this.series,t),s=0;!o&&s=j(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return j(e,t.length-1)},R.prototype.bindAxes=function(){var o,s=this,r=s.options,t=s.chart;P(this,"bindAxes",null,function(){(s.axisTypes||[]).forEach(function(e){var i=0;t[e].forEach(function(t){o=t.options,(r[e]===i&&!o.isInternal||void 0!==r[e]&&r[e]===o.id||void 0===r[e]&&0===o.index)&&(s.insert(t.series),(s[e]=t).isDirty=!0),o.isInternal||i++}),s[e]||s.optionalAxis===e||k(18,!0,t)})}),P(this,"afterBindAxes")},R.prototype.updateParallelArrays=function(i,o){var s=i.series,e=arguments,t=O(o)?function(t){var e="y"===t&&s.toYData?s.toYData(i):i[t];s[t+"Data"][o]=e}:function(t){Array.prototype[o].apply(s[t+"Data"],Array.prototype.slice.call(e,2))};s.parallelArrays.forEach(t)},R.prototype.hasData=function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0=this.cropStart?s-this.cropStart:s),s=!o&&O(s)&&a[s]&&a[s].touched?void 0:s},R.prototype.updateData=function(t,e){var s,i,r,n=this.options,a=n.dataSorting,h=this.points,l=[],c=this.requireSorting,d=t.length===h.length,o=!0;if(this.xIncrement=null,t.forEach(function(t,e){var i=A(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},o=i.x;i.id||O(o)?(-1===(i=this.findPointIndex(i,r))||void 0===i?l.push(t):h[i]&&t!==n.data[i]?(h[i].update(t,!1,null,!1),h[i].touched=!0,c&&(r=i+1)):h[i]&&(h[i].touched=!0),(!d||e!==i||a&&a.enabled||this.hasDerivedData)&&(s=!0)):l.push(t)},this),s)for(t=h.length;t--;)(i=h[t])&&!i.touched&&i.remove&&i.remove(!1,e);else!d||a&&a.enabled?o=!1:(t.forEach(function(t,e){t!==h[e].y&&h[e].update&&h[e].update(t,!1,null,!1)}),l.length=0);return h.forEach(function(t){t&&(t.touched=!1)}),!!o&&(l.forEach(function(t){this.addPoint(t,!1,null,null,!1)},this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=v(this.xData),this.autoIncrement()),!0)},R.prototype.setData=function(t,e,i,o){void 0===e&&(e=!0);var s,r,n=this,a=n.points,h=a&&a.length||0,l=n.options,c=n.chart,d=l.dataSorting,p=n.xAxis,u=l.turboThreshold,f=this.xData,g=this.yData,m=(m=n.pointArrayMap)&&m.length,y=l.keys,x=0,v=1;if(c.options.chart.allowMutatingData||(l.data&&delete n.options.data,n.userOptions.data&&delete n.userOptions.data,r=E(!0,t)),r=(t=r||t||[]).length,d&&d.enabled&&(t=this.sortData(t)),!(s=c.options.chart.allowMutatingData&&!1!==o&&r&&h&&!n.cropped&&!n.hasGroupedData&&n.visible&&!n.boosted?this.updateData(t,i):s)){if(n.xIncrement=null,n.colorCounter=0,this.parallelArrays.forEach(function(t){n[t+"Data"].length=0}),u&&ui?(d=[],p=[]):this.yData&&(d[0]i)&&(d=(o=this.cropData(this.xData,this.yData,e,i)).xData,p=o.yData,c=o.start,o=!0)),a=d.length||1;--a;)0<(r=n?t(d[a])-t(d[a-1]):d[a]-d[a-1])&&(void 0===s||r=i){a=Math.max(0,r-s);break}for(i=r;io){h=i+s;break}return{xData:t.slice(a,h),yData:e.slice(a,h),start:a,end:h}},R.prototype.generatePoints=function(){var t,e,i=this.options,o=this.processedData||i.data,s=this.processedXData,r=this.processedYData,n=this.pointClass,a=s.length,h=this.cropStart||0,l=this.hasGroupedData,c=i.keys,d=[],i=i.dataGrouping&&i.dataGrouping.groupAll?h:0,p=this.data;for(p||l||((f=[]).length=o.length,p=this.data=f),c&&l&&(this.options.keys=!1),e=0;e=h&&(r[i-a]||p)<=l;if(f&&p)if(f=u.length)for(;f--;)O(u[f])&&(n[c++]=u[f]);else n[c++]=u}return t={activeYData:n,dataMin:b(n),dataMax:v(n)},P(this,"afterGetExtremes",{dataExtremes:t}),t},R.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},R.prototype.getFirstValidPoint=function(t){for(var e=t.length,i=0,o=null;null===o&&i=s.enabledThreshold*s.radius);if(!1!==s.enabled||this._hasPointMarkers)for(t=0;tl.max,c.resetZones&&0===i&&(i=void 0)}),this.clips=u):c.visible&&(f&&f.show(),g&&g.show())},R.prototype.invertGroups=function(e){function t(){["group","markerGroup"].forEach(function(t){i[t]&&(o.renderer.isVML&&i[t].attr({width:i.yAxis.len,height:i.xAxis.len}),i[t].width=i.yAxis.len,i[t].height=i.xAxis.len,i[t].invert(!i.isRadialSeries&&e))})}var i=this,o=i.chart;i.xAxis&&(i.eventsToUnbind.push(x(o,"resize",t)),t(),i.invertGroups=t)},R.prototype.plotGroup=function(t,e,i,o,s){var r=this[t],n=!r;return i={visibility:i,zIndex:o||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(i.opacity=this.opacity),n&&(this[t]=r=this.chart.renderer.g().add(s)),r.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(A(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(r.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),r.attr(i)[n?"attr":"animate"](this.getPlotBox()),r},R.prototype.getPlotBox=function(){var t=this.chart,e=this.xAxis,i=this.yAxis;return t.inverted&&(e=i,i=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:i?i.top:t.plotTop,scaleX:1,scaleY:1}},R.prototype.removeEvents=function(t){t||W(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(t){t()}),this.eventsToUnbind.length=0)},R.prototype.render=function(){var t=this,e=t.chart,i=t.options,o=d(i.animation),s=t.visible?"inherit":"hidden",r=i.zIndex,n=t.hasRendered,a=e.seriesGroup,h=e.inverted,e=!t.finishedAnimating&&e.renderer.isSVG?o.duration:0,l=(P(this,"render"),t.plotGroup("group","series",s,r,a));t.markerGroup=t.plotGroup("markerGroup","markers",s,r,a),!1!==i.clip&&t.setClip(),t.animate&&e&&t.animate(!0),l.inverted=!!j(t.invertible,t.isCartesian)&&h,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(h),t.animate&&e&&t.animate(),n||(e&&o.defer&&(e+=o.defer),t.animationTimeout=I(function(){t.afterAnimate()},e||0)),t.isDirty=!1,t.hasRendered=!0,P(t,"afterRender")},R.prototype.redraw=function(){var t=this.chart,e=this.isDirty||this.isDirtyData,i=this.group,o=this.xAxis,s=this.yAxis;i&&(t.inverted&&i.attr({width:t.plotWidth,height:t.plotHeight}),i.animate({translateX:j(o&&o.left,t.plotLeft),translateY:j(s&&s.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},R.prototype.searchPoint=function(t,e){var i=this.xAxis,o=this.yAxis,s=this.chart.inverted;return this.searchKDTree({clientX:s?i.len-t.chartY+i.pos:t.chartX-i.pos,plotY:s?o.len-t.chartX+o.pos:t.chartY-o.pos},e,t)},R.prototype.buildKDTree=function(t){this.buildingKdTree=!0;var n=this,e=-1u;)f--;this.updateParallelArrays(p,"splice",f,0,0),this.updateParallelArrays(p,f),l&&p.name&&(l[u]=p.name),c.splice(f,0,t),(r||this.processedData)&&(this.data.splice(f,0,null),this.processData()),"point"===n.legendType&&this.generatePoints(),i&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(p,"shift"),c.shift())),!1!==s&&P(this,"addPoint",{point:p}),this.isDirtyData=this.isDirty=!0,e&&h.redraw(o)},R.prototype.removePoint=function(t,e,i){function o(){a&&a.length===r.length&&a.splice(t,1),r.splice(t,1),s.options.data.splice(t,1),s.updateParallelArrays(n||{series:s},"splice",t,1),n&&n.destroy(),s.isDirty=!0,s.isDirtyData=!0,e&&h.redraw()}var s=this,r=s.data,n=r[t],a=s.points,h=s.chart;p(i,h),e=j(e,!0),n?n.firePointEvent("remove",null,o):o()},R.prototype.remove=function(t,e,i,o){function s(){r.destroy(o),n.isDirtyLegend=n.isDirtyBox=!0,n.linkSeries(),j(t,!0)&&n.redraw(e)}var r=this,n=r.chart;!1!==i?P(r,"remove",null,s):s()},R.prototype.update=function(t,e){t=B(t,this.userOptions),P(this,"update",{options:t});var i,o,s=this,r=s.chart,n=s.userOptions,a=s.initialType||s.type,h=r.options.plotOptions,l=y[a].prototype,c=s.finishedAnimating&&{animation:!1},d={},p=["eventOptions","navigatorSeries","baseSeries"],u=t.type||n.type||r.options.chart.type,f=!(this.hasDerivedData||u&&u!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||t.joinBy||t.mapData||s.hasOptionChanged("dataGrouping")||s.hasOptionChanged("pointStart")||s.hasOptionChanged("pointInterval")||s.hasOptionChanged("pointIntervalUnit")||s.hasOptionChanged("keys")),u=u||a;if(f&&(p.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&p.push("area","graph"),s.parallelArrays.forEach(function(t){p.push(t+"Data")}),t.data&&(t.dataSorting&&C(s.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=E(n,c,{index:(void 0===n.index?s:n).index,pointStart:j(h&&h.series&&h.series.pointStart,n.pointStart,s.xData[0])},!f&&{data:s.options.data},t),f&&t.data&&(t.data=s.options.data),(p=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(p)).forEach(function(t){p[t]=s[t],delete s[t]}),h=!1,y[u]){if(h=u!==s.type,s.remove(!1,!1,!1,!0),h)if(Object.setPrototypeOf)Object.setPrototypeOf(s,y[u].prototype);else{for(i in c=Object.hasOwnProperty.call(s,"hcEvents")&&s.hcEvents,l)s[i]=void 0;C(s,y[u].prototype),c?s.hcEvents=c:delete s.hcEvents}}else k(17,!0,r,{missingModuleFor:u});p.forEach(function(t){s[t]=p[t]}),s.init(r,t),f&&this.points&&(!1===(o=s.options).visible?(d.graphic=1,d.dataLabel=1):s._hasPointLabels||(t=o.marker,l=o.dataLabels,!t||!1!==t.enabled&&(n.marker&&n.marker.symbol)===t.symbol||(d.graphic=1),l&&!1===l.enabled&&(d.dataLabel=1)),this.points.forEach(function(t){t&&t.series&&(t.resolveColor(),Object.keys(d).length&&t.destroyElements(d),!1===o.showInLegend&&t.legendItem&&r.legend.destroyItem(t))},this)),s.initialType=a,r.linkSeries(),h&&s.linkedSeries.length&&(s.isDirtyData=!0),P(this,"afterUpdate"),j(e,!0)&&r.redraw(f&&void 0)},R.prototype.setName=function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},R.prototype.hasOptionChanged=function(t){var e=this.options[t],i=this.chart.options.plotOptions,o=this.userOptions[t];return o?e!==o:e!==j(i&&i[this.type]&&i[this.type][t],i&&i.series&&i.series[t],e)},R.prototype.onMouseOver=function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&P(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},R.prototype.onMouseOut=function(){var t=this.options,e=this.chart,i=e.tooltip,o=e.hoverPoint;e.hoverSeries=null,o&&o.onMouseOut(),this&&t.events.mouseOut&&P(this,"mouseOut"),!i||this.stickyTracking||i.shared&&!this.noSharedTooltip||i.hide(),e.series.forEach(function(t){t.setState("",!0)})},R.prototype.setState=function(e,t){var i=this,o=i.options,s=i.graph,r=o.inactiveOtherPoints,n=o.states,a=j(n[e||"normal"]&&n[e||"normal"].animation,i.chart.options.chart.animation),h=o.lineWidth,l=0,c=o.opacity;if(e=e||"",i.state!==e&&([i.group,i.markerGroup,i.dataLabelsGroup].forEach(function(t){t&&(i.state&&t.removeClass("highcharts-series-"+i.state),e&&t.addClass("highcharts-series-"+e))}),i.state=e,!i.chart.styledMode)){if(n[e]&&!1===n[e].enabled)return;if(e&&(h=n[e].lineWidth||h+(n[e].lineWidthPlus||0),c=j(n[e].opacity,c)),s&&!s.dashstyle)for(s.animate(o={"stroke-width":h},a);i["zone-graph-"+l];)i["zone-graph-"+l].animate(o,a),l+=1;r||[i.group,i.markerGroup,i.dataLabelsGroup,i.labelBySeries].forEach(function(t){t&&t.animate({opacity:c},a)})}t&&r&&i.points&&i.setAllPointsToState(e||void 0)},R.prototype.setAllPointsToState=function(e){this.points.forEach(function(t){t.setState&&t.setState(e)})},R.prototype.setVisible=function(e,t){var i=this,o=i.chart,s=i.legendItem,r=o.options.chart.ignoreHiddenSeries,n=i.visible,a=(i.visible=e=i.options.visible=i.userOptions.visible=void 0===e?!n:e)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(t){i[t]&&i[t][a]()}),o.hoverSeries!==i&&(o.hoverPoint&&o.hoverPoint.series)!==i||i.onMouseOut(),s&&o.legend.colorizeItem(i,e),i.isDirty=!0,i.options.stacking&&o.series.forEach(function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)}),i.linkedSeries.forEach(function(t){t.setVisible(e,!1)}),r&&(o.isDirtyBox=!0),P(i,a),!1!==t&&o.redraw()},R.prototype.show=function(){this.setVisible(!0)},R.prototype.hide=function(){this.setVisible(!1)},R.prototype.select=function(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),P(this,t?"select":"unselect")},R.prototype.shouldShowTooltip=function(t,e,i){return(i=void 0===i?{}:i).series=this,i.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,i)},R.defaultOptions=r,R.types=n.seriesTypes,R.registerType=n.registerSeriesType,C((t=R).prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:s.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:l,requireSorting:!0,sorted:!0}),n.series=t}),t(e,"Extensions/ScrollablePlotArea.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Chart/Chart.js"],e["Core/Series/Series.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],function(t,r,e,i,n,o){var a=t.stop,h=o.addEvent,l=o.createElement,c=o.defined,d=o.merge,p=o.pick;h(e,"afterSetChartSize",function(t){var s,e=(i=this.options.chart.scrollablePlotArea)&&i.minWidth,i=i&&i.minHeight;this.renderer.forExport||(e?(this.scrollablePixelsX=e=Math.max(0,e-this.chartWidth))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=d(this.plotBox),this.plotBox.width=this.plotWidth+=e,this.inverted?this.clipBox.height+=e:this.clipBox.width+=e,s={1:{name:"right",value:e}}):i&&(this.scrollablePixelsY=e=Math.max(0,i-this.chartHeight),c(e)&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=d(this.plotBox),this.plotBox.height=this.plotHeight+=e,this.inverted?this.clipBox.width+=e:this.clipBox.height+=e,s={2:{name:"bottom",value:e}})),s&&!t.skipAxes&&this.axes.forEach(function(o){s[o.side]?o.getPlotLinePath=function(){var t=s[o.side].name,e=this[t],i=(this[t]=e-s[o.side].value,r.prototype.getPlotLinePath.apply(this,arguments));return this[t]=e,i}:(o.setAxisSize(),o.setAxisTranslation())}))}),h(e,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()}),e.prototype.setUpScrolling=function(){var t=this,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingParent=l("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=l("div",{className:"highcharts-scrolling"},e,this.scrollingParent),h(this.scrollingContainer,"scroll",function(){t.pointer&&delete t.pointer.chartPosition}),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},e.prototype.moveFixedElements=function(){var t,e=this.container,i=this.fixedRenderer,o=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&o.push(t+":not(.highcharts-radial-axis)",t+"-labels:not(.highcharts-radial-axis-labels)"),o.forEach(function(t){[].forEach.call(e.querySelectorAll(t),function(t){(t.namespaceURI===i.SVG_NS?i.box:i.box.parentNode).appendChild(t),t.style.pointerEvents="auto"})})},e.prototype.applyFixed=function(){var t=!this.fixedDiv,e=this.options.chart,i=e.scrollablePlotArea,o=n.getRendererType(),s=(t?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new o(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":p(i.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),h(this,"afterShowResetZoom",this.moveFixedElements),h(this,"afterApplyDrilldown",this.moveFixedElements),h(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||t)&&(this.scrollableDirty=!1,this.moveFixedElements()),e=this.chartWidth+(this.scrollablePixelsX||0),o=this.chartHeight+(this.scrollablePixelsY||0),a(this.container),this.container.style.width=e+"px",this.container.style.height=o+"px",this.renderer.boxWrapper.attr({width:e,height:o,viewBox:[0,0,e,o].join(" ")}),this.chartBackground.attr({width:e,height:o}),this.scrollingContainer.style.height=this.chartHeight+"px",t&&(i.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*i.scrollPositionX),i.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*i.scrollPositionY)),o=this.axisOffset,t=this.plotTop-o[0]-1,i=this.plotLeft-o[3]-1,e=this.plotTop+this.plotHeight+o[2]+1,o=this.plotLeft+this.plotWidth+o[1]+1,this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0)),r=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0),t=this.scrollablePixelsX?[["M",0,t],["L",this.plotLeft-1,t],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",s,t],["L",this.chartWidth,t],["L",this.chartWidth,e],["L",s,e],["Z"]]:this.scrollablePixelsY?[["M",i,0],["L",i,this.plotTop-1],["L",o,this.plotTop-1],["L",o,0],["Z"],["M",i,r],["L",i,this.chartHeight],["L",o,this.chartHeight],["L",o,r],["Z"]]:[["M",0,0]];"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},h(r,"afterInit",function(){this.chart.scrollableDirty=!0}),h(i,"show",function(){this.chart.scrollableDirty=!0})}),t(e,"Core/Axis/Stacking/StackItem.js",[e["Core/FormatUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i){var s=t.format,h=e.series,l=i.defined,o=i.destroyObjectProperties,c=i.isNumber,d=i.pick;function r(t,e,i,o,s){var r=t.chart.inverted;this.axis=t,this.isNegative=i,this.options=e=e||{},this.x=o,this.cumulative=this.total=null,this.points={},this.hasValidPoints=!1,this.stack=s,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(r?i?"left":"right":"center"),verticalAlign:e.verticalAlign||(r?"middle":i?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(r?i?"right":"left":"center")}return r.prototype.destroy=function(){o(this,this.axis)},r.prototype.render=function(t){var e=this.axis.chart,i=this.options,o=(o=i.format)?s(o,this,e):i.formatter.call(this);this.label?this.label.attr({text:o,visibility:"hidden"}):(this.label=e.renderer.label(o,null,null,i.shape,null,null,i.useHTML,!1,"stack-labels"),o={r:i.borderRadius||0,text:o,rotation:i.rotation,padding:d(i.padding,5),visibility:"hidden"},e.styledMode||(o.fill=i.backgroundColor,o.stroke=i.borderColor,o["stroke-width"]=i.borderWidth,this.label.css(i.style)),this.label.attr(o),this.label.added||this.label.add(t)),this.label.labelrank=e.plotSizeY},r.prototype.setOffset=function(t,e,i,o,s){var r=this.axis,n=r.chart,a=(o=r.translate(r.stacking.usePercentage?100:o||this.total,0,0,0,1),i=r.translate(i||0),t=d(s,n.xAxis[0].translate(this.x))+t,r=l(o)&&this.getStackBox(n,this,t,o,e,Math.abs(o-i),r),e=this.label,i=this.isNegative,this.textAlign);e&&r&&(t=e.getBBox(),s=e.padding,o="justify"===d(this.options.overflow,"justify"),a="left"===a?n.inverted?-s:s:"right"===a?t.width:(!n.inverted||"center"!==a)&&n.inverted?i?t.width+s:-s:t.width/2,i=n.inverted?t.height/2:i?-s:t.height,this.alignOptions.x=d(this.options.x,0),this.alignOptions.y=d(this.options.y,0),r.x-=a,r.y-=i,e.align(this.alignOptions,null,r),n.isInsidePlot(e.alignAttr.x+a-this.alignOptions.x,e.alignAttr.y+i-this.alignOptions.y)?e.show():(e.hide(),o=!1),o&&h.prototype.justifyDataLabel.call(this.axis,e,this.alignOptions,e.alignAttr,t,r),e.attr({x:e.alignAttr.x,y:e.alignAttr.y}),d(!o&&this.options.crop,!0)&&!(n=c(e.x)&&c(e.y)&&n.isInsidePlot(e.x-s+e.width,e.y)&&n.isInsidePlot(e.x+s,e.y))&&e.hide())},r.prototype.getStackBox=function(t,e,i,o,s,r,n){var a=e.axis.reversed,h=t.inverted,l=n.height+n.pos-(h?t.plotLeft:t.plotTop);return e=e.isNegative&&!a||!e.isNegative&&a,{x:h?e?o-n.right:o-r+n.pos-t.plotLeft:i+t.xAxis[0].transB-t.plotLeft,y:h?n.height-i-s:e?l-o-r:l-o,width:h?r:s,height:h?s:r}},t=r}),t(e,"Core/Axis/Stacking/StackingAxis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],function(t,e,i,S,o){function s(){var i=this,o=i.inverted;i.yAxis.forEach(function(t){t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)}),i.series.forEach(function(t){var e=t.xAxis&&t.xAxis.options||{};!t.options.stacking||!0!==t.visible&&!1!==i.options.chart.ignoreHiddenSeries||(t.stackKey=[t.type,w(t.options.stack,""),o?e.top:e.left,o?e.height:e.width].join())})}function r(){var i,t=this.stacking;t&&(i=t.stacks,b(i,function(t,e){y(t),i[e]=null}),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy())}function n(){this.stacking||(this.stacking=new T(this))}function a(t,e,i,o){return!C(t)||t.x!==e||o&&t.stackKey!==o?t={x:e,index:0,key:o,stackKey:o}:t.index++,t.key=[i,e,t.index].join(),t}function h(){var s,r=this,t=r.stackKey,n=r.yAxis.stacking.stacks,a=r.processedXData,h=r[r.options.stacking+"Stacker"];h&&[t,"-"+t].forEach(function(t){for(var e,i,o=a.length;o--;)e=a[o],s=r.getStackIndicator(s,e,r.index,t),(i=(e=n[t]&&n[t][e])&&e.points[s.key])&&h.call(r,i,e,o)})}function l(t,e,i){e=e.total?100/e.total:0,t[0]=k(t[0]*e),t[1]=k(t[1]*e),this.stackedYData[i]=t[1]}function c(){var i=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1m?e-m:g-(o?m:0)),M(t.options.pointWidth)&&(n=h=Math.ceil(t.options.pointWidth),a-=Math.round((n-x)/2)),d.centerInCategory&&(a=l.adjustForMissingColumns(a,n,t,y)),t.barX=a,t.pointWidth=n,t.tooltipPos=c.inverted?[C(u.len+u.pos-c.plotLeft-i,u.pos-c.plotLeft,u.len+u.pos-c.plotLeft),p.len+p.pos-c.plotTop-a-h/2,r]:[p.left-c.plotLeft+a+h/2,C(i+u.pos-c.plotTop,u.pos-c.plotTop,u.len+u.pos-c.plotTop),r],t.shapeType=l.pointClass.prototype.shapeType||"rect",t.shapeArgs=l.crispCol.apply(l,t.isNull?[a,g,h,0]:[a,s,h,r])})},v.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},v.prototype.pointAttribs=function(t,e){var i,o=this.options,s=(h=this.pointAttrToOptions||{}).stroke||"borderColor",r=h["stroke-width"]||"borderWidth",n=t&&t.color||this.color,a=t&&t[s]||o[s]||n,h=t&&t.options.dashStyle||o.dashStyle,l=t&&t[r]||o[r]||this[r]||0,c=T(t&&t.opacity,o.opacity,1);return t&&this.zones.length&&(i=t.getZone(),n=t.options.color||i&&(i.color||t.nonZonedColor)||this.color,i&&(a=i.borderColor||a,h=i.dashStyle||h,l=i.borderWidth||l)),e&&t&&(e=(t=y(o.states[e],t.options.states&&t.options.states[e]||{})).brightness,n=t.color||void 0!==e&&d(n).brighten(t.brightness).get()||n,a=t[s]||a,l=t[r]||l,h=t.dashStyle||h,c=T(t.opacity,c)),s={fill:n,stroke:a,"stroke-width":l,opacity:c},h&&(s.dashstyle=h),s},v.prototype.drawPoints=function(){var s,r=this,n=this.chart,a=r.options,h=n.renderer,l=a.animationLimit||250;r.points.forEach(function(t){var e=t.graphic,i=!!e,o=e&&n.pointCount"===n&&h="===n&&h<=a||"<="===n&&a<=h||"=="===n&&a==h||"==="===n&&a===h)),a=d.connectors?d.connectors[e]:d.connector,h=d.dataLabels?d.dataLabels[e]:d.dataLabel,l=!h,c=k(t.distance,d.labelDistance);n&&(i=d.getLabelConfig(),o=k(t[d.formatPrefix+"Format"],t.format),i=v(o)?x(o,i,f):(t[d.formatPrefix+"Formatter"]||t.formatter).call(i,t),o=t.style,s=t.rotation,f.styledMode||(o.color=k(t.color,o.color,u.color,"#000000"),"contrast"===o.color?(d.contrastColor=m.getContrast(d.color||u.color),o.color=!v(c)&&t.inside||c<0||g.stacking?d.contrastColor:y):delete d.contrastColor,g.cursor&&(o.cursor=g.cursor)),r={r:t.borderRadius||0,rotation:s,padding:t.padding,zIndex:1},f.styledMode||(r.fill=t.backgroundColor,r.stroke=t.borderColor,r["stroke-width"]=t.borderWidth),S(r,function(t,e){void 0===t&&delete r[e]})),!h||n&&v(i)&&!!h.div==!!t.useHTML&&(h.rotation&&t.rotation||h.rotation===t.rotation)||(l=!0,d.dataLabel=h=d.dataLabel&&d.dataLabel.destroy(),d.dataLabels&&(1===d.dataLabels.length?delete d.dataLabels:delete d.dataLabels[e]),e||delete d.dataLabel,a&&(d.connector=d.connector.destroy(),d.connectors&&(1===d.connectors.length?delete d.connectors:delete d.connectors[e]))),n&&v(i)?(h?r.text=i:(d.dataLabels=d.dataLabels||[],h=d.dataLabels[e]=s?m.text(i,0,0,t.useHTML).addClass("highcharts-data-label"):m.label(i,0,0,t.shape,null,null,t.useHTML,null,"data-label"),e||(d.dataLabel=h),h.addClass(" highcharts-data-label-color-"+d.colorIndex+" "+(t.className||"")+(t.useHTML?" highcharts-tracker":""))),h.options=t,h.attr(r),f.styledMode||h.css(o).shadow(t.shadow),t.textPath&&!t.useHTML&&(h.setTextPath(d.getDataLabelPath&&d.getDataLabelPath(h)||d.graphic,t.textPath),d.dataLabelPath&&!t.textPath.enabled&&(d.dataLabelPath=d.dataLabelPath.destroy())),h.added||h.add(p),u.alignDataLabel(d,h,t,null,l)):h&&h.hide()})})),n(this,"afterDrawDataLabels")}function u(t,e,i,o,s,r){var n,a=this.chart,h=e.align,l=e.verticalAlign,c=!t.box&&t.padding||0,d=void 0===(d=e.x)?0:d,p=void 0===(p=e.y)?0:p,u=(i.x||0)+c;return u<0&&("right"===h&&0<=d?(e.align="left",e.inside=!0):d-=u,n=!0),(u=(i.x||0)+o.width-c)>a.plotWidth&&("left"===h&&d<=0?(e.align="right",e.inside=!0):d+=a.plotWidth-u,n=!0),(u=i.y+c)<0&&("bottom"===l&&0<=p?(e.verticalAlign="top",e.inside=!0):p-=u,n=!0),(u=(i.y||0)+o.height-c)>a.plotHeight&&("top"===l&&p<=0?(e.verticalAlign="bottom",e.inside=!0):p+=a.plotHeight-u,n=!0),n&&(e.x=d,e.y=p,t.placed=!r,t.align(e,void 0,s)),n}function C(e,i){var t,o=[];if(a(e)&&!a(i))o=e.map(function(t){return l(t,i)});else if(a(i)&&!a(e))o=i.map(function(t){return l(e,t)});else if(a(e)||a(i))for(t=Math.max(e.length,i.length);t--;)o[t]=l(e[t],i[t]);else o=l(e,i);return o}function f(t,e,i,o,s){var r=this.chart,n=r.inverted,a=this.xAxis,h=a.reversed,l=n?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=n?s.x:h?-l-t:a.width-l+t,e.startYPos=n?h?this.yAxis.height-l+t:-l-t:s.y,o?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),r.hasRendered&&(i&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}return o=o||{},s=[],o.compose=function(t){var e;-1===s.indexOf(t)&&(e=t.prototype,s.push(t),e.alignDataLabel=d,e.drawDataLabels=p,e.justifyDataLabel=u,e.setDataLabelStartPos=f)},o}),t(e,"Series/Column/ColumnDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,t,i){var o,s,d=t.series,p=i.merge,u=i.pick;function r(t,e,i,o,s){var r=this.chart.inverted,n=((a=t.series).xAxis?a.xAxis.len:this.chart.plotSizeX)||0,a=(a.yAxis?a.yAxis.len:this.chart.plotSizeY)||0,h=t.dlBox||t.shapeArgs,l=u(t.below,t.plotY>u(this.translatedThreshold,a)),c=u(i.inside,!!this.options.stacking);h&&((o=p(h)).y<0&&(o.height+=o.y,o.y=0),0<(h=o.y+o.height-a)&&h {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}}),h((e=c).prototype,{drawTracker:r.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),a(e,"afterTranslate",function(){this.applyJitter()}),t.registerSeriesType("scatter",e),e}),t(e,"Series/CenteredUtilities.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(t,c,e){var i,o=t.deg2rad,d=e.fireEvent,p=e.isNumber,u=e.pick,f=e.relativeLength;return(t=i=i||{}).getCenter=function(){var t=this.options,e=this.chart,i=2*(t.slicedOffset||0),o=e.plotWidth-2*i,s=e.plotHeight-2*i,r=t.center,n=Math.min(o,s),a=t.thickness,h=t.size,l=t.innerSize||0;for("string"==typeof h&&(h=parseFloat(h)),"string"==typeof l&&(l=parseFloat(l)),t=[u(r[0],"50%"),u(r[1],"50%"),u(h&&h<0?void 0:t.size,"100%"),u(l&&l<0?void 0:t.innerSize||0,"0%")],!e.angular||this instanceof c||(t[3]=0),r=0;r<4;++r)h=t[r],e=r<2||2===r&&/%$/.test(h),t[r]=f(h,[o,s,n,t[2]][r])+(e?i:0);return t[3]>t[2]&&(t[3]=t[2]),p(a)&&2*at.x||se.x)&&(o=!1),t=[["M",t.x,t.y]],o&&t.push(i),t.push(["L",e.x,e.y]),t}}}),e}),t(e,"Series/Pie/PieSeries.js",[e["Series/CenteredUtilities.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Series/Pie/PiePoint.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],function(t,e,i,o,s,r,n,a,h){var l,c,d=this&&this.__extends||(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),m=t.getStartAndEndRadians,p=(i=i.noop,h.clamp),u=h.extend,y=h.fireEvent,f=h.merge,x=h.pick,v=h.relativeLength;function g(){var t=null!==c&&c.apply(this,arguments)||this;return t.center=void 0,t.data=void 0,t.maxLabelDistance=void 0,t.options=void 0,t.points=void 0,t}return d(g,c=r),g.prototype.animate=function(t){var o=this,e=o.points,s=o.startAngleRad;t||e.forEach(function(t){var e=t.graphic,i=t.shapeArgs;e&&i&&(e.attr({r:x(t.startR,o.center&&o.center[3]/2),start:s,end:s}),e.animate({r:i.r,start:i.start,end:i.end},o.options.animation))})},g.prototype.drawEmpty=function(){var t,e,i=this.startAngleRad,o=this.endAngleRad,s=this.options;0===this.total&&this.center?(t=this.center[0],e=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(t,e,this.center[1]/2,0,i,o).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:a.arc(t,e,this.center[2]/2,0,{start:i,end:o,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":s.borderWidth,fill:s.fillColor||"none",stroke:s.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())},g.prototype.drawPoints=function(){var e=this.chart.renderer;this.points.forEach(function(t){t.graphic&&t.hasNewShapeType()&&(t.graphic=t.graphic.destroy()),t.graphic||(t.graphic=e[t.shapeType](t.shapeArgs).add(t.series.group),t.delayedRendering=!0)})},g.prototype.generatePoints=function(){c.prototype.generatePoints.call(this),this.updateTotals()},g.prototype.getX=function(t,e,i){var o=this.center,s=this.radii?this.radii[i.index]||0:o[2]/2;return t=Math.asin(p((t-o[1])/(s+i.labelDistance),-1,1)),o[0]+(e?-1:1)*Math.cos(t)*(s+i.labelDistance)+(01.5*Math.PI?u-=2*Math.PI:u<-Math.PI/2&&(u+=2*Math.PI),d.slicedTranslation={translateX:Math.round(Math.cos(u)*i),translateY:Math.round(Math.sin(u)*i)},f=Math.cos(u)*t[2]/2,Math.sin(u)*t[2]/2);d.tooltipPos=[t[0]+.7*f,t[1]+.7*g],d.half=u<-Math.PI/2||u>Math.PI/2?1:0,d.angle=u,p=Math.min(o,d.labelDistance/5),d.labelPosition={natural:{x:t[0]+f+Math.cos(u)*d.labelDistance,y:t[1]+g+Math.sin(u)*d.labelDistance},final:{},alignment:d.labelDistance<0?"center":d.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+f+Math.cos(u)*p,y:t[1]+g+Math.sin(u)*p},touchingSliceAt:{x:t[0]+f,y:t[1]+g}}}}y(this,"afterTranslate")},g.prototype.updateTotals=function(){for(var t=this.points,e=t.length,i=this.options.ignoreHiddenPoint,o=0,s=0;se&&(t.dataLabel.css({width:Math.round(.7*e)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))}),s.forEach(function(t,e){var i,o,s,r=t.length,n=[];if(r)for(m.sortByAngle(t,e-.5),0e.bottom-2?o:i,e.half,e)},justify:function(t,e,i){return i[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,i,o){return t=t.getBBox().width,e?t+o:i-t-o},alignToConnectors:function(t,e,i,o){var s,r=0;return t.forEach(function(t){s=t.dataLabel.getBBox().width,r=a.x+a.width||c.x+c.width<=a.x||c.y>=a.y+a.height||c.y+c.height<=a.y||((r.labelrank=r(i.minWidth,0)&&this.chartHeight>=r(i.minHeight,0)}).call(this)&&e.push(t._id)},u.prototype.setResponsive=function(t,e){var i=this,o=this.options.responsive,s=this.currentResponsive,r=[];!e&&o&&o.rules&&o.rules.forEach(function(t){void 0===t._id&&(t._id=p()),i.matchResponsiveRule(t,r)},this),(e=a.apply(void 0,r.map(function(e){return n((o||{}).rules||[],function(t){return t._id===e})}).map(function(t){return t&&t.chartOptions}))).isResponsiveOptions=!0,(r=r.toString()||void 0)!==(s&&s.ruleIds)&&(s&&this.update(s.undoOptions,t,!0),r?((s=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:r,mergedOptions:e,undoOptions:s},this.update(e,t,!0)):this.currentResponsive=void 0)},o=u,e}),t(e,"masters/highcharts.src.js",[e["Core/Globals.js"],e["Core/Utilities.js"],e["Core/DefaultOptions.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/FormatUtilities.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Renderer/HTML/HTMLElement.js"],e["Core/Renderer/HTML/HTMLRenderer.js"],e["Core/Axis/Axis.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Axis/LogarithmicAxis.js"],e["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],e["Core/Axis/Tick.js"],e["Core/Tooltip.js"],e["Core/Series/Point.js"],e["Core/Pointer.js"],e["Core/MSPointer.js"],e["Core/Legend/Legend.js"],e["Core/Chart/Chart.js"],e["Core/Axis/Stacking/StackingAxis.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Series/Column/ColumnSeries.js"],e["Series/Column/ColumnDataLabel.js"],e["Series/Pie/PieSeries.js"],e["Series/Pie/PieDataLabel.js"],e["Core/Series/DataLabel.js"],e["Core/Responsive.js"],e["Core/Color/Color.js"],e["Core/Time.js"]],function(t,e,i,o,s,r,n,a,h,l,c,d,p,u,f,g,m,y,x,v,b,S,k,C,M,w,T,A,P,L,O,E,D,j,I){return t.animate=s.animate,t.animObject=s.animObject,t.getDeferredAnimation=s.getDeferredAnimation,t.setAnimation=s.setAnimation,t.stop=s.stop,t.timers=o.timers,t.AST=r,t.Axis=p,t.Chart=k,t.chart=k.chart,t.Fx=o,t.Legend=S,t.PlotLineOrBand=g,t.Point=x,t.Pointer=b.isRequired()?b:v,t.Series=w,t.StackItem=M,t.SVGElement=h,t.SVGRenderer=l,t.Tick=m,t.Time=I,t.Tooltip=y,t.Color=j,t.color=j.parse,d.compose(l),c.compose(h),t.defaultOptions=i.defaultOptions,t.getOptions=i.getOptions,t.time=i.defaultTime,t.setOptions=i.setOptions,t.dateFormat=n.dateFormat,t.format=n.format,t.numberFormat=n.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=a.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=T.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,P.compose(A),E.compose(w),u.compose(p),f.compose(p),O.compose(L),g.compose(p),D.compose(k),C.compose(p,k,w),t}),(e["masters/highcharts.src.js"]._modules=e)["masters/highcharts.src.js"]}); \ No newline at end of file +!function(t,e){"object"==typeof module&&module.exports?(e.default=e,module.exports=t.document?e(t):e):"function"==typeof define&&define.amd?define("highcharts/highcharts",function(){return e(t)}):(t.Highcharts&&t.Highcharts.error(16,!0),t.Highcharts=e(t))}("undefined"!=typeof window?window:this,function(s){function t(t,e,i,o){t.hasOwnProperty(e)||(t[e]=o.apply(null,i),"function"==typeof CustomEvent&&s.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}var e={};return t(e,"Core/Globals.js",[],function(){var t,e,i,o;return(e=t=t||{}).SVG_NS="http://www.w3.org/2000/svg",e.product="Highcharts",e.version="10.3.3",e.win=void 0!==s?s:{},e.doc=e.win.document,e.svg=e.doc&&e.doc.createElementNS&&!!e.doc.createElementNS(e.SVG_NS,"svg").createSVGRect,e.userAgent=e.win.navigator&&e.win.navigator.userAgent||"",e.isChrome=-1!==e.userAgent.indexOf("Chrome"),e.isFirefox=-1!==e.userAgent.indexOf("Firefox"),e.isMS=/(edge|msie|trident)/i.test(e.userAgent)&&!e.win.opera,e.isSafari=!e.isChrome&&-1!==e.userAgent.indexOf("Safari"),e.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(e.userAgent),e.isWebKit=-1!==e.userAgent.indexOf("AppleWebKit"),e.deg2rad=2*Math.PI/360,e.hasBidiBug=e.isFirefox&&parseInt(e.userAgent.split("Firefox/")[1],10)<4,e.hasTouch=!!e.win.TouchEvent,e.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],e.noop=function(){},e.supportsPassiveEvents=(o=!1,e.isMS||(i=Object.defineProperty({},"passive",{get:function(){o=!0}}),e.win.addEventListener&&e.win.removeEventListener&&(e.win.addEventListener("testPassive",e.noop,i),e.win.removeEventListener("testPassive",e.noop,i))),o),e.charts=[],e.dateFormats={},e.seriesTypes={},e.symbolSizes={},e.chartCount=0,t}),t(e,"Core/Utilities.js",[e["Core/Globals.js"]],function(h){function l(t,e,i,o){var s,r=e?"Highcharts error":"Highcharts warning",n=p(t=32===t?r+": Deprecated member":t),a=n?r+" #"+t+": www.highcharts.com/errors/"+t+"/":t.toString();void 0!==o&&(s="",n&&(a+="?"),v(o,function(t,e){s+="\n - ".concat(e,": ").concat(t),n&&(a+=encodeURI(e)+"="+encodeURI(t))}),a+=s),S(h,"displayError",{chart:i,code:t,message:a,params:o},function(){if(e)throw Error(a);C.console&&-1===l.messages.indexOf(a)&&console.warn(a)}),l.messages.push(a)}function n(t,e){return parseInt(t,e||10)}function a(t){return"string"==typeof t}function i(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function c(t,e){return!(!t||"object"!=typeof t||e&&i(t))}function r(t){return c(t)&&"number"==typeof t.nodeType}function d(t){var e=t&&t.constructor;return!(!c(t,!0)||r(t)||!e||!e.name||"Object"===e.name)}function p(t){return"number"==typeof t&&!isNaN(t)&&t<1/0&&-1/0i&&(i=t[e]);return i},arrayMin:function(t){for(var e=t.length,i=t[0];e--;)t[e]>16,(65280&o)>>8,255&o,1]:4===i&&(e=[(3840&o)>>4|(3840&o)>>8,(240&o)>>4|240&o,(15&o)<<4|15&o,1])),!e)for(o=n.parsers.length;o--&&!e;){var s=n.parsers[o];(i=s.regex.exec(t))&&(e=s.parse(i))}e&&(this.rgba=e)},n.prototype.get=function(i){var o,t=this.input,e=this.rgba;return"object"==typeof t&&void 0!==this.stops?((o=r(t)).stops=[].slice.call(o.stops),this.stops.forEach(function(t,e){o.stops[e]=[o.stops[e][0],t.get(i)]}),o):e&&s(e[0])?"rgb"===i||!i&&1===e[3]?"rgb("+e[0]+","+e[1]+","+e[2]+")":"a"===i?"".concat(e[3]):"rgba("+e.join(",")+")":t},n.prototype.brighten=function(e){var t=this.rgba;if(this.stops)this.stops.forEach(function(t){t.brighten(e)});else if(s(e)&&0!==e)for(var i=0;i<3;i++)t[i]+=o(255*e),t[i]<0&&(t[i]=0),255=v.second?0:c*Math.floor(r.get("Milliseconds",h)/c)),l>=v.second&&r.set("Seconds",h,l>=v.minute?0:c*Math.floor(r.get("Seconds",h)/c)),l>=v.minute&&r.set("Minutes",h,l>=v.hour?0:c*Math.floor(r.get("Minutes",h)/c)),l>=v.hour&&r.set("Hours",h,l>=v.day?0:c*Math.floor(r.get("Hours",h)/c)),l>=v.day&&r.set("Date",h,l>=v.month?1:Math.max(1,c*Math.floor(r.get("Date",h)/c))),l>=v.month&&(r.set("Month",h,l>=v.year?0:c*Math.floor(r.get("Month",h)/c)),d=r.get("FullYear",h)),l>=v.year&&r.set("FullYear",h,d-d%c),l===v.week&&(d=r.get("Day",h),r.set("Date",h,r.get("Date",h)-d+o+(d4*v.month||r.getTimezoneOffset(e)!==r.getTimezoneOffset(i)),e=h.getTime(),h=1;et){a=n;break}if(r[a]&&s.substr(r[a])!=="01-01 00:00:00.000".substr(r[a]))break;"week"!==a&&(n=a)}return this.resolveDTLFormat(o[a]).main},t=a}),t(e,"Core/Defaults.js",[e["Core/Chart/ChartDefaults.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Color/Palettes.js"],e["Core/Time.js"],e["Core/Utilities.js"]],function(t,e,i,o,s,r){e=e.parse;var n=r.merge,a={colors:o.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),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:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",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,animation:i.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:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:i.isTouchDevice?25:10,headerFormat:'{point.key}
',pointFormat:' {series.name}: {point.y}
',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}},h=(a.chart.styledMode=!1,new s(n(a.global,a.time)));return t={defaultOptions:a,defaultTime:h,getOptions:function(){return a},setOptions:function(t){return n(!0,a,t),(t.time||t.global)&&(i.time?i.time.update(n(a.global,a.time,t.global,t.time)):i.time=h),a}}}),t(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,i){var o=t.parse,h=e.win,p=i.isNumber,l=i.objectEach;return c.prototype.dSetter=function(){var t=(e=this.paths)&&e[0],e=e&&e[1],i=this.now||0,o=[];if(1!==i&&t&&e)if(t.length===e.length&&i<1)for(var s=0;s=n+this.startTime?(this.now=this.end,this.pos=1,this.update(),e=a[this.prop]=!0,l(a,function(t){!0!==t&&(e=!1)}),e&&r&&r.call(s),!1):(this.pos=o.easing((i-this.startTime)/n),this.now=this.start+(this.end-this.start)*this.pos,this.update(),!0))},c.prototype.initPath=function(t,e,i){function o(t,e){for(;t.lengtht[d].pos&&(t[d-1].size+=t[d].size,t[d-1].targets=t[d-1].targets.concat(t[d].targets),t[d-1].align=.5,t[d-1].pos+t[d-1].size>o&&(t[d-1].pos=o-t[d-1].size),t.splice(d,1),h=!0)}return r.push.apply(r,l),d=0,t.some(function(t){var e=0;return(t.targets||[]).some(function(){return r[d].pos=t.pos+e,void 0!==s&&Math.abs(r[d].pos-r[d].target)>s?(r.slice(0,d+1).forEach(function(t){return delete t.pos}),r.reducedLen=(r.reducedLen||o)-.1*o,r.reducedLen>.1*o&&i(r,o,s),!0):(e+=r[d].size,d++,!1)})}),f(r,e),r},e}),t(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,m,r,e){var n=t.animate,a=t.animObject,c=t.stop,g=r.deg2rad,h=r.doc,l=r.svg,d=r.SVG_NS,i=r.win,p=e.addEvent,u=e.attr,o=e.createElement,y=e.css,x=e.defined,f=e.erase,v=e.extend,b=e.fireEvent,S=e.isArray,k=e.isFunction,C=e.isString,M=e.merge,w=e.objectEach,T=e.pick,A=e.pInt,P=e.syncTimeout,L=e.uniqueKey;function O(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=d,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return O.prototype._defaultGetter=function(t){return t=T(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),t=/^[\-0-9\.]+$/.test(t)?parseFloat(t):t},O.prototype._defaultSetter=function(t,e,i){i.setAttribute(e,t)},O.prototype.add=function(t){var e,i=this.renderer,o=this.element;return t&&(this.parentGroup=t),void 0!==this.textStr&&"text"===this.element.nodeName&&i.buildText(this),this.added=!0,(e=t&&!t.handleZ&&!this.zIndex?e:this.zIndexSetter())||(t?t.element:i.box).appendChild(o),this.onAdd&&this.onAdd(),this},O.prototype.addClass=function(t,e){var i=!e&&this.attr("class")||"";return(t=(t||"").split(/ /g).reduce(function(t,e){return-1===i.indexOf(e)&&t.push(e),t},i?[i]:[]).join(" "))!==i&&this.attr("class",t),this},O.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},O.prototype.align=function(t,e,i){var o,s,r,n={},a=(l=this.renderer).alignedObjects,h=(t?(this.alignOptions=t,this.alignByTranslate=e,i&&!C(i)||(this.alignTo=o=i||"renderer",f(a,this),a.push(this),i=void 0)):(t=this.alignOptions,e=this.alignByTranslate,o=this.alignTo),i=T(i,l[o],"scrollablePlotBox"===o?l.plotBox:void 0,l),o=t.align,t.verticalAlign),l=(i.x||0)+(t.x||0),a=(i.y||0)+(t.y||0);return"right"===o?s=1:"center"===o&&(s=2),s&&(l+=(i.width-(t.width||0))/s),n[e?"translateX":"x"]=Math.round(l),"bottom"===h?r=1:"middle"===h&&(r=2),r&&(a+=(i.height-(t.height||0))/r),n[e?"translateY":"y"]=Math.round(a),this[this.placed?"animate":"attr"](n),this.placed=!0,this.alignAttr=n,this},O.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},O.prototype.animate=function(t,e,i){var o=this,s=a(T(e,this.renderer.globalAnimation,!0));return e=s.defer,T(h.hidden,h.msHidden,h.webkitHidden,!1)&&(s.duration=0),0!==s.duration?(i&&(s.complete=i),P(function(){o.element&&n(o,t,s)},e)):(this.attr(t,void 0,i||s.complete),w(t,function(t,e){s.step&&s.step.call(this,t,{prop:e,pos:1,elem:this})},this)),this},O.prototype.applyTextOutline=function(t){var i,e,o=this.element,s=(t=-1!==t.indexOf("contrast")?t.replace(/contrast/g,this.renderer.getContrast(o.style.fill)):t).split(" ");t=s[s.length-1],(s=s[0])&&"none"!==s&&r.svg&&(this.fakeTS=!0,s=s.replace(/(^[\d\.]+)(.*?)$/g,function(t,e,i){return 2*Number(e)+i}),this.removeTextOutline(),i=h.createElementNS(d,"tspan"),u(i,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":s,"stroke-linejoin":"round"}),t=o.querySelector("textPath")||o,[].forEach.call(t.childNodes,function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(t){return e.removeAttribute(t)}),i.appendChild(e)}),e=0,[].forEach.call(t.querySelectorAll("text tspan"),function(t){e+=Number(t.getAttribute("dy"))}),(s=h.createElementNS(d,"tspan")).textContent="​",u(s,{x:Number(o.getAttribute("x")),dy:-e}),i.appendChild(s),t.insertBefore(i,t.firstChild))},O.prototype.attr=function(i,t,e,o){var s,r,n,a=this.element,h=this.symbolCustomAttribs,l=this;return"string"==typeof i&&void 0!==t&&(n=i,(i={})[n]=t),"string"==typeof i?l=(this[i+"Getter"]||this._defaultGetter).call(this,i,a):(w(i,function(t,e){r=!1,o||c(this,e),this.symbolName&&-1!==h.indexOf(e)&&(s||(this.symbolAttr(i),s=!0),r=!0),!this.rotation||"x"!==e&&"y"!==e||(this.doTransform=!0),r||((r=this[e+"Setter"]||this._defaultSetter).call(this,t,e,a),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(e)&&this.updateShadows(e,t,r))},this),this.afterSetters()),e&&e.call(this),l},O.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},O.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var i=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+i,t.y=Math.floor(t.y||this.y||0)+i,t.width=Math.floor((t.width||this.width||0)-2*i),t.height=Math.floor((t.height||this.height||0)-2*i),x(t.strokeWidth)&&(t.strokeWidth=e),t},O.prototype.complexColor=function(t,i,o){var s,r,n,a,h,l,c,d,p,u,f=this.renderer,g=[];b(this.renderer,"complexColor",{args:arguments},function(){var e;t.radialGradient?s="radialGradient":t.linearGradient&&(s="linearGradient"),s&&(r=t[s],a=f.gradients,h=t.stops,d=o.radialReference,S(r)&&(t[s]=r={x1:r[0],y1:r[1],x2:r[2],y2:r[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===s&&d&&!x(r.gradientUnits)&&(r=M(n=r,f.getRadialAttr(d,n),{gradientUnits:"userSpaceOnUse"})),w(r,function(t,e){"id"!==e&&g.push(e,t)}),w(h,function(t){g.push(t)}),g=g.join(","),a[g]?p=a[g].attr("id"):(r.id=p=L(),(e=a[g]=f.createElement(s).attr(r).add(f.defs)).radAttr=n,e.stops=[],h.forEach(function(t){c=0===t[1].indexOf("rgba")?(c=m.parse(t[1]),l=c.get("rgb"),c.get("a")):(l=t[1],1),t=f.createElement("stop").attr({offset:t[0],"stop-color":l,"stop-opacity":c}).add(e),e.stops.push(t)})),u="url("+f.url+"#"+p+")",o.setAttribute(i,u),o.gradient=g,t.toString=function(){return u})})},O.prototype.css=function(t){var e,i,o=this.styles,s={},r=this.element,n=!o;return t.color&&(t.fill=t.color),o&&w(t,function(t,e){o&&o[e]!==t&&(s[e]=t,n=!0)}),n&&(null===(t=o?v(o,s):t).width||"auto"===t.width?delete this.textWidth:"text"===r.nodeName.toLowerCase()&&t.width&&(e=this.textWidth=A(t.width)),this.styles=t,e&&!l&&this.renderer.forExport&&delete t.width,i=M(t),r.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach(function(t){return i&&delete i[t]}),y(r,i),this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline))),this},O.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var i=t.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(t=i.length;t--;)i[t]=""+A(i[t])*T(e,NaN);t=i.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},O.prototype.destroy=function(){var e,i=this,t=i.element||{},o=i.renderer,s=t.ownerSVGElement,r=o.isSVG&&"SPAN"===t.nodeName&&i.parentGroup||void 0;if(t.onclick=t.onmouseout=t.onmouseover=t.onmousemove=t.point=null,c(i),i.clipPath&&s&&(e=i.clipPath,[].forEach.call(s.querySelectorAll("[clip-path],[CLIP-PATH]"),function(t){-1]*>/g,"").replace(/</g,"<").replace(/>/g,">")},O.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},O.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},O.prototype.updateShadows=function(t,e,i){var o=this.shadows;if(o)for(var s=o.length;s--;)i.call(o[s],"height"===t?Math.max(e-(o[s].cutHeight||0),0):"d"===t?this.d:e,t,o[s])},O.prototype.updateTransform=function(){var t=this.element,e=this.matrix,i=void 0===(i=this.rotation)?0:i,o=this.scaleX,s=this.scaleY,r=this.translateX,n=this.translateY,r=["translate("+(void 0===r?0:r)+","+(void 0===n?0:n)+")"];x(e)&&r.push("matrix("+e.join(",")+")"),i&&r.push("rotate("+i+" "+T(this.rotationOriginX,t.getAttribute("x"),0)+" "+T(this.rotationOriginY,t.getAttribute("y")||0)+")"),(x(o)||x(s))&&r.push("scale("+T(o,1)+" "+T(s,1)+")"),r.length&&!(this.text||this).textPath&&t.setAttribute("transform",r.join(" "))},O.prototype.visibilitySetter=function(t,e,i){"inherit"===t?i.removeAttribute(e):this[e]!==t&&i.setAttribute(e,t),this[e]=t},O.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},O.prototype.zIndexSetter=function(t,e){var i,o=this.renderer,s=((h=this.parentGroup)||o).element||o.box,r=this.element,o=s===o.box,n=!1,a=this.added;if(x(t)?(r.setAttribute("data-z-index",t),this[e]===(t=+t)&&(a=!1)):x(this[e])&&r.removeAttribute("data-z-index"),this[e]=t,a){for((t=this.zIndex)&&h&&(h.handleZ=!0),i=(e=s.childNodes).length-1;0<=i&&!n;i--){var h,a=(h=e[i]).getAttribute("data-z-index"),l=!x(a);h!==r&&(t<0&&l&&!o&&!i?(s.insertBefore(r,e[i]),n=!0):(A(a)<=t||l&&(!x(t)||0<=t))&&(s.insertBefore(r,e[i+1]||null),n=!0))}n||(s.insertBefore(r,e[o?3:0]||null),n=!0)}return n},(t=O).prototype.strokeSetter=t.prototype.fillSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t}),t(e,"Core/Renderer/RendererRegistry.js",[e["Core/Globals.js"]],function(o){var t,s,r;return(s=t=t||{}).rendererTypes={},s.getRendererType=function(t){return void 0===t&&(t=r),s.rendererTypes[t]||s.rendererTypes[r]},s.registerRendererType=function(t,e,i){s.rendererTypes[t]=e,r&&!i||(r=t,o.Renderer=e)},t}),t(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,e){var o,p,i=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=e.defined,n=e.extend,a=e.isNumber,s=e.merge,h=e.pick,l=e.removeEvent;return i(u,p=t),u.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&a(this.xSetting)&&this.attr({x:this.xSetting}))},u.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},u.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},u.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},u.prototype.css=function(e){var i;return e&&(i={},e=s(e),u.textProps.forEach(function(t){void 0!==e[t]&&(i[t]=e[t],delete e[t])}),this.text.css(i),"fontSize"in i||"fontWeight"in i?this.updateTextPadding():("width"in i||"textOverflow"in i)&&this.updateBoxSize()),t.prototype.css.call(this,e)},u.prototype.destroy=function(){l(this.element,"mouseenter"),l(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},u.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},u.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=h(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},u.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},u.prototype.heightSetter=function(t){this.heightSetting=t},u.prototype.onAdd=function(){this.text.add(this),this.attr({text:h(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&r(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},u.prototype.paddingSetter=function(t,e){a(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},u.prototype.rSetter=function(t,e){this.boxAttr(e,t)},u.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},u.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},u.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},u.prototype["text-alignSetter"]=function(t){this.textAlign=t},u.prototype.textSetter=function(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding()},u.prototype.updateBoxSize=function(){var t=this.text,e=t.element.style,i={},o=this.padding,s=this.bBox=a(this.widthSetting)&&a(this.heightSetting)&&!this.textAlign||!r(t.textStr)?u.emptyBBox:t.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||s.height||0)+2*o,e=this.renderer.fontMetrics(e&&e.fontSize,t),this.baselineOffset=o+Math.min((this.text.firstLineMetrics||e).b,s.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-e.h)/2),this.needsBox&&!t.textPath&&(this.box||((t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this)),t=this.getCrispAdjust(),i.x=t,i.y=(this.baseline?-this.baselineOffset:0)+t,i.width=Math.round(this.width),i.height=Math.round(this.height),this.box.attr(n(i,this.deferredAttr)),this.deferredAttr={})},u.prototype.updateTextPadding=function(){var t,e,i=this.text;i.textPath||(this.updateBoxSize(),t=this.baseline?0:this.baselineOffset,e=h(this.paddingLeft,this.padding),r(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(e+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),e===i.x&&t===i.y||(i.attr("x",e),i.hasBoxWidthChanged&&(this.bBox=i.getBBox(!0)),void 0!==t&&i.attr("y",t)),i.x=e,i.y=t)},u.prototype.widthSetter=function(t){this.widthSetting=a(t)?t:void 0},u.prototype.getPaddedWidth=function(){var t=this.padding,e=h(this.paddingLeft,t),t=h(this.paddingRight,t);return(this.widthSetting||this.bBox.width||0)+e+t},u.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},u.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},u.emptyBBox={width:0,height:0,x:0,y:0},u.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),u;function u(t,e,i,o,s,r,n,a,h,l){var c,d=p.call(this)||this;return d.paddingLeftSetter=d.paddingSetter,d.paddingRightSetter=d.paddingSetter,d.init(t,"g"),d.textStr=e,d.x=i,d.y=o,d.anchorX=r,d.anchorY=n,d.baseline=h,d.className=l,d.addClass("button"===l?"highcharts-no-tooltip":"highcharts-label"),l&&d.addClass("highcharts-"+l),d.text=t.text(void 0,0,0,a).attr({zIndex:1}),"string"==typeof s&&((c=/^url\((.*?)\)$/.test(s))||d.renderer.symbols[s])&&(d.symbolKey=s),d.bBox=u.emptyBBox,d.padding=3,d.baselineOffset=0,d.needsBox=t.styledMode||c,d.deferredAttr={},d.alignFactor=0,d}}),t(e,"Core/Renderer/SVG/Symbols.js",[e["Core/Utilities.js"]],function(t){function s(t,e,i,o,s){var r,n,a,h,l,c,d,p,u=[];return s&&(p=s.start||0,r=g(s.r,i),i=g(s.r,o||i),n=(s.end||0)-.001,o=s.innerR,a=g(s.open,Math.abs((s.end||0)-p-2*Math.PI)<.001),h=Math.cos(p),l=Math.sin(p),c=Math.cos(n),d=Math.sin(n),p=g(s.longArc,n-p-Math.PI<.001?0:1),u.push(["M",t+r*h,e+i*l],["A",r,i,0,p,g(s.clockwise,1),t+r*c,e+i*d]),f(o)&&u.push(a?["M",t+o*c,e+o*d]:["L",t+o*c,e+o*d],["A",o,o,0,p,f(s.clockwise)?1-s.clockwise:0,t+o*h,e+o*l]),a||u.push(["Z"])),u}function e(t,e,i,o,s){return s&&s.r?l(t,e,i,o,s):[["M",t,e],["L",t+i,e],["L",t+i,e+o],["L",t,e+o],["Z"]]}function l(t,e,i,o,s){return[["M",t+(s=s&&s.r||0),e],["L",t+i-s,e],["C",t+i,e,t+i,e,t+i,e+s],["L",t+i,e+o-s],["C",t+i,e+o,t+i,e+o,t+i-s,e+o],["L",t+s,e+o],["C",t,e+o,t,e+o,t,e+o-s],["L",t,e+s],["C",t,e,t,e,t+s,e]]}var f=t.defined,c=t.isNumber,g=t.pick;return{arc:s,callout:function(t,e,i,o,s){var r=Math.min(s&&s.r||0,i,o),n=r+6,a=s&&s.anchorX,h=(s=s&&s.anchorY||0,l(t,e,i,o,{r:r}));return c(a)&&(i<=t+a?e+n/g.test(o))?""!==o&&(i&&i.appendChild(e),o=new a(o),this.modifyTree(o.nodes),o.addToDOM(e),this.modifyDOM(),this.ellipsis&&-1!==(e.textContent||"").indexOf("…")&&t.attr("title",this.unescapeEntities(t.textStr||"",["<",">"])),i&&i.removeChild(e)):e.appendChild(p.createTextNode(this.unescapeEntities(o))),h(this.textOutline)&&t.applyTextOutline&&t.applyTextOutline(this.textOutline)}},o.prototype.modifyDOM=function(){var t,h=this,l=this.svgElement,c=f(l.element,"x");for(l.firstLineMetrics=void 0;(t=l.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)l.element.removeChild(t);[].forEach.call(l.element.querySelectorAll("tspan.highcharts-br"),function(t,e){t.nextSibling&&t.previousSibling&&(0===e&&1===t.previousSibling.nodeType&&(l.firstLineMetrics=l.renderer.fontMetrics(void 0,t.previousSibling)),f(t,{dy:h.getLineHeight(t.nextSibling),x:c}))});var i,o,d=this.width||0;d&&(i=function(e,i){var t=e.textContent||"",o=t.replace(/([^\^])-/g,"$1- ").split(" "),s=!h.noWrap&&(1]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20");return""},B.prototype.getStyle=function(t){return this.style=T({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},B.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},B.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},B.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),w(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},B.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},B.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},B.prototype.buildText=function(t){new r(t).buildSVG()},B.prototype.getContrast=function(t){return((t=.2126*(t=e.parse(t).rgba.map(function(t){return(t/=255)<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}))[0]+.7152*t[1]+.0722*t[2])+.05)/.05<1.05/(t+.05)?"#FFFFFF":"#000000"},B.prototype.button=function(t,e,i,o,s,r,n,a,h,l){void 0===s&&(s={});var c,d,p,u=this.label(t,e,i,h,void 0,void 0,l,void 0,"button"),f=this.styledMode,g=(t=s.states||{},0),m=(delete(s=E(s)).states,E({color:"#333333",cursor:"pointer",fontWeight:"normal"},s.style)),y=(delete s.style,x.filterUserAttributes(s));return u.attr(E({padding:8,r:2},y)),f||(y=E({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},y),c=(r=E(y,{fill:"#e6e6e6"},x.filterUserAttributes(r||t.hover||{}))).style,delete r.style,d=(n=E(y,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},x.filterUserAttributes(n||t.select||{}))).style,delete n.style,p=(a=E(y,{style:{color:"#cccccc"}},x.filterUserAttributes(a||t.disabled||{}))).style,delete a.style),b(u.element,v?"mouseover":"mouseenter",function(){3!==g&&u.setState(1)}),b(u.element,v?"mouseout":"mouseleave",function(){3!==g&&u.setState(g)}),u.setState=function(t){1!==t&&(u.state=g=t),u.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),f||(u.attr([y,r,n,a][t||0]),L(t=[m,c,d,p][t||0])&&u.css(t))},f||(u.attr(y).css(T({cursor:"default"},m)),l&&u.text.css({pointerEvents:"none"})),u.on("touchstart",function(t){return t.stopPropagation()}).on("click",function(t){3!==g&&o.call(u,t)})},B.prototype.crispLine=function(t,e,i){void 0===i&&(i="round");var o=t[0],s=t[1];return M(o[1])&&o[1]===s[1]&&(o[1]=s[1]=Math[i](o[1])-e%2/2),M(o[2])&&o[2]===s[2]&&(o[2]=s[2]=Math[i](o[2])+e%2/2),t},B.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return A(t)?e.d=t:L(t)&&T(e,t),this.createElement("path").attr(e)},B.prototype.circle=function(t,e,i){return t=L(t)?t:void 0===t?{}:{x:t,y:e,r:i},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,i){i.setAttribute("c"+e,t)},e.attr(t)},B.prototype.arc=function(t,e,i,o,s,r){return L(t)?(e=(o=t).y,i=o.r,t=o.x):o={innerR:o,start:s,end:r},(t=this.symbol("arc",t,e,i,i,o)).r=i,t},B.prototype.rect=function(t,e,i,o,s,r){s=L(t)?t.r:s;var n=this.createElement("rect");return t=L(t)?t:void 0===t?{}:{x:t,y:e,width:Math.max(i,0),height:Math.max(o,0)},this.styledMode||(void 0!==r&&(t["stroke-width"]=r,t=n.crisp(t)),t.fill="none"),s&&(t.r=s),n.rSetter=function(t,e,i){n.r=t,S(i,{rx:t,ry:t})},n.rGetter=function(){return n.r||0},n.attr(t)},B.prototype.setSize=function(t,e,i){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:D(i,!0)?void 0:0}),this.alignElements()},B.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},B.prototype.image=function(e,t,i,o,s,r){var n={preserveAspectRatio:"none"},a=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)},h=(P(t)&&(n.x=t),P(i)&&(n.y=i),P(o)&&(n.width=o),P(s)&&(n.height=s),this.createElement("image").attr(n));return t=function(t){a(h.element,e),r.call(h,t)},r?(a(h.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),i=new f.Image,b(i,"load",t),i.src=e,i.complete&&t({})):a(h.element,e),h},B.prototype.symbol=function(t,e,i,o,s,l){var r,n,a,h,c=this,d=/^url\((.*?)\)$/,p=d.test(t),u=!p&&(this.symbols[t]?t:"circle"),f=u&&this.symbols[u];return f?("number"==typeof e&&(r=f.call(this.symbols,Math.round(e||0),Math.round(i||0),o||0,s||0,l)),r=this.path(r),c.styledMode||r.attr("fill","none"),T(r,{symbolName:u||void 0,x:e,y:i,width:o,height:s}),l&&T(r,l)):p&&(n=t.match(d)[1],(a=r=this.image(n)).imgwidth=D(y[n]&&y[n].width,l&&l.width),a.imgheight=D(y[n]&&y[n].height,l&&l.height),h=function(t){return t.attr({width:t.width,height:t.height})},["width","height"].forEach(function(t){a[t+"Setter"]=function(t,e){this[e]=t,t=this.alignByTranslate;var i,o=this.element,s=this.width,r=this.height,n=this.imgwidth,a=this.imgheight,h=this["img"+e];M(h)&&(i=1,l&&"within"===l.backgroundSize&&s&&r?(i=Math.min(s/n,r/a),h=Math.round(h*i),S(o,{width:Math.round(n*i),height:Math.round(a*i)})):o&&o.setAttribute(e,h),t||this.translate(((s||0)-h*i)/2,((r||0)-h*i)/2))}}),M(e)&&a.attr({x:e,y:i}),a.isImg=!0,M(a.imgwidth)&&M(a.imgheight)?h(a):(a.attr({width:0,height:0}),k("img",{onload:function(){var t=g[c.chartIndex];0===this.width&&(C(this,{position:"absolute",top:"-999em"}),m.body.appendChild(this)),y[n]={width:this.width,height:this.height},a.imgwidth=this.width,a.imgheight=this.height,a.element&&h(a),this.parentNode&&this.parentNode.removeChild(this),c.imgCount--,c.imgCount||!t||t.hasLoaded||t.onload()},src:n}),this.imgCount++)),r},B.prototype.clipRect=function(t,e,i,o){var s=I()+"-",r=this.createElement("clipPath").attr({id:s}).add(this.defs);return(t=this.rect(t,e,i,o,0).add(r)).id=s,t.clipPath=r,t.count=0,t},B.prototype.text=function(t,e,i,o){var s={};return!o||!this.allowHTML&&this.forExport?(s.x=Math.round(e||0),i&&(s.y=Math.round(i)),M(t)&&(s.text=t),t=this.createElement("text").attr(s),o&&(!this.forExport||this.allowHTML)||(t.xSetter=function(t,e,i){for(var o,s=i.getElementsByTagName("tspan"),r=i.getAttribute(e),n=0;n":">","'":"'",'"':"""},symbols:s,draw:p}),i.registerRendererType("svg",t,!0),t}),t(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,e,i){var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),n=t.isFirefox,a=t.isMS,h=t.isWebKit,l=t.win,f=i.css,g=i.defined,c=i.extend,d=i.pick,m=i.pInt;return r(p,s=e),p.compose=function(t){var e,i;return-1===p.composedClasses.indexOf(t)&&(p.composedClasses.push(t),(i=t.prototype).getSpanCorrection=(e=p.prototype).getSpanCorrection,i.htmlCss=e.htmlCss,i.htmlGetBBox=e.htmlGetBBox,i.htmlUpdateTransform=e.htmlUpdateTransform,i.setSpanRotation=e.setSpanRotation),t},p.prototype.getSpanCorrection=function(t,e,i){this.xCorr=-t*i,this.yCorr=-e},p.prototype.htmlCss=function(t){var e,i="SPAN"===this.element.tagName&&t&&"width"in t,o=d(i&&t.width,void 0);return i&&(delete t.width,this.textWidth=o,e=!0),t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=c(this.styles,t),f(this.element,t),e&&this.htmlUpdateTransform(),this},p.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},p.prototype.htmlUpdateTransform=function(){var e,i,o,s,t,r,n,a,h,l,c,d,p,u;this.added?(e=this.renderer,i=this.element,o=this.translateX||0,s=this.translateY||0,t=this.x||0,r=this.y||0,a={left:0,center:.5,right:1}[n=this.textAlign||"left"],u=(u=this.styles)&&u.whiteSpace,f(i,{marginLeft:o,marginTop:s}),!e.styledMode&&this.shadows&&this.shadows.forEach(function(t){f(t,{marginLeft:o+1,marginTop:s+1})}),this.inverted&&[].forEach.call(i.childNodes,function(t){e.invertChild(t,i)}),"SPAN"===i.tagName&&(h=this.rotation,l=this.textWidth&&m(this.textWidth),c=[h,n,i.innerHTML,this.textWidth,this.textAlign].join(),p=!1,l!==this.oldTextWidth&&(d=this.textPxLength||(f(i,{width:"",whiteSpace:u||"nowrap"}),i.offsetWidth),(l>this.oldTextWidth||l=this.minRange,n=[l-(n=((r=this.minRange)-c+l)/2),L(a.min,l-n)],t&&(n[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),c=[(l=p(n))+r,L(a.max,l+r)],t&&(c[2]=h?h.log2lin(this.dataMax):this.dataMax),(c=u(c))-l=g?(e=g,u=0):this.dataMax<=g&&(i=g,p=0)),this.min=L(m,e,this.dataMin),this.max=L(y,i,this.dataMax)),r&&(this.positiveValuesOnly&&!t&&Math.min(this.min,L(this.dataMin,this.min))<=0&&w(10,1,s),this.min=C(r.log2lin(this.min),16),this.max=C(r.log2lin(this.max),16)),this.range&&M(this.max)&&(this.userMin=this.min=m=Math.max(this.dataMin,this.minFromRange()),this.userMax=y=this.max,this.range=null),T(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(c||this.axisPointRange||this.stacking&&this.stacking.usePercentage||h)&&M(this.min)&&M(this.max)&&(s=this.max-this.min)&&(!M(m)&&u&&(this.min-=s*u),!M(y)&&p&&(this.max+=s*p)),A(this.userMin)||(A(n.softMin)&&n.softMinthis.max&&(this.max=y=n.softMax),A(n.ceiling)&&(this.max=Math.min(this.max,n.ceiling))),d&&M(this.dataMin)&&(g=g||0,!M(m)&&this.min=g?this.min=this.options.minRange?Math.min(g,this.max-this.minRange):g:!M(y)&&this.max>g&&this.dataMax<=g&&(this.max=this.options.minRange?Math.max(g,this.min+this.minRange):g)),A(this.min)&&A(this.max)&&!this.chart.polar&&this.min>this.max&&(M(this.options.min)?this.max=this.min:M(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||void 0===this.min||void 0===this.max?1:h&&this.linkedParent&&!f&&l===this.linkedParent.options.tickPixelInterval?f=this.linkedParent.tickInterval:L(f,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,c?1:(this.max-this.min)*l/Math.max(this.len,l)),a&&!t&&(o=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max),this.series.forEach(function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(o)}),T(this,"postProcessData",{hasExtremesChanged:o})),this.setAxisTranslation(),T(this,"initialAxisTranslation"),this.pointRange&&!f&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=L(n.minTickInterval,this.dateTime&&!this.series.some(function(t){return t.noSharedTooltip})?this.closestPointRange:0),!f&&this.tickIntervalMath.max(2*this.len,200)))if(this.dateTime)a=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,e.units),this.min,this.max,e.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0);else if(this.logarithmic)a=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(s=e=this.tickInterval;s<=2*e&&(a=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&a.length>this.tickAmount);)this.tickInterval=x(this,s*=1.1);else a=[this.min,this.max],w(19,!1,this.chart);a.length>this.len&&((a=[a[0],a[a.length-1]])[0]===a[1]&&(a.length=1)),o&&(this.tickPositions=a,(t=o.apply(this,[this.min,this.max]))&&(a=t))}this.tickPositions=a,this.paddedTicks=a.slice(0),this.trimTicks(a,n,r),!this.isLinked&&A(this.min)&&A(this.max)&&(this.single&&a.length<2&&!this.categories&&!this.series.some(function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement})&&(this.min-=.5,this.max+=.5),i||t||this.adjustTickAmount()),T(this,"afterSetTickPositions")},I.prototype.trimTicks=function(t,e,i){var o=t[0],s=t[t.length-1],r=!this.isOrdinal&&this.minPointOffset||0;if(T(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==o)this.min=o;else for(;this.min-r>t[0];)t.shift();if(i)this.max=s;else for(;this.max+rs||n[n.length-1]e.threshold?n.unshift(C(n[0]-d)):n.push(C(n[n.length-1]+d));if(d>8*e.tickInterval)break;d*=2}h()}else if(lp&&(p=t.label.textPxLength)}),this.maxLabelLength=p,this.autoRotation)hc.h?l.rotation=this.labelRotation:this.labelRotation=0;else if(a){var u=h;if(!d)for(var f="clip",h=i.length;!n&&h--;){var g=i[h];(g=s[g].label)&&(g.styles&&"ellipsis"===g.styles.textOverflow?g.css({textOverflow:"clip"}):g.textPxLength>a&&g.css({width:a+"px"}),g.getBBox().height>this.len/i.length-(c.h-c.f)&&(g.specificTextOverflow="ellipsis"))}}l.rotation&&(u=p>.5*t.chartHeight?.33*t.chartHeight:p,d||(f="ellipsis")),(this.labelAlign=o.align||this.autoLabelAlign(this.labelRotation))&&(l.align=this.labelAlign),i.forEach(function(t){var e=(t=s[t])&&t.label,i=r.width,o={};e&&(e.attr(l),t.shortenLabel?t.shortenLabel():u&&!i&&"nowrap"!==r.whiteSpace&&(u=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(o[t]||(o[t]=new b(this,t)),i&&o[t].isNew&&o[t].render(e,!0,-1),o[t].render(e))},I.prototype.render=function(){var i,o,s,r=this,n=r.chart,a=r.logarithmic,t=r.options,e=r.isLinked,h=r.tickPositions,l=r.axisTitle,c=r.ticks,d=r.minorTicks,p=r.alternateBands,u=t.stackLabels,f=t.alternateGridColor,g=r.tickmarkOffset,m=r.axisLine,y=r.showAxis,x=S(n.renderer.globalAnimation);r.labelEdge.length=0,r.overlap=!1,[c,d,p].forEach(function(t){P(t,function(t){t.isActive=!1})}),(r.hasData()||e)&&(s=r.chart.hasRendered&&r.old&&A(r.old.min),r.minorTickInterval&&!r.categories&&r.getMinorTickPositions().forEach(function(t){r.renderMinorTick(t,s)}),h.length&&(h.forEach(function(t,e){r.renderTick(t,e,s)}),g&&(0===r.min||r.single)&&(c[-1]||(c[-1]=new b(r,-1,null,!0)),c[-1].render(-1))),f&&h.forEach(function(t,e){o=void 0!==h[e+1]?h[e+1]+g:r.max-g,0==e%2&&tthis.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:i.acrossPanes}),i=1,t&&s)for(e&&(o=t.toString()===s.toString(),i=0),e=0;ee})&&(t=t.map(function(t){var e=u(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return j(t,{target:e.y,x:e.x})})),g.cleanSplit(),E(t,P),c),L=c;t.forEach(function(t){var e=t.x,i=t.boxWidth;(t=t.isHeader)||(g.outside&&c+e=o.value;)o=t[++i];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=o&&o.color&&!this.options.color?o.color:this.nonZonedColor,o},M.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},M.prototype.init=function(t,e,i){return this.series=t,this.applyOptions(e,i),this.id=r(this.id)?this.id:C(),this.resolveColor(),t.chart.pointCount++,b(this,"afterInit"),this},M.prototype.isValid=function(){return null!==this.x&&S(this.y)},M.prototype.optionsToObject=function(t){var e=this.series,i=e.options.keys,o=i||e.pointArrayMap||["y"],s=o.length,r={},n=0,a=0;if(S(t)||null===t)r[o[0]]=t;else if(c(t))for(!i&&t.length>s&&("string"===(e=typeof t[0])?r.name=t[0]:"number"===e&&(r.x=t[0]),n++);at.series.index?-1:1)),o&&(n=t)}),n},k.prototype.getChartCoordinatesFromPoint=function(t,e){var i,o,s=(r=t.series).xAxis,r=r.yAxis,n=t.shapeArgs;return s&&r?(i=S(t.clientX,t.plotX),o=t.plotY||0,t.isNode&&n&&v(n.x)&&v(n.y)&&(i=n.x,o=n.y),e?{chartX:r.len+r.pos-o,chartY:s.len+s.pos-i}:{chartX:i+s.pos,chartY:o+r.pos}):n&&n.x&&n.y?{chartX:n.x,chartY:n.y}:void 0},k.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=n(t),i=(this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1},t.offsetWidth),t=t.offsetHeight;return 2x.max&&(i=x.max-h,c=!0),c?(C-=.8*(C-n[p][0]),"number"==typeof M&&(M-=.8*(M-n[p][1])),e()):n[p]=[C,M],y||(r[p]=l-m,r[g]=h),r=y?1/k:k,s[g]=h,s[p]=i,o[y?t?"scaleY":"scaleX":"scale"+u]=k,o["translate"+u]=r*m+(C-r*b)},k.prototype.reset=function(e,t){var i=this.chart,o=i.hoverSeries,s=i.hoverPoint,r=i.hoverPoints,n=i.tooltip,a=n&&n.shared?r:s;e&&a&&h(a).forEach(function(t){t.series.isCartesian&&void 0===t.plotX&&(e=!1)}),e?n&&a&&h(a).length&&(n.refresh(a),n.shared&&r?r.forEach(function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))}):s&&(s.setState(s.state,!0),i.axes.forEach(function(t){t.crosshair&&s.series[t.coll]===t&&t.drawCrosshair(null,s)}))):(s&&s.onMouseOut(),r&&r.forEach(function(t){t.setState()}),o&&o.onMouseOut(),n&&n.hide(t),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach(function(t){t.hideCrosshair()}),this.hoverX=i.hoverPoints=i.hoverPoint=null)},k.prototype.runPointActions=function(o,t,e){var s=this.chart,i=s.tooltip&&s.tooltip.options.enabled?s.tooltip:void 0,r=!!i&&i.shared,n=t||s.hoverPoint,a=n&&n.series||s.hoverSeries,h=(t=this.getHoverData(n,a,s.series,(!o||"touchmove"!==o.type)&&(!!t||a&&a.directTouch&&this.isDirectTouch),r,o),n=t.hoverPoint,a=t.hoverSeries,t.hoverPoints),l=(t=a&&a.tooltipOptions.followPointer&&!a.tooltipOptions.split,r&&a&&!a.noSharedTooltip);if(n&&(e||n!==s.hoverPoint||i&&i.isHidden)){if((s.hoverPoints||[]).forEach(function(t){-1===h.indexOf(t)&&t.setState()}),s.hoverSeries!==a&&a.onMouseOver(),this.applyInactiveState(h),(h||[]).forEach(function(t){t.setState("hover")}),s.hoverPoint&&s.hoverPoint.firePointEvent("mouseOut"),!n.series)return;s.hoverPoints=h,(s.hoverPoint=n).firePointEvent("mouseOver",void 0,function(){i&&n&&i.refresh(l?h:n,o)})}else t&&i&&!i.isHidden&&(e=i.getAnchor([{}],o),s.isInsidePlot(e[0],e[1],{visiblePlotOnly:!0})&&i.updatePosition({plotX:e[0],plotY:e[1]}));this.unDocMouseMove||(this.unDocMouseMove=d(s.container.ownerDocument,"mousemove",function(t){var e=c[k.hoverChartIndex];e&&e.pointer.onDocumentMouseMove(t)}),this.eventsToUnbind.push(this.unDocMouseMove)),s.axes.forEach(function(e){var t,i=S((e.crosshair||{}).snap,!0);(t=!i||(t=s.hoverPoint)&&t.series[e.coll]===e?t:p(h,function(t){return t.series&&t.series[e.coll]===e}))||!i?e.drawCrosshair(o,t):e.hideCrosshair()})},k.prototype.scaleGroups=function(i,o){var s=this.chart;s.series.forEach(function(t){var e=i||t.getPlotBox();t.group&&(t.xAxis&&t.xAxis.zoomEnabled||s.mapView)&&(t.group.attr(e),t.markerGroup&&(t.markerGroup.attr(e),t.markerGroup.clip(o?s.clipRect:null)),t.dataLabelsGroup&&t.dataLabelsGroup.attr(e))}),s.clipRect.attr(o||s.clipBox)},k.prototype.setDOMEvents=function(){var t=this,e=this.chart.container,i=e.ownerDocument;e.onmousedown=this.onContainerMouseDown.bind(this),e.onmousemove=this.onContainerMouseMove.bind(this),e.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(d(e,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(d(e,"mouseleave",this.onContainerMouseLeave.bind(this))),k.unbindDocumentMouseUp||(k.unbindDocumentMouseUp=d(i,"mouseup",this.onDocumentMouseUp.bind(this)));for(var o=this.chart.renderTo.parentElement;o&&"BODY"!==o.tagName;)this.eventsToUnbind.push(d(o,"scroll",function(){delete t.chartPosition})),o=o.parentElement;s.hasTouch&&(this.eventsToUnbind.push(d(e,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(d(e,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),k.unbindDocumentTouchEnd||(k.unbindDocumentTouchEnd=d(i,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},k.prototype.setHoverChartIndex=function(){var t=this.chart,e=s.charts[S(k.hoverChartIndex,-1)];e&&e!==t&&e.pointer.onContainerMouseLeave({relatedTarget:t.container}),e&&e.mouseIsDown||(k.hoverChartIndex=t.index)},k.prototype.touch=function(t,e){var i,o=this.chart;this.setHoverChartIndex(),1===t.touches.length?(t=this.normalize(t),o.isInsidePlot(t.chartX-o.plotLeft,t.chartY-o.plotTop,{visiblePlotOnly:!0})&&!o.openMenu?(e&&this.runPointActions(t),"touchmove"===t.type&&(i=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2))),S(i,!0)&&this.pinch(t)):e&&this.reset()):2===t.touches.length&&this.pinch(t)},k.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zooming.singleTouch||!t.touches||1!==t.touches.length)},k.prototype.zoomOption=function(t){var e=(i=this.chart).options.chart,i=i.inverted,o=e.zooming.type||"";/touch/.test(t.type)&&(o=S(e.zooming.pinchType,o)),this.zoomX=t=/x/.test(o),this.zoomY=e=/y/.test(o),this.zoomHor=t&&!i||e&&i,this.zoomVert=e&&!i||t&&i,this.hasZoom=t||e},t=k}),t(e,"Core/MSPointer.js",[e["Core/Globals.js"],e["Core/Pointer.js"],e["Core/Utilities.js"]],function(t,n,e){function i(t,e,i,o){var s,r=a[n.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!r||(r=r.pointer,o(t),r[e]({type:i,target:t.currentTarget,preventDefault:l,touches:((s=[]).item=function(t){return this[t]},u(m,function(t){s.push({pageX:t.pageX,pageY:t.pageY,target:t.target})}),s)}))}var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),a=t.charts,h=t.doc,l=t.noop,c=t.win,d=e.addEvent,p=e.css,u=e.objectEach,f=e.pick,g=e.removeEvent,m={},y=!!c.PointerEvent;return r(x,s=n),x.isRequired=function(){return!(t.hasTouch||!c.PointerEvent&&!c.MSPointerEvent)},x.prototype.batchMSEvents=function(t){t(this.chart.container,y?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,y?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(h,y?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},x.prototype.destroy=function(){this.batchMSEvents(g),s.prototype.destroy.call(this)},x.prototype.init=function(t,e){s.prototype.init.call(this,t,e),this.hasZoom&&p(t.container,{"-ms-touch-action":"none","touch-action":"none"})},x.prototype.onContainerPointerDown=function(t){i(t,"onContainerTouchStart","touchstart",function(t){m[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}})},x.prototype.onContainerPointerMove=function(t){i(t,"onContainerTouchMove","touchmove",function(t){m[t.pointerId]={pageX:t.pageX,pageY:t.pageY},m[t.pointerId].target||(m[t.pointerId].target=t.currentTarget)})},x.prototype.onDocumentPointerUp=function(t){i(t,"onDocumentTouchEnd","touchend",function(t){delete m[t.pointerId]})},x.prototype.setDOMEvents=function(){var t=this.chart.tooltip;s.prototype.setDOMEvents.call(this),(this.hasZoom||f(t&&t.options.followTouchMove,!0))&&this.batchMSEvents(d)},x;function x(){return null!==s&&s.apply(this,arguments)||this}}),t(e,"Core/Legend/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Series/Point.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Utilities.js"]],function(t,e,i,d,o,s){var p=t.animObject,u=t.setAnimation,r=e.format,a=i.marginNames,h=o.distribute,n=s.addEvent,l=s.createElement,c=s.css,f=s.defined,g=s.discardElement,m=s.find,y=s.fireEvent,x=s.isNumber,v=s.merge,S=s.pick,b=s.relativeLength,k=s.stableSort,C=s.syncTimeout;function M(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options=void 0,this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return M.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),n(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=n(this.chart,"render",function(){this.legend.proximatePositions(),this.legend.positionItems()}):this.unchartrender&&this.unchartrender())},M.prototype.setOptions=function(t){var e=S(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=v(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=S(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},M.prototype.update=function(t,e){var i=this.chart;this.setOptions(v(!0,this.options,t)),this.destroy(),i.isDirtyLegend=i.isDirtyBox=!0,S(e,!0)&&i.redraw(),y(this,"afterUpdate")},M.prototype.colorizeItem=function(t,e){var i,o,s,r,n=(l=t.legendItem||{}).group,a=l.label,h=l.line,l=l.symbol;n&&n[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),this.chart.styledMode||(i=this.options,n=this.itemHiddenStyle.color,i=e?i.itemStyle.color:n,o=e&&t.color||n,s=t.options&&t.options.marker,r={fill:o},a&&a.css({fill:i,color:i}),h&&h.attr({stroke:o}),l&&(s&&l.isMarker&&(r=t.pointAttribs(),e||(r.stroke=r.fill=n)),l.attr(r))),y(this,"afterColorizeItem",{item:t,visible:e})},M.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},M.prototype.positionItem=function(t){var e=this,i=t.legendItem||{},o=i.group,s=void 0===(s=i.x)?0:s;i=void 0===(i=i.y)?0:i;var r=(a=this.options).symbolPadding,n=!a.rtl,a=t.checkbox;o&&o.element&&(r={translateX:n?s:this.legendWidth-s-2*r-4,translateY:i},o[f(o.translateY)?"animate":"attr"](r,void 0,function(){y(e,"afterPositionItem",{item:t})})),a&&(a.x=s,a.y=i)},M.prototype.destroyItem=function(t){for(var e=t.checkbox,i=t.legendItem||{},o=0,s=["group","label","line","symbol"];o1.5*o?i.height:o))},M.prototype.layoutItem=function(t){var e=this.options,i=this.padding,o="horizontal"===e.layout,s=t.itemHeight,r=this.itemMarginBottom,n=this.itemMarginTop,a=o?S(e.itemDistance,20):0,h=this.maxLegendWidth,e=e.alignColumns&&this.totalItemWidth>h?this.maxItemWidth:t.itemWidth,l=t.legendItem||{};o&&this.itemX-i+e>h&&(this.itemX=i,this.lastLineHeight&&(this.itemY+=n+this.lastLineHeight+r),this.lastLineHeight=0),this.lastItemY=n+this.itemY+r,this.lastLineHeight=Math.max(s,this.lastLineHeight),l.x=this.itemX,l.y=this.itemY,o?this.itemX+=e:(this.itemY+=n+s+r,this.lastLineHeight=s),this.offsetWidth=this.widthOption||Math.max((o?this.itemX-i-(t.checkbox?0:a):e)+i,this.offsetWidth)},M.prototype.getAllItems=function(){var i=[];return this.chart.series.forEach(function(t){var e=t&&t.options;t&&S(e.showInLegend,!f(e.linkedTo)&&void 0,!0)&&(i=i.concat((t.legendItem||{}).labels||("point"===e.legendType?t.data:t)))}),y(this,"afterGetAllItems",{allItems:i}),i},M.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},M.prototype.adjustMargins=function(i,o){var s=this.chart,r=this.options,n=this.getAlignment();n&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(t,e){t.test(n)&&!f(i[e])&&(s[a[e]]=Math.max(s[a[e]],s.legend[(e+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][e]*r[e%2?"x":"y"]+S(r.margin,12)+o[e]+(s.titleOffset[e]||0)))})},M.prototype.proximatePositions=function(){var s=this.chart,r=[],n="left"===this.options.align;this.allItems.forEach(function(t){var e,i,o=n;t.yAxis&&(t.xAxis.options.reversed&&(o=!o),t.points&&(e=m(o?t.points:t.points.slice(0).reverse(),function(t){return x(t.plotY)})),o=this.itemMarginTop+t.legendItem.label.getBBox().height+this.itemMarginBottom,i=t.yAxis.top-s.plotTop,t.visible?(e=e?e.plotY:t.yAxis.height,e+=i-.3*o):e=i+t.yAxis.height,r.push({target:e,size:o,item:t}))},this);for(var t=0,e=h(r,s.plotHeight);ts&&(r||t)!==y[o-1])&&(y.push(r||t),o++),n.pageIx=o-1,r&&((x[e-1].legendItem||{}).pageIx=o-1),e===x.length-1&&t+i-y[o-1]>s&&i<=s&&(y.push(t),n.pageIx=o),t!==r&&(r=t)}),b||(b=o.clipRect=h.clipRect(0,p,9999,0),o.contentGroup.clip(b)),e(s),v||(this.nav=v=h.g().attr({zIndex:1}).add(this.group),this.up=h.symbol("triangle",0,0,m,m).add(v),i("upTracker").on("click",function(){o.scroll(-1,g)}),this.pager=h.text("",15,10).addClass("highcharts-legend-navigation"),!a.styledMode&&f.style&&this.pager.css(f.style),this.pager.add(v),this.down=h.symbol("triangle-down",0,0,m,m).add(v),i("downTracker").on("click",function(){o.scroll(1,g)})),o.scroll(0),t=c):v&&(e(),this.nav=v.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},M.prototype.scroll=function(t,e){var i=this,o=this.chart,s=this.pages,r=s.length,n=this.clipHeight,a=this.options.navigation,h=this.pager,l=this.padding,c=this.currentPage+t;0<(c=r=Math.max(l+n,o.pos)&&h<=Math.min(l+n+r.width,o.pos+o.len)||(t.isInsidePlot=!1)),!i.ignoreY&&t.isInsidePlot&&(s=i.axis&&!i.axis.isXAxis&&i.axis||d&&(s?d.xAxis:d.yAxis)||{pos:a,len:1/0},(i=i.paneCoordinates?s.pos+e:a+e)>=Math.max(c+a,s.pos)&&i<=Math.min(c+a+r.height,s.pos+s.len)||(t.isInsidePlot=!1)),w(this,"afterIsInsidePlot",t),t.isInsidePlot},B.prototype.redraw=function(t){w(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],i=this.series,o=this.pointer,s=this.legend,r=this.userOptions.legend,n=this.renderer,a=n.isHidden(),h=[],l=this.isDirtyBox,c=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),f(!!this.hasRendered&&t,this),a&&this.temporaryDisplay(),this.layOutTitles(),t=i.length;t--;){var d=i[t];if(d.options.stacking||d.options.centerInCategory){var p=!0;if(d.isDirty){var u=!0;break}}}if(u)for(t=i.length;t--;)(d=i[t]).options.stacking&&(d.isDirty=!0);i.forEach(function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),c=!0):r&&(r.labelFormatter||r.labelFormat)&&(c=!0)),t.isDirtyData&&w(t,"updatedData")}),c&&s&&s.options.enabled&&(s.render(),this.isDirtyLegend=!1),p&&this.getStacks(),e.forEach(function(t){t.updateNames(),t.setScale()}),this.getMargins(),e.forEach(function(t){t.isDirty&&(l=!0)}),e.forEach(function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,h.push(function(){w(t,"afterSetExtremes",M(t.eventArgs,t.getExtremes())),delete t.eventArgs})),(l||p)&&t.redraw()}),l&&this.drawChartBox(),w(this,"predraw"),i.forEach(function(t){(l||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1}),o&&o.reset(!0),n.draw(),w(this,"redraw"),w(this,"render"),a&&this.temporaryDisplay(!0),h.forEach(function(t){t.call()})},B.prototype.get=function(e){function t(t){return t.id===e||t.options&&t.options.id===e}for(var i=this.series,o=r(this.axes,t)||r(this.series,t),s=0;!o&&s=j(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return j(e,t.length-1)},B.prototype.bindAxes=function(){var o,s=this,r=s.options,t=s.chart;P(this,"bindAxes",null,function(){(s.axisTypes||[]).forEach(function(e){var i=0;t[e].forEach(function(t){o=t.options,(r[e]===i&&!o.isInternal||void 0!==r[e]&&r[e]===o.id||void 0===r[e]&&0===o.index)&&(s.insert(t.series),(s[e]=t).isDirty=!0),o.isInternal||i++}),s[e]||s.optionalAxis===e||k(18,!0,t)})}),P(this,"afterBindAxes")},B.prototype.updateParallelArrays=function(i,o){var s=i.series,e=arguments,t=O(o)?function(t){var e="y"===t&&s.toYData?s.toYData(i):i[t];s[t+"Data"][o]=e}:function(t){Array.prototype[o].apply(s[t+"Data"],Array.prototype.slice.call(e,2))};s.parallelArrays.forEach(t)},B.prototype.hasData=function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0=this.cropStart?s-this.cropStart:s),s=!o&&O(s)&&a[s]&&a[s].touched?void 0:s},B.prototype.updateData=function(t,e){var s,i,r,n=this.options,a=n.dataSorting,h=this.points,l=[],c=this.requireSorting,d=t.length===h.length,o=!0;if(this.xIncrement=null,t.forEach(function(t,e){var i=A(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},o=i.x;i.id||O(o)?(-1===(i=this.findPointIndex(i,r))||void 0===i?l.push(t):h[i]&&t!==n.data[i]?(h[i].update(t,!1,null,!1),h[i].touched=!0,c&&(r=i+1)):h[i]&&(h[i].touched=!0),(!d||e!==i||a&&a.enabled||this.hasDerivedData)&&(s=!0)):l.push(t)},this),s)for(t=h.length;t--;)(i=h[t])&&!i.touched&&i.remove&&i.remove(!1,e);else!d||a&&a.enabled?o=!1:(t.forEach(function(t,e){t!==h[e].y&&h[e].update&&h[e].update(t,!1,null,!1)}),l.length=0);return h.forEach(function(t){t&&(t.touched=!1)}),!!o&&(l.forEach(function(t){this.addPoint(t,!1,null,null,!1)},this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=x(this.xData),this.autoIncrement()),!0)},B.prototype.setData=function(t,e,i,o){void 0===e&&(e=!0);var s,r,n=this,a=n.points,h=a&&a.length||0,l=n.options,c=n.chart,d=l.dataSorting,p=n.xAxis,u=l.turboThreshold,f=this.xData,g=this.yData,m=(m=n.pointArrayMap)&&m.length,y=l.keys,x=0,v=1;if(c.options.chart.allowMutatingData||(l.data&&delete n.options.data,n.userOptions.data&&delete n.userOptions.data,r=E(!0,t)),r=(t=r||t||[]).length,d&&d.enabled&&(t=this.sortData(t)),!(s=c.options.chart.allowMutatingData&&!1!==o&&r&&h&&!n.cropped&&!n.hasGroupedData&&n.visible&&!n.boosted?this.updateData(t,i):s)){if(n.xIncrement=null,n.colorCounter=0,this.parallelArrays.forEach(function(t){n[t+"Data"].length=0}),u&&ui?(d=[],p=[]):this.yData&&(d[0]i)&&(d=(o=this.cropData(this.xData,this.yData,e,i)).xData,p=o.yData,c=o.start,o=!0)),a=d.length||1;--a;)0<(r=n?t(d[a])-t(d[a-1]):d[a]-d[a-1])&&(void 0===s||r=i){a=Math.max(0,r-s);break}for(i=r;io){h=i+s;break}return{xData:t.slice(a,h),yData:e.slice(a,h),start:a,end:h}},B.prototype.generatePoints=function(){var t,e,i=this.options,o=this.processedData||i.data,s=this.processedXData,r=this.processedYData,n=this.pointClass,a=s.length,h=this.cropStart||0,l=this.hasGroupedData,c=i.keys,d=[],i=i.dataGrouping&&i.dataGrouping.groupAll?h:0,p=this.data;for(p||l||((f=[]).length=o.length,p=this.data=f),c&&l&&(this.options.keys=!1),e=0;e=h&&(r[i-a]||p)<=l;if(f&&p)if(f=u.length)for(;f--;)O(u[f])&&(n[c++]=u[f]);else n[c++]=u}return t={activeYData:n,dataMin:v(n),dataMax:x(n)},P(this,"afterGetExtremes",{dataExtremes:t}),t},B.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},B.prototype.getFirstValidPoint=function(t){for(var e=t.length,i=0,o=null;null===o&&i=n.enabledThreshold*n.radius);if(!1!==n.enabled||this._hasPointMarkers)for(e=0;el.max,c.resetZones&&0===i&&(i=void 0)}),this.clips=u):c.visible&&(f&&f.show(),g&&g.show())},B.prototype.plotGroup=function(t,e,i,o,s){var r=this[t],n=!r;return i={visibility:i,zIndex:o||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(i.opacity=this.opacity),n&&(this[t]=r=this.chart.renderer.g().add(s)),r.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(A(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(r.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),r.attr(i)[n?"attr":"animate"](this.getPlotBox(e)),r},B.prototype.getPlotBox=function(t){var e=this.xAxis,i=this.yAxis,o=this.chart;return t=o.inverted&&!o.polar&&e&&!1!==this.invertible&&"series"===t,o.inverted&&(e=i,i=this.xAxis),{translateX:e?e.left:o.plotLeft,translateY:i?i.top:o.plotTop,rotation:t?90:0,rotationOriginX:t?(e.len-i.len)/2:0,rotationOriginY:t?(e.len+i.len)/2:0,scaleX:t?-1:1,scaleY:1}},B.prototype.removeEvents=function(t){t||N(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(t){t()}),this.eventsToUnbind.length=0)},B.prototype.render=function(){var t=this,e=t.chart,i=t.options,o=d(i.animation),s=t.visible?"inherit":"hidden",r=i.zIndex,n=t.hasRendered,a=e.seriesGroup,e=!t.finishedAnimating&&e.renderer.isSVG?o.duration:0;P(this,"render"),t.plotGroup("group","series",s,r,a),t.markerGroup=t.plotGroup("markerGroup","markers",s,r,a),!1!==i.clip&&t.setClip(),t.animate&&e&&t.animate(!0),t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.animate&&e&&t.animate(),n||(e&&o.defer&&(e+=o.defer),t.animationTimeout=I(function(){t.afterAnimate()},e||0)),t.isDirty=!1,t.hasRendered=!0,P(t,"afterRender")},B.prototype.redraw=function(){var t=this.isDirty||this.isDirtyData;this.translate(),this.render(),t&&delete this.kdTree},B.prototype.searchPoint=function(t,e){var i=this.xAxis,o=this.yAxis,s=this.chart.inverted;return this.searchKDTree({clientX:s?i.len-t.chartY+i.pos:t.chartX-i.pos,plotY:s?o.len-t.chartX+o.pos:t.chartY-o.pos},e,t)},B.prototype.buildKDTree=function(t){this.buildingKdTree=!0;var n=this,e=-1u;)f--;this.updateParallelArrays(p,"splice",f,0,0),this.updateParallelArrays(p,f),l&&p.name&&(l[u]=p.name),c.splice(f,0,t),(r||this.processedData)&&(this.data.splice(f,0,null),this.processData()),"point"===n.legendType&&this.generatePoints(),i&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(p,"shift"),c.shift())),!1!==s&&P(this,"addPoint",{point:p}),this.isDirtyData=this.isDirty=!0,e&&h.redraw(o)},B.prototype.removePoint=function(t,e,i){function o(){a&&a.length===r.length&&a.splice(t,1),r.splice(t,1),s.options.data.splice(t,1),s.updateParallelArrays(n||{series:s},"splice",t,1),n&&n.destroy(),s.isDirty=!0,s.isDirtyData=!0,e&&h.redraw()}var s=this,r=s.data,n=r[t],a=s.points,h=s.chart;p(i,h),e=j(e,!0),n?n.firePointEvent("remove",null,o):o()},B.prototype.remove=function(t,e,i,o){function s(){r.destroy(o),n.isDirtyLegend=n.isDirtyBox=!0,n.linkSeries(),j(t,!0)&&n.redraw(e)}var r=this,n=r.chart;!1!==i?P(r,"remove",null,s):s()},B.prototype.update=function(t,e){t=b(t,this.userOptions),P(this,"update",{options:t});var i,o=this,s=o.chart,r=o.userOptions,n=o.initialType||o.type,a=s.options.plotOptions,h=y[n].prototype,l=o.finishedAnimating&&{animation:!1},c={},d=["eventOptions","navigatorSeries","baseSeries"],p=t.type||r.type||s.options.chart.type,u=!(this.hasDerivedData||p&&p!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||t.joinBy||t.mapData||o.hasOptionChanged("dataGrouping")||o.hasOptionChanged("pointStart")||o.hasOptionChanged("pointInterval")||o.hasOptionChanged("pointIntervalUnit")||o.hasOptionChanged("keys")),p=p||n;if(u&&(d.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&d.push("area","graph"),o.parallelArrays.forEach(function(t){d.push(t+"Data")}),t.data&&(t.dataSorting&&C(o.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=E(r,l,{index:(void 0===r.index?o:r).index,pointStart:j(a&&a.series&&a.series.pointStart,r.pointStart,o.xData[0])},!u&&{data:o.options.data},t),u&&t.data&&(t.data=o.options.data),(d=["group","markerGroup","dataLabelsGroup","transformGroup","shadowGroup"].concat(d)).forEach(function(t){d[t]=o[t],delete o[t]}),a=!1,y[p]){if(a=p!==o.type,o.remove(!1,!1,!1,!0),a)if(Object.setPrototypeOf)Object.setPrototypeOf(o,y[p].prototype);else{for(i in l=Object.hasOwnProperty.call(o,"hcEvents")&&o.hcEvents,h)o[i]=void 0;C(o,y[p].prototype),l?o.hcEvents=l:delete o.hcEvents}}else k(17,!0,s,{missingModuleFor:p});if(d.forEach(function(t){o[t]=d[t]}),o.init(s,t),u&&this.points)for(!1===(t=o.options).visible?(c.graphic=1,c.dataLabel=1):o._hasPointLabels||(h=t.marker,i=t.dataLabels,r=r.marker||{},!h||!1!==h.enabled&&r.symbol===h.symbol&&r.height===h.height&&r.width===h.width||(c.graphic=1),i&&!1===i.enabled&&(c.dataLabel=1)),r=0,h=this.points;rm?e-m:g-(o?m:0)),M(t.options.pointWidth)&&(n=h=Math.ceil(t.options.pointWidth),a-=Math.round((n-x)/2)),d.centerInCategory&&(a=l.adjustForMissingColumns(a,n,t,y)),t.barX=a,t.pointWidth=n,t.tooltipPos=c.inverted?[C(u.len+u.pos-c.plotLeft-i,u.pos-c.plotLeft,u.len+u.pos-c.plotLeft),p.len+p.pos-c.plotTop-a-h/2,r]:[p.left-c.plotLeft+a+h/2,C(i+u.pos-c.plotTop,u.pos-c.plotTop,u.len+u.pos-c.plotTop),r],t.shapeType=l.pointClass.prototype.shapeType||"rect",t.shapeArgs=l.crispCol.apply(l,t.isNull?[a,g,h,0]:[a,s,h,r])})},v.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},v.prototype.pointAttribs=function(t,e){var i,o=this.options,s=(h=this.pointAttrToOptions||{}).stroke||"borderColor",r=h["stroke-width"]||"borderWidth",n=t&&t.color||this.color,a=t&&t[s]||o[s]||n,h=t&&t.options.dashStyle||o.dashStyle,l=t&&t[r]||o[r]||this[r]||0,c=T(t&&t.opacity,o.opacity,1);return t&&this.zones.length&&(i=t.getZone(),n=t.options.color||i&&(i.color||t.nonZonedColor)||this.color,i&&(a=i.borderColor||a,h=i.dashStyle||h,l=i.borderWidth||l)),e&&t&&(e=(t=y(o.states[e],t.options.states&&t.options.states[e]||{})).brightness,n=t.color||void 0!==e&&p(n).brighten(t.brightness).get()||n,a=t[s]||a,l=t[r]||l,h=t.dashStyle||h,c=T(t.opacity,c)),s={fill:n,stroke:a,"stroke-width":l,opacity:c},h&&(s.dashstyle=h),s},v.prototype.drawPoints=function(t){void 0===t&&(t=this.points);var s,r=this,n=this.chart,a=r.options,h=n.renderer,l=a.animationLimit||250;t.forEach(function(t){var e=t.graphic,i=!!e,o=e&&n.pointCount"===a&&l="===a&&l<=h||"<="===a&&h<=l||"=="===a&&h==l||"==="===a&&h===l)),h=p.connectors?p.connectors[e]:p.connector,l=p.dataLabels?p.dataLabels[e]:p.dataLabel,c=!l,d=k(t.distance,p.labelDistance);a&&(i=p.getLabelConfig(),o=k(t[p.formatPrefix+"Format"],t.format),i=b(o)?v(o,i,g):(t[p.formatPrefix+"Formatter"]||t.formatter).call(i,t),o=t.style,s=t.rotation,g.styledMode||(o.color=k(t.color,o.color,f.color,"#000000"),"contrast"===o.color?(p.contrastColor=y.getContrast(p.color||f.color),o.color=!b(d)&&t.inside||d<0||m.stacking?p.contrastColor:x):delete p.contrastColor,m.cursor&&(o.cursor=m.cursor)),r={r:t.borderRadius||0,rotation:s,padding:t.padding,zIndex:1},g.styledMode||(d=t.backgroundColor,n=t.borderColor,r.fill="auto"===d?p.color:d,r.stroke="auto"===n?p.color:n,r["stroke-width"]=t.borderWidth),S(r,function(t,e){void 0===t&&delete r[e]})),!l||a&&b(i)&&!!l.div==!!t.useHTML&&(l.rotation&&t.rotation||l.rotation===t.rotation)||(c=!0,p.dataLabel=l=p.dataLabel&&p.dataLabel.destroy(),p.dataLabels&&(1===p.dataLabels.length?delete p.dataLabels:delete p.dataLabels[e]),e||delete p.dataLabel,h&&(p.connector=p.connector.destroy(),p.connectors&&(1===p.connectors.length?delete p.connectors:delete p.connectors[e]))),a&&b(i)?(l?r.text=i:(p.dataLabels=p.dataLabels||[],l=p.dataLabels[e]=s?y.text(i,0,0,t.useHTML).addClass("highcharts-data-label"):y.label(i,0,0,t.shape,null,null,t.useHTML,null,"data-label"),e||(p.dataLabel=l),l.addClass(" highcharts-data-label-color-"+p.colorIndex+" "+(t.className||"")+(t.useHTML?" highcharts-tracker":""))),l.options=t,l.attr(r),g.styledMode||l.css(o).shadow(t.shadow),(e=t[p.formatPrefix+"TextPath"]||t.textPath)&&!t.useHTML&&(l.setTextPath(p.getDataLabelPath&&p.getDataLabelPath(l)||p.graphic,e),p.dataLabelPath&&!e.enabled&&(p.dataLabelPath=p.dataLabelPath.destroy())),l.added||l.add(u),f.alignDataLabel(p,l,t,null,c)):l&&l.hide()})})),n(this,"afterDrawDataLabels")}function u(t,e,i,o,s,r){var n,a=this.chart,h=e.align,l=e.verticalAlign,c=!t.box&&t.padding||0,d=void 0===(d=e.x)?0:d,p=void 0===(p=e.y)?0:p,u=(i.x||0)+c;return u<0&&("right"===h&&0<=d?(e.align="left",e.inside=!0):d-=u,n=!0),(u=(i.x||0)+o.width-c)>a.plotWidth&&("left"===h&&d<=0?(e.align="right",e.inside=!0):d+=a.plotWidth-u,n=!0),(u=i.y+c)<0&&("bottom"===l&&0<=p?(e.verticalAlign="top",e.inside=!0):p-=u,n=!0),(u=(i.y||0)+o.height-c)>a.plotHeight&&("top"===l&&p<=0?(e.verticalAlign="bottom",e.inside=!0):p+=a.plotHeight-u,n=!0),n&&(e.x=d,e.y=p,t.placed=!r,t.align(e,void 0,s)),n}function C(e,i){var t,o=[];if(a(e)&&!a(i))o=e.map(function(t){return l(t,i)});else if(a(i)&&!a(e))o=i.map(function(t){return l(e,t)});else if(a(e)||a(i))for(t=Math.max(e.length,i.length);t--;)o[t]=l(e[t],i[t]);else o=l(e,i);return o}function f(t,e,i,o,s){var r=this.chart,n=r.inverted,a=this.xAxis,h=a.reversed,l=n?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=n?s.x:h?-l-t:a.width-l+t,e.startYPos=n?h?this.yAxis.height-l+t:-l-t:s.y,o?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),r.hasRendered&&(i&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}return o=o||{},s=[],o.compose=function(t){var e;-1===s.indexOf(t)&&(e=t.prototype,s.push(t),e.alignDataLabel=d,e.drawDataLabels=p,e.justifyDataLabel=u,e.setDataLabelStartPos=f)},o}),t(e,"Series/Column/ColumnDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,t,i){var o,s,d=t.series,p=i.merge,u=i.pick;function r(t,e,i,o,s){var r=this.chart.inverted,n=((a=t.series).xAxis?a.xAxis.len:this.chart.plotSizeX)||0,a=(a.yAxis?a.yAxis.len:this.chart.plotSizeY)||0,h=t.dlBox||t.shapeArgs,l=u(t.below,t.plotY>u(this.translatedThreshold,a)),c=u(i.inside,!!this.options.stacking);h&&((o=p(h)).y<0&&(o.height+=o.y,o.y=0),0<(h=o.y+o.height-a)&&h {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}}}),t(e,"Series/Scatter/ScatterSeries.js",[e["Series/Scatter/ScatterSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i){var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),n=(h=e.seriesTypes).column,a=h.line,h=i.addEvent,l=i.extend,c=i.merge;function d(){var t=null!==s&&s.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(d,s=a),d.prototype.applyJitter=function(){var h=this,l=this.options.jitter,c=this.points.length;l&&this.points.forEach(function(n,a){["x","y"].forEach(function(t,e){var i,o,s,r="plot"+t.toUpperCase();l[t]&&!n.isNull&&(s=h[t+"Axis"],i=l[t]*s.transA,s&&!s.isLog&&(o=Math.max(0,n[r]-i),s=Math.min(s.len,n[r]+i),e=1e4*Math.sin(a+e*c),n[r]=o+(s-o)*(e-Math.floor(e)),"x"===t&&(n.clientX=n.plotX)))})})},d.prototype.drawGraph=function(){this.options.lineWidth?s.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},d.defaultOptions=c(a.defaultOptions,t),l((i=d).prototype,{drawTracker:n.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),h(i,"afterTranslate",function(){this.applyJitter()}),e.registerSeriesType("scatter",i),i}),t(e,"Series/CenteredUtilities.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(t,c,e){var i,o=t.deg2rad,d=e.fireEvent,p=e.isNumber,u=e.pick,f=e.relativeLength;return(t=i=i||{}).getCenter=function(){var t=this.options,e=this.chart,i=2*(t.slicedOffset||0),o=e.plotWidth-2*i,s=e.plotHeight-2*i,r=t.center,n=Math.min(o,s),a=t.thickness,h=t.size,l=t.innerSize||0;for("string"==typeof h&&(h=parseFloat(h)),"string"==typeof l&&(l=parseFloat(l)),t=[u(r[0],"50%"),u(r[1],"50%"),u(h&&h<0?void 0:t.size,"100%"),u(l&&l<0?void 0:t.innerSize||0,"0%")],!e.angular||this instanceof c||(t[3]=0),r=0;r<4;++r)h=t[r],e=r<2||2===r&&/%$/.test(h),t[r]=f(h,[o,s,n,t[2]][r])+(e?i:0);return t[3]>t[2]&&(t[3]=t[2]),p(a)&&2*at.x||se.x)&&(o=!1),t=[["M",t.x,t.y]],o&&t.push(i),t.push(["L",e.x,e.y]),t}}}),e}),t(e,"Series/Pie/PieSeriesDefaults.js",[],function(){return{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}}),t(e,"Series/Pie/PieSeries.js",[e["Series/CenteredUtilities.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Series/Pie/PiePoint.js"],e["Series/Pie/PieSeriesDefaults.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],function(t,e,i,o,s,r,n,a,h,l){var c,d,p=this&&this.__extends||(c=function(t,e){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}c(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),m=t.getStartAndEndRadians,u=(i=i.noop,l.clamp),f=l.extend,y=l.fireEvent,g=l.merge,x=l.pick,v=l.relativeLength;function b(){var t=null!==d&&d.apply(this,arguments)||this;return t.center=void 0,t.data=void 0,t.maxLabelDistance=void 0,t.options=void 0,t.points=void 0,t}return p(b,d=n),b.prototype.animate=function(t){var o=this,e=o.points,s=o.startAngleRad;t||e.forEach(function(t){var e=t.graphic,i=t.shapeArgs;e&&i&&(e.attr({r:x(t.startR,o.center&&o.center[3]/2),start:s,end:s}),e.animate({r:i.r,start:i.start,end:i.end},o.options.animation))})},b.prototype.drawEmpty=function(){var t,e,i=this.startAngleRad,o=this.endAngleRad,s=this.options;0===this.total&&this.center?(t=this.center[0],e=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(t,e,this.center[1]/2,0,i,o).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:h.arc(t,e,this.center[2]/2,0,{start:i,end:o,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":s.borderWidth,fill:s.fillColor||"none",stroke:s.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())},b.prototype.drawPoints=function(){var e=this.chart.renderer;this.points.forEach(function(t){t.graphic&&t.hasNewShapeType()&&(t.graphic=t.graphic.destroy()),t.graphic||(t.graphic=e[t.shapeType](t.shapeArgs).add(t.series.group),t.delayedRendering=!0)})},b.prototype.generatePoints=function(){d.prototype.generatePoints.call(this),this.updateTotals()},b.prototype.getX=function(t,e,i){var o=this.center,s=this.radii?this.radii[i.index]||0:o[2]/2;return t=Math.asin(u((t-o[1])/(s+i.labelDistance),-1,1)),o[0]+(e?-1:1)*Math.cos(t)*(s+i.labelDistance)+(01.5*Math.PI?u-=2*Math.PI:u<-Math.PI/2&&(u+=2*Math.PI),d.slicedTranslation={translateX:Math.round(Math.cos(u)*i),translateY:Math.round(Math.sin(u)*i)},f=Math.cos(u)*t[2]/2,Math.sin(u)*t[2]/2);d.tooltipPos=[t[0]+.7*f,t[1]+.7*g],d.half=u<-Math.PI/2||u>Math.PI/2?1:0,d.angle=u,p=Math.min(o,d.labelDistance/5),d.labelPosition={natural:{x:t[0]+f+Math.cos(u)*d.labelDistance,y:t[1]+g+Math.sin(u)*d.labelDistance},final:{},alignment:d.labelDistance<0?"center":d.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+f+Math.cos(u)*p,y:t[1]+g+Math.sin(u)*p},touchingSliceAt:{x:t[0]+f,y:t[1]+g}}}}y(this,"afterTranslate")},b.prototype.updateTotals=function(){for(var t=this.points,e=t.length,i=this.options.ignoreHiddenPoint,o=0,s=0;se&&(t.dataLabel.css({width:Math.round(.7*e)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))}),s.forEach(function(t,e){var i,o,s,r=t.length,n=[];if(r)for(m.sortByAngle(t,e-.5),0e.bottom-2?o:i,e.half,e)},justify:function(t,e,i){return i[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,i,o){return t=t.getBBox().width,e?t+o:i-t-o},alignToConnectors:function(t,e,i,o){var s,r=0;return t.forEach(function(t){s=t.dataLabel.getBBox().width,r=a.x+a.width||c.x+c.width<=a.x||c.y>=a.y+a.height||c.y+c.height<=a.y||((r.labelrank=r(i.minWidth,0)&&this.chartHeight>=r(i.minHeight,0)}).call(this)&&e.push(t._id)},u.prototype.setResponsive=function(t,e){var i=this,o=this.options.responsive,s=this.currentResponsive,r=[];!e&&o&&o.rules&&o.rules.forEach(function(t){void 0===t._id&&(t._id=p()),i.matchResponsiveRule(t,r)},this),(e=a.apply(void 0,r.map(function(e){return n((o||{}).rules||[],function(t){return t._id===e})}).map(function(t){return t&&t.chartOptions}))).isResponsiveOptions=!0,(r=r.toString()||void 0)!==(s&&s.ruleIds)&&(s&&this.update(s.undoOptions,t,!0),r?((s=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:r,mergedOptions:e,undoOptions:s},this.update(e,t,!0)):this.currentResponsive=void 0)},o=u,e}),t(e,"masters/highcharts.src.js",[e["Core/Globals.js"],e["Core/Utilities.js"],e["Core/Defaults.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/FormatUtilities.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Renderer/HTML/HTMLElement.js"],e["Core/Renderer/HTML/HTMLRenderer.js"],e["Core/Axis/Axis.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Axis/LogarithmicAxis.js"],e["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],e["Core/Axis/Tick.js"],e["Core/Tooltip.js"],e["Core/Series/Point.js"],e["Core/Pointer.js"],e["Core/MSPointer.js"],e["Core/Legend/Legend.js"],e["Core/Chart/Chart.js"],e["Core/Axis/Stacking/StackingAxis.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Series/Column/ColumnSeries.js"],e["Series/Column/ColumnDataLabel.js"],e["Series/Pie/PieSeries.js"],e["Series/Pie/PieDataLabel.js"],e["Core/Series/DataLabel.js"],e["Core/Responsive.js"],e["Core/Color/Color.js"],e["Core/Time.js"]],function(t,e,i,o,s,r,n,a,h,l,c,d,p,u,f,g,m,y,x,v,b,S,k,C,M,w,T,A,P,L,O,E,D,j,I){return t.animate=s.animate,t.animObject=s.animObject,t.getDeferredAnimation=s.getDeferredAnimation,t.setAnimation=s.setAnimation,t.stop=s.stop,t.timers=o.timers,t.AST=r,t.Axis=p,t.Chart=k,t.chart=k.chart,t.Fx=o,t.Legend=S,t.PlotLineOrBand=g,t.Point=x,t.Pointer=b.isRequired()?b:v,t.Series=w,t.StackItem=M,t.SVGElement=h,t.SVGRenderer=l,t.Tick=m,t.Time=I,t.Tooltip=y,t.Color=j,t.color=j.parse,d.compose(l),c.compose(h),t.defaultOptions=i.defaultOptions,t.getOptions=i.getOptions,t.time=i.defaultTime,t.setOptions=i.setOptions,t.dateFormat=n.dateFormat,t.format=n.format,t.numberFormat=n.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=a.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=T.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,P.compose(A),E.compose(w),u.compose(p),f.compose(p),O.compose(L),g.compose(p),D.compose(k),C.compose(p,k,w),t}),(e["masters/highcharts.src.js"]._modules=e)["masters/highcharts.src.js"]}); \ No newline at end of file diff --git a/assets/js/external/highcharts/highmaps.min.js b/assets/js/external/highcharts/highmaps.min.js index 9474ebd0..6263777f 100644 --- a/assets/js/external/highcharts/highmaps.min.js +++ b/assets/js/external/highcharts/highmaps.min.js @@ -1 +1 @@ -!function(t,e){"object"==typeof module&&module.exports?(e.default=e,module.exports=t.document?e(t):e):"function"==typeof define&&define.amd?define("highcharts/highmaps",function(){return e(t)}):(t.Highcharts&&t.Highcharts.error(16,!0),t.Highcharts=e(t))}("undefined"!=typeof window?window:this,function(s){function t(t,e,i,o){t.hasOwnProperty(e)||(t[e]=o.apply(null,i),"function"==typeof CustomEvent&&s.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}var e={};return t(e,"Core/Globals.js",[],function(){var t,e,i,o;return(e=t=t||{}).SVG_NS="http://www.w3.org/2000/svg",e.product="Highcharts",e.version="10.2.1",e.win=void 0!==s?s:{},e.doc=e.win.document,e.svg=e.doc&&e.doc.createElementNS&&!!e.doc.createElementNS(e.SVG_NS,"svg").createSVGRect,e.userAgent=e.win.navigator&&e.win.navigator.userAgent||"",e.isChrome=-1!==e.userAgent.indexOf("Chrome"),e.isFirefox=-1!==e.userAgent.indexOf("Firefox"),e.isMS=/(edge|msie|trident)/i.test(e.userAgent)&&!e.win.opera,e.isSafari=!e.isChrome&&-1!==e.userAgent.indexOf("Safari"),e.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(e.userAgent),e.isWebKit=-1!==e.userAgent.indexOf("AppleWebKit"),e.deg2rad=2*Math.PI/360,e.hasBidiBug=e.isFirefox&&parseInt(e.userAgent.split("Firefox/")[1],10)<4,e.hasTouch=!!e.win.TouchEvent,e.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],e.noop=function(){},e.supportsPassiveEvents=(o=!1,e.isMS||(i=Object.defineProperty({},"passive",{get:function(){o=!0}}),e.win.addEventListener&&e.win.removeEventListener&&(e.win.addEventListener("testPassive",e.noop,i),e.win.removeEventListener("testPassive",e.noop,i))),o),e.charts=[],e.dateFormats={},e.seriesTypes={},e.symbolSizes={},e.chartCount=0,t}),t(e,"Core/Utilities.js",[e["Core/Globals.js"]],function(h){function l(t,e,i,o){var s,r=e?"Highcharts error":"Highcharts warning",n=d(t=32===t?r+": Deprecated member":t),a=n?r+" #"+t+": www.highcharts.com/errors/"+t+"/":t.toString();void 0!==o&&(s="",n&&(a+="?"),x(o,function(t,e){s+="\n - ".concat(e,": ").concat(t),n&&(a+=encodeURI(e)+"="+encodeURI(t))}),a+=s),M(h,"displayError",{chart:i,code:t,message:a,params:o},function(){if(e)throw Error(a);S.console&&-1===l.messages.indexOf(a)&&console.warn(a)}),l.messages.push(a)}function n(t,e){return parseInt(t,e||10)}function a(t){return"string"==typeof t}function i(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function c(t,e){return!(!t||"object"!=typeof t||e&&i(t))}function r(t){return c(t)&&"number"==typeof t.nodeType}function p(t){var e=t&&t.constructor;return!(!c(t,!0)||r(t)||!e||!e.name||"Object"===e.name)}function d(t){return"number"==typeof t&&!isNaN(t)&&t<1/0&&-1/0i&&(i=t[e]);return i},arrayMin:function(t){for(var e=t.length,i=t[0];e--;)t[e]>16,(65280&o)>>8,255&o,1]:4===i&&(e=[(3840&o)>>4|(3840&o)>>8,(240&o)>>4|240&o,(15&o)<<4|15&o,1])),!e)for(o=n.parsers.length;o--&&!e;){var s=n.parsers[o];(i=s.regex.exec(t))&&(e=s.parse(i))}e&&(this.rgba=e)},n.prototype.get=function(i){var o,t=this.input,e=this.rgba;return"object"==typeof t&&void 0!==this.stops?((o=r(t)).stops=[].slice.call(o.stops),this.stops.forEach(function(t,e){o.stops[e]=[o.stops[e][0],t.get(i)]}),o):e&&s(e[0])?"rgb"===i||!i&&1===e[3]?"rgb("+e[0]+","+e[1]+","+e[2]+")":"a"===i?"".concat(e[3]):"rgba("+e.join(",")+")":t},n.prototype.brighten=function(e){var t=this.rgba;if(this.stops)this.stops.forEach(function(t){t.brighten(e)});else if(s(e)&&0!==e)for(var i=0;i<3;i++)t[i]+=o(255*e),t[i]<0&&(t[i]=0),255=x.second?0:c*Math.floor(r.get("Milliseconds",h)/c)),l>=x.second&&r.set("Seconds",h,l>=x.minute?0:c*Math.floor(r.get("Seconds",h)/c)),l>=x.minute&&r.set("Minutes",h,l>=x.hour?0:c*Math.floor(r.get("Minutes",h)/c)),l>=x.hour&&r.set("Hours",h,l>=x.day?0:c*Math.floor(r.get("Hours",h)/c)),l>=x.day&&r.set("Date",h,l>=x.month?1:Math.max(1,c*Math.floor(r.get("Date",h)/c))),l>=x.month&&(r.set("Month",h,l>=x.year?0:c*Math.floor(r.get("Month",h)/c)),p=r.get("FullYear",h)),l>=x.year&&r.set("FullYear",h,p-p%c),l===x.week&&(p=r.get("Day",h),r.set("Date",h,r.get("Date",h)-p+o+(p4*x.month||r.getTimezoneOffset(e)!==r.getTimezoneOffset(i)),e=h.getTime(),h=1;et){a=n;break}if(r[a]&&s.substr(r[a])!=="01-01 00:00:00.000".substr(r[a]))break;"week"!==a&&(n=a)}return this.resolveDTLFormat(o[a]).main},t=a}),t(e,"Core/DefaultOptions.js",[e["Core/Chart/ChartDefaults.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Color/Palettes.js"],e["Core/Time.js"],e["Core/Utilities.js"]],function(t,e,i,o,s,r){e=e.parse;var n=r.merge,a={colors:o.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),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:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",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,animation:i.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:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:i.isTouchDevice?25:10,headerFormat:'{point.key}
',pointFormat:' {series.name}: {point.y}
',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}},h=(a.chart.styledMode=!1,new s(n(a.global,a.time)));return t={defaultOptions:a,defaultTime:h,getOptions:function(){return a},setOptions:function(t){return n(!0,a,t),(t.time||t.global)&&(i.time?i.time.update(n(a.global,a.time,t.global,t.time)):i.time=h),a}}}),t(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,i){var o=t.parse,h=e.win,d=i.isNumber,l=i.objectEach;return c.prototype.dSetter=function(){var t=(e=this.paths)&&e[0],e=e&&e[1],i=this.now||0,o=[];if(1!==i&&t&&e)if(t.length===e.length&&i<1)for(var s=0;s=n+this.startTime?(this.now=this.end,this.pos=1,this.update(),e=a[this.prop]=!0,l(a,function(t){!0!==t&&(e=!1)}),e&&r&&r.call(s),!1):(this.pos=o.easing((i-this.startTime)/n),this.now=this.start+(this.end-this.start)*this.pos,this.update(),!0))},c.prototype.initPath=function(t,e,i){function o(t,e){for(;t.lengtht[p].pos&&(t[p-1].size+=t[p].size,t[p-1].targets=t[p-1].targets.concat(t[p].targets),t[p-1].align=.5,t[p-1].pos+t[p-1].size>o&&(t[p-1].pos=o-t[p-1].size),t.splice(p,1),h=!0)}return r.push.apply(r,l),p=0,t.some(function(t){var e=0;return(t.targets||[]).some(function(){return r[p].pos=t.pos+e,void 0!==s&&Math.abs(r[p].pos-r[p].target)>s?(r.slice(0,p+1).forEach(function(t){return delete t.pos}),r.reducedLen=(r.reducedLen||o)-.1*o,r.reducedLen>.1*o&&i(r,o,s),!0):(e+=r[p].size,p++,!1)})}),f(r,e),r},e}),t(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,m,r,e){var n=t.animate,a=t.animObject,c=t.stop,g=r.deg2rad,h=r.doc,l=r.svg,p=r.SVG_NS,i=r.win,d=e.addEvent,u=e.attr,o=e.createElement,y=e.css,v=e.defined,f=e.erase,x=e.extend,b=e.fireEvent,M=e.isArray,C=e.isFunction,S=e.isString,w=e.merge,k=e.objectEach,P=e.pick,T=e.pInt,A=e.syncTimeout,L=e.uniqueKey;function O(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=p,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return O.prototype._defaultGetter=function(t){return t=P(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),t=/^[\-0-9\.]+$/.test(t)?parseFloat(t):t},O.prototype._defaultSetter=function(t,e,i){i.setAttribute(e,t)},O.prototype.add=function(t){var e,i=this.renderer,o=this.element;return t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,void 0!==this.textStr&&"text"===this.element.nodeName&&i.buildText(this),this.added=!0,(e=t&&!t.handleZ&&!this.zIndex?e:this.zIndexSetter())||(t?t.element:i.box).appendChild(o),this.onAdd&&this.onAdd(),this},O.prototype.addClass=function(t,e){var i=!e&&this.attr("class")||"";return(t=(t||"").split(/ /g).reduce(function(t,e){return-1===i.indexOf(e)&&t.push(e),t},i?[i]:[]).join(" "))!==i&&this.attr("class",t),this},O.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},O.prototype.align=function(t,e,i){var o,s,r,n={},a=(l=this.renderer).alignedObjects,h=(t?(this.alignOptions=t,this.alignByTranslate=e,i&&!S(i)||(this.alignTo=o=i||"renderer",f(a,this),a.push(this),i=void 0)):(t=this.alignOptions,e=this.alignByTranslate,o=this.alignTo),i=P(i,l[o],"scrollablePlotBox"===o?l.plotBox:void 0,l),o=t.align,t.verticalAlign),l=(i.x||0)+(t.x||0),a=(i.y||0)+(t.y||0);return"right"===o?s=1:"center"===o&&(s=2),s&&(l+=(i.width-(t.width||0))/s),n[e?"translateX":"x"]=Math.round(l),"bottom"===h?r=1:"middle"===h&&(r=2),r&&(a+=(i.height-(t.height||0))/r),n[e?"translateY":"y"]=Math.round(a),this[this.placed?"animate":"attr"](n),this.placed=!0,this.alignAttr=n,this},O.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},O.prototype.animate=function(t,e,i){var o=this,s=a(P(e,this.renderer.globalAnimation,!0));return e=s.defer,P(h.hidden,h.msHidden,h.webkitHidden,!1)&&(s.duration=0),0!==s.duration?(i&&(s.complete=i),A(function(){o.element&&n(o,t,s)},e)):(this.attr(t,void 0,i||s.complete),k(t,function(t,e){s.step&&s.step.call(this,t,{prop:e,pos:1,elem:this})},this)),this},O.prototype.applyTextOutline=function(t){var i,e,o=this.element,s=(t=-1!==t.indexOf("contrast")?t.replace(/contrast/g,this.renderer.getContrast(o.style.fill)):t).split(" ");t=s[s.length-1],(s=s[0])&&"none"!==s&&r.svg&&(this.fakeTS=!0,this.ySetter=this.xSetter,s=s.replace(/(^[\d\.]+)(.*?)$/g,function(t,e,i){return 2*Number(e)+i}),this.removeTextOutline(),i=h.createElementNS(p,"tspan"),u(i,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":s,"stroke-linejoin":"round"}),t=o.querySelector("textPath")||o,[].forEach.call(t.childNodes,function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(t){return e.removeAttribute(t)}),i.appendChild(e)}),e=0,[].forEach.call(t.querySelectorAll("text tspan"),function(t){e+=Number(t.getAttribute("dy"))}),(s=h.createElementNS(p,"tspan")).textContent="​",u(s,{x:Number(o.getAttribute("x")),dy:-e}),i.appendChild(s),t.insertBefore(i,t.firstChild))},O.prototype.attr=function(i,t,e,o){var s,r,n,a=this.element,h=this.symbolCustomAttribs,l=this;return"string"==typeof i&&void 0!==t&&(n=i,(i={})[n]=t),"string"==typeof i?l=(this[i+"Getter"]||this._defaultGetter).call(this,i,a):(k(i,function(t,e){r=!1,o||c(this,e),this.symbolName&&-1!==h.indexOf(e)&&(s||(this.symbolAttr(i),s=!0),r=!0),!this.rotation||"x"!==e&&"y"!==e||(this.doTransform=!0),r||((r=this[e+"Setter"]||this._defaultSetter).call(this,t,e,a),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(e)&&this.updateShadows(e,t,r))},this),this.afterSetters()),e&&e.call(this),l},O.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},O.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var i=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+i,t.y=Math.floor(t.y||this.y||0)+i,t.width=Math.floor((t.width||this.width||0)-2*i),t.height=Math.floor((t.height||this.height||0)-2*i),v(t.strokeWidth)&&(t.strokeWidth=e),t},O.prototype.complexColor=function(t,i,o){var s,r,n,a,h,l,c,p,d,u,f=this.renderer,g=[];b(this.renderer,"complexColor",{args:arguments},function(){var e;t.radialGradient?s="radialGradient":t.linearGradient&&(s="linearGradient"),s&&(r=t[s],a=f.gradients,h=t.stops,p=o.radialReference,M(r)&&(t[s]=r={x1:r[0],y1:r[1],x2:r[2],y2:r[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===s&&p&&!v(r.gradientUnits)&&(r=w(n=r,f.getRadialAttr(p,n),{gradientUnits:"userSpaceOnUse"})),k(r,function(t,e){"id"!==e&&g.push(e,t)}),k(h,function(t){g.push(t)}),g=g.join(","),a[g]?d=a[g].attr("id"):(r.id=d=L(),(e=a[g]=f.createElement(s).attr(r).add(f.defs)).radAttr=n,e.stops=[],h.forEach(function(t){c=0===t[1].indexOf("rgba")?(c=m.parse(t[1]),l=c.get("rgb"),c.get("a")):(l=t[1],1),t=f.createElement("stop").attr({offset:t[0],"stop-color":l,"stop-opacity":c}).add(e),e.stops.push(t)})),u="url("+f.url+"#"+d+")",o.setAttribute(i,u),o.gradient=g,t.toString=function(){return u})})},O.prototype.css=function(t){var e,i,o=this.styles,s={},r=this.element,n=!o;return t.color&&(t.fill=t.color),o&&k(t,function(t,e){o&&o[e]!==t&&(s[e]=t,n=!0)}),n&&(null===(t=o?x(o,s):t).width||"auto"===t.width?delete this.textWidth:"text"===r.nodeName.toLowerCase()&&t.width&&(e=this.textWidth=T(t.width)),this.styles=t,e&&!l&&this.renderer.forExport&&delete t.width,i=w(t),r.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach(function(t){return i&&delete i[t]}),y(r,i),this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline))),this},O.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var i=t.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(t=i.length;t--;)i[t]=""+T(i[t])*P(e,NaN);t=i.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},O.prototype.destroy=function(){var e,i=this,t=i.element||{},o=i.renderer,s=t.ownerSVGElement,r=o.isSVG&&"SPAN"===t.nodeName&&i.parentGroup||void 0;if(t.onclick=t.onmouseout=t.onmouseover=t.onmousemove=t.point=null,c(i),i.clipPath&&s&&(e=i.clipPath,[].forEach.call(s.querySelectorAll("[clip-path],[CLIP-PATH]"),function(t){-1]*>/g,"").replace(/</g,"<").replace(/>/g,">")},O.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},O.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},O.prototype.updateShadows=function(t,e,i){var o=this.shadows;if(o)for(var s=o.length;s--;)i.call(o[s],"height"===t?Math.max(e-(o[s].cutHeight||0),0):"d"===t?this.d:e,t,o[s])},O.prototype.updateTransform=function(){var t=this.scaleX,e=this.scaleY,i=this.inverted,o=this.rotation,s=this.matrix,r=this.element,n=this.translateX||0,a=this.translateY||0;i&&(n+=this.width,a+=this.height),n=["translate("+n+","+a+")"],v(s)&&n.push("matrix("+s.join(",")+")"),i?n.push("rotate(90) scale(-1,1)"):o&&n.push("rotate("+o+" "+P(this.rotationOriginX,r.getAttribute("x"),0)+" "+P(this.rotationOriginY,r.getAttribute("y")||0)+")"),(v(t)||v(e))&&n.push("scale("+P(t,1)+" "+P(e,1)+")"),n.length&&!(this.text||this).textPath&&r.setAttribute("transform",n.join(" "))},O.prototype.visibilitySetter=function(t,e,i){"inherit"===t?i.removeAttribute(e):this[e]!==t&&i.setAttribute(e,t),this[e]=t},O.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},O.prototype.zIndexSetter=function(t,e){var i,o=this.renderer,s=((h=this.parentGroup)||o).element||o.box,r=this.element,o=s===o.box,n=!1,a=this.added;if(v(t)?(r.setAttribute("data-z-index",t),this[e]===(t=+t)&&(a=!1)):v(this[e])&&r.removeAttribute("data-z-index"),this[e]=t,a){for((t=this.zIndex)&&h&&(h.handleZ=!0),i=(e=s.childNodes).length-1;0<=i&&!n;i--){var h,a=(h=e[i]).getAttribute("data-z-index"),l=!v(a);h!==r&&(t<0&&l&&!o&&!i?(s.insertBefore(r,e[i]),n=!0):(T(a)<=t||l&&(!v(t)||0<=t))&&(s.insertBefore(r,e[i+1]||null),n=!0))}n||(s.insertBefore(r,e[o?3:0]||null),n=!0)}return n},(t=O).prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t}),t(e,"Core/Renderer/RendererRegistry.js",[e["Core/Globals.js"]],function(o){var t,s,r;return(s=t=t||{}).rendererTypes={},s.getRendererType=function(t){return void 0===t&&(t=r),s.rendererTypes[t]||s.rendererTypes[r]},s.registerRendererType=function(t,e,i){s.rendererTypes[t]=e,r&&!i||(r=t,o.Renderer=e)},t}),t(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(o,t){var s,d,e=this&&this.__extends||(s=function(t,e){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=t.defined,n=t.extend,a=t.isNumber,h=t.merge,l=t.pick,i=t.removeEvent;return e(u,d=o),u.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&a(this.xSetting)&&this.attr({x:this.xSetting}))},u.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},u.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},u.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},u.prototype.css=function(e){var i,t;return e&&(i={},e=h(e),u.textProps.forEach(function(t){void 0!==e[t]&&(i[t]=e[t],delete e[t])}),this.text.css(i),t="width"in i,"fontSize"in i||"fontWeight"in i?this.updateTextPadding():t&&this.updateBoxSize()),o.prototype.css.call(this,e)},u.prototype.destroy=function(){i(this.element,"mouseenter"),i(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),o.prototype.destroy.call(this)},u.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},u.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=l(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},u.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},u.prototype.heightSetter=function(t){this.heightSetting=t},u.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:r(t)?t:"",x:this.x,y:this.y}),this.box&&r(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},u.prototype.paddingSetter=function(t,e){a(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},u.prototype.rSetter=function(t,e){this.boxAttr(e,t)},u.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},u.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},u.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},u.prototype["text-alignSetter"]=function(t){this.textAlign=t},u.prototype.textSetter=function(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding()},u.prototype.updateBoxSize=function(){var t=this.text,e=t.element.style,i={},o=this.padding,s=this.bBox=a(this.widthSetting)&&a(this.heightSetting)&&!this.textAlign||!r(t.textStr)?u.emptyBBox:t.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||s.height||0)+2*o,e=this.renderer.fontMetrics(e&&e.fontSize,t),this.baselineOffset=o+Math.min((this.text.firstLineMetrics||e).b,s.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-e.h)/2),this.needsBox&&!t.textPath&&(this.box||((t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this)),t=this.getCrispAdjust(),i.x=t,i.y=(this.baseline?-this.baselineOffset:0)+t,i.width=Math.round(this.width),i.height=Math.round(this.height),this.box.attr(n(i,this.deferredAttr)),this.deferredAttr={})},u.prototype.updateTextPadding=function(){var t,e,i=this.text;i.textPath||(this.updateBoxSize(),t=this.baseline?0:this.baselineOffset,e=l(this.paddingLeft,this.padding),r(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(e+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),e===i.x&&t===i.y||(i.attr("x",e),i.hasBoxWidthChanged&&(this.bBox=i.getBBox(!0)),void 0!==t&&i.attr("y",t)),i.x=e,i.y=t)},u.prototype.widthSetter=function(t){this.widthSetting=a(t)?t:void 0},u.prototype.getPaddedWidth=function(){var t=this.padding,e=l(this.paddingLeft,t),t=l(this.paddingRight,t);return(this.widthSetting||this.bBox.width||0)+e+t},u.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},u.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},u.emptyBBox={width:0,height:0,x:0,y:0},u.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),u;function u(t,e,i,o,s,r,n,a,h,l){var c,p=d.call(this)||this;return p.paddingLeftSetter=p.paddingSetter,p.paddingRightSetter=p.paddingSetter,p.init(t,"g"),p.textStr=e,p.x=i,p.y=o,p.anchorX=r,p.anchorY=n,p.baseline=h,p.className=l,p.addClass("button"===l?"highcharts-no-tooltip":"highcharts-label"),l&&p.addClass("highcharts-"+l),p.text=t.text(void 0,0,0,a).attr({zIndex:1}),"string"==typeof s&&((c=/^url\((.*?)\)$/.test(s))||p.renderer.symbols[s])&&(p.symbolKey=s),p.bBox=u.emptyBBox,p.padding=3,p.baselineOffset=0,p.needsBox=t.styledMode||c,p.deferredAttr={},p.alignFactor=0,p}}),t(e,"Core/Renderer/SVG/Symbols.js",[e["Core/Utilities.js"]],function(t){function s(t,e,i,o,s){var r,n,a,h,l,c,p,d,u=[];return s&&(d=s.start||0,r=g(s.r,i),i=g(s.r,o||i),n=(s.end||0)-.001,o=s.innerR,a=g(s.open,Math.abs((s.end||0)-d-2*Math.PI)<.001),h=Math.cos(d),l=Math.sin(d),c=Math.cos(n),p=Math.sin(n),d=g(s.longArc,n-d-Math.PI<.001?0:1),u.push(["M",t+r*h,e+i*l],["A",r,i,0,d,g(s.clockwise,1),t+r*c,e+i*p]),f(o)&&u.push(a?["M",t+o*c,e+o*p]:["L",t+o*c,e+o*p],["A",o,o,0,d,f(s.clockwise)?1-s.clockwise:0,t+o*h,e+o*l]),a||u.push(["Z"])),u}function e(t,e,i,o,s){return s&&s.r?l(t,e,i,o,s):[["M",t,e],["L",t+i,e],["L",t+i,e+o],["L",t,e+o],["Z"]]}function l(t,e,i,o,s){return[["M",t+(s=s&&s.r||0),e],["L",t+i-s,e],["C",t+i,e,t+i,e,t+i,e+s],["L",t+i,e+o-s],["C",t+i,e+o,t+i,e+o,t+i-s,e+o],["L",t+s,e+o],["C",t,e+o,t,e+o,t,e+o-s],["L",t,e+s],["C",t,e,t,e,t+s,e]]}var f=t.defined,c=t.isNumber,g=t.pick;return{arc:s,callout:function(t,e,i,o,s){var r=Math.min(s&&s.r||0,i,o),n=r+6,a=s&&s.anchorX,h=(s=s&&s.anchorY||0,l(t,e,i,o,{r:r}));return c(a)&&(i<=t+a?e+n/g.test(o))?""!==o&&(i&&i.appendChild(e),o=new a(o),this.modifyTree(o.nodes),o.addToDOM(e),this.modifyDOM(),this.ellipsis&&-1!==(e.textContent||"").indexOf("…")&&t.attr("title",this.unescapeEntities(t.textStr||"",["<",">"])),i&&i.removeChild(e)):e.appendChild(d.createTextNode(this.unescapeEntities(o))),h(this.textOutline)&&t.applyTextOutline&&t.applyTextOutline(this.textOutline)}},o.prototype.modifyDOM=function(){var t,h=this,l=this.svgElement,c=f(l.element,"x");for(l.firstLineMetrics=void 0;(t=l.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)l.element.removeChild(t);[].forEach.call(l.element.querySelectorAll("tspan.highcharts-br"),function(t,e){t.nextSibling&&t.previousSibling&&(0===e&&1===t.previousSibling.nodeType&&(l.firstLineMetrics=l.renderer.fontMetrics(void 0,t.previousSibling)),f(t,{dy:h.getLineHeight(t.nextSibling),x:c}))});var i,o,p=this.width||0;p&&(i=function(e,i){var t=e.textContent||"",o=t.replace(/([^\^])-/g,"$1- ").split(" "),s=!h.noWrap&&(1]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20");return""},z.prototype.getStyle=function(t){return this.style=P({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},z.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},z.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},z.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),k(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},z.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},z.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},z.prototype.buildText=function(t){new r(t).buildSVG()},z.prototype.getContrast=function(t){return((t=.2126*(t=e.parse(t).rgba.map(function(t){return(t/=255)<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}))[0]+.7152*t[1]+.0722*t[2])+.05)/.05<1.05/(t+.05)?"#FFFFFF":"#000000"},z.prototype.button=function(t,e,i,o,s,r,n,a,h,l){void 0===s&&(s={});var c,p,d,u=this.label(t,e,i,h,void 0,void 0,l,void 0,"button"),f=this.styledMode,g=(t=s.states||{},0),m=(delete(s=j(s)).states,j({color:"#333333",cursor:"pointer",fontWeight:"normal"},s.style)),y=(delete s.style,v.filterUserAttributes(s));return u.attr(j({padding:8,r:2},y)),f||(y=j({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},y),c=(r=j(y,{fill:"#e6e6e6"},v.filterUserAttributes(r||t.hover||{}))).style,delete r.style,p=(n=j(y,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},v.filterUserAttributes(n||t.select||{}))).style,delete n.style,d=(a=j(y,{style:{color:"#cccccc"}},v.filterUserAttributes(a||t.disabled||{}))).style,delete a.style),b(u.element,x?"mouseover":"mouseenter",function(){3!==g&&u.setState(1)}),b(u.element,x?"mouseout":"mouseleave",function(){3!==g&&u.setState(g)}),u.setState=function(t){1!==t&&(u.state=g=t),u.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),f||(u.attr([y,r,n,a][t||0]),L(t=[m,c,p,d][t||0])&&u.css(t))},f||u.attr(y).css(P({cursor:"default"},m)),u.on("touchstart",function(t){return t.stopPropagation()}).on("click",function(t){3!==g&&o.call(u,t)})},z.prototype.crispLine=function(t,e,i){void 0===i&&(i="round");var o=t[0],s=t[1];return w(o[1])&&o[1]===s[1]&&(o[1]=s[1]=Math[i](o[1])-e%2/2),w(o[2])&&o[2]===s[2]&&(o[2]=s[2]=Math[i](o[2])+e%2/2),t},z.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return T(t)?e.d=t:L(t)&&P(e,t),this.createElement("path").attr(e)},z.prototype.circle=function(t,e,i){return t=L(t)?t:void 0===t?{}:{x:t,y:e,r:i},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,i){i.setAttribute("c"+e,t)},e.attr(t)},z.prototype.arc=function(t,e,i,o,s,r){return L(t)?(e=(o=t).y,i=o.r,t=o.x):o={innerR:o,start:s,end:r},(t=this.symbol("arc",t,e,i,i,o)).r=i,t},z.prototype.rect=function(t,e,i,o,s,r){s=L(t)?t.r:s;var n=this.createElement("rect");return t=L(t)?t:void 0===t?{}:{x:t,y:e,width:Math.max(i,0),height:Math.max(o,0)},this.styledMode||(void 0!==r&&(t["stroke-width"]=r,t=n.crisp(t)),t.fill="none"),s&&(t.r=s),n.rSetter=function(t,e,i){n.r=t,M(i,{rx:t,ry:t})},n.rGetter=function(){return n.r||0},n.attr(t)},z.prototype.setSize=function(t,e,i){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:E(i,!0)?void 0:0}),this.alignElements()},z.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},z.prototype.image=function(e,t,i,o,s,r){var n={preserveAspectRatio:"none"},a=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)},h=(A(t)&&(n.x=t),A(i)&&(n.y=i),A(o)&&(n.width=o),A(s)&&(n.height=s),this.createElement("image").attr(n));return t=function(t){a(h.element,e),r.call(h,t)},r?(a(h.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),i=new f.Image,b(i,"load",t),i.src=e,i.complete&&t({})):a(h.element,e),h},z.prototype.symbol=function(t,e,i,o,s,r){var n,a,h,l,c=this,p=/^url\((.*?)\)$/,d=p.test(t),u=!d&&(this.symbols[t]?t:"circle"),f=u&&this.symbols[u];return f?("number"==typeof e&&(n=f.call(this.symbols,Math.round(e||0),Math.round(i||0),o||0,s||0,r)),n=this.path(n),c.styledMode||n.attr("fill","none"),P(n,{symbolName:u||void 0,x:e,y:i,width:o,height:s}),r&&P(n,r)):d&&(a=t.match(p)[1],(h=n=this.image(a)).imgwidth=E(y[a]&&y[a].width,r&&r.width),h.imgheight=E(y[a]&&y[a].height,r&&r.height),l=function(t){return t.attr({width:t.width,height:t.height})},["width","height"].forEach(function(t){h[t+"Setter"]=function(t,e){var i=this["img"+e];this[e]=t,w(i)&&(r&&"within"===r.backgroundSize&&this.width&&this.height&&(i=Math.round(i*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(e,i),this.alignByTranslate||(t=((this[e]||0)-i)/2,this.attr("width"===e?{translateX:t}:{translateY:t})))}}),w(e)&&h.attr({x:e,y:i}),h.isImg=!0,w(h.imgwidth)&&w(h.imgheight)?l(h):(h.attr({width:0,height:0}),C("img",{onload:function(){var t=g[c.chartIndex];0===this.width&&(S(this,{position:"absolute",top:"-999em"}),m.body.appendChild(this)),y[a]={width:this.width,height:this.height},h.imgwidth=this.width,h.imgheight=this.height,h.element&&l(h),this.parentNode&&this.parentNode.removeChild(this),c.imgCount--,c.imgCount||!t||t.hasLoaded||t.onload()},src:a}),this.imgCount++)),n},z.prototype.clipRect=function(t,e,i,o){var s=I()+"-",r=this.createElement("clipPath").attr({id:s}).add(this.defs);return(t=this.rect(t,e,i,o,0).add(r)).id=s,t.clipPath=r,t.count=0,t},z.prototype.text=function(t,e,i,o){var s={};return!o||!this.allowHTML&&this.forExport?(s.x=Math.round(e||0),i&&(s.y=Math.round(i)),w(t)&&(s.text=t),t=this.createElement("text").attr(s),o&&(!this.forExport||this.allowHTML)||(t.xSetter=function(t,e,i){for(var o,s=i.getElementsByTagName("tspan"),r=i.getAttribute(e),n=0;n":">","'":"'",'"':"""},symbols:s,draw:d}),i.registerRendererType("svg",t,!0),t}),t(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,e,i){var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),n=t.isFirefox,a=t.isMS,h=t.isWebKit,l=t.win,f=i.css,g=i.defined,c=i.extend,p=i.pick,m=i.pInt;return r(d,s=e),d.compose=function(t){var e,i;return-1===d.composedClasses.indexOf(t)&&(d.composedClasses.push(t),(i=t.prototype).getSpanCorrection=(e=d.prototype).getSpanCorrection,i.htmlCss=e.htmlCss,i.htmlGetBBox=e.htmlGetBBox,i.htmlUpdateTransform=e.htmlUpdateTransform,i.setSpanRotation=e.setSpanRotation),t},d.prototype.getSpanCorrection=function(t,e,i){this.xCorr=-t*i,this.yCorr=-e},d.prototype.htmlCss=function(t){var e,i="SPAN"===this.element.tagName&&t&&"width"in t,o=p(i&&t.width,void 0);return i&&(delete t.width,this.textWidth=o,e=!0),t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=c(this.styles,t),f(this.element,t),e&&this.htmlUpdateTransform(),this},d.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},d.prototype.htmlUpdateTransform=function(){var e,i,o,s,t,r,n,a,h,l,c,p,d,u;this.added?(e=this.renderer,i=this.element,o=this.translateX||0,s=this.translateY||0,t=this.x||0,r=this.y||0,a={left:0,center:.5,right:1}[n=this.textAlign||"left"],u=(u=this.styles)&&u.whiteSpace,f(i,{marginLeft:o,marginTop:s}),!e.styledMode&&this.shadows&&this.shadows.forEach(function(t){f(t,{marginLeft:o+1,marginTop:s+1})}),this.inverted&&[].forEach.call(i.childNodes,function(t){e.invertChild(t,i)}),"SPAN"===i.tagName&&(h=this.rotation,l=this.textWidth&&m(this.textWidth),c=[h,n,i.innerHTML,this.textWidth,this.textAlign].join(),d=!1,l!==this.oldTextWidth&&(p=this.textPxLength||(f(i,{width:"",whiteSpace:u||"nowrap"}),i.offsetWidth),(l>this.oldTextWidth||l=this.minRange,n=[l-(n=((r=this.minRange)-c+l)/2),L(a.min,l-n)],t&&(n[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),c=[(l=d(n))+r,L(a.max,l+r)],t&&(c[2]=h?h.log2lin(this.dataMax):this.dataMax),(c=f(c))-l=g?(e=g,u=0):this.dataMax<=g&&(i=g,d=0)),this.min=L(m,e,this.dataMin),this.max=L(y,i,this.dataMax)),r&&(this.positiveValuesOnly&&!t&&Math.min(this.min,L(this.dataMin,this.min))<=0&&k(10,1,s),this.min=S(r.log2lin(this.min),16),this.max=S(r.log2lin(this.max),16)),this.range&&w(this.max)&&(this.userMin=this.min=m=Math.max(this.dataMin,this.minFromRange()),this.userMax=y=this.max,this.range=null),P(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(c||this.axisPointRange||this.stacking&&this.stacking.usePercentage||h)&&w(this.min)&&w(this.max)&&(s=this.max-this.min)&&(!w(m)&&u&&(this.min-=s*u),!w(y)&&d&&(this.max+=s*d)),T(this.userMin)||(T(n.softMin)&&n.softMinthis.max&&(this.max=y=n.softMax),T(n.ceiling)&&(this.max=Math.min(this.max,n.ceiling))),p&&w(this.dataMin)&&(g=g||0,!w(m)&&this.min=g?this.min=this.options.minRange?Math.min(g,this.max-this.minRange):g:!w(y)&&this.max>g&&this.dataMax<=g&&(this.max=this.options.minRange?Math.max(g,this.min+this.minRange):g)),T(this.min)&&T(this.max)&&!this.chart.polar&&this.min>this.max&&(w(this.options.min)?this.max=this.min:w(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||void 0===this.min||void 0===this.max?1:h&&this.linkedParent&&!f&&l===this.linkedParent.options.tickPixelInterval?f=this.linkedParent.tickInterval:L(f,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,c?1:(this.max-this.min)*l/Math.max(this.len,l)),a&&!t&&(o=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max),this.series.forEach(function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(o)}),P(this,"postProcessData",{hasExtemesChanged:o})),this.setAxisTranslation(),P(this,"initialAxisTranslation"),this.pointRange&&!f&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=L(n.minTickInterval,this.dateTime&&!this.series.some(function(t){return t.noSharedTooltip})?this.closestPointRange:0),!f&&this.tickIntervalMath.max(2*this.len,200)))if(this.dateTime)i=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0);else if(this.logarithmic)i=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(var n=t=this.tickInterval;n<=2*t&&(i=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&i.length>this.tickAmount);)this.tickInterval=v(this,n*=1.1);else i=[this.min,this.max],k(19,!1,this.chart);i.length>this.len&&((i=[i[0],i.pop()])[0]===i[1]&&(i.length=1)),this.tickPositions=i,(r=r&&r.apply(this,[this.min,this.max]))&&(this.tickPositions=i=r)}this.paddedTicks=i.slice(0),this.trimTicks(i,s,o),this.isLinked||(this.single&&i.length<2&&!this.categories&&!this.series.some(function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement})&&(this.min-=.5,this.max+=.5),e||r||this.adjustTickAmount()),P(this,"afterSetTickPositions")},I.prototype.trimTicks=function(t,e,i){var o=t[0],s=t[t.length-1],r=!this.isOrdinal&&this.minPointOffset||0;if(P(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==o)this.min=o;else for(;this.min-r>t[0];)t.shift();if(i)this.max=s;else for(;this.max+rs||n[n.length-1]e.threshold?n.unshift(S(n[0]-p)):n.push(S(n[n.length-1]+p));if(p>8*e.tickInterval)break;p*=2}h()}else if(ld&&(d=t.label.textPxLength)}),this.maxLabelLength=d,this.autoRotation)hc.h?l.rotation=this.labelRotation:this.labelRotation=0;else if(a){var u=h;if(!p)for(var f="clip",h=i.length;!n&&h--;){var g=i[h];(g=s[g].label)&&(g.styles&&"ellipsis"===g.styles.textOverflow?g.css({textOverflow:"clip"}):g.textPxLength>a&&g.css({width:a+"px"}),g.getBBox().height>this.len/i.length-(c.h-c.f)&&(g.specificTextOverflow="ellipsis"))}}l.rotation&&(u=d>.5*t.chartHeight?.33*t.chartHeight:d,p||(f="ellipsis")),(this.labelAlign=o.align||this.autoLabelAlign(this.labelRotation))&&(l.align=this.labelAlign),i.forEach(function(t){var e=(t=s[t])&&t.label,i=r.width,o={};e&&(e.attr(l),t.shortenLabel?t.shortenLabel():u&&!i&&"nowrap"!==r.whiteSpace&&(u=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(o[t]||(o[t]=new b(this,t)),i&&o[t].isNew&&o[t].render(e,!0,-1),o[t].render(e))},I.prototype.render=function(){var i,o,s,r=this,n=r.chart,a=r.logarithmic,t=r.options,e=r.isLinked,h=r.tickPositions,l=r.axisTitle,c=r.ticks,p=r.minorTicks,d=r.alternateBands,u=t.stackLabels,f=t.alternateGridColor,g=r.tickmarkOffset,m=r.axisLine,y=r.showAxis,v=M(n.renderer.globalAnimation);r.labelEdge.length=0,r.overlap=!1,[c,p,d].forEach(function(t){A(t,function(t){t.isActive=!1})}),(r.hasData()||e)&&(s=r.chart.hasRendered&&r.old&&T(r.old.min),r.minorTickInterval&&!r.categories&&r.getMinorTickPositions().forEach(function(t){r.renderMinorTick(t,s)}),h.length&&(h.forEach(function(t,e){r.renderTick(t,e,s)}),g&&(0===r.min||r.single)&&(c[-1]||(c[-1]=new b(r,-1,null,!0)),c[-1].render(-1))),f&&h.forEach(function(t,e){o=void 0!==h[e+1]?h[e+1]+g:r.max-g,0==e%2&&tthis.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:i.acrossPanes}),i=1,t&&s)for(e&&(o=t.toString()===s.toString(),i=0),e=0;ee})&&(t=t.map(function(t){var e=u(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return D(t,{target:e.y,x:e.x})})),g.cleanSplit(),j(t,A),c),L=c;t.forEach(function(t){var e=t.x,i=t.boxWidth;(t=t.isHeader)||(g.outside&&c+e=o.value;)o=t[++i];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=o&&o.color&&!this.options.color?o.color:this.nonZonedColor,o},w.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},w.prototype.init=function(t,e,i){return this.series=t,this.applyOptions(e,i),this.id=r(this.id)?this.id:S(),this.resolveColor(),t.chart.pointCount++,b(this,"afterInit"),this},w.prototype.optionsToObject=function(t){var e=this.series,i=e.options.keys,o=i||e.pointArrayMap||["y"],s=o.length,r={},n=0,a=0;if(M(t)||null===t)r[o[0]]=t;else if(c(t))for(!i&&t.length>s&&("string"===(e=typeof t[0])?r.name=t[0]:"number"===e&&(r.x=t[0]),n++);at.series.index?-1:1)),o&&(n=t)}),n)},M.prototype.getChartCoordinatesFromPoint=function(t,e){var i,o,s=(r=t.series).xAxis,r=r.yAxis,n=t.shapeArgs;return s&&r?(i=b(t.clientX,t.plotX),o=t.plotY||0,t.isNode&&n&&v(n.x)&&v(n.y)&&(i=n.x,o=n.y),e?{chartX:r.len+r.pos-o,chartY:s.len+s.pos-i}:{chartX:i+s.pos,chartY:o+r.pos}):n&&n.x&&n.y?{chartX:n.x,chartY:n.y}:void 0},M.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=n(t),i=(this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1},t.offsetWidth),t=t.offsetHeight;return 2v.max&&(i=v.max-h,c=!0),c?(S-=.8*(S-n[d][0]),"number"==typeof w&&(w-=.8*(w-n[d][1])),e()):n[d]=[S,w],y||(r[d]=l-m,r[g]=h),r=y?1/C:C,s[g]=h,s[d]=i,o[y?t?"scaleY":"scaleX":"scale"+u]=C,o["translate"+u]=r*m+(S-r*b)},M.prototype.reset=function(e,t){var i=this.chart,o=i.hoverSeries,s=i.hoverPoint,r=i.hoverPoints,n=i.tooltip,a=n&&n.shared?r:s;e&&a&&h(a).forEach(function(t){t.series.isCartesian&&void 0===t.plotX&&(e=!1)}),e?n&&a&&h(a).length&&(n.refresh(a),n.shared&&r?r.forEach(function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))}):s&&(s.setState(s.state,!0),i.axes.forEach(function(t){t.crosshair&&s.series[t.coll]===t&&t.drawCrosshair(null,s)}))):(s&&s.onMouseOut(),r&&r.forEach(function(t){t.setState()}),o&&o.onMouseOut(),n&&n.hide(t),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach(function(t){t.hideCrosshair()}),this.hoverX=i.hoverPoints=i.hoverPoint=null)},M.prototype.runPointActions=function(o,t){var s=this.chart,e=s.tooltip&&s.tooltip.options.enabled?s.tooltip:void 0,i=!!e&&e.shared,r=t||s.hoverPoint,n=r&&r.series||s.hoverSeries,a=(t=this.getHoverData(r,n,s.series,(!o||"touchmove"!==o.type)&&(!!t||n&&n.directTouch&&this.isDirectTouch),i,o),r=t.hoverPoint,n=t.hoverSeries,t.hoverPoints),h=(t=n&&n.tooltipOptions.followPointer&&!n.tooltipOptions.split,i&&n&&!n.noSharedTooltip);if(r&&(r!==s.hoverPoint||e&&e.isHidden)){if((s.hoverPoints||[]).forEach(function(t){-1===a.indexOf(t)&&t.setState()}),s.hoverSeries!==n&&n.onMouseOver(),this.applyInactiveState(a),(a||[]).forEach(function(t){t.setState("hover")}),s.hoverPoint&&s.hoverPoint.firePointEvent("mouseOut"),!r.series)return;s.hoverPoints=a,(s.hoverPoint=r).firePointEvent("mouseOver",void 0,function(){e&&r&&e.refresh(h?a:r,o)})}else t&&e&&!e.isHidden&&(i=e.getAnchor([{}],o),s.isInsidePlot(i[0],i[1],{visiblePlotOnly:!0})&&e.updatePosition({plotX:i[0],plotY:i[1]}));this.unDocMouseMove||(this.unDocMouseMove=c(s.container.ownerDocument,"mousemove",function(t){var e=l[M.hoverChartIndex];e&&e.pointer.onDocumentMouseMove(t)}),this.eventsToUnbind.push(this.unDocMouseMove)),s.axes.forEach(function(e){var t,i=b((e.crosshair||{}).snap,!0);(t=!i||(t=s.hoverPoint)&&t.series[e.coll]===e?t:p(a,function(t){return t.series&&t.series[e.coll]===e}))||!i?e.drawCrosshair(o,t):e.hideCrosshair()})},M.prototype.scaleGroups=function(i,o){var s=this.chart;s.series.forEach(function(t){var e=i||t.getPlotBox();t.group&&(t.xAxis&&t.xAxis.zoomEnabled||s.mapView)&&(t.group.attr(e),t.markerGroup&&(t.markerGroup.attr(e),t.markerGroup.clip(o?s.clipRect:null)),t.dataLabelsGroup&&t.dataLabelsGroup.attr(e))}),s.clipRect.attr(o||s.clipBox)},M.prototype.setDOMEvents=function(){var t=this,e=this.chart.container,i=e.ownerDocument;e.onmousedown=this.onContainerMouseDown.bind(this),e.onmousemove=this.onContainerMouseMove.bind(this),e.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(c(e,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(c(e,"mouseleave",this.onContainerMouseLeave.bind(this))),M.unbindDocumentMouseUp||(M.unbindDocumentMouseUp=c(i,"mouseup",this.onDocumentMouseUp.bind(this)));for(var o=this.chart.renderTo.parentElement;o&&"BODY"!==o.tagName;)this.eventsToUnbind.push(c(o,"scroll",function(){delete t.chartPosition})),o=o.parentElement;s.hasTouch&&(this.eventsToUnbind.push(c(e,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(c(e,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),M.unbindDocumentTouchEnd||(M.unbindDocumentTouchEnd=c(i,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},M.prototype.setHoverChartIndex=function(){var t=this.chart,e=s.charts[b(M.hoverChartIndex,-1)];e&&e!==t&&e.pointer.onContainerMouseLeave({relatedTarget:t.container}),e&&e.mouseIsDown||(M.hoverChartIndex=t.index)},M.prototype.touch=function(t,e){var i,o=this.chart;this.setHoverChartIndex(),1===t.touches.length?(t=this.normalize(t),o.isInsidePlot(t.chartX-o.plotLeft,t.chartY-o.plotTop,{visiblePlotOnly:!0})&&!o.openMenu?(e&&this.runPointActions(t),"touchmove"===t.type&&(i=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2))),b(i,!0)&&this.pinch(t)):e&&this.reset()):2===t.touches.length&&this.pinch(t)},M.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zooming.singleTouch||!t.touches||1!==t.touches.length)},M.prototype.zoomOption=function(t){var e=(i=this.chart).options.chart,i=i.inverted,o=e.zooming.type||"";/touch/.test(t.type)&&(o=b(e.zooming.pinchType,o)),this.zoomX=t=/x/.test(o),this.zoomY=e=/y/.test(o),this.zoomHor=t&&!i||e&&i,this.zoomVert=e&&!i||t&&i,this.hasZoom=t||e},t=M}),t(e,"Core/MSPointer.js",[e["Core/Globals.js"],e["Core/Pointer.js"],e["Core/Utilities.js"]],function(t,n,e){function i(t,e,i,o){var s,r=a[n.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!r||(r=r.pointer,o(t),r[e]({type:i,target:t.currentTarget,preventDefault:l,touches:((s=[]).item=function(t){return this[t]},u(g,function(t){s.push({pageX:t.pageX,pageY:t.pageY,target:t.target})}),s)}))}var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),a=t.charts,h=t.doc,l=t.noop,c=t.win,p=e.addEvent,d=e.css,u=e.objectEach,f=e.removeEvent,g={},m=!!c.PointerEvent;return r(y,s=n),y.isRequired=function(){return!(t.hasTouch||!c.PointerEvent&&!c.MSPointerEvent)},y.prototype.batchMSEvents=function(t){t(this.chart.container,m?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,m?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(h,m?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},y.prototype.destroy=function(){this.batchMSEvents(f),s.prototype.destroy.call(this)},y.prototype.init=function(t,e){s.prototype.init.call(this,t,e),this.hasZoom&&d(t.container,{"-ms-touch-action":"none","touch-action":"none"})},y.prototype.onContainerPointerDown=function(t){i(t,"onContainerTouchStart","touchstart",function(t){g[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}})},y.prototype.onContainerPointerMove=function(t){i(t,"onContainerTouchMove","touchmove",function(t){g[t.pointerId]={pageX:t.pageX,pageY:t.pageY},g[t.pointerId].target||(g[t.pointerId].target=t.currentTarget)})},y.prototype.onDocumentPointerUp=function(t){i(t,"onDocumentTouchEnd","touchend",function(t){delete g[t.pointerId]})},y.prototype.setDOMEvents=function(){s.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(p)},y;function y(){return null!==s&&s.apply(this,arguments)||this}}),t(e,"Core/Legend/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Series/Point.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Utilities.js"]],function(t,e,i,l,o,s){var p=t.animObject,d=t.setAnimation,r=e.format,a=(t=i.isFirefox,i.marginNames),h=(i=i.win,o.distribute),n=s.addEvent,c=s.createElement,u=s.css,f=s.defined,g=s.discardElement,m=s.find,y=s.fireEvent,v=s.isNumber,x=s.merge,b=s.pick,M=s.relativeLength,C=s.stableSort,S=s.syncTimeout;function w(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options=void 0,this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return o=s.wrap,w.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),n(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=n(this.chart,"render",function(){this.legend.proximatePositions(),this.legend.positionItems()}):this.unchartrender&&this.unchartrender())},w.prototype.setOptions=function(t){var e=b(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=x(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=b(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},w.prototype.update=function(t,e){var i=this.chart;this.setOptions(x(!0,this.options,t)),this.destroy(),i.isDirtyLegend=i.isDirtyBox=!0,b(e,!0)&&i.redraw(),y(this,"afterUpdate")},w.prototype.colorizeItem=function(t,e){var i,o,s,r,n,a,h,l;t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),this.chart.styledMode||(n=this.options,i=t.legendItem,o=t.legendLine,s=t.legendSymbol,r=this.itemHiddenStyle.color,n=e?n.itemStyle.color:r,a=e&&t.color||r,h=t.options&&t.options.marker,l={fill:a},i&&i.css({fill:n,color:n}),o&&o.attr({stroke:a}),s&&(h&&s.isMarker&&(l=t.pointAttribs(),e||(l.stroke=l.fill=r)),s.attr(l))),y(this,"afterColorizeItem",{item:t,visible:e})},w.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},w.prototype.positionItem=function(t){var e=this,i=(s=this.options).symbolPadding,o=!s.rtl,s=(r=t._legendItemPos)[0],r=r[1],n=t.checkbox,a=t.legendGroup;a&&a.element&&(i={translateX:o?s:this.legendWidth-s-2*i-4,translateY:r},o=function(){y(e,"afterPositionItem",{item:t})},f(a.translateY)?a.animate(i,void 0,o):(a.attr(i),o())),n&&(n.x=s,n.y=r)},w.prototype.destroyItem=function(e){var t=e.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(t){e[t]&&(e[t]=e[t].destroy())}),t&&g(e.checkbox)},w.prototype.destroy=function(){function e(t){this[t]&&(this[t]=this[t].destroy())}this.getAllItems().forEach(function(t){["legendItem","legendGroup"].forEach(e,t)}),"clipRect up down pager nav box title group".split(" ").forEach(e,this),this.display=null},w.prototype.positionCheckboxes=function(){var o,s=this.group&&this.group.alignAttr,r=this.clipHeight||this.legendHeight,n=this.titleHeight;s&&(o=s.translateY,this.allItems.forEach(function(t){var e,i=t.checkbox;i&&(e=o+n+i.y+(this.scrollOffset||0)+3,u(i,{left:s.translateX+t.checkboxOffset+i.x-20+"px",top:e+"px",display:this.proximate||o-61.5*i?e.height:i))},w.prototype.layoutItem=function(t){var e=this.options,i=this.padding,o="horizontal"===e.layout,s=t.itemHeight,r=this.itemMarginBottom,n=this.itemMarginTop,a=o?b(e.itemDistance,20):0,h=this.maxLegendWidth,e=e.alignColumns&&this.totalItemWidth>h?this.maxItemWidth:t.itemWidth;o&&this.itemX-i+e>h&&(this.itemX=i,this.lastLineHeight&&(this.itemY+=n+this.lastLineHeight+r),this.lastLineHeight=0),this.lastItemY=n+this.itemY+r,this.lastLineHeight=Math.max(s,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],o?this.itemX+=e:(this.itemY+=n+s+r,this.lastLineHeight=s),this.offsetWidth=this.widthOption||Math.max((o?this.itemX-i-(t.checkbox?0:a):e)+i,this.offsetWidth)},w.prototype.getAllItems=function(){var i=[];return this.chart.series.forEach(function(t){var e=t&&t.options;t&&b(e.showInLegend,!f(e.linkedTo)&&void 0,!0)&&(i=i.concat(t.legendItems||("point"===e.legendType?t.data:t)))}),y(this,"afterGetAllItems",{allItems:i}),i},w.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},w.prototype.adjustMargins=function(i,o){var s=this.chart,r=this.options,n=this.getAlignment();n&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(t,e){t.test(n)&&!f(i[e])&&(s[a[e]]=Math.max(s[a[e]],s.legend[(e+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][e]*r[e%2?"x":"y"]+b(r.margin,12)+o[e]+(s.titleOffset[e]||0)))})},w.prototype.proximatePositions=function(){var s=this.chart,r=[],n="left"===this.options.align;this.allItems.forEach(function(t){var e,i,o=n;t.yAxis&&(t.xAxis.options.reversed&&(o=!o),t.points&&(e=m(o?t.points:t.points.slice(0).reverse(),function(t){return v(t.plotY)})),o=this.itemMarginTop+t.legendItem.getBBox().height+this.itemMarginBottom,i=t.yAxis.top-s.plotTop,t.visible?(e=e?e.plotY:t.yAxis.height,e+=i-.3*o):e=i+t.yAxis.height,r.push({target:e,size:o,item:t}))},this),h(r,s.plotHeight).forEach(function(t){t.item._legendItemPos&&t.pos&&(t.item._legendItemPos[1]=s.plotTop-s.spacing[0]+t.pos)})},w.prototype.render=function(){var t=this.chart,e=t.renderer,i=this.options,o=this.padding,s=this.getAllItems(),r=this.group,n=this.box,a=(this.itemX=o,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=M(i.width,t.spacingBox.width-o),t.spacingBox.width-2*o-i.x),h=(-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(a/=2),this.maxLegendWidth=this.widthOption||a,r||(this.group=r=e.g("legend").addClass(i.className||"").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(r),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle(),C(s,function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)}),i.reversed&&s.reverse(),this.allItems=s,this.display=a=!!s.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,s.forEach(this.renderItem,this),s.forEach(this.layoutItem,this),s=(this.widthOption||this.offsetWidth)+o,this.lastItemY+this.lastLineHeight+this.titleHeight),h=this.handleOverflow(h);h+=o,n||(this.box=n=e.rect().addClass("highcharts-legend-box").attr({r:i.borderRadius}).add(r)),t.styledMode||n.attr({stroke:i.borderColor,"stroke-width":i.borderWidth||0,fill:i.backgroundColor||"none"}).shadow(i.shadow),0r&&(n||i)!==m[s-1])&&(m.push(n||i),s++),t.pageIx=s-1,n&&(y[e-1].pageIx=s-1),e===y.length-1&&i+o-m[s-1]>r&&o<=r&&(m.push(i),t.pageIx=s),i!==n&&(n=i)}),x||(x=o.clipRect=a.clipRect(0,p,9999,0),o.contentGroup.clip(x)),e(r),v||(this.nav=v=a.g().attr({zIndex:1}).add(this.group),this.up=a.symbol("triangle",0,0,g,g).add(v),i("upTracker").on("click",function(){o.scroll(-1,f)}),this.pager=a.text("",15,10).addClass("highcharts-legend-navigation"),!s.styledMode&&u.style&&this.pager.css(u.style),this.pager.add(v),this.down=a.symbol("triangle-down",0,0,g,g).add(v),i("downTracker").on("click",function(){o.scroll(1,f)})),o.scroll(0),t=l):v&&(e(),this.nav=v.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},w.prototype.scroll=function(t,e){var i=this,o=this.chart,s=this.pages,r=s.length,n=this.clipHeight,a=this.options.navigation,h=this.pager,l=this.padding,c=this.currentPage+t;0<(c=r=Math.max(l+n,o.pos)&&h<=Math.min(l+n+r.width,o.pos+o.len)||(t.isInsidePlot=!1)),!i.ignoreY&&t.isInsidePlot&&(s=p&&(s?p.xAxis:p.yAxis)||{pos:a,len:1/0},(i=i.paneCoordinates?s.pos+e:a+e)>=Math.max(c+a,s.pos)&&i<=Math.min(c+a+r.height,s.pos+s.len)||(t.isInsidePlot=!1)),k(this,"afterIsInsidePlot",t),t.isInsidePlot},z.prototype.redraw=function(t){k(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],i=this.series,o=this.pointer,s=this.legend,r=this.userOptions.legend,n=this.renderer,a=n.isHidden(),h=[],l=this.isDirtyBox,c=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),f(!!this.hasRendered&&t,this),a&&this.temporaryDisplay(),this.layOutTitles(),t=i.length;t--;){var p=i[t];if(p.options.stacking||p.options.centerInCategory){var d=!0;if(p.isDirty){var u=!0;break}}}if(u)for(t=i.length;t--;)(p=i[t]).options.stacking&&(p.isDirty=!0);i.forEach(function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),c=!0):r&&(r.labelFormatter||r.labelFormat)&&(c=!0)),t.isDirtyData&&k(t,"updatedData")}),c&&s&&s.options.enabled&&(s.render(),this.isDirtyLegend=!1),d&&this.getStacks(),e.forEach(function(t){t.updateNames(),t.setScale()}),this.getMargins(),e.forEach(function(t){t.isDirty&&(l=!0)}),e.forEach(function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,h.push(function(){k(t,"afterSetExtremes",w(t.eventArgs,t.getExtremes())),delete t.eventArgs})),(l||d)&&t.redraw()}),l&&this.drawChartBox(),k(this,"predraw"),i.forEach(function(t){(l||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1}),o&&o.reset(!0),n.draw(),k(this,"redraw"),k(this,"render"),a&&this.temporaryDisplay(!0),h.forEach(function(t){t.call()})},z.prototype.get=function(e){function t(t){return t.id===e||t.options&&t.options.id===e}for(var i=this.series,o=r(this.axes,t)||r(this.series,t),s=0;!o&&s=D(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return D(e,t.length-1)},z.prototype.bindAxes=function(){var o,s=this,r=s.options,t=s.chart;A(this,"bindAxes",null,function(){(s.axisTypes||[]).forEach(function(e){var i=0;t[e].forEach(function(t){o=t.options,(r[e]===i&&!o.isInternal||void 0!==r[e]&&r[e]===o.id||void 0===r[e]&&0===o.index)&&(s.insert(t.series),(s[e]=t).isDirty=!0),o.isInternal||i++}),s[e]||s.optionalAxis===e||C(18,!0,t)})}),A(this,"afterBindAxes")},z.prototype.updateParallelArrays=function(i,o){var s=i.series,e=arguments,t=O(o)?function(t){var e="y"===t&&s.toYData?s.toYData(i):i[t];s[t+"Data"][o]=e}:function(t){Array.prototype[o].apply(s[t+"Data"],Array.prototype.slice.call(e,2))};s.parallelArrays.forEach(t)},z.prototype.hasData=function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0=this.cropStart?s-this.cropStart:s),s=!o&&O(s)&&a[s]&&a[s].touched?void 0:s},z.prototype.updateData=function(t,e){var s,i,r,n=this.options,a=n.dataSorting,h=this.points,l=[],c=this.requireSorting,p=t.length===h.length,o=!0;if(this.xIncrement=null,t.forEach(function(t,e){var i=T(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},o=i.x;i.id||O(o)?(-1===(i=this.findPointIndex(i,r))||void 0===i?l.push(t):h[i]&&t!==n.data[i]?(h[i].update(t,!1,null,!1),h[i].touched=!0,c&&(r=i+1)):h[i]&&(h[i].touched=!0),(!p||e!==i||a&&a.enabled||this.hasDerivedData)&&(s=!0)):l.push(t)},this),s)for(t=h.length;t--;)(i=h[t])&&!i.touched&&i.remove&&i.remove(!1,e);else!p||a&&a.enabled?o=!1:(t.forEach(function(t,e){t!==h[e].y&&h[e].update&&h[e].update(t,!1,null,!1)}),l.length=0);return h.forEach(function(t){t&&(t.touched=!1)}),!!o&&(l.forEach(function(t){this.addPoint(t,!1,null,null,!1)},this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=x(this.xData),this.autoIncrement()),!0)},z.prototype.setData=function(t,e,i,o){void 0===e&&(e=!0);var s,r,n=this,a=n.points,h=a&&a.length||0,l=n.options,c=n.chart,p=l.dataSorting,d=n.xAxis,u=l.turboThreshold,f=this.xData,g=this.yData,m=(m=n.pointArrayMap)&&m.length,y=l.keys,v=0,x=1;if(c.options.chart.allowMutatingData||(l.data&&delete n.options.data,n.userOptions.data&&delete n.userOptions.data,r=j(!0,t)),r=(t=r||t||[]).length,p&&p.enabled&&(t=this.sortData(t)),!(s=c.options.chart.allowMutatingData&&!1!==o&&r&&h&&!n.cropped&&!n.hasGroupedData&&n.visible&&!n.boosted?this.updateData(t,i):s)){if(n.xIncrement=null,n.colorCounter=0,this.parallelArrays.forEach(function(t){n[t+"Data"].length=0}),u&&ui?(p=[],d=[]):this.yData&&(p[0]i)&&(p=(o=this.cropData(this.xData,this.yData,e,i)).xData,d=o.yData,c=o.start,o=!0)),a=p.length||1;--a;)0<(r=n?t(p[a])-t(p[a-1]):p[a]-p[a-1])&&(void 0===s||r=i){a=Math.max(0,r-s);break}for(i=r;io){h=i+s;break}return{xData:t.slice(a,h),yData:e.slice(a,h),start:a,end:h}},z.prototype.generatePoints=function(){var t,e,i=this.options,o=this.processedData||i.data,s=this.processedXData,r=this.processedYData,n=this.pointClass,a=s.length,h=this.cropStart||0,l=this.hasGroupedData,c=i.keys,p=[],i=i.dataGrouping&&i.dataGrouping.groupAll?h:0,d=this.data;for(d||l||((f=[]).length=o.length,d=this.data=f),c&&l&&(this.options.keys=!1),e=0;e=h&&(r[i-a]||d)<=l;if(f&&d)if(f=u.length)for(;f--;)O(u[f])&&(n[c++]=u[f]);else n[c++]=u}return t={activeYData:n,dataMin:b(n),dataMax:x(n)},A(this,"afterGetExtremes",{dataExtremes:t}),t},z.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},z.prototype.getFirstValidPoint=function(t){for(var e=t.length,i=0,o=null;null===o&&i=s.enabledThreshold*s.radius);if(!1!==s.enabled||this._hasPointMarkers)for(t=0;tl.max,c.resetZones&&0===i&&(i=void 0)}),this.clips=u):c.visible&&(f&&f.show(),g&&g.show())},z.prototype.invertGroups=function(e){function t(){["group","markerGroup"].forEach(function(t){i[t]&&(o.renderer.isVML&&i[t].attr({width:i.yAxis.len,height:i.xAxis.len}),i[t].width=i.yAxis.len,i[t].height=i.xAxis.len,i[t].invert(!i.isRadialSeries&&e))})}var i=this,o=i.chart;i.xAxis&&(i.eventsToUnbind.push(v(o,"resize",t)),t(),i.invertGroups=t)},z.prototype.plotGroup=function(t,e,i,o,s){var r=this[t],n=!r;return i={visibility:i,zIndex:o||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(i.opacity=this.opacity),n&&(this[t]=r=this.chart.renderer.g().add(s)),r.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(T(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(r.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),r.attr(i)[n?"attr":"animate"](this.getPlotBox()),r},z.prototype.getPlotBox=function(){var t=this.chart,e=this.xAxis,i=this.yAxis;return t.inverted&&(e=i,i=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:i?i.top:t.plotTop,scaleX:1,scaleY:1}},z.prototype.removeEvents=function(t){t||_(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(t){t()}),this.eventsToUnbind.length=0)},z.prototype.render=function(){var t=this,e=t.chart,i=t.options,o=p(i.animation),s=t.visible?"inherit":"hidden",r=i.zIndex,n=t.hasRendered,a=e.seriesGroup,h=e.inverted,e=!t.finishedAnimating&&e.renderer.isSVG?o.duration:0,l=(A(this,"render"),t.plotGroup("group","series",s,r,a));t.markerGroup=t.plotGroup("markerGroup","markers",s,r,a),!1!==i.clip&&t.setClip(),t.animate&&e&&t.animate(!0),l.inverted=!!D(t.invertible,t.isCartesian)&&h,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(h),t.animate&&e&&t.animate(),n||(e&&o.defer&&(e+=o.defer),t.animationTimeout=I(function(){t.afterAnimate()},e||0)),t.isDirty=!1,t.hasRendered=!0,A(t,"afterRender")},z.prototype.redraw=function(){var t=this.chart,e=this.isDirty||this.isDirtyData,i=this.group,o=this.xAxis,s=this.yAxis;i&&(t.inverted&&i.attr({width:t.plotWidth,height:t.plotHeight}),i.animate({translateX:D(o&&o.left,t.plotLeft),translateY:D(s&&s.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},z.prototype.searchPoint=function(t,e){var i=this.xAxis,o=this.yAxis,s=this.chart.inverted;return this.searchKDTree({clientX:s?i.len-t.chartY+i.pos:t.chartX-i.pos,plotY:s?o.len-t.chartX+o.pos:t.chartY-o.pos},e,t)},z.prototype.buildKDTree=function(t){this.buildingKdTree=!0;var n=this,e=-1u;)f--;this.updateParallelArrays(d,"splice",f,0,0),this.updateParallelArrays(d,f),l&&d.name&&(l[u]=d.name),c.splice(f,0,t),(r||this.processedData)&&(this.data.splice(f,0,null),this.processData()),"point"===n.legendType&&this.generatePoints(),i&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(d,"shift"),c.shift())),!1!==s&&A(this,"addPoint",{point:d}),this.isDirtyData=this.isDirty=!0,e&&h.redraw(o)},z.prototype.removePoint=function(t,e,i){function o(){a&&a.length===r.length&&a.splice(t,1),r.splice(t,1),s.options.data.splice(t,1),s.updateParallelArrays(n||{series:s},"splice",t,1),n&&n.destroy(),s.isDirty=!0,s.isDirtyData=!0,e&&h.redraw()}var s=this,r=s.data,n=r[t],a=s.points,h=s.chart;d(i,h),e=D(e,!0),n?n.firePointEvent("remove",null,o):o()},z.prototype.remove=function(t,e,i,o){function s(){r.destroy(o),n.isDirtyLegend=n.isDirtyBox=!0,n.linkSeries(),D(t,!0)&&n.redraw(e)}var r=this,n=r.chart;!1!==i?A(r,"remove",null,s):s()},z.prototype.update=function(t,e){t=B(t,this.userOptions),A(this,"update",{options:t});var i,o,s=this,r=s.chart,n=s.userOptions,a=s.initialType||s.type,h=r.options.plotOptions,l=y[a].prototype,c=s.finishedAnimating&&{animation:!1},p={},d=["eventOptions","navigatorSeries","baseSeries"],u=t.type||n.type||r.options.chart.type,f=!(this.hasDerivedData||u&&u!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||t.joinBy||t.mapData||s.hasOptionChanged("dataGrouping")||s.hasOptionChanged("pointStart")||s.hasOptionChanged("pointInterval")||s.hasOptionChanged("pointIntervalUnit")||s.hasOptionChanged("keys")),u=u||a;if(f&&(d.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&d.push("area","graph"),s.parallelArrays.forEach(function(t){d.push(t+"Data")}),t.data&&(t.dataSorting&&S(s.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=j(n,c,{index:(void 0===n.index?s:n).index,pointStart:D(h&&h.series&&h.series.pointStart,n.pointStart,s.xData[0])},!f&&{data:s.options.data},t),f&&t.data&&(t.data=s.options.data),(d=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(d)).forEach(function(t){d[t]=s[t],delete s[t]}),h=!1,y[u]){if(h=u!==s.type,s.remove(!1,!1,!1,!0),h)if(Object.setPrototypeOf)Object.setPrototypeOf(s,y[u].prototype);else{for(i in c=Object.hasOwnProperty.call(s,"hcEvents")&&s.hcEvents,l)s[i]=void 0;S(s,y[u].prototype),c?s.hcEvents=c:delete s.hcEvents}}else C(17,!0,r,{missingModuleFor:u});d.forEach(function(t){s[t]=d[t]}),s.init(r,t),f&&this.points&&(!1===(o=s.options).visible?(p.graphic=1,p.dataLabel=1):s._hasPointLabels||(t=o.marker,l=o.dataLabels,!t||!1!==t.enabled&&(n.marker&&n.marker.symbol)===t.symbol||(p.graphic=1),l&&!1===l.enabled&&(p.dataLabel=1)),this.points.forEach(function(t){t&&t.series&&(t.resolveColor(),Object.keys(p).length&&t.destroyElements(p),!1===o.showInLegend&&t.legendItem&&r.legend.destroyItem(t))},this)),s.initialType=a,r.linkSeries(),h&&s.linkedSeries.length&&(s.isDirtyData=!0),A(this,"afterUpdate"),D(e,!0)&&r.redraw(f&&void 0)},z.prototype.setName=function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},z.prototype.hasOptionChanged=function(t){var e=this.options[t],i=this.chart.options.plotOptions,o=this.userOptions[t];return o?e!==o:e!==D(i&&i[this.type]&&i[this.type][t],i&&i.series&&i.series[t],e)},z.prototype.onMouseOver=function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&A(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},z.prototype.onMouseOut=function(){var t=this.options,e=this.chart,i=e.tooltip,o=e.hoverPoint;e.hoverSeries=null,o&&o.onMouseOut(),this&&t.events.mouseOut&&A(this,"mouseOut"),!i||this.stickyTracking||i.shared&&!this.noSharedTooltip||i.hide(),e.series.forEach(function(t){t.setState("",!0)})},z.prototype.setState=function(e,t){var i=this,o=i.options,s=i.graph,r=o.inactiveOtherPoints,n=o.states,a=D(n[e||"normal"]&&n[e||"normal"].animation,i.chart.options.chart.animation),h=o.lineWidth,l=0,c=o.opacity;if(e=e||"",i.state!==e&&([i.group,i.markerGroup,i.dataLabelsGroup].forEach(function(t){t&&(i.state&&t.removeClass("highcharts-series-"+i.state),e&&t.addClass("highcharts-series-"+e))}),i.state=e,!i.chart.styledMode)){if(n[e]&&!1===n[e].enabled)return;if(e&&(h=n[e].lineWidth||h+(n[e].lineWidthPlus||0),c=D(n[e].opacity,c)),s&&!s.dashstyle)for(s.animate(o={"stroke-width":h},a);i["zone-graph-"+l];)i["zone-graph-"+l].animate(o,a),l+=1;r||[i.group,i.markerGroup,i.dataLabelsGroup,i.labelBySeries].forEach(function(t){t&&t.animate({opacity:c},a)})}t&&r&&i.points&&i.setAllPointsToState(e||void 0)},z.prototype.setAllPointsToState=function(e){this.points.forEach(function(t){t.setState&&t.setState(e)})},z.prototype.setVisible=function(e,t){var i=this,o=i.chart,s=i.legendItem,r=o.options.chart.ignoreHiddenSeries,n=i.visible,a=(i.visible=e=i.options.visible=i.userOptions.visible=void 0===e?!n:e)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(t){i[t]&&i[t][a]()}),o.hoverSeries!==i&&(o.hoverPoint&&o.hoverPoint.series)!==i||i.onMouseOut(),s&&o.legend.colorizeItem(i,e),i.isDirty=!0,i.options.stacking&&o.series.forEach(function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)}),i.linkedSeries.forEach(function(t){t.setVisible(e,!1)}),r&&(o.isDirtyBox=!0),A(i,a),!1!==t&&o.redraw()},z.prototype.show=function(){this.setVisible(!0)},z.prototype.hide=function(){this.setVisible(!1)},z.prototype.select=function(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),A(this,t?"select":"unselect")},z.prototype.shouldShowTooltip=function(t,e,i){return(i=void 0===i?{}:i).series=this,i.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,i)},z.defaultOptions=r,z.types=n.seriesTypes,z.registerType=n.registerSeriesType,S((t=z).prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:s.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:l,requireSorting:!0,sorted:!0}),n.series=t}),t(e,"Extensions/ScrollablePlotArea.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Chart/Chart.js"],e["Core/Series/Series.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],function(t,r,e,i,n,o){var a=t.stop,h=o.addEvent,l=o.createElement,c=o.defined,p=o.merge,d=o.pick;h(e,"afterSetChartSize",function(t){var s,e=(i=this.options.chart.scrollablePlotArea)&&i.minWidth,i=i&&i.minHeight;this.renderer.forExport||(e?(this.scrollablePixelsX=e=Math.max(0,e-this.chartWidth))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=p(this.plotBox),this.plotBox.width=this.plotWidth+=e,this.inverted?this.clipBox.height+=e:this.clipBox.width+=e,s={1:{name:"right",value:e}}):i&&(this.scrollablePixelsY=e=Math.max(0,i-this.chartHeight),c(e)&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=p(this.plotBox),this.plotBox.height=this.plotHeight+=e,this.inverted?this.clipBox.width+=e:this.clipBox.height+=e,s={2:{name:"bottom",value:e}})),s&&!t.skipAxes&&this.axes.forEach(function(o){s[o.side]?o.getPlotLinePath=function(){var t=s[o.side].name,e=this[t],i=(this[t]=e-s[o.side].value,r.prototype.getPlotLinePath.apply(this,arguments));return this[t]=e,i}:(o.setAxisSize(),o.setAxisTranslation())}))}),h(e,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()}),e.prototype.setUpScrolling=function(){var t=this,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingParent=l("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=l("div",{className:"highcharts-scrolling"},e,this.scrollingParent),h(this.scrollingContainer,"scroll",function(){t.pointer&&delete t.pointer.chartPosition}),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},e.prototype.moveFixedElements=function(){var t,e=this.container,i=this.fixedRenderer,o=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&o.push(t+":not(.highcharts-radial-axis)",t+"-labels:not(.highcharts-radial-axis-labels)"),o.forEach(function(t){[].forEach.call(e.querySelectorAll(t),function(t){(t.namespaceURI===i.SVG_NS?i.box:i.box.parentNode).appendChild(t),t.style.pointerEvents="auto"})})},e.prototype.applyFixed=function(){var t=!this.fixedDiv,e=this.options.chart,i=e.scrollablePlotArea,o=n.getRendererType(),s=(t?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new o(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":d(i.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),h(this,"afterShowResetZoom",this.moveFixedElements),h(this,"afterApplyDrilldown",this.moveFixedElements),h(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||t)&&(this.scrollableDirty=!1,this.moveFixedElements()),e=this.chartWidth+(this.scrollablePixelsX||0),o=this.chartHeight+(this.scrollablePixelsY||0),a(this.container),this.container.style.width=e+"px",this.container.style.height=o+"px",this.renderer.boxWrapper.attr({width:e,height:o,viewBox:[0,0,e,o].join(" ")}),this.chartBackground.attr({width:e,height:o}),this.scrollingContainer.style.height=this.chartHeight+"px",t&&(i.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*i.scrollPositionX),i.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*i.scrollPositionY)),o=this.axisOffset,t=this.plotTop-o[0]-1,i=this.plotLeft-o[3]-1,e=this.plotTop+this.plotHeight+o[2]+1,o=this.plotLeft+this.plotWidth+o[1]+1,this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0)),r=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0),t=this.scrollablePixelsX?[["M",0,t],["L",this.plotLeft-1,t],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",s,t],["L",this.chartWidth,t],["L",this.chartWidth,e],["L",s,e],["Z"]]:this.scrollablePixelsY?[["M",i,0],["L",i,this.plotTop-1],["L",o,this.plotTop-1],["L",o,0],["Z"],["M",i,r],["L",i,this.chartHeight],["L",o,this.chartHeight],["L",o,r],["Z"]]:[["M",0,0]];"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},h(r,"afterInit",function(){this.chart.scrollableDirty=!0}),h(i,"show",function(){this.chart.scrollableDirty=!0})}),t(e,"Core/Axis/Stacking/StackItem.js",[e["Core/FormatUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i){var s=t.format,h=e.series,l=i.defined,o=i.destroyObjectProperties,c=i.isNumber,p=i.pick;function r(t,e,i,o,s){var r=t.chart.inverted;this.axis=t,this.isNegative=i,this.options=e=e||{},this.x=o,this.cumulative=this.total=null,this.points={},this.hasValidPoints=!1,this.stack=s,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(r?i?"left":"right":"center"),verticalAlign:e.verticalAlign||(r?"middle":i?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(r?i?"right":"left":"center")}return r.prototype.destroy=function(){o(this,this.axis)},r.prototype.render=function(t){var e=this.axis.chart,i=this.options,o=(o=i.format)?s(o,this,e):i.formatter.call(this);this.label?this.label.attr({text:o,visibility:"hidden"}):(this.label=e.renderer.label(o,null,null,i.shape,null,null,i.useHTML,!1,"stack-labels"),o={r:i.borderRadius||0,text:o,rotation:i.rotation,padding:p(i.padding,5),visibility:"hidden"},e.styledMode||(o.fill=i.backgroundColor,o.stroke=i.borderColor,o["stroke-width"]=i.borderWidth,this.label.css(i.style)),this.label.attr(o),this.label.added||this.label.add(t)),this.label.labelrank=e.plotSizeY},r.prototype.setOffset=function(t,e,i,o,s){var r=this.axis,n=r.chart,a=(o=r.translate(r.stacking.usePercentage?100:o||this.total,0,0,0,1),i=r.translate(i||0),t=p(s,n.xAxis[0].translate(this.x))+t,r=l(o)&&this.getStackBox(n,this,t,o,e,Math.abs(o-i),r),e=this.label,i=this.isNegative,this.textAlign);e&&r&&(t=e.getBBox(),s=e.padding,o="justify"===p(this.options.overflow,"justify"),a="left"===a?n.inverted?-s:s:"right"===a?t.width:(!n.inverted||"center"!==a)&&n.inverted?i?t.width+s:-s:t.width/2,i=n.inverted?t.height/2:i?-s:t.height,this.alignOptions.x=p(this.options.x,0),this.alignOptions.y=p(this.options.y,0),r.x-=a,r.y-=i,e.align(this.alignOptions,null,r),n.isInsidePlot(e.alignAttr.x+a-this.alignOptions.x,e.alignAttr.y+i-this.alignOptions.y)?e.show():(e.hide(),o=!1),o&&h.prototype.justifyDataLabel.call(this.axis,e,this.alignOptions,e.alignAttr,t,r),e.attr({x:e.alignAttr.x,y:e.alignAttr.y}),p(!o&&this.options.crop,!0)&&!(n=c(e.x)&&c(e.y)&&n.isInsidePlot(e.x-s+e.width,e.y)&&n.isInsidePlot(e.x+s,e.y))&&e.hide())},r.prototype.getStackBox=function(t,e,i,o,s,r,n){var a=e.axis.reversed,h=t.inverted,l=n.height+n.pos-(h?t.plotLeft:t.plotTop);return e=e.isNegative&&!a||!e.isNegative&&a,{x:h?e?o-n.right:o-r+n.pos-t.plotLeft:i+t.xAxis[0].transB-t.plotLeft,y:h?n.height-i-s:e?l-o-r:l-o,width:h?r:s,height:h?s:r}},t=r}),t(e,"Core/Axis/Stacking/StackingAxis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],function(t,e,i,M,o){function s(){var i=this,o=i.inverted;i.yAxis.forEach(function(t){t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)}),i.series.forEach(function(t){var e=t.xAxis&&t.xAxis.options||{};!t.options.stacking||!0!==t.visible&&!1!==i.options.chart.ignoreHiddenSeries||(t.stackKey=[t.type,k(t.options.stack,""),o?e.top:e.left,o?e.height:e.width].join())})}function r(){var i,t=this.stacking;t&&(i=t.stacks,b(i,function(t,e){y(t),i[e]=null}),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy())}function n(){this.stacking||(this.stacking=new P(this))}function a(t,e,i,o){return!S(t)||t.x!==e||o&&t.stackKey!==o?t={x:e,index:0,key:o,stackKey:o}:t.index++,t.key=[i,e,t.index].join(),t}function h(){var s,r=this,t=r.stackKey,n=r.yAxis.stacking.stacks,a=r.processedXData,h=r[r.options.stacking+"Stacker"];h&&[t,"-"+t].forEach(function(t){for(var e,i,o=a.length;o--;)e=a[o],s=r.getStackIndicator(s,e,r.index,t),(i=(e=n[t]&&n[t][e])&&e.points[s.key])&&h.call(r,i,e,o)})}function l(t,e,i){e=e.total?100/e.total:0,t[0]=C(t[0]*e),t[1]=C(t[1]*e),this.stackedYData[i]=t[1]}function c(){var i=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1m?e-m:g-(o?m:0)),w(t.options.pointWidth)&&(n=h=Math.ceil(t.options.pointWidth),a-=Math.round((n-v)/2)),p.centerInCategory&&(a=l.adjustForMissingColumns(a,n,t,y)),t.barX=a,t.pointWidth=n,t.tooltipPos=c.inverted?[S(u.len+u.pos-c.plotLeft-i,u.pos-c.plotLeft,u.len+u.pos-c.plotLeft),d.len+d.pos-c.plotTop-a-h/2,r]:[d.left-c.plotLeft+a+h/2,S(i+u.pos-c.plotTop,u.pos-c.plotTop,u.len+u.pos-c.plotTop),r],t.shapeType=l.pointClass.prototype.shapeType||"rect",t.shapeArgs=l.crispCol.apply(l,t.isNull?[a,g,h,0]:[a,s,h,r])})},x.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},x.prototype.pointAttribs=function(t,e){var i,o=this.options,s=(h=this.pointAttrToOptions||{}).stroke||"borderColor",r=h["stroke-width"]||"borderWidth",n=t&&t.color||this.color,a=t&&t[s]||o[s]||n,h=t&&t.options.dashStyle||o.dashStyle,l=t&&t[r]||o[r]||this[r]||0,c=P(t&&t.opacity,o.opacity,1);return t&&this.zones.length&&(i=t.getZone(),n=t.options.color||i&&(i.color||t.nonZonedColor)||this.color,i&&(a=i.borderColor||a,h=i.dashStyle||h,l=i.borderWidth||l)),e&&t&&(e=(t=y(o.states[e],t.options.states&&t.options.states[e]||{})).brightness,n=t.color||void 0!==e&&p(n).brighten(t.brightness).get()||n,a=t[s]||a,l=t[r]||l,h=t.dashStyle||h,c=P(t.opacity,c)),s={fill:n,stroke:a,"stroke-width":l,opacity:c},h&&(s.dashstyle=h),s},x.prototype.drawPoints=function(){var s,r=this,n=this.chart,a=r.options,h=n.renderer,l=a.animationLimit||250;r.points.forEach(function(t){var e=t.graphic,i=!!e,o=e&&n.pointCount"===n&&h="===n&&h<=a||"<="===n&&a<=h||"=="===n&&a==h||"==="===n&&a===h)),a=p.connectors?p.connectors[e]:p.connector,h=p.dataLabels?p.dataLabels[e]:p.dataLabel,l=!h,c=C(t.distance,p.labelDistance);n&&(i=p.getLabelConfig(),o=C(t[p.formatPrefix+"Format"],t.format),i=x(o)?v(o,i,f):(t[p.formatPrefix+"Formatter"]||t.formatter).call(i,t),o=t.style,s=t.rotation,f.styledMode||(o.color=C(t.color,o.color,u.color,"#000000"),"contrast"===o.color?(p.contrastColor=m.getContrast(p.color||u.color),o.color=!x(c)&&t.inside||c<0||g.stacking?p.contrastColor:y):delete p.contrastColor,g.cursor&&(o.cursor=g.cursor)),r={r:t.borderRadius||0,rotation:s,padding:t.padding,zIndex:1},f.styledMode||(r.fill=t.backgroundColor,r.stroke=t.borderColor,r["stroke-width"]=t.borderWidth),M(r,function(t,e){void 0===t&&delete r[e]})),!h||n&&x(i)&&!!h.div==!!t.useHTML&&(h.rotation&&t.rotation||h.rotation===t.rotation)||(l=!0,p.dataLabel=h=p.dataLabel&&p.dataLabel.destroy(),p.dataLabels&&(1===p.dataLabels.length?delete p.dataLabels:delete p.dataLabels[e]),e||delete p.dataLabel,a&&(p.connector=p.connector.destroy(),p.connectors&&(1===p.connectors.length?delete p.connectors:delete p.connectors[e]))),n&&x(i)?(h?r.text=i:(p.dataLabels=p.dataLabels||[],h=p.dataLabels[e]=s?m.text(i,0,0,t.useHTML).addClass("highcharts-data-label"):m.label(i,0,0,t.shape,null,null,t.useHTML,null,"data-label"),e||(p.dataLabel=h),h.addClass(" highcharts-data-label-color-"+p.colorIndex+" "+(t.className||"")+(t.useHTML?" highcharts-tracker":""))),h.options=t,h.attr(r),f.styledMode||h.css(o).shadow(t.shadow),t.textPath&&!t.useHTML&&(h.setTextPath(p.getDataLabelPath&&p.getDataLabelPath(h)||p.graphic,t.textPath),p.dataLabelPath&&!t.textPath.enabled&&(p.dataLabelPath=p.dataLabelPath.destroy())),h.added||h.add(d),u.alignDataLabel(p,h,t,null,l)):h&&h.hide()})})),n(this,"afterDrawDataLabels")}function u(t,e,i,o,s,r){var n,a=this.chart,h=e.align,l=e.verticalAlign,c=!t.box&&t.padding||0,p=void 0===(p=e.x)?0:p,d=void 0===(d=e.y)?0:d,u=(i.x||0)+c;return u<0&&("right"===h&&0<=p?(e.align="left",e.inside=!0):p-=u,n=!0),(u=(i.x||0)+o.width-c)>a.plotWidth&&("left"===h&&p<=0?(e.align="right",e.inside=!0):p+=a.plotWidth-u,n=!0),(u=i.y+c)<0&&("bottom"===l&&0<=d?(e.verticalAlign="top",e.inside=!0):d-=u,n=!0),(u=(i.y||0)+o.height-c)>a.plotHeight&&("top"===l&&d<=0?(e.verticalAlign="bottom",e.inside=!0):d+=a.plotHeight-u,n=!0),n&&(e.x=p,e.y=d,t.placed=!r,t.align(e,void 0,s)),n}function S(e,i){var t,o=[];if(a(e)&&!a(i))o=e.map(function(t){return l(t,i)});else if(a(i)&&!a(e))o=i.map(function(t){return l(e,t)});else if(a(e)||a(i))for(t=Math.max(e.length,i.length);t--;)o[t]=l(e[t],i[t]);else o=l(e,i);return o}function f(t,e,i,o,s){var r=this.chart,n=r.inverted,a=this.xAxis,h=a.reversed,l=n?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=n?s.x:h?-l-t:a.width-l+t,e.startYPos=n?h?this.yAxis.height-l+t:-l-t:s.y,o?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),r.hasRendered&&(i&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}return o=o||{},s=[],o.compose=function(t){var e;-1===s.indexOf(t)&&(e=t.prototype,s.push(t),e.alignDataLabel=p,e.drawDataLabels=d,e.justifyDataLabel=u,e.setDataLabelStartPos=f)},o}),t(e,"Series/Column/ColumnDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,t,i){var o,s,p=t.series,d=i.merge,u=i.pick;function r(t,e,i,o,s){var r=this.chart.inverted,n=((a=t.series).xAxis?a.xAxis.len:this.chart.plotSizeX)||0,a=(a.yAxis?a.yAxis.len:this.chart.plotSizeY)||0,h=t.dlBox||t.shapeArgs,l=u(t.below,t.plotY>u(this.translatedThreshold,a)),c=u(i.inside,!!this.options.stacking);h&&((o=d(h)).y<0&&(o.height+=o.y,o.y=0),0<(h=o.y+o.height-a)&&h {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}}),h((e=c).prototype,{drawTracker:r.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),a(e,"afterTranslate",function(){this.applyJitter()}),t.registerSeriesType("scatter",e),e}),t(e,"Series/CenteredUtilities.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(t,c,e){var i,o=t.deg2rad,p=e.fireEvent,d=e.isNumber,u=e.pick,f=e.relativeLength;return(t=i=i||{}).getCenter=function(){var t=this.options,e=this.chart,i=2*(t.slicedOffset||0),o=e.plotWidth-2*i,s=e.plotHeight-2*i,r=t.center,n=Math.min(o,s),a=t.thickness,h=t.size,l=t.innerSize||0;for("string"==typeof h&&(h=parseFloat(h)),"string"==typeof l&&(l=parseFloat(l)),t=[u(r[0],"50%"),u(r[1],"50%"),u(h&&h<0?void 0:t.size,"100%"),u(l&&l<0?void 0:t.innerSize||0,"0%")],!e.angular||this instanceof c||(t[3]=0),r=0;r<4;++r)h=t[r],e=r<2||2===r&&/%$/.test(h),t[r]=f(h,[o,s,n,t[2]][r])+(e?i:0);return t[3]>t[2]&&(t[3]=t[2]),d(a)&&2*at.x||se.x)&&(o=!1),t=[["M",t.x,t.y]],o&&t.push(i),t.push(["L",e.x,e.y]),t}}}),e}),t(e,"Series/Pie/PieSeries.js",[e["Series/CenteredUtilities.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Series/Pie/PiePoint.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],function(t,e,i,o,s,r,n,a,h){var l,c,p=this&&this.__extends||(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),m=t.getStartAndEndRadians,d=(i=i.noop,h.clamp),u=h.extend,y=h.fireEvent,f=h.merge,v=h.pick,x=h.relativeLength;function g(){var t=null!==c&&c.apply(this,arguments)||this;return t.center=void 0,t.data=void 0,t.maxLabelDistance=void 0,t.options=void 0,t.points=void 0,t}return p(g,c=r),g.prototype.animate=function(t){var o=this,e=o.points,s=o.startAngleRad;t||e.forEach(function(t){var e=t.graphic,i=t.shapeArgs;e&&i&&(e.attr({r:v(t.startR,o.center&&o.center[3]/2),start:s,end:s}),e.animate({r:i.r,start:i.start,end:i.end},o.options.animation))})},g.prototype.drawEmpty=function(){var t,e,i=this.startAngleRad,o=this.endAngleRad,s=this.options;0===this.total&&this.center?(t=this.center[0],e=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(t,e,this.center[1]/2,0,i,o).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:a.arc(t,e,this.center[2]/2,0,{start:i,end:o,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":s.borderWidth,fill:s.fillColor||"none",stroke:s.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())},g.prototype.drawPoints=function(){var e=this.chart.renderer;this.points.forEach(function(t){t.graphic&&t.hasNewShapeType()&&(t.graphic=t.graphic.destroy()),t.graphic||(t.graphic=e[t.shapeType](t.shapeArgs).add(t.series.group),t.delayedRendering=!0)})},g.prototype.generatePoints=function(){c.prototype.generatePoints.call(this),this.updateTotals()},g.prototype.getX=function(t,e,i){var o=this.center,s=this.radii?this.radii[i.index]||0:o[2]/2;return t=Math.asin(d((t-o[1])/(s+i.labelDistance),-1,1)),o[0]+(e?-1:1)*Math.cos(t)*(s+i.labelDistance)+(01.5*Math.PI?u-=2*Math.PI:u<-Math.PI/2&&(u+=2*Math.PI),p.slicedTranslation={translateX:Math.round(Math.cos(u)*i),translateY:Math.round(Math.sin(u)*i)},f=Math.cos(u)*t[2]/2,Math.sin(u)*t[2]/2);p.tooltipPos=[t[0]+.7*f,t[1]+.7*g],p.half=u<-Math.PI/2||u>Math.PI/2?1:0,p.angle=u,d=Math.min(o,p.labelDistance/5),p.labelPosition={natural:{x:t[0]+f+Math.cos(u)*p.labelDistance,y:t[1]+g+Math.sin(u)*p.labelDistance},final:{},alignment:p.labelDistance<0?"center":p.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+f+Math.cos(u)*d,y:t[1]+g+Math.sin(u)*d},touchingSliceAt:{x:t[0]+f,y:t[1]+g}}}}y(this,"afterTranslate")},g.prototype.updateTotals=function(){for(var t=this.points,e=t.length,i=this.options.ignoreHiddenPoint,o=0,s=0;se&&(t.dataLabel.css({width:Math.round(.7*e)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))}),s.forEach(function(t,e){var i,o,s,r=t.length,n=[];if(r)for(m.sortByAngle(t,e-.5),0e.bottom-2?o:i,e.half,e)},justify:function(t,e,i){return i[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,i,o){return t=t.getBBox().width,e?t+o:i-t-o},alignToConnectors:function(t,e,i,o){var s,r=0;return t.forEach(function(t){s=t.dataLabel.getBBox().width,r=a.x+a.width||c.x+c.width<=a.x||c.y>=a.y+a.height||c.y+c.height<=a.y||((r.labelrank=r(i.minWidth,0)&&this.chartHeight>=r(i.minHeight,0)}).call(this)&&e.push(t._id)},u.prototype.setResponsive=function(t,e){var i=this,o=this.options.responsive,s=this.currentResponsive,r=[];!e&&o&&o.rules&&o.rules.forEach(function(t){void 0===t._id&&(t._id=d()),i.matchResponsiveRule(t,r)},this),(e=a.apply(void 0,r.map(function(e){return n((o||{}).rules||[],function(t){return t._id===e})}).map(function(t){return t&&t.chartOptions}))).isResponsiveOptions=!0,(r=r.toString()||void 0)!==(s&&s.ruleIds)&&(s&&this.update(s.undoOptions,t,!0),r?((s=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:r,mergedOptions:e,undoOptions:s},this.update(e,t,!0)):this.currentResponsive=void 0)},o=u,e}),t(e,"masters/highcharts.src.js",[e["Core/Globals.js"],e["Core/Utilities.js"],e["Core/DefaultOptions.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/FormatUtilities.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Renderer/HTML/HTMLElement.js"],e["Core/Renderer/HTML/HTMLRenderer.js"],e["Core/Axis/Axis.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Axis/LogarithmicAxis.js"],e["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],e["Core/Axis/Tick.js"],e["Core/Tooltip.js"],e["Core/Series/Point.js"],e["Core/Pointer.js"],e["Core/MSPointer.js"],e["Core/Legend/Legend.js"],e["Core/Chart/Chart.js"],e["Core/Axis/Stacking/StackingAxis.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Series/Column/ColumnSeries.js"],e["Series/Column/ColumnDataLabel.js"],e["Series/Pie/PieSeries.js"],e["Series/Pie/PieDataLabel.js"],e["Core/Series/DataLabel.js"],e["Core/Responsive.js"],e["Core/Color/Color.js"],e["Core/Time.js"]],function(t,e,i,o,s,r,n,a,h,l,c,p,d,u,f,g,m,y,v,x,b,M,C,S,w,k,P,T,A,L,O,j,E,D,I){return t.animate=s.animate,t.animObject=s.animObject,t.getDeferredAnimation=s.getDeferredAnimation,t.setAnimation=s.setAnimation,t.stop=s.stop,t.timers=o.timers,t.AST=r,t.Axis=d,t.Chart=C,t.chart=C.chart,t.Fx=o,t.Legend=M,t.PlotLineOrBand=g,t.Point=v,t.Pointer=b.isRequired()?b:x,t.Series=k,t.StackItem=w,t.SVGElement=h,t.SVGRenderer=l,t.Tick=m,t.Time=I,t.Tooltip=y,t.Color=D,t.color=D.parse,p.compose(l),c.compose(h),t.defaultOptions=i.defaultOptions,t.getOptions=i.getOptions,t.time=i.defaultTime,t.setOptions=i.setOptions,t.dateFormat=n.dateFormat,t.format=n.format,t.numberFormat=n.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=a.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=P.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,A.compose(T),j.compose(k),u.compose(d),f.compose(d),O.compose(L),g.compose(d),E.compose(C),S.compose(d,C,k),t}),t(e,"Core/Axis/Color/ColorAxisComposition.js",[e["Core/Color/Color.js"],e["Core/Utilities.js"]],function(t,e){var i,n,a,o=t.parse,h=e.addEvent,l=e.extend,c=e.merge,p=e.pick,s=e.splat;function d(){var i=this,t=this.options;this.colorAxis=[],t.colorAxis&&(t.colorAxis=s(t.colorAxis),t.colorAxis.forEach(function(t,e){t.index=e,new n(i,t)}))}function u(e){function i(t){-1!==(t=e.allItems.indexOf(t))&&(s.destroyItem(e.allItems[t]),e.allItems.splice(t,1))}var o,t,s=this,r=[];for((this.chart.colorAxis||[]).forEach(function(t){(o=t.options)&&o.showInLegend&&(o.dataClasses&&o.visible?r=r.concat(t.getDataClassLegendSymbols()):o.visible&&r.push(t),t.series.forEach(function(t){t.options.showInLegend&&!o.dataClasses||("point"===t.options.legendType?t.points.forEach(function(t){i(t)}):i(t))}))}),t=r.length;t--;)e.allItems.unshift(r[t])}function f(t){t.visible&&t.item.legendColor&&t.item.legendSymbol.attr({fill:t.item.legendColor})}function g(){var t=this.chart.colorAxis;t&&t.forEach(function(t,e,i){t.update({},i)})}function m(){(this.chart.colorAxis&&this.chart.colorAxis.length||this.colorAttribs)&&this.translateColors()}function y(){var t=this.axisTypes;t?-1===t.indexOf("colorAxis")&&t.push("colorAxis"):this.axisTypes=["colorAxis"]}function v(t){var e=this,i=t?"show":"hide";e.visible=e.options.visible=!!t,["graphic","dataLabel"].forEach(function(t){e[t]&&e[t][i]()}),this.series.buildKDTree()}function x(){var i=this,o=this.options.nullColor,s=this.colorAxis,r=this.colorKey;(this.data.length?this.data:this.points).forEach(function(t){var e=t.getNestedProperty(r);(e=t.options.color||(t.isNull||null===t.value?o:s&&void 0!==e?s.toColor(e,t):t.color||i.color))&&t.color!==e&&(t.color=e,"point"===i.options.legendType&&t.legendItem&&i.chart.legend.colorizeItem(t,t.visible))})}function b(){this.elem.attr("fill",o(this.start).tweenTo(o(this.end),this.pos),void 0,!0)}function M(){this.elem.attr("stroke",o(this.start).tweenTo(o(this.end),this.pos),void 0,!0)}return t=i=i||{},a=[],t.compose=function(t,e,i,o,s){var r;n=n||t,-1===a.indexOf(e)&&(a.push(e),(t=e.prototype).collectionsWithUpdate.push("colorAxis"),t.collectionsWithInit.colorAxis=[t.addColorAxis],h(e,"afterGetAxes",d),r=(t=e).prototype.createAxis,t.prototype.createAxis=function(t,e){if("colorAxis"!==t)return r.apply(this,arguments);var i=new n(this,c(e.axis,{index:this[t].length,isX:!1}));return this.isDirtyLegend=!0,this.axes.forEach(function(t){t.series=[]}),this.series.forEach(function(t){t.bindAxes(),t.isDirtyData=!0}),p(e.redraw,!0)&&this.redraw(e.animation),i}),-1===a.indexOf(i)&&(a.push(i),(e=i.prototype).fillSetter=b,e.strokeSetter=M),-1===a.indexOf(o)&&(a.push(o),h(o,"afterGetAllItems",u),h(o,"afterColorizeItem",f),h(o,"afterUpdate",g)),-1===a.indexOf(s)&&(a.push(s),l(s.prototype,{optionalAxis:"colorAxis",translateColors:x}),l(s.prototype.pointClass.prototype,{setVisible:v}),h(s,"afterTranslate",m),h(s,"bindAxes",y))},t.pointSetVisible=v,i}),t(e,"Core/Axis/Color/ColorAxisDefaults.js",[],function(){return{lineWidth:0,minPadding:0,maxPadding:0,gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50},width:.01,color:"#999999"},labels:{overflow:"justify",rotation:0},minColor:"#e6ebf5",maxColor:"#003399",tickLength:5,showInLegend:!0}}),t(e,"Core/Axis/Color/ColorAxis.js",[e["Core/Axis/Axis.js"],e["Core/Color/Color.js"],e["Core/Axis/Color/ColorAxisComposition.js"],e["Core/Axis/Color/ColorAxisDefaults.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,s,i,o,d,r,n){var a,h,l=this&&this.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),c=e.parse,u=o.noop,p=r.series,f=n.extend,g=n.isNumber,m=n.merge,y=n.pick;function v(t,e){var i=h.call(this,t,e)||this;return i.beforePadding=!1,i.chart=void 0,i.coll="colorAxis",i.dataClasses=void 0,i.legendItem=void 0,i.legendItems=void 0,i.name="",i.options=void 0,i.stops=void 0,i.visible=!0,i.init(t,e),i}return l(v,h=t),v.compose=function(t,e,i,o){s.compose(v,t,e,i,o)},v.prototype.init=function(t,e){var i=t.options.legend||{},o=e.layout?"vertical"!==e.layout:"vertical"!==i.layout,s=e.visible,i=m(v.defaultColorAxisOptions,e,{showEmpty:!1,title:null,visible:i.enabled&&!1!==s});this.coll="colorAxis",this.side=e.side||o?2:1,this.reversed=e.reversed||!o,this.opposite=!o,h.prototype.init.call(this,t,i),this.userOptions.visible=s,e.dataClasses&&this.initDataClasses(e),this.initStops(),this.horiz=o,this.zoomEnabled=!1},v.prototype.initDataClasses=function(t){var i,o=this.chart,s=this.options,r=t.dataClasses.length,n=0,a=o.options.chart.colorCount;this.dataClasses=i=[],this.legendItems=[],(t.dataClasses||[]).forEach(function(t,e){t=m(t),i.push(t),!o.styledMode&&t.color||("category"===s.dataClassColor?(o.styledMode||(e=o.options.colors,a=e.length,t.color=e[n]),t.colorIndex=n,++n===a&&(n=0)):t.color=c(s.minColor).tweenTo(c(s.maxColor),r<2?.5:e/(r-1)))})},v.prototype.hasData=function(){return!!(this.tickPositions||[]).length},v.prototype.setTickPositions=function(){if(!this.dataClasses)return h.prototype.setTickPositions.call(this)},v.prototype.initStops=function(){this.stops=this.options.stops||[[0,this.options.minColor],[1,this.options.maxColor]],this.stops.forEach(function(t){t.color=c(t[1])})},v.prototype.setOptions=function(t){h.prototype.setOptions.call(this,t),this.options.crosshair=this.options.marker},v.prototype.setAxisSize=function(){var t,e,i=this.legendSymbol,o=this.chart,s=o.options.legend||{};i?(this.left=s=i.attr("x"),this.top=t=i.attr("y"),this.width=e=i.attr("width"),this.height=i=i.attr("height"),this.right=o.chartWidth-s-e,this.bottom=o.chartHeight-t-i,this.len=this.horiz?e:i,this.pos=this.horiz?s:t):this.len=(this.horiz?s.symbolWidth:s.symbolHeight)||v.defaultLegendLength},v.prototype.normalizedValue=function(t){return this.logarithmic&&(t=this.logarithmic.log2lin(t)),1-(this.max-t)/(this.max-this.min||1)},v.prototype.toColor=function(t,e){var i,o=this.dataClasses,s=this.stops;if(o)for(i=o.length;i--;){var r=o[i],n=r.from,s=r.to;if((void 0===n||n<=t)&&(void 0===s||t<=s)){var a=r.color;e&&(e.dataClass=i,e.colorIndex=r.colorIndex);break}}else{for(t=this.normalizedValue(t),i=s.length;i--&&!(t>s[i][0]););n=s[i]||s[i+1],t=1-((s=s[i+1]||n)[0]-t)/(s[0]-n[0]||1),a=n.color.tweenTo(s.color,t)}return a},v.prototype.getOffset=function(){var e,t=this.legendGroup,i=this.chart.axisOffset[this.side];t&&(this.axisParent=t,h.prototype.getOffset.call(this),(e=this.chart.legend).allItems.forEach(function(t){t instanceof v&&t.drawLegendSymbol(e,t)}),e.render(),this.chart.getMargins(!0),this.added||(this.added=!0,this.labelLeft=0,this.labelRight=this.width),this.chart.axisOffset[this.side]=i)},v.prototype.setLegendColor=function(){var t=(e=this.reversed)?1:0,e=e?0:1,t=this.horiz?[t,0,e,0]:[0,e,0,t];this.legendColor={linearGradient:{x1:t[0],y1:t[1],x2:t[2],y2:t[3]},stops:this.stops}},v.prototype.drawLegendSymbol=function(t,e){var i=t.padding,o=t.options,s=this.horiz,r=y(o.symbolWidth,s?v.defaultLegendLength:12),n=y(o.symbolHeight,s?12:v.defaultLegendLength),a=y(o.labelPadding,s?16:30),o=y(o.itemDistance,10);this.setLegendColor(),e.legendSymbol||(e.legendSymbol=this.chart.renderer.rect(0,t.baseline-11,r,n).attr({zIndex:1}).add(e.legendGroup)),this.legendItemWidth=r+i+(s?o:this.options.labels.x+this.maxLabelLength),this.legendItemHeight=n+i+(s?a:0)},v.prototype.setState=function(e){this.series.forEach(function(t){t.setState(e)})},v.prototype.setVisible=function(){},v.prototype.getSeriesExtremes=function(){var t,e=this.series,i=e.length;for(this.dataMin=1/0,this.dataMax=-1/0;i--;){var o=e[i],s=o.colorKey=y(o.options.colorKey,o.colorKey,o.pointValKey,o.zoneAxis,"y"),r=o.pointArrayMap,n=o[s+"Min"]&&o[s+"Max"];if(o[s+"Data"])var a=o[s+"Data"];else if(r){var a=[],r=r.indexOf(s),h=o.yData;if(0<=r&&h)for(t=0;t "),void 0!==i&&(n+=s(i,c)+p),void 0!==i&&void 0!==o&&(n+=" - "),void 0!==o&&(n+=s(o,c)+p),l.push(f({chart:h,name:n,options:{},drawLegendSymbol:d.drawRectangle,visible:!0,setState:u,isDataClass:!0,setVisible:function(){this.visible=r=a.visible=!r,a.series.forEach(function(t){t.points.forEach(function(t){t.dataClass===e&&t.setVisible(r)})}),h.legend.colorizeItem(this,r)}},t))}),l},v.defaultColorAxisOptions=i,v.defaultLegendLength=200,v.keepProps=["legendGroup","legendItemHeight","legendItemWidth","legendItem","legendSymbol"],e=v,Array.prototype.push.apply(t.keepProps,e.keepProps),e}),t(e,"Maps/MapNavigationOptionsDefault.js",[e["Core/DefaultOptions.js"],e["Core/Utilities.js"]],function(t,e){return(e=e.extend)(t.defaultOptions.lang,{zoomIn:"Zoom in",zoomOut:"Zoom out"}),t.defaultOptions.mapNavigation={buttonOptions:{alignTo:"plotBox",align:"left",verticalAlign:"top",x:0,width:18,height:18,padding:5,style:{fontSize:"15px",fontWeight:"bold"},theme:{"stroke-width":1,"text-align":"center"}},buttons:{zoomIn:{onclick:function(){this.mapZoom(.5)},text:"+",y:0},zoomOut:{onclick:function(){this.mapZoom(2)},text:"-",y:28}},mouseWheelSensitivity:1.1}}),t(e,"Maps/MapNavigation.js",[e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,i){function c(t){t&&(t.preventDefault&&t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)}function o(t){this.navButtons=[],this.init(t)}var s=e.doc,p=i.addEvent,d=i.extend,r=i.isNumber,u=i.merge,f=i.objectEach,g=i.pick;o.prototype.init=function(t){this.chart=t},o.prototype.update=function(t){function s(t){this.handler.call(a,t),c(t)}var r,n=this,a=this.chart,h=a.options.mapNavigation,l=n.navButtons;for(t&&(h=a.options.mapNavigation=u(a.options.mapNavigation,t));l.length;)l.pop().destroy();g(h.enableButtons,h.enabled)&&!a.renderer.forExport&&(n.navButtonsGroup||(n.navButtonsGroup=a.renderer.g().attr({zIndex:4}).add()),f(h.buttons,function(t,e){t=u(h.buttonOptions,t),!a.styledMode&&t.theme&&((r=t.theme).style=u(t.theme.style,t.style));var i,o=a.renderer.button(t.text||"",0,0,s,r,void 0,void 0,void 0,"zoomIn"===e?"topbutton":"bottombutton").addClass("highcharts-map-navigation highcharts-"+{zoomIn:"zoom-in",zoomOut:"zoom-out"}[e]).attr({width:t.width,height:t.height,title:a.options.lang[e],padding:t.padding,zIndex:5}).add(n.navButtonsGroup);o.handler=t.onclick,p(o.element,"dblclick",c),l.push(o),d(t,{width:o.width,height:2*o.height}),a.hasLoaded?o.align(t,!1,t.alignTo):i=p(a,"load",function(){o.element&&o.align(t,!1,t.alignTo),i()})}),t=function(){var t,e,i=a.exportingGroup&&a.exportingGroup.getBBox();!i||(t=n.navButtonsGroup.getBBox()).x>=i.x+i.width||t.x+t.width<=i.x||t.y>=i.y+i.height||t.y+t.height<=i.y||(e=-t.y-t.height+i.y-5,i=i.y+i.height-t.y+5,n.navButtonsGroup.attr({translateY:"bottom"===(h.buttonOptions&&h.buttonOptions.verticalAlign)?e:i}))},a.hasLoaded||p(a,"render",t)),this.updateEvents(h)},o.prototype.updateEvents=function(t){var e=this.chart;g(t.enableDoubleClickZoom,t.enabled)||t.enableDoubleClickZoomTo?this.unbindDblClick=this.unbindDblClick||p(e.container,"dblclick",function(t){e.pointer.onContainerDblClick(t)}):this.unbindDblClick&&(this.unbindDblClick=this.unbindDblClick()),g(t.enableMouseWheelZoom,t.enabled)?this.unbindMouseWheel=this.unbindMouseWheel||p(e.container,void 0!==s.onwheel?"wheel":void 0!==s.onmousewheel?"mousewheel":"DOMMouseScroll",function(t){return e.pointer.inClass(t.target,"highcharts-no-mousewheel")||(e.pointer.onContainerMouseWheel(t),c(t)),!1}):this.unbindMouseWheel&&(this.unbindMouseWheel=this.unbindMouseWheel())},d(t.prototype,{fitToBox:function(i,o){return[["x","width"],["y","height"]].forEach(function(t){var e=t[0];t=t[1],i[e]+i[t]>o[e]+o[t]&&(i[t]>o[t]?(i[t]=o[t],i[e]=o[e]):i[e]=o[e]+o[t]-i[t]),i[t]>o[t]&&(i[t]=o[t]),i[e]o.scaleY,this.pinchTranslateDirection(!t,e,i,o,s,r,n,t?o.scaleX:o.scaleY))})}),t(e,"Series/ColorMapComposition.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e){var i,o,t=t.seriesTypes.column.prototype,s=e.addEvent,r=e.defined;function n(t){this.moveToTopOnHover&&this.graphic&&this.graphic.attr({zIndex:t&&"hover"===t.state?1:0})}return e=i=i||{},o=[],e.pointMembers={dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return null!==this.value&&1/0!==this.value&&-1/0!==this.value&&(void 0===this.value||!isNaN(this.value))}},e.seriesMembers={colorKey:"value",axisTypes:["xAxis","yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"],colorAttribs:function(t){var e={};return!r(t.color)||t.state&&"normal"!==t.state||(e[this.colorProp||"fill"]=t.color),e},pointAttribs:t.pointAttribs},e.compose=function(t){var e=t.prototype.pointClass;return-1===o.indexOf(e)&&(o.push(e),s(e,"afterSetState",n)),t},i}),t(e,"Maps/MapSymbols.js",[e["Core/Renderer/SVG/SVGRenderer.js"]],function(t){function r(t,e,i,o,s,r,n,a){return[["M",t+s,e],["L",t+i-r,e],["C",t+i-r/2,e,t+i,e+r/2,t+i,e+r],["L",t+i,e+o-n],["C",t+i,e+o-n/2,t+i-n/2,e+o,t+i-n,e+o],["L",t+a,e+o],["C",t+a/2,e+o,t,e+o-a/2,t,e+o-a],["L",t,e+s],["C",t,e+s/2,t+s/2,e,t+s,e],["Z"]]}return(t=t.prototype.symbols).bottombutton=function(t,e,i,o,s){return r(t-1,e-1,i,o,0,0,s=s&&s.r||0,s)},t.topbutton=function(t,e,i,o,s){return r(t-1,e-1,i,o,s=s&&s.r||0,s,0,0)},t}),t(e,"Core/Chart/MapChart.js",[e["Core/Chart/Chart.js"],e["Core/DefaultOptions.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(t,e,i,o){var s,r,n,a=this&&this.__extends||(s=function(t,e){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),h=e.getOptions,l=o.merge,c=o.pick;function p(){return null!==r&&r.apply(this,arguments)||this}return a(p,r=t),p.prototype.init=function(t,e){var i=h().credits;t=l({chart:{panning:{enabled:!0,type:"xy"},type:"map"},credits:{mapText:c(i.mapText,' © {geojson.copyrightShort}'),mapTextFull:c(i.mapTextFull,"{geojson.copyright}")},mapView:{},tooltip:{followTouchMove:!1}},t),r.prototype.init.call(this,t,e)},(n=t=(t=p)||{}).maps={},n.mapChart=function(t,e,i){return new n(t,e,i)},n.splitPath=function(t){return"string"==typeof t&&(t=(t=t.replace(/([A-Za-z])/g," $1 ").replace(/^\s*/,"").replace(/\s*$/,"")).split(/[ ,;]+/).map(function(t){return/[A-za-z]/.test(t)?t:parseFloat(t)})),i.prototype.pathToSegments(t)},t}),t(e,"Maps/MapUtilities.js",[],function(){return{boundsFromPath:function(t){var i,o=-Number.MAX_VALUE,s=Number.MAX_VALUE,r=-Number.MAX_VALUE,n=Number.MAX_VALUE;if(t.forEach(function(t){var e=t[t.length-2];t=t[t.length-1],"number"==typeof e&&"number"==typeof t&&(s=Math.min(s,e),o=Math.max(o,e),n=Math.min(n,t),r=Math.max(r,t),i=!0)}),i)return{x1:s,y1:n,x2:o,y2:r}},pointInPolygon:function(t,e){var i,o=!1,s=t.x,r=t.y;for(t=0,i=e.length-1;tr!=e[i][1]>r&&s<(e[i][0]-e[t][0])*(r-e[t][1])/(e[i][1]-e[t][1])+e[t][0]&&(o=!o);return o}}}),t(e,"Series/Map/MapPoint.js",[e["Series/ColorMapComposition.js"],e["Maps/MapUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i,o){var s,r,n=this&&this.__extends||(s=function(t,e){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),a=e.boundsFromPath,h=o.extend,l=o.isNumber,c=o.pick;function p(){var t=null!==r&&r.apply(this,arguments)||this;return t.options=void 0,t.path=void 0,t.series=void 0,t}return r=i.seriesTypes.scatter.prototype.pointClass,n(p,r),p.getProjectedPath=function(t,e){return t.projectedPath||(e&&t.geometry?(e.hasCoordinates=!0,t.projectedPath=e.path(t.geometry)):t.projectedPath=t.path),t.projectedPath||[]},p.prototype.applyOptions=function(t,e){var i=this.series;return t=r.prototype.applyOptions.call(this,t,e),e=i.joinBy,i.mapData&&i.mapMap&&((i=void 0!==(e=r.prototype.getNestedProperty.call(t,e[1]))&&i.mapMap[e])?h(t,i):t.value=t.value||null),t},p.prototype.getProjectedBounds=function(t){t=p.getProjectedPath(this,t),t=a(t);var e,i=this.properties;if(t)return e=i&&i["hc-middle-x"],i=i&&i["hc-middle-y"],t.midX=t.x1+(t.x2-t.x1)*c(this.middleX,l(e)?e:.5),e=c(this.middleY,l(i)?i:.5),this.geometry||(e=1-e),t.midY=t.y2-(t.y2-t.y1)*e,t},p.prototype.onMouseOver=function(t){o.clearTimeout(this.colorInterval),!this.isNull||this.series.options.nullInteraction?r.prototype.onMouseOver.call(this,t):this.series.onMouseOut(t)},p.prototype.zoomTo=function(){var t=this.series.chart;t.mapView&&this.bounds&&(t.mapView.fitToBounds(this.bounds,void 0,!1),this.series.isDirty=!0,t.redraw())},h((e=p).prototype,{dataLabelOnNull:t.pointMembers.dataLabelOnNull,moveToTopOnHover:t.pointMembers.moveToTopOnHover,isValid:t.pointMembers.isValid}),e}),t(e,"Maps/MapViewOptionsDefault.js",[],function(){return{center:[0,0],maxZoom:void 0,padding:0,projection:{name:void 0,parallels:void 0,rotation:void 0},zoom:void 0}}),t(e,"Maps/MapViewInsetsOptionsDefault.js",[],function(){return{borderColor:"#cccccc",borderWidth:1,center:[0,0],padding:"10%",relativeTo:"mapBoundingBox",units:"percent"}}),t(e,"Extensions/GeoJSON.js",[e["Core/Chart/Chart.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,i,o){function n(t,e){if(e=e||Object.keys(t.objects)[0],(e=t.objects[e])["hc-decoded-geojson"])return e["hc-decoded-geojson"];function i(t){return"number"==typeof t[0]?t.reduce(function(t,e,i){var o=e<0?r[~e]:r[e];return e<0?(o=o.slice(0,0===i?o.length:o.length-1)).reverse():i&&(o=o.slice(1)),t.concat(o)},[]):t.map(i)}var o,s,r=t.arcs,n=(t.transform&&(n=t.transform,o=n.scale,s=n.translate,r=t.arcs.map(function(t){var e=0,i=0;return t.map(function(t){return(t=t.slice())[0]=(e+=t[0])*o[0]+s[0],t[1]=(i+=t[1])*o[1]+s[1],t})})),e.geometries.map(function(t){return{type:"Feature",properties:t.properties,geometry:{type:t.type,coordinates:t.coordinates||i(t.arcs)}}}));return t={type:"FeatureCollection",copyright:t.copyright,copyrightShort:t.copyrightShort,copyrightUrl:t.copyrightUrl,features:n,"hc-recommended-mapview":e["hc-recommended-mapview"],bbox:t.bbox,title:t.title},e["hc-decoded-geojson"]=t}function s(t,s,e){void 0===s&&(s="map");var r=[];return(t="Topology"===t.type?n(t):t).features.forEach(function(t){var e,i=(o=t.geometry||{}).type,o=o.coordinates;t=t.properties,("map"!==s&&"mapbubble"!==s||"Polygon"!==i&&"MultiPolygon"!==i)&&("mapline"!==s||"LineString"!==i&&"MultiLineString"!==i)?"mappoint"===s&&"Point"===i&&o.length&&(e={geometry:{coordinates:o,type:i}}):o.length&&(e={geometry:{coordinates:o,type:i}}),e&&(i=t&&(t.name||t.NAME),r.push(h(e,{name:"string"==typeof i?i:void 0,properties:t})))}),e&&t.copyrightShort&&(e.chart.mapCredits=a(e.chart.options.credits.mapText,{geojson:t}),e.chart.mapCreditsFull=a(e.chart.options.credits.mapTextFull,{geojson:t})),r}var a=e.format,d=i.win,u=o.error,h=o.extend,r=o.merge;return e=o.wrap,t.prototype.transformFromLatLon=function(t,e){var i,o,s,r,n,a,h,l,c,p=this.options.chart.proj4||d.proj4;if(p)return i=void 0===(i=e.jsonmarginX)?0:i,o=void 0===(o=e.jsonmarginY)?0:o,s=void 0===(s=e.jsonres)?1:s,r=void 0===(r=e.scale)?1:r,n=void 0===(n=e.xoffset)?0:n,a=void 0===(a=e.xpan)?0:a,h=void 0===(h=e.yoffset)?0:h,l=void 0===(l=e.ypan)?0:l,t=p(e.crs,[t.lon,t.lat]),p=e.cosAngle||e.rotation&&Math.cos(e.rotation),c=e.sinAngle||e.rotation&&Math.sin(e.rotation),{x:(((e=e.rotation?[t[0]*p+t[1]*c,-t[0]*c+t[1]*p]:t)[0]-n)*r+a)*s+i,y:-(((h-e[1])*r+l)*s-o)};u(21,!1,this)},t.prototype.transformToLatLon=function(t,e){var i,o,s,r,n,a,h,l,c=this.options.chart.proj4||d.proj4;if(c){if(null!==t.y)return i=e.jsonmarginX,o=e.jsonmarginY,s=void 0===(s=e.jsonres)?1:s,r=void 0===(r=e.scale)?1:r,n=e.xoffset,a=e.xpan,h=e.yoffset,l=e.ypan,t={x:((t.x-(void 0===i?0:i))/s-(void 0===a?0:a))/r+(void 0===n?0:n),y:((t.y-(void 0===o?0:o))/s+(void 0===l?0:l))/r+(void 0===h?0:h)},i=e.cosAngle||e.rotation&&Math.cos(e.rotation),o=e.sinAngle||e.rotation&&Math.sin(e.rotation),{lat:(e=c(e.crs,"WGS84",e.rotation?{x:t.x*i+t.y*-o,y:t.x*o+t.y*i}:t)).y,lon:e.x}}else u(21,!1,this)},t.prototype.fromPointToLatLon=function(t){return this.mapView&&this.mapView.projectedUnitsToLonLat(t)},t.prototype.fromLatLonToPoint=function(t){return this.mapView&&this.mapView.lonLatToProjectedUnits(t)},e(t.prototype,"addCredits",function(t,e){e=r(!0,this.options.credits,e),this.mapCredits&&(e.href=null),t.call(this,e),this.credits&&this.mapCreditsFull&&this.credits.attr({title:this.mapCreditsFull})}),{geojson:i.geojson=s,topo2geo:n}}),t(e,"Core/Geometry/PolygonClip.js",[],function(){function c(t,e,i){return(e[0]-t[0])*(i[1]-t[1])>(e[1]-t[1])*(i[0]-t[0])}function p(t,e,i,o){var s=[t[0]-e[0],t[1]-e[1]],r=[i[0]-o[0],i[1]-o[1]];return t=t[0]*e[1]-t[1]*e[0],i=i[0]*o[1]-i[1]*o[0],o=1/(s[0]*r[1]-s[1]*r[0]),(s=[(t*r[0]-i*s[0])*o,(t*r[1]-i*s[1])*o]).isIntersection=!0,s}var t,o;return(o=t=t||{}).clipLineString=function(t,e){var i=[];for(t=o.clipPolygon(t,e,!1),e=1;es.x2||es.y2)&&(i.outside=!0),i},t.prototype.inverse=function(t){var e=t[0]/63.78137,i=this.c,o=this.n,s=(t=i-t[1]/63.78137,n(o)*Math.sqrt(e*e+t*t)),r=Math.atan2(e,Math.abs(t))*n(t);return t*o<0&&(r-=Math.PI*n(e)*n(t)),[r/o/a,(2*Math.atan(Math.pow(i/s,1/o))-h)/a]},t;function t(t){var e=(i=(t.parallels||[]).map(function(t){return t*a}))[0]||0,i=null!=(o=i[1])?o:e,o=Math.cos(e);"object"==typeof t.projectedBounds&&(this.projectedBounds=t.projectedBounds),t=e===i?Math.sin(e):Math.log(o/Math.cos(i))/Math.log(Math.tan((h+i)/2)/Math.tan((h+e)/2)),Math.abs(t)<1e-10&&(t=1e-10*(n(t)||1)),this.n=t,this.c=o*Math.pow(Math.tan((h+e)/2),t)/t}}),t(e,"Maps/Projections/EqualEarth.js",[],function(){var h=Math.sqrt(3)/2;return t.prototype.forward=function(t){var e=Math.PI/180,i=Math.asin(h*Math.sin(t[1]*e)),o=i*i,s=o*o*o;return[t[0]*e*Math.cos(i)*74.03120656864502/(h*(1.340264+3*-.081106*o+s*(7*893e-6+.034164*o))),74.03120656864502*i*(1.340264+-.081106*o+s*(893e-6+.003796*o))]},t.prototype.inverse=function(t){for(var e=t[0]/74.03120656864502,i=(t=t[1]/74.03120656864502,180/Math.PI),o=t,s=0;s<12;++s){var r=o*o,n=r*r*r,a=o*(1.340264+-.081106*r+n*(893e-6+.003796*r))-t;if(o-=a/=r=1.340264+3*-.081106*r+n*(7*893e-6+.034164*r),Math.abs(a)<1e-9)break}return[i*h*e*(1.340264+3*-.081106*(r=o*o)+r*r*r*(7*893e-6+.034164*r))/Math.cos(o),i*Math.asin(Math.sin(o)/h)]},t;function t(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,y1:-97.52595454902263,y2:97.52595454902263}}}),t(e,"Maps/Projections/Miller.js",[],function(){var e=Math.PI/4,i=Math.PI/180;return t.prototype.forward=function(t){return[t[0]*i*63.78137,79.7267125*Math.log(Math.tan(e+.4*t[1]*i))]},t.prototype.inverse=function(t){return[t[0]/63.78137/i,2.5*(Math.atan(Math.exp(t[1]/63.78137*.8))-e)/i]},t;function t(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,y1:-146.91480769173063,y2:146.91480769173063}}}),t(e,"Maps/Projections/Orthographic.js",[],function(){var r=Math.PI/180;return t.prototype.forward=function(t){var e=t[0];return t=t[1]*r,t=[Math.cos(t)*Math.sin(e*r)*63.78460826781007,63.78460826781007*Math.sin(t)],(e<-90||90=i!=t[e]>=i)return o=o[s]+(i-o[e])/(t[e]-o[e])*(t[s]-o[s]),e?[o,i]:[i,o]}var i=this.bounds||{},o=i.x2,s=i.y1,r=i.y2,n=t[0];return((i=e(t,0,i.x1))||(i=e(t,0,o)))&&(n=i,t[1]=i),n=(i=e(t,1,s))||(i=e(t,1,r))?i:n},M.prototype.getRotator=function(t){var s=t[0]*v,e=(t[1]||0)*v,r=(t=(t[2]||0)*v,Math.cos(e)),n=Math.sin(e),a=Math.cos(t),h=Math.sin(t);if(0!=s||0!=e||0!==t)return{forward:function(t){var e=t[0]*v+s,i=t[1]*v,o=Math.cos(i);return t=Math.cos(e)*o,e=Math.sin(e)*o,o=(i=Math.sin(i))*r+t*n,[Math.atan2(e*a-o*h,t*r-i*n)/v,Math.asin(o*a+e*h)/v]},inverse:function(t){var e=t[0]*v,i=t[1]*v,o=Math.cos(i);return t=Math.cos(e)*o,e=Math.sin(e)*o,o=(i=Math.sin(i))*a-e*h,[(Math.atan2(e*a+i*h,t*r+o*n)-s)/v,Math.asin(o*r-t*n)/v]}}},M.prototype.forward=function(t){return t},M.prototype.inverse=function(t){return t},M.prototype.cutOnAntimeridian=function(r,n){var t,a=[],e=[r];if(r.forEach(function(t,e){var i=r[e-1];if(!e){if(!n)return;i=r[r.length-1]}var o=i[0],s=t[0];(o<-90||90=e.x1&&t.x<=e.x2&&t.y>=e.y1&&t.y<=e.y2&&i&&g(t,i))},A.prototype.render=function(){var t,s,r,n=this.chart,e=this.mapView,a=this.options,i=a.borderPath||a.field;i&&e.group&&(t=!0,this.border||(this.border=n.renderer.path().addClass("highcharts-mapview-inset-border").add(e.group),t=!1),n.styledMode||this.border.attr({stroke:a.borderColor,"stroke-width":a.borderWidth}),s=Math.round(this.border.strokeWidth())%2/2,r="mapBoundingBox"===a.relativeTo&&e.getMapBBox()||e.playingField,e=(i.coordinates||[]).reduce(function(t,e){return e.reduce(function(t,e,i){var o=e[0];return e=e[1],"percent"===a.units&&(o=n.plotLeft+k(o+"%",r.width,r.x),e=n.plotTop+k(e+"%",r.height,r.y)),o=Math.floor(o)+s,e=Math.floor(e)+s,t.push(0===i?["M",o,e]:["L",o,e]),t},t)},[]),this.border[t?"animate":"attr"]({d:e}))},A.prototype.destroy=function(){this.border&&(this.border=this.border.destroy()),this.eventsToUnbind.forEach(function(t){return t()})},A.prototype.setUpEvents=function(){},A);function A(t,e){var i=n.call(this,t.chart,e)||this;return i.id=e.id,i.mapView=t,i.options=S(o,e),i.allBounds=[],i.options.geoBounds&&(t=t.projection.path(i.options.geoBounds),i.geoBoundsProjectedBox=f(t),i.geoBoundsProjectedPolygon=t.map(function(t){return[t[1]||0,t[2]||0]})),i}function L(t,e){var i,o,s,r,n,a,h,l=this;this.insets=[],this.padding=[0,0,0,0],this.eventsToUnbind=[],this instanceof T||(o=u([t.options.chart.map],(t.options.series||[]).map(function(t){return t.mapData}),!0).map(function(t){return l.getGeoMap(t)}),s=[],o.forEach(function(t){t&&(i=i||t["hc-recommended-mapview"],t.bbox&&(t=t.bbox,s.push({x1:t[0],y1:t[1],x2:t[2],y2:t[3]})))}),(a=s.length&&L.compositeBounds(s))&&(h=a.x1,r=a.y1,n=a.x2,a=a.y2,h=180h.length&&"string"==typeof t[0]&&(u[e]["hc-key"]=t[0],++i);for(var o=0;o"},turboThreshold:0,allAreas:!0,borderColor:"#cccccc",borderWidth:1,joinBy:"hc-key",states:{hover:{halo:null,brightness:.2},normal:{animation:!0},select:{color:"#cccccc"},inactive:{opacity:1}}}),s((a=L).prototype,{type:"map",axisTypes:e.seriesMembers.axisTypes,colorAttribs:e.seriesMembers.colorAttribs,colorKey:e.seriesMembers.colorKey,directTouch:!0,drawDataLabels:t,drawGraph:t,drawLegendSymbol:o.drawRectangle,forceDL:!0,getCenter:i.getCenter,getExtremesFromAll:!0,getSymbol:t,isCartesian:!1,parallelArrays:e.seriesMembers.parallelArrays,pointArrayMap:e.seriesMembers.pointArrayMap,pointClass:g,preserveAspectRatio:!0,searchPoint:t,trackerGroups:e.seriesMembers.trackerGroups,useMapGeometry:!0}),e.compose(a),n.registerSeriesType("map",a),a}),t(e,"Series/MapLine/MapLineSeries.js",[e["Series/Map/MapSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(i,t,e){var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),n=t.series,a=e.extend,h=e.merge;function l(){var t=null!==s&&s.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(l,s=i),l.prototype.pointAttribs=function(t,e){return(t=i.prototype.pointAttribs.call(this,t,e)).fill=this.options.fillColor,t},l.defaultOptions=h(i.defaultOptions,{lineWidth:1,fillColor:"none"}),a((e=l).prototype,{type:"mapline",colorProp:"stroke",drawLegendSymbol:n.prototype.drawLegendSymbol,pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"}}),t.registerSeriesType("mapline",e),e}),t(e,"Series/MapPoint/MapPointPoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e){var o,i,s=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=e.isNumber;return i=t.seriesTypes.scatter.prototype.pointClass,s(n,i),n.prototype.isValid=function(){return!!(this.options.geometry||r(this.x)&&r(this.y)||r(this.options.lon)&&r(this.options.lat))},n;function n(){var t=null!==i&&i.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}}),t(e,"Series/MapPoint/MapPointSeries.js",[e["Core/Globals.js"],e["Series/MapPoint/MapPointPoint.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i,o){var s,r,n=this&&this.__extends||(s=function(t,e){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),a=(t=t.noop,i.seriesTypes.scatter),h=o.extend,l=o.fireEvent,c=o.isNumber,p=o.merge;function d(){var t=null!==r&&r.apply(this,arguments)||this;return t.chart=void 0,t.data=void 0,t.options=void 0,t.points=void 0,t}return n(d,r=a),d.prototype.drawDataLabels=function(){r.prototype.drawDataLabels.call(this),this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)},d.prototype.projectPoint=function(t){var e=this.chart.mapView;if(e){var i=t.geometry,o=t.lon;if(t=t.lat,i=i&&"Point"===i.type&&i.coordinates,i=c(o)&&c(t)?[o,t]:i)return e.lonLatToProjectedUnits({lon:i[0],lat:i[1]})}},d.prototype.translate=function(){var s,r=this,n=this.chart.mapView;this.processedXData||this.processData(),this.generatePoints(),this.getProjectedBounds&&this.isDirtyData&&(delete this.bounds,this.getProjectedBounds()),n&&(s=n.projection.hasCoordinates,this.points.forEach(function(t){var e=void 0===(e=t.x)?void 0:e,i=void 0===(i=t.y)?void 0:i,o=r.projectPoint(t.options);o?(e=o.x,i=o.y):t.bounds&&(e=t.bounds.midX,i=t.bounds.midY),c(e)&&c(i)?(e=n.projectedUnitsToPixels({x:e,y:i}),t.plotX=e.x,t.plotY=s?e.y:r.chart.plotHeight-e.y):t.y=t.plotX=t.plotY=void 0,t.isInside=r.isPointInside(t),t.zone=r.zones.length?t.getZone():void 0})),l(this,"afterTranslate")},d.defaultOptions=p(a.defaultOptions,{dataLabels:{crop:!1,defer:!1,enabled:!0,formatter:function(){return this.point.name},overflow:!1,style:{color:"#000000"}}}),h((o=d).prototype,{type:"mappoint",axisTypes:["colorAxis"],forceDL:!0,isCartesian:!1,pointClass:e,searchPoint:t,useMapGeometry:!0}),i.registerSeriesType("mappoint",o),o}),t(e,"Series/Bubble/BubbleLegendDefaults.js",[],function(){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"10px",color:"#000000"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}}),t(e,"Series/Bubble/BubbleLegendItem.js",[e["Core/Color/Color.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,s,e,i){var p=t.parse,o=e.noop,n=i.arrayMax,a=i.arrayMin,h=i.isNumber,d=i.merge,u=i.pick,l=i.stableSort;function r(t,e){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legendSymbol=this.legendItemWidth=this.legendItemHeight=this.legendItem=this.legendGroup=this.legend=this.fontMetrics=this.chart=void 0,this.setState=o,this.init(t,e)}return r.prototype.init=function(t,e){this.options=t,this.visible=!0,this.chart=e.chart,this.legend=e},r.prototype.addToLegend=function(t){t.splice(this.options.legendIndex,0,this)},r.prototype.drawLegendSymbol=function(t){var e=this.chart,i=this.options,o=u(t.options.itemDistance,20),s=i.ranges,r=i.connectorDistance;this.fontMetrics=e.renderer.fontMetrics(i.labels.style.fontSize),s&&s.length&&h(s[0].value)?(l(s,function(t,e){return e.value-t.value}),this.ranges=s,this.setOptions(),this.render(),t=this.getMaxLabelSize(),e=2*(s=this.ranges[0].radius),r=0<(r=r-s+t.width)?r:0,this.maxLabel=t,this.movementX="left"===i.labels.align?r:0,this.legendItemWidth=e+r+o,this.legendItemHeight=e+this.fontMetrics.h/2):t.options.bubbleLegend.autoRanges=!0},r.prototype.setOptions=function(){var i=this.ranges,o=this.options,s=this.chart.series[o.seriesIndex],r=this.legend.baseline,n={zIndex:o.zIndex,"stroke-width":o.borderWidth},a={zIndex:o.zIndex,"stroke-width":o.connectorWidth},h={align:this.legend.options.rtl||"left"===o.labels.align?"right":"left",zIndex:o.zIndex},l=s.options.marker.fillOpacity,c=this.chart.styledMode;i.forEach(function(t,e){c||(n.stroke=u(t.borderColor,o.borderColor,s.color),n.fill=u(t.color,o.color,1!==l?p(s.color).setOpacity(l).get("rgba"):s.color),a.stroke=u(t.connectorColor,o.connectorColor,s.color)),i[e].radius=this.getRangeRadius(t.value),i[e]=d(i[e],{center:i[0].radius-i[e].radius+r}),c||d(!0,i[e],{bubbleAttribs:d(n),connectorAttribs:d(a),labelAttribs:h})},this)},r.prototype.getRangeRadius=function(t){var e=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,e.ranges[e.ranges.length-1].value,e.ranges[0].value,e.minSize,e.maxSize,t)},r.prototype.render=function(){var t=this.chart.renderer,e=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),this.legendSymbol=t.g("bubble-legend"),this.legendItem=t.g("bubble-legend-item"),this.legendSymbol.translateX=0,this.legendSymbol.translateY=0,this.ranges.forEach(function(t){t.value>=e&&this.renderRange(t)},this),this.legendSymbol.add(this.legendItem),this.legendItem.add(this.legendGroup),this.hideOverlappingLabels()},r.prototype.renderRange=function(t){var e=this.options,i=e.labels,o=(n=this.chart).series[e.seriesIndex],s=n.renderer,r=this.symbols,n=r.labels,a=t.center,h=Math.abs(t.radius),l=e.connectorDistance||0,c=i.align,p=e.connectorWidth,d=this.ranges[0].radius||0,u=a-h-e.borderWidth/2+p/2,f=(f=this.fontMetrics).f/2-(f.h-f.f)/2,g=s.styledMode,l=this.legend.options.rtl||"left"===c?-l:l,c=("center"===c&&(e.connectorDistance=l=0,t.labelAttribs.align="center"),u+e.labels.y),m=d+l+e.labels.x;r.bubbleItems.push(s.circle(d,a+((u%1?1:.5)-(p%2?0:.5)),h).attr(g?{}:t.bubbleAttribs).addClass((g?"highcharts-color-"+o.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(e.className||"")).add(this.legendSymbol)),r.connectors.push(s.path(s.crispLine([["M",d,u],["L",d+l,u]],e.connectorWidth)).attr(g?{}:t.connectorAttribs).addClass((g?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(e.connectorClassName||"")).add(this.legendSymbol)),t=s.text(this.formatLabel(t),m,c+f).attr(g?{}:t.labelAttribs).css(g?{}:i.style).addClass("highcharts-bubble-legend-labels "+(e.labels.className||"")).add(this.legendSymbol),n.push(t),t.placed=!0,t.alignAttr={x:m,y:c+f}},r.prototype.getMaxLabelSize=function(){var e,i;return this.symbols.labels.forEach(function(t){i=t.getBBox(!0),e=!e||i.width>e.width?i:e}),e||{}},r.prototype.formatLabel=function(t){var e=(i=this.options).labels.formatter,i=i.labels.format,o=this.chart.numberFormatter;return i?s.format(i,t):e?e.call(t):o(t.value,1)},r.prototype.hideOverlappingLabels=function(){var t=this.chart,i=this.symbols;!this.options.labels.allowOverlap&&i&&(t.hideOverlappingLabels(i.labels),i.labels.forEach(function(t,e){t.newOpacity?t.newOpacity!==t.oldOpacity&&i.connectors[e].show():i.connectors[e].hide()}))},r.prototype.getRanges=function(){var e,t=this.legend.bubbleLegend,i=t.options.ranges,o=Number.MAX_VALUE,s=-Number.MAX_VALUE,r=(t.chart.series.forEach(function(t){t.isBubble&&!t.ignoreSeries&&((e=t.zData.filter(h)).length&&(o=u(t.options.zMin,Math.min(o,Math.max(a(e),!1===t.options.displayNegative?t.options.zThreshold:-Number.MAX_VALUE))),s=u(t.options.zMax,Math.max(s,n(e)))))}),o===s?[{value:s}]:[{value:o},{value:(o+s)/2},{value:s,autoRanges:!0}]);return i.length&&i[0].radius&&r.reverse(),r.forEach(function(t,e){i&&i[e]&&(r[e]=d(i[e],t))}),r},r.prototype.predictBubbleSizes=function(){var t=this.chart,e=this.fontMetrics,i=t.legend.options,o=i.floating,s=(i="horizontal"===i.layout)?t.legend.lastLineHeight:0,r=t.plotSizeX,n=t.plotSizeY,a=(l=t.series[this.options.seriesIndex]).getPxExtremes(),t=Math.ceil(a.minPxSize),a=Math.ceil(a.maxPxSize),h=Math.min(n,r),l=l.options.maxSize;return o||!/%$/.test(l)?e=a:(l=parseFloat(l),e=(h+s-e.h/2)*l/100/(l/100+1),(i&&r<=n-e||!i&&n<=r-e)&&(e=a)),[t,Math.ceil(e)]},r.prototype.updateRanges=function(t,e){var i=this.legend.options.bubbleLegend;i.minSize=t,i.maxSize=e,i.ranges=this.getRanges()},r.prototype.correctSizes=function(){var t=this.legend,e=this.chart.series[this.options.seriesIndex].getPxExtremes();1r.height&&(r.height=t[o].itemHeight);r.step=s}return e}function h(t){var e=this.bubbleLegend,i=this.options,o=i.bubbleLegend,s=n(this.chart);e&&e.ranges&&e.ranges.length&&(o.ranges.length&&(o.autoRanges=!!o.ranges[0].autoRanges),this.destroyItem(e)),0<=s&&i.enabled&&o.enabled&&(o.seriesIndex=s,this.bubbleLegend=new r(o,this),this.bubbleLegend.addToLegend(t.allItems))}function l(){var t=this.chart,e=this.visible,i=this.chart.legend;i&&i.bubbleLegend&&(this.visible=!e,this.ignoreSeries=e,t=0<=n(t),i.bubbleLegend.visible!==t&&(i.update({bubbleLegend:{enabled:t}}),i.bubbleLegend.visible=t),this.visible=e)}function c(t,i){var o,s,r,n=t.options.rtl,a=0;t.allItems.forEach(function(t,e){o=t.legendGroup.translateX,s=t._legendItemPos[1],((r=t.movementX)||n&&t.ranges)&&(r=n?o-t.options.maxSize/2:o+r,t.legendGroup.attr({translateX:r})),e>i[a].step&&a++,t.legendGroup.attr({translateY:Math.round(s+i[a].height/2)}),t._legendItemPos[1]=s+i[a].height/2})}var p=t.setOptions,d=e.addEvent,u=e.objectEach,f=e.wrap,g=[];return{compose:function(t,e,i){-1===g.indexOf(t)&&(g.push(t),p({legend:{bubbleLegend:o}}),f(t.prototype,"drawChartBox",s)),-1===g.indexOf(e)&&(g.push(e),d(e,"afterGetAllItems",h)),-1===g.indexOf(i)&&(g.push(i),d(i,"legendItemClick",l))}}}),t(e,"Series/Bubble/BubblePoint.js",[e["Core/Series/Point.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,t,i){var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});function n(){var t=null!==s&&s.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return i=i.extend,s=t.seriesTypes.scatter.prototype.pointClass,r(n,s),n.prototype.haloPath=function(t){return e.prototype.haloPath.call(this,0===t?0:(this.marker&&this.marker.radius||0)+t)},i((t=n).prototype,{ttBelow:!1}),t}),t(e,"Series/Bubble/BubbleSeries.js",[e["Series/Bubble/BubbleLegendComposition.js"],e["Series/Bubble/BubblePoint.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(s,t,e,i,o,r){function n(){var s,r=this,t=this.len,n=this.chart,a=this.isXAxis,h=a?"xData":"yData",l=this.min,c=this.max-l,p=0,d=t,u=t/c;this.series.forEach(function(t){if(t.bubblePadding&&(t.visible||!n.options.chart.ignoreHiddenSeries)){s=r.allowZoomOutside=!0;var e,i=t[h];if(a&&((t.onPoint||t).getRadii(0,0,t),t.onPoint&&(t.radii=t.onPoint.radii)),0"},states:{hover:{halo:!1,brightness:.2}}}),f((s=x).prototype,{axisTypes:t.seriesMembers.axisTypes,colorKey:t.seriesMembers.colorKey,directTouch:!0,getExtremesFromAll:!0,parallelArrays:t.seriesMembers.parallelArrays,pointArrayMap:["y","value"],pointClass:e,trackerGroups:t.seriesMembers.trackerGroups,alignDataLabel:d.prototype.alignDataLabel,colorAttribs:t.seriesMembers.colorAttribs,drawLegendSymbol:i.drawRectangle,getSymbol:c.prototype.getSymbol}),t.compose(s),o.registerSeriesType("heatmap",s),s}),t(e,"masters/modules/map.src.js",[e["Core/Globals.js"],e["Core/Axis/Color/ColorAxis.js"],e["Series/MapBubble/MapBubbleSeries.js"],e["Core/Chart/MapChart.js"],e["Maps/MapView.js"],e["Maps/Projection.js"]],function(t,e,i,o,s,r){t.ColorAxis=e,t.MapChart=o,t.mapChart=t.Map=o.mapChart,t.MapView=s,t.maps=o.maps,t.Projection=r,e.compose(t.Chart,t.Fx,t.Legend,t.Series),i.compose(t.Axis,t.Chart,t.Legend,t.Series)}),t(e,"masters/highmaps.src.js",[e["masters/highcharts.src.js"]],function(t){return t.product="Highmaps",t}),(e["masters/highmaps.src.js"]._modules=e)["masters/highmaps.src.js"]}); \ No newline at end of file +!function(t,e){"object"==typeof module&&module.exports?(e.default=e,module.exports=t.document?e(t):e):"function"==typeof define&&define.amd?define("highcharts/highmaps",function(){return e(t)}):(t.Highcharts&&t.Highcharts.error(16,!0),t.Highcharts=e(t))}("undefined"!=typeof window?window:this,function(s){function t(t,e,i,o){t.hasOwnProperty(e)||(t[e]=o.apply(null,i),"function"==typeof CustomEvent&&s.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}var e={};return t(e,"Core/Globals.js",[],function(){var t,e,i,o;return(e=t=t||{}).SVG_NS="http://www.w3.org/2000/svg",e.product="Highcharts",e.version="10.3.3",e.win=void 0!==s?s:{},e.doc=e.win.document,e.svg=e.doc&&e.doc.createElementNS&&!!e.doc.createElementNS(e.SVG_NS,"svg").createSVGRect,e.userAgent=e.win.navigator&&e.win.navigator.userAgent||"",e.isChrome=-1!==e.userAgent.indexOf("Chrome"),e.isFirefox=-1!==e.userAgent.indexOf("Firefox"),e.isMS=/(edge|msie|trident)/i.test(e.userAgent)&&!e.win.opera,e.isSafari=!e.isChrome&&-1!==e.userAgent.indexOf("Safari"),e.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(e.userAgent),e.isWebKit=-1!==e.userAgent.indexOf("AppleWebKit"),e.deg2rad=2*Math.PI/360,e.hasBidiBug=e.isFirefox&&parseInt(e.userAgent.split("Firefox/")[1],10)<4,e.hasTouch=!!e.win.TouchEvent,e.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],e.noop=function(){},e.supportsPassiveEvents=(o=!1,e.isMS||(i=Object.defineProperty({},"passive",{get:function(){o=!0}}),e.win.addEventListener&&e.win.removeEventListener&&(e.win.addEventListener("testPassive",e.noop,i),e.win.removeEventListener("testPassive",e.noop,i))),o),e.charts=[],e.dateFormats={},e.seriesTypes={},e.symbolSizes={},e.chartCount=0,t}),t(e,"Core/Utilities.js",[e["Core/Globals.js"]],function(h){function l(t,e,i,o){var s,r=e?"Highcharts error":"Highcharts warning",n=d(t=32===t?r+": Deprecated member":t),a=n?r+" #"+t+": www.highcharts.com/errors/"+t+"/":t.toString();void 0!==o&&(s="",n&&(a+="?"),x(o,function(t,e){s+="\n - ".concat(e,": ").concat(t),n&&(a+=encodeURI(e)+"="+encodeURI(t))}),a+=s),M(h,"displayError",{chart:i,code:t,message:a,params:o},function(){if(e)throw Error(a);S.console&&-1===l.messages.indexOf(a)&&console.warn(a)}),l.messages.push(a)}function n(t,e){return parseInt(t,e||10)}function a(t){return"string"==typeof t}function i(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function c(t,e){return!(!t||"object"!=typeof t||e&&i(t))}function r(t){return c(t)&&"number"==typeof t.nodeType}function p(t){var e=t&&t.constructor;return!(!c(t,!0)||r(t)||!e||!e.name||"Object"===e.name)}function d(t){return"number"==typeof t&&!isNaN(t)&&t<1/0&&-1/0i&&(i=t[e]);return i},arrayMin:function(t){for(var e=t.length,i=t[0];e--;)t[e]>16,(65280&o)>>8,255&o,1]:4===i&&(e=[(3840&o)>>4|(3840&o)>>8,(240&o)>>4|240&o,(15&o)<<4|15&o,1])),!e)for(o=n.parsers.length;o--&&!e;){var s=n.parsers[o];(i=s.regex.exec(t))&&(e=s.parse(i))}e&&(this.rgba=e)},n.prototype.get=function(i){var o,t=this.input,e=this.rgba;return"object"==typeof t&&void 0!==this.stops?((o=r(t)).stops=[].slice.call(o.stops),this.stops.forEach(function(t,e){o.stops[e]=[o.stops[e][0],t.get(i)]}),o):e&&s(e[0])?"rgb"===i||!i&&1===e[3]?"rgb("+e[0]+","+e[1]+","+e[2]+")":"a"===i?"".concat(e[3]):"rgba("+e.join(",")+")":t},n.prototype.brighten=function(e){var t=this.rgba;if(this.stops)this.stops.forEach(function(t){t.brighten(e)});else if(s(e)&&0!==e)for(var i=0;i<3;i++)t[i]+=o(255*e),t[i]<0&&(t[i]=0),255=x.second?0:c*Math.floor(r.get("Milliseconds",h)/c)),l>=x.second&&r.set("Seconds",h,l>=x.minute?0:c*Math.floor(r.get("Seconds",h)/c)),l>=x.minute&&r.set("Minutes",h,l>=x.hour?0:c*Math.floor(r.get("Minutes",h)/c)),l>=x.hour&&r.set("Hours",h,l>=x.day?0:c*Math.floor(r.get("Hours",h)/c)),l>=x.day&&r.set("Date",h,l>=x.month?1:Math.max(1,c*Math.floor(r.get("Date",h)/c))),l>=x.month&&(r.set("Month",h,l>=x.year?0:c*Math.floor(r.get("Month",h)/c)),p=r.get("FullYear",h)),l>=x.year&&r.set("FullYear",h,p-p%c),l===x.week&&(p=r.get("Day",h),r.set("Date",h,r.get("Date",h)-p+o+(p4*x.month||r.getTimezoneOffset(e)!==r.getTimezoneOffset(i)),e=h.getTime(),h=1;et){a=n;break}if(r[a]&&s.substr(r[a])!=="01-01 00:00:00.000".substr(r[a]))break;"week"!==a&&(n=a)}return this.resolveDTLFormat(o[a]).main},t=a}),t(e,"Core/Defaults.js",[e["Core/Chart/ChartDefaults.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Color/Palettes.js"],e["Core/Time.js"],e["Core/Utilities.js"]],function(t,e,i,o,s,r){e=e.parse;var n=r.merge,a={colors:o.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),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:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",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,animation:i.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:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:i.isTouchDevice?25:10,headerFormat:'{point.key}
',pointFormat:' {series.name}: {point.y}
',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}},h=(a.chart.styledMode=!1,new s(n(a.global,a.time)));return t={defaultOptions:a,defaultTime:h,getOptions:function(){return a},setOptions:function(t){return n(!0,a,t),(t.time||t.global)&&(i.time?i.time.update(n(a.global,a.time,t.global,t.time)):i.time=h),a}}}),t(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,i){var o=t.parse,h=e.win,d=i.isNumber,l=i.objectEach;return c.prototype.dSetter=function(){var t=(e=this.paths)&&e[0],e=e&&e[1],i=this.now||0,o=[];if(1!==i&&t&&e)if(t.length===e.length&&i<1)for(var s=0;s=n+this.startTime?(this.now=this.end,this.pos=1,this.update(),e=a[this.prop]=!0,l(a,function(t){!0!==t&&(e=!1)}),e&&r&&r.call(s),!1):(this.pos=o.easing((i-this.startTime)/n),this.now=this.start+(this.end-this.start)*this.pos,this.update(),!0))},c.prototype.initPath=function(t,e,i){function o(t,e){for(;t.lengtht[p].pos&&(t[p-1].size+=t[p].size,t[p-1].targets=t[p-1].targets.concat(t[p].targets),t[p-1].align=.5,t[p-1].pos+t[p-1].size>o&&(t[p-1].pos=o-t[p-1].size),t.splice(p,1),h=!0)}return r.push.apply(r,l),p=0,t.some(function(t){var e=0;return(t.targets||[]).some(function(){return r[p].pos=t.pos+e,void 0!==s&&Math.abs(r[p].pos-r[p].target)>s?(r.slice(0,p+1).forEach(function(t){return delete t.pos}),r.reducedLen=(r.reducedLen||o)-.1*o,r.reducedLen>.1*o&&i(r,o,s),!0):(e+=r[p].size,p++,!1)})}),f(r,e),r},e}),t(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,m,r,e){var n=t.animate,a=t.animObject,c=t.stop,g=r.deg2rad,h=r.doc,l=r.svg,p=r.SVG_NS,i=r.win,d=e.addEvent,u=e.attr,o=e.createElement,y=e.css,v=e.defined,f=e.erase,x=e.extend,b=e.fireEvent,M=e.isArray,C=e.isFunction,S=e.isString,w=e.merge,k=e.objectEach,P=e.pick,T=e.pInt,A=e.syncTimeout,L=e.uniqueKey;function O(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=p,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return O.prototype._defaultGetter=function(t){return t=P(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),t=/^[\-0-9\.]+$/.test(t)?parseFloat(t):t},O.prototype._defaultSetter=function(t,e,i){i.setAttribute(e,t)},O.prototype.add=function(t){var e,i=this.renderer,o=this.element;return t&&(this.parentGroup=t),void 0!==this.textStr&&"text"===this.element.nodeName&&i.buildText(this),this.added=!0,(e=t&&!t.handleZ&&!this.zIndex?e:this.zIndexSetter())||(t?t.element:i.box).appendChild(o),this.onAdd&&this.onAdd(),this},O.prototype.addClass=function(t,e){var i=!e&&this.attr("class")||"";return(t=(t||"").split(/ /g).reduce(function(t,e){return-1===i.indexOf(e)&&t.push(e),t},i?[i]:[]).join(" "))!==i&&this.attr("class",t),this},O.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},O.prototype.align=function(t,e,i){var o,s,r,n={},a=(l=this.renderer).alignedObjects,h=(t?(this.alignOptions=t,this.alignByTranslate=e,i&&!S(i)||(this.alignTo=o=i||"renderer",f(a,this),a.push(this),i=void 0)):(t=this.alignOptions,e=this.alignByTranslate,o=this.alignTo),i=P(i,l[o],"scrollablePlotBox"===o?l.plotBox:void 0,l),o=t.align,t.verticalAlign),l=(i.x||0)+(t.x||0),a=(i.y||0)+(t.y||0);return"right"===o?s=1:"center"===o&&(s=2),s&&(l+=(i.width-(t.width||0))/s),n[e?"translateX":"x"]=Math.round(l),"bottom"===h?r=1:"middle"===h&&(r=2),r&&(a+=(i.height-(t.height||0))/r),n[e?"translateY":"y"]=Math.round(a),this[this.placed?"animate":"attr"](n),this.placed=!0,this.alignAttr=n,this},O.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},O.prototype.animate=function(t,e,i){var o=this,s=a(P(e,this.renderer.globalAnimation,!0));return e=s.defer,P(h.hidden,h.msHidden,h.webkitHidden,!1)&&(s.duration=0),0!==s.duration?(i&&(s.complete=i),A(function(){o.element&&n(o,t,s)},e)):(this.attr(t,void 0,i||s.complete),k(t,function(t,e){s.step&&s.step.call(this,t,{prop:e,pos:1,elem:this})},this)),this},O.prototype.applyTextOutline=function(t){var i,e,o=this.element,s=(t=-1!==t.indexOf("contrast")?t.replace(/contrast/g,this.renderer.getContrast(o.style.fill)):t).split(" ");t=s[s.length-1],(s=s[0])&&"none"!==s&&r.svg&&(this.fakeTS=!0,s=s.replace(/(^[\d\.]+)(.*?)$/g,function(t,e,i){return 2*Number(e)+i}),this.removeTextOutline(),i=h.createElementNS(p,"tspan"),u(i,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":s,"stroke-linejoin":"round"}),t=o.querySelector("textPath")||o,[].forEach.call(t.childNodes,function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(t){return e.removeAttribute(t)}),i.appendChild(e)}),e=0,[].forEach.call(t.querySelectorAll("text tspan"),function(t){e+=Number(t.getAttribute("dy"))}),(s=h.createElementNS(p,"tspan")).textContent="​",u(s,{x:Number(o.getAttribute("x")),dy:-e}),i.appendChild(s),t.insertBefore(i,t.firstChild))},O.prototype.attr=function(i,t,e,o){var s,r,n,a=this.element,h=this.symbolCustomAttribs,l=this;return"string"==typeof i&&void 0!==t&&(n=i,(i={})[n]=t),"string"==typeof i?l=(this[i+"Getter"]||this._defaultGetter).call(this,i,a):(k(i,function(t,e){r=!1,o||c(this,e),this.symbolName&&-1!==h.indexOf(e)&&(s||(this.symbolAttr(i),s=!0),r=!0),!this.rotation||"x"!==e&&"y"!==e||(this.doTransform=!0),r||((r=this[e+"Setter"]||this._defaultSetter).call(this,t,e,a),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(e)&&this.updateShadows(e,t,r))},this),this.afterSetters()),e&&e.call(this),l},O.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},O.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var i=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+i,t.y=Math.floor(t.y||this.y||0)+i,t.width=Math.floor((t.width||this.width||0)-2*i),t.height=Math.floor((t.height||this.height||0)-2*i),v(t.strokeWidth)&&(t.strokeWidth=e),t},O.prototype.complexColor=function(t,i,o){var s,r,n,a,h,l,c,p,d,u,f=this.renderer,g=[];b(this.renderer,"complexColor",{args:arguments},function(){var e;t.radialGradient?s="radialGradient":t.linearGradient&&(s="linearGradient"),s&&(r=t[s],a=f.gradients,h=t.stops,p=o.radialReference,M(r)&&(t[s]=r={x1:r[0],y1:r[1],x2:r[2],y2:r[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===s&&p&&!v(r.gradientUnits)&&(r=w(n=r,f.getRadialAttr(p,n),{gradientUnits:"userSpaceOnUse"})),k(r,function(t,e){"id"!==e&&g.push(e,t)}),k(h,function(t){g.push(t)}),g=g.join(","),a[g]?d=a[g].attr("id"):(r.id=d=L(),(e=a[g]=f.createElement(s).attr(r).add(f.defs)).radAttr=n,e.stops=[],h.forEach(function(t){c=0===t[1].indexOf("rgba")?(c=m.parse(t[1]),l=c.get("rgb"),c.get("a")):(l=t[1],1),t=f.createElement("stop").attr({offset:t[0],"stop-color":l,"stop-opacity":c}).add(e),e.stops.push(t)})),u="url("+f.url+"#"+d+")",o.setAttribute(i,u),o.gradient=g,t.toString=function(){return u})})},O.prototype.css=function(t){var e,i,o=this.styles,s={},r=this.element,n=!o;return t.color&&(t.fill=t.color),o&&k(t,function(t,e){o&&o[e]!==t&&(s[e]=t,n=!0)}),n&&(null===(t=o?x(o,s):t).width||"auto"===t.width?delete this.textWidth:"text"===r.nodeName.toLowerCase()&&t.width&&(e=this.textWidth=T(t.width)),this.styles=t,e&&!l&&this.renderer.forExport&&delete t.width,i=w(t),r.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach(function(t){return i&&delete i[t]}),y(r,i),this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline))),this},O.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var i=t.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(t=i.length;t--;)i[t]=""+T(i[t])*P(e,NaN);t=i.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},O.prototype.destroy=function(){var e,i=this,t=i.element||{},o=i.renderer,s=t.ownerSVGElement,r=o.isSVG&&"SPAN"===t.nodeName&&i.parentGroup||void 0;if(t.onclick=t.onmouseout=t.onmouseover=t.onmousemove=t.point=null,c(i),i.clipPath&&s&&(e=i.clipPath,[].forEach.call(s.querySelectorAll("[clip-path],[CLIP-PATH]"),function(t){-1]*>/g,"").replace(/</g,"<").replace(/>/g,">")},O.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},O.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},O.prototype.updateShadows=function(t,e,i){var o=this.shadows;if(o)for(var s=o.length;s--;)i.call(o[s],"height"===t?Math.max(e-(o[s].cutHeight||0),0):"d"===t?this.d:e,t,o[s])},O.prototype.updateTransform=function(){var t=this.element,e=this.matrix,i=void 0===(i=this.rotation)?0:i,o=this.scaleX,s=this.scaleY,r=this.translateX,n=this.translateY,r=["translate("+(void 0===r?0:r)+","+(void 0===n?0:n)+")"];v(e)&&r.push("matrix("+e.join(",")+")"),i&&r.push("rotate("+i+" "+P(this.rotationOriginX,t.getAttribute("x"),0)+" "+P(this.rotationOriginY,t.getAttribute("y")||0)+")"),(v(o)||v(s))&&r.push("scale("+P(o,1)+" "+P(s,1)+")"),r.length&&!(this.text||this).textPath&&t.setAttribute("transform",r.join(" "))},O.prototype.visibilitySetter=function(t,e,i){"inherit"===t?i.removeAttribute(e):this[e]!==t&&i.setAttribute(e,t),this[e]=t},O.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},O.prototype.zIndexSetter=function(t,e){var i,o=this.renderer,s=((h=this.parentGroup)||o).element||o.box,r=this.element,o=s===o.box,n=!1,a=this.added;if(v(t)?(r.setAttribute("data-z-index",t),this[e]===(t=+t)&&(a=!1)):v(this[e])&&r.removeAttribute("data-z-index"),this[e]=t,a){for((t=this.zIndex)&&h&&(h.handleZ=!0),i=(e=s.childNodes).length-1;0<=i&&!n;i--){var h,a=(h=e[i]).getAttribute("data-z-index"),l=!v(a);h!==r&&(t<0&&l&&!o&&!i?(s.insertBefore(r,e[i]),n=!0):(T(a)<=t||l&&(!v(t)||0<=t))&&(s.insertBefore(r,e[i+1]||null),n=!0))}n||(s.insertBefore(r,e[o?3:0]||null),n=!0)}return n},(t=O).prototype.strokeSetter=t.prototype.fillSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t}),t(e,"Core/Renderer/RendererRegistry.js",[e["Core/Globals.js"]],function(o){var t,s,r;return(s=t=t||{}).rendererTypes={},s.getRendererType=function(t){return void 0===t&&(t=r),s.rendererTypes[t]||s.rendererTypes[r]},s.registerRendererType=function(t,e,i){s.rendererTypes[t]=e,r&&!i||(r=t,o.Renderer=e)},t}),t(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,e){var o,d,i=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=e.defined,n=e.extend,a=e.isNumber,s=e.merge,h=e.pick,l=e.removeEvent;return i(u,d=t),u.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&a(this.xSetting)&&this.attr({x:this.xSetting}))},u.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},u.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},u.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},u.prototype.css=function(e){var i;return e&&(i={},e=s(e),u.textProps.forEach(function(t){void 0!==e[t]&&(i[t]=e[t],delete e[t])}),this.text.css(i),"fontSize"in i||"fontWeight"in i?this.updateTextPadding():("width"in i||"textOverflow"in i)&&this.updateBoxSize()),t.prototype.css.call(this,e)},u.prototype.destroy=function(){l(this.element,"mouseenter"),l(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},u.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},u.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=h(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},u.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},u.prototype.heightSetter=function(t){this.heightSetting=t},u.prototype.onAdd=function(){this.text.add(this),this.attr({text:h(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&r(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},u.prototype.paddingSetter=function(t,e){a(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},u.prototype.rSetter=function(t,e){this.boxAttr(e,t)},u.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},u.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},u.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},u.prototype["text-alignSetter"]=function(t){this.textAlign=t},u.prototype.textSetter=function(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding()},u.prototype.updateBoxSize=function(){var t=this.text,e=t.element.style,i={},o=this.padding,s=this.bBox=a(this.widthSetting)&&a(this.heightSetting)&&!this.textAlign||!r(t.textStr)?u.emptyBBox:t.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||s.height||0)+2*o,e=this.renderer.fontMetrics(e&&e.fontSize,t),this.baselineOffset=o+Math.min((this.text.firstLineMetrics||e).b,s.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-e.h)/2),this.needsBox&&!t.textPath&&(this.box||((t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this)),t=this.getCrispAdjust(),i.x=t,i.y=(this.baseline?-this.baselineOffset:0)+t,i.width=Math.round(this.width),i.height=Math.round(this.height),this.box.attr(n(i,this.deferredAttr)),this.deferredAttr={})},u.prototype.updateTextPadding=function(){var t,e,i=this.text;i.textPath||(this.updateBoxSize(),t=this.baseline?0:this.baselineOffset,e=h(this.paddingLeft,this.padding),r(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(e+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),e===i.x&&t===i.y||(i.attr("x",e),i.hasBoxWidthChanged&&(this.bBox=i.getBBox(!0)),void 0!==t&&i.attr("y",t)),i.x=e,i.y=t)},u.prototype.widthSetter=function(t){this.widthSetting=a(t)?t:void 0},u.prototype.getPaddedWidth=function(){var t=this.padding,e=h(this.paddingLeft,t),t=h(this.paddingRight,t);return(this.widthSetting||this.bBox.width||0)+e+t},u.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},u.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},u.emptyBBox={width:0,height:0,x:0,y:0},u.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),u;function u(t,e,i,o,s,r,n,a,h,l){var c,p=d.call(this)||this;return p.paddingLeftSetter=p.paddingSetter,p.paddingRightSetter=p.paddingSetter,p.init(t,"g"),p.textStr=e,p.x=i,p.y=o,p.anchorX=r,p.anchorY=n,p.baseline=h,p.className=l,p.addClass("button"===l?"highcharts-no-tooltip":"highcharts-label"),l&&p.addClass("highcharts-"+l),p.text=t.text(void 0,0,0,a).attr({zIndex:1}),"string"==typeof s&&((c=/^url\((.*?)\)$/.test(s))||p.renderer.symbols[s])&&(p.symbolKey=s),p.bBox=u.emptyBBox,p.padding=3,p.baselineOffset=0,p.needsBox=t.styledMode||c,p.deferredAttr={},p.alignFactor=0,p}}),t(e,"Core/Renderer/SVG/Symbols.js",[e["Core/Utilities.js"]],function(t){function s(t,e,i,o,s){var r,n,a,h,l,c,p,d,u=[];return s&&(d=s.start||0,r=g(s.r,i),i=g(s.r,o||i),n=(s.end||0)-.001,o=s.innerR,a=g(s.open,Math.abs((s.end||0)-d-2*Math.PI)<.001),h=Math.cos(d),l=Math.sin(d),c=Math.cos(n),p=Math.sin(n),d=g(s.longArc,n-d-Math.PI<.001?0:1),u.push(["M",t+r*h,e+i*l],["A",r,i,0,d,g(s.clockwise,1),t+r*c,e+i*p]),f(o)&&u.push(a?["M",t+o*c,e+o*p]:["L",t+o*c,e+o*p],["A",o,o,0,d,f(s.clockwise)?1-s.clockwise:0,t+o*h,e+o*l]),a||u.push(["Z"])),u}function e(t,e,i,o,s){return s&&s.r?l(t,e,i,o,s):[["M",t,e],["L",t+i,e],["L",t+i,e+o],["L",t,e+o],["Z"]]}function l(t,e,i,o,s){return[["M",t+(s=s&&s.r||0),e],["L",t+i-s,e],["C",t+i,e,t+i,e,t+i,e+s],["L",t+i,e+o-s],["C",t+i,e+o,t+i,e+o,t+i-s,e+o],["L",t+s,e+o],["C",t,e+o,t,e+o,t,e+o-s],["L",t,e+s],["C",t,e,t,e,t+s,e]]}var f=t.defined,c=t.isNumber,g=t.pick;return{arc:s,callout:function(t,e,i,o,s){var r=Math.min(s&&s.r||0,i,o),n=r+6,a=s&&s.anchorX,h=(s=s&&s.anchorY||0,l(t,e,i,o,{r:r}));return c(a)&&(i<=t+a?e+n/g.test(o))?""!==o&&(i&&i.appendChild(e),o=new a(o),this.modifyTree(o.nodes),o.addToDOM(e),this.modifyDOM(),this.ellipsis&&-1!==(e.textContent||"").indexOf("…")&&t.attr("title",this.unescapeEntities(t.textStr||"",["<",">"])),i&&i.removeChild(e)):e.appendChild(d.createTextNode(this.unescapeEntities(o))),h(this.textOutline)&&t.applyTextOutline&&t.applyTextOutline(this.textOutline)}},o.prototype.modifyDOM=function(){var t,h=this,l=this.svgElement,c=f(l.element,"x");for(l.firstLineMetrics=void 0;(t=l.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)l.element.removeChild(t);[].forEach.call(l.element.querySelectorAll("tspan.highcharts-br"),function(t,e){t.nextSibling&&t.previousSibling&&(0===e&&1===t.previousSibling.nodeType&&(l.firstLineMetrics=l.renderer.fontMetrics(void 0,t.previousSibling)),f(t,{dy:h.getLineHeight(t.nextSibling),x:c}))});var i,o,p=this.width||0;p&&(i=function(e,i){var t=e.textContent||"",o=t.replace(/([^\^])-/g,"$1- ").split(" "),s=!h.noWrap&&(1]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20");return""},B.prototype.getStyle=function(t){return this.style=P({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},B.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},B.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},B.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),k(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},B.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},B.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},B.prototype.buildText=function(t){new r(t).buildSVG()},B.prototype.getContrast=function(t){return((t=.2126*(t=e.parse(t).rgba.map(function(t){return(t/=255)<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}))[0]+.7152*t[1]+.0722*t[2])+.05)/.05<1.05/(t+.05)?"#FFFFFF":"#000000"},B.prototype.button=function(t,e,i,o,s,r,n,a,h,l){void 0===s&&(s={});var c,p,d,u=this.label(t,e,i,h,void 0,void 0,l,void 0,"button"),f=this.styledMode,g=(t=s.states||{},0),m=(delete(s=j(s)).states,j({color:"#333333",cursor:"pointer",fontWeight:"normal"},s.style)),y=(delete s.style,v.filterUserAttributes(s));return u.attr(j({padding:8,r:2},y)),f||(y=j({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},y),c=(r=j(y,{fill:"#e6e6e6"},v.filterUserAttributes(r||t.hover||{}))).style,delete r.style,p=(n=j(y,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},v.filterUserAttributes(n||t.select||{}))).style,delete n.style,d=(a=j(y,{style:{color:"#cccccc"}},v.filterUserAttributes(a||t.disabled||{}))).style,delete a.style),b(u.element,x?"mouseover":"mouseenter",function(){3!==g&&u.setState(1)}),b(u.element,x?"mouseout":"mouseleave",function(){3!==g&&u.setState(g)}),u.setState=function(t){1!==t&&(u.state=g=t),u.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),f||(u.attr([y,r,n,a][t||0]),L(t=[m,c,p,d][t||0])&&u.css(t))},f||(u.attr(y).css(P({cursor:"default"},m)),l&&u.text.css({pointerEvents:"none"})),u.on("touchstart",function(t){return t.stopPropagation()}).on("click",function(t){3!==g&&o.call(u,t)})},B.prototype.crispLine=function(t,e,i){void 0===i&&(i="round");var o=t[0],s=t[1];return w(o[1])&&o[1]===s[1]&&(o[1]=s[1]=Math[i](o[1])-e%2/2),w(o[2])&&o[2]===s[2]&&(o[2]=s[2]=Math[i](o[2])+e%2/2),t},B.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return T(t)?e.d=t:L(t)&&P(e,t),this.createElement("path").attr(e)},B.prototype.circle=function(t,e,i){return t=L(t)?t:void 0===t?{}:{x:t,y:e,r:i},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,i){i.setAttribute("c"+e,t)},e.attr(t)},B.prototype.arc=function(t,e,i,o,s,r){return L(t)?(e=(o=t).y,i=o.r,t=o.x):o={innerR:o,start:s,end:r},(t=this.symbol("arc",t,e,i,i,o)).r=i,t},B.prototype.rect=function(t,e,i,o,s,r){s=L(t)?t.r:s;var n=this.createElement("rect");return t=L(t)?t:void 0===t?{}:{x:t,y:e,width:Math.max(i,0),height:Math.max(o,0)},this.styledMode||(void 0!==r&&(t["stroke-width"]=r,t=n.crisp(t)),t.fill="none"),s&&(t.r=s),n.rSetter=function(t,e,i){n.r=t,M(i,{rx:t,ry:t})},n.rGetter=function(){return n.r||0},n.attr(t)},B.prototype.setSize=function(t,e,i){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:E(i,!0)?void 0:0}),this.alignElements()},B.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},B.prototype.image=function(e,t,i,o,s,r){var n={preserveAspectRatio:"none"},a=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)},h=(A(t)&&(n.x=t),A(i)&&(n.y=i),A(o)&&(n.width=o),A(s)&&(n.height=s),this.createElement("image").attr(n));return t=function(t){a(h.element,e),r.call(h,t)},r?(a(h.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),i=new f.Image,b(i,"load",t),i.src=e,i.complete&&t({})):a(h.element,e),h},B.prototype.symbol=function(t,e,i,o,s,l){var r,n,a,h,c=this,p=/^url\((.*?)\)$/,d=p.test(t),u=!d&&(this.symbols[t]?t:"circle"),f=u&&this.symbols[u];return f?("number"==typeof e&&(r=f.call(this.symbols,Math.round(e||0),Math.round(i||0),o||0,s||0,l)),r=this.path(r),c.styledMode||r.attr("fill","none"),P(r,{symbolName:u||void 0,x:e,y:i,width:o,height:s}),l&&P(r,l)):d&&(n=t.match(p)[1],(a=r=this.image(n)).imgwidth=E(y[n]&&y[n].width,l&&l.width),a.imgheight=E(y[n]&&y[n].height,l&&l.height),h=function(t){return t.attr({width:t.width,height:t.height})},["width","height"].forEach(function(t){a[t+"Setter"]=function(t,e){this[e]=t,t=this.alignByTranslate;var i,o=this.element,s=this.width,r=this.height,n=this.imgwidth,a=this.imgheight,h=this["img"+e];w(h)&&(i=1,l&&"within"===l.backgroundSize&&s&&r?(i=Math.min(s/n,r/a),h=Math.round(h*i),M(o,{width:Math.round(n*i),height:Math.round(a*i)})):o&&o.setAttribute(e,h),t||this.translate(((s||0)-h*i)/2,((r||0)-h*i)/2))}}),w(e)&&a.attr({x:e,y:i}),a.isImg=!0,w(a.imgwidth)&&w(a.imgheight)?h(a):(a.attr({width:0,height:0}),C("img",{onload:function(){var t=g[c.chartIndex];0===this.width&&(S(this,{position:"absolute",top:"-999em"}),m.body.appendChild(this)),y[n]={width:this.width,height:this.height},a.imgwidth=this.width,a.imgheight=this.height,a.element&&h(a),this.parentNode&&this.parentNode.removeChild(this),c.imgCount--,c.imgCount||!t||t.hasLoaded||t.onload()},src:n}),this.imgCount++)),r},B.prototype.clipRect=function(t,e,i,o){var s=I()+"-",r=this.createElement("clipPath").attr({id:s}).add(this.defs);return(t=this.rect(t,e,i,o,0).add(r)).id=s,t.clipPath=r,t.count=0,t},B.prototype.text=function(t,e,i,o){var s={};return!o||!this.allowHTML&&this.forExport?(s.x=Math.round(e||0),i&&(s.y=Math.round(i)),w(t)&&(s.text=t),t=this.createElement("text").attr(s),o&&(!this.forExport||this.allowHTML)||(t.xSetter=function(t,e,i){for(var o,s=i.getElementsByTagName("tspan"),r=i.getAttribute(e),n=0;n":">","'":"'",'"':"""},symbols:s,draw:d}),i.registerRendererType("svg",t,!0),t}),t(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,e,i){var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),n=t.isFirefox,a=t.isMS,h=t.isWebKit,l=t.win,f=i.css,g=i.defined,c=i.extend,p=i.pick,m=i.pInt;return r(d,s=e),d.compose=function(t){var e,i;return-1===d.composedClasses.indexOf(t)&&(d.composedClasses.push(t),(i=t.prototype).getSpanCorrection=(e=d.prototype).getSpanCorrection,i.htmlCss=e.htmlCss,i.htmlGetBBox=e.htmlGetBBox,i.htmlUpdateTransform=e.htmlUpdateTransform,i.setSpanRotation=e.setSpanRotation),t},d.prototype.getSpanCorrection=function(t,e,i){this.xCorr=-t*i,this.yCorr=-e},d.prototype.htmlCss=function(t){var e,i="SPAN"===this.element.tagName&&t&&"width"in t,o=p(i&&t.width,void 0);return i&&(delete t.width,this.textWidth=o,e=!0),t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=c(this.styles,t),f(this.element,t),e&&this.htmlUpdateTransform(),this},d.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},d.prototype.htmlUpdateTransform=function(){var e,i,o,s,t,r,n,a,h,l,c,p,d,u;this.added?(e=this.renderer,i=this.element,o=this.translateX||0,s=this.translateY||0,t=this.x||0,r=this.y||0,a={left:0,center:.5,right:1}[n=this.textAlign||"left"],u=(u=this.styles)&&u.whiteSpace,f(i,{marginLeft:o,marginTop:s}),!e.styledMode&&this.shadows&&this.shadows.forEach(function(t){f(t,{marginLeft:o+1,marginTop:s+1})}),this.inverted&&[].forEach.call(i.childNodes,function(t){e.invertChild(t,i)}),"SPAN"===i.tagName&&(h=this.rotation,l=this.textWidth&&m(this.textWidth),c=[h,n,i.innerHTML,this.textWidth,this.textAlign].join(),d=!1,l!==this.oldTextWidth&&(p=this.textPxLength||(f(i,{width:"",whiteSpace:u||"nowrap"}),i.offsetWidth),(l>this.oldTextWidth||l=this.minRange,n=[l-(n=((r=this.minRange)-c+l)/2),L(a.min,l-n)],t&&(n[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),c=[(l=d(n))+r,L(a.max,l+r)],t&&(c[2]=h?h.log2lin(this.dataMax):this.dataMax),(c=u(c))-l=g?(e=g,u=0):this.dataMax<=g&&(i=g,d=0)),this.min=L(m,e,this.dataMin),this.max=L(y,i,this.dataMax)),r&&(this.positiveValuesOnly&&!t&&Math.min(this.min,L(this.dataMin,this.min))<=0&&k(10,1,s),this.min=S(r.log2lin(this.min),16),this.max=S(r.log2lin(this.max),16)),this.range&&w(this.max)&&(this.userMin=this.min=m=Math.max(this.dataMin,this.minFromRange()),this.userMax=y=this.max,this.range=null),P(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(c||this.axisPointRange||this.stacking&&this.stacking.usePercentage||h)&&w(this.min)&&w(this.max)&&(s=this.max-this.min)&&(!w(m)&&u&&(this.min-=s*u),!w(y)&&d&&(this.max+=s*d)),T(this.userMin)||(T(n.softMin)&&n.softMinthis.max&&(this.max=y=n.softMax),T(n.ceiling)&&(this.max=Math.min(this.max,n.ceiling))),p&&w(this.dataMin)&&(g=g||0,!w(m)&&this.min=g?this.min=this.options.minRange?Math.min(g,this.max-this.minRange):g:!w(y)&&this.max>g&&this.dataMax<=g&&(this.max=this.options.minRange?Math.max(g,this.min+this.minRange):g)),T(this.min)&&T(this.max)&&!this.chart.polar&&this.min>this.max&&(w(this.options.min)?this.max=this.min:w(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||void 0===this.min||void 0===this.max?1:h&&this.linkedParent&&!f&&l===this.linkedParent.options.tickPixelInterval?f=this.linkedParent.tickInterval:L(f,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,c?1:(this.max-this.min)*l/Math.max(this.len,l)),a&&!t&&(o=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max),this.series.forEach(function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(o)}),P(this,"postProcessData",{hasExtremesChanged:o})),this.setAxisTranslation(),P(this,"initialAxisTranslation"),this.pointRange&&!f&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=L(n.minTickInterval,this.dateTime&&!this.series.some(function(t){return t.noSharedTooltip})?this.closestPointRange:0),!f&&this.tickIntervalMath.max(2*this.len,200)))if(this.dateTime)a=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,e.units),this.min,this.max,e.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0);else if(this.logarithmic)a=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(s=e=this.tickInterval;s<=2*e&&(a=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&a.length>this.tickAmount);)this.tickInterval=v(this,s*=1.1);else a=[this.min,this.max],k(19,!1,this.chart);a.length>this.len&&((a=[a[0],a[a.length-1]])[0]===a[1]&&(a.length=1)),o&&(this.tickPositions=a,(t=o.apply(this,[this.min,this.max]))&&(a=t))}this.tickPositions=a,this.paddedTicks=a.slice(0),this.trimTicks(a,n,r),!this.isLinked&&T(this.min)&&T(this.max)&&(this.single&&a.length<2&&!this.categories&&!this.series.some(function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement})&&(this.min-=.5,this.max+=.5),i||t||this.adjustTickAmount()),P(this,"afterSetTickPositions")},I.prototype.trimTicks=function(t,e,i){var o=t[0],s=t[t.length-1],r=!this.isOrdinal&&this.minPointOffset||0;if(P(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==o)this.min=o;else for(;this.min-r>t[0];)t.shift();if(i)this.max=s;else for(;this.max+rs||n[n.length-1]e.threshold?n.unshift(S(n[0]-p)):n.push(S(n[n.length-1]+p));if(p>8*e.tickInterval)break;p*=2}h()}else if(ld&&(d=t.label.textPxLength)}),this.maxLabelLength=d,this.autoRotation)hc.h?l.rotation=this.labelRotation:this.labelRotation=0;else if(a){var u=h;if(!p)for(var f="clip",h=i.length;!n&&h--;){var g=i[h];(g=s[g].label)&&(g.styles&&"ellipsis"===g.styles.textOverflow?g.css({textOverflow:"clip"}):g.textPxLength>a&&g.css({width:a+"px"}),g.getBBox().height>this.len/i.length-(c.h-c.f)&&(g.specificTextOverflow="ellipsis"))}}l.rotation&&(u=d>.5*t.chartHeight?.33*t.chartHeight:d,p||(f="ellipsis")),(this.labelAlign=o.align||this.autoLabelAlign(this.labelRotation))&&(l.align=this.labelAlign),i.forEach(function(t){var e=(t=s[t])&&t.label,i=r.width,o={};e&&(e.attr(l),t.shortenLabel?t.shortenLabel():u&&!i&&"nowrap"!==r.whiteSpace&&(u=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(o[t]||(o[t]=new b(this,t)),i&&o[t].isNew&&o[t].render(e,!0,-1),o[t].render(e))},I.prototype.render=function(){var i,o,s,r=this,n=r.chart,a=r.logarithmic,t=r.options,e=r.isLinked,h=r.tickPositions,l=r.axisTitle,c=r.ticks,p=r.minorTicks,d=r.alternateBands,u=t.stackLabels,f=t.alternateGridColor,g=r.tickmarkOffset,m=r.axisLine,y=r.showAxis,v=M(n.renderer.globalAnimation);r.labelEdge.length=0,r.overlap=!1,[c,p,d].forEach(function(t){A(t,function(t){t.isActive=!1})}),(r.hasData()||e)&&(s=r.chart.hasRendered&&r.old&&T(r.old.min),r.minorTickInterval&&!r.categories&&r.getMinorTickPositions().forEach(function(t){r.renderMinorTick(t,s)}),h.length&&(h.forEach(function(t,e){r.renderTick(t,e,s)}),g&&(0===r.min||r.single)&&(c[-1]||(c[-1]=new b(r,-1,null,!0)),c[-1].render(-1))),f&&h.forEach(function(t,e){o=void 0!==h[e+1]?h[e+1]+g:r.max-g,0==e%2&&tthis.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:i.acrossPanes}),i=1,t&&s)for(e&&(o=t.toString()===s.toString(),i=0),e=0;ee})&&(t=t.map(function(t){var e=u(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return D(t,{target:e.y,x:e.x})})),g.cleanSplit(),j(t,A),c),L=c;t.forEach(function(t){var e=t.x,i=t.boxWidth;(t=t.isHeader)||(g.outside&&c+e=o.value;)o=t[++i];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=o&&o.color&&!this.options.color?o.color:this.nonZonedColor,o},w.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},w.prototype.init=function(t,e,i){return this.series=t,this.applyOptions(e,i),this.id=r(this.id)?this.id:S(),this.resolveColor(),t.chart.pointCount++,b(this,"afterInit"),this},w.prototype.isValid=function(){return null!==this.x&&M(this.y)},w.prototype.optionsToObject=function(t){var e=this.series,i=e.options.keys,o=i||e.pointArrayMap||["y"],s=o.length,r={},n=0,a=0;if(M(t)||null===t)r[o[0]]=t;else if(c(t))for(!i&&t.length>s&&("string"===(e=typeof t[0])?r.name=t[0]:"number"===e&&(r.x=t[0]),n++);at.series.index?-1:1)),o&&(n=t)}),n},C.prototype.getChartCoordinatesFromPoint=function(t,e){var i,o,s=(r=t.series).xAxis,r=r.yAxis,n=t.shapeArgs;return s&&r?(i=M(t.clientX,t.plotX),o=t.plotY||0,t.isNode&&n&&x(n.x)&&x(n.y)&&(i=n.x,o=n.y),e?{chartX:r.len+r.pos-o,chartY:s.len+s.pos-i}:{chartX:i+s.pos,chartY:o+r.pos}):n&&n.x&&n.y?{chartX:n.x,chartY:n.y}:void 0},C.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=n(t),i=(this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1},t.offsetWidth),t=t.offsetHeight;return 2v.max&&(i=v.max-h,c=!0),c?(S-=.8*(S-n[d][0]),"number"==typeof w&&(w-=.8*(w-n[d][1])),e()):n[d]=[S,w],y||(r[d]=l-m,r[g]=h),r=y?1/C:C,s[g]=h,s[d]=i,o[y?t?"scaleY":"scaleX":"scale"+u]=C,o["translate"+u]=r*m+(S-r*b)},C.prototype.reset=function(e,t){var i=this.chart,o=i.hoverSeries,s=i.hoverPoint,r=i.hoverPoints,n=i.tooltip,a=n&&n.shared?r:s;e&&a&&h(a).forEach(function(t){t.series.isCartesian&&void 0===t.plotX&&(e=!1)}),e?n&&a&&h(a).length&&(n.refresh(a),n.shared&&r?r.forEach(function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))}):s&&(s.setState(s.state,!0),i.axes.forEach(function(t){t.crosshair&&s.series[t.coll]===t&&t.drawCrosshair(null,s)}))):(s&&s.onMouseOut(),r&&r.forEach(function(t){t.setState()}),o&&o.onMouseOut(),n&&n.hide(t),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach(function(t){t.hideCrosshair()}),this.hoverX=i.hoverPoints=i.hoverPoint=null)},C.prototype.runPointActions=function(o,t,e){var s=this.chart,i=s.tooltip&&s.tooltip.options.enabled?s.tooltip:void 0,r=!!i&&i.shared,n=t||s.hoverPoint,a=n&&n.series||s.hoverSeries,h=(t=this.getHoverData(n,a,s.series,(!o||"touchmove"!==o.type)&&(!!t||a&&a.directTouch&&this.isDirectTouch),r,o),n=t.hoverPoint,a=t.hoverSeries,t.hoverPoints),l=(t=a&&a.tooltipOptions.followPointer&&!a.tooltipOptions.split,r&&a&&!a.noSharedTooltip);if(n&&(e||n!==s.hoverPoint||i&&i.isHidden)){if((s.hoverPoints||[]).forEach(function(t){-1===h.indexOf(t)&&t.setState()}),s.hoverSeries!==a&&a.onMouseOver(),this.applyInactiveState(h),(h||[]).forEach(function(t){t.setState("hover")}),s.hoverPoint&&s.hoverPoint.firePointEvent("mouseOut"),!n.series)return;s.hoverPoints=h,(s.hoverPoint=n).firePointEvent("mouseOver",void 0,function(){i&&n&&i.refresh(l?h:n,o)})}else t&&i&&!i.isHidden&&(e=i.getAnchor([{}],o),s.isInsidePlot(e[0],e[1],{visiblePlotOnly:!0})&&i.updatePosition({plotX:e[0],plotY:e[1]}));this.unDocMouseMove||(this.unDocMouseMove=p(s.container.ownerDocument,"mousemove",function(t){var e=c[C.hoverChartIndex];e&&e.pointer.onDocumentMouseMove(t)}),this.eventsToUnbind.push(this.unDocMouseMove)),s.axes.forEach(function(e){var t,i=M((e.crosshair||{}).snap,!0);(t=!i||(t=s.hoverPoint)&&t.series[e.coll]===e?t:d(h,function(t){return t.series&&t.series[e.coll]===e}))||!i?e.drawCrosshair(o,t):e.hideCrosshair()})},C.prototype.scaleGroups=function(i,o){var s=this.chart;s.series.forEach(function(t){var e=i||t.getPlotBox();t.group&&(t.xAxis&&t.xAxis.zoomEnabled||s.mapView)&&(t.group.attr(e),t.markerGroup&&(t.markerGroup.attr(e),t.markerGroup.clip(o?s.clipRect:null)),t.dataLabelsGroup&&t.dataLabelsGroup.attr(e))}),s.clipRect.attr(o||s.clipBox)},C.prototype.setDOMEvents=function(){var t=this,e=this.chart.container,i=e.ownerDocument;e.onmousedown=this.onContainerMouseDown.bind(this),e.onmousemove=this.onContainerMouseMove.bind(this),e.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(p(e,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(p(e,"mouseleave",this.onContainerMouseLeave.bind(this))),C.unbindDocumentMouseUp||(C.unbindDocumentMouseUp=p(i,"mouseup",this.onDocumentMouseUp.bind(this)));for(var o=this.chart.renderTo.parentElement;o&&"BODY"!==o.tagName;)this.eventsToUnbind.push(p(o,"scroll",function(){delete t.chartPosition})),o=o.parentElement;s.hasTouch&&(this.eventsToUnbind.push(p(e,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(p(e,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),C.unbindDocumentTouchEnd||(C.unbindDocumentTouchEnd=p(i,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},C.prototype.setHoverChartIndex=function(){var t=this.chart,e=s.charts[M(C.hoverChartIndex,-1)];e&&e!==t&&e.pointer.onContainerMouseLeave({relatedTarget:t.container}),e&&e.mouseIsDown||(C.hoverChartIndex=t.index)},C.prototype.touch=function(t,e){var i,o=this.chart;this.setHoverChartIndex(),1===t.touches.length?(t=this.normalize(t),o.isInsidePlot(t.chartX-o.plotLeft,t.chartY-o.plotTop,{visiblePlotOnly:!0})&&!o.openMenu?(e&&this.runPointActions(t),"touchmove"===t.type&&(i=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2))),M(i,!0)&&this.pinch(t)):e&&this.reset()):2===t.touches.length&&this.pinch(t)},C.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zooming.singleTouch||!t.touches||1!==t.touches.length)},C.prototype.zoomOption=function(t){var e=(i=this.chart).options.chart,i=i.inverted,o=e.zooming.type||"";/touch/.test(t.type)&&(o=M(e.zooming.pinchType,o)),this.zoomX=t=/x/.test(o),this.zoomY=e=/y/.test(o),this.zoomHor=t&&!i||e&&i,this.zoomVert=e&&!i||t&&i,this.hasZoom=t||e},t=C}),t(e,"Core/MSPointer.js",[e["Core/Globals.js"],e["Core/Pointer.js"],e["Core/Utilities.js"]],function(t,n,e){function i(t,e,i,o){var s,r=a[n.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!r||(r=r.pointer,o(t),r[e]({type:i,target:t.currentTarget,preventDefault:l,touches:((s=[]).item=function(t){return this[t]},u(m,function(t){s.push({pageX:t.pageX,pageY:t.pageY,target:t.target})}),s)}))}var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),a=t.charts,h=t.doc,l=t.noop,c=t.win,p=e.addEvent,d=e.css,u=e.objectEach,f=e.pick,g=e.removeEvent,m={},y=!!c.PointerEvent;return r(v,s=n),v.isRequired=function(){return!(t.hasTouch||!c.PointerEvent&&!c.MSPointerEvent)},v.prototype.batchMSEvents=function(t){t(this.chart.container,y?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,y?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(h,y?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},v.prototype.destroy=function(){this.batchMSEvents(g),s.prototype.destroy.call(this)},v.prototype.init=function(t,e){s.prototype.init.call(this,t,e),this.hasZoom&&d(t.container,{"-ms-touch-action":"none","touch-action":"none"})},v.prototype.onContainerPointerDown=function(t){i(t,"onContainerTouchStart","touchstart",function(t){m[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}})},v.prototype.onContainerPointerMove=function(t){i(t,"onContainerTouchMove","touchmove",function(t){m[t.pointerId]={pageX:t.pageX,pageY:t.pageY},m[t.pointerId].target||(m[t.pointerId].target=t.currentTarget)})},v.prototype.onDocumentPointerUp=function(t){i(t,"onDocumentTouchEnd","touchend",function(t){delete m[t.pointerId]})},v.prototype.setDOMEvents=function(){var t=this.chart.tooltip;s.prototype.setDOMEvents.call(this),(this.hasZoom||f(t&&t.options.followTouchMove,!0))&&this.batchMSEvents(p)},v;function v(){return null!==s&&s.apply(this,arguments)||this}}),t(e,"Core/Legend/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Series/Point.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Utilities.js"]],function(t,e,i,p,o,s){var d=t.animObject,u=t.setAnimation,r=e.format,a=i.marginNames,h=o.distribute,n=s.addEvent,l=s.createElement,c=s.css,f=s.defined,g=s.discardElement,m=s.find,y=s.fireEvent,v=s.isNumber,x=s.merge,M=s.pick,b=s.relativeLength,C=s.stableSort,S=s.syncTimeout;function w(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options=void 0,this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return w.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),n(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=n(this.chart,"render",function(){this.legend.proximatePositions(),this.legend.positionItems()}):this.unchartrender&&this.unchartrender())},w.prototype.setOptions=function(t){var e=M(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=x(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=M(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},w.prototype.update=function(t,e){var i=this.chart;this.setOptions(x(!0,this.options,t)),this.destroy(),i.isDirtyLegend=i.isDirtyBox=!0,M(e,!0)&&i.redraw(),y(this,"afterUpdate")},w.prototype.colorizeItem=function(t,e){var i,o,s,r,n=(l=t.legendItem||{}).group,a=l.label,h=l.line,l=l.symbol;n&&n[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),this.chart.styledMode||(i=this.options,n=this.itemHiddenStyle.color,i=e?i.itemStyle.color:n,o=e&&t.color||n,s=t.options&&t.options.marker,r={fill:o},a&&a.css({fill:i,color:i}),h&&h.attr({stroke:o}),l&&(s&&l.isMarker&&(r=t.pointAttribs(),e||(r.stroke=r.fill=n)),l.attr(r))),y(this,"afterColorizeItem",{item:t,visible:e})},w.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},w.prototype.positionItem=function(t){var e=this,i=t.legendItem||{},o=i.group,s=void 0===(s=i.x)?0:s;i=void 0===(i=i.y)?0:i;var r=(a=this.options).symbolPadding,n=!a.rtl,a=t.checkbox;o&&o.element&&(r={translateX:n?s:this.legendWidth-s-2*r-4,translateY:i},o[f(o.translateY)?"animate":"attr"](r,void 0,function(){y(e,"afterPositionItem",{item:t})})),a&&(a.x=s,a.y=i)},w.prototype.destroyItem=function(t){for(var e=t.checkbox,i=t.legendItem||{},o=0,s=["group","label","line","symbol"];o1.5*o?i.height:o))},w.prototype.layoutItem=function(t){var e=this.options,i=this.padding,o="horizontal"===e.layout,s=t.itemHeight,r=this.itemMarginBottom,n=this.itemMarginTop,a=o?M(e.itemDistance,20):0,h=this.maxLegendWidth,e=e.alignColumns&&this.totalItemWidth>h?this.maxItemWidth:t.itemWidth,l=t.legendItem||{};o&&this.itemX-i+e>h&&(this.itemX=i,this.lastLineHeight&&(this.itemY+=n+this.lastLineHeight+r),this.lastLineHeight=0),this.lastItemY=n+this.itemY+r,this.lastLineHeight=Math.max(s,this.lastLineHeight),l.x=this.itemX,l.y=this.itemY,o?this.itemX+=e:(this.itemY+=n+s+r,this.lastLineHeight=s),this.offsetWidth=this.widthOption||Math.max((o?this.itemX-i-(t.checkbox?0:a):e)+i,this.offsetWidth)},w.prototype.getAllItems=function(){var i=[];return this.chart.series.forEach(function(t){var e=t&&t.options;t&&M(e.showInLegend,!f(e.linkedTo)&&void 0,!0)&&(i=i.concat((t.legendItem||{}).labels||("point"===e.legendType?t.data:t)))}),y(this,"afterGetAllItems",{allItems:i}),i},w.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},w.prototype.adjustMargins=function(i,o){var s=this.chart,r=this.options,n=this.getAlignment();n&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(t,e){t.test(n)&&!f(i[e])&&(s[a[e]]=Math.max(s[a[e]],s.legend[(e+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][e]*r[e%2?"x":"y"]+M(r.margin,12)+o[e]+(s.titleOffset[e]||0)))})},w.prototype.proximatePositions=function(){var s=this.chart,r=[],n="left"===this.options.align;this.allItems.forEach(function(t){var e,i,o=n;t.yAxis&&(t.xAxis.options.reversed&&(o=!o),t.points&&(e=m(o?t.points:t.points.slice(0).reverse(),function(t){return v(t.plotY)})),o=this.itemMarginTop+t.legendItem.label.getBBox().height+this.itemMarginBottom,i=t.yAxis.top-s.plotTop,t.visible?(e=e?e.plotY:t.yAxis.height,e+=i-.3*o):e=i+t.yAxis.height,r.push({target:e,size:o,item:t}))},this);for(var t=0,e=h(r,s.plotHeight);ts&&(r||t)!==y[o-1])&&(y.push(r||t),o++),n.pageIx=o-1,r&&((v[e-1].legendItem||{}).pageIx=o-1),e===v.length-1&&t+i-y[o-1]>s&&i<=s&&(y.push(t),n.pageIx=o),t!==r&&(r=t)}),b||(b=o.clipRect=h.clipRect(0,d,9999,0),o.contentGroup.clip(b)),e(s),x||(this.nav=x=h.g().attr({zIndex:1}).add(this.group),this.up=h.symbol("triangle",0,0,m,m).add(x),i("upTracker").on("click",function(){o.scroll(-1,g)}),this.pager=h.text("",15,10).addClass("highcharts-legend-navigation"),!a.styledMode&&f.style&&this.pager.css(f.style),this.pager.add(x),this.down=h.symbol("triangle-down",0,0,m,m).add(x),i("downTracker").on("click",function(){o.scroll(1,g)})),o.scroll(0),t=c):x&&(e(),this.nav=x.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},w.prototype.scroll=function(t,e){var i=this,o=this.chart,s=this.pages,r=s.length,n=this.clipHeight,a=this.options.navigation,h=this.pager,l=this.padding,c=this.currentPage+t;0<(c=r=Math.max(l+n,o.pos)&&h<=Math.min(l+n+r.width,o.pos+o.len)||(t.isInsidePlot=!1)),!i.ignoreY&&t.isInsidePlot&&(s=i.axis&&!i.axis.isXAxis&&i.axis||p&&(s?p.xAxis:p.yAxis)||{pos:a,len:1/0},(i=i.paneCoordinates?s.pos+e:a+e)>=Math.max(c+a,s.pos)&&i<=Math.min(c+a+r.height,s.pos+s.len)||(t.isInsidePlot=!1)),k(this,"afterIsInsidePlot",t),t.isInsidePlot},B.prototype.redraw=function(t){k(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],i=this.series,o=this.pointer,s=this.legend,r=this.userOptions.legend,n=this.renderer,a=n.isHidden(),h=[],l=this.isDirtyBox,c=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),f(!!this.hasRendered&&t,this),a&&this.temporaryDisplay(),this.layOutTitles(),t=i.length;t--;){var p=i[t];if(p.options.stacking||p.options.centerInCategory){var d=!0;if(p.isDirty){var u=!0;break}}}if(u)for(t=i.length;t--;)(p=i[t]).options.stacking&&(p.isDirty=!0);i.forEach(function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),c=!0):r&&(r.labelFormatter||r.labelFormat)&&(c=!0)),t.isDirtyData&&k(t,"updatedData")}),c&&s&&s.options.enabled&&(s.render(),this.isDirtyLegend=!1),d&&this.getStacks(),e.forEach(function(t){t.updateNames(),t.setScale()}),this.getMargins(),e.forEach(function(t){t.isDirty&&(l=!0)}),e.forEach(function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,h.push(function(){k(t,"afterSetExtremes",w(t.eventArgs,t.getExtremes())),delete t.eventArgs})),(l||d)&&t.redraw()}),l&&this.drawChartBox(),k(this,"predraw"),i.forEach(function(t){(l||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1}),o&&o.reset(!0),n.draw(),k(this,"redraw"),k(this,"render"),a&&this.temporaryDisplay(!0),h.forEach(function(t){t.call()})},B.prototype.get=function(e){function t(t){return t.id===e||t.options&&t.options.id===e}for(var i=this.series,o=r(this.axes,t)||r(this.series,t),s=0;!o&&s=D(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return D(e,t.length-1)},B.prototype.bindAxes=function(){var o,s=this,r=s.options,t=s.chart;A(this,"bindAxes",null,function(){(s.axisTypes||[]).forEach(function(e){var i=0;t[e].forEach(function(t){o=t.options,(r[e]===i&&!o.isInternal||void 0!==r[e]&&r[e]===o.id||void 0===r[e]&&0===o.index)&&(s.insert(t.series),(s[e]=t).isDirty=!0),o.isInternal||i++}),s[e]||s.optionalAxis===e||C(18,!0,t)})}),A(this,"afterBindAxes")},B.prototype.updateParallelArrays=function(i,o){var s=i.series,e=arguments,t=O(o)?function(t){var e="y"===t&&s.toYData?s.toYData(i):i[t];s[t+"Data"][o]=e}:function(t){Array.prototype[o].apply(s[t+"Data"],Array.prototype.slice.call(e,2))};s.parallelArrays.forEach(t)},B.prototype.hasData=function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0=this.cropStart?s-this.cropStart:s),s=!o&&O(s)&&a[s]&&a[s].touched?void 0:s},B.prototype.updateData=function(t,e){var s,i,r,n=this.options,a=n.dataSorting,h=this.points,l=[],c=this.requireSorting,p=t.length===h.length,o=!0;if(this.xIncrement=null,t.forEach(function(t,e){var i=T(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},o=i.x;i.id||O(o)?(-1===(i=this.findPointIndex(i,r))||void 0===i?l.push(t):h[i]&&t!==n.data[i]?(h[i].update(t,!1,null,!1),h[i].touched=!0,c&&(r=i+1)):h[i]&&(h[i].touched=!0),(!p||e!==i||a&&a.enabled||this.hasDerivedData)&&(s=!0)):l.push(t)},this),s)for(t=h.length;t--;)(i=h[t])&&!i.touched&&i.remove&&i.remove(!1,e);else!p||a&&a.enabled?o=!1:(t.forEach(function(t,e){t!==h[e].y&&h[e].update&&h[e].update(t,!1,null,!1)}),l.length=0);return h.forEach(function(t){t&&(t.touched=!1)}),!!o&&(l.forEach(function(t){this.addPoint(t,!1,null,null,!1)},this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=v(this.xData),this.autoIncrement()),!0)},B.prototype.setData=function(t,e,i,o){void 0===e&&(e=!0);var s,r,n=this,a=n.points,h=a&&a.length||0,l=n.options,c=n.chart,p=l.dataSorting,d=n.xAxis,u=l.turboThreshold,f=this.xData,g=this.yData,m=(m=n.pointArrayMap)&&m.length,y=l.keys,v=0,x=1;if(c.options.chart.allowMutatingData||(l.data&&delete n.options.data,n.userOptions.data&&delete n.userOptions.data,r=j(!0,t)),r=(t=r||t||[]).length,p&&p.enabled&&(t=this.sortData(t)),!(s=c.options.chart.allowMutatingData&&!1!==o&&r&&h&&!n.cropped&&!n.hasGroupedData&&n.visible&&!n.boosted?this.updateData(t,i):s)){if(n.xIncrement=null,n.colorCounter=0,this.parallelArrays.forEach(function(t){n[t+"Data"].length=0}),u&&ui?(p=[],d=[]):this.yData&&(p[0]i)&&(p=(o=this.cropData(this.xData,this.yData,e,i)).xData,d=o.yData,c=o.start,o=!0)),a=p.length||1;--a;)0<(r=n?t(p[a])-t(p[a-1]):p[a]-p[a-1])&&(void 0===s||r=i){a=Math.max(0,r-s);break}for(i=r;io){h=i+s;break}return{xData:t.slice(a,h),yData:e.slice(a,h),start:a,end:h}},B.prototype.generatePoints=function(){var t,e,i=this.options,o=this.processedData||i.data,s=this.processedXData,r=this.processedYData,n=this.pointClass,a=s.length,h=this.cropStart||0,l=this.hasGroupedData,c=i.keys,p=[],i=i.dataGrouping&&i.dataGrouping.groupAll?h:0,d=this.data;for(d||l||((f=[]).length=o.length,d=this.data=f),c&&l&&(this.options.keys=!1),e=0;e=h&&(r[i-a]||d)<=l;if(f&&d)if(f=u.length)for(;f--;)O(u[f])&&(n[c++]=u[f]);else n[c++]=u}return t={activeYData:n,dataMin:x(n),dataMax:v(n)},A(this,"afterGetExtremes",{dataExtremes:t}),t},B.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},B.prototype.getFirstValidPoint=function(t){for(var e=t.length,i=0,o=null;null===o&&i=n.enabledThreshold*n.radius);if(!1!==n.enabled||this._hasPointMarkers)for(e=0;el.max,c.resetZones&&0===i&&(i=void 0)}),this.clips=u):c.visible&&(f&&f.show(),g&&g.show())},B.prototype.plotGroup=function(t,e,i,o,s){var r=this[t],n=!r;return i={visibility:i,zIndex:o||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(i.opacity=this.opacity),n&&(this[t]=r=this.chart.renderer.g().add(s)),r.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(T(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(r.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),r.attr(i)[n?"attr":"animate"](this.getPlotBox(e)),r},B.prototype.getPlotBox=function(t){var e=this.xAxis,i=this.yAxis,o=this.chart;return t=o.inverted&&!o.polar&&e&&!1!==this.invertible&&"series"===t,o.inverted&&(e=i,i=this.xAxis),{translateX:e?e.left:o.plotLeft,translateY:i?i.top:o.plotTop,rotation:t?90:0,rotationOriginX:t?(e.len-i.len)/2:0,rotationOriginY:t?(e.len+i.len)/2:0,scaleX:t?-1:1,scaleY:1}},B.prototype.removeEvents=function(t){t||N(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(t){t()}),this.eventsToUnbind.length=0)},B.prototype.render=function(){var t=this,e=t.chart,i=t.options,o=p(i.animation),s=t.visible?"inherit":"hidden",r=i.zIndex,n=t.hasRendered,a=e.seriesGroup,e=!t.finishedAnimating&&e.renderer.isSVG?o.duration:0;A(this,"render"),t.plotGroup("group","series",s,r,a),t.markerGroup=t.plotGroup("markerGroup","markers",s,r,a),!1!==i.clip&&t.setClip(),t.animate&&e&&t.animate(!0),t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.animate&&e&&t.animate(),n||(e&&o.defer&&(e+=o.defer),t.animationTimeout=I(function(){t.afterAnimate()},e||0)),t.isDirty=!1,t.hasRendered=!0,A(t,"afterRender")},B.prototype.redraw=function(){var t=this.isDirty||this.isDirtyData;this.translate(),this.render(),t&&delete this.kdTree},B.prototype.searchPoint=function(t,e){var i=this.xAxis,o=this.yAxis,s=this.chart.inverted;return this.searchKDTree({clientX:s?i.len-t.chartY+i.pos:t.chartX-i.pos,plotY:s?o.len-t.chartX+o.pos:t.chartY-o.pos},e,t)},B.prototype.buildKDTree=function(t){this.buildingKdTree=!0;var n=this,e=-1u;)f--;this.updateParallelArrays(d,"splice",f,0,0),this.updateParallelArrays(d,f),l&&d.name&&(l[u]=d.name),c.splice(f,0,t),(r||this.processedData)&&(this.data.splice(f,0,null),this.processData()),"point"===n.legendType&&this.generatePoints(),i&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(d,"shift"),c.shift())),!1!==s&&A(this,"addPoint",{point:d}),this.isDirtyData=this.isDirty=!0,e&&h.redraw(o)},B.prototype.removePoint=function(t,e,i){function o(){a&&a.length===r.length&&a.splice(t,1),r.splice(t,1),s.options.data.splice(t,1),s.updateParallelArrays(n||{series:s},"splice",t,1),n&&n.destroy(),s.isDirty=!0,s.isDirtyData=!0,e&&h.redraw()}var s=this,r=s.data,n=r[t],a=s.points,h=s.chart;d(i,h),e=D(e,!0),n?n.firePointEvent("remove",null,o):o()},B.prototype.remove=function(t,e,i,o){function s(){r.destroy(o),n.isDirtyLegend=n.isDirtyBox=!0,n.linkSeries(),D(t,!0)&&n.redraw(e)}var r=this,n=r.chart;!1!==i?A(r,"remove",null,s):s()},B.prototype.update=function(t,e){t=b(t,this.userOptions),A(this,"update",{options:t});var i,o=this,s=o.chart,r=o.userOptions,n=o.initialType||o.type,a=s.options.plotOptions,h=y[n].prototype,l=o.finishedAnimating&&{animation:!1},c={},p=["eventOptions","navigatorSeries","baseSeries"],d=t.type||r.type||s.options.chart.type,u=!(this.hasDerivedData||d&&d!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||t.joinBy||t.mapData||o.hasOptionChanged("dataGrouping")||o.hasOptionChanged("pointStart")||o.hasOptionChanged("pointInterval")||o.hasOptionChanged("pointIntervalUnit")||o.hasOptionChanged("keys")),d=d||n;if(u&&(p.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&p.push("area","graph"),o.parallelArrays.forEach(function(t){p.push(t+"Data")}),t.data&&(t.dataSorting&&S(o.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=j(r,l,{index:(void 0===r.index?o:r).index,pointStart:D(a&&a.series&&a.series.pointStart,r.pointStart,o.xData[0])},!u&&{data:o.options.data},t),u&&t.data&&(t.data=o.options.data),(p=["group","markerGroup","dataLabelsGroup","transformGroup","shadowGroup"].concat(p)).forEach(function(t){p[t]=o[t],delete o[t]}),a=!1,y[d]){if(a=d!==o.type,o.remove(!1,!1,!1,!0),a)if(Object.setPrototypeOf)Object.setPrototypeOf(o,y[d].prototype);else{for(i in l=Object.hasOwnProperty.call(o,"hcEvents")&&o.hcEvents,h)o[i]=void 0;S(o,y[d].prototype),l?o.hcEvents=l:delete o.hcEvents}}else C(17,!0,s,{missingModuleFor:d});if(p.forEach(function(t){o[t]=p[t]}),o.init(s,t),u&&this.points)for(!1===(t=o.options).visible?(c.graphic=1,c.dataLabel=1):o._hasPointLabels||(h=t.marker,i=t.dataLabels,r=r.marker||{},!h||!1!==h.enabled&&r.symbol===h.symbol&&r.height===h.height&&r.width===h.width||(c.graphic=1),i&&!1===i.enabled&&(c.dataLabel=1)),r=0,h=this.points;rm?e-m:g-(o?m:0)),w(t.options.pointWidth)&&(n=h=Math.ceil(t.options.pointWidth),a-=Math.round((n-v)/2)),p.centerInCategory&&(a=l.adjustForMissingColumns(a,n,t,y)),t.barX=a,t.pointWidth=n,t.tooltipPos=c.inverted?[S(u.len+u.pos-c.plotLeft-i,u.pos-c.plotLeft,u.len+u.pos-c.plotLeft),d.len+d.pos-c.plotTop-a-h/2,r]:[d.left-c.plotLeft+a+h/2,S(i+u.pos-c.plotTop,u.pos-c.plotTop,u.len+u.pos-c.plotTop),r],t.shapeType=l.pointClass.prototype.shapeType||"rect",t.shapeArgs=l.crispCol.apply(l,t.isNull?[a,g,h,0]:[a,s,h,r])})},x.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},x.prototype.pointAttribs=function(t,e){var i,o=this.options,s=(h=this.pointAttrToOptions||{}).stroke||"borderColor",r=h["stroke-width"]||"borderWidth",n=t&&t.color||this.color,a=t&&t[s]||o[s]||n,h=t&&t.options.dashStyle||o.dashStyle,l=t&&t[r]||o[r]||this[r]||0,c=P(t&&t.opacity,o.opacity,1);return t&&this.zones.length&&(i=t.getZone(),n=t.options.color||i&&(i.color||t.nonZonedColor)||this.color,i&&(a=i.borderColor||a,h=i.dashStyle||h,l=i.borderWidth||l)),e&&t&&(e=(t=y(o.states[e],t.options.states&&t.options.states[e]||{})).brightness,n=t.color||void 0!==e&&d(n).brighten(t.brightness).get()||n,a=t[s]||a,l=t[r]||l,h=t.dashStyle||h,c=P(t.opacity,c)),s={fill:n,stroke:a,"stroke-width":l,opacity:c},h&&(s.dashstyle=h),s},x.prototype.drawPoints=function(t){void 0===t&&(t=this.points);var s,r=this,n=this.chart,a=r.options,h=n.renderer,l=a.animationLimit||250;t.forEach(function(t){var e=t.graphic,i=!!e,o=e&&n.pointCount"===a&&l="===a&&l<=h||"<="===a&&h<=l||"=="===a&&h==l||"==="===a&&h===l)),h=d.connectors?d.connectors[e]:d.connector,l=d.dataLabels?d.dataLabels[e]:d.dataLabel,c=!l,p=C(t.distance,d.labelDistance);a&&(i=d.getLabelConfig(),o=C(t[d.formatPrefix+"Format"],t.format),i=b(o)?x(o,i,g):(t[d.formatPrefix+"Formatter"]||t.formatter).call(i,t),o=t.style,s=t.rotation,g.styledMode||(o.color=C(t.color,o.color,f.color,"#000000"),"contrast"===o.color?(d.contrastColor=y.getContrast(d.color||f.color),o.color=!b(p)&&t.inside||p<0||m.stacking?d.contrastColor:v):delete d.contrastColor,m.cursor&&(o.cursor=m.cursor)),r={r:t.borderRadius||0,rotation:s,padding:t.padding,zIndex:1},g.styledMode||(p=t.backgroundColor,n=t.borderColor,r.fill="auto"===p?d.color:p,r.stroke="auto"===n?d.color:n,r["stroke-width"]=t.borderWidth),M(r,function(t,e){void 0===t&&delete r[e]})),!l||a&&b(i)&&!!l.div==!!t.useHTML&&(l.rotation&&t.rotation||l.rotation===t.rotation)||(c=!0,d.dataLabel=l=d.dataLabel&&d.dataLabel.destroy(),d.dataLabels&&(1===d.dataLabels.length?delete d.dataLabels:delete d.dataLabels[e]),e||delete d.dataLabel,h&&(d.connector=d.connector.destroy(),d.connectors&&(1===d.connectors.length?delete d.connectors:delete d.connectors[e]))),a&&b(i)?(l?r.text=i:(d.dataLabels=d.dataLabels||[],l=d.dataLabels[e]=s?y.text(i,0,0,t.useHTML).addClass("highcharts-data-label"):y.label(i,0,0,t.shape,null,null,t.useHTML,null,"data-label"),e||(d.dataLabel=l),l.addClass(" highcharts-data-label-color-"+d.colorIndex+" "+(t.className||"")+(t.useHTML?" highcharts-tracker":""))),l.options=t,l.attr(r),g.styledMode||l.css(o).shadow(t.shadow),(e=t[d.formatPrefix+"TextPath"]||t.textPath)&&!t.useHTML&&(l.setTextPath(d.getDataLabelPath&&d.getDataLabelPath(l)||d.graphic,e),d.dataLabelPath&&!e.enabled&&(d.dataLabelPath=d.dataLabelPath.destroy())),l.added||l.add(u),f.alignDataLabel(d,l,t,null,c)):l&&l.hide()})})),n(this,"afterDrawDataLabels")}function u(t,e,i,o,s,r){var n,a=this.chart,h=e.align,l=e.verticalAlign,c=!t.box&&t.padding||0,p=void 0===(p=e.x)?0:p,d=void 0===(d=e.y)?0:d,u=(i.x||0)+c;return u<0&&("right"===h&&0<=p?(e.align="left",e.inside=!0):p-=u,n=!0),(u=(i.x||0)+o.width-c)>a.plotWidth&&("left"===h&&p<=0?(e.align="right",e.inside=!0):p+=a.plotWidth-u,n=!0),(u=i.y+c)<0&&("bottom"===l&&0<=d?(e.verticalAlign="top",e.inside=!0):d-=u,n=!0),(u=(i.y||0)+o.height-c)>a.plotHeight&&("top"===l&&d<=0?(e.verticalAlign="bottom",e.inside=!0):d+=a.plotHeight-u,n=!0),n&&(e.x=p,e.y=d,t.placed=!r,t.align(e,void 0,s)),n}function S(e,i){var t,o=[];if(a(e)&&!a(i))o=e.map(function(t){return l(t,i)});else if(a(i)&&!a(e))o=i.map(function(t){return l(e,t)});else if(a(e)||a(i))for(t=Math.max(e.length,i.length);t--;)o[t]=l(e[t],i[t]);else o=l(e,i);return o}function f(t,e,i,o,s){var r=this.chart,n=r.inverted,a=this.xAxis,h=a.reversed,l=n?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=n?s.x:h?-l-t:a.width-l+t,e.startYPos=n?h?this.yAxis.height-l+t:-l-t:s.y,o?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),r.hasRendered&&(i&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}return o=o||{},s=[],o.compose=function(t){var e;-1===s.indexOf(t)&&(e=t.prototype,s.push(t),e.alignDataLabel=p,e.drawDataLabels=d,e.justifyDataLabel=u,e.setDataLabelStartPos=f)},o}),t(e,"Series/Column/ColumnDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,t,i){var o,s,p=t.series,d=i.merge,u=i.pick;function r(t,e,i,o,s){var r=this.chart.inverted,n=((a=t.series).xAxis?a.xAxis.len:this.chart.plotSizeX)||0,a=(a.yAxis?a.yAxis.len:this.chart.plotSizeY)||0,h=t.dlBox||t.shapeArgs,l=u(t.below,t.plotY>u(this.translatedThreshold,a)),c=u(i.inside,!!this.options.stacking);h&&((o=d(h)).y<0&&(o.height+=o.y,o.y=0),0<(h=o.y+o.height-a)&&h {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}}}),t(e,"Series/Scatter/ScatterSeries.js",[e["Series/Scatter/ScatterSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i){var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),n=(h=e.seriesTypes).column,a=h.line,h=i.addEvent,l=i.extend,c=i.merge;function p(){var t=null!==s&&s.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(p,s=a),p.prototype.applyJitter=function(){var h=this,l=this.options.jitter,c=this.points.length;l&&this.points.forEach(function(n,a){["x","y"].forEach(function(t,e){var i,o,s,r="plot"+t.toUpperCase();l[t]&&!n.isNull&&(s=h[t+"Axis"],i=l[t]*s.transA,s&&!s.isLog&&(o=Math.max(0,n[r]-i),s=Math.min(s.len,n[r]+i),e=1e4*Math.sin(a+e*c),n[r]=o+(s-o)*(e-Math.floor(e)),"x"===t&&(n.clientX=n.plotX)))})})},p.prototype.drawGraph=function(){this.options.lineWidth?s.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},p.defaultOptions=c(a.defaultOptions,t),l((i=p).prototype,{drawTracker:n.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),h(i,"afterTranslate",function(){this.applyJitter()}),e.registerSeriesType("scatter",i),i}),t(e,"Series/CenteredUtilities.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(t,c,e){var i,o=t.deg2rad,p=e.fireEvent,d=e.isNumber,u=e.pick,f=e.relativeLength;return(t=i=i||{}).getCenter=function(){var t=this.options,e=this.chart,i=2*(t.slicedOffset||0),o=e.plotWidth-2*i,s=e.plotHeight-2*i,r=t.center,n=Math.min(o,s),a=t.thickness,h=t.size,l=t.innerSize||0;for("string"==typeof h&&(h=parseFloat(h)),"string"==typeof l&&(l=parseFloat(l)),t=[u(r[0],"50%"),u(r[1],"50%"),u(h&&h<0?void 0:t.size,"100%"),u(l&&l<0?void 0:t.innerSize||0,"0%")],!e.angular||this instanceof c||(t[3]=0),r=0;r<4;++r)h=t[r],e=r<2||2===r&&/%$/.test(h),t[r]=f(h,[o,s,n,t[2]][r])+(e?i:0);return t[3]>t[2]&&(t[3]=t[2]),d(a)&&2*at.x||se.x)&&(o=!1),t=[["M",t.x,t.y]],o&&t.push(i),t.push(["L",e.x,e.y]),t}}}),e}),t(e,"Series/Pie/PieSeriesDefaults.js",[],function(){return{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}}),t(e,"Series/Pie/PieSeries.js",[e["Series/CenteredUtilities.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Series/Pie/PiePoint.js"],e["Series/Pie/PieSeriesDefaults.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],function(t,e,i,o,s,r,n,a,h,l){var c,p,d=this&&this.__extends||(c=function(t,e){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}c(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),m=t.getStartAndEndRadians,u=(i=i.noop,l.clamp),f=l.extend,y=l.fireEvent,g=l.merge,v=l.pick,x=l.relativeLength;function b(){var t=null!==p&&p.apply(this,arguments)||this;return t.center=void 0,t.data=void 0,t.maxLabelDistance=void 0,t.options=void 0,t.points=void 0,t}return d(b,p=n),b.prototype.animate=function(t){var o=this,e=o.points,s=o.startAngleRad;t||e.forEach(function(t){var e=t.graphic,i=t.shapeArgs;e&&i&&(e.attr({r:v(t.startR,o.center&&o.center[3]/2),start:s,end:s}),e.animate({r:i.r,start:i.start,end:i.end},o.options.animation))})},b.prototype.drawEmpty=function(){var t,e,i=this.startAngleRad,o=this.endAngleRad,s=this.options;0===this.total&&this.center?(t=this.center[0],e=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(t,e,this.center[1]/2,0,i,o).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:h.arc(t,e,this.center[2]/2,0,{start:i,end:o,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":s.borderWidth,fill:s.fillColor||"none",stroke:s.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())},b.prototype.drawPoints=function(){var e=this.chart.renderer;this.points.forEach(function(t){t.graphic&&t.hasNewShapeType()&&(t.graphic=t.graphic.destroy()),t.graphic||(t.graphic=e[t.shapeType](t.shapeArgs).add(t.series.group),t.delayedRendering=!0)})},b.prototype.generatePoints=function(){p.prototype.generatePoints.call(this),this.updateTotals()},b.prototype.getX=function(t,e,i){var o=this.center,s=this.radii?this.radii[i.index]||0:o[2]/2;return t=Math.asin(u((t-o[1])/(s+i.labelDistance),-1,1)),o[0]+(e?-1:1)*Math.cos(t)*(s+i.labelDistance)+(01.5*Math.PI?u-=2*Math.PI:u<-Math.PI/2&&(u+=2*Math.PI),p.slicedTranslation={translateX:Math.round(Math.cos(u)*i),translateY:Math.round(Math.sin(u)*i)},f=Math.cos(u)*t[2]/2,Math.sin(u)*t[2]/2);p.tooltipPos=[t[0]+.7*f,t[1]+.7*g],p.half=u<-Math.PI/2||u>Math.PI/2?1:0,p.angle=u,d=Math.min(o,p.labelDistance/5),p.labelPosition={natural:{x:t[0]+f+Math.cos(u)*p.labelDistance,y:t[1]+g+Math.sin(u)*p.labelDistance},final:{},alignment:p.labelDistance<0?"center":p.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+f+Math.cos(u)*d,y:t[1]+g+Math.sin(u)*d},touchingSliceAt:{x:t[0]+f,y:t[1]+g}}}}y(this,"afterTranslate")},b.prototype.updateTotals=function(){for(var t=this.points,e=t.length,i=this.options.ignoreHiddenPoint,o=0,s=0;se&&(t.dataLabel.css({width:Math.round(.7*e)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))}),s.forEach(function(t,e){var i,o,s,r=t.length,n=[];if(r)for(m.sortByAngle(t,e-.5),0e.bottom-2?o:i,e.half,e)},justify:function(t,e,i){return i[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,i,o){return t=t.getBBox().width,e?t+o:i-t-o},alignToConnectors:function(t,e,i,o){var s,r=0;return t.forEach(function(t){s=t.dataLabel.getBBox().width,r=a.x+a.width||c.x+c.width<=a.x||c.y>=a.y+a.height||c.y+c.height<=a.y||((r.labelrank=r(i.minWidth,0)&&this.chartHeight>=r(i.minHeight,0)}).call(this)&&e.push(t._id)},u.prototype.setResponsive=function(t,e){var i=this,o=this.options.responsive,s=this.currentResponsive,r=[];!e&&o&&o.rules&&o.rules.forEach(function(t){void 0===t._id&&(t._id=d()),i.matchResponsiveRule(t,r)},this),(e=a.apply(void 0,r.map(function(e){return n((o||{}).rules||[],function(t){return t._id===e})}).map(function(t){return t&&t.chartOptions}))).isResponsiveOptions=!0,(r=r.toString()||void 0)!==(s&&s.ruleIds)&&(s&&this.update(s.undoOptions,t,!0),r?((s=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:r,mergedOptions:e,undoOptions:s},this.update(e,t,!0)):this.currentResponsive=void 0)},o=u,e}),t(e,"masters/highcharts.src.js",[e["Core/Globals.js"],e["Core/Utilities.js"],e["Core/Defaults.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/FormatUtilities.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Renderer/HTML/HTMLElement.js"],e["Core/Renderer/HTML/HTMLRenderer.js"],e["Core/Axis/Axis.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Axis/LogarithmicAxis.js"],e["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],e["Core/Axis/Tick.js"],e["Core/Tooltip.js"],e["Core/Series/Point.js"],e["Core/Pointer.js"],e["Core/MSPointer.js"],e["Core/Legend/Legend.js"],e["Core/Chart/Chart.js"],e["Core/Axis/Stacking/StackingAxis.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Series/Column/ColumnSeries.js"],e["Series/Column/ColumnDataLabel.js"],e["Series/Pie/PieSeries.js"],e["Series/Pie/PieDataLabel.js"],e["Core/Series/DataLabel.js"],e["Core/Responsive.js"],e["Core/Color/Color.js"],e["Core/Time.js"]],function(t,e,i,o,s,r,n,a,h,l,c,p,d,u,f,g,m,y,v,x,b,M,C,S,w,k,P,T,A,L,O,j,E,D,I){return t.animate=s.animate,t.animObject=s.animObject,t.getDeferredAnimation=s.getDeferredAnimation,t.setAnimation=s.setAnimation,t.stop=s.stop,t.timers=o.timers,t.AST=r,t.Axis=d,t.Chart=C,t.chart=C.chart,t.Fx=o,t.Legend=M,t.PlotLineOrBand=g,t.Point=v,t.Pointer=b.isRequired()?b:x,t.Series=k,t.StackItem=w,t.SVGElement=h,t.SVGRenderer=l,t.Tick=m,t.Time=I,t.Tooltip=y,t.Color=D,t.color=D.parse,p.compose(l),c.compose(h),t.defaultOptions=i.defaultOptions,t.getOptions=i.getOptions,t.time=i.defaultTime,t.setOptions=i.setOptions,t.dateFormat=n.dateFormat,t.format=n.format,t.numberFormat=n.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=a.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=P.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,A.compose(T),j.compose(k),u.compose(d),f.compose(d),O.compose(L),g.compose(d),E.compose(C),S.compose(d,C,k),t}),t(e,"Core/Axis/Color/ColorAxisComposition.js",[e["Core/Color/Color.js"],e["Core/Utilities.js"]],function(t,e){var i,n,a,o=t.parse,h=e.addEvent,l=e.extend,c=e.merge,p=e.pick,s=e.splat;function d(){var i=this,t=this.options;this.colorAxis=[],t.colorAxis&&(t.colorAxis=s(t.colorAxis),t.colorAxis.forEach(function(t,e){t.index=e,new n(i,t)}))}function u(e){function i(t){-1!==(t=e.allItems.indexOf(t))&&(s.destroyItem(e.allItems[t]),e.allItems.splice(t,1))}var o,t,s=this,r=[];for((this.chart.colorAxis||[]).forEach(function(t){(o=t.options)&&o.showInLegend&&(o.dataClasses&&o.visible?r=r.concat(t.getDataClassLegendSymbols()):o.visible&&r.push(t),t.series.forEach(function(t){t.options.showInLegend&&!o.dataClasses||("point"===t.options.legendType?t.points.forEach(function(t){i(t)}):i(t))}))}),t=r.length;t--;)e.allItems.unshift(r[t])}function f(t){t.visible&&t.item.legendColor&&t.item.legendItem.symbol.attr({fill:t.item.legendColor})}function g(){var t=this.chart.colorAxis;t&&t.forEach(function(t,e,i){t.update({},i)})}function m(){(this.chart.colorAxis&&this.chart.colorAxis.length||this.colorAttribs)&&this.translateColors()}function y(){var t=this.axisTypes;t?-1===t.indexOf("colorAxis")&&t.push("colorAxis"):this.axisTypes=["colorAxis"]}function v(t){var e=this,i=t?"show":"hide";e.visible=e.options.visible=!!t,["graphic","dataLabel"].forEach(function(t){e[t]&&e[t][i]()}),this.series.buildKDTree()}function x(){var i=this,o=this.options.nullColor,s=this.colorAxis,r=this.colorKey;(this.data.length?this.data:this.points).forEach(function(t){var e=t.getNestedProperty(r);(e=t.options.color||(t.isNull||null===t.value?o:s&&void 0!==e?s.toColor(e,t):t.color||i.color))&&t.color!==e&&(t.color=e,"point"===i.options.legendType&&t.legendItem&&t.legendItem.label&&i.chart.legend.colorizeItem(t,t.visible))})}function b(){this.elem.attr("fill",o(this.start).tweenTo(o(this.end),this.pos),void 0,!0)}function M(){this.elem.attr("stroke",o(this.start).tweenTo(o(this.end),this.pos),void 0,!0)}return t=i=i||{},a=[],t.compose=function(t,e,i,o,s){var r;n=n||t,-1===a.indexOf(e)&&(a.push(e),(t=e.prototype).collectionsWithUpdate.push("colorAxis"),t.collectionsWithInit.colorAxis=[t.addColorAxis],h(e,"afterGetAxes",d),r=(t=e).prototype.createAxis,t.prototype.createAxis=function(t,e){if("colorAxis"!==t)return r.apply(this,arguments);var i=new n(this,c(e.axis,{index:this[t].length,isX:!1}));return this.isDirtyLegend=!0,this.axes.forEach(function(t){t.series=[]}),this.series.forEach(function(t){t.bindAxes(),t.isDirtyData=!0}),p(e.redraw,!0)&&this.redraw(e.animation),i}),-1===a.indexOf(i)&&(a.push(i),(e=i.prototype).fillSetter=b,e.strokeSetter=M),-1===a.indexOf(o)&&(a.push(o),h(o,"afterGetAllItems",u),h(o,"afterColorizeItem",f),h(o,"afterUpdate",g)),-1===a.indexOf(s)&&(a.push(s),l(s.prototype,{optionalAxis:"colorAxis",translateColors:x}),l(s.prototype.pointClass.prototype,{setVisible:v}),h(s,"afterTranslate",m,{order:1}),h(s,"bindAxes",y))},t.pointSetVisible=v,i}),t(e,"Core/Axis/Color/ColorAxisDefaults.js",[],function(){return{lineWidth:0,minPadding:0,maxPadding:0,gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50},width:.01,color:"#999999"},labels:{overflow:"justify",rotation:0},minColor:"#e6ebf5",maxColor:"#003399",tickLength:5,showInLegend:!0}}),t(e,"Core/Axis/Color/ColorAxis.js",[e["Core/Axis/Axis.js"],e["Core/Color/Color.js"],e["Core/Axis/Color/ColorAxisComposition.js"],e["Core/Axis/Color/ColorAxisDefaults.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,s,i,o,u,r,n){var a,h,l=this&&this.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),c=e.parse,p=r.series,f=n.extend,d=n.isNumber,g=n.merge,m=n.pick;function y(t,e){var i=h.call(this,t,e)||this;return i.beforePadding=!1,i.chart=void 0,i.coll="colorAxis",i.dataClasses=void 0,i.name="",i.options=void 0,i.stops=void 0,i.visible=!0,i.init(t,e),i}return l(y,h=t),y.compose=function(t,e,i,o){s.compose(y,t,e,i,o)},y.prototype.init=function(t,e){var i=t.options.legend||{},o=e.layout?"vertical"!==e.layout:"vertical"!==i.layout,s=e.visible,i=g(y.defaultColorAxisOptions,e,{showEmpty:!1,title:null,visible:i.enabled&&!1!==s});this.coll="colorAxis",this.side=e.side||o?2:1,this.reversed=e.reversed||!o,this.opposite=!o,h.prototype.init.call(this,t,i),this.userOptions.visible=s,e.dataClasses&&this.initDataClasses(e),this.initStops(),this.horiz=o,this.zoomEnabled=!1},y.prototype.initDataClasses=function(t){var i,o=this.chart,e=this.legendItem=this.legendItem||{},s=t.dataClasses.length,r=this.options,n=0,a=o.options.chart.colorCount;this.dataClasses=i=[],e.labels=[],(t.dataClasses||[]).forEach(function(t,e){t=g(t),i.push(t),!o.styledMode&&t.color||("category"===r.dataClassColor?(o.styledMode||(e=o.options.colors,a=e.length,t.color=e[n]),t.colorIndex=n,++n===a&&(n=0)):t.color=c(r.minColor).tweenTo(c(r.maxColor),s<2?.5:e/(s-1)))})},y.prototype.hasData=function(){return!!(this.tickPositions||[]).length},y.prototype.setTickPositions=function(){if(!this.dataClasses)return h.prototype.setTickPositions.call(this)},y.prototype.initStops=function(){this.stops=this.options.stops||[[0,this.options.minColor],[1,this.options.maxColor]],this.stops.forEach(function(t){t.color=c(t[1])})},y.prototype.setOptions=function(t){h.prototype.setOptions.call(this,t),this.options.crosshair=this.options.marker},y.prototype.setAxisSize=function(){var t,e,i=this.legendItem&&this.legendItem.symbol,o=this.chart,s=o.options.legend||{};i?(this.left=s=i.attr("x"),this.top=t=i.attr("y"),this.width=e=i.attr("width"),this.height=i=i.attr("height"),this.right=o.chartWidth-s-e,this.bottom=o.chartHeight-t-i,this.len=this.horiz?e:i,this.pos=this.horiz?s:t):this.len=(this.horiz?s.symbolWidth:s.symbolHeight)||y.defaultLegendLength},y.prototype.normalizedValue=function(t){return this.logarithmic&&(t=this.logarithmic.log2lin(t)),1-(this.max-t)/(this.max-this.min||1)},y.prototype.toColor=function(t,e){var i,o=this.dataClasses,s=this.stops;if(o)for(i=o.length;i--;){var r=o[i],n=r.from,s=r.to;if((void 0===n||n<=t)&&(void 0===s||t<=s)){var a=r.color;e&&(e.dataClass=i,e.colorIndex=r.colorIndex);break}}else{for(t=this.normalizedValue(t),i=s.length;i--&&!(t>s[i][0]););n=s[i]||s[i+1],t=1-((s=s[i+1]||n)[0]-t)/(s[0]-n[0]||1),a=n.color.tweenTo(s.color,t)}return a},y.prototype.getOffset=function(){var e,t=this.legendItem&&this.legendItem.group,i=this.chart.axisOffset[this.side];t&&(this.axisParent=t,h.prototype.getOffset.call(this),(e=this.chart.legend).allItems.forEach(function(t){t instanceof y&&t.drawLegendSymbol(e,t)}),e.render(),this.chart.getMargins(!0),this.added||(this.added=!0,this.labelLeft=0,this.labelRight=this.width),this.chart.axisOffset[this.side]=i)},y.prototype.setLegendColor=function(){var t=(e=this.reversed)?1:0,e=e?0:1,t=this.horiz?[t,0,e,0]:[0,e,0,t];this.legendColor={linearGradient:{x1:t[0],y1:t[1],x2:t[2],y2:t[3]},stops:this.stops}},y.prototype.drawLegendSymbol=function(t,e){e=e.legendItem||{};var i=t.padding,o=t.options,s=m(o.itemDistance,10),r=this.horiz,n=m(o.symbolWidth,r?y.defaultLegendLength:12),a=m(o.symbolHeight,r?12:y.defaultLegendLength),o=m(o.labelPadding,r?16:30);this.setLegendColor(),e.symbol||(e.symbol=this.chart.renderer.rect(0,t.baseline-11,n,a).attr({zIndex:1}).add(e.group)),e.labelWidth=n+i+(r?s:this.options.labels.x+this.maxLabelLength),e.labelHeight=a+i+(r?o:0)},y.prototype.setState=function(e){this.series.forEach(function(t){t.setState(e)})},y.prototype.setVisible=function(){},y.prototype.getSeriesExtremes=function(){var t,e=this.series,i=e.length;for(this.dataMin=1/0,this.dataMax=-1/0;i--;){var o=e[i],s=o.colorKey=m(o.options.colorKey,o.colorKey,o.pointValKey,o.zoneAxis,"y"),r=o.pointArrayMap,n=o[s+"Min"]&&o[s+"Max"];if(o[s+"Data"])var a=o[s+"Data"];else if(r){var a=[],r=r.indexOf(s),h=o.yData;if(0<=r&&h)for(t=0;t "),void 0!==e&&(a+=s(e,p)+d),void 0!==e&&void 0!==i&&(a+=" - "),void 0!==i&&(a+=s(i,p)+d),c.push(f({chart:l,name:a,options:{},drawLegendSymbol:u.drawRectangle,visible:!0,isDataClass:!0,setState:function(t){for(var e=0,i=n(o);e=i.x+i.width||t.x+t.width<=i.x||t.y>=i.y+i.height||t.y+t.height<=i.y||(e=-t.y-t.height+i.y-5,i=i.y+i.height-t.y+5,n.navButtonsGroup.attr({translateY:"bottom"===(h.buttonOptions&&h.buttonOptions.verticalAlign)?e:i}))},a.hasLoaded||p(a,"render",t)),this.updateEvents(h)},o.prototype.updateEvents=function(t){var e=this.chart;g(t.enableDoubleClickZoom,t.enabled)||t.enableDoubleClickZoomTo?this.unbindDblClick=this.unbindDblClick||p(e.container,"dblclick",function(t){e.pointer.onContainerDblClick(t)}):this.unbindDblClick&&(this.unbindDblClick=this.unbindDblClick()),g(t.enableMouseWheelZoom,t.enabled)?this.unbindMouseWheel=this.unbindMouseWheel||p(e.container,void 0!==s.onwheel?"wheel":void 0!==s.onmousewheel?"mousewheel":"DOMMouseScroll",function(t){return e.pointer.inClass(t.target,"highcharts-no-mousewheel")||(e.pointer.onContainerMouseWheel(t),c(t)),!1}):this.unbindMouseWheel&&(this.unbindMouseWheel=this.unbindMouseWheel())},d(t.prototype,{fitToBox:function(i,o){return[["x","width"],["y","height"]].forEach(function(t){var e=t[0];t=t[1],i[e]+i[t]>o[e]+o[t]&&(i[t]>o[t]?(i[t]=o[t],i[e]=o[e]):i[e]=o[e]+o[t]-i[t]),i[t]>o[t]&&(i[t]=o[t]),i[e]o.scaleY,this.pinchTranslateDirection(!t,e,i,o,s,r,n,t?o.scaleX:o.scaleY))})}),t(e,"Series/ColorMapComposition.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e){var i,o,t=t.seriesTypes.column.prototype,s=e.addEvent,r=e.defined;function n(t){this.moveToTopOnHover&&this.graphic&&this.graphic.attr({zIndex:t&&"hover"===t.state?1:0})}return e=i=i||{},o=[],e.pointMembers={dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return null!==this.value&&1/0!==this.value&&-1/0!==this.value&&(void 0===this.value||!isNaN(this.value))}},e.seriesMembers={colorKey:"value",axisTypes:["xAxis","yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"],colorAttribs:function(t){var e={};return!r(t.color)||t.state&&"normal"!==t.state||(e[this.colorProp||"fill"]=t.color),e},pointAttribs:t.pointAttribs},e.compose=function(t){var e=t.prototype.pointClass;return-1===o.indexOf(e)&&(o.push(e),s(e,"afterSetState",n)),t},i}),t(e,"Maps/MapSymbols.js",[e["Core/Renderer/SVG/SVGRenderer.js"]],function(t){function r(t,e,i,o,s,r,n,a){return[["M",t+s,e],["L",t+i-r,e],["C",t+i-r/2,e,t+i,e+r/2,t+i,e+r],["L",t+i,e+o-n],["C",t+i,e+o-n/2,t+i-n/2,e+o,t+i-n,e+o],["L",t+a,e+o],["C",t+a/2,e+o,t,e+o-a/2,t,e+o-a],["L",t,e+s],["C",t,e+s/2,t+s/2,e,t+s,e],["Z"]]}return(t=t.prototype.symbols).bottombutton=function(t,e,i,o,s){return r(t-1,e-1,i,o,0,0,s=s&&s.r||0,s)},t.topbutton=function(t,e,i,o,s){return r(t-1,e-1,i,o,s=s&&s.r||0,s,0,0)},t}),t(e,"Core/Chart/MapChart.js",[e["Core/Chart/Chart.js"],e["Core/Defaults.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(t,e,i,o){var s,r,n,a=this&&this.__extends||(s=function(t,e){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),h=e.getOptions,l=o.merge,c=o.pick;function p(){return null!==r&&r.apply(this,arguments)||this}return a(p,r=t),p.prototype.init=function(t,e){var i=h().credits;t=l({chart:{panning:{enabled:!0,type:"xy"},type:"map"},credits:{mapText:c(i.mapText,' © {geojson.copyrightShort}'),mapTextFull:c(i.mapTextFull,"{geojson.copyright}")},mapView:{},tooltip:{followTouchMove:!1}},t),r.prototype.init.call(this,t,e)},(n=t=(t=p)||{}).maps={},n.mapChart=function(t,e,i){return new n(t,e,i)},n.splitPath=function(t){return"string"==typeof t&&(t=(t=t.replace(/([A-Za-z])/g," $1 ").replace(/^\s*/,"").replace(/\s*$/,"")).split(/[ ,;]+/).map(function(t){return/[A-za-z]/.test(t)?t:parseFloat(t)})),i.prototype.pathToSegments(t)},t}),t(e,"Maps/MapUtilities.js",[],function(){return{boundsFromPath:function(t){var i,o=-Number.MAX_VALUE,s=Number.MAX_VALUE,r=-Number.MAX_VALUE,n=Number.MAX_VALUE;if(t.forEach(function(t){var e=t[t.length-2];t=t[t.length-1],"number"==typeof e&&"number"==typeof t&&(s=Math.min(s,e),o=Math.max(o,e),n=Math.min(n,t),r=Math.max(r,t),i=!0)}),i)return{x1:s,y1:n,x2:o,y2:r}},pointInPolygon:function(t,e){var i,o=!1,s=t.x,r=t.y;for(t=0,i=e.length-1;tr!=e[i][1]>r&&s<(e[i][0]-e[t][0])*(r-e[t][1])/(e[i][1]-e[t][1])+e[t][0]&&(o=!o);return o}}}),t(e,"Series/Map/MapPoint.js",[e["Series/ColorMapComposition.js"],e["Maps/MapUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i,o){var s,r,n=this&&this.__extends||(s=function(t,e){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),a=e.boundsFromPath,h=o.extend,l=o.isNumber,c=o.pick;function p(){var t=null!==r&&r.apply(this,arguments)||this;return t.options=void 0,t.path=void 0,t.series=void 0,t}return r=i.seriesTypes.scatter.prototype.pointClass,n(p,r),p.getProjectedPath=function(t,e){return t.projectedPath||(e&&t.geometry?(e.hasCoordinates=!0,t.projectedPath=e.path(t.geometry)):t.projectedPath=t.path),t.projectedPath||[]},p.prototype.applyOptions=function(t,e){var i=this.series;return t=r.prototype.applyOptions.call(this,t,e),e=i.joinBy,i.mapData&&i.mapMap&&((e=void 0!==(e=r.prototype.getNestedProperty.call(t,e[1]))&&i.mapMap[e])?h(t,e):-1!==i.pointArrayMap.indexOf("value")&&(t.value=t.value||null)),t},p.prototype.getProjectedBounds=function(t){t=p.getProjectedPath(this,t),t=a(t);var e,i=this.properties;if(t)return e=i&&i["hc-middle-x"],i=i&&i["hc-middle-y"],t.midX=t.x1+(t.x2-t.x1)*c(this.middleX,l(e)?e:.5),e=c(this.middleY,l(i)?i:.5),this.geometry||(e=1-e),t.midY=t.y2-(t.y2-t.y1)*e,t},p.prototype.onMouseOver=function(t){o.clearTimeout(this.colorInterval),!this.isNull&&this.visible||this.series.options.nullInteraction?r.prototype.onMouseOver.call(this,t):this.series.onMouseOut(t)},p.prototype.setVisible=function(t){var e=t?"show":"hide";this.visible=this.options.visible=!!t,this.dataLabel&&this.dataLabel[e](),this.graphic&&this.graphic.attr(this.series.pointAttribs(this))},p.prototype.zoomTo=function(){var t,e,i=this.series.chart,o=i.mapView,s=this.bounds;o&&s&&((t=l(this.insetIndex)&&o.insets[this.insetIndex])&&(e=t.projectedUnitsToPixels({x:s.x1,y:s.y1}),s=t.projectedUnitsToPixels({x:s.x2,y:s.y2}),e=o.pixelsToProjectedUnits({x:e.x,y:e.y}),s=o.pixelsToProjectedUnits({x:s.x,y:s.y}),s={x1:e.x,y1:e.y,x2:s.x,y2:s.y}),o.fitToBounds(s,void 0,!1),this.series.isDirty=!0,i.redraw())},h((e=p).prototype,{dataLabelOnNull:t.pointMembers.dataLabelOnNull,moveToTopOnHover:t.pointMembers.moveToTopOnHover,isValid:t.pointMembers.isValid}),e}),t(e,"Maps/MapViewOptionsDefault.js",[],function(){return{center:[0,0],fitToGeometry:void 0,maxZoom:void 0,padding:0,projection:{name:void 0,parallels:void 0,rotation:void 0},zoom:void 0}}),t(e,"Maps/MapViewInsetsOptionsDefault.js",[],function(){return{borderColor:"#cccccc",borderWidth:1,center:[0,0],padding:"10%",relativeTo:"mapBoundingBox",units:"percent"}}),t(e,"Extensions/GeoJSON.js",[e["Core/Chart/Chart.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,i,o){function s(t,e){if(e=e||Object.keys(t.objects)[0],(e=t.objects[e])["hc-decoded-geojson"])return e["hc-decoded-geojson"];function i(t){return"number"==typeof t[0]?t.reduce(function(t,e,i){var o=e<0?r[~e]:r[e];return e<0?(o=o.slice(0,0===i?o.length:o.length-1)).reverse():i&&(o=o.slice(1)),t.concat(o)},[]):t.map(i)}var o,s,r=t.arcs,n=(t.transform&&(n=t.transform,o=n.scale,s=n.translate,r=t.arcs.map(function(t){var e=0,i=0;return t.map(function(t){return(t=t.slice())[0]=(e+=t[0])*o[0]+s[0],t[1]=(i+=t[1])*o[1]+s[1],t})})),e.geometries.map(function(t){return{type:"Feature",properties:t.properties,geometry:{type:t.type,coordinates:t.coordinates||i(t.arcs)}}}));return t={type:"FeatureCollection",copyright:t.copyright,copyrightShort:t.copyrightShort,copyrightUrl:t.copyrightUrl,features:n,"hc-recommended-mapview":e["hc-recommended-mapview"],bbox:t.bbox,title:t.title},e["hc-decoded-geojson"]=t}function r(t,r,e){void 0===r&&(r="map");var n=[];return(t="Topology"===t.type?s(t):t).features.forEach(function(t){var e,i,o=t.geometry||{},s=o.type;o=o.coordinates,t=t.properties,("map"!==r&&"mapbubble"!==r||"Polygon"!==s&&"MultiPolygon"!==s)&&("mapline"!==r||"LineString"!==s&&"MultiLineString"!==s)?"mappoint"===r&&"Point"===s&&o.length&&(e={geometry:{coordinates:o,type:s}}):o.length&&(e={geometry:{coordinates:o,type:s}}),e&&(s=t&&(t.name||t.NAME),o=t&&t.lon,i=t&&t.lat,n.push(h(e,{lat:"number"==typeof i?i:void 0,lon:"number"==typeof o?o:void 0,name:"string"==typeof s?s:void 0,properties:t})))}),e&&t.copyrightShort&&(e.chart.mapCredits=a(e.chart.options.credits.mapText,{geojson:t}),e.chart.mapCreditsFull=a(e.chart.options.credits.mapTextFull,{geojson:t})),n}var a=e.format,d=i.win,u=o.error,h=o.extend,n=o.merge;return e=o.wrap,t.prototype.transformFromLatLon=function(t,e){var i,o,s,r,n,a,h,l,c,p=this.options.chart.proj4||d.proj4;if(p)return i=void 0===(i=e.jsonmarginX)?0:i,o=void 0===(o=e.jsonmarginY)?0:o,s=void 0===(s=e.jsonres)?1:s,r=void 0===(r=e.scale)?1:r,n=void 0===(n=e.xoffset)?0:n,a=void 0===(a=e.xpan)?0:a,h=void 0===(h=e.yoffset)?0:h,l=void 0===(l=e.ypan)?0:l,t=p(e.crs,[t.lon,t.lat]),p=e.cosAngle||e.rotation&&Math.cos(e.rotation),c=e.sinAngle||e.rotation&&Math.sin(e.rotation),{x:(((e=e.rotation?[t[0]*p+t[1]*c,-t[0]*c+t[1]*p]:t)[0]-n)*r+a)*s+i,y:-(((h-e[1])*r+l)*s-o)};u(21,!1,this)},t.prototype.transformToLatLon=function(t,e){var i,o,s,r,n,a,h,l,c=this.options.chart.proj4||d.proj4;if(c){if(null!==t.y)return i=e.jsonmarginX,o=e.jsonmarginY,s=void 0===(s=e.jsonres)?1:s,r=void 0===(r=e.scale)?1:r,n=e.xoffset,a=e.xpan,h=e.yoffset,l=e.ypan,t={x:((t.x-(void 0===i?0:i))/s-(void 0===a?0:a))/r+(void 0===n?0:n),y:((t.y-(void 0===o?0:o))/s+(void 0===l?0:l))/r+(void 0===h?0:h)},i=e.cosAngle||e.rotation&&Math.cos(e.rotation),o=e.sinAngle||e.rotation&&Math.sin(e.rotation),{lat:(e=c(e.crs,"WGS84",e.rotation?{x:t.x*i+t.y*-o,y:t.x*o+t.y*i}:t)).y,lon:e.x}}else u(21,!1,this)},t.prototype.fromPointToLatLon=function(t){return this.mapView&&this.mapView.projectedUnitsToLonLat(t)},t.prototype.fromLatLonToPoint=function(t){return this.mapView&&this.mapView.lonLatToProjectedUnits(t)},e(t.prototype,"addCredits",function(t,e){e=n(!0,this.options.credits,e),this.mapCredits&&(e.href=null),t.call(this,e),this.credits&&this.mapCreditsFull&&this.credits.attr({title:this.mapCreditsFull})}),{geojson:i.geojson=r,topo2geo:i.topo2geo=s}}),t(e,"Core/Geometry/PolygonClip.js",[],function(){function c(t,e,i){return(e[0]-t[0])*(i[1]-t[1])>(e[1]-t[1])*(i[0]-t[0])}function p(t,e,i,o){var s=[t[0]-e[0],t[1]-e[1]],r=[i[0]-o[0],i[1]-o[1]];return t=t[0]*e[1]-t[1]*e[0],i=i[0]*o[1]-i[1]*o[0],o=1/(s[0]*r[1]-s[1]*r[0]),(s=[(t*r[0]-i*s[0])*o,(t*r[1]-i*s[1])*o]).isIntersection=!0,s}var t,o;return(o=t=t||{}).clipLineString=function(t,e){var i=[];for(t=o.clipPolygon(t,e,!1),e=1;es.x2||es.y2)&&(i.outside=!0),i},t.prototype.inverse=function(t){var e=t[0]/63.78137,i=this.c,o=this.n,s=(t=i-t[1]/63.78137,n(o)*Math.sqrt(e*e+t*t)),r=Math.atan2(e,Math.abs(t))*n(t);return t*o<0&&(r-=Math.PI*n(e)*n(t)),[r/o/a,(2*Math.atan(Math.pow(i/s,1/o))-h)/a]},t;function t(t){var e=(i=(t.parallels||[]).map(function(t){return t*a}))[0]||0,i=null!=(o=i[1])?o:e,o=Math.cos(e);"object"==typeof t.projectedBounds&&(this.projectedBounds=t.projectedBounds),t=e===i?Math.sin(e):Math.log(o/Math.cos(i))/Math.log(Math.tan((h+i)/2)/Math.tan((h+e)/2)),Math.abs(t)<1e-10&&(t=1e-10*(n(t)||1)),this.n=t,this.c=o*Math.pow(Math.tan((h+e)/2),t)/t}}),t(e,"Maps/Projections/EqualEarth.js",[],function(){var h=Math.sqrt(3)/2;return t.prototype.forward=function(t){var e=Math.PI/180,i=Math.asin(h*Math.sin(t[1]*e)),o=i*i,s=o*o*o;return[t[0]*e*Math.cos(i)*74.03120656864502/(h*(1.340264+3*-.081106*o+s*(7*893e-6+.034164*o))),74.03120656864502*i*(1.340264+-.081106*o+s*(893e-6+.003796*o))]},t.prototype.inverse=function(t){for(var e=t[0]/74.03120656864502,i=(t=t[1]/74.03120656864502,180/Math.PI),o=t,s=0;s<12;++s){var r=o*o,n=r*r*r,a=o*(1.340264+-.081106*r+n*(893e-6+.003796*r))-t;if(o-=a/=r=1.340264+3*-.081106*r+n*(7*893e-6+.034164*r),Math.abs(a)<1e-9)break}return[i*h*e*(1.340264+3*-.081106*(r=o*o)+r*r*r*(7*893e-6+.034164*r))/Math.cos(o),i*Math.asin(Math.sin(o)/h)]},t;function t(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,y1:-97.52595454902263,y2:97.52595454902263}}}),t(e,"Maps/Projections/Miller.js",[],function(){var e=Math.PI/4,i=Math.PI/180;return t.prototype.forward=function(t){return[t[0]*i*63.78137,79.7267125*Math.log(Math.tan(e+.4*t[1]*i))]},t.prototype.inverse=function(t){return[t[0]/63.78137/i,2.5*(Math.atan(Math.exp(t[1]/63.78137*.8))-e)/i]},t;function t(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,y1:-146.91480769173063,y2:146.91480769173063}}}),t(e,"Maps/Projections/Orthographic.js",[],function(){var r=Math.PI/180;return t.prototype.forward=function(t){var e=t[0];return t=t[1]*r,t=[Math.cos(t)*Math.sin(e*r)*63.78460826781007,63.78460826781007*Math.sin(t)],(e<-90||90=i!=t[e]>=i)return o=o[s]+(i-o[e])/(t[e]-o[e])*(t[s]-o[s]),e?[o,i]:[i,o]}var i=this.bounds||{},o=i.x2,s=i.y1,r=i.y2,n=t[0];return((i=e(t,0,i.x1))||(i=e(t,0,o)))&&(n=i,t[1]=i),n=(i=e(t,1,s))||(i=e(t,1,r))?i:n},M.prototype.getRotator=function(t){var s=t[0]*v,e=(t[1]||0)*v,r=(t=(t[2]||0)*v,Math.cos(e)),n=Math.sin(e),a=Math.cos(t),h=Math.sin(t);if(0!=s||0!=e||0!==t)return{forward:function(t){var e=t[0]*v+s,i=t[1]*v,o=Math.cos(i);return t=Math.cos(e)*o,e=Math.sin(e)*o,o=(i=Math.sin(i))*r+t*n,[Math.atan2(e*a-o*h,t*r-i*n)/v,Math.asin(o*a+e*h)/v]},inverse:function(t){var e=t[0]*v,i=t[1]*v,o=Math.cos(i);return t=Math.cos(e)*o,e=Math.sin(e)*o,o=(i=Math.sin(i))*a-e*h,[(Math.atan2(e*a+i*h,t*r+o*n)-s)/v,Math.asin(o*r-t*n)/v]}}},M.prototype.forward=function(t){return t},M.prototype.inverse=function(t){return t},M.prototype.cutOnAntimeridian=function(r,n){var t,a=[],e=[r];if(r.forEach(function(t,e){var i=r[e-1];if(!e){if(!n)return;i=r[r.length-1]}var o=i[0],s=t[0];(o<-90||90=e.x1&&t.x<=e.x2&&t.y>=e.y1&&t.y<=e.y2&&i&&g(t,i))},A.prototype.render=function(){var t,s,r,n=this.chart,e=this.mapView,a=this.options,i=a.borderPath||a.field;i&&e.group&&(t=!0,this.border||(this.border=n.renderer.path().addClass("highcharts-mapview-inset-border").add(e.group),t=!1),n.styledMode||this.border.attr({stroke:a.borderColor,"stroke-width":a.borderWidth}),s=Math.round(this.border.strokeWidth())%2/2,r="mapBoundingBox"===a.relativeTo&&e.getMapBBox()||e.playingField,e=(i.coordinates||[]).reduce(function(t,e){return e.reduce(function(t,e,i){var o=e[0];return e=e[1],"percent"===a.units&&(o=n.plotLeft+k(o+"%",r.width,r.x),e=n.plotTop+k(e+"%",r.height,r.y)),o=Math.floor(o)+s,e=Math.floor(e)+s,t.push(0===i?["M",o,e]:["L",o,e]),t},t)},[]),this.border[t?"animate":"attr"]({d:e}))},A.prototype.destroy=function(){this.border&&(this.border=this.border.destroy()),this.eventsToUnbind.forEach(function(t){return t()})},A.prototype.setUpEvents=function(){},A);function A(t,e){var i=n.call(this,t.chart,e)||this;return i.id=e.id,i.mapView=t,i.options=S(o,e),i.allBounds=[],i.options.geoBounds&&(t=t.projection.path(i.options.geoBounds),i.geoBoundsProjectedBox=f(t),i.geoBoundsProjectedPolygon=t.map(function(t){return[t[1]||0,t[2]||0]})),i}function L(t,e){var i,o,s,r,n,a,h,l=this;this.insets=[],this.padding=[0,0,0,0],this.eventsToUnbind=[],this instanceof T||(o=u([t.options.chart.map],(t.options.series||[]).map(function(t){return t.mapData}),!0).map(function(t){return l.getGeoMap(t)}),s=[],o.forEach(function(t){t&&(i=i||t["hc-recommended-mapview"],t.bbox&&(t=t.bbox,s.push({x1:t[0],y1:t[1],x2:t[2],y2:t[3]})))}),(a=s.length&&L.compositeBounds(s))&&(h=a.x1,r=a.y1,n=a.x2,a=a.y2,h=180h.length&&"string"==typeof t[0]&&(u[e]["hc-key"]=t[0],++i);for(var o=0;o"},turboThreshold:0,allAreas:!0,borderColor:"#cccccc",borderWidth:1,joinBy:"hc-key",states:{hover:{halo:null,brightness:.2},normal:{animation:!0},select:{color:"#cccccc"}}}),s((a=O).prototype,{type:"map",axisTypes:e.seriesMembers.axisTypes,colorAttribs:e.seriesMembers.colorAttribs,colorKey:e.seriesMembers.colorKey,directTouch:!0,drawDataLabels:t,drawGraph:t,drawLegendSymbol:o.drawRectangle,forceDL:!0,getCenter:i.getCenter,getExtremesFromAll:!0,getSymbol:t,isCartesian:!1,parallelArrays:e.seriesMembers.parallelArrays,pointArrayMap:e.seriesMembers.pointArrayMap,pointClass:g,preserveAspectRatio:!0,searchPoint:t,trackerGroups:e.seriesMembers.trackerGroups,useMapGeometry:!0}),e.compose(a),n.registerSeriesType("map",a),a}),t(e,"Series/MapLine/MapLineSeries.js",[e["Series/Map/MapSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(i,t,e){var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),n=t.series,a=e.extend,h=e.merge;function l(){var t=null!==s&&s.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(l,s=i),l.prototype.pointAttribs=function(t,e){return(t=i.prototype.pointAttribs.call(this,t,e)).fill=this.options.fillColor,t},l.defaultOptions=h(i.defaultOptions,{lineWidth:1,fillColor:"none"}),a((e=l).prototype,{type:"mapline",colorProp:"stroke",drawLegendSymbol:n.prototype.drawLegendSymbol,pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"}}),t.registerSeriesType("mapline",e),e}),t(e,"Series/MapPoint/MapPointPoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e){var o,i,s=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=e.isNumber;return i=t.seriesTypes.scatter.prototype.pointClass,s(n,i),n.prototype.isValid=function(){return!!(this.options.geometry||r(this.x)&&r(this.y)||r(this.options.lon)&&r(this.options.lat))},n;function n(){var t=null!==i&&i.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}}),t(e,"Series/MapPoint/MapPointSeries.js",[e["Core/Globals.js"],e["Series/MapPoint/MapPointPoint.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(t,e,i,o,s){var r,n=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});t=t.noop;var a,h=(c=i.seriesTypes).map,l=c.scatter,c=s.extend,p=s.fireEvent,d=s.isNumber,u=s.merge;function f(){var t=null!==a&&a.apply(this,arguments)||this;return t.chart=void 0,t.data=void 0,t.options=void 0,t.points=void 0,t.clearBounds=h.prototype.clearBounds,t}return n(f,a=l),f.prototype.drawDataLabels=function(){a.prototype.drawDataLabels.call(this),this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)},f.prototype.projectPoint=function(t){var e=this.chart.mapView;if(e){var i=t.geometry,o=t.lon;if(t=t.lat,i=i&&"Point"===i.type&&i.coordinates,i=d(o)&&d(t)?[o,t]:i)return e.lonLatToProjectedUnits({lon:i[0],lat:i[1]})}},f.prototype.translate=function(){var n,a,h=this,l=this.chart.mapView;this.processedXData||this.processData(),this.generatePoints(),this.getProjectedBounds&&this.isDirtyData&&(delete this.bounds,this.getProjectedBounds()),l&&(n=l.getSVGTransform(),a=l.projection.hasCoordinates,this.points.forEach(function(t){var e,i=void 0===(i=t.x)?void 0:i,o=void 0===(o=t.y)?void 0:o,s=d(t.insetIndex)&&l.insets[t.insetIndex].getSVGTransform()||n,r=h.projectPoint(t.options)||t.properties&&h.projectPoint(t.properties);r?(i=r.x,o=r.y):t.bounds&&(i=t.bounds.midX,o=t.bounds.midY,s&&d(i)&&d(o))&&(t.plotX=i*s.scaleX+s.translateX,t.plotY=o*s.scaleY+s.translateY,e=!0),d(i)&&d(o)?e||(e=l.projectedUnitsToPixels({x:i,y:o}),t.plotX=e.x,t.plotY=a?e.y:h.chart.plotHeight-e.y):t.y=t.plotX=t.plotY=void 0,t.isInside=h.isPointInside(t),t.zone=h.zones.length?t.getZone():void 0})),p(this,"afterTranslate")},f.defaultOptions=u(l.defaultOptions,{dataLabels:{crop:!1,defer:!1,enabled:!0,formatter:function(){return this.point.name},overflow:!1,style:{color:"#000000"}}}),s=f,o.prototype.symbols.mapmarker=function(t,e,i,o,s){var r=s&&"legend"===s.context;return r?(t+=i/2,s=e+o):s&&"number"==typeof s.anchorX&&"number"==typeof s.anchorY?(t=s.anchorX,s=s.anchorY):(t+=i/2,s=e+o/2,e-=o),[["M",t,s],["C",t,s,t-(o=r?o/3:o/2),e+1.5*o,t-o,e+o],["A",o,o,1,1,1,t+o,e+o],["C",t+o,e+1.5*o,t,s,t,s],["Z"]]},c(s.prototype,{type:"mappoint",axisTypes:["colorAxis"],forceDL:!0,isCartesian:!1,pointClass:e,searchPoint:t,useMapGeometry:!0}),i.registerSeriesType("mappoint",s),s}),t(e,"Series/Bubble/BubbleLegendDefaults.js",[],function(){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"10px",color:"#000000"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}}),t(e,"Series/Bubble/BubbleLegendItem.js",[e["Core/Color/Color.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,s,e,i){var p=t.parse,o=e.noop,n=i.arrayMax,a=i.arrayMin,h=i.isNumber,d=i.merge,u=i.pick,l=i.stableSort;function r(t,e){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legend=this.fontMetrics=this.chart=void 0,this.setState=o,this.init(t,e)}return r.prototype.init=function(t,e){this.options=t,this.visible=!0,this.chart=e.chart,this.legend=e},r.prototype.addToLegend=function(t){t.splice(this.options.legendIndex,0,this)},r.prototype.drawLegendSymbol=function(t){var e=this.chart,i=u(t.options.itemDistance,20),o=this.legendItem||{},s=this.options,r=s.ranges,n=s.connectorDistance;this.fontMetrics=e.renderer.fontMetrics(s.labels.style.fontSize),r&&r.length&&h(r[0].value)?(l(r,function(t,e){return e.value-t.value}),this.ranges=r,this.setOptions(),this.render(),t=this.getMaxLabelSize(),e=2*(r=this.ranges[0].radius),n=0<(n=n-r+t.width)?n:0,this.maxLabel=t,this.movementX="left"===s.labels.align?n:0,o.labelWidth=e+n+i,o.labelHeight=e+this.fontMetrics.h/2):t.options.bubbleLegend.autoRanges=!0},r.prototype.setOptions=function(){var i=this.ranges,o=this.options,s=this.chart.series[o.seriesIndex],r=this.legend.baseline,n={zIndex:o.zIndex,"stroke-width":o.borderWidth},a={zIndex:o.zIndex,"stroke-width":o.connectorWidth},h={align:this.legend.options.rtl||"left"===o.labels.align?"right":"left",zIndex:o.zIndex},l=s.options.marker.fillOpacity,c=this.chart.styledMode;i.forEach(function(t,e){c||(n.stroke=u(t.borderColor,o.borderColor,s.color),n.fill=u(t.color,o.color,1!==l?p(s.color).setOpacity(l).get("rgba"):s.color),a.stroke=u(t.connectorColor,o.connectorColor,s.color)),i[e].radius=this.getRangeRadius(t.value),i[e]=d(i[e],{center:i[0].radius-i[e].radius+r}),c||d(!0,i[e],{bubbleAttribs:d(n),connectorAttribs:d(a),labelAttribs:h})},this)},r.prototype.getRangeRadius=function(t){var e=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,e.ranges[e.ranges.length-1].value,e.ranges[0].value,e.minSize,e.maxSize,t)},r.prototype.render=function(){var t=this.legendItem||{},e=this.chart.renderer,i=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),t.symbol=e.g("bubble-legend"),t.label=e.g("bubble-legend-item"),t.symbol.translateX=0;for(var e=t.symbol.translateY=0,o=this.ranges;e=i&&this.renderRange(s)}t.symbol.add(t.label),t.label.add(t.group),this.hideOverlappingLabels()},r.prototype.renderRange=function(t){var e=this.options,i=e.labels,o=(n=this.chart).series[e.seriesIndex],s=n.renderer,r=this.symbols,n=r.labels,a=t.center,h=Math.abs(t.radius),l=e.connectorDistance||0,c=i.align,p=e.connectorWidth,d=this.ranges[0].radius||0,u=a-h-e.borderWidth/2+p/2,f=(f=this.fontMetrics).f/2-(f.h-f.f)/2,g=s.styledMode,l=this.legend.options.rtl||"left"===c?-l:l,c=("center"===c&&(e.connectorDistance=l=0,t.labelAttribs.align="center"),u+e.labels.y),m=d+l+e.labels.x;r.bubbleItems.push(s.circle(d,a+((u%1?1:.5)-(p%2?0:.5)),h).attr(g?{}:t.bubbleAttribs).addClass((g?"highcharts-color-"+o.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(e.className||"")).add(this.legendItem.symbol)),r.connectors.push(s.path(s.crispLine([["M",d,u],["L",d+l,u]],e.connectorWidth)).attr(g?{}:t.connectorAttribs).addClass((g?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(e.connectorClassName||"")).add(this.legendItem.symbol)),t=s.text(this.formatLabel(t),m,c+f).attr(g?{}:t.labelAttribs).css(g?{}:i.style).addClass("highcharts-bubble-legend-labels "+(e.labels.className||"")).add(this.legendItem.symbol),n.push(t),t.placed=!0,t.alignAttr={x:m,y:c+f}},r.prototype.getMaxLabelSize=function(){var e,i;return this.symbols.labels.forEach(function(t){i=t.getBBox(!0),e=!e||i.width>e.width?i:e}),e||{}},r.prototype.formatLabel=function(t){var e=(i=this.options).labels.formatter,i=i.labels.format,o=this.chart.numberFormatter;return i?s.format(i,t):e?e.call(t):o(t.value,1)},r.prototype.hideOverlappingLabels=function(){var t=this.chart,i=this.symbols;!this.options.labels.allowOverlap&&i&&(t.hideOverlappingLabels(i.labels),i.labels.forEach(function(t,e){t.newOpacity?t.newOpacity!==t.oldOpacity&&i.connectors[e].show():i.connectors[e].hide()}))},r.prototype.getRanges=function(){var e,t=this.legend.bubbleLegend,i=t.options.ranges,o=Number.MAX_VALUE,s=-Number.MAX_VALUE,r=(t.chart.series.forEach(function(t){t.isBubble&&!t.ignoreSeries&&((e=t.zData.filter(h)).length&&(o=u(t.options.zMin,Math.min(o,Math.max(a(e),!1===t.options.displayNegative?t.options.zThreshold:-Number.MAX_VALUE))),s=u(t.options.zMax,Math.max(s,n(e)))))}),o===s?[{value:s}]:[{value:o},{value:(o+s)/2},{value:s,autoRanges:!0}]);return i.length&&i[0].radius&&r.reverse(),r.forEach(function(t,e){i&&i[e]&&(r[e]=d(i[e],t))}),r},r.prototype.predictBubbleSizes=function(){var t=this.chart,e=this.fontMetrics,i=t.legend.options,o=i.floating,s=(i="horizontal"===i.layout)?t.legend.lastLineHeight:0,r=t.plotSizeX,n=t.plotSizeY,a=(l=t.series[this.options.seriesIndex]).getPxExtremes(),t=Math.ceil(a.minPxSize),a=Math.ceil(a.maxPxSize),h=Math.min(n,r),l=l.options.maxSize;return o||!/%$/.test(l)?e=a:(l=parseFloat(l),e=(h+s-e.h/2)*l/100/(l/100+1),(i&&r<=n-e||!i&&n<=r-e)&&(e=a)),[t,Math.ceil(e)]},r.prototype.updateRanges=function(t,e){var i=this.legend.options.bubbleLegend;i.minSize=t,i.maxSize=e,i.ranges=this.getRanges()},r.prototype.correctSizes=function(){var t=this.legend,e=this.chart.series[this.options.seriesIndex].getPxExtremes();1r.height&&(r.height=t[o].itemHeight);r.step=s}}return e}function n(t){var e=this.bubbleLegend,i=this.options,o=i.bubbleLegend,s=a(this.chart);e&&e.ranges&&e.ranges.length&&(o.ranges.length&&(o.autoRanges=!!o.ranges[0].autoRanges),this.destroyItem(e)),0<=s&&i.enabled&&o.enabled&&(o.seriesIndex=s,this.bubbleLegend=new r(o,this),this.bubbleLegend.addToLegend(t.allItems))}function l(){var t=this.chart,e=this.visible,i=this.chart.legend;i&&i.bubbleLegend&&(this.visible=!e,this.ignoreSeries=e,t=0<=a(t),i.bubbleLegend.visible!==t&&(i.update({bubbleLegend:{enabled:t}}),i.bubbleLegend.visible=t),this.visible=e)}function c(t,i){var o,s,r,n,a=t.options.rtl,h=0;t.allItems.forEach(function(t,e){(n=t.legendItem||{}).group&&(o=n.group.translateX||0,s=n.y||0,((r=t.movementX)||a&&t.ranges)&&(r=a?o-t.options.maxSize/2:o+r,n.group.attr({translateX:r})),e>i[h].step&&h++,n.group.attr({translateY:Math.round(s+i[h].height/2)}),n.y=s+i[h].height/2)})}var p=t.setOptions,d=e.addEvent,u=e.objectEach,f=e.wrap,g=[];return{compose:function(t,e,i){-1===g.indexOf(t)&&(g.push(t),p({legend:{bubbleLegend:o}}),f(t.prototype,"drawChartBox",s)),-1===g.indexOf(e)&&(g.push(e),d(e,"afterGetAllItems",n)),-1===g.indexOf(i)&&(g.push(i),d(i,"legendItemClick",l))}}}),t(e,"Series/Bubble/BubblePoint.js",[e["Core/Series/Point.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,t,i){var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});function n(){var t=null!==s&&s.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return i=i.extend,s=t.seriesTypes.scatter.prototype.pointClass,r(n,s),n.prototype.haloPath=function(t){return e.prototype.haloPath.call(this,0===t?0:(this.marker&&this.marker.radius||0)+t)},i((t=n).prototype,{ttBelow:!1}),t}),t(e,"Series/Bubble/BubbleSeries.js",[e["Series/Bubble/BubbleLegendComposition.js"],e["Series/Bubble/BubblePoint.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(s,t,e,i,o,r){function n(){var s,r=this,t=this.len,n=this.chart,a=this.isXAxis,h=a?"xData":"yData",l=this.min,c=this.max-l,p=0,d=t,u=t/c;this.series.forEach(function(t){if(t.bubblePadding&&(t.visible||!n.options.chart.ignoreHiddenSeries)){s=r.allowZoomOutside=!0;var e,i=t[h];if(a&&((t.onPoint||t).getRadii(0,0,t),t.onPoint&&(t.radii=t.onPoint.radii)),0"},states:{hover:{halo:!1,brightness:.2}}}),s((r=v).prototype,{axisTypes:t.seriesMembers.axisTypes,colorKey:t.seriesMembers.colorKey,directTouch:!0,getExtremesFromAll:!0,parallelArrays:t.seriesMembers.parallelArrays,pointArrayMap:["y","value"],pointClass:e,specialGroup:"group",trackerGroups:t.seriesMembers.trackerGroups,alignDataLabel:d.prototype.alignDataLabel,colorAttribs:t.seriesMembers.colorAttribs,drawLegendSymbol:i.drawRectangle,getSymbol:c.prototype.getSymbol}),t.compose(r),o.registerSeriesType("heatmap",r),r}),t(e,"masters/modules/map.src.js",[e["Core/Globals.js"],e["Core/Axis/Color/ColorAxis.js"],e["Series/MapBubble/MapBubbleSeries.js"],e["Core/Chart/MapChart.js"],e["Maps/MapView.js"],e["Maps/Projection.js"]],function(t,e,i,o,s,r){t.ColorAxis=e,t.MapChart=o,t.mapChart=t.Map=o.mapChart,t.MapView=s,t.maps=o.maps,t.Projection=r,e.compose(t.Chart,t.Fx,t.Legend,t.Series),i.compose(t.Axis,t.Chart,t.Legend,t.Series)}),t(e,"masters/highmaps.src.js",[e["masters/highcharts.src.js"]],function(t){return t.product="Highmaps",t}),(e["masters/highmaps.src.js"]._modules=e)["masters/highmaps.src.js"]}); \ No newline at end of file diff --git a/assets/js/external/highcharts/highstock.min.js b/assets/js/external/highcharts/highstock.min.js index b6d67eab..3961cc80 100644 --- a/assets/js/external/highcharts/highstock.min.js +++ b/assets/js/external/highcharts/highstock.min.js @@ -1 +1 @@ -!function(t,e){"object"==typeof module&&module.exports?(e.default=e,module.exports=t.document?e(t):e):"function"==typeof define&&define.amd?define("highcharts/highstock",function(){return e(t)}):(t.Highcharts&&t.Highcharts.error(16,!0),t.Highcharts=e(t))}("undefined"!=typeof window?window:this,function(T){function t(t,e,i,o){t.hasOwnProperty(e)||(t[e]=o.apply(null,i),"function"==typeof CustomEvent&&T.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}var e={};return t(e,"Core/Globals.js",[],function(){var t,e,i,o;return(e=t=t||{}).SVG_NS="http://www.w3.org/2000/svg",e.product="Highcharts",e.version="10.2.1",e.win=void 0!==T?T:{},e.doc=e.win.document,e.svg=e.doc&&e.doc.createElementNS&&!!e.doc.createElementNS(e.SVG_NS,"svg").createSVGRect,e.userAgent=e.win.navigator&&e.win.navigator.userAgent||"",e.isChrome=-1!==e.userAgent.indexOf("Chrome"),e.isFirefox=-1!==e.userAgent.indexOf("Firefox"),e.isMS=/(edge|msie|trident)/i.test(e.userAgent)&&!e.win.opera,e.isSafari=!e.isChrome&&-1!==e.userAgent.indexOf("Safari"),e.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(e.userAgent),e.isWebKit=-1!==e.userAgent.indexOf("AppleWebKit"),e.deg2rad=2*Math.PI/360,e.hasBidiBug=e.isFirefox&&parseInt(e.userAgent.split("Firefox/")[1],10)<4,e.hasTouch=!!e.win.TouchEvent,e.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],e.noop=function(){},e.supportsPassiveEvents=(o=!1,e.isMS||(i=Object.defineProperty({},"passive",{get:function(){o=!0}}),e.win.addEventListener&&e.win.removeEventListener&&(e.win.addEventListener("testPassive",e.noop,i),e.win.removeEventListener("testPassive",e.noop,i))),o),e.charts=[],e.dateFormats={},e.seriesTypes={},e.symbolSizes={},e.chartCount=0,t}),t(e,"Core/Utilities.js",[e["Core/Globals.js"]],function(h){function l(t,e,i,o){var s,r=e?"Highcharts error":"Highcharts warning",n=p(t=32===t?r+": Deprecated member":t),a=n?r+" #"+t+": www.highcharts.com/errors/"+t+"/":t.toString();void 0!==o&&(s="",n&&(a+="?"),v(o,function(t,e){s+="\n - ".concat(e,": ").concat(t),n&&(a+=encodeURI(e)+"="+encodeURI(t))}),a+=s),M(h,"displayError",{chart:i,code:t,message:a,params:o},function(){if(e)throw Error(a);S.console&&-1===l.messages.indexOf(a)&&console.warn(a)}),l.messages.push(a)}function n(t,e){return parseInt(t,e||10)}function a(t){return"string"==typeof t}function i(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function c(t,e){return!(!t||"object"!=typeof t||e&&i(t))}function r(t){return c(t)&&"number"==typeof t.nodeType}function d(t){var e=t&&t.constructor;return!(!c(t,!0)||r(t)||!e||!e.name||"Object"===e.name)}function p(t){return"number"==typeof t&&!isNaN(t)&&t<1/0&&-1/0i&&(i=t[e]);return i},arrayMin:function(t){for(var e=t.length,i=t[0];e--;)t[e]>16,(65280&o)>>8,255&o,1]:4===i&&(e=[(3840&o)>>4|(3840&o)>>8,(240&o)>>4|240&o,(15&o)<<4|15&o,1])),!e)for(o=n.parsers.length;o--&&!e;){var s=n.parsers[o];(i=s.regex.exec(t))&&(e=s.parse(i))}e&&(this.rgba=e)},n.prototype.get=function(i){var o,t=this.input,e=this.rgba;return"object"==typeof t&&void 0!==this.stops?((o=r(t)).stops=[].slice.call(o.stops),this.stops.forEach(function(t,e){o.stops[e]=[o.stops[e][0],t.get(i)]}),o):e&&s(e[0])?"rgb"===i||!i&&1===e[3]?"rgb("+e[0]+","+e[1]+","+e[2]+")":"a"===i?"".concat(e[3]):"rgba("+e.join(",")+")":t},n.prototype.brighten=function(e){var t=this.rgba;if(this.stops)this.stops.forEach(function(t){t.brighten(e)});else if(s(e)&&0!==e)for(var i=0;i<3;i++)t[i]+=o(255*e),t[i]<0&&(t[i]=0),255=v.second?0:c*Math.floor(r.get("Milliseconds",h)/c)),l>=v.second&&r.set("Seconds",h,l>=v.minute?0:c*Math.floor(r.get("Seconds",h)/c)),l>=v.minute&&r.set("Minutes",h,l>=v.hour?0:c*Math.floor(r.get("Minutes",h)/c)),l>=v.hour&&r.set("Hours",h,l>=v.day?0:c*Math.floor(r.get("Hours",h)/c)),l>=v.day&&r.set("Date",h,l>=v.month?1:Math.max(1,c*Math.floor(r.get("Date",h)/c))),l>=v.month&&(r.set("Month",h,l>=v.year?0:c*Math.floor(r.get("Month",h)/c)),d=r.get("FullYear",h)),l>=v.year&&r.set("FullYear",h,d-d%c),l===v.week&&(d=r.get("Day",h),r.set("Date",h,r.get("Date",h)-d+o+(d4*v.month||r.getTimezoneOffset(e)!==r.getTimezoneOffset(i)),e=h.getTime(),h=1;et){a=n;break}if(r[a]&&s.substr(r[a])!=="01-01 00:00:00.000".substr(r[a]))break;"week"!==a&&(n=a)}return this.resolveDTLFormat(o[a]).main},t=a}),t(e,"Core/DefaultOptions.js",[e["Core/Chart/ChartDefaults.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Color/Palettes.js"],e["Core/Time.js"],e["Core/Utilities.js"]],function(t,e,i,o,s,r){e=e.parse;var n=r.merge,a={colors:o.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),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:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",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,animation:i.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:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:i.isTouchDevice?25:10,headerFormat:'{point.key}
',pointFormat:' {series.name}: {point.y}
',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}},h=(a.chart.styledMode=!1,new s(n(a.global,a.time)));return t={defaultOptions:a,defaultTime:h,getOptions:function(){return a},setOptions:function(t){return n(!0,a,t),(t.time||t.global)&&(i.time?i.time.update(n(a.global,a.time,t.global,t.time)):i.time=h),a}}}),t(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,i){var o=t.parse,h=e.win,p=i.isNumber,l=i.objectEach;return c.prototype.dSetter=function(){var t=(e=this.paths)&&e[0],e=e&&e[1],i=this.now||0,o=[];if(1!==i&&t&&e)if(t.length===e.length&&i<1)for(var s=0;s=n+this.startTime?(this.now=this.end,this.pos=1,this.update(),e=a[this.prop]=!0,l(a,function(t){!0!==t&&(e=!1)}),e&&r&&r.call(s),!1):(this.pos=o.easing((i-this.startTime)/n),this.now=this.start+(this.end-this.start)*this.pos,this.update(),!0))},c.prototype.initPath=function(t,e,i){function o(t,e){for(;t.lengtht[d].pos&&(t[d-1].size+=t[d].size,t[d-1].targets=t[d-1].targets.concat(t[d].targets),t[d-1].align=.5,t[d-1].pos+t[d-1].size>o&&(t[d-1].pos=o-t[d-1].size),t.splice(d,1),h=!0)}return r.push.apply(r,l),d=0,t.some(function(t){var e=0;return(t.targets||[]).some(function(){return r[d].pos=t.pos+e,void 0!==s&&Math.abs(r[d].pos-r[d].target)>s?(r.slice(0,d+1).forEach(function(t){return delete t.pos}),r.reducedLen=(r.reducedLen||o)-.1*o,r.reducedLen>.1*o&&i(r,o,s),!0):(e+=r[d].size,d++,!1)})}),f(r,e),r},e}),t(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,m,r,e){var n=t.animate,a=t.animObject,c=t.stop,g=r.deg2rad,h=r.doc,l=r.svg,d=r.SVG_NS,i=r.win,p=e.addEvent,u=e.attr,o=e.createElement,y=e.css,x=e.defined,f=e.erase,v=e.extend,b=e.fireEvent,M=e.isArray,k=e.isFunction,S=e.isString,C=e.merge,w=e.objectEach,A=e.pick,T=e.pInt,P=e.syncTimeout,O=e.uniqueKey;function L(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=d,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return L.prototype._defaultGetter=function(t){return t=A(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),t=/^[\-0-9\.]+$/.test(t)?parseFloat(t):t},L.prototype._defaultSetter=function(t,e,i){i.setAttribute(e,t)},L.prototype.add=function(t){var e,i=this.renderer,o=this.element;return t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,void 0!==this.textStr&&"text"===this.element.nodeName&&i.buildText(this),this.added=!0,(e=t&&!t.handleZ&&!this.zIndex?e:this.zIndexSetter())||(t?t.element:i.box).appendChild(o),this.onAdd&&this.onAdd(),this},L.prototype.addClass=function(t,e){var i=!e&&this.attr("class")||"";return(t=(t||"").split(/ /g).reduce(function(t,e){return-1===i.indexOf(e)&&t.push(e),t},i?[i]:[]).join(" "))!==i&&this.attr("class",t),this},L.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},L.prototype.align=function(t,e,i){var o,s,r,n={},a=(l=this.renderer).alignedObjects,h=(t?(this.alignOptions=t,this.alignByTranslate=e,i&&!S(i)||(this.alignTo=o=i||"renderer",f(a,this),a.push(this),i=void 0)):(t=this.alignOptions,e=this.alignByTranslate,o=this.alignTo),i=A(i,l[o],"scrollablePlotBox"===o?l.plotBox:void 0,l),o=t.align,t.verticalAlign),l=(i.x||0)+(t.x||0),a=(i.y||0)+(t.y||0);return"right"===o?s=1:"center"===o&&(s=2),s&&(l+=(i.width-(t.width||0))/s),n[e?"translateX":"x"]=Math.round(l),"bottom"===h?r=1:"middle"===h&&(r=2),r&&(a+=(i.height-(t.height||0))/r),n[e?"translateY":"y"]=Math.round(a),this[this.placed?"animate":"attr"](n),this.placed=!0,this.alignAttr=n,this},L.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},L.prototype.animate=function(t,e,i){var o=this,s=a(A(e,this.renderer.globalAnimation,!0));return e=s.defer,A(h.hidden,h.msHidden,h.webkitHidden,!1)&&(s.duration=0),0!==s.duration?(i&&(s.complete=i),P(function(){o.element&&n(o,t,s)},e)):(this.attr(t,void 0,i||s.complete),w(t,function(t,e){s.step&&s.step.call(this,t,{prop:e,pos:1,elem:this})},this)),this},L.prototype.applyTextOutline=function(t){var i,e,o=this.element,s=(t=-1!==t.indexOf("contrast")?t.replace(/contrast/g,this.renderer.getContrast(o.style.fill)):t).split(" ");t=s[s.length-1],(s=s[0])&&"none"!==s&&r.svg&&(this.fakeTS=!0,this.ySetter=this.xSetter,s=s.replace(/(^[\d\.]+)(.*?)$/g,function(t,e,i){return 2*Number(e)+i}),this.removeTextOutline(),i=h.createElementNS(d,"tspan"),u(i,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":s,"stroke-linejoin":"round"}),t=o.querySelector("textPath")||o,[].forEach.call(t.childNodes,function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(t){return e.removeAttribute(t)}),i.appendChild(e)}),e=0,[].forEach.call(t.querySelectorAll("text tspan"),function(t){e+=Number(t.getAttribute("dy"))}),(s=h.createElementNS(d,"tspan")).textContent="​",u(s,{x:Number(o.getAttribute("x")),dy:-e}),i.appendChild(s),t.insertBefore(i,t.firstChild))},L.prototype.attr=function(i,t,e,o){var s,r,n,a=this.element,h=this.symbolCustomAttribs,l=this;return"string"==typeof i&&void 0!==t&&(n=i,(i={})[n]=t),"string"==typeof i?l=(this[i+"Getter"]||this._defaultGetter).call(this,i,a):(w(i,function(t,e){r=!1,o||c(this,e),this.symbolName&&-1!==h.indexOf(e)&&(s||(this.symbolAttr(i),s=!0),r=!0),!this.rotation||"x"!==e&&"y"!==e||(this.doTransform=!0),r||((r=this[e+"Setter"]||this._defaultSetter).call(this,t,e,a),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(e)&&this.updateShadows(e,t,r))},this),this.afterSetters()),e&&e.call(this),l},L.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},L.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var i=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+i,t.y=Math.floor(t.y||this.y||0)+i,t.width=Math.floor((t.width||this.width||0)-2*i),t.height=Math.floor((t.height||this.height||0)-2*i),x(t.strokeWidth)&&(t.strokeWidth=e),t},L.prototype.complexColor=function(t,i,o){var s,r,n,a,h,l,c,d,p,u,f=this.renderer,g=[];b(this.renderer,"complexColor",{args:arguments},function(){var e;t.radialGradient?s="radialGradient":t.linearGradient&&(s="linearGradient"),s&&(r=t[s],a=f.gradients,h=t.stops,d=o.radialReference,M(r)&&(t[s]=r={x1:r[0],y1:r[1],x2:r[2],y2:r[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===s&&d&&!x(r.gradientUnits)&&(r=C(n=r,f.getRadialAttr(d,n),{gradientUnits:"userSpaceOnUse"})),w(r,function(t,e){"id"!==e&&g.push(e,t)}),w(h,function(t){g.push(t)}),g=g.join(","),a[g]?p=a[g].attr("id"):(r.id=p=O(),(e=a[g]=f.createElement(s).attr(r).add(f.defs)).radAttr=n,e.stops=[],h.forEach(function(t){c=0===t[1].indexOf("rgba")?(c=m.parse(t[1]),l=c.get("rgb"),c.get("a")):(l=t[1],1),t=f.createElement("stop").attr({offset:t[0],"stop-color":l,"stop-opacity":c}).add(e),e.stops.push(t)})),u="url("+f.url+"#"+p+")",o.setAttribute(i,u),o.gradient=g,t.toString=function(){return u})})},L.prototype.css=function(t){var e,i,o=this.styles,s={},r=this.element,n=!o;return t.color&&(t.fill=t.color),o&&w(t,function(t,e){o&&o[e]!==t&&(s[e]=t,n=!0)}),n&&(null===(t=o?v(o,s):t).width||"auto"===t.width?delete this.textWidth:"text"===r.nodeName.toLowerCase()&&t.width&&(e=this.textWidth=T(t.width)),this.styles=t,e&&!l&&this.renderer.forExport&&delete t.width,i=C(t),r.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach(function(t){return i&&delete i[t]}),y(r,i),this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline))),this},L.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var i=t.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(t=i.length;t--;)i[t]=""+T(i[t])*A(e,NaN);t=i.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},L.prototype.destroy=function(){var e,i=this,t=i.element||{},o=i.renderer,s=t.ownerSVGElement,r=o.isSVG&&"SPAN"===t.nodeName&&i.parentGroup||void 0;if(t.onclick=t.onmouseout=t.onmouseover=t.onmousemove=t.point=null,c(i),i.clipPath&&s&&(e=i.clipPath,[].forEach.call(s.querySelectorAll("[clip-path],[CLIP-PATH]"),function(t){-1]*>/g,"").replace(/</g,"<").replace(/>/g,">")},L.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},L.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},L.prototype.updateShadows=function(t,e,i){var o=this.shadows;if(o)for(var s=o.length;s--;)i.call(o[s],"height"===t?Math.max(e-(o[s].cutHeight||0),0):"d"===t?this.d:e,t,o[s])},L.prototype.updateTransform=function(){var t=this.scaleX,e=this.scaleY,i=this.inverted,o=this.rotation,s=this.matrix,r=this.element,n=this.translateX||0,a=this.translateY||0;i&&(n+=this.width,a+=this.height),n=["translate("+n+","+a+")"],x(s)&&n.push("matrix("+s.join(",")+")"),i?n.push("rotate(90) scale(-1,1)"):o&&n.push("rotate("+o+" "+A(this.rotationOriginX,r.getAttribute("x"),0)+" "+A(this.rotationOriginY,r.getAttribute("y")||0)+")"),(x(t)||x(e))&&n.push("scale("+A(t,1)+" "+A(e,1)+")"),n.length&&!(this.text||this).textPath&&r.setAttribute("transform",n.join(" "))},L.prototype.visibilitySetter=function(t,e,i){"inherit"===t?i.removeAttribute(e):this[e]!==t&&i.setAttribute(e,t),this[e]=t},L.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},L.prototype.zIndexSetter=function(t,e){var i,o=this.renderer,s=((h=this.parentGroup)||o).element||o.box,r=this.element,o=s===o.box,n=!1,a=this.added;if(x(t)?(r.setAttribute("data-z-index",t),this[e]===(t=+t)&&(a=!1)):x(this[e])&&r.removeAttribute("data-z-index"),this[e]=t,a){for((t=this.zIndex)&&h&&(h.handleZ=!0),i=(e=s.childNodes).length-1;0<=i&&!n;i--){var h,a=(h=e[i]).getAttribute("data-z-index"),l=!x(a);h!==r&&(t<0&&l&&!o&&!i?(s.insertBefore(r,e[i]),n=!0):(T(a)<=t||l&&(!x(t)||0<=t))&&(s.insertBefore(r,e[i+1]||null),n=!0))}n||(s.insertBefore(r,e[o?3:0]||null),n=!0)}return n},(t=L).prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t}),t(e,"Core/Renderer/RendererRegistry.js",[e["Core/Globals.js"]],function(o){var t,s,r;return(s=t=t||{}).rendererTypes={},s.getRendererType=function(t){return void 0===t&&(t=r),s.rendererTypes[t]||s.rendererTypes[r]},s.registerRendererType=function(t,e,i){s.rendererTypes[t]=e,r&&!i||(r=t,o.Renderer=e)},t}),t(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(o,t){var s,p,e=this&&this.__extends||(s=function(t,e){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=t.defined,n=t.extend,a=t.isNumber,h=t.merge,l=t.pick,i=t.removeEvent;return e(u,p=o),u.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&a(this.xSetting)&&this.attr({x:this.xSetting}))},u.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},u.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},u.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},u.prototype.css=function(e){var i,t;return e&&(i={},e=h(e),u.textProps.forEach(function(t){void 0!==e[t]&&(i[t]=e[t],delete e[t])}),this.text.css(i),t="width"in i,"fontSize"in i||"fontWeight"in i?this.updateTextPadding():t&&this.updateBoxSize()),o.prototype.css.call(this,e)},u.prototype.destroy=function(){i(this.element,"mouseenter"),i(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),o.prototype.destroy.call(this)},u.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},u.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=l(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},u.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},u.prototype.heightSetter=function(t){this.heightSetting=t},u.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:r(t)?t:"",x:this.x,y:this.y}),this.box&&r(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},u.prototype.paddingSetter=function(t,e){a(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},u.prototype.rSetter=function(t,e){this.boxAttr(e,t)},u.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},u.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},u.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},u.prototype["text-alignSetter"]=function(t){this.textAlign=t},u.prototype.textSetter=function(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding()},u.prototype.updateBoxSize=function(){var t=this.text,e=t.element.style,i={},o=this.padding,s=this.bBox=a(this.widthSetting)&&a(this.heightSetting)&&!this.textAlign||!r(t.textStr)?u.emptyBBox:t.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||s.height||0)+2*o,e=this.renderer.fontMetrics(e&&e.fontSize,t),this.baselineOffset=o+Math.min((this.text.firstLineMetrics||e).b,s.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-e.h)/2),this.needsBox&&!t.textPath&&(this.box||((t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this)),t=this.getCrispAdjust(),i.x=t,i.y=(this.baseline?-this.baselineOffset:0)+t,i.width=Math.round(this.width),i.height=Math.round(this.height),this.box.attr(n(i,this.deferredAttr)),this.deferredAttr={})},u.prototype.updateTextPadding=function(){var t,e,i=this.text;i.textPath||(this.updateBoxSize(),t=this.baseline?0:this.baselineOffset,e=l(this.paddingLeft,this.padding),r(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(e+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),e===i.x&&t===i.y||(i.attr("x",e),i.hasBoxWidthChanged&&(this.bBox=i.getBBox(!0)),void 0!==t&&i.attr("y",t)),i.x=e,i.y=t)},u.prototype.widthSetter=function(t){this.widthSetting=a(t)?t:void 0},u.prototype.getPaddedWidth=function(){var t=this.padding,e=l(this.paddingLeft,t),t=l(this.paddingRight,t);return(this.widthSetting||this.bBox.width||0)+e+t},u.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},u.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},u.emptyBBox={width:0,height:0,x:0,y:0},u.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),u;function u(t,e,i,o,s,r,n,a,h,l){var c,d=p.call(this)||this;return d.paddingLeftSetter=d.paddingSetter,d.paddingRightSetter=d.paddingSetter,d.init(t,"g"),d.textStr=e,d.x=i,d.y=o,d.anchorX=r,d.anchorY=n,d.baseline=h,d.className=l,d.addClass("button"===l?"highcharts-no-tooltip":"highcharts-label"),l&&d.addClass("highcharts-"+l),d.text=t.text(void 0,0,0,a).attr({zIndex:1}),"string"==typeof s&&((c=/^url\((.*?)\)$/.test(s))||d.renderer.symbols[s])&&(d.symbolKey=s),d.bBox=u.emptyBBox,d.padding=3,d.baselineOffset=0,d.needsBox=t.styledMode||c,d.deferredAttr={},d.alignFactor=0,d}}),t(e,"Core/Renderer/SVG/Symbols.js",[e["Core/Utilities.js"]],function(t){function s(t,e,i,o,s){var r,n,a,h,l,c,d,p,u=[];return s&&(p=s.start||0,r=g(s.r,i),i=g(s.r,o||i),n=(s.end||0)-.001,o=s.innerR,a=g(s.open,Math.abs((s.end||0)-p-2*Math.PI)<.001),h=Math.cos(p),l=Math.sin(p),c=Math.cos(n),d=Math.sin(n),p=g(s.longArc,n-p-Math.PI<.001?0:1),u.push(["M",t+r*h,e+i*l],["A",r,i,0,p,g(s.clockwise,1),t+r*c,e+i*d]),f(o)&&u.push(a?["M",t+o*c,e+o*d]:["L",t+o*c,e+o*d],["A",o,o,0,p,f(s.clockwise)?1-s.clockwise:0,t+o*h,e+o*l]),a||u.push(["Z"])),u}function e(t,e,i,o,s){return s&&s.r?l(t,e,i,o,s):[["M",t,e],["L",t+i,e],["L",t+i,e+o],["L",t,e+o],["Z"]]}function l(t,e,i,o,s){return[["M",t+(s=s&&s.r||0),e],["L",t+i-s,e],["C",t+i,e,t+i,e,t+i,e+s],["L",t+i,e+o-s],["C",t+i,e+o,t+i,e+o,t+i-s,e+o],["L",t+s,e+o],["C",t,e+o,t,e+o,t,e+o-s],["L",t,e+s],["C",t,e,t,e,t+s,e]]}var f=t.defined,c=t.isNumber,g=t.pick;return{arc:s,callout:function(t,e,i,o,s){var r=Math.min(s&&s.r||0,i,o),n=r+6,a=s&&s.anchorX,h=(s=s&&s.anchorY||0,l(t,e,i,o,{r:r}));return c(a)&&(i<=t+a?e+n/g.test(o))?""!==o&&(i&&i.appendChild(e),o=new a(o),this.modifyTree(o.nodes),o.addToDOM(e),this.modifyDOM(),this.ellipsis&&-1!==(e.textContent||"").indexOf("…")&&t.attr("title",this.unescapeEntities(t.textStr||"",["<",">"])),i&&i.removeChild(e)):e.appendChild(p.createTextNode(this.unescapeEntities(o))),h(this.textOutline)&&t.applyTextOutline&&t.applyTextOutline(this.textOutline)}},o.prototype.modifyDOM=function(){var t,h=this,l=this.svgElement,c=f(l.element,"x");for(l.firstLineMetrics=void 0;(t=l.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)l.element.removeChild(t);[].forEach.call(l.element.querySelectorAll("tspan.highcharts-br"),function(t,e){t.nextSibling&&t.previousSibling&&(0===e&&1===t.previousSibling.nodeType&&(l.firstLineMetrics=l.renderer.fontMetrics(void 0,t.previousSibling)),f(t,{dy:h.getLineHeight(t.nextSibling),x:c}))});var i,o,d=this.width||0;d&&(i=function(e,i){var t=e.textContent||"",o=t.replace(/([^\^])-/g,"$1- ").split(" "),s=!h.noWrap&&(1]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20");return""},I.prototype.getStyle=function(t){return this.style=A({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},I.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},I.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},I.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),w(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},I.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},I.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},I.prototype.buildText=function(t){new r(t).buildSVG()},I.prototype.getContrast=function(t){return((t=.2126*(t=e.parse(t).rgba.map(function(t){return(t/=255)<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}))[0]+.7152*t[1]+.0722*t[2])+.05)/.05<1.05/(t+.05)?"#FFFFFF":"#000000"},I.prototype.button=function(t,e,i,o,s,r,n,a,h,l){void 0===s&&(s={});var c,d,p,u=this.label(t,e,i,h,void 0,void 0,l,void 0,"button"),f=this.styledMode,g=(t=s.states||{},0),m=(delete(s=E(s)).states,E({color:"#333333",cursor:"pointer",fontWeight:"normal"},s.style)),y=(delete s.style,x.filterUserAttributes(s));return u.attr(E({padding:8,r:2},y)),f||(y=E({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},y),c=(r=E(y,{fill:"#e6e6e6"},x.filterUserAttributes(r||t.hover||{}))).style,delete r.style,d=(n=E(y,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},x.filterUserAttributes(n||t.select||{}))).style,delete n.style,p=(a=E(y,{style:{color:"#cccccc"}},x.filterUserAttributes(a||t.disabled||{}))).style,delete a.style),b(u.element,v?"mouseover":"mouseenter",function(){3!==g&&u.setState(1)}),b(u.element,v?"mouseout":"mouseleave",function(){3!==g&&u.setState(g)}),u.setState=function(t){1!==t&&(u.state=g=t),u.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),f||(u.attr([y,r,n,a][t||0]),O(t=[m,c,d,p][t||0])&&u.css(t))},f||u.attr(y).css(A({cursor:"default"},m)),u.on("touchstart",function(t){return t.stopPropagation()}).on("click",function(t){3!==g&&o.call(u,t)})},I.prototype.crispLine=function(t,e,i){void 0===i&&(i="round");var o=t[0],s=t[1];return C(o[1])&&o[1]===s[1]&&(o[1]=s[1]=Math[i](o[1])-e%2/2),C(o[2])&&o[2]===s[2]&&(o[2]=s[2]=Math[i](o[2])+e%2/2),t},I.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return T(t)?e.d=t:O(t)&&A(e,t),this.createElement("path").attr(e)},I.prototype.circle=function(t,e,i){return t=O(t)?t:void 0===t?{}:{x:t,y:e,r:i},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,i){i.setAttribute("c"+e,t)},e.attr(t)},I.prototype.arc=function(t,e,i,o,s,r){return O(t)?(e=(o=t).y,i=o.r,t=o.x):o={innerR:o,start:s,end:r},(t=this.symbol("arc",t,e,i,i,o)).r=i,t},I.prototype.rect=function(t,e,i,o,s,r){s=O(t)?t.r:s;var n=this.createElement("rect");return t=O(t)?t:void 0===t?{}:{x:t,y:e,width:Math.max(i,0),height:Math.max(o,0)},this.styledMode||(void 0!==r&&(t["stroke-width"]=r,t=n.crisp(t)),t.fill="none"),s&&(t.r=s),n.rSetter=function(t,e,i){n.r=t,M(i,{rx:t,ry:t})},n.rGetter=function(){return n.r||0},n.attr(t)},I.prototype.setSize=function(t,e,i){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:D(i,!0)?void 0:0}),this.alignElements()},I.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},I.prototype.image=function(e,t,i,o,s,r){var n={preserveAspectRatio:"none"},a=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)},h=(P(t)&&(n.x=t),P(i)&&(n.y=i),P(o)&&(n.width=o),P(s)&&(n.height=s),this.createElement("image").attr(n));return t=function(t){a(h.element,e),r.call(h,t)},r?(a(h.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),i=new f.Image,b(i,"load",t),i.src=e,i.complete&&t({})):a(h.element,e),h},I.prototype.symbol=function(t,e,i,o,s,r){var n,a,h,l,c=this,d=/^url\((.*?)\)$/,p=d.test(t),u=!p&&(this.symbols[t]?t:"circle"),f=u&&this.symbols[u];return f?("number"==typeof e&&(n=f.call(this.symbols,Math.round(e||0),Math.round(i||0),o||0,s||0,r)),n=this.path(n),c.styledMode||n.attr("fill","none"),A(n,{symbolName:u||void 0,x:e,y:i,width:o,height:s}),r&&A(n,r)):p&&(a=t.match(d)[1],(h=n=this.image(a)).imgwidth=D(y[a]&&y[a].width,r&&r.width),h.imgheight=D(y[a]&&y[a].height,r&&r.height),l=function(t){return t.attr({width:t.width,height:t.height})},["width","height"].forEach(function(t){h[t+"Setter"]=function(t,e){var i=this["img"+e];this[e]=t,C(i)&&(r&&"within"===r.backgroundSize&&this.width&&this.height&&(i=Math.round(i*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(e,i),this.alignByTranslate||(t=((this[e]||0)-i)/2,this.attr("width"===e?{translateX:t}:{translateY:t})))}}),C(e)&&h.attr({x:e,y:i}),h.isImg=!0,C(h.imgwidth)&&C(h.imgheight)?l(h):(h.attr({width:0,height:0}),k("img",{onload:function(){var t=g[c.chartIndex];0===this.width&&(S(this,{position:"absolute",top:"-999em"}),m.body.appendChild(this)),y[a]={width:this.width,height:this.height},h.imgwidth=this.width,h.imgheight=this.height,h.element&&l(h),this.parentNode&&this.parentNode.removeChild(this),c.imgCount--,c.imgCount||!t||t.hasLoaded||t.onload()},src:a}),this.imgCount++)),n},I.prototype.clipRect=function(t,e,i,o){var s=B()+"-",r=this.createElement("clipPath").attr({id:s}).add(this.defs);return(t=this.rect(t,e,i,o,0).add(r)).id=s,t.clipPath=r,t.count=0,t},I.prototype.text=function(t,e,i,o){var s={};return!o||!this.allowHTML&&this.forExport?(s.x=Math.round(e||0),i&&(s.y=Math.round(i)),C(t)&&(s.text=t),t=this.createElement("text").attr(s),o&&(!this.forExport||this.allowHTML)||(t.xSetter=function(t,e,i){for(var o,s=i.getElementsByTagName("tspan"),r=i.getAttribute(e),n=0;n":">","'":"'",'"':"""},symbols:s,draw:p}),i.registerRendererType("svg",t,!0),t}),t(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,e,i){var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),n=t.isFirefox,a=t.isMS,h=t.isWebKit,l=t.win,f=i.css,g=i.defined,c=i.extend,d=i.pick,m=i.pInt;return r(p,s=e),p.compose=function(t){var e,i;return-1===p.composedClasses.indexOf(t)&&(p.composedClasses.push(t),(i=t.prototype).getSpanCorrection=(e=p.prototype).getSpanCorrection,i.htmlCss=e.htmlCss,i.htmlGetBBox=e.htmlGetBBox,i.htmlUpdateTransform=e.htmlUpdateTransform,i.setSpanRotation=e.setSpanRotation),t},p.prototype.getSpanCorrection=function(t,e,i){this.xCorr=-t*i,this.yCorr=-e},p.prototype.htmlCss=function(t){var e,i="SPAN"===this.element.tagName&&t&&"width"in t,o=d(i&&t.width,void 0);return i&&(delete t.width,this.textWidth=o,e=!0),t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=c(this.styles,t),f(this.element,t),e&&this.htmlUpdateTransform(),this},p.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},p.prototype.htmlUpdateTransform=function(){var e,i,o,s,t,r,n,a,h,l,c,d,p,u;this.added?(e=this.renderer,i=this.element,o=this.translateX||0,s=this.translateY||0,t=this.x||0,r=this.y||0,a={left:0,center:.5,right:1}[n=this.textAlign||"left"],u=(u=this.styles)&&u.whiteSpace,f(i,{marginLeft:o,marginTop:s}),!e.styledMode&&this.shadows&&this.shadows.forEach(function(t){f(t,{marginLeft:o+1,marginTop:s+1})}),this.inverted&&[].forEach.call(i.childNodes,function(t){e.invertChild(t,i)}),"SPAN"===i.tagName&&(h=this.rotation,l=this.textWidth&&m(this.textWidth),c=[h,n,i.innerHTML,this.textWidth,this.textAlign].join(),p=!1,l!==this.oldTextWidth&&(d=this.textPxLength||(f(i,{width:"",whiteSpace:u||"nowrap"}),i.offsetWidth),(l>this.oldTextWidth||l=this.minRange,n=[l-(n=((r=this.minRange)-c+l)/2),O(a.min,l-n)],t&&(n[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),c=[(l=p(n))+r,O(a.max,l+r)],t&&(c[2]=h?h.log2lin(this.dataMax):this.dataMax),(c=f(c))-l=g?(e=g,u=0):this.dataMax<=g&&(i=g,p=0)),this.min=O(m,e,this.dataMin),this.max=O(y,i,this.dataMax)),r&&(this.positiveValuesOnly&&!t&&Math.min(this.min,O(this.dataMin,this.min))<=0&&w(10,1,s),this.min=S(r.log2lin(this.min),16),this.max=S(r.log2lin(this.max),16)),this.range&&C(this.max)&&(this.userMin=this.min=m=Math.max(this.dataMin,this.minFromRange()),this.userMax=y=this.max,this.range=null),A(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(c||this.axisPointRange||this.stacking&&this.stacking.usePercentage||h)&&C(this.min)&&C(this.max)&&(s=this.max-this.min)&&(!C(m)&&u&&(this.min-=s*u),!C(y)&&p&&(this.max+=s*p)),T(this.userMin)||(T(n.softMin)&&n.softMinthis.max&&(this.max=y=n.softMax),T(n.ceiling)&&(this.max=Math.min(this.max,n.ceiling))),d&&C(this.dataMin)&&(g=g||0,!C(m)&&this.min=g?this.min=this.options.minRange?Math.min(g,this.max-this.minRange):g:!C(y)&&this.max>g&&this.dataMax<=g&&(this.max=this.options.minRange?Math.max(g,this.min+this.minRange):g)),T(this.min)&&T(this.max)&&!this.chart.polar&&this.min>this.max&&(C(this.options.min)?this.max=this.min:C(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||void 0===this.min||void 0===this.max?1:h&&this.linkedParent&&!f&&l===this.linkedParent.options.tickPixelInterval?f=this.linkedParent.tickInterval:O(f,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,c?1:(this.max-this.min)*l/Math.max(this.len,l)),a&&!t&&(o=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max),this.series.forEach(function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(o)}),A(this,"postProcessData",{hasExtemesChanged:o})),this.setAxisTranslation(),A(this,"initialAxisTranslation"),this.pointRange&&!f&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=O(n.minTickInterval,this.dateTime&&!this.series.some(function(t){return t.noSharedTooltip})?this.closestPointRange:0),!f&&this.tickIntervalMath.max(2*this.len,200)))if(this.dateTime)i=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0);else if(this.logarithmic)i=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(var n=t=this.tickInterval;n<=2*t&&(i=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&i.length>this.tickAmount);)this.tickInterval=x(this,n*=1.1);else i=[this.min,this.max],w(19,!1,this.chart);i.length>this.len&&((i=[i[0],i.pop()])[0]===i[1]&&(i.length=1)),this.tickPositions=i,(r=r&&r.apply(this,[this.min,this.max]))&&(this.tickPositions=i=r)}this.paddedTicks=i.slice(0),this.trimTicks(i,s,o),this.isLinked||(this.single&&i.length<2&&!this.categories&&!this.series.some(function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement})&&(this.min-=.5,this.max+=.5),e||r||this.adjustTickAmount()),A(this,"afterSetTickPositions")},B.prototype.trimTicks=function(t,e,i){var o=t[0],s=t[t.length-1],r=!this.isOrdinal&&this.minPointOffset||0;if(A(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==o)this.min=o;else for(;this.min-r>t[0];)t.shift();if(i)this.max=s;else for(;this.max+rs||n[n.length-1]e.threshold?n.unshift(S(n[0]-d)):n.push(S(n[n.length-1]+d));if(d>8*e.tickInterval)break;d*=2}h()}else if(lp&&(p=t.label.textPxLength)}),this.maxLabelLength=p,this.autoRotation)hc.h?l.rotation=this.labelRotation:this.labelRotation=0;else if(a){var u=h;if(!d)for(var f="clip",h=i.length;!n&&h--;){var g=i[h];(g=s[g].label)&&(g.styles&&"ellipsis"===g.styles.textOverflow?g.css({textOverflow:"clip"}):g.textPxLength>a&&g.css({width:a+"px"}),g.getBBox().height>this.len/i.length-(c.h-c.f)&&(g.specificTextOverflow="ellipsis"))}}l.rotation&&(u=p>.5*t.chartHeight?.33*t.chartHeight:p,d||(f="ellipsis")),(this.labelAlign=o.align||this.autoLabelAlign(this.labelRotation))&&(l.align=this.labelAlign),i.forEach(function(t){var e=(t=s[t])&&t.label,i=r.width,o={};e&&(e.attr(l),t.shortenLabel?t.shortenLabel():u&&!i&&"nowrap"!==r.whiteSpace&&(u=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(o[t]||(o[t]=new b(this,t)),i&&o[t].isNew&&o[t].render(e,!0,-1),o[t].render(e))},B.prototype.render=function(){var i,o,s,r=this,n=r.chart,a=r.logarithmic,t=r.options,e=r.isLinked,h=r.tickPositions,l=r.axisTitle,c=r.ticks,d=r.minorTicks,p=r.alternateBands,u=t.stackLabels,f=t.alternateGridColor,g=r.tickmarkOffset,m=r.axisLine,y=r.showAxis,x=M(n.renderer.globalAnimation);r.labelEdge.length=0,r.overlap=!1,[c,d,p].forEach(function(t){P(t,function(t){t.isActive=!1})}),(r.hasData()||e)&&(s=r.chart.hasRendered&&r.old&&T(r.old.min),r.minorTickInterval&&!r.categories&&r.getMinorTickPositions().forEach(function(t){r.renderMinorTick(t,s)}),h.length&&(h.forEach(function(t,e){r.renderTick(t,e,s)}),g&&(0===r.min||r.single)&&(c[-1]||(c[-1]=new b(r,-1,null,!0)),c[-1].render(-1))),f&&h.forEach(function(t,e){o=void 0!==h[e+1]?h[e+1]+g:r.max-g,0==e%2&&tthis.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:i.acrossPanes}),i=1,t&&s)for(e&&(o=t.toString()===s.toString(),i=0),e=0;ee})&&(t=t.map(function(t){var e=u(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return j(t,{target:e.y,x:e.x})})),g.cleanSplit(),E(t,P),c),O=c;t.forEach(function(t){var e=t.x,i=t.boxWidth;(t=t.isHeader)||(g.outside&&c+e=o.value;)o=t[++i];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=o&&o.color&&!this.options.color?o.color:this.nonZonedColor,o},C.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},C.prototype.init=function(t,e,i){return this.series=t,this.applyOptions(e,i),this.id=r(this.id)?this.id:S(),this.resolveColor(),t.chart.pointCount++,b(this,"afterInit"),this},C.prototype.optionsToObject=function(t){var e=this.series,i=e.options.keys,o=i||e.pointArrayMap||["y"],s=o.length,r={},n=0,a=0;if(M(t)||null===t)r[o[0]]=t;else if(c(t))for(!i&&t.length>s&&("string"===(e=typeof t[0])?r.name=t[0]:"number"===e&&(r.x=t[0]),n++);at.series.index?-1:1)),o&&(n=t)}),n)},M.prototype.getChartCoordinatesFromPoint=function(t,e){var i,o,s=(r=t.series).xAxis,r=r.yAxis,n=t.shapeArgs;return s&&r?(i=b(t.clientX,t.plotX),o=t.plotY||0,t.isNode&&n&&x(n.x)&&x(n.y)&&(i=n.x,o=n.y),e?{chartX:r.len+r.pos-o,chartY:s.len+s.pos-i}:{chartX:i+s.pos,chartY:o+r.pos}):n&&n.x&&n.y?{chartX:n.x,chartY:n.y}:void 0},M.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=n(t),i=(this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1},t.offsetWidth),t=t.offsetHeight;return 2x.max&&(i=x.max-h,c=!0),c?(S-=.8*(S-n[p][0]),"number"==typeof C&&(C-=.8*(C-n[p][1])),e()):n[p]=[S,C],y||(r[p]=l-m,r[g]=h),r=y?1/k:k,s[g]=h,s[p]=i,o[y?t?"scaleY":"scaleX":"scale"+u]=k,o["translate"+u]=r*m+(S-r*b)},M.prototype.reset=function(e,t){var i=this.chart,o=i.hoverSeries,s=i.hoverPoint,r=i.hoverPoints,n=i.tooltip,a=n&&n.shared?r:s;e&&a&&h(a).forEach(function(t){t.series.isCartesian&&void 0===t.plotX&&(e=!1)}),e?n&&a&&h(a).length&&(n.refresh(a),n.shared&&r?r.forEach(function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))}):s&&(s.setState(s.state,!0),i.axes.forEach(function(t){t.crosshair&&s.series[t.coll]===t&&t.drawCrosshair(null,s)}))):(s&&s.onMouseOut(),r&&r.forEach(function(t){t.setState()}),o&&o.onMouseOut(),n&&n.hide(t),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach(function(t){t.hideCrosshair()}),this.hoverX=i.hoverPoints=i.hoverPoint=null)},M.prototype.runPointActions=function(o,t){var s=this.chart,e=s.tooltip&&s.tooltip.options.enabled?s.tooltip:void 0,i=!!e&&e.shared,r=t||s.hoverPoint,n=r&&r.series||s.hoverSeries,a=(t=this.getHoverData(r,n,s.series,(!o||"touchmove"!==o.type)&&(!!t||n&&n.directTouch&&this.isDirectTouch),i,o),r=t.hoverPoint,n=t.hoverSeries,t.hoverPoints),h=(t=n&&n.tooltipOptions.followPointer&&!n.tooltipOptions.split,i&&n&&!n.noSharedTooltip);if(r&&(r!==s.hoverPoint||e&&e.isHidden)){if((s.hoverPoints||[]).forEach(function(t){-1===a.indexOf(t)&&t.setState()}),s.hoverSeries!==n&&n.onMouseOver(),this.applyInactiveState(a),(a||[]).forEach(function(t){t.setState("hover")}),s.hoverPoint&&s.hoverPoint.firePointEvent("mouseOut"),!r.series)return;s.hoverPoints=a,(s.hoverPoint=r).firePointEvent("mouseOver",void 0,function(){e&&r&&e.refresh(h?a:r,o)})}else t&&e&&!e.isHidden&&(i=e.getAnchor([{}],o),s.isInsidePlot(i[0],i[1],{visiblePlotOnly:!0})&&e.updatePosition({plotX:i[0],plotY:i[1]}));this.unDocMouseMove||(this.unDocMouseMove=c(s.container.ownerDocument,"mousemove",function(t){var e=l[M.hoverChartIndex];e&&e.pointer.onDocumentMouseMove(t)}),this.eventsToUnbind.push(this.unDocMouseMove)),s.axes.forEach(function(e){var t,i=b((e.crosshair||{}).snap,!0);(t=!i||(t=s.hoverPoint)&&t.series[e.coll]===e?t:d(a,function(t){return t.series&&t.series[e.coll]===e}))||!i?e.drawCrosshair(o,t):e.hideCrosshair()})},M.prototype.scaleGroups=function(i,o){var s=this.chart;s.series.forEach(function(t){var e=i||t.getPlotBox();t.group&&(t.xAxis&&t.xAxis.zoomEnabled||s.mapView)&&(t.group.attr(e),t.markerGroup&&(t.markerGroup.attr(e),t.markerGroup.clip(o?s.clipRect:null)),t.dataLabelsGroup&&t.dataLabelsGroup.attr(e))}),s.clipRect.attr(o||s.clipBox)},M.prototype.setDOMEvents=function(){var t=this,e=this.chart.container,i=e.ownerDocument;e.onmousedown=this.onContainerMouseDown.bind(this),e.onmousemove=this.onContainerMouseMove.bind(this),e.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(c(e,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(c(e,"mouseleave",this.onContainerMouseLeave.bind(this))),M.unbindDocumentMouseUp||(M.unbindDocumentMouseUp=c(i,"mouseup",this.onDocumentMouseUp.bind(this)));for(var o=this.chart.renderTo.parentElement;o&&"BODY"!==o.tagName;)this.eventsToUnbind.push(c(o,"scroll",function(){delete t.chartPosition})),o=o.parentElement;s.hasTouch&&(this.eventsToUnbind.push(c(e,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(c(e,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),M.unbindDocumentTouchEnd||(M.unbindDocumentTouchEnd=c(i,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},M.prototype.setHoverChartIndex=function(){var t=this.chart,e=s.charts[b(M.hoverChartIndex,-1)];e&&e!==t&&e.pointer.onContainerMouseLeave({relatedTarget:t.container}),e&&e.mouseIsDown||(M.hoverChartIndex=t.index)},M.prototype.touch=function(t,e){var i,o=this.chart;this.setHoverChartIndex(),1===t.touches.length?(t=this.normalize(t),o.isInsidePlot(t.chartX-o.plotLeft,t.chartY-o.plotTop,{visiblePlotOnly:!0})&&!o.openMenu?(e&&this.runPointActions(t),"touchmove"===t.type&&(i=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2))),b(i,!0)&&this.pinch(t)):e&&this.reset()):2===t.touches.length&&this.pinch(t)},M.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zooming.singleTouch||!t.touches||1!==t.touches.length)},M.prototype.zoomOption=function(t){var e=(i=this.chart).options.chart,i=i.inverted,o=e.zooming.type||"";/touch/.test(t.type)&&(o=b(e.zooming.pinchType,o)),this.zoomX=t=/x/.test(o),this.zoomY=e=/y/.test(o),this.zoomHor=t&&!i||e&&i,this.zoomVert=e&&!i||t&&i,this.hasZoom=t||e},t=M}),t(e,"Core/MSPointer.js",[e["Core/Globals.js"],e["Core/Pointer.js"],e["Core/Utilities.js"]],function(t,n,e){function i(t,e,i,o){var s,r=a[n.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!r||(r=r.pointer,o(t),r[e]({type:i,target:t.currentTarget,preventDefault:l,touches:((s=[]).item=function(t){return this[t]},u(g,function(t){s.push({pageX:t.pageX,pageY:t.pageY,target:t.target})}),s)}))}var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),a=t.charts,h=t.doc,l=t.noop,c=t.win,d=e.addEvent,p=e.css,u=e.objectEach,f=e.removeEvent,g={},m=!!c.PointerEvent;return r(y,s=n),y.isRequired=function(){return!(t.hasTouch||!c.PointerEvent&&!c.MSPointerEvent)},y.prototype.batchMSEvents=function(t){t(this.chart.container,m?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,m?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(h,m?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},y.prototype.destroy=function(){this.batchMSEvents(f),s.prototype.destroy.call(this)},y.prototype.init=function(t,e){s.prototype.init.call(this,t,e),this.hasZoom&&p(t.container,{"-ms-touch-action":"none","touch-action":"none"})},y.prototype.onContainerPointerDown=function(t){i(t,"onContainerTouchStart","touchstart",function(t){g[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}})},y.prototype.onContainerPointerMove=function(t){i(t,"onContainerTouchMove","touchmove",function(t){g[t.pointerId]={pageX:t.pageX,pageY:t.pageY},g[t.pointerId].target||(g[t.pointerId].target=t.currentTarget)})},y.prototype.onDocumentPointerUp=function(t){i(t,"onDocumentTouchEnd","touchend",function(t){delete g[t.pointerId]})},y.prototype.setDOMEvents=function(){s.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(d)},y;function y(){return null!==s&&s.apply(this,arguments)||this}}),t(e,"Core/Legend/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Series/Point.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Utilities.js"]],function(t,e,i,l,o,s){var d=t.animObject,p=t.setAnimation,r=e.format,a=(t=i.isFirefox,i.marginNames),h=(i=i.win,o.distribute),n=s.addEvent,c=s.createElement,u=s.css,f=s.defined,g=s.discardElement,m=s.find,y=s.fireEvent,x=s.isNumber,v=s.merge,b=s.pick,M=s.relativeLength,k=s.stableSort,S=s.syncTimeout;function C(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options=void 0,this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return o=s.wrap,C.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),n(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=n(this.chart,"render",function(){this.legend.proximatePositions(),this.legend.positionItems()}):this.unchartrender&&this.unchartrender())},C.prototype.setOptions=function(t){var e=b(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=v(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=b(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},C.prototype.update=function(t,e){var i=this.chart;this.setOptions(v(!0,this.options,t)),this.destroy(),i.isDirtyLegend=i.isDirtyBox=!0,b(e,!0)&&i.redraw(),y(this,"afterUpdate")},C.prototype.colorizeItem=function(t,e){var i,o,s,r,n,a,h,l;t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),this.chart.styledMode||(n=this.options,i=t.legendItem,o=t.legendLine,s=t.legendSymbol,r=this.itemHiddenStyle.color,n=e?n.itemStyle.color:r,a=e&&t.color||r,h=t.options&&t.options.marker,l={fill:a},i&&i.css({fill:n,color:n}),o&&o.attr({stroke:a}),s&&(h&&s.isMarker&&(l=t.pointAttribs(),e||(l.stroke=l.fill=r)),s.attr(l))),y(this,"afterColorizeItem",{item:t,visible:e})},C.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},C.prototype.positionItem=function(t){var e=this,i=(s=this.options).symbolPadding,o=!s.rtl,s=(r=t._legendItemPos)[0],r=r[1],n=t.checkbox,a=t.legendGroup;a&&a.element&&(i={translateX:o?s:this.legendWidth-s-2*i-4,translateY:r},o=function(){y(e,"afterPositionItem",{item:t})},f(a.translateY)?a.animate(i,void 0,o):(a.attr(i),o())),n&&(n.x=s,n.y=r)},C.prototype.destroyItem=function(e){var t=e.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(t){e[t]&&(e[t]=e[t].destroy())}),t&&g(e.checkbox)},C.prototype.destroy=function(){function e(t){this[t]&&(this[t]=this[t].destroy())}this.getAllItems().forEach(function(t){["legendItem","legendGroup"].forEach(e,t)}),"clipRect up down pager nav box title group".split(" ").forEach(e,this),this.display=null},C.prototype.positionCheckboxes=function(){var o,s=this.group&&this.group.alignAttr,r=this.clipHeight||this.legendHeight,n=this.titleHeight;s&&(o=s.translateY,this.allItems.forEach(function(t){var e,i=t.checkbox;i&&(e=o+n+i.y+(this.scrollOffset||0)+3,u(i,{left:s.translateX+t.checkboxOffset+i.x-20+"px",top:e+"px",display:this.proximate||o-61.5*i?e.height:i))},C.prototype.layoutItem=function(t){var e=this.options,i=this.padding,o="horizontal"===e.layout,s=t.itemHeight,r=this.itemMarginBottom,n=this.itemMarginTop,a=o?b(e.itemDistance,20):0,h=this.maxLegendWidth,e=e.alignColumns&&this.totalItemWidth>h?this.maxItemWidth:t.itemWidth;o&&this.itemX-i+e>h&&(this.itemX=i,this.lastLineHeight&&(this.itemY+=n+this.lastLineHeight+r),this.lastLineHeight=0),this.lastItemY=n+this.itemY+r,this.lastLineHeight=Math.max(s,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],o?this.itemX+=e:(this.itemY+=n+s+r,this.lastLineHeight=s),this.offsetWidth=this.widthOption||Math.max((o?this.itemX-i-(t.checkbox?0:a):e)+i,this.offsetWidth)},C.prototype.getAllItems=function(){var i=[];return this.chart.series.forEach(function(t){var e=t&&t.options;t&&b(e.showInLegend,!f(e.linkedTo)&&void 0,!0)&&(i=i.concat(t.legendItems||("point"===e.legendType?t.data:t)))}),y(this,"afterGetAllItems",{allItems:i}),i},C.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},C.prototype.adjustMargins=function(i,o){var s=this.chart,r=this.options,n=this.getAlignment();n&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(t,e){t.test(n)&&!f(i[e])&&(s[a[e]]=Math.max(s[a[e]],s.legend[(e+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][e]*r[e%2?"x":"y"]+b(r.margin,12)+o[e]+(s.titleOffset[e]||0)))})},C.prototype.proximatePositions=function(){var s=this.chart,r=[],n="left"===this.options.align;this.allItems.forEach(function(t){var e,i,o=n;t.yAxis&&(t.xAxis.options.reversed&&(o=!o),t.points&&(e=m(o?t.points:t.points.slice(0).reverse(),function(t){return x(t.plotY)})),o=this.itemMarginTop+t.legendItem.getBBox().height+this.itemMarginBottom,i=t.yAxis.top-s.plotTop,t.visible?(e=e?e.plotY:t.yAxis.height,e+=i-.3*o):e=i+t.yAxis.height,r.push({target:e,size:o,item:t}))},this),h(r,s.plotHeight).forEach(function(t){t.item._legendItemPos&&t.pos&&(t.item._legendItemPos[1]=s.plotTop-s.spacing[0]+t.pos)})},C.prototype.render=function(){var t=this.chart,e=t.renderer,i=this.options,o=this.padding,s=this.getAllItems(),r=this.group,n=this.box,a=(this.itemX=o,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=M(i.width,t.spacingBox.width-o),t.spacingBox.width-2*o-i.x),h=(-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(a/=2),this.maxLegendWidth=this.widthOption||a,r||(this.group=r=e.g("legend").addClass(i.className||"").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(r),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle(),k(s,function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)}),i.reversed&&s.reverse(),this.allItems=s,this.display=a=!!s.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,s.forEach(this.renderItem,this),s.forEach(this.layoutItem,this),s=(this.widthOption||this.offsetWidth)+o,this.lastItemY+this.lastLineHeight+this.titleHeight),h=this.handleOverflow(h);h+=o,n||(this.box=n=e.rect().addClass("highcharts-legend-box").attr({r:i.borderRadius}).add(r)),t.styledMode||n.attr({stroke:i.borderColor,"stroke-width":i.borderWidth||0,fill:i.backgroundColor||"none"}).shadow(i.shadow),0r&&(n||i)!==m[s-1])&&(m.push(n||i),s++),t.pageIx=s-1,n&&(y[e-1].pageIx=s-1),e===y.length-1&&i+o-m[s-1]>r&&o<=r&&(m.push(i),t.pageIx=s),i!==n&&(n=i)}),v||(v=o.clipRect=a.clipRect(0,d,9999,0),o.contentGroup.clip(v)),e(r),x||(this.nav=x=a.g().attr({zIndex:1}).add(this.group),this.up=a.symbol("triangle",0,0,g,g).add(x),i("upTracker").on("click",function(){o.scroll(-1,f)}),this.pager=a.text("",15,10).addClass("highcharts-legend-navigation"),!s.styledMode&&u.style&&this.pager.css(u.style),this.pager.add(x),this.down=a.symbol("triangle-down",0,0,g,g).add(x),i("downTracker").on("click",function(){o.scroll(1,f)})),o.scroll(0),t=l):x&&(e(),this.nav=x.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},C.prototype.scroll=function(t,e){var i=this,o=this.chart,s=this.pages,r=s.length,n=this.clipHeight,a=this.options.navigation,h=this.pager,l=this.padding,c=this.currentPage+t;0<(c=r=Math.max(l+n,o.pos)&&h<=Math.min(l+n+r.width,o.pos+o.len)||(t.isInsidePlot=!1)),!i.ignoreY&&t.isInsidePlot&&(s=d&&(s?d.xAxis:d.yAxis)||{pos:a,len:1/0},(i=i.paneCoordinates?s.pos+e:a+e)>=Math.max(c+a,s.pos)&&i<=Math.min(c+a+r.height,s.pos+s.len)||(t.isInsidePlot=!1)),w(this,"afterIsInsidePlot",t),t.isInsidePlot},I.prototype.redraw=function(t){w(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],i=this.series,o=this.pointer,s=this.legend,r=this.userOptions.legend,n=this.renderer,a=n.isHidden(),h=[],l=this.isDirtyBox,c=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),f(!!this.hasRendered&&t,this),a&&this.temporaryDisplay(),this.layOutTitles(),t=i.length;t--;){var d=i[t];if(d.options.stacking||d.options.centerInCategory){var p=!0;if(d.isDirty){var u=!0;break}}}if(u)for(t=i.length;t--;)(d=i[t]).options.stacking&&(d.isDirty=!0);i.forEach(function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),c=!0):r&&(r.labelFormatter||r.labelFormat)&&(c=!0)),t.isDirtyData&&w(t,"updatedData")}),c&&s&&s.options.enabled&&(s.render(),this.isDirtyLegend=!1),p&&this.getStacks(),e.forEach(function(t){t.updateNames(),t.setScale()}),this.getMargins(),e.forEach(function(t){t.isDirty&&(l=!0)}),e.forEach(function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,h.push(function(){w(t,"afterSetExtremes",C(t.eventArgs,t.getExtremes())),delete t.eventArgs})),(l||p)&&t.redraw()}),l&&this.drawChartBox(),w(this,"predraw"),i.forEach(function(t){(l||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1}),o&&o.reset(!0),n.draw(),w(this,"redraw"),w(this,"render"),a&&this.temporaryDisplay(!0),h.forEach(function(t){t.call()})},I.prototype.get=function(e){function t(t){return t.id===e||t.options&&t.options.id===e}for(var i=this.series,o=r(this.axes,t)||r(this.series,t),s=0;!o&&s=j(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return j(e,t.length-1)},I.prototype.bindAxes=function(){var o,s=this,r=s.options,t=s.chart;P(this,"bindAxes",null,function(){(s.axisTypes||[]).forEach(function(e){var i=0;t[e].forEach(function(t){o=t.options,(r[e]===i&&!o.isInternal||void 0!==r[e]&&r[e]===o.id||void 0===r[e]&&0===o.index)&&(s.insert(t.series),(s[e]=t).isDirty=!0),o.isInternal||i++}),s[e]||s.optionalAxis===e||k(18,!0,t)})}),P(this,"afterBindAxes")},I.prototype.updateParallelArrays=function(i,o){var s=i.series,e=arguments,t=L(o)?function(t){var e="y"===t&&s.toYData?s.toYData(i):i[t];s[t+"Data"][o]=e}:function(t){Array.prototype[o].apply(s[t+"Data"],Array.prototype.slice.call(e,2))};s.parallelArrays.forEach(t)},I.prototype.hasData=function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0=this.cropStart?s-this.cropStart:s),s=!o&&L(s)&&a[s]&&a[s].touched?void 0:s},I.prototype.updateData=function(t,e){var s,i,r,n=this.options,a=n.dataSorting,h=this.points,l=[],c=this.requireSorting,d=t.length===h.length,o=!0;if(this.xIncrement=null,t.forEach(function(t,e){var i=T(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},o=i.x;i.id||L(o)?(-1===(i=this.findPointIndex(i,r))||void 0===i?l.push(t):h[i]&&t!==n.data[i]?(h[i].update(t,!1,null,!1),h[i].touched=!0,c&&(r=i+1)):h[i]&&(h[i].touched=!0),(!d||e!==i||a&&a.enabled||this.hasDerivedData)&&(s=!0)):l.push(t)},this),s)for(t=h.length;t--;)(i=h[t])&&!i.touched&&i.remove&&i.remove(!1,e);else!d||a&&a.enabled?o=!1:(t.forEach(function(t,e){t!==h[e].y&&h[e].update&&h[e].update(t,!1,null,!1)}),l.length=0);return h.forEach(function(t){t&&(t.touched=!1)}),!!o&&(l.forEach(function(t){this.addPoint(t,!1,null,null,!1)},this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=v(this.xData),this.autoIncrement()),!0)},I.prototype.setData=function(t,e,i,o){void 0===e&&(e=!0);var s,r,n=this,a=n.points,h=a&&a.length||0,l=n.options,c=n.chart,d=l.dataSorting,p=n.xAxis,u=l.turboThreshold,f=this.xData,g=this.yData,m=(m=n.pointArrayMap)&&m.length,y=l.keys,x=0,v=1;if(c.options.chart.allowMutatingData||(l.data&&delete n.options.data,n.userOptions.data&&delete n.userOptions.data,r=E(!0,t)),r=(t=r||t||[]).length,d&&d.enabled&&(t=this.sortData(t)),!(s=c.options.chart.allowMutatingData&&!1!==o&&r&&h&&!n.cropped&&!n.hasGroupedData&&n.visible&&!n.boosted?this.updateData(t,i):s)){if(n.xIncrement=null,n.colorCounter=0,this.parallelArrays.forEach(function(t){n[t+"Data"].length=0}),u&&ui?(d=[],p=[]):this.yData&&(d[0]i)&&(d=(o=this.cropData(this.xData,this.yData,e,i)).xData,p=o.yData,c=o.start,o=!0)),a=d.length||1;--a;)0<(r=n?t(d[a])-t(d[a-1]):d[a]-d[a-1])&&(void 0===s||r=i){a=Math.max(0,r-s);break}for(i=r;io){h=i+s;break}return{xData:t.slice(a,h),yData:e.slice(a,h),start:a,end:h}},I.prototype.generatePoints=function(){var t,e,i=this.options,o=this.processedData||i.data,s=this.processedXData,r=this.processedYData,n=this.pointClass,a=s.length,h=this.cropStart||0,l=this.hasGroupedData,c=i.keys,d=[],i=i.dataGrouping&&i.dataGrouping.groupAll?h:0,p=this.data;for(p||l||((f=[]).length=o.length,p=this.data=f),c&&l&&(this.options.keys=!1),e=0;e=h&&(r[i-a]||p)<=l;if(f&&p)if(f=u.length)for(;f--;)L(u[f])&&(n[c++]=u[f]);else n[c++]=u}return t={activeYData:n,dataMin:b(n),dataMax:v(n)},P(this,"afterGetExtremes",{dataExtremes:t}),t},I.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},I.prototype.getFirstValidPoint=function(t){for(var e=t.length,i=0,o=null;null===o&&i=s.enabledThreshold*s.radius);if(!1!==s.enabled||this._hasPointMarkers)for(t=0;tl.max,c.resetZones&&0===i&&(i=void 0)}),this.clips=u):c.visible&&(f&&f.show(),g&&g.show())},I.prototype.invertGroups=function(e){function t(){["group","markerGroup"].forEach(function(t){i[t]&&(o.renderer.isVML&&i[t].attr({width:i.yAxis.len,height:i.xAxis.len}),i[t].width=i.yAxis.len,i[t].height=i.xAxis.len,i[t].invert(!i.isRadialSeries&&e))})}var i=this,o=i.chart;i.xAxis&&(i.eventsToUnbind.push(x(o,"resize",t)),t(),i.invertGroups=t)},I.prototype.plotGroup=function(t,e,i,o,s){var r=this[t],n=!r;return i={visibility:i,zIndex:o||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(i.opacity=this.opacity),n&&(this[t]=r=this.chart.renderer.g().add(s)),r.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(T(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(r.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),r.attr(i)[n?"attr":"animate"](this.getPlotBox()),r},I.prototype.getPlotBox=function(){var t=this.chart,e=this.xAxis,i=this.yAxis;return t.inverted&&(e=i,i=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:i?i.top:t.plotTop,scaleX:1,scaleY:1}},I.prototype.removeEvents=function(t){t||N(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(t){t()}),this.eventsToUnbind.length=0)},I.prototype.render=function(){var t=this,e=t.chart,i=t.options,o=d(i.animation),s=t.visible?"inherit":"hidden",r=i.zIndex,n=t.hasRendered,a=e.seriesGroup,h=e.inverted,e=!t.finishedAnimating&&e.renderer.isSVG?o.duration:0,l=(P(this,"render"),t.plotGroup("group","series",s,r,a));t.markerGroup=t.plotGroup("markerGroup","markers",s,r,a),!1!==i.clip&&t.setClip(),t.animate&&e&&t.animate(!0),l.inverted=!!j(t.invertible,t.isCartesian)&&h,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(h),t.animate&&e&&t.animate(),n||(e&&o.defer&&(e+=o.defer),t.animationTimeout=B(function(){t.afterAnimate()},e||0)),t.isDirty=!1,t.hasRendered=!0,P(t,"afterRender")},I.prototype.redraw=function(){var t=this.chart,e=this.isDirty||this.isDirtyData,i=this.group,o=this.xAxis,s=this.yAxis;i&&(t.inverted&&i.attr({width:t.plotWidth,height:t.plotHeight}),i.animate({translateX:j(o&&o.left,t.plotLeft),translateY:j(s&&s.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},I.prototype.searchPoint=function(t,e){var i=this.xAxis,o=this.yAxis,s=this.chart.inverted;return this.searchKDTree({clientX:s?i.len-t.chartY+i.pos:t.chartX-i.pos,plotY:s?o.len-t.chartX+o.pos:t.chartY-o.pos},e,t)},I.prototype.buildKDTree=function(t){this.buildingKdTree=!0;var n=this,e=-1u;)f--;this.updateParallelArrays(p,"splice",f,0,0),this.updateParallelArrays(p,f),l&&p.name&&(l[u]=p.name),c.splice(f,0,t),(r||this.processedData)&&(this.data.splice(f,0,null),this.processData()),"point"===n.legendType&&this.generatePoints(),i&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(p,"shift"),c.shift())),!1!==s&&P(this,"addPoint",{point:p}),this.isDirtyData=this.isDirty=!0,e&&h.redraw(o)},I.prototype.removePoint=function(t,e,i){function o(){a&&a.length===r.length&&a.splice(t,1),r.splice(t,1),s.options.data.splice(t,1),s.updateParallelArrays(n||{series:s},"splice",t,1),n&&n.destroy(),s.isDirty=!0,s.isDirtyData=!0,e&&h.redraw()}var s=this,r=s.data,n=r[t],a=s.points,h=s.chart;p(i,h),e=j(e,!0),n?n.firePointEvent("remove",null,o):o()},I.prototype.remove=function(t,e,i,o){function s(){r.destroy(o),n.isDirtyLegend=n.isDirtyBox=!0,n.linkSeries(),j(t,!0)&&n.redraw(e)}var r=this,n=r.chart;!1!==i?P(r,"remove",null,s):s()},I.prototype.update=function(t,e){t=R(t,this.userOptions),P(this,"update",{options:t});var i,o,s=this,r=s.chart,n=s.userOptions,a=s.initialType||s.type,h=r.options.plotOptions,l=y[a].prototype,c=s.finishedAnimating&&{animation:!1},d={},p=["eventOptions","navigatorSeries","baseSeries"],u=t.type||n.type||r.options.chart.type,f=!(this.hasDerivedData||u&&u!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||t.joinBy||t.mapData||s.hasOptionChanged("dataGrouping")||s.hasOptionChanged("pointStart")||s.hasOptionChanged("pointInterval")||s.hasOptionChanged("pointIntervalUnit")||s.hasOptionChanged("keys")),u=u||a;if(f&&(p.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&p.push("area","graph"),s.parallelArrays.forEach(function(t){p.push(t+"Data")}),t.data&&(t.dataSorting&&S(s.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=E(n,c,{index:(void 0===n.index?s:n).index,pointStart:j(h&&h.series&&h.series.pointStart,n.pointStart,s.xData[0])},!f&&{data:s.options.data},t),f&&t.data&&(t.data=s.options.data),(p=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(p)).forEach(function(t){p[t]=s[t],delete s[t]}),h=!1,y[u]){if(h=u!==s.type,s.remove(!1,!1,!1,!0),h)if(Object.setPrototypeOf)Object.setPrototypeOf(s,y[u].prototype);else{for(i in c=Object.hasOwnProperty.call(s,"hcEvents")&&s.hcEvents,l)s[i]=void 0;S(s,y[u].prototype),c?s.hcEvents=c:delete s.hcEvents}}else k(17,!0,r,{missingModuleFor:u});p.forEach(function(t){s[t]=p[t]}),s.init(r,t),f&&this.points&&(!1===(o=s.options).visible?(d.graphic=1,d.dataLabel=1):s._hasPointLabels||(t=o.marker,l=o.dataLabels,!t||!1!==t.enabled&&(n.marker&&n.marker.symbol)===t.symbol||(d.graphic=1),l&&!1===l.enabled&&(d.dataLabel=1)),this.points.forEach(function(t){t&&t.series&&(t.resolveColor(),Object.keys(d).length&&t.destroyElements(d),!1===o.showInLegend&&t.legendItem&&r.legend.destroyItem(t))},this)),s.initialType=a,r.linkSeries(),h&&s.linkedSeries.length&&(s.isDirtyData=!0),P(this,"afterUpdate"),j(e,!0)&&r.redraw(f&&void 0)},I.prototype.setName=function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},I.prototype.hasOptionChanged=function(t){var e=this.options[t],i=this.chart.options.plotOptions,o=this.userOptions[t];return o?e!==o:e!==j(i&&i[this.type]&&i[this.type][t],i&&i.series&&i.series[t],e)},I.prototype.onMouseOver=function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&P(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},I.prototype.onMouseOut=function(){var t=this.options,e=this.chart,i=e.tooltip,o=e.hoverPoint;e.hoverSeries=null,o&&o.onMouseOut(),this&&t.events.mouseOut&&P(this,"mouseOut"),!i||this.stickyTracking||i.shared&&!this.noSharedTooltip||i.hide(),e.series.forEach(function(t){t.setState("",!0)})},I.prototype.setState=function(e,t){var i=this,o=i.options,s=i.graph,r=o.inactiveOtherPoints,n=o.states,a=j(n[e||"normal"]&&n[e||"normal"].animation,i.chart.options.chart.animation),h=o.lineWidth,l=0,c=o.opacity;if(e=e||"",i.state!==e&&([i.group,i.markerGroup,i.dataLabelsGroup].forEach(function(t){t&&(i.state&&t.removeClass("highcharts-series-"+i.state),e&&t.addClass("highcharts-series-"+e))}),i.state=e,!i.chart.styledMode)){if(n[e]&&!1===n[e].enabled)return;if(e&&(h=n[e].lineWidth||h+(n[e].lineWidthPlus||0),c=j(n[e].opacity,c)),s&&!s.dashstyle)for(s.animate(o={"stroke-width":h},a);i["zone-graph-"+l];)i["zone-graph-"+l].animate(o,a),l+=1;r||[i.group,i.markerGroup,i.dataLabelsGroup,i.labelBySeries].forEach(function(t){t&&t.animate({opacity:c},a)})}t&&r&&i.points&&i.setAllPointsToState(e||void 0)},I.prototype.setAllPointsToState=function(e){this.points.forEach(function(t){t.setState&&t.setState(e)})},I.prototype.setVisible=function(e,t){var i=this,o=i.chart,s=i.legendItem,r=o.options.chart.ignoreHiddenSeries,n=i.visible,a=(i.visible=e=i.options.visible=i.userOptions.visible=void 0===e?!n:e)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(t){i[t]&&i[t][a]()}),o.hoverSeries!==i&&(o.hoverPoint&&o.hoverPoint.series)!==i||i.onMouseOut(),s&&o.legend.colorizeItem(i,e),i.isDirty=!0,i.options.stacking&&o.series.forEach(function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)}),i.linkedSeries.forEach(function(t){t.setVisible(e,!1)}),r&&(o.isDirtyBox=!0),P(i,a),!1!==t&&o.redraw()},I.prototype.show=function(){this.setVisible(!0)},I.prototype.hide=function(){this.setVisible(!1)},I.prototype.select=function(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),P(this,t?"select":"unselect")},I.prototype.shouldShowTooltip=function(t,e,i){return(i=void 0===i?{}:i).series=this,i.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,i)},I.defaultOptions=r,I.types=n.seriesTypes,I.registerType=n.registerSeriesType,S((t=I).prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:s.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:l,requireSorting:!0,sorted:!0}),n.series=t}),t(e,"Extensions/ScrollablePlotArea.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Chart/Chart.js"],e["Core/Series/Series.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],function(t,r,e,i,n,o){var a=t.stop,h=o.addEvent,l=o.createElement,c=o.defined,d=o.merge,p=o.pick;h(e,"afterSetChartSize",function(t){var s,e=(i=this.options.chart.scrollablePlotArea)&&i.minWidth,i=i&&i.minHeight;this.renderer.forExport||(e?(this.scrollablePixelsX=e=Math.max(0,e-this.chartWidth))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=d(this.plotBox),this.plotBox.width=this.plotWidth+=e,this.inverted?this.clipBox.height+=e:this.clipBox.width+=e,s={1:{name:"right",value:e}}):i&&(this.scrollablePixelsY=e=Math.max(0,i-this.chartHeight),c(e)&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=d(this.plotBox),this.plotBox.height=this.plotHeight+=e,this.inverted?this.clipBox.width+=e:this.clipBox.height+=e,s={2:{name:"bottom",value:e}})),s&&!t.skipAxes&&this.axes.forEach(function(o){s[o.side]?o.getPlotLinePath=function(){var t=s[o.side].name,e=this[t],i=(this[t]=e-s[o.side].value,r.prototype.getPlotLinePath.apply(this,arguments));return this[t]=e,i}:(o.setAxisSize(),o.setAxisTranslation())}))}),h(e,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()}),e.prototype.setUpScrolling=function(){var t=this,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingParent=l("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=l("div",{className:"highcharts-scrolling"},e,this.scrollingParent),h(this.scrollingContainer,"scroll",function(){t.pointer&&delete t.pointer.chartPosition}),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},e.prototype.moveFixedElements=function(){var t,e=this.container,i=this.fixedRenderer,o=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&o.push(t+":not(.highcharts-radial-axis)",t+"-labels:not(.highcharts-radial-axis-labels)"),o.forEach(function(t){[].forEach.call(e.querySelectorAll(t),function(t){(t.namespaceURI===i.SVG_NS?i.box:i.box.parentNode).appendChild(t),t.style.pointerEvents="auto"})})},e.prototype.applyFixed=function(){var t=!this.fixedDiv,e=this.options.chart,i=e.scrollablePlotArea,o=n.getRendererType(),s=(t?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new o(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":p(i.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),h(this,"afterShowResetZoom",this.moveFixedElements),h(this,"afterApplyDrilldown",this.moveFixedElements),h(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||t)&&(this.scrollableDirty=!1,this.moveFixedElements()),e=this.chartWidth+(this.scrollablePixelsX||0),o=this.chartHeight+(this.scrollablePixelsY||0),a(this.container),this.container.style.width=e+"px",this.container.style.height=o+"px",this.renderer.boxWrapper.attr({width:e,height:o,viewBox:[0,0,e,o].join(" ")}),this.chartBackground.attr({width:e,height:o}),this.scrollingContainer.style.height=this.chartHeight+"px",t&&(i.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*i.scrollPositionX),i.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*i.scrollPositionY)),o=this.axisOffset,t=this.plotTop-o[0]-1,i=this.plotLeft-o[3]-1,e=this.plotTop+this.plotHeight+o[2]+1,o=this.plotLeft+this.plotWidth+o[1]+1,this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0)),r=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0),t=this.scrollablePixelsX?[["M",0,t],["L",this.plotLeft-1,t],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",s,t],["L",this.chartWidth,t],["L",this.chartWidth,e],["L",s,e],["Z"]]:this.scrollablePixelsY?[["M",i,0],["L",i,this.plotTop-1],["L",o,this.plotTop-1],["L",o,0],["Z"],["M",i,r],["L",i,this.chartHeight],["L",o,this.chartHeight],["L",o,r],["Z"]]:[["M",0,0]];"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},h(r,"afterInit",function(){this.chart.scrollableDirty=!0}),h(i,"show",function(){this.chart.scrollableDirty=!0})}),t(e,"Core/Axis/Stacking/StackItem.js",[e["Core/FormatUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i){var s=t.format,h=e.series,l=i.defined,o=i.destroyObjectProperties,c=i.isNumber,d=i.pick;function r(t,e,i,o,s){var r=t.chart.inverted;this.axis=t,this.isNegative=i,this.options=e=e||{},this.x=o,this.cumulative=this.total=null,this.points={},this.hasValidPoints=!1,this.stack=s,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(r?i?"left":"right":"center"),verticalAlign:e.verticalAlign||(r?"middle":i?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(r?i?"right":"left":"center")}return r.prototype.destroy=function(){o(this,this.axis)},r.prototype.render=function(t){var e=this.axis.chart,i=this.options,o=(o=i.format)?s(o,this,e):i.formatter.call(this);this.label?this.label.attr({text:o,visibility:"hidden"}):(this.label=e.renderer.label(o,null,null,i.shape,null,null,i.useHTML,!1,"stack-labels"),o={r:i.borderRadius||0,text:o,rotation:i.rotation,padding:d(i.padding,5),visibility:"hidden"},e.styledMode||(o.fill=i.backgroundColor,o.stroke=i.borderColor,o["stroke-width"]=i.borderWidth,this.label.css(i.style)),this.label.attr(o),this.label.added||this.label.add(t)),this.label.labelrank=e.plotSizeY},r.prototype.setOffset=function(t,e,i,o,s){var r=this.axis,n=r.chart,a=(o=r.translate(r.stacking.usePercentage?100:o||this.total,0,0,0,1),i=r.translate(i||0),t=d(s,n.xAxis[0].translate(this.x))+t,r=l(o)&&this.getStackBox(n,this,t,o,e,Math.abs(o-i),r),e=this.label,i=this.isNegative,this.textAlign);e&&r&&(t=e.getBBox(),s=e.padding,o="justify"===d(this.options.overflow,"justify"),a="left"===a?n.inverted?-s:s:"right"===a?t.width:(!n.inverted||"center"!==a)&&n.inverted?i?t.width+s:-s:t.width/2,i=n.inverted?t.height/2:i?-s:t.height,this.alignOptions.x=d(this.options.x,0),this.alignOptions.y=d(this.options.y,0),r.x-=a,r.y-=i,e.align(this.alignOptions,null,r),n.isInsidePlot(e.alignAttr.x+a-this.alignOptions.x,e.alignAttr.y+i-this.alignOptions.y)?e.show():(e.hide(),o=!1),o&&h.prototype.justifyDataLabel.call(this.axis,e,this.alignOptions,e.alignAttr,t,r),e.attr({x:e.alignAttr.x,y:e.alignAttr.y}),d(!o&&this.options.crop,!0)&&!(n=c(e.x)&&c(e.y)&&n.isInsidePlot(e.x-s+e.width,e.y)&&n.isInsidePlot(e.x+s,e.y))&&e.hide())},r.prototype.getStackBox=function(t,e,i,o,s,r,n){var a=e.axis.reversed,h=t.inverted,l=n.height+n.pos-(h?t.plotLeft:t.plotTop);return e=e.isNegative&&!a||!e.isNegative&&a,{x:h?e?o-n.right:o-r+n.pos-t.plotLeft:i+t.xAxis[0].transB-t.plotLeft,y:h?n.height-i-s:e?l-o-r:l-o,width:h?r:s,height:h?s:r}},t=r}),t(e,"Core/Axis/Stacking/StackingAxis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],function(t,e,i,M,o){function s(){var i=this,o=i.inverted;i.yAxis.forEach(function(t){t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)}),i.series.forEach(function(t){var e=t.xAxis&&t.xAxis.options||{};!t.options.stacking||!0!==t.visible&&!1!==i.options.chart.ignoreHiddenSeries||(t.stackKey=[t.type,w(t.options.stack,""),o?e.top:e.left,o?e.height:e.width].join())})}function r(){var i,t=this.stacking;t&&(i=t.stacks,b(i,function(t,e){y(t),i[e]=null}),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy())}function n(){this.stacking||(this.stacking=new A(this))}function a(t,e,i,o){return!S(t)||t.x!==e||o&&t.stackKey!==o?t={x:e,index:0,key:o,stackKey:o}:t.index++,t.key=[i,e,t.index].join(),t}function h(){var s,r=this,t=r.stackKey,n=r.yAxis.stacking.stacks,a=r.processedXData,h=r[r.options.stacking+"Stacker"];h&&[t,"-"+t].forEach(function(t){for(var e,i,o=a.length;o--;)e=a[o],s=r.getStackIndicator(s,e,r.index,t),(i=(e=n[t]&&n[t][e])&&e.points[s.key])&&h.call(r,i,e,o)})}function l(t,e,i){e=e.total?100/e.total:0,t[0]=k(t[0]*e),t[1]=k(t[1]*e),this.stackedYData[i]=t[1]}function c(){var i=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1m?e-m:g-(o?m:0)),C(t.options.pointWidth)&&(n=h=Math.ceil(t.options.pointWidth),a-=Math.round((n-x)/2)),d.centerInCategory&&(a=l.adjustForMissingColumns(a,n,t,y)),t.barX=a,t.pointWidth=n,t.tooltipPos=c.inverted?[S(u.len+u.pos-c.plotLeft-i,u.pos-c.plotLeft,u.len+u.pos-c.plotLeft),p.len+p.pos-c.plotTop-a-h/2,r]:[p.left-c.plotLeft+a+h/2,S(i+u.pos-c.plotTop,u.pos-c.plotTop,u.len+u.pos-c.plotTop),r],t.shapeType=l.pointClass.prototype.shapeType||"rect",t.shapeArgs=l.crispCol.apply(l,t.isNull?[a,g,h,0]:[a,s,h,r])})},v.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},v.prototype.pointAttribs=function(t,e){var i,o=this.options,s=(h=this.pointAttrToOptions||{}).stroke||"borderColor",r=h["stroke-width"]||"borderWidth",n=t&&t.color||this.color,a=t&&t[s]||o[s]||n,h=t&&t.options.dashStyle||o.dashStyle,l=t&&t[r]||o[r]||this[r]||0,c=A(t&&t.opacity,o.opacity,1);return t&&this.zones.length&&(i=t.getZone(),n=t.options.color||i&&(i.color||t.nonZonedColor)||this.color,i&&(a=i.borderColor||a,h=i.dashStyle||h,l=i.borderWidth||l)),e&&t&&(e=(t=y(o.states[e],t.options.states&&t.options.states[e]||{})).brightness,n=t.color||void 0!==e&&d(n).brighten(t.brightness).get()||n,a=t[s]||a,l=t[r]||l,h=t.dashStyle||h,c=A(t.opacity,c)),s={fill:n,stroke:a,"stroke-width":l,opacity:c},h&&(s.dashstyle=h),s},v.prototype.drawPoints=function(){var s,r=this,n=this.chart,a=r.options,h=n.renderer,l=a.animationLimit||250;r.points.forEach(function(t){var e=t.graphic,i=!!e,o=e&&n.pointCount"===n&&h="===n&&h<=a||"<="===n&&a<=h||"=="===n&&a==h||"==="===n&&a===h)),a=d.connectors?d.connectors[e]:d.connector,h=d.dataLabels?d.dataLabels[e]:d.dataLabel,l=!h,c=k(t.distance,d.labelDistance);n&&(i=d.getLabelConfig(),o=k(t[d.formatPrefix+"Format"],t.format),i=v(o)?x(o,i,f):(t[d.formatPrefix+"Formatter"]||t.formatter).call(i,t),o=t.style,s=t.rotation,f.styledMode||(o.color=k(t.color,o.color,u.color,"#000000"),"contrast"===o.color?(d.contrastColor=m.getContrast(d.color||u.color),o.color=!v(c)&&t.inside||c<0||g.stacking?d.contrastColor:y):delete d.contrastColor,g.cursor&&(o.cursor=g.cursor)),r={r:t.borderRadius||0,rotation:s,padding:t.padding,zIndex:1},f.styledMode||(r.fill=t.backgroundColor,r.stroke=t.borderColor,r["stroke-width"]=t.borderWidth),M(r,function(t,e){void 0===t&&delete r[e]})),!h||n&&v(i)&&!!h.div==!!t.useHTML&&(h.rotation&&t.rotation||h.rotation===t.rotation)||(l=!0,d.dataLabel=h=d.dataLabel&&d.dataLabel.destroy(),d.dataLabels&&(1===d.dataLabels.length?delete d.dataLabels:delete d.dataLabels[e]),e||delete d.dataLabel,a&&(d.connector=d.connector.destroy(),d.connectors&&(1===d.connectors.length?delete d.connectors:delete d.connectors[e]))),n&&v(i)?(h?r.text=i:(d.dataLabels=d.dataLabels||[],h=d.dataLabels[e]=s?m.text(i,0,0,t.useHTML).addClass("highcharts-data-label"):m.label(i,0,0,t.shape,null,null,t.useHTML,null,"data-label"),e||(d.dataLabel=h),h.addClass(" highcharts-data-label-color-"+d.colorIndex+" "+(t.className||"")+(t.useHTML?" highcharts-tracker":""))),h.options=t,h.attr(r),f.styledMode||h.css(o).shadow(t.shadow),t.textPath&&!t.useHTML&&(h.setTextPath(d.getDataLabelPath&&d.getDataLabelPath(h)||d.graphic,t.textPath),d.dataLabelPath&&!t.textPath.enabled&&(d.dataLabelPath=d.dataLabelPath.destroy())),h.added||h.add(p),u.alignDataLabel(d,h,t,null,l)):h&&h.hide()})})),n(this,"afterDrawDataLabels")}function u(t,e,i,o,s,r){var n,a=this.chart,h=e.align,l=e.verticalAlign,c=!t.box&&t.padding||0,d=void 0===(d=e.x)?0:d,p=void 0===(p=e.y)?0:p,u=(i.x||0)+c;return u<0&&("right"===h&&0<=d?(e.align="left",e.inside=!0):d-=u,n=!0),(u=(i.x||0)+o.width-c)>a.plotWidth&&("left"===h&&d<=0?(e.align="right",e.inside=!0):d+=a.plotWidth-u,n=!0),(u=i.y+c)<0&&("bottom"===l&&0<=p?(e.verticalAlign="top",e.inside=!0):p-=u,n=!0),(u=(i.y||0)+o.height-c)>a.plotHeight&&("top"===l&&p<=0?(e.verticalAlign="bottom",e.inside=!0):p+=a.plotHeight-u,n=!0),n&&(e.x=d,e.y=p,t.placed=!r,t.align(e,void 0,s)),n}function S(e,i){var t,o=[];if(a(e)&&!a(i))o=e.map(function(t){return l(t,i)});else if(a(i)&&!a(e))o=i.map(function(t){return l(e,t)});else if(a(e)||a(i))for(t=Math.max(e.length,i.length);t--;)o[t]=l(e[t],i[t]);else o=l(e,i);return o}function f(t,e,i,o,s){var r=this.chart,n=r.inverted,a=this.xAxis,h=a.reversed,l=n?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=n?s.x:h?-l-t:a.width-l+t,e.startYPos=n?h?this.yAxis.height-l+t:-l-t:s.y,o?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),r.hasRendered&&(i&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}return o=o||{},s=[],o.compose=function(t){var e;-1===s.indexOf(t)&&(e=t.prototype,s.push(t),e.alignDataLabel=d,e.drawDataLabels=p,e.justifyDataLabel=u,e.setDataLabelStartPos=f)},o}),t(e,"Series/Column/ColumnDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,t,i){var o,s,d=t.series,p=i.merge,u=i.pick;function r(t,e,i,o,s){var r=this.chart.inverted,n=((a=t.series).xAxis?a.xAxis.len:this.chart.plotSizeX)||0,a=(a.yAxis?a.yAxis.len:this.chart.plotSizeY)||0,h=t.dlBox||t.shapeArgs,l=u(t.below,t.plotY>u(this.translatedThreshold,a)),c=u(i.inside,!!this.options.stacking);h&&((o=p(h)).y<0&&(o.height+=o.y,o.y=0),0<(h=o.y+o.height-a)&&h {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}}),h((e=c).prototype,{drawTracker:r.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),a(e,"afterTranslate",function(){this.applyJitter()}),t.registerSeriesType("scatter",e),e}),t(e,"Series/CenteredUtilities.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(t,c,e){var i,o=t.deg2rad,d=e.fireEvent,p=e.isNumber,u=e.pick,f=e.relativeLength;return(t=i=i||{}).getCenter=function(){var t=this.options,e=this.chart,i=2*(t.slicedOffset||0),o=e.plotWidth-2*i,s=e.plotHeight-2*i,r=t.center,n=Math.min(o,s),a=t.thickness,h=t.size,l=t.innerSize||0;for("string"==typeof h&&(h=parseFloat(h)),"string"==typeof l&&(l=parseFloat(l)),t=[u(r[0],"50%"),u(r[1],"50%"),u(h&&h<0?void 0:t.size,"100%"),u(l&&l<0?void 0:t.innerSize||0,"0%")],!e.angular||this instanceof c||(t[3]=0),r=0;r<4;++r)h=t[r],e=r<2||2===r&&/%$/.test(h),t[r]=f(h,[o,s,n,t[2]][r])+(e?i:0);return t[3]>t[2]&&(t[3]=t[2]),p(a)&&2*at.x||se.x)&&(o=!1),t=[["M",t.x,t.y]],o&&t.push(i),t.push(["L",e.x,e.y]),t}}}),e}),t(e,"Series/Pie/PieSeries.js",[e["Series/CenteredUtilities.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Series/Pie/PiePoint.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],function(t,e,i,o,s,r,n,a,h){var l,c,d=this&&this.__extends||(l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),m=t.getStartAndEndRadians,p=(i=i.noop,h.clamp),u=h.extend,y=h.fireEvent,f=h.merge,x=h.pick,v=h.relativeLength;function g(){var t=null!==c&&c.apply(this,arguments)||this;return t.center=void 0,t.data=void 0,t.maxLabelDistance=void 0,t.options=void 0,t.points=void 0,t}return d(g,c=r),g.prototype.animate=function(t){var o=this,e=o.points,s=o.startAngleRad;t||e.forEach(function(t){var e=t.graphic,i=t.shapeArgs;e&&i&&(e.attr({r:x(t.startR,o.center&&o.center[3]/2),start:s,end:s}),e.animate({r:i.r,start:i.start,end:i.end},o.options.animation))})},g.prototype.drawEmpty=function(){var t,e,i=this.startAngleRad,o=this.endAngleRad,s=this.options;0===this.total&&this.center?(t=this.center[0],e=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(t,e,this.center[1]/2,0,i,o).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:a.arc(t,e,this.center[2]/2,0,{start:i,end:o,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":s.borderWidth,fill:s.fillColor||"none",stroke:s.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())},g.prototype.drawPoints=function(){var e=this.chart.renderer;this.points.forEach(function(t){t.graphic&&t.hasNewShapeType()&&(t.graphic=t.graphic.destroy()),t.graphic||(t.graphic=e[t.shapeType](t.shapeArgs).add(t.series.group),t.delayedRendering=!0)})},g.prototype.generatePoints=function(){c.prototype.generatePoints.call(this),this.updateTotals()},g.prototype.getX=function(t,e,i){var o=this.center,s=this.radii?this.radii[i.index]||0:o[2]/2;return t=Math.asin(p((t-o[1])/(s+i.labelDistance),-1,1)),o[0]+(e?-1:1)*Math.cos(t)*(s+i.labelDistance)+(01.5*Math.PI?u-=2*Math.PI:u<-Math.PI/2&&(u+=2*Math.PI),d.slicedTranslation={translateX:Math.round(Math.cos(u)*i),translateY:Math.round(Math.sin(u)*i)},f=Math.cos(u)*t[2]/2,Math.sin(u)*t[2]/2);d.tooltipPos=[t[0]+.7*f,t[1]+.7*g],d.half=u<-Math.PI/2||u>Math.PI/2?1:0,d.angle=u,p=Math.min(o,d.labelDistance/5),d.labelPosition={natural:{x:t[0]+f+Math.cos(u)*d.labelDistance,y:t[1]+g+Math.sin(u)*d.labelDistance},final:{},alignment:d.labelDistance<0?"center":d.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+f+Math.cos(u)*p,y:t[1]+g+Math.sin(u)*p},touchingSliceAt:{x:t[0]+f,y:t[1]+g}}}}y(this,"afterTranslate")},g.prototype.updateTotals=function(){for(var t=this.points,e=t.length,i=this.options.ignoreHiddenPoint,o=0,s=0;se&&(t.dataLabel.css({width:Math.round(.7*e)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))}),s.forEach(function(t,e){var i,o,s,r=t.length,n=[];if(r)for(m.sortByAngle(t,e-.5),0e.bottom-2?o:i,e.half,e)},justify:function(t,e,i){return i[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,i,o){return t=t.getBBox().width,e?t+o:i-t-o},alignToConnectors:function(t,e,i,o){var s,r=0;return t.forEach(function(t){s=t.dataLabel.getBBox().width,r=a.x+a.width||c.x+c.width<=a.x||c.y>=a.y+a.height||c.y+c.height<=a.y||((r.labelrank=r(i.minWidth,0)&&this.chartHeight>=r(i.minHeight,0)}).call(this)&&e.push(t._id)},u.prototype.setResponsive=function(t,e){var i=this,o=this.options.responsive,s=this.currentResponsive,r=[];!e&&o&&o.rules&&o.rules.forEach(function(t){void 0===t._id&&(t._id=p()),i.matchResponsiveRule(t,r)},this),(e=a.apply(void 0,r.map(function(e){return n((o||{}).rules||[],function(t){return t._id===e})}).map(function(t){return t&&t.chartOptions}))).isResponsiveOptions=!0,(r=r.toString()||void 0)!==(s&&s.ruleIds)&&(s&&this.update(s.undoOptions,t,!0),r?((s=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:r,mergedOptions:e,undoOptions:s},this.update(e,t,!0)):this.currentResponsive=void 0)},o=u,e}),t(e,"masters/highcharts.src.js",[e["Core/Globals.js"],e["Core/Utilities.js"],e["Core/DefaultOptions.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/FormatUtilities.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Renderer/HTML/HTMLElement.js"],e["Core/Renderer/HTML/HTMLRenderer.js"],e["Core/Axis/Axis.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Axis/LogarithmicAxis.js"],e["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],e["Core/Axis/Tick.js"],e["Core/Tooltip.js"],e["Core/Series/Point.js"],e["Core/Pointer.js"],e["Core/MSPointer.js"],e["Core/Legend/Legend.js"],e["Core/Chart/Chart.js"],e["Core/Axis/Stacking/StackingAxis.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Series/Column/ColumnSeries.js"],e["Series/Column/ColumnDataLabel.js"],e["Series/Pie/PieSeries.js"],e["Series/Pie/PieDataLabel.js"],e["Core/Series/DataLabel.js"],e["Core/Responsive.js"],e["Core/Color/Color.js"],e["Core/Time.js"]],function(t,e,i,o,s,r,n,a,h,l,c,d,p,u,f,g,m,y,x,v,b,M,k,S,C,w,A,T,P,O,L,E,D,j,B){return t.animate=s.animate,t.animObject=s.animObject,t.getDeferredAnimation=s.getDeferredAnimation,t.setAnimation=s.setAnimation,t.stop=s.stop,t.timers=o.timers,t.AST=r,t.Axis=p,t.Chart=k,t.chart=k.chart,t.Fx=o,t.Legend=M,t.PlotLineOrBand=g,t.Point=x,t.Pointer=b.isRequired()?b:v,t.Series=w,t.StackItem=C,t.SVGElement=h,t.SVGRenderer=l,t.Tick=m,t.Time=B,t.Tooltip=y,t.Color=j,t.color=j.parse,d.compose(l),c.compose(h),t.defaultOptions=i.defaultOptions,t.getOptions=i.getOptions,t.time=i.defaultTime,t.setOptions=i.setOptions,t.dateFormat=n.dateFormat,t.format=n.format,t.numberFormat=n.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=a.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=A.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,P.compose(T),E.compose(w),u.compose(p),f.compose(p),L.compose(O),g.compose(p),D.compose(k),S.compose(p,k,w),t}),t(e,"Core/Axis/OrdinalAxis.js",[e["Core/Axis/Axis.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(t,m,y,e){var i,x=e.addEvent,v=e.correctFloat,b=e.css,M=e.defined,k=e.error,S=e.pick,C=e.timeUnits,w=[];return function(o){function s(t,e,i,o,s,r,n){void 0===s&&(s=[]),void 0===r&&(r=0);var a,h={},l=this.options.tickPixelInterval,c=this.chart.time,d=[],p=0,u=[],f=-Number.MAX_VALUE;if(!this.options.ordinal&&!this.options.breaks||!s||s.length<3||void 0===e)return c.getTimeTicks.apply(c,arguments);for(var g,m=s.length,y=0;yi;if(s[y]5*r||x){if(s[y]>f){for(a=c.getTimeTicks(t,s[p],s[y],o);a.length&&a[0]<=f;)a.shift();a.length&&(f=a[a.length-1]),d.push(u.length),u=u.concat(a)}p=y+1}if(x)break}if(a){if(a=a.info,n&&a.unitRange<=C.hour){for(y=u.length-1,p=1;pi?a-1:a,y=void 0;g--;)d=c[g],a=Math.abs(y-d),y&&a<.8*l&&(null===p||a<.8*p)?(h[u[g]]&&!h[u[g+1]]?(a=g+1,y=d):a=g,u.splice(a,1)):y=d}return u}function r(t){var e=this.ordinal.positions;if(!e)return t;var i,o=e.length-1;return t<0?t=e[0]:o(c=(p=n<0?(d=a,u.ordinal.positions?u:a):(d=u.ordinal.positions?u:a,a)).ordinal.positions)[c.length-1]&&c.push(i),this.fixedRange=s-o,(c=u.navigatorAxis.toFixedRange(void 0,void 0,h.apply(d,[l.apply(d,[o,!0])+n]),h.apply(p,[l.apply(p,[s,!0])+n]))).min>=Math.min(e.dataMin,o)&&c.max<=Math.max(i,s)+f&&u.setExtremes(c.min,c.max,!0,!1,{trigger:"pan"}),this.mouseDownX=g,b(this.container,{cursor:"move"})):y=!0):y=!0,y||m&&/y/.test(m.type)?f&&(u.max=u.dataMax+f):t.preventDefault()}function u(){var t=this.xAxis;t&&t.options.ordinal&&(delete t.ordinal.index,delete t.ordinal.extendedOrdinalPositions)}function f(t,e){var i=this.ordinal,o=i.positions,s=i.slope,r=i.extendedOrdinalPositions;if(!o)return t;var n=o.length;if(o[0]<=t&&o[n-1]>=t)t=a(o,t);else{if(r||(r=i.getExtendedPositions&&i.getExtendedPositions(),i.extendedOrdinalPositions=r),!r||!r.length)return t;n=r.length,s=s||(r[n-1]-r[0])/n,o=a(r,o[0]),t=t>=r[0]&&t<=r[n-1]?a(r,t)-o:tg||s-h[h.length-1]>g)&&(c=!0)}else t.options.overscroll&&(2===f?l=h[1]-h[0]:1===f?(l=t.options.overscroll,h=[h[0],h[0]+l]):l=e.overscrollPointsRange);c||t.forceOrdinal?(t.options.overscroll&&(e.overscrollPointsRange=l,h=h.concat(e.getOverscrollPositions())),e.positions=h,g=t.ordinal2lin(Math.max(o,h[0]),!0),m=Math.max(t.ordinal2lin(Math.min(s,h[h.length-1]),!0),1),e.slope=s=(s-o)/(m-g),e.offset=o-g*s):(e.overscrollPointsRange=S(t.closestPointRange,e.overscrollPointsRange),e.positions=t.ordinal.slope=e.offset=void 0)}t.isOrdinal=n&&c,e.groupIntervalFactor=null},g.findIndexOf=function(t,e,i){for(var o,s=0,r=t.length-1;s=(this.xAxis.min||0)){this.dataModify.compareValue=n;break}}}}function S(t,e){this.setModifier("compare",t,e)}function C(t,e){t=m(t,!1),this.options.cumulative=this.userOptions.cumulative=t,this.update({},m(e,!0)),this.dataModify?this.dataModify.initCumulative():this.points.forEach(function(t){delete t.cumulativeSum})}function w(t,e){this.setModifier("cumulative",t,e)}function A(t){this.series=t}return e=s=s||{},r=[],e.compose=function(t,e,i){var o;return-1===r.indexOf(t)&&(r.push(t),(o=t.prototype).setCompare=M,o.setCumulative=C,h(t,"afterInit",v),h(t,"afterGetExtremes",b),h(t,"afterProcessData",k)),-1===r.indexOf(e)&&(r.push(e),(e=e.prototype).setCompare=S,e.setModifier=y,e.setCumulative=w),-1===r.indexOf(i)&&(r.push(i),i.prototype.tooltipFormatter=x),t},A.prototype.modifyValue=function(){return 0},A.getCumulativeExtremes=function(t){var i=1/0,o=-1/0;return t.reduce(function(t,e){return e=t+e,i=Math.min(i,e,t),o=Math.max(o,e,t),e}),[i,o]},A.prototype.initCompare=function(o){this.modifyValue=function(t,e){var i=this.compareValue;return void 0!==(t=null===t?0:t)&&void 0!==i?(t="value"===o?t-i:t/i*100-(100===this.series.options.compareBase?0:100),void 0!==e&&(e=this.series.points[e])&&(e.change=t),t):0}},A.prototype.initCumulative=function(){this.modifyValue=function(t,e){var i;return void 0!==(t=null===t?0:t)&&void 0!==e?((i=0t.to||s>t.from&&nt.from&&nt.from&&n>t.to&&n=this.basePointRange&&(s=e),t=void 0;r--;)t&&!1!==t.visible||(t=i[r+1]),e=i[r],!1!==t.visible&&!1!==e.visible&&(t.x-e.x>s&&(t=(e.x+t.x)/2,i.splice(r+1,0,{isNull:!0,x:t}),o.stacking&&this.options.stacking&&((t=o.stacking.stacks[this.stackKey][t]=new n(o,o.options.stackLabels,!1,t,this.stack)).total=0)),t=e);return this.getGraphPath(i)}function v(t){this.hasBreaks=!1,this.axis=t}return t=e=e||{},o=[],t.compose=function(t,e){var i;return-1===o.indexOf(t)&&(o.push(t),t.keepProps.push("brokenAxis"),s(t,"init",d),s(t,"afterInit",h),s(t,"afterSetTickPositions",c),s(t,"afterSetOptions",l)),-1===o.indexOf(e)&&(o.push(e),(i=e.prototype).drawBreaks=y,i.gappedPath=x,s(e,"afterGeneratePoints",p),s(e,"afterRender",m)),t},v.isInBreak=function(t,e){var i=t.repeat||1/0,o=t.from,s=t.to-t.from;return e=o<=e?(e-o)%i:i-(o-e)%i,t.inclusive?e<=s:e=t)break;(o.to=t)break;if(v.isInBreak(s,t)){i-=t-s.from;break}}}return i},v.prototype.findBreakAt=function(e,t){return r(t,function(t){return t.from=i[0]);b++);for(;b<=c;b++){for(;void 0!==i[y+1]&&t[b]>=i[y+1]||b===c;){var M=i[y],k=(s.dataGroupInfo={start:m?x:s.cropStart+x,length:p[0].length},o.apply(s,p));for(s.pointClass&&!C(s.dataGroupInfo.options)&&(s.dataGroupInfo.options=A(s.pointClass.prototype.optionsToObject.call({series:s},s.options.data[s.cropStart+x])),g.forEach(function(t){delete s.dataGroupInfo.options[t]})),void 0!==k&&(a.push(M),h.push(k),l.push(s.dataGroupInfo)),x=b,M=0;M=i[0]&&(m=this.groupMap[0].start,x=this.groupMap[0].length,f=void 0,w(m)&&w(x)&&(f=m+(x-1)),i[0]={middle:i[0]+.5*d,end:i[0]+d,firstPoint:this.xData[0],lastPoint:f&&this.xData[f]}[y]),u&&"start"!==u&&d&&i[g]>=p-d&&(p=this.groupMap[this.groupMap.length-1].start,i[g]={middle:i[g]+.5*d,end:i[g]+d,firstPoint:p&&this.xData[p],lastPoint:this.xData[this.xData.length-1]}[u])}for(p=1;pa.max&&((!C(a.options.max)&&w(a.dataMax)&&a.max>=a.dataMax||a.max===a.dataMax)&&(a.max=Math.max(r[r.length-1],a.max)),a.dataMax=Math.max(r[r.length-1],a.dataMax))),o.groupAll&&(this.allGroupedData=h,s=(o=this.cropData(s,h,a.min,a.max,1)).xData,h=o.yData,this.cropStart=o.start),this.processedXData=s,this.processedYData=h}else this.groupMap=null;this.hasGroupedData=e,this.currentDataGrouping=p,this.preventGraphAnimation=(n&&n.totalRange)!==(p&&p.totalRange)}},b.destroyGroupedData=function(){this.groupedData&&(this.groupedData.forEach(function(t,e){t&&(this.groupedData[e]=t.destroy?t.destroy():null)},this),this.groupedData.length=0)},b.generatePoints=function(){f.apply(this),this.destroyGroupedData(),this.groupedData=this.hasGroupedData?this.points:null},o.prototype.applyGrouping=function(e){var i=this,t=i.series;t.forEach(function(t){t.groupPixelWidth=void 0}),t.forEach(function(t){t.groupPixelWidth=i.getGroupPixelWidth&&i.getGroupPixelWidth(),t.groupPixelWidth&&(t.hasProcessed=!0),t.applyGrouping(!!e.hasExtemesChanged)})},o.prototype.getGroupPixelWidth=function(){for(var t,e=this.series,i=e.length,o=0,s=!1,r=i;r--;)(t=e[r].options.dataGrouping)&&(o=Math.max(o,k(t.groupPixelWidth,g.groupPixelWidth)));for(r=i;r--;)(t=e[r].options.dataGrouping)&&(i=(e[r].processedXData||e[r].data).length,(e[r].groupPixelWidth||i>this.chart.plotSizeX/o||i&&t.forced)&&(s=!0));return s?o:0},o.prototype.setDataGrouping=function(e,t){var i;if(t=k(t,!0),e=e||{forced:!1,units:null},this instanceof o)for(i=this.series.length;i--;)this.series[i].update({dataGrouping:e},!1);else this.chart.options.series.forEach(function(t){t.dataGrouping="boolean"==typeof e?e:A(e,t.dataGrouping)});this.ordinal&&(this.ordinal.slope=void 0),t&&this.chart.redraw()},t(o,"postProcessData",o.prototype.applyGrouping),t(i,"update",function(){if(this.dataGroup)return M(24,!1,this.series.chart),!1}),t(r,"headerFormatter",function(t){var e,i,o=this.chart,s=o.time,r=t.labelConfig,n=r.series,a=n.tooltipOptions,h=n.options.dataGrouping,l=a.xDateFormat,c=n.xAxis,d=a[t.isFooter?"footerFormat":"headerFormat"];c&&"datetime"===c.options.type&&h&&w(r.key)&&(e=n.currentDataGrouping,h=h.dateTimeLabelFormats||g.dateTimeLabelFormats,e?(a=h[e.unitName],1===e.count?l=a[0]:(l=a[1],i=a[2])):!l&&h&&c.dateTime&&(l=c.dateTime.getXDateFormat(r.x,a.dateTimeLabelFormats)),l=s.dateFormat(l,r.key),i&&(l+=s.dateFormat(i,r.key+e.totalRange-1)),n.chart.styledMode&&(d=this.styledModeFormat(d)),t.text=p(d,{point:u(r.point,{key:l}),series:n},o),t.preventDefault())}),t(s,"destroy",b.destroyGroupedData),t(s,"afterSetOptions",function(t){t=t.options;var e,i=this.type,o=this.chart.options.plotOptions,s=n.defaultOptions.plotOptions[i].dataGrouping,r=this.useCommonDataGrouping&&g;o&&(m[i]||r)&&(s=s||A(g,m[i]),e=this.chart.rangeSelector,t.dataGrouping=A(r,s,o.series&&o.series.dataGrouping,o[i].dataGrouping,this.userOptions.dataGrouping,!t.isInternal&&e&&w(e.selected)&&e.buttonOptions[e.selected].dataGrouping))}),t(o,"afterSetScale",function(){this.series.forEach(function(t){t.hasProcessed=!1})}),e.dataGrouping=d}),t(e,"Series/HLC/HLCPoint.js",[e["Core/Series/SeriesRegistry.js"]],function(t){var o,e,i=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});return e=t.seriesTypes.column.prototype.pointClass,i(s,e),s;function s(){var t=null!==e&&e.apply(this,arguments)||this;return t.close=void 0,t.high=void 0,t.low=void 0,t.options=void 0,t.plotClose=void 0,t.series=void 0,t}}),t(e,"Series/HLC/HLCSeries.js",[e["Series/HLC/HLCPoint.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i){var o,n,s=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=e.seriesTypes.column,a=i.extend,h=i.merge;function l(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t.yData=void 0,t}return s(l,n=r),l.prototype.extendStem=function(t,e,i){var o=t[0];t=t[1],"number"==typeof o[2]&&(o[2]=Math.max(i+e,o[2])),"number"==typeof t[2]&&(t[2]=Math.min(i-e,t[2]))},l.prototype.getPointPath=function(t,e){e=e.strokeWidth();var i=t.series,o=e%2/2,s=Math.round(t.plotX)-o,r=Math.round(t.shapeArgs.width/2),n=[["M",s,Math.round(t.yBottom)],["L",s,Math.round(t.plotHigh)]];return null!==t.close&&(t=Math.round(t.plotClose)+o,n.push(["M",s,t],["L",s+r,t]),i.extendStem(n,e/2,t)),n},l.prototype.drawSinglePoint=function(t){var e=t.series,i=e.chart,o=t.graphic,s=!o;void 0!==t.plotY&&(o||(t.graphic=o=i.renderer.path().add(e.group)),i.styledMode||o.attr(e.pointAttribs(t,t.selected&&"select")),e=e.getPointPath(t,o),o[s?"attr":"animate"]({d:e}).addClass(t.getClassName(),!0))},l.prototype.drawPoints=function(){this.points.forEach(this.drawSinglePoint)},l.prototype.init=function(){n.prototype.init.apply(this,arguments),this.options.stacking=void 0},l.prototype.pointAttribs=function(t,e){return delete(t=n.prototype.pointAttribs.call(this,t,e)).fill,t},l.prototype.toYData=function(t){return[t.high,t.low,t.close]},l.prototype.translate=function(){var o=this,s=o.yAxis,t=this.pointArrayMap&&this.pointArrayMap.slice()||[],r=t.map(function(t){return"plot".concat(t.charAt(0).toUpperCase()+t.slice(1))});r.push("yBottom"),t.push("low"),n.prototype.translate.apply(o),o.points.forEach(function(i){t.forEach(function(t,e){null!==(t=i[t])&&(o.dataModify&&(t=o.dataModify.modifyValue(t)),i[r[e]]=s.toPixels(t,!0))}),i.tooltipPos[1]=i.plotHigh+s.pos-o.chart.plotTop})},l.defaultOptions=h(r.defaultOptions,{lineWidth:1,tooltip:{pointFormat:' {series.name}
High: {point.high}
Low: {point.low}
Close: {point.close}
'},threshold:null,states:{hover:{lineWidth:3}},stickyTracking:!0}),a((i=l).prototype,{animate:null,directTouch:!1,pointArrayMap:["high","low","close"],pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"},pointValKey:"close"}),i.prototype.pointClass=t,e.registerSeriesType("hlc",i),i}),t(e,"Series/OHLC/OHLCPoint.js",[e["Core/Series/SeriesRegistry.js"]],function(t){var o,e,i=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});return e=t.seriesTypes.hlc.prototype.pointClass,i(s,e),s.prototype.getClassName=function(){return e.prototype.getClassName.call(this)+(this.open {series.name}
Open: {point.open}
High: {point.high}
Low: {point.low}
Close: {point.close}
'}}),d);function d(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return l(c.prototype,{pointArrayMap:["open","high","low","close"]}),c.prototype.pointClass=t,e.registerSeriesType("ohlc",c),h(r,"init",function(t){(t=t.options).useOhlcData&&"highcharts-navigator-series"!==t.id&&l(this,{pointValKey:c.prototype.pointValKey,pointArrayMap:c.prototype.pointArrayMap,toYData:c.prototype.toYData})}),h(r,"afterSetOptions",function(t){var e=(t=t.options).dataGrouping;e&&t.useOhlcData&&"highcharts-navigator-series"!==t.id&&(e.approximation="ohlc")}),c}),t(e,"Series/Candlestick/CandlestickSeries.js",[e["Core/DefaultOptions.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i){var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),n=t.defaultOptions,a=(t=e.seriesTypes).column,t=t.ohlc,h=i.merge;function l(){var t=null!==s&&s.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(l,s=t),l.prototype.pointAttribs=function(t,e){var i=a.prototype.pointAttribs.call(this,t,e),o=this.options,s=t.openthis.xAxis.len,u=d.plotX,f=d.stackIndex,g=d.options.shape||r.shape,m=d.plotY,y=(void 0!==m&&(m=d.plotY+n-(void 0!==f&&f*r.stackDistance)),d.anchorX=f?void 0:d.plotX,f?void 0:d.plotY),x="flag"!==g,f=d.graphic;void 0!==m&&0<=u&&!p?((f=f&&d.hasNewShapeType()?f.destroy():f)||(f=d.graphic=o.label("",null,null,g,null,null,r.useHTML).addClass("highcharts-point").add(this.markerGroup),d.graphic.div&&(d.graphic.div.point=d),f.isNew=!0),f.attr({align:x?"center":"left",width:r.width,height:r.height,"text-align":r.textAlign}),i.styledMode||f.attr(this.pointAttribs(d)).css(k(r.style,d.style)).shadow(r.shadow),0this.calculatedWidth?e.minWidth:0;return{chartX:(t.chartX-this.x-this.xOffset)/(this.barWidth-e),chartY:(t.chartY-this.y-this.yOffset)/(this.barWidth-e)}},f.prototype.destroy=function(){var e=this,t=e.chart.scroller;e.removeEvents(),["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach(function(t){e[t]&&e[t].destroy&&(e[t]=e[t].destroy())}),t&&e===t.scrollbar&&(t.scrollbar=null,r(t.scrollbarButtons))},f.prototype.drawScrollbarButton=function(t){var e=this.renderer,i=this.scrollbarButtons,o=this.options,s=this.size,r=e.g().add(this.group);i.push(r),r=e.rect().addClass("highcharts-scrollbar-button").add(r),this.chart.styledMode||r.attr({stroke:o.buttonBorderColor,"stroke-width":o.buttonBorderWidth,fill:o.buttonBackgroundColor}),r.attr(r.crisp({x:-.5,y:-.5,width:s+1,height:s+1,r:o.buttonBorderRadius},r.strokeWidth())),r=e.path(f.swapXY([["M",s/2+(t?-1:1),s/2-3],["L",s/2+(t?-1:1),s/2+3],["L",s/2+(t?2:-2),s/2]],o.vertical)).addClass("highcharts-scrollbar-arrow").add(i[t]),this.chart.styledMode||r.attr({fill:o.buttonArrowColor})},f.prototype.init=function(t,e,i){this.scrollbarButtons=[],this.renderer=t,this.userOptions=e,this.options=d(o,s.scrollbar,e),this.chart=i,this.size=p(this.options.size,this.options.height),e.enabled&&(this.render(),this.addEvents())},f.prototype.mouseDownHandler=function(t){t=this.chart.pointer.normalize(t),t=this.cursorToScrollbarPosition(t),this.chartX=t.chartX,this.chartY=t.chartY,this.initPositions=[this.from,this.to],this.grabbedCenter=!0},f.prototype.mouseMoveHandler=function(t){var e=this.chart.pointer.normalize(t),i=this.options.vertical?"chartY":"chartX",o=this.initPositions||[];!this.grabbedCenter||t.touches&&0===t.touches[0][i]||(i=this.cursorToScrollbarPosition(e)[i]-(i=this[i]),this.hasDragged=!0,this.updatePosition(o[0]+i,o[1]+i),this.hasDragged&&n(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}))},f.prototype.mouseUpHandler=function(t){this.hasDragged&&n(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}),this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null},f.prototype.position=function(t,e,i,o){var s=this.options.vertical,r=this.rendered?"animate":"attr",n=o,a=0;this.group.show(),this.x=t,this.y=e+this.trackBorderWidth,this.width=i,this.height=o,this.xOffset=n,this.yOffset=a,s?(this.width=this.yOffset=i=a=this.size,this.xOffset=n=0,this.barWidth=o-2*i,this.x=t+=this.options.margin):(this.height=this.xOffset=o=n=this.size,this.barWidth=i-2*o,this.y+=this.options.margin),this.group[r]({translateX:t,translateY:this.y}),this.track[r]({width:i,height:o}),this.scrollbarButtons[1][r]({translateX:s?0:i-n,translateY:s?o-a:0})},f.prototype.removeEvents=function(){this._events.forEach(function(t){u.apply(null,t)}),this._events.length=0},f.prototype.render=function(){var t=this.renderer,e=this.options,i=this.size,o=this.chart.styledMode,s=t.g("scrollbar").attr({zIndex:e.zIndex}).hide().add();this.group=s,this.track=t.rect().addClass("highcharts-scrollbar-track").attr({x:0,r:e.trackBorderRadius||0,height:i,width:i}).add(s),o||this.track.attr({fill:e.trackBackgroundColor,stroke:e.trackBorderColor,"stroke-width":e.trackBorderWidth}),this.trackBorderWidth=this.track.strokeWidth(),this.track.attr({y:-this.trackBorderWidth%2/2}),this.scrollbarGroup=t.g().add(s),this.scrollbar=t.rect().addClass("highcharts-scrollbar-thumb").attr({height:i,width:i,r:e.barBorderRadius||0}).add(this.scrollbarGroup),this.scrollbarRifles=t.path(f.swapXY([["M",-3,i/4],["L",-3,2*i/3],["M",0,i/4],["L",0,2*i/3],["M",3,i/4],["L",3,2*i/3]],e.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup),o||(this.scrollbar.attr({fill:e.barBackgroundColor,stroke:e.barBorderColor,"stroke-width":e.barBorderWidth}),this.scrollbarRifles.attr({stroke:e.rifleColor,"stroke-width":1})),this.scrollbarStrokeWidth=this.scrollbar.strokeWidth(),this.scrollbarGroup.translate(-this.scrollbarStrokeWidth%2/2,-this.scrollbarStrokeWidth%2/2),this.drawScrollbarButton(0),this.drawScrollbarButton(1)},f.prototype.setRange=function(t,e){var i,o,s=this.options,r=s.vertical,n=s.minWidth,a=this.barWidth,h=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";c(a)&&(i=a*Math.min(e,1),t=Math.max(t,0),o=Math.ceil(a*t),this.calculatedWidth=i=l(i-o),io||!this.options.vertical&&e.chartX>s?this.updatePosition(this.from+i,this.to+i):this.updatePosition(this.from-i,this.to-i),n(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})},f.prototype.update=function(t){this.destroy(),this.init(this.chart.renderer,d(!0,this.options,t),this.chart)},f.prototype.updatePosition=function(t,e){1g&&(this.grabbedLeft?i=h.toPixels(e-g-l,!0):this.grabbedRight&&(o=h.toPixels(t+g+l,!0))),this.zoomedMax=y(Math.max(i,o),0,r),this.zoomedMin=y(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(i,o),0,r),this.range=this.zoomedMax-this.zoomedMin,r=Math.round(this.zoomedMax),i=Math.round(this.zoomedMin),d&&(this.navigatorGroup.attr({visibility:"inherit"}),p=p&&!this.hasDragged?"animate":"attr",this.drawMasks(i,r,u,p),this.drawOutline(i,r,u,p),this.navigatorOptions.handles.enabled&&(this.drawHandle(i,0,u,p),this.drawHandle(r,1,u,p))),this.scrollbar&&(u?(u=this.top-a,c=this.left-a+(d||!c.opposite?0:(c.titleOffset||0)+c.axisTitleMargin),a=s+2*a):(u=this.top+(d?this.height:-a),c=this.left-a),this.scrollbar.position(c,u,n,a),this.scrollbar.setRange(this.zoomedMin/(s||1),this.zoomedMax/(s||1))),this.rendered=!0}},L.prototype.addMouseEvents=function(){var t,e,i=this,o=i.chart,s=o.container,r=[];i.mouseMoveHandler=t=function(t){i.onMouseMove(t)},i.mouseUpHandler=e=function(t){i.onMouseUp(t)},(r=i.getPartsEvents("mousedown")).push(g(o.renderTo,"mousemove",t),g(s.ownerDocument,"mouseup",e)),a&&(r.push(g(o.renderTo,"touchmove",t),g(s.ownerDocument,"touchend",e)),r.concat(i.getPartsEvents("touchstart"))),i.eventsToUnbind=r,i.series&&i.series[0]&&r.push(g(i.series[0].xAxis,"foundExtremes",function(){o.navigator.modifyNavigatorAxisExtremes()}))},L.prototype.getPartsEvents=function(o){var s=this,r=[];return["shades","handles"].forEach(function(i){s[i].forEach(function(t,e){r.push(g(t.element,o,function(t){s[i+"Mousedown"](t,e)}))})}),r},L.prototype.shadesMousedown=function(t,e){t=this.chart.pointer.normalize(t);var i,o,s=this.chart,r=this.xAxis,n=this.zoomedMin,a=this.left,h=this.size,l=this.range,c=t.chartX;s.inverted&&(c=t.chartY,a=this.top),1===e?(this.grabbedCenter=c,this.fixedWidth=l,this.dragOffset=c-n):(t=c-a-l/2,0===e?t=Math.max(0,t):2===e&&h<=t+l&&(t=h-l,this.reversedExtremes?(t-=l,i=this.getUnionExtremes().dataMin):o=this.getUnionExtremes().dataMax),t!==n&&(this.fixedWidth=l,e=r.navigatorAxis.toFixedRange(t,t+l,i,o),v(e.min)&&s.xAxis[0].setExtremes(Math.min(e.min,e.max),Math.max(e.min,e.max),!0,null,{trigger:"navigator"})))},L.prototype.handlesMousedown=function(t,e){this.chart.pointer.normalize(t);var i=(t=this.chart).xAxis[0],o=this.reversedExtremes;0===e?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=o?i.min:i.max):(this.grabbedRight=!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=o?i.max:i.min),t.fixedRange=null},L.prototype.onMouseMove=function(t){var e=this,i=e.chart,o=e.left,s=e.navigatorSize,r=e.range,n=e.dragOffset,a=i.inverted;t.touches&&0===t.touches[0].pageX||(i=(t=i.pointer.normalize(t)).chartX,a&&(o=e.top,i=t.chartY),e.grabbedLeft?(e.hasDragged=!0,e.render(0,0,i-o,e.otherHandlePos)):e.grabbedRight?(e.hasDragged=!0,e.render(0,0,e.otherHandlePos,i-o)):e.grabbedCenter&&(e.hasDragged=!0,i=Math.round(t.size)),t.stickToMin=t.shouldStickToMin(this,t),e&&!t.hasNavigatorData&&(e.options.pointStart=this.xData[0],e.setData(this.options.data,!1,null,!1))},L.prototype.shouldStickToMin=function(t,e){e=e.getBaseSeriesMin(t.xData[0]);t=(o=t.xAxis).max;var i=o.min,o=o.options.range;return!(!C(t)||!C(i))&&(o&&0=x-y,d=!t&&k&&i),s=t&&i||i&&!k&&!c||t&&p.frozenStates,(o=!S&&(h||l||d||m))?n=3:s&&(k=!0,n=2),r.state!==n&&(r.setState(n),u&&(u.options[e+1].disabled=o,2===n&&(u.selectedIndex=e+1)),0===n&&M===e&&p.setSelected())})},A.prototype.computeButtonRange=function(t){var e=t.type,i=t.count||1,o={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};o[e]?t._range=o[e]*i:"month"!==e&&"year"!==e||(t._range=864e5*{month:30,year:365}[e]*i),t._offsetMin=S(t.offsetMin,0),t._offsetMax=S(t.offsetMax,0),t._range+=t._offsetMax-t._offsetMin},A.prototype.getInputValue=function(t){t="min"===t?this.minInput:this.maxInput;var e=this.chart.options.rangeSelector,i=this.chart.time;return t?("text"===t.type&&e.inputDateParser||this.defaultInputDateParser)(t.value,i.useUTC,i):0},A.prototype.setInputValue=function(t,e){var i,o=this.options,s=this.chart.time,r="min"===t?this.minInput:this.maxInput;t="min"===t?this.minDateBox:this.maxDateBox,r&&(i=r.getAttribute("data-hc-time"),i=v(i)?Number(i):void 0,v(e)&&(v(i)&&r.setAttribute("data-hc-time-previous",i),r.setAttribute("data-hc-time",e),i=e),r.value=s.dateFormat(this.inputTypeFormats[r.type]||o.inputEditDateFormat,i),t&&t.attr({text:s.dateFormat(o.inputDateFormat,i)}))},A.prototype.setInputExtremes=function(t,e,i){var o,s;(t="min"===t?this.minInput:this.maxInput)&&(o=this.inputTypeFormats[t.type],s=this.chart.time,o&&(e=s.dateFormat(o,e),t.min!==e&&(t.min=e),i=s.dateFormat(o,i),t.max!==i&&(t.max=i)))},A.prototype.showInput=function(t){var e,i,o,s,r="min"===t?this.minDateBox:this.maxDateBox;(t="min"===t?this.minInput:this.maxInput)&&r&&this.inputGroup&&(e="text"===t.type,i=(o=this.inputGroup).translateX,o=o.translateY,s=this.options.inputBoxWidth,m(t,{width:e?r.width+(s?-2:20)+"px":"auto",height:e?r.height-2+"px":"auto",border:"2px solid silver"}),m(t,e&&s?{left:i+r.x+"px",top:o+"px"}:{left:Math.min(Math.round(r.x+i-(t.offsetWidth-r.width)/2),this.chart.chartWidth-t.offsetWidth)+"px",top:o-(t.offsetHeight-r.height)/2+"px"}))},A.prototype.hideInput=function(t){(t="min"===t?this.minInput:this.maxInput)&&m(t,{top:"-9999em",border:0,width:"1px",height:"1px"})},A.prototype.defaultInputDateParser=function(t,e,i){var o,s=t.split("/").join("-").split(" ").join("T");return-1===s.indexOf("T")&&(s+="T00:00"),e?s+="Z":(o=(o=u.isSafari)?!(6<(o=s).length&&(o.lastIndexOf("-")===o.length-6||o.lastIndexOf("+")===o.length-6)):o)&&(s+=(o=new Date(s).getTimezoneOffset()/60)<=0?"+".concat(c(-o),":00"):"-".concat(c(o),":00")),s=Date.parse(s),w(s)||(t=t.split("-"),s=Date.UTC(d(t[0]),d(t[1])-1,d(t[2]))),i&&e&&w(s)&&(s+=i.getTimezoneOffset(s)),s},A.prototype.drawInput=function(n){function e(){var t=h.getInputValue(n),e=a.xAxis[0],i=(o=a.scroller&&a.scroller.xAxis?a.scroller.xAxis:e).dataMin,o=o.dataMax,s=h.maxInput,r=h.minInput;t!==Number(d.getAttribute("data-hc-time-previous"))&&w(t)&&(d.setAttribute("data-hc-time-previous",t),l&&s&&w(i)?t>Number(s.getAttribute("data-hc-time"))?t=void 0:t=-s?0:-s),translateY:n.alignAttr.translateY+r.getBBox().height+10})}var i=this,o=this.chart,r=this.buttonGroup,n=this.inputGroup,a=(c=this.options).buttonPosition,h=c.dropdown,l=c.inputPosition,c=function(){var e=0;return i.buttons.forEach(function(t){(t=t.getBBox()).width>e&&(e=t.width)}),e};if(r){if("always"===h)return this.collapseButtons(s),void(t(c())&&e());"never"===h&&this.expandButtons()}n&&r?l.align===a.align||t(this.initialButtonGroupWidth+20)?"responsive"===h?(this.collapseButtons(s),t(c())&&e()):e():"responsive"===h&&this.expandButtons():r&&"responsive"===h&&(this.initialButtonGroupWidth>o.plotWidth?this.collapseButtons(s):this.expandButtons())},A.prototype.collapseButtons=function(t){function i(t){return{text:t?t+" ▾":"▾",width:"auto",paddingLeft:S(n.buttonTheme.paddingLeft,h.padding,8),paddingRight:S(n.buttonTheme.paddingRight,h.padding,8)}}var o=this.buttons,e=this.buttonOptions,s=this.chart,r=this.dropdown,n=this.options,a=this.zoomText,h=s.userOptions.rangeSelector&&s.userOptions.rangeSelector.buttonTheme||{},l=(a&&a.hide(),!1);e.forEach(function(t,e){2!==(e=o[e]).state?e.hide():(e.show(),e.attr(i(t.text)),l=!0)}),l||(r&&(r.selectedIndex=0),o[0].show(),o[0].attr(i(this.zoomText&&this.zoomText.textStr))),e=n.buttonPosition.align,this.positionButtons(),"right"!==e&&"center"!==e||this.alignButtonGroup(t,o[this.currentButtonIndex()].getBBox().width),this.showDropdown()},A.prototype.expandButtons=function(){var i=this.buttons,t=this.buttonOptions,o=this.options,e=this.zoomText;this.hideDropdown(),e&&e.show(),t.forEach(function(t,e){(e=i[e]).show(),e.attr({text:t.text,width:o.buttonTheme.width||28,paddingLeft:S(o.buttonTheme.paddingLeft,"unset"),paddingRight:S(o.buttonTheme.paddingRight,"unset")}),e.state<2&&e.setState(0)}),this.positionButtons()},A.prototype.currentButtonIndex=function(){var t=this.dropdown;return t&&0u+l.width)&&(v?i=s=b(i,u,u+l.width):e=!0),e||g.push(["M",i,o],["L",s,r])}):n.forEach(function(t){var e;i=t.pos,s=i+t.len,o=r=Math.round(f+l.height-a),"pass"!==v&&(of+l.height)&&(v?o=r=b(o,f,f+l.height):e=!0),e||g.push(["M",i,o],["L",s,r])})),t.path=0=t&&(f=-(l.translateX+s.width-t)),l.attr({x:o+f,y:h,anchorX:r?o:this.opposite?0:i.chartWidth,anchorY:r?this.opposite?i.chartHeight:0:h+s.height/2}))}),r.prototype.forceCropping=function(){var t=this.chart,e=this.options.dataGrouping;return!1!==this.allowDG&&e&&w(e.enabled,t.options.isStock)},t(i,"update",function(t){"scrollbar"in(t=t.options)&&this.navigator&&(g(!0,this.options.scrollbar,t.scrollbar),this.navigator.update({},!1),delete t.scrollbar)}),a}),t(e,"masters/modules/stock.src.js",[e["Core/Globals.js"],e["Core/Axis/OrdinalAxis.js"],e["Series/DataModifyComposition.js"],e["Core/Scrollbar.js"],e["Core/Chart/StockChart.js"]],function(t,e,i,o,s){t.Scrollbar=o,t.StockChart=t.stockChart=s.stockChart,o.compose(t.Axis),e.compose(t.Axis,t.Series,t.Chart),i.compose(t.Series,t.Axis,t.Point)}),t(e,"masters/highstock.src.js",[e["masters/highcharts.src.js"]],function(t){return t.product="Highstock",t}),(e["masters/highstock.src.js"]._modules=e)["masters/highstock.src.js"]}); \ No newline at end of file +!function(t,e){"object"==typeof module&&module.exports?(e.default=e,module.exports=t.document?e(t):e):"function"==typeof define&&define.amd?define("highcharts/highstock",function(){return e(t)}):(t.Highcharts&&t.Highcharts.error(16,!0),t.Highcharts=e(t))}("undefined"!=typeof window?window:this,function(c){function t(t,e,i,o){t.hasOwnProperty(e)||(t[e]=o.apply(null,i),"function"==typeof CustomEvent&&c.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}var e={};return t(e,"Core/Globals.js",[],function(){var t,e,i,o;return(e=t=t||{}).SVG_NS="http://www.w3.org/2000/svg",e.product="Highcharts",e.version="10.3.3",e.win=void 0!==c?c:{},e.doc=e.win.document,e.svg=e.doc&&e.doc.createElementNS&&!!e.doc.createElementNS(e.SVG_NS,"svg").createSVGRect,e.userAgent=e.win.navigator&&e.win.navigator.userAgent||"",e.isChrome=-1!==e.userAgent.indexOf("Chrome"),e.isFirefox=-1!==e.userAgent.indexOf("Firefox"),e.isMS=/(edge|msie|trident)/i.test(e.userAgent)&&!e.win.opera,e.isSafari=!e.isChrome&&-1!==e.userAgent.indexOf("Safari"),e.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(e.userAgent),e.isWebKit=-1!==e.userAgent.indexOf("AppleWebKit"),e.deg2rad=2*Math.PI/360,e.hasBidiBug=e.isFirefox&&parseInt(e.userAgent.split("Firefox/")[1],10)<4,e.hasTouch=!!e.win.TouchEvent,e.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],e.noop=function(){},e.supportsPassiveEvents=(o=!1,e.isMS||(i=Object.defineProperty({},"passive",{get:function(){o=!0}}),e.win.addEventListener&&e.win.removeEventListener&&(e.win.addEventListener("testPassive",e.noop,i),e.win.removeEventListener("testPassive",e.noop,i))),o),e.charts=[],e.dateFormats={},e.seriesTypes={},e.symbolSizes={},e.chartCount=0,t}),t(e,"Core/Utilities.js",[e["Core/Globals.js"]],function(h){function l(t,e,i,o){var s,r=e?"Highcharts error":"Highcharts warning",n=p(t=32===t?r+": Deprecated member":t),a=n?r+" #"+t+": www.highcharts.com/errors/"+t+"/":t.toString();void 0!==o&&(s="",n&&(a+="?"),v(o,function(t,e){s+="\n - ".concat(e,": ").concat(t),n&&(a+=encodeURI(e)+"="+encodeURI(t))}),a+=s),S(h,"displayError",{chart:i,code:t,message:a,params:o},function(){if(e)throw Error(a);k.console&&-1===l.messages.indexOf(a)&&console.warn(a)}),l.messages.push(a)}function n(t,e){return parseInt(t,e||10)}function a(t){return"string"==typeof t}function i(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function c(t,e){return!(!t||"object"!=typeof t||e&&i(t))}function r(t){return c(t)&&"number"==typeof t.nodeType}function d(t){var e=t&&t.constructor;return!(!c(t,!0)||r(t)||!e||!e.name||"Object"===e.name)}function p(t){return"number"==typeof t&&!isNaN(t)&&t<1/0&&-1/0i&&(i=t[e]);return i},arrayMin:function(t){for(var e=t.length,i=t[0];e--;)t[e]>16,(65280&o)>>8,255&o,1]:4===i&&(e=[(3840&o)>>4|(3840&o)>>8,(240&o)>>4|240&o,(15&o)<<4|15&o,1])),!e)for(o=n.parsers.length;o--&&!e;){var s=n.parsers[o];(i=s.regex.exec(t))&&(e=s.parse(i))}e&&(this.rgba=e)},n.prototype.get=function(i){var o,t=this.input,e=this.rgba;return"object"==typeof t&&void 0!==this.stops?((o=r(t)).stops=[].slice.call(o.stops),this.stops.forEach(function(t,e){o.stops[e]=[o.stops[e][0],t.get(i)]}),o):e&&s(e[0])?"rgb"===i||!i&&1===e[3]?"rgb("+e[0]+","+e[1]+","+e[2]+")":"a"===i?"".concat(e[3]):"rgba("+e.join(",")+")":t},n.prototype.brighten=function(e){var t=this.rgba;if(this.stops)this.stops.forEach(function(t){t.brighten(e)});else if(s(e)&&0!==e)for(var i=0;i<3;i++)t[i]+=o(255*e),t[i]<0&&(t[i]=0),255=v.second?0:c*Math.floor(r.get("Milliseconds",h)/c)),l>=v.second&&r.set("Seconds",h,l>=v.minute?0:c*Math.floor(r.get("Seconds",h)/c)),l>=v.minute&&r.set("Minutes",h,l>=v.hour?0:c*Math.floor(r.get("Minutes",h)/c)),l>=v.hour&&r.set("Hours",h,l>=v.day?0:c*Math.floor(r.get("Hours",h)/c)),l>=v.day&&r.set("Date",h,l>=v.month?1:Math.max(1,c*Math.floor(r.get("Date",h)/c))),l>=v.month&&(r.set("Month",h,l>=v.year?0:c*Math.floor(r.get("Month",h)/c)),d=r.get("FullYear",h)),l>=v.year&&r.set("FullYear",h,d-d%c),l===v.week&&(d=r.get("Day",h),r.set("Date",h,r.get("Date",h)-d+o+(d4*v.month||r.getTimezoneOffset(e)!==r.getTimezoneOffset(i)),e=h.getTime(),h=1;et){a=n;break}if(r[a]&&s.substr(r[a])!=="01-01 00:00:00.000".substr(r[a]))break;"week"!==a&&(n=a)}return this.resolveDTLFormat(o[a]).main},t=a}),t(e,"Core/Defaults.js",[e["Core/Chart/ChartDefaults.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Color/Palettes.js"],e["Core/Time.js"],e["Core/Utilities.js"]],function(t,e,i,o,s,r){e=e.parse;var n=r.merge,a={colors:o.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),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:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",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,animation:i.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:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:i.isTouchDevice?25:10,headerFormat:'{point.key}
',pointFormat:' {series.name}: {point.y}
',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}},h=(a.chart.styledMode=!1,new s(n(a.global,a.time)));return t={defaultOptions:a,defaultTime:h,getOptions:function(){return a},setOptions:function(t){return n(!0,a,t),(t.time||t.global)&&(i.time?i.time.update(n(a.global,a.time,t.global,t.time)):i.time=h),a}}}),t(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,e,i){var o=t.parse,h=e.win,p=i.isNumber,l=i.objectEach;return c.prototype.dSetter=function(){var t=(e=this.paths)&&e[0],e=e&&e[1],i=this.now||0,o=[];if(1!==i&&t&&e)if(t.length===e.length&&i<1)for(var s=0;s=n+this.startTime?(this.now=this.end,this.pos=1,this.update(),e=a[this.prop]=!0,l(a,function(t){!0!==t&&(e=!1)}),e&&r&&r.call(s),!1):(this.pos=o.easing((i-this.startTime)/n),this.now=this.start+(this.end-this.start)*this.pos,this.update(),!0))},c.prototype.initPath=function(t,e,i){function o(t,e){for(;t.lengtht[d].pos&&(t[d-1].size+=t[d].size,t[d-1].targets=t[d-1].targets.concat(t[d].targets),t[d-1].align=.5,t[d-1].pos+t[d-1].size>o&&(t[d-1].pos=o-t[d-1].size),t.splice(d,1),h=!0)}return r.push.apply(r,l),d=0,t.some(function(t){var e=0;return(t.targets||[]).some(function(){return r[d].pos=t.pos+e,void 0!==s&&Math.abs(r[d].pos-r[d].target)>s?(r.slice(0,d+1).forEach(function(t){return delete t.pos}),r.reducedLen=(r.reducedLen||o)-.1*o,r.reducedLen>.1*o&&i(r,o,s),!0):(e+=r[d].size,d++,!1)})}),f(r,e),r},e}),t(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,m,r,e){var n=t.animate,a=t.animObject,c=t.stop,g=r.deg2rad,h=r.doc,l=r.svg,d=r.SVG_NS,i=r.win,p=e.addEvent,u=e.attr,o=e.createElement,y=e.css,x=e.defined,f=e.erase,v=e.extend,b=e.fireEvent,S=e.isArray,M=e.isFunction,k=e.isString,C=e.merge,w=e.objectEach,A=e.pick,T=e.pInt,P=e.syncTimeout,O=e.uniqueKey;function L(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=d,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return L.prototype._defaultGetter=function(t){return t=A(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),t=/^[\-0-9\.]+$/.test(t)?parseFloat(t):t},L.prototype._defaultSetter=function(t,e,i){i.setAttribute(e,t)},L.prototype.add=function(t){var e,i=this.renderer,o=this.element;return t&&(this.parentGroup=t),void 0!==this.textStr&&"text"===this.element.nodeName&&i.buildText(this),this.added=!0,(e=t&&!t.handleZ&&!this.zIndex?e:this.zIndexSetter())||(t?t.element:i.box).appendChild(o),this.onAdd&&this.onAdd(),this},L.prototype.addClass=function(t,e){var i=!e&&this.attr("class")||"";return(t=(t||"").split(/ /g).reduce(function(t,e){return-1===i.indexOf(e)&&t.push(e),t},i?[i]:[]).join(" "))!==i&&this.attr("class",t),this},L.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},L.prototype.align=function(t,e,i){var o,s,r,n={},a=(l=this.renderer).alignedObjects,h=(t?(this.alignOptions=t,this.alignByTranslate=e,i&&!k(i)||(this.alignTo=o=i||"renderer",f(a,this),a.push(this),i=void 0)):(t=this.alignOptions,e=this.alignByTranslate,o=this.alignTo),i=A(i,l[o],"scrollablePlotBox"===o?l.plotBox:void 0,l),o=t.align,t.verticalAlign),l=(i.x||0)+(t.x||0),a=(i.y||0)+(t.y||0);return"right"===o?s=1:"center"===o&&(s=2),s&&(l+=(i.width-(t.width||0))/s),n[e?"translateX":"x"]=Math.round(l),"bottom"===h?r=1:"middle"===h&&(r=2),r&&(a+=(i.height-(t.height||0))/r),n[e?"translateY":"y"]=Math.round(a),this[this.placed?"animate":"attr"](n),this.placed=!0,this.alignAttr=n,this},L.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},L.prototype.animate=function(t,e,i){var o=this,s=a(A(e,this.renderer.globalAnimation,!0));return e=s.defer,A(h.hidden,h.msHidden,h.webkitHidden,!1)&&(s.duration=0),0!==s.duration?(i&&(s.complete=i),P(function(){o.element&&n(o,t,s)},e)):(this.attr(t,void 0,i||s.complete),w(t,function(t,e){s.step&&s.step.call(this,t,{prop:e,pos:1,elem:this})},this)),this},L.prototype.applyTextOutline=function(t){var i,e,o=this.element,s=(t=-1!==t.indexOf("contrast")?t.replace(/contrast/g,this.renderer.getContrast(o.style.fill)):t).split(" ");t=s[s.length-1],(s=s[0])&&"none"!==s&&r.svg&&(this.fakeTS=!0,s=s.replace(/(^[\d\.]+)(.*?)$/g,function(t,e,i){return 2*Number(e)+i}),this.removeTextOutline(),i=h.createElementNS(d,"tspan"),u(i,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":s,"stroke-linejoin":"round"}),t=o.querySelector("textPath")||o,[].forEach.call(t.childNodes,function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(t){return e.removeAttribute(t)}),i.appendChild(e)}),e=0,[].forEach.call(t.querySelectorAll("text tspan"),function(t){e+=Number(t.getAttribute("dy"))}),(s=h.createElementNS(d,"tspan")).textContent="​",u(s,{x:Number(o.getAttribute("x")),dy:-e}),i.appendChild(s),t.insertBefore(i,t.firstChild))},L.prototype.attr=function(i,t,e,o){var s,r,n,a=this.element,h=this.symbolCustomAttribs,l=this;return"string"==typeof i&&void 0!==t&&(n=i,(i={})[n]=t),"string"==typeof i?l=(this[i+"Getter"]||this._defaultGetter).call(this,i,a):(w(i,function(t,e){r=!1,o||c(this,e),this.symbolName&&-1!==h.indexOf(e)&&(s||(this.symbolAttr(i),s=!0),r=!0),!this.rotation||"x"!==e&&"y"!==e||(this.doTransform=!0),r||((r=this[e+"Setter"]||this._defaultSetter).call(this,t,e,a),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(e)&&this.updateShadows(e,t,r))},this),this.afterSetters()),e&&e.call(this),l},L.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},L.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var i=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+i,t.y=Math.floor(t.y||this.y||0)+i,t.width=Math.floor((t.width||this.width||0)-2*i),t.height=Math.floor((t.height||this.height||0)-2*i),x(t.strokeWidth)&&(t.strokeWidth=e),t},L.prototype.complexColor=function(t,i,o){var s,r,n,a,h,l,c,d,p,u,f=this.renderer,g=[];b(this.renderer,"complexColor",{args:arguments},function(){var e;t.radialGradient?s="radialGradient":t.linearGradient&&(s="linearGradient"),s&&(r=t[s],a=f.gradients,h=t.stops,d=o.radialReference,S(r)&&(t[s]=r={x1:r[0],y1:r[1],x2:r[2],y2:r[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===s&&d&&!x(r.gradientUnits)&&(r=C(n=r,f.getRadialAttr(d,n),{gradientUnits:"userSpaceOnUse"})),w(r,function(t,e){"id"!==e&&g.push(e,t)}),w(h,function(t){g.push(t)}),g=g.join(","),a[g]?p=a[g].attr("id"):(r.id=p=O(),(e=a[g]=f.createElement(s).attr(r).add(f.defs)).radAttr=n,e.stops=[],h.forEach(function(t){c=0===t[1].indexOf("rgba")?(c=m.parse(t[1]),l=c.get("rgb"),c.get("a")):(l=t[1],1),t=f.createElement("stop").attr({offset:t[0],"stop-color":l,"stop-opacity":c}).add(e),e.stops.push(t)})),u="url("+f.url+"#"+p+")",o.setAttribute(i,u),o.gradient=g,t.toString=function(){return u})})},L.prototype.css=function(t){var e,i,o=this.styles,s={},r=this.element,n=!o;return t.color&&(t.fill=t.color),o&&w(t,function(t,e){o&&o[e]!==t&&(s[e]=t,n=!0)}),n&&(null===(t=o?v(o,s):t).width||"auto"===t.width?delete this.textWidth:"text"===r.nodeName.toLowerCase()&&t.width&&(e=this.textWidth=T(t.width)),this.styles=t,e&&!l&&this.renderer.forExport&&delete t.width,i=C(t),r.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach(function(t){return i&&delete i[t]}),y(r,i),this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline))),this},L.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var i=t.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(t=i.length;t--;)i[t]=""+T(i[t])*A(e,NaN);t=i.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},L.prototype.destroy=function(){var e,i=this,t=i.element||{},o=i.renderer,s=t.ownerSVGElement,r=o.isSVG&&"SPAN"===t.nodeName&&i.parentGroup||void 0;if(t.onclick=t.onmouseout=t.onmouseover=t.onmousemove=t.point=null,c(i),i.clipPath&&s&&(e=i.clipPath,[].forEach.call(s.querySelectorAll("[clip-path],[CLIP-PATH]"),function(t){-1]*>/g,"").replace(/</g,"<").replace(/>/g,">")},L.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},L.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},L.prototype.updateShadows=function(t,e,i){var o=this.shadows;if(o)for(var s=o.length;s--;)i.call(o[s],"height"===t?Math.max(e-(o[s].cutHeight||0),0):"d"===t?this.d:e,t,o[s])},L.prototype.updateTransform=function(){var t=this.element,e=this.matrix,i=void 0===(i=this.rotation)?0:i,o=this.scaleX,s=this.scaleY,r=this.translateX,n=this.translateY,r=["translate("+(void 0===r?0:r)+","+(void 0===n?0:n)+")"];x(e)&&r.push("matrix("+e.join(",")+")"),i&&r.push("rotate("+i+" "+A(this.rotationOriginX,t.getAttribute("x"),0)+" "+A(this.rotationOriginY,t.getAttribute("y")||0)+")"),(x(o)||x(s))&&r.push("scale("+A(o,1)+" "+A(s,1)+")"),r.length&&!(this.text||this).textPath&&t.setAttribute("transform",r.join(" "))},L.prototype.visibilitySetter=function(t,e,i){"inherit"===t?i.removeAttribute(e):this[e]!==t&&i.setAttribute(e,t),this[e]=t},L.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},L.prototype.zIndexSetter=function(t,e){var i,o=this.renderer,s=((h=this.parentGroup)||o).element||o.box,r=this.element,o=s===o.box,n=!1,a=this.added;if(x(t)?(r.setAttribute("data-z-index",t),this[e]===(t=+t)&&(a=!1)):x(this[e])&&r.removeAttribute("data-z-index"),this[e]=t,a){for((t=this.zIndex)&&h&&(h.handleZ=!0),i=(e=s.childNodes).length-1;0<=i&&!n;i--){var h,a=(h=e[i]).getAttribute("data-z-index"),l=!x(a);h!==r&&(t<0&&l&&!o&&!i?(s.insertBefore(r,e[i]),n=!0):(T(a)<=t||l&&(!x(t)||0<=t))&&(s.insertBefore(r,e[i+1]||null),n=!0))}n||(s.insertBefore(r,e[o?3:0]||null),n=!0)}return n},(t=L).prototype.strokeSetter=t.prototype.fillSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t}),t(e,"Core/Renderer/RendererRegistry.js",[e["Core/Globals.js"]],function(o){var t,s,r;return(s=t=t||{}).rendererTypes={},s.getRendererType=function(t){return void 0===t&&(t=r),s.rendererTypes[t]||s.rendererTypes[r]},s.registerRendererType=function(t,e,i){s.rendererTypes[t]=e,r&&!i||(r=t,o.Renderer=e)},t}),t(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,e){var o,p,i=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=e.defined,n=e.extend,a=e.isNumber,s=e.merge,h=e.pick,l=e.removeEvent;return i(u,p=t),u.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&a(this.xSetting)&&this.attr({x:this.xSetting}))},u.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},u.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},u.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},u.prototype.css=function(e){var i;return e&&(i={},e=s(e),u.textProps.forEach(function(t){void 0!==e[t]&&(i[t]=e[t],delete e[t])}),this.text.css(i),"fontSize"in i||"fontWeight"in i?this.updateTextPadding():("width"in i||"textOverflow"in i)&&this.updateBoxSize()),t.prototype.css.call(this,e)},u.prototype.destroy=function(){l(this.element,"mouseenter"),l(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},u.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},u.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=h(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},u.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},u.prototype.heightSetter=function(t){this.heightSetting=t},u.prototype.onAdd=function(){this.text.add(this),this.attr({text:h(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&r(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},u.prototype.paddingSetter=function(t,e){a(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},u.prototype.rSetter=function(t,e){this.boxAttr(e,t)},u.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},u.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},u.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},u.prototype["text-alignSetter"]=function(t){this.textAlign=t},u.prototype.textSetter=function(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding()},u.prototype.updateBoxSize=function(){var t=this.text,e=t.element.style,i={},o=this.padding,s=this.bBox=a(this.widthSetting)&&a(this.heightSetting)&&!this.textAlign||!r(t.textStr)?u.emptyBBox:t.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||s.height||0)+2*o,e=this.renderer.fontMetrics(e&&e.fontSize,t),this.baselineOffset=o+Math.min((this.text.firstLineMetrics||e).b,s.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-e.h)/2),this.needsBox&&!t.textPath&&(this.box||((t=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),t.add(this)),t=this.getCrispAdjust(),i.x=t,i.y=(this.baseline?-this.baselineOffset:0)+t,i.width=Math.round(this.width),i.height=Math.round(this.height),this.box.attr(n(i,this.deferredAttr)),this.deferredAttr={})},u.prototype.updateTextPadding=function(){var t,e,i=this.text;i.textPath||(this.updateBoxSize(),t=this.baseline?0:this.baselineOffset,e=h(this.paddingLeft,this.padding),r(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(e+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),e===i.x&&t===i.y||(i.attr("x",e),i.hasBoxWidthChanged&&(this.bBox=i.getBBox(!0)),void 0!==t&&i.attr("y",t)),i.x=e,i.y=t)},u.prototype.widthSetter=function(t){this.widthSetting=a(t)?t:void 0},u.prototype.getPaddedWidth=function(){var t=this.padding,e=h(this.paddingLeft,t),t=h(this.paddingRight,t);return(this.widthSetting||this.bBox.width||0)+e+t},u.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},u.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},u.emptyBBox={width:0,height:0,x:0,y:0},u.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),u;function u(t,e,i,o,s,r,n,a,h,l){var c,d=p.call(this)||this;return d.paddingLeftSetter=d.paddingSetter,d.paddingRightSetter=d.paddingSetter,d.init(t,"g"),d.textStr=e,d.x=i,d.y=o,d.anchorX=r,d.anchorY=n,d.baseline=h,d.className=l,d.addClass("button"===l?"highcharts-no-tooltip":"highcharts-label"),l&&d.addClass("highcharts-"+l),d.text=t.text(void 0,0,0,a).attr({zIndex:1}),"string"==typeof s&&((c=/^url\((.*?)\)$/.test(s))||d.renderer.symbols[s])&&(d.symbolKey=s),d.bBox=u.emptyBBox,d.padding=3,d.baselineOffset=0,d.needsBox=t.styledMode||c,d.deferredAttr={},d.alignFactor=0,d}}),t(e,"Core/Renderer/SVG/Symbols.js",[e["Core/Utilities.js"]],function(t){function s(t,e,i,o,s){var r,n,a,h,l,c,d,p,u=[];return s&&(p=s.start||0,r=g(s.r,i),i=g(s.r,o||i),n=(s.end||0)-.001,o=s.innerR,a=g(s.open,Math.abs((s.end||0)-p-2*Math.PI)<.001),h=Math.cos(p),l=Math.sin(p),c=Math.cos(n),d=Math.sin(n),p=g(s.longArc,n-p-Math.PI<.001?0:1),u.push(["M",t+r*h,e+i*l],["A",r,i,0,p,g(s.clockwise,1),t+r*c,e+i*d]),f(o)&&u.push(a?["M",t+o*c,e+o*d]:["L",t+o*c,e+o*d],["A",o,o,0,p,f(s.clockwise)?1-s.clockwise:0,t+o*h,e+o*l]),a||u.push(["Z"])),u}function e(t,e,i,o,s){return s&&s.r?l(t,e,i,o,s):[["M",t,e],["L",t+i,e],["L",t+i,e+o],["L",t,e+o],["Z"]]}function l(t,e,i,o,s){return[["M",t+(s=s&&s.r||0),e],["L",t+i-s,e],["C",t+i,e,t+i,e,t+i,e+s],["L",t+i,e+o-s],["C",t+i,e+o,t+i,e+o,t+i-s,e+o],["L",t+s,e+o],["C",t,e+o,t,e+o,t,e+o-s],["L",t,e+s],["C",t,e,t,e,t+s,e]]}var f=t.defined,c=t.isNumber,g=t.pick;return{arc:s,callout:function(t,e,i,o,s){var r=Math.min(s&&s.r||0,i,o),n=r+6,a=s&&s.anchorX,h=(s=s&&s.anchorY||0,l(t,e,i,o,{r:r}));return c(a)&&(i<=t+a?e+n/g.test(o))?""!==o&&(i&&i.appendChild(e),o=new a(o),this.modifyTree(o.nodes),o.addToDOM(e),this.modifyDOM(),this.ellipsis&&-1!==(e.textContent||"").indexOf("…")&&t.attr("title",this.unescapeEntities(t.textStr||"",["<",">"])),i&&i.removeChild(e)):e.appendChild(p.createTextNode(this.unescapeEntities(o))),h(this.textOutline)&&t.applyTextOutline&&t.applyTextOutline(this.textOutline)}},o.prototype.modifyDOM=function(){var t,h=this,l=this.svgElement,c=f(l.element,"x");for(l.firstLineMetrics=void 0;(t=l.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)l.element.removeChild(t);[].forEach.call(l.element.querySelectorAll("tspan.highcharts-br"),function(t,e){t.nextSibling&&t.previousSibling&&(0===e&&1===t.previousSibling.nodeType&&(l.firstLineMetrics=l.renderer.fontMetrics(void 0,t.previousSibling)),f(t,{dy:h.getLineHeight(t.nextSibling),x:c}))});var i,o,d=this.width||0;d&&(i=function(e,i){var t=e.textContent||"",o=t.replace(/([^\^])-/g,"$1- ").split(" "),s=!h.noWrap&&(1]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20");return""},I.prototype.getStyle=function(t){return this.style=A({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},I.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},I.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},I.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),w(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},I.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},I.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},I.prototype.buildText=function(t){new r(t).buildSVG()},I.prototype.getContrast=function(t){return((t=.2126*(t=e.parse(t).rgba.map(function(t){return(t/=255)<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}))[0]+.7152*t[1]+.0722*t[2])+.05)/.05<1.05/(t+.05)?"#FFFFFF":"#000000"},I.prototype.button=function(t,e,i,o,s,r,n,a,h,l){void 0===s&&(s={});var c,d,p,u=this.label(t,e,i,h,void 0,void 0,l,void 0,"button"),f=this.styledMode,g=(t=s.states||{},0),m=(delete(s=E(s)).states,E({color:"#333333",cursor:"pointer",fontWeight:"normal"},s.style)),y=(delete s.style,x.filterUserAttributes(s));return u.attr(E({padding:8,r:2},y)),f||(y=E({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},y),c=(r=E(y,{fill:"#e6e6e6"},x.filterUserAttributes(r||t.hover||{}))).style,delete r.style,d=(n=E(y,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},x.filterUserAttributes(n||t.select||{}))).style,delete n.style,p=(a=E(y,{style:{color:"#cccccc"}},x.filterUserAttributes(a||t.disabled||{}))).style,delete a.style),b(u.element,v?"mouseover":"mouseenter",function(){3!==g&&u.setState(1)}),b(u.element,v?"mouseout":"mouseleave",function(){3!==g&&u.setState(g)}),u.setState=function(t){1!==t&&(u.state=g=t),u.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),f||(u.attr([y,r,n,a][t||0]),O(t=[m,c,d,p][t||0])&&u.css(t))},f||(u.attr(y).css(A({cursor:"default"},m)),l&&u.text.css({pointerEvents:"none"})),u.on("touchstart",function(t){return t.stopPropagation()}).on("click",function(t){3!==g&&o.call(u,t)})},I.prototype.crispLine=function(t,e,i){void 0===i&&(i="round");var o=t[0],s=t[1];return C(o[1])&&o[1]===s[1]&&(o[1]=s[1]=Math[i](o[1])-e%2/2),C(o[2])&&o[2]===s[2]&&(o[2]=s[2]=Math[i](o[2])+e%2/2),t},I.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return T(t)?e.d=t:O(t)&&A(e,t),this.createElement("path").attr(e)},I.prototype.circle=function(t,e,i){return t=O(t)?t:void 0===t?{}:{x:t,y:e,r:i},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,i){i.setAttribute("c"+e,t)},e.attr(t)},I.prototype.arc=function(t,e,i,o,s,r){return O(t)?(e=(o=t).y,i=o.r,t=o.x):o={innerR:o,start:s,end:r},(t=this.symbol("arc",t,e,i,i,o)).r=i,t},I.prototype.rect=function(t,e,i,o,s,r){s=O(t)?t.r:s;var n=this.createElement("rect");return t=O(t)?t:void 0===t?{}:{x:t,y:e,width:Math.max(i,0),height:Math.max(o,0)},this.styledMode||(void 0!==r&&(t["stroke-width"]=r,t=n.crisp(t)),t.fill="none"),s&&(t.r=s),n.rSetter=function(t,e,i){n.r=t,S(i,{rx:t,ry:t})},n.rGetter=function(){return n.r||0},n.attr(t)},I.prototype.setSize=function(t,e,i){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:D(i,!0)?void 0:0}),this.alignElements()},I.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},I.prototype.image=function(e,t,i,o,s,r){var n={preserveAspectRatio:"none"},a=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)},h=(P(t)&&(n.x=t),P(i)&&(n.y=i),P(o)&&(n.width=o),P(s)&&(n.height=s),this.createElement("image").attr(n));return t=function(t){a(h.element,e),r.call(h,t)},r?(a(h.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),i=new f.Image,b(i,"load",t),i.src=e,i.complete&&t({})):a(h.element,e),h},I.prototype.symbol=function(t,e,i,o,s,l){var r,n,a,h,c=this,d=/^url\((.*?)\)$/,p=d.test(t),u=!p&&(this.symbols[t]?t:"circle"),f=u&&this.symbols[u];return f?("number"==typeof e&&(r=f.call(this.symbols,Math.round(e||0),Math.round(i||0),o||0,s||0,l)),r=this.path(r),c.styledMode||r.attr("fill","none"),A(r,{symbolName:u||void 0,x:e,y:i,width:o,height:s}),l&&A(r,l)):p&&(n=t.match(d)[1],(a=r=this.image(n)).imgwidth=D(y[n]&&y[n].width,l&&l.width),a.imgheight=D(y[n]&&y[n].height,l&&l.height),h=function(t){return t.attr({width:t.width,height:t.height})},["width","height"].forEach(function(t){a[t+"Setter"]=function(t,e){this[e]=t,t=this.alignByTranslate;var i,o=this.element,s=this.width,r=this.height,n=this.imgwidth,a=this.imgheight,h=this["img"+e];C(h)&&(i=1,l&&"within"===l.backgroundSize&&s&&r?(i=Math.min(s/n,r/a),h=Math.round(h*i),S(o,{width:Math.round(n*i),height:Math.round(a*i)})):o&&o.setAttribute(e,h),t||this.translate(((s||0)-h*i)/2,((r||0)-h*i)/2))}}),C(e)&&a.attr({x:e,y:i}),a.isImg=!0,C(a.imgwidth)&&C(a.imgheight)?h(a):(a.attr({width:0,height:0}),M("img",{onload:function(){var t=g[c.chartIndex];0===this.width&&(k(this,{position:"absolute",top:"-999em"}),m.body.appendChild(this)),y[n]={width:this.width,height:this.height},a.imgwidth=this.width,a.imgheight=this.height,a.element&&h(a),this.parentNode&&this.parentNode.removeChild(this),c.imgCount--,c.imgCount||!t||t.hasLoaded||t.onload()},src:n}),this.imgCount++)),r},I.prototype.clipRect=function(t,e,i,o){var s=B()+"-",r=this.createElement("clipPath").attr({id:s}).add(this.defs);return(t=this.rect(t,e,i,o,0).add(r)).id=s,t.clipPath=r,t.count=0,t},I.prototype.text=function(t,e,i,o){var s={};return!o||!this.allowHTML&&this.forExport?(s.x=Math.round(e||0),i&&(s.y=Math.round(i)),C(t)&&(s.text=t),t=this.createElement("text").attr(s),o&&(!this.forExport||this.allowHTML)||(t.xSetter=function(t,e,i){for(var o,s=i.getElementsByTagName("tspan"),r=i.getAttribute(e),n=0;n":">","'":"'",'"':"""},symbols:s,draw:p}),i.registerRendererType("svg",t,!0),t}),t(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,e,i){var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),n=t.isFirefox,a=t.isMS,h=t.isWebKit,l=t.win,f=i.css,g=i.defined,c=i.extend,d=i.pick,m=i.pInt;return r(p,s=e),p.compose=function(t){var e,i;return-1===p.composedClasses.indexOf(t)&&(p.composedClasses.push(t),(i=t.prototype).getSpanCorrection=(e=p.prototype).getSpanCorrection,i.htmlCss=e.htmlCss,i.htmlGetBBox=e.htmlGetBBox,i.htmlUpdateTransform=e.htmlUpdateTransform,i.setSpanRotation=e.setSpanRotation),t},p.prototype.getSpanCorrection=function(t,e,i){this.xCorr=-t*i,this.yCorr=-e},p.prototype.htmlCss=function(t){var e,i="SPAN"===this.element.tagName&&t&&"width"in t,o=d(i&&t.width,void 0);return i&&(delete t.width,this.textWidth=o,e=!0),t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=c(this.styles,t),f(this.element,t),e&&this.htmlUpdateTransform(),this},p.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},p.prototype.htmlUpdateTransform=function(){var e,i,o,s,t,r,n,a,h,l,c,d,p,u;this.added?(e=this.renderer,i=this.element,o=this.translateX||0,s=this.translateY||0,t=this.x||0,r=this.y||0,a={left:0,center:.5,right:1}[n=this.textAlign||"left"],u=(u=this.styles)&&u.whiteSpace,f(i,{marginLeft:o,marginTop:s}),!e.styledMode&&this.shadows&&this.shadows.forEach(function(t){f(t,{marginLeft:o+1,marginTop:s+1})}),this.inverted&&[].forEach.call(i.childNodes,function(t){e.invertChild(t,i)}),"SPAN"===i.tagName&&(h=this.rotation,l=this.textWidth&&m(this.textWidth),c=[h,n,i.innerHTML,this.textWidth,this.textAlign].join(),p=!1,l!==this.oldTextWidth&&(d=this.textPxLength||(f(i,{width:"",whiteSpace:u||"nowrap"}),i.offsetWidth),(l>this.oldTextWidth||l=this.minRange,n=[l-(n=((r=this.minRange)-c+l)/2),O(a.min,l-n)],t&&(n[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),c=[(l=p(n))+r,O(a.max,l+r)],t&&(c[2]=h?h.log2lin(this.dataMax):this.dataMax),(c=u(c))-l=g?(e=g,u=0):this.dataMax<=g&&(i=g,p=0)),this.min=O(m,e,this.dataMin),this.max=O(y,i,this.dataMax)),r&&(this.positiveValuesOnly&&!t&&Math.min(this.min,O(this.dataMin,this.min))<=0&&w(10,1,s),this.min=k(r.log2lin(this.min),16),this.max=k(r.log2lin(this.max),16)),this.range&&C(this.max)&&(this.userMin=this.min=m=Math.max(this.dataMin,this.minFromRange()),this.userMax=y=this.max,this.range=null),A(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(c||this.axisPointRange||this.stacking&&this.stacking.usePercentage||h)&&C(this.min)&&C(this.max)&&(s=this.max-this.min)&&(!C(m)&&u&&(this.min-=s*u),!C(y)&&p&&(this.max+=s*p)),T(this.userMin)||(T(n.softMin)&&n.softMinthis.max&&(this.max=y=n.softMax),T(n.ceiling)&&(this.max=Math.min(this.max,n.ceiling))),d&&C(this.dataMin)&&(g=g||0,!C(m)&&this.min=g?this.min=this.options.minRange?Math.min(g,this.max-this.minRange):g:!C(y)&&this.max>g&&this.dataMax<=g&&(this.max=this.options.minRange?Math.max(g,this.min+this.minRange):g)),T(this.min)&&T(this.max)&&!this.chart.polar&&this.min>this.max&&(C(this.options.min)?this.max=this.min:C(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||void 0===this.min||void 0===this.max?1:h&&this.linkedParent&&!f&&l===this.linkedParent.options.tickPixelInterval?f=this.linkedParent.tickInterval:O(f,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,c?1:(this.max-this.min)*l/Math.max(this.len,l)),a&&!t&&(o=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max),this.series.forEach(function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(o)}),A(this,"postProcessData",{hasExtremesChanged:o})),this.setAxisTranslation(),A(this,"initialAxisTranslation"),this.pointRange&&!f&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=O(n.minTickInterval,this.dateTime&&!this.series.some(function(t){return t.noSharedTooltip})?this.closestPointRange:0),!f&&this.tickIntervalMath.max(2*this.len,200)))if(this.dateTime)a=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,e.units),this.min,this.max,e.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0);else if(this.logarithmic)a=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(s=e=this.tickInterval;s<=2*e&&(a=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&a.length>this.tickAmount);)this.tickInterval=x(this,s*=1.1);else a=[this.min,this.max],w(19,!1,this.chart);a.length>this.len&&((a=[a[0],a[a.length-1]])[0]===a[1]&&(a.length=1)),o&&(this.tickPositions=a,(t=o.apply(this,[this.min,this.max]))&&(a=t))}this.tickPositions=a,this.paddedTicks=a.slice(0),this.trimTicks(a,n,r),!this.isLinked&&T(this.min)&&T(this.max)&&(this.single&&a.length<2&&!this.categories&&!this.series.some(function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement})&&(this.min-=.5,this.max+=.5),i||t||this.adjustTickAmount()),A(this,"afterSetTickPositions")},B.prototype.trimTicks=function(t,e,i){var o=t[0],s=t[t.length-1],r=!this.isOrdinal&&this.minPointOffset||0;if(A(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==o)this.min=o;else for(;this.min-r>t[0];)t.shift();if(i)this.max=s;else for(;this.max+rs||n[n.length-1]e.threshold?n.unshift(k(n[0]-d)):n.push(k(n[n.length-1]+d));if(d>8*e.tickInterval)break;d*=2}h()}else if(lp&&(p=t.label.textPxLength)}),this.maxLabelLength=p,this.autoRotation)hc.h?l.rotation=this.labelRotation:this.labelRotation=0;else if(a){var u=h;if(!d)for(var f="clip",h=i.length;!n&&h--;){var g=i[h];(g=s[g].label)&&(g.styles&&"ellipsis"===g.styles.textOverflow?g.css({textOverflow:"clip"}):g.textPxLength>a&&g.css({width:a+"px"}),g.getBBox().height>this.len/i.length-(c.h-c.f)&&(g.specificTextOverflow="ellipsis"))}}l.rotation&&(u=p>.5*t.chartHeight?.33*t.chartHeight:p,d||(f="ellipsis")),(this.labelAlign=o.align||this.autoLabelAlign(this.labelRotation))&&(l.align=this.labelAlign),i.forEach(function(t){var e=(t=s[t])&&t.label,i=r.width,o={};e&&(e.attr(l),t.shortenLabel?t.shortenLabel():u&&!i&&"nowrap"!==r.whiteSpace&&(u=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(o[t]||(o[t]=new b(this,t)),i&&o[t].isNew&&o[t].render(e,!0,-1),o[t].render(e))},B.prototype.render=function(){var i,o,s,r=this,n=r.chart,a=r.logarithmic,t=r.options,e=r.isLinked,h=r.tickPositions,l=r.axisTitle,c=r.ticks,d=r.minorTicks,p=r.alternateBands,u=t.stackLabels,f=t.alternateGridColor,g=r.tickmarkOffset,m=r.axisLine,y=r.showAxis,x=S(n.renderer.globalAnimation);r.labelEdge.length=0,r.overlap=!1,[c,d,p].forEach(function(t){P(t,function(t){t.isActive=!1})}),(r.hasData()||e)&&(s=r.chart.hasRendered&&r.old&&T(r.old.min),r.minorTickInterval&&!r.categories&&r.getMinorTickPositions().forEach(function(t){r.renderMinorTick(t,s)}),h.length&&(h.forEach(function(t,e){r.renderTick(t,e,s)}),g&&(0===r.min||r.single)&&(c[-1]||(c[-1]=new b(r,-1,null,!0)),c[-1].render(-1))),f&&h.forEach(function(t,e){o=void 0!==h[e+1]?h[e+1]+g:r.max-g,0==e%2&&tthis.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:i.acrossPanes}),i=1,t&&s)for(e&&(o=t.toString()===s.toString(),i=0),e=0;ee})&&(t=t.map(function(t){var e=u(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return j(t,{target:e.y,x:e.x})})),g.cleanSplit(),E(t,P),c),O=c;t.forEach(function(t){var e=t.x,i=t.boxWidth;(t=t.isHeader)||(g.outside&&c+e=o.value;)o=t[++i];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=o&&o.color&&!this.options.color?o.color:this.nonZonedColor,o},C.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},C.prototype.init=function(t,e,i){return this.series=t,this.applyOptions(e,i),this.id=r(this.id)?this.id:k(),this.resolveColor(),t.chart.pointCount++,b(this,"afterInit"),this},C.prototype.isValid=function(){return null!==this.x&&S(this.y)},C.prototype.optionsToObject=function(t){var e=this.series,i=e.options.keys,o=i||e.pointArrayMap||["y"],s=o.length,r={},n=0,a=0;if(S(t)||null===t)r[o[0]]=t;else if(c(t))for(!i&&t.length>s&&("string"===(e=typeof t[0])?r.name=t[0]:"number"===e&&(r.x=t[0]),n++);at.series.index?-1:1)),o&&(n=t)}),n},M.prototype.getChartCoordinatesFromPoint=function(t,e){var i,o,s=(r=t.series).xAxis,r=r.yAxis,n=t.shapeArgs;return s&&r?(i=S(t.clientX,t.plotX),o=t.plotY||0,t.isNode&&n&&v(n.x)&&v(n.y)&&(i=n.x,o=n.y),e?{chartX:r.len+r.pos-o,chartY:s.len+s.pos-i}:{chartX:i+s.pos,chartY:o+r.pos}):n&&n.x&&n.y?{chartX:n.x,chartY:n.y}:void 0},M.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=n(t),i=(this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1},t.offsetWidth),t=t.offsetHeight;return 2x.max&&(i=x.max-h,c=!0),c?(k-=.8*(k-n[p][0]),"number"==typeof C&&(C-=.8*(C-n[p][1])),e()):n[p]=[k,C],y||(r[p]=l-m,r[g]=h),r=y?1/M:M,s[g]=h,s[p]=i,o[y?t?"scaleY":"scaleX":"scale"+u]=M,o["translate"+u]=r*m+(k-r*b)},M.prototype.reset=function(e,t){var i=this.chart,o=i.hoverSeries,s=i.hoverPoint,r=i.hoverPoints,n=i.tooltip,a=n&&n.shared?r:s;e&&a&&h(a).forEach(function(t){t.series.isCartesian&&void 0===t.plotX&&(e=!1)}),e?n&&a&&h(a).length&&(n.refresh(a),n.shared&&r?r.forEach(function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))}):s&&(s.setState(s.state,!0),i.axes.forEach(function(t){t.crosshair&&s.series[t.coll]===t&&t.drawCrosshair(null,s)}))):(s&&s.onMouseOut(),r&&r.forEach(function(t){t.setState()}),o&&o.onMouseOut(),n&&n.hide(t),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach(function(t){t.hideCrosshair()}),this.hoverX=i.hoverPoints=i.hoverPoint=null)},M.prototype.runPointActions=function(o,t,e){var s=this.chart,i=s.tooltip&&s.tooltip.options.enabled?s.tooltip:void 0,r=!!i&&i.shared,n=t||s.hoverPoint,a=n&&n.series||s.hoverSeries,h=(t=this.getHoverData(n,a,s.series,(!o||"touchmove"!==o.type)&&(!!t||a&&a.directTouch&&this.isDirectTouch),r,o),n=t.hoverPoint,a=t.hoverSeries,t.hoverPoints),l=(t=a&&a.tooltipOptions.followPointer&&!a.tooltipOptions.split,r&&a&&!a.noSharedTooltip);if(n&&(e||n!==s.hoverPoint||i&&i.isHidden)){if((s.hoverPoints||[]).forEach(function(t){-1===h.indexOf(t)&&t.setState()}),s.hoverSeries!==a&&a.onMouseOver(),this.applyInactiveState(h),(h||[]).forEach(function(t){t.setState("hover")}),s.hoverPoint&&s.hoverPoint.firePointEvent("mouseOut"),!n.series)return;s.hoverPoints=h,(s.hoverPoint=n).firePointEvent("mouseOver",void 0,function(){i&&n&&i.refresh(l?h:n,o)})}else t&&i&&!i.isHidden&&(e=i.getAnchor([{}],o),s.isInsidePlot(e[0],e[1],{visiblePlotOnly:!0})&&i.updatePosition({plotX:e[0],plotY:e[1]}));this.unDocMouseMove||(this.unDocMouseMove=d(s.container.ownerDocument,"mousemove",function(t){var e=c[M.hoverChartIndex];e&&e.pointer.onDocumentMouseMove(t)}),this.eventsToUnbind.push(this.unDocMouseMove)),s.axes.forEach(function(e){var t,i=S((e.crosshair||{}).snap,!0);(t=!i||(t=s.hoverPoint)&&t.series[e.coll]===e?t:p(h,function(t){return t.series&&t.series[e.coll]===e}))||!i?e.drawCrosshair(o,t):e.hideCrosshair()})},M.prototype.scaleGroups=function(i,o){var s=this.chart;s.series.forEach(function(t){var e=i||t.getPlotBox();t.group&&(t.xAxis&&t.xAxis.zoomEnabled||s.mapView)&&(t.group.attr(e),t.markerGroup&&(t.markerGroup.attr(e),t.markerGroup.clip(o?s.clipRect:null)),t.dataLabelsGroup&&t.dataLabelsGroup.attr(e))}),s.clipRect.attr(o||s.clipBox)},M.prototype.setDOMEvents=function(){var t=this,e=this.chart.container,i=e.ownerDocument;e.onmousedown=this.onContainerMouseDown.bind(this),e.onmousemove=this.onContainerMouseMove.bind(this),e.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(d(e,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(d(e,"mouseleave",this.onContainerMouseLeave.bind(this))),M.unbindDocumentMouseUp||(M.unbindDocumentMouseUp=d(i,"mouseup",this.onDocumentMouseUp.bind(this)));for(var o=this.chart.renderTo.parentElement;o&&"BODY"!==o.tagName;)this.eventsToUnbind.push(d(o,"scroll",function(){delete t.chartPosition})),o=o.parentElement;s.hasTouch&&(this.eventsToUnbind.push(d(e,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(d(e,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),M.unbindDocumentTouchEnd||(M.unbindDocumentTouchEnd=d(i,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},M.prototype.setHoverChartIndex=function(){var t=this.chart,e=s.charts[S(M.hoverChartIndex,-1)];e&&e!==t&&e.pointer.onContainerMouseLeave({relatedTarget:t.container}),e&&e.mouseIsDown||(M.hoverChartIndex=t.index)},M.prototype.touch=function(t,e){var i,o=this.chart;this.setHoverChartIndex(),1===t.touches.length?(t=this.normalize(t),o.isInsidePlot(t.chartX-o.plotLeft,t.chartY-o.plotTop,{visiblePlotOnly:!0})&&!o.openMenu?(e&&this.runPointActions(t),"touchmove"===t.type&&(i=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2))),S(i,!0)&&this.pinch(t)):e&&this.reset()):2===t.touches.length&&this.pinch(t)},M.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zooming.singleTouch||!t.touches||1!==t.touches.length)},M.prototype.zoomOption=function(t){var e=(i=this.chart).options.chart,i=i.inverted,o=e.zooming.type||"";/touch/.test(t.type)&&(o=S(e.zooming.pinchType,o)),this.zoomX=t=/x/.test(o),this.zoomY=e=/y/.test(o),this.zoomHor=t&&!i||e&&i,this.zoomVert=e&&!i||t&&i,this.hasZoom=t||e},t=M}),t(e,"Core/MSPointer.js",[e["Core/Globals.js"],e["Core/Pointer.js"],e["Core/Utilities.js"]],function(t,n,e){function i(t,e,i,o){var s,r=a[n.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!r||(r=r.pointer,o(t),r[e]({type:i,target:t.currentTarget,preventDefault:l,touches:((s=[]).item=function(t){return this[t]},u(m,function(t){s.push({pageX:t.pageX,pageY:t.pageY,target:t.target})}),s)}))}var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),a=t.charts,h=t.doc,l=t.noop,c=t.win,d=e.addEvent,p=e.css,u=e.objectEach,f=e.pick,g=e.removeEvent,m={},y=!!c.PointerEvent;return r(x,s=n),x.isRequired=function(){return!(t.hasTouch||!c.PointerEvent&&!c.MSPointerEvent)},x.prototype.batchMSEvents=function(t){t(this.chart.container,y?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,y?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(h,y?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},x.prototype.destroy=function(){this.batchMSEvents(g),s.prototype.destroy.call(this)},x.prototype.init=function(t,e){s.prototype.init.call(this,t,e),this.hasZoom&&p(t.container,{"-ms-touch-action":"none","touch-action":"none"})},x.prototype.onContainerPointerDown=function(t){i(t,"onContainerTouchStart","touchstart",function(t){m[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}})},x.prototype.onContainerPointerMove=function(t){i(t,"onContainerTouchMove","touchmove",function(t){m[t.pointerId]={pageX:t.pageX,pageY:t.pageY},m[t.pointerId].target||(m[t.pointerId].target=t.currentTarget)})},x.prototype.onDocumentPointerUp=function(t){i(t,"onDocumentTouchEnd","touchend",function(t){delete m[t.pointerId]})},x.prototype.setDOMEvents=function(){var t=this.chart.tooltip;s.prototype.setDOMEvents.call(this),(this.hasZoom||f(t&&t.options.followTouchMove,!0))&&this.batchMSEvents(d)},x;function x(){return null!==s&&s.apply(this,arguments)||this}}),t(e,"Core/Legend/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Series/Point.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Utilities.js"]],function(t,e,i,d,o,s){var p=t.animObject,u=t.setAnimation,r=e.format,a=i.marginNames,h=o.distribute,n=s.addEvent,l=s.createElement,c=s.css,f=s.defined,g=s.discardElement,m=s.find,y=s.fireEvent,x=s.isNumber,v=s.merge,S=s.pick,b=s.relativeLength,M=s.stableSort,k=s.syncTimeout;function C(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options=void 0,this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return C.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),n(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=n(this.chart,"render",function(){this.legend.proximatePositions(),this.legend.positionItems()}):this.unchartrender&&this.unchartrender())},C.prototype.setOptions=function(t){var e=S(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=v(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=S(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},C.prototype.update=function(t,e){var i=this.chart;this.setOptions(v(!0,this.options,t)),this.destroy(),i.isDirtyLegend=i.isDirtyBox=!0,S(e,!0)&&i.redraw(),y(this,"afterUpdate")},C.prototype.colorizeItem=function(t,e){var i,o,s,r,n=(l=t.legendItem||{}).group,a=l.label,h=l.line,l=l.symbol;n&&n[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),this.chart.styledMode||(i=this.options,n=this.itemHiddenStyle.color,i=e?i.itemStyle.color:n,o=e&&t.color||n,s=t.options&&t.options.marker,r={fill:o},a&&a.css({fill:i,color:i}),h&&h.attr({stroke:o}),l&&(s&&l.isMarker&&(r=t.pointAttribs(),e||(r.stroke=r.fill=n)),l.attr(r))),y(this,"afterColorizeItem",{item:t,visible:e})},C.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},C.prototype.positionItem=function(t){var e=this,i=t.legendItem||{},o=i.group,s=void 0===(s=i.x)?0:s;i=void 0===(i=i.y)?0:i;var r=(a=this.options).symbolPadding,n=!a.rtl,a=t.checkbox;o&&o.element&&(r={translateX:n?s:this.legendWidth-s-2*r-4,translateY:i},o[f(o.translateY)?"animate":"attr"](r,void 0,function(){y(e,"afterPositionItem",{item:t})})),a&&(a.x=s,a.y=i)},C.prototype.destroyItem=function(t){for(var e=t.checkbox,i=t.legendItem||{},o=0,s=["group","label","line","symbol"];o1.5*o?i.height:o))},C.prototype.layoutItem=function(t){var e=this.options,i=this.padding,o="horizontal"===e.layout,s=t.itemHeight,r=this.itemMarginBottom,n=this.itemMarginTop,a=o?S(e.itemDistance,20):0,h=this.maxLegendWidth,e=e.alignColumns&&this.totalItemWidth>h?this.maxItemWidth:t.itemWidth,l=t.legendItem||{};o&&this.itemX-i+e>h&&(this.itemX=i,this.lastLineHeight&&(this.itemY+=n+this.lastLineHeight+r),this.lastLineHeight=0),this.lastItemY=n+this.itemY+r,this.lastLineHeight=Math.max(s,this.lastLineHeight),l.x=this.itemX,l.y=this.itemY,o?this.itemX+=e:(this.itemY+=n+s+r,this.lastLineHeight=s),this.offsetWidth=this.widthOption||Math.max((o?this.itemX-i-(t.checkbox?0:a):e)+i,this.offsetWidth)},C.prototype.getAllItems=function(){var i=[];return this.chart.series.forEach(function(t){var e=t&&t.options;t&&S(e.showInLegend,!f(e.linkedTo)&&void 0,!0)&&(i=i.concat((t.legendItem||{}).labels||("point"===e.legendType?t.data:t)))}),y(this,"afterGetAllItems",{allItems:i}),i},C.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},C.prototype.adjustMargins=function(i,o){var s=this.chart,r=this.options,n=this.getAlignment();n&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(t,e){t.test(n)&&!f(i[e])&&(s[a[e]]=Math.max(s[a[e]],s.legend[(e+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][e]*r[e%2?"x":"y"]+S(r.margin,12)+o[e]+(s.titleOffset[e]||0)))})},C.prototype.proximatePositions=function(){var s=this.chart,r=[],n="left"===this.options.align;this.allItems.forEach(function(t){var e,i,o=n;t.yAxis&&(t.xAxis.options.reversed&&(o=!o),t.points&&(e=m(o?t.points:t.points.slice(0).reverse(),function(t){return x(t.plotY)})),o=this.itemMarginTop+t.legendItem.label.getBBox().height+this.itemMarginBottom,i=t.yAxis.top-s.plotTop,t.visible?(e=e?e.plotY:t.yAxis.height,e+=i-.3*o):e=i+t.yAxis.height,r.push({target:e,size:o,item:t}))},this);for(var t=0,e=h(r,s.plotHeight);ts&&(r||t)!==y[o-1])&&(y.push(r||t),o++),n.pageIx=o-1,r&&((x[e-1].legendItem||{}).pageIx=o-1),e===x.length-1&&t+i-y[o-1]>s&&i<=s&&(y.push(t),n.pageIx=o),t!==r&&(r=t)}),b||(b=o.clipRect=h.clipRect(0,p,9999,0),o.contentGroup.clip(b)),e(s),v||(this.nav=v=h.g().attr({zIndex:1}).add(this.group),this.up=h.symbol("triangle",0,0,m,m).add(v),i("upTracker").on("click",function(){o.scroll(-1,g)}),this.pager=h.text("",15,10).addClass("highcharts-legend-navigation"),!a.styledMode&&f.style&&this.pager.css(f.style),this.pager.add(v),this.down=h.symbol("triangle-down",0,0,m,m).add(v),i("downTracker").on("click",function(){o.scroll(1,g)})),o.scroll(0),t=c):v&&(e(),this.nav=v.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},C.prototype.scroll=function(t,e){var i=this,o=this.chart,s=this.pages,r=s.length,n=this.clipHeight,a=this.options.navigation,h=this.pager,l=this.padding,c=this.currentPage+t;0<(c=r=Math.max(l+n,o.pos)&&h<=Math.min(l+n+r.width,o.pos+o.len)||(t.isInsidePlot=!1)),!i.ignoreY&&t.isInsidePlot&&(s=i.axis&&!i.axis.isXAxis&&i.axis||d&&(s?d.xAxis:d.yAxis)||{pos:a,len:1/0},(i=i.paneCoordinates?s.pos+e:a+e)>=Math.max(c+a,s.pos)&&i<=Math.min(c+a+r.height,s.pos+s.len)||(t.isInsidePlot=!1)),w(this,"afterIsInsidePlot",t),t.isInsidePlot},I.prototype.redraw=function(t){w(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],i=this.series,o=this.pointer,s=this.legend,r=this.userOptions.legend,n=this.renderer,a=n.isHidden(),h=[],l=this.isDirtyBox,c=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),f(!!this.hasRendered&&t,this),a&&this.temporaryDisplay(),this.layOutTitles(),t=i.length;t--;){var d=i[t];if(d.options.stacking||d.options.centerInCategory){var p=!0;if(d.isDirty){var u=!0;break}}}if(u)for(t=i.length;t--;)(d=i[t]).options.stacking&&(d.isDirty=!0);i.forEach(function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),c=!0):r&&(r.labelFormatter||r.labelFormat)&&(c=!0)),t.isDirtyData&&w(t,"updatedData")}),c&&s&&s.options.enabled&&(s.render(),this.isDirtyLegend=!1),p&&this.getStacks(),e.forEach(function(t){t.updateNames(),t.setScale()}),this.getMargins(),e.forEach(function(t){t.isDirty&&(l=!0)}),e.forEach(function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,h.push(function(){w(t,"afterSetExtremes",C(t.eventArgs,t.getExtremes())),delete t.eventArgs})),(l||p)&&t.redraw()}),l&&this.drawChartBox(),w(this,"predraw"),i.forEach(function(t){(l||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1}),o&&o.reset(!0),n.draw(),w(this,"redraw"),w(this,"render"),a&&this.temporaryDisplay(!0),h.forEach(function(t){t.call()})},I.prototype.get=function(e){function t(t){return t.id===e||t.options&&t.options.id===e}for(var i=this.series,o=r(this.axes,t)||r(this.series,t),s=0;!o&&s=j(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return j(e,t.length-1)},I.prototype.bindAxes=function(){var o,s=this,r=s.options,t=s.chart;P(this,"bindAxes",null,function(){(s.axisTypes||[]).forEach(function(e){var i=0;t[e].forEach(function(t){o=t.options,(r[e]===i&&!o.isInternal||void 0!==r[e]&&r[e]===o.id||void 0===r[e]&&0===o.index)&&(s.insert(t.series),(s[e]=t).isDirty=!0),o.isInternal||i++}),s[e]||s.optionalAxis===e||M(18,!0,t)})}),P(this,"afterBindAxes")},I.prototype.updateParallelArrays=function(i,o){var s=i.series,e=arguments,t=L(o)?function(t){var e="y"===t&&s.toYData?s.toYData(i):i[t];s[t+"Data"][o]=e}:function(t){Array.prototype[o].apply(s[t+"Data"],Array.prototype.slice.call(e,2))};s.parallelArrays.forEach(t)},I.prototype.hasData=function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0=this.cropStart?s-this.cropStart:s),s=!o&&L(s)&&a[s]&&a[s].touched?void 0:s},I.prototype.updateData=function(t,e){var s,i,r,n=this.options,a=n.dataSorting,h=this.points,l=[],c=this.requireSorting,d=t.length===h.length,o=!0;if(this.xIncrement=null,t.forEach(function(t,e){var i=T(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},o=i.x;i.id||L(o)?(-1===(i=this.findPointIndex(i,r))||void 0===i?l.push(t):h[i]&&t!==n.data[i]?(h[i].update(t,!1,null,!1),h[i].touched=!0,c&&(r=i+1)):h[i]&&(h[i].touched=!0),(!d||e!==i||a&&a.enabled||this.hasDerivedData)&&(s=!0)):l.push(t)},this),s)for(t=h.length;t--;)(i=h[t])&&!i.touched&&i.remove&&i.remove(!1,e);else!d||a&&a.enabled?o=!1:(t.forEach(function(t,e){t!==h[e].y&&h[e].update&&h[e].update(t,!1,null,!1)}),l.length=0);return h.forEach(function(t){t&&(t.touched=!1)}),!!o&&(l.forEach(function(t){this.addPoint(t,!1,null,null,!1)},this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=x(this.xData),this.autoIncrement()),!0)},I.prototype.setData=function(t,e,i,o){void 0===e&&(e=!0);var s,r,n=this,a=n.points,h=a&&a.length||0,l=n.options,c=n.chart,d=l.dataSorting,p=n.xAxis,u=l.turboThreshold,f=this.xData,g=this.yData,m=(m=n.pointArrayMap)&&m.length,y=l.keys,x=0,v=1;if(c.options.chart.allowMutatingData||(l.data&&delete n.options.data,n.userOptions.data&&delete n.userOptions.data,r=E(!0,t)),r=(t=r||t||[]).length,d&&d.enabled&&(t=this.sortData(t)),!(s=c.options.chart.allowMutatingData&&!1!==o&&r&&h&&!n.cropped&&!n.hasGroupedData&&n.visible&&!n.boosted?this.updateData(t,i):s)){if(n.xIncrement=null,n.colorCounter=0,this.parallelArrays.forEach(function(t){n[t+"Data"].length=0}),u&&ui?(d=[],p=[]):this.yData&&(d[0]i)&&(d=(o=this.cropData(this.xData,this.yData,e,i)).xData,p=o.yData,c=o.start,o=!0)),a=d.length||1;--a;)0<(r=n?t(d[a])-t(d[a-1]):d[a]-d[a-1])&&(void 0===s||r=i){a=Math.max(0,r-s);break}for(i=r;io){h=i+s;break}return{xData:t.slice(a,h),yData:e.slice(a,h),start:a,end:h}},I.prototype.generatePoints=function(){var t,e,i=this.options,o=this.processedData||i.data,s=this.processedXData,r=this.processedYData,n=this.pointClass,a=s.length,h=this.cropStart||0,l=this.hasGroupedData,c=i.keys,d=[],i=i.dataGrouping&&i.dataGrouping.groupAll?h:0,p=this.data;for(p||l||((f=[]).length=o.length,p=this.data=f),c&&l&&(this.options.keys=!1),e=0;e=h&&(r[i-a]||p)<=l;if(f&&p)if(f=u.length)for(;f--;)L(u[f])&&(n[c++]=u[f]);else n[c++]=u}return t={activeYData:n,dataMin:v(n),dataMax:x(n)},P(this,"afterGetExtremes",{dataExtremes:t}),t},I.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},I.prototype.getFirstValidPoint=function(t){for(var e=t.length,i=0,o=null;null===o&&i=n.enabledThreshold*n.radius);if(!1!==n.enabled||this._hasPointMarkers)for(e=0;el.max,c.resetZones&&0===i&&(i=void 0)}),this.clips=u):c.visible&&(f&&f.show(),g&&g.show())},I.prototype.plotGroup=function(t,e,i,o,s){var r=this[t],n=!r;return i={visibility:i,zIndex:o||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(i.opacity=this.opacity),n&&(this[t]=r=this.chart.renderer.g().add(s)),r.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(T(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(r.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),r.attr(i)[n?"attr":"animate"](this.getPlotBox(e)),r},I.prototype.getPlotBox=function(t){var e=this.xAxis,i=this.yAxis,o=this.chart;return t=o.inverted&&!o.polar&&e&&!1!==this.invertible&&"series"===t,o.inverted&&(e=i,i=this.xAxis),{translateX:e?e.left:o.plotLeft,translateY:i?i.top:o.plotTop,rotation:t?90:0,rotationOriginX:t?(e.len-i.len)/2:0,rotationOriginY:t?(e.len+i.len)/2:0,scaleX:t?-1:1,scaleY:1}},I.prototype.removeEvents=function(t){t||G(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(t){t()}),this.eventsToUnbind.length=0)},I.prototype.render=function(){var t=this,e=t.chart,i=t.options,o=d(i.animation),s=t.visible?"inherit":"hidden",r=i.zIndex,n=t.hasRendered,a=e.seriesGroup,e=!t.finishedAnimating&&e.renderer.isSVG?o.duration:0;P(this,"render"),t.plotGroup("group","series",s,r,a),t.markerGroup=t.plotGroup("markerGroup","markers",s,r,a),!1!==i.clip&&t.setClip(),t.animate&&e&&t.animate(!0),t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.animate&&e&&t.animate(),n||(e&&o.defer&&(e+=o.defer),t.animationTimeout=B(function(){t.afterAnimate()},e||0)),t.isDirty=!1,t.hasRendered=!0,P(t,"afterRender")},I.prototype.redraw=function(){var t=this.isDirty||this.isDirtyData;this.translate(),this.render(),t&&delete this.kdTree},I.prototype.searchPoint=function(t,e){var i=this.xAxis,o=this.yAxis,s=this.chart.inverted;return this.searchKDTree({clientX:s?i.len-t.chartY+i.pos:t.chartX-i.pos,plotY:s?o.len-t.chartX+o.pos:t.chartY-o.pos},e,t)},I.prototype.buildKDTree=function(t){this.buildingKdTree=!0;var n=this,e=-1u;)f--;this.updateParallelArrays(p,"splice",f,0,0),this.updateParallelArrays(p,f),l&&p.name&&(l[u]=p.name),c.splice(f,0,t),(r||this.processedData)&&(this.data.splice(f,0,null),this.processData()),"point"===n.legendType&&this.generatePoints(),i&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(p,"shift"),c.shift())),!1!==s&&P(this,"addPoint",{point:p}),this.isDirtyData=this.isDirty=!0,e&&h.redraw(o)},I.prototype.removePoint=function(t,e,i){function o(){a&&a.length===r.length&&a.splice(t,1),r.splice(t,1),s.options.data.splice(t,1),s.updateParallelArrays(n||{series:s},"splice",t,1),n&&n.destroy(),s.isDirty=!0,s.isDirtyData=!0,e&&h.redraw()}var s=this,r=s.data,n=r[t],a=s.points,h=s.chart;p(i,h),e=j(e,!0),n?n.firePointEvent("remove",null,o):o()},I.prototype.remove=function(t,e,i,o){function s(){r.destroy(o),n.isDirtyLegend=n.isDirtyBox=!0,n.linkSeries(),j(t,!0)&&n.redraw(e)}var r=this,n=r.chart;!1!==i?P(r,"remove",null,s):s()},I.prototype.update=function(t,e){t=b(t,this.userOptions),P(this,"update",{options:t});var i,o=this,s=o.chart,r=o.userOptions,n=o.initialType||o.type,a=s.options.plotOptions,h=y[n].prototype,l=o.finishedAnimating&&{animation:!1},c={},d=["eventOptions","navigatorSeries","baseSeries"],p=t.type||r.type||s.options.chart.type,u=!(this.hasDerivedData||p&&p!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||void 0!==t.relativeXValue||t.joinBy||t.mapData||o.hasOptionChanged("dataGrouping")||o.hasOptionChanged("pointStart")||o.hasOptionChanged("pointInterval")||o.hasOptionChanged("pointIntervalUnit")||o.hasOptionChanged("keys")),p=p||n;if(u&&(d.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&d.push("area","graph"),o.parallelArrays.forEach(function(t){d.push(t+"Data")}),t.data&&(t.dataSorting&&k(o.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=E(r,l,{index:(void 0===r.index?o:r).index,pointStart:j(a&&a.series&&a.series.pointStart,r.pointStart,o.xData[0])},!u&&{data:o.options.data},t),u&&t.data&&(t.data=o.options.data),(d=["group","markerGroup","dataLabelsGroup","transformGroup","shadowGroup"].concat(d)).forEach(function(t){d[t]=o[t],delete o[t]}),a=!1,y[p]){if(a=p!==o.type,o.remove(!1,!1,!1,!0),a)if(Object.setPrototypeOf)Object.setPrototypeOf(o,y[p].prototype);else{for(i in l=Object.hasOwnProperty.call(o,"hcEvents")&&o.hcEvents,h)o[i]=void 0;k(o,y[p].prototype),l?o.hcEvents=l:delete o.hcEvents}}else M(17,!0,s,{missingModuleFor:p});if(d.forEach(function(t){o[t]=d[t]}),o.init(s,t),u&&this.points)for(!1===(t=o.options).visible?(c.graphic=1,c.dataLabel=1):o._hasPointLabels||(h=t.marker,i=t.dataLabels,r=r.marker||{},!h||!1!==h.enabled&&r.symbol===h.symbol&&r.height===h.height&&r.width===h.width||(c.graphic=1),i&&!1===i.enabled&&(c.dataLabel=1)),r=0,h=this.points;rm?e-m:g-(o?m:0)),C(t.options.pointWidth)&&(n=h=Math.ceil(t.options.pointWidth),a-=Math.round((n-x)/2)),d.centerInCategory&&(a=l.adjustForMissingColumns(a,n,t,y)),t.barX=a,t.pointWidth=n,t.tooltipPos=c.inverted?[k(u.len+u.pos-c.plotLeft-i,u.pos-c.plotLeft,u.len+u.pos-c.plotLeft),p.len+p.pos-c.plotTop-a-h/2,r]:[p.left-c.plotLeft+a+h/2,k(i+u.pos-c.plotTop,u.pos-c.plotTop,u.len+u.pos-c.plotTop),r],t.shapeType=l.pointClass.prototype.shapeType||"rect",t.shapeArgs=l.crispCol.apply(l,t.isNull?[a,g,h,0]:[a,s,h,r])})},v.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},v.prototype.pointAttribs=function(t,e){var i,o=this.options,s=(h=this.pointAttrToOptions||{}).stroke||"borderColor",r=h["stroke-width"]||"borderWidth",n=t&&t.color||this.color,a=t&&t[s]||o[s]||n,h=t&&t.options.dashStyle||o.dashStyle,l=t&&t[r]||o[r]||this[r]||0,c=A(t&&t.opacity,o.opacity,1);return t&&this.zones.length&&(i=t.getZone(),n=t.options.color||i&&(i.color||t.nonZonedColor)||this.color,i&&(a=i.borderColor||a,h=i.dashStyle||h,l=i.borderWidth||l)),e&&t&&(e=(t=y(o.states[e],t.options.states&&t.options.states[e]||{})).brightness,n=t.color||void 0!==e&&p(n).brighten(t.brightness).get()||n,a=t[s]||a,l=t[r]||l,h=t.dashStyle||h,c=A(t.opacity,c)),s={fill:n,stroke:a,"stroke-width":l,opacity:c},h&&(s.dashstyle=h),s},v.prototype.drawPoints=function(t){void 0===t&&(t=this.points);var s,r=this,n=this.chart,a=r.options,h=n.renderer,l=a.animationLimit||250;t.forEach(function(t){var e=t.graphic,i=!!e,o=e&&n.pointCount"===a&&l="===a&&l<=h||"<="===a&&h<=l||"=="===a&&h==l||"==="===a&&h===l)),h=p.connectors?p.connectors[e]:p.connector,l=p.dataLabels?p.dataLabels[e]:p.dataLabel,c=!l,d=M(t.distance,p.labelDistance);a&&(i=p.getLabelConfig(),o=M(t[p.formatPrefix+"Format"],t.format),i=b(o)?v(o,i,g):(t[p.formatPrefix+"Formatter"]||t.formatter).call(i,t),o=t.style,s=t.rotation,g.styledMode||(o.color=M(t.color,o.color,f.color,"#000000"),"contrast"===o.color?(p.contrastColor=y.getContrast(p.color||f.color),o.color=!b(d)&&t.inside||d<0||m.stacking?p.contrastColor:x):delete p.contrastColor,m.cursor&&(o.cursor=m.cursor)),r={r:t.borderRadius||0,rotation:s,padding:t.padding,zIndex:1},g.styledMode||(d=t.backgroundColor,n=t.borderColor,r.fill="auto"===d?p.color:d,r.stroke="auto"===n?p.color:n,r["stroke-width"]=t.borderWidth),S(r,function(t,e){void 0===t&&delete r[e]})),!l||a&&b(i)&&!!l.div==!!t.useHTML&&(l.rotation&&t.rotation||l.rotation===t.rotation)||(c=!0,p.dataLabel=l=p.dataLabel&&p.dataLabel.destroy(),p.dataLabels&&(1===p.dataLabels.length?delete p.dataLabels:delete p.dataLabels[e]),e||delete p.dataLabel,h&&(p.connector=p.connector.destroy(),p.connectors&&(1===p.connectors.length?delete p.connectors:delete p.connectors[e]))),a&&b(i)?(l?r.text=i:(p.dataLabels=p.dataLabels||[],l=p.dataLabels[e]=s?y.text(i,0,0,t.useHTML).addClass("highcharts-data-label"):y.label(i,0,0,t.shape,null,null,t.useHTML,null,"data-label"),e||(p.dataLabel=l),l.addClass(" highcharts-data-label-color-"+p.colorIndex+" "+(t.className||"")+(t.useHTML?" highcharts-tracker":""))),l.options=t,l.attr(r),g.styledMode||l.css(o).shadow(t.shadow),(e=t[p.formatPrefix+"TextPath"]||t.textPath)&&!t.useHTML&&(l.setTextPath(p.getDataLabelPath&&p.getDataLabelPath(l)||p.graphic,e),p.dataLabelPath&&!e.enabled&&(p.dataLabelPath=p.dataLabelPath.destroy())),l.added||l.add(u),f.alignDataLabel(p,l,t,null,c)):l&&l.hide()})})),n(this,"afterDrawDataLabels")}function u(t,e,i,o,s,r){var n,a=this.chart,h=e.align,l=e.verticalAlign,c=!t.box&&t.padding||0,d=void 0===(d=e.x)?0:d,p=void 0===(p=e.y)?0:p,u=(i.x||0)+c;return u<0&&("right"===h&&0<=d?(e.align="left",e.inside=!0):d-=u,n=!0),(u=(i.x||0)+o.width-c)>a.plotWidth&&("left"===h&&d<=0?(e.align="right",e.inside=!0):d+=a.plotWidth-u,n=!0),(u=i.y+c)<0&&("bottom"===l&&0<=p?(e.verticalAlign="top",e.inside=!0):p-=u,n=!0),(u=(i.y||0)+o.height-c)>a.plotHeight&&("top"===l&&p<=0?(e.verticalAlign="bottom",e.inside=!0):p+=a.plotHeight-u,n=!0),n&&(e.x=d,e.y=p,t.placed=!r,t.align(e,void 0,s)),n}function k(e,i){var t,o=[];if(a(e)&&!a(i))o=e.map(function(t){return l(t,i)});else if(a(i)&&!a(e))o=i.map(function(t){return l(e,t)});else if(a(e)||a(i))for(t=Math.max(e.length,i.length);t--;)o[t]=l(e[t],i[t]);else o=l(e,i);return o}function f(t,e,i,o,s){var r=this.chart,n=r.inverted,a=this.xAxis,h=a.reversed,l=n?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=n?s.x:h?-l-t:a.width-l+t,e.startYPos=n?h?this.yAxis.height-l+t:-l-t:s.y,o?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),r.hasRendered&&(i&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}return o=o||{},s=[],o.compose=function(t){var e;-1===s.indexOf(t)&&(e=t.prototype,s.push(t),e.alignDataLabel=d,e.drawDataLabels=p,e.justifyDataLabel=u,e.setDataLabelStartPos=f)},o}),t(e,"Series/Column/ColumnDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,t,i){var o,s,d=t.series,p=i.merge,u=i.pick;function r(t,e,i,o,s){var r=this.chart.inverted,n=((a=t.series).xAxis?a.xAxis.len:this.chart.plotSizeX)||0,a=(a.yAxis?a.yAxis.len:this.chart.plotSizeY)||0,h=t.dlBox||t.shapeArgs,l=u(t.below,t.plotY>u(this.translatedThreshold,a)),c=u(i.inside,!!this.options.stacking);h&&((o=p(h)).y<0&&(o.height+=o.y,o.y=0),0<(h=o.y+o.height-a)&&h {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}}}),t(e,"Series/Scatter/ScatterSeries.js",[e["Series/Scatter/ScatterSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i){var o,s,r=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),n=(h=e.seriesTypes).column,a=h.line,h=i.addEvent,l=i.extend,c=i.merge;function d(){var t=null!==s&&s.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(d,s=a),d.prototype.applyJitter=function(){var h=this,l=this.options.jitter,c=this.points.length;l&&this.points.forEach(function(n,a){["x","y"].forEach(function(t,e){var i,o,s,r="plot"+t.toUpperCase();l[t]&&!n.isNull&&(s=h[t+"Axis"],i=l[t]*s.transA,s&&!s.isLog&&(o=Math.max(0,n[r]-i),s=Math.min(s.len,n[r]+i),e=1e4*Math.sin(a+e*c),n[r]=o+(s-o)*(e-Math.floor(e)),"x"===t&&(n.clientX=n.plotX)))})})},d.prototype.drawGraph=function(){this.options.lineWidth?s.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},d.defaultOptions=c(a.defaultOptions,t),l((i=d).prototype,{drawTracker:n.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),h(i,"afterTranslate",function(){this.applyJitter()}),e.registerSeriesType("scatter",i),i}),t(e,"Series/CenteredUtilities.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(t,c,e){var i,o=t.deg2rad,d=e.fireEvent,p=e.isNumber,u=e.pick,f=e.relativeLength;return(t=i=i||{}).getCenter=function(){var t=this.options,e=this.chart,i=2*(t.slicedOffset||0),o=e.plotWidth-2*i,s=e.plotHeight-2*i,r=t.center,n=Math.min(o,s),a=t.thickness,h=t.size,l=t.innerSize||0;for("string"==typeof h&&(h=parseFloat(h)),"string"==typeof l&&(l=parseFloat(l)),t=[u(r[0],"50%"),u(r[1],"50%"),u(h&&h<0?void 0:t.size,"100%"),u(l&&l<0?void 0:t.innerSize||0,"0%")],!e.angular||this instanceof c||(t[3]=0),r=0;r<4;++r)h=t[r],e=r<2||2===r&&/%$/.test(h),t[r]=f(h,[o,s,n,t[2]][r])+(e?i:0);return t[3]>t[2]&&(t[3]=t[2]),p(a)&&2*at.x||se.x)&&(o=!1),t=[["M",t.x,t.y]],o&&t.push(i),t.push(["L",e.x,e.y]),t}}}),e}),t(e,"Series/Pie/PieSeriesDefaults.js",[],function(){return{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}}),t(e,"Series/Pie/PieSeries.js",[e["Series/CenteredUtilities.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Series/Pie/PiePoint.js"],e["Series/Pie/PieSeriesDefaults.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],function(t,e,i,o,s,r,n,a,h,l){var c,d,p=this&&this.__extends||(c=function(t,e){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}c(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),m=t.getStartAndEndRadians,u=(i=i.noop,l.clamp),f=l.extend,y=l.fireEvent,g=l.merge,x=l.pick,v=l.relativeLength;function b(){var t=null!==d&&d.apply(this,arguments)||this;return t.center=void 0,t.data=void 0,t.maxLabelDistance=void 0,t.options=void 0,t.points=void 0,t}return p(b,d=n),b.prototype.animate=function(t){var o=this,e=o.points,s=o.startAngleRad;t||e.forEach(function(t){var e=t.graphic,i=t.shapeArgs;e&&i&&(e.attr({r:x(t.startR,o.center&&o.center[3]/2),start:s,end:s}),e.animate({r:i.r,start:i.start,end:i.end},o.options.animation))})},b.prototype.drawEmpty=function(){var t,e,i=this.startAngleRad,o=this.endAngleRad,s=this.options;0===this.total&&this.center?(t=this.center[0],e=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(t,e,this.center[1]/2,0,i,o).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:h.arc(t,e,this.center[2]/2,0,{start:i,end:o,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":s.borderWidth,fill:s.fillColor||"none",stroke:s.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())},b.prototype.drawPoints=function(){var e=this.chart.renderer;this.points.forEach(function(t){t.graphic&&t.hasNewShapeType()&&(t.graphic=t.graphic.destroy()),t.graphic||(t.graphic=e[t.shapeType](t.shapeArgs).add(t.series.group),t.delayedRendering=!0)})},b.prototype.generatePoints=function(){d.prototype.generatePoints.call(this),this.updateTotals()},b.prototype.getX=function(t,e,i){var o=this.center,s=this.radii?this.radii[i.index]||0:o[2]/2;return t=Math.asin(u((t-o[1])/(s+i.labelDistance),-1,1)),o[0]+(e?-1:1)*Math.cos(t)*(s+i.labelDistance)+(01.5*Math.PI?u-=2*Math.PI:u<-Math.PI/2&&(u+=2*Math.PI),d.slicedTranslation={translateX:Math.round(Math.cos(u)*i),translateY:Math.round(Math.sin(u)*i)},f=Math.cos(u)*t[2]/2,Math.sin(u)*t[2]/2);d.tooltipPos=[t[0]+.7*f,t[1]+.7*g],d.half=u<-Math.PI/2||u>Math.PI/2?1:0,d.angle=u,p=Math.min(o,d.labelDistance/5),d.labelPosition={natural:{x:t[0]+f+Math.cos(u)*d.labelDistance,y:t[1]+g+Math.sin(u)*d.labelDistance},final:{},alignment:d.labelDistance<0?"center":d.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+f+Math.cos(u)*p,y:t[1]+g+Math.sin(u)*p},touchingSliceAt:{x:t[0]+f,y:t[1]+g}}}}y(this,"afterTranslate")},b.prototype.updateTotals=function(){for(var t=this.points,e=t.length,i=this.options.ignoreHiddenPoint,o=0,s=0;se&&(t.dataLabel.css({width:Math.round(.7*e)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))}),s.forEach(function(t,e){var i,o,s,r=t.length,n=[];if(r)for(m.sortByAngle(t,e-.5),0e.bottom-2?o:i,e.half,e)},justify:function(t,e,i){return i[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,i,o){return t=t.getBBox().width,e?t+o:i-t-o},alignToConnectors:function(t,e,i,o){var s,r=0;return t.forEach(function(t){s=t.dataLabel.getBBox().width,r=a.x+a.width||c.x+c.width<=a.x||c.y>=a.y+a.height||c.y+c.height<=a.y||((r.labelrank=r(i.minWidth,0)&&this.chartHeight>=r(i.minHeight,0)}).call(this)&&e.push(t._id)},u.prototype.setResponsive=function(t,e){var i=this,o=this.options.responsive,s=this.currentResponsive,r=[];!e&&o&&o.rules&&o.rules.forEach(function(t){void 0===t._id&&(t._id=p()),i.matchResponsiveRule(t,r)},this),(e=a.apply(void 0,r.map(function(e){return n((o||{}).rules||[],function(t){return t._id===e})}).map(function(t){return t&&t.chartOptions}))).isResponsiveOptions=!0,(r=r.toString()||void 0)!==(s&&s.ruleIds)&&(s&&this.update(s.undoOptions,t,!0),r?((s=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:r,mergedOptions:e,undoOptions:s},this.update(e,t,!0)):this.currentResponsive=void 0)},o=u,e}),t(e,"masters/highcharts.src.js",[e["Core/Globals.js"],e["Core/Utilities.js"],e["Core/Defaults.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/FormatUtilities.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Renderer/HTML/HTMLElement.js"],e["Core/Renderer/HTML/HTMLRenderer.js"],e["Core/Axis/Axis.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Axis/LogarithmicAxis.js"],e["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],e["Core/Axis/Tick.js"],e["Core/Tooltip.js"],e["Core/Series/Point.js"],e["Core/Pointer.js"],e["Core/MSPointer.js"],e["Core/Legend/Legend.js"],e["Core/Chart/Chart.js"],e["Core/Axis/Stacking/StackingAxis.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Series/Column/ColumnSeries.js"],e["Series/Column/ColumnDataLabel.js"],e["Series/Pie/PieSeries.js"],e["Series/Pie/PieDataLabel.js"],e["Core/Series/DataLabel.js"],e["Core/Responsive.js"],e["Core/Color/Color.js"],e["Core/Time.js"]],function(t,e,i,o,s,r,n,a,h,l,c,d,p,u,f,g,m,y,x,v,b,S,M,k,C,w,A,T,P,O,L,E,D,j,B){return t.animate=s.animate,t.animObject=s.animObject,t.getDeferredAnimation=s.getDeferredAnimation,t.setAnimation=s.setAnimation,t.stop=s.stop,t.timers=o.timers,t.AST=r,t.Axis=p,t.Chart=M,t.chart=M.chart,t.Fx=o,t.Legend=S,t.PlotLineOrBand=g,t.Point=x,t.Pointer=b.isRequired()?b:v,t.Series=w,t.StackItem=C,t.SVGElement=h,t.SVGRenderer=l,t.Tick=m,t.Time=B,t.Tooltip=y,t.Color=j,t.color=j.parse,d.compose(l),c.compose(h),t.defaultOptions=i.defaultOptions,t.getOptions=i.getOptions,t.time=i.defaultTime,t.setOptions=i.setOptions,t.dateFormat=n.dateFormat,t.format=n.format,t.numberFormat=n.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=a.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=A.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,P.compose(T),E.compose(w),u.compose(p),f.compose(p),L.compose(O),g.compose(p),D.compose(M),k.compose(p,M,w),t}),t(e,"Core/Axis/BrokenAxis.js",[e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],function(n,t){var e,o,i,s=t.addEvent,r=t.find,u=t.fireEvent,a=t.isArray,f=t.isNumber,g=t.pick;function h(){void 0!==this.brokenAxis&&this.brokenAxis.setBreaks(this.options.breaks,!1)}function l(){this.brokenAxis&&this.brokenAxis.hasBreaks&&(this.options.ordinal=!1)}function c(){var t=this.brokenAxis;if(t&&t.hasBreaks){for(var e=this.tickPositions,i=this.tickPositions.info,o=[],s=0;st.to||s>t.from&&nt.from&&nt.from&&n>t.to&&n=this.basePointRange&&(s=e),t=void 0;r--;)t&&!1!==t.visible||(t=i[r+1]),e=i[r],!1!==t.visible&&!1!==e.visible&&(t.x-e.x>s&&(t=(e.x+t.x)/2,i.splice(r+1,0,{isNull:!0,x:t}),o.stacking&&this.options.stacking&&((t=o.stacking.stacks[this.stackKey][t]=new n(o,o.options.stackLabels,!1,t,this.stack)).total=0)),t=e);return this.getGraphPath(i)}function v(t){this.hasBreaks=!1,this.axis=t}return t=e=e||{},o=[],t.compose=function(t,e){var i;return-1===o.indexOf(t)&&(o.push(t),t.keepProps.push("brokenAxis"),s(t,"init",d),s(t,"afterInit",h),s(t,"afterSetTickPositions",c),s(t,"afterSetOptions",l)),-1===o.indexOf(e)&&(o.push(e),(i=e.prototype).drawBreaks=y,i.gappedPath=x,s(e,"afterGeneratePoints",p),s(e,"afterRender",m)),t},v.isInBreak=function(t,e){var i=t.repeat||1/0,o=t.from,s=t.to-t.from;return e=o<=e?(e-o)%i:i-(o-e)%i,t.inclusive?e<=s:e=t)break;(o.to=t)break;if(v.isInBreak(s,t)){i-=t-s.from;break}}}return i},v.prototype.findBreakAt=function(e,t){return r(t,function(t){return t.fromthis.chart.plotSizeX/s||t&&e.forced)&&(r=!0));return r?s:0}function o(){this.series.forEach(function(t){t.hasProcessed=!1})}function s(e,t){var i;if(t=c(t,!0),e=e||{forced:!1,units:null},this instanceof r)for(i=this.series.length;i--;)this.series[i].update({dataGrouping:e},!1);else this.chart.options.series.forEach(function(t){t.dataGrouping="boolean"==typeof e?e:l(e,t.dataGrouping)});this.ordinal&&(this.ordinal.slope=void 0),t&&this.chart.redraw()}var r,a=t.addEvent,h=t.extend,l=t.merge,c=t.pick,d=[];return{compose:function(t){r=t,-1===d.indexOf(t)&&(d.push(t),a(t,"afterSetScale",o),a(t,"postProcessData",e),h(t.prototype,{applyGrouping:e,getGroupPixelWidth:i,setDataGrouping:s}))}}}),t(e,"Extensions/DataGrouping/DataGroupingSeriesComposition.js",[e["Extensions/DataGrouping/ApproximationRegistry.js"],e["Extensions/DataGrouping/DataGroupingDefaults.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Defaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(C,v,b,a,t,e){function i(t){var e=this.chart,i=this.options.dataGrouping,o=!1!==this.allowDG&&i&&k(i.enabled,e.options.isStock),s=this.visible||!e.options.chart.ignoreHiddenSeries,r=this.currentDataGrouping,n=!1;if(o&&!this.requireSorting&&(this.requireSorting=n=!0),t=!1==!(this.isCartesian&&!this.isDirty&&!this.xAxis.isDirty&&!this.yAxis.isDirty&&!t)||!o,n&&(this.requireSorting=!1),!t){this.destroyGroupedData();var a=i.groupAll?this.xData:this.processedXData,h=i.groupAll?this.yData:this.processedYData,l=(o=e.plotSizeX,(t=this.xAxis).options.ordinal),n=void 0;if((c=this.groupPixelWidth)&&a&&a.length&&o){this.isDirty=n=!0,this.points=null;var c,d=(p=t.getExtremes()).min,p=p.max,l=l&&t.ordinal&&t.ordinal.getGroupIntervalFactor(d,p,this)||1,o=t.getTimeTicks(b.Additions.prototype.normalizeTimeTickInterval(c*(p-d)/o*l,i.units||v.units),Math.min(d,a[0]),Math.max(p,a[a.length-1]),t.options.startOfWeek,a,this.closestPointRange),a=(c=S.groupData.apply(this,[a,h,o,i.approximation])).groupedXData,h=c.groupedYData,e=(l=0,i&&i.smoothed&&a.length&&(i.firstAnchor="firstPoint",i.anchor="middle",i.lastAnchor="lastPoint",M(32,!1,e,{"dataGrouping.smoothed":"use dataGrouping.anchor"})),a),u=this.options.dataGrouping,d=this.currentDataGrouping&&this.currentDataGrouping.gapSize;if(u&&this.xData&&d&&this.groupMap){var f,g=e.length-1,m=u.anchor,y=k(u.firstAnchor,m),u=k(u.lastAnchor,m);if(m&&"start"!==m)for(var x=d*{middle:.5,end:1}[m],m=e.length-1;m--&&0=e[0]&&(m=this.groupMap[0].start,x=this.groupMap[0].length,f=void 0,A(m)&&A(x)&&(f=m+(x-1)),e[0]={middle:e[0]+.5*d,end:e[0]+d,firstPoint:this.xData[0],lastPoint:f&&this.xData[f]}[y]),u&&"start"!==u&&d&&e[g]>=p-d&&(p=this.groupMap[this.groupMap.length-1].start,e[g]={middle:e[g]+.5*d,end:e[g]+d,firstPoint:p&&this.xData[p],lastPoint:this.xData[this.xData.length-1]}[u])}for(p=1;pt.max&&((!w(t.options.max)&&A(t.dataMax)&&t.max>=t.dataMax||t.max===t.dataMax)&&(t.max=Math.max(s[s.length-1],t.max)),t.dataMax=Math.max(s[s.length-1],t.dataMax))),i.groupAll&&(this.allGroupedData=h,a=(i=this.cropData(a,h,t.min,t.max,1)).xData,h=i.yData,this.cropStart=i.start),this.processedXData=a,this.processedYData=h}else this.groupMap=null;this.hasGroupedData=n,this.currentDataGrouping=p,this.preventGraphAnimation=(r&&r.totalRange)!==(p&&p.totalRange)}}function o(){this.groupedData&&(this.groupedData.forEach(function(t,e){t&&(this.groupedData[e]=t.destroy?t.destroy():null)},this),this.groupedData.length=0)}function s(){d.apply(this),this.destroyGroupedData(),this.groupedData=this.hasGroupedData?this.points:null}function r(){return this.is("arearange")?"range":this.is("ohlc")?"ohlc":this.is("hlc")?"hlc":this.is("column")?"sum":"average"}function n(t,e,i,o){var s=this,r=s.data,n=s.options&&s.options.data,a=[],h=[],l=[],c=t.length,d=!!e,p=[],u=s.pointArrayMap,f=u&&u.length,g=["x"].concat(u||["y"]),m=this.options.dataGrouping&&this.options.dataGrouping.groupAll,y=0,x=0;if(o="function"==typeof o?o:o&&C[o]?C[o]:C[s.getDGApproximation&&s.getDGApproximation()||"average"],f)for(var v=u.length;v--;)p.push([]);else p.push([]);for(var v=f||1,b=0;b<=c;b++)if(!(t[b]=i[y+1]||b===c;){var S=i[y],M=(s.dataGroupInfo={start:m?x:s.cropStart+x,length:p[0].length},o.apply(s,p));for(s.pointClass&&!w(s.dataGroupInfo.options)&&(s.dataGroupInfo.options=T(s.pointClass.prototype.optionsToObject.call({series:s},s.options.data[s.cropStart+x])),g.forEach(function(t){delete s.dataGroupInfo.options[t]})),void 0!==M&&(a.push(S),h.push(M),l.push(s.dataGroupInfo)),x=b,S=0;S=(this.xAxis.min||0)){this.dataModify.compareValue=n;break}}}}function k(t,e){this.setModifier("compare",t,e)}function C(t,e){t=m(t,!1),this.options.cumulative=this.userOptions.cumulative=t,this.update({},m(e,!0)),this.dataModify?this.dataModify.initCumulative():this.points.forEach(function(t){delete t.cumulativeSum})}function w(t,e){this.setModifier("cumulative",t,e)}function A(t){this.series=t}return e=s=s||{},r=[],e.compose=function(t,e,i){var o;return-1===r.indexOf(t)&&(r.push(t),(o=t.prototype).setCompare=S,o.setCumulative=C,h(t,"afterInit",v),h(t,"afterGetExtremes",b),h(t,"afterProcessData",M)),-1===r.indexOf(e)&&(r.push(e),(e=e.prototype).setCompare=k,e.setModifier=y,e.setCumulative=w),-1===r.indexOf(i)&&(r.push(i),i.prototype.tooltipFormatter=x),t},A.prototype.modifyValue=function(){return 0},A.getCumulativeExtremes=function(t){var i=1/0,o=-1/0;return t.reduce(function(t,e){return e=t+e,i=Math.min(i,e,t),o=Math.max(o,e,t),e}),[i,o]},A.prototype.initCompare=function(o){this.modifyValue=function(t,e){var i=this.compareValue;return void 0!==(t=null===t?0:t)&&void 0!==i?(t="value"===o?t-i:t/i*100-(100===this.series.options.compareBase?0:100),void 0!==e&&(e=this.series.points[e])&&(e.change=t),t):0}},A.prototype.initCumulative=function(){this.modifyValue=function(t,e){var i;return void 0!==(t=null===t?0:t)&&void 0!==e?((i=0this.calculatedWidth?e.minWidth:0;return{chartX:(t.chartX-this.x-this.xOffset)/(this.barWidth-e),chartY:(t.chartY-this.y-this.yOffset)/(this.barWidth-e)}},f.prototype.destroy=function(){var e=this,t=e.chart.scroller;e.removeEvents(),["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach(function(t){e[t]&&e[t].destroy&&(e[t]=e[t].destroy())}),t&&e===t.scrollbar&&(t.scrollbar=null,r(t.scrollbarButtons))},f.prototype.drawScrollbarButton=function(t){var e=this.renderer,i=this.scrollbarButtons,o=this.options,s=this.size,r=e.g().add(this.group);i.push(r),r=e.rect().addClass("highcharts-scrollbar-button").add(r),this.chart.styledMode||r.attr({stroke:o.buttonBorderColor,"stroke-width":o.buttonBorderWidth,fill:o.buttonBackgroundColor}),r.attr(r.crisp({x:-.5,y:-.5,width:s+1,height:s+1,r:o.buttonBorderRadius},r.strokeWidth())),r=e.path(f.swapXY([["M",s/2+(t?-1:1),s/2-3],["L",s/2+(t?-1:1),s/2+3],["L",s/2+(t?2:-2),s/2]],o.vertical)).addClass("highcharts-scrollbar-arrow").add(i[t]),this.chart.styledMode||r.attr({fill:o.buttonArrowColor})},f.prototype.init=function(t,e,i){this.scrollbarButtons=[],this.renderer=t,this.userOptions=e,this.options=d(o,s.scrollbar,e),this.chart=i,this.size=p(this.options.size,this.options.height),e.enabled&&(this.render(),this.addEvents())},f.prototype.mouseDownHandler=function(t){t=this.chart.pointer.normalize(t),t=this.cursorToScrollbarPosition(t),this.chartX=t.chartX,this.chartY=t.chartY,this.initPositions=[this.from,this.to],this.grabbedCenter=!0},f.prototype.mouseMoveHandler=function(t){var e=this.chart.pointer.normalize(t),i=this.options.vertical?"chartY":"chartX",o=this.initPositions||[];!this.grabbedCenter||t.touches&&0===t.touches[0][i]||(i=this.cursorToScrollbarPosition(e)[i]-(i=this[i]),this.hasDragged=!0,this.updatePosition(o[0]+i,o[1]+i),this.hasDragged&&n(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}))},f.prototype.mouseUpHandler=function(t){this.hasDragged&&n(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}),this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null},f.prototype.position=function(t,e,i,o){var s=this.options.vertical,r=this.rendered?"animate":"attr",n=o,a=0;this.group.show(),this.x=t,this.y=e+this.trackBorderWidth,this.width=i,this.height=o,this.xOffset=n,this.yOffset=a,s?(this.width=this.yOffset=i=a=this.size,this.xOffset=n=0,this.barWidth=o-2*i,this.x=t+=this.options.margin):(this.height=this.xOffset=o=n=this.size,this.barWidth=i-2*o,this.y+=this.options.margin),this.group[r]({translateX:t,translateY:this.y}),this.track[r]({width:i,height:o}),this.scrollbarButtons[1][r]({translateX:s?0:i-n,translateY:s?o-a:0})},f.prototype.removeEvents=function(){this._events.forEach(function(t){u.apply(null,t)}),this._events.length=0},f.prototype.render=function(){var t=this.renderer,e=this.options,i=this.size,o=this.chart.styledMode,s=t.g("scrollbar").attr({zIndex:e.zIndex}).hide().add();this.group=s,this.track=t.rect().addClass("highcharts-scrollbar-track").attr({x:0,r:e.trackBorderRadius||0,height:i,width:i}).add(s),o||this.track.attr({fill:e.trackBackgroundColor,stroke:e.trackBorderColor,"stroke-width":e.trackBorderWidth}),this.trackBorderWidth=this.track.strokeWidth(),this.track.attr({y:-this.trackBorderWidth%2/2}),this.scrollbarGroup=t.g().add(s),this.scrollbar=t.rect().addClass("highcharts-scrollbar-thumb").attr({height:i,width:i,r:e.barBorderRadius||0}).add(this.scrollbarGroup),this.scrollbarRifles=t.path(f.swapXY([["M",-3,i/4],["L",-3,2*i/3],["M",0,i/4],["L",0,2*i/3],["M",3,i/4],["L",3,2*i/3]],e.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup),o||(this.scrollbar.attr({fill:e.barBackgroundColor,stroke:e.barBorderColor,"stroke-width":e.barBorderWidth}),this.scrollbarRifles.attr({stroke:e.rifleColor,"stroke-width":1})),this.scrollbarStrokeWidth=this.scrollbar.strokeWidth(),this.scrollbarGroup.translate(-this.scrollbarStrokeWidth%2/2,-this.scrollbarStrokeWidth%2/2),this.drawScrollbarButton(0),this.drawScrollbarButton(1)},f.prototype.setRange=function(t,e){var i,o,s=this.options,r=s.vertical,n=s.minWidth,a=this.barWidth,h=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";c(a)&&(i=a*Math.min(e,1),t=Math.max(t,0),o=Math.ceil(a*t),this.calculatedWidth=i=l(i-o),io||!this.options.vertical&&e.chartX>s?this.updatePosition(this.from+i,this.to+i):this.updatePosition(this.from-i,this.to-i),n(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})},f.prototype.update=function(t){this.destroy(),this.init(this.chart.renderer,d(!0,this.options,t),this.chart)},f.prototype.updatePosition=function(t,e){1u&&(this.grabbedLeft?i=n.toPixels(e-u-a,!0):this.grabbedRight&&(o=n.toPixels(t+u+a,!0))),this.zoomedMax=y(Math.max(i,o),0,g),this.zoomedMin=y(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(i,o),0,g),this.range=this.zoomedMax-this.zoomedMin,g=Math.round(this.zoomedMax),i=Math.round(this.zoomedMin),l&&(this.navigatorGroup.attr({visibility:"inherit"}),c=c&&!this.hasDragged?"animate":"attr",this.drawMasks(i,g,d,c),this.drawOutline(i,g,d,c),this.navigatorOptions.handles.enabled&&(this.drawHandle(i,0,d,c),this.drawHandle(g,1,d,c))),this.scrollbar&&(d?(d=this.top-f,h=this.left-f+(l||!h.opposite?0:(h.titleOffset||0)+h.axisTitleMargin),f=s+2*f):(d=this.top+(l?this.height:-f),h=this.left-f),this.scrollbar.position(h,d,r,f),this.scrollbar.setRange(this.zoomedMin/(s||1),this.zoomedMax/(s||1))),this.rendered=!0}},a.prototype.addMouseEvents=function(){var t,e,i=this,o=i.chart,s=o.container,r=[];i.mouseMoveHandler=t=function(t){i.onMouseMove(t)},i.mouseUpHandler=e=function(t){i.onMouseUp(t)},(r=i.getPartsEvents("mousedown")).push(g(o.renderTo,"mousemove",t),g(s.ownerDocument,"mouseup",e)),n&&(r.push(g(o.renderTo,"touchmove",t),g(s.ownerDocument,"touchend",e)),r.concat(i.getPartsEvents("touchstart"))),i.eventsToUnbind=r,i.series&&i.series[0]&&r.push(g(i.series[0].xAxis,"foundExtremes",function(){o.navigator.modifyNavigatorAxisExtremes()}))},a.prototype.getPartsEvents=function(o){var s=this,r=[];return["shades","handles"].forEach(function(i){s[i].forEach(function(t,e){r.push(g(t.element,o,function(t){s[i+"Mousedown"](t,e)}))})}),r},a.prototype.shadesMousedown=function(t,e){t=this.chart.pointer.normalize(t);var i,o,s=this.chart,r=this.xAxis,n=this.zoomedMin,a=this.size,h=this.range,l=this.left,c=t.chartX;s.inverted&&(c=t.chartY,l=this.top),1===e?(this.grabbedCenter=c,this.fixedWidth=h,this.dragOffset=c-n):(t=c-l-h/2,0===e?t=Math.max(0,t):2===e&&a<=t+h&&(t=a-h,this.reversedExtremes?(t-=h,i=this.getUnionExtremes().dataMin):o=this.getUnionExtremes().dataMax),t!==n&&(this.fixedWidth=h,e=r.navigatorAxis.toFixedRange(t,t+h,i,o),v(e.min)&&s.xAxis[0].setExtremes(Math.min(e.min,e.max),Math.max(e.min,e.max),!0,null,{trigger:"navigator"})))},a.prototype.handlesMousedown=function(t,e){this.chart.pointer.normalize(t);var i=(t=this.chart).xAxis[0],o=this.reversedExtremes;0===e?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=o?i.min:i.max):(this.grabbedRight=!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=o?i.max:i.min),t.fixedRange=null},a.prototype.onMouseMove=function(t){var e=this,i=e.chart,o=e.navigatorSize,s=e.range,r=e.dragOffset,n=i.inverted,a=e.left;t.touches&&0===t.touches[0].pageX||(i=(t=i.pointer.normalize(t)).chartX,n&&(a=e.top,i=t.chartY),e.grabbedLeft?(e.hasDragged=!0,e.render(0,0,i-a,e.otherHandlePos)):e.grabbedRight?(e.hasDragged=!0,e.render(0,0,e.otherHandlePos,i-a)):e.grabbedCenter&&(e.hasDragged=!0,i=Math.round(t.size)),t.stickToMin=t.shouldStickToMin(this,t),e&&!t.hasNavigatorData&&(e.options.pointStart=this.xData[0],e.setData(this.options.data,!1,null,!1))},a.prototype.shouldStickToMin=function(t,e){e=e.getBaseSeriesMin(t.xData[0]);t=(o=t.xAxis).max;var i=o.min,o=o.options.range;return!(!S(t)||!S(i))&&(o&&0=x-y,d=!a&&C&&i),s=a&&i||i&&!C&&!c||a&&p.frozenStates,(o=!M&&(h||l||d||m))?t=3:s&&(C=!0,t=2),r.state!==t&&(r.setState(t),u&&(u.options[e+1].disabled=o,2===t&&(u.selectedIndex=e+1)),0===t&&S===e&&p.setSelected())})},l.prototype.computeButtonRange=function(t){var e=t.type,i=t.count||1,o={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};o[e]?t._range=o[e]*i:"month"!==e&&"year"!==e||(t._range=864e5*{month:30,year:365}[e]*i),t._offsetMin=k(t.offsetMin,0),t._offsetMax=k(t.offsetMax,0),t._range+=t._offsetMax-t._offsetMin},l.prototype.getInputValue=function(t){t="min"===t?this.minInput:this.maxInput;var e=this.chart.options.rangeSelector,i=this.chart.time;return t?("text"===t.type&&e.inputDateParser||this.defaultInputDateParser)(t.value,i.useUTC,i):0},l.prototype.setInputValue=function(t,e){var i,o=this.options,s=this.chart.time,r="min"===t?this.minInput:this.maxInput;t="min"===t?this.minDateBox:this.maxDateBox,r&&(i=r.getAttribute("data-hc-time"),i=v(i)?Number(i):void 0,v(e)&&(v(i)&&r.setAttribute("data-hc-time-previous",i),r.setAttribute("data-hc-time",e),i=e),r.value=s.dateFormat(this.inputTypeFormats[r.type]||o.inputEditDateFormat,i),t&&t.attr({text:s.dateFormat(o.inputDateFormat,i)}))},l.prototype.setInputExtremes=function(t,e,i){var o,s;(t="min"===t?this.minInput:this.maxInput)&&(o=this.inputTypeFormats[t.type],s=this.chart.time,o&&(e=s.dateFormat(o,e),t.min!==e&&(t.min=e),i=s.dateFormat(o,i),t.max!==i&&(t.max=i)))},l.prototype.showInput=function(t){var e,i,o,s,r="min"===t?this.minDateBox:this.maxDateBox;(t="min"===t?this.minInput:this.maxInput)&&r&&this.inputGroup&&(e="text"===t.type,i=(o=this.inputGroup).translateX,o=o.translateY,s=this.options.inputBoxWidth,m(t,{width:e?r.width+(s?-2:20)+"px":"auto",height:e?r.height-2+"px":"auto",border:"2px solid silver"}),m(t,e&&s?{left:i+r.x+"px",top:o+"px"}:{left:Math.min(Math.round(r.x+i-(t.offsetWidth-r.width)/2),this.chart.chartWidth-t.offsetWidth)+"px",top:o-(t.offsetHeight-r.height)/2+"px"}))},l.prototype.hideInput=function(t){(t="min"===t?this.minInput:this.maxInput)&&m(t,{top:"-9999em",border:0,width:"1px",height:"1px"})},l.prototype.defaultInputDateParser=function(t,e,i){var o,s=t.split("/").join("-").split(" ").join("T");return-1===s.indexOf("T")&&(s+="T00:00"),e?s+="Z":(o=(o=u.isSafari)?!(6<(o=s).length&&(o.lastIndexOf("-")===o.length-6||o.lastIndexOf("+")===o.length-6)):o)&&(s+=(o=new Date(s).getTimezoneOffset()/60)<=0?"+".concat(a(-o),":00"):"-".concat(a(o),":00")),s=Date.parse(s),w(s)||(t=t.split("-"),s=Date.UTC(h(t[0]),h(t[1])-1,h(t[2]))),i&&e&&w(s)&&(s+=i.getTimezoneOffset(s)),s},l.prototype.drawInput=function(n){function e(){var t=h.maxInput,e=h.minInput,i=a.xAxis[0],o=(s=a.scroller&&a.scroller.xAxis?a.scroller.xAxis:i).dataMin,s=s.dataMax,r=h.getInputValue(n);r!==Number(d.getAttribute("data-hc-time-previous"))&&w(r)&&(d.setAttribute("data-hc-time-previous",r),l&&t&&w(o)?r>Number(t.getAttribute("data-hc-time"))?r=void 0:r=-s?0:-s),translateY:n.alignAttr.translateY+r.getBBox().height+10})}var i=this,o=this.chart,r=this.buttonGroup,n=this.inputGroup,a=(c=this.options).buttonPosition,h=c.dropdown,l=c.inputPosition,c=function(){var e=0;return i.buttons.forEach(function(t){(t=t.getBBox()).width>e&&(e=t.width)}),e};if(r){if("always"===h)return this.collapseButtons(s),void(t(c())&&e());"never"===h&&this.expandButtons()}n&&r?l.align===a.align||t(this.initialButtonGroupWidth+20)?"responsive"===h?(this.collapseButtons(s),t(c())&&e()):e():"responsive"===h&&this.expandButtons():r&&"responsive"===h&&(this.initialButtonGroupWidth>o.plotWidth?this.collapseButtons(s):this.expandButtons())},l.prototype.collapseButtons=function(t){function i(t){return{text:t?t+" ▾":"▾",width:"auto",paddingLeft:k(n.buttonTheme.paddingLeft,h.padding,8),paddingRight:k(n.buttonTheme.paddingRight,h.padding,8)}}var o=this.buttons,e=this.buttonOptions,s=this.chart,r=this.dropdown,n=this.options,a=this.zoomText,h=s.userOptions.rangeSelector&&s.userOptions.rangeSelector.buttonTheme||{},l=(a&&a.hide(),!1);e.forEach(function(t,e){2!==(e=o[e]).state?e.hide():(e.show(),e.attr(i(t.text)),l=!0)}),l||(r&&(r.selectedIndex=0),o[0].show(),o[0].attr(i(this.zoomText&&this.zoomText.textStr))),e=n.buttonPosition.align,this.positionButtons(),"right"!==e&&"center"!==e||this.alignButtonGroup(t,o[this.currentButtonIndex()].getBBox().width),this.showDropdown()},l.prototype.expandButtons=function(){var i=this.buttons,t=this.buttonOptions,o=this.options,e=this.zoomText;this.hideDropdown(),e&&e.show(),t.forEach(function(t,e){(e=i[e]).show(),e.attr({text:t.text,width:o.buttonTheme.width||28,paddingLeft:k(o.buttonTheme.paddingLeft,"unset"),paddingRight:k(o.buttonTheme.paddingRight,"unset")}),e.state<2&&e.setState(0)}),this.positionButtons()},l.prototype.currentButtonIndex=function(){var t=this.dropdown;return t&&0i;if(s[y]5*r||x){if(s[y]>f){for(a=c.getTimeTicks(t,s[p],s[y],o);a.length&&a[0]<=f;)a.shift();a.length&&(f=a[a.length-1]),d.push(u.length),u=u.concat(a)}p=y+1}if(x)break}if(a){if(a=a.info,n&&a.unitRange<=C.hour){for(y=u.length-1,p=1;pi?a-1:a,y=void 0;g--;)d=c[g],a=Math.abs(y-d),y&&a<.8*l&&(null===p||a<.8*p)?(h[u[g]]&&!h[u[g+1]]?(a=g+1,y=d):a=g,u.splice(a,1)):y=d}return u}function r(t){var e=this.ordinal.positions;if(!e)return t;var i,o=e.length-1;return t<0?t=e[0]:o(c=(p=n<0?(d=a,u.ordinal.positions?u:a):(d=u.ordinal.positions?u:a,a)).ordinal.positions)[c.length-1]&&c.push(i),this.fixedRange=s-o,(c=u.navigatorAxis.toFixedRange(void 0,void 0,h.apply(d,[l.apply(d,[o,!0])+n]),h.apply(p,[l.apply(p,[s,!0])+n]))).min>=Math.min(e.dataMin,o)&&c.max<=Math.max(i,s)+f&&u.setExtremes(c.min,c.max,!0,!1,{trigger:"pan"}),this.mouseDownX=g,b(this.container,{cursor:"move"})):y=!0):y=!0,y||m&&/y/.test(m.type)?f&&(u.max=u.dataMax+f):t.preventDefault()}function u(){var t=this.xAxis;t&&t.options.ordinal&&(delete t.ordinal.index,delete t.ordinal.extendedOrdinalPositions)}function f(t,e){var i=this.ordinal,o=i.positions,s=i.slope,r=i.extendedOrdinalPositions;if(!o)return t;var n=o.length;if(o[0]<=t&&o[n-1]>=t)t=a(o,t);else{if(r||(r=i.getExtendedPositions&&i.getExtendedPositions(),i.extendedOrdinalPositions=r),!r||!r.length)return t;n=r.length,s=s||(r[n-1]-r[0])/n,o=a(r,o[0]),t=t>=r[0]&&t<=r[n-1]?a(r,t)-o:tg||s-h[h.length-1]>g)&&(c=!0)}else t.options.overscroll&&(2===f?l=h[1]-h[0]:1===f?(l=t.options.overscroll,h=[h[0],h[0]+l]):l=e.overscrollPointsRange);c||t.forceOrdinal?(t.options.overscroll&&(e.overscrollPointsRange=l,h=h.concat(e.getOverscrollPositions())),e.positions=h,g=t.ordinal2lin(Math.max(o,h[0]),!0),m=Math.max(t.ordinal2lin(Math.min(s,h[h.length-1]),!0),1),e.slope=s=(s-o)/(m-g),e.offset=o-g*s):(e.overscrollPointsRange=k(t.closestPointRange,e.overscrollPointsRange),e.positions=t.ordinal.slope=e.offset=void 0)}t.isOrdinal=n&&c,e.groupIntervalFactor=null},g.findIndexOf=function(t,e,i){for(var o,s=0,r=t.length-1;s=k(i.min,-1/0)&&(s=t.points[0].plotX)}),t=(t-s)/(i.translationSlope*(this.slope||i.closestPointRange||this.overscrollPointsRange)),g.findIndexOf(e,o)+t},g.prototype.getOverscrollPositions=function(){var t=this.axis,e=t.options.overscroll,i=this.overscrollPointsRange,o=[],s=t.dataMax;if(S(i))for(;s<=t.dataMax+e;)o.push(s+=i);return o},g.prototype.postProcessTickInterval=function(t){var e=this.axis,i=this.slope;return i?e.options.breaks?e.closestPointRange||t:t/(i/e.closestPointRange):t},o.Additions=g}(i=i||{}),i}),t(e,"Series/HLC/HLCPoint.js",[e["Core/Series/SeriesRegistry.js"]],function(t){var o,e,i=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});return e=t.seriesTypes.column.prototype.pointClass,i(s,e),s;function s(){var t=null!==e&&e.apply(this,arguments)||this;return t.close=void 0,t.high=void 0,t.low=void 0,t.options=void 0,t.plotClose=void 0,t.series=void 0,t}}),t(e,"Series/HLC/HLCSeriesDefaults.js",[],function(){return{lineWidth:1,tooltip:{pointFormat:' {series.name}
High: {point.high}
Low: {point.low}
Close: {point.close}
'},threshold:null,states:{hover:{lineWidth:3}},stickyTracking:!0}}),t(e,"Series/HLC/HLCSeries.js",[e["Series/HLC/HLCPoint.js"],e["Series/HLC/HLCSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i,o){var s,n,r=this&&this.__extends||(s=function(t,e){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),a=i.seriesTypes.column,h=o.extend,l=o.merge;function c(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t.yData=void 0,t}return r(c,n=a),c.prototype.extendStem=function(t,e,i){var o=t[0];t=t[1],"number"==typeof o[2]&&(o[2]=Math.max(i+e,o[2])),"number"==typeof t[2]&&(t[2]=Math.min(i-e,t[2]))},c.prototype.getPointPath=function(t,e){e=e.strokeWidth();var i=t.series,o=e%2/2,s=Math.round(t.plotX)-o,r=Math.round(t.shapeArgs.width/2),n=[["M",s,Math.round(t.yBottom)],["L",s,Math.round(t.plotHigh)]];return null!==t.close&&(t=Math.round(t.plotClose)+o,n.push(["M",s,t],["L",s+r,t]),i.extendStem(n,e/2,t)),n},c.prototype.drawSinglePoint=function(t){var e=t.series,i=e.chart,o=t.graphic;void 0!==t.plotY&&(o||(t.graphic=o=i.renderer.path().add(e.group)),i.styledMode||o.attr(e.pointAttribs(t,t.selected&&"select")),e=e.getPointPath(t,o),o[o?"animate":"attr"]({d:e}).addClass(t.getClassName(),!0))},c.prototype.drawPoints=function(){this.points.forEach(this.drawSinglePoint)},c.prototype.init=function(){n.prototype.init.apply(this,arguments),this.options.stacking=void 0},c.prototype.pointAttribs=function(t,e){return delete(t=n.prototype.pointAttribs.call(this,t,e)).fill,t},c.prototype.toYData=function(t){return[t.high,t.low,t.close]},c.prototype.translate=function(){var o=this,s=o.yAxis,t=this.pointArrayMap&&this.pointArrayMap.slice()||[],r=t.map(function(t){return"plot".concat(t.charAt(0).toUpperCase()+t.slice(1))});r.push("yBottom"),t.push("low"),n.prototype.translate.apply(o),o.points.forEach(function(i){t.forEach(function(t,e){null!==(t=i[t])&&(o.dataModify&&(t=o.dataModify.modifyValue(t)),i[r[e]]=s.toPixels(t,!0))}),i.tooltipPos[1]=i.plotHigh+s.pos-o.chart.plotTop})},c.defaultOptions=l(a.defaultOptions,e),h((o=c).prototype,{pointClass:t,animate:null,directTouch:!1,pointArrayMap:["high","low","close"],pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"},pointValKey:"close"}),i.registerSeriesType("hlc",o),o}),t(e,"Series/OHLC/OHLCPoint.js",[e["Core/Series/SeriesRegistry.js"]],function(t){var o,e,i=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});return e=t.seriesTypes.hlc.prototype.pointClass,i(s,e),s.prototype.getClassName=function(){return e.prototype.getClassName.call(this)+(this.open {series.name}
Open: {point.open}
High: {point.high}
Low: {point.low}
Close: {point.close}
'}}}),t(e,"Series/OHLC/OHLCSeries.js",[e["Series/OHLC/OHLCPoint.js"],e["Series/OHLC/OHLCSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,i,o){function s(t){var e=(t=t.options).dataGrouping;e&&t.useOhlcData&&"highcharts-navigator-series"!==t.id&&(e.approximation="ohlc")}function r(t){(t=t.options).useOhlcData&&"highcharts-navigator-series"!==t.id&&d(this,{pointValKey:u.prototype.pointValKey,pointArrayMap:u.prototype.pointArrayMap,toYData:u.prototype.toYData})}var n,a,h=this&&this.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),l=i.seriesTypes.hlc,c=o.addEvent,d=o.extend,o=o.merge,p=[],u=(h(f,n=l),f.compose=function(t){for(var e=1;ethis.xAxis.len,p=c.plotX,u=c.stackIndex,f=c.options.shape||s.shape,g=c.plotY,m=(void 0!==g&&(g=c.plotY+r-(void 0!==u&&u*s.stackDistance)),c.anchorX=u?void 0:c.plotX,u?void 0:c.plotY),y="flag"!==f,u=c.graphic;void 0!==g&&0<=p&&!d?((u=u&&c.hasNewShapeType()?u.destroy():u)||(u=c.graphic=i.label("",null,null,f,null,null,s.useHTML).addClass("highcharts-point").add(this.markerGroup),c.graphic.div&&(c.graphic.div.point=c),u.isNew=!0),u.attr({align:y?"center":"left",width:s.width,height:s.height,"text-align":s.textAlign}),e.styledMode||u.attr(this.pointAttribs(c)).css(M(s.style,c.style)).shadow(s.shadow),0u+l.width)&&(v?i=s=b(i,u,u+l.width):e=!0),e||g.push(["M",i,o],["L",s,r])}):n.forEach(function(t){var e;i=t.pos,s=i+t.len,o=r=Math.round(f+l.height-a),"pass"!==v&&(of+l.height)&&(v?o=r=b(o,f,f+l.height):e=!0),e||g.push(["M",i,o],["L",s,r])})),t.path=0=t&&(f=-(l.translateX+s.width-t)),l.attr({x:o+f,y:h,anchorX:r?o:this.opposite?0:i.chartWidth,anchorY:r?this.opposite?i.chartHeight:0:h+s.height/2}))}),s.prototype.forceCropping=function(){var t=this.chart,e=this.options.dataGrouping;return!1!==this.allowDG&&e&&w(e.enabled,t.options.isStock)},i(e,"update",function(t){"scrollbar"in(t=t.options)&&this.navigator&&(y(!0,this.options.scrollbar,t.scrollbar),this.navigator.update({}),delete t.scrollbar)}),l}),t(e,"masters/modules/stock.src.js",[e["Core/Globals.js"],e["Series/DataModifyComposition.js"],e["Stock/Navigator/Navigator.js"],e["Stock/RangeSelector/RangeSelector.js"],e["Stock/Scrollbar/Scrollbar.js"],e["Core/Axis/OrdinalAxis.js"],e["Series/OHLC/OHLCSeries.js"],e["Series/Flags/FlagsSeries.js"],e["Core/Chart/StockChart.js"]],function(t,e,i,o,s,r,n,a,h){t.Navigator=i,t.RangeSelector=o,t.Scrollbar=s,t.StockChart=t.stockChart=h.stockChart,e.compose(t.Series,t.Axis,t.Point),a.compose(t.Renderer),i.compose(t.Axis,t.Chart,t.Series),n.compose(t.Series),r.compose(t.Axis,t.Series,t.Chart),o.compose(t.Axis,t.Chart),s.compose(t.Axis)}),t(e,"masters/highstock.src.js",[e["masters/highcharts.src.js"]],function(t){return t.product="Highstock",t}),(e["masters/highstock.src.js"]._modules=e)["masters/highstock.src.js"]}); \ No newline at end of file diff --git a/assets/js/external/highcharts/indicators/ao.min.js b/assets/js/external/highcharts/indicators/ao.min.js index afc3d076..03b2e5d3 100644 --- a/assets/js/external/highcharts/indicators/ao.min.js +++ b/assets/js/external/highcharts/indicators/ao.min.js @@ -1 +1 @@ -!function(o){"object"==typeof module&&module.exports?module.exports=o.default=o:"function"==typeof define&&define.amd?define("highcharts/indicators/ao",["highcharts","highcharts/modules/stock"],function(t){return o(t),o.Highcharts=t,o}):o("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function o(t,o,e,r){t.hasOwnProperty(o)||(t[o]=r.apply(null,e),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:o,module:t[o]}})))}o(t=t?t._modules:{},"Stock/Indicators/AO/AOIndicator.js",[t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,o,e){var r,n,i=this&&this.__extends||(r=function(t,o){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)o.hasOwnProperty(e)&&(t[e]=o[e])})(t,o)},function(t,o){function e(){this.constructor=t}r(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),s=(t=t.noop,o.seriesTypes.sma),a=o.seriesTypes.column.prototype,p=e.extend,c=e.merge,u=e.correctFloat,d=e.isArray;function l(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return i(l,n=s),l.prototype.drawGraph=function(){var t=this.options,o=this.points,e=t.greaterBarColor,t=t.lowerBarColor,r=o[0];if(!this.userOptions.color&&r)for(r.color=e,r=1;ro[r-1].y?e:o[r].yo[r-1].y?e:o[r].yf[v].plotY?0:1;else v=i[0].plotY>f[0].plotY?0:1;g[v]=g[v].concat(i),y[v]=y[v].concat(f)}["graphsenkouSpanColor","graphsenkouSpanNegativeColor"].forEach(function(o,t){g[t].length&&y[t].length&&(n=0===t?d:k,x({indicator:e,points:g[t],nextPoints:y[t],color:n,options:p,gap:a,graph:e[o]}),e[o]=e.graph,e.graphCollection.push(o))})}else x({indicator:e,points:u.senkouSpanB,nextPoints:u.senkouSpanA,color:d,options:p,gap:a,graph:e.graphsenkouSpan}),e.graphsenkouSpan=e.graph;delete e.nextPoints,delete e.fillGraph,e.points=t,e.options=p,e.graph=s,e.color=r},l.prototype.getGraphPath=function(o){var t=[];if(o=o||this.points,this.fillGraph&&this.nextPoints){if((n=C.seriesTypes.sma.prototype.getGraphPath.call(this,this.nextPoints))&&n.length){n[0][0]="L";for(var n,t=C.seriesTypes.sma.prototype.getGraphPath.call(this,o),e=(n=n.slice(0,t.length)).length-1;0<=e;e--)t.push(n[e])}}else t=C.seriesTypes.sma.prototype.getGraphPath.apply(this,arguments);return t},l.prototype.getValues=function(o,t){var n,e,i,p,s=t.period,r=t.periodTenkan,a=(t=t.periodSenkouSpanB,o.xData),l=o.yData,h=l&&l.length||0,u=(o.xAxis.series.forEach(function(o){if(o.xData)for(i=o.xData,p=o.xIncrement?1:i.length-1;0 {series.name}
TENKAN SEN: {point.tenkanSen:.3f}
KIJUN SEN: {point.kijunSen:.3f}
CHIKOU SPAN: {point.chikouSpan:.3f}
SENKOU SPAN A: {point.senkouSpanA:.3f}
SENKOU SPAN B: {point.senkouSpanB:.3f}
'},tenkanLine:{styles:{lineWidth:1,lineColor:void 0}},kijunLine:{styles:{lineWidth:1,lineColor:void 0}},chikouLine:{styles:{lineWidth:1,lineColor:void 0}},senkouSpanA:{styles:{lineWidth:1,lineColor:void 0}},senkouSpanB:{styles:{lineWidth:1,lineColor:void 0}},senkouSpan:{styles:{fill:"rgba(255, 0, 0, 0.5)"}},dataGrouping:{approximation:"ichimoku-averages"}}),o((t=l).prototype,{pointArrayMap:["tenkanSen","kijunSen","chikouSpan","senkouSpanA","senkouSpanB"],pointValKey:"tenkanSen",nameComponents:["periodSenkouSpanB","period","periodTenkan"]}),C.registerSeriesType("ikh",t),t}),t(o,"masters/indicators/ichimoku-kinko-hyo.src.js",[],function(){})}); \ No newline at end of file +!function(t){"object"==typeof module&&module.exports?module.exports=t.default=t:"function"==typeof define&&define.amd?define("highcharts/indicators/ichimoku-kinko-hyo",["highcharts","highcharts/modules/stock"],function(o){return t(o),t.Highcharts=o,t}):t("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(o){function t(o,t,n,e){o.hasOwnProperty(t)||(o[t]=e.apply(null,n),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:t,module:o[t]}})))}t(o=o?o._modules:{},"Stock/Indicators/IKH/IKHIndicator.js",[o["Extensions/DataGrouping/ApproximationRegistry.js"],o["Core/Color/Color.js"],o["Core/Series/SeriesRegistry.js"],o["Core/Utilities.js"]],function(i,o,A,t){function m(o){return{high:o.reduce(function(o,t){return Math.max(o,t[1])},-1/0),low:o.reduce(function(o,t){return Math.min(o,t[2])},1/0)}}function C(o){var t=o.indicator;t.points=o.points,t.nextPoints=o.nextPoints,t.color=o.color,t.options=P(o.options.senkouSpan.styles,o.gap),t.graph=o.graph,t.fillGraph=!0,A.seriesTypes.sma.prototype.drawGraph.call(t)}var e,n,p=this&&this.__extends||(e=function(o,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,t){o.__proto__=t}||function(o,t){for(var n in t)t.hasOwnProperty(n)&&(o[n]=t[n])})(o,t)},function(o,t){function n(){this.constructor=o}e(o,t),o.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=o.parse,r=A.seriesTypes.sma,x=t.defined,Y=(o=t.extend,t.isArray),a=t.isNumber,P=t.merge,B=t.objectEach;function l(){var o=null!==n&&n.apply(this,arguments)||this;return o.data=[],o.options={},o.points=[],o.graphCollection=[],o}return p(l,n=r),l.prototype.init=function(){n.prototype.init.apply(this,arguments),this.options=P({tenkanLine:{styles:{lineColor:this.color}},kijunLine:{styles:{lineColor:this.color}},chikouLine:{styles:{lineColor:this.color}},senkouSpanA:{styles:{lineColor:this.color,fill:s(this.color).setOpacity(.5).get()}},senkouSpanB:{styles:{lineColor:this.color,fill:s(this.color).setOpacity(.5).get()}},senkouSpan:{styles:{fill:s(this.color).setOpacity(.2).get()}}},this.options)},l.prototype.toYData=function(o){return[o.tenkanSen,o.kijunSen,o.chikouSpan,o.senkouSpanA,o.senkouSpanB]},l.prototype.translate=function(){A.seriesTypes.sma.prototype.translate.apply(this);for(var o=0,t=this.points;om[S].plotY?0:1;else S=a[0].plotY>m[0].plotY?0:1;g[S]=g[S].concat(a),d[S]=d[S].concat(m)}["graphsenkouSpanColor","graphsenkouSpanNegativeColor"].forEach(function(o,t){g[t].length&&d[t].length&&(n=0===t?c:f,C({indicator:e,points:g[t],nextPoints:d[t],color:n,options:i,gap:r,graph:e[o]}),e[o]=e.graph,e.graphCollection.push(o))})}else C({indicator:e,points:h.senkouSpanB,nextPoints:h.senkouSpanA,color:c,options:i,gap:r,graph:e.graphsenkouSpan}),e.graphsenkouSpan=e.graph;delete e.nextPoints,delete e.fillGraph,e.points=t,e.options=i,e.graph=p,e.color=s},l.prototype.getGraphPath=function(o){var t=[];if(o=o||this.points,this.fillGraph&&this.nextPoints){if((n=A.seriesTypes.sma.prototype.getGraphPath.call(this,this.nextPoints))&&n.length){n[0][0]="L";for(var n,t=A.seriesTypes.sma.prototype.getGraphPath.call(this,o),e=(n=n.slice(0,t.length)).length-1;0<=e;e--)t.push(n[e])}}else t=A.seriesTypes.sma.prototype.getGraphPath.apply(this,arguments);return t},l.prototype.getValues=function(o,t){var n,e,i,p,s=t.period,r=t.periodTenkan,a=(t=t.periodSenkouSpanB,o.xData),l=o.yData,h=l&&l.length||0,u=(o.xAxis.series.forEach(function(o){if(o.xData)for(i=o.xData,p=o.xIncrement?1:i.length-1;0 {series.name}
TENKAN SEN: {point.tenkanSen:.3f}
KIJUN SEN: {point.kijunSen:.3f}
CHIKOU SPAN: {point.chikouSpan:.3f}
SENKOU SPAN A: {point.senkouSpanA:.3f}
SENKOU SPAN B: {point.senkouSpanB:.3f}
'},tenkanLine:{styles:{lineWidth:1,lineColor:void 0}},kijunLine:{styles:{lineWidth:1,lineColor:void 0}},chikouLine:{styles:{lineWidth:1,lineColor:void 0}},senkouSpanA:{styles:{lineWidth:1,lineColor:void 0}},senkouSpanB:{styles:{lineWidth:1,lineColor:void 0}},senkouSpan:{styles:{fill:"rgba(255, 0, 0, 0.5)"}},dataGrouping:{approximation:"ichimoku-averages"}}),o((t=l).prototype,{pointArrayMap:["tenkanSen","kijunSen","chikouSpan","senkouSpanA","senkouSpanB"],pointValKey:"tenkanSen",nameComponents:["periodSenkouSpanB","period","periodTenkan"]}),i["ichimoku-averages"]=function(){var n,e=[];return[].forEach.call(arguments,function(o,t){e.push(i.average(o)),n=!n&&void 0===e[t]}),n?void 0:e},A.registerSeriesType("ikh",t),t}),t(o,"masters/indicators/ichimoku-kinko-hyo.src.js",[],function(){})}); \ No newline at end of file diff --git a/assets/js/external/highcharts/indicators/indicators-all.min.js b/assets/js/external/highcharts/indicators/indicators-all.min.js index 9b925b2f..b01e4363 100644 --- a/assets/js/external/highcharts/indicators/indicators-all.min.js +++ b/assets/js/external/highcharts/indicators/indicators-all.min.js @@ -1 +1 @@ -!function(e){"object"==typeof module&&module.exports?module.exports=e.default=e:"function"==typeof define&&define.amd?define("highcharts/indicators/indicators-all",["highcharts","highcharts/modules/stock"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,o,i){t.hasOwnProperty(e)||(t[e]=i.apply(null,o),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Stock/Indicators/SMA/SMAComposition.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){}),e(t,"Stock/Indicators/SMA/SMAIndicator.js",[t["Core/Chart/Chart.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(e,t,o){var i,r,n=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),s=t.seriesTypes.line,a=o.addEvent,p=o.error,l=o.extend,h=o.isArray,u=o.merge,c=o.pick,d=o.splat;function y(){var t=null!==r&&r.apply(this,arguments)||this;return t.data=void 0,t.dataEventsToUnbind=void 0,t.linkedParent=void 0,t.options=void 0,t.points=void 0,t}return n(y,r=s),y.prototype.destroy=function(){this.dataEventsToUnbind.forEach(function(t){t()}),r.prototype.destroy.apply(this,arguments)},y.prototype.getName=function(){var t=this.name,o=[];return t||((this.nameComponents||[]).forEach(function(t,e){o.push(this.options.params[t]+c(this.nameSuffixes[e],""))},this),t=(this.nameBase||this.type.toUpperCase())+(this.nameComponents?" ("+o.join(", ")+")":"")),t},y.prototype.getValues=function(t,e){var o=e.period,i=t.xData,r=(t=t.yData).length,n=0,s=0,a=[],p=[],l=[],u=-1;if(!(i.lengthe[i-1].y?o:e[i].y=o||"min"===e&&t[r]<=o)&&(o=t[r],i=r);return i}var i,r,n=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),s=e.seriesTypes.sma,a=o.extend,p=o.merge,c=o.pick;function l(){var t=null!==r&&r.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n(l,r=s),l.prototype.getValues=function(t,e){e=e.period;for(var o=t.xData,i=(t=t.yData)?t.length:0,r=[],n=[],s=[],a=e-1;a {series.name}
Aroon Up: {point.y}
Aroon Down: {point.aroonDown}
'},aroonDown:{styles:{lineWidth:1,lineColor:void 0}},dataGrouping:{approximation:"averages"}}),a((o=l).prototype,{areaLinesNames:[],linesApiNames:["aroonDown"],nameBase:"Aroon",pointArrayMap:["y","aroonDown"],pointValKey:"y"}),t.compose(o),e.registerSeriesType("aroon",o),o}),e(t,"Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js",[t["Stock/Indicators/MultipleLinesComposition.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,o){var i,s,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=e.seriesTypes.aroon,a=o.extend,p=o.merge;function l(){var t=null!==s&&s.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(l,s=n),l.prototype.getValues=function(t,e){var o=[],i=[],r=[];for(t=s.prototype.getValues.call(this,t,e),e=0;e {series.name}: {point.y}'}}),a((o=l).prototype,{nameBase:"Aroon Oscillator",linesApiNames:[],pointArrayMap:["y"],pointValKey:"y"}),t.compose(n),e.registerSeriesType("aroonoscillator",o),o}),e(t,"Stock/Indicators/ATR/ATRIndicator.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){function d(t,e){return Math.max(t[1]-t[2],void 0===e?0:Math.abs(t[1]-e[3]),void 0===e?0:Math.abs(t[2]-e[3]))}var i,o,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=t.seriesTypes.sma,y=e.isArray,s=e.merge;function a(){var t=null!==o&&o.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t}return r(a,o=n),a.prototype.getValues=function(t,e){e=e.period;var o,i,r=t.xData,n=(t=t.yData)?t.length:0,s=1,a=0,p=0,l=[],u=[],c=[],h=[[r[0],t[0]]];if(!(r.length<=e)&&y(t[0])&&4===t[0].length){for(o=1;o<=n;o++)h.push([r[o],t[o]]),e {series.name}
Top: {point.top}
Middle: {point.middle}
Bottom: {point.bottom}
'},marker:{enabled:!1},dataGrouping:{approximation:"averages"}}),s((e=p).prototype,{areaLinesNames:["top","bottom"],linesApiNames:["topLine","bottomLine"],nameComponents:["period","standardDeviation"],pointArrayMap:["top","middle","bottom"],pointValKey:"middle"}),t.compose(e),m.registerSeriesType("bb",e),e}),e(t,"Stock/Indicators/CCI/CCIIndicator.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){var i,o,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=t.seriesTypes.sma,f=e.isArray,s=e.merge;function a(){var t=null!==o&&o.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t}return r(a,o=n),a.prototype.getValues=function(t,e){e=e.period;var o=t.xData,i=(t=t.yData)?t.length:0,r=[],n=1,s=[],a=[],p=[];if(!(o.length<=e)&&f(t[0])&&4===t[0].length){for(;n=e.params.period&&t.xData&&t.xData.length>=e.params.period&&i)},a.prototype.getValues=function(t,e){if(this.isValid())return this.getMoneyFlow(t.xData,t.yData,this.volumeSeries.yData,e.period)},a.prototype.getMoneyFlow=function(t,e,o,i){function r(t,e){var o=t[1],i=t[2];return t=t[3],null!==e&&null!==o&&null!==i&&null!==t&&o!==i?(t-i-(o-t))/(o-i)*e:(d=n,null)}var n,s=e.length,a=[],p=0,l=0,u=[],c=[],h=[],d=-1;if(0 {series.name}
DX: {point.y}
+DI: {point.plusDI}
-DI: {point.minusDI}
'},plusDILine:{styles:{lineWidth:1,lineColor:"#06b535"}},minusDILine:{styles:{lineWidth:1,lineColor:"#f21313"}},dataGrouping:{approximation:"averages"}}),p((o=u).prototype,{areaLinesNames:[],nameBase:"DMI",linesApiNames:["plusDILine","minusDILine"],pointArrayMap:["y","plusDI","minusDI"],parallelArrays:["x","y","plusDI","minusDI"],pointValKey:"y"}),t.compose(o),e.registerSeriesType("dmi",o),o}),e(t,"Stock/Indicators/DPO/DPOIndicator.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){function d(t,e,o,i,r){return e=y(e[o][i],e[o]),p(r?t-e:t+e)}var i,o,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=t.seriesTypes.sma,s=e.extend,a=e.merge,p=e.correctFloat,y=e.pick;function l(){var t=null!==o&&o.apply(this,arguments)||this;return t.options=void 0,t.data=void 0,t.points=void 0,t}return r(l,o=n),l.prototype.getValues=function(t,e){var o,i=e.period,r=(e=e.index,i+Math.floor(i/2+1)),n=t.xData||[],s=(t=t.yData||[]).length,a=[],p=[],l=[],u=0;if(!(n.length<=r)){for(c=0;ce[c-1]?r+=e[c]-e[c-1]:e[c]e[c-1]?r+=e[c]-e[c-1]:e[c]e[c-o-1]?r-=l:u-=l,l=0d[_].plotY?0:1;else _=r[0].plotY>d[0].plotY?0:1;v[_]=v[_].concat(r),g[_]=g[_].concat(d)}["graphsenkouSpanColor","graphsenkouSpanNegativeColor"].forEach(function(t,e){v[e].length&&g[e].length&&(o=0===e?y:f,S({indicator:i,points:v[e],nextPoints:g[e],color:o,options:n,gap:p,graph:i[t]}),i[t]=i.graph,i.graphCollection.push(t))})}else S({indicator:i,points:c.senkouSpanB,nextPoints:c.senkouSpanA,color:y,options:n,gap:p,graph:i.graphsenkouSpan}),i.graphsenkouSpan=i.graph;delete i.nextPoints,delete i.fillGraph,i.points=e,i.options=n,i.graph=s,i.color=a},l.prototype.getGraphPath=function(t){var e=[];if(t=t||this.points,this.fillGraph&&this.nextPoints){if((o=D.seriesTypes.sma.prototype.getGraphPath.call(this,this.nextPoints))&&o.length){o[0][0]="L";for(var o,e=D.seriesTypes.sma.prototype.getGraphPath.call(this,t),i=(o=o.slice(0,e.length)).length-1;0<=i;i--)e.push(o[i])}}else e=D.seriesTypes.sma.prototype.getGraphPath.apply(this,arguments);return e},l.prototype.getValues=function(t,e){var o,i,r,n,s=e.period,a=e.periodTenkan,p=(e=e.periodSenkouSpanB,t.xData),l=t.yData,u=l&&l.length||0,c=(t.xAxis.series.forEach(function(t){if(t.xData)for(r=t.xData,n=t.xIncrement?1:r.length-1;0 {series.name}
TENKAN SEN: {point.tenkanSen:.3f}
KIJUN SEN: {point.kijunSen:.3f}
CHIKOU SPAN: {point.chikouSpan:.3f}
SENKOU SPAN A: {point.senkouSpanA:.3f}
SENKOU SPAN B: {point.senkouSpanB:.3f}
'},tenkanLine:{styles:{lineWidth:1,lineColor:void 0}},kijunLine:{styles:{lineWidth:1,lineColor:void 0}},chikouLine:{styles:{lineWidth:1,lineColor:void 0}},senkouSpanA:{styles:{lineWidth:1,lineColor:void 0}},senkouSpanB:{styles:{lineWidth:1,lineColor:void 0}},senkouSpan:{styles:{fill:"rgba(255, 0, 0, 0.5)"}},dataGrouping:{approximation:"ichimoku-averages"}}),t((e=l).prototype,{pointArrayMap:["tenkanSen","kijunSen","chikouSpan","senkouSpanA","senkouSpanB"],pointValKey:"tenkanSen",nameComponents:["periodSenkouSpanB","period","periodTenkan"]}),D.registerSeriesType("ikh",e),e}),e(t,"Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js",[t["Stock/Indicators/MultipleLinesComposition.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,y,e){var i,o,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=y.seriesTypes.sma,f=e.correctFloat,s=e.extend,a=e.merge;function p(){var t=null!==o&&o.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(p,o=n),p.prototype.init=function(){y.seriesTypes.sma.prototype.init.apply(this,arguments),this.options=a({topLine:{styles:{lineColor:this.color}},bottomLine:{styles:{lineColor:this.color}}},this.options)},p.prototype.getValues=function(t,e){var o,i=e.period,r=e.periodATR,n=e.multiplierATR,s=(s=t.yData)?s.length:0,a=[],p=(e=y.seriesTypes.ema.prototype.getValues(t,{period:i,index:e.index}),y.seriesTypes.atr.prototype.getValues(t,{period:r})),l=[],u=[];if(!(s {series.name}
Upper Channel: {point.top}
EMA({series.options.params.period}): {point.middle}
Lower Channel: {point.bottom}
'},marker:{enabled:!1},dataGrouping:{approximation:"averages"},lineWidth:1}),s((e=p).prototype,{nameBase:"Keltner Channels",areaLinesNames:["top","bottom"],nameComponents:["period","periodATR","multiplierATR"],linesApiNames:["topLine","bottomLine"],pointArrayMap:["top","middle","bottom"],pointValKey:"middle"}),t.compose(e),y.registerSeriesType("keltnerchannels",e),e}),e(t,"Stock/Indicators/Klinger/KlingerIndicator.js",[t["Stock/Indicators/MultipleLinesComposition.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,o){var i,r,n=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),a=e.seriesTypes.ema,s=e.seriesTypes.sma,m=o.correctFloat,p=o.error,l=o.extend,u=o.isArray,c=o.merge;function h(){var t=null!==r&&r.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t.volumeSeries=void 0,t}return n(h,r=s),h.prototype.calculateTrend=function(t,e){return t[e][1]+t[e][2]+t[e][3]>t[e-1][1]+t[e-1][2]+t[e-1][3]?1:-1},h.prototype.isValidData=function(t){var e=this.chart,o=this.options,i=this.linkedParent;return t=u(t)&&4===t.length,(e=this.volumeSeries||(this.volumeSeries=e.get(o.params.volumeSeriesID)))||p("Series "+o.params.volumeSeriesID+" not found! Check `volumeSeriesID`.",!0,i.chart),!(![i,e].every(function(t){return t&&t.xData&&t.xData.length>=o.params.slowAvgPeriod})||!t)},h.prototype.getCM=function(t,e,o,i,r){return m(e+(o===i?t:r))},h.prototype.getDM=function(t,e){return m(t-e)},h.prototype.getVolumeForce=function(t){for(var e=[],o=1,i=0,r=t[0][1]-t[0][2],n=0;o=e.fastAvgPeriod&&(u=l=this.getEMA(d,u,y,v,0,p,r)[1]),p>=e.slowAvgPeriod&&(c=o=this.getEMA(d,c,f,g,0,p,r)[1],o=m(l-o),a.push(o),a.length>=e.signalPeriod&&(h=a.slice(-e.signalPeriod).reduce(function(t,e){return t+e})/e.signalPeriod),i.push([r[p],o,h]),n.push(r[p]),s.push([o,h]));return{values:i,xData:n,yData:s}}},h.defaultOptions=c(s.defaultOptions,{params:{fastAvgPeriod:34,slowAvgPeriod:55,signalPeriod:13,volumeSeriesID:"volume"},signalLine:{styles:{lineWidth:1,lineColor:"#ff0000"}},dataGrouping:{approximation:"averages"},tooltip:{pointFormat:' {series.name}
Klinger: {point.y}
Signal: {point.signal}
'}}),l((o=h).prototype,{areaLinesNames:[],linesApiNames:["signalLine"],nameBase:"Klinger",nameComponents:["fastAvgPeriod","slowAvgPeriod"],pointArrayMap:["y","signal"],parallelArrays:["x","y","signal"],pointValKey:"y"}),t.compose(o),e.registerSeriesType("klinger",o),o}),e(t,"Stock/Indicators/MACD/MACDIndicator.js",[t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,l,e){var i,r,o=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=t.noop,s=l.seriesTypes.sma,a=e.extend,u=e.correctFloat,c=e.defined,p=e.merge;function h(){var t=null!==r&&r.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t.currentLineZone=void 0,t.graphmacd=void 0,t.graphsignal=void 0,t.macdZones=void 0,t.signalZones=void 0,t}return o(h,r=s),h.prototype.init=function(){l.seriesTypes.sma.prototype.init.apply(this,arguments);var t=this.color,e=this.userOptions._colorIndex;this.options&&(c(this.userOptions._colorIndex)&&(this.options.signalLine&&this.options.signalLine.styles&&!this.options.signalLine.styles.lineColor&&(this.userOptions._colorIndex++,this.getCyclic("color",void 0,this.chart.options.colors),this.options.signalLine.styles.lineColor=this.color),this.options.macdLine&&this.options.macdLine.styles&&!this.options.macdLine.styles.lineColor&&(this.userOptions._colorIndex++,this.getCyclic("color",void 0,this.chart.options.colors),this.options.macdLine.styles.lineColor=this.color)),this.macdZones={zones:this.options.macdLine.zones,startIndex:0},this.signalZones={zones:this.macdZones.zones.concat(this.options.signalLine.zones),startIndex:this.macdZones.zones.length},this.resetZones=!0),this.color=t,this.userOptions._colorIndex=e},h.prototype.toYData=function(t){return[t.y,t.signal,t.MACD]},h.prototype.translate=function(){var i=this,r=["plotSignal","plotMACD"];t.seriesTypes.column.prototype.translate.apply(i),i.points.forEach(function(o){[o.signal,o.MACD].forEach(function(t,e){null!==t&&(o[r[e]]=i.yAxis.toPixels(t,!0))})})},h.prototype.destroy=function(){this.graph=null,this.graphmacd=this.graphmacd&&this.graphmacd.destroy(),this.graphsignal=this.graphsignal&&this.graphsignal.destroy(),l.seriesTypes.sma.prototype.destroy.apply(this,arguments)},h.prototype.drawGraph=function(){for(var t,o=this,e=o.points,i=e.length,r=o.options,n=o.zones,s={options:{gapSize:r.gapSize}},a=[[],[]];i--;)t=e[i],c(t.plotMACD)&&a[0].push({plotX:t.plotX,plotY:t.plotMACD,isNull:!c(t.plotMACD)}),c(t.plotSignal)&&a[1].push({plotX:t.plotX,plotY:t.plotSignal,isNull:!c(t.plotMACD)});["macd","signal"].forEach(function(t,e){o.points=a[e],o.options=p(r[t+"Line"].styles,s),o.graph=o["graph"+t],o.currentLineZone=t+"Zones",o.zones=o[o.currentLineZone].zones,l.seriesTypes.sma.prototype.drawGraph.call(o),o["graph"+t]=o.graph}),o.points=e,o.options=r,o.zones=n,o.currentLineZone=null},h.prototype.getZonesGraphs=function(t){var e=r.prototype.getZonesGraphs.call(this,t),o=e;return this.currentLineZone&&((o=e.splice(this[this.currentLineZone].startIndex+1)).length?o.splice(0,0,t[0]):o=[t[0]]),o},h.prototype.applyZones=function(){var t=this.zones;this.zones=this.signalZones.zones,l.seriesTypes.sma.prototype.applyZones.call(this),this.graphmacd&&this.options.macdLine.zones.length&&this.graphmacd.hide(),this.zones=t},h.prototype.getValues=function(t,e){var o=e.longPeriod-e.shortPeriod,i=0,r=[],n=[],s=[];if(!(t.xData.length=e[0][0]&&(r[t][2]=e[i][1],s[t]=[0,e[i][1],r[t][3]],null===r[t][3]?(r[t][1]=0,s[t][0]=0):(r[t][1]=u(r[t][3]-e[i][1]),s[t][0]=u(r[t][3]-e[i][1])),i++);return{values:r,xData:n,yData:s}}},h.defaultOptions=p(s.defaultOptions,{params:{shortPeriod:12,longPeriod:26,signalPeriod:9,period:26},signalLine:{zones:[],styles:{lineWidth:1,lineColor:void 0}},macdLine:{zones:[],styles:{lineWidth:1,lineColor:void 0}},threshold:0,groupPadding:.1,pointPadding:.1,crisp:!1,states:{hover:{halo:{size:0}}},tooltip:{pointFormat:' {series.name}
Value: {point.MACD}
Signal: {point.signal}
Histogram: {point.y}
'},dataGrouping:{approximation:"averages"},minPointLength:0}),a((e=h).prototype,{nameComponents:["longPeriod","shortPeriod","signalPeriod"],pointArrayMap:["y","signal","MACD"],parallelArrays:["x","y","signal","MACD"],pointValKey:"y",markerAttribs:n,getColumnMetrics:t.seriesTypes.column.prototype.getColumnMetrics,crispCol:t.seriesTypes.column.prototype.crispCol,drawPoints:t.seriesTypes.column.prototype.drawPoints}),l.registerSeriesType("macd",e),e}),e(t,"Stock/Indicators/MFI/MFIIndicator.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){function f(t){return t.reduce(function(t,e){return t+e})}function v(t){return(t[1]+t[2]+t[3])/3}var i,o,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=t.seriesTypes.sma,s=e.extend,a=e.merge,g=e.error,m=e.isArray;function p(){var t=null!==o&&o.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(p,o=n),p.prototype.getValues=function(t,e){var o=e.period,i=t.xData,r=t.yData,n=r?r.length:0,s=e.decimals,a=1,p=t.chart.get(e.volumeSeriesID),l=p&&p.yData,u=[],c=[],h=[],d=[],y=[];if(p){if(!(i.length<=o)&&m(r[0])&&4===r[0].length&&l){for(t=v(r[a]);a {series.name}
Top: {point.top}
Middle: {point.middle}
Bottom: {point.bottom}
'},params:{period:20,topBand:.1,bottomBand:.1},bottomLine:{styles:{lineWidth:1,lineColor:void 0}},topLine:{styles:{lineWidth:1}},dataGrouping:{approximation:"averages"}}),n((t=s).prototype,{nameComponents:["period","topBand","bottomBand"],nameBase:"Price envelopes",pointArrayMap:["top","middle","bottom"],parallelArrays:["x","y","top","bottom"],pointValKey:"middle"}),f.registerSeriesType("priceenvelopes",t),t}),e(t,"Stock/Indicators/PSAR/PSARIndicator.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){var i,o,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=t.seriesTypes.sma,s=e.merge,r=(e=e.extend,r(a,o=n),a.prototype.getValues=function(t,e){var o,i=t.xData,r=(t=t.yData)[0][1],n=e.maxAccelerationFactor,s=e.increment,a=e.initialAccelerationFactor,p=t[0][2],l=e.decimals,u=[],c=[],h=[],d=1;if(!((v=e.index)>=t.length)){for(o=0;op?1:-1,f=(e=e.initialAccelerationFactor)*(r-p);for(u.push([i[v],p]),c.push(i[v]),h.push(parseFloat(p.toFixed(l))),o=v+1;oMath.max(_,m)?p+f:Math.max(_,m):r,v=1===y?r {series.name}
%K: {point.y}
%D: {point.smoothed}
'},smoothedLine:{styles:{lineWidth:1,lineColor:void 0}},dataGrouping:{approximation:"averages"}}),s((e=p).prototype,{areaLinesNames:[],nameComponents:["periods"],nameBase:"Stochastic",pointArrayMap:["y","smoothed"],parallelArrays:["x","y","smoothed"],pointValKey:"y",linesApiNames:["smoothedLine"]}),t.compose(e),y.registerSeriesType("stochastic",e),e}),e(t,"Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){var i,o,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=t.seriesTypes.stochastic,s=t.seriesTypes,a=e.extend,p=e.merge;function l(){var t=null!==o&&o.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(l,o=n),l.prototype.getValues=function(t,e){var o=e.periods,i=s.stochastic.prototype.getValues.call(this,t,e);if(t={values:[],xData:[],yData:[]},e=0,i){t.xData=i.xData.slice(o[1]-1);var i=i.yData.slice(o[1]-1),r=s.sma.prototype.getValues.call(this,{xData:t.xData,yData:i},{index:1,period:o[2]});if(r){for(var n=t.xData.length;e=o.close&&e.y>=i.close?(t.color=s||l.fallingTrendColor||l.color,g.top.push(a)):t.y=o.close&&e.y=i.close&&(t.color=s||l.risingTrendColor||l.color,e.color=s||l.fallingTrendColor||l.color,g.bottom.push(a),g.bottom.push(C(r,{isNull:!0}))))):o&&(t.y>=o.close?(t.color=s||l.fallingTrendColor||l.color,g.top.push(a)):(t.color=s||l.risingTrendColor||l.color,g.bottom.push(a)));A(g,function(t,e){p.points=t,p.options=C(m[e].styles,v),p.graph=p["graph"+e+"Line"],D.prototype.drawGraph.call(p),p["graph"+e+"Line"]=p.graph}),p.points=h,p.options=l,p.graph=d},p.prototype.getValues=function(t,e){var o,i=e.period,r=(e=e.multiplier,t.xData),n=t.yData,s=[],a=[],p=[],l=0===i?0:i-1,u=[],c=[];if(!(r.length<=i||!O(n[0])||4!==n[0].length||i<0)){for(t=x.prototype.getValues.call(this,t,{period:i}).yData,o=0;of?i:f,c[o]=vu[o]||g===v&&d[3]>c[o])&&(h=c[o]),s.push([r[l+o],h]),a.push(r[l+o]),p.push(h)}return{values:s,xData:a,yData:p}}},p.defaultOptions=C(D.defaultOptions,{params:{index:void 0,multiplier:3,period:10},risingTrendColor:"#06b535",fallingTrendColor:"#f21313",changeTrendLine:{styles:{lineWidth:1,lineColor:"#333333",dashStyle:"LongDash"}}}),a((e=p).prototype,{nameBase:"Supertrend",nameComponents:["multiplier","period"]}),t.registerSeriesType("supertrend",e),e}),e(t,"Stock/Indicators/VBP/VBPPoint.js",[t["Core/Series/SeriesRegistry.js"]],function(t){var i,e,o=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});return e=t.seriesTypes.sma.prototype.pointClass,o(r,e),r.prototype.destroy=function(){return this.negativeGraphic&&(this.negativeGraphic=this.negativeGraphic.destroy()),e.prototype.destroy.apply(this,arguments)},r;function r(){return null!==e&&e.apply(this,arguments)||this}}),e(t,"Stock/Indicators/VBP/VBPIndicator.js",[t["Stock/Indicators/VBP/VBPPoint.js"],t["Core/Animation/AnimationUtilities.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"],t["Core/Chart/StockChart.js"]],function(t,e,n,o,i,s){var r,a,p=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),l=e.animObject,u=(e=n.noop,o.seriesTypes.sma),g=o.seriesTypes.column.prototype,c=i.addEvent,m=i.arrayMax,h=i.arrayMin,_=i.correctFloat,d=i.defined,y=i.error,f=i.extend,v=i.isArray,x=i.merge,D=Math.abs;function S(){var t=null!==a&&a.apply(this,arguments)||this;return t.data=void 0,t.negWidths=void 0,t.options=void 0,t.points=void 0,t.posWidths=void 0,t.priceZones=void 0,t.rangeStep=void 0,t.volumeDataArray=void 0,t.zoneStarts=void 0,t.zoneLinesSVG=void 0,t}return p(S,a=u),S.prototype.init=function(t){var e,o,i=this,r=(n.seriesTypes.sma.prototype.init.apply(i,arguments),c(s,"afterLinkSeries",function(){i.options&&(o=i.options.params,e=i.linkedParent,o=t.get(o.volumeSeriesID),i.addCustomEvents(e,o)),r()},{order:1}));return i},S.prototype.addCustomEvents=function(t,e){function o(){i.chart.redraw(),i.setData([]),i.zoneStarts=[],i.zoneLinesSVG&&(i.zoneLinesSVG=i.zoneLinesSVG.destroy())}var i=this;return i.dataEventsToUnbind.push(c(t,"remove",function(){o()})),e&&i.dataEventsToUnbind.push(c(e,"remove",function(){o()})),i},S.prototype.animate=function(t){var o=this,e=o.chart.inverted,i=o.group,r={};!t&&i&&(t=e?o.yAxis.top:o.xAxis.left,e?(i["forceAnimate:translateY"]=!0,r.translateY=t):(i["forceAnimate:translateX"]=!0,r.translateX=t),i.animate(r,f(l(o.options.animation),{step:function(t,e){o.group.attr({scaleX:Math.max(.001,e.pos)})}})))},S.prototype.drawPoints=function(){this.options.volumeDivision.enabled&&(this.posNegVolume(!0,!0),g.drawPoints.apply(this,arguments),this.posNegVolume(!1,!1)),g.drawPoints.apply(this,arguments)},S.prototype.posNegVolume=function(t,e){var o,i=e?["positive","negative"]:["negative","positive"],r=this.options.volumeDivision,n=this.points.length,s=[],a=[],p=0;for(t?(this.posWidths=s,this.negWidths=a):(s=this.posWidths,a=this.negWidths);p=t.end&&t.index===d&&(a=!0),(p>t.start||s)&&(p=v*e&&(p.push([s[0],v]),c=!(o=!(d=[s[f],a[f][r]]))),c&&(l.push(p[0][0]),u.push(p[0][1]),y=f++,f=t);for(f=y;f=d[1]*e&&(h=r)):(a[f][r]>=d[1]&&(d=[s[f],a[f][r]]),a[f][i]<=d[1]*n&&(h=i)),!1!==h&&(p.push(d),l.push(d[0]),u.push(d[1]),o=!o,h=!(d=[s[f],a[f][h]]));return 0!==(i=p.length)&&p[i-1][0]●{series.name}: {point.y}°
'}}),s((e=p).prototype,{nameBase:"Linear Regression Angle Indicator"}),t.registerSeriesType("linearRegressionAngle",e),e}),e(t,"Stock/Indicators/ABands/ABandsIndicator.js",[t["Stock/Indicators/MultipleLinesComposition.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,o){var i,v,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=e.seriesTypes.sma,g=o.correctFloat,s=o.extend,a=o.merge;function p(){var t=null!==v&&v.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(p,v=n),p.prototype.getValues=function(t,e){var o,i,r,n,s,a=e.period,p=e.factor,l=(e=e.index,t.xData),u=(t=t.yData)?t.length:0,c=[],h=[],d=[],y=[],f=[];if(!(ue[r-1].y?o:e[r].y=o||"min"===e&&t[i]<=o)&&(o=t[i],r=i);return r}var r,i,n=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),s=e.seriesTypes.sma,a=o.extend,p=o.merge,c=o.pick;function l(){var t=null!==i&&i.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n(l,i=s),l.prototype.getValues=function(t,e){e=e.period;for(var o=t.xData,r=(t=t.yData)?t.length:0,i=[],n=[],s=[],a=e-1;a {series.name}
Aroon Up: {point.y}
Aroon Down: {point.aroonDown}
'},aroonDown:{styles:{lineWidth:1,lineColor:void 0}},dataGrouping:{approximation:"averages"}}),a((o=l).prototype,{areaLinesNames:[],linesApiNames:["aroonDown"],nameBase:"Aroon",pointArrayMap:["y","aroonDown"],pointValKey:"y"}),t.compose(o),e.registerSeriesType("aroon",o),o}),e(t,"Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js",[t["Stock/Indicators/MultipleLinesComposition.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,o){var r,s,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=e.seriesTypes.aroon,a=o.extend,p=o.merge;function l(){var t=null!==s&&s.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return i(l,s=n),l.prototype.getValues=function(t,e){var o=[],r=[],i=[];for(t=s.prototype.getValues.call(this,t,e),e=0;e {series.name}: {point.y}'}}),a((o=l).prototype,{nameBase:"Aroon Oscillator",linesApiNames:[],pointArrayMap:["y"],pointValKey:"y"}),t.compose(n),e.registerSeriesType("aroonoscillator",o),o}),e(t,"Stock/Indicators/ATR/ATRIndicator.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){function d(t,e){return Math.max(t[1]-t[2],void 0===e?0:Math.abs(t[1]-e[3]),void 0===e?0:Math.abs(t[2]-e[3]))}var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=t.seriesTypes.sma,y=e.isArray,s=e.merge;function a(){var t=null!==o&&o.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t}return i(a,o=n),a.prototype.getValues=function(t,e){e=e.period;var o,r,i=t.xData,n=(t=t.yData)?t.length:0,s=1,a=0,p=0,l=[],u=[],c=[],h=[[i[0],t[0]]];if(!(i.length<=e)&&y(t[0])&&4===t[0].length){for(o=1;o<=n;o++)h.push([i[o],t[o]]),e {series.name}
Top: {point.top}
Middle: {point.middle}
Bottom: {point.bottom}
'},marker:{enabled:!1},dataGrouping:{approximation:"averages"}}),s((e=p).prototype,{areaLinesNames:["top","bottom"],linesApiNames:["topLine","bottomLine"],nameComponents:["period","standardDeviation"],pointArrayMap:["top","middle","bottom"],pointValKey:"middle"}),t.compose(e),m.registerSeriesType("bb",e),e}),e(t,"Stock/Indicators/CCI/CCIIndicator.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=t.seriesTypes.sma,f=e.isArray,s=e.merge;function a(){var t=null!==o&&o.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t}return i(a,o=n),a.prototype.getValues=function(t,e){e=e.period;var o=t.xData,r=(t=t.yData)?t.length:0,i=[],n=[],s=[],a=[],p=1;if(!(o.length<=e)&&f(t[0])&&4===t[0].length){for(;p=e.params.period&&t.xData&&t.xData.length>=e.params.period&&r)},a.prototype.getValues=function(t,e){if(this.isValid())return this.getMoneyFlow(t.xData,t.yData,this.volumeSeries.yData,e.period)},a.prototype.getMoneyFlow=function(t,e,o,r){function i(t,e){var o=t[1],r=t[2];return t=t[3],null!==e&&null!==o&&null!==r&&null!==t&&o!==r?(t-r-(o-t))/(o-r)*e:(d=n,null)}var n,s=e.length,a=[],p=0,l=0,u=[],c=[],h=[],d=-1;if(0 {series.name}
DX: {point.y}
+DI: {point.plusDI}
-DI: {point.minusDI}
'},plusDILine:{styles:{lineWidth:1,lineColor:"#06b535"}},minusDILine:{styles:{lineWidth:1,lineColor:"#f21313"}},dataGrouping:{approximation:"averages"}}),p((o=u).prototype,{areaLinesNames:[],nameBase:"DMI",linesApiNames:["plusDILine","minusDILine"],pointArrayMap:["y","plusDI","minusDI"],parallelArrays:["x","y","plusDI","minusDI"],pointValKey:"y"}),t.compose(o),e.registerSeriesType("dmi",o),o}),e(t,"Stock/Indicators/DPO/DPOIndicator.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){function d(t,e,o,r,i){return e=y(e[o][r],e[o]),p(i?t-e:t+e)}var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=t.seriesTypes.sma,s=e.extend,a=e.merge,p=e.correctFloat,y=e.pick;function l(){var t=null!==o&&o.apply(this,arguments)||this;return t.options=void 0,t.data=void 0,t.points=void 0,t}return i(l,o=n),l.prototype.getValues=function(t,e){var o,r=e.period,i=(e=e.index,r+Math.floor(r/2+1)),n=t.xData||[],s=(t=t.yData||[]).length,a=[],p=[],l=[],u=0;if(!(n.length<=i)){for(c=0;ce[c-1]?i+=e[c]-e[c-1]:e[c]e[c-1]?i+=e[c]-e[c-1]:e[c]e[c-o-1]?i-=l:u-=l,l=0x[m].plotY?0:1;else m=p[0].plotY>x[0].plotY?0:1;y[m]=y[m].concat(p),f[m]=f[m].concat(x)}["graphsenkouSpanColor","graphsenkouSpanNegativeColor"].forEach(function(t,e){y[e].length&&f[e].length&&(o=0===e?h:d,S({indicator:r,points:y[e],nextPoints:f[e],color:o,options:i,gap:a,graph:r[t]}),r[t]=r.graph,r.graphCollection.push(t))})}else S({indicator:r,points:u.senkouSpanB,nextPoints:u.senkouSpanA,color:h,options:i,gap:a,graph:r.graphsenkouSpan}),r.graphsenkouSpan=r.graph;delete r.nextPoints,delete r.fillGraph,r.points=e,r.options=i,r.graph=n,r.color=s},l.prototype.getGraphPath=function(t){var e=[];if(t=t||this.points,this.fillGraph&&this.nextPoints){if((o=D.seriesTypes.sma.prototype.getGraphPath.call(this,this.nextPoints))&&o.length){o[0][0]="L";for(var o,e=D.seriesTypes.sma.prototype.getGraphPath.call(this,t),r=(o=o.slice(0,e.length)).length-1;0<=r;r--)e.push(o[r])}}else e=D.seriesTypes.sma.prototype.getGraphPath.apply(this,arguments);return e},l.prototype.getValues=function(t,e){var o,r,i,n,s=e.period,a=e.periodTenkan,p=(e=e.periodSenkouSpanB,t.xData),l=t.yData,u=l&&l.length||0,c=(t.xAxis.series.forEach(function(t){if(t.xData)for(i=t.xData,n=t.xIncrement?1:i.length-1;0 {series.name}
TENKAN SEN: {point.tenkanSen:.3f}
KIJUN SEN: {point.kijunSen:.3f}
CHIKOU SPAN: {point.chikouSpan:.3f}
SENKOU SPAN A: {point.senkouSpanA:.3f}
SENKOU SPAN B: {point.senkouSpanB:.3f}
'},tenkanLine:{styles:{lineWidth:1,lineColor:void 0}},kijunLine:{styles:{lineWidth:1,lineColor:void 0}},chikouLine:{styles:{lineWidth:1,lineColor:void 0}},senkouSpanA:{styles:{lineWidth:1,lineColor:void 0}},senkouSpanB:{styles:{lineWidth:1,lineColor:void 0}},senkouSpan:{styles:{fill:"rgba(255, 0, 0, 0.5)"}},dataGrouping:{approximation:"ichimoku-averages"}}),t((e=l).prototype,{pointArrayMap:["tenkanSen","kijunSen","chikouSpan","senkouSpanA","senkouSpanB"],pointValKey:"tenkanSen",nameComponents:["periodSenkouSpanB","period","periodTenkan"]}),i["ichimoku-averages"]=function(){var o,r=[];return[].forEach.call(arguments,function(t,e){r.push(i.average(t)),o=!o&&void 0===r[e]}),o?void 0:r},D.registerSeriesType("ikh",e),e}),e(t,"Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js",[t["Stock/Indicators/MultipleLinesComposition.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,y,e){var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=y.seriesTypes.sma,f=e.correctFloat,s=e.extend,a=e.merge;function p(){var t=null!==o&&o.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return i(p,o=n),p.prototype.init=function(){y.seriesTypes.sma.prototype.init.apply(this,arguments),this.options=a({topLine:{styles:{lineColor:this.color}},bottomLine:{styles:{lineColor:this.color}}},this.options)},p.prototype.getValues=function(t,e){var o,r=e.period,i=e.periodATR,n=e.multiplierATR,s=(s=t.yData)?s.length:0,a=[],p=(e=y.seriesTypes.ema.prototype.getValues(t,{period:r,index:e.index}),y.seriesTypes.atr.prototype.getValues(t,{period:i})),l=[],u=[];if(!(s {series.name}
Upper Channel: {point.top}
EMA({series.options.params.period}): {point.middle}
Lower Channel: {point.bottom}
'},marker:{enabled:!1},dataGrouping:{approximation:"averages"},lineWidth:1}),s((e=p).prototype,{nameBase:"Keltner Channels",areaLinesNames:["top","bottom"],nameComponents:["period","periodATR","multiplierATR"],linesApiNames:["topLine","bottomLine"],pointArrayMap:["top","middle","bottom"],pointValKey:"middle"}),t.compose(e),y.registerSeriesType("keltnerchannels",e),e}),e(t,"Stock/Indicators/Klinger/KlingerIndicator.js",[t["Stock/Indicators/MultipleLinesComposition.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,o){var r,i,n=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),a=(l=e.seriesTypes).ema,s=l.sma,m=o.correctFloat,p=o.error,l=o.extend,u=o.isArray,c=o.merge;function h(){var t=null!==i&&i.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t.volumeSeries=void 0,t}return n(h,i=s),h.prototype.calculateTrend=function(t,e){return t[e][1]+t[e][2]+t[e][3]>t[e-1][1]+t[e-1][2]+t[e-1][3]?1:-1},h.prototype.isValidData=function(t){var e=this.chart,o=this.options,r=this.linkedParent;return t=u(t)&&4===t.length,(e=this.volumeSeries||(this.volumeSeries=e.get(o.params.volumeSeriesID)))||p("Series "+o.params.volumeSeriesID+" not found! Check `volumeSeriesID`.",!0,r.chart),!(![r,e].every(function(t){return t&&t.xData&&t.xData.length>=o.params.slowAvgPeriod})||!t)},h.prototype.getCM=function(t,e,o,r,i){return m(e+(o===r?t:i))},h.prototype.getDM=function(t,e){return m(t-e)},h.prototype.getVolumeForce=function(t){for(var e=[],o=1,r=0,i=t[0][1]-t[0][2],n=0;o=e.fastAvgPeriod&&(u=l=this.getEMA(d,u,y,v,0,p,i)[1]),p>=e.slowAvgPeriod&&(c=o=this.getEMA(d,c,f,g,0,p,i)[1],o=m(l-o),a.push(o),a.length>=e.signalPeriod&&(h=a.slice(-e.signalPeriod).reduce(function(t,e){return t+e})/e.signalPeriod),r.push([i[p],o,h]),n.push(i[p]),s.push([o,h]));return{values:r,xData:n,yData:s}}},h.defaultOptions=c(s.defaultOptions,{params:{fastAvgPeriod:34,slowAvgPeriod:55,signalPeriod:13,volumeSeriesID:"volume"},signalLine:{styles:{lineWidth:1,lineColor:"#ff0000"}},dataGrouping:{approximation:"averages"},tooltip:{pointFormat:' {series.name}
Klinger: {point.y}
Signal: {point.signal}
'}}),l((o=h).prototype,{areaLinesNames:[],linesApiNames:["signalLine"],nameBase:"Klinger",nameComponents:["fastAvgPeriod","slowAvgPeriod"],pointArrayMap:["y","signal"],parallelArrays:["x","y","signal"],pointValKey:"y"}),t.compose(o),e.registerSeriesType("klinger",o),o}),e(t,"Stock/Indicators/MACD/MACDIndicator.js",[t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,l,e){var r,i,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=t.noop,s=l.seriesTypes.sma,a=e.extend,u=e.correctFloat,c=e.defined,p=e.merge;function h(){var t=null!==i&&i.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t.currentLineZone=void 0,t.graphmacd=void 0,t.graphsignal=void 0,t.macdZones=void 0,t.signalZones=void 0,t}return o(h,i=s),h.prototype.init=function(){l.seriesTypes.sma.prototype.init.apply(this,arguments);var t=this.color,e=this.userOptions._colorIndex;this.options&&(c(this.userOptions._colorIndex)&&(this.options.signalLine&&this.options.signalLine.styles&&!this.options.signalLine.styles.lineColor&&(this.userOptions._colorIndex++,this.getCyclic("color",void 0,this.chart.options.colors),this.options.signalLine.styles.lineColor=this.color),this.options.macdLine&&this.options.macdLine.styles&&!this.options.macdLine.styles.lineColor&&(this.userOptions._colorIndex++,this.getCyclic("color",void 0,this.chart.options.colors),this.options.macdLine.styles.lineColor=this.color)),this.macdZones={zones:this.options.macdLine.zones,startIndex:0},this.signalZones={zones:this.macdZones.zones.concat(this.options.signalLine.zones),startIndex:this.macdZones.zones.length},this.resetZones=!0),this.color=t,this.userOptions._colorIndex=e},h.prototype.toYData=function(t){return[t.y,t.signal,t.MACD]},h.prototype.translate=function(){var r=this,i=["plotSignal","plotMACD"];t.seriesTypes.column.prototype.translate.apply(r),r.points.forEach(function(o){[o.signal,o.MACD].forEach(function(t,e){null!==t&&(o[i[e]]=r.yAxis.toPixels(t,!0))})})},h.prototype.destroy=function(){this.graph=null,this.graphmacd=this.graphmacd&&this.graphmacd.destroy(),this.graphsignal=this.graphsignal&&this.graphsignal.destroy(),l.seriesTypes.sma.prototype.destroy.apply(this,arguments)},h.prototype.drawGraph=function(){for(var t,o=this,e=o.points,r=e.length,i=o.options,n=o.zones,s={options:{gapSize:i.gapSize}},a=[[],[]];r--;)t=e[r],c(t.plotMACD)&&a[0].push({plotX:t.plotX,plotY:t.plotMACD,isNull:!c(t.plotMACD)}),c(t.plotSignal)&&a[1].push({plotX:t.plotX,plotY:t.plotSignal,isNull:!c(t.plotMACD)});["macd","signal"].forEach(function(t,e){o.points=a[e],o.options=p(i[t+"Line"].styles,s),o.graph=o["graph"+t],o.currentLineZone=t+"Zones",o.zones=o[o.currentLineZone].zones,l.seriesTypes.sma.prototype.drawGraph.call(o),o["graph"+t]=o.graph}),o.points=e,o.options=i,o.zones=n,o.currentLineZone=null},h.prototype.getZonesGraphs=function(t){var e=i.prototype.getZonesGraphs.call(this,t),o=e;return this.currentLineZone&&((o=e.splice(this[this.currentLineZone].startIndex+1)).length?o.splice(0,0,t[0]):o=[t[0]]),o},h.prototype.applyZones=function(){var t=this.zones;this.zones=this.signalZones.zones,l.seriesTypes.sma.prototype.applyZones.call(this),this.graphmacd&&this.options.macdLine.zones.length&&this.graphmacd.hide(),this.zones=t},h.prototype.getValues=function(t,e){var o=e.longPeriod-e.shortPeriod,r=0,i=[],n=[],s=[];if(!(t.xData.length=e[0][0]&&(i[t][2]=e[r][1],s[t]=[0,e[r][1],i[t][3]],null===i[t][3]?(i[t][1]=0,s[t][0]=0):(i[t][1]=u(i[t][3]-e[r][1]),s[t][0]=u(i[t][3]-e[r][1])),r++);return{values:i,xData:n,yData:s}}},h.defaultOptions=p(s.defaultOptions,{params:{shortPeriod:12,longPeriod:26,signalPeriod:9,period:26},signalLine:{zones:[],styles:{lineWidth:1,lineColor:void 0}},macdLine:{zones:[],styles:{lineWidth:1,lineColor:void 0}},threshold:0,groupPadding:.1,pointPadding:.1,crisp:!1,states:{hover:{halo:{size:0}}},tooltip:{pointFormat:' {series.name}
Value: {point.MACD}
Signal: {point.signal}
Histogram: {point.y}
'},dataGrouping:{approximation:"averages"},minPointLength:0}),a((e=h).prototype,{nameComponents:["longPeriod","shortPeriod","signalPeriod"],pointArrayMap:["y","signal","MACD"],parallelArrays:["x","y","signal","MACD"],pointValKey:"y",markerAttribs:n,getColumnMetrics:t.seriesTypes.column.prototype.getColumnMetrics,crispCol:t.seriesTypes.column.prototype.crispCol,drawPoints:t.seriesTypes.column.prototype.drawPoints}),l.registerSeriesType("macd",e),e}),e(t,"Stock/Indicators/MFI/MFIIndicator.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){function f(t){return t.reduce(function(t,e){return t+e})}function v(t){return(t[1]+t[2]+t[3])/3}var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=t.seriesTypes.sma,s=e.extend,a=e.merge,g=e.error,m=e.isArray;function p(){var t=null!==o&&o.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return i(p,o=n),p.prototype.getValues=function(t,e){var o=e.period,r=t.xData,i=t.yData,n=i?i.length:0,s=e.decimals,a=1,p=t.chart.get(e.volumeSeriesID),l=p&&p.yData,u=[],c=[],h=[],d=[],y=[];if(p){if(!(r.length<=o)&&m(i[0])&&4===i[0].length&&l){for(t=v(i[a]);a {series.name}
Top: {point.top}
Middle: {point.middle}
Bottom: {point.bottom}
'},params:{period:20,topBand:.1,bottomBand:.1},bottomLine:{styles:{lineWidth:1,lineColor:void 0}},topLine:{styles:{lineWidth:1}},dataGrouping:{approximation:"averages"}}),n((t=s).prototype,{nameComponents:["period","topBand","bottomBand"],nameBase:"Price envelopes",pointArrayMap:["top","middle","bottom"],parallelArrays:["x","y","top","bottom"],pointValKey:"middle"}),f.registerSeriesType("priceenvelopes",t),t}),e(t,"Stock/Indicators/PSAR/PSARIndicator.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){var r,o,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=t.seriesTypes.sma,s=e.merge,i=(e=e.extend,i(a,o=n),a.prototype.getValues=function(t,e){var o,r=t.xData,i=(t=t.yData)[0][1],n=e.maxAccelerationFactor,s=e.increment,a=e.initialAccelerationFactor,p=t[0][2],l=e.decimals,u=[],c=[],h=[],d=1;if(!((v=e.index)>=t.length)){for(o=0;op?1:-1,f=(e=e.initialAccelerationFactor)*(i-p);for(u.push([r[v],p]),c.push(r[v]),h.push(parseFloat(p.toFixed(l))),o=v+1;oMath.max(_,m)?p+f:Math.max(_,m):i,v=1===y?i {series.name}
%K: {point.y}
%D: {point.smoothed}
'},smoothedLine:{styles:{lineWidth:1,lineColor:void 0}},dataGrouping:{approximation:"averages"}}),s((e=p).prototype,{areaLinesNames:[],nameComponents:["periods"],nameBase:"Stochastic",pointArrayMap:["y","smoothed"],parallelArrays:["x","y","smoothed"],pointValKey:"y",linesApiNames:["smoothedLine"]}),t.compose(e),y.registerSeriesType("stochastic",e),e}),e(t,"Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){var r,s,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),a=(n=t.seriesTypes).sma.prototype,i=n.stochastic,n=e.extend,p=e.merge;function l(){var t=null!==s&&s.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return o(l,s=i),l.prototype.getValues=function(t,e){var o=e.periods,r=s.prototype.getValues.call(this,t,e);if(t={values:[],xData:[],yData:[]},e=0,r){t.xData=r.xData.slice(o[1]-1);var r=r.yData.slice(o[1]-1),i=a.getValues.call(this,{xData:t.xData,yData:r},{index:1,period:o[2]});if(i){for(var n=t.xData.length;e=o.close&&e.y>=r.close?(t.color=s||l.fallingTrendColor||l.color,g.top.push(a)):t.y=o.close&&e.y=r.close&&(t.color=s||l.risingTrendColor||l.color,e.color=s||l.fallingTrendColor||l.color,g.bottom.push(a),g.bottom.push(C(i,{isNull:!0}))))):o&&(t.y>=o.close?(t.color=s||l.fallingTrendColor||l.color,g.top.push(a)):(t.color=s||l.risingTrendColor||l.color,g.bottom.push(a)));A(g,function(t,e){p.points=t,p.options=C(m[e].styles,v),p.graph=p["graph"+e+"Line"],D.prototype.drawGraph.call(p),p["graph"+e+"Line"]=p.graph}),p.points=h,p.options=l,p.graph=d},p.prototype.getValues=function(t,e){var o,r=e.period,i=(e=e.multiplier,t.xData),n=t.yData,s=[],a=[],p=[],l=0===r?0:r-1,u=[],c=[];if(!(i.length<=r||!O(n[0])||4!==n[0].length||r<0)){for(t=x.prototype.getValues.call(this,t,{period:r}).yData,o=0;of?r:f,c[o]=vu[o]||g===v&&d[3]>c[o])&&(h=c[o]),s.push([i[l+o],h]),a.push(i[l+o]),p.push(h)}return{values:s,xData:a,yData:p}}},p.defaultOptions=C(D.defaultOptions,{params:{index:void 0,multiplier:3,period:10},risingTrendColor:"#06b535",fallingTrendColor:"#f21313",changeTrendLine:{styles:{lineWidth:1,lineColor:"#333333",dashStyle:"LongDash"}}}),a((e=p).prototype,{nameBase:"Supertrend",nameComponents:["multiplier","period"]}),t.registerSeriesType("supertrend",e),e}),e(t,"Stock/Indicators/VBP/VBPPoint.js",[t["Core/Series/SeriesRegistry.js"]],function(t){var r,e,o=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});return e=t.seriesTypes.sma.prototype.pointClass,o(i,e),i.prototype.destroy=function(){return this.negativeGraphic&&(this.negativeGraphic=this.negativeGraphic.destroy()),e.prototype.destroy.apply(this,arguments)},i;function i(){return null!==e&&e.apply(this,arguments)||this}}),e(t,"Stock/Indicators/VBP/VBPIndicator.js",[t["Stock/Indicators/VBP/VBPPoint.js"],t["Core/Animation/AnimationUtilities.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"],t["Core/Chart/StockChart.js"]],function(t,e,n,o,r,s){var i,a,p=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),l=e.animObject,u=(e=n.noop,o.seriesTypes),g=u.column.prototype,u=u.sma,c=r.addEvent,m=r.arrayMax,h=r.arrayMin,_=r.correctFloat,d=r.defined,y=r.error,f=r.extend,v=r.isArray,x=r.merge,D=Math.abs;function S(){var t=null!==a&&a.apply(this,arguments)||this;return t.data=void 0,t.negWidths=void 0,t.options=void 0,t.points=void 0,t.posWidths=void 0,t.priceZones=void 0,t.rangeStep=void 0,t.volumeDataArray=void 0,t.zoneStarts=void 0,t.zoneLinesSVG=void 0,t}return p(S,a=u),S.prototype.init=function(t){var e,o,r=this,i=(n.seriesTypes.sma.prototype.init.apply(r,arguments),c(s,"afterLinkSeries",function(){r.options&&(o=r.options.params,e=r.linkedParent,o=t.get(o.volumeSeriesID),r.addCustomEvents(e,o)),i()},{order:1}));return r},S.prototype.addCustomEvents=function(t,e){function o(){r.chart.redraw(),r.setData([]),r.zoneStarts=[],r.zoneLinesSVG&&(r.zoneLinesSVG=r.zoneLinesSVG.destroy())}var r=this;return r.dataEventsToUnbind.push(c(t,"remove",function(){o()})),e&&r.dataEventsToUnbind.push(c(e,"remove",function(){o()})),r},S.prototype.animate=function(t){var o=this,e=o.chart.inverted,r=o.group,i={};!t&&r&&(t=e?o.yAxis.top:o.xAxis.left,e?(r["forceAnimate:translateY"]=!0,i.translateY=t):(r["forceAnimate:translateX"]=!0,i.translateX=t),r.animate(i,f(l(o.options.animation),{step:function(t,e){o.group.attr({scaleX:Math.max(.001,e.pos)})}})))},S.prototype.drawPoints=function(){this.options.volumeDivision.enabled&&(this.posNegVolume(!0,!0),g.drawPoints.apply(this,arguments),this.posNegVolume(!1,!1)),g.drawPoints.apply(this,arguments)},S.prototype.posNegVolume=function(t,e){var o,r=e?["positive","negative"]:["negative","positive"],i=this.options.volumeDivision,n=this.points.length,s=[],a=[],p=0;for(t?(this.posWidths=s,this.negWidths=a):(s=this.posWidths,a=this.negWidths);p=t.end&&t.index===d&&(a=!0),(p>t.start||s)&&(p=v*e&&(p.push([s[0],v]),c=!(o=!(d=[s[f],a[f][i]]))),c&&(l.push(p[0][0]),u.push(p[0][1]),y=f++,f=t);for(f=y;f=d[1]*e&&(h=i)):(a[f][i]>=d[1]&&(d=[s[f],a[f][i]]),a[f][r]<=d[1]*n&&(h=r)),!1!==h&&(p.push(d),l.push(d[0]),u.push(d[1]),o=!o,h=!(d=[s[f],a[f][h]]));return 0!==(r=p.length)&&p[r-1][0]●{series.name}: {point.y}°
'}}),s((e=p).prototype,{nameBase:"Linear Regression Angle Indicator"}),t.registerSeriesType("linearRegressionAngle",e),e}),e(t,"Stock/Indicators/ABands/ABandsIndicator.js",[t["Stock/Indicators/MultipleLinesComposition.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,o){var r,v,i=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=e.seriesTypes.sma,g=o.correctFloat,s=o.extend,a=o.merge;function p(){var t=null!==v&&v.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return i(p,v=n),p.prototype.getValues=function(t,e){var o,r,i,n,s,a=e.period,p=e.factor,l=(e=e.index,t.xData),u=(t=t.yData)?t.length:0,c=[],h=[],d=[],y=[],f=[];if(!(ut[e-1][1]+t[e-1][2]+t[e-1][3]?1:-1},c.prototype.isValidData=function(t){var e=this.chart,o=this.options,i=this.linkedParent;return t=h(t)&&4===t.length,(e=this.volumeSeries||(this.volumeSeries=e.get(o.params.volumeSeriesID)))||p("Series "+o.params.volumeSeriesID+" not found! Check `volumeSeriesID`.",!0,i.chart),!(![i,e].every(function(t){return t&&t.xData&&t.xData.length>=o.params.slowAvgPeriod})||!t)},c.prototype.getCM=function(t,e,o,i,r){return v(e+(o===i?t:r))},c.prototype.getDM=function(t,e){return v(t-e)},c.prototype.getVolumeForce=function(t){for(var e=[],o=1,i=0,r=t[0][1]-t[0][2],n=0;o=e.fastAvgPeriod&&(h=l=this.getEMA(f,h,d,y,0,p,r)[1]),p>=e.slowAvgPeriod&&(u=o=this.getEMA(f,u,g,m,0,p,r)[1],o=v(l-o),a.push(o),a.length>=e.signalPeriod&&(c=a.slice(-e.signalPeriod).reduce(function(t,e){return t+e})/e.signalPeriod),i.push([r[p],o,c]),n.push(r[p]),s.push([o,c]));return{values:i,xData:n,yData:s}}},c.defaultOptions=u(s.defaultOptions,{params:{fastAvgPeriod:34,slowAvgPeriod:55,signalPeriod:13,volumeSeriesID:"volume"},signalLine:{styles:{lineWidth:1,lineColor:"#ff0000"}},dataGrouping:{approximation:"averages"},tooltip:{pointFormat:' {series.name}
Klinger: {point.y}
Signal: {point.signal}
'}}),l((o=c).prototype,{areaLinesNames:[],linesApiNames:["signalLine"],nameBase:"Klinger",nameComponents:["fastAvgPeriod","slowAvgPeriod"],pointArrayMap:["y","signal"],parallelArrays:["x","y","signal"],pointValKey:"y"}),t.compose(o),e.registerSeriesType("klinger",o),o}),e(t,"masters/indicators/klinger.src.js",[],function(){})}); \ No newline at end of file +!function(e){"object"==typeof module&&module.exports?module.exports=e.default=e:"function"==typeof define&&define.amd?define("highcharts/indicators/klinger",["highcharts","highcharts/modules/stock"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,o,i){t.hasOwnProperty(e)||(t[e]=i.apply(null,o),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Stock/Indicators/MultipleLinesComposition.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){var o,i,r,n,a,c=t.seriesTypes.sma.prototype,f=e.defined,d=e.error,g=e.merge;function y(t){return"plot"+t.charAt(0).toUpperCase()+t.slice(1)}function m(t,e){var o=[];return(t.pointArrayMap||[]).forEach(function(t){t!==e&&o.push(y(t))}),o}function s(){var o,t,i=this,e=i.linesApiNames,r=i.areaLinesNames,n=i.points,a=i.options,s=i.graph,l={options:{gapSize:a.gapSize}},p=[],h=m(i,i.pointValKey),u=n.length;h.forEach(function(t,e){for(p[e]=[];u--;)o=n[u],p[e].push({x:o.x,plotX:o.plotX,plotY:o[t],isNull:!f(o[t])});u=n.length}),i.userOptions.fillColor&&r.length&&(t=h.indexOf(y(r[0])),t=p[t],r=1===r.length?n:p[h.indexOf(y(r[1]))],h=i.color,i.points=r,i.nextPoints=t,i.color=i.userOptions.fillColor,i.options=g(n,l),i.graph=i.area,i.fillGraph=!0,c.drawGraph.call(i),i.area=i.graph,delete i.nextPoints,delete i.fillGraph,i.color=h),e.forEach(function(t,e){p[e]?(i.points=p[e],a[t]?i.options=g(a[t].styles,l):d('Error: "There is no '+t+' in DOCS options declared. Check if linesApiNames are consistent with your DOCS line names."'),i.graph=i["graph"+t],c.drawGraph.call(i),i["graph"+t]=i.graph):d('Error: "'+t+" doesn't have equivalent in pointArrayMap. To many elements in linesApiNames relative to pointArrayMap.\"")}),i.points=n,i.options=a,i.graph=s,c.drawGraph.call(i)}function l(t){var e=[];if(t=t||this.points,this.fillGraph&&this.nextPoints){if((o=c.getGraphPath.call(this,this.nextPoints))&&o.length){o[0][0]="L";for(var o,e=c.getGraphPath.call(this,t),i=(o=o.slice(0,e.length)).length-1;0<=i;i--)e.push(o[i])}}else e=c.getGraphPath.apply(this,arguments);return e}function p(e){var o=[];return(this.pointArrayMap||[]).forEach(function(t){o.push(e[t])}),o}function h(){var i,r=this,t=this.pointArrayMap,n=m(this);c.translate.apply(this,arguments),this.points.forEach(function(o){t.forEach(function(t,e){i=o[t],null!==(i=r.dataModify?r.dataModify.modifyValue(i):i)&&(o[n[e]]=r.yAxis.toPixels(i,!0))})})}return o=o||{},i=[],r=["bottomLine"],n=["top","bottom"],a=["top"],o.compose=function(t){var e;return-1===i.indexOf(t)&&(i.push(t),(e=t.prototype).linesApiNames=e.linesApiNames||r.slice(),e.pointArrayMap=e.pointArrayMap||n.slice(),e.pointValKey=e.pointValKey||"top",e.areaLinesNames=e.areaLinesNames||a.slice(),e.drawGraph=s,e.getGraphPath=l,e.toYData=p,e.translate=h),t},o}),e(t,"Stock/Indicators/Klinger/KlingerIndicator.js",[t["Stock/Indicators/MultipleLinesComposition.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,o){var i,r,n=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),s=(p=e.seriesTypes).ema,a=p.sma,v=o.correctFloat,l=o.error,p=o.extend,h=o.isArray,u=o.merge;function c(){var t=null!==r&&r.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t.volumeSeries=void 0,t}return n(c,r=a),c.prototype.calculateTrend=function(t,e){return t[e][1]+t[e][2]+t[e][3]>t[e-1][1]+t[e-1][2]+t[e-1][3]?1:-1},c.prototype.isValidData=function(t){var e=this.chart,o=this.options,i=this.linkedParent;return t=h(t)&&4===t.length,(e=this.volumeSeries||(this.volumeSeries=e.get(o.params.volumeSeriesID)))||l("Series "+o.params.volumeSeriesID+" not found! Check `volumeSeriesID`.",!0,i.chart),!(![i,e].every(function(t){return t&&t.xData&&t.xData.length>=o.params.slowAvgPeriod})||!t)},c.prototype.getCM=function(t,e,o,i,r){return v(e+(o===i?t:r))},c.prototype.getDM=function(t,e){return v(t-e)},c.prototype.getVolumeForce=function(t){for(var e=[],o=1,i=0,r=t[0][1]-t[0][2],n=0;o=e.fastAvgPeriod&&(h=p=this.getEMA(f,h,d,y,0,l,r)[1]),l>=e.slowAvgPeriod&&(u=o=this.getEMA(f,u,g,m,0,l,r)[1],o=v(p-o),s.push(o),s.length>=e.signalPeriod&&(c=s.slice(-e.signalPeriod).reduce(function(t,e){return t+e})/e.signalPeriod),i.push([r[l],o,c]),n.push(r[l]),a.push([o,c]));return{values:i,xData:n,yData:a}}},c.defaultOptions=u(a.defaultOptions,{params:{fastAvgPeriod:34,slowAvgPeriod:55,signalPeriod:13,volumeSeriesID:"volume"},signalLine:{styles:{lineWidth:1,lineColor:"#ff0000"}},dataGrouping:{approximation:"averages"},tooltip:{pointFormat:' {series.name}
Klinger: {point.y}
Signal: {point.signal}
'}}),p((o=c).prototype,{areaLinesNames:[],linesApiNames:["signalLine"],nameBase:"Klinger",nameComponents:["fastAvgPeriod","slowAvgPeriod"],pointArrayMap:["y","signal"],parallelArrays:["x","y","signal"],pointValKey:"y"}),t.compose(o),e.registerSeriesType("klinger",o),o}),e(t,"masters/indicators/klinger.src.js",[],function(){})}); \ No newline at end of file diff --git a/assets/js/external/highcharts/indicators/pivot-points.min.js b/assets/js/external/highcharts/indicators/pivot-points.min.js index 0e74012f..c7db641b 100644 --- a/assets/js/external/highcharts/indicators/pivot-points.min.js +++ b/assets/js/external/highcharts/indicators/pivot-points.min.js @@ -1 +1 @@ -!function(o){"object"==typeof module&&module.exports?module.exports=o.default=o:"function"==typeof define&&define.amd?define("highcharts/indicators/pivot-points",["highcharts","highcharts/modules/stock"],function(t){return o(t),o.Highcharts=t,o}):o("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function o(t,o,e,n){t.hasOwnProperty(o)||(t[o]=n.apply(null,e),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:o,module:t[o]}})))}o(t=t?t._modules:{},"Stock/Indicators/PivotPoints/PivotPointsPoint.js",[t["Core/Series/SeriesRegistry.js"]],function(i){function t(t,o){var e=t.series.pointArrayMap,n=e.length;for(i.seriesTypes.sma.prototype.pointClass.prototype[o].call(t);n--;)t[o="dataLabel"+e[n]]&&t[o].element&&t[o].destroy(),t[o]=null}var n,o,e=this&&this.__extends||(n=function(t,o){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)o.hasOwnProperty(e)&&(t[e]=o[e])})(t,o)},function(t,o){function e(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)});return o=i.seriesTypes.sma.prototype.pointClass,e(a,o),a.prototype.destroyElements=function(){t(this,"destroyElements")},a.prototype.destroy=function(){t(this,"destroyElements")},a;function a(){var t=null!==o&&o.apply(this,arguments)||this;return t.P=void 0,t.pivotLine=void 0,t.series=void 0,t}}),o(t,"Stock/Indicators/PivotPoints/PivotPointsIndicator.js",[t["Stock/Indicators/PivotPoints/PivotPointsPoint.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,c,o){var n,e,i=this&&this.__extends||(n=function(t,o){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)o.hasOwnProperty(e)&&(t[e]=o[e])})(t,o)},function(t,o){function e(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),a=c.seriesTypes.sma,r=o.merge,s=o.extend,u=o.defined,f=o.isArray;function p(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t.endPoint=void 0,t.plotEndPoint=void 0,t}return i(p,e=a),p.prototype.toYData=function(t){return[t.P]},p.prototype.translate=function(){var e=this;c.seriesTypes.sma.prototype.translate.apply(e),e.points.forEach(function(o){e.pointArrayMap.forEach(function(t){u(o[t])&&(o["plot"+t]=e.yAxis.toPixels(o[t],!0))})}),e.plotEndPoint=e.xAxis.toPixels(e.endPoint,!0)},p.prototype.getGraphPath=function(t){for(var o,e,n,i=this,a=t.length,r=[[],[],[],[],[],[],[],[],[]],s=[],p=i.plotEndPoint,l=i.pointArrayMap.length;a--;){for(e=t[a],n=0;n=e.close&&t.y>=r.close?(o.color=s||a.fallingTrendColor||a.color,x.top.push(l)):o.y=e.close&&t.y=r.close&&(o.color=s||a.risingTrendColor||a.color,t.color=s||a.fallingTrendColor||a.color,x.bottom.push(l),x.bottom.push(b(n,{isNull:!0}))))):e&&(o.y>=e.close?(o.color=s||a.fallingTrendColor||a.color,x.top.push(l)):(o.color=s||a.risingTrendColor||a.color,x.bottom.push(l)));_(x,function(o,t){p.points=o,p.options=b(m[t].styles,g),p.graph=p["graph"+t+"Line"],T.prototype.drawGraph.call(p),p["graph"+t+"Line"]=p.graph}),p.points=h,p.options=a,p.graph=u},p.prototype.getValues=function(o,t){var e,r=t.period,n=(t=t.multiplier,o.xData),i=o.yData,s=[],l=[],p=[],a=0===r?0:r-1,d=[],c=[];if(!(n.length<=r||!D(i[0])||4!==i[0].length||r<0)){for(o=v.prototype.getValues.call(this,o,{period:r}).yData,e=0;ef?r:f,c[e]=gd[e]||x===g&&u[3]>c[e])&&(h=c[e]),s.push([n[a+e],h]),l.push(n[a+e]),p.push(h)}return{values:s,xData:l,yData:p}}},p.defaultOptions=b(T.defaultOptions,{params:{index:void 0,multiplier:3,period:10},risingTrendColor:"#06b535",fallingTrendColor:"#f21313",changeTrendLine:{styles:{lineWidth:1,lineColor:"#333333",dashStyle:"LongDash"}}}),l((t=p).prototype,{nameBase:"Supertrend",nameComponents:["multiplier","period"]}),o.registerSeriesType("supertrend",t),t}),t(o,"masters/indicators/supertrend.src.js",[],function(){})}); \ No newline at end of file +!function(t){"object"==typeof module&&module.exports?module.exports=t.default=t:"function"==typeof define&&define.amd?define("highcharts/indicators/supertrend",["highcharts","highcharts/modules/stock"],function(o){return t(o),t.Highcharts=o,t}):t("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(o){function t(o,t,e,r){o.hasOwnProperty(t)||(o[t]=r.apply(null,e),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:t,module:o[t]}})))}t(o=o?o._modules:{},"Stock/Indicators/Supertrend/SupertrendIndicator.js",[o["Core/Series/SeriesRegistry.js"],o["Core/Utilities.js"],o["Core/Chart/StockChart.js"]],function(o,t,n){function C(o,t,e){return{index:t,close:o.yData[t][e],x:o.xData[t]}}var r,e,i=this&&this.__extends||(r=function(o,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,t){o.__proto__=t}||function(o,t){for(var e in t)t.hasOwnProperty(e)&&(o[e]=t[e])})(o,t)},function(o,t){function e(){this.constructor=o}r(o,t),o.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)}),v=(s=o.seriesTypes).atr,T=s.sma,l=t.addEvent,S=t.correctFloat,D=t.isArray,s=t.extend,b=t.merge,_=t.objectEach;function a(){var o=null!==e&&e.apply(this,arguments)||this;return o.data=void 0,o.linkedParent=void 0,o.options=void 0,o.points=void 0,o}return i(a,e=T),a.prototype.init=function(){T.prototype.init.apply(this,arguments);var t,e=this,r=l(n,"afterLinkSeries",function(){var o;e.options&&(o=e.options,t=e.linkedParent.options,o.cropThreshold=t.cropThreshold-(o.params.period-1)),r()},{order:1})},a.prototype.drawGraph=function(){for(var o,t,e,r,n,i,l,s,a=this,p=a.options,d=a.linkedParent,c=d?d.points:[],h=a.points,u=a.graph,y=h.length,f=0<(f=c.length-y)?f:0,g={options:{gapSize:p.gapSize}},x={top:[],bottom:[],intersect:[]},m={top:{styles:{lineWidth:p.lineWidth,lineColor:p.fallingTrendColor||p.color,dashStyle:p.dashStyle}},bottom:{styles:{lineWidth:p.lineWidth,lineColor:p.risingTrendColor||p.color,dashStyle:p.dashStyle}},intersect:p.changeTrendLine};y--;)o=h[y],t=h[y-1],e=c[y-1+f],r=c[y-2+f],n=c[y+f],i=c[y+f+1],l=o.options.color,s={x:o.x,plotX:o.plotX,plotY:o.plotY,isNull:!1},!r&&e&&d.yData[e.index-1]&&(r=C(d,e.index-1,3)),!i&&n&&d.yData[n.index+1]&&(i=C(d,n.index+1,3)),!e&&r&&d.yData[r.index+1]?e=C(d,r.index+1,3):!e&&n&&d.yData[n.index-1]&&(e=C(d,n.index-1,3)),o&&e&&n&&r&&o.x!==e.x&&(o.x===n.x?(r=e,e=n):o.x===r.x?(e=r,r={close:d.yData[e.index-1][3],x:d.xData[e.index-1]}):i&&o.x===i.x&&(e=i,r=n)),t&&r&&e?(n={x:t.x,plotX:t.plotX,plotY:t.plotY,isNull:!1},o.y>=e.close&&t.y>=r.close?(o.color=l||p.fallingTrendColor||p.color,x.top.push(s)):o.y=e.close&&t.y=r.close&&(o.color=l||p.risingTrendColor||p.color,t.color=l||p.fallingTrendColor||p.color,x.bottom.push(s),x.bottom.push(b(n,{isNull:!0}))))):e&&(o.y>=e.close?(o.color=l||p.fallingTrendColor||p.color,x.top.push(s)):(o.color=l||p.risingTrendColor||p.color,x.bottom.push(s)));_(x,function(o,t){a.points=o,a.options=b(m[t].styles,g),a.graph=a["graph"+t+"Line"],T.prototype.drawGraph.call(a),a["graph"+t+"Line"]=a.graph}),a.points=h,a.options=p,a.graph=u},a.prototype.getValues=function(o,t){var e,r=t.period,n=(t=t.multiplier,o.xData),i=o.yData,l=[],s=[],a=[],p=0===r?0:r-1,d=[],c=[];if(!(n.length<=r||!D(i[0])||4!==i[0].length||r<0)){for(o=v.prototype.getValues.call(this,o,{period:r}).yData,e=0;ef?r:f,c[e]=gd[e]||x===g&&u[3]>c[e])&&(h=c[e]),l.push([n[p+e],h]),s.push(n[p+e]),a.push(h)}return{values:l,xData:s,yData:a}}},a.defaultOptions=b(T.defaultOptions,{params:{index:void 0,multiplier:3,period:10},risingTrendColor:"#06b535",fallingTrendColor:"#f21313",changeTrendLine:{styles:{lineWidth:1,lineColor:"#333333",dashStyle:"LongDash"}}}),s((t=a).prototype,{nameBase:"Supertrend",nameComponents:["multiplier","period"]}),o.registerSeriesType("supertrend",t),t}),t(o,"masters/indicators/supertrend.src.js",[],function(){})}); \ No newline at end of file diff --git a/assets/js/external/highcharts/indicators/volume-by-price.min.js b/assets/js/external/highcharts/indicators/volume-by-price.min.js index 9cd4e94c..fe61df1e 100644 --- a/assets/js/external/highcharts/indicators/volume-by-price.min.js +++ b/assets/js/external/highcharts/indicators/volume-by-price.min.js @@ -1 +1 @@ -!function(t){"object"==typeof module&&module.exports?module.exports=t.default=t:"function"==typeof define&&define.amd?define("highcharts/indicators/volume-by-price",["highcharts","highcharts/modules/stock"],function(e){return t(e),t.Highcharts=e,t}):t("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(e){function t(e,t,o,i){e.hasOwnProperty(t)||(e[t]=i.apply(null,o),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:t,module:e[t]}})))}t(e=e?e._modules:{},"Stock/Indicators/VBP/VBPPoint.js",[e["Core/Series/SeriesRegistry.js"]],function(e){var i,t,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});return t=e.seriesTypes.sma.prototype.pointClass,o(n,t),n.prototype.destroy=function(){return this.negativeGraphic&&(this.negativeGraphic=this.negativeGraphic.destroy()),t.prototype.destroy.apply(this,arguments)},n;function n(){return null!==t&&t.apply(this,arguments)||this}}),t(e,"Stock/Indicators/VBP/VBPIndicator.js",[e["Stock/Indicators/VBP/VBPPoint.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"],e["Core/Chart/StockChart.js"]],function(e,t,s,o,i,a){var n,r,p=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(e,t)},function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),l=t.animObject,h=(t=s.noop,o.seriesTypes.sma),y=o.seriesTypes.column.prototype,d=i.addEvent,g=i.arrayMax,u=i.arrayMin,S=i.correctFloat,c=i.defined,f=i.error,m=i.extend,v=i.isArray,V=i.merge,x=Math.abs;function D(){var e=null!==r&&r.apply(this,arguments)||this;return e.data=void 0,e.negWidths=void 0,e.options=void 0,e.points=void 0,e.posWidths=void 0,e.priceZones=void 0,e.rangeStep=void 0,e.volumeDataArray=void 0,e.zoneStarts=void 0,e.zoneLinesSVG=void 0,e}return p(D,r=h),D.prototype.init=function(e){var t,o,i=this,n=(s.seriesTypes.sma.prototype.init.apply(i,arguments),d(a,"afterLinkSeries",function(){i.options&&(o=i.options.params,t=i.linkedParent,o=e.get(o.volumeSeriesID),i.addCustomEvents(t,o)),n()},{order:1}));return i},D.prototype.addCustomEvents=function(e,t){function o(){i.chart.redraw(),i.setData([]),i.zoneStarts=[],i.zoneLinesSVG&&(i.zoneLinesSVG=i.zoneLinesSVG.destroy())}var i=this;return i.dataEventsToUnbind.push(d(e,"remove",function(){o()})),t&&i.dataEventsToUnbind.push(d(t,"remove",function(){o()})),i},D.prototype.animate=function(e){var o=this,t=o.chart.inverted,i=o.group,n={};!e&&i&&(e=t?o.yAxis.top:o.xAxis.left,t?(i["forceAnimate:translateY"]=!0,n.translateY=e):(i["forceAnimate:translateX"]=!0,n.translateX=e),i.animate(n,m(l(o.options.animation),{step:function(e,t){o.group.attr({scaleX:Math.max(.001,t.pos)})}})))},D.prototype.drawPoints=function(){this.options.volumeDivision.enabled&&(this.posNegVolume(!0,!0),y.drawPoints.apply(this,arguments),this.posNegVolume(!1,!1)),y.drawPoints.apply(this,arguments)},D.prototype.posNegVolume=function(e,t){var o,i=t?["positive","negative"]:["negative","positive"],n=this.options.volumeDivision,s=this.points.length,a=[],r=[],p=0;for(e?(this.posWidths=a,this.negWidths=r):(a=this.posWidths,r=this.negWidths);p=e.end&&e.index===c&&(r=!0),(p>e.start||a)&&(p=t.end&&t.index===c&&(r=!0),(p>t.start||a)&&(p/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")},getElement:function(t){return o.getElementById(t)},getFakeMouseEvent:n,getHeadingTagNameForElement:function(t){function n(t){return t=parseInt(t.slice(1),10),"h"+Math.min(6,t+1)}function o(t){var e;t:{for(e=t;e=e.previousSibling;){var i=e.tagName||"";if(/H[1-6]/.test(i)){e=i;break t}}e=""}return e?n(e):(t=t.parentElement)?(e=t.tagName,/H[1-6]/.test(e)?n(e):o(t)):"p"}return o(t)},removeChildNodes:function(t){for(;t.lastChild;)t.removeChild(t.lastChild)},removeClass:function(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp(e,"g"),"")},removeElement:function(t){t&&t.parentNode&&t.parentNode.removeChild(t)},reverseChildNodes:function(t){for(var e=t.childNodes.length;e--;)t.appendChild(t.childNodes[e])},stripHTMLTagsFromString:function(t){return"string"==typeof t?t.replace(/<\/?[^>]+(>|$)/g,""):t},visuallyHideElement:function(t){s(t,{position:"absolute",width:"1px",height:"1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(1px, 1px, 1px, 1px)",marginTop:"-3px","-ms-filter":"progid:DXImageTransform.Microsoft.Alpha(Opacity=1)",filter:"alpha(opacity=1)",opacity:.01})}}}),e(t,"Accessibility/A11yI18n.js",[t["Core/FormatUtilities.js"],t["Core/Utilities.js"]],function(t,e){var i,n,a=t.format,c=e.getNestedProperty,l=e.pick;function o(t,e,i){var n=[],o=0;do{var r=function(t,e){var i=(t=t.slice(e||0)).indexOf("{"),n=t.indexOf("}");if(-1".concat(t,""):""})}var o=t.escapeStringForHTML,r=t.stripHTMLTagsFromString;return{getAnnotationsInfoHTML:function(t){var e=t.annotations;return e&&e.length?(t=n(t),'
    '.concat(t.join(" "),"
")):""},getAnnotationLabelDescription:e,getAnnotationListItems:n,getPointAnnotationTexts:function(e){var t=i(e.series.chart).filter(function(t){return-1]*?>\s*<\/\1>/g,"")},P.prototype.defaultAfterChartFormatter=function(){var t=this.chart,e=t.options.accessibility.screenReaderSection.afterChartFormat;if(!e)return"";var i={endOfChartMarker:this.getEndOfChartMarkerText()};return c.i18nFormat(e,i,t).replace(/<(\w+)[^>]*?>\s*<\/\1>/g,"")},P.prototype.getLinkedDescription=function(){var t=this.linkedDescriptionElement;return C(t&&t.innerHTML||"")},P.prototype.getLongdescText=function(){var t=this.chart.options,e=(e=t.caption)&&e.text,i=this.getLinkedDescription();return t.accessibility.description||i||e||""},P.prototype.getTypeDescriptionText=function(){var t=this.chart;return t.types?t.options.accessibility.typeDescription||function(t,e){var i=e[0],n=t.series&&t.series[0]||{},n={numSeries:t.series.length,numPoints:n.points&&n.points.length,chart:t,mapTitle:t.mapView&&t.mapView.geoMap&&t.mapView.geoMap.title};if(!i)return t.langFormat("accessibility.chartTypes.emptyChart",n);if("map"===i)return n.mapTitle?t.langFormat("accessibility.chartTypes.mapTypeDescription",n):t.langFormat("accessibility.chartTypes.unknownMap",n);if(1'+(e=e.langFormat("accessibility.table.viewAsDataTableButtonText",{chart:e,chartTitle:y(e)}))+""},P.prototype.getSonifyButtonText=function(t){var e=this.chart;return e.options.sonification&&!1===e.options.sonification.enabled?"":'"},P.prototype.getSubtitleText=function(){var t=this.chart.options.subtitle;return C(t&&t.text||"")},P.prototype.getEndOfChartMarkerText=function(){var t=this.chart,e=t.langFormat("accessibility.screenReaderSection.endOfChartMarker",{chart:t});return'
'+e+"
"},P.prototype.onDataTableCreated=function(t){var e,i=this.chart;i.options.accessibility.enabled&&(this.viewDataTableButton&&this.viewDataTableButton.setAttribute("aria-expanded","true"),(e=t.tree.attributes||{}).tabindex=-1,e.summary=i.langFormat("accessibility.table.tableSummary",{chart:i}),t.tree.attributes=e)},P.prototype.focusDataTable=function(){var t=this.dataTableDiv;(t=t&&t.getElementsByTagName("table")[0])&&t.focus&&t.focus()},P.prototype.initSonifyButton=function(t){var e=this,i=this.sonifyButton=A(t),n=this.chart;i&&n&&(i.setAttribute("tabindex",-1),i.onclick=function(t){(n.options.accessibility&&n.options.accessibility.screenReaderSection.onPlayAsSoundClick||function(t){i&&(i.setAttribute("aria-hidden","true"),i.setAttribute("aria-label","")),t.preventDefault(),t.stopPropagation(),t=n.langFormat("accessibility.sonification.playAsSoundClickAnnouncement",{chart:n}),e.announcer.announce(t),setTimeout(function(){i&&(i.removeAttribute("aria-hidden"),i.removeAttribute("aria-label")),n.sonify&&n.sonify()},1e3)}).call(this,t,n)})},P.prototype.initDataTableButton=function(t){var e=this.viewDataTableButton=A(t),i=this.chart;t=t.replace("hc-linkto-",""),e&&(T(e,{tabindex:-1,"aria-expanded":!!A(t)}),e.onclick=i.options.accessibility.screenReaderSection.onViewDataTableClick||function(){i.viewData()})},P.prototype.getAxesDescription=function(){var i=this.chart,t=function(t,e){return 1<(t=i[t]).length||t[0]&&S(t[0].options.accessibility&&t[0].options.accessibility.enabled,e)},e=!!i.types&&i.types.indexOf("map")<0&&i.types.indexOf("treemap")<0&&i.types.indexOf("tilemap")<0,n=!!i.hasCartesianSeries,o=t("xAxis",!i.angular&&n&&e),t=t("yAxis",n&&e),e={};return o&&(e.xAxis=this.getAxisDescriptionText("xAxis")),t&&(e.yAxis=this.getAxisDescriptionText("yAxis")),e},P.prototype.getAxisDescriptionText=function(t){var e=this.chart,i=e[t];return e.langFormat("accessibility.axis."+t+"Description"+(1s||i!==r-1),i?n.styledMode?C(e,"highcharts-a11y-invisible"):e.style.visibility="hidden":(E(e,"highcharts-a11y-invisible"),e.style.visibility=""))})},T.prototype.onChartRender=function(){c(this.chart)||this.removeProxies()},T.prototype.highlightAdjacentLegendPage=function(t){var e=this.chart,i=e.legend,n=(t=(i.currentPage||1)+t,i.pages||[]);if(0/g," ")),t=t.langFormat("accessibility.legend.legendLabel"+(e?"":"NoTitle"),{chart:t,legendTitle:e,chartTitle:A(t)});this.proxyProvider.updateGroupAttrs("legend",{"aria-label":t})},T.prototype.addLegendProxyGroup=function(){this.proxyGroup=this.proxyProvider.addGroup("legend","ul",{"aria-label":"_placeholder_",role:"all"===this.chart.options.accessibility.landmarkVerbosity?"region":null})},T.prototype.proxyLegendItems=function(){var e=this;(this.chart.legend&&this.chart.legend.allItems||[]).forEach(function(t){t.legendItem&&t.legendItem.element&&e.proxyLegendItem(t)})},T.prototype.proxyLegendItem=function(t){var e;t.legendItem&&t.legendGroup&&(e=this.chart.langFormat("accessibility.legend.legendItem",{chart:this.chart,itemName:w(t.name),item:t}),t.a11yProxyElement=this.proxyProvider.addProxyElement("legend",{click:t.legendItem,visual:(t.legendGroup.div?t.legendItem:t.legendGroup).element},{tabindex:-1,"aria-pressed":t.visible,"aria-label":e}))},T.prototype.getKeyboardNavigation=function(){var e=this.keyCodes,i=this,t=this.chart;return new r(t,{keyCodeMap:[[[e.left,e.right,e.up,e.down],function(t){return i.onKbdArrowKey(this,t)}],[[e.enter,e.space],function(t){return n.isFirefox&&t===e.space?this.response.success:i.onKbdClick(this)}],[[e.pageDown,e.pageUp],function(t){return i.highlightAdjacentLegendPage(t===e.pageDown?1:-1),this.response.success}]],validate:function(){return i.shouldHaveLegendNavigation()},init:function(){t.highlightLegendItem(0),i.highlightedLegendItemIx=0},terminate:function(){i.highlightedLegendItemIx=-1,t.legend.allItems.forEach(function(t){return l(!1,t)})}})},T.prototype.onKbdArrowKey=function(t,e){var i=this.keyCodes,n=t.response,o=this.chart,r=o.options.accessibility,s=o.legend.allItems.length;return e=e===i.left||e===i.up?-1:1,o.highlightLegendItem(this.highlightedLegendItemIx+e)?this.highlightedLegendItemIx+=e:1=e}function y(t,e){t=(o=(n=t.series).chart).options.accessibility.point||{};var i=n.options.accessibility&&n.options.accessibility.point||{},n=n.tooltipOptions||{},o=o.options.lang;return A(e)?m(e,i.valueDecimals||t.valueDecimals||n.valueDecimals||-1,o.decimalPoint,o.accessibility.thousandsSep||o.thousandsSep):e}function l(t,e){return t.chart.langFormat("accessibility.series."+e+"Description",{name:r(t[e]),series:t})}function h(t){var e,i,n,o,r,s,a,c=t.series,l=1"," "),n=C(t.id)&&(""+t.id).indexOf("highcharts-")<0,o="x, "+t.x,t.name||e||i||(n?t.id:o)):"",i=C(t.index)?t.index+1:"",(n=t.series).chart.options.accessibility.point||{}),m=n.chart.options.accessibility&&n.chart.options.accessibility.point||{},g=n.tooltipOptions||{};return o=m.valuePrefix||d.valuePrefix||g.valuePrefix||"",d=m.valueSuffix||d.valueSuffix||g.valueSuffix||"",m=y(t,t[void 0!==t.value?"value":"y"]),n=t.isNull?n.chart.langFormat("accessibility.series.nullPointValue",{point:t}):n.pointArrayMap?(s=o||"",a=d||"",(r=t).series.pointArrayMap.reduce(function(t,e){t+=t.length?", ":"";var i=y(r,w(r[e],r.options[e]));return t+(e+": ")+s+i+a},"")):o+m+d,u=b(p,{point:t,index:i,xDescription:e,value:n,separator:h?", ":""},u),p=(p=t.options&&t.options.accessibility&&t.options.accessibility.description)?" "+p:"",c=l?" "+c.name+".":"",l=t.series.chart,e={point:t,annotations:h=f(t)},l=h.length?l.langFormat("accessibility.series.pointAnnotationsDescription",e):"",t.accessibility=t.accessibility||{},(t.accessibility.valueDescription=u)+p+c+(l?" "+l:"")}function s(r){e=r.options.accessibility||{};var t,s=!c(r)&&!e.exposeAsGroupOnly,e=(t=(e=r).chart.options.accessibility.keyboardNavigation.seriesNavigation,!(!e.points||!(e.points.lengtho&&t.graphic&&t.graphic.element)})||null)&&n.graphic)?i.parentGroup:e.graph||e.group,n=n?{x:w(t.plotX,n.plotX,0),y:w(t.plotY,n.plotY,0)}:{x:w(t.plotX,0),y:w(t.plotY,0)},(n=t.series.chart.renderer.rect(n.x,n.y,1,1)).attr({class:"highcharts-a11y-dummy-point",fill:"none",opacity:0,"fill-opacity":0,"stroke-opacity":0}),i=e&&e.element?(t.graphic=n,t.hasDummyGraphic=!0,n.add(e),e.element.insertBefore(n.element,i?i.element:null),n.element):void 0)),e=t.options&&t.options.accessibility&&!1===t.options.accessibility.enabled,i&&(t.isNull&&!a?i.setAttribute("aria-hidden",!0):(i.setAttribute("tabindex","-1"),r.chart.styledMode||(i.style.outline="none"),s&&!e?(e=(n=t.series).chart.options.accessibility.point||{},n=n.options.accessibility&&n.options.accessibility.point||{},t=v(n.descriptionFormatter&&n.descriptionFormatter(t)||e.descriptionFormatter&&e.descriptionFormatter(t)||h(t)),i.setAttribute("role","img"),i.setAttribute("aria-label",t)):i.setAttribute("aria-hidden",!0)))})}function a(e){var i=e.chart,t=i.types||[],n=(n=((o=e).options.accessibility||{}).description)&&o.chart.langFormat("accessibility.series.description",{description:n,series:o})||"",o=function(t){return i[t]&&1=b-f,u=!t&&w&&i),o=t&&i||i&&!w&&!h||t&&p.frozenStates,(n=!C&&(c||l||u||y))?s=3:o&&(w=!0,s=2),r.state!==s&&(r.setState(s),d&&(d.options[e+1].disabled=n,2===s&&(d.selectedIndex=e+1)),0===s&&A===e&&p.setSelected())})},S.prototype.computeButtonRange=function(t){var e=t.type,i=t.count||1,n={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};n[e]?t._range=n[e]*i:"month"!==e&&"year"!==e||(t._range=864e5*{month:30,year:365}[e]*i),t._offsetMin=C(t.offsetMin,0),t._offsetMax=C(t.offsetMax,0),t._range+=t._offsetMax-t._offsetMin},S.prototype.getInputValue=function(t){t="min"===t?this.minInput:this.maxInput;var e=this.chart.options.rangeSelector,i=this.chart.time;return t?("text"===t.type&&e.inputDateParser||this.defaultInputDateParser)(t.value,i.useUTC,i):0},S.prototype.setInputValue=function(t,e){var i,n=this.options,o=this.chart.time,r="min"===t?this.minInput:this.maxInput;t="min"===t?this.minDateBox:this.maxDateBox,r&&(i=r.getAttribute("data-hc-time"),i=v(i)?Number(i):void 0,v(e)&&(v(i)&&r.setAttribute("data-hc-time-previous",i),r.setAttribute("data-hc-time",e),i=e),r.value=o.dateFormat(this.inputTypeFormats[r.type]||n.inputEditDateFormat,i),t&&t.attr({text:o.dateFormat(n.inputDateFormat,i)}))},S.prototype.setInputExtremes=function(t,e,i){var n,o;(t="min"===t?this.minInput:this.maxInput)&&(n=this.inputTypeFormats[t.type],o=this.chart.time,n&&(e=o.dateFormat(n,e),t.min!==e&&(t.min=e),i=o.dateFormat(n,i),t.max!==i&&(t.max=i)))},S.prototype.showInput=function(t){var e,i,n,o,r="min"===t?this.minDateBox:this.maxDateBox;(t="min"===t?this.minInput:this.maxInput)&&r&&this.inputGroup&&(e="text"===t.type,i=(n=this.inputGroup).translateX,n=n.translateY,o=this.options.inputBoxWidth,y(t,{width:e?r.width+(o?-2:20)+"px":"auto",height:e?r.height-2+"px":"auto",border:"2px solid silver"}),y(t,e&&o?{left:i+r.x+"px",top:n+"px"}:{left:Math.min(Math.round(r.x+i-(t.offsetWidth-r.width)/2),this.chart.chartWidth-t.offsetWidth)+"px",top:n-(t.offsetHeight-r.height)/2+"px"}))},S.prototype.hideInput=function(t){(t="min"===t?this.minInput:this.maxInput)&&y(t,{top:"-9999em",border:0,width:"1px",height:"1px"})},S.prototype.defaultInputDateParser=function(t,e,i){var n,o=t.split("/").join("-").split(" ").join("T");return-1===o.indexOf("T")&&(o+="T00:00"),e?o+="Z":(n=(n=d.isSafari)?!(6<(n=o).length&&(n.lastIndexOf("-")===n.length-6||n.lastIndexOf("+")===n.length-6)):n)&&(o+=(n=new Date(o).getTimezoneOffset()/60)<=0?"+".concat(h(-n),":00"):"-".concat(h(n),":00")),o=Date.parse(o),T(o)||(t=t.split("-"),o=Date.UTC(u(t[0]),u(t[1])-1,u(t[2]))),i&&e&&T(o)&&(o+=i.getTimezoneOffset(o)),o},S.prototype.drawInput=function(s){function e(){var t=c.getInputValue(s),e=a.xAxis[0],i=(n=a.scroller&&a.scroller.xAxis?a.scroller.xAxis:e).dataMin,n=n.dataMax,o=c.maxInput,r=c.minInput;t!==Number(u.getAttribute("data-hc-time-previous"))&&T(t)&&(u.setAttribute("data-hc-time-previous",t),l&&o&&T(i)?t>Number(o.getAttribute("data-hc-time"))?t=void 0:t=-o?0:-o),translateY:s.alignAttr.translateY+r.getBBox().height+10})}var i=this,n=this.chart,r=this.buttonGroup,s=this.inputGroup,a=(h=this.options).buttonPosition,c=h.dropdown,l=h.inputPosition,h=function(){var e=0;return i.buttons.forEach(function(t){(t=t.getBBox()).width>e&&(e=t.width)}),e};if(r){if("always"===c)return this.collapseButtons(o),void(t(h())&&e());"never"===c&&this.expandButtons()}s&&r?l.align===a.align||t(this.initialButtonGroupWidth+20)?"responsive"===c?(this.collapseButtons(o),t(h())&&e()):e():"responsive"===c&&this.expandButtons():r&&"responsive"===c&&(this.initialButtonGroupWidth>n.plotWidth?this.collapseButtons(o):this.expandButtons())},S.prototype.collapseButtons=function(t){function i(t){return{text:t?t+" ▾":"▾",width:"auto",paddingLeft:C(s.buttonTheme.paddingLeft,c.padding,8),paddingRight:C(s.buttonTheme.paddingRight,c.padding,8)}}var n=this.buttons,e=this.buttonOptions,o=this.chart,r=this.dropdown,s=this.options,a=this.zoomText,c=o.userOptions.rangeSelector&&o.userOptions.rangeSelector.buttonTheme||{},l=(a&&a.hide(),!1);e.forEach(function(t,e){2!==(e=n[e]).state?e.hide():(e.show(),e.attr(i(t.text)),l=!0)}),l||(r&&(r.selectedIndex=0),n[0].show(),n[0].attr(i(this.zoomText&&this.zoomText.textStr))),e=s.buttonPosition.align,this.positionButtons(),"right"!==e&&"center"!==e||this.alignButtonGroup(t,n[this.currentButtonIndex()].getBBox().width),this.showDropdown()},S.prototype.expandButtons=function(){var i=this.buttons,t=this.buttonOptions,n=this.options,e=this.zoomText;this.hideDropdown(),e&&e.show(),t.forEach(function(t,e){(e=i[e]).show(),e.attr({text:t.text,width:n.buttonTheme.width||28,paddingLeft:C(n.buttonTheme.paddingLeft,"unset"),paddingRight:C(n.buttonTheme.paddingRight,"unset")}),e.state<2&&e.setState(0)}),this.positionButtons()},S.prototype.currentButtonIndex=function(){var t=this.dropdown;return t&&0i.dataMax&&(o=(r=i.dataMax)-s),n.setExtremes(o,r),t.response.success},h.prototype.onMapKbdTab=function(t,e){var i=this.chart,n=(t=t.response,(e=e.shiftKey)&&!this.focusedMapNavButtonIx||!e&&this.focusedMapNavButtonIx);return i.mapNavigation.navButtons[this.focusedMapNavButtonIx].setState(0),n?(i.mapZoom(),t[e?"prev":"next"]):(this.focusedMapNavButtonIx+=e?-1:1,e=i.mapNavigation.navButtons[this.focusedMapNavButtonIx],i.setFocusToElement(e.box,e.element),e.setState(2),t.success)},h.prototype.onMapKbdClick=function(t){return this.fakeClickEvent(this.chart.mapNavButtons[this.focusedMapNavButtonIx].element),t.response.success},h.prototype.onMapNavInit=function(t){var e=this.chart,i=e.mapNavigation.navButtons[0],n=e.mapNavigation.navButtons[1],i=0{chartTitle}
{typeDescription}
{chartSubtitle}
{chartLongdesc}
{playAsSoundButton}
{viewTableButton}
{xAxisDescription}
{yAxisDescription}
{annotationsTitle}{annotationsList}
",afterChartFormat:"{endOfChartMarker}",axisRangeDateFormat:"%Y-%m-%d %H:%M:%S"},series:{descriptionFormat:"{seriesDescription}{authorDescription}{axisDescription}",describeSingleSeries:!1,pointDescriptionEnabledThreshold:200},point:{valueDescriptionFormat:"{xDescription}{separator}{value}.",describeNull:!0},landmarkVerbosity:"all",linkedDescription:'*[data-highcharts-chart="{index}"] + .highcharts-description',keyboardNavigation:{enabled:!0,focusBorder:{enabled:!0,hideBrowserFocusOutline:!0,style:{color:"#335cad",lineWidth:2,borderRadius:3},margin:2},order:["series","zoom","rangeSelector","legend","chartMenu"],wrapAround:!0,seriesNavigation:{skipNullPoints:!0,pointNavigationEnabledThreshold:!1,rememberPointFocus:!1}},announceNewData:{enabled:!1,minAnnounceInterval:5e3,interruptUser:!1}},legend:{accessibility:{enabled:!0,keyboardNavigation:{enabled:!0}}},exporting:{accessibility:{enabled:!0}}}}),e(t,"Accessibility/Options/LangDefaults.js",[],function(){return{accessibility:{defaultChartTitle:"Chart",chartContainerLabel:"{title}. Highcharts interactive chart.",svgContainerLabel:"Interactive chart",drillUpButton:"{buttonText}",credits:"Chart credits: {creditsStr}",thousandsSep:",",svgContainerTitle:"",graphicContainerLabel:"",screenReaderSection:{beforeRegionLabel:"",afterRegionLabel:"",annotations:{heading:"Chart annotations summary",descriptionSinglePoint:"{annotationText}. Related to {annotationPoint}",descriptionMultiplePoints:"{annotationText}. Related to {annotationPoint}{ Also related to, #each(additionalAnnotationPoints)}",descriptionNoPoints:"{annotationText}"},endOfChartMarker:"End of interactive chart."},sonification:{playAsSoundButtonText:"Play as sound, {chartTitle}",playAsSoundClickAnnouncement:"Play"},legend:{legendLabelNoTitle:"Toggle series visibility, {chartTitle}",legendLabel:"Chart legend: {legendTitle}",legendItem:"Show {itemName}"},zoom:{mapZoomIn:"Zoom chart",mapZoomOut:"Zoom out chart",resetZoomButton:"Reset zoom"},rangeSelector:{dropdownLabel:"{rangeTitle}",minInputLabel:"Select start date.",maxInputLabel:"Select end date.",clickButtonAnnouncement:"Viewing {axisRangeDescription}"},table:{viewAsDataTableButtonText:"View as data table, {chartTitle}",tableSummary:"Table representation of chart."},announceNewData:{newDataAnnounce:"Updated data for chart {chartTitle}",newSeriesAnnounceSingle:"New data series: {seriesDesc}",newPointAnnounceSingle:"New data point: {pointDesc}",newSeriesAnnounceMultiple:"New data series in chart {chartTitle}: {seriesDesc}",newPointAnnounceMultiple:"New data point in chart {chartTitle}: {pointDesc}"},seriesTypeDescriptions:{boxplot:"Box plot charts are typically used to display groups of statistical data. Each data point in the chart can have up to 5 values: minimum, lower quartile, median, upper quartile, and maximum.",arearange:"Arearange charts are line charts displaying a range between a lower and higher value for each point.",areasplinerange:"These charts are line charts displaying a range between a lower and higher value for each point.",bubble:"Bubble charts are scatter charts where each data point also has a size value.",columnrange:"Columnrange charts are column charts displaying a range between a lower and higher value for each point.",errorbar:"Errorbar series are used to display the variability of the data.",funnel:"Funnel charts are used to display reduction of data in stages.",pyramid:"Pyramid charts consist of a single pyramid with item heights corresponding to each point value.",waterfall:"A waterfall chart is a column chart where each column contributes towards a total end value."},chartTypes:{emptyChart:"Empty chart",mapTypeDescription:"Map of {mapTitle} with {numSeries} data series.",unknownMap:"Map of unspecified region with {numSeries} data series.",combinationChart:"Combination chart with {numSeries} data series.",defaultSingle:"Chart with {numPoints} data {#plural(numPoints, points, point)}.",defaultMultiple:"Chart with {numSeries} data series.",splineSingle:"Line chart with {numPoints} data {#plural(numPoints, points, point)}.",splineMultiple:"Line chart with {numSeries} lines.",lineSingle:"Line chart with {numPoints} data {#plural(numPoints, points, point)}.",lineMultiple:"Line chart with {numSeries} lines.",columnSingle:"Bar chart with {numPoints} {#plural(numPoints, bars, bar)}.",columnMultiple:"Bar chart with {numSeries} data series.",barSingle:"Bar chart with {numPoints} {#plural(numPoints, bars, bar)}.",barMultiple:"Bar chart with {numSeries} data series.",pieSingle:"Pie chart with {numPoints} {#plural(numPoints, slices, slice)}.",pieMultiple:"Pie chart with {numSeries} pies.",scatterSingle:"Scatter chart with {numPoints} {#plural(numPoints, points, point)}.",scatterMultiple:"Scatter chart with {numSeries} data series.",boxplotSingle:"Boxplot with {numPoints} {#plural(numPoints, boxes, box)}.",boxplotMultiple:"Boxplot with {numSeries} data series.",bubbleSingle:"Bubble chart with {numPoints} {#plural(numPoints, bubbles, bubble)}.",bubbleMultiple:"Bubble chart with {numSeries} data series."},axis:{xAxisDescriptionSingular:"The chart has 1 X axis displaying {names[0]}. {ranges[0]}",xAxisDescriptionPlural:"The chart has {numAxes} X axes displaying {#each(names, -1) }and {names[-1]}.",yAxisDescriptionSingular:"The chart has 1 Y axis displaying {names[0]}. {ranges[0]}",yAxisDescriptionPlural:"The chart has {numAxes} Y axes displaying {#each(names, -1) }and {names[-1]}.",timeRangeDays:"Data range: {range} days.",timeRangeHours:"Data range: {range} hours.",timeRangeMinutes:"Data range: {range} minutes.",timeRangeSeconds:"Data range: {range} seconds.",rangeFromTo:"Data ranges from {rangeFrom} to {rangeTo}.",rangeCategories:"Data range: {numCategories} categories."},exporting:{chartMenuLabel:"Chart menu",menuButtonLabel:"View chart menu, {chartTitle}"},series:{summary:{default:"{series.name}, series {seriesNumber} of {chart.series.length} with {series.points.length} data {#plural(series.points.length, points, point)}.",defaultCombination:"{series.name}, series {seriesNumber} of {chart.series.length} with {series.points.length} data {#plural(series.points.length, points, point)}.",line:"{series.name}, line {seriesNumber} of {chart.series.length} with {series.points.length} data {#plural(series.points.length, points, point)}.",lineCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Line with {series.points.length} data {#plural(series.points.length, points, point)}.",spline:"{series.name}, line {seriesNumber} of {chart.series.length} with {series.points.length} data {#plural(series.points.length, points, point)}.",splineCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Line with {series.points.length} data {#plural(series.points.length, points, point)}.",column:"{series.name}, bar series {seriesNumber} of {chart.series.length} with {series.points.length} {#plural(series.points.length, bars, bar)}.",columnCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Bar series with {series.points.length} {#plural(series.points.length, bars, bar)}.",bar:"{series.name}, bar series {seriesNumber} of {chart.series.length} with {series.points.length} {#plural(series.points.length, bars, bar)}.",barCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Bar series with {series.points.length} {#plural(series.points.length, bars, bar)}.",pie:"{series.name}, pie {seriesNumber} of {chart.series.length} with {series.points.length} {#plural(series.points.length, slices, slice)}.",pieCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Pie with {series.points.length} {#plural(series.points.length, slices, slice)}.",scatter:"{series.name}, scatter plot {seriesNumber} of {chart.series.length} with {series.points.length} {#plural(series.points.length, points, point)}.",scatterCombination:"{series.name}, series {seriesNumber} of {chart.series.length}, scatter plot with {series.points.length} {#plural(series.points.length, points, point)}.",boxplot:"{series.name}, boxplot {seriesNumber} of {chart.series.length} with {series.points.length} {#plural(series.points.length, boxes, box)}.",boxplotCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Boxplot with {series.points.length} {#plural(series.points.length, boxes, box)}.",bubble:"{series.name}, bubble series {seriesNumber} of {chart.series.length} with {series.points.length} {#plural(series.points.length, bubbles, bubble)}.",bubbleCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Bubble series with {series.points.length} {#plural(series.points.length, bubbles, bubble)}.",map:"{series.name}, map {seriesNumber} of {chart.series.length} with {series.points.length} {#plural(series.points.length, areas, area)}.",mapCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Map with {series.points.length} {#plural(series.points.length, areas, area)}.",mapline:"{series.name}, line {seriesNumber} of {chart.series.length} with {series.points.length} data {#plural(series.points.length, points, point)}.",maplineCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Line with {series.points.length} data {#plural(series.points.length, points, point)}.",mapbubble:"{series.name}, bubble series {seriesNumber} of {chart.series.length} with {series.points.length} {#plural(series.points.length, bubbles, bubble)}.",mapbubbleCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Bubble series with {series.points.length} {#plural(series.points.length, bubbles, bubble)}."},description:"{description}",xAxisDescription:"X axis, {name}",yAxisDescription:"Y axis, {name}",nullPointValue:"No value",pointAnnotationsDescription:"{Annotation: #each(annotations). }"}}}}),e(t,"Accessibility/Options/DeprecatedOptions.js",[t["Core/Utilities.js"]],function(t){function c(t,e,i){for(var n,o=0;o/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")},getElement:function(t){return o.getElementById(t)},getFakeMouseEvent:n,getHeadingTagNameForElement:function(t){function n(t){return t=parseInt(t.slice(1),10),"h"+Math.min(6,t+1)}function o(t){var e;t:{for(e=t;e=e.previousSibling;){var i=e.tagName||"";if(/H[1-6]/.test(i)){e=i;break t}}e=""}return e?n(e):(t=t.parentElement)?(e=t.tagName,/H[1-6]/.test(e)?n(e):o(t)):"p"}return o(t)},removeChildNodes:function(t){for(;t.lastChild;)t.removeChild(t.lastChild)},removeClass:function(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp(e,"g"),"")},removeElement:function(t){t&&t.parentNode&&t.parentNode.removeChild(t)},reverseChildNodes:function(t){for(var e=t.childNodes.length;e--;)t.appendChild(t.childNodes[e])},simulatedEventTarget:a,stripHTMLTagsFromString:function(t){return"string"==typeof t?t.replace(/<\/?[^>]+(>|$)/g,""):t},visuallyHideElement:function(t){s(t,{position:"absolute",width:"1px",height:"1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(1px, 1px, 1px, 1px)",marginTop:"-3px","-ms-filter":"progid:DXImageTransform.Microsoft.Alpha(Opacity=1)",filter:"alpha(opacity=1)",opacity:.01})}}}),e(t,"Accessibility/A11yI18n.js",[t["Core/FormatUtilities.js"],t["Core/Utilities.js"]],function(t,e){var i,n,a=t.format,c=e.getNestedProperty,l=e.pick;function o(t,e,i){var n=[],o=0;do{var r=function(t,e){var i=(t=t.slice(e||0)).indexOf("{"),n=t.indexOf("}");if(-1".concat(t,""):""})}var o=t.escapeStringForHTML,r=t.stripHTMLTagsFromString;return{getAnnotationsInfoHTML:function(t){var e=t.annotations;return e&&e.length?(t=n(t),'
    '.concat(t.join(" "),"
")):""},getAnnotationLabelDescription:e,getAnnotationListItems:n,getPointAnnotationTexts:function(e){var t=i(e.series.chart).filter(function(t){return-1]*?>\s*<\/\1>/g,"")},P.prototype.defaultAfterChartFormatter=function(){var t=this.chart,e=t.options.accessibility.screenReaderSection.afterChartFormat;if(!e)return"";var i={endOfChartMarker:this.getEndOfChartMarkerText()};return c.i18nFormat(e,i,t).replace(/<(\w+)[^>]*?>\s*<\/\1>/g,"")},P.prototype.getLinkedDescription=function(){var t=this.linkedDescriptionElement;return C(t&&t.innerHTML||"")},P.prototype.getLongdescText=function(){var t=this.chart.options,e=(e=t.caption)&&e.text,i=this.getLinkedDescription();return t.accessibility.description||i||e||""},P.prototype.getTypeDescriptionText=function(){var t=this.chart;return t.types?t.options.accessibility.typeDescription||function(t,e){var i=e[0],n=t.series&&t.series[0]||{},n={numSeries:t.series.length,numPoints:n.points&&n.points.length,chart:t,mapTitle:t.mapView&&t.mapView.geoMap&&t.mapView.geoMap.title};if(!i)return t.langFormat("accessibility.chartTypes.emptyChart",n);if("map"===i)return n.mapTitle?t.langFormat("accessibility.chartTypes.mapTypeDescription",n):t.langFormat("accessibility.chartTypes.unknownMap",n);if(1'+(e=e.langFormat("accessibility.table.viewAsDataTableButtonText",{chart:e,chartTitle:y(e)}))+""},P.prototype.getSonifyButtonText=function(t){var e=this.chart;return e.options.sonification&&!1===e.options.sonification.enabled?"":'"},P.prototype.getSubtitleText=function(){var t=this.chart.options.subtitle;return C(t&&t.text||"")},P.prototype.getEndOfChartMarkerText=function(){var t=this.chart,e=t.langFormat("accessibility.screenReaderSection.endOfChartMarker",{chart:t});return'
'+e+"
"},P.prototype.onDataTableCreated=function(t){var e,i=this.chart;i.options.accessibility.enabled&&(this.viewDataTableButton&&this.viewDataTableButton.setAttribute("aria-expanded","true"),(e=t.tree.attributes||{}).tabindex=-1,e.summary=i.langFormat("accessibility.table.tableSummary",{chart:i}),t.tree.attributes=e)},P.prototype.focusDataTable=function(){var t=this.dataTableDiv;(t=t&&t.getElementsByTagName("table")[0])&&t.focus&&t.focus()},P.prototype.initSonifyButton=function(t){var e=this,i=this.sonifyButton=A(t),n=this.chart;i&&n&&(i.setAttribute("tabindex",-1),i.onclick=function(t){(n.options.accessibility&&n.options.accessibility.screenReaderSection.onPlayAsSoundClick||function(t){i&&(i.setAttribute("aria-hidden","true"),i.setAttribute("aria-label","")),t.preventDefault(),t.stopPropagation(),t=n.langFormat("accessibility.sonification.playAsSoundClickAnnouncement",{chart:n}),e.announcer.announce(t),setTimeout(function(){i&&(i.removeAttribute("aria-hidden"),i.removeAttribute("aria-label")),n.sonify&&n.sonify()},1e3)}).call(this,t,n)})},P.prototype.initDataTableButton=function(t){var e=this.viewDataTableButton=A(t),i=this.chart;t=t.replace("hc-linkto-",""),e&&(T(e,{tabindex:-1,"aria-expanded":!!A(t)}),e.onclick=i.options.accessibility.screenReaderSection.onViewDataTableClick||function(){i.viewData()})},P.prototype.getAxesDescription=function(){var i=this.chart,t=function(t,e){return 1<(t=i[t]).length||t[0]&&S(t[0].options.accessibility&&t[0].options.accessibility.enabled,e)},e=!!i.types&&i.types.indexOf("map")<0&&i.types.indexOf("treemap")<0&&i.types.indexOf("tilemap")<0,n=!!i.hasCartesianSeries,o=t("xAxis",!i.angular&&n&&e),t=t("yAxis",n&&e),e={};return o&&(e.xAxis=this.getAxisDescriptionText("xAxis")),t&&(e.yAxis=this.getAxisDescriptionText("yAxis")),e},P.prototype.getAxisDescriptionText=function(t){var e=this.chart,i=e[t];return e.langFormat("accessibility.axis."+t+"Description"+(1c||t!==a-1),n?r.styledMode?C(i,"highcharts-a11y-invisible"):i.style.visibility="hidden":(E(i,"highcharts-a11y-invisible"),i.style.visibility=""))})},T.prototype.onChartRender=function(){c(this.chart)||this.removeProxies()},T.prototype.highlightAdjacentLegendPage=function(t){var e=this.chart,i=e.legend,n=(t=(i.currentPage||1)+t,i.pages||[]);if(0/g," ")),t=t.langFormat("accessibility.legend.legendLabel"+(e?"":"NoTitle"),{chart:t,legendTitle:e,chartTitle:A(t)});this.proxyProvider.updateGroupAttrs("legend",{"aria-label":t})},T.prototype.addLegendProxyGroup=function(){this.proxyGroup=this.proxyProvider.addGroup("legend","ul",{"aria-label":"_placeholder_",role:"all"===this.chart.options.accessibility.landmarkVerbosity?"region":null})},T.prototype.proxyLegendItems=function(){var e,i=this;((this.chart.legend||{}).allItems||[]).forEach(function(t){(e=t.legendItem||{}).label&&e.label.element&&i.proxyLegendItem(t)})},T.prototype.proxyLegendItem=function(t){var e,i=t.legendItem||{};i.label&&i.group&&(e=this.chart.langFormat("accessibility.legend.legendItem",{chart:this.chart,itemName:w(t.name),item:t}),t.a11yProxyElement=this.proxyProvider.addProxyElement("legend",{click:i.label,visual:(i.group.div?i.label:i.group).element},{tabindex:-1,"aria-pressed":t.visible,"aria-label":e}))},T.prototype.getKeyboardNavigation=function(){var e=this.keyCodes,i=this,t=this.chart;return new r(t,{keyCodeMap:[[[e.left,e.right,e.up,e.down],function(t){return i.onKbdArrowKey(this,t)}],[[e.enter,e.space],function(){return i.onKbdClick(this)}],[[e.pageDown,e.pageUp],function(t){return i.highlightAdjacentLegendPage(t===e.pageDown?1:-1),this.response.success}]],validate:function(){return i.shouldHaveLegendNavigation()},init:function(){t.highlightLegendItem(0),i.highlightedLegendItemIx=0},terminate:function(){i.highlightedLegendItemIx=-1,t.legend.allItems.forEach(function(t){return l(!1,t)})}})},T.prototype.onKbdArrowKey=function(t,e){var i=this.keyCodes,n=t.response,o=this.chart,r=o.options.accessibility,s=o.legend.allItems.length;return e=e===i.left||e===i.up?-1:1,o.highlightLegendItem(this.highlightedLegendItemIx+e)?this.highlightedLegendItemIx+=e:1=e}function y(t,e){t=(o=(n=t.series).chart).options.accessibility.point||{};var i=n.options.accessibility&&n.options.accessibility.point||{},n=n.tooltipOptions||{},o=o.options.lang;return A(e)?g(e,i.valueDecimals||t.valueDecimals||n.valueDecimals||-1,o.decimalPoint,o.accessibility.thousandsSep||o.thousandsSep):e}function l(t,e){return t.chart.langFormat("accessibility.series."+e+"Description",{name:r(t[e]),series:t})}function h(t){var e,i,n,o,r,s,a,c=t.series,l=1"," "),n=C(t.id)&&(""+t.id).indexOf("highcharts-")<0,o="x, "+t.x,t.name||e||i||(n?t.id:o)):"",i=C(t.index)?t.index+1:"",(n=t.series).chart.options.accessibility.point||{}),g=n.chart.options.accessibility&&n.chart.options.accessibility.point||{},m=n.tooltipOptions||{};return o=g.valuePrefix||d.valuePrefix||m.valuePrefix||"",d=g.valueSuffix||d.valueSuffix||m.valueSuffix||"",g=y(t,t[void 0!==t.value?"value":"y"]),n=t.isNull?n.chart.langFormat("accessibility.series.nullPointValue",{point:t}):n.pointArrayMap?(s=o||"",a=d||"",(r=t).series.pointArrayMap.reduce(function(t,e){t+=t.length?", ":"";var i=y(r,w(r[e],r.options[e]));return t+(e+": ")+s+i+a},"")):o+g+d,u=b(p,{point:t,index:i,xDescription:e,value:n,separator:h?", ":""},u),p=(p=t.options&&t.options.accessibility&&t.options.accessibility.description)?" "+p:"",c=l?" "+c.name+".":"",l=t.series.chart,e={point:t,annotations:h=f(t)},l=h.length?l.langFormat("accessibility.series.pointAnnotationsDescription",e):"",t.accessibility=t.accessibility||{},(t.accessibility.valueDescription=u)+p+c+(l?" "+l:"")}function s(r){e=r.options.accessibility||{};var t,s=!c(r)&&!e.exposeAsGroupOnly,e=(t=(e=r).chart.options.accessibility.keyboardNavigation.seriesNavigation,!(!e.points||!(e.points.lengtho&&t.graphic&&t.graphic.element)})||null)&&n.graphic)?i.parentGroup:e.graph||e.group,n=n?{x:w(t.plotX,n.plotX,0),y:w(t.plotY,n.plotY,0)}:{x:w(t.plotX,0),y:w(t.plotY,0)},(n=t.series.chart.renderer.rect(n.x,n.y,1,1)).attr({class:"highcharts-a11y-mock-point",fill:"none",opacity:0,"fill-opacity":0,"stroke-opacity":0}),i=e&&e.element?(t.graphic=n,t.hasMockGraphic=!0,n.add(e),e.element.insertBefore(n.element,i?i.element:null),n.element):void 0)),e=t.options&&t.options.accessibility&&!1===t.options.accessibility.enabled,i&&(t.isNull&&!a?i.setAttribute("aria-hidden",!0):(i.setAttribute("tabindex","-1"),r.chart.styledMode||(i.style.outline="none"),s&&!e?(e=(n=t.series).chart.options.accessibility.point||{},n=n.options.accessibility&&n.options.accessibility.point||{},t=v(n.descriptionFormatter&&n.descriptionFormatter(t)||e.descriptionFormatter&&e.descriptionFormatter(t)||h(t)),i.setAttribute("role","img"),i.setAttribute("aria-label",t)):i.setAttribute("aria-hidden",!0)))})}function a(e){var i=e.chart,t=i.types||[],n=(n=((o=e).options.accessibility||{}).description)&&o.chart.langFormat("accessibility.series.description",{description:n,series:o})||"",o=function(t){return i[t]&&1=b-f,u=!a&&E&&i),o=a&&i||i&&!E&&!h||a&&p.frozenStates,(n=!w&&(c||l||u||y))?t=3:o&&(E=!0,t=2),r.state!==t&&(r.setState(t),d&&(d.options[e+1].disabled=n,2===t&&(d.selectedIndex=e+1)),0===t&&A===e&&p.setSelected())})},l.prototype.computeButtonRange=function(t){var e=t.type,i=t.count||1,n={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};n[e]?t._range=n[e]*i:"month"!==e&&"year"!==e||(t._range=864e5*{month:30,year:365}[e]*i),t._offsetMin=C(t.offsetMin,0),t._offsetMax=C(t.offsetMax,0),t._range+=t._offsetMax-t._offsetMin},l.prototype.getInputValue=function(t){t="min"===t?this.minInput:this.maxInput;var e=this.chart.options.rangeSelector,i=this.chart.time;return t?("text"===t.type&&e.inputDateParser||this.defaultInputDateParser)(t.value,i.useUTC,i):0},l.prototype.setInputValue=function(t,e){var i,n=this.options,o=this.chart.time,r="min"===t?this.minInput:this.maxInput;t="min"===t?this.minDateBox:this.maxDateBox,r&&(i=r.getAttribute("data-hc-time"),i=v(i)?Number(i):void 0,v(e)&&(v(i)&&r.setAttribute("data-hc-time-previous",i),r.setAttribute("data-hc-time",e),i=e),r.value=o.dateFormat(this.inputTypeFormats[r.type]||n.inputEditDateFormat,i),t&&t.attr({text:o.dateFormat(n.inputDateFormat,i)}))},l.prototype.setInputExtremes=function(t,e,i){var n,o;(t="min"===t?this.minInput:this.maxInput)&&(n=this.inputTypeFormats[t.type],o=this.chart.time,n&&(e=o.dateFormat(n,e),t.min!==e&&(t.min=e),i=o.dateFormat(n,i),t.max!==i&&(t.max=i)))},l.prototype.showInput=function(t){var e,i,n,o,r="min"===t?this.minDateBox:this.maxDateBox;(t="min"===t?this.minInput:this.maxInput)&&r&&this.inputGroup&&(e="text"===t.type,i=(n=this.inputGroup).translateX,n=n.translateY,o=this.options.inputBoxWidth,y(t,{width:e?r.width+(o?-2:20)+"px":"auto",height:e?r.height-2+"px":"auto",border:"2px solid silver"}),y(t,e&&o?{left:i+r.x+"px",top:n+"px"}:{left:Math.min(Math.round(r.x+i-(t.offsetWidth-r.width)/2),this.chart.chartWidth-t.offsetWidth)+"px",top:n-(t.offsetHeight-r.height)/2+"px"}))},l.prototype.hideInput=function(t){(t="min"===t?this.minInput:this.maxInput)&&y(t,{top:"-9999em",border:0,width:"1px",height:"1px"})},l.prototype.defaultInputDateParser=function(t,e,i){var n,o=t.split("/").join("-").split(" ").join("T");return-1===o.indexOf("T")&&(o+="T00:00"),e?o+="Z":(n=(n=d.isSafari)?!(6<(n=o).length&&(n.lastIndexOf("-")===n.length-6||n.lastIndexOf("+")===n.length-6)):n)&&(o+=(n=new Date(o).getTimezoneOffset()/60)<=0?"+".concat(a(-n),":00"):"-".concat(a(n),":00")),o=Date.parse(o),T(o)||(t=t.split("-"),o=Date.UTC(c(t[0]),c(t[1])-1,c(t[2]))),i&&e&&T(o)&&(o+=i.getTimezoneOffset(o)),o},l.prototype.drawInput=function(s){function e(){var t=c.maxInput,e=c.minInput,i=a.xAxis[0],n=(o=a.scroller&&a.scroller.xAxis?a.scroller.xAxis:i).dataMin,o=o.dataMax,r=c.getInputValue(s);r!==Number(u.getAttribute("data-hc-time-previous"))&&T(r)&&(u.setAttribute("data-hc-time-previous",r),l&&t&&T(n)?r>Number(t.getAttribute("data-hc-time"))?r=void 0:r=-o?0:-o),translateY:s.alignAttr.translateY+r.getBBox().height+10})}var i=this,n=this.chart,r=this.buttonGroup,s=this.inputGroup,a=(h=this.options).buttonPosition,c=h.dropdown,l=h.inputPosition,h=function(){var e=0;return i.buttons.forEach(function(t){(t=t.getBBox()).width>e&&(e=t.width)}),e};if(r){if("always"===c)return this.collapseButtons(o),void(t(h())&&e());"never"===c&&this.expandButtons()}s&&r?l.align===a.align||t(this.initialButtonGroupWidth+20)?"responsive"===c?(this.collapseButtons(o),t(h())&&e()):e():"responsive"===c&&this.expandButtons():r&&"responsive"===c&&(this.initialButtonGroupWidth>n.plotWidth?this.collapseButtons(o):this.expandButtons())},l.prototype.collapseButtons=function(t){function i(t){return{text:t?t+" ▾":"▾",width:"auto",paddingLeft:C(s.buttonTheme.paddingLeft,c.padding,8),paddingRight:C(s.buttonTheme.paddingRight,c.padding,8)}}var n=this.buttons,e=this.buttonOptions,o=this.chart,r=this.dropdown,s=this.options,a=this.zoomText,c=o.userOptions.rangeSelector&&o.userOptions.rangeSelector.buttonTheme||{},l=(a&&a.hide(),!1);e.forEach(function(t,e){2!==(e=n[e]).state?e.hide():(e.show(),e.attr(i(t.text)),l=!0)}),l||(r&&(r.selectedIndex=0),n[0].show(),n[0].attr(i(this.zoomText&&this.zoomText.textStr))),e=s.buttonPosition.align,this.positionButtons(),"right"!==e&&"center"!==e||this.alignButtonGroup(t,n[this.currentButtonIndex()].getBBox().width),this.showDropdown()},l.prototype.expandButtons=function(){var i=this.buttons,t=this.buttonOptions,n=this.options,e=this.zoomText;this.hideDropdown(),e&&e.show(),t.forEach(function(t,e){(e=i[e]).show(),e.attr({text:t.text,width:n.buttonTheme.width||28,paddingLeft:C(n.buttonTheme.paddingLeft,"unset"),paddingRight:C(n.buttonTheme.paddingRight,"unset")}),e.state<2&&e.setState(0)}),this.positionButtons()},l.prototype.currentButtonIndex=function(){var t=this.dropdown;return t&&0{chartTitle}
{typeDescription}
{chartSubtitle}
{chartLongdesc}
{playAsSoundButton}
{viewTableButton}
{xAxisDescription}
{yAxisDescription}
{annotationsTitle}{annotationsList}
",afterChartFormat:"{endOfChartMarker}",axisRangeDateFormat:"%Y-%m-%d %H:%M:%S"},series:{descriptionFormat:"{seriesDescription}{authorDescription}{axisDescription}",describeSingleSeries:!1,pointDescriptionEnabledThreshold:200},point:{valueDescriptionFormat:"{xDescription}{separator}{value}.",describeNull:!0},landmarkVerbosity:"all",linkedDescription:'*[data-highcharts-chart="{index}"] + .highcharts-description',keyboardNavigation:{enabled:!0,focusBorder:{enabled:!0,hideBrowserFocusOutline:!0,style:{color:"#335cad",lineWidth:2,borderRadius:3},margin:2},order:["series","zoom","rangeSelector","legend","chartMenu"],wrapAround:!0,seriesNavigation:{skipNullPoints:!0,pointNavigationEnabledThreshold:!1,rememberPointFocus:!1}},announceNewData:{enabled:!1,minAnnounceInterval:5e3,interruptUser:!1}},legend:{accessibility:{enabled:!0,keyboardNavigation:{enabled:!0}}},exporting:{accessibility:{enabled:!0}}}}),e(t,"Accessibility/Options/LangDefaults.js",[],function(){return{accessibility:{defaultChartTitle:"Chart",chartContainerLabel:"{title}. Highcharts interactive chart.",svgContainerLabel:"Interactive chart",drillUpButton:"{buttonText}",credits:"Chart credits: {creditsStr}",thousandsSep:",",svgContainerTitle:"",graphicContainerLabel:"",screenReaderSection:{beforeRegionLabel:"",afterRegionLabel:"",annotations:{heading:"Chart annotations summary",descriptionSinglePoint:"{annotationText}. Related to {annotationPoint}",descriptionMultiplePoints:"{annotationText}. Related to {annotationPoint}{ Also related to, #each(additionalAnnotationPoints)}",descriptionNoPoints:"{annotationText}"},endOfChartMarker:"End of interactive chart."},sonification:{playAsSoundButtonText:"Play as sound, {chartTitle}",playAsSoundClickAnnouncement:"Play"},legend:{legendLabelNoTitle:"Toggle series visibility, {chartTitle}",legendLabel:"Chart legend: {legendTitle}",legendItem:"Show {itemName}"},zoom:{mapZoomIn:"Zoom chart",mapZoomOut:"Zoom out chart",resetZoomButton:"Reset zoom"},rangeSelector:{dropdownLabel:"{rangeTitle}",minInputLabel:"Select start date.",maxInputLabel:"Select end date.",clickButtonAnnouncement:"Viewing {axisRangeDescription}"},table:{viewAsDataTableButtonText:"View as data table, {chartTitle}",tableSummary:"Table representation of chart."},announceNewData:{newDataAnnounce:"Updated data for chart {chartTitle}",newSeriesAnnounceSingle:"New data series: {seriesDesc}",newPointAnnounceSingle:"New data point: {pointDesc}",newSeriesAnnounceMultiple:"New data series in chart {chartTitle}: {seriesDesc}",newPointAnnounceMultiple:"New data point in chart {chartTitle}: {pointDesc}"},seriesTypeDescriptions:{boxplot:"Box plot charts are typically used to display groups of statistical data. Each data point in the chart can have up to 5 values: minimum, lower quartile, median, upper quartile, and maximum.",arearange:"Arearange charts are line charts displaying a range between a lower and higher value for each point.",areasplinerange:"These charts are line charts displaying a range between a lower and higher value for each point.",bubble:"Bubble charts are scatter charts where each data point also has a size value.",columnrange:"Columnrange charts are column charts displaying a range between a lower and higher value for each point.",errorbar:"Errorbar series are used to display the variability of the data.",funnel:"Funnel charts are used to display reduction of data in stages.",pyramid:"Pyramid charts consist of a single pyramid with item heights corresponding to each point value.",waterfall:"A waterfall chart is a column chart where each column contributes towards a total end value."},chartTypes:{emptyChart:"Empty chart",mapTypeDescription:"Map of {mapTitle} with {numSeries} data series.",unknownMap:"Map of unspecified region with {numSeries} data series.",combinationChart:"Combination chart with {numSeries} data series.",defaultSingle:"Chart with {numPoints} data {#plural(numPoints, points, point)}.",defaultMultiple:"Chart with {numSeries} data series.",splineSingle:"Line chart with {numPoints} data {#plural(numPoints, points, point)}.",splineMultiple:"Line chart with {numSeries} lines.",lineSingle:"Line chart with {numPoints} data {#plural(numPoints, points, point)}.",lineMultiple:"Line chart with {numSeries} lines.",columnSingle:"Bar chart with {numPoints} {#plural(numPoints, bars, bar)}.",columnMultiple:"Bar chart with {numSeries} data series.",barSingle:"Bar chart with {numPoints} {#plural(numPoints, bars, bar)}.",barMultiple:"Bar chart with {numSeries} data series.",pieSingle:"Pie chart with {numPoints} {#plural(numPoints, slices, slice)}.",pieMultiple:"Pie chart with {numSeries} pies.",scatterSingle:"Scatter chart with {numPoints} {#plural(numPoints, points, point)}.",scatterMultiple:"Scatter chart with {numSeries} data series.",boxplotSingle:"Boxplot with {numPoints} {#plural(numPoints, boxes, box)}.",boxplotMultiple:"Boxplot with {numSeries} data series.",bubbleSingle:"Bubble chart with {numPoints} {#plural(numPoints, bubbles, bubble)}.",bubbleMultiple:"Bubble chart with {numSeries} data series."},axis:{xAxisDescriptionSingular:"The chart has 1 X axis displaying {names[0]}. {ranges[0]}",xAxisDescriptionPlural:"The chart has {numAxes} X axes displaying {#each(names, -1) }and {names[-1]}.",yAxisDescriptionSingular:"The chart has 1 Y axis displaying {names[0]}. {ranges[0]}",yAxisDescriptionPlural:"The chart has {numAxes} Y axes displaying {#each(names, -1) }and {names[-1]}.",timeRangeDays:"Data range: {range} days.",timeRangeHours:"Data range: {range} hours.",timeRangeMinutes:"Data range: {range} minutes.",timeRangeSeconds:"Data range: {range} seconds.",rangeFromTo:"Data ranges from {rangeFrom} to {rangeTo}.",rangeCategories:"Data range: {numCategories} categories."},exporting:{chartMenuLabel:"Chart menu",menuButtonLabel:"View chart menu, {chartTitle}"},series:{summary:{default:"{series.name}, series {seriesNumber} of {chart.series.length} with {series.points.length} data {#plural(series.points.length, points, point)}.",defaultCombination:"{series.name}, series {seriesNumber} of {chart.series.length} with {series.points.length} data {#plural(series.points.length, points, point)}.",line:"{series.name}, line {seriesNumber} of {chart.series.length} with {series.points.length} data {#plural(series.points.length, points, point)}.",lineCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Line with {series.points.length} data {#plural(series.points.length, points, point)}.",spline:"{series.name}, line {seriesNumber} of {chart.series.length} with {series.points.length} data {#plural(series.points.length, points, point)}.",splineCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Line with {series.points.length} data {#plural(series.points.length, points, point)}.",column:"{series.name}, bar series {seriesNumber} of {chart.series.length} with {series.points.length} {#plural(series.points.length, bars, bar)}.",columnCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Bar series with {series.points.length} {#plural(series.points.length, bars, bar)}.",bar:"{series.name}, bar series {seriesNumber} of {chart.series.length} with {series.points.length} {#plural(series.points.length, bars, bar)}.",barCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Bar series with {series.points.length} {#plural(series.points.length, bars, bar)}.",pie:"{series.name}, pie {seriesNumber} of {chart.series.length} with {series.points.length} {#plural(series.points.length, slices, slice)}.",pieCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Pie with {series.points.length} {#plural(series.points.length, slices, slice)}.",scatter:"{series.name}, scatter plot {seriesNumber} of {chart.series.length} with {series.points.length} {#plural(series.points.length, points, point)}.",scatterCombination:"{series.name}, series {seriesNumber} of {chart.series.length}, scatter plot with {series.points.length} {#plural(series.points.length, points, point)}.",boxplot:"{series.name}, boxplot {seriesNumber} of {chart.series.length} with {series.points.length} {#plural(series.points.length, boxes, box)}.",boxplotCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Boxplot with {series.points.length} {#plural(series.points.length, boxes, box)}.",bubble:"{series.name}, bubble series {seriesNumber} of {chart.series.length} with {series.points.length} {#plural(series.points.length, bubbles, bubble)}.",bubbleCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Bubble series with {series.points.length} {#plural(series.points.length, bubbles, bubble)}.",map:"{series.name}, map {seriesNumber} of {chart.series.length} with {series.points.length} {#plural(series.points.length, areas, area)}.",mapCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Map with {series.points.length} {#plural(series.points.length, areas, area)}.",mapline:"{series.name}, line {seriesNumber} of {chart.series.length} with {series.points.length} data {#plural(series.points.length, points, point)}.",maplineCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Line with {series.points.length} data {#plural(series.points.length, points, point)}.",mapbubble:"{series.name}, bubble series {seriesNumber} of {chart.series.length} with {series.points.length} {#plural(series.points.length, bubbles, bubble)}.",mapbubbleCombination:"{series.name}, series {seriesNumber} of {chart.series.length}. Bubble series with {series.points.length} {#plural(series.points.length, bubbles, bubble)}."},description:"{description}",xAxisDescription:"X axis, {name}",yAxisDescription:"Y axis, {name}",nullPointValue:"No value",pointAnnotationsDescription:"{Annotation: #each(annotations). }"}}}}),e(t,"Accessibility/Options/DeprecatedOptions.js",[t["Core/Utilities.js"]],function(t){function c(t,e,i){for(var n,o=0;oh?t[t.length-1]+=p+r:t.push(r),n=!0)}),!n){for(t=a.dataRows[0].length,s=Array(t),e=0;et.plotWidth&&("left"===s?i.align="right":i.x=(i.x||0)+t.plotWidth-h),(h=n+r)<0&&("bottom"===e?i.verticalAlign="top":i.y=(i.y||0)-h),(h=n+a.height-r)>t.plotHeight&&("top"===e?i.verticalAlign="bottom":i.y=(i.y||0)+t.plotHeight-h),i},y.prototype.translatePoint=function(t,i){e.prototype.translatePoint.call(this,t,i,0)},y.prototype.translate=function(t,i){var o=this.annotation.chart,n=this.annotation.userOptions,s=o.annotations.indexOf(this.annotation),s=o.options.annotations[s];o.inverted&&(o=t,t=i,i=o),this.options.x+=t,this.options.y+=i,s[this.collection][this.index].x=this.options.x,s[this.collection][this.index].y=this.options.y,n[this.collection][this.index].x=this.options.x,n[this.collection][this.index].y=this.options.y},y.prototype.render=function(t){var i=this.options,o=this.attrsFromOptions(i),n=i.style;this.graphic=this.annotation.chart.renderer.label("",0,-9999,i.shape,null,null,i.useHTML,null,"annotation-label").attr(o).add(t),this.annotation.chart.styledMode||("contrast"===n.color&&(n.color=this.annotation.chart.renderer.getContrast(-1=i-n&&t.value<=o+n&&!t.axis.options.isInternal})[0]},getFieldType:function(t,i){return i=typeof i,{string:"text",number:"number",boolean:"checkbox"}[i=o(t=n[t])?t:i]}}}),i(t,"Extensions/Annotations/NavigationBindingsDefaults.js",[t["Extensions/Annotations/NavigationBindingsUtilities.js"],t["Core/Utilities.js"]],function(t,i){var e=t.getAssignedAxis,r=i.isNumber,a=i.merge;return{lang:{navigation:{popup:{simpleShapes:"Simple shapes",lines:"Lines",circle:"Circle",ellipse:"Ellipse",rectangle:"Rectangle",label:"Label",shapeOptions:"Shape options",typeOptions:"Details",fill:"Fill",format:"Text",strokeWidth:"Line width",stroke:"Line color",title:"Title",name:"Name",labelOptions:"Label options",labels:"Labels",backgroundColor:"Background color",backgroundColors:"Background colors",borderColor:"Border color",borderRadius:"Border radius",borderWidth:"Border width",style:"Style",padding:"Padding",fontSize:"Font size",color:"Color",height:"Height",shapes:"Shape options"}}},navigation:{bindingsClassName:"highcharts-bindings-container",bindings:{circleAnnotation:{className:"highcharts-circle-annotation",start:function(t){var i=this.chart.pointer.getCoordinates(t),o=(t=e(i.xAxis),i=e(i.yAxis),this.chart.options.navigation);if(t&&i)return this.chart.addAnnotation(a({langKey:"circle",type:"basicAnnotation",shapes:[{type:"circle",point:{x:t.value,y:i.value,xAxis:t.axis.options.index,yAxis:i.axis.options.index},r:5}]},o.annotationsOptions,o.bindings.circleAnnotation.annotationsOptions))},steps:[function(t,i){var o,n,s=i.options.shapes;s=s&&s[0]&&s[0].point||{},r(s.xAxis)&&r(s.yAxis)&&(n=this.chart.inverted,o=this.chart.xAxis[s.xAxis].toPixels(s.x),s=this.chart.yAxis[s.yAxis].toPixels(s.y),n=Math.max(Math.sqrt(Math.pow(n?s-t.chartX:o-t.chartX,2)+Math.pow(n?o-t.chartY:s-t.chartY,2)),5)),i.update({shapes:[{r:n}]})}]},ellipseAnnotation:{className:"highcharts-ellipse-annotation",start:function(t){var i=this.chart.pointer.getCoordinates(t),o=(t=e(i.xAxis),i=e(i.yAxis),this.chart.options.navigation);if(t&&i)return this.chart.addAnnotation(a({langKey:"ellipse",type:"basicAnnotation",shapes:[{type:"ellipse",xAxis:t.axis.options.index,yAxis:i.axis.options.index,points:[{x:t.value,y:i.value},{x:t.value,y:i.value}],ry:1}]},o.annotationsOptions,o.bindings.ellipseAnnotation.annotationOptions))},steps:[function(t,i){var o=(i=i.shapes[0]).getAbsolutePosition(i.points[1]);i.translatePoint(t.chartX-o.x,t.chartY-o.y,1),i.redraw(!1)},function(t,i){var o=(i=i.shapes[0]).getAbsolutePosition(i.points[0]),n=i.getAbsolutePosition(i.points[1]);t=i.getDistanceFromLine(o,n,t.chartX,t.chartY),o=i.getYAxis(),t=Math.abs(o.toValue(0)-o.toValue(t)),i.setYRadius(t),i.redraw(!1)}]},rectangleAnnotation:{className:"highcharts-rectangle-annotation",start:function(t){t=this.chart.pointer.getCoordinates(t);var i,o,n=e(t.xAxis),s=e(t.yAxis);if(n&&s)return t=n.value,i=s.value,n=n.axis.options.index,s=s.axis.options.index,o=this.chart.options.navigation,this.chart.addAnnotation(a({langKey:"rectangle",type:"basicAnnotation",shapes:[{type:"path",points:[{xAxis:n,yAxis:s,x:t,y:i},{xAxis:n,yAxis:s,x:t,y:i},{xAxis:n,yAxis:s,x:t,y:i},{xAxis:n,yAxis:s,x:t,y:i},{command:"Z"}]}]},o.annotationsOptions,o.bindings.rectangleAnnotation.annotationsOptions))},steps:[function(t,i){var o=(o=i.options.shapes)&&o[0]&&o[0].points||[],n=this.chart.pointer.getCoordinates(t);t=e(n.xAxis),n=e(n.yAxis),t&&n&&(t=t.value,n=n.value,o[1].x=t,o[2].x=t,o[2].y=n,o[3].y=n,i.update({shapes:[{points:o}]}))}]},labelAnnotation:{className:"highcharts-label-annotation",start:function(t){var i=this.chart.pointer.getCoordinates(t),o=(t=e(i.xAxis),i=e(i.yAxis),this.chart.options.navigation);if(t&&i)return this.chart.addAnnotation(a({langKey:"label",type:"basicAnnotation",labelOptions:{format:"{y:.2f}"},labels:[{point:{xAxis:t.axis.options.index,yAxis:i.axis.options.index,x:t.value,y:i.value},overflow:"none",crop:!0}]},o.annotationsOptions,o.bindings.labelAnnotation.annotationsOptions))}}},events:{},annotationsOptions:{animation:{defer:0}}}}}),i(t,"Extensions/Annotations/NavigationBindings.js",[t["Core/Chart/ChartNavigationComposition.js"],t["Core/DefaultOptions.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Extensions/Annotations/NavigationBindingsDefaults.js"],t["Extensions/Annotations/NavigationBindingsUtilities.js"],t["Core/Utilities.js"]],function(t,i,o,s,n,e,r){function a(){this.chart.navigationBindings&&this.chart.navigationBindings.deselectAnnotation()}function h(){this.navigationBindings&&this.navigationBindings.destroy()}function p(){var t=this.options;t&&t.navigation&&t.navigation.bindings&&(this.navigationBindings=new _(this,t.navigation),this.navigationBindings.initEvents(),this.navigationBindings.initUpdate())}function l(){var e,r,t=this.navigationBindings;this&&t&&(e=!1,this.series.forEach(function(t){!t.options.isInternal&&t.visible&&(e=!0)}),this.navigationBindings&&this.navigationBindings.container&&this.navigationBindings.container[0]&&(r=this.navigationBindings.container[0],w(t.boundClassNames,function(t,i){if(i=r.querySelectorAll("."+i))for(var o=0;o option:checked")[0],t=t.querySelectorAll("#highcharts-select-volume > option:checked")[0],e={actionType:i,linkedTo:s&&s.getAttribute("value")||"",fields:{}},o.forEach(function(t){var i=t.getAttribute("highcharts-data-name");t.getAttribute("highcharts-data-series-id")?e.seriesId=t.value:i?e.fields[i]=t.value:e.type=t.value}),n.forEach(function(t){var i=t.id;"highcharts-select-series"!==i&&"highcharts-select-volume"!==i&&(i=i.split("highcharts-select-")[1],e.fields[i]=t.value)}),t&&(e.fields["params.volumeSeriesID"]=t.getAttribute("value")||""),e));var t,i,o,n,s,e})}),o},d.prototype.showPopup=function(){var t=this.container,i=t.querySelectorAll(".highcharts-popup-close")[0];this.formType=void 0,t.innerHTML=o.emptyHTML,0<=t.className.indexOf("highcharts-annotation-toolbar")&&(t.classList.remove("highcharts-annotation-toolbar"),t.removeAttribute("style")),t.appendChild(i),t.style.display="block",t.style.height=""},d.prototype.closePopup=function(){this.container.style.display="none"},d.prototype.showForm=function(t,i,o,n){i&&(this.showPopup(),"indicators"===t&&this.indicators.addForm.call(this,i,o,n),"annotation-toolbar"===t&&this.annotations.addToolbar.call(this,i,o,n),"annotation-edit"===t&&this.annotations.addForm.call(this,i,o,n),"flag"===t&&this.annotations.addForm.call(this,i,o,n,!0),this.formType=t,this.container.style.height=this.container.offsetHeight+"px")},t((r=d).prototype,{annotations:i,indicators:s,tabs:e}),r}),i(t,"Extensions/Annotations/Popup/PopupComposition.js",[t["Extensions/Annotations/Popup/Popup.js"],t["Core/Utilities.js"]],function(i,t){function o(){this.popup&&this.popup.closePopup()}function n(t){this.popup||(this.popup=new i(this.chart.container,this.chart.options.navigation.iconsURL||this.chart.options.stockTools&&this.chart.options.stockTools.gui.iconsURL||"https://code.highcharts.com/10.2.1/gfx/stock-icons/",this.chart)),this.popup.showForm(t.formType,this.chart,t.options,t.onSubmit)}function s(t,i){this.inClass(i.target,"highcharts-popup")||t.apply(this,Array.prototype.slice.call(arguments,1))}var e=t.addEvent,r=t.wrap,a=[];return{compose:function(t,i){-1===a.indexOf(t)&&(a.push(t),e(t,"closePopup",o),e(t,"showPopup",n)),-1===a.indexOf(i)&&(a.push(i),r(i.prototype,"onContainerMouseDown",s))}}}),i(t,"Extensions/Annotations/Annotation.js",[t["Core/Animation/AnimationUtilities.js"],t["Extensions/Annotations/AnnotationChart.js"],t["Extensions/Annotations/AnnotationDefaults.js"],t["Extensions/Annotations/Controllables/Controllable.js"],t["Extensions/Annotations/Controllables/ControllableRect.js"],t["Extensions/Annotations/Controllables/ControllableCircle.js"],t["Extensions/Annotations/Controllables/ControllableEllipse.js"],t["Extensions/Annotations/Controllables/ControllablePath.js"],t["Extensions/Annotations/Controllables/ControllableImage.js"],t["Extensions/Annotations/Controllables/ControllableLabel.js"],t["Extensions/Annotations/ControlPoint.js"],t["Extensions/Annotations/EventEmitter.js"],t["Extensions/Annotations/MockPoint.js"],t["Extensions/Annotations/NavigationBindings.js"],t["Extensions/Annotations/Popup/PopupComposition.js"],t["Core/Utilities.js"]],function(t,n,i,o,s,e,r,a,h,p,l,c,u,d,y,f){function x(i,n){var s={};return["labels","shapes"].forEach(function(t){var o=i[t];o&&(s[t]=n[t]?w(n[t]).map(function(t,i){return E(o[i],t)}):i[t])}),s}var g,v,b=this&&this.__extends||(g=function(t,i){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])})(t,i)},function(t,i){function o(){this.constructor=t}g(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}),A=t.getDeferredAnimation,m=o.prototype,P=f.destroyObjectProperties,O=f.erase,C=f.fireEvent,E=f.merge,M=f.pick,w=f.splat;function k(t,i){var o=v.call(this)||this;return o.annotation=void 0,o.coll="annotations",o.collection=void 0,o.animationConfig=void 0,o.graphic=void 0,o.group=void 0,o.labelCollector=void 0,o.labelsGroup=void 0,o.shapesGroup=void 0,o.chart=t,o.points=[],o.controlPoints=[],o.coll="annotations",o.labels=[],o.shapes=[],o.options=E(o.defaultOptions,i),o.userOptions=i,i=x(o.options,i),o.options.labels=i.labels,o.options.shapes=i.shapes,o.init(t,o.options),o}return b(k,v=c),k.compose=function(t,i,o){n.compose(k,t,i),p.compose(o),a.compose(t,o),d.compose(k,t),y.compose(d,i)},k.prototype.addClipPaths=function(){this.setClipAxes(),this.clipXAxis&&this.clipYAxis&&this.options.crop&&(this.clipRect=this.chart.renderer.clipRect(this.getClipBox()))},k.prototype.addLabels=function(){var o=this,n=this.options.labels||[];n.forEach(function(t,i){t=o.initLabel(t,i),E(!0,n[i],t.options)})},k.prototype.addShapes=function(){var o=this,n=this.options.shapes||[];n.forEach(function(t,i){t=o.initShape(t,i),E(!0,n[i],t.options)})},k.prototype.destroy=function(){function t(t){t.destroy()}var i=this.chart;this.labels.forEach(t),this.shapes.forEach(t),this.clipYAxis=this.clipXAxis=null,O(i.labelCollectors,this.labelCollector),v.prototype.destroy.call(this),m.destroy.call(this),P(this,i)},k.prototype.destroyItem=function(t){O(this[t.itemType+"s"],t),t.destroy()},k.prototype.getClipBox=function(){if(this.clipXAxis&&this.clipYAxis)return{x:this.clipXAxis.left,y:this.clipYAxis.top,width:this.clipXAxis.width,height:this.clipYAxis.height}},k.prototype.init=function(t,i,o){t=this.chart,i=this.options.animation,this.linkPoints(),this.addControlPoints(),this.addShapes(),this.addLabels(),this.setLabelCollector(),this.animationConfig=A(t,i)},k.prototype.initLabel=function(t,i){return t=E(this.options.labelOptions,{controlPointOptions:this.options.controlPointOptions},t),(i=new p(this,t,i)).itemType="label",this.labels.push(i),i},k.prototype.initShape=function(t,i){return t=E(this.options.shapeOptions,{controlPointOptions:this.options.controlPointOptions},t),(i=new k.shapesMap[t.type](this,t,i)).itemType="shape",this.shapes.push(i),i},k.prototype.redraw=function(t){this.linkPoints(),this.graphic||this.render(),this.clipRect&&this.clipRect.animate(this.getClipBox()),this.redrawItems(this.shapes,t),this.redrawItems(this.labels,t),m.redraw.call(this,t)},k.prototype.redrawItem=function(t,i){var o;t.linkPoints(),t.shouldBeDrawn()?(t.graphic||this.renderItem(t),t.redraw(M(i,!0)&&t.graphic.placed),t.points.length&&(o=(i=t).graphic,i=t.points.some(function(t){return!1!==t.series.visible&&!1!==t.visible}),o&&(i?"hidden"===o.visibility&&o.show():o.hide()))):this.destroyItem(t)},k.prototype.redrawItems=function(t,i){for(var o=t.length;o--;)this.redrawItem(t[o],i)},k.prototype.remove=function(){return this.chart.removeAnnotation(this)},k.prototype.render=function(){var t=this.chart.renderer;this.graphic=t.g("annotation").attr({opacity:0,zIndex:this.options.zIndex,visibility:this.options.visible?"inherit":"hidden"}).add(),this.shapesGroup=t.g("annotation-shapes").add(this.graphic),this.options.crop&&this.shapesGroup.clip(this.chart.plotBoxClip),this.labelsGroup=t.g("annotation-labels").attr({translateX:0,translateY:0}).add(this.graphic),this.addClipPaths(),this.clipRect&&this.graphic.clip(this.clipRect),this.renderItems(this.shapes),this.renderItems(this.labels),this.addEvents(),m.render.call(this)},k.prototype.renderItem=function(t){t.render("label"===t.itemType?this.labelsGroup:this.shapesGroup)},k.prototype.renderItems=function(t){for(var i=t.length;i--;)this.renderItem(t[i])},k.prototype.setClipAxes=function(){var o=this.chart.xAxis,n=this.chart.yAxis,t=(this.options.labels||[]).concat(this.options.shapes||[]).reduce(function(t,i){return i=i&&(i.point||i.points&&i.points[0]),[o[i&&i.xAxis]||t[0],n[i&&i.yAxis]||t[1]]},[]);this.clipXAxis=t[0],this.clipYAxis=t[1]},k.prototype.setControlPointsVisibility=function(i){function t(t){t.setControlPointsVisibility(i)}m.setControlPointsVisibility.call(this,i),this.shapes.forEach(t),this.labels.forEach(t)},k.prototype.setLabelCollector=function(){var t=this;t.labelCollector=function(){return t.labels.reduce(function(t,i){return i.options.allowOverlap||t.push(i.graphic),t},[])},t.chart.labelCollectors.push(t.labelCollector)},k.prototype.setOptions=function(t){this.options=E(this.defaultOptions,t)},k.prototype.setVisibility=function(t){var i=this.options,o=this.chart.navigationBindings;t=M(t,!i.visible),this.graphic.attr("visibility",t?"inherit":"hidden"),t||(this.setControlPointsVisibility(!1),o.activeAnnotation===this&&o.popup&&"annotation-toolbar"===o.popup.formType&&C(o,"closePopup")),i.visible=t},k.prototype.update=function(t,i){var o=this.chart,n=x(this.userOptions,t),s=o.annotations.indexOf(this);(t=E(!0,this.userOptions,t)).labels=n.labels,t.shapes=n.shapes,this.destroy(),this.constructor(o,t),o.options.annotations[s]=t,this.isUpdating=!0,M(i,!0)&&o.redraw(),C(this,"afterUpdate"),this.isUpdating=!1},k.ControlPoint=l,k.MockPoint=u,k.shapesMap={rect:s,circle:e,ellipse:r,path:a,image:h},k.types={},E(!0,(t=k).prototype,o.prototype,E(t.prototype,{nonDOMEvents:["add","afterUpdate","drag","remove"],defaultOptions:i})),t}),i(t,"Extensions/Annotations/Types/BasicAnnotation.js",[t["Extensions/Annotations/Annotation.js"],t["Extensions/Annotations/MockPoint.js"],t["Core/Utilities.js"]],function(i,o,t){var n,s,e=this&&this.__extends||(n=function(t,i){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])})(t,i)},function(t,i){function o(){this.constructor=t}n(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}),e=(t=t.merge,e(r,s=i),r.prototype.addControlPoints=function(){var t=this.options,i=r.basicControlPoints,o=this.basicType;(t.labels||t.shapes||[]).forEach(function(t){t.controlPoints=i[o]})},r.prototype.init=function(){var t=this.options;t.shapes?(delete t.labelOptions,this.basicType=(t=t.shapes[0].type)&&"path"!==t?t:"rectangle"):(delete t.shapes,this.basicType="label"),i.prototype.init.apply(this,arguments)},r.basicControlPoints={label:[{symbol:"triangle-down",positioner:function(t){return t.graphic.placed?{x:(t=o.pointToPixels(t.points[0])).x-this.graphic.width/2,y:t.y-this.graphic.height/2}:{x:0,y:-9e7}},events:{drag:function(t,i){t=this.mouseMoveToTranslation(t),i.translatePoint(t.x,t.y),i.annotation.userOptions.labels[0].point=i.options.point,i.redraw(!1)}}},{symbol:"square",positioner:function(t){return t.graphic.placed?{x:t.graphic.alignAttr.x-this.graphic.width/2,y:t.graphic.alignAttr.y-this.graphic.height/2}:{x:0,y:-9e7}},events:{drag:function(t,i){t=this.mouseMoveToTranslation(t),i.translate(t.x,t.y),i.annotation.userOptions.labels[0].point=i.options.point,i.redraw(!1)}}}],rectangle:[{positioner:function(t){return{x:(t=o.pointToPixels(t.points[2])).x-4,y:t.y-4}},events:{drag:function(t,i){var o=i.annotation,n=this.chart.pointer.getCoordinates(t),s=(t=n.xAxis[0].value,n=n.yAxis[0].value,i.options.points),e=o.userOptions.shapes;s[1].x=t,s[2].x=t,s[2].y=n,s[3].y=n,e&&e[0]&&(e[0].points=i.options.points),o.redraw(!1)}}}],circle:[{positioner:function(t){var i=o.pointToPixels(t.points[0]);return t=t.options.r,{x:i.x+t*Math.cos(Math.PI/4)-this.graphic.width/2,y:i.y+t*Math.sin(Math.PI/4)-this.graphic.height/2}},events:{drag:function(t,i){var o=i.annotation;t=this.mouseMoveToTranslation(t),o=o.userOptions.shapes,i.setRadius(Math.max(i.options.r+t.y/Math.sin(Math.PI/4),5)),o&&o[0]&&(o[0].r=i.options.r,o[0].point=i.options.point),i.redraw(!1)}}}],ellipse:[{positioner:function(t){return{x:(t=t.getAbsolutePosition(t.points[0])).x-this.graphic.width/2,y:t.y-this.graphic.height/2}},events:{drag:function(t,i){var o=i.getAbsolutePosition(i.points[0]);i.translatePoint(t.chartX-o.x,t.chartY-o.y,0),i.redraw(!1)}}},{positioner:function(t){return{x:(t=t.getAbsolutePosition(t.points[1])).x-this.graphic.width/2,y:t.y-this.graphic.height/2}},events:{drag:function(t,i){var o=i.getAbsolutePosition(i.points[1]);i.translatePoint(t.chartX-o.x,t.chartY-o.y,1),i.redraw(!1)}}},{positioner:function(t){var i=t.getAbsolutePosition(t.points[0]),o=t.getAbsolutePosition(t.points[1]);return{x:(t=t.getAttrs(i,o)).cx-this.graphic.width/2+t.ry*Math.sin(t.angle*Math.PI/180),y:t.cy-this.graphic.height/2-t.ry*Math.cos(t.angle*Math.PI/180)}},events:{drag:function(t,i){var o=i.getAbsolutePosition(i.points[0]),n=i.getAbsolutePosition(i.points[1]);t=i.getDistanceFromLine(o,n,t.chartX,t.chartY),o=i.getYAxis(),t=Math.abs(o.toValue(0)-o.toValue(t)),i.setYRadius(t),i.redraw(!1)}}}]},r);function r(){return null!==s&&s.apply(this,arguments)||this}return e.prototype.defaultOptions=t(i.prototype.defaultOptions,{}),i.types.basicAnnotation=e}),i(t,"Extensions/Annotations/Types/CrookedLine.js",[t["Extensions/Annotations/Annotation.js"],t["Extensions/Annotations/ControlPoint.js"],t["Extensions/Annotations/MockPoint.js"],t["Core/Utilities.js"]],function(t,o,n,i){var s,e,r=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])})(t,i)},function(t,i){function o(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}),a=i.merge;function h(){return null!==e&&e.apply(this,arguments)||this}return r(h,e=t),h.prototype.setClipAxes=function(){this.clipXAxis=this.chart.xAxis[this.options.typeOptions.xAxis],this.clipYAxis=this.chart.yAxis[this.options.typeOptions.yAxis]},h.prototype.getPointsOptions=function(){var i=this.options.typeOptions;return(i.points||[]).map(function(t){return t.xAxis=i.xAxis,t.yAxis=i.yAxis,t})},h.prototype.getControlPointsOptions=function(){return this.getPointsOptions()},h.prototype.addControlPoints=function(){this.getControlPointsOptions().forEach(function(t,i){i=new o(this.chart,this,a(this.options.controlPointOptions,t.controlPoint),i),this.controlPoints.push(i),t.controlPoint=i.options},this)},h.prototype.addShapes=function(){var t=this.options.typeOptions,i=this.initShape(a(t.line,{type:"path",points:this.points.map(function(t,i){return function(t){return t.annotation.points[i]}})}),0);t.line=i.options},(i=h).prototype.defaultOptions=a(t.prototype.defaultOptions,{typeOptions:{xAxis:0,yAxis:0,line:{fill:"none"}},controlPointOptions:{positioner:function(t){var i=this.graphic;return{x:(t=n.pointToPixels(t.points[this.index])).x-i.width/2,y:t.y-i.height/2}},events:{drag:function(t,i){i.chart.isInsidePlot(t.chartX-i.chart.plotLeft,t.chartY-i.chart.plotTop,{visiblePlotOnly:!0})&&(t=this.mouseMoveToTranslation(t),i.translatePoint(t.x,t.y,this.index),i.options.typeOptions.points[this.index].x=i.points[this.index].x,i.options.typeOptions.points[this.index].y=i.points[this.index].y,i.redraw(!1))}}}}),t.types.crookedLine=i}),i(t,"Extensions/Annotations/Types/ElliottWave.js",[t["Extensions/Annotations/Annotation.js"],t["Extensions/Annotations/Types/CrookedLine.js"],t["Core/Utilities.js"]],function(t,i,o){var n,s,e=this&&this.__extends||(n=function(t,i){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])})(t,i)},function(t,i){function o(){this.constructor=t}n(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}),r=o.merge;function a(){return null!==s&&s.apply(this,arguments)||this}return e(a,s=i),a.prototype.addLabels=function(){var n=this;this.getPointsOptions().forEach(function(t,i){var o=n.initLabel(r(t.label,{text:n.options.typeOptions.labels[i],point:function(t){return t.annotation.points[i]}}),!1);t.label=o.options})},(o=a).prototype.defaultOptions=r(i.prototype.defaultOptions,{typeOptions:{labels:"(0) (A) (B) (C) (D) (E)".split(" "),line:{strokeWidth:1}},labelOptions:{align:"center",allowOverlap:!0,crop:!0,overflow:"none",type:"rect",backgroundColor:"none",borderWidth:0,y:-5}}),t.types.elliottWave=o}),i(t,"Extensions/Annotations/Types/Tunnel.js",[t["Extensions/Annotations/Annotation.js"],t["Extensions/Annotations/ControlPoint.js"],t["Extensions/Annotations/Types/CrookedLine.js"],t["Extensions/Annotations/MockPoint.js"],t["Core/Utilities.js"]],function(t,o,n,s,i){var e,r,a=this&&this.__extends||(e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])})(t,i)},function(t,i){function o(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}),h=i.merge;function p(){return null!==r&&r.apply(this,arguments)||this}return a(p,r=n),p.prototype.getPointsOptions=function(){var t=n.prototype.getPointsOptions.call(this);return t[2]=this.heightPointOptions(t[1]),t[3]=this.heightPointOptions(t[0]),t},p.prototype.getControlPointsOptions=function(){return this.getPointsOptions().slice(0,2)},p.prototype.heightPointOptions=function(t){return(t=h(t)).y+=this.options.typeOptions.height,t},p.prototype.addControlPoints=function(){n.prototype.addControlPoints.call(this);var t=(i=this.options).typeOptions,i=new o(this.chart,this,h(i.controlPointOptions,t.heightControlPoint),2);this.controlPoints.push(i),t.heightControlPoint=i.options},p.prototype.addShapes=function(){this.addLine(),this.addBackground()},p.prototype.addLine=function(){var t=this.initShape(h(this.options.typeOptions.line,{type:"path",points:[this.points[0],this.points[1],function(t){return(t=s.pointToOptions(t.annotation.points[2])).command="M",t},this.points[3]]}),0);this.options.typeOptions.line=t.options},p.prototype.addBackground=function(){var t=this.initShape(h(this.options.typeOptions.background,{type:"path",points:this.points.slice()}),1);this.options.typeOptions.background=t.options},p.prototype.translateSide=function(t,i,o){var n=0===(o=Number(o))?3:2;this.translatePoint(t,i,o),this.translatePoint(t,i,n)},p.prototype.translateHeight=function(t){this.translatePoint(0,t,2),this.translatePoint(0,t,3),this.options.typeOptions.height=this.points[3].y-this.points[0].y,this.userOptions.typeOptions.height=this.options.typeOptions.height},(i=p).prototype.defaultOptions=h(n.prototype.defaultOptions,{typeOptions:{background:{fill:"rgba(130, 170, 255, 0.4)",strokeWidth:0},line:{strokeWidth:1},height:-2,heightControlPoint:{positioner:function(t){var i=s.pointToPixels(t.points[2]),o=(t=s.pointToPixels(t.points[3]),(i.x+t.x)/2);return{x:o-this.graphic.width/2,y:(t.y-i.y)/(t.x-i.x)*(o-i.x)+i.y-this.graphic.height/2}},events:{drag:function(t,i){i.chart.isInsidePlot(t.chartX-i.chart.plotLeft,t.chartY-i.chart.plotTop,{visiblePlotOnly:!0})&&(i.translateHeight(this.mouseMoveToTranslation(t).y),i.redraw(!1))}}}},controlPointOptions:{events:{drag:function(t,i){i.chart.isInsidePlot(t.chartX-i.chart.plotLeft,t.chartY-i.chart.plotTop,{visiblePlotOnly:!0})&&(t=this.mouseMoveToTranslation(t),i.translateSide(t.x,t.y,!!this.index),i.redraw(!1))}}}}),t.types.tunnel=i}),i(t,"Extensions/Annotations/Types/InfinityLine.js",[t["Extensions/Annotations/Annotation.js"],t["Extensions/Annotations/Types/CrookedLine.js"],t["Extensions/Annotations/MockPoint.js"],t["Core/Utilities.js"]],function(t,i,c,o){var n,s,e=this&&this.__extends||(n=function(t,i){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])})(t,i)},function(t,i){function o(){this.constructor=t}n(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}),r=o.merge;function u(){return null!==s&&s.apply(this,arguments)||this}return e(u,s=i),u.edgePoint=function(n,s){return function(t){var i=(t=t.annotation).options.typeOptions.type,o=t.points;return"horizontalLine"!==i&&"verticalLine"!==i||(o=[o[0],new c(t.chart,o[0].target,{x:o[0].x+ +("horizontalLine"===i),y:o[0].y+ +("verticalLine"===i),xAxis:o[0].options.xAxis,yAxis:o[0].options.yAxis})]),u.findEdgePoint(o[n],o[s])}},u.findEdgeCoordinate=function(t,i,o,n){var s="x"===o?"y":"x";return(i[o]-t[o])*(n-t[s])/(i[s]-t[s])+t[o]},u.findEdgePoint=function(t,i){var o=t.series.chart,n=t.series.xAxis,s=i.series.yAxis,e=c.pointToPixels(t),r=(i=c.pointToPixels(i)).x-e.x,a=i.y-e.y,h=(l=n.left)+n.width,s=(n=s.top)+s.height,h=r<0?l:h,p=a<0?n:s,l={x:0==r?e.x:h,y:0==a?e.y:p};return 0!=r&&0!=a&&(r=u.findEdgeCoordinate(e,i,"y",h),e=u.findEdgeCoordinate(e,i,"x",p),n<=r&&r<=s?(l.x=h,l.y=r):(l.x=e,l.y=p)),l.x-=o.plotLeft,l.y-=o.plotTop,t.series.chart.inverted&&(t=l.x,l.x=l.y,l.y=t),l},u.prototype.addShapes=function(){var t=this.options.typeOptions,i=[this.points[0],u.endEdgePoint];t.type.match(/line/gi)&&(i[0]=u.startEdgePoint),i=this.initShape(r(t.line,{type:"path",points:i}),0),t.line=i.options},u.endEdgePoint=u.edgePoint(0,1),u.startEdgePoint=u.edgePoint(1,0),(o=u).prototype.defaultOptions=r(i.prototype.defaultOptions,{}),t.types.infinityLine=o}),i(t,"Extensions/Annotations/Types/TimeCycles.js",[t["Extensions/Annotations/Annotation.js"],t["Extensions/Annotations/Types/CrookedLine.js"],t["Extensions/Annotations/ControlPoint.js"],t["Core/Utilities.js"]],function(t,i,n,o){var s,e,r=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])})(t,i)},function(t,i){function o(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}),a=o.merge,h=o.isNumber,p=o.defined;function l(){return null!==e&&e.apply(this,arguments)||this}return r(l,e=i),l.prototype.init=function(t,i,o){p(i.yAxis)&&i.points.forEach(function(t){t.yAxis=i.yAxis}),p(i.xAxis)&&i.points.forEach(function(t){t.xAxis=i.xAxis}),e.prototype.init.call(this,t,i,o)},l.prototype.setPath=function(){this.shapes[0].options.d=this.getPath()},l.prototype.getPath=function(){return[["M",this.startX,this.y]].concat(function(t,i,o,n){for(var s=[],e=1;e<=i;e++)s.push(["A",t/2,t/2,0,1,1,o+e*t,n]);return s}(this.pixelInterval,this.numberOfCircles,this.startX,this.y))},l.prototype.addShapes=function(){var t=this.options.typeOptions,i=(this.setPathProperties(),this.initShape(a(t.line,{type:"path",d:this.getPath(),points:this.options.points}),0));t.line=i.options},l.prototype.addControlPoints=function(){var i=this,o=this.options,t=o.typeOptions;o.controlPointOptions.style.cursor=this.chart.inverted?"ns-resize":"ew-resize",t.controlPointOptions.forEach(function(t){t=a(o.controlPointOptions,t),t=new n(i.chart,i,t,0),i.controlPoints.push(t)})},l.prototype.setPathProperties=function(){var t,i,o,n,s=this.options.typeOptions,e=s.points;e&&(n=e[0],t=this.chart.xAxis[s.xAxis||0],i=this.chart.yAxis[s.yAxis||0],s=n.x,o=n.y,n=e[1].x,s&&n&&(e=h(o)?i.toPixels(o):i.top+i.height,s=h(s)?t.toPixels(s):t.left,i=h(n)?t.toPixels(n):t.left+30,i=Math.round(Math.max(Math.abs(i-s),2)),n=Math.floor(t.len/i)+2,this.startX=s-(Math.floor((s-t.left)/i)+1)*i,this.y=e,this.pixelInterval=i,this.numberOfCircles=n))},l.prototype.redraw=function(t){this.setPathProperties(),this.setPath(),e.prototype.redraw.call(this,t)},(o=l).prototype.defaultOptions=a(i.prototype.defaultOptions,{typeOptions:{controlPointOptions:[{positioner:function(t){return{x:t.anchor(t.points[0]).absolutePosition.x-this.graphic.width/2,y:t.y-this.graphic.height}},events:{drag:function(t,i){var o=i.anchor(i.points[0]).absolutePosition;i.translatePoint(t.chartX-o.x,0,0),i.redraw(!1)}}},{positioner:function(t){return{x:t.anchor(t.points[1]).absolutePosition.x-this.graphic.width/2,y:t.y-this.graphic.height}},events:{drag:function(t,i){var o=i.anchor(i.points[1]).absolutePosition;i.translatePoint(t.chartX-o.x,0,1),i.redraw(!1)}}}]}}),t.types.timeCycles=o}),i(t,"Extensions/Annotations/Types/Fibonacci.js",[t["Extensions/Annotations/Annotation.js"],t["Extensions/Annotations/MockPoint.js"],t["Extensions/Annotations/Types/Tunnel.js"],t["Core/Utilities.js"]],function(t,r,i,o){function s(n,s){return function(){var t=this.annotation;if(!t.startRetracements||!t.endRetracements)return[];var i=this.anchor(t.startRetracements[n]).absolutePosition,o=this.anchor(t.endRetracements[n]).absolutePosition,i=[["M",Math.round(i.x),Math.round(i.y)],["L",Math.round(o.x),Math.round(o.y)]];return s&&(o=this.anchor(t.endRetracements[n-1]).absolutePosition,t=this.anchor(t.startRetracements[n-1]).absolutePosition,i.push(["L",Math.round(o.x),Math.round(o.y)],["L",Math.round(t.x),Math.round(t.y)])),i}}var n,e,a=this&&this.__extends||(n=function(t,i){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])})(t,i)},function(t,i){function o(){this.constructor=t}n(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}),h=o.merge;function p(){return null!==e&&e.apply(this,arguments)||this}return a(p,e=i),p.prototype.linkPoints=function(){e.prototype.linkPoints.call(this),this.linkRetracementsPoints()},p.prototype.linkRetracementsPoints=function(){var n=this,s=this.points,e=s[0].y-s[3].y,r=s[1].y-s[2].y,a=s[0].x,h=s[1].x;p.levels.forEach(function(t,i){var o=s[0].y-e*t;t=s[1].y-r*t,n.startRetracements=n.startRetracements||[],n.endRetracements=n.endRetracements||[],n.linkRetracementPoint(i,a,o,n.startRetracements),n.linkRetracementPoint(i,h,t,n.endRetracements)})},p.prototype.linkRetracementPoint=function(t,i,o,n){var s=n[t],e=this.options.typeOptions;s?(s.options.x=i,s.options.y=o,s.refresh()):n[t]=new r(this.chart,this,{x:i,y:o,xAxis:e.xAxis,yAxis:e.yAxis})},p.prototype.addShapes=function(){p.levels.forEach(function(t,i){t=(n=this.options.typeOptions).backgroundColors;var o=n.lineColor,n=n.lineColors;this.initShape({type:"path",d:s(i),stroke:n[i]||o},i),0Max: "+this.max+"
Average: "+this.average+"
Bins: "+this.bins}function l(t,i,o,n){return{xAxisMin:Math.min(i,t),xAxisMax:Math.max(i,t),yAxisMin:Math.min(n,o),yAxisMax:Math.max(n,o)}}function y(t,i,o){return t.toValue(t.toPixels(i)+o)}function e(t){var i=this.options.typeOptions,o=this.chart.xAxis[i.xAxis],i=this.chart.yAxis[i.yAxis],n=this.offsetX,s=this.offsetY;this.xAxisMin=y(o,this.startXMin,n),this.xAxisMax=y(o,this.startXMax,n),this.yAxisMin=y(i,this.startYMin,s),this.yAxisMax=y(i,this.startYMax,s),this.min=function(){var t=this.chart.series,i=l(this.xAxisMin,this.xAxisMax,this.yAxisMin,this.yAxisMax),o=1/0,n=!1;return t.forEach(function(t){t.visible&&"highcharts-navigator-series"!==t.options.id&&t.points.forEach(function(t){!t.isNull&&t.yi.xAxisMin&&t.x<=i.xAxisMax&&t.y>i.yAxisMin&&t.y<=i.yAxisMax&&(o=t.y,n=!0)})}),o=n?o:""}.call(this),this.max=function(){var t=this.chart.series,i=l(this.xAxisMin,this.xAxisMax,this.yAxisMin,this.yAxisMax),o=-1/0,n=!1;return t.forEach(function(t){t.visible&&"highcharts-navigator-series"!==t.options.id&&t.points.forEach(function(t){!t.isNull&&t.y>o&&t.x>i.xAxisMin&&t.x<=i.xAxisMax&&t.y>i.yAxisMin&&t.y<=i.yAxisMax&&(o=t.y,n=!0)})}),o=n?o:""}.call(this),(o="")!==this.max&&""!==this.min&&(o=(this.max+this.min)/2),this.average=o,this.bins=function(){var t=this.chart.series,i=l(this.xAxisMin,this.xAxisMax,this.yAxisMin,this.yAxisMax),o=0,n=!1;return t.forEach(function(t){t.visible&&"highcharts-navigator-series"!==t.options.id&&t.points.forEach(function(t){!t.isNull&&t.x>i.xAxisMin&&t.x<=i.xAxisMax&&t.y>i.yAxisMin&&t.y<=i.yAxisMax&&(o++,n=!0)})}),o=n?o:""}.call(this),t&&this.resize(0,0)}function r(t,i,o,n,s){var e=(a=this.options.typeOptions).selectType,r=this.chart.xAxis[a.xAxis],a=this.chart.yAxis[a.yAxis],h=this.startXMin,p=this.startXMax,l=this.startYMin,c=this.startYMax,u=this.offsetX,d=this.offsetY;i&&("x"===e?0===o?this.startXMin=y(r,h,n):this.startXMax=y(r,p,n):"y"===e?0===o?this.startYMin=y(a,l,s):this.startYMax=y(a,c,s):(this.startXMax=y(r,p,n),this.startYMax=y(a,c,s))),t&&(this.startXMin=y(r,h,u),this.startXMax=y(r,p,u),this.startYMin=y(a,l,d),this.startYMax=y(a,c,d),this.offsetY=this.offsetX=0)}var a,i,o=this&&this.__extends||(a=function(t,i){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])})(t,i)},function(t,i){function o(){this.constructor=t}a(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}),p=t.defined,c=t.extend,u=t.isNumber,d=t.merge,f=t.pick;function x(){return null!==i&&i.apply(this,arguments)||this}return o(x,i=h),x.prototype.init=function(t,i,o){h.prototype.init.call(this,t,i,o),this.resizeY=this.resizeX=this.offsetY=this.offsetX=0,t=this.options.typeOptions;var n=this.chart,s=(o=n.inverted,i=n.xAxis[t.xAxis],n=n.yAxis[t.yAxis],t.background),e=o?s.height:s.width,s=o?s.width:s.height,r=t.selectType,a=o?i.left:n.top;o=o?n.top:i.left,this.startXMin=t.point.x,this.startYMin=t.point.y,u(e)?this.startXMax=this.startXMin+e:this.startXMax=y(i,this.startXMin,parseFloat(e)),u(s)?this.startYMax=this.startYMin-s:this.startYMax=y(n,this.startYMin,parseFloat(s)),"x"===r?(this.startYMin=n.toValue(a),this.startYMax=n.toValue(a+n.len)):"y"===r&&(this.startXMin=i.toValue(o),this.startXMax=i.toValue(o+i.len)),this.addValues(),this.addShapes()},x.prototype.setClipAxes=function(){this.clipXAxis=this.chart.xAxis[this.options.typeOptions.xAxis],this.clipYAxis=this.chart.yAxis[this.options.typeOptions.yAxis]},x.prototype.pointsOptions=function(){return this.options.points},x.prototype.shapePointsOptions=function(){var t=(i=this.options.typeOptions).xAxis,i=i.yAxis;return[{x:this.xAxisMin,y:this.yAxisMin,xAxis:t,yAxis:i},{x:this.xAxisMax,y:this.yAxisMin,xAxis:t,yAxis:i},{x:this.xAxisMax,y:this.yAxisMax,xAxis:t,yAxis:i},{x:this.xAxisMin,y:this.yAxisMax,xAxis:t,yAxis:i}]},x.prototype.addControlPoints=function(){var t=this.chart.inverted,i=this.options.controlPointOptions,o=this.options.typeOptions.selectType;p(this.userOptions.controlPointOptions&&this.userOptions.controlPointOptions.style.cursor)||("x"===o?i.style.cursor=t?"ns-resize":"ew-resize":"y"===o&&(i.style.cursor=t?"ew-resize":"ns-resize")),t=new n(this.chart,this,this.options.controlPointOptions,0),this.controlPoints.push(t),"xy"!==o&&(t=new n(this.chart,this,this.options.controlPointOptions,1),this.controlPoints.push(t))},x.prototype.addValues=function(t){var o=this.options.typeOptions,i=o.label.formatter;e.call(this,t),o.label.enabled&&(0h?t[t.length-1]+=p+r:t.push(r),n=!0)}),!n){for(t=a.dataRows[0].length,s=Array(t),e=0;et.plotWidth&&("left"===s?i.align="right":i.x=(i.x||0)+t.plotWidth-h),(h=n+r)<0&&("bottom"===e?i.verticalAlign="top":i.y=(i.y||0)-h),(h=n+a.height-r)>t.plotHeight&&("top"===e?i.verticalAlign="bottom":i.y=(i.y||0)+t.plotHeight-h),i},y.prototype.translatePoint=function(t,i){e.prototype.translatePoint.call(this,t,i,0)},y.prototype.translate=function(t,i){var o=this.annotation.chart,n=this.annotation.userOptions,s=o.annotations.indexOf(this.annotation),s=o.options.annotations[s];o.inverted&&(o=t,t=i,i=o),this.options.x+=t,this.options.y+=i,s[this.collection][this.index].x=this.options.x,s[this.collection][this.index].y=this.options.y,n[this.collection][this.index].x=this.options.x,n[this.collection][this.index].y=this.options.y},y.prototype.render=function(t){var i=this.options,o=this.attrsFromOptions(i),n=i.style;this.graphic=this.annotation.chart.renderer.label("",0,-9999,i.shape,null,null,i.useHTML,null,"annotation-label").attr(o).add(t),this.annotation.chart.styledMode||("contrast"===n.color&&(n.color=this.annotation.chart.renderer.getContrast(-1=i-n&&t.value<=o+n&&!t.axis.options.isInternal})[0]},getFieldType:function(t,i){return i=typeof i,{string:"text",number:"number",boolean:"checkbox"}[i=o(t=n[t])?t:i]}}}),i(t,"Extensions/Annotations/NavigationBindingsDefaults.js",[t["Extensions/Annotations/NavigationBindingsUtilities.js"],t["Core/Utilities.js"]],function(t,i){var e=t.getAssignedAxis,r=i.isNumber,a=i.merge;return{lang:{navigation:{popup:{simpleShapes:"Simple shapes",lines:"Lines",circle:"Circle",ellipse:"Ellipse",rectangle:"Rectangle",label:"Label",shapeOptions:"Shape options",typeOptions:"Details",fill:"Fill",format:"Text",strokeWidth:"Line width",stroke:"Line color",title:"Title",name:"Name",labelOptions:"Label options",labels:"Labels",backgroundColor:"Background color",backgroundColors:"Background colors",borderColor:"Border color",borderRadius:"Border radius",borderWidth:"Border width",style:"Style",padding:"Padding",fontSize:"Font size",color:"Color",height:"Height",shapes:"Shape options"}}},navigation:{bindingsClassName:"highcharts-bindings-container",bindings:{circleAnnotation:{className:"highcharts-circle-annotation",start:function(t){var i=this.chart.pointer.getCoordinates(t),o=(t=e(i.xAxis),i=e(i.yAxis),this.chart.options.navigation);if(t&&i)return this.chart.addAnnotation(a({langKey:"circle",type:"basicAnnotation",shapes:[{type:"circle",point:{x:t.value,y:i.value,xAxis:t.axis.options.index,yAxis:i.axis.options.index},r:5}]},o.annotationsOptions,o.bindings.circleAnnotation.annotationsOptions))},steps:[function(t,i){var o,n,s=i.options.shapes;s=s&&s[0]&&s[0].point||{},r(s.xAxis)&&r(s.yAxis)&&(n=this.chart.inverted,o=this.chart.xAxis[s.xAxis].toPixels(s.x),s=this.chart.yAxis[s.yAxis].toPixels(s.y),n=Math.max(Math.sqrt(Math.pow(n?s-t.chartX:o-t.chartX,2)+Math.pow(n?o-t.chartY:s-t.chartY,2)),5)),i.update({shapes:[{r:n}]})}]},ellipseAnnotation:{className:"highcharts-ellipse-annotation",start:function(t){var i=this.chart.pointer.getCoordinates(t),o=(t=e(i.xAxis),i=e(i.yAxis),this.chart.options.navigation);if(t&&i)return this.chart.addAnnotation(a({langKey:"ellipse",type:"basicAnnotation",shapes:[{type:"ellipse",xAxis:t.axis.options.index,yAxis:i.axis.options.index,points:[{x:t.value,y:i.value},{x:t.value,y:i.value}],ry:1}]},o.annotationsOptions,o.bindings.ellipseAnnotation.annotationOptions))},steps:[function(t,i){var o=(i=i.shapes[0]).getAbsolutePosition(i.points[1]);i.translatePoint(t.chartX-o.x,t.chartY-o.y,1),i.redraw(!1)},function(t,i){var o=(i=i.shapes[0]).getAbsolutePosition(i.points[0]),n=i.getAbsolutePosition(i.points[1]);t=i.getDistanceFromLine(o,n,t.chartX,t.chartY),o=i.getYAxis(),t=Math.abs(o.toValue(0)-o.toValue(t)),i.setYRadius(t),i.redraw(!1)}]},rectangleAnnotation:{className:"highcharts-rectangle-annotation",start:function(t){t=this.chart.pointer.getCoordinates(t);var i,o,n=e(t.xAxis),s=e(t.yAxis);if(n&&s)return t=n.value,i=s.value,n=n.axis.options.index,s=s.axis.options.index,o=this.chart.options.navigation,this.chart.addAnnotation(a({langKey:"rectangle",type:"basicAnnotation",shapes:[{type:"path",points:[{xAxis:n,yAxis:s,x:t,y:i},{xAxis:n,yAxis:s,x:t,y:i},{xAxis:n,yAxis:s,x:t,y:i},{xAxis:n,yAxis:s,x:t,y:i},{command:"Z"}]}]},o.annotationsOptions,o.bindings.rectangleAnnotation.annotationsOptions))},steps:[function(t,i){var o=(o=i.options.shapes)&&o[0]&&o[0].points||[],n=this.chart.pointer.getCoordinates(t);t=e(n.xAxis),n=e(n.yAxis),t&&n&&(t=t.value,n=n.value,o[1].x=t,o[2].x=t,o[2].y=n,o[3].y=n,i.update({shapes:[{points:o}]}))}]},labelAnnotation:{className:"highcharts-label-annotation",start:function(t){var i=this.chart.pointer.getCoordinates(t),o=(t=e(i.xAxis),i=e(i.yAxis),this.chart.options.navigation);if(t&&i)return this.chart.addAnnotation(a({langKey:"label",type:"basicAnnotation",labelOptions:{format:"{y:.2f}"},labels:[{point:{xAxis:t.axis.options.index,yAxis:i.axis.options.index,x:t.value,y:i.value},overflow:"none",crop:!0}]},o.annotationsOptions,o.bindings.labelAnnotation.annotationsOptions))}}},events:{},annotationsOptions:{animation:{defer:0}}}}}),i(t,"Extensions/Annotations/NavigationBindings.js",[t["Core/Chart/ChartNavigationComposition.js"],t["Core/Defaults.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Extensions/Annotations/NavigationBindingsDefaults.js"],t["Extensions/Annotations/NavigationBindingsUtilities.js"],t["Core/Utilities.js"]],function(t,i,o,s,n,e,r){function a(){this.chart.navigationBindings&&this.chart.navigationBindings.deselectAnnotation()}function h(){this.navigationBindings&&this.navigationBindings.destroy()}function p(){var t=this.options;t&&t.navigation&&t.navigation.bindings&&(this.navigationBindings=new _(this,t.navigation),this.navigationBindings.initEvents(),this.navigationBindings.initUpdate())}function l(){var e,r,t=this.navigationBindings;this&&t&&(e=!1,this.series.forEach(function(t){!t.options.isInternal&&t.visible&&(e=!0)}),this.navigationBindings&&this.navigationBindings.container&&this.navigationBindings.container[0]&&(r=this.navigationBindings.container[0],w(t.boundClassNames,function(t,i){if(i=r.querySelectorAll("."+i))for(var o=0;o option:checked")[0],t=t.querySelectorAll("#highcharts-select-volume > option:checked")[0],e={actionType:i,linkedTo:s&&s.getAttribute("value")||"",fields:{}},o.forEach(function(t){var i=t.getAttribute("highcharts-data-name");t.getAttribute("highcharts-data-series-id")?e.seriesId=t.value:i?e.fields[i]=t.value:e.type=t.value}),n.forEach(function(t){var i=t.id;"highcharts-select-series"!==i&&"highcharts-select-volume"!==i&&(i=i.split("highcharts-select-")[1],e.fields[i]=t.value)}),t&&(e.fields["params.volumeSeriesID"]=t.getAttribute("value")||""),e));var t,i,o,n,s,e})}),o},d.prototype.showPopup=function(){var t=this.container,i=t.querySelectorAll(".highcharts-popup-close")[0];this.formType=void 0,t.innerHTML=o.emptyHTML,0<=t.className.indexOf("highcharts-annotation-toolbar")&&(t.classList.remove("highcharts-annotation-toolbar"),t.removeAttribute("style")),t.appendChild(i),t.style.display="block",t.style.height=""},d.prototype.closePopup=function(){this.container.style.display="none"},d.prototype.showForm=function(t,i,o,n){i&&(this.showPopup(),"indicators"===t&&this.indicators.addForm.call(this,i,o,n),"annotation-toolbar"===t&&this.annotations.addToolbar.call(this,i,o,n),"annotation-edit"===t&&this.annotations.addForm.call(this,i,o,n),"flag"===t&&this.annotations.addForm.call(this,i,o,n,!0),this.formType=t,this.container.style.height=this.container.offsetHeight+"px")},t((r=d).prototype,{annotations:i,indicators:s,tabs:e}),r}),i(t,"Extensions/Annotations/Popup/PopupComposition.js",[t["Extensions/Annotations/Popup/Popup.js"],t["Core/Utilities.js"]],function(i,t){function o(){this.popup&&this.popup.closePopup()}function n(t){this.popup||(this.popup=new i(this.chart.container,this.chart.options.navigation.iconsURL||this.chart.options.stockTools&&this.chart.options.stockTools.gui.iconsURL||"https://code.highcharts.com/10.3.3/gfx/stock-icons/",this.chart)),this.popup.showForm(t.formType,this.chart,t.options,t.onSubmit)}function s(t,i){this.inClass(i.target,"highcharts-popup")||t.apply(this,Array.prototype.slice.call(arguments,1))}var e=t.addEvent,r=t.wrap,a=[];return{compose:function(t,i){-1===a.indexOf(t)&&(a.push(t),e(t,"closePopup",o),e(t,"showPopup",n)),-1===a.indexOf(i)&&(a.push(i),r(i.prototype,"onContainerMouseDown",s))}}}),i(t,"Extensions/Annotations/Annotation.js",[t["Core/Animation/AnimationUtilities.js"],t["Extensions/Annotations/AnnotationChart.js"],t["Extensions/Annotations/AnnotationDefaults.js"],t["Extensions/Annotations/Controllables/Controllable.js"],t["Extensions/Annotations/Controllables/ControllableRect.js"],t["Extensions/Annotations/Controllables/ControllableCircle.js"],t["Extensions/Annotations/Controllables/ControllableEllipse.js"],t["Extensions/Annotations/Controllables/ControllablePath.js"],t["Extensions/Annotations/Controllables/ControllableImage.js"],t["Extensions/Annotations/Controllables/ControllableLabel.js"],t["Extensions/Annotations/ControlPoint.js"],t["Extensions/Annotations/EventEmitter.js"],t["Extensions/Annotations/MockPoint.js"],t["Extensions/Annotations/NavigationBindings.js"],t["Extensions/Annotations/Popup/PopupComposition.js"],t["Core/Utilities.js"]],function(t,n,i,o,s,e,r,a,h,p,l,c,u,d,y,f){function x(i,n){var s={};return["labels","shapes"].forEach(function(t){var o=i[t];o&&(s[t]=n[t]?w(n[t]).map(function(t,i){return E(o[i],t)}):i[t])}),s}var g,v,b=this&&this.__extends||(g=function(t,i){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])})(t,i)},function(t,i){function o(){this.constructor=t}g(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}),m=t.getDeferredAnimation,A=o.prototype,P=f.destroyObjectProperties,O=f.erase,C=f.fireEvent,E=f.merge,M=f.pick,w=f.splat;function k(t,i){var o=v.call(this)||this;return o.annotation=void 0,o.coll="annotations",o.collection=void 0,o.animationConfig=void 0,o.graphic=void 0,o.group=void 0,o.labelCollector=void 0,o.labelsGroup=void 0,o.shapesGroup=void 0,o.chart=t,o.points=[],o.controlPoints=[],o.coll="annotations",o.labels=[],o.shapes=[],o.options=E(o.defaultOptions,i),o.userOptions=i,i=x(o.options,i),o.options.labels=i.labels,o.options.shapes=i.shapes,o.init(t,o.options),o}return b(k,v=c),k.compose=function(t,i,o){n.compose(k,t,i),p.compose(o),a.compose(t,o),d.compose(k,t),y.compose(d,i)},k.prototype.addClipPaths=function(){this.setClipAxes(),this.clipXAxis&&this.clipYAxis&&this.options.crop&&(this.clipRect=this.chart.renderer.clipRect(this.getClipBox()))},k.prototype.addLabels=function(){var o=this,n=this.options.labels||[];n.forEach(function(t,i){t=o.initLabel(t,i),E(!0,n[i],t.options)})},k.prototype.addShapes=function(){var o=this,n=this.options.shapes||[];n.forEach(function(t,i){t=o.initShape(t,i),E(!0,n[i],t.options)})},k.prototype.destroy=function(){function t(t){t.destroy()}var i=this.chart;this.labels.forEach(t),this.shapes.forEach(t),this.clipYAxis=this.clipXAxis=null,O(i.labelCollectors,this.labelCollector),v.prototype.destroy.call(this),A.destroy.call(this),P(this,i)},k.prototype.destroyItem=function(t){O(this[t.itemType+"s"],t),t.destroy()},k.prototype.getClipBox=function(){if(this.clipXAxis&&this.clipYAxis)return{x:this.clipXAxis.left,y:this.clipYAxis.top,width:this.clipXAxis.width,height:this.clipYAxis.height}},k.prototype.init=function(t,i,o){t=this.chart,i=this.options.animation,this.linkPoints(),this.addControlPoints(),this.addShapes(),this.addLabels(),this.setLabelCollector(),this.animationConfig=m(t,i)},k.prototype.initLabel=function(t,i){return t=E(this.options.labelOptions,{controlPointOptions:this.options.controlPointOptions},t),(i=new p(this,t,i)).itemType="label",this.labels.push(i),i},k.prototype.initShape=function(t,i){return t=E(this.options.shapeOptions,{controlPointOptions:this.options.controlPointOptions},t),(i=new k.shapesMap[t.type](this,t,i)).itemType="shape",this.shapes.push(i),i},k.prototype.redraw=function(t){this.linkPoints(),this.graphic||this.render(),this.clipRect&&this.clipRect.animate(this.getClipBox()),this.redrawItems(this.shapes,t),this.redrawItems(this.labels,t),A.redraw.call(this,t)},k.prototype.redrawItem=function(t,i){var o;t.linkPoints(),t.shouldBeDrawn()?(t.graphic||this.renderItem(t),t.redraw(M(i,!0)&&t.graphic.placed),t.points.length&&(o=(i=t).graphic,i=t.points.some(function(t){return!1!==t.series.visible&&!1!==t.visible}),o&&(i?"hidden"===o.visibility&&o.show():o.hide()))):this.destroyItem(t)},k.prototype.redrawItems=function(t,i){for(var o=t.length;o--;)this.redrawItem(t[o],i)},k.prototype.remove=function(){return this.chart.removeAnnotation(this)},k.prototype.render=function(){var t=this.chart.renderer;this.graphic=t.g("annotation").attr({opacity:0,zIndex:this.options.zIndex,visibility:this.options.visible?"inherit":"hidden"}).add(),this.shapesGroup=t.g("annotation-shapes").add(this.graphic),this.options.crop&&this.shapesGroup.clip(this.chart.plotBoxClip),this.labelsGroup=t.g("annotation-labels").attr({translateX:0,translateY:0}).add(this.graphic),this.addClipPaths(),this.clipRect&&this.graphic.clip(this.clipRect),this.renderItems(this.shapes),this.renderItems(this.labels),this.addEvents(),A.render.call(this)},k.prototype.renderItem=function(t){t.render("label"===t.itemType?this.labelsGroup:this.shapesGroup)},k.prototype.renderItems=function(t){for(var i=t.length;i--;)this.renderItem(t[i])},k.prototype.setClipAxes=function(){var o=this.chart.xAxis,n=this.chart.yAxis,t=(this.options.labels||[]).concat(this.options.shapes||[]).reduce(function(t,i){return i=i&&(i.point||i.points&&i.points[0]),[o[i&&i.xAxis]||t[0],n[i&&i.yAxis]||t[1]]},[]);this.clipXAxis=t[0],this.clipYAxis=t[1]},k.prototype.setControlPointsVisibility=function(i){function t(t){t.setControlPointsVisibility(i)}A.setControlPointsVisibility.call(this,i),this.shapes.forEach(t),this.labels.forEach(t)},k.prototype.setLabelCollector=function(){var t=this;t.labelCollector=function(){return t.labels.reduce(function(t,i){return i.options.allowOverlap||t.push(i.graphic),t},[])},t.chart.labelCollectors.push(t.labelCollector)},k.prototype.setOptions=function(t){this.options=E(this.defaultOptions,t)},k.prototype.setVisibility=function(t){var i=this.options,o=this.chart.navigationBindings;t=M(t,!i.visible),this.graphic.attr("visibility",t?"inherit":"hidden"),t||(this.setControlPointsVisibility(!1),o.activeAnnotation===this&&o.popup&&"annotation-toolbar"===o.popup.formType&&C(o,"closePopup")),i.visible=t},k.prototype.update=function(t,i){var o=this.chart,n=x(this.userOptions,t),s=o.annotations.indexOf(this);(t=E(!0,this.userOptions,t)).labels=n.labels,t.shapes=n.shapes,this.destroy(),this.constructor(o,t),o.options.annotations[s]=t,this.isUpdating=!0,M(i,!0)&&o.redraw(),C(this,"afterUpdate"),this.isUpdating=!1},k.ControlPoint=l,k.MockPoint=u,k.shapesMap={rect:s,circle:e,ellipse:r,path:a,image:h},k.types={},E(!0,(t=k).prototype,o.prototype,E(t.prototype,{nonDOMEvents:["add","afterUpdate","drag","remove"],defaultOptions:i})),t}),i(t,"Extensions/Annotations/Types/BasicAnnotation.js",[t["Extensions/Annotations/Annotation.js"],t["Extensions/Annotations/MockPoint.js"],t["Core/Utilities.js"]],function(i,o,t){var n,s,e=this&&this.__extends||(n=function(t,i){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])})(t,i)},function(t,i){function o(){this.constructor=t}n(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}),e=(t=t.merge,e(r,s=i),r.prototype.addControlPoints=function(){var t=this.options,i=r.basicControlPoints,o=this.basicType;(t.labels||t.shapes||[]).forEach(function(t){t.controlPoints=i[o]})},r.prototype.init=function(){var t=this.options;t.shapes?(delete t.labelOptions,this.basicType=(t=t.shapes[0].type)&&"path"!==t?t:"rectangle"):(delete t.shapes,this.basicType="label"),i.prototype.init.apply(this,arguments)},r.basicControlPoints={label:[{symbol:"triangle-down",positioner:function(t){return t.graphic.placed?{x:(t=o.pointToPixels(t.points[0])).x-this.graphic.width/2,y:t.y-this.graphic.height/2}:{x:0,y:-9e7}},events:{drag:function(t,i){t=this.mouseMoveToTranslation(t),i.translatePoint(t.x,t.y),i.annotation.userOptions.labels[0].point=i.options.point,i.redraw(!1)}}},{symbol:"square",positioner:function(t){return t.graphic.placed?{x:t.graphic.alignAttr.x-this.graphic.width/2,y:t.graphic.alignAttr.y-this.graphic.height/2}:{x:0,y:-9e7}},events:{drag:function(t,i){t=this.mouseMoveToTranslation(t),i.translate(t.x,t.y),i.annotation.userOptions.labels[0].point=i.options.point,i.redraw(!1)}}}],rectangle:[{positioner:function(t){return{x:(t=o.pointToPixels(t.points[2])).x-4,y:t.y-4}},events:{drag:function(t,i){var o=i.annotation,n=this.chart.pointer.getCoordinates(t),s=(t=n.xAxis[0].value,n=n.yAxis[0].value,i.options.points),e=o.userOptions.shapes;s[1].x=t,s[2].x=t,s[2].y=n,s[3].y=n,e&&e[0]&&(e[0].points=i.options.points),o.redraw(!1)}}}],circle:[{positioner:function(t){var i=o.pointToPixels(t.points[0]);return t=t.options.r,{x:i.x+t*Math.cos(Math.PI/4)-this.graphic.width/2,y:i.y+t*Math.sin(Math.PI/4)-this.graphic.height/2}},events:{drag:function(t,i){var o=i.annotation;t=this.mouseMoveToTranslation(t),o=o.userOptions.shapes,i.setRadius(Math.max(i.options.r+t.y/Math.sin(Math.PI/4),5)),o&&o[0]&&(o[0].r=i.options.r,o[0].point=i.options.point),i.redraw(!1)}}}],ellipse:[{positioner:function(t){return{x:(t=t.getAbsolutePosition(t.points[0])).x-this.graphic.width/2,y:t.y-this.graphic.height/2}},events:{drag:function(t,i){var o=i.getAbsolutePosition(i.points[0]);i.translatePoint(t.chartX-o.x,t.chartY-o.y,0),i.redraw(!1)}}},{positioner:function(t){return{x:(t=t.getAbsolutePosition(t.points[1])).x-this.graphic.width/2,y:t.y-this.graphic.height/2}},events:{drag:function(t,i){var o=i.getAbsolutePosition(i.points[1]);i.translatePoint(t.chartX-o.x,t.chartY-o.y,1),i.redraw(!1)}}},{positioner:function(t){var i=t.getAbsolutePosition(t.points[0]),o=t.getAbsolutePosition(t.points[1]);return{x:(t=t.getAttrs(i,o)).cx-this.graphic.width/2+t.ry*Math.sin(t.angle*Math.PI/180),y:t.cy-this.graphic.height/2-t.ry*Math.cos(t.angle*Math.PI/180)}},events:{drag:function(t,i){var o=i.getAbsolutePosition(i.points[0]),n=i.getAbsolutePosition(i.points[1]);t=i.getDistanceFromLine(o,n,t.chartX,t.chartY),o=i.getYAxis(),t=Math.abs(o.toValue(0)-o.toValue(t)),i.setYRadius(t),i.redraw(!1)}}}]},r);function r(){return null!==s&&s.apply(this,arguments)||this}return e.prototype.defaultOptions=t(i.prototype.defaultOptions,{}),i.types.basicAnnotation=e}),i(t,"Extensions/Annotations/Types/CrookedLine.js",[t["Extensions/Annotations/Annotation.js"],t["Extensions/Annotations/ControlPoint.js"],t["Extensions/Annotations/MockPoint.js"],t["Core/Utilities.js"]],function(t,o,n,i){var s,e,r=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])})(t,i)},function(t,i){function o(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}),a=i.merge;function h(){return null!==e&&e.apply(this,arguments)||this}return r(h,e=t),h.prototype.setClipAxes=function(){this.clipXAxis=this.chart.xAxis[this.options.typeOptions.xAxis],this.clipYAxis=this.chart.yAxis[this.options.typeOptions.yAxis]},h.prototype.getPointsOptions=function(){var i=this.options.typeOptions;return(i.points||[]).map(function(t){return t.xAxis=i.xAxis,t.yAxis=i.yAxis,t})},h.prototype.getControlPointsOptions=function(){return this.getPointsOptions()},h.prototype.addControlPoints=function(){this.getControlPointsOptions().forEach(function(t,i){i=new o(this.chart,this,a(this.options.controlPointOptions,t.controlPoint),i),this.controlPoints.push(i),t.controlPoint=i.options},this)},h.prototype.addShapes=function(){var t=this.options.typeOptions,i=this.initShape(a(t.line,{type:"path",points:this.points.map(function(t,i){return function(t){return t.annotation.points[i]}})}),0);t.line=i.options},(i=h).prototype.defaultOptions=a(t.prototype.defaultOptions,{typeOptions:{xAxis:0,yAxis:0,line:{fill:"none"}},controlPointOptions:{positioner:function(t){var i=this.graphic;return{x:(t=n.pointToPixels(t.points[this.index])).x-i.width/2,y:t.y-i.height/2}},events:{drag:function(t,i){i.chart.isInsidePlot(t.chartX-i.chart.plotLeft,t.chartY-i.chart.plotTop,{visiblePlotOnly:!0})&&(t=this.mouseMoveToTranslation(t),i.translatePoint(t.x,t.y,this.index),i.options.typeOptions.points[this.index].x=i.points[this.index].x,i.options.typeOptions.points[this.index].y=i.points[this.index].y,i.redraw(!1))}}}}),t.types.crookedLine=i}),i(t,"Extensions/Annotations/Types/ElliottWave.js",[t["Extensions/Annotations/Annotation.js"],t["Extensions/Annotations/Types/CrookedLine.js"],t["Core/Utilities.js"]],function(t,i,o){var n,s,e=this&&this.__extends||(n=function(t,i){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])})(t,i)},function(t,i){function o(){this.constructor=t}n(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}),r=o.merge;function a(){return null!==s&&s.apply(this,arguments)||this}return e(a,s=i),a.prototype.addLabels=function(){var n=this;this.getPointsOptions().forEach(function(t,i){var o=n.initLabel(r(t.label,{text:n.options.typeOptions.labels[i],point:function(t){return t.annotation.points[i]}}),!1);t.label=o.options})},(o=a).prototype.defaultOptions=r(i.prototype.defaultOptions,{typeOptions:{labels:"(0) (A) (B) (C) (D) (E)".split(" "),line:{strokeWidth:1}},labelOptions:{align:"center",allowOverlap:!0,crop:!0,overflow:"none",type:"rect",backgroundColor:"none",borderWidth:0,y:-5}}),t.types.elliottWave=o}),i(t,"Extensions/Annotations/Types/Tunnel.js",[t["Extensions/Annotations/Annotation.js"],t["Extensions/Annotations/ControlPoint.js"],t["Extensions/Annotations/Types/CrookedLine.js"],t["Extensions/Annotations/MockPoint.js"],t["Core/Utilities.js"]],function(t,o,n,s,i){var e,r,a=this&&this.__extends||(e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])})(t,i)},function(t,i){function o(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}),h=i.merge;function p(){return null!==r&&r.apply(this,arguments)||this}return a(p,r=n),p.prototype.getPointsOptions=function(){var t=n.prototype.getPointsOptions.call(this);return t[2]=this.heightPointOptions(t[1]),t[3]=this.heightPointOptions(t[0]),t},p.prototype.getControlPointsOptions=function(){return this.getPointsOptions().slice(0,2)},p.prototype.heightPointOptions=function(t){return(t=h(t)).y+=this.options.typeOptions.height,t},p.prototype.addControlPoints=function(){n.prototype.addControlPoints.call(this);var t=(i=this.options).typeOptions,i=new o(this.chart,this,h(i.controlPointOptions,t.heightControlPoint),2);this.controlPoints.push(i),t.heightControlPoint=i.options},p.prototype.addShapes=function(){this.addLine(),this.addBackground()},p.prototype.addLine=function(){var t=this.initShape(h(this.options.typeOptions.line,{type:"path",points:[this.points[0],this.points[1],function(t){return(t=s.pointToOptions(t.annotation.points[2])).command="M",t},this.points[3]]}),0);this.options.typeOptions.line=t.options},p.prototype.addBackground=function(){var t=this.initShape(h(this.options.typeOptions.background,{type:"path",points:this.points.slice()}),1);this.options.typeOptions.background=t.options},p.prototype.translateSide=function(t,i,o){var n=0===(o=Number(o))?3:2;this.translatePoint(t,i,o),this.translatePoint(t,i,n)},p.prototype.translateHeight=function(t){this.translatePoint(0,t,2),this.translatePoint(0,t,3),this.options.typeOptions.height=this.points[3].y-this.points[0].y,this.userOptions.typeOptions.height=this.options.typeOptions.height},(i=p).prototype.defaultOptions=h(n.prototype.defaultOptions,{typeOptions:{background:{fill:"rgba(130, 170, 255, 0.4)",strokeWidth:0},line:{strokeWidth:1},height:-2,heightControlPoint:{positioner:function(t){var i=s.pointToPixels(t.points[2]),o=(t=s.pointToPixels(t.points[3]),(i.x+t.x)/2);return{x:o-this.graphic.width/2,y:(t.y-i.y)/(t.x-i.x)*(o-i.x)+i.y-this.graphic.height/2}},events:{drag:function(t,i){i.chart.isInsidePlot(t.chartX-i.chart.plotLeft,t.chartY-i.chart.plotTop,{visiblePlotOnly:!0})&&(i.translateHeight(this.mouseMoveToTranslation(t).y),i.redraw(!1))}}}},controlPointOptions:{events:{drag:function(t,i){i.chart.isInsidePlot(t.chartX-i.chart.plotLeft,t.chartY-i.chart.plotTop,{visiblePlotOnly:!0})&&(t=this.mouseMoveToTranslation(t),i.translateSide(t.x,t.y,!!this.index),i.redraw(!1))}}}}),t.types.tunnel=i}),i(t,"Extensions/Annotations/Types/InfinityLine.js",[t["Extensions/Annotations/Annotation.js"],t["Extensions/Annotations/Types/CrookedLine.js"],t["Extensions/Annotations/MockPoint.js"],t["Core/Utilities.js"]],function(t,i,c,o){var n,s,e=this&&this.__extends||(n=function(t,i){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])})(t,i)},function(t,i){function o(){this.constructor=t}n(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}),r=o.merge;function u(){return null!==s&&s.apply(this,arguments)||this}return e(u,s=i),u.edgePoint=function(n,s){return function(t){var i=(t=t.annotation).options.typeOptions.type,o=t.points;return"horizontalLine"!==i&&"verticalLine"!==i||(o=[o[0],new c(t.chart,o[0].target,{x:o[0].x+ +("horizontalLine"===i),y:o[0].y+ +("verticalLine"===i),xAxis:o[0].options.xAxis,yAxis:o[0].options.yAxis})]),u.findEdgePoint(o[n],o[s])}},u.findEdgeCoordinate=function(t,i,o,n){var s="x"===o?"y":"x";return(i[o]-t[o])*(n-t[s])/(i[s]-t[s])+t[o]},u.findEdgePoint=function(t,i){var o=t.series.chart,n=t.series.xAxis,s=i.series.yAxis,e=c.pointToPixels(t),r=(i=c.pointToPixels(i)).x-e.x,a=i.y-e.y,h=(l=n.left)+n.width,s=(n=s.top)+s.height,h=r<0?l:h,p=a<0?n:s,l={x:0==r?e.x:h,y:0==a?e.y:p};return 0!=r&&0!=a&&(r=u.findEdgeCoordinate(e,i,"y",h),e=u.findEdgeCoordinate(e,i,"x",p),n<=r&&r<=s?(l.x=h,l.y=r):(l.x=e,l.y=p)),l.x-=o.plotLeft,l.y-=o.plotTop,t.series.chart.inverted&&(t=l.x,l.x=l.y,l.y=t),l},u.prototype.addShapes=function(){var t=this.options.typeOptions,i=[this.points[0],u.endEdgePoint];t.type.match(/line/gi)&&(i[0]=u.startEdgePoint),i=this.initShape(r(t.line,{type:"path",points:i}),0),t.line=i.options},u.endEdgePoint=u.edgePoint(0,1),u.startEdgePoint=u.edgePoint(1,0),(o=u).prototype.defaultOptions=r(i.prototype.defaultOptions,{}),t.types.infinityLine=o}),i(t,"Extensions/Annotations/Types/TimeCycles.js",[t["Extensions/Annotations/Annotation.js"],t["Extensions/Annotations/Types/CrookedLine.js"],t["Extensions/Annotations/ControlPoint.js"],t["Core/Utilities.js"]],function(t,i,n,o){var s,e,r=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])})(t,i)},function(t,i){function o(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}),a=o.merge,h=o.isNumber,p=o.defined;function l(){return null!==e&&e.apply(this,arguments)||this}return r(l,e=i),l.prototype.init=function(t,i,o){p(i.yAxis)&&i.points.forEach(function(t){t.yAxis=i.yAxis}),p(i.xAxis)&&i.points.forEach(function(t){t.xAxis=i.xAxis}),e.prototype.init.call(this,t,i,o)},l.prototype.setPath=function(){this.shapes[0].options.d=this.getPath()},l.prototype.getPath=function(){return[["M",this.startX,this.y]].concat(function(t,i,o,n){for(var s=[],e=1;e<=i;e++)s.push(["A",t/2,t/2,0,1,1,o+e*t,n]);return s}(this.pixelInterval,this.numberOfCircles,this.startX,this.y))},l.prototype.addShapes=function(){var t=this.options.typeOptions,i=(this.setPathProperties(),this.initShape(a(t.line,{type:"path",d:this.getPath(),points:this.options.points}),0));t.line=i.options},l.prototype.addControlPoints=function(){var i=this,o=this.options,t=o.typeOptions;o.controlPointOptions.style.cursor=this.chart.inverted?"ns-resize":"ew-resize",t.controlPointOptions.forEach(function(t){t=a(o.controlPointOptions,t),t=new n(i.chart,i,t,0),i.controlPoints.push(t)})},l.prototype.setPathProperties=function(){var t,i,o,n,s=this.options.typeOptions,e=s.points;e&&(n=e[0],t=this.chart.xAxis[s.xAxis||0],i=this.chart.yAxis[s.yAxis||0],s=n.x,o=n.y,n=e[1].x,s&&n&&(e=h(o)?i.toPixels(o):i.top+i.height,s=h(s)?t.toPixels(s):t.left,i=h(n)?t.toPixels(n):t.left+30,i=Math.round(Math.max(Math.abs(i-s),2)),n=Math.floor(t.len/i)+2,this.startX=s-(Math.floor((s-t.left)/i)+1)*i,this.y=e,this.pixelInterval=i,this.numberOfCircles=n))},l.prototype.redraw=function(t){this.setPathProperties(),this.setPath(),e.prototype.redraw.call(this,t)},(o=l).prototype.defaultOptions=a(i.prototype.defaultOptions,{typeOptions:{controlPointOptions:[{positioner:function(t){return{x:t.anchor(t.points[0]).absolutePosition.x-this.graphic.width/2,y:t.y-this.graphic.height}},events:{drag:function(t,i){var o=i.anchor(i.points[0]).absolutePosition;i.translatePoint(t.chartX-o.x,0,0),i.redraw(!1)}}},{positioner:function(t){return{x:t.anchor(t.points[1]).absolutePosition.x-this.graphic.width/2,y:t.y-this.graphic.height}},events:{drag:function(t,i){var o=i.anchor(i.points[1]).absolutePosition;i.translatePoint(t.chartX-o.x,0,1),i.redraw(!1)}}}]}}),t.types.timeCycles=o}),i(t,"Extensions/Annotations/Types/Fibonacci.js",[t["Extensions/Annotations/Annotation.js"],t["Extensions/Annotations/MockPoint.js"],t["Extensions/Annotations/Types/Tunnel.js"],t["Core/Utilities.js"]],function(t,r,i,o){function s(n,s){return function(){var t=this.annotation;if(!t.startRetracements||!t.endRetracements)return[];var i=this.anchor(t.startRetracements[n]).absolutePosition,o=this.anchor(t.endRetracements[n]).absolutePosition,i=[["M",Math.round(i.x),Math.round(i.y)],["L",Math.round(o.x),Math.round(o.y)]];return s&&(o=this.anchor(t.endRetracements[n-1]).absolutePosition,t=this.anchor(t.startRetracements[n-1]).absolutePosition,i.push(["L",Math.round(o.x),Math.round(o.y)],["L",Math.round(t.x),Math.round(t.y)])),i}}var n,e,a=this&&this.__extends||(n=function(t,i){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])})(t,i)},function(t,i){function o(){this.constructor=t}n(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}),h=o.merge;function p(){return null!==e&&e.apply(this,arguments)||this}return a(p,e=i),p.prototype.linkPoints=function(){e.prototype.linkPoints.call(this),this.linkRetracementsPoints()},p.prototype.linkRetracementsPoints=function(){var n=this,s=this.points,e=s[0].y-s[3].y,r=s[1].y-s[2].y,a=s[0].x,h=s[1].x;p.levels.forEach(function(t,i){var o=s[0].y-e*t;t=s[1].y-r*t,n.startRetracements=n.startRetracements||[],n.endRetracements=n.endRetracements||[],n.linkRetracementPoint(i,a,o,n.startRetracements),n.linkRetracementPoint(i,h,t,n.endRetracements)})},p.prototype.linkRetracementPoint=function(t,i,o,n){var s=n[t],e=this.options.typeOptions;s?(s.options.x=i,s.options.y=o,s.refresh()):n[t]=new r(this.chart,this,{x:i,y:o,xAxis:e.xAxis,yAxis:e.yAxis})},p.prototype.addShapes=function(){p.levels.forEach(function(t,i){t=(n=this.options.typeOptions).backgroundColors;var o=n.lineColor,n=n.lineColors;this.initShape({type:"path",d:s(i),stroke:n[i]||o},i),0Max: "+this.max+"
Average: "+this.average+"
Bins: "+this.bins}function l(t,i,o,n){return{xAxisMin:Math.min(i,t),xAxisMax:Math.max(i,t),yAxisMin:Math.min(n,o),yAxisMax:Math.max(n,o)}}function y(t,i,o){return t.toValue(t.toPixels(i)+o)}function e(t){var i=this.options.typeOptions,o=this.chart.xAxis[i.xAxis],i=this.chart.yAxis[i.yAxis],n=this.offsetX,s=this.offsetY;this.xAxisMin=y(o,this.startXMin,n),this.xAxisMax=y(o,this.startXMax,n),this.yAxisMin=y(i,this.startYMin,s),this.yAxisMax=y(i,this.startYMax,s),this.min=function(){var t=this.chart.series,i=l(this.xAxisMin,this.xAxisMax,this.yAxisMin,this.yAxisMax),o=1/0,n=!1;return t.forEach(function(t){t.visible&&"highcharts-navigator-series"!==t.options.id&&t.points.forEach(function(t){!t.isNull&&t.yi.xAxisMin&&t.x<=i.xAxisMax&&t.y>i.yAxisMin&&t.y<=i.yAxisMax&&(o=t.y,n=!0)})}),o=n?o:""}.call(this),this.max=function(){var t=this.chart.series,i=l(this.xAxisMin,this.xAxisMax,this.yAxisMin,this.yAxisMax),o=-1/0,n=!1;return t.forEach(function(t){t.visible&&"highcharts-navigator-series"!==t.options.id&&t.points.forEach(function(t){!t.isNull&&t.y>o&&t.x>i.xAxisMin&&t.x<=i.xAxisMax&&t.y>i.yAxisMin&&t.y<=i.yAxisMax&&(o=t.y,n=!0)})}),o=n?o:""}.call(this),(o="")!==this.max&&""!==this.min&&(o=(this.max+this.min)/2),this.average=o,this.bins=function(){var t=this.chart.series,i=l(this.xAxisMin,this.xAxisMax,this.yAxisMin,this.yAxisMax),o=0,n=!1;return t.forEach(function(t){t.visible&&"highcharts-navigator-series"!==t.options.id&&t.points.forEach(function(t){!t.isNull&&t.x>i.xAxisMin&&t.x<=i.xAxisMax&&t.y>i.yAxisMin&&t.y<=i.yAxisMax&&(o++,n=!0)})}),o=n?o:""}.call(this),t&&this.resize(0,0)}function r(t,i,o,n,s){var e=(a=this.options.typeOptions).selectType,r=this.chart.xAxis[a.xAxis],a=this.chart.yAxis[a.yAxis],h=this.startXMin,p=this.startXMax,l=this.startYMin,c=this.startYMax,u=this.offsetX,d=this.offsetY;i&&("x"===e?0===o?this.startXMin=y(r,h,n):this.startXMax=y(r,p,n):"y"===e?0===o?this.startYMin=y(a,l,s):this.startYMax=y(a,c,s):(this.startXMax=y(r,p,n),this.startYMax=y(a,c,s))),t&&(this.startXMin=y(r,h,u),this.startXMax=y(r,p,u),this.startYMin=y(a,l,d),this.startYMax=y(a,c,d),this.offsetY=this.offsetX=0)}var a,i,o=this&&this.__extends||(a=function(t,i){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])})(t,i)},function(t,i){function o(){this.constructor=t}a(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}),p=t.defined,c=t.extend,u=t.isNumber,d=t.merge,f=t.pick;function x(){return null!==i&&i.apply(this,arguments)||this}return o(x,i=h),x.prototype.init=function(t,i,o){h.prototype.init.call(this,t,i,o),this.resizeY=this.resizeX=this.offsetY=this.offsetX=0,t=this.options.typeOptions;var n=this.chart,s=(o=n.inverted,i=n.xAxis[t.xAxis],n=n.yAxis[t.yAxis],t.background),e=o?s.height:s.width,s=o?s.width:s.height,r=t.selectType,a=o?i.left:n.top;o=o?n.top:i.left,this.startXMin=t.point.x,this.startYMin=t.point.y,u(e)?this.startXMax=this.startXMin+e:this.startXMax=y(i,this.startXMin,parseFloat(e)),u(s)?this.startYMax=this.startYMin-s:this.startYMax=y(n,this.startYMin,parseFloat(s)),"x"===r?(this.startYMin=n.toValue(a),this.startYMax=n.toValue(a+n.len)):"y"===r&&(this.startXMin=i.toValue(o),this.startXMax=i.toValue(o+i.len)),this.addValues(),this.addShapes()},x.prototype.setClipAxes=function(){this.clipXAxis=this.chart.xAxis[this.options.typeOptions.xAxis],this.clipYAxis=this.chart.yAxis[this.options.typeOptions.yAxis]},x.prototype.pointsOptions=function(){return this.options.points},x.prototype.shapePointsOptions=function(){var t=(i=this.options.typeOptions).xAxis,i=i.yAxis;return[{x:this.xAxisMin,y:this.yAxisMin,xAxis:t,yAxis:i},{x:this.xAxisMax,y:this.yAxisMin,xAxis:t,yAxis:i},{x:this.xAxisMax,y:this.yAxisMax,xAxis:t,yAxis:i},{x:this.xAxisMin,y:this.yAxisMax,xAxis:t,yAxis:i}]},x.prototype.addControlPoints=function(){var t=this.chart.inverted,i=this.options.controlPointOptions,o=this.options.typeOptions.selectType;p(this.userOptions.controlPointOptions&&this.userOptions.controlPointOptions.style.cursor)||("x"===o?i.style.cursor=t?"ns-resize":"ew-resize":"y"===o&&(i.style.cursor=t?"ew-resize":"ns-resize")),t=new n(this.chart,this,this.options.controlPointOptions,0),this.controlPoints.push(t),"xy"!==o&&(t=new n(this.chart,this,this.options.controlPointOptions,1),this.controlPoints.push(t))},x.prototype.addValues=function(t){var o=this.options.typeOptions,i=o.label.formatter;e.call(this,t),o.label.enabled&&(0h?t[t.length-1]+=l+a:t.push(a),n=!0)}),!n){for(t=r.dataRows[0].length,s=Array(t),e=0;et.plotWidth&&("left"===s?i.align="right":i.x=(i.x||0)+t.plotWidth-h),(h=n+a)<0&&("bottom"===e?i.verticalAlign="top":i.y=(i.y||0)-h),(h=n+r.height-a)>t.plotHeight&&("top"===e?i.verticalAlign="bottom":i.y=(i.y||0)+t.plotHeight-h),i},f.prototype.translatePoint=function(t,i){e.prototype.translatePoint.call(this,t,i,0)},f.prototype.translate=function(t,i){var o=this.annotation.chart,n=this.annotation.userOptions,s=o.annotations.indexOf(this.annotation),s=o.options.annotations[s];o.inverted&&(o=t,t=i,i=o),this.options.x+=t,this.options.y+=i,s[this.collection][this.index].x=this.options.x,s[this.collection][this.index].y=this.options.y,n[this.collection][this.index].x=this.options.x,n[this.collection][this.index].y=this.options.y},f.prototype.render=function(t){var i=this.options,o=this.attrsFromOptions(i),n=i.style;this.graphic=this.annotation.chart.renderer.label("",0,-9999,i.shape,null,null,i.useHTML,null,"annotation-label").attr(o).add(t),this.annotation.chart.styledMode||("contrast"===n.color&&(n.color=this.annotation.chart.renderer.getContrast(-1=i-n&&t.value<=o+n&&!t.axis.options.isInternal})[0]},getFieldType:function(t,i){return i=typeof i,{string:"text",number:"number",boolean:"checkbox"}[i=o(t=n[t])?t:i]}}}),i(t,"Extensions/Annotations/NavigationBindingsDefaults.js",[t["Extensions/Annotations/NavigationBindingsUtilities.js"],t["Core/Utilities.js"]],function(t,i){var e=t.getAssignedAxis,a=i.isNumber,r=i.merge;return{lang:{navigation:{popup:{simpleShapes:"Simple shapes",lines:"Lines",circle:"Circle",ellipse:"Ellipse",rectangle:"Rectangle",label:"Label",shapeOptions:"Shape options",typeOptions:"Details",fill:"Fill",format:"Text",strokeWidth:"Line width",stroke:"Line color",title:"Title",name:"Name",labelOptions:"Label options",labels:"Labels",backgroundColor:"Background color",backgroundColors:"Background colors",borderColor:"Border color",borderRadius:"Border radius",borderWidth:"Border width",style:"Style",padding:"Padding",fontSize:"Font size",color:"Color",height:"Height",shapes:"Shape options"}}},navigation:{bindingsClassName:"highcharts-bindings-container",bindings:{circleAnnotation:{className:"highcharts-circle-annotation",start:function(t){var i=this.chart.pointer.getCoordinates(t),o=(t=e(i.xAxis),i=e(i.yAxis),this.chart.options.navigation);if(t&&i)return this.chart.addAnnotation(r({langKey:"circle",type:"basicAnnotation",shapes:[{type:"circle",point:{x:t.value,y:i.value,xAxis:t.axis.options.index,yAxis:i.axis.options.index},r:5}]},o.annotationsOptions,o.bindings.circleAnnotation.annotationsOptions))},steps:[function(t,i){var o,n,s=i.options.shapes;s=s&&s[0]&&s[0].point||{},a(s.xAxis)&&a(s.yAxis)&&(n=this.chart.inverted,o=this.chart.xAxis[s.xAxis].toPixels(s.x),s=this.chart.yAxis[s.yAxis].toPixels(s.y),n=Math.max(Math.sqrt(Math.pow(n?s-t.chartX:o-t.chartX,2)+Math.pow(n?o-t.chartY:s-t.chartY,2)),5)),i.update({shapes:[{r:n}]})}]},ellipseAnnotation:{className:"highcharts-ellipse-annotation",start:function(t){var i=this.chart.pointer.getCoordinates(t),o=(t=e(i.xAxis),i=e(i.yAxis),this.chart.options.navigation);if(t&&i)return this.chart.addAnnotation(r({langKey:"ellipse",type:"basicAnnotation",shapes:[{type:"ellipse",xAxis:t.axis.options.index,yAxis:i.axis.options.index,points:[{x:t.value,y:i.value},{x:t.value,y:i.value}],ry:1}]},o.annotationsOptions,o.bindings.ellipseAnnotation.annotationOptions))},steps:[function(t,i){var o=(i=i.shapes[0]).getAbsolutePosition(i.points[1]);i.translatePoint(t.chartX-o.x,t.chartY-o.y,1),i.redraw(!1)},function(t,i){var o=(i=i.shapes[0]).getAbsolutePosition(i.points[0]),n=i.getAbsolutePosition(i.points[1]);t=i.getDistanceFromLine(o,n,t.chartX,t.chartY),o=i.getYAxis(),t=Math.abs(o.toValue(0)-o.toValue(t)),i.setYRadius(t),i.redraw(!1)}]},rectangleAnnotation:{className:"highcharts-rectangle-annotation",start:function(t){t=this.chart.pointer.getCoordinates(t);var i,o,n=e(t.xAxis),s=e(t.yAxis);if(n&&s)return t=n.value,i=s.value,n=n.axis.options.index,s=s.axis.options.index,o=this.chart.options.navigation,this.chart.addAnnotation(r({langKey:"rectangle",type:"basicAnnotation",shapes:[{type:"path",points:[{xAxis:n,yAxis:s,x:t,y:i},{xAxis:n,yAxis:s,x:t,y:i},{xAxis:n,yAxis:s,x:t,y:i},{xAxis:n,yAxis:s,x:t,y:i},{command:"Z"}]}]},o.annotationsOptions,o.bindings.rectangleAnnotation.annotationsOptions))},steps:[function(t,i){var o=(o=i.options.shapes)&&o[0]&&o[0].points||[],n=this.chart.pointer.getCoordinates(t);t=e(n.xAxis),n=e(n.yAxis),t&&n&&(t=t.value,n=n.value,o[1].x=t,o[2].x=t,o[2].y=n,o[3].y=n,i.update({shapes:[{points:o}]}))}]},labelAnnotation:{className:"highcharts-label-annotation",start:function(t){var i=this.chart.pointer.getCoordinates(t),o=(t=e(i.xAxis),i=e(i.yAxis),this.chart.options.navigation);if(t&&i)return this.chart.addAnnotation(r({langKey:"label",type:"basicAnnotation",labelOptions:{format:"{y:.2f}"},labels:[{point:{xAxis:t.axis.options.index,yAxis:i.axis.options.index,x:t.value,y:i.value},overflow:"none",crop:!0}]},o.annotationsOptions,o.bindings.labelAnnotation.annotationsOptions))}}},events:{},annotationsOptions:{animation:{defer:0}}}}}),i(t,"Extensions/Annotations/NavigationBindings.js",[t["Core/Chart/ChartNavigationComposition.js"],t["Core/DefaultOptions.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Extensions/Annotations/NavigationBindingsDefaults.js"],t["Extensions/Annotations/NavigationBindingsUtilities.js"],t["Core/Utilities.js"]],function(t,i,o,s,n,e,a){function r(){this.chart.navigationBindings&&this.chart.navigationBindings.deselectAnnotation()}function h(){this.navigationBindings&&this.navigationBindings.destroy()}function l(){var t=this.options;t&&t.navigation&&t.navigation.bindings&&(this.navigationBindings=new B(this,t.navigation),this.navigationBindings.initEvents(),this.navigationBindings.initUpdate())}function p(){var e,a,t=this.navigationBindings;this&&t&&(e=!1,this.series.forEach(function(t){!t.options.isInternal&&t.visible&&(e=!0)}),this.navigationBindings&&this.navigationBindings.container&&this.navigationBindings.container[0]&&(a=this.navigationBindings.container[0],O(t.boundClassNames,function(t,i){if(i=a.querySelectorAll("."+i))for(var o=0;o option:checked")[0],t=t.querySelectorAll("#highcharts-select-volume > option:checked")[0],e={actionType:i,linkedTo:s&&s.getAttribute("value")||"",fields:{}},o.forEach(function(t){var i=t.getAttribute("highcharts-data-name");t.getAttribute("highcharts-data-series-id")?e.seriesId=t.value:i?e.fields[i]=t.value:e.type=t.value}),n.forEach(function(t){var i=t.id;"highcharts-select-series"!==i&&"highcharts-select-volume"!==i&&(i=i.split("highcharts-select-")[1],e.fields[i]=t.value)}),t&&(e.fields["params.volumeSeriesID"]=t.getAttribute("value")||""),e));var t,i,o,n,s,e})}),o},d.prototype.showPopup=function(){var t=this.container,i=t.querySelectorAll(".highcharts-popup-close")[0];this.formType=void 0,t.innerHTML=o.emptyHTML,0<=t.className.indexOf("highcharts-annotation-toolbar")&&(t.classList.remove("highcharts-annotation-toolbar"),t.removeAttribute("style")),t.appendChild(i),t.style.display="block",t.style.height=""},d.prototype.closePopup=function(){this.container.style.display="none"},d.prototype.showForm=function(t,i,o,n){i&&(this.showPopup(),"indicators"===t&&this.indicators.addForm.call(this,i,o,n),"annotation-toolbar"===t&&this.annotations.addToolbar.call(this,i,o,n),"annotation-edit"===t&&this.annotations.addForm.call(this,i,o,n),"flag"===t&&this.annotations.addForm.call(this,i,o,n,!0),this.formType=t,this.container.style.height=this.container.offsetHeight+"px")},t((a=d).prototype,{annotations:i,indicators:s,tabs:e}),a}),i(t,"Extensions/Annotations/Popup/PopupComposition.js",[t["Extensions/Annotations/Popup/Popup.js"],t["Core/Utilities.js"]],function(i,t){function o(){this.popup&&this.popup.closePopup()}function n(t){this.popup||(this.popup=new i(this.chart.container,this.chart.options.navigation.iconsURL||this.chart.options.stockTools&&this.chart.options.stockTools.gui.iconsURL||"https://code.highcharts.com/10.2.1/gfx/stock-icons/",this.chart)),this.popup.showForm(t.formType,this.chart,t.options,t.onSubmit)}function s(t,i){this.inClass(i.target,"highcharts-popup")||t.apply(this,Array.prototype.slice.call(arguments,1))}var e=t.addEvent,a=t.wrap,r=[];return{compose:function(t,i){-1===r.indexOf(t)&&(r.push(t),e(t,"closePopup",o),e(t,"showPopup",n)),-1===r.indexOf(i)&&(r.push(i),a(i.prototype,"onContainerMouseDown",s))}}}),i(t,"Extensions/Annotations/Annotation.js",[t["Core/Animation/AnimationUtilities.js"],t["Extensions/Annotations/AnnotationChart.js"],t["Extensions/Annotations/AnnotationDefaults.js"],t["Extensions/Annotations/Controllables/Controllable.js"],t["Extensions/Annotations/Controllables/ControllableRect.js"],t["Extensions/Annotations/Controllables/ControllableCircle.js"],t["Extensions/Annotations/Controllables/ControllableEllipse.js"],t["Extensions/Annotations/Controllables/ControllablePath.js"],t["Extensions/Annotations/Controllables/ControllableImage.js"],t["Extensions/Annotations/Controllables/ControllableLabel.js"],t["Extensions/Annotations/ControlPoint.js"],t["Extensions/Annotations/EventEmitter.js"],t["Extensions/Annotations/MockPoint.js"],t["Extensions/Annotations/NavigationBindings.js"],t["Extensions/Annotations/Popup/PopupComposition.js"],t["Core/Utilities.js"]],function(t,n,i,o,s,e,a,r,h,l,p,c,u,d,f,g){function y(i,n){var s={};return["labels","shapes"].forEach(function(t){var o=i[t];o&&(s[t]=n[t]?O(n[t]).map(function(t,i){return k(o[i],t)}):i[t])}),s}var v,x,m=this&&this.__extends||(v=function(t,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])})(t,i)},function(t,i){function o(){this.constructor=t}v(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}),b=t.getDeferredAnimation,A=o.prototype,C=g.destroyObjectProperties,E=g.erase,P=g.fireEvent,k=g.merge,w=g.pick,O=g.splat;function j(t,i){var o=x.call(this)||this;return o.annotation=void 0,o.coll="annotations",o.collection=void 0,o.animationConfig=void 0,o.graphic=void 0,o.group=void 0,o.labelCollector=void 0,o.labelsGroup=void 0,o.shapesGroup=void 0,o.chart=t,o.points=[],o.controlPoints=[],o.coll="annotations",o.labels=[],o.shapes=[],o.options=k(o.defaultOptions,i),o.userOptions=i,i=y(o.options,i),o.options.labels=i.labels,o.options.shapes=i.shapes,o.init(t,o.options),o}return m(j,x=c),j.compose=function(t,i,o){n.compose(j,t,i),l.compose(o),r.compose(t,o),d.compose(j,t),f.compose(d,i)},j.prototype.addClipPaths=function(){this.setClipAxes(),this.clipXAxis&&this.clipYAxis&&this.options.crop&&(this.clipRect=this.chart.renderer.clipRect(this.getClipBox()))},j.prototype.addLabels=function(){var o=this,n=this.options.labels||[];n.forEach(function(t,i){t=o.initLabel(t,i),k(!0,n[i],t.options)})},j.prototype.addShapes=function(){var o=this,n=this.options.shapes||[];n.forEach(function(t,i){t=o.initShape(t,i),k(!0,n[i],t.options)})},j.prototype.destroy=function(){function t(t){t.destroy()}var i=this.chart;this.labels.forEach(t),this.shapes.forEach(t),this.clipYAxis=this.clipXAxis=null,E(i.labelCollectors,this.labelCollector),x.prototype.destroy.call(this),A.destroy.call(this),C(this,i)},j.prototype.destroyItem=function(t){E(this[t.itemType+"s"],t),t.destroy()},j.prototype.getClipBox=function(){if(this.clipXAxis&&this.clipYAxis)return{x:this.clipXAxis.left,y:this.clipYAxis.top,width:this.clipXAxis.width,height:this.clipYAxis.height}},j.prototype.init=function(t,i,o){t=this.chart,i=this.options.animation,this.linkPoints(),this.addControlPoints(),this.addShapes(),this.addLabels(),this.setLabelCollector(),this.animationConfig=b(t,i)},j.prototype.initLabel=function(t,i){return t=k(this.options.labelOptions,{controlPointOptions:this.options.controlPointOptions},t),(i=new l(this,t,i)).itemType="label",this.labels.push(i),i},j.prototype.initShape=function(t,i){return t=k(this.options.shapeOptions,{controlPointOptions:this.options.controlPointOptions},t),(i=new j.shapesMap[t.type](this,t,i)).itemType="shape",this.shapes.push(i),i},j.prototype.redraw=function(t){this.linkPoints(),this.graphic||this.render(),this.clipRect&&this.clipRect.animate(this.getClipBox()),this.redrawItems(this.shapes,t),this.redrawItems(this.labels,t),A.redraw.call(this,t)},j.prototype.redrawItem=function(t,i){var o;t.linkPoints(),t.shouldBeDrawn()?(t.graphic||this.renderItem(t),t.redraw(w(i,!0)&&t.graphic.placed),t.points.length&&(o=(i=t).graphic,i=t.points.some(function(t){return!1!==t.series.visible&&!1!==t.visible}),o&&(i?"hidden"===o.visibility&&o.show():o.hide()))):this.destroyItem(t)},j.prototype.redrawItems=function(t,i){for(var o=t.length;o--;)this.redrawItem(t[o],i)},j.prototype.remove=function(){return this.chart.removeAnnotation(this)},j.prototype.render=function(){var t=this.chart.renderer;this.graphic=t.g("annotation").attr({opacity:0,zIndex:this.options.zIndex,visibility:this.options.visible?"inherit":"hidden"}).add(),this.shapesGroup=t.g("annotation-shapes").add(this.graphic),this.options.crop&&this.shapesGroup.clip(this.chart.plotBoxClip),this.labelsGroup=t.g("annotation-labels").attr({translateX:0,translateY:0}).add(this.graphic),this.addClipPaths(),this.clipRect&&this.graphic.clip(this.clipRect),this.renderItems(this.shapes),this.renderItems(this.labels),this.addEvents(),A.render.call(this)},j.prototype.renderItem=function(t){t.render("label"===t.itemType?this.labelsGroup:this.shapesGroup)},j.prototype.renderItems=function(t){for(var i=t.length;i--;)this.renderItem(t[i])},j.prototype.setClipAxes=function(){var o=this.chart.xAxis,n=this.chart.yAxis,t=(this.options.labels||[]).concat(this.options.shapes||[]).reduce(function(t,i){return i=i&&(i.point||i.points&&i.points[0]),[o[i&&i.xAxis]||t[0],n[i&&i.yAxis]||t[1]]},[]);this.clipXAxis=t[0],this.clipYAxis=t[1]},j.prototype.setControlPointsVisibility=function(i){function t(t){t.setControlPointsVisibility(i)}A.setControlPointsVisibility.call(this,i),this.shapes.forEach(t),this.labels.forEach(t)},j.prototype.setLabelCollector=function(){var t=this;t.labelCollector=function(){return t.labels.reduce(function(t,i){return i.options.allowOverlap||t.push(i.graphic),t},[])},t.chart.labelCollectors.push(t.labelCollector)},j.prototype.setOptions=function(t){this.options=k(this.defaultOptions,t)},j.prototype.setVisibility=function(t){var i=this.options,o=this.chart.navigationBindings;t=w(t,!i.visible),this.graphic.attr("visibility",t?"inherit":"hidden"),t||(this.setControlPointsVisibility(!1),o.activeAnnotation===this&&o.popup&&"annotation-toolbar"===o.popup.formType&&P(o,"closePopup")),i.visible=t},j.prototype.update=function(t,i){var o=this.chart,n=y(this.userOptions,t),s=o.annotations.indexOf(this);(t=k(!0,this.userOptions,t)).labels=n.labels,t.shapes=n.shapes,this.destroy(),this.constructor(o,t),o.options.annotations[s]=t,this.isUpdating=!0,w(i,!0)&&o.redraw(),P(this,"afterUpdate"),this.isUpdating=!1},j.ControlPoint=p,j.MockPoint=u,j.shapesMap={rect:s,circle:e,ellipse:a,path:r,image:h},j.types={},k(!0,(t=j).prototype,o.prototype,k(t.prototype,{nonDOMEvents:["add","afterUpdate","drag","remove"],defaultOptions:i})),t}),i(t,"masters/modules/annotations.src.js",[t["Core/Globals.js"],t["Extensions/Annotations/Annotation.js"]],function(t,i){(t.Annotation=i).compose(t.Chart,t.Pointer,t.SVGRenderer)})}); \ No newline at end of file +!function(i){"object"==typeof module&&module.exports?module.exports=i.default=i:"function"==typeof define&&define.amd?define("highcharts/modules/annotations",["highcharts"],function(t){return i(t),i.Highcharts=t,i}):i("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function i(t,i,o,n){t.hasOwnProperty(i)||(t[i]=n.apply(null,o),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:i,module:t[i]}})))}i(t=t?t._modules:{},"Extensions/Annotations/AnnotationChart.js",[t["Core/Utilities.js"]],function(t){function n(t,i){return t=this.initAnnotation(t),this.options.annotations.push(t.options),o(i,!0)&&(t.redraw(),t.graphic.attr({opacity:1})),t}function e(){var c=this;c.plotBoxClip=this.renderer.clipRect(this.plotBox),c.controlPointsGroup=c.renderer.g("control-points").attr({zIndex:99}).clip(c.plotBoxClip).add(),c.options.annotations.forEach(function(i,t){var o;c.annotations.some(function(t){return t.options===i})||(o=c.initAnnotation(i),c.options.annotations[t]=o.options)}),c.drawAnnotations(),l(c,"redraw",c.drawAnnotations),l(c,"destroy",function(){c.plotBoxClip.destroy(),c.controlPointsGroup.destroy()}),l(c,"exportData",function(r){var o=(this.options.exporting&&this.options.exporting.csv||{}).columnHeaderFormatter,n=!r.dataRows[1].xValues,e=c.options.lang&&c.options.lang.exportData&&c.options.lang.exportData.annotationHeader,h=r.dataRows[0].length,l=c.options.exporting&&c.options.exporting.csv&&c.options.exporting.csv.annotations&&c.options.exporting.csv.annotations.itemDelimiter,p=c.options.exporting&&c.options.exporting.csv&&c.options.exporting.csv.annotations&&c.options.exporting.csv.annotations.join,i=(c.annotations.forEach(function(t){t.options.labelOptions&&t.options.labelOptions.includeInDataExport&&t.labels.forEach(function(t){var a;t.options.text&&(a=t.options.text,t.points.forEach(function(t){var i=t.x,o=t.series.xAxis?t.series.xAxis.options.index:-1,n=!1;if(-1===o){t=r.dataRows[0].length;for(var e=Array(t),s=0;sh?t[t.length-1]+=l+a:t.push(a),n=!0)}),!n){for(t=r.dataRows[0].length,e=Array(t),s=0;st.plotWidth&&("left"===e?i.align="right":i.x=(i.x||0)+t.plotWidth-h),(h=n+a)<0&&("bottom"===s?i.verticalAlign="top":i.y=(i.y||0)-h),(h=n+r.height-a)>t.plotHeight&&("top"===s?i.verticalAlign="bottom":i.y=(i.y||0)+t.plotHeight-h),i},f.prototype.translatePoint=function(t,i){s.prototype.translatePoint.call(this,t,i,0)},f.prototype.translate=function(t,i){var o=this.annotation.chart,n=this.annotation.userOptions,e=o.annotations.indexOf(this.annotation),e=o.options.annotations[e];o.inverted&&(o=t,t=i,i=o),this.options.x+=t,this.options.y+=i,e[this.collection][this.index].x=this.options.x,e[this.collection][this.index].y=this.options.y,n[this.collection][this.index].x=this.options.x,n[this.collection][this.index].y=this.options.y},f.prototype.render=function(t){var i=this.options,o=this.attrsFromOptions(i),n=i.style;this.graphic=this.annotation.chart.renderer.label("",0,-9999,i.shape,null,null,i.useHTML,null,"annotation-label").attr(o).add(t),this.annotation.chart.styledMode||("contrast"===n.color&&(n.color=this.annotation.chart.renderer.getContrast(-1=i-n&&t.value<=o+n&&!t.axis.options.isInternal})[0]},getFieldType:function(t,i){return i=typeof i,{string:"text",number:"number",boolean:"checkbox"}[i=o(t=n[t])?t:i]}}}),i(t,"Extensions/Annotations/NavigationBindingsDefaults.js",[t["Extensions/Annotations/NavigationBindingsUtilities.js"],t["Core/Utilities.js"]],function(t,i){var s=t.getAssignedAxis,a=i.isNumber,r=i.merge;return{lang:{navigation:{popup:{simpleShapes:"Simple shapes",lines:"Lines",circle:"Circle",ellipse:"Ellipse",rectangle:"Rectangle",label:"Label",shapeOptions:"Shape options",typeOptions:"Details",fill:"Fill",format:"Text",strokeWidth:"Line width",stroke:"Line color",title:"Title",name:"Name",labelOptions:"Label options",labels:"Labels",backgroundColor:"Background color",backgroundColors:"Background colors",borderColor:"Border color",borderRadius:"Border radius",borderWidth:"Border width",style:"Style",padding:"Padding",fontSize:"Font size",color:"Color",height:"Height",shapes:"Shape options"}}},navigation:{bindingsClassName:"highcharts-bindings-container",bindings:{circleAnnotation:{className:"highcharts-circle-annotation",start:function(t){var i=this.chart.pointer.getCoordinates(t),o=(t=s(i.xAxis),i=s(i.yAxis),this.chart.options.navigation);if(t&&i)return this.chart.addAnnotation(r({langKey:"circle",type:"basicAnnotation",shapes:[{type:"circle",point:{x:t.value,y:i.value,xAxis:t.axis.options.index,yAxis:i.axis.options.index},r:5}]},o.annotationsOptions,o.bindings.circleAnnotation.annotationsOptions))},steps:[function(t,i){var o,n,e=i.options.shapes;e=e&&e[0]&&e[0].point||{},a(e.xAxis)&&a(e.yAxis)&&(n=this.chart.inverted,o=this.chart.xAxis[e.xAxis].toPixels(e.x),e=this.chart.yAxis[e.yAxis].toPixels(e.y),n=Math.max(Math.sqrt(Math.pow(n?e-t.chartX:o-t.chartX,2)+Math.pow(n?o-t.chartY:e-t.chartY,2)),5)),i.update({shapes:[{r:n}]})}]},ellipseAnnotation:{className:"highcharts-ellipse-annotation",start:function(t){var i=this.chart.pointer.getCoordinates(t),o=(t=s(i.xAxis),i=s(i.yAxis),this.chart.options.navigation);if(t&&i)return this.chart.addAnnotation(r({langKey:"ellipse",type:"basicAnnotation",shapes:[{type:"ellipse",xAxis:t.axis.options.index,yAxis:i.axis.options.index,points:[{x:t.value,y:i.value},{x:t.value,y:i.value}],ry:1}]},o.annotationsOptions,o.bindings.ellipseAnnotation.annotationOptions))},steps:[function(t,i){var o=(i=i.shapes[0]).getAbsolutePosition(i.points[1]);i.translatePoint(t.chartX-o.x,t.chartY-o.y,1),i.redraw(!1)},function(t,i){var o=(i=i.shapes[0]).getAbsolutePosition(i.points[0]),n=i.getAbsolutePosition(i.points[1]);t=i.getDistanceFromLine(o,n,t.chartX,t.chartY),o=i.getYAxis(),t=Math.abs(o.toValue(0)-o.toValue(t)),i.setYRadius(t),i.redraw(!1)}]},rectangleAnnotation:{className:"highcharts-rectangle-annotation",start:function(t){t=this.chart.pointer.getCoordinates(t);var i,o,n=s(t.xAxis),e=s(t.yAxis);if(n&&e)return t=n.value,i=e.value,n=n.axis.options.index,e=e.axis.options.index,o=this.chart.options.navigation,this.chart.addAnnotation(r({langKey:"rectangle",type:"basicAnnotation",shapes:[{type:"path",points:[{xAxis:n,yAxis:e,x:t,y:i},{xAxis:n,yAxis:e,x:t,y:i},{xAxis:n,yAxis:e,x:t,y:i},{xAxis:n,yAxis:e,x:t,y:i},{command:"Z"}]}]},o.annotationsOptions,o.bindings.rectangleAnnotation.annotationsOptions))},steps:[function(t,i){var o=(o=i.options.shapes)&&o[0]&&o[0].points||[],n=this.chart.pointer.getCoordinates(t);t=s(n.xAxis),n=s(n.yAxis),t&&n&&(t=t.value,n=n.value,o[1].x=t,o[2].x=t,o[2].y=n,o[3].y=n,i.update({shapes:[{points:o}]}))}]},labelAnnotation:{className:"highcharts-label-annotation",start:function(t){var i=this.chart.pointer.getCoordinates(t),o=(t=s(i.xAxis),i=s(i.yAxis),this.chart.options.navigation);if(t&&i)return this.chart.addAnnotation(r({langKey:"label",type:"basicAnnotation",labelOptions:{format:"{y:.2f}"},labels:[{point:{xAxis:t.axis.options.index,yAxis:i.axis.options.index,x:t.value,y:i.value},overflow:"none",crop:!0}]},o.annotationsOptions,o.bindings.labelAnnotation.annotationsOptions))}}},events:{},annotationsOptions:{animation:{defer:0}}}}}),i(t,"Extensions/Annotations/NavigationBindings.js",[t["Core/Chart/ChartNavigationComposition.js"],t["Core/Defaults.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Extensions/Annotations/NavigationBindingsDefaults.js"],t["Extensions/Annotations/NavigationBindingsUtilities.js"],t["Core/Utilities.js"]],function(t,i,o,e,n,s,a){function r(){this.chart.navigationBindings&&this.chart.navigationBindings.deselectAnnotation()}function h(){this.navigationBindings&&this.navigationBindings.destroy()}function l(){var t=this.options;t&&t.navigation&&t.navigation.bindings&&(this.navigationBindings=new N(this,t.navigation),this.navigationBindings.initEvents(),this.navigationBindings.initUpdate())}function p(){var s,a,t=this.navigationBindings;this&&t&&(s=!1,this.series.forEach(function(t){!t.options.isInternal&&t.visible&&(s=!0)}),this.navigationBindings&&this.navigationBindings.container&&this.navigationBindings.container[0]&&(a=this.navigationBindings.container[0],O(t.boundClassNames,function(t,i){if(i=a.querySelectorAll("."+i))for(var o=0;o option:checked")[0],t=t.querySelectorAll("#highcharts-select-volume > option:checked")[0],s={actionType:i,linkedTo:e&&e.getAttribute("value")||"",fields:{}},o.forEach(function(t){var i=t.getAttribute("highcharts-data-name");t.getAttribute("highcharts-data-series-id")?s.seriesId=t.value:i?s.fields[i]=t.value:s.type=t.value}),n.forEach(function(t){var i=t.id;"highcharts-select-series"!==i&&"highcharts-select-volume"!==i&&(i=i.split("highcharts-select-")[1],s.fields[i]=t.value)}),t&&(s.fields["params.volumeSeriesID"]=t.getAttribute("value")||""),s));var t,i,o,n,e,s})}),o},d.prototype.showPopup=function(){var t=this.container,i=t.querySelectorAll(".highcharts-popup-close")[0];this.formType=void 0,t.innerHTML=o.emptyHTML,0<=t.className.indexOf("highcharts-annotation-toolbar")&&(t.classList.remove("highcharts-annotation-toolbar"),t.removeAttribute("style")),t.appendChild(i),t.style.display="block",t.style.height=""},d.prototype.closePopup=function(){this.container.style.display="none"},d.prototype.showForm=function(t,i,o,n){i&&(this.showPopup(),"indicators"===t&&this.indicators.addForm.call(this,i,o,n),"annotation-toolbar"===t&&this.annotations.addToolbar.call(this,i,o,n),"annotation-edit"===t&&this.annotations.addForm.call(this,i,o,n),"flag"===t&&this.annotations.addForm.call(this,i,o,n,!0),this.formType=t,this.container.style.height=this.container.offsetHeight+"px")},t((a=d).prototype,{annotations:i,indicators:e,tabs:s}),a}),i(t,"Extensions/Annotations/Popup/PopupComposition.js",[t["Extensions/Annotations/Popup/Popup.js"],t["Core/Utilities.js"]],function(i,t){function o(){this.popup&&this.popup.closePopup()}function n(t){this.popup||(this.popup=new i(this.chart.container,this.chart.options.navigation.iconsURL||this.chart.options.stockTools&&this.chart.options.stockTools.gui.iconsURL||"https://code.highcharts.com/10.3.3/gfx/stock-icons/",this.chart)),this.popup.showForm(t.formType,this.chart,t.options,t.onSubmit)}function e(t,i){this.inClass(i.target,"highcharts-popup")||t.apply(this,Array.prototype.slice.call(arguments,1))}var s=t.addEvent,a=t.wrap,r=[];return{compose:function(t,i){-1===r.indexOf(t)&&(r.push(t),s(t,"closePopup",o),s(t,"showPopup",n)),-1===r.indexOf(i)&&(r.push(i),a(i.prototype,"onContainerMouseDown",e))}}}),i(t,"Extensions/Annotations/Annotation.js",[t["Core/Animation/AnimationUtilities.js"],t["Extensions/Annotations/AnnotationChart.js"],t["Extensions/Annotations/AnnotationDefaults.js"],t["Extensions/Annotations/Controllables/Controllable.js"],t["Extensions/Annotations/Controllables/ControllableRect.js"],t["Extensions/Annotations/Controllables/ControllableCircle.js"],t["Extensions/Annotations/Controllables/ControllableEllipse.js"],t["Extensions/Annotations/Controllables/ControllablePath.js"],t["Extensions/Annotations/Controllables/ControllableImage.js"],t["Extensions/Annotations/Controllables/ControllableLabel.js"],t["Extensions/Annotations/ControlPoint.js"],t["Extensions/Annotations/EventEmitter.js"],t["Extensions/Annotations/MockPoint.js"],t["Extensions/Annotations/NavigationBindings.js"],t["Extensions/Annotations/Popup/PopupComposition.js"],t["Core/Utilities.js"]],function(t,n,i,o,e,s,a,r,h,l,p,c,u,d,f,g){function y(i,n){var e={};return["labels","shapes"].forEach(function(t){var o=i[t];o&&(e[t]=n[t]?O(n[t]).map(function(t,i){return k(o[i],t)}):i[t])}),e}var v,x,m=this&&this.__extends||(v=function(t,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])})(t,i)},function(t,i){function o(){this.constructor=t}v(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}),b=t.getDeferredAnimation,A=o.prototype,C=g.destroyObjectProperties,E=g.erase,P=g.fireEvent,k=g.merge,w=g.pick,O=g.splat;function j(t,i){var o=x.call(this)||this;return o.annotation=void 0,o.coll="annotations",o.collection=void 0,o.animationConfig=void 0,o.graphic=void 0,o.group=void 0,o.labelCollector=void 0,o.labelsGroup=void 0,o.shapesGroup=void 0,o.chart=t,o.points=[],o.controlPoints=[],o.coll="annotations",o.labels=[],o.shapes=[],o.options=k(o.defaultOptions,i),o.userOptions=i,i=y(o.options,i),o.options.labels=i.labels,o.options.shapes=i.shapes,o.init(t,o.options),o}return m(j,x=c),j.compose=function(t,i,o){n.compose(j,t,i),l.compose(o),r.compose(t,o),d.compose(j,t),f.compose(d,i)},j.prototype.addClipPaths=function(){this.setClipAxes(),this.clipXAxis&&this.clipYAxis&&this.options.crop&&(this.clipRect=this.chart.renderer.clipRect(this.getClipBox()))},j.prototype.addLabels=function(){var o=this,n=this.options.labels||[];n.forEach(function(t,i){t=o.initLabel(t,i),k(!0,n[i],t.options)})},j.prototype.addShapes=function(){var o=this,n=this.options.shapes||[];n.forEach(function(t,i){t=o.initShape(t,i),k(!0,n[i],t.options)})},j.prototype.destroy=function(){function t(t){t.destroy()}var i=this.chart;this.labels.forEach(t),this.shapes.forEach(t),this.clipYAxis=this.clipXAxis=null,E(i.labelCollectors,this.labelCollector),x.prototype.destroy.call(this),A.destroy.call(this),C(this,i)},j.prototype.destroyItem=function(t){E(this[t.itemType+"s"],t),t.destroy()},j.prototype.getClipBox=function(){if(this.clipXAxis&&this.clipYAxis)return{x:this.clipXAxis.left,y:this.clipYAxis.top,width:this.clipXAxis.width,height:this.clipYAxis.height}},j.prototype.init=function(t,i,o){t=this.chart,i=this.options.animation,this.linkPoints(),this.addControlPoints(),this.addShapes(),this.addLabels(),this.setLabelCollector(),this.animationConfig=b(t,i)},j.prototype.initLabel=function(t,i){return t=k(this.options.labelOptions,{controlPointOptions:this.options.controlPointOptions},t),(i=new l(this,t,i)).itemType="label",this.labels.push(i),i},j.prototype.initShape=function(t,i){return t=k(this.options.shapeOptions,{controlPointOptions:this.options.controlPointOptions},t),(i=new j.shapesMap[t.type](this,t,i)).itemType="shape",this.shapes.push(i),i},j.prototype.redraw=function(t){this.linkPoints(),this.graphic||this.render(),this.clipRect&&this.clipRect.animate(this.getClipBox()),this.redrawItems(this.shapes,t),this.redrawItems(this.labels,t),A.redraw.call(this,t)},j.prototype.redrawItem=function(t,i){var o;t.linkPoints(),t.shouldBeDrawn()?(t.graphic||this.renderItem(t),t.redraw(w(i,!0)&&t.graphic.placed),t.points.length&&(o=(i=t).graphic,i=t.points.some(function(t){return!1!==t.series.visible&&!1!==t.visible}),o&&(i?"hidden"===o.visibility&&o.show():o.hide()))):this.destroyItem(t)},j.prototype.redrawItems=function(t,i){for(var o=t.length;o--;)this.redrawItem(t[o],i)},j.prototype.remove=function(){return this.chart.removeAnnotation(this)},j.prototype.render=function(){var t=this.chart.renderer;this.graphic=t.g("annotation").attr({opacity:0,zIndex:this.options.zIndex,visibility:this.options.visible?"inherit":"hidden"}).add(),this.shapesGroup=t.g("annotation-shapes").add(this.graphic),this.options.crop&&this.shapesGroup.clip(this.chart.plotBoxClip),this.labelsGroup=t.g("annotation-labels").attr({translateX:0,translateY:0}).add(this.graphic),this.addClipPaths(),this.clipRect&&this.graphic.clip(this.clipRect),this.renderItems(this.shapes),this.renderItems(this.labels),this.addEvents(),A.render.call(this)},j.prototype.renderItem=function(t){t.render("label"===t.itemType?this.labelsGroup:this.shapesGroup)},j.prototype.renderItems=function(t){for(var i=t.length;i--;)this.renderItem(t[i])},j.prototype.setClipAxes=function(){var o=this.chart.xAxis,n=this.chart.yAxis,t=(this.options.labels||[]).concat(this.options.shapes||[]).reduce(function(t,i){return i=i&&(i.point||i.points&&i.points[0]),[o[i&&i.xAxis]||t[0],n[i&&i.yAxis]||t[1]]},[]);this.clipXAxis=t[0],this.clipYAxis=t[1]},j.prototype.setControlPointsVisibility=function(i){function t(t){t.setControlPointsVisibility(i)}A.setControlPointsVisibility.call(this,i),this.shapes.forEach(t),this.labels.forEach(t)},j.prototype.setLabelCollector=function(){var t=this;t.labelCollector=function(){return t.labels.reduce(function(t,i){return i.options.allowOverlap||t.push(i.graphic),t},[])},t.chart.labelCollectors.push(t.labelCollector)},j.prototype.setOptions=function(t){this.options=k(this.defaultOptions,t)},j.prototype.setVisibility=function(t){var i=this.options,o=this.chart.navigationBindings;t=w(t,!i.visible),this.graphic.attr("visibility",t?"inherit":"hidden"),t||(this.setControlPointsVisibility(!1),o.activeAnnotation===this&&o.popup&&"annotation-toolbar"===o.popup.formType&&P(o,"closePopup")),i.visible=t},j.prototype.update=function(t,i){var o=this.chart,n=y(this.userOptions,t),e=o.annotations.indexOf(this);(t=k(!0,this.userOptions,t)).labels=n.labels,t.shapes=n.shapes,this.destroy(),this.constructor(o,t),o.options.annotations[e]=t,this.isUpdating=!0,w(i,!0)&&o.redraw(),P(this,"afterUpdate"),this.isUpdating=!1},j.ControlPoint=p,j.MockPoint=u,j.shapesMap={rect:e,circle:s,ellipse:a,path:r,image:h},j.types={},k(!0,(t=j).prototype,o.prototype,k(t.prototype,{nonDOMEvents:["add","afterUpdate","drag","remove"],defaultOptions:i})),t}),i(t,"masters/modules/annotations.src.js",[t["Core/Globals.js"],t["Extensions/Annotations/Annotation.js"]],function(t,i){(t.Annotation=i).compose(t.Chart,t.Pointer,t.SVGRenderer)})}); \ No newline at end of file diff --git a/assets/js/external/highcharts/modules/arc-diagram.min.js b/assets/js/external/highcharts/modules/arc-diagram.min.js index cf6b7503..94f5fb7d 100644 --- a/assets/js/external/highcharts/modules/arc-diagram.min.js +++ b/assets/js/external/highcharts/modules/arc-diagram.min.js @@ -1 +1 @@ -!function(e){"object"==typeof module&&module.exports?module.exports=e.default=e:"function"==typeof define&&define.amd?define("highcharts/modules/arc-diagram",["highcharts","highcharts/modules/sankey"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,o,i){t.hasOwnProperty(e)||(t[e]=i.apply(null,o),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Series/ArcDiagram/ArcDiagramPoint.js",[t["Series/NodesComposition.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,o){var i,n,s=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});function r(){var t=null!==n&&n.apply(this,arguments)||this;return t.fromNode=void 0,t.index=void 0,t.linksFrom=void 0,t.linksTo=void 0,t.options=void 0,t.series=void 0,t.scale=void 0,t.shapeArgs=void 0,t.toNode=void 0,t}return o=o.extend,n=e.seriesTypes.sankey.prototype.pointClass,s(r,n),r.prototype.isValid=function(){return!0},o((e=r).prototype,{setState:t.setNodeState}),e}),e(t,"Series/ArcDiagram/ArcDiagramSeries.js",[t["Series/ArcDiagram/ArcDiagramPoint.js"],t["Series/Sankey/SankeyColumnComposition.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Renderer/SVG/SVGRenderer.js"],t["Core/Utilities.js"]],function(t,e,i,o,n,s){var r,a,p=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),l=this&&this.__rest||function(t,e){var o={};for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(o[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(t);i=s)return!0;if(1===e.length)return!1;if(void 0===(o=o.allowForce))for(o=!0,s=0,t=t.xAxis;sh(r.dataMin,-1/0)||h(r.max,1/0)=(r.boostThreshold||Number.MAX_VALUE)&&++s)}return i.forceChartBoost=o&&(t===e.length&&0 0.0 ? (value - zMin) / zRange : 0.5;\nif (bubbleSizeByArea && pos > 0.0){\npos = sqrt(pos);\n}\nradius = ceil(bubbleMinSize + pos * (bubbleMaxSize - bubbleMinSize)) / 2.0;\n}\nreturn radius * 2.0;\n}\nfloat translate(float val,\nfloat pointPlacement,\nfloat localA,\nfloat localMin,\nfloat minPixelPadding,\nfloat pointRange,\nfloat len,\nbool cvsCoord,\nbool isLog,\nbool reversed\n){\nfloat sign = 1.0;\nfloat cvsOffset = 0.0;\nif (cvsCoord) {\nsign *= -1.0;\ncvsOffset = len;\n}\nif (isLog) {\nval = log(val) / LN10;\n}\nif (reversed) {\nsign *= -1.0;\ncvsOffset -= sign * len;\n}\nreturn sign * (val - localMin) * localA + cvsOffset + \n(sign * minPixelPadding);\n}\nfloat xToPixels(float value) {\nif (skipTranslation){\nreturn value;// + xAxisPos;\n}\nreturn translate(value, 0.0, xAxisTrans, xAxisMin, xAxisMinPad, xAxisPointRange, xAxisLen, xAxisCVSCoord, xAxisIsLog, xAxisReversed);// + xAxisPos;\n}\nfloat yToPixels(float value, float checkTreshold) {\nfloat v;\nif (skipTranslation){\nv = value;// + yAxisPos;\n} else {\nv = translate(value, 0.0, yAxisTrans, yAxisMin, yAxisMinPad, yAxisPointRange, yAxisLen, yAxisCVSCoord, yAxisIsLog, yAxisReversed);// + yAxisPos;\nif (v > yAxisLen) {\nv = yAxisLen;\n}\n}\nif (checkTreshold > 0.0 && hasThreshold) {\nv = min(v, translatedThreshold);\n}\nreturn v;\n}\nvoid main(void) {\nif (isBubble){\ngl_PointSize = bubbleRadius();\n} else {\ngl_PointSize = pSize;\n}\nvColor = aColor;\nif (skipTranslation && isInverted) {\ngl_Position = uPMatrix * vec4(aVertexPosition.y + yAxisPos, aVertexPosition.x + xAxisPos, 0.0, 1.0);\n} else if (isInverted) {\ngl_Position = uPMatrix * vec4(yToPixels(aVertexPosition.y, aVertexPosition.z) + yAxisPos, xToPixels(aVertexPosition.x) + xAxisPos, 0.0, 1.0);\n} else {\ngl_Position = uPMatrix * vec4(xToPixels(aVertexPosition.x) + xAxisPos, yToPixels(aVertexPosition.y, aVertexPosition.z) + yAxisPos, 0.0, 1.0);\n}\n}","vertex"),o=this.stringToProgram("precision highp float;\nuniform vec4 fillColor;\nvarying highp vec2 position;\nvarying highp vec4 vColor;\nuniform sampler2D uSampler;\nuniform bool isCircle;\nuniform bool hasColor;\nvoid main(void) {\nvec4 col = fillColor;\nvec4 tcol = texture2D(uSampler, gl_PointCoord.st);\nif (hasColor) {\ncol = vColor;\n}\nif (isCircle) {\ncol *= tcol;\nif (tcol.r < 0.0) {\ndiscard;\n} else {\ngl_FragColor = col;\n}\n} else {\ngl_FragColor = col;\n}\n}","fragment");return i&&o?(this.shaderProgram=this.gl.createProgram(),this.gl.attachShader(this.shaderProgram,i),this.gl.attachShader(this.shaderProgram,o),this.gl.linkProgram(this.shaderProgram),this.gl.getProgramParameter(this.shaderProgram,this.gl.LINK_STATUS)?(this.gl.useProgram(this.shaderProgram),this.gl.bindAttribLocation(this.shaderProgram,0,"aVertexPosition"),this.pUniform=t("uPMatrix"),this.psUniform=t("pSize"),this.fcUniform=t("fillColor"),this.isBubbleUniform=t("isBubble"),this.bubbleSizeAbsUniform=t("bubbleSizeAbs"),this.bubbleSizeAreaUniform=t("bubbleSizeByArea"),this.uSamplerUniform=t("uSampler"),this.skipTranslationUniform=t("skipTranslation"),this.isCircleUniform=t("isCircle"),this.isInverted=t("isInverted"),!0):(this.errors.push(this.gl.getProgramInfoLog(this.shaderProgram)),this.handleErrors(),this.shaderProgram=!1)):(this.shaderProgram=!1,this.handleErrors(),!1)},i.prototype.handleErrors=function(){this.errors.length&&e("[highcharts boost] shader error - "+this.errors.join("\n"))},i.prototype.stringToProgram=function(t,e){var i=this.gl.createShader("vertex"===e?this.gl.VERTEX_SHADER:this.gl.FRAGMENT_SHADER);return this.gl.shaderSource(i,t),this.gl.compileShader(i),this.gl.getShaderParameter(i,this.gl.COMPILE_STATUS)?i:(this.errors.push("when compiling "+e+" shader:\n"+this.gl.getShaderInfoLog(i)),!1)},i.prototype.destroy=function(){this.gl&&this.shaderProgram&&(this.gl.deleteProgram(this.shaderProgram),this.shaderProgram=!1)},i.prototype.fillColorUniform=function(){return this.fcUniform},i.prototype.getProgram=function(){return this.shaderProgram},i.prototype.pointSizeUniform=function(){return this.psUniform},i.prototype.perspectiveUniform=function(){return this.pUniform},i.prototype.reset=function(){this.gl&&this.shaderProgram&&(this.gl.uniform1i(this.isBubbleUniform,0),this.gl.uniform1i(this.isCircleUniform,0))},i.prototype.setBubbleUniforms=function(t,e,i,o){void 0===o&&(o=1);var s,r=t.options,n=Number.MAX_VALUE,a=-Number.MAX_VALUE;this.gl&&this.shaderProgram&&t.is("bubble")&&(s=t.getPxExtremes(),n=h(r.zMin,l(e,!1===r.displayNegative?r.zThreshold:-Number.MAX_VALUE,n)),a=h(r.zMax,Math.max(a,i)),this.gl.uniform1i(this.isBubbleUniform,1),this.gl.uniform1i(this.isCircleUniform,1),this.gl.uniform1i(this.bubbleSizeAreaUniform,"width"!==t.options.sizeBy),this.gl.uniform1i(this.bubbleSizeAbsUniform,t.options.sizeByAbsoluteValue),this.setUniform("bubbleMinSize",s.minPxSize*o),this.setUniform("bubbleMaxSize",s.maxPxSize*o),this.setUniform("bubbleZMin",n),this.setUniform("bubbleZMax",a),this.setUniform("bubbleZThreshold",t.options.zThreshold))},i.prototype.setColor=function(t){this.gl&&this.shaderProgram&&this.gl.uniform4f(this.fcUniform,t[0]/255,t[1]/255,t[2]/255,t[3])},i.prototype.setDrawAsCircle=function(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.isCircleUniform,t?1:0)},i.prototype.setInverted=function(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.isInverted,t)},i.prototype.setPMatrix=function(t){this.gl&&this.shaderProgram&&this.gl.uniformMatrix4fv(this.pUniform,!1,t)},i.prototype.setPointSize=function(t){this.gl&&this.shaderProgram&&this.gl.uniform1f(this.psUniform,t)},i.prototype.setSkipTranslation=function(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.skipTranslationUniform,!0===t?1:0)},i.prototype.setTexture=function(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.uSamplerUniform,t)},i.prototype.setUniform=function(t,e){this.gl&&this.shaderProgram&&(t=this.uLocations[t]=this.uLocations[t]||this.gl.getUniformLocation(this.shaderProgram,t),this.gl.uniform1f(t,e))},i;function i(t){this.errors=[],this.uLocations={},(this.gl=t)&&this.createShader()}}),e(t,"Extensions/Boost/WGLVertexBuffer.js",[],function(){return t.prototype.allocate=function(t){this.iterator=-1,this.preAllocated=new Float32Array(4*t)},t.prototype.bind=function(){if(!this.buffer)return!1;this.gl.vertexAttribPointer(this.vertAttribute,this.components,this.gl.FLOAT,!1,0,0)},t.prototype.build=function(t,e,i){var o;return this.data=t||[],this.data&&0!==this.data.length||this.preAllocated?(this.components=i||this.components,this.buffer&&this.gl.deleteBuffer(this.buffer),this.preAllocated||(o=new Float32Array(this.data)),this.buffer=this.gl.createBuffer(),this.gl.bindBuffer(this.gl.ARRAY_BUFFER,this.buffer),this.gl.bufferData(this.gl.ARRAY_BUFFER,this.preAllocated||o,this.gl.STATIC_DRAW),this.vertAttribute=this.gl.getAttribLocation(this.shader.getProgram(),e),this.gl.enableVertexAttribArray(this.vertAttribute),!0):(this.destroy(),!1)},t.prototype.destroy=function(){this.buffer&&(this.gl.deleteBuffer(this.buffer),this.vertAttribute=this.buffer=!1),this.iterator=0,this.components=this.dataComponents||2,this.data=[]},t.prototype.push=function(t,e,i,o){this.preAllocated&&(this.preAllocated[++this.iterator]=t,this.preAllocated[++this.iterator]=e,this.preAllocated[++this.iterator]=i,this.preAllocated[++this.iterator]=o)},t.prototype.render=function(t,e,i){var o=(this.preAllocated||this.data).length;return!(!this.buffer||!o)&&(!((e=!e||oe.node.levelDynamic)return 1;if(t.node.levelDynamicr.zMax&&(r.zMax=e[2]),e[2]r.zMax&&(r.zMax=b[C]),b[C]f&&(v.x=s,v.y=l),null===l&&F?"continue":null!==l&&(it||$||tt)?(et=(f<=R||f<=s)&&(M<=g||s<=g)||et)||$||tt?(st&&st=i.value)&&(o=B[e]),!0):void 0!==t.value&&l<=t.value&&(B[e]&&(!i||l>=i.value)&&(o=B[e]),!0)}),U=o||k||U),!u.useGPUTranslations&&(r.skipTranslation=!0,s=j.toPixels(s,!0),l=A.toPixels(l,!0),q-Number.MAX_VALUE&&t(y))}nt()}},v.prototype.pushSeries=function(t){var e=this.markerData,i=this.series,o=this.settings;0=i.length?i.push(e):i[t.index]=e,this.pushSeriesData(t,e),o.debug.timeSeriesProcessing&&console.timeEnd("building "+t.type+" series")},v.prototype.flush=function(){var t=this.vbuffer;this.data=[],this.markerData=[],this.series=[],t&&t.destroy()},v.prototype.setXAxis=function(t){var e,i=this.shader;i&&(e=this.getPixelRatio(),i.setUniform("xAxisTrans",t.transA*e),i.setUniform("xAxisMin",t.min),i.setUniform("xAxisMinPad",t.minPixelPadding*e),i.setUniform("xAxisPointRange",t.pointRange),i.setUniform("xAxisLen",t.len*e),i.setUniform("xAxisPos",t.pos*e),i.setUniform("xAxisCVSCoord",!t.horiz),i.setUniform("xAxisIsLog",!!t.logarithmic),i.setUniform("xAxisReversed",!!t.reversed))},v.prototype.setYAxis=function(t){var e,i=this.shader;i&&(e=this.getPixelRatio(),i.setUniform("yAxisTrans",t.transA*e),i.setUniform("yAxisMin",t.min),i.setUniform("yAxisMinPad",t.minPixelPadding*e),i.setUniform("yAxisPointRange",t.pointRange),i.setUniform("yAxisLen",t.len*e),i.setUniform("yAxisPos",t.pos*e),i.setUniform("yAxisCVSCoord",!t.horiz),i.setUniform("yAxisIsLog",!!t.logarithmic),i.setUniform("yAxisReversed",!!t.reversed))},v.prototype.setThreshold=function(t,e){var i=this.shader;i&&(i.setUniform("hasThreshold",t),i.setUniform("translatedThreshold",e))},v.prototype.renderChart=function(l){var h=this,c=this.gl,u=this.settings,p=this.shader,d=this.vbuffer,f=this.getPixelRatio();if(!l)return!1;this.width=l.chartWidth*f,this.height=l.chartHeight*f;var t=this.height,e=this.width;if(!(c&&p&&e&&t))return!1;u.debug.timeRendering&&console.time("gl rendering"),c.canvas.width=e,c.canvas.height=t,p.bind(),c.viewport(0,0,e,t),p.setPMatrix(v.orthoMatrix(e,t)),12*((i.marker?i.marker.radius:10)||10)),o=h.textureHandles[o&&o.symbol||t.series.symbol]||h.textureHandles.circle;if(0!==t.segments.length&&t.segments[0].from!==t.segments[0].to&&(o.isReady&&(c.bindTexture(c.TEXTURE_2D,o.handle),p.setTexture(o.handle)),l.styledMode?o=t.series.markerGroup&&t.series.markerGroup.getStyle("fill"):(o="POINTS"===t.drawMode&&t.series.pointAttribs&&t.series.pointAttribs().fill||t.series.color,i.colorByPoint&&(o=t.series.chart.options.colors[e])),t.series.fillOpacity&&i.fillOpacity&&(o=new g(o).setOpacity(A(i.fillOpacity,1)).get()),o=at(o).rgba,u.useAlpha||(o[3]=1),"LINES"===t.drawMode&&u.useAlpha&&o[3]<1&&(o[3]/=10),"add"===i.boostBlending?(c.blendFunc(c.SRC_ALPHA,c.ONE),c.blendEquation(c.FUNC_ADD)):"mult"===i.boostBlending||"multiply"===i.boostBlending?c.blendFunc(c.DST_COLOR,c.ZERO):"darken"===i.boostBlending?(c.blendFunc(c.ONE,c.ONE),c.blendEquation(c.FUNC_MIN)):c.blendFuncSeparate(c.SRC_ALPHA,c.ONE_MINUS_SRC_ALPHA,c.ONE,c.ONE_MINUS_SRC_ALPHA),p.reset(),0(i.boostThreshold||Number.MAX_VALUE)&&R(s.min)&&R(s.max)&&(!e||R(o.min)&&R(o.max))&&(!t||R(t.min)&&R(t.max))}function f(){var e=this,t=e.chart;t.boost&&t.boost.markerGroup===e.markerGroup&&(e.markerGroup=null),t.hoverPoints&&(t.hoverPoints=t.hoverPoints.filter(function(t){return t.series===e})),t.hoverPoint&&t.hoverPoint.series===e&&(t.hoverPoint=null)}function g(){var t=this.boost;t&&t.canvas&&t.target&&(t.wgl&&t.wgl.clear(),t.clear&&t.clear())}function z(t){var e=t.boost;e&&e.canvas&&e.target&&e.wgl&&!_(t.chart)&&e.wgl.render(t.chart)}function h(t,e){var i=t.options,o=t.xAxis,s=t.pointClass;return e instanceof s?e:(i=t.xData||i.xData||t.processedXData||!1,(s=(new s).init(t,t.options.data[e.i],i?i[e.i]:void 0)).category=r(o.categories?o.categories[s.x]:s.x,s.x),s.dist=e.dist,s.distX=e.distX,s.plotX=e.plotX,s.plotY=e.plotY,s.index=e.i,s.isInside=t.isPointInside(s),s)}function m(){var t=this,e=this.options||{},a=this.chart,l=this.xAxis,h=this.yAxis,i=e.xData||this.processedXData,c=e.yData||this.processedYData,o=e.data,s=l.getExtremes(),u=s.min,p=s.max,d=(s=h.getExtremes()).min,f=s.max,r={},g=!!this.sampling,n=!1!==e.enableMouseTracking,m=(s=e.threshold,this.pointArrayMap&&"low,high"===this.pointArrayMap.join(",")),b=!!e.stacking,A=this.cropStart||0,x=this.requireSorting,v=!i,y="x"===e.findNearestPointBy,P=this.xData||this.options.xData||this.processedXData||!1;e=!1;var T,E,S,C,M,R,U,k,w=h.getThreshold(s);e=D(a,this),a.boosted=!0,this.visible&&((this.points||this.graph)&&L(this),_(a)?(this.markerGroup&&this.markerGroup!==a.boost.markerGroup&&this.markerGroup.destroy(),this.markerGroup=a.boost.markerGroup,this.boost&&this.boost.target&&(this.renderTarget=this.boost.target=this.boost.target.destroy())):(a.boost&&this.markerGroup===a.boost.markerGroup&&(this.markerGroup=void 0),this.markerGroup=this.plotGroup("markerGroup","markers",!0,1,a.seriesGroup)),R=this.points=[],U=function(t,e,i){t=Math.ceil(t),I=y?t:t+","+e,n&&!r[I]&&(r[I]=!0,a.inverted&&(t=l.len-t,e=h.len-e),R.push({x:!!P&&P[A+i],clientX:t,plotX:t,plotY:e,i:A+i}))},this.buildKDTree=O,e&&(B(e,this),e.pushSeries(this),z(this)),k=e.settings,e=function(){V(t,"renderedCanvas"),delete t.buildKDTree,t.buildKDTree(),k.debug.timeKDTree&&console.timeEnd("kd tree building")},a.renderer.forExport||(k.debug.timeKDTree&&console.time("kd tree building"),N(b?this.data:i||o,function(t,e){var i,o,s=void 0===a.index,r=!1,n=!0;return void 0===t||(s||(o=v?(i=t[0],t[1]):(i=t,c[e]),m?(r=(o=v?t.slice(1,3):o)[0],o=o[1]):b&&(i=t.x,r=(o=t.stackY)-t.y),x||(n=d<=(o||0)&&o<=f),null!==o&&u<=i&&i<=p&&n&&(t=l.toPixels(i,!0),g?(void 0!==C&&t!==T||(m||(r=o),(void 0===M||S=(r.options.boostThreshold||Number.MAX_VALUE))}var i,o,s,r=this,n=this.options.data;d(this.chart)&&u[this.type]?(e(n)&&"heatmap"!==this.type&&"treemap"!==this.type&&!this.options.stacking&&a(this,!0)||(t.apply(this,[].slice.call(arguments,1)),n=this.processedXData),(this.boosted=e(n))?(n=void 0,this.options.data&&this.options.data.length&&(n=this.getFirstValidPoint(this.options.data),R(n)||X(n)||C(12,!1,this.chart)),(o=this).boost=o.boost||{getPoint:function(t){return h(o,t)}},s=o.boost.altered=[],["allowDG","directTouch","stickyTracking"].forEach(function(t){s.push({prop:t,val:o[t],own:Object.hasOwnProperty.call(o,t)})}),o.allowDG=!1,o.directTouch=!1,o.stickyTracking=!0,o.finishedAnimating=!0,o.labelBySeries&&(o.labelBySeries=o.labelBySeries.destroy())):(n=(i=this).boost)&&((n.altered||[]).forEach(function(t){t.own?i[t.prop]=t.val:delete i[t.prop]}),n.clear&&n.clear())):t.apply(this,[].slice.call(arguments,1))}function P(t){var e=t.apply(this,[].slice.call(arguments,1));return this.boost&&e?this.boost.getPoint(e):e}var I,c,w=t.getBoostClipRect,_=t.isChartSeriesBoosting,T=e.getOptions,G=i.doc,O=i.noop,E=i.win,S=o.addEvent,C=o.error,M=o.extend,V=o.fireEvent,X=o.isArray,R=o.isNumber,r=o.pick,U=o.wrap,k=[];return{compose:function(t,s,e){var r,i,o,n,a,l,h,c=t.prototype.pointClass;return-1===k.indexOf(c)&&(k.push(c),U(c.prototype,"haloPath",b)),-1===k.indexOf(t)&&(k.push(t),S(t,"destroy",f),S(t,"hide",g),r=t.prototype,e&&(r.renderCanvas=m),U(r,"getExtremes",x),U(r,"markerAttribs",v),U(r,"processData",y),U(r,"searchPoint",P),["translate","generatePoints","drawTracker","drawPoints","render"].forEach(function(t){return i=s,U(r,o=t,e),void("translate"===o&&["column","arearange","columnrange","heatmap","treemap"].forEach(function(t){i[t]&&U(i[t].prototype,o,e)}));function e(t){var e=this.options.stacking&&("translate"===o||"generatePoints"===o);this.boosted&&!e&&d(this.chart)&&"heatmap"!==this.type&&"treemap"!==this.type&&u[this.type]&&0!==this.options.boostThreshold?"render"===o&&this.renderCanvas&&this.renderCanvas():t.call(this)}var i,o})),-1===k.indexOf(T)&&(k.push(T),i=T().plotOptions,p.forEach(function(t){var e=i[t];e&&(e.boostThreshold=5e3,e.boostData=[],s[t].prototype.fillOpacity=!0)})),e&&(o=s.area,n=s.areaspline,a=s.bubble,e=s.column,c=s.heatmap,l=s.scatter,h=s.treemap,o&&-1===k.indexOf(o)&&(k.push(o),M(o.prototype,{fill:!0,fillOpacity:!0,sampling:!0})),n&&-1===k.indexOf(n)&&(k.push(n),M(n.prototype,{fill:!0,fillOpacity:!0,sampling:!0})),a&&-1===k.indexOf(a)&&(k.push(a),delete(o=a.prototype).buildKDTree,U(o,"markerAttribs",function(t){return!this.boosted&&t.apply(this,[].slice.call(arguments,1))})),e&&-1===k.indexOf(e)&&(k.push(e),M(e.prototype,{fill:!0,sampling:!0})),l&&-1===k.indexOf(l)&&(k.push(l),l.prototype.fill=!0),[c,h].forEach(function(t){t&&-1===k.indexOf(t)&&(k.push(t),U(t.prototype,"drawPoints",A))})),t},destroyGraphics:L,getPoint:h}}),e(t,"Extensions/BoostCanvas.js",[t["Extensions/Boost/BoostChart.js"],t["Extensions/Boost/BoostSeries.js"],t["Core/Chart/Chart.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,i,q,Q,o,s,J){var $,l=t.getBoostClipRect,h=t.isChartSeriesBoosting,tt=e.destroyGraphics,et=q.parse,c=Q.doc,it=Q.noop,r=s.seriesTypes,ot=J.addEvent,st=J.extend,rt=J.fireEvent,nt=J.isNumber,at=J.merge,lt=J.pick,u=J.wrap;return function(){Q.seriesTypes.heatmap&&u(Q.seriesTypes.heatmap.prototype,"drawPoints",function(){var r=this.chart,n=this.getContext(),a=this.chart.inverted,l=this.xAxis,h=this.yAxis;n?(this.points.forEach(function(t){var e,i,o,s=t.plotY;void 0!==s&&!isNaN(s)&&null!==t.y&&n&&(s=void 0===(s=(o=t.shapeArgs||{}).x)?0:s,e=void 0===(e=o.y)?0:e,i=void 0===(i=o.width)?0:i,o=void 0===(o=o.height)?0:o,t=r.styledMode?t.series.colorAttribs(t):t.series.pointAttribs(t),n.fillStyle=t.fill,a?n.fillRect(h.len-e+l.left,l.len-s+h.top,-o,-i):n.fillRect(s+l.left,e+h.top,i,o))}),this.canvasToSVG()):this.chart.showLoading("Your browser doesn't support HTML5 canvas,
please use a modern browser")}),st(o.prototype,{getContext:function(){function e(t,e,i,o,s,r,n){t.call(this,i,e,o,s,r,n)}var t=this.chart,i=h(t)?t:this,o=i===t?t.seriesGroup:t.seriesGroup||this.group,s=t.chartWidth,r=t.chartHeight,n=i.boost=i.boost||{},a=n.targetCtx;return n.canvas||(n.canvas=c.createElement("canvas"),n.target=t.renderer.image("",0,0,s,r).addClass("highcharts-boost-canvas").add(o),a=n.targetCtx=n.canvas.getContext("2d"),t.inverted&&["moveTo","lineTo","rect","arc"].forEach(function(t){u(a,t,e)}),n.copy=function(){n.target.attr({href:n.canvas.toDataURL("image/png")})},n.clear=function(){a.clearRect(0,0,n.canvas.width,n.canvas.height),i===n.target&&n.target.attr({href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="})},n.clipRect=t.renderer.clipRect(),n.target.clip(n.clipRect)),n.canvas.width!==s&&(n.canvas.width=s),n.canvas.height!==r&&(n.canvas.height=r),n.target.attr({x:0,y:0,width:s,height:r,style:"pointer-events: none",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="}),n.clipRect&&n.clipRect.attr(l(t,i)),a},canvasToSVG:function(){h(this.chart)?this.boost&&this.boost.clear&&this.boost.clear():this.boost&&this.boost.copy?this.boost.copy():this.chart.boost&&this.chart.boost.copy&&this.chart.boost.copy()},cvsLineTo:function(t,e,i){t.lineTo(e,i)},renderCanvas:function(){function u(t,e,i,o){0===r&&(N.beginPath(),S&&(N.lineJoin="round")),v.scroller&&"highcharts-navigator-series"===x.options.className?(e+=v.scroller.top,i&&(i+=v.scroller.top)):e+=v.plotTop,t+=v.plotLeft,f?N.moveTo(t,e):c?c(N,t,e,i,s):S?S(N,t,e):C&&C.call(x,N,t,e,h,o),(r+=1)===O&&(H(),r=0),s={clientX:t,plotY:e,yBottom:i}}function p(t,e,i){o=W?t:t+","+e,V&&!l[o]&&(l[o]=!0,v.inverted&&(t=y.len-t,e=P.len-e),Z.push({x:!!K&&K[B+i],clientX:t,plotX:t,plotY:e,i:B+i}))}var d,s,f,g,m,b,A,o,x=this,t=x.options,v=x.chart,y=this.xAxis,P=this.yAxis,i=(v.options.boost||{}).timeRendering||!1,r=0,e=x.processedXData,z=x.processedYData,n=t.data,a=y.getExtremes(),T=a.min,E=a.max,I=(a=P.getExtremes()).min,_=a.max,l={},G=!!x.sampling,h=t.marker&&t.marker.radius,c=this.cvsDrawPoint,S=t.lineWidth?this.cvsLineTo:void 0,C=h&&h<=1?this.cvsMarkerSquare:this.cvsMarkerCircle,O=this.cvsStrokeBatch||1e3,V=!1!==t.enableMouseTracking,M=(a=t.threshold,P.getThreshold(a)),R=nt(a),U=M,X=this.fill,k=x.pointArrayMap&&"low,high"===x.pointArrayMap.join(","),w=!!t.stacking,B=x.cropStart||0,j=(a=v.options.loading,x.requireSorting),Y=t.connectNulls,D=!e,L=w?x.data:e||n,F=x.fillOpacity?q.parse(x.color).setOpacity(lt(t.fillOpacity,.75)).get():x.color,H=function(){X?(N.fillStyle=F,N.fill()):(N.strokeStyle=x.color,N.lineWidth=t.lineWidth,N.stroke())},W="x"===t.findNearestPointBy,K=this.xData||this.options.xData||this.processedXData||!1,Z=((e=this.boost||{}).target&&e.target.attr({href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="}),(this.points||this.graph)&&tt(this),x.plotGroup("group","series",x.visible?"visible":"hidden",t.zIndex,v.seriesGroup),x.markerGroup=x.group,ot(x,"destroy",function(){x.markerGroup=null}),this.points=[]),N=this.getContext();x.buildKDTree=it,e.clear&&e.clear(),this.visible&&(99999=s)return!0;if(1===e.length)return!1;if(void 0===(o=o.allowForce))for(o=!0,s=0,t=t.xAxis;sh(r.dataMin,-1/0)||h(r.max,1/0)=(r.boostThreshold||Number.MAX_VALUE)&&++s)}return i.forceChartBoost=o&&(t===e.length&&0 0.0 ? (value - zMin) / zRange : 0.5;\nif (bubbleSizeByArea && pos > 0.0){\npos = sqrt(pos);\n}\nradius = ceil(bubbleMinSize + pos * (bubbleMaxSize - bubbleMinSize)) / 2.0;\n}\nreturn radius * 2.0;\n}\nfloat translate(float val,\nfloat pointPlacement,\nfloat localA,\nfloat localMin,\nfloat minPixelPadding,\nfloat pointRange,\nfloat len,\nbool cvsCoord,\nbool isLog,\nbool reversed\n){\nfloat sign = 1.0;\nfloat cvsOffset = 0.0;\nif (cvsCoord) {\nsign *= -1.0;\ncvsOffset = len;\n}\nif (isLog) {\nval = log(val) / LN10;\n}\nif (reversed) {\nsign *= -1.0;\ncvsOffset -= sign * len;\n}\nreturn sign * (val - localMin) * localA + cvsOffset + \n(sign * minPixelPadding);\n}\nfloat xToPixels(float value) {\nif (skipTranslation){\nreturn value;// + xAxisPos;\n}\nreturn translate(value, 0.0, xAxisTrans, xAxisMin, xAxisMinPad, xAxisPointRange, xAxisLen, xAxisCVSCoord, xAxisIsLog, xAxisReversed);// + xAxisPos;\n}\nfloat yToPixels(float value, float checkTreshold) {\nfloat v;\nif (skipTranslation){\nv = value;// + yAxisPos;\n} else {\nv = translate(value, 0.0, yAxisTrans, yAxisMin, yAxisMinPad, yAxisPointRange, yAxisLen, yAxisCVSCoord, yAxisIsLog, yAxisReversed);// + yAxisPos;\nif (v > yAxisLen) {\nv = yAxisLen;\n}\n}\nif (checkTreshold > 0.0 && hasThreshold) {\nv = min(v, translatedThreshold);\n}\nreturn v;\n}\nvoid main(void) {\nif (isBubble){\ngl_PointSize = bubbleRadius();\n} else {\ngl_PointSize = pSize;\n}\nvColor = aColor;\nif (skipTranslation && isInverted) {\ngl_Position = uPMatrix * vec4(aVertexPosition.y + yAxisPos, aVertexPosition.x + xAxisPos, 0.0, 1.0);\n} else if (isInverted) {\ngl_Position = uPMatrix * vec4(yToPixels(aVertexPosition.y, aVertexPosition.z) + yAxisPos, xToPixels(aVertexPosition.x) + xAxisPos, 0.0, 1.0);\n} else {\ngl_Position = uPMatrix * vec4(xToPixels(aVertexPosition.x) + xAxisPos, yToPixels(aVertexPosition.y, aVertexPosition.z) + yAxisPos, 0.0, 1.0);\n}\n}","vertex"),o=this.stringToProgram("precision highp float;\nuniform vec4 fillColor;\nvarying highp vec2 position;\nvarying highp vec4 vColor;\nuniform sampler2D uSampler;\nuniform bool isCircle;\nuniform bool hasColor;\nvoid main(void) {\nvec4 col = fillColor;\nvec4 tcol = texture2D(uSampler, gl_PointCoord.st);\nif (hasColor) {\ncol = vColor;\n}\nif (isCircle) {\ncol *= tcol;\nif (tcol.r < 0.0) {\ndiscard;\n} else {\ngl_FragColor = col;\n}\n} else {\ngl_FragColor = col;\n}\n}","fragment");return i&&o?(this.shaderProgram=this.gl.createProgram(),this.gl.attachShader(this.shaderProgram,i),this.gl.attachShader(this.shaderProgram,o),this.gl.linkProgram(this.shaderProgram),this.gl.getProgramParameter(this.shaderProgram,this.gl.LINK_STATUS)?(this.gl.useProgram(this.shaderProgram),this.gl.bindAttribLocation(this.shaderProgram,0,"aVertexPosition"),this.pUniform=t("uPMatrix"),this.psUniform=t("pSize"),this.fcUniform=t("fillColor"),this.isBubbleUniform=t("isBubble"),this.bubbleSizeAbsUniform=t("bubbleSizeAbs"),this.bubbleSizeAreaUniform=t("bubbleSizeByArea"),this.uSamplerUniform=t("uSampler"),this.skipTranslationUniform=t("skipTranslation"),this.isCircleUniform=t("isCircle"),this.isInverted=t("isInverted"),!0):(this.errors.push(this.gl.getProgramInfoLog(this.shaderProgram)),this.handleErrors(),this.shaderProgram=!1)):(this.shaderProgram=!1,this.handleErrors(),!1)},i.prototype.handleErrors=function(){this.errors.length&&e("[highcharts boost] shader error - "+this.errors.join("\n"))},i.prototype.stringToProgram=function(t,e){var i=this.gl.createShader("vertex"===e?this.gl.VERTEX_SHADER:this.gl.FRAGMENT_SHADER);return this.gl.shaderSource(i,t),this.gl.compileShader(i),this.gl.getShaderParameter(i,this.gl.COMPILE_STATUS)?i:(this.errors.push("when compiling "+e+" shader:\n"+this.gl.getShaderInfoLog(i)),!1)},i.prototype.destroy=function(){this.gl&&this.shaderProgram&&(this.gl.deleteProgram(this.shaderProgram),this.shaderProgram=!1)},i.prototype.fillColorUniform=function(){return this.fcUniform},i.prototype.getProgram=function(){return this.shaderProgram},i.prototype.pointSizeUniform=function(){return this.psUniform},i.prototype.perspectiveUniform=function(){return this.pUniform},i.prototype.reset=function(){this.gl&&this.shaderProgram&&(this.gl.uniform1i(this.isBubbleUniform,0),this.gl.uniform1i(this.isCircleUniform,0))},i.prototype.setBubbleUniforms=function(t,e,i,o){void 0===o&&(o=1);var s,r=t.options,n=Number.MAX_VALUE,a=-Number.MAX_VALUE;this.gl&&this.shaderProgram&&t.is("bubble")&&(s=t.getPxExtremes(),n=h(r.zMin,l(e,!1===r.displayNegative?r.zThreshold:-Number.MAX_VALUE,n)),a=h(r.zMax,Math.max(a,i)),this.gl.uniform1i(this.isBubbleUniform,1),this.gl.uniform1i(this.isCircleUniform,1),this.gl.uniform1i(this.bubbleSizeAreaUniform,"width"!==t.options.sizeBy),this.gl.uniform1i(this.bubbleSizeAbsUniform,t.options.sizeByAbsoluteValue),this.setUniform("bubbleMinSize",s.minPxSize*o),this.setUniform("bubbleMaxSize",s.maxPxSize*o),this.setUniform("bubbleZMin",n),this.setUniform("bubbleZMax",a),this.setUniform("bubbleZThreshold",t.options.zThreshold))},i.prototype.setColor=function(t){this.gl&&this.shaderProgram&&this.gl.uniform4f(this.fcUniform,t[0]/255,t[1]/255,t[2]/255,t[3])},i.prototype.setDrawAsCircle=function(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.isCircleUniform,t?1:0)},i.prototype.setInverted=function(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.isInverted,t)},i.prototype.setPMatrix=function(t){this.gl&&this.shaderProgram&&this.gl.uniformMatrix4fv(this.pUniform,!1,t)},i.prototype.setPointSize=function(t){this.gl&&this.shaderProgram&&this.gl.uniform1f(this.psUniform,t)},i.prototype.setSkipTranslation=function(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.skipTranslationUniform,!0===t?1:0)},i.prototype.setTexture=function(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.uSamplerUniform,t)},i.prototype.setUniform=function(t,e){this.gl&&this.shaderProgram&&(t=this.uLocations[t]=this.uLocations[t]||this.gl.getUniformLocation(this.shaderProgram,t),this.gl.uniform1f(t,e))},i;function i(t){this.errors=[],this.uLocations={},(this.gl=t)&&this.createShader()}}),e(t,"Extensions/Boost/WGLVertexBuffer.js",[],function(){return t.prototype.allocate=function(t){this.iterator=-1,this.preAllocated=new Float32Array(4*t)},t.prototype.bind=function(){if(!this.buffer)return!1;this.gl.vertexAttribPointer(this.vertAttribute,this.components,this.gl.FLOAT,!1,0,0)},t.prototype.build=function(t,e,i){var o;return this.data=t||[],this.data&&0!==this.data.length||this.preAllocated?(this.components=i||this.components,this.buffer&&this.gl.deleteBuffer(this.buffer),this.preAllocated||(o=new Float32Array(this.data)),this.buffer=this.gl.createBuffer(),this.gl.bindBuffer(this.gl.ARRAY_BUFFER,this.buffer),this.gl.bufferData(this.gl.ARRAY_BUFFER,this.preAllocated||o,this.gl.STATIC_DRAW),this.vertAttribute=this.gl.getAttribLocation(this.shader.getProgram(),e),this.gl.enableVertexAttribArray(this.vertAttribute),!0):(this.destroy(),!1)},t.prototype.destroy=function(){this.buffer&&(this.gl.deleteBuffer(this.buffer),this.vertAttribute=this.buffer=!1),this.iterator=0,this.components=this.dataComponents||2,this.data=[]},t.prototype.push=function(t,e,i,o){this.preAllocated&&(this.preAllocated[++this.iterator]=t,this.preAllocated[++this.iterator]=e,this.preAllocated[++this.iterator]=i,this.preAllocated[++this.iterator]=o)},t.prototype.render=function(t,e,i){var o=(this.preAllocated||this.data).length;return!(!this.buffer||!o)&&(!((e=!e||oe.node.levelDynamic)return 1;if(t.node.levelDynamicr.zMax&&(r.zMax=e[2]),e[2]r.zMax&&(r.zMax=b[C]),b[C]f&&(v.x=s,v.y=l),null===l&&Y?"continue":null!==l&&(it||$||tt)?(et=(f<=R||f<=s)&&(M<=g||s<=g)||et)||$||tt?(st&&st=i.value)&&(o=B[e]),!0):void 0!==t.value&&l<=t.value&&(B[e]&&(!i||l>=i.value)&&(o=B[e]),!0)}),U=o||k||U),!u.useGPUTranslations&&(r.skipTranslation=!0,s=j.toPixels(s,!0),l=A.toPixels(l,!0),q-Number.MAX_VALUE&&t(y))}nt()}},v.prototype.pushSeries=function(t){var e=this.markerData,i=this.series,o=this.settings;0=i.length?i.push(e):i[t.index]=e,this.pushSeriesData(t,e),o.debug.timeSeriesProcessing&&console.timeEnd("building "+t.type+" series")},v.prototype.flush=function(){var t=this.vbuffer;this.data=[],this.markerData=[],this.series=[],t&&t.destroy()},v.prototype.setXAxis=function(t){var e,i=this.shader;i&&(e=this.getPixelRatio(),i.setUniform("xAxisTrans",t.transA*e),i.setUniform("xAxisMin",t.min),i.setUniform("xAxisMinPad",t.minPixelPadding*e),i.setUniform("xAxisPointRange",t.pointRange),i.setUniform("xAxisLen",t.len*e),i.setUniform("xAxisPos",t.pos*e),i.setUniform("xAxisCVSCoord",!t.horiz),i.setUniform("xAxisIsLog",!!t.logarithmic),i.setUniform("xAxisReversed",!!t.reversed))},v.prototype.setYAxis=function(t){var e,i=this.shader;i&&(e=this.getPixelRatio(),i.setUniform("yAxisTrans",t.transA*e),i.setUniform("yAxisMin",t.min),i.setUniform("yAxisMinPad",t.minPixelPadding*e),i.setUniform("yAxisPointRange",t.pointRange),i.setUniform("yAxisLen",t.len*e),i.setUniform("yAxisPos",t.pos*e),i.setUniform("yAxisCVSCoord",!t.horiz),i.setUniform("yAxisIsLog",!!t.logarithmic),i.setUniform("yAxisReversed",!!t.reversed))},v.prototype.setThreshold=function(t,e){var i=this.shader;i&&(i.setUniform("hasThreshold",t),i.setUniform("translatedThreshold",e))},v.prototype.renderChart=function(l){var h=this,c=this.gl,u=this.settings,d=this.shader,p=this.vbuffer,f=this.getPixelRatio();if(!l)return!1;this.width=l.chartWidth*f,this.height=l.chartHeight*f;var t=this.height,e=this.width;if(!(c&&d&&e&&t))return!1;u.debug.timeRendering&&console.time("gl rendering"),c.canvas.width=e,c.canvas.height=t,d.bind(),c.viewport(0,0,e,t),d.setPMatrix(v.orthoMatrix(e,t)),12*((i.marker?i.marker.radius:10)||10)),o=h.textureHandles[o&&o.symbol||t.series.symbol]||h.textureHandles.circle;if(0!==t.segments.length&&t.segments[0].from!==t.segments[0].to&&(o.isReady&&(c.bindTexture(c.TEXTURE_2D,o.handle),d.setTexture(o.handle)),l.styledMode?o=t.series.markerGroup&&t.series.markerGroup.getStyle("fill"):(o="POINTS"===t.drawMode&&t.series.pointAttribs&&t.series.pointAttribs().fill||t.series.color,i.colorByPoint&&(o=t.series.chart.options.colors[e])),t.series.fillOpacity&&i.fillOpacity&&(o=new g(o).setOpacity(A(i.fillOpacity,1)).get()),o=at(o).rgba,u.useAlpha||(o[3]=1),"LINES"===t.drawMode&&u.useAlpha&&o[3]<1&&(o[3]/=10),"add"===i.boostBlending?(c.blendFunc(c.SRC_ALPHA,c.ONE),c.blendEquation(c.FUNC_ADD)):"mult"===i.boostBlending||"multiply"===i.boostBlending?c.blendFunc(c.DST_COLOR,c.ZERO):"darken"===i.boostBlending?(c.blendFunc(c.ONE,c.ONE),c.blendEquation(c.FUNC_MIN)):c.blendFuncSeparate(c.SRC_ALPHA,c.ONE_MINUS_SRC_ALPHA,c.ONE,c.ONE_MINUS_SRC_ALPHA),d.reset(),0(i.boostThreshold||Number.MAX_VALUE)&&R(s.min)&&R(s.max)&&(!e||R(o.min)&&R(o.max))&&(!t||R(t.min)&&R(t.max))}function f(){var e=this,t=e.chart;t.boost&&t.boost.markerGroup===e.markerGroup&&(e.markerGroup=null),t.hoverPoints&&(t.hoverPoints=t.hoverPoints.filter(function(t){return t.series===e})),t.hoverPoint&&t.hoverPoint.series===e&&(t.hoverPoint=null)}function g(){var t=this.boost;t&&t.canvas&&t.target&&(t.wgl&&t.wgl.clear(),t.clear&&t.clear())}function z(t){var e=t.boost;e&&e.canvas&&e.target&&e.wgl&&!_(t.chart)&&e.wgl.render(t.chart)}function h(t,e){var i=t.options,o=t.xAxis,s=t.pointClass;return e instanceof s?e:(i=t.xData||i.xData||t.processedXData||!1,(s=(new s).init(t,t.options.data[e.i],i?i[e.i]:void 0)).category=r(o.categories?o.categories[s.x]:s.x,s.x),s.dist=e.dist,s.distX=e.distX,s.plotX=e.plotX,s.plotY=e.plotY,s.index=e.i,s.percentage=e.percentage,s.isInside=t.isPointInside(s),s)}function m(){var t=this,e=this.options||{},l=this.chart,h=this.xAxis,c=this.yAxis,i=e.xData||this.processedXData,u=e.yData||this.processedYData,o=e.data,s=h.getExtremes(),d=s.min,p=s.max,f=(s=c.getExtremes()).min,g=s.max,r={},m=!!this.sampling,n=!1!==e.enableMouseTracking,b=(s=e.threshold,this.pointArrayMap&&"low,high"===this.pointArrayMap.join(",")),A=!!e.stacking,a=this.cropStart||0,x=this.requireSorting,v=!i,y="x"===e.findNearestPointBy,P=this.xData||this.options.xData||this.processedXData||!1;e=!1;var T,E,S,C,M,R,U,k,w=c.getThreshold(s);e=D(l,this),l.boosted=!0,this.visible&&((this.points||this.graph)&&L(this),_(l)?(this.markerGroup&&this.markerGroup!==l.boost.markerGroup&&this.markerGroup.destroy(),this.markerGroup=l.boost.markerGroup,this.boost&&this.boost.target&&(this.renderTarget=this.boost.target=this.boost.target.destroy())):(l.boost&&this.markerGroup===l.boost.markerGroup&&(this.markerGroup=void 0),this.markerGroup=this.plotGroup("markerGroup","markers",!0,1,l.seriesGroup)),R=this.points=[],U=function(t,e,i,o){t=Math.ceil(t),I=y?t:t+","+e,n&&!r[I]&&(r[I]=!0,l.inverted&&(t=h.len-t,e=c.len-e),R.push({x:!!P&&P[a+i],clientX:t,plotX:t,plotY:e,i:a+i,percentage:o}))},this.buildKDTree=G,e&&(B(e,this),e.pushSeries(this),z(this)),k=e.settings,e=function(){O(t,"renderedCanvas"),delete t.buildKDTree,t.buildKDTree(),k.debug.timeKDTree&&console.timeEnd("kd tree building")},l.renderer.forExport||(k.debug.timeKDTree&&console.time("kd tree building"),N(A?this.data:i||o,function(t,e){var i,o,s,r=void 0===l.index,n=!1,a=!0;return void 0===t||(r||(o=v?(i=t[0],t[1]):(i=t,u[e]),b?(n=(o=v?t.slice(1,3):o)[0],o=o[1]):A&&(i=t.x,n=(o=t.stackY)-t.y,s=t.percentage),x||(a=f<=(o||0)&&o<=g),null!==o&&d<=i&&i<=p&&a&&(t=h.toPixels(i,!0),m?(void 0!==C&&t!==T||(b||(n=o),(void 0===M||S=(r.options.boostThreshold||Number.MAX_VALUE))}var i,o,s,r=this,n=this.options.data;p(this.chart)&&u[this.type]?(e(n)&&"heatmap"!==this.type&&"treemap"!==this.type&&!this.options.stacking&&a(this,!0)||(t.apply(this,[].slice.call(arguments,1)),n=this.processedXData),(this.boosted=e(n))?(n=void 0,this.options.data&&this.options.data.length&&(n=this.getFirstValidPoint(this.options.data),R(n)||w(n)||C(12,!1,this.chart)),(o=this).boost=o.boost||{getPoint:function(t){return h(o,t)}},s=o.boost.altered=[],["allowDG","directTouch","stickyTracking"].forEach(function(t){s.push({prop:t,val:o[t],own:Object.hasOwnProperty.call(o,t)})}),o.allowDG=!1,o.directTouch=!1,o.stickyTracking=!0,o.finishedAnimating=!0,o.labelBySeries&&(o.labelBySeries=o.labelBySeries.destroy())):(n=(i=this).boost)&&((n.altered||[]).forEach(function(t){t.own?i[t.prop]=t.val:delete i[t.prop]}),n.clear&&n.clear())):t.apply(this,[].slice.call(arguments,1))}function v(t){var e=t.apply(this,[].slice.call(arguments,1));return this.boost&&e?this.boost.getPoint(e):e}var I,c,y=t.getBoostClipRect,_=t.isChartSeriesBoosting,P=e.getOptions,T=i.doc,G=i.noop,E=i.win,S=o.addEvent,C=o.error,M=o.extend,O=o.fireEvent,w=o.isArray,R=o.isNumber,r=o.pick,U=o.wrap,k=[];return{compose:function(t,s,e){var r,i,o,n,a,l,h,c;return-1===k.indexOf(t)&&(k.push(t),S(t,"destroy",f),S(t,"hide",g),r=t.prototype,e&&(r.renderCanvas=m),U(r,"getExtremes",A),U(r,"processData",x),U(r,"searchPoint",v),["translate","generatePoints","drawTracker","drawPoints","render"].forEach(function(t){return i=s,U(r,o=t,e),void("translate"===o&&["column","arearange","columnrange","heatmap","treemap"].forEach(function(t){i[t]&&U(i[t].prototype,o,e)}));function e(t){var e=this.options.stacking&&("translate"===o||"generatePoints"===o);this.boosted&&!e&&p(this.chart)&&"heatmap"!==this.type&&"treemap"!==this.type&&u[this.type]&&0!==this.options.boostThreshold?"render"===o&&this.renderCanvas&&this.renderCanvas():t.call(this)}var i,o})),-1===k.indexOf(P)&&(k.push(P),i=P().plotOptions,d.forEach(function(t){var e=i[t];e&&(e.boostThreshold=5e3,e.boostData=[],s[t].prototype.fillOpacity=!0)})),e&&(o=s.area,n=s.areaspline,a=s.bubble,e=s.column,l=s.heatmap,h=s.scatter,c=s.treemap,o&&-1===k.indexOf(o)&&(k.push(o),M(o.prototype,{fill:!0,fillOpacity:!0,sampling:!0})),n&&-1===k.indexOf(n)&&(k.push(n),M(n.prototype,{fill:!0,fillOpacity:!0,sampling:!0})),a&&-1===k.indexOf(a)&&(k.push(a),delete(o=a.prototype).buildKDTree,U(o,"markerAttribs",function(t){return!this.boosted&&t.apply(this,[].slice.call(arguments,1))})),e&&-1===k.indexOf(e)&&(k.push(e),M(e.prototype,{fill:!0,sampling:!0})),h&&-1===k.indexOf(h)&&(k.push(h),h.prototype.fill=!0),[l,c].forEach(function(t){t&&-1===k.indexOf(t)&&(k.push(t),U(t.prototype,"drawPoints",b))})),t},destroyGraphics:L,getPoint:h}}),e(t,"Extensions/BoostCanvas.js",[t["Extensions/Boost/BoostChart.js"],t["Extensions/Boost/BoostSeries.js"],t["Core/Chart/Chart.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,i,q,Q,o,s,J){var $,l=t.getBoostClipRect,h=t.isChartSeriesBoosting,tt=e.destroyGraphics,et=q.parse,c=Q.doc,it=Q.noop,r=s.seriesTypes,ot=J.addEvent,st=J.extend,rt=J.fireEvent,nt=J.isNumber,at=J.merge,lt=J.pick,u=J.wrap;return function(){Q.seriesTypes.heatmap&&u(Q.seriesTypes.heatmap.prototype,"drawPoints",function(){var r=this.chart,n=this.getContext(),a=this.chart.inverted,l=this.xAxis,h=this.yAxis;n?(this.points.forEach(function(t){var e,i,o,s=t.plotY;void 0!==s&&!isNaN(s)&&null!==t.y&&n&&(s=void 0===(s=(o=t.shapeArgs||{}).x)?0:s,e=void 0===(e=o.y)?0:e,i=void 0===(i=o.width)?0:i,o=void 0===(o=o.height)?0:o,t=r.styledMode?t.series.colorAttribs(t):t.series.pointAttribs(t),n.fillStyle=t.fill,a?n.fillRect(h.len-e+l.left,l.len-s+h.top,-o,-i):n.fillRect(s+l.left,e+h.top,i,o))}),this.canvasToSVG()):this.chart.showLoading("Your browser doesn't support HTML5 canvas,
please use a modern browser")}),st(o.prototype,{getContext:function(){function e(t,e,i,o,s,r,n){t.call(this,i,e,o,s,r,n)}var t=this.chart,i=h(t)?t:this,o=i===t?t.seriesGroup:t.seriesGroup||this.group,s=t.chartWidth,r=t.chartHeight,n=i.boost=i.boost||{},a=n.targetCtx;return n.canvas||(n.canvas=c.createElement("canvas"),n.target=t.renderer.image("",0,0,s,r).addClass("highcharts-boost-canvas").add(o),a=n.targetCtx=n.canvas.getContext("2d"),t.inverted&&["moveTo","lineTo","rect","arc"].forEach(function(t){u(a,t,e)}),n.copy=function(){n.target.attr({href:n.canvas.toDataURL("image/png")})},n.clear=function(){a.clearRect(0,0,n.canvas.width,n.canvas.height),i===n.target&&n.target.attr({href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="})},n.clipRect=t.renderer.clipRect(),n.target.clip(n.clipRect)),n.canvas.width!==s&&(n.canvas.width=s),n.canvas.height!==r&&(n.canvas.height=r),n.target.attr({x:0,y:0,width:s,height:r,style:"pointer-events: none",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="}),n.clipRect&&n.clipRect.attr(l(t,i)),a},canvasToSVG:function(){h(this.chart)?this.boost&&this.boost.clear&&this.boost.clear():this.boost&&this.boost.copy?this.boost.copy():this.chart.boost&&this.chart.boost.copy&&this.chart.boost.copy()},cvsLineTo:function(t,e,i){t.lineTo(e,i)},renderCanvas:function(){function u(t,e,i,o){0===r&&(N.beginPath(),S&&(N.lineJoin="round")),v.scroller&&"highcharts-navigator-series"===x.options.className?(e+=v.scroller.top,i&&(i+=v.scroller.top)):e+=v.plotTop,t+=v.plotLeft,f?N.moveTo(t,e):c?c(N,t,e,i,s):S?S(N,t,e):C&&C.call(x,N,t,e,h,o),(r+=1)===O&&(H(),r=0),s={clientX:t,plotY:e,yBottom:i}}function d(t,e,i){o=W?t:t+","+e,V&&!l[o]&&(l[o]=!0,v.inverted&&(t=y.len-t,e=P.len-e),Z.push({x:!!K&&K[B+i],clientX:t,plotX:t,plotY:e,i:B+i}))}var p,s,f,g,m,b,A,o,x=this,t=x.options,v=x.chart,y=this.xAxis,P=this.yAxis,i=(v.options.boost||{}).timeRendering||!1,r=0,e=x.processedXData,z=x.processedYData,n=t.data,a=y.getExtremes(),T=a.min,E=a.max,I=(a=P.getExtremes()).min,_=a.max,l={},G=!!x.sampling,h=t.marker&&t.marker.radius,c=this.cvsDrawPoint,S=t.lineWidth?this.cvsLineTo:void 0,C=h&&h<=1?this.cvsMarkerSquare:this.cvsMarkerCircle,O=this.cvsStrokeBatch||1e3,V=!1!==t.enableMouseTracking,M=(a=t.threshold,P.getThreshold(a)),R=nt(a),U=M,X=this.fill,k=x.pointArrayMap&&"low,high"===x.pointArrayMap.join(","),w=!!t.stacking,B=x.cropStart||0,j=(a=v.options.loading,x.requireSorting),F=t.connectNulls,D=!e,L=w?x.data:e||n,Y=x.fillOpacity?q.parse(x.color).setOpacity(lt(t.fillOpacity,.75)).get():x.color,H=function(){X?(N.fillStyle=Y,N.fill()):(N.strokeStyle=x.color,N.lineWidth=t.lineWidth,N.stroke())},W="x"===t.findNearestPointBy,K=this.xData||this.options.xData||this.processedXData||!1,Z=((e=this.boost||{}).target&&e.target.attr({href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="}),(this.points||this.graph)&&tt(this),x.plotGroup("group","series",x.visible?"visible":"hidden",t.zIndex,v.seriesGroup),x.markerGroup=x.group,ot(x,"destroy",function(){x.markerGroup=null}),this.points=[]),N=this.getContext();x.buildKDTree=it,e.clear&&e.clear(),this.visible&&(99999=s)return!0;if(1===e.length)return!1;if(void 0===(o=o.allowForce))for(o=!0,s=0,t=t.xAxis;sh(r.dataMin,-1/0)||h(r.max,1/0)=(r.boostThreshold||Number.MAX_VALUE)&&++s)}return i.forceChartBoost=o&&(t===e.length&&0 0.0 ? (value - zMin) / zRange : 0.5;\nif (bubbleSizeByArea && pos > 0.0){\npos = sqrt(pos);\n}\nradius = ceil(bubbleMinSize + pos * (bubbleMaxSize - bubbleMinSize)) / 2.0;\n}\nreturn radius * 2.0;\n}\nfloat translate(float val,\nfloat pointPlacement,\nfloat localA,\nfloat localMin,\nfloat minPixelPadding,\nfloat pointRange,\nfloat len,\nbool cvsCoord,\nbool isLog,\nbool reversed\n){\nfloat sign = 1.0;\nfloat cvsOffset = 0.0;\nif (cvsCoord) {\nsign *= -1.0;\ncvsOffset = len;\n}\nif (isLog) {\nval = log(val) / LN10;\n}\nif (reversed) {\nsign *= -1.0;\ncvsOffset -= sign * len;\n}\nreturn sign * (val - localMin) * localA + cvsOffset + \n(sign * minPixelPadding);\n}\nfloat xToPixels(float value) {\nif (skipTranslation){\nreturn value;// + xAxisPos;\n}\nreturn translate(value, 0.0, xAxisTrans, xAxisMin, xAxisMinPad, xAxisPointRange, xAxisLen, xAxisCVSCoord, xAxisIsLog, xAxisReversed);// + xAxisPos;\n}\nfloat yToPixels(float value, float checkTreshold) {\nfloat v;\nif (skipTranslation){\nv = value;// + yAxisPos;\n} else {\nv = translate(value, 0.0, yAxisTrans, yAxisMin, yAxisMinPad, yAxisPointRange, yAxisLen, yAxisCVSCoord, yAxisIsLog, yAxisReversed);// + yAxisPos;\nif (v > yAxisLen) {\nv = yAxisLen;\n}\n}\nif (checkTreshold > 0.0 && hasThreshold) {\nv = min(v, translatedThreshold);\n}\nreturn v;\n}\nvoid main(void) {\nif (isBubble){\ngl_PointSize = bubbleRadius();\n} else {\ngl_PointSize = pSize;\n}\nvColor = aColor;\nif (skipTranslation && isInverted) {\ngl_Position = uPMatrix * vec4(aVertexPosition.y + yAxisPos, aVertexPosition.x + xAxisPos, 0.0, 1.0);\n} else if (isInverted) {\ngl_Position = uPMatrix * vec4(yToPixels(aVertexPosition.y, aVertexPosition.z) + yAxisPos, xToPixels(aVertexPosition.x) + xAxisPos, 0.0, 1.0);\n} else {\ngl_Position = uPMatrix * vec4(xToPixels(aVertexPosition.x) + xAxisPos, yToPixels(aVertexPosition.y, aVertexPosition.z) + yAxisPos, 0.0, 1.0);\n}\n}","vertex"),o=this.stringToProgram("precision highp float;\nuniform vec4 fillColor;\nvarying highp vec2 position;\nvarying highp vec4 vColor;\nuniform sampler2D uSampler;\nuniform bool isCircle;\nuniform bool hasColor;\nvoid main(void) {\nvec4 col = fillColor;\nvec4 tcol = texture2D(uSampler, gl_PointCoord.st);\nif (hasColor) {\ncol = vColor;\n}\nif (isCircle) {\ncol *= tcol;\nif (tcol.r < 0.0) {\ndiscard;\n} else {\ngl_FragColor = col;\n}\n} else {\ngl_FragColor = col;\n}\n}","fragment");return i&&o?(this.shaderProgram=this.gl.createProgram(),this.gl.attachShader(this.shaderProgram,i),this.gl.attachShader(this.shaderProgram,o),this.gl.linkProgram(this.shaderProgram),this.gl.getProgramParameter(this.shaderProgram,this.gl.LINK_STATUS)?(this.gl.useProgram(this.shaderProgram),this.gl.bindAttribLocation(this.shaderProgram,0,"aVertexPosition"),this.pUniform=t("uPMatrix"),this.psUniform=t("pSize"),this.fcUniform=t("fillColor"),this.isBubbleUniform=t("isBubble"),this.bubbleSizeAbsUniform=t("bubbleSizeAbs"),this.bubbleSizeAreaUniform=t("bubbleSizeByArea"),this.uSamplerUniform=t("uSampler"),this.skipTranslationUniform=t("skipTranslation"),this.isCircleUniform=t("isCircle"),this.isInverted=t("isInverted"),!0):(this.errors.push(this.gl.getProgramInfoLog(this.shaderProgram)),this.handleErrors(),this.shaderProgram=!1)):(this.shaderProgram=!1,this.handleErrors(),!1)},i.prototype.handleErrors=function(){this.errors.length&&e("[highcharts boost] shader error - "+this.errors.join("\n"))},i.prototype.stringToProgram=function(t,e){var i=this.gl.createShader("vertex"===e?this.gl.VERTEX_SHADER:this.gl.FRAGMENT_SHADER);return this.gl.shaderSource(i,t),this.gl.compileShader(i),this.gl.getShaderParameter(i,this.gl.COMPILE_STATUS)?i:(this.errors.push("when compiling "+e+" shader:\n"+this.gl.getShaderInfoLog(i)),!1)},i.prototype.destroy=function(){this.gl&&this.shaderProgram&&(this.gl.deleteProgram(this.shaderProgram),this.shaderProgram=!1)},i.prototype.fillColorUniform=function(){return this.fcUniform},i.prototype.getProgram=function(){return this.shaderProgram},i.prototype.pointSizeUniform=function(){return this.psUniform},i.prototype.perspectiveUniform=function(){return this.pUniform},i.prototype.reset=function(){this.gl&&this.shaderProgram&&(this.gl.uniform1i(this.isBubbleUniform,0),this.gl.uniform1i(this.isCircleUniform,0))},i.prototype.setBubbleUniforms=function(t,e,i,o){void 0===o&&(o=1);var s,r=t.options,n=Number.MAX_VALUE,a=-Number.MAX_VALUE;this.gl&&this.shaderProgram&&t.is("bubble")&&(s=t.getPxExtremes(),n=h(r.zMin,l(e,!1===r.displayNegative?r.zThreshold:-Number.MAX_VALUE,n)),a=h(r.zMax,Math.max(a,i)),this.gl.uniform1i(this.isBubbleUniform,1),this.gl.uniform1i(this.isCircleUniform,1),this.gl.uniform1i(this.bubbleSizeAreaUniform,"width"!==t.options.sizeBy),this.gl.uniform1i(this.bubbleSizeAbsUniform,t.options.sizeByAbsoluteValue),this.setUniform("bubbleMinSize",s.minPxSize*o),this.setUniform("bubbleMaxSize",s.maxPxSize*o),this.setUniform("bubbleZMin",n),this.setUniform("bubbleZMax",a),this.setUniform("bubbleZThreshold",t.options.zThreshold))},i.prototype.setColor=function(t){this.gl&&this.shaderProgram&&this.gl.uniform4f(this.fcUniform,t[0]/255,t[1]/255,t[2]/255,t[3])},i.prototype.setDrawAsCircle=function(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.isCircleUniform,t?1:0)},i.prototype.setInverted=function(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.isInverted,t)},i.prototype.setPMatrix=function(t){this.gl&&this.shaderProgram&&this.gl.uniformMatrix4fv(this.pUniform,!1,t)},i.prototype.setPointSize=function(t){this.gl&&this.shaderProgram&&this.gl.uniform1f(this.psUniform,t)},i.prototype.setSkipTranslation=function(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.skipTranslationUniform,!0===t?1:0)},i.prototype.setTexture=function(t){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.uSamplerUniform,t)},i.prototype.setUniform=function(t,e){this.gl&&this.shaderProgram&&(t=this.uLocations[t]=this.uLocations[t]||this.gl.getUniformLocation(this.shaderProgram,t),this.gl.uniform1f(t,e))},i;function i(t){this.errors=[],this.uLocations={},(this.gl=t)&&this.createShader()}}),e(t,"Extensions/Boost/WGLVertexBuffer.js",[],function(){return t.prototype.allocate=function(t){this.iterator=-1,this.preAllocated=new Float32Array(4*t)},t.prototype.bind=function(){if(!this.buffer)return!1;this.gl.vertexAttribPointer(this.vertAttribute,this.components,this.gl.FLOAT,!1,0,0)},t.prototype.build=function(t,e,i){var o;return this.data=t||[],this.data&&0!==this.data.length||this.preAllocated?(this.components=i||this.components,this.buffer&&this.gl.deleteBuffer(this.buffer),this.preAllocated||(o=new Float32Array(this.data)),this.buffer=this.gl.createBuffer(),this.gl.bindBuffer(this.gl.ARRAY_BUFFER,this.buffer),this.gl.bufferData(this.gl.ARRAY_BUFFER,this.preAllocated||o,this.gl.STATIC_DRAW),this.vertAttribute=this.gl.getAttribLocation(this.shader.getProgram(),e),this.gl.enableVertexAttribArray(this.vertAttribute),!0):(this.destroy(),!1)},t.prototype.destroy=function(){this.buffer&&(this.gl.deleteBuffer(this.buffer),this.vertAttribute=this.buffer=!1),this.iterator=0,this.components=this.dataComponents||2,this.data=[]},t.prototype.push=function(t,e,i,o){this.preAllocated&&(this.preAllocated[++this.iterator]=t,this.preAllocated[++this.iterator]=e,this.preAllocated[++this.iterator]=i,this.preAllocated[++this.iterator]=o)},t.prototype.render=function(t,e,i){var o=(this.preAllocated||this.data).length;return!(!this.buffer||!o)&&(!((e=!e||oe.node.levelDynamic)return 1;if(t.node.levelDynamicr.zMax&&(r.zMax=e[2]),e[2]r.zMax&&(r.zMax=m[S]),m[S]p&&(v.x=s,v.y=l),null===l&&F?"continue":null!==l&&(it||$||tt)?(et=(p<=M||p<=s)&&(k<=g||s<=g)||et)||$||tt?(st&&st=i.value)&&(o=B[e]),!0):void 0!==t.value&&l<=t.value&&(B[e]&&(!i||l>=i.value)&&(o=B[e]),!0)}),w=o||R||w),!c.useGPUTranslations&&(r.skipTranslation=!0,s=X.toPixels(s,!0),l=A.toPixels(l,!0),Z-Number.MAX_VALUE&&t(y))}nt()}},v.prototype.pushSeries=function(t){var e=this.markerData,i=this.series,o=this.settings;0=i.length?i.push(e):i[t.index]=e,this.pushSeriesData(t,e),o.debug.timeSeriesProcessing&&console.timeEnd("building "+t.type+" series")},v.prototype.flush=function(){var t=this.vbuffer;this.data=[],this.markerData=[],this.series=[],t&&t.destroy()},v.prototype.setXAxis=function(t){var e,i=this.shader;i&&(e=this.getPixelRatio(),i.setUniform("xAxisTrans",t.transA*e),i.setUniform("xAxisMin",t.min),i.setUniform("xAxisMinPad",t.minPixelPadding*e),i.setUniform("xAxisPointRange",t.pointRange),i.setUniform("xAxisLen",t.len*e),i.setUniform("xAxisPos",t.pos*e),i.setUniform("xAxisCVSCoord",!t.horiz),i.setUniform("xAxisIsLog",!!t.logarithmic),i.setUniform("xAxisReversed",!!t.reversed))},v.prototype.setYAxis=function(t){var e,i=this.shader;i&&(e=this.getPixelRatio(),i.setUniform("yAxisTrans",t.transA*e),i.setUniform("yAxisMin",t.min),i.setUniform("yAxisMinPad",t.minPixelPadding*e),i.setUniform("yAxisPointRange",t.pointRange),i.setUniform("yAxisLen",t.len*e),i.setUniform("yAxisPos",t.pos*e),i.setUniform("yAxisCVSCoord",!t.horiz),i.setUniform("yAxisIsLog",!!t.logarithmic),i.setUniform("yAxisReversed",!!t.reversed))},v.prototype.setThreshold=function(t,e){var i=this.shader;i&&(i.setUniform("hasThreshold",t),i.setUniform("translatedThreshold",e))},v.prototype.renderChart=function(l){var h=this,f=this.gl,c=this.settings,d=this.shader,u=this.vbuffer,p=this.getPixelRatio();if(!l)return!1;this.width=l.chartWidth*p,this.height=l.chartHeight*p;var t=this.height,e=this.width;if(!(f&&d&&e&&t))return!1;c.debug.timeRendering&&console.time("gl rendering"),f.canvas.width=e,f.canvas.height=t,d.bind(),f.viewport(0,0,e,t),d.setPMatrix(v.orthoMatrix(e,t)),12*((i.marker?i.marker.radius:10)||10)),o=h.textureHandles[o&&o.symbol||t.series.symbol]||h.textureHandles.circle;if(0!==t.segments.length&&t.segments[0].from!==t.segments[0].to&&(o.isReady&&(f.bindTexture(f.TEXTURE_2D,o.handle),d.setTexture(o.handle)),l.styledMode?o=t.series.markerGroup&&t.series.markerGroup.getStyle("fill"):(o="POINTS"===t.drawMode&&t.series.pointAttribs&&t.series.pointAttribs().fill||t.series.color,i.colorByPoint&&(o=t.series.chart.options.colors[e])),t.series.fillOpacity&&i.fillOpacity&&(o=new g(o).setOpacity(A(i.fillOpacity,1)).get()),o=at(o).rgba,c.useAlpha||(o[3]=1),"LINES"===t.drawMode&&c.useAlpha&&o[3]<1&&(o[3]/=10),"add"===i.boostBlending?(f.blendFunc(f.SRC_ALPHA,f.ONE),f.blendEquation(f.FUNC_ADD)):"mult"===i.boostBlending||"multiply"===i.boostBlending?f.blendFunc(f.DST_COLOR,f.ZERO):"darken"===i.boostBlending?(f.blendFunc(f.ONE,f.ONE),f.blendEquation(f.FUNC_MIN)):f.blendFuncSeparate(f.SRC_ALPHA,f.ONE_MINUS_SRC_ALPHA,f.ONE,f.ONE_MINUS_SRC_ALPHA),d.reset(),0(i.boostThreshold||Number.MAX_VALUE)&&M(s.min)&&M(s.max)&&(!e||M(o.min)&&M(o.max))&&(!t||M(t.min)&&M(t.max))}function p(){var e=this,t=e.chart;t.boost&&t.boost.markerGroup===e.markerGroup&&(e.markerGroup=null),t.hoverPoints&&(t.hoverPoints=t.hoverPoints.filter(function(t){return t.series===e})),t.hoverPoint&&t.hoverPoint.series===e&&(t.hoverPoint=null)}function g(){var t=this.boost;t&&t.canvas&&t.target&&(t.wgl&&t.wgl.clear(),t.clear&&t.clear())}function z(t){var e=t.boost;e&&e.canvas&&e.target&&e.wgl&&!I(t.chart)&&e.wgl.render(t.chart)}function h(t,e){var i=t.options,o=t.xAxis,s=t.pointClass;return e instanceof s?e:(i=t.xData||i.xData||t.processedXData||!1,(s=(new s).init(t,t.options.data[e.i],i?i[e.i]:void 0)).category=r(o.categories?o.categories[s.x]:s.x,s.x),s.dist=e.dist,s.distX=e.distX,s.plotX=e.plotX,s.plotY=e.plotY,s.index=e.i,s.isInside=t.isPointInside(s),s)}function b(){var t=this,e=this.options||{},a=this.chart,l=this.xAxis,h=this.yAxis,i=e.xData||this.processedXData,f=e.yData||this.processedYData,o=e.data,s=l.getExtremes(),c=s.min,d=s.max,u=(s=h.getExtremes()).min,p=s.max,r={},g=!!this.sampling,n=!1!==e.enableMouseTracking,b=(s=e.threshold,this.pointArrayMap&&"low,high"===this.pointArrayMap.join(",")),m=!!e.stacking,A=this.cropStart||0,x=this.requireSorting,v=!i,y="x"===e.findNearestPointBy,P=this.xData||this.options.xData||this.processedXData||!1;e=!1;var T,E,C,S,k,M,w,R,U=h.getThreshold(s);e=D(a,this),a.boosted=!0,this.visible&&((this.points||this.graph)&&L(this),I(a)?(this.markerGroup&&this.markerGroup!==a.boost.markerGroup&&this.markerGroup.destroy(),this.markerGroup=a.boost.markerGroup,this.boost&&this.boost.target&&(this.renderTarget=this.boost.target=this.boost.target.destroy())):(a.boost&&this.markerGroup===a.boost.markerGroup&&(this.markerGroup=void 0),this.markerGroup=this.plotGroup("markerGroup","markers",!0,1,a.seriesGroup)),M=this.points=[],w=function(t,e,i){t=Math.ceil(t),G=y?t:t+","+e,n&&!r[G]&&(r[G]=!0,a.inverted&&(t=l.len-t,e=h.len-e),M.push({x:!!P&&P[A+i],clientX:t,plotX:t,plotY:e,i:A+i}))},this.buildKDTree=_,e&&(B(e,this),e.pushSeries(this),z(this)),R=e.settings,e=function(){j(t,"renderedCanvas"),delete t.buildKDTree,t.buildKDTree(),R.debug.timeKDTree&&console.timeEnd("kd tree building")},a.renderer.forExport||(R.debug.timeKDTree&&console.time("kd tree building"),N(m?this.data:i||o,function(t,e){var i,o,s=void 0===a.index,r=!1,n=!0;return void 0===t||(s||(o=v?(i=t[0],t[1]):(i=t,f[e]),b?(r=(o=v?t.slice(1,3):o)[0],o=o[1]):m&&(i=t.x,r=(o=t.stackY)-t.y),x||(n=u<=(o||0)&&o<=p),null!==o&&c<=i&&i<=d&&n&&(t=l.toPixels(i,!0),g?(void 0!==S&&t!==T||(b||(r=o),(void 0===k||C=(r.options.boostThreshold||Number.MAX_VALUE))}var i,o,s,r=this,n=this.options.data;u(this.chart)&&c[this.type]?(e(n)&&"heatmap"!==this.type&&"treemap"!==this.type&&!this.options.stacking&&a(this,!0)||(t.apply(this,[].slice.call(arguments,1)),n=this.processedXData),(this.boosted=e(n))?(n=void 0,this.options.data&&this.options.data.length&&(n=this.getFirstValidPoint(this.options.data),M(n)||V(n)||S(12,!1,this.chart)),(o=this).boost=o.boost||{getPoint:function(t){return h(o,t)}},s=o.boost.altered=[],["allowDG","directTouch","stickyTracking"].forEach(function(t){s.push({prop:t,val:o[t],own:Object.hasOwnProperty.call(o,t)})}),o.allowDG=!1,o.directTouch=!1,o.stickyTracking=!0,o.finishedAnimating=!0,o.labelBySeries&&(o.labelBySeries=o.labelBySeries.destroy())):(n=(i=this).boost)&&((n.altered||[]).forEach(function(t){t.own?i[t.prop]=t.val:delete i[t.prop]}),n.clear&&n.clear())):t.apply(this,[].slice.call(arguments,1))}function P(t){var e=t.apply(this,[].slice.call(arguments,1));return this.boost&&e?this.boost.getPoint(e):e}var G,f,U=t.getBoostClipRect,I=t.isChartSeriesBoosting,T=e.getOptions,O=i.doc,_=i.noop,E=i.win,C=o.addEvent,S=o.error,k=o.extend,j=o.fireEvent,V=o.isArray,M=o.isNumber,r=o.pick,w=o.wrap,R=[];return{compose:function(t,s,e){var r,i,o,n,a,l,h,f=t.prototype.pointClass;return-1===R.indexOf(f)&&(R.push(f),w(f.prototype,"haloPath",m)),-1===R.indexOf(t)&&(R.push(t),C(t,"destroy",p),C(t,"hide",g),r=t.prototype,e&&(r.renderCanvas=b),w(r,"getExtremes",x),w(r,"markerAttribs",v),w(r,"processData",y),w(r,"searchPoint",P),["translate","generatePoints","drawTracker","drawPoints","render"].forEach(function(t){return i=s,w(r,o=t,e),void("translate"===o&&["column","arearange","columnrange","heatmap","treemap"].forEach(function(t){i[t]&&w(i[t].prototype,o,e)}));function e(t){var e=this.options.stacking&&("translate"===o||"generatePoints"===o);this.boosted&&!e&&u(this.chart)&&"heatmap"!==this.type&&"treemap"!==this.type&&c[this.type]&&0!==this.options.boostThreshold?"render"===o&&this.renderCanvas&&this.renderCanvas():t.call(this)}var i,o})),-1===R.indexOf(T)&&(R.push(T),i=T().plotOptions,d.forEach(function(t){var e=i[t];e&&(e.boostThreshold=5e3,e.boostData=[],s[t].prototype.fillOpacity=!0)})),e&&(o=s.area,n=s.areaspline,a=s.bubble,e=s.column,f=s.heatmap,l=s.scatter,h=s.treemap,o&&-1===R.indexOf(o)&&(R.push(o),k(o.prototype,{fill:!0,fillOpacity:!0,sampling:!0})),n&&-1===R.indexOf(n)&&(R.push(n),k(n.prototype,{fill:!0,fillOpacity:!0,sampling:!0})),a&&-1===R.indexOf(a)&&(R.push(a),delete(o=a.prototype).buildKDTree,w(o,"markerAttribs",function(t){return!this.boosted&&t.apply(this,[].slice.call(arguments,1))})),e&&-1===R.indexOf(e)&&(R.push(e),k(e.prototype,{fill:!0,sampling:!0})),l&&-1===R.indexOf(l)&&(R.push(l),l.prototype.fill=!0),[f,h].forEach(function(t){t&&-1===R.indexOf(t)&&(R.push(t),w(t.prototype,"drawPoints",A))})),t},destroyGraphics:L,getPoint:h}}),e(t,"Extensions/BoostCanvas.js",[t["Extensions/Boost/BoostChart.js"],t["Extensions/Boost/BoostSeries.js"],t["Core/Chart/Chart.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,i,Z,Q,o,s,J){var $,l=t.getBoostClipRect,h=t.isChartSeriesBoosting,tt=e.destroyGraphics,et=Z.parse,f=Q.doc,it=Q.noop,r=s.seriesTypes,ot=J.addEvent,st=J.extend,rt=J.fireEvent,nt=J.isNumber,at=J.merge,lt=J.pick,c=J.wrap;return function(){Q.seriesTypes.heatmap&&c(Q.seriesTypes.heatmap.prototype,"drawPoints",function(){var r=this.chart,n=this.getContext(),a=this.chart.inverted,l=this.xAxis,h=this.yAxis;n?(this.points.forEach(function(t){var e,i,o,s=t.plotY;void 0!==s&&!isNaN(s)&&null!==t.y&&n&&(s=void 0===(s=(o=t.shapeArgs||{}).x)?0:s,e=void 0===(e=o.y)?0:e,i=void 0===(i=o.width)?0:i,o=void 0===(o=o.height)?0:o,t=r.styledMode?t.series.colorAttribs(t):t.series.pointAttribs(t),n.fillStyle=t.fill,a?n.fillRect(h.len-e+l.left,l.len-s+h.top,-o,-i):n.fillRect(s+l.left,e+h.top,i,o))}),this.canvasToSVG()):this.chart.showLoading("Your browser doesn't support HTML5 canvas,
please use a modern browser")}),st(o.prototype,{getContext:function(){function e(t,e,i,o,s,r,n){t.call(this,i,e,o,s,r,n)}var t=this.chart,i=h(t)?t:this,o=i===t?t.seriesGroup:t.seriesGroup||this.group,s=t.chartWidth,r=t.chartHeight,n=i.boost=i.boost||{},a=n.targetCtx;return n.canvas||(n.canvas=f.createElement("canvas"),n.target=t.renderer.image("",0,0,s,r).addClass("highcharts-boost-canvas").add(o),a=n.targetCtx=n.canvas.getContext("2d"),t.inverted&&["moveTo","lineTo","rect","arc"].forEach(function(t){c(a,t,e)}),n.copy=function(){n.target.attr({href:n.canvas.toDataURL("image/png")})},n.clear=function(){a.clearRect(0,0,n.canvas.width,n.canvas.height),i===n.target&&n.target.attr({href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="})},n.clipRect=t.renderer.clipRect(),n.target.clip(n.clipRect)),n.canvas.width!==s&&(n.canvas.width=s),n.canvas.height!==r&&(n.canvas.height=r),n.target.attr({x:0,y:0,width:s,height:r,style:"pointer-events: none",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="}),n.clipRect&&n.clipRect.attr(l(t,i)),a},canvasToSVG:function(){h(this.chart)?this.boost&&this.boost.clear&&this.boost.clear():this.boost&&this.boost.copy?this.boost.copy():this.chart.boost&&this.chart.boost.copy&&this.chart.boost.copy()},cvsLineTo:function(t,e,i){t.lineTo(e,i)},renderCanvas:function(){function c(t,e,i,o){0===r&&(N.beginPath(),C&&(N.lineJoin="round")),v.scroller&&"highcharts-navigator-series"===x.options.className?(e+=v.scroller.top,i&&(i+=v.scroller.top)):e+=v.plotTop,t+=v.plotLeft,p?N.moveTo(t,e):f?f(N,t,e,i,s):C?C(N,t,e):S&&S.call(x,N,t,e,h,o),(r+=1)===_&&(H(),r=0),s={clientX:t,plotY:e,yBottom:i}}function d(t,e,i){o=W?t:t+","+e,j&&!l[o]&&(l[o]=!0,v.inverted&&(t=y.len-t,e=P.len-e),q.push({x:!!K&&K[B+i],clientX:t,plotX:t,plotY:e,i:B+i}))}var u,s,p,g,b,m,A,o,x=this,t=x.options,v=x.chart,y=this.xAxis,P=this.yAxis,i=(v.options.boost||{}).timeRendering||!1,r=0,e=x.processedXData,z=x.processedYData,n=t.data,a=y.getExtremes(),T=a.min,E=a.max,G=(a=P.getExtremes()).min,I=a.max,l={},O=!!x.sampling,h=t.marker&&t.marker.radius,f=this.cvsDrawPoint,C=t.lineWidth?this.cvsLineTo:void 0,S=h&&h<=1?this.cvsMarkerSquare:this.cvsMarkerCircle,_=this.cvsStrokeBatch||1e3,j=!1!==t.enableMouseTracking,k=(a=t.threshold,P.getThreshold(a)),M=nt(a),w=k,V=this.fill,R=x.pointArrayMap&&"low,high"===x.pointArrayMap.join(","),U=!!t.stacking,B=x.cropStart||0,X=(a=v.options.loading,x.requireSorting),Y=t.connectNulls,D=!e,L=U?x.data:e||n,F=x.fillOpacity?Z.parse(x.color).setOpacity(lt(t.fillOpacity,.75)).get():x.color,H=function(){V?(N.fillStyle=F,N.fill()):(N.strokeStyle=x.color,N.lineWidth=t.lineWidth,N.stroke())},W="x"===t.findNearestPointBy,K=this.xData||this.options.xData||this.processedXData||!1,q=((e=this.boost||{}).target&&e.target.attr({href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="}),(this.points||this.graph)&&tt(this),x.plotGroup("group","series",x.visible?"visible":"hidden",t.zIndex,v.seriesGroup),x.markerGroup=x.group,ot(x,"destroy",function(){x.markerGroup=null}),this.points=[]),N=this.getContext();x.buildKDTree=it,e.clear&&e.clear(),this.visible&&(99999=s)return!0;if(1===t.length)return!1;if(void 0===(o=o.allowForce))for(o=!0,s=0,e=e.xAxis;sh(r.dataMin,-1/0)||h(r.max,1/0)=(r.boostThreshold||Number.MAX_VALUE)&&++s)}return i.forceChartBoost=o&&(e===t.length&&0 0.0 ? (value - zMin) / zRange : 0.5;\nif (bubbleSizeByArea && pos > 0.0){\npos = sqrt(pos);\n}\nradius = ceil(bubbleMinSize + pos * (bubbleMaxSize - bubbleMinSize)) / 2.0;\n}\nreturn radius * 2.0;\n}\nfloat translate(float val,\nfloat pointPlacement,\nfloat localA,\nfloat localMin,\nfloat minPixelPadding,\nfloat pointRange,\nfloat len,\nbool cvsCoord,\nbool isLog,\nbool reversed\n){\nfloat sign = 1.0;\nfloat cvsOffset = 0.0;\nif (cvsCoord) {\nsign *= -1.0;\ncvsOffset = len;\n}\nif (isLog) {\nval = log(val) / LN10;\n}\nif (reversed) {\nsign *= -1.0;\ncvsOffset -= sign * len;\n}\nreturn sign * (val - localMin) * localA + cvsOffset + \n(sign * minPixelPadding);\n}\nfloat xToPixels(float value) {\nif (skipTranslation){\nreturn value;// + xAxisPos;\n}\nreturn translate(value, 0.0, xAxisTrans, xAxisMin, xAxisMinPad, xAxisPointRange, xAxisLen, xAxisCVSCoord, xAxisIsLog, xAxisReversed);// + xAxisPos;\n}\nfloat yToPixels(float value, float checkTreshold) {\nfloat v;\nif (skipTranslation){\nv = value;// + yAxisPos;\n} else {\nv = translate(value, 0.0, yAxisTrans, yAxisMin, yAxisMinPad, yAxisPointRange, yAxisLen, yAxisCVSCoord, yAxisIsLog, yAxisReversed);// + yAxisPos;\nif (v > yAxisLen) {\nv = yAxisLen;\n}\n}\nif (checkTreshold > 0.0 && hasThreshold) {\nv = min(v, translatedThreshold);\n}\nreturn v;\n}\nvoid main(void) {\nif (isBubble){\ngl_PointSize = bubbleRadius();\n} else {\ngl_PointSize = pSize;\n}\nvColor = aColor;\nif (skipTranslation && isInverted) {\ngl_Position = uPMatrix * vec4(aVertexPosition.y + yAxisPos, aVertexPosition.x + xAxisPos, 0.0, 1.0);\n} else if (isInverted) {\ngl_Position = uPMatrix * vec4(yToPixels(aVertexPosition.y, aVertexPosition.z) + yAxisPos, xToPixels(aVertexPosition.x) + xAxisPos, 0.0, 1.0);\n} else {\ngl_Position = uPMatrix * vec4(xToPixels(aVertexPosition.x) + xAxisPos, yToPixels(aVertexPosition.y, aVertexPosition.z) + yAxisPos, 0.0, 1.0);\n}\n}","vertex"),o=this.stringToProgram("precision highp float;\nuniform vec4 fillColor;\nvarying highp vec2 position;\nvarying highp vec4 vColor;\nuniform sampler2D uSampler;\nuniform bool isCircle;\nuniform bool hasColor;\nvoid main(void) {\nvec4 col = fillColor;\nvec4 tcol = texture2D(uSampler, gl_PointCoord.st);\nif (hasColor) {\ncol = vColor;\n}\nif (isCircle) {\ncol *= tcol;\nif (tcol.r < 0.0) {\ndiscard;\n} else {\ngl_FragColor = col;\n}\n} else {\ngl_FragColor = col;\n}\n}","fragment");return i&&o?(this.shaderProgram=this.gl.createProgram(),this.gl.attachShader(this.shaderProgram,i),this.gl.attachShader(this.shaderProgram,o),this.gl.linkProgram(this.shaderProgram),this.gl.getProgramParameter(this.shaderProgram,this.gl.LINK_STATUS)?(this.gl.useProgram(this.shaderProgram),this.gl.bindAttribLocation(this.shaderProgram,0,"aVertexPosition"),this.pUniform=e("uPMatrix"),this.psUniform=e("pSize"),this.fcUniform=e("fillColor"),this.isBubbleUniform=e("isBubble"),this.bubbleSizeAbsUniform=e("bubbleSizeAbs"),this.bubbleSizeAreaUniform=e("bubbleSizeByArea"),this.uSamplerUniform=e("uSampler"),this.skipTranslationUniform=e("skipTranslation"),this.isCircleUniform=e("isCircle"),this.isInverted=e("isInverted"),!0):(this.errors.push(this.gl.getProgramInfoLog(this.shaderProgram)),this.handleErrors(),this.shaderProgram=!1)):(this.shaderProgram=!1,this.handleErrors(),!1)},i.prototype.handleErrors=function(){this.errors.length&&t("[highcharts boost] shader error - "+this.errors.join("\n"))},i.prototype.stringToProgram=function(e,t){var i=this.gl.createShader("vertex"===t?this.gl.VERTEX_SHADER:this.gl.FRAGMENT_SHADER);return this.gl.shaderSource(i,e),this.gl.compileShader(i),this.gl.getShaderParameter(i,this.gl.COMPILE_STATUS)?i:(this.errors.push("when compiling "+t+" shader:\n"+this.gl.getShaderInfoLog(i)),!1)},i.prototype.destroy=function(){this.gl&&this.shaderProgram&&(this.gl.deleteProgram(this.shaderProgram),this.shaderProgram=!1)},i.prototype.fillColorUniform=function(){return this.fcUniform},i.prototype.getProgram=function(){return this.shaderProgram},i.prototype.pointSizeUniform=function(){return this.psUniform},i.prototype.perspectiveUniform=function(){return this.pUniform},i.prototype.reset=function(){this.gl&&this.shaderProgram&&(this.gl.uniform1i(this.isBubbleUniform,0),this.gl.uniform1i(this.isCircleUniform,0))},i.prototype.setBubbleUniforms=function(e,t,i,o){void 0===o&&(o=1);var s,r=e.options,n=Number.MAX_VALUE,a=-Number.MAX_VALUE;this.gl&&this.shaderProgram&&e.is("bubble")&&(s=e.getPxExtremes(),n=h(r.zMin,l(t,!1===r.displayNegative?r.zThreshold:-Number.MAX_VALUE,n)),a=h(r.zMax,Math.max(a,i)),this.gl.uniform1i(this.isBubbleUniform,1),this.gl.uniform1i(this.isCircleUniform,1),this.gl.uniform1i(this.bubbleSizeAreaUniform,"width"!==e.options.sizeBy),this.gl.uniform1i(this.bubbleSizeAbsUniform,e.options.sizeByAbsoluteValue),this.setUniform("bubbleMinSize",s.minPxSize*o),this.setUniform("bubbleMaxSize",s.maxPxSize*o),this.setUniform("bubbleZMin",n),this.setUniform("bubbleZMax",a),this.setUniform("bubbleZThreshold",e.options.zThreshold))},i.prototype.setColor=function(e){this.gl&&this.shaderProgram&&this.gl.uniform4f(this.fcUniform,e[0]/255,e[1]/255,e[2]/255,e[3])},i.prototype.setDrawAsCircle=function(e){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.isCircleUniform,e?1:0)},i.prototype.setInverted=function(e){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.isInverted,e)},i.prototype.setPMatrix=function(e){this.gl&&this.shaderProgram&&this.gl.uniformMatrix4fv(this.pUniform,!1,e)},i.prototype.setPointSize=function(e){this.gl&&this.shaderProgram&&this.gl.uniform1f(this.psUniform,e)},i.prototype.setSkipTranslation=function(e){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.skipTranslationUniform,!0===e?1:0)},i.prototype.setTexture=function(e){this.gl&&this.shaderProgram&&this.gl.uniform1i(this.uSamplerUniform,e)},i.prototype.setUniform=function(e,t){this.gl&&this.shaderProgram&&(e=this.uLocations[e]=this.uLocations[e]||this.gl.getUniformLocation(this.shaderProgram,e),this.gl.uniform1f(e,t))},i;function i(e){this.errors=[],this.uLocations={},(this.gl=e)&&this.createShader()}}),t(e,"Extensions/Boost/WGLVertexBuffer.js",[],function(){return e.prototype.allocate=function(e){this.iterator=-1,this.preAllocated=new Float32Array(4*e)},e.prototype.bind=function(){if(!this.buffer)return!1;this.gl.vertexAttribPointer(this.vertAttribute,this.components,this.gl.FLOAT,!1,0,0)},e.prototype.build=function(e,t,i){var o;return this.data=e||[],this.data&&0!==this.data.length||this.preAllocated?(this.components=i||this.components,this.buffer&&this.gl.deleteBuffer(this.buffer),this.preAllocated||(o=new Float32Array(this.data)),this.buffer=this.gl.createBuffer(),this.gl.bindBuffer(this.gl.ARRAY_BUFFER,this.buffer),this.gl.bufferData(this.gl.ARRAY_BUFFER,this.preAllocated||o,this.gl.STATIC_DRAW),this.vertAttribute=this.gl.getAttribLocation(this.shader.getProgram(),t),this.gl.enableVertexAttribArray(this.vertAttribute),!0):(this.destroy(),!1)},e.prototype.destroy=function(){this.buffer&&(this.gl.deleteBuffer(this.buffer),this.vertAttribute=this.buffer=!1),this.iterator=0,this.components=this.dataComponents||2,this.data=[]},e.prototype.push=function(e,t,i,o){this.preAllocated&&(this.preAllocated[++this.iterator]=e,this.preAllocated[++this.iterator]=t,this.preAllocated[++this.iterator]=i,this.preAllocated[++this.iterator]=o)},e.prototype.render=function(e,t,i){var o=(this.preAllocated||this.data).length;return!(!this.buffer||!o)&&(!((t=!t||ot.node.levelDynamic)return 1;if(e.node.levelDynamicr.zMax&&(r.zMax=t[2]),t[2]r.zMax&&(r.zMax=m[S]),m[S]p&&(v.x=s,v.y=l),null===l&&H?"continue":null!==l&&(ie||$||ee)?(te=(p<=M||p<=s)&&(k<=g||s<=g)||te)||$||ee?(se&&se=i.value)&&(o=B[t]),!0):void 0!==e.value&&l<=e.value&&(B[t]&&(!i||l>=i.value)&&(o=B[t]),!0)}),w=o||R||w),!c.useGPUTranslations&&(r.skipTranslation=!0,s=X.toPixels(s,!0),l=A.toPixels(l,!0),Z-Number.MAX_VALUE&&e(y))}ne()}},v.prototype.pushSeries=function(e){var t=this.markerData,i=this.series,o=this.settings;0=i.length?i.push(t):i[e.index]=t,this.pushSeriesData(e,t),o.debug.timeSeriesProcessing&&console.timeEnd("building "+e.type+" series")},v.prototype.flush=function(){var e=this.vbuffer;this.data=[],this.markerData=[],this.series=[],e&&e.destroy()},v.prototype.setXAxis=function(e){var t,i=this.shader;i&&(t=this.getPixelRatio(),i.setUniform("xAxisTrans",e.transA*t),i.setUniform("xAxisMin",e.min),i.setUniform("xAxisMinPad",e.minPixelPadding*t),i.setUniform("xAxisPointRange",e.pointRange),i.setUniform("xAxisLen",e.len*t),i.setUniform("xAxisPos",e.pos*t),i.setUniform("xAxisCVSCoord",!e.horiz),i.setUniform("xAxisIsLog",!!e.logarithmic),i.setUniform("xAxisReversed",!!e.reversed))},v.prototype.setYAxis=function(e){var t,i=this.shader;i&&(t=this.getPixelRatio(),i.setUniform("yAxisTrans",e.transA*t),i.setUniform("yAxisMin",e.min),i.setUniform("yAxisMinPad",e.minPixelPadding*t),i.setUniform("yAxisPointRange",e.pointRange),i.setUniform("yAxisLen",e.len*t),i.setUniform("yAxisPos",e.pos*t),i.setUniform("yAxisCVSCoord",!e.horiz),i.setUniform("yAxisIsLog",!!e.logarithmic),i.setUniform("yAxisReversed",!!e.reversed))},v.prototype.setThreshold=function(e,t){var i=this.shader;i&&(i.setUniform("hasThreshold",e),i.setUniform("translatedThreshold",t))},v.prototype.renderChart=function(l){var h=this,f=this.gl,c=this.settings,d=this.shader,u=this.vbuffer,p=this.getPixelRatio();if(!l)return!1;this.width=l.chartWidth*p,this.height=l.chartHeight*p;var e=this.height,t=this.width;if(!(f&&d&&t&&e))return!1;c.debug.timeRendering&&console.time("gl rendering"),f.canvas.width=t,f.canvas.height=e,d.bind(),f.viewport(0,0,t,e),d.setPMatrix(v.orthoMatrix(t,e)),12*((i.marker?i.marker.radius:10)||10)),o=h.textureHandles[o&&o.symbol||e.series.symbol]||h.textureHandles.circle;if(0!==e.segments.length&&e.segments[0].from!==e.segments[0].to&&(o.isReady&&(f.bindTexture(f.TEXTURE_2D,o.handle),d.setTexture(o.handle)),l.styledMode?o=e.series.markerGroup&&e.series.markerGroup.getStyle("fill"):(o="POINTS"===e.drawMode&&e.series.pointAttribs&&e.series.pointAttribs().fill||e.series.color,i.colorByPoint&&(o=e.series.chart.options.colors[t])),e.series.fillOpacity&&i.fillOpacity&&(o=new g(o).setOpacity(A(i.fillOpacity,1)).get()),o=ae(o).rgba,c.useAlpha||(o[3]=1),"LINES"===e.drawMode&&c.useAlpha&&o[3]<1&&(o[3]/=10),"add"===i.boostBlending?(f.blendFunc(f.SRC_ALPHA,f.ONE),f.blendEquation(f.FUNC_ADD)):"mult"===i.boostBlending||"multiply"===i.boostBlending?f.blendFunc(f.DST_COLOR,f.ZERO):"darken"===i.boostBlending?(f.blendFunc(f.ONE,f.ONE),f.blendEquation(f.FUNC_MIN)):f.blendFuncSeparate(f.SRC_ALPHA,f.ONE_MINUS_SRC_ALPHA,f.ONE,f.ONE_MINUS_SRC_ALPHA),d.reset(),0(i.boostThreshold||Number.MAX_VALUE)&&M(s.min)&&M(s.max)&&(!t||M(o.min)&&M(o.max))&&(!e||M(e.min)&&M(e.max))}function p(){var t=this,e=t.chart;e.boost&&e.boost.markerGroup===t.markerGroup&&(t.markerGroup=null),e.hoverPoints&&(e.hoverPoints=e.hoverPoints.filter(function(e){return e.series===t})),e.hoverPoint&&e.hoverPoint.series===t&&(e.hoverPoint=null)}function g(){var e=this.boost;e&&e.canvas&&e.target&&(e.wgl&&e.wgl.clear(),e.clear&&e.clear())}function z(e){var t=e.boost;t&&t.canvas&&t.target&&t.wgl&&!I(e.chart)&&t.wgl.render(e.chart)}function h(e,t){var i=e.options,o=e.xAxis,s=e.pointClass;return t instanceof s?t:(i=e.xData||i.xData||e.processedXData||!1,(s=(new s).init(e,e.options.data[t.i],i?i[t.i]:void 0)).category=r(o.categories?o.categories[s.x]:s.x,s.x),s.dist=t.dist,s.distX=t.distX,s.plotX=t.plotX,s.plotY=t.plotY,s.index=t.i,s.percentage=t.percentage,s.isInside=e.isPointInside(s),s)}function b(){var e=this,t=this.options||{},l=this.chart,h=this.xAxis,f=this.yAxis,i=t.xData||this.processedXData,c=t.yData||this.processedYData,o=t.data,s=h.getExtremes(),d=s.min,u=s.max,p=(s=f.getExtremes()).min,g=s.max,r={},b=!!this.sampling,n=!1!==t.enableMouseTracking,m=(s=t.threshold,this.pointArrayMap&&"low,high"===this.pointArrayMap.join(",")),A=!!t.stacking,a=this.cropStart||0,x=this.requireSorting,v=!i,y="x"===t.findNearestPointBy,P=this.xData||this.options.xData||this.processedXData||!1;t=!1;var T,E,C,S,k,M,w,R,U=f.getThreshold(s);t=D(l,this),l.boosted=!0,this.visible&&((this.points||this.graph)&&L(this),I(l)?(this.markerGroup&&this.markerGroup!==l.boost.markerGroup&&this.markerGroup.destroy(),this.markerGroup=l.boost.markerGroup,this.boost&&this.boost.target&&(this.renderTarget=this.boost.target=this.boost.target.destroy())):(l.boost&&this.markerGroup===l.boost.markerGroup&&(this.markerGroup=void 0),this.markerGroup=this.plotGroup("markerGroup","markers",!0,1,l.seriesGroup)),M=this.points=[],w=function(e,t,i,o){e=Math.ceil(e),G=y?e:e+","+t,n&&!r[G]&&(r[G]=!0,l.inverted&&(e=h.len-e,t=f.len-t),M.push({x:!!P&&P[a+i],clientX:e,plotX:e,plotY:t,i:a+i,percentage:o}))},this.buildKDTree=_,t&&(B(t,this),t.pushSeries(this),z(this)),R=t.settings,t=function(){O(e,"renderedCanvas"),delete e.buildKDTree,e.buildKDTree(),R.debug.timeKDTree&&console.timeEnd("kd tree building")},l.renderer.forExport||(R.debug.timeKDTree&&console.time("kd tree building"),N(A?this.data:i||o,function(e,t){var i,o,s,r=void 0===l.index,n=!1,a=!0;return void 0===e||(r||(o=v?(i=e[0],e[1]):(i=e,c[t]),m?(n=(o=v?e.slice(1,3):o)[0],o=o[1]):A&&(i=e.x,n=(o=e.stackY)-e.y,s=e.percentage),x||(a=p<=(o||0)&&o<=g),null!==o&&d<=i&&i<=u&&a&&(e=h.toPixels(i,!0),b?(void 0!==S&&e!==T||(m||(n=o),(void 0===k||C=(r.options.boostThreshold||Number.MAX_VALUE))}var i,o,s,r=this,n=this.options.data;u(this.chart)&&c[this.type]?(t(n)&&"heatmap"!==this.type&&"treemap"!==this.type&&!this.options.stacking&&a(this,!0)||(e.apply(this,[].slice.call(arguments,1)),n=this.processedXData),(this.boosted=t(n))?(n=void 0,this.options.data&&this.options.data.length&&(n=this.getFirstValidPoint(this.options.data),M(n)||U(n)||S(12,!1,this.chart)),(o=this).boost=o.boost||{getPoint:function(e){return h(o,e)}},s=o.boost.altered=[],["allowDG","directTouch","stickyTracking"].forEach(function(e){s.push({prop:e,val:o[e],own:Object.hasOwnProperty.call(o,e)})}),o.allowDG=!1,o.directTouch=!1,o.stickyTracking=!0,o.finishedAnimating=!0,o.labelBySeries&&(o.labelBySeries=o.labelBySeries.destroy())):(n=(i=this).boost)&&((n.altered||[]).forEach(function(e){e.own?i[e.prop]=e.val:delete i[e.prop]}),n.clear&&n.clear())):e.apply(this,[].slice.call(arguments,1))}function v(e){var t=e.apply(this,[].slice.call(arguments,1));return this.boost&&t?this.boost.getPoint(t):t}var G,f,y=e.getBoostClipRect,I=e.isChartSeriesBoosting,P=t.getOptions,T=i.doc,_=i.noop,E=i.win,C=o.addEvent,S=o.error,k=o.extend,O=o.fireEvent,U=o.isArray,M=o.isNumber,r=o.pick,w=o.wrap,R=[];return{compose:function(e,s,t){var r,i,o,n,a,l,h,f;return-1===R.indexOf(e)&&(R.push(e),C(e,"destroy",p),C(e,"hide",g),r=e.prototype,t&&(r.renderCanvas=b),w(r,"getExtremes",A),w(r,"processData",x),w(r,"searchPoint",v),["translate","generatePoints","drawTracker","drawPoints","render"].forEach(function(e){return i=s,w(r,o=e,t),void("translate"===o&&["column","arearange","columnrange","heatmap","treemap"].forEach(function(e){i[e]&&w(i[e].prototype,o,t)}));function t(e){var t=this.options.stacking&&("translate"===o||"generatePoints"===o);this.boosted&&!t&&u(this.chart)&&"heatmap"!==this.type&&"treemap"!==this.type&&c[this.type]&&0!==this.options.boostThreshold?"render"===o&&this.renderCanvas&&this.renderCanvas():e.call(this)}var i,o})),-1===R.indexOf(P)&&(R.push(P),i=P().plotOptions,d.forEach(function(e){var t=i[e];t&&(t.boostThreshold=5e3,t.boostData=[],s[e].prototype.fillOpacity=!0)})),t&&(o=s.area,n=s.areaspline,a=s.bubble,t=s.column,l=s.heatmap,h=s.scatter,f=s.treemap,o&&-1===R.indexOf(o)&&(R.push(o),k(o.prototype,{fill:!0,fillOpacity:!0,sampling:!0})),n&&-1===R.indexOf(n)&&(R.push(n),k(n.prototype,{fill:!0,fillOpacity:!0,sampling:!0})),a&&-1===R.indexOf(a)&&(R.push(a),delete(o=a.prototype).buildKDTree,w(o,"markerAttribs",function(e){return!this.boosted&&e.apply(this,[].slice.call(arguments,1))})),t&&-1===R.indexOf(t)&&(R.push(t),k(t.prototype,{fill:!0,sampling:!0})),h&&-1===R.indexOf(h)&&(R.push(h),h.prototype.fill=!0),[l,f].forEach(function(e){e&&-1===R.indexOf(e)&&(R.push(e),w(e.prototype,"drawPoints",m))})),e},destroyGraphics:L,getPoint:h}}),t(e,"Extensions/BoostCanvas.js",[e["Extensions/Boost/BoostChart.js"],e["Extensions/Boost/BoostSeries.js"],e["Core/Chart/Chart.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,t,i,Z,Q,o,s,J){var $,l=e.getBoostClipRect,h=e.isChartSeriesBoosting,ee=t.destroyGraphics,te=Z.parse,f=Q.doc,ie=Q.noop,r=s.seriesTypes,oe=J.addEvent,se=J.extend,re=J.fireEvent,ne=J.isNumber,ae=J.merge,le=J.pick,c=J.wrap;return function(){Q.seriesTypes.heatmap&&c(Q.seriesTypes.heatmap.prototype,"drawPoints",function(){var r=this.chart,n=this.getContext(),a=this.chart.inverted,l=this.xAxis,h=this.yAxis;n?(this.points.forEach(function(e){var t,i,o,s=e.plotY;void 0!==s&&!isNaN(s)&&null!==e.y&&n&&(s=void 0===(s=(o=e.shapeArgs||{}).x)?0:s,t=void 0===(t=o.y)?0:t,i=void 0===(i=o.width)?0:i,o=void 0===(o=o.height)?0:o,e=r.styledMode?e.series.colorAttribs(e):e.series.pointAttribs(e),n.fillStyle=e.fill,a?n.fillRect(h.len-t+l.left,l.len-s+h.top,-o,-i):n.fillRect(s+l.left,t+h.top,i,o))}),this.canvasToSVG()):this.chart.showLoading("Your browser doesn't support HTML5 canvas,
please use a modern browser")}),se(o.prototype,{getContext:function(){function t(e,t,i,o,s,r,n){e.call(this,i,t,o,s,r,n)}var e=this.chart,i=h(e)?e:this,o=i===e?e.seriesGroup:e.seriesGroup||this.group,s=e.chartWidth,r=e.chartHeight,n=i.boost=i.boost||{},a=n.targetCtx;return n.canvas||(n.canvas=f.createElement("canvas"),n.target=e.renderer.image("",0,0,s,r).addClass("highcharts-boost-canvas").add(o),a=n.targetCtx=n.canvas.getContext("2d"),e.inverted&&["moveTo","lineTo","rect","arc"].forEach(function(e){c(a,e,t)}),n.copy=function(){n.target.attr({href:n.canvas.toDataURL("image/png")})},n.clear=function(){a.clearRect(0,0,n.canvas.width,n.canvas.height),i===n.target&&n.target.attr({href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="})},n.clipRect=e.renderer.clipRect(),n.target.clip(n.clipRect)),n.canvas.width!==s&&(n.canvas.width=s),n.canvas.height!==r&&(n.canvas.height=r),n.target.attr({x:0,y:0,width:s,height:r,style:"pointer-events: none",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="}),n.clipRect&&n.clipRect.attr(l(e,i)),a},canvasToSVG:function(){h(this.chart)?this.boost&&this.boost.clear&&this.boost.clear():this.boost&&this.boost.copy?this.boost.copy():this.chart.boost&&this.chart.boost.copy&&this.chart.boost.copy()},cvsLineTo:function(e,t,i){e.lineTo(t,i)},renderCanvas:function(){function c(e,t,i,o){0===r&&(N.beginPath(),C&&(N.lineJoin="round")),v.scroller&&"highcharts-navigator-series"===x.options.className?(t+=v.scroller.top,i&&(i+=v.scroller.top)):t+=v.plotTop,e+=v.plotLeft,p?N.moveTo(e,t):f?f(N,e,t,i,s):C?C(N,e,t):S&&S.call(x,N,e,t,h,o),(r+=1)===O&&(Y(),r=0),s={clientX:e,plotY:t,yBottom:i}}function d(e,t,i){o=W?e:e+","+t,j&&!l[o]&&(l[o]=!0,v.inverted&&(e=y.len-e,t=P.len-t),q.push({x:!!K&&K[B+i],clientX:e,plotX:e,plotY:t,i:B+i}))}var u,s,p,g,b,m,A,o,x=this,e=x.options,v=x.chart,y=this.xAxis,P=this.yAxis,i=(v.options.boost||{}).timeRendering||!1,r=0,t=x.processedXData,z=x.processedYData,n=e.data,a=y.getExtremes(),T=a.min,E=a.max,G=(a=P.getExtremes()).min,I=a.max,l={},_=!!x.sampling,h=e.marker&&e.marker.radius,f=this.cvsDrawPoint,C=e.lineWidth?this.cvsLineTo:void 0,S=h&&h<=1?this.cvsMarkerSquare:this.cvsMarkerCircle,O=this.cvsStrokeBatch||1e3,j=!1!==e.enableMouseTracking,k=(a=e.threshold,P.getThreshold(a)),M=ne(a),w=k,V=this.fill,R=x.pointArrayMap&&"low,high"===x.pointArrayMap.join(","),U=!!e.stacking,B=x.cropStart||0,X=(a=v.options.loading,x.requireSorting),F=e.connectNulls,D=!t,L=U?x.data:t||n,H=x.fillOpacity?Z.parse(x.color).setOpacity(le(e.fillOpacity,.75)).get():x.color,Y=function(){V?(N.fillStyle=H,N.fill()):(N.strokeStyle=x.color,N.lineWidth=e.lineWidth,N.stroke())},W="x"===e.findNearestPointBy,K=this.xData||this.options.xData||this.processedXData||!1,q=((t=this.boost||{}).target&&t.target.attr({href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="}),(this.points||this.graph)&&ee(this),x.plotGroup("group","series",x.visible?"visible":"hidden",e.zIndex,v.seriesGroup),x.markerGroup=x.group,oe(x,"destroy",function(){x.markerGroup=null}),this.points=[]),N=this.getContext();x.buildKDTree=ie,t.clear&&t.clear(),this.visible&&(99999s[e][0]););n=s[e]||s[e+1],t=1-((s=s[e+1]||n)[0]-t)/(s[0]-n[0]||1),a=n.color.tweenTo(s.color,t)}return a},x.prototype.getOffset=function(){var o,t=this.legendGroup,e=this.chart.axisOffset[this.side];t&&(this.axisParent=t,l.prototype.getOffset.call(this),(o=this.chart.legend).allItems.forEach(function(t){t instanceof x&&t.drawLegendSymbol(o,t)}),o.render(),this.chart.getMargins(!0),this.added||(this.added=!0,this.labelLeft=0,this.labelRight=this.width),this.chart.axisOffset[this.side]=e)},x.prototype.setLegendColor=function(){var t=(o=this.reversed)?1:0,o=o?0:1,t=this.horiz?[t,0,o,0]:[0,o,0,t];this.legendColor={linearGradient:{x1:t[0],y1:t[1],x2:t[2],y2:t[3]},stops:this.stops}},x.prototype.drawLegendSymbol=function(t,o){var e=t.padding,i=t.options,s=this.horiz,r=y(i.symbolWidth,s?x.defaultLegendLength:12),n=y(i.symbolHeight,s?12:x.defaultLegendLength),a=y(i.labelPadding,s?16:30),i=y(i.itemDistance,10);this.setLegendColor(),o.legendSymbol||(o.legendSymbol=this.chart.renderer.rect(0,t.baseline-11,r,n).attr({zIndex:1}).add(o.legendGroup)),this.legendItemWidth=r+e+(s?i:this.options.labels.x+this.maxLabelLength),this.legendItemHeight=n+e+(s?a:0)},x.prototype.setState=function(o){this.series.forEach(function(t){t.setState(o)})},x.prototype.setVisible=function(){},x.prototype.getSeriesExtremes=function(){var t,o=this.series,e=o.length;for(this.dataMin=1/0,this.dataMax=-1/0;e--;){var i=o[e],s=i.colorKey=y(i.options.colorKey,i.colorKey,i.pointValKey,i.zoneAxis,"y"),r=i.pointArrayMap,n=i[s+"Min"]&&i[s+"Max"];if(i[s+"Data"])var a=i[s+"Data"];else if(r){var a=[],r=r.indexOf(s),l=i.yData;if(0<=r&&l)for(t=0;t "),void 0!==e&&(n+=s(e,d)+c),void 0!==e&&void 0!==i&&(n+=" - "),void 0!==i&&(n+=s(i,d)+c),h.push(u({chart:l,name:n,options:{},drawLegendSymbol:p.drawRectangle,visible:!0,setState:f,isDataClass:!0,setVisible:function(){this.visible=r=a.visible=!r,a.series.forEach(function(t){t.points.forEach(function(t){t.dataClass===o&&t.setVisible(r)})}),l.legend.colorizeItem(this,r)}},t))}),h},x.defaultColorAxisOptions=e,x.defaultLegendLength=200,x.keepProps=["legendGroup","legendItemHeight","legendItemWidth","legendItem","legendSymbol"],o=x,Array.prototype.push.apply(t.keepProps,o.keepProps),o}),o(t,"masters/modules/coloraxis.src.js",[t["Core/Globals.js"],t["Core/Axis/Color/ColorAxis.js"]],function(t,o){(t.ColorAxis=o).compose(t.Chart,t.Fx,t.Legend,t.Series)})}); \ No newline at end of file +!function(o){"object"==typeof module&&module.exports?module.exports=o.default=o:"function"==typeof define&&define.amd?define("highcharts/modules/color-axis",["highcharts"],function(t){return o(t),o.Highcharts=t,o}):o("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function o(t,o,e,i){t.hasOwnProperty(o)||(t[o]=i.apply(null,e),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:o,module:t[o]}})))}o(t=t?t._modules:{},"Core/Axis/Color/ColorAxisComposition.js",[t["Core/Color/Color.js"],t["Core/Utilities.js"]],function(t,o){var e,n,l,i=t.parse,a=o.addEvent,h=o.extend,d=o.merge,c=o.pick,s=o.splat;function p(){var e=this,t=this.options;this.colorAxis=[],t.colorAxis&&(t.colorAxis=s(t.colorAxis),t.colorAxis.forEach(function(t,o){t.index=o,new n(e,t)}))}function f(o){function e(t){-1!==(t=o.allItems.indexOf(t))&&(s.destroyItem(o.allItems[t]),o.allItems.splice(t,1))}var i,t,s=this,r=[];for((this.chart.colorAxis||[]).forEach(function(t){(i=t.options)&&i.showInLegend&&(i.dataClasses&&i.visible?r=r.concat(t.getDataClassLegendSymbols()):i.visible&&r.push(t),t.series.forEach(function(t){t.options.showInLegend&&!i.dataClasses||("point"===t.options.legendType?t.points.forEach(function(t){e(t)}):e(t))}))}),t=r.length;t--;)o.allItems.unshift(r[t])}function u(t){t.visible&&t.item.legendColor&&t.item.legendItem.symbol.attr({fill:t.item.legendColor})}function m(){var t=this.chart.colorAxis;t&&t.forEach(function(t,o,e){t.update({},e)})}function g(){(this.chart.colorAxis&&this.chart.colorAxis.length||this.colorAttribs)&&this.translateColors()}function y(){var t=this.axisTypes;t?-1===t.indexOf("colorAxis")&&t.push("colorAxis"):this.axisTypes=["colorAxis"]}function x(t){var o=this,e=t?"show":"hide";o.visible=o.options.visible=!!t,["graphic","dataLabel"].forEach(function(t){o[t]&&o[t][e]()}),this.series.buildKDTree()}function C(){var e=this,i=this.options.nullColor,s=this.colorAxis,r=this.colorKey;(this.data.length?this.data:this.points).forEach(function(t){var o=t.getNestedProperty(r);(o=t.options.color||(t.isNull||null===t.value?i:s&&void 0!==o?s.toColor(o,t):t.color||e.color))&&t.color!==o&&(t.color=o,"point"===e.options.legendType&&t.legendItem&&t.legendItem.label&&e.chart.legend.colorizeItem(t,t.visible))})}function v(){this.elem.attr("fill",i(this.start).tweenTo(i(this.end),this.pos),void 0,!0)}function b(){this.elem.attr("stroke",i(this.start).tweenTo(i(this.end),this.pos),void 0,!0)}return t=e=e||{},l=[],t.compose=function(t,o,e,i,s){var r;n=n||t,-1===l.indexOf(o)&&(l.push(o),(t=o.prototype).collectionsWithUpdate.push("colorAxis"),t.collectionsWithInit.colorAxis=[t.addColorAxis],a(o,"afterGetAxes",p),r=(t=o).prototype.createAxis,t.prototype.createAxis=function(t,o){if("colorAxis"!==t)return r.apply(this,arguments);var e=new n(this,d(o.axis,{index:this[t].length,isX:!1}));return this.isDirtyLegend=!0,this.axes.forEach(function(t){t.series=[]}),this.series.forEach(function(t){t.bindAxes(),t.isDirtyData=!0}),c(o.redraw,!0)&&this.redraw(o.animation),e}),-1===l.indexOf(e)&&(l.push(e),(o=e.prototype).fillSetter=v,o.strokeSetter=b),-1===l.indexOf(i)&&(l.push(i),a(i,"afterGetAllItems",f),a(i,"afterColorizeItem",u),a(i,"afterUpdate",m)),-1===l.indexOf(s)&&(l.push(s),h(s.prototype,{optionalAxis:"colorAxis",translateColors:C}),h(s.prototype.pointClass.prototype,{setVisible:x}),a(s,"afterTranslate",g,{order:1}),a(s,"bindAxes",y))},t.pointSetVisible=x,e}),o(t,"Core/Axis/Color/ColorAxisDefaults.js",[],function(){return{lineWidth:0,minPadding:0,maxPadding:0,gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50},width:.01,color:"#999999"},labels:{overflow:"justify",rotation:0},minColor:"#e6ebf5",maxColor:"#003399",tickLength:5,showInLegend:!0}}),o(t,"Core/Axis/Color/ColorAxis.js",[t["Core/Axis/Axis.js"],t["Core/Color/Color.js"],t["Core/Axis/Color/ColorAxisComposition.js"],t["Core/Axis/Color/ColorAxisDefaults.js"],t["Core/Globals.js"],t["Core/Legend/LegendSymbol.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,o,s,e,i,f,r,n){var l,a,h=this&&this.__extends||(l=function(t,o){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)o.hasOwnProperty(e)&&(t[e]=o[e])})(t,o)},function(t,o){function e(){this.constructor=t}l(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),d=o.parse,c=r.series,u=n.extend,p=n.isNumber,m=n.merge,g=n.pick;function y(t,o){var e=a.call(this,t,o)||this;return e.beforePadding=!1,e.chart=void 0,e.coll="colorAxis",e.dataClasses=void 0,e.name="",e.options=void 0,e.stops=void 0,e.visible=!0,e.init(t,o),e}return h(y,a=t),y.compose=function(t,o,e,i){s.compose(y,t,o,e,i)},y.prototype.init=function(t,o){var e=t.options.legend||{},i=o.layout?"vertical"!==o.layout:"vertical"!==e.layout,s=o.visible,e=m(y.defaultColorAxisOptions,o,{showEmpty:!1,title:null,visible:e.enabled&&!1!==s});this.coll="colorAxis",this.side=o.side||i?2:1,this.reversed=o.reversed||!i,this.opposite=!i,a.prototype.init.call(this,t,e),this.userOptions.visible=s,o.dataClasses&&this.initDataClasses(o),this.initStops(),this.horiz=i,this.zoomEnabled=!1},y.prototype.initDataClasses=function(t){var e,i=this.chart,o=this.legendItem=this.legendItem||{},s=t.dataClasses.length,r=this.options,n=0,l=i.options.chart.colorCount;this.dataClasses=e=[],o.labels=[],(t.dataClasses||[]).forEach(function(t,o){t=m(t),e.push(t),!i.styledMode&&t.color||("category"===r.dataClassColor?(i.styledMode||(o=i.options.colors,l=o.length,t.color=o[n]),t.colorIndex=n,++n===l&&(n=0)):t.color=d(r.minColor).tweenTo(d(r.maxColor),s<2?.5:o/(s-1)))})},y.prototype.hasData=function(){return!!(this.tickPositions||[]).length},y.prototype.setTickPositions=function(){if(!this.dataClasses)return a.prototype.setTickPositions.call(this)},y.prototype.initStops=function(){this.stops=this.options.stops||[[0,this.options.minColor],[1,this.options.maxColor]],this.stops.forEach(function(t){t.color=d(t[1])})},y.prototype.setOptions=function(t){a.prototype.setOptions.call(this,t),this.options.crosshair=this.options.marker},y.prototype.setAxisSize=function(){var t,o,e=this.legendItem&&this.legendItem.symbol,i=this.chart,s=i.options.legend||{};e?(this.left=s=e.attr("x"),this.top=t=e.attr("y"),this.width=o=e.attr("width"),this.height=e=e.attr("height"),this.right=i.chartWidth-s-o,this.bottom=i.chartHeight-t-e,this.len=this.horiz?o:e,this.pos=this.horiz?s:t):this.len=(this.horiz?s.symbolWidth:s.symbolHeight)||y.defaultLegendLength},y.prototype.normalizedValue=function(t){return this.logarithmic&&(t=this.logarithmic.log2lin(t)),1-(this.max-t)/(this.max-this.min||1)},y.prototype.toColor=function(t,o){var e,i=this.dataClasses,s=this.stops;if(i)for(e=i.length;e--;){var r=i[e],n=r.from,s=r.to;if((void 0===n||n<=t)&&(void 0===s||t<=s)){var l=r.color;o&&(o.dataClass=e,o.colorIndex=r.colorIndex);break}}else{for(t=this.normalizedValue(t),e=s.length;e--&&!(t>s[e][0]););n=s[e]||s[e+1],t=1-((s=s[e+1]||n)[0]-t)/(s[0]-n[0]||1),l=n.color.tweenTo(s.color,t)}return l},y.prototype.getOffset=function(){var o,t=this.legendItem&&this.legendItem.group,e=this.chart.axisOffset[this.side];t&&(this.axisParent=t,a.prototype.getOffset.call(this),(o=this.chart.legend).allItems.forEach(function(t){t instanceof y&&t.drawLegendSymbol(o,t)}),o.render(),this.chart.getMargins(!0),this.added||(this.added=!0,this.labelLeft=0,this.labelRight=this.width),this.chart.axisOffset[this.side]=e)},y.prototype.setLegendColor=function(){var t=(o=this.reversed)?1:0,o=o?0:1,t=this.horiz?[t,0,o,0]:[0,o,0,t];this.legendColor={linearGradient:{x1:t[0],y1:t[1],x2:t[2],y2:t[3]},stops:this.stops}},y.prototype.drawLegendSymbol=function(t,o){o=o.legendItem||{};var e=t.padding,i=t.options,s=g(i.itemDistance,10),r=this.horiz,n=g(i.symbolWidth,r?y.defaultLegendLength:12),l=g(i.symbolHeight,r?12:y.defaultLegendLength),i=g(i.labelPadding,r?16:30);this.setLegendColor(),o.symbol||(o.symbol=this.chart.renderer.rect(0,t.baseline-11,n,l).attr({zIndex:1}).add(o.group)),o.labelWidth=n+e+(r?s:this.options.labels.x+this.maxLabelLength),o.labelHeight=l+e+(r?i:0)},y.prototype.setState=function(o){this.series.forEach(function(t){t.setState(o)})},y.prototype.setVisible=function(){},y.prototype.getSeriesExtremes=function(){var t,o=this.series,e=o.length;for(this.dataMin=1/0,this.dataMax=-1/0;e--;){var i=o[e],s=i.colorKey=g(i.options.colorKey,i.colorKey,i.pointValKey,i.zoneAxis,"y"),r=i.pointArrayMap,n=i[s+"Min"]&&i[s+"Max"];if(i[s+"Data"])var l=i[s+"Data"];else if(r){var l=[],r=r.indexOf(s),a=i.yData;if(0<=r&&a)for(t=0;t "),void 0!==o&&(l+=s(o,c)+p),void 0!==o&&void 0!==e&&(l+=" - "),void 0!==e&&(l+=s(e,c)+p),d.push(u({chart:h,name:l,options:{},drawLegendSymbol:f.drawRectangle,visible:!0,isDataClass:!0,setState:function(t){for(var o=0,e=n(i);o=r.length)&&(o=r.length-1),d.itemDelimiter||(y=null,l=i=0,(t=r).some(function(e,t){var r=!1,o="";if(13h[","]?";":",",d.decimalPoint||(d.decimalPoint=le.length)&&(t=e.length);ae[p+1])):(m&&m.length&&(r=this.parseDate(c)),i&&y(r)&&"float"!==d?(l[p]=c,e[p]=r,e.isDatetime=!0,void 0!==e[p+1]&&((c=r>e[p+1])!==o&&void 0!==o&&(this.alternativeFormat?(this.dateFormat=this.alternativeFormat,p=e.length,this.alternativeFormat=this.dateFormats[this.dateFormat].alternative):e.unsorted=!0),o=c)):(e[p]=""===m?null:m,0!==p&&(e.isDatetime||e.isNumeric)&&(e.mixed=!0)))}if(i&&e.mixed&&(a[t]=n[t]),i&&o&&this.options.sort)for(t=0;t(new Date).getFullYear()-2e3?t+1900:t+2e3;return Date.UTC(t,e[2]-1,+e[1])},alternative:"mm/dd/YY"},"mm/dd/YY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{2})$/,parser:function(e){return e?Date.UTC(+e[3]+2e3,e[1]-1,+e[2]):NaN}}},this.chart=r,this.chartOptions=t,this.options=e,this.rawColumns=[],this.init(e,t,r)}t(e,"init",function(e){var o=this,n=e.args[1],t=i().data,a=e.args[0]||{};(t||a&&a.data)&&!o.hasDataDef&&(o.hasDataDef=!0,t=f(t,a.data),o.data=new d(l(t,{afterComplete:function(e){var t;if(Object.hasOwnProperty.call(a,"series"))if("object"==typeof a.series)for(t=Math.max(a.series.length,e&&e.series?e.series.length:0);t--;){var r=a.series[t]||{};a.series[t]=f(r,e&&e.series?e.series[t]:{})}else delete a.series;a=f(e,a),o.init(a,n)}}),a,o),e.preventDefault())});N.prototype.populateColumns=function(t){var r=!0;return this.readers.forEach(function(e){void 0===e.columnIndex&&(e.columnIndex=t.shift())}),this.readers.forEach(function(e){void 0===e.columnIndex&&(r=!1)}),r},N.prototype.read=function(r,o){var e,n=this.pointIsArray,a=n?[]:{};return this.readers.forEach(function(e){var t=r[e.columnIndex][o];n?a.push(t):0=r.length)&&(o=r.length-1),d.itemDelimiter||(y=null,l=i=0,(t=r).some(function(e,t){var r=!1,o="";if(13h[","]?";":",",d.decimalPoint||(d.decimalPoint=le.length)&&(t=e.length);ne[p+1])):(m&&m.length&&(r=this.parseDate(c)),i&&y(r)&&"float"!==d?(l[p]=c,e[p]=r,e.isDatetime=!0,void 0!==e[p+1]&&((c=r>e[p+1])!==o&&void 0!==o&&(this.alternativeFormat?(this.dateFormat=this.alternativeFormat,p=e.length,this.alternativeFormat=this.dateFormats[this.dateFormat].alternative):e.unsorted=!0),o=c)):(e[p]=""===m?null:m,0!==p&&(e.isDatetime||e.isNumeric)&&(e.mixed=!0)))}if(i&&e.mixed&&(n[t]=a[t]),i&&o&&this.options.sort)for(t=0;t(new Date).getFullYear()-2e3?t+1900:t+2e3;return Date.UTC(t,e[2]-1,+e[1])},alternative:"mm/dd/YY"},"mm/dd/YY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{2})$/,parser:function(e){return e?Date.UTC(+e[3]+2e3,e[1]-1,+e[2]):NaN}}},this.chart=r,this.chartOptions=t,this.options=e,this.rawColumns=[],this.init(e,t,r)}t(e,"init",function(e){var o=this,a=e.args[1],t=i().data,n=e.args[0]||{};(t||n&&n.data)&&!o.hasDataDef&&(o.hasDataDef=!0,t=f(t,n.data),o.data=new d(l(t,{afterComplete:function(e){var t;if(Object.hasOwnProperty.call(n,"series"))if("object"==typeof n.series)for(t=Math.max(n.series.length,e&&e.series?e.series.length:0);t--;){var r=n.series[t]||{};n.series[t]=f(r,e&&e.series?e.series[t]:{})}else delete n.series;n=f(e,n),o.init(n,a)}}),n,o),e.preventDefault())});N.prototype.populateColumns=function(t){var r=!0;return this.readers.forEach(function(e){void 0===e.columnIndex&&(e.columnIndex=t.shift())}),this.readers.forEach(function(e){void 0===e.columnIndex&&(r=!1)}),r},N.prototype.read=function(r,o){var e,a=this.pointIsArray,n=a?[]:{};return this.readers.forEach(function(e){var t=r[e.columnIndex][o];a?n.push(t):0=i[0]);y++);for(;y<=u;y++){for(;void 0!==i[x+1]&&t[y]>=i[x+1]||y===u;){var M=i[x],v=(e.dataGroupInfo={start:m?D:e.cropStart+D,length:d[0].length},o.apply(e,d));for(e.pointClass&&!P(e.dataGroupInfo.options)&&(e.dataGroupInfo.options=S(e.pointClass.prototype.optionsToObject.call({series:e},e.options.data[e.cropStart+D])),f.forEach(function(t){delete e.dataGroupInfo.options[t]})),void 0!==v&&(s.push(M),p.push(v),h.push(e.dataGroupInfo)),D=y,M=0;M=i[0]&&(m=this.groupMap[0].start,D=this.groupMap[0].length,c=void 0,b(m)&&b(D)&&(c=m+(D-1)),i[0]={middle:i[0]+.5*l,end:i[0]+l,firstPoint:this.xData[0],lastPoint:c&&this.xData[c]}[x]),g&&"start"!==g&&l&&i[f]>=d-l&&(d=this.groupMap[this.groupMap.length-1].start,i[f]={middle:i[f]+.5*l,end:i[f]+l,firstPoint:d&&this.xData[d],lastPoint:this.xData[this.xData.length-1]}[g])}for(d=1;ds.max&&((!P(s.options.max)&&b(s.dataMax)&&s.max>=s.dataMax||s.max===s.dataMax)&&(s.max=Math.max(r[r.length-1],s.max)),s.dataMax=Math.max(r[r.length-1],s.dataMax))),o.groupAll&&(this.allGroupedData=p,e=(o=this.cropData(e,p,s.min,s.max,1)).xData,p=o.yData,this.cropStart=o.start),this.processedXData=e,this.processedYData=p}else this.groupMap=null;this.hasGroupedData=a,this.currentDataGrouping=d,this.preventGraphAnimation=(n&&n.totalRange)!==(d&&d.totalRange)}},y.destroyGroupedData=function(){this.groupedData&&(this.groupedData.forEach(function(t,a){t&&(this.groupedData[a]=t.destroy?t.destroy():null)},this),this.groupedData.length=0)},y.generatePoints=function(){c.apply(this),this.destroyGroupedData(),this.groupedData=this.hasGroupedData?this.points:null},o.prototype.applyGrouping=function(a){var i=this,t=i.series;t.forEach(function(t){t.groupPixelWidth=void 0}),t.forEach(function(t){t.groupPixelWidth=i.getGroupPixelWidth&&i.getGroupPixelWidth(),t.groupPixelWidth&&(t.hasProcessed=!0),t.applyGrouping(!!a.hasExtemesChanged)})},o.prototype.getGroupPixelWidth=function(){for(var t,a=this.series,i=a.length,o=0,e=!1,r=i;r--;)(t=a[r].options.dataGrouping)&&(o=Math.max(o,v(t.groupPixelWidth,f.groupPixelWidth)));for(r=i;r--;)(t=a[r].options.dataGrouping)&&(i=(a[r].processedXData||a[r].data).length,(a[r].groupPixelWidth||i>this.chart.plotSizeX/o||i&&t.forced)&&(e=!0));return e?o:0},o.prototype.setDataGrouping=function(a,t){var i;if(t=v(t,!0),a=a||{forced:!1,units:null},this instanceof o)for(i=this.series.length;i--;)this.series[i].update({dataGrouping:a},!1);else this.chart.options.series.forEach(function(t){t.dataGrouping="boolean"==typeof a?a:S(a,t.dataGrouping)});this.ordinal&&(this.ordinal.slope=void 0),t&&this.chart.redraw()},t(o,"postProcessData",o.prototype.applyGrouping),t(i,"update",function(){if(this.dataGroup)return M(24,!1,this.series.chart),!1}),t(r,"headerFormatter",function(t){var a,i,o=this.chart,e=o.time,r=t.labelConfig,n=r.series,s=n.tooltipOptions,p=n.options.dataGrouping,h=s.xDateFormat,u=n.xAxis,l=s[t.isFooter?"footerFormat":"headerFormat"];u&&"datetime"===u.options.type&&p&&b(r.key)&&(a=n.currentDataGrouping,p=p.dateTimeLabelFormats||f.dateTimeLabelFormats,a?(s=p[a.unitName],1===a.count?h=s[0]:(h=s[1],i=s[2])):!h&&p&&u.dateTime&&(h=u.dateTime.getXDateFormat(r.x,s.dateTimeLabelFormats)),h=e.dateFormat(h,r.key),i&&(h+=e.dateFormat(i,r.key+a.totalRange-1)),n.chart.styledMode&&(l=this.styledModeFormat(l)),t.text=d(l,{point:g(r.point,{key:h}),series:n},o),t.preventDefault())}),t(e,"destroy",y.destroyGroupedData),t(e,"afterSetOptions",function(t){t=t.options;var a,i=this.type,o=this.chart.options.plotOptions,e=n.defaultOptions.plotOptions[i].dataGrouping,r=this.useCommonDataGrouping&&f;o&&(m[i]||r)&&(e=e||S(f,m[i]),a=this.chart.rangeSelector,t.dataGrouping=S(r,e,o.series&&o.series.dataGrouping,o[i].dataGrouping,this.userOptions.dataGrouping,!t.isInternal&&a&&b(a.selected)&&a.buttonOptions[a.selected].dataGrouping))}),t(o,"afterSetScale",function(){this.series.forEach(function(t){t.hasProcessed=!1})}),a.dataGrouping=l}),a(t,"masters/modules/datagrouping.src.js",[t["Extensions/DataGrouping.js"]],function(t){return t})}); \ No newline at end of file +!function(i){"object"==typeof module&&module.exports?module.exports=i.default=i:"function"==typeof define&&define.amd?define("highcharts/modules/datagrouping",["highcharts"],function(t){return i(t),i.Highcharts=t,i}):i("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function i(t,i,o,a){t.hasOwnProperty(i)||(t[i]=a.apply(null,o),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:i,module:t[i]}})))}i(t=t?t._modules:{},"Extensions/DataGrouping/ApproximationRegistry.js",[],function(){return{}}),i(t,"Extensions/DataGrouping/ApproximationDefaults.js",[t["Extensions/DataGrouping/ApproximationRegistry.js"],t["Core/Utilities.js"]],function(e,t){function o(t){var i=t.length;return t=a(t),t=p(t)&&i?r(t/i):t}function a(t){var i=t.length;if(!i&&t.hasNulls)var o=null;else if(i)for(o=0;i--;)o+=t[i];return o}var i=t.arrayMax,n=t.arrayMin,r=t.correctFloat,s=t.extend,p=t.isNumber;return s(e,t={average:o,averages:function(){var i=[];return[].forEach.call(arguments,function(t){i.push(o(t))}),void 0===i[0]?void 0:i},close:function(t){return t.length?t[t.length-1]:t.hasNulls?null:void 0},high:function(t){return t.length?i(t):t.hasNulls?null:void 0},hlc:function(t,i,o){if(t=e.high(t),i=e.low(i),o=e.close(o),p(t)||p(i)||p(o))return[t,i,o]},low:function(t){return t.length?n(t):t.hasNulls?null:void 0},ohlc:function(t,i,o,a){if(t=e.open(t),i=e.high(i),o=e.low(o),a=e.close(a),p(t)||p(i)||p(o)||p(a))return[t,i,o,a]},open:function(t){return t.length?t[0]:t.hasNulls?null:void 0},range:function(t,i){return t=e.low(t),i=e.high(i),p(t)||p(i)?[t,i]:null===t&&null===i?null:void 0},sum:a}),t}),i(t,"Extensions/DataGrouping/DataGroupingDefaults.js",[],function(){return{common:{groupPixelWidth:2,dateTimeLabelFormats:{millisecond:["%A, %b %e, %H:%M:%S.%L","%A, %b %e, %H:%M:%S.%L","-%H:%M:%S.%L"],second:["%A, %b %e, %H:%M:%S","%A, %b %e, %H:%M:%S","-%H:%M:%S"],minute:["%A, %b %e, %H:%M","%A, %b %e, %H:%M","-%H:%M"],hour:["%A, %b %e, %H:%M","%A, %b %e, %H:%M","-%H:%M"],day:["%A, %b %e, %Y","%A, %b %e","-%A, %b %e, %Y"],week:["Week from %A, %b %e, %Y","%A, %b %e","-%A, %b %e, %Y"],month:["%B %Y","%B","-%B %Y"],year:["%Y","%Y","-%Y"]}},seriesSpecific:{line:{},spline:{},area:{},areaspline:{},arearange:{},column:{groupPixelWidth:10},columnrange:{groupPixelWidth:10},candlestick:{groupPixelWidth:10},ohlc:{groupPixelWidth:5},hlc:{groupPixelWidth:5},heikinashi:{groupPixelWidth:10}},units:[["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]],["week",[1]],["month",[1,3,6]],["year",null]]}}),i(t,"Extensions/DataGrouping/DataGroupingAxisComposition.js",[t["Extensions/DataGrouping/DataGroupingDefaults.js"],t["Core/Utilities.js"]],function(r,t){function i(i){var o=this,t=o.series;t.forEach(function(t){t.groupPixelWidth=void 0}),t.forEach(function(t){t.groupPixelWidth=o.getGroupPixelWidth&&o.getGroupPixelWidth(),t.groupPixelWidth&&(t.hasProcessed=!0),t.applyGrouping(!!i.hasExtremesChanged)})}function o(){for(var t,i,o=this.series,a=o.length,e=0,n=!1;a--;)(i=o[a].options.dataGrouping)&&(e=Math.max(e,h(i.groupPixelWidth,r.common.groupPixelWidth)),t=(o[a].processedXData||o[a].data).length,(o[a].groupPixelWidth||t>this.chart.plotSizeX/e||t&&i.forced)&&(n=!0));return n?e:0}function a(){this.series.forEach(function(t){t.hasProcessed=!1})}function e(i,t){var o;if(t=h(t,!0),i=i||{forced:!1,units:null},this instanceof n)for(o=this.series.length;o--;)this.series[o].update({dataGrouping:i},!1);else this.chart.options.series.forEach(function(t){t.dataGrouping="boolean"==typeof i?i:u(i,t.dataGrouping)});this.ordinal&&(this.ordinal.slope=void 0),t&&this.chart.redraw()}var n,s=t.addEvent,p=t.extend,u=t.merge,h=t.pick,l=[];return{compose:function(t){n=t,-1===l.indexOf(t)&&(l.push(t),s(t,"afterSetScale",a),s(t,"postProcessData",i),p(t.prototype,{applyGrouping:i,getGroupPixelWidth:o,setDataGrouping:e}))}}}),i(t,"Extensions/DataGrouping/DataGroupingSeriesComposition.js",[t["Extensions/DataGrouping/ApproximationRegistry.js"],t["Extensions/DataGrouping/DataGroupingDefaults.js"],t["Core/Axis/DateTimeAxis.js"],t["Core/Defaults.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(S,G,y,s,t,i){function o(t){var i=this.chart,o=this.options.dataGrouping,a=!1!==this.allowDG&&o&&A(o.enabled,i.options.isStock),e=this.visible||!i.options.chart.ignoreHiddenSeries,n=this.currentDataGrouping,r=!1;if(a&&!this.requireSorting&&(this.requireSorting=r=!0),t=!1==!(this.isCartesian&&!this.isDirty&&!this.xAxis.isDirty&&!this.yAxis.isDirty&&!t)||!a,r&&(this.requireSorting=!1),!t){this.destroyGroupedData();var s=o.groupAll?this.xData:this.processedXData,p=o.groupAll?this.yData:this.processedYData,u=(a=i.plotSizeX,(t=this.xAxis).options.ordinal),r=void 0;if((h=this.groupPixelWidth)&&s&&s.length&&a){this.isDirty=r=!0,this.points=null;var h,l=(d=t.getExtremes()).min,d=d.max,u=u&&t.ordinal&&t.ordinal.getGroupIntervalFactor(l,d,this)||1,a=t.getTimeTicks(y.Additions.prototype.normalizeTimeTickInterval(h*(d-l)/a*u,o.units||G.units),Math.min(l,s[0]),Math.max(d,s[s.length-1]),t.options.startOfWeek,s,this.closestPointRange),s=(h=v.groupData.apply(this,[s,p,a,o.approximation])).groupedXData,p=h.groupedYData,i=(u=0,o&&o.smoothed&&s.length&&(o.firstAnchor="firstPoint",o.anchor="middle",o.lastAnchor="lastPoint",M(32,!1,i,{"dataGrouping.smoothed":"use dataGrouping.anchor"})),s),g=this.options.dataGrouping,l=this.currentDataGrouping&&this.currentDataGrouping.gapSize;if(g&&this.xData&&l&&this.groupMap){var c,f=i.length-1,m=g.anchor,x=A(g.firstAnchor,m),g=A(g.lastAnchor,m);if(m&&"start"!==m)for(var D=l*{middle:.5,end:1}[m],m=i.length-1;m--&&0=i[0]&&(m=this.groupMap[0].start,D=this.groupMap[0].length,c=void 0,E(m)&&E(D)&&(c=m+(D-1)),i[0]={middle:i[0]+.5*l,end:i[0]+l,firstPoint:this.xData[0],lastPoint:c&&this.xData[c]}[x]),g&&"start"!==g&&l&&i[f]>=d-l&&(d=this.groupMap[this.groupMap.length-1].start,i[f]={middle:i[f]+.5*l,end:i[f]+l,firstPoint:d&&this.xData[d],lastPoint:this.xData[this.xData.length-1]}[g])}for(d=1;dt.max&&((!b(t.options.max)&&E(t.dataMax)&&t.max>=t.dataMax||t.max===t.dataMax)&&(t.max=Math.max(e[e.length-1],t.max)),t.dataMax=Math.max(e[e.length-1],t.dataMax))),o.groupAll&&(this.allGroupedData=p,s=(o=this.cropData(s,p,t.min,t.max,1)).xData,p=o.yData,this.cropStart=o.start),this.processedXData=s,this.processedYData=p}else this.groupMap=null;this.hasGroupedData=r,this.currentDataGrouping=d,this.preventGraphAnimation=(n&&n.totalRange)!==(d&&d.totalRange)}}function a(){this.groupedData&&(this.groupedData.forEach(function(t,i){t&&(this.groupedData[i]=t.destroy?t.destroy():null)},this),this.groupedData.length=0)}function e(){l.apply(this),this.destroyGroupedData(),this.groupedData=this.hasGroupedData?this.points:null}function n(){return this.is("arearange")?"range":this.is("ohlc")?"ohlc":this.is("hlc")?"hlc":this.is("column")?"sum":"average"}function r(t,i,o,a){var e=this,n=e.data,r=e.options&&e.options.data,s=[],p=[],u=[],h=t.length,l=!!i,d=[],g=e.pointArrayMap,c=g&&g.length,f=["x"].concat(g||["y"]),m=this.options.dataGrouping&&this.options.dataGrouping.groupAll,x=0,D=0;if(a="function"==typeof a?a:a&&S[a]?S[a]:S[e.getDGApproximation&&e.getDGApproximation()||"average"],c)for(var G=g.length;G--;)d.push([]);else d.push([]);for(var G=c||1,y=0;y<=h;y++)if(!(t[y]=o[x+1]||y===h;){var v=o[x],M=(e.dataGroupInfo={start:m?D:e.cropStart+D,length:d[0].length},a.apply(e,d));for(e.pointClass&&!b(e.dataGroupInfo.options)&&(e.dataGroupInfo.options=P(e.pointClass.prototype.optionsToObject.call({series:e},e.options.data[e.cropStart+D])),f.forEach(function(t){delete e.dataGroupInfo.options[t]})),void 0!==M&&(s.push(v),p.push(M),u.push(e.dataGroupInfo)),D=y,v=0;vCan\'t plot zero or subzero values on a logarithmic axis

This error occurs in the following situations:

  • If a zero or subzero data value is added to a logarithmic axis
  • If the minimum of a logarithimic axis is set to 0 or less
  • If the threshold is set to 0 or less

Note: As of Highcharts 5.0.8 it\'s possible to bypass this error message by setting Axis.prototype.allowNegativeLog to true, and add custom conversion functions. View live demo. It is also possible to use a similar workaround for colorAxis. View live demo.

',enduser:'

Can\'t plot zero or subzero values on a logarithmic axis

This error occurs in the following situations:

  • If a zero or subzero data value is added to a logarithmic axis
  • If the minimum of a logarithimic axis is set to 0 or less
  • If the threshold is set to 0 or less

As of Highcharts 5.0.8 it\'s possible to bypass this error message by setting Axis.prototype.allowNegativeLog to true and add custom conversion functions. ">View Live Demo. It is also possible to use a similar workaround for colorAxis. View live demo.

'},11:{title:"Can't link axes of different type",text:"

Can't link axes of different type

This error occurs when using the linkedTo option to link two axes of different types, for example a logarithmic axis to a linear axis. Highcharts can't link these because the calculation of ticks, extremes, padding etc. is different.

"},12:{title:"Highcharts expects point configuration to be numbers or arrays in turbo mode",text:'

Highcharts expects point configuration to be numbers or arrays in turbo mode

This error occurs if the series.data option contains object configurations and the number of points exceeds the turboThreshold. It can be fixed by either setting turboThreshold to a higher value, or changing the point configurations to numbers or arrays.

In boost mode, turbo mode is always on, which means only array of numbers or two dimensional arrays are allowed.

See plotOptions.series.turboThreshold

'},13:{title:"Rendering div not found",text:'

Rendering div not found

This error occurs if the chart.renderTo option is misconfigured so that Highcharts is unable to find the HTML element to render the chart in.

If using a DOM ID when creating the chart, make sure a node with the same ID exists somewhere in the DOM.

'},14:{title:"String value sent to series.data, expected Number",text:"

String value sent to series.data, expected Number

This happens if using a string as a data point, for example in a setup like this:

series: [{\n    data: ["3", "5", "1", "6"]\n}]

Highcharts expects numerical data values.

The most common reason for this error this is that data is parsed from CSV or from a XML source, and the implementer forgot to run parseFloat on the parsed value.

Note: For performance reasons internal type casting is not performed, and only the first value is checked (since 2.3).

"},15:{title:"Highcharts expects data to be sorted",text:"

Highcharts expects data to be sorted

This happens when creating a line series or a stock chart where the data is not sorted in ascending X order.

For performance reasons, Highcharts does not sort the data, instead it requires that the implementer pre-sorts the data.

"},16:{title:"Highcharts already defined in the page",text:"

Highcharts already defined in the page

This error happens if the Highcharts namespace already exists when loading Highcharts or Highstock.

This is caused by including Highcharts or Highstock more than once.

Keep in mind that the Highcharts.Chart constructor and all features of Highcharts are included in Highstock, so if using the Chart and StockChart constructors in combination, only the highstock.js file is required.

"},17:{title:"The requested series type does not exist",text:"

The requested series type does not exist

This error happens when setting chart.type or series.type to a series type that isn't defined in Highcharts. A typical reason may be that the module or extension where the series type is defined isn't included.

For example in order to create an arearange series, the highcharts-more.js file must be loaded.

"},18:{title:"The requested axis does not exist",text:"

The requested axis does not exist

This error happens when setting a series' xAxis or yAxis property to point to an axis that does not exist.

"},19:{title:"Too many ticks",text:"

Too many ticks

This error happens when applying too many ticks to an axis, specifically when adding more ticks than the axis pixel length.

With default value this won't happen, but there are edge cases, for example when setting axis categories and xAxis.labels.step in combination with a long data range, when the axis is instructed to create a great number of ticks.

"},20:{title:"Can't add object point configuration to a long data series",text:"

Can't add object point configuration to a long data series

In Highstock, when trying to add a point using the object literal configuration syntax, it will only work when the number of data points is below the series' turboThreshold. Instead of the object syntax, use the Array syntax.

"},21:{title:"Can't find Proj4js library",text:'

Can\'t find Proj4js library

Using latitude/longitude functionality in Highmaps requires the Proj4js library to be loaded.

'},22:{title:"Map does not support latitude/longitude",text:'

Map does not support latitude/longitude

The loaded map does not support latitude/longitude functionality. This is only supported with maps from the official Highmaps map collection from version 1.1.0 onwards. If you are using a custom map, consider using the Proj4js library to convert between projections.

'},23:{title:"Unsupported color format used for color interpolation",text:"

Unsupported color format used for color interpolation

Highcharts supports three color formats primarily: hex (#FFFFFF), rgb (rgba(255,255,255)) and rgba (rgba(255,255,255,1)). If any other format, like 3-digit colors (#FFF), named colors (white) or gradient structures are used in for example a heatmap, Highcharts will fail to interpolate and will instead use the end-color with no interpolation applied.

We've chosen to preserve this limitation in order to keep the weight of the implementation at a minimum.

"},24:{title:"Cannot run Point.update on a grouped point",text:"

Cannot run Point.update on a grouped point

Running Point.update in Highstock when a point is grouped by data grouping is not supported.

This is not supported because when data grouping is enabled, there won't be any references to the raw points, which is required by the Point.update function.

"},25:{title:"Can't find Moment.js library",text:'

Can\'t find Moment.js library

Using the global.timezone option requires the Moment.js library to be loaded.

'},26:{title:"WebGL not supported, and no fallback module included",text:"

WebGL not supported, and no fallback module included

This happens when the browser doesn't support WebGL,and the canvas fallback module (boost-canvas.js) hasn't been included OR if the fallback module was includedafter the boost module.

If a fallback is required, make sure to include boost-canvas.js, and that it's included before boost.js.

Please note that the fallback module is not intended as a fully-featured one. Rather, it's a minimal implementation of the WebGL counterpart.

"},27:{title:"This browser does not support SVG",text:"

This browser does not support SVG

This happens in old IE when the oldie.js module isn't loaded.

If compatibility with IE versions 6, 7 and 8 is required, add the module after loading highcharts.js. In a website context, it's a good idea to load it in a conditional comment to avoid traffic overhead and dead code in modern browsers:

<!--[if lt IE 9]>\n    <script src='https://code.highcharts.com/modules/oldie.js'></script>\n<![endif]-->
"},28:{title:"Fallback to export server disabled",text:'

Fallback to export server disabled

This happens when the offline export module encounters a chart that it can\'t export successfully, and the fallback to the online export server is disabled. The offline exporting module will fail for certain browsers, and certain features (e.g. exporting.allowHTML ), depending on the type of image exporting to. For a compatibility overview, see Client Side Export.

For very complex charts, it\'s possible that exporting fail in browsers that don\'t support Blob objects, due to data URL length limits. It\'s always recommended to define the exporting.error callback when disabling the fallback, so that details can be provided to the end-user if offline export isn\'t working for them.

'},29:{title:"Browser does not support WebAudio",text:"

Browser does not support WebAudio

This happens when you attempt to use the sonification module on a chart in a browser or environment that does not support the WebAudio API. This API is supported on all modern browsers, including Microsoft Edge, Google Chrome and Mozilla Firefox.

"},30:{title:"Invalid instrument",text:"

Invalid instrument

This happens when you try to use a sonification instrument that is not valid. If you are using a predefined instrument, make sure your spelling is correct.

"},31:{title:"Non-unique point or node id",text:"

Non-unique point or node id

This error occurs when using the same id for two or more points or nodes.

"},32:{title:"Deprecated function or property",text:'

Deprecated function or property

This error occurs when using a deprecated function or property. Consult the API documentation for alternatives, if no replacement is mentioned by the error itself.

'},33:{title:"Invalid attribute or tagName",text:'

Invalid attribute or tagName

This error occurs if HTML in the chart configuration contains unknown tag names or attributes. Unknown tag names or attributes are those not present in the _allow lists_.

To fix the error, consider

  • Is your tag name or attribute spelled correctly? For example, lineargradient

would be blocked as it is a misspelling for linearGradient.

  • Is it allowed in Highcharts? For example, onclick attributes are blocked as

they pose a real security threat.

This error occurs because attributes and tag names are sanitized of potentially harmful content from the chart configuration before being added to the DOM. Consult the security documentation for more information.

'}}}),t(e,"Extensions/Debugger/Debugger.js",[e["Extensions/Debugger/ErrorMessages.js"],e["Core/Globals.js"],e["Core/DefaultOptions.js"],e["Core/Utilities.js"]],function(n,t,e,o){function r(){var e=this.errorElements;if(e&&e.length)for(var t=0;t(.*)<\/h1>/g,'
$1
').replace(/

/g,"").replace(/<\/p>/g,"
"),t.errorElements[0]=e.rect(2,2,r-4,i-4).attr({"stroke-width":4,stroke:"#ff0000",zIndex:3}).add(),t.errorElements[1]=e.label(o,0,0,"rect",void 0,void 0,void 0,void 0,"debugger").css({color:"#ffffff",width:r-16+"px",padding:0}).attr({fill:"rgba(255, 0, 0, 0.9)",width:r,padding:8,zIndex:10}).add(),t.errorElements[1].attr({y:i-t.errorElements[1].getBBox().height}))}}var s=e.setOptions,a=o.addEvent,h=o.find,d=o.isNumber,l=[],c={chart:{displayErrors:!0}};return{compose:function(e){-1===l.indexOf(e)&&(l.push(e),a(e,"beforeRedraw",r)),-1===l.indexOf(t)&&(l.push(t),a(t,"displayError",i)),-1===l.indexOf(s)&&(l.push(s),s(c))}}}),t(e,"masters/modules/debugger.src.js",[e["Core/Globals.js"],e["Extensions/Debugger/Debugger.js"],e["Extensions/Debugger/ErrorMessages.js"]],function(e,t,o){e.errorMessages=o,t.compose(e.Chart)})}); \ No newline at end of file +!function(t){"object"==typeof module&&module.exports?module.exports=t.default=t:"function"==typeof define&&define.amd?define("highcharts/modules/debugger",["highcharts"],function(e){return t(e),t.Highcharts=e,t}):t("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(e){function t(e,t,o,r){e.hasOwnProperty(t)||(e[t]=r.apply(null,o),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:t,module:e[t]}})))}t(e=e?e._modules:{},"Extensions/Debugger/ErrorMessages.js",[],function(){return{10:{title:"Can't plot zero or subzero values on a logarithmic axis",text:'

Can\'t plot zero or subzero values on a logarithmic axis

This error occurs in the following situations:

  • If a zero or subzero data value is added to a logarithmic axis
  • If the minimum of a logarithimic axis is set to 0 or less
  • If the threshold is set to 0 or less

Note: As of Highcharts 5.0.8 it\'s possible to bypass this error message by setting Axis.prototype.allowNegativeLog to true, and add custom conversion functions. View live demo. It is also possible to use a similar workaround for colorAxis. View live demo.

',enduser:'

Can\'t plot zero or subzero values on a logarithmic axis

This error occurs in the following situations:

  • If a zero or subzero data value is added to a logarithmic axis
  • If the minimum of a logarithimic axis is set to 0 or less
  • If the threshold is set to 0 or less

As of Highcharts 5.0.8 it\'s possible to bypass this error message by setting Axis.prototype.allowNegativeLog to true and add custom conversion functions. ">View Live Demo. It is also possible to use a similar workaround for colorAxis. View live demo.

'},11:{title:"Can't link axes of different type",text:"

Can't link axes of different type

This error occurs when using the linkedTo option to link two axes of different types, for example a logarithmic axis to a linear axis. Highcharts can't link these because the calculation of ticks, extremes, padding etc. is different.

"},12:{title:"Highcharts expects point configuration to be numbers or arrays in turbo mode",text:'

Highcharts expects point configuration to be numbers or arrays in turbo mode

This error occurs if the series.data option contains object configurations and the number of points exceeds the turboThreshold. It can be fixed by either setting turboThreshold to a higher value, or changing the point configurations to numbers or arrays.

In boost mode, turbo mode is always on, which means only array of numbers or two dimensional arrays are allowed.

See plotOptions.series.turboThreshold

'},13:{title:"Rendering div not found",text:'

Rendering div not found

This error occurs if the chart.renderTo option is misconfigured so that Highcharts is unable to find the HTML element to render the chart in.

If using a DOM ID when creating the chart, make sure a node with the same ID exists somewhere in the DOM.

'},14:{title:"String value sent to series.data, expected Number",text:"

String value sent to series.data, expected Number

This happens if using a string as a data point, for example in a setup like this:

series: [{\n    data: ["3", "5", "1", "6"]\n}]

Highcharts expects numerical data values.

The most common reason for this error this is that data is parsed from CSV or from a XML source, and the implementer forgot to run parseFloat on the parsed value.

Note: For performance reasons internal type casting is not performed, and only the first value is checked (since 2.3).

"},15:{title:"Highcharts expects data to be sorted",text:"

Highcharts expects data to be sorted

This happens when creating a line series or a stock chart where the data is not sorted in ascending X order.

For performance reasons, Highcharts does not sort the data, instead it requires that the implementer pre-sorts the data.

"},16:{title:"Highcharts already defined in the page",text:"

Highcharts already defined in the page

This error happens if the Highcharts namespace already exists when loading Highcharts or Highstock.

This is caused by including Highcharts or Highstock more than once.

Keep in mind that the Highcharts.Chart constructor and all features of Highcharts are included in Highstock, so if using the Chart and StockChart constructors in combination, only the highstock.js file is required.

"},17:{title:"The requested series type does not exist",text:"

The requested series type does not exist

This error happens when setting chart.type or series.type to a series type that isn't defined in Highcharts. A typical reason may be that the module or extension where the series type is defined isn't included.

For example in order to create an arearange series, the highcharts-more.js file must be loaded.

"},18:{title:"The requested axis does not exist",text:"

The requested axis does not exist

This error happens when setting a series' xAxis or yAxis property to point to an axis that does not exist.

"},19:{title:"Too many ticks",text:"

Too many ticks

This error happens when applying too many ticks to an axis, specifically when adding more ticks than the axis pixel length.

With default value this won't happen, but there are edge cases, for example when setting axis categories and xAxis.labels.step in combination with a long data range, when the axis is instructed to create a great number of ticks.

"},20:{title:"Can't add object point configuration to a long data series",text:"

Can't add object point configuration to a long data series

In Highstock, when trying to add a point using the object literal configuration syntax, it will only work when the number of data points is below the series' turboThreshold. Instead of the object syntax, use the Array syntax.

"},21:{title:"Can't find Proj4js library",text:'

Can\'t find Proj4js library

Using latitude/longitude functionality in Highmaps requires the Proj4js library to be loaded.

'},22:{title:"Map does not support latitude/longitude",text:'

Map does not support latitude/longitude

The loaded map does not support latitude/longitude functionality. This is only supported with maps from the official Highmaps map collection from version 1.1.0 onwards. If you are using a custom map, consider using the Proj4js library to convert between projections.

'},23:{title:"Unsupported color format used for color interpolation",text:"

Unsupported color format used for color interpolation

Highcharts supports three color formats primarily: hex (#FFFFFF), rgb (rgba(255,255,255)) and rgba (rgba(255,255,255,1)). If any other format, like 3-digit colors (#FFF), named colors (white) or gradient structures are used in for example a heatmap, Highcharts will fail to interpolate and will instead use the end-color with no interpolation applied.

We've chosen to preserve this limitation in order to keep the weight of the implementation at a minimum.

"},24:{title:"Cannot run Point.update on a grouped point",text:"

Cannot run Point.update on a grouped point

Running Point.update in Highstock when a point is grouped by data grouping is not supported.

This is not supported because when data grouping is enabled, there won't be any references to the raw points, which is required by the Point.update function.

"},25:{title:"Can't find Moment.js library",text:'

Can\'t find Moment.js library

Using the global.timezone option requires the Moment.js library to be loaded.

'},26:{title:"WebGL not supported, and no fallback module included",text:"

WebGL not supported, and no fallback module included

This happens when the browser doesn't support WebGL,and the canvas fallback module (boost-canvas.js) hasn't been included OR if the fallback module was includedafter the boost module.

If a fallback is required, make sure to include boost-canvas.js, and that it's included before boost.js.

Please note that the fallback module is not intended as a fully-featured one. Rather, it's a minimal implementation of the WebGL counterpart.

"},27:{title:"This browser does not support SVG",text:"

This browser does not support SVG

This happens in old IE when the oldie.js module isn't loaded.

If compatibility with IE versions 6, 7 and 8 is required, add the module after loading highcharts.js. In a website context, it's a good idea to load it in a conditional comment to avoid traffic overhead and dead code in modern browsers:

<!--[if lt IE 9]>\n    <script src='https://code.highcharts.com/modules/oldie.js'></script>\n<![endif]-->
"},28:{title:"Fallback to export server disabled",text:'

Fallback to export server disabled

This happens when the offline export module encounters a chart that it can\'t export successfully, and the fallback to the online export server is disabled. The offline exporting module will fail for certain browsers, and certain features (e.g. exporting.allowHTML ), depending on the type of image exporting to. For a compatibility overview, see Client Side Export.

For very complex charts, it\'s possible that exporting fail in browsers that don\'t support Blob objects, due to data URL length limits. It\'s always recommended to define the exporting.error callback when disabling the fallback, so that details can be provided to the end-user if offline export isn\'t working for them.

'},29:{title:"Browser does not support WebAudio",text:"

Browser does not support WebAudio

This happens when you attempt to use the sonification module on a chart in a browser or environment that does not support the WebAudio API. This API is supported on all modern browsers, including Microsoft Edge, Google Chrome and Mozilla Firefox.

"},30:{title:"Invalid instrument",text:"

Invalid instrument

This happens when you try to use a sonification instrument that is not valid. If you are using a predefined instrument, make sure your spelling is correct.

"},31:{title:"Non-unique point or node id",text:"

Non-unique point or node id

This error occurs when using the same id for two or more points or nodes.

"},32:{title:"Deprecated function or property",text:'

Deprecated function or property

This error occurs when using a deprecated function or property. Consult the API documentation for alternatives, if no replacement is mentioned by the error itself.

'},33:{title:"Invalid attribute or tagName",text:'

Invalid attribute or tagName

This error occurs if HTML in the chart configuration contains unknown tag names or attributes. Unknown tag names or attributes are those not present in the _allow lists_.

To fix the error, consider

  • Is your tag name or attribute spelled correctly? For example, lineargradient

would be blocked as it is a misspelling for linearGradient.

  • Is it allowed in Highcharts? For example, onclick attributes are blocked as

they pose a real security threat.

This error occurs because attributes and tag names are sanitized of potentially harmful content from the chart configuration before being added to the DOM. Consult the security documentation for more information.

'}}}),t(e,"Extensions/Debugger/Debugger.js",[e["Extensions/Debugger/ErrorMessages.js"],e["Core/Globals.js"],e["Core/Defaults.js"],e["Core/Utilities.js"]],function(n,t,e,o){function r(){var e=this.errorElements;if(e&&e.length)for(var t=0;t(.*)<\/h1>/g,'
$1
').replace(/

/g,"").replace(/<\/p>/g,"
"),t.errorElements[0]=e.rect(2,2,r-4,i-4).attr({"stroke-width":4,stroke:"#ff0000",zIndex:3}).add(),t.errorElements[1]=e.label(o,0,0,"rect",void 0,void 0,void 0,void 0,"debugger").css({color:"#ffffff",width:r-16+"px",padding:0}).attr({fill:"rgba(255, 0, 0, 0.9)",width:r,padding:8,zIndex:10}).add(),t.errorElements[1].attr({y:i-t.errorElements[1].getBBox().height}))}}var s=e.setOptions,a=o.addEvent,h=o.find,d=o.isNumber,l=[],c={chart:{displayErrors:!0}};return{compose:function(e){-1===l.indexOf(e)&&(l.push(e),a(e,"beforeRedraw",r)),-1===l.indexOf(t)&&(l.push(t),a(t,"displayError",i)),-1===l.indexOf(s)&&(l.push(s),s(c))}}}),t(e,"masters/modules/debugger.src.js",[e["Core/Globals.js"],e["Extensions/Debugger/Debugger.js"],e["Extensions/Debugger/ErrorMessages.js"]],function(e,t,o){e.errorMessages=o,t.compose(e.Chart)})}); \ No newline at end of file diff --git a/assets/js/external/highcharts/modules/dependency-wheel.min.js b/assets/js/external/highcharts/modules/dependency-wheel.min.js index 48299fa8..dd05562c 100644 --- a/assets/js/external/highcharts/modules/dependency-wheel.min.js +++ b/assets/js/external/highcharts/modules/dependency-wheel.min.js @@ -1 +1 @@ -!function(e){"object"==typeof module&&module.exports?module.exports=e.default=e:"function"==typeof define&&define.amd?define("highcharts/modules/dependency-wheel",["highcharts","highcharts/modules/sankey"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,n,o){t.hasOwnProperty(e)||(t[e]=o.apply(null,n),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Series/DependencyWheel/DependencyWheelPoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){var o,n,i=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=e.wrap;return n=t.seriesTypes.sankey.prototype.pointClass,i(r,n),r.prototype.getDataLabelPath=function(e){var n=this,t=this.series.chart.renderer,o=this.shapeArgs,i=this.angle<0||this.angle>Math.PI,r=o.start||0,a=o.end||0;return this.dataLabelPath?(this.dataLabelPath=this.dataLabelPath.destroy(),delete this.dataLabelPath):s(e,"destroy",function(t){return n.dataLabelPath&&(n.dataLabelPath=n.dataLabelPath.destroy()),t.call(e)}),this.dataLabelPath=t.arc({open:!0,longArc:Math.abs(Math.abs(r)-Math.abs(a))a.index){var i=i.slice(0,e).reverse().concat(i.slice(e).reverse()),r=!0;break}for(r||i.reverse(),e=0;eMath.PI&&(a=2*Math.PI-a),(a*=h)Math.PI,r=o.start||0,a=o.end||0;return this.dataLabelPath?(this.dataLabelPath=this.dataLabelPath.destroy(),delete this.dataLabelPath):s(t,"destroy",function(e){return n.dataLabelPath&&(n.dataLabelPath=n.dataLabelPath.destroy()),e.call(t)}),this.dataLabelPath=e.arc({open:!0,longArc:Math.abs(Math.abs(r)-Math.abs(a))a.index){var i=i.slice(0,t).reverse().concat(i.slice(t).reverse()),r=!0;break}for(r||i.reverse(),t=0;tMath.PI&&(a=2*Math.PI-a),(a*=h)d-t.y;c--){var p=t.barX+(r?t.pointWidth/2-a/2:0),h=u.yAxis.toPixels(c,!0)+y/2;u.options.crisp&&(p=Math.round(p)-m,h=Math.round(h)+m),p={x:p,y:h,width:Math.round(r?a:t.pointWidth),height:Math.round(a),r:i},e[s]?e[s].animate(p):e[s]=l.symbol(o).attr(g(p,n)).add(t.graphic),e[s].isActive=!0,s--}}v(e,function(t,e){t.isActive?t.isActive=!1:(t.destroy(),delete t[e])})})},d.defaultOptions=s(t.defaultOptions,{itemPadding:.2,marker:{symbol:"circle",states:{hover:{},select:{}}}}),g((o=d).prototype,{markerAttribs:void 0}),e.registerSeriesType("dotplot",o),o}),e(t,"masters/modules/dotplot.src.js",[],function(){})}); \ No newline at end of file +!function(e){"object"==typeof module&&module.exports?module.exports=e.default=e:"function"==typeof define&&define.amd?define("highcharts/modules/dotplot",["highcharts"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,o,i){t.hasOwnProperty(e)||(t[e]=i.apply(null,o),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Series/DotPlot/DotPlotSeries.js",[t["Series/Column/ColumnSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,o){var i,r,n=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),g=o.extend,s=o.merge,v=o.pick;function a(){var t=null!==r&&r.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n(a,r=t),a.prototype.drawPoints=function(){var u=this,l=u.chart.renderer,f=this.options.marker,y=this.yAxis.transA*u.options.itemPadding,m=this.borderWidth%2?.5:1;this.points.forEach(function(t){var o,e=(c=t.marker||{}).symbol||f.symbol,i=v(c.radius,f.radius),r="rect"!==e,n=(t.graphics=o=t.graphics||[],t.pointAttr?t.pointAttr[t.selected?"selected":""]||u.pointAttr[""]:u.pointAttribs(t,t.selected&&"select"));if(delete n.r,u.chart.styledMode&&(delete n.stroke,delete n["stroke-width"]),null!==t.y){t.graphic||(t.graphic=l.g("point").add(u.group));for(var s=v(t.stackY,t.y),a=Math.min(t.pointWidth,u.yAxis.transA-y),d=Math.floor(s),c=s;c>s-t.y;c--,d--){var p=t.barX+(r?t.pointWidth/2-a/2:0),h=u.yAxis.toPixels(c,!0)+y/2;u.options.crisp&&(p=Math.round(p)-m,h=Math.round(h)+m),p={x:p,y:h,width:Math.round(r?a:t.pointWidth),height:Math.round(a),r:i},(h=o[d])?h.animate(p):h=l.symbol(e).attr(g(p,n)).add(t.graphic),h.isActive=!0,o[d]=h}}o.forEach(function(t,e){t&&(t.isActive?t.isActive=!1:(t.destroy(),o.splice(e,1)))})})},a.defaultOptions=s(t.defaultOptions,{itemPadding:.2,marker:{symbol:"circle",states:{hover:{},select:{}}}}),g((o=a).prototype,{markerAttribs:void 0}),e.registerSeriesType("dotplot",o),o}),e(t,"masters/modules/dotplot.src.js",[],function(){})}); \ No newline at end of file diff --git a/assets/js/external/highcharts/modules/draggable-points.min.js b/assets/js/external/highcharts/modules/draggable-points.min.js index 24f69e72..ae35e3fe 100644 --- a/assets/js/external/highcharts/modules/draggable-points.min.js +++ b/assets/js/external/highcharts/modules/draggable-points.min.js @@ -1 +1 @@ -!function(r){"object"==typeof module&&module.exports?module.exports=r.default=r:"function"==typeof define&&define.amd?define("highcharts/modules/draggable-points",["highcharts"],function(e){return r(e),r.Highcharts=e,r}):r("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(e){function r(e,r,t,o){e.hasOwnProperty(r)||(e[r]=o.apply(null,t),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:r,module:e[r]}})))}r(e=e?e._modules:{},"Extensions/DraggablePoints.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Core/Series/Point.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,r,t,o,a,i,n){function x(e){return{left:"right",right:"left",top:"bottom",bottom:"top"}[e]}function d(e){var r=e.series?e.series.length:0;if(e.hasCartesianSeries&&!e.polar)for(;r--;)if(e.series[r].options.dragDrop&&function(e){var r,t=["draggableX","draggableY"];for(S(e.dragDropProps,function(e){e.optionName&&t.push(e.optionName)}),r=t.length;r--;)if(e.options.dragDrop[t[r]])return 1}(e.series[r]))return 1}function h(e,r){return void 0===e.chartX||void 0===e.chartY?r.pointer.normalize(e):e}function u(r,e,t,o){var a=e.map(function(e){return b(r,e,t,o)});return function(){a.forEach(function(e){e()})}}function c(e,r){a=(o=r).series,i=[],n=a.options.dragDrop.groupBy,a.boosted?a.options.data.forEach(function(e,r){i.push((new a.pointClass).init(a,e)),i[i.length-1].index=r}):i=a.points;var t,o,a,i,n,s,d,p=o.options[n]?i.filter(function(e){return e.options[n]===o.options[n]}):[o],g=r.series,l=g.chart;A(g.options.dragDrop&&g.options.dragDrop.liveRedraw,!0)||(l.dragGuideBox=t=g.getGuideBox(p),l.setGuideBoxState("default",g.options.dragDrop.guideBox).add(g.group)),l.dragDropData={origin:(g=p,l=t,d={chartX:(s=e).chartX,chartY:s.chartY,guideBox:l&&{x:l.attr("x"),y:l.attr("y"),width:l.attr("width"),height:l.attr("height")},points:{}},g.forEach(function(t){var o={};S(t.series.dragDropProps,function(e,r){e=t.series[e.axis+"Axis"],o[r]=t[r],o[r+"Offset"]=e.toPixels(t[r])-(e.horiz?s.chartX:s.chartY)}),o.point=t,d.points[t.id]=o}),d),point:r,groupedPoints:p,isDragging:!0}}function f(e,r){var t=e.dragDropData.newPoints;r=D(r),e.isDragDropAnimating=!0,S(t,function(e){e.point.update(e.newValues,!1)}),e.redraw(r),setTimeout(function(){delete e.isDragDropAnimating,e.hoverPoint&&!e.dragHandles&&e.hoverPoint.showDragHandles()},r.duration)}function m(e){var r=e.series&&e.series.chart,t=r&&r.dragDropData;!r||!r.dragHandles||t&&(t.isDragging&&t.draggedPastSensitivity||t.isHoveringHandle===e.id)||r.hideDragHandles()}function y(e){var r,t=0;for(r in e)Object.hasOwnProperty.call(e,r)&&t++;return t}function v(e){for(var r in e)if(Object.hasOwnProperty.call(e,r))return e[r]}function p(h,e){var r,u,t,o,a,i,n,s,d,p,g,l,c,m;e.zoomOrPanKeyPressed(h)||(t=0,(r=e.dragDropData)&&r.isDragging&&r.point.series&&(t=(u=r.point).series.options.dragDrop,h.preventDefault(),r.draggedPastSensitivity||(r.draggedPastSensitivity=(p=h,g=e,l=A(u.options.dragDrop&&u.options.dragDrop.dragSensitivity,t&&t.dragSensitivity,2),c=g.dragDropData.origin,g=c.chartX,c=c.chartY,m=p.chartX,p=p.chartY,Math.sqrt((m-g)*(m-g)+(p-c)*(p-c))>l)),r.draggedPastSensitivity&&(r.newPoints=(a=h,m=(o=r).point,i=H(m.series.options.dragDrop,m.options.dragDrop),n={},s=o.updateProp,d={},S(m.series.dragDropProps,function(e,r){s&&(s!==r||!e.resize||e.optionName&&!1===i[e.optionName])||(s||e.move&&("x"===e.axis&&i.draggableX||"y"===e.axis&&i.draggableY))&&(n[r]=e)}),(s?[m]:o.groupedPoints).forEach(function(e){d[e.id]={point:e,newValues:e.getDropValues(o.origin,a,n)}}),d),e=1===(t=y(e=r.newPoints))?v(e):null,u.firePointEvent("drag",{origin:r.origin,newPoints:r.newPoints,newPoint:e&&e.newValues,newPointId:e&&e.point.id,numNewPoints:t,chartX:h.chartX,chartY:h.chartY},function(){var e=(s=(o=u.series).chart).dragDropData,r=(d=H(o.options.dragDrop,u.options.dragDrop)).draggableX,t=d.draggableY,o=e.origin,a=h.chartX-o.chartX,i=h.chartY-o.chartY,n=a;if(e=e.updateProp,s.inverted&&(a=-i,i=-n),A(d.liveRedraw,!0))f(s,!1),u.showDragHandles();else if(e){var r=a,s=i,e=(t=(n=u.series).chart).dragDropData,d=n.dragDropProps[e.updateProp],p=e.newPoints[u.id].newValues,g="function"==typeof d.resizeSide?d.resizeSide(p,u):d.resizeSide;switch(d.beforeResize&&d.beforeResize(t.dragGuideBox,p,u),t=t.dragGuideBox,n="x"===d.axis&&n.xAxis.reversed||"y"===d.axis&&n.yAxis.reversed?x(g):g,r="x"===d.axis?r-(e.origin.prevdX||0):0,s="y"===d.axis?s-(e.origin.prevdY||0):0,n){case"left":var l={x:t.attr("x")+r,width:Math.max(1,t.attr("width")-r)};break;case"right":l={width:Math.max(1,t.attr("width")+r)};break;case"top":l={y:t.attr("y")+s,height:Math.max(1,t.attr("height")-s)};break;case"bottom":l={height:Math.max(1,t.attr("height")+s)}}t.attr(l)}else s.dragGuideBox.translate(r?a:0,t?i:0);o.prevdX=a,o.prevdY=i}))))}function g(e,r){var t,o,a,i,n=r.dragDropData;n&&n.isDragging&&n.draggedPastSensitivity&&n.point.series&&(t=n.point,i=1===(a=y(o=n.newPoints))?v(o):null,r.dragHandles&&r.hideDragHandles(),e.preventDefault(),r.cancelClick=!0,t.firePointEvent("drop",{origin:n.origin,chartX:e.chartX,chartY:e.chartY,newPoints:o,numNewPoints:a,newPoint:i&&i.newValues,newPointId:i&&i.point.id},function(){f(r)})),delete r.dragDropData,r.dragGuideBox&&(r.dragGuideBox.destroy(),delete r.dragGuideBox)}function s(s){var e=s.container,r=t.doc;d(s)&&(u(e,["mousedown","touchstart"],function(e){e=h(e,s);var r,t,o,a=s.hoverPoint,i=(n=H(a&&a.series.options.dragDrop,a&&a.options.dragDrop)).draggableX||!1,n=n.draggableY||!1;s.cancelClick=!1,!i&&!n||s.zoomOrPanKeyPressed(e)||s.hasDraggedAnnotation||(s.dragDropData&&s.dragDropData.isDragging?g(e,s):a&&(n=(i=a).series,o=n.options.dragDrop||{},i=i.options&&i.options.dragDrop,S(n.dragDropProps,function(e){"x"===e.axis&&e.move?r=!0:"y"===e.axis&&e.move&&(t=!0)}),(o.draggableX&&r||o.draggableY&&t)&&(!i||!1!==i.draggableX||!1!==i.draggableY)&&n.yAxis&&n.xAxis)&&(s.mouseIsDown=!1,c(e,a),a.firePointEvent("dragStart",e)))}),u(e,["mousemove","touchmove"],function(e){p(h(e,s),s)},{passive:!1}),b(e,"mouseleave",function(e){g(h(e,s),s)}),s.unbindDragDropMouseUp=u(r,["mouseup","touchend"],function(e){g(h(e,s),s)},{passive:!1}),s.hasAddedDragDropEvents=!0,b(s,"destroy",function(){s.unbindDragDropMouseUp&&s.unbindDragDropMouseUp()}))}var l,D=e.animObject,P=i.seriesTypes,b=n.addEvent,w=n.clamp,z=n.isNumber,H=n.merge,S=n.objectEach,A=n.pick,B=(e=function(e){var r=(e=e.shapeArgs||e.graphic.getBBox()).r||0,t=e.height/2;return[["M",0,r],["L",0,t-5],["A",1,1,0,0,0,0,5+t],["A",1,1,0,0,0,0,t-5],["M",0,5+t],["L",0,e.height-r]]},i=a.prototype.dragDropProps={x:{axis:"x",move:!0},y:{axis:"y",move:!0}},P.flags&&(P.flags.prototype.dragDropProps=i),P.column.prototype.dragDropProps={x:{axis:"x",move:!0},y:{axis:"y",move:!1,resize:!0,beforeResize:function(e,r,t){var o=t.series.translatedThreshold,a=e.attr("y");r.y>=t.series.options.threshold?(r=e.attr("height"),e.attr({height:Math.max(0,Math.round(r+(o?o-(a+r):0)))})):e.attr({y:Math.round(a+(o?o-a:0))})},resizeSide:function(e,r){var t=r.series.chart.dragHandles;return t[r=x(e=e.y>=(r.series.options.threshold||0)?"top":"bottom")]&&(t[r].destroy(),delete t[r]),e},handlePositioner:function(e){var r=e.shapeArgs||e.graphic&&e.graphic.getBBox()||{},t=e.series.yAxis.reversed,o=e.series.options.threshold||0;return e=e.y||0,{x:r.x||0,y:!t&&o<=e||t&&e=r.low}}}),P.boxplot&&(P.boxplot.prototype.dragDropProps={x:B.x,low:{optionName:"draggableLow",axis:"y",move:!0,resize:!0,resizeSide:"bottom",handlePositioner:function(e){return{x:e.shapeArgs.x||0,y:e.lowPlot}},handleFormatter:B.y.handleFormatter,propValidate:function(e,r){return e<=r.q1}},q1:{optionName:"draggableQ1",axis:"y",move:!0,resize:!0,resizeSide:"bottom",handlePositioner:function(e){return{x:e.shapeArgs.x||0,y:e.q1Plot}},handleFormatter:B.y.handleFormatter,propValidate:function(e,r){return e<=r.median&&e>=r.low}},median:{axis:"y",move:!0},q3:{optionName:"draggableQ3",axis:"y",move:!0,resize:!0,resizeSide:"top",handlePositioner:function(e){return{x:e.shapeArgs.x||0,y:e.q3Plot}},handleFormatter:B.y.handleFormatter,propValidate:function(e,r){return e<=r.high&&e>=r.median}},high:{optionName:"draggableHigh",axis:"y",move:!0,resize:!0,resizeSide:"top",handlePositioner:function(e){return{x:e.shapeArgs.x||0,y:e.highPlot}},handleFormatter:B.y.handleFormatter,propValidate:function(e,r){return e>=r.q3}}}),P.ohlc&&(P.ohlc.prototype.dragDropProps={x:B.x,low:{optionName:"draggableLow",axis:"y",move:!0,resize:!0,resizeSide:"bottom",handlePositioner:function(e){return{x:e.shapeArgs.x,y:e.plotLow}},handleFormatter:B.y.handleFormatter,propValidate:function(e,r){return e<=r.open&&e<=r.close}},high:{optionName:"draggableHigh",axis:"y",move:!0,resize:!0,resizeSide:"top",handlePositioner:function(e){return{x:e.shapeArgs.x,y:e.plotHigh}},handleFormatter:B.y.handleFormatter,propValidate:function(e,r){return e>=r.open&&e>=r.close}},open:{optionName:"draggableOpen",axis:"y",move:!0,resize:!0,resizeSide:function(e){return e.open>=e.close?"top":"bottom"},handlePositioner:function(e){return{x:e.shapeArgs.x,y:e.plotOpen}},handleFormatter:B.y.handleFormatter,propValidate:function(e,r){return e<=r.high&&e>=r.low}},close:{optionName:"draggableClose",axis:"y",move:!0,resize:!0,resizeSide:function(e){return e.open>=e.close?"bottom":"top"},handlePositioner:function(e){return{x:e.shapeArgs.x,y:e.plotClose}},handleFormatter:B.y.handleFormatter,propValidate:function(e,r){return e<=r.high&&e>=r.low}}}),P.arearange&&(i=P.columnrange.prototype.dragDropProps,P.arearange.prototype.dragDropProps={x:i.x,low:{optionName:"draggableLow",axis:"y",move:!0,resize:!0,resizeSide:"bottom",handlePositioner:function(e){return(e=e.lowerGraphic&&e.lowerGraphic.getBBox())?{x:e.x+e.width/2,y:e.y+e.height/2}:{x:-999,y:-999}},handleFormatter:n=function(e){return[["M",0-(e=e.graphic?e.graphic.getBBox().width/2+1:4),0],["a",e,e,0,1,0,2*e,0],["a",e,e,0,1,0,-2*e,0]]},propValidate:i.low.propValidate},high:{optionName:"draggableHigh",axis:"y",move:!0,resize:!0,resizeSide:"top",handlePositioner:function(e){return(e=e.upperGraphic&&e.upperGraphic.getBBox())?{x:e.x+e.width/2,y:e.y+e.height/2}:{x:-999,y:-999}},handleFormatter:n,propValidate:i.high.propValidate}}),P.waterfall&&(P.waterfall.prototype.dragDropProps={x:B.x,y:H(B.y,{handleFormatter:function(e){return e.isSum||e.isIntermediateSum?null:B.y.handleFormatter(e)}})}),P.xrange&&(l=function(e,r){var t=e.series,o=t.xAxis,a=t.yAxis,i=t.chart.inverted,n=(r=o.toPixels(e[r],!0),a.toPixels(e.y,!0));return e=t.columnMetrics?t.columnMetrics.offset:-e.shapeArgs.height/2,i&&(r=o.len-r,n=a.len-n),{x:Math.round(r),y:Math.round(n+e)}},e=P.xrange.prototype.dragDropProps={y:{axis:"y",move:!0},x:{optionName:"draggableX1",axis:"x",move:!0,resize:!0,resizeSide:"left",handlePositioner:function(e){return l(e,"x")},handleFormatter:e,propValidate:function(e,r){return e<=r.x2}},x2:{optionName:"draggableX2",axis:"x",move:!0,resize:!0,resizeSide:"right",handlePositioner:function(e){return l(e,"x2")},handleFormatter:e,propValidate:function(e,r){return e>=r.x}}},P.gantt&&(P.gantt.prototype.dragDropProps={y:e.y,start:H(e.x,{optionName:"draggableStart",validateIndividualDrag:function(e){return!e.milestone}}),end:H(e.x2,{optionName:"draggableEnd",validateIndividualDrag:function(e){return!e.milestone}})})),"gauge pie sunburst wordcloud sankey histogram pareto vector windbarb treemap bellcurve sma map mapline".split(" ").forEach(function(e){P[e]&&(P[e].prototype.dragDropProps=null)}),{default:{className:"highcharts-drag-box-default",lineWidth:1,lineColor:"#888",color:"rgba(0, 0, 0, 0.1)",cursor:"move",zIndex:900}}),F={className:"highcharts-drag-handle",color:"#fff",lineColor:"rgba(0, 0, 0, 0.6)",lineWidth:1,zIndex:901};r.prototype.setGuideBoxState=function(e,r){var t=this.dragGuideBox;return r=H(N,r),e=H(r.default,r[e]),t.attr({className:e.className,stroke:e.lineColor,strokeWidth:e.lineWidth,fill:e.color,cursor:e.cursor,zIndex:e.zIndex}).css({pointerEvents:"none"})},o.prototype.getDropValues=function(e,s,r){var t,d=this,p=d.series,g=H(p.options.dragDrop,d.options.dragDrop),l={},h=e.points[d.id];for(t in r)if(Object.hasOwnProperty.call(r,t)){if(void 0!==u){var u=!1;break}u=!0}return S(r,function(e,r){var t=h[r],o=(o=p[e.axis+"Axis"]).toValue((o.horiz?s.chartX:s.chartY)+h[r+"Offset"]),a=e.axis.toUpperCase(),i=p[a.toLowerCase()+"Axis"].categories?1:0,i=A(g["dragPrecision"+a],i),n=A(g["dragMin"+a],-1/0),a=A(g["dragMax"+a],1/0);i&&(o=Math.round(o/i)*i),o=w(o,n,a),u&&e.propValidate&&!e.propValidate(o,d)||void 0===t||(l[r]=o)}),l},a.prototype.getGuideBox=function(e){var a,r=this.chart,i=1/0,n=-1/0,s=1/0,d=-1/0;return e.forEach(function(e){var r,t,o=e.graphic&&e.graphic.getBBox()||e.shapeArgs;o&&(r=void 0,t=e.x2,z(t)&&(r=e.series.xAxis.translate(t,!1,!1,!1,!0)),t=!(o.width||o.height||o.x||o.y),a=!0,i=Math.min(e.plotX||0,r||0,t?1/0:o.x||0,i),n=Math.max(e.plotX||0,r||0,(o.x||0)+(o.width||0),n),s=Math.min(e.plotY||0,t?1/0:o.y||0,s),d=Math.max((o.y||0)+(o.height||0),d))}),a?r.renderer.rect(i,s,n-i,d-s):r.renderer.g()},o.prototype.showDragHandles=function(){var s=this,d=s.series,p=d.chart,g=p.renderer,l=H(d.options.dragDrop,s.options.dragDrop);S(d.dragDropProps,function(e,t){var r=H(F,e.handleOptions,l.dragHandle),o={class:r.className,"stroke-width":r.lineWidth,fill:r.color,stroke:r.lineColor},a=r.pathFormatter||e.handleFormatter,i=e.handlePositioner,n=!e.validateIndividualDrag||e.validateIndividualDrag(s);e.resize&&n&&e.resizeSide&&a&&(l["draggable"+e.axis.toUpperCase()]||l[e.optionName])&&!1!==l[e.optionName]&&(p.dragHandles||(p.dragHandles={group:g.g("drag-drop-handles").add(d.markerGroup||d.group)}),p.dragHandles.point=s.id,i=i(s),o.d=a=a(s),n=s.series.xAxis.categories?-.5:0,!a||i.xl)),r.draggedPastSensitivity&&(r.newPoints=(a=h,m=(o=r).point,i=H(m.series.options.dragDrop,m.options.dragDrop),n={},s=o.updateProp,d={},A(m.series.dragDropProps,function(e,r){s&&(s!==r||!e.resize||e.optionName&&!1===i[e.optionName])||(s||e.move&&("x"===e.axis&&i.draggableX||"y"===e.axis&&i.draggableY))&&(n[r]=e)}),(s?[m]:o.groupedPoints).forEach(function(e){d[e.id]={point:e,newValues:e.getDropValues(o.origin,a,n)}}),d),e=1===(t=v(e=r.newPoints))?D(e):null,u.firePointEvent("drag",{origin:r.origin,newPoints:r.newPoints,newPoint:e&&e.newValues,newPointId:e&&e.point.id,numNewPoints:t,chartX:h.chartX,chartY:h.chartY},function(){var e=(s=(o=u.series).chart).dragDropData,r=(d=H(o.options.dragDrop,u.options.dragDrop)).draggableX,t=d.draggableY,o=e.origin,a=h.chartX-o.chartX,i=h.chartY-o.chartY,n=a;if(e=e.updateProp,s.inverted&&(a=-i,i=-n),S(d.liveRedraw,!0))f(s,!1),u.showDragHandles();else if(e){var r=a,s=i,e=(t=(n=u.series).chart).dragDropData,d=n.dragDropProps[e.updateProp],p=e.newPoints[u.id].newValues,g="function"==typeof d.resizeSide?d.resizeSide(p,u):d.resizeSide;switch(d.beforeResize&&d.beforeResize(t.dragGuideBox,p,u),t=t.dragGuideBox,n="x"===d.axis&&n.xAxis.reversed||"y"===d.axis&&n.yAxis.reversed?x(g):g,r="x"===d.axis?r-(e.origin.prevdX||0):0,s="y"===d.axis?s-(e.origin.prevdY||0):0,n){case"left":var l={x:t.attr("x")+r,width:Math.max(1,t.attr("width")-r)};break;case"right":l={width:Math.max(1,t.attr("width")+r)};break;case"top":l={y:t.attr("y")+s,height:Math.max(1,t.attr("height")-s)};break;case"bottom":l={height:Math.max(1,t.attr("height")+s)}}t.attr(l)}else s.dragGuideBox.translate(r?a:0,t?i:0);o.prevdX=a,o.prevdY=i}))))}function g(e,r){var t,o,a,i,n=r.dragDropData;n&&n.isDragging&&n.draggedPastSensitivity&&n.point.series&&(t=n.point,i=1===(a=v(o=n.newPoints))?D(o):null,r.dragHandles&&r.hideDragHandles(),e.preventDefault(),r.cancelClick=!0,t.firePointEvent("drop",{origin:n.origin,chartX:e.chartX,chartY:e.chartY,newPoints:o,numNewPoints:a,newPoint:i&&i.newValues,newPointId:i&&i.point.id},function(){f(r)})),delete r.dragDropData,r.dragGuideBox&&(r.dragGuideBox.destroy(),delete r.dragGuideBox)}function s(s){var e=s.container,r=t.doc;d(s)&&(c(e,["mousedown","touchstart"],function(e){e=u(e,s);var r,t,o,a=s.hoverPoint,i=(n=H(a&&a.series.options.dragDrop,a&&a.options.dragDrop)).draggableX||!1,n=n.draggableY||!1;s.cancelClick=!1,!i&&!n||s.zoomOrPanKeyPressed(e)||s.hasDraggedAnnotation||(s.dragDropData&&s.dragDropData.isDragging?g(e,s):a&&(n=(i=a).series,o=n.options.dragDrop||{},i=i.options&&i.options.dragDrop,A(n.dragDropProps,function(e){"x"===e.axis&&e.move?r=!0:"y"===e.axis&&e.move&&(t=!0)}),(o.draggableX&&r||o.draggableY&&t)&&(!i||!1!==i.draggableX||!1!==i.draggableY)&&n.yAxis&&n.xAxis)&&(s.mouseIsDown=!1,m(e,a),a.firePointEvent("dragStart",e)))}),c(e,["mousemove","touchmove"],function(e){p(u(e,s),s)},{passive:!1}),b(e,"mouseleave",function(e){g(u(e,s),s)}),s.unbindDragDropMouseUp=c(r,["mouseup","touchend"],function(e){g(u(e,s),s)},{passive:!1}),s.hasAddedDragDropEvents=!0,b(s,"destroy",function(){s.unbindDragDropMouseUp&&s.unbindDragDropMouseUp()}))}var l,h=e.animObject,P=i.seriesTypes,b=n.addEvent,w=n.clamp,z=n.isNumber,H=n.merge,A=n.objectEach,S=n.pick,B=(e=function(e){var r=(e=e.shapeArgs||e.graphic.getBBox()).r||0,t=e.height/2;return[["M",0,r],["L",0,t-5],["A",1,1,0,0,0,0,5+t],["A",1,1,0,0,0,0,t-5],["M",0,5+t],["L",0,e.height-r]]},i=a.prototype.dragDropProps={x:{axis:"x",move:!0},y:{axis:"y",move:!0}},P.flags&&(P.flags.prototype.dragDropProps=i),P.column.prototype.dragDropProps={x:{axis:"x",move:!0},y:{axis:"y",move:!1,resize:!0,beforeResize:function(e,r,t){var o=t.series.translatedThreshold,a=e.attr("y");r.y>=t.series.options.threshold?(r=e.attr("height"),e.attr({height:Math.max(0,Math.round(r+(o?o-(a+r):0)))})):e.attr({y:Math.round(a+(o?o-a:0))})},resizeSide:function(e,r){var t=r.series.chart.dragHandles;return t[r=x(e=e.y>=(r.series.options.threshold||0)?"top":"bottom")]&&(t[r].destroy(),delete t[r]),e},handlePositioner:function(e){var r=e.shapeArgs||e.graphic&&e.graphic.getBBox()||{},t=e.series.yAxis.reversed,o=e.series.options.threshold||0;return e=e.y||0,{x:r.x||0,y:!t&&o<=e||t&&e=r.low}}}),P.boxplot&&(P.boxplot.prototype.dragDropProps={x:B.x,low:{optionName:"draggableLow",axis:"y",move:!0,resize:!0,resizeSide:"bottom",handlePositioner:function(e){return{x:e.shapeArgs.x||0,y:e.lowPlot}},handleFormatter:B.y.handleFormatter,propValidate:function(e,r){return e<=r.q1}},q1:{optionName:"draggableQ1",axis:"y",move:!0,resize:!0,resizeSide:"bottom",handlePositioner:function(e){return{x:e.shapeArgs.x||0,y:e.q1Plot}},handleFormatter:B.y.handleFormatter,propValidate:function(e,r){return e<=r.median&&e>=r.low}},median:{axis:"y",move:!0},q3:{optionName:"draggableQ3",axis:"y",move:!0,resize:!0,resizeSide:"top",handlePositioner:function(e){return{x:e.shapeArgs.x||0,y:e.q3Plot}},handleFormatter:B.y.handleFormatter,propValidate:function(e,r){return e<=r.high&&e>=r.median}},high:{optionName:"draggableHigh",axis:"y",move:!0,resize:!0,resizeSide:"top",handlePositioner:function(e){return{x:e.shapeArgs.x||0,y:e.highPlot}},handleFormatter:B.y.handleFormatter,propValidate:function(e,r){return e>=r.q3}}}),P.ohlc&&(P.ohlc.prototype.dragDropProps={x:B.x,low:{optionName:"draggableLow",axis:"y",move:!0,resize:!0,resizeSide:"bottom",handlePositioner:function(e){return{x:e.shapeArgs.x,y:e.plotLow}},handleFormatter:B.y.handleFormatter,propValidate:function(e,r){return e<=r.open&&e<=r.close}},high:{optionName:"draggableHigh",axis:"y",move:!0,resize:!0,resizeSide:"top",handlePositioner:function(e){return{x:e.shapeArgs.x,y:e.plotHigh}},handleFormatter:B.y.handleFormatter,propValidate:function(e,r){return e>=r.open&&e>=r.close}},open:{optionName:"draggableOpen",axis:"y",move:!0,resize:!0,resizeSide:function(e){return e.open>=e.close?"top":"bottom"},handlePositioner:function(e){return{x:e.shapeArgs.x,y:e.plotOpen}},handleFormatter:B.y.handleFormatter,propValidate:function(e,r){return e<=r.high&&e>=r.low}},close:{optionName:"draggableClose",axis:"y",move:!0,resize:!0,resizeSide:function(e){return e.open>=e.close?"bottom":"top"},handlePositioner:function(e){return{x:e.shapeArgs.x,y:e.plotClose}},handleFormatter:B.y.handleFormatter,propValidate:function(e,r){return e<=r.high&&e>=r.low}}}),P.arearange&&(i=P.columnrange.prototype.dragDropProps,P.arearange.prototype.dragDropProps={x:i.x,low:{optionName:"draggableLow",axis:"y",move:!0,resize:!0,resizeSide:"bottom",handlePositioner:function(e){return(e=e.graphics&&e.graphics[0]&&e.graphics[0].getBBox())?{x:e.x+e.width/2,y:e.y+e.height/2}:{x:-999,y:-999}},handleFormatter:n=function(e){return[["M",0-(e=e.graphic?e.graphic.getBBox().width/2+1:4),0],["a",e,e,0,1,0,2*e,0],["a",e,e,0,1,0,-2*e,0]]},propValidate:i.low.propValidate},high:{optionName:"draggableHigh",axis:"y",move:!0,resize:!0,resizeSide:"top",handlePositioner:function(e){return(e=e.graphics&&e.graphics[1]&&e.graphics[1].getBBox())?{x:e.x+e.width/2,y:e.y+e.height/2}:{x:-999,y:-999}},handleFormatter:n,propValidate:i.high.propValidate}}),P.waterfall&&(P.waterfall.prototype.dragDropProps={x:B.x,y:H(B.y,{handleFormatter:function(e){return e.isSum||e.isIntermediateSum?null:B.y.handleFormatter(e)}})}),P.xrange&&(l=function(e,r){var t=e.series,o=t.xAxis,a=t.yAxis,i=t.chart.inverted,n=(r=o.toPixels(e[r],!0),a.toPixels(e.y,!0));return e=t.columnMetrics?t.columnMetrics.offset:-e.shapeArgs.height/2,i&&(r=o.len-r,n=a.len-n),{x:Math.round(r),y:Math.round(n+e)}},e=P.xrange.prototype.dragDropProps={y:{axis:"y",move:!0},x:{optionName:"draggableX1",axis:"x",move:!0,resize:!0,resizeSide:"left",handlePositioner:function(e){return l(e,"x")},handleFormatter:e,propValidate:function(e,r){return e<=r.x2}},x2:{optionName:"draggableX2",axis:"x",move:!0,resize:!0,resizeSide:"right",handlePositioner:function(e){return l(e,"x2")},handleFormatter:e,propValidate:function(e,r){return e>=r.x}}},P.gantt&&(P.gantt.prototype.dragDropProps={y:e.y,start:H(e.x,{optionName:"draggableStart",validateIndividualDrag:function(e){return!e.milestone}}),end:H(e.x2,{optionName:"draggableEnd",validateIndividualDrag:function(e){return!e.milestone}})})),"gauge pie sunburst wordcloud sankey histogram pareto vector windbarb treemap bellcurve sma map mapline".split(" ").forEach(function(e){P[e]&&(P[e].prototype.dragDropProps=null)}),{default:{className:"highcharts-drag-box-default",lineWidth:1,lineColor:"#888",color:"rgba(0, 0, 0, 0.1)",cursor:"move",zIndex:900}}),F={className:"highcharts-drag-handle",color:"#fff",lineColor:"rgba(0, 0, 0, 0.6)",lineWidth:1,zIndex:901};r.prototype.setGuideBoxState=function(e,r){var t=this.dragGuideBox;return r=H(N,r),e=H(r.default,r[e]),t.attr({className:e.className,stroke:e.lineColor,strokeWidth:e.lineWidth,fill:e.color,cursor:e.cursor,zIndex:e.zIndex}).css({pointerEvents:"none"})},o.prototype.getDropValues=function(e,s,r){var t,d=this,p=d.series,g=H(p.options.dragDrop,d.options.dragDrop),l={},h=e.points[d.id];for(t in r)if(Object.hasOwnProperty.call(r,t)){if(void 0!==u){var u=!1;break}u=!0}return A(r,function(e,r){var t=h[r],o=(o=p[e.axis+"Axis"]).toValue((o.horiz?s.chartX:s.chartY)+h[r+"Offset"]),a=e.axis.toUpperCase(),i=p[a.toLowerCase()+"Axis"].categories?1:0,i=S(g["dragPrecision"+a],i),n=S(g["dragMin"+a],-1/0),a=S(g["dragMax"+a],1/0);i&&(o=Math.round(o/i)*i),o=w(o,n,a),u&&e.propValidate&&!e.propValidate(o,d)||void 0===t||(l[r]=o)}),l},a.prototype.getGuideBox=function(e){var a,r=this.chart,i=1/0,n=-1/0,s=1/0,d=-1/0;return e.forEach(function(e){var r,t,o=e.graphic&&e.graphic.getBBox()||e.shapeArgs;o&&(r=void 0,t=e.x2,z(t)&&(r=e.series.xAxis.translate(t,!1,!1,!1,!0)),t=!(o.width||o.height||o.x||o.y),a=!0,i=Math.min(e.plotX||0,r||0,t?1/0:o.x||0,i),n=Math.max(e.plotX||0,r||0,(o.x||0)+(o.width||0),n),s=Math.min(e.plotY||0,t?1/0:o.y||0,s),d=Math.max((o.y||0)+(o.height||0),d))}),a?r.renderer.rect(i,s,n-i,d-s):r.renderer.g()},o.prototype.showDragHandles=function(){var s=this,d=s.series,p=d.chart,g=p.inverted,l=p.renderer,h=H(d.options.dragDrop,s.options.dragDrop);A(d.dragDropProps,function(e,t){var r=H(F,e.handleOptions,h.dragHandle),o={class:r.className,"stroke-width":r.lineWidth,fill:r.color,stroke:r.lineColor},a=r.pathFormatter||e.handleFormatter,i=e.handlePositioner,n=!e.validateIndividualDrag||e.validateIndividualDrag(s);e.resize&&n&&e.resizeSide&&a&&(h["draggable"+e.axis.toUpperCase()]||h[e.optionName])&&!1!==h[e.optionName]&&(p.dragHandles||(p.dragHandles={group:l.g("drag-drop-handles").add(d.markerGroup||d.group)}),p.dragHandles.point=s.id,i=i(s),o.d=a=a(s),n=s.series.xAxis.categories?-.5:0,!a||i.xi[i.length-1].level&&i.push({level:t.levelNumber+1,levelOptions:S({name:t.lowerSeries.name},t.pointOptions)})})),i}function g(t,e,i,o){t[i?"addClass":"removeClass"]("highcharts-drilldown-point"),o||t.css({cursor:e})}var b=t.animObject,w=s.noop,y=(t=n.defaultOptions,c.addEvent),x=c.removeEvent,D=c.extend,B=c.fireEvent,S=c.merge,L=c.objectEach,C=c.pick,E=c.syncTimeout,O=(d=d.seriesTypes.pie,1),A=(D(t.lang,{}),t.drilldown={activeAxisLabelStyle:{cursor:"pointer",color:"#003399",fontWeight:"bold",textDecoration:"underline"},activeDataLabelStyle:{cursor:"pointer",color:"#003399",fontWeight:"bold",textDecoration:"underline"},animation:{duration:500},drillUpButton:{position:{align:"right",x:-10,y:10}}},h.prototype.Element.prototype.fadeIn=function(t){this.attr({opacity:.1,visibility:"inherit"}).animate({opacity:C(this.newOpacity,1)},t||{duration:250})},i.prototype.addSeriesAsDrilldown=function(t,e){this.addSingleSeriesAsDrilldown(t,e),this.applyDrilldown()},i.prototype.addSingleSeriesAsDrilldown=function(t,e){var i,o=t.series,r=o.xAxis,s=o.yAxis,n=[],l=[],a=this.styledMode?{colorIndex:C(t.colorIndex,o.colorIndex)}:{color:t.color||o.color},d=(this.drilldownLevels||(this.drilldownLevels=[]),o.options._levelNumber||0),h=((i=this.drilldownLevels[this.drilldownLevels.length-1])&&i.levelNumber!==d&&(i=void 0),e=D(D({_ddSeriesId:O++},a),e),o.points.indexOf(t));o.chart.series.forEach(function(t){t.xAxis!==r||t.isDrilling||(t.options._ddSeriesId=t.options._ddSeriesId||O++,t.options._colorIndex=t.userOptions._colorIndex,t.options._levelNumber=t.options._levelNumber||d,i?(n=i.levelSeries,l=i.levelSeriesOptions):(n.push(t),t.purgedOptions=S({_ddSeriesId:t.options._ddSeriesId,_levelNumber:t.options._levelNumber,selected:t.options.selected},t.userOptions),l.push(t.purgedOptions)))}),t=D({levelNumber:d,seriesOptions:o.options,seriesPurgedOptions:o.purgedOptions,levelSeriesOptions:l,levelSeries:n,shapeArgs:t.shapeArgs,bBox:t.graphic?t.graphic.getBBox():{},color:t.isNull?p.parse(a.color).setOpacity(0).get():a.color,lowerSeriesOptions:e,pointOptions:o.options.data[h],pointIndex:h,oldExtremes:{xMin:r&&r.userMin,xMax:r&&r.userMax,yMin:s&&s.userMin,yMax:s&&s.userMax},resetZoomButton:i&&i.levelNumber===d?void 0:this.resetZoomButton},a),this.drilldownLevels.push(t),r&&r.names&&(r.names.length=0),(e=t.lowerSeries=this.addSeries(e,!1)).options._levelNumber=d+1,r&&(r.oldPos=r.pos,r.userMin=r.userMax=null,s.userMin=s.userMax=null),o.type===e.type&&(e.animate=e.animateDrilldown||w,e.options.animation=!0)},i.prototype.applyDrilldown=function(){var e,t=this.drilldownLevels;t&&0i[i.length-1].level&&i.push({level:t.levelNumber+1,levelOptions:B({name:t.lowerSeries.name},t.pointOptions)})})),i}function v(t,e,i,o){t[i?"addClass":"removeClass"]("highcharts-drilldown-point"),o||t.css({cursor:e})}var g=t.animObject,b=r.noop,y=(t=s.defaultOptions,u.addEvent),w=u.removeEvent,x=u.extend,D=u.fireEvent,B=u.merge,S=u.objectEach,L=u.pick,C=u.syncTimeout,E=(a=a.seriesTypes.pie,1),O=(x(t.lang,{}),t.drilldown={activeAxisLabelStyle:{cursor:"pointer",color:"#003399",fontWeight:"bold",textDecoration:"underline"},activeDataLabelStyle:{cursor:"pointer",color:"#003399",fontWeight:"bold",textDecoration:"underline"},animation:{duration:500},drillUpButton:{position:{align:"right",x:-10,y:10}}},d.prototype.Element.prototype.fadeIn=function(t){this.attr({opacity:.1,visibility:"inherit"}).animate({opacity:L(this.newOpacity,1)},t||{duration:250})},i.prototype.addSeriesAsDrilldown=function(t,e){this.addSingleSeriesAsDrilldown(t,e),this.applyDrilldown()},i.prototype.addSingleSeriesAsDrilldown=function(t,e){var i,o=t.series,r=o.xAxis,s=o.yAxis,n=[],l=[],a=this.styledMode?{colorIndex:L(t.colorIndex,o.colorIndex)}:{color:t.color||o.color},d=(this.drilldownLevels||(this.drilldownLevels=[]),o.options._levelNumber||0),h=((i=this.drilldownLevels[this.drilldownLevels.length-1])&&i.levelNumber!==d&&(i=void 0),e=x(x({_ddSeriesId:E++},a),e),o.points.indexOf(t));o.chart.series.forEach(function(t){t.xAxis!==r||t.isDrilling||(t.options._ddSeriesId=t.options._ddSeriesId||E++,t.options._colorIndex=t.userOptions._colorIndex,t.options._levelNumber=t.options._levelNumber||d,i?(n=i.levelSeries,l=i.levelSeriesOptions):(n.push(t),t.purgedOptions=B({_ddSeriesId:t.options._ddSeriesId,_levelNumber:t.options._levelNumber,selected:t.options.selected},t.userOptions),l.push(t.purgedOptions)))}),t=x({levelNumber:d,seriesOptions:o.options,seriesPurgedOptions:o.purgedOptions,levelSeriesOptions:l,levelSeries:n,shapeArgs:t.shapeArgs,bBox:t.graphic?t.graphic.getBBox():{},color:t.isNull?p.parse(a.color).setOpacity(0).get():a.color,lowerSeriesOptions:e,pointOptions:o.options.data[h],pointIndex:h,oldExtremes:{xMin:r&&r.userMin,xMax:r&&r.userMax,yMin:s&&s.userMin,yMax:s&&s.userMax},resetZoomButton:i&&i.levelNumber===d?void 0:this.resetZoomButton},a),this.drilldownLevels.push(t),r&&r.names&&(r.names.length=0),(e=t.lowerSeries=this.addSeries(e,!1)).options._levelNumber=d+1,r&&(r.oldPos=r.pos,r.userMin=r.userMax=null,s.userMin=s.userMax=null),o.type===e.type&&(e.animate=e.animateDrilldown||b,e.options.animation=!0)},i.prototype.applyDrilldown=function(){var e,t=this.drilldownLevels;t&&0=s.len&&(l=s.len),c<0?c=0:c>=s.len&&(c=s.len),(t.plotX<0||t.plotX>i.len)&&(n=0),t.upperGraphic&&(i={y:t.y,zone:t.zone},t.y=t.high,t.zone=t.zone?t.getZone():void 0,p=g(e.connectorColor,r.connectorColor,e.color,t.zone?t.zone.color:void 0,t.color),y(t,i)),t={d:u.prototype.crispLine([["M",t.plotX,l],["L",t.plotX,c]],n,"ceil")},o.styledMode||(t.stroke=p,t["stroke-width"]=n,h&&(t.dashstyle=h)),t},v.prototype.drawConnector=function(t){var o=g(this.options.animationLimit,250),o=t.connector&&this.chart.pointCount=s.len&&(l=s.len),c<0?c=0:c>=s.len&&(c=s.len),(t.plotX<0||t.plotX>r.len)&&(n=0),t.graphics&&t.graphics[1]&&(r={y:t.y,zone:t.zone},t.y=t.high,t.zone=t.zone?t.getZone():void 0,p=g(e.connectorColor,i.connectorColor,e.color,t.zone?t.zone.color:void 0,t.color),y(t,r)),t={d:u.prototype.crispLine([["M",t.plotX,l],["L",t.plotX,c]],n,"ceil")},o.styledMode||(t.stroke=p,t["stroke-width"]=n,a&&(t.dashstyle=a)),t)},v.prototype.drawConnector=function(t){var o=g(this.options.animationLimit,250),o=t.connector&&this.chart.pointCount";E(g(t,"application/vnd.ms-excel")||"data:application/vnd.ms-excel;base64,"+D.btoa(unescape(encodeURIComponent(t))),this.getFilename()+".xls")}function c(t){var o="",i=this.getDataRows(),e=this.options.exporting.csv,r=j(e.decimalPoint,","!==e.itemDelimiter&&t?1.1.toLocaleString()[1]:"."),s=j(e.itemDelimiter,","===r?";":","),l=e.lineDelimiter;return i.forEach(function(t,e){for(var a,n=t.length;n--;)"number"==typeof(a="string"==typeof(a=t[n])?'"'+a+'"':a)&&"."!==r&&(a=a.toString().replace(".",r)),t[n]=a;t.length=i.length?i[0].length:0,o+=t.join(s),e")+(t.textContent||""),(t.children||[]).forEach(function(t){n+=e(t)}),n+="")};return t=this.getTableAST(t),e(t)}function p(t){function c(t,e,a,n){var o=j(n,"");return e="highcharts-text"+(e?" "+e:""),"number"==typeof o?(o=o.toString(),","===i&&(o=o.replace(".",i)),e="highcharts-number"):n||(e="highcharts-empty"),{tagName:t,attributes:a=N({class:e},a),textContent:o}}var n=0,e=[],h=this.options,i=t?1.1.toLocaleString()[1]:".",d=j(h.exporting.useMultiLevelHeaders,!0),a=(t=this.getDataRows(d),d?t.shift():null),o=t.shift();!1!==h.exporting.tableCaption&&e.push({tagName:"caption",attributes:{class:"highcharts-table-caption"},textContent:j(h.exporting.tableCaption,h.title.text||"Chart")});for(var r=0,s=t.length;rn&&(n=t[r].length);e.push(function(t,e,a){var n,o=[],i=0,r=(a=a||e&&e.length,0);if(n=d&&t&&e){t:if(n=t.length,e.length===n){for(;n--;)if(t[n]!==e[n]){n=!1;break t}n=!0}else n=!1;n=!n}if(n){for(n=[];i";T(g(t,"application/vnd.ms-excel")||"data:application/vnd.ms-excel;base64,"+y.btoa(unescape(encodeURIComponent(t))),this.getFilename()+".xls")}function c(t){var o="",i=this.getDataRows(),e=this.options.exporting.csv,r=H(e.decimalPoint,","!==e.itemDelimiter&&t?1.1.toLocaleString()[1]:"."),s=H(e.itemDelimiter,","===r?";":","),l=e.lineDelimiter;return i.forEach(function(t,e){for(var a,n=t.length;n--;)"number"==typeof(a="string"==typeof(a=t[n])?'"'+a+'"':a)&&"."!==r&&(a=a.toString().replace(".",r)),t[n]=a;t.length=i.length?i[0].length:0,o+=t.join(s),e")+(t.textContent||""),(t.children||[]).forEach(function(t){n+=e(t)}),n+="")};return t=this.getTableAST(t),e(t)}function p(t){function c(t,e,a,n){var o=H(n,"");return e="highcharts-text"+(e?" "+e:""),"number"==typeof o?(o=o.toString(),","===i&&(o=o.replace(".",i)),e="highcharts-number"):n||(e="highcharts-empty"),{tagName:t,attributes:a=N({class:e},a),textContent:o}}var n=0,e=[],d=this.options,i=t?1.1.toLocaleString()[1]:".",h=H(d.exporting.useMultiLevelHeaders,!0),a=(t=this.getDataRows(h),h?t.shift():null),o=t.shift();!1!==d.exporting.tableCaption&&e.push({tagName:"caption",attributes:{class:"highcharts-table-caption"},textContent:H(d.exporting.tableCaption,d.title.text||"Chart")});for(var r=0,s=t.length;rn&&(n=t[r].length);e.push(function(t,e,a){var n,o=[],i=0,r=(a=a||e&&e.length,0);if(n=h&&t&&e){t:if(n=t.length,e.length===n){for(;n--;)if(t[n]!==e[n]){n=!1;break t}n=!0}else n=!1;n=!n}if(n){for(n=[];it&&(n.resetParams=[this.options.chart.width,void 0,!1],this.setSize(t,void 0,!1)),[].forEach.call(n.childNodes,function(e,t){1===e.nodeType&&(n.origDisplay[t]=e.style.display,e.style.display="none")}),this.moveContainers(e),this.printReverseInfo=n}function W(e){e.renderExporting(),S(e,"redraw",e.renderExporting),S(e,"destroy",e.destroyExport)}function I(t,e,n,i,o,r,s){var a,l=this,c=l.options.navigation,p=l.chartWidth,u=l.chartHeight,h="cache-"+t,d=Math.max(o,r),g=l[h];g||(l.exportContextMenu=l[h]=g=O("div",{className:t},{position:"absolute",zIndex:1e3,padding:d+"px",pointerEvents:"auto"},l.fixedDiv||l.container),a=O("ul",{className:"highcharts-menu"},{listStyle:"none",margin:0,padding:0},g),l.styledMode||F(a,T({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},c.menuStyle)),g.hideMenu=function(){F(g,{display:"none"}),s&&s.setState(0),l.openMenu=!1,F(l.renderTo,{overflow:"hidden"}),F(l.container,{overflow:"hidden"}),x.clearTimeout(g.hideTimer),k(l,"exportMenuHidden")},l.exportEvents.push(S(g,"mouseleave",function(){g.hideTimer=C.setTimeout(g.hideMenu,500)}),S(g,"mouseenter",function(){x.clearTimeout(g.hideTimer)}),S(w,"mouseup",function(e){l.pointer.inClass(e.target,t)||g.hideMenu()}),S(g,"click",function(){l.openMenu&&g.hideMenu()})),e.forEach(function(t){var e;"string"==typeof t&&(t=l.options.exporting.menuItemDefinitions[t]),P(t,!0)&&(e=void 0,t.separator?e=O("hr",void 0,void 0,a):("viewData"===t.textKey&&l.isDataTableVisible&&(t.textKey="hideData"),e=O("li",{className:"highcharts-menu-item",onclick:function(e){e&&e.stopPropagation(),g.hideMenu(),t.onclick&&t.onclick.apply(l,arguments)}},void 0,a),f.setElementHTML(e,t.text||l.options.lang[t.textKey]),l.styledMode||(e.onmouseover=function(){F(this,c.menuItemHoverStyle)},e.onmouseout=function(){F(this,c.menuItemStyle)},F(e,T({cursor:"pointer"},c.menuItemStyle||{})))),l.exportDivElements.push(e))}),l.exportDivElements.push(a,g),l.exportMenuWidth=g.offsetWidth,l.exportMenuHeight=g.offsetHeight),e={display:"block"},n+l.exportMenuWidth>p?e.right=p-n-o-d+"px":e.left=n-d+"px",i+r+l.exportMenuHeight>u&&"top"!==s.alignOptions.verticalAlign?e.bottom=u-i-d+"px":e.top=i+r-d+"px",F(g,e),F(l.renderTo,{overflow:""}),F(l.container,{overflow:""}),l.openMenu=!0,k(l,"exportMenuShown")}function V(e){var n,i=e?e.target:this,o=i.exportSVGElements,r=i.exportDivElements;e=i.exportEvents,o&&(o.forEach(function(e,t){e&&(e.onclick=e.ontouchstart=null,n="cache-"+e.menuClassName,i[n]&&delete i[n],o[t]=e.destroy())}),o.length=0),i.exportingGroup&&(i.exportingGroup.destroy(),delete i.exportingGroup),r&&(r.forEach(function(e,t){e&&(x.clearTimeout(e.hideTimer),N(e,"mouseleave"),r[t]=e.onmouseout=e.onmouseover=e.ontouchstart=e.onclick=null,u(e))}),r.length=0),e&&(e.forEach(function(e){e()}),e.length=0)}function z(e,t){t=this.getSVGForExport(e,t),e=M(this.options.exporting,e),s.post(e.url,{filename:e.filename?e.filename.replace(/\//g,"-"):this.getFilename(),type:e.type,width:e.width||0,scale:e.scale,svg:t},e.formAttributes)}function L(){return this.styledMode&&this.inlineStyles(),this.container.innerHTML}function R(){var e=this.userOptions.title&&this.userOptions.title.text,t=this.options.exporting.filename;return t?t.replace(/\//g,"-"):!(t="string"==typeof e?e.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z0-9\-]/g,"").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,""):t)||t.length<5?"chart":t}function q(n){var t,i=M(this.options,n),e=(i.plotOptions=M(this.userOptions.plotOptions,n&&n.plotOptions),i.time=M(this.userOptions.time,n&&n.time),O("div",null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},w.body)),o=this.renderTo.style.width,r=this.renderTo.style.height,o=i.exporting.sourceWidth||i.chart.width||/px$/.test(o)&&parseInt(o,10)||(i.isGantt?800:600),r=i.exporting.sourceHeight||i.chart.height||/px$/.test(r)&&parseInt(r,10)||400,s=(T(i.chart,{animation:!1,renderTo:e,forExport:!0,renderer:"SVGRenderer",width:o,height:r}),i.exporting.enabled=!1,delete i.data,i.series=[],this.series.forEach(function(e){(t=M(e.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:e.visible})).isInternal||i.series.push(t)}),{}),a=(this.axes.forEach(function(e){e.userOptions.internalKey||(e.userOptions.internalKey=j()),e.options.isInternal||(s[e.coll]||(s[e.coll]=!0,i[e.coll]=[]),i[e.coll].push(M(e.userOptions,{visible:e.visible})))}),new this.constructor(i,this.callback));return n&&["xAxis","yAxis","series"].forEach(function(e){var t={};n[e]&&(t[e]=n[e],a.update(t))}),this.axes.forEach(function(t){var e=h(a.axes,function(e){return e.options.internalKey===t.userOptions.internalKey}),n=(i=t.getExtremes()).userMin,i=i.userMax;e&&(void 0!==n&&n!==e.min||void 0!==i&&i!==e.max)&&e.setExtremes(n,i,!0,!1)}),r=a.getChartHTML(),k(this,"getSVG",{chartCopy:a}),r=this.sanitizeSVG(r,i),i=null,a.destroy(),u(e),r}function K(e,t){var n=this.options.exporting;return this.getSVG(M({chart:{borderRadius:0}},n.chartOptions,t,{exporting:{sourceWidth:e&&e.sourceWidth||n.sourceWidth,sourceHeight:e&&e.sourceHeight||n.sourceHeight}}))}function $(){var u,h=y,d=l.inlineWhitelist,g={},e=w.createElement("iframe"),f=(F(e,{width:"1px",height:"1px",visibility:"hidden"}),w.body.appendChild(e),e.contentWindow&&e.contentWindow.document);f&&f.body.appendChild(f.createElementNS(E,"svg")),function e(t){var n,i,o={};if(f&&1===t.nodeType&&-1===b.indexOf(t.nodeName)){var r,s=C.getComputedStyle(t,null),a="svg"===t.nodeName?{}:C.getComputedStyle(t.parentNode,null);for(r in g[t.nodeName]||(u=f.getElementsByTagName("svg")[0],p=f.createElementNS(t.namespaceURI,t.nodeName),u.appendChild(p),g[t.nodeName]=M(C.getComputedStyle(p,null)),"text"===t.nodeName&&delete g.text.fill,u.removeChild(p)),s)if(m.isFirefox||m.isMS||m.isSafari||Object.hasOwnProperty.call(s,r)){var l=s[r],c=r,p=n=!1;if(d.length){for(i=d.length;i--&&!n;)n=d[i].test(c);p=!n}for("transform"===c&&"none"===l&&(p=!0),i=h.length;i--&&!p;)p=h[i].test(c)||"function"==typeof l;p||a[c]===l&&"svg"!==t.nodeName||g[t.nodeName][c]===l||(v&&-1===v.indexOf(c)?"parentRule"!==c&&(o[c]=l):l&&t.setAttribute(c.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()}),l))}F(t,o),"svg"===t.nodeName&&t.setAttribute("stroke-width","1px"),"text"!==t.nodeName&&[].forEach.call(t.children||t.childNodes,e)}}(this.container.querySelector("svg")),u.parentNode.removeChild(u),e.parentNode.removeChild(e)}function B(t){(this.fixedDiv?[this.fixedDiv,this.scrollingContainer]:[this.container]).forEach(function(e){t.appendChild(e)})}function A(){var n=this;n.exporting={update:function(e,t){n.isDirtyExporting=!0,M(!0,n.options.exporting,e),g(t,!0)&&n.redraw()}},t.compose(n).navigation.addUpdate(function(e,t){n.isDirtyExporting=!0,M(!0,n.options.navigation,e),g(t,!0)&&n.redraw()})}function U(){var e=this;e.isPrinting||(c=e,m.isSafari||e.beforePrint(),setTimeout(function(){C.focus(),C.print(),m.isSafari||setTimeout(function(){e.afterPrint()},1e3)},1))}function J(){var t=this,e=t.options.exporting,n=e.buttons,i=t.isDirtyExporting||!t.exportSVGElements;t.buttonOffset=0,t.isDirtyExporting&&t.destroyExport(),i&&!1!==e.enabled&&(t.exportEvents=[],t.exportingGroup=t.exportingGroup||t.renderer.g("exporting-group").attr({zIndex:3}).add(),d(n,function(e){t.addButton(e)}),t.isDirtyExporting=!1)}function X(e,t){var n=e.indexOf("")+6,i=e.substr(n);return e=e.substr(0,n),t&&t.exporting&&t.exporting.allowHTML&&i&&(i=''+i.replace(/(<(?:img|br).*?(?=>))>/g,"$1 />")+"",e=e.replace("",i+"")),e=e.replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/url\(("|")(.*?)("|");?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/t&&(n.resetParams=[this.options.chart.width,void 0,!1],this.setSize(t,void 0,!1)),[].forEach.call(n.childNodes,function(e,t){1===e.nodeType&&(n.origDisplay[t]=e.style.display,e.style.display="none")}),this.moveContainers(e),this.printReverseInfo=n}function L(e){e.renderExporting(),C(e,"redraw",e.renderExporting),C(e,"destroy",e.destroyExport)}function V(t,e,n,i,o,r,s){var a,l=this,c=l.options.navigation,p=l.chartWidth,u=l.chartHeight,d="cache-"+t,h=Math.max(o,r),f=l[d];f||(l.exportContextMenu=l[d]=f=T("div",{className:t},{position:"absolute",zIndex:1e3,padding:h+"px",pointerEvents:"auto"},l.fixedDiv||l.container),a=T("ul",{className:"highcharts-menu"},{listStyle:"none",margin:0,padding:0},f),l.styledMode||S(a,O({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},c.menuStyle)),f.hideMenu=function(){S(f,{display:"none"}),s&&s.setState(0),l.openMenu=!1,S(l.renderTo,{overflow:"hidden"}),S(l.container,{overflow:"hidden"}),x.clearTimeout(f.hideTimer),F(l,"exportMenuHidden")},l.exportEvents.push(C(f,"mouseleave",function(){f.hideTimer=E.setTimeout(f.hideMenu,500)}),C(f,"mouseenter",function(){x.clearTimeout(f.hideTimer)}),C(b,"mouseup",function(e){l.pointer.inClass(e.target,t)||f.hideMenu()}),C(f,"click",function(){l.openMenu&&f.hideMenu()})),e.forEach(function(t){var e;"string"==typeof t&&(t=l.options.exporting.menuItemDefinitions[t]),k(t,!0)&&(e=void 0,t.separator?e=T("hr",void 0,void 0,a):("viewData"===t.textKey&&l.isDataTableVisible&&(t.textKey="hideData"),e=T("li",{className:"highcharts-menu-item",onclick:function(e){e&&e.stopPropagation(),f.hideMenu(),t.onclick&&t.onclick.apply(l,arguments)}},void 0,a),g.setElementHTML(e,t.text||l.options.lang[t.textKey]),l.styledMode||(e.onmouseover=function(){S(this,c.menuItemHoverStyle)},e.onmouseout=function(){S(this,c.menuItemStyle)},S(e,O({cursor:"pointer"},c.menuItemStyle||{})))),l.exportDivElements.push(e))}),l.exportDivElements.push(a,f),l.exportMenuWidth=f.offsetWidth,l.exportMenuHeight=f.offsetHeight),e={display:"block"},n+l.exportMenuWidth>p?e.right=p-n-o-h+"px":e.left=n-h+"px",i+r+l.exportMenuHeight>u&&"top"!==s.alignOptions.verticalAlign?e.bottom=u-i-h+"px":e.top=i+r-h+"px",S(f,e),S(l.renderTo,{overflow:""}),S(l.container,{overflow:""}),l.openMenu=!0,F(l,"exportMenuShown")}function z(e){var n,i=e?e.target:this,o=i.exportSVGElements,r=i.exportDivElements;e=i.exportEvents,o&&(o.forEach(function(e,t){e&&(e.onclick=e.ontouchstart=null,n="cache-"+e.menuClassName,i[n]&&delete i[n],o[t]=e.destroy())}),o.length=0),i.exportingGroup&&(i.exportingGroup.destroy(),delete i.exportingGroup),r&&(r.forEach(function(e,t){e&&(x.clearTimeout(e.hideTimer),j(e,"mouseleave"),r[t]=e.onmouseout=e.onmouseover=e.ontouchstart=e.onclick=null,h(e))}),r.length=0),e&&(e.forEach(function(e){e()}),e.length=0)}function R(e,t){t=this.getSVGForExport(e,t),e=M(this.options.exporting,e),r.post(e.url,{filename:e.filename?e.filename.replace(/\//g,"-"):this.getFilename(),type:e.type,width:e.width||0,scale:e.scale,svg:t},e.formAttributes)}function q(){return this.styledMode&&this.inlineStyles(),this.container.innerHTML}function K(){var e=this.userOptions.title&&this.userOptions.title.text,t=this.options.exporting.filename;return t?t.replace(/\//g,"-"):!(t="string"==typeof e?e.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z0-9\-]/g,"").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,""):t)||t.length<5?"chart":t}function $(n){var t,i=M(this.options,n),e=(i.plotOptions=M(this.userOptions.plotOptions,n&&n.plotOptions),i.time=M(this.userOptions.time,n&&n.time),T("div",null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},b.body)),o=this.renderTo.style.width,r=this.renderTo.style.height,o=i.exporting.sourceWidth||i.chart.width||/px$/.test(o)&&parseInt(o,10)||(i.isGantt?800:600),r=i.exporting.sourceHeight||i.chart.height||/px$/.test(r)&&parseInt(r,10)||400,s=(O(i.chart,{animation:!1,renderTo:e,forExport:!0,renderer:"SVGRenderer",width:o,height:r}),i.exporting.enabled=!1,delete i.data,i.series=[],this.series.forEach(function(e){(t=M(e.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:e.visible})).isInternal||i.series.push(t)}),{}),a=(this.axes.forEach(function(e){e.userOptions.internalKey||(e.userOptions.internalKey=D()),e.options.isInternal||(s[e.coll]||(s[e.coll]=!0,i[e.coll]=[]),i[e.coll].push(M(e.userOptions,{visible:e.visible})))}),new this.constructor(i,this.callback));return n&&["xAxis","yAxis","series"].forEach(function(e){var t={};n[e]&&(t[e]=n[e],a.update(t))}),this.axes.forEach(function(t){var e=f(a.axes,function(e){return e.options.internalKey===t.userOptions.internalKey}),n=(i=t.getExtremes()).userMin,i=i.userMax;e&&(void 0!==n&&n!==e.min||void 0!==i&&i!==e.max)&&e.setExtremes(n,i,!0,!1)}),r=a.getChartHTML(),F(this,"getSVG",{chartCopy:a}),r=this.sanitizeSVG(r,i),i=null,a.destroy(),h(e),r}function A(e,t){var n=this.options.exporting;return this.getSVG(M({chart:{borderRadius:0}},n.chartOptions,t,{exporting:{sourceWidth:e&&e.sourceWidth||n.sourceWidth,sourceHeight:e&&e.sourceHeight||n.sourceHeight}}))}function B(){var u,d=p,h=a.inlineAllowlist,f={},e=b.createElement("iframe"),g=(S(e,{width:"1px",height:"1px",visibility:"hidden"}),b.body.appendChild(e),e.contentWindow&&e.contentWindow.document);g&&g.body.appendChild(g.createElementNS(w,"svg")),function e(t){var n={};if(g&&1===t.nodeType&&-1===y.indexOf(t.nodeName)){var i,o=E.getComputedStyle(t,null),r="svg"===t.nodeName?{}:E.getComputedStyle(t.parentNode,null);if(!f[t.nodeName]){u=g.getElementsByTagName("svg")[0];var s=g.createElementNS(t.namespaceURI,t.nodeName),a=(u.appendChild(s),E.getComputedStyle(s,null)),l={};for(c in a)"string"!=typeof a[c]||/^[0-9]+$/.test(c)||(l[c]=a[c]);f[t.nodeName]=l,"text"===t.nodeName&&delete f.text.fill,u.removeChild(s)}for(i in o)if(m.isFirefox||m.isMS||m.isSafari||Object.hasOwnProperty.call(o,i)){var c=o[i],p=i,s=a=!1;if(h.length){for(l=h.length;l--&&!a;)a=h[l].test(p);s=!a}for("transform"===p&&"none"===c&&(s=!0),l=d.length;l--&&!s;)s=d[l].test(p)||"function"==typeof c;s||r[p]===c&&"svg"!==t.nodeName||f[t.nodeName][p]===c||(v&&-1===v.indexOf(p)?n[p]=c:c&&t.setAttribute(p.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()}),c))}S(t,n),"svg"===t.nodeName&&t.setAttribute("stroke-width","1px"),"text"!==t.nodeName&&[].forEach.call(t.children||t.childNodes,e)}}(this.container.querySelector("svg")),u.parentNode.removeChild(u),e.parentNode.removeChild(e)}function U(t){(this.fixedDiv?[this.fixedDiv,this.scrollingContainer]:[this.container]).forEach(function(e){t.appendChild(e)})}function J(){var n=this;n.exporting={update:function(e,t){n.isDirtyExporting=!0,M(!0,n.options.exporting,e),N(t,!0)&&n.redraw()}},e.compose(n).navigation.addUpdate(function(e,t){n.isDirtyExporting=!0,M(!0,n.options.navigation,e),N(t,!0)&&n.redraw()})}function X(){var e=this;e.isPrinting||(l=e,m.isSafari||e.beforePrint(),setTimeout(function(){E.focus(),E.print(),m.isSafari||setTimeout(function(){e.afterPrint()},1e3)},1))}function _(){var t=this,e=t.options.exporting,n=e.buttons,i=t.isDirtyExporting||!t.exportSVGElements;t.buttonOffset=0,t.isDirtyExporting&&t.destroyExport(),i&&!1!==e.enabled&&(t.exportEvents=[],t.exportingGroup=t.exportingGroup||t.renderer.g("exporting-group").attr({zIndex:3}).add(),P(n,function(e){t.addButton(e)}),t.isDirtyExporting=!1)}function Y(e,t){var n=e.indexOf("")+6,i=e.substr(n);return e=e.substr(0,n),t&&t.exporting&&t.exporting.allowHTML&&i&&(i=''+i.replace(/(<(?:img|br).*?(?=>))>/g,"$1 />")+"",e=e.replace("",i+"")),e=e.replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/url\(("|")(.*?)("|");?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/{point.x} - {point.x2}
',pointFormat:' {series.name}: {point.yCategory}
'},borderRadius:3,pointRange:0}}),i(t,"Series/XRange/XRangePoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,i){var o,e,s=this&&this.__extends||(o=function(t,i){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e])})(t,i)},function(t,i){function e(){this.constructor=t}o(t,i),t.prototype=null===i?Object.create(i):(e.prototype=i.prototype,new e)}),r=t.series.prototype.pointClass.prototype;function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return i=i.extend,e=t.seriesTypes.column.prototype.pointClass,s(n,e),n.getColorByCategory=function(t,i){var e=t.options.colors||t.chart.options.colors;return{colorIndex:t=i.y%(e?e.length:t.chart.options.chart.colorCount),color:e&&e[t]}},n.prototype.resolveColor=function(){var t,i=this.series;i.options.colorByPoint&&!this.options.color?(t=n.getColorByCategory(i,this),i.chart.styledMode||(this.color=t.color),this.options.colorIndex||(this.colorIndex=t.colorIndex)):this.color||(this.color=i.color)},n.prototype.init=function(){return r.init.apply(this,arguments),this.y||(this.y=0),this},n.prototype.setState=function(){r.setState.apply(this,arguments),this.series.drawPoint(this,this.series.getAnimationVerb())},n.prototype.getLabelConfig=function(){var t=r.getLabelConfig.call(this),i=this.series.yAxis.categories;return t.x2=this.x2,t.yCategory=this.yCategory=i&&i[this.y],t},n.prototype.isValid=function(){return"number"==typeof this.x&&"number"==typeof this.x2},i((t=n).prototype,{ttBelow:!1,tooltipDateKeys:["x","x2"]}),t}),i(t,"Series/XRange/XRangeSeries.js",[t["Core/Globals.js"],t["Core/Color/Color.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"],t["Series/XRange/XRangeSeriesDefaults.js"],t["Series/XRange/XRangePoint.js"]],function(t,i,e,o,s,r){function n(){if(this.isXAxis){for(var t=b(this.dataMax,-Number.MAX_VALUE),i=0,e=this.series;ii.len?(n=g(n,0,i.len),a=g(a,0,i.len),t.dlBox=y(s,{x:n,width:d=a-n,centerX:d?d/2:null})):t.dlBox=null,n=t.tooltipPos,d=c?0:1,o=this.columnMetrics?this.columnMetrics.offset:-o.width/2,n[a=c?1:0]=c?n[a]+s.width/2:n[a]+(i.reversed?-1:0)*s.width,n[d]=g(n[d]+(c?-1:1)*o,0,e.len-1),(e=t.partialFill)&&(v(e)&&(e=e.amount),m(e)||(e=0),t.partShapeArgs=y(s,{r:this.options.borderRadius}),l=Math.max(Math.round(h*e+t.plotX-l),0),t.clipRectArgs={x:i.reversed?s.x+h-l:s.x,y:s.y,width:l,height:s.height})},k.prototype.translate=function(){h.prototype.translate.apply(this,arguments);for(var t=0,i=this.points;tt.to||s>t.from&&nt.from&&nt.from&&n>t.to&&n=this.basePointRange&&(s=i),t=void 0;r--;)t&&!1!==t.visible||(t=e[r+1]),i=e[r],!1!==t.visible&&!1!==i.visible&&(t.x-i.x>s&&(t=(i.x+t.x)/2,e.splice(r+1,0,{isNull:!0,x:t}),o.stacking&&this.options.stacking&&((t=o.stacking.stacks[this.stackKey][t]=new n(o,o.options.stackLabels,!1,t,this.stack)).total=0)),t=i);return this.getGraphPath(e)}function y(t){this.hasBreaks=!1,this.axis=t}return t=i=i||{},o=[],t.compose=function(t,i){var e;return-1===o.indexOf(t)&&(o.push(t),t.keepProps.push("brokenAxis"),s(t,"init",c),s(t,"afterInit",h),s(t,"afterSetTickPositions",d),s(t,"afterSetOptions",l)),-1===o.indexOf(i)&&(o.push(i),(e=i.prototype).drawBreaks=m,e.gappedPath=v,s(i,"afterGeneratePoints",p),s(i,"afterRender",x)),t},y.isInBreak=function(t,i){var e=t.repeat||1/0,o=t.from,s=t.to-t.from;return i=o<=i?(i-o)%e:e-(o-i)%e,t.inclusive?i<=s:i=t)break;(o.to=t)break;if(y.isInBreak(s,t)){e-=t-s.from;break}}}return e},y.prototype.findBreakAt=function(i,t){return r(t,function(t){return t.fromMath.PI;)t-=o;return o=Math.tan(t),-aMath.PI-a||t<=-(Math.PI-a)?(u=-1,h=!0):u=-1,h?(c+=u*r,p+=f*r*o):(c+=n/(2*o)*u,p+=f*l),e.x!==d&&(c=e.x),e.y!==s&&(p=e.y),{x:c+i*Math.cos(t),y:p-i*Math.sin(t)}}}),i}),i(t,"Gantt/PathfinderAlgorithms.js",[t["Core/Utilities.js"]],function(t){function M(t,i,e){e=e||0;var o,s,r=t.length-1;for(i-=1e-7;e<=r;)if(0<(s=i-t[o=r+e>>1].xMin))e=1+o;else{if(!(s<0))return o;r=o-1}return 0=i.x)&&(e=t[o],e=i.x<=e.xMax&&i.x>=e.xMin&&i.y<=e.yMax&&i.y>=e.yMin),e)return o;return-1}function A(t){var i=[];if(t.length){i.push(["M",t[0].start.x,t[0].start.y]);for(var e=0;e=o.x);){if(y[h].xMin<=n.x&&y[h].xMax>=o.x&&y[h].yMin<=a.y&&y[h].yMax>=s.y)return e?{y:t.y,x:t.x=r[a+"Max"],r=t[a+"Min"]<=r[a+"Min"],t[a+"Max"]>=n[a+"Max"]),n=t[a+"Min"]<=n[a+"Min"],c=B(t[a+"Min"]-i[a]),p=B(t[a+"Max"]-i[a]);return e=B(c-p)<10?i[a]B(i.y-t.y)),h=a?"x":"y",l=[],p=!1,f=d.obstacleMetrics,g=O(t.x,i.x)-f.maxWidth-10,x=S(t.x,i.x)+f.maxWidth+10,m=O(t.y,i.y)-f.maxHeight-10,v=S(t.y,i.y)+f.maxHeight+10,y=d.chartObstacles,b=M(y,g),f=M(y,x);for(-1<(f=k(y=y.slice(b,f+1),i))&&(o=y[f],s=i,r=t,n=O(o.xMax-s.x,s.x-o.xMin)B(i[e]-t[e+"Max"]);return s(i,e,t,e+(o?"Max":"Min"),o?1:-1)}var r,n=[],a=C(e.startDirectionX,B(i.x-t.x)>B(i.y-t.y))?"x":"y",h=e.chartObstacles,l=k(h,t),d=-1<(e=k(h,i))?(r={start:e=o(r=h[e],i,a),end:i},e):i;return-1=t[a]==e[a]>=d[a]&&(i=t[a="y"===a?"x":"y"]i.yMin-e&&t.yMin-ei.xMin-e&&t.xMin-ei.xMax?t.xMin-i.xMax:i.xMin-t.xMax:1/0,n=s?t.yMin>i.yMax?t.yMin-i.yMax:i.yMin-t.yMax:1/0;return s&&o?e?a(t,i,Math.floor(e/2)):1/0:m(r,n)}for(var i,e,o=t.length,s=0,r=[];sMath.PI;)t-=o;return o=Math.tan(t),-aMath.PI-a||t<=-(Math.PI-a)?(u=-1,h=!0):u=-1,h?(c+=u*r,p+=f*r*o):(c+=n/(2*o)*u,p+=f*l),e.x!==d&&(c=e.x),e.y!==s&&(p=e.y),{x:c+i*Math.cos(t),y:p-i*Math.sin(t)}}}),t.prototype.callbacks.push(function(t){!1!==t.options.connectors.enabled&&(((t=t).options.pathfinder||t.series.reduce(function(t,i){return i.options&&h(!0,i.options.connectors=i.options.connectors||{},i.options.pathfinder),t||i.options&&i.options.pathfinder},!1))&&(h(!0,t.options.connectors=t.options.connectors||{},t.options.pathfinder),n('WARNING: Pathfinder options have been renamed. Use "chart.connectors" or "series.connectors" instead.')),this.pathfinder=new v(this),this.pathfinder.update(!0))}),v}),i(t,"Series/Gantt/GanttSeries.js",[t["Core/Axis/Axis.js"],t["Core/Chart/Chart.js"],t["Series/Gantt/GanttPoint.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Axis/Tick.js"],t["Core/Utilities.js"],t["Core/Axis/TreeGrid/TreeGridAxis.js"]],function(t,i,e,o,s,r,n){var a,h,l=this&&this.__extends||(a=function(t,i){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e])})(t,i)},function(t,i){function e(){this.constructor=t}a(t,i),t.prototype=null===i?Object.create(i):(e.prototype=i.prototype,new e)}),d=o.series,c=o.seriesTypes.xrange,p=r.extend,u=r.isNumber,r=r.merge;function f(){var t=null!==h&&h.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n.compose(t,i,d,s),l(f,h=c),f.prototype.drawPoint=function(t,i){var e=this.options,o=this.chart.renderer,s=t.shapeArgs,r=t.plotY,n=t.graphic,a=t.selected&&"select",h=e.stacking&&!e.borderRadius;t.options.milestone?u(r)&&null!==t.y&&!1!==t.visible?(s=o.symbols.diamond(s.x||0,s.y||0,s.width||0,s.height||0),n?n[i]({d:s}):t.graphic=o.path(s).addClass(t.getClassName(),!0).add(t.group||this.group),this.chart.styledMode||t.graphic.attr(this.pointAttribs(t,a)).shadow(e.shadow,null,h)):n&&(t.graphic=n.destroy()):c.prototype.drawPoint.call(this,t,i)},f.prototype.translatePoint=function(t){var i,e;c.prototype.translatePoint.call(this,t),t.options.milestone&&(e=(i=t.shapeArgs).height||0,t.shapeArgs={x:(i.x||0)-e/2,y:i.y,width:e,height:e})},f.defaultOptions=r(c.defaultOptions,{grouping:!1,dataLabels:{enabled:!0},tooltip:{headerFormat:'{series.name}
',pointFormat:null,pointFormatter:function(){var t=this.series,i=t.xAxis,e=t.tooltipOptions.dateTimeLabelFormats,o=i.options.startOfWeek,s=t.tooltipOptions,r=s.xDateFormat,n=this.options.milestone,a=""+(this.name||this.yCategory)+"";return s.pointFormat?this.tooltipFormatter(s.pointFormat):(!r&&u(this.start)&&(r=t.chart.time.getDateFormat(i.closestPointRange,this.start,o,e||{})),i=t.chart.time.dateFormat(r,this.start),t=t.chart.time.dateFormat(r,this.end),a+="
",n?a+i+"
":a+"Start: "+i+"
End: "+t+"
")}},connectors:{type:"simpleConnect",animation:{reversed:!0},startMarker:{enabled:!0,symbol:"arrow-filled",radius:4,fill:"#fa0",align:"left"},endMarker:{enabled:!1,align:"right"}}}),p((t=f).prototype,{pointArrayMap:["start","end","y"],pointClass:e,setData:d.prototype.setData}),o.registerSeriesType("gantt",t),t}),i(t,"Core/Chart/GanttChart.js",[t["Core/Chart/Chart.js"],t["Core/DefaultOptions.js"],t["Core/Utilities.js"]],function(t,i,e){var o,a,s,r=this&&this.__extends||(o=function(t,i){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e])})(t,i)},function(t,i){function e(){this.constructor=t}o(t,i),t.prototype=null===i?Object.create(i):(e.prototype=i.prototype,new e)}),h=i.getOptions,l=e.isArray,d=e.merge,c=e.splat;function n(){return null!==a&&a.apply(this,arguments)||this}return r(n,a=t),n.prototype.init=function(t,i){var e,o=h(),s=t.xAxis,r=t.yAxis,n=(t.xAxis=t.yAxis=void 0,d(!0,{chart:{type:"gantt"},title:{text:null},legend:{enabled:!1},navigator:{series:{type:"gantt"},yAxis:{type:"category"}}},t,{isGantt:!0}));t.xAxis=s,t.yAxis=r,n.xAxis=(l(t.xAxis)?t.xAxis:[t.xAxis||{},{}]).map(function(t,i){return 1===i&&(e=0),d(o.xAxis,{grid:{enabled:!0},opposite:!0,linkedTo:e},t,{type:"datetime"})}),n.yAxis=c(t.yAxis||{}).map(function(t){return d(o.yAxis,{grid:{enabled:!0},staticScale:50,reversed:!0,type:t.categories?t.type:"treegrid"},t)}),a.prototype.init.call(this,n,i)},(s=t=(t=n)||{}).ganttChart=function(t,i,e){return new s(t,i,e)},t}),i(t,"Core/Axis/ScrollbarAxis.js",[t["Core/Utilities.js"]],function(t){var e=t.addEvent,a=t.defined,o=t.pick;return s.compose=function(t,i){if(-1!==s.composed.indexOf(t))return t;s.composed.push(t);function n(t){var i=o(t.options&&t.options.min,t.min),e=o(t.options&&t.options.max,t.max);return{axisMin:i,axisMax:e,scrollMin:a(t.dataMin)?Math.min(i,t.min,t.dataMin,o(t.threshold,1/0)):i,scrollMax:a(t.dataMax)?Math.max(e,t.max,t.dataMax,o(t.threshold,-1/0)):e}}return e(t,"afterInit",function(){var r=this;r.options&&r.options.scrollbar&&r.options.scrollbar.enabled&&(r.options.scrollbar.vertical=!r.horiz,r.options.startOnTick=r.options.endOnTick=!1,r.scrollbar=new i(r.chart.renderer,r.options.scrollbar,r.chart),e(r.scrollbar,"changed",function(t){var i=n(r),e=i.axisMax,o=i.scrollMin,s=i.scrollMax-o;a(i.axisMin)&&a(e)&&(r.horiz&&!r.reversed||!r.horiz&&r.reversed?(i=o+s*this.to,o+=s*this.from):(i=o+s*(1-this.from),o+=s*(1-this.to)),this.shouldUpdateExtremes(t.DOMType)?r.setExtremes(o,i,!0,"mousemove"!==t.DOMType&&"touchmove"!==t.DOMType,t):this.setRange(this.from,this.to))}))}),e(t,"afterRender",function(){var t=(e=n(this)).scrollMin,i=e.scrollMax,e=this.scrollbar,o=this.axisTitleMargin+(this.titleOffset||0),s=this.chart.scrollbarsOffsets,r=this.options.margin||0;e&&(o=this.horiz?(this.opposite||(s[1]+=o),e.position(this.left,this.top+this.height+2+s[1]-(this.opposite?r:0),this.width,this.height),this.opposite||(s[1]+=r),1):(this.opposite&&(s[0]+=o),e.position(e.options.opposite?this.left+this.width+2+s[0]-(this.opposite?0:r):this.opposite?0:r,this.top,this.width,this.height),this.opposite&&(s[0]+=r),0),s[o]+=e.size+e.options.margin,isNaN(t)||isNaN(i)||!a(this.min)||!a(this.max)||this.min===this.max?e.setRange(0,1):(s=(this.min-t)/(i-t),t=(this.max-t)/(i-t),this.horiz&&!this.reversed||!this.horiz&&this.reversed?e.setRange(s,t):e.setRange(1-t,1-s)))}),e(t,"afterGetOffset",function(){var t=this.scrollbar&&!this.scrollbar.options.opposite,t=this.horiz?2:t?3:1,i=this.scrollbar;i&&(this.chart.scrollbarsOffsets=[0,0],this.chart.axisOffset[t]+=i.size+i.options.margin)}),t},s.composed=[],s;function s(){}}),i(t,"Core/ScrollbarDefaults.js",[t["Core/Globals.js"]],function(t){return{height:t.isTouchDevice?20:14,barBorderRadius:0,buttonBorderRadius:0,liveRedraw:void 0,margin:10,minWidth:6,opposite:!0,step:.2,zIndex:3,barBackgroundColor:"#cccccc",barBorderWidth:1,barBorderColor:"#cccccc",buttonArrowColor:"#333333",buttonBackgroundColor:"#e6e6e6",buttonBorderColor:"#cccccc",buttonBorderWidth:1,rifleColor:"#333333",trackBackgroundColor:"#f2f2f2",trackBorderColor:"#f2f2f2",trackBorderWidth:1}}),i(t,"Core/Scrollbar.js",[t["Core/DefaultOptions.js"],t["Core/Globals.js"],t["Core/Axis/ScrollbarAxis.js"],t["Core/ScrollbarDefaults.js"],t["Core/Utilities.js"]],function(t,a,i,o,e){var s=t.defaultOptions,h=e.addEvent,l=e.correctFloat,d=e.defined,r=e.destroyObjectProperties,n=e.fireEvent,c=e.merge,p=e.pick,u=e.removeEvent;function f(t,i,e){this._events=[],this.chart=void 0,this.from=this.chartY=this.chartX=0,this.scrollbar=this.renderer=this.options=this.group=void 0,this.scrollbarButtons=[],this.scrollbarGroup=void 0,this.scrollbarLeft=0,this.scrollbarRifles=void 0,this.scrollbarStrokeWidth=1,this.to=this.size=this.scrollbarTop=0,this.track=void 0,this.trackBorderWidth=1,this.userOptions=void 0,this.y=this.x=0,this.init(t,i,e)}return f.compose=function(t){i.compose(t,f)},f.swapXY=function(t,i){return i&&t.forEach(function(t){for(var i,e=t.length,o=0;othis.calculatedWidth?i.minWidth:0;return{chartX:(t.chartX-this.x-this.xOffset)/(this.barWidth-i),chartY:(t.chartY-this.y-this.yOffset)/(this.barWidth-i)}},f.prototype.destroy=function(){var i=this,t=i.chart.scroller;i.removeEvents(),["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach(function(t){i[t]&&i[t].destroy&&(i[t]=i[t].destroy())}),t&&i===t.scrollbar&&(t.scrollbar=null,r(t.scrollbarButtons))},f.prototype.drawScrollbarButton=function(t){var i=this.renderer,e=this.scrollbarButtons,o=this.options,s=this.size,r=i.g().add(this.group);e.push(r),r=i.rect().addClass("highcharts-scrollbar-button").add(r),this.chart.styledMode||r.attr({stroke:o.buttonBorderColor,"stroke-width":o.buttonBorderWidth,fill:o.buttonBackgroundColor}),r.attr(r.crisp({x:-.5,y:-.5,width:s+1,height:s+1,r:o.buttonBorderRadius},r.strokeWidth())),r=i.path(f.swapXY([["M",s/2+(t?-1:1),s/2-3],["L",s/2+(t?-1:1),s/2+3],["L",s/2+(t?2:-2),s/2]],o.vertical)).addClass("highcharts-scrollbar-arrow").add(e[t]),this.chart.styledMode||r.attr({fill:o.buttonArrowColor})},f.prototype.init=function(t,i,e){this.scrollbarButtons=[],this.renderer=t,this.userOptions=i,this.options=c(o,s.scrollbar,i),this.chart=e,this.size=p(this.options.size,this.options.height),i.enabled&&(this.render(),this.addEvents())},f.prototype.mouseDownHandler=function(t){t=this.chart.pointer.normalize(t),t=this.cursorToScrollbarPosition(t),this.chartX=t.chartX,this.chartY=t.chartY,this.initPositions=[this.from,this.to],this.grabbedCenter=!0},f.prototype.mouseMoveHandler=function(t){var i=this.chart.pointer.normalize(t),e=this.options.vertical?"chartY":"chartX",o=this.initPositions||[];!this.grabbedCenter||t.touches&&0===t.touches[0][e]||(e=this.cursorToScrollbarPosition(i)[e]-(e=this[e]),this.hasDragged=!0,this.updatePosition(o[0]+e,o[1]+e),this.hasDragged&&n(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}))},f.prototype.mouseUpHandler=function(t){this.hasDragged&&n(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}),this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null},f.prototype.position=function(t,i,e,o){var s=this.options.vertical,r=this.rendered?"animate":"attr",n=o,a=0;this.group.show(),this.x=t,this.y=i+this.trackBorderWidth,this.width=e,this.height=o,this.xOffset=n,this.yOffset=a,s?(this.width=this.yOffset=e=a=this.size,this.xOffset=n=0,this.barWidth=o-2*e,this.x=t+=this.options.margin):(this.height=this.xOffset=o=n=this.size,this.barWidth=e-2*o,this.y+=this.options.margin),this.group[r]({translateX:t,translateY:this.y}),this.track[r]({width:e,height:o}),this.scrollbarButtons[1][r]({translateX:s?0:e-n,translateY:s?o-a:0})},f.prototype.removeEvents=function(){this._events.forEach(function(t){u.apply(null,t)}),this._events.length=0},f.prototype.render=function(){var t=this.renderer,i=this.options,e=this.size,o=this.chart.styledMode,s=t.g("scrollbar").attr({zIndex:i.zIndex}).hide().add();this.group=s,this.track=t.rect().addClass("highcharts-scrollbar-track").attr({x:0,r:i.trackBorderRadius||0,height:e,width:e}).add(s),o||this.track.attr({fill:i.trackBackgroundColor,stroke:i.trackBorderColor,"stroke-width":i.trackBorderWidth}),this.trackBorderWidth=this.track.strokeWidth(),this.track.attr({y:-this.trackBorderWidth%2/2}),this.scrollbarGroup=t.g().add(s),this.scrollbar=t.rect().addClass("highcharts-scrollbar-thumb").attr({height:e,width:e,r:i.barBorderRadius||0}).add(this.scrollbarGroup),this.scrollbarRifles=t.path(f.swapXY([["M",-3,e/4],["L",-3,2*e/3],["M",0,e/4],["L",0,2*e/3],["M",3,e/4],["L",3,2*e/3]],i.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup),o||(this.scrollbar.attr({fill:i.barBackgroundColor,stroke:i.barBorderColor,"stroke-width":i.barBorderWidth}),this.scrollbarRifles.attr({stroke:i.rifleColor,"stroke-width":1})),this.scrollbarStrokeWidth=this.scrollbar.strokeWidth(),this.scrollbarGroup.translate(-this.scrollbarStrokeWidth%2/2,-this.scrollbarStrokeWidth%2/2),this.drawScrollbarButton(0),this.drawScrollbarButton(1)},f.prototype.setRange=function(t,i){var e,o,s=this.options,r=s.vertical,n=s.minWidth,a=this.barWidth,h=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";d(a)&&(e=a*Math.min(i,1),t=Math.max(t,0),o=Math.ceil(a*t),this.calculatedWidth=e=l(e-o),eo||!this.options.vertical&&i.chartX>s?this.updatePosition(this.from+e,this.to+e):this.updatePosition(this.from-e,this.to-e),n(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})},f.prototype.update=function(t){this.destroy(),this.init(this.chart.renderer,c(!0,this.options,t),this.chart)},f.prototype.updatePosition=function(t,i){1=v-m,c=!t&&k&&e),s=t&&e||e&&!k&&!d||t&&p.frozenStates,(o=!A&&(h||l||c||x))?n=3:s&&(k=!0,n=2),r.state!==n&&(r.setState(n),u&&(u.options[i+1].disabled=o,2===n&&(u.selectedIndex=i+1)),0===n&&M===i&&p.setSelected())})},O.prototype.computeButtonRange=function(t){var i=t.type,e=t.count||1,o={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};o[i]?t._range=o[i]*e:"month"!==i&&"year"!==i||(t._range=864e5*{month:30,year:365}[i]*e),t._offsetMin=A(t.offsetMin,0),t._offsetMax=A(t.offsetMax,0),t._range+=t._offsetMax-t._offsetMin},O.prototype.getInputValue=function(t){t="min"===t?this.minInput:this.maxInput;var i=this.chart.options.rangeSelector,e=this.chart.time;return t?("text"===t.type&&i.inputDateParser||this.defaultInputDateParser)(t.value,e.useUTC,e):0},O.prototype.setInputValue=function(t,i){var e,o=this.options,s=this.chart.time,r="min"===t?this.minInput:this.maxInput;t="min"===t?this.minDateBox:this.maxDateBox,r&&(e=r.getAttribute("data-hc-time"),e=y(e)?Number(e):void 0,y(i)&&(y(e)&&r.setAttribute("data-hc-time-previous",e),r.setAttribute("data-hc-time",i),e=i),r.value=s.dateFormat(this.inputTypeFormats[r.type]||o.inputEditDateFormat,e),t&&t.attr({text:s.dateFormat(o.inputDateFormat,e)}))},O.prototype.setInputExtremes=function(t,i,e){var o,s;(t="min"===t?this.minInput:this.maxInput)&&(o=this.inputTypeFormats[t.type],s=this.chart.time,o&&(i=s.dateFormat(o,i),t.min!==i&&(t.min=i),e=s.dateFormat(o,e),t.max!==e&&(t.max=e)))},O.prototype.showInput=function(t){var i,e,o,s,r="min"===t?this.minDateBox:this.maxDateBox;(t="min"===t?this.minInput:this.maxInput)&&r&&this.inputGroup&&(i="text"===t.type,e=(o=this.inputGroup).translateX,o=o.translateY,s=this.options.inputBoxWidth,x(t,{width:i?r.width+(s?-2:20)+"px":"auto",height:i?r.height-2+"px":"auto",border:"2px solid silver"}),x(t,i&&s?{left:e+r.x+"px",top:o+"px"}:{left:Math.min(Math.round(r.x+e-(t.offsetWidth-r.width)/2),this.chart.chartWidth-t.offsetWidth)+"px",top:o-(t.offsetHeight-r.height)/2+"px"}))},O.prototype.hideInput=function(t){(t="min"===t?this.minInput:this.maxInput)&&x(t,{top:"-9999em",border:0,width:"1px",height:"1px"})},O.prototype.defaultInputDateParser=function(t,i,e){var o,s=t.split("/").join("-").split(" ").join("T");return-1===s.indexOf("T")&&(s+="T00:00"),i?s+="Z":(o=(o=u.isSafari)?!(6<(o=s).length&&(o.lastIndexOf("-")===o.length-6||o.lastIndexOf("+")===o.length-6)):o)&&(s+=(o=new Date(s).getTimezoneOffset()/60)<=0?"+".concat(d(-o),":00"):"-".concat(d(o),":00")),s=Date.parse(s),C(s)||(t=t.split("-"),s=Date.UTC(c(t[0]),c(t[1])-1,c(t[2]))),e&&i&&C(s)&&(s+=e.getTimezoneOffset(s)),s},O.prototype.drawInput=function(n){function i(){var t=h.getInputValue(n),i=a.xAxis[0],e=(o=a.scroller&&a.scroller.xAxis?a.scroller.xAxis:i).dataMin,o=o.dataMax,s=h.maxInput,r=h.minInput;t!==Number(c.getAttribute("data-hc-time-previous"))&&C(t)&&(c.setAttribute("data-hc-time-previous",t),l&&s&&C(e)?t>Number(s.getAttribute("data-hc-time"))?t=void 0:t=-s?0:-s),translateY:n.alignAttr.translateY+r.getBBox().height+10})}var e=this,o=this.chart,r=this.buttonGroup,n=this.inputGroup,a=(d=this.options).buttonPosition,h=d.dropdown,l=d.inputPosition,d=function(){var i=0;return e.buttons.forEach(function(t){(t=t.getBBox()).width>i&&(i=t.width)}),i};if(r){if("always"===h)return this.collapseButtons(s),void(t(d())&&i());"never"===h&&this.expandButtons()}n&&r?l.align===a.align||t(this.initialButtonGroupWidth+20)?"responsive"===h?(this.collapseButtons(s),t(d())&&i()):i():"responsive"===h&&this.expandButtons():r&&"responsive"===h&&(this.initialButtonGroupWidth>o.plotWidth?this.collapseButtons(s):this.expandButtons())},O.prototype.collapseButtons=function(t){function e(t){return{text:t?t+" ▾":"▾",width:"auto",paddingLeft:A(n.buttonTheme.paddingLeft,h.padding,8),paddingRight:A(n.buttonTheme.paddingRight,h.padding,8)}}var o=this.buttons,i=this.buttonOptions,s=this.chart,r=this.dropdown,n=this.options,a=this.zoomText,h=s.userOptions.rangeSelector&&s.userOptions.rangeSelector.buttonTheme||{},l=(a&&a.hide(),!1);i.forEach(function(t,i){2!==(i=o[i]).state?i.hide():(i.show(),i.attr(e(t.text)),l=!0)}),l||(r&&(r.selectedIndex=0),o[0].show(),o[0].attr(e(this.zoomText&&this.zoomText.textStr))),i=n.buttonPosition.align,this.positionButtons(),"right"!==i&&"center"!==i||this.alignButtonGroup(t,o[this.currentButtonIndex()].getBBox().width),this.showDropdown()},O.prototype.expandButtons=function(){var e=this.buttons,t=this.buttonOptions,o=this.options,i=this.zoomText;this.hideDropdown(),i&&i.show(),t.forEach(function(t,i){(i=e[i]).show(),i.attr({text:t.text,width:o.buttonTheme.width||28,paddingLeft:A(o.buttonTheme.paddingLeft,"unset"),paddingRight:A(o.buttonTheme.paddingRight,"unset")}),i.state<2&&i.setState(0)}),this.positionButtons()},O.prototype.currentButtonIndex=function(){var t=this.dropdown;return t&&0g&&(this.grabbedLeft?e=h.toPixels(i-g-l,!0):this.grabbedRight&&(o=h.toPixels(t+g+l,!0))),this.zoomedMax=m(Math.max(e,o),0,r),this.zoomedMin=m(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(e,o),0,r),this.range=this.zoomedMax-this.zoomedMin,r=Math.round(this.zoomedMax),e=Math.round(this.zoomedMin),c&&(this.navigatorGroup.attr({visibility:"inherit"}),p=p&&!this.hasDragged?"animate":"attr",this.drawMasks(e,r,u,p),this.drawOutline(e,r,u,p),this.navigatorOptions.handles.enabled&&(this.drawHandle(e,0,u,p),this.drawHandle(r,1,u,p))),this.scrollbar&&(u?(u=this.top-a,d=this.left-a+(c||!d.opposite?0:(d.titleOffset||0)+d.axisTitleMargin),a=s+2*a):(u=this.top+(c?this.height:-a),d=this.left-a),this.scrollbar.position(d,u,n,a),this.scrollbar.setRange(this.zoomedMin/(s||1),this.zoomedMax/(s||1))),this.rendered=!0}},E.prototype.addMouseEvents=function(){var t,i,e=this,o=e.chart,s=o.container,r=[];e.mouseMoveHandler=t=function(t){e.onMouseMove(t)},e.mouseUpHandler=i=function(t){e.onMouseUp(t)},(r=e.getPartsEvents("mousedown")).push(g(o.renderTo,"mousemove",t),g(s.ownerDocument,"mouseup",i)),a&&(r.push(g(o.renderTo,"touchmove",t),g(s.ownerDocument,"touchend",i)),r.concat(e.getPartsEvents("touchstart"))),e.eventsToUnbind=r,e.series&&e.series[0]&&r.push(g(e.series[0].xAxis,"foundExtremes",function(){o.navigator.modifyNavigatorAxisExtremes()}))},E.prototype.getPartsEvents=function(o){var s=this,r=[];return["shades","handles"].forEach(function(e){s[e].forEach(function(t,i){r.push(g(t.element,o,function(t){s[e+"Mousedown"](t,i)}))})}),r},E.prototype.shadesMousedown=function(t,i){t=this.chart.pointer.normalize(t);var e,o,s=this.chart,r=this.xAxis,n=this.zoomedMin,a=this.left,h=this.size,l=this.range,d=t.chartX;s.inverted&&(d=t.chartY,a=this.top),1===i?(this.grabbedCenter=d,this.fixedWidth=l,this.dragOffset=d-n):(t=d-a-l/2,0===i?t=Math.max(0,t):2===i&&h<=t+l&&(t=h-l,this.reversedExtremes?(t-=l,e=this.getUnionExtremes().dataMin):o=this.getUnionExtremes().dataMax),t!==n&&(this.fixedWidth=l,i=r.navigatorAxis.toFixedRange(t,t+l,e,o),y(i.min)&&s.xAxis[0].setExtremes(Math.min(i.min,i.max),Math.max(i.min,i.max),!0,null,{trigger:"navigator"})))},E.prototype.handlesMousedown=function(t,i){this.chart.pointer.normalize(t);var e=(t=this.chart).xAxis[0],o=this.reversedExtremes;0===i?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=o?e.min:e.max):(this.grabbedRight=!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=o?e.max:e.min),t.fixedRange=null},E.prototype.onMouseMove=function(t){var i=this,e=i.chart,o=i.left,s=i.navigatorSize,r=i.range,n=i.dragOffset,a=e.inverted;t.touches&&0===t.touches[0].pageX||(e=(t=e.pointer.normalize(t)).chartX,a&&(o=i.top,e=t.chartY),i.grabbedLeft?(i.hasDragged=!0,i.render(0,0,e-o,i.otherHandlePos)):i.grabbedRight?(i.hasDragged=!0,i.render(0,0,i.otherHandlePos,e-o)):i.grabbedCenter&&(i.hasDragged=!0,e=Math.round(t.size)),t.stickToMin=t.shouldStickToMin(this,t),i&&!t.hasNavigatorData&&(i.options.pointStart=this.xData[0],i.setData(this.options.data,!1,null,!1))},E.prototype.shouldStickToMin=function(t,i){i=i.getBaseSeriesMin(t.xData[0]);t=(o=t.xAxis).max;var e=o.min,o=o.options.range;return!(!w(t)||!w(e))&&(o&&0this.calculatedWidth?i.minWidth:0;return{chartX:(t.chartX-this.x-this.xOffset)/(this.barWidth-i),chartY:(t.chartY-this.y-this.yOffset)/(this.barWidth-i)}},f.prototype.destroy=function(){var i=this,t=i.chart.scroller;i.removeEvents(),["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach(function(t){i[t]&&i[t].destroy&&(i[t]=i[t].destroy())}),t&&i===t.scrollbar&&(t.scrollbar=null,r(t.scrollbarButtons))},f.prototype.drawScrollbarButton=function(t){var i=this.renderer,e=this.scrollbarButtons,o=this.options,s=this.size,r=i.g().add(this.group);e.push(r),r=i.rect().addClass("highcharts-scrollbar-button").add(r),this.chart.styledMode||r.attr({stroke:o.buttonBorderColor,"stroke-width":o.buttonBorderWidth,fill:o.buttonBackgroundColor}),r.attr(r.crisp({x:-.5,y:-.5,width:s+1,height:s+1,r:o.buttonBorderRadius},r.strokeWidth())),r=i.path(f.swapXY([["M",s/2+(t?-1:1),s/2-3],["L",s/2+(t?-1:1),s/2+3],["L",s/2+(t?2:-2),s/2]],o.vertical)).addClass("highcharts-scrollbar-arrow").add(e[t]),this.chart.styledMode||r.attr({fill:o.buttonArrowColor})},f.prototype.init=function(t,i,e){this.scrollbarButtons=[],this.renderer=t,this.userOptions=i,this.options=c(o,s.scrollbar,i),this.chart=e,this.size=p(this.options.size,this.options.height),i.enabled&&(this.render(),this.addEvents())},f.prototype.mouseDownHandler=function(t){t=this.chart.pointer.normalize(t),t=this.cursorToScrollbarPosition(t),this.chartX=t.chartX,this.chartY=t.chartY,this.initPositions=[this.from,this.to],this.grabbedCenter=!0},f.prototype.mouseMoveHandler=function(t){var i=this.chart.pointer.normalize(t),e=this.options.vertical?"chartY":"chartX",o=this.initPositions||[];!this.grabbedCenter||t.touches&&0===t.touches[0][e]||(e=this.cursorToScrollbarPosition(i)[e]-(e=this[e]),this.hasDragged=!0,this.updatePosition(o[0]+e,o[1]+e),this.hasDragged&&n(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}))},f.prototype.mouseUpHandler=function(t){this.hasDragged&&n(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}),this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null},f.prototype.position=function(t,i,e,o){var s=this.options.vertical,r=this.rendered?"animate":"attr",n=o,a=0;this.group.show(),this.x=t,this.y=i+this.trackBorderWidth,this.width=e,this.height=o,this.xOffset=n,this.yOffset=a,s?(this.width=this.yOffset=e=a=this.size,this.xOffset=n=0,this.barWidth=o-2*e,this.x=t+=this.options.margin):(this.height=this.xOffset=o=n=this.size,this.barWidth=e-2*o,this.y+=this.options.margin),this.group[r]({translateX:t,translateY:this.y}),this.track[r]({width:e,height:o}),this.scrollbarButtons[1][r]({translateX:s?0:e-n,translateY:s?o-a:0})},f.prototype.removeEvents=function(){this._events.forEach(function(t){u.apply(null,t)}),this._events.length=0},f.prototype.render=function(){var t=this.renderer,i=this.options,e=this.size,o=this.chart.styledMode,s=t.g("scrollbar").attr({zIndex:i.zIndex}).hide().add();this.group=s,this.track=t.rect().addClass("highcharts-scrollbar-track").attr({x:0,r:i.trackBorderRadius||0,height:e,width:e}).add(s),o||this.track.attr({fill:i.trackBackgroundColor,stroke:i.trackBorderColor,"stroke-width":i.trackBorderWidth}),this.trackBorderWidth=this.track.strokeWidth(),this.track.attr({y:-this.trackBorderWidth%2/2}),this.scrollbarGroup=t.g().add(s),this.scrollbar=t.rect().addClass("highcharts-scrollbar-thumb").attr({height:e,width:e,r:i.barBorderRadius||0}).add(this.scrollbarGroup),this.scrollbarRifles=t.path(f.swapXY([["M",-3,e/4],["L",-3,2*e/3],["M",0,e/4],["L",0,2*e/3],["M",3,e/4],["L",3,2*e/3]],i.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup),o||(this.scrollbar.attr({fill:i.barBackgroundColor,stroke:i.barBorderColor,"stroke-width":i.barBorderWidth}),this.scrollbarRifles.attr({stroke:i.rifleColor,"stroke-width":1})),this.scrollbarStrokeWidth=this.scrollbar.strokeWidth(),this.scrollbarGroup.translate(-this.scrollbarStrokeWidth%2/2,-this.scrollbarStrokeWidth%2/2),this.drawScrollbarButton(0),this.drawScrollbarButton(1)},f.prototype.setRange=function(t,i){var e,o,s=this.options,r=s.vertical,n=s.minWidth,a=this.barWidth,h=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";d(a)&&(e=a*Math.min(i,1),t=Math.max(t,0),o=Math.ceil(a*t),this.calculatedWidth=e=l(e-o),eo||!this.options.vertical&&i.chartX>s?this.updatePosition(this.from+e,this.to+e):this.updatePosition(this.from-e,this.to-e),n(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})},f.prototype.update=function(t){this.destroy(),this.init(this.chart.renderer,c(!0,this.options,t),this.chart)},f.prototype.updatePosition=function(t,i){1u&&(this.grabbedLeft?e=n.toPixels(i-u-a,!0):this.grabbedRight&&(o=n.toPixels(t+u+a,!0))),this.zoomedMax=m(Math.max(e,o),0,g),this.zoomedMin=m(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(e,o),0,g),this.range=this.zoomedMax-this.zoomedMin,g=Math.round(this.zoomedMax),e=Math.round(this.zoomedMin),l&&(this.navigatorGroup.attr({visibility:"inherit"}),d=d&&!this.hasDragged?"animate":"attr",this.drawMasks(e,g,c,d),this.drawOutline(e,g,c,d),this.navigatorOptions.handles.enabled&&(this.drawHandle(e,0,c,d),this.drawHandle(g,1,c,d))),this.scrollbar&&(c?(c=this.top-f,h=this.left-f+(l||!h.opposite?0:(h.titleOffset||0)+h.axisTitleMargin),f=s+2*f):(c=this.top+(l?this.height:-f),h=this.left-f),this.scrollbar.position(h,c,r,f),this.scrollbar.setRange(this.zoomedMin/(s||1),this.zoomedMax/(s||1))),this.rendered=!0}},a.prototype.addMouseEvents=function(){var t,i,e=this,o=e.chart,s=o.container,r=[];e.mouseMoveHandler=t=function(t){e.onMouseMove(t)},e.mouseUpHandler=i=function(t){e.onMouseUp(t)},(r=e.getPartsEvents("mousedown")).push(g(o.renderTo,"mousemove",t),g(s.ownerDocument,"mouseup",i)),n&&(r.push(g(o.renderTo,"touchmove",t),g(s.ownerDocument,"touchend",i)),r.concat(e.getPartsEvents("touchstart"))),e.eventsToUnbind=r,e.series&&e.series[0]&&r.push(g(e.series[0].xAxis,"foundExtremes",function(){o.navigator.modifyNavigatorAxisExtremes()}))},a.prototype.getPartsEvents=function(o){var s=this,r=[];return["shades","handles"].forEach(function(e){s[e].forEach(function(t,i){r.push(g(t.element,o,function(t){s[e+"Mousedown"](t,i)}))})}),r},a.prototype.shadesMousedown=function(t,i){t=this.chart.pointer.normalize(t);var e,o,s=this.chart,r=this.xAxis,n=this.zoomedMin,a=this.size,h=this.range,l=this.left,d=t.chartX;s.inverted&&(d=t.chartY,l=this.top),1===i?(this.grabbedCenter=d,this.fixedWidth=h,this.dragOffset=d-n):(t=d-l-h/2,0===i?t=Math.max(0,t):2===i&&a<=t+h&&(t=a-h,this.reversedExtremes?(t-=h,e=this.getUnionExtremes().dataMin):o=this.getUnionExtremes().dataMax),t!==n&&(this.fixedWidth=h,i=r.navigatorAxis.toFixedRange(t,t+h,e,o),y(i.min)&&s.xAxis[0].setExtremes(Math.min(i.min,i.max),Math.max(i.min,i.max),!0,null,{trigger:"navigator"})))},a.prototype.handlesMousedown=function(t,i){this.chart.pointer.normalize(t);var e=(t=this.chart).xAxis[0],o=this.reversedExtremes;0===i?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=o?e.min:e.max):(this.grabbedRight=!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=o?e.max:e.min),t.fixedRange=null},a.prototype.onMouseMove=function(t){var i=this,e=i.chart,o=i.navigatorSize,s=i.range,r=i.dragOffset,n=e.inverted,a=i.left;t.touches&&0===t.touches[0].pageX||(e=(t=e.pointer.normalize(t)).chartX,n&&(a=i.top,e=t.chartY),i.grabbedLeft?(i.hasDragged=!0,i.render(0,0,e-a,i.otherHandlePos)):i.grabbedRight?(i.hasDragged=!0,i.render(0,0,i.otherHandlePos,e-a)):i.grabbedCenter&&(i.hasDragged=!0,e=Math.round(t.size)),t.stickToMin=t.shouldStickToMin(this,t),i&&!t.hasNavigatorData&&(i.options.pointStart=this.xData[0],i.setData(this.options.data,!1,null,!1))},a.prototype.shouldStickToMin=function(t,i){i=i.getBaseSeriesMin(t.xData[0]);t=(o=t.xAxis).max;var e=o.min,o=o.options.range;return!(!M(t)||!M(e))&&(o&&0=v-m,c=!a&&w&&e),s=a&&e||e&&!w&&!d||a&&p.frozenStates,(o=!k&&(h||l||c||x))?t=3:s&&(w=!0,t=2),r.state!==t&&(r.setState(t),u&&(u.options[i+1].disabled=o,2===t&&(u.selectedIndex=i+1)),0===t&&M===i&&p.setSelected())})},l.prototype.computeButtonRange=function(t){var i=t.type,e=t.count||1,o={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};o[i]?t._range=o[i]*e:"month"!==i&&"year"!==i||(t._range=864e5*{month:30,year:365}[i]*e),t._offsetMin=A(t.offsetMin,0),t._offsetMax=A(t.offsetMax,0),t._range+=t._offsetMax-t._offsetMin},l.prototype.getInputValue=function(t){t="min"===t?this.minInput:this.maxInput;var i=this.chart.options.rangeSelector,e=this.chart.time;return t?("text"===t.type&&i.inputDateParser||this.defaultInputDateParser)(t.value,e.useUTC,e):0},l.prototype.setInputValue=function(t,i){var e,o=this.options,s=this.chart.time,r="min"===t?this.minInput:this.maxInput;t="min"===t?this.minDateBox:this.maxDateBox,r&&(e=r.getAttribute("data-hc-time"),e=y(e)?Number(e):void 0,y(i)&&(y(e)&&r.setAttribute("data-hc-time-previous",e),r.setAttribute("data-hc-time",i),e=i),r.value=s.dateFormat(this.inputTypeFormats[r.type]||o.inputEditDateFormat,e),t&&t.attr({text:s.dateFormat(o.inputDateFormat,e)}))},l.prototype.setInputExtremes=function(t,i,e){var o,s;(t="min"===t?this.minInput:this.maxInput)&&(o=this.inputTypeFormats[t.type],s=this.chart.time,o&&(i=s.dateFormat(o,i),t.min!==i&&(t.min=i),e=s.dateFormat(o,e),t.max!==e&&(t.max=e)))},l.prototype.showInput=function(t){var i,e,o,s,r="min"===t?this.minDateBox:this.maxDateBox;(t="min"===t?this.minInput:this.maxInput)&&r&&this.inputGroup&&(i="text"===t.type,e=(o=this.inputGroup).translateX,o=o.translateY,s=this.options.inputBoxWidth,x(t,{width:i?r.width+(s?-2:20)+"px":"auto",height:i?r.height-2+"px":"auto",border:"2px solid silver"}),x(t,i&&s?{left:e+r.x+"px",top:o+"px"}:{left:Math.min(Math.round(r.x+e-(t.offsetWidth-r.width)/2),this.chart.chartWidth-t.offsetWidth)+"px",top:o-(t.offsetHeight-r.height)/2+"px"}))},l.prototype.hideInput=function(t){(t="min"===t?this.minInput:this.maxInput)&&x(t,{top:"-9999em",border:0,width:"1px",height:"1px"})},l.prototype.defaultInputDateParser=function(t,i,e){var o,s=t.split("/").join("-").split(" ").join("T");return-1===s.indexOf("T")&&(s+="T00:00"),i?s+="Z":(o=(o=u.isSafari)?!(6<(o=s).length&&(o.lastIndexOf("-")===o.length-6||o.lastIndexOf("+")===o.length-6)):o)&&(s+=(o=new Date(s).getTimezoneOffset()/60)<=0?"+".concat(a(-o),":00"):"-".concat(a(o),":00")),s=Date.parse(s),S(s)||(t=t.split("-"),s=Date.UTC(h(t[0]),h(t[1])-1,h(t[2]))),e&&i&&S(s)&&(s+=e.getTimezoneOffset(s)),s},l.prototype.drawInput=function(n){function i(){var t=h.maxInput,i=h.minInput,e=a.xAxis[0],o=(s=a.scroller&&a.scroller.xAxis?a.scroller.xAxis:e).dataMin,s=s.dataMax,r=h.getInputValue(n);r!==Number(c.getAttribute("data-hc-time-previous"))&&S(r)&&(c.setAttribute("data-hc-time-previous",r),l&&t&&S(o)?r>Number(t.getAttribute("data-hc-time"))?r=void 0:r=-s?0:-s),translateY:n.alignAttr.translateY+r.getBBox().height+10})}var e=this,o=this.chart,r=this.buttonGroup,n=this.inputGroup,a=(d=this.options).buttonPosition,h=d.dropdown,l=d.inputPosition,d=function(){var i=0;return e.buttons.forEach(function(t){(t=t.getBBox()).width>i&&(i=t.width)}),i};if(r){if("always"===h)return this.collapseButtons(s),void(t(d())&&i());"never"===h&&this.expandButtons()}n&&r?l.align===a.align||t(this.initialButtonGroupWidth+20)?"responsive"===h?(this.collapseButtons(s),t(d())&&i()):i():"responsive"===h&&this.expandButtons():r&&"responsive"===h&&(this.initialButtonGroupWidth>o.plotWidth?this.collapseButtons(s):this.expandButtons())},l.prototype.collapseButtons=function(t){function e(t){return{text:t?t+" ▾":"▾",width:"auto",paddingLeft:A(n.buttonTheme.paddingLeft,h.padding,8),paddingRight:A(n.buttonTheme.paddingRight,h.padding,8)}}var o=this.buttons,i=this.buttonOptions,s=this.chart,r=this.dropdown,n=this.options,a=this.zoomText,h=s.userOptions.rangeSelector&&s.userOptions.rangeSelector.buttonTheme||{},l=(a&&a.hide(),!1);i.forEach(function(t,i){2!==(i=o[i]).state?i.hide():(i.show(),i.attr(e(t.text)),l=!0)}),l||(r&&(r.selectedIndex=0),o[0].show(),o[0].attr(e(this.zoomText&&this.zoomText.textStr))),i=n.buttonPosition.align,this.positionButtons(),"right"!==i&&"center"!==i||this.alignButtonGroup(t,o[this.currentButtonIndex()].getBBox().width),this.showDropdown()},l.prototype.expandButtons=function(){var e=this.buttons,t=this.buttonOptions,o=this.options,i=this.zoomText;this.hideDropdown(),i&&i.show(),t.forEach(function(t,i){(i=e[i]).show(),i.attr({text:t.text,width:o.buttonTheme.width||28,paddingLeft:A(o.buttonTheme.paddingLeft,"unset"),paddingRight:A(o.buttonTheme.paddingRight,"unset")}),i.state<2&&i.setState(0)}),this.positionButtons()},l.prototype.currentButtonIndex=function(){var t=this.dropdown;return t&&0{point.x} - {point.x2}
',pointFormat:' {series.name}: {point.yCategory}
'},borderRadius:3,pointRange:0}}),i(t,"Series/XRange/XRangePoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,i){var o,e,s=this&&this.__extends||(o=function(t,i){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e])})(t,i)},function(t,i){function e(){this.constructor=t}o(t,i),t.prototype=null===i?Object.create(i):(e.prototype=i.prototype,new e)}),r=t.series.prototype.pointClass.prototype;function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return i=i.extend,e=t.seriesTypes.column.prototype.pointClass,s(n,e),n.getColorByCategory=function(t,i){var e=t.options.colors||t.chart.options.colors;return{colorIndex:t=i.y%(e?e.length:t.chart.options.chart.colorCount),color:e&&e[t]}},n.prototype.resolveColor=function(){var t,i=this.series;i.options.colorByPoint&&!this.options.color?(t=n.getColorByCategory(i,this),i.chart.styledMode||(this.color=t.color),this.options.colorIndex||(this.colorIndex=t.colorIndex)):this.color||(this.color=i.color)},n.prototype.init=function(){return r.init.apply(this,arguments),this.y||(this.y=0),this},n.prototype.setState=function(){r.setState.apply(this,arguments),this.series.drawPoint(this,this.series.getAnimationVerb())},n.prototype.getLabelConfig=function(){var t=r.getLabelConfig.call(this),i=this.series.yAxis.categories;return t.x2=this.x2,t.yCategory=this.yCategory=i&&i[this.y],t},n.prototype.isValid=function(){return"number"==typeof this.x&&"number"==typeof this.x2},i((t=n).prototype,{ttBelow:!1,tooltipDateKeys:["x","x2"]}),t}),i(t,"Series/XRange/XRangeSeries.js",[t["Core/Globals.js"],t["Core/Color/Color.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"],t["Series/XRange/XRangeSeriesDefaults.js"],t["Series/XRange/XRangePoint.js"]],function(t,i,e,o,s,r){function n(){if(this.isXAxis){for(var t=b(this.dataMax,-Number.MAX_VALUE),i=0,e=this.series;ii.len?(n=g(n,0,i.len),a=g(a,0,i.len),t.dlBox=y(s,{x:n,width:d=a-n,centerX:d?d/2:null})):t.dlBox=null,n=t.tooltipPos,d=c?0:1,o=this.columnMetrics?this.columnMetrics.offset:-o.width/2,n[a=c?1:0]=c?n[a]+s.width/2:n[a]+(i.reversed?-1:0)*s.width,n[d]=g(n[d]+(c?-1:1)*o,0,e.len-1),(e=t.partialFill)&&(v(e)&&(e=e.amount),m(e)||(e=0),t.partShapeArgs=y(s,{r:this.options.borderRadius}),l=Math.max(Math.round(h*e+t.plotX-l),0),t.clipRectArgs={x:i.reversed?s.x+h-l:s.x,y:s.y,width:l,height:s.height})},k.prototype.translate=function(){h.prototype.translate.apply(this,arguments);for(var t=0,i=this.points;tt.to||s>t.from&&nt.from&&nt.from&&n>t.to&&n=this.basePointRange&&(s=i),t=void 0;r--;)t&&!1!==t.visible||(t=e[r+1]),i=e[r],!1!==t.visible&&!1!==i.visible&&(t.x-i.x>s&&(t=(i.x+t.x)/2,e.splice(r+1,0,{isNull:!0,x:t}),o.stacking&&this.options.stacking&&((t=o.stacking.stacks[this.stackKey][t]=new n(o,o.options.stackLabels,!1,t,this.stack)).total=0)),t=i);return this.getGraphPath(e)}function y(t){this.hasBreaks=!1,this.axis=t}return t=i=i||{},o=[],t.compose=function(t,i){var e;return-1===o.indexOf(t)&&(o.push(t),t.keepProps.push("brokenAxis"),s(t,"init",c),s(t,"afterInit",h),s(t,"afterSetTickPositions",d),s(t,"afterSetOptions",l)),-1===o.indexOf(i)&&(o.push(i),(e=i.prototype).drawBreaks=m,e.gappedPath=v,s(i,"afterGeneratePoints",p),s(i,"afterRender",x)),t},y.isInBreak=function(t,i){var e=t.repeat||1/0,o=t.from,s=t.to-t.from;return i=o<=i?(i-o)%e:e-(o-i)%e,t.inclusive?i<=s:i=t)break;(o.to=t)break;if(y.isInBreak(s,t)){e-=t-s.from;break}}}return e},y.prototype.findBreakAt=function(i,t){return r(t,function(t){return t.fromMath.PI;)t-=o;return o=Math.tan(t),-aMath.PI-a||t<=-(Math.PI-a)?(u=-1,h=!0):u=-1,h?(c+=u*r,p+=f*r*o):(c+=n/(2*o)*u,p+=f*l),e.x!==d&&(c=e.x),e.y!==s&&(p=e.y),{x:c+i*Math.cos(t),y:p-i*Math.sin(t)}}}),o}),i(t,"Gantt/PathfinderAlgorithms.js",[t["Core/Utilities.js"]],function(t){function M(t,i,e){e=e||0;var o,s,r=t.length-1;for(i-=1e-7;e<=r;)if(0<(s=i-t[o=r+e>>1].xMin))e=1+o;else{if(!(s<0))return o;r=o-1}return 0=i.x)&&(e=t[o],e=i.x<=e.xMax&&i.x>=e.xMin&&i.y<=e.yMax&&i.y>=e.yMin),e)return o;return-1}function A(t){var i=[];if(t.length){i.push(["M",t[0].start.x,t[0].start.y]);for(var e=0;e=o.x);){if(y[h].xMin<=n.x&&y[h].xMax>=o.x&&y[h].yMin<=a.y&&y[h].yMax>=s.y)return e?{y:t.y,x:t.x=r[a+"Max"],r=t[a+"Min"]<=r[a+"Min"],t[a+"Max"]>=n[a+"Max"]),n=t[a+"Min"]<=n[a+"Min"],c=B(t[a+"Min"]-i[a]),p=B(t[a+"Max"]-i[a]);return e=B(c-p)<10?i[a]B(i.y-t.y)),h=a?"x":"y",l=[],p=!1,f=d.obstacleMetrics,g=C(t.x,i.x)-f.maxWidth-10,x=O(t.x,i.x)+f.maxWidth+10,m=C(t.y,i.y)-f.maxHeight-10,v=O(t.y,i.y)+f.maxHeight+10,y=d.chartObstacles,b=M(y,g),f=M(y,x);for(-1<(f=k(y=y.slice(b,f+1),i))&&(o=y[f],s=i,r=t,n=C(o.xMax-s.x,s.x-o.xMin)B(i[e]-t[e+"Max"]);return s(i,e,t,e+(o?"Max":"Min"),o?1:-1)}var r,n=[],a=S(e.startDirectionX,B(i.x-t.x)>B(i.y-t.y))?"x":"y",h=e.chartObstacles,l=k(h,t),d=-1<(e=k(h,i))?(r={start:e=o(r=h[e],i,a),end:i},e):i;return-1=t[a]==e[a]>=d[a]&&(i=t[a="y"===a?"x":"y"]i.yMin-e&&t.yMin-ei.xMin-e&&t.xMin-ei.xMax?t.xMin-i.xMax:i.xMin-t.xMax:1/0,n=s?t.yMin>i.yMax?t.yMin-i.yMax:i.yMin-t.yMax:1/0;return s&&o?e?a(t,i,Math.floor(e/2)):1/0:m(r,n)}for(var i,e,o=t.length,s=0,r=[];sMath.PI;)t-=o;return o=Math.tan(t),-aMath.PI-a||t<=-(Math.PI-a)?(u=-1,h=!0):u=-1,h?(c+=u*r,p+=f*r*o):(c+=n/(2*o)*u,p+=f*l),e.x!==d&&(c=e.x),e.y!==s&&(p=e.y),{x:c+i*Math.cos(t),y:p-i*Math.sin(t)}}}),t.prototype.callbacks.push(function(t){!1!==t.options.connectors.enabled&&(((t=t).options.pathfinder||t.series.reduce(function(t,i){return i.options&&h(!0,i.options.connectors=i.options.connectors||{},i.options.pathfinder),t||i.options&&i.options.pathfinder},!1))&&(h(!0,t.options.connectors=t.options.connectors||{},t.options.pathfinder),n('WARNING: Pathfinder options have been renamed. Use "chart.connectors" or "series.connectors" instead.')),this.pathfinder=new v(this),this.pathfinder.update(!0))}),v}),i(t,"Series/Gantt/GanttSeries.js",[t["Core/Axis/Axis.js"],t["Core/Chart/Chart.js"],t["Series/Gantt/GanttPoint.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Axis/Tick.js"],t["Core/Utilities.js"],t["Core/Axis/TreeGrid/TreeGridAxis.js"]],function(t,i,e,o,s,r,n){var a,h,l=this&&this.__extends||(a=function(t,i){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e])})(t,i)},function(t,i){function e(){this.constructor=t}a(t,i),t.prototype=null===i?Object.create(i):(e.prototype=i.prototype,new e)}),d=o.series,c=o.seriesTypes.xrange,p=r.extend,u=r.isNumber,r=r.merge;function f(){var t=null!==h&&h.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n.compose(t,i,d,s),l(f,h=c),f.prototype.drawPoint=function(t,i){var e=this.options,o=this.chart.renderer,s=t.shapeArgs,r=t.plotY,n=t.graphic,a=t.selected&&"select",h=e.stacking&&!e.borderRadius;t.options.milestone?u(r)&&null!==t.y&&!1!==t.visible?(s=o.symbols.diamond(s.x||0,s.y||0,s.width||0,s.height||0),n?n[i]({d:s}):t.graphic=o.path(s).addClass(t.getClassName(),!0).add(t.group||this.group),this.chart.styledMode||t.graphic.attr(this.pointAttribs(t,a)).shadow(e.shadow,null,h)):n&&(t.graphic=n.destroy()):c.prototype.drawPoint.call(this,t,i)},f.prototype.translatePoint=function(t){var i,e;c.prototype.translatePoint.call(this,t),t.options.milestone&&(e=(i=t.shapeArgs).height||0,t.shapeArgs={x:(i.x||0)-e/2,y:i.y,width:e,height:e})},f.defaultOptions=r(c.defaultOptions,{grouping:!1,dataLabels:{enabled:!0},tooltip:{headerFormat:'{series.name}
',pointFormat:null,pointFormatter:function(){var t=this.series,i=t.xAxis,e=t.tooltipOptions.dateTimeLabelFormats,o=i.options.startOfWeek,s=t.tooltipOptions,r=s.xDateFormat,n=this.options.milestone,a=""+(this.name||this.yCategory)+"";return s.pointFormat?this.tooltipFormatter(s.pointFormat):(!r&&u(this.start)&&(r=t.chart.time.getDateFormat(i.closestPointRange,this.start,o,e||{})),i=t.chart.time.dateFormat(r,this.start),t=t.chart.time.dateFormat(r,this.end),a+="
",n?a+i+"
":a+"Start: "+i+"
End: "+t+"
")}},connectors:{type:"simpleConnect",animation:{reversed:!0},startMarker:{enabled:!0,symbol:"arrow-filled",radius:4,fill:"#fa0",align:"left"},endMarker:{enabled:!1,align:"right"}}}),p((t=f).prototype,{pointArrayMap:["start","end","y"],pointClass:e,setData:d.prototype.setData}),o.registerSeriesType("gantt",t),t}),i(t,"Core/Chart/GanttChart.js",[t["Core/Chart/Chart.js"],t["Core/Defaults.js"],t["Core/Utilities.js"]],function(t,i,e){var o,a,s,r=this&&this.__extends||(o=function(t,i){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e])})(t,i)},function(t,i){function e(){this.constructor=t}o(t,i),t.prototype=null===i?Object.create(i):(e.prototype=i.prototype,new e)}),h=i.getOptions,l=e.isArray,d=e.merge,c=e.splat;function n(){return null!==a&&a.apply(this,arguments)||this}return r(n,a=t),n.prototype.init=function(t,i){var e,o=h(),s=t.xAxis,r=t.yAxis,n=(t.xAxis=t.yAxis=void 0,d(!0,{chart:{type:"gantt"},title:{text:null},legend:{enabled:!1},navigator:{series:{type:"gantt"},yAxis:{type:"category"}}},t,{isGantt:!0}));t.xAxis=s,t.yAxis=r,n.xAxis=(l(t.xAxis)?t.xAxis:[t.xAxis||{},{}]).map(function(t,i){return 1===i&&(e=0),d(o.xAxis,{grid:{enabled:!0},opposite:!0,linkedTo:e},t,{type:"datetime"})}),n.yAxis=c(t.yAxis||{}).map(function(t){return d(o.yAxis,{grid:{enabled:!0},staticScale:50,reversed:!0,type:t.categories?t.type:"treegrid"},t)}),a.prototype.init.call(this,n,i)},(s=t=(t=n)||{}).ganttChart=function(t,i,e){return new s(t,i,e)},t}),i(t,"masters/modules/gantt.src.js",[t["Core/Globals.js"],t["Stock/Navigator/Navigator.js"],t["Stock/Scrollbar/Scrollbar.js"],t["Stock/RangeSelector/RangeSelector.js"],t["Series/XRange/XRangeSeries.js"],t["Core/Chart/GanttChart.js"]],function(t,i,e,o,s,r){t.GanttChart=r,t.ganttChart=r.ganttChart,t.Navigator=i,t.RangeSelector=o,t.Scrollbar=e,i.compose(t.Axis,t.Chart,t.Series),o.compose(t.Axis,t.Chart),e.compose(t.Axis),s.compose(t.Axis)})}); \ No newline at end of file diff --git a/assets/js/external/highcharts/modules/heatmap.min.js b/assets/js/external/highcharts/modules/heatmap.min.js index 8dae4981..b7f21150 100644 --- a/assets/js/external/highcharts/modules/heatmap.min.js +++ b/assets/js/external/highcharts/modules/heatmap.min.js @@ -1 +1 @@ -!function(e){"object"==typeof module&&module.exports?module.exports=e.default=e:"function"==typeof define&&define.amd?define("highcharts/modules/heatmap",["highcharts"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,o,i){t.hasOwnProperty(e)||(t[e]=i.apply(null,o),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Core/Axis/Color/ColorAxisComposition.js",[t["Core/Color/Color.js"],t["Core/Utilities.js"]],function(t,e){var o,a,n,i=t.parse,l=e.addEvent,h=e.extend,p=e.merge,c=e.pick,s=e.splat;function d(){var o=this,t=this.options;this.colorAxis=[],t.colorAxis&&(t.colorAxis=s(t.colorAxis),t.colorAxis.forEach(function(t,e){t.index=e,new a(o,t)}))}function u(e){function o(t){-1!==(t=e.allItems.indexOf(t))&&(s.destroyItem(e.allItems[t]),e.allItems.splice(t,1))}var i,t,s=this,r=[];for((this.chart.colorAxis||[]).forEach(function(t){(i=t.options)&&i.showInLegend&&(i.dataClasses&&i.visible?r=r.concat(t.getDataClassLegendSymbols()):i.visible&&r.push(t),t.series.forEach(function(t){t.options.showInLegend&&!i.dataClasses||("point"===t.options.legendType?t.points.forEach(function(t){o(t)}):o(t))}))}),t=r.length;t--;)e.allItems.unshift(r[t])}function f(t){t.visible&&t.item.legendColor&&t.item.legendSymbol.attr({fill:t.item.legendColor})}function y(){var t=this.chart.colorAxis;t&&t.forEach(function(t,e,o){t.update({},o)})}function m(){(this.chart.colorAxis&&this.chart.colorAxis.length||this.colorAttribs)&&this.translateColors()}function g(){var t=this.axisTypes;t?-1===t.indexOf("colorAxis")&&t.push("colorAxis"):this.axisTypes=["colorAxis"]}function x(t){var e=this,o=t?"show":"hide";e.visible=e.options.visible=!!t,["graphic","dataLabel"].forEach(function(t){e[t]&&e[t][o]()}),this.series.buildKDTree()}function v(){var o=this,i=this.options.nullColor,s=this.colorAxis,r=this.colorKey;(this.data.length?this.data:this.points).forEach(function(t){var e=t.getNestedProperty(r);(e=t.options.color||(t.isNull||null===t.value?i:s&&void 0!==e?s.toColor(e,t):t.color||o.color))&&t.color!==e&&(t.color=e,"point"===o.options.legendType&&t.legendItem&&o.chart.legend.colorizeItem(t,t.visible))})}function C(){this.elem.attr("fill",i(this.start).tweenTo(i(this.end),this.pos),void 0,!0)}function b(){this.elem.attr("stroke",i(this.start).tweenTo(i(this.end),this.pos),void 0,!0)}return t=o=o||{},n=[],t.compose=function(t,e,o,i,s){var r;a=a||t,-1===n.indexOf(e)&&(n.push(e),(t=e.prototype).collectionsWithUpdate.push("colorAxis"),t.collectionsWithInit.colorAxis=[t.addColorAxis],l(e,"afterGetAxes",d),r=(t=e).prototype.createAxis,t.prototype.createAxis=function(t,e){if("colorAxis"!==t)return r.apply(this,arguments);var o=new a(this,p(e.axis,{index:this[t].length,isX:!1}));return this.isDirtyLegend=!0,this.axes.forEach(function(t){t.series=[]}),this.series.forEach(function(t){t.bindAxes(),t.isDirtyData=!0}),c(e.redraw,!0)&&this.redraw(e.animation),o}),-1===n.indexOf(o)&&(n.push(o),(e=o.prototype).fillSetter=C,e.strokeSetter=b),-1===n.indexOf(i)&&(n.push(i),l(i,"afterGetAllItems",u),l(i,"afterColorizeItem",f),l(i,"afterUpdate",y)),-1===n.indexOf(s)&&(n.push(s),h(s.prototype,{optionalAxis:"colorAxis",translateColors:v}),h(s.prototype.pointClass.prototype,{setVisible:x}),l(s,"afterTranslate",m),l(s,"bindAxes",g))},t.pointSetVisible=x,o}),e(t,"Core/Axis/Color/ColorAxisDefaults.js",[],function(){return{lineWidth:0,minPadding:0,maxPadding:0,gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50},width:.01,color:"#999999"},labels:{overflow:"justify",rotation:0},minColor:"#e6ebf5",maxColor:"#003399",tickLength:5,showInLegend:!0}}),e(t,"Core/Axis/Color/ColorAxis.js",[t["Core/Axis/Axis.js"],t["Core/Color/Color.js"],t["Core/Axis/Color/ColorAxisComposition.js"],t["Core/Axis/Color/ColorAxisDefaults.js"],t["Core/Globals.js"],t["Core/Legend/LegendSymbol.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,s,o,i,d,r,a){var n,l,h=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),p=e.parse,u=i.noop,c=r.series,f=a.extend,y=a.isNumber,m=a.merge,g=a.pick;function x(t,e){var o=l.call(this,t,e)||this;return o.beforePadding=!1,o.chart=void 0,o.coll="colorAxis",o.dataClasses=void 0,o.legendItem=void 0,o.legendItems=void 0,o.name="",o.options=void 0,o.stops=void 0,o.visible=!0,o.init(t,e),o}return h(x,l=t),x.compose=function(t,e,o,i){s.compose(x,t,e,o,i)},x.prototype.init=function(t,e){var o=t.options.legend||{},i=e.layout?"vertical"!==e.layout:"vertical"!==o.layout,s=e.visible,o=m(x.defaultColorAxisOptions,e,{showEmpty:!1,title:null,visible:o.enabled&&!1!==s});this.coll="colorAxis",this.side=e.side||i?2:1,this.reversed=e.reversed||!i,this.opposite=!i,l.prototype.init.call(this,t,o),this.userOptions.visible=s,e.dataClasses&&this.initDataClasses(e),this.initStops(),this.horiz=i,this.zoomEnabled=!1},x.prototype.initDataClasses=function(t){var o,i=this.chart,s=this.options,r=t.dataClasses.length,a=0,n=i.options.chart.colorCount;this.dataClasses=o=[],this.legendItems=[],(t.dataClasses||[]).forEach(function(t,e){t=m(t),o.push(t),!i.styledMode&&t.color||("category"===s.dataClassColor?(i.styledMode||(e=i.options.colors,n=e.length,t.color=e[a]),t.colorIndex=a,++a===n&&(a=0)):t.color=p(s.minColor).tweenTo(p(s.maxColor),r<2?.5:e/(r-1)))})},x.prototype.hasData=function(){return!!(this.tickPositions||[]).length},x.prototype.setTickPositions=function(){if(!this.dataClasses)return l.prototype.setTickPositions.call(this)},x.prototype.initStops=function(){this.stops=this.options.stops||[[0,this.options.minColor],[1,this.options.maxColor]],this.stops.forEach(function(t){t.color=p(t[1])})},x.prototype.setOptions=function(t){l.prototype.setOptions.call(this,t),this.options.crosshair=this.options.marker},x.prototype.setAxisSize=function(){var t,e,o=this.legendSymbol,i=this.chart,s=i.options.legend||{};o?(this.left=s=o.attr("x"),this.top=t=o.attr("y"),this.width=e=o.attr("width"),this.height=o=o.attr("height"),this.right=i.chartWidth-s-e,this.bottom=i.chartHeight-t-o,this.len=this.horiz?e:o,this.pos=this.horiz?s:t):this.len=(this.horiz?s.symbolWidth:s.symbolHeight)||x.defaultLegendLength},x.prototype.normalizedValue=function(t){return this.logarithmic&&(t=this.logarithmic.log2lin(t)),1-(this.max-t)/(this.max-this.min||1)},x.prototype.toColor=function(t,e){var o,i=this.dataClasses,s=this.stops;if(i)for(o=i.length;o--;){var r=i[o],a=r.from,s=r.to;if((void 0===a||a<=t)&&(void 0===s||t<=s)){var n=r.color;e&&(e.dataClass=o,e.colorIndex=r.colorIndex);break}}else{for(t=this.normalizedValue(t),o=s.length;o--&&!(t>s[o][0]););a=s[o]||s[o+1],t=1-((s=s[o+1]||a)[0]-t)/(s[0]-a[0]||1),n=a.color.tweenTo(s.color,t)}return n},x.prototype.getOffset=function(){var e,t=this.legendGroup,o=this.chart.axisOffset[this.side];t&&(this.axisParent=t,l.prototype.getOffset.call(this),(e=this.chart.legend).allItems.forEach(function(t){t instanceof x&&t.drawLegendSymbol(e,t)}),e.render(),this.chart.getMargins(!0),this.added||(this.added=!0,this.labelLeft=0,this.labelRight=this.width),this.chart.axisOffset[this.side]=o)},x.prototype.setLegendColor=function(){var t=(e=this.reversed)?1:0,e=e?0:1,t=this.horiz?[t,0,e,0]:[0,e,0,t];this.legendColor={linearGradient:{x1:t[0],y1:t[1],x2:t[2],y2:t[3]},stops:this.stops}},x.prototype.drawLegendSymbol=function(t,e){var o=t.padding,i=t.options,s=this.horiz,r=g(i.symbolWidth,s?x.defaultLegendLength:12),a=g(i.symbolHeight,s?12:x.defaultLegendLength),n=g(i.labelPadding,s?16:30),i=g(i.itemDistance,10);this.setLegendColor(),e.legendSymbol||(e.legendSymbol=this.chart.renderer.rect(0,t.baseline-11,r,a).attr({zIndex:1}).add(e.legendGroup)),this.legendItemWidth=r+o+(s?i:this.options.labels.x+this.maxLabelLength),this.legendItemHeight=a+o+(s?n:0)},x.prototype.setState=function(e){this.series.forEach(function(t){t.setState(e)})},x.prototype.setVisible=function(){},x.prototype.getSeriesExtremes=function(){var t,e=this.series,o=e.length;for(this.dataMin=1/0,this.dataMax=-1/0;o--;){var i=e[o],s=i.colorKey=g(i.options.colorKey,i.colorKey,i.pointValKey,i.zoneAxis,"y"),r=i.pointArrayMap,a=i[s+"Min"]&&i[s+"Max"];if(i[s+"Data"])var n=i[s+"Data"];else if(r){var n=[],r=r.indexOf(s),l=i.yData;if(0<=r&&l)for(t=0;t "),void 0!==o&&(a+=s(o,p)+c),void 0!==o&&void 0!==i&&(a+=" - "),void 0!==i&&(a+=s(i,p)+c),h.push(f({chart:l,name:a,options:{},drawLegendSymbol:d.drawRectangle,visible:!0,setState:u,isDataClass:!0,setVisible:function(){this.visible=r=n.visible=!r,n.series.forEach(function(t){t.points.forEach(function(t){t.dataClass===e&&t.setVisible(r)})}),l.legend.colorizeItem(this,r)}},t))}),h},x.defaultColorAxisOptions=o,x.defaultLegendLength=200,x.keepProps=["legendGroup","legendItemHeight","legendItemWidth","legendItem","legendSymbol"],e=x,Array.prototype.push.apply(t.keepProps,e.keepProps),e}),e(t,"Series/ColorMapComposition.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){var o,i,t=t.seriesTypes.column.prototype,s=e.addEvent,r=e.defined;function a(t){this.moveToTopOnHover&&this.graphic&&this.graphic.attr({zIndex:t&&"hover"===t.state?1:0})}return e=o=o||{},i=[],e.pointMembers={dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return null!==this.value&&1/0!==this.value&&-1/0!==this.value&&(void 0===this.value||!isNaN(this.value))}},e.seriesMembers={colorKey:"value",axisTypes:["xAxis","yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"],colorAttribs:function(t){var e={};return!r(t.color)||t.state&&"normal"!==t.state||(e[this.colorProp||"fill"]=t.color),e},pointAttribs:t.pointAttribs},e.compose=function(t){var e=t.prototype.pointClass;return-1===i.indexOf(e)&&(i.push(e),s(e,"afterSetState",a)),t},o}),e(t,"Series/Heatmap/HeatmapPoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){var i,o,s=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),a=e.clamp,p=e.defined,r=e.extend,c=e.pick;function n(){var t=null!==o&&o.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t.value=void 0,t.x=void 0,t.y=void 0,t}return o=t.seriesTypes.scatter.prototype.pointClass,s(n,o),n.prototype.applyOptions=function(t,e){return(t=o.prototype.applyOptions.call(this,t,e)).formatPrefix=t.isNull||null===t.value?"null":"point",t},n.prototype.getCellAttributes=function(){var t=(r=this.series).options,e=(t.colsize||1)/2,o=(t.rowsize||1)/2,i=r.xAxis,s=r.yAxis,n=this.options.marker||r.options.marker,r=r.pointPlacementToXValue(),l=c(this.pointPadding,t.pointPadding,0),h={x1:a(Math.round(i.len-i.translate(this.x-e,!1,!0,!1,!0,-r)),-i.len,2*i.len),x2:a(Math.round(i.len-i.translate(this.x+e,!1,!0,!1,!0,-r)),-i.len,2*i.len),y1:a(Math.round(s.translate(this.y-o,!1,!0,!1,!0)),-s.len,2*s.len),y2:a(Math.round(s.translate(this.y+o,!1,!0,!1,!0)),-s.len,2*s.len)};return[["width","x"],["height","y"]].forEach(function(t){var e=t[0],o=(t=t[1])+"1",i=t+"2",s=Math.abs(h[o]-h[i]),r=n&&n.lineWidth||0,a=Math.abs(h[o]+h[i])/2,e=n&&n[e];p(e)&&e"},states:{hover:{halo:!1,brightness:.2}}}),f((s=v).prototype,{axisTypes:t.seriesMembers.axisTypes,colorKey:t.seriesMembers.colorKey,directTouch:!0,getExtremesFromAll:!0,parallelArrays:t.seriesMembers.parallelArrays,pointArrayMap:["y","value"],pointClass:e,trackerGroups:t.seriesMembers.trackerGroups,alignDataLabel:d.prototype.alignDataLabel,colorAttribs:t.seriesMembers.colorAttribs,drawLegendSymbol:o.drawRectangle,getSymbol:p.prototype.getSymbol}),t.compose(s),i.registerSeriesType("heatmap",s),s}),e(t,"masters/modules/heatmap.src.js",[t["Core/Globals.js"],t["Core/Axis/Color/ColorAxis.js"]],function(t,e){(t.ColorAxis=e).compose(t.Chart,t.Fx,t.Legend,t.Series)})}); \ No newline at end of file +!function(e){"object"==typeof module&&module.exports?module.exports=e.default=e:"function"==typeof define&&define.amd?define("highcharts/modules/heatmap",["highcharts"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,o,i){t.hasOwnProperty(e)||(t[e]=i.apply(null,o),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Core/Axis/Color/ColorAxisComposition.js",[t["Core/Color/Color.js"],t["Core/Utilities.js"]],function(t,e){var o,a,n,i=t.parse,l=e.addEvent,h=e.extend,p=e.merge,c=e.pick,s=e.splat;function d(){var o=this,t=this.options;this.colorAxis=[],t.colorAxis&&(t.colorAxis=s(t.colorAxis),t.colorAxis.forEach(function(t,e){t.index=e,new a(o,t)}))}function u(e){function o(t){-1!==(t=e.allItems.indexOf(t))&&(s.destroyItem(e.allItems[t]),e.allItems.splice(t,1))}var i,t,s=this,r=[];for((this.chart.colorAxis||[]).forEach(function(t){(i=t.options)&&i.showInLegend&&(i.dataClasses&&i.visible?r=r.concat(t.getDataClassLegendSymbols()):i.visible&&r.push(t),t.series.forEach(function(t){t.options.showInLegend&&!i.dataClasses||("point"===t.options.legendType?t.points.forEach(function(t){o(t)}):o(t))}))}),t=r.length;t--;)e.allItems.unshift(r[t])}function f(t){t.visible&&t.item.legendColor&&t.item.legendItem.symbol.attr({fill:t.item.legendColor})}function y(){var t=this.chart.colorAxis;t&&t.forEach(function(t,e,o){t.update({},o)})}function m(){(this.chart.colorAxis&&this.chart.colorAxis.length||this.colorAttribs)&&this.translateColors()}function g(){var t=this.axisTypes;t?-1===t.indexOf("colorAxis")&&t.push("colorAxis"):this.axisTypes=["colorAxis"]}function x(t){var e=this,o=t?"show":"hide";e.visible=e.options.visible=!!t,["graphic","dataLabel"].forEach(function(t){e[t]&&e[t][o]()}),this.series.buildKDTree()}function v(){var o=this,i=this.options.nullColor,s=this.colorAxis,r=this.colorKey;(this.data.length?this.data:this.points).forEach(function(t){var e=t.getNestedProperty(r);(e=t.options.color||(t.isNull||null===t.value?i:s&&void 0!==e?s.toColor(e,t):t.color||o.color))&&t.color!==e&&(t.color=e,"point"===o.options.legendType&&t.legendItem&&t.legendItem.label&&o.chart.legend.colorizeItem(t,t.visible))})}function b(){this.elem.attr("fill",i(this.start).tweenTo(i(this.end),this.pos),void 0,!0)}function C(){this.elem.attr("stroke",i(this.start).tweenTo(i(this.end),this.pos),void 0,!0)}return t=o=o||{},n=[],t.compose=function(t,e,o,i,s){var r;a=a||t,-1===n.indexOf(e)&&(n.push(e),(t=e.prototype).collectionsWithUpdate.push("colorAxis"),t.collectionsWithInit.colorAxis=[t.addColorAxis],l(e,"afterGetAxes",d),r=(t=e).prototype.createAxis,t.prototype.createAxis=function(t,e){if("colorAxis"!==t)return r.apply(this,arguments);var o=new a(this,p(e.axis,{index:this[t].length,isX:!1}));return this.isDirtyLegend=!0,this.axes.forEach(function(t){t.series=[]}),this.series.forEach(function(t){t.bindAxes(),t.isDirtyData=!0}),c(e.redraw,!0)&&this.redraw(e.animation),o}),-1===n.indexOf(o)&&(n.push(o),(e=o.prototype).fillSetter=b,e.strokeSetter=C),-1===n.indexOf(i)&&(n.push(i),l(i,"afterGetAllItems",u),l(i,"afterColorizeItem",f),l(i,"afterUpdate",y)),-1===n.indexOf(s)&&(n.push(s),h(s.prototype,{optionalAxis:"colorAxis",translateColors:v}),h(s.prototype.pointClass.prototype,{setVisible:x}),l(s,"afterTranslate",m,{order:1}),l(s,"bindAxes",g))},t.pointSetVisible=x,o}),e(t,"Core/Axis/Color/ColorAxisDefaults.js",[],function(){return{lineWidth:0,minPadding:0,maxPadding:0,gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50},width:.01,color:"#999999"},labels:{overflow:"justify",rotation:0},minColor:"#e6ebf5",maxColor:"#003399",tickLength:5,showInLegend:!0}}),e(t,"Core/Axis/Color/ColorAxis.js",[t["Core/Axis/Axis.js"],t["Core/Color/Color.js"],t["Core/Axis/Color/ColorAxisComposition.js"],t["Core/Axis/Color/ColorAxisDefaults.js"],t["Core/Globals.js"],t["Core/Legend/LegendSymbol.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,s,o,i,u,r,a){var n,l,h=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),p=e.parse,c=r.series,f=a.extend,d=a.isNumber,y=a.merge,m=a.pick;function g(t,e){var o=l.call(this,t,e)||this;return o.beforePadding=!1,o.chart=void 0,o.coll="colorAxis",o.dataClasses=void 0,o.name="",o.options=void 0,o.stops=void 0,o.visible=!0,o.init(t,e),o}return h(g,l=t),g.compose=function(t,e,o,i){s.compose(g,t,e,o,i)},g.prototype.init=function(t,e){var o=t.options.legend||{},i=e.layout?"vertical"!==e.layout:"vertical"!==o.layout,s=e.visible,o=y(g.defaultColorAxisOptions,e,{showEmpty:!1,title:null,visible:o.enabled&&!1!==s});this.coll="colorAxis",this.side=e.side||i?2:1,this.reversed=e.reversed||!i,this.opposite=!i,l.prototype.init.call(this,t,o),this.userOptions.visible=s,e.dataClasses&&this.initDataClasses(e),this.initStops(),this.horiz=i,this.zoomEnabled=!1},g.prototype.initDataClasses=function(t){var o,i=this.chart,e=this.legendItem=this.legendItem||{},s=t.dataClasses.length,r=this.options,a=0,n=i.options.chart.colorCount;this.dataClasses=o=[],e.labels=[],(t.dataClasses||[]).forEach(function(t,e){t=y(t),o.push(t),!i.styledMode&&t.color||("category"===r.dataClassColor?(i.styledMode||(e=i.options.colors,n=e.length,t.color=e[a]),t.colorIndex=a,++a===n&&(a=0)):t.color=p(r.minColor).tweenTo(p(r.maxColor),s<2?.5:e/(s-1)))})},g.prototype.hasData=function(){return!!(this.tickPositions||[]).length},g.prototype.setTickPositions=function(){if(!this.dataClasses)return l.prototype.setTickPositions.call(this)},g.prototype.initStops=function(){this.stops=this.options.stops||[[0,this.options.minColor],[1,this.options.maxColor]],this.stops.forEach(function(t){t.color=p(t[1])})},g.prototype.setOptions=function(t){l.prototype.setOptions.call(this,t),this.options.crosshair=this.options.marker},g.prototype.setAxisSize=function(){var t,e,o=this.legendItem&&this.legendItem.symbol,i=this.chart,s=i.options.legend||{};o?(this.left=s=o.attr("x"),this.top=t=o.attr("y"),this.width=e=o.attr("width"),this.height=o=o.attr("height"),this.right=i.chartWidth-s-e,this.bottom=i.chartHeight-t-o,this.len=this.horiz?e:o,this.pos=this.horiz?s:t):this.len=(this.horiz?s.symbolWidth:s.symbolHeight)||g.defaultLegendLength},g.prototype.normalizedValue=function(t){return this.logarithmic&&(t=this.logarithmic.log2lin(t)),1-(this.max-t)/(this.max-this.min||1)},g.prototype.toColor=function(t,e){var o,i=this.dataClasses,s=this.stops;if(i)for(o=i.length;o--;){var r=i[o],a=r.from,s=r.to;if((void 0===a||a<=t)&&(void 0===s||t<=s)){var n=r.color;e&&(e.dataClass=o,e.colorIndex=r.colorIndex);break}}else{for(t=this.normalizedValue(t),o=s.length;o--&&!(t>s[o][0]););a=s[o]||s[o+1],t=1-((s=s[o+1]||a)[0]-t)/(s[0]-a[0]||1),n=a.color.tweenTo(s.color,t)}return n},g.prototype.getOffset=function(){var e,t=this.legendItem&&this.legendItem.group,o=this.chart.axisOffset[this.side];t&&(this.axisParent=t,l.prototype.getOffset.call(this),(e=this.chart.legend).allItems.forEach(function(t){t instanceof g&&t.drawLegendSymbol(e,t)}),e.render(),this.chart.getMargins(!0),this.added||(this.added=!0,this.labelLeft=0,this.labelRight=this.width),this.chart.axisOffset[this.side]=o)},g.prototype.setLegendColor=function(){var t=(e=this.reversed)?1:0,e=e?0:1,t=this.horiz?[t,0,e,0]:[0,e,0,t];this.legendColor={linearGradient:{x1:t[0],y1:t[1],x2:t[2],y2:t[3]},stops:this.stops}},g.prototype.drawLegendSymbol=function(t,e){e=e.legendItem||{};var o=t.padding,i=t.options,s=m(i.itemDistance,10),r=this.horiz,a=m(i.symbolWidth,r?g.defaultLegendLength:12),n=m(i.symbolHeight,r?12:g.defaultLegendLength),i=m(i.labelPadding,r?16:30);this.setLegendColor(),e.symbol||(e.symbol=this.chart.renderer.rect(0,t.baseline-11,a,n).attr({zIndex:1}).add(e.group)),e.labelWidth=a+o+(r?s:this.options.labels.x+this.maxLabelLength),e.labelHeight=n+o+(r?i:0)},g.prototype.setState=function(e){this.series.forEach(function(t){t.setState(e)})},g.prototype.setVisible=function(){},g.prototype.getSeriesExtremes=function(){var t,e=this.series,o=e.length;for(this.dataMin=1/0,this.dataMax=-1/0;o--;){var i=e[o],s=i.colorKey=m(i.options.colorKey,i.colorKey,i.pointValKey,i.zoneAxis,"y"),r=i.pointArrayMap,a=i[s+"Min"]&&i[s+"Max"];if(i[s+"Data"])var n=i[s+"Data"];else if(r){var n=[],r=r.indexOf(s),l=i.yData;if(0<=r&&l)for(t=0;t "),void 0!==e&&(n+=s(e,c)+d),void 0!==e&&void 0!==o&&(n+=" - "),void 0!==o&&(n+=s(o,c)+d),p.push(f({chart:h,name:n,options:{},drawLegendSymbol:u.drawRectangle,visible:!0,isDataClass:!0,setState:function(t){for(var e=0,o=a(i);e"},states:{hover:{halo:!1,brightness:.2}}}),s((r=x).prototype,{axisTypes:t.seriesMembers.axisTypes,colorKey:t.seriesMembers.colorKey,directTouch:!0,getExtremesFromAll:!0,parallelArrays:t.seriesMembers.parallelArrays,pointArrayMap:["y","value"],pointClass:e,specialGroup:"group",trackerGroups:t.seriesMembers.trackerGroups,alignDataLabel:d.prototype.alignDataLabel,colorAttribs:t.seriesMembers.colorAttribs,drawLegendSymbol:o.drawRectangle,getSymbol:p.prototype.getSymbol}),t.compose(r),i.registerSeriesType("heatmap",r),r}),e(t,"masters/modules/heatmap.src.js",[t["Core/Globals.js"],t["Core/Axis/Color/ColorAxis.js"]],function(t,e){(t.ColorAxis=e).compose(t.Chart,t.Fx,t.Legend,t.Series)})}); \ No newline at end of file diff --git a/assets/js/external/highcharts/modules/heikinashi.min.js b/assets/js/external/highcharts/modules/heikinashi.min.js index 76d2f813..7b40893e 100644 --- a/assets/js/external/highcharts/modules/heikinashi.min.js +++ b/assets/js/external/highcharts/modules/heikinashi.min.js @@ -1 +1 @@ -!function(i){"object"==typeof module&&module.exports?module.exports=i.default=i:"function"==typeof define&&define.amd?define("highcharts/modules/heikinashi",["highcharts","highcharts/modules/stock"],function(t){return i(t),i.Highcharts=t,i}):i("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function i(t,i,e,o){t.hasOwnProperty(i)||(t[i]=o.apply(null,e),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:i,module:t[i]}})))}i(t=t?t._modules:{},"Series/HeikinAshi/HeikinAshiPoint.js",[t["Core/Series/SeriesRegistry.js"]],function(t){var o,i,e=this&&this.__extends||(o=function(t,i){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e])})(t,i)},function(t,i){function e(){this.constructor=t}o(t,i),t.prototype=null===i?Object.create(i):(e.prototype=i.prototype,new e)});return i=t.seriesTypes.candlestick.prototype.pointClass,e(s,i),s;function s(){var t=null!==i&&i.apply(this,arguments)||this;return t.series=void 0,t}}),i(t,"Series/HeikinAshi/HeikinAshiSeries.js",[t["Series/HeikinAshi/HeikinAshiPoint.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"],t["Core/Axis/Axis.js"]],function(t,i,e,o){var s,n,a=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e])})(t,i)},function(t,i){function e(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(e.prototype=i.prototype,new e)}),r=i.seriesTypes.candlestick,h=e.addEvent,p=e.merge;function u(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.heikiashiData=[],t.options=void 0,t.points=void 0,t.yData=void 0,t.processedYData=void 0,t}return a(u,n=r),u.prototype.getHeikinashiData=function(){var t=this.allGroupedData||this.yData,i=this.heikiashiData;if(!i.length&&t&&t.length){this.modifyFirstPointValue(t[0]);for(var e=1;eA+(u&&j?u.length:0);)for(c=_,_=m.length=0,u=d,d=[],p=y/++v/2,b?0<=(g=(p-b)/p*y)?p=b:(g=0,M=1):p=Math.floor(p*M),e=p;0C+(u&&A?u.length:0);)for(c=_,_=m.length=0,u=d,d=[],l=y/++v/2,b?0<=(g=(l-b)/l*y)?l=b:(g=0,M=1):l=Math.floor(l*M),e=l;0● {series.name}: {point.y}
'}}),e((s=d).prototype,{pointArrayMap:["y"],pointValKey:"y",translatePoint:p.translate,drawPoint:p.drawPoints,drawDataLabels:l.drawDataLabels,setShapeArgs:l.translate,pointClass:t}),o.registerSeriesType("lollipop",s),s}),o(t,"masters/modules/lollipop.src.js",[],function(){})}); \ No newline at end of file +!function(o){"object"==typeof module&&module.exports?module.exports=o.default=o:"function"==typeof define&&define.amd?define("highcharts/modules/lollipop",["highcharts"],function(t){return o(t),o.Highcharts=t,o}):o("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function o(t,o,e,i){t.hasOwnProperty(o)||(t[o]=i.apply(null,e),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:o,module:t[o]}})))}o(t=t?t._modules:{},"Series/Lollipop/LollipopPoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,o){var i,e,n=this&&this.__extends||(i=function(t,o){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)o.hasOwnProperty(e)&&(t[e]=o[e])})(t,o)},function(t,o){function e(){this.constructor=t}i(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),r=t.seriesTypes,s=r.scatter.prototype.pointClass;function p(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t.plotX=void 0,t}return r=r.dumbbell.prototype.pointClass,o=o.extend,e=t.series.prototype.pointClass,n(p,e),o((t=p).prototype,{destroy:r.prototype.destroy,pointSetState:s.prototype.setState,setState:r.prototype.setState}),t}),o(t,"Series/Lollipop/LollipopSeries.js",[t["Series/Lollipop/LollipopPoint.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Series/Series.js"],t["Core/Utilities.js"]],function(t,o,e,i){var n,r,s=this&&this.__extends||(n=function(t,o){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)o.hasOwnProperty(e)&&(t[e]=o[e])})(t,o)},function(t,o){function e(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),p=(a=o.seriesTypes).column.prototype,a=a.dumbbell.prototype,l=i.extend,c=i.merge;function u(){var t=null!==r&&r.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return s(u,r=e),u.prototype.drawPoints=function(){var t=this.points.length,o=0;for(r.prototype.drawPoints.apply(this,arguments);or[o][0]););s=r[o]||r[o+1],t=1-((r=r[o+1]||s)[0]-t)/(r[0]-s[0]||1),a=s.color.tweenTo(r.color,t)}return a},b.prototype.getOffset=function(){var e,t=this.legendGroup,o=this.chart.axisOffset[this.side];t&&(this.axisParent=t,p.prototype.getOffset.call(this),(e=this.chart.legend).allItems.forEach(function(t){t instanceof b&&t.drawLegendSymbol(e,t)}),e.render(),this.chart.getMargins(!0),this.added||(this.added=!0,this.labelLeft=0,this.labelRight=this.width),this.chart.axisOffset[this.side]=o)},b.prototype.setLegendColor=function(){var t=(e=this.reversed)?1:0,e=e?0:1,t=this.horiz?[t,0,e,0]:[0,e,0,t];this.legendColor={linearGradient:{x1:t[0],y1:t[1],x2:t[2],y2:t[3]},stops:this.stops}},b.prototype.drawLegendSymbol=function(t,e){var o=t.padding,i=t.options,r=this.horiz,n=g(i.symbolWidth,r?b.defaultLegendLength:12),s=g(i.symbolHeight,r?12:b.defaultLegendLength),a=g(i.labelPadding,r?16:30),i=g(i.itemDistance,10);this.setLegendColor(),e.legendSymbol||(e.legendSymbol=this.chart.renderer.rect(0,t.baseline-11,n,s).attr({zIndex:1}).add(e.legendGroup)),this.legendItemWidth=n+o+(r?i:this.options.labels.x+this.maxLabelLength),this.legendItemHeight=s+o+(r?a:0)},b.prototype.setState=function(e){this.series.forEach(function(t){t.setState(e)})},b.prototype.setVisible=function(){},b.prototype.getSeriesExtremes=function(){var t,e=this.series,o=e.length;for(this.dataMin=1/0,this.dataMax=-1/0;o--;){var i=e[o],r=i.colorKey=g(i.options.colorKey,i.colorKey,i.pointValKey,i.zoneAxis,"y"),n=i.pointArrayMap,s=i[r+"Min"]&&i[r+"Max"];if(i[r+"Data"])var a=i[r+"Data"];else if(n){var a=[],n=n.indexOf(r),p=i.yData;if(0<=n&&p)for(t=0;t "),void 0!==o&&(s+=r(o,h)+c),void 0!==o&&void 0!==i&&(s+=" - "),void 0!==i&&(s+=r(i,h)+c),l.push(f({chart:p,name:s,options:{},drawLegendSymbol:u.drawRectangle,visible:!0,setState:d,isDataClass:!0,setVisible:function(){this.visible=n=a.visible=!n,a.series.forEach(function(t){t.points.forEach(function(t){t.dataClass===e&&t.setVisible(n)})}),p.legend.colorizeItem(this,n)}},t))}),l},b.defaultColorAxisOptions=o,b.defaultLegendLength=200,b.keepProps=["legendGroup","legendItemHeight","legendItemWidth","legendItem","legendSymbol"],e=b,Array.prototype.push.apply(t.keepProps,e.keepProps),e}),e(t,"Maps/MapNavigationOptionsDefault.js",[t["Core/DefaultOptions.js"],t["Core/Utilities.js"]],function(t,e){return(e=e.extend)(t.defaultOptions.lang,{zoomIn:"Zoom in",zoomOut:"Zoom out"}),t.defaultOptions.mapNavigation={buttonOptions:{alignTo:"plotBox",align:"left",verticalAlign:"top",x:0,width:18,height:18,padding:5,style:{fontSize:"15px",fontWeight:"bold"},theme:{"stroke-width":1,"text-align":"center"}},buttons:{zoomIn:{onclick:function(){this.mapZoom(.5)},text:"+",y:0},zoomOut:{onclick:function(){this.mapZoom(2)},text:"-",y:28}},mouseWheelSensitivity:1.1}}),e(t,"Maps/MapNavigation.js",[t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],function(t,e,o){function h(t){t&&(t.preventDefault&&t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)}function i(t){this.navButtons=[],this.init(t)}var r=e.doc,c=o.addEvent,u=o.extend,n=o.isNumber,d=o.merge,f=o.objectEach,y=o.pick;i.prototype.init=function(t){this.chart=t},i.prototype.update=function(t){function r(t){this.handler.call(a,t),h(t)}var n,s=this,a=this.chart,p=a.options.mapNavigation,l=s.navButtons;for(t&&(p=a.options.mapNavigation=d(a.options.mapNavigation,t));l.length;)l.pop().destroy();y(p.enableButtons,p.enabled)&&!a.renderer.forExport&&(s.navButtonsGroup||(s.navButtonsGroup=a.renderer.g().attr({zIndex:4}).add()),f(p.buttons,function(t,e){t=d(p.buttonOptions,t),!a.styledMode&&t.theme&&((n=t.theme).style=d(t.theme.style,t.style));var o,i=a.renderer.button(t.text||"",0,0,r,n,void 0,void 0,void 0,"zoomIn"===e?"topbutton":"bottombutton").addClass("highcharts-map-navigation highcharts-"+{zoomIn:"zoom-in",zoomOut:"zoom-out"}[e]).attr({width:t.width,height:t.height,title:a.options.lang[e],padding:t.padding,zIndex:5}).add(s.navButtonsGroup);i.handler=t.onclick,c(i.element,"dblclick",h),l.push(i),u(t,{width:i.width,height:2*i.height}),a.hasLoaded?i.align(t,!1,t.alignTo):o=c(a,"load",function(){i.element&&i.align(t,!1,t.alignTo),o()})}),t=function(){var t,e,o=a.exportingGroup&&a.exportingGroup.getBBox();!o||(t=s.navButtonsGroup.getBBox()).x>=o.x+o.width||t.x+t.width<=o.x||t.y>=o.y+o.height||t.y+t.height<=o.y||(e=-t.y-t.height+o.y-5,o=o.y+o.height-t.y+5,s.navButtonsGroup.attr({translateY:"bottom"===(p.buttonOptions&&p.buttonOptions.verticalAlign)?e:o}))},a.hasLoaded||c(a,"render",t)),this.updateEvents(p)},i.prototype.updateEvents=function(t){var e=this.chart;y(t.enableDoubleClickZoom,t.enabled)||t.enableDoubleClickZoomTo?this.unbindDblClick=this.unbindDblClick||c(e.container,"dblclick",function(t){e.pointer.onContainerDblClick(t)}):this.unbindDblClick&&(this.unbindDblClick=this.unbindDblClick()),y(t.enableMouseWheelZoom,t.enabled)?this.unbindMouseWheel=this.unbindMouseWheel||c(e.container,void 0!==r.onwheel?"wheel":void 0!==r.onmousewheel?"mousewheel":"DOMMouseScroll",function(t){return e.pointer.inClass(t.target,"highcharts-no-mousewheel")||(e.pointer.onContainerMouseWheel(t),h(t)),!1}):this.unbindMouseWheel&&(this.unbindMouseWheel=this.unbindMouseWheel())},u(t.prototype,{fitToBox:function(o,i){return[["x","width"],["y","height"]].forEach(function(t){var e=t[0];t=t[1],o[e]+o[t]>i[e]+i[t]&&(o[t]>i[t]?(o[t]=i[t],o[e]=i[e]):o[e]=i[e]+i[t]-o[t]),o[t]>i[t]&&(o[t]=i[t]),o[e]i.scaleY,this.pinchTranslateDirection(!t,e,o,i,r,n,s,t?i.scaleX:i.scaleY))})}),e(t,"Series/ColorMapComposition.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){var o,i,t=t.seriesTypes.column.prototype,r=e.addEvent,n=e.defined;function s(t){this.moveToTopOnHover&&this.graphic&&this.graphic.attr({zIndex:t&&"hover"===t.state?1:0})}return e=o=o||{},i=[],e.pointMembers={dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return null!==this.value&&1/0!==this.value&&-1/0!==this.value&&(void 0===this.value||!isNaN(this.value))}},e.seriesMembers={colorKey:"value",axisTypes:["xAxis","yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"],colorAttribs:function(t){var e={};return!n(t.color)||t.state&&"normal"!==t.state||(e[this.colorProp||"fill"]=t.color),e},pointAttribs:t.pointAttribs},e.compose=function(t){var e=t.prototype.pointClass;return-1===i.indexOf(e)&&(i.push(e),r(e,"afterSetState",s)),t},o}),e(t,"Maps/MapSymbols.js",[t["Core/Renderer/SVG/SVGRenderer.js"]],function(t){function n(t,e,o,i,r,n,s,a){return[["M",t+r,e],["L",t+o-n,e],["C",t+o-n/2,e,t+o,e+n/2,t+o,e+n],["L",t+o,e+i-s],["C",t+o,e+i-s/2,t+o-s/2,e+i,t+o-s,e+i],["L",t+a,e+i],["C",t+a/2,e+i,t,e+i-a/2,t,e+i-a],["L",t,e+r],["C",t,e+r/2,t+r/2,e,t+r,e],["Z"]]}return(t=t.prototype.symbols).bottombutton=function(t,e,o,i,r){return n(t-1,e-1,o,i,0,0,r=r&&r.r||0,r)},t.topbutton=function(t,e,o,i,r){return n(t-1,e-1,o,i,r=r&&r.r||0,r,0,0)},t}),e(t,"Core/Chart/MapChart.js",[t["Core/Chart/Chart.js"],t["Core/DefaultOptions.js"],t["Core/Renderer/SVG/SVGRenderer.js"],t["Core/Utilities.js"]],function(t,e,o,i){var r,n,s,a=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),p=e.getOptions,l=i.merge,h=i.pick;function c(){return null!==n&&n.apply(this,arguments)||this}return a(c,n=t),c.prototype.init=function(t,e){var o=p().credits;t=l({chart:{panning:{enabled:!0,type:"xy"},type:"map"},credits:{mapText:h(o.mapText,' © {geojson.copyrightShort}'),mapTextFull:h(o.mapTextFull,"{geojson.copyright}")},mapView:{},tooltip:{followTouchMove:!1}},t),n.prototype.init.call(this,t,e)},(s=t=(t=c)||{}).maps={},s.mapChart=function(t,e,o){return new s(t,e,o)},s.splitPath=function(t){return"string"==typeof t&&(t=(t=t.replace(/([A-Za-z])/g," $1 ").replace(/^\s*/,"").replace(/\s*$/,"")).split(/[ ,;]+/).map(function(t){return/[A-za-z]/.test(t)?t:parseFloat(t)})),o.prototype.pathToSegments(t)},t}),e(t,"Maps/MapUtilities.js",[],function(){return{boundsFromPath:function(t){var o,i=-Number.MAX_VALUE,r=Number.MAX_VALUE,n=-Number.MAX_VALUE,s=Number.MAX_VALUE;if(t.forEach(function(t){var e=t[t.length-2];t=t[t.length-1],"number"==typeof e&&"number"==typeof t&&(r=Math.min(r,e),i=Math.max(i,e),s=Math.min(s,t),n=Math.max(n,t),o=!0)}),o)return{x1:r,y1:s,x2:i,y2:n}},pointInPolygon:function(t,e){var o,i=!1,r=t.x,n=t.y;for(t=0,o=e.length-1;tn!=e[o][1]>n&&r<(e[o][0]-e[t][0])*(n-e[t][1])/(e[o][1]-e[t][1])+e[t][0]&&(i=!i);return i}}}),e(t,"Series/Map/MapPoint.js",[t["Series/ColorMapComposition.js"],t["Maps/MapUtilities.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,o,i){var r,n,s=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),a=e.boundsFromPath,p=i.extend,l=i.isNumber,h=i.pick;function c(){var t=null!==n&&n.apply(this,arguments)||this;return t.options=void 0,t.path=void 0,t.series=void 0,t}return n=o.seriesTypes.scatter.prototype.pointClass,s(c,n),c.getProjectedPath=function(t,e){return t.projectedPath||(e&&t.geometry?(e.hasCoordinates=!0,t.projectedPath=e.path(t.geometry)):t.projectedPath=t.path),t.projectedPath||[]},c.prototype.applyOptions=function(t,e){var o=this.series;return t=n.prototype.applyOptions.call(this,t,e),e=o.joinBy,o.mapData&&o.mapMap&&((o=void 0!==(e=n.prototype.getNestedProperty.call(t,e[1]))&&o.mapMap[e])?p(t,o):t.value=t.value||null),t},c.prototype.getProjectedBounds=function(t){t=c.getProjectedPath(this,t),t=a(t);var e,o=this.properties;if(t)return e=o&&o["hc-middle-x"],o=o&&o["hc-middle-y"],t.midX=t.x1+(t.x2-t.x1)*h(this.middleX,l(e)?e:.5),e=h(this.middleY,l(o)?o:.5),this.geometry||(e=1-e),t.midY=t.y2-(t.y2-t.y1)*e,t},c.prototype.onMouseOver=function(t){i.clearTimeout(this.colorInterval),!this.isNull||this.series.options.nullInteraction?n.prototype.onMouseOver.call(this,t):this.series.onMouseOut(t)},c.prototype.zoomTo=function(){var t=this.series.chart;t.mapView&&this.bounds&&(t.mapView.fitToBounds(this.bounds,void 0,!1),this.series.isDirty=!0,t.redraw())},p((e=c).prototype,{dataLabelOnNull:t.pointMembers.dataLabelOnNull,moveToTopOnHover:t.pointMembers.moveToTopOnHover,isValid:t.pointMembers.isValid}),e}),e(t,"Maps/MapViewOptionsDefault.js",[],function(){return{center:[0,0],maxZoom:void 0,padding:0,projection:{name:void 0,parallels:void 0,rotation:void 0},zoom:void 0}}),e(t,"Maps/MapViewInsetsOptionsDefault.js",[],function(){return{borderColor:"#cccccc",borderWidth:1,center:[0,0],padding:"10%",relativeTo:"mapBoundingBox",units:"percent"}}),e(t,"Extensions/GeoJSON.js",[t["Core/Chart/Chart.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],function(t,e,o,i){function s(t,e){if(e=e||Object.keys(t.objects)[0],(e=t.objects[e])["hc-decoded-geojson"])return e["hc-decoded-geojson"];function o(t){return"number"==typeof t[0]?t.reduce(function(t,e,o){var i=e<0?n[~e]:n[e];return e<0?(i=i.slice(0,0===o?i.length:i.length-1)).reverse():o&&(i=i.slice(1)),t.concat(i)},[]):t.map(o)}var i,r,n=t.arcs,s=(t.transform&&(s=t.transform,i=s.scale,r=s.translate,n=t.arcs.map(function(t){var e=0,o=0;return t.map(function(t){return(t=t.slice())[0]=(e+=t[0])*i[0]+r[0],t[1]=(o+=t[1])*i[1]+r[1],t})})),e.geometries.map(function(t){return{type:"Feature",properties:t.properties,geometry:{type:t.type,coordinates:t.coordinates||o(t.arcs)}}}));return t={type:"FeatureCollection",copyright:t.copyright,copyrightShort:t.copyrightShort,copyrightUrl:t.copyrightUrl,features:s,"hc-recommended-mapview":e["hc-recommended-mapview"],bbox:t.bbox,title:t.title},e["hc-decoded-geojson"]=t}function r(t,r,e){void 0===r&&(r="map");var n=[];return(t="Topology"===t.type?s(t):t).features.forEach(function(t){var e,o=(i=t.geometry||{}).type,i=i.coordinates;t=t.properties,("map"!==r&&"mapbubble"!==r||"Polygon"!==o&&"MultiPolygon"!==o)&&("mapline"!==r||"LineString"!==o&&"MultiLineString"!==o)?"mappoint"===r&&"Point"===o&&i.length&&(e={geometry:{coordinates:i,type:o}}):i.length&&(e={geometry:{coordinates:i,type:o}}),e&&(o=t&&(t.name||t.NAME),n.push(p(e,{name:"string"==typeof o?o:void 0,properties:t})))}),e&&t.copyrightShort&&(e.chart.mapCredits=a(e.chart.options.credits.mapText,{geojson:t}),e.chart.mapCreditsFull=a(e.chart.options.credits.mapTextFull,{geojson:t})),n}var a=e.format,u=o.win,d=i.error,p=i.extend,n=i.merge;return e=i.wrap,t.prototype.transformFromLatLon=function(t,e){var o,i,r,n,s,a,p,l,h,c=this.options.chart.proj4||u.proj4;if(c)return o=void 0===(o=e.jsonmarginX)?0:o,i=void 0===(i=e.jsonmarginY)?0:i,r=void 0===(r=e.jsonres)?1:r,n=void 0===(n=e.scale)?1:n,s=void 0===(s=e.xoffset)?0:s,a=void 0===(a=e.xpan)?0:a,p=void 0===(p=e.yoffset)?0:p,l=void 0===(l=e.ypan)?0:l,t=c(e.crs,[t.lon,t.lat]),c=e.cosAngle||e.rotation&&Math.cos(e.rotation),h=e.sinAngle||e.rotation&&Math.sin(e.rotation),{x:(((e=e.rotation?[t[0]*c+t[1]*h,-t[0]*h+t[1]*c]:t)[0]-s)*n+a)*r+o,y:-(((p-e[1])*n+l)*r-i)};d(21,!1,this)},t.prototype.transformToLatLon=function(t,e){var o,i,r,n,s,a,p,l,h=this.options.chart.proj4||u.proj4;if(h){if(null!==t.y)return o=e.jsonmarginX,i=e.jsonmarginY,r=void 0===(r=e.jsonres)?1:r,n=void 0===(n=e.scale)?1:n,s=e.xoffset,a=e.xpan,p=e.yoffset,l=e.ypan,t={x:((t.x-(void 0===o?0:o))/r-(void 0===a?0:a))/n+(void 0===s?0:s),y:((t.y-(void 0===i?0:i))/r+(void 0===l?0:l))/n+(void 0===p?0:p)},o=e.cosAngle||e.rotation&&Math.cos(e.rotation),i=e.sinAngle||e.rotation&&Math.sin(e.rotation),{lat:(e=h(e.crs,"WGS84",e.rotation?{x:t.x*o+t.y*-i,y:t.x*i+t.y*o}:t)).y,lon:e.x}}else d(21,!1,this)},t.prototype.fromPointToLatLon=function(t){return this.mapView&&this.mapView.projectedUnitsToLonLat(t)},t.prototype.fromLatLonToPoint=function(t){return this.mapView&&this.mapView.lonLatToProjectedUnits(t)},e(t.prototype,"addCredits",function(t,e){e=n(!0,this.options.credits,e),this.mapCredits&&(e.href=null),t.call(this,e),this.credits&&this.mapCreditsFull&&this.credits.attr({title:this.mapCreditsFull})}),{geojson:o.geojson=r,topo2geo:s}}),e(t,"Core/Geometry/PolygonClip.js",[],function(){function h(t,e,o){return(e[0]-t[0])*(o[1]-t[1])>(e[1]-t[1])*(o[0]-t[0])}function c(t,e,o,i){var r=[t[0]-e[0],t[1]-e[1]],n=[o[0]-i[0],o[1]-i[1]];return t=t[0]*e[1]-t[1]*e[0],o=o[0]*i[1]-o[1]*i[0],i=1/(r[0]*n[1]-r[1]*n[0]),(r=[(t*n[0]-o*r[0])*i,(t*n[1]-o*r[1])*i]).isIntersection=!0,r}var t,i;return(i=t=t||{}).clipLineString=function(t,e){var o=[];for(t=i.clipPolygon(t,e,!1),e=1;er.x2||er.y2)&&(o.outside=!0),o},t.prototype.inverse=function(t){var e=t[0]/63.78137,o=this.c,i=this.n,r=(t=o-t[1]/63.78137,s(i)*Math.sqrt(e*e+t*t)),n=Math.atan2(e,Math.abs(t))*s(t);return t*i<0&&(n-=Math.PI*s(e)*s(t)),[n/i/a,(2*Math.atan(Math.pow(o/r,1/i))-p)/a]},t;function t(t){var e=(o=(t.parallels||[]).map(function(t){return t*a}))[0]||0,o=null!=(i=o[1])?i:e,i=Math.cos(e);"object"==typeof t.projectedBounds&&(this.projectedBounds=t.projectedBounds),t=e===o?Math.sin(e):Math.log(i/Math.cos(o))/Math.log(Math.tan((p+o)/2)/Math.tan((p+e)/2)),Math.abs(t)<1e-10&&(t=1e-10*(s(t)||1)),this.n=t,this.c=i*Math.pow(Math.tan((p+e)/2),t)/t}}),e(t,"Maps/Projections/EqualEarth.js",[],function(){var p=Math.sqrt(3)/2;return t.prototype.forward=function(t){var e=Math.PI/180,o=Math.asin(p*Math.sin(t[1]*e)),i=o*o,r=i*i*i;return[t[0]*e*Math.cos(o)*74.03120656864502/(p*(1.340264+3*-.081106*i+r*(7*893e-6+.034164*i))),74.03120656864502*o*(1.340264+-.081106*i+r*(893e-6+.003796*i))]},t.prototype.inverse=function(t){for(var e=t[0]/74.03120656864502,o=(t=t[1]/74.03120656864502,180/Math.PI),i=t,r=0;r<12;++r){var n=i*i,s=n*n*n,a=i*(1.340264+-.081106*n+s*(893e-6+.003796*n))-t;if(i-=a/=n=1.340264+3*-.081106*n+s*(7*893e-6+.034164*n),Math.abs(a)<1e-9)break}return[o*p*e*(1.340264+3*-.081106*(n=i*i)+n*n*n*(7*893e-6+.034164*n))/Math.cos(i),o*Math.asin(Math.sin(i)/p)]},t;function t(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,y1:-97.52595454902263,y2:97.52595454902263}}}),e(t,"Maps/Projections/Miller.js",[],function(){var e=Math.PI/4,o=Math.PI/180;return t.prototype.forward=function(t){return[t[0]*o*63.78137,79.7267125*Math.log(Math.tan(e+.4*t[1]*o))]},t.prototype.inverse=function(t){return[t[0]/63.78137/o,2.5*(Math.atan(Math.exp(t[1]/63.78137*.8))-e)/o]},t;function t(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,y1:-146.91480769173063,y2:146.91480769173063}}}),e(t,"Maps/Projections/Orthographic.js",[],function(){var n=Math.PI/180;return t.prototype.forward=function(t){var e=t[0];return t=t[1]*n,t=[Math.cos(t)*Math.sin(e*n)*63.78460826781007,63.78460826781007*Math.sin(t)],(e<-90||90=o!=t[e]>=o)return i=i[r]+(o-i[e])/(t[e]-i[e])*(t[r]-i[r]),e?[i,o]:[o,i]}var o=this.bounds||{},i=o.x2,r=o.y1,n=o.y2,s=t[0];return((o=e(t,0,o.x1))||(o=e(t,0,i)))&&(s=o,t[1]=o),s=(o=e(t,1,r))||(o=e(t,1,n))?o:s},M.prototype.getRotator=function(t){var r=t[0]*b,e=(t[1]||0)*b,n=(t=(t[2]||0)*b,Math.cos(e)),s=Math.sin(e),a=Math.cos(t),p=Math.sin(t);if(0!=r||0!=e||0!==t)return{forward:function(t){var e=t[0]*b+r,o=t[1]*b,i=Math.cos(o);return t=Math.cos(e)*i,e=Math.sin(e)*i,i=(o=Math.sin(o))*n+t*s,[Math.atan2(e*a-i*p,t*n-o*s)/b,Math.asin(i*a+e*p)/b]},inverse:function(t){var e=t[0]*b,o=t[1]*b,i=Math.cos(o);return t=Math.cos(e)*i,e=Math.sin(e)*i,i=(o=Math.sin(o))*a-e*p,[(Math.atan2(e*a+o*p,t*n+i*s)-r)/b,Math.asin(i*n-t*s)/b]}}},M.prototype.forward=function(t){return t},M.prototype.inverse=function(t){return t},M.prototype.cutOnAntimeridian=function(n,s){var t,a=[],e=[n];if(n.forEach(function(t,e){var o=n[e-1];if(!e){if(!s)return;o=n[n.length-1]}var i=o[0],r=t[0];(i<-90||90=e.x1&&t.x<=e.x2&&t.y>=e.y1&&t.y<=e.y2&&o&&y(t,o))},A.prototype.render=function(){var t,r,n,s=this.chart,e=this.mapView,a=this.options,o=a.borderPath||a.field;o&&e.group&&(t=!0,this.border||(this.border=s.renderer.path().addClass("highcharts-mapview-inset-border").add(e.group),t=!1),s.styledMode||this.border.attr({stroke:a.borderColor,"stroke-width":a.borderWidth}),r=Math.round(this.border.strokeWidth())%2/2,n="mapBoundingBox"===a.relativeTo&&e.getMapBBox()||e.playingField,e=(o.coordinates||[]).reduce(function(t,e){return e.reduce(function(t,e,o){var i=e[0];return e=e[1],"percent"===a.units&&(i=s.plotLeft+P(i+"%",n.width,n.x),e=s.plotTop+P(e+"%",n.height,n.y)),i=Math.floor(i)+r,e=Math.floor(e)+r,t.push(0===o?["M",i,e]:["L",i,e]),t},t)},[]),this.border[t?"animate":"attr"]({d:e}))},A.prototype.destroy=function(){this.border&&(this.border=this.border.destroy()),this.eventsToUnbind.forEach(function(t){return t()})},A.prototype.setUpEvents=function(){},A);function A(t,e){var o=s.call(this,t.chart,e)||this;return o.id=e.id,o.mapView=t,o.options=C(i,e),o.allBounds=[],o.options.geoBounds&&(t=t.projection.path(o.options.geoBounds),o.geoBoundsProjectedBox=f(t),o.geoBoundsProjectedPolygon=t.map(function(t){return[t[1]||0,t[2]||0]})),o}function O(t,e){var o,i,r,n,s,a,p,l=this;this.insets=[],this.padding=[0,0,0,0],this.eventsToUnbind=[],this instanceof L||(i=d([t.options.chart.map],(t.options.series||[]).map(function(t){return t.mapData}),!0).map(function(t){return l.getGeoMap(t)}),r=[],i.forEach(function(t){t&&(o=o||t["hc-recommended-mapview"],t.bbox&&(t=t.bbox,r.push({x1:t[0],y1:t[1],x2:t[2],y2:t[3]})))}),(a=r.length&&O.compositeBounds(r))&&(p=a.x1,n=a.y1,s=a.x2,a=a.y2,p=180p.length&&"string"==typeof t[0]&&(d[e]["hc-key"]=t[0],++o);for(var i=0;i"},turboThreshold:0,allAreas:!0,borderColor:"#cccccc",borderWidth:1,joinBy:"hc-key",states:{hover:{halo:null,brightness:.2},normal:{animation:!0},select:{color:"#cccccc"},inactive:{opacity:1}}}),r((a=O).prototype,{type:"map",axisTypes:e.seriesMembers.axisTypes,colorAttribs:e.seriesMembers.colorAttribs,colorKey:e.seriesMembers.colorKey,directTouch:!0,drawDataLabels:t,drawGraph:t,drawLegendSymbol:i.drawRectangle,forceDL:!0,getCenter:o.getCenter,getExtremesFromAll:!0,getSymbol:t,isCartesian:!1,parallelArrays:e.seriesMembers.parallelArrays,pointArrayMap:e.seriesMembers.pointArrayMap,pointClass:y,preserveAspectRatio:!0,searchPoint:t,trackerGroups:e.seriesMembers.trackerGroups,useMapGeometry:!0}),e.compose(a),s.registerSeriesType("map",a),a}),e(t,"Series/MapLine/MapLineSeries.js",[t["Series/Map/MapSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(o,t,e){var i,r,n=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),s=t.series,a=e.extend,p=e.merge;function l(){var t=null!==r&&r.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n(l,r=o),l.prototype.pointAttribs=function(t,e){return(t=o.prototype.pointAttribs.call(this,t,e)).fill=this.options.fillColor,t},l.defaultOptions=p(o.defaultOptions,{lineWidth:1,fillColor:"none"}),a((e=l).prototype,{type:"mapline",colorProp:"stroke",drawLegendSymbol:s.prototype.drawLegendSymbol,pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"}}),t.registerSeriesType("mapline",e),e}),e(t,"Series/MapPoint/MapPointPoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){var i,o,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=e.isNumber;return o=t.seriesTypes.scatter.prototype.pointClass,r(s,o),s.prototype.isValid=function(){return!!(this.options.geometry||n(this.x)&&n(this.y)||n(this.options.lon)&&n(this.options.lat))},s;function s(){var t=null!==o&&o.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}}),e(t,"Series/MapPoint/MapPointSeries.js",[t["Core/Globals.js"],t["Series/MapPoint/MapPointPoint.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,o,i){var r,n,s=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),a=(t=t.noop,o.seriesTypes.scatter),p=i.extend,l=i.fireEvent,h=i.isNumber,c=i.merge;function u(){var t=null!==n&&n.apply(this,arguments)||this;return t.chart=void 0,t.data=void 0,t.options=void 0,t.points=void 0,t}return s(u,n=a),u.prototype.drawDataLabels=function(){n.prototype.drawDataLabels.call(this),this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)},u.prototype.projectPoint=function(t){var e=this.chart.mapView;if(e){var o=t.geometry,i=t.lon;if(t=t.lat,o=o&&"Point"===o.type&&o.coordinates,o=h(i)&&h(t)?[i,t]:o)return e.lonLatToProjectedUnits({lon:o[0],lat:o[1]})}},u.prototype.translate=function(){var r,n=this,s=this.chart.mapView;this.processedXData||this.processData(),this.generatePoints(),this.getProjectedBounds&&this.isDirtyData&&(delete this.bounds,this.getProjectedBounds()),s&&(r=s.projection.hasCoordinates,this.points.forEach(function(t){var e=void 0===(e=t.x)?void 0:e,o=void 0===(o=t.y)?void 0:o,i=n.projectPoint(t.options);i?(e=i.x,o=i.y):t.bounds&&(e=t.bounds.midX,o=t.bounds.midY),h(e)&&h(o)?(e=s.projectedUnitsToPixels({x:e,y:o}),t.plotX=e.x,t.plotY=r?e.y:n.chart.plotHeight-e.y):t.y=t.plotX=t.plotY=void 0,t.isInside=n.isPointInside(t),t.zone=n.zones.length?t.getZone():void 0})),l(this,"afterTranslate")},u.defaultOptions=c(a.defaultOptions,{dataLabels:{crop:!1,defer:!1,enabled:!0,formatter:function(){return this.point.name},overflow:!1,style:{color:"#000000"}}}),p((i=u).prototype,{type:"mappoint",axisTypes:["colorAxis"],forceDL:!0,isCartesian:!1,pointClass:e,searchPoint:t,useMapGeometry:!0}),o.registerSeriesType("mappoint",i),i}),e(t,"Series/Bubble/BubbleLegendDefaults.js",[],function(){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"10px",color:"#000000"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}}),e(t,"Series/Bubble/BubbleLegendItem.js",[t["Core/Color/Color.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],function(t,r,e,o){var c=t.parse,i=e.noop,s=o.arrayMax,a=o.arrayMin,p=o.isNumber,u=o.merge,d=o.pick,l=o.stableSort;function n(t,e){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legendSymbol=this.legendItemWidth=this.legendItemHeight=this.legendItem=this.legendGroup=this.legend=this.fontMetrics=this.chart=void 0,this.setState=i,this.init(t,e)}return n.prototype.init=function(t,e){this.options=t,this.visible=!0,this.chart=e.chart,this.legend=e},n.prototype.addToLegend=function(t){t.splice(this.options.legendIndex,0,this)},n.prototype.drawLegendSymbol=function(t){var e=this.chart,o=this.options,i=d(t.options.itemDistance,20),r=o.ranges,n=o.connectorDistance;this.fontMetrics=e.renderer.fontMetrics(o.labels.style.fontSize),r&&r.length&&p(r[0].value)?(l(r,function(t,e){return e.value-t.value}),this.ranges=r,this.setOptions(),this.render(),t=this.getMaxLabelSize(),e=2*(r=this.ranges[0].radius),n=0<(n=n-r+t.width)?n:0,this.maxLabel=t,this.movementX="left"===o.labels.align?n:0,this.legendItemWidth=e+n+i,this.legendItemHeight=e+this.fontMetrics.h/2):t.options.bubbleLegend.autoRanges=!0},n.prototype.setOptions=function(){var o=this.ranges,i=this.options,r=this.chart.series[i.seriesIndex],n=this.legend.baseline,s={zIndex:i.zIndex,"stroke-width":i.borderWidth},a={zIndex:i.zIndex,"stroke-width":i.connectorWidth},p={align:this.legend.options.rtl||"left"===i.labels.align?"right":"left",zIndex:i.zIndex},l=r.options.marker.fillOpacity,h=this.chart.styledMode;o.forEach(function(t,e){h||(s.stroke=d(t.borderColor,i.borderColor,r.color),s.fill=d(t.color,i.color,1!==l?c(r.color).setOpacity(l).get("rgba"):r.color),a.stroke=d(t.connectorColor,i.connectorColor,r.color)),o[e].radius=this.getRangeRadius(t.value),o[e]=u(o[e],{center:o[0].radius-o[e].radius+n}),h||u(!0,o[e],{bubbleAttribs:u(s),connectorAttribs:u(a),labelAttribs:p})},this)},n.prototype.getRangeRadius=function(t){var e=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,e.ranges[e.ranges.length-1].value,e.ranges[0].value,e.minSize,e.maxSize,t)},n.prototype.render=function(){var t=this.chart.renderer,e=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),this.legendSymbol=t.g("bubble-legend"),this.legendItem=t.g("bubble-legend-item"),this.legendSymbol.translateX=0,this.legendSymbol.translateY=0,this.ranges.forEach(function(t){t.value>=e&&this.renderRange(t)},this),this.legendSymbol.add(this.legendItem),this.legendItem.add(this.legendGroup),this.hideOverlappingLabels()},n.prototype.renderRange=function(t){var e=this.options,o=e.labels,i=(s=this.chart).series[e.seriesIndex],r=s.renderer,n=this.symbols,s=n.labels,a=t.center,p=Math.abs(t.radius),l=e.connectorDistance||0,h=o.align,c=e.connectorWidth,u=this.ranges[0].radius||0,d=a-p-e.borderWidth/2+c/2,f=(f=this.fontMetrics).f/2-(f.h-f.f)/2,y=r.styledMode,l=this.legend.options.rtl||"left"===h?-l:l,h=("center"===h&&(e.connectorDistance=l=0,t.labelAttribs.align="center"),d+e.labels.y),m=u+l+e.labels.x;n.bubbleItems.push(r.circle(u,a+((d%1?1:.5)-(c%2?0:.5)),p).attr(y?{}:t.bubbleAttribs).addClass((y?"highcharts-color-"+i.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(e.className||"")).add(this.legendSymbol)),n.connectors.push(r.path(r.crispLine([["M",u,d],["L",u+l,d]],e.connectorWidth)).attr(y?{}:t.connectorAttribs).addClass((y?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(e.connectorClassName||"")).add(this.legendSymbol)),t=r.text(this.formatLabel(t),m,h+f).attr(y?{}:t.labelAttribs).css(y?{}:o.style).addClass("highcharts-bubble-legend-labels "+(e.labels.className||"")).add(this.legendSymbol),s.push(t),t.placed=!0,t.alignAttr={x:m,y:h+f}},n.prototype.getMaxLabelSize=function(){var e,o;return this.symbols.labels.forEach(function(t){o=t.getBBox(!0),e=!e||o.width>e.width?o:e}),e||{}},n.prototype.formatLabel=function(t){var e=(o=this.options).labels.formatter,o=o.labels.format,i=this.chart.numberFormatter;return o?r.format(o,t):e?e.call(t):i(t.value,1)},n.prototype.hideOverlappingLabels=function(){var t=this.chart,o=this.symbols;!this.options.labels.allowOverlap&&o&&(t.hideOverlappingLabels(o.labels),o.labels.forEach(function(t,e){t.newOpacity?t.newOpacity!==t.oldOpacity&&o.connectors[e].show():o.connectors[e].hide()}))},n.prototype.getRanges=function(){var e,t=this.legend.bubbleLegend,o=t.options.ranges,i=Number.MAX_VALUE,r=-Number.MAX_VALUE,n=(t.chart.series.forEach(function(t){t.isBubble&&!t.ignoreSeries&&((e=t.zData.filter(p)).length&&(i=d(t.options.zMin,Math.min(i,Math.max(a(e),!1===t.options.displayNegative?t.options.zThreshold:-Number.MAX_VALUE))),r=d(t.options.zMax,Math.max(r,s(e)))))}),i===r?[{value:r}]:[{value:i},{value:(i+r)/2},{value:r,autoRanges:!0}]);return o.length&&o[0].radius&&n.reverse(),n.forEach(function(t,e){o&&o[e]&&(n[e]=u(o[e],t))}),n},n.prototype.predictBubbleSizes=function(){var t=this.chart,e=this.fontMetrics,o=t.legend.options,i=o.floating,r=(o="horizontal"===o.layout)?t.legend.lastLineHeight:0,n=t.plotSizeX,s=t.plotSizeY,a=(l=t.series[this.options.seriesIndex]).getPxExtremes(),t=Math.ceil(a.minPxSize),a=Math.ceil(a.maxPxSize),p=Math.min(s,n),l=l.options.maxSize;return i||!/%$/.test(l)?e=a:(l=parseFloat(l),e=(p+r-e.h/2)*l/100/(l/100+1),(o&&n<=s-e||!o&&s<=n-e)&&(e=a)),[t,Math.ceil(e)]},n.prototype.updateRanges=function(t,e){var o=this.legend.options.bubbleLegend;o.minSize=t,o.maxSize=e,o.ranges=this.getRanges()},n.prototype.correctSizes=function(){var t=this.legend,e=this.chart.series[this.options.seriesIndex].getPxExtremes();1n.height&&(n.height=t[i].itemHeight);n.step=r}return e}function p(t){var e=this.bubbleLegend,o=this.options,i=o.bubbleLegend,r=s(this.chart);e&&e.ranges&&e.ranges.length&&(i.ranges.length&&(i.autoRanges=!!i.ranges[0].autoRanges),this.destroyItem(e)),0<=r&&o.enabled&&i.enabled&&(i.seriesIndex=r,this.bubbleLegend=new n(i,this),this.bubbleLegend.addToLegend(t.allItems))}function l(){var t=this.chart,e=this.visible,o=this.chart.legend;o&&o.bubbleLegend&&(this.visible=!e,this.ignoreSeries=e,t=0<=s(t),o.bubbleLegend.visible!==t&&(o.update({bubbleLegend:{enabled:t}}),o.bubbleLegend.visible=t),this.visible=e)}function h(t,o){var i,r,n,s=t.options.rtl,a=0;t.allItems.forEach(function(t,e){i=t.legendGroup.translateX,r=t._legendItemPos[1],((n=t.movementX)||s&&t.ranges)&&(n=s?i-t.options.maxSize/2:i+n,t.legendGroup.attr({translateX:n})),e>o[a].step&&a++,t.legendGroup.attr({translateY:Math.round(r+o[a].height/2)}),t._legendItemPos[1]=r+o[a].height/2})}var c=t.setOptions,u=e.addEvent,d=e.objectEach,f=e.wrap,y=[];return{compose:function(t,e,o){-1===y.indexOf(t)&&(y.push(t),c({legend:{bubbleLegend:i}}),f(t.prototype,"drawChartBox",r)),-1===y.indexOf(e)&&(y.push(e),u(e,"afterGetAllItems",p)),-1===y.indexOf(o)&&(y.push(o),u(o,"legendItemClick",l))}}}),e(t,"Series/Bubble/BubblePoint.js",[t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(e,t,o){var i,r,n=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});function s(){var t=null!==r&&r.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return o=o.extend,r=t.seriesTypes.scatter.prototype.pointClass,n(s,r),s.prototype.haloPath=function(t){return e.prototype.haloPath.call(this,0===t?0:(this.marker&&this.marker.radius||0)+t)},o((t=s).prototype,{ttBelow:!1}),t}),e(t,"Series/Bubble/BubbleSeries.js",[t["Series/Bubble/BubbleLegendComposition.js"],t["Series/Bubble/BubblePoint.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(r,t,e,o,i,n){function s(){var r,n=this,t=this.len,s=this.chart,a=this.isXAxis,p=a?"xData":"yData",l=this.min,h=this.max-l,c=0,u=t,d=t/h;this.series.forEach(function(t){if(t.bubblePadding&&(t.visible||!s.options.chart.ignoreHiddenSeries)){r=n.allowZoomOutside=!0;var e,o=t[p];if(a&&((t.onPoint||t).getRadii(0,0,t),t.onPoint&&(t.radii=t.onPoint.radii)),0"},states:{hover:{halo:!1,brightness:.2}}}),f((r=v).prototype,{axisTypes:t.seriesMembers.axisTypes,colorKey:t.seriesMembers.colorKey,directTouch:!0,getExtremesFromAll:!0,parallelArrays:t.seriesMembers.parallelArrays,pointArrayMap:["y","value"],pointClass:e,trackerGroups:t.seriesMembers.trackerGroups,alignDataLabel:u.prototype.alignDataLabel,colorAttribs:t.seriesMembers.colorAttribs,drawLegendSymbol:o.drawRectangle,getSymbol:h.prototype.getSymbol}),t.compose(r),i.registerSeriesType("heatmap",r),r}),e(t,"masters/modules/map.src.js",[t["Core/Globals.js"],t["Core/Axis/Color/ColorAxis.js"],t["Series/MapBubble/MapBubbleSeries.js"],t["Core/Chart/MapChart.js"],t["Maps/MapView.js"],t["Maps/Projection.js"]],function(t,e,o,i,r,n){t.ColorAxis=e,t.MapChart=i,t.mapChart=t.Map=i.mapChart,t.MapView=r,t.maps=i.maps,t.Projection=n,e.compose(t.Chart,t.Fx,t.Legend,t.Series),o.compose(t.Axis,t.Chart,t.Legend,t.Series)})}); \ No newline at end of file +!function(e){"object"==typeof module&&module.exports?module.exports=e.default=e:"function"==typeof define&&define.amd?define("highcharts/modules/map",["highcharts"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,o,i){t.hasOwnProperty(e)||(t[e]=i.apply(null,o),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Core/Axis/Color/ColorAxisComposition.js",[t["Core/Color/Color.js"],t["Core/Utilities.js"]],function(t,e){var o,s,a,i=t.parse,l=e.addEvent,p=e.extend,h=e.merge,c=e.pick,r=e.splat;function u(){var o=this,t=this.options;this.colorAxis=[],t.colorAxis&&(t.colorAxis=r(t.colorAxis),t.colorAxis.forEach(function(t,e){t.index=e,new s(o,t)}))}function d(e){function o(t){-1!==(t=e.allItems.indexOf(t))&&(r.destroyItem(e.allItems[t]),e.allItems.splice(t,1))}var i,t,r=this,n=[];for((this.chart.colorAxis||[]).forEach(function(t){(i=t.options)&&i.showInLegend&&(i.dataClasses&&i.visible?n=n.concat(t.getDataClassLegendSymbols()):i.visible&&n.push(t),t.series.forEach(function(t){t.options.showInLegend&&!i.dataClasses||("point"===t.options.legendType?t.points.forEach(function(t){o(t)}):o(t))}))}),t=n.length;t--;)e.allItems.unshift(n[t])}function f(t){t.visible&&t.item.legendColor&&t.item.legendItem.symbol.attr({fill:t.item.legendColor})}function y(){var t=this.chart.colorAxis;t&&t.forEach(function(t,e,o){t.update({},o)})}function m(){(this.chart.colorAxis&&this.chart.colorAxis.length||this.colorAttribs)&&this.translateColors()}function g(){var t=this.axisTypes;t?-1===t.indexOf("colorAxis")&&t.push("colorAxis"):this.axisTypes=["colorAxis"]}function b(t){var e=this,o=t?"show":"hide";e.visible=e.options.visible=!!t,["graphic","dataLabel"].forEach(function(t){e[t]&&e[t][o]()}),this.series.buildKDTree()}function v(){var o=this,i=this.options.nullColor,r=this.colorAxis,n=this.colorKey;(this.data.length?this.data:this.points).forEach(function(t){var e=t.getNestedProperty(n);(e=t.options.color||(t.isNull||null===t.value?i:r&&void 0!==e?r.toColor(e,t):t.color||o.color))&&t.color!==e&&(t.color=e,"point"===o.options.legendType&&t.legendItem&&t.legendItem.label&&o.chart.legend.colorizeItem(t,t.visible))})}function x(){this.elem.attr("fill",i(this.start).tweenTo(i(this.end),this.pos),void 0,!0)}function M(){this.elem.attr("stroke",i(this.start).tweenTo(i(this.end),this.pos),void 0,!0)}return t=o=o||{},a=[],t.compose=function(t,e,o,i,r){var n;s=s||t,-1===a.indexOf(e)&&(a.push(e),(t=e.prototype).collectionsWithUpdate.push("colorAxis"),t.collectionsWithInit.colorAxis=[t.addColorAxis],l(e,"afterGetAxes",u),n=(t=e).prototype.createAxis,t.prototype.createAxis=function(t,e){if("colorAxis"!==t)return n.apply(this,arguments);var o=new s(this,h(e.axis,{index:this[t].length,isX:!1}));return this.isDirtyLegend=!0,this.axes.forEach(function(t){t.series=[]}),this.series.forEach(function(t){t.bindAxes(),t.isDirtyData=!0}),c(e.redraw,!0)&&this.redraw(e.animation),o}),-1===a.indexOf(o)&&(a.push(o),(e=o.prototype).fillSetter=x,e.strokeSetter=M),-1===a.indexOf(i)&&(a.push(i),l(i,"afterGetAllItems",d),l(i,"afterColorizeItem",f),l(i,"afterUpdate",y)),-1===a.indexOf(r)&&(a.push(r),p(r.prototype,{optionalAxis:"colorAxis",translateColors:v}),p(r.prototype.pointClass.prototype,{setVisible:b}),l(r,"afterTranslate",m,{order:1}),l(r,"bindAxes",g))},t.pointSetVisible=b,o}),e(t,"Core/Axis/Color/ColorAxisDefaults.js",[],function(){return{lineWidth:0,minPadding:0,maxPadding:0,gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50},width:.01,color:"#999999"},labels:{overflow:"justify",rotation:0},minColor:"#e6ebf5",maxColor:"#003399",tickLength:5,showInLegend:!0}}),e(t,"Core/Axis/Color/ColorAxis.js",[t["Core/Axis/Axis.js"],t["Core/Color/Color.js"],t["Core/Axis/Color/ColorAxisComposition.js"],t["Core/Axis/Color/ColorAxisDefaults.js"],t["Core/Globals.js"],t["Core/Legend/LegendSymbol.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,r,o,i,d,n,s){var a,l,p=this&&this.__extends||(a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),h=e.parse,c=n.series,f=s.extend,u=s.isNumber,y=s.merge,m=s.pick;function g(t,e){var o=l.call(this,t,e)||this;return o.beforePadding=!1,o.chart=void 0,o.coll="colorAxis",o.dataClasses=void 0,o.name="",o.options=void 0,o.stops=void 0,o.visible=!0,o.init(t,e),o}return p(g,l=t),g.compose=function(t,e,o,i){r.compose(g,t,e,o,i)},g.prototype.init=function(t,e){var o=t.options.legend||{},i=e.layout?"vertical"!==e.layout:"vertical"!==o.layout,r=e.visible,o=y(g.defaultColorAxisOptions,e,{showEmpty:!1,title:null,visible:o.enabled&&!1!==r});this.coll="colorAxis",this.side=e.side||i?2:1,this.reversed=e.reversed||!i,this.opposite=!i,l.prototype.init.call(this,t,o),this.userOptions.visible=r,e.dataClasses&&this.initDataClasses(e),this.initStops(),this.horiz=i,this.zoomEnabled=!1},g.prototype.initDataClasses=function(t){var o,i=this.chart,e=this.legendItem=this.legendItem||{},r=t.dataClasses.length,n=this.options,s=0,a=i.options.chart.colorCount;this.dataClasses=o=[],e.labels=[],(t.dataClasses||[]).forEach(function(t,e){t=y(t),o.push(t),!i.styledMode&&t.color||("category"===n.dataClassColor?(i.styledMode||(e=i.options.colors,a=e.length,t.color=e[s]),t.colorIndex=s,++s===a&&(s=0)):t.color=h(n.minColor).tweenTo(h(n.maxColor),r<2?.5:e/(r-1)))})},g.prototype.hasData=function(){return!!(this.tickPositions||[]).length},g.prototype.setTickPositions=function(){if(!this.dataClasses)return l.prototype.setTickPositions.call(this)},g.prototype.initStops=function(){this.stops=this.options.stops||[[0,this.options.minColor],[1,this.options.maxColor]],this.stops.forEach(function(t){t.color=h(t[1])})},g.prototype.setOptions=function(t){l.prototype.setOptions.call(this,t),this.options.crosshair=this.options.marker},g.prototype.setAxisSize=function(){var t,e,o=this.legendItem&&this.legendItem.symbol,i=this.chart,r=i.options.legend||{};o?(this.left=r=o.attr("x"),this.top=t=o.attr("y"),this.width=e=o.attr("width"),this.height=o=o.attr("height"),this.right=i.chartWidth-r-e,this.bottom=i.chartHeight-t-o,this.len=this.horiz?e:o,this.pos=this.horiz?r:t):this.len=(this.horiz?r.symbolWidth:r.symbolHeight)||g.defaultLegendLength},g.prototype.normalizedValue=function(t){return this.logarithmic&&(t=this.logarithmic.log2lin(t)),1-(this.max-t)/(this.max-this.min||1)},g.prototype.toColor=function(t,e){var o,i=this.dataClasses,r=this.stops;if(i)for(o=i.length;o--;){var n=i[o],s=n.from,r=n.to;if((void 0===s||s<=t)&&(void 0===r||t<=r)){var a=n.color;e&&(e.dataClass=o,e.colorIndex=n.colorIndex);break}}else{for(t=this.normalizedValue(t),o=r.length;o--&&!(t>r[o][0]););s=r[o]||r[o+1],t=1-((r=r[o+1]||s)[0]-t)/(r[0]-s[0]||1),a=s.color.tweenTo(r.color,t)}return a},g.prototype.getOffset=function(){var e,t=this.legendItem&&this.legendItem.group,o=this.chart.axisOffset[this.side];t&&(this.axisParent=t,l.prototype.getOffset.call(this),(e=this.chart.legend).allItems.forEach(function(t){t instanceof g&&t.drawLegendSymbol(e,t)}),e.render(),this.chart.getMargins(!0),this.added||(this.added=!0,this.labelLeft=0,this.labelRight=this.width),this.chart.axisOffset[this.side]=o)},g.prototype.setLegendColor=function(){var t=(e=this.reversed)?1:0,e=e?0:1,t=this.horiz?[t,0,e,0]:[0,e,0,t];this.legendColor={linearGradient:{x1:t[0],y1:t[1],x2:t[2],y2:t[3]},stops:this.stops}},g.prototype.drawLegendSymbol=function(t,e){e=e.legendItem||{};var o=t.padding,i=t.options,r=m(i.itemDistance,10),n=this.horiz,s=m(i.symbolWidth,n?g.defaultLegendLength:12),a=m(i.symbolHeight,n?12:g.defaultLegendLength),i=m(i.labelPadding,n?16:30);this.setLegendColor(),e.symbol||(e.symbol=this.chart.renderer.rect(0,t.baseline-11,s,a).attr({zIndex:1}).add(e.group)),e.labelWidth=s+o+(n?r:this.options.labels.x+this.maxLabelLength),e.labelHeight=a+o+(n?i:0)},g.prototype.setState=function(e){this.series.forEach(function(t){t.setState(e)})},g.prototype.setVisible=function(){},g.prototype.getSeriesExtremes=function(){var t,e=this.series,o=e.length;for(this.dataMin=1/0,this.dataMax=-1/0;o--;){var i=e[o],r=i.colorKey=m(i.options.colorKey,i.colorKey,i.pointValKey,i.zoneAxis,"y"),n=i.pointArrayMap,s=i[r+"Min"]&&i[r+"Max"];if(i[r+"Data"])var a=i[r+"Data"];else if(n){var a=[],n=n.indexOf(r),l=i.yData;if(0<=n&&l)for(t=0;t "),void 0!==e&&(a+=r(e,c)+u),void 0!==e&&void 0!==o&&(a+=" - "),void 0!==o&&(a+=r(o,c)+u),h.push(f({chart:p,name:a,options:{},drawLegendSymbol:d.drawRectangle,visible:!0,isDataClass:!0,setState:function(t){for(var e=0,o=s(i);e=o.x+o.width||t.x+t.width<=o.x||t.y>=o.y+o.height||t.y+t.height<=o.y||(e=-t.y-t.height+o.y-5,o=o.y+o.height-t.y+5,s.navButtonsGroup.attr({translateY:"bottom"===(l.buttonOptions&&l.buttonOptions.verticalAlign)?e:o}))},a.hasLoaded||c(a,"render",t)),this.updateEvents(l)},i.prototype.updateEvents=function(t){var e=this.chart;y(t.enableDoubleClickZoom,t.enabled)||t.enableDoubleClickZoomTo?this.unbindDblClick=this.unbindDblClick||c(e.container,"dblclick",function(t){e.pointer.onContainerDblClick(t)}):this.unbindDblClick&&(this.unbindDblClick=this.unbindDblClick()),y(t.enableMouseWheelZoom,t.enabled)?this.unbindMouseWheel=this.unbindMouseWheel||c(e.container,void 0!==r.onwheel?"wheel":void 0!==r.onmousewheel?"mousewheel":"DOMMouseScroll",function(t){return e.pointer.inClass(t.target,"highcharts-no-mousewheel")||(e.pointer.onContainerMouseWheel(t),h(t)),!1}):this.unbindMouseWheel&&(this.unbindMouseWheel=this.unbindMouseWheel())},u(t.prototype,{fitToBox:function(o,i){return[["x","width"],["y","height"]].forEach(function(t){var e=t[0];t=t[1],o[e]+o[t]>i[e]+i[t]&&(o[t]>i[t]?(o[t]=i[t],o[e]=i[e]):o[e]=i[e]+i[t]-o[t]),o[t]>i[t]&&(o[t]=i[t]),o[e]i.scaleY,this.pinchTranslateDirection(!t,e,o,i,r,n,s,t?i.scaleX:i.scaleY))})}),e(t,"Series/ColorMapComposition.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){var o,i,t=t.seriesTypes.column.prototype,r=e.addEvent,n=e.defined;function s(t){this.moveToTopOnHover&&this.graphic&&this.graphic.attr({zIndex:t&&"hover"===t.state?1:0})}return e=o=o||{},i=[],e.pointMembers={dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return null!==this.value&&1/0!==this.value&&-1/0!==this.value&&(void 0===this.value||!isNaN(this.value))}},e.seriesMembers={colorKey:"value",axisTypes:["xAxis","yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"],colorAttribs:function(t){var e={};return!n(t.color)||t.state&&"normal"!==t.state||(e[this.colorProp||"fill"]=t.color),e},pointAttribs:t.pointAttribs},e.compose=function(t){var e=t.prototype.pointClass;return-1===i.indexOf(e)&&(i.push(e),r(e,"afterSetState",s)),t},o}),e(t,"Maps/MapSymbols.js",[t["Core/Renderer/SVG/SVGRenderer.js"]],function(t){function n(t,e,o,i,r,n,s,a){return[["M",t+r,e],["L",t+o-n,e],["C",t+o-n/2,e,t+o,e+n/2,t+o,e+n],["L",t+o,e+i-s],["C",t+o,e+i-s/2,t+o-s/2,e+i,t+o-s,e+i],["L",t+a,e+i],["C",t+a/2,e+i,t,e+i-a/2,t,e+i-a],["L",t,e+r],["C",t,e+r/2,t+r/2,e,t+r,e],["Z"]]}return(t=t.prototype.symbols).bottombutton=function(t,e,o,i,r){return n(t-1,e-1,o,i,0,0,r=r&&r.r||0,r)},t.topbutton=function(t,e,o,i,r){return n(t-1,e-1,o,i,r=r&&r.r||0,r,0,0)},t}),e(t,"Core/Chart/MapChart.js",[t["Core/Chart/Chart.js"],t["Core/Defaults.js"],t["Core/Renderer/SVG/SVGRenderer.js"],t["Core/Utilities.js"]],function(t,e,o,i){var r,n,s,a=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),l=e.getOptions,p=i.merge,h=i.pick;function c(){return null!==n&&n.apply(this,arguments)||this}return a(c,n=t),c.prototype.init=function(t,e){var o=l().credits;t=p({chart:{panning:{enabled:!0,type:"xy"},type:"map"},credits:{mapText:h(o.mapText,' © {geojson.copyrightShort}'),mapTextFull:h(o.mapTextFull,"{geojson.copyright}")},mapView:{},tooltip:{followTouchMove:!1}},t),n.prototype.init.call(this,t,e)},(s=t=(t=c)||{}).maps={},s.mapChart=function(t,e,o){return new s(t,e,o)},s.splitPath=function(t){return"string"==typeof t&&(t=(t=t.replace(/([A-Za-z])/g," $1 ").replace(/^\s*/,"").replace(/\s*$/,"")).split(/[ ,;]+/).map(function(t){return/[A-za-z]/.test(t)?t:parseFloat(t)})),o.prototype.pathToSegments(t)},t}),e(t,"Maps/MapUtilities.js",[],function(){return{boundsFromPath:function(t){var o,i=-Number.MAX_VALUE,r=Number.MAX_VALUE,n=-Number.MAX_VALUE,s=Number.MAX_VALUE;if(t.forEach(function(t){var e=t[t.length-2];t=t[t.length-1],"number"==typeof e&&"number"==typeof t&&(r=Math.min(r,e),i=Math.max(i,e),s=Math.min(s,t),n=Math.max(n,t),o=!0)}),o)return{x1:r,y1:s,x2:i,y2:n}},pointInPolygon:function(t,e){var o,i=!1,r=t.x,n=t.y;for(t=0,o=e.length-1;tn!=e[o][1]>n&&r<(e[o][0]-e[t][0])*(n-e[t][1])/(e[o][1]-e[t][1])+e[t][0]&&(i=!i);return i}}}),e(t,"Series/Map/MapPoint.js",[t["Series/ColorMapComposition.js"],t["Maps/MapUtilities.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e,o,i){var r,n,s=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),a=e.boundsFromPath,l=i.extend,p=i.isNumber,h=i.pick;function c(){var t=null!==n&&n.apply(this,arguments)||this;return t.options=void 0,t.path=void 0,t.series=void 0,t}return n=o.seriesTypes.scatter.prototype.pointClass,s(c,n),c.getProjectedPath=function(t,e){return t.projectedPath||(e&&t.geometry?(e.hasCoordinates=!0,t.projectedPath=e.path(t.geometry)):t.projectedPath=t.path),t.projectedPath||[]},c.prototype.applyOptions=function(t,e){var o=this.series;return t=n.prototype.applyOptions.call(this,t,e),e=o.joinBy,o.mapData&&o.mapMap&&((e=void 0!==(e=n.prototype.getNestedProperty.call(t,e[1]))&&o.mapMap[e])?l(t,e):-1!==o.pointArrayMap.indexOf("value")&&(t.value=t.value||null)),t},c.prototype.getProjectedBounds=function(t){t=c.getProjectedPath(this,t),t=a(t);var e,o=this.properties;if(t)return e=o&&o["hc-middle-x"],o=o&&o["hc-middle-y"],t.midX=t.x1+(t.x2-t.x1)*h(this.middleX,p(e)?e:.5),e=h(this.middleY,p(o)?o:.5),this.geometry||(e=1-e),t.midY=t.y2-(t.y2-t.y1)*e,t},c.prototype.onMouseOver=function(t){i.clearTimeout(this.colorInterval),!this.isNull&&this.visible||this.series.options.nullInteraction?n.prototype.onMouseOver.call(this,t):this.series.onMouseOut(t)},c.prototype.setVisible=function(t){var e=t?"show":"hide";this.visible=this.options.visible=!!t,this.dataLabel&&this.dataLabel[e](),this.graphic&&this.graphic.attr(this.series.pointAttribs(this))},c.prototype.zoomTo=function(){var t,e,o=this.series.chart,i=o.mapView,r=this.bounds;i&&r&&((t=p(this.insetIndex)&&i.insets[this.insetIndex])&&(e=t.projectedUnitsToPixels({x:r.x1,y:r.y1}),r=t.projectedUnitsToPixels({x:r.x2,y:r.y2}),e=i.pixelsToProjectedUnits({x:e.x,y:e.y}),r=i.pixelsToProjectedUnits({x:r.x,y:r.y}),r={x1:e.x,y1:e.y,x2:r.x,y2:r.y}),i.fitToBounds(r,void 0,!1),this.series.isDirty=!0,o.redraw())},l((e=c).prototype,{dataLabelOnNull:t.pointMembers.dataLabelOnNull,moveToTopOnHover:t.pointMembers.moveToTopOnHover,isValid:t.pointMembers.isValid}),e}),e(t,"Maps/MapViewOptionsDefault.js",[],function(){return{center:[0,0],fitToGeometry:void 0,maxZoom:void 0,padding:0,projection:{name:void 0,parallels:void 0,rotation:void 0},zoom:void 0}}),e(t,"Maps/MapViewInsetsOptionsDefault.js",[],function(){return{borderColor:"#cccccc",borderWidth:1,center:[0,0],padding:"10%",relativeTo:"mapBoundingBox",units:"percent"}}),e(t,"Extensions/GeoJSON.js",[t["Core/Chart/Chart.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],function(t,e,o,i){function r(t,e){if(e=e||Object.keys(t.objects)[0],(e=t.objects[e])["hc-decoded-geojson"])return e["hc-decoded-geojson"];function o(t){return"number"==typeof t[0]?t.reduce(function(t,e,o){var i=e<0?n[~e]:n[e];return e<0?(i=i.slice(0,0===o?i.length:i.length-1)).reverse():o&&(i=i.slice(1)),t.concat(i)},[]):t.map(o)}var i,r,n=t.arcs,s=(t.transform&&(s=t.transform,i=s.scale,r=s.translate,n=t.arcs.map(function(t){var e=0,o=0;return t.map(function(t){return(t=t.slice())[0]=(e+=t[0])*i[0]+r[0],t[1]=(o+=t[1])*i[1]+r[1],t})})),e.geometries.map(function(t){return{type:"Feature",properties:t.properties,geometry:{type:t.type,coordinates:t.coordinates||o(t.arcs)}}}));return t={type:"FeatureCollection",copyright:t.copyright,copyrightShort:t.copyrightShort,copyrightUrl:t.copyrightUrl,features:s,"hc-recommended-mapview":e["hc-recommended-mapview"],bbox:t.bbox,title:t.title},e["hc-decoded-geojson"]=t}function n(t,n,e){void 0===n&&(n="map");var s=[];return(t="Topology"===t.type?r(t):t).features.forEach(function(t){var e,o,i=t.geometry||{},r=i.type;i=i.coordinates,t=t.properties,("map"!==n&&"mapbubble"!==n||"Polygon"!==r&&"MultiPolygon"!==r)&&("mapline"!==n||"LineString"!==r&&"MultiLineString"!==r)?"mappoint"===n&&"Point"===r&&i.length&&(e={geometry:{coordinates:i,type:r}}):i.length&&(e={geometry:{coordinates:i,type:r}}),e&&(r=t&&(t.name||t.NAME),i=t&&t.lon,o=t&&t.lat,s.push(l(e,{lat:"number"==typeof o?o:void 0,lon:"number"==typeof i?i:void 0,name:"string"==typeof r?r:void 0,properties:t})))}),e&&t.copyrightShort&&(e.chart.mapCredits=a(e.chart.options.credits.mapText,{geojson:t}),e.chart.mapCreditsFull=a(e.chart.options.credits.mapTextFull,{geojson:t})),s}var a=e.format,u=o.win,d=i.error,l=i.extend,s=i.merge;return e=i.wrap,t.prototype.transformFromLatLon=function(t,e){var o,i,r,n,s,a,l,p,h,c=this.options.chart.proj4||u.proj4;if(c)return o=void 0===(o=e.jsonmarginX)?0:o,i=void 0===(i=e.jsonmarginY)?0:i,r=void 0===(r=e.jsonres)?1:r,n=void 0===(n=e.scale)?1:n,s=void 0===(s=e.xoffset)?0:s,a=void 0===(a=e.xpan)?0:a,l=void 0===(l=e.yoffset)?0:l,p=void 0===(p=e.ypan)?0:p,t=c(e.crs,[t.lon,t.lat]),c=e.cosAngle||e.rotation&&Math.cos(e.rotation),h=e.sinAngle||e.rotation&&Math.sin(e.rotation),{x:(((e=e.rotation?[t[0]*c+t[1]*h,-t[0]*h+t[1]*c]:t)[0]-s)*n+a)*r+o,y:-(((l-e[1])*n+p)*r-i)};d(21,!1,this)},t.prototype.transformToLatLon=function(t,e){var o,i,r,n,s,a,l,p,h=this.options.chart.proj4||u.proj4;if(h){if(null!==t.y)return o=e.jsonmarginX,i=e.jsonmarginY,r=void 0===(r=e.jsonres)?1:r,n=void 0===(n=e.scale)?1:n,s=e.xoffset,a=e.xpan,l=e.yoffset,p=e.ypan,t={x:((t.x-(void 0===o?0:o))/r-(void 0===a?0:a))/n+(void 0===s?0:s),y:((t.y-(void 0===i?0:i))/r+(void 0===p?0:p))/n+(void 0===l?0:l)},o=e.cosAngle||e.rotation&&Math.cos(e.rotation),i=e.sinAngle||e.rotation&&Math.sin(e.rotation),{lat:(e=h(e.crs,"WGS84",e.rotation?{x:t.x*o+t.y*-i,y:t.x*i+t.y*o}:t)).y,lon:e.x}}else d(21,!1,this)},t.prototype.fromPointToLatLon=function(t){return this.mapView&&this.mapView.projectedUnitsToLonLat(t)},t.prototype.fromLatLonToPoint=function(t){return this.mapView&&this.mapView.lonLatToProjectedUnits(t)},e(t.prototype,"addCredits",function(t,e){e=s(!0,this.options.credits,e),this.mapCredits&&(e.href=null),t.call(this,e),this.credits&&this.mapCreditsFull&&this.credits.attr({title:this.mapCreditsFull})}),{geojson:o.geojson=n,topo2geo:o.topo2geo=r}}),e(t,"Core/Geometry/PolygonClip.js",[],function(){function h(t,e,o){return(e[0]-t[0])*(o[1]-t[1])>(e[1]-t[1])*(o[0]-t[0])}function c(t,e,o,i){var r=[t[0]-e[0],t[1]-e[1]],n=[o[0]-i[0],o[1]-i[1]];return t=t[0]*e[1]-t[1]*e[0],o=o[0]*i[1]-o[1]*i[0],i=1/(r[0]*n[1]-r[1]*n[0]),(r=[(t*n[0]-o*r[0])*i,(t*n[1]-o*r[1])*i]).isIntersection=!0,r}var t,i;return(i=t=t||{}).clipLineString=function(t,e){var o=[];for(t=i.clipPolygon(t,e,!1),e=1;er.x2||er.y2)&&(o.outside=!0),o},t.prototype.inverse=function(t){var e=t[0]/63.78137,o=this.c,i=this.n,r=(t=o-t[1]/63.78137,s(i)*Math.sqrt(e*e+t*t)),n=Math.atan2(e,Math.abs(t))*s(t);return t*i<0&&(n-=Math.PI*s(e)*s(t)),[n/i/a,(2*Math.atan(Math.pow(o/r,1/i))-l)/a]},t;function t(t){var e=(o=(t.parallels||[]).map(function(t){return t*a}))[0]||0,o=null!=(i=o[1])?i:e,i=Math.cos(e);"object"==typeof t.projectedBounds&&(this.projectedBounds=t.projectedBounds),t=e===o?Math.sin(e):Math.log(i/Math.cos(o))/Math.log(Math.tan((l+o)/2)/Math.tan((l+e)/2)),Math.abs(t)<1e-10&&(t=1e-10*(s(t)||1)),this.n=t,this.c=i*Math.pow(Math.tan((l+e)/2),t)/t}}),e(t,"Maps/Projections/EqualEarth.js",[],function(){var l=Math.sqrt(3)/2;return t.prototype.forward=function(t){var e=Math.PI/180,o=Math.asin(l*Math.sin(t[1]*e)),i=o*o,r=i*i*i;return[t[0]*e*Math.cos(o)*74.03120656864502/(l*(1.340264+3*-.081106*i+r*(7*893e-6+.034164*i))),74.03120656864502*o*(1.340264+-.081106*i+r*(893e-6+.003796*i))]},t.prototype.inverse=function(t){for(var e=t[0]/74.03120656864502,o=(t=t[1]/74.03120656864502,180/Math.PI),i=t,r=0;r<12;++r){var n=i*i,s=n*n*n,a=i*(1.340264+-.081106*n+s*(893e-6+.003796*n))-t;if(i-=a/=n=1.340264+3*-.081106*n+s*(7*893e-6+.034164*n),Math.abs(a)<1e-9)break}return[o*l*e*(1.340264+3*-.081106*(n=i*i)+n*n*n*(7*893e-6+.034164*n))/Math.cos(i),o*Math.asin(Math.sin(i)/l)]},t;function t(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,y1:-97.52595454902263,y2:97.52595454902263}}}),e(t,"Maps/Projections/Miller.js",[],function(){var e=Math.PI/4,o=Math.PI/180;return t.prototype.forward=function(t){return[t[0]*o*63.78137,79.7267125*Math.log(Math.tan(e+.4*t[1]*o))]},t.prototype.inverse=function(t){return[t[0]/63.78137/o,2.5*(Math.atan(Math.exp(t[1]/63.78137*.8))-e)/o]},t;function t(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,y1:-146.91480769173063,y2:146.91480769173063}}}),e(t,"Maps/Projections/Orthographic.js",[],function(){var n=Math.PI/180;return t.prototype.forward=function(t){var e=t[0];return t=t[1]*n,t=[Math.cos(t)*Math.sin(e*n)*63.78460826781007,63.78460826781007*Math.sin(t)],(e<-90||90=o!=t[e]>=o)return i=i[r]+(o-i[e])/(t[e]-i[e])*(t[r]-i[r]),e?[i,o]:[o,i]}var o=this.bounds||{},i=o.x2,r=o.y1,n=o.y2,s=t[0];return((o=e(t,0,o.x1))||(o=e(t,0,i)))&&(s=o,t[1]=o),s=(o=e(t,1,r))||(o=e(t,1,n))?o:s},M.prototype.getRotator=function(t){var r=t[0]*b,e=(t[1]||0)*b,n=(t=(t[2]||0)*b,Math.cos(e)),s=Math.sin(e),a=Math.cos(t),l=Math.sin(t);if(0!=r||0!=e||0!==t)return{forward:function(t){var e=t[0]*b+r,o=t[1]*b,i=Math.cos(o);return t=Math.cos(e)*i,e=Math.sin(e)*i,i=(o=Math.sin(o))*n+t*s,[Math.atan2(e*a-i*l,t*n-o*s)/b,Math.asin(i*a+e*l)/b]},inverse:function(t){var e=t[0]*b,o=t[1]*b,i=Math.cos(o);return t=Math.cos(e)*i,e=Math.sin(e)*i,i=(o=Math.sin(o))*a-e*l,[(Math.atan2(e*a+o*l,t*n+i*s)-r)/b,Math.asin(i*n-t*s)/b]}}},M.prototype.forward=function(t){return t},M.prototype.inverse=function(t){return t},M.prototype.cutOnAntimeridian=function(n,s){var t,a=[],e=[n];if(n.forEach(function(t,e){var o=n[e-1];if(!e){if(!s)return;o=n[n.length-1]}var i=o[0],r=t[0];(i<-90||90=e.x1&&t.x<=e.x2&&t.y>=e.y1&&t.y<=e.y2&&o&&y(t,o))},A.prototype.render=function(){var t,r,n,s=this.chart,e=this.mapView,a=this.options,o=a.borderPath||a.field;o&&e.group&&(t=!0,this.border||(this.border=s.renderer.path().addClass("highcharts-mapview-inset-border").add(e.group),t=!1),s.styledMode||this.border.attr({stroke:a.borderColor,"stroke-width":a.borderWidth}),r=Math.round(this.border.strokeWidth())%2/2,n="mapBoundingBox"===a.relativeTo&&e.getMapBBox()||e.playingField,e=(o.coordinates||[]).reduce(function(t,e){return e.reduce(function(t,e,o){var i=e[0];return e=e[1],"percent"===a.units&&(i=s.plotLeft+P(i+"%",n.width,n.x),e=s.plotTop+P(e+"%",n.height,n.y)),i=Math.floor(i)+r,e=Math.floor(e)+r,t.push(0===o?["M",i,e]:["L",i,e]),t},t)},[]),this.border[t?"animate":"attr"]({d:e}))},A.prototype.destroy=function(){this.border&&(this.border=this.border.destroy()),this.eventsToUnbind.forEach(function(t){return t()})},A.prototype.setUpEvents=function(){},A);function A(t,e){var o=s.call(this,t.chart,e)||this;return o.id=e.id,o.mapView=t,o.options=C(i,e),o.allBounds=[],o.options.geoBounds&&(t=t.projection.path(o.options.geoBounds),o.geoBoundsProjectedBox=f(t),o.geoBoundsProjectedPolygon=t.map(function(t){return[t[1]||0,t[2]||0]})),o}function T(t,e){var o,i,r,n,s,a,l,p=this;this.insets=[],this.padding=[0,0,0,0],this.eventsToUnbind=[],this instanceof L||(i=d([t.options.chart.map],(t.options.series||[]).map(function(t){return t.mapData}),!0).map(function(t){return p.getGeoMap(t)}),r=[],i.forEach(function(t){t&&(o=o||t["hc-recommended-mapview"],t.bbox&&(t=t.bbox,r.push({x1:t[0],y1:t[1],x2:t[2],y2:t[3]})))}),(a=r.length&&T.compositeBounds(r))&&(l=a.x1,n=a.y1,s=a.x2,a=a.y2,l=180l.length&&"string"==typeof t[0]&&(d[e]["hc-key"]=t[0],++o);for(var i=0;i"},turboThreshold:0,allAreas:!0,borderColor:"#cccccc",borderWidth:1,joinBy:"hc-key",states:{hover:{halo:null,brightness:.2},normal:{animation:!0},select:{color:"#cccccc"}}}),r((a=O).prototype,{type:"map",axisTypes:e.seriesMembers.axisTypes,colorAttribs:e.seriesMembers.colorAttribs,colorKey:e.seriesMembers.colorKey,directTouch:!0,drawDataLabels:t,drawGraph:t,drawLegendSymbol:i.drawRectangle,forceDL:!0,getCenter:o.getCenter,getExtremesFromAll:!0,getSymbol:t,isCartesian:!1,parallelArrays:e.seriesMembers.parallelArrays,pointArrayMap:e.seriesMembers.pointArrayMap,pointClass:y,preserveAspectRatio:!0,searchPoint:t,trackerGroups:e.seriesMembers.trackerGroups,useMapGeometry:!0}),e.compose(a),s.registerSeriesType("map",a),a}),e(t,"Series/MapLine/MapLineSeries.js",[t["Series/Map/MapSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(o,t,e){var i,r,n=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),s=t.series,a=e.extend,l=e.merge;function p(){var t=null!==r&&r.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n(p,r=o),p.prototype.pointAttribs=function(t,e){return(t=o.prototype.pointAttribs.call(this,t,e)).fill=this.options.fillColor,t},p.defaultOptions=l(o.defaultOptions,{lineWidth:1,fillColor:"none"}),a((e=p).prototype,{type:"mapline",colorProp:"stroke",drawLegendSymbol:s.prototype.drawLegendSymbol,pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"}}),t.registerSeriesType("mapline",e),e}),e(t,"Series/MapPoint/MapPointPoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){var i,o,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=e.isNumber;return o=t.seriesTypes.scatter.prototype.pointClass,r(s,o),s.prototype.isValid=function(){return!!(this.options.geometry||n(this.x)&&n(this.y)||n(this.options.lon)&&n(this.options.lat))},s;function s(){var t=null!==o&&o.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}}),e(t,"Series/MapPoint/MapPointSeries.js",[t["Core/Globals.js"],t["Series/MapPoint/MapPointPoint.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Renderer/SVG/SVGRenderer.js"],t["Core/Utilities.js"]],function(t,e,o,i,r){var n,s=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});t=t.noop;var a,l=(h=o.seriesTypes).map,p=h.scatter,h=r.extend,c=r.fireEvent,u=r.isNumber,d=r.merge;function f(){var t=null!==a&&a.apply(this,arguments)||this;return t.chart=void 0,t.data=void 0,t.options=void 0,t.points=void 0,t.clearBounds=l.prototype.clearBounds,t}return s(f,a=p),f.prototype.drawDataLabels=function(){a.prototype.drawDataLabels.call(this),this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)},f.prototype.projectPoint=function(t){var e=this.chart.mapView;if(e){var o=t.geometry,i=t.lon;if(t=t.lat,o=o&&"Point"===o.type&&o.coordinates,o=u(i)&&u(t)?[i,t]:o)return e.lonLatToProjectedUnits({lon:o[0],lat:o[1]})}},f.prototype.translate=function(){var s,a,l=this,p=this.chart.mapView;this.processedXData||this.processData(),this.generatePoints(),this.getProjectedBounds&&this.isDirtyData&&(delete this.bounds,this.getProjectedBounds()),p&&(s=p.getSVGTransform(),a=p.projection.hasCoordinates,this.points.forEach(function(t){var e,o=void 0===(o=t.x)?void 0:o,i=void 0===(i=t.y)?void 0:i,r=u(t.insetIndex)&&p.insets[t.insetIndex].getSVGTransform()||s,n=l.projectPoint(t.options)||t.properties&&l.projectPoint(t.properties);n?(o=n.x,i=n.y):t.bounds&&(o=t.bounds.midX,i=t.bounds.midY,r&&u(o)&&u(i))&&(t.plotX=o*r.scaleX+r.translateX,t.plotY=i*r.scaleY+r.translateY,e=!0),u(o)&&u(i)?e||(e=p.projectedUnitsToPixels({x:o,y:i}),t.plotX=e.x,t.plotY=a?e.y:l.chart.plotHeight-e.y):t.y=t.plotX=t.plotY=void 0,t.isInside=l.isPointInside(t),t.zone=l.zones.length?t.getZone():void 0})),c(this,"afterTranslate")},f.defaultOptions=d(p.defaultOptions,{dataLabels:{crop:!1,defer:!1,enabled:!0,formatter:function(){return this.point.name},overflow:!1,style:{color:"#000000"}}}),r=f,i.prototype.symbols.mapmarker=function(t,e,o,i,r){var n=r&&"legend"===r.context;return n?(t+=o/2,r=e+i):r&&"number"==typeof r.anchorX&&"number"==typeof r.anchorY?(t=r.anchorX,r=r.anchorY):(t+=o/2,r=e+i/2,e-=i),[["M",t,r],["C",t,r,t-(i=n?i/3:i/2),e+1.5*i,t-i,e+i],["A",i,i,1,1,1,t+i,e+i],["C",t+i,e+1.5*i,t,r,t,r],["Z"]]},h(r.prototype,{type:"mappoint",axisTypes:["colorAxis"],forceDL:!0,isCartesian:!1,pointClass:e,searchPoint:t,useMapGeometry:!0}),o.registerSeriesType("mappoint",r),r}),e(t,"Series/Bubble/BubbleLegendDefaults.js",[],function(){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"10px",color:"#000000"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}}),e(t,"Series/Bubble/BubbleLegendItem.js",[t["Core/Color/Color.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],function(t,r,e,o){var c=t.parse,i=e.noop,s=o.arrayMax,a=o.arrayMin,l=o.isNumber,u=o.merge,d=o.pick,p=o.stableSort;function n(t,e){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legend=this.fontMetrics=this.chart=void 0,this.setState=i,this.init(t,e)}return n.prototype.init=function(t,e){this.options=t,this.visible=!0,this.chart=e.chart,this.legend=e},n.prototype.addToLegend=function(t){t.splice(this.options.legendIndex,0,this)},n.prototype.drawLegendSymbol=function(t){var e=this.chart,o=d(t.options.itemDistance,20),i=this.legendItem||{},r=this.options,n=r.ranges,s=r.connectorDistance;this.fontMetrics=e.renderer.fontMetrics(r.labels.style.fontSize),n&&n.length&&l(n[0].value)?(p(n,function(t,e){return e.value-t.value}),this.ranges=n,this.setOptions(),this.render(),t=this.getMaxLabelSize(),e=2*(n=this.ranges[0].radius),s=0<(s=s-n+t.width)?s:0,this.maxLabel=t,this.movementX="left"===r.labels.align?s:0,i.labelWidth=e+s+o,i.labelHeight=e+this.fontMetrics.h/2):t.options.bubbleLegend.autoRanges=!0},n.prototype.setOptions=function(){var o=this.ranges,i=this.options,r=this.chart.series[i.seriesIndex],n=this.legend.baseline,s={zIndex:i.zIndex,"stroke-width":i.borderWidth},a={zIndex:i.zIndex,"stroke-width":i.connectorWidth},l={align:this.legend.options.rtl||"left"===i.labels.align?"right":"left",zIndex:i.zIndex},p=r.options.marker.fillOpacity,h=this.chart.styledMode;o.forEach(function(t,e){h||(s.stroke=d(t.borderColor,i.borderColor,r.color),s.fill=d(t.color,i.color,1!==p?c(r.color).setOpacity(p).get("rgba"):r.color),a.stroke=d(t.connectorColor,i.connectorColor,r.color)),o[e].radius=this.getRangeRadius(t.value),o[e]=u(o[e],{center:o[0].radius-o[e].radius+n}),h||u(!0,o[e],{bubbleAttribs:u(s),connectorAttribs:u(a),labelAttribs:l})},this)},n.prototype.getRangeRadius=function(t){var e=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,e.ranges[e.ranges.length-1].value,e.ranges[0].value,e.minSize,e.maxSize,t)},n.prototype.render=function(){var t=this.legendItem||{},e=this.chart.renderer,o=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),t.symbol=e.g("bubble-legend"),t.label=e.g("bubble-legend-item"),t.symbol.translateX=0;for(var e=t.symbol.translateY=0,i=this.ranges;e=o&&this.renderRange(r)}t.symbol.add(t.label),t.label.add(t.group),this.hideOverlappingLabels()},n.prototype.renderRange=function(t){var e=this.options,o=e.labels,i=(s=this.chart).series[e.seriesIndex],r=s.renderer,n=this.symbols,s=n.labels,a=t.center,l=Math.abs(t.radius),p=e.connectorDistance||0,h=o.align,c=e.connectorWidth,u=this.ranges[0].radius||0,d=a-l-e.borderWidth/2+c/2,f=(f=this.fontMetrics).f/2-(f.h-f.f)/2,y=r.styledMode,p=this.legend.options.rtl||"left"===h?-p:p,h=("center"===h&&(e.connectorDistance=p=0,t.labelAttribs.align="center"),d+e.labels.y),m=u+p+e.labels.x;n.bubbleItems.push(r.circle(u,a+((d%1?1:.5)-(c%2?0:.5)),l).attr(y?{}:t.bubbleAttribs).addClass((y?"highcharts-color-"+i.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(e.className||"")).add(this.legendItem.symbol)),n.connectors.push(r.path(r.crispLine([["M",u,d],["L",u+p,d]],e.connectorWidth)).attr(y?{}:t.connectorAttribs).addClass((y?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(e.connectorClassName||"")).add(this.legendItem.symbol)),t=r.text(this.formatLabel(t),m,h+f).attr(y?{}:t.labelAttribs).css(y?{}:o.style).addClass("highcharts-bubble-legend-labels "+(e.labels.className||"")).add(this.legendItem.symbol),s.push(t),t.placed=!0,t.alignAttr={x:m,y:h+f}},n.prototype.getMaxLabelSize=function(){var e,o;return this.symbols.labels.forEach(function(t){o=t.getBBox(!0),e=!e||o.width>e.width?o:e}),e||{}},n.prototype.formatLabel=function(t){var e=(o=this.options).labels.formatter,o=o.labels.format,i=this.chart.numberFormatter;return o?r.format(o,t):e?e.call(t):i(t.value,1)},n.prototype.hideOverlappingLabels=function(){var t=this.chart,o=this.symbols;!this.options.labels.allowOverlap&&o&&(t.hideOverlappingLabels(o.labels),o.labels.forEach(function(t,e){t.newOpacity?t.newOpacity!==t.oldOpacity&&o.connectors[e].show():o.connectors[e].hide()}))},n.prototype.getRanges=function(){var e,t=this.legend.bubbleLegend,o=t.options.ranges,i=Number.MAX_VALUE,r=-Number.MAX_VALUE,n=(t.chart.series.forEach(function(t){t.isBubble&&!t.ignoreSeries&&((e=t.zData.filter(l)).length&&(i=d(t.options.zMin,Math.min(i,Math.max(a(e),!1===t.options.displayNegative?t.options.zThreshold:-Number.MAX_VALUE))),r=d(t.options.zMax,Math.max(r,s(e)))))}),i===r?[{value:r}]:[{value:i},{value:(i+r)/2},{value:r,autoRanges:!0}]);return o.length&&o[0].radius&&n.reverse(),n.forEach(function(t,e){o&&o[e]&&(n[e]=u(o[e],t))}),n},n.prototype.predictBubbleSizes=function(){var t=this.chart,e=this.fontMetrics,o=t.legend.options,i=o.floating,r=(o="horizontal"===o.layout)?t.legend.lastLineHeight:0,n=t.plotSizeX,s=t.plotSizeY,a=(p=t.series[this.options.seriesIndex]).getPxExtremes(),t=Math.ceil(a.minPxSize),a=Math.ceil(a.maxPxSize),l=Math.min(s,n),p=p.options.maxSize;return i||!/%$/.test(p)?e=a:(p=parseFloat(p),e=(l+r-e.h/2)*p/100/(p/100+1),(o&&n<=s-e||!o&&s<=n-e)&&(e=a)),[t,Math.ceil(e)]},n.prototype.updateRanges=function(t,e){var o=this.legend.options.bubbleLegend;o.minSize=t,o.maxSize=e,o.ranges=this.getRanges()},n.prototype.correctSizes=function(){var t=this.legend,e=this.chart.series[this.options.seriesIndex].getPxExtremes();1n.height&&(n.height=t[i].itemHeight);n.step=r}}return e}function s(t){var e=this.bubbleLegend,o=this.options,i=o.bubbleLegend,r=a(this.chart);e&&e.ranges&&e.ranges.length&&(i.ranges.length&&(i.autoRanges=!!i.ranges[0].autoRanges),this.destroyItem(e)),0<=r&&o.enabled&&i.enabled&&(i.seriesIndex=r,this.bubbleLegend=new n(i,this),this.bubbleLegend.addToLegend(t.allItems))}function p(){var t=this.chart,e=this.visible,o=this.chart.legend;o&&o.bubbleLegend&&(this.visible=!e,this.ignoreSeries=e,t=0<=a(t),o.bubbleLegend.visible!==t&&(o.update({bubbleLegend:{enabled:t}}),o.bubbleLegend.visible=t),this.visible=e)}function h(t,o){var i,r,n,s,a=t.options.rtl,l=0;t.allItems.forEach(function(t,e){(s=t.legendItem||{}).group&&(i=s.group.translateX||0,r=s.y||0,((n=t.movementX)||a&&t.ranges)&&(n=a?i-t.options.maxSize/2:i+n,s.group.attr({translateX:n})),e>o[l].step&&l++,s.group.attr({translateY:Math.round(r+o[l].height/2)}),s.y=r+o[l].height/2)})}var c=t.setOptions,u=e.addEvent,d=e.objectEach,f=e.wrap,y=[];return{compose:function(t,e,o){-1===y.indexOf(t)&&(y.push(t),c({legend:{bubbleLegend:i}}),f(t.prototype,"drawChartBox",r)),-1===y.indexOf(e)&&(y.push(e),u(e,"afterGetAllItems",s)),-1===y.indexOf(o)&&(y.push(o),u(o,"legendItemClick",p))}}}),e(t,"Series/Bubble/BubblePoint.js",[t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(e,t,o){var i,r,n=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});function s(){var t=null!==r&&r.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return o=o.extend,r=t.seriesTypes.scatter.prototype.pointClass,n(s,r),s.prototype.haloPath=function(t){return e.prototype.haloPath.call(this,0===t?0:(this.marker&&this.marker.radius||0)+t)},o((t=s).prototype,{ttBelow:!1}),t}),e(t,"Series/Bubble/BubbleSeries.js",[t["Series/Bubble/BubbleLegendComposition.js"],t["Series/Bubble/BubblePoint.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(r,t,e,o,i,n){function s(){var r,n=this,t=this.len,s=this.chart,a=this.isXAxis,l=a?"xData":"yData",p=this.min,h=this.max-p,c=0,u=t,d=t/h;this.series.forEach(function(t){if(t.bubblePadding&&(t.visible||!s.options.chart.ignoreHiddenSeries)){r=n.allowZoomOutside=!0;var e,o=t[l];if(a&&((t.onPoint||t).getRadii(0,0,t),t.onPoint&&(t.radii=t.onPoint.radii)),0"},states:{hover:{halo:!1,brightness:.2}}}),r((n=b).prototype,{axisTypes:t.seriesMembers.axisTypes,colorKey:t.seriesMembers.colorKey,directTouch:!0,getExtremesFromAll:!0,parallelArrays:t.seriesMembers.parallelArrays,pointArrayMap:["y","value"],pointClass:e,specialGroup:"group",trackerGroups:t.seriesMembers.trackerGroups,alignDataLabel:u.prototype.alignDataLabel,colorAttribs:t.seriesMembers.colorAttribs,drawLegendSymbol:o.drawRectangle,getSymbol:h.prototype.getSymbol}),t.compose(n),i.registerSeriesType("heatmap",n),n}),e(t,"masters/modules/map.src.js",[t["Core/Globals.js"],t["Core/Axis/Color/ColorAxis.js"],t["Series/MapBubble/MapBubbleSeries.js"],t["Core/Chart/MapChart.js"],t["Maps/MapView.js"],t["Maps/Projection.js"]],function(t,e,o,i,r,n){t.ColorAxis=e,t.MapChart=i,t.mapChart=t.Map=i.mapChart,t.MapView=r,t.maps=i.maps,t.Projection=n,e.compose(t.Chart,t.Fx,t.Legend,t.Series),o.compose(t.Axis,t.Chart,t.Legend,t.Series)})}); \ No newline at end of file diff --git a/assets/js/external/highcharts/modules/marker-clusters.min.js b/assets/js/external/highcharts/modules/marker-clusters.min.js index b39485a9..b1939062 100644 --- a/assets/js/external/highcharts/modules/marker-clusters.min.js +++ b/assets/js/external/highcharts/modules/marker-clusters.min.js @@ -1 +1 @@ -!function(e){"object"==typeof module&&module.exports?module.exports=e.default=e:"function"==typeof define&&define.amd?define("highcharts/modules/marker-clusters",["highcharts"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,a,i){t.hasOwnProperty(e)||(t[e]=i.apply(null,a),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Extensions/MarkerClusters.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Chart/Chart.js"],t["Core/DefaultOptions.js"],t["Core/Series/Point.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Renderer/SVG/SVGRenderer.js"],t["Core/Utilities.js"],t["Core/Axis/Axis.js"]],function(t,e,a,i,r,o,n,s,l){function v(t){for(var e=t.length,a=0,i=0,r=0;rClustered points: {point.clusterPointsAmount}
"}});u.cluster=function(t,e,a,i){var r=u.arc(t+(a/=2),e+(i/=2),a-4,i-4,{start:.5*Math.PI,end:2.5*Math.PI,open:!1}),o=u.arc(t+a,e+i,a-3,i-3,{start:.5*Math.PI,end:2.5*Math.PI,innerR:a-2,open:!1});return u.arc(t+a,e+i,a-1,i-1,{start:.5*Math.PI,end:2.5*Math.PI,innerR:a,open:!1}).concat(o,r)},n.prototype.animateClusterPoint=function(t){var e,a,i=this.chart,r=i.mapView,o=y((this.options.cluster||{}).animation),n=o.duration||500,s=(this.markerClusterInfo||{}).pointsState,l=(s||{}).newState,p=(s||{}).oldState,u=[],d=0,h=0,c=!1,m=!1;p&&l&&(e=l[t.stateId],d=(s=Y(this,e)).x-(r?0:i.plotLeft),h=s.y-(r?0:i.plotTop),1===e.parentsId.length?(t=(l||{})[t.stateId].parentsId[0],a=p[t],e.point&&e.point.graphic&&a&&a.point&&a.point.plotX&&a.point.plotY&&a.point.plotX!==e.point.plotX&&a.point.plotY!==e.point.plotY&&(t=e.point.graphic.getBBox(),s=e.point.graphic&&e.point.graphic.isImg?0:t.width/2,e.point.graphic.attr({x:a.point.plotX-s,y:a.point.plotY-s}),e.point.graphic.animate({x:d-(e.point.graphic.radius||0),y:h-(e.point.graphic.radius||0)},o,function(){m=!0,a.point&&a.point.destroy&&a.point.destroy()}),e.point.dataLabel&&e.point.dataLabel.alignAttr&&a.point.dataLabel&&a.point.dataLabel.alignAttr&&(e.point.dataLabel.attr({x:a.point.dataLabel.alignAttr.x,y:a.point.dataLabel.alignAttr.y}),e.point.dataLabel.animate({x:e.point.dataLabel.alignAttr.x,y:e.point.dataLabel.alignAttr.y},o)))):0===e.parentsId.length?(g(e,!0,!0),P(function(){f(e,.1,o,!0,!0)},n/2)):(g(e,!0,!0),e.parentsId.forEach(function(t){p&&p[t]&&(a=p[t],u.push(a),a.point&&a.point.graphic&&(c=!0,a.point.graphic.show(),a.point.graphic.animate({x:d-(a.point.graphic.radius||0),y:h-(a.point.graphic.radius||0),opacity:.4},o,function(){m=!0,x(e,u,o,.7)}),a.point.dataLabel&&-9999!==a.point.dataLabel.y&&e.point&&e.point.dataLabel&&e.point.dataLabel.alignAttr&&(a.point.dataLabel.show(),a.point.dataLabel.animate({x:e.point.dataLabel.alignAttr.x,y:e.point.dataLabel.alignAttr.y,opacity:.4},o))))}),P(function(){m||x(e,u,o,.85)},n),c||P(function(){x(e,u,o,.1)},n/2)))},n.prototype.getGridOffset=function(){var t=this.chart,e=this.xAxis,a=this.yAxis;return{plotLeft:e=e&&this.dataMinX&&this.dataMaxX?e.reversed?e.toPixels(this.dataMaxX):e.toPixels(this.dataMinX):t.plotLeft,plotTop:t=a&&this.dataMinY&&this.dataMaxY?a.reversed?a.toPixels(this.dataMinY):a.toPixels(this.dataMaxY):t.plotTop}},n.prototype.getScaledGridSize=function(t){var e=this.xAxis,a=this.chart.mapView,i=(t=t.processedGridSize||T.layoutAlgorithm.gridSize,!0),r=1,o=1;for(this.gridValueSize||(this.gridValueSize=a?t/a.getScale():Math.abs(e.toValue(t)-e.toValue(0))),e=+(t/(e=a?this.gridValueSize*a.getScale():e.toPixels(this.gridValueSize)-e.toPixels(0))).toFixed(14);i&&1!==e;)a=Math.pow(2,r),.75n[o].oldX+1||n[o].posXn[o].oldY+1||n[o].posYp.minX||n.initMaxY&&n.initMaxYp.minY?(n.initMaxX=p.maxX,n.initMinX=p.minX,n.initMaxY=p.maxY,n.initMinY=p.minY,l=n.markerClusterAlgorithms?n.markerClusterAlgorithms.kmeans.call(n,t,e,a,i):{},n.baseClusters=null):(n.baseClusters||(n.baseClusters={clusters:n.markerClusterInfo.clusters,noise:n.markerClusterInfo.noise}),n.baseClusters.clusters.forEach(function(i){i.pointsOutside=[],i.pointsInside=[],i.data.forEach(function(t){var e=Y(n,t),a=Y(n,i);r=Math.sqrt(Math.pow(e.x-a.x,2)+Math.pow(e.y-a.y,2)),(o=(i.clusterZone&&i.clusterZone.marker&&i.clusterZone.marker.radius?i.clusterZone.marker:u&&u.radius?u:T.marker).radius)+(0<=s-o?s-o:o)=M[r].from&&a<=M[r].to&&(I=L((M[r].marker||{}).radius)?M[r].marker.radius||0:(k&&k.radius?k:T.marker).radius);1=p){var u,d,h,c=t[a],m=Math.random().toString(36).substring(2,7)+"-"+w++,f=c.length;if(e.zones)for(x=0;x=e.zones[x].from&&f<=e.zones[x].to&&((u=e.zones[x]).zoneIndex=x,d=e.zones[x].marker,h=e.zones[x].className);for(var g=v(c),g="grid"!==e.layoutAlgorithm.type||e.allowOverlap?{x:g.x,y:g.y}:(x=this.options.marker||{},this.preventClusterCollisions({x:g.x,y:g.y,key:a,groupedData:t,gridSize:this.getScaledGridSize(e.layoutAlgorithm),defaultRadius:x.radius||3+(x.lineWidth||0),clusterRadius:d&&d.radius?d.radius:(e.marker||{}).radius||T.marker.radius})),x=0;x=l.minX-g&&o[y]<=l.maxX+g&&(n[y]||l.minY)>=l.minY-x&&(n[y]||l.maxY)<=l.maxY+x&&(p.push(o[y]),u.push(n[y]),d.push(y));L(h)&&L(t)&&b(c)&&b(e)&&(i.dataMaxX=h,i.dataMinX=t,i.dataMaxY=c,i.dataMinY=e),l=(p=(l=M(m)?m:i.markerClusterAlgorithms?m&&i.markerClusterAlgorithms[m]?i.markerClusterAlgorithms[m]:p.lengthClustered points: {point.clusterPointsAmount}
"}});u.cluster=function(t,e,a,i){var r=u.arc(t+(a/=2),e+(i/=2),a-4,i-4,{start:.5*Math.PI,end:2.5*Math.PI,open:!1}),o=u.arc(t+a,e+i,a-3,i-3,{start:.5*Math.PI,end:2.5*Math.PI,innerR:a-2,open:!1});return u.arc(t+a,e+i,a-1,i-1,{start:.5*Math.PI,end:2.5*Math.PI,innerR:a,open:!1}).concat(o,r)},n.prototype.animateClusterPoint=function(t){var e,a,i=this.chart,r=i.mapView,o=y((this.options.cluster||{}).animation),n=o.duration||500,s=(this.markerClusterInfo||{}).pointsState,l=(s||{}).newState,p=(s||{}).oldState,u=[],d=0,h=0,c=!1,m=!1;p&&l&&(e=l[t.stateId],d=(s=Y(this,e)).x-(r?0:i.plotLeft),h=s.y-(r?0:i.plotTop),1===e.parentsId.length?(t=(l||{})[t.stateId].parentsId[0],a=p[t],e.point&&e.point.graphic&&a&&a.point&&a.point.plotX&&a.point.plotY&&a.point.plotX!==e.point.plotX&&a.point.plotY!==e.point.plotY&&(t=e.point.graphic.getBBox(),s=e.point.graphic&&e.point.graphic.isImg?0:t.width/2,e.point.graphic.attr({x:a.point.plotX-s,y:a.point.plotY-s}),e.point.graphic.animate({x:d-(e.point.graphic.radius||0),y:h-(e.point.graphic.radius||0)},o,function(){m=!0,a.point&&a.point.destroy&&a.point.destroy()}),e.point.dataLabel&&e.point.dataLabel.alignAttr&&a.point.dataLabel&&a.point.dataLabel.alignAttr&&(e.point.dataLabel.attr({x:a.point.dataLabel.alignAttr.x,y:a.point.dataLabel.alignAttr.y}),e.point.dataLabel.animate({x:e.point.dataLabel.alignAttr.x,y:e.point.dataLabel.alignAttr.y},o)))):0===e.parentsId.length?(g(e,!0,!0),P(function(){f(e,.1,o,!0,!0)},n/2)):(g(e,!0,!0),e.parentsId.forEach(function(t){p&&p[t]&&(a=p[t],u.push(a),a.point&&a.point.graphic&&(c=!0,a.point.graphic.show(),a.point.graphic.animate({x:d-(a.point.graphic.radius||0),y:h-(a.point.graphic.radius||0),opacity:.4},o,function(){m=!0,x(e,u,o,.7)}),a.point.dataLabel&&-9999!==a.point.dataLabel.y&&e.point&&e.point.dataLabel&&e.point.dataLabel.alignAttr&&(a.point.dataLabel.show(),a.point.dataLabel.animate({x:e.point.dataLabel.alignAttr.x,y:e.point.dataLabel.alignAttr.y,opacity:.4},o))))}),P(function(){m||x(e,u,o,.85)},n),c||P(function(){x(e,u,o,.1)},n/2)))},n.prototype.getGridOffset=function(){var t=this.chart,e=this.xAxis,a=this.yAxis;return{plotLeft:e=e&&this.dataMinX&&this.dataMaxX?e.reversed?e.toPixels(this.dataMaxX):e.toPixels(this.dataMinX):t.plotLeft,plotTop:t=a&&this.dataMinY&&this.dataMaxY?a.reversed?a.toPixels(this.dataMinY):a.toPixels(this.dataMaxY):t.plotTop}},n.prototype.getScaledGridSize=function(t){var e=this.xAxis,a=this.chart.mapView,i=(t=t.processedGridSize||T.layoutAlgorithm.gridSize,!0),r=1,o=1;for(this.gridValueSize||(this.gridValueSize=a?t/a.getScale():Math.abs(e.toValue(t)-e.toValue(0))),e=+(t/(e=a?this.gridValueSize*a.getScale():e.toPixels(this.gridValueSize)-e.toPixels(0))).toFixed(14);i&&1!==e;)a=Math.pow(2,r),.75n[o].oldX+1||n[o].posXn[o].oldY+1||n[o].posYp.minX||n.initMaxY&&n.initMaxYp.minY?(n.initMaxX=p.maxX,n.initMinX=p.minX,n.initMaxY=p.maxY,n.initMinY=p.minY,l=n.markerClusterAlgorithms?n.markerClusterAlgorithms.kmeans.call(n,t,e,a,i):{},n.baseClusters=null):(n.baseClusters||(n.baseClusters={clusters:n.markerClusterInfo.clusters,noise:n.markerClusterInfo.noise}),n.baseClusters.clusters.forEach(function(i){i.pointsOutside=[],i.pointsInside=[],i.data.forEach(function(t){var e=Y(n,t),a=Y(n,i);r=Math.sqrt(Math.pow(e.x-a.x,2)+Math.pow(e.y-a.y,2)),(o=(i.clusterZone&&i.clusterZone.marker&&i.clusterZone.marker.radius?i.clusterZone.marker:u&&u.radius?u:T.marker).radius)+(0<=s-o?s-o:o)=M[r].from&&a<=M[r].to&&(I=L((M[r].marker||{}).radius)?M[r].marker.radius||0:(k&&k.radius?k:T.marker).radius);1=p){var u,d,h,c=t[a],m=Math.random().toString(36).substring(2,7)+"-"+w++,f=c.length;if(e.zones)for(x=0;x=e.zones[x].from&&f<=e.zones[x].to&&((u=e.zones[x]).zoneIndex=x,d=e.zones[x].marker,h=e.zones[x].className);for(var g=v(c),g="grid"!==e.layoutAlgorithm.type||e.allowOverlap?{x:g.x,y:g.y}:(x=this.options.marker||{},this.preventClusterCollisions({x:g.x,y:g.y,key:a,groupedData:t,gridSize:this.getScaledGridSize(e.layoutAlgorithm),defaultRadius:x.radius||3+(x.lineWidth||0),clusterRadius:d&&d.radius?d.radius:(e.marker||{}).radius||T.marker.radius})),x=0;x=l.minX-g&&o[y]<=l.maxX+g&&(n[y]||l.minY)>=l.minY-x&&(n[y]||l.maxY)<=l.maxY+x&&(p.push(o[y]),u.push(n[y]),d.push(y));L(h)&&L(t)&&b(c)&&b(e)&&(i.dataMaxX=h,i.dataMinX=t,i.dataMaxY=c,i.dataMinY=e),l=(p=(l=M(m)?m:i.markerClusterAlgorithms?m&&i.markerClusterAlgorithms[m]?i.markerClusterAlgorithms[m]:p.lengthe.plotX&&(t=this.toNode,e=this.fromNode),[["M",t.plotX||0,t.plotY||0],["L",e.plotX||0,e.plotY||0]]},l.prototype.getMass=function(){var t=this.fromNode.mass,e=this.toNode.mass,o=t+e;return{fromNode:1-t/o,toNode:1-e/o}},l.prototype.init=function(t,e,o){return s.prototype.init.call(this,t,e,o),this.series.options.draggable&&!this.series.chart.styledMode&&(h(this,"mouseOver",function(){p(this.series.chart.container,{cursor:"move"})}),h(this,"mouseOut",function(){p(this.series.chart.container,{cursor:"default"})})),this},l.prototype.isValid=function(){return!this.isNode||d(this.id)},l.prototype.redrawLink=function(){var e,t,o=this.getLinkPath();this.graphic&&(this.shapeArgs={d:o},this.series.chart.styledMode||(e=this.series.pointAttribs(this),this.graphic.attr(e),(this.dataLabels||[]).forEach(function(t){t&&t.attr({opacity:e.opacity})})),this.graphic.animate(this.shapeArgs),t=o[0],o=o[1],"M"===t[0]&&"L"===o[0]&&(this.plotX=(t[1]+o[1])/2,this.plotY=(t[2]+o[2])/2))},l.prototype.remove=function(t,e){var o,i=this.series,s=i.options.nodes||[],r=s.length;if(this.isNode){for(i.points=[],[].concat(this.linksFrom).concat(this.linksTo).forEach(function(t){-1<(o=t.fromNode.linksFrom.indexOf(t))&&t.fromNode.linksFrom.splice(o,1),-1<(o=t.toNode.linksTo.indexOf(t))&&t.toNode.linksTo.splice(o,1),n.removePoint.call(i,i.data.indexOf(t),!1,!1)}),i.points=i.data.slice(),i.nodes.splice(i.nodes.indexOf(this),1);r--;)if(s[r].id===this.options.id){i.options.nodes.splice(r,1);break}this&&this.destroy(),i.isDirty=!0,i.isDirtyData=!0,t&&i.chart.redraw(t)}else i.removePoint(i.data.indexOf(this),t,e)},l.prototype.renderLink=function(){var e;this.graphic||(this.graphic=this.series.chart.renderer.path(this.getLinkPath()).addClass(this.getClassName(),!0).add(this.series.group),this.series.chart.styledMode)||(e=this.series.pointAttribs(this),this.graphic.attr(e),(this.dataLabels||[]).forEach(function(t){t&&t.attr({opacity:e.opacity})}))},e((o=l).prototype,{setState:t.setNodeState}),o}),e(t,"Series/Networkgraph/NetworkgraphSeriesDefaults.js",[],function(){return{stickyTracking:!1,inactiveOtherPoints:!0,marker:{enabled:!0,states:{inactive:{opacity:.3,animation:{duration:50}}}},states:{inactive:{linkOpacity:.3,animation:{duration:50}}},dataLabels:{formatter:function(){return this.key},linkFormatter:function(){return this.point.fromNode.name+"
"+this.point.toNode.name},linkTextPath:{enabled:!0},textPath:{enabled:!1},style:{transition:"opacity 2000ms"}},link:{color:"rgba(100, 100, 100, 0.5)",width:1},draggable:!0,layoutAlgorithm:{initialPositions:"circle",initialPositionRadius:1,enableSimulation:!1,theta:.5,maxSpeed:10,approximation:"none",type:"reingold-fruchterman",integration:"euler",maxIterations:1e3,gravitationalConstant:.0625,friction:-.981},showInLegend:!1}}),e(t,"Series/Networkgraph/EulerIntegration.js",[],function(){return{attractive:function(t,e,o,i){var s=t.getMass(),r=o.x/i*e;e*=o.y/i,t.fromNode.fixedPosition||(t.fromNode.dispX-=r*s.fromNode/t.fromNode.degree,t.fromNode.dispY-=e*s.fromNode/t.fromNode.degree),t.toNode.fixedPosition||(t.toNode.dispX+=r*s.toNode/t.toNode.degree,t.toNode.dispY+=e*s.toNode/t.toNode.degree)},attractiveForceFunction:function(t,e){return t*t/e},barycenter:function(){var o=this.options.gravitationalConstant,i=this.barycenter.xFactor,s=this.barycenter.yFactor;this.nodes.forEach(function(t){var e;t.fixedPosition||(e=t.getDegree(),t.dispX+=(i-t.plotX)*o*(e*=1+e/2)/t.degree,t.dispY+=(s-t.plotY)*o*e/t.degree)})},getK:function(t){return Math.pow(t.box.width*t.box.height/t.nodes.length,.3)},integrate:function(t,e){e.dispX+=e.dispX*t.options.friction,e.dispY+=e.dispY*t.options.friction;var o=e.temperature=t.vectorLength({x:e.dispX,y:e.dispY});0!==o&&(e.plotX+=e.dispX/o*Math.min(Math.abs(e.dispX),t.temperature),e.plotY+=e.dispY/o*Math.min(Math.abs(e.dispY),t.temperature))},repulsive:function(t,e,o,i){t.dispX+=o.x/i*e/t.degree,t.dispY+=o.y/i*e/t.degree},repulsiveForceFunction:function(t,e){return e*e/t}}}),e(t,"Series/Networkgraph/QuadTreeNode.js",[],function(){return o.prototype.divideBox=function(){var t=this.box.width/2,e=this.box.height/2;this.nodes[0]=new o({left:this.box.left,top:this.box.top,width:t,height:e}),this.nodes[1]=new o({left:this.box.left+t,top:this.box.top,width:t,height:e}),this.nodes[2]=new o({left:this.box.left+t,top:this.box.top+e,width:t,height:e}),this.nodes[3]=new o({left:this.box.left,top:this.box.top+e,width:t,height:e})},o.prototype.getBoxPosition=function(t){var e=t.plotYe.plotX&&(t=this.toNode,e=this.fromNode),[["M",t.plotX||0,t.plotY||0],["L",e.plotX||0,e.plotY||0]]},l.prototype.getMass=function(){var t=this.fromNode.mass,e=this.toNode.mass,o=t+e;return{fromNode:1-t/o,toNode:1-e/o}},l.prototype.init=function(t,e,o){return s.prototype.init.call(this,t,e,o),this.series.options.draggable&&!this.series.chart.styledMode&&(h(this,"mouseOver",function(){p(this.series.chart.container,{cursor:"move"})}),h(this,"mouseOut",function(){p(this.series.chart.container,{cursor:"default"})})),this},l.prototype.isValid=function(){return!this.isNode||d(this.id)},l.prototype.redrawLink=function(){var e,t,o=this.getLinkPath();this.graphic&&(this.shapeArgs={d:o},this.series.chart.styledMode||(e=this.series.pointAttribs(this),this.graphic.attr(e),(this.dataLabels||[]).forEach(function(t){t&&t.attr({opacity:e.opacity})})),this.graphic.animate(this.shapeArgs),t=o[0],o=o[1],"M"===t[0]&&"L"===o[0]&&(this.plotX=(t[1]+o[1])/2,this.plotY=(t[2]+o[2])/2))},l.prototype.remove=function(t,e){var o,i=this.series,s=i.options.nodes||[],r=s.length;if(this.isNode){for(i.points=[],[].concat(this.linksFrom).concat(this.linksTo).forEach(function(t){-1<(o=t.fromNode.linksFrom.indexOf(t))&&t.fromNode.linksFrom.splice(o,1),-1<(o=t.toNode.linksTo.indexOf(t))&&t.toNode.linksTo.splice(o,1),n.removePoint.call(i,i.data.indexOf(t),!1,!1)}),i.points=i.data.slice(),i.nodes.splice(i.nodes.indexOf(this),1);r--;)if(s[r].id===this.options.id){i.options.nodes.splice(r,1);break}this&&this.destroy(),i.isDirty=!0,i.isDirtyData=!0,t&&i.chart.redraw(t)}else i.removePoint(i.data.indexOf(this),t,e)},l.prototype.renderLink=function(){var e;this.graphic||(this.graphic=this.series.chart.renderer.path(this.getLinkPath()).addClass(this.getClassName(),!0).add(this.series.group),this.series.chart.styledMode)||(e=this.series.pointAttribs(this),this.graphic.attr(e),(this.dataLabels||[]).forEach(function(t){t&&t.attr({opacity:e.opacity})}))},e((o=l).prototype,{setState:t.setNodeState}),o}),e(t,"Series/Networkgraph/NetworkgraphSeriesDefaults.js",[],function(){return{stickyTracking:!1,inactiveOtherPoints:!0,marker:{enabled:!0,states:{inactive:{opacity:.3,animation:{duration:50}}}},states:{inactive:{linkOpacity:.3,animation:{duration:50}}},dataLabels:{formatter:function(){return this.key},linkFormatter:function(){return this.point.fromNode.name+"
"+this.point.toNode.name},linkTextPath:{enabled:!0},textPath:{enabled:!1},style:{transition:"opacity 2000ms"}},link:{color:"rgba(100, 100, 100, 0.5)",width:1},draggable:!0,layoutAlgorithm:{initialPositions:"circle",initialPositionRadius:1,enableSimulation:!1,theta:.5,maxSpeed:10,approximation:"none",type:"reingold-fruchterman",integration:"euler",maxIterations:1e3,gravitationalConstant:.0625,friction:-.981},showInLegend:!1}}),e(t,"Series/Networkgraph/EulerIntegration.js",[],function(){return{attractive:function(t,e,o,i){var s=t.getMass(),r=o.x/i*e;e*=o.y/i,t.fromNode.fixedPosition||(t.fromNode.dispX-=r*s.fromNode/t.fromNode.degree,t.fromNode.dispY-=e*s.fromNode/t.fromNode.degree),t.toNode.fixedPosition||(t.toNode.dispX+=r*s.toNode/t.toNode.degree,t.toNode.dispY+=e*s.toNode/t.toNode.degree)},attractiveForceFunction:function(t,e){return t*t/e},barycenter:function(){var o=this.options.gravitationalConstant,i=this.barycenter.xFactor,s=this.barycenter.yFactor;this.nodes.forEach(function(t){var e;t.fixedPosition||(e=t.getDegree(),t.dispX+=(i-t.plotX)*o*(e*=1+e/2)/t.degree,t.dispY+=(s-t.plotY)*o*e/t.degree)})},getK:function(t){return Math.pow(t.box.width*t.box.height/t.nodes.length,.3)},integrate:function(t,e){e.dispX+=e.dispX*t.options.friction,e.dispY+=e.dispY*t.options.friction;var o=e.temperature=t.vectorLength({x:e.dispX,y:e.dispY});0!==o&&(e.plotX+=e.dispX/o*Math.min(Math.abs(e.dispX),t.temperature),e.plotY+=e.dispY/o*Math.min(Math.abs(e.dispY),t.temperature))},repulsive:function(t,e,o,i){t.dispX+=o.x/i*e/t.degree,t.dispY+=o.y/i*e/t.degree},repulsiveForceFunction:function(t,e){return e*e/t}}}),e(t,"Series/Networkgraph/QuadTreeNode.js",[],function(){return o.prototype.divideBox=function(){var t=this.box.width/2,e=this.box.height/2;this.nodes[0]=new o({left:this.box.left,top:this.box.top,width:t,height:e}),this.nodes[1]=new o({left:this.box.left+t,top:this.box.top,width:t,height:e}),this.nodes[2]=new o({left:this.box.left+t,top:this.box.top+e,width:t,height:e}),this.nodes[3]=new o({left:this.box.left,top:this.box.top+e,width:t,height:e})},o.prototype.getBoxPosition=function(t){var e=t.plotY]*width\s*=\s*"?(\d+)"?[^>]*>/)[1]*d,i=r.match(/^]*height\s*=\s*"?(\d+)"?[^>]*>/)[1]*d;e.width=o,e.height=i,b.canvg?t():(u=!0,C(g+"canvg.js",function(){t()}))},a,a,function(){u&&s()}))},v.getScript=C,v.imageToDataUrl=L,v.svgToDataUrl=j,v.svgToPdf=O,s}),e(t,"masters/modules/offline-exporting.src.js",[t["Core/Globals.js"],t["Extensions/OfflineExporting/OfflineExporting.js"]],function(t,e){t.downloadSVGLocal=e.downloadSVGLocal,e.compose(t.Chart)})}); \ No newline at end of file +!function(e){"object"==typeof module&&module.exports?module.exports=e.default=e:"function"==typeof define&&define.amd?define("highcharts/modules/offline-exporting",["highcharts","highcharts/modules/exporting"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,n,o){t.hasOwnProperty(e)||(t[e]=o.apply(null,n),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Extensions/DownloadURL.js",[t["Core/Globals.js"]],function(t){var r=t.isSafari,a=t.win,l=a.document,i=a.URL||a.webkitURL||a,s=t.dataURLtoBlob=function(t){if((t=t.replace(/filename=.*;/,"").match(/data:([^;]*)(;base64)?,([0-9A-Za-z+/]+)/))&&3]*width\s*=\s*"?(\d+)"?[^>]*>/)[1]*d,i=r.match(/^]*height\s*=\s*"?(\d+)"?[^>]*>/)[1]*d;e.width=o,e.height=i,w.canvg?t():(u=!0,C(g+"canvg.js",function(){t()}))},a,a,function(){u&&s()}))},v.getScript=C,v.imageToDataUrl=L,v.svgToDataUrl=j,v.svgToPdf=O,s}),e(t,"masters/modules/offline-exporting.src.js",[t["Core/Globals.js"],t["Extensions/OfflineExporting/OfflineExporting.js"]],function(t,e){t.downloadSVGLocal=e.downloadSVGLocal,e.compose(t.Chart)})}); \ No newline at end of file diff --git a/assets/js/external/highcharts/modules/oldie-polyfills.min.js b/assets/js/external/highcharts/modules/oldie-polyfills.min.js index 7e65dd9a..5c213899 100644 --- a/assets/js/external/highcharts/modules/oldie-polyfills.min.js +++ b/assets/js/external/highcharts/modules/oldie-polyfills.min.js @@ -1 +1 @@ -!function(e){"object"==typeof module&&module.exports?module.exports=e.default=e:"function"==typeof define&&define.amd?define("highcharts/modules/oldie-polyfills",["highcharts"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,r,o){t.hasOwnProperty(e)||(t[e]=o.apply(null,r),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Extensions/OldiePolyfills.js",[],function(){String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}),Array.prototype.forEach||(Array.prototype.forEach=function(t,e){for(var r=0,o=this.length;r/g,"<$1title>").replace(/height=([^" ]+)/g,'height="$1"').replace(/width=([^" ]+)/g,'width="$1"').replace(/hc-svg-href="([^"]+)">/g,'xlink:href="$1"/>').replace(/ id=([^" >]+)/g,' id="$1"').replace(/class=([^" >]+)/g,'class="$1"').replace(/ transform /g," ").replace(/:(path|rect)/g,"$1").replace(/style="([^"]+)"/g,function(t){return t.toLowerCase()})},t.prototype.isReadyToRender=function(){var t=this;return!(!p&&u==u.top&&"complete"!==d.readyState)||(d.attachEvent("onreadystatechange",function(){d.detachEvent("onreadystatechange",t.firstRender),"complete"===d.readyState&&t.firstRender()}),!1)},d.createElementNS||(d.createElementNS=function(t,e){return d.createElement(e)}),i.addEventListenerPolyfill=function(t,e){function i(t){t.target=t.srcElement||u,e.call(r,t)}var r=this;r.attachEvent&&(r.hcEventsIE||(r.hcEventsIE={}),e.hcKey||(e.hcKey=w()),r.hcEventsIE[e.hcKey]=i,r.attachEvent("on"+t,i))},i.removeEventListenerPolyfill=function(t,e){this.detachEvent&&(e=this.hcEventsIE[e.hcKey],this.detachEvent("on"+t,e))},(t={docMode8:d&&8===d.documentMode,init:function(t,e){var i=["<",e,' filled="f" stroked="f"'],r=["position: ","absolute",";"],n="div"===e;"shape"!==e&&!n||r.push("left:0;top:0;width:1px;height:1px;"),r.push("visibility: ",n?"hidden":"visible"),i.push(' style="',r.join(""),'"/>'),e&&(i=n||"span"===e||"img"===e?i.join(""):t.prepVML(i),this.element=R(i)),this.renderer=t},add:function(t){var e=this.renderer,i=this.element,r=e.box,n=t&&t.inverted,r=t?t.element||t:r;return t&&(this.parentGroup=t),n&&e.invertChild(i,r),r.appendChild(i),this.added=!0,this.alignOnAdd&&!this.deferUpdateTransform&&this.updateTransform(),this.onAdd&&this.onAdd(),this.className&&this.attr("class",this.className),this},updateTransform:s.prototype.htmlUpdateTransform,setSpanRotation:function(){var t=this.rotation,e=Math.cos(t*c),i=Math.sin(t*c);m(this.element,{filter:t?["progid:DXImageTransform.Microsoft.Matrix(M11=",e,", M12=",-i,", M21=",i,", M22=",e,", sizingMethod='auto expand')"].join(""):"none"})},getSpanCorrection:function(t,e,i,r,n){var o=r?Math.cos(r*c):1,s=r?Math.sin(r*c):0,a=S(this.elemHeight,this.element.offsetHeight),h=(this.xCorr=o<0&&-t,this.yCorr=s<0&&-a,o*s<0);this.xCorr+=s*e*(h?1-i:i),this.yCorr-=o*e*(r?h?i:1-i:1),n&&"left"!==n&&(this.xCorr-=t*i*(o<0?-1:1),r&&(this.yCorr-=a*i*(s<0?-1:1)),m(this.element,{textAlign:n}))},pathToVML:function(t){for(var e=t.length,i=[];e--;)E(t[e])?i[e]=Math.round(10*t[e])-5:"Z"===t[e]?i[e]="x":(i[e]=t[e],!t.isArc||"wa"!==t[e]&&"at"!==t[e]||(i[e+5]===i[e+7]&&(i[e+7]+=t[e+7]>t[e+5]?1:-1),i[e+6]===i[e+8]&&(i[e+8]+=t[e+8]>t[e+6]?1:-1)));return i.join(" ")||"x"},clip:function(t){var e,i=this;return t=t?(e=t.members,v(e,i),e.push(i),i.destroyClip=function(){v(e,i)},t.getCSS(i)):(i.destroyClip&&i.destroyClip(),{clip:i.docMode8?"inherit":"rect(auto)"}),i.css(t)},css:s.prototype.htmlCss,safeRemoveChild:function(t){t.parentNode&&g(t)},destroy:function(){return this.destroyClip&&this.destroyClip(),s.prototype.destroy.apply(this)},on:function(t,e){return this.element["on"+t]=function(){var t=u.event;t.target=t.srcElement,e(t)},this},cutOffPath:function(t,e){var i=(t=t.split(/[ ,]/)).length;return 9!==i&&11!==i||(t[i-4]=t[i-2]=b(t[i-2])-10*e),t.join(" ")},shadow:function(t,e,i){var r=[],n=this.element,o=this.renderer,s=n.style,a=n.path,h=a=a&&"string"!=typeof a.value?"x":a;if(t){for(var l=S(t.width,3),c=(t.opacity||.15)/l,d=1;d<=3;d++){var p=2*l+1-2*d,u=[''],f=R(o.prepVML(u),null,{left:b(s.left)+S(t.offsetX,1)+"px",top:b(s.top)+S(t.offsetY,1)+"px"});i&&(f.cutOff=1+p),u=[''],R(o.prepVML(u),null,null,f),e?e.element.appendChild(f):n.parentNode.insertBefore(f,n),r.push(f)}this.shadows=r}return this},updateShadows:e,setAttr:function(t,e){this.docMode8?this.element[t]=e:this.element.setAttribute(t,e)},getAttr:function(t){return this.docMode8?this.element[t]:this.element.getAttribute(t)},classSetter:function(t){(this.added?this.element:this).className=t},dashstyleSetter:function(t,e,i){(i.getElementsByTagName("stroke")[0]||R(this.renderer.prepVML([""]),null,null,i))[e]=t||"solid",this[e]=t},dSetter:function(t,e,i){var r=this.shadows;if(this.d=(t=t||[]).join&&t.join(" "),i.path=t=this.pathToVML(t),r)for(i=r.length;i--;)r[i].path=r[i].cutOff?this.cutOffPath(t,r[i].cutOff):t;this.setAttr(e,t)},fillSetter:function(t,e,i){var r=i.nodeName;"SPAN"===r?i.style.color=t:"IMG"!==r&&(i.filled="none"!==t,this.setAttr("fillcolor",this.renderer.color(t,i,e,this)))},"fill-opacitySetter":function(t,e,i){R(this.renderer.prepVML(["<",e.split("-")[0],' opacity="',t,'"/>']),null,null,i)},opacitySetter:e,rotationSetter:function(t,e,i){i=i.style,this[e]=i[e]=t,i.left=-Math.round(Math.sin(t*c)+1)+"px",i.top=Math.round(Math.cos(t*c))+"px"},strokeSetter:function(t,e,i){this.setAttr("strokecolor",this.renderer.color(t,i,e,this))},"stroke-widthSetter":function(t,e,i){i.stroked=!!t,this[e]=t,E(t)&&(t+="px"),this.setAttr("strokeweight",t)},titleSetter:function(t,e){this.setAttr(e,t)},visibilitySetter:function(e,i,t){"inherit"===e&&(e="visible"),this.shadows&&this.shadows.forEach(function(t){t.style[i]=e}),"DIV"===t.nodeName&&(e="hidden"===e?"-999em":0,this.docMode8||(t.style[i]=e?"visible":"hidden"),i="top"),t.style[i]=e},xSetter:function(t,e,i){this[e]=t,"x"===e?e="left":"y"===e&&(e="top"),this.updateClipping?(this[e]=t,this.updateClipping()):i.style[e]=t},zIndexSetter:function(t,e,i){i.style[e]=t},fillGetter:function(){return this.getAttr("fillcolor")||""},strokeGetter:function(){return this.getAttr("strokecolor")||""},classGetter:function(){return this.getAttr("className")||""}})["stroke-opacitySetter"]=t["fill-opacitySetter"],i.VMLElement=t=r(s,t),t.prototype.ySetter=t.prototype.widthSetter=t.prototype.heightSetter=t.prototype.xSetter,t={Element:t,isIE8:-1'],R(V.prepVML(n),null,null,e)},b=t[0],w=t[t.length-1],0",' xmlns="urn:schemas-microsoft-com:vml" />')).indexOf('style="')?t.replace("/>",' style="display:inline-block;behavior:url(#default#VML);" />'):t.replace('style="','style="display:inline-block;behavior:url(#default#VML);'):t.replace("<","/g,"<$1title>").replace(/height=([^" ]+)/g,'height="$1"').replace(/width=([^" ]+)/g,'width="$1"').replace(/hc-svg-href="([^"]+)">/g,'xlink:href="$1"/>').replace(/ id=([^" >]+)/g,' id="$1"').replace(/class=([^" >]+)/g,'class="$1"').replace(/ transform /g," ").replace(/:(path|rect)/g,"$1").replace(/style="([^"]+)"/g,function(t){return t.toLowerCase()})},t.prototype.isReadyToRender=function(){var t=this;return!(!p&&u==u.top&&"complete"!==d.readyState)||(d.attachEvent("onreadystatechange",function(){d.detachEvent("onreadystatechange",t.firstRender),"complete"===d.readyState&&t.firstRender()}),!1)},d.createElementNS||(d.createElementNS=function(t,e){return d.createElement(e)}),r.addEventListenerPolyfill=function(t,e){function i(t){t.target=t.srcElement||u,e.call(r,t)}var r=this;r.attachEvent&&(r.hcEventsIE||(r.hcEventsIE={}),e.hcKey||(e.hcKey=w()),r.hcEventsIE[e.hcKey]=i,r.attachEvent("on"+t,i))},r.removeEventListenerPolyfill=function(t,e){this.detachEvent&&(e=this.hcEventsIE[e.hcKey],this.detachEvent("on"+t,e))},(t={docMode8:d&&8===d.documentMode,init:function(t,e){var i=["<",e,' filled="f" stroked="f"'],r=["position: ","absolute",";"],n="div"===e;"shape"!==e&&!n||r.push("left:0;top:0;width:1px;height:1px;"),r.push("visibility: ",n?"hidden":"visible"),i.push(' style="',r.join(""),'"/>'),e&&(i=n||"span"===e||"img"===e?i.join(""):t.prepVML(i),this.element=R(i)),this.renderer=t},add:function(t){var e=this.renderer,i=this.element,r=e.box,n=t&&t.inverted,r=t?t.element||t:r;return t&&(this.parentGroup=t),n&&e.invertChild(i,r),r.appendChild(i),this.added=!0,this.alignOnAdd&&!this.deferUpdateTransform&&this.updateTransform(),this.onAdd&&this.onAdd(),this.className&&this.attr("class",this.className),this},updateTransform:s.prototype.htmlUpdateTransform,setSpanRotation:function(){var t=this.rotation,e=Math.cos(t*c),i=Math.sin(t*c);m(this.element,{filter:t?["progid:DXImageTransform.Microsoft.Matrix(M11=",e,", M12=",-i,", M21=",i,", M22=",e,", sizingMethod='auto expand')"].join(""):"none"})},getSpanCorrection:function(t,e,i,r,n){var o=r?Math.cos(r*c):1,s=r?Math.sin(r*c):0,a=S(this.elemHeight,this.element.offsetHeight),h=(this.xCorr=o<0&&-t,this.yCorr=s<0&&-a,o*s<0);this.xCorr+=s*e*(h?1-i:i),this.yCorr-=o*e*(r?h?i:1-i:1),n&&"left"!==n&&(this.xCorr-=t*i*(o<0?-1:1),r&&(this.yCorr-=a*i*(s<0?-1:1)),m(this.element,{textAlign:n}))},pathToVML:function(t){for(var e=t.length,i=[];e--;)E(t[e])?i[e]=Math.round(10*t[e])-5:"Z"===t[e]?i[e]="x":(i[e]=t[e],!t.isArc||"wa"!==t[e]&&"at"!==t[e]||(i[e+5]===i[e+7]&&(i[e+7]+=t[e+7]>t[e+5]?1:-1),i[e+6]===i[e+8]&&(i[e+8]+=t[e+8]>t[e+6]?1:-1)));return i.join(" ")||"x"},clip:function(t){var e,i=this;return t=t?(e=t.members,v(e,i),e.push(i),i.destroyClip=function(){v(e,i)},t.getCSS(i)):(i.destroyClip&&i.destroyClip(),{clip:i.docMode8?"inherit":"rect(auto)"}),i.css(t)},css:s.prototype.htmlCss,safeRemoveChild:function(t){t.parentNode&&g(t)},destroy:function(){return this.destroyClip&&this.destroyClip(),s.prototype.destroy.apply(this)},on:function(t,e){return this.element["on"+t]=function(){var t=u.event;t.target=t.srcElement,e(t)},this},cutOffPath:function(t,e){var i=(t=t.split(/[ ,]/)).length;return 9!==i&&11!==i||(t[i-4]=t[i-2]=b(t[i-2])-10*e),t.join(" ")},shadow:function(t,e,i){var r=[],n=this.element,o=this.renderer,s=n.style,a=n.path,h=a=a&&"string"!=typeof a.value?"x":a;if(t){for(var l=S(t.width,3),c=(t.opacity||.15)/l,d=1;d<=3;d++){var p=2*l+1-2*d,u=[''],f=R(o.prepVML(u),null,{left:b(s.left)+S(t.offsetX,1)+"px",top:b(s.top)+S(t.offsetY,1)+"px"});i&&(f.cutOff=1+p),u=[''],R(o.prepVML(u),null,null,f),e?e.element.appendChild(f):n.parentNode.insertBefore(f,n),r.push(f)}this.shadows=r}return this},updateShadows:i,setAttr:function(t,e){this.docMode8?this.element[t]=e:this.element.setAttribute(t,e)},getAttr:function(t){return this.docMode8?this.element[t]:this.element.getAttribute(t)},classSetter:function(t){(this.added?this.element:this).className=t},dashstyleSetter:function(t,e,i){(i.getElementsByTagName("stroke")[0]||R(this.renderer.prepVML([""]),null,null,i))[e]=t||"solid",this[e]=t},dSetter:function(t,e,i){var r=this.shadows;if(this.d=(t=t||[]).join&&t.join(" "),i.path=t=this.pathToVML(t),r)for(i=r.length;i--;)r[i].path=r[i].cutOff?this.cutOffPath(t,r[i].cutOff):t;this.setAttr(e,t)},fillSetter:function(t,e,i){var r=i.nodeName;"SPAN"===r?i.style.color=t:"IMG"!==r&&(i.filled="none"!==t,this.setAttr("fillcolor",this.renderer.color(t,i,e,this)))},"fill-opacitySetter":function(t,e,i){R(this.renderer.prepVML(["<",e.split("-")[0],' opacity="',t,'"/>']),null,null,i)},opacitySetter:i,rotationSetter:function(t,e,i){i=i.style,this[e]=i[e]=t,i.left=-Math.round(Math.sin(t*c)+1)+"px",i.top=Math.round(Math.cos(t*c))+"px"},strokeSetter:function(t,e,i){this.setAttr("strokecolor",this.renderer.color(t,i,e,this))},"stroke-widthSetter":function(t,e,i){i.stroked=!!t,this[e]=t,E(t)&&(t+="px"),this.setAttr("strokeweight",t)},titleSetter:function(t,e){this.setAttr(e,t)},visibilitySetter:function(e,i,t){"inherit"===e&&(e="visible"),this.shadows&&this.shadows.forEach(function(t){t.style[i]=e}),"DIV"===t.nodeName&&(e="hidden"===e?"-999em":0,this.docMode8||(t.style[i]=e?"visible":"hidden"),i="top"),t.style[i]=e},xSetter:function(t,e,i){this[e]=t,"x"===e?e="left":"y"===e&&(e="top"),this.updateClipping?(this[e]=t,this.updateClipping()):i.style[e]=t},zIndexSetter:function(t,e,i){i.style[e]=t},fillGetter:function(){return this.getAttr("fillcolor")||""},strokeGetter:function(){return this.getAttr("strokecolor")||""},classGetter:function(){return this.getAttr("className")||""}})["stroke-opacitySetter"]=t["fill-opacitySetter"],r.VMLElement=t=e(s,t),t.prototype.ySetter=t.prototype.widthSetter=t.prototype.heightSetter=t.prototype.xSetter,t={Element:t,isIE8:-1'],R(V.prepVML(n),null,null,e)},b=t[0],w=t[t.length-1],0",' xmlns="urn:schemas-microsoft-com:vml" />')).indexOf('style="')?t.replace("/>",' style="display:inline-block;behavior:url(#default#VML);" />'):t.replace('style="','style="display:inline-block;behavior:url(#default#VML);'):t.replace("<","i+s;)n.height-=i,e=e.hangsFrom;else n.height-=i,this.chart.inverted||(n.y+=i);t.nodeHeight=this.chart.inverted?n.width:n.height},u.defaultOptions=p(a.defaultOptions,{borderColor:"#666666",borderRadius:3,linkRadius:10,borderWidth:1,dataLabels:{nodeFormatter:function(){function t(i){return Object.keys(i).reduce(function(t,e){return t+e+":"+i[e]+";"},'style="')+'"'}var e={width:"100%",height:"100%",display:"flex","flex-direction":"row","align-items":"center","justify-content":"center"},i={"max-height":"100%","border-radius":"50%"},o={width:"100%",padding:0,"text-align":"center","white-space":"normal"};return this.point.image&&(i["max-width"]="30%",o.width="70%"),this.series.chart.renderer.forExport&&(e.display="block",o.position="absolute",o.left=this.point.image?"30%":0,o.top=0),e="

",this.point.image&&(e+='"),e+="
",this.point.name&&(e+="

"+this.point.name+"

"),this.point.title&&(e+="

"+(this.point.title||"")+"

"),this.point.description&&(e+="

"+this.point.description+"

"),e+"
"},style:{fontWeight:"normal",fontSize:"13px"},useHTML:!0},hangingIndent:20,hangingIndentTranslation:"inherit",linkColor:"#666666",linkLineWidth:1,minNodeLength:10,nodeWidth:50,tooltip:{nodeFormat:"{point.name}
{point.title}
{point.description}"}}),r((i=u).prototype,{pointClass:t}),e.registerSeriesType("organization",i),i}),e(t,"masters/modules/organization.src.js",[],function(){})}); \ No newline at end of file +!function(i){"object"==typeof module&&module.exports?module.exports=i.default=i:"function"==typeof define&&define.amd?define("highcharts/modules/organization",["highcharts","highcharts/modules/sankey"],function(t){return i(t),i.Highcharts=t,i}):i("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function i(t,i,o,e){t.hasOwnProperty(i)||(t[i]=e.apply(null,o),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:i,module:t[i]}})))}i(t=t?t._modules:{},"Series/Organization/OrganizationPoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,i){var e,r,o=this&&this.__extends||(e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var o in i)i.hasOwnProperty(o)&&(t[o]=i[o])})(t,i)},function(t,i){function o(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}),s=i.defined,a=i.find,h=i.pick;return r=t.seriesTypes.sankey.prototype.pointClass,o(n,r),n.prototype.getSum=function(){return 1},n.prototype.setNodeColumn=function(){r.prototype.setNodeColumn.call(this);var o=this,t=o.getFromNode().fromNode;if(!s(o.options.column)&&0!==o.linksTo.length&&t&&"hanging"===t.options.layout){o.options.layout=h(o.options.layout,"hanging"),o.hangsFrom=t;var e=-1;a(t.linksFrom,function(t,i){return(t=t.toNode===o)&&(e=i),t});for(var i=0;i",r&&(i+='"),i+="
",this.point.name&&(i+="

"+this.point.name+"

"),s&&(i+="

"+(s||"")+"

"),n&&(i+="

"+n+"

"),i+"
"},style:{fontWeight:"normal",fontSize:"13px"},useHTML:!0},hangingIndent:20,hangingIndentTranslation:"inherit",minNodeLength:10,nodeWidth:50,tooltip:{nodeFormat:"{point.name}
{point.title}
{point.description}"}}}),i(t,"Series/PathUtilities.js",[],function(){return{curvedPath:function(t,i){for(var o=[],e=0;eo+s;)n.height-=o,i=i.hangsFrom;else n.height-=o,this.chart.inverted||(n.y+=o);t.nodeHeight=this.chart.inverted?n.width:n.height},d.defaultOptions=l(h.defaultOptions,i),s((e=d).prototype,{pointClass:t}),o.registerSeriesType("organization",e),e}),i(t,"masters/modules/organization.src.js",[],function(){})}); \ No newline at end of file diff --git a/assets/js/external/highcharts/modules/parallel-coordinates.min.js b/assets/js/external/highcharts/modules/parallel-coordinates.min.js index 6ef1c2db..3d47080c 100644 --- a/assets/js/external/highcharts/modules/parallel-coordinates.min.js +++ b/assets/js/external/highcharts/modules/parallel-coordinates.min.js @@ -1 +1 @@ -!function(e){"object"==typeof module&&module.exports?module.exports=e.default=e:"function"==typeof define&&define.amd?define("highcharts/modules/parallel-coordinates",["highcharts"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,i,s){t.hasOwnProperty(e)||(t[e]=s.apply(null,i),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Extensions/ParallelCoordinates.js",[t["Core/Axis/Axis.js"],t["Core/Chart/Chart.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/DefaultOptions.js"],t["Core/Series/Series.js"],t["Core/Utilities.js"]],function(t,e,i,s,a,o,r){function l(t){var e,i,s,a=this.series&&this.series.chart,o=t.apply(this,Array.prototype.slice.call(arguments,1));return a&&a.hasParallelCoordinates&&!f(o.formattedValue)&&(s=(i=a.yAxis[this.x]).options,a=(e=A(s.tooltipValueFormat,s.labels.format))?h(e,x(this,{value:this.y}),a):i.dateTime?a.time.dateFormat(a.time.resolveDTLFormat(s.dateTimeLabelFormats[i.tickPositions.info.unitName]).main,this.y):s.categories?s.categories[this.y]:this.y,o.formattedValue=o.point.formattedValue=a),o}var n,h=i.format,p=(i=a.setOptions,r.addEvent),c=r.arrayMax,d=r.arrayMin,f=r.defined,u=r.erase,x=r.extend,y=r.isNumber,m=r.merge,A=r.pick,C=r.splat,v=r.wrap,g=(r=e.prototype,{lineWidth:0,tickLength:0,opposite:!0,type:"category"}),P=(i({chart:{parallelCoordinates:!1,parallelAxes:{lineWidth:1,title:{text:"",reserveSpace:!1},labels:{x:0,y:4,align:"center",reserveSpace:!1},offset:0}}}),p(e,"init",function(t){t=t.args[0];var e=C(t.yAxis||{}),i=[],s=e.length;if(this.hasParallelCoordinates=t.chart&&t.chart.parallelCoordinates){for(this.setParallelInfo(t);s<=this.parallelInfo.counter;s++)i.push({});t.legend||(t.legend={}),void 0===t.legend.enabled&&(t.legend.enabled=!1),m(!0,t,{boost:{seriesThreshold:Number.MAX_VALUE},plotOptions:{series:{boostThreshold:Number.MAX_VALUE}}}),t.yAxis=e.concat(i),t.xAxis=m(g,C(t.xAxis||{})[0])}}),p(e,"update",function(t){(t=t.options).chart&&(f(t.chart.parallelCoordinates)&&(this.hasParallelCoordinates=t.chart.parallelCoordinates),this.options.chart.parallelAxes=m(this.options.chart.parallelAxes,t.chart.parallelAxes)),this.hasParallelCoordinates&&(t.series&&this.setParallelInfo(t),this.yAxis.forEach(function(t){t.update({},!1)}))}),x(r,{setParallelInfo:function(t){var e=this;t=t.series,e.parallelInfo={counter:0},t.forEach(function(t){t.data&&(e.parallelInfo.counter=Math.max(e.parallelInfo.counter,t.data.length-1))})}}),p(o,"bindAxes",function(t){var e;this.chart.hasParallelCoordinates&&((e=this).chart.axes.forEach(function(t){e.insert(t.series),t.isDirty=!0}),e.xAxis=this.chart.xAxis[0],e.yAxis=this.chart.yAxis[0],t.preventDefault())}),p(o,"afterTranslate",function(){var t,e=this.chart,i=this.points,s=i&&i.length,a=Number.MAX_VALUE;if(this.chart.hasParallelCoordinates){for(t=0;tMath.PI;)t-=e;return e=Math.tan(t),-sMath.PI-s||t<=-(Math.PI-s)?(l=-1,h=!0):l=-1,h?(M+=l*a,d+=y*a*e):(M+=o/(2*e)*l,d+=y*c),i.x!==x&&(M=i.x),i.y!==r&&(d=i.y),{x:M+n*Math.cos(t),y:d-n*Math.sin(t)}}}),n}),n(t,"Gantt/PathfinderAlgorithms.js",[t["Core/Utilities.js"]],function(t){function b(t,n,i){i=i||0;var e,r,a=t.length-1;for(n-=1e-7;i<=a;)if(0<(r=n-t[e=a+i>>1].xMin))i=1+e;else{if(!(r<0))return e;a=e-1}return 0=n.x)&&(i=t[e],i=n.x<=i.xMax&&n.x>=i.xMin&&n.y<=i.yMax&&n.y>=i.yMin),i)return e;return-1}function k(t){var n=[];if(t.length){n.push(["M",t[0].start.x,t[0].start.y]);for(var i=0;i=e.x);){if(m[h].xMin<=o.x&&m[h].xMax>=e.x&&m[h].yMin<=s.y&&m[h].yMax>=r.y)return i?{y:t.y,x:t.x=a[s+"Max"],a=t[s+"Min"]<=a[s+"Min"],t[s+"Max"]>=o[s+"Max"]),o=t[s+"Min"]<=o[s+"Min"],M=j(t[s+"Min"]-n[s]),d=j(t[s+"Max"]-n[s]);return i=j(M-d)<10?n[s]j(n.y-t.y)),h=s?"x":"y",c=[],d=!1,y=x.obstacleMetrics,p=C(t.x,n.x)-y.maxWidth-10,f=A(t.x,n.x)+y.maxWidth+10,u=C(t.y,n.y)-y.maxHeight-10,g=A(t.y,n.y)+y.maxHeight+10,m=x.chartObstacles,v=b(m,p),y=b(m,f);for(-1<(y=P(m=m.slice(v,y+1),n))&&(e=m[y],r=n,a=t,o=C(e.xMax-r.x,r.x-e.xMin)j(n[i]-t[i+"Max"]);return r(n,i,t,i+(e?"Max":"Min"),e?1:-1)}var a,o=[],s=w(i.startDirectionX,j(n.x-t.x)>j(n.y-t.y))?"x":"y",h=i.chartObstacles,c=P(h,t),x=-1<(i=P(h,n))?(a={start:i=e(a=h[i],n,s),end:n},i):n;return-1=t[s]==i[s]>=x[s]&&(n=t[s="y"===s?"x":"y"]n.yMin-i&&t.yMin-in.xMin-i&&t.xMin-in.xMax?t.xMin-n.xMax:n.xMin-t.xMax:1/0,o=r?t.yMin>n.yMax?t.yMin-n.yMax:n.yMin-t.yMax:1/0;return r&&e?i?s(t,n,Math.floor(i/2)):1/0:u(a,o)}for(var n,i,e=t.length,r=0,a=[];rMath.PI;)t-=e;return e=Math.tan(t),-sMath.PI-s||t<=-(Math.PI-s)?(l=-1,h=!0):l=-1,h?(M+=l*a,d+=y*a*e):(M+=o/(2*e)*l,d+=y*c),i.x!==x&&(M=i.x),i.y!==r&&(d=i.y),{x:M+n*Math.cos(t),y:d-n*Math.sin(t)}}}),t.prototype.callbacks.push(function(t){!1!==t.options.connectors.enabled&&(((t=t).options.pathfinder||t.series.reduce(function(t,n){return n.options&&h(!0,n.options.connectors=n.options.connectors||{},n.options.pathfinder),t||n.options&&n.options.pathfinder},!1))&&(h(!0,t.options.connectors=t.options.connectors||{},t.options.pathfinder),o('WARNING: Pathfinder options have been renamed. Use "chart.connectors" or "series.connectors" instead.')),this.pathfinder=new g(this),this.pathfinder.update(!0))}),g}),n(t,"masters/modules/pathfinder.src.js",[],function(){})}); \ No newline at end of file +!function(n){"object"==typeof module&&module.exports?module.exports=n.default=n:"function"==typeof define&&define.amd?define("highcharts/modules/pathfinder",["highcharts"],function(t){return n(t),n.Highcharts=t,n}):n("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function n(t,n,i,r){t.hasOwnProperty(n)||(t[n]=r.apply(null,i),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:n,module:t[n]}})))}n(t=t?t._modules:{},"Extensions/ArrowSymbols.js",[t["Core/Renderer/SVG/SVGRenderer.js"]],function(t){function e(t,n,i,r){return[["M",t,n+r/2],["L",t+i,n],["L",t,n+r/2],["L",t+i,n+r]]}function a(t,n,i,r){return[["M",t+i,n],["L",t,n+r/2],["L",t+i,n+r],["Z"]]}function n(t,n,i,r){return a(t,n,i/2,r)}return(t=t.prototype.symbols).arrow=e,t["arrow-filled"]=a,t["arrow-filled-half"]=n,t["arrow-half"]=function(t,n,i,r){return e(t,n,i/2,r)},t["triangle-left"]=a,t["triangle-left-half"]=n,t}),n(t,"Gantt/Connection.js",[t["Core/Defaults.js"],t["Core/Globals.js"],t["Core/Series/Point.js"],t["Core/Utilities.js"]],function(t,n,i,r){function p(t){var n=t.shapeArgs;return n?{xMin:n.x||0,xMax:(n.x||0)+(n.width||0),yMin:n.y||0,yMax:(n.y||0)+(n.height||0)}:(n=t.graphic&&t.graphic.getBBox())?{xMin:t.plotX-n.width/2,xMax:t.plotX+n.width/2,yMin:t.plotY-n.height/2,yMax:t.plotY+n.height/2}:null}var e=t.defaultOptions,o=r.defined,a=r.error,s=(t=r.extend,r.merge),h=r.objectEach,c=n.deg2rad,x=Math.max,M=Math.min;function d(t,n,i){this.toPoint=this.pathfinder=this.graphics=this.fromPoint=this.chart=void 0,this.init(t,n,i)}return t(e,{connectors:{type:"straight",lineWidth:1,marker:{enabled:!1,align:"center",verticalAlign:"middle",inside:!1,lineWidth:1},startMarker:{symbol:"diamond"},endMarker:{symbol:"arrow-filled"}}}),d.prototype.init=function(t,n,i){this.fromPoint=t,this.toPoint=n,this.options=i,this.chart=t.series.chart,this.pathfinder=this.chart.pathfinder},d.prototype.renderPath=function(t,n,i){var r=this.chart,e=r.styledMode,a=r.pathfinder,o=!r.options.chart.forExport&&!1!==i,s=this.graphics&&this.graphics.path;a.group||(a.group=r.renderer.g().addClass("highcharts-pathfinder-group").attr({zIndex:-1}).add(r.seriesGroup)),a.group.translate(r.plotLeft,r.plotTop),s&&s.renderer||(s=r.renderer.path().add(a.group),e||s.attr({opacity:0})),s.attr(n),t={d:t},e||(t.opacity=1),s[o?"animate":"attr"](t,i),this.graphics=this.graphics||{},this.graphics.path=s},d.prototype.addMarker=function(t,n,i){var r,e,a=(o=this.fromPoint.series.chart).pathfinder,o=o.renderer,s="start"===t?this.fromPoint:this.toPoint,h=s.getPathfinderAnchorPoint(n);n.enabled&&((i="start"===t?i[1]:i[i.length-2])&&"M"===i[0]||"L"===i[0])&&(i={x:i[1],y:i[2]},i=s.getRadiansToVector(i,h),h=s.getMarkerVector(i,n.radius,h),i=-i/c,n.width&&n.height?(r=n.width,e=n.height):r=e=2*n.radius,this.graphics=this.graphics||{},h={x:h.x-r/2,y:h.y-e/2,width:r,height:e,rotation:i,rotationOriginX:h.x,rotationOriginY:h.y},this.graphics[t]?this.graphics[t].animate(h):(this.graphics[t]=o.symbol(n.symbol).addClass("highcharts-point-connecting-path-"+t+"-marker").attr(h).add(a.group),o.styledMode||this.graphics[t].attr({fill:n.color||this.fromPoint.color,stroke:n.lineColor,"stroke-width":n.lineWidth,opacity:0}).animate({opacity:1},s.series.options.animation)))},d.prototype.getPath=function(t){var n=this.pathfinder,i=this.chart,r=n.algorithms[t.type],e=n.chartObstacles;return"function"!=typeof r?(a('"'+t.type+'" is not a Pathfinder algorithm.'),{path:[],obstacles:[]}):(r.requiresObstacles&&!e&&(e=n.chartObstacles=n.getChartObstacles(t),i.options.connectors.algorithmMargin=t.algorithmMargin,n.chartObstacleMetrics=n.getObstacleMetrics(e)),r(this.fromPoint.getPathfinderAnchorPoint(t.startMarker),this.toPoint.getPathfinderAnchorPoint(t.endMarker),s({chartObstacles:e,lineObstacles:n.lineObstacles||[],obstacleMetrics:n.chartObstacleMetrics,hardBounds:{xMin:0,xMax:i.plotWidth,yMin:0,yMax:i.plotHeight},obstacleOptions:{margin:t.algorithmMargin},startDirectionX:n.getAlgorithmStartDirection(t.startMarker)},t)))},d.prototype.render=function(){var t=this.fromPoint,n=t.series,i=n.chart,r=i.pathfinder,e=s(i.options.connectors,n.options.connectors,t.options.connectors,this.options),a={};i.styledMode||(a.stroke=e.lineColor||t.color,a["stroke-width"]=e.lineWidth,e.dashStyle&&(a.dashstyle=e.dashStyle)),a.class="highcharts-point-connecting-path highcharts-color-"+t.colorIndex,e=s(a,e),o(e.marker.radius)||(e.marker.radius=M(x(Math.ceil((e.algorithmMargin||8)/2)-1,1),5)),i=(t=this.getPath(e)).path,t.obstacles&&(r.lineObstacles=r.lineObstacles||[],r.lineObstacles=r.lineObstacles.concat(t.obstacles)),this.renderPath(i,a,n.options.animation),this.addMarker("start",s(e.marker,e.startMarker),i),this.addMarker("end",s(e.marker,e.endMarker),i)},d.prototype.destroy=function(){this.graphics&&(h(this.graphics,function(t){t.destroy()}),delete this.graphics)},n.Connection=r=d,t(i.prototype,{getPathfinderAnchorPoint:function(t){var n=p(this);switch(t.align){case"right":var i="xMax";break;case"left":i="xMin"}switch(t.verticalAlign){case"top":var r="yMin";break;case"bottom":r="yMax"}return{x:i?n[i]:(n.xMin+n.xMax)/2,y:r?n[r]:(n.yMin+n.yMax)/2}},getRadiansToVector:function(t,n){var i;return o(n)||(i=p(this))&&(n={x:(i.xMin+i.xMax)/2,y:(i.yMin+i.yMax)/2}),Math.atan2(n.y-t.y,t.x-n.x)},getMarkerVector:function(t,n,i){for(var r=2*Math.PI,e=p(this),a=e.xMax-e.xMin,o=e.yMax-e.yMin,s=Math.atan2(o,a),h=!1,c=o/2,x=e.xMin+(a/=2),M=x,d=e=e.yMin+c,l=1,y=1;t<-Math.PI;)t+=r;for(;t>Math.PI;)t-=r;return r=Math.tan(t),-sMath.PI-s||t<=-(Math.PI-s)?(l=-1,h=!0):l=-1,h?(M+=l*a,d+=y*a*r):(M+=o/(2*r)*l,d+=y*c),i.x!==x&&(M=i.x),i.y!==e&&(d=i.y),{x:M+n*Math.cos(t),y:d-n*Math.sin(t)}}}),r}),n(t,"Gantt/PathfinderAlgorithms.js",[t["Core/Utilities.js"]],function(t){function b(t,n,i){i=i||0;var r,e,a=t.length-1;for(n-=1e-7;i<=a;)if(0<(e=n-t[r=a+i>>1].xMin))i=1+r;else{if(!(e<0))return r;a=r-1}return 0=n.x)&&(i=t[r],i=n.x<=i.xMax&&n.x>=i.xMin&&n.y<=i.yMax&&n.y>=i.yMin),i)return r;return-1}function k(t){var n=[];if(t.length){n.push(["M",t[0].start.x,t[0].start.y]);for(var i=0;i=r.x);){if(m[h].xMin<=o.x&&m[h].xMax>=r.x&&m[h].yMin<=s.y&&m[h].yMax>=e.y)return i?{y:t.y,x:t.x=a[s+"Max"],a=t[s+"Min"]<=a[s+"Min"],t[s+"Max"]>=o[s+"Max"]),o=t[s+"Min"]<=o[s+"Min"],M=j(t[s+"Min"]-n[s]),d=j(t[s+"Max"]-n[s]);return i=j(M-d)<10?n[s]j(n.y-t.y)),h=s?"x":"y",c=[],d=!1,y=x.obstacleMetrics,p=C(t.x,n.x)-y.maxWidth-10,f=A(t.x,n.x)+y.maxWidth+10,u=C(t.y,n.y)-y.maxHeight-10,g=A(t.y,n.y)+y.maxHeight+10,m=x.chartObstacles,v=b(m,p),y=b(m,f);for(-1<(y=P(m=m.slice(v,y+1),n))&&(r=m[y],e=n,a=t,o=C(r.xMax-e.x,e.x-r.xMin)j(n[i]-t[i+"Max"]);return e(n,i,t,i+(r?"Max":"Min"),r?1:-1)}var a,o=[],s=w(i.startDirectionX,j(n.x-t.x)>j(n.y-t.y))?"x":"y",h=i.chartObstacles,c=P(h,t),x=-1<(i=P(h,n))?(a={start:i=r(a=h[i],n,s),end:n},i):n;return-1=t[s]==i[s]>=x[s]&&(n=t[s="y"===s?"x":"y"]n.yMin-i&&t.yMin-in.xMin-i&&t.xMin-in.xMax?t.xMin-n.xMax:n.xMin-t.xMax:1/0,o=e?t.yMin>n.yMax?t.yMin-n.yMax:n.yMin-t.yMax:1/0;return e&&r?i?s(t,n,Math.floor(i/2)):1/0:u(a,o)}for(var n,i,r=t.length,e=0,a=[];eMath.PI;)t-=r;return r=Math.tan(t),-sMath.PI-s||t<=-(Math.PI-s)?(l=-1,h=!0):l=-1,h?(M+=l*a,d+=y*a*r):(M+=o/(2*r)*l,d+=y*c),i.x!==x&&(M=i.x),i.y!==e&&(d=i.y),{x:M+n*Math.cos(t),y:d-n*Math.sin(t)}}}),t.prototype.callbacks.push(function(t){!1!==t.options.connectors.enabled&&(((t=t).options.pathfinder||t.series.reduce(function(t,n){return n.options&&h(!0,n.options.connectors=n.options.connectors||{},n.options.pathfinder),t||n.options&&n.options.pathfinder},!1))&&(h(!0,t.options.connectors=t.options.connectors||{},t.options.pathfinder),o('WARNING: Pathfinder options have been renamed. Use "chart.connectors" or "series.connectors" instead.')),this.pathfinder=new g(this),this.pathfinder.update(!0))}),g}),n(t,"masters/modules/pathfinder.src.js",[],function(){})}); \ No newline at end of file diff --git a/assets/js/external/highcharts/modules/pattern-fill.min.js b/assets/js/external/highcharts/modules/pattern-fill.min.js index 3adc9591..72860ca1 100644 --- a/assets/js/external/highcharts/modules/pattern-fill.min.js +++ b/assets/js/external/highcharts/modules/pattern-fill.min.js @@ -1 +1 @@ -!function(e){"object"==typeof module&&module.exports?module.exports=e.default=e:"function"==typeof define&&define.amd?define("highcharts/modules/pattern-fill",["highcharts"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,i,r){t.hasOwnProperty(e)||(t[e]=r.apply(null,i),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Extensions/PatternFill.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/DefaultOptions.js"],t["Core/Series/Point.js"],t["Core/Series/Series.js"],t["Core/Renderer/SVG/SVGRenderer.js"],t["Core/Utilities.js"]],function(t,e,i,r,h,a,n,p){function s(t,e){var i=(t=JSON.stringify(t)).length||0,r=0,a=0;if(e){e=Math.max(Math.floor(i/500),1);for(var n=0;ne.aspectRatio?e.aspectWidth=e.height*t.aspectRatio:e.aspectHeight=e.width/t.aspectRatio),t._width=t.width||Math.ceil(e.aspectWidth||e.width),t._height=t.height||Math.ceil(e.aspectHeight||e.height)}t.width||(t._x=t.x||0,t._x+=e.x-Math.round(e.aspectWidth?Math.abs(e.aspectWidth-e.width)/2:0)),t.height||(t._y=t.y||0,t._y+=e.y-Math.round(e.aspectHeight?Math.abs(e.aspectHeight-e.height)/2:0))}},n.prototype.addPattern=function(e,t){t=m(t,!0);var i,r,a=l(t),n=e.width||e._width||32,o=e.height||e._height||32,h=e.color||"#343434",s=e.id,c=this,d=function(t){c.rect(0,0,n,o).attr({fill:t}).add(r)};if(s||(this.idCounter=this.idCounter||0,s="highcharts-pattern-"+this.idCounter+"-"+(this.chartIndex||0),++this.idCounter),this.forExport&&(s+="-export"),this.defIds=this.defIds||[],!(-1e.aspectRatio?e.aspectWidth=e.height*t.aspectRatio:e.aspectHeight=e.width/t.aspectRatio),t._width=t.width||Math.ceil(e.aspectWidth||e.width),t._height=t.height||Math.ceil(e.aspectHeight||e.height)}t.width||(t._x=t.x||0,t._x+=e.x-Math.round(e.aspectWidth?Math.abs(e.aspectWidth-e.width)/2:0)),t.height||(t._y=t.y||0,t._y+=e.y-Math.round(e.aspectHeight?Math.abs(e.aspectHeight-e.height)/2:0))}},n.prototype.addPattern=function(e,t){t=m(t,!0);var i,r,a=l(t),n=e.width||e._width||32,o=e.height||e._height||32,h=e.color||"#343434",s=e.id,c=this,d=function(t){c.rect(0,0,n,o).attr({fill:t}).add(r)};if(s||(this.idCounter=this.idCounter||0,s="highcharts-pattern-"+this.idCounter+"-"+(this.chartIndex||0),++this.idCounter),this.forExport&&(s+="-export"),this.defIds=this.defIds||[],!(-1t&&i.fromNode!==this&&(t=(o=i.fromNode).column)}return{fromNode:o,fromColumn:t}},a.prototype.setNodeColumn=function(){r(this.options.column)||(this.column=0===this.linksTo.length?0:this.getFromNode().fromColumn+1)},a.prototype.isValid=function(){return this.isNode||"number"==typeof this.weight},a;function a(){var o=null!==n&&n.apply(this,arguments)||this;return o.className=void 0,o.fromNode=void 0,o.level=void 0,o.linkBase=void 0,o.linksFrom=void 0,o.linksTo=void 0,o.mass=void 0,o.nodeX=void 0,o.nodeY=void 0,o.options=void 0,o.series=void 0,o.toNode=void 0,o}}),t(o,"Series/Sankey/SankeyColumnComposition.js",[o["Core/Utilities.js"]],function(o){var t,p=o.defined,c=o.relativeLength,o=t=t||{},e=(o.compose=function(o,t){return o.sankeyColumn=new e(o,t),o},i.prototype.getTranslationFactor=function(o){for(var t,e=this.points,i=e.slice(),n=o.options.minLinkWidth||0,s=0,r=(o.chart.plotSizeY||0)-(o.options.borderWidth||0)-(e.length-1)*o.nodePadding;e.length;){for(s=r/e.sankeyColumn.sum(),o=!1,t=e.length;t--;)e[t].getSum()*sthis.chart.plotSizeY?this.chart.plotSizeY/o:t},k.prototype.hasData=function(){return!!this.processedXData.length},k.prototype.pointAttribs=function(o,t){if(!o)return{};var e=this,i=e.mapOptionsToLevel[(o.isNode?o:o.fromNode).level||0]||{},n=o.options,s=i.states&&i.states[t||""]||{},r=(t=["colorByPoint","borderColor","borderWidth","linkOpacity","opacity"].reduce(function(o,t){return o[t]=v(s[t],n[t],i[t],e.options[t]),o},{}),v(s.color,n.color,(t.colorByPoint?o:i).color));return o.isNode?{fill:r,stroke:t.borderColor,"stroke-width":t.borderWidth,opacity:t.opacity}:{fill:a.parse(r).setOpacity(t.linkOpacity).get()}},k.prototype.render=function(){var o=this.points;this.points=this.points.concat(this.nodes||[]),c.prototype.render.call(this),this.points=o},k.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints(),this.nodeColumns=this.createNodeColumns(),this.nodeWidth=y(this.options.nodeWidth,this.chart.plotSizeX);var e=this,o=this.chart,t=this.options,i=this.nodeWidth,n=this.nodeColumns;this.nodePadding=this.getNodePadding(),this.translationFactor=n.reduce(function(o,t){return Math.min(o,t.sankeyColumn.getTranslationFactor(e))},1/0),this.colDistance=(o.plotSizeX-i-t.borderWidth)/Math.max(1,n.length-1),e.mapOptionsToLevel=u({from:1,levels:t.levels,to:n.length-1,defaults:{borderColor:t.borderColor,borderRadius:t.borderRadius,borderWidth:t.borderWidth,color:e.color,colorByPoint:t.colorByPoint,levelIsConstant:!0,linkColor:t.linkColor,linkLineWidth:t.linkLineWidth,linkOpacity:t.linkOpacity,states:t.states}}),n.forEach(function(t){t.forEach(function(o){e.translateNode(o,t)})},this),this.nodes.forEach(function(o){o.linksFrom.forEach(function(o){(o.weight||o.isNull)&&o.to&&(e.translateLink(o),o.allowShadow=!1)})})},k.prototype.translateLink=function(e){var o,t,i,n,s,r,a,l,d,h,p,c,u,f=function(o,t){return t=o.offset(e,t)*g,Math.min(o.nodeY+t,o.nodeY+(o.shapeArgs&&o.shapeArgs.height||0)-k)},m=e.fromNode,v=e.toNode,y=this.chart,g=this.translationFactor,k=Math.max(e.weight*g,this.options.minLinkWidth),C=(y.inverted?-this.colDistance:this.colDistance)*this.options.curveFactor,N=f(m,"linksFrom"),f=f(v,"linksTo"),S=m.nodeX,b=this.nodeWidth,v=v.nodeX,x=e.outgoing,L=S+b{series.name}
',pointFormat:"{point.fromNode.name} → {point.toNode.name}: {point.weight}
",nodeFormat:"{point.name}: {point.sum}
"}}),t.compose(e,r=k),s(r.prototype,{animate:p.prototype.animate,createNode:t.createNode,forceDL:!0,invertible:!0,isCartesian:!1,orderNodes:!0,noSharedTooltip:!0,pointArrayMap:["from","to","weight"],pointClass:e,searchPoint:o.noop}),i.registerSeriesType("sankey",r),r}),t(o,"masters/modules/sankey.src.js",[],function(){})}); \ No newline at end of file +!function(t){"object"==typeof module&&module.exports?module.exports=t.default=t:"function"==typeof define&&define.amd?define("highcharts/modules/sankey",["highcharts"],function(o){return t(o),t.Highcharts=o,t}):t("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(o){function t(o,t,e,i){o.hasOwnProperty(t)||(o[t]=i.apply(null,e),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:t,module:o[t]}})))}t(o=o?o._modules:{},"Series/NodesComposition.js",[o["Core/Series/SeriesRegistry.js"],o["Core/Utilities.js"]],function(o,t){var e,i,n=(o=o.series).prototype,d=o.prototype.pointClass.prototype,s=t.defined,r=t.extend,a=t.find,h=t.merge,p=t.pick;function l(){return this.data=[].concat(this.points||[],this.nodes),n.destroy.apply(this,arguments)}function c(){this.nodes&&(this.nodes.forEach(function(o){o.destroy()}),this.nodes.length=0),n.setData.apply(this,arguments)}function u(o){var t=arguments,e=this.isNode?this.linksTo.concat(this.linksFrom):[this.fromNode,this.toNode];"select"!==o&&e.forEach(function(o){o&&o.series&&(d.setState.apply(o,t),o.isNode||(o.fromNode.graphic&&d.setState.apply(o.fromNode,t),o.toNode&&o.toNode.graphic&&d.setState.apply(o.toNode,t)))}),d.setState.apply(this,t)}function f(o,t,e,i){var n=this,s=this.series.options.nodes,r=this.series.options.data,a=r&&r.length||0,l=r&&r[this.index];d.update.call(this,o,!this.isNode&&t,e,i),this.isNode&&(o=(s||[]).reduce(function(o,t,e){return n.id===t.id?e:o},-1),i=h(s&&s[o]||{},r&&r[this.index]||{}),r&&(l?r[this.index]=l:r.length=a),s?0<=o?s[o]=i:s.push(i):this.series.options.nodes=[i],p(t,!0)&&this.series.chart.redraw(e))}return o=e=e||{},i=[],o.compose=function(o,t){return-1===i.indexOf(o)&&(i.push(o),(o=o.prototype).setNodeState=u,o.setState=u,o.update=f),-1===i.indexOf(t)&&(i.push(t),(o=t.prototype).destroy=l,o.setData=c),t},o.createNode=function(o){var n,t=this.pointClass,e=function(o,t){return a(o,function(o){return o.id===t})},i=e(this.nodes,o);return i||(e=this.options.nodes&&e(this.options.nodes,o),(n=(new t).init(this,r({className:"highcharts-node",isNode:!0,id:o,y:1},e))).linksTo=[],n.linksFrom=[],n.getSum=function(){var t=0,e=0;return n.linksTo.forEach(function(o){t+=o.weight||0}),n.linksFrom.forEach(function(o){e+=o.weight||0}),Math.max(t,e)},n.offset=function(o,t){for(var e=0,i=0;it&&i.fromNode!==this&&(t=(o=i.fromNode).column)}return{fromNode:o,fromColumn:t}},a.prototype.setNodeColumn=function(){r(this.options.column)||(this.column=0===this.linksTo.length?0:this.getFromNode().fromColumn+1)},a.prototype.isValid=function(){return this.isNode||"number"==typeof this.weight},a;function a(){var o=null!==n&&n.apply(this,arguments)||this;return o.className=void 0,o.fromNode=void 0,o.level=void 0,o.linkBase=void 0,o.linksFrom=void 0,o.linksTo=void 0,o.mass=void 0,o.nodeX=void 0,o.nodeY=void 0,o.options=void 0,o.series=void 0,o.toNode=void 0,o}}),t(o,"Series/Sankey/SankeySeriesDefaults.js",[],function(){return{borderWidth:0,colorByPoint:!0,curveFactor:.33,dataLabels:{enabled:!0,backgroundColor:"none",crop:!1,nodeFormat:void 0,nodeFormatter:function(){return this.point.name},format:void 0,formatter:function(){},inside:!0},inactiveOtherPoints:!0,linkOpacity:.5,opacity:1,minLinkWidth:0,nodeWidth:20,nodePadding:10,showInLegend:!1,states:{hover:{linkOpacity:1,opacity:1},inactive:{linkOpacity:.1,opacity:.1,animation:{duration:50}}},tooltip:{followPointer:!0,headerFormat:'{series.name}
',pointFormat:"{point.fromNode.name} → {point.toNode.name}: {point.weight}
",nodeFormat:"{point.name}: {point.sum}
"}}}),t(o,"Series/Sankey/SankeyColumnComposition.js",[o["Core/Utilities.js"]],function(o){var t,p=o.defined,c=o.relativeLength,o=t=t||{},e=(o.compose=function(o,t){return o.sankeyColumn=new e(o,t),o},i.prototype.getTranslationFactor=function(o){for(var t,e=this.points,i=e.slice(),n=o.options.minLinkWidth||0,s=0,r=(o.chart.plotSizeY||0)-(o.options.borderWidth||0)-(e.length-1)*o.nodePadding;e.length;){for(s=r/e.sankeyColumn.sum(),o=!1,t=e.length;t--;)e[t].getSum()*sthis.chart.plotSizeY?this.chart.plotSizeY/o:t},C.prototype.hasData=function(){return!!this.processedXData.length},C.prototype.pointAttribs=function(o,t){if(!o)return{};var e=this,i=e.mapOptionsToLevel[(o.isNode?o:o.fromNode).level||0]||{},n=o.options,s=i.states&&i.states[t||""]||{},r=(t=["colorByPoint","borderColor","borderWidth","linkOpacity","opacity"].reduce(function(o,t){return o[t]=v(s[t],n[t],i[t],e.options[t]),o},{}),v(s.color,n.color,(t.colorByPoint?o:i).color));return o.isNode?{fill:r,stroke:t.borderColor,"stroke-width":t.borderWidth,opacity:t.opacity}:{fill:a.parse(r).setOpacity(t.linkOpacity).get()}},C.prototype.drawTracker=function(){u.prototype.drawTracker.call(this,this.points),u.prototype.drawTracker.call(this,this.nodes)},C.prototype.drawPoints=function(){u.prototype.drawPoints.call(this,this.points),u.prototype.drawPoints.call(this,this.nodes)},C.prototype.drawDataLabels=function(){u.prototype.drawDataLabels.call(this,this.points),u.prototype.drawDataLabels.call(this,this.nodes)},C.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints(),this.nodeColumns=this.createNodeColumns(),this.nodeWidth=g(this.options.nodeWidth,this.chart.plotSizeX);var e=this,o=this.chart,t=this.options,i=this.nodeWidth,n=this.nodeColumns;this.nodePadding=this.getNodePadding(),this.translationFactor=n.reduce(function(o,t){return Math.min(o,t.sankeyColumn.getTranslationFactor(e))},1/0),this.colDistance=(o.plotSizeX-i-t.borderWidth)/Math.max(1,n.length-1),e.mapOptionsToLevel=f({from:1,levels:t.levels,to:n.length-1,defaults:{borderColor:t.borderColor,borderRadius:t.borderRadius,borderWidth:t.borderWidth,color:e.color,colorByPoint:t.colorByPoint,levelIsConstant:!0,linkColor:t.linkColor,linkLineWidth:t.linkLineWidth,linkOpacity:t.linkOpacity,states:t.states}}),n.forEach(function(t){t.forEach(function(o){e.translateNode(o,t)})},this),this.nodes.forEach(function(o){o.linksFrom.forEach(function(o){(o.weight||o.isNull)&&o.to&&(e.translateLink(o),o.allowShadow=!1)})})},C.prototype.translateLink=function(e){var o,t,i,n,s,r,a,l,d,h,p,c,u,f=function(o,t){return t=o.offset(e,t)*g,Math.min(o.nodeY+t,o.nodeY+(o.shapeArgs&&o.shapeArgs.height||0)-k)},m=e.fromNode,y=e.toNode,v=this.chart,g=this.translationFactor,k=Math.max(e.weight*g,this.options.minLinkWidth),C=(v.inverted?-this.colDistance:this.colDistance)*this.options.curveFactor,S=f(m,"linksFrom"),f=f(y,"linksTo"),N=m.nodeX,b=this.nodeWidth,y=y.nodeX,x=e.outgoing,L=N+bt.right||e.rightt.bottom||e.bottom=e-16&&m[n-1].chartX<=e+r.width+16){if(g(e,o,r.width,r.height,m[n-1].chartX,m[n-1].chartY,m[n].chartX,m[n].chartY))return!1;t===b&&!a&&i&&(a=g(e-16,o-16,r.width+32,r.height+32,m[n-1].chartX,m[n-1].chartY,m[n].chartX,m[n].chartY))}!l&&!a||t===b&&!h||(u=e+r.width/2-m[n].chartX,f=o+r.height/2-m[n].chartY,c=Math.min(c,u*u+f*f))}if(!h&&l&&t===b&&(i&&!a||ct.right||e.rightt.bottom||e.bottom=e-16&&l[g-1].chartX<=e+o.width+16){if(X(e,r,o.width,o.height,l[g-1].chartX,l[g-1].chartY,l[g].chartX,l[g].chartY))return!1;t===u&&!m&&a&&(m=X(e-16,r-16,o.width+32,o.height+32,l[g-1].chartX,l[g-1].chartY,l[g].chartX,l[g].chartY))}!h&&!m||t===u&&!s||(f=e+o.width/2-l[g].chartX,x=r+o.height/2-l[g].chartY,c=Math.min(c,f*f+x*x))}if(!s&&h&&t===u&&(a&&!m||cs[e][0]););n=s[e]||s[e+1],t=1-((s=s[e+1]||n)[0]-t)/(s[0]-n[0]||1),a=n.color.tweenTo(s.color,t)}return a}},e.init=function(t){i(t,s)},e}),o(t,"Series/SolidGauge/SolidGaugeComposition.js",[t["Core/Renderer/SVG/SVGRenderer.js"]],function(t){var r=(t=t.prototype).symbols.arc;t.symbols.arc=function(t,o,e,s,i){return t=r(t,o,e,s,i),i&&i.rounded&&(e=((i.r||e)-(i.innerR||0))/2,o=t[0],i=t[2],"M"===o[0]&&"L"===i[0]&&(o=["A",e,e,0,1,1,o[1],o[2]],t[2]=["A",e,e,0,1,1,i[1],i[2]],t[4]=o)),t}}),o(t,"Series/SolidGauge/SolidGaugeSeries.js",[t["Core/Legend/LegendSymbol.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Axis/SolidGaugeAxis.js"],t["Core/Utilities.js"]],function(t,o,e,s){var i,r,n=this&&this.__extends||(i=function(t,o){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)o.hasOwnProperty(e)&&(t[e]=o[e])})(t,o)},function(t,o){function e(){this.constructor=t}i(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),a=o.seriesTypes,l=a.gauge,d=a.pie.prototype,g=s.clamp,f=s.extend,m=s.isNumber,a=s.merge,y=s.pick,v=s.pInt,h={colorByPoint:!0,dataLabels:{y:0}};function c(){var t=null!==r&&r.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t.axis=void 0,t.yAxis=void 0,t.startAngleRad=void 0,t.thresholdAngleRad=void 0,t}return n(c,r=l),c.prototype.translate=function(){var t=this.yAxis;e.init(t),!t.dataClasses&&t.options.dataClasses&&t.initDataClasses(t.options),t.initStops(t.options),l.prototype.translate.call(this)},c.prototype.drawPoints=function(){var t,l=this,d=l.yAxis,h=d.center,c=l.options,u=l.chart.renderer,o=c.overshoot,p=m(o)?o/180*Math.PI:0;m(c.threshold)&&(t=d.startAngleRad+d.translate(c.threshold,void 0,void 0,void 0,!0)),this.thresholdAngleRad=y(t,d.startAngleRad),l.points.forEach(function(t){var o,e,s,i,r,n,a;t.isNull||(o=t.graphic,e=d.startAngleRad+d.translate(t.y,void 0,void 0,void 0,!0),s=v(y(t.options.radius,c.radius,100))*h[2]/200,i=v(y(t.options.innerRadius,c.innerRadius,60))*h[2]/200,r=d.toColor(t.y,t),n=Math.min(d.startAngleRad,d.endAngleRad),a=Math.max(d.startAngleRad,d.endAngleRad),"none"!==(r="none"===r?t.color||l.color||"none":r)&&(t.color=r),e=g(e,n-p,a+p),!1===c.wrap&&(e=g(e,n,a)),n=Math.min(e,l.thresholdAngleRad),(e=Math.max(e,l.thresholdAngleRad))-n>2*Math.PI&&(e=n+2*Math.PI),t.shapeArgs=i={x:h[0],y:h[1],r:s,innerR:i,start:n,end:e,rounded:c.rounded},t.startR=s,o?(s=i.d,o.animate(f({fill:r},i)),s&&(i.d=s)):t.graphic=o=u.arc(i).attr({fill:r,"sweep-flag":0}).add(l.group),l.chart.styledMode||("square"!==c.linecap&&o.attr({"stroke-linecap":"round","stroke-linejoin":"round"}),o.attr({stroke:c.borderColor||"none","stroke-width":c.borderWidth||0})),o&&o.addClass(t.getClassName(),!0))})},c.prototype.animate=function(t){t||(this.startAngleRad=this.thresholdAngleRad,d.animate.call(this,t))},c.defaultOptions=a(l.defaultOptions,h),f((s=c).prototype,{drawLegendSymbol:t.drawRectangle}),o.registerSeriesType("solidgauge",s),s}),o(t,"masters/modules/solid-gauge.src.js",[],function(){})}); \ No newline at end of file +!function(o){"object"==typeof module&&module.exports?module.exports=o.default=o:"function"==typeof define&&define.amd?define("highcharts/modules/solid-gauge",["highcharts","highcharts/highcharts-more"],function(t){return o(t),o.Highcharts=t,o}):o("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function o(t,o,e,s){t.hasOwnProperty(o)||(t[o]=s.apply(null,e),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:o,module:t[o]}})))}o(t=t?t._modules:{},"Core/Axis/SolidGaugeAxis.js",[t["Core/Color/Color.js"],t["Core/Utilities.js"]],function(t,o){var e,s,a=t.parse,i=o.extend,l=o.merge;return e=e||{},s={initDataClasses:function(e){var s,i=this.chart,r=0,n=this.options;this.dataClasses=s=[],e.dataClasses.forEach(function(t,o){t=l(t),s.push(t),t.color||("category"===n.dataClassColor?(o=i.options.colors,t.color=o[r++],r===o.length&&(r=0)):t.color=a(n.minColor).tweenTo(a(n.maxColor),o/(e.dataClasses.length-1)))})},initStops:function(t){this.stops=t.stops||[[0,this.options.minColor],[1,this.options.maxColor]],this.stops.forEach(function(t){t.color=a(t[1])})},toColor:function(t,o){var e,s=this.stops,i=this.dataClasses;if(i)for(e=i.length;e--;){var r=i[e],n=r.from,s=r.to;if((void 0===n||n<=t)&&(void 0===s||t<=s)){var a=r.color;o&&(o.dataClass=e);break}}else{for(this.logarithmic&&(t=this.val2lin(t)),t=1-(this.max-t)/(this.max-this.min),e=s.length;e--&&!(t>s[e][0]););n=s[e]||s[e+1],t=1-((s=s[e+1]||n)[0]-t)/(s[0]-n[0]||1),a=n.color.tweenTo(s.color,t)}return a}},e.init=function(t){i(t,s)},e}),o(t,"Series/SolidGauge/SolidGaugeSeriesDefaults.js",[],function(){return{colorByPoint:!0,dataLabels:{y:0}}}),o(t,"Series/SolidGauge/SolidGaugeComposition.js",[t["Core/Renderer/SVG/SVGRenderer.js"]],function(t){var r=(t=t.prototype).symbols.arc;t.symbols.arc=function(t,o,e,s,i){return t=r(t,o,e,s,i),i&&i.rounded&&(e=((i.r||e)-(i.innerR||0))/2,o=t[0],i=t[2],"M"===o[0]&&"L"===i[0]&&(o=["A",e,e,0,1,1,o[1],o[2]],t[2]=["A",e,e,0,1,1,i[1],i[2]],t[4]=o)),t}}),o(t,"Series/SolidGauge/SolidGaugeSeries.js",[t["Core/Legend/LegendSymbol.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Axis/SolidGaugeAxis.js"],t["Series/SolidGauge/SolidGaugeSeriesDefaults.js"],t["Core/Utilities.js"]],function(t,o,e,s,i){var r,n,a=this&&this.__extends||(r=function(t,o){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)o.hasOwnProperty(e)&&(t[e]=o[e])})(t,o)},function(t,o){function e(){this.constructor=t}r(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),l=o.seriesTypes,d=l.gauge,h=l.pie.prototype,f=i.clamp,m=i.extend,y=i.isNumber,l=i.merge,v=i.pick,C=i.pInt;function u(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t.axis=void 0,t.yAxis=void 0,t.startAngleRad=void 0,t.thresholdAngleRad=void 0,t}return a(u,n=d),u.prototype.translate=function(){var t=this.yAxis;e.init(t),!t.dataClasses&&t.options.dataClasses&&t.initDataClasses(t.options),t.initStops(t.options),d.prototype.translate.call(this)},u.prototype.drawPoints=function(){var t=this.yAxis,o=t.center,e=this.options,s=this.chart.renderer,i=e.overshoot,i=y(i)?i/180*Math.PI:0;y(e.threshold)&&(r=t.startAngleRad+t.translate(e.threshold,void 0,void 0,void 0,!0)),this.thresholdAngleRad=v(r,t.startAngleRad);for(var r=0,n=this.points;r2*Math.PI&&(c=d+2*Math.PI),g.shapeArgs=l={x:o[0],y:o[1],r:a,innerR:l,start:d,end:c,rounded:e.rounded},g.startR=a,u?(a=l.d,u.animate(m({fill:p},l)),a&&(l.d=a)):g.graphic=u=s.arc(l).attr({fill:p,"sweep-flag":0}).add(this.group),this.chart.styledMode||("square"!==e.linecap&&u.attr({"stroke-linecap":"round","stroke-linejoin":"round"}),u.attr({stroke:e.borderColor||"none","stroke-width":e.borderWidth||0})),u&&u.addClass(g.getClassName(),!0))}},u.prototype.animate=function(t){t||(this.startAngleRad=this.thresholdAngleRad,h.animate.call(this,t))},u.defaultOptions=l(d.defaultOptions,s),m((i=u).prototype,{drawLegendSymbol:t.drawRectangle}),o.registerSeriesType("solidgauge",i),i}),o(t,"masters/modules/solid-gauge.src.js",[],function(){})}); \ No newline at end of file diff --git a/assets/js/external/highcharts/modules/sonification.min.js b/assets/js/external/highcharts/modules/sonification.min.js index e33a37d7..38a22333 100644 --- a/assets/js/external/highcharts/modules/sonification.min.js +++ b/assets/js/external/highcharts/modules/sonification.min.js @@ -1 +1 @@ -!function(t){"object"==typeof module&&module.exports?module.exports=t.default=t:"function"==typeof define&&define.amd?define("highcharts/modules/sonification",["highcharts"],function(n){return t(n),t.Highcharts=n,t}):t("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(n){function t(n,t,i,e){n.hasOwnProperty(t)||(n[t]=e.apply(null,i),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:t,module:n[t]}})))}t(n=n?n._modules:{},"Extensions/Sonification/MusicalFrequencies.js",[],function(){return[16.351597831287414,17.323914436054505,18.354047994837977,19.445436482630058,20.601722307054366,21.826764464562746,23.12465141947715,24.499714748859326,25.956543598746574,27.5,29.13523509488062,30.86770632850775,32.70319566257483,34.64782887210901,36.70809598967594,38.890872965260115,41.20344461410875,43.653528929125486,46.2493028389543,48.999429497718666,51.91308719749314,55,58.27047018976124,61.7354126570155,65.40639132514966,69.29565774421802,73.41619197935188,77.78174593052023,82.4068892282175,87.30705785825097,92.4986056779086,97.99885899543733,103.82617439498628,110,116.54094037952248,123.47082531403103,130.8127826502993,138.59131548843604,146.8323839587038,155.56349186104046,164.81377845643496,174.61411571650194,184.9972113558172,195.99771799087463,207.65234878997256,220,233.08188075904496,246.94165062806206,261.6255653005986,277.1826309768721,293.6647679174076,311.1269837220809,329.6275569128699,349.2282314330039,369.9944227116344,391.99543598174927,415.3046975799451,440,466.1637615180899,493.8833012561241,523.2511306011972,554.3652619537442,587.3295358348151,622.2539674441618,659.2551138257398,698.4564628660078,739.9888454232688,783.9908719634985,830.6093951598903,880,932.3275230361799,987.7666025122483,1046.5022612023945,1108.7305239074883,1174.6590716696303,1244.5079348883237,1318.5102276514797,1396.9129257320155,1479.9776908465376,1567.981743926997,1661.2187903197805,1760,1864.6550460723597,1975.533205024496,2093.004522404789,2217.4610478149766,2349.31814333926,2489.0158697766474,2637.02045530296,2793.825851464031,2959.955381693075,3135.9634878539946,3322.437580639561,3520,3729.3100921447194,3951.066410048992,4186.009044809578]}),t(n,"Extensions/Sonification/SignalHandler.js",[],function(){return n.prototype.init=function(n){this.supportedSignals=n,this.signals={}},n.prototype.registerSignalCallbacks=function(i){var e=this;e.supportedSignals.forEach(function(n){var t=i[n];t&&(e.signals[n]=e.signals[n]||[]).push(t)})},n.prototype.clearSignalCallbacks=function(n){var t=this;n?n.forEach(function(n){t.signals[n]&&delete t.signals[n]}):t.signals={}},n.prototype.emitSignal=function(n,t){var i;return this.signals[n]&&this.signals[n].forEach(function(n){n=n(t),i=void 0!==n?n:i}),i},n;function n(n){this.supportedSignals=this.signals=void 0,this.init(n||[])}}),t(n,"Extensions/Sonification/SonificationUtilities.js",[n["Extensions/Sonification/MusicalFrequencies.js"],n["Extensions/Sonification/SignalHandler.js"],n["Core/Utilities.js"]],function(n,t,i){var s=i.clamp,a=i.merge,r={musicalFrequencies:n,SignalHandler:t,getExtremesForInstrumentProps:function(e,n,t){function i(n){return{instrumentMapping:n.mapping}}var o=e.options.sonification&&e.options.sonification.defaultInstrumentOptions,s=(n||[]).slice(0);return o&&s.push(i(o)),e.series.forEach(function(n){(n=n.options.sonification&&n.options.sonification.instruments)&&(s=s.concat(n.map(i)))}),s.reduce(function(t,i){return Object.keys(i.instrumentMapping||{}).forEach(function(n){"string"!=typeof(n=i.instrumentMapping[n])||t[n]||(t[n]=r.calculateDataExtremes(e,n))}),t},a(t))},getMusicalScale:function(e){return n.filter(function(n,t){var i=t%12+1;return e.some(function(n){return n===i})})},calculateDataExtremes:function(n,i){return n.series.reduce(function(t,n){return n.points.forEach(function(n){n=(void 0!==n[i]?n:n.options)[i],t.min=Math.min(t.min,n),t.max=Math.max(t.max,n)}),t},{min:1/0,max:-1/0})},virtualAxisTranslate:function(n,t,i,e){var o=t.max-t.min;return n=i.min+Math.abs(i.max-i.min)*(e?t.max-n:n-t.min)/o,0=o.max||e.push(new m({time:o.max})),e.length&&n.addTimelineEvents(e)})}),this.sonification.timeline=new f({paths:n,onEnd:u.onEnd}),this.sonification.timeline.play()}function o(){var t;return this.sonification.timeline?(t=this.sonification.timeline.getCursor(),Object.keys(t).map(function(n){return t[n].options.eventObject}).filter(function(n){return n instanceof i})):[]}function s(n){var t=this.sonification.timeline;t&&O(n).forEach(function(n){t.setCursor(n.id)})}function a(n){this.sonification.timeline?this.sonification.timeline.pause(C(n,!0)):this.sonification.currentlyPlayingPoint&&this.sonification.currentlyPlayingPoint.cancelSonify(n)}function r(n){this.sonification.timeline&&this.sonification.timeline.play(n)}function u(n){this.sonification.timeline&&this.sonification.timeline.rewind(n)}function c(n){this.pauseSonify(n),this.resetSonifyCursor()}function y(){this.sonification.timeline&&this.sonification.timeline.resetCursor()}function g(){this.sonification.timeline&&this.sonification.timeline.resetCursorEnd()}var E=n.getExtremesForInstrumentProps,S=n.virtualAxisTranslate,v=t.addEvent,x=t.extend,P=t.merge,C=t.pick,O=t.splat,j=[];return n={chartSonify:e,compose:function(n){return-1===j.indexOf(n)&&(j.push(n),x(n.prototype,{sonify:e,pauseSonify:a,resumeSonify:r,rewindSonify:u,cancelSonify:c,getCurrentSonifyPoints:o,setSonifyCursor:s,resetSonifyCursor:y,resetSonifyCursorEnd:g}),v(n,"init",function(){this.sonification={}}),v(n,"update",function(n){(n=n.options.sonification)&&P(!0,this.options.sonification,n)})),n},pause:a,resume:r,rewind:u,cancel:c,getCurrentPoints:o,setCursor:s,resetCursor:y,resetCursorEnd:g}}),t(n,"Extensions/Sonification/PointSonify.js",[n["Extensions/Sonification/Instrument.js"],n["Core/Utilities.js"],n["Extensions/Sonification/SonificationUtilities.js"]],function(p,n,f){var t,m=n.error,h=n.merge,d=n.pick,i=[],y={minDuration:20,maxDuration:2e3,minVolume:.1,maxVolume:1,minPan:-1,maxPan:1,minFrequency:220,maxFrequency:2200};function e(n){function s(t,n,i){return"function"==typeof t?n?function(n){return t(a,c,n)}:t(a,c):"string"==typeof t?(e=(n="-"===t.charAt(0))?t.slice(1):t,o=d(a[e],a.options[e]),c[e]=c[e]||f.calculateDataExtremes(a.series.chart,e),f.virtualAxisTranslate(o,c[e],i,n)):t;var e,o}var a=this,r=a.series.chart,u=d(n.masterVolume,r.options.sonification&&r.options.sonification.masterVolume),c=n.dataExtremes||{},l=((r.sonification.currentlyPlayingPoint=a).sonification=a.sonification||{},a.sonification.instrumentsPlaying=a.sonification.instrumentsPlaying||{},a.sonification.signalHandler=a.sonification.signalHandler||new f.SignalHandler(["onEnd"]));l.clearSignalCallbacks(),l.registerSignalCallbacks({onEnd:n.onEnd}),!a.isNull&&a.visible&&a.series.visible?n.instruments.forEach(function(t){var n="string"==typeof t.instrument?p.definitions[t.instrument]:t.instrument,i=t.instrumentMapping||{},e=h(y,t.instrumentOptions),o=n.id;n&&n.play?(void 0!==u&&n.setMasterVolume(u),(a.sonification.instrumentsPlaying[n.id]=n).play({frequency:s(i.frequency,!0,{min:e.minFrequency,max:e.maxFrequency}),duration:s(i.duration,!1,{min:e.minDuration,max:e.maxDuration}),pan:s(i.pan,!0,{min:e.minPan,max:e.maxPan}),volume:s(i.volume,!0,{min:e.minVolume,max:e.maxVolume}),onEnd:function(n){t.onEnd&&t.onEnd.apply(this,arguments),r.sonification&&r.sonification.currentlyPlayingPoint&&delete r.sonification.currentlyPlayingPoint,a.sonification&&a.sonification.instrumentsPlaying&&(delete a.sonification.instrumentsPlaying[o],Object.keys(a.sonification.instrumentsPlaying).length||l.emitSignal("onEnd",n))},minFrequency:e.minFrequency,maxFrequency:e.maxFrequency})):m(30)}):l.emitSignal("onEnd")}function o(t){var i=this.sonification&&this.sonification.instrumentsPlaying,n=i&&Object.keys(i);n&&n.length&&(n.forEach(function(n){i[n].stop(!t,null,"cancelled")}),this.sonification.instrumentsPlaying={},this.sonification.signalHandler.emitSignal("onEnd","cancelled"))}return(t||(t={})).compose=function(n){var t;return-1===i.indexOf(n)&&(i.push(n),(t=n.prototype).sonify=e,t.cancelSonify=o),n},t}),t(n,"masters/modules/sonification.src.js",[n["Core/Globals.js"],n["Extensions/Sonification/ChartSonify.js"],n["Extensions/Sonification/Earcon.js"],n["Extensions/Sonification/Instrument.js"],n["Extensions/Sonification/PointSonify.js"],n["Extensions/Sonification/SeriesSonify.js"],n["Extensions/Sonification/Sonification.js"],n["Extensions/Sonification/Timeline.js"],n["Extensions/Sonification/TimelineEvent.js"],n["Extensions/Sonification/TimelinePath.js"]],function(n,t,i,e,o,s,a,r,u,c){var l=this&&this.__assign||function(){return(l=Object.assign||function(n){for(var t,i=1,e=arguments.length;i=o.max||e.push(new m({time:o.max})),e.length&&n.addTimelineEvents(e)})}),this.sonification.timeline=new f({paths:n,onEnd:u.onEnd}),this.sonification.timeline.play()}function o(){var t;return this.sonification.timeline?(t=this.sonification.timeline.getCursor(),Object.keys(t).map(function(n){return t[n].options.eventObject}).filter(function(n){return n instanceof i})):[]}function s(n){var t=this.sonification.timeline;t&&O(n).forEach(function(n){t.setCursor(n.id)})}function a(n){this.sonification.timeline?this.sonification.timeline.pause(C(n,!0)):this.sonification.currentlyPlayingPoint&&this.sonification.currentlyPlayingPoint.cancelSonify(n)}function r(n){this.sonification.timeline&&this.sonification.timeline.play(n)}function u(n){this.sonification.timeline&&this.sonification.timeline.rewind(n)}function c(n){this.pauseSonify(n),this.resetSonifyCursor()}function y(){this.sonification.timeline&&this.sonification.timeline.resetCursor()}function g(){this.sonification.timeline&&this.sonification.timeline.resetCursorEnd()}var E=n.getExtremesForInstrumentProps,S=n.virtualAxisTranslate,v=t.addEvent,x=t.extend,P=t.merge,C=t.pick,O=t.splat,j=[];return n={chartSonify:e,compose:function(n){return-1===j.indexOf(n)&&(j.push(n),x(n.prototype,{sonify:e,pauseSonify:a,resumeSonify:r,rewindSonify:u,cancelSonify:c,getCurrentSonifyPoints:o,setSonifyCursor:s,resetSonifyCursor:y,resetSonifyCursorEnd:g}),v(n,"init",function(){this.sonification={}}),v(n,"update",function(n){(n=n.options.sonification)&&P(!0,this.options.sonification,n)})),n},pause:a,resume:r,rewind:u,cancel:c,getCurrentPoints:o,setCursor:s,resetCursor:y,resetCursorEnd:g}}),t(n,"Extensions/Sonification/PointSonify.js",[n["Extensions/Sonification/Instrument.js"],n["Core/Utilities.js"],n["Extensions/Sonification/SonificationUtilities.js"]],function(p,n,f){var t,m=n.error,h=n.merge,d=n.pick,i=[],y={minDuration:20,maxDuration:2e3,minVolume:.1,maxVolume:1,minPan:-1,maxPan:1,minFrequency:220,maxFrequency:2200};function e(n){function s(t,n,i){return"function"==typeof t?n?function(n){return t(a,c,n)}:t(a,c):"string"==typeof t?(e=(n="-"===t.charAt(0))?t.slice(1):t,o=d(a[e],a.options[e]),c[e]=c[e]||f.calculateDataExtremes(a.series.chart,e),f.virtualAxisTranslate(o,c[e],i,n)):t;var e,o}var a=this,r=a.series.chart,u=d(n.masterVolume,r.options.sonification&&r.options.sonification.masterVolume),c=n.dataExtremes||{},l=((r.sonification.currentlyPlayingPoint=a).sonification=a.sonification||{},a.sonification.instrumentsPlaying=a.sonification.instrumentsPlaying||{},a.sonification.signalHandler=a.sonification.signalHandler||new f.SignalHandler(["onEnd"]));l.clearSignalCallbacks(),l.registerSignalCallbacks({onEnd:n.onEnd}),!a.isNull&&a.visible&&a.series.visible?n.instruments.forEach(function(t){var n="string"==typeof t.instrument?p.definitions[t.instrument]:t.instrument,i=t.instrumentMapping||{},e=h(y,t.instrumentOptions),o=n.id;n&&n.play?(void 0!==u&&n.setMasterVolume(u),(a.sonification.instrumentsPlaying[n.id]=n).play({frequency:s(i.frequency,!0,{min:e.minFrequency,max:e.maxFrequency}),duration:s(i.duration,!1,{min:e.minDuration,max:e.maxDuration}),pan:s(i.pan,!0,{min:e.minPan,max:e.maxPan}),volume:s(i.volume,!0,{min:e.minVolume,max:e.maxVolume}),onEnd:function(n){t.onEnd&&t.onEnd.apply(this,arguments),r.sonification&&r.sonification.currentlyPlayingPoint&&delete r.sonification.currentlyPlayingPoint,a.sonification&&a.sonification.instrumentsPlaying&&(delete a.sonification.instrumentsPlaying[o],Object.keys(a.sonification.instrumentsPlaying).length||l.emitSignal("onEnd",n))},minFrequency:e.minFrequency,maxFrequency:e.maxFrequency})):m(30)}):l.emitSignal("onEnd")}function o(t){var i=this.sonification&&this.sonification.instrumentsPlaying,n=i&&Object.keys(i);n&&n.length&&(n.forEach(function(n){i[n].stop(!t,null,"cancelled")}),this.sonification.instrumentsPlaying={},this.sonification.signalHandler.emitSignal("onEnd","cancelled"))}return(t||(t={})).compose=function(n){var t;return-1===i.indexOf(n)&&(i.push(n),(t=n.prototype).sonify=e,t.cancelSonify=o),n},t}),t(n,"masters/modules/sonification.src.js",[n["Core/Globals.js"],n["Extensions/Sonification/ChartSonify.js"],n["Extensions/Sonification/Earcon.js"],n["Extensions/Sonification/Instrument.js"],n["Extensions/Sonification/PointSonify.js"],n["Extensions/Sonification/SeriesSonify.js"],n["Extensions/Sonification/Sonification.js"],n["Extensions/Sonification/Timeline.js"],n["Extensions/Sonification/TimelineEvent.js"],n["Extensions/Sonification/TimelinePath.js"]],function(n,t,i,e,o,s,a,r,u,c){var l=this&&this.__assign||function(){return(l=Object.assign||function(n){for(var t,i=1,e=arguments.length;i=i-n&&t.value<=e+n&&!t.axis.options.isInternal})[0]},getFieldType:function(t,i){return i=typeof i,{string:"text",number:"number",boolean:"checkbox"}[i=e(t=n[t])?t:i]}}}),i(t,"Extensions/Annotations/NavigationBindingsDefaults.js",[t["Extensions/Annotations/NavigationBindingsUtilities.js"],t["Core/Utilities.js"]],function(t,i){var o=t.getAssignedAxis,a=i.isNumber,r=i.merge;return{lang:{navigation:{popup:{simpleShapes:"Simple shapes",lines:"Lines",circle:"Circle",ellipse:"Ellipse",rectangle:"Rectangle",label:"Label",shapeOptions:"Shape options",typeOptions:"Details",fill:"Fill",format:"Text",strokeWidth:"Line width",stroke:"Line color",title:"Title",name:"Name",labelOptions:"Label options",labels:"Labels",backgroundColor:"Background color",backgroundColors:"Background colors",borderColor:"Border color",borderRadius:"Border radius",borderWidth:"Border width",style:"Style",padding:"Padding",fontSize:"Font size",color:"Color",height:"Height",shapes:"Shape options"}}},navigation:{bindingsClassName:"highcharts-bindings-container",bindings:{circleAnnotation:{className:"highcharts-circle-annotation",start:function(t){var i=this.chart.pointer.getCoordinates(t),e=(t=o(i.xAxis),i=o(i.yAxis),this.chart.options.navigation);if(t&&i)return this.chart.addAnnotation(r({langKey:"circle",type:"basicAnnotation",shapes:[{type:"circle",point:{x:t.value,y:i.value,xAxis:t.axis.options.index,yAxis:i.axis.options.index},r:5}]},e.annotationsOptions,e.bindings.circleAnnotation.annotationsOptions))},steps:[function(t,i){var e,n,s=i.options.shapes;s=s&&s[0]&&s[0].point||{},a(s.xAxis)&&a(s.yAxis)&&(n=this.chart.inverted,e=this.chart.xAxis[s.xAxis].toPixels(s.x),s=this.chart.yAxis[s.yAxis].toPixels(s.y),n=Math.max(Math.sqrt(Math.pow(n?s-t.chartX:e-t.chartX,2)+Math.pow(n?e-t.chartY:s-t.chartY,2)),5)),i.update({shapes:[{r:n}]})}]},ellipseAnnotation:{className:"highcharts-ellipse-annotation",start:function(t){var i=this.chart.pointer.getCoordinates(t),e=(t=o(i.xAxis),i=o(i.yAxis),this.chart.options.navigation);if(t&&i)return this.chart.addAnnotation(r({langKey:"ellipse",type:"basicAnnotation",shapes:[{type:"ellipse",xAxis:t.axis.options.index,yAxis:i.axis.options.index,points:[{x:t.value,y:i.value},{x:t.value,y:i.value}],ry:1}]},e.annotationsOptions,e.bindings.ellipseAnnotation.annotationOptions))},steps:[function(t,i){var e=(i=i.shapes[0]).getAbsolutePosition(i.points[1]);i.translatePoint(t.chartX-e.x,t.chartY-e.y,1),i.redraw(!1)},function(t,i){var e=(i=i.shapes[0]).getAbsolutePosition(i.points[0]),n=i.getAbsolutePosition(i.points[1]);t=i.getDistanceFromLine(e,n,t.chartX,t.chartY),e=i.getYAxis(),t=Math.abs(e.toValue(0)-e.toValue(t)),i.setYRadius(t),i.redraw(!1)}]},rectangleAnnotation:{className:"highcharts-rectangle-annotation",start:function(t){t=this.chart.pointer.getCoordinates(t);var i,e,n=o(t.xAxis),s=o(t.yAxis);if(n&&s)return t=n.value,i=s.value,n=n.axis.options.index,s=s.axis.options.index,e=this.chart.options.navigation,this.chart.addAnnotation(r({langKey:"rectangle",type:"basicAnnotation",shapes:[{type:"path",points:[{xAxis:n,yAxis:s,x:t,y:i},{xAxis:n,yAxis:s,x:t,y:i},{xAxis:n,yAxis:s,x:t,y:i},{xAxis:n,yAxis:s,x:t,y:i},{command:"Z"}]}]},e.annotationsOptions,e.bindings.rectangleAnnotation.annotationsOptions))},steps:[function(t,i){var e=(e=i.options.shapes)&&e[0]&&e[0].points||[],n=this.chart.pointer.getCoordinates(t);t=o(n.xAxis),n=o(n.yAxis),t&&n&&(t=t.value,n=n.value,e[1].x=t,e[2].x=t,e[2].y=n,e[3].y=n,i.update({shapes:[{points:e}]}))}]},labelAnnotation:{className:"highcharts-label-annotation",start:function(t){var i=this.chart.pointer.getCoordinates(t),e=(t=o(i.xAxis),i=o(i.yAxis),this.chart.options.navigation);if(t&&i)return this.chart.addAnnotation(r({langKey:"label",type:"basicAnnotation",labelOptions:{format:"{y:.2f}"},labels:[{point:{xAxis:t.axis.options.index,yAxis:i.axis.options.index,x:t.value,y:i.value},overflow:"none",crop:!0}]},e.annotationsOptions,e.bindings.labelAnnotation.annotationsOptions))}}},events:{},annotationsOptions:{animation:{defer:0}}}}}),i(t,"Extensions/Annotations/NavigationBindings.js",[t["Core/Chart/ChartNavigationComposition.js"],t["Core/DefaultOptions.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Extensions/Annotations/NavigationBindingsDefaults.js"],t["Extensions/Annotations/NavigationBindingsUtilities.js"],t["Core/Utilities.js"]],function(t,i,e,s,n,o,a){function r(){this.chart.navigationBindings&&this.chart.navigationBindings.deselectAnnotation()}function l(){this.navigationBindings&&this.navigationBindings.destroy()}function c(){var t=this.options;t&&t.navigation&&t.navigation.bindings&&(this.navigationBindings=new B(this,t.navigation),this.navigationBindings.initEvents(),this.navigationBindings.initUpdate())}function h(){var o,a,t=this.navigationBindings;this&&t&&(o=!1,this.series.forEach(function(t){!t.options.isInternal&&t.visible&&(o=!0)}),this.navigationBindings&&this.navigationBindings.container&&this.navigationBindings.container[0]&&(a=this.navigationBindings.container[0],N(t.boundClassNames,function(t,i){if(i=a.querySelectorAll("."+i))for(var e=0;eMath.abs(t.x-a)&&(o=Math.abs(t.x-a),e=t)})}),e&&e.x&&e.y)return{x:e.x,y:e.y,below:ia.offsetHeight&&s.offsetTop>t||(t=0),d(c,{top:-t+"px",left:o+3+"px"}),s.className+=" highcharts-current",r.startWidth=a.offsetWidth,r.style.width=r.startWidth+g(r,"padding-left")+c.offsetWidth+3+"px")}))},l.prototype.addSubmenuItems=function(i,e){var n,s=this,o=this,a=this.submenu,r=this.lang,l=this.listWrapper,t=(e.items.forEach(function(t){n=s.addButton(a,e,t,r),s.eventsToUnbind.push(h(n.mainButton,"click",function(){o.switchSymbol(this,i,!0),l.style.width=l.startWidth+"px",a.style.display="none"}))}),a.querySelectorAll("li > .highcharts-menu-item-btn")[0]);this.switchSymbol(t,!1)},l.prototype.eraseActiveButtons=function(t,i,e){[].forEach.call(t,function(t){t!==i&&(t.classList.remove("highcharts-current"),t.classList.remove("highcharts-active"),0<(e=t.querySelectorAll(".highcharts-submenu-wrapper")).length&&(e[0].style.display="none"))})},l.prototype.addButton=function(t,i,e,n){void 0===n&&(n={});var s=(i=i[e]).items,o=i.className||"";return t=p("li",{className:a(l.prototype.classMapping[e],"")+" "+o,title:n[e]||e},void 0,t),e=p("span",{className:"highcharts-menu-item-btn"},void 0,t),s&&s.length?((i=p("span",{className:"highcharts-submenu-item-arrow highcharts-arrow-right"},void 0,t)).style.backgroundImage="url("+this.iconsURL+"arrow-bottom.svg)",{buttonWrapper:t,mainButton:e,submenuArrow:i}):(e.style.backgroundImage="url("+this.iconsURL+i.symbol+")",{buttonWrapper:t,mainButton:e})},l.prototype.addNavigation=function(){var t=this.wrapper;this.arrowWrapper=p("div",{className:"highcharts-arrow-wrapper"}),this.arrowUp=p("div",{className:"highcharts-arrow-up"},void 0,this.arrowWrapper),this.arrowUp.style.backgroundImage="url("+this.iconsURL+"arrow-right.svg)",this.arrowDown=p("div",{className:"highcharts-arrow-down"},void 0,this.arrowWrapper),this.arrowDown.style.backgroundImage="url("+this.iconsURL+"arrow-right.svg)",t.insertBefore(this.arrowWrapper,t.childNodes[0]),this.scrollButtons()},l.prototype.scrollButtons=function(){var t=this.wrapper,i=this.toolbar,e=.1*t.offsetHeight,n=0;this.eventsToUnbind.push(h(this.arrowUp,"click",function(){0this.wrapper.offsetHeight-50?this.arrowWrapper.style.display="block":(this.toolbar.style.marginTop="0px",this.arrowWrapper.style.display="none")},l.prototype.showHideToolbar=function(){var t=this.chart,i=this.wrapper,e=this.listWrapper,n=this.submenu,s=this.showhideBtn=p("div",{className:"highcharts-toggle-toolbar highcharts-arrow-left"},void 0,i),o=this.visible;s.style.backgroundImage="url("+this.iconsURL+"arrow-right.svg)",o?(i.style.height="100%",s.style.top=g(e,"padding-top")+"px",s.style.left=i.offsetWidth+g(e,"padding-left")+"px"):(n&&(n.style.display="none"),s.style.left="0px",o=this.visible=!1,e.classList.add("highcharts-hide"),s.classList.toggle("highcharts-arrow-right"),i.style.height=s.offsetHeight+"px"),this.eventsToUnbind.push(h(s,"click",function(){t.update({stockTools:{gui:{visible:!o,placed:!0}}})}))},l.prototype.switchSymbol=function(t,i){var e=(n=t.parentNode).className,n=n.parentNode.parentNode;-1=i-s&&t.value<=e+s&&!t.axis.options.isInternal})[0]},getFieldType:function(t,i){return i=typeof i,{string:"text",number:"number",boolean:"checkbox"}[i=e(t=s[t])?t:i]}}}),i(t,"Extensions/Annotations/NavigationBindingsDefaults.js",[t["Extensions/Annotations/NavigationBindingsUtilities.js"],t["Core/Utilities.js"]],function(t,i){var o=t.getAssignedAxis,a=i.isNumber,r=i.merge;return{lang:{navigation:{popup:{simpleShapes:"Simple shapes",lines:"Lines",circle:"Circle",ellipse:"Ellipse",rectangle:"Rectangle",label:"Label",shapeOptions:"Shape options",typeOptions:"Details",fill:"Fill",format:"Text",strokeWidth:"Line width",stroke:"Line color",title:"Title",name:"Name",labelOptions:"Label options",labels:"Labels",backgroundColor:"Background color",backgroundColors:"Background colors",borderColor:"Border color",borderRadius:"Border radius",borderWidth:"Border width",style:"Style",padding:"Padding",fontSize:"Font size",color:"Color",height:"Height",shapes:"Shape options"}}},navigation:{bindingsClassName:"highcharts-bindings-container",bindings:{circleAnnotation:{className:"highcharts-circle-annotation",start:function(t){var i=this.chart.pointer.getCoordinates(t),e=(t=o(i.xAxis),i=o(i.yAxis),this.chart.options.navigation);if(t&&i)return this.chart.addAnnotation(r({langKey:"circle",type:"basicAnnotation",shapes:[{type:"circle",point:{x:t.value,y:i.value,xAxis:t.axis.options.index,yAxis:i.axis.options.index},r:5}]},e.annotationsOptions,e.bindings.circleAnnotation.annotationsOptions))},steps:[function(t,i){var e,s,n=i.options.shapes;n=n&&n[0]&&n[0].point||{},a(n.xAxis)&&a(n.yAxis)&&(s=this.chart.inverted,e=this.chart.xAxis[n.xAxis].toPixels(n.x),n=this.chart.yAxis[n.yAxis].toPixels(n.y),s=Math.max(Math.sqrt(Math.pow(s?n-t.chartX:e-t.chartX,2)+Math.pow(s?e-t.chartY:n-t.chartY,2)),5)),i.update({shapes:[{r:s}]})}]},ellipseAnnotation:{className:"highcharts-ellipse-annotation",start:function(t){var i=this.chart.pointer.getCoordinates(t),e=(t=o(i.xAxis),i=o(i.yAxis),this.chart.options.navigation);if(t&&i)return this.chart.addAnnotation(r({langKey:"ellipse",type:"basicAnnotation",shapes:[{type:"ellipse",xAxis:t.axis.options.index,yAxis:i.axis.options.index,points:[{x:t.value,y:i.value},{x:t.value,y:i.value}],ry:1}]},e.annotationsOptions,e.bindings.ellipseAnnotation.annotationOptions))},steps:[function(t,i){var e=(i=i.shapes[0]).getAbsolutePosition(i.points[1]);i.translatePoint(t.chartX-e.x,t.chartY-e.y,1),i.redraw(!1)},function(t,i){var e=(i=i.shapes[0]).getAbsolutePosition(i.points[0]),s=i.getAbsolutePosition(i.points[1]);t=i.getDistanceFromLine(e,s,t.chartX,t.chartY),e=i.getYAxis(),t=Math.abs(e.toValue(0)-e.toValue(t)),i.setYRadius(t),i.redraw(!1)}]},rectangleAnnotation:{className:"highcharts-rectangle-annotation",start:function(t){t=this.chart.pointer.getCoordinates(t);var i,e,s=o(t.xAxis),n=o(t.yAxis);if(s&&n)return t=s.value,i=n.value,s=s.axis.options.index,n=n.axis.options.index,e=this.chart.options.navigation,this.chart.addAnnotation(r({langKey:"rectangle",type:"basicAnnotation",shapes:[{type:"path",points:[{xAxis:s,yAxis:n,x:t,y:i},{xAxis:s,yAxis:n,x:t,y:i},{xAxis:s,yAxis:n,x:t,y:i},{xAxis:s,yAxis:n,x:t,y:i},{command:"Z"}]}]},e.annotationsOptions,e.bindings.rectangleAnnotation.annotationsOptions))},steps:[function(t,i){var e=(e=i.options.shapes)&&e[0]&&e[0].points||[],s=this.chart.pointer.getCoordinates(t);t=o(s.xAxis),s=o(s.yAxis),t&&s&&(t=t.value,s=s.value,e[1].x=t,e[2].x=t,e[2].y=s,e[3].y=s,i.update({shapes:[{points:e}]}))}]},labelAnnotation:{className:"highcharts-label-annotation",start:function(t){var i=this.chart.pointer.getCoordinates(t),e=(t=o(i.xAxis),i=o(i.yAxis),this.chart.options.navigation);if(t&&i)return this.chart.addAnnotation(r({langKey:"label",type:"basicAnnotation",labelOptions:{format:"{y:.2f}"},labels:[{point:{xAxis:t.axis.options.index,yAxis:i.axis.options.index,x:t.value,y:i.value},overflow:"none",crop:!0}]},e.annotationsOptions,e.bindings.labelAnnotation.annotationsOptions))}}},events:{},annotationsOptions:{animation:{defer:0}}}}}),i(t,"Extensions/Annotations/NavigationBindings.js",[t["Core/Chart/ChartNavigationComposition.js"],t["Core/Defaults.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Extensions/Annotations/NavigationBindingsDefaults.js"],t["Extensions/Annotations/NavigationBindingsUtilities.js"],t["Core/Utilities.js"]],function(t,i,e,n,s,o,a){function r(){this.chart.navigationBindings&&this.chart.navigationBindings.deselectAnnotation()}function l(){this.navigationBindings&&this.navigationBindings.destroy()}function c(){var t=this.options;t&&t.navigation&&t.navigation.bindings&&(this.navigationBindings=new B(this,t.navigation),this.navigationBindings.initEvents(),this.navigationBindings.initUpdate())}function h(){var o,a,t=this.navigationBindings;this&&t&&(o=!1,this.series.forEach(function(t){!t.options.isInternal&&t.visible&&(o=!0)}),this.navigationBindings&&this.navigationBindings.container&&this.navigationBindings.container[0]&&(a=this.navigationBindings.container[0],S(t.boundClassNames,function(t,i){if(i=a.querySelectorAll("."+i))for(var e=0;eMath.abs(t.x-a)&&(o=Math.abs(t.x-a),e=t)})}),e&&e.x&&e.y)return{x:e.x,y:e.y,below:ia.offsetHeight&&n.offsetTop>t||(t=0),d(c,{top:-t+"px",left:o+3+"px"}),n.className+=" highcharts-current",r.startWidth=a.offsetWidth,r.style.width=r.startWidth+g(r,"padding-left")+c.offsetWidth+3+"px")}))},l.prototype.addSubmenuItems=function(i,e){var s,n=this,o=this,a=this.submenu,r=this.lang,l=this.listWrapper,t=(e.items.forEach(function(t){s=n.addButton(a,e,t,r),n.eventsToUnbind.push(h(s.mainButton,"click",function(){o.switchSymbol(this,i,!0),l.style.width=l.startWidth+"px",a.style.display="none"}))}),a.querySelectorAll("li > .highcharts-menu-item-btn")[0]);this.switchSymbol(t,!1)},l.prototype.eraseActiveButtons=function(t,i,e){[].forEach.call(t,function(t){t!==i&&(t.classList.remove("highcharts-current"),t.classList.remove("highcharts-active"),0<(e=t.querySelectorAll(".highcharts-submenu-wrapper")).length&&(e[0].style.display="none"))})},l.prototype.addButton=function(t,i,e,s){void 0===s&&(s={});var n=(i=i[e]).items,o=i.className||"";return t=p("li",{className:a(l.prototype.classMapping[e],"")+" "+o,title:s[e]||e},void 0,t),e=p("span",{className:"highcharts-menu-item-btn"},void 0,t),n&&n.length?((i=p("span",{className:"highcharts-submenu-item-arrow highcharts-arrow-right"},void 0,t)).style.backgroundImage="url("+this.iconsURL+"arrow-bottom.svg)",{buttonWrapper:t,mainButton:e,submenuArrow:i}):(e.style.backgroundImage="url("+this.iconsURL+i.symbol+")",{buttonWrapper:t,mainButton:e})},l.prototype.addNavigation=function(){var t=this.wrapper;this.arrowWrapper=p("div",{className:"highcharts-arrow-wrapper"}),this.arrowUp=p("div",{className:"highcharts-arrow-up"},void 0,this.arrowWrapper),this.arrowUp.style.backgroundImage="url("+this.iconsURL+"arrow-right.svg)",this.arrowDown=p("div",{className:"highcharts-arrow-down"},void 0,this.arrowWrapper),this.arrowDown.style.backgroundImage="url("+this.iconsURL+"arrow-right.svg)",t.insertBefore(this.arrowWrapper,t.childNodes[0]),this.scrollButtons()},l.prototype.scrollButtons=function(){var t=this.wrapper,i=this.toolbar,e=.1*t.offsetHeight,s=0;this.eventsToUnbind.push(h(this.arrowUp,"click",function(){0this.wrapper.offsetHeight-50?this.arrowWrapper.style.display="block":(this.toolbar.style.marginTop="0px",this.arrowWrapper.style.display="none")},l.prototype.showHideToolbar=function(){var t=this.chart,i=this.wrapper,e=this.listWrapper,s=this.submenu,n=this.showhideBtn=p("div",{className:"highcharts-toggle-toolbar highcharts-arrow-left"},void 0,i),o=this.visible;n.style.backgroundImage="url("+this.iconsURL+"arrow-right.svg)",o?(i.style.height="100%",n.style.top=g(e,"padding-top")+"px",n.style.left=i.offsetWidth+g(e,"padding-left")+"px"):(s&&(s.style.display="none"),n.style.left="0px",o=this.visible=!1,e.classList.add("highcharts-hide"),n.classList.toggle("highcharts-arrow-right"),i.style.height=n.offsetHeight+"px"),this.eventsToUnbind.push(h(n,"click",function(){t.update({stockTools:{gui:{visible:!o,placed:!0}}})}))},l.prototype.switchSymbol=function(t,i){var e=(s=t.parentNode).className,s=s.parentNode.parentNode;-1e;if(s[m]5*r||v){if(s[m]>g){for(a=p.getTimeTicks(t,s[c],s[m],o);a.length&&a[0]<=g;)a.shift();a.length&&(g=a[a.length-1]),d.push(u.length),u=u.concat(a)}c=m+1}if(v)break}if(a){if(a=a.info,n&&a.unitRange<=S.hour){for(m=u.length-1,c=1;ce?a-1:a,m=void 0;f--;)d=p[f],a=Math.abs(m-d),m&&a<.8*l&&(null===c||a<.8*c)?(h[u[f]]&&!h[u[f+1]]?(a=f+1,m=d):a=f,u.splice(a,1)):m=d}return u}function r(t){var i=this.ordinal.positions;if(!i)return t;var e,o=i.length-1;return t<0?t=i[0]:o(p=(c=n<0?(d=a,u.ordinal.positions?u:a):(d=u.ordinal.positions?u:a,a)).ordinal.positions)[p.length-1]&&p.push(e),this.fixedRange=s-o,(p=u.navigatorAxis.toFixedRange(void 0,void 0,h.apply(d,[l.apply(d,[o,!0])+n]),h.apply(c,[l.apply(c,[s,!0])+n]))).min>=Math.min(i.dataMin,o)&&p.max<=Math.max(e,s)+g&&u.setExtremes(p.min,p.max,!0,!1,{trigger:"pan"}),this.mouseDownX=f,b(this.container,{cursor:"move"})):m=!0):m=!0,m||x&&/y/.test(x.type)?g&&(u.max=u.dataMax+g):t.preventDefault()}function u(){var t=this.xAxis;t&&t.options.ordinal&&(delete t.ordinal.index,delete t.ordinal.extendedOrdinalPositions)}function g(t,i){var e=this.ordinal,o=e.positions,s=e.slope,r=e.extendedOrdinalPositions;if(!o)return t;var n=o.length;if(o[0]<=t&&o[n-1]>=t)t=a(o,t);else{if(r||(r=e.getExtendedPositions&&e.getExtendedPositions(),e.extendedOrdinalPositions=r),!r||!r.length)return t;n=r.length,s=s||(r[n-1]-r[0])/n,o=a(r,o[0]),t=t>=r[0]&&t<=r[n-1]?a(r,t)-o:tf||s-h[h.length-1]>f)&&(p=!0)}else t.options.overscroll&&(2===g?l=h[1]-h[0]:1===g?(l=t.options.overscroll,h=[h[0],h[0]+l]):l=i.overscrollPointsRange);p||t.forceOrdinal?(t.options.overscroll&&(i.overscrollPointsRange=l,h=h.concat(i.getOverscrollPositions())),i.positions=h,f=t.ordinal2lin(Math.max(o,h[0]),!0),x=Math.max(t.ordinal2lin(Math.min(s,h[h.length-1]),!0),1),i.slope=s=(s-o)/(x-f),i.offset=o-f*s):(i.overscrollPointsRange=k(t.closestPointRange,i.overscrollPointsRange),i.positions=t.ordinal.slope=i.offset=void 0)}t.isOrdinal=n&&p,i.groupIntervalFactor=null},f.findIndexOf=function(t,i,e){for(var o,s=0,r=t.length-1;s=(this.xAxis.min||0)){this.dataModify.compareValue=n;break}}}}function k(t,i){this.setModifier("compare",t,i)}function S(t,i){t=x(t,!1),this.options.cumulative=this.userOptions.cumulative=t,this.update({},x(i,!0)),this.dataModify?this.dataModify.initCumulative():this.points.forEach(function(t){delete t.cumulativeSum})}function w(t,i){this.setModifier("cumulative",t,i)}function C(t){this.series=t}return i=s=s||{},r=[],i.compose=function(t,i,e){var o;return-1===r.indexOf(t)&&(r.push(t),(o=t.prototype).setCompare=M,o.setCumulative=S,h(t,"afterInit",y),h(t,"afterGetExtremes",b),h(t,"afterProcessData",A)),-1===r.indexOf(i)&&(r.push(i),(i=i.prototype).setCompare=k,i.setModifier=m,i.setCumulative=w),-1===r.indexOf(e)&&(r.push(e),e.prototype.tooltipFormatter=v),t},C.prototype.modifyValue=function(){return 0},C.getCumulativeExtremes=function(t){var e=1/0,o=-1/0;return t.reduce(function(t,i){return i=t+i,e=Math.min(e,i,t),o=Math.max(o,i,t),i}),[e,o]},C.prototype.initCompare=function(o){this.modifyValue=function(t,i){var e=this.compareValue;return void 0!==(t=null===t?0:t)&&void 0!==e?(t="value"===o?t-e:t/e*100-(100===this.series.options.compareBase?0:100),void 0!==i&&(i=this.series.points[i])&&(i.change=t),t):0}},C.prototype.initCumulative=function(){this.modifyValue=function(t,i){var e;return void 0!==(t=null===t?0:t)&&void 0!==i?((e=0t.to||s>t.from&&nt.from&&nt.from&&n>t.to&&n=this.basePointRange&&(s=i),t=void 0;r--;)t&&!1!==t.visible||(t=e[r+1]),i=e[r],!1!==t.visible&&!1!==i.visible&&(t.x-i.x>s&&(t=(i.x+t.x)/2,e.splice(r+1,0,{isNull:!0,x:t}),o.stacking&&this.options.stacking&&((t=o.stacking.stacks[this.stackKey][t]=new n(o,o.options.stackLabels,!1,t,this.stack)).total=0)),t=i);return this.getGraphPath(e)}function y(t){this.hasBreaks=!1,this.axis=t}return t=i=i||{},o=[],t.compose=function(t,i){var e;return-1===o.indexOf(t)&&(o.push(t),t.keepProps.push("brokenAxis"),s(t,"init",d),s(t,"afterInit",h),s(t,"afterSetTickPositions",p),s(t,"afterSetOptions",l)),-1===o.indexOf(i)&&(o.push(i),(e=i.prototype).drawBreaks=m,e.gappedPath=v,s(i,"afterGeneratePoints",c),s(i,"afterRender",x)),t},y.isInBreak=function(t,i){var e=t.repeat||1/0,o=t.from,s=t.to-t.from;return i=o<=i?(i-o)%e:e-(o-i)%e,t.inclusive?i<=s:i=t)break;(o.to=t)break;if(y.isInBreak(s,t)){e-=t-s.from;break}}}return e},y.prototype.findBreakAt=function(i,t){return r(t,function(t){return t.from=e[0]);b++);for(;b<=p;b++){for(;void 0!==e[m+1]&&t[b]>=e[m+1]||b===p;){var M=e[m],A=(s.dataGroupInfo={start:x?v:s.cropStart+v,length:c[0].length},o.apply(s,c));for(s.pointClass&&!S(s.dataGroupInfo.options)&&(s.dataGroupInfo.options=C(s.pointClass.prototype.optionsToObject.call({series:s},s.options.data[s.cropStart+v])),f.forEach(function(t){delete s.dataGroupInfo.options[t]})),void 0!==A&&(a.push(M),h.push(A),l.push(s.dataGroupInfo)),v=b,M=0;M=e[0]&&(x=this.groupMap[0].start,v=this.groupMap[0].length,g=void 0,w(x)&&w(v)&&(g=x+(v-1)),e[0]={middle:e[0]+.5*d,end:e[0]+d,firstPoint:this.xData[0],lastPoint:g&&this.xData[g]}[m]),u&&"start"!==u&&d&&e[f]>=c-d&&(c=this.groupMap[this.groupMap.length-1].start,e[f]={middle:e[f]+.5*d,end:e[f]+d,firstPoint:c&&this.xData[c],lastPoint:this.xData[this.xData.length-1]}[u])}for(c=1;ca.max&&((!S(a.options.max)&&w(a.dataMax)&&a.max>=a.dataMax||a.max===a.dataMax)&&(a.max=Math.max(r[r.length-1],a.max)),a.dataMax=Math.max(r[r.length-1],a.dataMax))),o.groupAll&&(this.allGroupedData=h,s=(o=this.cropData(s,h,a.min,a.max,1)).xData,h=o.yData,this.cropStart=o.start),this.processedXData=s,this.processedYData=h}else this.groupMap=null;this.hasGroupedData=i,this.currentDataGrouping=c,this.preventGraphAnimation=(n&&n.totalRange)!==(c&&c.totalRange)}},b.destroyGroupedData=function(){this.groupedData&&(this.groupedData.forEach(function(t,i){t&&(this.groupedData[i]=t.destroy?t.destroy():null)},this),this.groupedData.length=0)},b.generatePoints=function(){g.apply(this),this.destroyGroupedData(),this.groupedData=this.hasGroupedData?this.points:null},o.prototype.applyGrouping=function(i){var e=this,t=e.series;t.forEach(function(t){t.groupPixelWidth=void 0}),t.forEach(function(t){t.groupPixelWidth=e.getGroupPixelWidth&&e.getGroupPixelWidth(),t.groupPixelWidth&&(t.hasProcessed=!0),t.applyGrouping(!!i.hasExtemesChanged)})},o.prototype.getGroupPixelWidth=function(){for(var t,i=this.series,e=i.length,o=0,s=!1,r=e;r--;)(t=i[r].options.dataGrouping)&&(o=Math.max(o,A(t.groupPixelWidth,f.groupPixelWidth)));for(r=e;r--;)(t=i[r].options.dataGrouping)&&(e=(i[r].processedXData||i[r].data).length,(i[r].groupPixelWidth||e>this.chart.plotSizeX/o||e&&t.forced)&&(s=!0));return s?o:0},o.prototype.setDataGrouping=function(i,t){var e;if(t=A(t,!0),i=i||{forced:!1,units:null},this instanceof o)for(e=this.series.length;e--;)this.series[e].update({dataGrouping:i},!1);else this.chart.options.series.forEach(function(t){t.dataGrouping="boolean"==typeof i?i:C(i,t.dataGrouping)});this.ordinal&&(this.ordinal.slope=void 0),t&&this.chart.redraw()},t(o,"postProcessData",o.prototype.applyGrouping),t(e,"update",function(){if(this.dataGroup)return M(24,!1,this.series.chart),!1}),t(r,"headerFormatter",function(t){var i,e,o=this.chart,s=o.time,r=t.labelConfig,n=r.series,a=n.tooltipOptions,h=n.options.dataGrouping,l=a.xDateFormat,p=n.xAxis,d=a[t.isFooter?"footerFormat":"headerFormat"];p&&"datetime"===p.options.type&&h&&w(r.key)&&(i=n.currentDataGrouping,h=h.dateTimeLabelFormats||f.dateTimeLabelFormats,i?(a=h[i.unitName],1===i.count?l=a[0]:(l=a[1],e=a[2])):!l&&h&&p.dateTime&&(l=p.dateTime.getXDateFormat(r.x,a.dateTimeLabelFormats)),l=s.dateFormat(l,r.key),e&&(l+=s.dateFormat(e,r.key+i.totalRange-1)),n.chart.styledMode&&(d=this.styledModeFormat(d)),t.text=c(d,{point:u(r.point,{key:l}),series:n},o),t.preventDefault())}),t(s,"destroy",b.destroyGroupedData),t(s,"afterSetOptions",function(t){t=t.options;var i,e=this.type,o=this.chart.options.plotOptions,s=n.defaultOptions.plotOptions[e].dataGrouping,r=this.useCommonDataGrouping&&f;o&&(x[e]||r)&&(s=s||C(f,x[e]),i=this.chart.rangeSelector,t.dataGrouping=C(r,s,o.series&&o.series.dataGrouping,o[e].dataGrouping,this.userOptions.dataGrouping,!t.isInternal&&i&&w(i.selected)&&i.buttonOptions[i.selected].dataGrouping))}),t(o,"afterSetScale",function(){this.series.forEach(function(t){t.hasProcessed=!1})}),i.dataGrouping=d}),i(t,"Series/HLC/HLCPoint.js",[t["Core/Series/SeriesRegistry.js"]],function(t){var o,i,e=this&&this.__extends||(o=function(t,i){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e])})(t,i)},function(t,i){function e(){this.constructor=t}o(t,i),t.prototype=null===i?Object.create(i):(e.prototype=i.prototype,new e)});return i=t.seriesTypes.column.prototype.pointClass,e(s,i),s;function s(){var t=null!==i&&i.apply(this,arguments)||this;return t.close=void 0,t.high=void 0,t.low=void 0,t.options=void 0,t.plotClose=void 0,t.series=void 0,t}}),i(t,"Series/HLC/HLCSeries.js",[t["Series/HLC/HLCPoint.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,i,e){var o,n,s=this&&this.__extends||(o=function(t,i){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e])})(t,i)},function(t,i){function e(){this.constructor=t}o(t,i),t.prototype=null===i?Object.create(i):(e.prototype=i.prototype,new e)}),r=i.seriesTypes.column,a=e.extend,h=e.merge;function l(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t.yData=void 0,t}return s(l,n=r),l.prototype.extendStem=function(t,i,e){var o=t[0];t=t[1],"number"==typeof o[2]&&(o[2]=Math.max(e+i,o[2])),"number"==typeof t[2]&&(t[2]=Math.min(e-i,t[2]))},l.prototype.getPointPath=function(t,i){i=i.strokeWidth();var e=t.series,o=i%2/2,s=Math.round(t.plotX)-o,r=Math.round(t.shapeArgs.width/2),n=[["M",s,Math.round(t.yBottom)],["L",s,Math.round(t.plotHigh)]];return null!==t.close&&(t=Math.round(t.plotClose)+o,n.push(["M",s,t],["L",s+r,t]),e.extendStem(n,i/2,t)),n},l.prototype.drawSinglePoint=function(t){var i=t.series,e=i.chart,o=t.graphic,s=!o;void 0!==t.plotY&&(o||(t.graphic=o=e.renderer.path().add(i.group)),e.styledMode||o.attr(i.pointAttribs(t,t.selected&&"select")),i=i.getPointPath(t,o),o[s?"attr":"animate"]({d:i}).addClass(t.getClassName(),!0))},l.prototype.drawPoints=function(){this.points.forEach(this.drawSinglePoint)},l.prototype.init=function(){n.prototype.init.apply(this,arguments),this.options.stacking=void 0},l.prototype.pointAttribs=function(t,i){return delete(t=n.prototype.pointAttribs.call(this,t,i)).fill,t},l.prototype.toYData=function(t){return[t.high,t.low,t.close]},l.prototype.translate=function(){var o=this,s=o.yAxis,t=this.pointArrayMap&&this.pointArrayMap.slice()||[],r=t.map(function(t){return"plot".concat(t.charAt(0).toUpperCase()+t.slice(1))});r.push("yBottom"),t.push("low"),n.prototype.translate.apply(o),o.points.forEach(function(e){t.forEach(function(t,i){null!==(t=e[t])&&(o.dataModify&&(t=o.dataModify.modifyValue(t)),e[r[i]]=s.toPixels(t,!0))}),e.tooltipPos[1]=e.plotHigh+s.pos-o.chart.plotTop})},l.defaultOptions=h(r.defaultOptions,{lineWidth:1,tooltip:{pointFormat:' {series.name}
High: {point.high}
Low: {point.low}
Close: {point.close}
'},threshold:null,states:{hover:{lineWidth:3}},stickyTracking:!0}),a((e=l).prototype,{animate:null,directTouch:!1,pointArrayMap:["high","low","close"],pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"},pointValKey:"close"}),e.prototype.pointClass=t,i.registerSeriesType("hlc",e),e}),i(t,"Series/OHLC/OHLCPoint.js",[t["Core/Series/SeriesRegistry.js"]],function(t){var o,i,e=this&&this.__extends||(o=function(t,i){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e])})(t,i)},function(t,i){function e(){this.constructor=t}o(t,i),t.prototype=null===i?Object.create(i):(e.prototype=i.prototype,new e)});return i=t.seriesTypes.hlc.prototype.pointClass,e(s,i),s.prototype.getClassName=function(){return i.prototype.getClassName.call(this)+(this.open {series.name}
Open: {point.open}
High: {point.high}
Low: {point.low}
Close: {point.close}
'}}),d);function d(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return l(p.prototype,{pointArrayMap:["open","high","low","close"]}),p.prototype.pointClass=t,i.registerSeriesType("ohlc",p),h(r,"init",function(t){(t=t.options).useOhlcData&&"highcharts-navigator-series"!==t.id&&l(this,{pointValKey:p.prototype.pointValKey,pointArrayMap:p.prototype.pointArrayMap,toYData:p.prototype.toYData})}),h(r,"afterSetOptions",function(t){var i=(t=t.options).dataGrouping;i&&t.useOhlcData&&"highcharts-navigator-series"!==t.id&&(i.approximation="ohlc")}),p}),i(t,"Series/Candlestick/CandlestickSeries.js",[t["Core/DefaultOptions.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,i,e){var o,s,r=this&&this.__extends||(o=function(t,i){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e])})(t,i)},function(t,i){function e(){this.constructor=t}o(t,i),t.prototype=null===i?Object.create(i):(e.prototype=i.prototype,new e)}),n=t.defaultOptions,a=(t=i.seriesTypes).column,t=t.ohlc,h=e.merge;function l(){var t=null!==s&&s.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(l,s=t),l.prototype.pointAttribs=function(t,i){var e=a.prototype.pointAttribs.call(this,t,i),o=this.options,s=t.openthis.xAxis.len,u=d.plotX,g=d.stackIndex,f=d.options.shape||r.shape,x=d.plotY,m=(void 0!==x&&(x=d.plotY+n-(void 0!==g&&g*r.stackDistance)),d.anchorX=g?void 0:d.plotX,g?void 0:d.plotY),v="flag"!==f,g=d.graphic;void 0!==x&&0<=u&&!c?((g=g&&d.hasNewShapeType()?g.destroy():g)||(g=d.graphic=o.label("",null,null,f,null,null,r.useHTML).addClass("highcharts-point").add(this.markerGroup),d.graphic.div&&(d.graphic.div.point=d),g.isNew=!0),g.attr({align:v?"center":"left",width:r.width,height:r.height,"text-align":r.textAlign}),e.styledMode||g.attr(this.pointAttribs(d)).css(A(r.style,d.style)).shadow(r.shadow),0this.calculatedWidth?i.minWidth:0;return{chartX:(t.chartX-this.x-this.xOffset)/(this.barWidth-i),chartY:(t.chartY-this.y-this.yOffset)/(this.barWidth-i)}},g.prototype.destroy=function(){var i=this,t=i.chart.scroller;i.removeEvents(),["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach(function(t){i[t]&&i[t].destroy&&(i[t]=i[t].destroy())}),t&&i===t.scrollbar&&(t.scrollbar=null,r(t.scrollbarButtons))},g.prototype.drawScrollbarButton=function(t){var i=this.renderer,e=this.scrollbarButtons,o=this.options,s=this.size,r=i.g().add(this.group);e.push(r),r=i.rect().addClass("highcharts-scrollbar-button").add(r),this.chart.styledMode||r.attr({stroke:o.buttonBorderColor,"stroke-width":o.buttonBorderWidth,fill:o.buttonBackgroundColor}),r.attr(r.crisp({x:-.5,y:-.5,width:s+1,height:s+1,r:o.buttonBorderRadius},r.strokeWidth())),r=i.path(g.swapXY([["M",s/2+(t?-1:1),s/2-3],["L",s/2+(t?-1:1),s/2+3],["L",s/2+(t?2:-2),s/2]],o.vertical)).addClass("highcharts-scrollbar-arrow").add(e[t]),this.chart.styledMode||r.attr({fill:o.buttonArrowColor})},g.prototype.init=function(t,i,e){this.scrollbarButtons=[],this.renderer=t,this.userOptions=i,this.options=d(o,s.scrollbar,i),this.chart=e,this.size=c(this.options.size,this.options.height),i.enabled&&(this.render(),this.addEvents())},g.prototype.mouseDownHandler=function(t){t=this.chart.pointer.normalize(t),t=this.cursorToScrollbarPosition(t),this.chartX=t.chartX,this.chartY=t.chartY,this.initPositions=[this.from,this.to],this.grabbedCenter=!0},g.prototype.mouseMoveHandler=function(t){var i=this.chart.pointer.normalize(t),e=this.options.vertical?"chartY":"chartX",o=this.initPositions||[];!this.grabbedCenter||t.touches&&0===t.touches[0][e]||(e=this.cursorToScrollbarPosition(i)[e]-(e=this[e]),this.hasDragged=!0,this.updatePosition(o[0]+e,o[1]+e),this.hasDragged&&n(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}))},g.prototype.mouseUpHandler=function(t){this.hasDragged&&n(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}),this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null},g.prototype.position=function(t,i,e,o){var s=this.options.vertical,r=this.rendered?"animate":"attr",n=o,a=0;this.group.show(),this.x=t,this.y=i+this.trackBorderWidth,this.width=e,this.height=o,this.xOffset=n,this.yOffset=a,s?(this.width=this.yOffset=e=a=this.size,this.xOffset=n=0,this.barWidth=o-2*e,this.x=t+=this.options.margin):(this.height=this.xOffset=o=n=this.size,this.barWidth=e-2*o,this.y+=this.options.margin),this.group[r]({translateX:t,translateY:this.y}),this.track[r]({width:e,height:o}),this.scrollbarButtons[1][r]({translateX:s?0:e-n,translateY:s?o-a:0})},g.prototype.removeEvents=function(){this._events.forEach(function(t){u.apply(null,t)}),this._events.length=0},g.prototype.render=function(){var t=this.renderer,i=this.options,e=this.size,o=this.chart.styledMode,s=t.g("scrollbar").attr({zIndex:i.zIndex}).hide().add();this.group=s,this.track=t.rect().addClass("highcharts-scrollbar-track").attr({x:0,r:i.trackBorderRadius||0,height:e,width:e}).add(s),o||this.track.attr({fill:i.trackBackgroundColor,stroke:i.trackBorderColor,"stroke-width":i.trackBorderWidth}),this.trackBorderWidth=this.track.strokeWidth(),this.track.attr({y:-this.trackBorderWidth%2/2}),this.scrollbarGroup=t.g().add(s),this.scrollbar=t.rect().addClass("highcharts-scrollbar-thumb").attr({height:e,width:e,r:i.barBorderRadius||0}).add(this.scrollbarGroup),this.scrollbarRifles=t.path(g.swapXY([["M",-3,e/4],["L",-3,2*e/3],["M",0,e/4],["L",0,2*e/3],["M",3,e/4],["L",3,2*e/3]],i.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup),o||(this.scrollbar.attr({fill:i.barBackgroundColor,stroke:i.barBorderColor,"stroke-width":i.barBorderWidth}),this.scrollbarRifles.attr({stroke:i.rifleColor,"stroke-width":1})),this.scrollbarStrokeWidth=this.scrollbar.strokeWidth(),this.scrollbarGroup.translate(-this.scrollbarStrokeWidth%2/2,-this.scrollbarStrokeWidth%2/2),this.drawScrollbarButton(0),this.drawScrollbarButton(1)},g.prototype.setRange=function(t,i){var e,o,s=this.options,r=s.vertical,n=s.minWidth,a=this.barWidth,h=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";p(a)&&(e=a*Math.min(i,1),t=Math.max(t,0),o=Math.ceil(a*t),this.calculatedWidth=e=l(e-o),eo||!this.options.vertical&&i.chartX>s?this.updatePosition(this.from+e,this.to+e):this.updatePosition(this.from-e,this.to-e),n(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})},g.prototype.update=function(t){this.destroy(),this.init(this.chart.renderer,d(!0,this.options,t),this.chart)},g.prototype.updatePosition=function(t,i){1f&&(this.grabbedLeft?e=h.toPixels(i-f-l,!0):this.grabbedRight&&(o=h.toPixels(t+f+l,!0))),this.zoomedMax=m(Math.max(e,o),0,r),this.zoomedMin=m(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(e,o),0,r),this.range=this.zoomedMax-this.zoomedMin,r=Math.round(this.zoomedMax),e=Math.round(this.zoomedMin),d&&(this.navigatorGroup.attr({visibility:"inherit"}),c=c&&!this.hasDragged?"animate":"attr",this.drawMasks(e,r,u,c),this.drawOutline(e,r,u,c),this.navigatorOptions.handles.enabled&&(this.drawHandle(e,0,u,c),this.drawHandle(r,1,u,c))),this.scrollbar&&(u?(u=this.top-a,p=this.left-a+(d||!p.opposite?0:(p.titleOffset||0)+p.axisTitleMargin),a=s+2*a):(u=this.top+(d?this.height:-a),p=this.left-a),this.scrollbar.position(p,u,n,a),this.scrollbar.setRange(this.zoomedMin/(s||1),this.zoomedMax/(s||1))),this.rendered=!0}},P.prototype.addMouseEvents=function(){var t,i,e=this,o=e.chart,s=o.container,r=[];e.mouseMoveHandler=t=function(t){e.onMouseMove(t)},e.mouseUpHandler=i=function(t){e.onMouseUp(t)},(r=e.getPartsEvents("mousedown")).push(f(o.renderTo,"mousemove",t),f(s.ownerDocument,"mouseup",i)),a&&(r.push(f(o.renderTo,"touchmove",t),f(s.ownerDocument,"touchend",i)),r.concat(e.getPartsEvents("touchstart"))),e.eventsToUnbind=r,e.series&&e.series[0]&&r.push(f(e.series[0].xAxis,"foundExtremes",function(){o.navigator.modifyNavigatorAxisExtremes()}))},P.prototype.getPartsEvents=function(o){var s=this,r=[];return["shades","handles"].forEach(function(e){s[e].forEach(function(t,i){r.push(f(t.element,o,function(t){s[e+"Mousedown"](t,i)}))})}),r},P.prototype.shadesMousedown=function(t,i){t=this.chart.pointer.normalize(t);var e,o,s=this.chart,r=this.xAxis,n=this.zoomedMin,a=this.left,h=this.size,l=this.range,p=t.chartX;s.inverted&&(p=t.chartY,a=this.top),1===i?(this.grabbedCenter=p,this.fixedWidth=l,this.dragOffset=p-n):(t=p-a-l/2,0===i?t=Math.max(0,t):2===i&&h<=t+l&&(t=h-l,this.reversedExtremes?(t-=l,e=this.getUnionExtremes().dataMin):o=this.getUnionExtremes().dataMax),t!==n&&(this.fixedWidth=l,i=r.navigatorAxis.toFixedRange(t,t+l,e,o),y(i.min)&&s.xAxis[0].setExtremes(Math.min(i.min,i.max),Math.max(i.min,i.max),!0,null,{trigger:"navigator"})))},P.prototype.handlesMousedown=function(t,i){this.chart.pointer.normalize(t);var e=(t=this.chart).xAxis[0],o=this.reversedExtremes;0===i?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=o?e.min:e.max):(this.grabbedRight=!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=o?e.max:e.min),t.fixedRange=null},P.prototype.onMouseMove=function(t){var i=this,e=i.chart,o=i.left,s=i.navigatorSize,r=i.range,n=i.dragOffset,a=e.inverted;t.touches&&0===t.touches[0].pageX||(e=(t=e.pointer.normalize(t)).chartX,a&&(o=i.top,e=t.chartY),i.grabbedLeft?(i.hasDragged=!0,i.render(0,0,e-o,i.otherHandlePos)):i.grabbedRight?(i.hasDragged=!0,i.render(0,0,i.otherHandlePos,e-o)):i.grabbedCenter&&(i.hasDragged=!0,e=Math.round(t.size)),t.stickToMin=t.shouldStickToMin(this,t),i&&!t.hasNavigatorData&&(i.options.pointStart=this.xData[0],i.setData(this.options.data,!1,null,!1))},P.prototype.shouldStickToMin=function(t,i){i=i.getBaseSeriesMin(t.xData[0]);t=(o=t.xAxis).max;var e=o.min,o=o.options.range;return!(!S(t)||!S(e))&&(o&&0=v-m,d=!t&&A&&e),s=t&&e||e&&!A&&!p||t&&c.frozenStates,(o=!k&&(h||l||d||x))?n=3:s&&(A=!0,n=2),r.state!==n&&(r.setState(n),u&&(u.options[i+1].disabled=o,2===n&&(u.selectedIndex=i+1)),0===n&&M===i&&c.setSelected())})},C.prototype.computeButtonRange=function(t){var i=t.type,e=t.count||1,o={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};o[i]?t._range=o[i]*e:"month"!==i&&"year"!==i||(t._range=864e5*{month:30,year:365}[i]*e),t._offsetMin=k(t.offsetMin,0),t._offsetMax=k(t.offsetMax,0),t._range+=t._offsetMax-t._offsetMin},C.prototype.getInputValue=function(t){t="min"===t?this.minInput:this.maxInput;var i=this.chart.options.rangeSelector,e=this.chart.time;return t?("text"===t.type&&i.inputDateParser||this.defaultInputDateParser)(t.value,e.useUTC,e):0},C.prototype.setInputValue=function(t,i){var e,o=this.options,s=this.chart.time,r="min"===t?this.minInput:this.maxInput;t="min"===t?this.minDateBox:this.maxDateBox,r&&(e=r.getAttribute("data-hc-time"),e=y(e)?Number(e):void 0,y(i)&&(y(e)&&r.setAttribute("data-hc-time-previous",e),r.setAttribute("data-hc-time",i),e=i),r.value=s.dateFormat(this.inputTypeFormats[r.type]||o.inputEditDateFormat,e),t&&t.attr({text:s.dateFormat(o.inputDateFormat,e)}))},C.prototype.setInputExtremes=function(t,i,e){var o,s;(t="min"===t?this.minInput:this.maxInput)&&(o=this.inputTypeFormats[t.type],s=this.chart.time,o&&(i=s.dateFormat(o,i),t.min!==i&&(t.min=i),e=s.dateFormat(o,e),t.max!==e&&(t.max=e)))},C.prototype.showInput=function(t){var i,e,o,s,r="min"===t?this.minDateBox:this.maxDateBox;(t="min"===t?this.minInput:this.maxInput)&&r&&this.inputGroup&&(i="text"===t.type,e=(o=this.inputGroup).translateX,o=o.translateY,s=this.options.inputBoxWidth,x(t,{width:i?r.width+(s?-2:20)+"px":"auto",height:i?r.height-2+"px":"auto",border:"2px solid silver"}),x(t,i&&s?{left:e+r.x+"px",top:o+"px"}:{left:Math.min(Math.round(r.x+e-(t.offsetWidth-r.width)/2),this.chart.chartWidth-t.offsetWidth)+"px",top:o-(t.offsetHeight-r.height)/2+"px"}))},C.prototype.hideInput=function(t){(t="min"===t?this.minInput:this.maxInput)&&x(t,{top:"-9999em",border:0,width:"1px",height:"1px"})},C.prototype.defaultInputDateParser=function(t,i,e){var o,s=t.split("/").join("-").split(" ").join("T");return-1===s.indexOf("T")&&(s+="T00:00"),i?s+="Z":(o=(o=u.isSafari)?!(6<(o=s).length&&(o.lastIndexOf("-")===o.length-6||o.lastIndexOf("+")===o.length-6)):o)&&(s+=(o=new Date(s).getTimezoneOffset()/60)<=0?"+".concat(p(-o),":00"):"-".concat(p(o),":00")),s=Date.parse(s),w(s)||(t=t.split("-"),s=Date.UTC(d(t[0]),d(t[1])-1,d(t[2]))),e&&i&&w(s)&&(s+=e.getTimezoneOffset(s)),s},C.prototype.drawInput=function(n){function i(){var t=h.getInputValue(n),i=a.xAxis[0],e=(o=a.scroller&&a.scroller.xAxis?a.scroller.xAxis:i).dataMin,o=o.dataMax,s=h.maxInput,r=h.minInput;t!==Number(d.getAttribute("data-hc-time-previous"))&&w(t)&&(d.setAttribute("data-hc-time-previous",t),l&&s&&w(e)?t>Number(s.getAttribute("data-hc-time"))?t=void 0:t=-s?0:-s),translateY:n.alignAttr.translateY+r.getBBox().height+10})}var e=this,o=this.chart,r=this.buttonGroup,n=this.inputGroup,a=(p=this.options).buttonPosition,h=p.dropdown,l=p.inputPosition,p=function(){var i=0;return e.buttons.forEach(function(t){(t=t.getBBox()).width>i&&(i=t.width)}),i};if(r){if("always"===h)return this.collapseButtons(s),void(t(p())&&i());"never"===h&&this.expandButtons()}n&&r?l.align===a.align||t(this.initialButtonGroupWidth+20)?"responsive"===h?(this.collapseButtons(s),t(p())&&i()):i():"responsive"===h&&this.expandButtons():r&&"responsive"===h&&(this.initialButtonGroupWidth>o.plotWidth?this.collapseButtons(s):this.expandButtons())},C.prototype.collapseButtons=function(t){function e(t){return{text:t?t+" ▾":"▾",width:"auto",paddingLeft:k(n.buttonTheme.paddingLeft,h.padding,8),paddingRight:k(n.buttonTheme.paddingRight,h.padding,8)}}var o=this.buttons,i=this.buttonOptions,s=this.chart,r=this.dropdown,n=this.options,a=this.zoomText,h=s.userOptions.rangeSelector&&s.userOptions.rangeSelector.buttonTheme||{},l=(a&&a.hide(),!1);i.forEach(function(t,i){2!==(i=o[i]).state?i.hide():(i.show(),i.attr(e(t.text)),l=!0)}),l||(r&&(r.selectedIndex=0),o[0].show(),o[0].attr(e(this.zoomText&&this.zoomText.textStr))),i=n.buttonPosition.align,this.positionButtons(),"right"!==i&&"center"!==i||this.alignButtonGroup(t,o[this.currentButtonIndex()].getBBox().width),this.showDropdown()},C.prototype.expandButtons=function(){var e=this.buttons,t=this.buttonOptions,o=this.options,i=this.zoomText;this.hideDropdown(),i&&i.show(),t.forEach(function(t,i){(i=e[i]).show(),i.attr({text:t.text,width:o.buttonTheme.width||28,paddingLeft:k(o.buttonTheme.paddingLeft,"unset"),paddingRight:k(o.buttonTheme.paddingRight,"unset")}),i.state<2&&i.setState(0)}),this.positionButtons()},C.prototype.currentButtonIndex=function(){var t=this.dropdown;return t&&0u+l.width)&&(y?e=s=b(e,u,u+l.width):i=!0),i||f.push(["M",e,o],["L",s,r])}):n.forEach(function(t){var i;e=t.pos,s=e+t.len,o=r=Math.round(g+l.height-a),"pass"!==y&&(og+l.height)&&(y?o=r=b(o,g,g+l.height):i=!0),i||f.push(["M",e,o],["L",s,r])})),t.path=0=t&&(g=-(l.translateX+s.width-t)),l.attr({x:o+g,y:h,anchorX:r?o:this.opposite?0:e.chartWidth,anchorY:r?this.opposite?e.chartHeight:0:h+s.height/2}))}),r.prototype.forceCropping=function(){var t=this.chart,i=this.options.dataGrouping;return!1!==this.allowDG&&i&&w(i.enabled,t.options.isStock)},t(e,"update",function(t){"scrollbar"in(t=t.options)&&this.navigator&&(f(!0,this.options.scrollbar,t.scrollbar),this.navigator.update({},!1),delete t.scrollbar)}),a}),i(t,"masters/modules/stock.src.js",[t["Core/Globals.js"],t["Core/Axis/OrdinalAxis.js"],t["Series/DataModifyComposition.js"],t["Core/Scrollbar.js"],t["Core/Chart/StockChart.js"]],function(t,i,e,o,s){t.Scrollbar=o,t.StockChart=t.stockChart=s.stockChart,o.compose(t.Axis),i.compose(t.Axis,t.Series,t.Chart),e.compose(t.Series,t.Axis,t.Point)})}); \ No newline at end of file +!function(i){"object"==typeof module&&module.exports?module.exports=i.default=i:"function"==typeof define&&define.amd?define("highcharts/modules/stock",["highcharts"],function(t){return i(t),i.Highcharts=t,i}):i("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function i(t,i,e,o){t.hasOwnProperty(i)||(t[i]=o.apply(null,e),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:i,module:t[i]}})))}i(t=t?t._modules:{},"Core/Axis/BrokenAxis.js",[t["Core/Axis/Stacking/StackItem.js"],t["Core/Utilities.js"]],function(n,t){var i,o,e,s=t.addEvent,r=t.find,u=t.fireEvent,a=t.isArray,g=t.isNumber,f=t.pick;function h(){void 0!==this.brokenAxis&&this.brokenAxis.setBreaks(this.options.breaks,!1)}function l(){this.brokenAxis&&this.brokenAxis.hasBreaks&&(this.options.ordinal=!1)}function p(){var t=this.brokenAxis;if(t&&t.hasBreaks){for(var i=this.tickPositions,e=this.tickPositions.info,o=[],s=0;st.to||s>t.from&&nt.from&&nt.from&&n>t.to&&n=this.basePointRange&&(s=i),t=void 0;r--;)t&&!1!==t.visible||(t=e[r+1]),i=e[r],!1!==t.visible&&!1!==i.visible&&(t.x-i.x>s&&(t=(i.x+t.x)/2,e.splice(r+1,0,{isNull:!0,x:t}),o.stacking&&this.options.stacking&&((t=o.stacking.stacks[this.stackKey][t]=new n(o,o.options.stackLabels,!1,t,this.stack)).total=0)),t=i);return this.getGraphPath(e)}function y(t){this.hasBreaks=!1,this.axis=t}return t=i=i||{},o=[],t.compose=function(t,i){var e;return-1===o.indexOf(t)&&(o.push(t),t.keepProps.push("brokenAxis"),s(t,"init",d),s(t,"afterInit",h),s(t,"afterSetTickPositions",p),s(t,"afterSetOptions",l)),-1===o.indexOf(i)&&(o.push(i),(e=i.prototype).drawBreaks=m,e.gappedPath=v,s(i,"afterGeneratePoints",c),s(i,"afterRender",x)),t},y.isInBreak=function(t,i){var e=t.repeat||1/0,o=t.from,s=t.to-t.from;return i=o<=i?(i-o)%e:e-(o-i)%e,t.inclusive?i<=s:i=t)break;(o.to=t)break;if(y.isInBreak(s,t)){e-=t-s.from;break}}}return e},y.prototype.findBreakAt=function(i,t){return r(t,function(t){return t.fromthis.chart.plotSizeX/s||t&&i.forced)&&(r=!0));return r?s:0}function o(){this.series.forEach(function(t){t.hasProcessed=!1})}function s(i,t){var e;if(t=p(t,!0),i=i||{forced:!1,units:null},this instanceof r)for(e=this.series.length;e--;)this.series[e].update({dataGrouping:i},!1);else this.chart.options.series.forEach(function(t){t.dataGrouping="boolean"==typeof i?i:l(i,t.dataGrouping)});this.ordinal&&(this.ordinal.slope=void 0),t&&this.chart.redraw()}var r,a=t.addEvent,h=t.extend,l=t.merge,p=t.pick,d=[];return{compose:function(t){r=t,-1===d.indexOf(t)&&(d.push(t),a(t,"afterSetScale",o),a(t,"postProcessData",i),h(t.prototype,{applyGrouping:i,getGroupPixelWidth:e,setDataGrouping:s}))}}}),i(t,"Extensions/DataGrouping/DataGroupingSeriesComposition.js",[t["Extensions/DataGrouping/ApproximationRegistry.js"],t["Extensions/DataGrouping/DataGroupingDefaults.js"],t["Core/Axis/DateTimeAxis.js"],t["Core/Defaults.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(k,y,b,a,t,i){function e(t){var i=this.chart,e=this.options.dataGrouping,o=!1!==this.allowDG&&e&&S(e.enabled,i.options.isStock),s=this.visible||!i.options.chart.ignoreHiddenSeries,r=this.currentDataGrouping,n=!1;if(o&&!this.requireSorting&&(this.requireSorting=n=!0),t=!1==!(this.isCartesian&&!this.isDirty&&!this.xAxis.isDirty&&!this.yAxis.isDirty&&!t)||!o,n&&(this.requireSorting=!1),!t){this.destroyGroupedData();var a=e.groupAll?this.xData:this.processedXData,h=e.groupAll?this.yData:this.processedYData,l=(o=i.plotSizeX,(t=this.xAxis).options.ordinal),n=void 0;if((p=this.groupPixelWidth)&&a&&a.length&&o){this.isDirty=n=!0,this.points=null;var p,d=(c=t.getExtremes()).min,c=c.max,l=l&&t.ordinal&&t.ordinal.getGroupIntervalFactor(d,c,this)||1,o=t.getTimeTicks(b.Additions.prototype.normalizeTimeTickInterval(p*(c-d)/o*l,e.units||y.units),Math.min(d,a[0]),Math.max(c,a[a.length-1]),t.options.startOfWeek,a,this.closestPointRange),a=(p=M.groupData.apply(this,[a,h,o,e.approximation])).groupedXData,h=p.groupedYData,i=(l=0,e&&e.smoothed&&a.length&&(e.firstAnchor="firstPoint",e.anchor="middle",e.lastAnchor="lastPoint",A(32,!1,i,{"dataGrouping.smoothed":"use dataGrouping.anchor"})),a),u=this.options.dataGrouping,d=this.currentDataGrouping&&this.currentDataGrouping.gapSize;if(u&&this.xData&&d&&this.groupMap){var g,f=i.length-1,x=u.anchor,m=S(u.firstAnchor,x),u=S(u.lastAnchor,x);if(x&&"start"!==x)for(var v=d*{middle:.5,end:1}[x],x=i.length-1;x--&&0=i[0]&&(x=this.groupMap[0].start,v=this.groupMap[0].length,g=void 0,D(x)&&D(v)&&(g=x+(v-1)),i[0]={middle:i[0]+.5*d,end:i[0]+d,firstPoint:this.xData[0],lastPoint:g&&this.xData[g]}[m]),u&&"start"!==u&&d&&i[f]>=c-d&&(c=this.groupMap[this.groupMap.length-1].start,i[f]={middle:i[f]+.5*d,end:i[f]+d,firstPoint:c&&this.xData[c],lastPoint:this.xData[this.xData.length-1]}[u])}for(c=1;ct.max&&((!C(t.options.max)&&D(t.dataMax)&&t.max>=t.dataMax||t.max===t.dataMax)&&(t.max=Math.max(s[s.length-1],t.max)),t.dataMax=Math.max(s[s.length-1],t.dataMax))),e.groupAll&&(this.allGroupedData=h,a=(e=this.cropData(a,h,t.min,t.max,1)).xData,h=e.yData,this.cropStart=e.start),this.processedXData=a,this.processedYData=h}else this.groupMap=null;this.hasGroupedData=n,this.currentDataGrouping=c,this.preventGraphAnimation=(r&&r.totalRange)!==(c&&c.totalRange)}}function o(){this.groupedData&&(this.groupedData.forEach(function(t,i){t&&(this.groupedData[i]=t.destroy?t.destroy():null)},this),this.groupedData.length=0)}function s(){d.apply(this),this.destroyGroupedData(),this.groupedData=this.hasGroupedData?this.points:null}function r(){return this.is("arearange")?"range":this.is("ohlc")?"ohlc":this.is("hlc")?"hlc":this.is("column")?"sum":"average"}function n(t,i,e,o){var s=this,r=s.data,n=s.options&&s.options.data,a=[],h=[],l=[],p=t.length,d=!!i,c=[],u=s.pointArrayMap,g=u&&u.length,f=["x"].concat(u||["y"]),x=this.options.dataGrouping&&this.options.dataGrouping.groupAll,m=0,v=0;if(o="function"==typeof o?o:o&&k[o]?k[o]:k[s.getDGApproximation&&s.getDGApproximation()||"average"],g)for(var y=u.length;y--;)c.push([]);else c.push([]);for(var y=g||1,b=0;b<=p;b++)if(!(t[b]=e[m+1]||b===p;){var M=e[m],A=(s.dataGroupInfo={start:x?v:s.cropStart+v,length:c[0].length},o.apply(s,c));for(s.pointClass&&!C(s.dataGroupInfo.options)&&(s.dataGroupInfo.options=w(s.pointClass.prototype.optionsToObject.call({series:s},s.options.data[s.cropStart+v])),f.forEach(function(t){delete s.dataGroupInfo.options[t]})),void 0!==A&&(a.push(M),h.push(A),l.push(s.dataGroupInfo)),v=b,M=0;M=(this.xAxis.min||0)){this.dataModify.compareValue=n;break}}}}function S(t,i){this.setModifier("compare",t,i)}function k(t,i){t=x(t,!1),this.options.cumulative=this.userOptions.cumulative=t,this.update({},x(i,!0)),this.dataModify?this.dataModify.initCumulative():this.points.forEach(function(t){delete t.cumulativeSum})}function C(t,i){this.setModifier("cumulative",t,i)}function D(t){this.series=t}return i=s=s||{},r=[],i.compose=function(t,i,e){var o;return-1===r.indexOf(t)&&(r.push(t),(o=t.prototype).setCompare=M,o.setCumulative=k,h(t,"afterInit",y),h(t,"afterGetExtremes",b),h(t,"afterProcessData",A)),-1===r.indexOf(i)&&(r.push(i),(i=i.prototype).setCompare=S,i.setModifier=m,i.setCumulative=C),-1===r.indexOf(e)&&(r.push(e),e.prototype.tooltipFormatter=v),t},D.prototype.modifyValue=function(){return 0},D.getCumulativeExtremes=function(t){var e=1/0,o=-1/0;return t.reduce(function(t,i){return i=t+i,e=Math.min(e,i,t),o=Math.max(o,i,t),i}),[e,o]},D.prototype.initCompare=function(o){this.modifyValue=function(t,i){var e=this.compareValue;return void 0!==(t=null===t?0:t)&&void 0!==e?(t="value"===o?t-e:t/e*100-(100===this.series.options.compareBase?0:100),void 0!==i&&(i=this.series.points[i])&&(i.change=t),t):0}},D.prototype.initCumulative=function(){this.modifyValue=function(t,i){var e;return void 0!==(t=null===t?0:t)&&void 0!==i?((e=0this.calculatedWidth?i.minWidth:0;return{chartX:(t.chartX-this.x-this.xOffset)/(this.barWidth-i),chartY:(t.chartY-this.y-this.yOffset)/(this.barWidth-i)}},g.prototype.destroy=function(){var i=this,t=i.chart.scroller;i.removeEvents(),["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach(function(t){i[t]&&i[t].destroy&&(i[t]=i[t].destroy())}),t&&i===t.scrollbar&&(t.scrollbar=null,r(t.scrollbarButtons))},g.prototype.drawScrollbarButton=function(t){var i=this.renderer,e=this.scrollbarButtons,o=this.options,s=this.size,r=i.g().add(this.group);e.push(r),r=i.rect().addClass("highcharts-scrollbar-button").add(r),this.chart.styledMode||r.attr({stroke:o.buttonBorderColor,"stroke-width":o.buttonBorderWidth,fill:o.buttonBackgroundColor}),r.attr(r.crisp({x:-.5,y:-.5,width:s+1,height:s+1,r:o.buttonBorderRadius},r.strokeWidth())),r=i.path(g.swapXY([["M",s/2+(t?-1:1),s/2-3],["L",s/2+(t?-1:1),s/2+3],["L",s/2+(t?2:-2),s/2]],o.vertical)).addClass("highcharts-scrollbar-arrow").add(e[t]),this.chart.styledMode||r.attr({fill:o.buttonArrowColor})},g.prototype.init=function(t,i,e){this.scrollbarButtons=[],this.renderer=t,this.userOptions=i,this.options=d(o,s.scrollbar,i),this.chart=e,this.size=c(this.options.size,this.options.height),i.enabled&&(this.render(),this.addEvents())},g.prototype.mouseDownHandler=function(t){t=this.chart.pointer.normalize(t),t=this.cursorToScrollbarPosition(t),this.chartX=t.chartX,this.chartY=t.chartY,this.initPositions=[this.from,this.to],this.grabbedCenter=!0},g.prototype.mouseMoveHandler=function(t){var i=this.chart.pointer.normalize(t),e=this.options.vertical?"chartY":"chartX",o=this.initPositions||[];!this.grabbedCenter||t.touches&&0===t.touches[0][e]||(e=this.cursorToScrollbarPosition(i)[e]-(e=this[e]),this.hasDragged=!0,this.updatePosition(o[0]+e,o[1]+e),this.hasDragged&&n(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}))},g.prototype.mouseUpHandler=function(t){this.hasDragged&&n(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}),this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null},g.prototype.position=function(t,i,e,o){var s=this.options.vertical,r=this.rendered?"animate":"attr",n=o,a=0;this.group.show(),this.x=t,this.y=i+this.trackBorderWidth,this.width=e,this.height=o,this.xOffset=n,this.yOffset=a,s?(this.width=this.yOffset=e=a=this.size,this.xOffset=n=0,this.barWidth=o-2*e,this.x=t+=this.options.margin):(this.height=this.xOffset=o=n=this.size,this.barWidth=e-2*o,this.y+=this.options.margin),this.group[r]({translateX:t,translateY:this.y}),this.track[r]({width:e,height:o}),this.scrollbarButtons[1][r]({translateX:s?0:e-n,translateY:s?o-a:0})},g.prototype.removeEvents=function(){this._events.forEach(function(t){u.apply(null,t)}),this._events.length=0},g.prototype.render=function(){var t=this.renderer,i=this.options,e=this.size,o=this.chart.styledMode,s=t.g("scrollbar").attr({zIndex:i.zIndex}).hide().add();this.group=s,this.track=t.rect().addClass("highcharts-scrollbar-track").attr({x:0,r:i.trackBorderRadius||0,height:e,width:e}).add(s),o||this.track.attr({fill:i.trackBackgroundColor,stroke:i.trackBorderColor,"stroke-width":i.trackBorderWidth}),this.trackBorderWidth=this.track.strokeWidth(),this.track.attr({y:-this.trackBorderWidth%2/2}),this.scrollbarGroup=t.g().add(s),this.scrollbar=t.rect().addClass("highcharts-scrollbar-thumb").attr({height:e,width:e,r:i.barBorderRadius||0}).add(this.scrollbarGroup),this.scrollbarRifles=t.path(g.swapXY([["M",-3,e/4],["L",-3,2*e/3],["M",0,e/4],["L",0,2*e/3],["M",3,e/4],["L",3,2*e/3]],i.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup),o||(this.scrollbar.attr({fill:i.barBackgroundColor,stroke:i.barBorderColor,"stroke-width":i.barBorderWidth}),this.scrollbarRifles.attr({stroke:i.rifleColor,"stroke-width":1})),this.scrollbarStrokeWidth=this.scrollbar.strokeWidth(),this.scrollbarGroup.translate(-this.scrollbarStrokeWidth%2/2,-this.scrollbarStrokeWidth%2/2),this.drawScrollbarButton(0),this.drawScrollbarButton(1)},g.prototype.setRange=function(t,i){var e,o,s=this.options,r=s.vertical,n=s.minWidth,a=this.barWidth,h=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";p(a)&&(e=a*Math.min(i,1),t=Math.max(t,0),o=Math.ceil(a*t),this.calculatedWidth=e=l(e-o),eo||!this.options.vertical&&i.chartX>s?this.updatePosition(this.from+e,this.to+e):this.updatePosition(this.from-e,this.to-e),n(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})},g.prototype.update=function(t){this.destroy(),this.init(this.chart.renderer,d(!0,this.options,t),this.chart)},g.prototype.updatePosition=function(t,i){1u&&(this.grabbedLeft?e=n.toPixels(i-u-a,!0):this.grabbedRight&&(o=n.toPixels(t+u+a,!0))),this.zoomedMax=m(Math.max(e,o),0,f),this.zoomedMin=m(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(e,o),0,f),this.range=this.zoomedMax-this.zoomedMin,f=Math.round(this.zoomedMax),e=Math.round(this.zoomedMin),l&&(this.navigatorGroup.attr({visibility:"inherit"}),p=p&&!this.hasDragged?"animate":"attr",this.drawMasks(e,f,d,p),this.drawOutline(e,f,d,p),this.navigatorOptions.handles.enabled&&(this.drawHandle(e,0,d,p),this.drawHandle(f,1,d,p))),this.scrollbar&&(d?(d=this.top-g,h=this.left-g+(l||!h.opposite?0:(h.titleOffset||0)+h.axisTitleMargin),g=s+2*g):(d=this.top+(l?this.height:-g),h=this.left-g),this.scrollbar.position(h,d,r,g),this.scrollbar.setRange(this.zoomedMin/(s||1),this.zoomedMax/(s||1))),this.rendered=!0}},a.prototype.addMouseEvents=function(){var t,i,e=this,o=e.chart,s=o.container,r=[];e.mouseMoveHandler=t=function(t){e.onMouseMove(t)},e.mouseUpHandler=i=function(t){e.onMouseUp(t)},(r=e.getPartsEvents("mousedown")).push(f(o.renderTo,"mousemove",t),f(s.ownerDocument,"mouseup",i)),n&&(r.push(f(o.renderTo,"touchmove",t),f(s.ownerDocument,"touchend",i)),r.concat(e.getPartsEvents("touchstart"))),e.eventsToUnbind=r,e.series&&e.series[0]&&r.push(f(e.series[0].xAxis,"foundExtremes",function(){o.navigator.modifyNavigatorAxisExtremes()}))},a.prototype.getPartsEvents=function(o){var s=this,r=[];return["shades","handles"].forEach(function(e){s[e].forEach(function(t,i){r.push(f(t.element,o,function(t){s[e+"Mousedown"](t,i)}))})}),r},a.prototype.shadesMousedown=function(t,i){t=this.chart.pointer.normalize(t);var e,o,s=this.chart,r=this.xAxis,n=this.zoomedMin,a=this.size,h=this.range,l=this.left,p=t.chartX;s.inverted&&(p=t.chartY,l=this.top),1===i?(this.grabbedCenter=p,this.fixedWidth=h,this.dragOffset=p-n):(t=p-l-h/2,0===i?t=Math.max(0,t):2===i&&a<=t+h&&(t=a-h,this.reversedExtremes?(t-=h,e=this.getUnionExtremes().dataMin):o=this.getUnionExtremes().dataMax),t!==n&&(this.fixedWidth=h,i=r.navigatorAxis.toFixedRange(t,t+h,e,o),y(i.min)&&s.xAxis[0].setExtremes(Math.min(i.min,i.max),Math.max(i.min,i.max),!0,null,{trigger:"navigator"})))},a.prototype.handlesMousedown=function(t,i){this.chart.pointer.normalize(t);var e=(t=this.chart).xAxis[0],o=this.reversedExtremes;0===i?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=o?e.min:e.max):(this.grabbedRight=!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=o?e.max:e.min),t.fixedRange=null},a.prototype.onMouseMove=function(t){var i=this,e=i.chart,o=i.navigatorSize,s=i.range,r=i.dragOffset,n=e.inverted,a=i.left;t.touches&&0===t.touches[0].pageX||(e=(t=e.pointer.normalize(t)).chartX,n&&(a=i.top,e=t.chartY),i.grabbedLeft?(i.hasDragged=!0,i.render(0,0,e-a,i.otherHandlePos)):i.grabbedRight?(i.hasDragged=!0,i.render(0,0,i.otherHandlePos,e-a)):i.grabbedCenter&&(i.hasDragged=!0,e=Math.round(t.size)),t.stickToMin=t.shouldStickToMin(this,t),i&&!t.hasNavigatorData&&(i.options.pointStart=this.xData[0],i.setData(this.options.data,!1,null,!1))},a.prototype.shouldStickToMin=function(t,i){i=i.getBaseSeriesMin(t.xData[0]);t=(o=t.xAxis).max;var e=o.min,o=o.options.range;return!(!M(t)||!M(e))&&(o&&0=v-m,d=!a&&k&&e),s=a&&e||e&&!k&&!p||a&&c.frozenStates,(o=!A&&(h||l||d||x))?t=3:s&&(k=!0,t=2),r.state!==t&&(r.setState(t),u&&(u.options[i+1].disabled=o,2===t&&(u.selectedIndex=i+1)),0===t&&M===i&&c.setSelected())})},l.prototype.computeButtonRange=function(t){var i=t.type,e=t.count||1,o={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};o[i]?t._range=o[i]*e:"month"!==i&&"year"!==i||(t._range=864e5*{month:30,year:365}[i]*e),t._offsetMin=S(t.offsetMin,0),t._offsetMax=S(t.offsetMax,0),t._range+=t._offsetMax-t._offsetMin},l.prototype.getInputValue=function(t){t="min"===t?this.minInput:this.maxInput;var i=this.chart.options.rangeSelector,e=this.chart.time;return t?("text"===t.type&&i.inputDateParser||this.defaultInputDateParser)(t.value,e.useUTC,e):0},l.prototype.setInputValue=function(t,i){var e,o=this.options,s=this.chart.time,r="min"===t?this.minInput:this.maxInput;t="min"===t?this.minDateBox:this.maxDateBox,r&&(e=r.getAttribute("data-hc-time"),e=y(e)?Number(e):void 0,y(i)&&(y(e)&&r.setAttribute("data-hc-time-previous",e),r.setAttribute("data-hc-time",i),e=i),r.value=s.dateFormat(this.inputTypeFormats[r.type]||o.inputEditDateFormat,e),t&&t.attr({text:s.dateFormat(o.inputDateFormat,e)}))},l.prototype.setInputExtremes=function(t,i,e){var o,s;(t="min"===t?this.minInput:this.maxInput)&&(o=this.inputTypeFormats[t.type],s=this.chart.time,o&&(i=s.dateFormat(o,i),t.min!==i&&(t.min=i),e=s.dateFormat(o,e),t.max!==e&&(t.max=e)))},l.prototype.showInput=function(t){var i,e,o,s,r="min"===t?this.minDateBox:this.maxDateBox;(t="min"===t?this.minInput:this.maxInput)&&r&&this.inputGroup&&(i="text"===t.type,e=(o=this.inputGroup).translateX,o=o.translateY,s=this.options.inputBoxWidth,x(t,{width:i?r.width+(s?-2:20)+"px":"auto",height:i?r.height-2+"px":"auto",border:"2px solid silver"}),x(t,i&&s?{left:e+r.x+"px",top:o+"px"}:{left:Math.min(Math.round(r.x+e-(t.offsetWidth-r.width)/2),this.chart.chartWidth-t.offsetWidth)+"px",top:o-(t.offsetHeight-r.height)/2+"px"}))},l.prototype.hideInput=function(t){(t="min"===t?this.minInput:this.maxInput)&&x(t,{top:"-9999em",border:0,width:"1px",height:"1px"})},l.prototype.defaultInputDateParser=function(t,i,e){var o,s=t.split("/").join("-").split(" ").join("T");return-1===s.indexOf("T")&&(s+="T00:00"),i?s+="Z":(o=(o=u.isSafari)?!(6<(o=s).length&&(o.lastIndexOf("-")===o.length-6||o.lastIndexOf("+")===o.length-6)):o)&&(s+=(o=new Date(s).getTimezoneOffset()/60)<=0?"+".concat(a(-o),":00"):"-".concat(a(o),":00")),s=Date.parse(s),C(s)||(t=t.split("-"),s=Date.UTC(h(t[0]),h(t[1])-1,h(t[2]))),e&&i&&C(s)&&(s+=e.getTimezoneOffset(s)),s},l.prototype.drawInput=function(n){function i(){var t=h.maxInput,i=h.minInput,e=a.xAxis[0],o=(s=a.scroller&&a.scroller.xAxis?a.scroller.xAxis:e).dataMin,s=s.dataMax,r=h.getInputValue(n);r!==Number(d.getAttribute("data-hc-time-previous"))&&C(r)&&(d.setAttribute("data-hc-time-previous",r),l&&t&&C(o)?r>Number(t.getAttribute("data-hc-time"))?r=void 0:r=-s?0:-s),translateY:n.alignAttr.translateY+r.getBBox().height+10})}var e=this,o=this.chart,r=this.buttonGroup,n=this.inputGroup,a=(p=this.options).buttonPosition,h=p.dropdown,l=p.inputPosition,p=function(){var i=0;return e.buttons.forEach(function(t){(t=t.getBBox()).width>i&&(i=t.width)}),i};if(r){if("always"===h)return this.collapseButtons(s),void(t(p())&&i());"never"===h&&this.expandButtons()}n&&r?l.align===a.align||t(this.initialButtonGroupWidth+20)?"responsive"===h?(this.collapseButtons(s),t(p())&&i()):i():"responsive"===h&&this.expandButtons():r&&"responsive"===h&&(this.initialButtonGroupWidth>o.plotWidth?this.collapseButtons(s):this.expandButtons())},l.prototype.collapseButtons=function(t){function e(t){return{text:t?t+" ▾":"▾",width:"auto",paddingLeft:S(n.buttonTheme.paddingLeft,h.padding,8),paddingRight:S(n.buttonTheme.paddingRight,h.padding,8)}}var o=this.buttons,i=this.buttonOptions,s=this.chart,r=this.dropdown,n=this.options,a=this.zoomText,h=s.userOptions.rangeSelector&&s.userOptions.rangeSelector.buttonTheme||{},l=(a&&a.hide(),!1);i.forEach(function(t,i){2!==(i=o[i]).state?i.hide():(i.show(),i.attr(e(t.text)),l=!0)}),l||(r&&(r.selectedIndex=0),o[0].show(),o[0].attr(e(this.zoomText&&this.zoomText.textStr))),i=n.buttonPosition.align,this.positionButtons(),"right"!==i&&"center"!==i||this.alignButtonGroup(t,o[this.currentButtonIndex()].getBBox().width),this.showDropdown()},l.prototype.expandButtons=function(){var e=this.buttons,t=this.buttonOptions,o=this.options,i=this.zoomText;this.hideDropdown(),i&&i.show(),t.forEach(function(t,i){(i=e[i]).show(),i.attr({text:t.text,width:o.buttonTheme.width||28,paddingLeft:S(o.buttonTheme.paddingLeft,"unset"),paddingRight:S(o.buttonTheme.paddingRight,"unset")}),i.state<2&&i.setState(0)}),this.positionButtons()},l.prototype.currentButtonIndex=function(){var t=this.dropdown;return t&&0e;if(s[m]5*r||v){if(s[m]>g){for(a=p.getTimeTicks(t,s[c],s[m],o);a.length&&a[0]<=g;)a.shift();a.length&&(g=a[a.length-1]),d.push(u.length),u=u.concat(a)}c=m+1}if(v)break}if(a){if(a=a.info,n&&a.unitRange<=k.hour){for(m=u.length-1,c=1;ce?a-1:a,m=void 0;f--;)d=p[f],a=Math.abs(m-d),m&&a<.8*l&&(null===c||a<.8*c)?(h[u[f]]&&!h[u[f+1]]?(a=f+1,m=d):a=f,u.splice(a,1)):m=d}return u}function r(t){var i=this.ordinal.positions;if(!i)return t;var e,o=i.length-1;return t<0?t=i[0]:o(p=(c=n<0?(d=a,u.ordinal.positions?u:a):(d=u.ordinal.positions?u:a,a)).ordinal.positions)[p.length-1]&&p.push(e),this.fixedRange=s-o,(p=u.navigatorAxis.toFixedRange(void 0,void 0,h.apply(d,[l.apply(d,[o,!0])+n]),h.apply(c,[l.apply(c,[s,!0])+n]))).min>=Math.min(i.dataMin,o)&&p.max<=Math.max(e,s)+g&&u.setExtremes(p.min,p.max,!0,!1,{trigger:"pan"}),this.mouseDownX=f,b(this.container,{cursor:"move"})):m=!0):m=!0,m||x&&/y/.test(x.type)?g&&(u.max=u.dataMax+g):t.preventDefault()}function u(){var t=this.xAxis;t&&t.options.ordinal&&(delete t.ordinal.index,delete t.ordinal.extendedOrdinalPositions)}function g(t,i){var e=this.ordinal,o=e.positions,s=e.slope,r=e.extendedOrdinalPositions;if(!o)return t;var n=o.length;if(o[0]<=t&&o[n-1]>=t)t=a(o,t);else{if(r||(r=e.getExtendedPositions&&e.getExtendedPositions(),e.extendedOrdinalPositions=r),!r||!r.length)return t;n=r.length,s=s||(r[n-1]-r[0])/n,o=a(r,o[0]),t=t>=r[0]&&t<=r[n-1]?a(r,t)-o:tf||s-h[h.length-1]>f)&&(p=!0)}else t.options.overscroll&&(2===g?l=h[1]-h[0]:1===g?(l=t.options.overscroll,h=[h[0],h[0]+l]):l=i.overscrollPointsRange);p||t.forceOrdinal?(t.options.overscroll&&(i.overscrollPointsRange=l,h=h.concat(i.getOverscrollPositions())),i.positions=h,f=t.ordinal2lin(Math.max(o,h[0]),!0),x=Math.max(t.ordinal2lin(Math.min(s,h[h.length-1]),!0),1),i.slope=s=(s-o)/(x-f),i.offset=o-f*s):(i.overscrollPointsRange=S(t.closestPointRange,i.overscrollPointsRange),i.positions=t.ordinal.slope=i.offset=void 0)}t.isOrdinal=n&&p,i.groupIntervalFactor=null},f.findIndexOf=function(t,i,e){for(var o,s=0,r=t.length-1;s=S(e.min,-1/0)&&(s=t.points[0].plotX)}),t=(t-s)/(e.translationSlope*(this.slope||e.closestPointRange||this.overscrollPointsRange)),f.findIndexOf(i,o)+t},f.prototype.getOverscrollPositions=function(){var t=this.axis,i=t.options.overscroll,e=this.overscrollPointsRange,o=[],s=t.dataMax;if(M(e))for(;s<=t.dataMax+i;)o.push(s+=e);return o},f.prototype.postProcessTickInterval=function(t){var i=this.axis,e=this.slope;return e?i.options.breaks?i.closestPointRange||t:t/(e/i.closestPointRange):t},o.Additions=f}(e=e||{}),e}),i(t,"Series/HLC/HLCPoint.js",[t["Core/Series/SeriesRegistry.js"]],function(t){var o,i,e=this&&this.__extends||(o=function(t,i){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e])})(t,i)},function(t,i){function e(){this.constructor=t}o(t,i),t.prototype=null===i?Object.create(i):(e.prototype=i.prototype,new e)});return i=t.seriesTypes.column.prototype.pointClass,e(s,i),s;function s(){var t=null!==i&&i.apply(this,arguments)||this;return t.close=void 0,t.high=void 0,t.low=void 0,t.options=void 0,t.plotClose=void 0,t.series=void 0,t}}),i(t,"Series/HLC/HLCSeriesDefaults.js",[],function(){return{lineWidth:1,tooltip:{pointFormat:' {series.name}
High: {point.high}
Low: {point.low}
Close: {point.close}
'},threshold:null,states:{hover:{lineWidth:3}},stickyTracking:!0}}),i(t,"Series/HLC/HLCSeries.js",[t["Series/HLC/HLCPoint.js"],t["Series/HLC/HLCSeriesDefaults.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,i,e,o){var s,n,r=this&&this.__extends||(s=function(t,i){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e])})(t,i)},function(t,i){function e(){this.constructor=t}s(t,i),t.prototype=null===i?Object.create(i):(e.prototype=i.prototype,new e)}),a=e.seriesTypes.column,h=o.extend,l=o.merge;function p(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t.yData=void 0,t}return r(p,n=a),p.prototype.extendStem=function(t,i,e){var o=t[0];t=t[1],"number"==typeof o[2]&&(o[2]=Math.max(e+i,o[2])),"number"==typeof t[2]&&(t[2]=Math.min(e-i,t[2]))},p.prototype.getPointPath=function(t,i){i=i.strokeWidth();var e=t.series,o=i%2/2,s=Math.round(t.plotX)-o,r=Math.round(t.shapeArgs.width/2),n=[["M",s,Math.round(t.yBottom)],["L",s,Math.round(t.plotHigh)]];return null!==t.close&&(t=Math.round(t.plotClose)+o,n.push(["M",s,t],["L",s+r,t]),e.extendStem(n,i/2,t)),n},p.prototype.drawSinglePoint=function(t){var i=t.series,e=i.chart,o=t.graphic;void 0!==t.plotY&&(o||(t.graphic=o=e.renderer.path().add(i.group)),e.styledMode||o.attr(i.pointAttribs(t,t.selected&&"select")),i=i.getPointPath(t,o),o[o?"animate":"attr"]({d:i}).addClass(t.getClassName(),!0))},p.prototype.drawPoints=function(){this.points.forEach(this.drawSinglePoint)},p.prototype.init=function(){n.prototype.init.apply(this,arguments),this.options.stacking=void 0},p.prototype.pointAttribs=function(t,i){return delete(t=n.prototype.pointAttribs.call(this,t,i)).fill,t},p.prototype.toYData=function(t){return[t.high,t.low,t.close]},p.prototype.translate=function(){var o=this,s=o.yAxis,t=this.pointArrayMap&&this.pointArrayMap.slice()||[],r=t.map(function(t){return"plot".concat(t.charAt(0).toUpperCase()+t.slice(1))});r.push("yBottom"),t.push("low"),n.prototype.translate.apply(o),o.points.forEach(function(e){t.forEach(function(t,i){null!==(t=e[t])&&(o.dataModify&&(t=o.dataModify.modifyValue(t)),e[r[i]]=s.toPixels(t,!0))}),e.tooltipPos[1]=e.plotHigh+s.pos-o.chart.plotTop})},p.defaultOptions=l(a.defaultOptions,i),h((o=p).prototype,{pointClass:t,animate:null,directTouch:!1,pointArrayMap:["high","low","close"],pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"},pointValKey:"close"}),e.registerSeriesType("hlc",o),o}),i(t,"Series/OHLC/OHLCPoint.js",[t["Core/Series/SeriesRegistry.js"]],function(t){var o,i,e=this&&this.__extends||(o=function(t,i){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e])})(t,i)},function(t,i){function e(){this.constructor=t}o(t,i),t.prototype=null===i?Object.create(i):(e.prototype=i.prototype,new e)});return i=t.seriesTypes.hlc.prototype.pointClass,e(s,i),s.prototype.getClassName=function(){return i.prototype.getClassName.call(this)+(this.open {series.name}
Open: {point.open}
High: {point.high}
Low: {point.low}
Close: {point.close}
'}}}),i(t,"Series/OHLC/OHLCSeries.js",[t["Series/OHLC/OHLCPoint.js"],t["Series/OHLC/OHLCSeriesDefaults.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,i,e,o){function s(t){var i=(t=t.options).dataGrouping;i&&t.useOhlcData&&"highcharts-navigator-series"!==t.id&&(i.approximation="ohlc")}function r(t){(t=t.options).useOhlcData&&"highcharts-navigator-series"!==t.id&&d(this,{pointValKey:u.prototype.pointValKey,pointArrayMap:u.prototype.pointArrayMap,toYData:u.prototype.toYData})}var n,a,h=this&&this.__extends||(a=function(t,i){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e])})(t,i)},function(t,i){function e(){this.constructor=t}a(t,i),t.prototype=null===i?Object.create(i):(e.prototype=i.prototype,new e)}),l=e.seriesTypes.hlc,p=o.addEvent,d=o.extend,o=o.merge,c=[],u=(h(g,n=l),g.compose=function(t){for(var i=1;ithis.xAxis.len,c=p.plotX,u=p.stackIndex,g=p.options.shape||s.shape,f=p.plotY,x=(void 0!==f&&(f=p.plotY+r-(void 0!==u&&u*s.stackDistance)),p.anchorX=u?void 0:p.plotX,u?void 0:p.plotY),m="flag"!==g,u=p.graphic;void 0!==f&&0<=c&&!d?((u=u&&p.hasNewShapeType()?u.destroy():u)||(u=p.graphic=e.label("",null,null,g,null,null,s.useHTML).addClass("highcharts-point").add(this.markerGroup),p.graphic.div&&(p.graphic.div.point=p),u.isNew=!0),u.attr({align:m?"center":"left",width:s.width,height:s.height,"text-align":s.textAlign}),i.styledMode||u.attr(this.pointAttribs(p)).css(A(s.style,p.style)).shadow(s.shadow),0u+l.width)&&(y?e=s=b(e,u,u+l.width):i=!0),i||f.push(["M",e,o],["L",s,r])}):n.forEach(function(t){var i;e=t.pos,s=e+t.len,o=r=Math.round(g+l.height-a),"pass"!==y&&(og+l.height)&&(y?o=r=b(o,g,g+l.height):i=!0),i||f.push(["M",e,o],["L",s,r])})),t.path=0=t&&(g=-(l.translateX+s.width-t)),l.attr({x:o+g,y:h,anchorX:r?o:this.opposite?0:e.chartWidth,anchorY:r?this.opposite?e.chartHeight:0:h+s.height/2}))}),s.prototype.forceCropping=function(){var t=this.chart,i=this.options.dataGrouping;return!1!==this.allowDG&&i&&C(i.enabled,t.options.isStock)},e(i,"update",function(t){"scrollbar"in(t=t.options)&&this.navigator&&(m(!0,this.options.scrollbar,t.scrollbar),this.navigator.update({}),delete t.scrollbar)}),l}),i(t,"masters/modules/stock.src.js",[t["Core/Globals.js"],t["Series/DataModifyComposition.js"],t["Stock/Navigator/Navigator.js"],t["Stock/RangeSelector/RangeSelector.js"],t["Stock/Scrollbar/Scrollbar.js"],t["Core/Axis/OrdinalAxis.js"],t["Series/OHLC/OHLCSeries.js"],t["Series/Flags/FlagsSeries.js"],t["Core/Chart/StockChart.js"]],function(t,i,e,o,s,r,n,a,h){t.Navigator=e,t.RangeSelector=o,t.Scrollbar=s,t.StockChart=t.stockChart=h.stockChart,i.compose(t.Series,t.Axis,t.Point),a.compose(t.Renderer),e.compose(t.Axis,t.Chart,t.Series),n.compose(t.Series),r.compose(t.Axis,t.Series,t.Chart),o.compose(t.Axis,t.Chart),s.compose(t.Axis)})}); \ No newline at end of file diff --git a/assets/js/external/highcharts/modules/sunburst.min.js b/assets/js/external/highcharts/modules/sunburst.min.js index 42b6c9d9..09952d83 100644 --- a/assets/js/external/highcharts/modules/sunburst.min.js +++ b/assets/js/external/highcharts/modules/sunburst.min.js @@ -1 +1 @@ -!function(e){"object"==typeof module&&module.exports?module.exports=e.default=e:"function"==typeof define&&define.amd?define("highcharts/modules/sunburst",["highcharts"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,o,i){t.hasOwnProperty(e)||(t[e]=i.apply(null,o),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Series/ColorMapComposition.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){var o,i,t=t.seriesTypes.column.prototype,r=e.addEvent,s=e.defined;function n(t){this.moveToTopOnHover&&this.graphic&&this.graphic.attr({zIndex:t&&"hover"===t.state?1:0})}return e=o=o||{},i=[],e.pointMembers={dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return null!==this.value&&1/0!==this.value&&-1/0!==this.value&&(void 0===this.value||!isNaN(this.value))}},e.seriesMembers={colorKey:"value",axisTypes:["xAxis","yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"],colorAttribs:function(t){var e={};return!s(t.color)||t.state&&"normal"!==t.state||(e[this.colorProp||"fill"]=t.color),e},pointAttribs:t.pointAttribs},e.compose=function(t){var e=t.prototype.pointClass;return-1===i.indexOf(e)&&(i.push(e),r(e,"afterSetState",n)),t},o}),e(t,"Series/Treemap/TreemapAlgorithmGroup.js",[],function(){return t.prototype.addElement=function(t){this.lP.total=this.elArr[this.elArr.length-1],this.total+=t,0===this.direction?(this.lW=this.nW,this.lP.lH=this.lP.total/this.lW,this.lP.lR=this.lP.aspectRatio(this.lW,this.lP.lH),this.nW=this.total/this.height,this.lP.nH=this.lP.total/this.nW,this.lP.nR=this.lP.aspectRatio(this.nW,this.lP.nH)):(this.lH=this.nH,this.lP.lW=this.lP.total/this.lH,this.lP.lR=this.lP.aspectRatio(this.lP.lW,this.lH),this.nH=this.total/this.width,this.lP.nW=this.lP.total/this.nH,this.lP.nR=this.lP.aspectRatio(this.lP.nW,this.nH)),this.elArr.push(t)},t.prototype.reset=function(){this.lW=this.nW=0,this.elArr=[],this.total=0},t;function t(t,e,o,i){this.height=t,this.width=e,this.plot=i,this.startDirection=this.direction=o,this.lH=this.nH=this.lW=this.nW=this.total=0,this.elArr=[],this.lP={total:0,lH:0,nH:0,lW:0,nW:0,nR:0,lR:0,aspectRatio:function(t,e){return Math.max(t/e,e/t)}}}}),e(t,"Series/DrawPointUtilities.js",[t["Core/Utilities.js"]],function(t){function l(t){return"treemap"!==(t.series&&t.series.type)?!t.isNull:e(t.plotY)&&null!==t.y}var e=t.isNumber;return{draw:function(t,e){var o=e.animatableAttribs,i=e.onComplete,r=e.css,s=e.renderer,n=t.series&&t.series.chart.hasRendered?void 0:t.series&&t.series.options.animation,a=t.graphic;e.attribs=e.attribs||{},e.attribs.class=t.getClassName(),l(t)?(a||(t.graphic=a="text"===e.shapeType?s.text():s[e.shapeType](e.shapeArgs||{}),a.add(e.group)),r&&a.css(r),a.attr(e.attribs).animate(o,!e.isNew&&n,i)):a&&(s=function(){t.graphic=a=a&&a.destroy(),"function"==typeof i&&i()},Object.keys(o).length?a.animate(o,void 0,s):s())},shouldDraw:l}}),e(t,"Series/Treemap/TreemapPoint.js",[t["Series/DrawPointUtilities.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(e,t,o){var i,r,s=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=t.series.prototype.pointClass,a=t.seriesTypes,l=(t=a.pie.prototype.pointClass,o.extend),p=o.isNumber,d=o.pick;function h(){var t=null!==r&&r.apply(this,arguments)||this;return t.name=void 0,t.node=void 0,t.options=void 0,t.series=void 0,t.value=void 0,t}return r=a.scatter.prototype.pointClass,s(h,r),h.prototype.draw=function(t){e.draw(this,t)},h.prototype.getClassName=function(){var t=n.prototype.getClassName.call(this),e=this.series,o=e.options;return this.node.level<=e.nodeMap[e.rootNode].level?t+=" highcharts-above-level":this.node.isLeaf||d(o.interactByLeaf,!o.allowTraversingTree)?this.node.isLeaf||(t+=" highcharts-internal-node"):t+=" highcharts-internal-node-interactive",t},h.prototype.isValid=function(){return!(!this.id&&!p(this.value))},h.prototype.setState=function(t){n.prototype.setState.call(this,t),this.graphic&&this.graphic.attr({zIndex:"hover"===t?1:0})},h.prototype.shouldDraw=function(){return e.shouldDraw(this)},l((o=h).prototype,{setVisible:t.prototype.setVisible}),o}),e(t,"Series/Treemap/TreemapUtilities.js",[t["Core/Utilities.js"]],function(t){var e,s=t.objectEach;return(t=e=e||{}).AXIS_MAX=100,t.isBoolean=function(t){return"boolean"==typeof t},t.eachObject=function(o,i,r){r=r||this,s(o,function(t,e){i.call(r,t,e,o)})},t.recursive=function t(e,o,i){!1!==(e=o.call(i=void 0===i?this:i,e))&&t(e,o,i)},e}),e(t,"Series/TreeUtilities.js",[t["Core/Color/Color.js"],t["Core/Utilities.js"]],function(v,t){var d=t.extend,n=t.isArray,a=t.isNumber,l=t.isObject,p=t.merge,f=t.pick;return{getColor:function(t,e){var o,i,r,s=e.index,n=e.mapOptionsToLevel,a=e.parentColor,l=e.parentColorIndex,p=e.series,d=e.colors,h=e.siblings,u=p.points,c=p.chart.options.chart;return t&&(u=u[t.i],t=n[t.level]||{},u&&t.colorByPoint&&(i=u.index%(d?d.length:c.colorCount),r=d&&d[i]),p.chart.styledMode||(d=u&&u.options.color,c=t&&t.color,(o=a)&&(o=(o=t&&t.colorVariation)&&"brightness"===o.key&&s&&h?v.parse(a).brighten(s/h*o.to).get():a),o=f(d,c,r,o,p.color)),r=f(u&&u.options.colorIndex,t&&t.colorIndex,i,l,e.colorIndex)),{color:o,colorIndex:r}},getLevelOptions:function(t){var e=null;if(l(t)){var e={},r=a(t.from)?t.from:1,o=t.levels,i={},s=l(t.defaults)?t.defaults:{};for(n(o)&&(i=o.reduce(function(t,e){var o,i;return l(e)&&a(e.level)&&(o=p({},e),i=f(o.levelIsConstant,s.levelIsConstant),delete o.levelIsConstant,delete o.level,e=e.level+(i?0:r-1),l(t[e])?p(!0,t[e],o):t[e]=o),t},{})),o=a(t.to)?t.to:1,t=0;t<=o;t++)e[t]=p({},s,l(i[t])?i[t]:{})}return e},setTreeValues:function i(r,s){var t=s.before,e=s.idRoot,o=s.mapIdToNode[e],n=s.points[r.i],a=n&&n.options||{},l=[],p=0;return r.levelDynamic=r.level-(!1!==s.levelIsConstant?0:o.level),r.name=f(n&&n.name,""),r.visible=e===r.id||!0===s.visible,(r="function"==typeof t?t(r,s):r).children.forEach(function(t,e){var o=d({},s);d(o,{index:e,siblings:r.children.length,visible:r.visible}),t=i(t,o),l.push(t),t.visible&&(p+=t.val)}),t=f(a.value,p),r.visible=0<=t&&(0p.lP.lR&&s.algorithmCalcPoints(e,!1,p,r,n),a===l&&s.algorithmCalcPoints(e,!0,p,r,n),a+=1}),r},j.prototype.alignDataLabel=function(t,e,o){var i=o.style;i&&!L(i.textOverflow)&&e.text&&e.getBBox().width>e.text.textWidth&&e.css({textOverflow:"ellipsis",width:i.width+="px"}),g.prototype.alignDataLabel.apply(this,arguments),t.dataLabel&&t.dataLabel.attr({zIndex:(t.node.zIndex||0)+1})},j.prototype.buildNode=function(e,t,o,i,r){var s,n=this,a=[],l=n.points[t],p=0;return(i[e]||[]).forEach(function(t){s=n.buildNode(n.points[t].id,t,o+1,i,e),p=Math.max(s.height+1,p),a.push(s)}),t={id:e,i:t,children:a,height:p,level:o,parent:r,visible:!1},n.nodeMap[t.id]=t,l&&(l.node=t),t},j.prototype.calculateChildrenAreas=function(t,o){var i,r=this,e=r.options,s=r.mapOptionsToLevel[t.level+1],n=M(r[s&&s.layoutAlgorithm]&&s.layoutAlgorithm,e.layoutAlgorithm),a=e.alternateStartingDirection;t=t.children.filter(function(t){return!t.ignore}),s&&s.layoutStartingDirection&&(o.direction="vertical"===s.layoutStartingDirection?0:1),i=r[n](o,t),t.forEach(function(t,e){e=i[e],t.values=R(e,{val:t.childrenTotal,direction:a?1-o.direction:o.direction}),t.pointValues=R(e,{x:e.x/r.axisRatio,y:l.AXIS_MAX-e.y-e.height,width:e.width/r.axisRatio}),t.children.length&&r.calculateChildrenAreas(t,t.values)})},j.prototype.createList=function(t){var e=this.chart,o=[];if(e.breadcrumbs){var i=0;o.push({level:i,levelOptions:e.series[0]});for(var e=t.target.nodeMap[t.newRootId],r=[];e.parent||""===e.parent;)r.push(e),e=t.target.nodeMap[e.parent];r.reverse().forEach(function(t){o.push({level:++i,levelOptions:t})}),o.length<=1&&(o.length=0)}return o},j.prototype.drawDataLabels=function(){var e,o,i=this,r=i.mapOptionsToLevel;i.points.filter(function(t){return t.node.visible}).forEach(function(t){o=r[t.node.level],e={style:{}},t.node.isLeaf||(e.enabled=!1),o&&o.dataLabels&&(e=R(e,o.dataLabels),i._hasPointLabels=!0),t.shapeArgs&&(e.style.width=t.shapeArgs.width,t.dataLabel&&t.dataLabel.css({width:t.shapeArgs.width+"px"})),t.dlOptions=R(e,t.options.dataLabels)}),f.prototype.drawDataLabels.call(this)},j.prototype.drawPoints=function(){var p=this,t=p.chart,d=t.renderer,h=t.styledMode,u=p.options,c=h?{}:u.shadow,v=u.borderRadius,f=t.pointCount{point.name}: {point.value}
"},ignoreHiddenPoint:!0,layoutAlgorithm:"sliceAndDice",layoutStartingDirection:"vertical",alternateStartingDirection:!1,levelIsConstant:!0,traverseUpButton:{position:{align:"right",x:-10,y:10}},borderColor:"#e6e6e6",borderWidth:1,colorKey:"colorValue",opacity:.15,states:{hover:{borderColor:"#999999",brightness:y?0:.1,halo:!1,opacity:.75,shadow:!1}}}),A((n=j).prototype,{buildKDTree:t,colorAttribs:e.seriesMembers.colorAttribs,colorKey:"colorValue",directTouch:!0,drawLegendSymbol:i.drawRectangle,getExtremesFromAll:!0,getSymbol:t,optionalAxis:"colorAxis",parallelArrays:["x","y","value","colorValue"],pointArrayMap:["value"],pointClass:s,trackerGroups:["group","dataLabelsGroup"],utils:{recursive:l.recursive}}),e.compose(n),r.registerSeriesType("treemap",n),n}),e(t,"Series/Sunburst/SunburstPoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){var i,o,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),s=t.series.prototype.pointClass,a=e.correctFloat;function n(){var t=null!==o&&o.apply(this,arguments)||this;return t.node=void 0,t.options=void 0,t.series=void 0,t.shapeExisting=void 0,t}return e=e.extend,o=t.seriesTypes.treemap.prototype.pointClass,r(n,o),n.prototype.getDataLabelPath=function(t){var e,o=this.series.chart.renderer,i=this.shapeExisting,r=i.start,s=i.end,n=r+(s-r)/2;return n=n<0&&n>-Math.PI||n>Math.PI,t=i.r+(t.options.distance||0),r===-Math.PI/2&&a(s)===a(1.5*Math.PI)&&(r=-Math.PI+Math.PI/360,s=-Math.PI/360,n=!0),s-r>Math.PI&&(e=!(n=!1)),this.dataLabelPath&&(this.dataLabelPath=this.dataLabelPath.destroy()),this.dataLabelPath=o.arc({open:!0,longArc:e?1:0}).attr({start:n?r:s,end:n?s:r,clockwise:+n,x:i.x,y:i.y,r:(t+i.innerR)/2}).add(o.defs)},n.prototype.isValid=function(){return!0},e((t=n).prototype,{getClassName:s.prototype.getClassName,haloPath:s.prototype.haloPath,setState:s.prototype.setState}),t}),e(t,"Series/Sunburst/SunburstUtilities.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){var o,t=t.seriesTypes.treemap,l=e.isNumber,p=e.isObject,d=e.merge;function h(t,e){var o=[];if(l(t)&&l(e)&&t<=e)for(;t<=e;t++)o.push(t);return o}return(e=o=o||{}).recursive=t.prototype.utils.recursive,e.calculateLevelSizes=function(t,e){e=p(e)?e:{};var i,r,o,s,n,a=0;return p(t)&&(r=d({},t),t=l(e.from)?e.from:0,o=l(e.to)?e.to:0,s=h(t,o),t=Object.keys(r).filter(function(t){return-1===s.indexOf(+t)}),n=i=l(e.diffRadius)?e.diffRadius:0,s.forEach(function(t){var e=(t=r[t]).levelSize.unit,o=t.levelSize.value;"weight"===e?a+=o:"percentage"===e?(t.levelSize={unit:"pixels",value:o/100*n},i-=t.levelSize.value):"pixels"===e&&(i-=o)}),s.forEach(function(t){var e=r[t];"weight"===e.levelSize.unit&&(e=e.levelSize.value,r[t].levelSize={unit:"pixels",value:e/a*i})}),t.forEach(function(t){r[t].levelSize={value:0,unit:"pixels"}})),r},e.getLevelFromAndTo=function(t){var e=t.level;return{from:0s.radius?(i=0,t.dataLabelPath&&"circular"===o&&(n.textPath={enabled:!0})):11.5*s.radius?"circular"===o?n.textPath={enabled:!0,attributes:{dy:5}}:o="parallel":(t.dataLabel&&t.dataLabel.textPath&&"circular"===o&&(n.textPath={enabled:!1}),o="perpendicular")),"auto"!==o&&"circular"!==o&&(i=s.end-(s.end-s.start)/2),n.style.width="parallel"===o?Math.min(2.5*s.radius,(t.outerArcLength+t.innerArcLength)/2):s.radius,"perpendicular"===o&&t.series.chart.renderer.fontMetrics(n.style.fontSize).h>t.outerArcLength&&(n.style.width=1),n.style.width=Math.max(n.style.width-2*(n.padding||0),1),i=i*j%180,"parallel"===o&&(i-=90),90t.val?t.childrenTotal:t.val;this.points[t.i]&&(this.points[t.i].innerArcLength=r*e.innerR,this.points[t.i].outerArcLength=r*e.r),t.shapeArgs=M(e,{plotX:i.x,plotY:i.y+4*Math.abs(Math.cos(o))}),t.values=M(e,{val:s}),t.children.length&&this.setShapeArgs(t,t.values,n)},this)},u.prototype.translate=function(){var e=this,t=e.options,o=e.center=e.getCenter(),i=e.startAndEndRadians=y(t.startAngle,t.endAngle),r=o[3]/2,s=o[2]/2-r,n=x(e),a=e.nodeMap,l=a&&a[n],p={},d=(e.shapeRoot=l&&l.shapeArgs,C.prototype.translate.call(e),e.tree=e.getTree()),l=(a=e.nodeMap)[n],h=a[w(l.parent)?l.parent:""],u=(v=f.getLevelFromAndTo(l)).from,c=v.to,v=b({from:u,levels:e.options.levels,to:c,defaults:{colorByPoint:t.colorByPoint,dataLabels:t.dataLabels,levelIsConstant:t.levelIsConstant,levelSize:t.levelSize,slicedOffset:t.slicedOffset}});v=f.calculateLevelSizes(v,{diffRadius:s,from:u,to:c}),m(d,{before:g,idRoot:n,levelIsConstant:t.levelIsConstant,mapOptionsToLevel:v,mapIdToNode:a,points:e.points,series:e}),t=a[""].shapeArgs={end:i.end,r:r,start:i.start,val:l.val,x:o[0],y:o[1]},this.setShapeArgs(h,t,v),e.mapOptionsToLevel=v,e.data.forEach(function(t){p[t.id]&&S(31,!1,e.chart),p[t.id]=!0}),p={}},u.defaultOptions=M(d.defaultOptions,{center:["50%","50%"],colorByPoint:!1,opacity:1,dataLabels:{allowOverlap:!0,defer:!0,rotationMode:"auto",style:{textOverflow:"ellipsis"}},rootId:void 0,levelIsConstant:!0,levelSize:{value:1,unit:"weight"},slicedOffset:10}),O((r=u).prototype,{drawDataLabels:t,getCenter:p,onPointSupported:!0,pointAttribs:e.prototype.pointAttribs,pointClass:i,utils:f}),o.registerSeriesType("sunburst",r),r}),e(t,"masters/modules/sunburst.src.js",[],function(){})}); \ No newline at end of file +!function(e){"object"==typeof module&&module.exports?module.exports=e.default=e:"function"==typeof define&&define.amd?define("highcharts/modules/sunburst",["highcharts"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,o,i){t.hasOwnProperty(e)||(t[e]=i.apply(null,o),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Series/ColorMapComposition.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){var o,i,t=t.seriesTypes.column.prototype,r=e.addEvent,s=e.defined;function n(t){this.moveToTopOnHover&&this.graphic&&this.graphic.attr({zIndex:t&&"hover"===t.state?1:0})}return e=o=o||{},i=[],e.pointMembers={dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return null!==this.value&&1/0!==this.value&&-1/0!==this.value&&(void 0===this.value||!isNaN(this.value))}},e.seriesMembers={colorKey:"value",axisTypes:["xAxis","yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"],colorAttribs:function(t){var e={};return!s(t.color)||t.state&&"normal"!==t.state||(e[this.colorProp||"fill"]=t.color),e},pointAttribs:t.pointAttribs},e.compose=function(t){var e=t.prototype.pointClass;return-1===i.indexOf(e)&&(i.push(e),r(e,"afterSetState",n)),t},o}),e(t,"Series/Treemap/TreemapAlgorithmGroup.js",[],function(){return t.prototype.addElement=function(t){this.lP.total=this.elArr[this.elArr.length-1],this.total+=t,0===this.direction?(this.lW=this.nW,this.lP.lH=this.lP.total/this.lW,this.lP.lR=this.lP.aspectRatio(this.lW,this.lP.lH),this.nW=this.total/this.height,this.lP.nH=this.lP.total/this.nW,this.lP.nR=this.lP.aspectRatio(this.nW,this.lP.nH)):(this.lH=this.nH,this.lP.lW=this.lP.total/this.lH,this.lP.lR=this.lP.aspectRatio(this.lP.lW,this.lH),this.nH=this.total/this.width,this.lP.nW=this.lP.total/this.nH,this.lP.nR=this.lP.aspectRatio(this.lP.nW,this.nH)),this.elArr.push(t)},t.prototype.reset=function(){this.lW=this.nW=0,this.elArr=[],this.total=0},t;function t(t,e,o,i){this.height=t,this.width=e,this.plot=i,this.startDirection=this.direction=o,this.lH=this.nH=this.lW=this.nW=this.total=0,this.elArr=[],this.lP={total:0,lH:0,nH:0,lW:0,nW:0,nR:0,lR:0,aspectRatio:function(t,e){return Math.max(t/e,e/t)}}}}),e(t,"Series/DrawPointUtilities.js",[t["Core/Utilities.js"]],function(t){return{draw:function(t,e){var o=e.animatableAttribs,i=e.onComplete,r=e.css,s=e.renderer,n=t.series&&t.series.chart.hasRendered?void 0:t.series&&t.series.options.animation,a=t.graphic;e.attribs=e.attribs||{},e.attribs.class=t.getClassName(),t.shouldDraw()?(a||(t.graphic=a="text"===e.shapeType?s.text():s[e.shapeType](e.shapeArgs||{}),a.add(e.group)),r&&a.css(r),a.attr(e.attribs).animate(o,!e.isNew&&n,i)):a&&(s=function(){t.graphic=a=a&&a.destroy(),"function"==typeof i&&i()},Object.keys(o).length?a.animate(o,void 0,s):s())}}}),e(t,"Series/Treemap/TreemapPoint.js",[t["Series/DrawPointUtilities.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(e,t,o){var i,r,s=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=t.series.prototype.pointClass,a=t.seriesTypes,l=(t=a.pie.prototype.pointClass,o.extend),p=o.isNumber,d=o.pick;function h(){var t=null!==r&&r.apply(this,arguments)||this;return t.name=void 0,t.node=void 0,t.options=void 0,t.series=void 0,t.shapeType="rect",t.value=void 0,t}return r=a.scatter.prototype.pointClass,s(h,r),h.prototype.draw=function(t){e.draw(this,t)},h.prototype.getClassName=function(){var t=n.prototype.getClassName.call(this),e=this.series,o=e.options;return this.node.level<=e.nodeMap[e.rootNode].level?t+=" highcharts-above-level":this.node.isLeaf||d(o.interactByLeaf,!o.allowTraversingTree)?this.node.isLeaf||(t+=" highcharts-internal-node"):t+=" highcharts-internal-node-interactive",t},h.prototype.isValid=function(){return!(!this.id&&!p(this.value))},h.prototype.setState=function(t){n.prototype.setState.call(this,t),this.graphic&&this.graphic.attr({zIndex:"hover"===t?1:0})},h.prototype.shouldDraw=function(){return p(this.plotY)&&null!==this.y},l((o=h).prototype,{setVisible:t.prototype.setVisible}),o}),e(t,"Series/Treemap/TreemapUtilities.js",[t["Core/Utilities.js"]],function(t){var e,s=t.objectEach;return(t=e=e||{}).AXIS_MAX=100,t.isBoolean=function(t){return"boolean"==typeof t},t.eachObject=function(o,i,r){r=r||this,s(o,function(t,e){i.call(r,t,e,o)})},t.recursive=function t(e,o,i){!1!==(e=o.call(i=void 0===i?this:i,e))&&t(e,o,i)},e}),e(t,"Series/TreeUtilities.js",[t["Core/Color/Color.js"],t["Core/Utilities.js"]],function(v,t){var d=t.extend,n=t.isArray,a=t.isNumber,l=t.isObject,p=t.merge,f=t.pick;return{getColor:function(t,e){var o,i,r,s=e.index,n=e.mapOptionsToLevel,a=e.parentColor,l=e.parentColorIndex,p=e.series,d=e.colors,h=e.siblings,u=p.points,c=p.chart.options.chart;return t&&(u=u[t.i],t=n[t.level]||{},u&&t.colorByPoint&&(i=u.index%(d?d.length:c.colorCount),r=d&&d[i]),p.chart.styledMode||(d=u&&u.options.color,c=t&&t.color,(o=a)&&(o=(o=t&&t.colorVariation)&&"brightness"===o.key&&s&&h?v.parse(a).brighten(s/h*o.to).get():a),o=f(d,c,r,o,p.color)),r=f(u&&u.options.colorIndex,t&&t.colorIndex,i,l,e.colorIndex)),{color:o,colorIndex:r}},getLevelOptions:function(t){var e={};if(l(t)){var r=a(t.from)?t.from:1,o=t.levels,i={},s=l(t.defaults)?t.defaults:{};for(n(o)&&(i=o.reduce(function(t,e){var o,i;return l(e)&&a(e.level)&&(o=p({},e),i=f(o.levelIsConstant,s.levelIsConstant),delete o.levelIsConstant,delete o.level,e=e.level+(i?0:r-1),l(t[e])?p(!0,t[e],o):t[e]=o),t},{})),o=a(t.to)?t.to:1,t=0;t<=o;t++)e[t]=p({},s,l(i[t])?i[t]:{})}return e},setTreeValues:function i(r,s){var t=s.before,e=s.idRoot,o=s.mapIdToNode[e],n=s.points[r.i],a=n&&n.options||{},l=[],p=0;return r.levelDynamic=r.level-(!1!==s.levelIsConstant?0:o.level),r.name=f(n&&n.name,""),r.visible=e===r.id||!0===s.visible,(r="function"==typeof t?t(r,s):r).children.forEach(function(t,e){var o=d({},s);d(o,{index:e,siblings:r.children.length,visible:r.visible}),t=i(t,o),l.push(t),t.visible&&(p+=t.val)}),t=f(a.value,p),r.visible=0<=t&&(0p.lP.lR&&s.algorithmCalcPoints(e,!1,p,r,n),a===l&&s.algorithmCalcPoints(e,!0,p,r,n),a+=1}),r},E.prototype.alignDataLabel=function(t,e,o){var i=o.style;i&&!L(i.textOverflow)&&e.text&&e.getBBox().width>e.text.textWidth&&e.css({textOverflow:"ellipsis",width:i.width+="px"}),g.prototype.alignDataLabel.apply(this,arguments),t.dataLabel&&t.dataLabel.attr({zIndex:(t.node.zIndex||0)+1})},E.prototype.calculateChildrenAreas=function(t,o){var i,r=this,e=r.options,s=r.mapOptionsToLevel[t.level+1],n=j(r[s&&s.layoutAlgorithm]&&s.layoutAlgorithm,e.layoutAlgorithm),a=e.alternateStartingDirection;t=t.children.filter(function(t){return!t.ignore}),s&&s.layoutStartingDirection&&(o.direction="vertical"===s.layoutStartingDirection?0:1),i=r[n](o,t),t.forEach(function(t,e){e=i[e],t.values=M(e,{val:t.childrenTotal,direction:a?1-o.direction:o.direction}),t.pointValues=M(e,{x:e.x/r.axisRatio,y:l.AXIS_MAX-e.y-e.height,width:e.width/r.axisRatio}),t.children.length&&r.calculateChildrenAreas(t,t.values)})},E.prototype.createList=function(t){var e=this.chart,o=[];if(e.breadcrumbs){var i=0;o.push({level:i,levelOptions:e.series[0]});for(var e=t.target.nodeMap[t.newRootId],r=[];e.parent||""===e.parent;)r.push(e),e=t.target.nodeMap[e.parent];r.reverse().forEach(function(t){o.push({level:++i,levelOptions:t})}),o.length<=1&&(o.length=0)}return o},E.prototype.drawDataLabels=function(){var e,o,i=this,r=i.mapOptionsToLevel;i.points.filter(function(t){return t.node.visible}).forEach(function(t){o=r[t.node.level],e={style:{}},t.node.isLeaf||(e.enabled=!1),o&&o.dataLabels&&(e=M(e,o.dataLabels),i._hasPointLabels=!0),t.shapeArgs&&(e.style.width=t.shapeArgs.width,t.dataLabel&&t.dataLabel.css({width:t.shapeArgs.width+"px"})),t.dlOptions=M(e,t.options.dataLabels)}),y.prototype.drawDataLabels.call(this)},E.prototype.drawPoints=function(t){void 0===t&&(t=this.points);var p=this,e=p.chart,d=e.renderer,h=e.styledMode,u=p.options,c=h?{}:u.shadow,v=u.borderRadius,f=e.pointCount{point.name}: {point.value}
"},ignoreHiddenPoint:!0,layoutAlgorithm:"sliceAndDice",layoutStartingDirection:"vertical",alternateStartingDirection:!1,levelIsConstant:!0,traverseUpButton:{position:{align:"right",x:-10,y:10}},borderColor:"#e6e6e6",borderWidth:1,colorKey:"colorValue",opacity:.15,states:{hover:{borderColor:"#999999",brightness:b?0:.1,halo:!1,opacity:.75,shadow:!1}}}),P((n=E).prototype,{buildKDTree:t,colorAttribs:e.seriesMembers.colorAttribs,colorKey:"colorValue",directTouch:!0,drawLegendSymbol:i.drawRectangle,getExtremesFromAll:!0,getSymbol:t,optionalAxis:"colorAxis",parallelArrays:["x","y","value","colorValue"],pointArrayMap:["value"],pointClass:s,NodeClass:h,trackerGroups:["group","dataLabelsGroup"],utils:{recursive:l.recursive}}),e.compose(n),r.registerSeriesType("treemap",n),n}),e(t,"Series/Sunburst/SunburstPoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){var i,o,r=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),s=t.series.prototype.pointClass,a=e.correctFloat;function n(){var t=null!==o&&o.apply(this,arguments)||this;return t.node=void 0,t.options=void 0,t.series=void 0,t.shapeExisting=void 0,t.shapeType=void 0,t}return e=e.extend,o=t.seriesTypes.treemap.prototype.pointClass,r(n,o),n.prototype.getDataLabelPath=function(t){var e,o=this.series.chart.renderer,i=this.shapeExisting,r=i.start,s=i.end,n=r+(s-r)/2;return n=n<0&&n>-Math.PI||n>Math.PI,t=i.r+(t.options.distance||0),r===-Math.PI/2&&a(s)===a(1.5*Math.PI)&&(r=-Math.PI+Math.PI/360,s=-Math.PI/360,n=!0),s-r>Math.PI&&(e=!(n=!1)),this.dataLabelPath&&(this.dataLabelPath=this.dataLabelPath.destroy()),this.dataLabelPath=o.arc({open:!0,longArc:e?1:0}).attr({start:n?r:s,end:n?s:r,clockwise:+n,x:i.x,y:i.y,r:(t+i.innerR)/2}).add(o.defs)},n.prototype.isValid=function(){return!0},e((t=n).prototype,{getClassName:s.prototype.getClassName,haloPath:s.prototype.haloPath,setState:s.prototype.setState}),t}),e(t,"Series/Sunburst/SunburstUtilities.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){var o,t=t.seriesTypes.treemap,l=e.isNumber,p=e.isObject,d=e.merge;function h(t,e){var o=[];if(l(t)&&l(e)&&t<=e)for(;t<=e;t++)o.push(t);return o}return(e=o=o||{}).recursive=t.prototype.utils.recursive,e.calculateLevelSizes=function(t,e){e=p(e)?e:{};var i,r,o,s,n,a=0;return p(t)&&(r=d({},t),t=l(e.from)?e.from:0,o=l(e.to)?e.to:0,s=h(t,o),t=Object.keys(r).filter(function(t){return-1===s.indexOf(+t)}),n=i=l(e.diffRadius)?e.diffRadius:0,s.forEach(function(t){var e=(t=r[t]).levelSize.unit,o=t.levelSize.value;"weight"===e?a+=o:"percentage"===e?(t.levelSize={unit:"pixels",value:o/100*n},i-=t.levelSize.value):"pixels"===e&&(i-=o)}),s.forEach(function(t){var e=r[t];"weight"===e.levelSize.unit&&(e=e.levelSize.value,r[t].levelSize={unit:"pixels",value:e/a*i})}),t.forEach(function(t){r[t].levelSize={value:0,unit:"pixels"}})),r},e.getLevelFromAndTo=function(t){var e=t.level;return{from:0s.radius?(i=0,t.dataLabelPath&&"circular"===o&&(n.textPath={enabled:!0})):11.5*s.radius?"circular"===o?n.textPath={enabled:!0,attributes:{dy:5}}:o="parallel":(t.dataLabel&&t.dataLabel.textPath&&"circular"===o&&(n.textPath={enabled:!1}),o="perpendicular")),"auto"!==o&&"circular"!==o&&(i=s.end-(s.end-s.start)/2),"parallel"===o?n.style.width=Math.min(2.5*s.radius,(t.outerArcLength+t.innerArcLength)/2):!O(n.style.width)&&s.radius&&(n.style.width=1===t.node.level?2*s.radius:s.radius),"perpendicular"===o&&t.series.chart.renderer.fontMetrics(n.style.fontSize).h>t.outerArcLength&&(n.style.width=1),n.style.width=Math.max(n.style.width-2*(n.padding||0),1),i=i*E%180,"parallel"===o&&(i-=90),90t.val?t.childrenTotal:t.val;this.points[t.i]&&(this.points[t.i].innerArcLength=r*e.innerR,this.points[t.i].outerArcLength=r*e.r),t.shapeArgs=j(e,{plotX:i.x,plotY:i.y+4*Math.abs(Math.cos(o))}),t.values=j(e,{val:s}),t.children.length&&this.setShapeArgs(t,t.values,n)},this)},c.prototype.translate=function(){var e=this,t=e.options,o=e.center=e.getCenter(),i=e.startAndEndRadians=g(t.startAngle,t.endAngle),r=o[3]/2,s=o[2]/2-r,n=x(e),a=e.nodeMap,l=a&&a[n],p={},d=(e.shapeRoot=l&&l.shapeArgs,C.prototype.translate.call(e),e.tree=e.getTree()),l=(a=e.nodeMap)[n],h=a[T(l.parent)?l.parent:""],u=(v=f.getLevelFromAndTo(l)).from,c=v.to,v=b({from:u,levels:e.options.levels,to:c,defaults:{colorByPoint:t.colorByPoint,dataLabels:t.dataLabels,levelIsConstant:t.levelIsConstant,levelSize:t.levelSize,slicedOffset:t.slicedOffset}});v=f.calculateLevelSizes(v,{diffRadius:s,from:u,to:c}),m(d,{before:y,idRoot:n,levelIsConstant:t.levelIsConstant,mapOptionsToLevel:v,mapIdToNode:a,points:e.points,series:e}),t=a[""].shapeArgs={end:i.end,r:r,start:i.start,val:l.val,x:o[0],y:o[1]},this.setShapeArgs(h,t,v),e.mapOptionsToLevel=v,e.data.forEach(function(t){p[t.id]&&S(31,!1,e.chart),p[t.id]=!0}),p={}},c.defaultOptions=j(h.defaultOptions,{center:["50%","50%"],colorByPoint:!1,opacity:1,dataLabels:{allowOverlap:!0,defer:!0,rotationMode:"auto",style:{textOverflow:"ellipsis"}},rootId:void 0,levelIsConstant:!0,levelSize:{value:1,unit:"weight"},slicedOffset:10}),B((r=c).prototype,{drawDataLabels:t,getCenter:d,onPointSupported:!0,pointAttribs:e.prototype.pointAttribs,pointClass:i,NodeClass:n,utils:f}),o.registerSeriesType("sunburst",r),r}),e(t,"masters/modules/sunburst.src.js",[],function(){})}); \ No newline at end of file diff --git a/assets/js/external/highcharts/modules/timeline.min.js b/assets/js/external/highcharts/modules/timeline.min.js index 3a1b09ea..855cc027 100644 --- a/assets/js/external/highcharts/modules/timeline.min.js +++ b/assets/js/external/highcharts/modules/timeline.min.js @@ -1 +1 @@ -!function(e){"object"==typeof module&&module.exports?module.exports=e.default=e:"function"==typeof define&&define.amd?define("highcharts/modules/timeline",["highcharts"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,i,o){t.hasOwnProperty(e)||(t[e]=o.apply(null,i),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Series/Timeline/TimelinePoint.js",[t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(i,t,e){var o,n,s=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=t.seriesTypes.pie.prototype.pointClass,a=e.defined,p=e.isNumber,l=e.merge,h=e.objectEach,c=e.pick;return n=t.series.prototype.pointClass,s(d,n),d.prototype.alignConnector=function(){var t=this.series,e=this.connector,i=this.dataLabel,o=this.dataLabel.options=l(t.options.dataLabels,this.options.dataLabels),n=this.series.chart,s=(r=e.getBBox()).x+i.translateX,r=r.y+i.translateY;n.inverted?r-=i.options.connectorWidth/2:s+=i.options.connectorWidth/2,e[(n=n.isInsidePlot(s,r))?"animate":"attr"]({d:this.getConnectorPath()}),t.chart.styledMode||e.attr({stroke:o.connectorColor||this.color,"stroke-width":o.connectorWidth,opacity:i[a(i.newOpacity)?"newOpacity":"opacity"]})},d.prototype.drawConnector=function(){var t=this.series;this.connector||(this.connector=t.chart.renderer.path(this.getConnectorPath()).attr({zIndex:-1}).add(this.dataLabel)),this.series.chart.isInsidePlot(this.dataLabel.x,this.dataLabel.y)&&this.alignConnector()},d.prototype.getConnectorPath=function(){var t=this.series.chart,e=this.series.xAxis.len,i=t.inverted,o=i?"x2":"y2",n=this.dataLabel,s=n.targetPosition,r={x1:this.plotX,y1:this.plotY,x2:this.plotX,y2:(p(s.y)?s:n).y},a=(n.alignAttr||n)[o[0]]a*p?"ellipsis":"none"}:{width:(l.width||r.width||a*p-2*h)+"px"},e.css(s),this.chart.styledMode||e.shadow(r.shadow)),c.prototype.alignDataLabel.apply(this,arguments)},g.prototype.bindAxes=function(){var e=this;c.prototype.bindAxes.call(e),["xAxis","yAxis"].forEach(function(t){"xAxis"!==t||e[t].userOptions.type||(e[t].categories=e[t].hasNames=!0)})},g.prototype.distributeDL=function(){var i,o=this,n=o.options.dataLabels,s=1;n&&(i=n.distance||0,o.points.forEach(function(t){var e;t.options.dataLabels=f(((e={})[o.chart.inverted?"x":"y"]=n.alternate&&s%2?-i:i,e),t.userDLOptions),s++}))},g.prototype.generatePoints=function(){var i=this;c.prototype.generatePoints.apply(i),i.points.forEach(function(t,e){t.applyOptions({x:i.xData[e]},i.xData[e])})},g.prototype.getVisibilityMap=function(){return(this.data.length?this:this.userOptions).data.map(function(t){return!(!t||!1===t.visible||t.isNull)&&t})},g.prototype.getXExtremes=function(t){var i=this;return t=t.filter(function(t,e){return i.points[e].isValid()&&i.points[e].visible}),{min:d(t),max:h(t)}},g.prototype.init=function(){var t=this;c.prototype.init.apply(t,arguments),t.eventsToUnbind.push(l(t,"afterTranslate",function(){var e,i=Number.MAX_VALUE;t.points.forEach(function(t){t.isInside=t.isInside&&t.visible,t.visible&&!t.isNull&&(u(e)&&(i=Math.min(i,Math.abs(t.plotX-e))),e=t.plotX)}),t.closestPointRangePx=i})),t.eventsToUnbind.push(l(t,"drawDataLabels",function(){t.distributeDL()})),t.eventsToUnbind.push(l(t,"afterDrawDataLabels",function(){var e;t.points.forEach(function(t){if(e=t.dataLabel)return e.animate=function(t){return this.targetPosition&&(this.targetPosition=t),i.prototype.animate.apply(this,arguments)},e.targetPosition||(e.targetPosition={}),t.drawConnector()})})),t.eventsToUnbind.push(l(t.chart,"afterHideOverlappingLabel",function(){t.points.forEach(function(t){t.connector&&t.dataLabel&&t.dataLabel.oldOpacity!==t.dataLabel.newOpacity&&t.alignConnector()})}))},g.prototype.markerAttribs=function(t,e){var i=this.options.marker,o=t.marker||{},n=o.symbol||i.symbol,s=b(o.width,i.width,this.closestPointRangePx),r=b(o.height,i.height),a=0;return this.xAxis.dateTime?c.prototype.markerAttribs.call(this,t,e):(e&&(i=i.states[e]||{},e=o.states&&o.states[e]||{},a=b(e.radius,i.radius,a+(i.radiusPlus||0))),t.hasImage=n&&0===n.indexOf("url"),{x:Math.floor(t.plotX)-s/2-a/2,y:t.plotY-r/2-a/2,width:s+a,height:r+a})},g.prototype.processData=function(){var t,e=0;for(this.visibilityMap=this.getVisibilityMap(),this.visibilityMap.forEach(function(t){t&&e++}),this.visiblePointsCount=e,t=0;t {point.key}
',pointFormat:"{point.description}"},states:{hover:{lineWidthPlus:0}},dataLabels:{enabled:!0,allowOverlap:!0,alternate:!0,backgroundColor:"#ffffff",borderWidth:1,borderColor:"#999999",borderRadius:3,color:"#333333",connectorWidth:1,distance:100,formatter:function(){return(this.series.chart.styledMode?"":'')+(''+(this.key||"")+"
"+(this.point.label||""))},style:{textOutline:"none",fontWeight:"normal",fontSize:"12px"},shadow:!1,verticalAlign:"middle"},marker:{enabledThreshold:0,symbol:"square",radius:6,lineWidth:2,height:15},showInLegend:!1,colorKey:"x"}),y((n=g).prototype,{drawLegendSymbol:t.drawRectangle,drawTracker:a.prototype.drawTracker,pointClass:o,trackerGroups:["markerGroup","dataLabelsGroup"]}),e.registerSeriesType("timeline",n),n}),e(t,"masters/modules/timeline.src.js",[],function(){})}); \ No newline at end of file +!function(e){"object"==typeof module&&module.exports?module.exports=e.default=e:"function"==typeof define&&define.amd?define("highcharts/modules/timeline",["highcharts"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,i,o){t.hasOwnProperty(e)||(t[e]=o.apply(null,i),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Series/Timeline/TimelinePoint.js",[t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(i,t,e){var o,n,s=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),r=t.seriesTypes.pie.prototype.pointClass,a=e.defined,p=e.isNumber,l=e.merge,h=e.objectEach,c=e.pick;return n=t.series.prototype.pointClass,s(d,n),d.prototype.alignConnector=function(){var t=this.series,e=this.connector,i=this.dataLabel,o=this.dataLabel.options=l(t.options.dataLabels,this.options.dataLabels),n=this.series.chart,s=(r=e.getBBox()).x+i.translateX,r=r.y+i.translateY;n.inverted?r-=i.options.connectorWidth/2:s+=i.options.connectorWidth/2,e[(n=n.isInsidePlot(s,r))?"animate":"attr"]({d:this.getConnectorPath()}),t.chart.styledMode||e.attr({stroke:o.connectorColor||this.color,"stroke-width":o.connectorWidth,opacity:i[a(i.newOpacity)?"newOpacity":"opacity"]})},d.prototype.drawConnector=function(){var t=this.series;this.connector||(this.connector=t.chart.renderer.path(this.getConnectorPath()).attr({zIndex:-1}).add(this.dataLabel)),this.series.chart.isInsidePlot(this.dataLabel.x,this.dataLabel.y)&&this.alignConnector()},d.prototype.getConnectorPath=function(){var t=this.series.chart,e=this.series.xAxis.len,i=t.inverted,o=i?"x2":"y2",n=this.dataLabel,s=n.targetPosition,r={x1:this.plotX,y1:this.plotY,x2:this.plotX,y2:(p(s.y)?s:n).y},a=(n.alignAttr||n)[o[0]] {point.key}
',pointFormat:"{point.description}"},states:{hover:{lineWidthPlus:0}},dataLabels:{enabled:!0,allowOverlap:!0,alternate:!0,backgroundColor:"#ffffff",borderWidth:1,borderColor:"#999999",borderRadius:3,color:"#333333",connectorWidth:1,distance:100,formatter:function(){return(this.series.chart.styledMode?"":'')+(''+(this.key||"")+"
"+(this.point.label||""))},style:{textOutline:"none",fontWeight:"normal",fontSize:"12px"},shadow:!1,verticalAlign:"middle"},marker:{enabledThreshold:0,symbol:"square",radius:6,lineWidth:2,height:15},showInLegend:!1,colorKey:"x"}}),e(t,"Series/Timeline/TimelineSeries.js",[t["Core/Legend/LegendSymbol.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Renderer/SVG/SVGElement.js"],t["Series/Timeline/TimelinePoint.js"],t["Series/Timeline/TimelineSeriesDefaults.js"],t["Core/Utilities.js"]],function(t,e,i,o,n,s){var r,c,a=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),p=(f=e.seriesTypes).column,l=f.line,h=s.addEvent,d=s.arrayMax,u=s.arrayMin,y=s.defined,f=s.extend,b=s.merge,g=s.pick;function v(){var t=null!==c&&c.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t.userOptions=void 0,t.visibilityMap=void 0,t}return a(v,c=l),v.prototype.alignDataLabel=function(t,e,i,o){var n,s=this.chart.inverted,r=this.visibilityMap.filter(function(t){return t}),a=this.visiblePointsCount,p=r.indexOf(t),r=this.options.dataLabels,l=t.userDLOptions||{},p=r.alternate?p&&p!==a-1?2:1.5:1,a=Math.floor(this.xAxis.len/a),h=e.padding;t.visible&&(n=Math.abs(l.x||t.options.dataLabels.x),s=s?{width:(s=2*(n-h)-t.itemHeight/2)+"px",textOverflow:e.width/s*e.height/2>a*p?"ellipsis":"none"}:{width:(l.width||r.width||a*p-2*h)+"px"},e.css(s),this.chart.styledMode||e.shadow(r.shadow)),c.prototype.alignDataLabel.apply(this,arguments)},v.prototype.bindAxes=function(){var e=this;c.prototype.bindAxes.call(e),["xAxis","yAxis"].forEach(function(t){"xAxis"!==t||e[t].userOptions.type||(e[t].categories=e[t].hasNames=!0)})},v.prototype.distributeDL=function(){var i,o=this,n=o.options.dataLabels,s=1;n&&(i=n.distance||0,o.points.forEach(function(t){var e;t.options.dataLabels=b(((e={})[o.chart.inverted?"x":"y"]=n.alternate&&s%2?-i:i,e),t.userDLOptions),s++}))},v.prototype.generatePoints=function(){var i=this;c.prototype.generatePoints.apply(i),i.points.forEach(function(t,e){t.applyOptions({x:i.xData[e]},i.xData[e])})},v.prototype.getVisibilityMap=function(){return(this.data.length?this:this.userOptions).data.map(function(t){return!(!t||!1===t.visible||t.isNull)&&t})},v.prototype.getXExtremes=function(t){var i=this;return t=t.filter(function(t,e){return i.points[e].isValid()&&i.points[e].visible}),{min:u(t),max:d(t)}},v.prototype.init=function(){var t=this;c.prototype.init.apply(t,arguments),t.eventsToUnbind.push(h(t,"afterTranslate",function(){var e,i=Number.MAX_VALUE;t.points.forEach(function(t){t.isInside=t.isInside&&t.visible,t.visible&&!t.isNull&&(y(e)&&(i=Math.min(i,Math.abs(t.plotX-e))),e=t.plotX)}),t.closestPointRangePx=i})),t.eventsToUnbind.push(h(t,"drawDataLabels",function(){t.distributeDL()})),t.eventsToUnbind.push(h(t,"afterDrawDataLabels",function(){var e;t.points.forEach(function(t){if(e=t.dataLabel)return e.animate=function(t){return this.targetPosition&&(this.targetPosition=t),i.prototype.animate.apply(this,arguments)},e.targetPosition||(e.targetPosition={}),t.drawConnector()})})),t.eventsToUnbind.push(h(t.chart,"afterHideOverlappingLabel",function(){t.points.forEach(function(t){t.connector&&t.dataLabel&&t.dataLabel.oldOpacity!==t.dataLabel.newOpacity&&t.alignConnector()})}))},v.prototype.markerAttribs=function(t,e){var i=this.options.marker,o=t.marker||{},n=o.symbol||i.symbol,s=g(o.width,i.width,this.closestPointRangePx),r=g(o.height,i.height),a=0;return this.xAxis.dateTime?c.prototype.markerAttribs.call(this,t,e):(e&&(i=i.states[e]||{},e=o.states&&o.states[e]||{},a=g(e.radius,i.radius,a+(i.radiusPlus||0))),t.hasImage=n&&0===n.indexOf("url"),t={x:Math.floor(t.plotX)-s/2-a/2,y:t.plotY-r/2-a/2,width:s+a,height:r+a},this.chart.inverted?{y:t.x&&t.width&&this.xAxis.len-t.x-t.width,x:t.y&&t.y,width:t.height,height:t.width}:t)},v.prototype.processData=function(){var t,e=0;for(this.visibilityMap=this.getVisibilityMap(),this.visibilityMap.forEach(function(t){t&&e++}),this.visiblePointsCount=e,t=0;tt.to||r>t.from&&nt.from&&nt.from&&n>t.to&&n=this.basePointRange&&(r=e),t=void 0;o--;)t&&!1!==t.visible||(t=i[o+1]),e=i[o],!1!==t.visible&&!1!==e.visible&&(t.x-e.x>r&&(t=(e.x+t.x)/2,i.splice(o+1,0,{isNull:!0,x:t}),s.stacking&&this.options.stacking&&((t=s.stacking.stacks[this.stackKey][t]=new n(s,s.options.stackLabels,!1,t,this.stack)).total=0)),t=e);return this.getGraphPath(i)}function v(t){this.hasBreaks=!1,this.axis=t}return t=e=e||{},s=[],t.compose=function(t,e){var i;return-1===s.indexOf(t)&&(s.push(t),t.keepProps.push("brokenAxis"),r(t,"init",c),r(t,"afterInit",l),r(t,"afterSetTickPositions",h),r(t,"afterSetOptions",d)),-1===s.indexOf(e)&&(s.push(e),(i=e.prototype).drawBreaks=x,i.gappedPath=k,r(e,"afterGeneratePoints",p),r(e,"afterRender",m)),t},v.isInBreak=function(t,e){var i=t.repeat||1/0,s=t.from,r=t.to-t.from;return e=s<=e?(e-s)%i:i-(s-e)%i,t.inclusive?e<=r:e=t)break;(s.to=t)break;if(v.isInBreak(r,t)){i-=t-r.from;break}}}return i},v.prototype.findBreakAt=function(e,t){return o(t,function(t){return t.fromt.to||r>t.from&&nt.from&&nt.from&&n>t.to&&n=this.basePointRange&&(r=e),t=void 0;o--;)t&&!1!==t.visible||(t=i[o+1]),e=i[o],!1!==t.visible&&!1!==e.visible&&(t.x-e.x>r&&(t=(e.x+t.x)/2,i.splice(o+1,0,{isNull:!0,x:t}),s.stacking&&this.options.stacking&&((t=s.stacking.stacks[this.stackKey][t]=new n(s,s.options.stackLabels,!1,t,this.stack)).total=0)),t=e);return this.getGraphPath(i)}function v(t){this.hasBreaks=!1,this.axis=t}return t=e=e||{},s=[],t.compose=function(t,e){var i;return-1===s.indexOf(t)&&(s.push(t),t.keepProps.push("brokenAxis"),r(t,"init",c),r(t,"afterInit",l),r(t,"afterSetTickPositions",h),r(t,"afterSetOptions",d)),-1===s.indexOf(e)&&(s.push(e),(i=e.prototype).drawBreaks=x,i.gappedPath=k,r(e,"afterGeneratePoints",p),r(e,"afterRender",m)),t},v.isInBreak=function(t,e){var i=t.repeat||1/0,s=t.from,r=t.to-t.from;return e=s<=e?(e-s)%i:i-(s-e)%i,t.inclusive?e<=r:e=t)break;(s.to=t)break;if(v.isInBreak(r,t)){i-=t-r.from;break}}}return i},v.prototype.findBreakAt=function(e,t){return o(t,function(t){return t.fromp.lP.lR&&s.algorithmCalcPoints(e,!1,p,r,n),a===l&&s.algorithmCalcPoints(e,!0,p,r,n),a+=1}),r},R.prototype.alignDataLabel=function(t,e,o){var i=o.style;i&&!B(i.textOverflow)&&e.text&&e.getBBox().width>e.text.textWidth&&e.css({textOverflow:"ellipsis",width:i.width+="px"}),g.prototype.alignDataLabel.apply(this,arguments),t.dataLabel&&t.dataLabel.attr({zIndex:(t.node.zIndex||0)+1})},R.prototype.buildNode=function(e,t,o,i,r){var s,n=this,a=[],l=n.points[t],p=0;return(i[e]||[]).forEach(function(t){s=n.buildNode(n.points[t].id,t,o+1,i,e),p=Math.max(s.height+1,p),a.push(s)}),t={id:e,i:t,children:a,height:p,level:o,parent:r,visible:!1},n.nodeMap[t.id]=t,l&&(l.node=t),t},R.prototype.calculateChildrenAreas=function(t,o){var i,r=this,e=r.options,s=r.mapOptionsToLevel[t.level+1],n=M(r[s&&s.layoutAlgorithm]&&s.layoutAlgorithm,e.layoutAlgorithm),a=e.alternateStartingDirection;t=t.children.filter(function(t){return!t.ignore}),s&&s.layoutStartingDirection&&(o.direction="vertical"===s.layoutStartingDirection?0:1),i=r[n](o,t),t.forEach(function(t,e){e=i[e],t.values=j(e,{val:t.childrenTotal,direction:a?1-o.direction:o.direction}),t.pointValues=j(e,{x:e.x/r.axisRatio,y:l.AXIS_MAX-e.y-e.height,width:e.width/r.axisRatio}),t.children.length&&r.calculateChildrenAreas(t,t.values)})},R.prototype.createList=function(t){var e=this.chart,o=[];if(e.breadcrumbs){var i=0;o.push({level:i,levelOptions:e.series[0]});for(var e=t.target.nodeMap[t.newRootId],r=[];e.parent||""===e.parent;)r.push(e),e=t.target.nodeMap[e.parent];r.reverse().forEach(function(t){o.push({level:++i,levelOptions:t})}),o.length<=1&&(o.length=0)}return o},R.prototype.drawDataLabels=function(){var e,o,i=this,r=i.mapOptionsToLevel;i.points.filter(function(t){return t.node.visible}).forEach(function(t){o=r[t.node.level],e={style:{}},t.node.isLeaf||(e.enabled=!1),o&&o.dataLabels&&(e=j(e,o.dataLabels),i._hasPointLabels=!0),t.shapeArgs&&(e.style.width=t.shapeArgs.width,t.dataLabel&&t.dataLabel.css({width:t.shapeArgs.width+"px"})),t.dlOptions=j(e,t.options.dataLabels)}),f.prototype.drawDataLabels.call(this)},R.prototype.drawPoints=function(){var p=this,t=p.chart,d=t.renderer,h=t.styledMode,u=p.options,c=h?{}:u.shadow,v=u.borderRadius,f=t.pointCount{point.name}: {point.value}
"},ignoreHiddenPoint:!0,layoutAlgorithm:"sliceAndDice",layoutStartingDirection:"vertical",alternateStartingDirection:!1,levelIsConstant:!0,traverseUpButton:{position:{align:"right",x:-10,y:10}},borderColor:"#e6e6e6",borderWidth:1,colorKey:"colorValue",opacity:.15,states:{hover:{borderColor:"#999999",brightness:y?0:.1,halo:!1,opacity:.75,shadow:!1}}}),C((n=R).prototype,{buildKDTree:t,colorAttribs:e.seriesMembers.colorAttribs,colorKey:"colorValue",directTouch:!0,drawLegendSymbol:i.drawRectangle,getExtremesFromAll:!0,getSymbol:t,optionalAxis:"colorAxis",parallelArrays:["x","y","value","colorValue"],pointArrayMap:["value"],pointClass:s,trackerGroups:["group","dataLabelsGroup"],utils:{recursive:l.recursive}}),e.compose(n),r.registerSeriesType("treemap",n),n}),e(t,"masters/modules/treemap.src.js",[t["Core/Globals.js"],t["Extensions/Breadcrumbs.js"]],function(t,e){t.Breadcrumbs=e})}); \ No newline at end of file +!function(e){"object"==typeof module&&module.exports?module.exports=e.default=e:"function"==typeof define&&define.amd?define("highcharts/modules/treemap",["highcharts"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,o,i){t.hasOwnProperty(e)||(t[e]=i.apply(null,o),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Series/ColorMapComposition.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){var o,i,t=t.seriesTypes.column.prototype,r=e.addEvent,s=e.defined;function n(t){this.moveToTopOnHover&&this.graphic&&this.graphic.attr({zIndex:t&&"hover"===t.state?1:0})}return e=o=o||{},i=[],e.pointMembers={dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return null!==this.value&&1/0!==this.value&&-1/0!==this.value&&(void 0===this.value||!isNaN(this.value))}},e.seriesMembers={colorKey:"value",axisTypes:["xAxis","yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"],colorAttribs:function(t){var e={};return!s(t.color)||t.state&&"normal"!==t.state||(e[this.colorProp||"fill"]=t.color),e},pointAttribs:t.pointAttribs},e.compose=function(t){var e=t.prototype.pointClass;return-1===i.indexOf(e)&&(i.push(e),r(e,"afterSetState",n)),t},o}),e(t,"Series/Treemap/TreemapAlgorithmGroup.js",[],function(){return t.prototype.addElement=function(t){this.lP.total=this.elArr[this.elArr.length-1],this.total+=t,0===this.direction?(this.lW=this.nW,this.lP.lH=this.lP.total/this.lW,this.lP.lR=this.lP.aspectRatio(this.lW,this.lP.lH),this.nW=this.total/this.height,this.lP.nH=this.lP.total/this.nW,this.lP.nR=this.lP.aspectRatio(this.nW,this.lP.nH)):(this.lH=this.nH,this.lP.lW=this.lP.total/this.lH,this.lP.lR=this.lP.aspectRatio(this.lP.lW,this.lH),this.nH=this.total/this.width,this.lP.nW=this.lP.total/this.nH,this.lP.nR=this.lP.aspectRatio(this.lP.nW,this.nH)),this.elArr.push(t)},t.prototype.reset=function(){this.lW=this.nW=0,this.elArr=[],this.total=0},t;function t(t,e,o,i){this.height=t,this.width=e,this.plot=i,this.startDirection=this.direction=o,this.lH=this.nH=this.lW=this.nW=this.total=0,this.elArr=[],this.lP={total:0,lH:0,nH:0,lW:0,nW:0,nR:0,lR:0,aspectRatio:function(t,e){return Math.max(t/e,e/t)}}}}),e(t,"Series/DrawPointUtilities.js",[t["Core/Utilities.js"]],function(t){return{draw:function(t,e){var o=e.animatableAttribs,i=e.onComplete,r=e.css,s=e.renderer,n=t.series&&t.series.chart.hasRendered?void 0:t.series&&t.series.options.animation,a=t.graphic;e.attribs=e.attribs||{},e.attribs.class=t.getClassName(),t.shouldDraw()?(a||(t.graphic=a="text"===e.shapeType?s.text():s[e.shapeType](e.shapeArgs||{}),a.add(e.group)),r&&a.css(r),a.attr(e.attribs).animate(o,!e.isNew&&n,i)):a&&(s=function(){t.graphic=a=a&&a.destroy(),"function"==typeof i&&i()},Object.keys(o).length?a.animate(o,void 0,s):s())}}}),e(t,"Series/Treemap/TreemapPoint.js",[t["Series/DrawPointUtilities.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(e,t,o){var i,r,s=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),n=t.series.prototype.pointClass,a=t.seriesTypes,l=(t=a.pie.prototype.pointClass,o.extend),h=o.isNumber,p=o.pick;function d(){var t=null!==r&&r.apply(this,arguments)||this;return t.name=void 0,t.node=void 0,t.options=void 0,t.series=void 0,t.shapeType="rect",t.value=void 0,t}return r=a.scatter.prototype.pointClass,s(d,r),d.prototype.draw=function(t){e.draw(this,t)},d.prototype.getClassName=function(){var t=n.prototype.getClassName.call(this),e=this.series,o=e.options;return this.node.level<=e.nodeMap[e.rootNode].level?t+=" highcharts-above-level":this.node.isLeaf||p(o.interactByLeaf,!o.allowTraversingTree)?this.node.isLeaf||(t+=" highcharts-internal-node"):t+=" highcharts-internal-node-interactive",t},d.prototype.isValid=function(){return!(!this.id&&!h(this.value))},d.prototype.setState=function(t){n.prototype.setState.call(this,t),this.graphic&&this.graphic.attr({zIndex:"hover"===t?1:0})},d.prototype.shouldDraw=function(){return h(this.plotY)&&null!==this.y},l((o=d).prototype,{setVisible:t.prototype.setVisible}),o}),e(t,"Series/Treemap/TreemapUtilities.js",[t["Core/Utilities.js"]],function(t){var e,s=t.objectEach;return(t=e=e||{}).AXIS_MAX=100,t.isBoolean=function(t){return"boolean"==typeof t},t.eachObject=function(o,i,r){r=r||this,s(o,function(t,e){i.call(r,t,e,o)})},t.recursive=function t(e,o,i){!1!==(e=o.call(i=void 0===i?this:i,e))&&t(e,o,i)},e}),e(t,"Series/TreeUtilities.js",[t["Core/Color/Color.js"],t["Core/Utilities.js"]],function(v,t){var p=t.extend,n=t.isArray,a=t.isNumber,l=t.isObject,h=t.merge,f=t.pick;return{getColor:function(t,e){var o,i,r,s=e.index,n=e.mapOptionsToLevel,a=e.parentColor,l=e.parentColorIndex,h=e.series,p=e.colors,d=e.siblings,u=h.points,c=h.chart.options.chart;return t&&(u=u[t.i],t=n[t.level]||{},u&&t.colorByPoint&&(i=u.index%(p?p.length:c.colorCount),r=p&&p[i]),h.chart.styledMode||(p=u&&u.options.color,c=t&&t.color,(o=a)&&(o=(o=t&&t.colorVariation)&&"brightness"===o.key&&s&&d?v.parse(a).brighten(s/d*o.to).get():a),o=f(p,c,r,o,h.color)),r=f(u&&u.options.colorIndex,t&&t.colorIndex,i,l,e.colorIndex)),{color:o,colorIndex:r}},getLevelOptions:function(t){var e={};if(l(t)){var r=a(t.from)?t.from:1,o=t.levels,i={},s=l(t.defaults)?t.defaults:{};for(n(o)&&(i=o.reduce(function(t,e){var o,i;return l(e)&&a(e.level)&&(o=h({},e),i=f(o.levelIsConstant,s.levelIsConstant),delete o.levelIsConstant,delete o.level,e=e.level+(i?0:r-1),l(t[e])?h(!0,t[e],o):t[e]=o),t},{})),o=a(t.to)?t.to:1,t=0;t<=o;t++)e[t]=h({},s,l(i[t])?i[t]:{})}return e},setTreeValues:function i(r,s){var t=s.before,e=s.idRoot,o=s.mapIdToNode[e],n=s.points[r.i],a=n&&n.options||{},l=[],h=0;return r.levelDynamic=r.level-(!1!==s.levelIsConstant?0:o.level),r.name=f(n&&n.name,""),r.visible=e===r.id||!0===s.visible,(r="function"==typeof t?t(r,s):r).children.forEach(function(t,e){var o=p({},s);p(o,{index:e,siblings:r.children.length,visible:r.visible}),t=i(t,o),l.push(t),t.visible&&(h+=t.val)}),t=f(a.value,h),r.visible=0<=t&&(0h.lP.lR&&s.algorithmCalcPoints(e,!1,h,r,n),a===l&&s.algorithmCalcPoints(e,!0,h,r,n),a+=1}),r},E.prototype.alignDataLabel=function(t,e,o){var i=o.style;i&&!C(i.textOverflow)&&e.text&&e.getBBox().width>e.text.textWidth&&e.css({textOverflow:"ellipsis",width:i.width+="px"}),y.prototype.alignDataLabel.apply(this,arguments),t.dataLabel&&t.dataLabel.attr({zIndex:(t.node.zIndex||0)+1})},E.prototype.calculateChildrenAreas=function(t,o){var i,r=this,e=r.options,s=r.mapOptionsToLevel[t.level+1],n=I(r[s&&s.layoutAlgorithm]&&s.layoutAlgorithm,e.layoutAlgorithm),a=e.alternateStartingDirection;t=t.children.filter(function(t){return!t.ignore}),s&&s.layoutStartingDirection&&(o.direction="vertical"===s.layoutStartingDirection?0:1),i=r[n](o,t),t.forEach(function(t,e){e=i[e],t.values=M(e,{val:t.childrenTotal,direction:a?1-o.direction:o.direction}),t.pointValues=M(e,{x:e.x/r.axisRatio,y:l.AXIS_MAX-e.y-e.height,width:e.width/r.axisRatio}),t.children.length&&r.calculateChildrenAreas(t,t.values)})},E.prototype.createList=function(t){var e=this.chart,o=[];if(e.breadcrumbs){var i=0;o.push({level:i,levelOptions:e.series[0]});for(var e=t.target.nodeMap[t.newRootId],r=[];e.parent||""===e.parent;)r.push(e),e=t.target.nodeMap[e.parent];r.reverse().forEach(function(t){o.push({level:++i,levelOptions:t})}),o.length<=1&&(o.length=0)}return o},E.prototype.drawDataLabels=function(){var e,o,i=this,r=i.mapOptionsToLevel;i.points.filter(function(t){return t.node.visible}).forEach(function(t){o=r[t.node.level],e={style:{}},t.node.isLeaf||(e.enabled=!1),o&&o.dataLabels&&(e=M(e,o.dataLabels),i._hasPointLabels=!0),t.shapeArgs&&(e.style.width=t.shapeArgs.width,t.dataLabel&&t.dataLabel.css({width:t.shapeArgs.width+"px"})),t.dlOptions=M(e,t.options.dataLabels)}),g.prototype.drawDataLabels.call(this)},E.prototype.drawPoints=function(t){void 0===t&&(t=this.points);var h=this,e=h.chart,p=e.renderer,d=e.styledMode,u=h.options,c=d?{}:u.shadow,v=u.borderRadius,f=e.pointCount{point.name}: {point.value}
"},ignoreHiddenPoint:!0,layoutAlgorithm:"sliceAndDice",layoutStartingDirection:"vertical",alternateStartingDirection:!1,levelIsConstant:!0,traverseUpButton:{position:{align:"right",x:-10,y:10}},borderColor:"#e6e6e6",borderWidth:1,colorKey:"colorValue",opacity:.15,states:{hover:{borderColor:"#999999",brightness:m?0:.1,halo:!1,opacity:.75,shadow:!1}}}),S((n=E).prototype,{buildKDTree:t,colorAttribs:e.seriesMembers.colorAttribs,colorKey:"colorValue",directTouch:!0,drawLegendSymbol:i.drawRectangle,getExtremesFromAll:!0,getSymbol:t,optionalAxis:"colorAxis",parallelArrays:["x","y","value","colorValue"],pointArrayMap:["value"],pointClass:s,NodeClass:d,trackerGroups:["group","dataLabelsGroup"],utils:{recursive:l.recursive}}),e.compose(n),r.registerSeriesType("treemap",n),n}),e(t,"masters/modules/treemap.src.js",[t["Core/Globals.js"],t["Extensions/Breadcrumbs.js"]],function(t,e){t.Breadcrumbs=e})}); \ No newline at end of file diff --git a/assets/js/external/highcharts/modules/variwide.min.js b/assets/js/external/highcharts/modules/variwide.min.js index 540eb736..6d05506c 100644 --- a/assets/js/external/highcharts/modules/variwide.min.js +++ b/assets/js/external/highcharts/modules/variwide.min.js @@ -1 +1 @@ -!function(i){"object"==typeof module&&module.exports?module.exports=i.default=i:"function"==typeof define&&define.amd?define("highcharts/modules/variwide",["highcharts"],function(t){return i(t),i.Highcharts=t,i}):i("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function i(t,i,s,e){t.hasOwnProperty(i)||(t[i]=e.apply(null,s),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:i,module:t[i]}})))}i(t=t?t._modules:{},"Series/Variwide/VariwidePoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,i){var e,s,r=this&&this.__extends||(e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var s in i)i.hasOwnProperty(s)&&(t[s]=i[s])})(t,i)},function(t,i){function s(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(s.prototype=i.prototype,new s)}),o=i.isNumber;return s=t.seriesTypes.column.prototype.pointClass,r(a,s),a.prototype.isValid=function(){return o(this.y)&&o(this.z)},a;function a(){var t=null!==s&&s.apply(this,arguments)||this;return t.crosshairWidth=void 0,t.options=void 0,t.series=void 0,t}}),i(t,"Series/Variwide/VariwideComposition.js",[t["Core/Axis/Tick.js"],t["Core/Axis/Axis.js"],t["Core/Utilities.js"]],function(t,i,s){var e=s.addEvent;s=s.wrap,t.prototype.postTranslate=function(t,i,s){var e=this.axis,r=t[i]-e.pos;e.horiz||(r=e.len-r),r=e.series[0].postTranslate(s,r),e.horiz||(r=e.len-r),t[i]=e.pos+r},e(i,"afterDrawCrosshair",function(t){this.variwide&&this.cross&&this.cross.attr("stroke-width",t.point&&t.point.crosshairWidth)}),e(i,"afterRender",function(){var s=this;!this.horiz&&this.variwide&&this.chart.labelCollectors.push(function(){return s.tickPositions.filter(function(t){return s.ticks[t].label}).map(function(t,i){return(t=s.ticks[t].label).labelrank=s.zData[i],t})})}),e(t,"afterGetPosition",function(t){var i=this.axis,s=i.horiz?"x":"y";i.variwide&&(this[s+"Orig"]=t.pos[s],this.postTranslate(t.pos,s,this.pos))}),s(t.prototype,"getLabelPosition",function(t,i,s,e,r,o,a,n){var h=Array.prototype.slice.call(arguments,1),p=r?"x":"y";return this.axis.variwide&&"number"==typeof this[p+"Orig"]&&(h[r?0:1]=this[p+"Orig"]),h=t.apply(this,h),this.axis.variwide&&this.axis.categories&&this.postTranslate(h,p,this.pos),h})}),i(t,"Series/Variwide/VariwideSeries.js",[t["Core/Series/SeriesRegistry.js"],t["Series/Variwide/VariwidePoint.js"],t["Core/Utilities.js"]],function(i,t,s){var e,r,o=this&&this.__extends||(e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var s in i)i.hasOwnProperty(s)&&(t[s]=i[s])})(t,i)},function(t,i){function s(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(s.prototype=i.prototype,new s)}),a=i.seriesTypes.column,n=s.extend,h=s.merge,l=s.pick;function p(){var t=null!==r&&r.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t.relZ=void 0,t.totalZ=void 0,t.zData=void 0,t}return o(p,r=a),p.prototype.processData=function(t){this.totalZ=0,this.relZ=[],i.seriesTypes.column.prototype.processData.call(this,t),(this.xAxis.reversed?this.zData.slice().reverse():this.zData).forEach(function(t,i){this.relZ[i]=this.totalZ,this.totalZ+=t},this),this.xAxis.categories&&(this.xAxis.variwide=!0,this.xAxis.zData=this.zData)},p.prototype.postTranslate=function(t,i,s){var e=this.xAxis,r=this.relZ,o=(t=e.reversed?r.length-t:t,e.reversed?-1:1),a=e.toPixels(e.reversed?(e.dataMax||0)+e.pointRange:e.dataMin||0),n=e.toPixels(e.reversed?e.dataMin||0:(e.dataMax||0)+e.pointRange),h=Math.abs(n-a),p=this.totalZ,e=this.chart.inverted?n-(this.chart.plotTop-o*e.minPixelPadding):a-this.chart.plotLeft-o*e.minPixelPadding,a=t/r.length*h,n=(t+o)/r.length*h,c=l(r[t],p)/p*h,r=l(r[t+o],p)/p*h;return s&&(s.crosshairWidth=r-c),e+c+(i-(e+a))*(r-c)/(n-a)},p.prototype.translate=function(){var t=this.options.crisp,e=this.xAxis,r=(this.options.crisp=!1,i.seriesTypes.column.prototype.translate.call(this),this.options.crisp=t,this.chart.inverted),o=this.borderWidth%2/2;this.points.forEach(function(t,i){var s;i=e.variwide?(s=this.postTranslate(i,t.shapeArgs.x,t),this.postTranslate(i,t.shapeArgs.x+t.shapeArgs.width)):(s=t.plotX,e.translate(t.x+t.z,0,0,0,1)),this.options.crisp&&(s=Math.round(s)-o,i=Math.round(i)-o),t.shapeArgs.x=s,t.shapeArgs.width=Math.max(i-s,1),t.plotX=(s+i)/2,r?t.tooltipPos[1]=e.len-t.shapeArgs.x-t.shapeArgs.width/2:t.tooltipPos[0]=t.shapeArgs.x+t.shapeArgs.width/2},this),this.options.stacking&&this.correctStackLabels()},p.prototype.correctStackLabels=function(){var i,s,e,r=this,o=r.options,a=r.yAxis;r.points.forEach(function(t){e=t.x,i=t.shapeArgs.width,(s=a.stacking.stacks[(r.negStacks&&t.y<(o.startFromThreshold?0:o.threshold)?"-":"")+r.stackKey])&&(s=s[e])&&!t.isNull&&s.setOffset(-i/2||0,i||0,void 0,void 0,t.plotX)})},p.defaultOptions=h(a.defaultOptions,{pointPadding:0,groupPadding:0}),n((s=p).prototype,{irregularWidths:!0,pointArrayMap:["y","z"],parallelArrays:["x","y","z"],pointClass:t}),i.registerSeriesType("variwide",s),s}),i(t,"masters/modules/variwide.src.js",[],function(){})}); \ No newline at end of file +!function(i){"object"==typeof module&&module.exports?module.exports=i.default=i:"function"==typeof define&&define.amd?define("highcharts/modules/variwide",["highcharts"],function(t){return i(t),i.Highcharts=t,i}):i("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function i(t,i,s,e){t.hasOwnProperty(i)||(t[i]=e.apply(null,s),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:i,module:t[i]}})))}i(t=t?t._modules:{},"Series/Variwide/VariwideComposition.js",[t["Core/Utilities.js"]],function(t){function s(t){this.variwide&&this.cross&&this.cross.attr("stroke-width",t.point&&t.point.crosshairWidth)}function e(){var s=this;!this.horiz&&this.variwide&&this.chart.labelCollectors.push(function(){return s.tickPositions.filter(function(t){return s.ticks[t].label}).map(function(t,i){return(t=s.ticks[t].label).labelrank=s.zData[i],t})})}function r(t){var i=this.axis,s=i.horiz?"x":"y";i.variwide&&(this[s+"Orig"]=t.pos[s],this.postTranslate(t.pos,s,this.pos))}function o(t,i,s){var e=this.axis,r=t[i]-e.pos;e.horiz||(r=e.len-r),r=e.series[0].postTranslate(s,r),e.horiz||(r=e.len-r),t[i]=e.pos+r}function a(t,i,s,e,r,o,a,n){var h=Array.prototype.slice.call(arguments,1),p=r?"x":"y";return this.axis.variwide&&"number"==typeof this[p+"Orig"]&&(h[r?0:1]=this[p+"Orig"]),h=t.apply(this,h),this.axis.variwide&&this.axis.categories&&this.postTranslate(h,p,this.pos),h}var n=t.addEvent,h=t.wrap,p=[];return{compose:function(t,i){-1===p.indexOf(t)&&(p.push(t),n(t,"afterDrawCrosshair",s),n(t,"afterRender",e)),-1===p.indexOf(i)&&(p.push(i),n(i,"afterGetPosition",r),(t=i.prototype).postTranslate=o,h(t,"getLabelPosition",a))}}}),i(t,"Series/Variwide/VariwidePoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,i){var e,s,r=this&&this.__extends||(e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var s in i)i.hasOwnProperty(s)&&(t[s]=i[s])})(t,i)},function(t,i){function s(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(s.prototype=i.prototype,new s)}),o=i.isNumber;return s=t.seriesTypes.column.prototype.pointClass,r(a,s),a.prototype.isValid=function(){return o(this.y)&&o(this.z)},a;function a(){var t=null!==s&&s.apply(this,arguments)||this;return t.crosshairWidth=void 0,t.options=void 0,t.series=void 0,t}}),i(t,"Series/Variwide/VariwideSeries.js",[t["Core/Series/SeriesRegistry.js"],t["Series/Variwide/VariwideComposition.js"],t["Series/Variwide/VariwidePoint.js"],t["Core/Utilities.js"]],function(i,t,s,e){var r,o,a=this&&this.__extends||(r=function(t,i){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var s in i)i.hasOwnProperty(s)&&(t[s]=i[s])})(t,i)},function(t,i){function s(){this.constructor=t}r(t,i),t.prototype=null===i?Object.create(i):(s.prototype=i.prototype,new s)}),n=i.seriesTypes.column,h=e.extend,p=e.merge,l=e.pick;function c(){var t=null!==o&&o.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t.relZ=void 0,t.totalZ=void 0,t.zData=void 0,t}return a(c,o=n),c.prototype.processData=function(t){this.totalZ=0,this.relZ=[],i.seriesTypes.column.prototype.processData.call(this,t),(this.xAxis.reversed?this.zData.slice().reverse():this.zData).forEach(function(t,i){this.relZ[i]=this.totalZ,this.totalZ+=t},this),this.xAxis.categories&&(this.xAxis.variwide=!0,this.xAxis.zData=this.zData)},c.prototype.postTranslate=function(t,i,s){var e=this.xAxis,r=this.relZ,o=(t=e.reversed?r.length-t:t,e.reversed?-1:1),a=e.toPixels(e.reversed?(e.dataMax||0)+e.pointRange:e.dataMin||0),n=e.toPixels(e.reversed?e.dataMin||0:(e.dataMax||0)+e.pointRange),h=Math.abs(n-a),p=this.totalZ,e=this.chart.inverted?n-(this.chart.plotTop-o*e.minPixelPadding):a-this.chart.plotLeft-o*e.minPixelPadding,a=t/r.length*h,n=(t+o)/r.length*h,c=l(r[t],p)/p*h,r=l(r[t+o],p)/p*h;return s&&(s.crosshairWidth=r-c),e+c+(i-(e+a))*(r-c)/(n-a)},c.prototype.translate=function(){var t=this.options.crisp,e=this.xAxis,r=(this.options.crisp=!1,i.seriesTypes.column.prototype.translate.call(this),this.options.crisp=t,this.chart.inverted),o=this.borderWidth%2/2;this.points.forEach(function(t,i){var s;i=e.variwide?(s=this.postTranslate(i,t.shapeArgs.x,t),this.postTranslate(i,t.shapeArgs.x+t.shapeArgs.width)):(s=t.plotX,e.translate(t.x+t.z,0,0,0,1)),this.options.crisp&&(s=Math.round(s)-o,i=Math.round(i)-o),t.shapeArgs.x=s,t.shapeArgs.width=Math.max(i-s,1),t.plotX=(s+i)/2,r?t.tooltipPos[1]=e.len-t.shapeArgs.x-t.shapeArgs.width/2:t.tooltipPos[0]=t.shapeArgs.x+t.shapeArgs.width/2},this),this.options.stacking&&this.correctStackLabels()},c.prototype.correctStackLabels=function(){for(var t,i=this.options,s=this.yAxis,e=0,r=this.points;eMath.abs(o-s)&&(r=((o*=o)-s*s+i*i)/(2*i),s=Math.sqrt(o-r*r),o=t.x,a=e.x,t=t.y,n=e.y,e=o+r*(a-o)/i,r=t+r*(n-t)/i,t=s/i*-(n-t),i=s/i*-(a-o),a=[{x:f(e+t,14),y:f(r-i,14)},{x:f(e-t,14),y:f(r+i,14)}]),a}function r(t){return t.reduce(function(t,o,s,e){return e=e.slice(s+1).reduce(function(t,e,r,n){var i=[s,r+s+1];return t.concat(a(o,e).map(function(t){return t.indexes=i,t}))},[]),t.concat(e)},[])}function n(t,e){return l(t,e)<=e.r+1e-10}function s(e,t){return!t.some(function(t){return!n(e,t)})}function p(e){return r(e).filter(function(t){return s(t,e)})}return(t=e=e||{}).round=f,t.getAreaOfCircle=i,t.getCircularSegmentArea=o,t.getOverlapBetweenCircles=function(t,e,r){var n=0;return n=rr?{r:e,largeArc:e=t[t.length-2].fx?(u=void 0,f.fx>c.fx?(u=s(l,c,.5,.5)).fxr)&&(t.left=r),(!A(t.right)||t.righte)&&(t.top=e),(!A(t.bottom)||t.bottomMath.abs(o-s)&&(r=((o*=o)-s*s+i*i)/(2*i),s=Math.sqrt(o-r*r),o=t.x,a=e.x,t=t.y,n=e.y,e=o+r*(a-o)/i,r=t+r*(n-t)/i,t=s/i*-(n-t),i=s/i*-(a-o),a=[{x:f(e+t,14),y:f(r-i,14)},{x:f(e-t,14),y:f(r+i,14)}]),a}function r(t){return t.reduce(function(t,o,s,e){return e=e.slice(s+1).reduce(function(t,e,r,n){var i=[s,r+s+1];return t.concat(a(o,e).map(function(t){return t.indexes=i,t}))},[]),t.concat(e)},[])}function n(t,e){return l(t,e)<=e.r+1e-10}function s(e,t){return!t.some(function(t){return!n(e,t)})}function p(e){return r(e).filter(function(t){return s(t,e)})}return(t=e=e||{}).round=f,t.getAreaOfCircle=i,t.getCircularSegmentArea=o,t.getOverlapBetweenCircles=function(t,e,r){var n=0;return n=rr?{r:e,largeArc:e=t[t.length-2].fx?(c=void 0,f.fx>u.fx?(c=s(l,u,.5,.5)).fxr)&&(t.left=r),(!w(t.right)||t.righte)&&(t.top=e),(!w(t.bottom)||t.bottom● {series.name}: {point.value} ({point.beaufort})
'},vectorLength:20,colorKey:"value",yOffset:-20,xOffset:0}),o.compose(i=y),c(i.prototype,{beaufortFloor:[0,.3,1.6,3.4,5.5,8,10.8,13.9,17.2,20.8,24.5,28.5,32.7],beaufortName:"Calm;Light air;Light breeze;Gentle breeze;Moderate breeze;Fresh breeze;Strong breeze;Near gale;Gale;Strong gale;Storm;Violent storm;Hurricane".split(";"),parallelArrays:["x","value","direction"],pointArrayMap:["value","direction"],pointClass:r,trackerGroups:["markerGroup"],invertGroups:t,translate:function(){var e=this.beaufortFloor,i=this.beaufortName;o.translate.call(this),this.points.forEach(function(t){for(var o=0;ot.value);o++);t.beaufortLevel=o-1,t.beaufort=i[o-1]})}}),i.registerApproximation(),e.registerSeriesType("windbarb",i),i}),o(t,"masters/modules/windbarb.src.js",[],function(){})}); \ No newline at end of file +!function(o){"object"==typeof module&&module.exports?module.exports=o.default=o:"function"==typeof define&&define.amd?define("highcharts/modules/windbarb",["highcharts"],function(t){return o(t),o.Highcharts=t,o}):o("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function o(t,o,e,i){t.hasOwnProperty(o)||(t[o]=i.apply(null,e),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:o,module:t[o]}})))}o(t=t?t._modules:{},"Extensions/DataGrouping/ApproximationRegistry.js",[],function(){return{}}),o(t,"Series/OnSeriesComposition.js",[t["Series/Column/ColumnSeries.js"],t["Core/Series/Series.js"],t["Core/Utilities.js"]],function(t,o,e){var i,r,g=t.prototype,n=o.prototype,m=e.defined,x=e.stableSort;function s(t){return n.getPlotBox.call(this.options.onSeries&&this.chart.get(this.options.onSeries)||this,t)}function a(){g.translate.apply(this);var i,t,r=this,o=r.options,e=r.chart,n=r.points,s=o.onSeries,a=(s=s&&e.get(s))&&s.options.step,p=s&&s.points,l=e.inverted,u=r.xAxis,h=r.yAxis,e=n.length-1,o=o.onKey||"y",c=p&&p.length,f=0;if(s&&s.visible&&c){var f=(s.pointXOffset||0)+(s.barW||0)/2,d=s.currentDataGrouping,y=p[c-1].x+(d?d.totalRange:0);for(x(n,function(t,o){return t.x-o.x}),o="plot"+o[0].toUpperCase()+o.substr(1);c--&&n[e];){var b,v=p[c],d=n[e];if(d.y=v.y,v.x<=d.x&&void 0!==v[o])if(d.x<=y&&(d.plotY=v[o],v.x● {series.name}: {point.value} ({point.beaufort})
'},vectorLength:20,colorKey:"value",yOffset:-20,xOffset:0}),r.compose(i=y),t(i.prototype,{beaufortFloor:[0,.3,1.6,3.4,5.5,8,10.8,13.9,17.2,20.8,24.5,28.5,32.7],beaufortName:"Calm;Light air;Light breeze;Gentle breeze;Moderate breeze;Fresh breeze;Strong breeze;Near gale;Gale;Strong gale;Storm;Violent storm;Hurricane".split(";"),invertible:!1,parallelArrays:["x","value","direction"],pointArrayMap:["value","direction"],pointClass:n,trackerGroups:["markerGroup"],translate:function(){var e=this.beaufortFloor,i=this.beaufortName;r.translate.call(this),this.points.forEach(function(t){for(var o=0;ot.value);o++);t.beaufortLevel=o-1,t.beaufort=i[o-1]})}}),i.registerApproximation(),e.registerSeriesType("windbarb",i),i}),o(t,"masters/modules/windbarb.src.js",[],function(){})}); \ No newline at end of file diff --git a/assets/js/external/highcharts/modules/wordcloud.min.js b/assets/js/external/highcharts/modules/wordcloud.min.js index ca04642b..2fed56a9 100644 --- a/assets/js/external/highcharts/modules/wordcloud.min.js +++ b/assets/js/external/highcharts/modules/wordcloud.min.js @@ -1 +1 @@ -!function(e){"object"==typeof module&&module.exports?module.exports=e.default=e:"function"==typeof define&&define.amd?define("highcharts/modules/wordcloud",["highcharts"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,o,i){t.hasOwnProperty(e)||(t[e]=i.apply(null,o),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Series/DrawPointUtilities.js",[t["Core/Utilities.js"]],function(t){function l(t){return"treemap"!==(t.series&&t.series.type)?!t.isNull:e(t.plotY)&&null!==t.y}var e=t.isNumber;return{draw:function(t,e){var o=e.animatableAttribs,i=e.onComplete,n=e.css,r=e.renderer,a=t.series&&t.series.chart.hasRendered?void 0:t.series&&t.series.options.animation,s=t.graphic;e.attribs=e.attribs||{},e.attribs.class=t.getClassName(),l(t)?(s||(t.graphic=s="text"===e.shapeType?r.text():r[e.shapeType](e.shapeArgs||{}),s.add(e.group)),n&&s.css(n),s.attr(e.attribs).animate(o,!e.isNew&&a,i)):s&&(r=function(){t.graphic=s=s&&s.destroy(),"function"==typeof i&&i()},Object.keys(o).length?s.animate(o,void 0,r):r())},shouldDraw:l}}),e(t,"Series/Wordcloud/WordcloudPoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){var i,o,n=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});function r(){var t=null!==o&&o.apply(this,arguments)||this;return t.dimensions=void 0,t.options=void 0,t.polygon=void 0,t.rect=void 0,t.series=void 0,t}return e=e.extend,o=t.seriesTypes.column.prototype.pointClass,n(r,o),r.prototype.isValid=function(){return!0},e((t=r).prototype,{weight:1}),t}),e(t,"Series/Wordcloud/WordcloudUtils.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],function(t,e){function s(t,e){return!(e.left>t.right||e.rightt.bottom||e.bottome.max||t.maxo.right&&no.bottom)));)p=d(h),m(p)&&(c.left=l.left+p.x,c.right=l.right+p.x,c.top=l.top+p.y,c.bottom=l.bottom+p.y,t.polygon=function(e,o,t){return t.map(function(t){return[t[0]+e,t[1]+o]})}(p.x,p.y,u)),h++;return p},isPolygonsColliding:l,isRectanglesIntersecting:s,rectangularSpiral:function(t,e){return t=o(t),e=e.field,t&&(t.x*=e.ratioX,t.y*=e.ratioY),t},rotate2DToOrigin:i,rotate2DToPoint:u,squareSpiral:o,updateFieldBoundaries:function(t,e){return(!p(t.left)||t.left>e.left)&&(t.left=e.left),(!p(t.right)||t.righte.top)&&(t.top=e.top),(!p(t.bottom)||t.bottom● {series.name}: {point.weight}
'}}),S((r=v).prototype,{animate:u,animateDrilldown:u,animateDrillupFrom:u,pointClass:n,setClip:u,placementStrategy:{random:function(t,e){var o=e.field;return e=e.rotation,{x:c(o.width)-o.width/2,y:c(o.height)-o.height/2,rotation:g(e.orientations,t.index,e.from,e.to)}},center:function(t,e){return e=e.rotation,{x:0,y:0,rotation:g(e.orientations,t.index,e.from,e.to)}}},pointArrayMap:["weight"],spirals:{archimedean:i,rectangular:m,square:b},utils:{extendPlayingField:j,getRotation:g,isPolygonsColliding:f,rotate2DToOrigin:y,rotate2DToPoint:x}}),t.registerSeriesType("wordcloud",r),r}),e(t,"masters/modules/wordcloud.src.js",[],function(){})}); \ No newline at end of file +!function(e){"object"==typeof module&&module.exports?module.exports=e.default=e:"function"==typeof define&&define.amd?define("highcharts/modules/wordcloud",["highcharts"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function e(t,e,o,i){t.hasOwnProperty(e)||(t[e]=i.apply(null,o),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Series/DrawPointUtilities.js",[t["Core/Utilities.js"]],function(t){return{draw:function(t,e){var o=e.animatableAttribs,i=e.onComplete,n=e.css,r=e.renderer,a=t.series&&t.series.chart.hasRendered?void 0:t.series&&t.series.options.animation,s=t.graphic;e.attribs=e.attribs||{},e.attribs.class=t.getClassName(),t.shouldDraw()?(s||(t.graphic=s="text"===e.shapeType?r.text():r[e.shapeType](e.shapeArgs||{}),s.add(e.group)),n&&s.css(n),s.attr(e.attribs).animate(o,!e.isNew&&a,i)):s&&(r=function(){t.graphic=s=s&&s.destroy(),"function"==typeof i&&i()},Object.keys(o).length?s.animate(o,void 0,r):r())}}}),e(t,"Series/Wordcloud/WordcloudPoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,e){var i,o,n=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});function r(){var t=null!==o&&o.apply(this,arguments)||this;return t.dimensions=void 0,t.options=void 0,t.polygon=void 0,t.rect=void 0,t.series=void 0,t}return e=e.extend,o=t.seriesTypes.column.prototype.pointClass,n(r,o),r.prototype.isValid=function(){return!0},e((t=r).prototype,{weight:1}),t}),e(t,"Series/Wordcloud/WordcloudUtils.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],function(t,e){function s(t,e){return!(e.left>t.right||e.rightt.bottom||e.bottome.max||t.maxo.right&&no.bottom)));)p=u(h),m(p)&&(c.left=l.left+p.x,c.right=l.right+p.x,c.top=l.top+p.y,c.bottom=l.bottom+p.y,t.polygon=function(e,o,t){return t.map(function(t){return[t[0]+e,t[1]+o]})}(p.x,p.y,d)),h++;return p},isPolygonsColliding:l,isRectanglesIntersecting:s,rectangularSpiral:function(t,e){return t=o(t),e=e.field,t&&(t.x*=e.ratioX,t.y*=e.ratioY),t},rotate2DToOrigin:i,rotate2DToPoint:d,squareSpiral:o,updateFieldBoundaries:function(t,e){return(!p(t.left)||t.left>e.left)&&(t.left=e.left),(!p(t.right)||t.righte.top)&&(t.top=e.top),(!p(t.bottom)||t.bottom● {series.name}: {point.weight}
'}}),S((r=v).prototype,{animate:d,animateDrilldown:d,animateDrillupFrom:d,pointClass:n,setClip:d,placementStrategy:{random:function(t,e){var o=e.field;return e=e.rotation,{x:c(o.width)-o.width/2,y:c(o.height)-o.height/2,rotation:g(e.orientations,t.index,e.from,e.to)}},center:function(t,e){return e=e.rotation,{x:0,y:0,rotation:g(e.orientations,t.index,e.from,e.to)}}},pointArrayMap:["weight"],spirals:{archimedean:i,rectangular:m,square:b},utils:{extendPlayingField:j,getRotation:g,isPolygonsColliding:f,rotate2DToOrigin:y,rotate2DToPoint:x}}),t.registerSeriesType("wordcloud",r),r}),e(t,"masters/modules/wordcloud.src.js",[],function(){})}); \ No newline at end of file diff --git a/assets/js/external/highcharts/modules/xrange.min.js b/assets/js/external/highcharts/modules/xrange.min.js index ad4fce61..91181a59 100644 --- a/assets/js/external/highcharts/modules/xrange.min.js +++ b/assets/js/external/highcharts/modules/xrange.min.js @@ -1 +1 @@ -!function(o){"object"==typeof module&&module.exports?module.exports=o.default=o:"function"==typeof define&&define.amd?define("highcharts/modules/xrange",["highcharts"],function(t){return o(t),o.Highcharts=t,o}):o("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){function o(t,o,i,e){t.hasOwnProperty(o)||(t[o]=e.apply(null,i),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:o,module:t[o]}})))}o(t=t?t._modules:{},"Series/XRange/XRangeSeriesDefaults.js",[t["Core/Utilities.js"]],function(t){var o=t.correctFloat,i=t.isNumber,e=t.isObject;return{colorByPoint:!0,dataLabels:{formatter:function(){var t=this.point.partialFill;if(e(t)&&(t=t.amount),i(t)&&0{point.x} - {point.x2}
',pointFormat:' {series.name}: {point.yCategory}
'},borderRadius:3,pointRange:0}}),o(t,"Series/XRange/XRangePoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,o){var e,i,r=this&&this.__extends||(e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var i in o)o.hasOwnProperty(i)&&(t[i]=o[i])})(t,o)},function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}),s=t.series.prototype.pointClass.prototype;function n(){var t=null!==i&&i.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return o=o.extend,i=t.seriesTypes.column.prototype.pointClass,r(n,i),n.getColorByCategory=function(t,o){var i=t.options.colors||t.chart.options.colors;return{colorIndex:t=o.y%(i?i.length:t.chart.options.chart.colorCount),color:i&&i[t]}},n.prototype.resolveColor=function(){var t,o=this.series;o.options.colorByPoint&&!this.options.color?(t=n.getColorByCategory(o,this),o.chart.styledMode||(this.color=t.color),this.options.colorIndex||(this.colorIndex=t.colorIndex)):this.color||(this.color=o.color)},n.prototype.init=function(){return s.init.apply(this,arguments),this.y||(this.y=0),this},n.prototype.setState=function(){s.setState.apply(this,arguments),this.series.drawPoint(this,this.series.getAnimationVerb())},n.prototype.getLabelConfig=function(){var t=s.getLabelConfig.call(this),o=this.series.yAxis.categories;return t.x2=this.x2,t.yCategory=this.yCategory=o&&o[this.y],t},n.prototype.isValid=function(){return"number"==typeof this.x&&"number"==typeof this.x2},o((t=n).prototype,{ttBelow:!1,tooltipDateKeys:["x","x2"]}),t}),o(t,"Series/XRange/XRangeSeries.js",[t["Core/Globals.js"],t["Core/Color/Color.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"],t["Series/XRange/XRangeSeriesDefaults.js"],t["Series/XRange/XRangePoint.js"]],function(t,o,i,e,r,s){function n(){if(this.isXAxis){for(var t=C(this.dataMax,-Number.MAX_VALUE),o=0,i=this.series;oo.len?(n=y(n,0,o.len),a=y(a,0,o.len),t.dlBox=v(r,{x:n,width:h=a-n,centerX:h?h/2:null})):t.dlBox=null,n=t.tooltipPos,h=c?0:1,e=this.columnMetrics?this.columnMetrics.offset:-e.width/2,n[a=c?1:0]=c?n[a]+r.width/2:n[a]+(o.reversed?-1:0)*r.width,n[h]=y(n[h]+(c?-1:1)*e,0,i.len-1),(i=t.partialFill)&&(m(i)&&(i=i.amount),x(i)||(i=0),t.partShapeArgs=v(r,{r:this.options.borderRadius}),l=Math.max(Math.round(p*i+t.plotX-l),0),t.clipRectArgs={x:o.reversed?r.x+p-l:r.x,y:r.y,width:l,height:r.height})},A.prototype.translate=function(){p.prototype.translate.apply(this,arguments);for(var t=0,o=this.points;t{point.x} - {point.x2}
',pointFormat:' {series.name}: {point.yCategory}
'},borderRadius:3,pointRange:0}}),o(t,"Series/XRange/XRangePoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(t,o){var e,i,r=this&&this.__extends||(e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var i in o)o.hasOwnProperty(i)&&(t[i]=o[i])})(t,o)},function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}),n=t.series.prototype.pointClass.prototype;function s(){var t=null!==i&&i.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return o=o.extend,i=t.seriesTypes.column.prototype.pointClass,r(s,i),s.getColorByCategory=function(t,o){var i=t.options.colors||t.chart.options.colors;return{colorIndex:t=o.y%(i?i.length:t.chart.options.chart.colorCount),color:i&&i[t]}},s.prototype.resolveColor=function(){var t,o=this.series;o.options.colorByPoint&&!this.options.color?(t=s.getColorByCategory(o,this),o.chart.styledMode||(this.color=t.color),this.options.colorIndex||(this.colorIndex=t.colorIndex)):this.color||(this.color=o.color)},s.prototype.init=function(){return n.init.apply(this,arguments),this.y||(this.y=0),this},s.prototype.setState=function(){n.setState.apply(this,arguments),this.series.drawPoint(this,this.series.getAnimationVerb())},s.prototype.getLabelConfig=function(){var t=n.getLabelConfig.call(this),o=this.series.yAxis.categories;return t.x2=this.x2,t.yCategory=this.yCategory=o&&o[this.y],t},s.prototype.isValid=function(){return"number"==typeof this.x&&"number"==typeof this.x2},o((t=s).prototype,{ttBelow:!1,tooltipDateKeys:["x","x2"]}),t}),o(t,"Series/XRange/XRangeSeries.js",[t["Core/Globals.js"],t["Core/Color/Color.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"],t["Series/XRange/XRangeSeriesDefaults.js"],t["Series/XRange/XRangePoint.js"]],function(t,o,i,e,r,n){function s(){if(this.isXAxis){for(var t=C(this.dataMax,-Number.MAX_VALUE),o=0,i=this.series;oo.len?(s=y(s,0,o.len),a=y(a,0,o.len),t.dlBox=v(r,{x:s,width:h=a-s,centerX:h?h/2:null})):t.dlBox=null,s=t.tooltipPos,h=c?0:1,e=this.columnMetrics?this.columnMetrics.offset:-e.width/2,s[a=c?1:0]=c?s[a]+r.width/2:s[a]+(o.reversed?-1:0)*r.width,s[h]=y(s[h]+(c?-1:1)*e,0,i.len-1),(i=t.partialFill)&&(m(i)&&(i=i.amount),x(i)||(i=0),t.partShapeArgs=v(r,{r:this.options.borderRadius}),l=Math.max(Math.round(p*i+t.plotX-l),0),t.clipRectArgs={x:o.reversed?r.x+p-l:r.x,y:r.y,width:l,height:r.height})},A.prototype.translate=function(){p.prototype.translate.apply(this,arguments);for(var t=0,o=this.points;t{"use strict";t.N=void 0;var r=/^([^\w]*)(javascript|data|vbscript)/im,n=/&#(\w+)(^\w|;)?/g,o=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,a=/^([^:]+):/gm,i=[".","/"];t.N=function(e){e=(e||"").replace(n,function(e,t){return String.fromCharCode(t)}).replace(o,"").trim();if(!e)return"about:blank";if(-1{"use strict";y.d(t,{Z:()=>w});var t=y(23101),v=y.n(t),t=y(61125),r=y.n(t),t=y(11882),n=y.n(t),t=y(97606),t=y.n(t),b=y(67294),i=y(43393);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var r=0;r-1!==n()(e).call(e,"#/definitions/")?e.replace(/^.*#\/definitions\//,""):-1!==n()(e).call(e,"#/components/schemas/")?e.replace(/^.*#\/components\/schemas\//,""):void 0),r()(this,"getRefSchema",e=>{let t=this.props["specSelectors"];return t.findDefinition(e)})}render(){let{getComponent:e,getConfigs:t,specSelectors:r,schema:n,required:o,name:a,isRef:i,specPath:s,displayName:l,includeReadOnly:u,includeWriteOnly:c}=this.props;var p=e("ObjectModel"),f=e("ArrayModel"),h=e("PrimitiveModel");let d="object",m=n&&n.get("$$ref");if(!a&&m&&(a=this.getModelName(m)),!(n=!n&&m?this.getRefSchema(a):n))return b.createElement("span",{className:"model model-title"},b.createElement("span",{className:"model-title__text"},l||a),b.createElement("img",{src:y(2517),height:"20px",width:"20px"}));var g=r.isOAS3()&&n.get("deprecated");switch(i=void 0!==i?i:!!m,d=n&&n.get("type")||d){case"object":return b.createElement(p,v()({className:"object"},this.props,{specPath:s,getConfigs:t,schema:n,name:a,deprecated:g,isRef:i,includeReadOnly:u,includeWriteOnly:c}));case"array":return b.createElement(f,v()({className:"array"},this.props,{getConfigs:t,schema:n,name:a,deprecated:g,required:o,includeReadOnly:u,includeWriteOnly:c}));default:return b.createElement(h,v()({},this.props,{getComponent:e,getConfigs:t,schema:n,name:a,deprecated:g,required:o}))}}}r()(w,"propTypes",{schema:t()(m()).isRequired,getComponent:g().func.isRequired,getConfigs:g().func.isRequired,specSelectors:g().object.isRequired,name:g().string,displayName:g().string,isRef:g().bool,required:g().bool,expandDepth:g().number,depth:g().number,specPath:m().list.isRequired,includeReadOnly:g().bool,includeWriteOnly:g().bool})},5623:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var t=r(61125),o=r.n(t),t=r(28222),n=r.n(t),a=r(67294),t=r(84564),i=r.n(t),s=r(90242),l=r(27504);class u extends a.Component{constructor(e,t){super(e,t),o()(this,"getDefinitionUrl",()=>{let e=this.props["specSelectors"];return new(i())(e.url(),l.Z.location).toString()});let r=e["getConfigs"],n=r()["validatorUrl"];this.state={url:this.getDefinitionUrl(),validatorUrl:void 0===n?"https://validator.swagger.io/validator":n}}UNSAFE_componentWillReceiveProps(e){let t=e["getConfigs"],r=t()["validatorUrl"];this.setState({url:this.getDefinitionUrl(),validatorUrl:void 0===r?"https://validator.swagger.io/validator":r})}render(){let e=this.props["getConfigs"],t=e()["spec"],r=(0,s.Nm)(this.state.validatorUrl);return("object"!=typeof t||!n()(t).length)&&this.state.url&&(0,s.hW)(this.state.validatorUrl)&&(0,s.hW)(this.state.url)?a.createElement("span",{className:"float-right"},a.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:r+"/debug?url="+encodeURIComponent(this.state.url)},a.createElement(c,{src:r+"?url="+encodeURIComponent(this.state.url),alt:"Online validator badge"}))):null}}class c extends a.Component{constructor(e){super(e),this.state={loaded:!1,error:!1}}componentDidMount(){const e=new Image;e.onload=()=>{this.setState({loaded:!0})},e.onerror=()=>{this.setState({error:!0})},e.src=this.props.src}UNSAFE_componentWillReceiveProps(e){if(e.src!==this.props.src){const t=new Image;t.onload=()=>{this.setState({loaded:!0})},t.onerror=()=>{this.setState({error:!0})},t.src=e.src}}render(){return this.state.error?a.createElement("img",{alt:"Error"}):this.state.loaded?a.createElement("img",{src:this.props.src,alt:this.props.alt}):null}}},86019:(D,e,t)=>{"use strict";t.d(e,{Z:()=>Re,s:()=>M});var L=t(67294),B=t(89927);function F(e,t){if(Array.prototype.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r",this.getInnerHtml(),""].join("")},o.prototype.buildAttrsStr=function(){if(!this.attrs)return"";var e,t=this.getAttrs(),r=[];for(e in t)t.hasOwnProperty(e)&&r.push(e+'="'+t[e]+'"');return r.join(" ")};var n=o;function o(e){void 0===e&&(e={}),this.tagName="",this.attrs={},this.innerHTML="",this.whitespaceRegex=/\s+/,this.tagName=e.tagName||"",this.attrs=e.attrs||{},this.innerHTML=e.innerHtml||e.innerHTML||""}i.prototype.build=function(e){return new n({tagName:"a",attrs:this.createAttrs(e),innerHtml:this.processAnchorText(e.getAnchorText())})},i.prototype.createAttrs=function(e){var t={href:e.getAnchorHref()},r=this.createCssClass(e);return r&&(t.class=r),this.newWindow&&(t.target="_blank",t.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length=u)return(c.host.length==o?c.host.substr(0,o-h)+a:s(p,u)).substr(0,u+l);var f="";if(c.path&&(f+="/"+c.path),c.query&&(f+="?"+c.query),f){if(u<=(p+f).length)return(p+f).length==o?(p+f).substr(0,o):(p+s(f,u-p.length)).substr(0,u+l);p+=f}if(c.fragment){n="#"+c.fragment;if(u<=(p+n).length)return(p+n).length==o?(p+n).substr(0,o):(p+s(n,u-p.length)).substr(0,u+l);p+=n}if(c.scheme&&c.host){var h=c.scheme+"://";if((p+h).lengthn&&(o=null==c?(c="…",3):c.length,h=h.substring(0,n-o)+c),h;p=e,f=void 0;if(p.length<=r)return p;var d,u=null==f?(f="…",d=8,3):(d=f.length,f.length),l="";return 0<(u=r-u)&&(l=p.substr(-1*Math.floor(u/2))),(p.substr(0,Math.ceil(u/2))+f+l).substr(0,u+d)};var U=i,e=(a.prototype.getMatchedText=function(){return this.matchedText},a.prototype.setOffset=function(e){this.offset=e},a.prototype.getOffset=function(){return this.offset},a.prototype.getCssClassSuffixes=function(){return[this.getType()]},a.prototype.buildTag=function(){return this.tagBuilder.build(this)},a),q=function(e,t){return(q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function a(e){this.__jsduckDummyDocProp=null,this.matchedText="",this.offset=0,this.tagBuilder=e.tagBuilder,this.matchedText=e.matchedText,this.offset=e.offset}function i(e){void 0===e&&(e={}),this.newWindow=!1,this.truncate={},this.className="",this.newWindow=e.newWindow||!1,this.truncate=e.truncate||{},this.className=e.className||""}function s(e,t){function r(){this.constructor=e}q(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function l(e){this.__jsduckDummyDocProp=null,this.tagBuilder=e.tagBuilder}function V(e){return"(?=("+se+"))\\"+e}function u(e){return"(?:"+V(e)+"(?:\\."+V(e+1)+"){0,126}|"+ie+")"}var W,c,H,$,p,J,K,f,G,Z,A=function(){return(A=Object.assign||function(e){for(var t,r=1,n=arguments.length;r"!==(l=w)&&k.test(l)?y=3:E();break;case 3:s=w,C.test(s)?(b=new P(A(A({},b),{name:S()})),y=4):"<"===s?x():"/"===s?(b=new P(A(A({},b),{name:S()})),y=12):">"===s?(b=new P(A(A({},b),{name:S()})),_()):k.test(s)||re.test(s)||":"===s||E();break;case 4:s=w,C.test(s)||("/"===s?y=12:">"===s?_():"<"===s?x():"="===s||O.test(s)||oe.test(s)?E():y=5);break;case 5:i=w,C.test(i)?y=6:"/"===i?y=12:"="===i?y=7:">"===i?_():"<"===i?x():O.test(i)&&E();break;case 6:i=w,C.test(i)||("/"===i?y=12:"="===i?y=7:">"===i?_():"<"===i?x():O.test(i)?E():y=5);break;case 7:a=w,C.test(a)||('"'===a?y=8:"'"===a?y=9:/[>=`]/.test(a)?E():"<"===a?x():y=10);break;case 8:'"'===w&&(y=11);break;case 9:"'"===w&&(y=11);break;case 10:a=w,C.test(a)?y=4:">"===a?_():"<"===a&&x();break;case 11:o=w,C.test(o)?y=4:"/"===o?y=12:">"===o?_():"<"===o?x():(y=4,m--);break;case 12:">"===w?(b=new P(A(A({},b),{isClosing:!0})),_()):y=4;break;case 13:"--"===t.substr(m,2)?(m+=2,b=new P(A(A({},b),{type:"comment"})),y=14):"DOCTYPE"===t.substr(m,7).toUpperCase()?(m+=7,b=new P(A(A({},b),{type:"doctype"})),y=20):E();break;case 14:"-"===(o=w)?y=15:">"===o?E():y=16;break;case 15:"-"===(n=w)?y=18:">"===n?E():y=16;break;case 16:"-"===w&&(y=17);break;case 17:y="-"===w?18:16;break;case 18:">"===(n=w)?_():"!"===n?y=19:"-"!==n&&(y=16);break;case 19:"-"===(r=w)?y=17:">"===r?_():y=16;break;case 20:">"===(r=w)?_():"<"===r&&x();break;default:z(y)}m++}function E(){y=0,b=d}function x(){y=1,b=new P({idx:m})}function _(){var e=t.slice(v,b.idx);e&&p(e,v),"comment"===b.type?f(b.idx):"doctype"===b.type?h(b.idx):(b.isOpening&&u(b.name,b.idx),b.isClosing&&c(b.name,b.idx)),E(),v=m+1}function S(){var e=b.idx+(b.isClosing?2:1);return t.slice(e,m).toLowerCase()}vr?t:t+1,e.splice(n,1)):e[t+1].getOffset()/g,">"));for(var t=this.parse(e),r=[],n=0,o=0,a=t.length;o\s]/i.test(f)&&0/i.test(n.content)&&u++),!(0({useUnsafeMarkdown:!1})};const Re=Pe;function M(e){var{useUnsafeMarkdown:t=!1}=13.26.0 and will be removed in v4.0.0."),M.hasWarnedAboutDeprecation=!0),Ne().sanitize(e,{ADD_ATTR:["target"],FORBID_TAGS:["style","form"],ALLOW_DATA_ATTR:r,FORBID_ATTR:n})}M.hasWarnedAboutDeprecation=!1},45308:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var t=r(86),t=r.n(t),n=r(8712),n=r.n(n),o=r(90242),a=r(27621);const i=r(95102),s={},l=s;t()(r=n()(i).call(i)).call(r,function(e){var t;"./index.js"!==e&&(t=i(e),s[(0,o.Zl)(e)]=t.default||t)}),s.SafeRender=a.default},55812:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SHOW_AUTH_POPUP:()=>n,AUTHORIZE:()=>o,LOGOUT:()=>a,PRE_AUTHORIZE_OAUTH2:()=>i,AUTHORIZE_OAUTH2:()=>s,VALIDATE:()=>l,CONFIGURE_AUTH:()=>u,RESTORE_AUTHORIZATION:()=>p,showDefinitions:()=>function(e){return{type:n,payload:e}},authorize:()=>function(e){return{type:o,payload:e}},authorizeWithPersistOption:()=>f,logout:()=>function(e){return{type:a,payload:e}},logoutWithPersistOption:()=>h,preAuthorizeImplicit:()=>d,authorizeOauth2:()=>function(e){return{type:s,payload:e}},authorizeOauth2WithPersistOption:()=>g,authorizePassword:()=>y,authorizeApplication:()=>E,authorizeAccessCodeWithFormParams:()=>x,authorizeAccessCodeWithBasicAuthentication:()=>_,authorizeRequest:()=>S,configureAuth:()=>function(e){return{type:u,payload:e}},restoreAuthorization:()=>function(e){return{type:p,payload:e}},persistAuthorizationIfNeeded:()=>A,authPopup:()=>k});var t=r(35627),v=r.n(t),t=r(76986),b=r.n(t),t=r(84564),w=r.n(t),c=r(27504),m=r(90242);const n="show_popup",o="authorize",a="logout",i="pre_authorize_oauth2",s="authorize_oauth2",l="validate",u="configure_auth",p="restore_authorization";const f=r=>e=>{let t=e["authActions"];t.authorize(r),t.persistAuthorizationIfNeeded()};const h=r=>e=>{let t=e["authActions"];t.logout(r),t.persistAuthorizationIfNeeded()},d=u=>e=>{let{authActions:t,errActions:r}=e,{auth:n,token:o,isValid:a}=u,{schema:i,name:s}=n,l=i.get("flow");delete c.Z.swaggerUIRedirectOauth2,"accessCode"===l||a||r.newAuthErr({authId:s,source:"auth",level:"warning",message:"Authorization may be unsafe, passed state was changed in server Passed state wasn't returned from auth server"}),o.error?r.newAuthErr({authId:s,source:"auth",level:"error",message:v()(o)}):t.authorizeOauth2WithPersistOption({auth:n,token:o})};const g=r=>e=>{let t=e["authActions"];t.authorizeOauth2(r),t.persistAuthorizationIfNeeded()},y=d=>e=>{let t=e["authActions"],{schema:r,name:n,username:o,password:a,passwordType:i,clientId:s,clientSecret:l}=d,u={grant_type:"password",scope:d.scopes.join(" "),username:o,password:a},c={};switch(i){case"request-body":p=u,h=l,(f=s)&&b()(p,{client_id:f}),h&&b()(p,{client_secret:h});break;case"basic":c.Authorization="Basic "+(0,m.r3)(s+":"+l);break;default:console.warn(`Warning: invalid passwordType ${i} was passed, not including client id and secret`)}var p,f,h;return t.authorizeRequest({body:(0,m.GZ)(u),url:r.get("tokenUrl"),name:n,headers:c,query:{},auth:d})},E=u=>e=>{let t=e["authActions"],{schema:r,scopes:n,name:o,clientId:a,clientSecret:i}=u,s={Authorization:"Basic "+(0,m.r3)(a+":"+i)},l={grant_type:"client_credentials",scope:n.join(" ")};return t.authorizeRequest({body:(0,m.GZ)(l),name:o,url:r.get("tokenUrl"),auth:u,headers:s})},x=e=>{let{auth:l,redirectUrl:u}=e;return e=>{let t=e["authActions"],{schema:r,name:n,clientId:o,clientSecret:a,codeVerifier:i}=l,s={grant_type:"authorization_code",code:l.code,client_id:o,client_secret:a,redirect_uri:u,code_verifier:i};return t.authorizeRequest({body:(0,m.GZ)(s),name:n,url:r.get("tokenUrl"),auth:l})}},_=e=>{let{auth:u,redirectUrl:c}=e;return e=>{let t=e["authActions"],{schema:r,name:n,clientId:o,clientSecret:a,codeVerifier:i}=u,s={Authorization:"Basic "+(0,m.r3)(o+":"+a)},l={grant_type:"authorization_code",code:u.code,client_id:o,redirect_uri:c,code_verifier:i};return t.authorizeRequest({body:(0,m.GZ)(l),name:n,url:r.get("tokenUrl"),auth:u,headers:s})}},S=y=>e=>{let t,{fn:r,getConfigs:n,authActions:o,errActions:a,oas3Selectors:i,specSelectors:s,authSelectors:l}=e,{body:u,query:c={},headers:p={},name:f,url:h,auth:d}=y,m=(l.getConfigs()||{})["additionalQueryStringParams"];t=s.isOAS3()?(e=i.serverEffectiveValue(i.selectedServer()),w()(h,e,!0)):w()(h,s.url(),!0),"object"==typeof m&&(t.query=b()({},t.query,m));var e=t.toString(),g=b()({Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","X-Requested-With":"XMLHttpRequest"},p);r.fetch({url:e,method:"post",headers:g,query:c,body:u,requestInterceptor:n().requestInterceptor,responseInterceptor:n().responseInterceptor}).then(function(e){var t=JSON.parse(e.data),r=t&&(t.error||""),n=t&&(t.parseError||"");e.ok?r||n?a.newAuthErr({authId:f,level:"error",source:"auth",message:v()(t)}):o.authorizeOauth2WithPersistOption({auth:d,token:t}):a.newAuthErr({authId:f,level:"error",source:"auth",message:e.statusText})}).catch(e=>{let t=new Error(e).message;if(e.response&&e.response.data){var r=e.response.data;try{const e="string"==typeof r?JSON.parse(r):r;e.error&&(t+=", error: "+e.error),e.error_description&&(t+=", description: "+e.error_description)}catch(e){}}a.newAuthErr({authId:f,level:"error",source:"auth",message:t})})};const A=()=>e=>{let{authSelectors:t,getConfigs:r}=e;if(r().persistAuthorization){const e=t.authorized();localStorage.setItem("authorized",v()(e.toJS()))}},k=(e,t)=>()=>{c.Z.swaggerUIRedirectOauth2=t,c.Z.open(e)}},93705:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>function(){return{afterLoad(e){this.rootInjects=this.rootInjects||{},this.rootInjects.initOAuth=e.authActions.configureAuth,this.rootInjects.preauthorizeApiKey=n()(u).call(u,null,e),this.rootInjects.preauthorizeBasic=n()(l).call(l,null,e)},statePlugins:{auth:{reducers:o.default,actions:a,selectors:i},spec:{wrapActions:s}}}},preauthorizeBasic:()=>l,preauthorizeApiKey:()=>u});var t=r(11189),n=r.n(t),o=r(43962),a=r(55812),i=r(60035),s=r(48302);function l(e,t,r,n){const{authActions:{authorize:o},specSelectors:{specJson:a,isOAS3:i}}=e,s=i()?["components","securitySchemes"]:["securityDefinitions"],l=a().getIn([...s,t]);return l?o({[t]:{value:{username:r,password:n},schema:l.toJS()}}):null}function u(e,t,r){const{authActions:{authorize:n},specSelectors:{specJson:o,isOAS3:a}}=e,i=a()?["components","securitySchemes"]:["securityDefinitions"],s=o().getIn([...i,t]);return s?n({[t]:{value:r,schema:s.toJS()}}):null}},43962:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var t=r(86),i=r.n(t),t=r(76986),s=r.n(t),l=r(43393),u=r(90242),t=r(55812);const n={[t.SHOW_AUTH_POPUP]:(e,t)=>{t=t.payload;return e.set("showDefinitions",t)},[t.AUTHORIZE]:(o,e)=>{let t=e["payload"],r=(0,l.fromJS)(t),a=o.get("authorized")||(0,l.Map)();return i()(e=r.entrySeq()).call(e,e=>{let[t,r]=e;if(!(0,u.Wl)(r.getIn))return o.set("authorized",a);var n,e=r.getIn(["schema","type"]);"apiKey"===e||"http"===e?a=a.set(t,r):"basic"===e&&(e=r.getIn(["value","username"]),n=r.getIn(["value","password"]),a=(a=a.setIn([t,"value"],{username:e,header:"Basic "+(0,u.r3)(e+":"+n)})).setIn([t,"schema"],r.get("schema")))}),o.set("authorized",a)},[t.AUTHORIZE_OAUTH2]:(e,t)=>{let r,n=t["payload"],{auth:o,token:a}=n,i=(o.token=s()({},a),r=(0,l.fromJS)(o),e.get("authorized")||(0,l.Map)());return i=i.set(r.get("name"),r),e.set("authorized",i)},[t.LOGOUT]:(e,t)=>{let r=t["payload"],n=e.get("authorized").withMutations(t=>{i()(r).call(r,e=>{t.delete(e)})});return e.set("authorized",n)},[t.CONFIGURE_AUTH]:(e,t)=>{t=t.payload;return e.set("configs",t)},[t.RESTORE_AUTHORIZATION]:(e,t)=>{t=t.payload;return e.set("authorized",(0,l.fromJS)(t.authorized))}}},60035:(e,t,r)=>{"use strict";r.r(t),r.d(t,{shownDefinitions:()=>p,definitionsToAuthorize:()=>f,getDefinitionsByNames:()=>h,definitionsForRequirements:()=>d,authorized:()=>m,isAuthorized:()=>g,getConfigs:()=>y});var t=r(86),s=r.n(t),t=r(51679),o=r.n(t),t=r(14418),a=r.n(t),t=r(11882),i=r.n(t),t=r(97606),l=r.n(t),t=r(28222),u=r.n(t),t=r(20573),c=r(43393);const n=e=>e,p=(0,t.P1)(n,e=>e.get("showDefinitions")),f=(0,t.P1)(n,()=>e=>{let t=e["specSelectors"],r=t.securityDefinitions()||(0,c.Map)({}),o=(0,c.List)();return s()(e=r.entrySeq()).call(e,e=>{let[t,r]=e,n=(0,c.Map)();n=n.set(t,r),o=o.push(n)}),o}),h=(e,n)=>e=>{let t=e["specSelectors"],i=(console.warn("WARNING: getDefinitionsByNames is deprecated and will be removed in the next major version."),t.securityDefinitions()),r=(0,c.List)();return s()(e=n.valueSeq()).call(e,e=>{let a=(0,c.Map)();s()(e=e.entrySeq()).call(e,e=>{let t,[r,n]=e,o=i.get(r);"oauth2"===o.get("type")&&n.size&&(t=o.get("scopes"),s()(e=t.keySeq()).call(e,e=>{n.contains(e)||(t=t.delete(e))}),o=o.set("allowedScopes",t)),a=a.set(r,o)}),r=r.push(a)}),r},d=function(e){let n=1{let t=e["authSelectors"];e=t.definitionsToAuthorize()||(0,c.List)();let r=(0,c.List)();return s()(e).call(e,a=>{let i=o()(n).call(n,e=>e.get(a.keySeq().first()));i&&(s()(a).call(a,(e,r)=>{if("oauth2"===e.get("type")){const o=i.get(r);let t=e.get("scopes");var n;c.List.isList(o)&&c.Map.isMap(t)&&(s()(n=t.keySeq()).call(n,e=>{o.contains(e)||(t=t.delete(e))}),a=a.set(r,e.set("scopes",t)))}}),r=r.push(a))}),r}},m=(0,t.P1)(n,e=>e.get("authorized")||(0,c.Map)()),g=(e,n)=>e=>{let t=e["authSelectors"],r=t.authorized();return c.List.isList(n)?!!a()(e=n.toJS()).call(e,e=>{return-1===i()(e=l()(e=u()(e)).call(e,e=>!!r.get(e))).call(e,!1)}).length:null},y=(0,t.P1)(n,e=>e.get("configs"))},48302:(e,t,r)=>{"use strict";r.r(t),r.d(t,{execute:()=>n});const n=(a,e)=>{let{authSelectors:i,specSelectors:s}=e;return e=>{var{path:e,method:t,operation:r,extras:n}=e,o={authorized:i.authorized()&&i.authorized().toJS(),definitions:s.securityDefinitions()&&s.securityDefinitions().toJS(),specSecurity:s.security()&&s.security().toJS()};return a({path:e,method:t,operation:r,securities:o,...n})}}},70714:(e,t,r)=>{"use strict";r.r(t),r.d(t,{UPDATE_CONFIGS:()=>n,TOGGLE_CONFIGS:()=>o,update:()=>function(e,t){return{type:n,payload:{[e]:t}}},toggle:()=>function(e){return{type:o,payload:e}},loaded:()=>a});const n="configs_update",o="configs_toggle";const a=()=>e=>{let{getConfigs:t,authActions:r}=e;if(t().persistAuthorization){const e=localStorage.getItem("authorized");e&&r.restoreAuthorization({authorized:JSON.parse(e)})}}},92256:(e,t,r)=>{"use strict";r.r(t),r.d(t,{parseYamlConfig:()=>o});var n=r(1272);const o=(e,t)=>{try{return n.ZP.load(e)}catch(e){return t&&t.errActions.newThrownErr(new Error(e)),{}}}},1661:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>function(){return{statePlugins:{spec:{actions:i,selectors:u},configs:{reducers:l.default,actions:a,selectors:s}}}}});var n=r(15163),o=r(92256),a=r(70714),i=r(22698),s=r(69018),l=r(37743);const u={getLocalConfig:()=>(0,o.parseYamlConfig)(n)}},37743:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(43393),t=r(70714);const o={[t.UPDATE_CONFIGS]:(e,t)=>e.merge((0,n.fromJS)(t.payload)),[t.TOGGLE_CONFIGS]:(e,t)=>{var t=t.payload,r=e.get(t);return e.set(t,!r)}}},69018:(e,t,r)=>{"use strict";r.r(t),r.d(t,{get:()=>o});var t=r(58309),n=r.n(t);const o=(e,t)=>e.getIn(n()(t)?t:[t])},22698:(e,t,r)=>{"use strict";r.r(t),r.d(t,{downloadConfig:()=>n,getConfigByUrl:()=>o});var a=r(92256);const n=r=>e=>{const{fetch:t}=e["fn"];return t(r)},o=(n,o)=>e=>{let t=e["specActions"];if(n)return t.downloadConfig(n).then(r,r);function r(e){e instanceof Error||400<=e.status?(t.updateLoadingStatus("failedConfig"),t.updateLoadingStatus("failedConfig"),t.updateUrl(""),console.error(e.statusText+" "+n.url),o(null)):o((0,a.parseYamlConfig)(e.text))}}},31970:(e,t,r)=>{"use strict";r.r(t),r.d(t,{setHash:()=>n});const n=e=>e?history.pushState(null,null,"#"+e):window.location.hash=""},34980:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>function(){return[n.default,{statePlugins:{configs:{wrapActions:{loaded:(t,r)=>function(){t(...arguments);var e=decodeURIComponent(window.location.hash);r.layoutActions.parseDeepLinkHash(e)}}}},wrapComponents:{operation:o.default,OperationTag:a.default}}]}});var n=r(41599),o=r(60877),a=r(34584)},41599:(e,t,r)=>{"use strict";r.r(t),r.d(t,{show:()=>d,scrollTo:()=>m,parseDeepLinkHash:()=>g,readyToScroll:()=>y,scrollToElement:()=>v,clearScrollTo:()=>b,default:()=>w});var t=r(58309),s=r.n(t),t=r(24278),c=r.n(t),t=r(97606),p=r.n(t),t=r(11882),f=r.n(t),l=r(31970),t=r(45172),n=r.n(t),u=r(90242),o=r(43393),a=r.n(o);const i="layout_scroll_to",h="layout_clear_scroll",d=(t,e)=>{let{getConfigs:a,layoutSelectors:i}=e;return function(){for(var e=arguments.length,r=new Array(e),n=0;n({type:i,payload:s()(e)?e:[e]}),g=u=>t=>{let{layoutActions:r,layoutSelectors:n,getConfigs:o}=t;if(o().deepLinking&&u){let e=c()(u).call(u,1);"/"===(e="!"===e[0]?c()(e).call(e,1):e)[0]&&(e=c()(e).call(e,1));const o=p()(t=e.split("/")).call(t,e=>e||""),a=n.isShownKeyFromUrlHashArray(o),[i,s="",l=""]=a;if("operations"===i){const u=n.isShownKeyFromUrlHashArray([s]);-1e.replace(/_/g," ")),!0)),r.show(u,!0)}(-1e.replace(/_/g," ")),!0)),r.show(a,!0),r.scrollTo(a)}},y=(r,n)=>e=>{var t=e.layoutSelectors.getScrollToKey();a().is(t,(0,o.fromJS)(r))&&(e.layoutActions.scrollToElement(n),e.layoutActions.clearScrollTo())},v=(t,r)=>e=>{try{r=r||e.fn.getScrollParent(t),n().createScroller(r).to(t)}catch(e){console.error(e)}},b=()=>({type:h}),w={fn:{getScrollParent:function(t,e){var r=document.documentElement,n=getComputedStyle(t);const o="absolute"===n.position,a=e?/(auto|scroll|hidden)/:/(auto|scroll)/;if("fixed"===n.position)return r;for(let e=t;e=e.parentElement;)if(n=getComputedStyle(e),(!o||"static"!==n.position)&&a.test(n.overflow+n.overflowY+n.overflowX))return e;return r}},statePlugins:{layout:{actions:{scrollToElement:v,scrollTo:m,clearScrollTo:b,readyToScroll:y,parseDeepLinkHash:g},selectors:{getScrollToKey:e=>e.get("scrollToKey"),isShownKeyFromUrlHashArray(e,t){var[t,r]=t;return r?["operations",t,r]:t?["operations-tag",t]:[]},urlHashArrayFromIsShownKey(e,t){var[t,r,n]=t;return"operations"==t?[r,n]:"operations-tag"==t?[r]:[]}},reducers:{layout_scroll_to:(e,t)=>e.set("scrollToKey",a().fromJS(t.payload)),layout_clear_scroll:e=>e.delete("scrollToKey")},wrapActions:{show:d}}}}},34584:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var t=r(61125),n=r.n(t),o=r(67294);const a=(e,r)=>class extends o.Component{constructor(){super(...arguments),n()(this,"onLoad",e=>{var t=this.props["tag"];r.layoutActions.readyToScroll(["operations-tag",t],e)})}render(){return o.createElement("span",{ref:this.onLoad},o.createElement(e,this.props))}}},60877:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var t=r(61125),n=r.n(t),o=r(67294);r(23930);const a=(e,a)=>class extends o.Component{constructor(){super(...arguments),n()(this,"onLoad",e=>{const t=this.props["operation"],{tag:r,operationId:n}=t.toObject();var o=t.toObject()["isShownKey"];a.layoutActions.readyToScroll(o||["operations",r,n],e)})}render(){return o.createElement("span",{ref:this.onLoad},o.createElement(e,this.props))}}},48011:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>function(e){let l=e["fn"];return{statePlugins:{spec:{actions:{download:s=>e=>{let{errActions:t,specSelectors:r,specActions:n,getConfigs:o}=e,a=l["fetch"];e=o();function i(e){if(e instanceof Error||400<=e.status){n.updateLoadingStatus("failed"),t.newThrownErr(u()(new Error((e.message||e.statusText)+" "+s),{source:"fetch"}));if(!e.status&&e instanceof Error){try{let e;if("URL"in p.Z?e=new(c())(s):(e=document.createElement("a")).href=s,"https:"!==e.protocol&&"https:"===p.Z.location.protocol){const s=u()(new Error(`Possible mixed-content issue? The page was loaded over https:// but a ${e.protocol}// URL was specified. Check that you are not attempting to load mixed content.`),{source:"fetch"});return void t.newThrownErr(s)}if(e.origin!==p.Z.location.origin){const s=u()(new Error(`Possible cross-origin (CORS) issue? The URL origin (${e.origin}) does not match the page (${p.Z.location.origin}). Check the server returns the correct 'Access-Control-Allow-*' headers.`),{source:"fetch"});t.newThrownErr(s)}}catch(e){return}return}else return}n.updateLoadingStatus("success"),n.updateSpec(e.text),r.url()!==s&&n.updateUrl(s)}s=s||r.url(),n.updateLoadingStatus("loading"),t.clear({source:"fetch"}),a({url:s,loadSpec:!0,requestInterceptor:e.requestInterceptor||(e=>e),responseInterceptor:e.responseInterceptor||(e=>e),credentials:"same-origin",headers:{Accept:"application/json,*/*"}}).then(i,i)},updateLoadingStatus:e=>{var t=[null,"loading","failed","success","failedConfig"];return-1===n()(t).call(t,e)&&console.error(`Error: ${e} is not one of `+o()(t)),{type:"spec_update_loading_status",payload:e}}},reducers:{spec_update_loading_status:(e,t)=>"string"==typeof t.payload?e.set("loadingStatus",t.payload):e},selectors:{loadingStatus:(0,a.P1)(e=>e||(0,i.Map)(),e=>e.get("loadingStatus")||null)}}}}}});var t=r(76986),u=r.n(t),t=r(63460),c=r.n(t),t=r(11882),n=r.n(t),t=r(35627),o=r.n(t),a=r(20573),i=r(43393),p=r(27504)},34966:(e,t,r)=>{"use strict";r.r(t),r.d(t,{NEW_THROWN_ERR:()=>o,NEW_THROWN_ERR_BATCH:()=>a,NEW_SPEC_ERR:()=>i,NEW_SPEC_ERR_BATCH:()=>s,NEW_AUTH_ERR:()=>l,CLEAR:()=>u,CLEAR_BY:()=>c,newThrownErr:()=>function(e){return{type:o,payload:(0,n.serializeError)(e)}},newThrownErrBatch:()=>function(e){return{type:a,payload:e}},newSpecErr:()=>function(e){return{type:i,payload:e}},newSpecErrBatch:()=>function(e){return{type:s,payload:e}},newAuthErr:()=>function(e){return{type:l,payload:e}},clear:()=>function(){var e=0function(){var e=0!0;return{type:c,payload:e}}});var n=r(7710);const o="err_new_thrown_err",a="err_new_thrown_err_batch",i="err_new_spec_err",s="err_new_spec_err_batch",l="err_new_auth_err",u="err_clear",c="err_clear_by"},56982:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>function(e){let n={jsSpec:{}},t=i()(s,(e,t)=>{try{var r=t.transform(e,n);return o()(r).call(r,e=>!!e)}catch(t){return console.error("Transformer error:",t),e}},e);return a()(e=o()(t).call(t,e=>!!e)).call(e,e=>(e.get("line")||e.get("path"),e))}});var t=r(14418),o=r.n(t),t=r(97606),a=r.n(t),t=r(54061),i=r.n(t);const s=[r(2392),r(21835)]},2392:(e,t,r)=>{"use strict";r.r(t),r.d(t,{transform:()=>function(e){return n()(e).call(e,e=>{var t,r="is not of a type(s)",n=o()(n=e.get("message")).call(n,r);return-1r===n.length-1&&1{"use strict";r.r(t),r.d(t,{transform:()=>function(e,t){var{}=t;return e}}),r(97606),r(11882),r(27361),r(43393)},77793:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>function(e){return{statePlugins:{err:{reducers:(0,n.default)(e),actions:o,selectors:a}}}}});var n=r(93527),o=r(34966),a=r(87667)},93527:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>function(){return{[l.NEW_THROWN_ERR]:(e,t)=>{let r=t["payload"],n=o()(p,r,{type:"thrown"});return e.update("errors",e=>(e||(0,u.List)()).push((0,u.fromJS)(n))).update("errors",e=>(0,c.default)(e))},[l.NEW_THROWN_ERR_BATCH]:(e,t)=>{let r=t["payload"];return r=n()(r).call(r,e=>(0,u.fromJS)(o()(p,e,{type:"thrown"}))),e.update("errors",e=>{return a()(e=e||(0,u.List)()).call(e,(0,u.fromJS)(r))}).update("errors",e=>(0,c.default)(e))},[l.NEW_SPEC_ERR]:(e,t)=>{let r=t["payload"],n=(0,u.fromJS)(r);return n=n.set("type","spec"),e.update("errors",e=>(e||(0,u.List)()).push((0,u.fromJS)(n)).sortBy(e=>e.get("line"))).update("errors",e=>(0,c.default)(e))},[l.NEW_SPEC_ERR_BATCH]:(e,t)=>{let r=t["payload"];return r=n()(r).call(r,e=>(0,u.fromJS)(o()(p,e,{type:"spec"}))),e.update("errors",e=>{return a()(e=e||(0,u.List)()).call(e,(0,u.fromJS)(r))}).update("errors",e=>(0,c.default)(e))},[l.NEW_AUTH_ERR]:(e,t)=>{let r=t["payload"],n=(0,u.fromJS)(o()({},r));return n=n.set("type","auth"),e.update("errors",e=>(e||(0,u.List)()).push((0,u.fromJS)(n))).update("errors",e=>(0,c.default)(e))},[l.CLEAR]:(e,t)=>{let n=t["payload"];if(!n||!e.get("errors"))return e;t=i()(t=e.get("errors")).call(t,r=>{var e;return s()(e=r.keySeq()).call(e,e=>{var t=r.get(e),e=n[e];return!e||t!==e})});return e.merge({errors:t})},[l.CLEAR_BY]:(e,t)=>{let r=t["payload"];if(!r||"function"!=typeof r)return e;t=i()(t=e.get("errors")).call(t,e=>r(e));return e.merge({errors:t})}}}});var t=r(76986),o=r.n(t),t=r(97606),n=r.n(t),t=r(39022),a=r.n(t),t=r(14418),i=r.n(t),t=r(2250),s=r.n(t),l=r(34966),u=r(43393),c=r(56982);let p={line:0,level:"error",message:"Unknown error"}},87667:(e,t,r)=>{"use strict";r.r(t),r.d(t,{allErrors:()=>o,lastError:()=>a});var n=r(43393),t=r(20573);const o=(0,t.P1)(e=>e,e=>e.get("errors",(0,n.List)())),a=(0,t.P1)(o,e=>e.last())},49978:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>function(){return{fn:{opsFilter:n.default}}}});var n=r(4309)},4309:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>function(e,r){return n()(e).call(e,(e,t)=>-1!==o()(t).call(t,r))}});var t=r(14418),n=r.n(t),t=r(11882),o=r.n(t)},25474:(e,t,r)=>{"use strict";r.r(t),r.d(t,{UPDATE_LAYOUT:()=>o,UPDATE_FILTER:()=>a,UPDATE_MODE:()=>i,SHOW:()=>s,updateLayout:()=>function(e){return{type:o,payload:e}},updateFilter:()=>function(e){return{type:a,payload:e}},show:()=>function(e){var t=!(1function(e){var t=1{"use strict";r.r(t),r.d(t,{default:()=>function(){return{statePlugins:{layout:{reducers:n.default,actions:o,selectors:a},spec:{wrapSelectors:i}}}}});var n=r(5672),o=r(25474),a=r(4400),i=r(28989)},5672:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var t=r(39022),n=r.n(t),o=r(43393),t=r(25474);const a={[t.UPDATE_LAYOUT]:(e,t)=>e.set("layout",t.payload),[t.UPDATE_FILTER]:(e,t)=>e.set("filter",t.payload),[t.SHOW]:(e,t)=>{const r=t.payload.shown,n=(0,o.fromJS)(t.payload.thing);return e.update("shown",(0,o.fromJS)({}),e=>e.set(n,r))},[t.UPDATE_MODE]:(e,t)=>{var r=t.payload.thing,t=t.payload.mode;return e.setIn(n()(e=["modes"]).call(e,r),(t||"")+"")}}},4400:(e,t,r)=>{"use strict";r.r(t),r.d(t,{current:()=>a,currentFilter:()=>i,isShown:()=>s,whatMode:()=>l,showSummary:()=>u});var t=r(20573),n=r(90242),o=r(43393);const a=e=>e.get("layout"),i=e=>e.get("filter"),s=(e,t,r)=>(t=(0,n.AF)(t),e.get("shown",(0,o.fromJS)({})).get((0,o.fromJS)(t),r)),l=function(e,t){var r=2e,e=>!s(e,"editor"))},28989:(e,t,r)=>{"use strict";r.r(t),r.d(t,{taggedOperations:()=>n});var t=r(24278),f=r.n(t);const n=(c,p)=>function(e){for(var t=arguments.length,r=new Array(1{"use strict";r.r(t),r.d(t,{default:()=>function(e){e=e.configs;const t={debug:0,info:1,log:2,warn:3,error:4},o=e=>t[e]||-1;let r=e["logLevel"],a=o(r);function n(e){for(var t=arguments.length,r=new Array(1=a&&console[e](...r)}return n.warn=i()(n).call(n,null,"warn"),n.error=i()(n).call(n,null,"error"),n.info=i()(n).call(n,null,"info"),n.debug=i()(n).call(n,null,"debug"),{rootInjects:{log:n}}}});var t=r(11189),i=r.n(t)},67002:(e,t,r)=>{"use strict";r.r(t),r.d(t,{UPDATE_SELECTED_SERVER:()=>n,UPDATE_REQUEST_BODY_VALUE:()=>o,UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG:()=>a,UPDATE_REQUEST_BODY_INCLUSION:()=>i,UPDATE_ACTIVE_EXAMPLES_MEMBER:()=>s,UPDATE_REQUEST_CONTENT_TYPE:()=>l,UPDATE_RESPONSE_CONTENT_TYPE:()=>u,UPDATE_SERVER_VARIABLE_VALUE:()=>c,SET_REQUEST_BODY_VALIDATE_ERROR:()=>p,CLEAR_REQUEST_BODY_VALIDATE_ERROR:()=>f,CLEAR_REQUEST_BODY_VALUE:()=>h,setSelectedServer:()=>function(e,t){return{type:n,payload:{selectedServerUrl:e,namespace:t}}},setRequestBodyValue:()=>function(e){var{value:e,pathMethod:t}=e;return{type:o,payload:{value:e,pathMethod:t}}},setRetainRequestBodyValueFlag:()=>d,setRequestBodyInclusion:()=>function(e){var{value:e,pathMethod:t,name:r}=e;return{type:i,payload:{value:e,pathMethod:t,name:r}}},setActiveExamplesMember:()=>function(e){var{name:e,pathMethod:t,contextType:r,contextName:n}=e;return{type:s,payload:{name:e,pathMethod:t,contextType:r,contextName:n}}},setRequestContentType:()=>function(e){var{value:e,pathMethod:t}=e;return{type:l,payload:{value:e,pathMethod:t}}},setResponseContentType:()=>function(e){var{value:e,path:t,method:r}=e;return{type:u,payload:{value:e,path:t,method:r}}},setServerVariableValue:()=>function(e){var{server:e,namespace:t,key:r,val:n}=e;return{type:c,payload:{server:e,namespace:t,key:r,val:n}}},setRequestBodyValidateError:()=>m,clearRequestBodyValidateError:()=>g,initRequestBodyValidateError:()=>y,clearRequestBodyValue:()=>v});const n="oas3_set_servers",o="oas3_set_request_body_value",a="oas3_set_request_body_retain_flag",i="oas3_set_request_body_inclusion",s="oas3_set_active_examples_member",l="oas3_set_request_content_type",u="oas3_set_response_content_type",c="oas3_set_server_variable_value",p="oas3_set_request_body_validate_error",f="oas3_clear_request_body_validate_error",h="oas3_clear_request_body_value";const d=e=>{var{value:e,pathMethod:t}=e;return{type:a,payload:{value:e,pathMethod:t}}};const m=e=>{var{path:e,method:t,validationErrors:r}=e;return{type:p,payload:{path:e,method:t,validationErrors:r}}},g=e=>{var{path:e,method:t}=e;return{type:f,payload:{path:e,method:t}}},y=e=>{e=e.pathMethod;return{type:f,payload:{path:e[0],method:e[1]}}},v=e=>{e=e.pathMethod;return{type:h,payload:{pathMethod:e}}}},73723:(e,t,r)=>{"use strict";r.r(t),r.d(t,{definitionsToAuthorize:()=>o});var i,t=r(86),n=r.n(t),t=r(14418),s=r.n(t),t=r(24282),l=r.n(t),t=r(20573),u=r(43393),c=r(7779);i=(0,t.P1)(e=>e,e=>{let t=e["specSelectors"];return t.securityDefinitions()},(e,t)=>{let i=(0,u.List)();return t&&n()(t=t.entrySeq()).call(t,e=>{let[o,a]=e;var t,e=a.get("type");if("oauth2"===e&&n()(t=a.get("flows").entrySeq()).call(t,e=>{let[t,r]=e,n=(0,u.fromJS)({flow:t,authorizationUrl:r.get("authorizationUrl"),tokenUrl:r.get("tokenUrl"),scopes:r.get("scopes"),type:a.get("type"),description:a.get("description")});i=i.push(new u.Map({[o]:s()(n).call(n,e=>void 0!==e)}))}),"http"!==e&&"apiKey"!==e||(i=i.push(new u.Map({[o]:a}))),"openIdConnect"===e&&a.get("openIdConnectData")){let r=a.get("openIdConnectData"),e=r.get("grant_types_supported")||["authorization_code","implicit"];n()(e).call(e,e=>{var t=r.get("scopes_supported")&&l()(t=r.get("scopes_supported")).call(t,(e,t)=>e.set(t,""),new u.Map),e=(0,u.fromJS)({flow:e,authorizationUrl:r.get("authorization_endpoint"),tokenUrl:r.get("token_endpoint"),scopes:t,type:"oauth2",openIdConnectUrl:a.get("openIdConnectUrl")});i=i.push(new u.Map({[o]:s()(e).call(e,e=>void 0!==e)}))})}}),i});const o=(o,a)=>function(){for(var e=a.getSystem().specSelectors.specJson(),t=arguments.length,r=new Array(t),n=0;n{"use strict";r.r(t),r.d(t,{default:()=>n});var t=r(23101),s=r.n(t),t=r(97606),l=r.n(t),u=r(67294),c=(r(23930),r(43393));const n=o=>{let{callbacks:e,getComponent:t,specPath:a}=o;const i=t("OperationContainer",!0);if(!e)return u.createElement("span",null,"No callbacks");var r=l()(r=e.entrySeq()).call(r,e=>{let[n,t]=e;return u.createElement("div",{key:n},u.createElement("h2",null,n),l()(e=t.entrySeq()).call(e,e=>{let[r,t]=e;return"$$ref"===r?null:u.createElement("div",{key:r},l()(e=t.entrySeq()).call(e,e=>{var[e,t]=e;if("$$ref"===e)return null;t=(0,c.fromJS)({operation:t});return u.createElement(i,s()({},o,{op:t,key:e,tag:"",method:e,path:r,specPath:a.push(n,r,e),allowTryItOut:!1}))}))}))});return u.createElement("div",null,r)}},86775:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var t=r(61125),n=r.n(t),t=r(76986),a=r.n(t),t=r(14418),d=r.n(t),t=r(97606),m=r.n(t),g=r(67294);class o extends g.Component{constructor(e,t){super(e,t),n()(this,"onChange",e=>{let t=this.props["onChange"],{value:r,name:n}=e.target,o=a()({},this.state.value);n?o[n]=r:o=r,this.setState({value:o},()=>t(this.state))});var{name:e,schema:t}=this.props,r=this.getValue();this.state={name:e,schema:t,value:r}}getValue(){let{name:e,authorized:t}=this.props;return t&&t.getIn([e,"value"])}render(){var e;let{schema:t,getComponent:r,errSelectors:n,name:o}=this.props;const a=r("Input"),i=r("Row"),s=r("Col"),l=r("authError"),u=r("Markdown",!0),c=r("JumpToPath",!0),p=(t.get("scheme")||"").toLowerCase();let f=this.getValue(),h=d()(e=n.allErrors()).call(e,e=>e.get("authId")===o);return"basic"===p?(e=f?f.get("username"):null,g.createElement("div",null,g.createElement("h4",null,g.createElement("code",null,o||t.get("name")),"  (http, Basic)",g.createElement(c,{path:["securityDefinitions",o]})),e&&g.createElement("h6",null,"Authorized"),g.createElement(i,null,g.createElement(u,{source:t.get("description")})),g.createElement(i,null,g.createElement("label",null,"Username:"),e?g.createElement("code",null," ",e," "):g.createElement(s,null,g.createElement(a,{type:"text",required:"required",name:"username","aria-label":"auth-basic-username",onChange:this.onChange,autoFocus:!0}))),g.createElement(i,null,g.createElement("label",null,"Password:"),e?g.createElement("code",null," ****** "):g.createElement(s,null,g.createElement(a,{autoComplete:"new-password",name:"password",type:"password","aria-label":"auth-basic-password",onChange:this.onChange}))),m()(e=h.valueSeq()).call(e,(e,t)=>g.createElement(l,{error:e,key:t})))):"bearer"===p?g.createElement("div",null,g.createElement("h4",null,g.createElement("code",null,o||t.get("name")),"  (http, Bearer)",g.createElement(c,{path:["securityDefinitions",o]})),f&&g.createElement("h6",null,"Authorized"),g.createElement(i,null,g.createElement(u,{source:t.get("description")})),g.createElement(i,null,g.createElement("label",null,"Value:"),f?g.createElement("code",null," ****** "):g.createElement(s,null,g.createElement(a,{type:"text","aria-label":"auth-bearer-value",onChange:this.onChange,autoFocus:!0}))),m()(e=h.valueSeq()).call(e,(e,t)=>g.createElement(l,{error:e,key:t}))):g.createElement("div",null,g.createElement("em",null,g.createElement("b",null,o)," HTTP authentication: unsupported scheme ",`'${p}'`))}}},76467:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u});var t=r(33427),n=r(42458),o=r(15757),a=r(56617),i=r(9928),s=r(45327),l=r(86775),r=r(96796);const u={Callbacks:t.default,HttpAuth:l.default,RequestBody:n.default,Servers:a.default,ServersContainer:i.default,RequestBodyEditor:s.default,OperationServers:r.default,operationLink:o.default}},15757:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var t=r(35627),s=r.n(t),t=r(97606),l=r.n(t),u=r(67294);r(23930);class n extends u.Component{render(){const{link:e,name:t,getComponent:r}=this.props,n=r("Markdown",!0);var o=e.get("operationId")||e.get("operationRef"),a=e.get("parameters")&&e.get("parameters").toJS(),i=e.get("description");return u.createElement("div",{className:"operation-link"},u.createElement("div",{className:"description"},u.createElement("b",null,u.createElement("code",null,t)),i?u.createElement(n,{source:i}):null),u.createElement("pre",null,"Operation `",o,"`",u.createElement("br",null),u.createElement("br",null),"Parameters ",("string"!=typeof(i=s()(a,null,2))?"":l()(i=i.split("\n")).call(i,(e,t)=>0{"use strict";r.r(t),r.d(t,{default:()=>o});var t=r(61125),n=r.n(t),i=r(67294);r(23930);class o extends i.Component{constructor(){super(...arguments),n()(this,"setSelectedServer",e=>{var{path:t,method:r}=this.props;return this.forceUpdate(),this.props.setSelectedServer(e,t+":"+r)}),n()(this,"setServerVariableValue",e=>{var{path:t,method:r}=this.props;return this.forceUpdate(),this.props.setServerVariableValue({...e,namespace:t+":"+r})}),n()(this,"getSelectedServer",()=>{var{path:e,method:t}=this.props;return this.props.getSelectedServer(e+":"+t)}),n()(this,"getServerVariable",(e,t)=>{var{path:r,method:n}=this.props;return this.props.getServerVariable({namespace:r+":"+n,server:e},t)}),n()(this,"getEffectiveServerValue",e=>{var{path:t,method:r}=this.props;return this.props.getEffectiveServerValue({server:e,namespace:t+":"+r})})}render(){const{operationServers:e,pathServers:t,getComponent:r}=this.props;if(!e&&!t)return null;var n=r("Servers"),o=e||t,a=e?"operation":"path";return i.createElement("div",{className:"opblock-section operation-servers"},i.createElement("div",{className:"opblock-section-header"},i.createElement("div",{className:"tab-header"},i.createElement("h4",{className:"opblock-title"},"Servers"))),i.createElement("div",{className:"opblock-description-wrapper"},i.createElement("h4",{className:"message"},"These ",a,"-level options override the global server options."),i.createElement(n,{servers:o,currentServer:this.getSelectedServer(),setSelectedServer:this.setSelectedServer,setServerVariableValue:this.setServerVariableValue,getServerVariable:this.getServerVariable,getEffectiveServerValue:this.getEffectiveServerValue})))}}},45327:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var t=r(61125),n=r.n(t),a=r(67294),t=r(94184),i=r.n(t),o=r(90242),t=Function.prototype;class s extends a.PureComponent{constructor(e,t){super(e,t),n()(this,"applyDefaultValue",e=>{const{onChange:t,defaultValue:r}=e||this.props;return this.setState({value:r}),t(r)}),n()(this,"onChange",e=>{this.props.onChange((0,o.Pz)(e))}),n()(this,"onDomChange",e=>{const t=e.target.value;this.setState({value:t},()=>this.onChange(t))}),this.state={value:(0,o.Pz)(e.value)||e.defaultValue},e.onChange(e.value)}UNSAFE_componentWillReceiveProps(e){this.props.value!==e.value&&e.value!==this.state.value&&this.setState({value:(0,o.Pz)(e.value)}),!e.value&&e.defaultValue&&this.state.value&&this.applyDefaultValue(e)}render(){let{getComponent:e,errors:t}=this.props,r=this.state["value"],n=0{"use strict";r.r(t),r.d(t,{getDefaultRequestBodyValue:()=>V,default:()=>n});var t=r(97606),M=r.n(t),t=r(11882),D=r.n(t),t=r(58118),L=r.n(t),t=r(58309),B=r.n(t),F=r(67294),z=(r(23930),r(43393)),U=r(90242),q=r(2518);const V=(e,t,r)=>{const n=e.getIn(["content",t]),o=n.get("schema").toJS(),a=void 0!==n.get("examples"),i=n.get("example"),s=a?n.getIn(["examples",r,"value"]):i,l=(0,U.xi)(o,t,{includeWriteOnly:!0},s);return(0,U.Pz)(l)},n=h=>{let{userHasEditedBody:d,requestBody:n,requestBodyValue:m,requestBodyInclusionSetting:g,requestBodyErrors:y,getComponent:v,getConfigs:e,specSelectors:t,fn:b,contentType:o,isExecute:w,specPath:r,onChange:E,onChangeIncludeEmpty:x,activeExamplesKey:a,updateActiveExamplesKey:i,setRetainRequestBodyValueFlag:s}=h;const _=v("Markdown",!0),l=v("modelExample"),u=v("RequestBodyEditor"),c=v("highlightCode"),p=v("ExamplesSelectValueRetainer"),f=v("Example"),S=v("ParameterIncludeEmpty"),A=e()["showCommonExtensions"],k=n&&n.get("description")||null,C=n&&n.get("content")||new z.OrderedMap,O=(o=o||C.keySeq().first()||"",C.get(o,(0,z.OrderedMap)())),j=O.get("schema",(0,z.OrderedMap)()),I=O.get("examples",null),N=null==I?void 0:M()(I).call(I,(e,t)=>{var r=null==(r=e)?void 0:r.get("value",null);return e=r?e.set("value",V(n,o,t),r):e});if(y=z.List.isList(y)?y:(0,z.List)(),!O.size)return null;var h="object"===O.getIn(["schema","type"]),T="binary"===O.getIn(["schema","format"]),P="base64"===O.getIn(["schema","format"]);if("application/octet-stream"===o||0===D()(o).call(o,"image/")||0===D()(o).call(o,"audio/")||0===D()(o).call(o,"video/")||T||P){const h=v("Input");return w?F.createElement(h,{type:"file",onChange:e=>{E(e.target.files[0])}}):F.createElement("i",null,"Example values are not available for ",F.createElement("code",null,o)," media types.")}if(h&&("application/x-www-form-urlencoded"===o||0===D()(o).call(o,"multipart/"))&&0{let[n,o]=r;if(!o.get("readOnly")){let e=A?(0,U.po)(o):null;var r=L()(r=j.get("required",(0,z.List)())).call(r,n),a=o.get("type"),i=o.get("format"),s=o.get("description"),l=m.getIn([n,"value"]),u=m.getIn([n,"errors"])||y,c=g.get(n)||!1,p=o.has("default")||o.has("example")||o.hasIn(["items","example"])||o.hasIn(["items","default"]),f=o.has("enum")&&(1===o.get("enum").size||r),p=p||f;let t="array"!==a||p?"":[];"string"==typeof(t="string"!=typeof(t="object"!==a&&!p?t:(0,U.xi)(o,!1,{includeWriteOnly:!0}))&&"object"===a?(0,U.Pz)(t):t)&&"array"===a&&(t=JSON.parse(t));f="string"===a&&("binary"===i||"base64"===i);return F.createElement("tr",{key:n,className:"parameters","data-property-name":n},F.createElement("td",{className:"parameters-col_name"},F.createElement("div",{className:r?"parameter__name required":"parameter__name"},n,r?F.createElement("span",null," *"):null),F.createElement("div",{className:"parameter__type"},a,i&&F.createElement("span",{className:"prop-format"},"($",i,")"),A&&e.size?M()(p=e.entrySeq()).call(p,e=>{var[e,t]=e;return F.createElement(d,{key:e+"-"+t,xKey:e,xVal:t})}):null),F.createElement("div",{className:"parameter__deprecated"},o.get("deprecated")?"deprecated":null)),F.createElement("td",{className:"parameters-col_description"},F.createElement(_,{source:s}),w?F.createElement("div",null,F.createElement(h,{fn:b,dispatchInitialValue:!f,schema:o,description:n,getComponent:v,value:void 0===l?t:l,required:r,errors:u,onChange:e=>{E(e,[n])}}),r?null:F.createElement(S,{onChange:e=>x(n,e),isIncluded:c,isIncludedOptions:(e=>{let t={key:e,shouldDispatchInit:!1,defaultValue:!0};return"no value"===g.get(e,"no value")&&(t.shouldDispatchInit=!0),t})(n),isDisabled:B()(l)?0!==l.length:!(0,U.O2)(l)})):null))}}))))}P=V(n,o,a);let R=null;return(0,q.O)(P)&&(R="json"),F.createElement("div",null,k&&F.createElement(_,{source:k}),N?F.createElement(p,{userHasEditedBody:d,examples:N,currentKey:a,currentUserInputValue:m,onSelect:e=>{i(e)},updateValue:E,defaultToFirstExample:!0,getComponent:v,setRetainRequestBodyValueFlag:s}):null,w?F.createElement("div",null,F.createElement(u,{value:m,errors:y,defaultValue:P,onChange:E,getComponent:v})):F.createElement(l,{getComponent:v,getConfigs:e,specSelectors:t,expandDepth:1,isExecute:w,schema:O.get("schema"),specPath:r.push("content",o),example:F.createElement(c,{className:"body-param__example",getConfigs:e,language:R,value:(0,U.Pz)(m)||P}),includeWriteOnly:!0}),N?F.createElement(f,{example:N.get(a),getComponent:v,getConfigs:e}):null)}},9928:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var i=r(67294);class n extends i.Component{render(){const{specSelectors:e,oas3Selectors:t,oas3Actions:r,getComponent:n}=this.props,o=e.servers(),a=n("Servers");return o&&o.size?i.createElement("div",null,i.createElement("span",{className:"servers-title"},"Servers"),i.createElement(a,{servers:o,currentServer:t.selectedServer(),setSelectedServer:r.setSelectedServer,setServerVariableValue:r.setServerVariableValue,getServerVariable:t.serverVariableValue,getEffectiveServerValue:t.serverEffectiveValue})):null}}},56617:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var t=r(61125),n=r.n(t),t=r(51679),p=r.n(t),t=r(97606),f=r.n(t),s=r(67294),h=r(43393);r(23930);class o extends s.Component{constructor(){super(...arguments),n()(this,"onServerChange",e=>{this.setServer(e.target.value)}),n()(this,"onServerVariableValueChange",e=>{let{setServerVariableValue:t,currentServer:r}=this.props,n=e.target.getAttribute("data-variable"),o=e.target.value;"function"==typeof t&&t({server:r,key:n,val:o})}),n()(this,"setServer",e=>{let t=this.props["setSelectedServer"];t(e)})}componentDidMount(){var e;let{servers:t,currentServer:r}=this.props;r||this.setServer(null==(e=t.first())?void 0:e.get("url"))}UNSAFE_componentWillReceiveProps(i){let{servers:s,setServerVariableValue:l,getServerVariable:u}=i;if(this.props.currentServer!==i.currentServer||this.props.servers!==i.servers){var c;let e=p()(s).call(s,e=>e.get("url")===i.currentServer),t=p()(c=this.props.servers).call(c,e=>e.get("url")===this.props.currentServer)||(0,h.OrderedMap)();if(!e)return this.setServer(s.first().get("url"));let r=t.get("variables")||(0,h.OrderedMap)(),n=(p()(r).call(r,e=>e.get("default"))||(0,h.OrderedMap)()).get("default"),o=e.get("variables")||(0,h.OrderedMap)(),a=(p()(o).call(o,e=>e.get("default"))||(0,h.OrderedMap)()).get("default");f()(o).call(o,(e,t)=>{u(i.currentServer,t)&&n===a||l({server:i.currentServer,key:t,val:e.get("default")||""})})}}render(){var e;let{servers:t,currentServer:n,getServerVariable:o,getEffectiveServerValue:r}=this.props,a=(p()(t).call(t,e=>e.get("url")===n)||(0,h.OrderedMap)()).get("variables")||(0,h.OrderedMap)(),i=0!==a.size;return s.createElement("div",{className:"servers"},s.createElement("label",{htmlFor:"servers"},s.createElement("select",{onChange:this.onServerChange,value:n},f()(e=t.valueSeq()).call(e,e=>s.createElement("option",{value:e.get("url"),key:e.get("url")},e.get("url"),e.get("description")&&" - "+e.get("description"))).toArray())),i?s.createElement("div",null,s.createElement("div",{className:"computed-url"},"Computed URL:",s.createElement("code",null,r(n))),s.createElement("h4",null,"Server variables"),s.createElement("table",null,s.createElement("tbody",null,f()(e=a.entrySeq()).call(e,e=>{let[t,r]=e;return s.createElement("tr",{key:t},s.createElement("td",null,t),s.createElement("td",null,r.get("enum")?s.createElement("select",{"data-variable":t,onChange:this.onServerVariableValueChange},f()(e=r.get("enum")).call(e,e=>s.createElement("option",{selected:e===o(n,t),key:e,value:e},e))):s.createElement("input",{type:"text",value:o(n,t)||"",onChange:this.onServerVariableValueChange,"data-variable":t})))})))):null)}}},7779:(e,t,r)=>{"use strict";r.r(t),r.d(t,{isOAS3:()=>i,isSwagger2:()=>function(e){e=e.get("swagger");return"string"==typeof e&&n()(e).call(e,"2.0")},OAS3ComponentWrapFactory:()=>function(n){return(t,r)=>e=>r&&r.specSelectors&&r.specSelectors.specJson?i(r.specSelectors.specJson())?a.createElement(n,o()({},e,r,{Ori:t})):a.createElement(t,e):(console.warn("OAS3 wrapper: couldn't get spec"),null)}});var t=r(23101),o=r.n(t),t=r(27043),n=r.n(t),a=r(67294);function i(e){e=e.get("openapi");return"string"==typeof e&&n()(e).call(e,"3.0.")&&4{"use strict";r.r(t),r.d(t,{default:()=>function(){return{components:i.default,wrapComponents:s.default,statePlugins:{spec:{wrapSelectors:n,selectors:a},auth:{wrapSelectors:o},oas3:{actions:l,reducers:c.default,selectors:u}}}}});var n=r(92044),o=r(73723),a=r(91741),i=r(76467),s=r(37761),l=r(67002),u=r(5065),c=r(62109)},62109:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var t=r(8712),l=r.n(t),t=r(86),u=r.n(t),t=r(24282),i=r.n(t),c=r(43393),t=r(67002);const n={[t.UPDATE_SELECTED_SERVER]:(e,t)=>{var{selectedServerUrl:t,namespace:r}=t["payload"];return e.setIn(r?[r,"selectedServer"]:["selectedServer"],t)},[t.UPDATE_REQUEST_BODY_VALUE]:(e,t)=>{let{value:r,pathMethod:n}=t["payload"],[o,a]=n;if(!c.Map.isMap(r))return e.setIn(["requestData",o,a,"bodyValue"],r);let i,s=e.getIn(["requestData",o,a,"bodyValue"])||(0,c.Map)();c.Map.isMap(s)||(s=(0,c.Map)());var[...t]=l()(r).call(r);return u()(t).call(t,e=>{var t=r.getIn([e]);s.has(e)&&c.Map.isMap(t)||(i=s.setIn([e,"value"],t))}),e.setIn(["requestData",o,a,"bodyValue"],i)},[t.UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG]:(e,t)=>{var{value:t,pathMethod:r}=t["payload"],[r,n]=r;return e.setIn(["requestData",r,n,"retainBodyValue"],t)},[t.UPDATE_REQUEST_BODY_INCLUSION]:(e,t)=>{var{value:t,pathMethod:r,name:n}=t["payload"],[r,o]=r;return e.setIn(["requestData",r,o,"bodyInclusion",n],t)},[t.UPDATE_ACTIVE_EXAMPLES_MEMBER]:(e,t)=>{var{name:t,pathMethod:r,contextType:n,contextName:o}=t["payload"],[r,a]=r;return e.setIn(["examples",r,a,n,o,"activeExample"],t)},[t.UPDATE_REQUEST_CONTENT_TYPE]:(e,t)=>{var{value:t,pathMethod:r}=t["payload"],[r,n]=r;return e.setIn(["requestData",r,n,"requestContentType"],t)},[t.UPDATE_RESPONSE_CONTENT_TYPE]:(e,t)=>{var{value:t,path:r,method:n}=t["payload"];return e.setIn(["requestData",r,n,"responseContentType"],t)},[t.UPDATE_SERVER_VARIABLE_VALUE]:(e,t)=>{var{server:t,namespace:r,key:n,val:o}=t["payload"];return e.setIn(r?[r,"serverVariableValues",t,n]:["serverVariableValues",t,n],o)},[t.SET_REQUEST_BODY_VALIDATE_ERROR]:(e,t)=>{let{path:r,method:n,validationErrors:o}=t["payload"],a=[];if(a.push("Required field is not provided"),o.missingBodyValue)return e.setIn(["requestData",r,n,"errors"],(0,c.fromJS)(a));if(o.missingRequiredKeys&&0i()(t).call(t,(e,t)=>e.setIn([t,"errors"],(0,c.fromJS)(a)),e))}return console.warn("unexpected result: SET_REQUEST_BODY_VALIDATE_ERROR"),e},[t.CLEAR_REQUEST_BODY_VALIDATE_ERROR]:(e,t)=>{var{path:t,method:r}=t["payload"],n=e.getIn(["requestData",t,r,"bodyValue"]);if(!c.Map.isMap(n))return e.setIn(["requestData",t,r,"errors"],(0,c.fromJS)([]));const[...o]=l()(n).call(n);return o?e.updateIn(["requestData",t,r,"bodyValue"],(0,c.fromJS)({}),e=>i()(o).call(o,(e,t)=>e.setIn([t,"errors"],(0,c.fromJS)([])),e)):e},[t.CLEAR_REQUEST_BODY_VALUE]:(e,t)=>{var t=t["payload"]["pathMethod"],[t,r]=t,n=e.getIn(["requestData",t,r,"bodyValue"]);return n?c.Map.isMap(n)?e.setIn(["requestData",t,r,"bodyValue"],(0,c.Map)()):e.setIn(["requestData",t,r,"bodyValue"],""):e}}},5065:(e,t,r)=>{"use strict";r.r(t),r.d(t,{selectedServer:()=>i,requestBodyValue:()=>d,shouldRetainRequestBodyValue:()=>m,hasUserEditedBody:()=>g,requestBodyInclusionSetting:()=>y,requestBodyErrors:()=>v,activeExamplesMember:()=>b,requestContentType:()=>w,responseContentType:()=>E,serverVariableValue:()=>x,serverVariables:()=>_,serverEffectiveValue:()=>S,validateBeforeExecute:()=>A,validateShallowRequired:()=>k});var n,t=r(97606),a=r.n(t),t=r(86),s=r.n(t),t=r(28222),l=r.n(t),t=r(11882),u=r.n(t),c=r(43393),p=r(7779),f=r(42458),h=r(90242);function o(n){return function(){for(var e=arguments.length,t=new Array(e),r=0;r{e=e.getSystem().specSelectors.specJson();return(0,p.isOAS3)(e)?n(...t):null}}}const i=o((e,t)=>{return e.getIn(t?[t,"selectedServer"]:["selectedServer"])||""}),d=o((e,t,r)=>e.getIn(["requestData",t,r,"bodyValue"])||null),m=o((e,t,r)=>e.getIn(["requestData",t,r,"retainBodyValue"])||!1),g=(e,i,s)=>r=>{const{oas3Selectors:n,specSelectors:o}=r.getSystem(),a=o.specJson();if((0,p.isOAS3)(a)){let e=!1;const a=n.requestContentType(i,s);let t=n.requestBodyValue(i,s);return c.Map.isMap(t)&&(t=(0,h.Pz)(t.mapEntries(e=>c.Map.isMap(e[1])?[e[0],e[1].get("value")]:e).toJS())),c.List.isList(t)&&(t=(0,h.Pz)(t)),a&&(r=(0,f.getDefaultRequestBodyValue)(o.specResolvedSubtree(["paths",i,s,"requestBody"]),a,n.activeExamplesMember(i,s,"requestBody","requestBody")),e=!!t&&t!==r),e}return null},y=o((e,t,r)=>e.getIn(["requestData",t,r,"bodyInclusion"])||(0,c.Map)()),v=o((e,t,r)=>e.getIn(["requestData",t,r,"errors"])||null),b=o((e,t,r,n,o)=>e.getIn(["examples",t,r,n,o,"activeExample"])||null),w=o((e,t,r)=>e.getIn(["requestData",t,r,"requestContentType"])||null),E=o((e,t,r)=>e.getIn(["requestData",t,r,"responseContentType"])||null),x=o((e,t,r)=>{let n;if("string"!=typeof t){const{server:e,namespace:o}=t;n=o?[o,"serverVariableValues",e,r]:["serverVariableValues",e,r]}else n=["serverVariableValues",t,r];return e.getIn(n)||null}),_=o((e,t)=>{let r;if("string"!=typeof t){const{server:e,namespace:n}=t;r=n?[n,"serverVariableValues",e]:["serverVariableValues",e]}else r=["serverVariableValues",t];return e.getIn(r)||(0,c.OrderedMap)()}),S=o((e,t)=>{var r,n;if("string"!=typeof t){const{server:a,namespace:o}=t;n=a,r=o?e.getIn([o,"serverVariableValues",n]):e.getIn(["serverVariableValues",n])}else r=e.getIn(["serverVariableValues",n=t]);r=r||(0,c.OrderedMap)();let o=n;return a()(r).call(r,(e,t)=>{o=o.replace(new RegExp(`{${t}}`,"g"),e)}),o}),A=(n=(e,t)=>(()=>!!e.getIn(["requestData",...t||[],"bodyValue"]))(),function(){for(var e=arguments.length,r=new Array(e),t=0;t{const t=e.getSystem().specSelectors.specJson();e=[...r][1]||[];return!t.getIn(["paths",...e,"requestBody","required"])||n(...r)}}),k=(e,t)=>{let{oas3RequiredRequestBodyContentType:r,oas3RequestContentType:n,oas3RequestBodyValue:o}=t,a=[];if(!c.Map.isMap(o))return a;let i=[];return s()(t=l()(r.requestContentType)).call(t,e=>{e===n&&(e=r.requestContentType[e],s()(e).call(e,e=>{u()(i).call(i,e)<0&&i.push(e)}))}),s()(i).call(i,e=>{o.getIn([e,"value"])||a.push(e)}),a}},91741:(e,t,r)=>{"use strict";r.r(t),r.d(t,{servers:()=>u,isSwagger2:()=>c});var o,t=r(20573),n=r(43393),a=r(7779);const i=e=>e||(0,n.Map)(),s=(0,t.P1)(i,e=>e.get("json",(0,n.Map)())),l=(0,t.P1)(i,e=>e.get("resolved",(0,n.Map)())),u=(o=(0,t.P1)(e=>{let t=l(e);return t=t.count()<1?s(e):t},e=>e.getIn(["servers"])||(0,n.Map)()),()=>function(e){e=e.getSystem().specSelectors.specJson();if((0,a.isOAS3)(e)){for(var t=arguments.length,r=new Array(1()=>{var e=t.getSystem().specSelectors.specJson();return(0,a.isSwagger2)(e)}},92044:(e,t,r)=>{"use strict";r.r(t),r.d(t,{definitions:()=>f,hasHost:()=>h,securityDefinitions:()=>d,host:()=>m,basePath:()=>g,consumes:()=>y,produces:()=>v,schemes:()=>b,servers:()=>w,isOAS3:()=>E,isSwagger2:()=>x});var t=r(20573),n=r(33881),o=r(43393),a=r(7779);function i(n){return(t,r)=>function(){var e=r.getSystem().specSelectors.specJson();return((0,a.isOAS3)(e)?n:t)(...arguments)}}const s=e=>e||(0,o.Map)(),l=i((0,t.P1)(()=>null)),u=(0,t.P1)(s,e=>e.get("json",(0,o.Map)())),c=(0,t.P1)(s,e=>e.get("resolved",(0,o.Map)())),p=e=>{let t=c(e);return t=t.count()<1?u(e):t},f=i((0,t.P1)(p,e=>{e=e.getIn(["components","schemas"]);return o.Map.isMap(e)?e:(0,o.Map)()})),h=i(e=>p(e).hasIn(["servers",0])),d=i((0,t.P1)(n.specJsonWithResolvedSubtrees,e=>e.getIn(["components","securitySchemes"])||null)),m=l,g=l,y=l,v=l,b=l,w=i((0,t.P1)(p,e=>e.getIn(["servers"])||(0,o.Map)())),E=(e,t)=>()=>{var e=t.getSystem().specSelectors.specJson();return(0,a.isOAS3)(o.Map.isMap(e)?e:(0,o.Map)())},x=(e,t)=>()=>{var e=t.getSystem().specSelectors.specJson();return(0,a.isSwagger2)(o.Map.isMap(e)?e:(0,o.Map)())}},70356:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var c=r(67294);const n=(0,r(7779).OAS3ComponentWrapFactory)(e=>{let{Ori:t,...r}=e;const{schema:n,getComponent:o,errSelectors:a,authorized:i,onAuthChange:s,name:l}=r,u=o("HttpAuth");return"http"===n.get("type")?c.createElement(u,{key:l,schema:n,name:l,errSelectors:a,authorized:i,getComponent:o,onChange:s}):c.createElement(t,r)})},37761:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var t=r(22460),n=r(70356),o=r(69487),a=r(50058),i=r(53499),r=r(90287);const s={Markdown:t.default,AuthItem:n.default,JsonSchema_string:r.default,VersionStamp:o.default,model:i.default,onlineValidatorBadge:a.default}},90287:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var c=r(67294);const n=(0,r(7779).OAS3ComponentWrapFactory)(e=>{let{Ori:t,...r}=e;const{schema:n,getComponent:o,errors:a,onChange:i}=r,s=n&&n.get?n.get("format"):null,l=n&&n.get?n.get("type"):null,u=o("Input");return l&&"string"===l&&s&&("binary"===s||"base64"===s)?c.createElement(u,{type:"file",className:a.length?"invalid":"",title:a.length?a:"",onChange:e=>{i(e.target.files[0])},disabled:t.isDisabled}):c.createElement(t,r)})},22460:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Markdown:()=>o,default:()=>a});var t=r(81607),s=r.n(t),l=r(67294),t=r(94184),u=r.n(t),t=r(89927),n=r(7779),c=r(86019);const p=new t._("commonmark"),o=(p.block.ruler.enable(["table"]),p.set({linkTarget:"_blank"}),t=>{let{source:r,className:n="",getConfigs:o}=t;if("string"!=typeof r)return null;if(r){const t=o()["useUnsafeMarkdown"],a=p.render(r),i=(0,c.s)(a,{useUnsafeMarkdown:t});let e;return"string"==typeof i&&(e=s()(i).call(i)),l.createElement("div",{dangerouslySetInnerHTML:{__html:e},className:u()(n,"renderedMarkdown")})}return null}),a=(o.defaultProps={getConfigs:()=>({useUnsafeMarkdown:!1})},(0,n.OAS3ComponentWrapFactory)(o))},53499:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var t=r(23101),o=r.n(t),a=r(67294),t=r(7779),i=r(53795);class n extends a.Component{render(){let{getConfigs:e,schema:t}=this.props,r=["model-box"],n=null;return!0===t.get("deprecated")&&(r.push("deprecated"),n=a.createElement("span",{className:"model-deprecated-warning"},"Deprecated:")),a.createElement("div",{className:r.join(" ")},n,a.createElement(i.Z,o()({},this.props,{getConfigs:e,depth:1,expandDepth:this.props.expandDepth||0})))}}const s=(0,t.OAS3ComponentWrapFactory)(n)},50058:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});t=r(7779),r=r(5623);const n=(0,t.OAS3ComponentWrapFactory)(r.Z)},69487:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(67294);const o=(0,r(7779).OAS3ComponentWrapFactory)(e=>{var t=e["Ori"];return n.createElement("span",null,n.createElement(t,e),n.createElement("small",{className:"version-stamp"},n.createElement("pre",{className:"version"},"OAS3")))})},28560:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>function(){return{statePlugins:{spec:{wrapActions:{updateSpec:e=>function(){return o=!0,e(...arguments)},updateJsonSpec:(t,r)=>function(){var e=r.getConfigs().onComplete;return o&&"function"==typeof e&&(n()(e,0),o=!1),t(...arguments)}}}}}}});var t=r(87198),n=r.n(t);let o=!1},92135:(e,t,r)=>{"use strict";r.r(t),r.d(t,{requestSnippetGenerator_curl_powershell:()=>u,requestSnippetGenerator_curl_bash:()=>c,requestSnippetGenerator_curl_cmd:()=>p});var t=r(11882),n=r.n(t),t=r(81607),o=r.n(t),t=r(35627),g=r.n(t),t=r(97606),y=r.n(t),t=r(12196),v=r.n(t),t=r(74386),b=r.n(t),t=r(58118),w=r.n(t),E=r(27504),x=r(43393);const _=e=>{return n()(e).call(e,"_**[]")<0?e:o()(e=e.split("_**[]")[0]).call(e)},a=e=>"-d "===e||/^[_\/-]/g.test(e)?e:"'"+e.replace(/'/g,"'\\''")+"'",i=e=>"-d "===(e=e.replace(/\^/g,"^^").replace(/\\"/g,'\\\\"').replace(/"/g,'""').replace(/\n/g,"^\n"))?e.replace(/-d /g,"-d ^\n"):/^[_\/-]/g.test(e)?e:'"'+e+'"',s=e=>"-d "===e?e:/\n/.test(e)?'@"\n'+e.replace(/"/g,'\\"').replace(/`/g,"``").replace(/\$/,"`$")+'\n"@':/^[_\/-]/g.test(e)?e:"'"+e.replace(/"/g,'""').replace(/'/g,"''")+"'";function l(t,n,e){let r=3a+=" "+e,c=t.get("headers");if(a+="curl"+r,t.has("curlOptions")&&i(...t.get("curlOptions")),i("-X",t.get("method")),u(),l(),s(""+t.get("url")),c&&c.size)for(var p of b()(c=t.get("headers")).call(c)){u(),l();var[p,f]=p;s("-H",p+": "+f),o=o||/^content-type$/i.test(p)&&/^multipart\/form-data$/i.test(f)}const h=t.get("body");if(h)if(o&&w()(c=["POST","PUT","PATCH"]).call(c,t.get("method")))for(var[d,m]of h.entrySeq()){d=_(d);u(),l(),s("-F"),m instanceof E.Z.File?i(d+"=@"+m.name+(m.type?";type="+m.type:"")):i(d+"="+m)}else if(h instanceof E.Z.File)u(),l(),s(`--data-binary '@${h.name}'`);else{u(),l(),s("-d ");let e=h;x.Map.isMap(e)?s(function(e){let t=[];for(var[r,n]of e.get("body").entrySeq()){r=_(r);n instanceof E.Z.File?t.push(` "${r}": { - "name": "${n.name}"${n.type?`, - "type": "${n.type}"`:""} - }`):t.push(` "${r}": `+g()(n,null,2).replace(/(\r\n|\r|\n)/g,"\n "))}return`{ -${t.join(",\n")} -}`}(t)):s(e="string"!=typeof e?g()(e):e)}else h||"POST"!==t.get("method")||(u(),l(),s("-d ''"));return a}const u=e=>l(e,s,"`\n",".exe"),c=e=>l(e,a,"\\\n"),p=e=>l(e,i,"^\n")},86575:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(92135),o=r(4669),a=r(84206);const i=()=>({components:{RequestSnippets:a.default},fn:n,statePlugins:{requestSnippets:{selectors:o}}})},84206:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var t=r(14418),y=r.n(t),t=r(25110),v=r.n(t),t=r(86),b=r.n(t),t=r(97606),w=r.n(t),E=r(67294),t=r(27361),x=r.n(t),t=r(23560),_=r.n(t),S=r(74855),A=r(36581);const k={cursor:"pointer",lineHeight:1,display:"inline-flex",backgroundColor:"rgb(250, 250, 250)",paddingBottom:"0",paddingTop:"0",border:"1px solid rgb(51, 51, 51)",borderRadius:"4px 4px 0 0",boxShadow:"none",borderBottom:"none"},C={cursor:"pointer",lineHeight:1,display:"inline-flex",backgroundColor:"rgb(51, 51, 51)",boxShadow:"none",border:"1px solid rgb(51, 51, 51)",paddingBottom:"0",paddingTop:"0",borderRadius:"4px 4px 0 0",marginTop:"-5px",marginRight:"-5px",marginLeft:"-5px",zIndex:"9999",borderBottom:"none"},n=e=>{let{request:t,requestSnippetsSelectors:r,getConfigs:n}=e;const o=_()(n)?n():null,a=!1!==x()(o,"syntaxHighlight")&&x()(o,"syntaxHighlight.activated",!0),i=(0,E.useRef)(null),[s,l]=(0,E.useState)(null==(e=r.getSnippetGenerators())?void 0:e.keySeq().first()),[u,c]=(0,E.useState)(null==r?void 0:r.getDefaultExpanded()),p=((0,E.useEffect)(()=>{},[]),(0,E.useEffect)(()=>{var e;const t=y()(e=v()(i.current.childNodes)).call(e,e=>{return!!e.nodeType&&(null==(e=e.classList)?void 0:e.contains("curl-command"))});return b()(t).call(t,e=>e.addEventListener("mousewheel",m,{passive:!1})),()=>{b()(t).call(t,e=>e.removeEventListener("mousewheel",m))}},[t]),r.getSnippetGenerators()),f=p.get(s),h=f.get("fn")(t),d=()=>{c(!u)},m=e=>{var{target:t,deltaY:r}=e,{scrollHeight:t,offsetHeight:n,scrollTop:o}=t;nd(),style:{cursor:"pointer"}},"Snippets"),E.createElement("button",{onClick:()=>d(),style:{border:"none",background:"none"},title:u?"Collapse operation":"Expand operation"},E.createElement("svg",{className:"arrow",width:"10",height:"10"},E.createElement("use",{href:u?"#large-arrow-down":"#large-arrow",xlinkHref:u?"#large-arrow-down":"#large-arrow"})))),u&&E.createElement("div",{className:"curl-command"},E.createElement("div",{style:{paddingLeft:"15px",paddingRight:"10px",width:"100%",display:"flex"}},w()(e=p.entrySeq()).call(e,e=>{let[t,r]=e;return E.createElement("div",{style:t===s?C:k,className:"btn",key:t,onClick:()=>{var e=t;s!==e&&l(e)}},E.createElement("h4",{style:t===s?{color:"white"}:{}},r.get("title")))})),E.createElement("div",{className:"copy-to-clipboard"},E.createElement(S.CopyToClipboard,{text:h},E.createElement("button",null))),E.createElement("div",null,g)))}},4669:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getGenerators:()=>l,getSnippetGenerators:()=>u,getActiveLanguage:()=>c,getDefaultExpanded:()=>p});var t=r(14418),n=r.n(t),t=r(58118),o=r.n(t),t=r(97606),a=r.n(t),t=r(20573),i=r(43393);const s=e=>e||(0,i.Map)(),l=(0,t.P1)(s,e=>{const r=e.get("languages"),t=e.get("generators",(0,i.Map)());return!r||r.isEmpty()?t:n()(t).call(t,(e,t)=>o()(r).call(r,t))}),u=t=>e=>{let r=e["fn"];return n()(e=a()(e=l(t)).call(e,(e,t)=>{t=t;t=r["requestSnippetGenerator_"+t];return"function"!=typeof t?null:e.set("fn",t)})).call(e,e=>e)},c=(0,t.P1)(s,e=>e.get("activeLanguage")),p=(0,t.P1)(s,e=>e.get("defaultExpanded"))},36195:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ErrorBoundary:()=>a,default:()=>i});var n=r(67294),t=r(56189),o=r(29403);class a extends n.Component{static getDerivedStateFromError(e){return{hasError:!0,error:e}}constructor(){super(...arguments),this.state={hasError:!1,error:null}}componentDidCatch(e,t){this.props.fn.componentDidCatch(e,t)}render(){const{getComponent:e,targetName:t,children:r}=this.props;if(this.state.hasError){const r=e("Fallback");return n.createElement(r,{name:t})}return r}}a.defaultProps={targetName:"this component",getComponent:()=>o.default,fn:{componentDidCatch:t.componentDidCatch},children:null};const i=a},29403:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(67294);const o=e=>{e=e.name;return n.createElement("div",{className:"fallback"},"😱 ",n.createElement("i",null,"Could not render ","t"===e?"this component":e,", see the console."))}},56189:(e,t,r)=>{"use strict";r.r(t),r.d(t,{componentDidCatch:()=>n,withErrorBoundary:()=>o});var t=r(23101),s=r.n(t),l=r(67294);const n=console.error,o=i=>e=>{const{getComponent:t,fn:r}=i(),n=t("ErrorBoundary"),o=r.getDisplayName(e);class a extends l.Component{render(){return l.createElement(n,{targetName:o,getComponent:t,fn:r},l.createElement(e,s()({},this.props,this.context)))}}return a.displayName=`WithErrorBoundary(${o})`,e.prototype&&e.prototype.isReactComponent&&(a.prototype.mapStateToProps=e.prototype.mapStateToProps),a}},27621:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var t=r(47475),o=r.n(t),t=r(7287),a=r.n(t),i=r(36195),s=r(29403),l=r(56189);const n=function(){let{componentList:r=[],fullOverride:n=!1}=0{var e=e["getSystem"],t=n?r:["App","BaseLayout","VersionPragmaFilter","InfoContainer","ServersContainer","SchemesContainer","AuthorizeBtnContainer","FilterContainer","Operations","OperationContainer","parameters","responses","OperationServers","Models","ModelWrapper",...r],t=a()(t,o()(t=Array(t.length)).call(t,(e,t)=>{let r=t["fn"];return r.withErrorBoundary(e)}));return{fn:{componentDidCatch:l.componentDidCatch,withErrorBoundary:(0,l.withErrorBoundary)(e)},components:{ErrorBoundary:i.default,Fallback:s.default},wrapComponents:t}}}},57050:(e,t,r)=>{"use strict";r.r(t),r.d(t,{sampleFromSchemaGeneric:()=>G,inferSchema:()=>l,createXMLExample:()=>u,sampleFromSchema:()=>c,memoizedCreateXMLExample:()=>f,memoizedSampleFromSchema:()=>h});var t=r(11882),P=r.n(t),t=r(86),R=r.n(t),t=r(58309),M=r.n(t),t=r(58118),D=r.n(t),t=r(92039),L=r.n(t),t=r(24278),B=r.n(t),t=r(51679),F=r.n(t),t=r(39022),z=r.n(t),t=r(97606),U=r.n(t),t=r(35627),n=r.n(t),t=r(53479),o=r.n(t),t=r(14419),a=r.n(t),t=r(41609),q=r.n(t),V=r(90242),t=r(60314);const i={string:e=>{if(!e.pattern)return"string";var t=e.pattern;try{return new(a())(t).gen()}catch(t){return"string"}},string_email:()=>"user@example.com","string_date-time":()=>(new Date).toISOString(),string_date:()=>(new Date).toISOString().substring(0,10),string_uuid:()=>"3fa85f64-5717-4562-b3fc-2c963f66afa6",string_hostname:()=>"example.com",string_ipv4:()=>"198.51.100.42",string_ipv6:()=>"2001:0db8:5b96:0000:0000:426f:8e17:642a",number:()=>0,number_float:()=>0,integer:()=>0,boolean:e=>"boolean"!=typeof e.default||e.default},W=e=>{let{type:t,format:r}=e=(0,V.mz)(e),n=i[t+"_"+r]||i[t];return(0,V.Wl)(n)?n(e):"Unknown Type: "+e.type},H=["maxProperties","minProperties"],$=["minItems","maxItems"],J=["minimum","maximum","exclusiveMinimum","exclusiveMaximum"],s=["minLength","maxLength"],K=function(t,r){var e,n=2{void 0===r[e]&&void 0!==t[e]&&(r[e]=t[e])}),void 0!==t.required&&M()(t.required)&&(void 0!==r.required&&r.required.length||(r.required=[]),R()(e=t.required).call(e,e=>{var t;D()(t=r.required).call(t,e)||r.required.push(e)})),t.properties){r.properties||(r.properties={});var o,a,i=(0,V.mz)(t.properties);for(o in i)!Object.prototype.hasOwnProperty.call(i,o)||i[o]&&i[o].deprecated||i[o]&&i[o].readOnly&&!n.includeReadOnly||i[o]&&i[o].writeOnly&&!n.includeWriteOnly||r.properties[o]||(r.properties[o]=i[o],!t.required&&M()(t.required)&&-1!==P()(a=t.required).call(a,o)&&(r.required?r.required.push(o):r.required=[o]))}return t.items&&(r.items||(r.items={}),r.items=K(t.items,r.items,n)),r},G=function(n){let o=1L()(e).call(e,e=>Object.prototype.hasOwnProperty.call(n,e));n&&!f&&(d||m||i(H)?f="object":g||i($)?f="array":i(J)?(f="number",n.type="number"):e||n.enum||(f="string",n.type="string"));const S=t=>{var e,r;if(null!==(null==(e=n)?void 0:e.maxItems)&&void 0!==(null==(e=n)?void 0:e.maxItems)&&(t=B()(t).call(t,0,null==(e=n)?void 0:e.maxItems)),null!==(null==(e=n)?void 0:e.minItems)&&void 0!==(null==(e=n)?void 0:e.minItems)){let e=0;for(;t.length<(null==(r=n)?void 0:r.minItems);)t.push(t[e++%t.length])}return t},A=(0,V.mz)(d);let k,C=0;const O=()=>n&&null!==n.maxProperties&&void 0!==n.maxProperties&&C>=n.maxProperties,j=e=>!n||null===n.maxProperties||void 0===n.maxProperties||!O()&&(!(e=>{var t;return!(n&&n.required&&n.required.length&&D()(t=n.required).call(t,e))})(e)||0{if(!n||!n.required)return 0;let r=0;var e;return a?R()(e=n.required).call(e,e=>r+=void 0===_[e]?0:1):R()(e=n.required).call(e,t=>{var e;return r+=void 0===(null==(e=_[b])?void 0:F()(e).call(e,e=>void 0!==e[t]))?0:1}),n.required.length-r})());if(k=a?function(e){var t=1{if(j(e)){if(Object.prototype.hasOwnProperty.call(n,"discriminator")&&n.discriminator&&Object.prototype.hasOwnProperty.call(n.discriminator,"mapping")&&n.discriminator.mapping&&Object.prototype.hasOwnProperty.call(n,"$$ref")&&n.$$ref&&n.discriminator.propertyName===e){for(var r in n.discriminator.mapping)if(-1!==n.$$ref.search(n.discriminator.mapping[r])){_[e]=r;break}}else _[e]=G(A[e],o,t,a);C++}},e){let e;if(e=(r=void 0!==t?t:void 0!==h?h:n.default,(0,V.XV)(r,"$$ref",e=>"string"==typeof e&&-1G(t,o,e,a)));return p.wrapped?(_[b]=i,q()(c)||_[b].push({_attr:c})):_=i,_}if("object"!==f)return _[b]=q()(c)?e:[{_attr:c},e],_;if("string"==typeof e)return e;for(var I in e)!Object.prototype.hasOwnProperty.call(e,I)||n&&A[I]&&A[I].readOnly&&!y||n&&A[I]&&A[I].writeOnly&&!v||(n&&A[I]&&A[I].xml&&A[I].xml.attribute?c[A[I].xml.name||I]=e[I]:k(I,e[I]));return q()(c)||_[b].push({_attr:c}),_}if("object"===f){for(var N in A)!Object.prototype.hasOwnProperty.call(A,N)||A[N]&&A[N].deprecated||A[N]&&A[N].readOnly&&!y||A[N]&&A[N].writeOnly&&!v||k(N);if(a&&c&&_[b].push({_attr:c}),O())return _;if(!0===m)a?_[b].push({additionalProp:"Anything can be here"}):_.additionalProp1={},C++;else if(m){const t=(0,V.mz)(m),P=G(t,o,void 0,a);if(a&&t.xml&&t.xml.name&&"notagname"!==t.xml.name)_[b].push(P);else{const o=null!==n.minProperties&&void 0!==n.minProperties&&CG(K(g,e,o),o,void 0,a));else if(M()(g.oneOf))e=U()(r=g.oneOf).call(r,e=>G(K(g,e,o),o,void 0,a));else{if(!(!a||a&&p.wrapped))return G(g,o,void 0,a);e=[G(g,o,void 0,a)]}return e=S(e),a&&p.wrapped?(_[b]=e,q()(c)||_[b].push({_attr:c}),_):e}let T;if(n&&M()(n.enum))T=(0,V.AF)(n.enum)[0];else{if(!n)return;if("number"==typeof(T=W(n))){let e=n.minimum,t=(null!=e&&(n.exclusiveMinimum&&e++,T=e),n.maximum);null!=t&&(n.exclusiveMaximum&&t--,T=t)}if("string"==typeof T&&(null!==n.maxLength&&void 0!==n.maxLength&&(T=B()(T).call(T,0,n.maxLength)),null!==n.minLength&&void 0!==n.minLength)){let e=0;for(;T.length((e=e.schema?e.schema:e).properties&&(e.type="object"),e),u=(e,t,r)=>{e=G(e,t,r,!0);if(e)return"string"==typeof e?e:o()(e,{declaration:!0,indent:"\t"})},c=(e,t,r)=>G(e,t,r,!1),p=(e,t,r)=>[e,n()(t),n()(r)],f=(0,t.Z)(u,p),h=(0,t.Z)(c,p)},8883:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>function(){return{fn:n}}});var n=r(57050)},51228:(D,e,t)=>{"use strict";t.r(e),t.d(e,{UPDATE_SPEC:()=>r,UPDATE_URL:()=>a,UPDATE_JSON:()=>i,UPDATE_PARAM:()=>l,UPDATE_EMPTY_PARAM_INCLUSION:()=>u,VALIDATE_PARAMS:()=>c,SET_RESPONSE:()=>p,SET_REQUEST:()=>f,SET_MUTATED_REQUEST:()=>h,LOG_REQUEST:()=>d,CLEAR_RESPONSE:()=>C,CLEAR_REQUEST:()=>O,CLEAR_VALIDATE_PARAMS:()=>j,UPDATE_OPERATION_META_VALUE:()=>I,UPDATE_RESOLVED:()=>N,UPDATE_RESOLVED_SUBTREE:()=>T,SET_SCHEME:()=>P,updateSpec:()=>function(e){t=e;t=(U()(t)?t:"").replace(/\t/g," ");var t;if("string"==typeof e)return{type:r,payload:t}},updateResolved:()=>function(e){return{type:N,payload:e}},updateUrl:()=>function(e){return{type:a,payload:e}},updateJsonSpec:()=>function(e){return{type:i,payload:e}},parseToJson:()=>V,resolveSpec:()=>W,requestResolvedSubtree:()=>$,changeParam:()=>function(e,t,r,n,o){return{type:l,payload:{path:e,value:n,paramName:t,paramIn:r,isXml:o}}},changeParamByIdentity:()=>function(e,t,r,n){return{type:l,payload:{path:e,param:t,value:r,isXml:n}}},updateResolvedSubtree:()=>J,invalidateResolvedSubtreeCache:()=>K,validateParams:()=>G,updateEmptyParamInclusion:()=>Z,clearValidateParams:()=>function(e){return{type:j,payload:{pathMethod:e}}},changeConsumesValue:()=>function(e,t){return{type:I,payload:{path:e,value:t,key:"consumes_value"}}},changeProducesValue:()=>function(e,t){return{type:I,payload:{path:e,value:t,key:"produces_value"}}},setResponse:()=>Y,setRequest:()=>Q,setMutatedRequest:()=>X,logRequest:()=>ee,executeRequest:()=>te,execute:()=>re,clearResponse:()=>function(e,t){return{type:C,payload:{path:e,method:t}}},clearRequest:()=>function(e,t){return{type:O,payload:{path:e,method:t}}},setScheme:()=>function(e,t,r){return{type:P,payload:{scheme:e,path:t,method:r}}}});var e=t(58309),g=t.n(e),e=t(97606),y=t.n(e),e=t(96718),v=t.n(e),e=t(24282),o=t.n(e),e=t(2250),b=t.n(e),e=t(6226),w=t.n(e),e=t(14418),E=t.n(e),e=t(3665),x=t.n(e),e=t(11882),n=t.n(e),e=t(86),L=t.n(e),e=t(28222),B=t.n(e),e=t(76986),m=t.n(e),e=t(70586),_=t.n(e),s=t(1272),S=t(43393),e=t(84564),F=t.n(e),z=t(7710),e=t(47037),U=t.n(e),e=t(23279),e=t.n(e),q=t(36968),A=t.n(q),k=t(90242);const r="spec_update_spec",a="spec_update_url",i="spec_update_json",l="spec_update_param",u="spec_update_empty_param_inclusion",c="spec_validate_param",p="spec_set_response",f="spec_set_request",h="spec_set_mutated_request",d="spec_log_request",C="spec_clear_response",O="spec_clear_request",j="spec_clear_validate_param",I="spec_update_operation_meta_value",N="spec_update_resolved",T="spec_update_resolved_subtree",P="set_scheme";const V=i=>e=>{let{specActions:t,specSelectors:r,errActions:n}=e,o=r["specStr"],a=null;try{i=i||o(),n.clear({source:"parser"}),a=s.ZP.load(i,{schema:s.A8})}catch(e){return console.error(e),n.newSpecErr({source:"parser",level:"error",message:e.reason,line:e.mark&&e.mark.line?e.mark.line+1:void 0})}return a&&"object"==typeof a?t.updateJsonSpec(a):{}};let R=!1;const W=(h,d)=>e=>{let{specActions:r,specSelectors:t,errActions:n,fn:{fetch:o,resolve:a,AST:i={}},getConfigs:s}=e;R||(console.warn("specActions.resolveSpec is deprecated since v3.10.0 and will be removed in v4.0.0; use requestResolvedSubtree instead!"),R=!0);var{modelPropertyMacro:e,parameterMacro:l,requestInterceptor:u,responseInterceptor:c}=s();void 0===h&&(h=t.specJson()),void 0===d&&(d=t.url());let p=i.getLineNumberForPath||(()=>{}),f=t.specStr();return a({fetch:o,spec:h,baseDoc:d,modelPropertyMacro:e,parameterMacro:l,requestInterceptor:u,responseInterceptor:c}).then(e=>{var{spec:e,errors:t}=e;return n.clear({type:"thrown"}),g()(t)&&0(console.error(e),e.line=e.fullPath?p(f,e.fullPath):null,e.path=e.fullPath?e.fullPath.join("."):null,e.level="error",e.type="thrown",e.source="resolver",v()(e,"message",{enumerable:!0,value:e.message}),e)),n.newThrownErrBatch(t)),r.updateResolved(e)})};let M=[];const H=e()(async()=>{const e=M.system;if(!e)return void console.error("debResolveSubtrees: don't have a system to operate on, aborting.");const{errActions:i,errSelectors:s,fn:{resolveSubtree:l,fetch:u,AST:t={}},specSelectors:c,specActions:r}=e;if(l){let a=t.getLineNumberForPath||(()=>{});const p=c.specStr(),{modelPropertyMacro:f,parameterMacro:h,requestInterceptor:d,responseInterceptor:m}=e.getConfigs();try{var n=await o()(M).call(M,async(e,r)=>{var{resultMap:e,specWithCurrentSubtrees:t}=await e,{errors:n,spec:o}=await l(t,r,{baseDoc:c.url(),modelPropertyMacro:f,parameterMacro:h,requestInterceptor:d,responseInterceptor:m});return s.allErrors().size&&i.clearBy(e=>{return"thrown"!==e.get("type")||"resolver"!==e.get("source")||!b()(e=e.get("fullPath")).call(e,(e,t)=>e===r[t]||void 0===r[t])}),g()(n)&&0(e.line=e.fullPath?a(p,e.fullPath):null,e.path=e.fullPath?e.fullPath.join("."):null,e.level="error",e.type="thrown",e.source="resolver",v()(e,"message",{enumerable:!0,value:e.message}),e)),i.newThrownErrBatch(n)),o&&c.isOAS3()&&"components"===r[0]&&"securitySchemes"===r[1]&&await w().all(y()(n=E()(n=x()(o)).call(n,e=>"openIdConnect"===e.type)).call(n,async e=>{var t={url:e.openIdConnectUrl,requestInterceptor:d,responseInterceptor:m};try{var r=await u(t);r instanceof Error||400<=r.status?console.error(r.statusText+" "+t.url):e.openIdConnectData=JSON.parse(r.text)}catch(e){console.error(e)}})),A()(e,r,o),A()(t,r,o),{resultMap:e,specWithCurrentSubtrees:t}},w().resolve({resultMap:(c.specResolvedSubtree([])||(0,S.Map)()).toJS(),specWithCurrentSubtrees:c.specJson().toJS()}));delete M.system,M=[]}catch(e){console.error(e)}r.updateResolvedSubtree([],n.resultMap)}else console.error("Error: Swagger-Client did not provide a `resolveSubtree` method, doing nothing.")},35),$=r=>e=>{var t;-1e.join("@@"))).call(t,r.join("@@"))||(M.push(r),M.system=e,H())};const J=(e,t)=>({type:T,payload:{path:e,value:t}}),K=()=>({type:T,payload:{path:[],value:(0,S.Map)()}}),G=(e,t)=>({type:c,payload:{pathMethod:e,isOAS3:t}}),Z=(e,t,r,n)=>({type:u,payload:{pathMethod:e,paramName:t,paramIn:r,includeEmptyValue:n}});const Y=(e,t,r)=>({payload:{path:e,method:t,res:r},type:p}),Q=(e,t,r)=>({payload:{path:e,method:t,req:r},type:f}),X=(e,t,r)=>({payload:{path:e,method:t,req:r},type:h}),ee=e=>({payload:e,type:d}),te=d=>e=>{let{fn:t,specActions:r,specSelectors:n,getConfigs:o,oas3Selectors:a}=e,{pathName:i,method:s,operation:l}=d,{requestInterceptor:u,responseInterceptor:c}=o(),p=l.toJS();var f;if(l&&l.get("parameters")&&L()(e=E()(e=l.get("parameters")).call(e,e=>e&&!0===e.get("allowEmptyValue"))).call(e,e=>{var t;n.parameterInclusionSettingFor([i,s],e.get("name"),e.get("in"))&&(d.parameters=d.parameters||{},(t=(0,k.cz)(e,d.parameters))&&0!==t.size||(d.parameters[e.get("name")]=""))}),d.contextUrl=F()(n.url()).toString(),p&&p.operationId?d.operationId=p.operationId:p&&i&&s&&(d.operationId=t.opId(p,i,s)),n.isOAS3()){const e=i+":"+s,t=(d.server=a.selectedServer(e)||a.selectedServer(),a.serverVariables({server:d.server,namespace:e}).toJS()),r=a.serverVariables({server:d.server}).toJS(),n=(d.serverVariables=B()(t).length?t:r,d.requestContentType=a.requestContentType(i,s),d.responseContentType=a.responseContentType(i,s)||"*/*",a.requestBodyValue(i,s)),o=a.requestBodyInclusionSetting(i,s);n&&n.toJS?d.requestBody=E()(f=y()(n).call(n,e=>S.Map.isMap(e)?e.get("value"):e)).call(f,(e,t)=>(g()(e)?0!==e.length:!(0,k.O2)(e))||o.get(t)).toJS():d.requestBody=n}e=m()({},d),e=t.buildRequest(e);r.setRequest(d.pathName,d.method,e),d.requestInterceptor=async e=>{var e=await u.apply(void 0,[e]),t=m()({},e);return r.setMutatedRequest(d.pathName,d.method,t),e},d.responseInterceptor=c;const h=_()();return t.execute(d).then(e=>{e.duration=_()()-h,r.setResponse(d.pathName,d.method,e)}).catch(e=>{"Failed to fetch"===e.message&&(e.name="",e.message='**Failed to fetch.** \n**Possible Reasons:** \n - CORS \n - Network Failure \n - URL scheme must be "http" or "https" for CORS request.'),r.setResponse(d.pathName,d.method,{error:!0,err:(0,z.serializeError)(e)})})},re=function(){let{path:c,method:p,...f}=0{let{fn:{fetch:t},specSelectors:r,specActions:n}=e,o=r.specJsonWithResolvedSubtrees().toJS(),a=r.operationScheme(c,p),{requestContentType:i,responseContentType:s}=r.contentTypeValues([c,p]).toJS(),l=/xml/i.test(i),u=r.parameterValues([c,p],l).toJS();return n.executeRequest({...f,fetch:t,spec:o,pathName:c,method:p,parameters:u,requestContentType:i,scheme:a,responseContentType:s})}}},37038:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>function(){return{statePlugins:{spec:{wrapActions:i,reducers:n.default,actions:o,selectors:a}}}}});var n=r(20032),o=r(51228),a=r(33881),i=r(77508)},20032:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var t=r(24282),n=r.n(t),t=r(97606),o=r.n(t),t=r(76986),s=r.n(t),l=r(43393),u=r(90242),c=r(27504),p=r(33881),t=r(51228);const a={[t.UPDATE_SPEC]:(e,t)=>"string"==typeof t.payload?e.set("spec",t.payload):e,[t.UPDATE_URL]:(e,t)=>e.set("url",t.payload+""),[t.UPDATE_JSON]:(e,t)=>e.set("json",(0,u.oG)(t.payload)),[t.UPDATE_RESOLVED]:(e,t)=>e.setIn(["resolved"],(0,u.oG)(t.payload)),[t.UPDATE_RESOLVED_SUBTREE]:(e,t)=>{var{value:t,path:r}=t.payload;return e.setIn(["resolvedSubtrees",...r],(0,u.oG)(t))},[t.UPDATE_PARAM]:(e,t)=>{var t=t["payload"],{path:t,paramName:r,paramIn:n,param:o,value:a,isXml:i}=t,o=o?(0,u.V9)(o):n+"."+r,n=i?"value_xml":"value";return e.setIn(["meta","paths",...t,"parameters",o,n],a)},[t.UPDATE_EMPTY_PARAM_INCLUSION]:(e,t)=>{var t=t["payload"],{pathMethod:t,paramName:r,paramIn:n,includeEmptyValue:o}=t;if(!r||!n)return console.warn("Warning: UPDATE_EMPTY_PARAM_INCLUSION could not generate a paramKey."),e;n=n+"."+r;return e.setIn(["meta","paths",...t,"parameter_inclusions",n],o)},[t.VALIDATE_PARAMS]:(o,e)=>{let{pathMethod:a,isOAS3:i}=e["payload"];const r=(0,p.specJsonWithResolvedSubtrees)(o).getIn(["paths",...a]),s=(0,p.parameterValues)(o,a).toJS();return o.updateIn(["meta","paths",...a,"parameters"],(0,l.fromJS)({}),e=>{var t;return n()(t=r.get("parameters",(0,l.List)())).call(t,(e,t)=>{var r=(0,u.cz)(t,s),n=(0,p.parameterInclusionSettingFor)(o,a,t.get("name"),t.get("in")),r=(0,u.Ik)(t,r,{bypassRequiredCheck:n,isOAS3:i});return e.setIn([(0,u.V9)(t),"errors"],(0,l.fromJS)(r))},e)})},[t.CLEAR_VALIDATE_PARAMS]:(e,t)=>{var t=t["payload"]["pathMethod"];return e.updateIn(["meta","paths",...t,"parameters"],(0,l.fromJS)([]),e=>o()(e).call(e,e=>e.set("errors",(0,l.fromJS)([]))))},[t.SET_RESPONSE]:(e,t)=>{let r,{res:n,path:o,method:a}=t["payload"],i=((r=n.error?s()({error:!0,name:n.err.name,message:n.err.message,statusCode:n.err.statusCode},n.err.response):n).headers=r.headers||{},e.setIn(["responses",o,a],(0,u.oG)(r)));return i=c.Z.Blob&&n.data instanceof c.Z.Blob?i.setIn(["responses",o,a,"text"],n.data):i},[t.SET_REQUEST]:(e,t)=>{var{req:t,path:r,method:n}=t["payload"];return e.setIn(["requests",r,n],(0,u.oG)(t))},[t.SET_MUTATED_REQUEST]:(e,t)=>{var{req:t,path:r,method:n}=t["payload"];return e.setIn(["mutatedRequests",r,n],(0,u.oG)(t))},[t.UPDATE_OPERATION_META_VALUE]:(e,t)=>{var{path:t,value:r,key:n}=t["payload"],o=["paths",...t],t=["meta","paths",...t];return e.getIn(["json",...o])||e.getIn(["resolved",...o])||e.getIn(["resolvedSubtrees",...o])?e.setIn([...t,n],(0,l.fromJS)(r)):e},[t.CLEAR_RESPONSE]:(e,t)=>{var{path:t,method:r}=t["payload"];return e.deleteIn(["responses",t,r])},[t.CLEAR_REQUEST]:(e,t)=>{var{path:t,method:r}=t["payload"];return e.deleteIn(["requests",t,r])},[t.SET_SCHEME]:(e,t)=>{var{scheme:t,path:r,method:n}=t["payload"];return r&&n?e.setIn(["scheme",r,n],t):r||n?void 0:e.setIn(["scheme","_defaultScheme"],t)}}},33881:(D,e,t)=>{"use strict";t.r(e),t.d(e,{lastError:()=>z,url:()=>U,specStr:()=>q,specSource:()=>V,specJson:()=>h,specResolved:()=>W,specResolvedSubtree:()=>H,specJsonWithResolvedSubtrees:()=>m,spec:()=>g,isOAS3:()=>$,info:()=>y,externalDocs:()=>J,version:()=>v,semver:()=>K,paths:()=>b,operations:()=>w,consumes:()=>E,produces:()=>x,security:()=>G,securityDefinitions:()=>Z,findDefinition:()=>Y,definitions:()=>Q,basePath:()=>X,host:()=>ee,schemes:()=>te,operationsWithRootInherited:()=>_,tags:()=>S,tagDetails:()=>A,operationsWithTags:()=>k,taggedOperations:()=>re,responses:()=>C,requests:()=>O,mutatedRequests:()=>j,responseFor:()=>ne,requestFor:()=>oe,mutatedRequestFor:()=>ae,allowTryItOutFor:()=>ie,parameterWithMetaByIdentity:()=>I,parameterInclusionSettingFor:()=>se,parameterWithMeta:()=>le,operationWithMeta:()=>N,getParameter:()=>function(e,t,r,n){t=t||[];e=e.getIn(["meta","paths",...t,"parameters"],(0,c.fromJS)([]));return i()(e).call(e,e=>c.Map.isMap(e)&&e.get("name")===r&&e.get("in")===n)||(0,c.Map)()},hasHost:()=>ue,parameterValues:()=>function(e,t,n){t=t||[];e=N(e,...t).get("parameters",(0,c.List)());return l()(e).call(e,(e,t)=>{var r=n&&"body"===t.get("in")?t.get("value_xml"):t.get("value");return e.set((0,u.V9)(t,{allowHashes:!1}),r)},(0,c.fromJS)({}))},parametersIncludeIn:()=>function(e){let t=1c.Map.isMap(e)&&e.get("in")===t)},parametersIncludeType:()=>T,contentTypeValues:()=>function(e,t){t=t||[];let r=m(e).getIn(["paths",...t],(0,c.fromJS)({})),n=e.getIn(["meta","paths",...t],(0,c.fromJS)({})),o=P(e,t);e=r.get("parameters")||new c.List,t=n.get("consumes_value")?n.get("consumes_value"):T(e,"file")?"multipart/form-data":T(e,"formData")?"application/x-www-form-urlencoded":void 0;return(0,c.fromJS)({requestContentType:t,responseContentType:o})},currentProducesFor:()=>P,producesOptionsFor:()=>function(e,t){t=t||[];const r=m(e),n=r.getIn(["paths",...t],null);var o;if(null!==n)return[e]=t,t=n.get("produces",null),e=r.getIn(["paths",e,"produces"],null),o=r.getIn(["produces"],null),t||e||o},consumesOptionsFor:()=>function(e,t){t=t||[];const r=m(e),n=r.getIn(["paths",...t],null);var o;if(null!==n)return[e]=t,t=n.get("consumes",null),e=r.getIn(["paths",e,"consumes"],null),o=r.getIn(["consumes"],null),t||e||o},operationScheme:()=>R,canExecuteScheme:()=>ce,validationErrors:()=>M,validateBeforeExecute:()=>pe,getOAS3RequiredRequestBodyContentType:()=>fe,isMediaTypeSchemaPropertiesEqual:()=>he});var e=t(24278),L=t.n(e),e=t(86),o=t.n(e),e=t(11882),a=t.n(e),e=t(97606),s=t.n(e),e=t(14418),r=t.n(e),e=t(51679),i=t.n(e),e=t(24282),l=t.n(e),e=t(2578),B=t.n(e),e=t(92039),n=t.n(e),e=t(58309),F=t.n(e),e=t(20573),u=t(90242),c=t(43393);const p=["get","put","post","delete","options","head","patch","trace"],f=e=>e||(0,c.Map)(),z=(0,e.P1)(f,e=>e.get("lastError")),U=(0,e.P1)(f,e=>e.get("url")),q=(0,e.P1)(f,e=>e.get("spec")||""),V=(0,e.P1)(f,e=>e.get("specSource")||"not-editor"),h=(0,e.P1)(f,e=>e.get("json",(0,c.Map)())),W=(0,e.P1)(f,e=>e.get("resolved",(0,c.Map)())),H=(e,t)=>e.getIn(["resolvedSubtrees",...t],void 0),d=(e,t)=>!c.Map.isMap(e)||!c.Map.isMap(t)||t.get("$$ref")?t:(0,c.OrderedMap)().mergeWith(d,e,t),m=(0,e.P1)(f,e=>(0,c.OrderedMap)().mergeWith(d,e.get("json"),e.get("resolvedSubtrees"))),g=e=>h(e),$=(0,e.P1)(g,()=>!1),y=(0,e.P1)(g,e=>de(e&&e.get("info"))),J=(0,e.P1)(g,e=>de(e&&e.get("externalDocs"))),v=(0,e.P1)(y,e=>e&&e.get("version")),K=(0,e.P1)(v,e=>{return L()(e=/v?([0-9]*)\.([0-9]*)\.([0-9]*)/i.exec(e)).call(e,1)}),b=(0,e.P1)(m,e=>e.get("paths")),w=(0,e.P1)(b,e=>{if(!e||e.size<1)return(0,c.List)();let n=(0,c.List)();return e&&o()(e)?(o()(e).call(e,(e,r)=>{if(!e||!o()(e))return{};o()(e).call(e,(e,t)=>{a()(p).call(p,t)<0||(n=n.push((0,c.fromJS)({path:r,method:t,operation:e,id:t+"-"+r})))})}),n):(0,c.List)()}),E=(0,e.P1)(g,e=>(0,c.Set)(e.get("consumes"))),x=(0,e.P1)(g,e=>(0,c.Set)(e.get("produces"))),G=(0,e.P1)(g,e=>e.get("security",(0,c.List)())),Z=(0,e.P1)(g,e=>e.get("securityDefinitions")),Y=(e,t)=>{var r=e.getIn(["resolvedSubtrees","definitions",t],null),e=e.getIn(["json","definitions",t],null);return r||e||null},Q=(0,e.P1)(g,e=>{e=e.get("definitions");return c.Map.isMap(e)?e:(0,c.Map)()}),X=(0,e.P1)(g,e=>e.get("basePath")),ee=(0,e.P1)(g,e=>e.get("host")),te=(0,e.P1)(g,e=>e.get("schemes",(0,c.Map)())),_=(0,e.P1)(w,E,x,(e,t,r)=>s()(e).call(e,e=>e.update("operation",e=>e?c.Map.isMap(e)?e.withMutations(e=>(e.get("consumes")||e.update("consumes",e=>(0,c.Set)(e).merge(t)),e.get("produces")||e.update("produces",e=>(0,c.Set)(e).merge(r)),e)):void 0:(0,c.Map)()))),S=(0,e.P1)(g,e=>{e=e.get("tags",(0,c.List)());return c.List.isList(e)?r()(e).call(e,e=>c.Map.isMap(e)):(0,c.List)()}),A=(e,t)=>{var e=S(e)||(0,c.List)();return i()(e=r()(e).call(e,c.Map.isMap)).call(e,e=>e.get("name")===t,(0,c.Map)())},k=(0,e.P1)(_,S,(e,t)=>l()(e).call(e,(e,r)=>{let t=(0,c.Set)(r.getIn(["operation","tags"]));return t.count()<1?e.update("default",(0,c.List)(),e=>e.push(r)):l()(t).call(t,(e,t)=>e.update(t,(0,c.List)(),e=>e.push(r)),e)},l()(t).call(t,(e,t)=>e.set(t.get("name"),(0,c.List)()),(0,c.OrderedMap)()))),re=a=>e=>{let t=e["getConfigs"],{tagsSorter:n,operationsSorter:o}=t();return s()(e=k(a).sortBy((e,t)=>t,(e,t)=>{let r="function"==typeof n?n:u.wh.tagsSorter[n];return r?r(e,t):null})).call(e,(e,t)=>{var r="function"==typeof o?o:u.wh.operationsSorter[o],r=r?B()(e).call(e,r):e;return(0,c.Map)({tagDetails:A(a,t),operations:r})})},C=(0,e.P1)(f,e=>e.get("responses",(0,c.Map)())),O=(0,e.P1)(f,e=>e.get("requests",(0,c.Map)())),j=(0,e.P1)(f,e=>e.get("mutatedRequests",(0,c.Map)())),ne=(e,t,r)=>C(e).getIn([t,r],null),oe=(e,t,r)=>O(e).getIn([t,r],null),ae=(e,t,r)=>j(e).getIn([t,r],null),ie=()=>!0,I=(e,t,n)=>{const r=m(e).getIn(["paths",...t,"parameters"],(0,c.OrderedMap)()),o=e.getIn(["meta","paths",...t,"parameters"],(0,c.OrderedMap)()),a=s()(r).call(r,e=>{var t=o.get(n.get("in")+"."+n.get("name")),r=o.get(`${n.get("in")}.${n.get("name")}.hash-`+n.hashCode());return(0,c.OrderedMap)().merge(e,t,r)});return i()(a).call(a,e=>e.get("in")===n.get("in")&&e.get("name")===n.get("name"),(0,c.OrderedMap)())},se=(e,t,r,n)=>{n=n+"."+r;return e.getIn(["meta","paths",...t,"parameter_inclusions",n],!1)},le=(e,t,r,n)=>{var o=m(e).getIn(["paths",...t,"parameters"],(0,c.OrderedMap)()),o=i()(o).call(o,e=>e.get("in")===n&&e.get("name")===r,(0,c.OrderedMap)());return I(e,t,o)},N=(t,r,n)=>{var e;const o=m(t).getIn(["paths",r,n],(0,c.OrderedMap)()),a=t.getIn(["meta","paths",r,n],(0,c.OrderedMap)()),i=s()(e=o.get("parameters",(0,c.List)())).call(e,e=>I(t,[r,n],e));return(0,c.OrderedMap)().merge(o,a).set("parameters",i)};const ue=(0,e.P1)(g,e=>{e=e.get("host");return"string"==typeof e&&0c.Map.isMap(e)&&e.get("type")===t)}function P(e,t){t=t||[];const r=m(e).getIn(["paths",...t],null);if(null!==r)return e=e.getIn(["meta","paths",...t,"produces_value"],null),t=r.getIn(["produces",0],null),e||t||"application/json"}const R=(e,t,r)=>{var n=e.get("url").match(/^([a-z][a-z0-9+\-.]*):/),n=F()(n)?n[1]:null;return e.getIn(["scheme",t,r])||e.getIn(["scheme","_defaultScheme"])||n||""},ce=(e,t,r)=>{var n;return-1{e=e.getIn(["meta","paths",...t=t||[],"parameters"],(0,c.fromJS)([]));const r=[];return o()(e).call(e,e=>{let t=e.get("errors");t&&t.count()&&o()(t).call(t,e=>r.push(e))}),r},pe=(e,t)=>0===M(e,t).length,fe=(e,t)=>{let r={requestBody:!1,requestContentType:{}},n=e.getIn(["resolvedSubtrees","paths",...t,"requestBody"],(0,c.fromJS)([]));return n.size<1||(n.getIn(["required"])&&(r.requestBody=n.getIn(["required"])),o()(e=n.getIn(["content"]).entrySeq()).call(e,e=>{var t=e[0];e[1].getIn(["schema","required"])&&(e=e[1].getIn(["schema","required"]).toJS(),r.requestContentType[t]=e)})),r},he=(e,t,r,n)=>{if((r||n)&&r===n)return!0;let o=e.getIn(["resolvedSubtrees","paths",...t,"requestBody","content"],(0,c.fromJS)([]));if(o.size<2||!r||!n)return!1;let a=o.getIn([r,"schema","properties"],(0,c.fromJS)([])),i=o.getIn([n,"schema","properties"],(0,c.fromJS)([]));return!!a.equals(i)};function de(e){return c.Map.isMap(e)?e:new c.Map}},77508:(e,t,r)=>{"use strict";r.r(t),r.d(t,{updateSpec:()=>n,updateJsonSpec:()=>o,executeRequest:()=>a,validateParams:()=>i});var t=r(28222),l=r.n(t),t=r(86),u=r.n(t),t=r(27361),c=r.n(t);const n=(e,t)=>{let r=t["specActions"];return function(){e(...arguments),r.parseToJson(...arguments)}},o=(i,e)=>{let s=e["specActions"];return function(){for(var e=arguments.length,t=new Array(e),r=0;r{c()(o,[e]).$ref&&s.requestResolvedSubtree(["paths",e])}),s.requestResolvedSubtree(["components","securitySchemes"])}},a=(t,e)=>{let r=e["specActions"];return e=>(r.logRequest(e),t(e))},i=(t,e)=>{let r=e["specSelectors"];return e=>t(e,r.isOAS3())}},34852:(e,t,r)=>{"use strict";r.r(t),r.d(t,{loaded:()=>n});const n=(t,r)=>function(){t(...arguments);var e=r.getConfigs().withCredentials;void 0!==e&&(r.fn.fetch.withCredentials="string"==typeof e?"true"===e:!!e)}},48792:(A,e,t)=>{"use strict";t.r(e),t.d(e,{default:()=>function(e){let{configs:t,getConfigs:i}=e;return{fn:{fetch:(r=te,n=t.preFetch,o=t.postFetch||function(e){return e},n=n||function(e){return e},function(e){return ee.mergeInQueryOrForm(e="string"==typeof e?{url:e}:e),e=n(e),o(r(e))}),buildRequest:Vt,execute:qt,resolve:jt,resolveSubtree:function(e,t,r){if(void 0===r){const e=i();r={modelPropertyMacro:e.modelPropertyMacro,parameterMacro:e.parameterMacro,requestInterceptor:e.requestInterceptor,responseInterceptor:e.responseInterceptor}}for(var n=arguments.length,o=new Array(3m,_areEquals:()=>b,applyOperation:()=>l,applyPatch:()=>a,applyReducer:()=>function(e,t,r){var n=l(e,t);if(!1===n.test)throw new m("Test operation failed","TEST_OPERATION_FAILED",r,t,e);return n.newDocument},deepClone:()=>Ae,getValueByPointer:()=>v,validate:()=>Ie,validator:()=>je}),{}),W=(t.r(r),t.d(r,{compare:()=>function(e,t,r){var n=[];return Me(e,t,n,"",r=void 0!==r&&r),n},generate:()=>Re,observe:()=>function(e,t){var r,n=Ne.get(e);{var o;n?(o=n.observers.get(t),r=o&&o.observer):(n=new Te(e),Ne.set(e,n))}if(r)return r;{var a,i;r={},n.value=d(e),t&&(r.callback=t,r.next=null,a=function(){Re(r)},i=function(){clearTimeout(r.next),r.next=setTimeout(a)},"undefined"!=typeof window&&(window.addEventListener("mouseup",i),window.addEventListener("keyup",i),window.addEventListener("mousedown",i),window.addEventListener("keydown",i),window.addEventListener("change",i)))}return r.patches=[],r.object=e,r.unobserve=function(){var e;Re(r),clearTimeout(r.next),e=r,n.observers.delete(e.callback),"undefined"!=typeof window&&(window.removeEventListener("mouseup",i),window.removeEventListener("keyup",i),window.removeEventListener("mousedown",i),window.removeEventListener("keydown",i),window.removeEventListener("change",i))},n.observers.set(t,new Pe(t,r)),r},unobserve:()=>function(e,t){t.unobserve()}}),{}),n=(t.r(W),t.d(W,{cookie:()=>function(e){var t=e.req,r=e.parameter,e=e.value,n=(t.headers=t.headers||{},P()(e));{var o,a;r.content?(o=D()(r.content)[0],t.headers.Cookie=L()(a="".concat(r.name,"=")).call(a,Mt(e,o))):"undefined"!==n&&(a="object"===n&&!Array.isArray(e)&&r.explode?"":"".concat(r.name,"="),t.headers.Cookie=a+Q({key:r.name,value:e,escape:!1,style:r.style||"form",explode:void 0!==r.explode&&r.explode}))}},header:()=>function(e){var t=e.req,r=e.parameter,e=e.value;{var n;t.headers=t.headers||{},-1function(e){var t=e.req,r=e.value,e=e.parameter,n=e.name,o=e.style,a=e.explode,i=e.content;i?(i=D()(i)[0],t.url=t.url.split("{".concat(n,"}")).join(y(Mt(r,i),{escape:!0}))):(i=Q({key:e.name,value:r,style:o||"simple",explode:a||!1,escape:!0}),t.url=t.url.split("{".concat(n,"}")).join(i))},query:()=>function(e){var t=e.req,r=e.value,e=e.parameter;{var n,o,a;t.query=t.query||{},e.content?(a=D()(e.content)[0],t.query[e.name]=Mt(r,a)):(r=0===(r=!1===r?"false":r)?"0":r)?(a=e.style,n=e.explode,o=e.allowReserved,t.query[e.name]={value:r,serializationOption:{style:a,explode:n,allowReserved:o}}):e.allowEmptyValue&&void 0!==r&&(a=e.name,t.query[a]=t.query[a]||{},t.query[a].allowEmptyValue=!0)}}}),t(80093)),k=t.n(n),n=t(30222),w=t.n(n),n=t(36594),E=t.n(n),n=t(20474),P=t.n(n),n=t(67375),R=t.n(n),n=t(58118),C=t.n(n),n=t(74386),O=t.n(n),n=t(25110),j=t.n(n),n=t(35627),I=t.n(n),n=t(97606),M=t.n(n),n=t(28222),D=t.n(n),n=t(39022),L=t.n(n),n=t(2018),H=t.n(n),n=t(14418),B=t.n(n),n=(t(31905),t(80129)),N=t.n(n),T=t(1272);const $="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:window,{FormData:J,Blob:K,File:G}=$;var n=t(15687),c=t.n(n),n=t(24278),F=t.n(n),Z=function(e){return-1<":/?#[]@!$&'()*+,;=".indexOf(e)},Y=function(e){return/^[a-z0-9\-._~]+$/i.test(e)};function y(e,t,r){var n=(1l.length)throw new m("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",a,t,e);if(!1===(i=ke[t.op].call(t,l,f,e)).test)throw new m("Test operation failed","TEST_OPERATION_FAILED",a,t,e);return i}}else if(c<=u){if(!1===(i=g[t.op].call(t,l,f,e)).test)throw new m("Test operation failed","TEST_OPERATION_FAILED",a,t,e);return i}if(l=l[f],r&&u","#")).call(s,e),s=a.replace(/allOf\/\d+\/?/g,"");if(t===n.contextTree.get([]).baseDoc&&bt(s,e))return 1;var l="";return r.some(function(e){var t;return l=L()(t="".concat(l,"/")).call(t,vt(e)),o[l]&&o[l].some(function(e){return bt(e,i)||bt(i,e)})})||(o[s]=L()(a=o[s]||[]).call(a,i),0)}(m,p,u,n)&&!l.useCircularStructures)return h=ot(t,p),t===h?null:x.replace(r,h);if(null==p?(d=gt(m),void 0===(f=n.get(d))&&(f=new _("Could not resolve reference: ".concat(t),{pointer:m,$ref:t,baseDoc:c,fullPath:r}))):f=null!=(f=ht(p,m)).__value?f.__value:f.catch(function(e){throw pt(e,{pointer:m,$ref:t,baseDoc:c,fullPath:r})}),f instanceof Error)return[x.remove(r),f];h=ot(t,p),d=x.replace(u,f,{$$ref:h});if(p&&p!==c)return[d,x.context(u,{baseDoc:p})];try{if(o=n.state,i=[o],(a=d).path.reduce(function(e,t){return i.push(e[t]),e[t]},o),!function t(r){return x.isObject(r)&&(0<=i.indexOf(r)||D()(r).some(function(e){return t(r[e])}))}(a.value)||l.useCircularStructures)return d}catch(t){return null}}}},ut=u()(e,{docCache:h,absoluteify:ct,clearCache:function(e){void 0!==e?delete h[e]:D()(h).forEach(function(e){delete h[e]})},JSONRefError:_,wrapError:pt,getDoc:dt,split:ft,extractFromDoc:ht,fetchJSON:function(e){return fetch(e,{headers:{Accept:at},loadSpec:!0}).then(function(e){return e.text()}).then(function(e){return T.ZP.load(e)})},extract:mt,jsonPointerToArray:gt,unescapeJsonPointerToken:yt}),r=ut;function ct(e,t){if(it.test(e))return e;if(t)return U.resolve(t,e);throw new _(L()(e="Tried to resolve a relative URL, without having a basePath. path: '".concat(e,"' basePath: '")).call(e,t,"'"))}function pt(e,t){var r=e&&e.response&&e.response.body?L()(r="".concat(e.response.body.code," ")).call(r,e.response.body.message):e.message;return new _("Could not resolve reference: ".concat(r),t,e)}function ft(e){return(e+"").split("#")}function ht(e,t){var r=h[e];if(r&&!x.isPromise(r))try{var n=mt(t,r);return u()(p().resolve(n),{__value:n})}catch(e){return p().reject(e)}return dt(e).then(function(e){return mt(t,e)})}function dt(t){var e=h[t];return e?x.isPromise(e)?e:p().resolve(e):(h[t]=ut.fetchJSON(t).then(function(e){return h[t]=e}),h[t])}function mt(e,t){var r=gt(e);if(r.length<1)return t;t=x.getIn(t,r);if(void 0===t)throw new _("Could not resolve pointer: ".concat(e," does not exist in document"),{pointer:e});return t}function gt(e){if("string"!=typeof e)throw new TypeError("Expected a string, got a ".concat(P()(e)));return""===(e="/"===e[0]?e.substr(1):e)?[]:M()(e=e.split("/")).call(e,yt)}function yt(e){return"string"!=typeof e?e:new(Ze())("=".concat(e.replace(/~1/g,"/").replace(/~0/g,"~"))).get("")}function vt(e){var e=new(Ze())([["",e.replace(/~/g,"~0").replace(/\//g,"~1")]]);return F()(e=e.toString()).call(e,1)}function bt(e,t){if(!t||"/"===t||"#"===t)return!0;var r=e.charAt(t.length),n=F()(t).call(t,-1);return 0===e.indexOf(t)&&(!r||"/"===r||"#"===r)&&"#"!==n}var o={key:"allOf",plugin:function(e,t,n,o,r){if(!r.meta||!r.meta.$$ref){var a=F()(n).call(n,0,-1);if(!nt(a)){if(!Array.isArray(e))return(i=new TypeError("allOf must be an array")).fullPath=n,i;var i,s,l=!1,u=r.value;return(a.forEach(function(e){u=u&&u[e]}),u=z()({},u),0!==D()(u).length)?(delete u.allOf,(s=[]).push(o.replace(a,{})),e.forEach(function(e,r){if(!o.isObject(e)){if(l)return null;l=!0;var t=new TypeError("Elements in allOf must be objects");return t.fullPath=n,s.push(t)}s.push(o.mergeDeep(a,e));t=function(e,r,t){var t=2(e||0)}},{key:"dispatch",value:function(){var e=this,t=this,r=this.nextPlugin();if(r){t.pluginCount=t.pluginCount||{},t.pluginCount[r]=(t.pluginCount[r]||0)+1;if(100{"use strict";r.r(t),r.d(t,{default:()=>function(){return{fn:{shallowEqualKeys:n.be}}}});var n=r(90242)},48347:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getDisplayName:()=>n});const n=e=>e.displayName||e.name||"Component"},73420:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var t=r(35627),a=r.n(t),i=r(90242),s=r(55776),l=r(48347),u=r(60314);const n=e=>{var t,{getComponents:e,getStore:r,getSystem:n}=e,o=(o=(0,s.getComponent)(n,r,e),(0,i.HP)(o,function(){for(var e=arguments.length,t=new Array(e),r=0;r{"use strict";t.r(e),t.d(e,{getComponent:()=>te,render:()=>ee,withMappedContainer:()=>X});var e=t(23101),a=t.n(e),e=t(28222),s=t.n(e),k=t(67294),i=t(73935),r=t(97779),c=k.createContext(null),l=function(e){e()},n={notify:function(){}},C=((e=o.prototype).addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},e.notifyNestedSubs=function(){this.listeners.notify()},e.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},e.isSubscribed=function(){return Boolean(this.unsubscribe)},e.trySubscribe=function(){var e,n,o;this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=(e=l,o=n=null,{clear:function(){o=n=null},notify:function(){e(function(){for(var e=n;e;)e.callback(),e=e.next})},get:function(){for(var e=[],t=n;t;)e.push(t),t=t.next;return e},subscribe:function(e){var t=!0,r=o={callback:e,next:null,prev:o};return r.prev?r.prev.next=r:n=r,function(){t&&null!==n&&(t=!1,r.next?r.next.prev=r.prev:o=r.prev,r.prev?r.prev.next=r.next:n=r.next)}}}))},e.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=n)},o),u="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?k.useLayoutEffect:k.useEffect;function o(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=n,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}function p(e){var t=e.store,r=e.context,e=e.children,n=(0,k.useMemo)(function(){var e=new C(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}},[t]),o=(0,k.useMemo)(function(){return t.getState()},[t]),r=(u(function(){var e=n.subscription;return e.trySubscribe(),o!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}},[n,o]),r||c);return k.createElement(r.Provider,{value:n},e)}var O=t(87462),j=t(63366),e=t(8679),f=t.n(e),I=t(72973),N=[],T=[null,null];function P(e,t){e=e[1];return[t.payload,e+1]}function R(e,t,r){u(function(){return e.apply(void 0,t)},r)}function L(e,t,r,n,o,a,i){e.current=n,t.current=o,r.current=!1,a.current&&(a.current=null,i())}function B(e,n,t,o,a,i,s,l,u,c){var p,f;if(e)return p=!1,f=null,t.onStateChange=e=function(){if(!p){var e,t,r=n.getState();try{e=o(r,a.current)}catch(e){f=t=e}t||(f=null),e===i.current?s.current||u():(i.current=e,l.current=e,s.current=!0,c({type:"STORE_UPDATED",payload:{error:t}}))}},t.trySubscribe(),e(),function(){if(p=!0,t.tryUnsubscribe(),t.onStateChange=null,f)throw f}}var h,d,m,g,y,F=function(){return[null,0]};function z(_,e){var e=e=void 0===e?{}:e,t=e.getDisplayName,o=void 0===t?function(e){return"ConnectAdvanced("+e+")"}:t,t=e.methodName,a=void 0===t?"connectAdvanced":t,t=e.renderCountProp,i=void 0===t?void 0:t,t=e.shouldHandleStateChanges,S=void 0===t||t,t=e.storeKey,s=void 0===t?"store":t,t=(e.withRef,e.forwardRef),l=void 0!==t&&t,t=e.context,t=void 0===t?c:t,u=(0,j.Z)(e,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),A=t;return function(w){var e=w.displayName||w.name||"Component",t=o(e),E=(0,O.Z)({},u,{getDisplayName:o,methodName:a,renderCountProp:i,shouldHandleStateChanges:S,storeKey:s,displayName:t,wrappedComponentName:e,WrappedComponent:w}),e=u.pure,x=e?k.useMemo:function(e){return e()};function r(r){var e=(0,k.useMemo)(function(){var e=r.reactReduxForwardedRef,t=(0,j.Z)(r,["reactReduxForwardedRef"]);return[r.context,e,t]},[r]),t=e[0],n=e[1],o=e[2],a=(0,k.useMemo)(function(){return t&&t.Consumer&&(0,I.isContextConsumer)(k.createElement(t.Consumer,null))?t:A},[t,A]),i=(0,k.useContext)(a),s=Boolean(r.store)&&Boolean(r.store.getState)&&Boolean(r.store.dispatch),l=(Boolean(i)&&Boolean(i.store),(s?r:i).store),u=(0,k.useMemo)(function(){return _(l.dispatch,E)},[l]),e=(0,k.useMemo)(function(){if(!S)return T;var e=new C(l,s?null:i.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[l,s,i]),c=e[0],e=e[1],p=(0,k.useMemo)(function(){return s?i:(0,O.Z)({},i,{subscription:c})},[s,i,c]),f=(0,k.useReducer)(P,N,F),h=f[0][0],f=f[1];if(h&&h.error)throw h.error;var d=(0,k.useRef)(),m=(0,k.useRef)(o),g=(0,k.useRef)(),y=(0,k.useRef)(!1),v=x(function(){return g.current&&o===m.current?g.current:u(l.getState(),o)},[l,h,o]),b=(R(L,[m,d,y,o,v,g,e]),R(B,[S,l,c,u,m,d,y,g,e,f],[l,c,u]),(0,k.useMemo)(function(){return k.createElement(w,(0,O.Z)({},v,{ref:n}))},[n,w,v]));return(0,k.useMemo)(function(){return S?k.createElement(a.Provider,{value:p},b):b},[a,b,p])}var n=e?k.memo(r):r;return n.WrappedComponent=w,n.displayName=r.displayName=t,l?((e=k.forwardRef(function(e,t){return k.createElement(n,(0,O.Z)({},e,{reactReduxForwardedRef:t}))})).displayName=t,e.WrappedComponent=w,f()(e,w)):f()(n,w)}}function v(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function b(e,t){if(v(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var o=0;oe=>{const t=n()["fn"];class r extends k.Component{render(){return k.createElement(e,a()({},n(),this.props,this.context))}}return r.displayName=`WithSystem(${t.getDisplayName(e)})`,r},Q=(n,o)=>e=>{const t=n()["fn"];class r extends k.Component{render(){return k.createElement(p,{store:o},k.createElement(e,a()({},this.props,this.context)))}}return r.displayName=`WithRoot(${t.getDisplayName(e)})`,r},A=(o,a,e)=>(0,r.qC)(e?Q(o,e):Z(),K((e,t)=>{const r={...t,...o()},n=(null==(t=a.prototype)?void 0:t.mapStateToProps)||(e=>({state:e}));return n(e,r)}),Y(o))(a),M=(e,t,r,n)=>{for(const o in t){const a=t[o];"function"==typeof a&&a(r[o],n[o],e())}},X=(a,e,i)=>(e,r)=>{const t=a()["fn"],n=i(e,"root");class o extends k.Component{constructor(e,t){super(e,t),M(a,r,e,{})}UNSAFE_componentWillReceiveProps(e){M(a,r,e,this.props)}render(){var e=G()(this.props,r?s()(r):[]);return k.createElement(n,e)}}return o.displayName=`WithMappedContainer(${t.getDisplayName(n)})`,o},ee=(r,n,o,a)=>e=>{var t=o(r,n,a)("App","root");i.render(k.createElement(t,null),e)},te=(o,a,i)=>function(e,t){var r=2{"use strict";t.d(e,{d3:()=>s,C2:()=>L});var e=t(28222),e=t.n(e),r=t(58118),n=t.n(r),E=t(63366);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r .hljs-title":{color:"#88C0D0"},"hljs-keyword":{color:"#81A1C1"},"hljs-literal":{color:"#81A1C1"},"hljs-symbol":{color:"#81A1C1"},"hljs-number":{color:"#B48EAD"},"hljs-regexp":{color:"#EBCB8B"},"hljs-string":{color:"#A3BE8C"},"hljs-title":{color:"#8FBCBB"},"hljs-params":{color:"#D8DEE9"},"hljs-bullet":{color:"#81A1C1"},"hljs-code":{color:"#8FBCBB"},"hljs-emphasis":{fontStyle:"italic"},"hljs-formula":{color:"#8FBCBB"},"hljs-strong":{fontWeight:"bold"},"hljs-link:hover":{textDecoration:"underline"},"hljs-quote":{color:"#4C566A"},"hljs-comment":{color:"#4C566A"},"hljs-doctag":{color:"#8FBCBB"},"hljs-meta":{color:"#5E81AC"},"hljs-meta-keyword":{color:"#5E81AC"},"hljs-meta-string":{color:"#A3BE8C"},"hljs-attr":{color:"#8FBCBB"},"hljs-attribute":{color:"#D8DEE9"},"hljs-builtin-name":{color:"#81A1C1"},"hljs-name":{color:"#81A1C1"},"hljs-section":{color:"#88C0D0"},"hljs-tag":{color:"#81A1C1"},"hljs-variable":{color:"#D8DEE9"},"hljs-template-variable":{color:"#D8DEE9"},"hljs-template-tag":{color:"#5E81AC"},"abnf .hljs-attribute":{color:"#88C0D0"},"abnf .hljs-symbol":{color:"#EBCB8B"},"apache .hljs-attribute":{color:"#88C0D0"},"apache .hljs-section":{color:"#81A1C1"},"arduino .hljs-built_in":{color:"#88C0D0"},"aspectj .hljs-meta":{color:"#D08770"},"aspectj > .hljs-title":{color:"#88C0D0"},"bnf .hljs-attribute":{color:"#8FBCBB"},"clojure .hljs-name":{color:"#88C0D0"},"clojure .hljs-symbol":{color:"#EBCB8B"},"coq .hljs-built_in":{color:"#88C0D0"},"cpp .hljs-meta-string":{color:"#8FBCBB"},"css .hljs-built_in":{color:"#88C0D0"},"css .hljs-keyword":{color:"#D08770"},"diff .hljs-meta":{color:"#8FBCBB"},"ebnf .hljs-attribute":{color:"#8FBCBB"},"glsl .hljs-built_in":{color:"#88C0D0"},"groovy .hljs-meta:not(:first-child)":{color:"#D08770"},"haxe .hljs-meta":{color:"#D08770"},"java .hljs-meta":{color:"#D08770"},"ldif .hljs-attribute":{color:"#8FBCBB"},"lisp .hljs-name":{color:"#88C0D0"},"lua .hljs-built_in":{color:"#88C0D0"},"moonscript .hljs-built_in":{color:"#88C0D0"},"nginx .hljs-attribute":{color:"#88C0D0"},"nginx .hljs-section":{color:"#5E81AC"},"pf .hljs-built_in":{color:"#88C0D0"},"processing .hljs-built_in":{color:"#88C0D0"},"scss .hljs-keyword":{color:"#81A1C1"},"stylus .hljs-keyword":{color:"#81A1C1"},"swift .hljs-meta":{color:"#D08770"},"vim .hljs-built_in":{color:"#88C0D0",fontStyle:"italic"},"yaml .hljs-meta":{color:"#D08770"}},obsidian:{hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#282b2e",color:"#e0e2e4"},"hljs-keyword":{color:"#93c763",fontWeight:"bold"},"hljs-selector-tag":{color:"#93c763",fontWeight:"bold"},"hljs-literal":{color:"#93c763",fontWeight:"bold"},"hljs-selector-id":{color:"#93c763"},"hljs-number":{color:"#ffcd22"},"hljs-attribute":{color:"#668bb0"},"hljs-code":{color:"white"},"hljs-class .hljs-title":{color:"white"},"hljs-section":{color:"white",fontWeight:"bold"},"hljs-regexp":{color:"#d39745"},"hljs-link":{color:"#d39745"},"hljs-meta":{color:"#557182"},"hljs-tag":{color:"#8cbbad"},"hljs-name":{color:"#8cbbad",fontWeight:"bold"},"hljs-bullet":{color:"#8cbbad"},"hljs-subst":{color:"#8cbbad"},"hljs-emphasis":{color:"#8cbbad"},"hljs-type":{color:"#8cbbad",fontWeight:"bold"},"hljs-built_in":{color:"#8cbbad"},"hljs-selector-attr":{color:"#8cbbad"},"hljs-selector-pseudo":{color:"#8cbbad"},"hljs-addition":{color:"#8cbbad"},"hljs-variable":{color:"#8cbbad"},"hljs-template-tag":{color:"#8cbbad"},"hljs-template-variable":{color:"#8cbbad"},"hljs-string":{color:"#ec7600"},"hljs-symbol":{color:"#ec7600"},"hljs-comment":{color:"#818e96"},"hljs-quote":{color:"#818e96"},"hljs-deletion":{color:"#818e96"},"hljs-selector-class":{color:"#A082BD"},"hljs-doctag":{fontWeight:"bold"},"hljs-title":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"}},"tomorrow-night":{"hljs-comment":{color:"#969896"},"hljs-quote":{color:"#969896"},"hljs-variable":{color:"#cc6666"},"hljs-template-variable":{color:"#cc6666"},"hljs-tag":{color:"#cc6666"},"hljs-name":{color:"#cc6666"},"hljs-selector-id":{color:"#cc6666"},"hljs-selector-class":{color:"#cc6666"},"hljs-regexp":{color:"#cc6666"},"hljs-deletion":{color:"#cc6666"},"hljs-number":{color:"#de935f"},"hljs-built_in":{color:"#de935f"},"hljs-builtin-name":{color:"#de935f"},"hljs-literal":{color:"#de935f"},"hljs-type":{color:"#de935f"},"hljs-params":{color:"#de935f"},"hljs-meta":{color:"#de935f"},"hljs-link":{color:"#de935f"},"hljs-attribute":{color:"#f0c674"},"hljs-string":{color:"#b5bd68"},"hljs-symbol":{color:"#b5bd68"},"hljs-bullet":{color:"#b5bd68"},"hljs-addition":{color:"#b5bd68"},"hljs-title":{color:"#81a2be"},"hljs-section":{color:"#81a2be"},"hljs-keyword":{color:"#b294bb"},"hljs-selector-tag":{color:"#b294bb"},hljs:{display:"block",overflowX:"auto",background:"#1d1f21",color:"#c5c8c6",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}}}),M=e()(R),L=e=>n()(M).call(M,e)?R[e]:(console.warn(`Request style '${e}' is not available, returning default instead`),P)},90242:(D,e,t)=>{"use strict";t.d(e,{mz:()=>function(e){return E(e)?b(e)?e.toJS():e:{}},oG:()=>w,AF:()=>function(e){return x()(e)?e:[e]},LQ:()=>function(e){return"function"==typeof e},Kn:()=>E,Wl:()=>I,kJ:()=>function(e){return x()(e)},HP:()=>J,Ay:()=>function(r,n){var e;return s()(e=a()(r)).call(e,(e,t)=>(e[t]=n(r[t],t),e),{})},Q2:()=>function(r,n){var e;return s()(e=a()(r)).call(e,(e,t)=>{t=n(r[t],t);return t&&"object"==typeof t&&i()(e,t),e},{})},_5:()=>function(r){return e=>{var{}=e;return t=>e=>"function"==typeof e?e(r()):t(e)}},iQ:()=>function(e){let t=e.keySeq();return t.contains(v)?v:r()(e=A()(t).call(t,e=>"2"===(e+"")[0])).call(e).first()},gp:()=>function(e,t){if(!O().Iterable.isIterable(e))return O().List();e=e.getIn(x()(t)?t:[t]);return O().List.isList(e)?e:O().List()},DR:()=>function(t){let r,e=[/filename\*=[^']+'\w*'"([^"]+)";?/i,/filename\*=[^']+'\w*'([^;]+);?/i,/filename="([^;]*);?"/i,/filename=([^;]*);?/i];if(k()(e).call(e,e=>null!==(r=e.exec(t))),null!==r&&1function(e){return e=e.replace(/\.[^./]*$/,""),F()(B()(e))},Ik:()=>K,xi:()=>Z,UG:()=>Y,r3:()=>Q,wh:()=>X,GZ:()=>ee,be:()=>te,Nm:()=>function(e){return"string"!=typeof e||""===e?"":(0,L.N)(e)},hW:()=>function(e){return!(!e||0<=n()(e).call(e,"localhost")||0<=n()(e).call(e,"127.0.0.1")||"none"===e)},QG:()=>function(e){if(!O().OrderedMap.isOrderedMap(e))return null;if(!e.size)return null;const t=c()(e).call(e,(e,t)=>p()(t).call(t,"2")&&0P,J6:()=>re,nX:()=>ne,po:()=>oe,XV:()=>function t(e,r){let n=2!0;if("object"!=typeof e||x()(e)||null===e||!r)return e;const o=i()({},e);return S()(e=a()(o)).call(e,e=>{e===r&&n(o[e],e)?delete o[e]:o[e]=t(o[e],r,n)}),o},Pz:()=>function(t){if("string"==typeof t)return t;if("object"==typeof(t=t&&t.toJS?t.toJS():t)&&null!==t)try{return u()(t,null,2)}catch(e){return String(t)}return null==t?"":t.toString()},D$:()=>function(e){return"number"==typeof e?e.toString():e},V9:()=>R,cz:()=>function(e,t){var e=R(e,{returnAll:!0});return A()(e=_()(e).call(e,e=>t[e])).call(e,e=>void 0!==e)[0]},Uj:()=>function(){return M(H()(32).toString("base64"))},Xb:()=>function(e){return M($()("sha256").update(e).digest("base64"))},O2:()=>ae});var e=t(58309),x=t.n(e),e=t(97606),_=t.n(e),e=t(74386),o=t.n(e),e=t(86),S=t.n(e),e=t(14418),A=t.n(e),e=t(28222),a=t.n(e),e=(t(11189),t(24282)),s=t.n(e),e=t(76986),i=t.n(e),e=t(2578),r=t.n(e),e=t(24278),l=t.n(e),e=(t(39022),t(92039)),k=t.n(e),e=(t(58118),t(35627)),u=t.n(e),e=t(11882),n=t.n(e),e=t(51679),c=t.n(e),e=t(27043),p=t.n(e),e=t(81607),f=t.n(e),C=t(43393),O=t.n(C),L=t(17967),e=t(68929),B=t.n(e),e=t(11700),F=t.n(e),e=t(88306),e=t.n(e),h=t(13311),z=t.n(h),h=t(59704),U=t.n(h),h=t(77813),q=t.n(h),h=t(23560),d=t.n(h),m=t(57050),j=t(27504),h=t(8269),V=t.n(h),W=t(19069),h=t(92282),H=t.n(h),h=t(89072),$=t.n(h),g=t(1272),y=t(48764).Buffer;const v="default",b=e=>O().Iterable.isIterable(e);function w(e){var t,r;if(b(e))return e;if(e instanceof j.Z.File)return e;if(!E(e))return e;if(x()(e))return _()(r=O().Seq(e)).call(r,w).toList();if(d()(o()(e))){const t=function(e){if(!d()(o()(e)))return e;const t={},r={};for(var n of o()(e).call(e))t[n[0]]||r[n[0]]&&r[n[0]].containsMultiple?(r[n[0]]||(r[n[0]]={containsMultiple:!0,length:1},t[n[0]+"_**[]"+r[n[0]].length]=t[n[0]],delete t[n[0]]),r[n[0]].length+=1,t[n[0]+"_**[]"+r[n[0]].length]=n[1]):t[n[0]]=n[1];return t}(e);return _()(r=O().OrderedMap(t)).call(r,w)}return _()(t=O().OrderedMap(e)).call(t,w)}function E(e){return!!e&&"object"==typeof e}function I(e){return"function"==typeof e}const J=e();const K=function(e,t){var{isOAS3:r=!1,bypassRequiredCheck:n=!1}=2!!e);if(e&&!b&&!a)return s.push("Required field is not provided"),s;if("object"===p&&(null===i||"application/json"===i)){let r=t;if("string"==typeof t)try{r=JSON.parse(t)}catch(t){return s.push("Parameter string value must be valid JSON"),s}o&&o.has("required")&&I(l.isList)&&l.isList()&&S()(l).call(l,e=>{void 0===r[e]&&s.push({propKey:e,error:"Required property not found"})}),o&&o.has("properties")&&S()(e=o.get("properties")).call(e,(e,t)=>{e=n(r[t],e,!1,a,i),s.push(..._()(e).call(e,e=>({propKey:t,error:e})))})}if(v&&(b=((e,t)=>{if(!new RegExp(t).test(e))return"Value must follow pattern "+t})(t,v))&&s.push(b),y&&"array"===p&&(e=(e=>{if(!e&&1<=y||e&&e.length{if(t&&t.length>g)return`Array must not contain more then ${g} item`+(1===g?"":"s")})())&&s.push({needRemove:!0,error:b}),m&&"array"===p&&(e=((e,n)=>{if(e&&("true"===n||!0===n)){const n=(0,C.fromJS)(e),t=n.toSet();if(e.length>t.size){let r=(0,C.Set)();if(S()(n).call(n,(t,e)=>{1I(e.equals)?e.equals(t):e===t).size&&(r=r.add(e))}),0!==r.size)return _()(r).call(r,e=>({index:e,error:"No duplicates allowed."})).toArray()}}})(t,m))&&s.push(...e),!h&&0!==h||(b=(()=>{if(t.length>h)return`Value must be no longer than ${h} character`+(1!==h?"s":"")})())&&s.push(b),d&&(e=(()=>{if(t.length{if(u{if(t{if(isNaN(Date.parse(t)))return"Value must be a DateTime"})():"uuid"===f?(e=>{if(e=t.toString().toLowerCase(),!/^[{(]?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[)}]?$/.test(e))return"Value must be a Guid"})(t):(()=>{if(t&&"string"!=typeof t)return"Value must be a string"})()))return s;s.push(b)}else if("boolean"===p){if(!(e=(()=>{if("true"!==t&&"false"!==t&&!0!==t&&!1!==t)return"Value must be a boolean"})()))return s;s.push(e)}else if("number"===p){if(!(b=(()=>{if(!/^-?\d+(\.?\d+)?$/.test(t))return"Value must be a number"})()))return s;s.push(b)}else if("integer"===p){if(!(e=(()=>{if(!/^-?\d+$/.test(t))return"Value must be an integer"})()))return s;s.push(e)}else if("array"===p){if(!w&&!E)return s;t&&S()(t).call(t,(e,t)=>{e=n(e,o.get("items"),!1,a,i),s.push(..._()(e).call(e,e=>({index:t,error:e})))})}else if("file"===p){if(!(b=(()=>{if(t&&!(t instanceof j.Z.File))return"Value must be a file"})()))return s;s.push(b)}return s}(t,e,o,n,r)},N=[{when:/json/,shouldStringifyTypes:["string"]}],G=["object"],T=(e,t,r,n)=>{const o=(0,m.memoizedSampleFromSchema)(e,t,n),a=typeof o,i=s()(N).call(N,(e,t)=>t.when.test(r)?[...e,...t.shouldStringifyTypes]:e,G);return U()(i,e=>e===a)?u()(o,null,2):o},Z=function(e){let t=1\n\x3c!-- XML example cannot be generated; root element name is undefined --\x3e';a.$$ref&&(o=a.$$ref.match(/\S*\/(\S+)$/),a.xml.name=o[1])}return(0,m.memoizedCreateXMLExample)(a,i,s)}return(/(yaml|yml)/.test(t)?(e,t,r,n)=>{t=T(e,t,r,n);let o;try{"\n"===(o=g.ZP.dump(g.ZP.load(t),{lineWidth:-1},{schema:g.A8}))[o.length-1]&&(o=l()(o).call(o,0,o.length-1))}catch(e){return console.error(e),"error: could not generate yaml example"}return o.replace(/\t/g," ")}:T)(e,r,t,n)},Y=()=>{let t={},r=j.Z.location.search;if(!r)return{};if(""!=r){let e=r.substr(1).split("&");for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(n=e[n].split("="),t[decodeURIComponent(n[0])]=n[1]&&decodeURIComponent(n[1])||"")}return t},Q=e=>{let t;return(t=e instanceof y?e:y.from(e.toString(),"utf-8")).toString("base64")},X={operationsSorter:{alpha:(e,t)=>e.get("path").localeCompare(t.get("path")),method:(e,t)=>e.get("method").localeCompare(t.get("method"))},tagsSorter:{alpha:(e,t)=>e.localeCompare(t)}},ee=e=>{let t=[];for(var r in e){var n=e[r];void 0!==n&&""!==n&&t.push([r,"=",encodeURIComponent(n).replace(/%20/g,"+")].join(""))}return t.join("&")},te=(t,r,e)=>!!z()(e,e=>q()(t[e],r[e]));const P=e=>"string"==typeof e||e instanceof String?f()(e).call(e).replace(/\s/g,"%20"):"",re=e=>V()(P(e).replace(/%20/g,"_")),ne=e=>A()(e).call(e,(e,t)=>/^x-/.test(t)),oe=e=>A()(e).call(e,(e,t)=>/^pattern|maxLength|minLength|maximum|minimum/.test(t));function R(e){var{returnAll:t=!1,allowHashes:r=!0}=1!e||!(!b(e)||!e.isEmpty())},2518:(e,t,r)=>{"use strict";r.d(t,{O:()=>function(e){return function(e){try{return JSON.parse(e)}catch(e){return}}(e)?"json":null}})},27504:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=function(){var e={location:{},history:{},open:()=>{},close:()=>{},File:function(){}};if("undefined"==typeof window)return e;try{e=window;for(var t of["File","Blob","FormData"])t in window&&(e[t]=window[t])}catch(e){console.error(e)}return e}()},19069:(e,t,r)=>{"use strict";r.d(t,{Z:()=>function(e){let t=(1o()(i).call(i,t)),parameterContentMediaType:null};if(e.get("content")){const t=e.get("content",a().Map({})).keySeq().first();return{schema:e.getIn(["content",t,"schema"],a().Map()),parameterContentMediaType:t}}return{schema:e.get("schema")?e.get("schema",a().Map()):a().Map(),parameterContentMediaType:null}}});var t=r(14418),n=r.n(t),t=r(58118),o=r.n(t),t=r(43393),a=r.n(t);const i=a().Set.of("type","format","items","default","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","enum","multipleOf")},60314:(e,t,r)=>{"use strict";r.d(t,{Z:()=>d});var t=r(58309),n=r.n(t),t=r(2250),o=r.n(t),t=r(25110),a=r.n(t),t=r(8712),i=r.n(t),t=r(51679),s=r.n(t),t=r(12373),l=r.n(t),t=r(18492),t=r.n(t),u=r(88306),c=r.n(u);function p(){for(var e=arguments.length,t=new Array(e),r=0;rr=>n()(e)&&n()(r)&&e.length===r.length&&o()(e).call(e,(e,t)=>e===r[t]);class h extends t(){delete(e){var t=a()(i()(this).call(this)),t=s()(t).call(t,f(e));return super.delete(t)}get(e){var t=a()(i()(this).call(this)),t=s()(t).call(t,f(e));return super.get(t)}has(e){var t=a()(i()(this).call(this));return-1!==l()(t).call(t,f(e))}}const d=function(e){var t=1{"use strict";t.byteLength=function(e){var e=c(e),t=e[0],e=e[1];return 3*(t+e)/4-e},t.toByteArray=function(e){for(var t,r=c(e),n=r[0],r=r[1],o=new u(3*(n+r)/4-r),a=0,i=0>16&255,o[a++]=t>>8&255,o[a++]=255&t;return 2===r&&(t=l[e.charCodeAt(s)]<<2|l[e.charCodeAt(s+1)]>>4,o[a++]=255&t),1===r&&(t=l[e.charCodeAt(s)]<<10|l[e.charCodeAt(s+1)]<<4|l[e.charCodeAt(s+2)]>>2,o[a++]=t>>8&255,o[a++]=255&t),o},t.fromByteArray=function(e){for(var t,r=e.length,n=r%3,o=[],a=0,i=r-n;a>18&63]+s[n>>12&63]+s[n>>6&63]+s[63&n]);return o.join("")}(e,a,i>2]+s[t<<4&63]+"==")):2==n&&(t=(e[r-2]<<8)+e[r-1],o.push(s[t>>10]+s[t>>4&63]+s[t<<2&63]+"=")),o.join("")};for(var s=[],l=[],u="undefined"!=typeof Uint8Array?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=0,o=r.length;n{"use strict";const g=e(79742),a=e(80645),t="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null,n=(r.Buffer=c,r.SlowBuffer=function(e){return c.alloc(+(e=+e!=e?0:e))},r.INSPECT_MAX_BYTES=50,2147483647);function u(e){if(e>n)throw new RangeError('The value "'+e+'" is invalid for option "size"');e=new Uint8Array(e);return Object.setPrototypeOf(e,c.prototype),e}function c(e,t,r){if("number"!=typeof e)return o(e,t,r);if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return s(e)}function o(t,r,e){if("string"==typeof t){var n=t,o=r;if(!c.isEncoding(o="string"==typeof o&&""!==o?o:"utf8"))throw new TypeError("Unknown encoding: "+o);var a=0|d(n,o);let e=u(a);return n=e.write(n,o),e=n!==a?e.slice(0,n):e}if(ArrayBuffer.isView(t))return P(o=t,Uint8Array)?f((a=new Uint8Array(o)).buffer,a.byteOffset,a.byteLength):p(o);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(P(t,ArrayBuffer)||t&&P(t.buffer,ArrayBuffer))return f(t,r,e);if("undefined"!=typeof SharedArrayBuffer&&(P(t,SharedArrayBuffer)||t&&P(t.buffer,SharedArrayBuffer)))return f(t,r,e);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return c.from(n,r,e);var i,s,l=c.isBuffer(i=t)?(0!==(s=u(l=0|h(i.length))).length&&i.copy(s,0,0,l),s):void 0!==i.length?"number"!=typeof i.length||R(i.length)?u(0):p(i):"Buffer"===i.type&&Array.isArray(i.data)?p(i.data):void 0;if(l)return l;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return c.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function i(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function s(e){return i(e),u(e<0?0:0|h(e))}function p(t){const r=t.length<0?0:0|h(t.length),n=u(r);for(let e=0;e=n)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n.toString(16)+" bytes");return 0|e}function d(e,t){if(c.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||P(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=2>>1;case"base64":return U(e).length;default:if(o)return n?-1:N(e).length;t=(""+t).toLowerCase(),o=!0}}function L(e,r,n){let t=!1;if((r=void 0===r||r<0?0:r)>this.length)return"";if((n=void 0===n||n>this.length?this.length:n)<=0)return"";if((n>>>=0)<=(r>>>=0))return"";for(e=e||"utf8";;)switch(e){case"hex":{var o=this;var a=r;var i=n;var s=o.length;(!a||a<0)&&(a=0),(!i||i<0||s=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=c.from(t,n)),c.isBuffer(t))return 0===t.length?-1:y(e,t,r,n,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?(o?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(e,t,r):y(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function y(r,n,t,e,o){let a,i=1,s=r.length,l=n.length;if(void 0!==e&&("ucs2"===(e=String(e).toLowerCase())||"ucs-2"===e||"utf16le"===e||"utf-16le"===e)){if(r.length<2||n.length<2)return-1;i=2,s/=2,l/=2,t/=2}function u(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(o){let e=-1;for(a=t;as&&(t=s-l),a=t;0<=a;a--){let t=!0;for(let e=0;e>>10&1023|55296),o=56320|1023&o),r.push(o),l+=a}{var n=r,o=n.length;if(o<=b)return String.fromCharCode.apply(String,n);let e="",t=0;for(;tn.length?(e=c.isBuffer(e)?e:c.from(e)).copy(n,o):Uint8Array.prototype.set.call(n,e,o);else{if(!c.isBuffer(e))throw new TypeError('"list" argument must be an Array of Buffers');e.copy(n,o)}o+=e.length}return n},c.byteLength=d,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;et&&(e+=" ... "),""},t&&(c.prototype[t]=c.prototype.inspect),c.prototype.compare=function(e,t,r,n,o){if(P(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),(t=void 0===t?0:t)<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(o<=n&&r<=t)return 0;if(o<=n)return-1;if(r<=t)return 1;if(this===e)return 0;let a=(o>>>=0)-(n>>>=0),i=(r>>>=0)-(t>>>=0);var s=Math.min(a,i),l=this.slice(n,o),u=e.slice(t,r);for(let e=0;e>>=0,isFinite(n)?(n>>>=0,void 0===e&&(e="utf8")):(e=n,n=void 0)}var o,a,i,s,l,u,c=this.length-r;if((void 0===n||cthis.length)throw new RangeError("Attempt to write outside buffer bounds");e=e||"utf8";let p=!1;for(;;)switch(e){case"hex":{var f=this;var h=t;var d=r;var m=n;d=Number(d)||0;var g=f.length-d,g=((!m||(m=Number(m))>g)&&(m=g),h.length);let e;for(g/2>8,a.push(n%256),a.push(o);return a}(t,(o=this).length-a),o,a,i);default:if(p)throw new TypeError("Unknown encoding: "+e);e=(""+e).toLowerCase(),p=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const b=4096;function w(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(re.length)throw new RangeError("Index out of range")}function x(e,t,r,n,o){F(t,n,o,e,r,7);n=Number(t&BigInt(4294967295)),e[r++]=n,e[r++]=n>>=8,e[r++]=n>>=8,e[r++]=n>>=8,o=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=o,e[r++]=o>>=8,e[r++]=o>>=8,e[r++]=o>>=8,r}function _(e,t,r,n,o){F(t,n,o,e,r,7);n=Number(t&BigInt(4294967295)),e[r+7]=n,e[r+6]=n>>=8,e[r+5]=n>>=8,e[r+4]=n>>=8,o=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=o,e[r+2]=o>>=8,e[r+1]=o>>=8,e[r]=o>>=8,r+8}function S(e,t,r,n){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function A(e,t,r,n,o){return t=+t,r>>>=0,o||S(e,0,r,4),a.write(e,t,r,n,23,4),r+4}function k(e,t,r,n,o){return t=+t,r>>>=0,o||S(e,0,r,8),a.write(e,t,r,n,52,8),r+8}c.prototype.slice=function(e,t){var r=this.length,r=((e=~~e)<0?(e+=r)<0&&(e=0):r>>=0,t>>>=0,r||w(e,t,this.length);let n=this[e],o=1,a=0;for(;++a>>=0,t>>>=0,r||w(e,t,this.length);let n=this[e+--t],o=1;for(;0>>=0,t||w(e,1,this.length),this[e]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readBigUInt64LE=M(function(e){j(e>>>=0,"offset");var t=this[e],r=this[e+7],t=(void 0!==t&&void 0!==r||I(e,this.length-8),t+256*this[++e]+65536*this[++e]+this[++e]*2**24),e=this[++e]+256*this[++e]+65536*this[++e]+r*2**24;return BigInt(t)+(BigInt(e)<>>=0,"offset");var t=this[e],r=this[e+7],t=(void 0!==t&&void 0!==r||I(e,this.length-8),t*2**24+65536*this[++e]+256*this[++e]+this[++e]),e=this[++e]*2**24+65536*this[++e]+256*this[++e]+r;return(BigInt(t)<>>=0,t>>>=0,r||w(e,t,this.length);let n=this[e],o=1,a=0;for(;++a=o&&(n-=Math.pow(2,8*t)),n},c.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);let n=t,o=1,a=this[e+--n];for(;0=o&&(a-=Math.pow(2,8*t)),a},c.prototype.readInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){e>>>=0,t||w(e,2,this.length);t=this[e]|this[e+1]<<8;return 32768&t?4294901760|t:t},c.prototype.readInt16BE=function(e,t){e>>>=0,t||w(e,2,this.length);t=this[e+1]|this[e]<<8;return 32768&t?4294901760|t:t},c.prototype.readInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readBigInt64LE=M(function(e){j(e>>>=0,"offset");var t=this[e],r=this[e+7],r=(void 0!==t&&void 0!==r||I(e,this.length-8),this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24));return(BigInt(r)<>>=0,"offset");var t=this[e],r=this[e+7],t=(void 0!==t&&void 0!==r||I(e,this.length-8),(t<<24)+65536*this[++e]+256*this[++e]+this[++e]);return(BigInt(t)<>>=0,t||w(e,4,this.length),a.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return e>>>=0,t||w(e,4,this.length),a.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return e>>>=0,t||w(e,8,this.length),a.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return e>>>=0,t||w(e,8,this.length),a.read(this,e,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||E(this,e,t,r,Math.pow(2,8*r)-1,0);let o=1,a=0;for(this[t]=255&e;++a>>=0,r>>>=0,n||E(this,e,t,r,Math.pow(2,8*r)-1,0);let o=r-1,a=1;for(this[t+o]=255&e;0<=--o&&(a*=256);)this[t+o]=e/a&255;return t+r},c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,1,255,0),this[t]=255&e,t+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeBigUInt64LE=M(function(e,t=0){return x(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeBigUInt64BE=M(function(e,t=0){return _(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);E(this,e,t,r,n-1,-n)}let o=0,a=1,i=0;for(this[t]=255&e;++o>0)-i&255;return t+r},c.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1);E(this,e,t,r,n-1,-n)}let o=r-1,a=1,i=0;for(this[t+o]=255&e;0<=--o&&(a*=256);)e<0&&0===i&&0!==this[t+o+1]&&(i=1),this[t+o]=(e/a>>0)-i&255;return t+r},c.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,1,127,-128),this[t]=255&(e=e<0?255+e+1:e),t+1},c.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},c.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,2147483647,-2147483648),this[t]=(e=e<0?4294967295+e+1:e)>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeBigInt64LE=M(function(e,t=0){return x(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeBigInt64BE=M(function(e,t=0){return _(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeFloatLE=function(e,t,r){return A(this,e,t,!0,r)},c.prototype.writeFloatBE=function(e,t,r){return A(this,e,t,!1,r)},c.prototype.writeDoubleLE=function(e,t,r){return k(this,e,t,!0,r)},c.prototype.writeDoubleBE=function(e,t,r){return k(this,e,t,!1,r)},c.prototype.copy=function(e,t,r,n){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r=r||0,n||0===n||(n=this.length),t>=e.length&&(t=e.length),(n=0=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length);var o=(n=e.length-t>>=0,r=void 0===r?this.length:r>>>0,"number"==typeof(e=e||0))for(o=t;o=4+n;r-=3)t="_"+e.slice(r-3,r)+t;return""+e.slice(0,r)+t}function F(e,t,r,n,o,a){if(r= 0${n} and < 2${n} ** `+8*(a+1)+n:`>= -(2${n} ** ${8*(a+1)-1}${n}) and < 2 ** `+(8*(a+1)-1)+n:`>= ${t}${n} and <= `+r+n;throw new C.ERR_OUT_OF_RANGE("value",t,e)}r=n,t=a,j(e=o,"offset"),void 0!==r[e]&&void 0!==r[e+t]||I(e,r.length-(t+1))}function j(e,t){if("number"!=typeof e)throw new C.ERR_INVALID_ARG_TYPE(t,"number",e)}function I(e,t,r){if(Math.floor(e)!==e)throw j(e,r),new C.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new C.ERR_BUFFER_OUT_OF_BOUNDS;throw new C.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= `+t,e)}O("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?e+" is outside of buffer bounds":"Attempt to access memory outside buffer bounds"},RangeError),O("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type `+typeof t},TypeError),O("ERR_OUT_OF_RANGE",function(e,t,r){let n=`The value of "${e}" is out of range.`,o=r;return Number.isInteger(r)&&Math.abs(r)>2**32?o=B(String(r)):"bigint"==typeof r&&(o=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(o=B(o)),o+="n"),n+=` It must be ${t}. Received `+o},RangeError);const z=/[^+/0-9A-Za-z-_]/g;function N(t,r){let n;r=r||1/0;var o=t.length;let a=null;const i=[];for(let e=0;e>6|192,63&n|128)}else if(n<65536){if((r-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((r-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function U(e){return g.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(z,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function T(e,t,r,n){let o;for(o=0;o=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function P(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function R(e){return e!=e}const q=function(){const r="0123456789abcdef",n=new Array(256);for(let t=0;t<16;++t){var o=16*t;for(let e=0;e<16;++e)n[o+e]=r[t]+r[e]}return n}();function M(e){return"undefined"==typeof BigInt?V:e}function V(){throw new Error("BigInt not supported")}},21924:(e,t,r)=>{"use strict";var n=r(40210),o=r(55559),a=o(n("String.prototype.indexOf"));e.exports=function(e,t){t=n(e,!!t);return"function"==typeof t&&-1{"use strict";var n=r(58612),r=r(40210),o=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),i=r("%Reflect.apply%",!0)||n.call(a,o),s=r("%Object.getOwnPropertyDescriptor%",!0),l=r("%Object.defineProperty%",!0),u=r("%Math.max%");if(l)try{l({},"a",{value:1})}catch(e){l=null}e.exports=function(e){var t=i(n,a,arguments);return s&&l&&s(t,"length").configurable&&l(t,"length",{value:1+u(0,e.length-(arguments.length-1))}),t};function c(){return i(n,o,arguments)}l?l(e.exports,"apply",{value:c}):e.exports.apply=c},94184:(e,t)=>{var r;!function(){"use strict";var i={}.hasOwnProperty;function s(){for(var e=[],t=0;t{"use strict";t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var r={},n=(t||{}).decode||l,o=0;o{"use strict";var p=r(11742),f={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(r,n){var t,e,o,a,i,s,l,u=!1,c=(n=n||{}).debug||!1;try{if(e=p(),o=document.createRange(),a=document.getSelection(),(i=document.createElement("span")).textContent=r,i.style.all="unset",i.style.position="fixed",i.style.top=0,i.style.clip="rect(0, 0, 0, 0)",i.style.whiteSpace="pre",i.style.webkitUserSelect="text",i.style.MozUserSelect="text",i.style.msUserSelect="text",i.style.userSelect="text",i.addEventListener("copy",function(e){var t;e.stopPropagation(),n.format&&(e.preventDefault(),void 0===e.clipboardData?(c&&console.warn("unable to use e.clipboardData"),c&&console.warn("trying IE specific stuff"),window.clipboardData.clearData(),t=f[n.format]||f.default,window.clipboardData.setData(t,r)):(e.clipboardData.clearData(),e.clipboardData.setData(n.format,r))),n.onCopy&&(e.preventDefault(),n.onCopy(e.clipboardData))}),document.body.appendChild(i),o.selectNodeContents(i),a.addRange(o),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(e){c&&console.error("unable to copy using execCommand: ",e),c&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(n.format||"text",r),n.onCopy&&n.onCopy(window.clipboardData),u=!0}catch(e){c&&console.error("unable to copy using clipboardData: ",e),c&&console.error("falling back to prompt"),s="message"in n?n.message:"Copy to clipboard: #{key}, Enter",l=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",t=s.replace(/#{\s*key\s*}/g,l),window.prompt(t,r)}}finally{a&&("function"==typeof a.removeRange?a.removeRange(o):a.removeAllRanges()),i&&document.body.removeChild(i),e()}return u}},95299:(e,t,r)=>{r=r(24848);e.exports=r},83450:(e,t,r)=>{r=r(83363);e.exports=r},66820:(e,t,r)=>{r=r(56243);e.exports=r},5023:(e,t,r)=>{r=r(72369);e.exports=r},90093:(e,t,r)=>{r=r(28196);e.exports=r},3688:(e,t,r)=>{r=r(11955);e.exports=r},83838:(e,t,r)=>{r=r(46279);e.exports=r},15684:(e,t,r)=>{r=r(19373);e.exports=r},99826:(e,t,r)=>{r=r(28427);e.exports=r},84234:(e,t,r)=>{r=r(82073);e.exports=r},65362:(e,t,r)=>{r=r(63383);e.exports=r},32271:(e,t,r)=>{r=r(14471);e.exports=r},91254:(e,t,r)=>{r=r(57396);e.exports=r},43536:(e,t,r)=>{r=r(41910);e.exports=r},37331:(e,t,r)=>{r=r(79427);e.exports=r},68522:(e,t,r)=>{r=r(62857);e.exports=r},73151:(e,t,r)=>{r=r(9534);e.exports=r},99565:(e,t,r)=>{r=r(96507);e.exports=r},45012:(e,t,r)=>{r=r(23059);e.exports=r},78690:(e,t,r)=>{r=r(16670);e.exports=r},25626:(e,t,r)=>{r=r(27460);e.exports=r},80281:(e,t,r)=>{r=r(92547);e.exports=r},40031:(e,t,r)=>{r=r(46509);e.exports=r},54493:(e,t,r)=>{r(77971),r(53242);r=r(54058);e.exports=r.Array.from},24034:(e,t,r)=>{r(92737);r=r(54058);e.exports=r.Array.isArray},15367:(e,t,r)=>{r(85906);r=r(35703);e.exports=r("Array").concat},12710:(e,t,r)=>{r(66274),r(55967);r=r(35703);e.exports=r("Array").entries},51459:(e,t,r)=>{r(48851);r=r(35703);e.exports=r("Array").every},6172:(e,t,r)=>{r(80290);r=r(35703);e.exports=r("Array").fill},62383:(e,t,r)=>{r(21501);r=r(35703);e.exports=r("Array").filter},60009:(e,t,r)=>{r(44929);r=r(35703);e.exports=r("Array").findIndex},17671:(e,t,r)=>{r(80833);r=r(35703);e.exports=r("Array").find},99324:(e,t,r)=>{r(2437);r=r(35703);e.exports=r("Array").forEach},80991:(e,t,r)=>{r(97690);r=r(35703);e.exports=r("Array").includes},8700:(e,t,r)=>{r(99076);r=r(35703);e.exports=r("Array").indexOf},95909:(e,t,r)=>{r(66274),r(55967);r=r(35703);e.exports=r("Array").keys},6442:(e,t,r)=>{r(75915);r=r(35703);e.exports=r("Array").lastIndexOf},23866:(e,t,r)=>{r(68787);r=r(35703);e.exports=r("Array").map},52999:(e,t,r)=>{r(81876);r=r(35703);e.exports=r("Array").reduce},91876:(e,t,r)=>{r(11490);r=r(35703);e.exports=r("Array").reverse},24900:(e,t,r)=>{r(60186);r=r(35703);e.exports=r("Array").slice},3824:(e,t,r)=>{r(36026);r=r(35703);e.exports=r("Array").some},2948:(e,t,r)=>{r(4115);r=r(35703);e.exports=r("Array").sort},78209:(e,t,r)=>{r(98611);r=r(35703);e.exports=r("Array").splice},14423:(e,t,r)=>{r(66274),r(55967);r=r(35703);e.exports=r("Array").values},81103:(e,t,r)=>{r(95160);r=r(54058);e.exports=r.Date.now},27700:(e,t,r)=>{r(73381);r=r(35703);e.exports=r("Function").bind},13830:(e,t,r)=>{r(66274),r(77971);r=r(22902);e.exports=r},91031:(e,t,r)=>{r(52595),e.exports=r(21899)},16246:(e,t,r)=>{var n=r(7046),o=r(27700),a=Function.prototype;e.exports=function(e){var t=e.bind;return e===a||n(a,e)&&t===a.bind?o:t}},56043:(e,t,r)=>{var n=r(7046),o=r(15367),a=Array.prototype;e.exports=function(e){var t=e.concat;return e===a||n(a,e)&&t===a.concat?o:t}},13160:(e,t,r)=>{var n=r(7046),o=r(51459),a=Array.prototype;e.exports=function(e){var t=e.every;return e===a||n(a,e)&&t===a.every?o:t}},80446:(e,t,r)=>{var n=r(7046),o=r(6172),a=Array.prototype;e.exports=function(e){var t=e.fill;return e===a||n(a,e)&&t===a.fill?o:t}},2480:(e,t,r)=>{var n=r(7046),o=r(62383),a=Array.prototype;e.exports=function(e){var t=e.filter;return e===a||n(a,e)&&t===a.filter?o:t}},7147:(e,t,r)=>{var n=r(7046),o=r(60009),a=Array.prototype;e.exports=function(e){var t=e.findIndex;return e===a||n(a,e)&&t===a.findIndex?o:t}},32236:(e,t,r)=>{var n=r(7046),o=r(17671),a=Array.prototype;e.exports=function(e){var t=e.find;return e===a||n(a,e)&&t===a.find?o:t}},58557:(e,t,r)=>{var n=r(7046),o=r(80991),a=r(21631),i=Array.prototype,s=String.prototype;e.exports=function(e){var t=e.includes;return e===i||n(i,e)&&t===i.includes?o:"string"==typeof e||e===s||n(s,e)&&t===s.includes?a:t}},34570:(e,t,r)=>{var n=r(7046),o=r(8700),a=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===a||n(a,e)&&t===a.indexOf?o:t}},57564:(e,t,r)=>{var n=r(7046),o=r(6442),a=Array.prototype;e.exports=function(e){var t=e.lastIndexOf;return e===a||n(a,e)&&t===a.lastIndexOf?o:t}},88287:(e,t,r)=>{var n=r(7046),o=r(23866),a=Array.prototype;e.exports=function(e){var t=e.map;return e===a||n(a,e)&&t===a.map?o:t}},68025:(e,t,r)=>{var n=r(7046),o=r(52999),a=Array.prototype;e.exports=function(e){var t=e.reduce;return e===a||n(a,e)&&t===a.reduce?o:t}},59257:(e,t,r)=>{var n=r(7046),o=r(80454),a=String.prototype;e.exports=function(e){var t=e.repeat;return"string"==typeof e||e===a||n(a,e)&&t===a.repeat?o:t}},91060:(e,t,r)=>{var n=r(7046),o=r(91876),a=Array.prototype;e.exports=function(e){var t=e.reverse;return e===a||n(a,e)&&t===a.reverse?o:t}},69601:(e,t,r)=>{var n=r(7046),o=r(24900),a=Array.prototype;e.exports=function(e){var t=e.slice;return e===a||n(a,e)&&t===a.slice?o:t}},28299:(e,t,r)=>{var n=r(7046),o=r(3824),a=Array.prototype;e.exports=function(e){var t=e.some;return e===a||n(a,e)&&t===a.some?o:t}},69355:(e,t,r)=>{var n=r(7046),o=r(2948),a=Array.prototype;e.exports=function(e){var t=e.sort;return e===a||n(a,e)&&t===a.sort?o:t}},18339:(e,t,r)=>{var n=r(7046),o=r(78209),a=Array.prototype;e.exports=function(e){var t=e.splice;return e===a||n(a,e)&&t===a.splice?o:t}},71611:(e,t,r)=>{var n=r(7046),o=r(3269),a=String.prototype;e.exports=function(e){var t=e.startsWith;return"string"==typeof e||e===a||n(a,e)&&t===a.startsWith?o:t}},62774:(e,t,r)=>{var n=r(7046),o=r(13348),a=String.prototype;e.exports=function(e){var t=e.trim;return"string"==typeof e||e===a||n(a,e)&&t===a.trim?o:t}},84426:(e,t,r)=>{r(32619);var n=r(54058),o=r(79730);n.JSON||(n.JSON={stringify:JSON.stringify}),e.exports=function(e,t,r){return o(n.JSON.stringify,null,arguments)}},91018:(e,t,r)=>{r(66274),r(37501),r(55967),r(77971);r=r(54058);e.exports=r.Map},45999:(e,t,r)=>{r(49221);r=r(54058);e.exports=r.Object.assign},35254:(e,t,r)=>{r(53882);var n=r(54058).Object;e.exports=function(e,t){return n.create(e,t)}},7702:(e,t,r)=>{r(74979);var n=r(54058).Object,r=e.exports=function(e,t){return n.defineProperties(e,t)};n.defineProperties.sham&&(r.sham=!0)},48171:(e,t,r)=>{r(86450);var n=r(54058).Object,r=e.exports=function(e,t,r){return n.defineProperty(e,t,r)};n.defineProperty.sham&&(r.sham=!0)},73081:(e,t,r)=>{r(94366);r=r(54058);e.exports=r.Object.entries},286:(e,t,r)=>{r(46924);var n=r(54058).Object,r=e.exports=function(e,t){return n.getOwnPropertyDescriptor(e,t)};n.getOwnPropertyDescriptor.sham&&(r.sham=!0)},92766:(e,t,r)=>{r(88482);r=r(54058);e.exports=r.Object.getOwnPropertyDescriptors},30498:(e,t,r)=>{r(35824);r=r(54058);e.exports=r.Object.getOwnPropertySymbols},13966:(e,t,r)=>{r(17405);r=r(54058);e.exports=r.Object.getPrototypeOf},48494:(e,t,r)=>{r(21724);r=r(54058);e.exports=r.Object.keys},3065:(e,t,r)=>{r(90108);r=r(54058);e.exports=r.Object.setPrototypeOf},98430:(e,t,r)=>{r(26614);r=r(54058);e.exports=r.Object.values},52956:(e,t,r)=>{r(47627),r(66274),r(55967),r(98881),r(4560),r(91302),r(44349),r(77971);r=r(54058);e.exports=r.Promise},21631:(e,t,r)=>{r(11035);r=r(35703);e.exports=r("String").includes},80454:(e,t,r)=>{r(60986);r=r(35703);e.exports=r("String").repeat},3269:(e,t,r)=>{r(94761);r=r(35703);e.exports=r("String").startsWith},13348:(e,t,r)=>{r(57398);r=r(35703);e.exports=r("String").trim},57473:(e,t,r)=>{r(85906),r(55967),r(35824),r(8555),r(52615),r(21732),r(35903),r(1825),r(28394),r(45915),r(61766),r(62737),r(89911),r(74315),r(63131),r(64714),r(70659),r(69120),r(79413),r(1502);r=r(54058);e.exports=r.Symbol},24227:(e,t,r)=>{r(66274),r(55967),r(77971),r(1825);r=r(11477);e.exports=r.f("iterator")},32304:(e,t,r)=>{r(66274),r(55967),r(54334);r=r(54058);e.exports=r.WeakMap},27385:(e,t,r)=>{r=r(95299);e.exports=r},81522:(e,t,r)=>{r=r(83450);e.exports=r},32209:(e,t,r)=>{r=r(66820);e.exports=r},30888:(e,t,r)=>{r(9668);r=r(5023);e.exports=r},14122:(e,t,r)=>{r=r(90093);e.exports=r},44442:(e,t,r)=>{r=r(3688);e.exports=r},57152:(e,t,r)=>{r=r(83838);e.exports=r},69447:(e,t,r)=>{r=r(15684);e.exports=r},17579:(e,t,r)=>{r=r(99826);e.exports=r},81493:(e,t,r)=>{r=r(84234);e.exports=r},60269:(e,t,r)=>{r=r(65362);e.exports=r},76094:(e,t,r)=>{r=r(32271);e.exports=r},70573:(e,t,r)=>{r=r(91254);e.exports=r},73685:(e,t,r)=>{r=r(43536);e.exports=r},27533:(e,t,r)=>{r=r(37331);e.exports=r},39057:(e,t,r)=>{r=r(68522);e.exports=r},84710:(e,t,r)=>{r=r(73151);e.exports=r},74303:(e,t,r)=>{r=r(99565);e.exports=r},93799:(e,t,r)=>{r=r(45012);e.exports=r},55122:(e,t,r)=>{r=r(78690);e.exports=r},29531:(e,t,r)=>{var n=r(25626);r(89731),r(55708),r(30014),r(88731),e.exports=n},86600:(e,t,r)=>{var n=r(80281);r(28783),r(43975),r(65799),r(45414),r(46774),r(80620),r(36172),e.exports=n},9759:(e,t,r)=>{r=r(40031);e.exports=r},24883:(e,t,r)=>{var n=r(21899),o=r(57475),a=r(69826),i=n.TypeError;e.exports=function(e){if(o(e))return e;throw i(a(e)+" is not a function")}},174:(e,t,r)=>{var n=r(21899),o=r(24284),a=r(69826),i=n.TypeError;e.exports=function(e){if(o(e))return e;throw i(a(e)+" is not a constructor")}},11851:(e,t,r)=>{var n=r(21899),o=r(57475),a=n.String,i=n.TypeError;e.exports=function(e){if("object"==typeof e||o(e))return e;throw i("Can't set "+a(e)+" as a prototype")}},18479:e=>{e.exports=function(){}},5743:(e,t,r)=>{var n=r(21899),o=r(7046),a=n.TypeError;e.exports=function(e,t){if(o(t,e))return e;throw a("Incorrect invocation")}},96059:(e,t,r)=>{var n=r(21899),o=r(10941),a=n.String,i=n.TypeError;e.exports=function(e){if(o(e))return e;throw i(a(e)+" is not an object")}},97135:(e,t,r)=>{r=r(95981);e.exports=r(function(){var e;"function"==typeof ArrayBuffer&&(e=new ArrayBuffer(8),Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8}))})},91860:(e,t,r)=>{"use strict";var i=r(89678),s=r(59413),l=r(10623);e.exports=function(e){for(var t=i(this),r=l(t),n=arguments.length,o=s(1{"use strict";var n=r(3610).forEach,r=r(34194)("forEach");e.exports=r?[].forEach:function(e){return n(this,e,1{"use strict";var n=r(21899),f=r(86843),h=r(78834),d=r(89678),m=r(75196),g=r(6782),y=r(24284),v=r(10623),b=r(55449),w=r(53476),E=r(22902),x=n.Array;e.exports=function(e){var t=d(e),e=y(this),r=arguments.length,n=1{function n(s){return function(e,t,r){var n,o=l(e),a=c(o),i=u(r,a);if(s&&t!=t){for(;i{function n(f){var h=1==f,d=2==f,m=3==f,g=4==f,y=6==f,v=7==f,b=5==f||y;return function(e,t,r,n){for(var o,a,i=x(e),s=E(i),l=w(t,r),u=_(s),c=0,t=n||S,p=h?t(e,u):d||v?t(e,0):void 0;c{"use strict";var o=r(79730),a=r(74529),i=r(62435),s=r(10623),r=r(34194),l=Math.min,u=[].lastIndexOf,c=!!u&&1/[1].lastIndexOf(1,-0)<0,r=r("lastIndexOf");e.exports=c||!r?function(e){if(c)return o(u,this,arguments)||0;var t=a(this),r=s(t),n=r-1;for((n=1{var n=r(95981),o=r(99813),a=r(53385),i=o("species");e.exports=function(t){return 51<=a||!n(function(){var e=[];return(e.constructor={})[i]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},34194:(e,t,r)=>{"use strict";var n=r(95981);e.exports=function(e,t){var r=[][e];return!!r&&n(function(){r.call(null,t||function(){throw 1},1)})}},46499:(e,t,r)=>{function n(u){return function(e,t,r,n){c(t);var o=p(e),a=f(o),i=h(o),s=u?i-1:0,l=u?-1:1;if(r<2)for(;;){if(s in a){n=a[s],s+=l;break}if(s+=l,u?s<0:i<=s)throw d("Reduce of empty array with no initial value")}for(;u?0<=s:s{var n=r(21899),l=r(59413),u=r(10623),c=r(55449),p=n.Array,f=Math.max;e.exports=function(e,t,r){for(var n=u(e),o=l(t,n),a=l(void 0===r?n:r,n),i=p(f(a-o,0)),s=0;o{r=r(95329);e.exports=r([].slice)},61388:(e,t,r)=>{function v(e,t){var r=e.length,n=w(r/2);if(r<8){for(var o,a,i=e,s=t,l=i.length,u=1;u{var n=r(21899),o=r(1052),a=r(24284),i=r(10941),s=r(99813)("species"),l=n.Array;e.exports=function(e){var t;return o(e)&&(t=e.constructor,(a(t)&&(t===l||o(t.prototype))||i(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?l:t}},64692:(e,t,r)=>{var n=r(5693);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},75196:(e,t,r)=>{var o=r(96059),a=r(7609);e.exports=function(e,t,r,n){try{return n?t(o(r)[0],r[1]):t(r)}catch(t){a(e,"throw",t)}}},21385:(e,t,r)=>{var o=r(99813)("iterator"),a=!1;try{var n=0,i={next:function(){return{done:!!n++}},return:function(){a=!0}};i[o]=function(){return this},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var r=!1;try{var n={};n[o]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r}},82532:(e,t,r)=>{var r=r(95329),n=r({}.toString),o=r("".slice);e.exports=function(e){return o(n(e),8,-1)}},9697:(e,t,r)=>{var n=r(21899),o=r(22885),a=r(57475),i=r(82532),s=r(99813)("toStringTag"),l=n.Object,u="Arguments"==i(function(){return arguments}());e.exports=o?i:function(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,t){try{return e[t]}catch(e){}}(e=l(e),s))?t:u?i(e):"Object"==(t=i(e))&&a(e.callee)?"Arguments":t}},38694:(e,t,r)=>{var n=r(95329)("".replace),r=String(Error("zxcasd").stack),o=/\n\s*at [^:]*:[^\n]*/,a=o.test(r);e.exports=function(e,t){if(a&&"string"==typeof e)for(;t--;)e=n(e,o,"");return e}},85616:(e,t,r)=>{"use strict";var u=r(65988).f,c=r(29290),p=r(87524),f=r(86843),h=r(5743),d=r(93091),i=r(47771),s=r(94431),m=r(55746),g=r(21647).fastKey,r=r(45402),y=r.set,v=r.getterFor;e.exports={getConstructor:function(e,r,n,o){function a(e,t,r){var n,o=l(e),a=i(e,t);return a?a.value=r:(o.last=a={index:n=g(t,!0),key:t,value:r,previous:t=o.last,next:void 0,removed:!1},o.first||(o.first=a),t&&(t.next=a),m?o.size++:e.size++,"F"!==n&&(o.index[n]=a)),e}function i(e,t){var r,e=l(e),n=g(t);if("F"!==n)return e.index[n];for(r=e.first;r;r=r.next)if(r.key==t)return r}var e=e(function(e,t){h(e,s),y(e,{type:r,index:c(null),first:void 0,last:void 0,size:0}),m||(e.size=0),null!=t&&d(t,e[o],{that:e,AS_ENTRIES:n})}),s=e.prototype,l=v(r);return p(s,{clear:function(){for(var e=l(this),t=e.index,r=e.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete t[r.index],r=r.next;e.first=e.last=void 0,m?e.size=0:this.size=0},delete:function(e){var t,r,n=l(this),e=i(this,e);return e&&(t=e.next,r=e.previous,delete n.index[e.index],e.removed=!0,r&&(r.next=t),t&&(t.previous=r),n.first==e&&(n.first=t),n.last==e&&(n.last=r),m?n.size--:this.size--),!!e},forEach:function(e){for(var t,r=l(this),n=f(e,1{"use strict";function l(e){return e.frozen||(e.frozen=new n)}function n(){this.entries=[]}function o(e,t){return s(e.entries,function(e){return e[0]===t})}var a=r(95329),u=r(87524),c=r(21647).getWeakData,p=r(96059),f=r(10941),h=r(5743),d=r(93091),i=r(3610),m=r(90953),r=r(45402),g=r.set,y=r.getterFor,s=i.find,v=i.findIndex,b=a([].splice),w=0;n.prototype={get:function(e){e=o(this,e);if(e)return e[1]},has:function(e){return!!o(this,e)},set:function(e,t){var r=o(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(t){var e=v(this.entries,function(e){return e[0]===t});return~e&&b(this.entries,e,1),!!~e}},e.exports={getConstructor:function(e,r,n,o){function a(e,t,r){var n=s(e),o=c(p(t),!0);return!0===o?l(n).set(t,r):o[n.id]=r,e}var e=e(function(e,t){h(e,i),g(e,{type:r,id:w++,frozen:void 0}),null!=t&&d(t,e[o],{that:e,AS_ENTRIES:n})}),i=e.prototype,s=y(r);return u(i,{delete:function(e){var t=s(this);if(!f(e))return!1;var r=c(e);return!0===r?l(t).delete(e):r&&m(r,t.id)&&delete r[t.id]},has:function(e){var t=s(this);if(!f(e))return!1;var r=c(e);return!0===r?l(t).has(e):r&&m(r,t.id)}}),u(i,n?{get:function(e){var t,r=s(this);if(f(e))return!0===(t=c(e))?l(r).get(e):t?t[r.id]:void 0},set:function(e,t){return a(this,e,t)}}:{add:function(e){return a(this,e,!0)}}),e}}},24683:(e,t,r)=>{"use strict";var f=r(76887),h=r(21899),d=r(21647),m=r(95981),g=r(32029),y=r(93091),v=r(5743),b=r(57475),w=r(10941),E=r(90904),x=r(65988).f,_=r(3610).forEach,S=r(55746),r=r(45402),A=r.set,k=r.getterFor;e.exports=function(r,e,t){var n,a,i,o=-1!==r.indexOf("Map"),s=-1!==r.indexOf("Weak"),l=o?"set":"add",u=h[r],c=u&&u.prototype,p={};return S&&b(u)&&(s||c.forEach&&!m(function(){(new u).entries().next()}))?(a=(n=e(function(e,t){A(v(e,a),{type:r,collection:new u}),null!=t&&y(t,e[l],{that:e,AS_ENTRIES:o})})).prototype,i=k(r),_(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(n){var o="add"==n||"set"==n;n in c&&(!s||"clear"!=n)&&g(a,n,function(e,t){var r=i(this).collection;if(!o&&s&&!w(e))return"get"==n&&void 0;r=r[n](0===e?0:e,t);return o?this:r})}),s||x(a,"size",{configurable:!0,get:function(){return i(this).collection.size}})):(n=t.getConstructor(e,r,o,l),d.enable()),E(n,r,!1,!0),p[r]=n,f({global:!0,forced:!0},p),s||t.setStrong(n,r,o),n}},23489:(e,t,r)=>{var l=r(90953),u=r(31136),c=r(49677),p=r(65988);e.exports=function(e,t,r){for(var n=u(t),o=p.f,a=c.f,i=0;i{var n=r(99813)("match");e.exports=function(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[n]=!1,"/./"[t](r)}catch(t){}}return!1}},64160:(e,t,r)=>{r=r(95981);e.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},31046:(e,t,r)=>{"use strict";function o(){return this}var a=r(35143).IteratorPrototype,i=r(29290),s=r(31887),l=r(90904),u=r(12077);e.exports=function(e,t,r,n){t+=" Iterator";return e.prototype=i(a,{next:s(+!n,r)}),l(e,t,!1,!0),u[t]=o,e}},32029:(e,t,r)=>{var n=r(55746),o=r(65988),a=r(31887);e.exports=n?function(e,t,r){return o.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}},31887:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},55449:(e,t,r)=>{"use strict";var n=r(83894),o=r(65988),a=r(31887);e.exports=function(e,t,r){t=n(t);t in e?o.f(e,t,a(0,r)):e[t]=r}},47771:(e,t,r)=>{"use strict";function m(){return this}var g=r(76887),y=r(78834),v=r(82529),n=r(79417),b=r(57475),w=r(31046),E=r(249),x=r(88929),_=r(90904),S=r(32029),A=r(99754),o=r(99813),k=r(12077),r=r(35143),C=n.PROPER,O=n.CONFIGURABLE,j=r.IteratorPrototype,I=r.BUGGY_SAFARI_ITERATORS,N=o("iterator"),T="values";e.exports=function(e,t,r,n,o,a,i){w(r,t,n);function s(e){if(e===o&&h)return h;if(!I&&e in p)return p[e];switch(e){case"keys":case T:case"entries":return function(){return new r(this,e)}}return function(){return new r(this)}}var l,u,n=t+" Iterator",c=!1,p=e.prototype,f=p[N]||p["@@iterator"]||o&&p[o],h=!I&&f||s(o),d="Array"==t&&p.entries||f;if(d&&(d=E(d.call(new e)))!==Object.prototype&&d.next&&(v||E(d)===j||(x?x(d,j):b(d[N])||A(d,N,m)),_(d,n,!0,!0),v&&(k[n]=m)),C&&o==T&&f&&f.name!==T&&(!v&&O?S(p,"name",T):(c=!0,h=function(){return y(f,this)})),o)if(l={values:s(T),keys:a?h:s("keys"),entries:s("entries")},i)for(u in l)!I&&!c&&u in p||A(p,u,l[u]);else g({target:t,proto:!0,forced:I||c},l);return v&&!i||p[N]===h||A(p,N,h,{name:o}),k[t]=h,l}},66349:(e,t,r)=>{var n=r(54058),o=r(90953),a=r(11477),i=r(65988).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||i(t,e,{value:a.f(e)})}},55746:(e,t,r)=>{r=r(95981);e.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},61333:(e,t,r)=>{var n=r(21899),r=r(10941),o=n.document,a=r(o)&&r(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},63281:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},34342:(e,t,r)=>{r=r(2861).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},23321:e=>{e.exports="object"==typeof window},81046:(e,t,r)=>{r=r(2861);e.exports=/MSIE|Trident/.test(r)},4470:(e,t,r)=>{var n=r(2861),r=r(21899);e.exports=/ipad|iphone|ipod/i.test(n)&&void 0!==r.Pebble},22749:(e,t,r)=>{r=r(2861);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},6049:(e,t,r)=>{var n=r(82532),r=r(21899);e.exports="process"==n(r.process)},58045:(e,t,r)=>{r=r(2861);e.exports=/web0s(?!.*chrome)/i.test(r)},2861:(e,t,r)=>{r=r(626);e.exports=r("navigator","userAgent")||""},53385:(e,t,r)=>{var n,o,a=r(21899),r=r(2861),i=a.process,a=a.Deno,i=i&&i.versions||a&&a.version,a=i&&i.v8;!(o=a?0<(n=a.split("."))[0]&&n[0]<4?1:+(n[0]+n[1]):o)&&r&&(!(n=r.match(/Edge\/(\d+)/))||74<=n[1])&&(n=r.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o},18938:(e,t,r)=>{r=r(2861).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},35703:(e,t,r)=>{var n=r(54058);e.exports=function(e){return n[e+"Prototype"]}},56759:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},18780:(e,t,r)=>{var n=r(95981),o=r(31887);e.exports=!n(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)})},76887:(e,t,r)=>{"use strict";function d(n){function o(e,t,r){if(this instanceof o){switch(arguments.length){case 0:return new n;case 1:return new n(e);case 2:return new n(e,t)}return new n(e,t,r)}return a(n,this,arguments)}return o.prototype=n.prototype,o}var m=r(21899),a=r(79730),g=r(95329),y=r(57475),v=r(49677).f,b=r(37252),w=r(54058),E=r(86843),x=r(32029),_=r(90953);e.exports=function(e,t){var r,n,o,a,i,s=e.target,l=e.global,u=e.stat,c=e.proto,p=l?m:u?m[s]:(m[s]||{}).prototype,f=l?w:w[s]||x(w,s,{})[s],h=f.prototype;for(r in t)a=!b(l?r:s+(u?".":"#")+r,e.forced)&&p&&_(p,r),o=f[r],a&&(i=e.noTargetGet?(i=v(p,r))&&i.value:p[r]),n=a&&i?i:t[r],a&&typeof o==typeof n||(a=e.bind&&a?E(n,m):e.wrap&&a?d(n):c&&y(n)?g(n):n,(e.sham||n&&n.sham||o&&o.sham)&&x(a,"sham",!0),x(f,r,a),c&&(_(w,o=s+"Prototype")||x(w,o,{}),x(w[o],r,n),e.real&&h&&!h[r]&&x(h,r,n)))}},95981:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},45602:(e,t,r)=>{r=r(95981);e.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},79730:(e,t,r)=>{var r=r(18285),n=Function.prototype,o=n.apply,a=n.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},86843:(e,t,r)=>{var n=r(95329),o=r(24883),a=r(18285),i=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:a?i(e,t):function(){return e.apply(t,arguments)}}},18285:(e,t,r)=>{r=r(95981);e.exports=!r(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},98308:(e,t,r)=>{"use strict";var n=r(21899),o=r(95329),a=r(24883),c=r(10941),p=r(90953),f=r(93765),r=r(18285),h=n.Function,d=o([].concat),m=o([].join),g={};e.exports=r?h.bind:function(i){var s=a(this),e=s.prototype,l=f(arguments,1),u=function(){var e=d(l,f(arguments));if(this instanceof u){var t=s,r=e.length,n=e;if(!p(g,r)){for(var o=[],a=0;a{var r=r(18285),n=Function.prototype.call;e.exports=r?n.bind(n):function(){return n.apply(n,arguments)}},79417:(e,t,r)=>{var n=r(55746),r=r(90953),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,r=r(o,"name"),i=r&&"something"===function(){}.name,n=r&&(!n||a(o,"name").configurable);e.exports={EXISTS:r,PROPER:i,CONFIGURABLE:n}},95329:(e,t,r)=>{var r=r(18285),n=Function.prototype,o=n.bind,a=n.call,i=r&&o.bind(a,a);e.exports=r?function(e){return e&&i(e)}:function(e){return e&&function(){return a.apply(e,arguments)}}},626:(e,t,r)=>{function n(e){return i(e)?e:void 0}var o=r(54058),a=r(21899),i=r(57475);e.exports=function(e,t){return arguments.length<2?n(o[e])||n(a[e]):o[e]&&o[e][t]||a[e]&&a[e][t]}},22902:(e,t,r)=>{var n=r(9697),o=r(14229),a=r(12077),i=r(99813)("iterator");e.exports=function(e){if(null!=e)return o(e,i)||o(e,"@@iterator")||a[n(e)]}},53476:(e,t,r)=>{var n=r(21899),o=r(78834),a=r(24883),i=r(96059),s=r(69826),l=r(22902),u=n.TypeError;e.exports=function(e,t){var r=arguments.length<2?l(e):t;if(a(r))return i(o(r,e));throw u(s(e)+" is not iterable")}},14229:(e,t,r)=>{var n=r(24883);e.exports=function(e,t){e=e[t];return null==e?void 0:n(e)}},21899:(e,t,r)=>{function n(e){return e&&e.Math==Math&&e}e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},90953:(e,t,r)=>{var n=r(95329),o=r(89678),a=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(o(e),t)}},27748:e=>{e.exports={}},34845:(e,t,r)=>{var n=r(21899);e.exports=function(e,t){var r=n.console;r&&r.error&&(1==arguments.length?r.error(e):r.error(e,t))}},15463:(e,t,r)=>{r=r(626);e.exports=r("document","documentElement")},2840:(e,t,r)=>{var n=r(55746),o=r(95981),a=r(61333);e.exports=!n&&!o(function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a})},37026:(e,t,r)=>{var n=r(21899),o=r(95329),a=r(95981),i=r(82532),s=n.Object,l=o("".split);e.exports=a(function(){return!s("z").propertyIsEnumerable(0)})?function(e){return"String"==i(e)?l(e,""):s(e)}:s},81302:(e,t,r)=>{var n=r(95329),o=r(57475),r=r(63030),a=n(Function.toString);o(r.inspectSource)||(r.inspectSource=function(e){return a(e)}),e.exports=r.inspectSource},53794:(e,t,r)=>{var n=r(10941),o=r(32029);e.exports=function(e,t){n(t)&&"cause"in t&&o(e,"cause",t.cause)}},21647:(e,t,r)=>{function n(e){u(e,g,{value:{objectID:"O"+y++,weakData:{}}})}var i=r(76887),s=r(95329),o=r(27748),a=r(10941),l=r(90953),u=r(65988).f,c=r(10946),p=r(684),f=r(91584),h=r(99418),d=r(45602),m=!1,g=h("meta"),y=0,v=e.exports={enable:function(){v.enable=function(){},m=!0;var o=c.f,a=s([].splice),e={};e[g]=1,o(e).length&&(c.f=function(e){for(var t=o(e),r=0,n=t.length;r{var n,o,a,i,s,l,u,c,p=r(38019),f=r(21899),h=r(95329),d=r(10941),m=r(32029),g=r(90953),y=r(63030),v=r(44262),r=r(27748),b="Object already initialized",w=f.TypeError,f=f.WeakMap;u=p||y.state?(n=y.state||(y.state=new f),o=h(n.get),a=h(n.has),i=h(n.set),s=function(e,t){if(a(n,e))throw new w(b);return t.facade=e,i(n,e,t),t},l=function(e){return o(n,e)||{}},function(e){return a(n,e)}):(r[c=v("state")]=!0,s=function(e,t){if(g(e,c))throw new w(b);return t.facade=e,m(e,c,t),t},l=function(e){return g(e,c)?e[c]:{}},function(e){return g(e,c)}),e.exports={set:s,get:l,has:u,enforce:function(e){return u(e)?l(e):s(e,{})},getterFor:function(t){return function(e){if(d(e)&&(e=l(e)).type===t)return e;throw w("Incompatible receiver, "+t+" required")}}}},6782:(e,t,r)=>{var n=r(99813),o=r(12077),a=n("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||i[a]===e)}},1052:(e,t,r)=>{var n=r(82532);e.exports=Array.isArray||function(e){return"Array"==n(e)}},57475:e=>{e.exports=function(e){return"function"==typeof e}},24284:(e,t,r)=>{function n(){}function o(e){if(!l(e))return!1;try{return h(n,f,e),!0}catch(e){return!1}}function a(e){if(!l(e))return!1;switch(u(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return g||!!m(d,p(e))}catch(e){return!0}}var i=r(95329),s=r(95981),l=r(57475),u=r(9697),c=r(626),p=r(81302),f=[],h=c("Reflect","construct"),d=/^\s*(?:class|function)\b/,m=i(d.exec),g=!d.exec(n);a.sham=!0,e.exports=!h||s(function(){var e;return o(o.call)||!o(Object)||!o(function(){e=!0})||e})?a:o},37252:(e,t,r)=>{function n(e,t){return(e=l[s(e)])==c||e!=u&&(a(t)?o(t):!!t)}var o=r(95981),a=r(57475),i=/#|\.prototype\./,s=n.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=n.data={},u=n.NATIVE="N",c=n.POLYFILL="P";e.exports=n},10941:(e,t,r)=>{var n=r(57475);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},82529:e=>{e.exports=!0},60685:(e,t,r)=>{var n=r(10941),o=r(82532),a=r(99813)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==o(e))}},56664:(e,t,r)=>{var n=r(21899),o=r(626),a=r(57475),i=r(7046),r=r(32302),s=n.Object;e.exports=r?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return a(t)&&i(t.prototype,s(e))}},93091:(e,t,r)=>{function g(e,t){this.stopped=e,this.result=t}var n=r(21899),y=r(86843),v=r(78834),b=r(96059),w=r(69826),E=r(6782),x=r(10623),_=r(7046),S=r(53476),A=r(22902),k=r(7609),C=n.TypeError,O=g.prototype;e.exports=function(e,t,r){function n(e){return a&&k(a,"normal",e),new g(!0,e)}function o(e){return f?(b(e),d?m(e[0],e[1],n):m(e[0],e[1])):d?m(e,n):m(e)}var a,i,s,l,u,c,p=r&&r.that,f=!(!r||!r.AS_ENTRIES),h=!(!r||!r.IS_ITERATOR),d=!(!r||!r.INTERRUPTED),m=y(t,p);if(h)a=e;else{if(!(r=A(e)))throw C(w(e)+" is not iterable");if(E(r)){for(i=0,s=x(e);i{var a=r(78834),i=r(96059),s=r(14229);e.exports=function(e,t,r){var n,o;i(e);try{if(!(n=s(e,"return"))){if("throw"===t)throw r;return r}n=a(n,e)}catch(e){o=!0,n=e}if("throw"===t)throw r;if(o)throw n;return i(n),r}},35143:(e,t,r)=>{"use strict";var n,o,a=r(95981),i=r(57475),s=r(29290),l=r(249),u=r(99754),c=r(99813),r=r(82529),p=c("iterator"),c=!1;[].keys&&("next"in(o=[].keys())?(l=l(l(o)))!==Object.prototype&&(n=l):c=!0),null==n||a(function(){var e={};return n[p].call(e)!==e})?n={}:r&&(n=s(n)),i(n[p])||u(n,p,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:c}},12077:e=>{e.exports={}},10623:(e,t,r)=>{var n=r(43057);e.exports=function(e){return n(e.length)}},66132:(e,t,r)=>{var n,o,a,i,s,l,u,c=r(21899),p=r(86843),f=r(49677).f,h=r(42941).set,d=r(22749),m=r(4470),g=r(58045),y=r(6049),r=c.MutationObserver||c.WebKitMutationObserver,v=c.document,b=c.process,w=c.Promise,f=f(c,"queueMicrotask"),f=f&&f.value;f||(n=function(){var e,t;for(y&&(e=b.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?i():a=void 0,e}}a=void 0,e&&e.enter()},i=d||y||g||!r||!v?!m&&w&&w.resolve?((d=w.resolve(void 0)).constructor=w,u=p(d.then,d),function(){u(n)}):y?function(){b.nextTick(n)}:(h=p(h,c),function(){h(n)}):(s=!0,l=v.createTextNode(""),new r(n).observe(l,{characterData:!0}),function(){l.data=s=!s})),e.exports=f||function(e){e={fn:e,next:void 0};a&&(a.next=e),o||(o=e,i()),a=e}},19297:(e,t,r)=>{r=r(21899);e.exports=r.Promise},72497:(e,t,r)=>{var n=r(53385),r=r(95981);e.exports=!!Object.getOwnPropertySymbols&&!r(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},28468:(e,t,r)=>{var n=r(95981),o=r(99813),a=r(82529),i=o("iterator");e.exports=!n(function(){var e=new URL("b?a=1&b=2&c=3","http://a"),r=e.searchParams,n="";return e.pathname="c%20d",r.forEach(function(e,t){r.delete("b"),n+=t+e}),a&&!e.toJSON||!r.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==r.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!r[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host})},38019:(e,t,r)=>{var n=r(21899),o=r(57475),r=r(81302),n=n.WeakMap;e.exports=o(n)&&/native code/.test(r(n))},69520:(e,t,r)=>{"use strict";function n(e){var r,n;this.promise=new e(function(e,t){if(void 0!==r||void 0!==n)throw TypeError("Bad Promise constructor");r=e,n=t}),this.resolve=o(r),this.reject=o(n)}var o=r(24883);e.exports.f=function(e){return new n(e)}},14649:(e,t,r)=>{var n=r(85803);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},70344:(e,t,r)=>{var n=r(21899),o=r(60685),a=n.TypeError;e.exports=function(e){if(o(e))throw a("The method doesn't accept regular expressions");return e}},24420:(e,t,r)=>{"use strict";var f=r(55746),n=r(95329),h=r(78834),o=r(95981),d=r(14771),m=r(87857),g=r(36760),y=r(89678),v=r(37026),a=Object.assign,i=Object.defineProperty,b=n([].concat);e.exports=!a||o(function(){if(f&&1!==a({b:1},a(i({},"a",{enumerable:!0,get:function(){i(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(e){t[e]=e}),7!=a({},e)[r]||d(a({},t)).join("")!=n})?function(e,t){for(var r=y(e),n=arguments.length,o=1,a=m.f,i=g.f;o{function n(){}function o(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t}var a,i=r(96059),s=r(59938),l=r(56759),u=r(27748),c=r(15463),p=r(61333),f=r(44262)("IE_PROTO"),h=function(e){return"