webpackJsonp([3],{"++K3":function(e,t){var n,r,i,o,a,s,l,c,u,h,d,f,p,A,g,m=!1;function v(){if(!m){m=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),v=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(f=/\b(iPhone|iP[ao]d)/.exec(e),p=/\b(iP[ao]d)/.exec(e),h=/Android/i.exec(e),A=/FBAN\/\w+;/i.exec(e),g=/Mobile/i.exec(e),d=!!/Win64/.exec(e),t){(n=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN)&&document&&document.documentMode&&(n=document.documentMode);var y=/(?:Trident\/(\d+.\d+))/.exec(e);s=y?parseFloat(y[1])+4:n,r=t[2]?parseFloat(t[2]):NaN,i=t[3]?parseFloat(t[3]):NaN,(o=t[4]?parseFloat(t[4]):NaN)?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),a=t&&t[1]?parseFloat(t[1]):NaN):a=NaN}else n=r=i=a=o=NaN;if(v){if(v[1]){var b=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);l=!b||parseFloat(b[1].replace("_","."))}else l=!1;c=!!v[2],u=!!v[3]}else l=c=u=!1}}var y={ie:function(){return v()||n},ieCompatibilityMode:function(){return v()||s>n},ie64:function(){return y.ie()&&d},firefox:function(){return v()||r},opera:function(){return v()||i},webkit:function(){return v()||o},safari:function(){return y.webkit()},chrome:function(){return v()||a},windows:function(){return v()||c},osx:function(){return v()||l},linux:function(){return v()||u},iphone:function(){return v()||f},mobile:function(){return v()||f||p||h||g},nativeApp:function(){return v()||A},android:function(){return v()||h},ipad:function(){return v()||p}};e.exports=y},"+E39":function(e,t,n){e.exports=!n("S82l")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"+ZMJ":function(e,t,n){var r=n("lOnJ");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},"+sse":function(e,t,n){"use strict";var r,i,o;o=function(e){function t(e,t,n,r){e.hasOwnProperty(t)||(e[t]=r.apply(null,n),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:t,module:e[t]}})))}t(e=e?e._modules:{},"Series/DependencyWheel/DependencyWheelPoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,t){({seriesTypes:{sankey:{prototype:{pointClass:e}}}}=e);const{wrap:n}=t;return class extends e{constructor(){super(...arguments),this.toNode=this.shapeArgs=this.series=this.options=this.linksTo=this.linksFrom=this.index=this.fromNode=this.angle=void 0}getDataLabelPath(e){const t=this.series.chart.renderer,r=this.shapeArgs,i=0>this.angle||this.angle>Math.PI,o=r.start||0,a=r.end||0;return this.dataLabelPath?(this.dataLabelPath=this.dataLabelPath.destroy(),delete this.dataLabelPath):n(e,"destroy",t=>(this.dataLabelPath&&(this.dataLabelPath=this.dataLabelPath.destroy()),t.call(e))),this.dataLabelPath=t.arc({open:!0,longArc:Math.abs(Math.abs(o)-Math.abs(a))t.index){a=a.slice(0,r).reverse().concat(a.slice(r).reverse()),i=!0;break}for(i||a.reverse(),r=0;rMath.PI&&(i=2*Math.PI-i),(i*=u)=h.FFTOFFSET),u(i.mf_size>=h.BLKSIZE+e.framesize-h.FFTOFFSET),u(i.mf_size>=512+e.framesize-32)}}(e,E),M.padding=0,(M.slot_lag-=M.frac_SpF)<0&&(M.slot_lag+=e.out_samplerate,M.padding=1),0!=M.psymodel){var P=[null,null],F=0,R=c(2);for(T=0;T0&&(O[T]=D[T][3]/O[T])),B=0;B.03125)e.ATH.adjust>=1?e.ATH.adjust=1:e.ATH.adjust=r?(e.ATH.adjust*=.075*r+.925,e.ATH.adjust=r?e.ATH.adjust=r:e.ATH.adjust * @author owenm * @license MIT */ function r(e){return(r="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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(){return(o=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function l(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function b(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function _(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&y(e,t):y(e,t))||r&&e===n)return e;if(e===n)break}while(e=b(e))}return null}var w,x=/\s+/g;function C(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(x," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(x," ")}}function S(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function k(e,t){var n="";if("string"==typeof e)n=e;else do{var r=S(e,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function B(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,o=r.length;if(n)for(;i=o:i<=o))return r;if(r===T())break;r=P(r,!1)}return!1}function D(e,t,n){for(var r=0,i=0,o=e.children;i2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,i=s(n,["evt"]);W.pluginEvent.bind(He)(e,t,a({dragEl:$,parentEl:K,ghostEl:J,rootEl:q,nextEl:ee,lastDownEl:te,cloneEl:ne,cloneHidden:re,dragStarted:ge,putSortable:ce,activeSortable:He.active,originalEvent:r,oldIndex:ie,oldDraggableIndex:ae,newIndex:oe,newDraggableIndex:se,hideGhostForTarget:Fe,unhideGhostForTarget:Re,cloneNowHidden:function(){re=!0},cloneNowShown:function(){re=!1},dispatchSortableEvent:function(e){Z({sortable:t,name:e,originalEvent:r})}},i))};function Z(e){G(a({putSortable:ce,cloneEl:ne,targetEl:$,rootEl:q,oldIndex:ie,oldDraggableIndex:ae,newIndex:oe,newDraggableIndex:se},e))}var $,K,J,q,ee,te,ne,re,ie,oe,ae,se,le,ce,ue,he,de,fe,pe,Ae,ge,me,ve,ye,be,_e=!1,we=!1,xe=[],Ce=!1,Se=!1,ke=[],Be=!1,Te=[],Ee="undefined"!=typeof document,Me=p,De=h||u?"cssFloat":"float",Oe=Ee&&!A&&!p&&"draggable"in document.createElement("div"),Ie=function(){if(Ee){if(u)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),Le=function(e,t){var n=S(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=D(e,0,t),o=D(e,1,t),a=i&&S(i),s=o&&S(o),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+E(i).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+E(o).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&a.float&&"none"!==a.float){var u="left"===a.float?"left":"right";return!o||"both"!==s.clear&&s.clear!==u?"horizontal":"vertical"}return i&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=r&&"none"===n[De]||o&&"none"===n[De]&&l+c>r)?"vertical":"horizontal"},Pe=function(e){function t(e,n){return function(r,i,o,a){var s=r.options.group.name&&i.options.group.name&&r.options.group.name===i.options.group.name;if(null==e&&(n||s))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(r,i,o,a),n)(r,i,o,a);var l=(n?r:i).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var n={},i=e.group;i&&"object"==r(i)||(i={name:i}),n.name=i.name,n.checkPull=t(i.pull,!0),n.checkPut=t(i.put),n.revertClone=i.revertClone,e.group=n},Fe=function(){!Ie&&J&&S(J,"display","none")},Re=function(){!Ie&&J&&S(J,"display","")};Ee&&document.addEventListener("click",function(e){if(we)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),we=!1,!1},!0);var Ne=function(e){if($){e=e.touches?e.touches[0]:e;var t=(i=e.clientX,o=e.clientY,xe.some(function(e){if(!O(e)){var t=E(e),n=e[Q].options.emptyInsertThreshold,r=i>=t.left-n&&i<=t.right+n,s=o>=t.top-n&&o<=t.bottom+n;return n&&r&&s?a=e:void 0}}),a);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[Q]._onDragOver(n)}}var i,o,a},je=function(e){$&&$.parentNode[Q]._isOutsideThisEl(e.target)};function He(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=o({},t),e[Q]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Le(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==He.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var r in W.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var i in Pe(t),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&Oe,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?m(e,"pointerdown",this._onTapStart):(m(e,"mousedown",this._onTapStart),m(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(m(e,"dragover",this),m(e,"dragenter",this)),xe.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),o(this,z())}function Ue(e,t,n,r,i,o,a,s){var l,c,d=e[Q],f=d.options.onMove;return!window.CustomEvent||u||h?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=i||t,l.relatedRect=o||E(t),l.willInsertAfter=s,l.originalEvent=a,e.dispatchEvent(l),f&&(c=f.call(d,l,a)),c}function Qe(e){e.draggable=!1}function ze(){Be=!1}function Ye(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function Ve(e){return setTimeout(e,0)}function We(e){return clearTimeout(e)}He.prototype={constructor:He,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(me=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,$):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,i=r.preventOnFilter,o=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(a||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,c=r.filter;if(function(e){Te.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var r=t[n];r.checked&&Te.push(r)}}(n),!$&&!(/mousedown|pointerdown/.test(o)&&0!==e.button||r.disabled||l.isContentEditable||(s=_(s,r.draggable,n,!1))&&s.animated||te===s)){if(ie=I(s),ae=I(s,r.draggable),"function"==typeof c){if(c.call(this,e,s,this))return Z({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),X("filter",t,{evt:e}),void(i&&e.cancelable&&e.preventDefault())}else if(c&&(c=c.split(",").some(function(r){if(r=_(l,r.trim(),n,!1))return Z({sortable:t,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),X("filter",t,{evt:e}),!0})))return void(i&&e.cancelable&&e.preventDefault());r.handle&&!_(l,r.handle,n,!1)||this._prepareDragStart(e,a,s)}}},_prepareDragStart:function(e,t,n){var r,i=this,o=i.el,a=i.options,s=o.ownerDocument;if(n&&!$&&n.parentNode===o){var l=E(n);if(q=o,K=($=n).parentNode,ee=$.nextSibling,te=n,le=a.group,He.dragged=$,ue={target:$,clientX:(t||e).clientX,clientY:(t||e).clientY},pe=ue.clientX-l.left,Ae=ue.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,$.style["will-change"]="all",r=function(){X("delayEnded",i,{evt:e}),He.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!d&&i.nativeDraggable&&($.draggable=!0),i._triggerDragStart(e,t),Z({sortable:i,name:"choose",originalEvent:e}),C($,a.chosenClass,!0))},a.ignore.split(",").forEach(function(e){B($,e.trim(),Qe)}),m(s,"dragover",Ne),m(s,"mousemove",Ne),m(s,"touchmove",Ne),m(s,"mouseup",i._onDrop),m(s,"touchend",i._onDrop),m(s,"touchcancel",i._onDrop),d&&this.nativeDraggable&&(this.options.touchStartThreshold=4,$.draggable=!0),X("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(h||u))r();else{if(He.eventCanceled)return void this._onDrop();m(s,"mouseup",i._disableDelayedDrag),m(s,"touchend",i._disableDelayedDrag),m(s,"touchcancel",i._disableDelayedDrag),m(s,"mousemove",i._delayedDragTouchMoveHandler),m(s,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&m(s,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(r,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){$&&Qe($),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;v(e,"mouseup",this._disableDelayedDrag),v(e,"touchend",this._disableDelayedDrag),v(e,"touchcancel",this._disableDelayedDrag),v(e,"mousemove",this._delayedDragTouchMoveHandler),v(e,"touchmove",this._delayedDragTouchMoveHandler),v(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?m(document,"pointermove",this._onTouchMove):m(document,t?"touchmove":"mousemove",this._onTouchMove):(m($,"dragend",this),m(q,"dragstart",this._onDragStart));try{document.selection?Ve(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(_e=!1,q&&$){X("dragStarted",this,{evt:t}),this.nativeDraggable&&m(document,"dragover",je);var n=this.options;!e&&C($,n.dragClass,!1),C($,n.ghostClass,!0),He.active=this,e&&this._appendGhost(),Z({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(he){this._lastX=he.clientX,this._lastY=he.clientY,Fe();for(var e=document.elementFromPoint(he.clientX,he.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(he.clientX,he.clientY))!==t;)t=e;if($.parentNode[Q]._isOutsideThisEl(e),t)do{if(t[Q]){if(t[Q]._onDragOver({clientX:he.clientX,clientY:he.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Re()}},_onTouchMove:function(e){if(ue){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,i=e.touches?e.touches[0]:e,o=J&&k(J,!0),a=J&&o&&o.a,s=J&&o&&o.d,l=Me&&be&&L(be),c=(i.clientX-ue.clientX+r.x)/(a||1)+(l?l[0]-ke[0]:0)/(a||1),u=(i.clientY-ue.clientY+r.y)/(s||1)+(l?l[1]-ke[1]:0)/(s||1);if(!He.active&&!_e){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))r.right+10||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+10}(e,i,this)&&!g.animated){if(g===$)return j(!1);if(g&&o===e.target&&(s=g),s&&(n=E(s)),!1!==Ue(q,o,$,t,s,n,e,!!s))return R(),o.appendChild($),K=o,H(),j(!0)}else if(s.parentNode===o){n=E(s);var m,v,y,b=$.parentNode!==o,w=!function(e,t,n){var r=n?e.left:e.top,i=n?e.right:e.bottom,o=n?e.width:e.height,a=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return r===a||i===s||r+o/2===a+l/2}($.animated&&$.toRect||t,s.animated&&s.toRect||n,i),x=i?"top":"left",k=M(s,"top","top")||M($,"top","top"),B=k?k.scrollTop:void 0;if(me!==s&&(v=n[x],Ce=!1,Se=!w&&l.invertSwap||b),0!==(m=function(e,t,n,r,i,o,a,s){var l=r?e.clientY:e.clientX,c=r?n.height:n.width,u=r?n.top:n.left,h=r?n.bottom:n.right,d=!1;if(!a)if(s&&yeu+c*o/2:lh-ye)return-ve}else if(l>u+c*(1-i)/2&&lh-c*o/2))return l>u+c/2?1:-1;return 0}(e,s,n,i,w?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,Se,me===s))){var T=I($);do{T-=m,y=K.children[T]}while(y&&("none"===S(y,"display")||y===J))}if(0===m||y===s)return j(!1);me=s,ve=m;var D=s.nextElementSibling,L=!1,P=Ue(q,o,$,t,s,n,e,L=1===m);if(!1!==P)return 1!==P&&-1!==P||(L=1===P),Be=!0,setTimeout(ze,30),R(),L&&!D?o.appendChild($):s.parentNode.insertBefore($,L?D:s),k&&N(k,0,B-k.scrollTop),K=$.parentNode,void 0===v||Se||(ye=Math.abs(v-E(s)[x])),H(),j(!0)}if(o.contains($))return j(!1)}return!1}function F(l,c){X(l,p,a({evt:e,isOwner:h,axis:i?"vertical":"horizontal",revert:r,dragRect:t,targetRect:n,canSort:d,fromSortable:f,target:s,completed:j,onMove:function(n,r){return Ue(q,o,$,t,n,E(n),e,r)},changed:H},c))}function R(){F("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function j(t){return F("dragOverCompleted",{insertion:t}),t&&(h?u._hideClone():u._showClone(p),p!==f&&(C($,ce?ce.options.ghostClass:u.options.ghostClass,!1),C($,l.ghostClass,!0)),ce!==p&&p!==He.active?ce=p:p===He.active&&ce&&(ce=null),f===p&&(p._ignoreWhileAnimating=s),p.animateAll(function(){F("dragOverAnimationComplete"),p._ignoreWhileAnimating=null}),p!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(s===$&&!$.animated||s===o&&!s.animated)&&(me=null),l.dragoverBubble||e.rootEl||s===document||($.parentNode[Q]._isOutsideThisEl(e.target),!t&&Ne(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),A=!0}function H(){oe=I($),se=I($,l.draggable),Z({sortable:p,name:"change",toEl:o,newIndex:oe,newDraggableIndex:se,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){v(document,"mousemove",this._onTouchMove),v(document,"touchmove",this._onTouchMove),v(document,"pointermove",this._onTouchMove),v(document,"dragover",Ne),v(document,"mousemove",Ne),v(document,"touchmove",Ne)},_offUpEvents:function(){var e=this.el.ownerDocument;v(e,"mouseup",this._onDrop),v(e,"touchend",this._onDrop),v(e,"pointerup",this._onDrop),v(e,"touchcancel",this._onDrop),v(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;oe=I($),se=I($,n.draggable),X("drop",this,{evt:e}),K=$&&$.parentNode,oe=I($),se=I($,n.draggable),He.eventCanceled?this._nulling():(_e=!1,Se=!1,Ce=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),We(this.cloneId),We(this._dragStartId),this.nativeDraggable&&(v(document,"drop",this),v(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),f&&S(document.body,"user-select",""),S($,"transform",""),e&&(ge&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),J&&J.parentNode&&J.parentNode.removeChild(J),(q===K||ce&&"clone"!==ce.lastPutMode)&&ne&&ne.parentNode&&ne.parentNode.removeChild(ne),$&&(this.nativeDraggable&&v($,"dragend",this),Qe($),$.style["will-change"]="",ge&&!_e&&C($,ce?ce.options.ghostClass:this.options.ghostClass,!1),C($,this.options.chosenClass,!1),Z({sortable:this,name:"unchoose",toEl:K,newIndex:null,newDraggableIndex:null,originalEvent:e}),q!==K?(oe>=0&&(Z({rootEl:K,name:"add",toEl:K,fromEl:q,originalEvent:e}),Z({sortable:this,name:"remove",toEl:K,originalEvent:e}),Z({rootEl:K,name:"sort",toEl:K,fromEl:q,originalEvent:e}),Z({sortable:this,name:"sort",toEl:K,originalEvent:e})),ce&&ce.save()):oe!==ie&&oe>=0&&(Z({sortable:this,name:"update",toEl:K,originalEvent:e}),Z({sortable:this,name:"sort",toEl:K,originalEvent:e})),He.active&&(null!=oe&&-1!==oe||(oe=ie,se=ae),Z({sortable:this,name:"end",toEl:K,originalEvent:e}),this.save()))),this._nulling())},_nulling:function(){X("nulling",this),q=$=K=J=ee=ne=te=re=ue=he=ge=oe=se=ie=ae=me=ve=ce=le=He.dragged=He.ghost=He.clone=He.active=null,Te.forEach(function(e){e.checked=!0}),Te.length=de=fe=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":$&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,r=0,i=n.length,o=this.options;r1&&(pt.forEach(function(e){r.addAnimationState({target:e,rect:mt?E(e):i}),U(e),e.fromRect=i,t.removeAnimationState(e)}),mt=!1,function(e,t){pt.forEach(function(n,r){var i=t.children[n.sortableIndex+(e?Number(r):0)];i?t.insertBefore(n,i):t.appendChild(n)})}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(e){var t=e.sortable,n=e.isOwner,r=e.insertion,i=e.activeSortable,o=e.parentEl,a=e.putSortable,s=this.options;if(r){if(n&&i._hideClone(),gt=!1,s.animation&&pt.length>1&&(mt||!n&&!i.options.sort&&!a)){var l=E(ht,!1,!0,!0);pt.forEach(function(e){e!==ht&&(H(e,l),o.appendChild(e))}),mt=!0}if(!n)if(mt||_t(),pt.length>1){var c=ft;i._showClone(t),i.options.animation&&!ft&&c&&At.forEach(function(e){i.addAnimationState({target:e,rect:dt}),e.fromRect=dt,e.thisAnimationDuration=null})}else i._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,n=e.isOwner,r=e.activeSortable;if(pt.forEach(function(e){e.thisAnimationDuration=null}),r.options.animation&&!n&&r.multiDrag.isMultiDrag){dt=o({},t);var i=k(ht,!0);dt.top-=i.f,dt.left-=i.e}},dragOverAnimationComplete:function(){mt&&(mt=!1,_t())},drop:function(e){var t=e.originalEvent,n=e.rootEl,r=e.parentEl,i=e.sortable,o=e.dispatchSortableEvent,a=e.oldIndex,s=e.putSortable,l=s||this.sortable;if(t){var c=this.options,u=r.children;if(!vt)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),C(ht,c.selectedClass,!~pt.indexOf(ht)),~pt.indexOf(ht))pt.splice(pt.indexOf(ht),1),ct=null,G({sortable:i,rootEl:n,name:"deselect",targetEl:ht,originalEvt:t});else{if(pt.push(ht),G({sortable:i,rootEl:n,name:"select",targetEl:ht,originalEvt:t}),t.shiftKey&&ct&&i.el.contains(ct)){var h,d,f=I(ct),p=I(ht);if(~f&&~p&&f!==p)for(p>f?(d=f,h=p):(d=p,h=f+1);d1){var A=E(ht),g=I(ht,":not(."+this.options.selectedClass+")");if(!gt&&c.animation&&(ht.thisAnimationDuration=null),l.captureAnimationState(),!gt&&(c.animation&&(ht.fromRect=A,pt.forEach(function(e){if(e.thisAnimationDuration=null,e!==ht){var t=mt?E(e):A;e.fromRect=t,l.addAnimationState({target:e,rect:t})}})),_t(),pt.forEach(function(e){u[g]?r.insertBefore(e,u[g]):r.appendChild(e),g++}),a===I(ht))){var m=!1;pt.forEach(function(e){e.sortableIndex===I(e)||(m=!0)}),m&&o("update")}pt.forEach(function(e){U(e)}),l.animateAll()}ut=l}(n===r||s&&"clone"!==s.lastPutMode)&&At.forEach(function(e){e.parentNode&&e.parentNode.removeChild(e)})}},nullingGlobal:function(){this.isMultiDrag=vt=!1,At.length=0},destroyGlobal:function(){this._deselectMultiDrag(),v(document,"pointerup",this._deselectMultiDrag),v(document,"mouseup",this._deselectMultiDrag),v(document,"touchend",this._deselectMultiDrag),v(document,"keydown",this._checkKeyDown),v(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(void 0!==vt&&vt||ut!==this.sortable||e&&_(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;pt.length;){var t=pt[0];C(t,this.options.selectedClass,!1),pt.shift(),G({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvt:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},o(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[Q];t&&t.options.multiDrag&&!~pt.indexOf(e)&&(ut&&ut!==t&&(ut.multiDrag._deselectMultiDrag(),ut=t),C(e,t.options.selectedClass,!0),pt.push(e))},deselect:function(e){var t=e.parentNode[Q],n=pt.indexOf(e);t&&t.options.multiDrag&&~n&&(C(e,t.options.selectedClass,!1),pt.splice(n,1))}},eventProperties:function(){var e=this,t=[],n=[];return pt.forEach(function(r){var i;t.push({multiDragElement:r,index:r.sortableIndex}),i=mt&&r!==ht?-1:mt?I(r,":not(."+e.options.selectedClass+")"):I(r),n.push({multiDragElement:r,index:i})}),{items:l(pt),clones:[].concat(At),oldIndicies:t,newIndicies:n}},optionListeners:{multiDragKey:function(e){return"ctrl"===(e=e.toLowerCase())?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})}function bt(e,t){At.forEach(function(n,r){var i=t.children[n.sortableIndex+(e?Number(r):0)];i?t.insertBefore(n,i):t.appendChild(n)})}function _t(){pt.forEach(function(e){e!==ht&&e.parentNode&&e.parentNode.removeChild(e)})}He.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?m(document,"dragover",this._handleAutoScroll):this.options.supportPointer?m(document,"pointermove",this._handleFallbackAutoScroll):t.touches?m(document,"touchmove",this._handleFallbackAutoScroll):m(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):(v(document,"pointermove",this._handleFallbackAutoScroll),v(document,"touchmove",this._handleFallbackAutoScroll),v(document,"mousemove",this._handleFallbackAutoScroll)),nt(),tt(),clearTimeout(w),w=void 0},nulling:function(){Ke=Xe=Ge=et=Je=Ze=$e=null,qe.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,r=(e.touches?e.touches[0]:e).clientX,i=(e.touches?e.touches[0]:e).clientY,o=document.elementFromPoint(r,i);if(Ke=e,t||h||u||f){it(e,this.options,o,t);var a=P(o,!0);!et||Je&&r===Ze&&i===$e||(Je&&nt(),Je=setInterval(function(){var o=P(document.elementFromPoint(r,i),!0);o!==a&&(a=o,tt()),it(e,n.options,o,t)},10),Ze=r,$e=i)}else{if(!this.options.bubbleScroll||P(o,!0)===T())return void tt();it(e,this.options,P(o,!1),!1)}}},o(e,{pluginName:"scroll",initializeByDefault:!0})}),He.mount(st,at),t.default=He},"/gxq":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.guid=function(){return A++},t.logError=function(){for(var e=[],t=0;t=0&&(t=e.slice(r),e=e.slice(0,r));var i=e.indexOf("?");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{path:e,query:n,hash:t}}(o.path||""),d=t&&t.path||"/",f=c.path?x(c.path,d,n||o.append):d,p=function(e,t,n){void 0===t&&(t={});var r,i=n||h;try{r=i(e||"")}catch(e){r={}}for(var o in t){var a=t[o];r[o]=Array.isArray(a)?a.map(u):u(a)}return r}(c.query,o.query,r&&r.options.parseQuery),A=o.hash||c.hash;return A&&"#"!==A.charAt(0)&&(A="#"+A),{_normalized:!0,path:f,query:p,hash:A}}var Y,V=[String,Object],W=[String,Array],G=function(){},X={name:"RouterLink",props:{to:{type:V,required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:W,default:"click"}},render:function(e){var t=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),a=o.location,s=o.route,l=o.href,c={},u=n.options.linkActiveClass,h=n.options.linkExactActiveClass,d=null==u?"router-link-active":u,A=null==h?"router-link-exact-active":h,g=null==this.activeClass?d:this.activeClass,m=null==this.exactActiveClass?A:this.exactActiveClass,y=s.redirectedFrom?p(null,z(s.redirectedFrom),null,n):s;c[m]=v(r,y,this.exactPath),c[g]=this.exact||this.exactPath?c[m]:function(e,t){return 0===e.path.replace(f,"/").indexOf(t.path.replace(f,"/"))&&(!t.hash||e.hash===t.hash)&&function(e,t){for(var n in t)if(!(n in e))return!1;return!0}(e.query,t.query)}(r,y);var b=c[m]?this.ariaCurrentValue:null,_=function(e){Z(e)&&(t.replace?n.replace(a,G):n.push(a,G))},w={click:Z};Array.isArray(this.event)?this.event.forEach(function(e){w[e]=_}):w[this.event]=_;var x={class:c},C=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:l,route:s,navigate:_,isActive:c[g],isExactActive:c[m]});if(C){if(1===C.length)return C[0];if(C.length>1||!C.length)return 0===C.length?e():e("span",{},C)}if("a"===this.tag)x.on=w,x.attrs={href:l,"aria-current":b};else{var S=function e(t){if(t)for(var n,r=0;r-1&&(s.params[d]=n.params[d]);return s.path=Q(u.path,s.params),l(u,s,a)}if(s.path){s.params={};for(var f=0;f=e.length?n():e[i]?t(e[i],function(){r(i+1)}):r(i+1)};r(0)}var _e={redirected:2,aborted:4,cancelled:8,duplicated:16};function we(e,t){return Ce(e,t,_e.redirected,'Redirected when going from "'+e.fullPath+'" to "'+function(e){if("string"==typeof e)return e;if("path"in e)return e.path;var t={};return Se.forEach(function(n){n in e&&(t[n]=e[n])}),JSON.stringify(t,null,2)}(t)+'" via a navigation guard.')}function xe(e,t){return Ce(e,t,_e.cancelled,'Navigation cancelled from "'+e.fullPath+'" to "'+t.fullPath+'" with a new navigation.')}function Ce(e,t,n,r){var i=new Error(r);return i._isRouter=!0,i.from=e,i.to=t,i.type=n,i}var Se=["params","query","hash"];function ke(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function Be(e,t){return ke(e)&&e._isRouter&&(null==t||e.type===t)}function Te(e){return function(t,n,r){var i=!1,o=0,a=null;Ee(e,function(e,t,n,s){if("function"==typeof e&&void 0===e.cid){i=!0,o++;var l,c=Oe(function(t){var i;((i=t).__esModule||De&&"Module"===i[Symbol.toStringTag])&&(t=t.default),e.resolved="function"==typeof t?t:Y.extend(t),n.components[s]=t,--o<=0&&r()}),u=Oe(function(e){var t="Failed to resolve async component "+s+": "+e;a||(a=ke(e)?e:new Error(t),r(a))});try{l=e(c,u)}catch(e){u(e)}if(l)if("function"==typeof l.then)l.then(c,u);else{var h=l.component;h&&"function"==typeof h.then&&h.then(c,u)}}}),i||r()}}function Ee(e,t){return Me(e.map(function(e){return Object.keys(e.components).map(function(n){return t(e.components[n],e.instances[n],e,n)})}))}function Me(e){return Array.prototype.concat.apply([],e)}var De="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Oe(e){var t=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!t)return t=!0,e.apply(this,n)}}var Ie=function(e,t){this.router=e,this.base=function(e){if(!e)if(K){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else e="/";"/"!==e.charAt(0)&&(e="/"+e);return e.replace(/\/$/,"")}(t),this.current=g,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Le(e,t,n,r){var i=Ee(e,function(e,r,i,o){var a=function(e,t){"function"!=typeof e&&(e=Y.extend(e));return e.options[t]}(e,t);if(a)return Array.isArray(a)?a.map(function(e){return n(e,r,i,o)}):n(a,r,i,o)});return Me(r?i.reverse():i)}function Pe(e,t){if(t)return function(){return e.apply(t,arguments)}}Ie.prototype.listen=function(e){this.cb=e},Ie.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},Ie.prototype.onError=function(e){this.errorCbs.push(e)},Ie.prototype.transitionTo=function(e,t,n){var r,i=this;try{r=this.router.match(e,this.current)}catch(e){throw this.errorCbs.forEach(function(t){t(e)}),e}var o=this.current;this.confirmTransition(r,function(){i.updateRoute(r),t&&t(r),i.ensureURL(),i.router.afterHooks.forEach(function(e){e&&e(r,o)}),i.ready||(i.ready=!0,i.readyCbs.forEach(function(e){e(r)}))},function(e){n&&n(e),e&&!i.ready&&(Be(e,_e.redirected)&&o===g||(i.ready=!0,i.readyErrorCbs.forEach(function(t){t(e)})))})},Ie.prototype.confirmTransition=function(e,t,n){var i=this,o=this.current;this.pending=e;var a,s,l=function(e){!Be(e)&&ke(e)&&(i.errorCbs.length?i.errorCbs.forEach(function(t){t(e)}):(r(),console.error(e))),n&&n(e)},c=e.matched.length-1,u=o.matched.length-1;if(v(e,o)&&c===u&&e.matched[c]===o.matched[u])return this.ensureURL(),l(((s=Ce(a=o,e,_e.duplicated,'Avoided redundant navigation to current location: "'+a.fullPath+'".')).name="NavigationDuplicated",s));var h=function(e,t){var n,r=Math.max(e.length,t.length);for(n=0;n0)){var t=this.router,n=t.options.scrollBehavior,r=me&&n;r&&this.listeners.push(se());var i=function(){var n=e.current,i=Re(e.base);e.current===g&&i===e._startLocation||e.transitionTo(i,function(e){r&&le(t,e,n,!0)})};window.addEventListener("popstate",i),this.listeners.push(function(){window.removeEventListener("popstate",i)})}},t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,n){var r=this,i=this.current;this.transitionTo(e,function(e){ve(C(r.base+e.fullPath)),le(r.router,e,i,!1),t&&t(e)},n)},t.prototype.replace=function(e,t,n){var r=this,i=this.current;this.transitionTo(e,function(e){ye(C(r.base+e.fullPath)),le(r.router,e,i,!1),t&&t(e)},n)},t.prototype.ensureURL=function(e){if(Re(this.base)!==this.current.fullPath){var t=C(this.base+this.current.fullPath);e?ve(t):ye(t)}},t.prototype.getCurrentLocation=function(){return Re(this.base)},t}(Ie);function Re(e){var t=window.location.pathname;return e&&0===t.toLowerCase().indexOf(e.toLowerCase())&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var Ne=function(e){function t(t,n,r){e.call(this,t,n),r&&function(e){var t=Re(e);if(!/^\/#/.test(t))return window.location.replace(C(e+"/#"+t)),!0}(this.base)||je()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router.options.scrollBehavior,n=me&&t;n&&this.listeners.push(se());var r=function(){var t=e.current;je()&&e.transitionTo(He(),function(r){n&&le(e.router,r,t,!0),me||ze(r.fullPath)})},i=me?"popstate":"hashchange";window.addEventListener(i,r),this.listeners.push(function(){window.removeEventListener(i,r)})}},t.prototype.push=function(e,t,n){var r=this,i=this.current;this.transitionTo(e,function(e){Qe(e.fullPath),le(r.router,e,i,!1),t&&t(e)},n)},t.prototype.replace=function(e,t,n){var r=this,i=this.current;this.transitionTo(e,function(e){ze(e.fullPath),le(r.router,e,i,!1),t&&t(e)},n)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;He()!==t&&(e?Qe(t):ze(t))},t.prototype.getCurrentLocation=function(){return He()},t}(Ie);function je(){var e=He();return"/"===e.charAt(0)||(ze("/"+e),!1)}function He(){var e=window.location.href,t=e.indexOf("#");return t<0?"":e=e.slice(t+1)}function Ue(e){var t=window.location.href,n=t.indexOf("#");return(n>=0?t.slice(0,n):t)+"#"+e}function Qe(e){me?ve(Ue(e)):window.location.hash=e}function ze(e){me?ye(Ue(e)):window.location.replace(Ue(e))}var Ye=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var r=this;this.transitionTo(e,function(e){r.stack=r.stack.slice(0,r.index+1).concat(e),r.index++,t&&t(e)},n)},t.prototype.replace=function(e,t,n){var r=this;this.transitionTo(e,function(e){r.stack=r.stack.slice(0,r.index).concat(e),t&&t(e)},n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){var e=t.current;t.index=n,t.updateRoute(r),t.router.afterHooks.forEach(function(t){t&&t(r,e)})},function(e){Be(e,_e.duplicated)&&(t.index=n)})}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(Ie),Ve=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=q(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!me&&!1!==e.fallback,this.fallback&&(t="hash"),K||(t="abstract"),this.mode=t,t){case"history":this.history=new Fe(this,e.base);break;case"hash":this.history=new Ne(this,e.base,this.fallback);break;case"abstract":this.history=new Ye(this,e.base);break;default:0}},We={currentRoute:{configurable:!0}};function Ge(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}Ve.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},We.currentRoute.get=function(){return this.history&&this.history.current},Ve.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",function(){var n=t.apps.indexOf(e);n>-1&&t.apps.splice(n,1),t.app===e&&(t.app=t.apps[0]||null),t.app||t.history.teardown()}),!this.app){this.app=e;var n=this.history;if(n instanceof Fe||n instanceof Ne){var r=function(e){n.setupListeners(),function(e){var r=n.current,i=t.options.scrollBehavior;me&&i&&"fullPath"in e&&le(t,e,r,!1)}(e)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(e){t.apps.forEach(function(t){t._route=e})})}},Ve.prototype.beforeEach=function(e){return Ge(this.beforeHooks,e)},Ve.prototype.beforeResolve=function(e){return Ge(this.resolveHooks,e)},Ve.prototype.afterEach=function(e){return Ge(this.afterHooks,e)},Ve.prototype.onReady=function(e,t){this.history.onReady(e,t)},Ve.prototype.onError=function(e){this.history.onError(e)},Ve.prototype.push=function(e,t,n){var r=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise(function(t,n){r.history.push(e,t,n)});this.history.push(e,t,n)},Ve.prototype.replace=function(e,t,n){var r=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise(function(t,n){r.history.replace(e,t,n)});this.history.replace(e,t,n)},Ve.prototype.go=function(e){this.history.go(e)},Ve.prototype.back=function(){this.go(-1)},Ve.prototype.forward=function(){this.go(1)},Ve.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map(function(e){return Object.keys(e.components).map(function(t){return e.components[t]})})):[]},Ve.prototype.resolve=function(e,t,n){var r=z(e,t=t||this.history.current,n,this),i=this.match(r,t),o=i.redirectedFrom||i.fullPath;return{location:r,route:i,href:function(e,t,n){var r="hash"===n?"#"+t:t;return e?C(e+"/"+r):r}(this.history.base,o,this.mode),normalizedTo:r,resolved:i}},Ve.prototype.getRoutes=function(){return this.matcher.getRoutes()},Ve.prototype.addRoute=function(e,t){this.matcher.addRoute(e,t),this.history.current!==g&&this.history.transitionTo(this.history.getCurrentLocation())},Ve.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==g&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Ve.prototype,We),Ve.install=$,Ve.version="3.5.1",Ve.isNavigationFailure=Be,Ve.NavigationFailureType=_e,Ve.START_LOCATION=g,K&&window.Vue&&window.Vue.use(Ve),t.a=Ve},"02w1":function(e,t,n){"use strict";t.__esModule=!0,t.removeResizeListener=t.addResizeListener=void 0;var r,i=n("z+gd"),o=(r=i)&&r.__esModule?r:{default:r};var a="undefined"==typeof window,s=function(e){var t=e,n=Array.isArray(t),r=0;for(t=n?t:t[Symbol.iterator]();;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if((r=t.next()).done)break;i=r.value}var o=i.target.__resizeListeners__||[];o.length&&o.forEach(function(e){e()})}};t.addResizeListener=function(e,t){a||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new o.default(s),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},t.removeResizeListener=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())}},"06OY":function(e,t,n){var r=n("3Eo+")("meta"),i=n("EqjI"),o=n("D2L2"),a=n("evD5").f,s=0,l=Object.isExtensible||function(){return!0},c=!n("S82l")(function(){return l(Object.preventExtensions({}))}),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},h=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return c&&h.NEED&&l(e)&&!o(e,r)&&u(e),e}}},"0hxZ":function(e,t,n){var r=n("To6e"),i=(r.System,r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float),o=(r.new_float_n,r.new_int),a=(r.new_int_n,r.assert,n("Y2/2"));e.exports=function(){this.linprebuf=i(2*a.MAX_ORDER),this.linpre=0,this.lstepbuf=i(a.MAX_SAMPLES_PER_WINDOW+a.MAX_ORDER),this.lstep=0,this.loutbuf=i(a.MAX_SAMPLES_PER_WINDOW+a.MAX_ORDER),this.lout=0,this.rinprebuf=i(2*a.MAX_ORDER),this.rinpre=0,this.rstepbuf=i(a.MAX_SAMPLES_PER_WINDOW+a.MAX_ORDER),this.rstep=0,this.routbuf=i(a.MAX_SAMPLES_PER_WINDOW+a.MAX_ORDER),this.rout=0,this.sampleWindow=0,this.totsamp=0,this.lsum=0,this.rsum=0,this.freqindex=0,this.first=0,this.A=o(0|a.STEPS_per_dB*a.MAX_dB),this.B=o(0|a.STEPS_per_dB*a.MAX_dB)}},"0kY3":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=114)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:c}}n.d(t,"a",function(){return r})},10:function(e,t){e.exports=n("HJMx")},114:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-input-number",e.inputNumberSize?"el-input-number--"+e.inputNumberSize:"",{"is-disabled":e.inputNumberDisabled},{"is-without-controls":!e.controls},{"is-controls-right":e.controlsAtRight}],on:{dragstart:function(e){e.preventDefault()}}},[e.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-input-number__decrease",class:{"is-disabled":e.minDisabled},attrs:{role:"button"},on:{keydown:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.decrease(t):null}}},[n("i",{class:"el-icon-"+(e.controlsAtRight?"arrow-down":"minus")})]):e._e(),e.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-input-number__increase",class:{"is-disabled":e.maxDisabled},attrs:{role:"button"},on:{keydown:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.increase(t):null}}},[n("i",{class:"el-icon-"+(e.controlsAtRight?"arrow-up":"plus")})]):e._e(),n("el-input",{ref:"input",attrs:{value:e.displayValue,placeholder:e.placeholder,disabled:e.inputNumberDisabled,size:e.inputNumberSize,max:e.max,min:e.min,name:e.name,label:e.label},on:{blur:e.handleBlur,focus:e.handleFocus,input:e.handleInput,change:e.handleInputChange},nativeOn:{keydown:[function(t){return"button"in t||!e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?(t.preventDefault(),e.increase(t)):null},function(t){return"button"in t||!e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?(t.preventDefault(),e.decrease(t)):null}]}})],1)};r._withStripped=!0;var i=n(10),o=n.n(i),a=n(22),s=n.n(a),l=n(30),c={name:"ElInputNumber",mixins:[s()("input")],inject:{elForm:{default:""},elFormItem:{default:""}},directives:{repeatClick:l.a},components:{ElInput:o.a},props:{step:{type:Number,default:1},stepStrictly:{type:Boolean,default:!1},max:{type:Number,default:1/0},min:{type:Number,default:-1/0},value:{},disabled:Boolean,size:String,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:""},name:String,label:String,placeholder:String,precision:{type:Number,validator:function(e){return e>=0&&e===parseInt(e,10)}}},data:function(){return{currentValue:0,userInput:null}},watch:{value:{immediate:!0,handler:function(e){var t=void 0===e?e:Number(e);if(void 0!==t){if(isNaN(t))return;if(this.stepStrictly){var n=this.getPrecision(this.step),r=Math.pow(10,n);t=Math.round(t/this.step)*r*this.step/r}void 0!==this.precision&&(t=this.toPrecision(t,this.precision))}t>=this.max&&(t=this.max),t<=this.min&&(t=this.min),this.currentValue=t,this.userInput=null,this.$emit("input",t)}}},computed:{minDisabled:function(){return this._decrease(this.value,this.step)this.max},numPrecision:function(){var e=this.value,t=this.step,n=this.getPrecision,r=this.precision,i=n(t);return void 0!==r?(i>r&&console.warn("[Element Warn][InputNumber]precision should not be less than the decimal places of step"),r):Math.max(n(e),i)},controlsAtRight:function(){return this.controls&&"right"===this.controlsPosition},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},inputNumberSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputNumberDisabled:function(){return this.disabled||!!(this.elForm||{}).disabled},displayValue:function(){if(null!==this.userInput)return this.userInput;var e=this.currentValue;if("number"==typeof e){if(this.stepStrictly){var t=this.getPrecision(this.step),n=Math.pow(10,t);e=Math.round(e/this.step)*n*this.step/n}void 0!==this.precision&&(e=e.toFixed(this.precision))}return e}},methods:{toPrecision:function(e,t){return void 0===t&&(t=this.numPrecision),parseFloat(Math.round(e*Math.pow(10,t))/Math.pow(10,t))},getPrecision:function(e){if(void 0===e)return 0;var t=e.toString(),n=t.indexOf("."),r=0;return-1!==n&&(r=t.length-n-1),r},_increase:function(e,t){if("number"!=typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e+n*t)/n)},_decrease:function(e,t){if("number"!=typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e-n*t)/n)},increase:function(){if(!this.inputNumberDisabled&&!this.maxDisabled){var e=this.value||0,t=this._increase(e,this.step);this.setCurrentValue(t)}},decrease:function(){if(!this.inputNumberDisabled&&!this.minDisabled){var e=this.value||0,t=this._decrease(e,this.step);this.setCurrentValue(t)}},handleBlur:function(e){this.$emit("blur",e)},handleFocus:function(e){this.$emit("focus",e)},setCurrentValue:function(e){var t=this.currentValue;"number"==typeof e&&void 0!==this.precision&&(e=this.toPrecision(e,this.precision)),e>=this.max&&(e=this.max),e<=this.min&&(e=this.min),t!==e&&(this.userInput=null,this.$emit("input",e),this.$emit("change",e,t),this.currentValue=e)},handleInput:function(e){this.userInput=e},handleInputChange:function(e){var t=""===e?void 0:Number(e);isNaN(t)&&""!==e||this.setCurrentValue(t),this.userInput=null},select:function(){this.$refs.input.select()}},mounted:function(){var e=this.$refs.input.$refs.input;e.setAttribute("role","spinbutton"),e.setAttribute("aria-valuemax",this.max),e.setAttribute("aria-valuemin",this.min),e.setAttribute("aria-valuenow",this.currentValue),e.setAttribute("aria-disabled",this.inputNumberDisabled)},updated:function(){this.$refs&&this.$refs.input&&this.$refs.input.$refs.input.setAttribute("aria-valuenow",this.currentValue)}},u=n(0),h=Object(u.a)(c,r,[],!1,null,null,null);h.options.__file="packages/input-number/src/input-number.vue";var d=h.exports;d.install=function(e){e.component(d.name,d)};t.default=d},2:function(e,t){e.exports=n("2kvA")},22:function(e,t){e.exports=n("1oZe")},30:function(e,t,n){"use strict";var r=n(2);t.a={bind:function(e,t,n){var i=null,o=void 0,a=function(){return n.context[t.expression].apply()},s=function(){Date.now()-o<100&&a(),clearInterval(i),i=null};Object(r.on)(e,"mousedown",function(e){0===e.button&&(o=Date.now(),Object(r.once)(document,"mouseup",s),clearInterval(i),i=setInterval(a,100))})}}}})},"0mjX":function(e,t,n){var r=n("To6e"),i=(r.System,r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float),o=(r.new_float_n,r.new_int),a=(r.new_int_n,r.assert,n("jhNZ"));e.exports=function(){this.xr=i(576),this.l3_enc=o(576),this.scalefac=o(a.SFBMAX),this.xrpow_max=0,this.part2_3_length=0,this.big_values=0,this.count1=0,this.global_gain=0,this.scalefac_compress=0,this.block_type=0,this.mixed_block_flag=0,this.table_select=o(3),this.subblock_gain=o(4),this.region0_count=0,this.region1_count=0,this.preflag=0,this.scalefac_scale=0,this.count1table_select=0,this.part2_length=0,this.sfb_lmax=0,this.sfb_smin=0,this.psy_lmax=0,this.sfbmax=0,this.psymax=0,this.sfbdivide=0,this.width=o(a.SFBMAX),this.window=o(a.SFBMAX),this.count1bits=0,this.sfb_partition_table=null,this.slen=o(4),this.max_nonzero_coeff=0;var e=this;function t(e){return new Int32Array(e)}this.assign=function(n){var r;e.xr=(r=n.xr,new Float32Array(r)),e.l3_enc=t(n.l3_enc),e.scalefac=t(n.scalefac),e.xrpow_max=n.xrpow_max,e.part2_3_length=n.part2_3_length,e.big_values=n.big_values,e.count1=n.count1,e.global_gain=n.global_gain,e.scalefac_compress=n.scalefac_compress,e.block_type=n.block_type,e.mixed_block_flag=n.mixed_block_flag,e.table_select=t(n.table_select),e.subblock_gain=t(n.subblock_gain),e.region0_count=n.region0_count,e.region1_count=n.region1_count,e.preflag=n.preflag,e.scalefac_scale=n.scalefac_scale,e.count1table_select=n.count1table_select,e.part2_length=n.part2_length,e.sfb_lmax=n.sfb_lmax,e.sfb_smin=n.sfb_smin,e.psy_lmax=n.psy_lmax,e.sfbmax=n.sfbmax,e.psymax=n.psymax,e.sfbdivide=n.sfbdivide,e.width=t(n.width),e.window=t(n.window),e.count1bits=n.count1bits,e.sfb_partition_table=n.sfb_partition_table.slice(0),e.slen=t(n.slen),e.max_nonzero_coeff=n.max_nonzero_coeff}}},"1Xk4":function(e,t,n){"use strict";var r=n("awF4"),i=n("Rl2i"),o=n("sD9O"),a=n("q+vg");function s(e,t,n){var r=e;return i(t)?(n=t,"string"==typeof e&&(r={uri:e})):r=a(t,{uri:e}),r.callback=n,r}function l(e,t,n){return c(t=s(e,t,n))}function c(e){if(void 0===e.callback)throw new Error("callback argument missing");var t=!1,n=function(n,r,i){t||(t=!0,e.callback(n,r,i))};function r(e){return clearTimeout(u),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,n(e,m)}function i(){if(!s){var t;clearTimeout(u),t=e.useXDR&&void 0===c.status?200:1223===c.status?204:c.status;var r=m,i=null;return 0!==t?(r={body:function(){var e=void 0;if(e=c.response?c.response:c.responseText||function(e){if("document"===e.responseType)return e.responseXML;var t=e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;return""!==e.responseType||t?null:e.responseXML}(c),g)try{e=JSON.parse(e)}catch(e){}return e}(),statusCode:t,method:d,headers:{},url:h,rawRequest:c},c.getAllResponseHeaders&&(r.headers=o(c.getAllResponseHeaders()))):i=new Error("Internal XMLHttpRequest Error"),n(i,r,r.body)}}var a,s,c=e.xhr||null;c||(c=e.cors||e.useXDR?new l.XDomainRequest:new l.XMLHttpRequest);var u,h=c.url=e.uri||e.url,d=c.method=e.method||"GET",f=e.body||e.data,p=c.headers=e.headers||{},A=!!e.sync,g=!1,m={body:void 0,headers:{},statusCode:0,method:d,url:h,rawRequest:c};if("json"in e&&!1!==e.json&&(g=!0,p.accept||p.Accept||(p.Accept="application/json"),"GET"!==d&&"HEAD"!==d&&(p["content-type"]||p["Content-Type"]||(p["Content-Type"]="application/json"),f=JSON.stringify(!0===e.json?f:e.json))),c.onreadystatechange=function(){4===c.readyState&&setTimeout(i,0)},c.onload=i,c.onerror=r,c.onprogress=function(){},c.onabort=function(){s=!0},c.ontimeout=r,c.open(d,h,!A,e.username,e.password),A||(c.withCredentials=!!e.withCredentials),!A&&e.timeout>0&&(u=setTimeout(function(){if(!s){s=!0,c.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",r(e)}},e.timeout)),c.setRequestHeader)for(a in p)p.hasOwnProperty(a)&&c.setRequestHeader(a,p[a]);else if(e.headers&&!function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(c.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(c),c.send(f||null),c}e.exports=l,l.XMLHttpRequest=r.XMLHttpRequest||function(){},l.XDomainRequest="withCredentials"in new l.XMLHttpRequest?l.XMLHttpRequest:r.XDomainRequest,function(e,t){for(var n=0;n0),e>>=1;0!=e--;)i[o++]=a>n[r++]?0:1,i[o++]=a>n[r++]?0:1}function f(e,n,r,i,o,a){s(e>0);var l=(e>>=1)%2;for(e>>=1;0!=e--;){var c,u,h,d,f,p,A,g;c=r[i++]*n,u=r[i++]*n,f=0|c,h=r[i++]*n,p=0|u,d=r[i++]*n,A=0|h,c+=t.adj43[f],g=0|d,u+=t.adj43[p],o[a++]=0|c,h+=t.adj43[A],o[a++]=0|u,d+=t.adj43[g],o[a++]=0|h,o[a++]=0|d}0!=l&&(f=0|(c=r[i++]*n),p=0|(u=r[i++]*n),c+=t.adj43[f],u+=t.adj43[p],o[a++]=0|c,o[a++]=0|u)}var p=[1,2,5,7,7,10,10,13,13,13,13,13,13,13,13];function A(e,t,n,r){var i=function(e,t,n){var r=0,i=0;do{var o=e[t++],a=e[t++];r>=16)>o&&(s=o,r++),i.bits+=s,r}(e,t,n,p[i-1],r);case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:return function(e,t,n,r,i){var o=0,a=0,s=0,l=c.ht[r].xlen,u=c.ht[r].hlen,h=c.ht[r+1].hlen,d=c.ht[r+2].hlen;do{var f=e[t+0]*l+e[t+1];t+=2,o+=u[f],a+=h[f],s+=d[f]}while(ta&&(o=a,p++),o>s&&(o=s,p=r+2),i.bits+=o,p}(e,t,n,p[i-1],r);default:if(i>h.IXMAX_VAL)return r.bits=h.LARGE_BITS,-1;var o,a;for(i-=15,o=24;o<32&&!(c.ht[o].linmax>=i);o++);for(a=o-8;a<24&&!(c.ht[a].linmax>=i);a++);return function(e,t,n,r,i,o){var a,s=65536*c.ht[r].xlen+c.ht[i].xlen,l=0;do{var u=e[t++],h=e[t++];0!=u&&(u>14&&(u=15,l+=s),u*=16),0!=h&&(h>14&&(h=15,l+=s),u+=h),l+=c.largetbl[u]}while(t>=16)>a&&(l=a,r=i),o.bits+=l,r}(e,t,n,a,o,r)}}function g(e,t,r,i,o,a,s,c){for(var u=t.big_values,h=2;h=u)break;var f=o[h-2]+t.count1bits;if(r.part2_3_length<=f)break;var p=new n(f),g=A(i,d,u,p);f=p.bits,r.part2_3_length<=f||(r.assign(t),r.part2_3_length=f,r.region0_count=a[h-2],r.region1_count=h-2-a[h-2],r.table_select[0]=s[h-2],r.table_select[1]=c[h-2],r.table_select[2]=g)}}this.noquant_count_bits=function(e,t,r){var i=t.l3_enc,o=Math.min(576,t.max_nonzero_coeff+2>>1<<1);for(null!=r&&(r.sfb_count1=0);o>1&&0==(i[o-1]|i[o-2]);o-=2);t.count1=o;for(var a=0,u=0;o>3;o-=4){var h;if((2147483647&(i[o-1]|i[o-2]|i[o-3]|i[o-4]))>1)break;h=2*(2*(2*i[o-4]+i[o-3])+i[o-2])+i[o-1],a+=c.t32l[h],u+=c.t33l[h]}var d=a;if(t.count1table_select=0,a>u&&(d=u,t.count1table_select=1),t.count1bits=d,t.big_values=o,0==o)return d;if(t.block_type==l.SHORT_TYPE)(a=3*e.scalefac_band.s[3])>t.big_values&&(a=t.big_values),u=t.big_values;else if(t.block_type==l.NORM_TYPE){if(s(o<=576),a=t.region0_count=e.bv_scf[o-2],u=t.region1_count=e.bv_scf[o-1],s(a+u+2(u=o)&&(a=u);if(a=Math.min(a,o),u=Math.min(u,o),s(a>=0),s(u>=0),0c)return h.LARGE_BITS;if(function(e,n,r,i,a){var c,u,h,p=0,A=0,g=0,m=0,v=n,y=0,b=v,_=0,w=e,x=0;for(h=null!=a&&i.global_gain==a.global_gain,u=i.block_type==l.SHORT_TYPE?38:21,c=0;c<=u;c++){var C=-1;if((h||i.block_type==l.NORM_TYPE)&&(C=i.global_gain-(i.scalefac[c]+(0!=i.preflag?t.pretab[c]:0)<=0),h&&a.step[c]==C)0!=A&&(f(A,r,w,x,b,_),A=0),0!=g&&(d(g,r,w,x,b,_),g=0);else{var S,k=i.width[c];if(p+i.width[c]>i.max_nonzero_coeff&&(S=i.max_nonzero_coeff-p+1,o.fill(n,i.max_nonzero_coeff,576,0),(k=S)<0&&(k=0),c=u+1),0==A&&0==g&&(b=v,_=y,w=e,x=m),null!=a&&a.sfb_count1>0&&c>=a.sfb_count1&&a.step[c]>0&&C>=a.step[c]?(0!=A&&(f(A,r,w,x,b,_),A=0,b=v,_=y,w=e,x=m),g+=k):(0!=g&&(d(g,r,w,x,b,_),g=0,b=v,_=y,w=e,x=m),A+=k),k<=0){0!=g&&(d(g,r,w,x,b,_),g=0),0!=A&&(f(A,r,w,x,b,_),A=0);break}}c<=u&&(y+=i.width[c],m+=i.width[c],p+=i.width[c])}0!=A&&(f(A,r,w,x,b,_),A=0),0!=g&&(d(g,r,w,x,b,_),g=0)}(n,a,t.IPOW20(r.global_gain),r,i),0!=(2&e.substep_shaping))for(var u=0,p=r.global_gain+r.scalefac_scale,A=.634521682242439/t.IPOW20(p),g=0;g=0),0==e.pseudohalf[g])u+=v;else for(m=u,u+=v;m=A?a[m]:0}return this.noquant_count_bits(e,r,i)},this.best_huffman_divide=function(e,t){var r=new u,i=t.l3_enc,o=a(23),d=a(23),f=a(23),p=a(23);if(t.block_type!=l.SHORT_TYPE||1!=e.mode_gr){r.assign(t),t.block_type==l.NORM_TYPE&&(function(e,t,r,i,o,a,s){for(var l=t.big_values,c=0;c<=22;c++)i[c]=h.LARGE_BITS;for(c=0;c<16;c++){var u=e.scalefac_band.l[c+1];if(u>=l)break;var d=0,f=new n(d),p=A(r,0,u,f);d=f.bits;for(var g=0;g<8;g++){var m=e.scalefac_band.l[c+g+2];if(m>=l)break;var v=d,y=A(r,u,m,f=new n(v));v=f.bits,i[c+g]>v&&(i[c+g]=v,o[c+g]=c,a[c+g]=p,s[c+g]=y)}}}(e,t,i,o,d,f,p),g(e,r,t,i,o,d,f,p));var m=r.big_values;if(!(0==m||(i[m-2]|i[m-1])>1||(m=t.count1+2)>576)){r.assign(t),r.count1=m;var v=0,y=0;for(s(m<=576);m>r.big_values;m-=4){var b=2*(2*(2*i[m-4]+i[m-3])+i[m-2])+i[m-1];v+=c.t32l[b],y+=c.t33l[b]}if(r.big_values=m,r.count1table_select=0,v>y&&(v=y,r.count1table_select=1),r.count1bits=v,r.block_type==l.NORM_TYPE)g(e,r,t,i,o,d,f,p);else{if(r.part2_3_length=v,(v=e.scalefac_band.l[8])>m&&(v=m),v>0){var _=new n(r.part2_3_length);r.table_select[0]=A(i,0,v,_),r.part2_3_length=_.bits}m>v&&(_=new n(r.part2_3_length),r.table_select[1]=A(i,v,m,_),r.part2_3_length=_.bits),t.part2_3_length>r.part2_3_length&&t.assign(r)}}}};var m=[1,1,1,1,8,2,2,2,4,4,4,8,8,8,16,16],v=[1,2,4,8,1,2,4,8,2,4,8,2,4,8,4,8],y=[0,0,0,0,3,1,1,1,2,2,2,3,3,3,4,4],b=[0,1,2,3,0,1,2,3,1,2,3,1,2,3,2,3];e.slen1_tab=y,e.slen2_tab=b,this.best_scalefac_store=function(e,n,r,i){var o,a,u,h,d=i.tt[n][r],f=0;for(u=0,o=0;o=0),u+=p,h=-p;h<0&&0==d.l3_enc[h+u];h++);0==h&&(d.scalefac[o]=f=-2)}if(0==d.scalefac_scale&&0==d.preflag){var A=0;for(o=0;o0&&(A|=d.scalefac[o]);if(0==(1&A)&&0!=A){for(o=0;o0&&(d.scalefac[o]>>=1);d.scalefac_scale=f=1}}if(0==d.preflag&&d.block_type!=l.SHORT_TYPE&&2==e.mode_gr){for(o=11;o0&&(d.scalefac[o]-=t.pretab[o]);d.preflag=f=1}}for(a=0;a<4;a++)i.scfsi[r][a]=0;for(2==e.mode_gr&&1==n&&i.tt[0][r].block_type!=l.SHORT_TYPE&&i.tt[1][r].block_type!=l.SHORT_TYPE&&(function(e,t){for(var n,r=t.tt[1][e],i=t.tt[0][e],o=0;o=0);n++);if(n==c.scfsi_band[o+1]){for(n=c.scfsi_band[o];nd&&(r.part2_length=d,r.scalefac_compress=o)}}(r,i),f=0),o=0;oi[n]&&(e.part2_length=i[n],e.scalefac_compress=n);return e.part2_length==h.LARGE_BITS};var C=[[15,15,7,7],[15,15,7,0],[7,3,0,0],[15,31,31,0],[7,7,7,0],[3,3,0,0]];this.scale_bitcount_lsf=function(e,n){var r,o,c,u,h,d,f,p,A=a(4),g=n.scalefac;for(r=0!=n.preflag?2:0,f=0;f<4;f++)A[f]=0;if(n.block_type==l.SHORT_TYPE){o=1;var m=t.nr_of_sfb_block[r][o];for(p=0,c=0;c<4;c++)for(u=m[c]/3,f=0;fA[c]&&(A[c]=g[3*p+h])}else for(o=0,m=t.nr_of_sfb_block[r][o],p=0,c=0;c<4;c++)for(u=m[c],f=0;fA[c]&&(A[c]=g[p]);for(d=!1,c=0;c<4;c++)A[c]>C[r][c]&&(d=!0);if(!d){var v,y,b,_;for(n.sfb_partition_table=t.nr_of_sfb_block[r][o],c=0;c<4;c++)n.slen[c]=S[A[c]];switch(v=n.slen[0],y=n.slen[1],b=n.slen[2],_=n.slen[3],r){case 0:n.scalefac_compress=(5*v+y<<4)+(b<<2)+_;break;case 1:n.scalefac_compress=400+(5*v+y<<2)+b;break;case 2:n.scalefac_compress=500+3*v+y;break;default:i.err.printf("intensity stereo not implemented yet\n")}}if(!d)for(s(null!=n.sfb_partition_table),n.part2_length=0,c=0;c<4;c++)n.part2_length+=n.slen[c]*n.sfb_partition_table[c];return d};var S=[0,1,2,2,3,3,3,3,4,4,4,4,4,4,4,4];this.huffman_init=function(e){for(var t=2;t<=576;t+=2){for(var n,i=0;e.scalefac_band.l[++i]t;)n--;for(n<0&&(n=r[i][0]),e.bv_scf[t-2]=n,n=r[i][1];e.scalefac_band.l[n+e.bv_scf[t-2]+2]>t;)n--;n<0&&(n=r[i][1]),e.bv_scf[t-1]=n}}}},"1kS7":function(e,t){t.f=Object.getOwnPropertySymbols},"1oZe":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return{methods:{focus:function(){this.$refs[e].focus()}}}}},"1xnL":function(e,t,n){var r=n("QG6P");e.exports=function(){this.thm=new r,this.en=new r}},"21It":function(e,t,n){"use strict";var r=n("FtD3");e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},"2KxR":function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},"2kvA":function(e,t,n){"use strict";t.__esModule=!0,t.isInContainer=t.getScrollContainer=t.isScroll=t.getStyle=t.once=t.off=t.on=void 0;var r="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};t.hasClass=p,t.addClass=function(e,t){if(!e)return;for(var n=e.className,r=(t||"").split(" "),i=0,o=r.length;i-1}var A=t.getStyle=c<9?function(e,t){if(!a){if(!e||!t)return null;"float"===(t=h(t))&&(t="styleFloat");try{switch(t){case"opacity":try{return e.filters.item("alpha").opacity/100}catch(e){return 1}default:return e.style[t]||e.currentStyle?e.currentStyle[t]:null}}catch(n){return e.style[t]}}}:function(e,t){if(!a){if(!e||!t)return null;"float"===(t=h(t))&&(t="cssFloat");try{var n=document.defaultView.getComputedStyle(e,"");return e.style[t]||n?n[t]:null}catch(n){return e.style[t]}}};var g=t.isScroll=function(e,t){if(!a)return A(e,null!==t||void 0!==t?t?"overflow-y":"overflow-x":"overflow").match(/(scroll|auto)/)};t.getScrollContainer=function(e,t){if(!a){for(var n=e;n;){if([window,document,document.documentElement].includes(n))return window;if(g(n,t))return n;n=n.parentNode}return n}},t.isInContainer=function(e,t){if(a||!e||!t)return!1;var n=e.getBoundingClientRect(),r=void 0;return r=[window,document,document.documentElement,null,void 0].includes(t)?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:t.getBoundingClientRect(),n.topr.top&&n.right>r.left&&n.leftt===e)}n.r(t),n.d(t,"canvastoDataURL",function(){return a}),n.d(t,"canvastoFile",function(){return s}),n.d(t,"dataURLtoFile",function(){return c}),n.d(t,"dataURLtoImage",function(){return u}),n.d(t,"downloadFile",function(){return h}),n.d(t,"filetoDataURL",function(){return d}),n.d(t,"imagetoCanvas",function(){return p}),n.d(t,"urltoBlob",function(){return A}),n.d(t,"urltoImage",function(){return g}),n.d(t,"compress",function(){return v}),n.d(t,"compressAccurately",function(){return y}),n.d(t,"EImageType",function(){return r}),function(e){e.PNG="image/png",e.JPEG="image/jpeg",e.GIF="image/gif"}(r||(r={}));var o=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})};function a(e,t=.92,n=r.JPEG){return o(this,void 0,void 0,function*(){return i(n)||(n=r.JPEG),e.toDataURL(n,t)})}function s(e,t=.92,n=r.JPEG){return new Promise(r=>e.toBlob(e=>r(e),n,t))}var l=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})};function c(e,t){return l(this,void 0,void 0,function*(){const n=e.split(",");let r=n[0].match(/:(.*?);/)[1];const o=atob(n[1]);let a=o.length;const s=new Uint8Array(a);for(;a--;)s[a]=o.charCodeAt(a);return i(t)&&(r=t),new Blob([s],{type:r})})}function u(e){return new Promise((t,n)=>{const r=new Image;r.onload=(()=>t(r)),r.onerror=(()=>n(new Error("dataURLtoImage(): dataURL is illegal"))),r.src=e})}function h(e,t){const n=document.createElement("a");n.href=window.URL.createObjectURL(e),n.download=t||Date.now().toString(36),document.body.appendChild(n);const r=document.createEvent("MouseEvents");r.initEvent("click",!1,!1),n.dispatchEvent(r),document.body.removeChild(n)}function d(e){return new Promise(t=>{const n=new FileReader;n.onloadend=(e=>t(e.target.result)),n.readAsDataURL(e)})}var f=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})};function p(e,t={}){return f(this,void 0,void 0,function*(){const n=Object.assign({},t),r=document.createElement("canvas"),i=r.getContext("2d");let o,a;for(const e in n)Object.prototype.hasOwnProperty.call(n,e)&&(n[e]=Number(n[e]));if(n.scale){const t=n.scale>0&&n.scale<10?n.scale:1;a=e.width*t,o=e.height*t}else a=n.width||n.height*e.width/e.height||e.width,o=n.height||n.width*e.height/e.width||e.height;switch([5,6,7,8].some(e=>e===n.orientation)?(r.height=a,r.width=o):(r.height=o,r.width=a),n.orientation){case 3:i.rotate(180*Math.PI/180),i.drawImage(e,-r.width,-r.height,r.width,r.height);break;case 6:i.rotate(90*Math.PI/180),i.drawImage(e,0,-r.width,r.height,r.width);break;case 8:i.rotate(270*Math.PI/180),i.drawImage(e,-r.height,0,r.height,r.width);break;case 2:i.translate(r.width,0),i.scale(-1,1),i.drawImage(e,0,0,r.width,r.height);break;case 4:i.translate(r.width,0),i.scale(-1,1),i.rotate(180*Math.PI/180),i.drawImage(e,-r.width,-r.height,r.width,r.height);break;case 5:i.translate(r.width,0),i.scale(-1,1),i.rotate(90*Math.PI/180),i.drawImage(e,0,-r.width,r.height,r.width);break;case 7:i.translate(r.width,0),i.scale(-1,1),i.rotate(270*Math.PI/180),i.drawImage(e,-r.height,0,r.height,r.width);break;default:i.drawImage(e,0,0,r.width,r.height)}return r})}function A(e){return fetch(e).then(e=>e.blob())}function g(e){return new Promise((t,n)=>{const r=new Image;r.onload=(()=>t(r)),r.onerror=(()=>n(new Error("urltoImage(): Image failed to load, please check the image URL"))),r.src=e})}var m=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})};function v(e,t={}){return m(this,void 0,void 0,function*(){if(!(e instanceof Blob))throw new Error("compress(): First arg must be a Blob object or a File object.");if("object"!=typeof t&&(t=Object.assign({quality:t})),t.quality=Number(t.quality),Number.isNaN(t.quality))return e;const n=yield d(e);let o=n.split(",")[0].match(/:(.*?);/)[1],s=r.JPEG;i(t.type)&&(s=t.type,o=t.type);const l=yield c(yield a(yield p(yield u(n),Object.assign({},t)),t.quality,s),o);return l.size>e.size?e:l})}function y(e,t={}){return m(this,void 0,void 0,function*(){if(!(e instanceof Blob))throw new Error("compressAccurately(): First arg must be a Blob object or a File object.");if("object"!=typeof t&&(t=Object.assign({size:t})),t.size=Number(t.size),Number.isNaN(t.size))return e;if(1024*t.size>e.size)return e;t.accuracy=Number(t.accuracy),(!t.accuracy||t.accuracy<.8||t.accuracy>.99)&&(t.accuracy=.95);const n=t.size*(2-t.accuracy)*1024,o=1024*t.size,s=t.size*t.accuracy*1024,l=yield d(e);let h=l.split(",")[0].match(/:(.*?);/)[1],f=r.JPEG;i(t.type)&&(f=t.type,h=t.type);const A=yield p(yield u(l),Object.assign({},t));let g,m=.5;const v=[null,null];for(let e=1;e<=7;e++){const t=.75*(g=yield a(A,m,f)).length;if(7===e){(nt)&&(g=[g,...v].filter(e=>e).sort((e,t)=>Math.abs(.75*e.length-o)-Math.abs(.75*t.length-o))[0]);break}if(nt))break;v[0]=g,m+=Math.pow(.5,e+1)}}const y=yield c(g,h);return y.size>e.size?e:y})}}])},e.exports=r()},"3Eo+":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},"3a40":function(e,t){!function(e){"use strict";var t=e.jsMind;if(t&&void 0===t.screenshot){var n=e.document,r=function(e){return n.createElement(e)},i=function(e,t){return e.getPropertyValue(t)},o=function(e){var t=i(e,"visibility"),n=i(e,"display");return"hidden"!==t&&"none"!==n},a={rect:function(e,t,n,r,i,o){r<2*o&&(o=r/2),i<2*o&&(o=i/2),e.moveTo(t+o,n),e.arcTo(t+r,n,t+r,n+i,o),e.arcTo(t+r,n+i,t,n+i,o),e.arcTo(t,n+i,t,n,o),e.arcTo(t,n,t+r,n,o)},text_multiline:function(e,t,n,r,i,o,a){var s="",l=t.length,c=t.split(""),u=null;e.textAlign="left",e.textBaseline="top";for(var h=0;hi&&h>0?(e.fillText(s,n,r),s=c[h],r+=a):s=u;e.fillText(s,n,r)},text_ellipsis:function(e,t,n,r,i,o){var s=r+o/2;t=a.fittingString(e,t,i);e.textAlign="left",e.textBaseline="middle",e.fillText(t,n,s,i)},fittingString:function(e,t,n){var r=e.measureText(t).width,i=e.measureText("…").width;if(r<=n||r<=i)return t;for(var o=t.length;r>=n-i&&o-- >0;)t=t.substring(0,o),r=e.measureText(t).width;return t+"…"},image:function(e,t,n,r,i,o,s,l,c){var u=new Image;u.onload=function(){e.save(),e.translate(n,r),e.save(),e.beginPath(),a.rect(e,0,0,i,o,s),e.closePath(),e.clip(),e.translate(i/2,o/2),e.rotate(l*Math.PI/180),e.drawImage(u,-i/2,-o/2),e.restore(),e.restore(),c&&c()},u.src=t}};t.screenshot=function(e){this.jm=e,this.canvas_elem=null,this.canvas_ctx=null,this._inited=!1},t.screenshot.prototype={init:function(){if(!this._inited){console.log("init");var e=r("canvas"),t=e.getContext("2d");this.canvas_elem=e,this.canvas_ctx=t,this.jm.view.e_panel.appendChild(e),this._inited=!0,this.resize()}},shoot:function(e){this.init(),this._draw(function(){e&&e(),this.clean()}.bind(this)),this._watermark()},shootDownload:function(){this.shoot(function(){this._download()}.bind(this))},shootAsDataURL:function(e){this.shoot(function(){e&&e(this.canvas_elem.toDataURL())}.bind(this))},resize:function(){this._inited&&(this.canvas_elem.width=this.jm.view.size.w,this.canvas_elem.height=this.jm.view.size.h)},clean:function(){var e=this.canvas_elem;this.canvas_ctx.clearRect(0,0,e.width,e.height)},_draw:function(e){var t=this.canvas_ctx;t.textAlign="left",t.textBaseline="top",this._draw_lines(function(){this._draw_nodes(e)}.bind(this))},_watermark:function(){var t=this.canvas_elem,n=this.canvas_ctx;n.textAlign="right",n.textBaseline="bottom",n.fillStyle="#000",n.font="11px Verdana,Arial,Helvetica,sans-serif",n.fillText("hizzgdev.github.io/jsmind",t.width-5.5,t.height-2.5),n.textAlign="left",n.fillText(e.location,5.5,t.height-2.5)},_draw_lines:function(e){this.jm.view.graph.copy_to(this.canvas_ctx,e)},_draw_nodes:function(t){var n,r=this.jm.mind.nodes;for(var i in r)n=r[i],this._draw_node(n);!function i(){console.log("check_node_ready"+new Date);var o=!0;for(var a in r)o&=(n=r[a]).ready;o?e.setTimeout(t,200):e.setTimeout(i,200)}()},_draw_node:function(e){var t=this.canvas_ctx,n=e._data.view,r=n.element,s=getComputedStyle(r);if(o(s)){var l=i(s,"background-color"),c=parseInt(i(s,"border-top-left-radius")),u=i(s,"color"),h=parseInt(i(s,"padding-left")),d=parseInt(i(s,"padding-right")),f=parseInt(i(s,"padding-top")),p=parseInt(i(s,"padding-bottom")),A=i(s,"text-overflow"),g=i(s,"font-style")+" "+i(s,"font-variant")+" "+i(s,"font-weight")+" "+i(s,"font-size")+"/"+i(s,"line-height")+" "+i(s,"font-family"),m={x:n.abs_x,y:n.abs_y,w:n.width+1,h:n.height+1},v={x:m.x+h,y:m.y+f,w:m.w-h-d,h:m.h-f-p};if(t.font=g,t.fillStyle=l,t.beginPath(),a.rect(t,m.x,m.y,m.w,m.h,c),t.closePath(),t.fill(),t.fillStyle=u,"background-image"in e.data){var y=i(s,"background-image").slice(5,-2);e.ready=!1;var b=0;"background-rotation"in e.data&&(b=e.data["background-rotation"]),a.image(t,y,m.x,m.y,m.w,m.h,c,b,function(){e.ready=!0})}if(e.topic)if("ellipsis"===A)a.text_ellipsis(t,e.topic,v.x,v.y,v.w,v.h);else{var _=parseInt(i(s,"line-height"));a.text_multiline(t,e.topic,v.x,v.y,v.w,v.h,_)}n.expander&&this._draw_expander(n.expander),"background-image"in e.data||(e.ready=!0)}else e.ready=!0},_draw_expander:function(e){var t=this.canvas_ctx,n=getComputedStyle(e);if(o(n)){var r=i(n,"left"),a=i(n,"top"),s=(i(n,"font"),parseInt(r)),l=parseInt(a),c="+"===e.innerHTML;t.lineWidth=1,t.beginPath(),t.arc(s+7,l+7,5,0,2*Math.PI,!0),t.moveTo(s+10,l+7),t.lineTo(s+4,l+7),c&&(t.moveTo(s+7,l+4),t.lineTo(s+7,l+10)),t.closePath(),t.stroke()}},_download:function(){var e=this.canvas_elem,t=this.jm.mind.name+".png";if(navigator.msSaveBlob&&e.msToBlob){var i=e.msToBlob();navigator.msSaveBlob(i,t)}else{var o=this.canvas_elem.toDataURL(),a=r("a");if("download"in a){a.style.visibility="hidden",a.href=o,a.download=t,n.body.appendChild(a);var s=n.createEvent("MouseEvents");s.initEvent("click",!0,!0),a.dispatchEvent(s),n.body.removeChild(a)}else location.href=o}},jm_event_handle:function(e,n){e===t.event_type.resize&&this.resize()}};var s=new t.plugin("screenshot",function(e){var n=new t.screenshot(e);e.screenshot=n,e.shoot=function(){n.shoot()},e.add_event_listener(function(e,t){n.jm_event_handle.call(n,e,t)})});t.register_plugin(s)}}(window)},"3fo+":function(e,t,n){e.exports=n("YAhB")},"3fs2":function(e,t,n){var r=n("RY/4"),i=n("dSzd")("iterator"),o=n("/bQp");e.exports=n("FeBl").getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},"4WTo":function(e,t,n){var r=n("NWt+");e.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},"4mcu":function(e,t){e.exports=function(){}},"504h":function(e,t,n){"use strict";var r,i,o;i="undefined"!=typeof window?window:this,o=function(e){function t(t,n,r,i){t.hasOwnProperty(n)||(t[n]=i.apply(null,r),"function"==typeof CustomEvent&&e.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:n,module:t[n]}})))}var n={};return t(n,"Core/Globals.js",[],function(){var t;return function(t){t.SVG_NS="http://www.w3.org/2000/svg",t.product="Highcharts",t.version="11.1.0",t.win=void 0!==e?e:{},t.doc=t.win.document,t.svg=t.doc&&t.doc.createElementNS&&!!t.doc.createElementNS(t.SVG_NS,"svg").createSVGRect,t.userAgent=t.win.navigator&&t.win.navigator.userAgent||"",t.isChrome=-1!==t.userAgent.indexOf("Chrome"),t.isFirefox=-1!==t.userAgent.indexOf("Firefox"),t.isMS=/(edge|msie|trident)/i.test(t.userAgent)&&!t.win.opera,t.isSafari=!t.isChrome&&-1!==t.userAgent.indexOf("Safari"),t.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(t.userAgent),t.isWebKit=-1!==t.userAgent.indexOf("AppleWebKit"),t.deg2rad=2*Math.PI/360,t.hasBidiBug=t.isFirefox&&4>parseInt(t.userAgent.split("Firefox/")[1],10),t.hasTouch=!!t.win.TouchEvent,t.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],t.noop=function(){},t.supportsPassiveEvents=function(){let e=!1;if(!t.isMS){const n=Object.defineProperty({},"passive",{get:function(){e=!0}});t.win.addEventListener&&t.win.removeEventListener&&(t.win.addEventListener("testPassive",t.noop,n),t.win.removeEventListener("testPassive",t.noop,n))}return e}(),t.charts=[],t.dateFormats={},t.seriesTypes={},t.symbolSizes={},t.chartCount=0}(t||(t={})),t}),t(n,"Core/Utilities.js",[n["Core/Globals.js"]],function(e){function t(n,r,i,o){const a=r?"Highcharts error":"Highcharts warning";32===n&&(n=`${a}: Deprecated member`);const s=l(n);let c=s?`${a} #${n}: www.highcharts.com/errors/${n}/`:n.toString();if(void 0!==o){let e="";s&&(c+="?"),m(o,function(t,n){e+=`\n - ${n}: ${t}`,s&&(c+=encodeURI(n)+"="+encodeURI(t))}),c+=e}y(e,"displayError",{chart:i,code:n,message:c,params:o},function(){if(r)throw Error(c);w.console&&-1===t.messages.indexOf(c)&&console.warn(c)}),t.messages.push(c)}function n(e,t){return parseInt(e,t||10)}function r(e){return"string"==typeof e}function i(e){return"[object Array]"===(e=Object.prototype.toString.call(e))||"[object Array Iterator]"===e}function o(e,t){return!(!e||"object"!=typeof e||t&&i(e))}function a(e){return o(e)&&"number"==typeof e.nodeType}function s(e){const t=e&&e.constructor;return!(!o(e,!0)||a(e)||!t||!t.name||"Object"===t.name)}function l(e){return"number"==typeof e&&!isNaN(e)&&1/0>e&&-1/0{c(t)?e.setAttribute(n,t):i?(o=e.getAttribute(n))||"class"!==n||(o=e.getAttribute(n+"Name")):e.removeAttribute(n)};return r(t)?a(n,t):m(t,a),o}function h(e){return i(e)?e:[e]}function d(e,t){let n;for(n in e||(e={}),t)e[n]=t[n];return e}function f(){const e=arguments,t=e.length;for(let n=0;ne.order-t.order),o.forEach(e=>{!1===e.fn.call(t,r)&&r.preventDefault()})}i&&!r.defaultPrevented&&i.call(t,r)}const{charts:b,doc:_,win:w}=e;(t||(t={})).messages=[],Math.easeInOutSine=function(e){return-.5*(Math.cos(Math.PI*e)-1)};var x=Array.prototype.find?function(e,t){return e.find(t)}:function(e,t){let n;const r=e.length;for(n=0;ne.order-t.order),function(){v(t,n,r)}},arrayMax:function(e){let t=e.length,n=e[0];for(;t--;)e[t]>n&&(n=e[t]);return n},arrayMin:function(e){let t=e.length,n=e[0];for(;t--;)e[t]t?e{if(1(o=e[a]-e[a-1])&&!n?(null===t||void 0===t||t(),t=void 0):o&&(void 0===r||o=r-1&&(r=Math.floor(i)),Math.max(0,r-(e(t,"padding-left",!0)||0)-(e(t,"padding-right",!0)||0))):"height"===r?Math.max(0,Math.min(t.offsetHeight,t.scrollHeight)-(e(t,"padding-top",!0)||0)-(e(t,"padding-bottom",!0)||0)):((t=w.getComputedStyle(t,void 0))&&(o=t.getPropertyValue(r),f(i,"opacity"!==r)&&(o=n(o))),o)},inArray:function(e,n,r){return t(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),n.indexOf(e,r)},insertItem:function(e,t){const n=e.options.index,r=t.length;let i;for(i=e.options.isInternal?r:0;i=n&&(t=[1/n]))),r=0;r=e||!i&&a<=(t[r]+(t[r+1]||t[r]))/2));r++);return g(o*n,-Math.round(Math.log(.001)/Math.LN10))},objectEach:m,offset:function(e){const t=_.documentElement;return{top:(e=e.parentElement||e.parentNode?e.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(w.pageYOffset||t.scrollTop)-(t.clientTop||0),left:e.left+(w.pageXOffset||t.scrollLeft)-(t.clientLeft||0),width:e.width,height:e.height}},pad:function(e,t,n){return Array((t||2)+1-String(e).replace("-","").length).join(n||"0")+e},pick:f,pInt:n,pushUnique:function(e,t){return 0>e.indexOf(t)&&!!e.push(t)},relativeLength:function(e,t,n){return/%$/.test(e)?t*parseFloat(e)/100+(n||0):parseFloat(e)},removeEvent:v,splat:h,stableSort:function(e,t){const n=e.length;let r,i;for(i=0;inew o(e[1]));else if("string"==typeof e){if(this.input=e=o.names[e.toLowerCase()]||e,"#"===e.charAt(0)){var r=e.length,i=parseInt(e.substr(1),16);7===r?t=[(16711680&i)>>16,(65280&i)>>8,255&i,1]:4===r&&(t=[(3840&i)>>4|(3840&i)>>8,(240&i)>>4|240&i,(15&i)<<4|15&i,1])}if(!t)for(i=o.parsers.length;i--&&!t;)(r=(n=o.parsers[i]).regex.exec(e))&&(t=n.parse(r))}t&&(this.rgba=t)}get(e){const t=this.input,i=this.rgba;if("object"==typeof t&&void 0!==this.stops){const n=r(t);return n.stops=[].slice.call(n.stops),this.stops.forEach((t,r)=>{n.stops[r]=[n.stops[r][0],t.get(e)]}),n}return i&&n(i[0])?"rgb"===e||!e&&1===i[3]?"rgb("+i[0]+","+i[1]+","+i[2]+")":"a"===e?`${i[3]}`:"rgba("+i.join(",")+")":t}brighten(e){const t=this.rgba;if(this.stops)this.stops.forEach(function(t){t.brighten(e)});else if(n(e)&&0!==e)for(let n=0;3>n;n++)t[n]+=i(255*e),0>t[n]&&(t[n]=0),255h?"AM":"PM",P:12>h?"am":"pm",S:c(s.getSeconds()),L:c(Math.floor(n%1e3),3)},e.dateFormats),l(s,function(e,r){for(;-1!==t.indexOf("%"+r);)t=t.replace("%"+r,"function"==typeof e?e.call(a,n):e)}),i?t.substr(0,1).toUpperCase()+t.substr(1):t}resolveDTLFormat(e){return a(e,!0)?e:{main:(e=h(e))[0],from:e[1],to:e[2]}}getTimeTicks(e,t,n,i){const a=this,s=[],l={};var c=new a.Date(t);const h=e.unitRange,f=e.count||1;let p;if(i=u(i,1),r(t)){if(a.set("Milliseconds",c,h>=d.second?0:f*Math.floor(a.get("Milliseconds",c)/f)),h>=d.second&&a.set("Seconds",c,h>=d.minute?0:f*Math.floor(a.get("Seconds",c)/f)),h>=d.minute&&a.set("Minutes",c,h>=d.hour?0:f*Math.floor(a.get("Minutes",c)/f)),h>=d.hour&&a.set("Hours",c,h>=d.day?0:f*Math.floor(a.get("Hours",c)/f)),h>=d.day&&a.set("Date",c,h>=d.month?1:Math.max(1,f*Math.floor(a.get("Date",c)/f))),h>=d.month){a.set("Month",c,h>=d.year?0:f*Math.floor(a.get("Month",c)/f));var A=a.get("FullYear",c)}h>=d.year&&a.set("FullYear",c,A-A%f),h===d.week&&(A=a.get("Day",c),a.set("Date",c,a.get("Date",c)-A+i+(A4*d.month||a.getTimezoneOffset(t)!==a.getTimezoneOffset(n)),t=c.getTime(),c=1;ts.length&&s.forEach(function(e){0==e%18e5&&"000000000"===a.dateFormat("%H%M%S%L",e)&&(l[e]="day")})}return s.info=o(e,{higherRanks:l,totalRange:h*f}),s}getDateFormat(e,t,n,r){const i=this.dateFormat("%m-%d %H:%M:%S.%L",t),o={millisecond:15,second:12,minute:9,hour:6,day:3};let a,s="millisecond";for(a in d){if(e===d.week&&+this.dateFormat("%w",t)===n&&"00:00:00.000"===i.substr(6)){a="week";break}if(d[a]>e){a=s;break}if(o[a]&&i.substr(o[a])!=="01-01 00:00:00.000".substr(o[a]))break;"week"!==a&&(s=a)}return this.resolveDTLFormat(r[a]).main}}}),t(n,"Core/Defaults.js",[n["Core/Chart/ChartDefaults.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Color/Palettes.js"],n["Core/Time.js"],n["Core/Utilities.js"]],function(e,t,n,r,i,o){const{isTouchDevice:a,svg:s}=n,{merge:l}=o,c={colors:r.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:e,title:{style:{color:"#333333",fontWeight:"bold"},text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{style:{color:"#666666",fontSize:"0.8em"},text:"",align:"center",widthAdjust:-44},caption:{margin:15,style:{color:"#666666",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"#0022ff",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#666666",textDecoration:"line-through"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:s,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %e %b, %H:%M:%S.%L",second:"%A, %e %b, %H:%M:%S",minute:"%A, %e %b, %H:%M",hour:"%A, %e %b, %H:%M",day:"%A, %e %b %Y",week:"Week from %A, %e %b %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:a?25:10,headerFormat:'{point.key}
',pointFormat:' {series.name}: {point.y}
',backgroundColor:"#ffffff",borderWidth:void 0,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"0.8em"},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:"0.6em"},text:"Highcharts.com"}};c.chart.styledMode=!1;const u=new i(c.time);return e={defaultOptions:c,defaultTime:u,getOptions:function(){return c},setOptions:function(e){return l(!0,c,e),(e.time||e.global)&&(n.time?n.time.update(l(c.global,c.time,e.global,e.time)):n.time=u),c}}}),t(n,"Core/Animation/Fx.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(e,t,n){const{parse:r}=e,{win:i}=t,{isNumber:o,objectEach:a}=n;class s{constructor(e,t,n){this.pos=NaN,this.options=t,this.elem=e,this.prop=n}dSetter(){var e=this.paths;const t=e&&e[0];e=e&&e[1];const n=this.now||0;let r=[];if(1!==n&&t&&e)if(t.length===e.length&&1>n)for(let i=0;i=o+this.startTime?(this.now=this.end,this.pos=1,this.update(),l=s[this.prop]=!0,a(s,function(e){!0!==e&&(l=!1)}),l&&i&&i.call(r),e=!1):(this.pos=n.easing((t-this.startTime)/o),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e=!0),e}initPath(e,t,n){function r(e,t){for(;e.length{e=n(e.options.animation),a=t&&i(t.defer)?o.defer:Math.max(a,e.duration+e.defer),s=Math.min(o.duration,e.duration)}),e.renderer.forExport&&(a=0),{defer:Math.max(0,a-s),duration:Math.min(a,s)}},setAnimation:function(e,t){t.renderer.globalAnimation=h(e,t.options.chart.animation,!0)},stop:r}}),t(n,"Core/Renderer/HTML/AST.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],function(e,t){const{SVG_NS:n,win:r}=e,{attr:i,createElement:o,css:a,error:s,isFunction:l,isString:c,objectEach:u,splat:h}=t;({trustedTypes:t}=r);const d=t&&l(t.createPolicy)&&t.createPolicy("highcharts",{createHTML:e=>e});t=d?d.createHTML(""):"";try{var f=!!(new DOMParser).parseFromString(t,"text/html")}catch(e){f=!1}const p=f;class A{static filterUserAttributes(e){return u(e,(t,n)=>{let r=!0;-1===A.allowedAttributes.indexOf(n)&&(r=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(n)&&(r=c(t)&&A.allowedReferences.some(e=>0===t.indexOf(e))),r||(s(33,!1,void 0,{"Invalid attribute in config":`${n}`}),delete e[n]),c(t)&&e[n]&&(e[n]=t.replace(/{const n=(t=t.split(":").map(e=>e.trim())).shift();return n&&t.length&&(e[n.replace(/-([a-z])/g,e=>e[1].toUpperCase())]=t.join(":")),e},{})}static setElementHTML(e,t){e.innerHTML=A.emptyHTML,t&&new A(t).addToDOM(e)}constructor(e){this.nodes="string"==typeof e?this.parseMarkup(e):e}addToDOM(t){return function t(r,o){let l;return h(r).forEach(function(r){var c=r.tagName;const h=r.textContent?e.doc.createTextNode(r.textContent):void 0,d=A.bypassHTMLFiltering;let f;if(c)if("#text"===c)f=h;else if(-1!==A.allowedTags.indexOf(c)||d){c=e.doc.createElementNS("svg"===c?n:o.namespaceURI||n,c);const s=r.attributes||{};u(r,function(e,t){"tagName"!==t&&"attributes"!==t&&"children"!==t&&"style"!==t&&"textContent"!==t&&(s[t]=e)}),i(c,d?s:A.filterUserAttributes(s)),r.style&&a(c,r.style),h&&c.appendChild(h),t(r.children||[],c),f=c}else s(33,!1,void 0,{"Invalid tagName in config":c});f&&o.appendChild(f),l=f}),l}(this.nodes,t)}parseMarkup(e){const t=[];if(e=e.trim().replace(/ style=(["'])/g," data-style=$1"),p)e=(new DOMParser).parseFromString(d?d.createHTML(e):e,"text/html");else{const t=o("div");t.innerHTML=e,e={body:t}}const n=(e,t)=>{var r=e.nodeName.toLowerCase();const i={tagName:r};if("#text"===r&&(i.textContent=e.textContent||""),r=e.attributes){const e={};[].forEach.call(r,t=>{"data-style"===t.name?i.style=A.parseStyle(t.value):e[t.name]=t.value}),i.attributes=e}if(e.childNodes.length){const t=[];[].forEach.call(e.childNodes,e=>{n(e,t)}),t.length&&(i.children=t)}t.push(i)};return[].forEach.call(e.body.childNodes,e=>n(e,t)),t}}return A.allowedAttributes="alt aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill flood-color flood-opacity height href id in markerHeight markerWidth offset opacity orient padding paddingLeft paddingRight patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style tableValues result rowspan summary target tabindex text-align text-anchor textAnchor textLength title type valign width x x1 x2 xlink:href y y1 y2 zIndex".split(" "),A.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" "),A.allowedTags="a abbr b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feDropShadow feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text textPath thead title tbody tspan td th tr u ul #text".split(" "),A.emptyHTML=t,A.bypassHTMLFiltering=!1,A}),t(n,"Core/Templating.js",[n["Core/Defaults.js"],n["Core/Utilities.js"]],function(e,t){function n(e="",t,a){const l=/\{([a-zA-Z0-9:\.,;\-\/<>%_@"'= #\(\)]+)\}/g,c=/\(([a-zA-Z0-9:\.,;\-\/<>%_@"'= ]+)\)/g,u=[],d=/f$/,p=/\.([0-9])/,A=i.lang,g=a&&a.time||o,m=a&&a.numberFormatter||r,v=(e="")=>{let n;return"true"===e||"false"!==e&&((n=Number(e)).toString()===e?n:s(e,t))};let y,b,_,w=0;for(;null!==(y=l.exec(e));){const n=c.exec(y[1]);n&&(y=n,_=!0),b&&b.isBlock||(b={ctx:t,expression:y[1],find:y[0],isBlock:"#"===y[1].charAt(0),start:y.index,startInner:y.index+y[0].length,length:y[0].length});var x=y[1].split(" ")[0].replace("#","");if(f[x]&&(b.isBlock&&x===b.fn&&w++,b.fn||(b.fn=x)),x="else"===y[1],b.isBlock&&b.fn&&(y[1]===`/${b.fn}`||x))if(w)x||w--;else{var C=b.startInner;C=e.substr(C,y.index-C),void 0===b.body?(b.body=C,b.startInner=y.index+y[0].length):b.elseBody=C,b.find+=C+y[0],x||(u.push(b),b=void 0)}else b.isBlock||u.push(b);if(n&&(null===b||void 0===b||!b.isBlock))break}return u.forEach(r=>{const{body:i,elseBody:o,expression:a,fn:s}=r;var l;if(s){var c=[r],u=a.split(" ");for(l=f[s].length;l--;)c.unshift(v(u[l+1]));l=f[s].apply(t,c),r.isBlock&&"boolean"==typeof l&&(l=n(l?i:o,t))}else c=a.split(":"),l=v(c.shift()||""),c.length&&"number"==typeof l&&(c=c.join(":"),d.test(c)?(u=parseInt((c.match(p)||["","-1"])[1],10),null!==l&&(l=m(l,u,A.decimalPoint,-1s[1]){var u=t+ +s[1];0<=u?(s[0]=(+s[0]).toExponential(u).split("e")[0],t=u):(s[0]=s[0].split(".")[0]||0,e=20>t?(s[0]*Math.pow(10,s[1])).toFixed(t):0,s[1]=0)}}else t=2;u=(Math.abs(s[1]?s[0]:e)+Math.pow(10,-Math.max(t,a)-1)).toFixed(t);const f=3<(a=String(d(u))).length?a.length%3:0;return n=h(n,o.decimalPoint),r=h(r,o.thousandsSep),e=(0>e?"-":"")+(f?a.substr(0,f)+r:""),e=0>+s[1]&&!l?"0":e+a.substr(f).replace(/(\d{3})(?=\d)/g,"$1"+r),t&&(e+=n+u.slice(-t)),s[1]&&0!=+e&&(e+="e"+s[1]),e}const{defaultOptions:i,defaultTime:o}=e,{extend:a,getNestedProperty:s,isArray:l,isNumber:c,isObject:u,pick:h,pInt:d}=t,f={add:(e,t)=>e+t,divide:(e,t)=>0!==t?e/t:"",eq:(e,t)=>e==t,each:function(e){const t=arguments[arguments.length-1];return!!l(e)&&e.map((r,i)=>n(t.body,a(u(r)?r:{"@this":r},{"@index":i,"@first":0===i,"@last":i===e.length-1}))).join("")},ge:(e,t)=>e>=t,gt:(e,t)=>e>t,if:e=>!!e,le:(e,t)=>e<=t,lt:(e,t)=>ee*t,ne:(e,t)=>e!=t,subtract:(e,t)=>e-t,unless:e=>!e};return{dateFormat:function(e,t,n){return o.dateFormat(e,t,n)},format:n,helpers:f,numberFormat:r}}),t(n,"Core/Renderer/RendererUtilities.js",[n["Core/Utilities.js"]],function(e){const{clamp:t,pick:n,stableSort:r}=e;var i;return function(e){(i||(i={})).distribute=function e(i,o,a){const s=i;var l=s.reducedLen||o,c=(e,t)=>(t.rank||0)-(e.rank||0);const u=(e,t)=>e.target-t.target;let h,d=!0,f=[],p=0;for(h=i.length;h--;)p+=i[h].size;if(p>l){for(r(i,c),p=h=0;p<=l;)p+=i[h].size,h++;f=i.splice(h-1,i.length)}for(r(i,u),i=i.map(e=>({size:e.size,targets:[e.target],align:n(e.align,.5)}));d;){for(h=i.length;h--;)l=i[h],c=(Math.min.apply(0,l.targets)+Math.max.apply(0,l.targets))/2,l.pos=t(c-l.size*l.align,0,o-l.size);for(h=i.length,d=!1;h--;)0i[h].pos&&(i[h-1].size+=i[h].size,i[h-1].targets=i[h-1].targets.concat(i[h].targets),i[h-1].align=.5,i[h-1].pos+i[h-1].size>o&&(i[h-1].pos=o-i[h-1].size),i.splice(h,1),d=!0)}return s.push.apply(s,f),h=0,i.some(t=>{let n=0;return(t.targets||[]).some(()=>(s[h].pos=t.pos+n,void 0!==a&&Math.abs(s[h].pos-s[h].target)>a?(s.slice(0,h+1).forEach(e=>delete e.pos),s.reducedLen=(s.reducedLen||o)-.1*o,s.reducedLen>.1*o&&e(s,o,a),!0):(n+=s[h].size,h++,!1)))}),r(s,u),s}}(),i}),t(n,"Core/Renderer/SVG/SVGElement.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(e,t,n,r){const{animate:i,animObject:o,stop:a}=e,{deg2rad:s,doc:l,svg:c,SVG_NS:u,win:h}=n,{addEvent:d,attr:f,createElement:p,css:A,defined:g,erase:m,extend:v,fireEvent:y,isArray:b,isFunction:_,isObject:w,isString:x,merge:C,objectEach:S,pick:k,pInt:B,syncTimeout:T,uniqueKey:E}=r;class M{constructor(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=u}_defaultGetter(e){return e=k(this[e+"Value"],this[e],this.element?this.element.getAttribute(e):null,0),/^[\-0-9\.]+$/.test(e)&&(e=parseFloat(e)),e}_defaultSetter(e,t,n){n.setAttribute(t,e)}add(e){const t=this.renderer,n=this.element;let r;return e&&(this.parentGroup=e),void 0!==this.textStr&&"text"===this.element.nodeName&&t.buildText(this),this.added=!0,(!e||e.handleZ||this.zIndex)&&(r=this.zIndexSetter()),r||(e?e.element:t.box).appendChild(n),this.onAdd&&this.onAdd(),this}addClass(e,t){const n=t?"":this.attr("class")||"";return(e=(e||"").split(/ /g).reduce(function(e,t){return-1===n.indexOf(t)&&e.push(t),e},n?[n]:[]).join(" "))!==n&&this.attr("class",e),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)}align(e,t,n){const r={};var i,o=this.renderer,a=o.alignedObjects;let s,l;e?(this.alignOptions=e,this.alignByTranslate=t,(!n||x(n))&&(this.alignTo=i=n||"renderer",m(a,this),a.push(this),n=void 0)):(e=this.alignOptions,t=this.alignByTranslate,i=this.alignTo),n=k(n,o[i],"scrollablePlotBox"===i?o.plotBox:void 0,o),i=e.align;const c=e.verticalAlign;return o=(n.x||0)+(e.x||0),a=(n.y||0)+(e.y||0),"right"===i?s=1:"center"===i&&(s=2),s&&(o+=(n.width-(e.width||0))/s),r[t?"translateX":"x"]=Math.round(o),"bottom"===c?l=1:"middle"===c&&(l=2),l&&(a+=(n.height-(e.height||0))/l),r[t?"translateY":"y"]=Math.round(a),this[this.placed?"animate":"attr"](r),this.placed=!0,this.alignAttr=r,this}alignSetter(e){const t={left:"start",center:"middle",right:"end"};t[e]&&(this.alignValue=e,this.element.setAttribute("text-anchor",t[e]))}animate(e,t,n){const r=o(k(t,this.renderer.globalAnimation,!0));return t=r.defer,l.hidden&&(r.duration=0),0!==r.duration?(n&&(r.complete=n),T(()=>{this.element&&i(this,e,r)},t)):(this.attr(e,void 0,n||r.complete),S(e,function(e,t){r.step&&r.step.call(this,e,{prop:t,pos:1,elem:this})},this)),this}applyTextOutline(e){const t=this.element;-1!==e.indexOf("contrast")&&(e=e.replace(/contrast/g,this.renderer.getContrast(t.style.fill)));var r=e.split(" ");if(e=r[r.length-1],(r=r[0])&&"none"!==r&&n.svg){this.fakeTS=!0,r=r.replace(/(^[\d\.]+)(.*?)$/g,function(e,t,n){return 2*Number(t)+n}),this.removeTextOutline();const n=l.createElementNS(u,"tspan");f(n,{class:"highcharts-text-outline",fill:e,stroke:e,"stroke-width":r,"stroke-linejoin":"round"}),e=t.querySelector("textPath")||t,[].forEach.call(e.childNodes,e=>{const t=e.cloneNode(!0);t.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(e=>t.removeAttribute(e)),n.appendChild(t)});let i=0;[].forEach.call(e.querySelectorAll("text tspan"),e=>{i+=Number(e.getAttribute("dy"))}),(r=l.createElementNS(u,"tspan")).textContent="​",f(r,{x:Number(t.getAttribute("x")),dy:-i}),n.appendChild(r),e.insertBefore(n,e.firstChild)}}attr(e,t,n,r){const i=this.element,o=M.symbolCustomAttribs;let s,l,c,u,h=this;return"string"==typeof e&&void 0!==t&&(s=e,(e={})[s]=t),"string"==typeof e?h=(this[e+"Getter"]||this._defaultGetter).call(this,e,i):(S(e,function(t,n){c=!1,r||a(this,n),this.symbolName&&-1!==o.indexOf(n)&&(l||(this.symbolAttr(e),l=!0),c=!0),!this.rotation||"x"!==n&&"y"!==n||(this.doTransform=!0),c||(u=this[n+"Setter"]||this._defaultSetter).call(this,t,n,i)},this),this.afterSetters()),n&&n.call(this),h}clip(e){return this.attr("clip-path",e?"url("+this.renderer.url+"#"+e.id+")":"none")}crisp(e,t){t=t||e.strokeWidth||0;const n=Math.round(t)%2/2;return e.x=Math.floor(e.x||this.x||0)+n,e.y=Math.floor(e.y||this.y||0)+n,e.width=Math.floor((e.width||this.width||0)-2*n),e.height=Math.floor((e.height||this.height||0)-2*n),g(e.strokeWidth)&&(e.strokeWidth=t),e}complexColor(e,n,r){const i=this.renderer;let o,a,s,l,c,u,h,d,f,p,A,m=[];y(this.renderer,"complexColor",{args:arguments},function(){if(e.radialGradient?a="radialGradient":e.linearGradient&&(a="linearGradient"),a){if(s=e[a],c=i.gradients,u=e.stops,f=r.radialReference,b(s)&&(e[a]=s={x1:s[0],y1:s[1],x2:s[2],y2:s[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===a&&f&&!g(s.gradientUnits)&&(l=s,s=C(s,i.getRadialAttr(f,l),{gradientUnits:"userSpaceOnUse"})),S(s,function(e,t){"id"!==t&&m.push(t,e)}),S(u,function(e){m.push(e)}),m=m.join(","),c[m])p=c[m].attr("id");else{s.id=p=E();const e=c[m]=i.createElement(a).attr(s).add(i.defs);e.radAttr=l,e.stops=[],u.forEach(function(n){0===n[1].indexOf("rgba")?(o=t.parse(n[1]),h=o.get("rgb"),d=o.get("a")):(h=n[1],d=1),n=i.createElement("stop").attr({offset:n[0],"stop-color":h,"stop-opacity":d}).add(e),e.stops.push(n)})}A="url("+i.url+"#"+p+")",r.setAttribute(n,A),r.gradient=m,e.toString=function(){return A}}})}css(e){const t=this.styles,n={},r=this.element;let i,o=!t;if(t&&S(e,function(e,r){t&&t[r]!==e&&(n[r]=e,o=!0)}),o){t&&(e=v(t,n)),null===e.width||"auto"===e.width?delete this.textWidth:"text"===r.nodeName.toLowerCase()&&e.width&&(i=this.textWidth=B(e.width)),this.styles=e,i&&!c&&this.renderer.forExport&&delete e.width;const o=C(e);r.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","width"].forEach(e=>o&&delete o[e]),o.color&&(o.fill=o.color)),A(r,o)}return this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),e.textOutline&&this.applyTextOutline(e.textOutline)),this}dashstyleSetter(e){let t=this["stroke-width"];if("inherit"===t&&(t=1),e=e&&e.toLowerCase()){const n=e.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(e=n.length;e--;)n[e]=""+B(n[e])*k(t,NaN);e=n.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",e)}}destroy(){const e=this;var t=e.element||{};const n=e.renderer;var r=t.ownerSVGElement;let i="SPAN"===t.nodeName&&e.parentGroup||void 0;if(t.onclick=t.onmouseout=t.onmouseover=t.onmousemove=t.point=null,a(e),e.clipPath&&r){const t=e.clipPath;[].forEach.call(r.querySelectorAll("[clip-path],[CLIP-PATH]"),function(e){-1t&&t.join?(n?e+" ":"")+t.join(" "):(t||"").toString(),"")),/(NaN| {2}|^$)/.test(e)&&(e="M 0 0"),this[t]!==e&&(n.setAttribute(t,e),this[t]=e)}fadeOut(e){const t=this;t.animate({opacity:0},{duration:k(e,150),complete:function(){t.hide()}})}fillSetter(e,t,n){"string"==typeof e?n.setAttribute(t,e):e&&this.complexColor(e,t,n)}getBBox(e,t){const{alignValue:n,element:r,renderer:i,styles:o,textStr:a}=this,{cache:l,cacheKeys:c}=i;var u=r.namespaceURI===this.SVG_NS;t=k(t,this.rotation,0);var h=i.styledMode?r&&M.prototype.getStyle.call(r,"font-size"):o&&o.fontSize;let d,f;if(g(a)&&(-1===(f=a.toString()).indexOf("<")&&(f=f.replace(/[0-9]/g,"0")),f+=["",i.rootFontSize,h,t,this.textWidth,n,o&&o.textOverflow,o&&o.fontWeight].join()),f&&!e&&(d=l[f]),!d){if(u||i.forExport){try{var p=this.fakeTS&&function(e){const t=r.querySelector(".highcharts-text-outline");t&&A(t,{display:e})};_(p)&&p("none"),d=r.getBBox?v({},r.getBBox()):{width:r.offsetWidth,height:r.offsetHeight,x:0,y:0},_(p)&&p("")}catch(e){}(!d||0>d.width)&&(d={x:0,y:0,width:0,height:0})}else d=this.htmlGetBBox();if(p=d.width,e=d.height,u&&(d.height=e={"11px,17":14,"13px,20":16}[`${h||""},${Math.round(e)}`]||e),t){u=Number(r.getAttribute("y")||0)-d.y,h={right:1,center:.5}[n||0]||0;var m=t*s,y=(t-90)*s,b=p*Math.cos(m);t=p*Math.sin(m);var w=Math.cos(y);m=Math.sin(y),b=(w=(y=(p=d.x+h*(p-b)+u*w)+b)-e*w)-b,t=(e=(h=(u=d.y+u-h*t+u*m)+t)-e*m)-t,d.x=Math.min(p,y,w,b),d.y=Math.min(u,h,e,t),d.width=Math.max(p,y,w,b)-d.x,d.height=Math.max(u,h,e,t)-d.y}}if(f&&(""===a||0{if(e&&a){let a=e.attr("id");a||e.attr("id",a=E());var i={x:0,y:0};g(o.dx)&&(i.dx=o.dx,delete o.dx),g(o.dy)&&(i.dy=o.dy,delete o.dy),r.attr(i),this.attr({transform:""}),this.box&&(this.box=this.box.destroy()),i=t.nodes.slice(0),t.nodes.length=0,t.nodes[0]={tagName:"textPath",attributes:v(o,{"text-anchor":o.textAnchor,href:`${n}#${a}`}),children:i}}}),r.textPath={path:e,undo:t}):(r.attr({dx:0,dy:0}),delete r.textPath),this.added&&(r.textCache="",this.renderer.buildText(r)),this}shadow(e){var t;const{renderer:n}=this,r=C(90===(null===(t=this.parentGroup)||void 0===t?void 0:t.rotation)?{offsetX:-1,offsetY:-1}:{},w(e)?e:{});return t=n.shadowDefinition(r),this.attr({filter:e?`url(${n.url}#${t})`:"none"})}show(e=!0){return this.attr({visibility:e?"inherit":"visible"})}"stroke-widthSetter"(e,t,n){this[t]=e,n.setAttribute(t,e)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;const e=this.getStyle("stroke-width");let t,n=0;return e.indexOf("px")===e.length-2?n=B(e):""!==e&&(t=l.createElementNS(u,"rect"),f(t,{width:e,"stroke-width":0}),this.element.parentNode.appendChild(t),n=t.getBBox().width,t.parentNode.removeChild(t)),n}symbolAttr(e){const t=this;M.symbolCustomAttribs.forEach(function(n){t[n]=k(e[n],t[n])}),t.attr({d:t.renderer.symbols[t.symbolName](t.x,t.y,t.width,t.height,t)})}textSetter(e){e!==this.textStr&&(delete this.textPxLength,this.textStr=e,this.added&&this.renderer.buildText(this))}titleSetter(e){const t=this.element,n=t.getElementsByTagName("title")[0]||l.createElementNS(this.SVG_NS,"title");t.insertBefore?t.insertBefore(n,t.firstChild):t.appendChild(n),n.textContent=String(k(e,"")).replace(/<[^>]*>/g,"").replace(/</g,"<").replace(/>/g,">")}toFront(){const e=this.element;return e.parentNode.appendChild(e),this}translate(e,t){return this.attr({translateX:e,translateY:t})}updateTransform(){const{element:e,matrix:t,rotation:n=0,scaleX:r,scaleY:i,translateX:o=0,translateY:a=0}=this,s=["translate("+o+","+a+")"];g(t)&&s.push("matrix("+t.join(",")+")"),n&&s.push("rotate("+n+" "+k(this.rotationOriginX,e.getAttribute("x"),0)+" "+k(this.rotationOriginY,e.getAttribute("y")||0)+")"),(g(r)||g(i))&&s.push("scale("+k(r,1)+" "+k(i,1)+")"),s.length&&!(this.text||this).textPath&&e.setAttribute("transform",s.join(" "))}visibilitySetter(e,t,n){"inherit"===e?n.removeAttribute(t):this[t]!==e&&n.setAttribute(t,e),this[t]=e}xGetter(e){return"circle"===this.element.nodeName&&("x"===e?e="cx":"y"===e&&(e="cy")),this._defaultGetter(e)}zIndexSetter(e,t){var n=this.renderer,r=this.parentGroup;const i=(r||n).element||n.box,o=this.element;n=i===n.box;let a,s=!1;var l=this.added;let c;if(g(e)?(o.setAttribute("data-z-index",e),e=+e,this[t]===e&&(l=!1)):g(this[t])&&o.removeAttribute("data-z-index"),this[t]=e,l){for((e=this.zIndex)&&r&&(r.handleZ=!0),c=(t=i.childNodes).length-1;0<=c&&!s;c--)l=(r=t[c]).getAttribute("data-z-index"),a=!g(l),r!==o&&(0>e&&a&&!n&&!c?(i.insertBefore(o,t[c]),s=!0):(B(l)<=e||a&&(!g(e)||0<=e))&&(i.insertBefore(o,t[c+1]),s=!0));s||(i.insertBefore(o,t[n?3:0]),s=!0)}return s}}return M.symbolCustomAttribs="anchorX anchorY clockwise end height innerR r start width x y".split(" "),M.prototype.strokeSetter=M.prototype.fillSetter,M.prototype.yGetter=M.prototype.xGetter,M.prototype.matrixSetter=M.prototype.rotationOriginXSetter=M.prototype.rotationOriginYSetter=M.prototype.rotationSetter=M.prototype.scaleXSetter=M.prototype.scaleYSetter=M.prototype.translateXSetter=M.prototype.translateYSetter=M.prototype.verticalAlignSetter=function(e,t){this[t]=e,this.doTransform=!0},M}),t(n,"Core/Renderer/RendererRegistry.js",[n["Core/Globals.js"]],function(e){var t;return function(t){let n;t.rendererTypes={},t.getRendererType=function(e=n){return t.rendererTypes[e]||t.rendererTypes[n]},t.registerRendererType=function(r,i,o){t.rendererTypes[r]=i,n&&!o||(n=r,e.Renderer=i)}}(t||(t={})),t}),t(n,"Core/Renderer/SVG/SVGLabel.js",[n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],function(e,t){const{defined:n,extend:r,isNumber:i,merge:o,pick:a,removeEvent:s}=t;class l extends e{constructor(e,t,n,r,i,o,a,s,c,u){let h;super(),this.paddingRightSetter=this.paddingLeftSetter=this.paddingSetter,this.init(e,"g"),this.textStr=t,this.x=n,this.y=r,this.anchorX=o,this.anchorY=a,this.baseline=c,this.className=u,this.addClass("button"===u?"highcharts-no-tooltip":"highcharts-label"),u&&this.addClass("highcharts-"+u),this.text=e.text(void 0,0,0,s).attr({zIndex:1}),"string"==typeof i&&((h=/^url\((.*?)\)$/.test(i))||this.renderer.symbols[i])&&(this.symbolKey=i),this.bBox=l.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=e.styledMode||h,this.deferredAttr={},this.alignFactor=0}alignSetter(e){(e={left:0,center:.5,right:1}[e])!==this.alignFactor&&(this.alignFactor=e,this.bBox&&i(this.xSetting)&&this.attr({x:this.xSetting}))}anchorXSetter(e,t){this.anchorX=e,this.boxAttr(t,Math.round(e)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(e,t){this.anchorY=e,this.boxAttr(t,e-this.ySetting)}boxAttr(e,t){this.box?this.box.attr(e,t):this.deferredAttr[e]=t}css(t){if(t){const e={};t=o(t),l.textProps.forEach(n=>{void 0!==t[n]&&(e[n]=t[n],delete t[n])}),this.text.css(e),"fontSize"in e||"fontWeight"in e?this.updateTextPadding():("width"in e||"textOverflow"in e)&&this.updateBoxSize()}return e.prototype.css.call(this,t)}destroy(){s(this.element,"mouseenter"),s(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),e.prototype.destroy.call(this)}fillSetter(e,t){e&&(this.needsBox=!0),this.fill=e,this.boxAttr(t,e)}getBBox(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();const e=this.padding,t=a(this.paddingLeft,e);return{width:this.width,height:this.height,x:this.bBox.x-t,y:this.bBox.y-e}}getCrispAdjust(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(e){this.heightSetting=e}onAdd(){this.text.add(this),this.attr({text:a(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&n(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(e,t){i(e)?e!==this[t]&&(this[t]=e,this.updateTextPadding()):this[t]=void 0}rSetter(e,t){this.boxAttr(t,e)}strokeSetter(e,t){this.stroke=e,this.boxAttr(t,e)}"stroke-widthSetter"(e,t){e&&(this.needsBox=!0),this["stroke-width"]=e,this.boxAttr(t,e)}"text-alignSetter"(e){this.textAlign=e}textSetter(e){void 0!==e&&this.text.attr({text:e}),this.updateTextPadding()}updateBoxSize(){var e=this.text;const t={},o=this.padding,a=this.bBox=i(this.widthSetting)&&i(this.heightSetting)&&!this.textAlign||!n(e.textStr)?l.emptyBBox:e.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||a.height||0)+2*o;const s=this.renderer.fontMetrics(e);this.baselineOffset=o+Math.min((this.text.firstLineMetrics||s).b,a.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-s.h)/2),this.needsBox&&!e.textPath&&(this.box||((e=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":"")),e.add(this)),e=this.getCrispAdjust(),t.x=e,t.y=(this.baseline?-this.baselineOffset:0)+e,t.width=Math.round(this.width),t.height=Math.round(this.height),this.box.attr(r(t,this.deferredAttr)),this.deferredAttr={})}updateTextPadding(){const e=this.text;if(!e.textPath){this.updateBoxSize();const t=this.baseline?0:this.baselineOffset;let r=a(this.paddingLeft,this.padding);n(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(r+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),r===e.x&&t===e.y||(e.attr("x",r),e.hasBoxWidthChanged&&(this.bBox=e.getBBox(!0)),void 0!==t&&e.attr("y",t)),e.x=r,e.y=t}}widthSetter(e){this.widthSetting=i(e)?e:void 0}getPaddedWidth(){var e=this.padding;const t=a(this.paddingLeft,e);return e=a(this.paddingRight,e),(this.widthSetting||this.bBox.width||0)+t+e}xSetter(e){this.x=e,this.alignFactor&&(e-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(e),this.attr("translateX",this.xSetting)}ySetter(e){this.ySetting=this.y=Math.round(e),this.attr("translateY",this.ySetting)}}return l.emptyBBox={width:0,height:0,x:0,y:0},l.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow whiteSpace width".split(" "),l}),t(n,"Core/Renderer/SVG/Symbols.js",[n["Core/Utilities.js"]],function(e){function t(e,t,n,r,o){const s=[];if(o){const l=o.start||0,c=a(o.r,n);n=a(o.r,r||n),r=(o.end||0)-.001;const u=o.innerR,h=a(o.open,.001>Math.abs((o.end||0)-l-2*Math.PI)),d=Math.cos(l),f=Math.sin(l),p=Math.cos(r),A=Math.sin(r),g=a(o.longArc,.001>r-l-Math.PI?0:1);let m=["A",c,n,0,g,a(o.clockwise,1),e+c*p,t+n*A];m.params={start:l,end:r,cx:e,cy:t},s.push(["M",e+c*d,t+n*f],m),i(u)&&((m=["A",u,u,0,g,i(o.clockwise)?1-o.clockwise:0,e+u*d,t+u*f]).params={start:r,end:l,cx:e,cy:t},s.push(h?["M",e+u*p,t+u*A]:["L",e+u*p,t+u*A],m)),h||s.push(["Z"])}return s}function n(e,t,n,i,o){return o&&o.r?r(e,t,n,i,o):[["M",e,t],["L",e+n,t],["L",e+n,t+i],["L",e,t+i],["Z"]]}function r(e,t,n,r,i){return[["M",e+(i=(null===i||void 0===i?void 0:i.r)||0),t],["L",e+n-i,t],["A",i,i,0,0,1,e+n,t+i],["L",e+n,t+r-i],["A",i,i,0,0,1,e+n-i,t+r],["L",e+i,t+r],["A",i,i,0,0,1,e,t+r-i],["L",e,t+i],["A",i,i,0,0,1,e+i,t],["Z"]]}const{defined:i,isNumber:o,pick:a}=e;return{arc:t,callout:function(e,t,n,i,a){const s=Math.min(a&&a.r||0,n,i),l=s+6,c=a&&a.anchorX;a=a&&a.anchorY||0;const u=r(e,t,n,i,{r:s});return o(c)?(e+c>=n?a>t+l&&a=e+c?a>t+l&&ai&&c>e+l&&ca&&c>e+l&&c/g;var u=[o,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,t.getStyle("font-size"),this.width].join();if(u!==t.textCache){for(t.textCache=u,delete t.actualWidth,u=s.length;u--;)n.removeChild(s[u]);a||this.ellipsis||this.width||t.textPath||-1!==o.indexOf(" ")&&(!this.noWrap||l.test(o))?""!==o&&(i&&i.appendChild(n),o=new e(o),this.modifyTree(o.nodes),o.addToDOM(n),this.modifyDOM(),this.ellipsis&&-1!==(n.textContent||"").indexOf("…")&&t.attr("title",this.unescapeEntities(t.textStr||"",["<",">"])),i&&i.removeChild(n)):n.appendChild(r.createTextNode(this.unescapeEntities(o))),c(this.textOutline)&&t.applyTextOutline&&t.applyTextOutline(this.textOutline)}}modifyDOM(){const e=this.svgElement,t=a(e.element,"x");let n;for(e.firstLineMetrics=void 0;(n=e.element.firstChild)&&/^[\s\u200B]*$/.test(n.textContent||" ");)e.element.removeChild(n);[].forEach.call(e.element.querySelectorAll("tspan.highcharts-br"),(n,r)=>{n.nextSibling&&n.previousSibling&&(0===r&&1===n.previousSibling.nodeType&&(e.firstLineMetrics=e.renderer.fontMetrics(n.previousSibling)),a(n,{dy:this.getLineHeight(n.nextSibling),x:t}))});const s=this.width||0;if(s){var l=(n,o)=>{var l=n.textContent||"";const c=l.replace(/([^\^])-/g,"$1- ").split(" ");var u=!this.noWrap&&(1e.substring(0,t)+"…");else if(u){for(l=[],u=[];o.firstChild&&o.firstChild!==n;)u.push(o.firstChild),o.removeChild(o.firstChild);for(;c.length;)c.length&&!this.noWrap&&0c.slice(0,t).join(" ").replace(/- /g,"-")),f=e.actualWidth,d++;u.forEach(e=>{o.insertBefore(e,n)}),l.forEach(e=>{o.insertBefore(r.createTextNode(e),n),(e=r.createElementNS(i,"tspan")).textContent="​",a(e,{dy:h,x:t}),o.insertBefore(e,n)})}},c=t=>{[].slice.call(t.childNodes).forEach(n=>{n.nodeType===o.Node.TEXT_NODE?l(n,t):(-1!==n.className.baseVal.indexOf("highcharts-br")&&(e.actualWidth=0),c(n))})};c(e.element)}}getLineHeight(e){return e=e.nodeType===o.Node.TEXT_NODE?e.parentElement:e,this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e||this.svgElement.element).h}modifyTree(e){const t=(n,r)=>{const{attributes:i={},children:o,style:a={},tagName:l}=n,c=this.renderer.styledMode;"b"===l||"strong"===l?c?i.class="highcharts-strong":a.fontWeight="bold":"i"!==l&&"em"!==l||(c?i.class="highcharts-emphasized":a.fontStyle="italic"),a&&a.color&&(a.fill=a.color),"br"===l?(i.class="highcharts-br",n.textContent="​",(r=e[r+1])&&r.textContent&&(r.textContent=r.textContent.replace(/^ +/gm,""))):"a"===l&&o&&o.some(e=>"#text"===e.tagName)&&(n.children=[{children:o,tagName:"tspan"}]),"#text"!==l&&"a"!==l&&(n.tagName="tspan"),s(n,{attributes:i,style:a}),o&&o.filter(e=>"#text"!==e.tagName).forEach(t)};e.forEach(t),l(this.svgElement,"afterModifyTree",{nodes:e})}truncate(e,t,n,r,i,o){const a=this.svgElement,{rotation:s}=a,l=[];let c,u,h=n?1:0,d=(t||n||"").length,f=d;const p=function(t,i){if(t=i||t,(i=e.parentNode)&&void 0===l[t]&&i.getSubStringLength)try{l[t]=r+i.getSubStringLength(0,n?t+1:t)}catch(e){}return l[t]};if(a.rotation=0,u=p(e.textContent.length),r+u>i){for(;h<=d;)f=Math.ceil((h+d)/2),n&&(c=o(n,f)),u=p(f,c&&c.length-1),h===d?h=d+1:u>i?d=f-1:h=f;0===d?e.textContent="":t&&d===t.length-1||(e.textContent=c||o(t||n,f))}n&&n.splice(0,f),a.actualWidth=u,a.rotation=s}unescapeEntities(e,t){return u(this.renderer.escapes,function(n,r){t&&-1!==t.indexOf(n)||(e=e.toString().replace(new RegExp(n,"g"),r))}),e}}}),t(n,"Core/Renderer/SVG/SVGRenderer.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGLabel.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Renderer/SVG/TextBuilder.js"],n["Core/Utilities.js"]],function(e,t,n,r,i,o,a,s,l){const{charts:c,deg2rad:u,doc:h,isFirefox:d,isMS:f,isWebKit:p,noop:A,SVG_NS:g,symbolSizes:m,win:v}=n,{addEvent:y,attr:b,createElement:_,css:w,defined:x,destroyObjectProperties:C,extend:S,isArray:k,isNumber:B,isObject:T,isString:E,merge:M,pick:D,pInt:O,uniqueKey:I}=l;let L;class P{constructor(e,t,n,r,i,o,a){this.width=this.url=this.style=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(e,t,n,r,i,o,a)}init(e,t,n,r,i,o,a){const s=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),l=s.element;let c;a||s.css(this.getStyle(r)),e.appendChild(l),b(e,"dir","ltr"),-1===e.innerHTML.indexOf("xmlns")&&b(l,"xmlns",this.SVG_NS),this.box=l,this.boxWrapper=s,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(h.createTextNode("Created with Highcharts 11.1.0")),this.defs=this.createElement("defs").add(),this.allowHTML=o,this.forExport=i,this.styledMode=a,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.rootFontSize=s.getStyle("font-size"),this.setSize(t,n,!1),d&&e.getBoundingClientRect&&((t=function(){w(e,{left:0,top:0}),c=e.getBoundingClientRect(),w(e,{left:Math.ceil(c.left)-c.left+"px",top:Math.ceil(c.top)-c.top+"px"})})(),this.unSubPixelFix=y(v,"resize",t))}definition(t){return new e([t]).addToDOM(this.defs.element)}getReferenceURL(){if((d||p)&&h.getElementsByTagName("base").length){if(!x(L)){var t=I();t=new e([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:t},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":`url(#${t})`,fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(h.body),w(t,{position:"fixed",top:0,left:0,zIndex:9e5});const n=h.elementFromPoint(6,6);L="hitme"===(n&&n.id),h.body.removeChild(t)}if(L)return v.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""}getStyle(e){return this.style=S({fontFamily:"Helvetica, Arial, sans-serif",fontSize:"1rem"},e)}setStyle(e){this.boxWrapper.css(this.getStyle(e))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){const e=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),C(this.gradients||{}),this.gradients=null,this.defs=e.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null}createElement(e){const t=new this.Element;return t.init(this,e),t}getRadialAttr(e,t){return{cx:e[0]-e[2]/2+(t.cx||0)*e[2],cy:e[1]-e[2]/2+(t.cy||0)*e[2],r:(t.r||0)*e[2]}}shadowDefinition(e){const t=[`highcharts-drop-shadow-${this.chartIndex}`,...Object.keys(e).map(t=>e[t])].join("-").replace(/[^a-z0-9\-]/g,""),n=M({color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:5},e);return this.defs.element.querySelector(`#${t}`)||this.definition({tagName:"filter",attributes:{id:t},children:[{tagName:"feDropShadow",attributes:{dx:n.offsetX,dy:n.offsetY,"flood-color":n.color,"flood-opacity":Math.min(5*n.opacity,1),stdDeviation:n.width/2}}]}),t}buildText(e){new s(e).buildSVG()}getContrast(e){return 1.05/((e=.2126*(e=t.parse(e).rgba.map(e=>.03928>=(e/=255)?e/12.92:Math.pow((e+.055)/1.055,2.4)))[0]+.7152*e[1]+.0722*e[2])+.05)>(e+.05)/.05?"#FFFFFF":"#000000"}button(t,n,r,i,o={},a,s,l,c,u){const h=this.label(t,n,r,c,void 0,void 0,u,void 0,"button"),d=this.styledMode;t=o.states||{};let p=0;delete(o=M(o)).states;const A=M({color:"#333333",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"},o.style);delete o.style;let g,m,v,b=e.filterUserAttributes(o);return h.attr(M({padding:8,r:2},b)),d||(b=M({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},b),a=M(b,{fill:"#e6e6e6"},e.filterUserAttributes(a||t.hover||{})),g=a.style,delete a.style,s=M(b,{fill:"#e6e9ff",style:{color:"#000000",fontWeight:"bold"}},e.filterUserAttributes(s||t.select||{})),m=s.style,delete s.style,l=M(b,{style:{color:"#cccccc"}},e.filterUserAttributes(l||t.disabled||{})),v=l.style,delete l.style),y(h.element,f?"mouseover":"mouseenter",function(){3!==p&&h.setState(1)}),y(h.element,f?"mouseout":"mouseleave",function(){3!==p&&h.setState(p)}),h.setState=function(e){1!==e&&(h.state=p=e),h.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][e||0]),d||(h.attr([b,a,s,l][e||0]),T(e=[A,g,m,v][e||0])&&h.css(e))},d||(h.attr(b).css(S({cursor:"default"},A)),u&&h.text.css({pointerEvents:"none"})),h.on("touchstart",e=>e.stopPropagation()).on("click",function(e){3!==p&&i.call(h,e)})}crispLine(e,t,n="round"){const r=e[0],i=e[1];return x(r[1])&&r[1]===i[1]&&(r[1]=i[1]=Math[n](r[1])-t%2/2),x(r[2])&&r[2]===i[2]&&(r[2]=i[2]=Math[n](r[2])+t%2/2),e}path(e){const t=this.styledMode?{}:{fill:"none"};return k(e)?t.d=e:T(e)&&S(t,e),this.createElement("path").attr(t)}circle(e,t,n){return e=T(e)?e:void 0===e?{}:{x:e,y:t,r:n},(t=this.createElement("circle")).xSetter=t.ySetter=function(e,t,n){n.setAttribute("c"+t,e)},t.attr(e)}arc(e,t,n,r,i,o){return T(e)?(t=(r=e).y,n=r.r,e=r.x):r={innerR:r,start:i,end:o},(e=this.symbol("arc",e,t,n,n,r)).r=n,e}rect(e,t,n,r,i,o){e=T(e)?e:void 0===e?{}:{x:e,y:t,r:i,width:Math.max(n||0,0),height:Math.max(r||0,0)};const a=this.createElement("rect");return this.styledMode||(void 0!==o&&(e["stroke-width"]=o,S(e,a.crisp(e))),e.fill="none"),a.rSetter=function(e,t,n){a.r=e,b(n,{rx:e,ry:e})},a.rGetter=function(){return a.r||0},a.attr(e)}roundedRect(e){return this.symbol("roundedRect").attr(e)}setSize(e,t,n){this.width=e,this.height=t,this.boxWrapper.animate({width:e,height:t},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:D(n,!0)?void 0:0}),this.alignElements()}g(e){const t=this.createElement("g");return e?t.attr({class:"highcharts-"+e}):t}image(e,t,n,r,i,o){const a={preserveAspectRatio:"none"};B(t)&&(a.x=t),B(n)&&(a.y=n),B(r)&&(a.width=r),B(i)&&(a.height=i);const s=this.createElement("image").attr(a);return t=function(t){s.attr({href:e}),o.call(s,t)},o?(s.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}),n=new v.Image,y(n,"load",t),n.src=e,n.complete&&t({})):s.attr({href:e}),s}symbol(e,t,n,r,i,o){const a=this,s=/^url\((.*?)\)$/,l=s.test(e),u=!l&&(this.symbols[e]?e:"circle"),d=u&&this.symbols[u];let f,p,A,g;if(d)"number"==typeof t&&(p=d.call(this.symbols,Math.round(t||0),Math.round(n||0),r||0,i||0,o)),f=this.path(p),a.styledMode||f.attr("fill","none"),S(f,{symbolName:u||void 0,x:t,y:n,width:r,height:i}),o&&S(f,o);else if(l){A=e.match(s)[1];const r=f=this.image(A);r.imgwidth=D(o&&o.width,m[A]&&m[A].width),r.imgheight=D(o&&o.height,m[A]&&m[A].height),g=(e=>e.attr({width:e.width,height:e.height})),["width","height"].forEach(function(e){r[e+"Setter"]=function(e,t){this[t]=e;const{alignByTranslate:n,element:r,width:i,height:a,imgwidth:s,imgheight:l}=this;if(e=this["img"+t],x(e)){let c=1;o&&"within"===o.backgroundSize&&i&&a?(c=Math.min(i/s,a/l),b(r,{width:Math.round(s*c),height:Math.round(l*c)})):r&&r.setAttribute(t,e),n||this.translate(((i||0)-s*c)/2,((a||0)-l*c)/2)}}}),x(t)&&r.attr({x:t,y:n}),r.isImg=!0,x(r.imgwidth)&&x(r.imgheight)?g(r):(r.attr({width:0,height:0}),_("img",{onload:function(){const e=c[a.chartIndex];0===this.width&&(w(this,{position:"absolute",top:"-999em"}),h.body.appendChild(this)),m[A]={width:this.width,height:this.height},r.imgwidth=this.width,r.imgheight=this.height,r.element&&g(r),this.parentNode&&this.parentNode.removeChild(this),a.imgCount--,a.imgCount||!e||e.hasLoaded||e.onload()},src:A}),this.imgCount++)}return f}clipRect(e,t,n,r){const i=I()+"-",o=this.createElement("clipPath").attr({id:i}).add(this.defs);return(e=this.rect(e,t,n,r,0).add(o)).id=i,e.clipPath=o,e.count=0,e}text(e,t,n,r){const i={};return!r||!this.allowHTML&&this.forExport?(i.x=Math.round(t||0),n&&(i.y=Math.round(n)),x(e)&&(i.text=e),e=this.createElement("text").attr(i),(!r||this.forExport&&!this.allowHTML)&&(e.xSetter=function(e,t,n){const r=n.getElementsByTagName("tspan"),i=n.getAttribute(t);for(let n,o=0;o(e=O(i.prototype.getStyle.call(e,"font-size")||0))?e+3:Math.round(1.2*e);return{h:t,b:Math.round(.8*t),f:e}}rotCorr(e,t,n){let r=e;return t&&n&&(r=Math.max(r*Math.cos(t*u),4)),{x:-e/3*Math.sin(t*u),y:r}}pathToSegments(e){const t=[],n=[],r={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2};for(let i=0;ie.align())}}return S(P.prototype,{Element:i,SVG_NS:g,escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},symbols:a,draw:A}),r.registerRendererType("svg",P,!0),P}),t(n,"Core/Renderer/HTML/HTMLElement.js",[n["Core/Globals.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],function(e,t,n){const{isFirefox:r,isMS:i,isWebKit:o,win:a}=e,{css:s,defined:l,extend:c,pick:u,pInt:h}=n,d=[];class f extends t{static compose(e){if(n.pushUnique(d,e)){const t=f.prototype,n=e.prototype;n.getSpanCorrection=t.getSpanCorrection,n.htmlCss=t.htmlCss,n.htmlGetBBox=t.htmlGetBBox,n.htmlUpdateTransform=t.htmlUpdateTransform,n.setSpanRotation=t.setSpanRotation}return e}getSpanCorrection(e,t,n){this.xCorr=-e*n,this.yCorr=-t}htmlCss(e){const t="SPAN"===this.element.tagName&&e&&"width"in e,n=u(t&&e.width,void 0);let r;return t&&(delete e.width,this.textWidth=n,r=!0),e&&"ellipsis"===e.textOverflow&&(e.whiteSpace="nowrap",e.overflow="hidden"),this.styles=c(this.styles,e),s(this.element,e),r&&this.htmlUpdateTransform(),this}htmlGetBBox(){const e=this.element;return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}htmlUpdateTransform(){if(this.added){var e=this.renderer,t=this.element,n=this.x||0,r=this.y||0,i=this.textAlign||"left",o={left:0,center:.5,right:1}[i],a=this.styles,c=a&&a.whiteSpace;if(s(t,{marginLeft:this.translateX||0,marginTop:this.translateY||0}),"SPAN"===t.tagName){a=this.rotation;const d=this.textWidth&&h(this.textWidth),f=[a,i,t.innerHTML,this.textWidth,this.textAlign].join();let p=!1;if(d!==this.oldTextWidth){if(this.textPxLength)var u=this.textPxLength;else s(t,{width:"",whiteSpace:c||"nowrap"}),u=t.offsetWidth;(d>this.oldTextWidth||u>d)&&(/[ \-]/.test(t.textContent||t.innerText)||"ellipsis"===t.style.textOverflow)&&(s(t,{width:u>d||a?d+"px":"auto",display:"block",whiteSpace:c||"normal"}),this.oldTextWidth=d,p=!0)}this.hasBoxWidthChanged=p,f!==this.cTT&&(e=e.fontMetrics(t).b,!l(a)||a===(this.oldRotation||0)&&i===this.oldAlign||this.setSpanRotation(a,o,e),this.getSpanCorrection(!l(a)&&this.textPxLength||t.offsetWidth,e,o,a,i)),s(t,{left:n+(this.xCorr||0)+"px",top:r+(this.yCorr||0)+"px"}),this.cTT=f,this.oldRotation=a,this.oldAlign=i}}else this.alignOnAdd=!0}setSpanRotation(e,t,n){const l={},c=i&&!/Edge/.test(a.navigator.userAgent)?"-ms-transform":o?"-webkit-transform":r?"MozTransform":a.opera?"-o-transform":void 0;c&&(l[c]=l.transform="rotate("+e+"deg)",l[c+(r?"Origin":"-origin")]=l.transformOrigin=100*t+"% "+n+"px",s(this.element,l))}}return f}),t(n,"Core/Renderer/HTML/HTMLRenderer.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Utilities.js"]],function(e,t,n,r){const{attr:i,createElement:o,extend:a,pick:s}=r,l=[];class c extends n{static compose(e){return r.pushUnique(l,e)&&(e.prototype.html=c.prototype.html),e}html(n,r,l){const c=this.createElement("span"),u=c.element,h=c.renderer,d=function(e,n){["opacity","visibility"].forEach(function(r){e[r+"Setter"]=function(i,o,a){const s=e.div?e.div.style:n;t.prototype[r+"Setter"].call(this,i,o,a),s&&(s[o]=i)}}),e.addedSetters=!0};return c.textSetter=function(t){t!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,e.setElementHTML(this.element,s(t,"")),this.textStr=t,c.doTransform=!0)},d(c,c.element.style),c.xSetter=c.ySetter=c.alignSetter=c.rotationSetter=function(e,t){"align"===t?c.alignValue=c.textAlign=e:c[t]=e,c.doTransform=!0},c.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},c.attr({text:n,x:Math.round(r),y:Math.round(l)}).css({position:"absolute"}),h.styledMode||c.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),u.style.whiteSpace="nowrap",c.css=c.htmlCss,c.add=function(e){const t=h.box.parentNode,n=[];let r;if(this.parentGroup=e){if(!(r=e.div)){for(;e;)n.push(e),e=e.parentGroup;n.reverse().forEach(function(e){function s(t,n){e[n]=t,"translateX"===n?h.left=t+"px":h.top=t+"px",e.doTransform=!0}const l=i(e.element,"class"),u=e.styles||{},h=(r=e.div=e.div||o("div",l?{className:l}:void 0,{position:"absolute",left:(e.translateX||0)+"px",top:(e.translateY||0)+"px",display:e.display,opacity:e.opacity,visibility:e.visibility},r||t)).style;a(e,{classSetter:function(e){return function(t){this.element.setAttribute("class",t),e.className=t}}(r),css:function(t){return c.css.call(e,t),["cursor","pointerEvents"].forEach(e=>{t[e]&&(h[e]=t[e])}),e},on:function(){return n[0].div&&c.on.apply({element:n[0].div,onEvents:e.onEvents},arguments),e},translateXSetter:s,translateYSetter:s}),e.addedSetters||d(e),e.css(u)})}}else r=t;return r.appendChild(u),c.added=!0,c.alignOnAdd&&c.htmlUpdateTransform(),c},c}}return c}),t(n,"Core/Axis/AxisDefaults.js",[],function(){var e;return function(e){e.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e %b"},week:{main:"%e %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:15,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,zIndex:7,style:{color:"#333333",cursor:"default",fontSize:"0.8em"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:"#666666",fontSize:"0.8em"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#333333",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#333333"},e.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:void 0},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){const{numberFormatter:e}=this.axis.chart;return e(this.total||0,-1)},style:{color:"#000000",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},e.defaultLeftAxisOptions={title:{rotation:270}},e.defaultRightAxisOptions={title:{rotation:90}},e.defaultBottomAxisOptions={labels:{autoRotation:[-45]},margin:15,title:{rotation:0}},e.defaultTopAxisOptions={labels:{autoRotation:[-45]},margin:15,title:{rotation:0}}}(e||(e={})),e}),t(n,"Core/Foundation.js",[n["Core/Utilities.js"]],function(e){const{addEvent:t,isFunction:n,objectEach:r,removeEvent:i}=e;var o;return(o||(o={})).registerEventOptions=function(e,o){e.eventOptions=e.eventOptions||{},r(o.events,function(r,o){e.eventOptions[o]!==r&&(e.eventOptions[o]&&(i(e,o,e.eventOptions[o]),delete e.eventOptions[o]),n(r)&&(e.eventOptions[o]=r,t(e,o,r,{order:0})))})},o}),t(n,"Core/Axis/Tick.js",[n["Core/Templating.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(e,t,n){const{deg2rad:r}=t,{clamp:i,correctFloat:o,defined:a,destroyObjectProperties:s,extend:l,fireEvent:c,isNumber:u,merge:h,objectEach:d,pick:f}=n;return class{constructor(e,t,n,r,i){this.isNewLabel=this.isNew=!0,this.axis=e,this.pos=t,this.type=n||"",this.parameters=i||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,c(this,"init"),n||r||this.addLabel()}addLabel(){const t=this,n=t.axis;var r=n.options;const i=n.chart;var s=n.categories;const h=n.logarithmic,d=n.names,p=t.pos,A=f(t.options&&t.options.labels,r.labels);var g=n.tickPositions;const m=p===g[0],v=p===g[g.length-1],y=(!A.step||1===A.step)&&1===n.tickInterval;g=g.info;let b,_,w,x=t.label;s=this.parameters.category||(s?f(s[p],d[p],p):p),h&&u(s)&&(s=o(h.lin2log(s))),n.dateTime&&(g?b=(_=i.time.resolveDTLFormat(r.dateTimeLabelFormats[!r.grid&&g.higherRanks[p]||g.unitName])).main:u(s)&&(b=n.dateTime.getXDateFormat(s,r.dateTimeLabelFormats||{}))),t.isFirst=m,t.isLast=v;const C={axis:n,chart:i,dateTimeLabelFormat:b,isFirst:m,isLast:v,pos:p,tick:t,tickPositionInfo:g,value:s};c(this,"labelFormat",C);const S=t=>A.formatter?A.formatter.call(t,t):A.format?(t.text=n.defaultLabelFormatter.call(t,t),e.format(A.format,t,i)):n.defaultLabelFormatter.call(t,t);r=S.call(C,C);const k=_&&_.list;t.shortenLabel=k?function(){for(w=0;wc&&i-u*ha&&(A=Math.round((o-i)/Math.cos(c*r))):(o=i+(1-u)*h,i-u*ha&&(g=a-e.x+g*u,m=-1),(g=Math.min(d,g))g||t.autoRotation&&(l.styles||{}).width)&&(A=g)),A&&(this.shortenLabel?this.shortenLabel():(p.width=Math.floor(A)+"px",(n.style||{}).textOverflow||(p.textOverflow="ellipsis"),l.css(p)))}moveLabel(e,t){const n=this;var r=n.label;const i=n.axis;let o=!1;r&&r.textStr===e?(n.movedLabel=r,o=!0,delete n.label):d(i.ticks,function(t){o||t.isNew||t===n||!t.label||t.label.textStr!==e||(n.movedLabel=t.label,o=!0,t.labelPos=n.movedLabel.xy,delete t.label)}),o||!n.labelPos&&!r||(r=n.labelPos||r.xy,n.movedLabel=n.createLabel(r,e,t),n.movedLabel&&n.movedLabel.attr({opacity:0}))}render(e,t,n){var r=this.axis,i=r.horiz,o=this.pos,a=f(this.tickmarkOffset,r.tickmarkOffset);a=(o=this.getPosition(i,o,a,t)).x;const s=o.y;r=i&&a===r.pos+r.len||!i&&s===r.pos?-1:1,i=f(n,this.label&&this.label.newOpacity,1),n=f(n,1),this.isActive=!0,this.renderGridLine(t,n,r),this.renderMark(o,n,r),this.renderLabel(o,t,i,e),this.isNew=!1,c(this,"afterRender")}renderGridLine(e,t,n){const r=this.axis,i=r.options,o={},a=this.pos,s=this.type,l=f(this.tickmarkOffset,r.tickmarkOffset),c=r.chart.renderer;let u=this.gridLine,h=i.gridLineWidth,d=i.gridLineColor,p=i.gridLineDashStyle;"minor"===this.type&&(h=i.minorGridLineWidth,d=i.minorGridLineColor,p=i.minorGridLineDashStyle),u||(r.chart.styledMode||(o.stroke=d,o["stroke-width"]=h||0,o.dashstyle=p),s||(o.zIndex=1),e&&(t=0),this.gridLine=u=c.path().attr(o).addClass("highcharts-"+(s?s+"-":"")+"grid-line").add(r.gridGroup)),u&&(n=r.getPlotLinePath({value:a+l,lineWidth:u.strokeWidth()*n,force:"pass",old:e,acrossPanes:!1}))&&u[e||this.isNew?"attr":"animate"]({d:n,opacity:t})}renderMark(e,t,n){const r=this.axis;var i=r.options;const o=r.chart.renderer,a=this.type,s=r.tickSize(a?a+"Tick":"tick"),l=e.x;e=e.y;const c=f(i["minor"!==a?"tickWidth":"minorTickWidth"],!a&&r.isXAxis?1:0);i=i["minor"!==a?"tickColor":"minorTickColor"];let u=this.mark;const h=!u;s&&(r.opposite&&(s[0]=-s[0]),u||(this.mark=u=o.path().addClass("highcharts-"+(a?a+"-":"")+"tick").add(r.axisGroup),r.chart.styledMode||u.attr({stroke:i,"stroke-width":c})),u[h?"attr":"animate"]({d:this.getMarkPath(l,e,s[0],u.strokeWidth()*n,r.horiz,o),opacity:t}))}renderLabel(e,t,n,r){var i=this.axis;const o=i.horiz,a=i.options,s=this.label,l=a.labels,c=l.step;i=f(this.tickmarkOffset,i.tickmarkOffset);const h=e.x;e=e.y;let d=!0;s&&u(h)&&(s.xy=e=this.getLabelPosition(h,e,s,o,l,i,r,c),this.isFirst&&!this.isLast&&!a.showFirstLabel||this.isLast&&!this.isFirst&&!a.showLastLabel?d=!1:!o||l.step||l.rotation||t||0===n||this.handleOverflow(e),c&&r%c&&(d=!1),d&&u(e.y)?(e.opacity=n,s[this.isNewLabel?"attr":"animate"](e).show(!0),this.isNewLabel=!1):(s.hide(),this.isNewLabel=!0))}replaceMovedLabel(){const e=this.label,t=this.axis;e&&!this.isNew&&(e.animate({opacity:0},void 0,e.destroy),delete this.label),t.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel}}}),t(n,"Core/Axis/Axis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/AxisDefaults.js"],n["Core/Color/Color.js"],n["Core/Defaults.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Axis/Tick.js"],n["Core/Utilities.js"]],function(e,t,n,r,i,o,a,s){const{animObject:l}=e,{defaultOptions:c}=r,{registerEventOptions:u}=i,{deg2rad:h}=o,{arrayMax:d,arrayMin:f,clamp:p,correctFloat:A,defined:g,destroyObjectProperties:m,erase:v,error:y,extend:b,fireEvent:_,getClosestDistance:w,insertItem:x,isArray:C,isNumber:S,isString:k,merge:B,normalizeTickInterval:T,objectEach:E,pick:M,relativeLength:D,removeEvent:O,splat:I,syncTimeout:L}=s,P=(e,t)=>T(t,void 0,void 0,M(e.options.allowDecimals,.5>t||void 0!==e.tickAmount),!!e.tickAmount);class F{constructor(e,t,n){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.index=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.bottom=this.alternateBands=void 0,this.init(e,t,n)}init(e,t,n=this.coll){const r="xAxis"===n;this.chart=e,this.horiz=this.isZAxis||(e.inverted?!r:r),this.isXAxis=r,this.coll=n,_(this,"init",{userOptions:t}),this.opposite=M(t.opposite,this.opposite),this.side=M(t.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(t);const i=(n=this.options).labels,o=n.type;this.userOptions=t,this.minPixelPadding=0,this.reversed=M(n.reversed,this.reversed),this.visible=n.visible,this.zoomEnabled=n.zoomEnabled,this.hasNames="category"===o||!0===n.categories,this.categories=n.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=g(n.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=n.minRange||n.maxZoom,this.range=n.range,this.offset=n.offset||0,this.min=this.max=null,t=M(n.crosshair,I(e.options.tooltip.crosshairs)[r?0:1]),this.crosshair=!0===t?{}:t,-1===e.axes.indexOf(this)&&(r?e.axes.splice(e.xAxis.length,0,this):e.axes.push(this),x(this,e[this.coll])),e.orderItems(this.coll),this.series=this.series||[],e.inverted&&!this.isZAxis&&r&&void 0===this.reversed&&(this.reversed=!0),this.labelRotation=S(i.rotation)?i.rotation:void 0,u(this,n),_(this,"afterInit")}setOptions(e){this.options=B(t.defaultXAxisOptions,"yAxis"===this.coll&&t.defaultYAxisOptions,[t.defaultTopAxisOptions,t.defaultRightAxisOptions,t.defaultBottomAxisOptions,t.defaultLeftAxisOptions][this.side],B(c[this.coll],e)),_(this,"afterSetOptions",{userOptions:e})}defaultLabelFormatter(e){var t=this.axis;({numberFormatter:e}=this.chart);const n=S(this.value)?this.value:NaN,r=t.chart.time,i=this.dateTimeLabelFormat;var o=c.lang;const a=o.numericSymbols;o=o.numericSymbolMagnitude||1e3;const s=t.logarithmic?Math.abs(n):t.tickInterval;let l,u=a&&a.length;if(t.categories)l=`${this.value}`;else if(i)l=r.dateFormat(i,n);else if(u&&1e3<=s)for(;u--&&void 0===l;)s>=(t=Math.pow(o,u+1))&&0==10*n%t&&null!==a[u]&&0!==n&&(l=e(n/t,-1)+a[u]);return void 0===l&&(l=1e4<=Math.abs(n)?e(n,-1):e(n,-1,void 0,"")),l}getSeriesExtremes(){const e=this,t=e.chart;let n;_(this,"getSeriesExtremes",null,function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.series.forEach(function(r){if(r.visible||!t.options.chart.ignoreHiddenSeries){var i=r.options;let t,o,a=i.threshold;e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=a&&(a=null),e.isXAxis?(i=r.xData)&&i.length&&(i=e.logarithmic?i.filter(e=>0n)&&(y?e=p(e,t,n):m=!0),e}const n=this,r=n.chart,i=n.left,o=n.top,a=e.old,s=e.value,l=e.lineWidth,c=a&&r.oldChartHeight||r.chartHeight,u=a&&r.oldChartWidth||r.chartWidth,h=n.transB;let d,f,A,g,m,v=e.translatedValue,y=e.force;return e={value:s,lineWidth:l,old:a,force:y,acrossPanes:e.acrossPanes,translatedValue:v},_(this,"getPlotLinePath",e,function(e){v=M(v,n.translate(s,void 0,void 0,a)),v=p(v,-1e5,1e5),d=A=Math.round(v+h),f=g=Math.round(c-v-h),S(v)?n.horiz?(f=o,g=c-n.bottom,d=A=t(d,i,i+n.width)):(d=i,A=u-n.right,f=g=t(f,o,o+n.height)):(m=!0,y=!1),e.path=m&&!y?null:r.renderer.crispLine([["M",d,f],["L",A,g]],l||1)}),e.path}getLinearTickPositions(e,t,n){const r=A(Math.floor(t/e)*e);n=A(Math.ceil(n/e)*e);const i=[];let o,a;if(A(r+e)===r&&(a=20),this.single)return[t];for(t=r;t<=n&&(i.push(t),(t=A(t+e,a))!==o);)o=t;return i}getMinorTickInterval(){const e=this.options;return!0===e.minorTicks?M(e.minorTickInterval,"auto"):!1===e.minorTicks?null:e.minorTickInterval}getMinorTickPositions(){var e=this.options;const t=this.tickPositions,n=this.minorTickInterval;var r=this.pointRangePadding||0;const i=this.min-r,o=(r=this.max+r)-i;let a=[];if(o&&o/n{var t;return(e.xIncrement?null===(t=e.xData)||void 0===t?void 0:t.slice(0,2):e.xData)||[]}))||0;this.minRange=Math.min(5*a,this.dataMax-this.dataMin)}r-n=this.minRange,i=[n-(r=((o=this.minRange)-r+n)/2),M(e.min,n-r)],a&&(i[2]=t?t.log2lin(this.dataMin):this.dataMin),r=[(n=d(i))+o,M(e.max,n+o)],a&&(r[2]=t?t.log2lin(this.dataMax):this.dataMax),(r=f(r))-ne-t),e=w([n]))}return e&&t?Math.min(e,t):e||t}nameToX(e){const t=C(this.options.categories),n=t?this.categories:this.names;let r,i=e.options.x;return e.series.requireSorting=!1,g(i)||(i=this.options.uniqueNames&&n?t?n.indexOf(e.name):M(n.keys[e.name],-1):e.series.autoIncrement()),-1===i?!t&&n&&(r=n.length):r=i,void 0!==r?(this.names[r]=e.name,this.names.keys[e.name]=r):e.x&&(r=e.x),r}updateNames(){const e=this,t=this.names;0=m?(v=m,f=0):this.dataMax<=m&&(c=m,d=0)),this.min=M(u,v,this.dataMin),this.max=M(h,c,this.dataMax);if(n&&(this.positiveValuesOnly&&!e&&0>=Math.min(this.min,M(this.dataMin,this.min))&&y(10,1,t),this.min=A(n.log2lin(this.min),16),this.max=A(n.log2lin(this.max),16)),this.range&&g(this.max)&&(this.userMin=this.min=u=Math.max(this.dataMin,this.minFromRange()),this.userMax=h=this.max,this.range=null),_(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!S(this.userMin)&&S(r.softMin)&&r.softMinthis.max&&(this.max=h=r.softMax),!(s||this.axisPointRange||this.stacking&&this.stacking.usePercentage||o)&&g(this.min)&&g(this.max)&&(t=this.max-this.min)&&(!g(u)&&f&&(this.min-=t*f),!g(h)&&d&&(this.max+=t*d)),!S(this.userMin)&&S(r.floor)&&(this.min=Math.max(this.min,r.floor)),!S(this.userMax)&&S(r.ceiling)&&(this.max=Math.min(this.max,r.ceiling)),l&&g(this.dataMin)&&(m=m||0,!g(u)&&this.min=m?this.min=this.options.minRange?Math.min(m,this.max-this.minRange):m:!g(h)&&this.max>m&&this.dataMax<=m&&(this.max=this.options.minRange?Math.max(m,this.min+this.minRange):m)),S(this.min)&&S(this.max)&&!this.chart.polar&&this.min>this.max&&(g(this.options.min)?this.max=this.min:g(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||void 0===this.min||void 0===this.max?1:o&&this.linkedParent&&!p&&a===this.linkedParent.options.tickPixelInterval?p=this.linkedParent.tickInterval:M(p,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,s?1:(this.max-this.min)*a/Math.max(this.len,a)),i&&!e){const e=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(e)}),_(this,"postProcessData",{hasExtremesChanged:e})}this.setAxisTranslation(),_(this,"initialAxisTranslation"),this.pointRange&&!p&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),e=M(r.minTickInterval,this.dateTime&&!this.series.some(e=>e.noSharedTooltip)?this.closestPointRange:0),!p&&this.tickIntervalMath.max(2*this.len,200)))if(this.dateTime)o=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)o=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(r=e=this.tickInterval;r<=2*e&&(o=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&o.length>this.tickAmount);)this.tickInterval=P(this,r*=1.1);else o=[this.min,this.max],y(19,!1,this.chart);o.length>this.len&&((o=[o[0],o[o.length-1]])[0]===o[1]&&(o.length=1)),n&&(this.tickPositions=o,(s=n.apply(this,[this.min,this.max]))&&(o=s))}this.tickPositions=o,this.paddedTicks=o.slice(0),this.trimTicks(o,a,i),!this.isLinked&&S(this.min)&&S(this.max)&&(this.single&&2>o.length&&!this.categories&&!this.series.some(e=>e.is("heatmap")&&"between"===e.options.pointPlacement)&&(this.min-=.5,this.max+=.5),t||s||this.adjustTickAmount()),_(this,"afterSetTickPositions")}trimTicks(e,t,n){const r=e[0],i=e[e.length-1],o=!this.isOrdinal&&this.minPointOffset||0;if(_(this,"trimTicks"),!this.isLinked){if(t&&-1/0!==r)this.min=r;else for(;this.min-o>e[0];)e.shift();if(n)this.max=i;else for(;this.max+o{const{horiz:t,options:n}=e;return[t?n.left:n.top,n.width,n.height,n.pane].join()},r=n(this);this.chart[this.coll].forEach(function(i){const{series:a}=i;a.length&&a.some(e=>e.visible)&&i!==e&&n(i)===r&&(o=!0,t.push(i))})}if(o&&r){t.forEach(t=>{t=t.getThresholdAlignment(e),S(t)&&i.push(t)});const n=1e+t,0)/i.length:void 0;t.forEach(e=>{e.thresholdAlignment=n})}return o}getThresholdAlignment(e){if((!S(this.dataMin)||this!==e&&this.series.some(e=>e.isDirty||e.isDirtyData))&&this.getSeriesExtremes(),S(this.threshold))return e=p((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1),this.options.reversed&&(e=1-e),e}getTickAmount(){const e=this.options,t=e.tickPixelInterval;let n=e.tickAmount;!g(e.tickInterval)&&!n&&this.lenn&&(this.finalTickAmt=n,n=5),this.tickAmount=n}adjustTickAmount(){const e=this,{finalTickAmt:t,max:n,min:r,options:i,tickPositions:o,tickAmount:a,thresholdAlignment:s}=e,l=o&&o.length;var c=M(e.threshold,e.softThreshold?0:null),u=e.tickInterval;let h;if(S(s)&&(h=.5>s?Math.ceil(s*(a-1)):Math.floor(s*(a-1)),i.reversed&&(h=a-1-h)),e.hasData()&&S(r)&&S(n)){const s=()=>{e.transA*=(l-1)/(a-1),e.min=i.startOnTick?o[0]:Math.min(r,o[0]),e.max=i.endOnTick?o[o.length-1]:Math.max(n,o[o.length-1])};if(S(h)&&S(e.threshold)){for(;o[h]!==c||o.length!==a||o[0]>r||o[o.length-1]e.threshold?o.unshift(A(o[0]-u)):o.push(A(o[o.length-1]+u));if(u>8*e.tickInterval)break;u*=2}s()}else if(l=t&&0s&&(t=s)),g(i)&&(os&&(o=s))),n.displayBtn=void 0!==t||void 0!==o,n.setExtremes(t,o,!1,void 0,{trigger:"zoom"})),e.zoomed=!0}),e.zoomed}setAxisSize(){const e=this.chart;var t=this.options;const n=t.offsets||[0,0,0,0],r=this.horiz,i=this.width=Math.round(D(M(t.width,e.plotWidth-n[3]+n[1]),e.plotWidth)),o=this.height=Math.round(D(M(t.height,e.plotHeight-n[0]+n[2]),e.plotHeight)),a=this.top=Math.round(D(M(t.top,e.plotTop+n[0]),e.plotHeight,e.plotTop));t=this.left=Math.round(D(M(t.left,e.plotLeft+n[3]),e.plotWidth,e.plotLeft)),this.bottom=e.chartHeight-o-a,this.right=e.chartWidth-i-t,this.len=Math.max(r?i:o,0),this.pos=r?t:a}getExtremes(){const e=this.logarithmic;return{min:e?A(e.lin2log(this.min)):this.min,max:e?A(e.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(e){var t=this.logarithmic;const n=t?t.lin2log(this.min):this.min;return t=t?t.lin2log(this.max):this.max,null===e||-1/0===e?e=n:1/0===e?e=t:n>e?e=n:tt?e.align="right":195t&&(e.align="left")}),e.align}tickSize(e){const t=this.options,n=M(t["tick"===e?"tickWidth":"minorTickWidth"],"tick"===e&&this.isXAxis&&!this.categories?1:0);let r,i=t["tick"===e?"tickLength":"minorTickLength"];return n&&i&&("inside"===t[e+"Position"]&&(i=-i),r=[i,n]),_(this,"afterTickSize",e={tickSize:r}),e.tickSize}labelMetrics(){const e=this.chart.renderer;var t=this.ticks;return t=t[Object.keys(t)[0]]||{},this.chart.renderer.fontMetrics(t.label||t.movedLabel||e.box)}unsquish(){const e=this.options.labels;var t=this.horiz;const n=this.tickInterval,r=this.len/(((this.categories?1:0)+this.max-this.min)/n),i=e.rotation,o=.75*this.labelMetrics().h,a=Math.max(this.max-this.min,0),s=function(e){let t=e/(r||1);return(t=1a&&1/0!==e&&1/0!==r&&a&&(t=Math.ceil(a/n)),A(t*n)};let l,c,u=n,d=Number.MAX_VALUE;if(t){if(e.staggerLines||(S(i)?c=[i]:r=n)&&((e=(t=s(Math.abs(o/Math.sin(h*n))))+Math.abs(n/360))r.step)return r.rotation?0:(this.staggerLines||1)*this.len/i;if(!n){if(void 0!==(e=r.style.width))return parseInt(String(e),10);if(o)return o-t.spacing[3]}return.33*t.chartWidth}renderUnsquish(){const e=this.chart,t=e.renderer,n=this.tickPositions,r=this.ticks,i=this.options.labels,o=i.style,a=this.horiz,s=this.getSlotWidth();var l=Math.max(1,Math.round(s-2*i.padding));const c={},u=this.labelMetrics(),h=o.textOverflow;let d,f,p=0;if(k(i.rotation)||(c.rotation=i.rotation||0),n.forEach(function(e){(e=r[e]).movedLabel&&e.replaceMovedLabel(),e&&e.label&&e.label.textPxLength>p&&(p=e.label.textPxLength)}),this.maxLabelLength=p,this.autoRotation)p>l&&p>u.h?c.rotation=this.labelRotation:this.labelRotation=0;else if(s&&(d=l,!h))for(f="clip",l=n.length;!a&&l--;){var A=n[l];(A=r[A].label)&&(A.styles&&"ellipsis"===A.styles.textOverflow?A.css({textOverflow:"clip"}):A.textPxLength>s&&A.css({width:s+"px"}),A.getBBox().height>this.len/n.length-(u.h-u.f)&&(A.specificTextOverflow="ellipsis"))}c.rotation&&(d=p>.5*e.chartHeight?.33*e.chartHeight:p,h||(f="ellipsis")),(this.labelAlign=i.align||this.autoLabelAlign(this.labelRotation))&&(c.align=this.labelAlign),n.forEach(function(e){const t=(e=r[e])&&e.label,n=o.width,i={};t&&(t.attr(c),e.shortenLabel?e.shortenLabel():d&&!n&&"nowrap"!==o.whiteSpace&&(dc.g(e).attr({zIndex:n}).addClass(`highcharts-${s.toLowerCase()}${t} `+(this.isRadial?`highcharts-radial-axis${t} `:"")+(y||"")).add(l);e.gridGroup=t("grid","-grid",r.gridZIndex),e.axisGroup=t("axis","",r.zIndex),e.labelGroup=t("axis-labels","-labels",f.zIndex)}h||e.isLinked?(a.forEach(function(t){e.generateTick(t)}),e.renderUnsquish(),e.reserveSpaceDefault=0===i||2===i||{1:"left",3:"right"}[i]===e.labelAlign,M(f.reserveSpace,!p&&null,"center"===e.labelAlign||null,e.reserveSpaceDefault)&&a.forEach(function(e){k=Math.max(o[e].getLabelSize(),k)}),e.staggerLines&&(k*=e.staggerLines),e.labelOffset=k*(e.opposite?-1:1)):E(o,function(e,t){e.destroy(),delete o[t]}),d&&d.text&&!1!==d.enabled&&(e.addTitle(b),b&&!p&&!1!==d.reserveSpace&&(e.titleOffset=x=e.axisTitle.getBBox()[n?"height":"width"],w=d.offset,C=g(w)?0:M(d.margin,n?5:10))),e.renderLine(),e.offset=v*M(r.offset,A[i]?A[i]+(r.margin||0):0),e.tickRotCorr=e.tickRotCorr||{x:0,y:0},h=0===i?-e.labelMetrics().h:2===i?e.tickRotCorr.y:0,C=Math.abs(k)+C,k&&(C=C-h+v*(n?M(f.y,e.tickRotCorr.y+v*f.distance):M(f.x,v*f.distance))),e.axisTitleMargin=M(w,C),e.getMaxLabelDimensions&&(e.maxLabelDimensions=e.getMaxLabelDimensions(o,a)),"colorAxis"!==s&&(f=this.tickSize("tick"),A[i]=Math.max(A[i],(e.axisTitleMargin||0)+x+v*e.offset,C,a&&a.length&&f?f[0]+v*e.offset:0),A=!e.axisLine||r.offset?0:2*Math.floor(e.axisLine.strokeWidth()/2),m[u]=Math.max(m[u],A)),_(this,"afterGetOffset")}getLinePath(e){const t=this.chart,n=this.opposite;var r=this.offset;const i=this.horiz,o=this.left+(n?this.width:0)+r;return r=t.chartHeight-this.bottom-(n?this.height:0)+r,n&&(e*=-1),t.renderer.crispLine([["M",i?this.left:o,i?r:this.top],["L",i?t.chartWidth-this.right:o,i?r:t.chartHeight-this.bottom]],e)}renderLine(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))}getTitlePosition(e){var t=this.horiz,n=this.left;const r=this.top;var i=this.len;const o=this.options.title,a=t?n:r,s=this.opposite,l=this.offset,c=o.x,u=o.y,h=this.chart.renderer.fontMetrics(e);return e=e?Math.max(e.getBBox(!1,0).height-h.h-1,0):0,i={low:a+(t?0:i),middle:a+i/2,high:a+(t?i:0)}[o.align],n=(t?r+this.height:n)+(t?1:-1)*(s?-1:1)*(this.axisTitleMargin||0)+[-e,e,h.f,-e][this.side],t={x:t?i+c:n+(s?this.width:0)+l+c,y:t?n+u-(s?this.height:0)+l:i+u},_(this,"afterGetTitlePosition",{titlePosition:t}),t}renderMinorTick(e,t){const n=this.minorTicks;n[e]||(n[e]=new a(this,e,"minor")),t&&n[e].isNew&&n[e].render(null,!0),n[e].render(null,!1,1)}renderTick(e,t,n){const r=this.ticks;(!this.isLinked||e>=this.min&&e<=this.max||this.grid&&this.grid.isColumn)&&(r[e]||(r[e]=new a(this,e)),n&&r[e].isNew&&r[e].render(t,!0,-1),r[e].render(t))}render(){const e=this,t=e.chart,n=e.logarithmic,r=e.options,i=e.isLinked,s=e.tickPositions,c=e.axisTitle,u=e.ticks,h=e.minorTicks,d=e.alternateBands,f=r.stackLabels,p=r.alternateGridColor;var A=r.crossing;const g=e.tickmarkOffset,m=e.axisLine,v=e.showAxis,y=l(t.renderer.globalAnimation);let b,w;if(e.labelEdge.length=0,e.overlap=!1,[u,h,d].forEach(function(e){E(e,function(e){e.isActive=!1})}),S(A)){const n=this.isXAxis?t.yAxis[0]:t.xAxis[0],r=[1,-1,-1,1][this.side];n&&(A=n.toPixels(A,!0),e.horiz&&(A=n.len-A),e.offset=r*A)}if(e.hasData()||i){const i=e.chart.hasRendered&&e.old&&S(e.old.min);e.minorTickInterval&&!e.categories&&e.getMinorTickPositions().forEach(function(t){e.renderMinorTick(t,i)}),s.length&&(s.forEach(function(t,n){e.renderTick(t,n,i)}),g&&(0===e.min||e.single)&&(u[-1]||(u[-1]=new a(e,-1,null,!0)),u[-1].render(-1))),p&&s.forEach(function(r,i){w=void 0!==s[i+1]?s[i+1]+g:e.max-g,0==i%2&&rt&&(!o||u<=i)&&void 0!==u&&c.push(u),u>i&&(h=!0),u=a}else t=this.lin2log(t),i=this.lin2log(i),e=o?a.getMinorTickInterval():l.tickInterval,e=r("auto"===e?null:e,this.minorAutoInterval,l.tickPixelInterval/(o?5:1)*(i-t)/((o?s/a.tickPositions.length:s)||1)),e=n(e),c=a.getLinearTickPositions(e,t,i).map(this.log2lin),o||(this.minorAutoInterval=e/5);return o||(a.tickInterval=e),c}lin2log(e){return Math.pow(10,e)}log2lin(e){return Math.log(e)/Math.LN10}}i.Additions=l}(i||(i={})),i}),t(n,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[n["Core/Utilities.js"]],function(e){const{erase:t,extend:n,isNumber:r}=e;var i;return function(o){function a(e){return this.addPlotBandOrLine(e,"plotBands")}function s(e,t){const n=this.userOptions;let r=new p(this,e);if(this.visible&&(r=r.render()),r){if(this._addedPlotLB||(this._addedPlotLB=!0,(n.plotLines||[]).concat(n.plotBands||[]).forEach(e=>{this.addPlotBandOrLine(e)})),t){const r=n[t]||[];r.push(e),n[t]=r}this.plotLinesAndBands.push(r)}return r}function l(e){return this.addPlotBandOrLine(e,"plotLines")}function c(e,t,n=this.options){const i=this.getPlotLinePath({value:t,force:!0,acrossPanes:n.acrossPanes}),o=[],a=this.horiz;let s;if(t=!r(this.min)||!r(this.max)||ethis.max&&t>this.max,e=this.getPlotLinePath({value:e,force:!0,acrossPanes:n.acrossPanes}),n=1,e&&i)for(t&&(s=e.toString()===i.toString(),n=0),t=0;t{const a="x"===o;return[o,a?c:u,a?e:t].concat(s?[a?e*h.scaleX:t*h.scaleY,a?h.left-i+(n.plotX+r.plotLeft)*h.scaleX:h.top-i+(n.plotY+r.plotTop)*h.scaleY,0,a?c:u]:[a?e:t,a?n.plotX+r.plotLeft:n.plotY+r.plotTop,a?r.plotLeft:r.plotTop,a?r.plotLeft+r.plotWidth:r.plotTop+r.plotHeight])}))("y"),p=l("x");l=!!n.negative,!r.polar&&r.hoverSeries&&r.hoverSeries.yAxis&&r.hoverSeries.yAxis.reversed&&(l=!l);const A=!this.followPointer&&y(n.ttBelow,!r.inverted===l),g=function(e){const t=f;f=p,p=t,d=e},m=function(){!1!==function(e,t,n,r,l,c,u){const d=s?"y"===e?i*h.scaleY:i*h.scaleX:i,f=(n-r)/2,p=rm-a?m:m-a);else{if(!g)return!1;o[e]=Math.max(c,l+a+n>t?l:l+a)}}.apply(0,f)?!1!==function(e,t,n,r,a){let s;return at-i?s=!1:o[e]=at-r/2?t-r-2:a-n/2,s}.apply(0,p)||d||(g(!0),m()):d?o.x=o.y=0:(g(!0),m())};return(r.inverted||1a.isDirectTouch||e.series.shouldShowTooltip(i,o)))return void this.hide();t=this.getLabel(),r.style.width&&!f||t.css({width:(this.outside?this.getPlayingField():n.spacingBox).width+"px"}),t.attr({text:u&&u.join?u.join(""):u}),t.addClass(this.getClassName(l),!0),f||t.attr({stroke:r.borderColor||l.color||h.color||"#666666"}),this.updatePosition({plotX:v,plotY:_,negative:l.negative,ttBelow:l.ttBelow,h:e[2]||0})}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}p(this,"refresh")}}renderSplit(e,t){function n(e,t,n,i,o=!0){return n?(t=E?0:L,e=u(e-i/2,k.left,k.right-i-(r.outside?M:0))):(t-=O,e=u(e=o?e-i-x:e+x,o?e:k.left,k.right)),{x:e,y:t}}const r=this,{chart:i,chart:{chartWidth:o,chartHeight:c,plotHeight:h,plotLeft:d,plotTop:p,pointer:A,scrollablePixelsY:g=0,scrollablePixelsX:v,scrollingContainer:{scrollLeft:b,scrollTop:_}={scrollLeft:0,scrollTop:0},styledMode:w},distance:x,options:C,options:{positioner:S}}=r,k=r.outside&&"number"!=typeof v?a.documentElement.getBoundingClientRect():{left:b,right:b+o,top:_,bottom:_+c},B=r.getLabel(),T=this.renderer||i.renderer,E=!(!i.xAxis[0]||!i.xAxis[0].opposite),{left:M,top:D}=A.getChartPosition();let O=p+_,I=0,L=h-g;m(e)&&(e=[!1,e]),e=e.slice(0,t.length+1).reduce(function(e,i,o){if(!1!==i&&""!==i){const A=(o=t[o-1]||{isHeader:!0,plotX:t[0].plotX,plotY:h,series:{}}).isHeader;var a,s=A?r:o.series;{var l=o;i=i.toString();var c=s.tt;const{isHeader:e,series:t}=l;c||(c={padding:C.padding,r:C.borderRadius},w||(c.fill=C.backgroundColor,c["stroke-width"]=null!==(a=C.borderWidth)&&void 0!==a?a:1),c=T.label("",0,0,C[e?"headerShape":"shape"],void 0,void 0,C.useHTML).addClass(r.getClassName(l,!0,e)).attr(c).add(B)),c.isActive=!0,c.attr({text:i}),w||c.css(C.style).attr({stroke:C.borderColor||l.color||t.color||"#333333"}),a=c}a=s.tt=a,s=(l=a.getBBox()).width+a.strokeWidth(),A&&(I=l.height,L+=I,E&&(O-=I));{const{isHeader:e,plotX:t=0,plotY:n=0,series:r}=o;if(e){i=d+t;var f=p+h/2}else{const{xAxis:e,yAxis:o}=r;i=e.pos+u(t,-x,e.len+x),r.shouldShowTooltip(0,o.pos-p+n,{ignoreX:!0})&&(f=o.pos+n)}f={anchorX:i=u(i,k.left-x,k.right+x),anchorY:f}}const{anchorX:g,anchorY:m}=f;"number"==typeof m?(f=l.height+1,l=S?S.call(r,s,f,o):n(g,m,A,s),e.push({align:S?0:void 0,anchorX:g,anchorY:m,boxWidth:s,point:o,rank:y(l.rank,A?1:0),size:f,target:l.y,tt:a,x:l.x})):a.isActive=!1}return e},[]),!S&&e.some(e=>{var{outside:t}=r;return(t=(t?M:0)+e.anchorX)t})&&(e=e.map(e=>{const{x:t,y:r}=n(e.anchorX,e.anchorY,e.point.isHeader,e.boxWidth,!1);return f(e,{target:r,x:t})})),r.cleanSplit(),l(e,L);var P=M,F=M;e.forEach(function(e){const{x:t,boxWidth:n,isHeader:i}=e;i||(r.outside&&M+tF&&(F=M+t))}),e.forEach(function(e){const{x:t,anchorX:n,anchorY:i,pos:o,point:{isHeader:a}}=e,s={visibility:void 0===o?"hidden":"inherit",x:t,y:(o||0)+O,anchorX:n,anchorY:i};if(r.outside&&tn[0]?Math.max(Math.abs(n[0]),i.width-n[0]):Math.max(Math.abs(n[0]),i.width),r.height=0>n[1]?Math.max(Math.abs(n[1]),i.height-Math.abs(n[1])):Math.max(Math.abs(n[1]),i.height),this.tracker?this.tracker.attr(r):(this.tracker=t.renderer.rect(r).addClass("highcharts-tracker").add(t),e.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}else this.tracker&&(this.tracker=this.tracker.destroy())}styledModeFormat(e){return e.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}tooltipFooterHeaderFormatter(e,t){const n=e.series,r=n.tooltipOptions;var i=n.xAxis;const a=i&&i.dateTime;i={isFooter:t,labelConfig:e};let s=r.xDateFormat,l=r[t?"footerFormat":"headerFormat"];return p(this,"headerFormatter",i,function(t){a&&!s&&g(e.key)&&(s=a.getXDateFormat(e.key,r.dateTimeLabelFormats)),a&&s&&(e.point&&e.point.tooltipDateKeys||["key"]).forEach(function(e){l=l.replace("{point."+e+"}","{point."+e+":"+s+"}")}),n.chart.styledMode&&(l=this.styledModeFormat(l)),t.text=o(l,{point:e,series:n},this.chart)}),i.text}update(e){this.destroy(),this.init(this.chart,v(!0,this.options,e))}updatePosition(e){const{chart:t,distance:n,options:r}=this;var i=t.pointer;const o=this.getLabel(),{left:a,top:s,scaleX:l,scaleY:c}=i.getChartPosition();i=(r.positioner||this.getPosition).call(this,o.width,o.height,e);let u,d=(e.plotX||0)+t.plotLeft;e=(e.plotY||0)+t.plotTop,this.outside&&(r.positioner&&(i.x+=a-n,i.y+=s-n),u=(r.borderWidth||0)+2*n,this.renderer.setSize(o.width+u,o.height+u,!1),1===l&&1===c||(h(this.container,{transform:`scale(${l}, ${c})`}),d*=l,e*=c),d+=a-i.x,e+=s-i.y),this.move(Math.round(i.x),Math.round(i.y||0),d,e)}}return function(e){const t=[];e.compose=function(n){i.pushUnique(t,n)&&c(n,"afterInit",function(){const t=this.chart;t.options.tooltip&&(t.tooltip=new e(t,t.options.tooltip))})}}(w||(w={})),w}),t(n,"Core/Series/Point.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/Defaults.js"],n["Core/Templating.js"],n["Core/Utilities.js"]],function(e,t,n,r,i){const{animObject:o}=t,{defaultOptions:a}=n,{format:s}=r,{addEvent:l,defined:c,erase:u,extend:h,fireEvent:d,getNestedProperty:f,isArray:p,isFunction:A,isNumber:g,isObject:m,merge:v,objectEach:y,pick:b,syncTimeout:_,removeEvent:w,uniqueKey:x}=i;class C{constructor(){this.category=void 0,this.destroyed=!1,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.shapeArgs=this.series=void 0,this.visible=!0,this.x=void 0}animateBeforeDestroy(){const e=this,t={x:e.startXPos,opacity:0},n=e.getGraphicalProps();n.singular.forEach(function(n){e[n]=e[n].animate("dataLabel"===n?{x:e[n].startXPos,y:e[n].startYPos,opacity:0}:t)}),n.plural.forEach(function(t){e[t].forEach(function(t){t.element&&t.animate(h({x:e.startXPos},t.startYPos?{x:t.startXPos,y:t.startYPos}:{}))})})}applyOptions(e,t){const n=this.series,r=n.options.pointValKey||n.pointValKey;return e=C.prototype.optionsToObject.call(this,e),h(this,e),this.options=this.options?h(this.options,e):e,e.group&&delete this.group,e.dataLabels&&delete this.dataLabels,r&&(this.y=C.prototype.getNestedProperty.call(this,r)),this.formatPrefix=(this.isNull=this.isValid&&!this.isValid())?"null":"point",this.selected&&(this.state="select"),"name"in this&&void 0===t&&n.xAxis&&n.xAxis.hasNames&&(this.x=n.xAxis.nameToX(this)),void 0===this.x&&n?this.x=void 0===t?n.autoIncrement():t:g(e.x)&&n.options.relativeXValue&&(this.x=n.autoIncrement(e.x)),this}destroy(){if(!this.destroyed){const t=this;var e=t.series;const n=e.chart;e=e.options.dataSorting;const r=n.hoverPoints,i=o(t.series.chart.renderer.globalAnimation),a=()=>{(t.graphic||t.graphics||t.dataLabel||t.dataLabels)&&(w(t),t.destroyElements());for(const e in t)delete t[e]};t.legendItem&&n.legend.destroyItem(t),r&&(t.setState(),u(r,t),r.length||(n.hoverPoints=null)),t===n.hoverPoint&&t.onMouseOut(),e&&e.enabled?(this.animateBeforeDestroy(),_(a,i.duration)):a(),n.pointCount--}this.destroyed=!0}destroyElements(e){const t=this;(e=t.getGraphicalProps(e)).singular.forEach(function(e){t[e]=t[e].destroy()}),e.plural.forEach(function(e){t[e].forEach(function(e){e&&e.element&&e.destroy()}),delete t[e]})}firePointEvent(e,t,n){const r=this,i=this.series.options;(i.point.events[e]||r.options&&r.options.events&&r.options.events[e])&&r.importEvents(),"click"===e&&i.allowPointSelect&&(n=function(e){r.select&&r.select(null,e.ctrlKey||e.metaKey||e.shiftKey)}),d(r,e,t,n)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getGraphicalProps(e){const t=this,n=[],r={singular:[],plural:[]};let i,o;for((e=e||{graphic:1,dataLabel:1}).graphic&&n.push("graphic"),e.dataLabel&&n.push("dataLabel","dataLabelPath","dataLabelUpper","connector"),o=n.length;o--;)i=n[o],t[i]&&r.singular.push(i);return["graphic","dataLabel","connector"].forEach(function(n){const i=n+"s";e[n]&&t[i]&&r.plural.push(i)}),r}getLabelConfig(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}}getNestedProperty(e){if(e)return 0===e.indexOf("custom.")?f(e,this.options):this[e]}getZone(){var e=this.series;const t=e.zones;e=e.zoneAxis||"y";let n,r=0;for(n=t[r];this[e]>=n.value;)n=t[++r];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=n&&n.color&&!this.options.color?n.color:this.nonZonedColor,n}hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}init(e,t,n){return this.series=e,this.applyOptions(t,n),this.id=c(this.id)?this.id:x(),this.resolveColor(),e.chart.pointCount++,d(this,"afterInit"),this}isValid(){return null!==this.x&&g(this.y)}optionsToObject(e){var t=this.series;const n=t.options.keys,r=n||t.pointArrayMap||["y"],i=r.length;let o={},a=0,s=0;if(g(e)||null===e)o[r[0]]=e;else if(p(e))for(!n&&e.length>i&&("string"===(t=typeof e[0])?o.name=e[0]:"number"===t&&(o.x=e[0]),a++);se()),this.eventsToUnbind=[],t.chartCount||(y.unbindDocumentMouseUp&&(y.unbindDocumentMouseUp=y.unbindDocumentMouseUp()),y.unbindDocumentTouchEnd&&(y.unbindDocumentTouchEnd=y.unbindDocumentTouchEnd())),clearInterval(e.tooltipTimeout),A(e,function(t,n){e[n]=void 0})}getSelectionMarkerAttrs(e,t){const n={args:{chartX:e,chartY:t},attrs:{},shapeType:"rect"};return d(this,"getSelectionMarkerAttrs",n,n=>{const{chart:r,mouseDownX:i=0,mouseDownY:o=0,zoomHor:a,zoomVert:s}=this;let l;(n=n.attrs).x=r.plotLeft,n.y=r.plotTop,n.width=a?1:r.plotWidth,n.height=s?1:r.plotHeight,a&&(l=e-i,n.width=Math.abs(l),n.x=(0i+a&&(d=i+a),fo+s&&(f=o+s),this.hasDragged=Math.sqrt(Math.pow(l-d,2)+Math.pow(c-f,2)),10{t.result={x:e.attr?+e.attr("x"):e.x,y:e.attr?+e.attr("y"):e.y,width:e.attr?e.attr("width"):e.width,height:e.attr?e.attr("height"):e.height}}),t.result}drop(e){const t=this,n=this.chart,r=this.hasPinched;if(this.selectionMarker){const{x:i,y:o,width:a,height:s}=this.getSelectionBox(this.selectionMarker),l={originalEvent:e,xAxis:[],yAxis:[],x:i,y:o,width:a,height:s};let h=!!n.mapView;(this.hasDragged||r)&&(n.axes.forEach(function(n){if(n.zoomEnabled&&c(n.min)&&(r||t[{xAxis:"zoomX",yAxis:"zoomY"}[n.coll]])&&f(i)&&f(o)&&f(a)&&f(s)){var u=n.horiz;const t="touchend"===e.type?n.minPixelPadding:0,r=n.toValue((u?i:o)+t);u=n.toValue((u?i+a:o+s)-t),l[n.coll].push({axis:n,min:Math.min(r,u),max:Math.max(r,u)}),h=!0}}),h&&d(n,"selection",l,function(e){n.zoom(u(e,r?{animation:!1}:null))})),f(n.index)&&(this.selectionMarker=this.selectionMarker.destroy()),r&&this.scaleGroups()}n&&f(n.index)&&(l(n.container,{cursor:n._cursor}),n.cancelClick=10e.options.findNearestPointBy.indexOf("y");if(e=e.searchPoint(n,i),(i=p(e,!0)&&e.series)&&!(i=!p(r,!0))){{i=r.distX-e.distX;const n=r.dist-e.dist,o=(e.series.group&&e.series.group.zIndex)-(r.series.group&&r.series.group.zIndex);i=0!==i&&t?i:0!==n?n:0!==o?o:r.series.index>e.series.index?-1:1}i=0e.stickyTracking&&(c.filter||s)(e));const u=r||!o?e:this.findNearestKDPoint(l,i,o);return t=u&&u.series,u&&(i&&!t.noSharedTooltip?(l=n.filter(function(e){return c.filter?c.filter(e):s(e)&&!e.noSharedTooltip})).forEach(function(e){let t=h(e.points,function(e){return e.x===u.x&&!e.isNull});p(t)&&(e.boosted&&e.boost&&(t=e.boost.getPoint(t)),a.push(t))}):a.push(u)),d(this,"afterGetHoverData",c={hoverPoint:u}),{hoverPoint:c.hoverPoint,hoverSeries:t,hoverPoints:a}}getPointFromEvent(e){let t;for(e=e.target;e&&!t;)t=e.point,e=e.parentNode;return t}onTrackerMouseOut(e){e=e.relatedTarget;const t=this.chart.hoverSeries;this.isDirectTouch=!1,!t||!e||t.stickyTracking||this.inClass(e,"highcharts-tooltip")||this.inClass(e,"highcharts-series-"+t.index)&&this.inClass(e,"highcharts-tracker")||t.onMouseOut()}inClass(e,t){let n;for(;e;){if(n=s(e,"class")){if(-1!==n.indexOf(t))return!0;if(-1!==n.indexOf("highcharts-container"))return!1}e=e.parentElement}}init(e,t){this.options=t,this.chart=e,this.runChartClick=!(!t.chart.events||!t.chart.events.click),this.pinchDown=[],this.lastValidTouch={},this.setDOMEvents(),d(this,"afterInit")}normalize(e,t){var n=e.touches,r=n?n.length?n.item(0):m(n.changedTouches,e.changedTouches)[0]:e;return t||(t=this.getChartPosition()),n=r.pageX-t.left,r=r.pageY-t.top,n/=t.scaleX,r/=t.scaleY,u(e,{chartX:Math.round(n),chartY:Math.round(r)})}onContainerClick(e){const t=this.chart,n=t.hoverPoint;e=this.normalize(e);const r=t.plotLeft,i=t.plotTop;t.cancelClick||(n&&this.inClass(e.target,"highcharts-tracker")?(d(n.series,"click",u(e,{point:n})),t.hoverPoint&&n.firePointEvent("click",e)):(u(e,this.getCoordinates(e)),t.isInsidePlot(e.chartX-r,e.chartY-i,{visiblePlotOnly:!0})&&d(t,"click",e)))}onContainerMouseDown(e){const n=1==(1&(e.buttons||e.button));e=this.normalize(e),t.isFirefox&&0!==e.button&&this.onContainerMouseMove(e),(void 0===e.button||n)&&(this.zoomOption(e),n&&e.preventDefault&&e.preventDefault(),this.dragStart(e))}onContainerMouseLeave(e){const t=i[m(y.hoverChartIndex,-1)];e=this.normalize(e),t&&e.relatedTarget&&!this.inClass(e.relatedTarget,"highcharts-tooltip")&&(t.pointer.reset(),t.pointer.chartPosition=void 0)}onContainerMouseEnter(e){delete this.chartPosition}onContainerMouseMove(e){const t=this.chart,n=t.tooltip;e=this.normalize(e),this.setHoverChartIndex(),("mousedown"===t.mouseIsDown||this.touchSelect(e))&&this.drag(e),t.openMenu||!this.inClass(e.target,"highcharts-tracker")&&!t.isInsidePlot(e.chartX-t.plotLeft,e.chartY-t.plotTop,{visiblePlotOnly:!0})||n&&n.shouldStickOnContact(e)||(this.inClass(e.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(e))}onDocumentTouchEnd(e){const t=i[m(y.hoverChartIndex,-1)];t&&t.pointer.drop(e)}onContainerTouchMove(e){this.touchSelect(e)?this.onContainerMouseMove(e):this.touch(e)}onContainerTouchStart(e){this.touchSelect(e)?this.onContainerMouseDown(e):(this.zoomOption(e),this.touch(e,!0))}onDocumentMouseMove(e){const t=this.chart,n=t.tooltip,r=this.chartPosition;e=this.normalize(e,r),!r||t.isInsidePlot(e.chartX-t.plotLeft,e.chartY-t.plotTop,{visiblePlotOnly:!0})||n&&n.shouldStickOnContact(e)||this.inClass(e.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(e){const t=i[m(y.hoverChartIndex,-1)];t&&t.pointer.drop(e)}pinch(e){const t=this,n=t.chart,r=t.pinchDown,i=e.touches||[],a=i.length,s=t.lastValidTouch,l=t.hasZoom,c={},h=1===a&&(t.inClass(e.target,"highcharts-tracker")&&n.runTrackerClick||t.runChartClick),f={};var p=t.chart.tooltip;p=1===a&&m(p&&p.options.followTouchMove,!0);let A=t.selectionMarker;1{A||(t.selectionMarker=A=u({destroy:o,touch:!0},n.plotBox)),t.pinchTranslate(r,i,c,A,f,s),t.hasPinched=l,t.scaleGroups(c,f)}),t.res&&(t.res=!1,this.reset(!1,0)))}pinchTranslate(e,t,n,r,i,o){this.zoomHor&&this.pinchTranslateDirection(!0,e,t,n,r,i,o),this.zoomVert&&this.pinchTranslateDirection(!1,e,t,n,r,i,o)}pinchTranslateDirection(e,t,n,r,i,o,a,s){const l=this.chart,c=e?"x":"y",u=e?"X":"Y",h="chart"+u,d=e?"width":"height",f=l["plot"+(e?"Left":"Top")],p=l.inverted,A=l.bounds[e?"h":"v"],g=1===t.length,m=t[0][h],v=!g&&t[1][h];t=function(){"number"==typeof C&&20A.max&&(n=A.max-y,_=!0),_?(x-=.8*(x-a[c][0]),"number"==typeof C&&(C-=.8*(C-a[c][1])),t()):a[c]=[x,C],p||(o[c]=b-f,o[d]=y),o=p?1/w:w,i[d]=y,i[c]=n,r[p?e?"scaleY":"scaleX":"scale"+u]=w,r["translate"+u]=o*f+(x-o*m)}reset(e,t){const n=this.chart,r=n.hoverSeries,i=n.hoverPoint,o=n.hoverPoints,a=n.tooltip,s=a&&a.shared?o:i;e&&s&&v(s).forEach(function(t){t.series.isCartesian&&void 0===t.plotX&&(e=!1)}),e?a&&s&&v(s).length&&(a.refresh(s),a.shared&&o?o.forEach(function(e){e.setState(e.state,!0),e.series.isCartesian&&(e.series.xAxis.crosshair&&e.series.xAxis.drawCrosshair(null,e),e.series.yAxis.crosshair&&e.series.yAxis.drawCrosshair(null,e))}):i&&(i.setState(i.state,!0),n.axes.forEach(function(e){e.crosshair&&i.series[e.coll]===e&&e.drawCrosshair(null,i)}))):(i&&i.onMouseOut(),o&&o.forEach(function(e){e.setState()}),r&&r.onMouseOut(),a&&a.hide(t),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),n.axes.forEach(function(e){e.hideCrosshair()}),this.hoverX=n.hoverPoints=n.hoverPoint=null)}runPointActions(e,t,n){const r=this.chart,o=r.tooltip&&r.tooltip.options.enabled?r.tooltip:void 0,s=!!o&&o.shared;let l=t||r.hoverPoint,c=l&&l.series||r.hoverSeries;t=this.getHoverData(l,c,r.series,(!e||"touchmove"!==e.type)&&(!!t||c&&c.directTouch&&this.isDirectTouch),s,e),l=t.hoverPoint,c=t.hoverSeries;const u=t.hoverPoints;t=c&&c.tooltipOptions.followPointer&&!c.tooltipOptions.split;const d=s&&c&&!c.noSharedTooltip;if(l&&(n||l!==r.hoverPoint||o&&o.isHidden)){if((r.hoverPoints||[]).forEach(function(e){-1===u.indexOf(e)&&e.setState()}),r.hoverSeries!==c&&c.onMouseOver(),this.applyInactiveState(u),(u||[]).forEach(function(e){e.setState("hover")}),r.hoverPoint&&r.hoverPoint.firePointEvent("mouseOut"),!l.series)return;r.hoverPoints=u,r.hoverPoint=l,l.firePointEvent("mouseOver",void 0,()=>{o&&l&&o.refresh(d?u:l,e)})}else t&&o&&!o.isHidden&&(n=o.getAnchor([{}],e),r.isInsidePlot(n[0],n[1],{visiblePlotOnly:!0})&&o.updatePosition({plotX:n[0],plotY:n[1]}));this.unDocMouseMove||(this.unDocMouseMove=a(r.container.ownerDocument,"mousemove",function(e){const t=i[y.hoverChartIndex];t&&t.pointer.onDocumentMouseMove(e)}),this.eventsToUnbind.push(this.unDocMouseMove)),r.axes.forEach(function(t){const n=m((t.crosshair||{}).snap,!0);let i;n&&((i=r.hoverPoint)&&i.series[t.coll]===t||(i=h(u,e=>e.series&&e.series[t.coll]===t))),i||!n?t.drawCrosshair(e,i):t.hideCrosshair()})}scaleGroups(e,t){const n=this.chart;n.series.forEach(function(r){const i=e||r.getPlotBox();r.group&&(r.xAxis&&r.xAxis.zoomEnabled||n.mapView)&&(r.group.attr(i),r.markerGroup&&(r.markerGroup.attr(i),r.markerGroup.clip(t?n.clipRect:null)),r.dataLabelsGroup&&r.dataLabelsGroup.attr(i))}),n.clipRect.attr(t||n.clipBox)}setDOMEvents(){const e=this.chart.container,n=e.ownerDocument;e.onmousedown=this.onContainerMouseDown.bind(this),e.onmousemove=this.onContainerMouseMove.bind(this),e.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(a(e,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(a(e,"mouseleave",this.onContainerMouseLeave.bind(this))),y.unbindDocumentMouseUp||(y.unbindDocumentMouseUp=a(n,"mouseup",this.onDocumentMouseUp.bind(this)));let r=this.chart.renderTo.parentElement;for(;r&&"BODY"!==r.tagName;)this.eventsToUnbind.push(a(r,"scroll",()=>{delete this.chartPosition})),r=r.parentElement;t.hasTouch&&(this.eventsToUnbind.push(a(e,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(a(e,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),y.unbindDocumentTouchEnd||(y.unbindDocumentTouchEnd=a(n,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))}setHoverChartIndex(){const e=this.chart,n=t.charts[m(y.hoverChartIndex,-1)];n&&n!==e&&n.pointer.onContainerMouseLeave({relatedTarget:e.container}),n&&n.mouseIsDown||(y.hoverChartIndex=e.index)}touch(e,t){const n=this.chart;let r,i;this.setHoverChartIndex(),1===e.touches.length?(e=this.normalize(e),(i=n.isInsidePlot(e.chartX-n.plotLeft,e.chartY-n.plotTop,{visiblePlotOnly:!0}))&&!n.openMenu?(t&&this.runPointActions(e),"touchmove"===e.type&&(r=!!(t=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(t[0].chartX-e.chartX,2)+Math.pow(t[0].chartY-e.chartY,2))),m(r,!0)&&this.pinch(e)):t&&this.reset()):2===e.touches.length&&this.pinch(e)}touchSelect(e){return!(!this.chart.zooming.singleTouch||!e.touches||1!==e.touches.length)}zoomOption(e){const t=this.chart,n=t.inverted;var r=t.zooming.type||"";/touch/.test(e.type)&&(r=m(t.zooming.pinchType,r)),this.zoomX=e=/x/.test(r),this.zoomY=r=/y/.test(r),this.zoomHor=e&&!n||r&&n,this.zoomVert=r&&!n||e&&n,this.hasZoom=e||r}}return function(e){const t=[],r=[];e.compose=function(t){n.pushUnique(r,t)&&a(t,"beforeRender",function(){this.pointer=new e(this,this.options)})},e.dissolve=function(){for(let e=0,n=t.length;e{this.proximate&&(this.proximatePositions(),this.positionItems())}))}setOptions(e){const t=b(e.padding,8);this.options=e,this.chart.styledMode||(this.itemStyle=e.itemStyle,this.itemHiddenStyle=y(this.itemStyle,e.itemHiddenStyle)),this.itemMarginTop=e.itemMarginTop,this.itemMarginBottom=e.itemMarginBottom,this.padding=t,this.initialItemY=t-5,this.symbolWidth=b(e.symbolWidth,16),this.pages=[],this.proximate="proximate"===e.layout&&!this.chart.inverted,this.baseline=void 0}update(e,t){const n=this.chart;this.setOptions(y(!0,this.options,e)),this.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,b(t,!0)&&n.redraw(),m(this,"afterUpdate")}colorizeItem(e,t){const{group:n,label:r,line:i,symbol:o}=e.legendItem||{};if(n&&n[t?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){const{itemHiddenStyle:n}=this,a=n.color,s=t&&e.color||a,l=e.options&&e.options.marker;let c={fill:s};null===r||void 0===r||r.css(y(t?this.itemStyle:n)),null===i||void 0===i||i.attr({stroke:s}),o&&(l&&o.isMarker&&(c=e.pointAttribs(),t||(c.stroke=c.fill=a)),o.attr(c))}m(this,"afterColorizeItem",{item:e,visible:t})}positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(e){const{group:t,x:n=0,y:r=0}=e.legendItem||{};var i=this.options,o=i.symbolPadding;const a=!i.rtl;i=e.checkbox,t&&t.element&&(o={translateX:a?n:this.legendWidth-n-2*o-4,translateY:r},t[p(t.translateY)?"animate":"attr"](o,void 0,()=>{m(this,"afterPositionItem",{item:e})})),i&&(i.x=n,i.y=r)}destroyItem(e){const t=e.checkbox,n=e.legendItem||{};for(const e of["group","label","line","symbol"])n[e]&&(n[e]=n[e].destroy());t&&A(t),e.legendItem=void 0}destroy(){for(const e of this.getAllItems())this.destroyItem(e);for(const e of"clipRect up down pager nav box title group".split(" "))this[e]&&(this[e]=this[e].destroy());this.display=null}positionCheckboxes(){const e=this.group&&this.group.alignAttr,t=this.clipHeight||this.legendHeight,n=this.titleHeight;let r;e&&(r=e.translateY,this.allItems.forEach(function(i){const o=i.checkbox;let a;o&&(a=r+n+o.y+(this.scrollOffset||0)+3,f(o,{left:e.translateX+i.checkboxOffset+o.x-20+"px",top:a+"px",display:this.proximate||a>r-6&&a1.5*r?n.height:r))}layoutItem(e){var t=this.options;const n=this.padding,r="horizontal"===t.layout,i=e.itemHeight,o=this.itemMarginBottom,a=this.itemMarginTop,s=r?b(t.itemDistance,20):0,l=this.maxLegendWidth;t=t.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:e.itemWidth;const c=e.legendItem||{};r&&this.itemX-n+t>l&&(this.itemX=n,this.lastLineHeight&&(this.itemY+=a+this.lastLineHeight+o),this.lastLineHeight=0),this.lastItemY=a+this.itemY+o,this.lastLineHeight=Math.max(i,this.lastLineHeight),c.x=this.itemX,c.y=this.itemY,r?this.itemX+=t:(this.itemY+=a+i+o,this.lastLineHeight=i),this.offsetWidth=this.widthOption||Math.max((r?this.itemX-n-(e.checkbox?0:s):t)+n,this.offsetWidth)}getAllItems(){let e=[];return this.chart.series.forEach(function(t){const n=t&&t.options;t&&b(n.showInLegend,!p(n.linkedTo)&&void 0,!0)&&(e=e.concat((t.legendItem||{}).labels||("point"===n.legendType?t.data:t)))}),m(this,"afterGetAllItems",{allItems:e}),e}getAlignment(){const e=this.options;return this.proximate?e.align.charAt(0)+"tv":e.floating?"":e.align.charAt(0)+e.verticalAlign.charAt(0)+e.layout.charAt(0)}adjustMargins(e,t){const n=this.chart,r=this.options,i=this.getAlignment();i&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(o,a){o.test(i)&&!p(e[a])&&(n[c[a]]=Math.max(n[c[a]],n.legend[(a+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][a]*r[a%2?"x":"y"]+b(r.margin,12)+t[a]+(n.titleOffset[a]||0)))})}proximatePositions(){const e=this.chart,t=[],n="left"===this.options.align;let r;this.allItems.forEach(function(r){var i,o=n;let a;r.yAxis&&(r.xAxis.options.reversed&&(o=!o),r.points&&(i=g(o?r.points:r.points.slice(0).reverse(),function(e){return v(e.plotY)})),o=this.itemMarginTop+r.legendItem.label.getBBox().height+this.itemMarginBottom,a=r.yAxis.top-e.plotTop,r.visible?(i=i?i.plotY:r.yAxis.height,i+=a-.3*o):i=a+r.yAxis.height,t.push({target:i,size:o,item:r}))},this);for(const n of u(t,e.plotHeight))r=n.item.legendItem||{},v(n.pos)&&(r.y=e.plotTop-e.spacing[0]+n.pos)}render(){const e=this.chart,t=e.renderer,n=this.options,r=this.padding;var i=this.getAllItems();let o,a=this.group,s=this.box;this.itemX=r,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=_(n.width,e.spacingBox.width-r);var l=e.spacingBox.width-2*r-n.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(l/=2),this.maxLegendWidth=this.widthOption||l,a||(this.group=a=t.g("legend").addClass(n.className||"").attr({zIndex:7}).add(),this.contentGroup=t.g().attr({zIndex:1}).add(a),this.scrollGroup=t.g().add(this.contentGroup)),this.renderTitle(),w(i,(e,t)=>(e.options&&e.options.legendIndex||0)-(t.options&&t.options.legendIndex||0)),n.reversed&&i.reverse(),this.allItems=i,this.display=l=!!i.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,i.forEach(this.renderItem,this),i.forEach(this.layoutItem,this),i=(this.widthOption||this.offsetWidth)+r,o=this.lastItemY+this.lastLineHeight+this.titleHeight,o=this.handleOverflow(o),o+=r,s||(this.box=s=t.rect().addClass("highcharts-legend-box").attr({r:n.borderRadius}).add(a)),e.styledMode||s.attr({stroke:n.borderColor,"stroke-width":n.borderWidth||0,fill:n.backgroundColor||"none"}).shadow(n.shadow),0o&&!1!==c.enabled?(this.clipHeight=g=Math.max(o-20-this.titleHeight-s,0),this.currentPage=b(this.currentPage,1),this.fullHeight=e,f.forEach((e,t)=>{e=(v=e.legendItem||{}).y||0;const n=Math.round(v.label.getBBox().height);let r=d.length;(!r||e-d[r-1]>g&&(m||e)!==d[r-1])&&(d.push(m||e),r++),v.pageIx=r-1,m&&((f[t-1].legendItem||{}).pageIx=r-1),t===f.length-1&&e+n-d[r-1]>g&&e>d[r-1]&&(d.push(e),v.pageIx=r),e!==m&&(m=e)}),_||(_=t.clipRect=r.clipRect(0,s-2,9999,0),t.contentGroup.clip(_)),p(g),y||(this.nav=y=r.g().attr({zIndex:1}).add(this.group),this.up=r.symbol("triangle",0,0,h,h).add(y),A("upTracker").on("click",function(){t.scroll(-1,u)}),this.pager=r.text("",15,10).addClass("highcharts-legend-navigation"),!n.styledMode&&c.style&&this.pager.css(c.style),this.pager.add(y),this.down=r.symbol("triangle-down",0,0,h,h).add(y),A("downTracker").on("click",function(){t.scroll(1,u)})),t.scroll(0),e=o):y&&(p(),this.nav=y.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),e}scroll(e,t){const n=this.chart,r=this.pages,i=r.length,o=this.clipHeight,l=this.options.navigation,c=this.pager,u=this.padding;let h=this.currentPage+e;h>i&&(h=i),0{m(this,"afterScroll",{currentPage:h})},e.duration))}setItemEvents(e,t,n){const i=this,o=e.legendItem||{},a=i.chart.renderer.boxWrapper,s=e instanceof r,l="highcharts-legend-"+(s?"point":"series")+"-active",c=i.chart.styledMode;n=n?[t,o.symbol]:[o.group];const u=t=>{i.allItems.forEach(n=>{e!==n&&[n].concat(n.linkedSeries||[]).forEach(e=>{e.setState(t,!s)})})};for(const r of n)r&&r.on("mouseover",function(){e.visible&&u("inactive"),e.setState("hover"),e.visible&&a.addClass(l),c||t.css(i.options.itemHoverStyle)}).on("mouseout",function(){i.chart.styledMode||t.css(y(e.visible?i.itemStyle:i.itemHiddenStyle)),u(""),a.removeClass(l),e.setState()}).on("click",function(t){const n=function(){e.setVisible&&e.setVisible(),u(e.visible?"inactive":"")};a.removeClass(l),t={browserEvent:t},e.firePointEvent?e.firePointEvent("legendItemClick",t,n):m(e,"legendItemClick",t,n)})}createCheckboxForItem(e){e.checkbox=d("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:e.selected,defaultChecked:e.selected},this.options.itemCheckboxStyle,this.chart.container),h(e.checkbox,"click",function(t){m(e.series||e,"checkboxClick",{checked:t.target.checked,item:e},function(){e.select()})})}}return function(e){const t=[];e.compose=function(n){o.pushUnique(t,n)&&h(n,"beforeMargins",function(){this.legend=new e(this,this.options.legend)})}}(C||(C={})),C}),t(n,"Core/Legend/LegendSymbol.js",[n["Core/Utilities.js"]],function(e){const{extend:t,merge:n,pick:r}=e;var i;return function(e){e.lineMarker=function(e,i){i=this.legendItem=this.legendItem||{};var o=this.options;const a=e.symbolWidth,s=e.symbolHeight,l=s/2,c=this.chart.renderer,u=i.group;e=e.baseline-Math.round(.3*e.fontMetrics.b);let h={},d=o.marker,f=0;this.chart.styledMode||(h={"stroke-width":Math.min(o.lineWidth||0,24)},o.dashStyle?h.dashstyle=o.dashStyle:"square"!==o.linecap&&(h["stroke-linecap"]="round")),i.line=c.path().addClass("highcharts-graph").attr(h).add(u),h["stroke-linecap"]&&(f=Math.min(i.line.strokeWidth(),a)/2),a&&i.line.attr({d:[["M",f,e],["L",a-f,e]]}),d&&!1!==d.enabled&&a&&(o=Math.min(r(d.radius,l),l),0===this.symbol.indexOf("url")&&(d=n(d,{width:s,height:s}),o=0),i.symbol=i=c.symbol(this.symbol,a/2-o,e-o,2*o,2*o,t({context:"legend"},d)).addClass("highcharts-point").add(u),i.isMarker=!0)},e.rectangle=function(e,t){t=t.legendItem||{};const n=e.symbolHeight,i=e.options.squareSymbol;t.symbol=this.chart.renderer.rect(i?(e.symbolWidth-n)/2:0,e.baseline-n+1,i?n:e.symbolWidth,n,r(e.options.symbolRadius,n/2)).addClass("highcharts-point").attr({zIndex:3}).add(t.group)}}(i||(i={})),i}),t(n,"Core/Series/SeriesDefaults.js",[],function(){return{lineWidth:1,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},enableMouseTracking:!0,events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:150},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,formatter:function(){const{numberFormatter:e}=this.series.chart;return"number"!=typeof this.y?"":e(this.y,-1)},padding:5,style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}}),t(n,"Core/Series/SeriesRegistry.js",[n["Core/Globals.js"],n["Core/Defaults.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],function(e,t,n,r){const{defaultOptions:i}=t,{extendClass:o,merge:a}=r;var s;return function(t){function r(e,r){const o=i.plotOptions||{},a=r.defaultOptions,s=r.prototype;s.type=e,s.pointClass||(s.pointClass=n),a&&(o[e]=a),t.seriesTypes[e]=r}t.seriesTypes=e.seriesTypes,t.registerSeriesType=r,t.seriesType=function(e,s,l,c,u){const h=i.plotOptions||{};return s=s||"",h[e]=a(h[s],l),r(e,o(t.seriesTypes[s]||function(){},c)),t.seriesTypes[e].prototype.type=e,u&&(t.seriesTypes[e].prototype.pointClass=o(n,u)),t.seriesTypes[e]}}(s||(s={})),s}),t(n,"Core/Series/Series.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Defaults.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/Point.js"],n["Core/Series/SeriesDefaults.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],function(e,t,n,r,i,o,a,s,l,c){const{animObject:u,setAnimation:h}=e,{defaultOptions:d}=t,{registerEventOptions:f}=n,{hasTouch:p,svg:A,win:g}=r,{seriesTypes:m}=s,{arrayMax:v,arrayMin:y,clamp:b,correctFloat:_,defined:w,diffObjects:x,erase:C,error:S,extend:k,find:B,fireEvent:T,getClosestDistance:E,getNestedProperty:M,insertItem:D,isArray:O,isNumber:I,isString:L,merge:P,objectEach:F,pick:R,removeEvent:N,splat:j,syncTimeout:H}=c;class U{constructor(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}init(e,t){T(this,"init",{options:t});const n=this,r=e.series;this.eventsToUnbind=[],n.chart=e,n.options=n.setOptions(t),t=n.options,n.linkedSeries=[],n.bindAxes(),k(n,{name:t.name,state:"",visible:!1!==t.visible,selected:!0===t.selected}),f(this,t);const i=t.events;let o;(i&&i.click||t.point&&t.point.events&&t.point.events.click||t.allowPointSelect)&&(e.runTrackerClick=!0),n.getColor(),n.getSymbol(),n.parallelArrays.forEach(function(e){n[e+"Data"]||(n[e+"Data"]=[])}),n.isCartesian&&(e.hasCartesianSeries=!0),r.length&&(o=r[r.length-1]),n._i=R(o&&o._i,-1)+1,n.opacity=n.options.opacity,e.orderItems("series",D(this,r)),t.dataSorting&&t.dataSorting.enabled?n.setDataSortingOptions():n.points||n.data||n.setData(t.data,!1),T(this,"afterInit")}is(e){return m[e]&&this instanceof m[e]}bindAxes(){const e=this,t=e.options,n=e.chart;let r;T(this,"bindAxes",null,function(){(e.axisTypes||[]).forEach(function(i){n[i].forEach(function(n){r=n.options,(R(t[i],0)===n.index||void 0!==t[i]&&t[i]===r.id)&&(D(e,n.series),e[i]=n,n.isDirty=!0)}),e[i]||e.optionalAxis===i||S(18,!0,n)})}),T(this,"afterBindAxes")}updateParallelArrays(e,t,n){const r=e.series,i=I(t)?function(n){const i="y"===n&&r.toYData?r.toYData(e):e[n];r[n+"Data"][t]=i}:function(e){Array.prototype[t].apply(r[e+"Data"],n)};r.parallelArrays.forEach(i)}hasData(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0!t.touched&&t.index===e.index),s&&s.matchByName?a=(t=>!t.touched&&t.name===e.name):this.options.relativeXValue&&(a=(t=>!t.touched&&t.options.x===e.x)),!(a=B(i,a))))return;return a&&(void 0!==(c=a&&a.index)&&(l=!0)),void 0===c&&I(r)&&(c=this.xData.indexOf(r,t)),-1!==c&&void 0!==c&&this.cropped&&(c=c>=this.cropStart?c-this.cropStart:c),!l&&I(c)&&i[c]&&i[c].touched&&(c=void 0),c}updateData(e,t){const n=this.options,r=n.dataSorting,i=this.points,o=[],a=this.requireSorting,s=e.length===i.length;let l,c,u,h=!0;if(this.xIncrement=null,e.forEach(function(e,t){var c=w(e)&&this.pointClass.prototype.optionsToObject.call({series:this},e)||{};const h=c.x;c.id||I(h)?(-1===(c=this.findPointIndex(c,u))||void 0===c?o.push(e):i[c]&&e!==n.data[c]?(i[c].update(e,!1,null,!1),i[c].touched=!0,a&&(u=c+1)):i[c]&&(i[c].touched=!0),(!s||t!==c||r&&r.enabled||this.hasDerivedData)&&(l=!0)):o.push(e)},this),l)for(e=i.length;e--;)(c=i[e])&&!c.touched&&c.remove&&c.remove(!1,t);else!s||r&&r.enabled?h=!1:(e.forEach(function(e,t){e===i[t].y||i[t].destroyed||i[t].update(e,!1,null,!1)}),o.length=0);return i.forEach(function(e){e&&(e.touched=!1)}),!!h&&(o.forEach(function(e){this.addPoint(e,!1,null,null,!1)},this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=v(this.xData),this.autoIncrement()),!0)}setData(e,t=!0,n,r){var i;const o=this,a=o.points,s=a&&a.length||0,l=o.options,c=o.chart,u=l.dataSorting,h=o.xAxis,d=l.turboThreshold,f=this.xData,p=this.yData;var A=o.pointArrayMap;A=A&&A.length;const g=l.keys;let m,v=0,y=1,b=null;if(!c.options.chart.allowMutatingData){l.data&&delete o.options.data,o.userOptions.data&&delete o.userOptions.data;var _=P(!0,e)}if(_=(e=_||e||[]).length,u&&u.enabled&&(e=this.sortData(e)),c.options.chart.allowMutatingData&&!1!==r&&_&&s&&!o.cropped&&!o.hasGroupedData&&o.visible&&!o.boosted&&(m=this.updateData(e,n)),!m){if(o.xIncrement=null,o.colorCounter=0,this.parallelArrays.forEach(function(e){o[e+"Data"].length=0}),d&&_>d)if(b=o.getFirstValidPoint(e),I(b))for(n=0;n<_;n++)f[n]=this.autoIncrement(),p[n]=e[n];else if(O(b))if(A)if(b.length===A)for(n=0;n<_;n++)f[n]=this.autoIncrement(),p[n]=e[n];else for(n=0;n<_;n++)r=e[n],f[n]=r[0],p[n]=r.slice(1,A+1);else if(g&&(v=g.indexOf("x"),y=g.indexOf("y"),v=0<=v?v:0,y=0<=y?y:1),1===b.length&&(y=0),v===y)for(n=0;n<_;n++)f[n]=this.autoIncrement(),p[n]=e[n][y];else for(n=0;n<_;n++)r=e[n],f[n]=r[v],p[n]=r[y];else S(12,!1,c);else for(n=0;n<_;n++)r={series:o},o.pointClass.prototype.applyOptions.apply(r,[e[n]]),o.updateParallelArrays(r,n);for(p&&L(p[0])&&S(14,!0,c),o.data=[],o.options.data=o.userOptions.data=e,n=s;n--;)null===(i=a[n])||void 0===i||i.destroy();h&&(h.minRange=h.userMinRange),o.isDirty=c.isDirtyBox=!0,o.isDirtyData=!!a,n=!1}"point"===l.legendType&&(this.processData(),this.generatePoints()),t&&c.redraw(n)}sortData(e){const t=this,n=t.options.dataSorting.sortKey||"y",r=function(e,t){return w(t)&&e.pointClass.prototype.optionsToObject.call({series:e},t)||{}};return e.forEach(function(n,i){e[i]=r(t,n),e[i].index=i},this),e.concat().sort((e,t)=>(e=M(n,e),(t=M(n,t))e?1:0)).forEach(function(e,t){e.x=t},this),t.linkedSeries&&t.linkedSeries.forEach(function(t){const n=t.options,i=n.data;n.dataSorting&&n.dataSorting.enabled||!i||(i.forEach(function(n,o){i[o]=r(t,n),e[o]&&(i[o].x=e[o].x,i[o].index=o)}),t.setData(i,!1))}),e}getProcessedData(e){const t=this;var n=t.xAxis,r=t.options;const i=r.cropThreshold,o=e||t.getExtremesFromAll||r.getExtremesFromAll,a=null===n||void 0===n?void 0:n.logarithmic,s=t.isCartesian;let l,c=0;e=t.xData,r=t.yData;let u=!1;const h=e.length;if(n){var d=n.getExtremes();l=d.min,d=d.max,u=!(!n.categories||n.names.length)}if(s&&t.sorted&&!o&&(!i||h>i||t.forceCrop))if(e[h-1]d)e=[],r=[];else if(t.yData&&(e[0]d)){var f=this.cropData(t.xData,t.yData,l,d);e=f.xData,r=f.yData,c=f.start,f=!0}return{xData:e,yData:r,cropped:f,cropStart:c,closestPointRange:n=E([a?e.map(a.log2lin):e],()=>t.requireSorting&&!u&&S(15,!1,t.chart))}}processData(e){const t=this.xAxis;if(this.isCartesian&&!this.isDirty&&!t.isDirty&&!this.yAxis.isDirty&&!e)return!1;e=this.getProcessedData(),this.cropped=e.cropped,this.cropStart=e.cropStart,this.processedXData=e.xData,this.processedYData=e.yData,this.closestPointRange=this.basePointRange=e.closestPointRange,T(this,"afterProcessData")}cropData(e,t,n,r,i){const o=e.length;let a,s=0,l=o;for(i=R(i,this.cropShoulder),a=0;a=n){s=Math.max(0,a-i);break}for(n=a;nr){l=n+i;break}return{xData:e.slice(s,l),yData:t.slice(s,l),start:s,end:l}}generatePoints(){var e=this.options;const t=this.processedData||e.data,n=this.processedXData,r=this.processedYData,i=this.pointClass,o=n.length,a=this.cropStart||0,s=this.hasGroupedData,l=e.keys,c=[];let u;e=e.dataGrouping&&e.dataGrouping.groupAll?a:0;let h,d,f=this.data;if(!f&&!s){var p=[];p.length=t.length,f=this.data=p}for(l&&s&&(this.options.keys=!1),d=0;d=l&&(i[s-a]||f)<=c,p&&f)if(p=d.length)for(;p--;)I(d[p])&&(o[u++]=d[p]);else o[u++]=d}return e={activeYData:o,dataMin:y(o),dataMax:v(o)},T(this,"afterGetExtremes",{dataExtremes:e}),e}applyExtremes(){const e=this.getExtremes();return this.dataMin=e.dataMin,this.dataMax=e.dataMax,e}getFirstValidPoint(e){const t=e.length;let n=0,r=null;for(;null===r&&n=C&&(C=void 0),l.total=l.stackTotal=R(v.total),l.percentage=w(l.y)&&v.total?l.y/v.total*100:void 0,l.stackY=x,this.irregularWidths||v.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),l.yBottom=w(C)?b(a.translate(C,!1,!0,!1,!0),-1e5,1e5):void 0,this.dataModify&&(x=this.dataModify.modifyValue(x,d)),I(x)&&void 0!==l.plotX&&(k=a.translate(x,!1,!0,!1,!0),k=I(k)?b(k,-1e5,1e5):void 0),l.plotY=k,l.isInside=this.isPointInside(l),l.clientX=u?_(r.translate(m,!1,!1,!1,!0,c)):f,l.negative=(l.y||0)<(h||0),l.category=R(i&&i[l.x],l.x),l.isNull||!1===l.visible||(void 0!==p&&(g=Math.min(g,Math.abs(f-p))),p=f),l.zone=this.zones.length?l.getZone():void 0,!l.graphic&&this.group&&o&&(l.isNew=!0)}this.closestPointRangePx=g,T(this,"afterTranslate")}getValidPoints(e,t,n){const r=this.chart;return(e||this.points||[]).filter(function(e){const{plotX:i,plotY:o}=e;return!(!(n||!e.isNull&&I(o))||t&&!r.isInsidePlot(i,o,{inverted:r.inverted}))&&!1!==e.visible})}getClipBox(){const{chart:e,xAxis:t,yAxis:n}=this,r=P(e.clipBox);return t&&t.len!==e.plotSizeX&&(r.width=t.len),n&&n.len!==e.plotSizeY&&(r.height=n.len),r}getSharedClipKey(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)}setClip(){const{chart:e,group:t,markerGroup:n}=this,r=e.sharedClips,i=e.renderer,o=this.getClipBox(),a=this.getSharedClipKey();let s=r[a];s?s.animate(o):r[a]=s=i.clipRect(o),t&&t.clip(!1===this.options.clip?void 0:s),n&&n.clip()}animate(e){const{chart:t,group:n,markerGroup:r}=this,i=t.inverted;var o=u(this.options.animation),a=[this.getSharedClipKey(),o.duration,o.easing,o.defer].join();let s=t.sharedClips[a],l=t.sharedClips[a+"m"];if(e&&n)o=this.getClipBox(),s?s.attr("height",o.height):(o.width=0,i&&(o.x=t.plotHeight),s=t.renderer.clipRect(o),t.sharedClips[a]=s,l=t.renderer.clipRect({x:-99,y:-99,width:i?t.plotWidth+199:99,height:i?99:t.plotHeight+199}),t.sharedClips[a+"m"]=l),n.clip(s),r&&r.clip(l);else if(s&&!s.hasClass("highcharts-animating")){a=this.getClipBox();const e=o.step;r&&r.element.childNodes.length&&(o.step=function(t,n){e&&e.apply(n,arguments),"width"===n.prop&&l&&l.element&&l.attr(i?"height":"width",t+99)}),s.addClass("highcharts-animating").animate(a,o)}}afterAnimate(){this.setClip(),F(this.chart.sharedClips,(e,t,n)=>{e&&!this.chart.container.querySelector(`[clip-path="url(#${e.id})"]`)&&(e.destroy(),delete n[t])}),this.finishedAnimating=!0,T(this,"afterAnimate")}drawPoints(e=this.points){const t=this.chart,n=t.styledMode,{colorAxis:r,options:i}=this,o=i.marker,a=this[this.specialGroup||"markerGroup"],s=this.xAxis,l=R(o.enabled,!(s&&!s.isRadial)||null,this.closestPointRangePx>=o.enabledThreshold*o.radius);let c,u,h,d,f,p;if(!1!==o.enabled||this._hasPointMarkers)for(c=0;ce.destroy()),c.clearTimeout(t.animationTimeout),F(t,function(e,t){e instanceof l&&!e.survive&&e[o=r&&"group"===t?"hide":"destroy"]()}),n.hoverSeries===t&&(n.hoverSeries=void 0),C(n.series,t),n.orderItems("series"),F(t,function(n,r){e&&"hcEvents"===r||delete t[r]})}applyZones(){const e=this,t=this.chart,n=t.renderer,r=this.zones,i=this.clips||[],o=this.graph,a=this.area,s=Math.max(t.plotWidth,t.plotHeight),l=this[(this.zoneAxis||"y")+"Axis"],c=t.inverted;let u,h,d,f,p,A,g,m,v,y,_,w=!1;r.length&&(o||a)&&l&&void 0!==l.min?(p=l.reversed,A=l.horiz,o&&!this.showLine&&o.hide(),a&&a.hide(),f=l.getExtremes(),r.forEach(function(r,x){u=p?A?t.plotWidth:0:A?0:l.toPixels(f.min)||0,u=b(R(h,u),0,s),h=b(Math.round(l.toPixels(R(r.value,f.max),!0)||0),0,s),w&&(u=h=l.toPixels(f.max)),g=Math.abs(u-h),m=Math.min(u,h),v=Math.max(u,h),l.isXAxis?(d={x:c?v:m,y:0,width:g,height:s},A||(d.x=t.plotHeight-d.x)):(d={x:0,y:c?v:m,width:s,height:g},A&&(d.y=t.plotWidth-d.y)),i[x]?i[x].animate(d):i[x]=n.clipRect(d),y=e["zone-area-"+x],_=e["zone-graph-"+x],o&&_&&_.clip(i[x]),a&&y&&y.clip(i[x]),w=r.value>f.max,e.resetZones&&0===h&&(h=void 0)}),this.clips=i):e.visible&&(o&&o.show(),a&&a.show())}plotGroup(e,t,n,r,i){let o=this[e];const a=!o;return n={visibility:n,zIndex:r||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(n.opacity=this.opacity),a&&(this[e]=o=this.chart.renderer.g().add(i)),o.addClass("highcharts-"+t+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(w(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr(n)[a?"attr":"animate"](this.getPlotBox(t)),o}getPlotBox(e){let t=this.xAxis,n=this.yAxis;const r=this.chart;return e=r.inverted&&!r.polar&&t&&!1!==this.invertible&&"series"===e,r.inverted&&(t=n,n=this.xAxis),{translateX:t?t.left:r.plotLeft,translateY:n?n.top:r.plotTop,rotation:e?90:0,rotationOriginX:e?(t.len-n.len)/2:0,rotationOriginY:e?(t.len+n.len)/2:0,scaleX:e?-1:1,scaleY:1}}removeEvents(e){e||N(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(e){e()}),this.eventsToUnbind.length=0)}render(){const e=this;var t=e.chart;const n=e.options,r=u(n.animation),i=e.visible?"inherit":"hidden",o=n.zIndex,a=e.hasRendered;t=t.seriesGroup;let s=e.finishedAnimating?0:r.duration;T(this,"render"),e.plotGroup("group","series",i,o,t),e.markerGroup=e.plotGroup("markerGroup","markers",i,o,t),!1!==n.clip&&e.setClip(),e.animate&&s&&e.animate(!0),e.drawGraph&&(e.drawGraph(),e.applyZones()),e.visible&&e.drawPoints(),e.drawDataLabels&&e.drawDataLabels(),e.redrawPoints&&e.redrawPoints(),e.drawTracker&&n.enableMouseTracking&&e.drawTracker(),e.animate&&s&&e.animate(),a||(s&&r.defer&&(s+=r.defer),e.animationTimeout=H(function(){e.afterAnimate()},s||0)),e.isDirty=!1,e.hasRendered=!0,T(e,"afterRender")}redraw(){const e=this.isDirty||this.isDirtyData;this.translate(),this.render(),e&&delete this.kdTree}searchPoint(e,t){const n=this.xAxis,r=this.yAxis,i=this.chart.inverted;return this.searchKDTree({clientX:i?n.len-e.chartY+n.pos:e.chartX-n.pos,plotY:i?r.len-e.chartX+r.pos:e.chartY-r.pos},t,e)}buildKDTree(e){this.buildingKdTree=!0;const t=this,n=-1(u=t[u]-c[u])?"left":"right",d=0>u?"right":"left",n[f]&&(h=(f=e(t,n[f],s+1,l))[a]p;)d--;this.updateParallelArrays(f,"splice",[d,0,0]),this.updateParallelArrays(f,d),l&&f.name&&(l[p]=f.name),c.splice(d,0,e),(h||this.processedData)&&(this.data.splice(d,0,null),this.processData()),"point"===o.legendType&&this.generatePoints(),n&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(f,"shift"),c.shift())),!1!==i&&T(this,"addPoint",{point:f}),this.isDirtyData=this.isDirty=!0,t&&s.redraw(r)}removePoint(e,t,n){const r=this,i=r.data,o=i[e],a=r.points,s=r.chart,l=function(){a&&a.length===i.length&&a.splice(e,1),i.splice(e,1),r.options.data.splice(e,1),r.updateParallelArrays(o||{series:r},"splice",[e,1]),o&&o.destroy(),r.isDirty=!0,r.isDirtyData=!0,t&&s.redraw()};h(n,s),t=R(t,!0),o?o.firePointEvent("remove",null,l):l()}remove(e,t,n,r){function i(){o.destroy(r),a.isDirtyLegend=a.isDirtyBox=!0,a.linkSeries(r),R(e,!0)&&a.redraw(t)}const o=this,a=o.chart;!1!==n?T(o,"remove",null,i):i()}update(e,t){e=x(e,this.userOptions),T(this,"update",{options:e});const n=this,r=n.chart;var i=n.userOptions;const o=n.initialType||n.type;var a=r.options.plotOptions;const s=m[o].prototype;var l=n.finishedAnimating&&{animation:!1};const c={};let u,h=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],d=e.type||i.type||r.options.chart.type;const f=!(this.hasDerivedData||d&&d!==this.type||void 0!==e.pointStart||void 0!==e.pointInterval||void 0!==e.relativeXValue||e.joinBy||e.mapData||n.hasOptionChanged("dataGrouping")||n.hasOptionChanged("pointStart")||n.hasOptionChanged("pointInterval")||n.hasOptionChanged("pointIntervalUnit")||n.hasOptionChanged("keys"));if(d=d||o,f&&(h.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==e.visible&&h.push("area","graph"),n.parallelArrays.forEach(function(e){h.push(e+"Data")}),e.data&&(e.dataSorting&&k(n.options.dataSorting,e.dataSorting),this.setData(e.data,!1))),e=P(i,l,{index:void 0===i.index?n.index:i.index,pointStart:R(a&&a.series&&a.series.pointStart,i.pointStart,n.xData[0])},!f&&{data:n.options.data},e),f&&e.data&&(e.data=n.options.data),(h=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(h)).forEach(function(e){h[e]=n[e],delete n[e]}),a=!1,m[d]){if(a=d!==n.type,n.remove(!1,!1,!1,!0),a)if(Object.setPrototypeOf)Object.setPrototypeOf(n,m[d].prototype);else{for(u in l=Object.hasOwnProperty.call(n,"hcEvents")&&n.hcEvents,s)n[u]=void 0;k(n,m[d].prototype),l?n.hcEvents=l:delete n.hcEvents}}else S(17,!0,r,{missingModuleFor:d});if(h.forEach(function(e){n[e]=h[e]}),n.init(r,e),f&&this.points){if(!1===(e=n.options).visible)c.graphic=1,c.dataLabel=1;else if(!n._hasPointLabels){const{marker:t,dataLabels:n}=e;i=i.marker||{},!t||!1!==t.enabled&&i.symbol===t.symbol&&i.height===t.height&&i.width===t.width||(c.graphic=1),n&&!1===n.enabled&&(c.dataLabel=1)}for(const t of this.points)t&&t.series&&(t.resolveColor(),Object.keys(c).length&&t.destroyElements(c),!1===e.showInLegend&&t.legendItem&&r.legend.destroyItem(t))}n.initialType=o,r.linkSeries(),a&&n.linkedSeries.length&&(n.isDirtyData=!0),T(this,"afterUpdate"),R(t,!0)&&r.redraw(!!f&&void 0)}setName(e){this.name=this.options.name=this.userOptions.name=e,this.chart.isDirtyLegend=!0}hasOptionChanged(e){const t=this.options[e],n=this.chart.options.plotOptions,r=this.userOptions[e];return r?t!==r:t!==R(n&&n[this.type]&&n[this.type][e],n&&n.series&&n.series[e],t)}onMouseOver(){const e=this.chart,t=e.hoverSeries;e.pointer.setHoverChartIndex(),t&&t!==this&&t.onMouseOut(),this.options.events.mouseOver&&T(this,"mouseOver"),this.setState("hover"),e.hoverSeries=this}onMouseOut(){const e=this.options,t=this.chart,n=t.tooltip,r=t.hoverPoint;t.hoverSeries=null,r&&r.onMouseOut(),this&&e.events.mouseOut&&T(this,"mouseOut"),!n||this.stickyTracking||n.shared&&!this.noSharedTooltip||n.hide(),t.series.forEach(function(e){e.setState("",!0)})}setState(e,t){const n=this;var r=n.options;const i=n.graph,o=r.inactiveOtherPoints,a=r.states,s=R(a[e||"normal"]&&a[e||"normal"].animation,n.chart.options.chart.animation);let l=r.lineWidth,c=0,u=r.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(a[e]&&!1===a[e].enabled)return;if(e&&(l=a[e].lineWidth||l+(a[e].lineWidthPlus||0),u=R(a[e].opacity,u)),i&&!i.dashstyle&&I(l))for(r={"stroke-width":l},i.animate(r,s);n["zone-graph-"+c];)n["zone-graph-"+c].animate(r,s),c+=1;o||[n.group,n.markerGroup,n.dataLabelsGroup,n.labelBySeries].forEach(function(e){e&&e.animate({opacity:u},s)})}t&&o&&n.points&&n.setAllPointsToState(e||void 0)}setAllPointsToState(e){this.points.forEach(function(t){t.setState&&t.setState(e)})}setVisible(e,t){const n=this,r=n.chart,i=r.options.chart.ignoreHiddenSeries,o=n.visible,a=(n.visible=e=n.options.visible=n.userOptions.visible=void 0===e?!o:e)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(e){n[e]&&n[e][a]()}),r.hoverSeries!==n&&(r.hoverPoint&&r.hoverPoint.series)!==n||n.onMouseOut(),n.legendItem&&r.legend.colorizeItem(n,e),n.isDirty=!0,n.options.stacking&&r.series.forEach(function(e){e.options.stacking&&e.visible&&(e.isDirty=!0)}),n.linkedSeries.forEach(function(t){t.setVisible(e,!1)}),i&&(r.isDirtyBox=!0),T(n,a),!1!==t&&r.redraw()}show(){this.setVisible(!0)}hide(){this.setVisible(!1)}select(e){this.selected=e=this.options.selected=void 0===e?!this.selected:e,this.checkbox&&(this.checkbox.checked=e),T(this,e?"select":"unselect")}shouldShowTooltip(e,t,n={}){return n.series=this,n.visiblePlotOnly=!0,this.chart.isInsidePlot(e,t,n)}drawLegendSymbol(e,t){var n;null===(n=i[this.options.legendSymbol||"rectangle"])||void 0===n||n.call(this,e,t)}}return U.defaultOptions=a,U.types=s.seriesTypes,U.registerType=s.registerSeriesType,k(U.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:o,requireSorting:!0,sorted:!0}),s.series=U,U}),t(n,"Core/Chart/Chart.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Defaults.js"],n["Core/Templating.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Time.js"],n["Core/Utilities.js"],n["Core/Renderer/HTML/AST.js"]],function(e,t,n,r,i,o,a,s,l,c,u,h,d){const{animate:f,animObject:p,setAnimation:A}=e,{defaultOptions:g,defaultTime:m}=n,{numberFormat:v}=r,{registerEventOptions:y}=i,{charts:b,doc:_,marginNames:w,svg:x,win:C}=o,{seriesTypes:S}=l,{addEvent:k,attr:B,createElement:T,css:E,defined:M,diffObjects:D,discardElement:O,erase:I,error:L,extend:P,find:F,fireEvent:R,getStyle:N,isArray:j,isNumber:H,isObject:U,isString:Q,merge:z,objectEach:Y,pick:V,pInt:W,relativeLength:G,removeEvent:X,splat:Z,syncTimeout:$,uniqueKey:K}=h;class J{static chart(e,t,n){return new J(e,t,n)}constructor(e,t,n){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.labelCollectors=this.isResizing=this.index=this.eventOptions=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0,this.sharedClips={},this.zooming=this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0,this.getArgs(e,t,n)}getArgs(e,t,n){Q(e)||e.nodeName?(this.renderTo=e,this.init(t,n)):this.init(e,t)}setZoomOptions(){const e=this.options.chart,t=e.zooming;this.zooming=Object.assign(Object.assign({},t),{type:V(e.zoomType,t.type),key:V(e.zoomKey,t.key),pinchType:V(e.pinchType,t.pinchType),singleTouch:V(e.zoomBySingleTouch,t.singleTouch,!1),resetButton:z(t.resetButton,e.resetZoomButton)})}init(e,t){R(this,"init",{args:arguments},function(){const n=z(g,e),r=n.chart;this.userOptions=P({},e),this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=t,this.isResizing=0,this.options=n,this.axes=[],this.series=[],this.time=e.time&&Object.keys(e.time).length?new u(e.time):o.time,this.numberFormatter=r.numberFormatter||v,this.styledMode=r.styledMode,this.hasCartesianSeries=r.showAxes,this.index=b.length,b.push(this),o.chartCount++,y(this,r),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),R(this,"afterInit"),this.firstRender()})}initSeries(e){var t=this.options.chart;t=e.type||t.type;const n=S[t];return n||L(17,!0,this,{missingModuleFor:t}),"function"==typeof(t=new n).init&&t.init(this,e),t}setSeriesData(){this.getSeriesOrderByLinks().forEach(function(e){e.points||e.data||!e.enabledDataSorting||e.setData(e.options.data,!1)})}getSeriesOrderByLinks(){return this.series.concat().sort(function(e,t){return e.linkedSeries.length||t.linkedSeries.length?t.linkedSeries.length-e.linkedSeries.length:0})}orderItems(e,t=0){const n=this[e],r=this.options[e]=Z(this.options[e]).slice();if(e=this.userOptions[e]=this.userOptions[e]?Z(this.userOptions[e]).slice():[],this.hasRendered&&(r.splice(t),e.splice(t)),n)for(let i=t,o=n.length;i=Math.max(l+o,t.pos)&&d<=Math.min(l+o+h.width,t.pos+t.len)||(e.isInsidePlot=!1)}return!n.ignoreY&&e.isInsidePlot&&(l=!r&&n.axis&&!n.axis.isXAxis&&n.axis||u&&(r?u.xAxis:u.yAxis)||{pos:a,len:1/0},(n=n.paneCoordinates?l.pos+t:a+t)>=Math.max(c+a,l.pos)&&n<=Math.min(c+a+h.height,l.pos+l.len)||(e.isInsidePlot=!1)),R(this,"afterIsInsidePlot",e),e.isInsidePlot}redraw(e){R(this,"beforeRedraw");const t=this.hasCartesianSeries?this.axes:this.colorAxis||[],n=this.series,r=this.pointer,i=this.legend,o=this.userOptions.legend,a=this.renderer,s=a.isHidden(),l=[];let c,u,h,d=this.isDirtyBox,f=this.isDirtyLegend;for(a.rootFontSize=a.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(!1),A(!!this.hasRendered&&e,this),s&&this.temporaryDisplay(),this.layOutTitles(!1),e=n.length;e--;)if(((h=n[e]).options.stacking||h.options.centerInCategory)&&(u=!0,h.isDirty)){c=!0;break}if(c)for(e=n.length;e--;)(h=n[e]).options.stacking&&(h.isDirty=!0);n.forEach(function(e){e.isDirty&&("point"===e.options.legendType?("function"==typeof e.updateTotals&&e.updateTotals(),f=!0):o&&(o.labelFormatter||o.labelFormat)&&(f=!0)),e.isDirtyData&&R(e,"updatedData")}),f&&i&&i.options.enabled&&(i.render(),this.isDirtyLegend=!1),u&&this.getStacks(),t.forEach(function(e){e.updateNames(),e.setScale()}),this.getMargins(),t.forEach(function(e){e.isDirty&&(d=!0)}),t.forEach(function(e){const t=e.min+","+e.max;e.extKey!==t&&(e.extKey=t,l.push(function(){R(e,"afterSetExtremes",P(e.eventArgs,e.getExtremes())),delete e.eventArgs})),(d||u)&&e.redraw()}),d&&this.drawChartBox(),R(this,"predraw"),n.forEach(function(e){(d||e.isDirty)&&e.visible&&e.redraw(),e.isDirtyData=!1}),r&&r.reset(!0),a.draw(),R(this,"redraw"),R(this,"render"),s&&this.temporaryDisplay(!0),l.forEach(function(e){e.call()})}get(e){function t(t){return t.id===e||t.options&&t.options.id===e}const n=this.series;let r=F(this.axes,t)||F(this.series,t);for(let e=0;!r&&e(t.getPointsCollection().forEach(t=>{V(t.selectedStaging,t.selected)&&e.push(t)}),e),[])}getSelectedSeries(){return this.series.filter(function(e){return e.selected})}setTitle(e,t,n){this.applyDescription("title",e),this.applyDescription("subtitle",t),this.applyDescription("caption",void 0),this.layOutTitles(n)}applyDescription(e,t){const n=this,r=this.options[e]=z(this.options[e],t);let i=this[e];i&&t&&(this[e]=i=i.destroy()),r&&!i&&((i=this.renderer.text(r.text,0,0,r.useHTML).attr({align:r.align,class:"highcharts-"+e,zIndex:r.zIndex||4}).add()).update=function(t,r){n.applyDescription(e,t),n.layOutTitles(r)},this.styledMode||i.css(P("title"===e?{fontSize:this.options.isStock?"1em":"1.2em"}:{},r.style)),this[e]=i)}layOutTitles(e=!0){const t=[0,0,0],n=this.renderer,r=this.spacingBox;["title","subtitle","caption"].forEach(function(e){const i=this[e],o=this.options[e],a=o.verticalAlign||"top";if(e="title"===e?"top"===a?-3:0:"top"===a?t[0]+2:0,i){i.css({width:(o.width||r.width+(o.widthAdjust||0))+"px"});const s=n.fontMetrics(i).b,l=Math.round(i.getBBox(o.useHTML).height);i.align(P({y:"bottom"===a?s:e+s,height:l},o),!1,"spacingBox"),o.floating||("top"===a?t[0]=Math.ceil(t[0]+l):"bottom"===a&&(t[2]=Math.ceil(t[2]+l)))}},this),t[0]&&"top"===(this.options.title.verticalAlign||"top")&&(t[0]+=this.options.title.margin),t[2]&&"bottom"===this.options.caption.verticalAlign&&(t[2]+=this.options.caption.margin);const i=!this.titleOffset||this.titleOffset.join(",")!==t.join(",");this.titleOffset=t,R(this,"afterLayOutTitles"),!this.isDirtyBox&&i&&(this.isDirtyBox=this.isDirtyLegend=i,this.hasRendered&&e&&this.isDirtyBox&&this.redraw())}getContainerBox(){return{width:N(this.renderTo,"width",!0)||0,height:N(this.renderTo,"height",!0)||0}}getChartSize(){var e=this.options.chart;const t=e.width;e=e.height;const n=this.getContainerBox();this.chartWidth=Math.max(0,t||n.width||600),this.chartHeight=Math.max(0,G(e,this.chartWidth)||(1{var n;null!==(n=e.options)&&void 0!==n&&n.chart.reflow&&e.hasLoaded&&e.reflow(t)};"function"==typeof ResizeObserver?new ResizeObserver(t).observe(e.renderTo):(t=k(C,"resize",t),k(this,"destroy",t))}setSize(e,t,n){const r=this,i=r.renderer;r.isResizing+=1,A(n,r),n=i.globalAnimation,r.oldChartHeight=r.chartHeight,r.oldChartWidth=r.chartWidth,void 0!==e&&(r.options.chart.width=e),void 0!==t&&(r.options.chart.height=t),r.getChartSize(),r.styledMode||(n?f:E)(r.container,{width:r.chartWidth+"px",height:r.chartHeight+"px"},n),r.setChartSize(!0),i.setSize(r.chartWidth,r.chartHeight,n),r.axes.forEach(function(e){e.isDirty=!0,e.setScale()}),r.isDirtyLegend=!0,r.isDirtyBox=!0,r.layOutTitles(),r.getMargins(),r.redraw(n),r.oldChartHeight=null,R(r,"resize"),$(function(){r&&R(r,"endResize",null,function(){--r.isResizing})},p(n).duration)}setChartSize(e){var t=this.inverted;const n=this.renderer;var r=this.chartWidth,i=this.chartHeight;const o=this.options.chart,a=this.spacing,s=this.clipOffset;let l,c,u,h;this.plotLeft=l=Math.round(this.plotLeft),this.plotTop=c=Math.round(this.plotTop),this.plotWidth=u=Math.max(0,Math.round(r-l-this.marginRight)),this.plotHeight=h=Math.max(0,Math.round(i-c-this.marginBottom)),this.plotSizeX=t?h:u,this.plotSizeY=t?u:h,this.plotBorderWidth=o.plotBorderWidth||0,this.spacingBox=n.spacingBox={x:a[3],y:a[0],width:r-a[3]-a[1],height:i-a[0]-a[2]},this.plotBox=n.plotBox={x:l,y:c,width:u,height:h},t=2*Math.floor(this.plotBorderWidth/2),r=Math.ceil(Math.max(t,s[3])/2),i=Math.ceil(Math.max(t,s[0])/2),this.clipBox={x:r,y:i,width:Math.floor(this.plotSizeX-Math.max(t,s[1])/2-r),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(t,s[2])/2-i))},e||(this.axes.forEach(function(e){e.setAxisSize(),e.setAxisTranslation()}),n.alignElements()),R(this,"afterSetChartSize",{skipAxes:e})}resetMargins(){R(this,"resetMargins");const e=this,t=e.options.chart;["margin","spacing"].forEach(function(n){const r=t[n],i=U(r)?r:[r,r,r,r];["Top","Right","Bottom","Left"].forEach(function(r,o){e[n][o]=V(t[n+r],i[o])})}),w.forEach(function(t,n){e[t]=V(e.margin[n],e.spacing[n])}),e.axisOffset=[0,0,0,0],e.clipOffset=[0,0,0,0]}drawChartBox(){const e=this.options.chart,t=this.renderer,n=this.chartWidth,r=this.chartHeight,i=this.styledMode,o=this.plotBGImage;var a=e.backgroundColor;const s=e.plotBackgroundColor,l=e.plotBackgroundImage,c=this.plotLeft,u=this.plotTop,h=this.plotWidth,d=this.plotHeight,f=this.plotBox,p=this.clipRect,A=this.clipBox;let g,m,v=this.chartBackground,y=this.plotBackground,b=this.plotBorder,_="animate";v||(this.chartBackground=v=t.rect().addClass("highcharts-background").add(),_="attr"),i?g=m=v.strokeWidth():(m=(g=e.borderWidth||0)+(e.shadow?8:0),a={fill:a||"none"},(g||v["stroke-width"])&&(a.stroke=e.borderColor,a["stroke-width"]=g),v.attr(a).shadow(e.shadow)),v[_]({x:m/2,y:m/2,width:n-m-g%2,height:r-m-g%2,r:e.borderRadius}),_="animate",y||(_="attr",this.plotBackground=y=t.rect().addClass("highcharts-plot-background").add()),y[_](f),i||(y.attr({fill:s||"none"}).shadow(e.plotShadow),l&&(o?(l!==o.attr("href")&&o.attr("href",l),o.animate(f)):this.plotBGImage=t.image(l,c,u,h,d).add())),p?p.animate({width:A.width,height:A.height}):this.clipRect=t.clipRect(A),_="animate",b||(_="attr",this.plotBorder=b=t.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),i||b.attr({stroke:e.plotBorderColor,"stroke-width":e.plotBorderWidth||0,fill:"none"}),b[_](b.crisp({x:c,y:u,width:h,height:d},-b.strokeWidth())),this.isDirtyBox=!1,R(this,"afterDrawChartBox")}propFromSeries(){const e=this,t=e.options.chart,n=e.options.series;let r,i,o;["inverted","angular","polar"].forEach(function(a){for(i=S[t.type],o=t[a]||i&&i.prototype[a],r=n&&n.length;!o&&r--;)(i=S[n[r].type])&&i.prototype[a]&&(o=!0);e[a]=o})}linkSeries(e){const t=this,n=t.series;n.forEach(function(e){e.linkedSeries.length=0}),n.forEach(function(e){let n=e.options.linkedTo;Q(n)&&(n=":previous"===n?t.series[e.index-1]:t.get(n))&&n.linkedParent!==e&&(n.linkedSeries.push(e),e.linkedParent=n,n.enabledDataSorting&&e.setDataSortingOptions(),e.visible=V(e.options.visible,n.options.visible,e.visible))}),R(this,"afterLinkSeries",{isUpdating:e})}renderSeries(){this.series.forEach(function(e){e.translate(),e.render()})}render(){const e=this.axes,t=this.colorAxis,n=this.renderer,r=function(e){e.forEach(function(e){e.visible&&e.render()})};let i=0;this.setTitle(),R(this,"beforeMargins"),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize();const o=this.plotWidth;e.some(function(e){if(e.horiz&&e.visible&&e.options.labels.enabled&&e.series.length)return i=21,!0});const a=this.plotHeight=Math.max(this.plotHeight-i,0);e.forEach(function(e){e.setScale()}),this.getAxisMargins();const s=1.1t.pointCount))}pan(e,t){const n=this,r=n.hoverPoints;t="object"==typeof t?t:{enabled:t,type:"x"};const i=n.options.chart;i&&i.panning&&(i.panning=t);const o=t.type;let a;R(this,"pan",{originalEvent:e},function(){r&&r.forEach(function(e){e.setState()});let t=n.xAxis;"xy"===o?t=t.concat(n.yAxis):"y"===o&&(t=n.yAxis);const i={};t.forEach(function(t){if(t.options.panningEnabled&&!t.options.isInternal){var r=t.horiz,s=e[r?"chartX":"chartY"],l=n[r=r?"mouseDownX":"mouseDownY"],c=t.minPointOffset||0,u=t.reversed&&!n.inverted||!t.reversed&&n.inverted?-1:1,h=t.getExtremes(),d=t.toValue(l-s,!0)+c*u,f=t.toValue(l+t.len-s,!0)-(c*u||t.isXAxis&&t.pointRangePadding||0),p=f=u&&d<=f&&(t.setExtremes(l,d,!1,!1,{trigger:"pan"}),!n.resetZoomButton&&l!==u&&d!==f&&o.match("y")&&(n.showResetZoom(),t.displayBtn=!1),a=!0),i[r]=s)}}),Y(i,(e,t)=>{n[t]=e}),a&&n.redraw(!1),E(n.container,{cursor:"move"})})}}return P(J.prototype,{callbacks:[],collectionsWithInit:{xAxis:[J.prototype.addAxis,[!0]],yAxis:[J.prototype.addAxis,[!1]],series:[J.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),J}),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,r,i,o){const{stop:a}=e,{addEvent:s,createElement:l,defined:c,merge:u,pick:h}=o;s(n,"afterSetChartSize",function(e){var n=this.options.chart.scrollablePlotArea,r=n&&n.minWidth;let i;n=n&&n.minHeight,this.renderer.forExport||(r?(this.scrollablePixelsX=r=Math.max(0,r-this.chartWidth))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=u(this.plotBox),this.plotBox.width=this.plotWidth+=r,this.inverted?this.clipBox.height+=r:this.clipBox.width+=r,i={1:{name:"right",value:r}}):n&&(this.scrollablePixelsY=r=Math.max(0,n-this.chartHeight),c(r)&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=u(this.plotBox),this.plotBox.height=this.plotHeight+=r,this.inverted?this.clipBox.width+=r:this.clipBox.height+=r,i={2:{name:"bottom",value:r}})),i&&!e.skipAxes&&this.axes.forEach(function(e){i[e.side]?e.getPlotLinePath=function(){let n,r=i[e.side].name,o=this[r];return this[r]=o-i[e.side].value,n=t.prototype.getPlotLinePath.apply(this,arguments),this[r]=o,n}:(e.setAxisSize(),e.setAxisTranslation())}))}),s(n,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()}),n.prototype.setUpScrolling=function(){const e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};let t;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),s(this.scrollingContainer,"scroll",()=>{this.pointer&&(delete this.pointer.chartPosition,this.hoverPoint&&(t=this.hoverPoint),this.pointer.runPointActions(void 0,t,!0))}),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},n.prototype.moveFixedElements=function(){let e,t=this.container,n=this.fixedRenderer,r=".highcharts-breadcrumbs-group .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?e=".highcharts-xaxis":this.scrollablePixelsY&&!this.inverted?e=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(e=".highcharts-yaxis"),e&&r.push(`${e}:not(.highcharts-radial-axis)`,`${e}-labels:not(.highcharts-radial-axis-labels)`),r.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,r=i.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 r(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=t.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":h(n.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),s(this,"afterShowResetZoom",this.moveFixedElements),s(this,"afterApplyDrilldown",this.moveFixedElements),s(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),r=this.chartHeight+(this.scrollablePixelsY||0),a(this.container),this.container.style.width=t+"px",this.container.style.height=r+"px",this.renderer.boxWrapper.attr({width:t,height:r,viewBox:[0,0,t,r].join(" ")}),this.chartBackground.attr({width:t,height:r}),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)),r=this.axisOffset,e=this.plotTop-r[0]-1,n=this.plotLeft-r[3]-1,t=this.plotTop+this.plotHeight+r[2]+1,r=this.plotLeft+this.plotWidth+r[1]+1;let o=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),c=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",o,e],["L",this.chartWidth,e],["L",this.chartWidth,t],["L",o,t],["Z"]]:this.scrollablePixelsY?[["M",n,0],["L",n,this.plotTop-1],["L",r,this.plotTop-1],["L",r,0],["Z"],["M",n,c],["L",n,this.chartHeight],["L",r,this.chartHeight],["L",r,c],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:e})},s(t,"afterInit",function(){this.chart.scrollableDirty=!0}),s(r,"show",function(){this.chart.scrollableDirty=!0})}),t(n,"Core/Axis/Stacking/StackItem.js",[n["Core/Templating.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(e,t,n){const{format:r}=e,{series:i}=t,{destroyObjectProperties:o,fireEvent:a,isNumber:s,pick:l}=n;return class{constructor(e,t,n,r,i){const o=e.chart.inverted,a=e.reversed;this.axis=e,e=this.isNegative=!!n!=!!a,this.options=t=t||{},this.x=r,this.cumulative=this.total=null,this.points={},this.hasValidPoints=!1,this.stack=i,this.rightCliff=this.leftCliff=0,this.alignOptions={align:t.align||(o?e?"left":"right":"center"),verticalAlign:t.verticalAlign||(o?"middle":e?"bottom":"top"),y:t.y,x:t.x},this.textAlign=t.textAlign||(o?e?"right":"left":"center")}destroy(){o(this,this.axis)}render(e){const t=this.axis.chart,n=this.options;var i=n.format;i=i?r(i,this,t):n.formatter.call(this),this.label?this.label.attr({text:i,visibility:"hidden"}):(this.label=t.renderer.label(i,null,void 0,n.shape,void 0,void 0,n.useHTML,!1,"stack-labels"),i={r:n.borderRadius||0,text:i,padding:l(n.padding,5),visibility:"hidden"},t.styledMode||(i.fill=n.backgroundColor,i.stroke=n.borderColor,i["stroke-width"]=n.borderWidth,this.label.css(n.style||{})),this.label.attr(i),this.label.added||this.label.add(e)),this.label.labelrank=t.plotSizeY,a(this,"afterRender")}setOffset(e,t,n,r,o,c){const{alignOptions:u,axis:h,label:d,options:f,textAlign:p}=this,A=h.chart;n=this.getStackBox({xOffset:e,width:t,boxBottom:n,boxTop:r,defaultX:o,xAxis:c});var{verticalAlign:g}=u;if(d&&n){r=d.getBBox(),o=d.padding,c="justify"===l(f.overflow,"justify"),u.x=f.x||0,u.y=f.y||0;const{x:e,y:t}=this.adjustStackPosition({labelBox:r,verticalAlign:g,textAlign:p});n.x-=e,n.y-=t,d.align(u,!1,n),(g=A.isInsidePlot(d.alignAttr.x+u.x+e,d.alignAttr.y+u.y+t))||(c=!1),c&&i.prototype.justifyDataLabel.call(h,d,u,d.alignAttr,r,n),d.attr({x:d.alignAttr.x,y:d.alignAttr.y,rotation:f.rotation,rotationOriginX:r.width/2,rotationOriginY:r.height/2}),l(!c&&f.crop,!0)&&(g=s(d.x)&&s(d.y)&&A.isInsidePlot(d.x-o+d.width,d.y)&&A.isInsidePlot(d.x+o,d.y)),d[g?"show":"hide"]()}a(this,"afterSetOffset",{xOffset:e,width:t})}adjustStackPosition({labelBox:e,verticalAlign:t,textAlign:n}){const r={bottom:0,middle:1,top:2,right:1,center:0,left:-1};return{x:e.width/2+e.width/2*r[n],y:e.height/2*r[t]}}getStackBox(e){var t=this.axis;const n=t.chart,{boxTop:r,defaultX:i,xOffset:o,width:a,boxBottom:c}=e;var u=t.stacking.usePercentage?100:l(r,this.total,0);u=t.toPixels(u),e=e.xAxis||n.xAxis[0];const h=l(i,e.translate(this.x))+o;t=t.toPixels(c||s(t.min)&&t.logarithmic&&t.logarithmic.lin2log(t.min)||0),t=Math.abs(u-t);const d=this.isNegative;return n.inverted?{x:(d?u:u-t)-n.plotLeft,y:e.height-h-a,width:t,height:a}:{x:h+e.transB-n.plotLeft,y:(d?u-t:u)-n.plotTop,width:a,height:t}}}}),t(n,"Core/Axis/Stacking/StackingAxis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Axis/Stacking/StackItem.js"],n["Core/Utilities.js"]],function(e,t,n,r,i){function o(){const e=this,t=e.inverted;e.yAxis.forEach(e=>{e.stacking&&e.stacking.stacks&&e.hasVisibleSeries&&(e.stacking.oldStacks=e.stacking.stacks)}),e.series.forEach(n=>{const r=n.xAxis&&n.xAxis.options||{};!n.options.stacking||!0!==n.visible&&!1!==e.options.chart.ignoreHiddenSeries||(n.stackKey=[n.type,x(n.options.stack,""),t?r.top:r.left,t?r.height:r.width].join())})}function a(){const e=this.stacking;if(e){var t=e.stacks;w(t,function(e,n){v(e),t[n]=null}),e&&e.stackTotalGroup&&e.stackTotalGroup.destroy()}}function s(){"yAxis"!==this.coll||this.stacking||(this.stacking=new C(this))}function l(e,t,n,r){return!m(e)||e.x!==t||r&&e.stackKey!==r?e={x:t,index:0,key:r,stackKey:r}:e.index++,e.key=[n,t,e.index].join(),e}function c(){const e=this,t=e.stackKey,n=e.yAxis.stacking.stacks,r=e.processedXData,i=e[e.options.stacking+"Stacker"];let o;i&&[t,"-"+t].forEach(t=>{let a,s=r.length;for(;s--;){var l=r[s];o=e.getStackIndicator(o,l,e.index,t),(a=(l=n[t]&&n[t][l])&&l.points[o.key])&&i.call(e,a,l,s)}})}function u(e,t,n){t=t.total?100/t.total:0,e[0]=g(e[0]*t),e[1]=g(e[1]*t),this.stackedYData[n]=e[1]}function h(){const e=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1{"group"===n.slice(-5)&&(w(t,e=>e.destroy()),delete e.stacks[n])})}function d(e){var t=this.chart;const n=e||this.options.stacking;if(n&&(!0===this.visible||!1===t.options.chart.ignoreHiddenSeries)){var i=this.processedXData,o=this.processedYData,a=[],s=o.length,l=this.options,c=l.threshold,u=x(l.startFromThreshold&&c,0);l=l.stack;var h,d,f="-"+(e=e?`${this.type},${n}`:this.stackKey),p=this.negStacks,A=(t="group"===n?t.yAxis[0]:this.yAxis).stacking.stacks,v=t.stacking.oldStacks;for(t.stacking.stacksTouched+=1,d=0;d{w(e,(t,n)=>{_(t.touched)&&t.touchedo&&t.shadow)),s&&(s.startX=n.xMap,s.isArea=n.isArea)})}getGraphPath(e,t,n){const i=this,o=i.options,a=[],s=[];let l,c=o.step;const u=(e=e||i.points).reversed;return u&&e.reverse(),(c={right:1,center:2}[c]||c&&3)&&u&&(c=4-c),(e=this.getValidPoints(e,!1,!(o.connectNulls&&!t&&!n))).forEach(function(u,h){const d=u.plotX,f=u.plotY,p=e[h-1],A=u.isNull||"number"!=typeof f;(u.leftCliff||p&&p.rightCliff)&&!n&&(l=!0),A&&!r(t)&&0e.visible);r.forEach(function(e,a){let A,g,m=0;if(c[e]&&!c[e].isNull)n.push(c[e]),[-1,1].forEach(function(n){const i=1===n?"rightNull":"leftNull",o=l[r[a+n]];let s=0;if(o){let n=f;for(;0<=n&&ne&&l>o?c=2*o-(l=Math.max(e,o)):ln&&c>o?l=2*o-(c=Math.max(n,o)):c=Math.abs(t)&&.5{if("number"==typeof n.x){const t=e[n.x.toString()];t&&(e=t.points[this.index],i?(e&&(a=s),t.hasValidPoints&&(o?s++:s--)):A(e)&&(e=Object.keys(t.points).filter(e=>!e.match(",")&&t.points[e]&&1t-e),a=e.indexOf(this.index),s=e.length))}}),e=(n.plotX||0)+((s-1)*r.paddedWidth+t)/2-t-a*r.paddedWidth}return e}translate(){const e=this,t=e.chart,n=e.options;var r=e.dense=2>e.closestPointRange*e.xAxis.transA;r=e.borderWidth=v(n.borderWidth,r?0:1);const o=e.xAxis,a=e.yAxis,s=n.threshold,l=v(n.minPointLength,5),c=e.getColumnMetrics(),u=c.width,f=e.pointXOffset=c.offset,A=e.dataMin,m=e.dataMax;let y=e.barW=Math.max(u,1+2*r),b=e.translatedThreshold=a.getThreshold(s);t.inverted&&(b-=.5),n.pointPadding&&(y=Math.ceil(y)),i.prototype.translate.apply(e),e.points.forEach(function(r){const i=v(r.yBottom,b);var p=999+Math.abs(i),_=r.plotX||0;p=h(r.plotY,-p,a.len+p);let w=Math.min(p,i),x=Math.max(p,i)-w,C=u,S=_+f,k=y;l&&Math.abs(x)l?i-l:b-(_?l:0)),d(r.options.pointWidth)&&(C=k=Math.ceil(r.options.pointWidth),S-=Math.round((C-u)/2)),n.centerInCategory&&(S=e.adjustForMissingColumns(S,C,r,c)),r.barX=S,r.pointWidth=C,r.tooltipPos=t.inverted?[h(a.len+a.pos-t.plotLeft-p,a.pos-t.plotLeft,a.len+a.pos-t.plotLeft),o.len+o.pos-t.plotTop-S-k/2,x]:[o.left-t.plotLeft+S+k/2,h(p+a.pos-t.plotTop,a.pos-t.plotTop,a.len+a.pos-t.plotTop),x],r.shapeType=e.pointClass.prototype.shapeType||"roundedRect",r.shapeArgs=e.crispCol(S,r.isNull?b:w,k,r.isNull?0:x)}),p(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(e,t){const n=this.options;var r=this.pointAttrToOptions||{},i=r.stroke||"borderColor";const o=r["stroke-width"]||"borderWidth";let a,s=e&&e.color||this.color,c=e&&e[i]||n[i]||s;r=e&&e.options.dashStyle||n.dashStyle;let u=e&&e[o]||n[o]||this[o]||0,h=v(e&&e.opacity,n.opacity,1);return e&&this.zones.length&&(a=e.getZone(),s=e.options.color||a&&(a.color||e.nonZonedColor)||this.color,a&&(c=a.borderColor||c,r=a.dashStyle||r,u=a.borderWidth||u)),t&&e&&(t=(e=m(n.states[t],e.options.states&&e.options.states[t]||{})).brightness,s=e.color||void 0!==t&&l(s).brighten(e.brightness).get()||s,c=e[i]||c,u=e[o]||u,r=e.dashStyle||r,h=v(e.opacity,h)),i={fill:s,stroke:c,"stroke-width":u,opacity:h},r&&(i.dashstyle=r),i}drawPoints(e=this.points){const t=this,n=this.chart,r=t.options,i=n.renderer,o=r.animationLimit||250;let a;e.forEach(function(e){let s=e.graphic,l=!!s,c=s&&n.pointCount{var t;const n=e.dataLabels||[];for((_=f(v(x,e.dlOptions||(null===(t=e.options)||void 0===t?void 0:t.dataLabels)))).forEach((t,r)=>{var s,l=t.enabled&&(!e.isNull||e.dataLabelOnNull)&&function(e,t){var n=t.filter;return!n||(t=n.operator,e=e[n.property],n=n.value,">"===t&&e>n||"<"===t&&e="===t&&e>=n||"<="===t&&e<=n||"=="===t&&e==n||"==="===t&&e===n)}(e,t);const f=e.connectors?e.connectors[r]:e.connector,g=t.style||{};let m={},v=n[r],y=!v;const _=d(t.distance,e.labelDistance);if(l){var x=d(t[e.formatPrefix+"Format"],t.format),C=e.getLabelConfig();if(C=o(x)?i(x,C,u):(t[e.formatPrefix+"Formatter"]||t.formatter).call(C,t),x=t.rotation,u.styledMode||(g.color=d(t.color,g.color,c(a.color)?a.color:void 0,"#000000"),"contrast"===g.color?(e.contrastColor=A.getContrast(e.color||a.color),g.color=!o(_)&&t.inside||0>(_||0)||p.stacking?e.contrastColor:b):delete e.contrastColor,p.cursor&&(g.cursor=p.cursor)),m={r:t.borderRadius||0,rotation:x,padding:t.padding,zIndex:1},!u.styledMode){const{backgroundColor:n,borderColor:r}=t;m.fill="auto"===n?e.color:n,m.stroke="auto"===r?e.color:r,m["stroke-width"]=t.borderWidth}h(m,(e,t)=>{void 0===e&&delete m[t]})}!v||l&&o(C)&&!!v.div==!!t.useHTML&&(v.rotation&&t.rotation||v.rotation===t.rotation)||(v=void 0,y=!0,f&&e.connector&&(e.connector=e.connector.destroy(),e.connectors&&(1===e.connectors.length?delete e.connectors:delete e.connectors[r]))),l&&o(C)&&(v?m.text=C:(v=x?A.text(C,0,0,t.useHTML).addClass("highcharts-data-label"):A.label(C,0,0,t.shape,void 0,void 0,t.useHTML,void 0,"data-label"))&&v.addClass(" highcharts-data-label-color-"+e.colorIndex+" "+(t.className||"")+(t.useHTML?" highcharts-tracker":"")),v&&(v.options=t,v.attr(m),u.styledMode||v.css(g).shadow(t.shadow),(l=t[e.formatPrefix+"TextPath"]||t.textPath)&&!t.useHTML&&(v.setTextPath((null===(s=e.getDataLabelPath)||void 0===s?void 0:s.call(e,v))||e.graphic,l),e.dataLabelPath&&!l.enabled&&(e.dataLabelPath=e.dataLabelPath.destroy())),v.added||v.add(w),a.alignDataLabel(e,v,t,void 0,y),v.isActive=!0,n[r]&&n[r]!==v&&n[r].destroy(),n[r]=v))}),t=n.length;t--;)n[t].isActive?n[t].isActive=!1:(n[t].destroy(),n.splice(t,1));e.dataLabel=n[0],e.dataLabels=n})),s(this,"afterDrawDataLabels")}function m(e,t,n,r,i,o){const a=this.chart,s=t.align,l=t.verticalAlign,c=e.box?0:e.padding||0;let u,h,{x:d=0,y:f=0}=t;return 0>(u=(n.x||0)+c)&&("right"===s&&0<=d?(t.align="left",t.inside=!0):d-=u,h=!0),(u=(n.x||0)+r.width-c)>a.plotWidth&&("left"===s&&0>=d?(t.align="right",t.inside=!0):d+=a.plotWidth-u,h=!0),0>(u=n.y+c)&&("bottom"===l&&0<=f?(t.verticalAlign="top",t.inside=!0):f-=u,h=!0),(u=(n.y||0)+r.height-c)>a.plotHeight&&("top"===l&&0>=f?(t.verticalAlign="bottom",t.inside=!0):f+=a.plotHeight-u,h=!0),h&&(t.x=d,t.y=f,e.placed=!o,e.align(t,void 0,i)),h}function v(e,t){let n,r=[];if(l(e)&&!l(t))r=e.map(function(e){return u(e,t)});else if(l(t)&&!l(e))r=t.map(function(t){return u(e,t)});else if(l(e)||l(t)){if(l(e)&&l(t))for(n=Math.max(e.length,t.length);n--;)r[n]=u(e[n],t[n])}else r=u(e,t);return r}function y(e,t,n,r,i){const o=this.chart,a=o.inverted,s=this.xAxis,l=s.reversed,c=a?t.height/2:t.width/2;e=(e=e.pointWidth)?e/2:0,t.startXPos=a?i.x:l?-c-e:s.width-c+e,t.startYPos=a?l?this.yAxis.height-c+e:-c-e:i.y,r?"hidden"===t.visibility&&(t.show(),t.attr({opacity:0}).animate({opacity:1})):t.attr({opacity:1}).animate({opacity:0},void 0,t.hide),o.hasRendered&&(n&&t.attr({x:t.startXPos,y:t.startYPos}),t.placed=!0)}const b=[];e.compose=function(e){n.pushUnique(b,e)&&((e=e.prototype).initDataLabelsGroup=p,e.initDataLabels=A,e.alignDataLabel=t,e.drawDataLabels=g,e.justifyDataLabel=m,e.setDataLabelStartPos=y)}}(p||(p={})),p}),t(n,"Series/Column/ColumnDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(e,t,n){const{series:r}=t,{merge:i,pick:o}=n;var a;return function(t){function s(e,t,n,a,s){let l=this.chart.inverted;var c=e.series;let u=(c.xAxis?c.xAxis.len:this.chart.plotSizeX)||0;c=(c.yAxis?c.yAxis.len:this.chart.plotSizeY)||0;var h=e.dlBox||e.shapeArgs;let d=o(e.below,e.plotY>o(this.translatedThreshold,c)),f=o(n.inside,!!this.options.stacking);h&&(0>(a=i(h)).y&&(a.height+=a.y,a.y=0),0<(h=a.y+a.height-c)&&h {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}}}),t(n,"Series/Scatter/ScatterSeries.js",[n["Series/Scatter/ScatterSeriesDefaults.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(e,t,n){const{column:r,line:i}=t.seriesTypes,{addEvent:o,extend:a,merge:s}=n;class l extends i{constructor(){super(...arguments),this.points=this.options=this.data=void 0}applyJitter(){const e=this,t=this.options.jitter,n=this.points.length;t&&this.points.forEach(function(r,i){["x","y"].forEach(function(o,a){let s,l,c="plot"+o.toUpperCase();if(t[o]&&!r.isNull){var u=e[o+"Axis"];l=t[o]*u.transA,u&&!u.isLog&&(s=Math.max(0,r[c]-l),u=Math.min(u.len,r[c]+l),a=1e4*Math.sin(i+a*n),a-=Math.floor(a),r[c]=s+(u-s)*a,"x"===o&&(r.clientX=r.plotX))}})})}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}return l.defaultOptions=s(i.defaultOptions,e),a(l.prototype,{drawTracker:r.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),o(l,"afterTranslate",function(){this.applyJitter()}),t.registerSeriesType("scatter",l),l}),t(n,"Series/CenteredUtilities.js",[n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Utilities.js"]],function(e,t,n){const{deg2rad:r}=e,{fireEvent:i,isNumber:o,pick:a,relativeLength:s}=n;var l;return function(e){e.getCenter=function(){var e=this.options,n=this.chart;const r=2*(e.slicedOffset||0),l=n.plotWidth-2*r,c=n.plotHeight-2*r;var u=e.center;const h=Math.min(l,c),d=e.thickness;var f=e.size;let p=e.innerSize||0;for("string"==typeof f&&(f=parseFloat(f)),"string"==typeof p&&(p=parseFloat(p)),e=[a(u[0],"50%"),a(u[1],"50%"),a(f&&0>f?void 0:e.size,"100%"),a(p&&0>p?void 0:e.innerSize||0,"0%")],!n.angular||this instanceof t||(e[3]=0),u=0;4>u;++u)f=e[u],n=2>u||2===u&&/%$/.test(f),e[u]=s(f,[l,c,h,e[2]][u])+(n?r:0);return e[3]>e[2]&&(e[3]=e[2]),o(d)&&2*de&&360>t-e?t:e+360,{start:r*(e+-90),end:r*(t+-90)}}}(l||(l={})),l}),t(n,"Series/Pie/PiePoint.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],function(e,t,n){const{setAnimation:r}=e,{addEvent:i,defined:o,extend:a,isNumber:s,pick:l,relativeLength:c}=n;class u extends t{constructor(){super(...arguments),this.series=this.options=this.labelDistance=void 0}getConnectorPath(){const e=this.labelPosition,t=this.series.options.dataLabels,n=this.connectorShapes;let r=t.connectorShape;return n[r]&&(r=n[r]),r.call(this,{x:e.computed.x,y:e.computed.y,alignment:e.alignment},e.connectorPosition,t)}getTranslate(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}}haloPath(e){const 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,borderRadius:t.borderRadius})}init(){super.init.apply(this,arguments),this.name=l(this.name,"Slice");const e=e=>{this.slice("select"===e.type)};return i(this,"select",e),i(this,"unselect",e),this}isValid(){return s(this.y)&&0<=this.y}setVisible(e,t){const n=this.series,r=n.chart,i=n.options.ignoreHiddenPoint;t=l(t,i),e!==this.visible&&(this.visible=this.options.visible=e=void 0===e?!this.visible:e,n.options.data[n.data.indexOf(this)]=this.options,["graphic","dataLabel","connector"].forEach(t=>{this[t]&&this[t][e?"show":"hide"](e)}),this.legendItem&&r.legend.colorizeItem(this,e),e||"hover"!==this.state||this.setState(""),i&&(n.isDirty=!0),t&&r.redraw())}slice(e,t,n){const i=this.series;r(n,i.chart),l(t,!0),this.sliced=this.options.sliced=o(e)?e:!this.sliced,i.options.data[i.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate())}}return a(u.prototype,{connectorShapes:{fixedOffset:function(e,t,n){const r=t.breakAt;return t=t.touchingSliceAt,[["M",e.x,e.y],n.softConnector?["C",e.x+("left"===e.alignment?-5:5),e.y,2*r.x-t.x,2*r.y-t.y,r.x,r.y]:["L",r.x,r.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){const{breakAt:r,touchingSliceAt:i}=t;({series:t}=this);const[o,a,s]=t.center,l=s/2,u=t.chart.plotWidth,h=t.chart.plotLeft;t="left"===e.alignment;const{x:d,y:f}=e;return n.crookDistance?(e=c(n.crookDistance,1),e=t?o+l+(u+h-o-l)*(1-e):h+(o-l)*e):e=o+(a-f)*Math.tan((this.angle||0)-Math.PI/2),n=[["M",d,f]],(t?e<=d&&e>=r.x:e>=d&&e<=r.x)&&n.push(["L",e,f]),n.push(["L",r.x,r.y],["L",i.x,i.y]),n}}}),u}),t(n,"Series/Pie/PieSeriesDefaults.js",[],function(){"";return{borderRadius:3,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,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(n,"Series/Pie/PieSeries.js",[n["Series/CenteredUtilities.js"],n["Series/Column/ColumnSeries.js"],n["Core/Globals.js"],n["Series/Pie/PiePoint.js"],n["Series/Pie/PieSeriesDefaults.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,r,i,o,a,s,l){const{getStartAndEndRadians:c}=e;({noop:n}=n);const{clamp:u,extend:h,fireEvent:d,merge:f,pick:p,relativeLength:A}=l;class g extends o{constructor(){super(...arguments),this.points=this.options=this.maxLabelDistance=this.data=this.center=void 0}animate(e){const t=this,n=t.points,r=t.startAngleRad;e||n.forEach(function(e){const n=e.graphic,i=e.shapeArgs;n&&i&&(n.attr({r:p(e.startR,t.center&&t.center[3]/2),start:r,end:r}),n.animate({r:i.r,start:i.start,end:i.end},t.options.animation))})}drawEmpty(){const e=this.startAngleRad,t=this.endAngleRad,n=this.options;let r,i;0===this.total&&this.center?(r=this.center[0],i=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(r,i,this.center[1]/2,0,e,t).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:s.arc(r,i,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"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){const 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)})}generatePoints(){super.generatePoints(),this.updateTotals()}getX(e,t,n){const r=this.center,i=this.radii?this.radii[n.index]||0:r[2]/2;return e=Math.asin(u((e-r[1])/(i+n.labelDistance),-1,1)),r[0]+(t?-1:1)*Math.cos(e)*(i+n.labelDistance)+(01.5*Math.PI?v-=2*Math.PI:v<-Math.PI/2&&(v+=2*Math.PI),f.slicedTranslation={translateX:Math.round(Math.cos(v)*n),translateY:Math.round(Math.sin(v)*n)},y=Math.cos(v)*e[2]/2,u=Math.sin(v)*e[2]/2,f.tooltipPos=[e[0]+.7*y,e[1]+.7*u],f.half=v<-Math.PI/2||v>Math.PI/2?1:0,f.angle=v,m=Math.min(r,f.labelDistance/5),f.labelPosition={natural:{x:e[0]+y+Math.cos(v)*f.labelDistance,y:e[1]+u+Math.sin(v)*f.labelDistance},computed:{},alignment:0>f.labelDistance?"center":f.half?"right":"left",connectorPosition:{breakAt:{x:e[0]+y+Math.cos(v)*m,y:e[1]+u+Math.sin(v)*m},touchingSliceAt:{x:e[0]+y,y:e[1]+u}}}}d(this,"afterTranslate")}updateTotals(){const e=this.points,t=e.length,n=this.options.ignoreHiddenPoint;let r,i,o=0;for(r=0;rp&&(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))}),v.forEach((t,s)=>{const l=t.length,h=[];let p,v=0;if(l){if(e.sortByAngle(t,s-.5),0o-i&&0===s&&(w=Math.round(T+S-o+i),y[1]=Math.max(w,y[1])),0>E-B/2?y[0]=Math.max(Math.round(B/2-E),y[0]):E+B/2>c&&(y[2]=Math.max(Math.round(E+B/2-c),y[2])),C.sideOverflow=w)}}}),0===l(y)||this.verifyDataLabelOverflow(y))&&(this.placeDataLabels(),this.points.forEach(function(t){if(O=h(r,t.options.dataLabels),w=d(O.connectorWidth,1)){let r;x=t.connector,(C=t.dataLabel)&&C._pos&&t.visible&&0t.bottom-2?r:n,t.half,t)},justify:function(e,t,n){return n[0]+(e.half?-1:1)*(t+e.labelDistance)},alignToPlotEdges:function(e,t,n,r){return e=e.getBBox().width,t?e+r:n-e-r},alignToConnectors:function(e,t,n,r){let i,o=0;return e.forEach(function(e){(i=e.dataLabel.getBBox().width)>o&&(o=i)}),t?o+r:n-o-r}};t.compose=function(t){e.compose(s),i.pushUnique(A,t)&&((t=t.prototype).dataLabelPositioners=g,t.alignDataLabel=o,t.drawDataLabels=n,t.placeDataLabels=r,t.verifyDataLabelOverflow=p)}}(p||(p={})),p}),t(n,"Extensions/OverlappingDataLabels.js",[n["Core/Chart/Chart.js"],n["Core/Utilities.js"]],function(e,t){function n(e,t){let n,r=!1;return e&&(n=e.newOpacity,e.oldOpacity!==n&&(e.alignAttr&&e.placed?(e[n?"removeClass":"addClass"]("highcharts-data-label-hidden"),r=!0,e.alignAttr.opacity=n,e[e.isOld?"animate":"attr"](e.alignAttr,null,function(){t.styledMode||e.css({pointerEvents:n?"auto":"none"})}),i(t,"afterHideOverlappingLabel")):e.attr({opacity:n})),e.isOld=!0),r}const{addEvent:r,fireEvent:i,isArray:o,isNumber:a,objectEach:s,pick:l}=t;r(e,"render",function(){let 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&&s(e.stacking.stacks,function(e){s(e,function(e){e.label&&t.push(e.label)})})}),(this.series||[]).forEach(function(r){var i=r.options.dataLabels;r.visible&&(!1!==i.enabled||r._hasPointLabels)&&((i=(r=>r.forEach(r=>{r.visible&&(o(r.dataLabels)?r.dataLabels:r.dataLabel?[r.dataLabel]:[]).forEach(function(i){const o=i.options;i.labelrank=l(o.labelrank,r.labelrank,r.shapeArgs&&r.shapeArgs.height),o.allowOverlap?(i.oldOpacity=i.opacity,i.newOpacity=1,n(i,e)):t.push(i)})})))(r.nodes||[]),i(r.points))}),this.hideOverlappingLabels(t)}),e.prototype.hideOverlappingLabels=function(e){let t=this,r=e.length,o=t.renderer;var s;let l,c,u,h,d=!1;var f=function(e){let t,n;var r;let i,s,l=e.box?0:e.padding||0,c=r=0;if(e&&(!e.alignAttr||e.placed))return t=e.alignAttr||{x:e.attr("x"),y:e.attr("y")},n=e.parentGroup,e.width||(r=e.getBBox(),e.width=r.width,e.height=r.height,r=o.fontMetrics(e.element).h),i=e.width-2*l,(s={left:"0",center:"0.5",right:"1"}[e.alignValue])?c=+s*i:a(e.x)&&Math.round(e.x)!==e.translateX&&(c=e.x-e.translateX),{x:t.x+(n.translateX||0)+l-(c||0),y:t.y+(n.translateY||0)+l-r,width:e.width-2*l,height:e.height-2*l}};for(l=0;l=u.x+u.width||h.x+h.width<=u.x||h.y>=u.y+u.height||h.y+h.height<=u.y||((f.labelrank(c(e)||(e={radius:e||0}),u(d,t,e));if(-1===r.symbolCustomAttribs.indexOf("borderRadius")){r.symbolCustomAttribs.push("borderRadius","brBoxHeight","brBoxY");const n=i.prototype.symbols.arc;i.prototype.symbols.arc=function(e,t,r,i,o={}){e=n(e,t,r,i,o);const{innerR:a=0,r:s=r,start:l=0,end:c=0}=o;if(o.open||!o.borderRadius)return e;for(r=c-l,t=Math.sin(r/2),o=Math.max(Math.min(h(o.borderRadius||0,s-a),(s-a)/2,s*t/(1+t)),0),r=Math.min(o,r/Math.PI*2*a),t=e.length-1;t--;){let n=void 0,a=void 0,s=void 0;i=e;var u=t,d=1this.borderWidth&&(A="all"),A||(A="end");const g=Math.min(h(e.radius,c),c/2,"all"===A?d/2:1/0)||0;"end"===A&&(p&&(r-=g),i+=g),l(n,{brBoxHeight:i,brBoxY:r,r:g})}}},{order:9})}return t={optionsToObject:f}}),t(n,"Core/Responsive.js",[n["Core/Utilities.js"]],function(e){const{diffObjects:t,extend:n,find:r,merge:i,pick:o,uniqueKey:a}=e;var s;return function(l){function c(e,t){const n=e.condition;(n.callback||function(){return this.chartWidth<=o(n.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=o(n.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=o(n.minWidth,0)&&this.chartHeight>=o(n.minHeight,0)}).call(this)&&t.push(e._id)}function u(e,n){const o=this.options.responsive;var s=this.currentResponsive;let l=[];!n&&o&&o.rules&&o.rules.forEach(e=>{void 0===e._id&&(e._id=a()),this.matchResponsiveRule(e,l)},this),(n=i(...l.map(e=>r((o||{}).rules||[],t=>t._id===e)).map(e=>e&&e.chartOptions))).isResponsiveOptions=!0,(l=l.toString()||void 0)!==(s&&s.ruleIds)&&(s&&this.update(s.undoOptions,e,!0),l?((s=t(n,this.options,!0,this.collectionsWithUpdate)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:l,mergedOptions:n,undoOptions:s},this.update(n,e,!0)):this.currentResponsive=void 0)}const h=[];(s||(s={})).compose=function(t){return e.pushUnique(h,t)&&n(t.prototype,{matchResponsiveRule:c,setResponsive:u}),t}}(),s}),t(n,"masters/highcharts.src.js",[n["Core/Globals.js"],n["Core/Utilities.js"],n["Core/Defaults.js"],n["Core/Animation/Fx.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/Renderer/HTML/AST.js"],n["Core/Templating.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/Legend/Legend.js"],n["Core/Chart/Chart.js"],n["Core/Axis/Stacking/StackingAxis.js"],n["Core/Axis/Stacking/StackItem.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,r,i,o,a,s,l,c,u,h,d,f,p,A,g,m,v,y,b,_,w,x,C,S,k,B,T,E,M,D,O,I){return e.animate=i.animate,e.animObject=i.animObject,e.getDeferredAnimation=i.getDeferredAnimation,e.setAnimation=i.setAnimation,e.stop=i.stop,e.timers=r.timers,e.AST=o,e.Axis=d,e.Chart=_,e.chart=_.chart,e.Fx=r,e.Legend=b,e.PlotLineOrBand=A,e.Point=v,e.Pointer=y,e.Series=C,e.StackItem=x,e.SVGElement=l,e.SVGRenderer=c,e.Templating=a,e.Tick=g,e.Time=I,e.Tooltip=m,e.Color=O,e.color=O.parse,h.compose(c),u.compose(l),y.compose(_),b.compose(_),e.defaultOptions=n.defaultOptions,e.getOptions=n.getOptions,e.time=n.defaultTime,e.setOptions=n.setOptions,e.dateFormat=a.dateFormat,e.format=a.format,e.numberFormat=a.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=s.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,B.compose(k),M.compose(C),f.compose(d),p.compose(d),E.compose(T),A.compose(d),D.compose(_),w.compose(d,_,C),m.compose(y),e}),n["masters/highcharts.src.js"]._modules=n,n["masters/highcharts.src.js"]},"object"==typeof e&&e.exports?(o.default=o,e.exports=i.document?o(i):o):void 0===(r=function(){return o(i)}.call(t,n,t,e))||(e.exports=r)},"52gC":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"5PlU":function(e,t,n){var r=n("RY/4"),i=n("dSzd")("iterator"),o=n("/bQp");e.exports=n("FeBl").isIterable=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||o.hasOwnProperty(r(t))}},"5QVw":function(e,t,n){e.exports={default:n("BwfY"),__esModule:!0}},"5VQ+":function(e,t,n){"use strict";var r=n("cGG2");e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},"5YuA":function(e,t,n){var r;window,r=function(e,t){return r=[function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";n.r(t),n.d(t,"Chart",function(){return f}),n.d(t,"default",function(){return p});t=n(0);var r=n.n(t);function i(e,t){return function e(t,n,i){function o(o,a){!r.a.isObject(o,!i)||r.a.isClass(o)||r.a.isDOMElement(o)?t[a]=n[a]:t[a]=e(t[a]||r.a.isArray(o)?[]:{},o,i)}return r.a.isArray(n)?n.forEach(o):r.a.objectEach(n,o),t}({},e,t)}var o=n(1);function a(e){return(a="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 s(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){var n;if(e)return"string"==typeof e?l(e,t):"Map"===(n="Object"===(n=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n',props:{constructorType:{type:String,default:"chart"},options:{type:Object,required:!0},callback:Function,updateArgs:{type:Array,default:function(){return[!0,!0]}},highcharts:{type:Object},deepCopyOnUpdate:{type:Boolean,default:!0}}},d=function(e,t){return t.split(".")[0]<3?u(u({},h),{},{render:function(e){return e("div",{ref:"chart"})},beforeDestroy:function(){this.chart&&this.chart.destroy()},watch:{options:{handler:function(e){var t;(t=this.chart).update.apply(t,[i(e,this.deepCopyOnUpdate)].concat(s(this.updateArgs)))},deep:!0}},mounted:function(){var t=this.highcharts||e;this.options&&t[this.constructorType]?this.chart=t[this.constructorType](this.$refs.chart,i(this.options,!0),this.callback||null):this.options?console.warn("'".concat(this.constructorType,"' constructor-type is incorrect. Sometimes this error is caused by the fact, that the corresponding module wasn't imported.")):console.warn('The "options" parameter was not passed.')}}):u(u({},h),{},{render:function(){return Object(o.h)("div",{ref:"chartContainer"})},setup:function(t){var n=Object(o.ref)(null),r=Object(o.shallowRef)({});return Object(o.onMounted)(function(){var o=t.highcharts||e;t.options&&o[t.constructorType]?r.value=o[t.constructorType](n.value,i(t.options,!0),t.callback||null):t.options?console.warn("'".concat(t.constructorType,"' constructor-type is incorrect. Sometimes this error is caused by the fact, that the corresponding module wasn't imported.")):console.warn('The "options" parameter was not passed.')}),Object(o.watch)(function(){return t.options},function(e,n){var o;(o=r.value).update.apply(o,[i(e,t.deepCopyOnUpdate)].concat(s(t.updateArgs)))},{deep:!0}),Object(o.onBeforeUnmount)(function(){r.value&&r.value.destroy()}),{chart:r,chartContainer:n,props:t}}})},f=d(r.a,o.version||n.n(o).a.version);function p(e){var t=1=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return i(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function f(e){return null==e?"":Array.isArray(e)||c(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function p(e){var t=parseFloat(e);return isNaN(t)?e:t}function A(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function b(e,t){return y.call(e,t)}function _(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var w=/-(\w)/g,x=_(function(e){return e.replace(w,function(e,t){return t?t.toUpperCase():""})}),C=_(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),S=/\B([A-Z])/g,k=_(function(e){return e.replace(S,"-$1").toLowerCase()});var B=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function T(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function E(e,t){for(var n in t)e[n]=t[n];return e}function M(e){for(var t={},n=0;n0,q=$&&$.indexOf("edge/")>0,ee=($&&$.indexOf("android"),$&&/iphone|ipad|ipod|ios/.test($)||"ios"===Z),te=($&&/chrome\/\d+/.test($),$&&/phantomjs/.test($),$&&$.match(/firefox\/(\d+)/)),ne={}.watch,re=!1;if(G)try{var ie={};Object.defineProperty(ie,"passive",{get:function(){re=!0}}),window.addEventListener("test-passive",null,ie)}catch(e){}var oe=function(){return void 0===V&&(V=!G&&!X&&void 0!==e&&(e.process&&"server"===e.process.env.VUE_ENV)),V},ae=G&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function se(e){return"function"==typeof e&&/native code/.test(e.toString())}var le,ce="undefined"!=typeof Symbol&&se(Symbol)&&"undefined"!=typeof Reflect&&se(Reflect.ownKeys);le="undefined"!=typeof Set&&se(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ue=D,he=0,de=function(){this.id=he++,this.subs=[]};de.prototype.addSub=function(e){this.subs.push(e)},de.prototype.removeSub=function(e){v(this.subs,e)},de.prototype.depend=function(){de.target&&de.target.addDep(this)},de.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(o&&!b(i,"default"))a=!1;else if(""===a||a===k(e)){var l=Qe(String,i.type);(l<0||s0&&(ht((c=e(c,(n||"")+"_"+l))[0])&&ht(h)&&(s[u]=ye(h.text+c[0].text),c.shift()),s.push.apply(s,c)):a(c)?ht(h)?s[u]=ye(h.text+c):""!==c&&s.push(ye(c)):ht(c)&&ht(h)?s[u]=ye(h.text+c.text):(o(t._isVList)&&i(c.tag)&&r(c.key)&&i(n)&&(c.key="__vlist"+n+"_"+l+"__"),s.push(c)));return s}(e):void 0}function ht(e){return i(e)&&i(e.text)&&!1===e.isComment}function dt(e,t){if(e){for(var n=Object.create(null),r=ce?Reflect.ownKeys(e):Object.keys(e),i=0;i0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&r&&r!==n&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var l in i={},e)e[l]&&"$"!==l[0]&&(i[l]=gt(t,l,e[l]))}else i={};for(var c in t)c in i||(i[c]=mt(t,c));return e&&Object.isExtensible(e)&&(e._normalized=i),z(i,"$stable",a),z(i,"$key",s),z(i,"$hasNormal",o),i}function gt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:ut(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function mt(e,t){return function(){return e[t]}}function vt(e,t){var n,r,o,a,l;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,o=e.length;rdocument.createEvent("Event").timeStamp&&(hn=function(){return dn.now()})}function fn(){var e,t;for(un=hn(),ln=!0,rn.sort(function(e,t){return e.id-t.id}),cn=0;cncn&&rn[n].id>e.id;)n--;rn.splice(n+1,0,e)}else rn.push(e);sn||(sn=!0,nt(fn))}}(this)},An.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){ze(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},An.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},An.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},An.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var gn={enumerable:!0,configurable:!0,get:D,set:D};function mn(e,t,n){gn.get=function(){return this[t][n]},gn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,gn)}function vn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;o||Se(!1);var a=function(o){i.push(o);var a=je(o,t,n,e);Te(r,o,a),o in e||mn(e,"_props",o)};for(var s in t)a(s);Se(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?D:B(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;c(t=e._data="function"==typeof t?function(e,t){pe();try{return e.call(t,t)}catch(e){return ze(e,t,"data()"),{}}finally{Ae()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var o=n[i];0,r&&b(r,o)||Q(o)||mn(e,"_data",o)}Be(t,!0)}(e):Be(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=oe();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;0,r||(n[i]=new An(e,a||D,D,yn)),i in e||bn(e,i,o)}}(e,t.computed),t.watch&&t.watch!==ne&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!u(e)&&e.test(t)}function Mn(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=Tn(a.componentOptions);s&&!t(s)&&Dn(n,o,r,i)}}}function Dn(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,v(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=Cn++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Re(Sn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Kt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,r=e.$vnode=t._parentVnode,i=r&&r.context;e.$slots=ft(t._renderChildren,i),e.$scopedSlots=n,e._c=function(t,n,r,i){return Qt(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return Qt(e,t,n,r,i,!0)};var o=r&&r.data;Te(e,"$attrs",o&&o.attrs||n,null,!0),Te(e,"$listeners",t._parentListeners||n,null,!0)}(t),nn(t,"beforeCreate"),function(e){var t=dt(e.$options.inject,e);t&&(Se(!1),Object.keys(t).forEach(function(n){Te(e,n,t[n])}),Se(!0))}(t),vn(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),nn(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(kn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Ee,e.prototype.$delete=Me,e.prototype.$watch=function(e,t,n){if(c(t))return xn(this,e,t,n);(n=n||{}).user=!0;var r=new An(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){ze(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(kn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,o=e.length;i1?T(n):n;for(var r=T(arguments,1),i='event handler for "'+e+'"',o=0,a=n.length;oparseInt(this.max)&&Dn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return H}};Object.defineProperty(e,"config",t),e.util={warn:ue,extend:E,mergeOptions:Re,defineReactive:Te},e.set=Ee,e.delete=Me,e.nextTick=nt,e.observable=function(e){return Be(e),e},e.options=Object.create(null),N.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,E(e.options.components,In),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=T(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Re(this.options,e),this}}(e),Bn(e),function(e){N.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&c(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(kn),Object.defineProperty(kn.prototype,"$isServer",{get:oe}),Object.defineProperty(kn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(kn,"FunctionalRenderContext",{value:It}),kn.version="2.6.12";var Ln=A("style,class"),Pn=A("input,textarea,option,select,progress"),Fn=function(e,t,n){return"value"===n&&Pn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Rn=A("contenteditable,draggable,spellcheck"),Nn=A("events,caret,typing,plaintext-only"),jn=function(e,t){return Yn(t)||"false"===t?"false":"contenteditable"===e&&Nn(t)?t:"true"},Hn=A("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Un="http://www.w3.org/1999/xlink",Qn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},zn=function(e){return Qn(e)?e.slice(6,e.length):""},Yn=function(e){return null==e||!1===e};function Vn(e){for(var t=e.data,n=e,r=e;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Wn(r.data,t));for(;i(n=n.parent);)n&&n.data&&(t=Wn(t,n.data));return function(e,t){if(i(e)||i(t))return Gn(e,Xn(t));return""}(t.staticClass,t.class)}function Wn(e,t){return{staticClass:Gn(e.staticClass,t.staticClass),class:i(e.class)?[e.class,t.class]:t.class}}function Gn(e,t){return e?t?e+" "+t:e:t||""}function Xn(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,o=e.length;r-1?yr(e,t,n):Hn(t)?Yn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Rn(t)?e.setAttribute(t,jn(t,n)):Qn(t)?Yn(n)?e.removeAttributeNS(Un,zn(t)):e.setAttributeNS(Un,t,n):yr(e,t,n)}function yr(e,t,n){if(Yn(n))e.removeAttribute(t);else{if(K&&!J&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var br={create:mr,update:mr};function _r(e,t){var n=t.elm,o=t.data,a=e.data;if(!(r(o.staticClass)&&r(o.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Vn(t),l=n._transitionClasses;i(l)&&(s=Gn(s,Xn(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var wr,xr,Cr,Sr,kr,Br,Tr={create:_r,update:_r},Er=/[\w).+\-_$\]]/;function Mr(e){var t,n,r,i,o,a=!1,s=!1,l=!1,c=!1,u=0,h=0,d=0,f=0;for(r=0;r=0&&" "===(A=e.charAt(p));p--);A&&Er.test(A)||(c=!0)}}else void 0===i?(f=r+1,i=e.slice(0,r).trim()):g();function g(){(o||(o=[])).push(e.slice(f,r).trim()),f=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==f&&g(),o)for(r=0;r-1?{exp:e.slice(0,Sr),key:'"'+e.slice(Sr+1)+'"'}:{exp:e,key:null};xr=e,Sr=kr=Br=0;for(;!Xr();)Zr(Cr=Gr())?Kr(Cr):91===Cr&&$r(Cr);return{exp:e.slice(0,kr),key:e.slice(kr+1,Br)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Gr(){return xr.charCodeAt(++Sr)}function Xr(){return Sr>=wr}function Zr(e){return 34===e||39===e}function $r(e){var t=1;for(kr=Sr;!Xr();)if(Zr(e=Gr()))Kr(e);else if(91===e&&t++,93===e&&t--,0===t){Br=Sr;break}}function Kr(e){for(var t=e;!Xr()&&(e=Gr())!==t;);}var Jr,qr="__r",ei="__c";function ti(e,t,n){var r=Jr;return function i(){null!==t.apply(null,arguments)&&ii(e,i,n,r)}}var ni=Xe&&!(te&&Number(te[1])<=53);function ri(e,t,n,r){if(ni){var i=un,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Jr.addEventListener(e,t,re?{capture:n,passive:r}:n)}function ii(e,t,n,r){(r||Jr).removeEventListener(e,t._wrapper||t,n)}function oi(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},o=e.data.on||{};Jr=t.elm,function(e){if(i(e[qr])){var t=K?"change":"input";e[t]=[].concat(e[qr],e[t]||[]),delete e[qr]}i(e[ei])&&(e.change=[].concat(e[ei],e.change||[]),delete e[ei])}(n),st(n,o,ri,ii,ti,t.context),Jr=void 0}}var ai,si={create:oi,update:oi};function li(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,o,a=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};for(n in i(l.__ob__)&&(l=t.data.domProps=E({},l)),s)n in l||(a[n]="");for(n in l){if(o=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=o;var c=r(o)?"":String(o);ci(a,c)&&(a.value=c)}else if("innerHTML"===n&&Kn(a.tagName)&&r(a.innerHTML)){(ai=ai||document.createElement("div")).innerHTML=""+o+"";for(var u=ai.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(o!==s[n])try{a[n]=o}catch(e){}}}}function ci(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(i(r)){if(r.number)return p(n)!==p(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var ui={create:li,update:li},hi=_(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function di(e){var t=fi(e.style);return e.staticStyle?E(e.staticStyle,t):t}function fi(e){return Array.isArray(e)?M(e):"string"==typeof e?hi(e):e}var pi,Ai=/^--/,gi=/\s*!important$/,mi=function(e,t,n){if(Ai.test(t))e.style.setProperty(t,n);else if(gi.test(n))e.style.setProperty(k(t),n.replace(gi,""),"important");else{var r=yi(t);if(Array.isArray(n))for(var i=0,o=n.length;i-1?t.split(wi).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Ci(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(wi).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Si(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&E(t,ki(e.name||"v")),E(t,e),t}return"string"==typeof e?ki(e):void 0}}var ki=_(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),Bi=G&&!J,Ti="transition",Ei="animation",Mi="transition",Di="transitionend",Oi="animation",Ii="animationend";Bi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Mi="WebkitTransition",Di="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Oi="WebkitAnimation",Ii="webkitAnimationEnd"));var Li=G?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Pi(e){Li(function(){Li(e)})}function Fi(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),xi(e,t))}function Ri(e,t){e._transitionClasses&&v(e._transitionClasses,t),Ci(e,t)}function Ni(e,t,n){var r=Hi(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Ti?Di:Ii,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout(function(){l0&&(n=Ti,u=a,h=o.length):t===Ei?c>0&&(n=Ei,u=c,h=l.length):h=(n=(u=Math.max(a,c))>0?a>c?Ti:Ei:null)?n===Ti?o.length:l.length:0,{type:n,timeout:u,propCount:h,hasTransform:n===Ti&&ji.test(r[Mi+"Property"])}}function Ui(e,t){for(;e.length1}function Gi(e,t){!0!==t.data.show&&zi(t)}var Xi=function(e){var t,n,s={},l=e.modules,c=e.nodeOps;for(t=0;tp?y(e,r(n[m+1])?null:n[m+1].elm,n,f,m,o):f>m&&_(t,d,p)}(d,A,m,n,u):i(m)?(i(e.text)&&c.setTextContent(d,""),y(d,null,m,0,m.length-1,n)):i(A)?_(A,0,A.length-1):i(e.text)&&c.setTextContent(d,""):e.text!==t.text&&c.setTextContent(d,t.text),i(p)&&i(f=p.hook)&&i(f=f.postpatch)&&f(e,t)}}}function S(e,t,n){if(o(n)&&i(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r-1,a.selected!==o&&(a.selected=o);else if(L(qi(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Ji(e,t){return t.every(function(t){return!L(t,e)})}function qi(e){return"_value"in e?e._value:e.value}function eo(e){e.target.composing=!0}function to(e){e.target.composing&&(e.target.composing=!1,no(e.target,"input"))}function no(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function ro(e){return!e.componentInstance||e.data&&e.data.transition?e:ro(e.componentInstance._vnode)}var io={model:Zi,show:{bind:function(e,t,n){var r=t.value,i=(n=ro(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,zi(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=ro(n)).data&&n.data.transition?(n.data.show=!0,r?zi(n,function(){e.style.display=e.__vOriginalDisplay}):Yi(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},oo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ao(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?ao(Gt(t.children)):e}function so(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[x(o)]=i[o];return t}function lo(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var co=function(e){return e.tag||Wt(e)},uo=function(e){return"show"===e.name},ho={name:"transition",props:oo,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(co)).length){0;var r=this.mode;0;var i=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return i;var o=ao(i);if(!o)return i;if(this._leaving)return lo(e,i);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var l=(o.data||(o.data={})).transition=so(this),c=this._vnode,u=ao(c);if(o.data.directives&&o.data.directives.some(uo)&&(o.data.show=!0),u&&u.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,u)&&!Wt(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var h=u.data.transition=E({},l);if("out-in"===r)return this._leaving=!0,lt(h,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),lo(e,i);if("in-out"===r){if(Wt(o))return c;var d,f=function(){d()};lt(l,"afterEnter",f),lt(l,"enterCancelled",f),lt(h,"delayLeave",function(e){d=e})}}return i}}},fo=E({tag:String,moveClass:String},oo);function po(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Ao(e){e.data.newPos=e.elm.getBoundingClientRect()}function go(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete fo.mode;var mo={Transition:ho,TransitionGroup:{props:fo,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=qt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=so(this),s=0;s-1?er[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:er[e]=/HTMLUnknownElement/.test(t.toString())},E(kn.options.directives,io),E(kn.options.components,mo),kn.prototype.__patch__=G?Xi:D,kn.prototype.$mount=function(e,t){return function(e,t,n){return e.$el=t,e.$options.render||(e.$options.render=ve),nn(e,"beforeMount"),new An(e,function(){e._update(e._render(),n)},D,{before:function(){e._isMounted&&!e._isDestroyed&&nn(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,nn(e,"mounted")),e}(this,e=e&&G?nr(e):void 0,t)},G&&setTimeout(function(){H.devtools&&ae&&ae.emit("init",kn)},0);var vo=/\{\{((?:.|\r?\n)+?)\}\}/g,yo=/[-.*+?^${}()|[\]\/\\]/g,bo=_(function(e){var t=e[0].replace(yo,"\\$&"),n=e[1].replace(yo,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")});function _o(e,t){var n=t?bo(t):vo;if(n.test(e)){for(var r,i,o,a=[],s=[],l=n.lastIndex=0;r=n.exec(e);){(i=r.index)>l&&(s.push(o=e.slice(l,i)),a.push(JSON.stringify(o)));var c=Mr(r[1].trim());a.push("_s("+c+")"),s.push({"@binding":c}),l=i+r[0].length}return l\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Mo=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Do="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+U.source+"]*",Oo="((?:"+Do+"\\:)?"+Do+")",Io=new RegExp("^<"+Oo),Lo=/^\s*(\/?)>/,Po=new RegExp("^<\\/"+Oo+"[^>]*>"),Fo=/^]+>/i,Ro=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Qo=/&(?:lt|gt|quot|amp|#39);/g,zo=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Yo=A("pre,textarea",!0),Vo=function(e,t){return e&&Yo(e)&&"\n"===t[0]};function Wo(e,t){var n=t?zo:Qo;return e.replace(n,function(e){return Uo[e]})}var Go,Xo,Zo,$o,Ko,Jo,qo,ea,ta=/^@|^v-on:/,na=/^v-|^@|^:|^#/,ra=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,ia=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,oa=/^\(|\)$/g,aa=/^\[.*\]$/,sa=/:(.*)$/,la=/^:|^\.|^v-bind:/,ca=/\.[^.\]]+(?=[^\]]*$)/g,ua=/^v-slot(:|$)|^#/,ha=/[\r\n]/,da=/\s+/g,fa=_(So),pa="_empty_";function Aa(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:function(e){for(var t={},n=0,r=e.length;n]*>)","i")),d=e.replace(h,function(e,n,r){return c=r.length,jo(u)||"noscript"===u||(n=n.replace(//g,"$1").replace(//g,"$1")),Vo(u,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});l+=e.length-d.length,e=d,k(u,l-c,l)}else{var f=e.indexOf("<");if(0===f){if(Ro.test(e)){var p=e.indexOf("--\x3e");if(p>=0){t.shouldKeepComment&&t.comment(e.substring(4,p),l,l+p+3),x(p+3);continue}}if(No.test(e)){var A=e.indexOf("]>");if(A>=0){x(A+2);continue}}var g=e.match(Fo);if(g){x(g[0].length);continue}var m=e.match(Po);if(m){var v=l;x(m[0].length),k(m[1],v,l);continue}var y=C();if(y){S(y),Vo(y.tagName,e)&&x(1);continue}}var b=void 0,_=void 0,w=void 0;if(f>=0){for(_=e.slice(f);!(Po.test(_)||Io.test(_)||Ro.test(_)||No.test(_)||(w=_.indexOf("<",1))<0);)f+=w,_=e.slice(f);b=e.substring(0,f)}f<0&&(b=e),b&&x(b.length),t.chars&&b&&t.chars(b,l-b.length,l)}if(e===n){t.chars&&t.chars(e);break}}function x(t){l+=t,e=e.substring(t)}function C(){var t=e.match(Io);if(t){var n,r,i={tagName:t[1],attrs:[],start:l};for(x(t[0].length);!(n=e.match(Lo))&&(r=e.match(Mo)||e.match(Eo));)r.start=l,x(r[0].length),r.end=l,i.attrs.push(r);if(n)return i.unarySlash=n[1],x(n[0].length),i.end=l,i}}function S(e){var n=e.tagName,l=e.unarySlash;o&&("p"===r&&To(n)&&k(r),s(n)&&r===n&&k(n));for(var c=a(n)||!!l,u=e.attrs.length,h=new Array(u),d=0;d=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var c=i.length-1;c>=a;c--)t.end&&t.end(i[c].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,o):"p"===s&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}k()}(e,{warn:Go,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,n,a,s,h){var d=i&&i.ns||ea(e);K&&"svg"===d&&(n=function(e){for(var t=[],n=0;n-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),jr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Wr(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Wr(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Wr(t,"$$c")+"}",null,!0)}(e,r,i);else if("input"===o&&"radio"===a)!function(e,t,n){var r=n&&n.number,i=Ur(e,"value")||"null";Lr(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),jr(e,"change",Wr(t,i),null,!0)}(e,r,i);else if("input"===o||"textarea"===o)!function(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,l=!o&&"range"!==r,c=o?"change":"range"===r?qr:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n("+u+")");var h=Wr(t,u);l&&(h="if($event.target.composing)return;"+h),Lr(e,"value","("+t+")"),jr(e,c,h,null,!0),(s||a)&&jr(e,"blur","$forceUpdate()")}(e,r,i);else if(!H.isReservedTag(o))return Vr(e,r,i),!1;return!0},text:function(e,t){t.value&&Lr(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Lr(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:ko,mustUseProp:Fn,canBeLeftOpenTag:Bo,isReservedTag:Jn,getTagNamespace:qn,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(Sa)},Ea=_(function(e){return A("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))});function Ma(e,t){e&&(ka=Ea(t.staticKeys||""),Ba=t.isReservedTag||O,function e(t){t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||g(e.tag)||!Ba(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(ka)))}(t);if(1===t.type){if(!Ba(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n|^function(?:\s+[\w$]+)?\s*\(/,Oa=/\([^)]*?\);*$/,Ia=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,La={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Pa={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Fa=function(e){return"if("+e+")return null;"},Ra={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Fa("$event.target !== $event.currentTarget"),ctrl:Fa("!$event.ctrlKey"),shift:Fa("!$event.shiftKey"),alt:Fa("!$event.altKey"),meta:Fa("!$event.metaKey"),left:Fa("'button' in $event && $event.button !== 0"),middle:Fa("'button' in $event && $event.button !== 1"),right:Fa("'button' in $event && $event.button !== 2")};function Na(e,t){var n=t?"nativeOn:":"on:",r="",i="";for(var o in e){var a=ja(e[o]);e[o]&&e[o].dynamic?i+=o+","+a+",":r+='"'+o+'":'+a+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function ja(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return ja(e)}).join(",")+"]";var t=Ia.test(e.value),n=Da.test(e.value),r=Ia.test(e.value.replace(Oa,""));if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(Ra[s])o+=Ra[s],La[s]&&a.push(s);else if("exact"===s){var l=e.modifiers;o+=Fa(["ctrl","shift","alt","meta"].filter(function(e){return!l[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(i+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Ha).join("&&")+")return null;"}(a)),o&&(i+=o),"function($event){"+i+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Ha(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=La[e],r=Pa[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Ua={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:D},Qa=function(e){this.options=e,this.warn=e.warn||Or,this.transforms=Ir(e.modules,"transformCode"),this.dataGenFns=Ir(e.modules,"genData"),this.directives=E(E({},Ua),e.directives);var t=e.isReservedTag||O;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function za(e,t){var n=new Qa(t);return{render:"with(this){return "+(e?Ya(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ya(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Va(e,t);if(e.once&&!e.onceProcessed)return Wa(e,t);if(e.for&&!e.forProcessed)return Xa(e,t);if(e.if&&!e.ifProcessed)return Ga(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=Ja(e,t),i="_t("+n+(r?","+r:""),o=e.attrs||e.dynamicAttrs?ts((e.attrs||[]).concat(e.dynamicAttrs||[]).map(function(e){return{name:x(e.name),value:e.value,dynamic:e.dynamic}})):null,a=e.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:Ja(t,n,!0);return"_c("+e+","+Za(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=Za(e,t));var i=e.inlineTemplate?null:Ja(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o>>0}(a):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=function(e,t){var n=e.children[0];0;if(n&&1===n.type){var r=za(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+ts(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function $a(e){return 1===e.type&&("slot"===e.tag||e.children.some($a))}function Ka(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Ga(e,t,Ka,"null");if(e.for&&!e.forProcessed)return Xa(e,t,Ka);var r=e.slotScope===pa?"":String(e.slotScope),i="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(Ja(e,t)||"undefined")+":undefined":Ja(e,t)||"undefined":Ya(e,t))+"}",o=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+o+"}"}function Ja(e,t,n,r,i){var o=e.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(r||Ya)(a,t)+s}var l=n?function(e,t){for(var n=0,r=0;r':'
',as.innerHTML.indexOf(" ")>0}var us=!!G&&cs(!1),hs=!!G&&cs(!0),ds=_(function(e){var t=nr(e);return t&&t.innerHTML}),fs=kn.prototype.$mount;kn.prototype.$mount=function(e,t){if((e=e&&nr(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ds(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){0;var i=ls(r,{outputSourceRange:!1,shouldDecodeNewlines:us,shouldDecodeNewlinesForHref:hs,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return fs.call(this,e,t)},kn.compile=ls,t.default=kn}.call(t,n("DuR2"))},"76UX":function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=n("9MlZ");e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&i())))}},"77Pl":function(e,t,n){var r=n("EqjI");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},"7Doy":function(e,t,n){var r=n("EqjI"),i=n("7UMu"),o=n("dSzd")("species");e.exports=function(e){var t;return i(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},"7GwW":function(e,t,n){"use strict";var r=n("cGG2"),i=n("21It"),o=n("p1b6"),a=n("DQCr"),s=n("Oi+a"),l=n("oJlt"),c=n("GHBc"),u=n("FtD3");e.exports=function(e){return new Promise(function(t,n){var h=e.data,d=e.headers;r.isFormData(h)&&delete d["Content-Type"];var f=new XMLHttpRequest;if(e.auth){var p=e.auth.username||"",A=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";d.Authorization="Basic "+btoa(p+":"+A)}var g=s(e.baseURL,e.url);if(f.open(e.method.toUpperCase(),a(g,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in f?l(f.getAllResponseHeaders()):null,o={data:e.responseType&&"text"!==e.responseType?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:r,config:e,request:f};i(t,n,o),f=null}},f.onabort=function(){f&&(n(u("Request aborted",e,"ECONNABORTED",f)),f=null)},f.onerror=function(){n(u("Network Error",e,null,f)),f=null},f.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,"ECONNABORTED",f)),f=null},r.isStandardBrowserEnv()){var m=(e.withCredentials||c(g))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;m&&(d[e.xsrfHeaderName]=m)}if("setRequestHeader"in f&&r.forEach(d,function(e,t){void 0===h&&"content-type"===t.toLowerCase()?delete d[t]:f.setRequestHeader(t,e)}),r.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),e.responseType)try{f.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){f&&(f.abort(),n(e),f=null)}),h||(h=null),f.send(h)})}},"7J9s":function(e,t,n){"use strict";t.__esModule=!0,t.PopupManager=void 0;var r=l(n("7+uW")),i=l(n("jmaC")),o=l(n("OAzY")),a=l(n("6Twh")),s=n("2kvA");function l(e){return e&&e.__esModule?e:{default:e}}var c=1,u=void 0;t.default={props:{visible:{type:Boolean,default:!1},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,default:!1},modalFade:{type:Boolean,default:!0},modalClass:{},modalAppendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!1}},beforeMount:function(){this._popupId="popup-"+c++,o.default.register(this._popupId,this)},beforeDestroy:function(){o.default.deregister(this._popupId),o.default.closeModal(this._popupId),this.restoreBodyStyle()},data:function(){return{opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0,rendered:!1}},watch:{visible:function(e){var t=this;if(e){if(this._opening)return;this.rendered?this.open():(this.rendered=!0,r.default.nextTick(function(){t.open()}))}else this.close()}},methods:{open:function(e){var t=this;this.rendered||(this.rendered=!0);var n=(0,i.default)({},this.$props||this,e);this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null),clearTimeout(this._openTimer);var r=Number(n.openDelay);r>0?this._openTimer=setTimeout(function(){t._openTimer=null,t.doOpen(n)},r):this.doOpen(n)},doOpen:function(e){if(!this.$isServer&&(!this.willOpen||this.willOpen())&&!this.opened){this._opening=!0;var t=this.$el,n=e.modal,r=e.zIndex;if(r&&(o.default.zIndex=r),n&&(this._closing&&(o.default.closeModal(this._popupId),this._closing=!1),o.default.openModal(this._popupId,o.default.nextZIndex(),this.modalAppendToBody?void 0:t,e.modalClass,e.modalFade),e.lockScroll)){this.withoutHiddenClass=!(0,s.hasClass)(document.body,"el-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt((0,s.getStyle)(document.body,"paddingRight"),10)),u=(0,a.default)();var i=document.documentElement.clientHeight0&&(i||"scroll"===l)&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+u+"px"),(0,s.addClass)(document.body,"el-popup-parent--hidden")}"static"===getComputedStyle(t).position&&(t.style.position="absolute"),t.style.zIndex=o.default.nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var e=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var t=Number(this.closeDelay);t>0?this._closeTimer=setTimeout(function(){e._closeTimer=null,e.doClose()},t):this.doClose()}},doClose:function(){this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose:function(){o.default.closeModal(this._popupId),this._closing=!1},restoreBodyStyle:function(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,(0,s.removeClass)(document.body,"el-popup-parent--hidden")),this.withoutHiddenClass=!0}}},t.PopupManager=o.default},"7KvD":function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"7UMu":function(e,t,n){var r=n("R9M2");e.exports=Array.isArray||function(e){return"Array"==r(e)}},"7ar3":function(e,t,n){"use strict";var r=SyntaxError,i=Function,o=TypeError,a=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch(e){s=null}var l=function(){throw new o},c=s?function(){try{return arguments.callee,l}catch(e){try{return s(arguments,"callee").get}catch(e){return l}}}():l,u=n("76UX")(),h=Object.getPrototypeOf||function(e){return e.__proto__},d={},f="undefined"==typeof Uint8Array?void 0:h(Uint8Array),p={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":u?h([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":d,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?h(h([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&u?h((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&u?h((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?h(""[Symbol.iterator]()):void 0,"%Symbol%":u?Symbol:void 0,"%SyntaxError%":r,"%ThrowTypeError%":c,"%TypedArray%":f,"%TypeError%":o,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},A={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},g=n("PiFy"),m=n("XfW5"),v=g.call(Function.call,Array.prototype.concat),y=g.call(Function.apply,Array.prototype.splice),b=g.call(Function.call,String.prototype.replace),_=g.call(Function.call,String.prototype.slice),w=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,x=/\\(\\)?/g,C=function(e,t){var n,i=e;if(m(A,i)&&(i="%"+(n=A[i])[0]+"%"),m(p,i)){var s=p[i];if(s===d&&(s=function e(t){var n;if("%AsyncFunction%"===t)n=a("async function () {}");else if("%GeneratorFunction%"===t)n=a("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=a("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&(n=h(i.prototype))}return p[t]=n,n}(i)),void 0===s&&!t)throw new o("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:i,value:s}}throw new r("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new o('"allowMissing" argument must be a boolean');var n=function(e){var t=_(e,0,1),n=_(e,-1);if("%"===t&&"%"!==n)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new r("invalid intrinsic syntax, expected opening `%`");var i=[];return b(e,w,function(e,t,n,r){i[i.length]=n?b(r,x,"$1"):t||e}),i}(e),i=n.length>0?n[0]:"",a=C("%"+i+"%",t),l=a.name,c=a.value,u=!1,h=a.alias;h&&(i=h[0],y(n,v([0,1],h)));for(var d=1,f=!0;d=n.length){var k=s(c,A);c=(f=!!k)&&"get"in k&&!("originalValue"in k.get)?k.get:c[A]}else f=m(c,A),c=c[A];f&&!u&&(p[l]=c)}}return c}},"7t+N":function(e,t,n){var r; /*! * jQuery JavaScript Library v3.6.0 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright OpenJS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2021-03-02T17:08Z */ /*! * jQuery JavaScript Library v3.6.0 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright OpenJS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2021-03-02T17:08Z */ !function(t,n){"use strict";"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,i){"use strict";var o=[],a=Object.getPrototypeOf,s=o.slice,l=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},c=o.push,u=o.indexOf,h={},d=h.toString,f=h.hasOwnProperty,p=f.toString,A=p.call(Object),g={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},v=function(e){return null!=e&&e===e.window},y=n.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function _(e,t,n){var r,i,o=(n=n||y).createElement("script");if(o.text=e,t)for(r in b)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?h[d.call(e)]||"object":typeof e}var x=function(e,t){return new x.fn.init(e,t)};function C(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!v(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}x.fn=x.prototype={jquery:"3.6.0",constructor:x,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return x.each(this,e)},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(x.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+R+")"+R+"*"),V=new RegExp(R+"|>"),W=new RegExp(H),G=new RegExp("^"+N+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N+"|[*])"),ATTR:new RegExp("^"+j),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+F+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},Z=/HTML$/i,$=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){d()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{I.apply(M=L.call(_.childNodes),_.childNodes),M[_.childNodes.length].nodeType}catch(e){I={apply:M.length?function(e,t){O.apply(e,L.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,i){var o,s,c,u,h,p,m,v=t&&t.ownerDocument,_=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==_&&9!==_&&11!==_)return r;if(!i&&(d(t),t=t||f,A)){if(11!==_&&(h=q.exec(e)))if(o=h[1]){if(9===_){if(!(c=t.getElementById(o)))return r;if(c.id===o)return r.push(c),r}else if(v&&(c=v.getElementById(o))&&y(t,c)&&c.id===o)return r.push(c),r}else{if(h[2])return I.apply(r,t.getElementsByTagName(e)),r;if((o=h[3])&&n.getElementsByClassName&&t.getElementsByClassName)return I.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!B[e+" "]&&(!g||!g.test(e))&&(1!==_||"object"!==t.nodeName.toLowerCase())){if(m=e,v=t,1===_&&(V.test(e)||Y.test(e))){for((v=ee.test(e)&&me(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(re,ie):t.setAttribute("id",u=b)),s=(p=a(e)).length;s--;)p[s]=(u?"#"+u:":scope")+" "+ye(p[s]);m=p.join(",")}try{return I.apply(r,v.querySelectorAll(m)),r}catch(t){B(e,!0)}finally{u===b&&t.removeAttribute("id")}}}return l(e.replace(Q,"$1"),t,r,i)}function le(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function ce(e){return e[b]=!0,e}function ue(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function he(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function de(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function Ae(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ce(function(t){return t=+t,ce(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function me(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},o=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Z.test(t||n&&n.nodeName||"HTML")},d=se.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:_;return a!=f&&9===a.nodeType&&a.documentElement?(p=(f=a).documentElement,A=!o(f),_!=f&&(i=f.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),n.scope=ue(function(e){return p.appendChild(e).appendChild(f.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=J.test(f.getElementsByClassName),n.getById=ue(function(e){return p.appendChild(e).id=b,!f.getElementsByName||!f.getElementsByName(b).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&A){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&A){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&A)return t.getElementsByClassName(e)},m=[],g=[],(n.qsa=J.test(f.querySelectorAll))&&(ue(function(e){var t;p.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+R+"*(?:value|"+F+")"),e.querySelectorAll("[id~="+b+"-]").length||g.push("~="),(t=f.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\["+R+"*name"+R+"*="+R+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")}),ue(function(e){e.innerHTML="";var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+R+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=J.test(v=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),m.push("!=",H)}),g=g.length&&new RegExp(g.join("|")),m=m.length&&new RegExp(m.join("|")),t=J.test(p.compareDocumentPosition),y=t||J.test(p.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},T=t?function(e,t){if(e===t)return h=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==f||e.ownerDocument==_&&y(_,e)?-1:t==f||t.ownerDocument==_&&y(_,t)?1:u?P(u,e)-P(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return h=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==f?-1:t==f?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return de(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?de(a[r],s[r]):a[r]==_?-1:s[r]==_?1:0},f):f},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(d(e),n.matchesSelector&&A&&!B[t+" "]&&(!m||!m.test(t))&&(!g||!g.test(t)))try{var r=v.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){B(t,!0)}return se(t,f,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=f&&d(e),y(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=f&&d(e);var i=r.attrHandle[t.toLowerCase()],o=i&&E.call(r.attrHandle,t.toLowerCase())?i(e,t,!A):void 0;return void 0!==o?o:n.attributes||!A?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],i=0,o=0;if(h=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(T),h){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return u=null,e},i=se.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=se.selectors={cacheLength:50,createPseudo:ce,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return X.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&C(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=se.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(U," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var c,u,h,d,f,p,A=o!==a?"nextSibling":"previousSibling",g=t.parentNode,m=s&&t.nodeName.toLowerCase(),v=!l&&!s,y=!1;if(g){if(o){for(;A;){for(d=t;d=d[A];)if(s?d.nodeName.toLowerCase()===m:1===d.nodeType)return!1;p=A="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&v){for(y=(f=(c=(u=(h=(d=g)[b]||(d[b]={}))[d.uniqueID]||(h[d.uniqueID]={}))[e]||[])[0]===w&&c[1])&&c[2],d=f&&g.childNodes[f];d=++f&&d&&d[A]||(y=f=0)||p.pop();)if(1===d.nodeType&&++y&&d===t){u[e]=[w,f,y];break}}else if(v&&(y=f=(c=(u=(h=(d=t)[b]||(d[b]={}))[d.uniqueID]||(h[d.uniqueID]={}))[e]||[])[0]===w&&c[1]),!1===y)for(;(d=++f&&d&&d[A]||(y=f=0)||p.pop())&&((s?d.nodeName.toLowerCase()!==m:1!==d.nodeType)||!++y||(v&&((u=(h=d[b]||(d[b]={}))[d.uniqueID]||(h[d.uniqueID]={}))[e]=[w,y]),d!==t)););return(y-=i)===r||y%r==0&&y/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ce(function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=P(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:ce(function(e){var t=[],n=[],r=s(e.replace(Q,"$1"));return r[b]?ce(function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:ce(function(e){return function(t){return se(e,t).length>0}}),contains:ce(function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}}),lang:ce(function(e){return G.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=A?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:Ae(!1),disabled:Ae(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return K.test(e.nodeName)},input:function(e){return $.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge(function(){return[0]}),last:ge(function(e,t){return[t-1]}),eq:ge(function(e,t,n){return[n<0?n+t:n]}),even:ge(function(e,t){for(var n=0;nt?t:n;--r>=0;)e.push(r);return e}),gt:ge(function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function we(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,c=null!=t;s-1&&(o[c]=!(a[c]=h))}}else m=we(m===a?m.splice(p,m.length):m),i?i(null,a,m,l):I.apply(a,m)})}function Ce(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],l=a?1:0,u=be(function(e){return e===t},s,!0),h=be(function(e){return P(t,e)>-1},s,!0),d=[function(e,n,r){var i=!a&&(r||n!==c)||((t=n).nodeType?u(e,n,r):h(e,n,r));return t=null,i}];l1&&_e(d),l>1&&ye(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(Q,"$1"),n,l0,i=e.length>0,o=function(o,a,s,l,u){var h,p,g,m=0,v="0",y=o&&[],b=[],_=c,x=o||i&&r.find.TAG("*",u),C=w+=null==_?1:Math.random()||.1,S=x.length;for(u&&(c=a==f||a||u);v!==S&&null!=(h=x[v]);v++){if(i&&h){for(p=0,a||h.ownerDocument==f||(d(h),s=!A);g=e[p++];)if(g(h,a||f,s)){l.push(h);break}u&&(w=C)}n&&((h=!g&&h)&&m--,o&&y.push(h))}if(m+=v,n&&v!==m){for(p=0;g=t[p++];)g(y,b,a,s);if(o){if(m>0)for(;v--;)y[v]||b[v]||(b[v]=D.call(l));b=we(b)}I.apply(l,b),u&&!o&&b.length>0&&m+t.length>1&&se.uniqueSort(l)}return u&&(w=C,c=_),y};return n?ce(o):o}(o,i))).selector=e}return s},l=se.select=function(e,t,n,i){var o,l,c,u,h,d="function"==typeof e&&e,f=!i&&a(e=d.selector||e);if(n=n||[],1===f.length){if((l=f[0]=f[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===t.nodeType&&A&&r.relative[l[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(o=X.needsContext.test(e)?0:l.length;o--&&(c=l[o],!r.relative[u=c.type]);)if((h=r.find[u])&&(i=h(c.matches[0].replace(te,ne),ee.test(l[0].type)&&me(t.parentNode)||t))){if(l.splice(o,1),!(e=i.length&&ye(l)))return I.apply(n,i),n;break}}return(d||s(e,f))(i,t,!A,n,!t||ee.test(e)&&me(t.parentNode)||t),n},n.sortStable=b.split("").sort(T).join("")===b,n.detectDuplicates=!!h,d(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))}),ue(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||he("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||he("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||he(F,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),se}(n);x.find=S,x.expr=S.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=S.uniqueSort,x.text=S.getText,x.isXMLDoc=S.isXML,x.contains=S.contains,x.escapeSelector=S.escape;var k=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&x(e).is(n))break;r.push(e)}return r},B=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},T=x.expr.match.needsContext;function E(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var M=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(e,t,n){return m(t)?x.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?x.grep(e,function(e){return e===t!==n}):"string"!=typeof t?x.grep(e,function(e){return u.call(t,e)>-1!==n}):x.filter(t,e,n)}x.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},x.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;t1?x.uniqueSort(n):n},filter:function(e){return this.pushStack(D(this,e||[],!1))},not:function(e){return this.pushStack(D(this,e||[],!0))},is:function(e){return!!D(this,"string"==typeof e&&T.test(e)?x(e):e||[],!1).length}});var O,I=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||O,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:I.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof x?t[0]:t,x.merge(this,x.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:y,!0)),M.test(r[1])&&x.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=y.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(x):x.makeArray(e,this)}).prototype=x.fn,O=x(y);var L=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};function F(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}x.fn.extend({has:function(e){var t=x(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&x.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?x.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(x(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return k(e,"parentNode")},parentsUntil:function(e,t,n){return k(e,"parentNode",n)},next:function(e){return F(e,"nextSibling")},prev:function(e){return F(e,"previousSibling")},nextAll:function(e){return k(e,"nextSibling")},prevAll:function(e){return k(e,"previousSibling")},nextUntil:function(e,t,n){return k(e,"nextSibling",n)},prevUntil:function(e,t,n){return k(e,"previousSibling",n)},siblings:function(e){return B((e.parentNode||{}).firstChild,e)},children:function(e){return B(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(E(e,"template")&&(e=e.content||e),x.merge([],e.childNodes))}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(P[e]||x.uniqueSort(i),L.test(e)&&i.reverse()),this.pushStack(i)}});var R=/[^\x20\t\r\n\f]+/g;function N(e){return e}function j(e){throw e}function H(e,t,n,r){var i;try{e&&m(i=e.promise)?i.call(e).done(t).fail(n):e&&m(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}x.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return x.each(e.match(R)||[],function(e,n){t[n]=!0}),t}(e):x.extend({},e);var t,n,r,i,o=[],a=[],s=-1,l=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s-1;)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?x.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},x.extend({Deferred:function(e){var t=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,r){var i=m(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&m(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(e,r,i){var o=0;function a(e,t,r,i){return function(){var s=this,l=arguments,c=function(){var n,c;if(!(e=o&&(r!==j&&(s=void 0,l=[n]),t.rejectWith(s,l))}};e?u():(x.Deferred.getStackHook&&(u.stackTrace=x.Deferred.getStackHook()),n.setTimeout(u))}}return x.Deferred(function(n){t[0][3].add(a(0,n,m(i)?i:N,n.notifyWith)),t[1][3].add(a(0,n,m(e)?e:N)),t[2][3].add(a(0,n,m(r)?r:j))}).promise()},promise:function(e){return null!=e?x.extend(e,i):i}},o={};return x.each(t,function(e,n){var a=n[2],s=n[5];i[n[1]]=a.add,s&&a.add(function(){r=s},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith}),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=s.call(arguments),o=x.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?s.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(H(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||m(i[n]&&i[n].then)))return o.then();for(;n--;)H(i[n],a(n),o.reject);return o.promise()}});var U=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&U.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},x.readyException=function(e){n.setTimeout(function(){throw e})};var Q=x.Deferred();function z(){y.removeEventListener("DOMContentLoaded",z),n.removeEventListener("load",z),x.ready()}x.fn.ready=function(e){return Q.then(e).catch(function(e){x.readyException(e)}),this},x.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--x.readyWait:x.isReady)||(x.isReady=!0,!0!==e&&--x.readyWait>0||Q.resolveWith(y,[x]))}}),x.ready.then=Q.then,"complete"===y.readyState||"loading"!==y.readyState&&!y.documentElement.doScroll?n.setTimeout(x.ready):(y.addEventListener("DOMContentLoaded",z),n.addEventListener("load",z));var Y=function(e,t,n,r,i,o,a){var s=0,l=e.length,c=null==n;if("object"===w(n))for(s in i=!0,n)Y(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,m(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(x(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each(function(){J.remove(this,e)})}}),x.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=K.get(e,t),n&&(!r||Array.isArray(n)?r=K.access(e,t,x.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){x.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return K.get(e,n)||K.access(e,n,{empty:x.Callbacks("once memory").add(function(){K.remove(e,[t+"queue",n])})})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,me=/^$|^module$|\/(?:java|ecma)script/i;fe=y.createDocumentFragment().appendChild(y.createElement("div")),(pe=y.createElement("input")).setAttribute("type","radio"),pe.setAttribute("checked","checked"),pe.setAttribute("name","t"),fe.appendChild(pe),g.checkClone=fe.cloneNode(!0).cloneNode(!0).lastChild.checked,fe.innerHTML="",g.noCloneChecked=!!fe.cloneNode(!0).lastChild.defaultValue,fe.innerHTML="",g.option=!!fe.lastChild;var ve={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ye(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&E(e,t)?x.merge([e],n):n}function be(e,t){for(var n=0,r=e.length;n",""]);var _e=/<|&#?\w+;/;function we(e,t,n,r,i){for(var o,a,s,l,c,u,h=t.createDocumentFragment(),d=[],f=0,p=e.length;f-1)i&&i.push(o);else if(c=ae(o),a=ye(h.appendChild(o),"script"),c&&be(a),n)for(u=0;o=a[u++];)me.test(o.type||"")&&n.push(o);return h}var xe=/^([^.]*)(?:\.(.+)|)/;function Ce(){return!0}function Se(){return!1}function ke(e,t){return e===function(){try{return y.activeElement}catch(e){}}()==("focus"===t)}function Be(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Be(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return x().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=x.guid++)),e.each(function(){x.event.add(this,t,i,r,n)})}function Te(e,t,n){n?(K.set(e,t,!1),x.event.add(e,t,{namespace:!1,handler:function(e){var r,i,o=K.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(x.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=s.call(arguments),K.set(this,t,o),r=n(this,t),this[t](),o!==(i=K.get(this,t))||r?K.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i&&i.value}else o.length&&(K.set(this,t,{value:x.event.trigger(x.extend(o[0],x.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===K.get(e,t)&&x.event.add(e,t,Ce)}x.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,c,u,h,d,f,p,A,g=K.get(e);if(Z(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&x.find.matchesSelector(oe,i),n.guid||(n.guid=x.guid++),(l=g.events)||(l=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return void 0!==x&&x.event.triggered!==t.type?x.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(R)||[""]).length;c--;)f=A=(s=xe.exec(t[c])||[])[1],p=(s[2]||"").split(".").sort(),f&&(h=x.event.special[f]||{},f=(i?h.delegateType:h.bindType)||f,h=x.event.special[f]||{},u=x.extend({type:f,origType:A,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&x.expr.match.needsContext.test(i),namespace:p.join(".")},o),(d=l[f])||((d=l[f]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(e,r,p,a)||e.addEventListener&&e.addEventListener(f,a)),h.add&&(h.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,u):d.push(u),x.event.global[f]=!0)},remove:function(e,t,n,r,i){var o,a,s,l,c,u,h,d,f,p,A,g=K.hasData(e)&&K.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(R)||[""]).length;c--;)if(f=A=(s=xe.exec(t[c])||[])[1],p=(s[2]||"").split(".").sort(),f){for(h=x.event.special[f]||{},d=l[f=(r?h.delegateType:h.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)u=d[o],!i&&A!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(d.splice(o,1),u.selector&&d.delegateCount--,h.remove&&h.remove.call(e,u));a&&!d.length&&(h.teardown&&!1!==h.teardown.call(e,p,g.handle)||x.removeEvent(e,f,g.handle),delete l[f])}else for(f in l)x.event.remove(e,f+t[c],n,r,!0);x.isEmptyObject(l)&&K.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),l=x.event.fix(e),c=(K.get(this,"events")||Object.create(null))[l.type]||[],u=x.event.special[l.type]||{};for(s[0]=l,t=1;t=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],a={},n=0;n-1:x.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&s.push({elem:c,handlers:o})}return c=this,l\s*$/g;function Oe(e,t){return E(e,"table")&&E(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Le(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Pe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(K.hasData(e)&&(s=K.get(e).events))for(i in K.remove(t,"handle events"),s)for(n=0,r=s[i].length;n1&&"string"==typeof p&&!g.checkClone&&Me.test(p))return e.each(function(i){var o=e.eq(i);A&&(t[0]=p.call(this,i,o.html())),Fe(o,t,n,r)});if(d&&(o=(i=we(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=x.map(ye(i,"script"),Ie)).length;h0&&be(a,!h&&ye(e,"script")),u},cleanData:function(e){for(var t,n,r,i=x.event.special,o=0;void 0!==(n=e[o]);o++)if(Z(n)){if(t=n[K.expando]){if(t.events)for(r in t.events)i[r]?x.event.remove(n,r):x.removeEvent(n,r,t.handle);n[K.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),x.fn.extend({detach:function(e){return Re(this,e,!0)},remove:function(e){return Re(this,e)},text:function(e){return Y(this,function(e){return void 0===e?x.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Fe(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Oe(this,e).appendChild(e)})},prepend:function(){return Fe(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Oe(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Fe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Fe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return Y(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ee.test(e)&&!ve[(ge.exec(e)||["",""])[1].toLowerCase()]){e=x.htmlPrefilter(e);try{for(;n=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-s-.5))||0),l}function et(e,t,n){var r=je(e),i=(!g.boxSizingReliable()||n)&&"border-box"===x.css(e,"boxSizing",!1,r),o=i,a=Qe(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ne.test(a)){if(!n)return a;a="auto"}return(!g.boxSizingReliable()&&i||!g.reliableTrDimensions()&&E(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===x.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===x.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+qe(e,t,n||(i?"border":"content"),o,r,a)+"px"}function tt(e,t,n,r,i){return new tt.prototype.init(e,t,n,r,i)}x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=X(t),l=Ze.test(t),c=e.style;if(l||(t=Ge(s)),a=x.cssHooks[t]||x.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:c[t];"string"===(o=typeof n)&&(i=re.exec(n))&&i[1]&&(n=ce(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=i&&i[3]||(x.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,a,s=X(t);return Ze.test(t)||(t=Ge(s)),(a=x.cssHooks[t]||x.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Qe(e,t,r)),"normal"===i&&t in Ke&&(i=Ke[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),x.each(["height","width"],function(e,t){x.cssHooks[t]={get:function(e,n,r){if(n)return!Xe.test(x.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,t,r):He(e,$e,function(){return et(e,t,r)})},set:function(e,n,r){var i,o=je(e),a=!g.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===x.css(e,"boxSizing",!1,o),l=r?qe(e,t,r,s,o):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-qe(e,t,"border",!1,o)-.5)),l&&(i=re.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=x.css(e,t)),Je(0,n,l)}}}),x.cssHooks.marginLeft=ze(g.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Qe(e,"marginLeft"))||e.getBoundingClientRect().left-He(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),x.each({margin:"",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+ie[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(x.cssHooks[e+t].set=Je)}),x.fn.extend({css:function(e,t){return Y(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=je(e),i=t.length;a1)}}),x.Tween=tt,tt.prototype={constructor:tt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||x.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=tt.propHooks[this.prop];return e&&e.get?e.get(this):tt.propHooks._default.get(this)},run:function(e){var t,n=tt.propHooks[this.prop];return this.options.duration?this.pos=t=x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):tt.propHooks._default.set(this),this}},tt.prototype.init.prototype=tt.prototype,tt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=x.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):1!==e.elem.nodeType||!x.cssHooks[e.prop]&&null==e.elem.style[Ge(e.prop)]?e.elem[e.prop]=e.now:x.style(e.elem,e.prop,e.now+e.unit)}}},tt.propHooks.scrollTop=tt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},x.fx=tt.prototype.init,x.fx.step={};var nt,rt,it=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function at(){rt&&(!1===y.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(at):n.setTimeout(at,x.fx.interval),x.fx.tick())}function st(){return n.setTimeout(function(){nt=void 0}),nt=Date.now()}function lt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ie[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ct(e,t,n){for(var r,i=(ut.tweeners[t]||[]).concat(ut.tweeners["*"]),o=0,a=i.length;o1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})}}),x.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?x.prop(e,t,n):(1===o&&x.isXMLDoc(e)||(i=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?ht:void 0)),void 0!==n?null===n?void x.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=x.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&E(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(R);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),ht={set:function(e,t,n){return!1===t?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,t){var n=dt[t]||x.find.attr;dt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=dt[a],dt[a]=i,i=null!=n(e,t,r)?a:null,dt[a]=o),i}});var ft=/^(?:input|select|textarea|button)$/i,pt=/^(?:a|area)$/i;function At(e){return(e.match(R)||[]).join(" ")}function gt(e){return e.getAttribute&&e.getAttribute("class")||""}function mt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(R)||[]}x.fn.extend({prop:function(e,t){return Y(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[x.propFix[e]||e]})}}),x.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&x.isXMLDoc(e)||(t=x.propFix[t]||t,i=x.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):ft.test(e.nodeName)||pt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,l=0;if(m(e))return this.each(function(t){x(this).addClass(e.call(this,t,gt(this)))});if((t=mt(e)).length)for(;n=this[l++];)if(i=gt(n),r=1===n.nodeType&&" "+At(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=At(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,l=0;if(m(e))return this.each(function(t){x(this).removeClass(e.call(this,t,gt(this)))});if(!arguments.length)return this.attr("class","");if((t=mt(e)).length)for(;n=this[l++];)if(i=gt(n),r=1===n.nodeType&&" "+At(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(s=At(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):m(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,gt(this),t),t)}):this.each(function(){var t,i,o,a;if(r)for(i=0,o=x(this),a=mt(e);t=a[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=gt(this))&&K.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":K.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+At(gt(n))+" ").indexOf(t)>-1)return!0;return!1}});var vt=/\r/g;x.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=m(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,x(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=x.map(i,function(e){return null==e?"":e+""})),(t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=x.valHooks[i.type]||x.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(vt,""):null==n?"":n:void 0}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:At(x.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?o+1:i.length;for(r=o<0?l:a?o:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=x.inArray(x(e).val(),t)>-1}},g.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),g.focusin="onfocusin"in n;var yt=/^(?:focusinfocus|focusoutblur)$/,bt=function(e){e.stopPropagation()};x.extend(x.event,{trigger:function(e,t,r,i){var o,a,s,l,c,u,h,d,p=[r||y],A=f.call(e,"type")?e.type:e,g=f.call(e,"namespace")?e.namespace.split("."):[];if(a=d=s=r=r||y,3!==r.nodeType&&8!==r.nodeType&&!yt.test(A+x.event.triggered)&&(A.indexOf(".")>-1&&(A=(g=A.split(".")).shift(),g.sort()),c=A.indexOf(":")<0&&"on"+A,(e=e[x.expando]?e:new x.Event(A,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:x.makeArray(t,[e]),h=x.event.special[A]||{},i||!h.trigger||!1!==h.trigger.apply(r,t))){if(!i&&!h.noBubble&&!v(r)){for(l=h.delegateType||A,yt.test(l+A)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(r.ownerDocument||y)&&p.push(s.defaultView||s.parentWindow||n)}for(o=0;(a=p[o++])&&!e.isPropagationStopped();)d=a,e.type=o>1?l:h.bindType||A,(u=(K.get(a,"events")||Object.create(null))[e.type]&&K.get(a,"handle"))&&u.apply(a,t),(u=c&&a[c])&&u.apply&&Z(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=A,i||e.isDefaultPrevented()||h._default&&!1!==h._default.apply(p.pop(),t)||!Z(r)||c&&m(r[A])&&!v(r)&&((s=r[c])&&(r[c]=null),x.event.triggered=A,e.isPropagationStopped()&&d.addEventListener(A,bt),r[A](),e.isPropagationStopped()&&d.removeEventListener(A,bt),x.event.triggered=void 0,s&&(r[c]=s)),e.result}},simulate:function(e,t,n){var r=x.extend(new x.Event,n,{type:e,isSimulated:!0});x.event.trigger(r,null,t)}}),x.fn.extend({trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return x.event.trigger(e,t,n,!0)}}),g.focusin||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){x.event.simulate(t,e.target,x.event.fix(e))};x.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=K.access(r,t);i||r.addEventListener(e,n,!0),K.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=K.access(r,t)-1;i?K.access(r,t,i):(r.removeEventListener(e,n,!0),K.remove(r,t))}}});var _t=n.location,wt={guid:Date.now()},xt=/\?/;x.parseXML=function(e){var t,r;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){}return r=t&&t.getElementsByTagName("parsererror")[0],t&&!r||x.error("Invalid XML: "+(r?x.map(r.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Ct=/\[\]$/,St=/\r?\n/g,kt=/^(?:submit|button|image|reset|file)$/i,Bt=/^(?:input|select|textarea|keygen)/i;function Tt(e,t,n,r){var i;if(Array.isArray(t))x.each(t,function(t,i){n||Ct.test(e)?r(e,i):Tt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==w(t))r(e,t);else for(i in t)Tt(e+"["+i+"]",t[i],n,r)}x.param=function(e,t){var n,r=[],i=function(e,t){var n=m(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){i(this.name,this.value)});else for(n in e)Tt(n,e[n],t,i);return r.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&Bt.test(this.nodeName)&&!kt.test(e)&&(this.checked||!Ae.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:Array.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(St,"\r\n")}}):{name:t.name,value:n.replace(St,"\r\n")}}).get()}});var Et=/%20/g,Mt=/#.*$/,Dt=/([?&])_=[^&]*/,Ot=/^(.*?):[ \t]*([^\r\n]*)$/gm,It=/^(?:GET|HEAD)$/,Lt=/^\/\//,Pt={},Ft={},Rt="*/".concat("*"),Nt=y.createElement("a");function jt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(R)||[];if(m(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Ht(e,t,n,r){var i={},o=e===Ft;function a(s){var l;return i[s]=!0,x.each(e[s]||[],function(e,s){var c=s(t,n,r);return"string"!=typeof c||o||i[c]?o?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)}),l}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Ut(e,t){var n,r,i=x.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&x.extend(!0,e,r),e}Nt.href=_t.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:_t.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(_t.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Rt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ut(Ut(e,x.ajaxSettings),t):Ut(x.ajaxSettings,e)},ajaxPrefilter:jt(Pt),ajaxTransport:jt(Ft),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,a,s,l,c,u,h,d,f=x.ajaxSetup({},t),p=f.context||f,A=f.context&&(p.nodeType||p.jquery)?x(p):x.event,g=x.Deferred(),m=x.Callbacks("once memory"),v=f.statusCode||{},b={},_={},w="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Ot.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(e,t){return null==c&&(e=_[e.toLowerCase()]=_[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)C.always(e[C.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||w;return r&&r.abort(t),S(0,t),this}};if(g.promise(C),f.url=((e||f.url||_t.href)+"").replace(Lt,_t.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(R)||[""],null==f.crossDomain){l=y.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=Nt.protocol+"//"+Nt.host!=l.protocol+"//"+l.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=x.param(f.data,f.traditional)),Ht(Pt,f,t,C),c)return C;for(h in(u=x.event&&f.global)&&0==x.active++&&x.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!It.test(f.type),i=f.url.replace(Mt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Et,"+")):(d=f.url.slice(i.length),f.data&&(f.processData||"string"==typeof f.data)&&(i+=(xt.test(i)?"&":"?")+f.data,delete f.data),!1===f.cache&&(i=i.replace(Dt,"$1"),d=(xt.test(i)?"&":"?")+"_="+wt.guid+++d),f.url=i+d),f.ifModified&&(x.lastModified[i]&&C.setRequestHeader("If-Modified-Since",x.lastModified[i]),x.etag[i]&&C.setRequestHeader("If-None-Match",x.etag[i])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&C.setRequestHeader("Content-Type",f.contentType),C.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Rt+"; q=0.01":""):f.accepts["*"]),f.headers)C.setRequestHeader(h,f.headers[h]);if(f.beforeSend&&(!1===f.beforeSend.call(p,C,f)||c))return C.abort();if(w="abort",m.add(f.complete),C.done(f.success),C.fail(f.error),r=Ht(Ft,f,t,C)){if(C.readyState=1,u&&A.trigger("ajaxSend",[C,f]),c)return C;f.async&&f.timeout>0&&(s=n.setTimeout(function(){C.abort("timeout")},f.timeout));try{c=!1,r.send(b,S)}catch(e){if(c)throw e;S(-1,e)}}else S(-1,"No Transport");function S(e,t,a,l){var h,d,y,b,_,w=t;c||(c=!0,s&&n.clearTimeout(s),r=void 0,o=l||"",C.readyState=e>0?4:0,h=e>=200&&e<300||304===e,a&&(b=function(e,t,n){for(var r,i,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){l.unshift(i);break}if(l[0]in n)o=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}(f,C,a)),!h&&x.inArray("script",f.dataTypes)>-1&&x.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),b=function(e,t,n,r){var i,o,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=c[l+" "+o]||c["* "+o]))for(i in c)if((s=i.split(" "))[1]===o&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(f,b,C,h),h?(f.ifModified&&((_=C.getResponseHeader("Last-Modified"))&&(x.lastModified[i]=_),(_=C.getResponseHeader("etag"))&&(x.etag[i]=_)),204===e||"HEAD"===f.type?w="nocontent":304===e?w="notmodified":(w=b.state,d=b.data,h=!(y=b.error))):(y=w,!e&&w||(w="error",e<0&&(e=0))),C.status=e,C.statusText=(t||w)+"",h?g.resolveWith(p,[d,w,C]):g.rejectWith(p,[C,w,y]),C.statusCode(v),v=void 0,u&&A.trigger(h?"ajaxSuccess":"ajaxError",[C,f,h?d:y]),m.fireWith(p,[C,w]),u&&(A.trigger("ajaxComplete",[C,f]),--x.active||x.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,t){return x.get(e,void 0,t,"script")}}),x.each(["get","post"],function(e,t){x[t]=function(e,n,r,i){return m(n)&&(i=i||r,r=n,n=void 0),x.ajax(x.extend({url:e,type:t,dataType:i,data:n,success:r},x.isPlainObject(e)&&e))}}),x.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),x._evalUrl=function(e,t,n){return x.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){x.globalEval(e,t,n)}})},x.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return m(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=m(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){x(this).replaceWith(this.childNodes)}),this}}),x.expr.pseudos.hidden=function(e){return!x.expr.pseudos.visible(e)},x.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Qt={0:200,1223:204},zt=x.ajaxSettings.xhr();g.cors=!!zt&&"withCredentials"in zt,g.ajax=zt=!!zt,x.ajaxTransport(function(e){var t,r;if(g.cors||zt&&!e.crossDomain)return{send:function(i,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Qt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){t&&r()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),x.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),x.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=x("