(c=t[c]-u[c])?"right":"left",n[h=0>c?"left":"right"]&&(p=(h=e(t,n[h],a+1,l))[s]h;)f--;this.updateParallelArrays(d,"splice",f,0,0),this.updateParallelArrays(d,f),l&&d.name&&(l[h]=d.name),c.splice(f,0,e),(u||this.processedData)&&(this.data.splice(f,0,null),this.processData()),"point"===i.legendType&&this.generatePoints(),n&&(s[0]&&s[0].remove?s[0].remove(!1):(s.shift(),this.updateParallelArrays(d,"shift"),c.shift())),!1!==r&&_(this,"addPoint",{point:d}),this.isDirtyData=this.isDirty=!0,t&&a.redraw(o)},e.prototype.removePoint=function(e,t,n){var o=this,r=o.data,i=r[e],s=o.points,a=o.chart,l=function(){s&&s.length===r.length&&s.splice(e,1),r.splice(e,1),o.options.data.splice(e,1),o.updateParallelArrays(i||{series:o},"splice",e,1),i&&i.destroy(),o.isDirty=!0,o.isDirtyData=!0,t&&a.redraw()};p(n,a),t=I(t,!0),i?i.firePointEvent("remove",null,l):l()},e.prototype.remove=function(e,t,n,o){function r(){i.destroy(o),s.isDirtyLegend=s.isDirtyBox=!0,s.linkSeries(),I(e,!0)&&s.redraw(t)}var i=this,s=i.chart;!1!==n?_(i,"remove",null,r):r()},e.prototype.update=function(e,t){e=O(e,this.userOptions),_(this,"update",{options:e});var n,o=this,r=o.chart,i=o.userOptions,s=o.initialType||o.type,a=r.options.plotOptions,l=v[s].prototype,u=o.finishedAnimating&&{animation:!1},c={},p=["eventOptions","navigatorSeries","baseSeries"],d=e.type||i.type||r.options.chart.type,h=!(this.hasDerivedData||d&&d!==this.type||"undefined"!==typeof e.pointStart||"undefined"!==typeof e.pointInterval||"undefined"!==typeof e.relativeXValue||e.joinBy||e.mapData||o.hasOptionChanged("dataGrouping")||o.hasOptionChanged("pointStart")||o.hasOptionChanged("pointInterval")||o.hasOptionChanged("pointIntervalUnit")||o.hasOptionChanged("keys"));if(d=d||s,h&&(p.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==e.visible&&p.push("area","graph"),o.parallelArrays.forEach((function(e){p.push(e+"Data")})),e.data&&(e.dataSorting&&x(o.options.dataSorting,e.dataSorting),this.setData(e.data,!1))),e=L(i,u,{index:"undefined"===typeof i.index?o.index:i.index,pointStart:I(a&&a.series&&a.series.pointStart,i.pointStart,o.xData[0])},!h&&{data:o.options.data},e),h&&e.data&&(e.data=o.options.data),(p=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(p)).forEach((function(e){p[e]=o[e],delete o[e]})),a=!1,v[d]){if(a=d!==o.type,o.remove(!1,!1,!1,!0),a)if(Object.setPrototypeOf)Object.setPrototypeOf(o,v[d].prototype);else{for(n in u=Object.hasOwnProperty.call(o,"hcEvents")&&o.hcEvents,l)o[n]=void 0;x(o,v[d].prototype),u?o.hcEvents=u:delete o.hcEvents}}else P(17,!0,r,{missingModuleFor:d});if(p.forEach((function(e){o[e]=p[e]})),o.init(r,e),h&&this.points){var f=o.options;!1===f.visible?(c.graphic=1,c.dataLabel=1):o._hasPointLabels||(e=f.marker,l=f.dataLabels,!e||!1!==e.enabled&&(i.marker&&i.marker.symbol)===e.symbol||(c.graphic=1),l&&!1===l.enabled&&(c.dataLabel=1)),this.points.forEach((function(e){e&&e.series&&(e.resolveColor(),Object.keys(c).length&&e.destroyElements(c),!1===f.showInLegend&&e.legendItem&&r.legend.destroyItem(e))}),this)}o.initialType=s,r.linkSeries(),a&&o.linkedSeries.length&&(o.isDirtyData=!0),_(this,"afterUpdate"),I(t,!0)&&r.redraw(!!h&&void 0)},e.prototype.setName=function(e){this.name=this.options.name=this.userOptions.name=e,this.chart.isDirtyLegend=!0},e.prototype.hasOptionChanged=function(e){var t=this.options[e],n=this.chart.options.plotOptions,o=this.userOptions[e];return o?t!==o:t!==I(n&&n[this.type]&&n[this.type][e],n&&n.series&&n.series[e],t)},e.prototype.onMouseOver=function(){var e=this.chart,t=e.hoverSeries;e.pointer.setHoverChartIndex(),t&&t!==this&&t.onMouseOut(),this.options.events.mouseOver&&_(this,"mouseOver"),this.setState("hover"),e.hoverSeries=this},e.prototype.onMouseOut=function(){var e=this.options,t=this.chart,n=t.tooltip,o=t.hoverPoint;t.hoverSeries=null,o&&o.onMouseOut(),this&&e.events.mouseOut&&_(this,"mouseOut"),!n||this.stickyTracking||n.shared&&!this.noSharedTooltip||n.hide(),t.series.forEach((function(e){e.setState("",!0)}))},e.prototype.setState=function(e,t){var n=this,o=n.options,r=n.graph,i=o.inactiveOtherPoints,s=o.states,a=I(s[e||"normal"]&&s[e||"normal"].animation,n.chart.options.chart.animation),l=o.lineWidth,u=0,c=o.opacity;if(e=e||"",n.state!==e&&([n.group,n.markerGroup,n.dataLabelsGroup].forEach((function(t){t&&(n.state&&t.removeClass("highcharts-series-"+n.state),e&&t.addClass("highcharts-series-"+e))})),n.state=e,!n.chart.styledMode)){if(s[e]&&!1===s[e].enabled)return;if(e&&(l=s[e].lineWidth||l+(s[e].lineWidthPlus||0),c=I(s[e].opacity,c)),r&&!r.dashstyle)for(o={"stroke-width":l},r.animate(o,a);n["zone-graph-"+u];)n["zone-graph-"+u].animate(o,a),u+=1;i||[n.group,n.markerGroup,n.dataLabelsGroup,n.labelBySeries].forEach((function(e){e&&e.animate({opacity:c},a)}))}t&&i&&n.points&&n.setAllPointsToState(e||void 0)},e.prototype.setAllPointsToState=function(e){this.points.forEach((function(t){t.setState&&t.setState(e)}))},e.prototype.setVisible=function(e,t){var n=this,o=n.chart,r=n.legendItem,i=o.options.chart.ignoreHiddenSeries,s=n.visible,a=(n.visible=e=n.options.visible=n.userOptions.visible="undefined"===typeof e?!s:e)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(e){n[e]&&n[e][a]()})),o.hoverSeries!==n&&(o.hoverPoint&&o.hoverPoint.series)!==n||n.onMouseOut(),r&&o.legend.colorizeItem(n,e),n.isDirty=!0,n.options.stacking&&o.series.forEach((function(e){e.options.stacking&&e.visible&&(e.isDirty=!0)})),n.linkedSeries.forEach((function(t){t.setVisible(e,!1)})),i&&(o.isDirtyBox=!0),_(n,a),!1!==t&&o.redraw()},e.prototype.show=function(){this.setVisible(!0)},e.prototype.hide=function(){this.setVisible(!1)},e.prototype.select=function(e){this.selected=e=this.options.selected="undefined"===typeof e?!this.selected:e,this.checkbox&&(this.checkbox.checked=e),_(this,e?"select":"unselect")},e.prototype.shouldShowTooltip=function(e,t,n){return void 0===n&&(n={}),n.series=this,n.visiblePlotOnly=!0,this.chart.isInsidePlot(e,t,n)},e.defaultOptions=s,e}(),x(e.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:r.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:i,requireSorting:!0,sorted:!0}),a.series=e,e})),t(n,"Extensions/ScrollablePlotArea.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Chart/Chart.js"],n["Core/Series/Series.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n,o,r,i){var s=e.stop,a=i.addEvent,l=i.createElement,u=i.defined,c=i.merge,p=i.pick;a(n,"afterSetChartSize",(function(e){var n=this.options.chart.scrollablePlotArea,o=n&&n.minWidth;if(n=n&&n.minHeight,!this.renderer.forExport){if(o){if(this.scrollablePixelsX=o=Math.max(0,o-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.width=this.plotWidth+=o,this.inverted?this.clipBox.height+=o:this.clipBox.width+=o;var r={1:{name:"right",value:o}}}}else n&&(this.scrollablePixelsY=o=Math.max(0,n-this.chartHeight),u(o)&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.height=this.plotHeight+=o,this.inverted?this.clipBox.width+=o:this.clipBox.height+=o,r={2:{name:"bottom",value:o}}));r&&!e.skipAxes&&this.axes.forEach((function(e){r[e.side]?e.getPlotLinePath=function(){var n=r[e.side].name,o=this[n];this[n]=o-r[e.side].value;var i=t.prototype.getPlotLinePath.apply(this,arguments);return this[n]=o,i}:(e.setAxisSize(),e.setAxisTranslation())}))}})),a(n,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()})),n.prototype.setUpScrolling=function(){var e=this,t={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(t.overflowX="auto"),this.scrollablePixelsY&&(t.overflowY="auto"),this.scrollingParent=l("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=l("div",{className:"highcharts-scrolling"},t,this.scrollingParent),a(this.scrollingContainer,"scroll",(function(){e.pointer&&delete e.pointer.chartPosition})),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},n.prototype.moveFixedElements=function(){var e,t=this.container,n=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?e=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?e=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(e=".highcharts-yaxis"),e&&o.push(e+":not(.highcharts-radial-axis)",e+"-labels:not(.highcharts-radial-axis-labels)"),o.forEach((function(e){[].forEach.call(t.querySelectorAll(e),(function(e){(e.namespaceURI===n.SVG_NS?n.box:n.box.parentNode).appendChild(e),e.style.pointerEvents="auto"}))}))},n.prototype.applyFixed=function(){var e=!this.fixedDiv,t=this.options.chart,n=t.scrollablePlotArea,o=r.getRendererType();e?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(t.style&&t.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=t=new o(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=t.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":p(n.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),a(this,"afterShowResetZoom",this.moveFixedElements),a(this,"afterApplyDrilldown",this.moveFixedElements),a(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||e)&&(this.scrollableDirty=!1,this.moveFixedElements()),t=this.chartWidth+(this.scrollablePixelsX||0),o=this.chartHeight+(this.scrollablePixelsY||0),s(this.container),this.container.style.width=t+"px",this.container.style.height=o+"px",this.renderer.boxWrapper.attr({width:t,height:o,viewBox:[0,0,t,o].join(" ")}),this.chartBackground.attr({width:t,height:o}),this.scrollingContainer.style.height=this.chartHeight+"px",e&&(n.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*n.scrollPositionX),n.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*n.scrollPositionY)),o=this.axisOffset,e=this.plotTop-o[0]-1,n=this.plotLeft-o[3]-1,t=this.plotTop+this.plotHeight+o[2]+1,o=this.plotLeft+this.plotWidth+o[1]+1;var i=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),u=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);e=this.scrollablePixelsX?[["M",0,e],["L",this.plotLeft-1,e],["L",this.plotLeft-1,t],["L",0,t],["Z"],["M",i,e],["L",this.chartWidth,e],["L",this.chartWidth,t],["L",i,t],["Z"]]:this.scrollablePixelsY?[["M",n,0],["L",n,this.plotTop-1],["L",o,this.plotTop-1],["L",o,0],["Z"],["M",n,u],["L",n,this.chartHeight],["L",o,this.chartHeight],["L",o,u],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:e})},a(t,"afterInit",(function(){this.chart.scrollableDirty=!0})),a(o,"show",(function(){this.chart.scrollableDirty=!0}))})),t(n,"Core/Axis/StackingAxis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Utilities.js"]],(function(e,t,n){var o,r=e.getDeferredAnimation,i=n.addEvent,s=n.destroyObjectProperties,a=n.fireEvent,l=n.isNumber,u=n.objectEach;return function(e){function t(){var e=this.stacking;if(e){var t=e.stacks;u(t,(function(e,n){s(e),t[n]=null})),e&&e.stackTotalGroup&&e.stackTotalGroup.destroy()}}function n(){this.stacking||(this.stacking=new c(this))}var o=[];e.compose=function(e){return-1===o.indexOf(e)&&(o.push(e),i(e,"init",n),i(e,"destroy",t)),e};var c=function(){function e(e){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=e}return e.prototype.buildStacks=function(){var e,t=this.axis,n=t.series,o=t.options.reversedStacks,r=n.length;if(!t.isXAxis){for(this.usePercentage=!1,e=r;e--;){var i=n[o?e:r-e-1];i.setStackedPoints(),i.setGroupedPoints()}for(e=0;ei&&t.shadow)),a&&(a.startX=n.xMap,a.isArea=n.isArea)}))},n.prototype.getGraphPath=function(e,t,n){var o,i=this,s=i.options,a=[],l=[],u=s.step,c=(e=e||i.points).reversed;return c&&e.reverse(),(u={right:1,center:2}[u]||u&&3)&&c&&(u=4-u),(e=this.getValidPoints(e,!1,!(s.connectNulls&&!t&&!n))).forEach((function(c,p){var d=c.plotX,h=c.plotY,f=e[p-1];(c.leftCliff||f&&f.rightCliff)&&!n&&(o=!0),c.isNull&&!r(t)&&0e&&c>r?p=2*r-(c=Math.max(e,r)):cn&&p>r?c=2*r-(p=Math.max(n,r)):p=Math.abs(t)&&.5e.closestPointRange*e.xAxis.transA;o=e.borderWidth=b(n.borderWidth,o?0:1);var i=e.xAxis,s=e.yAxis,a=n.threshold,l=e.translatedThreshold=s.getThreshold(a),u=b(n.minPointLength,5),c=e.getColumnMetrics(),d=c.width,f=e.pointXOffset=c.offset,g=e.dataMin,y=e.dataMax,m=e.barW=Math.max(d,1+2*o);t.inverted&&(l-=.5),n.pointPadding&&(m=Math.ceil(m)),r.prototype.translate.apply(e),e.points.forEach((function(o){var r=b(o.yBottom,l),C=999+Math.abs(r),w=o.plotX||0;C=p(o.plotY,-C,s.len+C);var O=Math.min(C,r),E=Math.max(C,r)-O,S=d,R=w+f,P=m;u&&Math.abs(E)u?r-u:l-(w?u:0)),h(o.options.pointWidth)&&(S=P=Math.ceil(o.options.pointWidth),R-=Math.round((S-d)/2)),n.centerInCategory&&(R=e.adjustForMissingColumns(R,S,o,c)),o.barX=R,o.pointWidth=S,o.tooltipPos=t.inverted?[p(s.len+s.pos-t.plotLeft-C,s.pos-t.plotLeft,s.len+s.pos-t.plotLeft),i.len+i.pos-t.plotTop-R-P/2,E]:[i.left-t.plotLeft+R+P/2,p(C+s.pos-t.plotTop,s.pos-t.plotTop,s.len+s.pos-t.plotTop),E],o.shapeType=e.pointClass.prototype.shapeType||"rect",o.shapeArgs=e.crispCol.apply(e,o.isNull?[R,l,P,0]:[R,O,P,E])}))},t.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},t.prototype.pointAttribs=function(e,t){var n=this.options,o=this.pointAttrToOptions||{},r=o.stroke||"borderColor",i=o["stroke-width"]||"borderWidth",s=e&&e.color||this.color,a=e&&e[r]||n[r]||s;o=e&&e.options.dashStyle||n.dashStyle;var l=e&&e[i]||n[i]||this[i]||0,c=b(e&&e.opacity,n.opacity,1);if(e&&this.zones.length){var p=e.getZone();s=e.options.color||p&&(p.color||e.nonZonedColor)||this.color,p&&(a=p.borderColor||a,o=p.dashStyle||o,l=p.borderWidth||l)}return t&&e&&(t=(e=m(n.states[t],e.options.states&&e.options.states[t]||{})).brightness,s=e.color||"undefined"!==typeof t&&u(s).brighten(e.brightness).get()||s,a=e[r]||a,l=e[i]||l,o=e.dashStyle||o,c=b(e.opacity,c)),r={fill:s,stroke:a,"stroke-width":l,opacity:c},o&&(r.dashstyle=o),r},t.prototype.drawPoints=function(){var e,t=this,n=this.chart,o=t.options,r=n.renderer,i=o.animationLimit||250;t.points.forEach((function(s){var a=s.graphic,l=!!a,u=a&&n.pointCount"===t&&e>n||"<"===t&&e="===t&&e>=n||"<="===t&&e<=n||"=="===t&&e==n||"==="===t&&e===n)}(o,r),u=o.connectors?o.connectors[a]:o.connector,h=o.dataLabels?o.dataLabels[a]:o.dataLabel,f=!h,g=d(r.distance,o.labelDistance);if(l){var y=o.getLabelConfig(),m=d(r[o.formatPrefix+"Format"],r.format);y=s(m)?i(m,y,t):(r[o.formatPrefix+"Formatter"]||r.formatter).call(y,r),m=r.style;var b=r.rotation;t.styledMode||(m.color=d(r.color,m.color,e.color,"#000000"),"contrast"===m.color?(o.contrastColor=c.getContrast(o.color||e.color),m.color=!s(g)&&r.inside||0>g||n.stacking?o.contrastColor:"#000000"):delete o.contrastColor,n.cursor&&(m.cursor=n.cursor));var C={r:r.borderRadius||0,rotation:b,padding:r.padding,zIndex:1};t.styledMode||(C.fill=r.backgroundColor,C.stroke=r.borderColor,C["stroke-width"]=r.borderWidth),p(C,(function(e,t){"undefined"===typeof e&&delete C[t]}))}!h||l&&s(y)&&!!h.div===!!r.useHTML&&(h.rotation&&r.rotation||h.rotation===r.rotation)||(f=!0,o.dataLabel=h=o.dataLabel&&o.dataLabel.destroy(),o.dataLabels&&(1===o.dataLabels.length?delete o.dataLabels:delete o.dataLabels[a]),a||delete o.dataLabel,u&&(o.connector=o.connector.destroy(),o.connectors&&(1===o.connectors.length?delete o.connectors:delete o.connectors[a]))),l&&s(y)?(h?C.text=y:(o.dataLabels=o.dataLabels||[],h=o.dataLabels[a]=b?c.text(y,0,0,r.useHTML).addClass("highcharts-data-label"):c.label(y,0,0,r.shape,null,null,r.useHTML,null,"data-label"),a||(o.dataLabel=h),h.addClass(" highcharts-data-label-color-"+o.colorIndex+" "+(r.className||"")+(r.useHTML?" highcharts-tracker":""))),h.options=r,h.attr(C),t.styledMode||h.css(m).shadow(r.shadow),h.added||h.add(v),r.textPath&&!r.useHTML&&(h.setTextPath(o.getDataLabelPath&&o.getDataLabelPath(h)||o.graphic,r.textPath),o.dataLabelPath&&!r.textPath.enabled&&(o.dataLabelPath=o.dataLabelPath.destroy())),e.alignDataLabel(o,h,r,null,f)):h&&h.hide()}))}))}l(this,"afterDrawDataLabels")}function o(e,t,n,o,r,i){var s=this.chart,a=t.align,l=t.verticalAlign,u=e.box?0:e.padding||0,c=t.x;c=void 0===c?0:c;var p=t.y;p=void 0===p?0:p;var d=(n.x||0)+u;if(0>d){"right"===a&&0<=c?(t.align="left",t.inside=!0):c-=d;var h=!0}return(d=(n.x||0)+o.width-u)>s.plotWidth&&("left"===a&&0>=c?(t.align="right",t.inside=!0):c+=s.plotWidth-d,h=!0),0>(d=n.y+u)&&("bottom"===l&&0<=p?(t.verticalAlign="top",t.inside=!0):p-=d,h=!0),(d=(n.y||0)+o.height-u)>s.plotHeight&&("top"===l&&0>=p?(t.verticalAlign="bottom",t.inside=!0):p+=s.plotHeight-d,h=!0),h&&(t.x=c,t.y=p,e.placed=!i,e.align(t,void 0,r)),h}function f(e,t){var n,o=[];if(u(e)&&!u(t))o=e.map((function(e){return c(e,t)}));else if(u(t)&&!u(e))o=t.map((function(t){return c(e,t)}));else if(u(e)||u(t))for(n=Math.max(e.length,t.length);n--;)o[n]=c(e[n],t[n]);else o=c(e,t);return o}function g(e,t,n,o,r){var i=this.chart,s=i.inverted,a=this.xAxis,l=a.reversed,u=s?t.height/2:t.width/2;e=(e=e.pointWidth)?e/2:0,t.startXPos=s?r.x:l?-u-e:a.width-u+e,t.startYPos=s?l?this.yAxis.height-u+e:-u-e:r.y,o?"hidden"===t.visibility&&(t.show(),t.attr({opacity:0}).animate({opacity:1})):t.attr({opacity:1}).animate({opacity:0},void 0,t.hide),i.hasRendered&&(n&&t.attr({x:t.startXPos,y:t.startYPos}),t.placed=!0)}var y=[];e.compose=function(e){if(-1===y.indexOf(e)){var r=e.prototype;y.push(e),r.alignDataLabel=t,r.drawDataLabels=n,r.justifyDataLabel=o,r.setDataLabelStartPos=g}}}(o||(o={})),o})),t(n,"Series/Column/ColumnDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n){var o,r=t.series,i=n.merge,s=n.pick;return function(t){function n(e,t,n,o,a){var l=this.chart.inverted,u=e.series,c=(u.xAxis?u.xAxis.len:this.chart.plotSizeX)||0;u=(u.yAxis?u.yAxis.len:this.chart.plotSizeY)||0;var p=e.dlBox||e.shapeArgs,d=s(e.below,e.plotY>s(this.translatedThreshold,u)),h=s(n.inside,!!this.options.stacking);p&&(0>(o=i(p)).y&&(o.height+=o.y,o.y=0),0<(p=o.y+o.height-u)&&p\u25cf {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}}),t}(i)).prototype,{drawTracker:r.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),o(t,"afterTranslate",(function(){this.applyJitter()})),e.registerSeriesType("scatter",t),t})),t(n,"Series/CenteredUtilities.js",[n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Utilities.js"]],(function(e,t,n){var o,r=e.deg2rad,i=n.fireEvent,s=n.isNumber,a=n.pick,l=n.relativeLength;return function(e){e.getCenter=function(){var e=this.options,n=this.chart,o=2*(e.slicedOffset||0),r=n.plotWidth-2*o,u=n.plotHeight-2*o,c=e.center,p=Math.min(r,u),d=e.thickness,h=e.size,f=e.innerSize||0;for("string"===typeof h&&(h=parseFloat(h)),"string"===typeof f&&(f=parseFloat(f)),e=[a(c[0],"50%"),a(c[1],"50%"),a(h&&0>h?void 0:e.size,"100%"),a(f&&0>f?void 0:e.innerSize||0,"0%")],!n.angular||this instanceof t||(e[3]=0),c=0;4>c;++c)h=e[c],n=2>c||2===c&&/%$/.test(h),e[c]=l(h,[r,u,p,e[2]][c])+(n?o:0);return e[3]>e[2]&&(e[3]=e[2]),s(d)&&2*de&&360>t-e?t:e+360,{start:r*(e+-90),end:r*(t+-90)}}}(o||(o={})),o})),t(n,"Series/Pie/PiePoint.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],(function(e,t,n){var o=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),r=e.setAnimation,i=n.addEvent,s=n.defined;e=n.extend;var a=n.isNumber,l=n.pick,u=n.relativeLength;return t=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.labelDistance=void 0,t.options=void 0,t.series=void 0,t}return o(t,e),t.prototype.getConnectorPath=function(){var e=this.labelPosition,t=this.series.options.dataLabels,n=this.connectorShapes,o=t.connectorShape;return n[o]&&(o=n[o]),o.call(this,{x:e.final.x,y:e.final.y,alignment:e.alignment},e.connectorPosition,t)},t.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},t.prototype.haloPath=function(e){var t=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(t.x,t.y,t.r+e,t.r+e,{innerR:t.r-1,start:t.start,end:t.end})},t.prototype.init=function(){var t=this;e.prototype.init.apply(this,arguments),this.name=l(this.name,"Slice");var n=function(e){t.slice("select"===e.type)};return i(this,"select",n),i(this,"unselect",n),this},t.prototype.isValid=function(){return a(this.y)&&0<=this.y},t.prototype.setVisible=function(e,t){var n=this,o=this.series,r=o.chart,i=o.options.ignoreHiddenPoint;t=l(t,i),e!==this.visible&&(this.visible=this.options.visible=e="undefined"===typeof e?!this.visible:e,o.options.data[o.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(t){n[t]&&n[t][e?"show":"hide"](e)})),this.legendItem&&r.legend.colorizeItem(this,e),e||"hover"!==this.state||this.setState(""),i&&(o.isDirty=!0),t&&r.redraw())},t.prototype.slice=function(e,t,n){var o=this.series;r(n,o.chart),l(t,!0),this.sliced=this.options.sliced=s(e)?e:!this.sliced,o.options.data[o.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},t}(t),e(t.prototype,{connectorShapes:{fixedOffset:function(e,t,n){var o=t.breakAt;return t=t.touchingSliceAt,[["M",e.x,e.y],n.softConnector?["C",e.x+("left"===e.alignment?-5:5),e.y,2*o.x-t.x,2*o.y-t.y,o.x,o.y]:["L",o.x,o.y],["L",t.x,t.y]]},straight:function(e,t){return t=t.touchingSliceAt,[["M",e.x,e.y],["L",t.x,t.y]]},crookedLine:function(e,t,n){t=t.touchingSliceAt;var o=this.series,r=o.center[0],i=o.chart.plotWidth,s=o.chart.plotLeft;o=e.alignment;var a=this.shapeArgs.r;return n=u(n.crookDistance,1),n=["L",i="left"===o?r+a+(i+s-r-a)*(1-n):s+(r-a)*n,e.y],r=!0,("left"===o?i>e.x||it.x)&&(r=!1),e=[["M",e.x,e.y]],r&&e.push(n),e.push(["L",t.x,t.y]),e}}}),t})),t(n,"Series/Pie/PieSeries.js",[n["Series/CenteredUtilities.js"],n["Series/Column/ColumnSeries.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Series/Pie/PiePoint.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Utilities.js"]],(function(e,t,n,o,r,i,s,a,l){var u=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),c=e.getStartAndEndRadians;n=n.noop;var p=l.clamp,d=l.extend,h=l.fireEvent,f=l.merge,g=l.pick,y=l.relativeLength;return l=function(e){function t(){var t=null!==e&&e.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 u(t,e),t.prototype.animate=function(e){var t=this,n=t.points,o=t.startAngleRad;e||n.forEach((function(e){var n=e.graphic,r=e.shapeArgs;n&&r&&(n.attr({r:g(e.startR,t.center&&t.center[3]/2),start:o,end:o}),n.animate({r:r.r,start:r.start,end:r.end},t.options.animation))}))},t.prototype.drawEmpty=function(){var e=this.startAngleRad,t=this.endAngleRad,n=this.options;if(0===this.total&&this.center){var o=this.center[0],r=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(o,r,this.center[1]/2,0,e,t).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:a.arc(o,r,this.center[2]/2,0,{start:e,end:t,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":n.borderWidth,fill:n.fillColor||"none",stroke:n.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},t.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)}))},t.prototype.generatePoints=function(){e.prototype.generatePoints.call(this),this.updateTotals()},t.prototype.getX=function(e,t,n){var o=this.center,r=this.radii?this.radii[n.index]||0:o[2]/2;return e=Math.asin(p((e-o[1])/(r+n.labelDistance),-1,1)),o[0]+(t?-1:1)*Math.cos(e)*(r+n.labelDistance)+(01.5*Math.PI?v-=2*Math.PI:v<-Math.PI/2&&(v+=2*Math.PI),d.slicedTranslation={translateX:Math.round(Math.cos(v)*n),translateY:Math.round(Math.sin(v)*n)},m=Math.cos(v)*e[2]/2;var b=Math.sin(v)*e[2]/2;d.tooltipPos=[e[0]+.7*m,e[1]+.7*b],d.half=v<-Math.PI/2||v>Math.PI/2?1:0,d.angle=v,f=Math.min(o,d.labelDistance/5),d.labelPosition={natural:{x:e[0]+m+Math.cos(v)*d.labelDistance,y:e[1]+b+Math.sin(v)*d.labelDistance},final:{},alignment:0>d.labelDistance?"center":d.half?"right":"left",connectorPosition:{breakAt:{x:e[0]+m+Math.cos(v)*f,y:e[1]+b+Math.sin(v)*f},touchingSliceAt:{x:e[0]+m,y:e[1]+b}}}}h(this,"afterTranslate")},t.prototype.updateTotals=function(){var e,t=this.points,n=t.length,o=this.options.ignoreHiddenPoint,r=0;for(e=0;eP&&(e.dataLabel.css({width:Math.round(.7*P)+"px"}),e.dataLabel.shortened=!0)):(e.dataLabel=e.dataLabel.destroy(),e.dataLabels&&1===e.dataLabels.length&&delete e.dataLabels))})),A.forEach((function(t,n){var l,u=t.length,d=[];if(u){if(m.sortByAngle(t,n-.5),0E-O&&0===n&&(b=Math.round(c+r-E+O),D[1]=Math.max(b,D[1])),0>f-s/2?D[0]=Math.max(Math.round(s/2-f),D[0]):f+s/2>S&&(D[2]=Math.max(Math.round(f+s/2-S),D[2])),o.sideOverflow=b)}}})),0===u(D)||this.verifyDataLabelOverflow(D))&&(this.placeDataLabels(),this.points.forEach((function(e){var r;v=d(w,e.options.dataLabels),(t=h(v.connectorWidth,1))&&(n=e.connector,(o=e.dataLabel)&&o._pos&&e.visible&&0t.bottom-2?o:n,t.half,t)},justify:function(e,t,n){return n[0]+(e.half?-1:1)*(t+e.labelDistance)},alignToPlotEdges:function(e,t,n,o){return e=e.getBBox().width,t?e+o:n-e-o},alignToConnectors:function(e,t,n,o){var r,i=0;return e.forEach((function(e){(r=e.dataLabel.getBBox().width)>i&&(i=r)})),t?i+o:n-i-o}};t.compose=function(t){e.compose(l),-1===i.indexOf(t)&&(i.push(t),(t=t.prototype).dataLabelPositioners=g,t.alignDataLabel=s,t.drawDataLabels=n,t.placeDataLabels=o,t.verifyDataLabelOverflow=r)}}(i||(i={})),i})),t(n,"Extensions/OverlappingDataLabels.js",[n["Core/Chart/Chart.js"],n["Core/Utilities.js"]],(function(e,t){function n(e,t){var n=!1;if(e){var o=e.newOpacity;e.oldOpacity!==o&&(e.alignAttr&&e.placed?(e[o?"removeClass":"addClass"]("highcharts-data-label-hidden"),n=!0,e.alignAttr.opacity=o,e[e.isOld?"animate":"attr"](e.alignAttr,null,(function(){t.styledMode||e.css({pointerEvents:o?"auto":"none"})})),r(t,"afterHideOverlappingLabel")):e.attr({opacity:o})),e.isOld=!0}return n}var o=t.addEvent,r=t.fireEvent,i=t.isArray,s=t.isNumber,a=t.objectEach,l=t.pick;o(e,"render",(function(){var e=this,t=[];(this.labelCollectors||[]).forEach((function(e){t=t.concat(e())})),(this.yAxis||[]).forEach((function(e){e.stacking&&e.options.stackLabels&&!e.options.stackLabels.allowOverlap&&a(e.stacking.stacks,(function(e){a(e,(function(e){e.label&&t.push(e.label)}))}))})),(this.series||[]).forEach((function(o){var r=o.options.dataLabels;o.visible&&(!1!==r.enabled||o._hasPointLabels)&&((r=function(o){return o.forEach((function(o){o.visible&&(i(o.dataLabels)?o.dataLabels:o.dataLabel?[o.dataLabel]:[]).forEach((function(r){var i=r.options;r.labelrank=l(i.labelrank,o.labelrank,o.shapeArgs&&o.shapeArgs.height),i.allowOverlap?(r.oldOpacity=r.opacity,r.newOpacity=1,n(r,e)):t.push(r)}))}))})(o.nodes||[]),r(o.points))})),this.hideOverlappingLabels(t)})),e.prototype.hideOverlappingLabels=function(e){var t,o,i,a=this,l=e.length,u=a.renderer,c=!1,p=function(e){var t,n,o=e.box?0:e.padding||0,r=t=0;if(e&&(!e.alignAttr||e.placed)){var i=e.alignAttr||{x:e.attr("x"),y:e.attr("y")},a=e.parentGroup;e.width||(t=e.getBBox(),e.width=t.width,e.height=t.height,t=u.fontMetrics(null,e.element).h);var l=e.width-2*o;return(n={left:"0",center:"0.5",right:"1"}[e.alignValue])?r=+n*l:s(e.x)&&Math.round(e.x)!==e.translateX&&(r=e.x-e.translateX),{x:i.x+(a.translateX||0)+o-(r||0),y:i.y+(a.translateY||0)+o-t,width:e.width-2*o,height:e.height-2*o}}};for(o=0;o=d.x+d.width||h.x+h.width<=d.x||h.y>=d.y+d.height||h.y+h.height<=d.y||((p.labelrank=l(n.minWidth,0)&&this.chartHeight>=l(n.minHeight,0)}).call(this)&&t.push(e._id)},e.prototype.setResponsive=function(e,t){var n=this,r=this.options.responsive,i=this.currentResponsive,a=[];!t&&r&&r.rules&&r.rules.forEach((function(e){"undefined"===typeof e._id&&(e._id=c()),n.matchResponsiveRule(e,a)}),this),(t=s.apply(void 0,a.map((function(e){return o((r||{}).rules||[],(function(t){return t._id===e}))})).map((function(e){return e&&e.chartOptions})))).isResponsiveOptions=!0,(a=a.toString()||void 0)!==(i&&i.ruleIds)&&(i&&this.update(i.undoOptions,e,!0),a?((i=this.currentOptions(t)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:a,mergedOptions:t,undoOptions:i},this.update(t,e,!0)):this.currentResponsive=void 0)},e}()}(t||(t={})),t})),t(n,"masters/highcharts.src.js",[n["Core/Globals.js"],n["Core/Utilities.js"],n["Core/DefaultOptions.js"],n["Core/Animation/Fx.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/Renderer/HTML/AST.js"],n["Core/FormatUtilities.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Renderer/HTML/HTMLElement.js"],n["Core/Renderer/HTML/HTMLRenderer.js"],n["Core/Axis/Axis.js"],n["Core/Axis/DateTimeAxis.js"],n["Core/Axis/LogarithmicAxis.js"],n["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],n["Core/Axis/Tick.js"],n["Core/Tooltip.js"],n["Core/Series/Point.js"],n["Core/Pointer.js"],n["Core/MSPointer.js"],n["Core/Legend/Legend.js"],n["Core/Chart/Chart.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Series/Column/ColumnSeries.js"],n["Series/Column/ColumnDataLabel.js"],n["Series/Pie/PieSeries.js"],n["Series/Pie/PieDataLabel.js"],n["Core/Series/DataLabel.js"],n["Core/Responsive.js"],n["Core/Color/Color.js"],n["Core/Time.js"]],(function(e,t,n,o,r,i,s,a,l,u,c,p,d,h,f,g,y,v,m,b,C,w,O,E,S,R,P,x,T,_,A,D,M){return e.animate=r.animate,e.animObject=r.animObject,e.getDeferredAnimation=r.getDeferredAnimation,e.setAnimation=r.setAnimation,e.stop=r.stop,e.timers=o.timers,e.AST=i,e.Axis=d,e.Chart=O,e.chart=O.chart,e.Fx=o,e.Legend=w,e.PlotLineOrBand=g,e.Point=m,e.Pointer=C.isRequired()?C:b,e.Series=E,e.SVGElement=l,e.SVGRenderer=u,e.Tick=y,e.Time=M,e.Tooltip=v,e.Color=D,e.color=D.parse,p.compose(u),c.compose(l),e.defaultOptions=n.defaultOptions,e.getOptions=n.getOptions,e.time=n.defaultTime,e.setOptions=n.setOptions,e.dateFormat=s.dateFormat,e.format=s.format,e.numberFormat=s.numberFormat,e.addEvent=t.addEvent,e.arrayMax=t.arrayMax,e.arrayMin=t.arrayMin,e.attr=t.attr,e.clearTimeout=t.clearTimeout,e.correctFloat=t.correctFloat,e.createElement=t.createElement,e.css=t.css,e.defined=t.defined,e.destroyObjectProperties=t.destroyObjectProperties,e.discardElement=t.discardElement,e.distribute=a.distribute,e.erase=t.erase,e.error=t.error,e.extend=t.extend,e.extendClass=t.extendClass,e.find=t.find,e.fireEvent=t.fireEvent,e.getMagnitude=t.getMagnitude,e.getStyle=t.getStyle,e.inArray=t.inArray,e.isArray=t.isArray,e.isClass=t.isClass,e.isDOMElement=t.isDOMElement,e.isFunction=t.isFunction,e.isNumber=t.isNumber,e.isObject=t.isObject,e.isString=t.isString,e.keys=t.keys,e.merge=t.merge,e.normalizeTickInterval=t.normalizeTickInterval,e.objectEach=t.objectEach,e.offset=t.offset,e.pad=t.pad,e.pick=t.pick,e.pInt=t.pInt,e.relativeLength=t.relativeLength,e.removeEvent=t.removeEvent,e.seriesType=S.seriesType,e.splat=t.splat,e.stableSort=t.stableSort,e.syncTimeout=t.syncTimeout,e.timeUnits=t.timeUnits,e.uniqueKey=t.uniqueKey,e.useSerialIds=t.useSerialIds,e.wrap=t.wrap,P.compose(R),_.compose(E),h.compose(d),f.compose(d),T.compose(x),g.compose(d),A.compose(O),e})),n["masters/highcharts.src.js"]._modules=n,n["masters/highcharts.src.js"]},e.exports?(i.default=i,e.exports=r.document?i(r):i):void 0===(o=function(){return i(r)}.call(t,n,t,e))||(e.exports=o)},function(e,t,n){var o;"undefined"!=typeof self&&self,e.exports=(o=n(0),function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){"use strict";function o(){return(o=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,o=new Array(t);ne.length)&&(t=e.length);for(var n=0,o=new Array(t);n=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.d(t,"a",(function(){return xo}));var c=n(0),p=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function d(){return(d=Object.assign||function(e){for(var t=1;t2||te(K)>3?"":" "}function se(e,t){for(;--t&&Q()&&!(K<48||K>102||K>57&&K<65||K>70&&K<97););return ee(e,J()+(t<6&&32==Z()&&32==Q()))}function ae(e){for(;Q();)switch(K){case e:return Y;case 34:case 39:34!==e&&39!==e&&ae(K);break;case 40:41===e&&ae(e);break;case 92:Q()}return Y}function le(e,t){for(;Q()&&e+K!==57&&(e+K!==84||47!==Z()););return"/*"+ee(t,Y-1)+"*"+A(47===e?e:Q())}function ue(e){for(;!te(Z());)Q();return ee(e,Y)}function ce(e){return oe(pe("",null,null,null,[""],e=ne(e),0,[0],e))}function pe(e,t,n,o,r,i,s,a,l){for(var u=0,c=0,p=s,d=0,h=0,f=0,g=1,y=1,v=1,m=0,b="",C=r,w=i,O=o,E=b;y;)switch(f=m,m=Q()){case 40:if(108!=f&&58==F(E,p-1)){-1!=I(E+=k(re(m),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:E+=re(m);break;case 9:case 10:case 13:case 32:E+=ie(f);break;case 92:E+=se(J()-1,7);continue;case 47:switch(Z()){case 42:case 47:V(he(le(Q(),J()),t,n),l);break;default:E+="/"}break;case 123*g:a[u++]=G(E)*v;case 125*g:case 59:case 0:switch(m){case 0:case 125:y=0;case 59+c:-1==v&&(E=k(E,/\f/g,"")),h>0&&G(E)-p&&V(h>32?fe(E+";",o,n,p-1):fe(k(E," ","")+";",o,n,p-2),l);break;case 59:E+=";";default:if(V(O=de(E,t,n,u,c,r,a,b,C=[],w=[],p),i),123===m)if(0===c)pe(E,t,O,O,C,i,p,a,w);else switch(99===d&&110===F(E,3)?100:d){case 100:case 108:case 109:case 115:pe(e,O,O,o&&V(de(e,O,O,0,0,r,a,b,r,C=[],p),w),r,w,p,a,o?C:w);break;default:pe(E,O,O,O,[""],w,0,a,w)}}u=c=h=0,g=v=1,b=E="",p=s;break;case 58:p=1+G(E),h=f;default:if(g<1)if(123==m)--g;else if(125==m&&0==g++&&125==(K=Y>0?F(X,--Y):0,U--,10===K&&(U=1,B--),K))continue;switch(E+=A(m),m*g){case 38:v=c>0?1:(E+="\f",-1);break;case 44:a[u++]=(G(E)-1)*v,v=1;break;case 64:45===Z()&&(E+=re(Q())),d=Z(),c=p=G(b=E+=ue(J())),m++;break;case 45:45===f&&2==G(E)&&(g=0)}}return i}function de(e,t,n,o,r,i,s,a,l,u,c){for(var p=r-1,d=0===r?i:[""],h=H(d),f=0,g=0,y=0;f0?d[v]+" "+m:k(m,/&\f/g,d[v])))&&(l[y++]=b);return q(e,t,n,0===r?P:a,l,u,c)}function he(e,t,n){return q(e,t,n,R,A(K),j(e,2,-2),0)}function fe(e,t,n,o){return q(e,t,n,x,j(e,0,o),j(e,o+1,-1),o)}function ge(e,t){for(var n="",o=H(e),r=0;r