(()=>{var t={7757:(t,e,i)=>{t.exports=i(5666)},457:(t,e,i)=>{"use strict";i.d(e,{Z:()=>r});var n=i(3645),o=i.n(n)()((function(t){return t[1]}));o.push([t.id,".carousel__next,.carousel__prev{align-items:center;background-color:var(--vc-nav-background-color);border:0;border-radius:var(--vc-nav-width);color:var(--vc-nav-color);cursor:pointer;display:flex;font-size:calc(var(--vc-nav-width)*2/3);height:var(--vc-nav-width);justify-content:center;padding:0;position:absolute;text-align:center;width:var(--vc-nav-width)}.carousel__prev{left:0;top:50%;transform:translate(-50%,-50%)}.carousel__next{right:0;top:50%;transform:translate(50%,-50%)}:root{--vc-clr-primary:#642afb;--vc-clr-secondary:#8e98f3;--vc-clr-white:#fff;--vc-icn-width:1.2em;--vc-nav-width:30px;--vc-nav-color:#fff;--vc-nav-background-color:var(--vc-clr-primary);--vc-pgn-width:10px;--vc-pgn-height:5px;--vc-pgn-margin:5px;--vc-pgn-border-radius:0;--vc-pgn-background-color:var(--vc-clr-secondary);--vc-pgn-active-color:var(--vc-clr-primary)}.carousel__icon{fill:currentColor;height:var(--vc-icn-width);width:var(--vc-icn-width)}.carousel__slide{align-items:center;display:flex;flex-shrink:0;justify-content:center;margin:0;position:relative;scroll-snap-stop:auto}.carousel{position:relative;text-align:center}.carousel,.carousel *{box-sizing:border-box}.carousel__track{display:flex;margin:0;padding:0;position:relative}.carousel__viewport{overflow:hidden}.carousel__pagination{display:flex;justify-content:center;list-style:none}.carousel__pagination-button{background-color:var(--vc-pgn-background-color);border:0;border-radius:var(--vc-pgn-height);cursor:pointer;height:var(--vc-pgn-height);margin:var(--vc-pgn-margin);width:var(--vc-pgn-width)}.carousel__pagination-button--active{background-color:var(--vc-pgn-active-color)}",""]);const r=o},1951:(t,e,i)=>{"use strict";i.d(e,{Z:()=>r});var n=i(3645),o=i.n(n)()((function(t){return t[1]}));o.push([t.id,".PricesCarousel[data-v-b097cbfc]{--PricesCarousel-color:#000;--PricesCarousel-border-color:#ddd;--PricesCarousel-bg-color:#f5f5f5;--PricesCarousel-color-red:#ff4e4d;--PricesCarousel-color-green:#27d17f;--PricesCarousel-next-arrow-url:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m13.072 3.702 7.754 7.8-7.756 7.756-.707-.707L18.914 12H3v-1h15.915l-6.552-6.593.71-.705z'/%3E%3C/svg%3E\");--PricesCarousel-previous-arrow-url:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M10.754 3.702 3 11.502l7.756 7.756.707-.707L4.912 12h15.914v-1H4.911l6.552-6.593-.71-.705z'/%3E%3C/svg%3E\")}.PricesCarousel__controls[data-v-b097cbfc]{-webkit-margin-after:34.5px;display:flex;margin-block-end:34.5px}.PricesCarousel__current-type-radios[data-v-b097cbfc]{display:none}.PricesCarousel__current-type-radios label[data-v-b097cbfc]{border-radius:9px;color:var(--PricesCarousel-color);cursor:pointer;font-size:17px;font-weight:500;padding:6px 12px}.PricesCarousel__current-type-radios label[data-v-b097cbfc]:not(:last-child){-webkit-margin-end:12px;margin-inline-end:12px}.PricesCarousel__current-type-radios input:checked+label[data-v-b097cbfc]{background-color:var(--PricesCarousel-bg-color)}.PricesCarousel__current-type-radios input[data-v-b097cbfc]{display:none}@media screen and (min-width:961px){.PricesCarousel__current-type-radios[data-v-b097cbfc]{display:flex}}.PricesCarousel__current-type-select[data-v-b097cbfc]{background-color:var(--PricesCarousel-bg-color);border:none;border-radius:9px;box-sizing:border-box;display:none;font-family:EuclidSquare;font-size:17px;padding:6px}@media screen and (max-width:960px){.PricesCarousel__current-type-select[data-v-b097cbfc]{display:block}}.AssetsCarousel__buttons[data-v-b097cbfc]{display:flex;flex-grow:1;justify-content:end;justify-content:flex-end}.AssetsCarousel__buttons button+button[data-v-b097cbfc]{-webkit-margin-start:10px;margin-inline-start:10px}.AssetsCarousel__buttons button[data-v-b097cbfc]{background-color:transparent;background-position:50% 50%;background-repeat:no-repeat;background-size:24px 24px;border:1px solid var(--PricesCarousel-color);border-radius:25px;cursor:pointer;display:inline-block;height:38px;transition:transform .2s ease-in-out;width:38px}.AssetsCarousel__buttons button[data-v-b097cbfc]:active{transform:scale(.95)}.AssetsCarousel__previous-button[data-v-b097cbfc]{background-image:var(--PricesCarousel-previous-arrow-url)}.AssetsCarousel__next-button[data-v-b097cbfc]{background-image:var(--PricesCarousel-next-arrow-url)}",""]);const r=o},3561:(t,e,i)=>{"use strict";i.d(e,{Z:()=>r});var n=i(3645),o=i.n(n)()((function(t){return t[1]}));o.push([t.id,".carousel__viewport{cursor:-webkit-grab;cursor:grab;overflow:visible}.carousel__slide:before{content:none}.carousel__slide{align-items:stretch;justify-content:flex-start}.invisible{display:none}",""]);const r=o},9048:(t,e,i)=>{"use strict";i.d(e,{Z:()=>r});var n=i(3645),o=i.n(n)()((function(t){return t[1]}));o.push([t.id,".PriceCard[data-v-5bbc9618]{background-color:var(--PricesCarousel-bg-color);border-radius:9px;color:var(--PricesCarousel-color);height:275px;margin:0 10px;min-width:320px}.PriceCard[data-v-5bbc9618]:first-child{-webkit-margin-start:0;margin-inline-start:0}.PriceCard[data-v-5bbc9618]:before{content:none}.PriceCard__top[data-v-5bbc9618]{-webkit-margin-after:12px;-webkit-border-after:1px solid var(--PricesCarousel-border-color);align-items:center;border-block-end:1px solid var(--PricesCarousel-border-color);-moz-column-gap:12px;column-gap:12px;display:grid;grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr;margin-block-end:12px;padding:24px}.PriceCard__row[data-v-5bbc9618]{padding:0 24px}.PriceCard__chart[data-v-5bbc9618]{min-height:100px}.PriceCard__LastPrice[data-v-5bbc9618]{display:block;font-size:32px;font-weight:600;height:36px}.PriceCard__title[data-v-5bbc9618]{grid-gap:5px;display:grid}.PriceCard__symbol[data-v-5bbc9618]{display:flex}",""]);const r=o},2507:(t,e,i)=>{"use strict";i.d(e,{Z:()=>r});var n=i(3645),o=i.n(n)()((function(t){return t[1]}));o.push([t.id,".PriceCard[data-v-2fe7d838]{background-color:var(--PricesCarousel-bg-color);border-radius:9px;color:var(--PricesCarousel-color);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:calc(100% - 20px)}.PriceCard[data-v-2fe7d838]:before{content:none}.PriceCard__top[data-v-2fe7d838]{-webkit-margin-after:14px;-webkit-border-after:1px solid var(--PricesCarousel-border-color);align-items:center;border-block-end:1px solid var(--PricesCarousel-border-color);-moz-column-gap:12px;column-gap:12px;display:grid;grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr;margin-block-end:14px;padding:25px 36px}.PriceCard__row[data-v-2fe7d838]{padding:0 40px 20px;text-align:start}.PriceCard__row[data-v-2fe7d838]:last-child{padding-bottom:30px}.PriceCard__chart[data-v-2fe7d838]{min-height:100px}.PriceCard__LastPrice[data-v-2fe7d838]{display:block;font-size:32px;font-weight:600;height:36px;margin-bottom:8px}.bp-filter-brighten-2[data-v-2fe7d838]{filter:brightness(2)}.PriceCard__Asset-Name[data-v-2fe7d838]{font-size:22px;font-weight:600;line-height:1.1;min-height:12px;text-align:start}.PriceCard__Asset-Symbol[data-v-2fe7d838]{color:#8b8b8b;display:block;line-height:18px;min-height:14px;text-align:start}.PriceCard__Asset-Symbol[data-v-2fe7d838],.PriceCard__PriceChange--negative[data-v-2fe7d838],.PriceCard__PriceChange--positive[data-v-2fe7d838]{font-size:14px;font-weight:600}.PriceCard__PriceChange--negative[data-v-2fe7d838]{color:var(--PricesCarousel-color-red)}.PriceCard__PriceChange--positive[data-v-2fe7d838]{color:var(--PricesCarousel-color-green)}.PriceCard__title[data-v-2fe7d838]{grid-gap:2px;display:grid}.PriceCard__symbol[data-v-2fe7d838]{display:flex}.PriceCard__button[data-v-2fe7d838]{height:auto;padding:8px 29px}",""]);const r=o},3645:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i=t(e);return e[2]?"@media ".concat(e[2]," {").concat(i,"}"):i})).join("")},e.i=function(t,i,n){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(n)for(var r=0;r{window,t.exports=function(t,e){return o={},i.m=n=[function(e,i){e.exports=t},function(t,i){t.exports=e},function(t,e,i){"use strict";i.r(e),i.d(e,"Chart",(function(){return d})),i.d(e,"default",(function(){return u})),e=i(0);var n=i.n(e);function o(t,e){return function t(e,i,o){function r(r,s){!n.a.isObject(r,!o)||n.a.isClass(r)||n.a.isDOMElement(r)?e[s]=i[s]:e[s]=t(e[s]||n.a.isArray(r)?[]:{},r,o)}return n.a.isArray(i)?i.forEach(r):n.a.objectEach(i,r),e}({},t,e)}var r=i(1);function s(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(i="Object"===i&&t.constructor?t.constructor.name:i)||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?a(t,e):void 0}}(t)||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 a(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i',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}},watch:{options:{handler:function(t){var e;(e=this.chart).update.apply(e,[o(t,this.deepCopyOnUpdate)].concat(s(this.updateArgs)))},deep:!0}},mounted:function(){var e=this.highcharts||t;this.options&&e[this.constructorType]?this.chart=e[this.constructorType](this.$refs.chart,o(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.')}},e)},d=p(n.a,r.version||i.n(r).a.version);function u(t){var e=1parseInt(t.userAgent.split("Firefox/index.html")[1],10),t.hasTouch=!!t.win.TouchEvent,t.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],t.noop=function(){},t.supportsPassiveEvents=function(){var e=!1;if(!t.isMS){var i=Object.defineProperty({},"passive",{get:function(){e=!0}});t.win.addEventListener&&t.win.removeEventListener&&(t.win.addEventListener("testPassive",t.noop,i),t.win.removeEventListener("testPassive",t.noop,i))}return e}(),t.charts=[],t.dateFormats={},t.seriesTypes={},t.symbolSizes={},t.chartCount=0}(e||(e={})),e})),e(i,"Core/Utilities.html",[i["Core/Globals.js"]],(function(t){function e(i,n,o,r){var s=n?"Highcharts error":"Highcharts warning";32===i&&(i=s+": Deprecated member");var a=l(i),h=a?s+" #"+i+": www.highcharts.com/errors/"+i+"/":i.toString();if(void 0!==r){var c="";a&&(h+="?"),m(r,(function(t,e){c+="\n - "+e+": "+t,a&&(h+=encodeURI(e)+"="+encodeURI(t))})),h+=c}y(t,"displayError",{chart:o,code:i,message:h,params:r},(function(){if(n)throw Error(h);S.console&&-1===e.messages.indexOf(h)&&console.warn(h)})),e.messages.push(h)}function i(t,e){return parseInt(t,e||10)}function n(t){return"string"==typeof t}function o(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function r(t,e){return!(!t||"object"!=typeof t||e&&o(t))}function s(t){return r(t)&&"number"==typeof t.nodeType}function a(t){var e=t&&t.constructor;return!(!r(t,!0)||s(t)||!e||!e.name||"Object"===e.name)}function l(t){return"number"==typeof t&&!isNaN(t)&&1/0>t&&-1/0i&&(i=t[e]);return i},arrayMin:function(t){for(var e=t.length,i=t[0];e--;)t[e]e?t=r-1&&(r=Math.floor(s)),Math.max(0,r-(a(o,"padding-left",!0)||0)-(a(o,"padding-right",!0)||0));if("height"===r)return Math.max(0,Math.min(o.offsetHeight,o.scrollHeight)-(a(o,"padding-top",!0)||0)-(a(o,"padding-bottom",!0)||0));if(S.getComputedStyle||e(27,!0),o=S.getComputedStyle(o,void 0)){var l=o.getPropertyValue(r);d(s,"opacity"!==r)&&(l=i(l))}return l},inArray:function(t,i,n){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),i.indexOf(t,n)},isArray:o,isClass:a,isDOMElement:s,isFunction:function(t){return"function"==typeof t},isNumber:l,isObject:r,isString:n,keys:function(t){return e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){var t,e=arguments,i={},n=function(t,e){return"object"!=typeof t&&(t={}),m(e,(function(i,o){"__proto__"!==o&&"constructor"!==o&&(!r(i,!0)||a(i)||s(i)?t[o]=e[o]:t[o]=n(t[o]||{},i))})),t};!0===e[0]&&(i=e[1],e=Array.prototype.slice.call(e,2));var o=e.length;for(t=0;t=i&&(e=[1/i]))),n=0;n=t||!o&&s<=(e[n]+(e[n+1]||e[n]))/2));n++);return g(r*i,-Math.round(Math.log(.001)/Math.LN10))},objectEach:m,offset:function(t){var e=C.documentElement;return{top:(t=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(S.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(S.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:t.width,height:t.height}},pad:function(t,e,i){return Array((e||2)+1-String(t).replace("-","").length).join(i||"0")+t},pick:d,pInt:i,relativeLength:function(t,e,i){return/%$/.test(t)?e*parseFloat(t)/100+(i||0):parseFloat(t)},removeEvent:v,splat:function(t){return o(t)?t:[t]},stableSort:function(t,e){var i,n,o=t.length;for(n=0;n>16,(65280&t)>>8,255&t,1]:4===o&&(i=[(3840&t)>>4|(3840&t)>>8,(240&t)>>4|240&t,(15&t)<<4|15&t,1])}if(!i)for(n=this.parsers.length;n--&&!i;){var r=this.parsers[n];(o=r.regex.exec(t))&&(i=r.parse(o))}}this.rgba=i||[]},e.prototype.get=function(t){var e=this.input,o=this.rgba;if(void 0!==this.stops){var r=n(e);r.stops=[].concat(r.stops),this.stops.forEach((function(e,i){r.stops[i]=[r.stops[i][0],e.get(t)]}))}else r=o&&i(o[0])?"rgb"===t||!t&&1===o[3]?"rgb("+o[0]+","+o[1]+","+o[2]+")":"a"===t?o[3]:"rgba("+o.join(",")+")":e;return r},e.prototype.brighten=function(t){var e,n=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(i(t)&&0!==t)for(e=0;3>e;e++)n[e]+=o(255*t),0>n[e]&&(n[e]=0),255p?"AM":"PM",P:12>p?"am":"pm",S:h(a.getSeconds()),L:h(Math.floor(i%1e3),3)},t.dateFormats),l(a,(function(t,n){for(;-1!==e.indexOf("%"+n);)e=e.replace("%"+n,"function"==typeof t?t.call(s,i):t)})),o?e.substr(0,1).toUpperCase()+e.substr(1):e},e.prototype.resolveDTLFormat=function(t){return s(t,!0)?t:{main:(t=p(t))[0],from:t[1],to:t[2]}},e.prototype.getTimeTicks=function(t,e,i,o){var s,a=this,l=[],h={},p=new a.Date(e),u=t.unitRange,f=t.count||1;if(o=c(o,1),n(e)){if(a.set("Milliseconds",p,u>=d.second?0:f*Math.floor(a.get("Milliseconds",p)/f)),u>=d.second&&a.set("Seconds",p,u>=d.minute?0:f*Math.floor(a.get("Seconds",p)/f)),u>=d.minute&&a.set("Minutes",p,u>=d.hour?0:f*Math.floor(a.get("Minutes",p)/f)),u>=d.hour&&a.set("Hours",p,u>=d.day?0:f*Math.floor(a.get("Hours",p)/f)),u>=d.day&&a.set("Date",p,u>=d.month?1:Math.max(1,f*Math.floor(a.get("Date",p)/f))),u>=d.month){a.set("Month",p,u>=d.year?0:f*Math.floor(a.get("Month",p)/f));var g=a.get("FullYear",p)}u>=d.year&&a.set("FullYear",p,g-g%f),u===d.week&&(g=a.get("Day",p),a.set("Date",p,a.get("Date",p)-g+o+(g4*d.month||a.getTimezoneOffset(e)!==a.getTimezoneOffset(i)),e=p.getTime(),p=1;el.length&&l.forEach((function(t){0==t%18e5&&"000000000"===a.dateFormat("%H%M%S%L",t)&&(h[t]="day")}))}return l.info=r(t,{higherRanks:h,totalRange:u*f}),l},e}()})),e(i,"Core/DefaultOptions.html",[i["Core/Globals.js"],i["Core/Chart/ChartDefaults.js"],i["Core/Color/Color.js"],i["Core/Color/Palette.js"],i["Core/Time.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r){var s=t.isTouchDevice,a=t.svg;i=i.parse;var l=r.merge,h={colors:n.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:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:n.neutralColor80}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:n.neutralColor40,borderRadius:0,navigation:{activeColor:n.highlightColor100,inactiveColor:n.neutralColor20},itemStyle:{color:n.neutralColor80,cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:n.neutralColor100},itemHiddenStyle:{color:n.neutralColor20},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:n.backgroundColor,opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:a,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",padding:8,snap:s?25:10,headerFormat:'{point.key}
',pointFormat:' {series.name}: {point.y}
',backgroundColor:i(n.neutralColor3).setOpacity(.85).get(),borderWidth:1,shadow:!0,style:{color:n.neutralColor80,cursor:"default",fontSize:"12px",whiteSpace:"nowrap"}},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:n.neutralColor40,fontSize:"9px"},text:"Highcharts.com"}};h.chart.styledMode=!1;var c=new o(l(h.global,h.time));return{defaultOptions:h,defaultTime:c,getOptions:function(){return h},setOptions:function(e){return l(!0,h,e),(e.time||e.global)&&(t.time?t.time.update(l(h.global,h.time,e.global,e.time)):t.time=c),h}}})),e(i,"Core/Animation/Fx.html",[i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i){var n=t.parse,o=e.win,r=i.isNumber,s=i.objectEach;return function(){function t(t,e,i){this.pos=NaN,this.options=e,this.elem=t,this.prop=i}return t.prototype.dSetter=function(){var t=this.paths,e=t&&t[0];t=t&&t[1];var i=this.now||0,n=[];if(1!==i&&e&&t)if(e.length===t.length&&1>i)for(var o=0;o=r+this.startTime){this.now=this.end,this.pos=1,this.update();var l=a[this.prop]=!0;s(a,(function(t){!0!==t&&(l=!1)})),l&&o&&o.call(n),t=!1}else this.pos=i.easing((e-this.startTime)/r),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t},t.prototype.initPath=function(t,e,i){function n(t,e){for(;t.lengthc[1]){var d=e+ +c[1];0<=d?(c[0]=(+c[0]).toExponential(d).split("e")[0],e=d):(c[0]=c[0].split(".")[0]||0,t=20>e?(c[0]*Math.pow(10,c[1])).toFixed(e):0,c[1]=0)}}else e=2;d=(Math.abs(c[1]?c[0]:t)+Math.pow(10,-Math.max(e,h)-1)).toFixed(e);var u=3<(h=String(l(d))).length?h.length%3:0;return i=a(i,r.decimalPoint),o=a(o,r.thousandsSep),t=(0>t?"-":"")+(u?h.substr(0,u)+o:""),t=0>+c[1]&&!p?"0":t+h.substr(u).replace(/(\d{3})(?=\d)/g,"$1"+o),e&&(t+=i+d.slice(-e)),c[1]&&0!=+t&&(t+="e"+c[1]),t}var n=t.defaultOptions,o=t.defaultTime,r=e.getNestedProperty,s=e.isNumber,a=e.pick,l=e.pInt;return{dateFormat:function(t,e,i){return o.dateFormat(t,e,i)},format:function(t,e,s){var a="{",l=!1,h=/f$/,c=/\.([0-9])/,p=n.lang,d=s&&s.time||o;s=s&&s.numberFormatter||i;for(var u=[];t;){var f=t.indexOf(a);if(-1===f)break;var g=t.slice(0,f);if(l){if(g=g.split(":"),a=r(g.shift()||"",e),g.length&&"number"==typeof a)if(g=g.join(":"),h.test(g)){var m=parseInt((g.match(c)||["","-1"])[1],10);null!==a&&(a=s(a,m,p.decimalPoint,-1p.width)&&(p={width:0,height:0})}else p=this.htmlGetBBox();if(n.isSVG&&(e=p.width,n=p.height,c&&(p.height=n={"11px,17":14,"13px,20":16}[r&&r.fontSize+","+Math.round(n)]||n),i&&(r=i*h,p.width=Math.abs(n*Math.sin(r))+Math.abs(e*Math.cos(r)),p.height=Math.abs(n*Math.cos(r))+Math.abs(e*Math.sin(r)))),u&&0]*>/g,"").replace(/</g,"<").replace(/>/g,">")},t.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},t.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},t.prototype.updateShadows=function(t,e,i){var n=this.shadows;if(n)for(var o=n.length;o--;)i.call(n[o],"height"===t?Math.max(e-(n[o].cutHeight||0),0):"d"===t?this.d:e,t,n[o])},t.prototype.updateTransform=function(){var t=this.scaleX,e=this.scaleY,i=this.inverted,n=this.rotation,o=this.matrix,r=this.element,s=this.translateX||0,a=this.translateY||0;i&&(s+=this.width,a+=this.height),s=["translate("+s+","+a+")"],x(o)&&s.push("matrix("+o.join(",")+")"),i?s.push("rotate(90) scale(-1,1)"):n&&s.push("rotate("+n+" "+O(this.rotationOriginX,r.getAttribute("x"),0)+" "+O(this.rotationOriginY,r.getAttribute("y")||0)+")"),(x(t)||x(e))&&s.push("scale("+O(t,1)+" "+O(e,1)+")"),s.length&&r.setAttribute("transform",s.join(" "))},t.prototype.visibilitySetter=function(t,e,i){"inherit"===t?i.removeAttribute(e):this[e]!==t&&i.setAttribute(e,t),this[e]=t},t.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},t.prototype.zIndexSetter=function(t,e){var i=this.renderer,n=this.parentGroup,o=(n||i).element||i.box,r=this.element;i=o===i.box;var s,a=!1,l=this.added;if(x(t)?(r.setAttribute("data-z-index",t),t=+t,this[e]===t&&(l=!1)):x(this[e])&&r.removeAttribute("data-z-index"),this[e]=t,l){for((t=this.zIndex)&&n&&(n.handleZ=!0),s=(e=o.childNodes).length-1;0<=s&&!a;s--){l=(n=e[s]).getAttribute("data-z-index");var h=!x(l);n!==r&&(0>t&&h&&!i&&!s?(o.insertBefore(r,e[s]),a=!0):(E(l)<=t||h&&(!x(t)||0<=t))&&(o.insertBefore(r,e[s+1]||null),a=!0))}a||(o.insertBefore(r,e[i?3:0]||null),a=!0)}return a},t}()).prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t})),e(i,"Core/Renderer/RendererRegistry.html",[i["Core/Globals.js"]],(function(t){var e;return function(e){var i;e.rendererTypes={},e.getRendererType=function(t){return void 0===t&&(t=i),e.rendererTypes[t]||e.rendererTypes[i]},e.registerRendererType=function(n,o,r){e.rendererTypes[n]=o,i&&!r||(i=n,t.Renderer=o)}}(e||(e={})),e})),e(i,"Core/Renderer/SVG/SVGLabel.html",[i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],(function(t,e){var i=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),n=e.defined,o=e.extend,r=e.isNumber,s=e.merge,a=e.pick,l=e.removeEvent;return function(e){function h(t,i,n,o,r,s,a,l,c,p){var d,u=e.call(this)||this;return u.paddingLeftSetter=u.paddingSetter,u.paddingRightSetter=u.paddingSetter,u.init(t,"g"),u.textStr=i,u.x=n,u.y=o,u.anchorX=s,u.anchorY=a,u.baseline=c,u.className=p,u.addClass("button"===p?"highcharts-no-tooltip":"highcharts-label"),p&&u.addClass("highcharts-"+p),u.text=t.text("",0,0,l).attr({zIndex:1}),"string"==typeof r&&((d=/^url\((.*?)\)$/.test(r))||u.renderer.symbols[r])&&(u.symbolKey=r),u.bBox=h.emptyBBox,u.padding=3,u.baselineOffset=0,u.needsBox=t.styledMode||d,u.deferredAttr={},u.alignFactor=0,u}return i(h,e),h.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&r(this.xSetting)&&this.attr({x:this.xSetting}))},h.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},h.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},h.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},h.prototype.css=function(e){if(e){var i={};e=s(e),h.textProps.forEach((function(t){void 0!==e[t]&&(i[t]=e[t],delete e[t])})),this.text.css(i);var n="width"in i;"fontSize"in i||"fontWeight"in i?this.updateTextPadding():n&&this.updateBoxSize()}return t.prototype.css.call(this,e)},h.prototype.destroy=function(){l(this.element,"mouseenter"),l(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},h.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},h.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=a(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},h.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},h.prototype.heightSetter=function(t){this.heightSetting=t},h.prototype.on=function(e,i){var n=this,o=n.text,r=o&&"SPAN"===o.element.tagName?o:void 0;if(r){var s=function(t){("mouseenter"===e||"mouseleave"===e)&&t.relatedTarget instanceof Element&&(n.element.compareDocumentPosition(t.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY||r.element.compareDocumentPosition(t.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY)||i.call(n.element,t)};r.on(e,s)}return t.prototype.on.call(n,e,s||i),n},h.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:n(t)?t:"",x:this.x,y:this.y}),this.box&&n(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},h.prototype.paddingSetter=function(t,e){r(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},h.prototype.rSetter=function(t,e){this.boxAttr(e,t)},h.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},h.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},h.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},h.prototype["text-alignSetter"]=function(t){this.textAlign=t},h.prototype.textSetter=function(t){void 0!==t&&this.text.attr({text:t}),this.updateTextPadding()},h.prototype.updateBoxSize=function(){var t=this.text.element.style,e={},i=this.padding,s=this.bBox=r(this.widthSetting)&&r(this.heightSetting)&&!this.textAlign||!n(this.text.textStr)?h.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||s.height||0)+2*i,t=this.renderer.fontMetrics(t&&t.fontSize,this.text),this.baselineOffset=i+Math.min((this.text.firstLineMetrics||t).b,s.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-t.h)/2),this.needsBox&&(this.box||((i=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":"")),i.add(this)),i=this.getCrispAdjust(),e.x=i,e.y=(this.baseline?-this.baselineOffset:0)+i,e.width=Math.round(this.width),e.height=Math.round(this.height),this.box.attr(o(e,this.deferredAttr)),this.deferredAttr={})},h.prototype.updateTextPadding=function(){var t=this.text;this.updateBoxSize();var e=this.baseline?0:this.baselineOffset,i=a(this.paddingLeft,this.padding);n(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(i+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),i===t.x&&e===t.y||(t.attr("x",i),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),void 0!==e&&t.attr("y",e)),t.x=i,t.y=e},h.prototype.widthSetter=function(t){this.widthSetting=r(t)?t:void 0},h.prototype.getPaddedWidth=function(){var t=this.padding,e=a(this.paddingLeft,t);return t=a(this.paddingRight,t),(this.widthSetting||this.bBox.width||0)+e+t},h.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},h.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},h.emptyBBox={width:0,height:0,x:0,y:0},h.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),h}(t)})),e(i,"Core/Renderer/SVG/Symbols.html",[i["Core/Utilities.js"]],(function(t){function e(t,e,i,n,r){var a=[];if(r){var l=r.start||0,h=s(r.r,i);i=s(r.r,n||i);var c=(r.end||0)-.001;n=r.innerR;var p=s(r.open,.001>Math.abs((r.end||0)-l-2*Math.PI)),d=Math.cos(l),u=Math.sin(l),f=Math.cos(c),g=Math.sin(c);l=s(r.longArc,.001>c-l-Math.PI?0:1),a.push(["M",t+h*d,e+i*u],["A",h,i,0,l,s(r.clockwise,1),t+h*f,e+i*g]),o(n)&&a.push(p?["M",t+n*f,e+n*g]:["L",t+n*f,e+n*g],["A",n,n,0,l,o(r.clockwise)?1-r.clockwise:0,t+n*d,e+n*u]),p||a.push(["Z"])}return a}function i(t,e,i,o,r){return r&&r.r?n(t,e,i,o,r):[["M",t,e],["L",t+i,e],["L",t+i,e+o],["L",t,e+o],["Z"]]}function n(t,e,i,n,o){return[["M",t+(o=o&&o.r||0),e],["L",t+i-o,e],["C",t+i,e,t+i,e,t+i,e+o],["L",t+i,e+n-o],["C",t+i,e+n,t+i,e+n,t+i-o,e+n],["L",t+o,e+n],["C",t,e+n,t,e+n,t,e+n-o],["L",t,e+o],["C",t,e,t,e,t+o,e]]}var o=t.defined,r=t.isNumber,s=t.pick;return{arc:e,callout:function(t,e,i,o,s){var a=Math.min(s&&s.r||0,i,o),l=a+6,h=s&&s.anchorX;s=s&&s.anchorY||0;var c=n(t,e,i,o,{r:a});return r(h)?(t+h>=i?s>e+l&&s=t+h?s>e+l&&so&&h>t+l&&hs&&h>t+l&&h/g.test(r))?""!==r&&(o&&o.appendChild(i),r=new t(r),this.modifyTree(r.nodes),r.addToDOM(e.element),this.modifyDOM(),this.ellipsis&&-1!==(i.textContent||"").indexOf("…")&&e.attr("title",this.unescapeEntities(e.textStr||"",["<",">"])),o&&o.removeChild(i)):i.appendChild(n.createTextNode(this.unescapeEntities(r))),s(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}},e.prototype.modifyDOM=function(){var t=this,e=this.svgElement,i=r(e.element,"x");e.firstLineMetrics=void 0,[].forEach.call(e.element.querySelectorAll("tspan.highcharts-br"),(function(n,o){n.nextSibling&&n.previousSibling&&(0===o&&1===n.previousSibling.nodeType&&(e.firstLineMetrics=e.renderer.fontMetrics(void 0,n.previousSibling)),r(n,{dy:t.getLineHeight(n.nextSibling),x:i}))}));var s=this.width||0;if(s){var a=function(a,l){var h=a.textContent||"",c=h.replace(/([^\^])-/g,"$1- ").split(" "),p=!t.noWrap&&(1o){for(;p<=d;)u=Math.ceil((p+d)/2),i&&(s=r(i,u)),g=f(u,s&&s.length-1),p===d?p=d+1:g>o?d=u-1:p=u;0===d?t.textContent="":e&&d===e.length-1||(t.textContent=s||r(e||i,u))}i&&i.splice(0,u),a.actualWidth=g,a.rotation=h},e.prototype.unescapeEntities=function(t,e){return a(this.renderer.escapes,(function(i,n){e&&-1!==e.indexOf(i)||(t=t.toString().replace(new RegExp(i,"g"),n))})),t},e}()})),e(i,"Core/Renderer/SVG/SVGRenderer.html",[i["Core/Renderer/HTML/AST.js"],i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Color/Palette.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGLabel.js"],i["Core/Renderer/SVG/Symbols.js"],i["Core/Renderer/SVG/TextBuilder.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r,s,a,l,h){var c,p=i.charts,d=i.deg2rad,u=i.doc,f=i.isFirefox,g=i.isMS,m=i.isWebKit,v=i.noop,y=i.SVG_NS,x=i.symbolSizes,b=i.win,C=h.addEvent,S=h.attr,w=h.createElement,k=h.css,M=h.defined,A=h.destroyObjectProperties,T=h.extend,P=h.isArray,O=h.isNumber,E=h.isObject,_=h.isString,L=h.merge,D=h.pick,B=h.pInt,j=h.uniqueKey;return i=function(){function i(t,e,i,n,o,r,s){this.width=this.url=this.style=this.isSVG=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(t,e,i,n,o,r,s)}return i.prototype.init=function(t,e,i,n,o,r,s){var a,l=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),h=l.element;s||l.css(this.getStyle(n)),t.appendChild(h),S(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&S(h,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=h,this.boxWrapper=l,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(u.createTextNode("Created with Highcharts 9.1.2")),this.defs=this.createElement("defs").add(),this.allowHTML=r,this.forExport=o,this.styledMode=s,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,i,!1),f&&t.getBoundingClientRect&&((e=function(){k(t,{left:0,top:0}),a=t.getBoundingClientRect(),k(t,{left:Math.ceil(a.left)-a.left+"px",top:Math.ceil(a.top)-a.top+"px"})})(),this.unSubPixelFix=C(b,"resize",e))},i.prototype.definition=function(e){return new t([e]).addToDOM(this.defs.element)},i.prototype.getReferenceURL=function(){if((f||m)&&u.getElementsByTagName("base").length){if(!M(c)){var e=j();e=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+e+")",fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(u.body),k(e,{position:"fixed",top:0,left:0,zIndex:9e5});var i=u.elementFromPoint(6,6);c="hitme"===(i&&i.id),u.body.removeChild(e)}if(c)return b.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},i.prototype.getStyle=function(t){return this.style=T({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},i.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},i.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},i.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),A(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},i.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},i.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},i.prototype.buildText=function(t){new l(t).buildSVG()},i.prototype.getContrast=function(t){return(t=e.parse(t).rgba)[0]*=1,t[1]*=1.2,t[2]*=.5,459(t=/px/.test(t)?B(t):12)?t+3:Math.round(1.2*t),b:Math.round(.8*e),f:t}},i.prototype.rotCorr=function(t,e,i){var n=t;return e&&i&&(n=Math.max(n*Math.cos(e*d),4)),{x:-t/3*Math.sin(e*d),y:n}},i.prototype.pathToSegments=function(t){for(var e=[],i=[],n={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},o=0;o":">","'":"'",'"':"""},symbols:a,draw:v}),o.registerRendererType("svg",i,!0),i})),e(i,"Core/Renderer/HTML/HTMLElement.js",[i["Core/Globals.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],(function(t,e,i){var n=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=t.isFirefox,r=t.isMS,s=t.isWebKit,a=t.win,l=i.css,h=i.defined,c=i.extend,p=i.pick,d=i.pInt;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.compose=function(t){t=t.prototype;var i=e.prototype;t.getSpanCorrection=i.getSpanCorrection,t.htmlCss=i.htmlCss,t.htmlGetBBox=i.htmlGetBBox,t.htmlUpdateTransform=i.htmlUpdateTransform,t.setSpanRotation=i.setSpanRotation},e.prototype.getSpanCorrection=function(t,e,i){this.xCorr=-t*i,this.yCorr=-e},e.prototype.htmlCss=function(t){var e="SPAN"===this.element.tagName&&t&&"width"in t,i=p(e&&t.width,void 0);if(e){delete t.width,this.textWidth=i;var n=!0}return t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=c(this.styles,t),l(this.element,t),n&&this.htmlUpdateTransform(),this},e.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},e.prototype.htmlUpdateTransform=function(){if(this.added){var t=this.renderer,e=this.element,i=this.translateX||0,n=this.translateY||0,o=this.x||0,r=this.y||0,s=this.textAlign||"left",a={left:0,center:.5,right:1}[s],c=this.styles;if(c=c&&c.whiteSpace,l(e,{marginLeft:i,marginTop:n}),!t.styledMode&&this.shadows&&this.shadows.forEach((function(t){l(t,{marginLeft:i+1,marginTop:n+1})})),this.inverted&&[].forEach.call(e.childNodes,(function(i){t.invertChild(i,e)})),"SPAN"===e.tagName){var p=this.rotation,u=this.textWidth&&d(this.textWidth),f=[p,s,e.innerHTML,this.textWidth,this.textAlign].join(),g=void 0;(g=u!==this.oldTextWidth)&&!(g=u>this.oldTextWidth)&&((g=this.textPxLength)||(l(e,{width:"",whiteSpace:c||"nowrap"}),g=e.offsetWidth),g=g>u),g&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)?(l(e,{width:u+"px",display:"block",whiteSpace:c||"normal"}),this.oldTextWidth=u,this.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1,f!==this.cTT&&(g=t.fontMetrics(e.style.fontSize,e).b,!h(p)||p===(this.oldRotation||0)&&s===this.oldAlign||this.setSpanRotation(p,a,g),this.getSpanCorrection(!h(p)&&this.textPxLength||e.offsetWidth,g,a,p,s)),l(e,{left:o+(this.xCorr||0)+"px",top:r+(this.yCorr||0)+"px"}),this.cTT=f,this.oldRotation=p,this.oldAlign=s}}else this.alignOnAdd=!0},e.prototype.setSpanRotation=function(t,e,i){var n={},h=r&&!/Edge/.test(a.navigator.userAgent)?"-ms-transform":s?"-webkit-transform":o?"MozTransform":a.opera?"-o-transform":void 0;h&&(n[h]=n.transform="rotate("+t+"deg)",n[h+(o?"Origin":"-origin")]=n.transformOrigin=100*e+"% "+i+"px",l(this.element,n))},e}(e)})),e(i,"Core/Renderer/HTML/HTMLRenderer.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Utilities.js"]],(function(t,e,i,n){var o=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),r=n.attr,s=n.createElement,a=n.extend,l=n.pick;return function(i){function n(){return null!==i&&i.apply(this,arguments)||this}return o(n,i),n.compose=function(t){t.prototype.html=n.prototype.html},n.prototype.html=function(i,n,o){var h=this.createElement("span"),c=h.element,p=h.renderer,d=p.isSVG,u=function(t,i){["opacity","visibility"].forEach((function(n){t[n+"Setter"]=function(o,r,s){var a=t.div?t.div.style:i;e.prototype[n+"Setter"].call(this,o,r,s),a&&(a[r]=o)}})),t.addedSetters=!0};return h.textSetter=function(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,l(e,"")),this.textStr=e,h.doTransform=!0)},d&&u(h,h.element.style),h.xSetter=h.ySetter=h.alignSetter=h.rotationSetter=function(t,e){"align"===e?h.alignValue=h.textAlign=t:h[e]=t,h.doTransform=!0},h.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},h.attr({text:i,x:Math.round(n),y:Math.round(o)}).css({position:"absolute"}),p.styledMode||h.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),c.style.whiteSpace="nowrap",h.css=h.htmlCss,d&&(h.add=function(t){var e=p.box.parentNode,i=[];if(this.parentGroup=t){var n=t.div;if(!n){for(;t;)i.push(t),t=t.parentGroup;i.reverse().forEach((function(t){function o(e,i){t[i]=e,"translateX"===i?p.left=e+"px":p.top=e+"px",t.doTransform=!0}var l=r(t.element,"class"),c=t.styles||{},p=(n=t.div=t.div||s("div",l?{className:l}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,cursor:c.cursor,pointerEvents:c.pointerEvents},n||e)).style;a(t,{classSetter:function(t){return function(e){this.element.setAttribute("class",e),t.className=e}}(n),on:function(){return i[0].div&&h.on.apply({element:i[0].div,onEvents:h.onEvents},arguments),t},translateXSetter:o,translateYSetter:o}),t.addedSetters||u(t)}))}}else n=e;return n.appendChild(c),h.added=!0,h.alignOnAdd&&h.htmlUpdateTransform(),h}),h},n}(i)})),e(i,"Core/Foundation.js",[i["Core/Utilities.js"]],(function(t){var e=t.addEvent,i=t.isFunction,n=t.objectEach,o=t.removeEvent;return{registerEventOptions:function(t,r){t.eventOptions=t.eventOptions||{},n(r.events,(function(n,r){i(n)&&t.eventOptions[r]!==n&&(i(t.eventOptions[r])&&o(t,r,t.eventOptions[r]),t.eventOptions[r]=n,e(t,r,n))}))}}})),e(i,"Core/Axis/AxisDefaults.js",[i["Core/Color/Palette.js"]],(function(t){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:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:t.neutralColor60,cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",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:t.neutralColor60}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:t.neutralColor5,minorGridLineWidth:1,minorTickColor:t.neutralColor40,lineColor:t.highlightColor20,lineWidth:1,gridLineColor:t.neutralColor10,gridLineWidth:void 0,tickColor:t.highlightColor20},e.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return(0,this.axis.chart.numberFormatter)(this.total,-1)},style:{color:t.neutralColor100,fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},e.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},e.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},e.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},e.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(e||(e={})),e})),e(i,"Core/Axis/Tick.js",[i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e,i){var n=e.deg2rad,o=i.clamp,r=i.correctFloat,s=i.defined,a=i.destroyObjectProperties,l=i.extend,h=i.fireEvent,c=i.isNumber,p=i.merge,d=i.objectEach,u=i.pick;return e=function(){function e(t,e,i,n,o){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=i||"",this.parameters=o||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,h(this,"init"),i||n||this.addLabel()}return e.prototype.addLabel=function(){var e=this,i=e.axis,n=i.options,o=i.chart,a=i.categories,p=i.logarithmic,d=i.names,f=e.pos,g=u(e.options&&e.options.labels,n.labels),m=i.tickPositions,v=f===m[0],y=f===m[m.length-1],x=(!g.step||1===g.step)&&1===i.tickInterval;m=m.info;var b,C=e.label;if(a=this.parameters.category||(a?u(a[f],d[f],f):f),p&&c(a)&&(a=r(p.lin2log(a))),i.dateTime&&m)var S=o.time.resolveDTLFormat(n.dateTimeLabelFormats[!n.grid&&m.higherRanks[f]||m.unitName]),w=S.main;e.isFirst=v,e.isLast=y;var k={axis:i,chart:o,dateTimeLabelFormat:w,isFirst:v,isLast:y,pos:f,tick:e,tickPositionInfo:m,value:a};h(this,"labelFormat",k);var M=function(e){return g.formatter?g.formatter.call(e,e):g.format?(e.text=i.defaultLabelFormatter.call(e),t.format(g.format,e,o)):i.defaultLabelFormatter.call(e,e)};n=M.call(k,k);var A=S&&S.list;e.shortenLabel=A?function(){for(b=0;bc&&o-p*ds&&(l=Math.round((r-o)/Math.cos(c*n))):(r=o+(1-p)*d,o-p*ds&&(m=s-t.x+m*p,v=-1),(m=Math.min(f,m))m||e.autoRotation&&(h.styles||{}).width)&&(l=m)),l&&(this.shortenLabel?this.shortenLabel():(g.width=Math.floor(l)+"px",(i.style||{}).textOverflow||(g.textOverflow="ellipsis"),h.css(g)))},e.prototype.moveLabel=function(t,e){var i=this,n=i.label,o=i.axis,r=o.reversed,s=!1;if(n&&n.textStr===t?(i.movedLabel=n,s=!0,delete i.label):d(o.ticks,(function(e){s||e.isNew||e===i||!e.label||e.label.textStr!==t||(i.movedLabel=e.label,s=!0,e.labelPos=i.movedLabel.xy,delete e.label)})),!s&&(i.labelPos||n)){var a=i.labelPos||n.xy;n=o.horiz?r?0:o.width+o.left:a.x,o=o.horiz?a.y:r?o.width+o.left:0,i.movedLabel=i.createLabel({x:n,y:o},t,e),i.movedLabel&&i.movedLabel.attr({opacity:0})}},e.prototype.render=function(t,e,i){var n=this.axis,o=n.horiz,r=this.pos,s=u(this.tickmarkOffset,n.tickmarkOffset);s=(r=this.getPosition(o,r,s,e)).x;var a=r.y;n=o&&s===n.pos+n.len||!o&&a===n.pos?-1:1,o=u(i,this.label&&this.label.newOpacity,1),i=u(i,1),this.isActive=!0,this.renderGridLine(e,i,n),this.renderMark(r,i,n),this.renderLabel(r,e,o,t),this.isNew=!1,h(this,"afterRender")},e.prototype.renderGridLine=function(t,e,i){var n=this.axis,o=n.options,r={},s=this.pos,a=this.type,l=u(this.tickmarkOffset,n.tickmarkOffset),h=n.chart.renderer,c=this.gridLine,p=o.gridLineWidth,d=o.gridLineColor,f=o.gridLineDashStyle;"minor"===this.type&&(p=o.minorGridLineWidth,d=o.minorGridLineColor,f=o.minorGridLineDashStyle),c||(n.chart.styledMode||(r.stroke=d,r["stroke-width"]=p||0,r.dashstyle=f),a||(r.zIndex=1),t&&(e=0),this.gridLine=c=h.path().attr(r).addClass("highcharts-"+(a?a+"-":"")+"grid-line").add(n.gridGroup)),c&&(i=n.getPlotLinePath({value:s+l,lineWidth:c.strokeWidth()*i,force:"pass",old:t}))&&c[t||this.isNew?"attr":"animate"]({d:i,opacity:e})},e.prototype.renderMark=function(t,e,i){var n=this.axis,o=n.options,r=n.chart.renderer,s=this.type,a=n.tickSize(s?s+"Tick":"tick"),l=t.x;t=t.y;var h=u(o["minor"!==s?"tickWidth":"minorTickWidth"],!s&&n.isXAxis?1:0);o=o["minor"!==s?"tickColor":"minorTickColor"];var c=this.mark,p=!c;a&&(n.opposite&&(a[0]=-a[0]),c||(this.mark=c=r.path().addClass("highcharts-"+(s?s+"-":"")+"tick").add(n.axisGroup),n.chart.styledMode||c.attr({stroke:o,"stroke-width":h})),c[p?"attr":"animate"]({d:this.getMarkPath(l,t,a[0],c.strokeWidth()*i,n.horiz,r),opacity:e}))},e.prototype.renderLabel=function(t,e,i,n){var o=this.axis,r=o.horiz,s=o.options,a=this.label,l=s.labels,h=l.step;o=u(this.tickmarkOffset,o.tickmarkOffset);var p=t.x;t=t.y;var d=!0;a&&c(p)&&(a.xy=t=this.getLabelPosition(p,t,a,r,l,o,n,h),this.isFirst&&!this.isLast&&!s.showFirstLabel||this.isLast&&!this.isFirst&&!s.showLastLabel?d=!1:!r||l.step||l.rotation||e||0===i||this.handleOverflow(t),h&&n%h&&(d=!1),d&&c(t.y)?(t.opacity=i,a[this.isNewLabel?"attr":"animate"](t),this.isNewLabel=!1):(a.attr("y",-9999),this.isNewLabel=!0))},e.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,i=e.reversed;if(t&&!this.isNew){var n=e.horiz?i?e.left:e.width+e.left:t.xy.x;i=e.horiz?t.xy.y:i?e.width+e.top:e.top,t.animate({x:n,y:i,opacity:0},void 0,t.destroy),delete this.label}e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},e}()})),e(i,"Core/Axis/Axis.js",[i["Core/Animation/AnimationUtilities.js"],i["Core/Color/Color.js"],i["Core/Color/Palette.js"],i["Core/DefaultOptions.js"],i["Core/Foundation.js"],i["Core/Globals.js"],i["Core/Utilities.js"],i["Core/Axis/AxisDefaults.js"],i["Core/Axis/Tick.js"]],(function(t,e,i,n,o,r,s,a,l){var h=t.animObject,c=o.registerEventOptions,p=r.deg2rad,d=n.defaultOptions,u=s.arrayMax,f=s.arrayMin,g=s.clamp,m=s.correctFloat,v=s.defined,y=s.destroyObjectProperties,x=s.erase,b=s.error,C=s.extend,S=s.fireEvent,w=s.getMagnitude,k=s.isArray,M=s.isNumber,A=s.isString,T=s.merge,P=s.normalizeTickInterval,O=s.objectEach,E=s.pick,_=s.relativeLength,L=s.removeEvent,D=s.splat,B=s.syncTimeout;return t=function(){function t(t,e){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.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var i=e.isX;this.chart=t,this.horiz=t.inverted&&!this.isZAxis?!i:i,this.isXAxis=i,this.coll=this.coll||(i?"xAxis":"yAxis"),S(this,"init",{userOptions:e}),this.opposite=E(e.opposite,this.opposite),this.side=E(e.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);var n=this.options,o=n.labels,r=n.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=E(n.reversed,this.reversed),this.visible=n.visible,this.zoomEnabled=n.zoomEnabled,this.hasNames="category"===r||!0===n.categories,this.categories=n.categories||this.hasNames,this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=v(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,e=E(n.crosshair,D(t.options.tooltip.crosshairs)[i?0:1]),this.crosshair=!0===e?{}:e,-1===t.axes.indexOf(this)&&(i?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),t[this.coll].push(this)),this.series=this.series||[],t.inverted&&!this.isZAxis&&i&&void 0===this.reversed&&(this.reversed=!0),this.labelRotation=M(o.rotation)?o.rotation:void 0,c(this,n),S(this,"afterInit")},t.prototype.setOptions=function(t){this.options=T(a.defaultXAxisOptions,"yAxis"===this.coll&&a.defaultYAxisOptions,[a.defaultTopAxisOptions,a.defaultRightAxisOptions,a.defaultBottomAxisOptions,a.defaultLeftAxisOptions][this.side],T(d[this.coll],t)),S(this,"afterSetOptions",{userOptions:t})},t.prototype.defaultLabelFormatter=function(t){var e=this.axis;t=this.chart.numberFormatter;var i=M(this.value)?this.value:NaN,n=e.chart.time,o=this.dateTimeLabelFormat,r=d.lang,s=r.numericSymbols;r=r.numericSymbolMagnitude||1e3;var a=e.logarithmic?Math.abs(i):e.tickInterval,l=s&&s.length;if(e.categories)var h=""+this.value;else if(o)h=n.dateFormat(o,i);else if(l&&1e3<=a)for(;l--&&void 0===h;)a>=(e=Math.pow(r,l+1))&&0==10*i%e&&null!==s[l]&&0!==i&&(h=t(i/e,-1)+s[l]);return void 0===h&&(h=1e4<=Math.abs(i)?t(i,-1):t(i,-1,void 0,"")),h},t.prototype.getSeriesExtremes=function(){var t,e=this,i=e.chart;S(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.stacking&&e.stacking.buildStacks(),e.series.forEach((function(n){if(n.visible||!i.options.chart.ignoreHiddenSeries){var o=n.options,r=o.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=r&&(r=null),e.isXAxis){if((o=n.xData).length){o=e.logarithmic?o.filter(e.validatePositiveValue):o;var s=(t=n.getXExtremes(o)).min,a=t.max;M(s)||s instanceof Date||(o=o.filter(M),s=(t=n.getXExtremes(o)).min,a=t.max),o.length&&(e.dataMin=Math.min(E(e.dataMin,s),s),e.dataMax=Math.max(E(e.dataMax,a),a))}}else n=n.applyExtremes(),M(n.dataMin)&&(s=n.dataMin,e.dataMin=Math.min(E(e.dataMin,s),s)),M(n.dataMax)&&(a=n.dataMax,e.dataMax=Math.max(E(e.dataMax,a),a)),v(r)&&(e.threshold=r),(!o.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}))})),S(this,"afterGetSeriesExtremes")},t.prototype.translate=function(t,e,i,n,o,r){var s=this.linkedParent||this,a=n&&s.old?s.old.min:s.min,l=s.minPixelPadding;o=(s.isOrdinal||s.brokenAxis&&s.brokenAxis.hasBreaks||s.logarithmic&&o)&&s.lin2val;var h=1,c=0;return(n=n&&s.old?s.old.transA:s.transA)||(n=s.transA),i&&(h*=-1,c=s.len),s.reversed&&(c-=(h*=-1)*(s.sector||s.len)),e?(t=(t*h+c-l)/n+a,o&&(t=s.lin2val(t))):(o&&(t=s.val2lin(t)),t=M(a)?h*(t-a)*n+c+h*l+(M(r)?n*r:0):void 0),t},t.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,null,!0)+(e?0:this.pos)},t.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,null,!0)},t.prototype.getPlotLinePath=function(t){function e(t,e,i){return("pass"!==x&&ti)&&(x?t=g(t,e,i):s=!0),t}var i,n,o,r,s,a=this,l=a.chart,h=a.left,c=a.top,p=t.old,d=t.value,u=t.lineWidth,f=p&&l.oldChartHeight||l.chartHeight,m=p&&l.oldChartWidth||l.chartWidth,v=a.transB,y=t.translatedValue,x=t.force;return t={value:d,lineWidth:u,old:p,force:x,acrossPanes:t.acrossPanes,translatedValue:y},S(this,"getPlotLinePath",t,(function(t){y=E(y,a.translate(d,null,null,p)),y=g(y,-1e5,1e5),i=o=Math.round(y+v),n=r=Math.round(f-y-v),M(y)?a.horiz?(n=c,r=f-a.bottom,i=o=e(i,h,h+a.width)):(i=h,o=m-a.right,n=r=e(n,c,c+a.height)):(s=!0,x=!1),t.path=s&&!x?null:l.renderer.crispLine([["M",i,n],["L",o,r]],u||1)})),t.path},t.prototype.getLinearTickPositions=function(t,e,i){var n=m(Math.floor(e/t)*t);i=m(Math.ceil(i/t)*t);var o,r=[];if(m(n+t)===n&&(o=20),this.single)return[e];for(e=n;e<=i&&(r.push(e),(e=m(e+t,o))!==s);)var s=e;return r},t.prototype.getMinorTickInterval=function(){var t=this.options;return!0===t.minorTicks?E(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},t.prototype.getMinorTickPositions=function(){var t=this.options,e=this.tickPositions,i=this.minorTickInterval,n=this.pointRangePadding||0,o=this.min-n,r=(n=this.max+n)-o,s=[];if(r&&r/i=this.minRange,c=this.minRange,p=(c-a+s)/2;p=[s-p,E(o.min,s-p)],h&&(p[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),a=[(s=u(p))+c,E(o.max,s+c)],h&&(a[2]=r?r.log2lin(this.dataMax):this.dataMax),(a=f(a))-s=u)y=u,p=0;else if(e.dataMax<=u){var x=u;c=0}e.min=E(f,y,e.dataMin),e.max=E(g,x,e.dataMax)}n&&(e.positiveValuesOnly&&!t&&0>=Math.min(e.min,E(e.dataMin,e.min))&&b(10,1,i),e.min=m(n.log2lin(e.min),16),e.max=m(n.log2lin(e.max),16)),e.range&&v(e.max)&&(e.userMin=e.min=f=Math.max(e.dataMin,e.minFromRange()),e.userMax=g=e.max,e.range=null),S(e,"foundExtremes"),e.beforePadding&&e.beforePadding(),e.adjustForMinRange(),!(l||e.axisPointRange||e.stacking&&e.stacking.usePercentage||s)&&v(e.min)&&v(e.max)&&(i=e.max-e.min)&&(!v(f)&&p&&(e.min-=i*p),!v(g)&&c&&(e.max+=i*c)),M(e.userMin)||(M(o.softMin)&&o.softMine.max&&(e.max=g=o.softMax),M(o.ceiling)&&(e.max=Math.min(e.max,o.ceiling))),h&&v(e.dataMin)&&(u=u||0,!v(f)&&e.min=u?e.min=e.options.minRange?Math.min(u,e.max-e.minRange):u:!v(g)&&e.max>u&&e.dataMax<=u&&(e.max=e.options.minRange?Math.max(u,e.min+e.minRange):u)),M(e.min)&&M(e.max)&&!this.chart.polar&&e.min>e.max&&(v(e.options.min)?e.max=e.min:v(e.options.max)&&(e.min=e.max)),e.tickInterval=e.min===e.max||void 0===e.min||void 0===e.max?1:s&&e.linkedParent&&!d&&a===e.linkedParent.options.tickPixelInterval?d=e.linkedParent.tickInterval:E(d,this.tickAmount?(e.max-e.min)/Math.max(this.tickAmount-1,1):void 0,l?1:(e.max-e.min)*a/Math.max(e.len,a)),r&&!t&&e.series.forEach((function(t){t.processData(e.min!==(e.old&&e.old.min)||e.max!==(e.old&&e.old.max))})),e.setAxisTranslation(),S(this,"initialAxisTranslation"),e.pointRange&&!d&&(e.tickInterval=Math.max(e.pointRange,e.tickInterval)),t=E(o.minTickInterval,e.dateTime&&!e.series.some((function(t){return t.noSharedTooltip}))?e.closestPointRange:0),!d&&e.tickIntervale.tickInterval||void 0!==this.tickAmount),!!this.tickAmount)),this.tickAmount||(e.tickInterval=e.unsquish()),this.setTickPositions()},t.prototype.setTickPositions=function(){var t=this.options,e=t.tickPositions,i=this.getMinorTickInterval(),n=this.hasVerticalPanning(),o="colorAxis"===this.coll,r=(o||!n)&&t.startOnTick;n=(o||!n)&&t.endOnTick,o=t.tickPositioner,this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===i&&this.tickInterval?this.tickInterval/5:i,this.single=this.min===this.max&&v(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals),this.tickPositions=i=e&&e.slice(),!i&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?i=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(i=[this.min,this.max],b(19,!1,this.chart)),i.length>this.len&&(i=[i[0],i.pop()])[0]===i[1]&&(i.length=1),this.tickPositions=i,o&&(o=o.apply(this,[this.min,this.max])))&&(this.tickPositions=i=o),this.paddedTicks=i.slice(0),this.trimTicks(i,r,n),this.isLinked||(this.single&&2>i.length&&!this.categories&&!this.series.some((function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),e||o||this.adjustTickAmount()),S(this,"afterSetTickPositions")},t.prototype.trimTicks=function(t,e,i){var n=t[0],o=t[t.length-1],r=!this.isOrdinal&&this.minPointOffset||0;if(S(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==n)this.min=n;else for(;this.min-r>t[0];)t.shift();if(i)this.max=o;else for(;this.max+ri&&(this.finalTickAmt=i,i=5),this.tickAmount=i},t.prototype.adjustTickAmount=function(){var t=this.options,e=this.tickInterval,i=this.tickPositions,n=this.tickAmount,o=this.finalTickAmt,r=i&&i.length,s=E(this.threshold,this.softThreshold?0:null);if(this.hasData()&&M(this.min)&&M(this.max)){if(rn&&(this.tickInterval*=2,this.setTickPositions());if(v(o)){for(e=t=i.length;e--;)(3===o&&1==e%2||2>=o&&0a&&(e=a)),v(o)&&(ra&&(r=a))),i.displayBtn=void 0!==e||void 0!==r,i.setExtremes(e,r,!1,void 0,{trigger:"zoom"})),t.zoomed=!0})),t.zoomed},t.prototype.setAxisSize=function(){var t=this.chart,e=this.options,i=e.offsets||[0,0,0,0],n=this.horiz,o=this.width=Math.round(_(E(e.width,t.plotWidth-i[3]+i[1]),t.plotWidth)),r=this.height=Math.round(_(E(e.height,t.plotHeight-i[0]+i[2]),t.plotHeight)),s=this.top=Math.round(_(E(e.top,t.plotTop+i[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(_(E(e.left,t.plotLeft+i[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-r-s,this.right=t.chartWidth-o-e,this.len=Math.max(n?o:r,0),this.pos=n?e:s},t.prototype.getExtremes=function(){var t=this.logarithmic;return{min:t?m(t.lin2log(this.min)):this.min,max:t?m(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},t.prototype.getThreshold=function(t){var e=this.logarithmic,i=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-1/0===t?t=i:1/0===t?t=e:i>t?t=i:ee?t.align="right":195e&&(t.align="left")})),t.align},t.prototype.tickSize=function(t){var e=this.options,i=E(e["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),n=e["tick"===t?"tickLength":"minorTickLength"];if(i&&n){"inside"===e[t+"Position"]&&(n=-n);var o=[n,i]}return S(this,"afterTickSize",t={tickSize:o}),t.tickSize},t.prototype.labelMetrics=function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},t.prototype.unsquish=function(){var t,e,i=this.options.labels,n=this.horiz,o=this.tickInterval,r=this.len/(((this.categories?1:0)+this.max-this.min)/o),s=i.rotation,a=this.labelMetrics(),l=Math.max(this.max-this.min,0),h=function(t){var e=t/(r||1);return(e=1l&&1/0!==t&&1/0!==r&&l&&(e=Math.ceil(l/o)),m(e*o)},c=o,d=Number.MAX_VALUE;if(n){if(!i.staggerLines&&!i.step)if(M(s))var u=[s];else r=i){var n=(e=h(Math.abs(a.h/Math.sin(p*i))))+Math.abs(i/360);nn.step)return n.rotation?0:(this.staggerLines||1)*this.len/o;if(!i){if(void 0!==(t=n.style.width))return parseInt(String(t),10);if(r)return r-e.spacing[3]}return.33*e.chartWidth},t.prototype.renderUnsquish=function(){var t=this.chart,e=t.renderer,i=this.tickPositions,n=this.ticks,o=this.options.labels,r=o.style,s=this.horiz,a=this.getSlotWidth(),l=Math.max(1,Math.round(a-2*o.padding)),h={},c=this.labelMetrics(),p=r.textOverflow,d=0;if(A(o.rotation)||(h.rotation=o.rotation||0),i.forEach((function(t){(t=n[t]).movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>d&&(d=t.label.textPxLength)})),this.maxLabelLength=d,this.autoRotation)d>l&&d>c.h?h.rotation=this.labelRotation:this.labelRotation=0;else if(a){var u=l;if(!p){var f="clip";for(l=i.length;!s&&l--;){var g=i[l];(g=n[g].label)&&(g.styles&&"ellipsis"===g.styles.textOverflow?g.css({textOverflow:"clip"}):g.textPxLength>a&&g.css({width:a+"px"}),g.getBBox().height>this.len/i.length-(c.h-c.f)&&(g.specificTextOverflow="ellipsis"))}}}h.rotation&&(u=d>.5*t.chartHeight?.33*t.chartHeight:d,p||(f="ellipsis")),(this.labelAlign=o.align||this.autoLabelAlign(this.labelRotation))&&(h.align=this.labelAlign),i.forEach((function(t){var e=(t=n[t])&&t.label,i=r.width,o={};e&&(e.attr(h),t.shortenLabel?t.shortenLabel():u&&!i&&"nowrap"!==r.whiteSpace&&(u=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(n[t]||(n[t]=new l(this,t)),i&&n[t].isNew&&n[t].render(e,!0,-1),n[t].render(e))},t.prototype.render=function(){var t,e,i=this,n=i.chart,o=i.logarithmic,s=i.options,a=i.isLinked,c=i.tickPositions,p=i.axisTitle,d=i.ticks,u=i.minorTicks,f=i.alternateBands,g=s.stackLabels,m=s.alternateGridColor,v=i.tickmarkOffset,y=i.axisLine,x=i.showAxis,b=h(n.renderer.globalAnimation);if(i.labelEdge.length=0,i.overlap=!1,[d,u,f].forEach((function(t){O(t,(function(t){t.isActive=!1}))})),i.hasData()||a){var C=i.chart.hasRendered&&i.old&&M(i.old.min);i.minorTickInterval&&!i.categories&&i.getMinorTickPositions().forEach((function(t){i.renderMinorTick(t,C)})),c.length&&(c.forEach((function(t,e){i.renderTick(t,e,C)})),v&&(0===i.min||i.single)&&(d[-1]||(d[-1]=new l(i,-1,null,!0)),d[-1].render(-1))),m&&c.forEach((function(s,a){e=void 0!==c[a+1]?c[a+1]+v:i.max-v,0==a%2&&se&&(!s||h<=i)&&void 0!==h&&c.push(h),h>i&&(u=!0),h=g}}}else e=this.lin2log(e),i=this.lin2log(i),t=s?a.getMinorTickInterval():h.tickInterval,t=r("auto"===t?null:t,this.minorAutoInterval,h.tickPixelInterval/(s?5:1)*(i-e)/((s?l/a.tickPositions.length:l)||1)),t=o(t,void 0,n(t)),c=a.getLinearTickPositions(t,e,i).map(this.log2lin),s||(this.minorAutoInterval=t/5);return s||(a.tickInterval=t),c},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();return(e=function(){function t(){}return t.compose=function(t){t.keepProps.push("logarithmic"),i(t,"init",(function(t){var e=this.logarithmic;"logarithmic"!==t.userOptions.type?this.logarithmic=void 0:e||(this.logarithmic=new s(this))})),i(t,"afterInit",(function(){var t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}))},t}()).compose(t),e})),e(i,"Core/Axis/PlotLineOrBand.js",[i["Core/Axis/Axis.js"],i["Core/Color/Palette.js"],i["Core/Utilities.js"]],(function(t,e,i){var n=i.arrayMax,o=i.arrayMin,r=i.defined,s=i.destroyObjectProperties,a=i.erase,l=i.extend,h=i.fireEvent,c=i.isNumber,p=i.merge,d=i.objectEach,u=i.pick,f=function(){function t(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)}return t.prototype.render=function(){h(this,"render");var t=this,i=t.axis,n=i.horiz,o=i.logarithmic,s=t.options,a=s.label,l=t.label,c=s.to,f=s.from,g=s.value,m=r(f)&&r(c),v=r(g),y=t.svgElem,x=!y,b=[],C=s.color,S=u(s.zIndex,0),w=s.events;b={class:"highcharts-plot-"+(m?"band ":"line ")+(s.className||"")};var k={},M=i.chart.renderer,A=m?"bands":"lines";if(o&&(f=o.log2lin(f),c=o.log2lin(c),g=o.log2lin(g)),i.chart.styledMode||(v?(b.stroke=C||e.neutralColor40,b["stroke-width"]=u(s.width,1),s.dashStyle&&(b.dashstyle=s.dashStyle)):m&&(b.fill=C||e.highlightColor10,s.borderWidth&&(b.stroke=s.borderColor,b["stroke-width"]=s.borderWidth))),k.zIndex=S,A+="-"+S,(o=i.plotLinesAndBandsGroups[A])||(i.plotLinesAndBandsGroups[A]=o=M.g("plot-"+A).attr(k).add()),x&&(t.svgElem=y=M.path().attr(b).add(o)),v)b=i.getPlotLinePath({value:g,lineWidth:y.strokeWidth(),acrossPanes:s.acrossPanes});else{if(!m)return;b=i.getPlotBandPath(f,c,s)}return!t.eventsAdded&&w&&(d(w,(function(e,i){y.on(i,(function(e){w[i].apply(t,[e])}))})),t.eventsAdded=!0),(x||!y.d)&&b&&b.length?y.attr({d:b}):y&&(b?(y.show(!0),y.animate({d:b})):y.d&&(y.hide(),l&&(t.label=l=l.destroy()))),a&&(r(a.text)||r(a.formatter))&&b&&b.length&&0this.max&&e>this.max,i&&n){if(t){var a=i.toString()===n.toString();s=0}for(t=0;tt){l=a;break}if(s[l]&&r.substr(s[l])!=="01-01 00:00:00.000".substr(s[l]))break;"week"!==l&&(a=l)}if(l)var h=o.resolveDTLFormat(n[l]).main;return h},t.prototype.getLabel=function(){var t,i=this,o=this.chart.renderer,r=this.chart.styledMode,s=this.options,a="tooltip"+(h(s.className)?" "+s.className:""),c=s.style&&s.style.pointerEvents||(!this.followPointer&&s.stickOnContact?"auto":"none");if(!this.label){if(this.outside){var p=this.chart.options.chart.style,d=n.getRendererType();this.container=t=e.doc.createElement("div"),t.className="highcharts-tooltip-container",l(t,{position:"absolute",top:"1px",pointerEvents:c,zIndex:Math.max(this.options.style&&this.options.style.zIndex||0,(p&&p.zIndex||0)+3)}),e.doc.body.appendChild(t),this.renderer=o=new d(t,0,0,p,void 0,void 0,o.styledMode)}if(this.split?this.label=o.g(a):(this.label=o.label("",0,0,s.shape||"callout",null,null,s.useHTML,null,a).attr({padding:s.padding,r:s.borderRadius}),r||this.label.attr({fill:s.backgroundColor,"stroke-width":s.borderWidth}).css(s.style).css({pointerEvents:c}).shadow(s.shadow)),r&&s.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"})),i.outside&&!i.split){var u=this.label,f=u.xSetter,g=u.ySetter;u.xSetter=function(e){f.call(u,i.distance),t.style.left=e+"px"},u.ySetter=function(e){g.call(u,i.distance),t.style.top=e+"px"}}this.label.on("mouseenter",(function(){i.inContact=!0})).on("mouseleave",(function(){var t=i.chart.hoverSeries;i.inContact=!1,t&&t.onMouseOut&&t.onMouseOut()})).attr({zIndex:8}).add()}return this.label},t.prototype.getPosition=function(t,e,i){var n,o=this.chart,r=this.distance,a={},l=o.inverted&&i.h||0,h=this.outside,c=h?s.documentElement.clientWidth-2*r:o.chartWidth,p=h?Math.max(s.body.scrollHeight,s.documentElement.scrollHeight,s.body.offsetHeight,s.documentElement.offsetHeight,s.documentElement.clientHeight):o.chartHeight,d=o.pointer.getChartPosition(),u=function(n){var s="x"===n;return[n,s?c:p,s?t:e].concat(h?[s?t*d.scaleX:e*d.scaleY,s?d.left-r+(i.plotX+o.plotLeft)*d.scaleX:d.top-r+(i.plotY+o.plotTop)*d.scaleY,0,s?c:p]:[s?t:e,s?i.plotX+o.plotLeft:i.plotY+o.plotTop,s?o.plotLeft:o.plotTop,s?o.plotLeft+o.plotWidth:o.plotTop+o.plotHeight])},f=u("y"),g=u("x"),m=!this.followPointer&&v(i.ttBelow,!o.inverted==!!i.negative),y=function(t,e,i,n,o,s,c){var p=h?"y"===t?r*d.scaleY:r*d.scaleX:r,u=(i-n)/2,f=nv-l?v:v-l);else{if(!g)return!1;a[t]=Math.max(s,o+l+i>e?o:o+l)}},x=function(t,e,i,n,o){var s;return oe-r?s=!1:a[t]=oe-n/2?e-n-2:o-i/2,s},b=function(t){var e=f;f=g,g=e,n=t},C=function(){!1!==y.apply(0,f)?!1!==x.apply(0,g)||n||(b(!0),C()):n?a.x=a.y=0:(b(!0),C())};return(o.inverted||1e}))&&(t=t.map((function(t){var e=o(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return p(t,{target:e.y,x:e.x})}))),r.cleanSplit(),e.distribute(t,B);var j=_,N=_;t.forEach((function(t){var e=t.x,i=t.boxWidth;(t=t.isHeader)||(r.outside&&_+eN&&(N=_+e))})),t.forEach((function(t){var e=t.x,i=t.anchorX,n=t.pos,o=t.point.isHeader;if(n={visibility:void 0===n?"hidden":"inherit",x:e,y:n+L,anchorX:i,anchorY:t.anchorY},r.outside&&ei[0]?Math.max(Math.abs(i[0]),o.width-i[0]):Math.max(Math.abs(i[0]),o.width),n.height=0>i[1]?Math.max(Math.abs(i[1]),o.height-Math.abs(i[1])):Math.max(Math.abs(i[1]),o.height),this.tracker?this.tracker.attr(n):(this.tracker=e.renderer.rect(n).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},t.prototype.styledModeFormat=function(t){return t.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},t.prototype.tooltipFooterHeaderFormatter=function(t,e){var i=e?"footer":"header",n=t.series,o=n.tooltipOptions,s=o.xDateFormat,a=n.xAxis,l=a&&"datetime"===a.options.type&&f(t.key),h=o[i+"Format"];return d(this,"headerFormatter",e={isFooter:e,labelConfig:t},(function(e){l&&!s&&(s=this.getXDateFormat(t,o,a)),l&&s&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach((function(t){h=h.replace("{point."+t+"}","{point."+t+":"+s+"}")})),n.chart.styledMode&&(h=this.styledModeFormat(h)),e.text=r(h,{point:t,series:n},this.chart)})),e.text},t.prototype.update=function(t){this.destroy(),m(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,m(!0,this.options,t))},t.prototype.updatePosition=function(t){var e=this.chart,i=e.pointer,n=this.getLabel(),o=t.plotX+e.plotLeft;if(e=t.plotY+e.plotTop,i=i.getChartPosition(),t=(this.options.positioner||this.getPosition).call(this,n.width,n.height,t),this.outside){var r=(this.options.borderWidth||0)+2*this.distance;this.renderer.setSize(n.width+r,n.height+r,!1),1===i.scaleX&&1===i.scaleY||(l(this.container,{transform:"scale("+i.scaleX+", "+i.scaleY+")"}),o*=i.scaleX,e*=i.scaleY),o+=i.left-t.x,e+=i.top-t.y}this.move(Math.round(t.x),Math.round(t.y||0),o,e)},t}(),e.Tooltip=t,e.Tooltip})),e(i,"Core/Pointer.js",[i["Core/Color/Color.js"],i["Core/Globals.js"],i["Core/Color/Palette.js"],i["Core/Tooltip.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o){var r=t.parse,s=e.charts,a=e.noop,l=o.addEvent,h=o.attr,c=o.css,p=o.defined,d=o.extend,u=o.find,f=o.fireEvent,g=o.isNumber,m=o.isObject,v=o.objectEach,y=o.offset,x=o.pick,b=o.splat;return t=function(){function t(t,e){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=t,this.hasDragged=!1,this.options=e,this.init(t,e)}return t.prototype.applyInactiveState=function(t){var e,i=[];(t||[]).forEach((function(t){e=t.series,i.push(e),e.linkedParent&&i.push(e.linkedParent),e.linkedSeries&&(i=i.concat(e.linkedSeries)),e.navigatorSeries&&i.push(e.navigatorSeries)})),this.chart.series.forEach((function(t){-1===i.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")}))},t.prototype.destroy=function(){var i=this;this.eventsToUnbind.forEach((function(t){return t()})),this.eventsToUnbind=[],e.chartCount||(t.unbindDocumentMouseUp&&(t.unbindDocumentMouseUp=t.unbindDocumentMouseUp()),t.unbindDocumentTouchEnd&&(t.unbindDocumentTouchEnd=t.unbindDocumentTouchEnd())),clearInterval(i.tooltipTimeout),v(i,(function(t,e){i[e]=void 0}))},t.prototype.drag=function(t){var e=this.chart,n=e.options.chart,o=this.zoomHor,s=this.zoomVert,a=e.plotLeft,l=e.plotTop,h=e.plotWidth,c=e.plotHeight,p=this.mouseDownX||0,d=this.mouseDownY||0,u=m(n.panning)?n.panning&&n.panning.enabled:n.panning,f=n.panKey&&t[n.panKey+"Key"],g=t.chartX,v=t.chartY,y=this.selectionMarker;if((!y||!y.touch)&&(ga+h&&(g=a+h),vl+c&&(v=l+c),this.hasDragged=Math.sqrt(Math.pow(p-g,2)+Math.pow(d-v,2)),10t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(i,o),(o=m(t,!0)&&t.series)&&!(o=!m(n,!0))){o=n.distX-t.distX;var r=n.dist-t.dist,s=(t.series.group&&t.series.group.zIndex)-(n.series.group&&n.series.group.zIndex);o=0<(0!==o&&e?o:0!==r?r:0!==s?s:n.series.index>t.series.index?-1:1)}o&&(n=t)})),n)},t.prototype.getChartCoordinatesFromPoint=function(t,e){var i=t.series,n=i.xAxis;i=i.yAxis;var o=t.shapeArgs;if(n&&i){var r=x(t.clientX,t.plotX),s=t.plotY||0;return t.isNode&&o&&g(o.x)&&g(o.y)&&(r=o.x,s=o.y),e?{chartX:i.len+i.pos-s,chartY:n.len+n.pos-r}:{chartX:r+n.pos,chartY:s+i.pos}}if(o&&o.x&&o.y)return{chartX:o.x,chartY:o.y}},t.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=y(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};var i=t.offsetWidth;return t=t.offsetHeight,2g.max&&(i=g.max-x,k=!0);k?(S-=.8*(S-s[h][0]),"number"==typeof w&&(w-=.8*(w-s[h][1])),e()):s[h]=[S,w],f||(r[h]=b-u,r[d]=x),r=f?1/C:C,o[d]=x,o[h]=i,n[f?t?"scaleY":"scaleX":"scale"+c]=C,n["translate"+c]=r*u+(S-r*v)},t.prototype.reset=function(t,e){var i=this.chart,n=i.hoverSeries,o=i.hoverPoint,r=i.hoverPoints,s=i.tooltip,a=s&&s.shared?r:o;t&&a&&b(a).forEach((function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)})),t?s&&a&&b(a).length&&(s.refresh(a),s.shared&&r?r.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):o&&(o.setState(o.state,!0),i.axes.forEach((function(t){t.crosshair&&o.series[t.coll]===t&&t.drawCrosshair(null,o)})))):(o&&o.onMouseOut(),r&&r.forEach((function(t){t.setState()})),n&&n.onMouseOut(),s&&s.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),i.axes.forEach((function(t){t.hideCrosshair()})),this.hoverX=i.hoverPoints=i.hoverPoint=null)},t.prototype.runPointActions=function(e,i){var n=this.chart,o=n.tooltip&&n.tooltip.options.enabled?n.tooltip:void 0,r=!!o&&o.shared,a=i||n.hoverPoint,h=a&&a.series||n.hoverSeries;a=(i=this.getHoverData(a,h,n.series,(!e||"touchmove"!==e.type)&&(!!i||h&&h.directTouch&&this.isDirectTouch),r,e)).hoverPoint,h=i.hoverSeries;var c=i.hoverPoints;if(i=h&&h.tooltipOptions.followPointer&&!h.tooltipOptions.split,r=r&&h&&!h.noSharedTooltip,a&&(a!==n.hoverPoint||o&&o.isHidden)){if((n.hoverPoints||[]).forEach((function(t){-1===c.indexOf(t)&&t.setState()})),n.hoverSeries!==h&&h.onMouseOver(),this.applyInactiveState(c),(c||[]).forEach((function(t){t.setState("hover")})),n.hoverPoint&&n.hoverPoint.firePointEvent("mouseOut"),!a.series)return;n.hoverPoints=c,n.hoverPoint=a,a.firePointEvent("mouseOver"),o&&o.refresh(r?c:a,e)}else i&&o&&!o.isHidden&&(a=o.getAnchor([{}],e),n.isInsidePlot(a[0],a[1],{visiblePlotOnly:!0})&&o.updatePosition({plotX:a[0],plotY:a[1]}));this.unDocMouseMove||(this.unDocMouseMove=l(n.container.ownerDocument,"mousemove",(function(e){var i=s[t.hoverChartIndex];i&&i.pointer.onDocumentMouseMove(e)})),this.eventsToUnbind.push(this.unDocMouseMove)),n.axes.forEach((function(t){var i,o=x((t.crosshair||{}).snap,!0);o&&((i=n.hoverPoint)&&i.series[t.coll]===t||(i=u(c,(function(e){return e.series[t.coll]===t})))),i||!o?t.drawCrosshair(e,i):t.hideCrosshair()}))},t.prototype.scaleGroups=function(t,e){var i=this.chart;i.series.forEach((function(n){var o=t||n.getPlotBox();n.xAxis&&n.xAxis.zoomEnabled&&n.group&&(n.group.attr(o),n.markerGroup&&(n.markerGroup.attr(o),n.markerGroup.clip(e?i.clipRect:null)),n.dataLabelsGroup&&n.dataLabelsGroup.attr(o))})),i.clipRect.attr(e||i.clipBox)},t.prototype.setDOMEvents=function(){var i=this,n=this.chart.container,o=n.ownerDocument;n.onmousedown=this.onContainerMouseDown.bind(this),n.onmousemove=this.onContainerMouseMove.bind(this),n.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(l(n,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(l(n,"mouseleave",this.onContainerMouseLeave.bind(this))),t.unbindDocumentMouseUp||(t.unbindDocumentMouseUp=l(o,"mouseup",this.onDocumentMouseUp.bind(this)));for(var r=this.chart.renderTo.parentElement;r&&"BODY"!==r.tagName;)this.eventsToUnbind.push(l(r,"scroll",(function(){delete i.chartPosition}))),r=r.parentElement;e.hasTouch&&(this.eventsToUnbind.push(l(n,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(l(n,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),t.unbindDocumentTouchEnd||(t.unbindDocumentTouchEnd=l(o,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},t.prototype.setHoverChartIndex=function(){var i=this.chart,n=e.charts[x(t.hoverChartIndex,-1)];n&&n!==i&&n.pointer.onContainerMouseLeave({relatedTarget:!0}),n&&n.mouseIsDown||(t.hoverChartIndex=i.index)},t.prototype.touch=function(t,e){var i=this.chart;if(this.setHoverChartIndex(),1===t.touches.length)if(t=this.normalize(t),i.isInsidePlot(t.chartX-i.plotLeft,t.chartY-i.plotTop,{visiblePlotOnly:!0})&&!i.openMenu){if(e&&this.runPointActions(t),"touchmove"===t.type)var n=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2));x(n,!0)&&this.pinch(t)}else e&&this.reset();else 2===t.touches.length&&this.pinch(t)},t.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zoomBySingleTouch||!t.touches||1!==t.touches.length)},t.prototype.zoomOption=function(t){var e=this.chart,i=e.options.chart;e=e.inverted;var n=i.zoomType||"";/touch/.test(t.type)&&(n=x(i.pinchType,n)),this.zoomX=t=/x/.test(n),this.zoomY=i=/y/.test(n),this.zoomHor=t&&!e||i&&e,this.zoomVert=i&&!e||t&&e,this.hasZoom=t||i},t}()})),e(i,"Core/MSPointer.js",[i["Core/Globals.js"],i["Core/Pointer.js"],i["Core/Utilities.js"]],(function(t,e,i){function n(){var t=[];return t.item=function(t){return this[t]},d(f,(function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})})),t}function o(t,i,o,r){var a=s[e.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!a||(a=a.pointer,r(t),a[i]({type:o,target:t.currentTarget,preventDefault:l,touches:n()}))}var r=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),s=t.charts,a=t.doc,l=t.noop,h=t.win,c=i.addEvent,p=i.css,d=i.objectEach,u=i.removeEvent,f={},g=!!h.PointerEvent;return function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return r(i,e),i.isRequired=function(){return!(t.hasTouch||!h.PointerEvent&&!h.MSPointerEvent)},i.prototype.batchMSEvents=function(t){t(this.chart.container,g?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,g?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(a,g?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},i.prototype.destroy=function(){this.batchMSEvents(u),e.prototype.destroy.call(this)},i.prototype.init=function(t,i){e.prototype.init.call(this,t,i),this.hasZoom&&p(t.container,{"-ms-touch-action":"none","touch-action":"none"})},i.prototype.onContainerPointerDown=function(t){o(t,"onContainerTouchStart","touchstart",(function(t){f[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}}))},i.prototype.onContainerPointerMove=function(t){o(t,"onContainerTouchMove","touchmove",(function(t){f[t.pointerId]={pageX:t.pageX,pageY:t.pageY},f[t.pointerId].target||(f[t.pointerId].target=t.currentTarget)}))},i.prototype.onDocumentPointerUp=function(t){o(t,"onDocumentTouchEnd","touchend",(function(t){delete f[t.pointerId]}))},i.prototype.setDOMEvents=function(){e.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(c)},i}(e)})),e(i,"Core/Series/Point.js",[i["Core/Renderer/HTML/AST.js"],i["Core/Animation/AnimationUtilities.js"],i["Core/FormatUtilities.js"],i["Core/Globals.js"],i["Core/DefaultOptions.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r){var s=e.animObject,a=i.format,l=o.defaultOptions,h=r.addEvent,c=r.defined,p=r.erase,d=r.extend,u=r.fireEvent,f=r.getNestedProperty,g=r.isArray,m=r.isFunction,v=r.isNumber,y=r.isObject,x=r.merge,b=r.objectEach,C=r.pick,S=r.syncTimeout,w=r.removeEvent,k=r.uniqueKey;return e=function(){function e(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.series=void 0,this.visible=!0,this.x=void 0}return e.prototype.animateBeforeDestroy=function(){var t,e=this,i={x:e.startXPos,opacity:0},n=e.getGraphicalProps();n.singular.forEach((function(n){t="dataLabel"===n,e[n]=e[n].animate(t?{x:e[n].startXPos,y:e[n].startYPos,opacity:0}:i)})),n.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.animate(d({x:e.startXPos},t.startYPos?{x:t.startXPos,y:t.startYPos}:{}))}))}))},e.prototype.applyOptions=function(t,i){var n=this.series,o=n.options.pointValKey||n.pointValKey;return t=e.prototype.optionsToObject.call(this,t),d(this,t),this.options=this.options?d(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,o&&(this.y=e.prototype.getNestedProperty.call(this,o)),this.formatPrefix=(this.isNull=C(this.isValid&&!this.isValid(),null===this.x||!v(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&void 0===i&&n.xAxis&&n.xAxis.hasNames&&(this.x=n.xAxis.nameToX(this)),void 0===this.x&&n&&(this.x=void 0===i?n.autoIncrement(this):i),this},e.prototype.destroy=function(){function t(){for(o in(e.graphic||e.dataLabel||e.dataLabels)&&(w(e),e.destroyElements()),e)e[o]=null}var e=this,i=e.series,n=i.chart;i=i.options.dataSorting;var o,r=n.hoverPoints,a=s(e.series.chart.renderer.globalAnimation);e.legendItem&&n.legend.destroyItem(e),r&&(e.setState(),p(r,e),r.length||(n.hoverPoints=null)),e===n.hoverPoint&&e.onMouseOut(),i&&i.enabled?(this.animateBeforeDestroy(),S(t,a.duration)):t(),n.pointCount--},e.prototype.destroyElements=function(t){var e=this;(t=e.getGraphicalProps(t)).singular.forEach((function(t){e[t]=e[t].destroy()})),t.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.destroy()})),delete e[t]}))},e.prototype.firePointEvent=function(t,e,i){var n=this,o=this.series.options;(o.point.events[t]||n.options&&n.options.events&&n.options.events[t])&&n.importEvents(),"click"===t&&o.allowPointSelect&&(i=function(t){n.select&&n.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),u(n,t,e,i)},e.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},e.prototype.getGraphicalProps=function(t){var e,i=this,n=[],o={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&n.push("graphic","upperGraphic","shadowGroup"),t.dataLabel&&n.push("dataLabel","dataLabelUpper","connector"),e=n.length;e--;){var r=n[e];i[r]&&o.singular.push(r)}return["dataLabel","connector"].forEach((function(e){var n=e+"s";t[e]&&i[n]&&o.plural.push(n)})),o},e.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},e.prototype.getNestedProperty=function(t){if(t)return 0===t.indexOf("custom.")?f(t,this.options):this[t]},e.prototype.getZone=function(){var t=this.series,e=t.zones;t=t.zoneAxis||"y";var i,n=0;for(i=e[n];this[t]>=i.value;)i=e[++n];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=i&&i.color&&!this.options.color?i.color:this.nonZonedColor,i},e.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},e.prototype.init=function(t,e,i){return this.series=t,this.applyOptions(e,i),this.id=c(this.id)?this.id:k(),this.resolveColor(),t.chart.pointCount++,u(this,"afterInit"),this},e.prototype.optionsToObject=function(t){var i={},n=this.series,o=n.options.keys,r=o||n.pointArrayMap||["y"],s=r.length,a=0,l=0;if(v(t)||null===t)i[r[0]]=t;else if(g(t))for(!o&&t.length>s&&("string"==(n=typeof t[0])?i.name=t[0]:"number"===n&&(i.x=t[0]),a++);ln-6&&sl?this.maxItemWidth:t.itemWidth,n&&this.itemX-i+e>l&&(this.itemX=i,this.lastLineHeight&&(this.itemY+=s+this.lastLineHeight+r),this.lastLineHeight=0),this.lastItemY=s+this.itemY+r,this.lastLineHeight=Math.max(o,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],n?this.itemX+=e:(this.itemY+=s+o+r,this.lastLineHeight=o),this.offsetWidth=this.widthOption||Math.max((n?this.itemX-i-(t.checkbox?0:a):e)+i,this.offsetWidth)},t.prototype.getAllItems=function(){var t=[];return this.chart.series.forEach((function(e){var i=e&&e.options;e&&y(i.showInLegend,!d(i.linkedTo)&&void 0,!0)&&(t=t.concat(e.legendItems||("point"===i.legendType?e.data:e)))})),g(this,"afterGetAllItems",{allItems:t}),t},t.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},t.prototype.adjustMargins=function(t,e){var i=this.chart,n=this.options,o=this.getAlignment();o&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(r,s){r.test(o)&&!d(t[s])&&(i[l[s]]=Math.max(i[l[s]],i.legend[(s+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][s]*n[s%2?"x":"y"]+y(n.margin,12)+e[s]+(i.titleOffset[s]||0)))}))},t.prototype.proximatePositions=function(){var t=this.chart,e=[],n="left"===this.options.align;this.allItems.forEach((function(i){var o,r=n;if(i.yAxis){i.xAxis.options.reversed&&(r=!r),i.points&&(o=f(r?i.points:i.points.slice(0).reverse(),(function(t){return m(t.plotY)}))),r=this.itemMarginTop+i.legendItem.getBBox().height+this.itemMarginBottom;var s=i.yAxis.top-t.plotTop;i.visible?(o=o?o.plotY:i.yAxis.height,o+=s-.3*r):o=s+i.yAxis.height,e.push({target:o,size:r,item:i})}}),this),i.distribute(e,t.plotHeight),e.forEach((function(e){e.item._legendItemPos[1]=t.plotTop-t.spacing[0]+e.pos}))},t.prototype.render=function(){var t=this.chart,e=t.renderer,i=this.group,n=this.box,o=this.options,r=this.padding;this.itemX=r,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=x(o.width,t.spacingBox.width-r);var s=t.spacingBox.width-2*r-o.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(s/=2),this.maxLegendWidth=this.widthOption||s,i||(this.group=i=e.g("legend").addClass(o.className||"").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(i),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle();var a=this.getAllItems();b(a,(function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)})),o.reversed&&a.reverse(),this.allItems=a,this.display=s=!!a.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,a.forEach(this.renderItem,this),a.forEach(this.layoutItem,this),a=(this.widthOption||this.offsetWidth)+r;var l=this.lastItemY+this.lastLineHeight+this.titleHeight;l=this.handleOverflow(l),l+=r,n||(this.box=n=e.rect().addClass("highcharts-legend-box").attr({r:o.borderRadius}).add(i),n.isNew=!0),t.styledMode||n.attr({stroke:o.borderColor,"stroke-width":o.borderWidth||0,fill:o.backgroundColor||"none"}).shadow(o.shadow),0r&&!1!==p.enabled?(this.clipHeight=a=Math.max(r-20-this.titleHeight-s,0),this.currentPage=y(this.currentPage,1),this.fullHeight=t,m.forEach((function(t,e){var i=t._legendItemPos[1],n=Math.round(t.legendItem.getBBox().height),o=g.length;(!o||i-g[o-1]>a&&(l||i)!==g[o-1])&&(g.push(l||i),o++),t.pageIx=o-1,l&&(m[e-1].pageIx=o-1),e===m.length-1&&i+n-g[o-1]>a&&i!==l&&(g.push(i),t.pageIx=o),i!==l&&(l=i)})),c||(c=e.clipRect=n.clipRect(0,s,9999,0),e.contentGroup.clip(c)),v(a),f||(this.nav=f=n.g().attr({zIndex:1}).add(this.group),this.up=n.symbol("triangle",0,0,u,u).add(f),x("upTracker").on("click",(function(){e.scroll(-1,d)})),this.pager=n.text("",15,10).addClass("highcharts-legend-navigation"),i.styledMode||this.pager.css(p.style),this.pager.add(f),this.down=n.symbol("triangle-down",0,0,u,u).add(f),x("downTracker").on("click",(function(){e.scroll(1,d)}))),e.scroll(0),t=r):f&&(v(),this.nav=f.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},t.prototype.scroll=function(t,e){var i=this,n=this.chart,o=this.pages,a=o.length,l=this.currentPage+t;t=this.clipHeight;var h=this.options.navigation,c=this.pager,p=this.padding;l>a&&(l=a),0=Math.max(l+r,p.pos)&&a<=Math.min(l+r+o.width,p.pos+p.len)||(t.isInsidePlot=!1)}return!i.ignoreY&&t.isInsidePlot&&(n=c&&(n?c.xAxis:c.yAxis)||{pos:s,len:1/0},(i=i.paneCoordinates?n.pos+e:s+e)>=Math.max(h+s,n.pos)&&i<=Math.min(h+s+o.height,n.pos+n.len)||(t.isInsidePlot=!1)),R(this,"afterIsInsidePlot",t),t.isInsidePlot},t.prototype.redraw=function(t){R(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],i=this.series,n=this.pointer,o=this.legend,r=this.userOptions.legend,s=this.renderer,a=s.isHidden(),l=[],h=this.isDirtyBox,c=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),v(!!this.hasRendered&&t,this),a&&this.temporaryDisplay(),this.layOutTitles(),t=i.length;t--;){var p=i[t];if(p.options.stacking||p.options.centerInCategory){var d=!0;if(p.isDirty){var u=!0;break}}}if(u)for(t=i.length;t--;)(p=i[t]).options.stacking&&(p.isDirty=!0);i.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"==typeof t.updateTotals&&t.updateTotals(),c=!0):r&&(r.labelFormatter||r.labelFormat)&&(c=!0)),t.isDirtyData&&R(t,"updatedData")})),c&&o&&o.options.enabled&&(o.render(),this.isDirtyLegend=!1),d&&this.getStacks(),e.forEach((function(t){t.updateNames(),t.setScale()})),this.getMargins(),e.forEach((function(t){t.isDirty&&(h=!0)})),e.forEach((function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,l.push((function(){R(t,"afterSetExtremes",N(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(h||d)&&t.redraw()})),h&&this.drawChartBox(),R(this,"predraw"),i.forEach((function(t){(h||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),n&&n.reset(!0),s.draw(),R(this,"redraw"),R(this,"render"),a&&this.temporaryDisplay(!0),l.forEach((function(t){t.call()}))},t.prototype.get=function(t){function e(e){return e.id===t||e.options&&e.options.id===t}for(var i=this.series,n=I(this.axes,e)||I(this.series,e),o=0;!n&&o=a&&o<=l||h||!L(o))&&(c=!0),n[h?"zoomX":"zoomY"]&&c&&(e=s.zoom(t.min,t.max),s.displayBtn&&(r=!0))}));var s=i.resetZoomButton;r&&!s?i.showResetZoom():!r&&F(s)&&(i.resetZoomButton=s.destroy()),e&&i.redraw(U(i.options.chart.animation,t&&t.animation,100>i.pointCount))},t.prototype.pan=function(t,e){var i=this,n=i.hoverPoints;e="object"==typeof e?e:{enabled:e,type:"x"};var o=i.options.chart,r=i.options.mapNavigation&&i.options.mapNavigation.enabled;o&&o.panning&&(o.panning=e);var s,a=e.type;R(this,"pan",{originalEvent:t},(function(){n&&n.forEach((function(t){t.setState()}));var e=i.xAxis;"xy"===a?e=e.concat(i.yAxis):"y"===a&&(e=i.yAxis);var o={};e.forEach((function(e){if(e.options.panningEnabled&&!e.options.isInternal){var n=e.horiz,l=t[n?"chartX":"chartY"],h=i[n=n?"mouseDownX":"mouseDownY"],c=e.minPointOffset||0,p=e.reversed&&!i.inverted||!e.reversed&&i.inverted?-1:1,d=e.getExtremes(),u=e.toValue(h-l,!0)+c*p,f=e.toValue(h+e.len-l,!0)-(c*p||e.isXAxis&&e.pointRangePadding||0),g=f=p&&u<=f&&(e.setExtremes(h,u,!1,!1,{trigger:"pan"}),i.resetZoomButton||r||h===p||u===f||!a.match("y")||(i.showResetZoom(),e.displayBtn=!1),s=!0),o[n]=l)}})),X(o,(function(t,e){i[e]=t})),s&&i.redraw(!1),_(i.container,{cursor:"move"})}))},t}(),N(t.prototype,{callbacks:[],collectionsWithInit:{xAxis:[t.prototype.addAxis,[!0]],yAxis:[t.prototype.addAxis,[!1]],series:[t.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","zAxis","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(" ")}),t})),e(i,"Mixins/LegendSymbol.html",[i["Core/Globals.js"],i["Core/Utilities.js"]],(function(t,e){var i=e.merge,n=e.pick;return t.LegendSymbolMixin={drawRectangle:function(t,e){var i=t.symbolHeight,o=t.options.squareSymbol;e.legendSymbol=this.chart.renderer.rect(o?(t.symbolWidth-i)/2:0,t.baseline-i+1,o?i:t.symbolWidth,i,n(t.options.symbolRadius,i/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)},drawLineMarker:function(t){var e=this.options,o=e.marker,r=t.symbolWidth,s=t.symbolHeight,a=s/2,l=this.chart.renderer,h=this.legendGroup;t=t.baseline-Math.round(.3*t.fontMetrics.b);var c={};this.chart.styledMode||(c={"stroke-width":e.lineWidth||0},e.dashStyle&&(c.dashstyle=e.dashStyle)),this.legendLine=l.path([["M",0,t],["L",r,t]]).addClass("highcharts-graph").attr(c).add(h),o&&!1!==o.enabled&&r&&(e=Math.min(n(o.radius,a),a),0===this.symbol.indexOf("url")&&(o=i(o,{width:s,height:s}),e=0),this.legendSymbol=o=l.symbol(this.symbol,r/2-e,t-e,2*e,2*e,o).addClass("highcharts-point").add(h),o.isMarker=!0)}}})),e(i,"Core/Series/Series.html",[i["Core/Animation/AnimationUtilities.js"],i["Core/Foundation.js"],i["Core/Globals.js"],i["Mixins/LegendSymbol.js"],i["Core/DefaultOptions.js"],i["Core/Color/Palette.js"],i["Core/Series/Point.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r,s,a,l,h){var c=t.animObject,p=t.setAnimation,d=e.registerEventOptions,u=i.hasTouch,f=i.svg,g=i.win,m=o.defaultOptions,v=a.seriesTypes,y=h.addEvent,x=h.arrayMax,b=h.arrayMin,C=h.clamp,S=h.cleanRecursively,w=h.correctFloat,k=h.defined,M=h.erase,A=h.error,T=h.extend,P=h.find,O=h.fireEvent,E=h.getNestedProperty,_=h.isArray,L=h.isNumber,D=h.isString,B=h.merge,j=h.objectEach,N=h.pick,I=h.removeEvent,R=h.splat,z=h.syncTimeout;return t=function(){function t(){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}return t.prototype.init=function(t,e){O(this,"init",{options:e});var i=this,n=t.series;this.eventsToUnbind=[],i.chart=t,i.options=i.setOptions(e),e=i.options,i.linkedSeries=[],i.bindAxes(),T(i,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected}),d(this,e);var o,r=e.events;(r&&r.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)&&(t.runTrackerClick=!0),i.getColor(),i.getSymbol(),i.parallelArrays.forEach((function(t){i[t+"Data"]||(i[t+"Data"]=[])})),i.isCartesian&&(t.hasCartesianSeries=!0),n.length&&(o=n[n.length-1]),i._i=N(o&&o._i,-1)+1,i.opacity=i.options.opacity,t.orderSeries(this.insert(n)),e.dataSorting&&e.dataSorting.enabled?i.setDataSortingOptions():i.points||i.data||i.setData(e.data,!1),O(this,"afterInit")},t.prototype.is=function(t){return v[t]&&this instanceof v[t]},t.prototype.insert=function(t){var e,i=this.options.index;if(L(i)){for(e=t.length;e--;)if(i>=N(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return N(e,t.length-1)},t.prototype.bindAxes=function(){var t,e=this,i=e.options,n=e.chart;O(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(o){var r=0;n[o].forEach((function(n){t=n.options,(i[o]===r&&!t.isInternal||void 0!==i[o]&&i[o]===t.id||void 0===i[o]&&0===t.index)&&(e.insert(n.series),e[o]=n,n.isDirty=!0),t.isInternal||r++})),e[o]||e.optionalAxis===o||A(18,!0,n)}))})),O(this,"afterBindAxes")},t.prototype.updateParallelArrays=function(t,e){var i=t.series,n=arguments,o=L(e)?function(n){var o="y"===n&&i.toYData?i.toYData(t):t[n];i[n+"Data"][e]=o}:function(t){Array.prototype[e].apply(i[t+"Data"],Array.prototype.slice.call(n,2))};i.parallelArrays.forEach(o)},t.prototype.hasData=function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0=this.cropStart?h-this.cropStart:h),!i&&r[h]&&r[h].touched&&(h=void 0),h},t.prototype.updateData=function(t,e){var i,n,o,r=this.options,s=r.dataSorting,a=this.points,l=[],h=this.requireSorting,c=t.length===a.length,p=!0;if(this.xIncrement=null,t.forEach((function(t,e){var n=k(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},p=n.x;n.id||L(p)?(-1===(p=this.findPointIndex(n,o))||void 0===p?l.push(t):a[p]&&t!==r.data[p]?(a[p].update(t,!1,null,!1),a[p].touched=!0,h&&(o=p+1)):a[p]&&(a[p].touched=!0),(!c||e!==p||s&&s.enabled||this.hasDerivedData)&&(i=!0)):l.push(t)}),this),i)for(t=a.length;t--;)(n=a[t])&&!n.touched&&n.remove&&n.remove(!1,e);else!c||s&&s.enabled?p=!1:(t.forEach((function(t,e){t!==a[e].y&&a[e].update&&a[e].update(t,!1,null,!1)})),l.length=0);return a.forEach((function(t){t&&(t.touched=!1)})),!!p&&(l.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=x(this.xData),this.autoIncrement()),!0)},t.prototype.setData=function(t,e,i,n){var o,r=this,s=r.points,a=s&&s.length||0,l=r.options,h=r.chart,c=l.dataSorting,p=null,d=r.xAxis;p=l.turboThreshold;var u,f=this.xData,g=this.yData,m=(o=r.pointArrayMap)&&o.length,v=l.keys,y=0,x=1;if(o=(t=t||[]).length,e=N(e,!0),c&&c.enabled&&(t=this.sortData(t)),!1!==n&&o&&a&&!r.cropped&&!r.hasGroupedData&&r.visible&&!r.isSeriesBoosting&&(u=this.updateData(t,i)),!u){if(r.xIncrement=null,r.colorCounter=0,this.parallelArrays.forEach((function(t){r[t+"Data"].length=0})),p&&o>p)if(p=r.getFirstValidPoint(t),L(p))for(i=0;it?1:0})).forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){var i=e.options,o=i.data;i.dataSorting&&i.dataSorting.enabled||!o||(o.forEach((function(i,r){o[r]=n(e,i),t[r]&&(o[r].x=t[r].x,o[r].index=r)})),e.setData(o,!1))})),t},t.prototype.getProcessedData=function(t){var e=this.xData,i=this.yData,n=e.length,o=0,r=this.xAxis,s=this.options,a=s.cropThreshold,l=t||this.getExtremesFromAll||s.getExtremesFromAll,h=this.isCartesian;t=r&&r.val2lin,s=!(!r||!r.logarithmic);var c=this.requireSorting;if(r)var p=(r=r.getExtremes()).min,d=r.max;if(h&&this.sorted&&!l&&(!a||n>a||this.forceCrop))if(e[n-1]d)e=[],i=[];else if(this.yData&&(e[0]d)){e=(o=this.cropData(this.xData,this.yData,p,d)).xData,i=o.yData,o=o.start;var u=!0}for(a=e.length||1;--a;)if(0<(n=s?t(e[a])-t(e[a-1]):e[a]-e[a-1])&&(void 0===f||nn&&c&&(A(15,!1,this.chart),c=!1);return{xData:e,yData:i,cropped:u,cropStart:o,closestPointRange:f}},t.prototype.processData=function(t){var e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange},t.prototype.cropData=function(t,e,i,n,o){var r,s=t.length,a=0,l=s;for(o=N(o,this.cropShoulder),r=0;r=i){a=Math.max(0,r-o);break}for(i=r;in){l=i+o;break}return{xData:t.slice(a,l),yData:e.slice(a,l),start:a,end:l}},t.prototype.generatePoints=function(){var t,e,i=this.options,n=i.data,o=this.data,r=this.processedXData,s=this.processedYData,a=this.pointClass,l=r.length,h=this.cropStart||0,c=this.hasGroupedData,p=i.keys,d=[];for(i=i.dataGrouping&&i.dataGrouping.groupAll?h:0,o||c||((o=[]).length=n.length,o=this.data=o),p&&c&&(this.options.keys=!1),e=0;e=l&&(r[i-c]||d)<=h,f&&d)if(f=u.length)for(;f--;)L(u[f])&&(s[a++]=u[f]);else s[a++]=u}return t={dataMin:b(s),dataMax:x(s)},O(this,"afterGetExtremes",{dataExtremes:t}),t},t.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},t.prototype.getFirstValidPoint=function(t){for(var e=null,i=t.length,n=0;null===e&&n=b&&(b=null),v.total=v.stackTotal=M.total,v.percentage=M.total&&v.y/M.total*100,v.stackY=x,this.irregularWidths||M.setOffset(this.pointXOffset||0,this.barW||0)),v.yBottom=k(b)?C(a.translate(b,0,1,0,1),-1e5,1e5):null,c&&(x=this.modifyValue(x,v)),v.plotY=void 0,L(x)&&void 0!==(x=a.translate(x,!1,!0,!1,!0))&&(v.plotY=C(x,-1e5,1e5)),v.isInside=this.isPointInside(v),v.clientX=d?w(o.translate(y,0,0,0,1,p)):e,v.negative=v[g]<(i[g+"Threshold"]||u||0),v.category=r&&void 0!==r[v.x]?r[v.x]:v.x,!v.isNull&&!1!==v.visible){void 0!==P&&(m=Math.min(m,Math.abs(e-P)));var P=e}v.zone=this.zones.length&&v.getZone(),!v.graphic&&this.group&&s&&(v.isNew=!0)}this.closestPointRangePx=m,O(this,"afterTranslate")},t.prototype.getValidPoints=function(t,e,i){var n=this.chart;return(t||this.points||[]).filter((function(t){return!(e&&!n.isInsidePlot(t.plotX,t.plotY,{inverted:n.inverted}))&&!1!==t.visible&&(i||!t.isNull)}))},t.prototype.getClipBox=function(t,e){var i=this.options,n=this.chart,o=n.inverted,r=this.xAxis,s=r&&this.yAxis,a=n.options.chart.scrollablePlotArea||{};return t&&!1===i.clip&&s?t=o?{y:-n.chartWidth+s.len+s.pos,height:n.chartWidth,width:n.chartHeight,x:-n.chartHeight+r.len+r.pos}:{y:-s.pos,height:n.chartHeight,width:n.chartWidth,x:-r.pos}:(t=this.clipBox||n.clipBox,e&&(t.width=n.plotSizeX,t.x=(n.scrollablePixelsX||0)*(a.scrollPositionX||0))),e?{width:t.width,x:t.x}:t},t.prototype.getSharedClipKey=function(t){if(this.sharedClipKey)return this.sharedClipKey;var e=[t&&t.duration,t&&t.easing,t&&t.defer,this.getClipBox(t).height,this.options.xAxis,this.options.yAxis].join();return(!1!==this.options.clip||t)&&(this.sharedClipKey=e),e},t.prototype.setClip=function(t){var e=this.chart,i=this.options,n=e.renderer,o=e.inverted,r=this.clipBox,s=this.getClipBox(t),a=this.getSharedClipKey(t),l=e.sharedClips[a],h=e.sharedClips[a+"m"];t&&(s.width=0,o&&(s.x=e.plotHeight+(!1!==i.clip?0:e.plotTop))),l?e.hasLoaded||l.attr(s):(t&&(e.sharedClips[a+"m"]=h=n.clipRect(o?(e.plotSizeX||0)+99:-99,o?-e.plotLeft:-e.plotTop,99,o?e.chartWidth:e.chartHeight)),e.sharedClips[a]=l=n.clipRect(s),l.count={length:0}),t&&!l.count[this.index]&&(l.count[this.index]=!0,l.count.length+=1),(!1!==i.clip||t)&&(this.group.clip(t||r?l:e.clipRect),this.markerGroup.clip(h)),t||(l.count[this.index]&&(delete l.count[this.index],--l.count.length),0===l.count.length&&(r||(e.sharedClips[a]=l.destroy()),h&&(e.sharedClips[a+"m"]=h.destroy())))},t.prototype.animate=function(t){var e=this.chart,i=c(this.options.animation),n=this.sharedClipKey;if(t)this.setClip(i);else if(n){t=e.sharedClips[n],n=e.sharedClips[n+"m"];var o=this.getClipBox(i,!0);t&&t.animate(o,i),n&&n.animate({width:o.width+99,x:o.x-(e.inverted?0:99)},i)}},t.prototype.afterAnimate=function(){this.setClip(),O(this,"afterAnimate"),this.finishedAnimating=!0},t.prototype.drawPoints=function(){var t,e,i=this.points,n=this.chart,o=this.options.marker,r=this[this.specialGroup]||this.markerGroup,s=this.xAxis,a=N(o.enabled,!(s&&!s.isRadial)||null,this.closestPointRangePx>=o.enabledThreshold*o.radius);if(!1!==o.enabled||this._hasPointMarkers)for(t=0;tS.max,l.resetZones&&0===e&&(e=void 0)})),this.clips=d}else l.visible&&(u&&u.show(!0),f&&f.show(!0))},t.prototype.invertGroups=function(t){function e(){["group","markerGroup"].forEach((function(e){i[e]&&(n.renderer.isVML&&i[e].attr({width:i.yAxis.len,height:i.xAxis.len}),i[e].width=i.yAxis.len,i[e].height=i.xAxis.len,i[e].invert(!i.isRadialSeries&&t))}))}var i=this,n=i.chart;i.xAxis&&(i.eventsToUnbind.push(y(n,"resize",e)),e(),i.invertGroups=e)},t.prototype.plotGroup=function(t,e,i,n,o){var r=this[t],s=!r;return i={visibility:i,zIndex:n||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(i.opacity=this.opacity),s&&(this[t]=r=this.chart.renderer.g().add(o)),r.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(k(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(r.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),r.attr(i)[s?"attr":"animate"](this.getPlotBox()),r},t.prototype.getPlotBox=function(){var t=this.chart,e=this.xAxis,i=this.yAxis;return t.inverted&&(e=i,i=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:i?i.top:t.plotTop,scaleX:1,scaleY:1}},t.prototype.removeEvents=function(t){t||I(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind.length=0)},t.prototype.render=function(){var t=this,e=t.chart,i=t.options,n=c(i.animation),o=!t.finishedAnimating&&e.renderer.isSVG&&n.duration,r=t.visible?"inherit":"hidden",s=i.zIndex,a=t.hasRendered,l=e.seriesGroup,h=e.inverted;O(this,"render");var p=t.plotGroup("group","series",r,s,l);t.markerGroup=t.plotGroup("markerGroup","markers",r,s,l),o&&t.animate&&t.animate(!0),p.inverted=!!N(t.invertible,t.isCartesian)&&h,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(h),!1===i.clip||t.sharedClipKey||a||p.clip(e.clipRect),o&&t.animate&&t.animate(),a||(o&&n.defer&&(o+=n.defer),t.animationTimeout=z((function(){t.afterAnimate()}),o||0)),t.isDirty=!1,t.hasRendered=!0,O(t,"afterRender")},t.prototype.redraw=function(){var t=this.chart,e=this.isDirty||this.isDirtyData,i=this.group,n=this.xAxis,o=this.yAxis;i&&(t.inverted&&i.attr({width:t.plotWidth,height:t.plotHeight}),i.animate({translateX:N(n&&n.left,t.plotLeft),translateY:N(o&&o.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},t.prototype.searchPoint=function(t,e){var i=this.xAxis,n=this.yAxis,o=this.chart.inverted;return this.searchKDTree({clientX:o?i.len-t.chartY+i.pos:t.chartX-i.pos,plotY:o?n.len-t.chartX+n.pos:t.chartY-n.pos},e,t)},t.prototype.buildKDTree=function(t){function e(t,n,o){var r;if(r=t&&t.length){var s=i.kdAxisArray[n%o];return t.sort((function(t,e){return t[s]-e[s]})),{point:t[r=Math.floor(r/2)],left:e(t.slice(0,r),n+1,o),right:e(t.slice(r+1),n+1,o)}}}this.buildingKdTree=!0;var i=this,n=-1(c=e[c]-h[c])?"right":"left",i[u=0>c?"left":"right"]&&(p=(u=t(e,i[u],a+1,l))[s]u;)f--;this.updateParallelArrays(d,"splice",f,0,0),this.updateParallelArrays(d,f),l&&d.name&&(l[u]=d.name),c.splice(f,0,t),h&&(this.data.splice(f,0,null),this.processData()),"point"===r.legendType&&this.generatePoints(),i&&(s[0]&&s[0].remove?s[0].remove(!1):(s.shift(),this.updateParallelArrays(d,"shift"),c.shift())),!1!==o&&O(this,"addPoint",{point:d}),this.isDirtyData=this.isDirty=!0,e&&a.redraw(n)},t.prototype.removePoint=function(t,e,i){var n=this,o=n.data,r=o[t],s=n.points,a=n.chart,l=function(){s&&s.length===o.length&&s.splice(t,1),o.splice(t,1),n.options.data.splice(t,1),n.updateParallelArrays(r||{series:n},"splice",t,1),r&&r.destroy(),n.isDirty=!0,n.isDirtyData=!0,e&&a.redraw()};p(i,a),e=N(e,!0),r?r.firePointEvent("remove",null,l):l()},t.prototype.remove=function(t,e,i,n){function o(){r.destroy(n),s.isDirtyLegend=s.isDirtyBox=!0,s.linkSeries(),N(t,!0)&&s.redraw(e)}var r=this,s=r.chart;!1!==i?O(r,"remove",null,o):o()},t.prototype.update=function(t,e){t=S(t,this.userOptions),O(this,"update",{options:t});var i,n=this,o=n.chart,r=n.userOptions,s=n.initialType||n.type,a=o.options.plotOptions,l=t.type||r.type||o.options.chart.type,h=!(this.hasDerivedData||l&&l!==this.type||void 0!==t.pointStart||void 0!==t.pointInterval||n.hasOptionChanged("dataGrouping")||n.hasOptionChanged("pointStart")||n.hasOptionChanged("pointInterval")||n.hasOptionChanged("pointIntervalUnit")||n.hasOptionChanged("keys")),c=v[s].prototype,p=["eventOptions","navigatorSeries","baseSeries"],d=n.finishedAnimating&&{animation:!1},u={};if(l=l||s,h&&(p.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&p.push("area","graph"),n.parallelArrays.forEach((function(t){p.push(t+"Data")})),t.data&&(t.dataSorting&&T(n.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=B(r,d,{index:void 0===r.index?n.index:r.index,pointStart:N(a&&a.series&&a.series.pointStart,r.pointStart,n.xData[0])},!h&&{data:n.options.data},t),h&&t.data&&(t.data=n.options.data),(p=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(p)).forEach((function(t){p[t]=n[t],delete n[t]})),r=!1,v[l]){if(r=l!==n.type,n.remove(!1,!1,!1,!0),r)if(Object.setPrototypeOf)Object.setPrototypeOf(n,v[l].prototype);else{for(i in a=Object.hasOwnProperty.call(n,"hcEvents")&&n.hcEvents,c)n[i]=void 0;T(n,v[l].prototype),a?n.hcEvents=a:delete n.hcEvents}}else A(17,!0,o,{missingModuleFor:l});if(p.forEach((function(t){n[t]=p[t]})),n.init(o,t),h&&this.points){var f=n.options;!1===f.visible?(u.graphic=1,u.dataLabel=1):n._hasPointLabels||(t=f.marker,l=f.dataLabels,t&&(!1===t.enabled||"symbol"in t)&&(u.graphic=1),l&&!1===l.enabled&&(u.dataLabel=1)),this.points.forEach((function(t){t&&t.series&&(t.resolveColor(),Object.keys(u).length&&t.destroyElements(u),!1===f.showInLegend&&t.legendItem&&o.legend.destroyItem(t))}),this)}n.initialType=s,o.linkSeries(),r&&n.linkedSeries.length&&(n.isDirtyData=!0),O(this,"afterUpdate"),N(e,!0)&&o.redraw(!!h&&void 0)},t.prototype.setName=function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},t.prototype.hasOptionChanged=function(t){var e=this.options[t],i=this.chart.options.plotOptions,n=this.userOptions[t];return n?e!==n:e!==N(i&&i[this.type]&&i[this.type][t],i&&i.series&&i.series[t],e)},t.prototype.onMouseOver=function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&O(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},t.prototype.onMouseOut=function(){var t=this.options,e=this.chart,i=e.tooltip,n=e.hoverPoint;e.hoverSeries=null,n&&n.onMouseOut(),this&&t.events.mouseOut&&O(this,"mouseOut"),!i||this.stickyTracking||i.shared&&!this.noSharedTooltip||i.hide(),e.series.forEach((function(t){t.setState("",!0)}))},t.prototype.setState=function(t,e){var i=this,n=i.options,o=i.graph,r=n.inactiveOtherPoints,s=n.states,a=n.lineWidth,l=n.opacity,h=N(s[t||"normal"]&&s[t||"normal"].animation,i.chart.options.chart.animation);if(n=0,t=t||"",i.state!==t&&([i.group,i.markerGroup,i.dataLabelsGroup].forEach((function(e){e&&(i.state&&e.removeClass("highcharts-series-"+i.state),t&&e.addClass("highcharts-series-"+t))})),i.state=t,!i.chart.styledMode)){if(s[t]&&!1===s[t].enabled)return;if(t&&(a=s[t].lineWidth||a+(s[t].lineWidthPlus||0),l=N(s[t].opacity,l)),o&&!o.dashstyle)for(s={"stroke-width":a},o.animate(s,h);i["zone-graph-"+n];)i["zone-graph-"+n].animate(s,h),n+=1;r||[i.group,i.markerGroup,i.dataLabelsGroup,i.labelBySeries].forEach((function(t){t&&t.animate({opacity:l},h)}))}e&&r&&i.points&&i.setAllPointsToState(t||void 0)},t.prototype.setAllPointsToState=function(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))},t.prototype.setVisible=function(t,e){var i=this,n=i.chart,o=i.legendItem,r=n.options.chart.ignoreHiddenSeries,s=i.visible,a=(i.visible=t=i.options.visible=i.userOptions.visible=void 0===t?!s:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(t){i[t]&&i[t][a]()})),n.hoverSeries!==i&&(n.hoverPoint&&n.hoverPoint.series)!==i||i.onMouseOut(),o&&n.legend.colorizeItem(i,t),i.isDirty=!0,i.options.stacking&&n.series.forEach((function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)})),i.linkedSeries.forEach((function(e){e.setVisible(t,!1)})),r&&(n.isDirtyBox=!0),O(i,a),!1!==e&&n.redraw()},t.prototype.show=function(){this.setVisible(!0)},t.prototype.hide=function(){this.setVisible(!1)},t.prototype.select=function(t){this.selected=t=this.options.selected=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),O(this,t?"select":"unselect")},t.prototype.shouldShowTooltip=function(t,e,i){return void 0===i&&(i={}),i.series=this,i.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,i)},t.defaultOptions={lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:r.backgroundColor,lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:r.neutralColor20,lineColor:r.neutralColor100,lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var t=this.series.chart.numberFormatter;return"number"!=typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"11px",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:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"},t}(),T(t.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:n.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:s,requireSorting:!0,sorted:!0}),a.series=t,t})),e(i,"Extensions/ScrollablePlotArea.html",[i["Core/Animation/AnimationUtilities.js"],i["Core/Axis/Axis.js"],i["Core/Chart/Chart.js"],i["Core/Series/Series.js"],i["Core/Renderer/RendererRegistry.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r){var s=t.stop,a=r.addEvent,l=r.createElement,h=r.merge,c=r.pick;a(i,"afterSetChartSize",(function(t){var i=this.options.chart.scrollablePlotArea,n=i&&i.minWidth;if(i=i&&i.minHeight,!this.renderer.forExport){if(n){if(this.scrollablePixelsX=n=Math.max(0,n-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=h(this.plotBox),this.plotBox.width=this.plotWidth+=n,this.inverted?this.clipBox.height+=n:this.clipBox.width+=n;var o={1:{name:"right",value:n}}}}else i&&(this.scrollablePixelsY=n=Math.max(0,i-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=h(this.plotBox),this.plotBox.height=this.plotHeight+=n,this.inverted?this.clipBox.width+=n:this.clipBox.height+=n,o={2:{name:"bottom",value:n}});o&&!t.skipAxes&&this.axes.forEach((function(t){o[t.side]?t.getPlotLinePath=function(){var i=o[t.side].name,n=this[i];this[i]=n-o[t.side].value;var r=e.prototype.getPlotLinePath.apply(this,arguments);return this[i]=n,r}:(t.setAxisSize(),t.setAxisTranslation())}))}})),a(i,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()})),i.prototype.setUpScrolling=function(){var t=this,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingParent=l("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=l("div",{className:"highcharts-scrolling"},e,this.scrollingParent),a(this.scrollingContainer,"scroll",(function(){t.pointer&&delete t.pointer.chartPosition})),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},i.prototype.moveFixedElements=function(){var t,e=this.container,i=this.fixedRenderer,n=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&n.push(t+":not(.highcharts-radial-axis)",t+"-labels:not(.highcharts-radial-axis-labels)"),n.forEach((function(t){[].forEach.call(e.querySelectorAll(t),(function(t){(t.namespaceURI===i.SVG_NS?i.box:i.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}))},i.prototype.applyFixed=function(){var t=!this.fixedDiv,e=this.options.chart,i=e.scrollablePlotArea,n=o.getRendererType();t?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new n(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":c(i.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),a(this,"afterShowResetZoom",this.moveFixedElements),a(this,"afterDrilldown",this.moveFixedElements),a(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||t)&&(this.scrollableDirty=!1,this.moveFixedElements()),e=this.chartWidth+(this.scrollablePixelsX||0),n=this.chartHeight+(this.scrollablePixelsY||0),s(this.container),this.container.style.width=e+"px",this.container.style.height=n+"px",this.renderer.boxWrapper.attr({width:e,height:n,viewBox:[0,0,e,n].join(" ")}),this.chartBackground.attr({width:e,height:n}),this.scrollingContainer.style.height=this.chartHeight+"px",t&&(i.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*i.scrollPositionX),i.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*i.scrollPositionY)),n=this.axisOffset,t=this.plotTop-n[0]-1,i=this.plotLeft-n[3]-1,e=this.plotTop+this.plotHeight+n[2]+1,n=this.plotLeft+this.plotWidth+n[1]+1;var r=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),h=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);t=this.scrollablePixelsX?[["M",0,t],["L",this.plotLeft-1,t],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",r,t],["L",this.chartWidth,t],["L",this.chartWidth,e],["L",r,e],["Z"]]:this.scrollablePixelsY?[["M",i,0],["L",i,this.plotTop-1],["L",n,this.plotTop-1],["L",n,0],["Z"],["M",i,h],["L",i,this.chartHeight],["L",n,this.chartHeight],["L",n,h],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},a(e,"afterInit",(function(){this.chart.scrollableDirty=!0})),a(n,"show",(function(){this.chart.scrollableDirty=!0}))})),e(i,"Core/Axis/StackingAxis.html",[i["Core/Animation/AnimationUtilities.js"],i["Core/Utilities.js"]],(function(t,e){var i=t.getDeferredAnimation,n=e.addEvent,o=e.destroyObjectProperties,r=e.fireEvent,s=e.isNumber,a=e.objectEach,l=function(){function t(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}return t.prototype.buildStacks=function(){var t,e=this.axis,i=e.series,n=e.options.reversedStacks,o=i.length;if(!e.isXAxis){for(this.usePercentage=!1,t=o;t--;){var s=i[n?t:o-t-1];s.setStackedPoints(),s.setGroupedPoints()}for(t=0;tr&&i.shadow)),a&&(a.startX=n.xMap,a.isArea=n.isArea)}))},n.prototype.getGraphPath=function(t,e,i){var n,o,s=this,a=s.options,l=a.step,h=[],c=[];return(n=(t=t||s.points).reversed)&&t.reverse(),(l={right:1,center:2}[l]||l&&3)&&n&&(l=4-l),(t=this.getValidPoints(t,!1,!(a.connectNulls&&!e&&!i))).forEach((function(n,p){var d=n.plotX,u=n.plotY,f=t[p-1];(n.leftCliff||f&&f.rightCliff)&&!i&&(o=!0),n.isNull&&!r(e)&&0t&&c>o?p=2*o-(c=Math.max(t,o)):ci&&p>o?c=2*o-(p=Math.max(i,o)):p=Math.abs(e)&&.5t.closestPointRange*t.xAxis.transA;n=t.borderWidth=b(i.borderWidth,n?0:1);var o=t.xAxis,s=t.yAxis,a=i.threshold,l=t.translatedThreshold=s.getThreshold(a),h=b(i.minPointLength,5),c=t.getColumnMetrics(),p=c.width,u=t.barW=Math.max(p,1+2*n),g=t.pointXOffset=c.offset,m=t.dataMin,v=t.dataMax;e.inverted&&(l-=.5),i.pointPadding&&(u=Math.ceil(u)),r.prototype.translate.apply(t),t.points.forEach((function(n){var r=b(n.yBottom,l),x=999+Math.abs(r),C=p,S=n.plotX||0;x=d(n.plotY,-x,s.len+x),S+=g;var w=u,k=Math.min(x,r),M=Math.max(x,r)-k;if(h&&Math.abs(M)h?r-h:l-(A?h:0)}f(n.options.pointWidth)&&(C=w=Math.ceil(n.options.pointWidth),S-=Math.round((C-p)/2)),i.centerInCategory&&(S=t.adjustForMissingColumns(S,C,n,c)),n.barX=S,n.pointWidth=C,n.tooltipPos=e.inverted?[d(s.len+s.pos-e.plotLeft-x,s.pos-e.plotLeft,s.len+s.pos-e.plotLeft),o.len+o.pos-e.plotTop-S-w/2,M]:[o.left-e.plotLeft+S+w/2,d(x+s.pos-e.plotTop,s.pos-e.plotTop,s.len+s.pos-e.plotTop),M],n.shapeType=t.pointClass.prototype.shapeType||"rect",n.shapeArgs=t.crispCol.apply(t,n.isNull?[S,l,w,0]:[S,k,w,M])}))},e.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},e.prototype.pointAttribs=function(t,e){var i=this.options,n=this.pointAttrToOptions||{},o=n.stroke||"borderColor",r=n["stroke-width"]||"borderWidth",s=t&&t.color||this.color,a=t&&t[o]||i[o]||s,l=t&&t[r]||i[r]||this[r]||0;n=t&&t.options.dashStyle||i.dashStyle;var h=b(t&&t.opacity,i.opacity,1);if(t&&this.zones.length){var p=t.getZone();s=t.options.color||p&&(p.color||t.nonZonedColor)||this.color,p&&(a=p.borderColor||a,n=p.dashStyle||n,l=p.borderWidth||l)}return e&&t&&(e=(t=x(i.states[e],t.options.states&&t.options.states[e]||{})).brightness,s=t.color||void 0!==e&&c(s).brighten(t.brightness).get()||s,a=t[o]||a,l=t[r]||l,n=t.dashStyle||n,h=b(t.opacity,h)),o={fill:s,stroke:a,"stroke-width":l,opacity:h},n&&(o.dashstyle=n),o},e.prototype.drawPoints=function(){var t,e=this,i=this.chart,n=e.options,o=i.renderer,r=n.animationLimit||250;e.points.forEach((function(s){var a=s.graphic,l=!!a,h=a&&i.pointCount {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}}),i}(e)).prototype,{drawTracker:t.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),r(n,"afterTranslate",(function(){this.applyJitter()})),i.registerSeriesType("scatter",n),n})),e(i,"Mixins/CenteredSeries.html",[i["Core/Globals.js"],i["Core/Series/Series.js"],i["Core/Utilities.js"]],(function(t,e,i){var n=i.isNumber,o=i.pick,r=i.relativeLength,s=t.deg2rad;return t.CenteredSeriesMixin={getCenter:function(){var t=this.options,i=this.chart,n=2*(t.slicedOffset||0),s=i.plotWidth-2*n,a=i.plotHeight-2*n,l=t.center,h=Math.min(s,a),c=t.size,p=t.innerSize||0;for("string"==typeof c&&(c=parseFloat(c)),"string"==typeof p&&(p=parseFloat(p)),t=[o(l[0],"50%"),o(l[1],"50%"),o(c&&0>c?void 0:t.size,"100%"),o(p&&0>p?void 0:t.innerSize||0,"0%")],!i.angular||this instanceof e||(t[3]=0),l=0;4>l;++l)c=t[l],i=2>l||2===l&&/%$/.test(c),t[l]=r(c,[s,a,h,t[2]][l])+(i?n:0);return t[3]>t[2]&&(t[3]=t[2]),t},getStartAndEndRadians:function(t,e){return t=n(t)?t:0,e=n(e)&&e>t&&360>e-t?e:t+360,{start:s*(t+-90),end:s*(e+-90)}}}})),e(i,"Series/Pie/PiePoint.html",[i["Core/Animation/AnimationUtilities.js"],i["Core/Series/Point.js"],i["Core/Utilities.js"]],(function(t,e,i){var n=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=t.setAnimation,r=i.addEvent,s=i.defined;t=i.extend;var a=i.isNumber,l=i.pick,h=i.relativeLength;return i=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.labelDistance=void 0,e.options=void 0,e.series=void 0,e}return n(i,t),i.prototype.getConnectorPath=function(){var t=this.labelPosition,e=this.series.options.dataLabels,i=e.connectorShape,n=this.connectorShapes;return n[i]&&(i=n[i]),i.call(this,{x:t.final.x,y:t.final.y,alignment:t.alignment},t.connectorPosition,e)},i.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},i.prototype.haloPath=function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end})},i.prototype.init=function(){e.prototype.init.apply(this,arguments);var t=this;t.name=l(t.name,"Slice");var i=function(e){t.slice("select"===e.type)};return r(t,"select",i),r(t,"unselect",i),t},i.prototype.isValid=function(){return a(this.y)&&0<=this.y},i.prototype.setVisible=function(t,e){var i=this,n=i.series,o=n.chart,r=n.options.ignoreHiddenPoint;e=l(e,r),t!==i.visible&&(i.visible=i.options.visible=t=void 0===t?!i.visible:t,n.options.data[n.data.indexOf(i)]=i.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(e){i[e]&&i[e][t?"show":"hide"](t)})),i.legendItem&&o.legend.colorizeItem(i,t),t||"hover"!==i.state||i.setState(""),r&&(n.isDirty=!0),e&&o.redraw())},i.prototype.slice=function(t,e,i){var n=this.series;o(i,n.chart),l(e,!0),this.sliced=this.options.sliced=s(t)?t:!this.sliced,n.options.data[n.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},i}(e),t(i.prototype,{connectorShapes:{fixedOffset:function(t,e,i){var n=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],i.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*n.x-e.x,2*n.y-e.y,n.x,n.y]:["L",n.x,n.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,i){e=e.touchingSliceAt;var n=this.series,o=n.center[0],r=n.chart.plotWidth,s=n.chart.plotLeft;n=t.alignment;var a=this.shapeArgs.r;return i=h(i.crookDistance,1),i=["L",r="left"===n?o+a+(r+s-o-a)*(1-i):s+(o-a)*i,t.y],o=!0,("left"===n?r>t.x||re.x)&&(o=!1),t=[["M",t.x,t.y]],o&&t.push(i),t.push(["L",e.x,e.y]),t}}}),i})),e(i,"Series/Pie/PieSeries.html",[i["Mixins/CenteredSeries.js"],i["Series/Column/ColumnSeries.js"],i["Core/Globals.js"],i["Mixins/LegendSymbol.js"],i["Core/Color/Palette.js"],i["Series/Pie/PiePoint.js"],i["Core/Series/Series.js"],i["Core/Series/SeriesRegistry.js"],i["Core/Renderer/SVG/Symbols.js"],i["Core/Utilities.js"]],(function(t,e,i,n,o,r,s,a,l,h){var c=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),p=t.getStartAndEndRadians;i=i.noop;var d=h.clamp,u=h.extend,f=h.fireEvent,g=h.merge,m=h.pick,v=h.relativeLength;return u((h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.center=void 0,e.data=void 0,e.maxLabelDistance=void 0,e.options=void 0,e.points=void 0,e}return c(e,t),e.prototype.animate=function(t){var e=this,i=e.points,n=e.startAngleRad;t||i.forEach((function(t){var i=t.graphic,o=t.shapeArgs;i&&o&&(i.attr({r:m(t.startR,e.center&&e.center[3]/2),start:n,end:n}),i.animate({r:o.r,start:o.start,end:o.end},e.options.animation))}))},e.prototype.drawEmpty=function(){var t=this.startAngleRad,e=this.endAngleRad,i=this.options;if(0===this.total&&this.center){var n=this.center[0],r=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(n,r,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:l.arc(n,r,this.center[2]/2,0,{start:t,end:e,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":i.borderWidth,fill:i.fillColor||"none",stroke:i.color||o.neutralColor20})}else this.graph&&(this.graph=this.graph.destroy())},e.prototype.drawPoints=function(){var t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))},e.prototype.generatePoints=function(){t.prototype.generatePoints.call(this),this.updateTotals()},e.prototype.getX=function(t,e,i){var n=this.center,o=this.radii?this.radii[i.index]||0:n[2]/2;return t=Math.asin(d((t-n[1])/(o+i.labelDistance),-1,1)),n[0]+(e?-1:1)*Math.cos(t)*(o+i.labelDistance)+(01.5*Math.PI?g-=2*Math.PI:g<-Math.PI/2&&(g+=2*Math.PI),d.slicedTranslation={translateX:Math.round(Math.cos(g)*n),translateY:Math.round(Math.sin(g)*n)},y=Math.cos(g)*t[2]/2;var x=Math.sin(g)*t[2]/2;d.tooltipPos=[t[0]+.7*y,t[1]+.7*x],d.half=g<-Math.PI/2||g>Math.PI/2?1:0,d.angle=g,u=Math.min(o,d.labelDistance/5),d.labelPosition={natural:{x:t[0]+y+Math.cos(g)*d.labelDistance,y:t[1]+x+Math.sin(g)*d.labelDistance},final:{},alignment:0>d.labelDistance?"center":d.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+y+Math.cos(g)*u,y:t[1]+x+Math.sin(g)*u},touchingSliceAt:{x:t[0]+y,y:t[1]+x}}}}f(this,"afterTranslate")},e.prototype.updateTotals=function(){var t,e=0,i=this.points,n=i.length,o=this.options.ignoreHiddenPoint;for(t=0;tp){for(b(t,(function(t,e){return(e.rank||0)-(t.rank||0)})),h=r=0;h<=p;)h+=t[r].size,r++;l=t.splice(r-1,t.length)}for(b(t,o),t=t.map((function(t){return{size:t.size,targets:[t.target],align:v(t.align,.5)}}));s;){for(r=t.length;r--;)s=t[r],h=(Math.min.apply(0,s.targets)+Math.max.apply(0,s.targets))/2,s.pos=c(h-s.size*s.align,0,e-s.size);for(r=t.length,s=!1;r--;)0t[r].pos&&(t[r-1].size+=t[r].size,t[r-1].targets=t[r-1].targets.concat(t[r].targets),t[r-1].align=.5,t[r-1].pos+t[r-1].size>e&&(t[r-1].pos=e-t[r-1].size),t.splice(r,1),s=!0)}a.push.apply(a,l),r=0,t.some((function(t){var o=0;if(t.targets.some((function(){if(a[r].pos=t.pos+o,void 0!==n&&Math.abs(a[r].pos-a[r].target)>n)return a.slice(0,r+1).forEach((function(t){delete t.pos})),a.reducedLen=(a.reducedLen||e)-.1*e,a.reducedLen>.1*e&&i.distribute(a,e,n),!0;o+=a[r].size,r++})))return!0})),b(a,o)},o.prototype.drawDataLabels=function(){function t(t,e){var i,n=[];if(f(t)&&!f(e))n=t.map((function(t){return g(t,e)}));else if(f(e)&&!f(t))n=e.map((function(e){return g(t,e)}));else if(f(t)||f(e))for(i=Math.max(t.length,e.length);i--;)n[i]=g(t[i],e[i]);else n=g(t,e);return n}var e=this,i=e.chart,o=e.options,r=o.dataLabels,s=e.points,h=e.hasRendered||0,c=r.animation;c=r.defer?a(i,c,e):{defer:0,duration:0};var d=i.renderer;if(r=t(t(i.options.plotOptions&&i.options.plotOptions.series&&i.options.plotOptions.series.dataLabels,i.options.plotOptions&&i.options.plotOptions[e.type]&&i.options.plotOptions[e.type].dataLabels),r),u(this,"drawDataLabels"),f(r)||r.enabled||e._hasPointLabels){var y=e.plotGroup("dataLabelsGroup","data-labels",h?"inherit":"hidden",r.zIndex||6);y.attr({opacity:+h}),!h&&(h=e.dataLabelsGroup)&&(e.visible&&y.show(!0),h[o.animation?"animate":"attr"]({opacity:1},c)),s.forEach((function(s){x(t(r,s.dlOptions||s.options&&s.options.dataLabels)).forEach((function(t,r){var a=t.enabled&&(!s.isNull||s.dataLabelOnNull)&&function(t,e){var i=e.filter;return!i||(e=i.operator,t=t[i.property],i=i.value,">"===e&&t>i||"<"===e&&t="===e&&t>=i||"<="===e&&t<=i||"=="===e&&t==i||"==="===e&&t===i)}(s,t),h=s.dataLabels?s.dataLabels[r]:s.dataLabel,c=s.connectors?s.connectors[r]:s.connector,u=v(t.distance,s.labelDistance),f=!h;if(a){var g=s.getLabelConfig(),x=v(t[s.formatPrefix+"Format"],t.format);g=p(x)?l(x,g,i):(t[s.formatPrefix+"Formatter"]||t.formatter).call(g,t),x=t.style;var b=t.rotation;i.styledMode||(x.color=v(t.color,x.color,e.color,n.neutralColor100),"contrast"===x.color?(s.contrastColor=d.getContrast(s.color||e.color),x.color=!p(u)&&t.inside||0>u||o.stacking?s.contrastColor:n.neutralColor100):delete s.contrastColor,o.cursor&&(x.cursor=o.cursor));var C={r:t.borderRadius||0,rotation:b,padding:t.padding,zIndex:1};i.styledMode||(C.fill=t.backgroundColor,C.stroke=t.borderColor,C["stroke-width"]=t.borderWidth),m(C,(function(t,e){void 0===t&&delete C[e]}))}!h||a&&p(g)?a&&p(g)&&(h?C.text=g:(s.dataLabels=s.dataLabels||[],h=s.dataLabels[r]=b?d.text(g,0,-9999,t.useHTML).addClass("highcharts-data-label"):d.label(g,0,-9999,t.shape,null,null,t.useHTML,null,"data-label"),r||(s.dataLabel=h),h.addClass(" highcharts-data-label-color-"+s.colorIndex+" "+(t.className||"")+(t.useHTML?" highcharts-tracker":""))),h.options=t,h.attr(C),i.styledMode||h.css(x).shadow(t.shadow),h.added||h.add(y),t.textPath&&!t.useHTML&&(h.setTextPath(s.getDataLabelPath&&s.getDataLabelPath(h)||s.graphic,t.textPath),s.dataLabelPath&&!t.textPath.enabled&&(s.dataLabelPath=s.dataLabelPath.destroy())),e.alignDataLabel(s,h,t,null,f)):(s.dataLabel=s.dataLabel&&s.dataLabel.destroy(),s.dataLabels&&(1===s.dataLabels.length?delete s.dataLabels:delete s.dataLabels[r]),r||delete s.dataLabel,c&&(s.connector=s.connector.destroy(),s.connectors&&(1===s.connectors.length?delete s.connectors:delete s.connectors[r])))}))}))}u(this,"afterDrawDataLabels")},o.prototype.alignDataLabel=function(t,e,i,n,o){var r=this,s=this.chart,a=this.isCartesian&&s.inverted,l=this.enabledDataSorting,h=v(t.dlBox&&t.dlBox.centerX,t.plotX,-9999),c=v(t.plotY,-9999),p=e.getBBox(),u=i.rotation,f=i.align,g=s.isInsidePlot(h,Math.round(c),{inverted:a,paneCoordinates:!0,series:r}),m="justify"===v(i.overflow,l?"none":"justify"),y=this.visible&&!1!==t.visible&&(t.series.forceDL||l&&!m||g||v(i.inside,!!this.options.stacking)&&n&&s.isInsidePlot(h,a?n.x+1:n.y+n.height-1,{inverted:a,paneCoordinates:!0,series:r})),x=function(i){l&&r.xAxis&&!m&&r.setDataLabelStartPos(t,e,o,g,i)};if(y){var b=s.renderer.fontMetrics(s.styledMode?void 0:i.style.fontSize,e).b;n=d({x:a?this.yAxis.len-c:h,y:Math.round(a?this.xAxis.len-h:c),width:0,height:0},n),d(i,{width:p.width,height:p.height}),u?(m=!1,h=s.renderer.rotCorr(b,u),x(h={x:n.x+(i.x||0)+n.width/2+h.x,y:n.y+(i.y||0)+{top:0,middle:.5,bottom:1}[i.verticalAlign]*n.height}),e[o?"attr":"animate"](h).attr({align:f}),x=180<(x=(u+720)%360)&&360>x,"left"===f?h.y-=x?p.height:0:"center"===f?(h.x-=p.width/2,h.y-=p.height/2):"right"===f&&(h.x-=p.width,h.y-=x?0:p.height),e.placed=!0,e.alignAttr=h):(x(n),e.align(i,void 0,n),h=e.alignAttr),m&&0<=n.height?this.justifyDataLabel(e,i,h,p,n,o):v(i.crop,!0)&&(y=s.isInsidePlot(h.x,h.y,{paneCoordinates:!0,series:r})&&s.isInsidePlot(h.x+p.width,h.y+p.height,{paneCoordinates:!0,series:r})),i.shape&&!u&&e[o?"attr":"animate"]({anchorX:a?s.plotWidth-t.plotY:t.plotX,anchorY:a?s.plotHeight-t.plotX:t.plotY})}o&&l&&(e.placed=!1),y||l&&!m||(e.hide(!0),e.placed=!1)},o.prototype.setDataLabelStartPos=function(t,e,i,n,o){var r=this.chart,s=r.inverted,a=this.xAxis,l=a.reversed,h=s?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,a=s?o.x:l?-h-t:a.width-h+t,o=s?l?this.yAxis.height-h+t:-h-t:o.y,e.startXPos=a,e.startYPos=o,n?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),r.hasRendered&&(i&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)},o.prototype.justifyDataLabel=function(t,e,i,n,o,r){var s=this.chart,a=e.align,l=e.verticalAlign,h=t.box?0:t.padding||0,c=e.x;c=void 0===c?0:c;var p=e.y,d=void 0===p?0:p;if(0>(p=(i.x||0)+h)){"right"===a&&0<=c?(e.align="left",e.inside=!0):c-=p;var u=!0}return(p=(i.x||0)+n.width-h)>s.plotWidth&&("left"===a&&0>=c?(e.align="right",e.inside=!0):c+=s.plotWidth-p,u=!0),0>(p=i.y+h)&&("bottom"===l&&0<=d?(e.verticalAlign="top",e.inside=!0):d-=p,u=!0),(p=(i.y||0)+n.height-h)>s.plotHeight&&("top"===l&&0>=d?(e.verticalAlign="bottom",e.inside=!0):d+=s.plotHeight-p,u=!0),u&&(e.x=c,e.y=d,t.placed=!r,t.align(e,void 0,o)),u},r.pie&&(r.pie.prototype.dataLabelPositioners={radialDistributionY:function(t){return t.top+t.distributeBox.pos},radialDistributionX:function(t,e,i,n){return t.getX(ie.bottom-2?n:i,e.half,e)},justify:function(t,e,i){return i[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,i,n){return t=t.getBBox().width,e?t+n:i-t-n},alignToConnectors:function(t,e,i,n){var o,r=0;return t.forEach((function(t){(o=t.dataLabel.getBBox().width)>r&&(r=o)})),e?r+n:i-r-n}},r.pie.prototype.drawDataLabels=function(){var t,e,r,s,a,l,c,d,u,f,m,y,x=this,b=x.data,C=x.chart,S=x.options.dataLabels||{},w=S.connectorPadding,k=C.plotWidth,M=C.plotHeight,A=C.plotLeft,T=Math.round(C.chartWidth/3),P=x.center,O=P[2]/2,E=P[1],_=[[],[]],L=[0,0,0,0],D=x.dataLabelPositioners;x.visible&&(S.enabled||x._hasPointLabels)&&(b.forEach((function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)})),o.prototype.drawDataLabels.apply(x),b.forEach((function(t){t.dataLabel&&(t.visible?(_[t.half].push(t),t.dataLabel._pos=null,!p(S.style.width)&&!p(t.options.dataLabels&&t.options.dataLabels.style&&t.options.dataLabels.style.width)&&t.dataLabel.getBBox().width>T&&(t.dataLabel.css({width:Math.round(.7*T)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))})),_.forEach((function(e,n){var o,r=e.length,h=[];if(r){if(x.sortByAngle(e,n-.5),0k-w&&0===n&&(g=Math.round(d+a-k+w),L[1]=Math.max(g,L[1])),0>u-c/2?L[0]=Math.max(Math.round(c/2-u),L[0]):u+c/2>M&&(L[2]=Math.max(Math.round(u+c/2-M),L[2])),s.sideOverflow=g)}}})),0===h(L)||this.verifyDataLabelOverflow(L))&&(this.placeDataLabels(),this.points.forEach((function(t){var i;y=g(S,t.options.dataLabels),(e=v(y.connectorWidth,1))&&(r=t.connector,(s=t.dataLabel)&&s._pos&&t.visible&&0v(this.translatedThreshold,a.yAxis.len)),c=v(i.inside,!!this.options.stacking);l&&(0>(n=g(l)).y&&(n.height+=n.y,n.y=0),0<(l=n.y+n.height-a.yAxis.len)&&l=d.x+d.width||u.x+u.width<=d.x||u.y>=d.y+d.height||u.y+u.height<=d.y||((p.labelrank=a(i.minWidth,0)&&this.chartHeight>=a(i.minHeight,0)}).call(this)&&e.push(t._id)},t.prototype.setResponsive=function(t,e){var n=this.options.responsive,o=this.currentResponsive,s=[];!e&&n&&n.rules&&n.rules.forEach((function(t){void 0===t._id&&(t._id=h()),this.matchResponsiveRule(t,s)}),this),(e=r.apply(void 0,s.map((function(t){return i((n||{}).rules||[],(function(e){return e._id===t}))})).map((function(t){return t&&t.chartOptions})))).isResponsiveOptions=!0,(s=s.toString()||void 0)!==(o&&o.ruleIds)&&(o&&this.update(o.undoOptions,t,!0),s?((o=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:s,mergedOptions:e,undoOptions:o},this.update(e,t,!0)):this.currentResponsive=void 0)},t}();return t=function(){function t(){}return t.compose=function(t){return e(t.prototype,c.prototype),t},t}()})),e(i,"masters/highcharts.src.html",[i["Core/Globals.js"],i["Core/Utilities.js"],i["Core/DefaultOptions.js"],i["Core/Animation/Fx.js"],i["Core/Animation/AnimationUtilities.js"],i["Core/Renderer/HTML/AST.js"],i["Core/FormatUtilities.js"],i["Core/Renderer/SVG/SVGElement.js"],i["Core/Renderer/SVG/SVGRenderer.js"],i["Core/Renderer/HTML/HTMLElement.js"],i["Core/Renderer/HTML/HTMLRenderer.js"],i["Core/Axis/Axis.js"],i["Core/Axis/PlotLineOrBand.js"],i["Core/Axis/Tick.js"],i["Core/Pointer.js"],i["Core/MSPointer.js"],i["Core/Chart/Chart.js"],i["Core/Series/Series.js"],i["Core/Responsive.js"],i["Core/Color/Color.js"],i["Core/Time.js"]],(function(t,e,i,n,o,r,s,a,l,h,c,p,d,u,f,g,m,v,y,x,b){return t.animate=o.animate,t.animObject=o.animObject,t.getDeferredAnimation=o.getDeferredAnimation,t.setAnimation=o.setAnimation,t.stop=o.stop,t.timers=n.timers,t.AST=r,t.Axis=p,t.Chart=m,t.chart=m.chart,t.Fx=n,t.PlotLineOrBand=d,t.Pointer=g.isRequired()?g:f,t.Series=v,t.SVGElement=a,t.SVGRenderer=l,t.Tick=u,t.Time=b,t.Color=x,t.color=x.parse,c.compose(l),h.compose(a),t.defaultOptions=i.defaultOptions,t.getOptions=i.getOptions,t.time=i.defaultTime,t.setOptions=i.setOptions,t.dateFormat=s.dateFormat,t.format=s.format,t.numberFormat=s.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,y.compose(m),t})),i["masters/highcharts.src.js"]._modules=i,i["masters/highcharts.src.js"]},t.exports?(r.default=r,t.exports=o.document?r(o):r):void 0===(n=function(){return r(o)}.call(e,i,e,t))||(t.exports=n)},496:(t,e,i)=>{"use strict";var n,o,r;r=function(t){function e(t,e,i,n){t.hasOwnProperty(e)||(t[e]=n.apply(null,i))}e(t=t?t._modules:{},"Core/Axis/NavigatorAxis.html",[t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e){var i=t.isTouchDevice,n=e.addEvent,o=e.correctFloat,r=e.defined,s=e.isNumber,a=e.pick,l=function(){function t(t){this.axis=t}return t.prototype.destroy=function(){this.axis=void 0},t.prototype.toFixedRange=function(t,e,i,n){var l=this.axis,h=l.chart;h=h&&h.fixedRange;var c=(l.pointRange||0)/2;return t=a(i,l.translate(t,!0,!l.horiz)),e=a(n,l.translate(e,!0,!l.horiz)),l=h&&(e-t)/h,r(i)||(t=o(t+c)),r(n)||(e=o(e-c)),.7l&&(n?t=e-h:e=t+h),s(t)&&s(e)||(t=e=void 0),{min:t,max:e}},t}();return function(){function t(){}return t.compose=function(t){t.keepProps.push("navigatorAxis"),n(t,"init",(function(){this.navigatorAxis||(this.navigatorAxis=new l(this))})),n(t,"zoom",(function(t){var e=this.chart.options,n=e.navigator,o=this.navigatorAxis,s=e.chart.pinchType,a=e.rangeSelector;e=e.chart.zoomType,this.isXAxis&&(n&&n.enabled||a&&a.enabled)&&("y"===e?t.zoomed=!1:(!i&&"xy"===e||i&&"xy"===s)&&this.options.range&&(n=o.previousZoom,r(t.newMin)?o.previousZoom=[this.min,this.max]:n&&(t.newMin=n[0],t.newMax=n[1],o.previousZoom=void 0))),void 0!==t.zoomed&&t.preventDefault()}))},t.AdditionsClass=l,t}()})),e(t,"Core/Axis/ScrollbarAxis.html",[t["Core/Utilities.js"]],(function(t){var e=t.addEvent,i=t.defined,n=t.pick;return function(){function t(){}return t.compose=function(t,o){var r=function(t){var e=n(t.options&&t.options.min,t.min),o=n(t.options&&t.options.max,t.max);return{axisMin:e,axisMax:o,scrollMin:i(t.dataMin)?Math.min(e,t.min,t.dataMin,n(t.threshold,1/0)):e,scrollMax:i(t.dataMax)?Math.max(o,t.max,t.dataMax,n(t.threshold,-1/0)):o}};return e(t,"afterInit",(function(){var t=this;t.options&&t.options.scrollbar&&t.options.scrollbar.enabled&&(t.options.scrollbar.vertical=!t.horiz,t.options.startOnTick=t.options.endOnTick=!1,t.scrollbar=new o(t.chart.renderer,t.options.scrollbar,t.chart),e(t.scrollbar,"changed",(function(e){var n=r(t),o=n.axisMax,s=n.scrollMin,a=n.scrollMax-s;i(n.axisMin)&&i(o)&&(t.horiz&&!t.reversed||!t.horiz&&t.reversed?(n=s+a*this.to,s+=a*this.from):(n=s+a*(1-this.from),s+=a*(1-this.to)),this.shouldUpdateExtremes(e.DOMType)?t.setExtremes(s,n,!0,"mousemove"!==e.DOMType&&"touchmove"!==e.DOMType,e):this.setRange(this.from,this.to))})))})),e(t,"afterRender",(function(){var t=r(this),e=t.scrollMin,n=t.scrollMax;t=this.scrollbar;var o=this.axisTitleMargin+(this.titleOffset||0),s=this.chart.scrollbarsOffsets,a=this.options.margin||0;t&&(this.horiz?(this.opposite||(s[1]+=o),t.position(this.left,this.top+this.height+2+s[1]-(this.opposite?a:0),this.width,this.height),this.opposite||(s[1]+=a),o=1):(this.opposite&&(s[0]+=o),t.position(this.left+this.width+2+s[0]-(this.opposite?0:a),this.top,this.width,this.height),this.opposite&&(s[0]+=a),o=0),s[o]+=t.size+t.options.margin,isNaN(e)||isNaN(n)||!i(this.min)||!i(this.max)||this.min===this.max?t.setRange(0,1):(s=(this.min-e)/(n-e),e=(this.max-e)/(n-e),this.horiz&&!this.reversed||!this.horiz&&this.reversed?t.setRange(s,e):t.setRange(1-e,1-s)))})),e(t,"afterGetOffset",(function(){var t=this.horiz?2:1,e=this.scrollbar;e&&(this.chart.scrollbarsOffsets=[0,0],this.chart.axisOffset[t]+=e.size+e.options.margin)})),t},t}()})),e(t,"Core/ScrollbarDefaults.html",[t["Core/Globals.js"],t["Core/Color/Palette.js"]],(function(t,e){return{height:t.isTouchDevice?20:14,barBorderRadius:0,buttonBorderRadius:0,liveRedraw:void 0,margin:10,minWidth:6,step:.2,zIndex:3,barBackgroundColor:e.neutralColor20,barBorderWidth:1,barBorderColor:e.neutralColor20,buttonArrowColor:e.neutralColor80,buttonBackgroundColor:e.neutralColor10,buttonBorderColor:e.neutralColor20,buttonBorderWidth:1,rifleColor:e.neutralColor80,trackBackgroundColor:e.neutralColor5,trackBorderColor:e.neutralColor5,trackBorderWidth:1}})),e(t,"Core/Scrollbar.html",[t["Core/DefaultOptions.js"],t["Core/Globals.js"],t["Core/Axis/ScrollbarAxis.js"],t["Core/ScrollbarDefaults.js"],t["Core/Utilities.js"]],(function(t,e,i,n,o){var r=t.defaultOptions,s=o.addEvent,a=o.correctFloat,l=o.defined,h=o.destroyObjectProperties,c=o.fireEvent,p=o.merge,d=o.pick,u=o.removeEvent;return t=function(){function t(t,e,i){this._events=[],this.chart=void 0,this.from=this.chartY=this.chartX=0,this.scrollbar=this.renderer=this.options=this.group=void 0,this.scrollbarButtons=[],this.scrollbarGroup=void 0,this.scrollbarLeft=0,this.scrollbarRifles=void 0,this.scrollbarStrokeWidth=1,this.to=this.size=this.scrollbarTop=0,this.track=void 0,this.trackBorderWidth=1,this.userOptions=void 0,this.y=this.x=0,this.init(t,e,i)}return t.compose=function(e){i.compose(e,t)},t.swapXY=function(t,e){return e&&t.forEach((function(t){for(var e,i=t.length,n=0;nthis.calculatedWidth?e.minWidth:0,{chartX:(t.chartX-this.x-this.xOffset)/(this.barWidth-e),chartY:(t.chartY-this.y-this.yOffset)/(this.barWidth-e)}},t.prototype.destroy=function(){var t=this,e=t.chart.scroller;t.removeEvents(),["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach((function(e){t[e]&&t[e].destroy&&(t[e]=t[e].destroy())})),e&&t===e.scrollbar&&(e.scrollbar=null,h(e.scrollbarButtons))},t.prototype.drawScrollbarButton=function(e){var i=this.renderer,n=this.scrollbarButtons,o=this.options,r=this.size,s=i.g().add(this.group);n.push(s),s=i.rect().addClass("highcharts-scrollbar-button").add(s),this.chart.styledMode||s.attr({stroke:o.buttonBorderColor,"stroke-width":o.buttonBorderWidth,fill:o.buttonBackgroundColor}),s.attr(s.crisp({x:-.5,y:-.5,width:r+1,height:r+1,r:o.buttonBorderRadius},s.strokeWidth())),s=i.path(t.swapXY([["M",r/2+(e?-1:1),r/2-3],["L",r/2+(e?-1:1),r/2+3],["L",r/2+(e?2:-2),r/2]],o.vertical)).addClass("highcharts-scrollbar-arrow").add(n[e]),this.chart.styledMode||s.attr({fill:o.buttonArrowColor})},t.prototype.init=function(t,e,i){this.scrollbarButtons=[],this.renderer=t,this.userOptions=e,this.options=p(n,r.scrollbar,e),this.chart=i,this.size=d(this.options.size,this.options.height),e.enabled&&(this.render(),this.addEvents())},t.prototype.mouseDownHandler=function(t){t=this.chart.pointer.normalize(t),t=this.cursorToScrollbarPosition(t),this.chartX=t.chartX,this.chartY=t.chartY,this.initPositions=[this.from,this.to],this.grabbedCenter=!0},t.prototype.mouseMoveHandler=function(t){var e=this.chart.pointer.normalize(t),i=this.options.vertical?"chartY":"chartX",n=this.initPositions||[];!this.grabbedCenter||t.touches&&0===t.touches[0][i]||(i=(e=this.cursorToScrollbarPosition(e)[i])-(i=this[i]),this.hasDragged=!0,this.updatePosition(n[0]+i,n[1]+i),this.hasDragged&&c(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}))},t.prototype.mouseUpHandler=function(t){this.hasDragged&&c(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}),this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null},t.prototype.position=function(t,e,i,n){var o=this.options.vertical,r=this.rendered?"animate":"attr",s=0;this.x=t,this.y=e+this.trackBorderWidth,this.width=i,this.xOffset=this.height=n,this.yOffset=s,o?(this.width=this.yOffset=i=s=this.size,this.xOffset=e=0,this.barWidth=n-2*i,this.x=t+=this.options.margin):(this.height=this.xOffset=n=e=this.size,this.barWidth=i-2*n,this.y+=this.options.margin),this.group[r]({translateX:t,translateY:this.y}),this.track[r]({width:i,height:n}),this.scrollbarButtons[1][r]({translateX:o?0:i-e,translateY:o?n-s:0})},t.prototype.removeEvents=function(){this._events.forEach((function(t){u.apply(null,t)})),this._events.length=0},t.prototype.render=function(){var e=this.renderer,i=this.options,n=this.size,o=this.chart.styledMode,r=e.g("scrollbar").attr({zIndex:i.zIndex,translateY:-99999}).add();this.group=r,this.track=e.rect().addClass("highcharts-scrollbar-track").attr({x:0,r:i.trackBorderRadius||0,height:n,width:n}).add(r),o||this.track.attr({fill:i.trackBackgroundColor,stroke:i.trackBorderColor,"stroke-width":i.trackBorderWidth}),this.trackBorderWidth=this.track.strokeWidth(),this.track.attr({y:-this.trackBorderWidth%2/2}),this.scrollbarGroup=e.g().add(r),this.scrollbar=e.rect().addClass("highcharts-scrollbar-thumb").attr({height:n,width:n,r:i.barBorderRadius||0}).add(this.scrollbarGroup),this.scrollbarRifles=e.path(t.swapXY([["M",-3,n/4],["L",-3,2*n/3],["M",0,n/4],["L",0,2*n/3],["M",3,n/4],["L",3,2*n/3]],i.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup),o||(this.scrollbar.attr({fill:i.barBackgroundColor,stroke:i.barBorderColor,"stroke-width":i.barBorderWidth}),this.scrollbarRifles.attr({stroke:i.rifleColor,"stroke-width":1})),this.scrollbarStrokeWidth=this.scrollbar.strokeWidth(),this.scrollbarGroup.translate(-this.scrollbarStrokeWidth%2/2,-this.scrollbarStrokeWidth%2/2),this.drawScrollbarButton(0),this.drawScrollbarButton(1)},t.prototype.setRange=function(t,e){var i=this.options,n=i.vertical,o=i.minWidth,r=this.barWidth,s=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";if(l(r)){var h=r*Math.min(e,1);t=Math.max(t,0);var c=Math.ceil(r*t);this.calculatedWidth=h=a(h-c),h=h?this.scrollbarRifles.hide():this.scrollbarRifles.show(!0),!1===i.showFull&&(0>=t&&1<=e?this.group.hide():this.group.show()),this.rendered=!0}},t.prototype.shouldUpdateExtremes=function(t){return d(this.options.liveRedraw,e.svg&&!e.isTouchDevice&&!this.chart.isBoosting)||"mouseup"===t||"touchend"===t||!l(t)},t.prototype.trackClick=function(t){var e=this.chart.pointer.normalize(t),i=this.to-this.from,n=this.y+this.scrollbarTop,o=this.x+this.scrollbarLeft;this.options.vertical&&e.chartY>n||!this.options.vertical&&e.chartX>o?this.updatePosition(this.from+i,this.to+i):this.updatePosition(this.from-i,this.to-i),c(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})},t.prototype.update=function(t){this.destroy(),this.init(this.chart.renderer,p(!0,this.options,t),this.chart)},t.prototype.updatePosition=function(t,e){1t&&(e=a(e-t),t=0),this.from=t,this.to=e},t.defaultOptions=n,t}(),r.scrollbar=p(!0,t.defaultOptions,r.scrollbar),t})),e(t,"Core/Navigator.html",[t["Core/Axis/Axis.js"],t["Core/Chart/Chart.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Axis/NavigatorAxis.js"],t["Core/DefaultOptions.js"],t["Core/Color/Palette.js"],t["Core/Renderer/RendererRegistry.js"],t["Core/Scrollbar.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,i,n,o,r,s,a,l,h,c,p){i=i.parse;var d=n.hasTouch,u=n.isTouchDevice,f=r.defaultOptions,g=p.addEvent,m=p.clamp,v=p.correctFloat,y=p.defined,x=p.destroyObjectProperties,b=p.erase,C=p.extend,S=p.find,w=p.isArray,k=p.isNumber,M=p.merge,A=p.pick,T=p.removeEvent,P=p.splat,O=function(t){for(var e=[],i=1;ig&&(this.grabbedLeft?i=l.toPixels(e-g-h,!0):this.grabbedRight&&(n=l.toPixels(t+g+h,!0))),this.zoomedMax=m(Math.max(i,n),0,r),this.zoomedMin=m(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(i,n),0,r),this.range=this.zoomedMax-this.zoomedMin,r=Math.round(this.zoomedMax),i=Math.round(this.zoomedMin),p&&(this.navigatorGroup.attr({visibility:"visible"}),d=d&&!this.hasDragged?"animate":"attr",this.drawMasks(i,r,u,d),this.drawOutline(i,r,u,d),this.navigatorOptions.handles.enabled&&(this.drawHandle(i,0,u,d),this.drawHandle(r,1,u,d))),this.scrollbar&&(u?(u=this.top-a,c=this.left-a+(p||!c.opposite?0:(c.titleOffset||0)+c.axisTitleMargin),a=o+2*a):(u=this.top+(p?this.height:-a),c=this.left-a),this.scrollbar.position(c,u,s,a),this.scrollbar.setRange(this.zoomedMin/(o||1),this.zoomedMax/(o||1))),this.rendered=!0}},e.prototype.addMouseEvents=function(){var t,e,i=this,n=i.chart,o=n.container,r=[];i.mouseMoveHandler=t=function(t){i.onMouseMove(t)},i.mouseUpHandler=e=function(t){i.onMouseUp(t)},(r=i.getPartsEvents("mousedown")).push(g(n.renderTo,"mousemove",t),g(o.ownerDocument,"mouseup",e)),d&&(r.push(g(n.renderTo,"touchmove",t),g(o.ownerDocument,"touchend",e)),r.concat(i.getPartsEvents("touchstart"))),i.eventsToUnbind=r,i.series&&i.series[0]&&r.push(g(i.series[0].xAxis,"foundExtremes",(function(){n.navigator.modifyNavigatorAxisExtremes()})))},e.prototype.getPartsEvents=function(t){var e=this,i=[];return["shades","handles"].forEach((function(n){e[n].forEach((function(o,r){i.push(g(o.element,t,(function(t){e[n+"Mousedown"](t,r)})))}))})),i},e.prototype.shadesMousedown=function(t,e){t=this.chart.pointer.normalize(t);var i=this.chart,n=this.xAxis,o=this.zoomedMin,r=this.left,s=this.size,a=this.range,l=t.chartX;if(i.inverted&&(l=t.chartY,r=this.top),1===e)this.grabbedCenter=l,this.fixedWidth=a,this.dragOffset=l-o;else{if(t=l-r-a/2,0===e)t=Math.max(0,t);else if(2===e&&t+a>=s)if(t=s-a,this.reversedExtremes){t-=a;var h=this.getUnionExtremes().dataMin}else var c=this.getUnionExtremes().dataMax;t!==o&&(this.fixedWidth=a,e=n.navigatorAxis.toFixedRange(t,t+a,h,c),y(e.min)&&i.xAxis[0].setExtremes(Math.min(e.min,e.max),Math.max(e.min,e.max),!0,null,{trigger:"navigator"}))}},e.prototype.handlesMousedown=function(t,e){this.chart.pointer.normalize(t);var i=(t=this.chart).xAxis[0],n=this.reversedExtremes;0===e?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=n?i.min:i.max):(this.grabbedRight=!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=n?i.max:i.min),t.fixedRange=null},e.prototype.onMouseMove=function(t){var e=this,i=e.chart,o=e.left,r=e.navigatorSize,s=e.range,a=e.dragOffset,l=i.inverted;t.touches&&0===t.touches[0].pageX||(t=i.pointer.normalize(t),i=t.chartX,l&&(o=e.top,i=t.chartY),e.grabbedLeft?(e.hasDragged=!0,e.render(0,0,i-o,e.otherHandlePos)):e.grabbedRight?(e.hasDragged=!0,e.render(0,0,e.otherHandlePos,i-o)):e.grabbedCenter&&(e.hasDragged=!0,ir+a-s&&(i=r+a-s),e.render(0,0,i-a,i-a+s)),e.hasDragged&&e.scrollbar&&A(e.scrollbar.options.liveRedraw,n.svg&&!u&&!this.chart.isBoosting)&&(t.DOMType=t.type,setTimeout((function(){e.onMouseUp(t)}),0)))},e.prototype.onMouseUp=function(t){var e=this.chart,i=this.xAxis,n=this.scrollbar,o=t.DOMEvent||t,r=e.inverted,s=this.rendered&&!this.hasDragged?"animate":"attr";if(this.hasDragged&&(!n||!n.hasDragged)||"scrollbar"===t.trigger){if(n=this.getUnionExtremes(),this.zoomedMin===this.otherHandlePos)var a=this.fixedExtreme;else if(this.zoomedMax===this.otherHandlePos)var l=this.fixedExtreme;this.zoomedMax===this.size&&(l=this.reversedExtremes?n.dataMin:n.dataMax),0===this.zoomedMin&&(a=this.reversedExtremes?n.dataMax:n.dataMin),i=i.navigatorAxis.toFixedRange(this.zoomedMin,this.zoomedMax,a,l),y(i.min)&&e.xAxis[0].setExtremes(Math.min(i.min,i.max),Math.max(i.min,i.max),!0,!this.hasDragged&&null,{trigger:"navigator",triggerOp:"navigator-drag",DOMEvent:o})}"mousemove"!==t.DOMType&&"touchmove"!==t.DOMType&&(this.grabbedLeft=this.grabbedRight=this.grabbedCenter=this.fixedWidth=this.fixedExtreme=this.otherHandlePos=this.hasDragged=this.dragOffset=null),this.navigatorEnabled&&k(this.zoomedMin)&&k(this.zoomedMax)&&(e=Math.round(this.zoomedMin),t=Math.round(this.zoomedMax),this.shades&&this.drawMasks(e,t,r,s),this.outline&&this.drawOutline(e,t,r,s),this.navigatorOptions.handles.enabled&&Object.keys(this.handles).length===this.handles.length&&(this.drawHandle(e,0,r,s),this.drawHandle(t,1,r,s)))},e.prototype.removeEvents=function(){this.eventsToUnbind&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind=void 0),this.removeBaseSeriesEvents()},e.prototype.removeBaseSeriesEvents=function(){var t=this.baseSeries||[];this.navigatorEnabled&&t[0]&&(!1!==this.navigatorOptions.adaptToUpdatedData&&t.forEach((function(t){T(t,"updatedData",this.updatedDataHandler)}),this),t[0].xAxis&&T(t[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes))},e.prototype.init=function(e){var i=e.options,n=i.navigator,r=n.enabled,s=i.scrollbar,a=s.enabled;i=r?n.height:0;var h=a?s.height:0;this.handles=[],this.shades=[],this.chart=e,this.setBaseSeries(),this.height=i,this.scrollbarHeight=h,this.scrollbarEnabled=a,this.navigatorEnabled=r,this.navigatorOptions=n,this.scrollbarOptions=s,this.outlineHeight=i+h,this.opposite=A(n.opposite,!(r||!e.inverted));var c=this;r=c.baseSeries,s=e.xAxis.length,a=e.yAxis.length;var p=r&&r[0]&&r[0].xAxis||e.xAxis[0]||{options:{}};e.isDirtyBox=!0,c.navigatorEnabled?(c.xAxis=new t(e,M({breaks:p.options.breaks,ordinal:p.options.ordinal},n.xAxis,{id:"navigator-x-axis",yAxis:"navigator-y-axis",isX:!0,type:"datetime",index:s,isInternal:!0,offset:0,keepOrdinalPadding:!0,startOnTick:!1,endOnTick:!1,minPadding:0,maxPadding:0,zoomEnabled:!1},e.inverted?{offsets:[h,0,-h,0],width:i}:{offsets:[0,-h,0,h],height:i})),c.yAxis=new t(e,M(n.yAxis,{id:"navigator-y-axis",alignTicks:!1,offset:0,index:a,isInternal:!0,reversed:A(n.yAxis&&n.yAxis.reversed,e.yAxis[0]&&e.yAxis[0].reversed,!1),zoomEnabled:!1},e.inverted?{width:i}:{height:i})),r||n.series.data?c.updateNavigatorSeries(!1):0===e.series.length&&(c.unbindRedraw=g(e,"beforeRedraw",(function(){0a.indexOf(e)&&(e&&(T(e,"updatedData",r.updatedDataHandler),delete e.navigatorSeries),t.chart&&t.destroy(),1))}));a&&a.length&&a.forEach((function(t){var p=t.navigatorSeries,d=C({color:t.color,visible:t.visible},w(l)?f.navigator.series:l);p&&!1===r.navigatorOptions.adaptToUpdatedData||(h.name="Navigator "+a.length,i=t.options||{},o=i.navigatorOptions||{},d.dataLabels=P(d.dataLabels),(n=M(i,h,d,o)).pointRange=A(d.pointRange,o.pointRange,f.plotOptions[n.type||"line"].pointRange),d=o.data||d.data,r.hasNavigatorData=r.hasNavigatorData||!!d,n.data=d||i.data&&i.data.slice(0),p&&p.options?p.update(n,e):(t.navigatorSeries=s.initSeries(n),t.navigatorSeries.baseSeries=t,c.push(t.navigatorSeries)))})),(!l.data||a&&a.length)&&!w(l)||(r.hasNavigatorData=!1,(l=P(l)).forEach((function(t,e){h.name="Navigator "+(c.length+1),(n=M(f.navigator.series,{color:s.series[e]&&!s.series[e].options.isInternal&&s.series[e].color||s.options.colors[e]||s.options.colors[0]},h,t)).data=t.data,n.data&&(r.hasNavigatorData=!0,c.push(s.initSeries(n)))}))),t&&this.addBaseSeriesEvents()},e.prototype.addBaseSeriesEvents=function(){var t=this,e=t.baseSeries||[];e[0]&&e[0].xAxis&&e[0].eventsToUnbind.push(g(e[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes)),e.forEach((function(e){e.eventsToUnbind.push(g(e,"show",(function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!0,!1)}))),e.eventsToUnbind.push(g(e,"hide",(function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!1,!1)}))),!1!==this.navigatorOptions.adaptToUpdatedData&&e.xAxis&&e.eventsToUnbind.push(g(e,"updatedData",this.updatedDataHandler)),e.eventsToUnbind.push(g(e,"remove",(function(){this.navigatorSeries&&(b(t.series,this.navigatorSeries),y(this.navigatorSeries.options)&&this.navigatorSeries.remove(!1),delete this.navigatorSeries)})))}),this)},e.prototype.getBaseSeriesMin=function(t){return this.baseSeries.reduce((function(t,e){return Math.min(t,e.xData?e.xData[0]:t)}),t)},e.prototype.modifyNavigatorAxisExtremes=function(){var t,e=this.xAxis;void 0!==e.getExtremes&&(!(t=this.getUnionExtremes(!0))||t.dataMin===e.min&&t.dataMax===e.max||(e.min=t.dataMin,e.max=t.dataMax))},e.prototype.modifyBaseAxisExtremes=function(){var t=this.chart.navigator,e=this.getExtremes(),i=e.dataMin,n=e.dataMax;e=e.max-e.min;var o=t.stickToMin,r=t.stickToMax,s=A(this.options.overscroll,0),a=t.series&&t.series[0],l=!!this.setExtremes;if(!this.eventArgs||"rangeSelectorButton"!==this.eventArgs.trigger){if(o)var h=i,c=i+e;r&&(c=n+s,o||(h=Math.max(i,c-e,t.getBaseSeriesMin(a&&a.xData?a.xData[0]:-Number.MAX_VALUE)))),l&&(o||r)&&k(h)&&(this.min=this.userMin=h,this.max=this.userMax=c)}t.stickToMin=t.stickToMax=null},e.prototype.updatedDataHandler=function(){var t=this.chart.navigator,e=this.navigatorSeries;t.stickToMax=t.reversedExtremes?0===Math.round(t.zoomedMin):Math.round(t.zoomedMax)>=Math.round(t.size),t.stickToMin=t.shouldStickToMin(this,t),e&&!t.hasNavigatorData&&(e.options.pointStart=this.xData[0],e.setData(this.options.data,!1,null,!1))},e.prototype.shouldStickToMin=function(t,e){e=e.getBaseSeriesMin(t.xData[0]);var i=t.xAxis;t=i.max;var n=i.min;i=i.options.range;var o=!0;return k(t)&&k(n)&&(o=i&&0g||l-o[o.length-1]>g)&&(r=!0)}else i.options.overscroll&&(2===f?d=o[1]-o[0]:1===f?(d=i.options.overscroll,o=[o[0],o[0]+d]):d=n.overscrollPointsRange);r||i.forceOrdinal?(i.options.overscroll&&(n.overscrollPointsRange=d,o=o.concat(n.getOverscrollPositions())),n.positions=o,g=i.ordinal2lin(Math.max(a,o[0]),!0),e=Math.max(i.ordinal2lin(Math.min(l,o[o.length-1]),!0),1),n.slope=l=(l-a)/(e-g),n.offset=a-g*l):(n.overscrollPointsRange=p(i.closestPointRange,n.overscrollPointsRange),n.positions=i.ordinal.slope=n.offset=void 0)}i.isOrdinal=s&&r,n.groupIntervalFactor=null},t.findIndexOf=function(t,e,i){for(var n,o=0,r=t.length-1;o<=r;){if(t[n=Math.floor((o+r)/2)]===e)return n;t[n]o.length||void 0===e)return v.getTimeTicks.apply(v,arguments);var x=o.length;for(a=0;ai;if(o[a]5*r||b){if(o[a]>g){for(l=v.getTimeTicks(t,o[p],o[a],n);l.length&&l[0]<=g;)l.shift();l.length&&(g=l[l.length-1]),y.push(f.length),f=f.concat(l)}p=a+1}if(b)break}if(l){if(l=l.info,s&&l.unitRange<=d.hour){for(a=f.length-1,p=1;pi?l-1:l,v=void 0;p--;)a=C[p],l=Math.abs(v-a),v&&l<.8*m&&(null===y||l<.8*y)?(u[f[p]]&&!u[f[p+1]]?(l=p+1,v=a):l=p,f.splice(l,1)):v=a}return f},o.index2val=function(t){var e=this.ordinal.positions;if(!e)return t;var i=e.length-1;if(0>t)t=e[0];else if(t>i)t=e[i];else var n=t-(i=Math.floor(t));return void 0!==n&&void 0!==e[i]?e[i]+(n?n*(e[i+1]-e[i]):0):t},o.lin2val=function(t){var e=this.ordinal,i=e.positions;if(!i)return t;var n=(t-(this.old?this.old.min:this.min))*(this.old?this.old.transA:this.transA);if(t>this.left&&tt?n+o*t:i+o*(t-e)}return t},o.val2lin=function(t,e){var i=this.ordinal,n=i.positions;if(n){var o,r=n.length,s=void 0;for(o=r;o--;)if(n[o]===t){s=o;break}for(o=r-1;o--;)if(t>n[o]||0===o){s=o+(t=(t-n[o])/(n[o+1]-n[o]));break}e=e?s:i.slope*(s||0)+i.offset}else e=t;return e},o.ordinal2lin=o.val2lin,s(e,"afterInit",(function(){this.ordinal||(this.ordinal=new t.Composition(this))})),s(e,"foundExtremes",(function(){this.isXAxis&&h(this.options.overscroll)&&this.max===this.dataMax&&(!this.chart.mouseIsDown||this.isInternal)&&(!this.eventArgs||this.eventArgs&&"navigator"!==this.eventArgs.trigger)&&(this.max+=this.options.overscroll,!this.isInternal&&h(this.userMin)&&(this.min+=this.options.overscroll))})),s(e,"afterSetScale",(function(){this.horiz&&!this.isDirty&&(this.isDirty=this.isOrdinal&&this.chart.navigator&&!this.chart.navigator.adaptToUpdatedData)})),s(e,"initialAxisTranslation",(function(){this.ordinal&&(this.ordinal.beforeSetTickPositions(),this.tickInterval=this.ordinal.postProcessTickInterval(this.tickInterval))})),s(i,"pan",(function(t){var e=this.xAxis[0],i=e.options.overscroll,n=t.originalEvent.chartX,o=this.options.chart.panning,r=!1;if(o&&"y"!==o.type&&e.options.ordinal&&e.series.length){var s=this.mouseDownX,a=e.getExtremes(),h=a.dataMax,c=a.min,p=a.max,d=void 0;d=this.hoverPoints;var u=e.closestPointRange||e.ordinal&&e.ordinal.overscrollPointsRange;s=(s-n)/(e.translationSlope*(e.ordinal.slope||u)),u={ordinal:{positions:e.ordinal.getExtendedPositions()}};var f=void 0,g=void 0,m=e.index2val,v=e.val2lin,y=void 0;u.ordinal.positions?1s?(g=u,y=e.ordinal.positions?e:u):(g=e.ordinal.positions?e:u,y=u),h>(f=y.ordinal.positions)[f.length-1]&&f.push(h),this.fixedRange=p-c,(d=e.navigatorAxis.toFixedRange(null,null,m.apply(g,[v.apply(g,[c,!0])+s]),m.apply(y,[v.apply(y,[p,!0])+s]))).min>=Math.min(a.dataMin,c)&&d.max<=Math.max(h,p)+i&&e.setExtremes(d.min,d.max,!0,!1,{trigger:"pan"}),this.mouseDownX=n,l(this.container,{cursor:"move"})):r=!0}else r=!0;r||o&&/y/.test(o.type)?i&&(e.max=e.dataMax+i):t.preventDefault()})),s(n,"updatedData",(function(){var t=this.xAxis;t&&t.options.ordinal&&delete t.ordinal.index}))}}(r||(r={})),r.compose(t,e,n),r})),e(t,"Core/Axis/BrokenAxis.html",[t["Core/Axis/Axis.js"],t["Core/Series/Series.js"],t["Extensions/Stacking.js"],t["Core/Utilities.js"]],(function(t,e,i,n){var o,r=n.addEvent,s=n.find,a=n.fireEvent,l=n.isArray,h=n.isNumber,c=n.pick;return function(n){function o(){void 0!==this.brokenAxis&&this.brokenAxis.setBreaks(this.options.breaks,!1)}function p(){this.brokenAxis&&this.brokenAxis.hasBreaks&&(this.options.ordinal=!1)}function d(){var t=this.brokenAxis;if(t&&t.hasBreaks){for(var e=this.tickPositions,i=this.tickPositions.info,n=[],o=0;oe.to||n>e.from&&re.from&&re.from&&r>e.to&&rr&&e>=this.basePointRange&&(r=e),n=void 0;s--;)n&&!1!==n.visible||(n=t[s+1]),e=t[s],!1!==n.visible&&!1!==e.visible&&(n.x-e.x>r&&(n=(e.x+n.x)/2,t.splice(s+1,0,{isNull:!0,x:n}),o.stacking&&this.options.stacking&&((n=o.stacking.stacks[this.stackKey][n]=new i(o,o.options.stackLabels,!1,n,this.stack)).total=0)),n=e);return this.getGraphPath(t)}n.compose=function(t,i){if(-1===t.keepProps.indexOf("brokenAxis")){t.keepProps.push("brokenAxis");var n=e.prototype;n.drawBreaks=m,n.gappedPath=v,r(t,"init",u),r(t,"afterInit",o),r(t,"afterSetTickPositions",d),r(t,"afterSetOptions",p),r(i,"afterGeneratePoints",f),r(i,"afterRender",g)}return t};var y=function(){function e(t){this.hasBreaks=!1,this.axis=t}return e.isInBreak=function(t,e){var i=t.repeat||1/0,n=t.from,o=t.to-t.from;return e=e>=n?(e-n)%i:i-(n-e)%i,t.inclusive?e<=o:e=t)break;(o.to=t)break;if(e.isInBreak(r,t)){o-=t-r.from;break}}}return o},e.prototype.findBreakAt=function(t,e){return s(e,(function(e){return e.fromf;)v-=i;for(;v=i[0]);o++);for(;o<=p;o++){for(;void 0!==i[S+1]&&t[o]>=i[S+1]||o===p;){var M=i[S];r.dataGroupInfo={start:C?w:r.cropStart+w,length:u[0].length};var A=n.apply(r,u);for(r.pointClass&&!f(r.dataGroupInfo.options)&&(r.dataGroupInfo.options=y(r.pointClass.prototype.optionsToObject.call({series:r},r.options.data[r.cropStart+w])),x.forEach((function(t){delete r.dataGroupInfo.options[t]}))),void 0!==A&&(l.push(M),h.push(A),c.push(r.dataGroupInfo)),w=o,M=0;M=i[0]){C=this.groupMap[0].start,k=this.groupMap[0].length;var M=void 0;v(C)&&v(k)&&(M=C+(k-1)),i[0]={middle:i[0]+.5*m,end:i[0]+m,firstPoint:this.xData[0],lastPoint:M&&this.xData[M]}[w]}y&&"start"!==y&&m&&i[b]>=u-m&&(u=this.groupMap[this.groupMap.length-1].start,i[b]={middle:i[b]+.5*m,end:i[b]+m,firstPoint:u&&this.xData[u],lastPoint:this.xData[this.xData.length-1]}[y])}for(u=1;ua.max&&((!f(a.options.max)&&v(a.dataMax)&&a.max>=a.dataMax||a.max===a.dataMax)&&(a.max=Math.max(r[r.length-1],a.max)),a.dataMax=Math.max(r[r.length-1],a.dataMax))),n.groupAll&&(l=(n=this.cropData(l,h,a.min,a.max,1)).xData,h=n.yData,this.cropStart=n.start),this.processedXData=l,this.processedYData=h}else this.groupMap=null;this.hasGroupedData=t,this.currentDataGrouping=u,this.preventGraphAnimation=(s&&s.totalRange)!==(u&&u.totalRange)}},c.destroyGroupedData=function(){this.groupedData&&(this.groupedData.forEach((function(t,e){t&&(this.groupedData[e]=t.destroy?t.destroy():null)}),this),this.groupedData.length=0)},c.generatePoints=function(){w.apply(this),this.destroyGroupedData(),this.groupedData=this.hasGroupedData?this.points:null},i(o,"update",(function(){if(this.dataGroup)return g(24,!1,this.series.chart),!1})),i(s,"headerFormatter",(function(t){var e=this.chart,i=e.time,n=t.labelConfig,o=n.series,r=o.tooltipOptions,s=o.options.dataGrouping,a=r.xDateFormat,l=o.xAxis,c=r[(t.isFooter?"footer":"header")+"Format"];if(l&&"datetime"===l.options.type&&s&&v(n.key)){var p=o.currentDataGrouping;if(s=s.dateTimeLabelFormats||k.dateTimeLabelFormats,p)if(r=s[p.unitName],1===p.count)a=r[0];else{a=r[1];var d=r[2]}else!a&&s&&(a=this.getXDateFormat(n,r,l));a=i.dateFormat(a,n.key),d&&(a+=i.dateFormat(d,n.key+p.totalRange-1)),o.chart.styledMode&&(c=this.styledModeFormat(c)),t.text=h(c,{point:m(n.point,{key:a}),series:o},e),t.preventDefault()}})),i(r,"destroy",c.destroyGroupedData),i(r,"afterSetOptions",(function(t){t=t.options;var e=this.type,i=this.chart.options.plotOptions,n=a.defaultOptions.plotOptions[e].dataGrouping,o=this.useCommonDataGrouping&&k;if(M[e]||o){n||(n=y(k,M[e]));var r=this.chart.rangeSelector;t.dataGrouping=y(o,n,i.series&&i.series.dataGrouping,i[e].dataGrouping,this.userOptions.dataGrouping,!t.isInternal&&r&&v(r.selected)&&r.buttonOptions[r.selected].dataGrouping)}})),i(t,"afterSetScale",(function(){this.series.forEach((function(t){t.hasProcessed=!1}))})),t.prototype.getGroupPixelWidth=function(){var t,e,i=this.series,n=i.length,o=0,r=!1;for(t=n;t--;)(e=i[t].options.dataGrouping)&&(o=Math.max(o,x(e.groupPixelWidth,k.groupPixelWidth)));for(t=n;t--;)(e=i[t].options.dataGrouping)&&i[t].hasProcessed&&(n=(i[t].processedXData||i[t].data).length,i[t].groupPixelWidth||n>this.chart.plotSizeX/o||n&&e.forced)&&(r=!0);return r?o:0},t.prototype.setDataGrouping=function(e,i){var n;if(i=x(i,!0),e||(e={forced:!1,units:null}),this instanceof t)for(n=this.series.length;n--;)this.series[n].update({dataGrouping:e},!1);else this.chart.options.series.forEach((function(t){t.dataGrouping=e}),!1);this.ordinal&&(this.ordinal.slope=void 0),i&&this.chart.redraw()},n.dataGrouping=C,C})),e(t,"Series/OHLC/OHLCPoint.html",[t["Core/Series/SeriesRegistry.js"]],(function(t){var e=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();return function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.close=void 0,e.high=void 0,e.low=void 0,e.open=void 0,e.options=void 0,e.plotClose=void 0,e.plotOpen=void 0,e.series=void 0,e}return e(i,t),i.prototype.getClassName=function(){return t.prototype.getClassName.call(this)+(this.open {series.name}
Open: {point.open}
High: {point.high}
Low: {point.low}
Close: {point.close}
'},threshold:null,states:{hover:{lineWidth:3}},stickyTracking:!0}),e}(o)).prototype,{animate:null,directTouch:!1,pointArrayMap:["open","high","low","close"],pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"},pointValKey:"close"}),i.prototype.pointClass=t,e.registerSeriesType("ohlc",i),i})),e(t,"Series/Candlestick/CandlestickSeries.html",[t["Core/DefaultOptions.js"],t["Core/Color/Palette.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,i,n){var o=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),r=t.defaultOptions,s=(t=i.seriesTypes).column,a=t.ohlc,l=n.merge;return n=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return o(i,t),i.prototype.pointAttribs=function(t,e){var i=s.prototype.pointAttribs.call(this,t,e),n=this.options,o=t.open--l)break}}}a.forEach((function(i,n){if(i.plotX+=v,(void 0===i.plotY||f)&&(0<=i.plotX&&i.plotX<=g.len?f?(i.plotY=g.translate(i.x,0,1,0,1),i.plotX=r(i.y)?m.translate(i.y,0,0,0,1):0):i.plotY=(g.opposite?0:e.yAxis.len)+g.offset:i.shapeArgs={}),(t=a[n-1])&&t.plotX===i.plotX){void 0===t.stackIndex&&(t.stackIndex=0);var o=t.stackIndex+1}i.stackIndex=o})),this.onSeries=h}}})),e(t,"Series/Flags/FlagsSymbols.html",[t["Core/Renderer/RendererRegistry.js"],t["Core/Renderer/SVG/SVGRenderer.js"]],(function(t,e){function i(t){n[t+"pin"]=function(e,i,o,r,s){var a=s&&s.anchorX;s=s&&s.anchorY,"circle"===t&&r>o&&(e-=Math.round((r-o)/2),o=r);var l=n[t](e,i,o,r);if(a&&s){var h=a;"circle"===t?h=e+o/2:(e=l[0],o=l[1],"M"===e[0]&&"L"===o[0]&&(h=(e[1]+o[1])/2)),l.push(["M",h,i>s?i:i+r],["L",a,s]),l=l.concat(n.circle(a-1,s-1,2,2))}return l}}var n=e.prototype.symbols;return n.flag=function(t,e,i,o,r){var s=r&&r.anchorX||t;r=r&&r.anchorY||e;var a=n.circle(s-1,r-1,2,2);return a.push(["M",s,r],["L",t,e+o],["L",t,e],["L",t+i,e],["L",t+i,e+o],["L",t,e+o],["Z"]),a},i("circle"),i("square"),(t=t.getRendererType())!==e&&(t.prototype.symbols.circlepin=n.circlepin,t.prototype.symbols.flag=n.flag,t.prototype.symbols.squarepin=n.squarepin),n})),e(t,"Series/Flags/FlagsSeries.html",[t["Series/Flags/FlagsPoint.js"],t["Core/Globals.js"],t["Mixins/OnSeries.js"],t["Core/Color/Palette.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Renderer/SVG/SVGElement.js"],t["Core/Utilities.js"]],(function(t,e,i,n,o,r,s){var a=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),l=e.noop,h=o.series,c=o.seriesTypes.column,p=s.addEvent,d=s.defined,u=s.extend,f=s.merge,g=s.objectEach,m=s.wrap;return u((s=function(t){function i(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return a(i,t),i.prototype.animate=function(t){t&&this.setClip()},i.prototype.drawPoints=function(){var t,i=this.points,n=this.chart,o=n.renderer,s=n.inverted,a=this.options,l=a.y,h=this.yAxis,c={},p=[];for(t=i.length;t--;){var u=i[t],v=(s?u.plotY:u.plotX)>this.xAxis.len,y=u.plotX,x=u.stackIndex,b=u.options.shape||a.shape,C=u.plotY;void 0!==C&&(C=u.plotY+l-(void 0!==x&&x*a.stackDistance)),u.anchorX=x?void 0:u.plotX;var S=x?void 0:u.plotY,w="flag"!==b;x=u.graphic,void 0!==C&&0<=y&&!v?(x&&u.hasNewShapeType()&&(x=x.destroy()),x||(x=u.graphic=o.label("",null,null,b,null,null,a.useHTML).addClass("highcharts-point").add(this.markerGroup),u.graphic.div&&(u.graphic.div.point=u),x.isNew=!0),x.attr({align:w?"center":"left",width:a.width,height:a.height,"text-align":a.textAlign}),n.styledMode||x.attr(this.pointAttribs(u)).css(f(a.style,u.style)).shadow(a.shadow),0l-a,S=g=864e5*{month:28,year:365}[m]*v-b&&o-36e5<=864e5*{month:31,year:366}[m]*v+b?g=!0:"ytd"===m?(g=c-h+b===o,w=!e):"all"===m&&(g=n.max-n.min>=l-a,k=!e&&d&&g),m=!u&&(C||S||k||r),v=e&&g||g&&!d&&!w||e&&t.frozenStates,m?x=3:v&&(d=!0,x=2),y.state!==x&&(y.setState(x),i&&(i.options[s+1].disabled=m,2===x&&(i.selectedIndex=s+1)),0===x&&p===s&&t.setSelected())}))},e.prototype.computeButtonRange=function(t){var e=t.type,i=t.count||1,n={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};n[e]?t._range=n[e]*i:"month"!==e&&"year"!==e||(t._range=864e5*{month:30,year:365}[e]*i),t._offsetMin=C(t.offsetMin,0),t._offsetMax=C(t.offsetMax,0),t._range+=t._offsetMax-t._offsetMin},e.prototype.getInputValue=function(t){t="min"===t?this.minInput:this.maxInput;var e=this.chart.options.rangeSelector,i=this.chart.time;return t?("text"===t.type&&e.inputDateParser||this.defaultInputDateParser)(t.value,i.useUTC,i):0},e.prototype.setInputValue=function(t,e){var i=this.options,n=this.chart.time,o="min"===t?this.minInput:this.maxInput;if(t="min"===t?this.minDateBox:this.maxDateBox,o){var r=o.getAttribute("data-hc-time");r=p(r)?Number(r):void 0,p(e)&&(p(r)&&o.setAttribute("data-hc-time-previous",r),o.setAttribute("data-hc-time",e),r=e),o.value=n.dateFormat(this.inputTypeFormats[o.type]||i.inputEditDateFormat,r),t&&t.attr({text:n.dateFormat(i.inputDateFormat,r)})}},e.prototype.setInputExtremes=function(t,e,i){if(t="min"===t?this.minInput:this.maxInput){var n=this.inputTypeFormats[t.type],o=this.chart.time;n&&(e=o.dateFormat(n,e),t.min!==e&&(t.min=e),i=o.dateFormat(n,i),t.max!==i&&(t.max=i))}},e.prototype.showInput=function(t){var e="min"===t?this.minDateBox:this.maxDateBox;if((t="min"===t?this.minInput:this.maxInput)&&e&&this.inputGroup){var i="text"===t.type,n=this.inputGroup,o=n.translateX;n=n.translateY;var r=this.options.inputBoxWidth;c(t,{width:i?e.width+(r?-2:20)+"px":"auto",height:i?e.height-2+"px":"auto",border:"2px solid silver"}),c(t,i&&r?{left:o+e.x+"px",top:n+"px"}:{left:Math.min(Math.round(e.x+o-(t.offsetWidth-e.width)/2),this.chart.chartWidth-t.offsetWidth)+"px",top:n-(t.offsetHeight-e.height)/2+"px"})}},e.prototype.hideInput=function(t){(t="min"===t?this.minInput:this.maxInput)&&c(t,{top:"-9999em",border:0,width:"1px",height:"1px"})},e.prototype.defaultInputDateParser=function(t,e,n){var o,r=t.split("index.html").join("-").split(" ").join("T");return-1===r.indexOf("T")&&(r+="T00:00"),e?r+="Z":((o=i.isSafari)&&(o=!(6<(o=r).length&&(o.lastIndexOf("-")===o.length-6||o.lastIndexOf("+")===o.length-6))),o&&(r+=0>=(o=new Date(r).getTimezoneOffset()/60)?"+"+b(-o)+":00":"-"+b(o)+":00")),r=Date.parse(r),v(r)||(t=t.split("-"),r=Date.UTC(S(t[0]),S(t[1])-1,S(t[2]))),n&&e&&v(r)&&(r+=n.getTimezoneOffset(r)),r},e.prototype.drawInput=function(t){function e(){var e=l.getInputValue(t),i=n.xAxis[0],o=n.scroller&&n.scroller.xAxis?n.scroller.xAxis:i,r=o.dataMin;o=o.dataMax;var s=l.maxInput,a=l.minInput;e!==Number(x.getAttribute("data-hc-time-previous"))&&v(e)&&(x.setAttribute("data-hc-time-previous",e),g&&s&&v(r)?e>Number(s.getAttribute("data-hc-time"))?e=void 0:eo&&(e=o)),void 0!==e&&i.setExtremes(g?e:i.min,g?i.max:e,void 0,void 0,{trigger:"rangeSelectorInput"}))}var n=this.chart,r=this.div,s=this.inputGroup,l=this,p=n.renderer.style||{},d=n.renderer,u=n.options.rangeSelector,g="min"===t,m=a.lang[g?"rangeSelectorFrom":"rangeSelectorTo"];m=d.label(m,0).addClass("highcharts-range-label").attr({padding:m?2:0,height:m?u.inputBoxHeight:0}).add(s),d=d.label("",0).addClass("highcharts-range-input").attr({padding:2,width:u.inputBoxWidth,height:u.inputBoxHeight,"text-align":"center"}).on("click",(function(){l.showInput(t),l[t+"Input"].focus()})),n.styledMode||d.attr({stroke:u.inputBoxBorderColor,"stroke-width":1}),d.add(s);var x=h("input",{name:t,className:"highcharts-range-selector"},void 0,r);x.setAttribute("type",function(t){if(-1!==t.indexOf("%L"))return"text";var e="aAdewbBmoyY".split("").some((function(e){return-1!==t.indexOf("%"+e)})),i="HkIlMS".split("").some((function(e){return-1!==t.indexOf("%"+e)}));return e&&i?"datetime-local":e?"date":i?"time":"text"}(u.inputDateFormat||"%b %e, %Y")),n.styledMode||(m.css(y(p,u.labelStyle)),d.css(y({color:o.neutralColor80},p,u.inputStyle)),c(x,f({position:"absolute",border:0,boxShadow:"0 0 15px rgba(0,0,0,0.3)",width:"1px",height:"1px",padding:0,textAlign:"center",fontSize:p.fontSize,fontFamily:p.fontFamily,top:"-9999em"},u.inputStyle))),x.onfocus=function(){l.showInput(t)},x.onblur=function(){x===i.doc.activeElement&&e(),l.hideInput(t),l.setInputValue(t),x.blur()};var b=!1;return x.onchange=function(){b||(e(),l.hideInput(t),x.blur())},x.onkeypress=function(t){13===t.keyCode&&e()},x.onkeydown=function(t){b=!0,38!==t.keyCode&&40!==t.keyCode||e()},x.onkeyup=function(){b=!1},{dateBox:d,input:x,label:m}},e.prototype.getPosition=function(){var t=this.chart,e=t.options.rangeSelector;return{buttonTop:(t="top"===e.verticalAlign?t.plotTop-t.axisOffset[0]:0)+e.buttonPosition.y,inputTop:t+e.inputPosition.y-10}},e.prototype.getYTDExtremes=function(t,e,i){var n=this.chart.time,o=new n.Date(t),r=n.get("FullYear",o);return i=i?n.Date.UTC(r,0,1):+new n.Date(r,0,1),e=Math.max(e,i),o=o.getTime(),{max:Math.min(t||o,o),min:e}},e.prototype.render=function(t,e){var i=this.chart,n=i.renderer,o=i.container,r=i.options,s=r.rangeSelector,a=C(r.chart.style&&r.chart.style.zIndex,0)+1;if(r=s.inputEnabled,!1!==s.enabled){if(this.rendered||(this.group=n.g("range-selector-group").attr({zIndex:7}).add(),this.div=h("div",void 0,{position:"relative",height:0,zIndex:a}),this.buttonOptions.length&&this.renderButtons(),o.parentNode&&o.parentNode.insertBefore(this.div,o),r&&(this.inputGroup=n.g("input-group").add(this.group),n=this.drawInput("min"),this.minDateBox=n.dateBox,this.minLabel=n.label,this.minInput=n.input,n=this.drawInput("max"),this.maxDateBox=n.dateBox,this.maxLabel=n.label,this.maxInput=n.input)),r&&(this.setInputValue("min",t),this.setInputValue("max",e),t=i.scroller&&i.scroller.getUnionExtremes()||i.xAxis[0]||{},p(t.dataMin)&&p(t.dataMax)&&(i=i.xAxis[0].minRange||0,this.setInputExtremes("min",t.dataMin,Math.min(t.dataMax,this.getInputValue("max"))-i),this.setInputExtremes("max",Math.max(t.dataMin,this.getInputValue("min"))+i,t.dataMax)),this.inputGroup)){var l=0;[this.minLabel,this.minDateBox,this.maxLabel,this.maxDateBox].forEach((function(t){if(t){var e=t.getBBox().width;e&&(t.attr({x:l}),l+=e+s.inputSpacing)}}))}this.alignElements(),this.rendered=!0}},e.prototype.renderButtons=function(){var t=this,e=this.buttons,n=this.options,o=a.lang,r=this.chart.renderer,s=y(n.buttonTheme),c=s&&s.states,p=s.width||28;delete s.width,delete s.states,this.buttonGroup=r.g("range-selector-buttons").add(this.group);var d=this.dropdown=h("select",void 0,{position:"absolute",width:"1px",height:"1px",padding:0,border:0,top:"-9999em",cursor:"pointer",opacity:1e-4},this.div);l(d,"touchstart",(function(){d.style.fontSize="16px"})),[[i.isMS?"mouseover":"mouseenter"],[i.isMS?"mouseout":"mouseleave"],["change","click"]].forEach((function(i){var n=i[0],o=i[1];l(d,n,(function(){var i=e[t.currentButtonIndex()];i&&m(i.element,o||n)}))})),this.zoomText=r.label(o&&o.rangeSelectorZoom||"",0).attr({padding:n.buttonTheme.padding,height:n.buttonTheme.height,paddingLeft:0,paddingRight:0}).add(this.buttonGroup),this.chart.styledMode||(this.zoomText.css(n.labelStyle),s["stroke-width"]=C(s["stroke-width"],0)),h("option",{textContent:this.zoomText.textStr,disabled:!0},void 0,d),this.buttonOptions.forEach((function(i,n){h("option",{textContent:i.title||i.text},void 0,d),e[n]=r.button(i.text,0,0,(function(e){var o,r=i.events&&i.events.click;r&&(o=r.call(i,e)),!1!==o&&t.clickButton(n),t.isActive=!0}),s,c&&c.hover,c&&c.select,c&&c.disabled).attr({"text-align":"center",width:p}).add(t.buttonGroup),i.title&&e[n].attr("title",i.title)}))},e.prototype.alignElements=function(){var t=this,e=this.buttonGroup,i=this.buttons,n=this.chart,o=this.group,r=this.inputGroup,s=this.options,a=this.zoomText,l=n.options,h=l.exporting&&!1!==l.exporting.enabled&&l.navigation&&l.navigation.buttonOptions;l=s.buttonPosition;var c=s.inputPosition,p=s.verticalAlign,d=function(e,i){return h&&t.titleCollision(n)&&"top"===p&&"right"===i.align&&i.y-e.getBBox().height-12<(h.y||0)+(h.height||0)+n.spacing[0]?-40:0},u=n.plotLeft;if(o&&l&&c){var f=l.x-n.spacing[3];if(e){if(this.positionButtons(),!this.initialButtonGroupWidth){var g=0;a&&(g+=a.getBBox().width+5),i.forEach((function(t,e){g+=t.width,e!==i.length-1&&(g+=s.buttonSpacing)})),this.initialButtonGroupWidth=g}u-=n.spacing[3],this.updateButtonStates(),a=d(e,l),this.alignButtonGroup(a),o.placed=e.placed=n.hasLoaded}e=0,r&&(e=d(r,c),"left"===c.align?f=u:"right"===c.align&&(f=-Math.max(n.axisOffset[1],-e)),r.align({y:c.y,width:r.getBBox().width,align:c.align,x:c.x+f-2},!0,n.spacingBox),r.placed=n.hasLoaded),this.handleCollision(e),o.align({verticalAlign:p},!0,n.spacingBox),r=o.alignAttr.translateY,e=o.getBBox().height+20,d=0,"bottom"===p&&(d=r-(e=e+(d=(d=n.legend&&n.legend.options)&&"bottom"===d.verticalAlign&&d.enabled&&!d.floating?n.legend.legendHeight+C(d.margin,10):0)-20)-(s.floating?0:s.y)-(n.titleOffset?n.titleOffset[2]:0)-10),"top"===p?(s.floating&&(d=0),n.titleOffset&&n.titleOffset[0]&&(d=n.titleOffset[0]),d+=n.margin[0]-n.spacing[0]||0):"middle"===p&&(c.y===l.y?d=r:(c.y||l.y)&&(d=0>c.y||0>l.y?d-Math.min(c.y,l.y):r-e)),o.translate(s.x,s.y+Math.floor(d)),l=this.minInput,c=this.maxInput,r=this.dropdown,s.inputEnabled&&l&&c&&(l.style.marginTop=o.translateY+"px",c.style.marginTop=o.translateY+"px"),r&&(r.style.marginTop=o.translateY+"px")}},e.prototype.alignButtonGroup=function(t,e){var i=this.chart,n=this.buttonGroup,o=this.options.buttonPosition,r=i.plotLeft-i.spacing[3],s=o.x-i.spacing[3];"right"===o.align?s+=t-r:"center"===o.align&&(s-=r/2),n&&n.align({y:o.y,width:C(e,this.initialButtonGroupWidth),align:o.align,x:s},!0,i.spacingBox)},e.prototype.positionButtons=function(){var t=this.buttons,e=this.chart,i=this.options,n=this.zoomText,o=e.hasLoaded?"animate":"attr",r=i.buttonPosition,s=e.plotLeft,a=s;n&&"hidden"!==n.visibility&&(n[o]({x:C(s+r.x,s)}),a+=r.x+n.getBBox().width+5),this.buttonOptions.forEach((function(e,n){"hidden"!==t[n].visibility?(t[n][o]({x:a}),a+=t[n].width+i.buttonSpacing):t[n][o]({x:s})}))},e.prototype.handleCollision=function(t){var e=this,i=this.chart,n=this.buttonGroup,o=this.inputGroup,r=this.options,s=r.buttonPosition,a=r.dropdown,l=r.inputPosition;r=function(){var t=0;return e.buttons.forEach((function(e){(e=e.getBBox()).width>t&&(t=e.width)})),t};var h=function(e){if(o&&n){var i=o.alignAttr.translateX+o.alignOptions.x-t+o.getBBox().x+2,r=o.alignOptions.width,a=n.alignAttr.translateX+n.getBBox().x;return a+e>i&&i+r>a&&s.y=-t?0:-t),translateY:o.alignAttr.translateY+n.getBBox().height+10})};if(n){if("always"===a)return this.collapseButtons(t),void(h(r())&&c());"never"===a&&this.expandButtons()}o&&n?l.align===s.align||h(this.initialButtonGroupWidth+20)?"responsive"===a?(this.collapseButtons(t),h(r())&&c()):c():"responsive"===a&&this.expandButtons():n&&"responsive"===a&&(this.initialButtonGroupWidth>i.plotWidth?this.collapseButtons(t):this.expandButtons())},e.prototype.collapseButtons=function(t){var e=this.buttons,i=this.buttonOptions,n=this.chart,o=this.dropdown,r=this.options,s=this.zoomText,a=n.userOptions.rangeSelector&&n.userOptions.rangeSelector.buttonTheme||{},l=function(t){return{text:t?t+" ▾":"▾",width:"auto",paddingLeft:C(r.buttonTheme.paddingLeft,a.padding,8),paddingRight:C(r.buttonTheme.paddingRight,a.padding,8)}};s&&s.hide();var h=!1;i.forEach((function(t,i){2!==(i=e[i]).state?i.hide():(i.show(),i.attr(l(t.text)),h=!0)})),h||(o&&(o.selectedIndex=0),e[0].show(),e[0].attr(l(this.zoomText&&this.zoomText.textStr))),i=r.buttonPosition.align,this.positionButtons(),"right"!==i&&"center"!==i||this.alignButtonGroup(t,e[this.currentButtonIndex()].getBBox().width),this.showDropdown()},e.prototype.expandButtons=function(){var t=this.buttons,e=this.buttonOptions,i=this.options,n=this.zoomText;this.hideDropdown(),n&&n.show(),e.forEach((function(e,n){(n=t[n]).show(),n.attr({text:e.text,width:i.buttonTheme.width||28,paddingLeft:C(i.buttonTheme.paddingLeft,"unset"),paddingRight:C(i.buttonTheme.paddingRight,"unset")}),2>n.state&&n.setState(0)})),this.positionButtons()},e.prototype.currentButtonIndex=function(){var t=this.dropdown;return t&&0o&&0>n||0h+r.width)&&(g?e=n=C(e,h,h+r.width):s=!0),s||p.push(["M",e,i],["L",n,o])})):m.forEach((function(t){var s;e=t.pos,n=e+t.len,i=o=Math.round(c+r.height-v),"pass"!==g&&(ic+r.height)&&(g?i=o=C(i,c,c+r.height):s=!0),s||p.push(["M",e,i],["L",n,o])}))),t.path=0x&&u=i&&(v=-(p.translateX+s.width-i)),p.attr({x:o+v,y:c,anchorX:a?o:this.opposite?0:n.chartWidth,anchorY:a?this.opposite?n.chartHeight:0:c+s.height/2})}})),a.prototype.init=function(){v.apply(this,arguments),this.initCompare(this.options.compare)},a.prototype.setCompare=function(t){this.initCompare(t),this.userOptions.compare=t},a.prototype.initCompare=function(t){this.modifyValue="value"===t||"percent"===t?function(e,i){var n=this.compareValue;return void 0!==e&&void 0!==n?(e="value"===t?e-n:e/n*100-(100===this.options.compareBase?0:100),i&&(i.change=e),e):0}:null,this.chart.hasRendered&&(this.isDirty=!0)},a.prototype.processData=function(t){var e,i=-1,n=!0===this.options.compareStart?0:1;if(y.apply(this,arguments),this.xAxis&&this.processedYData){var o=this.processedXData,r=this.processedYData,s=r.length;for(this.pointArrayMap&&(i=this.pointArrayMap.indexOf(this.options.pointValKey||this.pointValKey||"y")),e=0;e=this.xAxis.min&&0!==a){this.compareValue=a;break}}}},t(a,"afterGetExtremes",(function(t){if(t=t.dataExtremes,this.modifyValue&&t){var e=[this.modifyValue(t.dataMin),this.modifyValue(t.dataMax)];t.dataMin=b(e),t.dataMax=x(e)}})),e.prototype.setCompare=function(t,e){this.isXAxis||(this.series.forEach((function(e){e.setCompare(t)})),P(e,!0)&&this.chart.redraw())},s.prototype.tooltipFormatter=function(t){var e=this.series.chart.numberFormatter;return t=t.replace("{point.change}",(0{var e=function(t){"use strict";var e,i=Object.prototype,n=i.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},r=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",a=o.toStringTag||"@@toStringTag";function l(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,i){return t[e]=i}}function h(t,e,i,n){var o=e&&e.prototype instanceof m?e:m,r=Object.create(o.prototype),s=new P(n||[]);return r._invoke=function(t,e,i){var n=p;return function(o,r){if(n===u)throw new Error("Generator is already running");if(n===f){if("throw"===o)throw r;return E()}for(i.method=o,i.arg=r;;){var s=i.delegate;if(s){var a=M(s,i);if(a){if(a===g)continue;return a}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(n===p)throw n=f,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);n=u;var l=c(t,e,i);if("normal"===l.type){if(n=i.done?f:d,l.arg===g)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(n=f,i.method="throw",i.arg=l.arg)}}}(t,i,s),r}function c(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(t){return{type:"throw",arg:t}}}t.wrap=h;var p="suspendedStart",d="suspendedYield",u="executing",f="completed",g={};function m(){}function v(){}function y(){}var x={};l(x,r,(function(){return this}));var b=Object.getPrototypeOf,C=b&&b(b(O([])));C&&C!==i&&n.call(C,r)&&(x=C);var S=y.prototype=m.prototype=Object.create(x);function w(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function i(o,r,s,a){var l=c(t[o],t,r);if("throw"!==l.type){var h=l.arg,p=h.value;return p&&"object"==typeof p&&n.call(p,"__await")?e.resolve(p.__await).then((function(t){i("next",t,s,a)}),(function(t){i("throw",t,s,a)})):e.resolve(p).then((function(t){h.value=t,s(h)}),(function(t){return i("throw",t,s,a)}))}a(l.arg)}var o;this._invoke=function(t,n){function r(){return new e((function(e,o){i(t,n,e,o)}))}return o=o?o.then(r,r):r()}}function M(t,i){var n=t.iterator[i.method];if(n===e){if(i.delegate=null,"throw"===i.method){if(t.iterator.return&&(i.method="return",i.arg=e,M(t,i),"throw"===i.method))return g;i.method="throw",i.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var o=c(n,t.iterator,i.arg);if("throw"===o.type)return i.method="throw",i.arg=o.arg,i.delegate=null,g;var r=o.arg;return r?r.done?(i[t.resultName]=r.value,i.next=t.nextLoc,"return"!==i.method&&(i.method="next",i.arg=e),i.delegate=null,g):r:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,g)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function O(t){if(t){var i=t[r];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,s=function i(){for(;++o=0;--r){var s=this.tryEntries[r],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc<=this.prev){var l=n.call(s,"catchLoc"),h=n.call(s,"finallyLoc");if(l&&h){if(this.prev=0;--i){var o=this.tryEntries[i];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),T(i),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var o=n.arg;T(i)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,i,n){return this.delegate={iterator:O(t),resultName:i,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},3379:(t,e,i)=>{"use strict";var n,o=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},r=function(){var t={};return function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}t[e]=i}return t[e]}}(),s=[];function a(t){for(var e=-1,i=0;i{"use strict";e.Z=(t,e)=>{const i=t.__vccOpts||t;for(const[t,n]of e)i[t]=n;return i}},5166:(t,e,i)=>{"use strict";i.r(e),i.d(e,{BaseTransition:()=>pn,Comment:()=>Ho,EffectScope:()=>at,Fragment:()=>Wo,KeepAlive:()=>wn,ReactiveEffect:()=>Ct,Static:()=>Vo,Suspense:()=>Xi,Teleport:()=>Do,Text:()=>Fo,Transition:()=>Xs,TransitionGroup:()=>ha,VueElement:()=>Rs,callWithAsyncErrorHandling:()=>ei,callWithErrorHandling:()=>ti,camelize:()=>Z,capitalize:()=>Q,cloneVNode:()=>pr,compatUtils:()=>vs,compile:()=>Op,computed:()=>qr,createApp:()=>Ga,createBlock:()=>tr,createCommentVNode:()=>fr,createElementBlock:()=>Qo,createElementVNode:()=>ar,createHydrationRenderer:()=>Mo,createPropsRestProxy:()=>ss,createRenderer:()=>ko,createSSRApp:()=>Wa,createSlots:()=>Cr,createStaticVNode:()=>ur,createTextVNode:()=>dr,createVNode:()=>lr,customRef:()=>Xe,defineAsyncComponent:()=>bn,defineComponent:()=>yn,defineCustomElement:()=>js,defineEmits:()=>Qr,defineExpose:()=>ts,defineProps:()=>Jr,defineSSRCustomElement:()=>Ns,devtools:()=>Mi,effect:()=>wt,effectScope:()=>lt,getCurrentInstance:()=>Dr,getCurrentScope:()=>ct,getTransitionRawChildren:()=>vn,guardReactiveProps:()=>cr,h:()=>ls,handleError:()=>ii,hydrate:()=>za,initCustomFormatter:()=>ps,initDirectivesForSSR:()=>Va,inject:()=>Ji,isMemoSame:()=>us,isProxy:()=>Pe,isReactive:()=>Me,isReadonly:()=>Ae,isRef:()=>je,isRuntimeOnly:()=>Hr,isShallow:()=>Te,isVNode:()=>er,markRaw:()=>Ee,mergeDefaults:()=>rs,mergeProps:()=>yr,nextTick:()=>mi,normalizeClass:()=>u,normalizeProps:()=>f,normalizeStyle:()=>h,onActivated:()=>Mn,onBeforeMount:()=>Dn,onBeforeUnmount:()=>In,onBeforeUpdate:()=>jn,onDeactivated:()=>An,onErrorCaptured:()=>Fn,onMounted:()=>Bn,onRenderTracked:()=>Wn,onRenderTriggered:()=>Gn,onScopeDispose:()=>pt,onServerPrefetch:()=>zn,onUnmounted:()=>Rn,onUpdated:()=>Nn,openBlock:()=>Yo,popScopeId:()=>Ni,provide:()=>qi,proxyRefs:()=>He,pushScopeId:()=>ji,queuePostFlushCb:()=>bi,reactive:()=>be,readonly:()=>Se,ref:()=>Ne,registerRuntimeCompiler:()=>Fr,render:()=>Ra,renderList:()=>br,renderSlot:()=>Sr,resolveComponent:()=>jo,resolveDirective:()=>Ro,resolveDynamicComponent:()=>Io,resolveFilter:()=>ms,resolveTransitionHooks:()=>un,setBlockTracking:()=>qo,setDevtoolsHook:()=>Pi,setTransitionHooks:()=>mn,shallowReactive:()=>Ce,shallowReadonly:()=>we,shallowRef:()=>Ie,ssrContextKey:()=>hs,ssrUtils:()=>gs,stop:()=>kt,toDisplayString:()=>b,toHandlerKey:()=>tt,toHandlers:()=>kr,toRaw:()=>Oe,toRef:()=>$e,toRefs:()=>Ue,transformVNodeArgs:()=>nr,triggerRef:()=>Ge,unref:()=>We,useAttrs:()=>ns,useCssModule:()=>zs,useCssVars:()=>Gs,useSSRContext:()=>cs,useSlots:()=>is,useTransitionState:()=>hn,vModelCheckbox:()=>va,vModelDynamic:()=>ka,vModelRadio:()=>xa,vModelSelect:()=>ba,vModelText:()=>ma,vShow:()=>_a,version:()=>fs,warn:()=>qe,watch:()=>on,watchEffect:()=>Qi,watchPostEffect:()=>tn,watchSyncEffect:()=>en,withAsyncContext:()=>as,withCtx:()=>Ri,withDefaults:()=>es,withDirectives:()=>uo,withKeys:()=>Ea,withMemo:()=>ds,withModifiers:()=>Pa,withScopeId:()=>Ii});var n={};function o(t,e){const i=Object.create(null),n=t.split(",");for(let t=0;t!!i[t.toLowerCase()]:t=>!!i[t]}i.r(n),i.d(n,{BaseTransition:()=>pn,Comment:()=>Ho,EffectScope:()=>at,Fragment:()=>Wo,KeepAlive:()=>wn,ReactiveEffect:()=>Ct,Static:()=>Vo,Suspense:()=>Xi,Teleport:()=>Do,Text:()=>Fo,Transition:()=>Xs,TransitionGroup:()=>ha,VueElement:()=>Rs,callWithAsyncErrorHandling:()=>ei,callWithErrorHandling:()=>ti,camelize:()=>Z,capitalize:()=>Q,cloneVNode:()=>pr,compatUtils:()=>vs,computed:()=>qr,createApp:()=>Ga,createBlock:()=>tr,createCommentVNode:()=>fr,createElementBlock:()=>Qo,createElementVNode:()=>ar,createHydrationRenderer:()=>Mo,createPropsRestProxy:()=>ss,createRenderer:()=>ko,createSSRApp:()=>Wa,createSlots:()=>Cr,createStaticVNode:()=>ur,createTextVNode:()=>dr,createVNode:()=>lr,customRef:()=>Xe,defineAsyncComponent:()=>bn,defineComponent:()=>yn,defineCustomElement:()=>js,defineEmits:()=>Qr,defineExpose:()=>ts,defineProps:()=>Jr,defineSSRCustomElement:()=>Ns,devtools:()=>Mi,effect:()=>wt,effectScope:()=>lt,getCurrentInstance:()=>Dr,getCurrentScope:()=>ct,getTransitionRawChildren:()=>vn,guardReactiveProps:()=>cr,h:()=>ls,handleError:()=>ii,hydrate:()=>za,initCustomFormatter:()=>ps,initDirectivesForSSR:()=>Va,inject:()=>Ji,isMemoSame:()=>us,isProxy:()=>Pe,isReactive:()=>Me,isReadonly:()=>Ae,isRef:()=>je,isRuntimeOnly:()=>Hr,isShallow:()=>Te,isVNode:()=>er,markRaw:()=>Ee,mergeDefaults:()=>rs,mergeProps:()=>yr,nextTick:()=>mi,normalizeClass:()=>u,normalizeProps:()=>f,normalizeStyle:()=>h,onActivated:()=>Mn,onBeforeMount:()=>Dn,onBeforeUnmount:()=>In,onBeforeUpdate:()=>jn,onDeactivated:()=>An,onErrorCaptured:()=>Fn,onMounted:()=>Bn,onRenderTracked:()=>Wn,onRenderTriggered:()=>Gn,onScopeDispose:()=>pt,onServerPrefetch:()=>zn,onUnmounted:()=>Rn,onUpdated:()=>Nn,openBlock:()=>Yo,popScopeId:()=>Ni,provide:()=>qi,proxyRefs:()=>He,pushScopeId:()=>ji,queuePostFlushCb:()=>bi,reactive:()=>be,readonly:()=>Se,ref:()=>Ne,registerRuntimeCompiler:()=>Fr,render:()=>Ra,renderList:()=>br,renderSlot:()=>Sr,resolveComponent:()=>jo,resolveDirective:()=>Ro,resolveDynamicComponent:()=>Io,resolveFilter:()=>ms,resolveTransitionHooks:()=>un,setBlockTracking:()=>qo,setDevtoolsHook:()=>Pi,setTransitionHooks:()=>mn,shallowReactive:()=>Ce,shallowReadonly:()=>we,shallowRef:()=>Ie,ssrContextKey:()=>hs,ssrUtils:()=>gs,stop:()=>kt,toDisplayString:()=>b,toHandlerKey:()=>tt,toHandlers:()=>kr,toRaw:()=>Oe,toRef:()=>$e,toRefs:()=>Ue,transformVNodeArgs:()=>nr,triggerRef:()=>Ge,unref:()=>We,useAttrs:()=>ns,useCssModule:()=>zs,useCssVars:()=>Gs,useSSRContext:()=>cs,useSlots:()=>is,useTransitionState:()=>hn,vModelCheckbox:()=>va,vModelDynamic:()=>ka,vModelRadio:()=>xa,vModelSelect:()=>ba,vModelText:()=>ma,vShow:()=>_a,version:()=>fs,warn:()=>qe,watch:()=>on,watchEffect:()=>Qi,watchPostEffect:()=>tn,watchSyncEffect:()=>en,withAsyncContext:()=>as,withCtx:()=>Ri,withDefaults:()=>es,withDirectives:()=>uo,withKeys:()=>Ea,withMemo:()=>ds,withModifiers:()=>Pa,withScopeId:()=>Ii});const r=o("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");const s="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",a=o(s);function l(t){return!!t||""===t}function h(t){if(D(t)){const e={};for(let i=0;i{if(t){const i=t.split(p);i.length>1&&(e[i[0].trim()]=i[1].trim())}})),e}function u(t){let e="";if(R(t))e=t;else if(D(t))for(let i=0;iy(t,e)))}const b=t=>R(t)?t:null==t?"":D(t)||G(t)&&(t.toString===F||!I(t.toString))?JSON.stringify(t,C,2):String(t),C=(t,e)=>e&&e.__v_isRef?C(t,e.value):B(e)?{[`Map(${e.size})`]:[...e.entries()].reduce(((t,[e,i])=>(t[`${e} =>`]=i,t)),{})}:j(e)?{[`Set(${e.size})`]:[...e.values()]}:!G(e)||D(e)||V(e)?e:String(e),S={},w=[],k=()=>{},M=()=>!1,A=/^on[^a-z]/,T=t=>A.test(t),P=t=>t.startsWith("onUpdate:"),O=Object.assign,E=(t,e)=>{const i=t.indexOf(e);i>-1&&t.splice(i,1)},_=Object.prototype.hasOwnProperty,L=(t,e)=>_.call(t,e),D=Array.isArray,B=t=>"[object Map]"===H(t),j=t=>"[object Set]"===H(t),N=t=>t instanceof Date,I=t=>"function"==typeof t,R=t=>"string"==typeof t,z=t=>"symbol"==typeof t,G=t=>null!==t&&"object"==typeof t,W=t=>G(t)&&I(t.then)&&I(t.catch),F=Object.prototype.toString,H=t=>F.call(t),V=t=>"[object Object]"===H(t),X=t=>R(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,U=o(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Y=o("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),$=t=>{const e=Object.create(null);return i=>e[i]||(e[i]=t(i))},K=/-(\w)/g,Z=$((t=>t.replace(K,((t,e)=>e?e.toUpperCase():"")))),q=/\B([A-Z])/g,J=$((t=>t.replace(q,"-$1").toLowerCase())),Q=$((t=>t.charAt(0).toUpperCase()+t.slice(1))),tt=$((t=>t?`on${Q(t)}`:"")),et=(t,e)=>!Object.is(t,e),it=(t,e)=>{for(let i=0;i{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:i})},ot=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let rt;let st;class at{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&st&&(this.parent=st,this.index=(st.scopes||(st.scopes=[])).push(this)-1)}run(t){if(this.active)try{return st=this,t()}finally{st=this.parent}else 0}on(){st=this}off(){st=this.parent}stop(t){if(this.active){let e,i;for(e=0,i=this.effects.length;e{const e=new Set(t);return e.w=0,e.n=0,e},ut=t=>(t.w&vt)>0,ft=t=>(t.n&vt)>0,gt=new WeakMap;let mt=0,vt=1;let yt;const xt=Symbol(""),bt=Symbol("");class Ct{constructor(t,e=null,i){this.fn=t,this.scheduler=e,this.active=!0,this.deps=[],this.parent=void 0,ht(this,i)}run(){if(!this.active)return this.fn();let t=yt,e=Mt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=yt,yt=this,Mt=!0,vt=1<<++mt,mt<=30?(({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let i=0;for(let n=0;n{("length"===e||e>=n)&&a.push(t)}));else switch(void 0!==i&&a.push(s.get(i)),e){case"add":D(t)?X(i)&&a.push(s.get("length")):(a.push(s.get(xt)),B(t)&&a.push(s.get(bt)));break;case"delete":D(t)||(a.push(s.get(xt)),B(t)&&a.push(s.get(bt)));break;case"set":B(t)&&a.push(s.get(xt))}if(1===a.length)a[0]&&Lt(a[0]);else{const t=[];for(const e of a)e&&t.push(...e);Lt(dt(t))}}function Lt(t,e){for(const e of D(t)?t:[...t])(e!==yt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Dt=o("__proto__,__v_isRef,__isVue"),Bt=new Set(Object.getOwnPropertyNames(Symbol).map((t=>Symbol[t])).filter(z)),jt=Wt(),Nt=Wt(!1,!0),It=Wt(!0),Rt=Wt(!0,!0),zt=Gt();function Gt(){const t={};return["includes","indexOf","lastIndexOf"].forEach((e=>{t[e]=function(...t){const i=Oe(this);for(let t=0,e=this.length;t{t[e]=function(...t){Tt();const i=Oe(this)[e].apply(this,t);return Pt(),i}})),t}function Wt(t=!1,e=!1){return function(i,n,o){if("__v_isReactive"===n)return!t;if("__v_isReadonly"===n)return t;if("__v_isShallow"===n)return e;if("__v_raw"===n&&o===(t?e?ye:ve:e?me:ge).get(i))return i;const r=D(i);if(!t&&r&&L(zt,n))return Reflect.get(zt,n,o);const s=Reflect.get(i,n,o);if(z(n)?Bt.has(n):Dt(n))return s;if(t||Ot(i,0,n),e)return s;if(je(s)){return!r||!X(n)?s.value:s}return G(s)?t?Se(s):be(s):s}}function Ft(t=!1){return function(e,i,n,o){let r=e[i];if(Ae(r)&&je(r)&&!je(n))return!1;if(!t&&!Ae(n)&&(Te(n)||(n=Oe(n),r=Oe(r)),!D(e)&&je(r)&&!je(n)))return r.value=n,!0;const s=D(e)&&X(i)?Number(i)!0,deleteProperty:(t,e)=>!0},Xt=O({},Ht,{get:Nt,set:Ft(!0)}),Ut=O({},Vt,{get:Rt}),Yt=t=>t,$t=t=>Reflect.getPrototypeOf(t);function Kt(t,e,i=!1,n=!1){const o=Oe(t=t.__v_raw),r=Oe(e);e!==r&&!i&&Ot(o,0,e),!i&&Ot(o,0,r);const{has:s}=$t(o),a=n?Yt:i?Le:_e;return s.call(o,e)?a(t.get(e)):s.call(o,r)?a(t.get(r)):void(t!==o&&t.get(e))}function Zt(t,e=!1){const i=this.__v_raw,n=Oe(i),o=Oe(t);return t!==o&&!e&&Ot(n,0,t),!e&&Ot(n,0,o),t===o?i.has(t):i.has(t)||i.has(o)}function qt(t,e=!1){return t=t.__v_raw,!e&&Ot(Oe(t),0,xt),Reflect.get(t,"size",t)}function Jt(t){t=Oe(t);const e=Oe(this);return $t(e).has.call(e,t)||(e.add(t),_t(e,"add",t,t)),this}function Qt(t,e){e=Oe(e);const i=Oe(this),{has:n,get:o}=$t(i);let r=n.call(i,t);r||(t=Oe(t),r=n.call(i,t));const s=o.call(i,t);return i.set(t,e),r?et(e,s)&&_t(i,"set",t,e):_t(i,"add",t,e),this}function te(t){const e=Oe(this),{has:i,get:n}=$t(e);let o=i.call(e,t);o||(t=Oe(t),o=i.call(e,t));n&&n.call(e,t);const r=e.delete(t);return o&&_t(e,"delete",t,void 0),r}function ee(){const t=Oe(this),e=0!==t.size,i=t.clear();return e&&_t(t,"clear",void 0,void 0),i}function ie(t,e){return function(i,n){const o=this,r=o.__v_raw,s=Oe(r),a=e?Yt:t?Le:_e;return!t&&Ot(s,0,xt),r.forEach(((t,e)=>i.call(n,a(t),a(e),o)))}}function ne(t,e,i){return function(...n){const o=this.__v_raw,r=Oe(o),s=B(r),a="entries"===t||t===Symbol.iterator&&s,l="keys"===t&&s,h=o[t](...n),c=i?Yt:e?Le:_e;return!e&&Ot(r,0,l?bt:xt),{next(){const{value:t,done:e}=h.next();return e?{value:t,done:e}:{value:a?[c(t[0]),c(t[1])]:c(t),done:e}},[Symbol.iterator](){return this}}}}function oe(t){return function(...e){return"delete"!==t&&this}}function re(){const t={get(t){return Kt(this,t)},get size(){return qt(this)},has:Zt,add:Jt,set:Qt,delete:te,clear:ee,forEach:ie(!1,!1)},e={get(t){return Kt(this,t,!1,!0)},get size(){return qt(this)},has:Zt,add:Jt,set:Qt,delete:te,clear:ee,forEach:ie(!1,!0)},i={get(t){return Kt(this,t,!0)},get size(){return qt(this,!0)},has(t){return Zt.call(this,t,!0)},add:oe("add"),set:oe("set"),delete:oe("delete"),clear:oe("clear"),forEach:ie(!0,!1)},n={get(t){return Kt(this,t,!0,!0)},get size(){return qt(this,!0)},has(t){return Zt.call(this,t,!0)},add:oe("add"),set:oe("set"),delete:oe("delete"),clear:oe("clear"),forEach:ie(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((o=>{t[o]=ne(o,!1,!1),i[o]=ne(o,!0,!1),e[o]=ne(o,!1,!0),n[o]=ne(o,!0,!0)})),[t,i,e,n]}const[se,ae,le,he]=re();function ce(t,e){const i=e?t?he:le:t?ae:se;return(e,n,o)=>"__v_isReactive"===n?!t:"__v_isReadonly"===n?t:"__v_raw"===n?e:Reflect.get(L(i,n)&&n in e?i:e,n,o)}const pe={get:ce(!1,!1)},de={get:ce(!1,!0)},ue={get:ce(!0,!1)},fe={get:ce(!0,!0)};const ge=new WeakMap,me=new WeakMap,ve=new WeakMap,ye=new WeakMap;function xe(t){return t.__v_skip||!Object.isExtensible(t)?0:function(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((t=>H(t).slice(8,-1))(t))}function be(t){return Ae(t)?t:ke(t,!1,Ht,pe,ge)}function Ce(t){return ke(t,!1,Xt,de,me)}function Se(t){return ke(t,!0,Vt,ue,ve)}function we(t){return ke(t,!0,Ut,fe,ye)}function ke(t,e,i,n,o){if(!G(t))return t;if(t.__v_raw&&(!e||!t.__v_isReactive))return t;const r=o.get(t);if(r)return r;const s=xe(t);if(0===s)return t;const a=new Proxy(t,2===s?n:i);return o.set(t,a),a}function Me(t){return Ae(t)?Me(t.__v_raw):!(!t||!t.__v_isReactive)}function Ae(t){return!(!t||!t.__v_isReadonly)}function Te(t){return!(!t||!t.__v_isShallow)}function Pe(t){return Me(t)||Ae(t)}function Oe(t){const e=t&&t.__v_raw;return e?Oe(e):t}function Ee(t){return nt(t,"__v_skip",!0),t}const _e=t=>G(t)?be(t):t,Le=t=>G(t)?Se(t):t;function De(t){Mt&&yt&&Et((t=Oe(t)).dep||(t.dep=dt()))}function Be(t,e){(t=Oe(t)).dep&&Lt(t.dep)}function je(t){return!(!t||!0!==t.__v_isRef)}function Ne(t){return Re(t,!1)}function Ie(t){return Re(t,!0)}function Re(t,e){return je(t)?t:new ze(t,e)}class ze{constructor(t,e){this.__v_isShallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?t:Oe(t),this._value=e?t:_e(t)}get value(){return De(this),this._value}set value(t){t=this.__v_isShallow?t:Oe(t),et(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:_e(t),Be(this))}}function Ge(t){Be(t)}function We(t){return je(t)?t.value:t}const Fe={get:(t,e,i)=>We(Reflect.get(t,e,i)),set:(t,e,i,n)=>{const o=t[e];return je(o)&&!je(i)?(o.value=i,!0):Reflect.set(t,e,i,n)}};function He(t){return Me(t)?t:new Proxy(t,Fe)}class Ve{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:e,set:i}=t((()=>De(this)),(()=>Be(this)));this._get=e,this._set=i}get value(){return this._get()}set value(t){this._set(t)}}function Xe(t){return new Ve(t)}function Ue(t){const e=D(t)?new Array(t.length):{};for(const i in t)e[i]=$e(t,i);return e}class Ye{constructor(t,e,i){this._object=t,this._key=e,this._defaultValue=i,this.__v_isRef=!0}get value(){const t=this._object[this._key];return void 0===t?this._defaultValue:t}set value(t){this._object[this._key]=t}}function $e(t,e,i){const n=t[e];return je(n)?n:new Ye(t,e,i)}class Ke{constructor(t,e,i,n){this._setter=e,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Ct(t,(()=>{this._dirty||(this._dirty=!0,Be(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!n,this.__v_isReadonly=i}get value(){const t=Oe(this);return De(t),!t._dirty&&t._cacheable||(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Promise.resolve();const Ze=[];function qe(t,...e){Tt();const i=Ze.length?Ze[Ze.length-1].component:null,n=i&&i.appContext.config.warnHandler,o=function(){let t=Ze[Ze.length-1];if(!t)return[];const e=[];for(;t;){const i=e[0];i&&i.vnode===t?i.recurseCount++:e.push({vnode:t,recurseCount:0});const n=t.component&&t.component.parent;t=n&&n.vnode}return e}();if(n)ti(n,i,11,[t+e.join(""),i&&i.proxy,o.map((({vnode:t})=>`at <${Kr(i,t.type)}>`)).join("\n"),o]);else{const i=[`[Vue warn]: ${t}`,...e];o.length&&i.push("\n",...function(t){const e=[];return t.forEach(((t,i)=>{e.push(...0===i?[]:["\n"],...function({vnode:t,recurseCount:e}){const i=e>0?`... (${e} recursive calls)`:"",n=!!t.component&&null==t.component.parent,o=` at <${Kr(t.component,t.type,n)}`,r=">"+i;return t.props?[o,...Je(t.props),r]:[o+r]}(t))})),e}(o)),console.warn(...i)}Pt()}function Je(t){const e=[],i=Object.keys(t);return i.slice(0,3).forEach((i=>{e.push(...Qe(i,t[i]))})),i.length>3&&e.push(" ..."),e}function Qe(t,e,i){return R(e)?(e=JSON.stringify(e),i?e:[`${t}=${e}`]):"number"==typeof e||"boolean"==typeof e||null==e?i?e:[`${t}=${e}`]:je(e)?(e=Qe(t,Oe(e.value),!0),i?e:[`${t}=Ref<`,e,">"]):I(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=Oe(e),i?e:[`${t}=`,e])}function ti(t,e,i,n){let o;try{o=n?t(...n):t()}catch(t){ii(t,e,i)}return o}function ei(t,e,i,n){if(I(t)){const o=ti(t,e,i,n);return o&&W(o)&&o.catch((t=>{ii(t,e,i)})),o}const o=[];for(let r=0;r>>1;wi(ri[n])wi(t)-wi(e))),di=0;dinull==t.id?1/0:t.id;function ki(t){oi=!1,ni=!0,Ci(t),ri.sort(((t,e)=>wi(t)-wi(e)));try{for(si=0;siMi.emit(t,...e))),Ai=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null===(n=null===(i=window.navigator)||void 0===i?void 0:i.userAgent)||void 0===n?void 0:n.includes("jsdom"))){(e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((t=>{Pi(t,e)})),setTimeout((()=>{Mi||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Ti=!0,Ai=[])}),3e3)}else Ti=!0,Ai=[]}function Oi(t,e,...i){const n=t.vnode.props||S;let o=i;const r=e.startsWith("update:"),s=r&&e.slice(7);if(s&&s in n){const t=`${"modelValue"===s?"model":s}Modifiers`,{number:e,trim:r}=n[t]||S;r?o=i.map((t=>t.trim())):e&&(o=i.map(ot))}let a;let l=n[a=tt(e)]||n[a=tt(Z(e))];!l&&r&&(l=n[a=tt(J(e))]),l&&ei(l,t,6,o);const h=n[a+"Once"];if(h){if(t.emitted){if(t.emitted[a])return}else t.emitted={};t.emitted[a]=!0,ei(h,t,6,o)}}function Ei(t,e,i=!1){const n=e.emitsCache,o=n.get(t);if(void 0!==o)return o;const r=t.emits;let s={},a=!1;if(!I(t)){const n=t=>{const i=Ei(t,e,!0);i&&(a=!0,O(s,i))};!i&&e.mixins.length&&e.mixins.forEach(n),t.extends&&n(t.extends),t.mixins&&t.mixins.forEach(n)}return r||a?(D(r)?r.forEach((t=>s[t]=null)):O(s,r),n.set(t,s),s):(n.set(t,null),null)}function _i(t,e){return!(!t||!T(e))&&(e=e.slice(2).replace(/Once$/,""),L(t,e[0].toLowerCase()+e.slice(1))||L(t,J(e))||L(t,e))}let Li=null,Di=null;function Bi(t){const e=Li;return Li=t,Di=t&&t.type.__scopeId||null,e}function ji(t){Di=t}function Ni(){Di=null}const Ii=t=>Ri;function Ri(t,e=Li,i){if(!e)return t;if(t._n)return t;const n=(...i)=>{n._d&&qo(-1);const o=Bi(e),r=t(...i);return Bi(o),n._d&&qo(1),r};return n._n=!0,n._c=!0,n._d=!0,n}function zi(t){const{type:e,vnode:i,proxy:n,withProxy:o,props:r,propsOptions:[s],slots:a,attrs:l,emit:h,render:c,renderCache:p,data:d,setupState:u,ctx:f,inheritAttrs:g}=t;let m,v;const y=Bi(t);try{if(4&i.shapeFlag){const t=o||n;m=gr(c.call(t,t,p,r,u,d,f)),v=l}else{const t=e;0,m=gr(t.length>1?t(r,{attrs:l,slots:a,emit:h}):t(r,null)),v=e.props?l:Wi(l)}}catch(e){Xo.length=0,ii(e,t,1),m=lr(Ho)}let x=m;if(v&&!1!==g){const t=Object.keys(v),{shapeFlag:e}=x;t.length&&7&e&&(s&&t.some(P)&&(v=Fi(v,s)),x=pr(x,v))}return i.dirs&&(x.dirs=x.dirs?x.dirs.concat(i.dirs):i.dirs),i.transition&&(x.transition=i.transition),m=x,Bi(y),m}function Gi(t){let e;for(let i=0;i{let e;for(const i in t)("class"===i||"style"===i||T(i))&&((e||(e={}))[i]=t[i]);return e},Fi=(t,e)=>{const i={};for(const n in t)P(n)&&n.slice(9)in e||(i[n]=t[n]);return i};function Hi(t,e,i){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(let o=0;o0?(Ui(t,"onPending"),Ui(t,"onFallback"),h(null,t.ssFallback,e,i,n,null,r,s),Zi(d,t.ssFallback)):d.resolve()}(e,i,n,o,r,s,a,l,h):function(t,e,i,n,o,r,s,a,{p:l,um:h,o:{createElement:c}}){const p=e.suspense=t.suspense;p.vnode=e,e.el=t.el;const d=e.ssContent,u=e.ssFallback,{activeBranch:f,pendingBranch:g,isInFallback:m,isHydrating:v}=p;if(g)p.pendingBranch=d,ir(d,g)?(l(g,d,p.hiddenContainer,null,o,p,r,s,a),p.deps<=0?p.resolve():m&&(l(f,u,i,n,o,null,r,s,a),Zi(p,u))):(p.pendingId++,v?(p.isHydrating=!1,p.activeBranch=g):h(g,o,p),p.deps=0,p.effects.length=0,p.hiddenContainer=c("div"),m?(l(null,d,p.hiddenContainer,null,o,p,r,s,a),p.deps<=0?p.resolve():(l(f,u,i,n,o,null,r,s,a),Zi(p,u))):f&&ir(d,f)?(l(f,d,i,n,o,p,r,s,a),p.resolve(!0)):(l(null,d,p.hiddenContainer,null,o,p,r,s,a),p.deps<=0&&p.resolve()));else if(f&&ir(d,f))l(f,d,i,n,o,p,r,s,a),Zi(p,d);else if(Ui(e,"onPending"),p.pendingBranch=d,p.pendingId++,l(null,d,p.hiddenContainer,null,o,p,r,s,a),p.deps<=0)p.resolve();else{const{timeout:t,pendingId:e}=p;t>0?setTimeout((()=>{p.pendingId===e&&p.fallback(u)}),t):0===t&&p.fallback(u)}}(t,e,i,n,o,s,a,l,h)},hydrate:function(t,e,i,n,o,r,s,a,l){const h=e.suspense=Yi(e,n,i,t.parentNode,document.createElement("div"),null,o,r,s,a,!0),c=l(t,h.pendingBranch=e.ssContent,i,h,r,s);0===h.deps&&h.resolve();return c},create:Yi,normalize:function(t){const{shapeFlag:e,children:i}=t,n=32&e;t.ssContent=$i(n?i.default:i),t.ssFallback=n?$i(i.fallback):lr(Ho)}};function Ui(t,e){const i=t.props&&t.props[e];I(i)&&i()}function Yi(t,e,i,n,o,r,s,a,l,h,c=!1){const{p,m:d,um:u,n:f,o:{parentNode:g,remove:m}}=h,v=ot(t.props&&t.props.timeout),y={vnode:t,parent:e,parentComponent:i,isSVG:s,container:n,hiddenContainer:o,anchor:r,deps:0,pendingId:0,timeout:"number"==typeof v?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:c,isUnmounted:!1,effects:[],resolve(t=!1){const{vnode:e,activeBranch:i,pendingBranch:n,pendingId:o,effects:r,parentComponent:s,container:a}=y;if(y.isHydrating)y.isHydrating=!1;else if(!t){const t=i&&n.transition&&"out-in"===n.transition.mode;t&&(i.transition.afterLeave=()=>{o===y.pendingId&&d(n,a,e,0)});let{anchor:e}=y;i&&(e=f(i),u(i,s,y,!0)),t||d(n,a,e,0)}Zi(y,n),y.pendingBranch=null,y.isInFallback=!1;let l=y.parent,h=!1;for(;l;){if(l.pendingBranch){l.effects.push(...r),h=!0;break}l=l.parent}h||bi(r),y.effects=[],Ui(e,"onResolve")},fallback(t){if(!y.pendingBranch)return;const{vnode:e,activeBranch:i,parentComponent:n,container:o,isSVG:r}=y;Ui(e,"onFallback");const s=f(i),h=()=>{y.isInFallback&&(p(null,t,o,s,n,null,r,a,l),Zi(y,t))},c=t.transition&&"out-in"===t.transition.mode;c&&(i.transition.afterLeave=h),y.isInFallback=!0,u(i,n,null,!0),c||h()},move(t,e,i){y.activeBranch&&d(y.activeBranch,t,e,i),y.container=t},next:()=>y.activeBranch&&f(y.activeBranch),registerDep(t,e){const i=!!y.pendingBranch;i&&y.deps++;const n=t.vnode.el;t.asyncDep.catch((e=>{ii(e,t,0)})).then((o=>{if(t.isUnmounted||y.isUnmounted||y.pendingId!==t.suspenseId)return;t.asyncResolved=!0;const{vnode:r}=t;Wr(t,o,!1),n&&(r.el=n);const a=!n&&t.subTree.el;e(t,r,g(n||t.subTree.el),n?null:f(t.subTree),y,s,l),a&&m(a),Vi(t,r.el),i&&0==--y.deps&&y.resolve()}))},unmount(t,e){y.isUnmounted=!0,y.activeBranch&&u(y.activeBranch,i,t,e),y.pendingBranch&&u(y.pendingBranch,i,t,e)}};return y}function $i(t){let e;if(I(t)){const i=Zo&&t._c;i&&(t._d=!1,Yo()),t=t(),i&&(t._d=!0,e=Uo,$o())}if(D(t)){const e=Gi(t);0,t=e}return t=gr(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter((e=>e!==t))),t}function Ki(t,e){e&&e.pendingBranch?D(t)?e.effects.push(...t):e.effects.push(t):bi(t)}function Zi(t,e){t.activeBranch=e;const{vnode:i,parentComponent:n}=t,o=i.el=e.el;n&&n.subTree===i&&(n.vnode.el=o,Vi(n,o))}function qi(t,e){if(Lr){let i=Lr.provides;const n=Lr.parent&&Lr.parent.provides;n===i&&(i=Lr.provides=Object.create(n)),i[t]=e}else 0}function Ji(t,e,i=!1){const n=Lr||Li;if(n){const o=null==n.parent?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides;if(o&&t in o)return o[t];if(arguments.length>1)return i&&I(e)?e.call(n.proxy):e}else 0}function Qi(t,e){return rn(t,null,e)}function tn(t,e){return rn(t,null,{flush:"post"})}function en(t,e){return rn(t,null,{flush:"sync"})}const nn={};function on(t,e,i){return rn(t,e,i)}function rn(t,e,{immediate:i,deep:n,flush:o,onTrack:r,onTrigger:s}=S){const a=Lr;let l,h,c=!1,p=!1;if(je(t)?(l=()=>t.value,c=Te(t)):Me(t)?(l=()=>t,n=!0):D(t)?(p=!0,c=t.some(Me),l=()=>t.map((t=>je(t)?t.value:Me(t)?ln(t):I(t)?ti(t,a,2):void 0))):l=I(t)?e?()=>ti(t,a,2):()=>{if(!a||!a.isUnmounted)return h&&h(),ei(t,a,3,[d])}:k,e&&n){const t=l;l=()=>ln(t())}let d=t=>{h=m.onStop=()=>{ti(t,a,4)}};if(zr)return d=k,e?i&&ei(e,a,3,[l(),p?[]:void 0,d]):l(),k;let u=p?[]:nn;const f=()=>{if(m.active)if(e){const t=m.run();(n||c||(p?t.some(((t,e)=>et(t,u[e]))):et(t,u)))&&(h&&h(),ei(e,a,3,[t,u===nn?void 0:u,d]),u=t)}else m.run()};let g;f.allowRecurse=!!e,g="sync"===o?f:"post"===o?()=>wo(f,a&&a.suspense):()=>{!a||a.isMounted?function(t){xi(t,li,ai,hi)}(f):f()};const m=new Ct(l,g);return e?i?f():u=m.run():"post"===o?wo(m.run.bind(m),a&&a.suspense):m.run(),()=>{m.stop(),a&&a.scope&&E(a.scope.effects,m)}}function sn(t,e,i){const n=this.proxy,o=R(t)?t.includes(".")?an(n,t):()=>n[t]:t.bind(n,n);let r;I(e)?r=e:(r=e.handler,i=e);const s=Lr;Br(this);const a=rn(o,r.bind(n),i);return s?Br(s):jr(),a}function an(t,e){const i=e.split(".");return()=>{let e=t;for(let t=0;t{ln(t,e)}));else if(V(t))for(const i in t)ln(t[i],e);return t}function hn(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Bn((()=>{t.isMounted=!0})),In((()=>{t.isUnmounting=!0})),t}const cn=[Function,Array],pn={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:cn,onEnter:cn,onAfterEnter:cn,onEnterCancelled:cn,onBeforeLeave:cn,onLeave:cn,onAfterLeave:cn,onLeaveCancelled:cn,onBeforeAppear:cn,onAppear:cn,onAfterAppear:cn,onAppearCancelled:cn},setup(t,{slots:e}){const i=Dr(),n=hn();let o;return()=>{const r=e.default&&vn(e.default(),!0);if(!r||!r.length)return;const s=Oe(t),{mode:a}=s;const l=r[0];if(n.isLeaving)return fn(l);const h=gn(l);if(!h)return fn(l);const c=un(h,s,n,i);mn(h,c);const p=i.subTree,d=p&&gn(p);let u=!1;const{getTransitionKey:f}=h.type;if(f){const t=f();void 0===o?o=t:t!==o&&(o=t,u=!0)}if(d&&d.type!==Ho&&(!ir(h,d)||u)){const t=un(d,s,n,i);if(mn(d,t),"out-in"===a)return n.isLeaving=!0,t.afterLeave=()=>{n.isLeaving=!1,i.update()},fn(l);"in-out"===a&&h.type!==Ho&&(t.delayLeave=(t,e,i)=>{dn(n,d)[String(d.key)]=d,t._leaveCb=()=>{e(),t._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=i})}return l}}};function dn(t,e){const{leavingVNodes:i}=t;let n=i.get(e.type);return n||(n=Object.create(null),i.set(e.type,n)),n}function un(t,e,i,n){const{appear:o,mode:r,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:h,onEnterCancelled:c,onBeforeLeave:p,onLeave:d,onAfterLeave:u,onLeaveCancelled:f,onBeforeAppear:g,onAppear:m,onAfterAppear:v,onAppearCancelled:y}=e,x=String(t.key),b=dn(i,t),C=(t,e)=>{t&&ei(t,n,9,e)},S={mode:r,persisted:s,beforeEnter(e){let n=a;if(!i.isMounted){if(!o)return;n=g||a}e._leaveCb&&e._leaveCb(!0);const r=b[x];r&&ir(t,r)&&r.el._leaveCb&&r.el._leaveCb(),C(n,[e])},enter(t){let e=l,n=h,r=c;if(!i.isMounted){if(!o)return;e=m||l,n=v||h,r=y||c}let s=!1;const a=t._enterCb=e=>{s||(s=!0,C(e?r:n,[t]),S.delayedLeave&&S.delayedLeave(),t._enterCb=void 0)};e?(e(t,a),e.length<=1&&a()):a()},leave(e,n){const o=String(t.key);if(e._enterCb&&e._enterCb(!0),i.isUnmounting)return n();C(p,[e]);let r=!1;const s=e._leaveCb=i=>{r||(r=!0,n(),C(i?f:u,[e]),e._leaveCb=void 0,b[o]===t&&delete b[o])};b[o]=t,d?(d(e,s),d.length<=1&&s()):s()},clone:t=>un(t,e,i,n)};return S}function fn(t){if(Sn(t))return(t=pr(t)).children=null,t}function gn(t){return Sn(t)?t.children?t.children[0]:void 0:t}function mn(t,e){6&t.shapeFlag&&t.component?mn(t.component.subTree,e):128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function vn(t,e=!1){let i=[],n=0;for(let o=0;o1)for(let t=0;t!!t.type.__asyncLoader;function bn(t){I(t)&&(t={loader:t});const{loader:e,loadingComponent:i,errorComponent:n,delay:o=200,timeout:r,suspensible:s=!0,onError:a}=t;let l,h=null,c=0;const p=()=>{let t;return h||(t=h=e().catch((t=>{if(t=t instanceof Error?t:new Error(String(t)),a)return new Promise(((e,i)=>{a(t,(()=>e((c++,h=null,p()))),(()=>i(t)),c+1)}));throw t})).then((e=>t!==h&&h?h:(e&&(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),l=e,e))))};return yn({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return l},setup(){const t=Lr;if(l)return()=>Cn(l,t);const e=e=>{h=null,ii(e,t,13,!n)};if(s&&t.suspense||zr)return p().then((e=>()=>Cn(e,t))).catch((t=>(e(t),()=>n?lr(n,{error:t}):null)));const a=Ne(!1),c=Ne(),d=Ne(!!o);return o&&setTimeout((()=>{d.value=!1}),o),null!=r&&setTimeout((()=>{if(!a.value&&!c.value){const t=new Error(`Async component timed out after ${r}ms.`);e(t),c.value=t}}),r),p().then((()=>{a.value=!0,t.parent&&Sn(t.parent.vnode)&&vi(t.parent.update)})).catch((t=>{e(t),c.value=t})),()=>a.value&&l?Cn(l,t):c.value&&n?lr(n,{error:c.value}):i&&!d.value?lr(i):void 0}})}function Cn(t,{vnode:{ref:e,props:i,children:n}}){const o=lr(t,i,n);return o.ref=e,o}const Sn=t=>t.type.__isKeepAlive,wn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const i=Dr(),n=i.ctx;if(!n.renderer)return e.default;const o=new Map,r=new Set;let s=null;const a=i.suspense,{renderer:{p:l,m:h,um:c,o:{createElement:p}}}=n,d=p("div");function u(t){On(t),c(t,i,a,!0)}function f(t){o.forEach(((e,i)=>{const n=$r(e.type);!n||t&&t(n)||g(i)}))}function g(t){const e=o.get(t);s&&e.type===s.type?s&&On(s):u(e),o.delete(t),r.delete(t)}n.activate=(t,e,i,n,o)=>{const r=t.component;h(t,e,i,0,a),l(r.vnode,t,e,i,r,a,n,t.slotScopeIds,o),wo((()=>{r.isDeactivated=!1,r.a&&it(r.a);const e=t.props&&t.props.onVnodeMounted;e&&xr(e,r.parent,t)}),a)},n.deactivate=t=>{const e=t.component;h(t,d,null,1,a),wo((()=>{e.da&&it(e.da);const i=t.props&&t.props.onVnodeUnmounted;i&&xr(i,e.parent,t),e.isDeactivated=!0}),a)},on((()=>[t.include,t.exclude]),(([t,e])=>{t&&f((e=>kn(t,e))),e&&f((t=>!kn(e,t)))}),{flush:"post",deep:!0});let m=null;const v=()=>{null!=m&&o.set(m,En(i.subTree))};return Bn(v),Nn(v),In((()=>{o.forEach((t=>{const{subTree:e,suspense:n}=i,o=En(e);if(t.type!==o.type)u(t);else{On(o);const t=o.component.da;t&&wo(t,n)}}))})),()=>{if(m=null,!e.default)return null;const i=e.default(),n=i[0];if(i.length>1)return s=null,i;if(!(er(n)&&(4&n.shapeFlag||128&n.shapeFlag)))return s=null,n;let a=En(n);const l=a.type,h=$r(xn(a)?a.type.__asyncResolved||{}:l),{include:c,exclude:p,max:d}=t;if(c&&(!h||!kn(c,h))||p&&h&&kn(p,h))return s=a,n;const u=null==a.key?l:a.key,f=o.get(u);return a.el&&(a=pr(a),128&n.shapeFlag&&(n.ssContent=a)),m=u,f?(a.el=f.el,a.component=f.component,a.transition&&mn(a,a.transition),a.shapeFlag|=512,r.delete(u),r.add(u)):(r.add(u),d&&r.size>parseInt(d,10)&&g(r.values().next().value)),a.shapeFlag|=256,s=a,n}}};function kn(t,e){return D(t)?t.some((t=>kn(t,e))):R(t)?t.split(",").includes(e):!!t.test&&t.test(e)}function Mn(t,e){Tn(t,"a",e)}function An(t,e){Tn(t,"da",e)}function Tn(t,e,i=Lr){const n=t.__wdc||(t.__wdc=()=>{let e=i;for(;e;){if(e.isDeactivated)return;e=e.parent}return t()});if(_n(e,n,i),i){let t=i.parent;for(;t&&t.parent;)Sn(t.parent.vnode)&&Pn(n,e,i,t),t=t.parent}}function Pn(t,e,i,n){const o=_n(e,t,n,!0);Rn((()=>{E(n[e],o)}),i)}function On(t){let e=t.shapeFlag;256&e&&(e-=256),512&e&&(e-=512),t.shapeFlag=e}function En(t){return 128&t.shapeFlag?t.ssContent:t}function _n(t,e,i=Lr,n=!1){if(i){const o=i[t]||(i[t]=[]),r=e.__weh||(e.__weh=(...n)=>{if(i.isUnmounted)return;Tt(),Br(i);const o=ei(e,i,t,n);return jr(),Pt(),o});return n?o.unshift(r):o.push(r),r}}const Ln=t=>(e,i=Lr)=>(!zr||"sp"===t)&&_n(t,e,i),Dn=Ln("bm"),Bn=Ln("m"),jn=Ln("bu"),Nn=Ln("u"),In=Ln("bum"),Rn=Ln("um"),zn=Ln("sp"),Gn=Ln("rtg"),Wn=Ln("rtc");function Fn(t,e=Lr){_n("ec",t,e)}let Hn=!0;function Vn(t){const e=Yn(t),i=t.proxy,n=t.ctx;Hn=!1,e.beforeCreate&&Xn(e.beforeCreate,t,"bc");const{data:o,computed:r,methods:s,watch:a,provide:l,inject:h,created:c,beforeMount:p,mounted:d,beforeUpdate:u,updated:f,activated:g,deactivated:m,beforeDestroy:v,beforeUnmount:y,destroyed:x,unmounted:b,render:C,renderTracked:S,renderTriggered:w,errorCaptured:M,serverPrefetch:A,expose:T,inheritAttrs:P,components:O,directives:E,filters:_}=e;if(h&&function(t,e,i=k,n=!1){D(t)&&(t=qn(t));for(const i in t){const o=t[i];let r;r=G(o)?"default"in o?Ji(o.from||i,o.default,!0):Ji(o.from||i):Ji(o),je(r)&&n?Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>r.value,set:t=>r.value=t}):e[i]=r}}(h,n,null,t.appContext.config.unwrapInjectedRef),s)for(const t in s){const e=s[t];I(e)&&(n[t]=e.bind(i))}if(o){0;const e=o.call(i,i);0,G(e)&&(t.data=be(e))}if(Hn=!0,r)for(const t in r){const e=r[t],o=I(e)?e.bind(i,i):I(e.get)?e.get.bind(i,i):k;0;const s=!I(e)&&I(e.set)?e.set.bind(i):k,a=qr({get:o,set:s});Object.defineProperty(n,t,{enumerable:!0,configurable:!0,get:()=>a.value,set:t=>a.value=t})}if(a)for(const t in a)Un(a[t],n,i,t);if(l){const t=I(l)?l.call(i):l;Reflect.ownKeys(t).forEach((e=>{qi(e,t[e])}))}function L(t,e){D(e)?e.forEach((e=>t(e.bind(i)))):e&&t(e.bind(i))}if(c&&Xn(c,t,"c"),L(Dn,p),L(Bn,d),L(jn,u),L(Nn,f),L(Mn,g),L(An,m),L(Fn,M),L(Wn,S),L(Gn,w),L(In,y),L(Rn,b),L(zn,A),D(T))if(T.length){const e=t.exposed||(t.exposed={});T.forEach((t=>{Object.defineProperty(e,t,{get:()=>i[t],set:e=>i[t]=e})}))}else t.exposed||(t.exposed={});C&&t.render===k&&(t.render=C),null!=P&&(t.inheritAttrs=P),O&&(t.components=O),E&&(t.directives=E)}function Xn(t,e,i){ei(D(t)?t.map((t=>t.bind(e.proxy))):t.bind(e.proxy),e,i)}function Un(t,e,i,n){const o=n.includes(".")?an(i,n):()=>i[n];if(R(t)){const i=e[t];I(i)&&on(o,i)}else if(I(t))on(o,t.bind(i));else if(G(t))if(D(t))t.forEach((t=>Un(t,e,i,n)));else{const n=I(t.handler)?t.handler.bind(i):e[t.handler];I(n)&&on(o,n,t)}else 0}function Yn(t){const e=t.type,{mixins:i,extends:n}=e,{mixins:o,optionsCache:r,config:{optionMergeStrategies:s}}=t.appContext,a=r.get(e);let l;return a?l=a:o.length||i||n?(l={},o.length&&o.forEach((t=>$n(l,t,s,!0))),$n(l,e,s)):l=e,r.set(e,l),l}function $n(t,e,i,n=!1){const{mixins:o,extends:r}=e;r&&$n(t,r,i,!0),o&&o.forEach((e=>$n(t,e,i,!0)));for(const o in e)if(n&&"expose"===o);else{const n=Kn[o]||i&&i[o];t[o]=n?n(t[o],e[o]):e[o]}return t}const Kn={data:Zn,props:Qn,emits:Qn,methods:Qn,computed:Qn,beforeCreate:Jn,created:Jn,beforeMount:Jn,mounted:Jn,beforeUpdate:Jn,updated:Jn,beforeDestroy:Jn,beforeUnmount:Jn,destroyed:Jn,unmounted:Jn,activated:Jn,deactivated:Jn,errorCaptured:Jn,serverPrefetch:Jn,components:Qn,directives:Qn,watch:function(t,e){if(!t)return e;if(!e)return t;const i=O(Object.create(null),t);for(const n in e)i[n]=Jn(t[n],e[n]);return i},provide:Zn,inject:function(t,e){return Qn(qn(t),qn(e))}};function Zn(t,e){return e?t?function(){return O(I(t)?t.call(this,this):t,I(e)?e.call(this,this):e)}:e:t}function qn(t){if(D(t)){const e={};for(let i=0;i{l=!0;const[i,n]=io(t,e,!0);O(s,i),n&&a.push(...n)};!i&&e.mixins.length&&e.mixins.forEach(n),t.extends&&n(t.extends),t.mixins&&t.mixins.forEach(n)}if(!r&&!l)return n.set(t,w),w;if(D(r))for(let t=0;t-1,n[1]=i<0||t-1||L(n,"default"))&&a.push(e)}}}}const h=[s,a];return n.set(t,h),h}function no(t){return"$"!==t[0]}function oo(t){const e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:null===t?"null":""}function ro(t,e){return oo(t)===oo(e)}function so(t,e){return D(e)?e.findIndex((e=>ro(e,t))):I(e)&&ro(e,t)?0:-1}const ao=t=>"_"===t[0]||"$stable"===t,lo=t=>D(t)?t.map(gr):[gr(t)],ho=(t,e,i)=>{const n=Ri(((...t)=>lo(e(...t))),i);return n._c=!1,n},co=(t,e,i)=>{const n=t._ctx;for(const i in t){if(ao(i))continue;const o=t[i];if(I(o))e[i]=ho(0,o,n);else if(null!=o){0;const t=lo(o);e[i]=()=>t}}},po=(t,e)=>{const i=lo(e);t.slots.default=()=>i};function uo(t,e){if(null===Li)return t;const i=Li.proxy,n=t.dirs||(t.dirs=[]);for(let t=0;t(r.has(t)||(t&&I(t.install)?(r.add(t),t.install(a,...e)):I(t)&&(r.add(t),t(a,...e))),a),mixin:t=>(o.mixins.includes(t)||o.mixins.push(t),a),component:(t,e)=>e?(o.components[t]=e,a):o.components[t],directive:(t,e)=>e?(o.directives[t]=e,a):o.directives[t],mount(r,l,h){if(!s){const c=lr(i,n);return c.appContext=o,l&&e?e(c,r):t(c,r,h),s=!0,a._container=r,r.__vue_app__=a,Ur(c.component)||c.component.proxy}},unmount(){s&&(t(null,a._container),delete a._container.__vue_app__)},provide:(t,e)=>(o.provides[t]=e,a)};return a}}function yo(t,e,i,n,o=!1){if(D(t))return void t.forEach(((t,r)=>yo(t,e&&(D(e)?e[r]:e),i,n,o)));if(xn(n)&&!o)return;const r=4&n.shapeFlag?Ur(n.component)||n.component.proxy:n.el,s=o?null:r,{i:a,r:l}=t;const h=e&&e.r,c=a.refs===S?a.refs={}:a.refs,p=a.setupState;if(null!=h&&h!==l&&(R(h)?(c[h]=null,L(p,h)&&(p[h]=null)):je(h)&&(h.value=null)),I(l))ti(l,a,12,[s,c]);else{const e=R(l),n=je(l);if(e||n){const n=()=>{if(t.f){const i=e?c[l]:l.value;o?D(i)&&E(i,r):D(i)?i.includes(r)||i.push(r):e?c[l]=[r]:(l.value=[r],t.k&&(c[t.k]=l.value))}else e?(c[l]=s,L(p,l)&&(p[l]=s)):je(l)&&(l.value=s,t.k&&(c[t.k]=s))};s?(n.id=-1,wo(n,i)):n()}else 0}}let xo=!1;const bo=t=>/svg/.test(t.namespaceURI)&&"foreignObject"!==t.tagName,Co=t=>8===t.nodeType;function So(t){const{mt:e,p:i,o:{patchProp:n,nextSibling:o,parentNode:r,remove:s,insert:a,createComment:l}}=t,h=(i,n,s,a,l,g=!1)=>{const m=Co(i)&&"["===i.data,v=()=>u(i,n,s,a,l,m),{type:y,ref:x,shapeFlag:b}=n,C=i.nodeType;n.el=i;let S=null;switch(y){case Fo:3!==C?S=v():(i.data!==n.children&&(xo=!0,i.data=n.children),S=o(i));break;case Ho:S=8!==C||m?v():o(i);break;case Vo:if(1===C){S=i;const t=!n.children.length;for(let e=0;e{a=a||!!e.dynamicChildren;const{type:l,props:h,patchFlag:c,shapeFlag:d,dirs:u}=e,f="input"===l&&u||"option"===l;if(f||-1!==c){if(u&&fo(e,null,i,"created"),h)if(f||!a||48&c)for(const e in h)(f&&e.endsWith("value")||T(e)&&!U(e))&&n(t,e,null,h[e],!1,void 0,i);else h.onClick&&n(t,"onClick",null,h.onClick,!1,void 0,i);let l;if((l=h&&h.onVnodeBeforeMount)&&xr(l,i,e),u&&fo(e,null,i,"beforeMount"),((l=h&&h.onVnodeMounted)||u)&&Ki((()=>{l&&xr(l,i,e),u&&fo(e,null,i,"mounted")}),o),16&d&&(!h||!h.innerHTML&&!h.textContent)){let n=p(t.firstChild,e,t,i,o,r,a);for(;n;){xo=!0;const t=n;n=n.nextSibling,s(t)}}else 8&d&&t.textContent!==e.children&&(xo=!0,t.textContent=e.children)}return t.nextSibling},p=(t,e,n,o,r,s,a)=>{a=a||!!e.dynamicChildren;const l=e.children,c=l.length;for(let e=0;e{const{slotScopeIds:c}=e;c&&(s=s?s.concat(c):c);const d=r(t),u=p(o(t),e,d,i,n,s,h);return u&&Co(u)&&"]"===u.data?o(e.anchor=u):(xo=!0,a(e.anchor=l("]"),d,u),u)},u=(t,e,n,a,l,h)=>{if(xo=!0,e.el=null,h){const e=f(t);for(;;){const i=o(t);if(!i||i===e)break;s(i)}}const c=o(t),p=r(t);return s(t),i(null,e,p,c,n,a,bo(p),l),c},f=t=>{let e=0;for(;t;)if((t=o(t))&&Co(t)&&("["===t.data&&e++,"]"===t.data)){if(0===e)return o(t);e--}return t};return[(t,e)=>{if(!e.hasChildNodes())return i(null,t,e),void Si();xo=!1,h(e.firstChild,t,null,null,null),Si(),xo&&console.error("Hydration completed but contains mismatches.")},h]}const wo=Ki;function ko(t){return Ao(t)}function Mo(t){return Ao(t,So)}function Ao(t,e){(rt||(rt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==i.g?i.g:{})).__VUE__=!0;const{insert:n,remove:o,patchProp:r,createElement:s,createText:a,createComment:l,setText:h,setElementText:c,parentNode:p,nextSibling:d,setScopeId:u=k,cloneNode:f,insertStaticContent:g}=t,m=(t,e,i,n=null,o=null,r=null,s=!1,a=null,l=!!e.dynamicChildren)=>{if(t===e)return;t&&!ir(t,e)&&(n=K(t),H(t,o,r,!0),t=null),-2===e.patchFlag&&(l=!1,e.dynamicChildren=null);const{type:h,ref:c,shapeFlag:p}=e;switch(h){case Fo:v(t,e,i,n);break;case Ho:y(t,e,i,n);break;case Vo:null==t&&x(e,i,n,s);break;case Wo:D(t,e,i,n,o,r,s,a,l);break;default:1&p?C(t,e,i,n,o,r,s,a,l):6&p?B(t,e,i,n,o,r,s,a,l):(64&p||128&p)&&h.process(t,e,i,n,o,r,s,a,l,Q)}null!=c&&o&&yo(c,t&&t.ref,r,e||t,!e)},v=(t,e,i,o)=>{if(null==t)n(e.el=a(e.children),i,o);else{const i=e.el=t.el;e.children!==t.children&&h(i,e.children)}},y=(t,e,i,o)=>{null==t?n(e.el=l(e.children||""),i,o):e.el=t.el},x=(t,e,i,n)=>{[t.el,t.anchor]=g(t.children,e,i,n,t.el,t.anchor)},b=({el:t,anchor:e})=>{let i;for(;t&&t!==e;)i=d(t),o(t),t=i;o(e)},C=(t,e,i,n,o,r,s,a,l)=>{s=s||"svg"===e.type,null==t?M(e,i,n,o,r,s,a,l):P(t,e,o,r,s,a,l)},M=(t,e,i,o,a,l,h,p)=>{let d,u;const{type:g,props:m,shapeFlag:v,transition:y,patchFlag:x,dirs:b}=t;if(t.el&&void 0!==f&&-1===x)d=t.el=f(t.el);else{if(d=t.el=s(t.type,l,m&&m.is,m),8&v?c(d,t.children):16&v&&T(t.children,d,null,o,a,l&&"foreignObject"!==g,h,p),b&&fo(t,null,o,"created"),m){for(const e in m)"value"===e||U(e)||r(d,e,null,m[e],l,t.children,o,a,$);"value"in m&&r(d,"value",null,m.value),(u=m.onVnodeBeforeMount)&&xr(u,o,t)}A(d,t,t.scopeId,h,o)}b&&fo(t,null,o,"beforeMount");const C=(!a||a&&!a.pendingBranch)&&y&&!y.persisted;C&&y.beforeEnter(d),n(d,e,i),((u=m&&m.onVnodeMounted)||C||b)&&wo((()=>{u&&xr(u,o,t),C&&y.enter(d),b&&fo(t,null,o,"mounted")}),a)},A=(t,e,i,n,o)=>{if(i&&u(t,i),n)for(let e=0;e{for(let h=l;h{const l=e.el=t.el;let{patchFlag:h,dynamicChildren:p,dirs:d}=e;h|=16&t.patchFlag;const u=t.props||S,f=e.props||S;let g;i&&To(i,!1),(g=f.onVnodeBeforeUpdate)&&xr(g,i,e,t),d&&fo(e,t,i,"beforeUpdate"),i&&To(i,!0);const m=o&&"foreignObject"!==e.type;if(p?E(t.dynamicChildren,p,l,i,n,m,s):a||z(t,e,l,null,i,n,m,s,!1),h>0){if(16&h)_(l,e,u,f,i,n,o);else if(2&h&&u.class!==f.class&&r(l,"class",null,f.class,o),4&h&&r(l,"style",u.style,f.style,o),8&h){const s=e.dynamicProps;for(let e=0;e{g&&xr(g,i,e,t),d&&fo(e,t,i,"updated")}),n)},E=(t,e,i,n,o,r,s)=>{for(let a=0;a{if(i!==n){for(const l in n){if(U(l))continue;const h=n[l],c=i[l];h!==c&&"value"!==l&&r(t,l,c,h,a,e.children,o,s,$)}if(i!==S)for(const l in i)U(l)||l in n||r(t,l,i[l],null,a,e.children,o,s,$);"value"in n&&r(t,"value",i.value,n.value)}},D=(t,e,i,o,r,s,l,h,c)=>{const p=e.el=t?t.el:a(""),d=e.anchor=t?t.anchor:a("");let{patchFlag:u,dynamicChildren:f,slotScopeIds:g}=e;g&&(h=h?h.concat(g):g),null==t?(n(p,i,o),n(d,i,o),T(e.children,i,d,r,s,l,h,c)):u>0&&64&u&&f&&t.dynamicChildren?(E(t.dynamicChildren,f,i,r,s,l,h),(null!=e.key||r&&e===r.subTree)&&Po(t,e,!0)):z(t,e,i,d,r,s,l,h,c)},B=(t,e,i,n,o,r,s,a,l)=>{e.slotScopeIds=a,null==t?512&e.shapeFlag?o.ctx.activate(e,i,n,s,l):j(e,i,n,o,r,s,l):N(t,e,l)},j=(t,e,i,n,o,r,s)=>{const a=t.component=_r(t,n,o);if(Sn(t)&&(a.ctx.renderer=Q),Gr(a),a.asyncDep){if(o&&o.registerDep(a,I),!t.el){const t=a.subTree=lr(Ho);y(null,t,e,i)}}else I(a,t,e,i,o,r,s)},N=(t,e,i)=>{const n=e.component=t.component;if(function(t,e,i){const{props:n,children:o,component:r}=t,{props:s,children:a,patchFlag:l}=e,h=r.emitsOptions;if(e.dirs||e.transition)return!0;if(!(i&&l>=0))return!(!o&&!a||a&&a.$stable)||n!==s&&(n?!s||Hi(n,s,h):!!s);if(1024&l)return!0;if(16&l)return n?Hi(n,s,h):!!s;if(8&l){const t=e.dynamicProps;for(let e=0;esi&&ri.splice(e,1)}(n.update),n.update()}else e.component=t.component,e.el=t.el,n.vnode=e},I=(t,e,i,n,o,r,s)=>{const a=t.effect=new Ct((()=>{if(t.isMounted){let e,{next:i,bu:n,u:a,parent:l,vnode:h}=t,c=i;0,To(t,!1),i?(i.el=h.el,R(t,i,s)):i=h,n&&it(n),(e=i.props&&i.props.onVnodeBeforeUpdate)&&xr(e,l,i,h),To(t,!0);const d=zi(t);0;const u=t.subTree;t.subTree=d,m(u,d,p(u.el),K(u),t,o,r),i.el=d.el,null===c&&Vi(t,d.el),a&&wo(a,o),(e=i.props&&i.props.onVnodeUpdated)&&wo((()=>xr(e,l,i,h)),o)}else{let s;const{el:a,props:l}=e,{bm:h,m:c,parent:p}=t,d=xn(e);if(To(t,!1),h&&it(h),!d&&(s=l&&l.onVnodeBeforeMount)&&xr(s,p,e),To(t,!0),a&&et){const i=()=>{t.subTree=zi(t),et(a,t.subTree,t,o,null)};d?e.type.__asyncLoader().then((()=>!t.isUnmounted&&i())):i()}else{0;const s=t.subTree=zi(t);0,m(null,s,i,n,t,o,r),e.el=s.el}if(c&&wo(c,o),!d&&(s=l&&l.onVnodeMounted)){const t=e;wo((()=>xr(s,p,t)),o)}256&e.shapeFlag&&t.a&&wo(t.a,o),t.isMounted=!0,e=i=n=null}}),(()=>vi(t.update)),t.scope),l=t.update=a.run.bind(a);l.id=t.uid,To(t,!0),l()},R=(t,e,i)=>{e.component=t;const n=t.vnode.props;t.vnode=e,t.next=null,function(t,e,i,n){const{props:o,attrs:r,vnode:{patchFlag:s}}=t,a=Oe(o),[l]=t.propsOptions;let h=!1;if(!(n||s>0)||16&s){let n;to(t,e,o,r)&&(h=!0);for(const r in a)e&&(L(e,r)||(n=J(r))!==r&&L(e,n))||(l?!i||void 0===i[r]&&void 0===i[n]||(o[r]=eo(l,a,r,void 0,t,!0)):delete o[r]);if(r!==a)for(const t in r)e&&L(e,t)||(delete r[t],h=!0)}else if(8&s){const i=t.vnode.dynamicProps;for(let n=0;n{const{vnode:n,slots:o}=t;let r=!0,s=S;if(32&n.shapeFlag){const t=e._;t?i&&1===t?r=!1:(O(o,e),i||1!==t||delete o._):(r=!e.$stable,co(e,o)),s=e}else e&&(po(t,e),s={default:1});if(r)for(const t in o)ao(t)||t in s||delete o[t]})(t,e.children,i),Tt(),Ci(void 0,t.update),Pt()},z=(t,e,i,n,o,r,s,a,l=!1)=>{const h=t&&t.children,p=t?t.shapeFlag:0,d=e.children,{patchFlag:u,shapeFlag:f}=e;if(u>0){if(128&u)return void W(h,d,i,n,o,r,s,a,l);if(256&u)return void G(h,d,i,n,o,r,s,a,l)}8&f?(16&p&&$(h,o,r),d!==h&&c(i,d)):16&p?16&f?W(h,d,i,n,o,r,s,a,l):$(h,o,r,!0):(8&p&&c(i,""),16&f&&T(d,i,n,o,r,s,a,l))},G=(t,e,i,n,o,r,s,a,l)=>{e=e||w;const h=(t=t||w).length,c=e.length,p=Math.min(h,c);let d;for(d=0;dc?$(t,o,r,!0,!1,p):T(e,i,n,o,r,s,a,l,p)},W=(t,e,i,n,o,r,s,a,l)=>{let h=0;const c=e.length;let p=t.length-1,d=c-1;for(;h<=p&&h<=d;){const n=t[h],c=e[h]=l?mr(e[h]):gr(e[h]);if(!ir(n,c))break;m(n,c,i,null,o,r,s,a,l),h++}for(;h<=p&&h<=d;){const n=t[p],h=e[d]=l?mr(e[d]):gr(e[d]);if(!ir(n,h))break;m(n,h,i,null,o,r,s,a,l),p--,d--}if(h>p){if(h<=d){const t=d+1,p=td)for(;h<=p;)H(t[h],o,r,!0),h++;else{const u=h,f=h,g=new Map;for(h=f;h<=d;h++){const t=e[h]=l?mr(e[h]):gr(e[h]);null!=t.key&&g.set(t.key,h)}let v,y=0;const x=d-f+1;let b=!1,C=0;const S=new Array(x);for(h=0;h=x){H(n,o,r,!0);continue}let c;if(null!=n.key)c=g.get(n.key);else for(v=f;v<=d;v++)if(0===S[v-f]&&ir(n,e[v])){c=v;break}void 0===c?H(n,o,r,!0):(S[c-f]=h+1,c>=C?C=c:b=!0,m(n,e[c],i,null,o,r,s,a,l),y++)}const k=b?function(t){const e=t.slice(),i=[0];let n,o,r,s,a;const l=t.length;for(n=0;n>1,t[i[a]]0&&(e[n]=i[r-1]),i[r]=n)}}r=i.length,s=i[r-1];for(;r-- >0;)i[r]=s,s=e[s];return i}(S):w;for(v=k.length-1,h=x-1;h>=0;h--){const t=f+h,p=e[t],d=t+1{const{el:s,type:a,transition:l,children:h,shapeFlag:c}=t;if(6&c)return void F(t.component.subTree,e,i,o);if(128&c)return void t.suspense.move(e,i,o);if(64&c)return void a.move(t,e,i,Q);if(a===Wo){n(s,e,i);for(let t=0;t{let r;for(;t&&t!==e;)r=d(t),n(t,i,o),t=r;n(e,i,o)})(t,e,i);if(2!==o&&1&c&&l)if(0===o)l.beforeEnter(s),n(s,e,i),wo((()=>l.enter(s)),r);else{const{leave:t,delayLeave:o,afterLeave:r}=l,a=()=>n(s,e,i),h=()=>{t(s,(()=>{a(),r&&r()}))};o?o(s,a,h):h()}else n(s,e,i)},H=(t,e,i,n=!1,o=!1)=>{const{type:r,props:s,ref:a,children:l,dynamicChildren:h,shapeFlag:c,patchFlag:p,dirs:d}=t;if(null!=a&&yo(a,null,i,t,!0),256&c)return void e.ctx.deactivate(t);const u=1&c&&d,f=!xn(t);let g;if(f&&(g=s&&s.onVnodeBeforeUnmount)&&xr(g,e,t),6&c)Y(t.component,i,n);else{if(128&c)return void t.suspense.unmount(i,n);u&&fo(t,null,e,"beforeUnmount"),64&c?t.type.remove(t,e,i,o,Q,n):h&&(r!==Wo||p>0&&64&p)?$(h,e,i,!1,!0):(r===Wo&&384&p||!o&&16&c)&&$(l,e,i),n&&V(t)}(f&&(g=s&&s.onVnodeUnmounted)||u)&&wo((()=>{g&&xr(g,e,t),u&&fo(t,null,e,"unmounted")}),i)},V=t=>{const{type:e,el:i,anchor:n,transition:r}=t;if(e===Wo)return void X(i,n);if(e===Vo)return void b(t);const s=()=>{o(i),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&t.shapeFlag&&r&&!r.persisted){const{leave:e,delayLeave:n}=r,o=()=>e(i,s);n?n(t.el,s,o):o()}else s()},X=(t,e)=>{let i;for(;t!==e;)i=d(t),o(t),t=i;o(e)},Y=(t,e,i)=>{const{bum:n,scope:o,update:r,subTree:s,um:a}=t;n&&it(n),o.stop(),r&&(r.active=!1,H(s,t,e,i)),a&&wo(a,e),wo((()=>{t.isUnmounted=!0}),e),e&&e.pendingBranch&&!e.isUnmounted&&t.asyncDep&&!t.asyncResolved&&t.suspenseId===e.pendingId&&(e.deps--,0===e.deps&&e.resolve())},$=(t,e,i,n=!1,o=!1,r=0)=>{for(let s=r;s6&t.shapeFlag?K(t.component.subTree):128&t.shapeFlag?t.suspense.next():d(t.anchor||t.el),q=(t,e,i)=>{null==t?e._vnode&&H(e._vnode,null,null,!0):m(e._vnode||null,t,e,null,null,null,i),Si(),e._vnode=t},Q={p:m,um:H,m:F,r:V,mt:j,mc:T,pc:z,pbc:E,n:K,o:t};let tt,et;return e&&([tt,et]=e(Q)),{render:q,hydrate:tt,createApp:vo(q,tt)}}function To({effect:t,update:e},i){t.allowRecurse=e.allowRecurse=i}function Po(t,e,i=!1){const n=t.children,o=e.children;if(D(n)&&D(o))for(let t=0;tt&&(t.disabled||""===t.disabled),Eo=t=>"undefined"!=typeof SVGElement&&t instanceof SVGElement,_o=(t,e)=>{const i=t&&t.to;if(R(i)){if(e){const t=e(i);return t}return null}return i};function Lo(t,e,i,{o:{insert:n},m:o},r=2){0===r&&n(t.targetAnchor,e,i);const{el:s,anchor:a,shapeFlag:l,children:h,props:c}=t,p=2===r;if(p&&n(s,e,i),(!p||Oo(c))&&16&l)for(let t=0;t{16&y&&c(x,t,e,o,r,s,a,l)};v?m(i,h):p&&m(p,d)}else{e.el=t.el;const n=e.anchor=t.anchor,c=e.target=t.target,u=e.targetAnchor=t.targetAnchor,g=Oo(t.props),m=g?i:c,y=g?n:u;if(s=s||Eo(c),b?(d(t.dynamicChildren,b,m,o,r,s,a),Po(t,e,!0)):l||p(t,e,m,y,o,r,s,a,!1),v)g||Lo(e,i,n,h,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const t=e.target=_o(e.props,f);t&&Lo(e,t,null,h,0)}else g&&Lo(e,c,u,h,1)}},remove(t,e,i,n,{um:o,o:{remove:r}},s){const{shapeFlag:a,children:l,anchor:h,targetAnchor:c,target:p,props:d}=t;if(p&&r(c),(s||!Oo(d))&&(r(h),16&a))for(let t=0;t0?Uo||w:null,$o(),Zo>0&&Uo&&Uo.push(t),t}function Qo(t,e,i,n,o,r){return Jo(ar(t,e,i,n,o,r,!0))}function tr(t,e,i,n,o){return Jo(lr(t,e,i,n,o,!0))}function er(t){return!!t&&!0===t.__v_isVNode}function ir(t,e){return t.type===e.type&&t.key===e.key}function nr(t){Ko=t}const or="__vInternal",rr=({key:t})=>null!=t?t:null,sr=({ref:t,ref_key:e,ref_for:i})=>null!=t?R(t)||je(t)||I(t)?{i:Li,r:t,k:e,f:!!i}:t:null;function ar(t,e=null,i=null,n=0,o=null,r=(t===Wo?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&rr(e),ref:e&&sr(e),scopeId:Di,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null};return a?(vr(l,i),128&r&&t.normalize(l)):i&&(l.shapeFlag|=R(i)?8:16),Zo>0&&!s&&Uo&&(l.patchFlag>0||6&r)&&32!==l.patchFlag&&Uo.push(l),l}const lr=hr;function hr(t,e=null,i=null,n=0,o=null,r=!1){if(t&&t!==No||(t=Ho),er(t)){const n=pr(t,e,!0);return i&&vr(n,i),n}if(Zr(t)&&(t=t.__vccOpts),e){e=cr(e);let{class:t,style:i}=e;t&&!R(t)&&(e.class=u(t)),G(i)&&(Pe(i)&&!D(i)&&(i=O({},i)),e.style=h(i))}return ar(t,e,i,n,o,R(t)?1:(t=>t.__isSuspense)(t)?128:(t=>t.__isTeleport)(t)?64:G(t)?4:I(t)?2:0,r,!0)}function cr(t){return t?Pe(t)||or in t?O({},t):t:null}function pr(t,e,i=!1){const{props:n,ref:o,patchFlag:r,children:s}=t,a=e?yr(n||{},e):n;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&rr(a),ref:e&&e.ref?i&&o?D(o)?o.concat(sr(e)):[o,sr(e)]:sr(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:s,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Wo?-1===r?16:16|r:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&pr(t.ssContent),ssFallback:t.ssFallback&&pr(t.ssFallback),el:t.el,anchor:t.anchor}}function dr(t=" ",e=0){return lr(Fo,null,t,e)}function ur(t,e){const i=lr(Vo,null,t);return i.staticCount=e,i}function fr(t="",e=!1){return e?(Yo(),tr(Ho,null,t)):lr(Ho,null,t)}function gr(t){return null==t||"boolean"==typeof t?lr(Ho):D(t)?lr(Wo,null,t.slice()):"object"==typeof t?mr(t):lr(Fo,null,String(t))}function mr(t){return null===t.el||t.memo?t:pr(t)}function vr(t,e){let i=0;const{shapeFlag:n}=t;if(null==e)e=null;else if(D(e))i=16;else if("object"==typeof e){if(65&n){const i=e.default;return void(i&&(i._c&&(i._d=!1),vr(t,i()),i._c&&(i._d=!0)))}{i=32;const n=e._;n||or in e?3===n&&Li&&(1===Li.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=Li}}else I(e)?(e={default:e,_ctx:Li},i=32):(e=String(e),64&n?(i=16,e=[dr(e)]):i=8);t.children=e,t.shapeFlag|=i}function yr(...t){const e={};for(let i=0;ie(t,i,void 0,r&&r[i])));else{const i=Object.keys(t);o=new Array(i.length);for(let n=0,s=i.length;n!er(t)||t.type!==Ho&&!(t.type===Wo&&!wr(t.children))))?t:null}function kr(t){const e={};for(const i in t)e[tt(i)]=t[i];return e}const Mr=t=>t?Nr(t)?Ur(t)||t.proxy:Mr(t.parent):null,Ar=O(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Mr(t.parent),$root:t=>Mr(t.root),$emit:t=>t.emit,$options:t=>Yn(t),$forceUpdate:t=>()=>vi(t.update),$nextTick:t=>mi.bind(t.proxy),$watch:t=>sn.bind(t)}),Tr={get({_:t},e){const{ctx:i,setupState:n,data:o,props:r,accessCache:s,type:a,appContext:l}=t;let h;if("$"!==e[0]){const a=s[e];if(void 0!==a)switch(a){case 1:return n[e];case 2:return o[e];case 4:return i[e];case 3:return r[e]}else{if(n!==S&&L(n,e))return s[e]=1,n[e];if(o!==S&&L(o,e))return s[e]=2,o[e];if((h=t.propsOptions[0])&&L(h,e))return s[e]=3,r[e];if(i!==S&&L(i,e))return s[e]=4,i[e];Hn&&(s[e]=0)}}const c=Ar[e];let p,d;return c?("$attrs"===e&&Ot(t,0,e),c(t)):(p=a.__cssModules)&&(p=p[e])?p:i!==S&&L(i,e)?(s[e]=4,i[e]):(d=l.config.globalProperties,L(d,e)?d[e]:void 0)},set({_:t},e,i){const{data:n,setupState:o,ctx:r}=t;if(o!==S&&L(o,e))o[e]=i;else if(n!==S&&L(n,e))n[e]=i;else if(L(t.props,e))return!1;return("$"!==e[0]||!(e.slice(1)in t))&&(r[e]=i,!0)},has({_:{data:t,setupState:e,accessCache:i,ctx:n,appContext:o,propsOptions:r}},s){let a;return!!i[s]||t!==S&&L(t,s)||e!==S&&L(e,s)||(a=r[0])&&L(a,s)||L(n,s)||L(Ar,s)||L(o.config.globalProperties,s)}};const Pr=O({},Tr,{get(t,e){if(e!==Symbol.unscopables)return Tr.get(t,e,t)},has:(t,e)=>"_"!==e[0]&&!r(e)});const Or=go();let Er=0;function _r(t,e,i){const n=t.type,o=(e?e.appContext:t.appContext)||Or,r={uid:Er++,vnode:t,type:n,parent:e,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new at(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:io(n,o),emitsOptions:Ei(n,o),emit:null,emitted:null,propsDefaults:S,inheritAttrs:n.inheritAttrs,ctx:S,data:S,props:S,attrs:S,slots:S,refs:S,setupState:S,setupContext:null,suspense:i,suspenseId:i?i.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=e?e.root:r,r.emit=Oi.bind(null,r),t.ce&&t.ce(r),r}let Lr=null;const Dr=()=>Lr||Li,Br=t=>{Lr=t,t.scope.on()},jr=()=>{Lr&&Lr.scope.off(),Lr=null};function Nr(t){return 4&t.vnode.shapeFlag}let Ir,Rr,zr=!1;function Gr(t,e=!1){zr=e;const{props:i,children:n}=t.vnode,o=Nr(t);!function(t,e,i,n=!1){const o={},r={};nt(r,or,1),t.propsDefaults=Object.create(null),to(t,e,o,r);for(const e in t.propsOptions[0])e in o||(o[e]=void 0);i?t.props=n?o:Ce(o):t.type.props?t.props=o:t.props=r,t.attrs=r}(t,i,o,e),((t,e)=>{if(32&t.vnode.shapeFlag){const i=e._;i?(t.slots=Oe(e),nt(e,"_",i)):co(e,t.slots={})}else t.slots={},e&&po(t,e);nt(t.slots,or,1)})(t,n);const r=o?function(t,e){const i=t.type;0;t.accessCache=Object.create(null),t.proxy=Ee(new Proxy(t.ctx,Tr)),!1;const{setup:n}=i;if(n){const i=t.setupContext=n.length>1?Xr(t):null;Br(t),Tt();const o=ti(n,t,0,[t.props,i]);if(Pt(),jr(),W(o)){if(o.then(jr,jr),e)return o.then((i=>{Wr(t,i,e)})).catch((e=>{ii(e,t,0)}));t.asyncDep=o}else Wr(t,o,e)}else Vr(t,e)}(t,e):void 0;return zr=!1,r}function Wr(t,e,i){I(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:G(e)&&(t.setupState=He(e)),Vr(t,i)}function Fr(t){Ir=t,Rr=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Pr))}}const Hr=()=>!Ir;function Vr(t,e,i){const n=t.type;if(!t.render){if(!e&&Ir&&!n.render){const e=n.template;if(e){0;const{isCustomElement:i,compilerOptions:o}=t.appContext.config,{delimiters:r,compilerOptions:s}=n,a=O(O({isCustomElement:i,delimiters:r},o),s);n.render=Ir(e,a)}}t.render=n.render||k,Rr&&Rr(t)}Br(t),Tt(),Vn(t),Pt(),jr()}function Xr(t){const e=e=>{t.exposed=e||{}};let i;return{get attrs(){return i||(i=function(t){return new Proxy(t.attrs,{get:(e,i)=>(Ot(t,0,"$attrs"),e[i])})}(t))},slots:t.slots,emit:t.emit,expose:e}}function Ur(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(He(Ee(t.exposed)),{get:(e,i)=>i in e?e[i]:i in Ar?Ar[i](t):void 0}))}const Yr=/(?:^|[-_])(\w)/g;function $r(t){return I(t)&&t.displayName||t.name}function Kr(t,e,i=!1){let n=$r(e);if(!n&&e.__file){const t=e.__file.match(/([^/\\]+)\.\w+$/);t&&(n=t[1])}if(!n&&t&&t.parent){const i=t=>{for(const i in t)if(t[i]===e)return i};n=i(t.components||t.parent.type.components)||i(t.appContext.components)}return n?n.replace(Yr,(t=>t.toUpperCase())).replace(/[-_]/g,""):i?"App":"Anonymous"}function Zr(t){return I(t)&&"__vccOpts"in t}const qr=(t,e)=>function(t,e,i=!1){let n,o;const r=I(t);return r?(n=t,o=k):(n=t.get,o=t.set),new Ke(n,o,r||!o,i)}(t,0,zr);function Jr(){return null}function Qr(){return null}function ts(t){0}function es(t,e){return null}function is(){return os().slots}function ns(){return os().attrs}function os(){const t=Dr();return t.setupContext||(t.setupContext=Xr(t))}function rs(t,e){const i=D(t)?t.reduce(((t,e)=>(t[e]={},t)),{}):t;for(const t in e){const n=i[t];n?D(n)||I(n)?i[t]={type:n,default:e[t]}:n.default=e[t]:null===n&&(i[t]={default:e[t]})}return i}function ss(t,e){const i={};for(const n in t)e.includes(n)||Object.defineProperty(i,n,{enumerable:!0,get:()=>t[n]});return i}function as(t){const e=Dr();let i=t();return jr(),W(i)&&(i=i.catch((t=>{throw Br(e),t}))),[i,()=>Br(e)]}function ls(t,e,i){const n=arguments.length;return 2===n?G(e)&&!D(e)?er(e)?lr(t,null,[e]):lr(t,e):lr(t,null,e):(n>3?i=Array.prototype.slice.call(arguments,2):3===n&&er(i)&&(i=[i]),lr(t,e,i))}const hs=Symbol(""),cs=()=>{{const t=Ji(hs);return t||qe("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),t}};function ps(){return void 0}function ds(t,e,i,n){const o=i[n];if(o&&us(o,t))return o;const r=e();return r.memo=t.slice(),i[n]=r}function us(t,e){const i=t.memo;if(i.length!=e.length)return!1;for(let t=0;t0&&Uo&&Uo.push(t),!0}const fs="3.2.30",gs={createComponentInstance:_r,setupComponent:Gr,renderComponentRoot:zi,setCurrentRenderingInstance:Bi,isVNode:er,normalizeVNode:gr},ms=null,vs=null,ys="undefined"!=typeof document?document:null,xs=ys&&ys.createElement("template"),bs={insert:(t,e,i)=>{e.insertBefore(t,i||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,i,n)=>{const o=e?ys.createElementNS("http://www.w3.org/2000/svg",t):ys.createElement(t,i?{is:i}:void 0);return"select"===t&&n&&null!=n.multiple&&o.setAttribute("multiple",n.multiple),o},createText:t=>ys.createTextNode(t),createComment:t=>ys.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>ys.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},cloneNode(t){const e=t.cloneNode(!0);return"_value"in t&&(e._value=t._value),e},insertStaticContent(t,e,i,n,o,r){const s=i?i.previousSibling:e.lastChild;if(o&&(o===r||o.nextSibling))for(;e.insertBefore(o.cloneNode(!0),i),o!==r&&(o=o.nextSibling););else{xs.innerHTML=n?`${t}`:t;const o=xs.content;if(n){const t=o.firstChild;for(;t.firstChild;)o.appendChild(t.firstChild);o.removeChild(t)}e.insertBefore(o,i)}return[s?s.nextSibling:e.firstChild,i?i.previousSibling:e.lastChild]}};const Cs=/\s*!important$/;function Ss(t,e,i){if(D(i))i.forEach((i=>Ss(t,e,i)));else if(e.startsWith("--"))t.setProperty(e,i);else{const n=function(t,e){const i=ks[e];if(i)return i;let n=Z(e);if("filter"!==n&&n in t)return ks[e]=n;n=Q(n);for(let i=0;idocument.createEvent("Event").timeStamp&&(As=()=>performance.now());const t=navigator.userAgent.match(/firefox\/(\d+)/i);Ts=!!(t&&Number(t[1])<=53)}let Ps=0;const Os=Promise.resolve(),Es=()=>{Ps=0};function _s(t,e,i,n){t.addEventListener(e,i,n)}function Ls(t,e,i,n,o=null){const r=t._vei||(t._vei={}),s=r[e];if(n&&s)s.value=n;else{const[i,a]=function(t){let e;if(Ds.test(t)){let i;for(e={};i=t.match(Ds);)t=t.slice(0,t.length-i[0].length),e[i[0].toLowerCase()]=!0}return[J(t.slice(2)),e]}(e);if(n){_s(t,i,r[e]=function(t,e){const i=t=>{const n=t.timeStamp||As();(Ts||n>=i.attached-1)&&ei(function(t,e){if(D(e)){const i=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{i.call(t),t._stopped=!0},e.map((t=>e=>!e._stopped&&t&&t(e)))}return e}(t,i.value),e,5,[t])};return i.value=t,i.attached=(()=>Ps||(Os.then(Es),Ps=As()))(),i}(n,o),a)}else s&&(!function(t,e,i,n){t.removeEventListener(e,i,n)}(t,i,s,a),r[e]=void 0)}}const Ds=/(?:Once|Passive|Capture)$/;const Bs=/^on[a-z]/;function js(t,e){const i=yn(t);class n extends Rs{constructor(t){super(i,t,e)}}return n.def=i,n}const Ns=t=>js(t,za),Is="undefined"!=typeof HTMLElement?HTMLElement:class{};class Rs extends Is{constructor(t,e={},i){super(),this._def=t,this._props=e,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&i?i(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,mi((()=>{this._connected||(Ra(null,this.shadowRoot),this._instance=null)}))}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let t=0;t{for(const e of t)this._setAttr(e.attributeName)})).observe(this,{attributes:!0});const t=t=>{const{props:e,styles:i}=t,n=!D(e),o=e?n?Object.keys(e):e:[];let r;if(n)for(const t in this._props){const i=e[t];(i===Number||i&&i.type===Number)&&(this._props[t]=ot(this._props[t]),(r||(r=Object.create(null)))[t]=!0)}this._numberProps=r;for(const t of Object.keys(this))"_"!==t[0]&&this._setProp(t,this[t],!0,!1);for(const t of o.map(Z))Object.defineProperty(this,t,{get(){return this._getProp(t)},set(e){this._setProp(t,e)}});this._applyStyles(i),this._update()},e=this._def.__asyncLoader;e?e().then(t):t(this._def)}_setAttr(t){let e=this.getAttribute(t);this._numberProps&&this._numberProps[t]&&(e=ot(e)),this._setProp(Z(t),e,!1)}_getProp(t){return this._props[t]}_setProp(t,e,i=!0,n=!0){e!==this._props[t]&&(this._props[t]=e,n&&this._instance&&this._update(),i&&(!0===e?this.setAttribute(J(t),""):"string"==typeof e||"number"==typeof e?this.setAttribute(J(t),e+""):e||this.removeAttribute(J(t))))}_update(){Ra(this._createVNode(),this.shadowRoot)}_createVNode(){const t=lr(this._def,O({},this._props));return this._instance||(t.ce=t=>{this._instance=t,t.isCE=!0,t.emit=(t,...e)=>{this.dispatchEvent(new CustomEvent(t,{detail:e}))};let e=this;for(;e=e&&(e.parentNode||e.host);)if(e instanceof Rs){t.parent=e._instance;break}}),t}_applyStyles(t){t&&t.forEach((t=>{const e=document.createElement("style");e.textContent=t,this.shadowRoot.appendChild(e)}))}}function zs(t="$style"){{const e=Dr();if(!e)return S;const i=e.type.__cssModules;if(!i)return S;const n=i[t];return n||S}}function Gs(t){const e=Dr();if(!e)return;const i=()=>Ws(e.subTree,t(e.proxy));tn(i),Bn((()=>{const t=new MutationObserver(i);t.observe(e.subTree.el.parentNode,{childList:!0}),Rn((()=>t.disconnect()))}))}function Ws(t,e){if(128&t.shapeFlag){const i=t.suspense;t=i.activeBranch,i.pendingBranch&&!i.isHydrating&&i.effects.push((()=>{Ws(i.activeBranch,e)}))}for(;t.component;)t=t.component.subTree;if(1&t.shapeFlag&&t.el)Fs(t.el,e);else if(t.type===Wo)t.children.forEach((t=>Ws(t,e)));else if(t.type===Vo){let{el:i,anchor:n}=t;for(;i&&(Fs(i,e),i!==n);)i=i.nextSibling}}function Fs(t,e){if(1===t.nodeType){const i=t.style;for(const t in e)i.setProperty(`--${t}`,e[t])}}const Hs="transition",Vs="animation",Xs=(t,{slots:e})=>ls(pn,Zs(t),e);Xs.displayName="Transition";const Us={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Ys=Xs.props=O({},pn.props,Us),$s=(t,e=[])=>{D(t)?t.forEach((t=>t(...e))):t&&t(...e)},Ks=t=>!!t&&(D(t)?t.some((t=>t.length>1)):t.length>1);function Zs(t){const e={};for(const i in t)i in Us||(e[i]=t[i]);if(!1===t.css)return e;const{name:i="v",type:n,duration:o,enterFromClass:r=`${i}-enter-from`,enterActiveClass:s=`${i}-enter-active`,enterToClass:a=`${i}-enter-to`,appearFromClass:l=r,appearActiveClass:h=s,appearToClass:c=a,leaveFromClass:p=`${i}-leave-from`,leaveActiveClass:d=`${i}-leave-active`,leaveToClass:u=`${i}-leave-to`}=t,f=function(t){if(null==t)return null;if(G(t))return[qs(t.enter),qs(t.leave)];{const e=qs(t);return[e,e]}}(o),g=f&&f[0],m=f&&f[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:x,onLeave:b,onLeaveCancelled:C,onBeforeAppear:S=v,onAppear:w=y,onAppearCancelled:k=x}=e,M=(t,e,i)=>{Qs(t,e?c:a),Qs(t,e?h:s),i&&i()},A=(t,e)=>{Qs(t,u),Qs(t,d),e&&e()},T=t=>(e,i)=>{const o=t?w:y,s=()=>M(e,t,i);$s(o,[e,s]),ta((()=>{Qs(e,t?l:r),Js(e,t?c:a),Ks(o)||ia(e,n,g,s)}))};return O(e,{onBeforeEnter(t){$s(v,[t]),Js(t,r),Js(t,s)},onBeforeAppear(t){$s(S,[t]),Js(t,l),Js(t,h)},onEnter:T(!1),onAppear:T(!0),onLeave(t,e){const i=()=>A(t,e);Js(t,p),sa(),Js(t,d),ta((()=>{Qs(t,p),Js(t,u),Ks(b)||ia(t,n,m,i)})),$s(b,[t,i])},onEnterCancelled(t){M(t,!1),$s(x,[t])},onAppearCancelled(t){M(t,!0),$s(k,[t])},onLeaveCancelled(t){A(t),$s(C,[t])}})}function qs(t){return ot(t)}function Js(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.add(e))),(t._vtc||(t._vtc=new Set)).add(e)}function Qs(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.remove(e)));const{_vtc:i}=t;i&&(i.delete(e),i.size||(t._vtc=void 0))}function ta(t){requestAnimationFrame((()=>{requestAnimationFrame(t)}))}let ea=0;function ia(t,e,i,n){const o=t._endId=++ea,r=()=>{o===t._endId&&n()};if(i)return setTimeout(r,i);const{type:s,timeout:a,propCount:l}=na(t,e);if(!s)return n();const h=s+"end";let c=0;const p=()=>{t.removeEventListener(h,d),r()},d=e=>{e.target===t&&++c>=l&&p()};setTimeout((()=>{c(i[t]||"").split(", "),o=n("transitionDelay"),r=n("transitionDuration"),s=oa(o,r),a=n("animationDelay"),l=n("animationDuration"),h=oa(a,l);let c=null,p=0,d=0;e===Hs?s>0&&(c=Hs,p=s,d=r.length):e===Vs?h>0&&(c=Vs,p=h,d=l.length):(p=Math.max(s,h),c=p>0?s>h?Hs:Vs:null,d=c?c===Hs?r.length:l.length:0);return{type:c,timeout:p,propCount:d,hasTransform:c===Hs&&/\b(transform|all)(,|$)/.test(i.transitionProperty)}}function oa(t,e){for(;t.lengthra(e)+ra(t[i]))))}function ra(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function sa(){return document.body.offsetHeight}const aa=new WeakMap,la=new WeakMap,ha={name:"TransitionGroup",props:O({},Ys,{tag:String,moveClass:String}),setup(t,{slots:e}){const i=Dr(),n=hn();let o,r;return Nn((()=>{if(!o.length)return;const e=t.moveClass||`${t.name||"v"}-move`;if(!function(t,e,i){const n=t.cloneNode();t._vtc&&t._vtc.forEach((t=>{t.split(/\s+/).forEach((t=>t&&n.classList.remove(t)))}));i.split(/\s+/).forEach((t=>t&&n.classList.add(t))),n.style.display="none";const o=1===e.nodeType?e:e.parentNode;o.appendChild(n);const{hasTransform:r}=na(n);return o.removeChild(n),r}(o[0].el,i.vnode.el,e))return;o.forEach(ca),o.forEach(pa);const n=o.filter(da);sa(),n.forEach((t=>{const i=t.el,n=i.style;Js(i,e),n.transform=n.webkitTransform=n.transitionDuration="";const o=i._moveCb=t=>{t&&t.target!==i||t&&!/transform$/.test(t.propertyName)||(i.removeEventListener("transitionend",o),i._moveCb=null,Qs(i,e))};i.addEventListener("transitionend",o)}))})),()=>{const s=Oe(t),a=Zs(s);let l=s.tag||Wo;o=r,r=e.default?vn(e.default()):[];for(let t=0;t{const e=t.props["onUpdate:modelValue"];return D(e)?t=>it(e,t):e};function fa(t){t.target.composing=!0}function ga(t){const e=t.target;e.composing&&(e.composing=!1,function(t,e){const i=document.createEvent("HTMLEvents");i.initEvent(e,!0,!0),t.dispatchEvent(i)}(e,"input"))}const ma={created(t,{modifiers:{lazy:e,trim:i,number:n}},o){t._assign=ua(o);const r=n||o.props&&"number"===o.props.type;_s(t,e?"change":"input",(e=>{if(e.target.composing)return;let n=t.value;i?n=n.trim():r&&(n=ot(n)),t._assign(n)})),i&&_s(t,"change",(()=>{t.value=t.value.trim()})),e||(_s(t,"compositionstart",fa),_s(t,"compositionend",ga),_s(t,"change",ga))},mounted(t,{value:e}){t.value=null==e?"":e},beforeUpdate(t,{value:e,modifiers:{lazy:i,trim:n,number:o}},r){if(t._assign=ua(r),t.composing)return;if(document.activeElement===t){if(i)return;if(n&&t.value.trim()===e)return;if((o||"number"===t.type)&&ot(t.value)===e)return}const s=null==e?"":e;t.value!==s&&(t.value=s)}},va={deep:!0,created(t,e,i){t._assign=ua(i),_s(t,"change",(()=>{const e=t._modelValue,i=Sa(t),n=t.checked,o=t._assign;if(D(e)){const t=x(e,i),r=-1!==t;if(n&&!r)o(e.concat(i));else if(!n&&r){const i=[...e];i.splice(t,1),o(i)}}else if(j(e)){const t=new Set(e);n?t.add(i):t.delete(i),o(t)}else o(wa(t,n))}))},mounted:ya,beforeUpdate(t,e,i){t._assign=ua(i),ya(t,e,i)}};function ya(t,{value:e,oldValue:i},n){t._modelValue=e,D(e)?t.checked=x(e,n.props.value)>-1:j(e)?t.checked=e.has(n.props.value):e!==i&&(t.checked=y(e,wa(t,!0)))}const xa={created(t,{value:e},i){t.checked=y(e,i.props.value),t._assign=ua(i),_s(t,"change",(()=>{t._assign(Sa(t))}))},beforeUpdate(t,{value:e,oldValue:i},n){t._assign=ua(n),e!==i&&(t.checked=y(e,n.props.value))}},ba={deep:!0,created(t,{value:e,modifiers:{number:i}},n){const o=j(e);_s(t,"change",(()=>{const e=Array.prototype.filter.call(t.options,(t=>t.selected)).map((t=>i?ot(Sa(t)):Sa(t)));t._assign(t.multiple?o?new Set(e):e:e[0])})),t._assign=ua(n)},mounted(t,{value:e}){Ca(t,e)},beforeUpdate(t,e,i){t._assign=ua(i)},updated(t,{value:e}){Ca(t,e)}};function Ca(t,e){const i=t.multiple;if(!i||D(e)||j(e)){for(let n=0,o=t.options.length;n-1:o.selected=e.has(r);else if(y(Sa(o),e))return void(t.selectedIndex!==n&&(t.selectedIndex=n))}i||-1===t.selectedIndex||(t.selectedIndex=-1)}}function Sa(t){return"_value"in t?t._value:t.value}function wa(t,e){const i=e?"_trueValue":"_falseValue";return i in t?t[i]:e}const ka={created(t,e,i){Ma(t,e,i,null,"created")},mounted(t,e,i){Ma(t,e,i,null,"mounted")},beforeUpdate(t,e,i,n){Ma(t,e,i,n,"beforeUpdate")},updated(t,e,i,n){Ma(t,e,i,n,"updated")}};function Ma(t,e,i,n,o){let r;switch(t.tagName){case"SELECT":r=ba;break;case"TEXTAREA":r=ma;break;default:switch(i.props&&i.props.type){case"checkbox":r=va;break;case"radio":r=xa;break;default:r=ma}}const s=r[o];s&&s(t,e,i,n)}const Aa=["ctrl","shift","alt","meta"],Ta={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&0!==t.button,middle:t=>"button"in t&&1!==t.button,right:t=>"button"in t&&2!==t.button,exact:(t,e)=>Aa.some((i=>t[`${i}Key`]&&!e.includes(i)))},Pa=(t,e)=>(i,...n)=>{for(let t=0;ti=>{if(!("key"in i))return;const n=J(i.key);return e.some((t=>t===n||Oa[t]===n))?t(i):void 0},_a={beforeMount(t,{value:e},{transition:i}){t._vod="none"===t.style.display?"":t.style.display,i&&e?i.beforeEnter(t):La(t,e)},mounted(t,{value:e},{transition:i}){i&&e&&i.enter(t)},updated(t,{value:e,oldValue:i},{transition:n}){!e!=!i&&(n?e?(n.beforeEnter(t),La(t,!0),n.enter(t)):n.leave(t,(()=>{La(t,!1)})):La(t,e))},beforeUnmount(t,{value:e}){La(t,e)}};function La(t,e){t.style.display=e?t._vod:"none"}const Da=O({patchProp:(t,e,i,n,o=!1,r,s,h,c)=>{"class"===e?function(t,e,i){const n=t._vtc;n&&(e=(e?[e,...n]:[...n]).join(" ")),null==e?t.removeAttribute("class"):i?t.setAttribute("class",e):t.className=e}(t,n,o):"style"===e?function(t,e,i){const n=t.style,o=R(i);if(i&&!o){for(const t in i)Ss(n,t,i[t]);if(e&&!R(e))for(const t in e)null==i[t]&&Ss(n,t,"")}else{const r=n.display;o?e!==i&&(n.cssText=i):e&&t.removeAttribute("style"),"_vod"in t&&(n.display=r)}}(t,i,n):T(e)?P(e)||Ls(t,e,0,n,s):("."===e[0]?(e=e.slice(1),1):"^"===e[0]?(e=e.slice(1),0):function(t,e,i,n){if(n)return"innerHTML"===e||"textContent"===e||!!(e in t&&Bs.test(e)&&I(i));if("spellcheck"===e||"draggable"===e)return!1;if("form"===e)return!1;if("list"===e&&"INPUT"===t.tagName)return!1;if("type"===e&&"TEXTAREA"===t.tagName)return!1;if(Bs.test(e)&&R(i))return!1;return e in t}(t,e,n,o))?function(t,e,i,n,o,r,s){if("innerHTML"===e||"textContent"===e)return n&&s(n,o,r),void(t[e]=null==i?"":i);if("value"===e&&"PROGRESS"!==t.tagName&&!t.tagName.includes("-")){t._value=i;const n=null==i?"":i;return t.value===n&&"OPTION"!==t.tagName||(t.value=n),void(null==i&&t.removeAttribute(e))}if(""===i||null==i){const n=typeof t[e];if("boolean"===n)return void(t[e]=l(i));if(null==i&&"string"===n)return t[e]="",void t.removeAttribute(e);if("number"===n){try{t[e]=0}catch(t){}return void t.removeAttribute(e)}}try{t[e]=i}catch(t){}}(t,e,n,r,s,h,c):("true-value"===e?t._trueValue=n:"false-value"===e&&(t._falseValue=n),function(t,e,i,n,o){if(n&&e.startsWith("xlink:"))null==i?t.removeAttributeNS(Ms,e.slice(6,e.length)):t.setAttributeNS(Ms,e,i);else{const n=a(e);null==i||n&&!l(i)?t.removeAttribute(e):t.setAttribute(e,n?"":i)}}(t,e,n,o))}},bs);let Ba,ja=!1;function Na(){return Ba||(Ba=ko(Da))}function Ia(){return Ba=ja?Ba:Mo(Da),ja=!0,Ba}const Ra=(...t)=>{Na().render(...t)},za=(...t)=>{Ia().hydrate(...t)},Ga=(...t)=>{const e=Na().createApp(...t);const{mount:i}=e;return e.mount=t=>{const n=Fa(t);if(!n)return;const o=e._component;I(o)||o.render||o.template||(o.template=n.innerHTML),n.innerHTML="";const r=i(n,!1,n instanceof SVGElement);return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),r},e},Wa=(...t)=>{const e=Ia().createApp(...t);const{mount:i}=e;return e.mount=t=>{const e=Fa(t);if(e)return i(e,!0,e instanceof SVGElement)},e};function Fa(t){if(R(t)){return document.querySelector(t)}return t}let Ha=!1;const Va=()=>{Ha||(Ha=!0,ma.getSSRProps=({value:t})=>({value:t}),xa.getSSRProps=({value:t},e)=>{if(e.props&&y(e.props.value,t))return{checked:!0}},va.getSSRProps=({value:t},e)=>{if(D(t)){if(e.props&&x(t,e.props.value)>-1)return{checked:!0}}else if(j(t)){if(e.props&&t.has(e.props.value))return{checked:!0}}else if(t)return{checked:!0}},_a.getSSRProps=({value:t})=>{if(!t)return{style:{display:"none"}}})};function Xa(t){throw t}function Ua(t){}function Ya(t,e,i,n){const o=new SyntaxError(String(t));return o.code=t,o.loc=e,o}const $a=Symbol(""),Ka=Symbol(""),Za=Symbol(""),qa=Symbol(""),Ja=Symbol(""),Qa=Symbol(""),tl=Symbol(""),el=Symbol(""),il=Symbol(""),nl=Symbol(""),ol=Symbol(""),rl=Symbol(""),sl=Symbol(""),al=Symbol(""),ll=Symbol(""),hl=Symbol(""),cl=Symbol(""),pl=Symbol(""),dl=Symbol(""),ul=Symbol(""),fl=Symbol(""),gl=Symbol(""),ml=Symbol(""),vl=Symbol(""),yl=Symbol(""),xl=Symbol(""),bl=Symbol(""),Cl=Symbol(""),Sl=Symbol(""),wl=Symbol(""),kl=Symbol(""),Ml=Symbol(""),Al=Symbol(""),Tl=Symbol(""),Pl=Symbol(""),Ol=Symbol(""),El=Symbol(""),_l=Symbol(""),Ll=Symbol(""),Dl={[$a]:"Fragment",[Ka]:"Teleport",[Za]:"Suspense",[qa]:"KeepAlive",[Ja]:"BaseTransition",[Qa]:"openBlock",[tl]:"createBlock",[el]:"createElementBlock",[il]:"createVNode",[nl]:"createElementVNode",[ol]:"createCommentVNode",[rl]:"createTextVNode",[sl]:"createStaticVNode",[al]:"resolveComponent",[ll]:"resolveDynamicComponent",[hl]:"resolveDirective",[cl]:"resolveFilter",[pl]:"withDirectives",[dl]:"renderList",[ul]:"renderSlot",[fl]:"createSlots",[gl]:"toDisplayString",[ml]:"mergeProps",[vl]:"normalizeClass",[yl]:"normalizeStyle",[xl]:"normalizeProps",[bl]:"guardReactiveProps",[Cl]:"toHandlers",[Sl]:"camelize",[wl]:"capitalize",[kl]:"toHandlerKey",[Ml]:"setBlockTracking",[Al]:"pushScopeId",[Tl]:"popScopeId",[Pl]:"withCtx",[Ol]:"unref",[El]:"isRef",[_l]:"withMemo",[Ll]:"isMemoSame"};const Bl={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function jl(t,e,i,n,o,r,s,a=!1,l=!1,h=!1,c=Bl){return t&&(a?(t.helper(Qa),t.helper(ch(t.inSSR,h))):t.helper(hh(t.inSSR,h)),s&&t.helper(pl)),{type:13,tag:e,props:i,children:n,patchFlag:o,dynamicProps:r,directives:s,isBlock:a,disableTracking:l,isComponent:h,loc:c}}function Nl(t,e=Bl){return{type:17,loc:e,elements:t}}function Il(t,e=Bl){return{type:15,loc:e,properties:t}}function Rl(t,e){return{type:16,loc:Bl,key:R(t)?zl(t,!0):t,value:e}}function zl(t,e=!1,i=Bl,n=0){return{type:4,loc:i,content:t,isStatic:e,constType:e?3:n}}function Gl(t,e=Bl){return{type:8,loc:e,children:t}}function Wl(t,e=[],i=Bl){return{type:14,loc:i,callee:t,arguments:e}}function Fl(t,e,i=!1,n=!1,o=Bl){return{type:18,params:t,returns:e,newline:i,isSlot:n,loc:o}}function Hl(t,e,i,n=!0){return{type:19,test:t,consequent:e,alternate:i,newline:n,loc:Bl}}const Vl=t=>4===t.type&&t.isStatic,Xl=(t,e)=>t===e||t===J(e);function Ul(t){return Xl(t,"Teleport")?Ka:Xl(t,"Suspense")?Za:Xl(t,"KeepAlive")?qa:Xl(t,"BaseTransition")?Ja:void 0}const Yl=/^\d|[^\$\w]/,$l=t=>!Yl.test(t),Kl=/[A-Za-z_$\xA0-\uFFFF]/,Zl=/[\.\?\w$\xA0-\uFFFF]/,ql=/\s+[.[]\s*|\s*[.[]\s+/g,Jl=t=>{t=t.trim().replace(ql,(t=>t.trim()));let e=0,i=[],n=0,o=0,r=null;for(let s=0;s4===t.key.type&&t.key.content===i))}t||r.properties.unshift(e),n=r}else n=Wl(i.helper(ml),[Il([e]),r]),o&&o.callee===bl&&(o=s[s.length-2]);13===t.type?o?o.arguments[0]=n:t.props=n:o?o.arguments[0]=n:t.arguments[2]=n}function fh(t,e){return`_${e}_${t.replace(/[^\w]/g,((e,i)=>"-"===e?"_":t.charCodeAt(i).toString()))}`}function gh(t,{helper:e,removeHelper:i,inSSR:n}){t.isBlock||(t.isBlock=!0,i(hh(n,t.isComponent)),e(Qa),e(ch(n,t.isComponent)))}function mh(t,e){const i=e.options?e.options.compatConfig:e.compatConfig,n=i&&i[t];return"MODE"===t?n||3:n}function vh(t,e){const i=mh("MODE",e),n=mh(t,e);return 3===i?!0===n:!1!==n}function yh(t,e,i,...n){return vh(t,e)}const xh=/&(gt|lt|amp|apos|quot);/g,bh={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Ch={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:M,isPreTag:M,isCustomElement:M,decodeEntities:t=>t.replace(xh,((t,e)=>bh[e])),onError:Xa,onWarn:Ua,comments:!1};function Sh(t,e={}){const i=function(t,e){const i=O({},Ch);let n;for(n in e)i[n]=void 0===e[n]?Ch[n]:e[n];return{options:i,column:1,line:1,offset:0,originalSource:t,source:t,inPre:!1,inVPre:!1,onWarn:i.onWarn}}(t,e),n=Nh(i);return function(t,e=Bl){return{type:0,children:t,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:e}}(wh(i,0,[]),Ih(i,n))}function wh(t,e,i){const n=Rh(i),o=n?n.ns:0,r=[];for(;!Vh(t,e,i);){const s=t.source;let a;if(0===e||1===e)if(!t.inVPre&&zh(s,t.options.delimiters[0]))a=Dh(t,e);else if(0===e&&"<"===s[0])if(1===s.length)Hh(t,5,1);else if("!"===s[1])zh(s,"\x3c!--")?a=Ah(t):zh(s,""===s[2]){Hh(t,14,2),Gh(t,3);continue}if(/[a-z]/i.test(s[2])){Hh(t,23),Eh(t,1,n);continue}Hh(t,12,2),a=Th(t)}else/[a-z]/i.test(s[1])?(a=Ph(t,i),vh("COMPILER_NATIVE_TEMPLATE",t)&&a&&"template"===a.tag&&!a.props.some((t=>7===t.type&&Oh(t.name)))&&(a=a.children)):"?"===s[1]?(Hh(t,21,1),a=Th(t)):Hh(t,12,1);if(a||(a=Bh(t,e)),D(a))for(let t=0;t/.exec(t.source);if(n){n.index<=3&&Hh(t,0),n[1]&&Hh(t,10),i=t.source.slice(4,n.index);const e=t.source.slice(0,n.index);let o=1,r=0;for(;-1!==(r=e.indexOf("\x3c!--",o));)Gh(t,r-o+1),r+4");return-1===o?(n=t.source.slice(i),Gh(t,t.source.length)):(n=t.source.slice(i,o),Gh(t,o+1)),{type:3,content:n,loc:Ih(t,e)}}function Ph(t,e){const i=t.inPre,n=t.inVPre,o=Rh(e),r=Eh(t,0,o),s=t.inPre&&!i,a=t.inVPre&&!n;if(r.isSelfClosing||t.options.isVoidTag(r.tag))return s&&(t.inPre=!1),a&&(t.inVPre=!1),r;e.push(r);const l=t.options.getTextMode(r,o),h=wh(t,l,e);e.pop();{const e=r.props.find((t=>6===t.type&&"inline-template"===t.name));if(e&&yh("COMPILER_INLINE_TEMPLATE",t,e.loc)){const i=Ih(t,r.loc.end);e.value={type:2,content:i.source,loc:i}}}if(r.children=h,Xh(t.source,r.tag))Eh(t,1,o);else if(Hh(t,24,0,r.loc.start),0===t.source.length&&"script"===r.tag.toLowerCase()){const e=h[0];e&&zh(e.loc.source,"\x3c!--")&&Hh(t,8)}return r.loc=Ih(t,r.loc.start),s&&(t.inPre=!1),a&&(t.inVPre=!1),r}const Oh=o("if,else,else-if,for,slot");function Eh(t,e,i){const n=Nh(t),o=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(t.source),r=o[1],s=t.options.getNamespace(r,i);Gh(t,o[0].length),Wh(t);const a=Nh(t),l=t.source;t.options.isPreTag(r)&&(t.inPre=!0);let h=_h(t,e);0===e&&!t.inVPre&&h.some((t=>7===t.type&&"pre"===t.name))&&(t.inVPre=!0,O(t,a),t.source=l,h=_h(t,e).filter((t=>"v-pre"!==t.name)));let c=!1;if(0===t.source.length?Hh(t,9):(c=zh(t.source,"/>"),1===e&&c&&Hh(t,4),Gh(t,c?2:1)),1===e)return;let p=0;return t.inVPre||("slot"===r?p=2:"template"===r?h.some((t=>7===t.type&&Oh(t.name)))&&(p=3):function(t,e,i){const n=i.options;if(n.isCustomElement(t))return!1;if("component"===t||/^[A-Z]/.test(t)||Ul(t)||n.isBuiltInComponent&&n.isBuiltInComponent(t)||n.isNativeTag&&!n.isNativeTag(t))return!0;for(let t=0;t0&&!zh(t.source,">")&&!zh(t.source,"/>");){if(zh(t.source,"index.html")){Hh(t,22),Gh(t,1),Wh(t);continue}1===e&&Hh(t,3);const o=Lh(t,n);6===o.type&&o.value&&"class"===o.name&&(o.value.content=o.value.content.replace(/\s+/g," ").trim()),0===e&&i.push(o),/^[^\t\r\n\f />]/.test(t.source)&&Hh(t,15),Wh(t)}return i}function Lh(t,e){const i=Nh(t),n=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(t.source)[0];e.has(n)&&Hh(t,2),e.add(n),"="===n[0]&&Hh(t,19);{const e=/["'<]/g;let i;for(;i=e.exec(n);)Hh(t,17,i.index)}let o;Gh(t,n.length),/^[\t\r\n\f ]*=/.test(t.source)&&(Wh(t),Gh(t,1),Wh(t),o=function(t){const e=Nh(t);let i;const n=t.source[0],o='"'===n||"'"===n;if(o){Gh(t,1);const e=t.source.indexOf(n);-1===e?i=jh(t,t.source.length,4):(i=jh(t,e,4),Gh(t,1))}else{const e=/^[^\t\r\n\f >]+/.exec(t.source);if(!e)return;const n=/["'<=`]/g;let o;for(;o=n.exec(e[0]);)Hh(t,18,o.index);i=jh(t,e[0].length,4)}return{content:i,isQuoted:o,loc:Ih(t,e)}}(t),o||Hh(t,13));const r=Ih(t,i);if(!t.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(n)){const e=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(n);let s,a=zh(n,"."),l=e[1]||(a||zh(n,":")?"bind":zh(n,"@")?"on":"slot");if(e[2]){const o="slot"===l,r=n.lastIndexOf(e[2]),a=Ih(t,Fh(t,i,r),Fh(t,i,r+e[2].length+(o&&e[3]||"").length));let h=e[2],c=!0;h.startsWith("[")?(c=!1,h.endsWith("]")?h=h.slice(1,h.length-1):(Hh(t,27),h=h.slice(1))):o&&(h+=e[3]||""),s={type:4,content:h,isStatic:c,constType:c?3:0,loc:a}}if(o&&o.isQuoted){const t=o.loc;t.start.offset++,t.start.column++,t.end=th(t.start,o.content),t.source=t.source.slice(1,-1)}const h=e[3]?e[3].slice(1).split("."):[];return a&&h.push("prop"),"bind"===l&&s&&h.includes("sync")&&yh("COMPILER_V_BIND_SYNC",t,0,s.loc.source)&&(l="model",h.splice(h.indexOf("sync"),1)),{type:7,name:l,exp:o&&{type:4,content:o.content,isStatic:!1,constType:0,loc:o.loc},arg:s,modifiers:h,loc:r}}return!t.inVPre&&zh(n,"v-")&&Hh(t,26),{type:6,name:n,value:o&&{type:2,content:o.content,loc:o.loc},loc:r}}function Dh(t,e){const[i,n]=t.options.delimiters,o=t.source.indexOf(n,i.length);if(-1===o)return void Hh(t,25);const r=Nh(t);Gh(t,i.length);const s=Nh(t),a=Nh(t),l=o-i.length,h=t.source.slice(0,l),c=jh(t,l,e),p=c.trim(),d=c.indexOf(p);d>0&&eh(s,h,d);return eh(a,h,l-(c.length-p.length-d)),Gh(t,n.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:p,loc:Ih(t,s,a)},loc:Ih(t,r)}}function Bh(t,e){const i=3===e?["]]>"]:["<",t.options.delimiters[0]];let n=t.source.length;for(let e=0;eo&&(n=o)}const o=Nh(t);return{type:2,content:jh(t,n,e),loc:Ih(t,o)}}function jh(t,e,i){const n=t.source.slice(0,e);return Gh(t,e),2!==i&&3!==i&&n.includes("&")?t.options.decodeEntities(n,4===i):n}function Nh(t){const{column:e,line:i,offset:n}=t;return{column:e,line:i,offset:n}}function Ih(t,e,i){return{start:e,end:i=i||Nh(t),source:t.originalSource.slice(e.offset,i.offset)}}function Rh(t){return t[t.length-1]}function zh(t,e){return t.startsWith(e)}function Gh(t,e){const{source:i}=t;eh(t,i,e),t.source=i.slice(e)}function Wh(t){const e=/^[\t\r\n\f ]+/.exec(t.source);e&&Gh(t,e[0].length)}function Fh(t,e,i){return th(e,t.originalSource.slice(e.offset,i),i)}function Hh(t,e,i,n=Nh(t)){i&&(n.offset+=i,n.column+=i),t.options.onError(Ya(e,{start:n,end:n,source:""}))}function Vh(t,e,i){const n=t.source;switch(e){case 0:if(zh(n,"=0;--t)if(Xh(n,i[t].tag))return!0;break;case 1:case 2:{const t=Rh(i);if(t&&Xh(n,t.tag))return!0;break}case 3:if(zh(n,"]]>"))return!0}return!n}function Xh(t,e){return zh(t,"]/.test(t[2+e.length]||">")}function Uh(t,e){$h(t,e,Yh(t,t.children[0]))}function Yh(t,e){const{children:i}=t;return 1===i.length&&1===e.type&&!lh(e)}function $h(t,e,i=!1){const{children:n}=t,o=n.length;let r=0;for(let t=0;t0){if(t>=2){o.codegenNode.patchFlag="-1",o.codegenNode=e.hoist(o.codegenNode),r++;continue}}else{const t=o.codegenNode;if(13===t.type){const i=tc(t);if((!i||512===i||1===i)&&Jh(o,e)>=2){const i=Qh(o);i&&(t.props=e.hoist(i))}t.dynamicProps&&(t.dynamicProps=e.hoist(t.dynamicProps))}}}else 12===o.type&&Kh(o.content,e)>=2&&(o.codegenNode=e.hoist(o.codegenNode),r++);if(1===o.type){const t=1===o.tagType;t&&e.scopes.vSlot++,$h(o,e),t&&e.scopes.vSlot--}else if(11===o.type)$h(o,e,1===o.children.length);else if(9===o.type)for(let t=0;t1)for(let o=0;o`_${Dl[M.helper(t)]}`,replaceNode(t){M.parent.children[M.childIndex]=M.currentNode=t},removeNode(t){const e=M.parent.children,i=t?e.indexOf(t):M.currentNode?M.childIndex:-1;t&&t!==M.currentNode?M.childIndex>i&&(M.childIndex--,M.onNodeRemoved()):(M.currentNode=null,M.onNodeRemoved()),M.parent.children.splice(i,1)},onNodeRemoved:()=>{},addIdentifiers(t){},removeIdentifiers(t){},hoist(t){R(t)&&(t=zl(t)),M.hoists.push(t);const e=zl(`_hoisted_${M.hoists.length}`,!1,t.loc,2);return e.hoisted=t,e},cache:(t,e=!1)=>function(t,e,i=!1){return{type:20,index:t,value:e,isVNode:i,loc:Bl}}(M.cached++,t,e)};return M.filters=new Set,M}function ic(t,e){const i=ec(t,e);nc(t,i),e.hoistStatic&&Uh(t,i),e.ssr||function(t,e){const{helper:i}=e,{children:n}=t;if(1===n.length){const i=n[0];if(Yh(t,i)&&i.codegenNode){const n=i.codegenNode;13===n.type&&gh(n,e),t.codegenNode=n}else t.codegenNode=i}else if(n.length>1){let n=64;0,t.codegenNode=jl(e,i($a),void 0,t.children,n+"",void 0,void 0,!0,void 0,!1)}}(t,i),t.helpers=[...i.helpers.keys()],t.components=[...i.components],t.directives=[...i.directives],t.imports=i.imports,t.hoists=i.hoists,t.temps=i.temps,t.cached=i.cached,t.filters=[...i.filters]}function nc(t,e){e.currentNode=t;const{nodeTransforms:i}=e,n=[];for(let o=0;o{i--};for(;ie===t:e=>t.test(e);return(t,n)=>{if(1===t.type){const{props:o}=t;if(3===t.tagType&&o.some(sh))return;const r=[];for(let s=0;s`_${Dl[t]}`,push(t,e){u.code+=t},indent(){f(++u.indentLevel)},deindent(t=!1){t?--u.indentLevel:f(--u.indentLevel)},newline(){f(u.indentLevel)}};function f(t){u.push("\n"+" ".repeat(t))}return u}(t,e);e.onContextCreated&&e.onContextCreated(i);const{mode:n,push:o,prefixIdentifiers:r,indent:s,deindent:a,newline:l,scopeId:h,ssr:c}=i,p=t.helpers.length>0,d=!r&&"module"!==n;!function(t,e){const{ssr:i,prefixIdentifiers:n,push:o,newline:r,runtimeModuleName:s,runtimeGlobalName:a,ssrRuntimeModuleName:l}=e,h=a,c=t=>`${Dl[t]}: _${Dl[t]}`;if(t.helpers.length>0&&(o(`const _Vue = ${h}\n`),t.hoists.length)){o(`const { ${[il,nl,ol,rl,sl].filter((e=>t.helpers.includes(e))).map(c).join(", ")} } = _Vue\n`)}(function(t,e){if(!t.length)return;e.pure=!0;const{push:i,newline:n,helper:o,scopeId:r,mode:s}=e;n();for(let o=0;o`${Dl[t]}: _${Dl[t]}`)).join(", ")} } = _Vue`),o("\n"),l())),t.components.length&&(ac(t.components,"component",i),(t.directives.length||t.temps>0)&&l()),t.directives.length&&(ac(t.directives,"directive",i),t.temps>0&&l()),t.filters&&t.filters.length&&(l(),ac(t.filters,"filter",i),l()),t.temps>0){o("let ");for(let e=0;e0?", ":""}_temp${e}`)}return(t.components.length||t.directives.length||t.temps)&&(o("\n"),l()),c||o("return "),t.codegenNode?cc(t.codegenNode,i):o("null"),d&&(a(),o("}")),a(),o("}"),{ast:t,code:i.code,preamble:"",map:i.map?i.map.toJSON():void 0}}function ac(t,e,{helper:i,push:n,newline:o,isTS:r}){const s=i("filter"===e?cl:"component"===e?al:hl);for(let i=0;i3||!1;e.push("["),i&&e.indent(),hc(t,e,i),i&&e.deindent(),e.push("]")}function hc(t,e,i=!1,n=!0){const{push:o,newline:r}=e;for(let s=0;st||"null"))}([r,s,a,l,h]),e),i(")"),p&&i(")");c&&(i(", "),cc(c,e),i(")"))}(t,e);break;case 14:!function(t,e){const{push:i,helper:n,pure:o}=e,r=R(t.callee)?t.callee:n(t.callee);o&&i(rc);i(r+"(",t),hc(t.arguments,e),i(")")}(t,e);break;case 15:!function(t,e){const{push:i,indent:n,deindent:o,newline:r}=e,{properties:s}=t;if(!s.length)return void i("{}",t);const a=s.length>1||!1;i(a?"{":"{ "),a&&n();for(let t=0;t "),(l||a)&&(i("{"),n());s?(l&&i("return "),D(s)?lc(s,e):cc(s,e)):a&&cc(a,e);(l||a)&&(o(),i("}"));h&&(t.isNonScopedSlot&&i(", undefined, true"),i(")"))}(t,e);break;case 19:!function(t,e){const{test:i,consequent:n,alternate:o,newline:r}=t,{push:s,indent:a,deindent:l,newline:h}=e;if(4===i.type){const t=!$l(i.content);t&&s("("),pc(i,e),t&&s(")")}else s("("),cc(i,e),s(")");r&&a(),e.indentLevel++,r||s(" "),s("? "),cc(n,e),e.indentLevel--,r&&h(),r||s(" "),s(": ");const c=19===o.type;c||e.indentLevel++;cc(o,e),c||e.indentLevel--;r&&l(!0)}(t,e);break;case 20:!function(t,e){const{push:i,helper:n,indent:o,deindent:r,newline:s}=e;i(`_cache[${t.index}] || (`),t.isVNode&&(o(),i(`${n(Ml)}(-1),`),s());i(`_cache[${t.index}] = `),cc(t.value,e),t.isVNode&&(i(","),s(),i(`${n(Ml)}(1),`),s(),i(`_cache[${t.index}]`),r());i(")")}(t,e);break;case 21:hc(t.body,e,!0,!1);break;case 22:case 23:case 24:case 25:case 26:case 10:break;default:0}}function pc(t,e){const{content:i,isStatic:n}=t;e.push(n?JSON.stringify(i):i,t)}function dc(t,e){for(let i=0;ifunction(t,e,i,n){if(!("else"===e.name||e.exp&&e.exp.content.trim())){const n=e.exp?e.exp.loc:t.loc;i.onError(Ya(28,e.loc)),e.exp=zl("true",!1,n)}0;if("if"===e.name){const o=gc(t,e),r={type:9,loc:t.loc,branches:[o]};if(i.replaceNode(r),n)return n(r,o,!0)}else{const o=i.parent.children;let r=o.indexOf(t);for(;r-- >=-1;){const s=o[r];if(!s||2!==s.type||s.content.trim().length){if(s&&9===s.type){"else-if"===e.name&&void 0===s.branches[s.branches.length-1].condition&&i.onError(Ya(30,t.loc)),i.removeNode();const o=gc(t,e);0,s.branches.push(o);const r=n&&n(s,o,!1);nc(o,i),r&&r(),i.currentNode=null}else i.onError(Ya(30,t.loc));break}i.removeNode(s)}}}(t,e,i,((t,e,n)=>{const o=i.parent.children;let r=o.indexOf(t),s=0;for(;r-- >=0;){const t=o[r];t&&9===t.type&&(s+=t.branches.length)}return()=>{if(n)t.codegenNode=mc(e,s,i);else{(function(t){for(;;)if(19===t.type){if(19!==t.alternate.type)return t;t=t.alternate}else 20===t.type&&(t=t.value)}(t.codegenNode)).alternate=mc(e,s+t.branches.length-1,i)}}}))));function gc(t,e){return{type:10,loc:t.loc,condition:"else"===e.name?void 0:e.exp,children:3!==t.tagType||ih(t,"for")?[t]:t.children,userKey:nh(t,"key")}}function mc(t,e,i){return t.condition?Hl(t.condition,vc(t,e,i),Wl(i.helper(ol),['""',"true"])):vc(t,e,i)}function vc(t,e,i){const{helper:n}=i,o=Rl("key",zl(`${e}`,!1,Bl,2)),{children:r}=t,s=r[0];if(1!==r.length||1!==s.type){if(1===r.length&&11===s.type){const t=s.codegenNode;return uh(t,o,i),t}{let e=64;return jl(i,n($a),Il([o]),r,e+"",void 0,void 0,!0,!1,!1,t.loc)}}{const t=s.codegenNode,e=14===(a=t).type&&a.callee===_l?a.arguments[1].returns:a;return 13===e.type&&gh(e,i),uh(e,o,i),t}var a}const yc=oc("for",((t,e,i)=>{const{helper:n,removeHelper:o}=i;return function(t,e,i,n){if(!e.exp)return void i.onError(Ya(31,e.loc));const o=Sc(e.exp,i);if(!o)return void i.onError(Ya(32,e.loc));const{addIdentifiers:r,removeIdentifiers:s,scopes:a}=i,{source:l,value:h,key:c,index:p}=o,d={type:11,loc:e.loc,source:l,valueAlias:h,keyAlias:c,objectIndexAlias:p,parseResult:o,children:ah(t)?t.children:[t]};i.replaceNode(d),a.vFor++;const u=n&&n(d);return()=>{a.vFor--,u&&u()}}(t,e,i,(e=>{const r=Wl(n(dl),[e.source]),s=ah(t),a=ih(t,"memo"),l=nh(t,"key"),h=l&&(6===l.type?zl(l.value.content,!0):l.exp),c=l?Rl("key",h):null,p=4===e.source.type&&e.source.constType>0,d=p?64:l?128:256;return e.codegenNode=jl(i,n($a),void 0,r,d+"",void 0,void 0,!0,!p,!1,t.loc),()=>{let l;const{children:d}=e;const u=1!==d.length||1!==d[0].type,f=lh(t)?t:s&&1===t.children.length&&lh(t.children[0])?t.children[0]:null;if(f?(l=f.codegenNode,s&&c&&uh(l,c,i)):u?l=jl(i,n($a),c?Il([c]):void 0,t.children,"64",void 0,void 0,!0,void 0,!1):(l=d[0].codegenNode,s&&c&&uh(l,c,i),l.isBlock!==!p&&(l.isBlock?(o(Qa),o(ch(i.inSSR,l.isComponent))):o(hh(i.inSSR,l.isComponent))),l.isBlock=!p,l.isBlock?(n(Qa),n(ch(i.inSSR,l.isComponent))):n(hh(i.inSSR,l.isComponent))),a){const t=Fl(kc(e.parseResult,[zl("_cached")]));t.body={type:21,body:[Gl(["const _memo = (",a.exp,")"]),Gl(["if (_cached",...h?[" && _cached.key === ",h]:[],` && ${i.helperString(Ll)}(_cached, _memo)) return _cached`]),Gl(["const _item = ",l]),zl("_item.memo = _memo"),zl("return _item")],loc:Bl},r.arguments.push(t,zl("_cache"),zl(String(i.cached++)))}else r.arguments.push(Fl(kc(e.parseResult),l,!0))}}))}));const xc=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,bc=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Cc=/^\(|\)$/g;function Sc(t,e){const i=t.loc,n=t.content,o=n.match(xc);if(!o)return;const[,r,s]=o,a={source:wc(i,s.trim(),n.indexOf(s,r.length)),value:void 0,key:void 0,index:void 0};let l=r.trim().replace(Cc,"").trim();const h=r.indexOf(l),c=l.match(bc);if(c){l=l.replace(bc,"").trim();const t=c[1].trim();let e;if(t&&(e=n.indexOf(t,h+l.length),a.key=wc(i,t,e)),c[2]){const o=c[2].trim();o&&(a.index=wc(i,o,n.indexOf(o,a.key?e+t.length:h+l.length)))}}return l&&(a.value=wc(i,l,h)),a}function wc(t,e,i){return zl(e,!1,Ql(t,i,e.length))}function kc({value:t,key:e,index:i},n=[]){return function(t){let e=t.length;for(;e--&&!t[e];);return t.slice(0,e+1).map(((t,e)=>t||zl("_".repeat(e+1),!1)))}([t,e,i,...n])}const Mc=zl("undefined",!1),Ac=(t,e)=>{if(1===t.type&&(1===t.tagType||3===t.tagType)){const i=ih(t,"slot");if(i)return i.exp,e.scopes.vSlot++,()=>{e.scopes.vSlot--}}},Tc=(t,e,i)=>Fl(t,e,!1,!0,e.length?e[0].loc:i);function Pc(t,e,i=Tc){e.helper(Pl);const{children:n,loc:o}=t,r=[],s=[];let a=e.scopes.vSlot>0||e.scopes.vFor>0;const l=ih(t,"slot",!0);if(l){const{arg:t,exp:e}=l;t&&!Vl(t)&&(a=!0),r.push(Rl(t||zl("default",!0),i(e,n,o)))}let h=!1,c=!1;const p=[],d=new Set;for(let t=0;t{const r=i(t,n,o);return e.compatConfig&&(r.isNonScopedSlot=!0),Rl("default",r)};h?p.length&&p.some((t=>_c(t)))&&(c?e.onError(Ya(39,p[0].loc)):r.push(t(void 0,p))):r.push(t(void 0,n))}const u=a?2:Ec(t.children)?3:1;let f=Il(r.concat(Rl("_",zl(u+"",!1))),o);return s.length&&(f=Wl(e.helper(fl),[f,Nl(s)])),{slots:f,hasDynamicSlots:a}}function Oc(t,e){return Il([Rl("name",t),Rl("fn",e)])}function Ec(t){for(let e=0;efunction(){if(1!==(t=e.currentNode).type||0!==t.tagType&&1!==t.tagType)return;const{tag:i,props:n}=t,o=1===t.tagType;let r=o?function(t,e,i=!1){let{tag:n}=t;const o=Ic(n),r=nh(t,"is");if(r)if(o||vh("COMPILER_IS_ON_ELEMENT",e)){const t=6===r.type?r.value&&zl(r.value.content,!0):r.exp;if(t)return Wl(e.helper(ll),[t])}else 6===r.type&&r.value.content.startsWith("vue:")&&(n=r.value.content.slice(4));const s=!o&&ih(t,"is");if(s&&s.exp)return Wl(e.helper(ll),[s.exp]);const a=Ul(n)||e.isBuiltInComponent(n);if(a)return i||e.helper(a),a;return e.helper(al),e.components.add(n),fh(n,"component")}(t,e):`"${i}"`;let s,a,l,h,c,p,d=0,u=G(r)&&r.callee===ll||r===Ka||r===Za||!o&&("svg"===i||"foreignObject"===i);if(n.length>0){const i=Bc(t,e);s=i.props,d=i.patchFlag,c=i.dynamicPropNames;const n=i.directives;p=n&&n.length?Nl(n.map((t=>function(t,e){const i=[],n=Lc.get(t);n?i.push(e.helperString(n)):(e.helper(hl),e.directives.add(t.name),i.push(fh(t.name,"directive")));const{loc:o}=t;t.exp&&i.push(t.exp);t.arg&&(t.exp||i.push("void 0"),i.push(t.arg));if(Object.keys(t.modifiers).length){t.arg||(t.exp||i.push("void 0"),i.push("void 0"));const e=zl("true",!1,o);i.push(Il(t.modifiers.map((t=>Rl(t,e))),o))}return Nl(i,t.loc)}(t,e)))):void 0,i.shouldUseBlock&&(u=!0)}if(t.children.length>0){r===qa&&(u=!0,d|=1024);if(o&&r!==Ka&&r!==qa){const{slots:i,hasDynamicSlots:n}=Pc(t,e);a=i,n&&(d|=1024)}else if(1===t.children.length&&r!==Ka){const i=t.children[0],n=i.type,o=5===n||8===n;o&&0===Kh(i,e)&&(d|=1),a=o||2===n?i:t.children}else a=t.children}0!==d&&(l=String(d),c&&c.length&&(h=function(t){let e="[";for(let i=0,n=t.length;i0;let d=!1,u=0,f=!1,g=!1,m=!1,v=!1,y=!1,x=!1;const b=[],C=({key:t,value:i})=>{if(Vl(t)){const n=t.content,o=T(n);if(a||!o||"onclick"===n.toLowerCase()||"onUpdate:modelValue"===n||U(n)||(v=!0),o&&U(n)&&(x=!0),20===i.type||(4===i.type||8===i.type)&&Kh(i,e)>0)return;"ref"===n?f=!0:"class"===n?g=!0:"style"===n?m=!0:"key"===n||b.includes(n)||b.push(n),!a||"class"!==n&&"style"!==n||b.includes(n)||b.push(n)}else y=!0};for(let s=0;s0&&l.push(Rl(zl("ref_for",!0),zl("true")))),"is"===i&&(Ic(o)||n&&n.content.startsWith("vue:")||vh("COMPILER_IS_ON_ELEMENT",e)))continue;l.push(Rl(zl(i,!0,Ql(t,0,i.length)),zl(n?n.content:"",r,n?n.loc:t)))}else{const{name:i,arg:s,exp:f,loc:g}=u,m="bind"===i,v="on"===i;if("slot"===i){a||e.onError(Ya(40,g));continue}if("once"===i||"memo"===i)continue;if("is"===i||m&&oh(s,"is")&&(Ic(o)||vh("COMPILER_IS_ON_ELEMENT",e)))continue;if(v&&n)continue;if((m&&oh(s,"key")||v&&p&&oh(s,"vue:before-update"))&&(d=!0),m&&oh(s,"ref")&&e.scopes.vFor>0&&l.push(Rl(zl("ref_for",!0),zl("true"))),!s&&(m||v)){if(y=!0,f)if(l.length&&(h.push(Il(jc(l),r)),l=[]),m){if(vh("COMPILER_V_BIND_OBJECT_ORDER",e)){h.unshift(f);continue}h.push(f)}else h.push({type:14,loc:g,callee:e.helper(Cl),arguments:[f]});else e.onError(Ya(m?34:35,g));continue}const x=e.directiveTransforms[i];if(x){const{props:i,needRuntime:o}=x(u,t,e);!n&&i.forEach(C),l.push(...i),o&&(c.push(u),z(o)&&Lc.set(u,o))}else Y(i)||(c.push(u),p&&(d=!0))}}let S;if(h.length?(l.length&&h.push(Il(jc(l),r)),S=h.length>1?Wl(e.helper(ml),h,r):h[0]):l.length&&(S=Il(jc(l),r)),y?u|=16:(g&&!a&&(u|=2),m&&!a&&(u|=4),b.length&&(u|=8),v&&(u|=32)),d||0!==u&&32!==u||!(f||x||c.length>0)||(u|=512),!e.inSSR&&S)switch(S.type){case 15:let t=-1,i=-1,n=!1;for(let e=0;e{const e=Object.create(null);return i=>e[i]||(e[i]=t(i))})((t=>t.replace(Rc,((t,e)=>e?e.toUpperCase():"")))),Gc=(t,e)=>{if(lh(t)){const{children:i,loc:n}=t,{slotName:o,slotProps:r}=function(t,e){let i,n='"default"';const o=[];for(let e=0;e0){const{props:n,directives:r}=Bc(t,e,o);i=n,r.length&&e.onError(Ya(36,r[0].loc))}return{slotName:n,slotProps:i}}(t,e),s=[e.prefixIdentifiers?"_ctx.$slots":"$slots",o,"{}","undefined","true"];let a=2;r&&(s[2]=r,a=3),i.length&&(s[3]=Fl([],i,!1,!1,n),a=4),e.scopeId&&!e.slotted&&(a=5),s.splice(a),t.codegenNode=Wl(e.helper(ul),s,n)}};const Wc=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Fc=(t,e,i,n)=>{const{loc:o,modifiers:r,arg:s}=t;let a;if(t.exp||r.length||i.onError(Ya(35,o)),4===s.type)if(s.isStatic){let t=s.content;t.startsWith("vue:")&&(t=`vnode-${t.slice(4)}`),a=zl(tt(Z(t)),!0,s.loc)}else a=Gl([`${i.helperString(kl)}(`,s,")"]);else a=s,a.children.unshift(`${i.helperString(kl)}(`),a.children.push(")");let l=t.exp;l&&!l.content.trim()&&(l=void 0);let h=i.cacheHandlers&&!l&&!i.inVOnce;if(l){const t=Jl(l.content),e=!(t||Wc.test(l.content)),i=l.content.includes(";");0,(e||h&&t)&&(l=Gl([`${e?"$event":"(...args)"} => ${i?"{":"("}`,l,i?"}":")"]))}let c={props:[Rl(a,l||zl("() => {}",!1,o))]};return n&&(c=n(c)),h&&(c.props[0].value=i.cache(c.props[0].value)),c.props.forEach((t=>t.key.isHandlerKey=!0)),c},Hc=(t,e,i)=>{const{exp:n,modifiers:o,loc:r}=t,s=t.arg;return 4!==s.type?(s.children.unshift("("),s.children.push(') || ""')):s.isStatic||(s.content=`${s.content} || ""`),o.includes("camel")&&(4===s.type?s.isStatic?s.content=Z(s.content):s.content=`${i.helperString(Sl)}(${s.content})`:(s.children.unshift(`${i.helperString(Sl)}(`),s.children.push(")"))),i.inSSR||(o.includes("prop")&&Vc(s,"."),o.includes("attr")&&Vc(s,"^")),!n||4===n.type&&!n.content.trim()?(i.onError(Ya(34,r)),{props:[Rl(s,zl("",!0,r))]}):{props:[Rl(s,n)]}},Vc=(t,e)=>{4===t.type?t.isStatic?t.content=e+t.content:t.content=`\`${e}\${${t.content}}\``:(t.children.unshift(`'${e}' + (`),t.children.push(")"))},Xc=(t,e)=>{if(0===t.type||1===t.type||11===t.type||10===t.type)return()=>{const i=t.children;let n,o=!1;for(let t=0;t7===t.type&&!e.directiveTransforms[t.name]))||"template"===t.tag)))for(let t=0;t{if(1===t.type&&ih(t,"once",!0)){if(Uc.has(t)||e.inVOnce)return;return Uc.add(t),e.inVOnce=!0,e.helper(Ml),()=>{e.inVOnce=!1;const t=e.currentNode;t.codegenNode&&(t.codegenNode=e.cache(t.codegenNode,!0))}}},$c=(t,e,i)=>{const{exp:n,arg:o}=t;if(!n)return i.onError(Ya(41,t.loc)),Kc();const r=n.loc.source,s=4===n.type?n.content:r;i.bindingMetadata[r];if(!s.trim()||!Jl(s))return i.onError(Ya(42,n.loc)),Kc();const a=o||zl("modelValue",!0),l=o?Vl(o)?`onUpdate:${o.content}`:Gl(['"onUpdate:" + ',o]):"onUpdate:modelValue";let h;h=Gl([`${i.isTS?"($event: any)":"$event"} => ((`,n,") = $event)"]);const c=[Rl(a,t.exp),Rl(l,h)];if(t.modifiers.length&&1===e.tagType){const e=t.modifiers.map((t=>($l(t)?t:JSON.stringify(t))+": true")).join(", "),i=o?Vl(o)?`${o.content}Modifiers`:Gl([o,' + "Modifiers"']):"modelModifiers";c.push(Rl(i,zl(`{ ${e} }`,!1,t.loc,2)))}return Kc(c)};function Kc(t=[]){return{props:t}}const Zc=/[\w).+\-_$\]]/,qc=(t,e)=>{vh("COMPILER_FILTER",e)&&(5===t.type&&Jc(t.content,e),1===t.type&&t.props.forEach((t=>{7===t.type&&"for"!==t.name&&t.exp&&Jc(t.exp,e)})))};function Jc(t,e){if(4===t.type)Qc(t,e);else for(let i=0;i=0&&(t=i.charAt(e)," "===t);e--);t&&Zc.test(t)||(c=!0)}}else void 0===s?(f=r+1,s=i.slice(0,r).trim()):m();function m(){g.push(i.slice(f,r).trim()),f=r+1}if(void 0===s?s=i.slice(0,r).trim():0!==f&&m(),g.length){for(r=0;r{if(1===t.type){const i=ih(t,"memo");if(!i||ep.has(t))return;return ep.add(t),()=>{const n=t.codegenNode||e.currentNode.codegenNode;n&&13===n.type&&(1!==t.tagType&&gh(n,e),t.codegenNode=Wl(e.helper(_l),[i.exp,Fl(void 0,n),"_cache",String(e.cached++)]))}}};function np(t,e={}){const i=e.onError||Xa,n="module"===e.mode;!0===e.prefixIdentifiers?i(Ya(46)):n&&i(Ya(47));e.cacheHandlers&&i(Ya(48)),e.scopeId&&!n&&i(Ya(49));const o=R(t)?Sh(t,e):t,[r,s]=[[Yc,fc,ip,yc,qc,Gc,Dc,Ac,Xc],{on:Fc,bind:Hc,model:$c}];return ic(o,O({},e,{prefixIdentifiers:false,nodeTransforms:[...r,...e.nodeTransforms||[]],directiveTransforms:O({},s,e.directiveTransforms||{})})),sc(o,O({},e,{prefixIdentifiers:false}))}const op=Symbol(""),rp=Symbol(""),sp=Symbol(""),ap=Symbol(""),lp=Symbol(""),hp=Symbol(""),cp=Symbol(""),pp=Symbol(""),dp=Symbol(""),up=Symbol("");var fp;let gp;fp={[op]:"vModelRadio",[rp]:"vModelCheckbox",[sp]:"vModelText",[ap]:"vModelSelect",[lp]:"vModelDynamic",[hp]:"withModifiers",[cp]:"withKeys",[pp]:"vShow",[dp]:"Transition",[up]:"TransitionGroup"},Object.getOwnPropertySymbols(fp).forEach((t=>{Dl[t]=fp[t]}));const mp=o("style,iframe,script,noscript",!0),vp={isVoidTag:v,isNativeTag:t=>g(t)||m(t),isPreTag:t=>"pre"===t,decodeEntities:function(t,e=!1){return gp||(gp=document.createElement("div")),e?(gp.innerHTML=`
`,gp.children[0].getAttribute("foo")):(gp.innerHTML=t,gp.textContent)},isBuiltInComponent:t=>Xl(t,"Transition")?dp:Xl(t,"TransitionGroup")?up:void 0,getNamespace(t,e){let i=e?e.ns:0;if(e&&2===i)if("annotation-xml"===e.tag){if("svg"===t)return 1;e.props.some((t=>6===t.type&&"encoding"===t.name&&null!=t.value&&("text/html"===t.value.content||"application/xhtml+xml"===t.value.content)))&&(i=0)}else/^m(?:[ions]|text)$/.test(e.tag)&&"mglyph"!==t&&"malignmark"!==t&&(i=0);else e&&1===i&&("foreignObject"!==e.tag&&"desc"!==e.tag&&"title"!==e.tag||(i=0));if(0===i){if("svg"===t)return 1;if("math"===t)return 2}return i},getTextMode({tag:t,ns:e}){if(0===e){if("textarea"===t||"title"===t)return 1;if(mp(t))return 2}return 0}},yp=(t,e)=>{const i=d(t);return zl(JSON.stringify(i),!1,e,3)};function xp(t,e){return Ya(t,e)}const bp=o("passive,once,capture"),Cp=o("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Sp=o("left,right"),wp=o("onkeyup,onkeydown,onkeypress",!0),kp=(t,e)=>Vl(t)&&"onclick"===t.content.toLowerCase()?zl(e,!0):4!==t.type?Gl(["(",t,`) === "onClick" ? "${e}" : (`,t,")"]):t;const Mp=(t,e)=>{1!==t.type||0!==t.tagType||"script"!==t.tag&&"style"!==t.tag||(e.onError(xp(60,t.loc)),e.removeNode())},Ap=[t=>{1===t.type&&t.props.forEach(((e,i)=>{6===e.type&&"style"===e.name&&e.value&&(t.props[i]={type:7,name:"bind",arg:zl("style",!0,e.loc),exp:yp(e.value.content,e.loc),modifiers:[],loc:e.loc})}))}],Tp={cloak:()=>({props:[]}),html:(t,e,i)=>{const{exp:n,loc:o}=t;return n||i.onError(xp(50,o)),e.children.length&&(i.onError(xp(51,o)),e.children.length=0),{props:[Rl(zl("innerHTML",!0,o),n||zl("",!0))]}},text:(t,e,i)=>{const{exp:n,loc:o}=t;return n||i.onError(xp(52,o)),e.children.length&&(i.onError(xp(53,o)),e.children.length=0),{props:[Rl(zl("textContent",!0),n?Wl(i.helperString(gl),[n],o):zl("",!0))]}},model:(t,e,i)=>{const n=$c(t,e,i);if(!n.props.length||1===e.tagType)return n;t.arg&&i.onError(xp(55,t.arg.loc));const{tag:o}=e,r=i.isCustomElement(o);if("input"===o||"textarea"===o||"select"===o||r){let s=sp,a=!1;if("input"===o||r){const n=nh(e,"type");if(n){if(7===n.type)s=lp;else if(n.value)switch(n.value.content){case"radio":s=op;break;case"checkbox":s=rp;break;case"file":a=!0,i.onError(xp(56,t.loc))}}else(function(t){return t.props.some((t=>!(7!==t.type||"bind"!==t.name||t.arg&&4===t.arg.type&&t.arg.isStatic)))})(e)&&(s=lp)}else"select"===o&&(s=ap);a||(n.needRuntime=i.helper(s))}else i.onError(xp(54,t.loc));return n.props=n.props.filter((t=>!(4===t.key.type&&"modelValue"===t.key.content))),n},on:(t,e,i)=>Fc(t,0,i,(e=>{const{modifiers:n}=t;if(!n.length)return e;let{key:o,value:r}=e.props[0];const{keyModifiers:s,nonKeyModifiers:a,eventOptionModifiers:l}=((t,e,i,n)=>{const o=[],r=[],s=[];for(let n=0;n{const{exp:n,loc:o}=t;return n||i.onError(xp(58,o)),{props:[],needRuntime:i.helper(pp)}}};const Pp=Object.create(null);function Op(t,e){if(!R(t)){if(!t.nodeType)return k;t=t.innerHTML}const i=t,o=Pp[i];if(o)return o;if("#"===t[0]){const e=document.querySelector(t);0,t=e?e.innerHTML:""}const{code:r}=function(t,e={}){return np(t,O({},vp,e,{nodeTransforms:[Mp,...Ap,...e.nodeTransforms||[]],directiveTransforms:O({},Tp,e.directiveTransforms||{}),transformHoist:null}))}(t,O({hoistStatic:!0,onError:void 0,onWarn:k},e));const s=new Function("Vue",r)(n);return s._rc=!0,Pp[i]=s}Fr(Op)}},e={};function i(n){var o=e[n];if(void 0!==o)return o.exports;var r=e[n]={id:n,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{"use strict";var t=i(5166),e={class:"uk-container PricesCarousel"},n={class:"PricesCarousel__controls"},o={class:"PricesCarousel__current-type-radios"},r={for:"all"},s={for:"cryptocoin"},a={for:"leveraged_token"},l={for:"index"},h={for:"stock"},c={for:"etf"},p={for:"metal"},d={for:"etc"},u={value:"all"},f={value:"cryptocoin"},g={value:"leveraged_token"},m={value:"index"},v={value:"stock"},y={value:"etf"},x={value:"metal"},b={value:"etc"},C={class:"AssetsCarousel__buttons"};var S=i(7757),w=i.n(S),k={class:"PriceCard"},M={class:"PriceCard__top"},A={class:"PriceCard__symbol"},T=["alt","src"],P={class:"PriceCard__title"},O={class:"PriceCard__Asset-Name"},E={class:"PriceCard__Asset-Symbol"},_={class:"PriceCard__row"},L={key:0,class:"PriceCard__LastPrice"},D={key:1,class:"PriceCard__LastPrice"},B={class:"PriceCard__row PriceCard__chart"},j={class:"PriceCard__row"},N=["href"];function I(t,e,i,n,o,r,s){try{var a=t[r](s),l=a.value}catch(t){return void i(t)}a.done?e(l):Promise.resolve(l).then(n,o)}function R(t){return function(){var e=this,i=arguments;return new Promise((function(n,o){var r=t.apply(e,i);function s(t){I(r,n,o,s,a,"next",t)}function a(t){I(r,n,o,s,a,"throw",t)}s(void 0)}))}}const z={name:"MiniChart",props:{assetSymbol:{type:String,required:!0},hasPositiveChange:{type:Boolean,default:!0}},data:function(){var t=this.hasPositiveChange?"#27d17f":"#ff4e4d";return{chartOptions:{chart:{height:82,width:250,backgroundColor:"rgba(0, 0, 0, 0)"},plotOptions:{line:{animation:!1,enableMouseTracking:!1,stickyTracking:!0,shadow:!1,dataLabels:{style:{textShadow:!1}}},series:{color:t}},xAxis:{lineColor:"rgba(0, 0, 0, 0)",tickColor:"rgba(0, 0, 0, 0)",labels:{enabled:!1},type:"datetime"},yAxis:{lineColor:"rgba(0, 0, 0, 0)",tickColor:"rgba(0, 0, 0, 0)",visible:!1,minPadding:.1,maxPadding:.1,startOnTick:!1,endOnTick:!1,labels:{enabled:!0,style:{color:t}}},rangeSelector:{enabled:!1},tooltip:{enabled:!1,crosshairs:!1,animation:!1},navigator:{enabled:!1},credits:{enabled:!1},scrollbar:{enabled:!1},exporting:{enabled:!1},series:[{data:[]}]}}},methods:{fetchCandlesticks:function(){var t=this;return R(w().mark((function e(){var i,n;return w().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,i=encodeURIComponent(t.assetSymbol||""),e.next=4,fetch("".concat("https://api.bitpanda.com/v2/ohlc/eur","/day?assets=").concat(i));case 4:return n=e.sent,e.abrupt("return",n.json());case 8:e.prev=8,e.t0=e.catch(0),t.errored=!0;case 11:return e.prev=11,t.loading=!1,e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[0,8,11,14]])})))()},convertToChartItems:function(t){var e=[];return null==t||t.forEach((function(t){e.push({x:Date.parse(t.attributes.time.date_iso8601),y:Number(t.attributes.close)})})),e}},mounted:function(){var t=this;return R(w().mark((function e(){var i;return w().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.fetchCandlesticks();case 2:i=e.sent,t.chartOptions.series[0].data=t.convertToChartItems(i.data[t.assetSymbol]);case 4:case"end":return e.stop()}}),e)})))()}};var G=i(3744);const W={name:"PriceCard",components:{MiniChart:(0,G.Z)(z,[["render",function(e,i,n,o,r,s){var a=(0,t.resolveComponent)("highcharts");return(0,t.openBlock)(),(0,t.createBlock)(a,{ref:"chart",options:r.chartOptions,class:"hc",constructorType:"stockChart"},null,8,["options"])}]])},props:{asset:{type:Object,required:!0},locale:{type:String,required:!0},currency:{type:String,required:!0},i18n:{type:Object,required:!0}},computed:{priceAmountChange:function(){var t,e;return null===(t=this.asset.attributes)||void 0===t||null===(e=t.price_amount_changes)||void 0===e?void 0:e.day},hasPositiveChange:function(){return!this.priceAmountChange||this.priceAmountChange>=0},priceChangeClassname:function(){return this.hasPositiveChange?"PriceCard__PriceChange--positive":"PriceCard__PriceChange--negative"},assetIconUrl:function(){return"https://bitpanda-broker-production-assets.s3-eu-west-1.amazonaws.com/static/cryptocoin/".concat(this.asset.symbol.toLowerCase(),".svg")}}};var F=i(3379),H=i.n(F),V=i(2507),X={insert:"head",singleton:!1};H()(V.Z,X);V.Z.locals;const U=(0,G.Z)(W,[["render",function(e,i,n,o,r,s){var a,l,h,c=(0,t.resolveComponent)("MiniChart");return(0,t.openBlock)(),(0,t.createElementBlock)("div",k,[(0,t.createElementVNode)("div",M,[(0,t.createElementVNode)("div",A,[(0,t.createElementVNode)("img",{alt:n.asset.name,class:(0,t.normalizeClass)(["fiat"===n.asset.type&&"bp-filter-brighten-2"]),src:s.assetIconUrl,height:"50",width:"50"},null,10,T)]),(0,t.createElementVNode)("div",P,[(0,t.createElementVNode)("span",O,(0,t.toDisplayString)(n.asset.name),1),(0,t.createElementVNode)("span",E,(0,t.toDisplayString)(e.$filters.uppercase(n.asset.symbol)),1)])]),(0,t.createElementVNode)("div",_,[n.asset.attributes?((0,t.openBlock)(),(0,t.createElementBlock)("div",L,(0,t.toDisplayString)(e.$filters.formatCurrency(Number(null===(a=n.asset.attributes)||void 0===a?void 0:a.price))),1)):((0,t.openBlock)(),(0,t.createElementBlock)("div",D,(0,t.toDisplayString)(e.$filters.formatCurrency(0)),1)),n.asset.attributes?((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:2,class:(0,t.normalizeClass)(s.priceChangeClassname)},[(0,t.createElementVNode)("span",null,(0,t.toDisplayString)(e.$filters.formatCurrency(null===(l=n.asset.attributes)||void 0===l?void 0:l.price_amount_changes.day)),1),(0,t.createElementVNode)("span",null," ("+(0,t.toDisplayString)(e.$filters.formatPercent(.01*(null===(h=n.asset.attributes)||void 0===h?void 0:h.price_percentage_changes.day)))+")",1)],2)):((0,t.openBlock)(),(0,t.createElementBlock)("div",{key:3,class:(0,t.normalizeClass)(s.priceChangeClassname)},[(0,t.createElementVNode)("span",null,(0,t.toDisplayString)(e.$filters.formatCurrency(0)),1),(0,t.createElementVNode)("span",null," ("+(0,t.toDisplayString)(e.$filters.formatPercent(0))+")",1)],2))]),(0,t.createElementVNode)("div",B,[s.priceAmountChange?((0,t.openBlock)(),(0,t.createBlock)(c,{key:0,"asset-symbol":n.asset.symbol,"has-positive-change":s.hasPositiveChange},null,8,["asset-symbol","has-positive-change"])):(0,t.createCommentVNode)("",!0)]),(0,t.createElementVNode)("div",j,[(0,t.createElementVNode)("a",{href:[["https://web.bitpanda.com/price/"+n.asset.symbol.toLowerCase()]],class:"bp-button bp-button--primary PriceCard__button"},(0,t.toDisplayString)(n.i18n.buy),9,N)])])}],["__scopeId","data-v-2fe7d838"]]);var Y={key:0,style:{display:"flex","list-style":"none"}};var $=i(457),K={insert:"head",singleton:!1};H()($.Z,K);$.Z.locals;const Z={itemsToShow:1,itemsToScroll:1,modelValue:0,transition:300,autoplay:0,snapAlign:"center",wrapAround:!1,pauseAutoplayOnHover:!1,mouseDrag:!0,touchDrag:!0,breakpoints:void 0};function q(t,e,i,n){return t.wrapAround?e:Math.min(Math.max(e,n),i)}var J=(0,t.defineComponent)({name:"Carousel",props:{itemsToShow:{default:Z.itemsToShow,type:Number},itemsToScroll:{default:Z.itemsToScroll,type:Number},wrapAround:{default:Z.wrapAround,type:Boolean},snapAlign:{default:Z.snapAlign,validator:t=>["start","end","center","center-even","center-odd"].includes(t)},transition:{default:Z.transition,type:Number},breakpoints:{default:Z.breakpoints,type:Object},autoplay:{default:Z.autoplay,type:Number},pauseAutoplayOnHover:{default:Z.pauseAutoplayOnHover,type:Boolean},modelValue:{default:void 0,type:Number},mouseDrag:{default:Z.mouseDrag,type:Boolean},touchDrag:{default:Z.touchDrag,type:Boolean},settings:{default:()=>({}),type:Object}},setup(e,{slots:i,emit:n,expose:o}){var r;const s=(0,t.ref)(null),a=(0,t.ref)([]),l=(0,t.ref)([]),h=(0,t.ref)(0),c=(0,t.ref)(1),p=(0,t.ref)(null),d=(0,t.ref)(null);let u=(0,t.ref)({}),f=Object.assign({},Z);const g=(0,t.reactive)(Object.assign({},f)),m=(0,t.ref)(null!==(r=g.modelValue)&&void 0!==r?r:0),v=(0,t.ref)(0),y=(0,t.ref)(0),x=(0,t.ref)(0),b=(0,t.ref)(0);function C(){const i=Object.assign(Object.assign({},e),e.settings);u=(0,t.ref)(Object.assign({},i.breakpoints)),f=Object.assign(Object.assign({},i),{settings:void 0,breakpoints:void 0}),w(f)}function S(){const t=Object.keys(u.value).map((t=>Number(t))).sort(((t,e)=>+e-+t));let e=Object.assign({},f);t.some((t=>!!window.matchMedia(`(min-width: ${t}px)`).matches&&(e=Object.assign(Object.assign({},e),u.value[t]),!0))),w(e)}function w(t){for(let e in t)g[e]=t[e]}(0,t.provide)("config",g),(0,t.provide)("slidesBuffer",l),(0,t.provide)("slidesCount",c),(0,t.provide)("currentSlide",m),(0,t.provide)("maxSlide",x),(0,t.provide)("minSlide",b);const k=function(t,e){let i;return function(...n){i&&clearTimeout(i),i=setTimeout((()=>{t(...n),i=null}),e)}}((()=>{u.value&&(S(),A()),M()}),16);function M(){if(!s.value)return;const t=s.value.getBoundingClientRect();h.value=t.width/g.itemsToShow}function A(){c.value=Math.max(a.value.length,1),c.value<=0||(y.value=Math.ceil((c.value-1)/2),x.value=function(t,e){if(t.wrapAround)return e-1;switch(t.snapAlign){case"start":return e-t.itemsToShow;case"end":return e-1;case"center":case"center-odd":case"center-even":return e-Math.ceil(t.itemsToShow/2);default:return 0}}(g,c.value),b.value=function(t){if(t.wrapAround)return 0;switch(t.snapAlign){case"start":return 0;case"end":return t.itemsToShow-1;case"center":case"center-odd":return Math.floor((t.itemsToShow-1)/2);case"center-even":return Math.floor((t.itemsToShow-2)/2);default:return 0}}(g),m.value=q(g,m.value,x.value,b.value))}function T(){const t=[...Array(c.value).keys()];if(g.wrapAround&&g.itemsToShow+1<=c.value){let e=(1!==g.itemsToShow?Math.round((c.value-g.itemsToShow)/2):0)-m.value;if("end"===g.snapAlign?e+=Math.floor(g.itemsToShow-1):"center"!==g.snapAlign&&"center-odd"!==g.snapAlign||e++,e<0)for(let i=e;i<0;i++)t.push(Number(t.shift()));else for(let i=0;i{u.value&&(S(),A()),M(),g.autoplay&&g.autoplay>0&&z(),window.addEventListener("resize",k,{passive:!0})})),(0,t.onUnmounted)((()=>{d.value&&clearTimeout(d.value),G(!1)}));let P=!1;const O={x:0,y:0},E={x:0,y:0},_=(0,t.reactive)({x:0,y:0}),L=(0,t.ref)(!1),D=(0,t.ref)(!1),B=()=>{D.value=!0},j=()=>{D.value=!1},N=function(t,e){let i;return function(...n){const o=this;i||(t.apply(o,n),i=!0,setTimeout((()=>i=!1),e))}}((t=>{P||t.preventDefault(),E.x=P?t.touches[0].clientX:t.clientX,E.y=P?t.touches[0].clientY:t.clientY;const e=E.x-O.x,i=E.y-O.y;_.y=i,_.x=e}),16);function I(t){P="touchstart"===t.type,P||t.preventDefault(),!P&&0!==t.button||W.value||(L.value=!0,O.x=P?t.touches[0].clientX:t.clientX,O.y=P?t.touches[0].clientY:t.clientY,document.addEventListener(P?"touchmove":"mousemove",N),document.addEventListener(P?"touchend":"mouseup",R))}function R(){L.value=!1;const t=.4*Math.sign(_.x),e=Math.round(_.x/h.value+t);F(q(g,m.value-e,x.value,b.value)),_.x=0,_.y=0,document.removeEventListener(P?"touchmove":"mousemove",N),document.removeEventListener(P?"touchend":"mouseup",R)}function z(){p.value=setInterval((()=>{g.pauseAutoplayOnHover&&D.value||H()}),g.autoplay)}function G(t=!0){p.value&&(clearInterval(p.value),t&&z())}const W=(0,t.ref)(!1);function F(t,e=!1){if(G(),m.value===t||W.value)return;return t>c.value-1?F(t-c.value):t<0?F(t+c.value):(W.value=!0,v.value=m.value,m.value=t,e||n("update:modelValue",m.value),void(d.value=setTimeout((()=>{g.wrapAround&&T(),W.value=!1}),g.transition)))}function H(){let t=m.value+g.itemsToScroll;g.wrapAround||(t=Math.min(t,x.value)),F(t)}function V(){let t=m.value-g.itemsToScroll;g.wrapAround||(t=Math.max(t,b.value)),F(t)}const X={slideTo:F,next:H,prev:V};(0,t.provide)("nav",X);const U=(0,t.computed)((()=>function({slidesBuffer:t,currentSlide:e,snapAlign:i,itemsToShow:n,wrapAround:o,slidesCount:r}){let s=t.indexOf(e);if("center"===i||"center-odd"===i?s-=(n-1)/2:"center-even"===i?s-=(n-2)/2:"end"===i&&(s-=n-1),!o){const t=r-n,e=0;s=Math.max(Math.min(s,t),e)}return s}({slidesBuffer:l.value,itemsToShow:g.itemsToShow,snapAlign:g.snapAlign,wrapAround:Boolean(g.wrapAround),currentSlide:m.value,slidesCount:c.value})));(0,t.provide)("slidesToScroll",U);const Y=(0,t.computed)((()=>({transform:`translateX(${_.x-U.value*h.value}px)`,transition:`${W.value?g.transition:0}ms`})));function $(){C()}function K(){C(),S(),A(),T(),M()}function J(){A(),T()}(0,t.watch)((()=>Object.values(e)),K),$(),(0,t.watchEffect)((()=>{const t=c.value!==a.value.length;void 0!==e.modelValue&&m.value!==e.modelValue&&F(Number(e.modelValue),!0),t&&J()}));const Q={config:g,slidesBuffer:l,slidesCount:c,slideWidth:h,currentSlide:m,maxSlide:x,minSlide:b,middleSlide:y};o({updateBreakpointsConfigs:S,updateSlidesData:A,updateSlideWidth:M,updateSlidesBuffer:T,initCarousel:$,restartCarousel:K,updateCarousel:J,slideTo:F,next:H,prev:V,nav:X,data:Q});const tt=i.default||i.slides,et=i.addons,it=(0,t.reactive)(Q);return()=>{const e=function(t){var e,i,n;return t?"CarouselSlide"===(null===(i=null===(e=t[0])||void 0===e?void 0:e.type)||void 0===i?void 0:i.name)?t:(null===(n=t[0])||void 0===n?void 0:n.children)||[]:[]}(null==tt?void 0:tt(it)),i=(null==et?void 0:et(it))||[];a.value=e,e.forEach(((t,e)=>t.props.index=e));const n=(0,t.h)("ol",{class:"carousel__track",style:Y.value,onMousedown:g.mouseDrag?I:null,onTouchstart:g.touchDrag?I:null},e),o=(0,t.h)("div",{class:"carousel__viewport"},n);return(0,t.h)("section",{ref:s,class:"carousel","aria-label":"Gallery",onMouseenter:B,onMouseleave:j},[o,i])}}});const Q={arrowUp:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z",arrowDown:"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z",arrowRight:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z",arrowLeft:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"},tt=e=>{const i=e.name;if(!i||"string"!=typeof i)return;const n=Q[i],o=(0,t.h)("path",{d:n}),r=e.title||i,s=(0,t.h)("title",null,i);return(0,t.h)("svg",{class:"carousel__icon",viewBox:"0 0 24 24",role:"img",ariaLabel:r},[s,o])};tt.props={name:String,title:String};var et=(0,t.defineComponent)({name:"CarouselSlide",props:{index:{type:Number,default:1}},setup(e,{slots:i}){const n=(0,t.inject)("config",(0,t.reactive)(Object.assign({},Z))),o=(0,t.inject)("slidesBuffer",(0,t.ref)([])),r=(0,t.inject)("currentSlide",(0,t.ref)(0)),s=(0,t.inject)("slidesToScroll",(0,t.ref)(0)),a=(0,t.ref)(e.index);function l(){a.value=o.value.indexOf(e.index)}n.wrapAround&&(l(),(0,t.watch)(o,l));const h=(0,t.computed)((()=>({width:1/n.itemsToShow*100+"%",order:a.value.toString()}))),c=()=>{const t=Math.ceil(s.value),i=Math.floor(s.value+n.itemsToShow);return o.value.slice(t,i).includes(e.index)};return()=>{var a;return(0,t.h)("li",{style:h.value,class:{carousel__slide:!0,"carousel__slide--active":e.index===r.value,"carousel__slide--visible":c(),"carousel__slide--prev":e.index===o.value[Math.ceil(s.value)-1],"carousel__slide--next":e.index===o.value[Math.floor(s.value+n.itemsToShow)]}},null===(a=i.default)||void 0===a?void 0:a.call(i))}}});var it={class:"PriceCard"},nt=[(0,t.createStaticVNode)('
',3)];const ot={name:"PlaceholderPriceCard"};var rt=i(9048),st={insert:"head",singleton:!1};H()(rt.Z,st);rt.Z.locals;const at={name:"AssetsCarousel",data:function(){return{currentSlide:0,settings:{itemsToShow:1,snapAlign:"center"},breakpoints:{600:{itemsToShow:2,snapAlign:"start"},960:{itemsToShow:3,snapAlign:"start"}}}},props:{assets:{type:Array,required:!0},prices:{type:Object,required:!0},locale:{type:String,required:!0},currency:{type:String,required:!0},i18n:{type:Object,required:!0}},methods:{prevSlide:function(){var t;null===(t=this.$refs.myCar)||void 0===t||t.nav.prev()},nextSlide:function(){var t;null===(t=this.$refs.myCar)||void 0===t||t.nav.next()},resetCurrentSlide:function(){var t;this.currentSlide=0,null===(t=this.$refs.myCar)||void 0===t||t.nav.slideTo(0)}},watch:{currentSlide:{handler:function(){var t,e=null===(t=this.$refs.myCar)||void 0===t?void 0:t.data.slidesCount.value;-1!==this.currentSlide&&this.currentSlide>=e-3&&this.$emit("fetchNewAssets")}}},emits:["fetchNewAssets"],components:{PriceCard:U,PlaceholderPriceCard:(0,G.Z)(ot,[["render",function(e,i,n,o,r,s){return(0,t.openBlock)(),(0,t.createElementBlock)("li",it,nt)}],["__scopeId","data-v-5bbc9618"]]),Carousel:J,Slide:et},mounted:function(){}};var lt=i(3561),ht={insert:"head",singleton:!1};H()(lt.Z,ht);lt.Z.locals;function ct(t){return function(t){if(Array.isArray(t))return pt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return pt(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return pt(t,e)}(t)||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 pt(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i=0?"+":"−"}Ct()(xt());var Mt=document.querySelectorAll('[data-vue-app="prices-carousel"]');Array.from(Mt).forEach((function(e){var i=e.dataset.locale||"en",n=e.dataset.currency||"EUR",o=JSON.parse(e.dataset.i18n),r=(0,t.createApp)(vt,{locale:i,currency:n,i18n:o});r.config.globalProperties.$filters={formatCurrency:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n;return new Intl.NumberFormat(e,{style:"currency",currency:o}).format(Math.abs(t))},formatPercent:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return kt(t)+new Intl.NumberFormat(e,{style:"percent",maximumSignificantDigits:3}).format(Math.abs(t))},uppercase:function(t){return t.toUpperCase()}},r.mount(e),r.use(wt()),r.config.productionTip=!1}))})()})();